@univerjs-pro/collaboration-client 0.4.1-nightly.202410281606 → 0.4.1-nightly.202410291249
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +3 -1
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +6 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -1
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +18 -16
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0xdb88e7=_0xf7c7;(function(_0x133873,_0x3375cc){const _0x5e305a=_0xf7c7,_0x113a5e=_0x133873();while(!![]){try{const _0x24622a=-parseInt(_0x5e305a(0x45b))/0x1+-parseInt(_0x5e305a(0x30a))/0x2+-parseInt(_0x5e305a(0x4a0))/0x3+parseInt(_0x5e305a(0x53f))/0x4+-parseInt(_0x5e305a(0x2fd))/0x5+parseInt(_0x5e305a(0x495))/0x6+parseInt(_0x5e305a(0x278))/0x7;if(_0x24622a===_0x3375cc)break;else _0x113a5e['push'](_0x113a5e['shift']());}catch(_0x15c2d7){_0x113a5e['push'](_0x113a5e['shift']());}}}(_0x55a0,0xed9e4));var oi=Object[_0xdb88e7(0x396)],ai=(_0x5a98b3,_0x571fad,_0x20c9e5)=>_0x571fad in _0x5a98b3?oi(_0x5a98b3,_0x571fad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20c9e5}):_0x5a98b3[_0x571fad]=_0x20c9e5,l=(_0x34cbd4,_0x4d760b,_0x4c38d9)=>ai(_0x34cbd4,typeof _0x4d760b!=_0xdb88e7(0x31b)?_0x4d760b+'':_0x4d760b,_0x4c38d9);import{createIdentifier as _0xd8fa3,Inject as _0x708a43,Disposable as _0x53fecf,DisposableCollection as _0x276d96,toDisposable as _0x5a30f8,IConfigService as _0x3f3328,ILogService as _0x32f72e,UserManagerService as _0x4f67cc,UniverInstanceType as _0x28e552,IUniverInstanceService as _0x3c6560,LocaleService as _0x1cea44,Optional as _0x42ec52,RxDisposable as _0x390154,Injector as _0x262acb,Tools as _0x11b4bd,ILocalStorageService as _0x5e42ae,Rectangle as _0x54d040,ICommandService as _0x49d215,DOC_RANGE_TYPE as _0x218c39,JSONX as _0x121de6,CommandType as _0x447d57,IPermissionService as _0x53b55e,IUndoRedoService as _0x36efc6,sequenceExecute as _0x2149a7,debounce as _0x37e502,COLORS as _0x11d874,ColorKit as _0x172a9f,ThemeService as _0x5d4153,fromEventSubject as _0x2c115a,useDependency as _0x37a378,connectInjector as _0x8aa62,Workbook as _0x3a9c80,isInternalEditorID as _0x2f46fc,LocalUndoRedoService as _0x56bedc,IContextService as _0x5b8b62,DependentOn as _0x2dd5a4,Plugin as _0x595417,touchDependencies as _0x9e618e,IAuthzIoService as _0x47a8cb,registerDependencies as _0x423b4c,mergeOverrideWithDependencies as _0x3c5e44}from'@univerjs/core';import{Subject as _0x116216,merge as _0x28b2cd,takeUntil as _0x13b5ec,BehaviorSubject as _0x4786ab,distinctUntilChanged as _0xd3230f,fromEvent as _0x559a32,ReplaySubject as _0x4c58c4,take as _0x2bb389,map as _0x494a06,shareReplay as _0x198654,of as _0x43095f,debounceTime as _0x3f7cd2,filter as _0x626e99,switchMap as _0x35e5f3,combineLatest as _0x5b2c23,concatMap as _0x126cd1,mapTo as _0x431d45}from'rxjs';import{map as _0x1c8fcb,take as _0x5beb3d,filter as _0x4be362,delay as _0xda616b,throttleTime as _0x39e4d1,takeUntil as _0x5bdd99,switchMap as _0x40195d}from'rxjs/operators';import{MessageType as _0x21f247,Tooltip as _0x999f7c}from'@univerjs/design';import{IBeforeCloseService as _0xf1f134,IMessageService as _0x50cdfc,INotificationService as _0x337b59,useObservable as _0x4207ff,BuiltInUIPart as _0x3bd7da,IUIPartsService as _0x3d36bc}from'@univerjs/ui';import{HTTPService as _0x44ff7a,WebSocketService as _0x3e1e9c,MergeInterceptorFactory as _0x83f197,HTTPRequest as _0x4e6f80,UniverNetworkPlugin as _0x3ba318,ThresholdInterceptorFactory as _0x572c0a}from'@univerjs/network';import{CollaborationEvent as _0x3cf804,parseChangesetToProtocol as _0x224344,ISnapshotServerService as _0x52152c,isTransformMutationFailure as _0x47c47e,isTransformMutationsWithChangesetSuccess as _0x5ed378,ITransformService as _0x144409,RevisionService as _0x12e3be,mapDocumentTypeToUniverType as _0x5d96eb,isTransformChangesetsSuccess as _0x59f6a9,CompressMutationService as _0x1095f5,parseProtocolChangeset as _0x15064e,SnapshotService as _0x493247,textEncoder as _0x4746cb,b64DecodeUnicode as _0x1060d3,isTransformMutationsWithChangesetFailure as _0x556598,UniverCollaborationPlugin as _0xc07079}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x55daf1}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0xc9c252,DocStateChangeManagerService as _0x529b9c,NodePositionConvertToCursor as _0x8a2207,NodePositionConvertToRectRange as _0x459e6f,TEXT_RANGE_LAYER_INDEX as _0x239e0b,SetDocZoomRatioOperation as _0x2d3a74}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x42114f,SetSelectionsOperation as _0x8e8ac5,InsertSheetMutation as _0x4801f2,EmptyMutation as _0x8a5fbb,WorkbookEditablePermission as _0x2bf602,RefRangeService as _0x1e653a,EffectRefRangId as _0x449568,handleIRemoveRow as _0x5415b5,handleIRemoveCol as _0x403eb6,handleMoveRange as _0x12a35a,handleInsertRow as _0x546e02,handleInsertRangeMoveRight as _0x30723e,handleInsertRangeMoveDown as _0x1c5ac4,handleInsertCol as _0x1329ce,handleDeleteRangeMoveUp as _0x1069f8,handleDeleteRangeMoveLeft as _0x34f70e,runRefRangeMutations as _0x59c513,SetWorksheetActivateCommand as _0xb6d398}from'@univerjs/sheets';import{IRenderManagerService as _0x16b9ef,Shape as _0x36fca9,Rect as _0x446586,getColor as _0x283740,RegularPolygon as _0xd7c8fa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x33332a,Vector2 as _0x3f8eb1}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x527b6c,RichTextEditingMutation as _0x4b30be,SetTextSelectionsOperation as _0x4e775a,DocSkeletonManagerService as _0x52a42e}from'@univerjs/docs';import{ImageSourceType as _0x5573c0,ImageUploadStatusType as _0x48f04a,IImageIoService as _0x138aac}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x2f24b8,serializeRangeWithSheet as _0x2b97b7}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x3e6935,VIEWPORT_KEY as _0x5540f4,getCoordByCell as _0x5beea8,getSheetObject as _0x117c00,SheetPermissionInitController as _0x3a867b}from'@univerjs/sheets-ui';import _0x3f9202,{forwardRef as _0x154754,useRef as _0x2453d4,createElement as _0x408a07,useCallback as _0x57d704}from'react';import{IRemoteInstanceService as _0x2aa588}from'@univerjs/rpc';import{getAttachHeader as _0x130756}from'@univerjs-pro/license';const In=_0xdb88e7(0x274),En='/universer-api/snapshot',Cn=_0xdb88e7(0x4ce),xa=_0xdb88e7(0x42a),bn=0x7d0,Tn=_0xdb88e7(0x236),Rn=_0xdb88e7(0x424),On=_0xdb88e7(0x2e7),Dn=0x7530,xs='HEARTBEAT_TIMEOUT',Hs=0x4e20,wn=0x4e20,Pn=_0xdb88e7(0x2d4),yn=0x3,Un=_0xdb88e7(0x561),Nn=0x3e8,An=_0xdb88e7(0x238),Mn=_0xdb88e7(0x3f7),Ln='LOGIN_URL_KEY',$n=_0xdb88e7(0x226);var ks=(_0x242e89=>(_0x242e89[_0x242e89['UNDEFINED']=0x0]=_0xdb88e7(0x4c0),_0x242e89[_0x242e89['OK']=0x1]='OK',_0x242e89[_0x242e89[_0xdb88e7(0x2f5)]=0x2]=_0xdb88e7(0x2f5),_0x242e89[_0x242e89[_0xdb88e7(0x4e3)]=0x3]=_0xdb88e7(0x4e3),_0x242e89[_0x242e89[_0xdb88e7(0x3a3)]=0x4]=_0xdb88e7(0x3a3),_0x242e89[_0x242e89[_0xdb88e7(0x48a)]=0x5]='UNAUTHENTICATED',_0x242e89[_0x242e89[_0xdb88e7(0x2bf)]=0x6]=_0xdb88e7(0x2bf),_0x242e89[_0x242e89[_0xdb88e7(0x506)]=0x7]='INVALID_ARGUMENT',_0x242e89[_0x242e89[_0xdb88e7(0x315)]=0x8]=_0xdb88e7(0x315),_0x242e89[_0x242e89[_0xdb88e7(0x44e)]=0x9]=_0xdb88e7(0x44e),_0x242e89[_0x242e89[_0xdb88e7(0x3fc)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x242e89[_0x242e89[_0xdb88e7(0x465)]=0x1771]=_0xdb88e7(0x465),_0x242e89[_0x242e89['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xdb88e7(0x4be),_0x242e89[_0x242e89[_0xdb88e7(0x359)]=0x1773]=_0xdb88e7(0x359),_0x242e89[_0x242e89['APPLY_REJECT']=0x1b59]=_0xdb88e7(0x241),_0x242e89[_0x242e89[_0xdb88e7(0x3d0)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x242e89[_0x242e89['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xdb88e7(0x253),_0x242e89[_0x242e89[_0xdb88e7(0x3ee)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x242e89[_0x242e89[_0xdb88e7(0x217)]=0x1b5d]=_0xdb88e7(0x217),_0x242e89[_0x242e89['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xdb88e7(0x44a),_0x242e89[_0x242e89[_0xdb88e7(0x3e5)]=0x2329]=_0xdb88e7(0x3e5),_0x242e89[_0x242e89['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x242e89[_0x242e89[_0xdb88e7(0x1ea)]=0x232b]=_0xdb88e7(0x1ea),_0x242e89[_0x242e89['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x242e89[_0x242e89[_0xdb88e7(0x421)]=0x232d]=_0xdb88e7(0x421),_0x242e89[_0x242e89['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xdb88e7(0x431),_0x242e89[_0x242e89[_0xdb88e7(0x262)]=0x2712]=_0xdb88e7(0x262),_0x242e89[_0x242e89[_0xdb88e7(0x4d4)]=0x2713]=_0xdb88e7(0x4d4),_0x242e89[_0x242e89[_0xdb88e7(0x498)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x242e89[_0x242e89[_0xdb88e7(0x42f)]=-0x1]='UNRECOGNIZED',_0x242e89))(ks||{}),B=(_0x20eb9e=>(_0x20eb9e[_0x20eb9e[_0xdb88e7(0x317)]=0x0]=_0xdb88e7(0x317),_0x20eb9e[_0x20eb9e['UNIVER_DOC']=0x1]=_0xdb88e7(0x2d8),_0x20eb9e[_0x20eb9e['UNIVER_SHEET']=0x2]=_0xdb88e7(0x240),_0x20eb9e[_0x20eb9e[_0xdb88e7(0x297)]=0x3]=_0xdb88e7(0x297),_0x20eb9e[_0x20eb9e[_0xdb88e7(0x34b)]=0x4]=_0xdb88e7(0x34b),_0x20eb9e[_0x20eb9e['UNRECOGNIZED']=-0x1]=_0xdb88e7(0x42f),_0x20eb9e))(B||{}),I=(_0x241a70=>(_0x241a70[_0x241a70[_0xdb88e7(0x3e1)]=0x0]=_0xdb88e7(0x3e1),_0x241a70[_0x241a70[_0xdb88e7(0x2a4)]=0x1]='HELLO',_0x241a70[_0x241a70[_0xdb88e7(0x1f9)]=0x2]=_0xdb88e7(0x1f9),_0x241a70[_0x241a70[_0xdb88e7(0x3a0)]=0x3]=_0xdb88e7(0x3a0),_0x241a70[_0x241a70[_0xdb88e7(0x2dc)]=0x4]=_0xdb88e7(0x2dc),_0x241a70[_0x241a70['HEARTBEAT']=0x5]=_0xdb88e7(0x2cd),_0x241a70[_0x241a70[_0xdb88e7(0x368)]=0x6]=_0xdb88e7(0x368),_0x241a70[_0x241a70[_0xdb88e7(0x42f)]=-0x1]=_0xdb88e7(0x42f),_0x241a70))(I||{}),Wt=(_0xf4b9d2=>(_0xf4b9d2[_0xf4b9d2[_0xdb88e7(0x3d1)]=0x0]=_0xdb88e7(0x3d1),_0xf4b9d2[_0xf4b9d2['OK']=0x1]='OK',_0xf4b9d2[_0xf4b9d2[_0xdb88e7(0x50b)]=0x2]=_0xdb88e7(0x50b),_0xf4b9d2[_0xf4b9d2[_0xdb88e7(0x42f)]=-0x1]=_0xdb88e7(0x42f),_0xf4b9d2))(Wt||{}),Bs=(_0x281a50=>(_0x281a50[_0x281a50[_0xdb88e7(0x2a1)]=0x0]='Undefined',_0x281a50[_0x281a50['HttpImport']=0x1]=_0xdb88e7(0x213),_0x281a50[_0x281a50[_0xdb88e7(0x4c5)]=0x2]=_0xdb88e7(0x4c5),_0x281a50[_0x281a50[_0xdb88e7(0x4c8)]=0x3]=_0xdb88e7(0x4c8),_0x281a50[_0x281a50[_0xdb88e7(0x22e)]=0x4]='UnitSnapshot',_0x281a50[_0x281a50[_0xdb88e7(0x42f)]=-0x1]=_0xdb88e7(0x42f),_0x281a50))(Bs||{});const j=_0xdb88e7(0x2ba),jn={};function xn(_0x55bc96){const _0x46174a=_0xdb88e7;var _0x1207e5,_0x57de8c,_0x224110,_0x34394a,_0x468fef;const _0x5270da=_0x55bc96[_0x46174a(0x4dc)],_0xd4b6e2=JSON[_0x46174a(0x3c7)](_0x5270da);switch(_0xd4b6e2[_0x46174a(0x2ea)]){case I[_0x46174a(0x2cd)]:case I[_0x46174a(0x2a4)]:{const _0x326e8c=_0xd4b6e2[_0x46174a(0x24c)];return{..._0xd4b6e2,'data':_0x326e8c,'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};}case I[_0x46174a(0x1f9)]:{const _0x4ad028=_0xd4b6e2[_0x46174a(0x230)];return{..._0xd4b6e2,'data':_0x4ad028,'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};}case I[_0x46174a(0x368)]:{const _0xd60ae6=_0xd4b6e2[_0x46174a(0x251)];switch(_0xd60ae6[_0x46174a(0x2a9)]){case _0x3cf804[_0x46174a(0x2c6)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':(_0x1207e5=_0xd60ae6['permissionRejEvent'])==null?void 0x0:_0x1207e5['cs']},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804[_0x46174a(0x2e6)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':(_0x57de8c=_0xd60ae6[_0x46174a(0x415)])==null?void 0x0:_0x57de8c['cs']},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804[_0x46174a(0x2db)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':(_0x224110=_0xd60ae6[_0x46174a(0x309)])==null?void 0x0:_0x224110['cs']},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804['CHANGESET_REJ']:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':(_0x34394a=_0xd60ae6['csRejEvent'])==null?void 0x0:_0x34394a['cs']},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804['CHANGESET_SHOULD_RETRY']:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':(_0x468fef=_0xd60ae6['csShouldRetryEvent'])==null?void 0x0:_0x468fef['cs']},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804[_0x46174a(0x39d)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':_0xd60ae6[_0x46174a(0x3c6)]},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804['USERS_ENTER']:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':_0xd60ae6[_0x46174a(0x417)]},'cmd':_0xd4b6e2['cmd']};case _0x3cf804[_0x46174a(0x557)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':_0xd60ae6[_0x46174a(0x43c)]},'cmd':_0xd4b6e2['cmd']};case _0x3cf804[_0x46174a(0x2f8)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':_0xd60ae6[_0x46174a(0x4cb)]},'cmd':_0xd4b6e2['cmd']};case _0x3cf804[_0x46174a(0x300)]:case _0x3cf804[_0x46174a(0x200)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':_0xd60ae6[_0x46174a(0x4d2)]},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804[_0x46174a(0x4a5)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':_0xd60ae6[_0x46174a(0x4cb)]},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804[_0x46174a(0x535)]:return{..._0xd4b6e2,'data':_0xd60ae6,'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804[_0x46174a(0x28b)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':_0xd60ae6[_0x46174a(0x32e)]},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804[_0x46174a(0x2a8)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':_0xd60ae6['updatePermissionObjEvent']},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};case _0x3cf804[_0x46174a(0x4d9)]:return{..._0xd4b6e2,'data':{..._0xd60ae6,'data':_0xd60ae6['shouldCloseConn']},'cmd':_0xd4b6e2[_0x46174a(0x2ea)]};default:return _0xd4b6e2;}}default:return _0xd4b6e2;}}function Hn(_0x17da11){const _0x17620e=_0xdb88e7;switch(_0x17da11[_0x17620e(0x2ea)]){case I[_0x17620e(0x2cd)]:case I['HELLO']:return JSON[_0x17620e(0x2c1)]({'cmd':_0x17da11[_0x17620e(0x2ea)],'routeKey':_0x17da11[_0x17620e(0x2c3)]});case I[_0x17620e(0x2dc)]:{let _0x410b49;switch(_0x17da11[_0x17620e(0x4dc)][_0x17620e(0x2a9)]){case _0x3cf804['UPDATE_CURSOR']:{_0x410b49={'eventID':_0x3cf804[_0x17620e(0x39d)],'updateCursorEvent':_0x17da11['data'][_0x17620e(0x4dc)]};break;}case _0x3cf804['USERS_LEAVE']:{_0x410b49={'eventID':_0x3cf804[_0x17620e(0x557)],'leaveEvent':_0x17da11[_0x17620e(0x4dc)][_0x17620e(0x4dc)]};break;}case _0x3cf804[_0x17620e(0x285)]:{_0x410b49={'eventID':_0x3cf804[_0x17620e(0x285)],'joinEvent':_0x17da11[_0x17620e(0x4dc)]['data']};break;}case _0x3cf804[_0x17620e(0x2f8)]:{_0x410b49={'eventID':_0x3cf804[_0x17620e(0x2f8)],'liveShareNewHost':_0x17da11['data'][_0x17620e(0x4dc)]};break;}case _0x3cf804['LIVESHARE_OPERATION']:{_0x410b49={'eventID':_0x3cf804[_0x17620e(0x200)],'liveShareOperation':_0x17da11[_0x17620e(0x4dc)][_0x17620e(0x4dc)]};break;}case _0x3cf804[_0x17620e(0x4a5)]:{_0x410b49={'eventID':_0x3cf804[_0x17620e(0x4a5)],'liveShareTerminate':_0x17da11[_0x17620e(0x4dc)][_0x17620e(0x4dc)]};break;}case _0x3cf804[_0x17620e(0x502)]:{_0x410b49={'eventID':_0x3cf804['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x17da11[_0x17620e(0x4dc)][_0x17620e(0x4dc)]};break;}case _0x3cf804[_0x17620e(0x300)]:{_0x410b49={'eventID':_0x3cf804[_0x17620e(0x300)]};break;}default:_0x410b49={'eventID':_0x17da11['data'][_0x17620e(0x2a9)]};}return JSON['stringify']({'cmd':_0x17da11[_0x17620e(0x2ea)],'routeKey':_0x17da11[_0x17620e(0x2c3)],'collaMsg':_0x410b49});}case I[_0x17620e(0x1f9)]:return JSON[_0x17620e(0x2c1)]({'cmd':_0x17da11[_0x17620e(0x2ea)],'routeKey':_0x17da11[_0x17620e(0x2c3)],'joinReq':_0x17da11[_0x17620e(0x4dc)]});case I[_0x17620e(0x3a0)]:return JSON['stringify']({'cmd':_0x17da11['cmd'],'routeKey':_0x17da11[_0x17620e(0x2c3)],'leaveReq':_0x17da11[_0x17620e(0x4dc)]});default:throw new Error(_0x17620e(0x3ba));}}var kn=Object[_0xdb88e7(0x396)],Bn=Object[_0xdb88e7(0x429)],Vn=(_0x499811,_0x4f2933,_0x417280,_0x220703)=>{for(var _0x31812d=_0x220703>0x1?void 0x0:_0x220703?Bn(_0x4f2933,_0x417280):_0x4f2933,_0x1f22e0=_0x499811['length']-0x1,_0x526a46;_0x1f22e0>=0x0;_0x1f22e0--)(_0x526a46=_0x499811[_0x1f22e0])&&(_0x31812d=(_0x220703?_0x526a46(_0x4f2933,_0x417280,_0x31812d):_0x526a46(_0x31812d))||_0x31812d);return _0x220703&&_0x31812d&&kn(_0x4f2933,_0x417280,_0x31812d),_0x31812d;},De=(_0x4833c3,_0x3c1afe)=>(_0x33350a,_0x20b8d7)=>_0x3c1afe(_0x33350a,_0x20b8d7,_0x4833c3);const Vs=_0xd8fa3('univer-pro.collaboration-client-socket-service');function Fn(_0x5757dd,_0x14558a,_0x556161){const _0x46d5af=_0xdb88e7;return _0x5757dd+'/'+_0x14558a+_0x46d5af(0x36b)+_0x556161+'/new_changes';}let Tt=class extends _0x53fecf{constructor(_0x1917b1,_0x1e0705,_0x406366,_0xb1cc65,_0xdbd4ed){const _0x471a17=_0xdb88e7;super(),this[_0x471a17(0x332)]=_0x1917b1,this[_0x471a17(0x551)]=_0x1e0705,this[_0x471a17(0x287)]=_0x406366,this[_0x471a17(0x3da)]=_0xb1cc65,this[_0x471a17(0x461)]=_0xdbd4ed;}['createSocket'](_0x2ab867){const _0x4df7df=_0xdb88e7,_0x239332=this[_0x4df7df(0x551)]['createSocket'](_0x2ab867);if(!_0x239332)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4cb024=new _0x276d96(),_0x1055ce=new _0x116216();_0x4cb024[_0x4df7df(0x44c)](_0x239332[_0x4df7df(0x47f)][_0x4df7df(0x427)](_0x3d20f5=>_0x1055ce[_0x4df7df(0x48e)](_0x3d20f5))),_0x4cb024[_0x4df7df(0x44c)](_0x5a30f8(()=>_0x1055ce[_0x4df7df(0x1f4)]()));const _0x33de04=new _0x116216();_0x4cb024['add'](_0x239332['error$'][_0x4df7df(0x427)](_0x1b896f=>_0x33de04[_0x4df7df(0x48e)](_0x1b896f))),_0x4cb024[_0x4df7df(0x44c)](_0x5a30f8(()=>_0x33de04[_0x4df7df(0x1f4)]()));const _0x16119b=new _0x116216();_0x4cb024[_0x4df7df(0x44c)](_0x239332[_0x4df7df(0x26b)][_0x4df7df(0x427)](_0x4d9d97=>{const _0x1d1ef0=_0x4df7df,_0x3d365d=xn(_0x4d9d97);_0x16119b[_0x1d1ef0(0x48e)](_0x3d365d);})),_0x4cb024[_0x4df7df(0x44c)](_0x5a30f8(()=>_0x16119b[_0x4df7df(0x1f4)]()));let _0x27a7de;const _0x17e97f=()=>{const _0x58e6f2=_0x4df7df;_0x33de04['next'](new Event(_0x58e6f2(0x3c9))),_0x1055ce[_0x58e6f2(0x48e)](new CloseEvent('connection\x20error')),_0x27a7de[_0x58e6f2(0x385)]();};return _0x27a7de={'memberID':'','close$':_0x1055ce[_0x4df7df(0x4a1)](),'error$':_0x33de04[_0x4df7df(0x4a1)](),'open$':_0x239332[_0x4df7df(0x51c)],'message$':_0x16119b[_0x4df7df(0x4a1)](),'send':_0x3005c9=>{const _0x155e7e=_0x4df7df;if(_0x3005c9[_0x155e7e(0x2ea)]===I[_0x155e7e(0x2dc)]){if(_0x3005c9[_0x155e7e(0x4dc)]['eventID']===_0x3cf804[_0x155e7e(0x2eb)]){this[_0x155e7e(0x51d)](_0x27a7de,_0x3005c9[_0x155e7e(0x4dc)])['catch'](_0x14e6f3=>{const _0x13a8e5=_0x155e7e;this[_0x13a8e5(0x3da)][_0x13a8e5(0x528)](_0x14e6f3),_0x17e97f();});return;}if(_0x3005c9[_0x155e7e(0x4dc)]['eventID']===_0x3cf804[_0x155e7e(0x524)]){const _0x1315ba=_0x3005c9[_0x155e7e(0x4dc)];this[_0x155e7e(0x283)](_0x1315ba)[_0x155e7e(0x260)](_0x372ef4=>{const _0x11f38a=_0x155e7e;_0x16119b[_0x11f38a(0x48e)]({'cmd':I['RECV'],'code':Wt['OK'],'routeKey':_0x1315ba[_0x11f38a(0x4dc)][_0x11f38a(0x209)],'routeType':'','data':{'eventID':_0x3cf804[_0x11f38a(0x4b8)],'data':{'changesets':_0x372ef4}}});})[_0x155e7e(0x35d)](_0xee5e04=>{this['_logService']['error'](_0xee5e04),_0x17e97f();});return;}}_0x239332[_0x155e7e(0x37e)](Hn(_0x3005c9));},'close':()=>{const _0x25d79a=_0x4df7df;_0x239332[_0x25d79a(0x385)](),_0x4cb024['dispose']();}},_0x27a7de;}async[_0xdb88e7(0x51d)](_0x2f2675,_0x364703){const _0x58b188=_0xdb88e7;var _0x3a2a54,_0x68babb;const {unitType:_0x1e09c2,unitID:_0x2587d9,changeset:_0x9d514f}=_0x364703[_0x58b188(0x4dc)],_0x272e01={'unitID':_0x2587d9,'memberID':_0x2f2675[_0x58b188(0x503)],'type':_0x1e09c2,'changeset':_0x224344(_0x9d514f)},_0xe3ec4b=this['_configService'][_0x58b188(0x4c2)](An),_0x55394f=this[_0x58b188(0x287)][_0x58b188(0x4c2)](j),_0x2afa4b=Fn((_0x68babb=(_0x3a2a54=_0x55394f==null?void 0x0:_0x55394f['collabSubmitChangesetUrl'])!=null?_0x3a2a54:_0xe3ec4b)!=null?_0x68babb:Mn,_0x1e09c2,_0x2587d9);try{await this[_0x58b188(0x332)]['post'](_0x2afa4b,{'body':_0x272e01});}catch(_0x76f7a4){throw this['_logService'][_0x58b188(0x528)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x76f7a4;}}async['_fetchMissChangesets'](_0x16234f){const _0x5ca358=_0xdb88e7,{unitID:_0x1fb76d,from:_0xf5b2e4,to:_0x450212,unitType:_0x1cd7bd}=_0x16234f[_0x5ca358(0x4dc)];return(await this[_0x5ca358(0x461)][_0x5ca358(0x4de)]({'metadata':void 0x0},{'unitID':_0x1fb76d,'type':_0x1cd7bd,'from':_0xf5b2e4,'to':_0x450212}))['changesets'];}};Tt=Vn([De(0x0,_0x708a43(_0x44ff7a)),De(0x1,_0x708a43(_0x3e1e9c)),De(0x2,_0x3f3328),De(0x3,_0x32f72e),De(0x4,_0x52152c)],Tt);const Wn=_0xdb88e7(0x306);function Gn(_0x159057){const _0x5b3873=_0xdb88e7;return JSON[_0x5b3873(0x2c1)](_0x159057)[_0x5b3873(0x530)];}class Fs{constructor(){const _0x2d7afa=_0xdb88e7;l(this,_0x2d7afa(0x4fd),new _0x116216()),l(this,_0x2d7afa(0x458),this['_commentUpdate$'][_0x2d7afa(0x4a1)]());}['onCommentUpdate'](_0x25501d){const _0x1fd4d7=_0xdb88e7;this[_0x1fd4d7(0x4fd)]['next'](_0x25501d);}}var Yn=Object[_0xdb88e7(0x396)],Kn=Object[_0xdb88e7(0x429)],Xn=(_0x3bb2b5,_0x296cfb,_0x58410d,_0x422466)=>{for(var _0x65d52e=_0x422466>0x1?void 0x0:_0x422466?Kn(_0x296cfb,_0x58410d):_0x296cfb,_0x170913=_0x3bb2b5['length']-0x1,_0x49e78e;_0x170913>=0x0;_0x170913--)(_0x49e78e=_0x3bb2b5[_0x170913])&&(_0x65d52e=(_0x422466?_0x49e78e(_0x296cfb,_0x58410d,_0x65d52e):_0x49e78e(_0x65d52e))||_0x65d52e);return _0x422466&&_0x65d52e&&Yn(_0x296cfb,_0x58410d,_0x65d52e),_0x65d52e;},cs=(_0x3df5cf,_0x284020)=>(_0x2fe332,_0x15142d)=>_0x284020(_0x2fe332,_0x15142d,_0x3df5cf);let le=class extends _0x53fecf{constructor(_0x3e0116,_0x4ff227){const _0x3ce4d9=_0xdb88e7;super(),l(this,_0x3ce4d9(0x4d6),new Map()),(this[_0x3ce4d9(0x372)]=_0x3e0116,this[_0x3ce4d9(0x50d)]=_0x4ff227,this[_0x3ce4d9(0x3fb)](_0x5a30f8(_0x28b2cd(this['_univerInstanceService'][_0x3ce4d9(0x49a)](_0x28e552[_0x3ce4d9(0x240)])[_0x3ce4d9(0x279)](_0x1c8fcb(_0x5b4b80=>_0x5b4b80[_0x3ce4d9(0x444)]())),this[_0x3ce4d9(0x372)][_0x3ce4d9(0x49a)](_0x28e552[_0x3ce4d9(0x2d8)])['pipe'](_0x1c8fcb(_0x290a35=>_0x290a35[_0x3ce4d9(0x444)]())),this[_0x3ce4d9(0x372)][_0x3ce4d9(0x49a)](_0x28e552[_0x3ce4d9(0x297)])['pipe'](_0x1c8fcb(_0x4da121=>_0x4da121[_0x3ce4d9(0x444)]())))[_0x3ce4d9(0x427)](_0x584f2d=>this[_0x3ce4d9(0x442)](_0x584f2d)))));}['setCurrentUser'](_0x136106){const _0xfd905d=_0xdb88e7;this[_0xfd905d(0x50d)][_0xfd905d(0x249)](_0x136106);}[_0xdb88e7(0x224)](){const _0x20e819=_0xdb88e7;return this[_0x20e819(0x50d)][_0x20e819(0x224)]();}[_0xdb88e7(0x369)](_0x2dc73d,_0x293391){const _0x4dbb9c=_0xdb88e7;let _0x16d376=this[_0x4dbb9c(0x4d6)][_0x4dbb9c(0x2c9)](_0x2dc73d);_0x16d376||(_0x16d376=new qn(),this[_0x4dbb9c(0x4d6)][_0x4dbb9c(0x512)](_0x2dc73d,_0x16d376)),_0x16d376['updateMember'](_0x293391);}['removeMember'](_0x58ced5,_0x33a22b){const _0x3f6c1f=_0xdb88e7,_0xe94b33=this[_0x3f6c1f(0x4d6)][_0x3f6c1f(0x2c9)](_0x58ced5);_0xe94b33&&_0xe94b33['removeMember'](_0x33a22b);}['getRoom'](_0x132e0e){const _0xe6d67d=_0xdb88e7;return this[_0xe6d67d(0x4d6)][_0xe6d67d(0x2c9)](_0x132e0e);}[_0xdb88e7(0x207)](_0x1376a1,_0x16c4e4){const _0x421f99=_0xdb88e7,_0x415c0c=this[_0x421f99(0x4d6)][_0x421f99(0x2c9)](_0x1376a1);if(_0x415c0c)return _0x415c0c[_0x421f99(0x207)](_0x16c4e4);}[_0xdb88e7(0x442)](_0x306743){const _0xb2b2d=_0xdb88e7,_0x2fd234=this['_roomMembers'][_0xb2b2d(0x2c9)](_0x306743);_0x2fd234&&(_0x2fd234[_0xb2b2d(0x50f)](),this[_0xb2b2d(0x4d6)][_0xb2b2d(0x410)](_0x306743));}[_0xdb88e7(0x50f)](){const _0x16408b=_0xdb88e7;this[_0x16408b(0x4d6)]['forEach'](_0x5744d7=>_0x5744d7[_0x16408b(0x50f)]()),this['_roomMembers'][_0x16408b(0x443)]();}};le=Xn([cs(0x0,_0x3c6560),cs(0x1,_0x708a43(_0x4f67cc))],le);class qn extends _0x53fecf{constructor(){super(...arguments),l(this,'_members',new Map());}[_0xdb88e7(0x50f)](){const _0xe97018=_0xdb88e7;this[_0xe97018(0x522)][_0xe97018(0x443)]();}[_0xdb88e7(0x369)](_0x3b630c){const _0x594d67=_0xdb88e7;this[_0x594d67(0x522)][_0x594d67(0x512)](_0x3b630c[_0x594d67(0x503)],_0x3b630c);}[_0xdb88e7(0x2a7)](_0x377d69){const _0x3d0471=_0xdb88e7;this[_0x3d0471(0x522)][_0x3d0471(0x410)](_0x377d69);}[_0xdb88e7(0x207)](_0x261b60){const _0x81b1cd=_0xdb88e7;return this[_0x81b1cd(0x522)]['get'](_0x261b60);}[_0xdb88e7(0x3f8)](){const _0x4e49f8=_0xdb88e7;return Array['from'](this[_0x4e49f8(0x522)]['values']());}}var Jn=Object[_0xdb88e7(0x396)],zn=Object[_0xdb88e7(0x429)],Zn=(_0x4054a4,_0x46d120,_0x1ca7b5,_0x281080)=>{const _0xf79d82=_0xdb88e7;for(var _0x5e77f5=_0x281080>0x1?void 0x0:_0x281080?zn(_0x46d120,_0x1ca7b5):_0x46d120,_0x5c5d5a=_0x4054a4[_0xf79d82(0x530)]-0x1,_0x1a585e;_0x5c5d5a>=0x0;_0x5c5d5a--)(_0x1a585e=_0x4054a4[_0x5c5d5a])&&(_0x5e77f5=(_0x281080?_0x1a585e(_0x46d120,_0x1ca7b5,_0x5e77f5):_0x1a585e(_0x5e77f5))||_0x5e77f5);return _0x281080&&_0x5e77f5&&Jn(_0x46d120,_0x1ca7b5,_0x5e77f5),_0x5e77f5;},Z=(_0x3bc59d,_0x2e9372)=>(_0x22c5b0,_0x4d0336)=>_0x2e9372(_0x22c5b0,_0x4d0336,_0x3bc59d),X=(_0xb92a3e=>(_0xb92a3e[_0xb92a3e['IDLE']=0x0]=_0xdb88e7(0x2fe),_0xb92a3e[_0xb92a3e[_0xdb88e7(0x38a)]=0x1]=_0xdb88e7(0x38a),_0xb92a3e[_0xb92a3e[_0xdb88e7(0x526)]=0x2]=_0xdb88e7(0x526),_0xb92a3e[_0xb92a3e['ONLINE']=0x3]='ONLINE',_0xb92a3e))(X||{});let Rt=class extends _0x390154{constructor(_0x512425,_0x142681,_0xa4311a,_0x28143b,_0x20d1c8,_0xf5e343,_0x4009a8,_0x347f19,_0x1369af,_0x2db9bf){const _0x29c9ed=_0xdb88e7;super(),l(this,_0x29c9ed(0x3b4),new _0x4786ab(0x0)),l(this,_0x29c9ed(0x223),this[_0x29c9ed(0x3b4)][_0x29c9ed(0x4a1)]()),l(this,'_event$',new _0x116216()),l(this,_0x29c9ed(0x412),this[_0x29c9ed(0x42b)][_0x29c9ed(0x4a1)]()),l(this,_0x29c9ed(0x29a)),l(this,_0x29c9ed(0x340)),l(this,_0x29c9ed(0x22d)),l(this,_0x29c9ed(0x261),!0x1),l(this,'_telemetryInfo',null),(this[_0x29c9ed(0x3b1)]=_0x512425,this[_0x29c9ed(0x3da)]=_0xa4311a,this[_0x29c9ed(0x4ac)]=_0x28143b,this[_0x29c9ed(0x2f3)]=_0x20d1c8,this[_0x29c9ed(0x287)]=_0xf5e343,this[_0x29c9ed(0x280)]=_0x4009a8,this[_0x29c9ed(0x492)]=_0x347f19,this['_commentService']=_0x1369af,this['_telemetryService']=_0x2db9bf,this[_0x29c9ed(0x261)]=!!this[_0x29c9ed(0x483)],_0x142681[_0x29c9ed(0x279)](_0x13b5ec(this['dispose$']))[_0x29c9ed(0x427)](_0x5c248e=>{const _0x2594dc=_0x29c9ed;var _0x1c9319;typeof _0x5c248e>'u'||(this[_0x2594dc(0x29a)]=_0x5c248e,_0x5c248e?(this['_joinRoom'](_0x5c248e),this[_0x2594dc(0x340)]=_0x5c248e[_0x2594dc(0x26b)][_0x2594dc(0x427)](_0x5228de=>{const _0x488f55=_0x2594dc;_0x5228de['routeKey']===this[_0x488f55(0x3b1)]&&this['_onCombEvent'](_0x5228de);})):(this[_0x2594dc(0x3fd)](),this[_0x2594dc(0x3b4)][_0x2594dc(0x48e)](0x2),(_0x1c9319=this[_0x2594dc(0x340)])==null||_0x1c9319['unsubscribe'](),this[_0x2594dc(0x340)]=null));}),this[_0x29c9ed(0x3fb)](this[_0x29c9ed(0x4ac)][_0x29c9ed(0x1fb)](()=>{const _0x4e82ad=_0x29c9ed;var _0x2299fe;(_0x2299fe=this[_0x4e82ad(0x29a)])==null||_0x2299fe[_0x4e82ad(0x37e)]({'cmd':I[_0x4e82ad(0x3a0)],'data':{'roomID':this[_0x4e82ad(0x3b1)]}});})));}get[_0xdb88e7(0x43b)](){const _0x49cd86=_0xdb88e7;return this[_0x49cd86(0x3b4)][_0x49cd86(0x354)]();}[_0xdb88e7(0x316)](){const _0x162707=_0xdb88e7;var _0x3f35ab,_0x3bebc1;return(_0x3bebc1=(_0x3f35ab=this[_0x162707(0x29a)])==null?void 0x0:_0x3f35ab[_0x162707(0x503)])!=null?_0x3bebc1:null;}[_0xdb88e7(0x50f)](){const _0x13cea1=_0xdb88e7;super[_0x13cea1(0x50f)](),this[_0x13cea1(0x337)][_0x13cea1(0x48e)](),this['dispose$']['complete']();}['close'](){const _0x3dee3e=_0xdb88e7;var _0x210cdc,_0x4ad2c3;this[_0x3dee3e(0x3fd)](),(_0x210cdc=this[_0x3dee3e(0x29a)])==null||_0x210cdc[_0x3dee3e(0x37e)]({'cmd':I[_0x3dee3e(0x3a0)],'data':{'roomID':this[_0x3dee3e(0x3b1)]}}),(_0x4ad2c3=this['_socket'])==null||_0x4ad2c3[_0x3dee3e(0x385)](),this[_0x3dee3e(0x42b)][_0x3dee3e(0x1f4)](),this[_0x3dee3e(0x3b4)]['complete'](),this['dispose']();}['_onCombEvent'](_0x497c77){const _0x2b3725=_0xdb88e7;_0x497c77[_0x2b3725(0x2ea)]===I[_0x2b3725(0x1f9)]?this[_0x2b3725(0x303)](_0x497c77):_0x497c77[_0x2b3725(0x2ea)]===I[_0x2b3725(0x368)]&&this[_0x2b3725(0x259)](_0x497c77);}['_joinRoom'](_0x409324){const _0x4ec37a=_0xdb88e7;this[_0x4ec37a(0x3b4)]['next'](0x1),_0x409324['send']({'cmd':I[_0x4ec37a(0x1f9)],'routeKey':this[_0x4ec37a(0x3b1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4ec37a(0x3b1)]}]}});}[_0xdb88e7(0x303)](_0x487c76){const _0x52eef3=_0xdb88e7;var _0x508571;if(_0x487c76['code']===Wt[_0x52eef3(0x50b)]){this[_0x52eef3(0x2f3)]['show']({'type':_0x21f247['Warning'],'content':this[_0x52eef3(0x280)]['t'](_0x52eef3(0x344))}),this['_sessionStatus$'][_0x52eef3(0x48e)](0x2);return;}this[_0x52eef3(0x3b4)][_0x52eef3(0x48e)](0x3);const _0x4b48cf=(_0x508571=_0x487c76['data'][_0x52eef3(0x1f6)][this[_0x52eef3(0x3b1)]])==null?void 0x0:_0x508571[_0x52eef3(0x4f6)];_0x4b48cf&&_0x4b48cf[_0x52eef3(0x25a)](_0x11206d=>this[_0x52eef3(0x492)][_0x52eef3(0x369)](this[_0x52eef3(0x3b1)],_0x11206d));}[_0xdb88e7(0x259)](_0x1a6a0b){const _0xacec28=_0xdb88e7;try{const _0x1f83c6=_0x1a6a0b[_0xacec28(0x4dc)];switch(_0x1f83c6[_0xacec28(0x2a9)]){case _0x3cf804[_0xacec28(0x285)]:this[_0xacec28(0x28e)](_0x1f83c6),this[_0xacec28(0x42b)][_0xacec28(0x48e)](_0x1f83c6);break;case _0x3cf804[_0xacec28(0x557)]:this[_0xacec28(0x1e4)](_0x1f83c6),this['_event$']['next'](_0x1f83c6);break;case _0x3cf804[_0xacec28(0x2e6)]:case _0x3cf804[_0xacec28(0x4ea)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0xacec28(0x3c2)](),this[_0xacec28(0x42b)][_0xacec28(0x48e)](_0x1f83c6);break;case _0x3cf804[_0xacec28(0x535)]:this[_0xacec28(0x3da)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0xacec28(0x2c1)](_0x1f83c6)),this[_0xacec28(0x42b)][_0xacec28(0x48e)](_0x1f83c6);break;case _0x3cf804[_0xacec28(0x28b)]:this['_commentService']['onCommentUpdate'](_0x1f83c6[_0xacec28(0x4dc)]),this['_event$']['next'](_0x1f83c6);break;default:this['_event$'][_0xacec28(0x48e)](_0x1f83c6);}}catch(_0x20dfc1){this[_0xacec28(0x3da)][_0xacec28(0x528)](_0x20dfc1,_0x1a6a0b);}}[_0xdb88e7(0x28e)](_0x17c0a4){const _0x1c86a4=_0xdb88e7;this[_0x1c86a4(0x492)][_0x1c86a4(0x369)](this[_0x1c86a4(0x3b1)],_0x17c0a4[_0x1c86a4(0x4dc)]);}['_onUserLeave'](_0xfbc90c){const _0x5dc1f8=_0xdb88e7;this[_0x5dc1f8(0x492)][_0x5dc1f8(0x2a7)](this[_0x5dc1f8(0x3b1)],_0xfbc90c['data'][_0x5dc1f8(0x503)]);}async['send'](_0x6d9403,_0x8478ac){const _0x34ca56=_0xdb88e7;if(this['sessionStatus']!==0x3||!this[_0x34ca56(0x29a)])throw new Error(_0x34ca56(0x3a2));try{_0x6d9403['eventID']===_0x3cf804[_0x34ca56(0x2eb)]&&(this[_0x34ca56(0x451)](),this[_0x34ca56(0x292)](_0x6d9403)),this[_0x34ca56(0x29a)][_0x34ca56(0x37e)]({'cmd':I[_0x34ca56(0x2dc)],'routeKey':_0x8478ac,'routeType':'','data':_0x6d9403});}catch(_0x1c2235){this[_0x34ca56(0x3da)]['error'](_0x1c2235);}}[_0xdb88e7(0x451)](){const _0x477d2b=_0xdb88e7;var _0x2e3992;this['_collaborationTimeoutTimer']=window[_0x477d2b(0x227)](()=>{const _0x5048c2=_0x477d2b;this[_0x5048c2(0x22d)]=null,this[_0x5048c2(0x2f3)][_0x5048c2(0x32b)]({'type':_0x21f247['Error'],'content':this[_0x5048c2(0x280)]['t'](_0x5048c2(0x525))});},(_0x2e3992=this[_0x477d2b(0x287)][_0x477d2b(0x4c2)](xs))!=null?_0x2e3992:Hs);}[_0xdb88e7(0x3c2)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x5f4701){const _0x1ec584=_0xdb88e7;if(!this[_0x1ec584(0x261)])return;const {data:_0x139d88}=_0x5f4701,{unitID:_0x867231,changeset:_0x311145}=_0x139d88,{mutations:_0x5a2efc,type:_0xb3d78f}=_0x311145;this['_telemetryInfo']={'unitId':_0x867231,'type':_0xb3d78f,'startTime':performance[_0x1ec584(0x301)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x5a2efc)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x2a050f=_0xdb88e7;if(this['_shouldReportTelemetry']){if(!this[_0x2a050f(0x4e9)]){this[_0x2a050f(0x3da)][_0x2a050f(0x528)](_0x2a050f(0x35f),_0x2a050f(0x409));return;}this[_0x2a050f(0x4e9)][_0x2a050f(0x43e)]=performance[_0x2a050f(0x301)](),this[_0x2a050f(0x4e9)][_0x2a050f(0x52e)]=this[_0x2a050f(0x4e9)]['stopTime']-this[_0x2a050f(0x4e9)]['startTime'],this[_0x2a050f(0x483)][_0x2a050f(0x3e0)](Wn,this[_0x2a050f(0x4e9)]),this[_0x2a050f(0x4e9)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x1170e4=_0xdb88e7;this[_0x1170e4(0x4e9)]=null;}};Rt=Zn([Z(0x2,_0x32f72e),Z(0x3,_0xf1f134),Z(0x4,_0x50cdfc),Z(0x5,_0x3f3328),Z(0x6,_0x708a43(_0x1cea44)),Z(0x7,_0x708a43(le)),Z(0x8,_0x708a43(Fs)),Z(0x9,_0x42ec52(_0x55daf1))],Rt);var Qn=Object[_0xdb88e7(0x396)],er=Object[_0xdb88e7(0x429)],tr=(_0x2e903f,_0x3ab2a6,_0x4ab853,_0x479b9c)=>{for(var _0x3c296f=_0x479b9c>0x1?void 0x0:_0x479b9c?er(_0x3ab2a6,_0x4ab853):_0x3ab2a6,_0x2c3d91=_0x2e903f['length']-0x1,_0x2e6f03;_0x2c3d91>=0x0;_0x2c3d91--)(_0x2e6f03=_0x2e903f[_0x2c3d91])&&(_0x3c296f=(_0x479b9c?_0x2e6f03(_0x3ab2a6,_0x4ab853,_0x3c296f):_0x2e6f03(_0x3c296f))||_0x3c296f);return _0x479b9c&&_0x3c296f&&Qn(_0x3ab2a6,_0x4ab853,_0x3c296f),_0x3c296f;},Se=(_0x859d29,_0xcebd63)=>(_0x3be9c2,_0x2a6949)=>_0xcebd63(_0x3be9c2,_0x2a6949,_0x859d29);let _e=class extends _0x53fecf{constructor(_0x50e59e,_0x394425,_0x1afa92,_0x177276,_0x169894,_0x3c47ff){const _0x4ecaa1=_0xdb88e7;super(),l(this,_0x4ecaa1(0x26d),new _0x4786ab(void 0x0)),l(this,_0x4ecaa1(0x3e3),this[_0x4ecaa1(0x26d)][_0x4ecaa1(0x4a1)]()),l(this,_0x4ecaa1(0x406),null),l(this,_0x4ecaa1(0x32f),new Map()),l(this,_0x4ecaa1(0x407),new _0x4786ab(X[_0x4ecaa1(0x2fe)])),l(this,'status$',this['_status$']['asObservable']()),l(this,_0x4ecaa1(0x25b),!0x1),l(this,_0x4ecaa1(0x50c)),l(this,_0x4ecaa1(0x400),0x0),l(this,_0x4ecaa1(0x392)),l(this,_0x4ecaa1(0x38d)),(this[_0x4ecaa1(0x48d)]=_0x50e59e,this[_0x4ecaa1(0x280)]=_0x394425,this[_0x4ecaa1(0x2f3)]=_0x1afa92,this[_0x4ecaa1(0x3da)]=_0x177276,this['_configService']=_0x169894,this[_0x4ecaa1(0x2f0)]=_0x3c47ff,this['_initEventListeners']());}get[_0xdb88e7(0x29a)](){const _0x496243=_0xdb88e7;return this[_0x496243(0x26d)][_0x496243(0x354)]();}[_0xdb88e7(0x42c)](){const _0x156b0a=_0xdb88e7;this[_0x156b0a(0x272)](),this[_0x156b0a(0x517)]();}['dispose'](){const _0x2218e1=_0xdb88e7;super[_0x2218e1(0x50f)](),this[_0x2218e1(0x32f)][_0x2218e1(0x25a)](_0x50bcfc=>_0x50bcfc[_0x2218e1(0x50f)]()),this[_0x2218e1(0x32f)]['clear'](),this['_status$'][_0x2218e1(0x1f4)]();}async[_0xdb88e7(0x3d8)](_0x1f6abe){const _0x493b4c=_0xdb88e7;if(this[_0x493b4c(0x32f)][_0x493b4c(0x302)](_0x1f6abe))return this[_0x493b4c(0x32f)][_0x493b4c(0x2c9)](_0x1f6abe);this[_0x493b4c(0x3d3)]();const _0x439add=this[_0x493b4c(0x48d)][_0x493b4c(0x2bc)](Rt,_0x1f6abe,this[_0x493b4c(0x26d)][_0x493b4c(0x4a1)]());return this[_0x493b4c(0x32f)][_0x493b4c(0x512)](_0x1f6abe,_0x439add),_0x439add;}[_0xdb88e7(0x1e8)](_0x373acb){const _0x41fd36=_0xdb88e7;var _0x4c891f;const _0x285a89=this[_0x41fd36(0x32f)][_0x41fd36(0x2c9)](_0x373acb);_0x285a89&&(this[_0x41fd36(0x32f)][_0x41fd36(0x410)](_0x373acb),_0x285a89['close']()),this[_0x41fd36(0x32f)][_0x41fd36(0x20b)]||(_0x4c891f=this[_0x41fd36(0x29a)])==null||_0x4c891f['close']();}[_0xdb88e7(0x32c)](){const _0x1f8997=_0xdb88e7;this[_0x1f8997(0x400)]=0x0,this[_0x1f8997(0x50c)]!=null&&(clearTimeout(this[_0x1f8997(0x50c)]),this[_0x1f8997(0x50c)]=null),this[_0x1f8997(0x41d)]();}[_0xdb88e7(0x544)](){const _0x25916a=_0xdb88e7;var _0xcf962e,_0xc76c03;const _0x4d2541=this[_0x25916a(0x287)][_0x25916a(0x4c2)](Tn),_0x2d31b7=this[_0x25916a(0x287)][_0x25916a(0x4c2)](j),_0x4bb0ab=(_0xc76c03=(_0xcf962e=_0x2d31b7==null?void 0x0:_0x2d31b7[_0x25916a(0x4e8)])!=null?_0xcf962e:_0x4d2541)!=null?_0xc76c03:Rn,_0x5d9f01=this[_0x25916a(0x2f0)]['createSocket'](_0x4bb0ab);return this['_candidateSocket']=_0x5d9f01,_0x5d9f01;}[_0xdb88e7(0x3d3)](){const _0xd1961d=_0xdb88e7;var _0x2fac72,_0x21b11e;try{const _0x1bf2bf=(_0x21b11e=(_0x2fac72=this[_0xd1961d(0x29a)])!=null?_0x2fac72:this['_candidateSocket'])!=null?_0x21b11e:this[_0xd1961d(0x544)]();if(_0x1bf2bf){const _0x1d06c6=_0x1bf2bf[_0xd1961d(0x37e)];_0x1bf2bf[_0xd1961d(0x37e)]=_0x4ce8c0=>(this[_0xd1961d(0x22b)](),_0x1d06c6[_0xd1961d(0x257)](_0x1bf2bf,[_0x4ce8c0])),_0x1bf2bf[_0xd1961d(0x26b)][_0xd1961d(0x427)](_0x3c404d=>this[_0xd1961d(0x263)](_0x1bf2bf,_0x3c404d)),_0x1bf2bf[_0xd1961d(0x21a)][_0xd1961d(0x279)](_0x5beb3d(0x1))[_0xd1961d(0x427)](_0x476e99=>this['_logService'][_0xd1961d(0x528)](_0xd1961d(0x3bf),_0x476e99)),_0x1bf2bf[_0xd1961d(0x51c)]['pipe'](_0x5beb3d(0x1))[_0xd1961d(0x427)](()=>{const _0x1d9391=_0xd1961d;this[_0x1d9391(0x343)](_0x1bf2bf);}),_0x1bf2bf['close$'][_0xd1961d(0x279)](_0x5beb3d(0x1))[_0xd1961d(0x427)](_0x1498de=>{const _0xa15f24=_0xd1961d;this[_0xa15f24(0x3da)]['debug'](_0xa15f24(0x4ed),_0xa15f24(0x3dc),_0x1498de),this['_onConnectionFailed']();});}}catch(_0x2259e4){this[_0xd1961d(0x3da)][_0xd1961d(0x528)](_0x2259e4),this[_0xd1961d(0x453)]();}}[_0xdb88e7(0x343)](_0x273ce4){const _0x149c18=_0xdb88e7;this[_0x149c18(0x3da)][_0x149c18(0x2b9)]('[CollaborationSessionService]',_0x149c18(0x55d)),_0x273ce4['send']({'cmd':I[_0x149c18(0x2a4)]}),this[_0x149c18(0x22b)]();}['_listenToOfflineEvent'](){const _0x5cbd49=_0xdb88e7;window['addEventListener']('offline',()=>this[_0x5cbd49(0x4e1)]());}[_0xdb88e7(0x4e1)](){const _0xbf112f=_0xdb88e7;this['_socketReady']=!0x1,this[_0xbf112f(0x406)]=null,this['_status$'][_0xbf112f(0x48e)](X[_0xbf112f(0x526)]),this['_socket$'][_0xbf112f(0x48e)](null),this[_0xbf112f(0x40a)](),this[_0xbf112f(0x20a)]();}[_0xdb88e7(0x453)](){const _0x28f3b2=_0xdb88e7;var _0x21ba92;this[_0x28f3b2(0x4e1)](),this[_0x28f3b2(0x400)]<((_0x21ba92=this[_0x28f3b2(0x287)][_0x28f3b2(0x4c2)](Pn))!=null?_0x21ba92:yn)?(this['_messageService']['show']({'key':_0x28f3b2(0x485),'type':_0x21f247[_0x28f3b2(0x2aa)],'content':this[_0x28f3b2(0x280)]['t'](_0x28f3b2(0x311))}),this['_tryReconnect']()):this[_0x28f3b2(0x2f3)][_0x28f3b2(0x32b)]({'key':_0x28f3b2(0x485),'type':_0x21f247[_0x28f3b2(0x245)],'content':this[_0x28f3b2(0x280)]['t'](_0x28f3b2(0x413))});}['_listenToOnlineEvent'](){const _0x5d1b60=_0xdb88e7,_0x4d3a88=()=>{const _0x73345e=_0xf7c7;this[_0x73345e(0x29a)]||this[_0x73345e(0x32c)]();},_0x50cac2=()=>{const _0x5044fd=_0xf7c7;this['_socket']||document['visibilityState']===_0x5044fd(0x4cc)||this[_0x5044fd(0x32c)]();};window[_0x5d1b60(0x4c1)](_0x5d1b60(0x478),_0x4d3a88),document[_0x5d1b60(0x4c1)]('visibilitychange',_0x50cac2);}[_0xdb88e7(0x41d)](){const _0x280c69=_0xdb88e7;var _0x1c8c30;const _0x2ec858=this['_retryCount'],_0x4213aa=this[_0x280c69(0x287)][_0x280c69(0x4c2)](j),_0x17f652=_0x2ec858===0x0?0x0:((_0x1c8c30=_0x4213aa==null?void 0x0:_0x4213aa[_0x280c69(0x45a)])!=null?_0x1c8c30:wn)*0x2**_0x2ec858;this[_0x280c69(0x50c)]=window[_0x280c69(0x227)](()=>{const _0x3daff9=_0x280c69;clearTimeout(this[_0x3daff9(0x50c)]),this[_0x3daff9(0x50c)]=null,this['_tryEnsureSocket']();},_0x17f652),this[_0x280c69(0x400)]+=0x1;}[_0xdb88e7(0x263)](_0x12c801,_0x18c412){const _0x4d0e87=_0xdb88e7,{cmd:_0x23b52b}=_0x18c412;_0x23b52b===I[_0x4d0e87(0x2a4)]&&!this[_0x4d0e87(0x25b)]&&(_0x12c801[_0x4d0e87(0x503)]=_0x18c412[_0x4d0e87(0x4dc)]['memberID'],this[_0x4d0e87(0x26d)]['next'](_0x12c801),this[_0x4d0e87(0x407)]['next'](X['ONLINE']),this[_0x4d0e87(0x25b)]=!0x0,this['_candidateSocket']=null),_0x23b52b===I[_0x4d0e87(0x2cd)]&&this[_0x4d0e87(0x40a)](),this[_0x4d0e87(0x22b)]();}['_rescheduleHeartbeat'](){const _0x1db495=_0xdb88e7;var _0x32a104;this[_0x1db495(0x20a)](),this[_0x1db495(0x392)]=window[_0x1db495(0x227)](()=>this['_sendHeartbeat'](),(_0x32a104=this[_0x1db495(0x287)]['getConfig'](On))!=null?_0x32a104:Dn);}['_sendHeartbeat'](){const _0x3d7ccf=_0xdb88e7;this['_socket'][_0x3d7ccf(0x37e)]({'cmd':I[_0x3d7ccf(0x2cd)]}),this[_0x3d7ccf(0x445)]();}['_waitForHeartbeatResponse'](){const _0x3de28c=_0xdb88e7;var _0x1bee71;this[_0x3de28c(0x38d)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x1bee71=this[_0x3de28c(0x287)][_0x3de28c(0x4c2)](xs))!=null?_0x1bee71:Hs);}[_0xdb88e7(0x20a)](){const _0x3ae253=_0xdb88e7;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x3ae253(0x392)]=null);}[_0xdb88e7(0x40a)](){const _0x103c0e=_0xdb88e7;this[_0x103c0e(0x38d)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x103c0e(0x38d)]=null);}};_e=tr([Se(0x0,_0x708a43(_0x262acb)),Se(0x1,_0x708a43(_0x1cea44)),Se(0x2,_0x50cdfc),Se(0x3,_0x32f72e),Se(0x4,_0x3f3328),Se(0x5,Vs)],_e);var T=[];for(var lt=0x0;lt<0x100;++lt)T['push']((lt+0x100)['toString'](0x10)[_0xdb88e7(0x55b)](0x1));function sr(_0x2acc1b,_0x6b1b88=0x0){const _0x461100=_0xdb88e7;return(T[_0x2acc1b[_0x6b1b88+0x0]]+T[_0x2acc1b[_0x6b1b88+0x1]]+T[_0x2acc1b[_0x6b1b88+0x2]]+T[_0x2acc1b[_0x6b1b88+0x3]]+'-'+T[_0x2acc1b[_0x6b1b88+0x4]]+T[_0x2acc1b[_0x6b1b88+0x5]]+'-'+T[_0x2acc1b[_0x6b1b88+0x6]]+T[_0x2acc1b[_0x6b1b88+0x7]]+'-'+T[_0x2acc1b[_0x6b1b88+0x8]]+T[_0x2acc1b[_0x6b1b88+0x9]]+'-'+T[_0x2acc1b[_0x6b1b88+0xa]]+T[_0x2acc1b[_0x6b1b88+0xb]]+T[_0x2acc1b[_0x6b1b88+0xc]]+T[_0x2acc1b[_0x6b1b88+0xd]]+T[_0x2acc1b[_0x6b1b88+0xe]]+T[_0x2acc1b[_0x6b1b88+0xf]])[_0x461100(0x2ca)]();}var He,ir=new Uint8Array(0x10);function nr(){const _0x48412b=_0xdb88e7;if(!He&&(He=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0x48412b(0x38c)]['bind'](crypto),!He))throw new Error(_0x48412b(0x397));return He(ir);}var rr=typeof crypto<'u'&&crypto[_0xdb88e7(0x449)]&&crypto[_0xdb88e7(0x449)][_0xdb88e7(0x474)](crypto);const hs={'randomUUID':rr};function or(_0x4b8062,_0x4322c4,_0x4b94ff){const _0x2c19c6=_0xdb88e7;if(hs[_0x2c19c6(0x449)]&&!_0x4322c4&&!_0x4b8062)return hs[_0x2c19c6(0x449)]();_0x4b8062=_0x4b8062||{};var _0x59e4a6=_0x4b8062['random']||(_0x4b8062[_0x2c19c6(0x336)]||nr)();return _0x59e4a6[0x6]=_0x59e4a6[0x6]&0xf|0x40,_0x59e4a6[0x8]=_0x59e4a6[0x8]&0x3f|0x80,sr(_0x59e4a6);}var ar=Object[_0xdb88e7(0x396)],cr=Object['getOwnPropertyDescriptor'],hr=(_0x24a090,_0x3640a1,_0x2848c3,_0x532aab)=>{const _0x38226a=_0xdb88e7;for(var _0x120e46=_0x532aab>0x1?void 0x0:_0x532aab?cr(_0x3640a1,_0x2848c3):_0x3640a1,_0x2754c8=_0x24a090[_0x38226a(0x530)]-0x1,_0x2fa2af;_0x2754c8>=0x0;_0x2754c8--)(_0x2fa2af=_0x24a090[_0x2754c8])&&(_0x120e46=(_0x532aab?_0x2fa2af(_0x3640a1,_0x2848c3,_0x120e46):_0x2fa2af(_0x120e46))||_0x120e46);return _0x532aab&&_0x120e46&&ar(_0x3640a1,_0x2848c3,_0x120e46),_0x120e46;},_t=(_0x3208c2,_0x5f5ccf)=>(_0x484319,_0x1add8c)=>_0x5f5ccf(_0x484319,_0x1add8c,_0x3208c2);let Ke=class{constructor(_0x2e3ad8,_0x1be110,_0x24e0c4){const _0x28ce80=_0xdb88e7;this['_injector']=_0x2e3ad8,this[_0x28ce80(0x225)]=_0x1be110,this[_0x28ce80(0x201)]=_0x24e0c4;}['transformIMECache'](_0x2b9dae){const _0x44c7ca=_0xdb88e7;this['_transformUndoRedoStack'](_0x2b9dae),this[_0x44c7ca(0x221)](_0x2b9dae);}[_0xdb88e7(0x3a5)](_0x3fb937){const _0x4f407b=_0xdb88e7,{unitID:_0x128c38}=_0x3fb937,_0x3a296a=this['_renderManagerService'][_0x4f407b(0x549)](_0x128c38)[_0x4f407b(0x231)](_0xc9c252),{redoCache:_0x1766c5}=_0x3a296a[_0x4f407b(0x25f)]();if(_0x1766c5['length']===0x0)return _0x3fb937;let _0x59d323=_0x11b4bd[_0x4f407b(0x441)](_0x3fb937[_0x4f407b(0x299)][0x0]);for(let _0x244cb5=0x0;_0x244cb5<_0x1766c5['length'];_0x244cb5++){const _0x32c0e3={'id':_0x4f407b(0x531),'params':{..._0x1766c5[_0x244cb5]}},_0x7df483=this[_0x4f407b(0x225)]['transformMutation'](_0x59d323,_0x32c0e3,!0x1);if(_0x47c47e(_0x7df483))throw _0x7df483[_0x4f407b(0x528)];_0x59d323=_0x7df483[_0x4f407b(0x34c)];}return{..._0x11b4bd[_0x4f407b(0x441)](_0x3fb937),'mutations':[_0x59d323]};}[_0xdb88e7(0x33a)](_0x116525){const _0x2c290f=_0xdb88e7,{unitID:_0x12627d}=_0x116525,_0x139a77=this[_0x2c290f(0x201)][_0x2c290f(0x549)](_0x12627d)[_0x2c290f(0x231)](_0xc9c252),{undoCache:_0x5ab174,redoCache:_0x2c13c6}=_0x139a77[_0x2c290f(0x25f)]();if(_0x5ab174[_0x2c290f(0x530)]===0x0||_0x2c13c6[_0x2c290f(0x530)]===0x0)return;const _0x4910a5=[],_0x307f8e=[];let _0x5f0717=_0x11b4bd[_0x2c290f(0x441)](_0x116525[_0x2c290f(0x299)][0x0]),_0x384513=_0x11b4bd[_0x2c290f(0x441)](_0x116525[_0x2c290f(0x299)][0x0]);for(let _0x1b0157=_0x5ab174[_0x2c290f(0x530)]-0x1;_0x1b0157>=0x0;_0x1b0157--){const _0x1f51c9={'id':_0x2c290f(0x531),'params':{..._0x5ab174[_0x1b0157]}},_0x5d16ee={'id':'doc.mutation.rich-text-editing','params':{..._0x2c13c6[_0x1b0157]}},_0x220fda=this['_transformService']['transformMutation'](_0x5f0717,_0x1f51c9,!0x1),_0x26ddc5=this['_transformService'][_0x2c290f(0x555)](_0x384513,_0x5d16ee,!0x1);if(_0x47c47e(_0x220fda))throw _0x220fda['error'];if(_0x47c47e(_0x26ddc5))throw _0x26ddc5[_0x2c290f(0x528)];_0x4910a5[_0x2c290f(0x2b4)](_0x220fda[_0x2c290f(0x1eb)][_0x2c290f(0x2a3)]),_0x307f8e[_0x2c290f(0x2b4)](_0x26ddc5[_0x2c290f(0x1eb)][_0x2c290f(0x2a3)]),_0x5f0717=_0x220fda[_0x2c290f(0x34c)],_0x384513=_0x26ddc5[_0x2c290f(0x34c)];}_0x139a77[_0x2c290f(0x23d)]({'undoCache':_0x4910a5,'redoCache':_0x307f8e});}['_transformPreviousActiveRange'](_0x203f79){const _0x2502b1=_0xdb88e7,{unitID:_0x4a5803}=_0x203f79,_0x23429e=this[_0x2502b1(0x201)][_0x2502b1(0x549)](_0x4a5803)['with'](_0xc9c252),_0x4ff106=_0x23429e[_0x2502b1(0x24f)]();if(_0x4ff106==null)return;const _0x2b54f5=[{'id':_0x2502b1(0x531),'params':{'unitId':_0x203f79[_0x2502b1(0x209)],'actions':null,'textRanges':[_0x4ff106]}}],_0x459277=this[_0x2502b1(0x225)][_0x2502b1(0x46b)](_0x203f79,_0x2b54f5);if(!_0x5ed378(_0x459277))throw _0x459277[_0x2502b1(0x528)];const _0x3504f6=_0x459277[_0x2502b1(0x1eb)][0x0][_0x2502b1(0x2a3)][_0x2502b1(0x364)];Array[_0x2502b1(0x248)](_0x3504f6)&&_0x3504f6['length']&&_0x23429e['setActiveRange'](_0x3504f6[0x0]);}};Ke=hr([_t(0x0,_0x708a43(_0x262acb)),_t(0x1,_0x144409),_t(0x2,_0x16b9ef)],Ke);var lr=Object['defineProperty'],_r=Object[_0xdb88e7(0x429)],ur=(_0x13c7d2,_0x3f4bc1,_0x7e3d77,_0x47ebfe)=>{const _0x226dd1=_0xdb88e7;for(var _0x4194db=_0x47ebfe>0x1?void 0x0:_0x47ebfe?_r(_0x3f4bc1,_0x7e3d77):_0x3f4bc1,_0xe6721c=_0x13c7d2[_0x226dd1(0x530)]-0x1,_0x1fc8d4;_0xe6721c>=0x0;_0xe6721c--)(_0x1fc8d4=_0x13c7d2[_0xe6721c])&&(_0x4194db=(_0x47ebfe?_0x1fc8d4(_0x3f4bc1,_0x7e3d77,_0x4194db):_0x1fc8d4(_0x4194db))||_0x4194db);return _0x47ebfe&&_0x4194db&&lr(_0x3f4bc1,_0x7e3d77,_0x4194db),_0x4194db;},we=(_0x355d8f,_0x43bddb)=>(_0x2cc355,_0xda28e5)=>_0x43bddb(_0x2cc355,_0xda28e5,_0x355d8f);let D=class extends _0x53fecf{constructor(_0x375d07,_0x5b2564,_0x43eac9,_0x4bb532,_0xc71236){const _0x233676=_0xdb88e7;super(),l(this,_0x233676(0x1e5),new Map()),l(this,_0x233676(0x50e),new Map()),l(this,_0x233676(0x51b),!0x1),(this['_configService']=_0x375d07,this[_0x233676(0x22f)]=_0x5b2564,this[_0x233676(0x4ac)]=_0x43eac9,this['_localeService']=_0x4bb532,this['_revisionService']=_0xc71236,this[_0x233676(0x408)]());}[_0xdb88e7(0x208)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0xdb88e7(0x50f)](){const _0x54343a=_0xdb88e7;this['exhaustSavingTask']()[_0x54343a(0x260)](()=>super['dispose']());}async['loadOfflineData'](_0x3ce8b5){const _0x2eec9f=_0xdb88e7;return this[_0x2eec9f(0x51b)]?null:this[_0x2eec9f(0x22f)][_0x2eec9f(0x4fe)](ls(_0x3ce8b5));}async['saveOfflineData'](_0x55fc40,_0x2d23e9){const _0x338d2b=_0xdb88e7;return!!this[_0x338d2b(0x22f)][_0x338d2b(0x2e5)](_0x55fc40,_0x2d23e9);}['updateOfflineData'](_0xaa174e,_0x559270,_0x306b8b,_0x30b79d){const _0x306601=_0xdb88e7,_0x363f42=this[_0x306601(0x37b)][_0x306601(0x284)](_0xaa174e);this['_cachedData']['set'](_0xaa174e,{'unitID':_0xaa174e,'type':_0x559270,'awaitingChangeset':_0x306b8b,'mutations':_0x30b79d,'rev':_0x363f42}),this['_saveTaskMap'][_0x306601(0x302)](_0xaa174e)||this[_0x306601(0x464)](_0xaa174e);}[_0xdb88e7(0x464)](_0xbcdec8){const _0x1bb283=_0xdb88e7,_0x2f9e4d=this['_getSaveTimeout']();_0x2f9e4d===0x0?this[_0x1bb283(0x246)](_0xbcdec8):this[_0x1bb283(0x50e)][_0x1bb283(0x512)](_0xbcdec8,setTimeout(()=>this[_0x1bb283(0x246)](_0xbcdec8),_0x2f9e4d));}['_getSaveTimeout'](){const _0x514b53=_0xdb88e7;var _0x5a4254;return(_0x5a4254=this[_0x514b53(0x287)][_0x514b53(0x4c2)](Un))!=null?_0x5a4254:Nn;}[_0xdb88e7(0x246)](_0x246b18){const _0x41cd56=_0xdb88e7,_0x124943=this[_0x41cd56(0x50e)]['get'](_0x246b18);return _0x124943!==void 0x0&&window[_0x41cd56(0x3d9)](_0x124943),this[_0x41cd56(0x22f)][_0x41cd56(0x2e5)](ls(_0x246b18),this['_cachedData'][_0x41cd56(0x2c9)](_0x246b18))[_0x41cd56(0x260)](()=>this[_0x41cd56(0x50e)][_0x41cd56(0x410)](_0x246b18));}async[_0xdb88e7(0x41c)](){const _0x50998d=_0xdb88e7,_0x28e08c=[];this['_saveTaskMap'][_0x50998d(0x25a)]((_0x3a03b2,_0xdba8b7)=>{const _0x57f73a=_0x50998d;window['clearTimeout'](_0x3a03b2),_0x28e08c[_0x57f73a(0x393)](this[_0x57f73a(0x246)](_0xdba8b7)[_0x57f73a(0x260)](()=>{const _0x3f24e9=_0x57f73a;this[_0x3f24e9(0x50e)][_0x3f24e9(0x410)](_0xdba8b7);}));}),await Promise[_0x50998d(0x2dd)](_0x28e08c);}[_0xdb88e7(0x408)](){const _0x229810=_0xdb88e7;this[_0x229810(0x3fb)](this[_0x229810(0x4ac)][_0x229810(0x210)](()=>{const _0x44a158=_0x229810;if(this[_0x44a158(0x50e)][_0x44a158(0x20b)])return this[_0x44a158(0x280)]['t'](_0x44a158(0x3cb));}));}};D=ur([we(0x0,_0x3f3328),we(0x1,_0x5e42ae),we(0x2,_0xf1f134),we(0x3,_0x708a43(_0x1cea44)),we(0x4,_0x708a43(_0x12e3be))],D);function ls(_0x59ca8d){const _0x589506=_0xdb88e7;return _0x589506(0x2af)+_0x59ca8d;}var dr=Object['defineProperty'],mr=Object['getOwnPropertyDescriptor'],fr=(_0x18c9d9,_0x12d321,_0x206c93,_0x1ba6f6)=>{const _0x24e9d7=_0xdb88e7;for(var _0x5b589c=_0x1ba6f6>0x1?void 0x0:_0x1ba6f6?mr(_0x12d321,_0x206c93):_0x12d321,_0xa0830a=_0x18c9d9[_0x24e9d7(0x530)]-0x1,_0xa97544;_0xa0830a>=0x0;_0xa0830a--)(_0xa97544=_0x18c9d9[_0xa0830a])&&(_0x5b589c=(_0x1ba6f6?_0xa97544(_0x12d321,_0x206c93,_0x5b589c):_0xa97544(_0x5b589c))||_0x5b589c);return _0x1ba6f6&&_0x5b589c&&dr(_0x12d321,_0x206c93,_0x5b589c),_0x5b589c;},ut=(_0x4a848a,_0x561a49)=>(_0xeeaf1f,_0x317afd)=>_0x561a49(_0xeeaf1f,_0x317afd,_0x4a848a);function gr(_0x167d05){const _0x1bb540=_0xdb88e7,{unitID:_0x3a394e,mutations:_0x5e0bd9}=_0x167d05;return{'unitId':_0x3a394e,'subUnitId':_0x5e0bd9[0x0][_0x1bb540(0x2a3)]['subUnitId']};}let Xe=class{constructor(_0x121d52,_0xe1a673,_0x5e6429){const _0x3416ea=_0xdb88e7;this['_injector']=_0x121d52,this[_0x3416ea(0x225)]=_0xe1a673,this[_0x3416ea(0x2d6)]=_0x5e6429;}[_0xdb88e7(0x23f)](_0x3e8fe4){const _0x262bd6=_0xdb88e7;var _0x103600,_0x5da95b,_0xa30fcf,_0x4c555e;const _0xe2a628=this[_0x262bd6(0x48d)][_0x262bd6(0x2c9)](_0x42114f),{unitId:_0x9def51,subUnitId:_0x53fddf}=gr(_0x3e8fe4),_0x6d6674=_0xe2a628['getWorkbookSelections'](_0x9def51)[_0x262bd6(0x4bb)](),_0x433dcd=(_0x5da95b=(_0x103600=this[_0x262bd6(0x2d6)][_0x262bd6(0x2d2)](_0x9def51))==null?void 0x0:_0x103600[_0x262bd6(0x559)]())==null?void 0x0:_0x5da95b[_0x262bd6(0x3b9)]();if(_0x6d6674[_0x262bd6(0x530)]===0x0||!_0x9def51||!_0x53fddf)return;const _0x119442=[{'id':_0x8e8ac5['id'],'params':{'unitId':_0x9def51,'subUnitId':_0x433dcd,'selections':_0x11b4bd[_0x262bd6(0x441)](_0x6d6674)}}],_0x2715eb=this[_0x262bd6(0x225)][_0x262bd6(0x46b)](_0x3e8fe4,_0x119442);if(!_0x5ed378(_0x2715eb))throw _0x2715eb['error'];const _0x527a9f=(_0x4c555e=(_0xa30fcf=_0x2715eb[_0x262bd6(0x1eb)][0x0])==null?void 0x0:_0xa30fcf[_0x262bd6(0x2a3)])==null?void 0x0:_0x4c555e[_0x262bd6(0x2ed)];if(Array[_0x262bd6(0x248)](_0x527a9f)&&_0x527a9f['length']){if(_0x527a9f[_0x262bd6(0x530)]===_0x119442[0x0][_0x262bd6(0x2a3)][_0x262bd6(0x2ed)][_0x262bd6(0x530)]&&_0x527a9f['every']((_0x27dd69,_0x1c5e0e)=>_0x54d040[_0x262bd6(0x298)](_0x27dd69[_0x262bd6(0x243)],_0x119442[0x0]['params'][_0x262bd6(0x2ed)][_0x1c5e0e]['range'])))return;this[_0x262bd6(0x48d)]['get'](_0x49d215)[_0x262bd6(0x4d0)](_0x8e8ac5['id'],{'unitId':_0x9def51,'subUnitId':_0x433dcd,'selections':_0x527a9f});}}};Xe=fr([ut(0x0,_0x708a43(_0x262acb)),ut(0x1,_0x144409),ut(0x2,_0x3c6560)],Xe);const it=_0xd8fa3(_0xdb88e7(0x27b));var Ws=(_0x1e307b=>(_0x1e307b[_0x1e307b[_0xdb88e7(0x45c)]=0x0]=_0xdb88e7(0x45c),_0x1e307b[_0x1e307b['OTHER_CLIENTS_EDITING']=0x1]=_0xdb88e7(0x318),_0x1e307b))(Ws||{});const _s=0x7530,us='ACTIVE_UNIT_EVENT_CHANNEL';class Sr extends _0x53fecf{constructor(){const _0x1a62b5=_0xdb88e7;super(),l(this,_0x1a62b5(0x20f),_0x11b4bd[_0x1a62b5(0x2da)]()),l(this,_0x1a62b5(0x338),new Set()),l(this,'_unitOnClients',new Map()),l(this,_0x1a62b5(0x3b8),null),l(this,_0x1a62b5(0x366),new Map()),l(this,_0x1a62b5(0x3be),new Map()),this[_0x1a62b5(0x454)]();}['dispose'](){const _0x42ac50=_0xdb88e7;super[_0x42ac50(0x50f)](),this[_0x42ac50(0x366)][_0x42ac50(0x25a)]((_0x1bd452,_0x280b04)=>this['_removeClearOtherTimer'](_0x280b04)),this[_0x42ac50(0x3b8)]&&window[_0x42ac50(0x1f2)](this[_0x42ac50(0x3b8)]);}['getUnitStatus$'](_0x2adf78){const _0xb2a2a6=_0xdb88e7;return this[_0xb2a2a6(0x206)](_0x2adf78)['pipe'](_0xd3230f());}[_0xdb88e7(0x450)](_0x22c3f8){const _0x2d9621=_0xdb88e7;this['_selfUnitIDs'][_0x2d9621(0x20b)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2d9621(0x338)][_0x2d9621(0x44c)](_0x22c3f8),this[_0x2d9621(0x496)]({'type':0x0,'memberID':this[_0x2d9621(0x20f)],'unitIDs':[_0x22c3f8],'isForwarded':!0x1});}['disposeUnit'](_0x4c33e0){const _0x3b532a=_0xdb88e7;this[_0x3b532a(0x338)][_0x3b532a(0x410)](_0x4c33e0),this[_0x3b532a(0x338)]['size']===0x0&&this[_0x3b532a(0x3b8)]&&window['clearInterval'](this[_0x3b532a(0x3b8)]);}['_init'](){const _0xa97a5d=_0xdb88e7;this[_0xa97a5d(0x3fb)](_0x5a30f8(_0x559a32(window,'storage')[_0xa97a5d(0x427)](_0x5c8990=>{const _0x4ebba7=_0xa97a5d;if(_0x5c8990[_0x4ebba7(0x29f)]!==us||!_0x5c8990['newValue'])return;const _0x531f99=JSON[_0x4ebba7(0x3c7)](_0x5c8990['newValue']);this[_0x4ebba7(0x363)](_0x531f99);}))),window['addEventListener']('unload',()=>this[_0xa97a5d(0x496)]({'type':0x1,'memberID':this[_0xa97a5d(0x20f)],'unitIDs':Array[_0xa97a5d(0x328)](this[_0xa97a5d(0x338)])}));}[_0xdb88e7(0x363)](_0x587c55){const _0x365566=_0xdb88e7;switch(_0x587c55[_0x365566(0x4b9)]){case 0x0:this[_0x365566(0x339)](_0x587c55);break;case 0x1:this[_0x365566(0x26c)](_0x587c55);break;case 0x2:this[_0x365566(0x3c0)](_0x587c55);break;}}[_0xdb88e7(0x339)](_0x3d4762){const _0x5cbac0=_0xdb88e7,{unitIDs:_0x45e6ed,memberID:_0x4847c1,isForwarded:_0x4dc555}=_0x3d4762;_0x45e6ed['forEach'](_0x45daa2=>{const _0x5d574d=_0xf7c7;if(!_0x4dc555&&this['_unitOnClients']['has'](_0x45daa2)&&this[_0x5d574d(0x206)](_0x45daa2)[_0x5d574d(0x48e)](0x1),!this['_unitOnClients'][_0x5d574d(0x302)](_0x45daa2)||!this[_0x5d574d(0x264)]['get'](_0x45daa2)[_0x5d574d(0x302)](_0x4847c1)){const _0x521062=this[_0x5d574d(0x264)]['get'](_0x45daa2)||new Set();_0x521062['add'](_0x4847c1),this[_0x5d574d(0x264)][_0x5d574d(0x512)](_0x45daa2,_0x521062),this[_0x5d574d(0x484)](_0x4847c1);}}),_0x4dc555||this[_0x5cbac0(0x496)]({'type':0x0,'memberID':this[_0x5cbac0(0x20f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5b14c7){const _0x4edd45=_0xdb88e7;this[_0x4edd45(0x398)](_0x5b14c7);const _0x45dfbf=window[_0x4edd45(0x227)](()=>{const _0x310892=_0x4edd45;this[_0x310892(0x264)][_0x310892(0x25a)](_0x29fe80=>{const _0x3ae21d=_0x310892;_0x29fe80[_0x3ae21d(0x410)](_0x5b14c7);});},_s*0x2);this[_0x4edd45(0x366)][_0x4edd45(0x512)](_0x5b14c7,_0x45dfbf);}['_removeClearOtherTimer'](_0xe26f56){const _0x39af7e=_0xdb88e7;if(this[_0x39af7e(0x366)]['has'](_0xe26f56)){const _0x2cdde2=this[_0x39af7e(0x366)]['get'](_0xe26f56);_0x2cdde2&&window[_0x39af7e(0x3d9)](_0x2cdde2),this[_0x39af7e(0x366)][_0x39af7e(0x512)](_0xe26f56,null);}}[_0xdb88e7(0x26c)](_0x1f28fc){const _0x514112=_0xdb88e7,{memberID:_0x29917b,unitIDs:_0x23dc35}=_0x1f28fc;_0x23dc35[_0x514112(0x25a)](_0x3a3656=>{const _0x2b35ef=_0x514112;var _0x11b0f2;const _0x1012e0=this['_unitOnClients'][_0x2b35ef(0x2c9)](_0x3a3656);_0x1012e0&&(_0x1012e0[_0x2b35ef(0x410)](_0x29917b),(_0x11b0f2=this[_0x2b35ef(0x206)](_0x3a3656))==null||_0x11b0f2['next'](_0x1012e0[_0x2b35ef(0x20b)]===0x0?0x0:0x1));}),this[_0x514112(0x398)](_0x29917b);}[_0xdb88e7(0x3c0)](_0x428475){const _0x1854aa=_0xdb88e7;this[_0x1854aa(0x484)](_0x428475[_0x1854aa(0x503)]);}['_send'](_0x53009e){const _0x171036=_0xdb88e7;localStorage[_0x171036(0x2e5)](us,JSON[_0x171036(0x2c1)](_0x53009e));}['_scheduleHeartbeat'](){const _0x45f098=_0xdb88e7;this[_0x45f098(0x3b8)]=window['setInterval'](()=>{const _0x1ceda6=_0x45f098;this[_0x1ceda6(0x496)]({'type':0x2,'memberID':this[_0x1ceda6(0x20f)]});},_s);}[_0xdb88e7(0x206)](_0x3d60b7){const _0x5e9647=_0xdb88e7;return this['_unitStatus']['has'](_0x3d60b7)||this[_0x5e9647(0x3be)][_0x5e9647(0x512)](_0x3d60b7,new _0x4786ab(0x0)),this[_0x5e9647(0x3be)]['get'](_0x3d60b7);}}function Gs(_0x386cf5){const _0x461f6f=_0xdb88e7;let _0x1fa070='';for(const _0x53c03d of _0x386cf5){const {startOffset:_0x261526,endOffset:_0x4a4f79,isActive:_0x5abc21,rangeType:_0x598931,segmentId:_0x1fb179,segmentPage:_0x380c52}=_0x53c03d;_0x1fa070[_0x461f6f(0x530)]&&(_0x1fa070+=','),_0x1fa070+=_0x261526+':'+_0x4a4f79+':'+(_0x5abc21?'1':'0')+':'+_0x598931+':'+_0x1fb179+':'+_0x380c52;}return _0x1fa070;}function pr(_0x127737){const _0x3dde82=_0xdb88e7,_0xcb007d=_0x127737['split'](','),_0x4f002a=[];for(const _0x2e4e31 of _0xcb007d){const [_0xf3f24a,_0x333022,_0x14a8a1,_0x261335,_0x53c9f0,_0x3d073c]=_0x2e4e31[_0x3dde82(0x3b7)](':');_0x4f002a[_0x3dde82(0x393)]({'startOffset':Number(_0xf3f24a),'endOffset':Number(_0x333022),'collapsed':_0xf3f24a===_0x333022,'isActive':_0x14a8a1==='1','rangeType':_0x261335===_0x218c39[_0x3dde82(0x49d)]?_0x218c39[_0x3dde82(0x49d)]:_0x218c39[_0x3dde82(0x348)],'segmentId':typeof _0x53c9f0==_0x3dde82(0x33e)?String(_0x53c9f0):'','segmentPage':Number(_0x3d073c!=null?_0x3d073c:-0x1)});}return _0x4f002a['some'](_0x1f184a=>_0x1f184a[_0x3dde82(0x2f4)])||(_0x4f002a[0x0][_0x3dde82(0x2f4)]=!0x0),_0x4f002a;}class Gt extends _0x390154{constructor(){const _0x2e62ac=_0xdb88e7;super(...arguments),l(this,_0x2e62ac(0x380),new _0x4786ab(null)),l(this,_0x2e62ac(0x3cf),this[_0x2e62ac(0x380)][_0x2e62ac(0x4a1)]());}[_0xdb88e7(0x24b)](_0x29242b){const _0x5e984b=_0xdb88e7,{unitID:_0x55757f,memberID:_0x44fb2e,textRanges:_0x1c0006}=_0x29242b,_0x30bafa=Gs(_0x1c0006);if(_0x30bafa==='')return;const _0x3343eb={'unitID':_0x55757f,'memberID':_0x44fb2e,'selection':_0x30bafa};this[_0x5e984b(0x380)][_0x5e984b(0x48e)](_0x3343eb);}}var vr=Object[_0xdb88e7(0x396)],Ir=Object[_0xdb88e7(0x429)],Er=(_0x5dc9f2,_0x323d98,_0x16b710,_0x2ec2f4)=>{const _0x3d86c3=_0xdb88e7;for(var _0x458635=_0x2ec2f4>0x1?void 0x0:_0x2ec2f4?Ir(_0x323d98,_0x16b710):_0x323d98,_0x52a92c=_0x5dc9f2[_0x3d86c3(0x530)]-0x1,_0x487883;_0x52a92c>=0x0;_0x52a92c--)(_0x487883=_0x5dc9f2[_0x52a92c])&&(_0x458635=(_0x2ec2f4?_0x487883(_0x323d98,_0x16b710,_0x458635):_0x487883(_0x458635))||_0x458635);return _0x2ec2f4&&_0x458635&&vr(_0x323d98,_0x16b710,_0x458635),_0x458635;},ds=(_0x541dca,_0x1408e1)=>(_0x66aaa,_0x2178f2)=>_0x1408e1(_0x66aaa,_0x2178f2,_0x541dca);let qe=class{constructor(_0x3c093e,_0x1ade9d){const _0x333e8f=_0xdb88e7;this[_0x333e8f(0x48d)]=_0x3c093e,this[_0x333e8f(0x225)]=_0x1ade9d;}[_0xdb88e7(0x23f)](_0x41acd7){const _0x17b885=_0xdb88e7;var _0x51f600;const _0x37703e=this[_0x17b885(0x48d)]['get'](_0x527b6c),_0x5f212d=(_0x51f600=_0x37703e[_0x17b885(0x4f4)]())!=null?_0x51f600:[];if(_0x5f212d[_0x17b885(0x530)]===0x0)return;const _0x11ffac=[{'id':_0x17b885(0x531),'params':{'unitId':_0x41acd7[_0x17b885(0x209)],'actions':null,'textRanges':_0x5f212d}}],_0x3d799b=this[_0x17b885(0x225)][_0x17b885(0x46b)](_0x41acd7,_0x11ffac);if(!_0x5ed378(_0x3d799b))throw _0x3d799b[_0x17b885(0x528)];const _0xdf0546=_0x3d799b['m2Prime'][0x0][_0x17b885(0x2a3)][_0x17b885(0x364)];Array['isArray'](_0xdf0546)&&_0xdf0546['length']&&_0x37703e[_0x17b885(0x420)](_0xdf0546,!0x1);}};function _0xf7c7(_0x3f4b90,_0x46aa69){const _0x55a046=_0x55a0();return _0xf7c7=function(_0xf7c756,_0x51340f){_0xf7c756=_0xf7c756-0x1e2;let _0x90a262=_0x55a046[_0xf7c756];return _0x90a262;},_0xf7c7(_0x3f4b90,_0x46aa69);}qe=Er([ds(0x0,_0x708a43(_0x262acb)),ds(0x1,_0x144409)],qe);const Cr=new Set([_0x4801f2['id']]);function ms(_0x3241ec,_0x5d0672,_0x4c4264,_0x459e25,_0x16f305){const _0x2a8170=_0xdb88e7;var _0x192709,_0x198cd3,_0x2a6ff2,_0x3e8fa6;const _0x3737fc=[];for(const _0x1781b7 of _0x3241ec)if(Cr[_0x2a8170(0x302)](_0x1781b7['id'])){if(_0x3737fc[_0x2a8170(0x530)]>0x0)break;_0x3737fc[_0x2a8170(0x393)](_0x1781b7);break;}else _0x3737fc['push'](_0x1781b7);const _0x2b0238=(_0x198cd3=(_0x192709=_0x16f305[_0x2a8170(0x224)]())==null?void 0x0:_0x192709[_0x2a8170(0x29e)])!=null?_0x198cd3:_0x2a8170(0x276),_0x3da64f=(_0x3e8fa6=(_0x2a6ff2=_0x16f305[_0x2a8170(0x224)]())==null?void 0x0:_0x2a6ff2[_0x2a8170(0x503)])!=null?_0x3e8fa6:_0x2a8170(0x276);return{'changeset':{'unitID':_0x5d0672,'type':_0x5d96eb(_0x4c4264[_0x2a8170(0x353)](_0x5d0672)),'baseRev':_0x459e25[_0x2a8170(0x284)](_0x5d0672),'revision':0x0,'userID':_0x2b0238,'memberID':_0x3da64f,'mutations':_0x3737fc},'pendingMutations':_0x3241ec[_0x2a8170(0x55b)](_0x3737fc[_0x2a8170(0x530)])};}function br(_0xa5aa6a,_0x46ad04,_0x521c31,_0x4c628e,_0x1a1c5b){const _0x191d69=_0xdb88e7;var _0x16a89d,_0x5485c7,_0x40fbea,_0x4849ac;const _0x1d704c=[_0xa5aa6a[_0x191d69(0x436)]((_0x3a65c0,_0x5d0392)=>{const _0x30d5b9=_0x191d69;var _0x8e019c;const {id:_0x1e6d1b}=_0x3a65c0,{id:_0x1c6469,type:_0x91b5b5}=_0x5d0392,_0x1f07d9=(_0x8e019c=_0x3a65c0['params'])!=null?_0x8e019c:{'actions':null},_0x552558=_0x5d0392[_0x30d5b9(0x2a3)];if(_0x1e6d1b&&_0x1e6d1b!==_0x1c6469)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1e6d1b+_0x30d5b9(0x4a6)+_0x1c6469+'.');return{..._0x3a65c0,'id':_0x1c6469,'type':_0x91b5b5,'params':{'unitId':_0x552558[_0x30d5b9(0x2ab)],'textRanges':_0x552558[_0x30d5b9(0x364)],'actions':_0x121de6[_0x30d5b9(0x2ad)](_0x1f07d9[_0x30d5b9(0x293)],_0x552558[_0x30d5b9(0x293)])}};},{})],_0x4584be=(_0x5485c7=(_0x16a89d=_0x1a1c5b[_0x191d69(0x224)]())==null?void 0x0:_0x16a89d['userID'])!=null?_0x5485c7:_0x191d69(0x276),_0x258531=(_0x4849ac=(_0x40fbea=_0x1a1c5b[_0x191d69(0x224)]())==null?void 0x0:_0x40fbea[_0x191d69(0x503)])!=null?_0x4849ac:'unknown';return{'changeset':{'unitID':_0x46ad04,'type':_0x5d96eb(_0x521c31['getUnitType'](_0x46ad04)),'baseRev':_0x4c628e[_0x191d69(0x284)](_0x46ad04),'revision':0x0,'userID':_0x4584be,'memberID':_0x258531,'mutations':_0x1d704c},'pendingMutations':[]};}function Ys(_0xf33b84,_0x1ef30d){const _0x2f276a=_0xdb88e7,_0x3a7d1f=new _0x4c58c4(0x1);return setTimeout(()=>_0x3a7d1f[_0x2f276a(0x48e)](_0x1ef30d),_0xf33b84),_0x3a7d1f['asObservable']()[_0x2f276a(0x279)](_0x2bb389(0x1));}const Tr={'id':_0x8a5fbb['id'],'type':_0x447d57[_0xdb88e7(0x294)],'params':{}};var Rr=Object[_0xdb88e7(0x396)],Or=Object['getOwnPropertyDescriptor'],me=(_0x2813d4,_0x56b4bb,_0x2354ba,_0x42c9ac)=>{const _0x20c4fb=_0xdb88e7;for(var _0x507ac2=_0x42c9ac>0x1?void 0x0:_0x42c9ac?Or(_0x56b4bb,_0x2354ba):_0x56b4bb,_0x5e3b0d=_0x2813d4[_0x20c4fb(0x530)]-0x1,_0xdebbeb;_0x5e3b0d>=0x0;_0x5e3b0d--)(_0xdebbeb=_0x2813d4[_0x5e3b0d])&&(_0x507ac2=(_0x42c9ac?_0xdebbeb(_0x56b4bb,_0x2354ba,_0x507ac2):_0xdebbeb(_0x507ac2))||_0x507ac2);return _0x42c9ac&&_0x507ac2&&Rr(_0x56b4bb,_0x2354ba,_0x507ac2),_0x507ac2;},f=(_0x3182dd,_0x360d89)=>(_0x31693a,_0x15cdc4)=>_0x360d89(_0x31693a,_0x15cdc4,_0x3182dd),w=(_0x25fa31=>(_0x25fa31[_0xdb88e7(0x466)]=_0xdb88e7(0x1ff),_0x25fa31[_0xdb88e7(0x1f5)]=_0xdb88e7(0x4a2),_0x25fa31['PENDING']='pending',_0x25fa31[_0xdb88e7(0x520)]='awaiting',_0x25fa31[_0xdb88e7(0x28d)]=_0xdb88e7(0x265),_0x25fa31['FETCH_MISS']=_0xdb88e7(0x43d),_0x25fa31[_0xdb88e7(0x53e)]='conflict',_0x25fa31[_0xdb88e7(0x526)]=_0xdb88e7(0x23c),_0x25fa31))(w||{});const Ks=0xea60;class fe{constructor(_0xc60dab,_0x299642,_0x5193c2,_0x151d54,_0x1ccfee,_0x141c60,_0x4acbb1,_0x1ce0fe,_0x39a50c){const _0x2e1e02=_0xdb88e7;l(this,_0x2e1e02(0x395),null),l(this,_0x2e1e02(0x2c0),[]),(this[_0x2e1e02(0x209)]=_0xc60dab,this[_0x2e1e02(0x4b9)]=_0x299642,this[_0x2e1e02(0x1e3)]=_0x1ccfee,this[_0x2e1e02(0x376)]=_0x141c60,this['_undoRedoService']=_0x4acbb1,this['_revisionService']=_0x1ce0fe,this[_0x2e1e02(0x258)]=_0x39a50c,this[_0x2e1e02(0x395)]=_0x5193c2,this[_0x2e1e02(0x2c0)]=_0x151d54);}['_checkMissing'](_0xb11925){const _0x6a5453=_0xdb88e7,_0x2691d1=this[_0x6a5453(0x37b)][_0x6a5453(0x284)](this[_0x6a5453(0x209)]);return _0xb11925[_0x6a5453(0x4e7)]>_0x2691d1+0x1?(this[_0x6a5453(0x1e3)]['onMissingChangesets']({'from':_0x2691d1,'to':_0xb11925[_0x6a5453(0x4e7)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x56b333){const _0x52360c=_0xdb88e7;this[_0x52360c(0x242)][_0x52360c(0x4ae)](this[_0x52360c(0x209)],_0x56b333);}[_0xdb88e7(0x47a)](_0x288c99){const _0x301702=_0xdb88e7;var _0x447ab2,_0x1c2058;(_0x1c2058=(_0x447ab2=this[_0x301702(0x1e3)])[_0x301702(0x3df)])==null||_0x1c2058['call'](_0x447ab2,_0x288c99);}[_0xdb88e7(0x232)](_0x2ebe85){const _0x3db113=_0xdb88e7;var _0x34384a,_0x54ab4e;return(_0x54ab4e=(_0x34384a=this[_0x3db113(0x1e3)])['onTransformIME'])==null?void 0x0:_0x54ab4e[_0x3db113(0x319)](_0x34384a,_0x2ebe85);}[_0xdb88e7(0x362)](_0x97e66e){const _0x1cca6f=_0xdb88e7;var _0x2bd9b2,_0x2f64e6,_0x3fc924;return(_0x3fc924=(_0x2f64e6=(_0x2bd9b2=this[_0x1cca6f(0x1e3)])[_0x1cca6f(0x270)])==null?void 0x0:_0x2f64e6[_0x1cca6f(0x319)](_0x2bd9b2,_0x97e66e))!=null?_0x3fc924:_0x97e66e;}[_0xdb88e7(0x21c)](_0x521b34){const _0x3eb224=_0xdb88e7;var _0x177c2,_0x41e4c8;if(this[_0x3eb224(0x4b9)]===B['UNIVER_DOC']){const {unitID:_0x1c54f5,mutations:_0x3347cd,memberID:_0x297ddd}=_0x521b34,_0x53e6fa=_0x3347cd[0x0][_0x3eb224(0x2a3)][_0x3eb224(0x364)];Array[_0x3eb224(0x248)](_0x53e6fa)&&_0x53e6fa[_0x3eb224(0x530)]>0x0&&((_0x41e4c8=(_0x177c2=this[_0x3eb224(0x1e3)])['onSyncEditingCollabCursor'])==null||_0x41e4c8[_0x3eb224(0x319)](_0x177c2,{'unitID':_0x1c54f5,'memberID':_0x297ddd,'textRanges':_0x53e6fa}));}}[_0xdb88e7(0x1fa)](){const _0x1f0c44=_0xdb88e7;this[_0x1f0c44(0x258)][_0x1f0c44(0x4e0)](this[_0x1f0c44(0x209)],this[_0x1f0c44(0x4b9)],this['_awaitingChangeset'],this[_0x1f0c44(0x2c0)]);}['_getCurrentRevision'](){const _0x35f319=_0xdb88e7;return this[_0x35f319(0x37b)]['getCurrentRevOfUnit'](this['unitID']);}[_0xdb88e7(0x44b)](){const _0x1dd0e6=_0xdb88e7;this['_revisionService']['incrementRevOfUnit'](this[_0x1dd0e6(0x209)]);}[_0xdb88e7(0x547)](_0x1c38ff){const _0xb253da=_0xdb88e7;var _0x56d1b7;const _0x576b20=this[_0xb253da(0x362)](_0x1c38ff),_0x54d24e=_0x2149a7(_0x576b20[_0xb253da(0x299)],this['_commandService'],{'fromCollab':!0x0});if(!_0x54d24e[_0xb253da(0x4f1)])throw _0x54d24e['error']instanceof Error?_0x54d24e[_0xb253da(0x528)]:new Error((_0x56d1b7=_0x54d24e['error'])!=null?_0x56d1b7:'[CollaborationState]:\x20apply\x20error!');this[_0xb253da(0x232)](_0x576b20),this[_0xb253da(0x333)](_0x1c38ff),this[_0xb253da(0x47a)](_0x576b20),this['_syncEditingCollabCursor'](_0x576b20),this[_0xb253da(0x44b)]();}}let Ee=class extends fe{constructor(_0x15a76b,_0x476dec,_0x4f2f9b,_0x1fd875,_0x26247a,_0x33d028,_0x262b06,_0x1907e5,_0x5ecf16,_0x1fa57e){const _0x3efbdc=_0xdb88e7;super(_0x15a76b,_0x476dec,null,[],_0x4f2f9b,_0x1907e5,_0x262b06,_0x1fd875,_0x26247a),l(this,_0x3efbdc(0x247),_0x3efbdc(0x4a2)),(this['_injector']=_0x33d028,this['_logService']=_0x5ecf16,this['_transformService']=_0x1fa57e);}['appendMutation'](_0x1a632b){const _0x2c608f=_0xdb88e7,_0x514cca=this[_0x2c608f(0x48d)][_0x2c608f(0x2bc)](J,this[_0x2c608f(0x209)],this[_0x2c608f(0x4b9)],[_0x1a632b],this[_0x2c608f(0x1e3)]);return _0x514cca[_0x2c608f(0x211)](),_0x514cca['_updateLocalCache'](),_0x514cca;}[_0xdb88e7(0x4da)](_0x14a7c5){const _0x1ea652=_0xdb88e7;if(this[_0x1ea652(0x457)](_0x14a7c5))return this[_0x1ea652(0x48d)]['createInstance'](V,this[_0x1ea652(0x209)],this[_0x1ea652(0x4b9)],null,[],null,[_0x14a7c5],this['_handler']);try{const _0x21df8f=this[_0x1ea652(0x225)][_0x1ea652(0x46b)](_0x14a7c5,[Tr]);if(_0x5ed378(_0x21df8f)){const {c1Prime:_0xdfe6ec}=_0x21df8f;return this[_0x1ea652(0x547)](_0xdfe6ec),this;}throw _0x21df8f[_0x1ea652(0x528)];}catch(_0x4c20e2){return this[_0x1ea652(0x3da)]['error'](_0x4c20e2),this[_0x1ea652(0x28f)](!0x1);}}[_0xdb88e7(0x28f)](_0x96fbda){const _0x51c6da=_0xdb88e7;return this[_0x51c6da(0x48d)][_0x51c6da(0x2bc)](te,this[_0x51c6da(0x209)],this[_0x51c6da(0x4b9)],null,[],this[_0x51c6da(0x1e3)],_0x96fbda);}[_0xdb88e7(0x21d)](){const _0x2d92a1=_0xdb88e7;throw new Error(_0x2d92a1(0x477));}[_0xdb88e7(0x3ea)](){const _0x5ae793=_0xdb88e7;throw new Error(_0x5ae793(0x47c));}[_0xdb88e7(0x411)](){return this;}[_0xdb88e7(0x2d7)](){const _0x3176a9=_0xdb88e7;return this[_0x3176a9(0x48d)][_0x3176a9(0x2bc)](se,this['unitID'],this[_0x3176a9(0x4b9)],null,[],this[_0x3176a9(0x1e3)]);}[_0xdb88e7(0x32d)](){return this;}['resend'](){const _0x4b988f=_0xdb88e7;throw new Error(_0x4b988f(0x44f));}[_0xdb88e7(0x358)](){const _0x39a8b1=_0xdb88e7,_0x45edb7=this['_revisionService'][_0x39a8b1(0x284)](this[_0x39a8b1(0x209)]);return this[_0x39a8b1(0x1e3)][_0x39a8b1(0x1f8)]({'from':_0x45edb7,'to':0x0}),this[_0x39a8b1(0x48d)][_0x39a8b1(0x2bc)](V,this[_0x39a8b1(0x209)],this[_0x39a8b1(0x4b9)],null,[],null,[],this[_0x39a8b1(0x1e3)]);}};Ee=me([f(0x3,_0x708a43(_0x12e3be)),f(0x4,_0x708a43(D)),f(0x5,_0x708a43(_0x262acb)),f(0x6,_0x36efc6),f(0x7,_0x49d215),f(0x8,_0x32f72e),f(0x9,_0x144409)],Ee);let J=class extends fe{constructor(_0x5d42e5,_0x372af7,_0x519c83,_0x230b41,_0x5ece52,_0x57ca5d,_0x48abde,_0x3fc3b1,_0x7ecebb,_0x2a4bf5,_0x3f08b5,_0x26ecb5,_0x2436b3,_0x1f3527){const _0x50691f=_0xdb88e7;super(_0x5d42e5,_0x372af7,null,_0x519c83,_0x230b41,_0x2a4bf5,_0x1f3527,_0x57ca5d,_0x48abde),l(this,'status',_0x50691f(0x2f7)),l(this,_0x50691f(0x55a),null),l(this,'_sendingTimer',null),(this[_0x50691f(0x48d)]=_0x5ece52,this[_0x50691f(0x492)]=_0x3fc3b1,this[_0x50691f(0x3da)]=_0x7ecebb,this[_0x50691f(0x287)]=_0x3f08b5,this[_0x50691f(0x225)]=_0x26ecb5,this[_0x50691f(0x372)]=_0x2436b3);}[_0xdb88e7(0x521)](_0x4cf889){const _0x21c23e=_0xdb88e7;return this[_0x21c23e(0x2c0)][_0x21c23e(0x393)](_0x4cf889),this[_0x21c23e(0x1fa)](),this;}['onRemoteChangeset'](_0x3cf984){const _0x5b1130=_0xdb88e7;if(this[_0x5b1130(0x457)](_0x3cf984))return this['_clearScheduledTask'](),this[_0x5b1130(0x48d)][_0x5b1130(0x2bc)](V,this[_0x5b1130(0x209)],this[_0x5b1130(0x4b9)],null,this[_0x5b1130(0x2c0)],null,[_0x3cf984],this[_0x5b1130(0x1e3)]);try{const _0x3afdc3=this[_0x5b1130(0x225)][_0x5b1130(0x46b)](_0x3cf984,this[_0x5b1130(0x2c0)]);if(_0x5ed378(_0x3afdc3)){const {c1Prime:_0x4462b5,m2Prime:_0xea693b}=_0x3afdc3;this[_0x5b1130(0x547)](_0x4462b5);const _0x1312ba=this[_0x5b1130(0x48d)][_0x5b1130(0x2bc)](J,this[_0x5b1130(0x209)],this[_0x5b1130(0x4b9)],_0xea693b,this['_handler']);return this[_0x5b1130(0x504)](),_0x1312ba[_0x5b1130(0x211)](this[_0x5b1130(0x55a)]?Math['max'](0x0,new Date()[_0x5b1130(0x45f)]()-this[_0x5b1130(0x55a)]):this[_0x5b1130(0x2d1)]()),_0x1312ba;}throw _0x3afdc3[_0x5b1130(0x528)];}catch(_0x220b1a){return this[_0x5b1130(0x3da)]['error'](_0x220b1a),this[_0x5b1130(0x28f)](!0x1);}}['onRemoteAck'](){const _0x4e338b=_0xdb88e7;throw new Error(_0x4e338b(0x382));}[_0xdb88e7(0x3ea)](){const _0x1d6d55=_0xdb88e7;throw new Error(_0x1d6d55(0x4d3));}[_0xdb88e7(0x411)](){return this;}[_0xdb88e7(0x2d7)](){const _0x3726b7=_0xdb88e7;return this[_0x3726b7(0x504)](),this[_0x3726b7(0x48d)][_0x3726b7(0x2bc)](se,this[_0x3726b7(0x209)],this[_0x3726b7(0x4b9)],null,this[_0x3726b7(0x2c0)],this[_0x3726b7(0x1e3)]);}[_0xdb88e7(0x32d)](){return this;}[_0xdb88e7(0x211)](_0x26e9eb){const _0x1661c6=_0xdb88e7,_0x5a3735=_0x26e9eb!=null?_0x26e9eb:this[_0x1661c6(0x2d1)]();this[_0x1661c6(0x55a)]=new Date()['getTime'](),this['_sendingTimer']=window[_0x1661c6(0x227)](()=>{const _0x22451b=_0x1661c6;this[_0x22451b(0x504)]();let _0x205281=null;switch(this[_0x22451b(0x4b9)]){case B[_0x22451b(0x240)]:{_0x205281=ms(this['_pendingMutations'],this[_0x22451b(0x209)],this[_0x22451b(0x372)],this[_0x22451b(0x37b)],this[_0x22451b(0x492)]);break;}case B[_0x22451b(0x2d8)]:{this[_0x22451b(0x2c0)][_0x22451b(0x219)](_0x325984=>_0x325984['id']===_0x4b30be['id'])?_0x205281=br(this[_0x22451b(0x2c0)],this[_0x22451b(0x209)],this['_univerInstanceService'],this[_0x22451b(0x37b)],this[_0x22451b(0x492)]):_0x205281=ms(this[_0x22451b(0x2c0)],this['unitID'],this[_0x22451b(0x372)],this[_0x22451b(0x37b)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x22451b(0x4b9)]+_0x22451b(0x383));}const {changeset:_0x4300fa,pendingMutations:_0x2a440a}=_0x205281;this[_0x22451b(0x1e3)][_0x22451b(0x52a)](_0x4300fa);const _0xf87f7c=_0x2a440a[_0x22451b(0x530)]?this[_0x22451b(0x48d)][_0x22451b(0x2bc)](z,this[_0x22451b(0x209)],this[_0x22451b(0x4b9)],_0x4300fa,_0x2a440a,this[_0x22451b(0x1e3)],void 0x0):this[_0x22451b(0x48d)]['createInstance'](ee,this[_0x22451b(0x209)],this[_0x22451b(0x4b9)],_0x4300fa,this['_handler']);_0xf87f7c[_0x22451b(0x1fa)](),this[_0x22451b(0x1e3)][_0x22451b(0x4c9)](this,_0xf87f7c);},_0x5a3735);}[_0xdb88e7(0x2d1)](){const _0x259bc3=_0xdb88e7;var _0xbe88e8;const _0x36fd6a=this[_0x259bc3(0x287)][_0x259bc3(0x4c2)](j);return(_0xbe88e8=_0x36fd6a==null?void 0x0:_0x36fd6a[_0x259bc3(0x46a)])!=null?_0xbe88e8:bn;}[_0xdb88e7(0x2b8)](){const _0xa7acf8=_0xdb88e7;throw new Error(_0xa7acf8(0x4ca));}['_clearScheduledTask'](){const _0x5c8746=_0xdb88e7;this[_0x5c8746(0x33b)]!=null&&(clearTimeout(this[_0x5c8746(0x33b)]),this[_0x5c8746(0x33b)]=null);}[_0xdb88e7(0x28f)](_0x16b9c1){const _0x306020=_0xdb88e7;return this[_0x306020(0x504)](),this[_0x306020(0x48d)][_0x306020(0x2bc)](te,this[_0x306020(0x209)],this[_0x306020(0x4b9)],null,this[_0x306020(0x2c0)],this[_0x306020(0x1e3)],_0x16b9c1);}};J=me([f(0x4,_0x708a43(_0x262acb)),f(0x5,_0x708a43(_0x12e3be)),f(0x6,_0x708a43(D)),f(0x7,_0x708a43(le)),f(0x8,_0x32f72e),f(0x9,_0x49d215),f(0xa,_0x3f3328),f(0xb,_0x144409),f(0xc,_0x3c6560),f(0xd,_0x36efc6)],J);let ee=class extends fe{constructor(_0x59acac,_0x39b2f4,_0x280099,_0x4b85ba,_0x2a9163,_0x337046,_0x365c97,_0x18a69c,_0x21942c,_0x3daa7d,_0xb3afa7){const _0x5df4ee=_0xdb88e7;super(_0x59acac,_0x39b2f4,_0x280099,[],_0x4b85ba,_0x18a69c,_0xb3afa7,_0x337046,_0x365c97),l(this,_0x5df4ee(0x247),_0x5df4ee(0x4e6)),l(this,_0x5df4ee(0x4f0),0x0),l(this,'_resendTimer'),l(this,'_sender'),(this[_0x5df4ee(0x48d)]=_0x2a9163,this[_0x5df4ee(0x3da)]=_0x21942c,this[_0x5df4ee(0x225)]=_0x3daa7d);}[_0xdb88e7(0x521)](_0x27bfb7){const _0x10434f=_0xdb88e7;this[_0x10434f(0x504)]();const _0x54e150=this['_injector']['createInstance'](z,this[_0x10434f(0x209)],this[_0x10434f(0x4b9)],this[_0x10434f(0x395)],[_0x27bfb7],this[_0x10434f(0x1e3)],this[_0x10434f(0x228)]);return _0x54e150['_updateLocalCache'](),_0x54e150;}['onRemoteChangeset'](_0x4965ec){const _0x380acc=_0xdb88e7;if(this[_0x380acc(0x457)](_0x4965ec))return this[_0x380acc(0x504)](),this[_0x380acc(0x48d)][_0x380acc(0x2bc)](V,this[_0x380acc(0x209)],this[_0x380acc(0x4b9)],this[_0x380acc(0x395)],[],null,[_0x4965ec],this['_handler']);try{const _0x38d4fa=this[_0x380acc(0x225)][_0x380acc(0x468)]([_0x4965ec],[this[_0x380acc(0x395)]],!0x1);if(_0x59f6a9(_0x38d4fa)){const {c1Prime:_0x13599d,c2Prime:_0x67cdb3}=_0x38d4fa;this[_0x380acc(0x547)](_0x13599d[0x0]),_0x67cdb3[0x0]['baseRev']=this[_0x380acc(0x2e0)](),this[_0x380acc(0x504)]();const _0x5a1b2c=this[_0x380acc(0x48d)][_0x380acc(0x2bc)](ee,this['unitID'],this[_0x380acc(0x4b9)],_0x67cdb3[0x0],this['_handler']);return _0x5a1b2c[_0x380acc(0x1fa)](),_0x5a1b2c;}return this[_0x380acc(0x28f)](!0x1);}catch(_0x53ae38){return this[_0x380acc(0x3da)]['error'](_0x53ae38),this['_onConflict'](!0x1);}}[_0xdb88e7(0x21d)](_0x4366c9){const _0x324c5b=_0xdb88e7;this[_0x324c5b(0x504)]();const _0x41fc6b=this[_0x324c5b(0x37b)]['getCurrentRevOfUnit'](this[_0x324c5b(0x209)]);if(_0x4366c9['revision']<_0x41fc6b-0x1)return this;if(this[_0x324c5b(0x457)](_0x4366c9))return this[_0x324c5b(0x48d)]['createInstance'](V,this[_0x324c5b(0x209)],this[_0x324c5b(0x4b9)],null,[],this[_0x324c5b(0x395)],[],this[_0x324c5b(0x1e3)]);this['_incrementRevisionNumber']();const _0x3bcfde=this[_0x324c5b(0x48d)][_0x324c5b(0x2bc)](Ee,this[_0x324c5b(0x209)],this[_0x324c5b(0x4b9)],this['_handler']);return _0x3bcfde[_0x324c5b(0x1fa)](),_0x3bcfde;}[_0xdb88e7(0x3ea)](_0x2aae9b){const _0x5b26c8=_0xdb88e7;return this[_0x5b26c8(0x28f)](!!(_0x2aae9b!=null&&_0x2aae9b[_0x5b26c8(0x20c)]));}[_0xdb88e7(0x411)](_0x427e14){const _0x4b3bbb=_0xdb88e7;return this[_0x4b3bbb(0x4f0)]>Ks?this[_0x4b3bbb(0x2d7)]():(this[_0x4b3bbb(0x228)]=Ys(this[_0x4b3bbb(0x4f0)],{'timeout':this[_0x4b3bbb(0x4f0)],'reqId':_0x427e14[_0x4b3bbb(0x447)]}),this[_0x4b3bbb(0x310)]=this[_0x4b3bbb(0x228)][_0x4b3bbb(0x427)](({reqId:_0x3c89df,timeout:_0x107238})=>{const _0x20d782=_0x4b3bbb;this[_0x20d782(0x335)](_0x3c89df,_0x107238);}),this);}[_0xdb88e7(0x2d7)](){const _0x3d8e92=_0xdb88e7;return this[_0x3d8e92(0x504)](),this[_0x3d8e92(0x48d)][_0x3d8e92(0x2bc)](se,this[_0x3d8e92(0x209)],this[_0x3d8e92(0x4b9)],this[_0x3d8e92(0x395)],[],this['_handler']);}[_0xdb88e7(0x32d)](){return this;}[_0xdb88e7(0x2b8)](){const _0x57bdaf=_0xdb88e7;this[_0x57bdaf(0x1e3)]['onSendChangeset'](this[_0x57bdaf(0x395)]);}[_0xdb88e7(0x28f)](_0x4635ee){const _0x5f0d8a=_0xdb88e7;return this[_0x5f0d8a(0x504)](),this[_0x5f0d8a(0x48d)][_0x5f0d8a(0x2bc)](te,this[_0x5f0d8a(0x209)],this[_0x5f0d8a(0x4b9)],this[_0x5f0d8a(0x395)],[],this[_0x5f0d8a(0x1e3)],_0x4635ee);}[_0xdb88e7(0x335)](_0x2ac640,_0x5c1ea3){const _0x461a19=_0xdb88e7;var _0x2dfe92;_0x2ac640===((_0x2dfe92=this['_awaitingChangeset'])==null?void 0x0:_0x2dfe92[_0x461a19(0x447)])&&(this['resend'](),this['_resendTimeout']=_0x5c1ea3===0x0?0x3e8:_0x5c1ea3*0x2);}[_0xdb88e7(0x504)](){const _0x6981cd=_0xdb88e7;var _0x1062bb;(_0x1062bb=this[_0x6981cd(0x310)])==null||_0x1062bb[_0x6981cd(0x3c3)](),this[_0x6981cd(0x4f0)]=0x0;}};ee=me([f(0x4,_0x708a43(_0x262acb)),f(0x5,_0x708a43(_0x12e3be)),f(0x6,_0x708a43(D)),f(0x7,_0x49d215),f(0x8,_0x32f72e),f(0x9,_0x144409),f(0xa,_0x36efc6)],ee);let z=class extends fe{constructor(_0x4702ef,_0x27d224,_0x413620,_0xed2d66,_0x3c8753,_0x53bada,_0x2f1673,_0x596322,_0x13c33f,_0x93f288,_0xe224ff,_0x5c5a01,_0x4b855d){const _0x46fafe=_0xdb88e7;super(_0x4702ef,_0x27d224,_0x413620,_0xed2d66,_0x3c8753,_0x93f288,_0x4b855d,_0x596322,_0x13c33f),l(this,_0x46fafe(0x247),_0x46fafe(0x265)),l(this,_0x46fafe(0x4f0),0x0),l(this,'_resendTimer'),l(this,'_sender'),(this[_0x46fafe(0x48d)]=_0x2f1673,this[_0x46fafe(0x3da)]=_0xe224ff,this['_transformService']=_0x5c5a01,_0x53bada&&(this[_0x46fafe(0x228)]=_0x53bada,this[_0x46fafe(0x310)]=this[_0x46fafe(0x228)][_0x46fafe(0x427)](({reqId:_0x2e282d,timeout:_0x3a2edc})=>{const _0xc99ac9=_0x46fafe;this[_0xc99ac9(0x335)](_0x2e282d,_0x3a2edc);})));}[_0xdb88e7(0x521)](_0x1c5617){const _0x40b2d3=_0xdb88e7;return this[_0x40b2d3(0x2c0)][_0x40b2d3(0x393)](_0x1c5617),this;}[_0xdb88e7(0x4da)](_0x2d3804){const _0x3ca488=_0xdb88e7;if(this[_0x3ca488(0x457)](_0x2d3804))return this[_0x3ca488(0x504)](),this['_injector'][_0x3ca488(0x2bc)](V,this['unitID'],this[_0x3ca488(0x4b9)],this[_0x3ca488(0x395)],this[_0x3ca488(0x2c0)],null,[_0x2d3804],this[_0x3ca488(0x1e3)]);try{const _0x22be03=this[_0x3ca488(0x225)][_0x3ca488(0x468)]([_0x2d3804],[this[_0x3ca488(0x395)]],!0x1);if(_0x59f6a9(_0x22be03)){const {c1Prime:_0x3bda8b,c2Prime:_0x27375f}=_0x22be03,_0x1d9ab6=this[_0x3ca488(0x225)][_0x3ca488(0x46b)](_0x3bda8b[0x0],this[_0x3ca488(0x2c0)]);if(_0x5ed378(_0x1d9ab6)){const {c1Prime:_0x56b956,m2Prime:_0x436544}=_0x1d9ab6;return this[_0x3ca488(0x547)](_0x56b956),_0x27375f[0x0]['baseRev']=this[_0x3ca488(0x2e0)](),this['_clearScheduledTask'](),this['_injector'][_0x3ca488(0x2bc)](z,this[_0x3ca488(0x209)],this[_0x3ca488(0x4b9)],_0x27375f[0x0],_0x436544,this[_0x3ca488(0x1e3)],void 0x0);}throw _0x1d9ab6[_0x3ca488(0x528)];}throw _0x22be03['error'];}catch(_0x55b655){return this[_0x3ca488(0x3da)][_0x3ca488(0x528)](_0x55b655),this[_0x3ca488(0x28f)](!0x1);}}[_0xdb88e7(0x21d)](_0x52a800){const _0x1ca4cd=_0xdb88e7;if(this['_clearScheduledTask'](),this[_0x1ca4cd(0x457)](_0x52a800))return this['_injector'][_0x1ca4cd(0x2bc)](V,this[_0x1ca4cd(0x209)],this[_0x1ca4cd(0x4b9)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this[_0x1ca4cd(0x44b)]();const _0x50258c=this[_0x1ca4cd(0x48d)]['createInstance'](J,this[_0x1ca4cd(0x209)],this['type'],this[_0x1ca4cd(0x2c0)],this[_0x1ca4cd(0x1e3)]);return _0x50258c[_0x1ca4cd(0x211)](),_0x50258c[_0x1ca4cd(0x1fa)](),_0x50258c;}[_0xdb88e7(0x3ea)](_0xf8132e){const _0xb3479c=_0xdb88e7;return this['_onConflict'](!!(_0xf8132e!=null&&_0xf8132e[_0xb3479c(0x20c)]));}[_0xdb88e7(0x411)](_0x31ec6b){const _0x2b4a75=_0xdb88e7;return this[_0x2b4a75(0x4f0)]>Ks?this[_0x2b4a75(0x2d7)]():(this[_0x2b4a75(0x228)]=Ys(this[_0x2b4a75(0x4f0)],{'timeout':this[_0x2b4a75(0x4f0)],'reqId':_0x31ec6b[_0x2b4a75(0x447)]}),this[_0x2b4a75(0x310)]=this[_0x2b4a75(0x228)][_0x2b4a75(0x427)](({reqId:_0x271582,timeout:_0x5d1541})=>{const _0x10c9d6=_0x2b4a75;this[_0x10c9d6(0x335)](_0x271582,_0x5d1541);}),this);}[_0xdb88e7(0x2d7)](){const _0x4e373f=_0xdb88e7;return this[_0x4e373f(0x504)](),this[_0x4e373f(0x48d)]['createInstance'](se,this[_0x4e373f(0x209)],this[_0x4e373f(0x4b9)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4e373f(0x1e3)]);}[_0xdb88e7(0x32d)](){return this;}[_0xdb88e7(0x2b8)](){const _0x2f6c8b=_0xdb88e7;this[_0x2f6c8b(0x1e3)]['onSendChangeset'](this[_0x2f6c8b(0x395)]);}[_0xdb88e7(0x28f)](_0x6270c){const _0x251037=_0xdb88e7;return this[_0x251037(0x504)](),this[_0x251037(0x48d)][_0x251037(0x2bc)](te,this[_0x251037(0x209)],this[_0x251037(0x4b9)],null,this[_0x251037(0x2c0)],this[_0x251037(0x1e3)],_0x6270c);}[_0xdb88e7(0x335)](_0x340d4f,_0x1cb5d4){const _0x324ce9=_0xdb88e7;var _0x3c6f39;_0x340d4f===((_0x3c6f39=this[_0x324ce9(0x395)])==null?void 0x0:_0x3c6f39[_0x324ce9(0x447)])&&(this[_0x324ce9(0x2b8)](),this[_0x324ce9(0x4f0)]=_0x1cb5d4===0x0?0x3e8:_0x1cb5d4*0x2);}[_0xdb88e7(0x504)](){const _0x679517=_0xdb88e7;var _0x3f191a;(_0x3f191a=this[_0x679517(0x310)])==null||_0x3f191a[_0x679517(0x3c3)](),this[_0x679517(0x4f0)]=0x0;}};z=me([f(0x6,_0x708a43(_0x262acb)),f(0x7,_0x708a43(_0x12e3be)),f(0x8,_0x708a43(D)),f(0x9,_0x49d215),f(0xa,_0x32f72e),f(0xb,_0x144409),f(0xc,_0x36efc6)],z);let te=class extends fe{constructor(_0x29b45a,_0x20cb4e,_0x341c11,_0x433e2e,_0x237184,_0x461bb5=!0x1,_0xd35dd2,_0x4193a5,_0x5c3d16,_0x2229bf,_0x549993,_0x327136,_0x2b3e08){const _0x4fd7e4=_0xdb88e7;super(_0x29b45a,_0x20cb4e,_0x341c11,_0x433e2e,_0x237184,_0x4193a5,_0x5c3d16,_0x549993,_0x2229bf),l(this,_0x4fd7e4(0x247),'conflict'),(this[_0x4fd7e4(0x4b3)]=_0x461bb5,this[_0x4fd7e4(0x4ad)]=_0xd35dd2,this[_0x4fd7e4(0x280)]=_0x327136,this[_0x4fd7e4(0x514)]=_0x2b3e08,this[_0x4fd7e4(0x360)](),this[_0x4fd7e4(0x4f5)](),this[_0x4fd7e4(0x2bb)]());}[_0xdb88e7(0x521)](){return this;}['onRemoteChangeset'](){return this;}[_0xdb88e7(0x21d)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0xdb88e7(0x2d7)](){return this;}['toggleOnline'](){return this;}[_0xdb88e7(0x2b8)](){const _0x5c83cb=_0xdb88e7;throw new Error(_0x5c83cb(0x314));}['_clearLocalCache'](){const _0x14bf53=_0xdb88e7;this[_0x14bf53(0x258)]['updateOfflineData'](this['unitID'],this[_0x14bf53(0x4b9)],null,[]);}[_0xdb88e7(0x360)](){const _0x1e22fc=_0xdb88e7;this[_0x1e22fc(0x4b3)]?this[_0x1e22fc(0x514)][_0x1e22fc(0x32b)]({'title':this[_0x1e22fc(0x280)]['t'](_0x1e22fc(0x239)),'content':this[_0x1e22fc(0x280)]['t'](_0x1e22fc(0x52b)),'type':_0x1e22fc(0x528),'duration':0x0}):this['_notificationService'][_0x1e22fc(0x32b)]({'title':this['_localeService']['t']('conflict.title'),'content':this['_localeService']['t'](_0x1e22fc(0x440)),'type':_0x1e22fc(0x528),'duration':0x0});}[_0xdb88e7(0x2bb)](){const _0x43cad9=_0xdb88e7;this[_0x43cad9(0x4ad)][_0x43cad9(0x422)](new _0x2bf602(this[_0x43cad9(0x209)])['id'],!0x1);}};te=me([f(0x6,_0x708a43(_0x53b55e)),f(0x7,_0x49d215),f(0x8,_0x36efc6),f(0x9,_0x708a43(D)),f(0xa,_0x708a43(_0x12e3be)),f(0xb,_0x708a43(_0x1cea44)),f(0xc,_0x337b59)],te);let se=class extends fe{constructor(_0x4ec665,_0xfafefb,_0x5349e9,_0x248af4,_0x1cf5a3,_0x2e945b,_0x44baef,_0x2e5e32,_0x30fff9,_0x31e04e){const _0x1102c5=_0xdb88e7;super(_0x4ec665,_0xfafefb,_0x5349e9,_0x248af4,_0x1cf5a3,_0x30fff9,_0x31e04e,_0x44baef,_0x2e5e32),l(this,_0x1102c5(0x247),_0x1102c5(0x23c)),this[_0x1102c5(0x48d)]=_0x2e945b;}[_0xdb88e7(0x521)](_0x340b8e){const _0x16f2ff=_0xdb88e7;return this['_pendingMutations'][_0x16f2ff(0x393)](_0x340b8e),this[_0x16f2ff(0x1fa)](),this;}[_0xdb88e7(0x4da)](_0x656b5b){const _0x224333=_0xdb88e7;throw new Error(_0x224333(0x205));}[_0xdb88e7(0x21d)](){const _0x583943=_0xdb88e7;throw new Error(_0x583943(0x491));}[_0xdb88e7(0x3ea)](){const _0x5e2dad=_0xdb88e7;throw new Error(_0x5e2dad(0x3de));}[_0xdb88e7(0x411)](){return this;}[_0xdb88e7(0x2d7)](){return this;}[_0xdb88e7(0x32d)](){const _0x1e2ee9=_0xdb88e7,{_injector:_0x580b1e,_pendingMutations:_0x49e057,_awaitingChangeset:_0x2c9efc,unitID:_0x432527,_handler:_0xf44476,type:_0x4776ca}=this,_0x56b9d3=Xs(_0x580b1e,_0x432527,_0x4776ca,_0x2c9efc,_0x49e057,_0xf44476);return _0x56b9d3 instanceof J?_0x56b9d3[_0x1e2ee9(0x211)]():(_0x56b9d3 instanceof z||_0x56b9d3 instanceof ee)&&_0x56b9d3[_0x1e2ee9(0x2b8)](),_0x56b9d3;}[_0xdb88e7(0x2b8)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};se=me([f(0x5,_0x708a43(_0x262acb)),f(0x6,_0x708a43(_0x12e3be)),f(0x7,_0x708a43(D)),f(0x8,_0x49d215),f(0x9,_0x36efc6)],se);let V=class extends fe{constructor(_0x56e199,_0x4b61ca,_0x31f88f,_0xb108bd,_0x4dfe88,_0x117335,_0x5ed829,_0x4d30a5,_0xbfe51,_0x577183,_0x20e932,_0x204adc,_0x1eba48,_0x3f6f72){const _0x143e19=_0xdb88e7;super(_0x56e199,_0x4b61ca,_0x31f88f,_0xb108bd,_0x5ed829,_0x204adc,_0x1eba48,_0xbfe51,_0x577183),l(this,_0x143e19(0x247),_0x143e19(0x43d)),(this[_0x143e19(0x534)]=_0x4dfe88,this[_0x143e19(0x367)]=_0x117335,this['_injector']=_0x4d30a5,this[_0x143e19(0x3da)]=_0x20e932,this[_0x143e19(0x225)]=_0x3f6f72);}[_0xdb88e7(0x28a)](_0x43b66f){const _0x365413=_0xdb88e7;try{const _0xe663f8=[..._0x43b66f,...this[_0x365413(0x367)]],_0x5cfb57=[this[_0x365413(0x395)]||this[_0x365413(0x534)]]['filter'](_0x3ccafa=>!!_0x3ccafa);let _0x34c75d,_0x5bcbac;if(_0x5cfb57[_0x365413(0x530)]){const _0x1d475a=this[_0x365413(0x225)][_0x365413(0x468)](_0xe663f8,_0x5cfb57,!0x1);if(!_0x59f6a9(_0x1d475a))throw _0x1d475a['error'];_0x34c75d=_0x1d475a[_0x365413(0x350)],_0x5bcbac=_0x1d475a['c2Prime'];}else _0x34c75d=_0xe663f8,_0x5bcbac=[];let _0x2b1e05=this[_0x365413(0x2c0)];_0x34c75d['forEach'](_0x2b546d=>{const _0x262c1b=_0x365413;let _0x63ce6c;if(_0x2b1e05[_0x262c1b(0x530)]){const _0x27c9bb=this[_0x262c1b(0x225)][_0x262c1b(0x46b)](_0x2b546d,_0x2b1e05);if(!_0x5ed378(_0x27c9bb))throw _0x27c9bb['error'];_0x63ce6c=_0x27c9bb[_0x262c1b(0x350)],_0x2b1e05=_0x27c9bb[_0x262c1b(0x1eb)];}else _0x63ce6c=_0x2b546d;this[_0x262c1b(0x547)](_0x63ce6c);}),this[_0x365413(0x534)]&&this[_0x365413(0x44b)](),this[_0x365413(0x395)]&&_0x5bcbac[_0x365413(0x530)]&&(_0x5bcbac[0x0][_0x365413(0x2c4)]=this[_0x365413(0x2e0)]());let _0x37958a;if(this[_0x365413(0x395)]&&_0x2b1e05[_0x365413(0x530)]!==0x0)_0x37958a=this[_0x365413(0x48d)]['createInstance'](z,this[_0x365413(0x209)],this[_0x365413(0x4b9)],_0x5bcbac[0x0],_0x2b1e05,this[_0x365413(0x1e3)],void 0x0);else{if(this[_0x365413(0x395)]&&_0x2b1e05[_0x365413(0x530)]===0x0)_0x5bcbac[0x0][_0x365413(0x2c4)]=this['_getCurrentRevision'](),_0x37958a=this[_0x365413(0x48d)][_0x365413(0x2bc)](ee,this[_0x365413(0x209)],this[_0x365413(0x4b9)],_0x5bcbac[0x0],this[_0x365413(0x1e3)]);else{if(_0x2b1e05[_0x365413(0x530)]!==0x0){const _0x2b6db3=this[_0x365413(0x48d)][_0x365413(0x2bc)](J,this[_0x365413(0x209)],this[_0x365413(0x4b9)],_0x2b1e05,this[_0x365413(0x1e3)]);_0x2b6db3[_0x365413(0x211)](),_0x37958a=_0x2b6db3;}else _0x37958a=this[_0x365413(0x48d)][_0x365413(0x2bc)](Ee,this[_0x365413(0x209)],this[_0x365413(0x4b9)],this[_0x365413(0x1e3)]);}}return _0x37958a[_0x365413(0x1fa)](),_0x37958a;}catch(_0x433df8){return this[_0x365413(0x3da)]['error'](_0x365413(0x446),_0x365413(0x2b5),_0x433df8),this['_injector'][_0x365413(0x2bc)](te,this[_0x365413(0x209)],this[_0x365413(0x4b9)],this[_0x365413(0x395)],this[_0x365413(0x2c0)],this[_0x365413(0x1e3)],!0x1);}}['resend'](){const _0x4103c6=_0xdb88e7;throw new Error(_0x4103c6(0x55c));}[_0xdb88e7(0x521)](_0x29b2f1){const _0x365cdf=_0xdb88e7;return this[_0x365cdf(0x2c0)][_0x365cdf(0x393)](_0x29b2f1),this;}['onRemoteChangeset'](_0x1a3b04){const _0x5cf5ef=_0xdb88e7;return this[_0x5cf5ef(0x367)][_0x5cf5ef(0x393)](_0x1a3b04),this;}[_0xdb88e7(0x21d)](_0x5a5566){const _0x329189=_0xdb88e7;if(this[_0x329189(0x395)])return this[_0x329189(0x534)]=this[_0x329189(0x395)],this[_0x329189(0x395)]=null,this;throw new Error(_0x329189(0x48c));}['onRemoteRej'](_0x26c357){const _0x54d1db=_0xdb88e7;return this['_onConflict'](!!(_0x26c357!=null&&_0x26c357[_0x54d1db(0x20c)]));}[_0xdb88e7(0x411)](){return this;}[_0xdb88e7(0x2d7)](){const _0x2fbe03=_0xdb88e7;return this[_0x2fbe03(0x48d)]['createInstance'](se,this['unitID'],this[_0x2fbe03(0x4b9)],this['_awaitingChangeset'],this[_0x2fbe03(0x2c0)],this[_0x2fbe03(0x1e3)]);}[_0xdb88e7(0x32d)](){return this;}['_onConflict'](_0x53ae9d){const _0x5168db=_0xdb88e7;return this[_0x5168db(0x48d)]['createInstance'](te,this['unitID'],this[_0x5168db(0x4b9)],this['_awaitingChangeset'],this[_0x5168db(0x2c0)],this[_0x5168db(0x1e3)],_0x53ae9d);}};V=me([f(0x7,_0x708a43(_0x262acb)),f(0x8,_0x708a43(_0x12e3be)),f(0x9,_0x708a43(D)),f(0xa,_0x32f72e),f(0xb,_0x49d215),f(0xc,_0x36efc6),f(0xd,_0x144409)],V);function Xs(_0x543d42,_0x378082,_0x494e3a,_0x33738b,_0x1f1107,_0x3d96c5){const _0x23c538=_0xdb88e7;return _0x33738b&&_0x1f1107['length']?_0x543d42[_0x23c538(0x2bc)](z,_0x378082,_0x494e3a,_0x33738b,_0x1f1107,_0x3d96c5,void 0x0):_0x33738b?_0x543d42[_0x23c538(0x2bc)](ee,_0x378082,_0x494e3a,_0x33738b,_0x3d96c5):_0x1f1107[_0x23c538(0x530)]?_0x543d42[_0x23c538(0x2bc)](J,_0x378082,_0x494e3a,_0x1f1107,_0x3d96c5):_0x543d42['createInstance'](Ee,_0x378082,_0x494e3a,_0x3d96c5);}var Dr=Object['defineProperty'],wr=Object[_0xdb88e7(0x429)],Yt=(_0x106b75,_0x11e705,_0x4024e1,_0x9c9a1b)=>{const _0x4b860a=_0xdb88e7;for(var _0x5bc217=_0x9c9a1b>0x1?void 0x0:_0x9c9a1b?wr(_0x11e705,_0x4024e1):_0x11e705,_0x17c667=_0x106b75[_0x4b860a(0x530)]-0x1,_0x5e4420;_0x17c667>=0x0;_0x17c667--)(_0x5e4420=_0x106b75[_0x17c667])&&(_0x5bc217=(_0x9c9a1b?_0x5e4420(_0x11e705,_0x4024e1,_0x5bc217):_0x5e4420(_0x5bc217))||_0x5bc217);return _0x9c9a1b&&_0x5bc217&&Dr(_0x11e705,_0x4024e1,_0x5bc217),_0x5bc217;},p=(_0x3b8fe2,_0x511fb6)=>(_0xd8d5c,_0x43a540)=>_0x511fb6(_0xd8d5c,_0x43a540,_0x3b8fe2);let Je=class extends _0x390154{constructor(_0x271196,_0x340d5f,_0x32664a,_0x177072,_0x301b7e,_0x25b0d1,_0x1e3b15,_0x1e363a,_0x531f04,_0x3f2d2a,_0x3f5a23,_0x374d4a,_0x120525){const _0x2275d=_0xdb88e7;super(),l(this,_0x2275d(0x2cb),new _0x4786ab(null)),l(this,_0x2275d(0x39b),this['_state$']['asObservable']()),l(this,_0x2275d(0x4c4)),l(this,'_collaborationPaused',!0x1),l(this,_0x2275d(0x476),''),l(this,'_changesetReqId',0x0),l(this,_0x2275d(0x379),this[_0x2275d(0x39b)][_0x2275d(0x279)](_0x494a06(_0x55c398=>_0x55c398?_0x55c398[_0x2275d(0x247)]:w['OFFLINE']),_0x198654(0x1))),l(this,_0x2275d(0x21f),!0x1),l(this,_0x2275d(0x3b3),[]),(this[_0x2275d(0x209)]=_0x271196,this[_0x2275d(0x220)]=_0x340d5f,this['_type']=_0x32664a,this['_injector']=_0x177072,this['_localCacheService']=_0x301b7e,this[_0x2275d(0x4db)]=_0x25b0d1,this['_localeService']=_0x1e3b15,this[_0x2275d(0x37b)]=_0x1e363a,this[_0x2275d(0x3da)]=_0x531f04,this[_0x2275d(0x376)]=_0x3f2d2a,this[_0x2275d(0x2f3)]=_0x3f5a23,this[_0x2275d(0x4ad)]=_0x374d4a,this[_0x2275d(0x39e)]=_0x120525);}get['state'](){const _0x1a5683=_0xdb88e7;return this[_0x1a5683(0x4c4)];}async[_0xdb88e7(0x423)](){const _0x3d09c5=_0xdb88e7;if(this['state'])throw new Error(_0x3d09c5(0x402));await this['_init']();}[_0xdb88e7(0x3eb)](){return this['_collaborationPaused']=!0x0,_0x5a30f8(()=>{const _0x53f954=_0xf7c7;this[_0x53f954(0x4f2)]=!0x1,this[_0x53f954(0x467)]();});}['_updateState'](_0x3746ad){const _0x5806ea=_0xdb88e7;this[_0x5806ea(0x4c4)]=_0x3746ad,this[_0x5806ea(0x2cb)][_0x5806ea(0x48e)](_0x3746ad);}async['_init'](){const _0x8c117=_0xdb88e7;var _0x2b10f9;this[_0x8c117(0x3e2)](await this[_0x8c117(0x26f)]()),this['_singleActiveUnitService']&&((_0x2b10f9=this[_0x8c117(0x39e)])==null||_0x2b10f9[_0x8c117(0x450)](this['unitID']),this[_0x8c117(0x3fb)](this[_0x8c117(0x39e)][_0x8c117(0x2f1)](this[_0x8c117(0x209)])[_0x8c117(0x427)](_0x56a6d6=>{const _0x309935=_0x8c117;this[_0x309935(0x3da)][_0x309935(0x2b9)](_0x309935(0x24a),_0x309935(0x4b6),_0x56a6d6),_0x56a6d6===Ws[_0x309935(0x318)]?(this['_messageService']['show']({'content':this[_0x309935(0x280)]['t'](_0x309935(0x2c2)),'type':_0x21f247[_0x309935(0x2aa)]}),this[_0x309935(0x4ad)][_0x309935(0x422)](new _0x2bf602(this[_0x309935(0x209)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this['_permissionService'][_0x309935(0x422)](new _0x2bf602(this[_0x309935(0x209)])['id'],!0x0),this[_0x309935(0x4ad)][_0x309935(0x473)](!0x0));})));let _0x80f526=!0x1;return this[_0x8c117(0x3fb)](this[_0x8c117(0x220)][_0x8c117(0x223)][_0x8c117(0x427)](_0x3b31fa=>{const _0x20898e=_0x8c117;_0x3b31fa===X[_0x20898e(0x414)]?this[_0x20898e(0x46f)](_0x80f526):_0x3b31fa===X['OFFLINE']&&(_0x80f526=!0x0,this['_toggleOffline']());})),this[_0x8c117(0x3fb)](this['session'][_0x8c117(0x412)][_0x8c117(0x427)](_0x4b18ac=>{const _0x2e7317=_0x8c117;try{switch(_0x4b18ac[_0x2e7317(0x2a9)]){case _0x3cf804[_0x2e7317(0x2db)]:{this['_onRemoteChangeset'](_0x15064e(_0x4b18ac[_0x2e7317(0x4dc)]));break;}case _0x3cf804['CHANGESET_ACK']:{this[_0x2e7317(0x345)](_0x4b18ac['data']);break;}case _0x3cf804['CHANGESET_REJ']:{this[_0x2e7317(0x4cd)]();break;}case _0x3cf804['CHANGESET_SHOULD_RETRY']:{this[_0x2e7317(0x481)](_0x4b18ac['data']);break;}case _0x3cf804[_0x2e7317(0x4b8)]:{this['_onFetchMissResult'](_0x4b18ac[_0x2e7317(0x4dc)][_0x2e7317(0x471)][_0x2e7317(0x295)](_0x37b4dd=>_0x15064e(_0x37b4dd)));break;}case _0x3cf804[_0x2e7317(0x2c6)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x659d12){throw console[_0x2e7317(0x528)](_0x2e7317(0x3f9),_0x659d12),_0x659d12;}})),this[_0x8c117(0x4c4)];}['_unlockTransition'](){const _0x38fd58=_0xdb88e7;this[_0x38fd58(0x21f)]=!0x1;}['_lockTransition'](){const _0x4bd8c4=_0xdb88e7;if(this[_0x4bd8c4(0x21f)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0xdb88e7(0x3ab)](_0x27fa6a){const _0x1cb6ec=_0xdb88e7;this[_0x1cb6ec(0x384)](),this[_0x1cb6ec(0x3e2)](this['_state']['appendMutation'](_0x27fa6a)),this[_0x1cb6ec(0x456)]();}[_0xdb88e7(0x47e)](_0x27e9e8){const _0x1aaf8f=_0xdb88e7;if(!(_0x27e9e8[_0x1aaf8f(0x4e7)]<=this['_revisionService'][_0x1aaf8f(0x284)](this[_0x1aaf8f(0x209)]))){if(this[_0x1aaf8f(0x4f2)]){this['_remoteChangesetQueue'][_0x1aaf8f(0x393)](_0x27e9e8);return;}this[_0x1aaf8f(0x523)](_0x27e9e8);}}[_0xdb88e7(0x467)](){const _0x5d6775=_0xdb88e7;this[_0x5d6775(0x3b3)]['forEach'](_0x2e626f=>this[_0x5d6775(0x523)](_0x2e626f)),this[_0x5d6775(0x3b3)]=[];}[_0xdb88e7(0x523)](_0x1815d7){const _0x1f1a83=_0xdb88e7,_0x2f4298=this[_0x1f1a83(0x4db)]['interceptor'][_0x1f1a83(0x352)](this['_compressMutationService'][_0x1f1a83(0x33d)][_0x1f1a83(0x218)]()[_0x1f1a83(0x329)])(_0x1815d7['mutations'],null)||_0x1815d7[_0x1f1a83(0x299)],_0x4f3c10={..._0x1815d7,'mutations':_0x2f4298};this[_0x1f1a83(0x384)](),this['_updateState'](this[_0x1f1a83(0x4c4)][_0x1f1a83(0x4da)](_0x4f3c10)),this[_0x1f1a83(0x456)]();}['_onRemoteACK'](_0x2f7fdc){const _0x497e16=_0xdb88e7;this[_0x497e16(0x384)](),this[_0x497e16(0x3e2)](this[_0x497e16(0x4c4)]['onRemoteAck'](_0x2f7fdc)),this[_0x497e16(0x456)]();}[_0xdb88e7(0x4cd)](_0x1a1226){const _0x28af63=_0xdb88e7;this[_0x28af63(0x384)](),this[_0x28af63(0x3e2)](this['_state'][_0x28af63(0x3ea)](_0x1a1226)),this[_0x28af63(0x456)]();}[_0xdb88e7(0x481)](_0x3fa5f7){const _0x45ddb2=_0xdb88e7;this[_0x45ddb2(0x384)](),this[_0x45ddb2(0x3e2)](this[_0x45ddb2(0x4c4)][_0x45ddb2(0x411)](_0x3fa5f7)),this[_0x45ddb2(0x456)]();}[_0xdb88e7(0x27a)](_0x5eb148){const _0x99a04c=_0xdb88e7;if(!(this[_0x99a04c(0x4c4)]instanceof V))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5e182e=_0x5eb148[_0x99a04c(0x295)](_0x5644dd=>{const _0x5f06e2=_0x99a04c,_0x432c70=this[_0x5f06e2(0x4db)]['interceptor'][_0x5f06e2(0x352)](this['_compressMutationService'][_0x5f06e2(0x33d)]['getInterceptPoints']()[_0x5f06e2(0x329)])(_0x5644dd[_0x5f06e2(0x299)],null)||_0x5644dd[_0x5f06e2(0x299)];return{..._0x5644dd,'mutations':_0x432c70};});this[_0x99a04c(0x384)](),this['_updateState'](this[_0x99a04c(0x4c4)][_0x99a04c(0x28a)](_0x5e182e)),this[_0x99a04c(0x456)]();}[_0xdb88e7(0x539)](){const _0x18cdce=_0xdb88e7;this[_0x18cdce(0x384)](),this['_updateState'](this['_state'][_0x18cdce(0x2d7)]()),this[_0x18cdce(0x456)]();}[_0xdb88e7(0x46f)](_0x4e709f=!0x1){const _0xce7930=_0xdb88e7;this[_0xce7930(0x384)](),this[_0xce7930(0x3e2)](this[_0xce7930(0x4c4)][_0xce7930(0x32d)]()),this[_0xce7930(0x456)]();const _0x17ad36=this['_state'];_0x4e709f&&_0x17ad36 instanceof Ee&&(this['_lockTransition'](),this[_0xce7930(0x3e2)](_0x17ad36[_0xce7930(0x358)]()),this[_0xce7930(0x456)]());}async[_0xdb88e7(0x26f)](){return new Promise(_0x2084c3=>{const _0x4fcdce=_0xf7c7;this[_0x4fcdce(0x220)][_0x4fcdce(0x223)][_0x4fcdce(0x279)](_0x2bb389(0x1))[_0x4fcdce(0x427)](async _0x5c51e8=>{const _0x2f2ac7=_0x4fcdce;_0x2084c3(await this[_0x2f2ac7(0x2fc)](_0x5c51e8===X[_0x2f2ac7(0x414)]));});});}[_0xdb88e7(0x416)](){const _0x4eb162=_0xdb88e7,_0x20b1d0=this[_0x4eb162(0x209)];return{'onStateChange':(_0x42bb2e,_0x4e0d8d)=>{const _0x2aaec4=_0x4eb162;if(_0x42bb2e!==this[_0x2aaec4(0x4c4)])throw new Error(_0x2aaec4(0x32a)+_0x42bb2e[_0x2aaec4(0x247)]+'\x0aAfter:\x20'+_0x4e0d8d[_0x2aaec4(0x247)]+_0x2aaec4(0x1e9)+this[_0x2aaec4(0x4c4)][_0x2aaec4(0x247)]);this[_0x2aaec4(0x3e2)](_0x4e0d8d);},'onSendChangeset':_0x3b6339=>{const _0xca0d7a=_0x4eb162;_0x3b6339[_0xca0d7a(0x510)]||(_0x3b6339[_0xca0d7a(0x510)]=this[_0xca0d7a(0x476)],_0x3b6339[_0xca0d7a(0x447)]=++this[_0xca0d7a(0x3f6)]);const _0x26b996={'eventID':_0x3cf804[_0xca0d7a(0x2eb)],'data':{'unitID':_0x3b6339[_0xca0d7a(0x209)],'unitType':this[_0xca0d7a(0x2ac)],'changeset':_0x3b6339,'memberID':this['session'][_0xca0d7a(0x316)]()}};this[_0xca0d7a(0x220)][_0xca0d7a(0x37e)](_0x26b996,this['unitID']);},'onMissingChangesets':({from:_0x24bfdf,to:_0x26895b})=>{const _0x837b69=_0x4eb162;this[_0x837b69(0x3da)][_0x837b69(0x2b9)]('[CollaborationEntity]',_0x837b69(0x2d9)+_0x24bfdf+_0x837b69(0x38e)+_0x26895b);const _0x2ce360={'eventID':_0x3cf804[_0x837b69(0x524)],'data':{'unitID':_0x20b1d0,'unitType':this[_0x837b69(0x2ac)],'from':_0x24bfdf,'to':_0x26895b}};this['session'][_0x837b69(0x37e)](_0x2ce360,this['unitID']);}};}async[_0xdb88e7(0x2fc)](_0x470bc6){const _0x503c2b=_0xdb88e7;var _0x86712d,_0x1ce408;const _0x204773=await this['_localCacheService']['loadOfflineData'](this[_0x503c2b(0x209)]),_0x15031e=(_0x86712d=_0x204773==null?void 0x0:_0x204773[_0x503c2b(0x299)])!=null?_0x86712d:[],_0x240601=(_0x1ce408=_0x204773==null?void 0x0:_0x204773['awaitingChangeset'])!=null?_0x1ce408:null,_0x295969=!!(_0x240601!=null&&_0x240601[_0x503c2b(0x510)])&&!!(_0x240601!=null&&_0x240601[_0x503c2b(0x447)]);this[_0x503c2b(0x476)]=_0x295969?_0x240601[_0x503c2b(0x510)]:or(),this['_changesetReqId']=_0x295969?_0x240601['reqId']:0x0;const _0x759758=this['unitID'];try{this[_0x503c2b(0x54d)](_0x240601,_0x15031e);}catch(_0x199041){this[_0x503c2b(0x3da)][_0x503c2b(0x528)](_0x199041);}const _0x489ffc=this[_0x503c2b(0x416)]();if(_0x470bc6){const _0x359f66=Xs(this['_injector'],_0x759758,this[_0x503c2b(0x2ac)],_0x240601,_0x15031e,_0x489ffc);return _0x359f66 instanceof J?_0x359f66[_0x503c2b(0x211)]():(_0x359f66 instanceof z||_0x359f66 instanceof ee)&&_0x359f66['resend'](),_0x359f66;}return this[_0x503c2b(0x48d)][_0x503c2b(0x2bc)](se,_0x759758,this[_0x503c2b(0x2ac)],_0x240601,_0x15031e,_0x489ffc);}[_0xdb88e7(0x54d)](_0xf88f73,_0x132036){const _0x374ff7=_0xdb88e7;var _0x2d0ac5,_0x3195a9;const _0x19235e=this[_0x374ff7(0x4db)][_0x374ff7(0x33d)][_0x374ff7(0x352)](this[_0x374ff7(0x4db)][_0x374ff7(0x33d)][_0x374ff7(0x218)]()[_0x374ff7(0x329)]);(_0x2d0ac5=_0x19235e((_0xf88f73==null?void 0x0:_0xf88f73[_0x374ff7(0x299)])||[],null))==null||_0x2d0ac5[_0x374ff7(0x25a)](_0xd964d1=>this[_0x374ff7(0x376)][_0x374ff7(0x4d0)](_0xd964d1['id'],_0xd964d1[_0x374ff7(0x2a3)])),(_0x3195a9=_0x19235e(_0x132036||[],null))==null||_0x3195a9[_0x374ff7(0x25a)](_0x44ade2=>this['_commandService'][_0x374ff7(0x4d0)](_0x44ade2['id'],_0x44ade2[_0x374ff7(0x2a3)]));}};Je=Yt([p(0x3,_0x708a43(_0x262acb)),p(0x4,_0x708a43(D)),p(0x5,_0x708a43(_0x1095f5)),p(0x6,_0x708a43(_0x1cea44)),p(0x7,_0x708a43(_0x12e3be)),p(0x8,_0x32f72e),p(0x9,_0x49d215),p(0xa,_0x50cdfc),p(0xb,_0x53b55e),p(0xc,_0x42ec52(it))],Je);let Ot=class extends Je{constructor(_0x33aff4,_0x1470bd,_0x2f653d,_0x36a572,_0x5212d4,_0x3d1bae,_0x3b8083,_0xd95d56,_0x3bb98d,_0x98a7d3,_0x56141c,_0x1d3bfa,_0x27eb61,_0x81b0a0,_0x50464a,_0x381be6,_0x27fd3b){const _0x52d040=_0xdb88e7;super(_0x33aff4,_0x2f653d,_0x1470bd,_0x36a572,_0x5212d4,_0x3d1bae,_0x3b8083,_0xd95d56,_0x27eb61,_0x81b0a0,_0x50464a,_0x381be6,_0x27fd3b),this[_0x52d040(0x209)]=_0x33aff4,this[_0x52d040(0x4b9)]=_0x1470bd,this['_docStateChangeManagerService']=_0x3bb98d,this[_0x52d040(0x307)]=_0x98a7d3,this[_0x52d040(0x4a3)]=_0x56141c,this['_docSyncEditingCollabCursorService']=_0x1d3bfa;}['_createHandler'](){const _0x47ed3b=_0xdb88e7,_0x5994f4=super[_0x47ed3b(0x416)]();return _0x5994f4[_0x47ed3b(0x214)]=_0x4dedf8=>this[_0x47ed3b(0x307)][_0x47ed3b(0x326)](_0x4dedf8),_0x5994f4['onTransformSelections']=_0x15a276=>this['_docTransformSelectionsService'][_0x47ed3b(0x23f)](_0x15a276),_0x5994f4[_0x47ed3b(0x49f)]=_0xfcb7f=>this['_docSyncEditingCollabCursorService'][_0x47ed3b(0x24b)](_0xfcb7f),_0x5994f4[_0x47ed3b(0x270)]=_0x56b610=>this[_0x47ed3b(0x307)][_0x47ed3b(0x3a5)](_0x56b610),_0x5994f4;}async['_init'](){const _0xffcee1=_0xdb88e7,_0x43daaf=await super[_0xffcee1(0x454)]();return this[_0xffcee1(0x324)][_0xffcee1(0x2ff)][_0xffcee1(0x279)](_0x13b5ec(this[_0xffcee1(0x337)]))[_0xffcee1(0x427)](_0x392e69=>{const _0x54fcfe=_0xffcee1;if(_0x392e69==null)return;const {unitId:_0x2c48ea,redoState:_0x57c1a6,commandId:_0x2ee71a}=_0x392e69;if(_0x2c48ea!==this[_0x54fcfe(0x209)])return;const _0x2abf43={'id':_0x2ee71a,'type':_0x447d57[_0x54fcfe(0x294)],'params':{'unitId':_0x2c48ea,'actions':_0x57c1a6[_0x54fcfe(0x293)],'textRanges':null}};this[_0x54fcfe(0x3ab)](_0x2abf43);}),_0x43daaf;}};Ot=Yt([p(0x3,_0x708a43(_0x262acb)),p(0x4,_0x708a43(D)),p(0x5,_0x708a43(_0x1095f5)),p(0x6,_0x708a43(_0x1cea44)),p(0x7,_0x708a43(_0x12e3be)),p(0x8,_0x708a43(_0x529b9c)),p(0x9,_0x708a43(Ke)),p(0xa,_0x708a43(qe)),p(0xb,_0x708a43(Gt)),p(0xc,_0x32f72e),p(0xd,_0x49d215),p(0xe,_0x50cdfc),p(0xf,_0x53b55e),p(0x10,_0x42ec52(it))],Ot);let Dt=class extends Je{constructor(_0x285aa0,_0x5ec6ab,_0x27fa78,_0x2bda9f,_0x44417,_0x11df43,_0x49d535,_0x45d686,_0x438a3b,_0x16ed9e,_0x59a94b,_0xb7d860,_0x3230f8,_0x6dd286){const _0x1cce9a=_0xdb88e7;super(_0x285aa0,_0x27fa78,_0x5ec6ab,_0x2bda9f,_0x44417,_0x11df43,_0x49d535,_0x45d686,_0x16ed9e,_0x59a94b,_0xb7d860,_0x3230f8,_0x6dd286),this['unitID']=_0x285aa0,this[_0x1cce9a(0x4b9)]=_0x5ec6ab,this[_0x1cce9a(0x508)]=_0x438a3b;}[_0xdb88e7(0x416)](){const _0x426435=_0xdb88e7,_0x40f0fb=super[_0x426435(0x416)]();return _0x40f0fb[_0x426435(0x3df)]=_0x3e6a77=>this[_0x426435(0x508)][_0x426435(0x23f)](_0x3e6a77),_0x40f0fb;}async[_0xdb88e7(0x454)](){const _0x5399e8=_0xdb88e7,_0x25c967=await super[_0x5399e8(0x454)]();return this['disposeWithMe'](this[_0x5399e8(0x376)][_0x5399e8(0x234)]((_0x32a3f7,_0x176f05)=>{const _0x383250=_0x5399e8;if(_0x32a3f7[_0x383250(0x4b9)]!==_0x447d57['MUTATION']||_0x176f05!=null&&_0x176f05[_0x383250(0x3dd)]||_0x176f05!=null&&_0x176f05[_0x383250(0x428)])return;const _0xf2f658=_0x32a3f7[_0x383250(0x2a3)];if((_0xf2f658==null?void 0x0:_0xf2f658['unitId'])!==this[_0x383250(0x209)])return;const _0x3b39a1=_0x32a3f7,_0x2a11c8=this[_0x383250(0x4db)][_0x383250(0x33d)][_0x383250(0x352)](this[_0x383250(0x4db)][_0x383250(0x33d)][_0x383250(0x218)]()[_0x383250(0x2bd)])([_0x3b39a1],null)||[_0x3b39a1];this[_0x383250(0x3ab)](_0x2a11c8[0x0]);})),_0x25c967;}};Dt=Yt([p(0x3,_0x708a43(_0x262acb)),p(0x4,_0x708a43(D)),p(0x5,_0x708a43(_0x1095f5)),p(0x6,_0x708a43(_0x1cea44)),p(0x7,_0x708a43(_0x12e3be)),p(0x8,_0x708a43(Xe)),p(0x9,_0x32f72e),p(0xa,_0x49d215),p(0xb,_0x50cdfc),p(0xc,_0x53b55e),p(0xd,_0x42ec52(it))],Dt);var Pr=Object[_0xdb88e7(0x396)],yr=Object[_0xdb88e7(0x429)],Ur=(_0x4ad711,_0x5ce187,_0x5ab8fb,_0x4c39e9)=>{const _0x445c6d=_0xdb88e7;for(var _0x5ed082=_0x4c39e9>0x1?void 0x0:_0x4c39e9?yr(_0x5ce187,_0x5ab8fb):_0x5ce187,_0xd2e123=_0x4ad711[_0x445c6d(0x530)]-0x1,_0x395917;_0xd2e123>=0x0;_0xd2e123--)(_0x395917=_0x4ad711[_0xd2e123])&&(_0x5ed082=(_0x4c39e9?_0x395917(_0x5ce187,_0x5ab8fb,_0x5ed082):_0x395917(_0x5ed082))||_0x5ed082);return _0x4c39e9&&_0x5ed082&&Pr(_0x5ce187,_0x5ab8fb,_0x5ed082),_0x5ed082;},dt=(_0x25ac7b,_0x52232a)=>(_0x1c5f6a,_0x8a9f4c)=>_0x52232a(_0x1c5f6a,_0x8a9f4c,_0x25ac7b);let Le=class extends _0x390154{constructor(_0x48924b,_0x422599,_0x508b6d){const _0x371d6a=_0xdb88e7;super(),l(this,_0x371d6a(0x3e9),new Map()),l(this,_0x371d6a(0x320),new _0x116216()),(this[_0x371d6a(0x48d)]=_0x48924b,this[_0x371d6a(0x390)]=_0x422599,this[_0x371d6a(0x372)]=_0x508b6d,this[_0x371d6a(0x454)]());}['dispose'](){const _0x3822d2=_0xdb88e7;super[_0x3822d2(0x50f)](),this[_0x3822d2(0x3e9)][_0x3822d2(0x25a)](_0x415d63=>_0x415d63['dispose']()),this[_0x3822d2(0x3e9)][_0x3822d2(0x443)]();}[_0xdb88e7(0x493)](_0x4047a8){const _0x53b9c1=_0xdb88e7;var _0x487c64;return(_0x487c64=this['_entities'][_0x53b9c1(0x2c9)](_0x4047a8))!=null?_0x487c64:null;}[_0xdb88e7(0x39a)](_0x5b1038){const _0x4c0c5d=_0xdb88e7,_0x5279df=this[_0x4c0c5d(0x493)](_0x5b1038);return _0x5279df?_0x43095f(_0x5279df):this['_entityInit$'][_0x4c0c5d(0x279)](_0x4be362(_0x515f40=>_0x515f40[_0x4c0c5d(0x209)]===_0x5b1038));}[_0xdb88e7(0x454)](){const _0x3d0236=_0xdb88e7;this[_0x3d0236(0x372)][_0x3d0236(0x35a)](_0x28e552[_0x3d0236(0x240)])[_0x3d0236(0x279)](_0x13b5ec(this[_0x3d0236(0x337)]),_0xda616b(0x10))['subscribe'](async _0x5191f9=>{const _0x4fb6f6=_0x3d0236,_0x4c7bb9=_0x5191f9[_0x4fb6f6(0x444)](),_0x225a48=await this[_0x4fb6f6(0x507)](_0x4c7bb9,B[_0x4fb6f6(0x240)]);this['_entities'][_0x4fb6f6(0x512)](_0x4c7bb9,_0x225a48);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x28e552[_0x3d0236(0x2d8)])[_0x3d0236(0x279)](_0x13b5ec(this[_0x3d0236(0x337)]),_0xda616b(0x10))[_0x3d0236(0x279)](_0x4be362(_0x49bd86=>!_0x49bd86[_0x3d0236(0x444)]()[_0x3d0236(0x41f)]('__')))[_0x3d0236(0x427)](async _0x2818fd=>{const _0x394919=_0x3d0236,_0x305084=_0x2818fd[_0x394919(0x444)](),_0x4fb4ae=await this[_0x394919(0x507)](_0x305084,B['UNIVER_DOC']);this[_0x394919(0x3e9)][_0x394919(0x512)](_0x305084,_0x4fb4ae);}),_0x28b2cd(this[_0x3d0236(0x372)][_0x3d0236(0x49a)](_0x28e552[_0x3d0236(0x240)]),this[_0x3d0236(0x372)][_0x3d0236(0x49a)](_0x28e552[_0x3d0236(0x2d8)]))['pipe'](_0x13b5ec(this[_0x3d0236(0x337)]))[_0x3d0236(0x427)](_0x3eb1e9=>{const _0x2ad59c=_0x3d0236,_0xc060b=_0x3eb1e9[_0x2ad59c(0x444)](),_0x22c850=this[_0x2ad59c(0x3e9)][_0x2ad59c(0x2c9)](_0xc060b);_0x22c850&&(_0x22c850[_0x2ad59c(0x50f)](),this[_0x2ad59c(0x3e9)][_0x2ad59c(0x410)](_0xc060b));});}async[_0xdb88e7(0x507)](_0x9b878d,_0x32add8){const _0x3f689c=_0xdb88e7,_0x5e7038=await this['_collabSessionService'][_0x3f689c(0x3d8)](_0x9b878d),_0x38a9d8=this[_0x3f689c(0x48d)][_0x3f689c(0x2bc)](this[_0x3f689c(0x2ae)](_0x32add8),_0x9b878d,_0x32add8,_0x5e7038);return await _0x38a9d8[_0x3f689c(0x423)](),this['_entityInit$'][_0x3f689c(0x48e)](_0x38a9d8),_0x38a9d8;}[_0xdb88e7(0x2ae)](_0x5f3238){const _0x39e646=_0xdb88e7;switch(_0x5f3238){case B[_0x39e646(0x2d8)]:return Ot;case B[_0x39e646(0x240)]:return Dt;default:throw new Error(_0x39e646(0x3ce)+_0x5f3238);}}};Le=Ur([dt(0x0,_0x708a43(_0x262acb)),dt(0x1,_0x708a43(_e)),dt(0x2,_0x3c6560)],Le);const fs=[_0xdb88e7(0x23e),_0xdb88e7(0x52f),_0xdb88e7(0x304),_0xdb88e7(0x2cf),_0xdb88e7(0x43f),_0xdb88e7(0x3e8)];class Kt extends _0x53fecf{constructor(){const _0x40bf39=_0xdb88e7;super(...arguments),l(this,_0x40bf39(0x375),new Map()),l(this,_0x40bf39(0x31e),0x0);}['assignAColorForMemberID'](_0x384629){const _0x13a540=_0xdb88e7;if(this[_0x13a540(0x375)]['has'](_0x384629))return this['_assignedColors'][_0x13a540(0x2c9)](_0x384629);const _0x14ac1a=fs[this[_0x13a540(0x31e)]];return this[_0x13a540(0x31e)]=(this['_colorIndex']+0x1)%fs[_0x13a540(0x530)],this[_0x13a540(0x375)][_0x13a540(0x512)](_0x384629,_0x14ac1a),_0x14ac1a;}}var Nr=Object[_0xdb88e7(0x396)],Ar=Object[_0xdb88e7(0x429)],Mr=(_0x3bc192,_0x49f5fb,_0x172bc7,_0x327121)=>{const _0x2ad4fe=_0xdb88e7;for(var _0x119b1e=_0x327121>0x1?void 0x0:_0x327121?Ar(_0x49f5fb,_0x172bc7):_0x49f5fb,_0xec8d68=_0x3bc192[_0x2ad4fe(0x530)]-0x1,_0x203084;_0xec8d68>=0x0;_0xec8d68--)(_0x203084=_0x3bc192[_0xec8d68])&&(_0x119b1e=(_0x327121?_0x203084(_0x49f5fb,_0x172bc7,_0x119b1e):_0x203084(_0x119b1e))||_0x119b1e);return _0x327121&&_0x119b1e&&Nr(_0x49f5fb,_0x172bc7,_0x119b1e),_0x119b1e;},re=(_0x31dbe0,_0x3e156f)=>(_0x3ead0b,_0x4d8a0f)=>_0x3e156f(_0x3ead0b,_0x4d8a0f,_0x31dbe0);const Lr=0x12c,$r=0x64;let wt=class extends _0x390154{constructor(_0x2c086d,_0x209d35,_0x48342e,_0x3a57d9,_0x4212aa,_0x2ec501,_0x119cae,_0x58e8c0,_0x11c275){const _0x1c93cb=_0xdb88e7;super(),l(this,_0x1c93cb(0x25d),!0x1),l(this,_0x1c93cb(0x454),!0x1),l(this,'_cursorInfo$',new _0x4786ab(new Map())),l(this,_0x1c93cb(0x434),this['_cursorInfo$'][_0x1c93cb(0x4a1)]()),l(this,_0x1c93cb(0x52c),new _0x4786ab([])),l(this,_0x1c93cb(0x475),this[_0x1c93cb(0x52c)]['pipe'](_0x3f7cd2(Lr))),l(this,_0x1c93cb(0x3ed),_0x37e502(_0x3867b0=>{const _0x52eac5=_0x1c93cb,_0x824233={'eventID':_0x3cf804[_0x52eac5(0x39d)],'data':{'unitID':this[_0x52eac5(0x209)],'memberID':this[_0x52eac5(0x45d)][_0x52eac5(0x316)](),'selection':Gs(_0x3867b0)}};this['_session']['send'](_0x824233,this[_0x52eac5(0x209)]);},$r)),(this[_0x1c93cb(0x209)]=_0x2c086d,this[_0x1c93cb(0x45d)]=_0x209d35,this[_0x1c93cb(0x48d)]=_0x48342e,this[_0x1c93cb(0x479)]=_0x3a57d9,this['_memberService']=_0x4212aa,this[_0x1c93cb(0x370)]=_0x2ec501,this['_transformService']=_0x119cae,this[_0x1c93cb(0x372)]=_0x58e8c0,this[_0x1c93cb(0x376)]=_0x11c275);}get[_0xdb88e7(0x387)](){const _0x43f4ab=_0xdb88e7;return this[_0x43f4ab(0x24d)][_0x43f4ab(0x354)]();}get[_0xdb88e7(0x2e9)](){return this['_roomMembers$']['getValue']();}[_0xdb88e7(0x50f)](){const _0x135161=_0xdb88e7;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x135161(0x24d)][_0x135161(0x1f4)](),this[_0x135161(0x52c)][_0x135161(0x48e)]([]),this[_0x135161(0x52c)][_0x135161(0x1f4)]();}[_0xdb88e7(0x423)](){const _0x47a336=_0xdb88e7;this[_0x47a336(0x454)]||(this[_0x47a336(0x454)]=!0x0,this['_session'][_0x47a336(0x223)]['pipe'](_0x13b5ec(this[_0x47a336(0x337)]))['subscribe'](_0x5eddb5=>{const _0x5e1aa0=_0x47a336;_0x5eddb5===X[_0x5e1aa0(0x414)]?this[_0x5e1aa0(0x46f)]():this[_0x5e1aa0(0x539)]();}),this['_session'][_0x47a336(0x412)][_0x47a336(0x279)](_0x13b5ec(this[_0x47a336(0x337)]))[_0x47a336(0x427)](_0x166943=>{const _0x4ece4e=_0x47a336,_0xb1d521=_0x166943[_0x4ece4e(0x2a9)];_0xb1d521===_0x3cf804[_0x4ece4e(0x39d)]&&this[_0x4ece4e(0x30e)](_0x166943),_0xb1d521===_0x3cf804[_0x4ece4e(0x557)]&&this[_0x4ece4e(0x542)](_0x166943);}),this[_0x47a336(0x3fb)](this['_commandService'][_0x47a336(0x234)](_0x2130fe=>{const _0x1cc607=_0x47a336,_0x2fc588=_0x2130fe[_0x1cc607(0x2a3)];_0x2fc588!=null&&this[_0x1cc607(0x25d)]&&_0x2130fe['id']===_0x4e775a['id']&&_0x2fc588[_0x1cc607(0x2ab)]===this[_0x1cc607(0x209)]&&_0x2fc588[_0x1cc607(0x21e)]===!0x1&&_0x2fc588[_0x1cc607(0x51a)][_0x1cc607(0x530)]>0x0&&this[_0x1cc607(0x3ed)](_0x2fc588['ranges']);})),this[_0x47a336(0x370)][_0x47a336(0x3cf)][_0x47a336(0x279)](_0x13b5ec(this[_0x47a336(0x337)]))[_0x47a336(0x427)](_0x109faa=>{const _0x3092ee=_0x47a336;if((_0x109faa==null?void 0x0:_0x109faa['unitID'])!==this[_0x3092ee(0x209)])return;const _0x31b5bd={'eventID':_0x3cf804[_0x3092ee(0x39d)],'data':_0x109faa};this[_0x3092ee(0x30e)](_0x31b5bd);}),this[_0x47a336(0x3fb)](this[_0x47a336(0x376)][_0x47a336(0x234)](_0x547b90=>{const _0x85d880=_0x47a336;if(_0x547b90[_0x85d880(0x2a3)]==null)return;const _0x6faa22=_0x547b90['params'];if(_0x547b90['id']!==_0x4b30be['id']||_0x6faa22[_0x85d880(0x2ab)]!==this['unitID'])return;const _0xf8141b={'id':_0x85d880(0x531),'params':_0x6faa22},_0x434b1a=this[_0x85d880(0x387)];for(const [_0x333d4b,_0x5cfbc7]of _0x434b1a){const _0x32dd5b={'id':_0x85d880(0x531),'params':{'unitId':this[_0x85d880(0x209)],'actions':null,'textRanges':_0x5cfbc7['ranges']}},_0x1484a6=this[_0x85d880(0x225)][_0x85d880(0x555)](_0xf8141b,_0x32dd5b,!0x1);if(_0x47c47e(_0x1484a6))throw _0x1484a6[_0x85d880(0x528)];_0x434b1a[_0x85d880(0x512)](_0x333d4b,{..._0x5cfbc7,'ranges':_0x1484a6[_0x85d880(0x1eb)][_0x85d880(0x2a3)][_0x85d880(0x364)]});}queueMicrotask(()=>{const _0x4d0d3e=_0x85d880;this[_0x4d0d3e(0x24d)][_0x4d0d3e(0x48e)](_0x434b1a);});})));}[_0xdb88e7(0x30e)](_0x44e2b5){const _0x16bdd4=_0xdb88e7;var _0x36932c,_0x5e6f68;const {memberID:_0x1e7745,selection:_0x5acde4}=_0x44e2b5[_0x16bdd4(0x4dc)],_0x9d0ada=pr(_0x5acde4),_0x107e98=(_0x5e6f68=(_0x36932c=this[_0x16bdd4(0x492)][_0x16bdd4(0x207)](this['unitID'],_0x1e7745))==null?void 0x0:_0x36932c[_0x16bdd4(0x2f9)])!=null?_0x5e6f68:'Unknown\x20user',_0x217eec={'color':this['_colorAssignService'][_0x16bdd4(0x23a)](_0x1e7745),'name':_0x107e98,'ranges':_0x9d0ada},_0x37e596=this[_0x16bdd4(0x387)];_0x37e596[_0x16bdd4(0x512)](_0x1e7745,_0x217eec),this['_cursorInfo$'][_0x16bdd4(0x48e)](_0x37e596);}[_0xdb88e7(0x542)](_0xdf086){const _0x61b527=_0xdb88e7,{memberID:_0xad1adf}=_0xdf086['data'],_0x3b9a9e=this[_0x61b527(0x387)];_0x3b9a9e[_0x61b527(0x410)](_0xad1adf),this[_0x61b527(0x24d)][_0x61b527(0x48e)](_0x3b9a9e);}['_toggleOnline'](){const _0x37468e=_0xdb88e7;var _0x3ce9e9;if(this[_0x37468e(0x25d)]=!0x0,((_0x3ce9e9=this[_0x37468e(0x372)][_0x37468e(0x437)]())==null?void 0x0:_0x3ce9e9[_0x37468e(0x444)]())!==this[_0x37468e(0x209)])return;const _0x47ff7a=this[_0x37468e(0x48d)][_0x37468e(0x2c9)](_0x527b6c)[_0x37468e(0x4f4)]();Array[_0x37468e(0x248)](_0x47ff7a)&&_0x47ff7a['length']>0x0&&this[_0x37468e(0x3ed)](_0x47ff7a);}['_toggleOffline'](){this['_online']=!0x1;}};wt=Mr([re(0x2,_0x708a43(_0x262acb)),re(0x3,_0x708a43(Kt)),re(0x4,_0x708a43(le)),re(0x5,_0x708a43(Gt)),re(0x6,_0x144409),re(0x7,_0x3c6560),re(0x8,_0x49d215)],wt);var jr=Object[_0xdb88e7(0x396)],xr=Object['getOwnPropertyDescriptor'],Hr=(_0x434247,_0x45185e,_0x12f7cd,_0x14e914)=>{for(var _0x1a590c=_0x14e914>0x1?void 0x0:_0x14e914?xr(_0x45185e,_0x12f7cd):_0x45185e,_0x206d00=_0x434247['length']-0x1,_0xfd49d3;_0x206d00>=0x0;_0x206d00--)(_0xfd49d3=_0x434247[_0x206d00])&&(_0x1a590c=(_0x14e914?_0xfd49d3(_0x45185e,_0x12f7cd,_0x1a590c):_0xfd49d3(_0x1a590c))||_0x1a590c);return _0x14e914&&_0x1a590c&&jr(_0x45185e,_0x12f7cd,_0x1a590c),_0x1a590c;},pe=(_0x868149,_0x2896c4)=>(_0x14f8cd,_0x164a45)=>_0x2896c4(_0x14f8cd,_0x164a45,_0x868149);const kr=0x12c,Br=0x64,Vr=()=>{let _0x20bdb6=[],_0x62060b=!0x1;return _0x5e16ca=>{const _0x40359d=_0xf7c7;_0x20bdb6[_0x40359d(0x393)](_0x5e16ca),_0x62060b||(_0x62060b=!0x0,setTimeout(()=>{const _0x51cbdc=_0x40359d;_0x20bdb6[_0x51cbdc(0x25a)](_0x3bab93=>_0x3bab93()),_0x20bdb6=[],_0x62060b=!0x1;}));};};let Pt=class extends _0x390154{constructor(_0x54adb3,_0x40c85a,_0x47c448,_0x28fad3,_0x5d3634,_0x45f21d,_0xdb8dc3,_0x1a1e1f){const _0x59def6=_0xdb88e7;super(),l(this,'_online',!0x1),l(this,'_init',!0x1),l(this,_0x59def6(0x24d),new _0x4786ab(new Map())),l(this,_0x59def6(0x434),this[_0x59def6(0x24d)][_0x59def6(0x4a1)]()),l(this,'_roomMembers$',new _0x4786ab([])),l(this,_0x59def6(0x475),this[_0x59def6(0x52c)][_0x59def6(0x279)](_0x3f7cd2(kr))),l(this,_0x59def6(0x3ed),_0x37e502((_0x4ec44d,_0x45e176)=>{const _0x42ddd5=_0x59def6,_0x135df0={'eventID':_0x3cf804[_0x42ddd5(0x39d)],'data':{'unitID':this[_0x42ddd5(0x209)],'memberID':this[_0x42ddd5(0x45d)][_0x42ddd5(0x316)](),'selection':_0x2b97b7(_0x4ec44d,_0x45e176[_0x42ddd5(0x243)])}};this[_0x42ddd5(0x45d)][_0x42ddd5(0x37e)](_0x135df0,this[_0x42ddd5(0x209)]);},Br)),(this[_0x59def6(0x209)]=_0x54adb3,this[_0x59def6(0x45d)]=_0x40c85a,this['_injector']=_0x47c448,this['_colorAssignService']=_0x28fad3,this['_memberService']=_0x5d3634,this[_0x59def6(0x372)]=_0x45f21d,this[_0x59def6(0x376)]=_0xdb8dc3,this[_0x59def6(0x3bd)]=_0x1a1e1f);}get[_0xdb88e7(0x387)](){const _0x1e9f96=_0xdb88e7;return this[_0x1e9f96(0x24d)]['getValue']();}get[_0xdb88e7(0x2e9)](){const _0x471b11=_0xdb88e7;return this[_0x471b11(0x52c)][_0x471b11(0x354)]();}[_0xdb88e7(0x50f)](){const _0x3f0b03=_0xdb88e7;super[_0x3f0b03(0x50f)](),this[_0x3f0b03(0x24d)]['next'](new Map()),this[_0x3f0b03(0x24d)][_0x3f0b03(0x1f4)](),this[_0x3f0b03(0x52c)][_0x3f0b03(0x48e)]([]),this['_roomMembers$'][_0x3f0b03(0x1f4)]();}[_0xdb88e7(0x423)](){const _0x498b8e=_0xdb88e7;this[_0x498b8e(0x454)]||(this[_0x498b8e(0x454)]=!0x0,this['_session'][_0x498b8e(0x223)][_0x498b8e(0x279)](_0x13b5ec(this[_0x498b8e(0x337)]))['subscribe'](_0x5c8b86=>{const _0x14ab93=_0x498b8e;_0x5c8b86===X[_0x14ab93(0x414)]?this[_0x14ab93(0x46f)]():this[_0x14ab93(0x539)]();}),this['_session'][_0x498b8e(0x412)][_0x498b8e(0x279)](_0x13b5ec(this[_0x498b8e(0x337)]))[_0x498b8e(0x427)](_0x28bd61=>{const _0x1496c5=_0x498b8e,_0x5de360=_0x28bd61[_0x1496c5(0x2a9)];_0x5de360===_0x3cf804[_0x1496c5(0x39d)]&&this[_0x1496c5(0x30e)](_0x28bd61),_0x5de360===_0x3cf804[_0x1496c5(0x557)]&&this[_0x1496c5(0x542)](_0x28bd61);}),this[_0x498b8e(0x271)](),this[_0x498b8e(0x3fb)](this[_0x498b8e(0x376)][_0x498b8e(0x234)](_0xd38f08=>{const _0x18889=_0x498b8e;if(this[_0x18889(0x25d)]&&_0xd38f08['id']===_0x8e8ac5['id']&&_0xd38f08['params'][_0x18889(0x2ab)]===this['unitID']){const _0x584f46=_0xd38f08['params'];this[_0x18889(0x3ed)](_0x584f46[_0x18889(0x215)],_0x584f46['selections'][0x0]);}})));}['_onCursorUpdate'](_0x4171d5){const _0x4a6940=_0xdb88e7;var _0x3e638d,_0x28c4f2;const {memberID:_0x45ba98,selection:_0x679bb0}=_0x4171d5[_0x4a6940(0x4dc)],{sheetName:_0x1a71f8,range:_0x2cfc90}=_0x2f24b8(_0x679bb0),_0x29bfdc={'name':(_0x28c4f2=(_0x3e638d=this[_0x4a6940(0x492)][_0x4a6940(0x207)](this[_0x4a6940(0x209)],_0x45ba98))==null?void 0x0:_0x3e638d['name'])!=null?_0x28c4f2:_0x4a6940(0x438),'range':this[_0x4a6940(0x3f0)](_0x1a71f8,_0x2cfc90),'sheetID':_0x1a71f8,'color':this[_0x4a6940(0x479)][_0x4a6940(0x23a)](_0x45ba98),'selection':_0x679bb0},_0xcd128d=this[_0x4a6940(0x387)];_0xcd128d['set'](_0x45ba98,_0x29bfdc),this[_0x4a6940(0x24d)][_0x4a6940(0x48e)](_0xcd128d);}['_onCursorDelete'](_0x2c8eef){const _0x113a6a=_0xdb88e7,{memberID:_0x1bab75}=_0x2c8eef[_0x113a6a(0x4dc)],_0x84bdd1=this['cursorInfo'];_0x84bdd1[_0x113a6a(0x410)](_0x1bab75),this[_0x113a6a(0x24d)][_0x113a6a(0x48e)](_0x84bdd1);}['_getMergeRange'](_0x38d608,_0x508067){const _0xa87dc7=_0xdb88e7;var _0x3abf23,_0x97319b;const _0x318ad5=(_0x97319b=(_0x3abf23=this[_0xa87dc7(0x372)][_0xa87dc7(0x2b7)](this[_0xa87dc7(0x209)]))==null?void 0x0:_0x3abf23[_0xa87dc7(0x564)](_0x38d608))==null?void 0x0:_0x97319b[_0xa87dc7(0x505)]();return(_0x318ad5==null?void 0x0:_0x318ad5[_0xa87dc7(0x30d)](_0x4d2f00=>_0x54d040[_0xa87dc7(0x53a)](_0x4d2f00,_0x508067)))||_0x508067;}[_0xdb88e7(0x271)](){const _0x2c0254=_0xdb88e7,_0x537319=new _0x276d96(),_0x49573f=Vr(),_0x26770e=()=>{const _0x15ee01=_0xf7c7;_0x537319['dispose']();const _0x228532=(_0x1b4bc4,_0x59d6a1,_0x425808,_0x529ef3)=>{const _0x4a5983=_0xf7c7;let _0x54ad14=[];switch(_0x1b4bc4['id']){case _0x449568[_0x4a5983(0x42d)]:{_0x54ad14=_0x34f70e(_0x1b4bc4,_0x529ef3);break;}case _0x449568[_0x4a5983(0x558)]:{_0x54ad14=_0x1069f8(_0x1b4bc4,_0x529ef3);break;}case _0x449568[_0x4a5983(0x24e)]:{_0x54ad14=_0x1329ce(_0x1b4bc4,_0x529ef3);break;}case _0x449568[_0x4a5983(0x403)]:{_0x54ad14=_0x1c5ac4(_0x1b4bc4,_0x529ef3);break;}case _0x449568[_0x4a5983(0x235)]:{_0x54ad14=_0x30723e(_0x1b4bc4,_0x529ef3);break;}case _0x449568[_0x4a5983(0x308)]:{_0x54ad14=_0x546e02(_0x1b4bc4,_0x529ef3);break;}case _0x449568[_0x4a5983(0x39f)]:{_0x54ad14=_0x12a35a(_0x1b4bc4,_0x529ef3);break;}case _0x449568['RemoveColCommandId']:{_0x54ad14=_0x403eb6(_0x1b4bc4,_0x529ef3);break;}case _0x449568[_0x4a5983(0x30c)]:{_0x54ad14=_0x5415b5(_0x1b4bc4,_0x529ef3);break;}}const _0x3869ee=_0x59c513(_0x54ad14,_0x529ef3),_0x31f480=this[_0x4a5983(0x387)][_0x4a5983(0x2c9)](_0x59d6a1);if(_0x31f480&&_0x3869ee){const _0x2c284b={..._0x31f480,'range':_0x3869ee};this[_0x4a5983(0x387)][_0x4a5983(0x512)](_0x59d6a1,_0x2c284b),_0x49573f(()=>{const _0x59602c=_0x4a5983,_0x9aca76=this[_0x59602c(0x3bd)][_0x59602c(0x3ec)](_0x3869ee,_0x393cc6=>(_0x9aca76['dispose'](),_0x228532(_0x393cc6,_0x59d6a1,_0x425808,_0x3869ee)));_0x537319[_0x59602c(0x44c)](_0x9aca76);});}return{'redos':[],'undos':[]};};this[_0x15ee01(0x387)][_0x15ee01(0x25a)]((_0x21bbb0,_0x156507)=>{const _0x595180=_0x15ee01,{range:_0x27e87a,sheetID:_0x47acfa}=_0x21bbb0,_0xceaa87=this[_0x595180(0x3bd)][_0x595180(0x3ec)](_0x27e87a,_0x5ac145=>(_0xceaa87[_0x595180(0x50f)](),_0x228532(_0x5ac145,_0x156507,_0x47acfa,_0x27e87a)));_0x537319[_0x595180(0x44c)](_0xceaa87);});};this[_0x2c0254(0x3fb)](_0x5a30f8(this[_0x2c0254(0x24d)]['subscribe'](()=>{_0x26770e();})));}[_0xdb88e7(0x46f)](){const _0x49d706=_0xdb88e7;var _0x2e67eb,_0x5326bc;if(this[_0x49d706(0x25d)]=!0x0,((_0x2e67eb=this[_0x49d706(0x372)][_0x49d706(0x437)]())==null?void 0x0:_0x2e67eb['getUnitId']())!==this[_0x49d706(0x209)])return;const _0x26984c=(_0x5326bc=this['_injector'][_0x49d706(0x2c9)](_0x42114f)[_0x49d706(0x4bb)]())==null?void 0x0:_0x5326bc[0x0],_0xa912f2=this[_0x49d706(0x372)][_0x49d706(0x4ab)](_0x28e552[_0x49d706(0x240)])[_0x49d706(0x559)]();_0x26984c&&_0xa912f2&&this[_0x49d706(0x3ed)](_0xa912f2['getSheetId'](),_0x26984c);}[_0xdb88e7(0x539)](){const _0x32ae6c=_0xdb88e7;this[_0x32ae6c(0x25d)]=!0x1;}};Pt=Hr([pe(0x2,_0x708a43(_0x262acb)),pe(0x3,_0x708a43(Kt)),pe(0x4,_0x708a43(le)),pe(0x5,_0x3c6560),pe(0x6,_0x49d215),pe(0x7,_0x708a43(_0x1e653a))],Pt);var Fr=Object[_0xdb88e7(0x396)],Wr=Object[_0xdb88e7(0x429)],Gr=(_0x17615e,_0x55954f,_0x4348d5,_0x506bef)=>{for(var _0x314cf8=_0x506bef>0x1?void 0x0:_0x506bef?Wr(_0x55954f,_0x4348d5):_0x55954f,_0x1d5c90=_0x17615e['length']-0x1,_0xf83d8d;_0x1d5c90>=0x0;_0x1d5c90--)(_0xf83d8d=_0x17615e[_0x1d5c90])&&(_0x314cf8=(_0x506bef?_0xf83d8d(_0x55954f,_0x4348d5,_0x314cf8):_0xf83d8d(_0x314cf8))||_0x314cf8);return _0x506bef&&_0x314cf8&&Fr(_0x55954f,_0x4348d5,_0x314cf8),_0x314cf8;},mt=(_0x37a6bb,_0x246492)=>(_0x363d11,_0x59c0eb)=>_0x246492(_0x363d11,_0x59c0eb,_0x37a6bb);let Ce=class extends _0x390154{constructor(_0x293c95,_0x139774,_0x2bb907){const _0x5df9ad=_0xdb88e7;super(),l(this,_0x5df9ad(0x3e9),new Map()),l(this,_0x5df9ad(0x320),new _0x116216()),(this[_0x5df9ad(0x372)]=_0x293c95,this['_injector']=_0x139774,this[_0x5df9ad(0x390)]=_0x2bb907,this[_0x5df9ad(0x454)]());}[_0xdb88e7(0x50f)](){const _0x28bbbb=_0xdb88e7;super[_0x28bbbb(0x50f)](),this[_0x28bbbb(0x320)]['complete'](),this['_entities']['forEach'](_0x129a40=>_0x129a40[_0x28bbbb(0x50f)]());}['getCollabCursors$'](_0x462499){const _0x35418c=_0xdb88e7;return this[_0x35418c(0x3e9)]['has'](_0x462499)?this['_entities'][_0x35418c(0x2c9)](_0x462499)[_0x35418c(0x434)]:this['_entityInit$'][_0x35418c(0x279)](_0x626e99(_0x121ce2=>_0x121ce2['unitID']===_0x462499),_0x35e5f3(_0x27ab4c=>_0x27ab4c['cursorInfo$']));}[_0xdb88e7(0x454)](){const _0x503d2a=_0xdb88e7;this[_0x503d2a(0x372)][_0x503d2a(0x35a)](_0x28e552['UNIVER_SHEET'])['pipe'](_0x13b5ec(this['dispose$']))[_0x503d2a(0x427)](async _0x35307e=>{const _0xaeef3e=_0x503d2a,_0x4d7779=_0x35307e[_0xaeef3e(0x444)](),_0x148035=await this[_0xaeef3e(0x37d)](_0x4d7779);this[_0xaeef3e(0x320)][_0xaeef3e(0x48e)](_0x148035),this['_entities'][_0xaeef3e(0x512)](_0x4d7779,_0x148035);}),this[_0x503d2a(0x372)][_0x503d2a(0x35a)](_0x28e552[_0x503d2a(0x2d8)])[_0x503d2a(0x279)](_0x13b5ec(this['dispose$']))['pipe'](_0x626e99(_0x86c100=>!_0x86c100[_0x503d2a(0x444)]()['startsWith']('__')))[_0x503d2a(0x427)](async _0x190fc4=>{const _0x474654=_0x503d2a,_0x12e767=_0x190fc4[_0x474654(0x444)](),_0x497496=await this['_startDocCollabCursor'](_0x12e767);this[_0x474654(0x320)]['next'](_0x497496),this[_0x474654(0x3e9)]['set'](_0x12e767,_0x497496);}),_0x28b2cd(this[_0x503d2a(0x372)][_0x503d2a(0x49a)](_0x28e552[_0x503d2a(0x2d8)]),this[_0x503d2a(0x372)][_0x503d2a(0x49a)](_0x28e552[_0x503d2a(0x240)]))[_0x503d2a(0x279)](_0x13b5ec(this[_0x503d2a(0x337)]))['subscribe'](_0x2529e0=>{const _0x294f58=_0x503d2a,_0x5745dc=_0x2529e0['getUnitId'](),_0x292a98=this[_0x294f58(0x3e9)]['get'](_0x5745dc);_0x292a98&&(_0x292a98[_0x294f58(0x50f)](),this[_0x294f58(0x3e9)][_0x294f58(0x410)](_0x5745dc));});}async[_0xdb88e7(0x37d)](_0x2770e6){const _0x407694=_0xdb88e7,_0x14563c=await this[_0x407694(0x390)]['requireSession'](_0x2770e6),_0x4db18e=this[_0x407694(0x48d)]['createInstance'](Pt,_0x2770e6,_0x14563c);return _0x4db18e[_0x407694(0x423)](),_0x4db18e;}async[_0xdb88e7(0x2c5)](_0x4acef1){const _0x49ca21=_0xdb88e7,_0x26a746=await this['_collabSessionService'][_0x49ca21(0x3d8)](_0x4acef1),_0x53aa74=this['_injector'][_0x49ca21(0x2bc)](wt,_0x4acef1,_0x26a746);return _0x53aa74[_0x49ca21(0x423)](),_0x53aa74;}};Ce=Gr([mt(0x0,_0x3c6560),mt(0x1,_0x708a43(_0x262acb)),mt(0x2,_0x708a43(_e))],Ce);const $e=0x14,gs=0xc8,ft=0x4,Yr=0x5;function Kr(_0x535e29,_0x12be3a){const _0x595d21=_0xdb88e7;let {radius:_0x53e100,width:_0x2379f2,height:_0x44c5ab}=_0x12be3a;_0x53e100=_0x53e100!=null?_0x53e100:0x0,_0x2379f2=_0x2379f2!=null?_0x2379f2:0x1e,_0x44c5ab=_0x44c5ab!=null?_0x44c5ab:0x1e;let _0x9f6cdf=0x0,_0x4ef957=0x0,_0x6c3f1f=0x0;_0x9f6cdf=_0x4ef957=_0x6c3f1f=Math[_0x595d21(0x533)](_0x53e100,_0x2379f2/0x2,_0x44c5ab/0x2),_0x535e29['beginPath'](),_0x535e29['moveTo'](_0x9f6cdf,0x0),_0x535e29[_0x595d21(0x1f7)](_0x2379f2-_0x4ef957,0x0),_0x535e29['arc'](_0x2379f2-_0x4ef957,_0x4ef957,_0x4ef957,Math['PI']*0x3/0x2,0x0,!0x1),_0x535e29[_0x595d21(0x1f7)](_0x2379f2,_0x44c5ab-_0x6c3f1f),_0x535e29[_0x595d21(0x334)](_0x2379f2-_0x6c3f1f,_0x44c5ab-_0x6c3f1f,_0x6c3f1f,0x0,Math['PI']/0x2,!0x1),_0x535e29[_0x595d21(0x1f7)](0x0,_0x44c5ab),_0x535e29[_0x595d21(0x1f7)](0x0,_0x9f6cdf),_0x535e29[_0x595d21(0x334)](_0x9f6cdf,_0x9f6cdf,_0x9f6cdf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x535e29['closePath'](),_0x12be3a[_0x595d21(0x3c5)]&&(_0x535e29[_0x595d21(0x1fe)](),_0x535e29[_0x595d21(0x27e)]=_0x12be3a['fill'],_0x12be3a['fillRule']===_0x595d21(0x325)?_0x535e29[_0x595d21(0x3c5)]('evenodd'):_0x535e29['fill'](),_0x535e29['restore']());}class nt extends _0x36fca9{constructor(_0x57642d,_0x575def){const _0x4b81e9=_0xdb88e7;super(_0x57642d,_0x575def),l(this,_0x4b81e9(0x53c)),l(this,_0x4b81e9(0x281)),(this[_0x4b81e9(0x53c)]=_0x575def==null?void 0x0:_0x575def[_0x4b81e9(0x53c)],this['text']=_0x575def==null?void 0x0:_0x575def[_0x4b81e9(0x281)]);}static[_0xdb88e7(0x3b5)](_0xeac0c4,_0x4f5b64){const _0x13f447=_0xdb88e7,{text:_0x50656e,color:_0x1196ea}=_0x4f5b64;_0xeac0c4['save'](),_0xeac0c4[_0x13f447(0x45e)]=_0x13f447(0x430);const _0xea1662=_0xeac0c4['measureText'](_0x50656e)[_0x13f447(0x54e)],_0x33da7d=Math[_0x13f447(0x533)](_0xea1662+0x2*ft,gs);Kr(_0xeac0c4,{'height':$e,'radius':0x4,'width':_0x33da7d,'fill':_0x1196ea,'evented':!0x1}),_0xeac0c4['fillStyle']='#FFF';const _0x461802=ft,_0x17c203=$e-Yr,_0x197397=gs-0x2*ft;if(_0xea1662>_0x197397){let _0x138c60='',_0x4ef811=0x0;for(const _0x14e33a of _0x50656e){const _0x3e3ceb=_0xeac0c4[_0x13f447(0x50a)](_0x14e33a)[_0x13f447(0x54e)];if(_0x4ef811+_0x3e3ceb<=_0x197397-_0xeac0c4[_0x13f447(0x50a)](_0x13f447(0x216))[_0x13f447(0x54e)])_0x138c60+=_0x14e33a,_0x4ef811+=_0x3e3ceb;else{_0x138c60+=_0x13f447(0x216);break;}}_0xeac0c4[_0x13f447(0x30f)](_0x138c60,_0x461802,_0x17c203);}else _0xeac0c4[_0x13f447(0x30f)](_0x50656e,_0x461802,_0x17c203);_0xeac0c4[_0x13f447(0x4f3)]();}['_draw'](_0x9e8e3f){const _0x17f4ee=_0xdb88e7;nt[_0x17f4ee(0x3b5)](_0x9e8e3f,this);}}const gt=_0xdb88e7(0x2b1),Xr=_0xdb88e7(0x365),qr=_0xdb88e7(0x34e),Pe=0x6,Jr=1.5,St=0x4,zr=1.5,Zr='rgba(255,\x20255,\x20255,\x200.01)';class Ss{constructor(_0x316922,_0xab9c66,_0xf277a9,_0x1b8282){const _0x1bdd00=_0xdb88e7;l(this,_0x1bdd00(0x463),[]),l(this,_0x1bdd00(0x31f),null),l(this,_0x1bdd00(0x46e),null),l(this,'_anchorDot',null),l(this,_0x1bdd00(0x252),null),l(this,_0x1bdd00(0x4b0),null),(this[_0x1bdd00(0x489)]=_0x316922,this['_scene']=_0xab9c66,this[_0x1bdd00(0x42e)]=_0xf277a9,this[_0x1bdd00(0x2c7)]=_0x1b8282,this[_0x1bdd00(0x4d1)]());}set[_0xdb88e7(0x452)](_0x524c09){const _0x29b479=_0xdb88e7;_0x524c09?(this[_0x29b479(0x47d)]&&this['_anchorDot'][_0x29b479(0x212)](),this[_0x29b479(0x46e)]&&this[_0x29b479(0x46e)][_0x29b479(0x32b)]()):(this[_0x29b479(0x47d)]&&this[_0x29b479(0x47d)][_0x29b479(0x32b)](),this['_textBubble']&&this[_0x29b479(0x46e)][_0x29b479(0x212)]());}[_0xdb88e7(0x50f)](){const _0x31f210=_0xdb88e7;for(const _0x3ead3c of this['_shapes'])_0x3ead3c[_0x31f210(0x50f)]();this[_0x31f210(0x46e)]&&this[_0x31f210(0x46e)][_0x31f210(0x50f)](),this[_0x31f210(0x47d)]&&this[_0x31f210(0x47d)]['dispose'](),this[_0x31f210(0x31f)]&&this[_0x31f210(0x31f)][_0x31f210(0x50f)](),this[_0x31f210(0x4b0)]&&this['_eventUnsubscribe']();}['_render'](){const _0x23aebe=_0xdb88e7;var _0x1e8cbd;const {_docSkeleton:_0x355173,_document:_0x2c74cd}=this,{color:_0x3ef6cd,name:_0x49157c,ranges:_0x5412f2}=this[_0x23aebe(0x489)],_0x1d77b1=_0x2c74cd[_0x23aebe(0x37c)](),{docsLeft:_0x5dee9b,docsTop:_0x593d69}=_0x1d77b1,_0x4cd4f8=new _0x8a2207(_0x1d77b1,_0x355173);for(const {startOffset:_0x5d0fb1,endOffset:_0x43b075,rangeType:_0x5c09ee,segmentId:_0xb1d5ae,segmentPage:_0x4f1710,collapsed:_0x4799d3,isActive:_0x41ea6d}of _0x5412f2){const _0x4b35f4=_0x355173[_0x23aebe(0x4a7)](_0x5d0fb1,!0x0,_0xb1d5ae,_0x4f1710);let _0xb1713c=_0x355173[_0x23aebe(0x4a7)](_0x43b075,!0x0,_0xb1d5ae,_0x4f1710);if(_0xb1713c==null&&(_0xb1713c=_0x355173[_0x23aebe(0x4a7)](_0x43b075-0x1,!0x1,_0xb1d5ae,_0x4f1710)),_0x41ea6d){const {contentBoxPointGroup:_0x504ff4}=_0x4cd4f8[_0x23aebe(0x21b)](_0xb1713c,_0xb1713c);if(_0x504ff4[_0x23aebe(0x530)]===0x0)continue;this[_0x23aebe(0x46c)](_0x3ef6cd,_0x504ff4,_0x5dee9b,_0x593d69,_0x49157c),this[_0x23aebe(0x4b0)]=this[_0x23aebe(0x2ce)]();}if(!_0x4799d3&&_0x4b35f4&&_0xb1713c){if(_0x5c09ee===_0x218c39[_0x23aebe(0x348)]){const _0x37ed5c=new _0x459e6f(_0x1d77b1,_0x355173),{pointGroup:_0x2963ed}=(_0x1e8cbd=_0x37ed5c[_0x23aebe(0x21b)](_0x4b35f4,_0xb1713c))!=null?_0x1e8cbd:{};if(_0x2963ed==null||_0x2963ed[_0x23aebe(0x530)]===0x0)continue;this[_0x23aebe(0x386)](_0x3ef6cd,_0x2963ed,_0x5dee9b,_0x593d69);}else{const {borderBoxPointGroup:_0x3b3980}=_0x4cd4f8[_0x23aebe(0x21b)](_0x4b35f4,_0xb1713c);if(_0x3b3980[_0x23aebe(0x530)]===0x0)continue;this[_0x23aebe(0x560)](_0x3ef6cd,_0x3b3980,_0x5dee9b,_0x593d69);}}}}['_drawAnchor'](_0x2a1f79,_0x5d646b,_0x30a898,_0x6ce64b,_0x10a5a2){const _0x591f13=_0xdb88e7,_0xd9f167=this[_0x591f13(0x3cc)](_0x5d646b),{left:_0x1fd7df,top:_0x311d85,height:_0x4f75fd}=_0xd9f167,_0x462c1b=this[_0x591f13(0x4bd)](),_0x303c92=zr/_0x462c1b,_0xcc6639=new _0x446586(gt+_0x11b4bd[_0x591f13(0x2da)](Pe),{'left':_0x1fd7df+_0x30a898-_0x303c92,'top':_0x311d85+_0x6ce64b,'height':_0x4f75fd,'width':Jr,'fill':_0x2a1f79||_0x283740(_0x11d874[_0x591f13(0x290)],0x0),'strokeWidth':_0x303c92,'stroke':Zr,'evented':!0x0});this['_anchor']=_0xcc6639,this[_0x591f13(0x3c1)][_0x591f13(0x4fb)](_0xcc6639,_0x239e0b);const _0x4a2854=new _0x446586(gt+_0x11b4bd[_0x591f13(0x2da)](Pe),{'left':_0x1fd7df+_0x30a898-_0x303c92,'top':_0x311d85+_0x6ce64b-St/0x2,'height':St,'width':St,'fill':_0x2a1f79||_0x283740(_0x11d874[_0x591f13(0x290)],0x0),'strokeWidth':0x0,'stroke':_0x2a1f79||_0x283740(_0x11d874['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x4a2854,this[_0x591f13(0x3c1)][_0x591f13(0x4fb)](_0x4a2854,_0x239e0b);const _0x346231=new nt(gt+_0x11b4bd[_0x591f13(0x2da)](Pe),{'left':_0x1fd7df+_0x30a898-_0x303c92,'top':_0x311d85+_0x6ce64b-$e,'text':_0x10a5a2,'color':_0x2a1f79});this[_0x591f13(0x46e)]=_0x346231,this[_0x591f13(0x3c1)][_0x591f13(0x4fb)](_0x346231,_0x239e0b),this[_0x591f13(0x452)]=!0x1;}[_0xdb88e7(0x2ce)](){const _0x15cafb=_0xdb88e7,_0x16c496=this[_0x15cafb(0x31f)][_0x15cafb(0x553)][_0x15cafb(0x23b)](()=>{const _0x5008bb=_0x15cafb;this[_0x5008bb(0x452)]=!0x0;}),_0x5198f7=this[_0x15cafb(0x31f)][_0x15cafb(0x47b)][_0x15cafb(0x23b)](()=>{const _0x37f4cf=_0x15cafb;this['_hideTimer']&&clearTimeout(this[_0x37f4cf(0x252)]),this['_hideTimer']=setTimeout(()=>{const _0x46802e=_0x37f4cf;this[_0x46802e(0x452)]=!0x1;},0x7d0);});return()=>{const _0x3fa215=_0x15cafb;_0x16c496[_0x3fa215(0x3c3)](),_0x5198f7[_0x3fa215(0x3c3)]();};}[_0xdb88e7(0x560)](_0x30f2a0,_0x81d567,_0xa0b25f,_0x423cc4){const _0x51eaae=_0xdb88e7,_0x1b7163=new _0x172a9f(_0x30f2a0)[_0x51eaae(0x4dd)](0.2)['toRgbString'](),_0x2a59fa=new _0xd7c8fa(Xr+_0x11b4bd[_0x51eaae(0x2da)](Pe),{'pointsGroup':_0x81d567,'fill':_0x1b7163||_0x283740(_0x11d874[_0x51eaae(0x290)],0.2),'left':_0xa0b25f,'top':_0x423cc4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x51eaae(0x463)]['push'](_0x2a59fa),this[_0x51eaae(0x3c1)][_0x51eaae(0x4fb)](_0x2a59fa,_0x239e0b);}['_drawRectRange'](_0x1d683,_0x208d78,_0x5bc45d,_0x509ef6){const _0x40a901=_0xdb88e7,_0x314905=new _0x172a9f(_0x1d683)[_0x40a901(0x4dd)](0.2)[_0x40a901(0x229)](),_0x339d3c=new _0xd7c8fa(qr+_0x11b4bd[_0x40a901(0x2da)](Pe),{'pointsGroup':_0x208d78,'fill':_0x314905||_0x283740(_0x11d874[_0x40a901(0x290)],0.2),'left':_0x5bc45d,'top':_0x509ef6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x40a901(0x463)][_0x40a901(0x393)](_0x339d3c),this[_0x40a901(0x3c1)][_0x40a901(0x4fb)](_0x339d3c,_0x239e0b);}[_0xdb88e7(0x3cc)](_0x4306bc){const _0x23b917=_0x4306bc[0x0],_0x5a241d=_0x23b917[0x0],_0xa388e7=_0x23b917[0x2],{x:_0x1db42c,y:_0x5d13f8}=_0x5a241d,{x:_0x19ab3e,y:_0x23b9f0}=_0xa388e7;return{'left':_0x1db42c,'top':_0x5d13f8,'width':_0x19ab3e-_0x1db42c,'height':_0x23b9f0-_0x5d13f8};}[_0xdb88e7(0x4bd)](){const _0x4dd163=_0xdb88e7,{scaleX:_0x2a656d,scaleY:_0x42ae85}=this[_0x4dd163(0x3c1)][_0x4dd163(0x552)]();return Math[_0x4dd163(0x459)](_0x2a656d,_0x42ae85);}}var Qr=Object[_0xdb88e7(0x396)],eo=Object[_0xdb88e7(0x429)],to=(_0x351b02,_0x4c5ced,_0x497e6a,_0x521523)=>{const _0x1086b9=_0xdb88e7;for(var _0x5d7982=_0x521523>0x1?void 0x0:_0x521523?eo(_0x4c5ced,_0x497e6a):_0x4c5ced,_0x395993=_0x351b02[_0x1086b9(0x530)]-0x1,_0x58efb2;_0x395993>=0x0;_0x395993--)(_0x58efb2=_0x351b02[_0x395993])&&(_0x5d7982=(_0x521523?_0x58efb2(_0x4c5ced,_0x497e6a,_0x5d7982):_0x58efb2(_0x5d7982))||_0x5d7982);return _0x521523&&_0x5d7982&&Qr(_0x4c5ced,_0x497e6a,_0x5d7982),_0x5d7982;},ke=(_0x1a699c,_0x4ec4c4)=>(_0x3b22ee,_0x2ca6c9)=>_0x4ec4c4(_0x3b22ee,_0x2ca6c9,_0x1a699c);let yt=class extends _0x390154{constructor(_0x1ff78a,_0x3f48d7,_0x2096e0,_0x187628,_0x80451f){const _0x54e868=_0xdb88e7;super(),l(this,_0x54e868(0x4a9),[]),l(this,'_cursors',[]),(this[_0x54e868(0x233)]=_0x1ff78a,this[_0x54e868(0x34d)]=_0x3f48d7,this[_0x54e868(0x3ff)]=_0x2096e0,this[_0x54e868(0x376)]=_0x187628,this[_0x54e868(0x1fd)]=_0x80451f,this[_0x54e868(0x454)]());}['_init'](){const _0x21b381=_0xdb88e7,_0x30e8a1=this[_0x21b381(0x233)][_0x21b381(0x2ab)],_0x48fbdf=this[_0x21b381(0x34d)];this[_0x21b381(0x3fb)](_0x5b2c23([this['_collabCursorController'][_0x21b381(0x527)](_0x30e8a1),this[_0x21b381(0x1fd)][_0x21b381(0x268)]])[_0x21b381(0x279)](_0x1c8fcb(([_0x55d029,_0x4e5c29])=>({'skeleton':_0x48fbdf[_0x21b381(0x1f3)](),'cursors':[..._0x55d029['values']()]['flatMap'](_0xecf20b=>({..._0xecf20b,'color':_0x4e5c29[_0xecf20b[_0x21b381(0x53c)]]}))})))['subscribe'](_0x33b916=>{const _0x80441b=_0x21b381;if(this['_removeCollabCursors'](),_0x33b916){const {skeleton:_0x4af453,cursors:_0x3dd7e6}=_0x33b916;this[_0x80441b(0x4d8)](_0x4af453,_0x3dd7e6);}})),this[_0x21b381(0x20e)](),this[_0x21b381(0x36a)]();}[_0xdb88e7(0x4d8)](_0x24d705,_0x36f050){const _0xc73508=_0xdb88e7,{scene:_0x30d03a,mainComponent:_0x3d916d}=this[_0xc73508(0x233)],_0x588308=_0x36f050[_0xc73508(0x295)](_0x4ef116=>new Ss(_0x4ef116,_0x30d03a,_0x24d705,_0x3d916d));this[_0xc73508(0x4a9)]=_0x588308,this[_0xc73508(0x321)]=_0x36f050;}[_0xdb88e7(0x4aa)](){const _0x25901f=_0xdb88e7;this[_0x25901f(0x3ae)]();const {scene:_0x1d3eff,mainComponent:_0x4110b4}=this[_0x25901f(0x233)],_0x170e30=this[_0x25901f(0x34d)][_0x25901f(0x1f3)](),_0x9f52d7=this[_0x25901f(0x321)][_0x25901f(0x295)](_0x3889f0=>new Ss(_0x3889f0,_0x1d3eff,_0x170e30,_0x4110b4));this[_0x25901f(0x4a9)]=_0x9f52d7;}[_0xdb88e7(0x3ae)](){const _0x5aead6=_0xdb88e7;this[_0x5aead6(0x4a9)][_0x5aead6(0x25a)](_0x2950a1=>_0x2950a1[_0x5aead6(0x50f)]()),this[_0x5aead6(0x4a9)]=[];}[_0xdb88e7(0x36a)](){const _0x17eb9a=_0xdb88e7,_0x43ad61=[_0x2d3a74['id']];this[_0x17eb9a(0x3fb)](this[_0x17eb9a(0x376)]['onCommandExecuted'](_0x543c94=>{const _0x1efa3b=_0x17eb9a;_0x43ad61[_0x1efa3b(0x4ec)](_0x543c94['id'])&&_0x543c94['params'][_0x1efa3b(0x2ab)]===this[_0x1efa3b(0x233)]['unitId']&&this['_refreshCollabCursors']();}));}[_0xdb88e7(0x20e)](){const _0x3b2c0c=_0xdb88e7;this[_0x3b2c0c(0x3fb)](_0x2c115a(this[_0x3b2c0c(0x233)]['engine']['onTransformChange$'])[_0x3b2c0c(0x279)](_0x4be362(_0xe7f264=>_0xe7f264[_0x3b2c0c(0x4b9)]===_0x33332a[_0x3b2c0c(0x1e7)]),_0x39e4d1(0x10))[_0x3b2c0c(0x427)](()=>{const _0x568899=_0x3b2c0c;this[_0x568899(0x4aa)]();}));}};yt=to([ke(0x1,_0x708a43(_0x52a42e)),ke(0x2,_0x708a43(Ce)),ke(0x3,_0x49d215),ke(0x4,_0x708a43(_0x5d4153))],yt);const so=0x1,io=1.5;class no extends _0x36fca9{constructor(_0x34f3ed,_0x5a1adb){const _0xbf463b=_0xdb88e7;super(_0x34f3ed,_0x5a1adb),l(this,_0xbf463b(0x3a9)),l(this,_0xbf463b(0x2c8),!0x1),l(this,_0xbf463b(0x3d5)),l(this,_0xbf463b(0x426),''),l(this,_0xbf463b(0x254),_0xbf463b(0x322)),l(this,_0xbf463b(0x374)),(_0x5a1adb&&this[_0xbf463b(0x29c)](_0x5a1adb),this[_0xbf463b(0x553)]['subscribeEvent'](()=>this[_0xbf463b(0x29c)]({'hovered':!0x0})),this[_0xbf463b(0x47b)][_0xbf463b(0x23b)](()=>this[_0xbf463b(0x29c)]({'hovered':!0x1})));}[_0xdb88e7(0x29c)](_0x5e32ad){const _0x1fe7a0=_0xdb88e7;var _0x411601,_0xf74a82,_0x102e41,_0x4fac01,_0x13981f,_0xef2878;this[_0x1fe7a0(0x3a9)]=(_0x411601=_0x5e32ad[_0x1fe7a0(0x53c)])!=null?_0x411601:this['_color'],this[_0x1fe7a0(0x2c8)]=(_0xf74a82=_0x5e32ad[_0x1fe7a0(0x1f1)])!=null?_0xf74a82:this[_0x1fe7a0(0x2c8)],this[_0x1fe7a0(0x3d5)]=(_0x102e41=_0x5e32ad[_0x1fe7a0(0x243)])!=null?_0x102e41:this[_0x1fe7a0(0x3d5)],this[_0x1fe7a0(0x426)]=(_0x4fac01=_0x5e32ad[_0x1fe7a0(0x2f9)])!=null?_0x4fac01:this[_0x1fe7a0(0x426)],this[_0x1fe7a0(0x254)]=(_0x13981f=_0x5e32ad[_0x1fe7a0(0x548)])!=null?_0x13981f:this[_0x1fe7a0(0x254)],this[_0x1fe7a0(0x374)]=(_0xef2878=_0x5e32ad[_0x1fe7a0(0x378)])!=null?_0xef2878:this[_0x1fe7a0(0x374)],this[_0x1fe7a0(0x519)]({'width':_0x5e32ad[_0x1fe7a0(0x54e)],'height':_0x5e32ad[_0x1fe7a0(0x394)]});}['onMouseMove'](_0x5e635f){const _0x26ea70=_0xdb88e7,{row:_0x5da3f6,column:_0x42ea8c}=_0x5e635f;if(_0x5da3f6>=this[_0x26ea70(0x3d5)]['startRow']&&_0x5da3f6<=this[_0x26ea70(0x3d5)]['endRow']&&_0x42ea8c>=this['_range'][_0x26ea70(0x51e)]&&_0x42ea8c<=this[_0x26ea70(0x3d5)][_0x26ea70(0x460)]){this[_0x26ea70(0x29c)]({'hovered':!0x0});return;}this[_0x26ea70(0x29c)]({'hovered':!0x1});}[_0xdb88e7(0x4a4)](_0x1a1534){return!0x1;}[_0xdb88e7(0x4b1)](_0x2fb9b4){const _0x49b10d=_0xdb88e7;_0x446586['drawWith'](_0x2fb9b4,{'width':this[_0x49b10d(0x54e)],'height':this[_0x49b10d(0x394)],'strokeWidth':io,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x49b10d(0x2c8)]&&(_0x2fb9b4[_0x49b10d(0x1fe)](),_0x2fb9b4[_0x49b10d(0x488)](0x1,0x0,0x0,0x1,this['width'],this[_0x49b10d(0x254)]===_0x49b10d(0x30b)?0x0:-$e),nt['drawWith'](_0x2fb9b4,{'text':this['_name'],'color':this['_color']}),_0x2fb9b4[_0x49b10d(0x4f3)]());}}var ro=Object[_0xdb88e7(0x396)],oo=Object[_0xdb88e7(0x429)],ao=(_0x1350a6,_0x5ee82f,_0xcb97a,_0x1efb14)=>{const _0x4f6727=_0xdb88e7;for(var _0x126a45=_0x1efb14>0x1?void 0x0:_0x1efb14?oo(_0x5ee82f,_0xcb97a):_0x5ee82f,_0x233852=_0x1350a6[_0x4f6727(0x530)]-0x1,_0x603cf0;_0x233852>=0x0;_0x233852--)(_0x603cf0=_0x1350a6[_0x233852])&&(_0x126a45=(_0x1efb14?_0x603cf0(_0x5ee82f,_0xcb97a,_0x126a45):_0x603cf0(_0x126a45))||_0x126a45);return _0x1efb14&&_0x126a45&&ro(_0x5ee82f,_0xcb97a,_0x126a45),_0x126a45;},pt=(_0x288ca1,_0x1e9323)=>(_0x19bdcf,_0x18f59e)=>_0x1e9323(_0x19bdcf,_0x18f59e,_0x288ca1);const co=0x1389;let Ut=class extends _0x390154{constructor(_0x5c21be,_0x3235cc,_0x301ce4,_0x2fe81d){const _0x3f1ce5=_0xdb88e7;super(),l(this,'_cursors',new Set()),l(this,_0x3f1ce5(0x2cc),null),(this[_0x3f1ce5(0x233)]=_0x5c21be,this[_0x3f1ce5(0x432)]=_0x3235cc,this[_0x3f1ce5(0x3ff)]=_0x301ce4,this[_0x3f1ce5(0x1fd)]=_0x2fe81d,this[_0x3f1ce5(0x454)]());}[_0xdb88e7(0x454)](){const _0x4026d1=_0xdb88e7;this['_sheetSkeletonManagerService'][_0x4026d1(0x277)][_0x4026d1(0x279)](_0x5bdd99(this[_0x4026d1(0x337)]),_0x40195d(_0x2827d1=>{const _0x3f3d5f=_0x4026d1;if(_0x2827d1){const _0x2d43fd=_0x2827d1['sheetId'];return _0x5b2c23(this[_0x3f3d5f(0x3ff)][_0x3f3d5f(0x527)](this[_0x3f3d5f(0x233)][_0x3f3d5f(0x2ab)]),this[_0x3f3d5f(0x1fd)][_0x3f3d5f(0x268)])[_0x3f3d5f(0x279)](_0x1c8fcb(([_0x3f4057,_0x27ae83])=>{const _0x35ab00=_0x3f3d5f,_0x55174a=new Map();return _0x3f4057[_0x35ab00(0x25a)]((_0xfb675b,_0x400ebd)=>{const _0x5ee34b=_0x35ab00;if(_0xfb675b['sheetID']===_0x2d43fd){const _0x4c4178={..._0xfb675b};_0x4c4178[_0x5ee34b(0x53c)]=_0x27ae83[_0xfb675b[_0x5ee34b(0x53c)]],_0x55174a[_0x5ee34b(0x512)](_0x400ebd,_0x4c4178);}}),{'skeleton':_0x2827d1,'cursors':_0x55174a};}));}return _0x43095f({'skeleton':null,'cursors':new Map()});}))[_0x4026d1(0x427)](({skeleton:_0xfb52cd,cursors:_0x24f77c})=>{const _0x5048e0=_0x4026d1;this[_0x5048e0(0x3ae)](),_0xfb52cd&&this[_0x5048e0(0x4d8)](_0xfb52cd,_0x24f77c);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4026d1(0x427)](_0x4dc1ff=>{const _0x51e2a9=_0x4026d1;if(_0x4dc1ff==null)return;const {skeleton:_0x5e0f67}=_0x4dc1ff,{scene:_0x34688a}=this[_0x51e2a9(0x233)];_0x34688a[_0x51e2a9(0x2fb)][_0x51e2a9(0x23b)](_0x37e502(_0x475cfc=>{const _0x830b83=_0x51e2a9;var _0x52a9be,_0x2f0c0a;const {offsetX:_0x472d99,offsetY:_0x4b6908}=_0x475cfc,{x:_0x1d83a5,y:_0x23726b}=_0x34688a['getRelativeToViewportCoord'](_0x3f8eb1[_0x830b83(0x546)]([_0x472d99,_0x4b6908])),{scaleX:_0x46a9ab,scaleY:_0x1b4200}=_0x34688a[_0x830b83(0x552)](),_0xdd39a=_0x34688a[_0x830b83(0x202)](_0x5540f4[_0x830b83(0x244)]),_0x31b6bf=_0x34688a['getVpScrollXYInfoByPosToVp'](_0x3f8eb1[_0x830b83(0x546)]([_0x1d83a5,_0x23726b]),_0xdd39a),_0x4c9615=_0x5e0f67['getCellPositionByOffset'](_0x472d99,_0x4b6908,_0x46a9ab,_0x1b4200,_0x31b6bf);((_0x52a9be=this['_lastPointer'])==null?void 0x0:_0x52a9be[_0x830b83(0x286)])===_0x4c9615[_0x830b83(0x286)]&&((_0x2f0c0a=this[_0x830b83(0x2cc)])==null?void 0x0:_0x2f0c0a[_0x830b83(0x1f0)])===_0x4c9615[_0x830b83(0x1f0)]||this[_0x830b83(0x321)][_0x830b83(0x25a)](_0x2a6df1=>{_0x2a6df1['onMouseMove'](_0x4c9615);});},0x64));});}[_0xdb88e7(0x4d8)](_0x1c41de,_0x578ff3){const _0x1cb103=_0xdb88e7;var _0x4f76cf;const _0x1d7fb0=(_0x4f76cf=this[_0x1cb103(0x432)]['getCurrent']())==null?void 0x0:_0x4f76cf['skeleton'];if(!_0x1d7fb0)return;const _0x327f1f=this['_getSheetObject']();if(!_0x327f1f)return;this[_0x1cb103(0x321)][_0x1cb103(0x25a)](_0x10df9f=>{const _0x2d6932=_0x1cb103;_0x10df9f[_0x2d6932(0x43a)]();});const {scene:_0x519760}=_0x327f1f,_0x3974e5=ho(Array[_0x1cb103(0x328)](_0x578ff3[_0x1cb103(0x550)]()))[_0x1cb103(0x295)](_0x15cbb1=>{const _0x1b8c75=_0x1cb103,{color:_0x19bf62,range:_0x6aa15e,name:_0x4ba4b8,selection:_0x196c59,sheetID:_0x62949e}=_0x15cbb1,{startColumn:_0x2a261b,startRow:_0xe22459,endColumn:_0x2a8af4,endRow:_0x24075d}=_0x6aa15e,_0x1588e9=_0x5beea8(_0xe22459,_0x2a261b,_0x519760,_0x1d7fb0),_0x7e1901=_0x5beea8(_0x24075d,_0x2a8af4,_0x519760,_0x1d7fb0),{columnHeaderHeightAndMarginTop:_0x3ec99d}=_0x1d7fb0,{startX:_0x32a266,startY:_0xc7108f}=_0x1588e9,{endX:_0x188248,endY:_0x43dc71}=_0x7e1901,_0x4e4db5=_0x188248-_0x32a266,_0x537d36=_0x43dc71-_0xc7108f,_0x4fc57a={'labelPosition':_0xc7108f-_0x3ec99d>=$e?'top':_0x1b8c75(0x30b),'sheetID':_0x62949e,'range':_0x6aa15e,'color':_0x19bf62,'name':_0x4ba4b8,'selection':_0x196c59,'left':_0x32a266,'top':_0xc7108f,'width':_0x4e4db5,'height':_0x537d36,'evented':!0x1,'zIndex':co};return new no(_0x4ba4b8,_0x4fc57a);});_0x519760[_0x1cb103(0x469)](_0x3974e5,so),this[_0x1cb103(0x321)]=new Set(_0x3974e5);}[_0xdb88e7(0x3ae)](){const _0x38ad62=_0xdb88e7;var _0x5105e2;(_0x5105e2=this[_0x38ad62(0x321)])==null||_0x5105e2[_0x38ad62(0x25a)](_0x4e12fd=>_0x4e12fd[_0x38ad62(0x50f)]());}[_0xdb88e7(0x3cd)](){const _0x2bd70a=_0xdb88e7;return _0x117c00(this[_0x2bd70a(0x233)]['unit'],this[_0x2bd70a(0x233)]);}};Ut=ao([pt(0x1,_0x708a43(_0x3e6935)),pt(0x2,_0x708a43(Ce)),pt(0x3,_0x708a43(_0x5d4153))],Ut);function ho(_0x4f562b){const _0x5bfadc=_0xdb88e7,_0xa25037=new Map();return _0x4f562b[_0x5bfadc(0x25a)](_0x4c58e2=>{const _0x47be22=_0x5bfadc;if(_0xa25037[_0x47be22(0x302)](_0x4c58e2['selection'])){const _0x23b79e=_0xa25037[_0x47be22(0x2c9)](_0x4c58e2['selection']);_0x23b79e['name']+=',\x20'+_0x4c58e2[_0x47be22(0x2f9)];}else _0xa25037['set'](_0x4c58e2[_0x47be22(0x3d4)],_0x4c58e2);}),Array['from'](_0xa25037[_0x5bfadc(0x550)]());}var U=function(){const _0xfce390=_0xdb88e7;return U=Object[_0xfce390(0x3fe)]||function(_0x4172e9){const _0x3d9d03=_0xfce390;for(var _0x33b074,_0x170996=0x1,_0x504324=arguments[_0x3d9d03(0x530)];_0x170996<_0x504324;_0x170996++){_0x33b074=arguments[_0x170996];for(var _0x4d6055 in _0x33b074)Object[_0x3d9d03(0x22c)]['hasOwnProperty'][_0x3d9d03(0x319)](_0x33b074,_0x4d6055)&&(_0x4172e9[_0x4d6055]=_0x33b074[_0x4d6055]);}return _0x4172e9;},U[_0xfce390(0x257)](this,arguments);},lo=function(_0x26d86f,_0x5ae3e2){const _0x58d72c=_0xdb88e7;var _0x4cee91={};for(var _0x411216 in _0x26d86f)Object[_0x58d72c(0x22c)][_0x58d72c(0x3d2)][_0x58d72c(0x319)](_0x26d86f,_0x411216)&&_0x5ae3e2[_0x58d72c(0x4c6)](_0x411216)<0x0&&(_0x4cee91[_0x411216]=_0x26d86f[_0x411216]);if(_0x26d86f!=null&&typeof Object['getOwnPropertySymbols']==_0x58d72c(0x53d)){for(var _0x3e7735=0x0,_0x411216=Object[_0x58d72c(0x439)](_0x26d86f);_0x3e7735<_0x411216[_0x58d72c(0x530)];_0x3e7735++)_0x5ae3e2[_0x58d72c(0x4c6)](_0x411216[_0x3e7735])<0x0&&Object[_0x58d72c(0x22c)]['propertyIsEnumerable'][_0x58d72c(0x319)](_0x26d86f,_0x411216[_0x3e7735])&&(_0x4cee91[_0x411216[_0x3e7735]]=_0x26d86f[_0x411216[_0x3e7735]]);}return _0x4cee91;},Xt=_0x154754(function(_0x5fb4c1,_0x5e8c52){const _0x2dba9a=_0xdb88e7;var _0x590e5d=_0x5fb4c1[_0x2dba9a(0x351)],_0x8cfc9b=_0x5fb4c1['id'],_0x1186b4=_0x5fb4c1[_0x2dba9a(0x266)],_0x121467=_0x5fb4c1['extend'],_0x286448=lo(_0x5fb4c1,[_0x2dba9a(0x351),'id',_0x2dba9a(0x266),'extend']),_0x32d6d6='univerjs-icon\x20univerjs-icon-'[_0x2dba9a(0x2ee)](_0x8cfc9b,'\x20')[_0x2dba9a(0x2ee)](_0x1186b4||'')[_0x2dba9a(0x2e1)](),_0x278cc6=_0x2453d4('_'[_0x2dba9a(0x2ee)](mo()));return qs(_0x590e5d,''[_0x2dba9a(0x2ee)](_0x8cfc9b),{'defIds':_0x590e5d['defIds'],'idSuffix':_0x278cc6['current']},U({'ref':_0x5e8c52,'className':_0x32d6d6},_0x286448),_0x121467);});function qs(_0x37100a,_0x12a32b,_0x244902,_0xab6922,_0x7b1da4){const _0x3c0fc6=_0xdb88e7;return _0x408a07(_0x37100a[_0x3c0fc6(0x3f2)],U(U({'key':_0x12a32b},_o(_0x37100a,_0x244902,_0x7b1da4)),_0xab6922),(uo(_0x37100a,_0x244902)[_0x3c0fc6(0x401)]||[])[_0x3c0fc6(0x295)](function(_0x2218c0,_0x1a9723){const _0xbd82f2=_0x3c0fc6;return qs(_0x2218c0,''[_0xbd82f2(0x2ee)](_0x12a32b,'-')[_0xbd82f2(0x2ee)](_0x37100a['tag'],'-')['concat'](_0x1a9723),_0x244902,void 0x0,_0x7b1da4);}));}function _o(_0xe95a7f,_0x55bd06,_0x5dd5b5){const _0x16ac00=_0xdb88e7;var _0x3af898=U({},_0xe95a7f[_0x16ac00(0x554)]);_0x5dd5b5!=null&&_0x5dd5b5[_0x16ac00(0x2de)]&&_0x3af898[_0x16ac00(0x3c5)]===_0x16ac00(0x2de)&&(_0x3af898[_0x16ac00(0x3c5)]=_0x5dd5b5['colorChannel1']);var _0x1d0c77=_0x55bd06[_0x16ac00(0x33c)];return!_0x1d0c77||_0x1d0c77[_0x16ac00(0x530)]===0x0||(_0xe95a7f[_0x16ac00(0x3f2)]===_0x16ac00(0x536)&&_0x3af898[_0x16ac00(0x26e)]&&(_0x3af898[_0x16ac00(0x26e)]=_0x3af898[_0x16ac00(0x26e)]+_0x55bd06[_0x16ac00(0x48b)]),Object[_0x16ac00(0x1e6)](_0x3af898)[_0x16ac00(0x25a)](function(_0x581162){const _0x424ade=_0x16ac00;var _0x22c688=_0x581162[0x0],_0x4b96b3=_0x581162[0x1];typeof _0x4b96b3==_0x424ade(0x33e)&&(_0x3af898[_0x22c688]=_0x4b96b3['replace'](/url\(#(.*)\)/,_0x424ade(0x494)['concat'](_0x55bd06['idSuffix'],')')));})),_0x3af898;}function uo(_0x2766cf,_0x55dc3c){const _0x362295=_0xdb88e7;var _0x2d521b,_0x1b320a=_0x55dc3c[_0x362295(0x33c)];return!_0x1b320a||_0x1b320a[_0x362295(0x530)]===0x0?_0x2766cf:_0x2766cf[_0x362295(0x3f2)]===_0x362295(0x435)&&(!((_0x2d521b=_0x2766cf[_0x362295(0x401)])===null||_0x2d521b===void 0x0)&&_0x2d521b['length'])?U(U({},_0x2766cf),{'children':_0x2766cf[_0x362295(0x401)][_0x362295(0x295)](function(_0x3fa3cd){const _0x134c2c=_0x362295;return typeof _0x3fa3cd[_0x134c2c(0x554)]['id']==_0x134c2c(0x33e)&&_0x1b320a&&_0x1b320a[_0x134c2c(0x4c6)](_0x3fa3cd[_0x134c2c(0x554)]['id'])>-0x1?U(U({},_0x3fa3cd),{'attrs':U(U({},_0x3fa3cd['attrs']),{'id':_0x3fa3cd[_0x134c2c(0x554)]['id']+_0x55dc3c[_0x134c2c(0x48b)]})}):_0x3fa3cd;})}):_0x2766cf;}function mo(){const _0x56cd0e=_0xdb88e7;return Math['random']()[_0x56cd0e(0x373)](0x24)[_0x56cd0e(0x349)](0x2,0x8);}Xt[_0xdb88e7(0x4ee)]=_0xdb88e7(0x346);var fo={'tag':_0xdb88e7(0x357),'attrs':{'fill':_0xdb88e7(0x501),'viewBox':_0xdb88e7(0x2e8),'width':_0xdb88e7(0x54c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xdb88e7(0x405),'attrs':{'stroke':_0xdb88e7(0x40c),'d':_0xdb88e7(0x33f),'strokeLinecap':_0xdb88e7(0x37f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xdb88e7(0x3db)},'children':[{'tag':'path','attrs':{'fill':_0xdb88e7(0x2ec),'d':_0xdb88e7(0x36c)}}]}]}],'defIds':[_0xdb88e7(0x3db)]},Js=_0x154754(function(_0x2e1940,_0x2b15cd){const _0x27f221=_0xdb88e7;return _0x408a07(Xt,Object[_0x27f221(0x3fe)]({},_0x2e1940,{'id':_0x27f221(0x48f),'ref':_0x2b15cd,'icon':fo}));});Js['displayName']=_0xdb88e7(0x4f8);var go={'tag':_0xdb88e7(0x357),'attrs':{'fill':_0xdb88e7(0x501),'viewBox':'0\x200\x2017\x2016','width':_0xdb88e7(0x54c),'height':_0xdb88e7(0x54c)},'children':[{'tag':'g','attrs':{'clipPath':_0xdb88e7(0x2d0)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0xdb88e7(0x2a6),'strokeLinecap':_0xdb88e7(0x37f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xdb88e7(0x435),'attrs':{},'children':[{'tag':_0xdb88e7(0x3ef),'attrs':{'id':_0xdb88e7(0x28c)},'children':[{'tag':_0xdb88e7(0x405),'attrs':{'fill':_0xdb88e7(0x2ec),'d':_0xdb88e7(0x36c),'transform':_0xdb88e7(0x1ed)}}]}]}],'defIds':['on-line-single_clip0_910_349']},zs=_0x154754(function(_0x299e9b,_0x2afa00){const _0x1e05ff=_0xdb88e7;return _0x408a07(Xt,Object[_0x1e05ff(0x3fe)]({},_0x299e9b,{'id':'on-line-single','ref':_0x2afa00,'icon':go}));});zs[_0xdb88e7(0x4ee)]=_0xdb88e7(0x499);function Zs(_0x11d4c5){const _0x3a5cba=_0xdb88e7;var _0x425059,_0x9a5939,_0x42281d='';if(typeof _0x11d4c5=='string'||typeof _0x11d4c5==_0x3a5cba(0x4bf))_0x42281d+=_0x11d4c5;else{if(typeof _0x11d4c5==_0x3a5cba(0x347)){if(Array[_0x3a5cba(0x248)](_0x11d4c5)){var _0x5c8ff2=_0x11d4c5[_0x3a5cba(0x530)];for(_0x425059=0x0;_0x425059<_0x5c8ff2;_0x425059++)_0x11d4c5[_0x425059]&&(_0x9a5939=Zs(_0x11d4c5[_0x425059]))&&(_0x42281d&&(_0x42281d+='\x20'),_0x42281d+=_0x9a5939);}else{for(_0x9a5939 in _0x11d4c5)_0x11d4c5[_0x9a5939]&&(_0x42281d&&(_0x42281d+='\x20'),_0x42281d+=_0x9a5939);}}}return _0x42281d;}function So(){const _0x3348ec=_0xdb88e7;for(var _0x169b70,_0xe7aa00,_0x4911af=0x0,_0x281399='',_0xe3d4e4=arguments[_0x3348ec(0x530)];_0x4911af<_0xe3d4e4;_0x4911af++)(_0x169b70=arguments[_0x4911af])&&(_0xe7aa00=Zs(_0x169b70))&&(_0x281399&&(_0x281399+='\x20'),_0x281399+=_0xe7aa00);return _0x281399;}const po=_0xdb88e7(0x305),vo=_0xdb88e7(0x3c4),Io=_0xdb88e7(0x4c7),Eo='univer-online',Co=_0xdb88e7(0x25c),ye={'onlineStatusIcon':po,'onlineStatusTitle':vo,'onlineStatus':Io,'online':Eo,'offline':Co};function bo(_0x59bf29){const _0x612cfa=_0xdb88e7;switch(_0x59bf29){case w[_0x612cfa(0x526)]:return _0x612cfa(0x41a);case w['CONFLICT']:return _0x612cfa(0x480);case w['FETCH_MISS']:return _0x612cfa(0x361);case w[_0x612cfa(0x466)]:return _0x612cfa(0x371);case w['AWAITING']:case w['AWAITING_WITH_PENDING']:return _0x612cfa(0x4bc);case w[_0x612cfa(0x1f5)]:case w[_0x612cfa(0x482)]:return _0x612cfa(0x556);}}function To(_0x3b06b7){const _0xa6ef89=_0xdb88e7,{status$:_0x454681}=_0x3b06b7,_0x224c6b=_0x4207ff(_0x454681,w['NOT_COLLAB']),_0xff1817=_0x37a378(_0x1cea44),_0xeb80d0=_0x37a378(_e),_0x32a686=_0x224c6b!==w[_0xa6ef89(0x526)],_0x84a01e=_0xff1817['t'](bo(_0x224c6b)),_0x3750aa=So(ye[_0xa6ef89(0x237)],{[ye[_0xa6ef89(0x478)]]:_0x32a686,[ye[_0xa6ef89(0x23c)]]:!_0x32a686}),_0x250039=_0x32a686?_0x3f9202['createElement'](zs,null):_0x3f9202[_0xa6ef89(0x3a8)](Js,null),_0x3a27c5=_0x57d704(()=>{const _0x3acc99=_0xa6ef89;_0x32a686||_0xeb80d0[_0x3acc99(0x32c)]();},[_0x32a686,_0xeb80d0]);function _0x16da5e(){const _0x1b1f6d=_0xa6ef89;return _0x3f9202[_0x1b1f6d(0x3a8)]('div',{'className':_0x3750aa,'onClick':_0x3a27c5},_0x3f9202[_0x1b1f6d(0x3a8)](_0x1b1f6d(0x323),{'className':ye['onlineStatusIcon']},_0x250039),_0x3f9202['createElement'](_0x1b1f6d(0x323),{'className':ye[_0x1b1f6d(0x3f4)]},_0x84a01e));}return _0x32a686?_0x16da5e():_0x3f9202['createElement'](_0x999f7c,{'title':_0xff1817['t'](_0xa6ef89(0x3a4))},_0x16da5e());}var Ro=Object['defineProperty'],Oo=Object[_0xdb88e7(0x429)],Do=(_0x5d2dbf,_0x4c0c86,_0x42417f,_0x1d0528)=>{const _0x308c52=_0xdb88e7;for(var _0x5cac3e=_0x1d0528>0x1?void 0x0:_0x1d0528?Oo(_0x4c0c86,_0x42417f):_0x4c0c86,_0x3f6d8b=_0x5d2dbf[_0x308c52(0x530)]-0x1,_0x26fc49;_0x3f6d8b>=0x0;_0x3f6d8b--)(_0x26fc49=_0x5d2dbf[_0x3f6d8b])&&(_0x5cac3e=(_0x1d0528?_0x26fc49(_0x4c0c86,_0x42417f,_0x5cac3e):_0x26fc49(_0x5cac3e))||_0x5cac3e);return _0x1d0528&&_0x5cac3e&&Ro(_0x4c0c86,_0x42417f,_0x5cac3e),_0x5cac3e;},Be=(_0x30d6d5,_0x52bb09)=>(_0x3f88a0,_0x3308f8)=>_0x52bb09(_0x3f88a0,_0x3308f8,_0x30d6d5);let ze=class extends _0x53fecf{constructor(_0x243e94,_0x3ca006,_0x2a9f5b,_0x4679ff){const _0x1ebe07=_0xdb88e7;super(),l(this,'_status$',new _0x4786ab(w['NOT_COLLAB'])),(this[_0x1ebe07(0x372)]=_0x243e94,this[_0x1ebe07(0x404)]=_0x3ca006,this[_0x1ebe07(0x48d)]=_0x2a9f5b,this['_collaborationController']=_0x4679ff,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xdb88e7(0x34a)](){const _0x4e0290=_0xdb88e7;this[_0x4e0290(0x3fb)](this[_0x4e0290(0x372)][_0x4e0290(0x355)][_0x4e0290(0x279)](_0x35e5f3(()=>{const _0x2b4375=_0x4e0290,_0x153214=this['_univerInstanceService'][_0x2b4375(0x437)]();return _0x153214?this['_collaborationController']['getCollabEntity$'](_0x153214['getUnitId']()):_0x43095f(null);}),_0x35e5f3(_0x2962f4=>_0x2962f4?_0x2962f4['status$']:_0x43095f(w[_0x4e0290(0x466)])))[_0x4e0290(0x427)](_0xf337d5=>{const _0x587e81=_0x4e0290;this['_status$'][_0x587e81(0x48e)](_0xf337d5);}));}[_0xdb88e7(0x313)](){const _0x443be2=_0xdb88e7;this[_0x443be2(0x3fb)](this['_uiPartsService'][_0x443be2(0x487)](_0x3bd7da[_0x443be2(0x31c)],()=>_0x8aa62(wo({'status$':this[_0x443be2(0x407)][_0x443be2(0x4a1)]()}),this[_0x443be2(0x48d)])));}};ze=Do([Be(0x0,_0x3c6560),Be(0x1,_0x3d36bc),Be(0x2,_0x708a43(_0x262acb)),Be(0x3,_0x708a43(Le))],ze);function wo(_0x24a2b5){const {status$:_0x32adcd}=_0x24a2b5;return function(){return _0x3f9202['createElement'](To,{'status$':_0x32adcd});};}const Qs=_0xd8fa3('uni.network.url-service');var Po=Object[_0xdb88e7(0x396)],yo=Object['getOwnPropertyDescriptor'],Uo=(_0x6b709c,_0x49b936,_0x553901,_0x454c70)=>{const _0x1036d5=_0xdb88e7;for(var _0x1408fd=_0x454c70>0x1?void 0x0:_0x454c70?yo(_0x49b936,_0x553901):_0x49b936,_0x3f6bff=_0x6b709c[_0x1036d5(0x530)]-0x1,_0x3ee2a4;_0x3f6bff>=0x0;_0x3f6bff--)(_0x3ee2a4=_0x6b709c[_0x3f6bff])&&(_0x1408fd=(_0x454c70?_0x3ee2a4(_0x49b936,_0x553901,_0x1408fd):_0x3ee2a4(_0x1408fd))||_0x1408fd);return _0x454c70&&_0x1408fd&&Po(_0x49b936,_0x553901,_0x1408fd),_0x1408fd;},ve=(_0x4dcff6,_0x5a0de2)=>(_0x431dd6,_0x1d8adb)=>_0x5a0de2(_0x431dd6,_0x1d8adb,_0x4dcff6);let Ze=class extends _0x390154{constructor(_0x9ce63b,_0xcf8b14,_0x1bfec0,_0x345f09,_0x53fdf4,_0x5de452){const _0x8a4783=_0xdb88e7;super(),this[_0x8a4783(0x500)]=_0x9ce63b,this['_logService']=_0xcf8b14,this['_commandService']=_0x1bfec0,this['_localCacheService']=_0x345f09,this[_0x8a4783(0x29d)]=_0x53fdf4,_0x5de452?_0x5de452==null||_0x5de452[_0x8a4783(0x3bb)]()['then'](()=>this[_0x8a4783(0x454)]()):(this[_0x8a4783(0x3da)][_0x8a4783(0x2b9)](_0x8a4783(0x2a2),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x8a4783(0x454)]());}async['_init'](){const _0x16a599=_0xdb88e7,_0x5c3cb6=this[_0x16a599(0x500)][_0x16a599(0x4ef)]('unit'),_0xbbbc62=this[_0x16a599(0x500)][_0x16a599(0x4ef)]('type');if(!_0x5c3cb6||!_0xbbbc62){this[_0x16a599(0x3da)][_0x16a599(0x2b9)]('[DataLoaderController]',_0x16a599(0x511));return;}switch(Number(_0xbbbc62)){case B[_0x16a599(0x240)]:{const _0x3ed6b8=await this[_0x16a599(0x509)](_0x5c3cb6);this['_setupSubUnitSync'](_0x3ed6b8);break;}case B['UNIVER_DOC']:{await this[_0x16a599(0x36e)](_0x5c3cb6);break;}default:{this['_logService'][_0x16a599(0x528)](_0x16a599(0x2a2),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0xdb88e7(0x3aa)](_0x1ee5cc){const _0x4c3e9f=_0xdb88e7;await this['_updateSubUnitFromURLParams'](_0x1ee5cc),_0x1ee5cc['activeSheet$'][_0x4c3e9f(0x279)](_0x13b5ec(this[_0x4c3e9f(0x337)]))['subscribe'](_0x5e50c3=>{const _0x12db52=_0x4c3e9f;_0x5e50c3&&this[_0x12db52(0x3c8)](_0x5e50c3);}),this[_0x4c3e9f(0x500)][_0x4c3e9f(0x255)][_0x4c3e9f(0x279)](_0x13b5ec(this['dispose$']))[_0x4c3e9f(0x427)](()=>this['_updateSubUnitFromURLParams'](_0x1ee5cc));}['_updateURLWithCurrentState'](_0x45acd3,_0x1fb2d2=!0x1){const _0x20eaf7=_0xdb88e7,_0x472c9c=this[_0x20eaf7(0x500)][_0x20eaf7(0x4ef)](_0x20eaf7(0x34f));_0x45acd3['getSheetId']()!==_0x472c9c&&this['_urlService'][_0x20eaf7(0x55e)]('subunit',_0x45acd3[_0x20eaf7(0x3b9)](),_0x1fb2d2);}async['_updateSubUnitFromURLParams'](_0xe0301){const _0x5ae20f=_0xdb88e7;var _0x587aca;const _0x1890c0=this[_0x5ae20f(0x500)]['getParam']('subunit');if(!_0x1890c0||!_0xe0301[_0x5ae20f(0x564)](_0x1890c0)){const _0x3c9f6e=_0xe0301['getUnhiddenWorksheets']()[0x0],_0xf5cbfd=_0xe0301[_0x5ae20f(0x564)](_0x3c9f6e);if(!_0xf5cbfd)return;this[_0x5ae20f(0x3c8)](_0xf5cbfd,!0x0),await this[_0x5ae20f(0x376)]['executeCommand'](_0xb6d398['id'],{'unitId':_0xe0301[_0x5ae20f(0x444)](),'subUnitId':_0x3c9f6e});return;}((_0x587aca=_0xe0301[_0x5ae20f(0x559)]())==null?void 0x0:_0x587aca[_0x5ae20f(0x3b9)]())!==_0x1890c0&&await this['_commandService'][_0x5ae20f(0x4d0)](_0xb6d398['id'],{'unitId':_0xe0301['getUnitId'](),'subUnitId':_0x1890c0});}async[_0xdb88e7(0x509)](_0x514294){const _0x41e635=_0xdb88e7;let _0x3f332d=0x0;const _0x42b0a9=await this[_0x41e635(0x258)][_0x41e635(0x538)](_0x514294);return _0x42b0a9&&(_0x42b0a9[_0x41e635(0x49c)]||_0x42b0a9[_0x41e635(0x299)][_0x41e635(0x530)]!==0x0)&&(_0x3f332d=_0x42b0a9['rev']),_0x3f332d===0x0&&this[_0x41e635(0x3da)]['debug'](_0x41e635(0x2a2),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x41e635(0x29d)][_0x41e635(0x3d6)](_0x514294,_0x3f332d);}async['_loadDoc'](_0xff6549){const _0x269aa5=_0xdb88e7;let _0x2357fa=0x0;const _0x4efd3b=await this[_0x269aa5(0x258)][_0x269aa5(0x538)](_0xff6549);return _0x4efd3b&&(_0x4efd3b[_0x269aa5(0x49c)]||_0x4efd3b[_0x269aa5(0x299)][_0x269aa5(0x530)]!==0x0)&&(_0x2357fa=_0x4efd3b['rev']),_0x2357fa===0x0&&this['_logService']['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x269aa5(0x29d)][_0x269aa5(0x490)](_0xff6549,_0x2357fa);}};Ze=Uo([ve(0x0,Qs),ve(0x1,_0x32f72e),ve(0x2,_0x49d215),ve(0x3,_0x708a43(D)),ve(0x4,_0x708a43(_0x493247)),ve(0x5,_0x42ec52(_0x2aa588))],Ze);var No=Object['defineProperty'],Ao=Object[_0xdb88e7(0x429)],Mo=(_0x4861c3,_0x4cd1ff,_0xbdbd66,_0x4b8574)=>{for(var _0x24d027=_0x4b8574>0x1?void 0x0:_0x4b8574?Ao(_0x4cd1ff,_0xbdbd66):_0x4cd1ff,_0x274c89=_0x4861c3['length']-0x1,_0x354a9e;_0x274c89>=0x0;_0x274c89--)(_0x354a9e=_0x4861c3[_0x274c89])&&(_0x24d027=(_0x4b8574?_0x354a9e(_0x4cd1ff,_0xbdbd66,_0x24d027):_0x354a9e(_0x24d027))||_0x24d027);return _0x4b8574&&_0x24d027&&No(_0x4cd1ff,_0xbdbd66,_0x24d027),_0x24d027;},ps=(_0x5149b0,_0x284c3f)=>(_0x448bf9,_0x1a5fdb)=>_0x284c3f(_0x448bf9,_0x1a5fdb,_0x5149b0);const Lo=_0xdb88e7(0x51f),$o='Univer';let Qe=class extends _0x53fecf{constructor(_0x158ff8,_0x572e48){const _0x2dd889=_0xdb88e7;super(),this[_0x2dd889(0x372)]=_0x158ff8,this[_0x2dd889(0x287)]=_0x572e48,this[_0x2dd889(0x454)]();}['_init'](){const _0x38f32d=_0xdb88e7;this[_0x38f32d(0x3fb)](this[_0x38f32d(0x372)][_0x38f32d(0x355)][_0x38f32d(0x427)](()=>{const _0x1b671d=_0x38f32d;var _0x5a613e;const _0x1d006e=this['_univerInstanceService'][_0x1b671d(0x437)]();let _0x56e4e6=(_0x5a613e=this[_0x1b671d(0x287)][_0x1b671d(0x4c2)](Lo))!=null?_0x5a613e:$o;_0x1d006e instanceof _0x3a9c80&&(_0x56e4e6=_0x1d006e['name']),document['title']=_0x56e4e6;}));}};Qe=Mo([ps(0x0,_0x3c6560),ps(0x1,_0x3f3328)],Qe);var jo=Object[_0xdb88e7(0x396)],xo=Object[_0xdb88e7(0x429)],Ho=(_0x461dff,_0x303e88,_0x524cd9,_0x1eaffa)=>{const _0x5eb89b=_0xdb88e7;for(var _0x2ed5d2=_0x1eaffa>0x1?void 0x0:_0x1eaffa?xo(_0x303e88,_0x524cd9):_0x303e88,_0x7263e0=_0x461dff[_0x5eb89b(0x530)]-0x1,_0x33c637;_0x7263e0>=0x0;_0x7263e0--)(_0x33c637=_0x461dff[_0x7263e0])&&(_0x2ed5d2=(_0x1eaffa?_0x33c637(_0x303e88,_0x524cd9,_0x2ed5d2):_0x33c637(_0x2ed5d2))||_0x2ed5d2);return _0x1eaffa&&_0x2ed5d2&&jo(_0x303e88,_0x524cd9,_0x2ed5d2),_0x2ed5d2;},vt=(_0x1f2903,_0x5a2cfd)=>(_0x5e1215,_0x46310a)=>_0x5a2cfd(_0x5e1215,_0x46310a,_0x1f2903);let et=class{constructor(_0x2e17b3,_0x266c1b,_0x5b5a62){const _0x1ebf0c=_0xdb88e7;this[_0x1ebf0c(0x287)]=_0x2e17b3,this[_0x1ebf0c(0x26a)]=_0x266c1b,this[_0x1ebf0c(0x2f2)]=_0x5b5a62,this[_0x1ebf0c(0x423)]();}[_0xdb88e7(0x423)](){const _0x19b996=_0xdb88e7;this[_0x19b996(0x26a)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x10991c,_0x2f6e71)=>_0x2f6e71(_0x10991c)[_0x19b996(0x279)](_0x126cd1(async _0x174df6=>{const _0x48e0a6=_0x19b996,_0x3a1b72=_0x174df6;if(_0x3a1b72[_0x48e0a6(0x247)]===0x191&&window[_0x48e0a6(0x275)](this['localeService']['t'](_0x48e0a6(0x44d)))){const _0x289ef5=window[_0x48e0a6(0x1ef)](window[_0x48e0a6(0x3b6)][_0x48e0a6(0x425)]);window[_0x48e0a6(0x3b6)][_0x48e0a6(0x425)]=this['_getLoginPath']()+'?url='+_0x289ef5;}return _0x3a1b72;}))});}[_0xdb88e7(0x27f)](){const _0x270d0e=_0xdb88e7;var _0x39c2a7,_0x253571;const _0x52b5c1=this[_0x270d0e(0x287)][_0x270d0e(0x4c2)](Ln),_0x484451=this[_0x270d0e(0x287)]['getConfig'](j);return(_0x253571=(_0x39c2a7=_0x484451==null?void 0x0:_0x484451[_0x270d0e(0x2e2)])!=null?_0x39c2a7:_0x52b5c1)!=null?_0x253571:$n;}};et=Ho([vt(0x0,_0x3f3328),vt(0x1,_0x708a43(_0x44ff7a)),vt(0x2,_0x708a43(_0x1cea44))],et);var ko=Object[_0xdb88e7(0x396)],Bo=Object[_0xdb88e7(0x429)],Vo=(_0x56df4f,_0x237614,_0xba2d22,_0x77f4dd)=>{const _0x5acaf6=_0xdb88e7;for(var _0x32367b=_0x77f4dd>0x1?void 0x0:_0x77f4dd?Bo(_0x237614,_0xba2d22):_0x237614,_0x366d3e=_0x56df4f[_0x5acaf6(0x530)]-0x1,_0x39a67d;_0x366d3e>=0x0;_0x366d3e--)(_0x39a67d=_0x56df4f[_0x366d3e])&&(_0x32367b=(_0x77f4dd?_0x39a67d(_0x237614,_0xba2d22,_0x32367b):_0x39a67d(_0x32367b))||_0x32367b);return _0x77f4dd&&_0x32367b&&ko(_0x237614,_0xba2d22,_0x32367b),_0x32367b;},vs=(_0x578fcb,_0x208ecf)=>(_0x3d2902,_0x56158e)=>_0x208ecf(_0x3d2902,_0x56158e,_0x578fcb);const Fo=_0xdb88e7(0x331),Wo=_0xdb88e7(0x22a);let Nt=class extends _0x53fecf{constructor(_0x4bf80e,_0x51e48c){const _0x4a0ca0=_0xdb88e7;super(),this[_0x4a0ca0(0x55f)]=_0x4bf80e,this[_0x4a0ca0(0x287)]=_0x51e48c,this[_0x4a0ca0(0x543)]();}[_0xdb88e7(0x543)](){const _0x3e4628=_0xdb88e7,_0x326440=this;this[_0x3e4628(0x3fb)](this[_0x3e4628(0x55f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x83f197({'isMatch'(_0x2923a1){const _0x3f2706=_0x3e4628;var _0x260b7b;if(_0x2923a1[_0x3f2706(0x356)]===_0x3f2706(0x4d5)&&((_0x260b7b=_0x2923a1['requestParams'])!=null&&_0x260b7b[_0x3f2706(0x291)])){const {objectID:_0x2d15a9,objectType:_0x5977f7}=_0x2923a1[_0x3f2706(0x41e)]['body']||{};if(!_0x2d15a9||_0x5977f7===void 0x0)return!0x1;const _0x36aced=_0x326440[_0x3f2706(0x1e2)]()+'/'+_0x5977f7+_0x3f2706(0x31a)+_0x2d15a9+_0x3f2706(0x455);if(_0x2923a1['url']===_0x36aced)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2b926e){const _0x2b228f=_0x3e4628;var _0x13ec4d;return(_0x13ec4d=_0x2b926e[_0x2b228f(0x41e)])==null?void 0x0:_0x13ec4d['body'];},'mergeParamsToRequest'(_0x6fc7e0,_0x3c787e){const _0x333c46=_0x3e4628,_0x70f189=_0x326440[_0x333c46(0x1e2)]()+_0x333c46(0x545),_0x96b876=_0x6fc7e0['reduce']((_0x1b97b0,_0x5831c4)=>{const _0x38c932=_0x333c46,{unitID:_0x1c0730,objectID:_0x4f081d,objectType:_0x16848c,actions:_0x4ae970}=_0x5831c4;return _0x1b97b0[_0x1c0730]||(_0x1b97b0[_0x1c0730]={}),_0x1b97b0[_0x1c0730][_0x4f081d]||(_0x1b97b0[_0x1c0730][_0x4f081d]={'objectID':_0x4f081d,'objectType':_0x16848c,'actions':[]}),_0x1b97b0[_0x1c0730][_0x4f081d][_0x38c932(0x293)][_0x38c932(0x393)](..._0x4ae970),_0x1b97b0;},{}),_0x27d101=[];for(const _0x1b8256 in _0x96b876)for(const _0x56b59e in _0x96b876[_0x1b8256]){const {actions:_0x5a72b3,objectType:_0x312407}=_0x96b876[_0x1b8256][_0x56b59e],_0xd6d446=[...new Set(_0x5a72b3)];_0x27d101[_0x333c46(0x393)]({'unitID':_0x1b8256,'objectID':_0x56b59e,'objectType':_0x312407,'actions':_0xd6d446});}return new _0x4e6f80(_0x333c46(0x4d5),_0x70f189,{'headers':_0x3c787e[_0x333c46(0x532)],'withCredentials':_0x3c787e['withCredentials'],'responseType':_0x3c787e['responseType'],'body':{'requests':_0x27d101}});}},{'distributeResult'(_0xc6fd5f,_0x52ab07){const _0x1aa5ce=_0x3e4628,{objectActions:_0x3f707d}=_0xc6fd5f;return _0x52ab07[_0x1aa5ce(0x295)](_0x226aa3=>{const _0xf6d29f=_0x1aa5ce,{unitID:_0x1e632e,objectID:_0x525318,actions:_0x451fd8}=_0x226aa3,_0x30f0af=_0x3f707d['find'](_0x12d351=>_0x12d351[_0xf6d29f(0x209)]===_0x1e632e&&_0x12d351[_0xf6d29f(0x3ad)]===_0x525318),_0x48c8a6=_0x451fd8['map'](_0x12bdcb=>_0x30f0af==null?void 0x0:_0x30f0af[_0xf6d29f(0x293)][_0xf6d29f(0x30d)](_0x11b507=>_0x11b507[_0xf6d29f(0x448)]===_0x12bdcb))[_0xf6d29f(0x4d7)](_0x5cca5d=>!!_0x5cca5d);return{'config':_0x226aa3,'result':{'actions':_0x48c8a6,'error':_0xc6fd5f[_0xf6d29f(0x528)]}};});}})}));}[_0xdb88e7(0x1e2)](){const _0x18618f=_0xdb88e7;var _0x448850,_0x2fd4f0;const _0x3eeae5=this[_0x18618f(0x287)][_0x18618f(0x4c2)](Fo),_0x4cb5ee=this[_0x18618f(0x287)][_0x18618f(0x4c2)](j);return(_0x2fd4f0=(_0x448850=_0x4cb5ee==null?void 0x0:_0x4cb5ee[_0x18618f(0x25e)])!=null?_0x448850:_0x3eeae5)!=null?_0x2fd4f0:Wo;}async[_0xdb88e7(0x40f)](_0x1eca32){const _0x1acaaa=_0xdb88e7,_0x5bb4a1=this[_0x1acaaa(0x1e2)]()+'/'+_0x1eca32[_0x1acaaa(0x2b3)]+_0x1acaaa(0x2be);return(await this[_0x1acaaa(0x55f)]['post'](_0x5bb4a1,{'body':_0x1eca32}))[_0x1acaaa(0x291)][_0x1acaaa(0x3ad)]||'';}async['list'](_0x32bcc6){const _0x47feb2=_0xdb88e7,_0x9a52f9=this['_getAPIPrefixPath']()+_0x47feb2(0x4b5);return(await this[_0x47feb2(0x55f)][_0x47feb2(0x54f)](_0x9a52f9,{'body':_0x32bcc6}))[_0x47feb2(0x291)]['objects'];}async[_0xdb88e7(0x27c)](_0x2a3093){const _0xbb7171=_0xdb88e7,_0x1279c2=this['_getAPIPrefixPath']()+'/'+_0x2a3093['objectType']+_0xbb7171(0x31a)+_0x2a3093['objectID'];await this['_HTTPService'][_0xbb7171(0x37a)](_0x1279c2,{'body':_0x2a3093});}async['allowed'](_0x2a544c){const _0x397080=_0xdb88e7,_0x3eae9e=this[_0x397080(0x1e2)]()+'/'+_0x2a544c[_0x397080(0x2b3)]+_0x397080(0x31a)+_0x2a544c[_0x397080(0x3ad)]+_0x397080(0x455);return(await this[_0x397080(0x55f)][_0x397080(0x54f)](_0x3eae9e,{'body':_0x2a544c}))[_0x397080(0x291)]['actions'];}async[_0xdb88e7(0x327)](_0x39b1cd){const _0x3df5e6=_0xdb88e7,_0xe5d38a=this[_0x3df5e6(0x1e2)]()+_0x3df5e6(0x545);return(await this['_HTTPService'][_0x3df5e6(0x54f)](_0xe5d38a,{'body':{'requests':_0x39b1cd}}))['body'][_0x3df5e6(0x38b)];}async[_0xdb88e7(0x470)](_0x2e9da6){const _0x4fca2d=_0xdb88e7,_0x39724b=this[_0x4fca2d(0x1e2)]()+'/'+_0x2e9da6[_0x4fca2d(0x2b3)]+_0x4fca2d(0x4a8),_0x3d9d4c=await this['_HTTPService']['post'](_0x39724b,{'body':_0x2e9da6});return{'roles':_0x3d9d4c[_0x4fca2d(0x291)][_0x4fca2d(0x537)],'actions':_0x3d9d4c[_0x4fca2d(0x291)]['actions']};}async[_0xdb88e7(0x52d)](_0x22af00){const _0x180bbb=_0xdb88e7,_0x3ae67e=this[_0x180bbb(0x1e2)]()+_0x180bbb(0x282);await this['_HTTPService']['delete'](_0x3ae67e,{'params':{'collaboratorID':_0x22af00[_0x180bbb(0x391)],'objectID':_0x22af00[_0x180bbb(0x3ad)],'unitID':_0x22af00[_0x180bbb(0x209)]}});}async['updateCollaborator'](_0x4efa75){const _0x5c0094=_0xdb88e7,_0x515e43=this[_0x5c0094(0x1e2)]()+_0x5c0094(0x282);await this[_0x5c0094(0x55f)][_0x5c0094(0x377)](_0x515e43,{'body':_0x4efa75});}async['createCollaborator'](_0x5c436f){const _0x55f153=_0xdb88e7,_0x845a4e=this[_0x55f153(0x1e2)]()+'/collaborator';await this['_HTTPService'][_0x55f153(0x54f)](_0x845a4e,{'body':_0x5c436f});}async['listCollaborators'](_0x53d3b6){const _0x1806ca=_0xdb88e7,_0x3a30f5=this[_0x1806ca(0x1e2)]()+_0x1806ca(0x282);return(await this[_0x1806ca(0x55f)]['get'](_0x3a30f5,{'params':{'objectID':_0x53d3b6[_0x1806ca(0x3ad)],'unitID':_0x53d3b6[_0x1806ca(0x209)]}}))[_0x1806ca(0x291)][_0x1806ca(0x4ff)];}async['putCollaborators'](_0x30902a){const _0xaa433f=_0xdb88e7,_0x23b23c=this[_0xaa433f(0x1e2)]()+_0xaa433f(0x282);await this[_0xaa433f(0x55f)][_0xaa433f(0x37a)](_0x23b23c,{'body':_0x30902a});}};Nt=Vo([vs(0x0,_0x708a43(_0x44ff7a)),vs(0x1,_0x708a43(_0x3f3328))],Nt);var Go=Object[_0xdb88e7(0x396)],Yo=Object[_0xdb88e7(0x429)],Ko=(_0xd0e5d3,_0x196f24,_0x3453a9,_0x38c1c1)=>{const _0x241138=_0xdb88e7;for(var _0x4484a4=_0x38c1c1>0x1?void 0x0:_0x38c1c1?Yo(_0x196f24,_0x3453a9):_0x196f24,_0x4fce49=_0xd0e5d3[_0x241138(0x530)]-0x1,_0xe8d856;_0x4fce49>=0x0;_0x4fce49--)(_0xe8d856=_0xd0e5d3[_0x4fce49])&&(_0x4484a4=(_0x38c1c1?_0xe8d856(_0x196f24,_0x3453a9,_0x4484a4):_0xe8d856(_0x4484a4))||_0x4484a4);return _0x38c1c1&&_0x4484a4&&Go(_0x196f24,_0x3453a9,_0x4484a4),_0x4484a4;},Xo=(_0x4817b9,_0x4d71fc)=>(_0x1ed85b,_0xb4d5f4)=>_0x4d71fc(_0x1ed85b,_0xb4d5f4,_0x4817b9);let tt=class{constructor(_0x152066){const _0x4d9c07=_0xdb88e7;this['_httpService']=_0x152066,this[_0x4d9c07(0x342)]();}[_0xdb88e7(0x342)](){const _0x1c46a9=_0xdb88e7;this[_0x1c46a9(0x26a)][_0x1c46a9(0x203)]({'interceptor':(_0x58bb3b,_0x10a559)=>{const _0x7a9f9e=_0x1c46a9,_0x160cf2=_0x58bb3b[_0x7a9f9e(0x532)],_0x4d1cbe=_0x130756();return _0x4d1cbe&&_0x160cf2[_0x7a9f9e(0x512)](_0x7a9f9e(0x341),_0x4d1cbe),_0x10a559(_0x58bb3b);}});}};tt=Ko([Xo(0x0,_0x708a43(_0x44ff7a))],tt);var qo=Object['defineProperty'],Jo=Object['getOwnPropertyDescriptor'],zo=(_0x5cd47d,_0x20494a,_0x2a5918,_0x23689a)=>{for(var _0x40a4d2=_0x23689a>0x1?void 0x0:_0x23689a?Jo(_0x20494a,_0x2a5918):_0x20494a,_0x41abd0=_0x5cd47d['length']-0x1,_0x2d2df2;_0x41abd0>=0x0;_0x41abd0--)(_0x2d2df2=_0x5cd47d[_0x41abd0])&&(_0x40a4d2=(_0x23689a?_0x2d2df2(_0x20494a,_0x2a5918,_0x40a4d2):_0x2d2df2(_0x40a4d2))||_0x40a4d2);return _0x23689a&&_0x40a4d2&&qo(_0x20494a,_0x2a5918,_0x40a4d2),_0x40a4d2;},It=(_0x1668ed,_0x334d08)=>(_0x283aa7,_0x17b0b4)=>_0x334d08(_0x283aa7,_0x17b0b4,_0x1668ed);const Zo=[_0xdb88e7(0x3af),_0xdb88e7(0x4ba),_0xdb88e7(0x3fa),'image/gif',_0xdb88e7(0x4f9)],Qo=0x5*0x400*0x400,ea=_0xdb88e7(0x3ac),ta=_0xdb88e7(0x27d),sa=_0xdb88e7(0x3a6),ia=_0xdb88e7(0x3ca);let At=class{constructor(_0x4d0206,_0x260c30,_0x4457a4){const _0x59a9c3=_0xdb88e7;l(this,_0x59a9c3(0x540),0x0),l(this,_0x59a9c3(0x529),new _0x116216()),l(this,_0x59a9c3(0x288),this[_0x59a9c3(0x529)]),l(this,_0x59a9c3(0x4af),new Map()),(this[_0x59a9c3(0x26a)]=_0x4d0206,this['_configService']=_0x260c30,this[_0x59a9c3(0x372)]=_0x4457a4);}[_0xdb88e7(0x49e)](_0x2a84dd){const _0x25fff1=_0xdb88e7;this[_0x25fff1(0x540)]=_0x2a84dd,this['_change$'][_0x25fff1(0x48e)](_0x2a84dd);}[_0xdb88e7(0x3e7)](_0x8fa5af,_0x151cdc){const _0x211d13=_0xdb88e7;if(_0x151cdc===_0x5573c0[_0x211d13(0x49b)]){const _0x300bd6=new Image();return _0x300bd6[_0x211d13(0x250)]=_0x8fa5af,_0x300bd6;}return this['_imageSourceCache']['get'](_0x8fa5af);}[_0xdb88e7(0x513)](_0x101cde,_0x5cf4ba,_0x4a5515){_0x5cf4ba===_0x5573c0['BASE64']||_0x4a5515==null||this['_imageSourceCache']['set'](_0x101cde,_0x4a5515);}async['getImage'](_0x34a15e){const _0xb866ac=_0xdb88e7;try{const _0x308b10=this[_0xb866ac(0x433)](this['_getSignURL'](),''+_0x34a15e),_0x3d0d0b=(await this[_0xb866ac(0x26a)][_0xb866ac(0x2c9)](_0x308b10))[_0xb866ac(0x291)];if(_0x3d0d0b[_0xb866ac(0x528)]&&_0x3d0d0b[_0xb866ac(0x528)][_0xb866ac(0x267)]===ks['OK']){const _0x275fc4=new URL(_0x3d0d0b[_0xb866ac(0x296)],this[_0xb866ac(0x46d)]())[_0xb866ac(0x373)]();return Promise[_0xb866ac(0x35e)](_0x275fc4);}return Promise[_0xb866ac(0x418)](_0x3d0d0b['error']);}catch(_0x52704b){return Promise[_0xb866ac(0x418)](_0x52704b);}}async[_0xdb88e7(0x2ef)](_0x3b3dee){const _0x333504=_0xdb88e7;let _0x226cfb='';if(!Zo[_0x333504(0x4ec)](_0x3b3dee[_0x333504(0x4b9)]))return this['_decreaseWaiting'](),Promise[_0x333504(0x418)](new Error(_0x48f04a[_0x333504(0x462)]));if(_0x3b3dee[_0x333504(0x20b)]>Qo)return this[_0x333504(0x289)](),Promise[_0x333504(0x418)](new Error(_0x48f04a['ERROR_EXCEED_SIZE']));try{const _0x2747e6=new FormData();_0x2747e6['append'](_0x333504(0x204),_0x3b3dee);const _0xa9f321=this[_0x333504(0x372)]['getFocusedUnit'](),_0x38e4cb=_0xa9f321==null?void 0x0:_0xa9f321[_0x333504(0x444)]();if(!_0x38e4cb)throw new Error(_0x333504(0x273));const _0x26f053=this[_0x333504(0x4fc)]()+_0x333504(0x269)+_0x3b3dee[_0x333504(0x20b)][_0x333504(0x373)]()+_0x333504(0x2a5)+Bs['UnitEmbedded']+_0x333504(0x2b2)+encodeURIComponent(_0x38e4cb),_0xd90897=await(await fetch(_0x26f053,{'method':_0x333504(0x4d5),'body':_0x2747e6}))[_0x333504(0x2d3)]();if(typeof _0xd90897['FileId']!=_0x333504(0x33e))return this[_0x333504(0x289)](),Promise['reject'](new Error(_0x48f04a['ERROR_IMAGE']));_0x226cfb=_0xd90897['FileId'];}catch{return this[_0x333504(0x289)](),Promise[_0x333504(0x418)](new Error(_0x48f04a['ERROR_IMAGE']));}return new Promise((_0x474b1c,_0x50ba6c)=>{const _0x2ca6e4=_0x333504,_0x9b1504=new FileReader();_0x9b1504[_0x2ca6e4(0x497)](_0x3b3dee),_0x9b1504[_0x2ca6e4(0x3e6)]=_0x2d6097=>{const _0x402887=_0x2ca6e4;var _0xa5c881;const _0x4b633a=(_0xa5c881=_0x2d6097[_0x402887(0x4e4)])==null?void 0x0:_0xa5c881['result'];if(_0x4b633a==null){this[_0x402887(0x289)](),_0x50ba6c(new Error(_0x48f04a[_0x402887(0x2df)]));return;}const _0x5f049e=_0x11b4bd[_0x402887(0x2da)](0x6);_0x474b1c({'imageId':_0x5f049e,'imageSourceType':_0x5573c0[_0x402887(0x54b)],'source':_0x226cfb,'base64Cache':_0x4b633a,'status':_0x48f04a[_0x402887(0x2e4)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0xb9ed13=_0xdb88e7;var _0x49a541,_0x441143;const _0x5c6f7e=this[_0xb9ed13(0x287)]['getConfig'](ea),_0x559149=this[_0xb9ed13(0x287)]['getConfig'](j);return(_0x441143=(_0x49a541=_0x559149==null?void 0x0:_0x559149['uploadFileServerUrl'])!=null?_0x49a541:_0x5c6f7e)!=null?_0x441143:ta;}[_0xdb88e7(0x3f1)](){const _0x19222c=_0xdb88e7;var _0x2f0349,_0x4cd8d6;const _0x4f1015=this[_0x19222c(0x287)]['getConfig'](sa),_0x24c57b=this[_0x19222c(0x287)][_0x19222c(0x4c2)](j);return(_0x4cd8d6=(_0x2f0349=_0x24c57b==null?void 0x0:_0x24c57b[_0x19222c(0x3e4)])!=null?_0x2f0349:_0x4f1015)!=null?_0x4cd8d6:ia;}['_getDownloadEndpointURL'](){const _0x3bd107=_0xdb88e7;var _0x3fbb9e;const _0x5e8122=this[_0x3bd107(0x287)]['getConfig'](j);return(_0x3fbb9e=_0x5e8122==null?void 0x0:_0x5e8122[_0x3bd107(0x562)])!=null?_0x3fbb9e:location[_0x3bd107(0x2b6)];}[_0xdb88e7(0x433)](_0x49d4de,_0x2c5137){const _0xc5d310=_0xdb88e7;return _0x49d4de['replace'](_0xc5d310(0x1ee),_0x2c5137);}['_decreaseWaiting'](){const _0x33d9cb=_0xdb88e7;this[_0x33d9cb(0x540)]-=0x1,this[_0x33d9cb(0x529)][_0x33d9cb(0x48e)](this[_0x33d9cb(0x540)]);}};At=zo([It(0x0,_0x708a43(_0x44ff7a)),It(0x1,_0x3f3328),It(0x2,_0x708a43(_0x3c6560))],At);var na=Object['defineProperty'],ra=Object[_0xdb88e7(0x429)],oa=(_0x5aae04,_0xff5475,_0x5df226,_0x398dd7)=>{const _0x54fcea=_0xdb88e7;for(var _0x1dcee6=_0x398dd7>0x1?void 0x0:_0x398dd7?ra(_0xff5475,_0x5df226):_0xff5475,_0x4d648f=_0x5aae04[_0x54fcea(0x530)]-0x1,_0x11bc2a;_0x4d648f>=0x0;_0x4d648f--)(_0x11bc2a=_0x5aae04[_0x4d648f])&&(_0x1dcee6=(_0x398dd7?_0x11bc2a(_0xff5475,_0x5df226,_0x1dcee6):_0x11bc2a(_0x1dcee6))||_0x1dcee6);return _0x398dd7&&_0x1dcee6&&na(_0xff5475,_0x5df226,_0x1dcee6),_0x1dcee6;},Ue=(_0x5099bd,_0x2e08f5)=>(_0xfcb402,_0x239211)=>_0x2e08f5(_0xfcb402,_0x239211,_0x5099bd);let st=class extends _0x390154{constructor(_0x3c0f6a,_0x4943d4,_0xa59809,_0x2b3c3e,_0x4ae030){const _0x120ba7=_0xdb88e7;super(),this['_injector']=_0x3c0f6a,this['_univerInstanceService']=_0x4943d4,this[_0x120ba7(0x4ad)]=_0xa59809,this[_0x120ba7(0x2d5)]=_0x2b3c3e,this[_0x120ba7(0x280)]=_0x4ae030,this[_0x120ba7(0x20d)](),this[_0x120ba7(0x2b0)]();}['_initCloseConn'](){const _0x4a7483=_0xdb88e7,_0x155c5d=async _0x45e40b=>{const _0x1e31e4=_0xf7c7;(await this[_0x1e31e4(0x2d5)][_0x1e31e4(0x3d8)](_0x45e40b))[_0x1e31e4(0x412)][_0x1e31e4(0x279)](_0x4be362(_0x280522=>_0x280522[_0x1e31e4(0x2a9)]===_0x3cf804[_0x1e31e4(0x4d9)]),_0x5bdd99(this[_0x1e31e4(0x337)]))[_0x1e31e4(0x427)](_0x4cfe29=>{const _0x352ccf=_0x1e31e4,_0x27fc0f=_0x4cfe29,{reason:_0x592814}=_0x27fc0f[_0x352ccf(0x4dc)];this[_0x352ccf(0x48d)][_0x352ccf(0x2c9)](_0x50cdfc)['show']({'type':_0x21f247[_0x352ccf(0x245)],'content':this[_0x352ccf(0x280)]['t'](_0x352ccf(0x2a0))+'('+_0x592814+')'}),this[_0x352ccf(0x4ad)][_0x352ccf(0x422)](new _0x2bf602(_0x45e40b)['id'],!0x1),this[_0x352ccf(0x2d5)]['closeSession'](_0x45e40b);});};_0x28b2cd(this[_0x4a7483(0x372)][_0x4a7483(0x35a)](_0x28e552[_0x4a7483(0x240)]),this[_0x4a7483(0x372)]['getTypeOfUnitAdded$'](_0x28e552['UNIVER_DOC']))[_0x4a7483(0x279)](_0x1c8fcb(_0x20a494=>_0x20a494[_0x4a7483(0x444)]()),_0x4be362(_0x14a955=>!_0x2f46fc(_0x14a955)),_0x5bdd99(this[_0x4a7483(0x337)]))[_0x4a7483(0x427)](_0x3a844c=>{_0x155c5d(_0x3a844c);});}[_0xdb88e7(0x20d)](){const _0x1891cb=_0xdb88e7,_0xa9777=async _0x53b0bc=>{const _0x489c2d=_0xf7c7;(await this[_0x489c2d(0x2d5)][_0x489c2d(0x3d8)](_0x53b0bc))['event$'][_0x489c2d(0x279)](_0x4be362(_0x1f6885=>_0x1f6885['eventID']===_0x3cf804['UPDATE_PERMISSION_OBJ']),_0x5bdd99(this[_0x489c2d(0x337)]))[_0x489c2d(0x427)](_0x2d7288=>{const _0x2ee0ce=_0x489c2d,_0x2c4af5=_0x2d7288,{objectId:_0x1adaaa}=_0x2c4af5[_0x2ee0ce(0x4dc)],_0x49b024=this[_0x2ee0ce(0x48d)][_0x2ee0ce(0x2c9)](_0x3a867b);_0x1adaaa===_0x53b0bc?_0x49b024[_0x2ee0ce(0x2e3)](_0x53b0bc):_0x49b024[_0x2ee0ce(0x3d7)](_0x53b0bc,_0x1adaaa);});};_0x28b2cd(this[_0x1891cb(0x372)][_0x1891cb(0x35a)](_0x28e552[_0x1891cb(0x240)]),this[_0x1891cb(0x372)]['getTypeOfUnitAdded$'](_0x28e552['UNIVER_DOC']))[_0x1891cb(0x279)](_0x1c8fcb(_0x409277=>_0x409277['getUnitId']()),_0x4be362(_0x1d8444=>!_0x2f46fc(_0x1d8444)),_0x5bdd99(this[_0x1891cb(0x337)]))[_0x1891cb(0x427)](_0x1ce604=>{_0xa9777(_0x1ce604);});}};st=oa([Ue(0x0,_0x708a43(_0x262acb)),Ue(0x1,_0x3c6560),Ue(0x2,_0x53b55e),Ue(0x3,_0x708a43(_e)),Ue(0x4,_0x708a43(_0x1cea44))],st);var aa=Object[_0xdb88e7(0x396)],ca=Object[_0xdb88e7(0x429)],ha=(_0x53c46f,_0x747554,_0x2ecc25,_0x5288aa)=>{const _0x56d01f=_0xdb88e7;for(var _0x521c99=_0x5288aa>0x1?void 0x0:_0x5288aa?ca(_0x747554,_0x2ecc25):_0x747554,_0x360756=_0x53c46f[_0x56d01f(0x530)]-0x1,_0x3cb26a;_0x360756>=0x0;_0x360756--)(_0x3cb26a=_0x53c46f[_0x360756])&&(_0x521c99=(_0x5288aa?_0x3cb26a(_0x747554,_0x2ecc25,_0x521c99):_0x3cb26a(_0x521c99))||_0x521c99);return _0x5288aa&&_0x521c99&&aa(_0x747554,_0x2ecc25,_0x521c99),_0x521c99;},Is=(_0xc23c90,_0x584f06)=>(_0x513a0f,_0x7d0257)=>_0x584f06(_0x513a0f,_0x7d0257,_0xc23c90);let Mt=class{constructor(_0x3d90de,_0x1cead5){const _0x291f40=_0xdb88e7;this['_configService']=_0x3d90de,this[_0x291f40(0x26a)]=_0x1cead5;}async[_0xdb88e7(0x4cf)](_0x27a855,_0x4ed14b){const _0x735c0f=_0xdb88e7;var _0x27c1fd;const {unitID:_0x49ef57,type:_0x2ccfb2,revision:_0x315062=0x0}=_0x4ed14b,_0x2b4121=this['_getSnapshotAPIPrefix']()+'/'+_0x2ccfb2+_0x735c0f(0x36b)+_0x49ef57+_0x735c0f(0x4b7)+_0x315062,_0x406d01=(await this[_0x735c0f(0x26a)]['get'](_0x2b4121))['body'],_0x52e52e=(_0x27c1fd=_0x406d01[_0x735c0f(0x541)])==null?void 0x0:_0x27c1fd[_0x735c0f(0x40b)];if(_0x52e52e){const _0x1a27cf=_0x52e52e==null?void 0x0:_0x52e52e[_0x735c0f(0x518)],_0x52d96=_0x4746cb['encode'](_0x1060d3(_0x1a27cf));_0x52e52e[_0x735c0f(0x518)]=_0x52d96,Object['entries'](_0x52e52e[_0x735c0f(0x40e)])[_0x735c0f(0x25a)](([,_0x27a9cd])=>{const _0x1af770=_0x735c0f,_0x20fac0=_0x27a9cd[_0x1af770(0x518)],_0x1ec182=_0x4746cb[_0x1af770(0x36d)](_0x1060d3(_0x20fac0));_0x27a9cd['originalMeta']=_0x1ec182;});}return _0x406d01;}async['getSheetBlock'](_0x5cdf58,_0x26d3f0){const _0x3a0255=_0xdb88e7,{unitID:_0x48d404,type:_0x2a1267,blockID:_0x4413b7}=_0x26d3f0,_0x1cbb5c=this[_0x3a0255(0x31d)]()+'/'+_0x2a1267+_0x3a0255(0x36b)+_0x48d404+'/block/'+_0x4413b7;return(await this[_0x3a0255(0x26a)][_0x3a0255(0x2c9)](_0x1cbb5c))[_0x3a0255(0x291)];}async[_0xdb88e7(0x4b2)](_0x5724c6,_0x501e89){const _0x854f74=_0xdb88e7,{unitID:_0x75fbeb,type:_0x563adb,blockID:_0x2ba389}=_0x501e89,_0x57fac8=this[_0x854f74(0x31d)]()+_0x854f74(0x4c3)+_0x563adb+_0x854f74(0x36b)+_0x75fbeb+_0x854f74(0x4c3)+_0x2ba389;return(await this['_httpService']['get'](_0x57fac8))[_0x854f74(0x291)];}async[_0xdb88e7(0x4de)](_0x456f87,_0x38ab7c){const _0x456a89=_0xdb88e7,{unitID:_0x428314,type:_0x1185ca,from:_0x476957,to:_0x4ab555}=_0x38ab7c,_0xba3b3=this[_0x456a89(0x31d)]()+'/'+_0x1185ca+_0x456a89(0x36b)+_0x428314+_0x456a89(0x2f6)+_0x476957+'&to='+_0x4ab555;return(await this[_0x456a89(0x26a)][_0x456a89(0x2c9)](_0xba3b3))[_0x456a89(0x291)];}[_0xdb88e7(0x3f5)](){const _0x53a2d9=_0xdb88e7;var _0x2ab144;return(_0x2ab144=this[_0x53a2d9(0x287)][_0x53a2d9(0x4c2)](Cn))!=null?_0x2ab144:this[_0x53a2d9(0x31d)]();}[_0xdb88e7(0x31d)](){const _0x29ed8d=_0xdb88e7;var _0x4002de,_0xcf440;const _0x50eb38=this['_configService'][_0x29ed8d(0x4c2)](In),_0x5f3848=this[_0x29ed8d(0x287)][_0x29ed8d(0x4c2)](j);return(_0xcf440=(_0x4002de=_0x5f3848==null?void 0x0:_0x5f3848[_0x29ed8d(0x515)])!=null?_0x4002de:_0x50eb38)!=null?_0xcf440:En;}async['getResourcesRequest'](_0x26c7ce,_0x2205a5){const _0x1fa28e=_0xdb88e7,_0x25d899=_0x1fa28e(0x4b4)+_0x2205a5['type']+_0x1fa28e(0x36b)+_0x2205a5[_0x1fa28e(0x209)]+_0x1fa28e(0x54a);return(await this[_0x1fa28e(0x26a)][_0x1fa28e(0x2c9)](_0x25d899,{'params':{'resourceId':JSON['stringify'](_0x2205a5[_0x1fa28e(0x3a7)])}}))[_0x1fa28e(0x291)];}[_0xdb88e7(0x330)](){const _0x49030c=_0xdb88e7;throw new Error(_0x49030c(0x563));}[_0xdb88e7(0x3a1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xdb88e7(0x3b0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xdb88e7(0x472)](){const _0x196e7e=_0xdb88e7;throw new Error(_0x196e7e(0x563));}[_0xdb88e7(0x39c)](){const _0x5a4dcb=_0xdb88e7;throw new Error(_0x5a4dcb(0x563));}};Mt=ha([Is(0x0,_0x3f3328),Is(0x1,_0x708a43(_0x44ff7a))],Mt);var la=Object['defineProperty'],_a=Object[_0xdb88e7(0x429)],ua=(_0x453881,_0xe1dbfe,_0x386a05,_0x398950)=>{const _0x21cdbb=_0xdb88e7;for(var _0x5c5fca=_0x398950>0x1?void 0x0:_0x398950?_a(_0xe1dbfe,_0x386a05):_0xe1dbfe,_0x3a35dd=_0x453881[_0x21cdbb(0x530)]-0x1,_0x1ae859;_0x3a35dd>=0x0;_0x3a35dd--)(_0x1ae859=_0x453881[_0x3a35dd])&&(_0x5c5fca=(_0x398950?_0x1ae859(_0xe1dbfe,_0x386a05,_0x5c5fca):_0x1ae859(_0x5c5fca))||_0x5c5fca);return _0x398950&&_0x5c5fca&&la(_0xe1dbfe,_0x386a05,_0x5c5fca),_0x5c5fca;},Ne=(_0x27cda5,_0x25baa3)=>(_0xeef006,_0x5f3b1f)=>_0x25baa3(_0xeef006,_0x5f3b1f,_0x27cda5);let Lt=class extends _0x56bedc{constructor(_0x5047e2,_0x409402,_0x478d9f,_0x34d87d,_0x46ced1){const _0x3385ef=_0xdb88e7;super(_0x5047e2,_0x409402,_0x478d9f),this[_0x3385ef(0x225)]=_0x34d87d,this[_0x3385ef(0x3da)]=_0x46ced1;}[_0xdb88e7(0x4ae)](_0xb38e68,_0x510f49){const _0x4847e2=_0xdb88e7,_0x2e7713=this[_0x4847e2(0x312)](_0xb38e68);if(_0x2e7713)try{const _0x1d3113=this[_0x4847e2(0x4df)](_0x2e7713,_0x510f49);this[_0x4847e2(0x4e2)](_0xb38e68,_0x1d3113);}catch(_0x14bf55){this[_0x4847e2(0x3da)][_0x4847e2(0x528)](_0x4847e2(0x3b2),_0x14bf55),this[_0x4847e2(0x4eb)](_0xb38e68);}const _0xc4fbd=this[_0x4847e2(0x486)](_0xb38e68);if(_0xc4fbd)try{const _0x4284a1=this['_transformStack'](_0xc4fbd,_0x510f49);this[_0x4847e2(0x35c)](_0xb38e68,_0x4284a1);}catch(_0x49adae){this['_logService'][_0x4847e2(0x528)](_0x49adae),this['_clearRedo'](_0xb38e68);}}['_clearUndo'](_0x58fac8){const _0x454bca=_0xdb88e7,_0x2fd273=this['_getUndoStack'](_0x58fac8);_0x2fd273&&(_0x2fd273[_0x454bca(0x530)]=0x0,this[_0x454bca(0x35b)]());}[_0xdb88e7(0x388)](_0x194fcf){const _0xddcf85=_0xdb88e7,_0x1356a5=this[_0xddcf85(0x486)](_0x194fcf);_0x1356a5&&(_0x1356a5[_0xddcf85(0x530)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0xd1fc90,_0x2299f8){const _0xd6c52b=_0xdb88e7;this[_0xd6c52b(0x419)][_0xd6c52b(0x512)](_0xd1fc90,_0x2299f8),this[_0xd6c52b(0x35b)]();}[_0xdb88e7(0x35c)](_0x540351,_0x3a2014){this['_redoStacks']['set'](_0x540351,_0x3a2014),this['_updateStatus']();}[_0xdb88e7(0x4df)](_0xf2993c,_0x5b24d5){const _0x57081e=_0xdb88e7,_0x58eda5=[];let _0x4fc2a4=_0x5b24d5,_0x148480=_0x5b24d5;for(let _0x13dfd9=_0xf2993c[_0x57081e(0x530)]-0x1;_0x13dfd9>=0x0;_0x13dfd9--){const {unitID:_0x542814,undoMutations:_0x20bffe,redoMutations:_0x291b01}=_0xf2993c[_0x13dfd9],_0x3eeb77=this['_transformService'][_0x57081e(0x46b)](_0x4fc2a4,_0x20bffe),_0x151fce=this[_0x57081e(0x225)][_0x57081e(0x46b)](_0x148480,_0x291b01);if(_0x556598(_0x3eeb77)||_0x556598(_0x151fce)){this['_logService']['error'](_0x57081e(0x3b2),_0x57081e(0x4fa),_0x3eeb77,_0x151fce);break;}_0x4fc2a4=_0x3eeb77[_0x57081e(0x350)],_0x148480=_0x151fce['c1Prime'],_0x58eda5[_0x57081e(0x393)]({'unitID':_0x542814,'undoMutations':_0x3eeb77[_0x57081e(0x1eb)],'redoMutations':_0x151fce[_0x57081e(0x1eb)]});}return _0x58eda5['reverse']();}};Lt=ua([Ne(0x0,_0x3c6560),Ne(0x1,_0x49d215),Ne(0x2,_0x5b8b62),Ne(0x3,_0x144409),Ne(0x4,_0x32f72e)],Lt);class da extends _0x390154{constructor(){const _0xf15d90=_0xdb88e7;super(),l(this,_0xf15d90(0x255)),this[_0xf15d90(0x255)]=_0x559a32(window,_0xf15d90(0x1fc))[_0xf15d90(0x279)](_0x13b5ec(this[_0xf15d90(0x337)]),_0x198654(0x1),_0x431d45(void 0x0));}['setParam'](_0x6932a4,_0xbb932c,_0x34e1c6=!0x1){const _0x510dfe=_0xdb88e7,_0x333647=new URL(window[_0x510dfe(0x3b6)][_0x510dfe(0x425)]);_0x333647[_0x510dfe(0x36f)][_0x510dfe(0x512)](_0x6932a4,_0xbb932c),_0x34e1c6?window[_0x510dfe(0x516)][_0x510dfe(0x222)]('','',_0x333647['toString']()):window[_0x510dfe(0x516)]['pushState']('','',_0x333647['toString']());}['removeParam'](_0x3ca7da,_0x1141e7=!0x1){const _0xa9e903=_0xdb88e7,_0x1ed321=new URL(window[_0xa9e903(0x3b6)][_0xa9e903(0x425)]);_0x1ed321[_0xa9e903(0x36f)]['delete'](_0x3ca7da),_0x1141e7?window['history'][_0xa9e903(0x222)]('','',_0x1ed321[_0xa9e903(0x373)]()):window['history'][_0xa9e903(0x3bc)]('','',_0x1ed321[_0xa9e903(0x373)]());}['getParam'](_0x46e83b){const _0x27733f=_0xdb88e7;var _0x554d2d;return(_0x554d2d=new URL(window[_0x27733f(0x3b6)][_0x27733f(0x425)])['searchParams'][_0x27733f(0x2c9)](_0x46e83b))!=null?_0x554d2d:void 0x0;}}var ei=Object['defineProperty'],ma=Object[_0xdb88e7(0x429)],fa=(_0x47bb94,_0x397975,_0x1f73ab)=>_0x397975 in _0x47bb94?ei(_0x47bb94,_0x397975,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f73ab}):_0x47bb94[_0x397975]=_0x1f73ab,ga=(_0x412582,_0x4d499a,_0x165dd1,_0x250b00)=>{const _0xc1eb9a=_0xdb88e7;for(var _0x4f9392=_0x250b00>0x1?void 0x0:_0x250b00?ma(_0x4d499a,_0x165dd1):_0x4d499a,_0x5e73e9=_0x412582[_0xc1eb9a(0x530)]-0x1,_0x13b893;_0x5e73e9>=0x0;_0x5e73e9--)(_0x13b893=_0x412582[_0x5e73e9])&&(_0x4f9392=(_0x250b00?_0x13b893(_0x4d499a,_0x165dd1,_0x4f9392):_0x13b893(_0x4f9392))||_0x4f9392);return _0x250b00&&_0x4f9392&&ei(_0x4d499a,_0x165dd1,_0x4f9392),_0x4f9392;},Ve=(_0x379165,_0x533535)=>(_0xc57866,_0xc08c6a)=>_0x533535(_0xc57866,_0xc08c6a,_0x379165),Sa=(_0x27a615,_0x1c7669,_0x520a53)=>fa(_0x27a615,_0x1c7669+'',_0x520a53);const pa=_0xdb88e7(0x41b);let $t=class extends _0x595417{constructor(_0x4707ee=jn,_0x2fcd45,_0x45b51a,_0x86d379,_0x1c7f57){const _0x4a2976=_0xdb88e7;super(),this[_0x4a2976(0x38f)]=_0x4707ee,this['_logService']=_0x2fcd45,this[_0x4a2976(0x201)]=_0x45b51a,this[_0x4a2976(0x48d)]=_0x86d379,this[_0x4a2976(0x287)]=_0x1c7f57;const {..._0x1254f4}=this[_0x4a2976(0x38f)];this['_configService']['setConfig'](j,_0x1254f4);}['onStarting'](){const _0x32e97b=_0xdb88e7;this[_0x32e97b(0x40d)](),this[_0x32e97b(0x29b)]();}['onReady'](){const _0x377c60=_0xdb88e7;_0x9e618e(this[_0x377c60(0x48d)],[[Qe]]);}[_0xdb88e7(0x4e5)](){const _0x31581d=_0xdb88e7;this[_0x31581d(0x2fa)]();}[_0xdb88e7(0x40d)](){const _0x5be8ab=_0xdb88e7;var _0x19d19f,_0x308417,_0x5b7dbb,_0x4c65cb;this['_injector']['has'](_0x36efc6)&&this['_logService'][_0x5be8ab(0x528)](_0x5be8ab(0x381),_0x5be8ab(0x1ec));const _0x3b51c9=[[_0x36efc6,{'useClass':Lt}],[_e],[Kt],[Qs,{'useClass':da}],[le],[D],[_0x3e1e9c],[Xe],[qe],[Ke],[Gt],[et],[tt],[Fs],[st],[Vs,{'useClass':(_0x308417=(_0x19d19f=this[_0x5be8ab(0x38f)])==null?void 0x0:_0x19d19f['socketService'])!=null?_0x308417:Tt}],[_0x52152c,{'useClass':Mt}],[_0x47a8cb,{'useClass':Nt}],[_0x138aac,{'useClass':At}],[Le],[Ze],[ze],[Qe],[Ce]];(_0x5b7dbb=this[_0x5be8ab(0x38f)])!=null&&_0x5b7dbb[_0x5be8ab(0x399)]&&_0x3b51c9[_0x5be8ab(0x393)]([it,{'useClass':Sr}]),_0x423b4c(this['_injector'],_0x3c5e44(_0x3b51c9,(_0x4c65cb=this[_0x5be8ab(0x38f)])==null?void 0x0:_0x4c65cb[_0x5be8ab(0x389)]));}[_0xdb88e7(0x2fa)](){const _0x101b1d=_0xdb88e7;this[_0x101b1d(0x3fb)](this[_0x101b1d(0x201)]['registerRenderModule'](_0x28e552['UNIVER_DOC'],[yt])),this[_0x101b1d(0x3fb)](this[_0x101b1d(0x201)][_0x101b1d(0x256)](_0x28e552[_0x101b1d(0x240)],[Ut]));}[_0xdb88e7(0x29b)](){const _0xf15b10=_0xdb88e7;var _0xf66081,_0x4605f4;this[_0xf15b10(0x48d)][_0xf15b10(0x2c9)](_0x44ff7a)[_0xf15b10(0x203)]({'priority':0x14,'interceptor':_0x572c0a({'maxParallel':0x6})}),(_0xf66081=this[_0xf15b10(0x38f)])!=null&&_0xf66081[_0xf15b10(0x4f7)]||this['_injector']['get'](D)['disableLocalCache'](),(_0x4605f4=this[_0xf15b10(0x38f)])!=null&&_0x4605f4[_0xf15b10(0x3f3)]&&_0x9e618e(this[_0xf15b10(0x48d)],[[et]]),_0x9e618e(this[_0xf15b10(0x48d)],[[tt],[Ce],[Ze],[Le],[ze],[st]]);}};function _0x55a0(){const _0x11cc38=['commentUpdate$','max','retryConnectingInterval','1617657LVLSxP','NO_OTHER_CLIENTS_EDITING','_session','font','getTime','endColumn','_snapshotServerService','ERROR_IMAGE_TYPE','_shapes','_scheduleSaving','SNAPSHOT_INVALID_SNAPSHOT','NOT_COLLAB','_exhaustRemoteChangesetQueue','transformChangesets','addObjects','sendChangesetTimeout','transformMutationsWithChangeset','_drawAnchor','_getDownloadEndpointURL','_textBubble','_toggleOnline','listRoles','changesets','copyFileMeta','setShowComponents','bind','roomMembers$','_changesetSessionId','[SyncedState]:\x20received\x20acknowledgement.','online','_colorAssignService','_transformSelections','onPointerLeave$','[SyncedState]:\x20received\x20rejection.','_anchorDot','_onRemoteChangeset','close$','collabStatus.conflict','_onRemoteRetry','PENDING','_telemetryService','_scheduleClearOtherTimer','collaboration-session-retry','_getRedoStack','registerComponent','transform','_cursor','UNAUTHENTICATED','idSuffix','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_injector','next','off-line-single','loadDoc','[OfflineState]:\x20received\x20acknowledgement.','_memberService','getCollabEntity','url(#$1','6541158ZomAuF','_send','readAsDataURL','YUUMI_SUBSCRIPTION_NOT_FOUND','OnLineSingle','getTypeOfUnitDisposed$','BASE64','awaitingChangeset','TEXT','setWaitCount','onSyncEditingCollabCursor','1826718XMCVoD','asObservable','synced','_docTransformSelectionsService','triggerDblclick','LIVESHARE_TERMINATE','\x20-\x20','findNodePositionByCharIndex','/role','_cursorShapes','_refreshCollabCursors','getCurrentUnitForType','_beforeCloseService','_permissionService','transformUndoRedo','_imageSourceCache','_eventUnsubscribe','_draw','getDeserializedSheetBlock','_isPermissionRej','/universer-api/snapshot/','/-/object/list','editing\x20status\x20changed\x20to','/rev/','PSEUDO_FETCH_MISSING_RESULT','type','image/jpeg','getCurrentSelections','collabStatus.syncing','_getScale','SNAPSHOT_HAS_BEEN_REMOVED','number','UNDEFINED','addEventListener','getConfig','/block/','_state','HttpExport','indexOf','univer-online-status','UnitEmbedded','onStateChange','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','liveShareNewHost','hidden','_onRemoteRejected','SNAPSHOT_URL_KEY','getUnitOnRev','executeCommand','_render','liveShareOperation','[PendingState]:\x20received\x20rejection.','YUUMI_RATE_OVER_LIMIT','POST','_roomMembers','filter','_updateCollabCursors','SHOULD_CLOSE_CONN','onRemoteChangeset','_compressMutationService','data','setAlpha','fetchMissingChangesets','_transformStack','updateOfflineData','_onOffline','_substituteUndoStack','PERMISSION_DENIED','target','onRendered','awaiting','revision','collabWebSocketUrl','_telemetryInfo','CHANGESET_SHOULD_RETRY','_clearUndo','includes','[CollaborationSessionService]','displayName','getParam','_resendTimeout','result','_collaborationPaused','restore','getDocRanges','_clearLocalCache','members','enableOfflineEditing','OffLineSingle','image/bmp','transformStack\x20failed!','addObject','_getUploadFileURL','_commentUpdate$','getItem','collaborators','_urlService','none','LIVESHARE_REQUEST_HOST','memberID','_clearScheduledTask','getMergeData','INVALID_ARGUMENT','_startCollaboration','_sheetTransformSelectionsService','_loadSheet','measureText','FAIL','_retryConnectingTimer','_userManagerService','_saveTaskMap','dispose','sid','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','set','addImageSourceCache','_notificationService','snapshotServerUrl','history','_listenToOnlineEvent','originalMeta','transformByState','ranges','_disabled','open$','_submitChangeset','startColumn','DEFAULT_FILE_NAME','AWAITING','appendMutation','_members','_applyRemoteChangeset','FETCH_MISSING','session.collaboration-timeout','OFFLINE','getCollabCursors$','error','_change$','onSendChangeset','permission.content','_roomMembers$','deleteCollaborator','duration','jiqing500','length','doc.mutation.rich-text-editing','headers','min','_acknowledgedAwaitingChangeset','MSG_FOR_ERROR','use','roles','loadOfflineData','_toggleOffline','contains','pluginName','color','function','CONFLICT','470708WuBrTY','_waitCount','snapshot','_onCursorDelete','_initMergeInterceptor','_createSocket','/-/object/-/batch_allowed','FromArray','_executeRemoteChangeset','labelPosition','getRenderById','/resources','UUID','1em','_replayCachedMutations','width','post','values','_ws','getAncestorScale','onPointerEnter$','attrs','transformMutation','collabStatus.synced','USERS_LEAVE','DeleteRangeMoveUpCommandId','getActiveSheet','_scheduleTimestamp','slice','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20open.','setParam','_HTTPService','_drawTextRange','LOCAL_CACHE_INTERVAL','downloadEndpointUrl','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getSheetBySheetId','_getAPIPrefixPath','_handler','_onUserLeave','_cachedData','entries','resize','closeSession','\x0aCurrent:\x20','LICENSE_IMPORT_SIZE_EXCEEDED','m2Prime','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','translate(.97)','{fileID}','encodeURIComponent','row','hovered','clearInterval','getSkeleton','complete','SYNCED','roomInfos','lineTo','onMissingChangesets','JOIN','_updateLocalCache','registerOnClose','popstate','_themeService','save','not_collab','LIVESHARE_OPERATION','_renderManagerService','getViewport','registerHTTPInterceptor','file','[OfflineState]:\x20received\x20changeset.','_ensureSubject','getMember','disableLocalCache','unitID','_clearHeartbeatTimer','size','isPermissionRej','_initUnitPermissionChange','_initResize','_id','registerBeforeClose','_schedule','hide','HttpImport','onTransformIME','subUnitId','...','APPLY_DUPLICATED','getInterceptPoints','every','error$','getRangePointData','_syncEditingCollabCursor','onRemoteAck','isEditing','_transitionLocked','session','_transformPreviousActiveRange','replaceState','sessionStatus$','getCurrentUser','_transformService','/universer-api/oidc/authpage','setTimeout','_resendTimer','toRgbString','/universer-api/authz','_rescheduleHeartbeat','prototype','_collaborationTimeoutTimer','UnitSnapshot','_localStorageService','joinRsp','with','_transformIMECache','_context','onCommandExecuted','InsertRangeMoveRightCommandId','COLLAB_WEB_SOCKET_URL','onlineStatus','COLLAB_SUBMIT_CHANGESET_URL','permission.title','assignAColorForMemberID','subscribeEvent','offline','setUndoRedoMutationParamsCache','purple300','transformSelections','UNIVER_SHEET','APPLY_REJECT','_undoRedoService','range','VIEW_MAIN','Error','_saveCache','status','isArray','setCurrentUser','[CollaborationEntity]','syncEditingCollabCursor','infoRsp','_cursorInfo$','InsertColCommandId','getActiveRange','src','collaMsg','_hideTimer','APPLY_REVISION_CONFILICT','_labelPosition','urlChange$','registerRenderModule','apply','_localCacheService','_onRecvEvent','forEach','_socketReady','univer-offline','_online','authzUrl','getUndoRedoMutationParamsCache','then','_shouldReportTelemetry','YUUMI_URL_COL_OUT_OF_RANGE','_onMessage','_unitOnClients','awaiting_with_pending','className','code','currentTheme$','?size=','_httpService','message$','_handleLeaveEvent','_socket$','xlink:href','_createInitialState','onTransformRemoteChangesetByIMECache','_onRefRangeChange','_listenToOfflineEvent','unitId\x20is\x20not\x20found','SNAPSHOT_SERVER_URL_KEY','confirm','unknown','currentSkeleton$','21772856iaeayW','pipe','_onFetchMissResult','univer-pro.collaboration-client.single-active-unit-service','update','/universer-api/stream/file/upload','fillStyle','_getLoginPath','_localeService','text','/collaborator','_fetchMissChangesets','getCurrentRevOfUnit','USERS_ENTER','column','_configService','change$','_decreaseWaiting','onMissedChangesetFetched','COMMENT_UPDATE','on-line-single_clip0_910_349','AWAITING_WITH_PENDING','_onUserJoin','_onConflict','black','body','_startTelemetryCollaborationNewChangeset','actions','MUTATION','map','url','UNIVER_SLIDE','equals','mutations','_socket','_initDependencies','setShapeProps','_snapshotService','userID','key','collaboration.closeRoom','Undefined','[DataLoaderController]','params','HELLO','&source=','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','removeMember','UPDATE_PERMISSION_OBJ','eventID','Warning','unitId','_type','compose','_getCtorByUniverType','unit-cache-','_initCloseConn','collab-text-anchor-','&assign=','objectType','unshift','failed\x20to\x20apply\x20missed\x20changesets!','origin','getUniverSheetInstance','resend','debug','collaboration-client.config','_disableEditing','createInstance','COMPRESS_MUTATION_SEND','/object','ALREADY_EXISTS','_pendingMutations','stringify','collaboration.single-unit.warning','routeKey','baseRev','_startDocCollabCursor','PERMISSION_REJ','_document','_hovered','get','toLowerCase','_state$','_lastPointer','HEARTBEAT','_handleHover','red300','url(#on-line-single_clip0_910_349)','_getSendChangesetTimeout','getUnit','json','RETRY_CONNECTING_MAX_COUNT','_collaborationSessionService','_instanceService','toggleOffline','UNIVER_DOC','fetching\x20missing\x20changesets\x20from\x20','generateRandomId','NEW_CHANGESETS','INGEST','all','colorChannel1','ERROR_IMAGE','_getCurrentRevision','trim','loginUrlKey','initWorkbookPermissionChange','SUCCUSS','setItem','CHANGESET_ACK','HEARTBEAT_INTERVAL','0\x200\x2016\x2016','roomMembers','cmd','SUBMIT_CHANGESET','#fff','selections','concat','saveImage','_socketService','getUnitStatus$','localeService','_messageService','isActive','INTERNAL_ERROR','/fetchmissing?from=','pending','LIVESHARE_NEW_HOST','name','_registerRenderDependencies','onPointerMove$','_createInitialStateImpl','5170030ayDGwr','IDLE','docStateChange$','LIVESHARE_FETCH_OPERATIONS','now','has','_onJoinRoomEvent','verdancy600','univer-online-status-icon','collaboration_new_changeset','_docTransformIMECacheService','InsertRowCommandId','newCsEvent','168850KESmmT','bottom','RemoveRowCommandId','find','_onCursorUpdate','fillText','_sender','session.will-retry','_getUndoStack','_initStatusComponent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','TOO_MANY_REQUESTS','getMemberID','UNIVER_UNKNOWN','OTHER_CLIENTS_EDITING','call','/object/','symbol','HEADER_MENU','_getAPIPrefix','_colorIndex','_anchor','_entityInit$','_cursors','top','div','_docStateChangeManagerService','evenodd','transformIMECache','batchAllowed','from','COMPRESS_MUTATION_APPLY','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','show','reconnect','toggleOnline','commentUpdateEvent','_sessions','saveSnapshot','AUTHZ_URL_KEY','_http','_transformUndoredo','arc','_resendWithTimeout','rng','dispose$','_selfUnitIDs','_handleJoinEvent','_transformUndoRedoStack','_sendingTimer','defIds','interceptor','string','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','_socketMessageSubscription','x-univer-host','_initRequestHeader','_onConnectionOpen','session.room-full','_onRemoteACK','UniverIcon','object','RECT','substring','_initStatusListener','UNIVER_PROJECT','m1Prime','_docSkeletonManagerService','collab-rect-range-','subunit','c1Prime','icon','fetchThroughInterceptors','getUnitType','getValue','focused$','method','svg','fetchMiss','ENSURE_SNAPSHOT_EXECUTION','getTypeOfUnitAdded$','_updateStatus','_substituteRedoStack','catch','resolve','[CollaborationSession]','_showConflictNotification','collabStatus.fetchMiss','_transformRemoteChangesetByIMECache','_handleEvent','textRanges','collab-text-range-','_clearOtherTimers','_queuedRemoteChangesets','RECV','updateMember','_initCommandExecutedListener','/unit/','M0\x200H16V16H0z','encode','_loadDoc','searchParams','_syncEditingCollabCursorService','collabStatus.notCollab','_univerInstanceService','toString','_backgroundColor','_assignedColors','_commandService','patch','backgroundColor','status$','put','_revisionService','getOffsetConfig','_startSheetCollabCursor','send','round','_collabCursorState$','[UniverCollaborationClientPlugin]','[PendingState]:\x20received\x20acknowledgement.','\x20in\x20_schedule.','_lockTransition','close','_drawRectRange','cursorInfo','_clearRedo','override','JOINING','objectActions','getRandomValues','_timeoutTimer','\x20to\x20','_config','_collabSessionService','collaboratorID','_sendHeartbeatTimer','push','height','_awaitingChangeset','defineProperty','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_removeClearOtherTimer','enableSingleActiveInstanceLock','getCollabEntity$','state$','getLatestCsReqIdBySid','UPDATE_CURSOR','_singleActiveUnitService','MoveRangeCommandId','LEAVE','saveSheetBlock','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','NOT_FOUND','collab-client.tooltip.reconnect','transformRemoteChangeset','EXCHANGE_SIGN_URL_SERVER_URL_KEY','resourceIDs','createElement','_color','_setupSubUnitSync','_onLocalMutation','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','objectID','_removeCollabCursors','image/png','saveChangeset','_unitID','[CollaborationUndoRedoService]','_remoteChangesetQueue','_sessionStatus$','drawWith','location','split','_heartbeatTimer','getSheetId','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','whenReady','pushState','_refRangeService','_unitStatus','[CollaborationSessionService]:\x20socket\x20error','_handleHeartbeatEvent','_scene','_clearCollaborationTimeoutTimer','unsubscribe','univer-online-status-title','fill','updateCursorEvent','parse','_updateURLWithCurrentState','connection\x20error','/universer-api/file/{fileID}/sign-url','collaboration-client.offline-data-not-saved','_getAnchorBounding','_getSheetObject','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','collabCursorState$','APPLY_NON_SEQUENTIAL_REVISION','UNKNOWN_CODE','hasOwnProperty','_tryEnsureSocket','selection','_range','loadSheet','refreshPermission','requireSession','clearTimeout','_logService','off-line-single_clip0_910_343','socket\x20close','fromCollab','[OfflineState]:\x20received\x20rejection.','onTransformSelections','capture','UNKNOWN_CMD','_updateState','socket$','signUrlServerUrl','LICENSE_MAX_UNITS_EXCEEDED','onload','getImageSourceCache','gold400','_entities','onRemoteRej','pauseCollaboration','registerRefRange','_updateLocalCursor','APPLY_PERMISSION_DENIED','clipPath','_getMergeRange','_getSignURL','tag','enableAuthServer','onlineStatusTitle','_getSnapshotAPIPrefix','_changesetReqId','/universer-api/comb','getAllMembers','Error\x20on\x20receiving\x20event','image/jpg','disposeWithMe','CHANGESET_REVISION_CONFILICT','_throwTelemetryCollaborationNewChangeset','assign','_collabCursorController','_retryCount','children','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','InsertRangeMoveDownCommandId','_uiPartsService','path','_candidateSocket','_status$','_setupBeforeClosingHandler','telemetry\x20info\x20is\x20not\x20initialized','_clearTimeoutTimer','workbook','currentColor','_registerDependencies','sheets','create','delete','onRemoteRetry','event$','session.connection-failed','ONLINE','csAckEvent','_createHandler','joinEvent','reject','_undoStacks','collabStatus.offline','UNIVER_COLLABORATION_CLIENT_PLUGIN','exhaustSavingTask','_tryReconnect','requestParams','startsWith','replaceTextRanges','LICENSE_DISTRO_REJECTED','updatePermissionPoint','init','ws://127.0.0.1:8000/universer-api/comb/connect','href','_name','subscribe','onlyLocal','getOwnPropertyDescriptor','SEND_CHANGESET_TIMEOUT','_event$','_initEventListeners','DeleteRangeMoveLeftCommandId','_docSkeleton','UNRECOGNIZED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_UNABLE_LOAD_URL','_sheetSkeletonManagerService','_replaceFileID','cursorInfo$','defs','reduce','getFocusedUnit','Unknown\x20user','getOwnPropertySymbols','makeDirty','sessionStatus','leaveEvent','fetch_missing','stopTime','blue400','conflict.content','deepClone','_removeRoom','clear','getUnitId','_waitForHeartbeatResponse','[FetchMissState]','reqId','action','randomUUID','CONNECTOR_DATA_TOO_LARGE','_incrementRevisionNumber','add','auth.needGotoLoginAlert','COMPLETION_FINISHED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','editingUnit','_scheduleCollaborationTimeoutTimer','_hover','_onConnectionFailed','_init','/allowed','_unlockTransition','_checkMissing'];_0x55a0=function(){return _0x11cc38;};return _0x55a0();}Sa($t,_0xdb88e7(0x53b),pa),$t=ga([_0x2dd5a4(_0xc07079,_0x3ba318),Ve(0x1,_0x32f72e),Ve(0x2,_0x16b9ef),Ve(0x3,_0x708a43(_0x262acb)),Ve(0x4,_0x3f3328)],$t);export{Fo as AUTHZ_URL_KEY,Nt as AuthzIoHttpService,An as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,Le as CollaborationController,Je as CollaborationEntity,Rt as CollaborationSession,_e as CollaborationSessionService,Tt as CollaborationSocketService,w as CollaborationStatus,To as CollaborationStatusDisplay,Fs as CommentService,Ze as DataLoaderController,ze as DesktopCollaborationStatusDisplayController,Ot as DocCollaborationEntity,On as HEARTBEAT_INTERVAL_KEY,xs as HEARTBEAT_TIMEOUT_KEY,Vs as ICollaborationSocketService,Qs as IURLService,At as ImageIoService,Un as LOCAL_CACHE_INTERVAL_KEY,Ln as LOGIN_URL_KEY,D as LocalCacheService,le as MemberService,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,xa as SEND_CHANGESET_TIMEOUT_KEY,In as SNAPSHOT_SERVER_URL_KEY,Cn as SNAPSHOT_URL_KEY,X as SessionStatus,no as SheetCollabCursorShape,Dt as SheetCollaborationEntity,Mt as SnapshotServerOverHTTPService,$t as UniverCollaborationClientPlugin,da as WebURLService,xn as deserializeToCombResponse,Hn as serializeCombRequest};
|
1
|
+
const _0x1a7f07=_0x54d3;(function(_0x76e140,_0x1c9259){const _0x237b10=_0x54d3,_0x5ceb75=_0x76e140();while(!![]){try{const _0x5d82b5=parseInt(_0x237b10(0x499))/0x1+-parseInt(_0x237b10(0x49e))/0x2+-parseInt(_0x237b10(0x209))/0x3+parseInt(_0x237b10(0x368))/0x4*(-parseInt(_0x237b10(0x4c9))/0x5)+-parseInt(_0x237b10(0x55b))/0x6+-parseInt(_0x237b10(0x498))/0x7+parseInt(_0x237b10(0x27c))/0x8;if(_0x5d82b5===_0x1c9259)break;else _0x5ceb75['push'](_0x5ceb75['shift']());}catch(_0x4f4eae){_0x5ceb75['push'](_0x5ceb75['shift']());}}}(_0x5961,0xb5b0a));var Ki=Object[_0x1a7f07(0x5b3)],zi=(_0x57a78c,_0xc3fe17,_0x367e9e)=>_0xc3fe17 in _0x57a78c?Ki(_0x57a78c,_0xc3fe17,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x367e9e}):_0x57a78c[_0xc3fe17]=_0x367e9e,g=(_0xc0233c,_0x4ee335,_0x578b59)=>zi(_0xc0233c,typeof _0x4ee335!='symbol'?_0x4ee335+'':_0x4ee335,_0x578b59);import{createIdentifier as _0x2707b7,Inject as _0x5cf6ec,Disposable as _0x3b3e75,DisposableCollection as _0xb0f374,toDisposable as _0x1c981a,IConfigService as _0x34b905,ILogService as _0x1e210b,UserManagerService as _0x133322,UniverInstanceType as _0x31d58f,IUniverInstanceService as _0x1726a1,LocaleService as _0x51f47a,Optional as _0x94953d,RxDisposable as _0x1cb902,Injector as _0xc0c089,Tools as _0x235991,ILocalStorageService as _0x2a11e6,Rectangle as _0x194108,ICommandService as _0x322b66,DOC_RANGE_TYPE as _0xe3b3a7,JSONX as _0xb47243,CommandType as _0x42d006,IPermissionService as _0x1083e0,IUndoRedoService as _0x5c2e54,sequenceExecute as _0xd02ce7,debounce as _0x433f68,COLORS as _0x48abe6,ColorKit as _0x5d5cbb,ThemeService as _0x104cf8,fromEventSubject as _0xda2401,useDependency as _0x3e43a5,connectInjector as _0x2bfd16,Workbook as _0x762674,isInternalEditorID as _0x47f4f5,LocalUndoRedoService as _0x3c699e,IContextService as _0x49ed20,DependentOn as _0x12c346,Plugin as _0x1dbbfd,touchDependencies as _0x9ace4b,IAuthzIoService as _0x568d25,registerDependencies as _0x3cc00e,mergeOverrideWithDependencies as _0x4907d0}from'@univerjs/core';import{Subject as _0x50574e,merge as _0x407b74,takeUntil as _0x171184,BehaviorSubject as _0x2c5f3e,distinctUntilChanged as _0x3f9e4c,fromEvent as _0x47503d,ReplaySubject as _0x32d019,take as _0x4e26bd,map as _0x55a023,shareReplay as _0x2b0828,of as _0x37aace,debounceTime as _0x341150,filter as _0x5d6a4a,switchMap as _0x1eab13,combineLatest as _0x3b40d1,concatMap as _0x57a071,mapTo as _0x527bfc}from'rxjs';import{map as _0x4e0bfc,take as _0x23f267,filter as _0x5cdcf5,delay as _0x2804ad,throttleTime as _0x11fe20,takeUntil as _0x2d8749,switchMap as _0x288cb3}from'rxjs/operators';import{MessageType as _0x4c03fa,Tooltip as _0x52d371}from'@univerjs/design';import{IBeforeCloseService as _0x5826ab,IMessageService as _0x521fac,INotificationService as _0x5a8c90,useObservable as _0x5841b1,BuiltInUIPart as _0x57e1bb,IUIPartsService as _0x1efadf}from'@univerjs/ui';import{HTTPService as _0x337047,WebSocketService as _0x138fc4,MergeInterceptorFactory as _0x4efab7,HTTPRequest as _0x5c71c3,UniverNetworkPlugin as _0x2a32af,ThresholdInterceptorFactory as _0x1afce2}from'@univerjs/network';import{CollaborationEvent as _0x4e3c97,parseChangesetToProtocol as _0xb83e96,ISnapshotServerService as _0x5670c4,isTransformMutationFailure as _0x46adb2,isTransformMutationsWithChangesetSuccess as _0x1b23f5,ITransformService as _0x2746ae,RevisionService as _0x5ee8b1,mapDocumentTypeToUniverType as _0x518e15,isTransformChangesetsSuccess as _0x408fbf,CompressMutationService as _0x230e80,parseProtocolChangeset as _0x35fd25,SnapshotService as _0xdab834,textEncoder as _0x1c89a9,b64DecodeUnicode as _0x330a6d,isTransformMutationsWithChangesetFailure as _0xa87d82,UniverCollaborationPlugin as _0x2f2f43}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2ab1b7}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x50c7b2,DocStateChangeManagerService as _0x3fdbd8,NodePositionConvertToCursor as _0x598f61,NodePositionConvertToRectRange as _0x17e807,TEXT_RANGE_LAYER_INDEX as _0x58b8cf,SetDocZoomRatioOperation as _0x31e998}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2fad1e,SetSelectionsOperation as _0x27f103,InsertSheetMutation as _0x250bb3,EmptyMutation as _0x84a982,WorkbookEditablePermission as _0x5bdffd,RefRangeService as _0x421d7d,EffectRefRangId as _0x300cbc,handleIRemoveRow as _0x1de90e,handleIRemoveCol as _0x4e0669,handleMoveRange as _0x536a5b,handleInsertRow as _0x1bdaf3,handleInsertRangeMoveRight as _0x499d69,handleInsertRangeMoveDown as _0x28d224,handleInsertCol as _0x255154,handleDeleteRangeMoveUp as _0x220228,handleDeleteRangeMoveLeft as _0x39cf89,runRefRangeMutations as _0x1e843d,SetWorksheetActivateCommand as _0x13b74d}from'@univerjs/sheets';import{IRenderManagerService as _0xa3e106,Shape as _0x1e2684,Rect as _0x1a00c0,getColor as _0x4cc8c9,RegularPolygon as _0x24b371,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2b0eae,Vector2 as _0x5cd961}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x4ad750,RichTextEditingMutation as _0x22550b,SetTextSelectionsOperation as _0x1ccba4,DocSkeletonManagerService as _0x2a9a54}from'@univerjs/docs';import{ImageSourceType as _0x346cdb,ImageUploadStatusType as _0x3ce856,IImageIoService as _0xe3ad09}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x15f56b,serializeRangeWithSheet as _0x5ec0d6}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x419472,VIEWPORT_KEY as _0x45cb2d,getCoordByCell as _0x3aa7ff,getSheetObject as _0x136415,SheetPermissionInitController as _0xdfbf90}from'@univerjs/sheets-ui';import _0x2b1679,{forwardRef as _0x1e7b82,useRef as _0x1edd60,createElement as _0x27ae54,useCallback as _0xfaf194}from'react';import{IRemoteInstanceService as _0x58db13}from'@univerjs/rpc';const rr=_0x1a7f07(0x2de),or=_0x1a7f07(0x410),ar=_0x1a7f07(0x2a6),kc=_0x1a7f07(0x2d9),cr=0x7d0,hr=_0x1a7f07(0x1ee),lr=_0x1a7f07(0x228),_r=_0x1a7f07(0x3f0),ur=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr='LOCAL_CACHE_INTERVAL',pr=0x3e8,gr=_0x1a7f07(0x1f9),Sr=_0x1a7f07(0x340),Ir=_0x1a7f07(0x527),Cr='/universer-api/oidc/authpage';var Ri=(_0x244100=>(_0x244100[_0x244100[_0x1a7f07(0x1c0)]=0x0]='UNDEFINED',_0x244100[_0x244100['OK']=0x1]='OK',_0x244100[_0x244100[_0x1a7f07(0x221)]=0x2]=_0x1a7f07(0x221),_0x244100[_0x244100[_0x1a7f07(0x35c)]=0x3]=_0x1a7f07(0x35c),_0x244100[_0x244100[_0x1a7f07(0x56a)]=0x4]='NOT_FOUND',_0x244100[_0x244100[_0x1a7f07(0x542)]=0x5]=_0x1a7f07(0x542),_0x244100[_0x244100[_0x1a7f07(0x3fb)]=0x6]=_0x1a7f07(0x3fb),_0x244100[_0x244100[_0x1a7f07(0x482)]=0x7]=_0x1a7f07(0x482),_0x244100[_0x244100['TOO_MANY_REQUESTS']=0x8]=_0x1a7f07(0x3f9),_0x244100[_0x244100[_0x1a7f07(0x3ee)]=0x9]=_0x1a7f07(0x3ee),_0x244100[_0x244100[_0x1a7f07(0x389)]=0x1389]=_0x1a7f07(0x389),_0x244100[_0x244100[_0x1a7f07(0x548)]=0x1771]=_0x1a7f07(0x548),_0x244100[_0x244100[_0x1a7f07(0x448)]=0x1772]=_0x1a7f07(0x448),_0x244100[_0x244100['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x244100[_0x244100['APPLY_REJECT']=0x1b59]=_0x1a7f07(0x4ad),_0x244100[_0x244100[_0x1a7f07(0x256)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x244100[_0x244100[_0x1a7f07(0x36e)]=0x1b5b]=_0x1a7f07(0x36e),_0x244100[_0x244100[_0x1a7f07(0x36a)]=0x1b5c]=_0x1a7f07(0x36a),_0x244100[_0x244100['APPLY_DUPLICATED']=0x1b5d]=_0x1a7f07(0x446),_0x244100[_0x244100[_0x1a7f07(0x3e5)]=0x1f41]=_0x1a7f07(0x3e5),_0x244100[_0x244100[_0x1a7f07(0x59b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x244100[_0x244100['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1a7f07(0x336),_0x244100[_0x244100[_0x1a7f07(0x369)]=0x232b]=_0x1a7f07(0x369),_0x244100[_0x244100[_0x1a7f07(0x1d2)]=0x232c]=_0x1a7f07(0x1d2),_0x244100[_0x244100[_0x1a7f07(0x552)]=0x232d]=_0x1a7f07(0x552),_0x244100[_0x244100['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1a7f07(0x281),_0x244100[_0x244100[_0x1a7f07(0x5bb)]=0x2712]=_0x1a7f07(0x5bb),_0x244100[_0x244100[_0x1a7f07(0x30d)]=0x2713]=_0x1a7f07(0x30d),_0x244100[_0x244100[_0x1a7f07(0x33d)]=0x2714]=_0x1a7f07(0x33d),_0x244100[_0x244100[_0x1a7f07(0x3fd)]=-0x1]=_0x1a7f07(0x3fd),_0x244100))(Ri||{}),ce=(_0x3fb1e9=>(_0x3fb1e9[_0x3fb1e9['UNIVER_UNKNOWN']=0x0]=_0x1a7f07(0x4f1),_0x3fb1e9[_0x3fb1e9['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x3a2)]=0x2]=_0x1a7f07(0x3a2),_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x471)]=0x3]='UNIVER_SLIDE',_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x35a)]=0x4]=_0x1a7f07(0x35a),_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x3fd)]=-0x1]=_0x1a7f07(0x3fd),_0x3fb1e9))(ce||{}),W=(_0x15019b=>(_0x15019b[_0x15019b[_0x1a7f07(0x377)]=0x0]='UNKNOWN_CMD',_0x15019b[_0x15019b[_0x1a7f07(0x1e1)]=0x1]=_0x1a7f07(0x1e1),_0x15019b[_0x15019b[_0x1a7f07(0x20d)]=0x2]=_0x1a7f07(0x20d),_0x15019b[_0x15019b[_0x1a7f07(0x222)]=0x3]=_0x1a7f07(0x222),_0x15019b[_0x15019b[_0x1a7f07(0x1df)]=0x4]=_0x1a7f07(0x1df),_0x15019b[_0x15019b[_0x1a7f07(0x315)]=0x5]=_0x1a7f07(0x315),_0x15019b[_0x15019b[_0x1a7f07(0x478)]=0x6]=_0x1a7f07(0x478),_0x15019b[_0x15019b[_0x1a7f07(0x3fd)]=-0x1]='UNRECOGNIZED',_0x15019b))(W||{}),Is=(_0x3b61c5=>(_0x3b61c5[_0x3b61c5[_0x1a7f07(0x2d3)]=0x0]=_0x1a7f07(0x2d3),_0x3b61c5[_0x3b61c5['OK']=0x1]='OK',_0x3b61c5[_0x3b61c5[_0x1a7f07(0x58e)]=0x2]=_0x1a7f07(0x58e),_0x3b61c5[_0x3b61c5[_0x1a7f07(0x3fd)]=-0x1]='UNRECOGNIZED',_0x3b61c5))(Is||{}),yi=(_0xced278=>(_0xced278[_0xced278[_0x1a7f07(0x318)]=0x0]='Undefined',_0xced278[_0xced278[_0x1a7f07(0x304)]=0x1]=_0x1a7f07(0x304),_0xced278[_0xced278['HttpExport']=0x2]=_0x1a7f07(0x45b),_0xced278[_0xced278[_0x1a7f07(0x4cb)]=0x3]=_0x1a7f07(0x4cb),_0xced278[_0xced278[_0x1a7f07(0x521)]=0x4]=_0x1a7f07(0x521),_0xced278[_0xced278[_0x1a7f07(0x3fd)]=-0x1]=_0x1a7f07(0x3fd),_0xced278))(yi||{});const ie=_0x1a7f07(0x39f),Er={};function br(_0x2f5506){const _0x5eef78=_0x1a7f07;var _0x2214e0,_0x153d8e,_0x541c16,_0x459f5a,_0x7274fe;const _0x4f898c=_0x2f5506[_0x5eef78(0x32e)],_0x3c1e39=JSON[_0x5eef78(0x379)](_0x4f898c);switch(_0x3c1e39['cmd']){case W[_0x5eef78(0x315)]:case W['HELLO']:{const _0x2b01ee=_0x3c1e39[_0x5eef78(0x27d)];return{..._0x3c1e39,'data':_0x2b01ee,'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};}case W['JOIN']:{const _0x31f0be=_0x3c1e39[_0x5eef78(0x32d)];return{..._0x3c1e39,'data':_0x31f0be,'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};}case W[_0x5eef78(0x478)]:{const _0x28a0d2=_0x3c1e39[_0x5eef78(0x363)];switch(_0x28a0d2[_0x5eef78(0x215)]){case _0x4e3c97['PERMISSION_REJ']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x2214e0=_0x28a0d2[_0x5eef78(0x29b)])==null?void 0x0:_0x2214e0['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x343)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x153d8e=_0x28a0d2['csAckEvent'])==null?void 0x0:_0x153d8e['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97['NEW_CHANGESETS']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x541c16=_0x28a0d2[_0x5eef78(0x3c6)])==null?void 0x0:_0x541c16['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x4e7)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x459f5a=_0x28a0d2['csRejEvent'])==null?void 0x0:_0x459f5a['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x22a)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x7274fe=_0x28a0d2[_0x5eef78(0x3e8)])==null?void 0x0:_0x7274fe['cs']},'cmd':_0x3c1e39['cmd']};case _0x4e3c97[_0x5eef78(0x1cc)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x253)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x3af)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x5c4)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x54c)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x25a)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97['LIVESHARE_NEW_HOST']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x43e)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x5ae)]:case _0x4e3c97[_0x5eef78(0x22b)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x2fa)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x1e3)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2['liveShareNewHost']},'cmd':_0x3c1e39['cmd']};case _0x4e3c97[_0x5eef78(0x5ca)]:return{..._0x3c1e39,'data':_0x28a0d2,'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x4f4)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x2d4)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x576)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x4e9)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97['SHOULD_CLOSE_CONN']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2['shouldCloseConn']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};default:return _0x3c1e39;}}default:return _0x3c1e39;}}function Tr(_0x8319e8){const _0x4c215e=_0x1a7f07;switch(_0x8319e8['cmd']){case W[_0x4c215e(0x315)]:case W[_0x4c215e(0x1e1)]:return JSON[_0x4c215e(0x52c)]({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8[_0x4c215e(0x31e)]});case W[_0x4c215e(0x1df)]:{let _0xf412c9;switch(_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x215)]){case _0x4e3c97[_0x4c215e(0x1cc)]:{_0xf412c9={'eventID':_0x4e3c97['UPDATE_CURSOR'],'updateCursorEvent':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x54c)]:{_0xf412c9={'eventID':_0x4e3c97['USERS_LEAVE'],'leaveEvent':_0x8319e8[_0x4c215e(0x32e)]['data']};break;}case _0x4e3c97['USERS_ENTER']:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x3af)],'joinEvent':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x3a5)]:{_0xf412c9={'eventID':_0x4e3c97['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x22b)]:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x22b)],'liveShareOperation':_0x8319e8[_0x4c215e(0x32e)]['data']};break;}case _0x4e3c97[_0x4c215e(0x1e3)]:{_0xf412c9={'eventID':_0x4e3c97['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x8319e8['data'][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x4b0)]:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x4b0)],'liveShareRequestHost':_0x8319e8[_0x4c215e(0x32e)]['data']};break;}case _0x4e3c97[_0x4c215e(0x5ae)]:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x5ae)]};break;}default:_0xf412c9={'eventID':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x215)]};}return JSON[_0x4c215e(0x52c)]({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8['routeKey'],'collaMsg':_0xf412c9});}case W[_0x4c215e(0x20d)]:return JSON[_0x4c215e(0x52c)]({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8[_0x4c215e(0x31e)],'joinReq':_0x8319e8[_0x4c215e(0x32e)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8['routeKey'],'leaveReq':_0x8319e8[_0x4c215e(0x32e)]});default:throw new Error(_0x4c215e(0x3cd));}}var Rr=Object[_0x1a7f07(0x5b3)],yr=Object[_0x1a7f07(0x298)],Or=(_0x555229,_0x3aacec,_0x2dd10f,_0x39457a)=>{for(var _0x1cc4e3=_0x39457a>0x1?void 0x0:_0x39457a?yr(_0x3aacec,_0x2dd10f):_0x3aacec,_0x4e4854=_0x555229['length']-0x1,_0x3f0bce;_0x4e4854>=0x0;_0x4e4854--)(_0x3f0bce=_0x555229[_0x4e4854])&&(_0x1cc4e3=(_0x39457a?_0x3f0bce(_0x3aacec,_0x2dd10f,_0x1cc4e3):_0x3f0bce(_0x1cc4e3))||_0x1cc4e3);return _0x39457a&&_0x1cc4e3&&Rr(_0x3aacec,_0x2dd10f,_0x1cc4e3),_0x1cc4e3;},qe=(_0x162231,_0x1bbd80)=>(_0x53e139,_0x514ede)=>_0x1bbd80(_0x53e139,_0x514ede,_0x162231);const Oi=_0x2707b7('univer-pro.collaboration-client-socket-service');function wr(_0x1246f4,_0x3baaf9,_0x3f5f81){const _0x42a815=_0x1a7f07;return _0x1246f4+'/'+_0x3baaf9+'/unit/'+_0x3f5f81+_0x42a815(0x338);}function _0x54d3(_0x4cd562,_0x87c29c){const _0x59616b=_0x5961();return _0x54d3=function(_0x54d39a,_0x2cd688){_0x54d39a=_0x54d39a-0x1bd;let _0x331933=_0x59616b[_0x54d39a];return _0x331933;},_0x54d3(_0x4cd562,_0x87c29c);}let es=class extends _0x3b3e75{constructor(_0x2ac730,_0x13a6cd,_0x1b3542,_0x27d5e6,_0x2740bf){const _0xe79333=_0x1a7f07;super(),this[_0xe79333(0x544)]=_0x2ac730,this[_0xe79333(0x328)]=_0x13a6cd,this[_0xe79333(0x428)]=_0x1b3542,this[_0xe79333(0x345)]=_0x27d5e6,this[_0xe79333(0x3bb)]=_0x2740bf;}[_0x1a7f07(0x4bd)](_0x237f5d){const _0x45b966=_0x1a7f07,_0x30392c=this['_ws']['createSocket'](_0x237f5d);if(!_0x30392c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5ccee4=new _0xb0f374(),_0x418deb=new _0x50574e();_0x5ccee4['add'](_0x30392c[_0x45b966(0x514)]['subscribe'](_0xebfb77=>_0x418deb[_0x45b966(0x265)](_0xebfb77))),_0x5ccee4[_0x45b966(0x476)](_0x1c981a(()=>_0x418deb[_0x45b966(0x5b0)]()));const _0x361955=new _0x50574e();_0x5ccee4['add'](_0x30392c[_0x45b966(0x382)]['subscribe'](_0xcc4ff2=>_0x361955[_0x45b966(0x265)](_0xcc4ff2))),_0x5ccee4[_0x45b966(0x476)](_0x1c981a(()=>_0x361955[_0x45b966(0x5b0)]()));const _0x40eeae=new _0x50574e();_0x5ccee4[_0x45b966(0x476)](_0x30392c[_0x45b966(0x2e5)][_0x45b966(0x29f)](_0x5499ed=>{const _0x444549=br(_0x5499ed);_0x40eeae['next'](_0x444549);})),_0x5ccee4['add'](_0x1c981a(()=>_0x40eeae[_0x45b966(0x5b0)]()));let _0x5600b2;const _0x4052c5=()=>{const _0x1dcc07=_0x45b966;_0x361955[_0x1dcc07(0x265)](new Event('connection\x20error')),_0x418deb[_0x1dcc07(0x265)](new CloseEvent(_0x1dcc07(0x41f))),_0x5600b2['close']();};return _0x5600b2={'memberID':'','close$':_0x418deb['asObservable'](),'error$':_0x361955['asObservable'](),'open$':_0x30392c[_0x45b966(0x2f4)],'message$':_0x40eeae[_0x45b966(0x456)](),'send':_0x1a4f93=>{const _0x4a44ba=_0x45b966;if(_0x1a4f93[_0x4a44ba(0x2b3)]===W['INGEST']){if(_0x1a4f93[_0x4a44ba(0x32e)][_0x4a44ba(0x215)]===_0x4e3c97['SUBMIT_CHANGESET']){this[_0x4a44ba(0x536)](_0x5600b2,_0x1a4f93[_0x4a44ba(0x32e)])[_0x4a44ba(0x319)](_0x173d0f=>{const _0x568cab=_0x4a44ba;this['_logService'][_0x568cab(0x3eb)](_0x173d0f),_0x4052c5();});return;}if(_0x1a4f93[_0x4a44ba(0x32e)][_0x4a44ba(0x215)]===_0x4e3c97['FETCH_MISSING']){const _0x4f0544=_0x1a4f93[_0x4a44ba(0x32e)];this['_fetchMissChangesets'](_0x4f0544)[_0x4a44ba(0x44f)](_0x3c35d0=>{const _0x1aa639=_0x4a44ba;_0x40eeae['next']({'cmd':W[_0x1aa639(0x478)],'code':Is['OK'],'routeKey':_0x4f0544['data'][_0x1aa639(0x5b2)],'routeType':'','data':{'eventID':_0x4e3c97[_0x1aa639(0x35b)],'data':{'changesets':_0x3c35d0}}});})[_0x4a44ba(0x319)](_0x1486f7=>{const _0x591a5f=_0x4a44ba;this['_logService'][_0x591a5f(0x3eb)](_0x1486f7),_0x4052c5();});return;}}_0x30392c[_0x4a44ba(0x445)](Tr(_0x1a4f93));},'close':()=>{const _0x5eca07=_0x45b966;_0x30392c[_0x5eca07(0x4ed)](),_0x5ccee4[_0x5eca07(0x51b)]();}},_0x5600b2;}async[_0x1a7f07(0x536)](_0x594778,_0x1d7778){const _0x230d6e=_0x1a7f07;var _0x637312,_0x37406e;const {unitType:_0x734e06,unitID:_0x23fecb,changeset:_0x2a1470}=_0x1d7778['data'],_0x362216={'unitID':_0x23fecb,'memberID':_0x594778[_0x230d6e(0x286)],'type':_0x734e06,'changeset':_0xb83e96(_0x2a1470)},_0xacd3bb=this[_0x230d6e(0x428)][_0x230d6e(0x1bf)](gr),_0x58f816=this[_0x230d6e(0x428)][_0x230d6e(0x1bf)](ie),_0x49f241=wr((_0x37406e=(_0x637312=_0x58f816==null?void 0x0:_0x58f816['collabSubmitChangesetUrl'])!=null?_0x637312:_0xacd3bb)!=null?_0x37406e:Sr,_0x734e06,_0x23fecb);try{await this[_0x230d6e(0x544)][_0x230d6e(0x3bd)](_0x49f241,{'body':_0x362216});}catch(_0x9d771a){throw this[_0x230d6e(0x345)][_0x230d6e(0x3eb)](_0x230d6e(0x2ef),'submit\x20changeset\x20error!'),_0x9d771a;}}async[_0x1a7f07(0x300)](_0xdddb33){const _0x3b0318=_0x1a7f07,{unitID:_0x5ee078,from:_0x274a7f,to:_0x3e52c4,unitType:_0x20f199}=_0xdddb33[_0x3b0318(0x32e)];return(await this[_0x3b0318(0x3bb)][_0x3b0318(0x36d)]({'metadata':void 0x0},{'unitID':_0x5ee078,'type':_0x20f199,'from':_0x274a7f,'to':_0x3e52c4}))['changesets'];}};es=Or([qe(0x0,_0x5cf6ec(_0x337047)),qe(0x1,_0x5cf6ec(_0x138fc4)),qe(0x2,_0x34b905),qe(0x3,_0x1e210b),qe(0x4,_0x5670c4)],es);const Dr=_0x1a7f07(0x399);function Pr(_0x34c237){const _0x1d0e91=_0x1a7f07;return JSON['stringify'](_0x34c237)[_0x1d0e91(0x5bc)];}class wi{constructor(){const _0x32805a=_0x1a7f07;g(this,_0x32805a(0x316),new _0x50574e()),g(this,'commentUpdate$',this[_0x32805a(0x316)][_0x32805a(0x456)]());}[_0x1a7f07(0x28f)](_0x249819){const _0x42d8fd=_0x1a7f07;this[_0x42d8fd(0x316)][_0x42d8fd(0x265)](_0x249819);}}var Ur=Object[_0x1a7f07(0x5b3)],Nr=Object[_0x1a7f07(0x298)],Ar=(_0xa2bc10,_0x35cb0f,_0x1d5633,_0x28eaa7)=>{const _0x18cb92=_0x1a7f07;for(var _0xa14751=_0x28eaa7>0x1?void 0x0:_0x28eaa7?Nr(_0x35cb0f,_0x1d5633):_0x35cb0f,_0xe34cc=_0xa2bc10[_0x18cb92(0x5bc)]-0x1,_0x3cd7c9;_0xe34cc>=0x0;_0xe34cc--)(_0x3cd7c9=_0xa2bc10[_0xe34cc])&&(_0xa14751=(_0x28eaa7?_0x3cd7c9(_0x35cb0f,_0x1d5633,_0xa14751):_0x3cd7c9(_0xa14751))||_0xa14751);return _0x28eaa7&&_0xa14751&&Ur(_0x35cb0f,_0x1d5633,_0xa14751),_0xa14751;},Hs=(_0x21e6d9,_0xb2242a)=>(_0x4067fa,_0x390988)=>_0xb2242a(_0x4067fa,_0x390988,_0x21e6d9);let Ne=class extends _0x3b3e75{constructor(_0x524d01,_0x137c8c){const _0x49f411=_0x1a7f07;super(),g(this,_0x49f411(0x1ec),new Map()),(this[_0x49f411(0x44e)]=_0x524d01,this[_0x49f411(0x39c)]=_0x137c8c,this[_0x49f411(0x4b1)](_0x1c981a(_0x407b74(this[_0x49f411(0x44e)][_0x49f411(0x276)](_0x31d58f['UNIVER_SHEET'])[_0x49f411(0x1cf)](_0x4e0bfc(_0x41f029=>_0x41f029['getUnitId']())),this[_0x49f411(0x44e)][_0x49f411(0x276)](_0x31d58f[_0x49f411(0x51a)])[_0x49f411(0x1cf)](_0x4e0bfc(_0xc262b1=>_0xc262b1[_0x49f411(0x5c1)]())),this[_0x49f411(0x44e)][_0x49f411(0x276)](_0x31d58f[_0x49f411(0x471)])[_0x49f411(0x1cf)](_0x4e0bfc(_0x5d87bc=>_0x5d87bc['getUnitId']())))[_0x49f411(0x29f)](_0x25dade=>this[_0x49f411(0x25f)](_0x25dade)))));}[_0x1a7f07(0x50b)](_0x4ff632){const _0x4ac4ff=_0x1a7f07;this['_userManagerService'][_0x4ac4ff(0x50b)](_0x4ff632);}['getCurrentUser'](){const _0x219eb1=_0x1a7f07;return this['_userManagerService'][_0x219eb1(0x3c2)]();}[_0x1a7f07(0x21e)](_0x97ca75,_0x29aa7b){const _0x49da99=_0x1a7f07;let _0x306b0f=this[_0x49da99(0x1ec)][_0x49da99(0x59a)](_0x97ca75);_0x306b0f||(_0x306b0f=new Mr(),this[_0x49da99(0x1ec)]['set'](_0x97ca75,_0x306b0f)),_0x306b0f[_0x49da99(0x21e)](_0x29aa7b);}[_0x1a7f07(0x530)](_0x453eb0,_0x232677){const _0xcf3e5b=_0x1a7f07,_0x40a16e=this[_0xcf3e5b(0x1ec)][_0xcf3e5b(0x59a)](_0x453eb0);_0x40a16e&&_0x40a16e[_0xcf3e5b(0x530)](_0x232677);}[_0x1a7f07(0x1de)](_0x285ebf){const _0x326cdd=_0x1a7f07;return this[_0x326cdd(0x1ec)][_0x326cdd(0x59a)](_0x285ebf);}[_0x1a7f07(0x326)](_0xec0442,_0x14d2d6){const _0x1dd72d=_0x1a7f07,_0x1c7957=this[_0x1dd72d(0x1ec)][_0x1dd72d(0x59a)](_0xec0442);if(_0x1c7957)return _0x1c7957[_0x1dd72d(0x326)](_0x14d2d6);}[_0x1a7f07(0x25f)](_0x5c68f4){const _0x2a1139=_0x1a7f07,_0x2bd256=this[_0x2a1139(0x1ec)][_0x2a1139(0x59a)](_0x5c68f4);_0x2bd256&&(_0x2bd256['dispose'](),this[_0x2a1139(0x1ec)][_0x2a1139(0x473)](_0x5c68f4));}[_0x1a7f07(0x51b)](){const _0x12410a=_0x1a7f07;this[_0x12410a(0x1ec)][_0x12410a(0x547)](_0x3f66de=>_0x3f66de[_0x12410a(0x51b)]()),this[_0x12410a(0x1ec)]['clear']();}};Ne=Ar([Hs(0x0,_0x1726a1),Hs(0x1,_0x5cf6ec(_0x133322))],Ne);class Mr extends _0x3b3e75{constructor(){const _0x43ea8c=_0x1a7f07;super(...arguments),g(this,_0x43ea8c(0x267),new Map());}[_0x1a7f07(0x51b)](){const _0x2ea949=_0x1a7f07;this['_members'][_0x2ea949(0x320)]();}[_0x1a7f07(0x21e)](_0x442941){const _0x4095d4=_0x1a7f07;this['_members'][_0x4095d4(0x3f4)](_0x442941['memberID'],_0x442941);}[_0x1a7f07(0x530)](_0x370ec8){const _0x31dfd8=_0x1a7f07;this[_0x31dfd8(0x267)]['delete'](_0x370ec8);}['getMember'](_0x3799fc){const _0x57229e=_0x1a7f07;return this[_0x57229e(0x267)]['get'](_0x3799fc);}[_0x1a7f07(0x419)](){const _0x109939=_0x1a7f07;return Array[_0x109939(0x2ed)](this[_0x109939(0x267)][_0x109939(0x4d7)]());}}var xr=Object[_0x1a7f07(0x5b3)],Lr=Object[_0x1a7f07(0x298)],$r=(_0x15d7f4,_0x5e1cdd,_0x496f36,_0x8f35c1)=>{const _0x351cc9=_0x1a7f07;for(var _0x4600a5=_0x8f35c1>0x1?void 0x0:_0x8f35c1?Lr(_0x5e1cdd,_0x496f36):_0x5e1cdd,_0xfad8e5=_0x15d7f4[_0x351cc9(0x5bc)]-0x1,_0x2e8448;_0xfad8e5>=0x0;_0xfad8e5--)(_0x2e8448=_0x15d7f4[_0xfad8e5])&&(_0x4600a5=(_0x8f35c1?_0x2e8448(_0x5e1cdd,_0x496f36,_0x4600a5):_0x2e8448(_0x4600a5))||_0x4600a5);return _0x8f35c1&&_0x4600a5&&xr(_0x5e1cdd,_0x496f36,_0x4600a5),_0x4600a5;},Ee=(_0x3871bd,_0x3ea4a7)=>(_0xc95bdb,_0x3222aa)=>_0x3ea4a7(_0xc95bdb,_0x3222aa,_0x3871bd),ve=(_0x25bbe9=>(_0x25bbe9[_0x25bbe9[_0x1a7f07(0x350)]=0x0]=_0x1a7f07(0x350),_0x25bbe9[_0x25bbe9['JOINING']=0x1]=_0x1a7f07(0x3a9),_0x25bbe9[_0x25bbe9[_0x1a7f07(0x31d)]=0x2]=_0x1a7f07(0x31d),_0x25bbe9[_0x25bbe9['ONLINE']=0x3]=_0x1a7f07(0x48d),_0x25bbe9))(ve||{});let ts=class extends _0x1cb902{constructor(_0x8f1818,_0x4ae456,_0x3e6d74,_0x2b053c,_0xcdf6dd,_0x1461ea,_0x19ce7e,_0x25233e,_0x5cfc5b,_0x5c1246){const _0x140118=_0x1a7f07;super(),g(this,_0x140118(0x3d8),new _0x2c5f3e(0x0)),g(this,_0x140118(0x3aa),this[_0x140118(0x3d8)][_0x140118(0x456)]()),g(this,_0x140118(0x467),new _0x50574e()),g(this,'event$',this['_event$'][_0x140118(0x456)]()),g(this,_0x140118(0x293)),g(this,_0x140118(0x488)),g(this,'_collaborationTimeoutTimer'),g(this,_0x140118(0x411),!0x1),g(this,'_telemetryInfo',null),(this[_0x140118(0x51f)]=_0x8f1818,this[_0x140118(0x345)]=_0x3e6d74,this[_0x140118(0x437)]=_0x2b053c,this['_messageService']=_0xcdf6dd,this[_0x140118(0x428)]=_0x1461ea,this[_0x140118(0x47a)]=_0x19ce7e,this[_0x140118(0x2d8)]=_0x25233e,this['_commentService']=_0x5cfc5b,this[_0x140118(0x2e6)]=_0x5c1246,this[_0x140118(0x411)]=!!this[_0x140118(0x2e6)],_0x4ae456[_0x140118(0x1cf)](_0x171184(this[_0x140118(0x22c)]))[_0x140118(0x29f)](_0x497084=>{const _0x2f2d1b=_0x140118;var _0xb429da;typeof _0x497084>'u'||(this[_0x2f2d1b(0x293)]=_0x497084,_0x497084?(this[_0x2f2d1b(0x59d)](_0x497084),this['_socketMessageSubscription']=_0x497084['message$'][_0x2f2d1b(0x29f)](_0x599aaf=>{const _0x43e445=_0x2f2d1b;_0x599aaf[_0x43e445(0x31e)]===this[_0x43e445(0x51f)]&&this['_onCombEvent'](_0x599aaf);})):(this[_0x2f2d1b(0x299)](),this['_sessionStatus$']['next'](0x2),(_0xb429da=this[_0x2f2d1b(0x488)])==null||_0xb429da[_0x2f2d1b(0x4ee)](),this[_0x2f2d1b(0x488)]=null));}),this[_0x140118(0x4b1)](this[_0x140118(0x437)]['registerOnClose'](()=>{const _0x170ea5=_0x140118;var _0x2af462;(_0x2af462=this[_0x170ea5(0x293)])==null||_0x2af462[_0x170ea5(0x445)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x170ea5(0x51f)]}});})));}get[_0x1a7f07(0x28a)](){const _0x3b28ab=_0x1a7f07;return this[_0x3b28ab(0x3d8)]['getValue']();}[_0x1a7f07(0x57b)](){const _0x952505=_0x1a7f07;var _0x25a92a,_0x244ae0;return(_0x244ae0=(_0x25a92a=this[_0x952505(0x293)])==null?void 0x0:_0x25a92a['memberID'])!=null?_0x244ae0:null;}[_0x1a7f07(0x51b)](){const _0x5c200f=_0x1a7f07;super[_0x5c200f(0x51b)](),this[_0x5c200f(0x22c)][_0x5c200f(0x265)](),this[_0x5c200f(0x22c)][_0x5c200f(0x5b0)]();}[_0x1a7f07(0x4ed)](){const _0x3daadb=_0x1a7f07;var _0x68b3e7,_0x9d36f7;this[_0x3daadb(0x299)](),(_0x68b3e7=this[_0x3daadb(0x293)])==null||_0x68b3e7[_0x3daadb(0x445)]({'cmd':W[_0x3daadb(0x222)],'data':{'roomID':this[_0x3daadb(0x51f)]}}),(_0x9d36f7=this[_0x3daadb(0x293)])==null||_0x9d36f7[_0x3daadb(0x4ed)](),this[_0x3daadb(0x467)][_0x3daadb(0x5b0)](),this[_0x3daadb(0x3d8)][_0x3daadb(0x5b0)](),this[_0x3daadb(0x51b)]();}['_onCombEvent'](_0x193c0a){const _0x468b53=_0x1a7f07;_0x193c0a['cmd']===W[_0x468b53(0x20d)]?this[_0x468b53(0x1f6)](_0x193c0a):_0x193c0a[_0x468b53(0x2b3)]===W[_0x468b53(0x478)]&&this[_0x468b53(0x1cd)](_0x193c0a);}[_0x1a7f07(0x59d)](_0x270fad){const _0x423a33=_0x1a7f07;this[_0x423a33(0x3d8)][_0x423a33(0x265)](0x1),_0x270fad[_0x423a33(0x445)]({'cmd':W['JOIN'],'routeKey':this[_0x423a33(0x51f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x423a33(0x51f)]}]}});}[_0x1a7f07(0x1f6)](_0x4ec012){const _0x5b5621=_0x1a7f07;var _0x430f60;if(_0x4ec012[_0x5b5621(0x434)]===Is['FAIL']){this[_0x5b5621(0x387)][_0x5b5621(0x1ed)]({'type':_0x4c03fa['Warning'],'content':this['_localeService']['t']('session.room-full')}),this[_0x5b5621(0x3d8)][_0x5b5621(0x265)](0x2);return;}this[_0x5b5621(0x3d8)][_0x5b5621(0x265)](0x3);const _0x1983ae=(_0x430f60=_0x4ec012[_0x5b5621(0x32e)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x430f60[_0x5b5621(0x390)];_0x1983ae&&_0x1983ae[_0x5b5621(0x547)](_0x42bc8a=>this['_memberService'][_0x5b5621(0x21e)](this[_0x5b5621(0x51f)],_0x42bc8a));}[_0x1a7f07(0x1cd)](_0x208e6c){const _0x27abc3=_0x1a7f07;try{const _0xcab737=_0x208e6c[_0x27abc3(0x32e)];switch(_0xcab737[_0x27abc3(0x215)]){case _0x4e3c97[_0x27abc3(0x3af)]:this['_onUserJoin'](_0xcab737),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x54c)]:this[_0x27abc3(0x283)](_0xcab737),this[_0x27abc3(0x467)]['next'](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x343)]:case _0x4e3c97[_0x27abc3(0x22a)]:this[_0x27abc3(0x436)](),this[_0x27abc3(0x306)](),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x5ca)]:this['_logService'][_0x27abc3(0x3eb)](_0x27abc3(0x1d4)+JSON[_0x27abc3(0x52c)](_0xcab737)),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x4f4)]:this[_0x27abc3(0x4c4)]['onCommentUpdate'](_0xcab737[_0x27abc3(0x32e)]),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;default:this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);}}catch(_0x13b3dd){this[_0x27abc3(0x345)][_0x27abc3(0x3eb)](_0x13b3dd,_0x208e6c);}}['_onUserJoin'](_0x32ae2c){const _0x29d711=_0x1a7f07;this[_0x29d711(0x2d8)][_0x29d711(0x21e)](this[_0x29d711(0x51f)],_0x32ae2c[_0x29d711(0x32e)]);}[_0x1a7f07(0x283)](_0x433004){const _0x528879=_0x1a7f07;this[_0x528879(0x2d8)][_0x528879(0x530)](this[_0x528879(0x51f)],_0x433004[_0x528879(0x32e)][_0x528879(0x286)]);}async[_0x1a7f07(0x445)](_0x451743,_0x1db162){const _0x50600c=_0x1a7f07;if(this[_0x50600c(0x28a)]!==0x3||!this[_0x50600c(0x293)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x451743['eventID']===_0x4e3c97[_0x50600c(0x4c2)]&&(this[_0x50600c(0x50a)](),this[_0x50600c(0x5ba)](_0x451743)),this[_0x50600c(0x293)][_0x50600c(0x445)]({'cmd':W[_0x50600c(0x1df)],'routeKey':_0x1db162,'routeType':'','data':_0x451743});}catch(_0x228e5c){this['_logService'][_0x50600c(0x3eb)](_0x228e5c);}}[_0x1a7f07(0x50a)](){const _0x19d085=_0x1a7f07;var _0x2e923f;this[_0x19d085(0x397)]=window['setTimeout'](()=>{const _0x41faf7=_0x19d085;this[_0x41faf7(0x397)]=null,this[_0x41faf7(0x387)][_0x41faf7(0x1ed)]({'type':_0x4c03fa[_0x41faf7(0x4c0)],'content':this[_0x41faf7(0x47a)]['t'](_0x41faf7(0x3b8))});},(_0x2e923f=this['_configService'][_0x19d085(0x1bf)](bi))!=null?_0x2e923f:Ti);}[_0x1a7f07(0x306)](){const _0x254c34=_0x1a7f07;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x254c34(0x397)]=null);}[_0x1a7f07(0x5ba)](_0x131f0e){const _0x2ef4e9=_0x1a7f07;if(!this[_0x2ef4e9(0x411)])return;const {data:_0x2ead17}=_0x131f0e,{unitID:_0x33f275,changeset:_0x3c649e}=_0x2ead17,{mutations:_0x5ebf8c,type:_0x1f95c7}=_0x3c649e;this[_0x2ef4e9(0x1c4)]={'unitId':_0x33f275,'type':_0x1f95c7,'startTime':performance[_0x2ef4e9(0x3f7)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x5ebf8c)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x121c08=_0x1a7f07;if(this[_0x121c08(0x411)]){if(!this[_0x121c08(0x1c4)]){this['_logService']['error']('[CollaborationSession]',_0x121c08(0x1f1));return;}this[_0x121c08(0x1c4)][_0x121c08(0x371)]=performance[_0x121c08(0x3f7)](),this[_0x121c08(0x1c4)][_0x121c08(0x214)]=this[_0x121c08(0x1c4)]['stopTime']-this[_0x121c08(0x1c4)][_0x121c08(0x34d)],this[_0x121c08(0x2e6)][_0x121c08(0x418)](Dr,this['_telemetryInfo']),this[_0x121c08(0x1c4)]=null;}}[_0x1a7f07(0x299)](){const _0x1f5943=_0x1a7f07;this[_0x1f5943(0x1c4)]=null;}};ts=$r([Ee(0x2,_0x1e210b),Ee(0x3,_0x5826ab),Ee(0x4,_0x521fac),Ee(0x5,_0x34b905),Ee(0x6,_0x5cf6ec(_0x51f47a)),Ee(0x7,_0x5cf6ec(Ne)),Ee(0x8,_0x5cf6ec(wi)),Ee(0x9,_0x94953d(_0x2ab1b7))],ts);var Hr=Object[_0x1a7f07(0x5b3)],jr=Object[_0x1a7f07(0x298)],Br=(_0x57aed7,_0x2f610c,_0x597031,_0x39bbe0)=>{const _0x881561=_0x1a7f07;for(var _0x739462=_0x39bbe0>0x1?void 0x0:_0x39bbe0?jr(_0x2f610c,_0x597031):_0x2f610c,_0x5cae69=_0x57aed7[_0x881561(0x5bc)]-0x1,_0x5f0436;_0x5cae69>=0x0;_0x5cae69--)(_0x5f0436=_0x57aed7[_0x5cae69])&&(_0x739462=(_0x39bbe0?_0x5f0436(_0x2f610c,_0x597031,_0x739462):_0x5f0436(_0x739462))||_0x739462);return _0x39bbe0&&_0x739462&&Hr(_0x2f610c,_0x597031,_0x739462),_0x739462;},je=(_0x46e242,_0x172a09)=>(_0x504b2b,_0x3bb783)=>_0x172a09(_0x504b2b,_0x3bb783,_0x46e242);let Ae=class extends _0x3b3e75{constructor(_0x54eedc,_0x22485d,_0x2e3613,_0x5c4039,_0x516461,_0x4fec98){const _0x24da42=_0x1a7f07;super(),g(this,_0x24da42(0x404),new _0x2c5f3e(void 0x0)),g(this,_0x24da42(0x53a),this[_0x24da42(0x404)][_0x24da42(0x456)]()),g(this,_0x24da42(0x37b),null),g(this,_0x24da42(0x539),new Map()),g(this,'_status$',new _0x2c5f3e(ve[_0x24da42(0x350)])),g(this,'status$',this[_0x24da42(0x1fd)][_0x24da42(0x456)]()),g(this,_0x24da42(0x2fe),!0x1),g(this,_0x24da42(0x504)),g(this,'_retryCount',0x0),g(this,_0x24da42(0x4f3)),g(this,_0x24da42(0x2d5)),(this[_0x24da42(0x4d5)]=_0x54eedc,this[_0x24da42(0x47a)]=_0x22485d,this[_0x24da42(0x387)]=_0x2e3613,this[_0x24da42(0x345)]=_0x5c4039,this[_0x24da42(0x428)]=_0x516461,this[_0x24da42(0x4ec)]=_0x4fec98,this[_0x24da42(0x51e)]());}get['_socket'](){const _0x1e8d06=_0x1a7f07;return this[_0x1e8d06(0x404)][_0x1e8d06(0x3f6)]();}[_0x1a7f07(0x51e)](){const _0x4359d6=_0x1a7f07;this[_0x4359d6(0x3c1)](),this[_0x4359d6(0x4d3)]();}[_0x1a7f07(0x51b)](){const _0x1f3b48=_0x1a7f07;super[_0x1f3b48(0x51b)](),this[_0x1f3b48(0x539)][_0x1f3b48(0x547)](_0x505829=>_0x505829['dispose']()),this[_0x1f3b48(0x539)][_0x1f3b48(0x320)](),this['_status$']['complete']();}async[_0x1a7f07(0x2ad)](_0x57d6f6){const _0x3d9f2f=_0x1a7f07;if(this[_0x3d9f2f(0x539)][_0x3d9f2f(0x581)](_0x57d6f6))return this[_0x3d9f2f(0x539)][_0x3d9f2f(0x59a)](_0x57d6f6);this[_0x3d9f2f(0x249)]();const _0x359bc5=this[_0x3d9f2f(0x4d5)]['createInstance'](ts,_0x57d6f6,this[_0x3d9f2f(0x404)][_0x3d9f2f(0x456)]());return this['_sessions'][_0x3d9f2f(0x3f4)](_0x57d6f6,_0x359bc5),_0x359bc5;}[_0x1a7f07(0x365)](_0x49fcef){const _0x457bbb=_0x1a7f07;var _0x464b7c;const _0x378871=this[_0x457bbb(0x539)][_0x457bbb(0x59a)](_0x49fcef);_0x378871&&(this['_sessions'][_0x457bbb(0x473)](_0x49fcef),_0x378871[_0x457bbb(0x4ed)]()),this[_0x457bbb(0x539)][_0x457bbb(0x252)]||(_0x464b7c=this['_socket'])==null||_0x464b7c['close']();}[_0x1a7f07(0x32a)](){const _0x139f62=_0x1a7f07;this[_0x139f62(0x535)]=0x0,this[_0x139f62(0x504)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x139f62(0x504)]=null),this[_0x139f62(0x503)]();}[_0x1a7f07(0x1ea)](){const _0x11d778=_0x1a7f07;var _0x1d7e53,_0x1daa9b;const _0x5b0ea2=this[_0x11d778(0x428)][_0x11d778(0x1bf)](hr),_0xf155f1=this[_0x11d778(0x428)][_0x11d778(0x1bf)](ie),_0xf2de36=(_0x1daa9b=(_0x1d7e53=_0xf155f1==null?void 0x0:_0xf155f1[_0x11d778(0x1fa)])!=null?_0x1d7e53:_0x5b0ea2)!=null?_0x1daa9b:lr,_0x5bec36=this[_0x11d778(0x4ec)][_0x11d778(0x4bd)](_0xf2de36);return this['_candidateSocket']=_0x5bec36,_0x5bec36;}[_0x1a7f07(0x249)](){const _0x5bf1a9=_0x1a7f07;var _0x50b049,_0x3c8ada;try{const _0x26a299=(_0x3c8ada=(_0x50b049=this[_0x5bf1a9(0x293)])!=null?_0x50b049:this['_candidateSocket'])!=null?_0x3c8ada:this[_0x5bf1a9(0x1ea)]();if(_0x26a299){const _0xf49e89=_0x26a299['send'];_0x26a299[_0x5bf1a9(0x445)]=_0x178a93=>(this[_0x5bf1a9(0x3d0)](),_0xf49e89[_0x5bf1a9(0x49a)](_0x26a299,[_0x178a93])),_0x26a299[_0x5bf1a9(0x2e5)][_0x5bf1a9(0x29f)](_0x55ac9e=>this[_0x5bf1a9(0x37f)](_0x26a299,_0x55ac9e)),_0x26a299[_0x5bf1a9(0x382)]['pipe'](_0x23f267(0x1))[_0x5bf1a9(0x29f)](_0x11a4c4=>this[_0x5bf1a9(0x345)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x11a4c4)),_0x26a299[_0x5bf1a9(0x2f4)][_0x5bf1a9(0x1cf)](_0x23f267(0x1))['subscribe'](()=>{const _0x480c53=_0x5bf1a9;this[_0x480c53(0x2e7)](_0x26a299);}),_0x26a299[_0x5bf1a9(0x514)]['pipe'](_0x23f267(0x1))[_0x5bf1a9(0x29f)](_0x33b841=>{const _0x2bcf69=_0x5bf1a9;this['_logService'][_0x2bcf69(0x4b5)](_0x2bcf69(0x39e),'socket\x20close',_0x33b841),this[_0x2bcf69(0x4d9)]();});}}catch(_0x5b0493){this[_0x5bf1a9(0x345)][_0x5bf1a9(0x3eb)](_0x5b0493),this[_0x5bf1a9(0x4d9)]();}}[_0x1a7f07(0x2e7)](_0x31e744){const _0x4f655e=_0x1a7f07;this[_0x4f655e(0x345)][_0x4f655e(0x4b5)](_0x4f655e(0x39e),_0x4f655e(0x2eb)),_0x31e744['send']({'cmd':W[_0x4f655e(0x1e1)]}),this['_rescheduleHeartbeat']();}[_0x1a7f07(0x3c1)](){const _0x4bc195=_0x1a7f07;window[_0x4bc195(0x3e9)](_0x4bc195(0x3b0),()=>this[_0x4bc195(0x458)]());}[_0x1a7f07(0x458)](){const _0x205408=_0x1a7f07;this[_0x205408(0x2fe)]=!0x1,this[_0x205408(0x37b)]=null,this[_0x205408(0x1fd)]['next'](ve['OFFLINE']),this[_0x205408(0x404)]['next'](null),this['_clearTimeoutTimer'](),this[_0x205408(0x5cd)]();}[_0x1a7f07(0x4d9)](){const _0x1d5e6d=_0x1a7f07;var _0x3b7fa4;this[_0x1d5e6d(0x458)](),this[_0x1d5e6d(0x535)]<((_0x3b7fa4=this['_configService']['getConfig'](fr))!=null?_0x3b7fa4:vr)?(this[_0x1d5e6d(0x387)][_0x1d5e6d(0x1ed)]({'key':_0x1d5e6d(0x447),'type':_0x4c03fa[_0x1d5e6d(0x37a)],'content':this[_0x1d5e6d(0x47a)]['t'](_0x1d5e6d(0x3ca))}),this[_0x1d5e6d(0x503)]()):this[_0x1d5e6d(0x387)][_0x1d5e6d(0x1ed)]({'key':'collaboration-session-retry','type':_0x4c03fa[_0x1d5e6d(0x4c0)],'content':this[_0x1d5e6d(0x47a)]['t'](_0x1d5e6d(0x460))});}[_0x1a7f07(0x4d3)](){const _0x2cf4a0=_0x1a7f07,_0x4245ca=()=>{const _0x2545be=_0x54d3;this[_0x2545be(0x293)]||this[_0x2545be(0x32a)]();},_0x293312=()=>{const _0xd6ea53=_0x54d3;this['_socket']||document[_0xd6ea53(0x1e5)]===_0xd6ea53(0x4ce)||this[_0xd6ea53(0x32a)]();};window['addEventListener']('online',_0x4245ca),document[_0x2cf4a0(0x3e9)]('visibilitychange',_0x293312);}['_tryReconnect'](){const _0x3a9b7b=_0x1a7f07;var _0x2c48f3;const _0x476922=this[_0x3a9b7b(0x535)],_0x2e14ef=this[_0x3a9b7b(0x428)][_0x3a9b7b(0x1bf)](ie),_0x19b1df=_0x476922===0x0?0x0:((_0x2c48f3=_0x2e14ef==null?void 0x0:_0x2e14ef[_0x3a9b7b(0x518)])!=null?_0x2c48f3:dr)*0x2**_0x476922;this['_retryConnectingTimer']=window['setTimeout'](()=>{const _0x4922fe=_0x3a9b7b;clearTimeout(this[_0x4922fe(0x504)]),this['_retryConnectingTimer']=null,this[_0x4922fe(0x249)]();},_0x19b1df),this[_0x3a9b7b(0x535)]+=0x1;}[_0x1a7f07(0x37f)](_0xa84964,_0x2c2ba2){const _0x4a67da=_0x1a7f07,{cmd:_0xdcfad6}=_0x2c2ba2;_0xdcfad6===W[_0x4a67da(0x1e1)]&&!this[_0x4a67da(0x2fe)]&&(_0xa84964['memberID']=_0x2c2ba2[_0x4a67da(0x32e)][_0x4a67da(0x286)],this[_0x4a67da(0x404)][_0x4a67da(0x265)](_0xa84964),this[_0x4a67da(0x1fd)][_0x4a67da(0x265)](ve[_0x4a67da(0x48d)]),this[_0x4a67da(0x2fe)]=!0x0,this[_0x4a67da(0x37b)]=null),_0xdcfad6===W[_0x4a67da(0x315)]&&this['_clearTimeoutTimer'](),this[_0x4a67da(0x3d0)]();}[_0x1a7f07(0x3d0)](){const _0x329744=_0x1a7f07;var _0x1d48fe;this[_0x329744(0x5cd)](),this[_0x329744(0x4f3)]=window[_0x329744(0x38f)](()=>this[_0x329744(0x4e5)](),(_0x1d48fe=this[_0x329744(0x428)][_0x329744(0x1bf)](_r))!=null?_0x1d48fe:ur);}[_0x1a7f07(0x4e5)](){const _0x1444e3=_0x1a7f07;this[_0x1444e3(0x293)][_0x1444e3(0x445)]({'cmd':W[_0x1444e3(0x315)]}),this['_waitForHeartbeatResponse']();}[_0x1a7f07(0x3ac)](){const _0x31f8ea=_0x1a7f07;var _0x5ba137;this[_0x31f8ea(0x2d5)]=window['setTimeout'](()=>this[_0x31f8ea(0x4d9)](),(_0x5ba137=this[_0x31f8ea(0x428)]['getConfig'](bi))!=null?_0x5ba137:Ti);}['_clearHeartbeatTimer'](){const _0x42fe60=_0x1a7f07;this[_0x42fe60(0x4f3)]!=null&&(clearTimeout(this[_0x42fe60(0x4f3)]),this[_0x42fe60(0x4f3)]=null);}[_0x1a7f07(0x313)](){const _0x392fa6=_0x1a7f07;this[_0x392fa6(0x2d5)]!=null&&(clearTimeout(this[_0x392fa6(0x2d5)]),this[_0x392fa6(0x2d5)]=null);}};Ae=Br([je(0x0,_0x5cf6ec(_0xc0c089)),je(0x1,_0x5cf6ec(_0x51f47a)),je(0x2,_0x521fac),je(0x3,_0x1e210b),je(0x4,_0x34b905),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x1a7f07(0x4b6)]((Nt+0x100)[_0x1a7f07(0x297)](0x10)[_0x1a7f07(0x515)](0x1));function kr(_0x269447,_0x4ab2e2=0x0){const _0x1ebf9f=_0x1a7f07;return(Y[_0x269447[_0x4ab2e2+0x0]]+Y[_0x269447[_0x4ab2e2+0x1]]+Y[_0x269447[_0x4ab2e2+0x2]]+Y[_0x269447[_0x4ab2e2+0x3]]+'-'+Y[_0x269447[_0x4ab2e2+0x4]]+Y[_0x269447[_0x4ab2e2+0x5]]+'-'+Y[_0x269447[_0x4ab2e2+0x6]]+Y[_0x269447[_0x4ab2e2+0x7]]+'-'+Y[_0x269447[_0x4ab2e2+0x8]]+Y[_0x269447[_0x4ab2e2+0x9]]+'-'+Y[_0x269447[_0x4ab2e2+0xa]]+Y[_0x269447[_0x4ab2e2+0xb]]+Y[_0x269447[_0x4ab2e2+0xc]]+Y[_0x269447[_0x4ab2e2+0xd]]+Y[_0x269447[_0x4ab2e2+0xe]]+Y[_0x269447[_0x4ab2e2+0xf]])[_0x1ebf9f(0x26e)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x5e4e5d=_0x1a7f07;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x5e4e5d(0x44d)]&&crypto[_0x5e4e5d(0x44d)][_0x5e4e5d(0x373)](crypto),!ct))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x1a7f07(0x2a7)]&&crypto[_0x1a7f07(0x2a7)][_0x1a7f07(0x373)](crypto);const js={'randomUUID':Vr};function Gr(_0x81a17f,_0x24e5dd,_0x3533f5){const _0x4bcbca=_0x1a7f07;if(js['randomUUID']&&!_0x24e5dd&&!_0x81a17f)return js[_0x4bcbca(0x2a7)]();_0x81a17f=_0x81a17f||{};var _0xfea372=_0x81a17f[_0x4bcbca(0x463)]||(_0x81a17f[_0x4bcbca(0x3b5)]||Fr)();return _0xfea372[0x6]=_0xfea372[0x6]&0xf|0x40,_0xfea372[0x8]=_0xfea372[0x8]&0x3f|0x80,kr(_0xfea372);}var Yr=Object[_0x1a7f07(0x5b3)],Kr=Object[_0x1a7f07(0x298)],zr=(_0x213573,_0x1b34dc,_0x3db91c,_0x3a8c6c)=>{const _0x360864=_0x1a7f07;for(var _0x244ef5=_0x3a8c6c>0x1?void 0x0:_0x3a8c6c?Kr(_0x1b34dc,_0x3db91c):_0x1b34dc,_0x3f63e3=_0x213573[_0x360864(0x5bc)]-0x1,_0x442fa0;_0x3f63e3>=0x0;_0x3f63e3--)(_0x442fa0=_0x213573[_0x3f63e3])&&(_0x244ef5=(_0x3a8c6c?_0x442fa0(_0x1b34dc,_0x3db91c,_0x244ef5):_0x442fa0(_0x244ef5))||_0x244ef5);return _0x3a8c6c&&_0x244ef5&&Yr(_0x1b34dc,_0x3db91c,_0x244ef5),_0x244ef5;},At=(_0x1d95ab,_0x1f8683)=>(_0x4e69b2,_0x59e7d4)=>_0x1f8683(_0x4e69b2,_0x59e7d4,_0x1d95ab);let vt=class{constructor(_0x164d72,_0x2e7d61,_0x171589){const _0x438b91=_0x1a7f07;this[_0x438b91(0x4d5)]=_0x164d72,this['_transformService']=_0x2e7d61,this[_0x438b91(0x1e2)]=_0x171589;}['transformIMECache'](_0x3ab46b){const _0x310ad4=_0x1a7f07;this[_0x310ad4(0x355)](_0x3ab46b),this[_0x310ad4(0x261)](_0x3ab46b);}[_0x1a7f07(0x277)](_0x3dc8ee){const _0x3e2541=_0x1a7f07,{unitID:_0x5ca46d}=_0x3dc8ee,_0x315c90=this[_0x3e2541(0x1e2)][_0x3e2541(0x25e)](_0x5ca46d)['with'](_0x50c7b2),{redoCache:_0x23c00c}=_0x315c90[_0x3e2541(0x226)]();if(_0x23c00c['length']===0x0)return _0x3dc8ee;let _0x50d40b=_0x235991[_0x3e2541(0x311)](_0x3dc8ee[_0x3e2541(0x2bb)][0x0]);for(let _0x22526c=0x0;_0x22526c<_0x23c00c[_0x3e2541(0x5bc)];_0x22526c++){const _0x3781d8={'id':_0x3e2541(0x472),'params':{..._0x23c00c[_0x22526c]}},_0x33c51f=this[_0x3e2541(0x4af)]['transformMutation'](_0x50d40b,_0x3781d8,!0x1);if(_0x46adb2(_0x33c51f))throw _0x33c51f['error'];_0x50d40b=_0x33c51f[_0x3e2541(0x1c8)];}return{..._0x235991[_0x3e2541(0x311)](_0x3dc8ee),'mutations':[_0x50d40b]};}[_0x1a7f07(0x355)](_0x1b1eb8){const _0x240ed8=_0x1a7f07,{unitID:_0x2c0d00}=_0x1b1eb8,_0x595176=this['_renderManagerService'][_0x240ed8(0x25e)](_0x2c0d00)[_0x240ed8(0x364)](_0x50c7b2),{undoCache:_0x4fcdb3,redoCache:_0xfbcffa}=_0x595176[_0x240ed8(0x226)]();if(_0x4fcdb3[_0x240ed8(0x5bc)]===0x0||_0xfbcffa[_0x240ed8(0x5bc)]===0x0)return;const _0x195ff5=[],_0x3b4848=[];let _0x51c76f=_0x235991['deepClone'](_0x1b1eb8[_0x240ed8(0x2bb)][0x0]),_0x40df97=_0x235991['deepClone'](_0x1b1eb8[_0x240ed8(0x2bb)][0x0]);for(let _0x18a2ff=_0x4fcdb3['length']-0x1;_0x18a2ff>=0x0;_0x18a2ff--){const _0x4d01a5={'id':_0x240ed8(0x472),'params':{..._0x4fcdb3[_0x18a2ff]}},_0x4bf71a={'id':'doc.mutation.rich-text-editing','params':{..._0xfbcffa[_0x18a2ff]}},_0x599ed2=this[_0x240ed8(0x4af)][_0x240ed8(0x23b)](_0x51c76f,_0x4d01a5,!0x1),_0x4e2c5c=this['_transformService']['transformMutation'](_0x40df97,_0x4bf71a,!0x1);if(_0x46adb2(_0x599ed2))throw _0x599ed2[_0x240ed8(0x3eb)];if(_0x46adb2(_0x4e2c5c))throw _0x4e2c5c[_0x240ed8(0x3eb)];_0x195ff5['unshift'](_0x599ed2[_0x240ed8(0x2e3)][_0x240ed8(0x53f)]),_0x3b4848['unshift'](_0x4e2c5c[_0x240ed8(0x2e3)][_0x240ed8(0x53f)]),_0x51c76f=_0x599ed2[_0x240ed8(0x1c8)],_0x40df97=_0x4e2c5c['m1Prime'];}_0x595176[_0x240ed8(0x287)]({'undoCache':_0x195ff5,'redoCache':_0x3b4848});}[_0x1a7f07(0x261)](_0x1e4969){const _0x1d9a15=_0x1a7f07,{unitID:_0x2296ea}=_0x1e4969,_0x474293=this[_0x1d9a15(0x1e2)][_0x1d9a15(0x25e)](_0x2296ea)['with'](_0x50c7b2),_0x26ee55=_0x474293[_0x1d9a15(0x455)]();if(_0x26ee55==null)return;const _0x288a6b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e4969['unitID'],'actions':null,'textRanges':[_0x26ee55]}}],_0x3f4564=this[_0x1d9a15(0x4af)][_0x1d9a15(0x469)](_0x1e4969,_0x288a6b);if(!_0x1b23f5(_0x3f4564))throw _0x3f4564[_0x1d9a15(0x3eb)];const _0x22096d=_0x3f4564[_0x1d9a15(0x2e3)][0x0]['params'][_0x1d9a15(0x53b)];Array[_0x1d9a15(0x344)](_0x22096d)&&_0x22096d[_0x1d9a15(0x5bc)]&&_0x474293[_0x1d9a15(0x59f)](_0x22096d[0x0]);}};vt=zr([At(0x0,_0x5cf6ec(_0xc0c089)),At(0x1,_0x2746ae),At(0x2,_0xa3e106)],vt);var qr=Object[_0x1a7f07(0x5b3)],Xr=Object[_0x1a7f07(0x298)],Jr=(_0x3bdc94,_0x5d7adc,_0x1ec845,_0x349760)=>{for(var _0x41b14a=_0x349760>0x1?void 0x0:_0x349760?Xr(_0x5d7adc,_0x1ec845):_0x5d7adc,_0x31dd77=_0x3bdc94['length']-0x1,_0x4f55b0;_0x31dd77>=0x0;_0x31dd77--)(_0x4f55b0=_0x3bdc94[_0x31dd77])&&(_0x41b14a=(_0x349760?_0x4f55b0(_0x5d7adc,_0x1ec845,_0x41b14a):_0x4f55b0(_0x41b14a))||_0x41b14a);return _0x349760&&_0x41b14a&&qr(_0x5d7adc,_0x1ec845,_0x41b14a),_0x41b14a;},Xe=(_0x55d078,_0x20ef4d)=>(_0x960141,_0x31a7ce)=>_0x20ef4d(_0x960141,_0x31a7ce,_0x55d078);let q=class extends _0x3b3e75{constructor(_0x440dc6,_0x5cbf9d,_0x44b835,_0x47be3a,_0xa9ecf1){const _0x5ad049=_0x1a7f07;super(),g(this,'_cachedData',new Map()),g(this,_0x5ad049(0x372),new Map()),g(this,_0x5ad049(0x5c0),!0x1),(this['_configService']=_0x440dc6,this[_0x5ad049(0x280)]=_0x5cbf9d,this[_0x5ad049(0x437)]=_0x44b835,this[_0x5ad049(0x47a)]=_0x47be3a,this[_0x5ad049(0x26a)]=_0xa9ecf1,this[_0x5ad049(0x486)]());}[_0x1a7f07(0x4ef)](){const _0x576ee4=_0x1a7f07;this[_0x576ee4(0x5c0)]=!0x0;}['enableLocalCache'](){const _0x93ab92=_0x1a7f07;this[_0x93ab92(0x5c0)]=!0x1;}[_0x1a7f07(0x51b)](){const _0x292ebf=_0x1a7f07;this[_0x292ebf(0x47c)]()[_0x292ebf(0x44f)](()=>super[_0x292ebf(0x51b)]());}async[_0x1a7f07(0x394)](_0x4e3970){const _0x55c3cc=_0x1a7f07;return this['_disabled']?null:this[_0x55c3cc(0x280)][_0x55c3cc(0x450)](Bs(_0x4e3970));}async[_0x1a7f07(0x231)](_0x1c6f99,_0x317a5b){const _0xe104e0=_0x1a7f07;return!!this[_0xe104e0(0x280)][_0xe104e0(0x28b)](_0x1c6f99,_0x317a5b);}['updateOfflineData'](_0x28711f,_0x130b67,_0x1dc92b,_0x4c98c3){const _0x3e1f20=_0x1a7f07,_0xe4f4f9=this['_revisionService'][_0x3e1f20(0x409)](_0x28711f);this['_cachedData'][_0x3e1f20(0x3f4)](_0x28711f,{'unitID':_0x28711f,'type':_0x130b67,'awaitingChangeset':_0x1dc92b,'mutations':_0x4c98c3,'rev':_0xe4f4f9}),this[_0x3e1f20(0x372)][_0x3e1f20(0x581)](_0x28711f)||this['_scheduleSaving'](_0x28711f);}[_0x1a7f07(0x237)](_0x212365){const _0x31f53f=_0x1a7f07,_0x128b71=this['_getSaveTimeout']();_0x128b71===0x0?this[_0x31f53f(0x201)](_0x212365):this['_saveTaskMap'][_0x31f53f(0x3f4)](_0x212365,setTimeout(()=>this['_saveCache'](_0x212365),_0x128b71));}['_getSaveTimeout'](){var _0x31221c;return(_0x31221c=this['_configService']['getConfig'](mr))!=null?_0x31221c:pr;}['_saveCache'](_0x1975d7){const _0x333c9c=_0x1a7f07,_0x5be2c4=this[_0x333c9c(0x372)][_0x333c9c(0x59a)](_0x1975d7);return _0x5be2c4!==void 0x0&&window[_0x333c9c(0x2be)](_0x5be2c4),this['_localStorageService'][_0x333c9c(0x28b)](Bs(_0x1975d7),this['_cachedData'][_0x333c9c(0x59a)](_0x1975d7))[_0x333c9c(0x44f)](()=>this[_0x333c9c(0x372)][_0x333c9c(0x473)](_0x1975d7));}async[_0x1a7f07(0x47c)](){const _0x2ccc0b=_0x1a7f07,_0x1883d5=[];this[_0x2ccc0b(0x372)]['forEach']((_0x1bf24d,_0x488e01)=>{const _0x27e52e=_0x2ccc0b;window[_0x27e52e(0x2be)](_0x1bf24d),_0x1883d5[_0x27e52e(0x4b6)](this[_0x27e52e(0x201)](_0x488e01)[_0x27e52e(0x44f)](()=>{const _0x55bf58=_0x27e52e;this[_0x55bf58(0x372)][_0x55bf58(0x473)](_0x488e01);}));}),await Promise[_0x2ccc0b(0x5cf)](_0x1883d5);}[_0x1a7f07(0x486)](){const _0x1725e3=_0x1a7f07;this[_0x1725e3(0x4b1)](this[_0x1725e3(0x437)]['registerBeforeClose'](()=>{const _0x4048ee=_0x1725e3;if(this[_0x4048ee(0x372)][_0x4048ee(0x252)])return this[_0x4048ee(0x47a)]['t'](_0x4048ee(0x578));}));}};q=Jr([Xe(0x0,_0x34b905),Xe(0x1,_0x2a11e6),Xe(0x2,_0x5826ab),Xe(0x3,_0x5cf6ec(_0x51f47a)),Xe(0x4,_0x5cf6ec(_0x5ee8b1))],q);function Bs(_0x2f3b71){return'unit-cache-'+_0x2f3b71;}var Zr=Object[_0x1a7f07(0x5b3)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x51208c,_0x2f80ea,_0x3a9d14,_0x421a05)=>{for(var _0x23e18a=_0x421a05>0x1?void 0x0:_0x421a05?Qr(_0x2f80ea,_0x3a9d14):_0x2f80ea,_0x2a810e=_0x51208c['length']-0x1,_0xf48c26;_0x2a810e>=0x0;_0x2a810e--)(_0xf48c26=_0x51208c[_0x2a810e])&&(_0x23e18a=(_0x421a05?_0xf48c26(_0x2f80ea,_0x3a9d14,_0x23e18a):_0xf48c26(_0x23e18a))||_0x23e18a);return _0x421a05&&_0x23e18a&&Zr(_0x2f80ea,_0x3a9d14,_0x23e18a),_0x23e18a;},Mt=(_0x5f2a04,_0x40cb6e)=>(_0x43bb54,_0x471e9e)=>_0x40cb6e(_0x43bb54,_0x471e9e,_0x5f2a04);function to(_0x13553a){const _0x2e8e21=_0x1a7f07,{unitID:_0x223d69,mutations:_0x51888f}=_0x13553a;return{'unitId':_0x223d69,'subUnitId':_0x51888f[0x0][_0x2e8e21(0x53f)][_0x2e8e21(0x2c2)]};}let mt=class{constructor(_0x9e6aa0,_0x168839,_0x127a48){const _0x3b4117=_0x1a7f07;this['_injector']=_0x9e6aa0,this['_transformService']=_0x168839,this[_0x3b4117(0x3ab)]=_0x127a48;}[_0x1a7f07(0x48e)](_0xeb8ba8){const _0x5b71b6=_0x1a7f07;var _0xb24cae,_0x4eada6,_0x3a6202,_0x443b16;const _0x5b4035=this[_0x5b71b6(0x4d5)][_0x5b71b6(0x59a)](_0x2fad1e),{unitId:_0x5ef3ea,subUnitId:_0x2eeba3}=to(_0xeb8ba8),_0x56d419=_0x5b4035[_0x5b71b6(0x461)](_0x5ef3ea)[_0x5b71b6(0x3bf)](),_0x50c71c=(_0x4eada6=(_0xb24cae=this[_0x5b71b6(0x3ab)][_0x5b71b6(0x4d0)](_0x5ef3ea))==null?void 0x0:_0xb24cae[_0x5b71b6(0x234)]())==null?void 0x0:_0x4eada6[_0x5b71b6(0x554)]();if(_0x56d419[_0x5b71b6(0x5bc)]===0x0||!_0x5ef3ea||!_0x2eeba3)return;const _0x4e2667=[{'id':_0x27f103['id'],'params':{'unitId':_0x5ef3ea,'subUnitId':_0x50c71c,'selections':_0x235991[_0x5b71b6(0x311)](_0x56d419)}}],_0x4279fb=this[_0x5b71b6(0x4af)]['transformMutationsWithChangeset'](_0xeb8ba8,_0x4e2667);if(!_0x1b23f5(_0x4279fb))throw _0x4279fb[_0x5b71b6(0x3eb)];const _0x3a6d21=(_0x443b16=(_0x3a6202=_0x4279fb['m2Prime'][0x0])==null?void 0x0:_0x3a6202[_0x5b71b6(0x53f)])==null?void 0x0:_0x443b16[_0x5b71b6(0x5be)];if(Array[_0x5b71b6(0x344)](_0x3a6d21)&&_0x3a6d21[_0x5b71b6(0x5bc)]){if(_0x3a6d21['length']===_0x4e2667[0x0]['params'][_0x5b71b6(0x5be)][_0x5b71b6(0x5bc)]&&_0x3a6d21[_0x5b71b6(0x3ed)]((_0x5009ea,_0x276efe)=>_0x194108[_0x5b71b6(0x55d)](_0x5009ea[_0x5b71b6(0x40a)],_0x4e2667[0x0][_0x5b71b6(0x53f)][_0x5b71b6(0x5be)][_0x276efe]['range'])))return;this[_0x5b71b6(0x4d5)][_0x5b71b6(0x59a)](_0x322b66)[_0x5b71b6(0x26f)](_0x27f103['id'],{'unitId':_0x5ef3ea,'subUnitId':_0x50c71c,'selections':_0x3a6d21});}}};mt=eo([Mt(0x0,_0x5cf6ec(_0xc0c089)),Mt(0x1,_0x2746ae),Mt(0x2,_0x1726a1)],mt);const yt=_0x2707b7(_0x1a7f07(0x5cb));var Di=(_0x143caf=>(_0x143caf[_0x143caf['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x1a7f07(0x441),_0x143caf[_0x143caf[_0x1a7f07(0x34a)]=0x1]='OTHER_CLIENTS_EDITING',_0x143caf))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class so extends _0x3b3e75{constructor(){const _0x121c43=_0x1a7f07;super(),g(this,_0x121c43(0x2e1),_0x235991[_0x121c43(0x59c)]()),g(this,_0x121c43(0x347),new Set()),g(this,_0x121c43(0x278),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x121c43(0x2a3),new Map()),g(this,_0x121c43(0x40e),new Map()),this['_init']();}[_0x1a7f07(0x51b)](){const _0x3e75f6=_0x1a7f07;super[_0x3e75f6(0x51b)](),this['_clearOtherTimers']['forEach']((_0x22ce62,_0x444520)=>this[_0x3e75f6(0x1c3)](_0x444520)),this[_0x3e75f6(0x574)]&&window[_0x3e75f6(0x241)](this['_heartbeatTimer']);}[_0x1a7f07(0x513)](_0x35ee8b){const _0x1ad0a8=_0x1a7f07;return this[_0x1ad0a8(0x20f)](_0x35ee8b)['pipe'](_0x3f9e4c());}[_0x1a7f07(0x2a1)](_0x42e57e){const _0x46559f=_0x1a7f07;this[_0x46559f(0x347)][_0x46559f(0x252)]===0x0&&this[_0x46559f(0x495)](),this['_selfUnitIDs'][_0x46559f(0x476)](_0x42e57e),this[_0x46559f(0x34f)]({'type':0x0,'memberID':this[_0x46559f(0x2e1)],'unitIDs':[_0x42e57e],'isForwarded':!0x1});}[_0x1a7f07(0x262)](_0x4420aa){const _0x3a926e=_0x1a7f07;this['_selfUnitIDs']['delete'](_0x4420aa),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x3a926e(0x241)](this['_heartbeatTimer']);}[_0x1a7f07(0x426)](){const _0x9d6f97=_0x1a7f07;this['disposeWithMe'](_0x1c981a(_0x47503d(window,_0x9d6f97(0x3b6))[_0x9d6f97(0x29f)](_0x5d414d=>{const _0x1016f0=_0x9d6f97;if(_0x5d414d[_0x1016f0(0x29a)]!==Ws||!_0x5d414d[_0x1016f0(0x290)])return;const _0x8e0d55=JSON[_0x1016f0(0x379)](_0x5d414d['newValue']);this[_0x1016f0(0x538)](_0x8e0d55);}))),window[_0x9d6f97(0x3e9)](_0x9d6f97(0x534),()=>this[_0x9d6f97(0x34f)]({'type':0x1,'memberID':this[_0x9d6f97(0x2e1)],'unitIDs':Array[_0x9d6f97(0x2ed)](this[_0x9d6f97(0x347)])}));}[_0x1a7f07(0x538)](_0x275b0b){const _0x552510=_0x1a7f07;switch(_0x275b0b[_0x552510(0x23c)]){case 0x0:this[_0x552510(0x2f2)](_0x275b0b);break;case 0x1:this[_0x552510(0x21a)](_0x275b0b);break;case 0x2:this[_0x552510(0x233)](_0x275b0b);break;}}[_0x1a7f07(0x2f2)](_0x56f08e){const _0x29f887=_0x1a7f07,{unitIDs:_0x2df5a7,memberID:_0x491771,isForwarded:_0x59658b}=_0x56f08e;_0x2df5a7['forEach'](_0x5f0986=>{const _0x10cfc0=_0x54d3;if(!_0x59658b&&this[_0x10cfc0(0x278)][_0x10cfc0(0x581)](_0x5f0986)&&this[_0x10cfc0(0x20f)](_0x5f0986)[_0x10cfc0(0x265)](0x1),!this[_0x10cfc0(0x278)]['has'](_0x5f0986)||!this['_unitOnClients'][_0x10cfc0(0x59a)](_0x5f0986)[_0x10cfc0(0x581)](_0x491771)){const _0x29b4d1=this[_0x10cfc0(0x278)]['get'](_0x5f0986)||new Set();_0x29b4d1[_0x10cfc0(0x476)](_0x491771),this['_unitOnClients'][_0x10cfc0(0x3f4)](_0x5f0986,_0x29b4d1),this[_0x10cfc0(0x545)](_0x491771);}}),_0x59658b||this[_0x29f887(0x34f)]({'type':0x0,'memberID':this[_0x29f887(0x2e1)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1a7f07(0x545)](_0x51632b){const _0x5d1bd6=_0x1a7f07;this[_0x5d1bd6(0x1c3)](_0x51632b);const _0x5d05a7=window[_0x5d1bd6(0x38f)](()=>{const _0x19268b=_0x5d1bd6;this[_0x19268b(0x278)][_0x19268b(0x547)](_0x2da3bb=>{const _0x5c767c=_0x19268b;_0x2da3bb[_0x5c767c(0x473)](_0x51632b);});},ks*0x2);this[_0x5d1bd6(0x2a3)]['set'](_0x51632b,_0x5d05a7);}[_0x1a7f07(0x1c3)](_0x46cf80){const _0x631a1a=_0x1a7f07;if(this['_clearOtherTimers'][_0x631a1a(0x581)](_0x46cf80)){const _0x584206=this[_0x631a1a(0x2a3)][_0x631a1a(0x59a)](_0x46cf80);_0x584206&&window['clearTimeout'](_0x584206),this['_clearOtherTimers'][_0x631a1a(0x3f4)](_0x46cf80,null);}}[_0x1a7f07(0x21a)](_0x522e10){const _0x212739=_0x1a7f07,{memberID:_0x5e8869,unitIDs:_0x4e3232}=_0x522e10;_0x4e3232['forEach'](_0xedadde=>{const _0x5a5f47=_0x54d3;var _0x442bd7;const _0x3b28b6=this[_0x5a5f47(0x278)]['get'](_0xedadde);_0x3b28b6&&(_0x3b28b6['delete'](_0x5e8869),(_0x442bd7=this[_0x5a5f47(0x20f)](_0xedadde))==null||_0x442bd7[_0x5a5f47(0x265)](_0x3b28b6[_0x5a5f47(0x252)]===0x0?0x0:0x1));}),this[_0x212739(0x1c3)](_0x5e8869);}['_handleHeartbeatEvent'](_0x4a8768){const _0xf12036=_0x1a7f07;this['_scheduleClearOtherTimer'](_0x4a8768[_0xf12036(0x286)]);}[_0x1a7f07(0x34f)](_0x5b402f){const _0x14814=_0x1a7f07;localStorage[_0x14814(0x28b)](Ws,JSON['stringify'](_0x5b402f));}[_0x1a7f07(0x495)](){const _0x565f18=_0x1a7f07;this[_0x565f18(0x574)]=window[_0x565f18(0x485)](()=>{const _0x5e97de=_0x565f18;this['_send']({'type':0x2,'memberID':this[_0x5e97de(0x2e1)]});},ks);}[_0x1a7f07(0x20f)](_0x30ac7f){const _0x4f520b=_0x1a7f07;return this[_0x4f520b(0x40e)][_0x4f520b(0x581)](_0x30ac7f)||this['_unitStatus'][_0x4f520b(0x3f4)](_0x30ac7f,new _0x2c5f3e(0x0)),this[_0x4f520b(0x40e)][_0x4f520b(0x59a)](_0x30ac7f);}}var io=Object[_0x1a7f07(0x5b3)],no=Object['getOwnPropertyDescriptor'],ro=(_0x4ccb3b,_0x568ac9,_0x24a088,_0x13a4fc)=>{const _0x2f31cc=_0x1a7f07;for(var _0x251706=_0x13a4fc>0x1?void 0x0:_0x13a4fc?no(_0x568ac9,_0x24a088):_0x568ac9,_0x212edf=_0x4ccb3b[_0x2f31cc(0x5bc)]-0x1,_0x4c96a0;_0x212edf>=0x0;_0x212edf--)(_0x4c96a0=_0x4ccb3b[_0x212edf])&&(_0x251706=(_0x13a4fc?_0x4c96a0(_0x568ac9,_0x24a088,_0x251706):_0x4c96a0(_0x251706))||_0x251706);return _0x13a4fc&&_0x251706&&io(_0x568ac9,_0x24a088,_0x251706),_0x251706;},xt=(_0x1aeb8f,_0x2241a1)=>(_0x23027b,_0x3fdd4b)=>_0x2241a1(_0x23027b,_0x3fdd4b,_0x1aeb8f);let pt=class{constructor(_0x28a4bc,_0x461f91,_0x3035b7){const _0x4172c4=_0x1a7f07;this['_injector']=_0x28a4bc,this[_0x4172c4(0x4af)]=_0x461f91,this[_0x4172c4(0x359)]=_0x3035b7;}[_0x1a7f07(0x2f0)](_0x311a61){const _0x2ac5a7=_0x1a7f07;this[_0x2ac5a7(0x1f8)](_0x311a61);}[_0x1a7f07(0x277)](_0x533e55){const _0x38263e=_0x1a7f07,{unitID:_0x5de87f}=_0x533e55,{collaboration:_0x86a9de}=this[_0x38263e(0x359)]['getStateCache'](_0x5de87f);if(_0x86a9de[_0x38263e(0x5bc)]===0x0)return _0x533e55;let _0x4b4f7d=_0x235991[_0x38263e(0x311)](_0x533e55[_0x38263e(0x2bb)][0x0]);for(let _0x42a007=0x0;_0x42a007<_0x86a9de[_0x38263e(0x5bc)];_0x42a007++){const _0x18f47b={'id':_0x38263e(0x472),'params':{'unitId':_0x86a9de[_0x42a007][_0x38263e(0x3c9)],..._0x86a9de[_0x42a007][_0x38263e(0x2fd)]}},_0xa08175=this['_transformService'][_0x38263e(0x23b)](_0x4b4f7d,_0x18f47b,!0x1);if(_0x46adb2(_0xa08175))throw _0xa08175['error'];_0x4b4f7d=_0xa08175[_0x38263e(0x1c8)];}return{..._0x235991[_0x38263e(0x311)](_0x533e55),'mutations':[_0x4b4f7d]};}[_0x1a7f07(0x1f8)](_0xb20321){const _0x2fdf1e=_0x1a7f07,{unitID:_0x5ba57d}=_0xb20321,{history:_0x422218,collaboration:_0x39341e}=this['_docStateChangeManagerService']['getStateCache'](_0x5ba57d);if(_0x422218[_0x2fdf1e(0x5bc)]===0x0&&_0x39341e[_0x2fdf1e(0x5bc)]===0x0)return;const _0x462761=[],_0x3077ad=[];let _0x2d8305=_0x235991[_0x2fdf1e(0x311)](_0xb20321[_0x2fdf1e(0x2bb)][0x0]),_0x1e0ea5=_0x235991[_0x2fdf1e(0x311)](_0xb20321['mutations'][0x0]);for(let _0xec5c2a=_0x422218['length']-0x1;_0xec5c2a>=0x0;_0xec5c2a--){const _0x1197ac={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x422218[_0xec5c2a]['unitId'],..._0x422218[_0xec5c2a][_0x2fdf1e(0x4ac)]}},_0x31bcfd={'id':_0x2fdf1e(0x472),'params':{'unitId':_0x422218[_0xec5c2a][_0x2fdf1e(0x3c9)],..._0x422218[_0xec5c2a]['redoState']}},_0x3caef7=this[_0x2fdf1e(0x4af)][_0x2fdf1e(0x23b)](_0x2d8305,_0x1197ac,!0x1),_0x3a7985=this[_0x2fdf1e(0x4af)]['transformMutation'](_0x1e0ea5,_0x31bcfd,!0x1);if(_0x46adb2(_0x3caef7))throw _0x3caef7[_0x2fdf1e(0x3eb)];if(_0x46adb2(_0x3a7985))throw _0x3a7985[_0x2fdf1e(0x3eb)];_0x462761[_0x2fdf1e(0x3fc)]({..._0x422218[_0xec5c2a],'undoState':_0x3caef7['m2Prime'][_0x2fdf1e(0x53f)],'redoState':_0x3a7985['m2Prime'][_0x2fdf1e(0x53f)]}),_0x2d8305=_0x3caef7[_0x2fdf1e(0x1c8)],_0x1e0ea5=_0x3a7985['m1Prime'];}_0x2d8305=_0x235991[_0x2fdf1e(0x311)](_0xb20321[_0x2fdf1e(0x2bb)][0x0]),_0x1e0ea5=_0x235991[_0x2fdf1e(0x311)](_0xb20321['mutations'][0x0]);for(let _0x5bab54=_0x39341e[_0x2fdf1e(0x5bc)]-0x1;_0x5bab54>=0x0;_0x5bab54--){const _0x4d4541={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39341e[_0x5bab54][_0x2fdf1e(0x3c9)],..._0x39341e[_0x5bab54][_0x2fdf1e(0x4ac)]}},_0x14435d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39341e[_0x5bab54]['unitId'],..._0x39341e[_0x5bab54][_0x2fdf1e(0x2fd)]}},_0xbe00af=this[_0x2fdf1e(0x4af)]['transformMutation'](_0x2d8305,_0x4d4541,!0x1),_0x2c8774=this[_0x2fdf1e(0x4af)][_0x2fdf1e(0x23b)](_0x1e0ea5,_0x14435d,!0x1);if(_0x46adb2(_0xbe00af))throw _0xbe00af[_0x2fdf1e(0x3eb)];if(_0x46adb2(_0x2c8774))throw _0x2c8774[_0x2fdf1e(0x3eb)];_0x3077ad[_0x2fdf1e(0x3fc)]({..._0x39341e[_0x5bab54],'undoState':_0xbe00af[_0x2fdf1e(0x2e3)][_0x2fdf1e(0x53f)],'redoState':_0x2c8774[_0x2fdf1e(0x2e3)]['params']}),_0x2d8305=_0xbe00af['m1Prime'],_0x1e0ea5=_0x2c8774[_0x2fdf1e(0x1c8)];}this[_0x2fdf1e(0x359)][_0x2fdf1e(0x3ec)](_0x5ba57d,{'history':_0x462761,'collaboration':_0x3077ad});}};pt=ro([xt(0x0,_0x5cf6ec(_0xc0c089)),xt(0x1,_0x2746ae),xt(0x2,_0x5cf6ec(_0x3fdbd8))],pt);function Pi(_0x3cdca0){const _0x36d963=_0x1a7f07;let _0x17eb53='';for(const _0x59109d of _0x3cdca0){const {startOffset:_0x169a0d,endOffset:_0x21ce7b,isActive:_0x499af9,rangeType:_0x487e6d,segmentId:_0x296497,segmentPage:_0x47359e}=_0x59109d;_0x17eb53[_0x36d963(0x5bc)]&&(_0x17eb53+=','),_0x17eb53+=_0x169a0d+':'+_0x21ce7b+':'+(_0x499af9?'1':'0')+':'+_0x487e6d+':'+_0x296497+':'+_0x47359e;}return _0x17eb53;}function oo(_0x4a77f4){const _0x5482df=_0x1a7f07,_0x5bee4e=_0x4a77f4[_0x5482df(0x42d)](','),_0x54b7b9=[];for(const _0x1b6d73 of _0x5bee4e){const [_0x3460bc,_0xa0678,_0x4e1637,_0x3ddbe5,_0xeb7155,_0x5a1b5]=_0x1b6d73[_0x5482df(0x42d)](':');_0x54b7b9['push']({'startOffset':Number(_0x3460bc),'endOffset':Number(_0xa0678),'collapsed':_0x3460bc===_0xa0678,'isActive':_0x4e1637==='1','rangeType':_0x3ddbe5===_0xe3b3a7[_0x5482df(0x3d5)]?_0xe3b3a7['TEXT']:_0xe3b3a7[_0x5482df(0x29c)],'segmentId':typeof _0xeb7155==_0x5482df(0x3b1)?String(_0xeb7155):'','segmentPage':Number(_0x5a1b5!=null?_0x5a1b5:-0x1)});}return _0x54b7b9[_0x5482df(0x420)](_0x5eef8c=>_0x5eef8c['isActive'])||(_0x54b7b9[0x0][_0x5482df(0x1d0)]=!0x0),_0x54b7b9;}class Cs extends _0x1cb902{constructor(){const _0x541c0b=_0x1a7f07;super(...arguments),g(this,_0x541c0b(0x334),new _0x2c5f3e(null)),g(this,_0x541c0b(0x3a8),this['_collabCursorState$'][_0x541c0b(0x456)]());}[_0x1a7f07(0x1db)](_0x48dd3a){const _0x19bce1=_0x1a7f07,{unitID:_0x5f199b,memberID:_0xc4906a,textRanges:_0x4476d4}=_0x48dd3a,_0x14cd9a=Pi(_0x4476d4);if(_0x14cd9a==='')return;const _0x3f994c={'unitID':_0x5f199b,'memberID':_0xc4906a,'selection':_0x14cd9a};this[_0x19bce1(0x334)]['next'](_0x3f994c);}}var ao=Object[_0x1a7f07(0x5b3)],co=Object['getOwnPropertyDescriptor'],ho=(_0x3045cc,_0x17bcdd,_0x4ef30b,_0x521130)=>{const _0x21e464=_0x1a7f07;for(var _0x3785cf=_0x521130>0x1?void 0x0:_0x521130?co(_0x17bcdd,_0x4ef30b):_0x17bcdd,_0x2443e5=_0x3045cc[_0x21e464(0x5bc)]-0x1,_0x4abbc9;_0x2443e5>=0x0;_0x2443e5--)(_0x4abbc9=_0x3045cc[_0x2443e5])&&(_0x3785cf=(_0x521130?_0x4abbc9(_0x17bcdd,_0x4ef30b,_0x3785cf):_0x4abbc9(_0x3785cf))||_0x3785cf);return _0x521130&&_0x3785cf&&ao(_0x17bcdd,_0x4ef30b,_0x3785cf),_0x3785cf;},Fs=(_0x18bc94,_0x5832a0)=>(_0xa2d9fe,_0x3a0a66)=>_0x5832a0(_0xa2d9fe,_0x3a0a66,_0x18bc94);let gt=class{constructor(_0x584295,_0x3d5dee){const _0x48d471=_0x1a7f07;this[_0x48d471(0x4d5)]=_0x584295,this['_transformService']=_0x3d5dee;}[_0x1a7f07(0x48e)](_0x1f1bbe){const _0x237e00=_0x1a7f07;var _0x497dab;const _0x5bbd62=this[_0x237e00(0x4d5)][_0x237e00(0x59a)](_0x4ad750),_0x275340=(_0x497dab=_0x5bbd62[_0x237e00(0x2f9)]())!=null?_0x497dab:[];if(_0x275340[_0x237e00(0x5bc)]===0x0)return;const _0x501dec=[{'id':_0x237e00(0x472),'params':{'unitId':_0x1f1bbe[_0x237e00(0x5b2)],'actions':null,'textRanges':_0x275340}}],_0x5a04cc=this['_transformService'][_0x237e00(0x469)](_0x1f1bbe,_0x501dec);if(!_0x1b23f5(_0x5a04cc))throw _0x5a04cc['error'];const _0x43da1f=_0x5a04cc['m2Prime'][0x0]['params'][_0x237e00(0x53b)];Array['isArray'](_0x43da1f)&&_0x43da1f['length']&&_0x5bbd62['replaceTextRanges'](_0x43da1f,!0x1);}};gt=ho([Fs(0x0,_0x5cf6ec(_0xc0c089)),Fs(0x1,_0x2746ae)],gt);const lo=new Set([_0x250bb3['id']]);function Vs(_0x4be652,_0x50866d,_0x4b2af0,_0x126d65,_0xee8a62){const _0x32e654=_0x1a7f07;var _0x1ba849,_0x48473f,_0x428b86,_0x948bf1;const _0x5e73c8=[];for(const _0x1b6514 of _0x4be652)if(lo['has'](_0x1b6514['id'])){if(_0x5e73c8[_0x32e654(0x5bc)]>0x0)break;_0x5e73c8[_0x32e654(0x4b6)](_0x1b6514);break;}else _0x5e73c8[_0x32e654(0x4b6)](_0x1b6514);const _0x3ef96f=(_0x48473f=(_0x1ba849=_0xee8a62[_0x32e654(0x3c2)]())==null?void 0x0:_0x1ba849[_0x32e654(0x53c)])!=null?_0x48473f:_0x32e654(0x247),_0x1875e5=(_0x948bf1=(_0x428b86=_0xee8a62[_0x32e654(0x3c2)]())==null?void 0x0:_0x428b86['memberID'])!=null?_0x948bf1:_0x32e654(0x247);return{'changeset':{'unitID':_0x50866d,'type':_0x518e15(_0x4b2af0[_0x32e654(0x46b)](_0x50866d)),'baseRev':_0x126d65['getCurrentRevOfUnit'](_0x50866d),'revision':0x0,'userID':_0x3ef96f,'memberID':_0x1875e5,'mutations':_0x5e73c8},'pendingMutations':_0x4be652[_0x32e654(0x515)](_0x5e73c8[_0x32e654(0x5bc)])};}function _o(_0x3eda37,_0x5ce4e3,_0x444491,_0x141514,_0x2592a2){const _0x563a8d=_0x1a7f07;var _0x5d8874,_0x1ee243,_0x169fa9,_0x11b2a1;const _0x2f4f07=[_0x3eda37[_0x563a8d(0x496)]((_0x570414,_0x4e8843)=>{const _0x37e8bc=_0x563a8d;var _0x5000c2;const {id:_0xe96e82}=_0x570414,{id:_0x48ab60,type:_0xcf923c}=_0x4e8843,_0x20344b=(_0x5000c2=_0x570414[_0x37e8bc(0x53f)])!=null?_0x5000c2:{'actions':null},_0x2ae007=_0x4e8843[_0x37e8bc(0x53f)];if(_0xe96e82&&_0xe96e82!==_0x48ab60)throw new Error(_0x37e8bc(0x492)+_0xe96e82+_0x37e8bc(0x1e4)+_0x48ab60+'.');return{..._0x570414,'id':_0x48ab60,'type':_0xcf923c,'params':{'unitId':_0x2ae007[_0x37e8bc(0x3c9)],'textRanges':_0x2ae007[_0x37e8bc(0x53b)],'actions':_0xb47243[_0x37e8bc(0x43a)](_0x20344b[_0x37e8bc(0x2aa)],_0x2ae007[_0x37e8bc(0x2aa)])}};},{})],_0x48a595=(_0x1ee243=(_0x5d8874=_0x2592a2[_0x563a8d(0x3c2)]())==null?void 0x0:_0x5d8874[_0x563a8d(0x53c)])!=null?_0x1ee243:_0x563a8d(0x247),_0x40a452=(_0x11b2a1=(_0x169fa9=_0x2592a2[_0x563a8d(0x3c2)]())==null?void 0x0:_0x169fa9[_0x563a8d(0x286)])!=null?_0x11b2a1:_0x563a8d(0x247);return{'changeset':{'unitID':_0x5ce4e3,'type':_0x518e15(_0x444491[_0x563a8d(0x46b)](_0x5ce4e3)),'baseRev':_0x141514[_0x563a8d(0x409)](_0x5ce4e3),'revision':0x0,'userID':_0x48a595,'memberID':_0x40a452,'mutations':_0x2f4f07},'pendingMutations':[]};}function Ui(_0x4aa07d,_0x1da145){const _0xad243c=_0x1a7f07,_0x140f1d=new _0x32d019(0x1);return setTimeout(()=>_0x140f1d[_0xad243c(0x265)](_0x1da145),_0x4aa07d),_0x140f1d[_0xad243c(0x456)]()[_0xad243c(0x1cf)](_0x4e26bd(0x1));}const uo={'id':_0x84a982['id'],'type':_0x42d006[_0x1a7f07(0x5b9)],'params':{}};var fo=Object[_0x1a7f07(0x5b3)],vo=Object[_0x1a7f07(0x298)],Le=(_0x4aebe7,_0x560c26,_0x167d25,_0xc1fcfb)=>{const _0x1c3134=_0x1a7f07;for(var _0x37abe8=_0xc1fcfb>0x1?void 0x0:_0xc1fcfb?vo(_0x560c26,_0x167d25):_0x560c26,_0xe1d709=_0x4aebe7[_0x1c3134(0x5bc)]-0x1,_0x48d29d;_0xe1d709>=0x0;_0xe1d709--)(_0x48d29d=_0x4aebe7[_0xe1d709])&&(_0x37abe8=(_0xc1fcfb?_0x48d29d(_0x560c26,_0x167d25,_0x37abe8):_0x48d29d(_0x37abe8))||_0x37abe8);return _0xc1fcfb&&_0x37abe8&&fo(_0x560c26,_0x167d25,_0x37abe8),_0x37abe8;},A=(_0x26af35,_0x2eb979)=>(_0x42ca97,_0x2f3a24)=>_0x2eb979(_0x42ca97,_0x2f3a24,_0x26af35),J=(_0x3678bb=>(_0x3678bb['NOT_COLLAB']=_0x1a7f07(0x2a9),_0x3678bb[_0x1a7f07(0x4f9)]=_0x1a7f07(0x1d6),_0x3678bb[_0x1a7f07(0x1ca)]='pending',_0x3678bb['AWAITING']=_0x1a7f07(0x3ce),_0x3678bb['AWAITING_WITH_PENDING']=_0x1a7f07(0x291),_0x3678bb[_0x1a7f07(0x50f)]=_0x1a7f07(0x540),_0x3678bb[_0x1a7f07(0x5ac)]=_0x1a7f07(0x54d),_0x3678bb[_0x1a7f07(0x31d)]=_0x1a7f07(0x3b0),_0x3678bb))(J||{});const Ni=0xea60;class $e{constructor(_0xad600f,_0x5e0f6f,_0x40b2db,_0x444cff,_0x905b15,_0x33d496,_0x4dc3d0,_0x29f6e0,_0xe5c5af){const _0x5af106=_0x1a7f07;g(this,_0x5af106(0x54e),null),g(this,'_pendingMutations',[]),(this[_0x5af106(0x5b2)]=_0xad600f,this[_0x5af106(0x23c)]=_0x5e0f6f,this[_0x5af106(0x543)]=_0x905b15,this[_0x5af106(0x4b3)]=_0x33d496,this[_0x5af106(0x443)]=_0x4dc3d0,this[_0x5af106(0x26a)]=_0x29f6e0,this[_0x5af106(0x493)]=_0xe5c5af,this['_awaitingChangeset']=_0x40b2db,this[_0x5af106(0x45e)]=_0x444cff);}[_0x1a7f07(0x484)](_0x3d4c0b){const _0x3571c6=_0x1a7f07,_0x431d31=this[_0x3571c6(0x26a)]['getCurrentRevOfUnit'](this[_0x3571c6(0x5b2)]);return _0x3d4c0b[_0x3571c6(0x206)]>_0x431d31+0x1?(this[_0x3571c6(0x543)][_0x3571c6(0x30a)]({'from':_0x431d31,'to':_0x3d4c0b[_0x3571c6(0x206)]-0x1}),!0x0):!0x1;}[_0x1a7f07(0x569)](_0x22f7b2){const _0x20479d=_0x1a7f07;this['_undoRedoService'][_0x20479d(0x243)](this[_0x20479d(0x5b2)],_0x22f7b2);}['_transformSelections'](_0x40e06a){const _0x3e8a17=_0x1a7f07;var _0x55cd42,_0x3faf73;(_0x3faf73=(_0x55cd42=this[_0x3e8a17(0x543)])[_0x3e8a17(0x242)])==null||_0x3faf73[_0x3e8a17(0x4bb)](_0x55cd42,_0x40e06a);}[_0x1a7f07(0x3e3)](_0x46d45c){const _0x31510e=_0x1a7f07;var _0x483850,_0x3c1e9e;return(_0x3c1e9e=(_0x483850=this[_0x31510e(0x543)])['onTransformIME'])==null?void 0x0:_0x3c1e9e[_0x31510e(0x4bb)](_0x483850,_0x46d45c);}[_0x1a7f07(0x457)](_0x339de6){const _0x109d96=_0x1a7f07;var _0x3df6fd,_0x1e8198;return(_0x1e8198=(_0x3df6fd=this[_0x109d96(0x543)])[_0x109d96(0x327)])==null?void 0x0:_0x1e8198[_0x109d96(0x4bb)](_0x3df6fd,_0x339de6);}[_0x1a7f07(0x4da)](_0x570d57){const _0x4ef204=_0x1a7f07;var _0x7f4115,_0x53cd54,_0x1a66d7;return(_0x1a66d7=(_0x53cd54=(_0x7f4115=this[_0x4ef204(0x543)])[_0x4ef204(0x257)])==null?void 0x0:_0x53cd54[_0x4ef204(0x4bb)](_0x7f4115,_0x570d57))!=null?_0x1a66d7:_0x570d57;}[_0x1a7f07(0x564)](_0x4b8a51){const _0x47c7d7=_0x1a7f07;var _0x6dbfff,_0x139101,_0x188e46;return(_0x188e46=(_0x139101=(_0x6dbfff=this[_0x47c7d7(0x543)])[_0x47c7d7(0x4a0)])==null?void 0x0:_0x139101[_0x47c7d7(0x4bb)](_0x6dbfff,_0x4b8a51))!=null?_0x188e46:_0x4b8a51;}[_0x1a7f07(0x2c0)](_0x2e150f){const _0x5df6a3=_0x1a7f07;var _0x58576a,_0xd4e959;if(this[_0x5df6a3(0x23c)]===ce[_0x5df6a3(0x51a)]){const {unitID:_0xabfa51,mutations:_0x6a32e8,memberID:_0x29f211}=_0x2e150f,_0x58b04e=_0x6a32e8[0x0][_0x5df6a3(0x53f)][_0x5df6a3(0x53b)];Array['isArray'](_0x58b04e)&&_0x58b04e[_0x5df6a3(0x5bc)]>0x0&&((_0xd4e959=(_0x58576a=this[_0x5df6a3(0x543)])[_0x5df6a3(0x438)])==null||_0xd4e959['call'](_0x58576a,{'unitID':_0xabfa51,'memberID':_0x29f211,'textRanges':_0x58b04e}));}}['_updateLocalCache'](){const _0x380d7a=_0x1a7f07;this['_localCacheService'][_0x380d7a(0x56f)](this[_0x380d7a(0x5b2)],this[_0x380d7a(0x23c)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x1a7f07(0x571)](){const _0xe4cd01=_0x1a7f07;return this[_0xe4cd01(0x26a)][_0xe4cd01(0x409)](this[_0xe4cd01(0x5b2)]);}['_incrementRevisionNumber'](){const _0x238fc1=_0x1a7f07;this[_0x238fc1(0x26a)][_0x238fc1(0x5a2)](this[_0x238fc1(0x5b2)]);}[_0x1a7f07(0x45c)](_0x38a6b1){const _0x37ba57=_0x1a7f07;var _0x53807c;let _0x22c20b=this[_0x37ba57(0x4da)](_0x38a6b1);_0x22c20b=this[_0x37ba57(0x564)](_0x22c20b);const _0x488378=_0xd02ce7(_0x22c20b['mutations'],this[_0x37ba57(0x4b3)],{'fromCollab':!0x0});if(!_0x488378[_0x37ba57(0x2a5)])throw _0x488378[_0x37ba57(0x3eb)]instanceof Error?_0x488378['error']:new Error((_0x53807c=_0x488378[_0x37ba57(0x3eb)])!=null?_0x53807c:_0x37ba57(0x55c));this[_0x37ba57(0x3e3)](_0x22c20b),this[_0x37ba57(0x457)](_0x22c20b),this[_0x37ba57(0x569)](_0x38a6b1),this[_0x37ba57(0x3b3)](_0x22c20b),this[_0x37ba57(0x2c0)](_0x22c20b),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x694a56,_0x4e5cd0,_0x334f5e,_0x31c8b5,_0x51bb89,_0x188dbd,_0x40600a,_0x2aed40,_0x381d1b,_0x4da3bc){const _0x355ff6=_0x1a7f07;super(_0x694a56,_0x4e5cd0,null,[],_0x334f5e,_0x2aed40,_0x40600a,_0x31c8b5,_0x51bb89),g(this,_0x355ff6(0x3ff),'synced'),(this[_0x355ff6(0x4d5)]=_0x188dbd,this['_logService']=_0x381d1b,this[_0x355ff6(0x4af)]=_0x4da3bc);}[_0x1a7f07(0x511)](_0x55c858){const _0x54af00=_0x1a7f07,_0x585f5b=this[_0x54af00(0x4d5)][_0x54af00(0x34e)](pe,this['unitID'],this[_0x54af00(0x23c)],[_0x55c858],this[_0x54af00(0x543)]);return _0x585f5b[_0x54af00(0x4b7)](),_0x585f5b[_0x54af00(0x3d2)](),_0x585f5b;}['onRemoteChangeset'](_0x2ce9fc){const _0x143e6b=_0x1a7f07;if(this[_0x143e6b(0x484)](_0x2ce9fc))return this[_0x143e6b(0x4d5)][_0x143e6b(0x34e)](he,this['unitID'],this[_0x143e6b(0x23c)],null,[],null,[_0x2ce9fc],this[_0x143e6b(0x543)]);try{const _0x70971e=this[_0x143e6b(0x4af)][_0x143e6b(0x469)](_0x2ce9fc,[uo]);if(_0x1b23f5(_0x70971e)){const {c1Prime:_0x147b71}=_0x70971e;return this['_executeRemoteChangeset'](_0x147b71),this;}throw _0x70971e[_0x143e6b(0x3eb)];}catch(_0x5221a0){return this['_logService'][_0x143e6b(0x3eb)](_0x5221a0),this[_0x143e6b(0x22d)](!0x1);}}[_0x1a7f07(0x22d)](_0xbdd21c){const _0x2d4045=_0x1a7f07;return this['_injector'][_0x2d4045(0x34e)](Re,this[_0x2d4045(0x5b2)],this[_0x2d4045(0x23c)],null,[],this[_0x2d4045(0x543)],_0xbdd21c);}[_0x1a7f07(0x27e)](){const _0x2f5c53=_0x1a7f07;throw new Error(_0x2f5c53(0x310));}[_0x1a7f07(0x273)](){const _0x443c2a=_0x1a7f07;throw new Error(_0x443c2a(0x285));}[_0x1a7f07(0x2d7)](){return this;}[_0x1a7f07(0x1f7)](){const _0x4bd65c=_0x1a7f07;return this['_injector'][_0x4bd65c(0x34e)](ye,this[_0x4bd65c(0x5b2)],this[_0x4bd65c(0x23c)],null,[],this[_0x4bd65c(0x543)]);}['toggleOnline'](){return this;}[_0x1a7f07(0x465)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a7f07(0x2c4)](){const _0x285bdc=_0x1a7f07,_0x4a5f5a=this[_0x285bdc(0x26a)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x285bdc(0x543)]['onMissingChangesets']({'from':_0x4a5f5a,'to':0x0}),this[_0x285bdc(0x4d5)][_0x285bdc(0x34e)](he,this[_0x285bdc(0x5b2)],this[_0x285bdc(0x23c)],null,[],null,[],this[_0x285bdc(0x543)]);}};Fe=Le([A(0x3,_0x5cf6ec(_0x5ee8b1)),A(0x4,_0x5cf6ec(q)),A(0x5,_0x5cf6ec(_0xc0c089)),A(0x6,_0x5c2e54),A(0x7,_0x322b66),A(0x8,_0x1e210b),A(0x9,_0x2746ae)],Fe);let pe=class extends $e{constructor(_0x42299d,_0x29a25b,_0x31346e,_0x8473cc,_0x2fb163,_0x29ae19,_0x5120a0,_0x1631f7,_0x42996c,_0x6b223,_0x38c025,_0x5bfdaa,_0x5984f4,_0x16141e){const _0x22b5cc=_0x1a7f07;super(_0x42299d,_0x29a25b,null,_0x31346e,_0x8473cc,_0x6b223,_0x16141e,_0x29ae19,_0x5120a0),g(this,_0x22b5cc(0x3ff),_0x22b5cc(0x4db)),g(this,'_scheduleTimestamp',null),g(this,_0x22b5cc(0x529),null),(this['_injector']=_0x2fb163,this[_0x22b5cc(0x2d8)]=_0x1631f7,this[_0x22b5cc(0x345)]=_0x42996c,this[_0x22b5cc(0x428)]=_0x38c025,this[_0x22b5cc(0x4af)]=_0x5bfdaa,this[_0x22b5cc(0x44e)]=_0x5984f4);}[_0x1a7f07(0x511)](_0x495020){const _0x2d1d83=_0x1a7f07;return this[_0x2d1d83(0x45e)]['push'](_0x495020),this[_0x2d1d83(0x3d2)](),this;}[_0x1a7f07(0x35d)](_0x23490d){const _0xd42702=_0x1a7f07;if(this[_0xd42702(0x484)](_0x23490d))return this[_0xd42702(0x366)](),this[_0xd42702(0x4d5)][_0xd42702(0x34e)](he,this[_0xd42702(0x5b2)],this['type'],null,this[_0xd42702(0x45e)],null,[_0x23490d],this[_0xd42702(0x543)]);try{const _0x165e2e=this[_0xd42702(0x4af)][_0xd42702(0x469)](_0x23490d,this[_0xd42702(0x45e)]);if(_0x1b23f5(_0x165e2e)){const {c1Prime:_0x3b6135,m2Prime:_0x2fff3f}=_0x165e2e;this[_0xd42702(0x45c)](_0x3b6135);const _0x54e1e7=this[_0xd42702(0x4d5)][_0xd42702(0x34e)](pe,this[_0xd42702(0x5b2)],this[_0xd42702(0x23c)],_0x2fff3f,this['_handler']);return this['_clearScheduledTask'](),_0x54e1e7[_0xd42702(0x4b7)](this[_0xd42702(0x3b7)]?Math['max'](0x0,new Date()[_0xd42702(0x487)]()-this['_scheduleTimestamp']):this[_0xd42702(0x5b4)]()),_0x54e1e7;}throw _0x165e2e[_0xd42702(0x3eb)];}catch(_0x5d8c7b){return this[_0xd42702(0x345)][_0xd42702(0x3eb)](_0x5d8c7b),this[_0xd42702(0x22d)](!0x1);}}[_0x1a7f07(0x27e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x207301=_0x1a7f07;throw new Error(_0x207301(0x3a6));}[_0x1a7f07(0x2d7)](){return this;}['toggleOffline'](){const _0x34e724=_0x1a7f07;return this[_0x34e724(0x366)](),this[_0x34e724(0x4d5)][_0x34e724(0x34e)](ye,this[_0x34e724(0x5b2)],this[_0x34e724(0x23c)],null,this[_0x34e724(0x45e)],this[_0x34e724(0x543)]);}[_0x1a7f07(0x325)](){return this;}[_0x1a7f07(0x4b7)](_0x452abd){const _0x2b63e4=_0x1a7f07,_0x129d81=_0x452abd!=null?_0x452abd:this[_0x2b63e4(0x5b4)]();this['_scheduleTimestamp']=new Date()[_0x2b63e4(0x487)](),this['_sendingTimer']=window[_0x2b63e4(0x38f)](()=>{const _0x257cfa=_0x2b63e4;this['_clearScheduledTask']();let _0x3fe206=null;switch(this[_0x257cfa(0x23c)]){case ce['UNIVER_SHEET']:{_0x3fe206=Vs(this['_pendingMutations'],this[_0x257cfa(0x5b2)],this[_0x257cfa(0x44e)],this['_revisionService'],this[_0x257cfa(0x2d8)]);break;}case ce[_0x257cfa(0x51a)]:{this[_0x257cfa(0x45e)][_0x257cfa(0x3ed)](_0x14ce9c=>_0x14ce9c['id']===_0x22550b['id'])?_0x3fe206=_o(this['_pendingMutations'],this[_0x257cfa(0x5b2)],this['_univerInstanceService'],this['_revisionService'],this[_0x257cfa(0x2d8)]):_0x3fe206=Vs(this['_pendingMutations'],this['unitID'],this[_0x257cfa(0x44e)],this[_0x257cfa(0x26a)],this['_memberService']);break;}default:throw new Error(_0x257cfa(0x5a6)+this[_0x257cfa(0x23c)]+_0x257cfa(0x49c));}const {changeset:_0x223e27,pendingMutations:_0x1a3be2}=_0x3fe206;this[_0x257cfa(0x543)]['onSendChangeset'](_0x223e27);const _0x5bf21e=_0x1a3be2[_0x257cfa(0x5bc)]?this[_0x257cfa(0x4d5)][_0x257cfa(0x34e)](ge,this[_0x257cfa(0x5b2)],this[_0x257cfa(0x23c)],_0x223e27,_0x1a3be2,this[_0x257cfa(0x543)],void 0x0):this[_0x257cfa(0x4d5)][_0x257cfa(0x34e)](Te,this[_0x257cfa(0x5b2)],this['type'],_0x223e27,this[_0x257cfa(0x543)]);_0x5bf21e[_0x257cfa(0x3d2)](),this['_handler'][_0x257cfa(0x507)](this,_0x5bf21e);},_0x129d81);}[_0x1a7f07(0x5b4)](){const _0x1f26e1=_0x1a7f07;var _0x86a1f4;const _0x3d9ad7=this[_0x1f26e1(0x428)][_0x1f26e1(0x1bf)](ie);return(_0x86a1f4=_0x3d9ad7==null?void 0x0:_0x3d9ad7[_0x1f26e1(0x516)])!=null?_0x86a1f4:cr;}[_0x1a7f07(0x465)](){const _0xd7b348=_0x1a7f07;throw new Error(_0xd7b348(0x4bf));}['_clearScheduledTask'](){const _0x15176e=_0x1a7f07;this[_0x15176e(0x529)]!=null&&(clearTimeout(this[_0x15176e(0x529)]),this[_0x15176e(0x529)]=null);}[_0x1a7f07(0x22d)](_0x4e26d0){const _0x152ff9=_0x1a7f07;return this[_0x152ff9(0x366)](),this[_0x152ff9(0x4d5)][_0x152ff9(0x34e)](Re,this['unitID'],this[_0x152ff9(0x23c)],null,this[_0x152ff9(0x45e)],this[_0x152ff9(0x543)],_0x4e26d0);}};pe=Le([A(0x4,_0x5cf6ec(_0xc0c089)),A(0x5,_0x5cf6ec(_0x5ee8b1)),A(0x6,_0x5cf6ec(q)),A(0x7,_0x5cf6ec(Ne)),A(0x8,_0x1e210b),A(0x9,_0x322b66),A(0xa,_0x34b905),A(0xb,_0x2746ae),A(0xc,_0x1726a1),A(0xd,_0x5c2e54)],pe);let Te=class extends $e{constructor(_0x122fa1,_0x173082,_0x2355c1,_0x2ac22c,_0x238dd3,_0x4a3429,_0xffa0be,_0x3d312c,_0x3a26db,_0x15e761,_0x3cede3){const _0x3ef301=_0x1a7f07;super(_0x122fa1,_0x173082,_0x2355c1,[],_0x2ac22c,_0x3d312c,_0x3cede3,_0x4a3429,_0xffa0be),g(this,_0x3ef301(0x3ff),_0x3ef301(0x3ce)),g(this,_0x3ef301(0x39a),0x0),g(this,_0x3ef301(0x405)),g(this,_0x3ef301(0x352)),(this[_0x3ef301(0x4d5)]=_0x238dd3,this['_logService']=_0x3a26db,this[_0x3ef301(0x4af)]=_0x15e761);}[_0x1a7f07(0x511)](_0x28631c){const _0x358afc=_0x1a7f07;this[_0x358afc(0x366)]();const _0x5b9334=this[_0x358afc(0x4d5)]['createInstance'](ge,this[_0x358afc(0x5b2)],this[_0x358afc(0x23c)],this['_awaitingChangeset'],[_0x28631c],this['_handler'],this[_0x358afc(0x405)]);return _0x5b9334[_0x358afc(0x3d2)](),_0x5b9334;}[_0x1a7f07(0x35d)](_0x2dc44e){const _0x434731=_0x1a7f07;if(this['_checkMissing'](_0x2dc44e))return this[_0x434731(0x366)](),this[_0x434731(0x4d5)][_0x434731(0x34e)](he,this[_0x434731(0x5b2)],this[_0x434731(0x23c)],this[_0x434731(0x54e)],[],null,[_0x2dc44e],this['_handler']);try{const _0x1b411d=this[_0x434731(0x4af)][_0x434731(0x579)]([_0x2dc44e],[this['_awaitingChangeset']],!0x1);if(_0x408fbf(_0x1b411d)){const {c1Prime:_0x95313c,c2Prime:_0x324071}=_0x1b411d;this[_0x434731(0x45c)](_0x95313c[0x0]),_0x324071[0x0][_0x434731(0x4cc)]=this[_0x434731(0x571)](),this[_0x434731(0x366)]();const _0x15894b=this[_0x434731(0x4d5)]['createInstance'](Te,this[_0x434731(0x5b2)],this[_0x434731(0x23c)],_0x324071[0x0],this[_0x434731(0x543)]);return _0x15894b['_updateLocalCache'](),_0x15894b;}return this[_0x434731(0x22d)](!0x1);}catch(_0xa5135f){return this[_0x434731(0x345)][_0x434731(0x3eb)](_0xa5135f),this[_0x434731(0x22d)](!0x1);}}[_0x1a7f07(0x27e)](_0x263c9c){const _0x4e18f2=_0x1a7f07;this[_0x4e18f2(0x366)]();const _0x2c2b2d=this[_0x4e18f2(0x26a)][_0x4e18f2(0x409)](this[_0x4e18f2(0x5b2)]);if(_0x263c9c['revision']<_0x2c2b2d-0x1)return this;if(this[_0x4e18f2(0x484)](_0x263c9c))return this['_injector']['createInstance'](he,this[_0x4e18f2(0x5b2)],this['type'],null,[],this[_0x4e18f2(0x54e)],[],this[_0x4e18f2(0x543)]);this['_incrementRevisionNumber']();const _0x37d08a=this[_0x4e18f2(0x4d5)][_0x4e18f2(0x34e)](Fe,this[_0x4e18f2(0x5b2)],this[_0x4e18f2(0x23c)],this[_0x4e18f2(0x543)]);return _0x37d08a[_0x4e18f2(0x3d2)](),_0x37d08a;}[_0x1a7f07(0x273)](_0x5eccb3){const _0x529c48=_0x1a7f07;return this[_0x529c48(0x22d)](!!(_0x5eccb3!=null&&_0x5eccb3[_0x529c48(0x383)]));}['onRemoteRetry'](_0x4fb229){const _0x118590=_0x1a7f07;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0x118590(0x405)]=Ui(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4fb229['reqId']}),this['_sender']=this[_0x118590(0x405)][_0x118590(0x29f)](({reqId:_0x55d339,timeout:_0x28e84b})=>{const _0x53bf19=_0x118590;this[_0x53bf19(0x43f)](_0x55d339,_0x28e84b);}),this);}[_0x1a7f07(0x1f7)](){const _0x55b759=_0x1a7f07;return this[_0x55b759(0x366)](),this[_0x55b759(0x4d5)]['createInstance'](ye,this[_0x55b759(0x5b2)],this['type'],this[_0x55b759(0x54e)],[],this[_0x55b759(0x543)]);}['toggleOnline'](){return this;}['resend'](){const _0x5c0e35=_0x1a7f07;this[_0x5c0e35(0x543)][_0x5c0e35(0x549)](this['_awaitingChangeset']);}[_0x1a7f07(0x22d)](_0x168cdb){const _0x5a3593=_0x1a7f07;return this[_0x5a3593(0x366)](),this[_0x5a3593(0x4d5)][_0x5a3593(0x34e)](Re,this[_0x5a3593(0x5b2)],this[_0x5a3593(0x23c)],this[_0x5a3593(0x54e)],[],this[_0x5a3593(0x543)],_0x168cdb);}['_resendWithTimeout'](_0x3cd260,_0x34cffa){const _0x4724ba=_0x1a7f07;var _0x53a6a5;_0x3cd260===((_0x53a6a5=this[_0x4724ba(0x54e)])==null?void 0x0:_0x53a6a5[_0x4724ba(0x577)])&&(this[_0x4724ba(0x465)](),this[_0x4724ba(0x39a)]=_0x34cffa===0x0?0x3e8:_0x34cffa*0x2);}[_0x1a7f07(0x366)](){const _0x55dd65=_0x1a7f07;var _0x170626;(_0x170626=this['_sender'])==null||_0x170626[_0x55dd65(0x4ee)](),this[_0x55dd65(0x39a)]=0x0;}};Te=Le([A(0x4,_0x5cf6ec(_0xc0c089)),A(0x5,_0x5cf6ec(_0x5ee8b1)),A(0x6,_0x5cf6ec(q)),A(0x7,_0x322b66),A(0x8,_0x1e210b),A(0x9,_0x2746ae),A(0xa,_0x5c2e54)],Te);let ge=class extends $e{constructor(_0x18fed7,_0x3e968f,_0x17e080,_0x3d65b0,_0x4078b8,_0x409f7e,_0x208121,_0x5beac6,_0x1437c6,_0x439789,_0x207c28,_0x58722a,_0x31b521){const _0x2b5df8=_0x1a7f07;super(_0x18fed7,_0x3e968f,_0x17e080,_0x3d65b0,_0x4078b8,_0x439789,_0x31b521,_0x5beac6,_0x1437c6),g(this,_0x2b5df8(0x3ff),_0x2b5df8(0x291)),g(this,'_resendTimeout',0x0),g(this,_0x2b5df8(0x405)),g(this,_0x2b5df8(0x352)),(this[_0x2b5df8(0x4d5)]=_0x208121,this[_0x2b5df8(0x345)]=_0x207c28,this[_0x2b5df8(0x4af)]=_0x58722a,_0x409f7e&&(this[_0x2b5df8(0x405)]=_0x409f7e,this[_0x2b5df8(0x352)]=this[_0x2b5df8(0x405)][_0x2b5df8(0x29f)](({reqId:_0x4e1e0f,timeout:_0x529a1e})=>{this['_resendWithTimeout'](_0x4e1e0f,_0x529a1e);})));}[_0x1a7f07(0x511)](_0x11a814){const _0x69baa9=_0x1a7f07;return this['_pendingMutations'][_0x69baa9(0x4b6)](_0x11a814),this;}[_0x1a7f07(0x35d)](_0x75f371){const _0x47e693=_0x1a7f07;if(this['_checkMissing'](_0x75f371))return this[_0x47e693(0x366)](),this[_0x47e693(0x4d5)]['createInstance'](he,this[_0x47e693(0x5b2)],this[_0x47e693(0x23c)],this[_0x47e693(0x54e)],this[_0x47e693(0x45e)],null,[_0x75f371],this[_0x47e693(0x543)]);try{const _0x59365a=this[_0x47e693(0x4af)][_0x47e693(0x579)]([_0x75f371],[this['_awaitingChangeset']],!0x1);if(_0x408fbf(_0x59365a)){const {c1Prime:_0xa530ef,c2Prime:_0x25f09f}=_0x59365a,_0x20efc1=this[_0x47e693(0x4af)]['transformMutationsWithChangeset'](_0xa530ef[0x0],this[_0x47e693(0x45e)]);if(_0x1b23f5(_0x20efc1)){const {c1Prime:_0x381eea,m2Prime:_0x3b14e1}=_0x20efc1;return this[_0x47e693(0x45c)](_0x381eea),_0x25f09f[0x0][_0x47e693(0x4cc)]=this[_0x47e693(0x571)](),this['_clearScheduledTask'](),this[_0x47e693(0x4d5)][_0x47e693(0x34e)](ge,this[_0x47e693(0x5b2)],this[_0x47e693(0x23c)],_0x25f09f[0x0],_0x3b14e1,this[_0x47e693(0x543)],void 0x0);}throw _0x20efc1[_0x47e693(0x3eb)];}throw _0x59365a['error'];}catch(_0x338254){return this[_0x47e693(0x345)][_0x47e693(0x3eb)](_0x338254),this[_0x47e693(0x22d)](!0x1);}}['onRemoteAck'](_0x353e23){const _0x192019=_0x1a7f07;if(this[_0x192019(0x366)](),this[_0x192019(0x484)](_0x353e23))return this['_injector'][_0x192019(0x34e)](he,this['unitID'],this[_0x192019(0x23c)],null,this[_0x192019(0x45e)],this[_0x192019(0x54e)],[],this['_handler']);this[_0x192019(0x3a7)]();const _0x213a9c=this[_0x192019(0x4d5)][_0x192019(0x34e)](pe,this[_0x192019(0x5b2)],this[_0x192019(0x23c)],this[_0x192019(0x45e)],this[_0x192019(0x543)]);return _0x213a9c[_0x192019(0x4b7)](),_0x213a9c[_0x192019(0x3d2)](),_0x213a9c;}[_0x1a7f07(0x273)](_0x43476a){const _0x27da78=_0x1a7f07;return this[_0x27da78(0x22d)](!!(_0x43476a!=null&&_0x43476a[_0x27da78(0x383)]));}[_0x1a7f07(0x2d7)](_0x241ad8){const _0xbc333a=_0x1a7f07;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0xbc333a(0x405)]=Ui(this[_0xbc333a(0x39a)],{'timeout':this[_0xbc333a(0x39a)],'reqId':_0x241ad8[_0xbc333a(0x577)]}),this[_0xbc333a(0x352)]=this['_resendTimer'][_0xbc333a(0x29f)](({reqId:_0xcc96dd,timeout:_0x202880})=>{const _0x395d00=_0xbc333a;this[_0x395d00(0x43f)](_0xcc96dd,_0x202880);}),this);}[_0x1a7f07(0x1f7)](){const _0x383ae9=_0x1a7f07;return this['_clearScheduledTask'](),this[_0x383ae9(0x4d5)][_0x383ae9(0x34e)](ye,this['unitID'],this[_0x383ae9(0x23c)],this[_0x383ae9(0x54e)],this[_0x383ae9(0x45e)],this[_0x383ae9(0x543)]);}[_0x1a7f07(0x325)](){return this;}['resend'](){const _0x435782=_0x1a7f07;this[_0x435782(0x543)][_0x435782(0x549)](this[_0x435782(0x54e)]);}['_onConflict'](_0x4448cb){const _0x222170=_0x1a7f07;return this[_0x222170(0x366)](),this[_0x222170(0x4d5)][_0x222170(0x34e)](Re,this[_0x222170(0x5b2)],this[_0x222170(0x23c)],null,this[_0x222170(0x45e)],this[_0x222170(0x543)],_0x4448cb);}[_0x1a7f07(0x43f)](_0x4feea1,_0x180e28){const _0x55368c=_0x1a7f07;var _0x35c20e;_0x4feea1===((_0x35c20e=this[_0x55368c(0x54e)])==null?void 0x0:_0x35c20e[_0x55368c(0x577)])&&(this[_0x55368c(0x465)](),this[_0x55368c(0x39a)]=_0x180e28===0x0?0x3e8:_0x180e28*0x2);}['_clearScheduledTask'](){const _0x28d893=_0x1a7f07;var _0x42bb00;(_0x42bb00=this[_0x28d893(0x352)])==null||_0x42bb00[_0x28d893(0x4ee)](),this[_0x28d893(0x39a)]=0x0;}};ge=Le([A(0x6,_0x5cf6ec(_0xc0c089)),A(0x7,_0x5cf6ec(_0x5ee8b1)),A(0x8,_0x5cf6ec(q)),A(0x9,_0x322b66),A(0xa,_0x1e210b),A(0xb,_0x2746ae),A(0xc,_0x5c2e54)],ge);let Re=class extends $e{constructor(_0x4401ac,_0x390f88,_0x395975,_0x2ce22f,_0x32a565,_0xf491c2=!0x1,_0x4b8ce8,_0x24b33f,_0x54485a,_0x59a68b,_0x17ed08,_0x38b216,_0x482457){const _0x506cc2=_0x1a7f07;super(_0x4401ac,_0x390f88,_0x395975,_0x2ce22f,_0x32a565,_0x24b33f,_0x54485a,_0x17ed08,_0x59a68b),g(this,_0x506cc2(0x3ff),_0x506cc2(0x54d)),(this[_0x506cc2(0x4ae)]=_0xf491c2,this[_0x506cc2(0x47b)]=_0x4b8ce8,this[_0x506cc2(0x47a)]=_0x38b216,this[_0x506cc2(0x4f8)]=_0x482457,this[_0x506cc2(0x240)](),this[_0x506cc2(0x3c3)](),this[_0x506cc2(0x58c)]());}[_0x1a7f07(0x511)](){return this;}['onRemoteChangeset'](){return this;}[_0x1a7f07(0x27e)](){return this;}[_0x1a7f07(0x273)](){return this;}[_0x1a7f07(0x2d7)](){return this;}[_0x1a7f07(0x1f7)](){return this;}[_0x1a7f07(0x325)](){return this;}[_0x1a7f07(0x465)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a7f07(0x3c3)](){const _0x3a2822=_0x1a7f07;this[_0x3a2822(0x493)]['updateOfflineData'](this[_0x3a2822(0x5b2)],this['type'],null,[]);}['_showConflictNotification'](){const _0x634c8=_0x1a7f07;this['_isPermissionRej']?this[_0x634c8(0x4f8)][_0x634c8(0x1ed)]({'title':this[_0x634c8(0x47a)]['t'](_0x634c8(0x2bd)),'content':this[_0x634c8(0x47a)]['t']('permission.content'),'type':_0x634c8(0x3eb),'duration':0x0}):this['_notificationService'][_0x634c8(0x1ed)]({'title':this[_0x634c8(0x47a)]['t'](_0x634c8(0x296)),'content':this['_localeService']['t'](_0x634c8(0x2d6)),'type':'error','duration':0x0});}[_0x1a7f07(0x58c)](){const _0x2d9df9=_0x1a7f07;this[_0x2d9df9(0x47b)][_0x2d9df9(0x288)](new _0x5bdffd(this[_0x2d9df9(0x5b2)])['id'],!0x1);}};Re=Le([A(0x6,_0x5cf6ec(_0x1083e0)),A(0x7,_0x322b66),A(0x8,_0x5c2e54),A(0x9,_0x5cf6ec(q)),A(0xa,_0x5cf6ec(_0x5ee8b1)),A(0xb,_0x5cf6ec(_0x51f47a)),A(0xc,_0x5a8c90)],Re);let ye=class extends $e{constructor(_0x4f5764,_0x469df3,_0x465c6a,_0x3b150e,_0x4f4ac4,_0x59d668,_0x12b141,_0x1d6191,_0x5297a4,_0xcbaad2){const _0x507b4c=_0x1a7f07;super(_0x4f5764,_0x469df3,_0x465c6a,_0x3b150e,_0x4f4ac4,_0x5297a4,_0xcbaad2,_0x12b141,_0x1d6191),g(this,'status',_0x507b4c(0x3b0)),this[_0x507b4c(0x4d5)]=_0x59d668;}[_0x1a7f07(0x511)](_0x549145){const _0x5a9a17=_0x1a7f07;return this[_0x5a9a17(0x45e)][_0x5a9a17(0x4b6)](_0x549145),this[_0x5a9a17(0x3d2)](),this;}[_0x1a7f07(0x35d)](_0x102948){const _0x1e144e=_0x1a7f07;throw new Error(_0x1e144e(0x5a9));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x1a7f07(0x273)](){const _0x3f00c0=_0x1a7f07;throw new Error(_0x3f00c0(0x508));}[_0x1a7f07(0x2d7)](){return this;}[_0x1a7f07(0x1f7)](){return this;}[_0x1a7f07(0x325)](){const {_injector:_0xd0df9c,_pendingMutations:_0x5ea6ff,_awaitingChangeset:_0x1dcd09,unitID:_0x3ad0d7,_handler:_0x2d6099,type:_0xe9ae1a}=this,_0x38908a=Ai(_0xd0df9c,_0x3ad0d7,_0xe9ae1a,_0x1dcd09,_0x5ea6ff,_0x2d6099);return _0x38908a instanceof pe?_0x38908a['_schedule']():(_0x38908a instanceof ge||_0x38908a instanceof Te)&&_0x38908a['resend'](),_0x38908a;}['resend'](){const _0xfc93e0=_0x1a7f07;throw new Error(_0xfc93e0(0x4e1));}};ye=Le([A(0x5,_0x5cf6ec(_0xc0c089)),A(0x6,_0x5cf6ec(_0x5ee8b1)),A(0x7,_0x5cf6ec(q)),A(0x8,_0x322b66),A(0x9,_0x5c2e54)],ye);let he=class extends $e{constructor(_0x92d773,_0x151df1,_0x590120,_0x5e3ec3,_0x55ad4d,_0xc43475,_0x101790,_0x13305b,_0x4f839c,_0x50fad8,_0x5c55b4,_0x1fcf3c,_0xa25cd8,_0x275f28){const _0x43c263=_0x1a7f07;super(_0x92d773,_0x151df1,_0x590120,_0x5e3ec3,_0x101790,_0x1fcf3c,_0xa25cd8,_0x4f839c,_0x50fad8),g(this,_0x43c263(0x3ff),_0x43c263(0x540)),(this[_0x43c263(0x48b)]=_0x55ad4d,this[_0x43c263(0x58f)]=_0xc43475,this[_0x43c263(0x4d5)]=_0x13305b,this['_logService']=_0x5c55b4,this['_transformService']=_0x275f28);}[_0x1a7f07(0x251)](_0x1a62ff){const _0x5a3df7=_0x1a7f07;try{const _0xf833c8=[..._0x1a62ff,...this[_0x5a3df7(0x58f)]],_0x38f774=[this[_0x5a3df7(0x54e)]||this[_0x5a3df7(0x48b)]][_0x5a3df7(0x3de)](_0x43aa89=>!!_0x43aa89);let _0x19b544,_0x4499d7;if(_0x38f774[_0x5a3df7(0x5bc)]){const _0x2f0190=this[_0x5a3df7(0x4af)][_0x5a3df7(0x579)](_0xf833c8,_0x38f774,!0x1);if(!_0x408fbf(_0x2f0190))throw _0x2f0190['error'];_0x19b544=_0x2f0190[_0x5a3df7(0x435)],_0x4499d7=_0x2f0190[_0x5a3df7(0x53d)];}else _0x19b544=_0xf833c8,_0x4499d7=[];let _0x3ba190=this[_0x5a3df7(0x45e)];_0x19b544[_0x5a3df7(0x547)](_0xae405d=>{const _0x2d7ec0=_0x5a3df7;let _0x252fc6;if(_0x3ba190[_0x2d7ec0(0x5bc)]){const _0x4dca2a=this[_0x2d7ec0(0x4af)]['transformMutationsWithChangeset'](_0xae405d,_0x3ba190);if(!_0x1b23f5(_0x4dca2a))throw _0x4dca2a[_0x2d7ec0(0x3eb)];_0x252fc6=_0x4dca2a['c1Prime'],_0x3ba190=_0x4dca2a['m2Prime'];}else _0x252fc6=_0xae405d;this[_0x2d7ec0(0x45c)](_0x252fc6);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5a3df7(0x3a7)](),this[_0x5a3df7(0x54e)]&&_0x4499d7[_0x5a3df7(0x5bc)]&&(_0x4499d7[0x0][_0x5a3df7(0x4cc)]=this['_getCurrentRevision']());let _0x210e9d;if(this['_awaitingChangeset']&&_0x3ba190[_0x5a3df7(0x5bc)]!==0x0)_0x210e9d=this['_injector'][_0x5a3df7(0x34e)](ge,this['unitID'],this[_0x5a3df7(0x23c)],_0x4499d7[0x0],_0x3ba190,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x3ba190[_0x5a3df7(0x5bc)]===0x0)_0x4499d7[0x0][_0x5a3df7(0x4cc)]=this[_0x5a3df7(0x571)](),_0x210e9d=this[_0x5a3df7(0x4d5)]['createInstance'](Te,this['unitID'],this['type'],_0x4499d7[0x0],this['_handler']);else{if(_0x3ba190['length']!==0x0){const _0x56acea=this[_0x5a3df7(0x4d5)][_0x5a3df7(0x34e)](pe,this['unitID'],this[_0x5a3df7(0x23c)],_0x3ba190,this[_0x5a3df7(0x543)]);_0x56acea[_0x5a3df7(0x4b7)](),_0x210e9d=_0x56acea;}else _0x210e9d=this[_0x5a3df7(0x4d5)][_0x5a3df7(0x34e)](Fe,this[_0x5a3df7(0x5b2)],this['type'],this[_0x5a3df7(0x543)]);}}return _0x210e9d[_0x5a3df7(0x3d2)](),_0x210e9d;}catch(_0xd75f25){return this[_0x5a3df7(0x345)][_0x5a3df7(0x3eb)](_0x5a3df7(0x56e),_0x5a3df7(0x546),_0xd75f25),this[_0x5a3df7(0x4d5)][_0x5a3df7(0x34e)](Re,this['unitID'],this[_0x5a3df7(0x23c)],this['_awaitingChangeset'],this[_0x5a3df7(0x45e)],this[_0x5a3df7(0x543)],!0x1);}}['resend'](){const _0x4603e7=_0x1a7f07;throw new Error(_0x4603e7(0x376));}[_0x1a7f07(0x511)](_0x126111){const _0x31b0c4=_0x1a7f07;return this[_0x31b0c4(0x45e)][_0x31b0c4(0x4b6)](_0x126111),this;}[_0x1a7f07(0x35d)](_0x36f414){const _0x70a3b2=_0x1a7f07;return this['_queuedRemoteChangesets'][_0x70a3b2(0x4b6)](_0x36f414),this;}[_0x1a7f07(0x27e)](_0x2532d5){const _0x13429e=_0x1a7f07;if(this[_0x13429e(0x54e)])return this[_0x13429e(0x48b)]=this['_awaitingChangeset'],this[_0x13429e(0x54e)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1a7f07(0x273)](_0x3f042c){const _0x10d823=_0x1a7f07;return this[_0x10d823(0x22d)](!!(_0x3f042c!=null&&_0x3f042c[_0x10d823(0x383)]));}['onRemoteRetry'](){return this;}[_0x1a7f07(0x1f7)](){const _0x595f86=_0x1a7f07;return this[_0x595f86(0x4d5)][_0x595f86(0x34e)](ye,this[_0x595f86(0x5b2)],this[_0x595f86(0x23c)],this[_0x595f86(0x54e)],this[_0x595f86(0x45e)],this[_0x595f86(0x543)]);}[_0x1a7f07(0x325)](){return this;}['_onConflict'](_0x3f844c){const _0x4a2988=_0x1a7f07;return this[_0x4a2988(0x4d5)]['createInstance'](Re,this[_0x4a2988(0x5b2)],this[_0x4a2988(0x23c)],this[_0x4a2988(0x54e)],this[_0x4a2988(0x45e)],this[_0x4a2988(0x543)],_0x3f844c);}};he=Le([A(0x7,_0x5cf6ec(_0xc0c089)),A(0x8,_0x5cf6ec(_0x5ee8b1)),A(0x9,_0x5cf6ec(q)),A(0xa,_0x1e210b),A(0xb,_0x322b66),A(0xc,_0x5c2e54),A(0xd,_0x2746ae)],he);function Ai(_0x27270e,_0x17a372,_0x3a6dad,_0x2c83fc,_0x1de6c2,_0x3c540c){const _0x53e4dd=_0x1a7f07;return _0x2c83fc&&_0x1de6c2[_0x53e4dd(0x5bc)]?_0x27270e['createInstance'](ge,_0x17a372,_0x3a6dad,_0x2c83fc,_0x1de6c2,_0x3c540c,void 0x0):_0x2c83fc?_0x27270e[_0x53e4dd(0x34e)](Te,_0x17a372,_0x3a6dad,_0x2c83fc,_0x3c540c):_0x1de6c2[_0x53e4dd(0x5bc)]?_0x27270e[_0x53e4dd(0x34e)](pe,_0x17a372,_0x3a6dad,_0x1de6c2,_0x3c540c):_0x27270e[_0x53e4dd(0x34e)](Fe,_0x17a372,_0x3a6dad,_0x3c540c);}var mo=Object[_0x1a7f07(0x5b3)],po=Object[_0x1a7f07(0x298)],Es=(_0x1d6b20,_0x2b2c25,_0x3d834f,_0x527b90)=>{const _0x479160=_0x1a7f07;for(var _0x259e2e=_0x527b90>0x1?void 0x0:_0x527b90?po(_0x2b2c25,_0x3d834f):_0x2b2c25,_0x37252c=_0x1d6b20[_0x479160(0x5bc)]-0x1,_0x2b0c96;_0x37252c>=0x0;_0x37252c--)(_0x2b0c96=_0x1d6b20[_0x37252c])&&(_0x259e2e=(_0x527b90?_0x2b0c96(_0x2b2c25,_0x3d834f,_0x259e2e):_0x2b0c96(_0x259e2e))||_0x259e2e);return _0x527b90&&_0x259e2e&&mo(_0x2b2c25,_0x3d834f,_0x259e2e),_0x259e2e;},H=(_0x2ebd24,_0x34198f)=>(_0x4f818e,_0x1d8073)=>_0x34198f(_0x4f818e,_0x1d8073,_0x2ebd24);let St=class extends _0x1cb902{constructor(_0x596cd7,_0x55d1ab,_0x505706,_0x56173b,_0x5abeff,_0x3d6076,_0x2d57e3,_0xc31cae,_0x17241a,_0x1b2990,_0x5063e3,_0x4050c7,_0x4a0182){const _0x784980=_0x1a7f07;super(),g(this,_0x784980(0x475),new _0x2c5f3e(null)),g(this,_0x784980(0x52e),this[_0x784980(0x475)][_0x784980(0x456)]()),g(this,_0x784980(0x272)),g(this,_0x784980(0x559),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x784980(0x1c5),this[_0x784980(0x52e)]['pipe'](_0x55a023(_0x925940=>_0x925940?_0x925940[_0x784980(0x3ff)]:J[_0x784980(0x31d)]),_0x2b0828(0x1))),g(this,_0x784980(0x2b0),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x784980(0x5b2)]=_0x596cd7,this['session']=_0x55d1ab,this[_0x784980(0x479)]=_0x505706,this[_0x784980(0x4d5)]=_0x56173b,this[_0x784980(0x493)]=_0x5abeff,this[_0x784980(0x480)]=_0x3d6076,this['_localeService']=_0x2d57e3,this['_revisionService']=_0xc31cae,this[_0x784980(0x345)]=_0x17241a,this[_0x784980(0x4b3)]=_0x1b2990,this['_messageService']=_0x5063e3,this[_0x784980(0x47b)]=_0x4050c7,this[_0x784980(0x41d)]=_0x4a0182);}get['state'](){const _0x2dc1b1=_0x1a7f07;return this[_0x2dc1b1(0x272)];}async[_0x1a7f07(0x3ae)](){const _0x7af94c=_0x1a7f07;if(this['state'])throw new Error(_0x7af94c(0x3ea));await this[_0x7af94c(0x426)]();}[_0x1a7f07(0x4fa)](){const _0x1f71d7=_0x1a7f07;return this[_0x1f71d7(0x559)]=!0x0,_0x1c981a(()=>{const _0x4fb366=_0x1f71d7;this[_0x4fb366(0x559)]=!0x1,this[_0x4fb366(0x2dc)]();});}['_updateState'](_0x41962c){const _0x30c7ac=_0x1a7f07;this[_0x30c7ac(0x272)]=_0x41962c,this[_0x30c7ac(0x475)][_0x30c7ac(0x265)](_0x41962c);}async['_init'](){const _0x8889d0=_0x1a7f07;var _0x911c10;this[_0x8889d0(0x2e2)](await this[_0x8889d0(0x50d)]()),this['_singleActiveUnitService']&&((_0x911c10=this['_singleActiveUnitService'])==null||_0x911c10[_0x8889d0(0x2a1)](this['unitID']),this[_0x8889d0(0x4b1)](this[_0x8889d0(0x41d)][_0x8889d0(0x513)](this[_0x8889d0(0x5b2)])[_0x8889d0(0x29f)](_0x2ca4d4=>{const _0x737cad=_0x8889d0;this[_0x737cad(0x345)][_0x737cad(0x4b5)]('[CollaborationEntity]',_0x737cad(0x5b7),_0x2ca4d4),_0x2ca4d4===Di[_0x737cad(0x34a)]?(this[_0x737cad(0x387)]['show']({'content':this[_0x737cad(0x47a)]['t'](_0x737cad(0x3dd)),'type':_0x4c03fa[_0x737cad(0x37a)]}),this['_permissionService'][_0x737cad(0x288)](new _0x5bdffd(this[_0x737cad(0x5b2)])['id'],!0x1),this[_0x737cad(0x47b)][_0x737cad(0x349)](!0x1)):(this[_0x737cad(0x47b)][_0x737cad(0x288)](new _0x5bdffd(this[_0x737cad(0x5b2)])['id'],!0x0),this[_0x737cad(0x47b)][_0x737cad(0x349)](!0x0));})));let _0x2f7092=!0x1;return this[_0x8889d0(0x4b1)](this['session'][_0x8889d0(0x3aa)]['subscribe'](_0x1a9060=>{const _0x302081=_0x8889d0;_0x1a9060===ve[_0x302081(0x48d)]?this['_toggleOnline'](_0x2f7092):_0x1a9060===ve['OFFLINE']&&(_0x2f7092=!0x0,this[_0x302081(0x2b4)]());})),this[_0x8889d0(0x4b1)](this[_0x8889d0(0x416)][_0x8889d0(0x46f)][_0x8889d0(0x29f)](_0x5a8580=>{const _0x24a06a=_0x8889d0;try{switch(_0x5a8580[_0x24a06a(0x215)]){case _0x4e3c97[_0x24a06a(0x49b)]:{this['_onRemoteChangeset'](_0x35fd25(_0x5a8580[_0x24a06a(0x32e)]));break;}case _0x4e3c97['CHANGESET_ACK']:{this[_0x24a06a(0x442)](_0x5a8580[_0x24a06a(0x32e)]);break;}case _0x4e3c97[_0x24a06a(0x4e7)]:{this[_0x24a06a(0x55f)]();break;}case _0x4e3c97[_0x24a06a(0x22a)]:{this[_0x24a06a(0x289)](_0x5a8580[_0x24a06a(0x32e)]);break;}case _0x4e3c97[_0x24a06a(0x35b)]:{this[_0x24a06a(0x21d)](_0x5a8580[_0x24a06a(0x32e)][_0x24a06a(0x24a)]['map'](_0x22bcdd=>_0x35fd25(_0x22bcdd)));break;}case _0x4e3c97[_0x24a06a(0x2bf)]:this[_0x24a06a(0x55f)]({'isPermissionRej':!0x0});}}catch(_0x444e0d){throw console[_0x24a06a(0x3eb)]('Error\x20on\x20receiving\x20event',_0x444e0d),_0x444e0d;}})),this[_0x8889d0(0x272)];}[_0x1a7f07(0x33e)](){const _0xf23565=_0x1a7f07;this[_0xf23565(0x2b0)]=!0x1;}[_0x1a7f07(0x56d)](){const _0x26a1be=_0x1a7f07;if(this[_0x26a1be(0x2b0)])throw new Error(_0x26a1be(0x239));this[_0x26a1be(0x2b0)]=!0x0;}['_onLocalMutation'](_0x2c7f21){const _0x791385=_0x1a7f07;this['_lockTransition'](),this[_0x791385(0x2e2)](this[_0x791385(0x272)]['appendMutation'](_0x2c7f21)),this[_0x791385(0x33e)]();}[_0x1a7f07(0x46e)](_0x55ef6d){const _0xb2d0e=_0x1a7f07;if(!(_0x55ef6d[_0xb2d0e(0x206)]<=this[_0xb2d0e(0x26a)]['getCurrentRevOfUnit'](this[_0xb2d0e(0x5b2)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x55ef6d);return;}this[_0xb2d0e(0x381)](_0x55ef6d);}}[_0x1a7f07(0x2dc)](){const _0x367c37=_0x1a7f07;this['_remoteChangesetQueue'][_0x367c37(0x547)](_0x58c820=>this[_0x367c37(0x381)](_0x58c820)),this[_0x367c37(0x481)]=[];}[_0x1a7f07(0x381)](_0x3a4b64){const _0x574d39=_0x1a7f07,_0x482269=this[_0x574d39(0x480)][_0x574d39(0x439)][_0x574d39(0x335)](this[_0x574d39(0x480)][_0x574d39(0x439)][_0x574d39(0x3b4)]()['COMPRESS_MUTATION_APPLY'])(_0x3a4b64[_0x574d39(0x2bb)],null)||_0x3a4b64[_0x574d39(0x2bb)],_0x49fab3={..._0x3a4b64,'mutations':_0x482269};this[_0x574d39(0x56d)](),this['_updateState'](this[_0x574d39(0x272)][_0x574d39(0x35d)](_0x49fab3)),this['_unlockTransition']();}[_0x1a7f07(0x442)](_0x19aaec){const _0x9329ca=_0x1a7f07;this[_0x9329ca(0x56d)](),this[_0x9329ca(0x2e2)](this[_0x9329ca(0x272)][_0x9329ca(0x27e)](_0x19aaec)),this[_0x9329ca(0x33e)]();}[_0x1a7f07(0x55f)](_0x4fe0ce){const _0x16cb5e=_0x1a7f07;this['_lockTransition'](),this['_updateState'](this[_0x16cb5e(0x272)]['onRemoteRej'](_0x4fe0ce)),this[_0x16cb5e(0x33e)]();}[_0x1a7f07(0x289)](_0x5e43f2){const _0x4aec68=_0x1a7f07;this['_lockTransition'](),this[_0x4aec68(0x2e2)](this['_state'][_0x4aec68(0x2d7)](_0x5e43f2)),this['_unlockTransition']();}['_onFetchMissResult'](_0x2ad7da){const _0x182369=_0x1a7f07;if(!(this['_state']instanceof he))throw new TypeError(_0x182369(0x4b2));const _0x1fce58=_0x2ad7da['map'](_0x160243=>{const _0x4c8fd3=_0x182369,_0x145020=this[_0x4c8fd3(0x480)][_0x4c8fd3(0x439)]['fetchThroughInterceptors'](this[_0x4c8fd3(0x480)]['interceptor'][_0x4c8fd3(0x3b4)]()[_0x4c8fd3(0x5aa)])(_0x160243[_0x4c8fd3(0x2bb)],null)||_0x160243[_0x4c8fd3(0x2bb)];return{..._0x160243,'mutations':_0x145020};});this[_0x182369(0x56d)](),this[_0x182369(0x2e2)](this[_0x182369(0x272)][_0x182369(0x251)](_0x1fce58)),this[_0x182369(0x33e)]();}[_0x1a7f07(0x2b4)](){const _0x3f41d4=_0x1a7f07;this['_lockTransition'](),this[_0x3f41d4(0x2e2)](this[_0x3f41d4(0x272)][_0x3f41d4(0x1f7)]()),this['_unlockTransition']();}['_toggleOnline'](_0x3fa35a=!0x1){const _0x404584=_0x1a7f07;this[_0x404584(0x56d)](),this['_updateState'](this[_0x404584(0x272)][_0x404584(0x325)]()),this['_unlockTransition']();const _0x54ce7d=this[_0x404584(0x272)];_0x3fa35a&&_0x54ce7d instanceof Fe&&(this[_0x404584(0x56d)](),this['_updateState'](_0x54ce7d[_0x404584(0x2c4)]()),this[_0x404584(0x33e)]());}async['_createInitialState'](){return new Promise(_0x5da08b=>{const _0x5ea1fc=_0x54d3;this[_0x5ea1fc(0x416)][_0x5ea1fc(0x3aa)][_0x5ea1fc(0x1cf)](_0x4e26bd(0x1))[_0x5ea1fc(0x29f)](async _0x1f6c58=>{const _0x2ec407=_0x5ea1fc;_0x5da08b(await this[_0x2ec407(0x391)](_0x1f6c58===ve['ONLINE']));});});}[_0x1a7f07(0x5c5)](){const _0x24197e=_0x1a7f07,_0x3f0f1c=this[_0x24197e(0x5b2)];return{'onStateChange':(_0x3bcb3f,_0xb7d503)=>{const _0x275f7d=_0x24197e;if(_0x3bcb3f!==this['_state'])throw new Error(_0x275f7d(0x2e9)+_0x3bcb3f['status']+'\x0aAfter:\x20'+_0xb7d503[_0x275f7d(0x3ff)]+_0x275f7d(0x33f)+this[_0x275f7d(0x272)][_0x275f7d(0x3ff)]);this[_0x275f7d(0x2e2)](_0xb7d503);},'onSendChangeset':_0x19f62=>{const _0x37ec71=_0x24197e;_0x19f62['sid']||(_0x19f62['sid']=this[_0x37ec71(0x4e4)],_0x19f62[_0x37ec71(0x577)]=++this['_changesetReqId']);const _0x4b8622={'eventID':_0x4e3c97[_0x37ec71(0x4c2)],'data':{'unitID':_0x19f62[_0x37ec71(0x5b2)],'unitType':this[_0x37ec71(0x479)],'changeset':_0x19f62,'memberID':this[_0x37ec71(0x416)]['getMemberID']()}};this[_0x37ec71(0x416)][_0x37ec71(0x445)](_0x4b8622,this[_0x37ec71(0x5b2)]);},'onMissingChangesets':({from:_0x5471a7,to:_0x318774})=>{const _0x300d5e=_0x24197e;this['_logService'][_0x300d5e(0x4b5)](_0x300d5e(0x412),_0x300d5e(0x1ff)+_0x5471a7+'\x20to\x20'+_0x318774);const _0x47be63={'eventID':_0x4e3c97['FETCH_MISSING'],'data':{'unitID':_0x3f0f1c,'unitType':this[_0x300d5e(0x479)],'from':_0x5471a7,'to':_0x318774}};this[_0x300d5e(0x416)]['send'](_0x47be63,this[_0x300d5e(0x5b2)]);}};}async[_0x1a7f07(0x391)](_0x33e964){const _0x4b3fda=_0x1a7f07;var _0x26b440,_0x5b41e1;const _0x3853b4=await this['_localCacheService'][_0x4b3fda(0x394)](this[_0x4b3fda(0x5b2)]),_0x1fea73=(_0x26b440=_0x3853b4==null?void 0x0:_0x3853b4[_0x4b3fda(0x2bb)])!=null?_0x26b440:[],_0x26137a=(_0x5b41e1=_0x3853b4==null?void 0x0:_0x3853b4[_0x4b3fda(0x531)])!=null?_0x5b41e1:null,_0x416da8=!!(_0x26137a!=null&&_0x26137a['sid'])&&!!(_0x26137a!=null&&_0x26137a[_0x4b3fda(0x577)]);this[_0x4b3fda(0x4e4)]=_0x416da8?_0x26137a[_0x4b3fda(0x3e1)]:Gr(),this[_0x4b3fda(0x3dc)]=_0x416da8?_0x26137a[_0x4b3fda(0x577)]:0x0;const _0x23a30e=this[_0x4b3fda(0x5b2)];try{this[_0x4b3fda(0x213)](_0x26137a,_0x1fea73);}catch(_0x2dd058){this['_logService'][_0x4b3fda(0x3eb)](_0x2dd058);}const _0x218c9f=this[_0x4b3fda(0x5c5)]();if(_0x33e964){const _0x12becb=Ai(this[_0x4b3fda(0x4d5)],_0x23a30e,this[_0x4b3fda(0x479)],_0x26137a,_0x1fea73,_0x218c9f);return _0x12becb instanceof pe?_0x12becb['_schedule']():(_0x12becb instanceof ge||_0x12becb instanceof Te)&&_0x12becb[_0x4b3fda(0x465)](),_0x12becb;}return this['_injector'][_0x4b3fda(0x34e)](ye,_0x23a30e,this[_0x4b3fda(0x479)],_0x26137a,_0x1fea73,_0x218c9f);}['_replayCachedMutations'](_0x147e6f,_0x5dbb34){const _0xbf8d6a=_0x1a7f07;var _0x336ade,_0x3fd6b7;const _0x1bd0ea=this[_0xbf8d6a(0x480)][_0xbf8d6a(0x439)][_0xbf8d6a(0x335)](this[_0xbf8d6a(0x480)][_0xbf8d6a(0x439)][_0xbf8d6a(0x3b4)]()[_0xbf8d6a(0x5aa)]);(_0x336ade=_0x1bd0ea((_0x147e6f==null?void 0x0:_0x147e6f[_0xbf8d6a(0x2bb)])||[],null))==null||_0x336ade['forEach'](_0x49a152=>this[_0xbf8d6a(0x4b3)][_0xbf8d6a(0x26f)](_0x49a152['id'],_0x49a152['params'])),(_0x3fd6b7=_0x1bd0ea(_0x5dbb34||[],null))==null||_0x3fd6b7[_0xbf8d6a(0x547)](_0x48d8bc=>this[_0xbf8d6a(0x4b3)][_0xbf8d6a(0x26f)](_0x48d8bc['id'],_0x48d8bc[_0xbf8d6a(0x53f)]));}};St=Es([H(0x3,_0x5cf6ec(_0xc0c089)),H(0x4,_0x5cf6ec(q)),H(0x5,_0x5cf6ec(_0x230e80)),H(0x6,_0x5cf6ec(_0x51f47a)),H(0x7,_0x5cf6ec(_0x5ee8b1)),H(0x8,_0x1e210b),H(0x9,_0x322b66),H(0xa,_0x521fac),H(0xb,_0x1083e0),H(0xc,_0x94953d(yt))],St);let ss=class extends St{constructor(_0x2f98fe,_0x22b2cd,_0x5e2f93,_0x432e62,_0x395ea2,_0x1f6e00,_0xbb71bd,_0x4ccbf1,_0x38ba18,_0x3f33a5,_0x53f2a6,_0x4a1938,_0x368aad,_0x21fcdc,_0x50edb2,_0x2a2d03,_0x3146a7,_0x34a5eb){const _0x2e753c=_0x1a7f07;super(_0x2f98fe,_0x5e2f93,_0x22b2cd,_0x432e62,_0x395ea2,_0x1f6e00,_0xbb71bd,_0x4ccbf1,_0x21fcdc,_0x50edb2,_0x2a2d03,_0x3146a7,_0x34a5eb),this[_0x2e753c(0x5b2)]=_0x2f98fe,this[_0x2e753c(0x23c)]=_0x22b2cd,this[_0x2e753c(0x359)]=_0x38ba18,this[_0x2e753c(0x28d)]=_0x3f33a5,this[_0x2e753c(0x3d9)]=_0x53f2a6,this[_0x2e753c(0x587)]=_0x4a1938,this['_docSyncEditingCollabCursorService']=_0x368aad;}[_0x1a7f07(0x5c5)](){const _0x5d17f6=_0x1a7f07,_0x306fb9=super['_createHandler']();return _0x306fb9[_0x5d17f6(0x2c6)]=_0x358f85=>this['_docTransformIMECacheService'][_0x5d17f6(0x506)](_0x358f85),_0x306fb9[_0x5d17f6(0x327)]=_0x206797=>this[_0x5d17f6(0x3d9)][_0x5d17f6(0x2f0)](_0x206797),_0x306fb9['onTransformSelections']=_0x154d8a=>this[_0x5d17f6(0x587)][_0x5d17f6(0x48e)](_0x154d8a),_0x306fb9['onSyncEditingCollabCursor']=_0x585918=>this[_0x5d17f6(0x500)][_0x5d17f6(0x1db)](_0x585918),_0x306fb9[_0x5d17f6(0x257)]=_0x2170fb=>this[_0x5d17f6(0x28d)]['transformRemoteChangeset'](_0x2170fb),_0x306fb9[_0x5d17f6(0x4a0)]=_0x287bea=>this[_0x5d17f6(0x3d9)][_0x5d17f6(0x277)](_0x287bea),_0x306fb9;}async[_0x1a7f07(0x426)](){const _0x4537b9=_0x1a7f07,_0x24d9ba=await super['_init']();return this[_0x4537b9(0x359)]['docStateChange$'][_0x4537b9(0x1cf)](_0x171184(this[_0x4537b9(0x22c)]))[_0x4537b9(0x29f)](_0x3f2b47=>{const _0x69e9a5=_0x4537b9;if(_0x3f2b47==null)return;const {unitId:_0x17860b,redoState:_0x246dc4,commandId:_0x1ca801}=_0x3f2b47;if(_0x17860b!==this[_0x69e9a5(0x5b2)])return;const _0x532594={'id':_0x1ca801,'type':_0x42d006['MUTATION'],'params':{'unitId':_0x17860b,'actions':_0x246dc4[_0x69e9a5(0x2aa)],'textRanges':null}};this[_0x69e9a5(0x307)](_0x532594);}),_0x24d9ba;}};ss=Es([H(0x3,_0x5cf6ec(_0xc0c089)),H(0x4,_0x5cf6ec(q)),H(0x5,_0x5cf6ec(_0x230e80)),H(0x6,_0x5cf6ec(_0x51f47a)),H(0x7,_0x5cf6ec(_0x5ee8b1)),H(0x8,_0x5cf6ec(_0x3fdbd8)),H(0x9,_0x5cf6ec(vt)),H(0xa,_0x5cf6ec(pt)),H(0xb,_0x5cf6ec(gt)),H(0xc,_0x5cf6ec(Cs)),H(0xd,_0x1e210b),H(0xe,_0x322b66),H(0xf,_0x521fac),H(0x10,_0x1083e0),H(0x11,_0x94953d(yt))],ss);let is=class extends St{constructor(_0x39abf8,_0x397f48,_0x2c2118,_0x52b18b,_0x27be87,_0x151b7e,_0x2ac8e8,_0x4eee4c,_0x58d8d6,_0x53a91c,_0x467b25,_0x457f8f,_0x3a1346,_0x48dfc5){const _0x11d1f0=_0x1a7f07;super(_0x39abf8,_0x2c2118,_0x397f48,_0x52b18b,_0x27be87,_0x151b7e,_0x2ac8e8,_0x4eee4c,_0x53a91c,_0x467b25,_0x457f8f,_0x3a1346,_0x48dfc5),this[_0x11d1f0(0x5b2)]=_0x39abf8,this['type']=_0x397f48,this[_0x11d1f0(0x330)]=_0x58d8d6;}[_0x1a7f07(0x5c5)](){const _0x422c0a=_0x1a7f07,_0x5c9dd7=super[_0x422c0a(0x5c5)]();return _0x5c9dd7['onTransformSelections']=_0x3e951f=>this[_0x422c0a(0x330)]['transformSelections'](_0x3e951f),_0x5c9dd7;}async['_init'](){const _0x319d80=_0x1a7f07,_0x440580=await super['_init']();return this[_0x319d80(0x4b1)](this[_0x319d80(0x4b3)][_0x319d80(0x229)]((_0x247415,_0x61128)=>{const _0x36f710=_0x319d80;if(_0x247415[_0x36f710(0x23c)]!==_0x42d006[_0x36f710(0x5b9)]||_0x61128!=null&&_0x61128[_0x36f710(0x4e8)]||_0x61128!=null&&_0x61128['onlyLocal'])return;const _0x445b5e=_0x247415[_0x36f710(0x53f)];if((_0x445b5e==null?void 0x0:_0x445b5e[_0x36f710(0x3c9)])!==this[_0x36f710(0x5b2)])return;const _0x4cc2d4=_0x247415,_0x3a2d5c=this[_0x36f710(0x480)][_0x36f710(0x439)]['fetchThroughInterceptors'](this[_0x36f710(0x480)]['interceptor'][_0x36f710(0x3b4)]()[_0x36f710(0x24f)])([_0x4cc2d4],null)||[_0x4cc2d4];this[_0x36f710(0x307)](_0x3a2d5c[0x0]);})),_0x440580;}};is=Es([H(0x3,_0x5cf6ec(_0xc0c089)),H(0x4,_0x5cf6ec(q)),H(0x5,_0x5cf6ec(_0x230e80)),H(0x6,_0x5cf6ec(_0x51f47a)),H(0x7,_0x5cf6ec(_0x5ee8b1)),H(0x8,_0x5cf6ec(mt)),H(0x9,_0x1e210b),H(0xa,_0x322b66),H(0xb,_0x521fac),H(0xc,_0x1083e0),H(0xd,_0x94953d(yt))],is);var go=Object[_0x1a7f07(0x5b3)],So=Object[_0x1a7f07(0x298)],Io=(_0x598ffa,_0x28ddcc,_0x511502,_0x102573)=>{const _0x2d0b0a=_0x1a7f07;for(var _0x2fe947=_0x102573>0x1?void 0x0:_0x102573?So(_0x28ddcc,_0x511502):_0x28ddcc,_0x267a1e=_0x598ffa[_0x2d0b0a(0x5bc)]-0x1,_0x49af5a;_0x267a1e>=0x0;_0x267a1e--)(_0x49af5a=_0x598ffa[_0x267a1e])&&(_0x2fe947=(_0x102573?_0x49af5a(_0x28ddcc,_0x511502,_0x2fe947):_0x49af5a(_0x2fe947))||_0x2fe947);return _0x102573&&_0x2fe947&&go(_0x28ddcc,_0x511502,_0x2fe947),_0x2fe947;},Lt=(_0x2bf565,_0x577b25)=>(_0x4606e0,_0x22ca2a)=>_0x577b25(_0x4606e0,_0x22ca2a,_0x2bf565);let it=class extends _0x1cb902{constructor(_0x3349aa,_0xfea2a0,_0x19da5d){const _0xc58acc=_0x1a7f07;super(),g(this,_0xc58acc(0x31b),new Map()),g(this,_0xc58acc(0x48a),new _0x50574e()),(this[_0xc58acc(0x4d5)]=_0x3349aa,this[_0xc58acc(0x46d)]=_0xfea2a0,this['_univerInstanceService']=_0x19da5d,this[_0xc58acc(0x426)]());}[_0x1a7f07(0x51b)](){const _0x3ea87c=_0x1a7f07;super[_0x3ea87c(0x51b)](),this[_0x3ea87c(0x31b)]['forEach'](_0x2a3698=>_0x2a3698[_0x3ea87c(0x51b)]()),this[_0x3ea87c(0x31b)][_0x3ea87c(0x320)]();}[_0x1a7f07(0x4a4)](_0x3474b5){const _0x4973c9=_0x1a7f07;var _0x49b37c;return(_0x49b37c=this[_0x4973c9(0x31b)]['get'](_0x3474b5))!=null?_0x49b37c:null;}[_0x1a7f07(0x46c)](_0x2bb3f1){const _0x12c6bd=_0x1a7f07,_0x3ff9b2=this[_0x12c6bd(0x4a4)](_0x2bb3f1);return _0x3ff9b2?_0x37aace(_0x3ff9b2):this[_0x12c6bd(0x48a)][_0x12c6bd(0x1cf)](_0x5cdcf5(_0x3031f9=>_0x3031f9[_0x12c6bd(0x5b2)]===_0x2bb3f1));}['_init'](){const _0xee9bee=_0x1a7f07;this[_0xee9bee(0x44e)]['getTypeOfUnitAdded$'](_0x31d58f[_0xee9bee(0x3a2)])[_0xee9bee(0x1cf)](_0x171184(this[_0xee9bee(0x22c)]),_0x2804ad(0x10))[_0xee9bee(0x29f)](async _0x1121e0=>{const _0x4cae87=_0xee9bee,_0x2c1052=_0x1121e0[_0x4cae87(0x5c1)](),_0x275877=await this[_0x4cae87(0x305)](_0x2c1052,ce['UNIVER_SHEET']);this[_0x4cae87(0x31b)][_0x4cae87(0x3f4)](_0x2c1052,_0x275877);}),this[_0xee9bee(0x44e)][_0xee9bee(0x5b8)](_0x31d58f[_0xee9bee(0x51a)])[_0xee9bee(0x1cf)](_0x171184(this['dispose$']),_0x2804ad(0x10))[_0xee9bee(0x1cf)](_0x5cdcf5(_0x5cff09=>!_0x5cff09[_0xee9bee(0x5c1)]()[_0xee9bee(0x4dd)]('__')))[_0xee9bee(0x29f)](async _0x3992ed=>{const _0x310f73=_0xee9bee,_0x320737=_0x3992ed['getUnitId'](),_0x41772f=await this['_startCollaboration'](_0x320737,ce[_0x310f73(0x51a)]);this[_0x310f73(0x31b)][_0x310f73(0x3f4)](_0x320737,_0x41772f);}),_0x407b74(this[_0xee9bee(0x44e)][_0xee9bee(0x276)](_0x31d58f[_0xee9bee(0x3a2)]),this[_0xee9bee(0x44e)]['getTypeOfUnitDisposed$'](_0x31d58f[_0xee9bee(0x51a)]))[_0xee9bee(0x1cf)](_0x171184(this['dispose$']))[_0xee9bee(0x29f)](_0x1adf76=>{const _0x467675=_0xee9bee,_0x506fa5=_0x1adf76[_0x467675(0x5c1)](),_0x541fe1=this['_entities'][_0x467675(0x59a)](_0x506fa5);_0x541fe1&&(_0x541fe1['dispose'](),this[_0x467675(0x31b)]['delete'](_0x506fa5));});}async[_0x1a7f07(0x305)](_0x11c929,_0x9c73f){const _0x1626ad=_0x1a7f07,_0x4ce0dd=await this[_0x1626ad(0x46d)][_0x1626ad(0x2ad)](_0x11c929),_0x511581=this[_0x1626ad(0x4d5)][_0x1626ad(0x34e)](this['_getCtorByUniverType'](_0x9c73f),_0x11c929,_0x9c73f,_0x4ce0dd);return await _0x511581[_0x1626ad(0x3ae)](),this[_0x1626ad(0x48a)][_0x1626ad(0x265)](_0x511581),_0x511581;}[_0x1a7f07(0x317)](_0x89b4d0){const _0x236f30=_0x1a7f07;switch(_0x89b4d0){case ce[_0x236f30(0x51a)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x89b4d0);}}};it=Io([Lt(0x0,_0x5cf6ec(_0xc0c089)),Lt(0x1,_0x5cf6ec(Ae)),Lt(0x2,_0x1726a1)],it);const Gs=[_0x1a7f07(0x43c),_0x1a7f07(0x3e7),_0x1a7f07(0x528),_0x1a7f07(0x408),_0x1a7f07(0x45f),_0x1a7f07(0x3e0)];class bs extends _0x3b3e75{constructor(){const _0x364891=_0x1a7f07;super(...arguments),g(this,_0x364891(0x2c7),new Map()),g(this,_0x364891(0x561),0x0);}['assignAColorForMemberID'](_0x599dca){const _0x59026e=_0x1a7f07;if(this[_0x59026e(0x2c7)][_0x59026e(0x581)](_0x599dca))return this['_assignedColors'][_0x59026e(0x59a)](_0x599dca);const _0x3db04d=Gs[this[_0x59026e(0x561)]];return this[_0x59026e(0x561)]=(this[_0x59026e(0x561)]+0x1)%Gs['length'],this[_0x59026e(0x2c7)][_0x59026e(0x3f4)](_0x599dca,_0x3db04d),_0x3db04d;}}var Co=Object[_0x1a7f07(0x5b3)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x1a147f,_0x5add32,_0x54eb0f,_0x53df40)=>{const _0x4aeeaa=_0x1a7f07;for(var _0x185cb4=_0x53df40>0x1?void 0x0:_0x53df40?Eo(_0x5add32,_0x54eb0f):_0x5add32,_0x1f1b02=_0x1a147f[_0x4aeeaa(0x5bc)]-0x1,_0x4d0cb0;_0x1f1b02>=0x0;_0x1f1b02--)(_0x4d0cb0=_0x1a147f[_0x1f1b02])&&(_0x185cb4=(_0x53df40?_0x4d0cb0(_0x5add32,_0x54eb0f,_0x185cb4):_0x4d0cb0(_0x185cb4))||_0x185cb4);return _0x53df40&&_0x185cb4&&Co(_0x5add32,_0x54eb0f,_0x185cb4),_0x185cb4;},Oe=(_0x2da74c,_0x60c9fc)=>(_0x1148ff,_0x5f13b4)=>_0x60c9fc(_0x1148ff,_0x5f13b4,_0x2da74c);const To=0x12c,Ro=0x64;let ns=class extends _0x1cb902{constructor(_0x1314e7,_0x47eb7f,_0x2dfec5,_0x3cbb65,_0x3cca9d,_0x272878,_0xb15617,_0x2db676,_0x5b793d){const _0x23385a=_0x1a7f07;super(),g(this,'_online',!0x1),g(this,_0x23385a(0x426),!0x1),g(this,_0x23385a(0x354),new _0x2c5f3e(new Map())),g(this,_0x23385a(0x2f8),this[_0x23385a(0x354)]['asObservable']()),g(this,_0x23385a(0x510),new _0x2c5f3e([])),g(this,_0x23385a(0x4ff),this[_0x23385a(0x510)][_0x23385a(0x1cf)](_0x341150(To))),g(this,_0x23385a(0x470),_0x433f68(_0xb083db=>{const _0xf56d2b=_0x23385a,_0x271a07={'eventID':_0x4e3c97[_0xf56d2b(0x1cc)],'data':{'unitID':this[_0xf56d2b(0x5b2)],'memberID':this[_0xf56d2b(0x595)][_0xf56d2b(0x57b)](),'selection':Pi(_0xb083db)}};this[_0xf56d2b(0x595)][_0xf56d2b(0x445)](_0x271a07,this['unitID']);},Ro)),(this[_0x23385a(0x5b2)]=_0x1314e7,this[_0x23385a(0x595)]=_0x47eb7f,this[_0x23385a(0x4d5)]=_0x2dfec5,this[_0x23385a(0x44a)]=_0x3cbb65,this[_0x23385a(0x2d8)]=_0x3cca9d,this[_0x23385a(0x246)]=_0x272878,this['_transformService']=_0xb15617,this['_univerInstanceService']=_0x2db676,this[_0x23385a(0x4b3)]=_0x5b793d);}get[_0x1a7f07(0x417)](){const _0x236ad0=_0x1a7f07;return this[_0x236ad0(0x354)][_0x236ad0(0x3f6)]();}get[_0x1a7f07(0x449)](){const _0x4d0718=_0x1a7f07;return this[_0x4d0718(0x510)][_0x4d0718(0x3f6)]();}[_0x1a7f07(0x51b)](){const _0x47a2f6=_0x1a7f07;super[_0x47a2f6(0x51b)](),this[_0x47a2f6(0x354)][_0x47a2f6(0x265)](new Map()),this[_0x47a2f6(0x354)][_0x47a2f6(0x5b0)](),this[_0x47a2f6(0x510)]['next']([]),this[_0x47a2f6(0x510)]['complete']();}[_0x1a7f07(0x3ae)](){const _0x40276b=_0x1a7f07;this['_init']||(this[_0x40276b(0x426)]=!0x0,this[_0x40276b(0x595)]['sessionStatus$'][_0x40276b(0x1cf)](_0x171184(this[_0x40276b(0x22c)]))[_0x40276b(0x29f)](_0x1ed538=>{const _0x377757=_0x40276b;_0x1ed538===ve[_0x377757(0x48d)]?this[_0x377757(0x1fc)]():this['_toggleOffline']();}),this[_0x40276b(0x595)][_0x40276b(0x46f)]['pipe'](_0x171184(this[_0x40276b(0x22c)]))['subscribe'](_0x202281=>{const _0x54bb27=_0x40276b,_0x11e4fe=_0x202281[_0x54bb27(0x215)];_0x11e4fe===_0x4e3c97[_0x54bb27(0x1cc)]&&this[_0x54bb27(0x24e)](_0x202281),_0x11e4fe===_0x4e3c97['USERS_LEAVE']&&this['_onCursorDelete'](_0x202281);}),this['disposeWithMe'](this[_0x40276b(0x4b3)]['onCommandExecuted'](_0x768515=>{const _0x8990c5=_0x40276b,_0x35adba=_0x768515[_0x8990c5(0x53f)];_0x35adba!=null&&this['_online']&&_0x768515['id']===_0x1ccba4['id']&&_0x35adba[_0x8990c5(0x3c9)]===this['unitID']&&_0x35adba[_0x8990c5(0x3e4)]===!0x1&&_0x35adba[_0x8990c5(0x519)][_0x8990c5(0x5bc)]>0x0&&this[_0x8990c5(0x470)](_0x35adba[_0x8990c5(0x519)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x40276b(0x1cf)](_0x171184(this[_0x40276b(0x22c)]))[_0x40276b(0x29f)](_0x7cac25=>{const _0x3bd30d=_0x40276b;if((_0x7cac25==null?void 0x0:_0x7cac25[_0x3bd30d(0x5b2)])!==this['unitID'])return;const _0x1d25e2={'eventID':_0x4e3c97['UPDATE_CURSOR'],'data':_0x7cac25};this['_onCursorUpdate'](_0x1d25e2);}),this['disposeWithMe'](this[_0x40276b(0x4b3)][_0x40276b(0x229)](_0x1e7445=>{const _0x1d67ba=_0x40276b;if(_0x1e7445['params']==null)return;const _0x13ee0c=_0x1e7445['params'];if(_0x1e7445['id']!==_0x22550b['id']||_0x13ee0c[_0x1d67ba(0x3c9)]!==this[_0x1d67ba(0x5b2)])return;const _0x2ef967={'id':'doc.mutation.rich-text-editing','params':_0x13ee0c},_0x46ed76=this['cursorInfo'];for(const [_0x5605e9,_0x274708]of _0x46ed76){const _0x1da298={'id':_0x1d67ba(0x472),'params':{'unitId':this[_0x1d67ba(0x5b2)],'actions':null,'textRanges':_0x274708[_0x1d67ba(0x519)]}},_0x34f208=this['_transformService'][_0x1d67ba(0x23b)](_0x2ef967,_0x1da298,!0x1);if(_0x46adb2(_0x34f208))throw _0x34f208[_0x1d67ba(0x3eb)];_0x46ed76[_0x1d67ba(0x3f4)](_0x5605e9,{..._0x274708,'ranges':_0x34f208[_0x1d67ba(0x2e3)][_0x1d67ba(0x53f)][_0x1d67ba(0x53b)]});}queueMicrotask(()=>{const _0x3cf644=_0x1d67ba;this[_0x3cf644(0x354)][_0x3cf644(0x265)](_0x46ed76);});})));}['_onCursorUpdate'](_0x26ccea){const _0x3d1163=_0x1a7f07;var _0x5624d0,_0x1c8f12;const {memberID:_0x3ec445,selection:_0x25b53a}=_0x26ccea['data'],_0x56b1c7=oo(_0x25b53a),_0x48247e=(_0x1c8f12=(_0x5624d0=this[_0x3d1163(0x2d8)][_0x3d1163(0x326)](this[_0x3d1163(0x5b2)],_0x3ec445))==null?void 0x0:_0x5624d0[_0x3d1163(0x598)])!=null?_0x1c8f12:'Unknown\x20user',_0x2fd5d8={'color':this[_0x3d1163(0x44a)]['assignAColorForMemberID'](_0x3ec445),'name':_0x48247e,'ranges':_0x56b1c7},_0x3d8cec=this[_0x3d1163(0x417)];_0x3d8cec['set'](_0x3ec445,_0x2fd5d8),this[_0x3d1163(0x354)][_0x3d1163(0x265)](_0x3d8cec);}[_0x1a7f07(0x5c3)](_0x4f4bf2){const _0x59d004=_0x1a7f07,{memberID:_0x3c1f3c}=_0x4f4bf2[_0x59d004(0x32e)],_0x3fbfa9=this[_0x59d004(0x417)];_0x3fbfa9[_0x59d004(0x473)](_0x3c1f3c),this[_0x59d004(0x354)]['next'](_0x3fbfa9);}[_0x1a7f07(0x1fc)](){const _0x1afa76=_0x1a7f07;var _0x513383;if(this['_online']=!0x0,((_0x513383=this[_0x1afa76(0x44e)][_0x1afa76(0x3db)]())==null?void 0x0:_0x513383[_0x1afa76(0x5c1)]())!==this[_0x1afa76(0x5b2)])return;const _0x91fcb1=this[_0x1afa76(0x4d5)][_0x1afa76(0x59a)](_0x4ad750)[_0x1afa76(0x2f9)]();Array[_0x1afa76(0x344)](_0x91fcb1)&&_0x91fcb1[_0x1afa76(0x5bc)]>0x0&&this['_updateLocalCursor'](_0x91fcb1);}[_0x1a7f07(0x2b4)](){const _0x43a821=_0x1a7f07;this[_0x43a821(0x323)]=!0x1;}};ns=bo([Oe(0x2,_0x5cf6ec(_0xc0c089)),Oe(0x3,_0x5cf6ec(bs)),Oe(0x4,_0x5cf6ec(Ne)),Oe(0x5,_0x5cf6ec(Cs)),Oe(0x6,_0x2746ae),Oe(0x7,_0x1726a1),Oe(0x8,_0x322b66)],ns);var yo=Object[_0x1a7f07(0x5b3)],Oo=Object[_0x1a7f07(0x298)],wo=(_0x3673cc,_0x437a62,_0x3df2dd,_0x3ef79b)=>{const _0x1e5afa=_0x1a7f07;for(var _0x30b3f0=_0x3ef79b>0x1?void 0x0:_0x3ef79b?Oo(_0x437a62,_0x3df2dd):_0x437a62,_0x5161a2=_0x3673cc[_0x1e5afa(0x5bc)]-0x1,_0x492867;_0x5161a2>=0x0;_0x5161a2--)(_0x492867=_0x3673cc[_0x5161a2])&&(_0x30b3f0=(_0x3ef79b?_0x492867(_0x437a62,_0x3df2dd,_0x30b3f0):_0x492867(_0x30b3f0))||_0x30b3f0);return _0x3ef79b&&_0x30b3f0&&yo(_0x437a62,_0x3df2dd,_0x30b3f0),_0x30b3f0;},Be=(_0xdc8aa,_0x3a5643)=>(_0x564e9c,_0x4b4038)=>_0x3a5643(_0x564e9c,_0x4b4038,_0xdc8aa);const Do=0x12c,Po=0x64,Uo=()=>{let _0x3f48d8=[],_0x57e5de=!0x1;return _0x11a24b=>{const _0xc83a1=_0x54d3;_0x3f48d8[_0xc83a1(0x4b6)](_0x11a24b),_0x57e5de||(_0x57e5de=!0x0,setTimeout(()=>{const _0x2c3950=_0xc83a1;_0x3f48d8[_0x2c3950(0x547)](_0x51207b=>_0x51207b()),_0x3f48d8=[],_0x57e5de=!0x1;}));};};let rs=class extends _0x1cb902{constructor(_0x1486a2,_0x58a328,_0xc6ddb4,_0x114877,_0x5e57ae,_0x1a92b4,_0x24f8d0,_0x20b514){const _0x36c4ec=_0x1a7f07;super(),g(this,_0x36c4ec(0x323),!0x1),g(this,_0x36c4ec(0x426),!0x1),g(this,_0x36c4ec(0x354),new _0x2c5f3e(new Map())),g(this,_0x36c4ec(0x2f8),this[_0x36c4ec(0x354)][_0x36c4ec(0x456)]()),g(this,_0x36c4ec(0x510),new _0x2c5f3e([])),g(this,'roomMembers$',this[_0x36c4ec(0x510)][_0x36c4ec(0x1cf)](_0x341150(Do))),g(this,_0x36c4ec(0x470),_0x433f68((_0x2f95dd,_0x49b94f)=>{const _0x32d3a2=_0x36c4ec,_0x17a5a3={'eventID':_0x4e3c97['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x32d3a2(0x595)]['getMemberID'](),'selection':_0x5ec0d6(_0x2f95dd,_0x49b94f['range'])}};this[_0x32d3a2(0x595)][_0x32d3a2(0x445)](_0x17a5a3,this[_0x32d3a2(0x5b2)]);},Po)),(this[_0x36c4ec(0x5b2)]=_0x1486a2,this['_session']=_0x58a328,this[_0x36c4ec(0x4d5)]=_0xc6ddb4,this[_0x36c4ec(0x44a)]=_0x114877,this[_0x36c4ec(0x2d8)]=_0x5e57ae,this[_0x36c4ec(0x44e)]=_0x1a92b4,this[_0x36c4ec(0x4b3)]=_0x24f8d0,this[_0x36c4ec(0x20e)]=_0x20b514);}get[_0x1a7f07(0x417)](){const _0x207774=_0x1a7f07;return this[_0x207774(0x354)][_0x207774(0x3f6)]();}get[_0x1a7f07(0x449)](){const _0x139aa3=_0x1a7f07;return this[_0x139aa3(0x510)]['getValue']();}['dispose'](){const _0x491ed8=_0x1a7f07;super[_0x491ed8(0x51b)](),this[_0x491ed8(0x354)][_0x491ed8(0x265)](new Map()),this['_cursorInfo$'][_0x491ed8(0x5b0)](),this['_roomMembers$'][_0x491ed8(0x265)]([]),this[_0x491ed8(0x510)]['complete']();}[_0x1a7f07(0x3ae)](){const _0x1943fa=_0x1a7f07;this[_0x1943fa(0x426)]||(this['_init']=!0x0,this[_0x1943fa(0x595)][_0x1943fa(0x3aa)][_0x1943fa(0x1cf)](_0x171184(this['dispose$']))['subscribe'](_0x4c3536=>{const _0x4bfa0f=_0x1943fa;_0x4c3536===ve[_0x4bfa0f(0x48d)]?this[_0x4bfa0f(0x1fc)]():this[_0x4bfa0f(0x2b4)]();}),this[_0x1943fa(0x595)][_0x1943fa(0x46f)][_0x1943fa(0x1cf)](_0x171184(this[_0x1943fa(0x22c)]))['subscribe'](_0xc9388e=>{const _0x432dbd=_0x1943fa,_0x3136a0=_0xc9388e[_0x432dbd(0x215)];_0x3136a0===_0x4e3c97[_0x432dbd(0x1cc)]&&this[_0x432dbd(0x24e)](_0xc9388e),_0x3136a0===_0x4e3c97['USERS_LEAVE']&&this['_onCursorDelete'](_0xc9388e);}),this[_0x1943fa(0x2a8)](),this['disposeWithMe'](this[_0x1943fa(0x4b3)][_0x1943fa(0x229)](_0x4014b7=>{const _0x1bfd1a=_0x1943fa;if(this[_0x1bfd1a(0x323)]&&_0x4014b7['id']===_0x27f103['id']&&_0x4014b7[_0x1bfd1a(0x53f)][_0x1bfd1a(0x3c9)]===this[_0x1bfd1a(0x5b2)]){const _0x4ee718=_0x4014b7[_0x1bfd1a(0x53f)];this[_0x1bfd1a(0x470)](_0x4ee718[_0x1bfd1a(0x2c2)],_0x4ee718['selections'][0x0]);}})));}[_0x1a7f07(0x24e)](_0x369f66){const _0x2586b4=_0x1a7f07;var _0x30c32b,_0x1aed12;const {memberID:_0x4a2288,selection:_0x5edc05}=_0x369f66[_0x2586b4(0x32e)],{sheetName:_0x1a26f9,range:_0x574d0d}=_0x15f56b(_0x5edc05),_0x4d0234={'name':(_0x1aed12=(_0x30c32b=this[_0x2586b4(0x2d8)][_0x2586b4(0x326)](this[_0x2586b4(0x5b2)],_0x4a2288))==null?void 0x0:_0x30c32b[_0x2586b4(0x598)])!=null?_0x1aed12:'Unknown\x20user','range':this['_getMergeRange'](_0x1a26f9,_0x574d0d),'sheetID':_0x1a26f9,'color':this[_0x2586b4(0x44a)][_0x2586b4(0x583)](_0x4a2288),'selection':_0x5edc05},_0x7c62af=this['cursorInfo'];_0x7c62af[_0x2586b4(0x3f4)](_0x4a2288,_0x4d0234),this['_cursorInfo$'][_0x2586b4(0x265)](_0x7c62af);}[_0x1a7f07(0x5c3)](_0x1b026d){const _0x25c17f=_0x1a7f07,{memberID:_0x3115fd}=_0x1b026d[_0x25c17f(0x32e)],_0x3b5768=this[_0x25c17f(0x417)];_0x3b5768['delete'](_0x3115fd),this[_0x25c17f(0x354)][_0x25c17f(0x265)](_0x3b5768);}['_getMergeRange'](_0x5ced43,_0x2dd52a){const _0x5bdc57=_0x1a7f07;var _0x2b13c4,_0x35309b;const _0x32597e=(_0x35309b=(_0x2b13c4=this[_0x5bdc57(0x44e)][_0x5bdc57(0x31f)](this[_0x5bdc57(0x5b2)]))==null?void 0x0:_0x2b13c4[_0x5bdc57(0x5bd)](_0x5ced43))==null?void 0x0:_0x35309b[_0x5bdc57(0x1be)]();return(_0x32597e==null?void 0x0:_0x32597e[_0x5bdc57(0x523)](_0x35d4ba=>_0x194108[_0x5bdc57(0x1d5)](_0x35d4ba,_0x2dd52a)))||_0x2dd52a;}[_0x1a7f07(0x2a8)](){const _0x37a0bc=_0x1a7f07,_0x481eee=new _0xb0f374(),_0x5e56d6=Uo(),_0x4e77aa=()=>{const _0x184fa1=_0x54d3;_0x481eee[_0x184fa1(0x51b)]();const _0x5c7828=(_0xd5e9f4,_0x3ea97b,_0x144274,_0x9c9024)=>{const _0x535cea=_0x184fa1;let _0x30f6b0=[];switch(_0xd5e9f4['id']){case _0x300cbc[_0x535cea(0x50c)]:{_0x30f6b0=_0x39cf89(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x3c7)]:{_0x30f6b0=_0x220228(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x49d)]:{_0x30f6b0=_0x255154(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x224)]:{_0x30f6b0=_0x28d224(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x2d0)]:{_0x30f6b0=_0x499d69(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x245)]:{_0x30f6b0=_0x1bdaf3(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x1e7)]:{_0x30f6b0=_0x536a5b(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x217)]:{_0x30f6b0=_0x4e0669(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc['RemoveRowCommandId']:{_0x30f6b0=_0x1de90e(_0xd5e9f4,_0x9c9024);break;}}const _0x4c6b3a=_0x1e843d(_0x30f6b0,_0x9c9024),_0x259fa0=this[_0x535cea(0x417)][_0x535cea(0x59a)](_0x3ea97b);if(_0x259fa0&&_0x4c6b3a){const _0x26f4cb={..._0x259fa0,'range':_0x4c6b3a};this['cursorInfo']['set'](_0x3ea97b,_0x26f4cb),_0x5e56d6(()=>{const _0x15b908=_0x535cea,_0x1dfe87=this[_0x15b908(0x20e)][_0x15b908(0x218)](_0x4c6b3a,_0x59d0f3=>(_0x1dfe87[_0x15b908(0x51b)](),_0x5c7828(_0x59d0f3,_0x3ea97b,_0x144274,_0x4c6b3a)));_0x481eee['add'](_0x1dfe87);});}return{'redos':[],'undos':[]};};this[_0x184fa1(0x417)][_0x184fa1(0x547)]((_0x21a48a,_0x56ebff)=>{const _0x49f66d=_0x184fa1,{range:_0x427300,sheetID:_0x5490cb}=_0x21a48a,_0x5bb719=this[_0x49f66d(0x20e)][_0x49f66d(0x218)](_0x427300,_0x137817=>(_0x5bb719[_0x49f66d(0x51b)](),_0x5c7828(_0x137817,_0x56ebff,_0x5490cb,_0x427300)));_0x481eee['add'](_0x5bb719);});};this[_0x37a0bc(0x4b1)](_0x1c981a(this['_cursorInfo$']['subscribe'](()=>{_0x4e77aa();})));}['_toggleOnline'](){const _0x18f1da=_0x1a7f07;var _0x22a27a,_0x1e02c0;if(this[_0x18f1da(0x323)]=!0x0,((_0x22a27a=this[_0x18f1da(0x44e)][_0x18f1da(0x3db)]())==null?void 0x0:_0x22a27a['getUnitId']())!==this[_0x18f1da(0x5b2)])return;const _0x1feb79=(_0x1e02c0=this['_injector'][_0x18f1da(0x59a)](_0x2fad1e)[_0x18f1da(0x3bf)]())==null?void 0x0:_0x1e02c0[0x0],_0x1d0ef6=this[_0x18f1da(0x44e)][_0x18f1da(0x3ad)](_0x31d58f[_0x18f1da(0x3a2)])[_0x18f1da(0x234)]();_0x1feb79&&_0x1d0ef6&&this[_0x18f1da(0x470)](_0x1d0ef6[_0x18f1da(0x554)](),_0x1feb79);}['_toggleOffline'](){const _0x1c6731=_0x1a7f07;this[_0x1c6731(0x323)]=!0x1;}};rs=wo([Be(0x2,_0x5cf6ec(_0xc0c089)),Be(0x3,_0x5cf6ec(bs)),Be(0x4,_0x5cf6ec(Ne)),Be(0x5,_0x1726a1),Be(0x6,_0x322b66),Be(0x7,_0x5cf6ec(_0x421d7d))],rs);var No=Object[_0x1a7f07(0x5b3)],Ao=Object[_0x1a7f07(0x298)],Mo=(_0x4ae1ae,_0x14ec55,_0x4af014,_0x5b95c0)=>{const _0x395291=_0x1a7f07;for(var _0x593af5=_0x5b95c0>0x1?void 0x0:_0x5b95c0?Ao(_0x14ec55,_0x4af014):_0x14ec55,_0x5b4d29=_0x4ae1ae[_0x395291(0x5bc)]-0x1,_0x507b7c;_0x5b4d29>=0x0;_0x5b4d29--)(_0x507b7c=_0x4ae1ae[_0x5b4d29])&&(_0x593af5=(_0x5b95c0?_0x507b7c(_0x14ec55,_0x4af014,_0x593af5):_0x507b7c(_0x593af5))||_0x593af5);return _0x5b95c0&&_0x593af5&&No(_0x14ec55,_0x4af014,_0x593af5),_0x593af5;},$t=(_0x110474,_0x55bd13)=>(_0x184801,_0x175ef4)=>_0x55bd13(_0x184801,_0x175ef4,_0x110474);let Ve=class extends _0x1cb902{constructor(_0x3b4a94,_0x2159ff,_0x436d14){const _0x27c642=_0x1a7f07;super(),g(this,_0x27c642(0x31b),new Map()),g(this,_0x27c642(0x48a),new _0x50574e()),(this['_univerInstanceService']=_0x3b4a94,this[_0x27c642(0x4d5)]=_0x2159ff,this[_0x27c642(0x46d)]=_0x436d14,this[_0x27c642(0x426)]());}['dispose'](){const _0x34280c=_0x1a7f07;super[_0x34280c(0x51b)](),this[_0x34280c(0x48a)][_0x34280c(0x5b0)](),this[_0x34280c(0x31b)][_0x34280c(0x547)](_0x1a5487=>_0x1a5487[_0x34280c(0x51b)]());}[_0x1a7f07(0x3be)](_0x2750f6){const _0x10dd02=_0x1a7f07;return this[_0x10dd02(0x31b)][_0x10dd02(0x581)](_0x2750f6)?this[_0x10dd02(0x31b)]['get'](_0x2750f6)[_0x10dd02(0x2f8)]:this[_0x10dd02(0x48a)][_0x10dd02(0x1cf)](_0x5d6a4a(_0x1e470b=>_0x1e470b[_0x10dd02(0x5b2)]===_0x2750f6),_0x1eab13(_0x3dc21e=>_0x3dc21e[_0x10dd02(0x2f8)]));}['_init'](){const _0x32d4db=_0x1a7f07;this[_0x32d4db(0x44e)][_0x32d4db(0x5b8)](_0x31d58f[_0x32d4db(0x3a2)])[_0x32d4db(0x1cf)](_0x171184(this['dispose$']))['subscribe'](async _0x5b2f33=>{const _0x1bd0b9=_0x32d4db,_0x5e4628=_0x5b2f33[_0x1bd0b9(0x5c1)](),_0x14681f=await this[_0x1bd0b9(0x314)](_0x5e4628);this[_0x1bd0b9(0x48a)]['next'](_0x14681f),this[_0x1bd0b9(0x31b)]['set'](_0x5e4628,_0x14681f);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x31d58f['UNIVER_DOC'])['pipe'](_0x171184(this[_0x32d4db(0x22c)]))['pipe'](_0x5d6a4a(_0x504de8=>!_0x504de8[_0x32d4db(0x5c1)]()['startsWith']('__')))[_0x32d4db(0x29f)](async _0xd413d7=>{const _0x3aadc9=_0x32d4db,_0x534ebd=_0xd413d7['getUnitId'](),_0x4b1fac=await this[_0x3aadc9(0x3fa)](_0x534ebd);this[_0x3aadc9(0x48a)][_0x3aadc9(0x265)](_0x4b1fac),this[_0x3aadc9(0x31b)][_0x3aadc9(0x3f4)](_0x534ebd,_0x4b1fac);}),_0x407b74(this[_0x32d4db(0x44e)][_0x32d4db(0x276)](_0x31d58f['UNIVER_DOC']),this[_0x32d4db(0x44e)]['getTypeOfUnitDisposed$'](_0x31d58f[_0x32d4db(0x3a2)]))[_0x32d4db(0x1cf)](_0x171184(this['dispose$']))[_0x32d4db(0x29f)](_0x26772b=>{const _0x4e0720=_0x32d4db,_0x3a016c=_0x26772b['getUnitId'](),_0x26ccd8=this['_entities'][_0x4e0720(0x59a)](_0x3a016c);_0x26ccd8&&(_0x26ccd8[_0x4e0720(0x51b)](),this[_0x4e0720(0x31b)][_0x4e0720(0x473)](_0x3a016c));});}async[_0x1a7f07(0x314)](_0x4b7669){const _0x43d10a=_0x1a7f07,_0x21d8d7=await this[_0x43d10a(0x46d)][_0x43d10a(0x2ad)](_0x4b7669),_0xb3c928=this[_0x43d10a(0x4d5)][_0x43d10a(0x34e)](rs,_0x4b7669,_0x21d8d7);return _0xb3c928[_0x43d10a(0x3ae)](),_0xb3c928;}async[_0x1a7f07(0x3fa)](_0x24c148){const _0x62c96f=_0x1a7f07,_0x3fc104=await this['_collabSessionService'][_0x62c96f(0x2ad)](_0x24c148),_0x1274d2=this[_0x62c96f(0x4d5)]['createInstance'](ns,_0x24c148,_0x3fc104);return _0x1274d2[_0x62c96f(0x3ae)](),_0x1274d2;}};Ve=Mo([$t(0x0,_0x1726a1),$t(0x1,_0x5cf6ec(_0xc0c089)),$t(0x2,_0x5cf6ec(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x88eb55,_0xfdd7d4){const _0x1c39b7=_0x1a7f07;let {radius:_0x22dc7a,width:_0x14c5a4,height:_0x461310}=_0xfdd7d4;_0x22dc7a=_0x22dc7a!=null?_0x22dc7a:0x0,_0x14c5a4=_0x14c5a4!=null?_0x14c5a4:0x1e,_0x461310=_0x461310!=null?_0x461310:0x1e;let _0x208736=0x0,_0x30ba65=0x0,_0x114adc=0x0;_0x208736=_0x30ba65=_0x114adc=Math[_0x1c39b7(0x21f)](_0x22dc7a,_0x14c5a4/0x2,_0x461310/0x2),_0x88eb55[_0x1c39b7(0x1c2)](),_0x88eb55[_0x1c39b7(0x36c)](_0x208736,0x0),_0x88eb55[_0x1c39b7(0x4c7)](_0x14c5a4-_0x30ba65,0x0),_0x88eb55[_0x1c39b7(0x4be)](_0x14c5a4-_0x30ba65,_0x30ba65,_0x30ba65,Math['PI']*0x3/0x2,0x0,!0x1),_0x88eb55[_0x1c39b7(0x4c7)](_0x14c5a4,_0x461310-_0x114adc),_0x88eb55['arc'](_0x14c5a4-_0x114adc,_0x461310-_0x114adc,_0x114adc,0x0,Math['PI']/0x2,!0x1),_0x88eb55[_0x1c39b7(0x4c7)](0x0,_0x461310),_0x88eb55[_0x1c39b7(0x4c7)](0x0,_0x208736),_0x88eb55[_0x1c39b7(0x4be)](_0x208736,_0x208736,_0x208736,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x88eb55[_0x1c39b7(0x30f)](),_0xfdd7d4['fill']&&(_0x88eb55[_0x1c39b7(0x202)](),_0x88eb55['fillStyle']=_0xfdd7d4[_0x1c39b7(0x522)],_0xfdd7d4['fillRule']===_0x1c39b7(0x54b)?_0x88eb55['fill'](_0x1c39b7(0x54b)):_0x88eb55['fill'](),_0x88eb55[_0x1c39b7(0x53e)]());}class Ot extends _0x1e2684{constructor(_0x6b41a7,_0x22889d){const _0x356c66=_0x1a7f07;super(_0x6b41a7,_0x22889d),g(this,'color'),g(this,'text'),(this[_0x356c66(0x4a3)]=_0x22889d==null?void 0x0:_0x22889d['color'],this['text']=_0x22889d==null?void 0x0:_0x22889d[_0x356c66(0x5a0)]);}static[_0x1a7f07(0x208)](_0x40d473,_0x1c97fb){const _0xf81402=_0x1a7f07,{text:_0x592d2e,color:_0x171264}=_0x1c97fb;_0x40d473[_0xf81402(0x202)](),_0x40d473[_0xf81402(0x4a7)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2a9077=_0x40d473[_0xf81402(0x509)](_0x592d2e)[_0xf81402(0x59e)],_0x41171c=Math[_0xf81402(0x21f)](_0x2a9077+0x2*Ht,Ys);Lo(_0x40d473,{'height':nt,'radius':0x4,'width':_0x41171c,'fill':_0x171264,'evented':!0x1}),_0x40d473[_0xf81402(0x238)]=_0xf81402(0x384);const _0x3fcbcd=Ht,_0x5ba38c=nt-xo,_0x44d610=Ys-0x2*Ht;if(_0x2a9077>_0x44d610){let _0x8230b='',_0x4eecf7=0x0;for(const _0x584f52 of _0x592d2e){const _0x518fab=_0x40d473[_0xf81402(0x509)](_0x584f52)[_0xf81402(0x59e)];if(_0x4eecf7+_0x518fab<=_0x44d610-_0x40d473[_0xf81402(0x509)]('...')[_0xf81402(0x59e)])_0x8230b+=_0x584f52,_0x4eecf7+=_0x518fab;else{_0x8230b+='...';break;}}_0x40d473['fillText'](_0x8230b,_0x3fcbcd,_0x5ba38c);}else _0x40d473[_0xf81402(0x1c6)](_0x592d2e,_0x3fcbcd,_0x5ba38c);_0x40d473[_0xf81402(0x53e)]();}[_0x1a7f07(0x3d4)](_0x2d0dec){const _0x332b31=_0x1a7f07;Ot[_0x332b31(0x208)](_0x2d0dec,this);}}const jt=_0x1a7f07(0x32b),$o=_0x1a7f07(0x47f),Ho=_0x1a7f07(0x5bf),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x1a7f07(0x33b);class Ks{constructor(_0xaa5480,_0x29f424,_0x30c5c9,_0x55ae6b){const _0x3296da=_0x1a7f07;g(this,_0x3296da(0x250),[]),g(this,_0x3296da(0x258),null),g(this,'_textBubble',null),g(this,_0x3296da(0x2c9),null),g(this,_0x3296da(0x526),null),g(this,'_eventUnsubscribe',null),(this[_0x3296da(0x553)]=_0xaa5480,this[_0x3296da(0x360)]=_0x29f424,this[_0x3296da(0x3c5)]=_0x30c5c9,this[_0x3296da(0x56b)]=_0x55ae6b,this['_render']());}set['_hover'](_0x352b32){const _0x4e5224=_0x1a7f07;_0x352b32?(this['_anchorDot']&&this[_0x4e5224(0x2c9)]['hide'](),this[_0x4e5224(0x4ea)]&&this[_0x4e5224(0x4ea)][_0x4e5224(0x1ed)]()):(this[_0x4e5224(0x2c9)]&&this[_0x4e5224(0x2c9)]['show'](),this[_0x4e5224(0x4ea)]&&this[_0x4e5224(0x4ea)][_0x4e5224(0x5c7)]());}[_0x1a7f07(0x51b)](){const _0x46c10a=_0x1a7f07;for(const _0x4c4077 of this[_0x46c10a(0x250)])_0x4c4077[_0x46c10a(0x51b)]();this[_0x46c10a(0x4ea)]&&this[_0x46c10a(0x4ea)][_0x46c10a(0x51b)](),this[_0x46c10a(0x2c9)]&&this[_0x46c10a(0x2c9)]['dispose'](),this[_0x46c10a(0x258)]&&this[_0x46c10a(0x258)][_0x46c10a(0x51b)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x1a7f07(0x1d8)](){const _0x10c8e2=_0x1a7f07;var _0x2efcc5;const {_docSkeleton:_0x3d4cf5,_document:_0x5b89fb}=this,{color:_0x10fed3,name:_0x3cfb35,ranges:_0x4c49eb}=this[_0x10c8e2(0x553)],_0x57c5df=_0x5b89fb[_0x10c8e2(0x386)](),{docsLeft:_0x1ce293,docsTop:_0x149f50}=_0x57c5df,_0x1f50d6=new _0x598f61(_0x57c5df,_0x3d4cf5);for(const {startOffset:_0x337659,endOffset:_0x2c7515,rangeType:_0x47847d,segmentId:_0x1d902e,segmentPage:_0x404f1f,collapsed:_0x121df9,isActive:_0x27ff24}of _0x4c49eb){const _0x1e93da=_0x3d4cf5['findNodePositionByCharIndex'](_0x337659,!0x0,_0x1d902e,_0x404f1f);let _0x556913=_0x3d4cf5[_0x10c8e2(0x380)](_0x2c7515,!0x0,_0x1d902e,_0x404f1f);if(_0x556913==null&&(_0x556913=_0x3d4cf5[_0x10c8e2(0x380)](_0x2c7515-0x1,!0x1,_0x1d902e,_0x404f1f)),_0x27ff24){const {contentBoxPointGroup:_0x32b4e1}=_0x1f50d6['getRangePointData'](_0x556913,_0x556913);if(_0x32b4e1['length']===0x0)continue;this[_0x10c8e2(0x1f0)](_0x10fed3,_0x32b4e1,_0x1ce293,_0x149f50,_0x3cfb35),this['_eventUnsubscribe']=this[_0x10c8e2(0x55a)]();}if(!_0x121df9&&_0x1e93da&&_0x556913){if(_0x47847d===_0xe3b3a7[_0x10c8e2(0x29c)]){const _0x2eb004=new _0x17e807(_0x57c5df,_0x3d4cf5),{pointGroup:_0x4779cb}=(_0x2efcc5=_0x2eb004[_0x10c8e2(0x3ef)](_0x1e93da,_0x556913))!=null?_0x2efcc5:{};if(_0x4779cb==null||_0x4779cb['length']===0x0)continue;this[_0x10c8e2(0x2a2)](_0x10fed3,_0x4779cb,_0x1ce293,_0x149f50);}else{const {borderBoxPointGroup:_0x26f549}=_0x1f50d6[_0x10c8e2(0x3ef)](_0x1e93da,_0x556913);if(_0x26f549[_0x10c8e2(0x5bc)]===0x0)continue;this[_0x10c8e2(0x37c)](_0x10fed3,_0x26f549,_0x1ce293,_0x149f50);}}}}[_0x1a7f07(0x1f0)](_0xf8a5a7,_0x366e0b,_0x4c2daf,_0x42c452,_0x2e2adf){const _0x17464b=_0x1a7f07,_0x277367=this[_0x17464b(0x3f3)](_0x366e0b),{left:_0x54fd74,top:_0x4021da,height:_0x3f7bc2}=_0x277367,_0x21ee8a=this[_0x17464b(0x425)](),_0x39503a=Bo/_0x21ee8a,_0x112775=new _0x1a00c0(jt+_0x235991[_0x17464b(0x59c)](Je),{'left':_0x54fd74+_0x4c2daf-_0x39503a,'top':_0x4021da+_0x42c452,'height':_0x3f7bc2,'width':jo,'fill':_0xf8a5a7||_0x4cc8c9(_0x48abe6[_0x17464b(0x4bc)],0x0),'strokeWidth':_0x39503a,'stroke':ko,'evented':!0x0});this[_0x17464b(0x258)]=_0x112775,this[_0x17464b(0x360)]['addObject'](_0x112775,_0x58b8cf);const _0x26deb6=new _0x1a00c0(jt+_0x235991[_0x17464b(0x59c)](Je),{'left':_0x54fd74+_0x4c2daf-_0x39503a,'top':_0x4021da+_0x42c452-Bt/0x2,'height':Bt,'width':Bt,'fill':_0xf8a5a7||_0x4cc8c9(_0x48abe6[_0x17464b(0x4bc)],0x0),'strokeWidth':0x0,'stroke':_0xf8a5a7||_0x4cc8c9(_0x48abe6[_0x17464b(0x4bc)],0x0),'evented':!0x1});this['_anchorDot']=_0x26deb6,this['_scene'][_0x17464b(0x4a5)](_0x26deb6,_0x58b8cf);const _0x3cfa71=new Ot(jt+_0x235991['generateRandomId'](Je),{'left':_0x54fd74+_0x4c2daf-_0x39503a,'top':_0x4021da+_0x42c452-nt,'text':_0x2e2adf,'color':_0xf8a5a7});this['_textBubble']=_0x3cfa71,this['_scene'][_0x17464b(0x4a5)](_0x3cfa71,_0x58b8cf),this[_0x17464b(0x271)]=!0x1;}[_0x1a7f07(0x55a)](){const _0x13b1d4=_0x1a7f07,_0x187020=this[_0x13b1d4(0x258)][_0x13b1d4(0x4c3)]['subscribeEvent'](()=>{const _0x16baf9=_0x13b1d4;this[_0x16baf9(0x271)]=!0x0;}),_0x1d712d=this[_0x13b1d4(0x258)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x2b6755=_0x13b1d4;this[_0x2b6755(0x526)]&&clearTimeout(this['_hideTimer']),this[_0x2b6755(0x526)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x274da7=_0x13b1d4;_0x187020[_0x274da7(0x4ee)](),_0x1d712d[_0x274da7(0x4ee)]();};}[_0x1a7f07(0x37c)](_0x12815a,_0x15c68a,_0x1e1cbc,_0x20683d){const _0x1bd1ea=_0x1a7f07,_0x58191c=new _0x5d5cbb(_0x12815a)[_0x1bd1ea(0x48f)](0.2)[_0x1bd1ea(0x597)](),_0x40543c=new _0x24b371($o+_0x235991['generateRandomId'](Je),{'pointsGroup':_0x15c68a,'fill':_0x58191c||_0x4cc8c9(_0x48abe6['black'],0.2),'left':_0x1e1cbc,'top':_0x20683d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1bd1ea(0x250)][_0x1bd1ea(0x4b6)](_0x40543c),this[_0x1bd1ea(0x360)][_0x1bd1ea(0x4a5)](_0x40543c,_0x58b8cf);}[_0x1a7f07(0x2a2)](_0x1d10f6,_0x3156e5,_0x1defa3,_0x242ab2){const _0x127245=_0x1a7f07,_0x5efb64=new _0x5d5cbb(_0x1d10f6)[_0x127245(0x48f)](0.2)[_0x127245(0x597)](),_0x5b57ef=new _0x24b371(Ho+_0x235991['generateRandomId'](Je),{'pointsGroup':_0x3156e5,'fill':_0x5efb64||_0x4cc8c9(_0x48abe6[_0x127245(0x4bc)],0.2),'left':_0x1defa3,'top':_0x242ab2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x127245(0x4b6)](_0x5b57ef),this[_0x127245(0x360)][_0x127245(0x4a5)](_0x5b57ef,_0x58b8cf);}[_0x1a7f07(0x3f3)](_0x46fe46){const _0x326b31=_0x46fe46[0x0],_0xef8058=_0x326b31[0x0],_0x4f568d=_0x326b31[0x2],{x:_0xb0ce19,y:_0x2f3b07}=_0xef8058,{x:_0x2cf0a8,y:_0x4e8a30}=_0x4f568d;return{'left':_0xb0ce19,'top':_0x2f3b07,'width':_0x2cf0a8-_0xb0ce19,'height':_0x4e8a30-_0x2f3b07};}['_getScale'](){const _0x2abb25=_0x1a7f07,{scaleX:_0x26c818,scaleY:_0x338203}=this['_scene'][_0x2abb25(0x230)]();return Math[_0x2abb25(0x4d1)](_0x26c818,_0x338203);}}var Wo=Object[_0x1a7f07(0x5b3)],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0x4a658a,_0x3a5db5,_0x1c0d31,_0x447eb1)=>{for(var _0x4920f3=_0x447eb1>0x1?void 0x0:_0x447eb1?Fo(_0x3a5db5,_0x1c0d31):_0x3a5db5,_0x3d58d3=_0x4a658a['length']-0x1,_0x2ed7d9;_0x3d58d3>=0x0;_0x3d58d3--)(_0x2ed7d9=_0x4a658a[_0x3d58d3])&&(_0x4920f3=(_0x447eb1?_0x2ed7d9(_0x3a5db5,_0x1c0d31,_0x4920f3):_0x2ed7d9(_0x4920f3))||_0x4920f3);return _0x447eb1&&_0x4920f3&&Wo(_0x3a5db5,_0x1c0d31,_0x4920f3),_0x4920f3;},ht=(_0x3b8b3f,_0x3aef1c)=>(_0x12ffea,_0x5d4da1)=>_0x3aef1c(_0x12ffea,_0x5d4da1,_0x3b8b3f);let os=class extends _0x1cb902{constructor(_0x5f12b5,_0x222f44,_0x12f541,_0x610fd6,_0x34f6b2){const _0x76b356=_0x1a7f07;super(),g(this,_0x76b356(0x565),[]),g(this,_0x76b356(0x47d),[]),(this['_context']=_0x5f12b5,this[_0x76b356(0x26b)]=_0x222f44,this[_0x76b356(0x2df)]=_0x12f541,this['_commandService']=_0x610fd6,this[_0x76b356(0x30c)]=_0x34f6b2,this[_0x76b356(0x426)]());}[_0x1a7f07(0x426)](){const _0x3266b0=_0x1a7f07,_0x11cc7c=this[_0x3266b0(0x4f7)][_0x3266b0(0x3c9)],_0x500079=this[_0x3266b0(0x26b)];this[_0x3266b0(0x4b1)](_0x3b40d1([this['_collabCursorController'][_0x3266b0(0x3be)](_0x11cc7c),this[_0x3266b0(0x30c)][_0x3266b0(0x4a1)]])[_0x3266b0(0x1cf)](_0x4e0bfc(([_0x14ea60,_0x3d9e3a])=>({'skeleton':_0x500079[_0x3266b0(0x40b)](),'cursors':[..._0x14ea60[_0x3266b0(0x4d7)]()]['flatMap'](_0x23debf=>({..._0x23debf,'color':_0x3d9e3a[_0x23debf[_0x3266b0(0x4a3)]]}))})))['subscribe'](_0x4e7fa3=>{const _0x1f10b2=_0x3266b0;if(this['_removeCollabCursors'](),_0x4e7fa3){const {skeleton:_0x47a68e,cursors:_0x2268ab}=_0x4e7fa3;this[_0x1f10b2(0x44c)](_0x47a68e,_0x2268ab);}})),this[_0x3266b0(0x388)](),this[_0x3266b0(0x42b)]();}[_0x1a7f07(0x44c)](_0x1ef460,_0x381437){const _0x4e54c8=_0x1a7f07,{scene:_0xde2d38,mainComponent:_0x2793a3}=this[_0x4e54c8(0x4f7)],_0x52b072=_0x381437['map'](_0x6e4220=>new Ks(_0x6e4220,_0xde2d38,_0x1ef460,_0x2793a3));this[_0x4e54c8(0x565)]=_0x52b072,this[_0x4e54c8(0x47d)]=_0x381437;}['_refreshCollabCursors'](){const _0x17f6fb=_0x1a7f07;this[_0x17f6fb(0x2cf)]();const {scene:_0x5a17fa,mainComponent:_0xa66757}=this['_context'],_0x48c0b4=this[_0x17f6fb(0x26b)][_0x17f6fb(0x40b)](),_0x1b0d07=this[_0x17f6fb(0x47d)][_0x17f6fb(0x466)](_0x47f50c=>new Ks(_0x47f50c,_0x5a17fa,_0x48c0b4,_0xa66757));this['_cursorShapes']=_0x1b0d07;}[_0x1a7f07(0x2cf)](){const _0x4f351a=_0x1a7f07;this[_0x4f351a(0x565)]['forEach'](_0x4ac894=>_0x4ac894[_0x4f351a(0x51b)]()),this[_0x4f351a(0x565)]=[];}[_0x1a7f07(0x42b)](){const _0x53ed8b=_0x1a7f07,_0x5bd88a=[_0x31e998['id']];this[_0x53ed8b(0x4b1)](this[_0x53ed8b(0x4b3)][_0x53ed8b(0x229)](_0x2eb7c5=>{const _0x1adbd9=_0x53ed8b;_0x5bd88a[_0x1adbd9(0x41e)](_0x2eb7c5['id'])&&_0x2eb7c5[_0x1adbd9(0x53f)]['unitId']===this[_0x1adbd9(0x4f7)]['unitId']&&this[_0x1adbd9(0x34c)]();}));}[_0x1a7f07(0x388)](){const _0x35de35=_0x1a7f07;this['disposeWithMe'](_0xda2401(this['_context'][_0x35de35(0x537)][_0x35de35(0x557)])['pipe'](_0x5cdcf5(_0xafd1a5=>_0xafd1a5[_0x35de35(0x23c)]===_0x2b0eae['resize']),_0x11fe20(0x10))[_0x35de35(0x29f)](()=>{const _0x5182d7=_0x35de35;this[_0x5182d7(0x34c)]();}));}};os=Vo([ht(0x1,_0x5cf6ec(_0x2a9a54)),ht(0x2,_0x5cf6ec(Ve)),ht(0x3,_0x322b66),ht(0x4,_0x5cf6ec(_0x104cf8))],os);const Go=0x1,Yo=1.5;class Ko extends _0x1e2684{constructor(_0x14ed1f,_0x45246b){const _0xea9613=_0x1a7f07;super(_0x14ed1f,_0x45246b),g(this,_0xea9613(0x301)),g(this,_0xea9613(0x452),!0x1),g(this,_0xea9613(0x260)),g(this,_0xea9613(0x282),''),g(this,_0xea9613(0x2e8),_0xea9613(0x2ba)),g(this,'_backgroundColor'),(_0x45246b&&this[_0xea9613(0x45d)](_0x45246b),this[_0xea9613(0x4c3)][_0xea9613(0x216)](()=>this[_0xea9613(0x45d)]({'hovered':!0x0})),this[_0xea9613(0x362)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x1a7f07(0x45d)](_0x3e4567){const _0x2f429b=_0x1a7f07;var _0x37c0f5,_0x25b901,_0x367530,_0x1e0031,_0x29e9c9,_0x2f89c4;this[_0x2f429b(0x301)]=(_0x37c0f5=_0x3e4567['color'])!=null?_0x37c0f5:this[_0x2f429b(0x301)],this[_0x2f429b(0x452)]=(_0x25b901=_0x3e4567[_0x2f429b(0x501)])!=null?_0x25b901:this[_0x2f429b(0x452)],this[_0x2f429b(0x260)]=(_0x367530=_0x3e4567[_0x2f429b(0x40a)])!=null?_0x367530:this[_0x2f429b(0x260)],this['_name']=(_0x1e0031=_0x3e4567[_0x2f429b(0x598)])!=null?_0x1e0031:this[_0x2f429b(0x282)],this['_labelPosition']=(_0x29e9c9=_0x3e4567[_0x2f429b(0x4c6)])!=null?_0x29e9c9:this[_0x2f429b(0x2e8)],this[_0x2f429b(0x374)]=(_0x2f89c4=_0x3e4567[_0x2f429b(0x403)])!=null?_0x2f89c4:this[_0x2f429b(0x374)],this['transformByState']({'width':_0x3e4567[_0x2f429b(0x59e)],'height':_0x3e4567['height']});}[_0x1a7f07(0x562)](_0x19af83){const _0x3f19d5=_0x1a7f07,{row:_0x35a603,column:_0x6fa539}=_0x19af83;if(_0x35a603>=this[_0x3f19d5(0x260)]['startRow']&&_0x35a603<=this[_0x3f19d5(0x260)][_0x3f19d5(0x332)]&&_0x6fa539>=this[_0x3f19d5(0x260)][_0x3f19d5(0x54a)]&&_0x6fa539<=this[_0x3f19d5(0x260)][_0x3f19d5(0x207)]){this[_0x3f19d5(0x45d)]({'hovered':!0x0});return;}this[_0x3f19d5(0x45d)]({'hovered':!0x1});}[_0x1a7f07(0x52d)](_0x4606c7){return!0x1;}[_0x1a7f07(0x3d4)](_0xf9befc){const _0x44f1de=_0x1a7f07;_0x1a00c0[_0x44f1de(0x208)](_0xf9befc,{'width':this[_0x44f1de(0x59e)],'height':this[_0x44f1de(0x4aa)],'strokeWidth':Yo,'stroke':this[_0x44f1de(0x301)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x44f1de(0x452)]&&(_0xf9befc[_0x44f1de(0x202)](),_0xf9befc[_0x44f1de(0x431)](0x1,0x0,0x0,0x1,this[_0x44f1de(0x59e)],this[_0x44f1de(0x2e8)]===_0x44f1de(0x1f5)?0x0:-nt),Ot[_0x44f1de(0x208)](_0xf9befc,{'text':this[_0x44f1de(0x282)],'color':this[_0x44f1de(0x301)]}),_0xf9befc['restore']());}}var zo=Object[_0x1a7f07(0x5b3)],qo=Object[_0x1a7f07(0x298)],Xo=(_0x3de086,_0xff31c9,_0x1e6314,_0x48fb5f)=>{const _0xbad462=_0x1a7f07;for(var _0x22b2d3=_0x48fb5f>0x1?void 0x0:_0x48fb5f?qo(_0xff31c9,_0x1e6314):_0xff31c9,_0x4d6285=_0x3de086[_0xbad462(0x5bc)]-0x1,_0x2efa6b;_0x4d6285>=0x0;_0x4d6285--)(_0x2efa6b=_0x3de086[_0x4d6285])&&(_0x22b2d3=(_0x48fb5f?_0x2efa6b(_0xff31c9,_0x1e6314,_0x22b2d3):_0x2efa6b(_0x22b2d3))||_0x22b2d3);return _0x48fb5f&&_0x22b2d3&&zo(_0xff31c9,_0x1e6314,_0x22b2d3),_0x22b2d3;},kt=(_0x18f318,_0x2f5252)=>(_0x507a09,_0x1c9444)=>_0x2f5252(_0x507a09,_0x1c9444,_0x18f318);const Jo=0x1389;let as=class extends _0x1cb902{constructor(_0x28f7be,_0x1e4fce,_0xf4fb03,_0x582a9a){const _0x32f1b9=_0x1a7f07;super(),g(this,_0x32f1b9(0x47d),new Set()),g(this,_0x32f1b9(0x474),null),(this[_0x32f1b9(0x4f7)]=_0x28f7be,this[_0x32f1b9(0x402)]=_0x1e4fce,this[_0x32f1b9(0x2df)]=_0xf4fb03,this['_themeService']=_0x582a9a,this[_0x32f1b9(0x426)]());}['_init'](){const _0xc200d9=_0x1a7f07;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xc200d9(0x1cf)](_0x2d8749(this['dispose$']),_0x288cb3(_0x4550d9=>{const _0x2c2517=_0xc200d9;if(_0x4550d9){const _0x169df3=_0x4550d9[_0x2c2517(0x21c)];return _0x3b40d1(this[_0x2c2517(0x2df)][_0x2c2517(0x3be)](this['_context'][_0x2c2517(0x3c9)]),this['_themeService'][_0x2c2517(0x4a1)])[_0x2c2517(0x1cf)](_0x4e0bfc(([_0x33c5b7,_0x1d192c])=>{const _0x23e9a8=_0x2c2517,_0x1da359=new Map();return _0x33c5b7[_0x23e9a8(0x547)]((_0x12f8fe,_0x2837dc)=>{const _0xbefdc6=_0x23e9a8;if(_0x12f8fe[_0xbefdc6(0x2e0)]===_0x169df3){const _0x43c40a={..._0x12f8fe};_0x43c40a[_0xbefdc6(0x4a3)]=_0x1d192c[_0x12f8fe['color']],_0x1da359[_0xbefdc6(0x3f4)](_0x2837dc,_0x43c40a);}}),{'skeleton':_0x4550d9,'cursors':_0x1da359};}));}return _0x37aace({'skeleton':null,'cursors':new Map()});}))[_0xc200d9(0x29f)](({skeleton:_0x21850e,cursors:_0x5eaf6c})=>{const _0x30a36f=_0xc200d9;this[_0x30a36f(0x2cf)](),_0x21850e&&this['_updateCollabCursors'](_0x21850e,_0x5eaf6c);}),this[_0xc200d9(0x402)][_0xc200d9(0x4eb)][_0xc200d9(0x29f)](_0x41497b=>{const _0x2cc970=_0xc200d9;if(_0x41497b==null)return;const {skeleton:_0x237e74}=_0x41497b,{scene:_0xa67482}=this['_context'];_0xa67482[_0x2cc970(0x5b1)][_0x2cc970(0x216)](_0x433f68(_0x3d8b4e=>{const _0x5f5c34=_0x2cc970;var _0x57384d,_0x4c9faf;const {offsetX:_0xe29a9f,offsetY:_0x4e135c}=_0x3d8b4e,{x:_0x5a139d,y:_0x2bcd0d}=_0xa67482[_0x5f5c34(0x58b)](_0x5cd961['FromArray']([_0xe29a9f,_0x4e135c])),{scaleX:_0x185921,scaleY:_0x18560e}=_0xa67482['getAncestorScale'](),_0x4365a4=_0xa67482[_0x5f5c34(0x2b2)](_0x45cb2d[_0x5f5c34(0x2ee)]),_0x5c570d=_0xa67482[_0x5f5c34(0x584)](_0x5cd961['FromArray']([_0x5a139d,_0x2bcd0d]),_0x4365a4),_0x7a1efc=_0x237e74[_0x5f5c34(0x3da)](_0xe29a9f,_0x4e135c,_0x185921,_0x18560e,_0x5c570d);((_0x57384d=this['_lastPointer'])==null?void 0x0:_0x57384d['column'])===_0x7a1efc[_0x5f5c34(0x235)]&&((_0x4c9faf=this[_0x5f5c34(0x474)])==null?void 0x0:_0x4c9faf[_0x5f5c34(0x51c)])===_0x7a1efc[_0x5f5c34(0x51c)]||this[_0x5f5c34(0x47d)][_0x5f5c34(0x547)](_0x470b5e=>{const _0x8de69=_0x5f5c34;_0x470b5e[_0x8de69(0x562)](_0x7a1efc);});},0x64));});}[_0x1a7f07(0x44c)](_0x30443e,_0x4ed80c){const _0xeb8c67=_0x1a7f07;var _0x3a2bb8;const _0x30e069=(_0x3a2bb8=this[_0xeb8c67(0x402)][_0xeb8c67(0x1eb)]())==null?void 0x0:_0x3a2bb8[_0xeb8c67(0x1cb)];if(!_0x30e069)return;const _0x102163=this[_0xeb8c67(0x35f)]();if(!_0x102163)return;this[_0xeb8c67(0x47d)][_0xeb8c67(0x547)](_0x42c73f=>{const _0x35a5a5=_0xeb8c67;_0x42c73f[_0x35a5a5(0x4a8)]();});const {scene:_0x225c9a}=_0x102163,_0x58521d=Zo(Array['from'](_0x4ed80c[_0xeb8c67(0x4d7)]()))['map'](_0x3d19ec=>{const _0x3fa4a3=_0xeb8c67,{color:_0x56e49c,range:_0x2a3e2a,name:_0x52c81b,selection:_0x3c9cd0,sheetID:_0x6f76e4}=_0x3d19ec,{startColumn:_0x9902b0,startRow:_0x3f31e3,endColumn:_0x5c694b,endRow:_0x195600}=_0x2a3e2a,_0x2e7ab1=_0x3aa7ff(_0x3f31e3,_0x9902b0,_0x225c9a,_0x30e069),_0x147bd4=_0x3aa7ff(_0x195600,_0x5c694b,_0x225c9a,_0x30e069),{columnHeaderHeightAndMarginTop:_0x2c0ed6}=_0x30e069,{startX:_0x4dbb20,startY:_0x908782}=_0x2e7ab1,{endX:_0x262aae,endY:_0x4b6f99}=_0x147bd4,_0x524d6e=_0x262aae-_0x4dbb20,_0x379d24=_0x4b6f99-_0x908782,_0x508ffc={'labelPosition':_0x908782-_0x2c0ed6>=nt?_0x3fa4a3(0x2ba):_0x3fa4a3(0x1f5),'sheetID':_0x6f76e4,'range':_0x2a3e2a,'color':_0x56e49c,'name':_0x52c81b,'selection':_0x3c9cd0,'left':_0x4dbb20,'top':_0x908782,'width':_0x524d6e,'height':_0x379d24,'evented':!0x1,'zIndex':Jo};return new Ko(_0x52c81b,_0x508ffc);});_0x225c9a['addObjects'](_0x58521d,Go),this[_0xeb8c67(0x47d)]=new Set(_0x58521d);}[_0x1a7f07(0x2cf)](){const _0x51d5cc=_0x1a7f07;var _0x26e731;(_0x26e731=this[_0x51d5cc(0x47d)])==null||_0x26e731[_0x51d5cc(0x547)](_0x89ff1d=>_0x89ff1d['dispose']());}[_0x1a7f07(0x35f)](){const _0x9ecd40=_0x1a7f07;return _0x136415(this[_0x9ecd40(0x4f7)]['unit'],this['_context']);}};as=Xo([kt(0x1,_0x5cf6ec(_0x419472)),kt(0x2,_0x5cf6ec(Ve)),kt(0x3,_0x5cf6ec(_0x104cf8))],as);function Zo(_0x4f49a1){const _0x597a34=_0x1a7f07,_0x4ca327=new Map();return _0x4f49a1[_0x597a34(0x547)](_0x3df803=>{const _0x1e3093=_0x597a34;if(_0x4ca327[_0x1e3093(0x581)](_0x3df803['selection'])){const _0x2f835f=_0x4ca327['get'](_0x3df803[_0x1e3093(0x4b8)]);_0x2f835f[_0x1e3093(0x598)]+=',\x20'+_0x3df803[_0x1e3093(0x598)];}else _0x4ca327['set'](_0x3df803[_0x1e3093(0x4b8)],_0x3df803);}),Array['from'](_0x4ca327['values']());}var ee=function(){const _0x599f6d=_0x1a7f07;return ee=Object[_0x599f6d(0x423)]||function(_0x21103e){const _0x546a35=_0x599f6d;for(var _0x57d981,_0x179b3d=0x1,_0x537ade=arguments[_0x546a35(0x5bc)];_0x179b3d<_0x537ade;_0x179b3d++){_0x57d981=arguments[_0x179b3d];for(var _0x2b2c81 in _0x57d981)Object['prototype'][_0x546a35(0x454)][_0x546a35(0x4bb)](_0x57d981,_0x2b2c81)&&(_0x21103e[_0x2b2c81]=_0x57d981[_0x2b2c81]);}return _0x21103e;},ee[_0x599f6d(0x49a)](this,arguments);},Qo=function(_0x329cdb,_0xc58b13){const _0x338fac=_0x1a7f07;var _0x27b306={};for(var _0x592196 in _0x329cdb)Object[_0x338fac(0x414)]['hasOwnProperty']['call'](_0x329cdb,_0x592196)&&_0xc58b13[_0x338fac(0x244)](_0x592196)<0x0&&(_0x27b306[_0x592196]=_0x329cdb[_0x592196]);if(_0x329cdb!=null&&typeof Object[_0x338fac(0x4cd)]==_0x338fac(0x494)){for(var _0x932c3b=0x0,_0x592196=Object[_0x338fac(0x4cd)](_0x329cdb);_0x932c3b<_0x592196['length'];_0x932c3b++)_0xc58b13[_0x338fac(0x244)](_0x592196[_0x932c3b])<0x0&&Object[_0x338fac(0x414)][_0x338fac(0x4fe)][_0x338fac(0x4bb)](_0x329cdb,_0x592196[_0x932c3b])&&(_0x27b306[_0x592196[_0x932c3b]]=_0x329cdb[_0x592196[_0x932c3b]]);}return _0x27b306;},Ts=_0x1e7b82(function(_0x281840,_0x2cdf1b){const _0x335b5e=_0x1a7f07;var _0x523872=_0x281840[_0x335b5e(0x2ea)],_0x43fedd=_0x281840['id'],_0xd3e7e3=_0x281840[_0x335b5e(0x502)],_0x36d7c8=_0x281840['extend'],_0x5c6f2c=Qo(_0x281840,[_0x335b5e(0x2ea),'id',_0x335b5e(0x502),_0x335b5e(0x38a)]),_0x32919c=_0x335b5e(0x2af)[_0x335b5e(0x451)](_0x43fedd,'\x20')[_0x335b5e(0x451)](_0xd3e7e3||'')[_0x335b5e(0x1bd)](),_0x228ef1=_0x1edd60('_'[_0x335b5e(0x451)](sa()));return Mi(_0x523872,''['concat'](_0x43fedd),{'defIds':_0x523872[_0x335b5e(0x550)],'idSuffix':_0x228ef1['current']},ee({'ref':_0x2cdf1b,'className':_0x32919c},_0x5c6f2c),_0x36d7c8);});function Mi(_0x568971,_0x22a25d,_0x193ec5,_0x447612,_0x107acb){const _0x59eceb=_0x1a7f07;return _0x27ae54(_0x568971[_0x59eceb(0x468)],ee(ee({'key':_0x22a25d},ea(_0x568971,_0x193ec5,_0x107acb)),_0x447612),(ta(_0x568971,_0x193ec5)[_0x59eceb(0x2ff)]||[])[_0x59eceb(0x466)](function(_0x37995b,_0x267c0c){const _0x5452ac=_0x59eceb;return Mi(_0x37995b,''['concat'](_0x22a25d,'-')[_0x5452ac(0x451)](_0x568971['tag'],'-')[_0x5452ac(0x451)](_0x267c0c),_0x193ec5,void 0x0,_0x107acb);}));}function ea(_0x58d74c,_0x2095d2,_0x426ae1){const _0x15c38e=_0x1a7f07;var _0x52d753=ee({},_0x58d74c[_0x15c38e(0x295)]);_0x426ae1!=null&&_0x426ae1[_0x15c38e(0x37e)]&&_0x52d753['fill']===_0x15c38e(0x37e)&&(_0x52d753['fill']=_0x426ae1[_0x15c38e(0x37e)]);var _0x4846a7=_0x2095d2[_0x15c38e(0x550)];return!_0x4846a7||_0x4846a7[_0x15c38e(0x5bc)]===0x0||(_0x58d74c['tag']==='use'&&_0x52d753['xlink:href']&&(_0x52d753['xlink:href']=_0x52d753['xlink:href']+_0x2095d2[_0x15c38e(0x25d)]),Object[_0x15c38e(0x555)](_0x52d753)[_0x15c38e(0x547)](function(_0x32922e){const _0x282509=_0x15c38e;var _0x41d69e=_0x32922e[0x0],_0x5131c9=_0x32922e[0x1];typeof _0x5131c9==_0x282509(0x3b1)&&(_0x52d753[_0x41d69e]=_0x5131c9[_0x282509(0x5ab)](/url\(#(.*)\)/,_0x282509(0x393)[_0x282509(0x451)](_0x2095d2[_0x282509(0x25d)],')')));})),_0x52d753;}function ta(_0x200e71,_0x4bdf02){const _0x31dda2=_0x1a7f07;var _0x4c14ad,_0x36a232=_0x4bdf02[_0x31dda2(0x550)];return!_0x36a232||_0x36a232['length']===0x0?_0x200e71:_0x200e71[_0x31dda2(0x468)]===_0x31dda2(0x57f)&&(!((_0x4c14ad=_0x200e71['children'])===null||_0x4c14ad===void 0x0)&&_0x4c14ad[_0x31dda2(0x5bc)])?ee(ee({},_0x200e71),{'children':_0x200e71[_0x31dda2(0x2ff)][_0x31dda2(0x466)](function(_0x3b5beb){const _0x3b5832=_0x31dda2;return typeof _0x3b5beb[_0x3b5832(0x295)]['id']=='string'&&_0x36a232&&_0x36a232[_0x3b5832(0x244)](_0x3b5beb[_0x3b5832(0x295)]['id'])>-0x1?ee(ee({},_0x3b5beb),{'attrs':ee(ee({},_0x3b5beb[_0x3b5832(0x295)]),{'id':_0x3b5beb[_0x3b5832(0x295)]['id']+_0x4bdf02[_0x3b5832(0x25d)]})}):_0x3b5beb;})}):_0x200e71;}function sa(){const _0x395f6f=_0x1a7f07;return Math[_0x395f6f(0x463)]()[_0x395f6f(0x297)](0x24)[_0x395f6f(0x2b9)](0x2,0x8);}Ts['displayName']=_0x1a7f07(0x259);var ia={'tag':'svg','attrs':{'fill':_0x1a7f07(0x35e),'viewBox':_0x1a7f07(0x4de),'width':_0x1a7f07(0x453),'height':_0x1a7f07(0x453)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x1a7f07(0x43d),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1a7f07(0x57f),'attrs':{},'children':[{'tag':_0x1a7f07(0x3ba),'attrs':{'id':_0x1a7f07(0x3cc)},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'fill':_0x1a7f07(0x2da),'d':_0x1a7f07(0x26c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},xi=_0x1e7b82(function(_0x51ed87,_0x42888f){const _0x1feb20=_0x1a7f07;return _0x27ae54(Ts,Object[_0x1feb20(0x423)]({},_0x51ed87,{'id':'off-line-single','ref':_0x42888f,'icon':ia}));});xi[_0x1a7f07(0x48c)]='OffLineSingle';var na={'tag':_0x1a7f07(0x3f1),'attrs':{'fill':_0x1a7f07(0x35e),'viewBox':_0x1a7f07(0x41c),'width':_0x1a7f07(0x453),'height':_0x1a7f07(0x453)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a7f07(0x57d)},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'stroke':_0x1a7f07(0x532),'d':_0x1a7f07(0x3fe),'strokeLinecap':'round','strokeLinejoin':_0x1a7f07(0x43d),'strokeWidth':1.2}}]},{'tag':_0x1a7f07(0x57f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1a7f07(0x269)},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'fill':_0x1a7f07(0x2da),'d':_0x1a7f07(0x26c),'transform':_0x1a7f07(0x5a7)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=_0x1e7b82(function(_0x16fc5b,_0xcb9882){const _0x8d7d36=_0x1a7f07;return _0x27ae54(Ts,Object[_0x8d7d36(0x423)]({},_0x16fc5b,{'id':_0x8d7d36(0x400),'ref':_0xcb9882,'icon':na}));});Li[_0x1a7f07(0x48c)]=_0x1a7f07(0x589);function $i(_0x2069a2){const _0x2cae09=_0x1a7f07;var _0x149996,_0x200dfb,_0x4cdf90='';if(typeof _0x2069a2=='string'||typeof _0x2069a2==_0x2cae09(0x4d2))_0x4cdf90+=_0x2069a2;else{if(typeof _0x2069a2==_0x2cae09(0x46a)){if(Array[_0x2cae09(0x344)](_0x2069a2)){var _0x1795fa=_0x2069a2[_0x2cae09(0x5bc)];for(_0x149996=0x0;_0x149996<_0x1795fa;_0x149996++)_0x2069a2[_0x149996]&&(_0x200dfb=$i(_0x2069a2[_0x149996]))&&(_0x4cdf90&&(_0x4cdf90+='\x20'),_0x4cdf90+=_0x200dfb);}else{for(_0x200dfb in _0x2069a2)_0x2069a2[_0x200dfb]&&(_0x4cdf90&&(_0x4cdf90+='\x20'),_0x4cdf90+=_0x200dfb);}}}return _0x4cdf90;}function ra(){const _0x3b43ea=_0x1a7f07;for(var _0x864686,_0x4c0e9b,_0x565e4f=0x0,_0x852fbd='',_0x511d7e=arguments[_0x3b43ea(0x5bc)];_0x565e4f<_0x511d7e;_0x565e4f++)(_0x864686=arguments[_0x565e4f])&&(_0x4c0e9b=$i(_0x864686))&&(_0x852fbd&&(_0x852fbd+='\x20'),_0x852fbd+=_0x4c0e9b);return _0x852fbd;}const oa='univer-online-status-icon',aa='univer-online-status-title',ca=_0x1a7f07(0x1f4),ha=_0x1a7f07(0x34b),la=_0x1a7f07(0x23a),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x12065a){const _0x3f0550=_0x1a7f07;switch(_0x12065a){case J[_0x3f0550(0x31d)]:return _0x3f0550(0x512);case J[_0x3f0550(0x5ac)]:return'collabStatus.conflict';case J['FETCH_MISS']:return _0x3f0550(0x42f);case J[_0x3f0550(0x575)]:return _0x3f0550(0x593);case J[_0x3f0550(0x23d)]:case J[_0x3f0550(0x2c5)]:return _0x3f0550(0x58d);case J[_0x3f0550(0x4f9)]:case J[_0x3f0550(0x1ca)]:return _0x3f0550(0x573);}}function ua(_0x2c79ed){const _0x51899a=_0x1a7f07,{status$:_0x56b618}=_0x2c79ed,_0x1d7a83=_0x5841b1(_0x56b618,J[_0x51899a(0x575)]),_0x1fcf65=_0x3e43a5(_0x51f47a),_0x1cf081=_0x3e43a5(Ae),_0x10e56f=_0x1d7a83!==J[_0x51899a(0x31d)],_0x3c3c22=_0x1fcf65['t'](_a(_0x1d7a83)),_0x4bd7e8=ra(Ze[_0x51899a(0x592)],{[Ze[_0x51899a(0x294)]]:_0x10e56f,[Ze[_0x51899a(0x3b0)]]:!_0x10e56f}),_0x19e242=_0x10e56f?_0x2b1679[_0x51899a(0x3d1)](Li,null):_0x2b1679['createElement'](xi,null),_0x5eb979=_0xfaf194(()=>{const _0x4729b1=_0x51899a;_0x10e56f||_0x1cf081[_0x4729b1(0x32a)]();},[_0x10e56f,_0x1cf081]);function _0x4fcf36(){const _0x5af703=_0x51899a;return _0x2b1679['createElement']('div',{'className':_0x4bd7e8,'onClick':_0x5eb979},_0x2b1679['createElement'](_0x5af703(0x227),{'className':Ze[_0x5af703(0x342)]},_0x19e242),_0x2b1679[_0x5af703(0x3d1)]('div',{'className':Ze[_0x5af703(0x429)]},_0x3c3c22));}return _0x10e56f?_0x4fcf36():_0x2b1679[_0x51899a(0x3d1)](_0x52d371,{'title':_0x1fcf65['t'](_0x51899a(0x292))},_0x4fcf36());}var da=Object['defineProperty'],fa=Object[_0x1a7f07(0x298)],va=(_0x101a5d,_0x599fca,_0x5c9e2d,_0x1ce796)=>{const _0x310068=_0x1a7f07;for(var _0xefba73=_0x1ce796>0x1?void 0x0:_0x1ce796?fa(_0x599fca,_0x5c9e2d):_0x599fca,_0xd70f04=_0x101a5d[_0x310068(0x5bc)]-0x1,_0x336f8a;_0xd70f04>=0x0;_0xd70f04--)(_0x336f8a=_0x101a5d[_0xd70f04])&&(_0xefba73=(_0x1ce796?_0x336f8a(_0x599fca,_0x5c9e2d,_0xefba73):_0x336f8a(_0xefba73))||_0xefba73);return _0x1ce796&&_0xefba73&&da(_0x599fca,_0x5c9e2d,_0xefba73),_0xefba73;},lt=(_0x36e219,_0xa97d06)=>(_0x5639c4,_0x33fe44)=>_0xa97d06(_0x5639c4,_0x33fe44,_0x36e219);let It=class extends _0x3b3e75{constructor(_0x183d41,_0x2beb58,_0x2b6f3a,_0x3a29a9){const _0x29c9c5=_0x1a7f07;super(),g(this,'_status$',new _0x2c5f3e(J[_0x29c9c5(0x575)])),(this[_0x29c9c5(0x44e)]=_0x183d41,this[_0x29c9c5(0x489)]=_0x2beb58,this[_0x29c9c5(0x4d5)]=_0x2b6f3a,this[_0x29c9c5(0x424)]=_0x3a29a9,this[_0x29c9c5(0x341)](),this[_0x29c9c5(0x2b8)]());}[_0x1a7f07(0x2b8)](){const _0x35f688=_0x1a7f07;this[_0x35f688(0x4b1)](this['_univerInstanceService'][_0x35f688(0x1f3)][_0x35f688(0x1cf)](_0x1eab13(()=>{const _0x2dfacf=_0x35f688,_0x23a880=this[_0x2dfacf(0x44e)][_0x2dfacf(0x3db)]();return _0x23a880?this[_0x2dfacf(0x424)][_0x2dfacf(0x46c)](_0x23a880[_0x2dfacf(0x5c1)]()):_0x37aace(null);}),_0x1eab13(_0x1934f2=>_0x1934f2?_0x1934f2[_0x35f688(0x1c5)]:_0x37aace(J[_0x35f688(0x575)])))['subscribe'](_0x609dd1=>{const _0x2a306b=_0x35f688;this[_0x2a306b(0x1fd)][_0x2a306b(0x265)](_0x609dd1);}));}[_0x1a7f07(0x341)](){const _0xe2e203=_0x1a7f07;this[_0xe2e203(0x4b1)](this[_0xe2e203(0x489)][_0xe2e203(0x270)](_0x57e1bb['HEADER_MENU'],()=>_0x2bfd16(ma({'status$':this[_0xe2e203(0x1fd)]['asObservable']()}),this[_0xe2e203(0x4d5)])));}};It=va([lt(0x0,_0x1726a1),lt(0x1,_0x1efadf),lt(0x2,_0x5cf6ec(_0xc0c089)),lt(0x3,_0x5cf6ec(it))],It);function ma(_0x2013de){const {status$:_0x395cd7}=_0x2013de;return function(){return _0x2b1679['createElement'](ua,{'status$':_0x395cd7});};}const Hi=_0x2707b7(_0x1a7f07(0x25b));var pa=Object[_0x1a7f07(0x5b3)],ga=Object[_0x1a7f07(0x298)],Sa=(_0x336f81,_0x49b7be,_0x462da7,_0x41384b)=>{const _0x56703b=_0x1a7f07;for(var _0x2be3a7=_0x41384b>0x1?void 0x0:_0x41384b?ga(_0x49b7be,_0x462da7):_0x49b7be,_0x3e0105=_0x336f81[_0x56703b(0x5bc)]-0x1,_0x572ea5;_0x3e0105>=0x0;_0x3e0105--)(_0x572ea5=_0x336f81[_0x3e0105])&&(_0x2be3a7=(_0x41384b?_0x572ea5(_0x49b7be,_0x462da7,_0x2be3a7):_0x572ea5(_0x2be3a7))||_0x2be3a7);return _0x41384b&&_0x2be3a7&&pa(_0x49b7be,_0x462da7,_0x2be3a7),_0x2be3a7;},ke=(_0x580f16,_0x387c05)=>(_0x5bc42b,_0x1d1abc)=>_0x387c05(_0x5bc42b,_0x1d1abc,_0x580f16);let Ct=class extends _0x1cb902{constructor(_0x46e658,_0x23bdc4,_0x1b6934,_0x27d487,_0x236644,_0x71c363){const _0xe4ff8c=_0x1a7f07;super(),this[_0xe4ff8c(0x591)]=_0x46e658,this[_0xe4ff8c(0x345)]=_0x23bdc4,this[_0xe4ff8c(0x4b3)]=_0x1b6934,this[_0xe4ff8c(0x493)]=_0x27d487,this[_0xe4ff8c(0x248)]=_0x236644,_0x71c363?_0x71c363==null||_0x71c363[_0xe4ff8c(0x39b)]()[_0xe4ff8c(0x44f)](()=>this[_0xe4ff8c(0x426)]()):(this['_logService'][_0xe4ff8c(0x4b5)](_0xe4ff8c(0x541),_0xe4ff8c(0x3b9)),this[_0xe4ff8c(0x426)]());}async[_0x1a7f07(0x426)](){const _0x2f4d02=_0x1a7f07,_0x550dcc=this[_0x2f4d02(0x591)]['getParam'](_0x2f4d02(0x497)),_0x180f5c=this[_0x2f4d02(0x591)][_0x2f4d02(0x23e)]('type');if(!_0x550dcc||!_0x180f5c){this[_0x2f4d02(0x345)][_0x2f4d02(0x4b5)](_0x2f4d02(0x541),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x180f5c)){case ce[_0x2f4d02(0x3a2)]:{const _0x29efaf=await this[_0x2f4d02(0x558)](_0x550dcc);this[_0x2f4d02(0x324)](_0x29efaf);break;}case ce[_0x2f4d02(0x51a)]:{await this[_0x2f4d02(0x321)](_0x550dcc);break;}default:{this[_0x2f4d02(0x345)][_0x2f4d02(0x3eb)](_0x2f4d02(0x541),_0x2f4d02(0x375));break;}}}async[_0x1a7f07(0x324)](_0x574fa2){const _0x33a389=_0x1a7f07;await this['_updateSubUnitFromURLParams'](_0x574fa2),_0x574fa2['activeSheet$'][_0x33a389(0x1cf)](_0x171184(this[_0x33a389(0x22c)]))['subscribe'](_0x490669=>{const _0x431230=_0x33a389;_0x490669&&this[_0x431230(0x302)](_0x490669);}),this[_0x33a389(0x591)][_0x33a389(0x5c9)][_0x33a389(0x1cf)](_0x171184(this[_0x33a389(0x22c)]))[_0x33a389(0x29f)](()=>this[_0x33a389(0x236)](_0x574fa2));}['_updateURLWithCurrentState'](_0x3ac7e2,_0x2ad21f=!0x1){const _0x50f6ba=_0x1a7f07,_0x2b1ef6=this[_0x50f6ba(0x591)][_0x50f6ba(0x23e)](_0x50f6ba(0x2b7));_0x3ac7e2[_0x50f6ba(0x554)]()!==_0x2b1ef6&&this[_0x50f6ba(0x591)][_0x50f6ba(0x5a5)](_0x50f6ba(0x2b7),_0x3ac7e2[_0x50f6ba(0x554)](),_0x2ad21f);}async[_0x1a7f07(0x236)](_0x3b73d9){const _0x311f43=_0x1a7f07;var _0x40d930;const _0x31a989=this['_urlService'][_0x311f43(0x23e)](_0x311f43(0x2b7));if(!_0x31a989||!_0x3b73d9[_0x311f43(0x5bd)](_0x31a989)){const _0x23685f=_0x3b73d9['getUnhiddenWorksheets']()[0x0],_0x287445=_0x3b73d9[_0x311f43(0x5bd)](_0x23685f);if(!_0x287445)return;this[_0x311f43(0x302)](_0x287445,!0x0),await this[_0x311f43(0x4b3)]['executeCommand'](_0x13b74d['id'],{'unitId':_0x3b73d9[_0x311f43(0x5c1)](),'subUnitId':_0x23685f});return;}((_0x40d930=_0x3b73d9[_0x311f43(0x234)]())==null?void 0x0:_0x40d930['getSheetId']())!==_0x31a989&&await this[_0x311f43(0x4b3)][_0x311f43(0x26f)](_0x13b74d['id'],{'unitId':_0x3b73d9[_0x311f43(0x5c1)](),'subUnitId':_0x31a989});}async[_0x1a7f07(0x558)](_0xb2774e){const _0x2ce54a=_0x1a7f07;let _0x1a01ab=0x0;const _0x32c53f=await this['_localCacheService'][_0x2ce54a(0x394)](_0xb2774e);return _0x32c53f&&(_0x32c53f[_0x2ce54a(0x531)]||_0x32c53f[_0x2ce54a(0x2bb)]['length']!==0x0)&&(_0x1a01ab=_0x32c53f['rev']),_0x1a01ab===0x0&&this['_logService'][_0x2ce54a(0x4b5)](_0x2ce54a(0x541),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2ce54a(0x248)]['loadSheet'](_0xb2774e,_0x1a01ab);}async[_0x1a7f07(0x321)](_0x52089d){const _0x4d3885=_0x1a7f07;let _0x15679e=0x0;const _0x1dceb5=await this[_0x4d3885(0x493)][_0x4d3885(0x394)](_0x52089d);return _0x1dceb5&&(_0x1dceb5['awaitingChangeset']||_0x1dceb5['mutations']['length']!==0x0)&&(_0x15679e=_0x1dceb5[_0x4d3885(0x433)]),_0x15679e===0x0&&this[_0x4d3885(0x345)][_0x4d3885(0x4b5)](_0x4d3885(0x541),_0x4d3885(0x4a6)),this['_snapshotService'][_0x4d3885(0x2ab)](_0x52089d,_0x15679e);}};function _0x5961(){const _0x57d4fe=['getOwnPropertySymbols','hidden','refreshPermission','getUnit','max','number','_listenToOnlineEvent','_getSnapshotAPIPrefix','_injector','unitId\x20is\x20not\x20found','values','target','_onConnectionFailed','_transformRemoteChangesetByIMECache','pending','append','startsWith','0\x200\x2016\x2016','_mode','_parse','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','words','BlockCipher','_changesetSessionId','_sendHeartbeat','_keyPriorReset','CHANGESET_REJ','fromCollab','updatePermissionObjEvent','_textBubble','currentSkeleton$','_socketService','close','unsubscribe','disableLocalCache','_registerDependencies','UNIVER_UNKNOWN','image/bmp','_sendHeartbeatTimer','COMMENT_UPDATE','Univer','_clearUndo','_context','_notificationService','SYNCED','pauseCollaboration','/resources','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/object/','propertyIsEnumerable','roomMembers$','_docSyncEditingCollabCursorService','hovered','className','_tryReconnect','_retryConnectingTimer','DEFAULT_FILE_NAME','transformIMECache','onStateChange','[OfflineState]:\x20received\x20rejection.','measureText','_scheduleCollaborationTimeoutTimer','setCurrentUser','DeleteRangeMoveLeftCommandId','_createInitialState','image/jpeg','FETCH_MISS','_roomMembers$','appendMutation','collabStatus.offline','getUnitStatus$','close$','slice','sendChangesetTimeout','Pkcs7','retryConnectingInterval','ranges','UNIVER_DOC','dispose','row','location','_initEventListeners','_unitID','_key','UnitSnapshot','fill','find','Hasher','lib','_hideTimer','LOGIN_URL_KEY','verdancy600','_sendingTimer','registerHTTPInterceptor','msCrypto','stringify','triggerDblclick','state$','/fetchmissing?from=','removeMember','awaitingChangeset','currentColor','_nDataBytes','unload','_retryCount','_submitChangeset','engine','_handleEvent','_sessions','socket$','textRanges','userID','c2Prime','restore','params','fetch_missing','[DataLoaderController]','UNAUTHENTICATED','_handler','_http','_scheduleClearOtherTimer','failed\x20to\x20apply\x20missed\x20changesets!','forEach','SNAPSHOT_INVALID_SNAPSHOT','onSendChangeset','startColumn','evenodd','USERS_LEAVE','conflict','_awaitingChangeset','localeService','defIds','objects','LICENSE_DISTRO_REJECTED','_cursor','getSheetId','entries','transformStack\x20failed!','onTransformChange$','_loadSheet','_collaborationPaused','_handleHover','5407824zmcyoo','[CollaborationState]:\x20apply\x20error!','equals','charCodeAt','_onRemoteRejected','SerializableCipher','_colorIndex','onMouseMove','json','_transformRemoteChangesetByStateCache','_cursorShapes','SHA1','setWaitCount','compute','_transformUndoredo','NOT_FOUND','_document','HMAC','_lockTransition','[FetchMissState]','updateOfflineData','method','_getCurrentRevision','Utf8','collabStatus.synced','_heartbeatTimer','NOT_COLLAB','UPDATE_PERMISSION_OBJ','reqId','collaboration-client.offline-data-not-saved','transformChangesets','reject','getMemberID','AUTHZ_URL_KEY','url(#on-line-single_clip0_910_349)','NoPadding','defs','enableAuthServer','has','_getDownloadEndpointURL','assignAColorForMemberID','getVpScrollXYInfoByPosToVp','SHOULD_CLOSE_CONN','create','_docTransformSelectionsService','{fileID}','OnLineSingle','createDecryptor','getRelativeToViewportCoord','_disableEditing','collabStatus.syncing','FAIL','_queuedRemoteChangesets','charAt','_urlService','onlineStatus','collabStatus.notCollab','_initRequestHeader','_session','/-/object/list','toRgbString','name','objectActions','get','LICENSE_MAX_UNITS_EXCEEDED','generateRandomId','_joinRoom','width','setActiveRange','text','_getSignURL','incrementRevOfUnit','image/jpg','keySize','setParam','[PendingState]:\x20unhandled\x20univer\x20type:\x20','translate(.97)','image/gif','[OfflineState]:\x20received\x20changeset.','COMPRESS_MUTATION_APPLY','replace','CONFLICT','auth.needGotoLoginAlert','LIVESHARE_FETCH_OPERATIONS','encryptBlock','complete','onPointerMove$','unitID','defineProperty','_getSendChangesetTimeout','StreamCipher','_initDependencies','editing\x20status\x20changed\x20to','getTypeOfUnitAdded$','MUTATION','_startTelemetryCollaborationNewChangeset','YUUMI_URL_COL_OUT_OF_RANGE','length','getSheetBySheetId','selections','collab-rect-range-','_disabled','getUnitId','_doReset','_onCursorDelete','joinEvent','_createHandler','history','hide','_createHmacHelper','urlChange$','MSG_FOR_ERROR','univer-pro.collaboration-client.single-active-unit-service','collaboration.closeRoom','_clearHeartbeatTimer','kdf','all','trim','getMergeData','getConfig','UNDEFINED','createCollaborator','beginPath','_removeClearOtherTimer','_telemetryInfo','status$','fillText','_data','m1Prime','iterations','PENDING','skeleton','UPDATE_CURSOR','_onRecvEvent','_append','pipe','isActive','_getUploadFileURL','LICENSE_EXPORT_SIZE_EXCEEDED','removeParam','save\x20fail\x20reason\x20is\x20','contains','synced','BASE64','_render','reverse','searchParams','syncEditingCollabCursor','pad','_iKey','getRoom','INGEST','_config','HELLO','_renderManagerService','LIVESHARE_TERMINATE','\x20-\x20','visibilityState','sin','MoveRangeCommandId','fromCharCode','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_createSocket','getCurrent','_roomMembers','show','COLLAB_WEB_SOCKET_URL','x-univer-host','_drawAnchor','telemetry\x20info\x20is\x20not\x20initialized','randomBytes','focused$','univer-online-status','bottom','_onJoinRoomEvent','toggleOffline','_transformHistoryAndStateStack','COLLAB_SUBMIT_CHANGESET_URL','collabWebSocketUrl','Hex','_toggleOnline','_status$','title','fetching\x20missing\x20changesets\x20from\x20','padding','_saveCache','save','default','pluginName','_minBufferSize','revision','endColumn','drawWith','3633837chwQha','finalize','requestParams','saveChangeset','JOIN','_refRangeService','_ensureSubject','enableSingleActiveInstanceLock','snapshot','POST','_replayCachedMutations','duration','eventID','subscribeEvent','RemoveColCommandId','registerRefRange','_initMergeInterceptor','_handleLeaveEvent','putCollaborators','sheetId','_onFetchMissResult','updateMember','min','/-/object/-/batch_allowed','INTERNAL_ERROR','LEAVE','&assign=','InsertRangeMoveDownCommandId','objectID','getUndoRedoMutationParamsCache','div','ws://127.0.0.1:8000/universer-api/comb/connect','onCommandExecuted','CHANGESET_SHOULD_RETRY','LIVESHARE_OPERATION','dispose$','_onConflict','clone','?url=','getAncestorScale','saveOfflineData','_hash','_handleHeartbeatEvent','getActiveSheet','column','_updateSubUnitFromURLParams','_scheduleSaving','fillStyle','[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.','univer-offline','transformMutation','type','AWAITING','getParam','collaboratorID','_showConflictNotification','clearInterval','onTransformSelections','transformUndoRedo','indexOf','InsertRowCommandId','_syncEditingCollabCursorService','unknown','_snapshotService','_tryEnsureSocket','changesets','_initUnitPermissionChange','_DEC_XFORM_MODE','_httpService','_onCursorUpdate','COMPRESS_MUTATION_SEND','_shapes','onMissedChangesetFetched','size','updateCursorEvent','_waitCount','encrypt','APPLY_NON_SEQUENTIAL_REVISION','onTransformRemoteChangesetByIMECache','_anchor','UniverIcon','leaveEvent','uni.network.url-service','_replaceFileID','idSuffix','getRenderById','_removeRoom','_range','_transformPreviousActiveRange','disposeUnit','_imageSourceCache','file','next','substr','_members','ciphertext','on-line-single_clip0_910_349','_revisionService','_docSkeletonManagerService','M0\x200H16V16H0z','_substituteUndoStack','toLowerCase','executeCommand','registerComponent','_hover','_state','onRemoteRej','_getRedoStack','_reverseMap','getTypeOfUnitDisposed$','transformRemoteChangeset','_unitOnClients','_getLoginPath','copyFileMeta','splice','39681040mVPBav','infoRsp','onRemoteAck','/unit/','_localStorageService','YUUMI_UNABLE_LOAD_URL','_name','_onUserLeave','_decreaseWaiting','[SyncedState]:\x20received\x20rejection.','memberID','setUndoRedoMutationParamsCache','updatePermissionPoint','_onRemoteRetry','sessionStatus','setItem','_process','_docTransformIMECacheService','MD5','onCommentUpdate','newValue','awaiting_with_pending','collab-client.tooltip.reconnect','_socket','online','attrs','conflict.title','toString','getOwnPropertyDescriptor','_throwTelemetryCollaborationNewChangeset','key','permissionRejEvent','RECT','hasher','ERROR_IMAGE_TYPE','subscribe','/universer-api/snapshot/','editingUnit','_drawRectRange','_clearOtherTimers','list','result','SNAPSHOT_URL_KEY','randomUUID','_onRefRangeChange','not_collab','actions','loadDoc','format','requireSession','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','univerjs-icon\x20univerjs-icon-','_transitionLocked','_substituteRedoStack','getViewport','cmd','_toggleOffline','registerRenderModule','unpad','subunit','_initStatusListener','substring','top','mutations','&to=','permission.title','clearTimeout','PERMISSION_REJ','_syncEditingCollabCursor','[CollaborationUndoRedoService]','subUnitId','onRendered','fetchMiss','AWAITING_WITH_PENDING','onTransformIME','_assignedColors','onStarting','_anchorDot','workbook','/block/','_updateStatus','_collaborationSessionService','/collaborator','_removeCollabCursors','InsertRangeMoveRightCommandId','Base64','_doProcessBlock','UNKNOWN_CODE','commentUpdateEvent','_timeoutTimer','conflict.content','onRemoteRetry','_memberService','SEND_CHANGESET_TIMEOUT','#fff','_createHelper','_exhaustRemoteChangesetQueue','enableOfflineEditing','SNAPSHOT_SERVER_URL_KEY','_collabCursorController','sheetID','_id','_updateState','m2Prime','_cipher','message$','_telemetryService','_onConnectionOpen','_labelPosition','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','icon','socket\x20open.','_map','from','VIEW_MAIN','[CollaborationSession]','transformStateCache','_getUndoStack','_handleJoinEvent','Decryptor','open$','src','_nRounds','_invKeySchedule','cursorInfo$','getDocRanges','liveShareOperation','origin','Cipher','redoState','_socketReady','children','_fetchMissChangesets','_color','_updateURLWithCurrentState','Base','HttpImport','_startCollaboration','_clearCollaborationTimeoutTimer','_onLocalMutation','resourceIDs','_redoStacks','onMissingChangesets','algo','_themeService','YUUMI_RATE_OVER_LIMIT','$super','closePath','[SyncedState]:\x20received\x20acknowledgement.','deepClone','body','_clearTimeoutTimer','_startSheetCollabCursor','HEARTBEAT','_commentUpdate$','_getCtorByUniverType','Undefined','catch','override','_entities','_undoStacks','OFFLINE','routeKey','getUniverSheetInstance','clear','_loadDoc','_getAPIPrefix','_online','_setupSubUnitSync','toggleOnline','getMember','onTransformState','_ws','_doFinalize','reconnect','collab-text-anchor-','onReady','joinRsp','data','snapshotServerUrl','_sheetTransformSelectionsService','sigBytes','endRow','collaborators','_collabCursorState$','fetchThroughInterceptors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','WordArray','/new_changes','image/png','crypto','rgba(255,\x20255,\x20255,\x200.01)','listRoles','YUUMI_SUBSCRIPTION_NOT_FOUND','_unlockTransition','\x0aCurrent:\x20','/universer-api/comb','_initStatusComponent','onlineStatusIcon','CHANGESET_ACK','isArray','_logService','getLatestCsReqIdBySid','_selfUnitIDs','reset','setShowComponents','OTHER_CLIENTS_EDITING','univer-online','_refreshCollabCursors','startTime','createInstance','_send','IDLE','saveImage','_sender','cfg','_cursorInfo$','_transformUndoRedoStack','confirm','url','floor','_docStateChangeManagerService','UNIVER_PROJECT','PSEUDO_FETCH_MISSING_RESULT','PERMISSION_DENIED','onRemoteChangeset','none','_getSheetObject','_scene','mixIn','onPointerLeave$','collaMsg','with','closeSession','_clearScheduledTask','mode','120zEzyzH','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_PERMISSION_DENIED','_HTTPService','moveTo','fetchMissingChangesets','APPLY_REVISION_CONFILICT','updateCollaborator','blockSize','stopTime','_saveTaskMap','bind','_backgroundColor','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CMD','_registerRenderDependencies','parse','Warning','_candidateSocket','_drawTextRange','CBC','colorChannel1','_onMessage','findNodePositionByCharIndex','_applyRemoteChangeset','error$','isPermissionRej','#FFF','originalMeta','getOffsetConfig','_messageService','_initResize','CHANGESET_REVISION_CONFILICT','extend','salt','decrypt','_getAPIPrefixPath','getDeserializedSheetBlock','setTimeout','members','_createInitialStateImpl','repeat','url(#$1','loadOfflineData','/universer-api/authz','popstate','_collaborationTimeoutTimer','formatter','collaboration_new_changeset','_resendTimeout','whenReady','_userManagerService','_change$','[CollaborationSessionService]','collaboration-client.config','pushState','AES','UNIVER_SHEET','_ENC_XFORM_MODE','exports','LIVESHARE_NEW_HOST','[PendingState]:\x20received\x20rejection.','_incrementRevisionNumber','collabCursorState$','JOINING','sessionStatus$','_instanceService','_waitForHeartbeatResponse','getCurrentUnitForType','init','USERS_ENTER','offline','string','SUCCUSS','_transformSelections','getInterceptPoints','rng','storage','_scheduleTimestamp','session.collaboration-timeout','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','clipPath','_snapshotServerService','headers','post','getCollabCursors$','getCurrentSelections','&source=','_listenToOfflineEvent','getCurrentUser','_clearLocalCache','ceil','_docSkeleton','newCsEvent','DeleteRangeMoveUpCommandId','withCredentials','unitId','session.will-retry','/rev/','off-line-single_clip0_910_343','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','awaiting','_keySchedule','_rescheduleHeartbeat','createElement','_updateLocalCache','_initCloseConn','_draw','TEXT','ERROR_IMAGE','update','_sessionStatus$','_docTransformStateCacheService','getCellPositionByOffset','getFocusedUnit','_changesetReqId','collaboration.single-unit.warning','filter','clamp','gold400','sid','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_transformIMECache','isEditing','CONNECTOR_DATA_TOO_LARGE','downloadEndpointUrl','jiqing500','csShouldRetryEvent','addEventListener','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','error','setStateCache','every','COMPLETION_FINISHED','getRangePointData','HEARTBEAT_INTERVAL','svg','_transformStack','_getAnchorBounding','set','join','getValue','now','getImageSourceCache','TOO_MANY_REQUESTS','_startDocCollabCursor','ALREADY_EXISTS','unshift','UNRECOGNIZED','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','status','on-line-single','authzUrl','_sheetSkeletonManagerService','backgroundColor','_socket$','_resendTimer','saveSheetBlock','href','red300','getCurrentRevOfUnit','range','getSkeleton','abs','HmacSHA1','_unitStatus','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/universer-api/snapshot','_shouldReportTelemetry','[CollaborationEntity]','getImage','prototype','objectType','session','cursorInfo','capture','getAllMembers','_hasher','createEncryptor','0\x200\x2017\x2016','_singleActiveUnitService','includes','connection\x20error','some','signUrlServerUrl','Encryptor','assign','_collaborationController','_getScale','_init','uploadFileServerUrl','_configService','onlineStatusTitle','byteOffset','_initCommandExecutedListener','BufferedBlockAlgorithm','split','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','collabStatus.fetchMiss','deleteCollaborator','transform','UNIVER_COLLABORATION_CLIENT_PLUGIN','rev','code','c1Prime','_stopTelemetryCollaborationNewChangeset','_beforeCloseService','onSyncEditingCollabCursor','interceptor','compose','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','purple300','round','liveShareNewHost','_resendWithTimeout','put','NO_OTHER_CLIENTS_EDITING','_onRemoteACK','_undoRedoService','processBlock','send','APPLY_DUPLICATED','collaboration-session-retry','SNAPSHOT_HAS_BEEN_REMOVED','roomMembers','_colorAssignService','execute','_updateCollabCursors','getRandomValues','_univerInstanceService','then','getItem','concat','_hovered','1em','hasOwnProperty','getActiveRange','asObservable','_transformStateCache','_onOffline','loginUrlKey','UUID','HttpExport','_executeRemoteChangeset','setShapeProps','_pendingMutations','blue400','session.connection-failed','getWorkbookSelections','EvpKDF','random','OpenSSL','resend','map','_event$','tag','transformMutationsWithChangeset','object','getUnitType','getCollabEntity$','_collabSessionService','_onRemoteChangeset','event$','_updateLocalCursor','UNIVER_SLIDE','doc.mutation.rich-text-editing','delete','_lastPointer','_state$','add','_iv','RECV','_type','_localeService','_permissionService','exhaustSavingTask','_cursors','_clearRedo','collab-text-range-','_compressMutationService','_remoteChangesetQueue','INVALID_ARGUMENT','/allowed','_checkMissing','setInterval','_setupBeforeClosingHandler','getTime','_socketMessageSubscription','_uiPartsService','_entityInit$','_acknowledgedAwaitingChangeset','displayName','ONLINE','transformSelections','setAlpha','addImageSourceCache','saveSnapshot','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_localCacheService','function','_scheduleHeartbeat','reduce','unit','7709611QJBDlg','696095gheLci','apply','NEW_CHANGESETS','\x20in\x20_schedule.','InsertColCommandId','2944634nZbLbO','enc','onTransformRemoteChangesetByStateCache','currentTheme$','__creator','color','getCollabEntity','addObject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','font','makeDirty','/universer-api/file/{fileID}/sign-url','height','_xformMode','undoState','APPLY_REJECT','_isPermissionRej','_transformService','LIVESHARE_REQUEST_HOST','disposeWithMe','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_commandService','_prevBlock','debug','push','_schedule','selection','_doCryptBlock','replaceState','call','black','createSocket','arc','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Error','Malformed\x20UTF-8\x20data','SUBMIT_CHANGESET','onPointerEnter$','_commentService','path','labelPosition','lineTo','roles','37625KGugiW','encode','UnitEmbedded','baseRev'];_0x5961=function(){return _0x57d4fe;};return _0x5961();}Ct=Sa([ke(0x0,Hi),ke(0x1,_0x1e210b),ke(0x2,_0x322b66),ke(0x3,_0x5cf6ec(q)),ke(0x4,_0x5cf6ec(_0xdab834)),ke(0x5,_0x94953d(_0x58db13))],Ct);var Ia=Object[_0x1a7f07(0x5b3)],Ca=Object[_0x1a7f07(0x298)],Ea=(_0x3b65e1,_0x4a7820,_0x36a0d0,_0x5e2d9c)=>{const _0x355a41=_0x1a7f07;for(var _0x379b7d=_0x5e2d9c>0x1?void 0x0:_0x5e2d9c?Ca(_0x4a7820,_0x36a0d0):_0x4a7820,_0x10c0dd=_0x3b65e1[_0x355a41(0x5bc)]-0x1,_0x587892;_0x10c0dd>=0x0;_0x10c0dd--)(_0x587892=_0x3b65e1[_0x10c0dd])&&(_0x379b7d=(_0x5e2d9c?_0x587892(_0x4a7820,_0x36a0d0,_0x379b7d):_0x587892(_0x379b7d))||_0x379b7d);return _0x5e2d9c&&_0x379b7d&&Ia(_0x4a7820,_0x36a0d0,_0x379b7d),_0x379b7d;},zs=(_0x260896,_0x325b3b)=>(_0x443409,_0x31bb20)=>_0x325b3b(_0x443409,_0x31bb20,_0x260896);const ba=_0x1a7f07(0x505),Ta=_0x1a7f07(0x4f5);let Et=class extends _0x3b3e75{constructor(_0x3a61d9,_0x2d27dc){const _0x56b3ad=_0x1a7f07;super(),this[_0x56b3ad(0x44e)]=_0x3a61d9,this[_0x56b3ad(0x428)]=_0x2d27dc,this['_init']();}[_0x1a7f07(0x426)](){const _0x3de8e5=_0x1a7f07;this['disposeWithMe'](this[_0x3de8e5(0x44e)][_0x3de8e5(0x1f3)][_0x3de8e5(0x29f)](()=>{const _0x17b4d7=_0x3de8e5;var _0x4597b0;const _0x56c380=this[_0x17b4d7(0x44e)]['getFocusedUnit']();let _0x4f44ef=(_0x4597b0=this[_0x17b4d7(0x428)][_0x17b4d7(0x1bf)](ba))!=null?_0x4597b0:Ta;_0x56c380 instanceof _0x762674&&(_0x4f44ef=_0x56c380[_0x17b4d7(0x598)]),document[_0x17b4d7(0x1fe)]=_0x4f44ef;}));}};Et=Ea([zs(0x0,_0x1726a1),zs(0x1,_0x34b905)],Et);var Ra=Object[_0x1a7f07(0x5b3)],ya=Object[_0x1a7f07(0x298)],Oa=(_0x32d1bf,_0x4ab425,_0x47d106,_0x4ac724)=>{const _0x27956e=_0x1a7f07;for(var _0x2844e9=_0x4ac724>0x1?void 0x0:_0x4ac724?ya(_0x4ab425,_0x47d106):_0x4ab425,_0x1a1a1b=_0x32d1bf[_0x27956e(0x5bc)]-0x1,_0x5bb43f;_0x1a1a1b>=0x0;_0x1a1a1b--)(_0x5bb43f=_0x32d1bf[_0x1a1a1b])&&(_0x2844e9=(_0x4ac724?_0x5bb43f(_0x4ab425,_0x47d106,_0x2844e9):_0x5bb43f(_0x2844e9))||_0x2844e9);return _0x4ac724&&_0x2844e9&&Ra(_0x4ab425,_0x47d106,_0x2844e9),_0x2844e9;},Wt=(_0x32d211,_0x368928)=>(_0x595e4f,_0x3a7b16)=>_0x368928(_0x595e4f,_0x3a7b16,_0x32d211);let bt=class{constructor(_0x5272c5,_0x1a0023,_0x1d58f0){const _0x3d5e0a=_0x1a7f07;this[_0x3d5e0a(0x428)]=_0x5272c5,this[_0x3d5e0a(0x24d)]=_0x1a0023,this['localeService']=_0x1d58f0,this[_0x3d5e0a(0x3ae)]();}['init'](){const _0x384ffa=_0x1a7f07;this['_httpService'][_0x384ffa(0x52a)]({'priority':0x1,'interceptor':(_0x4fba33,_0x4176c7)=>_0x4176c7(_0x4fba33)[_0x384ffa(0x1cf)](_0x57a071(async _0x42115e=>{const _0x5a7af8=_0x384ffa,_0xbca743=_0x42115e;if(_0xbca743[_0x5a7af8(0x3ff)]===0x191&&window[_0x5a7af8(0x356)](this[_0x5a7af8(0x54f)]['t'](_0x5a7af8(0x5ad)))){const _0x33e01b=window['encodeURIComponent'](window['location'][_0x5a7af8(0x407)]);window['location'][_0x5a7af8(0x407)]=this[_0x5a7af8(0x279)]()+_0x5a7af8(0x22f)+_0x33e01b;}return _0xbca743;}))});}['_getLoginPath'](){const _0x5d667f=_0x1a7f07;var _0x28a2cf,_0x5051b5;const _0x32db36=this['_configService']['getConfig'](Ir),_0x3183c7=this[_0x5d667f(0x428)][_0x5d667f(0x1bf)](ie);return(_0x5051b5=(_0x28a2cf=_0x3183c7==null?void 0x0:_0x3183c7[_0x5d667f(0x459)])!=null?_0x28a2cf:_0x32db36)!=null?_0x5051b5:Cr;}};bt=Oa([Wt(0x0,_0x34b905),Wt(0x1,_0x5cf6ec(_0x337047)),Wt(0x2,_0x5cf6ec(_0x51f47a))],bt);var wa=Object[_0x1a7f07(0x5b3)],Da=Object['getOwnPropertyDescriptor'],Pa=(_0x3c8225,_0x2712d8,_0x4b92bb,_0x2fc528)=>{for(var _0x1ccaa3=_0x2fc528>0x1?void 0x0:_0x2fc528?Da(_0x2712d8,_0x4b92bb):_0x2712d8,_0x40a142=_0x3c8225['length']-0x1,_0x557973;_0x40a142>=0x0;_0x40a142--)(_0x557973=_0x3c8225[_0x40a142])&&(_0x1ccaa3=(_0x2fc528?_0x557973(_0x2712d8,_0x4b92bb,_0x1ccaa3):_0x557973(_0x1ccaa3))||_0x1ccaa3);return _0x2fc528&&_0x1ccaa3&&wa(_0x2712d8,_0x4b92bb,_0x1ccaa3),_0x1ccaa3;},qs=(_0x38e015,_0x1d46b5)=>(_0xb9b162,_0x4abdd8)=>_0x1d46b5(_0xb9b162,_0x4abdd8,_0x38e015);const Ua=_0x1a7f07(0x57c),Na=_0x1a7f07(0x395);let cs=class extends _0x3b3e75{constructor(_0x1a44af,_0x21d074){const _0x2cb69d=_0x1a7f07;super(),this[_0x2cb69d(0x36b)]=_0x1a44af,this[_0x2cb69d(0x428)]=_0x21d074,this[_0x2cb69d(0x219)]();}[_0x1a7f07(0x219)](){const _0x4c53c7=_0x1a7f07,_0x48fdfe=this;this[_0x4c53c7(0x4b1)](this[_0x4c53c7(0x36b)][_0x4c53c7(0x52a)]({'priority':0x3e7,'interceptor':_0x4efab7({'isMatch'(_0x54e5ee){const _0x485be3=_0x4c53c7;var _0x39e31a;if(_0x54e5ee[_0x485be3(0x570)]==='POST'&&((_0x39e31a=_0x54e5ee[_0x485be3(0x20b)])!=null&&_0x39e31a['body'])){const {objectID:_0x72e97b,objectType:_0x275989}=_0x54e5ee['requestParams'][_0x485be3(0x312)]||{};if(!_0x72e97b||_0x275989===void 0x0)return!0x1;const _0x14956e=_0x48fdfe[_0x485be3(0x38d)]()+'/'+_0x275989+_0x485be3(0x4fd)+_0x72e97b+_0x485be3(0x483);if(_0x54e5ee[_0x485be3(0x357)]===_0x14956e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34f459){const _0x2f69c3=_0x4c53c7;var _0x68e624;return(_0x68e624=_0x34f459['requestParams'])==null?void 0x0:_0x68e624[_0x2f69c3(0x312)];},'mergeParamsToRequest'(_0x6a386d,_0x2adb03){const _0x1a9bf6=_0x4c53c7,_0x153b6a=_0x48fdfe[_0x1a9bf6(0x38d)]()+_0x1a9bf6(0x220),_0x12f717=_0x6a386d[_0x1a9bf6(0x496)]((_0x1d5c21,_0x1caaad)=>{const _0x43dd3f=_0x1a9bf6,{unitID:_0x3e169f,objectID:_0x4a6385,objectType:_0x590329,actions:_0x3cc79e}=_0x1caaad;return _0x1d5c21[_0x3e169f]||(_0x1d5c21[_0x3e169f]={}),_0x1d5c21[_0x3e169f][_0x4a6385]||(_0x1d5c21[_0x3e169f][_0x4a6385]={'objectID':_0x4a6385,'objectType':_0x590329,'actions':[]}),_0x1d5c21[_0x3e169f][_0x4a6385][_0x43dd3f(0x2aa)][_0x43dd3f(0x4b6)](..._0x3cc79e),_0x1d5c21;},{}),_0x2d2f4a=[];for(const _0x3bb167 in _0x12f717)for(const _0x25ffa4 in _0x12f717[_0x3bb167]){const {actions:_0xc8c2c5,objectType:_0x3e8ca8}=_0x12f717[_0x3bb167][_0x25ffa4],_0x3816fb=[...new Set(_0xc8c2c5)];_0x2d2f4a[_0x1a9bf6(0x4b6)]({'unitID':_0x3bb167,'objectID':_0x25ffa4,'objectType':_0x3e8ca8,'actions':_0x3816fb});}return new _0x5c71c3(_0x1a9bf6(0x212),_0x153b6a,{'headers':_0x2adb03[_0x1a9bf6(0x3bc)],'withCredentials':_0x2adb03[_0x1a9bf6(0x3c8)],'responseType':_0x2adb03['responseType'],'body':{'requests':_0x2d2f4a}});}},{'distributeResult'(_0xc1549f,_0x325e7c){const _0x30b7d5=_0x4c53c7,{objectActions:_0x4ee1ab}=_0xc1549f;return _0x325e7c[_0x30b7d5(0x466)](_0x3bc449=>{const _0x5df221=_0x30b7d5,{unitID:_0x12ce35,objectID:_0x178254,actions:_0x262333}=_0x3bc449,_0x2eccd8=_0x4ee1ab[_0x5df221(0x523)](_0x5ad6c9=>_0x5ad6c9['unitID']===_0x12ce35&&_0x5ad6c9[_0x5df221(0x225)]===_0x178254),_0x5067ac=_0x262333['map'](_0x260169=>_0x2eccd8==null?void 0x0:_0x2eccd8['actions']['find'](_0x507578=>_0x507578['action']===_0x260169))['filter'](_0x3a65e8=>!!_0x3a65e8);return{'config':_0x3bc449,'result':{'actions':_0x5067ac,'error':_0xc1549f['error']}};});}})}));}[_0x1a7f07(0x38d)](){const _0x49654b=_0x1a7f07;var _0x5b93e1,_0x54c935;const _0x4887ec=this[_0x49654b(0x428)]['getConfig'](Ua),_0x184e64=this[_0x49654b(0x428)][_0x49654b(0x1bf)](ie);return(_0x54c935=(_0x5b93e1=_0x184e64==null?void 0x0:_0x184e64[_0x49654b(0x401)])!=null?_0x5b93e1:_0x4887ec)!=null?_0x54c935:Na;}async[_0x1a7f07(0x586)](_0x2ff270){const _0x39e5ef=_0x1a7f07,_0x56beb7=this[_0x39e5ef(0x38d)]()+'/'+_0x2ff270[_0x39e5ef(0x415)]+'/object';return(await this[_0x39e5ef(0x36b)][_0x39e5ef(0x3bd)](_0x56beb7,{'body':_0x2ff270}))[_0x39e5ef(0x312)][_0x39e5ef(0x225)]||'';}async[_0x1a7f07(0x2a4)](_0x2a61d1){const _0x33e87e=_0x1a7f07,_0x31b95c=this[_0x33e87e(0x38d)]()+_0x33e87e(0x596);return(await this[_0x33e87e(0x36b)][_0x33e87e(0x3bd)](_0x31b95c,{'body':_0x2a61d1}))['body'][_0x33e87e(0x551)];}async[_0x1a7f07(0x3d7)](_0x144d0f){const _0x35a5ca=_0x1a7f07,_0x14e786=this[_0x35a5ca(0x38d)]()+'/'+_0x144d0f[_0x35a5ca(0x415)]+_0x35a5ca(0x4fd)+_0x144d0f[_0x35a5ca(0x225)];await this['_HTTPService'][_0x35a5ca(0x440)](_0x14e786,{'body':_0x144d0f});}async['allowed'](_0x48bafe){const _0x3cf43a=_0x1a7f07,_0x24d6d8=this[_0x3cf43a(0x38d)]()+'/'+_0x48bafe[_0x3cf43a(0x415)]+_0x3cf43a(0x4fd)+_0x48bafe[_0x3cf43a(0x225)]+_0x3cf43a(0x483);return(await this[_0x3cf43a(0x36b)][_0x3cf43a(0x3bd)](_0x24d6d8,{'body':_0x48bafe}))['body'][_0x3cf43a(0x2aa)];}async['batchAllowed'](_0x22f7a0){const _0x535a3d=_0x1a7f07,_0x4c08d2=this['_getAPIPrefixPath']()+_0x535a3d(0x220);return(await this['_HTTPService'][_0x535a3d(0x3bd)](_0x4c08d2,{'body':{'requests':_0x22f7a0}}))[_0x535a3d(0x312)][_0x535a3d(0x599)];}async[_0x1a7f07(0x33c)](_0x345648){const _0x550389=_0x1a7f07,_0x2cc23c=this[_0x550389(0x38d)]()+'/'+_0x345648[_0x550389(0x415)]+'/role',_0x100887=await this[_0x550389(0x36b)][_0x550389(0x3bd)](_0x2cc23c,{'body':_0x345648});return{'roles':_0x100887[_0x550389(0x312)][_0x550389(0x4c8)],'actions':_0x100887[_0x550389(0x312)][_0x550389(0x2aa)]};}async[_0x1a7f07(0x430)](_0x322b42){const _0x5c296d=_0x1a7f07,_0x4ea210=this[_0x5c296d(0x38d)]()+_0x5c296d(0x2ce);await this[_0x5c296d(0x36b)]['delete'](_0x4ea210,{'params':{'collaboratorID':_0x322b42[_0x5c296d(0x23f)],'objectID':_0x322b42[_0x5c296d(0x225)],'unitID':_0x322b42[_0x5c296d(0x5b2)]}});}async[_0x1a7f07(0x36f)](_0x572d95){const _0x2afce9=_0x1a7f07,_0x370705=this['_getAPIPrefixPath']()+_0x2afce9(0x2ce);await this[_0x2afce9(0x36b)]['patch'](_0x370705,{'body':_0x572d95});}async[_0x1a7f07(0x1c1)](_0x44fb81){const _0x140434=_0x1a7f07,_0x1faabd=this[_0x140434(0x38d)]()+_0x140434(0x2ce);await this[_0x140434(0x36b)][_0x140434(0x3bd)](_0x1faabd,{'body':_0x44fb81});}async['listCollaborators'](_0x37bcbe){const _0x36bbb3=_0x1a7f07,_0x22c85d=this['_getAPIPrefixPath']()+_0x36bbb3(0x2ce);return(await this[_0x36bbb3(0x36b)][_0x36bbb3(0x59a)](_0x22c85d,{'params':{'objectID':_0x37bcbe['objectID'],'unitID':_0x37bcbe[_0x36bbb3(0x5b2)]}}))[_0x36bbb3(0x312)][_0x36bbb3(0x333)];}async[_0x1a7f07(0x21b)](_0x48733d){const _0x24de90=_0x1a7f07,_0xd84ac3=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x24de90(0x36b)][_0x24de90(0x440)](_0xd84ac3,{'body':_0x48733d});}};cs=Pa([qs(0x0,_0x5cf6ec(_0x337047)),qs(0x1,_0x5cf6ec(_0x34b905))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x7c079b){const _0x3203e1=_0x1a7f07;return _0x7c079b&&_0x7c079b['__esModule']&&Object[_0x3203e1(0x414)][_0x3203e1(0x454)]['call'](_0x7c079b,_0x3203e1(0x203))?_0x7c079b[_0x3203e1(0x203)]:_0x7c079b;}var ji={'exports':{}};function Aa(_0x21f929){const _0x28541b=_0x1a7f07;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x21f929+_0x28541b(0x43b));}var Ft={'exports':{}},Xs;function ue(){const _0x5e3eab=_0x1a7f07;return Xs||(Xs=0x1,function(_0x28c665,_0x136cb2){(function(_0x5da019,_0x3f3da8){const _0xe59c7e=_0x54d3;_0x28c665[_0xe59c7e(0x3a4)]=_0x3f3da8();}(Z,function(){var _0xbbeb1f=_0xbbeb1f||function(_0x1499b4,_0x13f257){const _0x21dd4d=_0x54d3;var _0x2a0b55;if(typeof window<'u'&&window['crypto']&&(_0x2a0b55=window[_0x21dd4d(0x33a)]),typeof self<'u'&&self[_0x21dd4d(0x33a)]&&(_0x2a0b55=self[_0x21dd4d(0x33a)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2a0b55=globalThis['crypto']),!_0x2a0b55&&typeof window<'u'&&window[_0x21dd4d(0x52b)]&&(_0x2a0b55=window['msCrypto']),!_0x2a0b55&&typeof Z<'u'&&Z[_0x21dd4d(0x33a)]&&(_0x2a0b55=Z['crypto']),!_0x2a0b55&&typeof Aa==_0x21dd4d(0x494))try{_0x2a0b55=require(_0x21dd4d(0x33a));}catch{}var _0x249213=function(){const _0x436004=_0x21dd4d;if(_0x2a0b55){if(typeof _0x2a0b55['getRandomValues']==_0x436004(0x494))try{return _0x2a0b55[_0x436004(0x44d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a0b55[_0x436004(0x1f2)]==_0x436004(0x494))try{return _0x2a0b55[_0x436004(0x1f2)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x436004(0x3e2));},_0x2f9a36=Object[_0x21dd4d(0x586)]||(function(){function _0x5a3abe(){}return function(_0x4ac5c3){const _0x454c09=_0x54d3;var _0x586f12;return _0x5a3abe['prototype']=_0x4ac5c3,_0x586f12=new _0x5a3abe(),_0x5a3abe[_0x454c09(0x414)]=null,_0x586f12;};}()),_0xba4839={},_0x1f5c8b=_0xba4839[_0x21dd4d(0x525)]={},_0xf52fb6=_0x1f5c8b[_0x21dd4d(0x303)]=(function(){return{'extend':function(_0x35a63d){const _0x4dc76b=_0x54d3;var _0x58b21d=_0x2f9a36(this);return _0x35a63d&&_0x58b21d[_0x4dc76b(0x361)](_0x35a63d),(!_0x58b21d[_0x4dc76b(0x454)](_0x4dc76b(0x3ae))||this[_0x4dc76b(0x3ae)]===_0x58b21d[_0x4dc76b(0x3ae)])&&(_0x58b21d[_0x4dc76b(0x3ae)]=function(){const _0x47c08c=_0x4dc76b;_0x58b21d[_0x47c08c(0x30e)][_0x47c08c(0x3ae)][_0x47c08c(0x49a)](this,arguments);}),_0x58b21d[_0x4dc76b(0x3ae)]['prototype']=_0x58b21d,_0x58b21d[_0x4dc76b(0x30e)]=this,_0x58b21d;},'create':function(){const _0x43c97a=_0x54d3;var _0x35916d=this[_0x43c97a(0x38a)]();return _0x35916d[_0x43c97a(0x3ae)][_0x43c97a(0x49a)](_0x35916d,arguments),_0x35916d;},'init':function(){},'mixIn':function(_0x56ece3){const _0x3d209d=_0x54d3;for(var _0x561543 in _0x56ece3)_0x56ece3[_0x3d209d(0x454)](_0x561543)&&(this[_0x561543]=_0x56ece3[_0x561543]);_0x56ece3[_0x3d209d(0x454)](_0x3d209d(0x297))&&(this['toString']=_0x56ece3[_0x3d209d(0x297)]);},'clone':function(){const _0x45af3d=_0x54d3;return this[_0x45af3d(0x3ae)][_0x45af3d(0x414)][_0x45af3d(0x38a)](this);}};}()),_0xb34d76=_0x1f5c8b[_0x21dd4d(0x337)]=_0xf52fb6[_0x21dd4d(0x38a)]({'init':function(_0x3d4f80,_0x531fa7){const _0x1f27df=_0x21dd4d;_0x3d4f80=this['words']=_0x3d4f80||[],_0x531fa7!=_0x13f257?this['sigBytes']=_0x531fa7:this[_0x1f27df(0x331)]=_0x3d4f80['length']*0x4;},'toString':function(_0x149f2b){const _0x28c183=_0x21dd4d;return(_0x149f2b||_0x21dc94)[_0x28c183(0x52c)](this);},'concat':function(_0x4fa96f){const _0x3c5d44=_0x21dd4d;var _0x238863=this['words'],_0x6f6062=_0x4fa96f[_0x3c5d44(0x4e2)],_0x39dbf1=this[_0x3c5d44(0x331)],_0x19ee1d=_0x4fa96f[_0x3c5d44(0x331)];if(this[_0x3c5d44(0x3df)](),_0x39dbf1%0x4)for(var _0x372184=0x0;_0x372184<_0x19ee1d;_0x372184++){var _0x2f1527=_0x6f6062[_0x372184>>>0x2]>>>0x18-_0x372184%0x4*0x8&0xff;_0x238863[_0x39dbf1+_0x372184>>>0x2]|=_0x2f1527<<0x18-(_0x39dbf1+_0x372184)%0x4*0x8;}else{for(var _0x5660b7=0x0;_0x5660b7<_0x19ee1d;_0x5660b7+=0x4)_0x238863[_0x39dbf1+_0x5660b7>>>0x2]=_0x6f6062[_0x5660b7>>>0x2];}return this['sigBytes']+=_0x19ee1d,this;},'clamp':function(){const _0x5e42c8=_0x21dd4d;var _0x534e05=this['words'],_0x209d55=this['sigBytes'];_0x534e05[_0x209d55>>>0x2]&=0xffffffff<<0x20-_0x209d55%0x4*0x8,_0x534e05[_0x5e42c8(0x5bc)]=_0x1499b4['ceil'](_0x209d55/0x4);},'clone':function(){const _0x401726=_0x21dd4d;var _0x2574a2=_0xf52fb6[_0x401726(0x22e)][_0x401726(0x4bb)](this);return _0x2574a2[_0x401726(0x4e2)]=this[_0x401726(0x4e2)][_0x401726(0x515)](0x0),_0x2574a2;},'random':function(_0x32aa61){const _0x1c1516=_0x21dd4d;for(var _0x536b27=[],_0x59e60d=0x0;_0x59e60d<_0x32aa61;_0x59e60d+=0x4)_0x536b27['push'](_0x249213());return new _0xb34d76[(_0x1c1516(0x3ae))](_0x536b27,_0x32aa61);}}),_0x5f1fa8=_0xba4839['enc']={},_0x21dc94=_0x5f1fa8[_0x21dd4d(0x1fb)]={'stringify':function(_0x18bf1a){const _0x2cd420=_0x21dd4d;for(var _0x500c30=_0x18bf1a['words'],_0x1cfe4c=_0x18bf1a[_0x2cd420(0x331)],_0x58195c=[],_0x231393=0x0;_0x231393<_0x1cfe4c;_0x231393++){var _0x3b1871=_0x500c30[_0x231393>>>0x2]>>>0x18-_0x231393%0x4*0x8&0xff;_0x58195c[_0x2cd420(0x4b6)]((_0x3b1871>>>0x4)[_0x2cd420(0x297)](0x10)),_0x58195c['push']((_0x3b1871&0xf)[_0x2cd420(0x297)](0x10));}return _0x58195c[_0x2cd420(0x3f5)]('');},'parse':function(_0x34b0e9){const _0x18d23f=_0x21dd4d;for(var _0x5f2020=_0x34b0e9[_0x18d23f(0x5bc)],_0x3010d8=[],_0xf2b5ac=0x0;_0xf2b5ac<_0x5f2020;_0xf2b5ac+=0x2)_0x3010d8[_0xf2b5ac>>>0x3]|=parseInt(_0x34b0e9[_0x18d23f(0x266)](_0xf2b5ac,0x2),0x10)<<0x18-_0xf2b5ac%0x8*0x4;return new _0xb34d76['init'](_0x3010d8,_0x5f2020/0x2);}},_0x46ee55=_0x5f1fa8['Latin1']={'stringify':function(_0x25d629){const _0x2680aa=_0x21dd4d;for(var _0x121ac9=_0x25d629[_0x2680aa(0x4e2)],_0x5c0429=_0x25d629[_0x2680aa(0x331)],_0x5c63ae=[],_0x1f90b8=0x0;_0x1f90b8<_0x5c0429;_0x1f90b8++){var _0x40a28f=_0x121ac9[_0x1f90b8>>>0x2]>>>0x18-_0x1f90b8%0x4*0x8&0xff;_0x5c63ae[_0x2680aa(0x4b6)](String[_0x2680aa(0x1e8)](_0x40a28f));}return _0x5c63ae[_0x2680aa(0x3f5)]('');},'parse':function(_0x394692){const _0x1fa20a=_0x21dd4d;for(var _0x4ab146=_0x394692[_0x1fa20a(0x5bc)],_0x25247d=[],_0x43342e=0x0;_0x43342e<_0x4ab146;_0x43342e++)_0x25247d[_0x43342e>>>0x2]|=(_0x394692[_0x1fa20a(0x55e)](_0x43342e)&0xff)<<0x18-_0x43342e%0x4*0x8;return new _0xb34d76[(_0x1fa20a(0x3ae))](_0x25247d,_0x4ab146);}},_0x54968b=_0x5f1fa8[_0x21dd4d(0x572)]={'stringify':function(_0x490e8c){const _0x4b16d9=_0x21dd4d;try{return decodeURIComponent(escape(_0x46ee55[_0x4b16d9(0x52c)](_0x490e8c)));}catch{throw new Error(_0x4b16d9(0x4c1));}},'parse':function(_0x407cca){const _0x4b6ca5=_0x21dd4d;return _0x46ee55[_0x4b6ca5(0x379)](unescape(encodeURIComponent(_0x407cca)));}},_0x3a89e0=_0x1f5c8b['BufferedBlockAlgorithm']=_0xf52fb6[_0x21dd4d(0x38a)]({'reset':function(){const _0x5141c2=_0x21dd4d;this[_0x5141c2(0x1c7)]=new _0xb34d76[(_0x5141c2(0x3ae))](),this[_0x5141c2(0x533)]=0x0;},'_append':function(_0x1560bd){const _0x10cc57=_0x21dd4d;typeof _0x1560bd=='string'&&(_0x1560bd=_0x54968b[_0x10cc57(0x379)](_0x1560bd)),this['_data'][_0x10cc57(0x451)](_0x1560bd),this[_0x10cc57(0x533)]+=_0x1560bd[_0x10cc57(0x331)];},'_process':function(_0x5661ba){const _0x3a7b87=_0x21dd4d;var _0x43e5cc,_0x496e5e=this[_0x3a7b87(0x1c7)],_0x905f6a=_0x496e5e[_0x3a7b87(0x4e2)],_0x3c17ad=_0x496e5e[_0x3a7b87(0x331)],_0x7088b9=this[_0x3a7b87(0x370)],_0x401b1b=_0x7088b9*0x4,_0x146b11=_0x3c17ad/_0x401b1b;_0x5661ba?_0x146b11=_0x1499b4[_0x3a7b87(0x3c4)](_0x146b11):_0x146b11=_0x1499b4[_0x3a7b87(0x4d1)]((_0x146b11|0x0)-this[_0x3a7b87(0x205)],0x0);var _0x386519=_0x146b11*_0x7088b9,_0x5902a5=_0x1499b4[_0x3a7b87(0x21f)](_0x386519*0x4,_0x3c17ad);if(_0x386519){for(var _0x1ebc6b=0x0;_0x1ebc6b<_0x386519;_0x1ebc6b+=_0x7088b9)this[_0x3a7b87(0x2d2)](_0x905f6a,_0x1ebc6b);_0x43e5cc=_0x905f6a[_0x3a7b87(0x27b)](0x0,_0x386519),_0x496e5e[_0x3a7b87(0x331)]-=_0x5902a5;}return new _0xb34d76[(_0x3a7b87(0x3ae))](_0x43e5cc,_0x5902a5);},'clone':function(){const _0x3a407f=_0x21dd4d;var _0x4eb442=_0xf52fb6['clone'][_0x3a407f(0x4bb)](this);return _0x4eb442[_0x3a407f(0x1c7)]=this['_data'][_0x3a407f(0x22e)](),_0x4eb442;},'_minBufferSize':0x0});_0x1f5c8b[_0x21dd4d(0x524)]=_0x3a89e0[_0x21dd4d(0x38a)]({'cfg':_0xf52fb6[_0x21dd4d(0x38a)](),'init':function(_0x4be685){const _0x46a346=_0x21dd4d;this[_0x46a346(0x353)]=this[_0x46a346(0x353)]['extend'](_0x4be685),this[_0x46a346(0x348)]();},'reset':function(){const _0x32ee54=_0x21dd4d;_0x3a89e0['reset']['call'](this),this[_0x32ee54(0x5c2)]();},'update':function(_0x25f753){const _0xc3c476=_0x21dd4d;return this[_0xc3c476(0x1ce)](_0x25f753),this[_0xc3c476(0x28c)](),this;},'finalize':function(_0x214dcd){const _0x351911=_0x21dd4d;_0x214dcd&&this['_append'](_0x214dcd);var _0x4f865b=this[_0x351911(0x329)]();return _0x4f865b;},'blockSize':0x10,'_createHelper':function(_0x59477c){return function(_0x3f398d,_0x4060ef){const _0x5807be=_0x54d3;return new _0x59477c[(_0x5807be(0x3ae))](_0x4060ef)['finalize'](_0x3f398d);};},'_createHmacHelper':function(_0x34b647){return function(_0x4ff641,_0x18b38e){const _0x31a57a=_0x54d3;return new _0x3f5b20[(_0x31a57a(0x56c))][(_0x31a57a(0x3ae))](_0x34b647,_0x18b38e)[_0x31a57a(0x20a)](_0x4ff641);};}});var _0x3f5b20=_0xba4839[_0x21dd4d(0x30b)]={};return _0xba4839;}(Math);return _0xbbeb1f;}));}(Ft)),Ft[_0x5e3eab(0x3a4)];}var Vt={'exports':{}},Js;function Bi(){const _0x2847f0=_0x1a7f07;return Js||(Js=0x1,function(_0x1a4b56,_0x2a20b2){(function(_0x2c6a99,_0x3c482b){const _0x179754=_0x54d3;_0x1a4b56[_0x179754(0x3a4)]=_0x3c482b(ue());}(Z,function(_0x549019){const _0x16a58e=_0x54d3;return(function(){const _0x34e03d=_0x54d3;var _0x34b1d7=_0x549019,_0x3fa6e7=_0x34b1d7['lib'],_0xd05ed7=_0x3fa6e7[_0x34e03d(0x337)],_0x31154d=_0x34b1d7[_0x34e03d(0x49f)];_0x31154d[_0x34e03d(0x2d1)]={'stringify':function(_0x19b074){const _0x2fc255=_0x34e03d;var _0x38fe19=_0x19b074['words'],_0x236bf9=_0x19b074[_0x2fc255(0x331)],_0x48eb60=this[_0x2fc255(0x2ec)];_0x19b074[_0x2fc255(0x3df)]();for(var _0x325f37=[],_0x4f3fbe=0x0;_0x4f3fbe<_0x236bf9;_0x4f3fbe+=0x3)for(var _0x8777be=_0x38fe19[_0x4f3fbe>>>0x2]>>>0x18-_0x4f3fbe%0x4*0x8&0xff,_0x5cb6c5=_0x38fe19[_0x4f3fbe+0x1>>>0x2]>>>0x18-(_0x4f3fbe+0x1)%0x4*0x8&0xff,_0x35ab8b=_0x38fe19[_0x4f3fbe+0x2>>>0x2]>>>0x18-(_0x4f3fbe+0x2)%0x4*0x8&0xff,_0x3f40f1=_0x8777be<<0x10|_0x5cb6c5<<0x8|_0x35ab8b,_0x1001be=0x0;_0x1001be<0x4&&_0x4f3fbe+_0x1001be*0.75<_0x236bf9;_0x1001be++)_0x325f37[_0x2fc255(0x4b6)](_0x48eb60['charAt'](_0x3f40f1>>>0x6*(0x3-_0x1001be)&0x3f));var _0x182c12=_0x48eb60['charAt'](0x40);if(_0x182c12){for(;_0x325f37[_0x2fc255(0x5bc)]%0x4;)_0x325f37['push'](_0x182c12);}return _0x325f37[_0x2fc255(0x3f5)]('');},'parse':function(_0xb0ac07){const _0x3d36dd=_0x34e03d;var _0x25a466=_0xb0ac07[_0x3d36dd(0x5bc)],_0x31af61=this[_0x3d36dd(0x2ec)],_0x123f01=this[_0x3d36dd(0x275)];if(!_0x123f01){_0x123f01=this[_0x3d36dd(0x275)]=[];for(var _0x46985a=0x0;_0x46985a<_0x31af61['length'];_0x46985a++)_0x123f01[_0x31af61[_0x3d36dd(0x55e)](_0x46985a)]=_0x46985a;}var _0xa9982d=_0x31af61[_0x3d36dd(0x590)](0x40);if(_0xa9982d){var _0x414ef4=_0xb0ac07[_0x3d36dd(0x244)](_0xa9982d);_0x414ef4!==-0x1&&(_0x25a466=_0x414ef4);}return _0xd6876f(_0xb0ac07,_0x25a466,_0x123f01);},'_map':_0x34e03d(0x2ae)};function _0xd6876f(_0x41cef5,_0x2fa89e,_0x250aae){const _0x5e7c2e=_0x34e03d;for(var _0x3507e3=[],_0x2f18e1=0x0,_0x1a6757=0x0;_0x1a6757<_0x2fa89e;_0x1a6757++)if(_0x1a6757%0x4){var _0x4db1b1=_0x250aae[_0x41cef5[_0x5e7c2e(0x55e)](_0x1a6757-0x1)]<<_0x1a6757%0x4*0x2,_0x289d71=_0x250aae[_0x41cef5['charCodeAt'](_0x1a6757)]>>>0x6-_0x1a6757%0x4*0x2,_0x767961=_0x4db1b1|_0x289d71;_0x3507e3[_0x2f18e1>>>0x2]|=_0x767961<<0x18-_0x2f18e1%0x4*0x8,_0x2f18e1++;}return _0xd05ed7[_0x5e7c2e(0x586)](_0x3507e3,_0x2f18e1);}}()),_0x549019['enc'][_0x16a58e(0x2d1)];}));}(Vt)),Vt[_0x2847f0(0x3a4)];}var Gt={'exports':{}},Zs;function Ma(){const _0x3e9ace=_0x1a7f07;return Zs||(Zs=0x1,function(_0x1c91c8,_0x3ef3d6){(function(_0x2e6adf,_0x45b223){const _0x4d03fe=_0x54d3;_0x1c91c8[_0x4d03fe(0x3a4)]=_0x45b223(ue());}(Z,function(_0x3cfd31){const _0xd4cb6f=_0x54d3;return function(_0x46c15c){const _0x1aaa02=_0x54d3;var _0x264f26=_0x3cfd31,_0x4e0b1a=_0x264f26[_0x1aaa02(0x525)],_0x1efea8=_0x4e0b1a['WordArray'],_0x4d5ff1=_0x4e0b1a[_0x1aaa02(0x524)],_0x2ef94b=_0x264f26['algo'],_0x5f4e9b=[];(function(){const _0x19b11d=_0x1aaa02;for(var _0x38f20c=0x0;_0x38f20c<0x40;_0x38f20c++)_0x5f4e9b[_0x38f20c]=_0x46c15c[_0x19b11d(0x40c)](_0x46c15c[_0x19b11d(0x1e6)](_0x38f20c+0x1))*0x100000000|0x0;}());var _0x173490=_0x2ef94b[_0x1aaa02(0x28e)]=_0x4d5ff1[_0x1aaa02(0x38a)]({'_doReset':function(){const _0x52c469=_0x1aaa02;this[_0x52c469(0x232)]=new _0x1efea8[(_0x52c469(0x3ae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x18de3a,_0x52dfd7){const _0x4cf208=_0x1aaa02;for(var _0xcb5752=0x0;_0xcb5752<0x10;_0xcb5752++){var _0x4e75b1=_0x52dfd7+_0xcb5752,_0x378fd8=_0x18de3a[_0x4e75b1];_0x18de3a[_0x4e75b1]=(_0x378fd8<<0x8|_0x378fd8>>>0x18)&0xff00ff|(_0x378fd8<<0x18|_0x378fd8>>>0x8)&0xff00ff00;}var _0x2f26a2=this[_0x4cf208(0x232)][_0x4cf208(0x4e2)],_0x921cb9=_0x18de3a[_0x52dfd7+0x0],_0x3c7510=_0x18de3a[_0x52dfd7+0x1],_0x9815c2=_0x18de3a[_0x52dfd7+0x2],_0xc5c256=_0x18de3a[_0x52dfd7+0x3],_0x3d1323=_0x18de3a[_0x52dfd7+0x4],_0x49f314=_0x18de3a[_0x52dfd7+0x5],_0xb3960f=_0x18de3a[_0x52dfd7+0x6],_0x425902=_0x18de3a[_0x52dfd7+0x7],_0x468f3d=_0x18de3a[_0x52dfd7+0x8],_0x1c1b74=_0x18de3a[_0x52dfd7+0x9],_0x22b219=_0x18de3a[_0x52dfd7+0xa],_0x28ea0b=_0x18de3a[_0x52dfd7+0xb],_0x795471=_0x18de3a[_0x52dfd7+0xc],_0x90e915=_0x18de3a[_0x52dfd7+0xd],_0x3151dd=_0x18de3a[_0x52dfd7+0xe],_0x24b635=_0x18de3a[_0x52dfd7+0xf],_0xbfca5f=_0x2f26a2[0x0],_0x44f63c=_0x2f26a2[0x1],_0x1e6830=_0x2f26a2[0x2],_0x5cb142=_0x2f26a2[0x3];_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x921cb9,0x7,_0x5f4e9b[0x0]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x3c7510,0xc,_0x5f4e9b[0x1]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x9815c2,0x11,_0x5f4e9b[0x2]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0xc5c256,0x16,_0x5f4e9b[0x3]),_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3d1323,0x7,_0x5f4e9b[0x4]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x49f314,0xc,_0x5f4e9b[0x5]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xb3960f,0x11,_0x5f4e9b[0x6]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x425902,0x16,_0x5f4e9b[0x7]),_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x468f3d,0x7,_0x5f4e9b[0x8]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x1c1b74,0xc,_0x5f4e9b[0x9]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x22b219,0x11,_0x5f4e9b[0xa]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x28ea0b,0x16,_0x5f4e9b[0xb]),_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x795471,0x7,_0x5f4e9b[0xc]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x90e915,0xc,_0x5f4e9b[0xd]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x3151dd,0x11,_0x5f4e9b[0xe]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x24b635,0x16,_0x5f4e9b[0xf]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3c7510,0x5,_0x5f4e9b[0x10]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0xb3960f,0x9,_0x5f4e9b[0x11]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x28ea0b,0xe,_0x5f4e9b[0x12]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x921cb9,0x14,_0x5f4e9b[0x13]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x49f314,0x5,_0x5f4e9b[0x14]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x22b219,0x9,_0x5f4e9b[0x15]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x24b635,0xe,_0x5f4e9b[0x16]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x3d1323,0x14,_0x5f4e9b[0x17]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x1c1b74,0x5,_0x5f4e9b[0x18]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x3151dd,0x9,_0x5f4e9b[0x19]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xc5c256,0xe,_0x5f4e9b[0x1a]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x468f3d,0x14,_0x5f4e9b[0x1b]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x90e915,0x5,_0x5f4e9b[0x1c]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x9815c2,0x9,_0x5f4e9b[0x1d]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x425902,0xe,_0x5f4e9b[0x1e]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x795471,0x14,_0x5f4e9b[0x1f]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x49f314,0x4,_0x5f4e9b[0x20]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x468f3d,0xb,_0x5f4e9b[0x21]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x28ea0b,0x10,_0x5f4e9b[0x22]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x3151dd,0x17,_0x5f4e9b[0x23]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3c7510,0x4,_0x5f4e9b[0x24]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x3d1323,0xb,_0x5f4e9b[0x25]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x425902,0x10,_0x5f4e9b[0x26]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x22b219,0x17,_0x5f4e9b[0x27]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x90e915,0x4,_0x5f4e9b[0x28]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x921cb9,0xb,_0x5f4e9b[0x29]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xc5c256,0x10,_0x5f4e9b[0x2a]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0xb3960f,0x17,_0x5f4e9b[0x2b]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x1c1b74,0x4,_0x5f4e9b[0x2c]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x795471,0xb,_0x5f4e9b[0x2d]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x24b635,0x10,_0x5f4e9b[0x2e]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x9815c2,0x17,_0x5f4e9b[0x2f]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x921cb9,0x6,_0x5f4e9b[0x30]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x425902,0xa,_0x5f4e9b[0x31]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x3151dd,0xf,_0x5f4e9b[0x32]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x49f314,0x15,_0x5f4e9b[0x33]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x795471,0x6,_0x5f4e9b[0x34]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0xc5c256,0xa,_0x5f4e9b[0x35]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x22b219,0xf,_0x5f4e9b[0x36]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x3c7510,0x15,_0x5f4e9b[0x37]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x468f3d,0x6,_0x5f4e9b[0x38]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x24b635,0xa,_0x5f4e9b[0x39]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xb3960f,0xf,_0x5f4e9b[0x3a]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x90e915,0x15,_0x5f4e9b[0x3b]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3d1323,0x6,_0x5f4e9b[0x3c]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x28ea0b,0xa,_0x5f4e9b[0x3d]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x9815c2,0xf,_0x5f4e9b[0x3e]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x1c1b74,0x15,_0x5f4e9b[0x3f]),_0x2f26a2[0x0]=_0x2f26a2[0x0]+_0xbfca5f|0x0,_0x2f26a2[0x1]=_0x2f26a2[0x1]+_0x44f63c|0x0,_0x2f26a2[0x2]=_0x2f26a2[0x2]+_0x1e6830|0x0,_0x2f26a2[0x3]=_0x2f26a2[0x3]+_0x5cb142|0x0;},'_doFinalize':function(){const _0x1bd8fe=_0x1aaa02;var _0x1c6e87=this[_0x1bd8fe(0x1c7)],_0x2cbf59=_0x1c6e87[_0x1bd8fe(0x4e2)],_0x279bbd=this[_0x1bd8fe(0x533)]*0x8,_0x247920=_0x1c6e87[_0x1bd8fe(0x331)]*0x8;_0x2cbf59[_0x247920>>>0x5]|=0x80<<0x18-_0x247920%0x20;var _0x4885ec=_0x46c15c[_0x1bd8fe(0x358)](_0x279bbd/0x100000000),_0x2dc254=_0x279bbd;_0x2cbf59[(_0x247920+0x40>>>0x9<<0x4)+0xf]=(_0x4885ec<<0x8|_0x4885ec>>>0x18)&0xff00ff|(_0x4885ec<<0x18|_0x4885ec>>>0x8)&0xff00ff00,_0x2cbf59[(_0x247920+0x40>>>0x9<<0x4)+0xe]=(_0x2dc254<<0x8|_0x2dc254>>>0x18)&0xff00ff|(_0x2dc254<<0x18|_0x2dc254>>>0x8)&0xff00ff00,_0x1c6e87[_0x1bd8fe(0x331)]=(_0x2cbf59[_0x1bd8fe(0x5bc)]+0x1)*0x4,this[_0x1bd8fe(0x28c)]();for(var _0x21b379=this['_hash'],_0x104356=_0x21b379[_0x1bd8fe(0x4e2)],_0x35edc9=0x0;_0x35edc9<0x4;_0x35edc9++){var _0x34ada3=_0x104356[_0x35edc9];_0x104356[_0x35edc9]=(_0x34ada3<<0x8|_0x34ada3>>>0x18)&0xff00ff|(_0x34ada3<<0x18|_0x34ada3>>>0x8)&0xff00ff00;}return _0x21b379;},'clone':function(){const _0x5bd588=_0x1aaa02;var _0x585d4a=_0x4d5ff1[_0x5bd588(0x22e)][_0x5bd588(0x4bb)](this);return _0x585d4a['_hash']=this[_0x5bd588(0x232)]['clone'](),_0x585d4a;}});function _0x5e1b64(_0x42deed,_0x4af939,_0x3cd3e2,_0x458088,_0x573fbb,_0x16a17d,_0x19be0f){var _0x2ebc2f=_0x42deed+(_0x4af939&_0x3cd3e2|~_0x4af939&_0x458088)+_0x573fbb+_0x19be0f;return(_0x2ebc2f<<_0x16a17d|_0x2ebc2f>>>0x20-_0x16a17d)+_0x4af939;}function _0xf72439(_0x516dc7,_0x3f48bf,_0x4c2034,_0x1e1f99,_0x57ecc1,_0x5c475b,_0x5e757a){var _0x705a70=_0x516dc7+(_0x3f48bf&_0x1e1f99|_0x4c2034&~_0x1e1f99)+_0x57ecc1+_0x5e757a;return(_0x705a70<<_0x5c475b|_0x705a70>>>0x20-_0x5c475b)+_0x3f48bf;}function _0x4a9127(_0xf948b3,_0x36b95c,_0x2f69e4,_0x33bc39,_0x251a71,_0x4fe079,_0x12b463){var _0x15eddb=_0xf948b3+(_0x36b95c^_0x2f69e4^_0x33bc39)+_0x251a71+_0x12b463;return(_0x15eddb<<_0x4fe079|_0x15eddb>>>0x20-_0x4fe079)+_0x36b95c;}function _0x2c8b96(_0x2ba253,_0x5d1082,_0x193b9c,_0x158fa,_0x3845a6,_0x2c0949,_0x291691){var _0x35ac7a=_0x2ba253+(_0x193b9c^(_0x5d1082|~_0x158fa))+_0x3845a6+_0x291691;return(_0x35ac7a<<_0x2c0949|_0x35ac7a>>>0x20-_0x2c0949)+_0x5d1082;}_0x264f26['MD5']=_0x4d5ff1['_createHelper'](_0x173490),_0x264f26['HmacMD5']=_0x4d5ff1[_0x1aaa02(0x5c8)](_0x173490);}(Math),_0x3cfd31[_0xd4cb6f(0x28e)];}));}(Gt)),Gt[_0x3e9ace(0x3a4)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x4ab17e=_0x1a7f07;return Qs||(Qs=0x1,function(_0x37f4a7,_0xa8e73b){(function(_0x3d32b0,_0x36095){_0x37f4a7['exports']=_0x36095(ue());}(Z,function(_0x5f287a){const _0x406931=_0x54d3;return(function(){const _0x238cbb=_0x54d3;var _0x25c990=_0x5f287a,_0x2cba1f=_0x25c990['lib'],_0x157ee1=_0x2cba1f[_0x238cbb(0x337)],_0x49da5c=_0x2cba1f[_0x238cbb(0x524)],_0x2ee9a2=_0x25c990[_0x238cbb(0x30b)],_0x35535b=[],_0x4cf706=_0x2ee9a2[_0x238cbb(0x566)]=_0x49da5c[_0x238cbb(0x38a)]({'_doReset':function(){const _0x450a28=_0x238cbb;this[_0x450a28(0x232)]=new _0x157ee1[(_0x450a28(0x3ae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2cd068,_0x25143d){const _0x2a9bc4=_0x238cbb;for(var _0x2dec1a=this[_0x2a9bc4(0x232)]['words'],_0x5d6a86=_0x2dec1a[0x0],_0x4b56fb=_0x2dec1a[0x1],_0x463ec3=_0x2dec1a[0x2],_0x462af6=_0x2dec1a[0x3],_0x488183=_0x2dec1a[0x4],_0x2a8344=0x0;_0x2a8344<0x50;_0x2a8344++){if(_0x2a8344<0x10)_0x35535b[_0x2a8344]=_0x2cd068[_0x25143d+_0x2a8344]|0x0;else{var _0x4b17c8=_0x35535b[_0x2a8344-0x3]^_0x35535b[_0x2a8344-0x8]^_0x35535b[_0x2a8344-0xe]^_0x35535b[_0x2a8344-0x10];_0x35535b[_0x2a8344]=_0x4b17c8<<0x1|_0x4b17c8>>>0x1f;}var _0x385991=(_0x5d6a86<<0x5|_0x5d6a86>>>0x1b)+_0x488183+_0x35535b[_0x2a8344];_0x2a8344<0x14?_0x385991+=(_0x4b56fb&_0x463ec3|~_0x4b56fb&_0x462af6)+0x5a827999:_0x2a8344<0x28?_0x385991+=(_0x4b56fb^_0x463ec3^_0x462af6)+0x6ed9eba1:_0x2a8344<0x3c?_0x385991+=(_0x4b56fb&_0x463ec3|_0x4b56fb&_0x462af6|_0x463ec3&_0x462af6)-0x70e44324:_0x385991+=(_0x4b56fb^_0x463ec3^_0x462af6)-0x359d3e2a,_0x488183=_0x462af6,_0x462af6=_0x463ec3,_0x463ec3=_0x4b56fb<<0x1e|_0x4b56fb>>>0x2,_0x4b56fb=_0x5d6a86,_0x5d6a86=_0x385991;}_0x2dec1a[0x0]=_0x2dec1a[0x0]+_0x5d6a86|0x0,_0x2dec1a[0x1]=_0x2dec1a[0x1]+_0x4b56fb|0x0,_0x2dec1a[0x2]=_0x2dec1a[0x2]+_0x463ec3|0x0,_0x2dec1a[0x3]=_0x2dec1a[0x3]+_0x462af6|0x0,_0x2dec1a[0x4]=_0x2dec1a[0x4]+_0x488183|0x0;},'_doFinalize':function(){const _0x419f29=_0x238cbb;var _0x3f7708=this[_0x419f29(0x1c7)],_0x314a21=_0x3f7708[_0x419f29(0x4e2)],_0x48288=this[_0x419f29(0x533)]*0x8,_0x43ed81=_0x3f7708[_0x419f29(0x331)]*0x8;return _0x314a21[_0x43ed81>>>0x5]|=0x80<<0x18-_0x43ed81%0x20,_0x314a21[(_0x43ed81+0x40>>>0x9<<0x4)+0xe]=Math[_0x419f29(0x358)](_0x48288/0x100000000),_0x314a21[(_0x43ed81+0x40>>>0x9<<0x4)+0xf]=_0x48288,_0x3f7708[_0x419f29(0x331)]=_0x314a21['length']*0x4,this[_0x419f29(0x28c)](),this[_0x419f29(0x232)];},'clone':function(){const _0x2aa429=_0x238cbb;var _0x4234bc=_0x49da5c['clone'][_0x2aa429(0x4bb)](this);return _0x4234bc[_0x2aa429(0x232)]=this[_0x2aa429(0x232)]['clone'](),_0x4234bc;}});_0x25c990['SHA1']=_0x49da5c[_0x238cbb(0x2db)](_0x4cf706),_0x25c990[_0x238cbb(0x40d)]=_0x49da5c[_0x238cbb(0x5c8)](_0x4cf706);}()),_0x5f287a[_0x406931(0x566)];}));}(Kt)),Kt[_0x4ab17e(0x3a4)];}var zt={'exports':{}},ei;function La(){const _0x38893a=_0x1a7f07;return ei||(ei=0x1,function(_0x16cfaa,_0x1ab21d){(function(_0x114076,_0x439cb9){const _0x2ac8a9=_0x54d3;_0x16cfaa[_0x2ac8a9(0x3a4)]=_0x439cb9(ue());}(Z,function(_0x344b64){(function(){const _0x208ad8=_0x54d3;var _0x772d82=_0x344b64,_0x4ad03f=_0x772d82[_0x208ad8(0x525)],_0x42babb=_0x4ad03f[_0x208ad8(0x303)],_0x24a2db=_0x772d82[_0x208ad8(0x49f)],_0x1537ad=_0x24a2db[_0x208ad8(0x572)],_0x5cd700=_0x772d82[_0x208ad8(0x30b)];_0x5cd700['HMAC']=_0x42babb['extend']({'init':function(_0x330c74,_0x5b6180){const _0x346530=_0x208ad8;_0x330c74=this[_0x346530(0x41a)]=new _0x330c74[(_0x346530(0x3ae))](),typeof _0x5b6180=='string'&&(_0x5b6180=_0x1537ad['parse'](_0x5b6180));var _0x393bf1=_0x330c74['blockSize'],_0x56db23=_0x393bf1*0x4;_0x5b6180[_0x346530(0x331)]>_0x56db23&&(_0x5b6180=_0x330c74[_0x346530(0x20a)](_0x5b6180)),_0x5b6180['clamp']();for(var _0x3662c8=this['_oKey']=_0x5b6180[_0x346530(0x22e)](),_0x36e6d9=this[_0x346530(0x1dd)]=_0x5b6180['clone'](),_0x508ca2=_0x3662c8[_0x346530(0x4e2)],_0x571626=_0x36e6d9[_0x346530(0x4e2)],_0x25903e=0x0;_0x25903e<_0x393bf1;_0x25903e++)_0x508ca2[_0x25903e]^=0x5c5c5c5c,_0x571626[_0x25903e]^=0x36363636;_0x3662c8[_0x346530(0x331)]=_0x36e6d9[_0x346530(0x331)]=_0x56db23,this[_0x346530(0x348)]();},'reset':function(){const _0x2b5a09=_0x208ad8;var _0x1d22dd=this[_0x2b5a09(0x41a)];_0x1d22dd[_0x2b5a09(0x348)](),_0x1d22dd[_0x2b5a09(0x3d7)](this['_iKey']);},'update':function(_0x3f9322){const _0x291a77=_0x208ad8;return this[_0x291a77(0x41a)][_0x291a77(0x3d7)](_0x3f9322),this;},'finalize':function(_0x9d40d4){const _0x321687=_0x208ad8;var _0x340a60=this['_hasher'],_0x530b97=_0x340a60[_0x321687(0x20a)](_0x9d40d4);_0x340a60[_0x321687(0x348)]();var _0x172c99=_0x340a60['finalize'](this['_oKey']['clone']()[_0x321687(0x451)](_0x530b97));return _0x172c99;}});}());}));}(zt)),zt[_0x38893a(0x3a4)];}var ti;function ki(){return ti||(ti=0x1,function(_0x5eddc8,_0x551c4d){(function(_0x578986,_0x5b49b1,_0x4421f2){_0x5eddc8['exports']=_0x5b49b1(ue(),xa(),La());}(Z,function(_0x41486c){const _0x27acbb=_0x54d3;return(function(){const _0x46d89e=_0x54d3;var _0xf9f4ce=_0x41486c,_0xa60222=_0xf9f4ce[_0x46d89e(0x525)],_0x1e7ef4=_0xa60222['Base'],_0x1ea3e2=_0xa60222['WordArray'],_0x2857af=_0xf9f4ce[_0x46d89e(0x30b)],_0x3ca62f=_0x2857af[_0x46d89e(0x28e)],_0x1a20e3=_0x2857af['EvpKDF']=_0x1e7ef4[_0x46d89e(0x38a)]({'cfg':_0x1e7ef4[_0x46d89e(0x38a)]({'keySize':0x80/0x20,'hasher':_0x3ca62f,'iterations':0x1}),'init':function(_0x3fec0e){const _0x1842f4=_0x46d89e;this['cfg']=this[_0x1842f4(0x353)]['extend'](_0x3fec0e);},'compute':function(_0x56df3f,_0x3cc16b){const _0x194a7b=_0x46d89e;for(var _0xfacfab,_0x415b8a=this['cfg'],_0x319777=_0x415b8a['hasher']['create'](),_0x90502b=_0x1ea3e2[_0x194a7b(0x586)](),_0x2a670a=_0x90502b['words'],_0x2ba534=_0x415b8a[_0x194a7b(0x5a4)],_0x161f23=_0x415b8a[_0x194a7b(0x1c9)];_0x2a670a[_0x194a7b(0x5bc)]<_0x2ba534;){_0xfacfab&&_0x319777[_0x194a7b(0x3d7)](_0xfacfab),_0xfacfab=_0x319777[_0x194a7b(0x3d7)](_0x56df3f)[_0x194a7b(0x20a)](_0x3cc16b),_0x319777[_0x194a7b(0x348)]();for(var _0x18349e=0x1;_0x18349e<_0x161f23;_0x18349e++)_0xfacfab=_0x319777['finalize'](_0xfacfab),_0x319777[_0x194a7b(0x348)]();_0x90502b[_0x194a7b(0x451)](_0xfacfab);}return _0x90502b[_0x194a7b(0x331)]=_0x2ba534*0x4,_0x90502b;}});_0xf9f4ce[_0x46d89e(0x462)]=function(_0x588a18,_0x577d34,_0x1e8f25){const _0x27e35a=_0x46d89e;return _0x1a20e3[_0x27e35a(0x586)](_0x1e8f25)[_0x27e35a(0x568)](_0x588a18,_0x577d34);};}()),_0x41486c[_0x27acbb(0x462)];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Wi(){const _0x13b4ac=_0x1a7f07;return si||(si=0x1,function(_0x37a3b3,_0x2eaf0d){(function(_0x2a8e70,_0x182269,_0x5c6801){const _0x556b23=_0x54d3;_0x37a3b3[_0x556b23(0x3a4)]=_0x182269(ue(),ki());}(Z,function(_0x30c19c){const _0x1a3e43=_0x54d3;_0x30c19c['lib'][_0x1a3e43(0x2fc)]||function(_0x1080a5){const _0x162c44=_0x1a3e43;var _0x35b263=_0x30c19c,_0x3e6b13=_0x35b263[_0x162c44(0x525)],_0x2a49e7=_0x3e6b13[_0x162c44(0x303)],_0x5931f7=_0x3e6b13[_0x162c44(0x337)],_0x489b0f=_0x3e6b13[_0x162c44(0x42c)],_0x3a3071=_0x35b263[_0x162c44(0x49f)];_0x3a3071['Utf8'];var _0x110064=_0x3a3071['Base64'],_0x59fa04=_0x35b263['algo'],_0x39f4d0=_0x59fa04['EvpKDF'],_0x4efc0b=_0x3e6b13[_0x162c44(0x2fc)]=_0x489b0f[_0x162c44(0x38a)]({'cfg':_0x2a49e7[_0x162c44(0x38a)](),'createEncryptor':function(_0x4942b,_0x3c7435){return this['create'](this['_ENC_XFORM_MODE'],_0x4942b,_0x3c7435);},'createDecryptor':function(_0x16c91f,_0x5029d3){const _0x53895c=_0x162c44;return this[_0x53895c(0x586)](this[_0x53895c(0x24c)],_0x16c91f,_0x5029d3);},'init':function(_0x225bdd,_0x2da9cc,_0x456d0e){const _0x236926=_0x162c44;this[_0x236926(0x353)]=this[_0x236926(0x353)][_0x236926(0x38a)](_0x456d0e),this[_0x236926(0x4ab)]=_0x225bdd,this[_0x236926(0x520)]=_0x2da9cc,this[_0x236926(0x348)]();},'reset':function(){const _0x41fb66=_0x162c44;_0x489b0f['reset'][_0x41fb66(0x4bb)](this),this['_doReset']();},'process':function(_0x258632){const _0x500f4b=_0x162c44;return this[_0x500f4b(0x1ce)](_0x258632),this['_process']();},'finalize':function(_0x345dd7){const _0x20d8f7=_0x162c44;_0x345dd7&&this[_0x20d8f7(0x1ce)](_0x345dd7);var _0x15cda5=this[_0x20d8f7(0x329)]();return _0x15cda5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x52ae8c(_0x1df39e){const _0x23f9b2=_0x54d3;return typeof _0x1df39e==_0x23f9b2(0x3b1)?_0x3a13c5:_0x1bb3e7;}return function(_0x30b3fe){return{'encrypt':function(_0x1df24e,_0x4cc7c7,_0x184ac5){const _0x1295d4=_0x54d3;return _0x52ae8c(_0x4cc7c7)[_0x1295d4(0x255)](_0x30b3fe,_0x1df24e,_0x4cc7c7,_0x184ac5);},'decrypt':function(_0xbc5b8a,_0x41b732,_0x3ce8b8){const _0x505122=_0x54d3;return _0x52ae8c(_0x41b732)[_0x505122(0x38c)](_0x30b3fe,_0xbc5b8a,_0x41b732,_0x3ce8b8);}};};}())});_0x3e6b13[_0x162c44(0x5b5)]=_0x4efc0b['extend']({'_doFinalize':function(){var _0x11030b=this['_process'](!0x0);return _0x11030b;},'blockSize':0x1});var _0x5542e7=_0x35b263[_0x162c44(0x367)]={},_0x5b1007=_0x3e6b13['BlockCipherMode']=_0x2a49e7[_0x162c44(0x38a)]({'createEncryptor':function(_0x4f4a82,_0x2d4c5d){const _0x2aa07a=_0x162c44;return this['Encryptor'][_0x2aa07a(0x586)](_0x4f4a82,_0x2d4c5d);},'createDecryptor':function(_0x20c941,_0x42256f){const _0x6e090c=_0x162c44;return this['Decryptor'][_0x6e090c(0x586)](_0x20c941,_0x42256f);},'init':function(_0x4fd42f,_0x27bb87){const _0x2f0563=_0x162c44;this[_0x2f0563(0x2e4)]=_0x4fd42f,this[_0x2f0563(0x477)]=_0x27bb87;}}),_0x45910e=_0x5542e7[_0x162c44(0x37d)]=(function(){const _0x43cbeb=_0x162c44;var _0x5840a8=_0x5b1007[_0x43cbeb(0x38a)]();_0x5840a8[_0x43cbeb(0x422)]=_0x5840a8[_0x43cbeb(0x38a)]({'processBlock':function(_0x12c87c,_0x47e43b){const _0x1ead87=_0x43cbeb;var _0x3f3930=this[_0x1ead87(0x2e4)],_0x5a7c6=_0x3f3930[_0x1ead87(0x370)];_0x242856['call'](this,_0x12c87c,_0x47e43b,_0x5a7c6),_0x3f3930[_0x1ead87(0x5af)](_0x12c87c,_0x47e43b),this[_0x1ead87(0x4b4)]=_0x12c87c[_0x1ead87(0x515)](_0x47e43b,_0x47e43b+_0x5a7c6);}}),_0x5840a8[_0x43cbeb(0x2f3)]=_0x5840a8[_0x43cbeb(0x38a)]({'processBlock':function(_0x3ed6dc,_0x2cd884){const _0x102476=_0x43cbeb;var _0x4f3658=this[_0x102476(0x2e4)],_0x43b77f=_0x4f3658[_0x102476(0x370)],_0x2cd722=_0x3ed6dc['slice'](_0x2cd884,_0x2cd884+_0x43b77f);_0x4f3658['decryptBlock'](_0x3ed6dc,_0x2cd884),_0x242856['call'](this,_0x3ed6dc,_0x2cd884,_0x43b77f),this[_0x102476(0x4b4)]=_0x2cd722;}});function _0x242856(_0x5d5461,_0x49d7af,_0x5b39bd){const _0x468cf6=_0x43cbeb;var _0x56be84,_0x2ff64a=this[_0x468cf6(0x477)];_0x2ff64a?(_0x56be84=_0x2ff64a,this[_0x468cf6(0x477)]=_0x1080a5):_0x56be84=this[_0x468cf6(0x4b4)];for(var _0x33bf40=0x0;_0x33bf40<_0x5b39bd;_0x33bf40++)_0x5d5461[_0x49d7af+_0x33bf40]^=_0x56be84[_0x33bf40];}return _0x5840a8;}()),_0x41486a=_0x35b263[_0x162c44(0x1dc)]={},_0x49026d=_0x41486a[_0x162c44(0x517)]={'pad':function(_0x1cbd67,_0x2b9b15){const _0x4fbd4c=_0x162c44;for(var _0x5c2cc6=_0x2b9b15*0x4,_0x2acfe3=_0x5c2cc6-_0x1cbd67[_0x4fbd4c(0x331)]%_0x5c2cc6,_0x1fcdec=_0x2acfe3<<0x18|_0x2acfe3<<0x10|_0x2acfe3<<0x8|_0x2acfe3,_0x1be253=[],_0x1a0a49=0x0;_0x1a0a49<_0x2acfe3;_0x1a0a49+=0x4)_0x1be253['push'](_0x1fcdec);var _0x3bbc0b=_0x5931f7['create'](_0x1be253,_0x2acfe3);_0x1cbd67[_0x4fbd4c(0x451)](_0x3bbc0b);},'unpad':function(_0x85b177){const _0xf585fc=_0x162c44;var _0x439d67=_0x85b177[_0xf585fc(0x4e2)][_0x85b177[_0xf585fc(0x331)]-0x1>>>0x2]&0xff;_0x85b177[_0xf585fc(0x331)]-=_0x439d67;}};_0x3e6b13[_0x162c44(0x4e3)]=_0x4efc0b['extend']({'cfg':_0x4efc0b[_0x162c44(0x353)]['extend']({'mode':_0x45910e,'padding':_0x49026d}),'reset':function(){const _0x1da423=_0x162c44;var _0x25fee3;_0x4efc0b['reset'][_0x1da423(0x4bb)](this);var _0x2a99ad=this['cfg'],_0x9076db=_0x2a99ad['iv'],_0x276b11=_0x2a99ad[_0x1da423(0x367)];this[_0x1da423(0x4ab)]==this[_0x1da423(0x3a3)]?_0x25fee3=_0x276b11['createEncryptor']:(_0x25fee3=_0x276b11[_0x1da423(0x58a)],this[_0x1da423(0x205)]=0x1),this['_mode']&&this[_0x1da423(0x4df)]['__creator']==_0x25fee3?this['_mode'][_0x1da423(0x3ae)](this,_0x9076db&&_0x9076db[_0x1da423(0x4e2)]):(this['_mode']=_0x25fee3[_0x1da423(0x4bb)](_0x276b11,this,_0x9076db&&_0x9076db[_0x1da423(0x4e2)]),this[_0x1da423(0x4df)][_0x1da423(0x4a2)]=_0x25fee3);},'_doProcessBlock':function(_0x5450b9,_0x29b5da){const _0x5f2570=_0x162c44;this['_mode'][_0x5f2570(0x444)](_0x5450b9,_0x29b5da);},'_doFinalize':function(){const _0x120abc=_0x162c44;var _0x8d3180,_0x2f038c=this[_0x120abc(0x353)][_0x120abc(0x200)];return this[_0x120abc(0x4ab)]==this['_ENC_XFORM_MODE']?(_0x2f038c[_0x120abc(0x1dc)](this[_0x120abc(0x1c7)],this['blockSize']),_0x8d3180=this[_0x120abc(0x28c)](!0x0)):(_0x8d3180=this[_0x120abc(0x28c)](!0x0),_0x2f038c[_0x120abc(0x2b6)](_0x8d3180)),_0x8d3180;},'blockSize':0x80/0x20});var _0x5f5117=_0x3e6b13['CipherParams']=_0x2a49e7[_0x162c44(0x38a)]({'init':function(_0x28d82b){const _0x2fd123=_0x162c44;this[_0x2fd123(0x361)](_0x28d82b);},'toString':function(_0x342e0b){const _0x1fd155=_0x162c44;return(_0x342e0b||this[_0x1fd155(0x398)])[_0x1fd155(0x52c)](this);}}),_0x573976=_0x35b263[_0x162c44(0x2ac)]={},_0xb14c70=_0x573976[_0x162c44(0x464)]={'stringify':function(_0x10caf3){const _0x391dcc=_0x162c44;var _0x5e3d0f,_0xbcff86=_0x10caf3['ciphertext'],_0x25d5c8=_0x10caf3[_0x391dcc(0x38b)];return _0x25d5c8?_0x5e3d0f=_0x5931f7[_0x391dcc(0x586)]([0x53616c74,0x65645f5f])[_0x391dcc(0x451)](_0x25d5c8)['concat'](_0xbcff86):_0x5e3d0f=_0xbcff86,_0x5e3d0f[_0x391dcc(0x297)](_0x110064);},'parse':function(_0x32a2a3){const _0x57cb3d=_0x162c44;var _0x318e9e,_0x4e7e5b=_0x110064[_0x57cb3d(0x379)](_0x32a2a3),_0x2bcddd=_0x4e7e5b[_0x57cb3d(0x4e2)];return _0x2bcddd[0x0]==0x53616c74&&_0x2bcddd[0x1]==0x65645f5f&&(_0x318e9e=_0x5931f7[_0x57cb3d(0x586)](_0x2bcddd[_0x57cb3d(0x515)](0x2,0x4)),_0x2bcddd[_0x57cb3d(0x27b)](0x0,0x4),_0x4e7e5b[_0x57cb3d(0x331)]-=0x10),_0x5f5117[_0x57cb3d(0x586)]({'ciphertext':_0x4e7e5b,'salt':_0x318e9e});}},_0x1bb3e7=_0x3e6b13[_0x162c44(0x560)]=_0x2a49e7['extend']({'cfg':_0x2a49e7[_0x162c44(0x38a)]({'format':_0xb14c70}),'encrypt':function(_0x590e59,_0x3dcc1a,_0x49b41f,_0x416972){const _0x3499a5=_0x162c44;_0x416972=this[_0x3499a5(0x353)]['extend'](_0x416972);var _0x39e946=_0x590e59[_0x3499a5(0x41b)](_0x49b41f,_0x416972),_0x4892f1=_0x39e946[_0x3499a5(0x20a)](_0x3dcc1a),_0xa3d40c=_0x39e946[_0x3499a5(0x353)];return _0x5f5117[_0x3499a5(0x586)]({'ciphertext':_0x4892f1,'key':_0x49b41f,'iv':_0xa3d40c['iv'],'algorithm':_0x590e59,'mode':_0xa3d40c[_0x3499a5(0x367)],'padding':_0xa3d40c[_0x3499a5(0x200)],'blockSize':_0x590e59[_0x3499a5(0x370)],'formatter':_0x416972['format']});},'decrypt':function(_0x1fd184,_0x3597d3,_0x998beb,_0x416986){const _0x4ad0f0=_0x162c44;_0x416986=this['cfg'][_0x4ad0f0(0x38a)](_0x416986),_0x3597d3=this['_parse'](_0x3597d3,_0x416986['format']);var _0x28ef88=_0x1fd184[_0x4ad0f0(0x58a)](_0x998beb,_0x416986)['finalize'](_0x3597d3[_0x4ad0f0(0x268)]);return _0x28ef88;},'_parse':function(_0x4bf031,_0x573f4e){const _0xe7a182=_0x162c44;return typeof _0x4bf031==_0xe7a182(0x3b1)?_0x573f4e[_0xe7a182(0x379)](_0x4bf031,this):_0x4bf031;}}),_0x9a49bf=_0x35b263[_0x162c44(0x5ce)]={},_0x4df15d=_0x9a49bf[_0x162c44(0x464)]={'execute':function(_0x25ee19,_0x12c17b,_0x42e699,_0x40a64e,_0x4be167){const _0x50bc34=_0x162c44;if(_0x40a64e||(_0x40a64e=_0x5931f7[_0x50bc34(0x463)](0x40/0x8)),_0x4be167)var _0x232bc4=_0x39f4d0['create']({'keySize':_0x12c17b+_0x42e699,'hasher':_0x4be167})[_0x50bc34(0x568)](_0x25ee19,_0x40a64e);else var _0x232bc4=_0x39f4d0[_0x50bc34(0x586)]({'keySize':_0x12c17b+_0x42e699})['compute'](_0x25ee19,_0x40a64e);var _0x59f9be=_0x5931f7[_0x50bc34(0x586)](_0x232bc4['words'][_0x50bc34(0x515)](_0x12c17b),_0x42e699*0x4);return _0x232bc4[_0x50bc34(0x331)]=_0x12c17b*0x4,_0x5f5117['create']({'key':_0x232bc4,'iv':_0x59f9be,'salt':_0x40a64e});}},_0x3a13c5=_0x3e6b13['PasswordBasedCipher']=_0x1bb3e7['extend']({'cfg':_0x1bb3e7['cfg'][_0x162c44(0x38a)]({'kdf':_0x4df15d}),'encrypt':function(_0x175c0d,_0x38fc4b,_0x16a7b6,_0x1d139d){const _0x19703f=_0x162c44;_0x1d139d=this[_0x19703f(0x353)]['extend'](_0x1d139d);var _0x48c729=_0x1d139d['kdf'][_0x19703f(0x44b)](_0x16a7b6,_0x175c0d[_0x19703f(0x5a4)],_0x175c0d['ivSize'],_0x1d139d[_0x19703f(0x38b)],_0x1d139d['hasher']);_0x1d139d['iv']=_0x48c729['iv'];var _0x465d3a=_0x1bb3e7[_0x19703f(0x255)][_0x19703f(0x4bb)](this,_0x175c0d,_0x38fc4b,_0x48c729[_0x19703f(0x29a)],_0x1d139d);return _0x465d3a[_0x19703f(0x361)](_0x48c729),_0x465d3a;},'decrypt':function(_0x25f728,_0x26e733,_0x5d77ab,_0x48fdb6){const _0x38282d=_0x162c44;_0x48fdb6=this[_0x38282d(0x353)][_0x38282d(0x38a)](_0x48fdb6),_0x26e733=this[_0x38282d(0x4e0)](_0x26e733,_0x48fdb6[_0x38282d(0x2ac)]);var _0x27fa00=_0x48fdb6[_0x38282d(0x5ce)][_0x38282d(0x44b)](_0x5d77ab,_0x25f728[_0x38282d(0x5a4)],_0x25f728['ivSize'],_0x26e733[_0x38282d(0x38b)],_0x48fdb6[_0x38282d(0x29d)]);_0x48fdb6['iv']=_0x27fa00['iv'];var _0x5c7bfe=_0x1bb3e7['decrypt'][_0x38282d(0x4bb)](this,_0x25f728,_0x26e733,_0x27fa00['key'],_0x48fdb6);return _0x5c7bfe;}});}();}));}(qt)),qt[_0x13b4ac(0x3a4)];}(function(_0x10b475,_0x3dbcd8){(function(_0x93254e,_0x1a1853,_0x30bd82){_0x10b475['exports']=_0x1a1853(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x33336e){const _0x6d08a6=_0x54d3;return(function(){const _0x51b821=_0x54d3;var _0x38ac56=_0x33336e,_0x513926=_0x38ac56[_0x51b821(0x525)],_0x1dfffe=_0x513926['BlockCipher'],_0x1fe434=_0x38ac56[_0x51b821(0x30b)],_0x31a6c0=[],_0x2cadda=[],_0x542ed7=[],_0xbfca72=[],_0x75f0b8=[],_0x26b978=[],_0x239738=[],_0x4970b2=[],_0x850fb3=[],_0x3b958e=[];(function(){for(var _0x332543=[],_0x66df0b=0x0;_0x66df0b<0x100;_0x66df0b++)_0x66df0b<0x80?_0x332543[_0x66df0b]=_0x66df0b<<0x1:_0x332543[_0x66df0b]=_0x66df0b<<0x1^0x11b;for(var _0x3e1437=0x0,_0x2dba2f=0x0,_0x66df0b=0x0;_0x66df0b<0x100;_0x66df0b++){var _0x5c6bca=_0x2dba2f^_0x2dba2f<<0x1^_0x2dba2f<<0x2^_0x2dba2f<<0x3^_0x2dba2f<<0x4;_0x5c6bca=_0x5c6bca>>>0x8^_0x5c6bca&0xff^0x63,_0x31a6c0[_0x3e1437]=_0x5c6bca,_0x2cadda[_0x5c6bca]=_0x3e1437;var _0x2db15c=_0x332543[_0x3e1437],_0x206464=_0x332543[_0x2db15c],_0x57dde6=_0x332543[_0x206464],_0x393f92=_0x332543[_0x5c6bca]*0x101^_0x5c6bca*0x1010100;_0x542ed7[_0x3e1437]=_0x393f92<<0x18|_0x393f92>>>0x8,_0xbfca72[_0x3e1437]=_0x393f92<<0x10|_0x393f92>>>0x10,_0x75f0b8[_0x3e1437]=_0x393f92<<0x8|_0x393f92>>>0x18,_0x26b978[_0x3e1437]=_0x393f92;var _0x393f92=_0x57dde6*0x1010101^_0x206464*0x10001^_0x2db15c*0x101^_0x3e1437*0x1010100;_0x239738[_0x5c6bca]=_0x393f92<<0x18|_0x393f92>>>0x8,_0x4970b2[_0x5c6bca]=_0x393f92<<0x10|_0x393f92>>>0x10,_0x850fb3[_0x5c6bca]=_0x393f92<<0x8|_0x393f92>>>0x18,_0x3b958e[_0x5c6bca]=_0x393f92,_0x3e1437?(_0x3e1437=_0x2db15c^_0x332543[_0x332543[_0x332543[_0x57dde6^_0x2db15c]]],_0x2dba2f^=_0x332543[_0x332543[_0x2dba2f]]):_0x3e1437=_0x2dba2f=0x1;}}());var _0x118954=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5b3407=_0x1fe434[_0x51b821(0x3a1)]=_0x1dfffe[_0x51b821(0x38a)]({'_doReset':function(){const _0x3fd1fa=_0x51b821;var _0x4a240e;if(!(this[_0x3fd1fa(0x2f6)]&&this[_0x3fd1fa(0x4e6)]===this[_0x3fd1fa(0x520)])){for(var _0x1785dd=this[_0x3fd1fa(0x4e6)]=this[_0x3fd1fa(0x520)],_0x3fca76=_0x1785dd['words'],_0x297240=_0x1785dd[_0x3fd1fa(0x331)]/0x4,_0x1f75f2=this[_0x3fd1fa(0x2f6)]=_0x297240+0x6,_0x4b17d4=(_0x1f75f2+0x1)*0x4,_0x5c3de1=this[_0x3fd1fa(0x3cf)]=[],_0x1c18f4=0x0;_0x1c18f4<_0x4b17d4;_0x1c18f4++)_0x1c18f4<_0x297240?_0x5c3de1[_0x1c18f4]=_0x3fca76[_0x1c18f4]:(_0x4a240e=_0x5c3de1[_0x1c18f4-0x1],_0x1c18f4%_0x297240?_0x297240>0x6&&_0x1c18f4%_0x297240==0x4&&(_0x4a240e=_0x31a6c0[_0x4a240e>>>0x18]<<0x18|_0x31a6c0[_0x4a240e>>>0x10&0xff]<<0x10|_0x31a6c0[_0x4a240e>>>0x8&0xff]<<0x8|_0x31a6c0[_0x4a240e&0xff]):(_0x4a240e=_0x4a240e<<0x8|_0x4a240e>>>0x18,_0x4a240e=_0x31a6c0[_0x4a240e>>>0x18]<<0x18|_0x31a6c0[_0x4a240e>>>0x10&0xff]<<0x10|_0x31a6c0[_0x4a240e>>>0x8&0xff]<<0x8|_0x31a6c0[_0x4a240e&0xff],_0x4a240e^=_0x118954[_0x1c18f4/_0x297240|0x0]<<0x18),_0x5c3de1[_0x1c18f4]=_0x5c3de1[_0x1c18f4-_0x297240]^_0x4a240e);for(var _0x1ac713=this['_invKeySchedule']=[],_0x4511f6=0x0;_0x4511f6<_0x4b17d4;_0x4511f6++){var _0x1c18f4=_0x4b17d4-_0x4511f6;if(_0x4511f6%0x4)var _0x4a240e=_0x5c3de1[_0x1c18f4];else var _0x4a240e=_0x5c3de1[_0x1c18f4-0x4];_0x4511f6<0x4||_0x1c18f4<=0x4?_0x1ac713[_0x4511f6]=_0x4a240e:_0x1ac713[_0x4511f6]=_0x239738[_0x31a6c0[_0x4a240e>>>0x18]]^_0x4970b2[_0x31a6c0[_0x4a240e>>>0x10&0xff]]^_0x850fb3[_0x31a6c0[_0x4a240e>>>0x8&0xff]]^_0x3b958e[_0x31a6c0[_0x4a240e&0xff]];}}},'encryptBlock':function(_0x5349a1,_0x576bf5){const _0x3daef1=_0x51b821;this[_0x3daef1(0x4b9)](_0x5349a1,_0x576bf5,this[_0x3daef1(0x3cf)],_0x542ed7,_0xbfca72,_0x75f0b8,_0x26b978,_0x31a6c0);},'decryptBlock':function(_0x14d5e5,_0x20061d){const _0x3bef84=_0x51b821;var _0x5ef457=_0x14d5e5[_0x20061d+0x1];_0x14d5e5[_0x20061d+0x1]=_0x14d5e5[_0x20061d+0x3],_0x14d5e5[_0x20061d+0x3]=_0x5ef457,this[_0x3bef84(0x4b9)](_0x14d5e5,_0x20061d,this[_0x3bef84(0x2f7)],_0x239738,_0x4970b2,_0x850fb3,_0x3b958e,_0x2cadda);var _0x5ef457=_0x14d5e5[_0x20061d+0x1];_0x14d5e5[_0x20061d+0x1]=_0x14d5e5[_0x20061d+0x3],_0x14d5e5[_0x20061d+0x3]=_0x5ef457;},'_doCryptBlock':function(_0x4e75b7,_0x46ed08,_0x170d69,_0x2fdd85,_0x4a6391,_0x3e26f0,_0x397fa4,_0x3c2270){const _0x407ac0=_0x51b821;for(var _0x79cf82=this[_0x407ac0(0x2f6)],_0x45423c=_0x4e75b7[_0x46ed08]^_0x170d69[0x0],_0x24ecd4=_0x4e75b7[_0x46ed08+0x1]^_0x170d69[0x1],_0x16170c=_0x4e75b7[_0x46ed08+0x2]^_0x170d69[0x2],_0x5d7da7=_0x4e75b7[_0x46ed08+0x3]^_0x170d69[0x3],_0x2c486b=0x4,_0x57355c=0x1;_0x57355c<_0x79cf82;_0x57355c++){var _0x48a926=_0x2fdd85[_0x45423c>>>0x18]^_0x4a6391[_0x24ecd4>>>0x10&0xff]^_0x3e26f0[_0x16170c>>>0x8&0xff]^_0x397fa4[_0x5d7da7&0xff]^_0x170d69[_0x2c486b++],_0x495548=_0x2fdd85[_0x24ecd4>>>0x18]^_0x4a6391[_0x16170c>>>0x10&0xff]^_0x3e26f0[_0x5d7da7>>>0x8&0xff]^_0x397fa4[_0x45423c&0xff]^_0x170d69[_0x2c486b++],_0x2f7fc4=_0x2fdd85[_0x16170c>>>0x18]^_0x4a6391[_0x5d7da7>>>0x10&0xff]^_0x3e26f0[_0x45423c>>>0x8&0xff]^_0x397fa4[_0x24ecd4&0xff]^_0x170d69[_0x2c486b++],_0x528ee6=_0x2fdd85[_0x5d7da7>>>0x18]^_0x4a6391[_0x45423c>>>0x10&0xff]^_0x3e26f0[_0x24ecd4>>>0x8&0xff]^_0x397fa4[_0x16170c&0xff]^_0x170d69[_0x2c486b++];_0x45423c=_0x48a926,_0x24ecd4=_0x495548,_0x16170c=_0x2f7fc4,_0x5d7da7=_0x528ee6;}var _0x48a926=(_0x3c2270[_0x45423c>>>0x18]<<0x18|_0x3c2270[_0x24ecd4>>>0x10&0xff]<<0x10|_0x3c2270[_0x16170c>>>0x8&0xff]<<0x8|_0x3c2270[_0x5d7da7&0xff])^_0x170d69[_0x2c486b++],_0x495548=(_0x3c2270[_0x24ecd4>>>0x18]<<0x18|_0x3c2270[_0x16170c>>>0x10&0xff]<<0x10|_0x3c2270[_0x5d7da7>>>0x8&0xff]<<0x8|_0x3c2270[_0x45423c&0xff])^_0x170d69[_0x2c486b++],_0x2f7fc4=(_0x3c2270[_0x16170c>>>0x18]<<0x18|_0x3c2270[_0x5d7da7>>>0x10&0xff]<<0x10|_0x3c2270[_0x45423c>>>0x8&0xff]<<0x8|_0x3c2270[_0x24ecd4&0xff])^_0x170d69[_0x2c486b++],_0x528ee6=(_0x3c2270[_0x5d7da7>>>0x18]<<0x18|_0x3c2270[_0x45423c>>>0x10&0xff]<<0x10|_0x3c2270[_0x24ecd4>>>0x8&0xff]<<0x8|_0x3c2270[_0x16170c&0xff])^_0x170d69[_0x2c486b++];_0x4e75b7[_0x46ed08]=_0x48a926,_0x4e75b7[_0x46ed08+0x1]=_0x495548,_0x4e75b7[_0x46ed08+0x2]=_0x2f7fc4,_0x4e75b7[_0x46ed08+0x3]=_0x528ee6;},'keySize':0x100/0x20});_0x38ac56[_0x51b821(0x3a1)]=_0x1dfffe[_0x51b821(0x2db)](_0x5b3407);}()),_0x33336e[_0x6d08a6(0x3a1)];}));}(ji));var $a=ji['exports'];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x465309,_0x3b68e7){(function(_0x39c57c,_0x288ae0){const _0x2f4090=_0x54d3;_0x465309[_0x2f4090(0x3a4)]=_0x288ae0(ue());}(Z,function(_0x54668c){const _0x5019c6=_0x54d3;return _0x54668c['enc'][_0x5019c6(0x572)];}));}(Fi));var Ba=Fi[_0x1a7f07(0x3a4)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x43f913,_0x101315){(function(_0x45d1ae,_0x2b0934){const _0x142535=_0x54d3;_0x43f913[_0x142535(0x3a4)]=_0x2b0934(ue());}(Z,function(_0x4926ef){return(function(){const _0x3006d5=_0x54d3;if(typeof ArrayBuffer==_0x3006d5(0x494)){var _0x3ef2ce=_0x4926ef,_0x276c8a=_0x3ef2ce[_0x3006d5(0x525)],_0x1620c7=_0x276c8a['WordArray'],_0x4ec33d=_0x1620c7[_0x3006d5(0x3ae)],_0x56f182=_0x1620c7[_0x3006d5(0x3ae)]=function(_0x29d1bc){const _0x400370=_0x3006d5;if(_0x29d1bc instanceof ArrayBuffer&&(_0x29d1bc=new Uint8Array(_0x29d1bc)),(_0x29d1bc instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x29d1bc instanceof Uint8ClampedArray||_0x29d1bc instanceof Int16Array||_0x29d1bc instanceof Uint16Array||_0x29d1bc instanceof Int32Array||_0x29d1bc instanceof Uint32Array||_0x29d1bc instanceof Float32Array||_0x29d1bc instanceof Float64Array)&&(_0x29d1bc=new Uint8Array(_0x29d1bc['buffer'],_0x29d1bc[_0x400370(0x42a)],_0x29d1bc['byteLength'])),_0x29d1bc instanceof Uint8Array){for(var _0xb3f42a=_0x29d1bc['byteLength'],_0x4769b5=[],_0x36d9e0=0x0;_0x36d9e0<_0xb3f42a;_0x36d9e0++)_0x4769b5[_0x36d9e0>>>0x2]|=_0x29d1bc[_0x36d9e0]<<0x18-_0x36d9e0%0x4*0x8;_0x4ec33d[_0x400370(0x4bb)](this,_0x4769b5,_0xb3f42a);}else _0x4ec33d[_0x400370(0x49a)](this,arguments);};_0x56f182['prototype']=_0x1620c7;}}()),_0x4926ef['lib']['WordArray'];}));}(Vi));var Wa=Vi[_0x1a7f07(0x3a4)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x2ef3d5,_0x30963a){(function(_0x33181f,_0x4a946f,_0x49aa77){const _0x408e59=_0x54d3;_0x2ef3d5[_0x408e59(0x3a4)]=_0x4a946f(ue(),Wi());}(Z,function(_0x28bc87){const _0xdd2da1=_0x54d3;return _0x28bc87[_0xdd2da1(0x1dc)][_0xdd2da1(0x57e)]={'pad':function(){},'unpad':function(){}},_0x28bc87['pad']['NoPadding'];}));}(Gi));var Va=Gi[_0x1a7f07(0x3a4)];const Ga=at(Va);function Ya(_0x1af6f1,_0x2a1b99){const _0x15c0c8=_0x1a7f07,_0x133368=_0x2a1b99-_0x1af6f1['length']%_0x2a1b99,_0x7f0efa=String['fromCharCode'](_0x133368)[_0x15c0c8(0x392)](_0x133368);return _0x1af6f1+_0x7f0efa;}function Ka(_0x3f2a95,_0x37cdf9){const _0x1231ef=_0x1a7f07,_0x3ead33=Fa[_0x1231ef(0x463)](0x10),_0x50ec44=Ya(_0x3f2a95,0x10),_0xee4255=Ha[_0x1231ef(0x255)](ka['parse'](_0x50ec44),ii['parse'](_0x37cdf9),{'iv':_0x3ead33,'padding':Ga});return _0x3ead33['concat'](_0xee4255[_0x1231ef(0x268)])['toString'](ii);}function za(){const _0x2f7b1e=_0x1a7f07,_0x4f320f=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x4f320f){const _0x2f4286={'time':Math[_0x2f7b1e(0x358)](Date[_0x2f7b1e(0x3f7)]()/0x3e8),'domain':location['hostname']};return Ka(JSON['stringify'](_0x2f4286),_0x4f320f);}}var qa=Object[_0x1a7f07(0x5b3)],Xa=Object[_0x1a7f07(0x298)],Ja=(_0x1e65cb,_0x51a118,_0x301c61,_0x1db074)=>{const _0x1cfe51=_0x1a7f07;for(var _0x383d73=_0x1db074>0x1?void 0x0:_0x1db074?Xa(_0x51a118,_0x301c61):_0x51a118,_0x4689d8=_0x1e65cb[_0x1cfe51(0x5bc)]-0x1,_0x20b221;_0x4689d8>=0x0;_0x4689d8--)(_0x20b221=_0x1e65cb[_0x4689d8])&&(_0x383d73=(_0x1db074?_0x20b221(_0x51a118,_0x301c61,_0x383d73):_0x20b221(_0x383d73))||_0x383d73);return _0x1db074&&_0x383d73&&qa(_0x51a118,_0x301c61,_0x383d73),_0x383d73;},Za=(_0x509c6e,_0x163c03)=>(_0x1b0320,_0x564aba)=>_0x163c03(_0x1b0320,_0x564aba,_0x509c6e);let Tt=class{constructor(_0x505906){const _0x3435e1=_0x1a7f07;this[_0x3435e1(0x24d)]=_0x505906,this[_0x3435e1(0x594)]();}[_0x1a7f07(0x594)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3a5cd1,_0x422b5d)=>{const _0x2760dc=_0x54d3,_0x1b67af=_0x3a5cd1[_0x2760dc(0x3bc)],_0x4d4650=za();return _0x4d4650&&_0x1b67af[_0x2760dc(0x3f4)](_0x2760dc(0x1ef),_0x4d4650),_0x422b5d(_0x3a5cd1);}});}};Tt=Ja([Za(0x0,_0x5cf6ec(_0x337047))],Tt);var Qa=Object[_0x1a7f07(0x5b3)],ec=Object[_0x1a7f07(0x298)],tc=(_0x654316,_0x474767,_0x50215b,_0x12fdb2)=>{const _0x3585bd=_0x1a7f07;for(var _0x5b578b=_0x12fdb2>0x1?void 0x0:_0x12fdb2?ec(_0x474767,_0x50215b):_0x474767,_0x34e34c=_0x654316[_0x3585bd(0x5bc)]-0x1,_0xecd20b;_0x34e34c>=0x0;_0x34e34c--)(_0xecd20b=_0x654316[_0x34e34c])&&(_0x5b578b=(_0x12fdb2?_0xecd20b(_0x474767,_0x50215b,_0x5b578b):_0xecd20b(_0x5b578b))||_0x5b578b);return _0x12fdb2&&_0x5b578b&&Qa(_0x474767,_0x50215b,_0x5b578b),_0x5b578b;},Xt=(_0x7a01f5,_0x4043dd)=>(_0x41bdde,_0x1cabab)=>_0x4043dd(_0x41bdde,_0x1cabab,_0x7a01f5);const sc=[_0x1a7f07(0x339),_0x1a7f07(0x50e),_0x1a7f07(0x5a3),_0x1a7f07(0x5a8),_0x1a7f07(0x4f2)],ic=0x5*0x400*0x400,nc=_0x1a7f07(0x42e),rc='/universer-api/stream/file/upload',oc=_0x1a7f07(0x40f),ac=_0x1a7f07(0x4a9);let hs=class{constructor(_0x214df6,_0x331b81,_0x7b91a6){const _0x4eb7bc=_0x1a7f07;g(this,_0x4eb7bc(0x254),0x0),g(this,_0x4eb7bc(0x39d),new _0x50574e()),g(this,'change$',this[_0x4eb7bc(0x39d)]),g(this,_0x4eb7bc(0x263),new Map()),(this[_0x4eb7bc(0x24d)]=_0x214df6,this[_0x4eb7bc(0x428)]=_0x331b81,this['_univerInstanceService']=_0x7b91a6);}[_0x1a7f07(0x567)](_0x1e72a5){const _0x57b401=_0x1a7f07;this[_0x57b401(0x254)]=_0x1e72a5,this[_0x57b401(0x39d)]['next'](_0x1e72a5);}[_0x1a7f07(0x3f8)](_0x1dfd83,_0x179f79){const _0x1a5893=_0x1a7f07;if(_0x179f79===_0x346cdb['BASE64']){const _0x1990b9=new Image();return _0x1990b9[_0x1a5893(0x2f5)]=_0x1dfd83,_0x1990b9;}return this[_0x1a5893(0x263)][_0x1a5893(0x59a)](_0x1dfd83);}[_0x1a7f07(0x490)](_0x20a7f4,_0x23b8bd,_0x353e13){const _0x4d2709=_0x1a7f07;_0x23b8bd===_0x346cdb[_0x4d2709(0x1d7)]||_0x353e13==null||this[_0x4d2709(0x263)]['set'](_0x20a7f4,_0x353e13);}async[_0x1a7f07(0x413)](_0x236575){const _0x373b66=_0x1a7f07;try{const _0x275578=this[_0x373b66(0x25c)](this[_0x373b66(0x5a1)](),''+_0x236575),_0x2fcfdd=(await this['_httpService'][_0x373b66(0x59a)](_0x275578))['body'];if(_0x2fcfdd[_0x373b66(0x3eb)]&&_0x2fcfdd[_0x373b66(0x3eb)][_0x373b66(0x434)]===Ri['OK']){const _0x287ca8=new URL(_0x2fcfdd['url'],this[_0x373b66(0x582)]())[_0x373b66(0x297)]();return Promise['resolve'](_0x287ca8);}return Promise[_0x373b66(0x57a)](_0x2fcfdd[_0x373b66(0x3eb)]);}catch(_0x20c52e){return Promise[_0x373b66(0x57a)](_0x20c52e);}}async[_0x1a7f07(0x351)](_0x55cf12){const _0x2cb19a=_0x1a7f07;let _0x2c2e38='';if(!sc[_0x2cb19a(0x41e)](_0x55cf12[_0x2cb19a(0x23c)]))return this[_0x2cb19a(0x284)](),Promise['reject'](new Error(_0x3ce856[_0x2cb19a(0x29e)]));if(_0x55cf12[_0x2cb19a(0x252)]>ic)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3ce856['ERROR_EXCEED_SIZE']));try{const _0x4f1925=new FormData();_0x4f1925[_0x2cb19a(0x4dc)](_0x2cb19a(0x264),_0x55cf12);const _0x319d22=this[_0x2cb19a(0x44e)][_0x2cb19a(0x3db)](),_0x440737=_0x319d22==null?void 0x0:_0x319d22[_0x2cb19a(0x5c1)]();if(!_0x440737)throw new Error(_0x2cb19a(0x4d6));const _0x517c72=this['_getUploadFileURL']()+'?size='+_0x55cf12[_0x2cb19a(0x252)]['toString']()+_0x2cb19a(0x3c0)+yi['UnitEmbedded']+_0x2cb19a(0x223)+encodeURIComponent(_0x440737),_0x5c97b5=await(await fetch(_0x517c72,{'method':_0x2cb19a(0x212),'body':_0x4f1925}))[_0x2cb19a(0x563)]();if(typeof _0x5c97b5['FileId']!=_0x2cb19a(0x3b1))return this[_0x2cb19a(0x284)](),Promise[_0x2cb19a(0x57a)](new Error(_0x3ce856[_0x2cb19a(0x3d6)]));_0x2c2e38=_0x5c97b5['FileId'];}catch{return this[_0x2cb19a(0x284)](),Promise[_0x2cb19a(0x57a)](new Error(_0x3ce856[_0x2cb19a(0x3d6)]));}return new Promise((_0x57762d,_0xa01fd3)=>{const _0x5cc92b=new FileReader();_0x5cc92b['readAsDataURL'](_0x55cf12),_0x5cc92b['onload']=_0x448fb7=>{const _0x6c27d2=_0x54d3;var _0x440abb;const _0x3d883d=(_0x440abb=_0x448fb7[_0x6c27d2(0x4d8)])==null?void 0x0:_0x440abb[_0x6c27d2(0x2a5)];if(_0x3d883d==null){this[_0x6c27d2(0x284)](),_0xa01fd3(new Error(_0x3ce856['ERROR_IMAGE']));return;}const _0x105e0f=_0x235991[_0x6c27d2(0x59c)](0x6);_0x57762d({'imageId':_0x105e0f,'imageSourceType':_0x346cdb[_0x6c27d2(0x45a)],'source':_0x2c2e38,'base64Cache':_0x3d883d,'status':_0x3ce856[_0x6c27d2(0x3b2)]}),this[_0x6c27d2(0x284)]();};});}[_0x1a7f07(0x1d1)](){const _0x2a9118=_0x1a7f07;var _0x49982b,_0x2f3f9a;const _0x380aaf=this['_configService']['getConfig'](nc),_0x598a5a=this[_0x2a9118(0x428)][_0x2a9118(0x1bf)](ie);return(_0x2f3f9a=(_0x49982b=_0x598a5a==null?void 0x0:_0x598a5a[_0x2a9118(0x427)])!=null?_0x49982b:_0x380aaf)!=null?_0x2f3f9a:rc;}[_0x1a7f07(0x5a1)](){const _0x1c7073=_0x1a7f07;var _0x1350a5,_0x24c3c7;const _0x1df300=this[_0x1c7073(0x428)][_0x1c7073(0x1bf)](oc),_0x2865a3=this['_configService'][_0x1c7073(0x1bf)](ie);return(_0x24c3c7=(_0x1350a5=_0x2865a3==null?void 0x0:_0x2865a3[_0x1c7073(0x421)])!=null?_0x1350a5:_0x1df300)!=null?_0x24c3c7:ac;}[_0x1a7f07(0x582)](){const _0x5ef77f=_0x1a7f07;var _0x1a7a14;const _0xdbf8f7=this[_0x5ef77f(0x428)][_0x5ef77f(0x1bf)](ie);return(_0x1a7a14=_0xdbf8f7==null?void 0x0:_0xdbf8f7[_0x5ef77f(0x3e6)])!=null?_0x1a7a14:location[_0x5ef77f(0x2fb)];}['_replaceFileID'](_0x1b95c6,_0x157081){const _0x4aefff=_0x1a7f07;return _0x1b95c6[_0x4aefff(0x5ab)](_0x4aefff(0x588),_0x157081);}[_0x1a7f07(0x284)](){const _0x4aa4b5=_0x1a7f07;this['_waitCount']-=0x1,this[_0x4aa4b5(0x39d)][_0x4aa4b5(0x265)](this[_0x4aa4b5(0x254)]);}};hs=tc([Xt(0x0,_0x5cf6ec(_0x337047)),Xt(0x1,_0x34b905),Xt(0x2,_0x5cf6ec(_0x1726a1))],hs);var cc=Object['defineProperty'],hc=Object['getOwnPropertyDescriptor'],lc=(_0x37ec9e,_0x539b86,_0x440cee,_0x34e97f)=>{for(var _0x4daf86=_0x34e97f>0x1?void 0x0:_0x34e97f?hc(_0x539b86,_0x440cee):_0x539b86,_0x3aa711=_0x37ec9e['length']-0x1,_0x55be64;_0x3aa711>=0x0;_0x3aa711--)(_0x55be64=_0x37ec9e[_0x3aa711])&&(_0x4daf86=(_0x34e97f?_0x55be64(_0x539b86,_0x440cee,_0x4daf86):_0x55be64(_0x4daf86))||_0x4daf86);return _0x34e97f&&_0x4daf86&&cc(_0x539b86,_0x440cee,_0x4daf86),_0x4daf86;},Qe=(_0x57de06,_0x4e01ed)=>(_0x35f3ab,_0x3d1d64)=>_0x4e01ed(_0x35f3ab,_0x3d1d64,_0x57de06);let Rt=class extends _0x1cb902{constructor(_0x52b0c1,_0x73497d,_0x58f4f5,_0x4cb970,_0x131cd6){const _0x22c5e8=_0x1a7f07;super(),this[_0x22c5e8(0x4d5)]=_0x52b0c1,this['_univerInstanceService']=_0x73497d,this[_0x22c5e8(0x47b)]=_0x58f4f5,this[_0x22c5e8(0x2cd)]=_0x4cb970,this['_localeService']=_0x131cd6,this['_initUnitPermissionChange'](),this[_0x22c5e8(0x3d3)]();}[_0x1a7f07(0x3d3)](){const _0x3c660b=_0x1a7f07,_0x3b4fc0=async _0xa9b246=>{const _0x5b3d80=_0x54d3;(await this['_collaborationSessionService']['requireSession'](_0xa9b246))['event$'][_0x5b3d80(0x1cf)](_0x5cdcf5(_0x136af7=>_0x136af7[_0x5b3d80(0x215)]===_0x4e3c97[_0x5b3d80(0x585)]),_0x2d8749(this[_0x5b3d80(0x22c)]))['subscribe'](_0x56a9d6=>{const _0x13998b=_0x5b3d80,_0x3b6408=_0x56a9d6,{reason:_0x33a7da}=_0x3b6408[_0x13998b(0x32e)];this[_0x13998b(0x4d5)][_0x13998b(0x59a)](_0x521fac)['show']({'type':_0x4c03fa['Error'],'content':this[_0x13998b(0x47a)]['t'](_0x13998b(0x5cc))+'('+_0x33a7da+')'}),this[_0x13998b(0x47b)][_0x13998b(0x288)](new _0x5bdffd(_0xa9b246)['id'],!0x1),this['_collaborationSessionService'][_0x13998b(0x365)](_0xa9b246);});};_0x407b74(this[_0x3c660b(0x44e)][_0x3c660b(0x5b8)](_0x31d58f[_0x3c660b(0x3a2)]),this[_0x3c660b(0x44e)][_0x3c660b(0x5b8)](_0x31d58f[_0x3c660b(0x51a)]))[_0x3c660b(0x1cf)](_0x4e0bfc(_0x50b9f3=>_0x50b9f3[_0x3c660b(0x5c1)]()),_0x5cdcf5(_0x54b499=>!_0x47f4f5(_0x54b499)),_0x2d8749(this['dispose$']))[_0x3c660b(0x29f)](_0x49be40=>{_0x3b4fc0(_0x49be40);});}[_0x1a7f07(0x24b)](){const _0x360a90=_0x1a7f07,_0x4acd47=async _0x35562a=>{const _0x5bfbb2=_0x54d3;(await this['_collaborationSessionService'][_0x5bfbb2(0x2ad)](_0x35562a))[_0x5bfbb2(0x46f)][_0x5bfbb2(0x1cf)](_0x5cdcf5(_0x9fc4ed=>_0x9fc4ed['eventID']===_0x4e3c97[_0x5bfbb2(0x576)]),_0x2d8749(this[_0x5bfbb2(0x22c)]))[_0x5bfbb2(0x29f)](_0x2bd1f0=>{const _0x1f357c=_0x5bfbb2,_0x44fe31=_0x2bd1f0,{objectId:_0x5a42d8}=_0x44fe31['data'],_0x2696df=this[_0x1f357c(0x4d5)][_0x1f357c(0x59a)](_0xdfbf90);_0x5a42d8===_0x35562a?_0x2696df['initWorkbookPermissionChange'](_0x35562a):_0x2696df[_0x1f357c(0x4cf)](_0x35562a,_0x5a42d8);});};_0x407b74(this[_0x360a90(0x44e)][_0x360a90(0x5b8)](_0x31d58f['UNIVER_SHEET']),this[_0x360a90(0x44e)][_0x360a90(0x5b8)](_0x31d58f['UNIVER_DOC']))['pipe'](_0x4e0bfc(_0x1f5159=>_0x1f5159[_0x360a90(0x5c1)]()),_0x5cdcf5(_0x5678e6=>!_0x47f4f5(_0x5678e6)),_0x2d8749(this[_0x360a90(0x22c)]))['subscribe'](_0x52d089=>{_0x4acd47(_0x52d089);});}};Rt=lc([Qe(0x0,_0x5cf6ec(_0xc0c089)),Qe(0x1,_0x1726a1),Qe(0x2,_0x1083e0),Qe(0x3,_0x5cf6ec(Ae)),Qe(0x4,_0x5cf6ec(_0x51f47a))],Rt);var _c=Object[_0x1a7f07(0x5b3)],uc=Object['getOwnPropertyDescriptor'],dc=(_0x2a7f1e,_0x3ee43a,_0x3682b0,_0xbdfa05)=>{const _0x4e63e6=_0x1a7f07;for(var _0x15eaf4=_0xbdfa05>0x1?void 0x0:_0xbdfa05?uc(_0x3ee43a,_0x3682b0):_0x3ee43a,_0x4c033c=_0x2a7f1e[_0x4e63e6(0x5bc)]-0x1,_0x24a6bb;_0x4c033c>=0x0;_0x4c033c--)(_0x24a6bb=_0x2a7f1e[_0x4c033c])&&(_0x15eaf4=(_0xbdfa05?_0x24a6bb(_0x3ee43a,_0x3682b0,_0x15eaf4):_0x24a6bb(_0x15eaf4))||_0x15eaf4);return _0xbdfa05&&_0x15eaf4&&_c(_0x3ee43a,_0x3682b0,_0x15eaf4),_0x15eaf4;},ni=(_0x84ddd0,_0x29440a)=>(_0x9f39e8,_0x4ff807)=>_0x29440a(_0x9f39e8,_0x4ff807,_0x84ddd0);let ls=class{constructor(_0x4799c2,_0x18580f){const _0x17a7a5=_0x1a7f07;this[_0x17a7a5(0x428)]=_0x4799c2,this[_0x17a7a5(0x24d)]=_0x18580f;}async['getUnitOnRev'](_0x587ab9,_0x5e79ee){const _0x33204b=_0x1a7f07;var _0x29919a;const {unitID:_0xac132d,type:_0x41b15f,revision:_0x4fece6=0x0}=_0x5e79ee,_0x92424a=this[_0x33204b(0x4d4)]()+'/'+_0x41b15f+_0x33204b(0x27f)+_0xac132d+_0x33204b(0x3cb)+_0x4fece6,_0x5753d0=(await this[_0x33204b(0x24d)][_0x33204b(0x59a)](_0x92424a))[_0x33204b(0x312)],_0x479282=(_0x29919a=_0x5753d0[_0x33204b(0x211)])==null?void 0x0:_0x29919a[_0x33204b(0x2ca)];if(_0x479282){const _0x33ac06=_0x479282==null?void 0x0:_0x479282[_0x33204b(0x385)],_0x42f86e=_0x1c89a9[_0x33204b(0x4ca)](_0x330a6d(_0x33ac06));_0x479282[_0x33204b(0x385)]=_0x42f86e,Object[_0x33204b(0x555)](_0x479282['sheets'])[_0x33204b(0x547)](([,_0x3fc174])=>{const _0x4369c5=_0x33204b,_0x354e7b=_0x3fc174[_0x4369c5(0x385)],_0x348a0c=_0x1c89a9[_0x4369c5(0x4ca)](_0x330a6d(_0x354e7b));_0x3fc174[_0x4369c5(0x385)]=_0x348a0c;});}return _0x5753d0;}async['getSheetBlock'](_0x40096c,_0x16d69a){const _0xc5cb5e=_0x1a7f07,{unitID:_0x3b65fe,type:_0x27b7cd,blockID:_0xbebb0b}=_0x16d69a,_0x4add0a=this[_0xc5cb5e(0x322)]()+'/'+_0x27b7cd+_0xc5cb5e(0x27f)+_0x3b65fe+_0xc5cb5e(0x2cb)+_0xbebb0b;return(await this[_0xc5cb5e(0x24d)][_0xc5cb5e(0x59a)](_0x4add0a))[_0xc5cb5e(0x312)];}async[_0x1a7f07(0x38e)](_0x26d890,_0x48e6a1){const _0x173df2=_0x1a7f07,{unitID:_0x178db7,type:_0x1bb987,blockID:_0x54c002}=_0x48e6a1,_0x588a80=this['_getAPIPrefix']()+'/block/'+_0x1bb987+_0x173df2(0x27f)+_0x178db7+_0x173df2(0x2cb)+_0x54c002;return(await this['_httpService'][_0x173df2(0x59a)](_0x588a80))['body'];}async[_0x1a7f07(0x36d)](_0x353b07,_0x4b0e9d){const _0x35b3f2=_0x1a7f07,{unitID:_0x3c4596,type:_0xfa1870,from:_0x30bd89,to:_0x1b5579}=_0x4b0e9d,_0x5e30db=this[_0x35b3f2(0x322)]()+'/'+_0xfa1870+_0x35b3f2(0x27f)+_0x3c4596+_0x35b3f2(0x52f)+_0x30bd89+_0x35b3f2(0x2bc)+_0x1b5579;return(await this['_httpService'][_0x35b3f2(0x59a)](_0x5e30db))[_0x35b3f2(0x312)];}['_getSnapshotAPIPrefix'](){const _0x2798bb=_0x1a7f07;var _0xe18dc3;return(_0xe18dc3=this[_0x2798bb(0x428)][_0x2798bb(0x1bf)](ar))!=null?_0xe18dc3:this[_0x2798bb(0x322)]();}[_0x1a7f07(0x322)](){const _0x31c49a=_0x1a7f07;var _0x207a97,_0x46e29e;const _0x52fe96=this[_0x31c49a(0x428)]['getConfig'](rr),_0x500dbd=this[_0x31c49a(0x428)][_0x31c49a(0x1bf)](ie);return(_0x46e29e=(_0x207a97=_0x500dbd==null?void 0x0:_0x500dbd[_0x31c49a(0x32f)])!=null?_0x207a97:_0x52fe96)!=null?_0x46e29e:or;}async['getResourcesRequest'](_0x4fa95e,_0xf6649a){const _0x4c8e07=_0x1a7f07,_0x505c18=_0x4c8e07(0x2a0)+_0xf6649a[_0x4c8e07(0x23c)]+'/unit/'+_0xf6649a[_0x4c8e07(0x5b2)]+_0x4c8e07(0x4fb);return(await this[_0x4c8e07(0x24d)]['get'](_0x505c18,{'params':{'resourceId':JSON[_0x4c8e07(0x52c)](_0xf6649a[_0x4c8e07(0x308)])}}))[_0x4c8e07(0x312)];}[_0x1a7f07(0x491)](){const _0x363050=_0x1a7f07;throw new Error(_0x363050(0x4fc));}[_0x1a7f07(0x406)](){const _0x1ee543=_0x1a7f07;throw new Error(_0x1ee543(0x4fc));}[_0x1a7f07(0x20c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1a7f07(0x27a)](){const _0x4f8ae6=_0x1a7f07;throw new Error(_0x4f8ae6(0x4fc));}[_0x1a7f07(0x346)](){const _0x112432=_0x1a7f07;throw new Error(_0x112432(0x4fc));}};ls=dc([ni(0x0,_0x34b905),ni(0x1,_0x5cf6ec(_0x337047))],ls);var fc=Object[_0x1a7f07(0x5b3)],vc=Object['getOwnPropertyDescriptor'],mc=(_0x2470fe,_0x43052b,_0x4a1eb4,_0x4f336c)=>{const _0x43efe0=_0x1a7f07;for(var _0x296ee7=_0x4f336c>0x1?void 0x0:_0x4f336c?vc(_0x43052b,_0x4a1eb4):_0x43052b,_0x1b73bb=_0x2470fe[_0x43efe0(0x5bc)]-0x1,_0x1e6722;_0x1b73bb>=0x0;_0x1b73bb--)(_0x1e6722=_0x2470fe[_0x1b73bb])&&(_0x296ee7=(_0x4f336c?_0x1e6722(_0x43052b,_0x4a1eb4,_0x296ee7):_0x1e6722(_0x296ee7))||_0x296ee7);return _0x4f336c&&_0x296ee7&&fc(_0x43052b,_0x4a1eb4,_0x296ee7),_0x296ee7;},et=(_0x6c5cb8,_0xa52185)=>(_0x55743b,_0x27754c)=>_0xa52185(_0x55743b,_0x27754c,_0x6c5cb8);let _s=class extends _0x3c699e{constructor(_0x2ca6b6,_0x4ddd32,_0xf5588e,_0x4f9636,_0x67e51f){const _0x27b06f=_0x1a7f07;super(_0x2ca6b6,_0x4ddd32,_0xf5588e),this[_0x27b06f(0x4af)]=_0x4f9636,this[_0x27b06f(0x345)]=_0x67e51f;}[_0x1a7f07(0x243)](_0x1cc529,_0xad62b9){const _0x5d9a4c=_0x1a7f07,_0x5134d=this[_0x5d9a4c(0x2f1)](_0x1cc529);if(_0x5134d)try{const _0x29acf0=this[_0x5d9a4c(0x3f2)](_0x5134d,_0xad62b9);this['_substituteUndoStack'](_0x1cc529,_0x29acf0);}catch(_0x59b373){this[_0x5d9a4c(0x345)][_0x5d9a4c(0x3eb)](_0x5d9a4c(0x2c1),_0x59b373),this['_clearUndo'](_0x1cc529);}const _0x57f634=this[_0x5d9a4c(0x274)](_0x1cc529);if(_0x57f634)try{const _0x15514f=this['_transformStack'](_0x57f634,_0xad62b9);this[_0x5d9a4c(0x2b1)](_0x1cc529,_0x15514f);}catch(_0x4333dc){this[_0x5d9a4c(0x345)][_0x5d9a4c(0x3eb)](_0x4333dc),this[_0x5d9a4c(0x47e)](_0x1cc529);}}[_0x1a7f07(0x4f6)](_0x205a49){const _0x11b861=_0x1a7f07,_0x424003=this['_getUndoStack'](_0x205a49);_0x424003&&(_0x424003[_0x11b861(0x5bc)]=0x0,this[_0x11b861(0x2cc)]());}[_0x1a7f07(0x47e)](_0x4fefc5){const _0x3f49ac=_0x1a7f07,_0x190824=this['_getRedoStack'](_0x4fefc5);_0x190824&&(_0x190824['length']=0x0,this[_0x3f49ac(0x2cc)]());}[_0x1a7f07(0x26d)](_0x4f9faa,_0xb2d9cc){const _0x264421=_0x1a7f07;this[_0x264421(0x31c)][_0x264421(0x3f4)](_0x4f9faa,_0xb2d9cc),this['_updateStatus']();}[_0x1a7f07(0x2b1)](_0x92d701,_0xb504b6){const _0x5cd1c3=_0x1a7f07;this[_0x5cd1c3(0x309)]['set'](_0x92d701,_0xb504b6),this[_0x5cd1c3(0x2cc)]();}[_0x1a7f07(0x3f2)](_0x1e03a4,_0x1585a3){const _0x241636=_0x1a7f07,_0x3f3daf=[];let _0x449368=_0x1585a3,_0x4b05c4=_0x1585a3;for(let _0x3aea44=_0x1e03a4[_0x241636(0x5bc)]-0x1;_0x3aea44>=0x0;_0x3aea44--){const {unitID:_0x1285e1,undoMutations:_0x5050ff,redoMutations:_0xd8413c}=_0x1e03a4[_0x3aea44],_0x306643=this[_0x241636(0x4af)][_0x241636(0x469)](_0x449368,_0x5050ff),_0x2e4bc6=this[_0x241636(0x4af)][_0x241636(0x469)](_0x4b05c4,_0xd8413c);if(_0xa87d82(_0x306643)||_0xa87d82(_0x2e4bc6)){this[_0x241636(0x345)][_0x241636(0x3eb)](_0x241636(0x2c1),_0x241636(0x556),_0x306643,_0x2e4bc6);break;}_0x449368=_0x306643[_0x241636(0x435)],_0x4b05c4=_0x2e4bc6['c1Prime'],_0x3f3daf[_0x241636(0x4b6)]({'unitID':_0x1285e1,'undoMutations':_0x306643[_0x241636(0x2e3)],'redoMutations':_0x2e4bc6[_0x241636(0x2e3)]});}return _0x3f3daf[_0x241636(0x1d9)]();}};_s=mc([et(0x0,_0x1726a1),et(0x1,_0x322b66),et(0x2,_0x49ed20),et(0x3,_0x2746ae),et(0x4,_0x1e210b)],_s);class pc extends _0x1cb902{constructor(){const _0x2e6f9b=_0x1a7f07;super(),g(this,_0x2e6f9b(0x5c9)),this[_0x2e6f9b(0x5c9)]=_0x47503d(window,_0x2e6f9b(0x396))['pipe'](_0x171184(this['dispose$']),_0x2b0828(0x1),_0x527bfc(void 0x0));}[_0x1a7f07(0x5a5)](_0x3cf9b3,_0x1fc751,_0x1c2fdd=!0x1){const _0x1a6e0c=_0x1a7f07,_0x4108c3=new URL(window[_0x1a6e0c(0x51d)]['href']);_0x4108c3[_0x1a6e0c(0x1da)]['set'](_0x3cf9b3,_0x1fc751),_0x1c2fdd?window['history'][_0x1a6e0c(0x4ba)]('','',_0x4108c3[_0x1a6e0c(0x297)]()):window[_0x1a6e0c(0x5c6)][_0x1a6e0c(0x3a0)]('','',_0x4108c3[_0x1a6e0c(0x297)]());}[_0x1a7f07(0x1d3)](_0x11289d,_0x382326=!0x1){const _0x47fece=_0x1a7f07,_0x436208=new URL(window[_0x47fece(0x51d)]['href']);_0x436208[_0x47fece(0x1da)][_0x47fece(0x473)](_0x11289d),_0x382326?window[_0x47fece(0x5c6)]['replaceState']('','',_0x436208[_0x47fece(0x297)]()):window['history'][_0x47fece(0x3a0)]('','',_0x436208[_0x47fece(0x297)]());}[_0x1a7f07(0x23e)](_0x420dd5){const _0x379432=_0x1a7f07;var _0x55e8fb;return(_0x55e8fb=new URL(window[_0x379432(0x51d)][_0x379432(0x407)])[_0x379432(0x1da)][_0x379432(0x59a)](_0x420dd5))!=null?_0x55e8fb:void 0x0;}}var Yi=Object['defineProperty'],gc=Object[_0x1a7f07(0x298)],Sc=(_0x438d05,_0x547172,_0x363155)=>_0x547172 in _0x438d05?Yi(_0x438d05,_0x547172,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x363155}):_0x438d05[_0x547172]=_0x363155,Ic=(_0x4cc60e,_0x16c0ae,_0x4d18b,_0x4d5b34)=>{const _0x4423b6=_0x1a7f07;for(var _0x1a1b5b=_0x4d5b34>0x1?void 0x0:_0x4d5b34?gc(_0x16c0ae,_0x4d18b):_0x16c0ae,_0x1fac98=_0x4cc60e[_0x4423b6(0x5bc)]-0x1,_0xe33823;_0x1fac98>=0x0;_0x1fac98--)(_0xe33823=_0x4cc60e[_0x1fac98])&&(_0x1a1b5b=(_0x4d5b34?_0xe33823(_0x16c0ae,_0x4d18b,_0x1a1b5b):_0xe33823(_0x1a1b5b))||_0x1a1b5b);return _0x4d5b34&&_0x1a1b5b&&Yi(_0x16c0ae,_0x4d18b,_0x1a1b5b),_0x1a1b5b;},_t=(_0x39c2b5,_0x529f72)=>(_0xdd3c5a,_0x375d67)=>_0x529f72(_0xdd3c5a,_0x375d67,_0x39c2b5),Cc=(_0x23d55d,_0x2f7974,_0x4c8108)=>Sc(_0x23d55d,_0x2f7974+'',_0x4c8108);const Ec=_0x1a7f07(0x432);let us=class extends _0x1dbbfd{constructor(_0x105ad4=Er,_0x34b056,_0x14cdee,_0x5424d1,_0x675be9){const _0x263263=_0x1a7f07;super(),this['_config']=_0x105ad4,this[_0x263263(0x345)]=_0x34b056,this[_0x263263(0x1e2)]=_0x14cdee,this[_0x263263(0x4d5)]=_0x5424d1,this['_configService']=_0x675be9;const {..._0x66bea9}=this[_0x263263(0x1e0)];this[_0x263263(0x428)]['setConfig'](ie,_0x66bea9);}[_0x1a7f07(0x2c8)](){const _0x4ef381=_0x1a7f07;this[_0x4ef381(0x4f0)](),this[_0x4ef381(0x5b6)]();}[_0x1a7f07(0x32c)](){_0x9ace4b(this['_injector'],[[Et]]);}[_0x1a7f07(0x2c3)](){const _0x52a471=_0x1a7f07;this[_0x52a471(0x378)]();}[_0x1a7f07(0x4f0)](){const _0x51b95a=_0x1a7f07;var _0x3a51e5,_0xa4830b,_0x56a200,_0x58e492;this[_0x51b95a(0x4d5)][_0x51b95a(0x581)](_0x5c2e54)&&this[_0x51b95a(0x345)][_0x51b95a(0x3eb)]('[UniverCollaborationClientPlugin]',_0x51b95a(0x1e9));const _0x3bffc2=[[_0x5c2e54,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x138fc4],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0xa4830b=(_0x3a51e5=this[_0x51b95a(0x1e0)])==null?void 0x0:_0x3a51e5['socketService'])!=null?_0xa4830b:es}],[_0x5670c4,{'useClass':ls}],[_0x568d25,{'useClass':cs}],[_0xe3ad09,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x56a200=this[_0x51b95a(0x1e0)])!=null&&_0x56a200[_0x51b95a(0x210)]&&_0x3bffc2['push']([yt,{'useClass':so}]),_0x3cc00e(this[_0x51b95a(0x4d5)],_0x4907d0(_0x3bffc2,(_0x58e492=this[_0x51b95a(0x1e0)])==null?void 0x0:_0x58e492[_0x51b95a(0x31a)]));}[_0x1a7f07(0x378)](){const _0x2f5dc4=_0x1a7f07;this[_0x2f5dc4(0x4b1)](this[_0x2f5dc4(0x1e2)]['registerRenderModule'](_0x31d58f[_0x2f5dc4(0x51a)],[os])),this[_0x2f5dc4(0x4b1)](this[_0x2f5dc4(0x1e2)][_0x2f5dc4(0x2b5)](_0x31d58f[_0x2f5dc4(0x3a2)],[as]));}[_0x1a7f07(0x5b6)](){const _0x108048=_0x1a7f07;var _0x42b018,_0xbf0c;this[_0x108048(0x4d5)][_0x108048(0x59a)](_0x337047)[_0x108048(0x52a)]({'priority':0x14,'interceptor':_0x1afce2({'maxParallel':0x6})}),(_0x42b018=this['_config'])!=null&&_0x42b018[_0x108048(0x2dd)]||this[_0x108048(0x4d5)]['get'](q)[_0x108048(0x4ef)](),(_0xbf0c=this[_0x108048(0x1e0)])!=null&&_0xbf0c[_0x108048(0x580)]&&_0x9ace4b(this[_0x108048(0x4d5)],[[bt]]),_0x9ace4b(this[_0x108048(0x4d5)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x1a7f07(0x204),Ec),us=Ic([_0x12c346(_0x2f2f43,_0x2a32af),_t(0x1,_0x1e210b),_t(0x2,_0xa3e106),_t(0x3,_0x5cf6ec(_0xc0c089)),_t(0x4,_0x34b905)],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};
|