@univerjs-pro/collaboration-client 0.4.2-nightly.202410301606 → 0.4.2-nightly.202410310419

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4299a1=_0x1dba;(function(_0x3d0e54,_0x235321){const _0x528a32=_0x1dba,_0x4e531a=_0x3d0e54();while(!![]){try{const _0x1fb2df=parseInt(_0x528a32(0x2a2))/0x1+-parseInt(_0x528a32(0x3bf))/0x2+parseInt(_0x528a32(0x3e3))/0x3*(parseInt(_0x528a32(0x427))/0x4)+parseInt(_0x528a32(0x45c))/0x5*(parseInt(_0x528a32(0x55d))/0x6)+parseInt(_0x528a32(0x298))/0x7+parseInt(_0x528a32(0x4b7))/0x8*(-parseInt(_0x528a32(0x56f))/0x9)+-parseInt(_0x528a32(0x3ba))/0xa;if(_0x1fb2df===_0x235321)break;else _0x4e531a['push'](_0x4e531a['shift']());}catch(_0x447266){_0x4e531a['push'](_0x4e531a['shift']());}}}(_0x274c,0x28b72));var Ki=Object[_0x4299a1(0x5c7)],zi=(_0xa5ded9,_0x49309e,_0x13f9d5)=>_0x49309e in _0xa5ded9?Ki(_0xa5ded9,_0x49309e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13f9d5}):_0xa5ded9[_0x49309e]=_0x13f9d5,g=(_0x591a1f,_0x4dba82,_0x474de7)=>zi(_0x591a1f,typeof _0x4dba82!=_0x4299a1(0x4b6)?_0x4dba82+'':_0x4dba82,_0x474de7);import{createIdentifier as _0x47ec37,Inject as _0x2f5cfe,Disposable as _0x3ee966,DisposableCollection as _0xc3ba12,toDisposable as _0xd4e920,IConfigService as _0x3fd15e,ILogService as _0x105261,UserManagerService as _0x29ab1f,UniverInstanceType as _0x120bce,IUniverInstanceService as _0x19bced,LocaleService as _0x44ee4c,Optional as _0x2d2324,RxDisposable as _0x737a66,Injector as _0x22006e,Tools as _0x30d2fb,ILocalStorageService as _0x5eff7a,Rectangle as _0x6605f4,ICommandService as _0x2d1134,DOC_RANGE_TYPE as _0x1845e2,JSONX as _0x12fa9e,CommandType as _0x76554b,IPermissionService as _0x24d923,IUndoRedoService as _0x1ea290,sequenceExecute as _0xc0b152,debounce as _0x5b2ba1,COLORS as _0x46da12,ColorKit as _0x59e5b4,ThemeService as _0x4f5336,fromEventSubject as _0x42c9c7,useDependency as _0x36573a,connectInjector as _0x30cbe9,Workbook as _0x2eb2b2,isInternalEditorID as _0x294b80,LocalUndoRedoService as _0x2d3469,IContextService as _0x660c36,DependentOn as _0x45b1bd,Plugin as _0x5c6537,touchDependencies as _0x1867c1,IAuthzIoService as _0x2be504,registerDependencies as _0x53ca79,mergeOverrideWithDependencies as _0x151e3e}from'@univerjs/core';import{Subject as _0x19ddda,merge as _0x26c7b9,takeUntil as _0x2fa59a,BehaviorSubject as _0x37eed6,distinctUntilChanged as _0x5f1eca,fromEvent as _0x464cf3,ReplaySubject as _0x109ef2,take as _0x39a45e,map as _0x47ca28,shareReplay as _0x3a5006,of as _0x3de089,debounceTime as _0x57b99f,filter as _0x1b5a56,switchMap as _0x44c2df,combineLatest as _0x30a2a1,concatMap as _0x514c5c,mapTo as _0x184c47}from'rxjs';import{map as _0x50ad64,take as _0x47dab9,filter as _0x53cf0f,delay as _0x59f70e,throttleTime as _0x36a2f2,takeUntil as _0x1c3f96,switchMap as _0xfe1f5c}from'rxjs/operators';import{MessageType as _0x34a324,Tooltip as _0x2061dd}from'@univerjs/design';import{IBeforeCloseService as _0x51784a,IMessageService as _0x3aefef,INotificationService as _0x17e8a2,useObservable as _0x4fa1dd,BuiltInUIPart as _0x5ba1d4,IUIPartsService as _0x321318}from'@univerjs/ui';import{HTTPService as _0x56ddfb,WebSocketService as _0x137f7e,MergeInterceptorFactory as _0x2a7c3d,HTTPRequest as _0x1e784c,UniverNetworkPlugin as _0x381d3e,ThresholdInterceptorFactory as _0x33ba4d}from'@univerjs/network';import{CollaborationEvent as _0x12c324,parseChangesetToProtocol as _0x4bc711,ISnapshotServerService as _0x35ea1d,isTransformMutationFailure as _0x2b0d31,isTransformMutationsWithChangesetSuccess as _0x1be378,ITransformService as _0x131cfd,RevisionService as _0x12797c,mapDocumentTypeToUniverType as _0x50a3c7,isTransformChangesetsSuccess as _0x1637ea,CompressMutationService as _0x270b66,parseProtocolChangeset as _0x56f079,SnapshotService as _0x334813,textEncoder as _0x14df5c,b64DecodeUnicode as _0x1bbb27,isTransformMutationsWithChangesetFailure as _0x52c122,UniverCollaborationPlugin as _0x3205bf}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4860a4}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x4ed24e,DocStateChangeManagerService as _0x1e13e9,NodePositionConvertToCursor as _0xe153e4,NodePositionConvertToRectRange as _0x504d3e,TEXT_RANGE_LAYER_INDEX as _0xc6a3f3,SetDocZoomRatioOperation as _0xf2132e}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x492658,SetSelectionsOperation as _0x1cb700,InsertSheetMutation as _0x505daa,EmptyMutation as _0x5be8fc,WorkbookEditablePermission as _0x303e0b,RefRangeService as _0xe03fd0,EffectRefRangId as _0x50bebd,handleIRemoveRow as _0x78f1bf,handleIRemoveCol as _0x3041a5,handleMoveRange as _0x146b26,handleInsertRow as _0x1376dd,handleInsertRangeMoveRight as _0x3fa9b3,handleInsertRangeMoveDown as _0x5aa1b6,handleInsertCol as _0x4be241,handleDeleteRangeMoveUp as _0x12594c,handleDeleteRangeMoveLeft as _0x1ee4db,runRefRangeMutations as _0x13d83c,SetWorksheetActivateCommand as _0xa4b7c1}from'@univerjs/sheets';import{IRenderManagerService as _0x113a5e,Shape as _0x58ab44,Rect as _0x5ee680,getColor as _0x65be38,RegularPolygon as _0x254c54,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x394d6a,Vector2 as _0x30e58a}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x3c0350,RichTextEditingMutation as _0x30fdba,SetTextSelectionsOperation as _0x319a57,DocSkeletonManagerService as _0x29c419}from'@univerjs/docs';import{ImageSourceType as _0x581c9b,ImageUploadStatusType as _0x56de8f,IImageIoService as _0x108880}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x114116,serializeRangeWithSheet as _0x5a18be}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x276989,VIEWPORT_KEY as _0x2c3c62,getCoordByCell as _0xe460fe,getSheetObject as _0x176e67,SheetPermissionInitController as _0x15551c}from'@univerjs/sheets-ui';import _0x182f95,{forwardRef as _0x36768c,useRef as _0x174de7,createElement as _0x393c00,useCallback as _0x222b82}from'react';import{IRemoteInstanceService as _0x5a4eeb}from'@univerjs/rpc';const rr=_0x4299a1(0x420),or='/universer-api/snapshot',ar=_0x4299a1(0x2ba),kc=_0x4299a1(0x2b4),cr=0x7d0,hr='COLLAB_WEB_SOCKET_URL',lr='ws://127.0.0.1:8000/universer-api/comb/connect',_r=_0x4299a1(0x586),ur=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr='LOCAL_CACHE_INTERVAL',pr=0x3e8,gr='COLLAB_SUBMIT_CHANGESET_URL',Sr=_0x4299a1(0x379),Ir=_0x4299a1(0x4a9),Cr=_0x4299a1(0x3d9);var Ri=(_0x40777c=>(_0x40777c[_0x40777c[_0x4299a1(0x45a)]=0x0]=_0x4299a1(0x45a),_0x40777c[_0x40777c['OK']=0x1]='OK',_0x40777c[_0x40777c[_0x4299a1(0x463)]=0x2]=_0x4299a1(0x463),_0x40777c[_0x40777c[_0x4299a1(0x57d)]=0x3]=_0x4299a1(0x57d),_0x40777c[_0x40777c[_0x4299a1(0x50b)]=0x4]='NOT_FOUND',_0x40777c[_0x40777c[_0x4299a1(0x2bc)]=0x5]='UNAUTHENTICATED',_0x40777c[_0x40777c[_0x4299a1(0x556)]=0x6]='ALREADY_EXISTS',_0x40777c[_0x40777c[_0x4299a1(0x27c)]=0x7]=_0x4299a1(0x27c),_0x40777c[_0x40777c[_0x4299a1(0x3ab)]=0x8]='TOO_MANY_REQUESTS',_0x40777c[_0x40777c[_0x4299a1(0x2cb)]=0x9]=_0x4299a1(0x2cb),_0x40777c[_0x40777c[_0x4299a1(0x592)]=0x1389]=_0x4299a1(0x592),_0x40777c[_0x40777c[_0x4299a1(0x24c)]=0x1771]=_0x4299a1(0x24c),_0x40777c[_0x40777c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40777c[_0x40777c[_0x4299a1(0x5a1)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x40777c[_0x40777c[_0x4299a1(0x54c)]=0x1b59]=_0x4299a1(0x54c),_0x40777c[_0x40777c[_0x4299a1(0x4e7)]=0x1b5a]=_0x4299a1(0x4e7),_0x40777c[_0x40777c[_0x4299a1(0x44c)]=0x1b5b]=_0x4299a1(0x44c),_0x40777c[_0x40777c[_0x4299a1(0x323)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x40777c[_0x40777c[_0x4299a1(0x5b0)]=0x1b5d]=_0x4299a1(0x5b0),_0x40777c[_0x40777c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4299a1(0x3f3),_0x40777c[_0x40777c[_0x4299a1(0x4b5)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x40777c[_0x40777c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4299a1(0x3be),_0x40777c[_0x40777c[_0x4299a1(0x262)]=0x232b]=_0x4299a1(0x262),_0x40777c[_0x40777c[_0x4299a1(0x36b)]=0x232c]=_0x4299a1(0x36b),_0x40777c[_0x40777c[_0x4299a1(0x390)]=0x232d]=_0x4299a1(0x390),_0x40777c[_0x40777c[_0x4299a1(0x2ab)]=0x2711]=_0x4299a1(0x2ab),_0x40777c[_0x40777c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x40777c[_0x40777c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40777c[_0x40777c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4299a1(0x1ec),_0x40777c[_0x40777c['UNRECOGNIZED']=-0x1]=_0x4299a1(0x33b),_0x40777c))(Ri||{}),ce=(_0x198da4=>(_0x198da4[_0x198da4[_0x4299a1(0x46d)]=0x0]=_0x4299a1(0x46d),_0x198da4[_0x198da4[_0x4299a1(0x599)]=0x1]='UNIVER_DOC',_0x198da4[_0x198da4[_0x4299a1(0x247)]=0x2]=_0x4299a1(0x247),_0x198da4[_0x198da4[_0x4299a1(0x504)]=0x3]=_0x4299a1(0x504),_0x198da4[_0x198da4[_0x4299a1(0x4e9)]=0x4]=_0x4299a1(0x4e9),_0x198da4[_0x198da4[_0x4299a1(0x33b)]=-0x1]=_0x4299a1(0x33b),_0x198da4))(ce||{}),W=(_0x41a826=>(_0x41a826[_0x41a826[_0x4299a1(0x47e)]=0x0]=_0x4299a1(0x47e),_0x41a826[_0x41a826[_0x4299a1(0x330)]=0x1]=_0x4299a1(0x330),_0x41a826[_0x41a826[_0x4299a1(0x3f4)]=0x2]=_0x4299a1(0x3f4),_0x41a826[_0x41a826[_0x4299a1(0x3aa)]=0x3]=_0x4299a1(0x3aa),_0x41a826[_0x41a826['INGEST']=0x4]=_0x4299a1(0x403),_0x41a826[_0x41a826[_0x4299a1(0x40a)]=0x5]=_0x4299a1(0x40a),_0x41a826[_0x41a826[_0x4299a1(0x5c9)]=0x6]=_0x4299a1(0x5c9),_0x41a826[_0x41a826[_0x4299a1(0x33b)]=-0x1]=_0x4299a1(0x33b),_0x41a826))(W||{}),Is=(_0x45aff5=>(_0x45aff5[_0x45aff5[_0x4299a1(0x384)]=0x0]=_0x4299a1(0x384),_0x45aff5[_0x45aff5['OK']=0x1]='OK',_0x45aff5[_0x45aff5[_0x4299a1(0x3b2)]=0x2]=_0x4299a1(0x3b2),_0x45aff5[_0x45aff5['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x45aff5))(Is||{}),yi=(_0xd7576d=>(_0xd7576d[_0xd7576d[_0x4299a1(0x28f)]=0x0]='Undefined',_0xd7576d[_0xd7576d['HttpImport']=0x1]=_0x4299a1(0x546),_0xd7576d[_0xd7576d[_0x4299a1(0x4be)]=0x2]=_0x4299a1(0x4be),_0xd7576d[_0xd7576d[_0x4299a1(0x3af)]=0x3]='UnitEmbedded',_0xd7576d[_0xd7576d[_0x4299a1(0x52b)]=0x4]=_0x4299a1(0x52b),_0xd7576d[_0xd7576d[_0x4299a1(0x33b)]=-0x1]=_0x4299a1(0x33b),_0xd7576d))(yi||{});const ie=_0x4299a1(0x30c),Er={};function br(_0x222f8f){const _0x1e01de=_0x4299a1;var _0x10e7ee,_0x1cdb56,_0x52889b,_0xb1db0,_0x30746b;const _0x2c8be9=_0x222f8f[_0x1e01de(0x28b)],_0x109a4c=JSON[_0x1e01de(0x255)](_0x2c8be9);switch(_0x109a4c['cmd']){case W[_0x1e01de(0x40a)]:case W[_0x1e01de(0x330)]:{const _0x2cd2b7=_0x109a4c[_0x1e01de(0x309)];return{..._0x109a4c,'data':_0x2cd2b7,'cmd':_0x109a4c[_0x1e01de(0x34b)]};}case W['JOIN']:{const _0x40ad0e=_0x109a4c['joinRsp'];return{..._0x109a4c,'data':_0x40ad0e,'cmd':_0x109a4c[_0x1e01de(0x34b)]};}case W[_0x1e01de(0x5c9)]:{const _0x399d72=_0x109a4c[_0x1e01de(0x38f)];switch(_0x399d72[_0x1e01de(0x341)]){case _0x12c324[_0x1e01de(0x3c7)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0x10e7ee=_0x399d72[_0x1e01de(0x515)])==null?void 0x0:_0x10e7ee['cs']},'cmd':_0x109a4c['cmd']};case _0x12c324[_0x1e01de(0x3de)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0x1cdb56=_0x399d72[_0x1e01de(0x585)])==null?void 0x0:_0x1cdb56['cs']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x2a1)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0x52889b=_0x399d72[_0x1e01de(0x290)])==null?void 0x0:_0x52889b['cs']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x3a1)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0xb1db0=_0x399d72['csRejEvent'])==null?void 0x0:_0xb1db0['cs']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x3f1)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0x30746b=_0x399d72[_0x1e01de(0x227)])==null?void 0x0:_0x30746b['cs']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x395)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72['updateCursorEvent']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x33c)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x548)]},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324['USERS_LEAVE']:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x326)]},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324['LIVESHARE_NEW_HOST']:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x2a5)]},'cmd':_0x109a4c['cmd']};case _0x12c324['LIVESHARE_FETCH_OPERATIONS']:case _0x12c324[_0x1e01de(0x23b)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x1ff)]},'cmd':_0x109a4c['cmd']};case _0x12c324[_0x1e01de(0x2d8)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x2a5)]},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324['MSG_FOR_ERROR']:return{..._0x109a4c,'data':_0x399d72,'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x3ff)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x42b)]},'cmd':_0x109a4c['cmd']};case _0x12c324['UPDATE_PERMISSION_OBJ']:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72['updatePermissionObjEvent']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x23d)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x5b2)]},'cmd':_0x109a4c[_0x1e01de(0x34b)]};default:return _0x109a4c;}}default:return _0x109a4c;}}function Tr(_0x532135){const _0x1f4fb1=_0x4299a1;switch(_0x532135[_0x1f4fb1(0x34b)]){case W[_0x1f4fb1(0x40a)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x532135['cmd'],'routeKey':_0x532135[_0x1f4fb1(0x4d2)]});case W[_0x1f4fb1(0x403)]:{let _0x165b1b;switch(_0x532135[_0x1f4fb1(0x28b)][_0x1f4fb1(0x341)]){case _0x12c324[_0x1f4fb1(0x395)]:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x395)],'updateCursorEvent':_0x532135[_0x1f4fb1(0x28b)][_0x1f4fb1(0x28b)]};break;}case _0x12c324['USERS_LEAVE']:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x2b0)],'leaveEvent':_0x532135[_0x1f4fb1(0x28b)][_0x1f4fb1(0x28b)]};break;}case _0x12c324['USERS_ENTER']:{_0x165b1b={'eventID':_0x12c324['USERS_ENTER'],'joinEvent':_0x532135['data']['data']};break;}case _0x12c324['LIVESHARE_NEW_HOST']:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x48e)],'liveShareNewHost':_0x532135['data'][_0x1f4fb1(0x28b)]};break;}case _0x12c324['LIVESHARE_OPERATION']:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x23b)],'liveShareOperation':_0x532135[_0x1f4fb1(0x28b)][_0x1f4fb1(0x28b)]};break;}case _0x12c324[_0x1f4fb1(0x2d8)]:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x2d8)],'liveShareTerminate':_0x532135['data'][_0x1f4fb1(0x28b)]};break;}case _0x12c324['LIVESHARE_REQUEST_HOST']:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x386)],'liveShareRequestHost':_0x532135['data'][_0x1f4fb1(0x28b)]};break;}case _0x12c324[_0x1f4fb1(0x53d)]:{_0x165b1b={'eventID':_0x12c324['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x165b1b={'eventID':_0x532135[_0x1f4fb1(0x28b)]['eventID']};}return JSON[_0x1f4fb1(0x1fb)]({'cmd':_0x532135[_0x1f4fb1(0x34b)],'routeKey':_0x532135[_0x1f4fb1(0x4d2)],'collaMsg':_0x165b1b});}case W[_0x1f4fb1(0x3f4)]:return JSON[_0x1f4fb1(0x1fb)]({'cmd':_0x532135['cmd'],'routeKey':_0x532135[_0x1f4fb1(0x4d2)],'joinReq':_0x532135[_0x1f4fb1(0x28b)]});case W[_0x1f4fb1(0x3aa)]:return JSON[_0x1f4fb1(0x1fb)]({'cmd':_0x532135[_0x1f4fb1(0x34b)],'routeKey':_0x532135[_0x1f4fb1(0x4d2)],'leaveReq':_0x532135[_0x1f4fb1(0x28b)]});default:throw new Error(_0x1f4fb1(0x356));}}var Rr=Object[_0x4299a1(0x5c7)],yr=Object[_0x4299a1(0x563)],Or=(_0x50f5f9,_0x297568,_0x331223,_0x39ead3)=>{const _0x22aeff=_0x4299a1;for(var _0x3ce982=_0x39ead3>0x1?void 0x0:_0x39ead3?yr(_0x297568,_0x331223):_0x297568,_0x4b6b31=_0x50f5f9[_0x22aeff(0x256)]-0x1,_0x4dc804;_0x4b6b31>=0x0;_0x4b6b31--)(_0x4dc804=_0x50f5f9[_0x4b6b31])&&(_0x3ce982=(_0x39ead3?_0x4dc804(_0x297568,_0x331223,_0x3ce982):_0x4dc804(_0x3ce982))||_0x3ce982);return _0x39ead3&&_0x3ce982&&Rr(_0x297568,_0x331223,_0x3ce982),_0x3ce982;},qe=(_0x3f9836,_0x547bdc)=>(_0x2b1219,_0x51e97d)=>_0x547bdc(_0x2b1219,_0x51e97d,_0x3f9836);const Oi=_0x47ec37(_0x4299a1(0x443));function wr(_0x183b41,_0x49704e,_0x19f068){const _0x432807=_0x4299a1;return _0x183b41+'/'+_0x49704e+_0x432807(0x300)+_0x19f068+_0x432807(0x469);}let es=class extends _0x3ee966{constructor(_0x38ad60,_0x57ee04,_0x5e4eae,_0x249474,_0x1978f9){const _0x28d173=_0x4299a1;super(),this['_http']=_0x38ad60,this[_0x28d173(0x56a)]=_0x57ee04,this[_0x28d173(0x4cf)]=_0x5e4eae,this[_0x28d173(0x327)]=_0x249474,this['_snapshotServerService']=_0x1978f9;}[_0x4299a1(0x2dc)](_0x21ce60){const _0x405e1c=_0x4299a1,_0x187b6a=this[_0x405e1c(0x56a)][_0x405e1c(0x2dc)](_0x21ce60);if(!_0x187b6a)throw new Error(_0x405e1c(0x495));const _0x49aee0=new _0xc3ba12(),_0x4d5905=new _0x19ddda();_0x49aee0[_0x405e1c(0x57f)](_0x187b6a[_0x405e1c(0x43e)]['subscribe'](_0x9abaa2=>_0x4d5905['next'](_0x9abaa2))),_0x49aee0['add'](_0xd4e920(()=>_0x4d5905[_0x405e1c(0x405)]()));const _0x4c07f7=new _0x19ddda();_0x49aee0[_0x405e1c(0x57f)](_0x187b6a['error$']['subscribe'](_0x42efed=>_0x4c07f7[_0x405e1c(0x419)](_0x42efed))),_0x49aee0[_0x405e1c(0x57f)](_0xd4e920(()=>_0x4c07f7[_0x405e1c(0x405)]()));const _0x20366c=new _0x19ddda();_0x49aee0[_0x405e1c(0x57f)](_0x187b6a[_0x405e1c(0x5c4)]['subscribe'](_0x4451cd=>{const _0x2ca529=_0x405e1c,_0x52cc8f=br(_0x4451cd);_0x20366c[_0x2ca529(0x419)](_0x52cc8f);})),_0x49aee0[_0x405e1c(0x57f)](_0xd4e920(()=>_0x20366c[_0x405e1c(0x405)]()));let _0x552770;const _0x27e74b=()=>{const _0x134a96=_0x405e1c;_0x4c07f7[_0x134a96(0x419)](new Event('connection\x20error')),_0x4d5905[_0x134a96(0x419)](new CloseEvent('connection\x20error')),_0x552770[_0x134a96(0x25e)]();};return _0x552770={'memberID':'','close$':_0x4d5905[_0x405e1c(0x42a)](),'error$':_0x4c07f7[_0x405e1c(0x42a)](),'open$':_0x187b6a[_0x405e1c(0x278)],'message$':_0x20366c[_0x405e1c(0x42a)](),'send':_0x6f4bdb=>{const _0x23de74=_0x405e1c;if(_0x6f4bdb[_0x23de74(0x34b)]===W['INGEST']){if(_0x6f4bdb[_0x23de74(0x28b)]['eventID']===_0x12c324[_0x23de74(0x29a)]){this[_0x23de74(0x56d)](_0x552770,_0x6f4bdb[_0x23de74(0x28b)])[_0x23de74(0x538)](_0x57b891=>{const _0x4bc72a=_0x23de74;this[_0x4bc72a(0x327)][_0x4bc72a(0x1c9)](_0x57b891),_0x27e74b();});return;}if(_0x6f4bdb['data']['eventID']===_0x12c324['FETCH_MISSING']){const _0x4dcdd1=_0x6f4bdb[_0x23de74(0x28b)];this['_fetchMissChangesets'](_0x4dcdd1)['then'](_0x577b93=>{const _0x5410c8=_0x23de74;_0x20366c[_0x5410c8(0x419)]({'cmd':W[_0x5410c8(0x5c9)],'code':Is['OK'],'routeKey':_0x4dcdd1[_0x5410c8(0x28b)]['unitID'],'routeType':'','data':{'eventID':_0x12c324[_0x5410c8(0x2f0)],'data':{'changesets':_0x577b93}}});})[_0x23de74(0x538)](_0x59703b=>{const _0x498193=_0x23de74;this[_0x498193(0x327)][_0x498193(0x1c9)](_0x59703b),_0x27e74b();});return;}}_0x187b6a[_0x23de74(0x333)](Tr(_0x6f4bdb));},'close':()=>{const _0x2a8ad0=_0x405e1c;_0x187b6a[_0x2a8ad0(0x25e)](),_0x49aee0[_0x2a8ad0(0x229)]();}},_0x552770;}async[_0x4299a1(0x56d)](_0x55df04,_0x17d39e){const _0x3b64e0=_0x4299a1;var _0x144095,_0x484a0d;const {unitType:_0x4644b0,unitID:_0xa4f0dc,changeset:_0x5348e3}=_0x17d39e['data'],_0xe80612={'unitID':_0xa4f0dc,'memberID':_0x55df04[_0x3b64e0(0x514)],'type':_0x4644b0,'changeset':_0x4bc711(_0x5348e3)},_0x40fe3a=this[_0x3b64e0(0x4cf)][_0x3b64e0(0x2b6)](gr),_0x504585=this[_0x3b64e0(0x4cf)][_0x3b64e0(0x2b6)](ie),_0x32be02=wr((_0x484a0d=(_0x144095=_0x504585==null?void 0x0:_0x504585[_0x3b64e0(0x416)])!=null?_0x144095:_0x40fe3a)!=null?_0x484a0d:Sr,_0x4644b0,_0xa4f0dc);try{await this['_http'][_0x3b64e0(0x293)](_0x32be02,{'body':_0xe80612});}catch(_0xac92c8){throw this['_logService']['error'](_0x3b64e0(0x3df),_0x3b64e0(0x418)),_0xac92c8;}}async[_0x4299a1(0x471)](_0x1f1ddb){const _0xe940b6=_0x4299a1,{unitID:_0xfed17a,from:_0x19291a,to:_0x235d00,unitType:_0x3cd399}=_0x1f1ddb[_0xe940b6(0x28b)];return(await this['_snapshotServerService'][_0xe940b6(0x2b7)]({'metadata':void 0x0},{'unitID':_0xfed17a,'type':_0x3cd399,'from':_0x19291a,'to':_0x235d00}))[_0xe940b6(0x39b)];}};es=Or([qe(0x0,_0x2f5cfe(_0x56ddfb)),qe(0x1,_0x2f5cfe(_0x137f7e)),qe(0x2,_0x3fd15e),qe(0x3,_0x105261),qe(0x4,_0x35ea1d)],es);const Dr=_0x4299a1(0x3f9);function Pr(_0xa463d9){const _0x53f4b8=_0x4299a1;return JSON[_0x53f4b8(0x1fb)](_0xa463d9)['length'];}class wi{constructor(){const _0x49293e=_0x4299a1;g(this,_0x49293e(0x4ba),new _0x19ddda()),g(this,_0x49293e(0x4c2),this[_0x49293e(0x4ba)]['asObservable']());}[_0x4299a1(0x450)](_0x553a2f){const _0xdd465e=_0x4299a1;this[_0xdd465e(0x4ba)][_0xdd465e(0x419)](_0x553a2f);}}var Ur=Object[_0x4299a1(0x5c7)],Nr=Object[_0x4299a1(0x563)],Ar=(_0x12ba66,_0x11bd2e,_0x31c337,_0x47922f)=>{for(var _0x2ce71b=_0x47922f>0x1?void 0x0:_0x47922f?Nr(_0x11bd2e,_0x31c337):_0x11bd2e,_0x3c4bcd=_0x12ba66['length']-0x1,_0x164b0f;_0x3c4bcd>=0x0;_0x3c4bcd--)(_0x164b0f=_0x12ba66[_0x3c4bcd])&&(_0x2ce71b=(_0x47922f?_0x164b0f(_0x11bd2e,_0x31c337,_0x2ce71b):_0x164b0f(_0x2ce71b))||_0x2ce71b);return _0x47922f&&_0x2ce71b&&Ur(_0x11bd2e,_0x31c337,_0x2ce71b),_0x2ce71b;},Hs=(_0x3256f4,_0x59e5e7)=>(_0x2e7a56,_0x2fb02f)=>_0x59e5e7(_0x2e7a56,_0x2fb02f,_0x3256f4);let Ne=class extends _0x3ee966{constructor(_0x1fb415,_0xd2e40a){const _0x28f931=_0x4299a1;super(),g(this,_0x28f931(0x24f),new Map()),(this[_0x28f931(0x35b)]=_0x1fb415,this[_0x28f931(0x52c)]=_0xd2e40a,this['disposeWithMe'](_0xd4e920(_0x26c7b9(this['_univerInstanceService'][_0x28f931(0x54f)](_0x120bce[_0x28f931(0x247)])[_0x28f931(0x35f)](_0x50ad64(_0x33dea5=>_0x33dea5[_0x28f931(0x1e9)]())),this[_0x28f931(0x35b)][_0x28f931(0x54f)](_0x120bce['UNIVER_DOC'])[_0x28f931(0x35f)](_0x50ad64(_0x36bf64=>_0x36bf64[_0x28f931(0x1e9)]())),this[_0x28f931(0x35b)][_0x28f931(0x54f)](_0x120bce['UNIVER_SLIDE'])[_0x28f931(0x35f)](_0x50ad64(_0x306cda=>_0x306cda['getUnitId']())))[_0x28f931(0x487)](_0x54262a=>this[_0x28f931(0x3e1)](_0x54262a)))));}['setCurrentUser'](_0x2d55db){const _0x3e8ac2=_0x4299a1;this[_0x3e8ac2(0x52c)][_0x3e8ac2(0x50f)](_0x2d55db);}[_0x4299a1(0x502)](){const _0x56662c=_0x4299a1;return this[_0x56662c(0x52c)]['getCurrentUser']();}[_0x4299a1(0x362)](_0x512fdf,_0x173bae){const _0x2729c4=_0x4299a1;let _0x9ec64d=this[_0x2729c4(0x24f)][_0x2729c4(0x401)](_0x512fdf);_0x9ec64d||(_0x9ec64d=new Mr(),this[_0x2729c4(0x24f)][_0x2729c4(0x3db)](_0x512fdf,_0x9ec64d)),_0x9ec64d[_0x2729c4(0x362)](_0x173bae);}[_0x4299a1(0x48a)](_0x923a2,_0x11daef){const _0x35c40c=_0x4299a1,_0x29e125=this[_0x35c40c(0x24f)]['get'](_0x923a2);_0x29e125&&_0x29e125[_0x35c40c(0x48a)](_0x11daef);}['getRoom'](_0x725edc){const _0x5bbeb1=_0x4299a1;return this['_roomMembers'][_0x5bbeb1(0x401)](_0x725edc);}[_0x4299a1(0x222)](_0x21f0f1,_0x5b4550){const _0xc1bbdb=_0x4299a1,_0x507f10=this[_0xc1bbdb(0x24f)][_0xc1bbdb(0x401)](_0x21f0f1);if(_0x507f10)return _0x507f10[_0xc1bbdb(0x222)](_0x5b4550);}[_0x4299a1(0x3e1)](_0x3ad65d){const _0x2f2d9f=_0x4299a1,_0x4e2f68=this['_roomMembers'][_0x2f2d9f(0x401)](_0x3ad65d);_0x4e2f68&&(_0x4e2f68[_0x2f2d9f(0x229)](),this[_0x2f2d9f(0x24f)]['delete'](_0x3ad65d));}[_0x4299a1(0x229)](){const _0x466438=_0x4299a1;this[_0x466438(0x24f)][_0x466438(0x2c6)](_0x202f5e=>_0x202f5e[_0x466438(0x229)]()),this[_0x466438(0x24f)][_0x466438(0x44d)]();}};Ne=Ar([Hs(0x0,_0x19bced),Hs(0x1,_0x2f5cfe(_0x29ab1f))],Ne);class Mr extends _0x3ee966{constructor(){const _0x36b2a4=_0x4299a1;super(...arguments),g(this,_0x36b2a4(0x552),new Map());}['dispose'](){const _0xed8575=_0x4299a1;this[_0xed8575(0x552)][_0xed8575(0x44d)]();}[_0x4299a1(0x362)](_0x168995){const _0x98be5c=_0x4299a1;this[_0x98be5c(0x552)][_0x98be5c(0x3db)](_0x168995['memberID'],_0x168995);}[_0x4299a1(0x48a)](_0x458ad1){const _0x69517a=_0x4299a1;this['_members'][_0x69517a(0x404)](_0x458ad1);}[_0x4299a1(0x222)](_0x45ae25){const _0x2816d4=_0x4299a1;return this[_0x2816d4(0x552)][_0x2816d4(0x401)](_0x45ae25);}[_0x4299a1(0x378)](){const _0x49ca43=_0x4299a1;return Array[_0x49ca43(0x527)](this[_0x49ca43(0x552)][_0x49ca43(0x2fa)]());}}var xr=Object[_0x4299a1(0x5c7)],Lr=Object['getOwnPropertyDescriptor'],$r=(_0x27e051,_0x52aea3,_0x39119a,_0x468e7f)=>{for(var _0x16c6c1=_0x468e7f>0x1?void 0x0:_0x468e7f?Lr(_0x52aea3,_0x39119a):_0x52aea3,_0x3f7b85=_0x27e051['length']-0x1,_0x415d90;_0x3f7b85>=0x0;_0x3f7b85--)(_0x415d90=_0x27e051[_0x3f7b85])&&(_0x16c6c1=(_0x468e7f?_0x415d90(_0x52aea3,_0x39119a,_0x16c6c1):_0x415d90(_0x16c6c1))||_0x16c6c1);return _0x468e7f&&_0x16c6c1&&xr(_0x52aea3,_0x39119a,_0x16c6c1),_0x16c6c1;},Ee=(_0x1f8b34,_0x2e9c2b)=>(_0x524c2c,_0x2d348d)=>_0x2e9c2b(_0x524c2c,_0x2d348d,_0x1f8b34),ve=(_0x4b9681=>(_0x4b9681[_0x4b9681['IDLE']=0x0]=_0x4299a1(0x4e0),_0x4b9681[_0x4b9681[_0x4299a1(0x402)]=0x1]='JOINING',_0x4b9681[_0x4b9681[_0x4299a1(0x34a)]=0x2]=_0x4299a1(0x34a),_0x4b9681[_0x4b9681['ONLINE']=0x3]='ONLINE',_0x4b9681))(ve||{});let ts=class extends _0x737a66{constructor(_0x5153dc,_0x3912e3,_0x12f1e1,_0x1dd20f,_0x57fe3c,_0x1843aa,_0x2bdc9a,_0xfa0cea,_0x5941ec,_0x46b84c){const _0x768763=_0x4299a1;super(),g(this,_0x768763(0x584),new _0x37eed6(0x0)),g(this,_0x768763(0x482),this['_sessionStatus$'][_0x768763(0x42a)]()),g(this,_0x768763(0x296),new _0x19ddda()),g(this,_0x768763(0x52e),this[_0x768763(0x296)]['asObservable']()),g(this,_0x768763(0x302)),g(this,_0x768763(0x407)),g(this,_0x768763(0x23f)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x768763(0x270),null),(this[_0x768763(0x50c)]=_0x5153dc,this['_logService']=_0x12f1e1,this[_0x768763(0x57b)]=_0x1dd20f,this[_0x768763(0x306)]=_0x57fe3c,this['_configService']=_0x1843aa,this['_localeService']=_0x2bdc9a,this[_0x768763(0x21a)]=_0xfa0cea,this[_0x768763(0x4bd)]=_0x5941ec,this['_telemetryService']=_0x46b84c,this[_0x768763(0x25f)]=!!this[_0x768763(0x43a)],_0x3912e3[_0x768763(0x35f)](_0x2fa59a(this[_0x768763(0x47b)]))[_0x768763(0x487)](_0x261454=>{const _0x39bbd9=_0x768763;var _0x229bde;typeof _0x261454>'u'||(this[_0x39bbd9(0x302)]=_0x261454,_0x261454?(this[_0x39bbd9(0x573)](_0x261454),this[_0x39bbd9(0x407)]=_0x261454[_0x39bbd9(0x5c4)][_0x39bbd9(0x487)](_0x56f12f=>{const _0x5068b6=_0x39bbd9;_0x56f12f[_0x5068b6(0x4d2)]===this[_0x5068b6(0x50c)]&&this[_0x5068b6(0x49d)](_0x56f12f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x39bbd9(0x584)][_0x39bbd9(0x419)](0x2),(_0x229bde=this[_0x39bbd9(0x407)])==null||_0x229bde[_0x39bbd9(0x276)](),this[_0x39bbd9(0x407)]=null));}),this[_0x768763(0x5b7)](this[_0x768763(0x57b)][_0x768763(0x3d4)](()=>{const _0x33ce5e=_0x768763;var _0x4ec50f;(_0x4ec50f=this[_0x33ce5e(0x302)])==null||_0x4ec50f[_0x33ce5e(0x333)]({'cmd':W[_0x33ce5e(0x3aa)],'data':{'roomID':this[_0x33ce5e(0x50c)]}});})));}get[_0x4299a1(0x437)](){const _0x55d448=_0x4299a1;return this[_0x55d448(0x584)]['getValue']();}['getMemberID'](){const _0x46dcba=_0x4299a1;var _0x3b751a,_0x509038;return(_0x509038=(_0x3b751a=this[_0x46dcba(0x302)])==null?void 0x0:_0x3b751a[_0x46dcba(0x514)])!=null?_0x509038:null;}['dispose'](){const _0x3b74b8=_0x4299a1;super[_0x3b74b8(0x229)](),this[_0x3b74b8(0x47b)][_0x3b74b8(0x419)](),this[_0x3b74b8(0x47b)][_0x3b74b8(0x405)]();}[_0x4299a1(0x25e)](){const _0x1e1452=_0x4299a1;var _0x4015da,_0x59685f;this[_0x1e1452(0x53f)](),(_0x4015da=this[_0x1e1452(0x302)])==null||_0x4015da[_0x1e1452(0x333)]({'cmd':W[_0x1e1452(0x3aa)],'data':{'roomID':this[_0x1e1452(0x50c)]}}),(_0x59685f=this['_socket'])==null||_0x59685f['close'](),this[_0x1e1452(0x296)][_0x1e1452(0x405)](),this[_0x1e1452(0x584)][_0x1e1452(0x405)](),this[_0x1e1452(0x229)]();}[_0x4299a1(0x49d)](_0x490dc9){const _0x1c1789=_0x4299a1;_0x490dc9[_0x1c1789(0x34b)]===W[_0x1c1789(0x3f4)]?this[_0x1c1789(0x2ed)](_0x490dc9):_0x490dc9[_0x1c1789(0x34b)]===W[_0x1c1789(0x5c9)]&&this[_0x1c1789(0x3ae)](_0x490dc9);}[_0x4299a1(0x573)](_0x4d280d){const _0x1c6311=_0x4299a1;this['_sessionStatus$']['next'](0x1),_0x4d280d[_0x1c6311(0x333)]({'cmd':W[_0x1c6311(0x3f4)],'routeKey':this[_0x1c6311(0x50c)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4299a1(0x2ed)](_0x112e08){const _0x2c1961=_0x4299a1;var _0x511f1c;if(_0x112e08[_0x2c1961(0x40f)]===Is[_0x2c1961(0x3b2)]){this[_0x2c1961(0x306)]['show']({'type':_0x34a324[_0x2c1961(0x34f)],'content':this[_0x2c1961(0x1d7)]['t'](_0x2c1961(0x3b3))}),this[_0x2c1961(0x584)][_0x2c1961(0x419)](0x2);return;}this[_0x2c1961(0x584)][_0x2c1961(0x419)](0x3);const _0x2c30d0=(_0x511f1c=_0x112e08['data'][_0x2c1961(0x59d)][this[_0x2c1961(0x50c)]])==null?void 0x0:_0x511f1c[_0x2c1961(0x1bf)];_0x2c30d0&&_0x2c30d0[_0x2c1961(0x2c6)](_0x40427a=>this[_0x2c1961(0x21a)][_0x2c1961(0x362)](this['_unitID'],_0x40427a));}['_onRecvEvent'](_0x297c6e){const _0x15bee0=_0x4299a1;try{const _0x2b2191=_0x297c6e[_0x15bee0(0x28b)];switch(_0x2b2191[_0x15bee0(0x341)]){case _0x12c324[_0x15bee0(0x33c)]:this['_onUserJoin'](_0x2b2191),this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);break;case _0x12c324[_0x15bee0(0x2b0)]:this['_onUserLeave'](_0x2b2191),this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);break;case _0x12c324[_0x15bee0(0x3de)]:case _0x12c324['CHANGESET_SHOULD_RETRY']:this[_0x15bee0(0x534)](),this['_clearCollaborationTimeoutTimer'](),this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);break;case _0x12c324[_0x15bee0(0x516)]:this[_0x15bee0(0x327)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x15bee0(0x1fb)](_0x2b2191)),this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);break;case _0x12c324[_0x15bee0(0x3ff)]:this[_0x15bee0(0x4bd)][_0x15bee0(0x450)](_0x2b2191['data']),this['_event$'][_0x15bee0(0x419)](_0x2b2191);break;default:this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);}}catch(_0x363902){this[_0x15bee0(0x327)]['error'](_0x363902,_0x297c6e);}}[_0x4299a1(0x2b3)](_0x52be3d){const _0x5cc4df=_0x4299a1;this[_0x5cc4df(0x21a)]['updateMember'](this['_unitID'],_0x52be3d[_0x5cc4df(0x28b)]);}[_0x4299a1(0x329)](_0x3d94f0){const _0x541f4a=_0x4299a1;this[_0x541f4a(0x21a)][_0x541f4a(0x48a)](this['_unitID'],_0x3d94f0[_0x541f4a(0x28b)][_0x541f4a(0x514)]);}async[_0x4299a1(0x333)](_0x41c7a7,_0x1be770){const _0x4268aa=_0x4299a1;if(this[_0x4268aa(0x437)]!==0x3||!this[_0x4268aa(0x302)])throw new Error(_0x4268aa(0x547));try{_0x41c7a7[_0x4268aa(0x341)]===_0x12c324[_0x4268aa(0x29a)]&&(this[_0x4268aa(0x361)](),this[_0x4268aa(0x3ea)](_0x41c7a7)),this[_0x4268aa(0x302)]['send']({'cmd':W[_0x4268aa(0x403)],'routeKey':_0x1be770,'routeType':'','data':_0x41c7a7});}catch(_0x4284ae){this[_0x4268aa(0x327)]['error'](_0x4284ae);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4ecf7b=_0x4299a1;var _0x29c712;this[_0x4ecf7b(0x23f)]=window[_0x4ecf7b(0x560)](()=>{const _0xda49d3=_0x4ecf7b;this['_collaborationTimeoutTimer']=null,this[_0xda49d3(0x306)][_0xda49d3(0x3eb)]({'type':_0x34a324[_0xda49d3(0x4db)],'content':this[_0xda49d3(0x1d7)]['t'](_0xda49d3(0x54d))});},(_0x29c712=this['_configService'][_0x4ecf7b(0x2b6)](bi))!=null?_0x29c712:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x38a94e=_0x4299a1;this[_0x38a94e(0x23f)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x38a94e(0x23f)]=null);}[_0x4299a1(0x3ea)](_0x41152a){const _0xc8bb09=_0x4299a1;if(!this[_0xc8bb09(0x25f)])return;const {data:_0x13edad}=_0x41152a,{unitID:_0x312e45,changeset:_0x5f4d91}=_0x13edad,{mutations:_0x353e80,type:_0x2d82da}=_0x5f4d91;this[_0xc8bb09(0x270)]={'unitId':_0x312e45,'type':_0x2d82da,'startTime':performance[_0xc8bb09(0x54a)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x353e80)};}[_0x4299a1(0x534)](){const _0x1997bf=_0x4299a1;if(this[_0x1997bf(0x25f)]){if(!this[_0x1997bf(0x270)]){this[_0x1997bf(0x327)][_0x1997bf(0x1c9)](_0x1997bf(0x3df),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1997bf(0x270)][_0x1997bf(0x30e)]=performance[_0x1997bf(0x54a)](),this[_0x1997bf(0x270)][_0x1997bf(0x4e4)]=this['_telemetryInfo']['stopTime']-this[_0x1997bf(0x270)][_0x1997bf(0x501)],this[_0x1997bf(0x43a)]['capture'](Dr,this[_0x1997bf(0x270)]),this[_0x1997bf(0x270)]=null;}}[_0x4299a1(0x53f)](){this['_telemetryInfo']=null;}};ts=$r([Ee(0x2,_0x105261),Ee(0x3,_0x51784a),Ee(0x4,_0x3aefef),Ee(0x5,_0x3fd15e),Ee(0x6,_0x2f5cfe(_0x44ee4c)),Ee(0x7,_0x2f5cfe(Ne)),Ee(0x8,_0x2f5cfe(wi)),Ee(0x9,_0x2d2324(_0x4860a4))],ts);var Hr=Object[_0x4299a1(0x5c7)],jr=Object[_0x4299a1(0x563)],Br=(_0x31981b,_0x49d890,_0x338cf6,_0x1e4251)=>{for(var _0x12f9f5=_0x1e4251>0x1?void 0x0:_0x1e4251?jr(_0x49d890,_0x338cf6):_0x49d890,_0x348589=_0x31981b['length']-0x1,_0x2122c8;_0x348589>=0x0;_0x348589--)(_0x2122c8=_0x31981b[_0x348589])&&(_0x12f9f5=(_0x1e4251?_0x2122c8(_0x49d890,_0x338cf6,_0x12f9f5):_0x2122c8(_0x12f9f5))||_0x12f9f5);return _0x1e4251&&_0x12f9f5&&Hr(_0x49d890,_0x338cf6,_0x12f9f5),_0x12f9f5;},je=(_0x353c18,_0x389c37)=>(_0x251e3c,_0x44f5e3)=>_0x389c37(_0x251e3c,_0x44f5e3,_0x353c18);let Ae=class extends _0x3ee966{constructor(_0x505c31,_0x3ee0c2,_0x565f05,_0x3bdf85,_0x40ebe0,_0x5995bb){const _0x1ec359=_0x4299a1;super(),g(this,_0x1ec359(0x5ca),new _0x37eed6(void 0x0)),g(this,_0x1ec359(0x366),this[_0x1ec359(0x5ca)][_0x1ec359(0x42a)]()),g(this,'_candidateSocket',null),g(this,_0x1ec359(0x226),new Map()),g(this,_0x1ec359(0x3d5),new _0x37eed6(ve[_0x1ec359(0x4e0)])),g(this,'status$',this[_0x1ec359(0x3d5)]['asObservable']()),g(this,_0x1ec359(0x3dc),!0x1),g(this,_0x1ec359(0x4dd)),g(this,_0x1ec359(0x32d),0x0),g(this,'_sendHeartbeatTimer'),g(this,_0x1ec359(0x1ee)),(this[_0x1ec359(0x557)]=_0x505c31,this[_0x1ec359(0x1d7)]=_0x3ee0c2,this[_0x1ec359(0x306)]=_0x565f05,this[_0x1ec359(0x327)]=_0x3bdf85,this[_0x1ec359(0x4cf)]=_0x40ebe0,this[_0x1ec359(0x59c)]=_0x5995bb,this[_0x1ec359(0x49f)]());}get['_socket'](){const _0x3d7d8a=_0x4299a1;return this[_0x3d7d8a(0x5ca)][_0x3d7d8a(0x58b)]();}[_0x4299a1(0x49f)](){const _0x306667=_0x4299a1;this[_0x306667(0x53b)](),this[_0x306667(0x316)]();}[_0x4299a1(0x229)](){const _0xc655b0=_0x4299a1;super[_0xc655b0(0x229)](),this['_sessions'][_0xc655b0(0x2c6)](_0x4b6389=>_0x4b6389['dispose']()),this[_0xc655b0(0x226)][_0xc655b0(0x44d)](),this['_status$'][_0xc655b0(0x405)]();}async[_0x4299a1(0x219)](_0xf6ff13){const _0x3cf843=_0x4299a1;if(this[_0x3cf843(0x226)]['has'](_0xf6ff13))return this[_0x3cf843(0x226)][_0x3cf843(0x401)](_0xf6ff13);this[_0x3cf843(0x2e7)]();const _0x3472a9=this['_injector']['createInstance'](ts,_0xf6ff13,this['_socket$'][_0x3cf843(0x42a)]());return this['_sessions'][_0x3cf843(0x3db)](_0xf6ff13,_0x3472a9),_0x3472a9;}['closeSession'](_0x5944f8){const _0xcce6b7=_0x4299a1;var _0x1842f6;const _0x3d139b=this[_0xcce6b7(0x226)]['get'](_0x5944f8);_0x3d139b&&(this[_0xcce6b7(0x226)][_0xcce6b7(0x404)](_0x5944f8),_0x3d139b[_0xcce6b7(0x25e)]()),this[_0xcce6b7(0x226)][_0xcce6b7(0x4c3)]||(_0x1842f6=this['_socket'])==null||_0x1842f6[_0xcce6b7(0x25e)]();}['reconnect'](){const _0x2b8197=_0x4299a1;this[_0x2b8197(0x32d)]=0x0,this[_0x2b8197(0x4dd)]!=null&&(clearTimeout(this[_0x2b8197(0x4dd)]),this['_retryConnectingTimer']=null),this[_0x2b8197(0x41b)]();}['_createSocket'](){const _0x4b9b5b=_0x4299a1;var _0x123103,_0x1e11f3;const _0x5a9070=this[_0x4b9b5b(0x4cf)][_0x4b9b5b(0x2b6)](hr),_0x5ee5fe=this[_0x4b9b5b(0x4cf)][_0x4b9b5b(0x2b6)](ie),_0x594942=(_0x1e11f3=(_0x123103=_0x5ee5fe==null?void 0x0:_0x5ee5fe[_0x4b9b5b(0x3c9)])!=null?_0x123103:_0x5a9070)!=null?_0x1e11f3:lr,_0x2da040=this[_0x4b9b5b(0x59c)][_0x4b9b5b(0x2dc)](_0x594942);return this[_0x4b9b5b(0x43b)]=_0x2da040,_0x2da040;}['_tryEnsureSocket'](){const _0x5e62f6=_0x4299a1;var _0x105d32,_0x57e347;try{const _0x1ea1ff=(_0x57e347=(_0x105d32=this[_0x5e62f6(0x302)])!=null?_0x105d32:this[_0x5e62f6(0x43b)])!=null?_0x57e347:this['_createSocket']();if(_0x1ea1ff){const _0x14e0fb=_0x1ea1ff[_0x5e62f6(0x333)];_0x1ea1ff[_0x5e62f6(0x333)]=_0x4ff912=>(this['_rescheduleHeartbeat'](),_0x14e0fb[_0x5e62f6(0x5cb)](_0x1ea1ff,[_0x4ff912])),_0x1ea1ff[_0x5e62f6(0x5c4)][_0x5e62f6(0x487)](_0x565669=>this[_0x5e62f6(0x365)](_0x1ea1ff,_0x565669)),_0x1ea1ff[_0x5e62f6(0x441)][_0x5e62f6(0x35f)](_0x47dab9(0x1))[_0x5e62f6(0x487)](_0x21f3ac=>this[_0x5e62f6(0x327)][_0x5e62f6(0x1c9)](_0x5e62f6(0x4df),_0x21f3ac)),_0x1ea1ff[_0x5e62f6(0x278)]['pipe'](_0x47dab9(0x1))[_0x5e62f6(0x487)](()=>{const _0x295354=_0x5e62f6;this[_0x295354(0x44e)](_0x1ea1ff);}),_0x1ea1ff[_0x5e62f6(0x43e)][_0x5e62f6(0x35f)](_0x47dab9(0x1))['subscribe'](_0x438183=>{const _0x172cb2=_0x5e62f6;this[_0x172cb2(0x327)]['debug'](_0x172cb2(0x518),_0x172cb2(0x1d5),_0x438183),this[_0x172cb2(0x415)]();});}}catch(_0x1ec353){this[_0x5e62f6(0x327)]['error'](_0x1ec353),this['_onConnectionFailed']();}}[_0x4299a1(0x44e)](_0x3764d2){const _0x40cc4e=_0x4299a1;this[_0x40cc4e(0x327)]['debug'](_0x40cc4e(0x518),_0x40cc4e(0x310)),_0x3764d2[_0x40cc4e(0x333)]({'cmd':W['HELLO']}),this[_0x40cc4e(0x58a)]();}[_0x4299a1(0x53b)](){const _0x5e25c3=_0x4299a1;window[_0x5e25c3(0x581)](_0x5e25c3(0x210),()=>this[_0x5e25c3(0x1f3)]());}['_onOffline'](){const _0x3dbf6c=_0x4299a1;this[_0x3dbf6c(0x3dc)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x3dbf6c(0x419)](ve[_0x3dbf6c(0x34a)]),this[_0x3dbf6c(0x5ca)][_0x3dbf6c(0x419)](null),this[_0x3dbf6c(0x21d)](),this[_0x3dbf6c(0x59f)]();}[_0x4299a1(0x415)](){const _0x3a6e9c=_0x4299a1;var _0x1e2af0;this[_0x3a6e9c(0x1f3)](),this[_0x3a6e9c(0x32d)]<((_0x1e2af0=this['_configService'][_0x3a6e9c(0x2b6)](fr))!=null?_0x1e2af0:vr)?(this['_messageService'][_0x3a6e9c(0x3eb)]({'key':_0x3a6e9c(0x2d1),'type':_0x34a324[_0x3a6e9c(0x34f)],'content':this[_0x3a6e9c(0x1d7)]['t'](_0x3a6e9c(0x355))}),this[_0x3a6e9c(0x41b)]()):this[_0x3a6e9c(0x306)]['show']({'key':_0x3a6e9c(0x2d1),'type':_0x34a324[_0x3a6e9c(0x4db)],'content':this[_0x3a6e9c(0x1d7)]['t'](_0x3a6e9c(0x458))});}[_0x4299a1(0x316)](){const _0x25712c=_0x4299a1,_0x577c23=()=>{const _0x5b1d50=_0x1dba;this[_0x5b1d50(0x302)]||this[_0x5b1d50(0x29f)]();},_0x5ad0ac=()=>{const _0x2c7291=_0x1dba;this[_0x2c7291(0x302)]||document[_0x2c7291(0x318)]===_0x2c7291(0x2b2)||this['reconnect']();};window['addEventListener'](_0x25712c(0x521),_0x577c23),document[_0x25712c(0x581)]('visibilitychange',_0x5ad0ac);}[_0x4299a1(0x41b)](){const _0x2ef189=_0x4299a1;var _0x3d89f5;const _0xbe7cd=this[_0x2ef189(0x32d)],_0xd5f79a=this['_configService'][_0x2ef189(0x2b6)](ie),_0x273f38=_0xbe7cd===0x0?0x0:((_0x3d89f5=_0xd5f79a==null?void 0x0:_0xd5f79a[_0x2ef189(0x5a2)])!=null?_0x3d89f5:dr)*0x2**_0xbe7cd;this[_0x2ef189(0x4dd)]=window['setTimeout'](()=>{const _0x176be0=_0x2ef189;clearTimeout(this[_0x176be0(0x4dd)]),this[_0x176be0(0x4dd)]=null,this[_0x176be0(0x2e7)]();},_0x273f38),this[_0x2ef189(0x32d)]+=0x1;}['_onMessage'](_0xcc5d4b,_0x423775){const _0x20dc82=_0x4299a1,{cmd:_0x5ad08c}=_0x423775;_0x5ad08c===W[_0x20dc82(0x330)]&&!this[_0x20dc82(0x3dc)]&&(_0xcc5d4b[_0x20dc82(0x514)]=_0x423775['data'][_0x20dc82(0x514)],this[_0x20dc82(0x5ca)][_0x20dc82(0x419)](_0xcc5d4b),this[_0x20dc82(0x3d5)][_0x20dc82(0x419)](ve[_0x20dc82(0x39f)]),this['_socketReady']=!0x0,this[_0x20dc82(0x43b)]=null),_0x5ad08c===W[_0x20dc82(0x40a)]&&this[_0x20dc82(0x21d)](),this[_0x20dc82(0x58a)]();}['_rescheduleHeartbeat'](){const _0x1096f3=_0x4299a1;var _0x1e3244;this[_0x1096f3(0x59f)](),this['_sendHeartbeatTimer']=window[_0x1096f3(0x560)](()=>this['_sendHeartbeat'](),(_0x1e3244=this[_0x1096f3(0x4cf)][_0x1096f3(0x2b6)](_r))!=null?_0x1e3244:ur);}[_0x4299a1(0x2c1)](){const _0x146b08=_0x4299a1;this[_0x146b08(0x302)][_0x146b08(0x333)]({'cmd':W[_0x146b08(0x40a)]}),this[_0x146b08(0x34e)]();}[_0x4299a1(0x34e)](){const _0x3e389a=_0x4299a1;var _0x321dd6;this[_0x3e389a(0x1ee)]=window['setTimeout'](()=>this[_0x3e389a(0x415)](),(_0x321dd6=this[_0x3e389a(0x4cf)][_0x3e389a(0x2b6)](bi))!=null?_0x321dd6:Ti);}[_0x4299a1(0x59f)](){const _0x36ed75=_0x4299a1;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x36ed75(0x4a4)]),this[_0x36ed75(0x4a4)]=null);}[_0x4299a1(0x21d)](){const _0x5f0e8a=_0x4299a1;this[_0x5f0e8a(0x1ee)]!=null&&(clearTimeout(this[_0x5f0e8a(0x1ee)]),this[_0x5f0e8a(0x1ee)]=null);}};Ae=Br([je(0x0,_0x2f5cfe(_0x22006e)),je(0x1,_0x2f5cfe(_0x44ee4c)),je(0x2,_0x3aefef),je(0x3,_0x105261),je(0x4,_0x3fd15e),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x4299a1(0x499)]((Nt+0x100)[_0x4299a1(0x37a)](0x10)[_0x4299a1(0x375)](0x1));function kr(_0x95f85b,_0x5203bc=0x0){const _0x40d825=_0x4299a1;return(Y[_0x95f85b[_0x5203bc+0x0]]+Y[_0x95f85b[_0x5203bc+0x1]]+Y[_0x95f85b[_0x5203bc+0x2]]+Y[_0x95f85b[_0x5203bc+0x3]]+'-'+Y[_0x95f85b[_0x5203bc+0x4]]+Y[_0x95f85b[_0x5203bc+0x5]]+'-'+Y[_0x95f85b[_0x5203bc+0x6]]+Y[_0x95f85b[_0x5203bc+0x7]]+'-'+Y[_0x95f85b[_0x5203bc+0x8]]+Y[_0x95f85b[_0x5203bc+0x9]]+'-'+Y[_0x95f85b[_0x5203bc+0xa]]+Y[_0x95f85b[_0x5203bc+0xb]]+Y[_0x95f85b[_0x5203bc+0xc]]+Y[_0x95f85b[_0x5203bc+0xd]]+Y[_0x95f85b[_0x5203bc+0xe]]+Y[_0x95f85b[_0x5203bc+0xf]])[_0x40d825(0x55c)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x19a0e9=_0x4299a1;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x19a0e9(0x579)]&&crypto['getRandomValues']['bind'](crypto),!ct))throw new Error(_0x19a0e9(0x1db));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x4299a1(0x444)](crypto);const js={'randomUUID':Vr};function Gr(_0xc4c835,_0x4b9e93,_0x550ca9){const _0x29a172=_0x4299a1;if(js[_0x29a172(0x2a8)]&&!_0x4b9e93&&!_0xc4c835)return js[_0x29a172(0x2a8)]();_0xc4c835=_0xc4c835||{};var _0x433a37=_0xc4c835[_0x29a172(0x1c0)]||(_0xc4c835[_0x29a172(0x4bc)]||Fr)();return _0x433a37[0x6]=_0x433a37[0x6]&0xf|0x40,_0x433a37[0x8]=_0x433a37[0x8]&0x3f|0x80,kr(_0x433a37);}var Yr=Object[_0x4299a1(0x5c7)],Kr=Object[_0x4299a1(0x563)],zr=(_0x2db051,_0x133e1e,_0x3dab4d,_0x421b54)=>{const _0x19e851=_0x4299a1;for(var _0x1c19fa=_0x421b54>0x1?void 0x0:_0x421b54?Kr(_0x133e1e,_0x3dab4d):_0x133e1e,_0x54d4fd=_0x2db051[_0x19e851(0x256)]-0x1,_0x1b2419;_0x54d4fd>=0x0;_0x54d4fd--)(_0x1b2419=_0x2db051[_0x54d4fd])&&(_0x1c19fa=(_0x421b54?_0x1b2419(_0x133e1e,_0x3dab4d,_0x1c19fa):_0x1b2419(_0x1c19fa))||_0x1c19fa);return _0x421b54&&_0x1c19fa&&Yr(_0x133e1e,_0x3dab4d,_0x1c19fa),_0x1c19fa;},At=(_0x4faa25,_0x355110)=>(_0x155473,_0x399d26)=>_0x355110(_0x155473,_0x399d26,_0x4faa25);let vt=class{constructor(_0x5085c7,_0x2bae84,_0x2944bc){const _0x449e89=_0x4299a1;this[_0x449e89(0x557)]=_0x5085c7,this[_0x449e89(0x5bd)]=_0x2bae84,this[_0x449e89(0x454)]=_0x2944bc;}['transformIMECache'](_0x17e88d){const _0x327384=_0x4299a1;this['_transformUndoRedoStack'](_0x17e88d),this[_0x327384(0x288)](_0x17e88d);}[_0x4299a1(0x37c)](_0x31680c){const _0x355413=_0x4299a1,{unitID:_0x563292}=_0x31680c,_0x25d72f=this[_0x355413(0x454)][_0x355413(0x435)](_0x563292)['with'](_0x4ed24e),{redoCache:_0x5c9d24}=_0x25d72f['getUndoRedoMutationParamsCache']();if(_0x5c9d24[_0x355413(0x256)]===0x0)return _0x31680c;let _0x37d16f=_0x30d2fb[_0x355413(0x509)](_0x31680c[_0x355413(0x3e7)][0x0]);for(let _0x227654=0x0;_0x227654<_0x5c9d24[_0x355413(0x256)];_0x227654++){const _0x461fa0={'id':_0x355413(0x42e),'params':{..._0x5c9d24[_0x227654]}},_0x4a0698=this[_0x355413(0x5bd)][_0x355413(0x372)](_0x37d16f,_0x461fa0,!0x1);if(_0x2b0d31(_0x4a0698))throw _0x4a0698[_0x355413(0x1c9)];_0x37d16f=_0x4a0698[_0x355413(0x1f9)];}return{..._0x30d2fb[_0x355413(0x509)](_0x31680c),'mutations':[_0x37d16f]};}['_transformUndoRedoStack'](_0x4f61f7){const _0x170b8e=_0x4299a1,{unitID:_0x475d30}=_0x4f61f7,_0x261b42=this[_0x170b8e(0x454)][_0x170b8e(0x435)](_0x475d30)[_0x170b8e(0x52d)](_0x4ed24e),{undoCache:_0x33c56a,redoCache:_0x3a4abf}=_0x261b42[_0x170b8e(0x370)]();if(_0x33c56a[_0x170b8e(0x256)]===0x0||_0x3a4abf[_0x170b8e(0x256)]===0x0)return;const _0x31b16c=[],_0x324034=[];let _0x130e86=_0x30d2fb['deepClone'](_0x4f61f7[_0x170b8e(0x3e7)][0x0]),_0x57038b=_0x30d2fb['deepClone'](_0x4f61f7[_0x170b8e(0x3e7)][0x0]);for(let _0x10769a=_0x33c56a['length']-0x1;_0x10769a>=0x0;_0x10769a--){const _0x413dbc={'id':_0x170b8e(0x42e),'params':{..._0x33c56a[_0x10769a]}},_0x3fbf34={'id':'doc.mutation.rich-text-editing','params':{..._0x3a4abf[_0x10769a]}},_0x15e466=this[_0x170b8e(0x5bd)]['transformMutation'](_0x130e86,_0x413dbc,!0x1),_0x6db181=this['_transformService'][_0x170b8e(0x372)](_0x57038b,_0x3fbf34,!0x1);if(_0x2b0d31(_0x15e466))throw _0x15e466[_0x170b8e(0x1c9)];if(_0x2b0d31(_0x6db181))throw _0x6db181['error'];_0x31b16c[_0x170b8e(0x2d6)](_0x15e466[_0x170b8e(0x20e)][_0x170b8e(0x217)]),_0x324034['unshift'](_0x6db181[_0x170b8e(0x20e)]['params']),_0x130e86=_0x15e466[_0x170b8e(0x1f9)],_0x57038b=_0x6db181[_0x170b8e(0x1f9)];}_0x261b42[_0x170b8e(0x2f9)]({'undoCache':_0x31b16c,'redoCache':_0x324034});}[_0x4299a1(0x288)](_0x425a83){const _0x173340=_0x4299a1,{unitID:_0x513288}=_0x425a83,_0x4b9f30=this[_0x173340(0x454)][_0x173340(0x435)](_0x513288)[_0x173340(0x52d)](_0x4ed24e),_0x1168bc=_0x4b9f30[_0x173340(0x33e)]();if(_0x1168bc==null)return;const _0x388793=[{'id':_0x173340(0x42e),'params':{'unitId':_0x425a83[_0x173340(0x3cd)],'actions':null,'textRanges':[_0x1168bc]}}],_0x2e4b3e=this[_0x173340(0x5bd)]['transformMutationsWithChangeset'](_0x425a83,_0x388793);if(!_0x1be378(_0x2e4b3e))throw _0x2e4b3e[_0x173340(0x1c9)];const _0x45cf0e=_0x2e4b3e[_0x173340(0x20e)][0x0]['params'][_0x173340(0x587)];Array[_0x173340(0x1e2)](_0x45cf0e)&&_0x45cf0e[_0x173340(0x256)]&&_0x4b9f30[_0x173340(0x496)](_0x45cf0e[0x0]);}};vt=zr([At(0x0,_0x2f5cfe(_0x22006e)),At(0x1,_0x131cfd),At(0x2,_0x113a5e)],vt);var qr=Object[_0x4299a1(0x5c7)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x30b37d,_0x4120ae,_0x62c975,_0x4a1009)=>{const _0x2f3c3f=_0x4299a1;for(var _0x532f10=_0x4a1009>0x1?void 0x0:_0x4a1009?Xr(_0x4120ae,_0x62c975):_0x4120ae,_0x31ce0a=_0x30b37d[_0x2f3c3f(0x256)]-0x1,_0x6083d6;_0x31ce0a>=0x0;_0x31ce0a--)(_0x6083d6=_0x30b37d[_0x31ce0a])&&(_0x532f10=(_0x4a1009?_0x6083d6(_0x4120ae,_0x62c975,_0x532f10):_0x6083d6(_0x532f10))||_0x532f10);return _0x4a1009&&_0x532f10&&qr(_0x4120ae,_0x62c975,_0x532f10),_0x532f10;},Xe=(_0x91aff1,_0x124f86)=>(_0x162fc9,_0x2294ad)=>_0x124f86(_0x162fc9,_0x2294ad,_0x91aff1);let q=class extends _0x3ee966{constructor(_0x451e2f,_0x544fb2,_0xee251d,_0x5b43ec,_0x12179b){const _0x29b3f=_0x4299a1;super(),g(this,_0x29b3f(0x368),new Map()),g(this,_0x29b3f(0x456),new Map()),g(this,_0x29b3f(0x51b),!0x1),(this['_configService']=_0x451e2f,this[_0x29b3f(0x2c3)]=_0x544fb2,this['_beforeCloseService']=_0xee251d,this[_0x29b3f(0x1d7)]=_0x5b43ec,this[_0x29b3f(0x436)]=_0x12179b,this[_0x29b3f(0x4af)]());}[_0x4299a1(0x574)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x4299a1(0x229)](){const _0x47acd9=_0x4299a1;this[_0x47acd9(0x360)]()[_0x47acd9(0x4ad)](()=>super[_0x47acd9(0x229)]());}async[_0x4299a1(0x2e9)](_0x5e40e4){const _0x22ecf3=_0x4299a1;return this[_0x22ecf3(0x51b)]?null:this[_0x22ecf3(0x2c3)][_0x22ecf3(0x308)](Bs(_0x5e40e4));}async[_0x4299a1(0x503)](_0x2969bc,_0x8222aa){const _0x4cb380=_0x4299a1;return!!this[_0x4cb380(0x2c3)]['setItem'](_0x2969bc,_0x8222aa);}['updateOfflineData'](_0x14a546,_0x5583ce,_0x34350e,_0x3cd089){const _0x40d5d4=_0x4299a1,_0x20daf8=this[_0x40d5d4(0x436)][_0x40d5d4(0x4b4)](_0x14a546);this[_0x40d5d4(0x368)][_0x40d5d4(0x3db)](_0x14a546,{'unitID':_0x14a546,'type':_0x5583ce,'awaitingChangeset':_0x34350e,'mutations':_0x3cd089,'rev':_0x20daf8}),this['_saveTaskMap'][_0x40d5d4(0x31a)](_0x14a546)||this[_0x40d5d4(0x350)](_0x14a546);}[_0x4299a1(0x350)](_0x2376c4){const _0x50cf2e=_0x4299a1,_0x10a3f9=this[_0x50cf2e(0x1d4)]();_0x10a3f9===0x0?this[_0x50cf2e(0x417)](_0x2376c4):this['_saveTaskMap'][_0x50cf2e(0x3db)](_0x2376c4,setTimeout(()=>this[_0x50cf2e(0x417)](_0x2376c4),_0x10a3f9));}[_0x4299a1(0x1d4)](){const _0x130d5f=_0x4299a1;var _0x1e1a85;return(_0x1e1a85=this[_0x130d5f(0x4cf)][_0x130d5f(0x2b6)](mr))!=null?_0x1e1a85:pr;}[_0x4299a1(0x417)](_0x2f6d56){const _0x41093a=_0x4299a1,_0x2ce73a=this[_0x41093a(0x456)][_0x41093a(0x401)](_0x2f6d56);return _0x2ce73a!==void 0x0&&window['clearTimeout'](_0x2ce73a),this[_0x41093a(0x2c3)][_0x41093a(0x421)](Bs(_0x2f6d56),this[_0x41093a(0x368)][_0x41093a(0x401)](_0x2f6d56))['then'](()=>this['_saveTaskMap']['delete'](_0x2f6d56));}async[_0x4299a1(0x360)](){const _0x38f8a7=_0x4299a1,_0x21140b=[];this[_0x38f8a7(0x456)]['forEach']((_0x1b2730,_0x1382de)=>{const _0x5b4066=_0x38f8a7;window[_0x5b4066(0x4f8)](_0x1b2730),_0x21140b[_0x5b4066(0x499)](this[_0x5b4066(0x417)](_0x1382de)[_0x5b4066(0x4ad)](()=>{const _0x54630f=_0x5b4066;this[_0x54630f(0x456)]['delete'](_0x1382de);}));}),await Promise['all'](_0x21140b);}[_0x4299a1(0x4af)](){const _0x3ca922=_0x4299a1;this[_0x3ca922(0x5b7)](this[_0x3ca922(0x57b)][_0x3ca922(0x332)](()=>{const _0x24f167=_0x3ca922;if(this[_0x24f167(0x456)][_0x24f167(0x4c3)])return this[_0x24f167(0x1d7)]['t'](_0x24f167(0x218));}));}};q=Jr([Xe(0x0,_0x3fd15e),Xe(0x1,_0x5eff7a),Xe(0x2,_0x51784a),Xe(0x3,_0x2f5cfe(_0x44ee4c)),Xe(0x4,_0x2f5cfe(_0x12797c))],q);function Bs(_0x19bad8){const _0x403b03=_0x4299a1;return _0x403b03(0x213)+_0x19bad8;}var Zr=Object[_0x4299a1(0x5c7)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x3f6b75,_0x154d3d,_0x32be8b,_0x182b88)=>{const _0x26df09=_0x4299a1;for(var _0x3283ea=_0x182b88>0x1?void 0x0:_0x182b88?Qr(_0x154d3d,_0x32be8b):_0x154d3d,_0x4d453e=_0x3f6b75[_0x26df09(0x256)]-0x1,_0x2d504d;_0x4d453e>=0x0;_0x4d453e--)(_0x2d504d=_0x3f6b75[_0x4d453e])&&(_0x3283ea=(_0x182b88?_0x2d504d(_0x154d3d,_0x32be8b,_0x3283ea):_0x2d504d(_0x3283ea))||_0x3283ea);return _0x182b88&&_0x3283ea&&Zr(_0x154d3d,_0x32be8b,_0x3283ea),_0x3283ea;},Mt=(_0x1a083a,_0x165b30)=>(_0x4eec18,_0x6a74af)=>_0x165b30(_0x4eec18,_0x6a74af,_0x1a083a);function to(_0x5773b9){const _0x186aea=_0x4299a1,{unitID:_0x4124ca,mutations:_0x5283a0}=_0x5773b9;return{'unitId':_0x4124ca,'subUnitId':_0x5283a0[0x0][_0x186aea(0x217)][_0x186aea(0x559)]};}let mt=class{constructor(_0x45b82a,_0x590c81,_0x17e9f2){const _0x5a92aa=_0x4299a1;this[_0x5a92aa(0x557)]=_0x45b82a,this[_0x5a92aa(0x5bd)]=_0x590c81,this[_0x5a92aa(0x41d)]=_0x17e9f2;}[_0x4299a1(0x576)](_0x55ba96){const _0x32bc26=_0x4299a1;var _0x5f1396,_0x2406c6,_0x58257e,_0x15f037;const _0x103c7d=this[_0x32bc26(0x557)][_0x32bc26(0x401)](_0x492658),{unitId:_0x189b26,subUnitId:_0x5a30bd}=to(_0x55ba96),_0x138924=_0x103c7d[_0x32bc26(0x22f)](_0x189b26)[_0x32bc26(0x59a)](),_0x253ebb=(_0x2406c6=(_0x5f1396=this[_0x32bc26(0x41d)][_0x32bc26(0x32b)](_0x189b26))==null?void 0x0:_0x5f1396[_0x32bc26(0x46c)]())==null?void 0x0:_0x2406c6['getSheetId']();if(_0x138924[_0x32bc26(0x256)]===0x0||!_0x189b26||!_0x5a30bd)return;const _0x56014f=[{'id':_0x1cb700['id'],'params':{'unitId':_0x189b26,'subUnitId':_0x253ebb,'selections':_0x30d2fb[_0x32bc26(0x509)](_0x138924)}}],_0x13be6d=this[_0x32bc26(0x5bd)][_0x32bc26(0x364)](_0x55ba96,_0x56014f);if(!_0x1be378(_0x13be6d))throw _0x13be6d[_0x32bc26(0x1c9)];const _0x482693=(_0x15f037=(_0x58257e=_0x13be6d[_0x32bc26(0x20e)][0x0])==null?void 0x0:_0x58257e['params'])==null?void 0x0:_0x15f037[_0x32bc26(0x470)];if(Array[_0x32bc26(0x1e2)](_0x482693)&&_0x482693['length']){if(_0x482693[_0x32bc26(0x256)]===_0x56014f[0x0][_0x32bc26(0x217)]['selections'][_0x32bc26(0x256)]&&_0x482693[_0x32bc26(0x3cf)]((_0xa657a7,_0x2692f6)=>_0x6605f4[_0x32bc26(0x5c6)](_0xa657a7[_0x32bc26(0x478)],_0x56014f[0x0]['params'][_0x32bc26(0x470)][_0x2692f6][_0x32bc26(0x478)])))return;this[_0x32bc26(0x557)][_0x32bc26(0x401)](_0x2d1134)[_0x32bc26(0x23c)](_0x1cb700['id'],{'unitId':_0x189b26,'subUnitId':_0x253ebb,'selections':_0x482693});}}};mt=eo([Mt(0x0,_0x2f5cfe(_0x22006e)),Mt(0x1,_0x131cfd),Mt(0x2,_0x19bced)],mt);const yt=_0x47ec37(_0x4299a1(0x2fc));var Di=(_0x5371ee=>(_0x5371ee[_0x5371ee[_0x4299a1(0x44f)]=0x0]=_0x4299a1(0x44f),_0x5371ee[_0x5371ee[_0x4299a1(0x244)]=0x1]=_0x4299a1(0x244),_0x5371ee))(Di||{});const ks=0x7530,Ws=_0x4299a1(0x4fb);class so extends _0x3ee966{constructor(){const _0x3a1dac=_0x4299a1;super(),g(this,_0x3a1dac(0x325),_0x30d2fb['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x3a1dac(0x429),new Map()),g(this,_0x3a1dac(0x35a),null),g(this,_0x3a1dac(0x201),new Map()),g(this,'_unitStatus',new Map()),this['_init']();}[_0x4299a1(0x229)](){const _0x4b03e5=_0x4299a1;super[_0x4b03e5(0x229)](),this[_0x4b03e5(0x201)]['forEach']((_0xa1b9dc,_0x5ae753)=>this[_0x4b03e5(0x280)](_0x5ae753)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x4299a1(0x2c4)](_0x481d33){const _0x52654b=_0x4299a1;return this[_0x52654b(0x2be)](_0x481d33)[_0x52654b(0x35f)](_0x5f1eca());}['editingUnit'](_0x302e08){const _0xf6148b=_0x4299a1;this[_0xf6148b(0x5ac)][_0xf6148b(0x4c3)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0xf6148b(0x57f)](_0x302e08),this[_0xf6148b(0x5a9)]({'type':0x0,'memberID':this[_0xf6148b(0x325)],'unitIDs':[_0x302e08],'isForwarded':!0x1});}[_0x4299a1(0x55f)](_0x3fa6b2){const _0x38ef6f=_0x4299a1;this[_0x38ef6f(0x5ac)][_0x38ef6f(0x404)](_0x3fa6b2),this['_selfUnitIDs'][_0x38ef6f(0x4c3)]===0x0&&this[_0x38ef6f(0x35a)]&&window[_0x38ef6f(0x4cd)](this[_0x38ef6f(0x35a)]);}[_0x4299a1(0x389)](){const _0x53a894=_0x4299a1;this[_0x53a894(0x5b7)](_0xd4e920(_0x464cf3(window,_0x53a894(0x22a))[_0x53a894(0x487)](_0x4c894a=>{const _0x578fe6=_0x53a894;if(_0x4c894a['key']!==Ws||!_0x4c894a['newValue'])return;const _0x1f7bbd=JSON['parse'](_0x4c894a['newValue']);this[_0x578fe6(0x397)](_0x1f7bbd);}))),window[_0x53a894(0x581)]('unload',()=>this[_0x53a894(0x5a9)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x53a894(0x527)](this[_0x53a894(0x5ac)])}));}[_0x4299a1(0x397)](_0x342d5e){const _0x4a50fd=_0x4299a1;switch(_0x342d5e['type']){case 0x0:this[_0x4a50fd(0x5cc)](_0x342d5e);break;case 0x1:this[_0x4a50fd(0x24e)](_0x342d5e);break;case 0x2:this['_handleHeartbeatEvent'](_0x342d5e);break;}}[_0x4299a1(0x5cc)](_0x4a8021){const _0x30a5de=_0x4299a1,{unitIDs:_0x4a6817,memberID:_0x59b01a,isForwarded:_0x4af2d9}=_0x4a8021;_0x4a6817[_0x30a5de(0x2c6)](_0xab299b=>{const _0x52e920=_0x30a5de;if(!_0x4af2d9&&this[_0x52e920(0x429)]['has'](_0xab299b)&&this[_0x52e920(0x2be)](_0xab299b)[_0x52e920(0x419)](0x1),!this['_unitOnClients'][_0x52e920(0x31a)](_0xab299b)||!this[_0x52e920(0x429)]['get'](_0xab299b)[_0x52e920(0x31a)](_0x59b01a)){const _0x23caae=this['_unitOnClients'][_0x52e920(0x401)](_0xab299b)||new Set();_0x23caae[_0x52e920(0x57f)](_0x59b01a),this['_unitOnClients']['set'](_0xab299b,_0x23caae),this[_0x52e920(0x37b)](_0x59b01a);}}),_0x4af2d9||this[_0x30a5de(0x5a9)]({'type':0x0,'memberID':this[_0x30a5de(0x325)],'unitIDs':[...this[_0x30a5de(0x5ac)]],'isForwarded':!0x0});}[_0x4299a1(0x37b)](_0x50d891){const _0x36c8f5=_0x4299a1;this[_0x36c8f5(0x280)](_0x50d891);const _0x4b32e9=window[_0x36c8f5(0x560)](()=>{const _0x2c2b76=_0x36c8f5;this[_0x2c2b76(0x429)]['forEach'](_0x864777=>{const _0x4cda55=_0x2c2b76;_0x864777[_0x4cda55(0x404)](_0x50d891);});},ks*0x2);this[_0x36c8f5(0x201)]['set'](_0x50d891,_0x4b32e9);}[_0x4299a1(0x280)](_0x29fe42){const _0x34da7c=_0x4299a1;if(this[_0x34da7c(0x201)][_0x34da7c(0x31a)](_0x29fe42)){const _0x47cd2c=this[_0x34da7c(0x201)]['get'](_0x29fe42);_0x47cd2c&&window[_0x34da7c(0x4f8)](_0x47cd2c),this[_0x34da7c(0x201)][_0x34da7c(0x3db)](_0x29fe42,null);}}[_0x4299a1(0x24e)](_0x11aa4d){const _0x553cd5=_0x4299a1,{memberID:_0x3253c5,unitIDs:_0x525e11}=_0x11aa4d;_0x525e11[_0x553cd5(0x2c6)](_0x1757ba=>{const _0x51c480=_0x553cd5;var _0x386fca;const _0x1b4bfa=this[_0x51c480(0x429)][_0x51c480(0x401)](_0x1757ba);_0x1b4bfa&&(_0x1b4bfa[_0x51c480(0x404)](_0x3253c5),(_0x386fca=this[_0x51c480(0x2be)](_0x1757ba))==null||_0x386fca[_0x51c480(0x419)](_0x1b4bfa[_0x51c480(0x4c3)]===0x0?0x0:0x1));}),this[_0x553cd5(0x280)](_0x3253c5);}['_handleHeartbeatEvent'](_0x26b7d3){const _0xed0833=_0x4299a1;this['_scheduleClearOtherTimer'](_0x26b7d3[_0xed0833(0x514)]);}[_0x4299a1(0x5a9)](_0x337f15){const _0x4b3961=_0x4299a1;localStorage[_0x4b3961(0x421)](Ws,JSON[_0x4b3961(0x1fb)](_0x337f15));}['_scheduleHeartbeat'](){const _0x405de1=_0x4299a1;this[_0x405de1(0x35a)]=window[_0x405de1(0x595)](()=>{const _0x4977f1=_0x405de1;this[_0x4977f1(0x5a9)]({'type':0x2,'memberID':this['_id']});},ks);}['_ensureSubject'](_0x59f417){const _0x380a39=_0x4299a1;return this[_0x380a39(0x3ee)][_0x380a39(0x31a)](_0x59f417)||this[_0x380a39(0x3ee)]['set'](_0x59f417,new _0x37eed6(0x0)),this['_unitStatus'][_0x380a39(0x401)](_0x59f417);}}var io=Object[_0x4299a1(0x5c7)],no=Object[_0x4299a1(0x563)],ro=(_0x5bf779,_0x301cb8,_0x3db43e,_0x56a40c)=>{const _0x17e89a=_0x4299a1;for(var _0x1ff49f=_0x56a40c>0x1?void 0x0:_0x56a40c?no(_0x301cb8,_0x3db43e):_0x301cb8,_0x226523=_0x5bf779[_0x17e89a(0x256)]-0x1,_0x450e25;_0x226523>=0x0;_0x226523--)(_0x450e25=_0x5bf779[_0x226523])&&(_0x1ff49f=(_0x56a40c?_0x450e25(_0x301cb8,_0x3db43e,_0x1ff49f):_0x450e25(_0x1ff49f))||_0x1ff49f);return _0x56a40c&&_0x1ff49f&&io(_0x301cb8,_0x3db43e,_0x1ff49f),_0x1ff49f;},xt=(_0x5c223f,_0x1b0c89)=>(_0x9364fa,_0x3ed5ad)=>_0x1b0c89(_0x9364fa,_0x3ed5ad,_0x5c223f);let pt=class{constructor(_0x4da3c1,_0x852ad0,_0x25d188){const _0x2379ae=_0x4299a1;this[_0x2379ae(0x557)]=_0x4da3c1,this['_transformService']=_0x852ad0,this[_0x2379ae(0x4ec)]=_0x25d188;}['transformStateCache'](_0x15892f){const _0x3ff952=_0x4299a1;this[_0x3ff952(0x433)](_0x15892f);}[_0x4299a1(0x37c)](_0x53b259){const _0x5d4329=_0x4299a1,{unitID:_0xfd2908}=_0x53b259,{collaboration:_0x5a9efa}=this[_0x5d4329(0x4ec)][_0x5d4329(0x5bb)](_0xfd2908);if(_0x5a9efa[_0x5d4329(0x256)]===0x0)return _0x53b259;let _0x4660dc=_0x30d2fb[_0x5d4329(0x509)](_0x53b259['mutations'][0x0]);for(let _0x3e12e6=0x0;_0x3e12e6<_0x5a9efa[_0x5d4329(0x256)];_0x3e12e6++){const _0xab8c66={'id':_0x5d4329(0x42e),'params':{'unitId':_0x5a9efa[_0x3e12e6][_0x5d4329(0x2ea)],..._0x5a9efa[_0x3e12e6][_0x5d4329(0x20a)]}},_0x4e912e=this[_0x5d4329(0x5bd)][_0x5d4329(0x372)](_0x4660dc,_0xab8c66,!0x1);if(_0x2b0d31(_0x4e912e))throw _0x4e912e[_0x5d4329(0x1c9)];_0x4660dc=_0x4e912e[_0x5d4329(0x1f9)];}return{..._0x30d2fb[_0x5d4329(0x509)](_0x53b259),'mutations':[_0x4660dc]};}[_0x4299a1(0x433)](_0x151cf4){const _0x335848=_0x4299a1,{unitID:_0x1fe04c}=_0x151cf4,{history:_0x187491,collaboration:_0x58825f}=this[_0x335848(0x4ec)][_0x335848(0x5bb)](_0x1fe04c);if(_0x187491[_0x335848(0x256)]===0x0&&_0x58825f['length']===0x0)return;const _0x138ed8=[],_0x124805=[];let _0x17a0f7=_0x30d2fb[_0x335848(0x509)](_0x151cf4['mutations'][0x0]),_0x18c8e1=_0x30d2fb[_0x335848(0x509)](_0x151cf4[_0x335848(0x3e7)][0x0]);for(let _0xef7c3a=_0x187491[_0x335848(0x256)]-0x1;_0xef7c3a>=0x0;_0xef7c3a--){const _0x3e1bf3={'id':_0x335848(0x42e),'params':{'unitId':_0x187491[_0xef7c3a]['unitId'],..._0x187491[_0xef7c3a][_0x335848(0x1d3)]}},_0x5a4883={'id':_0x335848(0x42e),'params':{'unitId':_0x187491[_0xef7c3a]['unitId'],..._0x187491[_0xef7c3a][_0x335848(0x20a)]}},_0x5ab272=this[_0x335848(0x5bd)][_0x335848(0x372)](_0x17a0f7,_0x3e1bf3,!0x1),_0x2d276d=this[_0x335848(0x5bd)][_0x335848(0x372)](_0x18c8e1,_0x5a4883,!0x1);if(_0x2b0d31(_0x5ab272))throw _0x5ab272['error'];if(_0x2b0d31(_0x2d276d))throw _0x2d276d[_0x335848(0x1c9)];_0x138ed8['unshift']({..._0x187491[_0xef7c3a],'undoState':_0x5ab272[_0x335848(0x20e)][_0x335848(0x217)],'redoState':_0x2d276d[_0x335848(0x20e)]['params']}),_0x17a0f7=_0x5ab272[_0x335848(0x1f9)],_0x18c8e1=_0x2d276d['m1Prime'];}_0x17a0f7=_0x30d2fb[_0x335848(0x509)](_0x151cf4[_0x335848(0x3e7)][0x0]),_0x18c8e1=_0x30d2fb[_0x335848(0x509)](_0x151cf4[_0x335848(0x3e7)][0x0]);for(let _0x194888=_0x58825f[_0x335848(0x256)]-0x1;_0x194888>=0x0;_0x194888--){const _0x59a1e9={'id':_0x335848(0x42e),'params':{'unitId':_0x58825f[_0x194888][_0x335848(0x2ea)],..._0x58825f[_0x194888]['undoState']}},_0x228c9b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58825f[_0x194888][_0x335848(0x2ea)],..._0x58825f[_0x194888]['redoState']}},_0x26e3e1=this['_transformService']['transformMutation'](_0x17a0f7,_0x59a1e9,!0x1),_0x22f811=this[_0x335848(0x5bd)][_0x335848(0x372)](_0x18c8e1,_0x228c9b,!0x1);if(_0x2b0d31(_0x26e3e1))throw _0x26e3e1[_0x335848(0x1c9)];if(_0x2b0d31(_0x22f811))throw _0x22f811[_0x335848(0x1c9)];_0x124805[_0x335848(0x2d6)]({..._0x58825f[_0x194888],'undoState':_0x26e3e1[_0x335848(0x20e)]['params'],'redoState':_0x22f811[_0x335848(0x20e)][_0x335848(0x217)]}),_0x17a0f7=_0x26e3e1[_0x335848(0x1f9)],_0x18c8e1=_0x22f811[_0x335848(0x1f9)];}this[_0x335848(0x4ec)][_0x335848(0x426)](_0x1fe04c,{'history':_0x138ed8,'collaboration':_0x124805});}};pt=ro([xt(0x0,_0x2f5cfe(_0x22006e)),xt(0x1,_0x131cfd),xt(0x2,_0x2f5cfe(_0x1e13e9))],pt);function Pi(_0x348967){const _0x575d98=_0x4299a1;let _0x476b91='';for(const _0xac5c62 of _0x348967){const {startOffset:_0x1ae49a,endOffset:_0x578a57,isActive:_0x426ec1,rangeType:_0x4f0ce1,segmentId:_0x1c98df,segmentPage:_0x2cf2b6}=_0xac5c62;_0x476b91[_0x575d98(0x256)]&&(_0x476b91+=','),_0x476b91+=_0x1ae49a+':'+_0x578a57+':'+(_0x426ec1?'1':'0')+':'+_0x4f0ce1+':'+_0x1c98df+':'+_0x2cf2b6;}return _0x476b91;}function oo(_0x222541){const _0x344d76=_0x4299a1,_0x52454f=_0x222541['split'](','),_0x3c9387=[];for(const _0x458493 of _0x52454f){const [_0x5a30c9,_0x27469f,_0x333ed7,_0x1f0e3a,_0x20af8f,_0x552f53]=_0x458493[_0x344d76(0x3a3)](':');_0x3c9387[_0x344d76(0x499)]({'startOffset':Number(_0x5a30c9),'endOffset':Number(_0x27469f),'collapsed':_0x5a30c9===_0x27469f,'isActive':_0x333ed7==='1','rangeType':_0x1f0e3a===_0x1845e2['TEXT']?_0x1845e2['TEXT']:_0x1845e2[_0x344d76(0x51f)],'segmentId':typeof _0x20af8f==_0x344d76(0x3b4)?String(_0x20af8f):'','segmentPage':Number(_0x552f53!=null?_0x552f53:-0x1)});}return _0x3c9387[_0x344d76(0x4c6)](_0x2367c0=>_0x2367c0[_0x344d76(0x2aa)])||(_0x3c9387[0x0]['isActive']=!0x0),_0x3c9387;}class Cs extends _0x737a66{constructor(){const _0x7704d7=_0x4299a1;super(...arguments),g(this,_0x7704d7(0x3d0),new _0x37eed6(null)),g(this,_0x7704d7(0x2f4),this['_collabCursorState$'][_0x7704d7(0x42a)]());}[_0x4299a1(0x281)](_0x234d8e){const _0x2ef22e=_0x4299a1,{unitID:_0x5f4af7,memberID:_0x4b3c56,textRanges:_0x5d7754}=_0x234d8e,_0x44f518=Pi(_0x5d7754);if(_0x44f518==='')return;const _0x5734bf={'unitID':_0x5f4af7,'memberID':_0x4b3c56,'selection':_0x44f518};this[_0x2ef22e(0x3d0)]['next'](_0x5734bf);}}var ao=Object[_0x4299a1(0x5c7)],co=Object['getOwnPropertyDescriptor'],ho=(_0x33ee0f,_0x864b91,_0x9795b5,_0x45c00c)=>{const _0x1460b8=_0x4299a1;for(var _0x1f4b08=_0x45c00c>0x1?void 0x0:_0x45c00c?co(_0x864b91,_0x9795b5):_0x864b91,_0x2a3907=_0x33ee0f[_0x1460b8(0x256)]-0x1,_0x2611ae;_0x2a3907>=0x0;_0x2a3907--)(_0x2611ae=_0x33ee0f[_0x2a3907])&&(_0x1f4b08=(_0x45c00c?_0x2611ae(_0x864b91,_0x9795b5,_0x1f4b08):_0x2611ae(_0x1f4b08))||_0x1f4b08);return _0x45c00c&&_0x1f4b08&&ao(_0x864b91,_0x9795b5,_0x1f4b08),_0x1f4b08;},Fs=(_0x36d512,_0x3c43b7)=>(_0xee01fd,_0x5778eb)=>_0x3c43b7(_0xee01fd,_0x5778eb,_0x36d512);let gt=class{constructor(_0x2c10ad,_0x496ae3){const _0x1a2424=_0x4299a1;this[_0x1a2424(0x557)]=_0x2c10ad,this[_0x1a2424(0x5bd)]=_0x496ae3;}[_0x4299a1(0x576)](_0x516ca8){const _0x4de55e=_0x4299a1;var _0x2543ab;const _0x23e096=this[_0x4de55e(0x557)][_0x4de55e(0x401)](_0x3c0350),_0x406381=(_0x2543ab=_0x23e096[_0x4de55e(0x388)]())!=null?_0x2543ab:[];if(_0x406381[_0x4de55e(0x256)]===0x0)return;const _0x3967c4=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x516ca8[_0x4de55e(0x3cd)],'actions':null,'textRanges':_0x406381}}],_0x53b335=this[_0x4de55e(0x5bd)][_0x4de55e(0x364)](_0x516ca8,_0x3967c4);if(!_0x1be378(_0x53b335))throw _0x53b335[_0x4de55e(0x1c9)];const _0x5b1c4c=_0x53b335[_0x4de55e(0x20e)][0x0]['params'][_0x4de55e(0x587)];Array[_0x4de55e(0x1e2)](_0x5b1c4c)&&_0x5b1c4c['length']&&_0x23e096['replaceTextRanges'](_0x5b1c4c,!0x1);}};gt=ho([Fs(0x0,_0x2f5cfe(_0x22006e)),Fs(0x1,_0x131cfd)],gt);const lo=new Set([_0x505daa['id']]);function Vs(_0x592e78,_0x57602d,_0x53ee08,_0x148879,_0x2a52d2){const _0x2015a8=_0x4299a1;var _0x39a943,_0x417a50,_0x56cfa7,_0x34b653;const _0x327418=[];for(const _0x1976bd of _0x592e78)if(lo[_0x2015a8(0x31a)](_0x1976bd['id'])){if(_0x327418[_0x2015a8(0x256)]>0x0)break;_0x327418[_0x2015a8(0x499)](_0x1976bd);break;}else _0x327418['push'](_0x1976bd);const _0x5debf9=(_0x417a50=(_0x39a943=_0x2a52d2['getCurrentUser']())==null?void 0x0:_0x39a943[_0x2015a8(0x286)])!=null?_0x417a50:'unknown',_0x39523d=(_0x34b653=(_0x56cfa7=_0x2a52d2[_0x2015a8(0x502)]())==null?void 0x0:_0x56cfa7[_0x2015a8(0x514)])!=null?_0x34b653:_0x2015a8(0x38a);return{'changeset':{'unitID':_0x57602d,'type':_0x50a3c7(_0x53ee08['getUnitType'](_0x57602d)),'baseRev':_0x148879[_0x2015a8(0x4b4)](_0x57602d),'revision':0x0,'userID':_0x5debf9,'memberID':_0x39523d,'mutations':_0x327418},'pendingMutations':_0x592e78[_0x2015a8(0x375)](_0x327418['length'])};}function _o(_0x407d36,_0x10a0d2,_0x197861,_0x45d4b7,_0x156fcb){const _0x41bd04=_0x4299a1;var _0x472a95,_0x404aea,_0x357712,_0x355dec;const _0x26447b=[_0x407d36['reduce']((_0x57b1eb,_0x4f1d7a)=>{const _0x2ab87a=_0x1dba;var _0x32e4f2;const {id:_0x1be1b3}=_0x57b1eb,{id:_0x5544b1,type:_0x3da5d2}=_0x4f1d7a,_0x9482c2=(_0x32e4f2=_0x57b1eb[_0x2ab87a(0x217)])!=null?_0x32e4f2:{'actions':null},_0x52abc2=_0x4f1d7a[_0x2ab87a(0x217)];if(_0x1be1b3&&_0x1be1b3!==_0x5544b1)throw new Error(_0x2ab87a(0x45e)+_0x1be1b3+_0x2ab87a(0x2ad)+_0x5544b1+'.');return{..._0x57b1eb,'id':_0x5544b1,'type':_0x3da5d2,'params':{'unitId':_0x52abc2[_0x2ab87a(0x2ea)],'textRanges':_0x52abc2[_0x2ab87a(0x587)],'actions':_0x12fa9e[_0x2ab87a(0x50e)](_0x9482c2['actions'],_0x52abc2[_0x2ab87a(0x3b6)])}};},{})],_0x140fb3=(_0x404aea=(_0x472a95=_0x156fcb['getCurrentUser']())==null?void 0x0:_0x472a95['userID'])!=null?_0x404aea:_0x41bd04(0x38a),_0x2793f8=(_0x355dec=(_0x357712=_0x156fcb[_0x41bd04(0x502)]())==null?void 0x0:_0x357712[_0x41bd04(0x514)])!=null?_0x355dec:_0x41bd04(0x38a);return{'changeset':{'unitID':_0x10a0d2,'type':_0x50a3c7(_0x197861['getUnitType'](_0x10a0d2)),'baseRev':_0x45d4b7[_0x41bd04(0x4b4)](_0x10a0d2),'revision':0x0,'userID':_0x140fb3,'memberID':_0x2793f8,'mutations':_0x26447b},'pendingMutations':[]};}function Ui(_0xe05a87,_0x8ccb9){const _0x161e92=_0x4299a1,_0x5d6f5e=new _0x109ef2(0x1);return setTimeout(()=>_0x5d6f5e[_0x161e92(0x419)](_0x8ccb9),_0xe05a87),_0x5d6f5e['asObservable']()[_0x161e92(0x35f)](_0x39a45e(0x1));}const uo={'id':_0x5be8fc['id'],'type':_0x76554b['MUTATION'],'params':{}};var fo=Object['defineProperty'],vo=Object[_0x4299a1(0x563)],Le=(_0x42eaa5,_0x218df6,_0xf75628,_0x283ae7)=>{const _0x31d209=_0x4299a1;for(var _0xdd6d22=_0x283ae7>0x1?void 0x0:_0x283ae7?vo(_0x218df6,_0xf75628):_0x218df6,_0x51e5e1=_0x42eaa5[_0x31d209(0x256)]-0x1,_0x3c053a;_0x51e5e1>=0x0;_0x51e5e1--)(_0x3c053a=_0x42eaa5[_0x51e5e1])&&(_0xdd6d22=(_0x283ae7?_0x3c053a(_0x218df6,_0xf75628,_0xdd6d22):_0x3c053a(_0xdd6d22))||_0xdd6d22);return _0x283ae7&&_0xdd6d22&&fo(_0x218df6,_0xf75628,_0xdd6d22),_0xdd6d22;},A=(_0x20b397,_0xc733e2)=>(_0x460a32,_0x1e50dc)=>_0xc733e2(_0x460a32,_0x1e50dc,_0x20b397),J=(_0x4ce701=>(_0x4ce701['NOT_COLLAB']=_0x4299a1(0x40c),_0x4ce701[_0x4299a1(0x353)]=_0x4299a1(0x38d),_0x4ce701[_0x4299a1(0x4ed)]=_0x4299a1(0x409),_0x4ce701[_0x4299a1(0x591)]='awaiting',_0x4ce701['AWAITING_WITH_PENDING']=_0x4299a1(0x474),_0x4ce701[_0x4299a1(0x27d)]=_0x4299a1(0x2f6),_0x4ce701['CONFLICT']='conflict',_0x4ce701['OFFLINE']='offline',_0x4ce701))(J||{});const Ni=0xea60;class $e{constructor(_0x570d85,_0x200f48,_0x5bcfe0,_0x50d7e0,_0x5bab32,_0x5bd60b,_0x5cdd3a,_0x3dc8fc,_0x3b394e){const _0x32f37f=_0x4299a1;g(this,_0x32f37f(0x4a2),null),g(this,_0x32f37f(0x44a),[]),(this['unitID']=_0x570d85,this[_0x32f37f(0x41e)]=_0x200f48,this['_handler']=_0x5bab32,this[_0x32f37f(0x33f)]=_0x5bd60b,this['_undoRedoService']=_0x5cdd3a,this['_revisionService']=_0x3dc8fc,this[_0x32f37f(0x3ac)]=_0x3b394e,this['_awaitingChangeset']=_0x5bcfe0,this[_0x32f37f(0x44a)]=_0x50d7e0);}[_0x4299a1(0x423)](_0x42edd6){const _0x4bf3a4=_0x4299a1,_0x3b7c6c=this[_0x4bf3a4(0x436)][_0x4bf3a4(0x4b4)](this[_0x4bf3a4(0x3cd)]);return _0x42edd6[_0x4bf3a4(0x4e5)]>_0x3b7c6c+0x1?(this[_0x4bf3a4(0x4ae)][_0x4bf3a4(0x38b)]({'from':_0x3b7c6c,'to':_0x42edd6['revision']-0x1}),!0x0):!0x1;}[_0x4299a1(0x279)](_0x3f95e){const _0x40f31f=_0x4299a1;this[_0x40f31f(0x4f6)][_0x40f31f(0x41f)](this[_0x40f31f(0x3cd)],_0x3f95e);}[_0x4299a1(0x3d8)](_0x478572){const _0x5f4761=_0x4299a1;var _0x4f0eb9,_0x1bbd9e;(_0x1bbd9e=(_0x4f0eb9=this[_0x5f4761(0x4ae)])[_0x5f4761(0x357)])==null||_0x1bbd9e['call'](_0x4f0eb9,_0x478572);}[_0x4299a1(0x492)](_0x254dc5){const _0x4a6e0a=_0x4299a1;var _0x26e68e,_0x367e1d;return(_0x367e1d=(_0x26e68e=this[_0x4a6e0a(0x4ae)])['onTransformIME'])==null?void 0x0:_0x367e1d[_0x4a6e0a(0x211)](_0x26e68e,_0x254dc5);}[_0x4299a1(0x5ae)](_0x4ce95e){const _0x426768=_0x4299a1;var _0x33935c,_0x201150;return(_0x201150=(_0x33935c=this['_handler'])[_0x426768(0x234)])==null?void 0x0:_0x201150[_0x426768(0x211)](_0x33935c,_0x4ce95e);}[_0x4299a1(0x5a5)](_0x3121e9){const _0x31a817=_0x4299a1;var _0x50e33d,_0x29ba48,_0x3a170a;return(_0x3a170a=(_0x29ba48=(_0x50e33d=this[_0x31a817(0x4ae)])[_0x31a817(0x3f8)])==null?void 0x0:_0x29ba48[_0x31a817(0x211)](_0x50e33d,_0x3121e9))!=null?_0x3a170a:_0x3121e9;}[_0x4299a1(0x27a)](_0x2f2068){const _0x1b2a80=_0x4299a1;var _0x48eafd,_0x4c35de,_0x191e34;return(_0x191e34=(_0x4c35de=(_0x48eafd=this[_0x1b2a80(0x4ae)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4c35de[_0x1b2a80(0x211)](_0x48eafd,_0x2f2068))!=null?_0x191e34:_0x2f2068;}[_0x4299a1(0x580)](_0x1c09e0){const _0x551314=_0x4299a1;var _0x1bdad1,_0x479490;if(this[_0x551314(0x41e)]===ce[_0x551314(0x599)]){const {unitID:_0x3fbfa2,mutations:_0x45abba,memberID:_0x4228a6}=_0x1c09e0,_0x4ff9db=_0x45abba[0x0][_0x551314(0x217)][_0x551314(0x587)];Array[_0x551314(0x1e2)](_0x4ff9db)&&_0x4ff9db[_0x551314(0x256)]>0x0&&((_0x479490=(_0x1bdad1=this[_0x551314(0x4ae)])['onSyncEditingCollabCursor'])==null||_0x479490[_0x551314(0x211)](_0x1bdad1,{'unitID':_0x3fbfa2,'memberID':_0x4228a6,'textRanges':_0x4ff9db}));}}[_0x4299a1(0x3fa)](){const _0x46cfcb=_0x4299a1;this[_0x46cfcb(0x3ac)][_0x46cfcb(0x566)](this[_0x46cfcb(0x3cd)],this[_0x46cfcb(0x41e)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x4299a1(0x3a9)](){const _0x55079f=_0x4299a1;return this['_revisionService'][_0x55079f(0x4b4)](this[_0x55079f(0x3cd)]);}[_0x4299a1(0x3d1)](){const _0x46a2c2=_0x4299a1;this['_revisionService'][_0x46a2c2(0x20f)](this[_0x46a2c2(0x3cd)]);}[_0x4299a1(0x47c)](_0x1d6b4d){const _0x3c5ebf=_0x4299a1;var _0x599e2a;let _0x1d69de=this[_0x3c5ebf(0x5a5)](_0x1d6b4d);_0x1d69de=this[_0x3c5ebf(0x27a)](_0x1d69de);const _0x382a5a=_0xc0b152(_0x1d69de[_0x3c5ebf(0x3e7)],this[_0x3c5ebf(0x33f)],{'fromCollab':!0x0});if(!_0x382a5a['result'])throw _0x382a5a[_0x3c5ebf(0x1c9)]instanceof Error?_0x382a5a[_0x3c5ebf(0x1c9)]:new Error((_0x599e2a=_0x382a5a[_0x3c5ebf(0x1c9)])!=null?_0x599e2a:_0x3c5ebf(0x3fc));this[_0x3c5ebf(0x492)](_0x1d69de),this[_0x3c5ebf(0x5ae)](_0x1d69de),this[_0x3c5ebf(0x279)](_0x1d6b4d),this[_0x3c5ebf(0x3d8)](_0x1d69de),this[_0x3c5ebf(0x580)](_0x1d69de),this[_0x3c5ebf(0x3d1)]();}}let Fe=class extends $e{constructor(_0x57570c,_0x30b23f,_0x1055d5,_0x158c9c,_0x2713bf,_0x230bd6,_0x3f413b,_0xf83704,_0x224e82,_0x75474f){const _0x37a00c=_0x4299a1;super(_0x57570c,_0x30b23f,null,[],_0x1055d5,_0xf83704,_0x3f413b,_0x158c9c,_0x2713bf),g(this,_0x37a00c(0x485),_0x37a00c(0x38d)),(this[_0x37a00c(0x557)]=_0x230bd6,this['_logService']=_0x224e82,this[_0x37a00c(0x5bd)]=_0x75474f);}['appendMutation'](_0x3713e5){const _0x54e2c7=_0x4299a1,_0x2887f1=this['_injector'][_0x54e2c7(0x32a)](pe,this[_0x54e2c7(0x3cd)],this['type'],[_0x3713e5],this[_0x54e2c7(0x4ae)]);return _0x2887f1['_schedule'](),_0x2887f1[_0x54e2c7(0x3fa)](),_0x2887f1;}[_0x4299a1(0x4a3)](_0x441080){const _0x1ec4d9=_0x4299a1;if(this['_checkMissing'](_0x441080))return this[_0x1ec4d9(0x557)][_0x1ec4d9(0x32a)](he,this['unitID'],this[_0x1ec4d9(0x41e)],null,[],null,[_0x441080],this['_handler']);try{const _0x19a8a2=this[_0x1ec4d9(0x5bd)][_0x1ec4d9(0x364)](_0x441080,[uo]);if(_0x1be378(_0x19a8a2)){const {c1Prime:_0x436cf9}=_0x19a8a2;return this['_executeRemoteChangeset'](_0x436cf9),this;}throw _0x19a8a2['error'];}catch(_0x5efcd6){return this['_logService'][_0x1ec4d9(0x1c9)](_0x5efcd6),this[_0x1ec4d9(0x4f5)](!0x1);}}[_0x4299a1(0x4f5)](_0x34a43b){const _0x385142=_0x4299a1;return this[_0x385142(0x557)][_0x385142(0x32a)](Re,this[_0x385142(0x3cd)],this[_0x385142(0x41e)],null,[],this[_0x385142(0x4ae)],_0x34a43b);}['onRemoteAck'](){const _0x18f2c1=_0x4299a1;throw new Error(_0x18f2c1(0x321));}[_0x4299a1(0x352)](){const _0x56430a=_0x4299a1;throw new Error(_0x56430a(0x2b5));}[_0x4299a1(0x2b1)](){return this;}[_0x4299a1(0x551)](){const _0x19feba=_0x4299a1;return this[_0x19feba(0x557)]['createInstance'](ye,this[_0x19feba(0x3cd)],this[_0x19feba(0x41e)],null,[],this[_0x19feba(0x4ae)]);}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x371)](){const _0x297e30=_0x4299a1;throw new Error(_0x297e30(0x506));}[_0x4299a1(0x412)](){const _0x3ed356=_0x4299a1,_0x3b947e=this[_0x3ed356(0x436)]['getCurrentRevOfUnit'](this[_0x3ed356(0x3cd)]);return this[_0x3ed356(0x4ae)][_0x3ed356(0x38b)]({'from':_0x3b947e,'to':0x0}),this[_0x3ed356(0x557)][_0x3ed356(0x32a)](he,this[_0x3ed356(0x3cd)],this['type'],null,[],null,[],this[_0x3ed356(0x4ae)]);}};Fe=Le([A(0x3,_0x2f5cfe(_0x12797c)),A(0x4,_0x2f5cfe(q)),A(0x5,_0x2f5cfe(_0x22006e)),A(0x6,_0x1ea290),A(0x7,_0x2d1134),A(0x8,_0x105261),A(0x9,_0x131cfd)],Fe);let pe=class extends $e{constructor(_0x22a693,_0x47f208,_0x450cb7,_0xb08cdc,_0x3815f9,_0x2ecf69,_0x3d31cb,_0x509250,_0x2a0e4b,_0x2b5d35,_0x1c71e5,_0x4092fa,_0x12bc59,_0x2a1295){const _0x3b2875=_0x4299a1;super(_0x22a693,_0x47f208,null,_0x450cb7,_0xb08cdc,_0x2b5d35,_0x2a1295,_0x2ecf69,_0x3d31cb),g(this,_0x3b2875(0x485),_0x3b2875(0x409)),g(this,_0x3b2875(0x28c),null),g(this,_0x3b2875(0x57e),null),(this['_injector']=_0x3815f9,this[_0x3b2875(0x21a)]=_0x509250,this[_0x3b2875(0x327)]=_0x2a0e4b,this[_0x3b2875(0x4cf)]=_0x1c71e5,this['_transformService']=_0x4092fa,this[_0x3b2875(0x35b)]=_0x12bc59);}[_0x4299a1(0x5ba)](_0x42bff3){const _0x559e24=_0x4299a1;return this['_pendingMutations'][_0x559e24(0x499)](_0x42bff3),this[_0x559e24(0x3fa)](),this;}[_0x4299a1(0x4a3)](_0x57d297){const _0x4171cd=_0x4299a1;if(this[_0x4171cd(0x423)](_0x57d297))return this[_0x4171cd(0x38e)](),this[_0x4171cd(0x557)][_0x4171cd(0x32a)](he,this[_0x4171cd(0x3cd)],this[_0x4171cd(0x41e)],null,this[_0x4171cd(0x44a)],null,[_0x57d297],this[_0x4171cd(0x4ae)]);try{const _0x218e06=this[_0x4171cd(0x5bd)][_0x4171cd(0x364)](_0x57d297,this[_0x4171cd(0x44a)]);if(_0x1be378(_0x218e06)){const {c1Prime:_0x1d086b,m2Prime:_0x5d0308}=_0x218e06;this[_0x4171cd(0x47c)](_0x1d086b);const _0x525cc6=this[_0x4171cd(0x557)][_0x4171cd(0x32a)](pe,this['unitID'],this[_0x4171cd(0x41e)],_0x5d0308,this['_handler']);return this['_clearScheduledTask'](),_0x525cc6[_0x4171cd(0x5cd)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x4171cd(0x565)]()-this['_scheduleTimestamp']):this[_0x4171cd(0x1f8)]()),_0x525cc6;}throw _0x218e06['error'];}catch(_0xa7878f){return this[_0x4171cd(0x327)][_0x4171cd(0x1c9)](_0xa7878f),this[_0x4171cd(0x4f5)](!0x1);}}[_0x4299a1(0x4de)](){const _0x46e9a9=_0x4299a1;throw new Error(_0x46e9a9(0x414));}['onRemoteRej'](){const _0x47ecfd=_0x4299a1;throw new Error(_0x47ecfd(0x51d));}[_0x4299a1(0x2b1)](){return this;}[_0x4299a1(0x551)](){const _0x526237=_0x4299a1;return this['_clearScheduledTask'](),this['_injector'][_0x526237(0x32a)](ye,this[_0x526237(0x3cd)],this[_0x526237(0x41e)],null,this['_pendingMutations'],this[_0x526237(0x4ae)]);}['toggleOnline'](){return this;}[_0x4299a1(0x5cd)](_0xc9bbe2){const _0x26c14f=_0x4299a1,_0x5c0497=_0xc9bbe2!=null?_0xc9bbe2:this['_getSendChangesetTimeout']();this[_0x26c14f(0x28c)]=new Date()[_0x26c14f(0x565)](),this[_0x26c14f(0x57e)]=window[_0x26c14f(0x560)](()=>{const _0x425842=_0x26c14f;this[_0x425842(0x38e)]();let _0x34830c=null;switch(this['type']){case ce[_0x425842(0x247)]:{_0x34830c=Vs(this['_pendingMutations'],this[_0x425842(0x3cd)],this['_univerInstanceService'],this[_0x425842(0x436)],this[_0x425842(0x21a)]);break;}case ce['UNIVER_DOC']:{this[_0x425842(0x44a)]['every'](_0x4e1106=>_0x4e1106['id']===_0x30fdba['id'])?_0x34830c=_o(this[_0x425842(0x44a)],this['unitID'],this[_0x425842(0x35b)],this[_0x425842(0x436)],this[_0x425842(0x21a)]):_0x34830c=Vs(this[_0x425842(0x44a)],this[_0x425842(0x3cd)],this[_0x425842(0x35b)],this['_revisionService'],this[_0x425842(0x21a)]);break;}default:throw new Error(_0x425842(0x26f)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x5d0ace,pendingMutations:_0x49584c}=_0x34830c;this[_0x425842(0x4ae)][_0x425842(0x45d)](_0x5d0ace);const _0x441f26=_0x49584c[_0x425842(0x256)]?this[_0x425842(0x557)][_0x425842(0x32a)](ge,this[_0x425842(0x3cd)],this[_0x425842(0x41e)],_0x5d0ace,_0x49584c,this['_handler'],void 0x0):this[_0x425842(0x557)][_0x425842(0x32a)](Te,this[_0x425842(0x3cd)],this['type'],_0x5d0ace,this[_0x425842(0x4ae)]);_0x441f26[_0x425842(0x3fa)](),this['_handler'][_0x425842(0x5bf)](this,_0x441f26);},_0x5c0497);}[_0x4299a1(0x1f8)](){const _0x2d254c=_0x4299a1;var _0x58a9a6;const _0x1ee7b1=this[_0x2d254c(0x4cf)][_0x2d254c(0x2b6)](ie);return(_0x58a9a6=_0x1ee7b1==null?void 0x0:_0x1ee7b1['sendChangesetTimeout'])!=null?_0x58a9a6:cr;}[_0x4299a1(0x371)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4299a1(0x38e)](){const _0x56a320=_0x4299a1;this[_0x56a320(0x57e)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x4299a1(0x4f5)](_0x1681f4){const _0x2e81df=_0x4299a1;return this[_0x2e81df(0x38e)](),this['_injector'][_0x2e81df(0x32a)](Re,this['unitID'],this[_0x2e81df(0x41e)],null,this[_0x2e81df(0x44a)],this[_0x2e81df(0x4ae)],_0x1681f4);}};pe=Le([A(0x4,_0x2f5cfe(_0x22006e)),A(0x5,_0x2f5cfe(_0x12797c)),A(0x6,_0x2f5cfe(q)),A(0x7,_0x2f5cfe(Ne)),A(0x8,_0x105261),A(0x9,_0x2d1134),A(0xa,_0x3fd15e),A(0xb,_0x131cfd),A(0xc,_0x19bced),A(0xd,_0x1ea290)],pe);let Te=class extends $e{constructor(_0x3c1e13,_0x18f167,_0xb3afdb,_0x276840,_0x460af2,_0x2bbbcc,_0x5a2683,_0x196ee4,_0x2fd684,_0x44903e,_0x2e0a35){const _0x56b23d=_0x4299a1;super(_0x3c1e13,_0x18f167,_0xb3afdb,[],_0x276840,_0x196ee4,_0x2e0a35,_0x2bbbcc,_0x5a2683),g(this,'status',_0x56b23d(0x294)),g(this,_0x56b23d(0x271),0x0),g(this,_0x56b23d(0x41a)),g(this,_0x56b23d(0x583)),(this[_0x56b23d(0x557)]=_0x460af2,this['_logService']=_0x2fd684,this[_0x56b23d(0x5bd)]=_0x44903e);}['appendMutation'](_0x28f1fd){const _0xfff85f=_0x4299a1;this[_0xfff85f(0x38e)]();const _0x16e269=this[_0xfff85f(0x557)][_0xfff85f(0x32a)](ge,this[_0xfff85f(0x3cd)],this['type'],this[_0xfff85f(0x4a2)],[_0x28f1fd],this[_0xfff85f(0x4ae)],this[_0xfff85f(0x41a)]);return _0x16e269[_0xfff85f(0x3fa)](),_0x16e269;}['onRemoteChangeset'](_0x571a01){const _0x145045=_0x4299a1;if(this[_0x145045(0x423)](_0x571a01))return this[_0x145045(0x38e)](),this[_0x145045(0x557)][_0x145045(0x32a)](he,this['unitID'],this['type'],this[_0x145045(0x4a2)],[],null,[_0x571a01],this[_0x145045(0x4ae)]);try{const _0x255d6d=this[_0x145045(0x5bd)][_0x145045(0x2bd)]([_0x571a01],[this[_0x145045(0x4a2)]],!0x1);if(_0x1637ea(_0x255d6d)){const {c1Prime:_0x37aec8,c2Prime:_0x24d10c}=_0x255d6d;this[_0x145045(0x47c)](_0x37aec8[0x0]),_0x24d10c[0x0][_0x145045(0x4b2)]=this[_0x145045(0x3a9)](),this[_0x145045(0x38e)]();const _0x4536a0=this[_0x145045(0x557)][_0x145045(0x32a)](Te,this[_0x145045(0x3cd)],this['type'],_0x24d10c[0x0],this[_0x145045(0x4ae)]);return _0x4536a0['_updateLocalCache'](),_0x4536a0;}return this[_0x145045(0x4f5)](!0x1);}catch(_0x127793){return this[_0x145045(0x327)][_0x145045(0x1c9)](_0x127793),this[_0x145045(0x4f5)](!0x1);}}[_0x4299a1(0x4de)](_0x282c2d){const _0x1af938=_0x4299a1;this[_0x1af938(0x38e)]();const _0x3951e4=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1af938(0x3cd)]);if(_0x282c2d[_0x1af938(0x4e5)]<_0x3951e4-0x1)return this;if(this[_0x1af938(0x423)](_0x282c2d))return this[_0x1af938(0x557)]['createInstance'](he,this[_0x1af938(0x3cd)],this[_0x1af938(0x41e)],null,[],this[_0x1af938(0x4a2)],[],this[_0x1af938(0x4ae)]);this[_0x1af938(0x3d1)]();const _0x3ea023=this[_0x1af938(0x557)][_0x1af938(0x32a)](Fe,this[_0x1af938(0x3cd)],this['type'],this[_0x1af938(0x4ae)]);return _0x3ea023[_0x1af938(0x3fa)](),_0x3ea023;}[_0x4299a1(0x352)](_0x5eb309){const _0x23f337=_0x4299a1;return this[_0x23f337(0x4f5)](!!(_0x5eb309!=null&&_0x5eb309[_0x23f337(0x346)]));}[_0x4299a1(0x2b1)](_0x31ee21){const _0xab797f=_0x4299a1;return this[_0xab797f(0x271)]>Ni?this[_0xab797f(0x551)]():(this[_0xab797f(0x41a)]=Ui(this[_0xab797f(0x271)],{'timeout':this[_0xab797f(0x271)],'reqId':_0x31ee21['reqId']}),this[_0xab797f(0x583)]=this[_0xab797f(0x41a)]['subscribe'](({reqId:_0x363e30,timeout:_0x3feb2d})=>{const _0x536bcb=_0xab797f;this[_0x536bcb(0x575)](_0x363e30,_0x3feb2d);}),this);}[_0x4299a1(0x551)](){const _0x423fc4=_0x4299a1;return this['_clearScheduledTask'](),this[_0x423fc4(0x557)][_0x423fc4(0x32a)](ye,this[_0x423fc4(0x3cd)],this[_0x423fc4(0x41e)],this[_0x423fc4(0x4a2)],[],this[_0x423fc4(0x4ae)]);}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x371)](){const _0x30060b=_0x4299a1;this[_0x30060b(0x4ae)][_0x30060b(0x45d)](this[_0x30060b(0x4a2)]);}[_0x4299a1(0x4f5)](_0x593fff){const _0x5bf99a=_0x4299a1;return this[_0x5bf99a(0x38e)](),this[_0x5bf99a(0x557)][_0x5bf99a(0x32a)](Re,this[_0x5bf99a(0x3cd)],this[_0x5bf99a(0x41e)],this[_0x5bf99a(0x4a2)],[],this[_0x5bf99a(0x4ae)],_0x593fff);}[_0x4299a1(0x575)](_0x104250,_0x2e78b7){const _0x43bfea=_0x4299a1;var _0x4dce5d;_0x104250===((_0x4dce5d=this[_0x43bfea(0x4a2)])==null?void 0x0:_0x4dce5d[_0x43bfea(0x4ef)])&&(this['resend'](),this[_0x43bfea(0x271)]=_0x2e78b7===0x0?0x3e8:_0x2e78b7*0x2);}[_0x4299a1(0x38e)](){var _0x1a56fa;(_0x1a56fa=this['_sender'])==null||_0x1a56fa['unsubscribe'](),this['_resendTimeout']=0x0;}};Te=Le([A(0x4,_0x2f5cfe(_0x22006e)),A(0x5,_0x2f5cfe(_0x12797c)),A(0x6,_0x2f5cfe(q)),A(0x7,_0x2d1134),A(0x8,_0x105261),A(0x9,_0x131cfd),A(0xa,_0x1ea290)],Te);let ge=class extends $e{constructor(_0x3c8cd8,_0x350797,_0x151b15,_0x38226e,_0x35d49e,_0x204c4a,_0x431b76,_0x14d132,_0x58d263,_0x2b87a3,_0x852fe3,_0x55307c,_0x581664){const _0x235192=_0x4299a1;super(_0x3c8cd8,_0x350797,_0x151b15,_0x38226e,_0x35d49e,_0x2b87a3,_0x581664,_0x14d132,_0x58d263),g(this,_0x235192(0x485),_0x235192(0x474)),g(this,'_resendTimeout',0x0),g(this,_0x235192(0x41a)),g(this,_0x235192(0x583)),(this[_0x235192(0x557)]=_0x431b76,this[_0x235192(0x327)]=_0x852fe3,this[_0x235192(0x5bd)]=_0x55307c,_0x204c4a&&(this['_resendTimer']=_0x204c4a,this[_0x235192(0x583)]=this[_0x235192(0x41a)][_0x235192(0x487)](({reqId:_0x31fcf5,timeout:_0x4cf548})=>{this['_resendWithTimeout'](_0x31fcf5,_0x4cf548);})));}['appendMutation'](_0x202949){const _0x2dcc60=_0x4299a1;return this[_0x2dcc60(0x44a)][_0x2dcc60(0x499)](_0x202949),this;}['onRemoteChangeset'](_0x250521){const _0x2600f2=_0x4299a1;if(this['_checkMissing'](_0x250521))return this[_0x2600f2(0x38e)](),this[_0x2600f2(0x557)][_0x2600f2(0x32a)](he,this['unitID'],this[_0x2600f2(0x41e)],this[_0x2600f2(0x4a2)],this[_0x2600f2(0x44a)],null,[_0x250521],this[_0x2600f2(0x4ae)]);try{const _0x2883b0=this['_transformService']['transformChangesets']([_0x250521],[this['_awaitingChangeset']],!0x1);if(_0x1637ea(_0x2883b0)){const {c1Prime:_0x41c82c,c2Prime:_0x407fb6}=_0x2883b0,_0x42840e=this[_0x2600f2(0x5bd)][_0x2600f2(0x364)](_0x41c82c[0x0],this[_0x2600f2(0x44a)]);if(_0x1be378(_0x42840e)){const {c1Prime:_0x1d1b38,m2Prime:_0x268769}=_0x42840e;return this['_executeRemoteChangeset'](_0x1d1b38),_0x407fb6[0x0][_0x2600f2(0x4b2)]=this[_0x2600f2(0x3a9)](),this[_0x2600f2(0x38e)](),this['_injector'][_0x2600f2(0x32a)](ge,this[_0x2600f2(0x3cd)],this[_0x2600f2(0x41e)],_0x407fb6[0x0],_0x268769,this[_0x2600f2(0x4ae)],void 0x0);}throw _0x42840e[_0x2600f2(0x1c9)];}throw _0x2883b0['error'];}catch(_0xe8b3f3){return this['_logService'][_0x2600f2(0x1c9)](_0xe8b3f3),this[_0x2600f2(0x4f5)](!0x1);}}[_0x4299a1(0x4de)](_0x5ac986){const _0x38ee2c=_0x4299a1;if(this[_0x38ee2c(0x38e)](),this[_0x38ee2c(0x423)](_0x5ac986))return this[_0x38ee2c(0x557)][_0x38ee2c(0x32a)](he,this[_0x38ee2c(0x3cd)],this[_0x38ee2c(0x41e)],null,this[_0x38ee2c(0x44a)],this[_0x38ee2c(0x4a2)],[],this[_0x38ee2c(0x4ae)]);this[_0x38ee2c(0x3d1)]();const _0x2d9cdf=this['_injector'][_0x38ee2c(0x32a)](pe,this[_0x38ee2c(0x3cd)],this[_0x38ee2c(0x41e)],this[_0x38ee2c(0x44a)],this['_handler']);return _0x2d9cdf[_0x38ee2c(0x5cd)](),_0x2d9cdf['_updateLocalCache'](),_0x2d9cdf;}[_0x4299a1(0x352)](_0x3e4d7e){const _0x343f9c=_0x4299a1;return this['_onConflict'](!!(_0x3e4d7e!=null&&_0x3e4d7e[_0x343f9c(0x346)]));}[_0x4299a1(0x2b1)](_0xc0d1c5){const _0x3d0bc1=_0x4299a1;return this['_resendTimeout']>Ni?this[_0x3d0bc1(0x551)]():(this[_0x3d0bc1(0x41a)]=Ui(this[_0x3d0bc1(0x271)],{'timeout':this['_resendTimeout'],'reqId':_0xc0d1c5[_0x3d0bc1(0x4ef)]}),this[_0x3d0bc1(0x583)]=this[_0x3d0bc1(0x41a)][_0x3d0bc1(0x487)](({reqId:_0x36c78e,timeout:_0x35e485})=>{const _0x5af034=_0x3d0bc1;this[_0x5af034(0x575)](_0x36c78e,_0x35e485);}),this);}['toggleOffline'](){const _0x350f7e=_0x4299a1;return this['_clearScheduledTask'](),this[_0x350f7e(0x557)][_0x350f7e(0x32a)](ye,this[_0x350f7e(0x3cd)],this['type'],this[_0x350f7e(0x4a2)],this[_0x350f7e(0x44a)],this[_0x350f7e(0x4ae)]);}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x371)](){const _0x5157bb=_0x4299a1;this['_handler']['onSendChangeset'](this[_0x5157bb(0x4a2)]);}['_onConflict'](_0x25283c){const _0x5a9060=_0x4299a1;return this[_0x5a9060(0x38e)](),this[_0x5a9060(0x557)]['createInstance'](Re,this[_0x5a9060(0x3cd)],this[_0x5a9060(0x41e)],null,this[_0x5a9060(0x44a)],this[_0x5a9060(0x4ae)],_0x25283c);}['_resendWithTimeout'](_0x23020a,_0x4d2fec){const _0x8b8f81=_0x4299a1;var _0x582436;_0x23020a===((_0x582436=this['_awaitingChangeset'])==null?void 0x0:_0x582436['reqId'])&&(this[_0x8b8f81(0x371)](),this['_resendTimeout']=_0x4d2fec===0x0?0x3e8:_0x4d2fec*0x2);}['_clearScheduledTask'](){const _0x3285e7=_0x4299a1;var _0x104e3f;(_0x104e3f=this[_0x3285e7(0x583)])==null||_0x104e3f['unsubscribe'](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x2f5cfe(_0x22006e)),A(0x7,_0x2f5cfe(_0x12797c)),A(0x8,_0x2f5cfe(q)),A(0x9,_0x2d1134),A(0xa,_0x105261),A(0xb,_0x131cfd),A(0xc,_0x1ea290)],ge);let Re=class extends $e{constructor(_0x5dd990,_0x133d7b,_0x1d500d,_0xbbe778,_0x268db2,_0x366b2a=!0x1,_0x3bc6ba,_0x41f380,_0x3d8564,_0x1619ae,_0x40bc27,_0x41e726,_0x581aea){const _0x33d893=_0x4299a1;super(_0x5dd990,_0x133d7b,_0x1d500d,_0xbbe778,_0x268db2,_0x41f380,_0x3d8564,_0x40bc27,_0x1619ae),g(this,_0x33d893(0x485),'conflict'),(this[_0x33d893(0x209)]=_0x366b2a,this['_permissionService']=_0x3bc6ba,this['_localeService']=_0x41e726,this[_0x33d893(0x2e4)]=_0x581aea,this[_0x33d893(0x37e)](),this[_0x33d893(0x1da)](),this['_disableEditing']());}[_0x4299a1(0x5ba)](){return this;}[_0x4299a1(0x4a3)](){return this;}[_0x4299a1(0x4de)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x4299a1(0x551)](){return this;}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x371)](){const _0x30af1b=_0x4299a1;throw new Error(_0x30af1b(0x284));}[_0x4299a1(0x1da)](){const _0x2aa83a=_0x4299a1;this[_0x2aa83a(0x3ac)]['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x4299a1(0x37e)](){const _0x4f66b1=_0x4299a1;this[_0x4f66b1(0x209)]?this[_0x4f66b1(0x2e4)][_0x4f66b1(0x3eb)]({'title':this[_0x4f66b1(0x1d7)]['t'](_0x4f66b1(0x2c0)),'content':this['_localeService']['t']('permission.content'),'type':_0x4f66b1(0x1c9),'duration':0x0}):this[_0x4f66b1(0x2e4)]['show']({'title':this[_0x4f66b1(0x1d7)]['t'](_0x4f66b1(0x3c0)),'content':this[_0x4f66b1(0x1d7)]['t'](_0x4f66b1(0x2c9)),'type':'error','duration':0x0});}[_0x4299a1(0x432)](){const _0x253ce9=_0x4299a1;this[_0x253ce9(0x36d)][_0x253ce9(0x562)](new _0x303e0b(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x2f5cfe(_0x24d923)),A(0x7,_0x2d1134),A(0x8,_0x1ea290),A(0x9,_0x2f5cfe(q)),A(0xa,_0x2f5cfe(_0x12797c)),A(0xb,_0x2f5cfe(_0x44ee4c)),A(0xc,_0x17e8a2)],Re);let ye=class extends $e{constructor(_0x22a3d8,_0x1aaad2,_0x349a4d,_0x7e8809,_0x57b1c2,_0x4630ef,_0x2fb51c,_0x241fc4,_0x2b811b,_0x513865){super(_0x22a3d8,_0x1aaad2,_0x349a4d,_0x7e8809,_0x57b1c2,_0x2b811b,_0x513865,_0x2fb51c,_0x241fc4),g(this,'status','offline'),this['_injector']=_0x4630ef;}[_0x4299a1(0x5ba)](_0x12a094){const _0x4cd366=_0x4299a1;return this[_0x4cd366(0x44a)]['push'](_0x12a094),this['_updateLocalCache'](),this;}[_0x4299a1(0x4a3)](_0x4bad17){const _0x41d9b9=_0x4299a1;throw new Error(_0x41d9b9(0x498));}[_0x4299a1(0x4de)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4299a1(0x352)](){const _0x2f2ab5=_0x4299a1;throw new Error(_0x2f2ab5(0x3b5));}[_0x4299a1(0x2b1)](){return this;}['toggleOffline'](){return this;}[_0x4299a1(0x383)](){const _0x5eefe1=_0x4299a1,{_injector:_0x4da17c,_pendingMutations:_0x47320d,_awaitingChangeset:_0x56012d,unitID:_0x176fbe,_handler:_0x5cba2c,type:_0x305190}=this,_0xdb0e24=Ai(_0x4da17c,_0x176fbe,_0x305190,_0x56012d,_0x47320d,_0x5cba2c);return _0xdb0e24 instanceof pe?_0xdb0e24[_0x5eefe1(0x5cd)]():(_0xdb0e24 instanceof ge||_0xdb0e24 instanceof Te)&&_0xdb0e24[_0x5eefe1(0x371)](),_0xdb0e24;}[_0x4299a1(0x371)](){const _0x51852f=_0x4299a1;throw new Error(_0x51852f(0x2d7));}};ye=Le([A(0x5,_0x2f5cfe(_0x22006e)),A(0x6,_0x2f5cfe(_0x12797c)),A(0x7,_0x2f5cfe(q)),A(0x8,_0x2d1134),A(0x9,_0x1ea290)],ye);let he=class extends $e{constructor(_0x3a11ec,_0xc4c498,_0x1b12e3,_0x260806,_0x3ee936,_0x5d869e,_0x1512b2,_0x482e17,_0x4c85e5,_0x2d5f16,_0x46d22b,_0x3c1500,_0xd89c55,_0xab726d){const _0x3f58ef=_0x4299a1;super(_0x3a11ec,_0xc4c498,_0x1b12e3,_0x260806,_0x1512b2,_0x3c1500,_0xd89c55,_0x4c85e5,_0x2d5f16),g(this,_0x3f58ef(0x485),_0x3f58ef(0x2f6)),(this[_0x3f58ef(0x3fb)]=_0x3ee936,this[_0x3f58ef(0x26c)]=_0x5d869e,this[_0x3f58ef(0x557)]=_0x482e17,this[_0x3f58ef(0x327)]=_0x46d22b,this[_0x3f58ef(0x5bd)]=_0xab726d);}[_0x4299a1(0x230)](_0x287255){const _0x368648=_0x4299a1;try{const _0x1fe0a5=[..._0x287255,...this[_0x368648(0x26c)]],_0x2d68dc=[this['_awaitingChangeset']||this[_0x368648(0x3fb)]]['filter'](_0x13d5df=>!!_0x13d5df);let _0x3dd601,_0x293c09;if(_0x2d68dc[_0x368648(0x256)]){const _0x38bac0=this[_0x368648(0x5bd)][_0x368648(0x2bd)](_0x1fe0a5,_0x2d68dc,!0x1);if(!_0x1637ea(_0x38bac0))throw _0x38bac0[_0x368648(0x1c9)];_0x3dd601=_0x38bac0['c1Prime'],_0x293c09=_0x38bac0[_0x368648(0x5a7)];}else _0x3dd601=_0x1fe0a5,_0x293c09=[];let _0x49df37=this[_0x368648(0x44a)];_0x3dd601[_0x368648(0x2c6)](_0x4f1bc6=>{const _0x2df9fe=_0x368648;let _0x2d3fac;if(_0x49df37[_0x2df9fe(0x256)]){const _0x3242a8=this[_0x2df9fe(0x5bd)]['transformMutationsWithChangeset'](_0x4f1bc6,_0x49df37);if(!_0x1be378(_0x3242a8))throw _0x3242a8[_0x2df9fe(0x1c9)];_0x2d3fac=_0x3242a8['c1Prime'],_0x49df37=_0x3242a8[_0x2df9fe(0x20e)];}else _0x2d3fac=_0x4f1bc6;this[_0x2df9fe(0x47c)](_0x2d3fac);}),this['_acknowledgedAwaitingChangeset']&&this[_0x368648(0x3d1)](),this[_0x368648(0x4a2)]&&_0x293c09[_0x368648(0x256)]&&(_0x293c09[0x0]['baseRev']=this[_0x368648(0x3a9)]());let _0x9899bd;if(this[_0x368648(0x4a2)]&&_0x49df37[_0x368648(0x256)]!==0x0)_0x9899bd=this[_0x368648(0x557)]['createInstance'](ge,this[_0x368648(0x3cd)],this[_0x368648(0x41e)],_0x293c09[0x0],_0x49df37,this[_0x368648(0x4ae)],void 0x0);else{if(this[_0x368648(0x4a2)]&&_0x49df37[_0x368648(0x256)]===0x0)_0x293c09[0x0][_0x368648(0x4b2)]=this['_getCurrentRevision'](),_0x9899bd=this[_0x368648(0x557)][_0x368648(0x32a)](Te,this[_0x368648(0x3cd)],this['type'],_0x293c09[0x0],this[_0x368648(0x4ae)]);else{if(_0x49df37[_0x368648(0x256)]!==0x0){const _0x3d028d=this[_0x368648(0x557)][_0x368648(0x32a)](pe,this['unitID'],this[_0x368648(0x41e)],_0x49df37,this[_0x368648(0x4ae)]);_0x3d028d[_0x368648(0x5cd)](),_0x9899bd=_0x3d028d;}else _0x9899bd=this[_0x368648(0x557)][_0x368648(0x32a)](Fe,this[_0x368648(0x3cd)],this['type'],this['_handler']);}}return _0x9899bd[_0x368648(0x3fa)](),_0x9899bd;}catch(_0x3c7d43){return this[_0x368648(0x327)]['error'](_0x368648(0x3cb),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3c7d43),this[_0x368648(0x557)]['createInstance'](Re,this[_0x368648(0x3cd)],this[_0x368648(0x41e)],this['_awaitingChangeset'],this[_0x368648(0x44a)],this[_0x368648(0x4ae)],!0x1);}}[_0x4299a1(0x371)](){const _0x4ea65d=_0x4299a1;throw new Error(_0x4ea65d(0x468));}[_0x4299a1(0x5ba)](_0x65d46b){const _0x52ad9a=_0x4299a1;return this[_0x52ad9a(0x44a)][_0x52ad9a(0x499)](_0x65d46b),this;}[_0x4299a1(0x4a3)](_0x184b81){const _0x1904ec=_0x4299a1;return this[_0x1904ec(0x26c)][_0x1904ec(0x499)](_0x184b81),this;}[_0x4299a1(0x4de)](_0x3458a0){const _0x304ec1=_0x4299a1;if(this[_0x304ec1(0x4a2)])return this['_acknowledgedAwaitingChangeset']=this[_0x304ec1(0x4a2)],this[_0x304ec1(0x4a2)]=null,this;throw new Error(_0x304ec1(0x451));}[_0x4299a1(0x352)](_0x162808){const _0x3d54ee=_0x4299a1;return this[_0x3d54ee(0x4f5)](!!(_0x162808!=null&&_0x162808[_0x3d54ee(0x346)]));}[_0x4299a1(0x2b1)](){return this;}[_0x4299a1(0x551)](){const _0x4bd586=_0x4299a1;return this['_injector']['createInstance'](ye,this['unitID'],this['type'],this[_0x4bd586(0x4a2)],this['_pendingMutations'],this[_0x4bd586(0x4ae)]);}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x4f5)](_0x22dbea){const _0x32dc01=_0x4299a1;return this[_0x32dc01(0x557)]['createInstance'](Re,this[_0x32dc01(0x3cd)],this[_0x32dc01(0x41e)],this[_0x32dc01(0x4a2)],this[_0x32dc01(0x44a)],this[_0x32dc01(0x4ae)],_0x22dbea);}};he=Le([A(0x7,_0x2f5cfe(_0x22006e)),A(0x8,_0x2f5cfe(_0x12797c)),A(0x9,_0x2f5cfe(q)),A(0xa,_0x105261),A(0xb,_0x2d1134),A(0xc,_0x1ea290),A(0xd,_0x131cfd)],he);function Ai(_0x1ea079,_0x3eeea4,_0x5af2a3,_0x3e6b24,_0x4d8f26,_0x495f4c){const _0x23a7e4=_0x4299a1;return _0x3e6b24&&_0x4d8f26[_0x23a7e4(0x256)]?_0x1ea079['createInstance'](ge,_0x3eeea4,_0x5af2a3,_0x3e6b24,_0x4d8f26,_0x495f4c,void 0x0):_0x3e6b24?_0x1ea079[_0x23a7e4(0x32a)](Te,_0x3eeea4,_0x5af2a3,_0x3e6b24,_0x495f4c):_0x4d8f26['length']?_0x1ea079[_0x23a7e4(0x32a)](pe,_0x3eeea4,_0x5af2a3,_0x4d8f26,_0x495f4c):_0x1ea079['createInstance'](Fe,_0x3eeea4,_0x5af2a3,_0x495f4c);}var mo=Object[_0x4299a1(0x5c7)],po=Object[_0x4299a1(0x563)],Es=(_0x24d76c,_0x4ca6ee,_0x4f04a6,_0x13032b)=>{const _0x5e9878=_0x4299a1;for(var _0x4d2a3b=_0x13032b>0x1?void 0x0:_0x13032b?po(_0x4ca6ee,_0x4f04a6):_0x4ca6ee,_0x30d600=_0x24d76c[_0x5e9878(0x256)]-0x1,_0x4fe2d5;_0x30d600>=0x0;_0x30d600--)(_0x4fe2d5=_0x24d76c[_0x30d600])&&(_0x4d2a3b=(_0x13032b?_0x4fe2d5(_0x4ca6ee,_0x4f04a6,_0x4d2a3b):_0x4fe2d5(_0x4d2a3b))||_0x4d2a3b);return _0x13032b&&_0x4d2a3b&&mo(_0x4ca6ee,_0x4f04a6,_0x4d2a3b),_0x4d2a3b;},H=(_0x1593f7,_0x18ce6c)=>(_0xc44078,_0x3160c3)=>_0x18ce6c(_0xc44078,_0x3160c3,_0x1593f7);let St=class extends _0x737a66{constructor(_0x4e4471,_0x56a357,_0x109a8e,_0x4b2248,_0xb0dabb,_0x5d763a,_0x59f2b6,_0x21c058,_0x187da4,_0x3bf462,_0x425a27,_0x36abaa,_0x144584){const _0x12e081=_0x4299a1;super(),g(this,_0x12e081(0x532),new _0x37eed6(null)),g(this,_0x12e081(0x274),this[_0x12e081(0x532)][_0x12e081(0x42a)]()),g(this,_0x12e081(0x3a0)),g(this,_0x12e081(0x337),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x12e081(0x533),this[_0x12e081(0x274)][_0x12e081(0x35f)](_0x47ca28(_0x5ca761=>_0x5ca761?_0x5ca761[_0x12e081(0x485)]:J['OFFLINE']),_0x3a5006(0x1))),g(this,_0x12e081(0x3cc),!0x1),g(this,_0x12e081(0x24b),[]),(this[_0x12e081(0x3cd)]=_0x4e4471,this[_0x12e081(0x27b)]=_0x56a357,this[_0x12e081(0x4c4)]=_0x109a8e,this[_0x12e081(0x557)]=_0x4b2248,this[_0x12e081(0x3ac)]=_0xb0dabb,this['_compressMutationService']=_0x5d763a,this['_localeService']=_0x59f2b6,this[_0x12e081(0x436)]=_0x21c058,this[_0x12e081(0x327)]=_0x187da4,this[_0x12e081(0x33f)]=_0x3bf462,this['_messageService']=_0x425a27,this[_0x12e081(0x36d)]=_0x36abaa,this[_0x12e081(0x430)]=_0x144584);}get[_0x4299a1(0x540)](){const _0x3986e3=_0x4299a1;return this[_0x3986e3(0x3a0)];}async[_0x4299a1(0x369)](){const _0x929835=_0x4299a1;if(this[_0x929835(0x540)])throw new Error(_0x929835(0x59e));await this[_0x929835(0x389)]();}[_0x4299a1(0x242)](){const _0x58d016=_0x4299a1;return this[_0x58d016(0x337)]=!0x0,_0xd4e920(()=>{const _0x50df68=_0x58d016;this['_collaborationPaused']=!0x1,this[_0x50df68(0x334)]();});}['_updateState'](_0x5a72f6){const _0x673cb0=_0x4299a1;this[_0x673cb0(0x3a0)]=_0x5a72f6,this[_0x673cb0(0x532)]['next'](_0x5a72f6);}async['_init'](){const _0x401bdf=_0x4299a1;var _0x56087c;this[_0x401bdf(0x473)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x56087c=this['_singleActiveUnitService'])==null||_0x56087c['editingUnit'](this[_0x401bdf(0x3cd)]),this['disposeWithMe'](this[_0x401bdf(0x430)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x40909c=>{const _0x5994e4=_0x401bdf;this[_0x5994e4(0x327)][_0x5994e4(0x4c1)](_0x5994e4(0x3fe),_0x5994e4(0x21c),_0x40909c),_0x40909c===Di[_0x5994e4(0x244)]?(this['_messageService'][_0x5994e4(0x3eb)]({'content':this[_0x5994e4(0x1d7)]['t'](_0x5994e4(0x5a6)),'type':_0x34a324['Warning']}),this[_0x5994e4(0x36d)][_0x5994e4(0x562)](new _0x303e0b(this['unitID'])['id'],!0x1),this[_0x5994e4(0x36d)]['setShowComponents'](!0x1)):(this[_0x5994e4(0x36d)][_0x5994e4(0x562)](new _0x303e0b(this[_0x5994e4(0x3cd)])['id'],!0x0),this[_0x5994e4(0x36d)][_0x5994e4(0x5b9)](!0x0));})));let _0x487a70=!0x1;return this[_0x401bdf(0x5b7)](this['session'][_0x401bdf(0x482)]['subscribe'](_0x5abf20=>{const _0x3d5c70=_0x401bdf;_0x5abf20===ve[_0x3d5c70(0x39f)]?this[_0x3d5c70(0x29b)](_0x487a70):_0x5abf20===ve['OFFLINE']&&(_0x487a70=!0x0,this[_0x3d5c70(0x526)]());})),this[_0x401bdf(0x5b7)](this[_0x401bdf(0x27b)][_0x401bdf(0x52e)][_0x401bdf(0x487)](_0x3d0b38=>{const _0x8d81b9=_0x401bdf;try{switch(_0x3d0b38['eventID']){case _0x12c324[_0x8d81b9(0x2a1)]:{this[_0x8d81b9(0x343)](_0x56f079(_0x3d0b38[_0x8d81b9(0x28b)]));break;}case _0x12c324['CHANGESET_ACK']:{this[_0x8d81b9(0x396)](_0x3d0b38[_0x8d81b9(0x28b)]);break;}case _0x12c324['CHANGESET_REJ']:{this[_0x8d81b9(0x2f5)]();break;}case _0x12c324[_0x8d81b9(0x3f1)]:{this[_0x8d81b9(0x312)](_0x3d0b38[_0x8d81b9(0x28b)]);break;}case _0x12c324[_0x8d81b9(0x2f0)]:{this[_0x8d81b9(0x2e0)](_0x3d0b38[_0x8d81b9(0x28b)][_0x8d81b9(0x39b)]['map'](_0x3452ca=>_0x56f079(_0x3452ca)));break;}case _0x12c324['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x82b76b){throw console['error']('Error\x20on\x20receiving\x20event',_0x82b76b),_0x82b76b;}})),this[_0x401bdf(0x3a0)];}[_0x4299a1(0x351)](){this['_transitionLocked']=!0x1;}[_0x4299a1(0x367)](){const _0x91031d=_0x4299a1;if(this['_transitionLocked'])throw new Error(_0x91031d(0x398));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x175409){const _0x29b047=_0x4299a1;this[_0x29b047(0x367)](),this[_0x29b047(0x473)](this['_state'][_0x29b047(0x5ba)](_0x175409)),this[_0x29b047(0x351)]();}[_0x4299a1(0x343)](_0x501b93){const _0x3240d8=_0x4299a1;if(!(_0x501b93[_0x3240d8(0x4e5)]<=this[_0x3240d8(0x436)][_0x3240d8(0x4b4)](this[_0x3240d8(0x3cd)]))){if(this[_0x3240d8(0x337)]){this['_remoteChangesetQueue']['push'](_0x501b93);return;}this[_0x3240d8(0x239)](_0x501b93);}}[_0x4299a1(0x334)](){const _0x1ed701=_0x4299a1;this[_0x1ed701(0x24b)][_0x1ed701(0x2c6)](_0x58d65d=>this[_0x1ed701(0x239)](_0x58d65d)),this[_0x1ed701(0x24b)]=[];}[_0x4299a1(0x239)](_0x19ad96){const _0xf4aa72=_0x4299a1,_0xf2afeb=this['_compressMutationService'][_0xf4aa72(0x411)][_0xf4aa72(0x50a)](this[_0xf4aa72(0x590)]['interceptor'][_0xf4aa72(0x2d5)]()[_0xf4aa72(0x507)])(_0x19ad96['mutations'],null)||_0x19ad96['mutations'],_0x1bdbfc={..._0x19ad96,'mutations':_0xf2afeb};this['_lockTransition'](),this[_0xf4aa72(0x473)](this[_0xf4aa72(0x3a0)][_0xf4aa72(0x4a3)](_0x1bdbfc)),this[_0xf4aa72(0x351)]();}[_0x4299a1(0x396)](_0x113605){const _0x494438=_0x4299a1;this['_lockTransition'](),this[_0x494438(0x473)](this[_0x494438(0x3a0)]['onRemoteAck'](_0x113605)),this['_unlockTransition']();}[_0x4299a1(0x2f5)](_0x8707f){const _0x5c1d02=_0x4299a1;this['_lockTransition'](),this['_updateState'](this[_0x5c1d02(0x3a0)][_0x5c1d02(0x352)](_0x8707f)),this[_0x5c1d02(0x351)]();}[_0x4299a1(0x312)](_0x58affa){const _0x49b13b=_0x4299a1;this[_0x49b13b(0x367)](),this[_0x49b13b(0x473)](this['_state'][_0x49b13b(0x2b1)](_0x58affa)),this[_0x49b13b(0x351)]();}[_0x4299a1(0x2e0)](_0x19889f){const _0x30722b=_0x4299a1;if(!(this[_0x30722b(0x3a0)]instanceof he))throw new TypeError(_0x30722b(0x258));const _0x470a32=_0x19889f[_0x30722b(0x272)](_0x29a7ea=>{const _0xe3bb92=_0x30722b,_0x5e27c5=this[_0xe3bb92(0x590)][_0xe3bb92(0x411)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xe3bb92(0x411)][_0xe3bb92(0x2d5)]()[_0xe3bb92(0x507)])(_0x29a7ea['mutations'],null)||_0x29a7ea[_0xe3bb92(0x3e7)];return{..._0x29a7ea,'mutations':_0x5e27c5};});this[_0x30722b(0x367)](),this[_0x30722b(0x473)](this['_state']['onMissedChangesetFetched'](_0x470a32)),this[_0x30722b(0x351)]();}[_0x4299a1(0x526)](){const _0x76b36f=_0x4299a1;this[_0x76b36f(0x367)](),this['_updateState'](this[_0x76b36f(0x3a0)]['toggleOffline']()),this['_unlockTransition']();}[_0x4299a1(0x29b)](_0x1789ce=!0x1){const _0x5425a1=_0x4299a1;this[_0x5425a1(0x367)](),this['_updateState'](this[_0x5425a1(0x3a0)][_0x5425a1(0x383)]()),this[_0x5425a1(0x351)]();const _0x39949c=this[_0x5425a1(0x3a0)];_0x1789ce&&_0x39949c instanceof Fe&&(this['_lockTransition'](),this[_0x5425a1(0x473)](_0x39949c[_0x5425a1(0x412)]()),this[_0x5425a1(0x351)]());}async[_0x4299a1(0x4f4)](){return new Promise(_0x3f26f5=>{const _0x17e285=_0x1dba;this[_0x17e285(0x27b)]['sessionStatus$'][_0x17e285(0x35f)](_0x39a45e(0x1))[_0x17e285(0x487)](async _0x56d92e=>{const _0x36099c=_0x17e285;_0x3f26f5(await this['_createInitialStateImpl'](_0x56d92e===ve[_0x36099c(0x39f)]));});});}[_0x4299a1(0x317)](){const _0x7989b9=this['unitID'];return{'onStateChange':(_0x28ffae,_0x3ab7a5)=>{const _0x226222=_0x1dba;if(_0x28ffae!==this[_0x226222(0x3a0)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x28ffae[_0x226222(0x485)]+_0x226222(0x3ef)+_0x3ab7a5[_0x226222(0x485)]+_0x226222(0x4e2)+this[_0x226222(0x3a0)]['status']);this[_0x226222(0x473)](_0x3ab7a5);},'onSendChangeset':_0x4cb8c4=>{const _0x3dd2b2=_0x1dba;_0x4cb8c4[_0x3dd2b2(0x4ff)]||(_0x4cb8c4[_0x3dd2b2(0x4ff)]=this[_0x3dd2b2(0x31d)],_0x4cb8c4[_0x3dd2b2(0x4ef)]=++this['_changesetReqId']);const _0x5261e7={'eventID':_0x12c324['SUBMIT_CHANGESET'],'data':{'unitID':_0x4cb8c4[_0x3dd2b2(0x3cd)],'unitType':this[_0x3dd2b2(0x4c4)],'changeset':_0x4cb8c4,'memberID':this['session'][_0x3dd2b2(0x452)]()}};this[_0x3dd2b2(0x27b)][_0x3dd2b2(0x333)](_0x5261e7,this[_0x3dd2b2(0x3cd)]);},'onMissingChangesets':({from:_0x4d38cf,to:_0x2c88ff})=>{const _0xdfa6e8=_0x1dba;this[_0xdfa6e8(0x327)]['debug'](_0xdfa6e8(0x3fe),_0xdfa6e8(0x2fb)+_0x4d38cf+_0xdfa6e8(0x44b)+_0x2c88ff);const _0x523e63={'eventID':_0x12c324[_0xdfa6e8(0x51c)],'data':{'unitID':_0x7989b9,'unitType':this[_0xdfa6e8(0x4c4)],'from':_0x4d38cf,'to':_0x2c88ff}};this[_0xdfa6e8(0x27b)]['send'](_0x523e63,this[_0xdfa6e8(0x3cd)]);}};}async[_0x4299a1(0x42d)](_0x31a529){const _0x418bdf=_0x4299a1;var _0xb3c0bf,_0x170135;const _0x50c980=await this[_0x418bdf(0x3ac)]['loadOfflineData'](this[_0x418bdf(0x3cd)]),_0xfd0b8b=(_0xb3c0bf=_0x50c980==null?void 0x0:_0x50c980[_0x418bdf(0x3e7)])!=null?_0xb3c0bf:[],_0x32d70e=(_0x170135=_0x50c980==null?void 0x0:_0x50c980['awaitingChangeset'])!=null?_0x170135:null,_0x19f6ed=!!(_0x32d70e!=null&&_0x32d70e[_0x418bdf(0x4ff)])&&!!(_0x32d70e!=null&&_0x32d70e[_0x418bdf(0x4ef)]);this['_changesetSessionId']=_0x19f6ed?_0x32d70e['sid']:Gr(),this[_0x418bdf(0x577)]=_0x19f6ed?_0x32d70e['reqId']:0x0;const _0x24c578=this[_0x418bdf(0x3cd)];try{this[_0x418bdf(0x20d)](_0x32d70e,_0xfd0b8b);}catch(_0x154bc0){this['_logService'][_0x418bdf(0x1c9)](_0x154bc0);}const _0x4c3d77=this[_0x418bdf(0x317)]();if(_0x31a529){const _0x578d27=Ai(this['_injector'],_0x24c578,this[_0x418bdf(0x4c4)],_0x32d70e,_0xfd0b8b,_0x4c3d77);return _0x578d27 instanceof pe?_0x578d27[_0x418bdf(0x5cd)]():(_0x578d27 instanceof ge||_0x578d27 instanceof Te)&&_0x578d27['resend'](),_0x578d27;}return this[_0x418bdf(0x557)]['createInstance'](ye,_0x24c578,this[_0x418bdf(0x4c4)],_0x32d70e,_0xfd0b8b,_0x4c3d77);}[_0x4299a1(0x20d)](_0x162e5a,_0x125026){const _0x225002=_0x4299a1;var _0x5de3d8,_0x2fa893;const _0x5d1a40=this['_compressMutationService']['interceptor'][_0x225002(0x50a)](this[_0x225002(0x590)][_0x225002(0x411)][_0x225002(0x2d5)]()['COMPRESS_MUTATION_APPLY']);(_0x5de3d8=_0x5d1a40((_0x162e5a==null?void 0x0:_0x162e5a['mutations'])||[],null))==null||_0x5de3d8[_0x225002(0x2c6)](_0x521f2f=>this[_0x225002(0x33f)]['executeCommand'](_0x521f2f['id'],_0x521f2f['params'])),(_0x2fa893=_0x5d1a40(_0x125026||[],null))==null||_0x2fa893[_0x225002(0x2c6)](_0x425bd8=>this[_0x225002(0x33f)][_0x225002(0x23c)](_0x425bd8['id'],_0x425bd8[_0x225002(0x217)]));}};St=Es([H(0x3,_0x2f5cfe(_0x22006e)),H(0x4,_0x2f5cfe(q)),H(0x5,_0x2f5cfe(_0x270b66)),H(0x6,_0x2f5cfe(_0x44ee4c)),H(0x7,_0x2f5cfe(_0x12797c)),H(0x8,_0x105261),H(0x9,_0x2d1134),H(0xa,_0x3aefef),H(0xb,_0x24d923),H(0xc,_0x2d2324(yt))],St);let ss=class extends St{constructor(_0x12d234,_0x34d394,_0x42844c,_0x32de43,_0x27437c,_0x5f574a,_0x30c69d,_0x3f09ad,_0x3084ca,_0x507126,_0x46acc6,_0x2afad6,_0x26f576,_0x1c1dd5,_0x7ac43b,_0x129122,_0x431643,_0x14373c){const _0x4aa578=_0x4299a1;super(_0x12d234,_0x42844c,_0x34d394,_0x32de43,_0x27437c,_0x5f574a,_0x30c69d,_0x3f09ad,_0x1c1dd5,_0x7ac43b,_0x129122,_0x431643,_0x14373c),this[_0x4aa578(0x3cd)]=_0x12d234,this[_0x4aa578(0x41e)]=_0x34d394,this[_0x4aa578(0x4ec)]=_0x3084ca,this[_0x4aa578(0x55a)]=_0x507126,this[_0x4aa578(0x513)]=_0x46acc6,this[_0x4aa578(0x266)]=_0x2afad6,this[_0x4aa578(0x57a)]=_0x26f576;}['_createHandler'](){const _0x23c2a5=_0x4299a1,_0x15e11d=super[_0x23c2a5(0x317)]();return _0x15e11d['onTransformIME']=_0x37c07b=>this[_0x23c2a5(0x55a)][_0x23c2a5(0x399)](_0x37c07b),_0x15e11d[_0x23c2a5(0x234)]=_0x1cb68c=>this[_0x23c2a5(0x513)][_0x23c2a5(0x331)](_0x1cb68c),_0x15e11d[_0x23c2a5(0x357)]=_0x1596cb=>this['_docTransformSelectionsService'][_0x23c2a5(0x576)](_0x1596cb),_0x15e11d[_0x23c2a5(0x536)]=_0x2c13e2=>this[_0x23c2a5(0x57a)][_0x23c2a5(0x281)](_0x2c13e2),_0x15e11d[_0x23c2a5(0x3f8)]=_0x2863a0=>this[_0x23c2a5(0x55a)][_0x23c2a5(0x37c)](_0x2863a0),_0x15e11d[_0x23c2a5(0x56c)]=_0x498c2a=>this[_0x23c2a5(0x513)][_0x23c2a5(0x37c)](_0x498c2a),_0x15e11d;}async[_0x4299a1(0x389)](){const _0x4823da=_0x4299a1,_0x20c73c=await super['_init']();return this['_docStateChangeManagerService'][_0x4823da(0x29c)][_0x4823da(0x35f)](_0x2fa59a(this[_0x4823da(0x47b)]))[_0x4823da(0x487)](_0x410435=>{const _0x141e63=_0x4823da;if(_0x410435==null)return;const {unitId:_0x28ddeb,redoState:_0x5292ce,commandId:_0x27d0ee}=_0x410435;if(_0x28ddeb!==this['unitID'])return;const _0x4cb180={'id':_0x27d0ee,'type':_0x76554b[_0x141e63(0x1cd)],'params':{'unitId':_0x28ddeb,'actions':_0x5292ce[_0x141e63(0x3b6)],'textRanges':null}};this[_0x141e63(0x567)](_0x4cb180);}),_0x20c73c;}};ss=Es([H(0x3,_0x2f5cfe(_0x22006e)),H(0x4,_0x2f5cfe(q)),H(0x5,_0x2f5cfe(_0x270b66)),H(0x6,_0x2f5cfe(_0x44ee4c)),H(0x7,_0x2f5cfe(_0x12797c)),H(0x8,_0x2f5cfe(_0x1e13e9)),H(0x9,_0x2f5cfe(vt)),H(0xa,_0x2f5cfe(pt)),H(0xb,_0x2f5cfe(gt)),H(0xc,_0x2f5cfe(Cs)),H(0xd,_0x105261),H(0xe,_0x2d1134),H(0xf,_0x3aefef),H(0x10,_0x24d923),H(0x11,_0x2d2324(yt))],ss);let is=class extends St{constructor(_0x59e70d,_0x34f6a5,_0x3200b3,_0x4a918d,_0x5b0173,_0x3996ed,_0x27d8e6,_0x5e630d,_0x1f9251,_0x3287bf,_0x25fe55,_0x1d73bd,_0x45518d,_0x3bc70f){const _0x291eff=_0x4299a1;super(_0x59e70d,_0x3200b3,_0x34f6a5,_0x4a918d,_0x5b0173,_0x3996ed,_0x27d8e6,_0x5e630d,_0x3287bf,_0x25fe55,_0x1d73bd,_0x45518d,_0x3bc70f),this[_0x291eff(0x3cd)]=_0x59e70d,this[_0x291eff(0x41e)]=_0x34f6a5,this[_0x291eff(0x39e)]=_0x1f9251;}[_0x4299a1(0x317)](){const _0x3b63c2=_0x4299a1,_0x218348=super['_createHandler']();return _0x218348[_0x3b63c2(0x357)]=_0x245236=>this[_0x3b63c2(0x39e)][_0x3b63c2(0x576)](_0x245236),_0x218348;}async[_0x4299a1(0x389)](){const _0x33945a=_0x4299a1,_0x26a7a5=await super['_init']();return this['disposeWithMe'](this[_0x33945a(0x33f)][_0x33945a(0x5b6)]((_0x2bee70,_0x3bf53e)=>{const _0x56c6b9=_0x33945a;if(_0x2bee70[_0x56c6b9(0x41e)]!==_0x76554b[_0x56c6b9(0x1cd)]||_0x3bf53e!=null&&_0x3bf53e[_0x56c6b9(0x1e8)]||_0x3bf53e!=null&&_0x3bf53e[_0x56c6b9(0x48f)])return;const _0x2f85b1=_0x2bee70[_0x56c6b9(0x217)];if((_0x2f85b1==null?void 0x0:_0x2f85b1[_0x56c6b9(0x2ea)])!==this[_0x56c6b9(0x3cd)])return;const _0x21e3c2=_0x2bee70,_0x569e69=this[_0x56c6b9(0x590)][_0x56c6b9(0x411)][_0x56c6b9(0x50a)](this[_0x56c6b9(0x590)][_0x56c6b9(0x411)][_0x56c6b9(0x2d5)]()[_0x56c6b9(0x299)])([_0x21e3c2],null)||[_0x21e3c2];this['_onLocalMutation'](_0x569e69[0x0]);})),_0x26a7a5;}};is=Es([H(0x3,_0x2f5cfe(_0x22006e)),H(0x4,_0x2f5cfe(q)),H(0x5,_0x2f5cfe(_0x270b66)),H(0x6,_0x2f5cfe(_0x44ee4c)),H(0x7,_0x2f5cfe(_0x12797c)),H(0x8,_0x2f5cfe(mt)),H(0x9,_0x105261),H(0xa,_0x2d1134),H(0xb,_0x3aefef),H(0xc,_0x24d923),H(0xd,_0x2d2324(yt))],is);var go=Object[_0x4299a1(0x5c7)],So=Object[_0x4299a1(0x563)],Io=(_0x9b5eb1,_0x1b361b,_0x2fd4a5,_0x5c41e7)=>{const _0x3dfdcd=_0x4299a1;for(var _0x2ae545=_0x5c41e7>0x1?void 0x0:_0x5c41e7?So(_0x1b361b,_0x2fd4a5):_0x1b361b,_0x54883c=_0x9b5eb1[_0x3dfdcd(0x256)]-0x1,_0x257e9a;_0x54883c>=0x0;_0x54883c--)(_0x257e9a=_0x9b5eb1[_0x54883c])&&(_0x2ae545=(_0x5c41e7?_0x257e9a(_0x1b361b,_0x2fd4a5,_0x2ae545):_0x257e9a(_0x2ae545))||_0x2ae545);return _0x5c41e7&&_0x2ae545&&go(_0x1b361b,_0x2fd4a5,_0x2ae545),_0x2ae545;},Lt=(_0x1db3c6,_0x34e582)=>(_0x1349c9,_0x1a36a7)=>_0x34e582(_0x1349c9,_0x1a36a7,_0x1db3c6);let it=class extends _0x737a66{constructor(_0x42dfdf,_0x27f7c2,_0x1659cc){const _0x3b2a51=_0x4299a1;super(),g(this,_0x3b2a51(0x22c),new Map()),g(this,_0x3b2a51(0x55b),new _0x19ddda()),(this[_0x3b2a51(0x557)]=_0x42dfdf,this[_0x3b2a51(0x4a7)]=_0x27f7c2,this[_0x3b2a51(0x35b)]=_0x1659cc,this[_0x3b2a51(0x389)]());}[_0x4299a1(0x229)](){const _0x24a4f6=_0x4299a1;super[_0x24a4f6(0x229)](),this[_0x24a4f6(0x22c)][_0x24a4f6(0x2c6)](_0x515c12=>_0x515c12[_0x24a4f6(0x229)]()),this[_0x24a4f6(0x22c)]['clear']();}[_0x4299a1(0x1dd)](_0x37adbb){const _0x2c5231=_0x4299a1;var _0x21b727;return(_0x21b727=this[_0x2c5231(0x22c)][_0x2c5231(0x401)](_0x37adbb))!=null?_0x21b727:null;}['getCollabEntity$'](_0x56aafb){const _0x39c712=_0x4299a1,_0x17d997=this['getCollabEntity'](_0x56aafb);return _0x17d997?_0x3de089(_0x17d997):this['_entityInit$'][_0x39c712(0x35f)](_0x53cf0f(_0x224ab6=>_0x224ab6[_0x39c712(0x3cd)]===_0x56aafb));}['_init'](){const _0x1c9d97=_0x4299a1;this['_univerInstanceService'][_0x1c9d97(0x446)](_0x120bce[_0x1c9d97(0x247)])[_0x1c9d97(0x35f)](_0x2fa59a(this[_0x1c9d97(0x47b)]),_0x59f70e(0x10))['subscribe'](async _0x333a4d=>{const _0x4c6fa0=_0x1c9d97,_0xa67a62=_0x333a4d[_0x4c6fa0(0x1e9)](),_0x2f646b=await this[_0x4c6fa0(0x354)](_0xa67a62,ce['UNIVER_SHEET']);this[_0x4c6fa0(0x22c)][_0x4c6fa0(0x3db)](_0xa67a62,_0x2f646b);}),this[_0x1c9d97(0x35b)]['getTypeOfUnitAdded$'](_0x120bce[_0x1c9d97(0x599)])[_0x1c9d97(0x35f)](_0x2fa59a(this[_0x1c9d97(0x47b)]),_0x59f70e(0x10))['pipe'](_0x53cf0f(_0x13b67a=>!_0x13b67a[_0x1c9d97(0x1e9)]()[_0x1c9d97(0x459)]('__')))['subscribe'](async _0x1413c7=>{const _0xc449c6=_0x1c9d97,_0x314486=_0x1413c7['getUnitId'](),_0x4ba280=await this['_startCollaboration'](_0x314486,ce['UNIVER_DOC']);this[_0xc449c6(0x22c)][_0xc449c6(0x3db)](_0x314486,_0x4ba280);}),_0x26c7b9(this[_0x1c9d97(0x35b)][_0x1c9d97(0x54f)](_0x120bce[_0x1c9d97(0x247)]),this[_0x1c9d97(0x35b)][_0x1c9d97(0x54f)](_0x120bce[_0x1c9d97(0x599)]))[_0x1c9d97(0x35f)](_0x2fa59a(this[_0x1c9d97(0x47b)]))[_0x1c9d97(0x487)](_0x44fb31=>{const _0x345ba3=_0x1c9d97,_0x37f0d0=_0x44fb31['getUnitId'](),_0x5e1296=this['_entities'][_0x345ba3(0x401)](_0x37f0d0);_0x5e1296&&(_0x5e1296['dispose'](),this[_0x345ba3(0x22c)][_0x345ba3(0x404)](_0x37f0d0));});}async[_0x4299a1(0x354)](_0x589cb4,_0x492058){const _0x9c7142=_0x4299a1,_0x282f5b=await this[_0x9c7142(0x4a7)][_0x9c7142(0x219)](_0x589cb4),_0x2cd49e=this[_0x9c7142(0x557)]['createInstance'](this[_0x9c7142(0x4a1)](_0x492058),_0x589cb4,_0x492058,_0x282f5b);return await _0x2cd49e[_0x9c7142(0x369)](),this[_0x9c7142(0x55b)][_0x9c7142(0x419)](_0x2cd49e),_0x2cd49e;}[_0x4299a1(0x4a1)](_0x36018f){const _0x3bbc96=_0x4299a1;switch(_0x36018f){case ce[_0x3bbc96(0x599)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x3bbc96(0x5c2)+_0x36018f);}}};it=Io([Lt(0x0,_0x2f5cfe(_0x22006e)),Lt(0x1,_0x2f5cfe(Ae)),Lt(0x2,_0x19bced)],it);const Gs=[_0x4299a1(0x31b),_0x4299a1(0x4ca),'verdancy600',_0x4299a1(0x3bb),'blue400',_0x4299a1(0x480)];class bs extends _0x3ee966{constructor(){const _0x393454=_0x4299a1;super(...arguments),g(this,_0x393454(0x4a5),new Map()),g(this,_0x393454(0x2af),0x0);}[_0x4299a1(0x31f)](_0x2d2534){const _0x5af0cb=_0x4299a1;if(this['_assignedColors'][_0x5af0cb(0x31a)](_0x2d2534))return this[_0x5af0cb(0x4a5)]['get'](_0x2d2534);const _0x46122d=Gs[this[_0x5af0cb(0x2af)]];return this[_0x5af0cb(0x2af)]=(this['_colorIndex']+0x1)%Gs[_0x5af0cb(0x256)],this['_assignedColors'][_0x5af0cb(0x3db)](_0x2d2534,_0x46122d),_0x46122d;}}var Co=Object['defineProperty'],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x49698f,_0x14188d,_0x3e622f,_0x229955)=>{const _0xd78a36=_0x4299a1;for(var _0x4dd6c0=_0x229955>0x1?void 0x0:_0x229955?Eo(_0x14188d,_0x3e622f):_0x14188d,_0x3bf50f=_0x49698f[_0xd78a36(0x256)]-0x1,_0x4d68d9;_0x3bf50f>=0x0;_0x3bf50f--)(_0x4d68d9=_0x49698f[_0x3bf50f])&&(_0x4dd6c0=(_0x229955?_0x4d68d9(_0x14188d,_0x3e622f,_0x4dd6c0):_0x4d68d9(_0x4dd6c0))||_0x4dd6c0);return _0x229955&&_0x4dd6c0&&Co(_0x14188d,_0x3e622f,_0x4dd6c0),_0x4dd6c0;},Oe=(_0x57e149,_0x40f5f6)=>(_0x32d600,_0x4d192f)=>_0x40f5f6(_0x32d600,_0x4d192f,_0x57e149);const To=0x12c,Ro=0x64;let ns=class extends _0x737a66{constructor(_0x32791e,_0x57ed84,_0x19256e,_0x4ca7ad,_0x2e0c26,_0x271464,_0x10cc9d,_0x37f4c2,_0x587185){const _0x308439=_0x4299a1;super(),g(this,_0x308439(0x528),!0x1),g(this,_0x308439(0x389),!0x1),g(this,_0x308439(0x1e6),new _0x37eed6(new Map())),g(this,_0x308439(0x1c3),this[_0x308439(0x1e6)]['asObservable']()),g(this,_0x308439(0x236),new _0x37eed6([])),g(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x57b99f(To))),g(this,_0x308439(0x4e3),_0x5b2ba1(_0x24dfac=>{const _0x3bbf70=_0x308439,_0xdbd56b={'eventID':_0x12c324['UPDATE_CURSOR'],'data':{'unitID':this[_0x3bbf70(0x3cd)],'memberID':this[_0x3bbf70(0x59b)][_0x3bbf70(0x452)](),'selection':Pi(_0x24dfac)}};this[_0x3bbf70(0x59b)][_0x3bbf70(0x333)](_0xdbd56b,this[_0x3bbf70(0x3cd)]);},Ro)),(this[_0x308439(0x3cd)]=_0x32791e,this[_0x308439(0x59b)]=_0x57ed84,this[_0x308439(0x557)]=_0x19256e,this[_0x308439(0x339)]=_0x4ca7ad,this['_memberService']=_0x2e0c26,this[_0x308439(0x3e0)]=_0x271464,this[_0x308439(0x5bd)]=_0x10cc9d,this[_0x308439(0x35b)]=_0x37f4c2,this[_0x308439(0x33f)]=_0x587185);}get[_0x4299a1(0x41c)](){const _0x27a563=_0x4299a1;return this[_0x27a563(0x1e6)]['getValue']();}get[_0x4299a1(0x2da)](){const _0x172dec=_0x4299a1;return this[_0x172dec(0x236)][_0x172dec(0x58b)]();}[_0x4299a1(0x229)](){const _0x31edbc=_0x4299a1;super[_0x31edbc(0x229)](),this[_0x31edbc(0x1e6)][_0x31edbc(0x419)](new Map()),this[_0x31edbc(0x1e6)][_0x31edbc(0x405)](),this['_roomMembers$'][_0x31edbc(0x419)]([]),this['_roomMembers$'][_0x31edbc(0x405)]();}[_0x4299a1(0x369)](){const _0x54daec=_0x4299a1;this['_init']||(this['_init']=!0x0,this[_0x54daec(0x59b)]['sessionStatus$'][_0x54daec(0x35f)](_0x2fa59a(this['dispose$']))[_0x54daec(0x487)](_0x350000=>{const _0x9bb61e=_0x54daec;_0x350000===ve[_0x9bb61e(0x39f)]?this[_0x9bb61e(0x29b)]():this[_0x9bb61e(0x526)]();}),this[_0x54daec(0x59b)][_0x54daec(0x52e)]['pipe'](_0x2fa59a(this[_0x54daec(0x47b)]))[_0x54daec(0x487)](_0x3a5c56=>{const _0xb3ff6e=_0x54daec,_0x47fda4=_0x3a5c56[_0xb3ff6e(0x341)];_0x47fda4===_0x12c324[_0xb3ff6e(0x395)]&&this[_0xb3ff6e(0x4da)](_0x3a5c56),_0x47fda4===_0x12c324[_0xb3ff6e(0x2b0)]&&this['_onCursorDelete'](_0x3a5c56);}),this['disposeWithMe'](this[_0x54daec(0x33f)][_0x54daec(0x5b6)](_0x119ce7=>{const _0x43927b=_0x54daec,_0x422699=_0x119ce7[_0x43927b(0x217)];_0x422699!=null&&this[_0x43927b(0x528)]&&_0x119ce7['id']===_0x319a57['id']&&_0x422699[_0x43927b(0x2ea)]===this['unitID']&&_0x422699['isEditing']===!0x1&&_0x422699[_0x43927b(0x5b1)]['length']>0x0&&this['_updateLocalCursor'](_0x422699['ranges']);})),this[_0x54daec(0x3e0)][_0x54daec(0x2f4)][_0x54daec(0x35f)](_0x2fa59a(this[_0x54daec(0x47b)]))[_0x54daec(0x487)](_0x5cb342=>{const _0xa52c07=_0x54daec;if((_0x5cb342==null?void 0x0:_0x5cb342['unitID'])!==this[_0xa52c07(0x3cd)])return;const _0x24af84={'eventID':_0x12c324['UPDATE_CURSOR'],'data':_0x5cb342};this[_0xa52c07(0x4da)](_0x24af84);}),this[_0x54daec(0x5b7)](this[_0x54daec(0x33f)][_0x54daec(0x5b6)](_0xa12414=>{const _0x4376e5=_0x54daec;if(_0xa12414[_0x4376e5(0x217)]==null)return;const _0x4899bd=_0xa12414[_0x4376e5(0x217)];if(_0xa12414['id']!==_0x30fdba['id']||_0x4899bd['unitId']!==this[_0x4376e5(0x3cd)])return;const _0x52f70a={'id':_0x4376e5(0x42e),'params':_0x4899bd},_0x8a69c7=this[_0x4376e5(0x41c)];for(const [_0x1ebaa5,_0x3e9441]of _0x8a69c7){const _0x3e666a={'id':_0x4376e5(0x42e),'params':{'unitId':this[_0x4376e5(0x3cd)],'actions':null,'textRanges':_0x3e9441[_0x4376e5(0x5b1)]}},_0x1fc085=this[_0x4376e5(0x5bd)][_0x4376e5(0x372)](_0x52f70a,_0x3e666a,!0x1);if(_0x2b0d31(_0x1fc085))throw _0x1fc085[_0x4376e5(0x1c9)];_0x8a69c7['set'](_0x1ebaa5,{..._0x3e9441,'ranges':_0x1fc085[_0x4376e5(0x20e)][_0x4376e5(0x217)][_0x4376e5(0x587)]});}queueMicrotask(()=>{const _0x392b7c=_0x4376e5;this[_0x392b7c(0x1e6)][_0x392b7c(0x419)](_0x8a69c7);});})));}['_onCursorUpdate'](_0x10d8b1){const _0x1c82e6=_0x4299a1;var _0x171266,_0x3f7b80;const {memberID:_0x578664,selection:_0x246d30}=_0x10d8b1[_0x1c82e6(0x28b)],_0x28306b=oo(_0x246d30),_0x2d4b6f=(_0x3f7b80=(_0x171266=this[_0x1c82e6(0x21a)][_0x1c82e6(0x222)](this[_0x1c82e6(0x3cd)],_0x578664))==null?void 0x0:_0x171266[_0x1c82e6(0x597)])!=null?_0x3f7b80:_0x1c82e6(0x342),_0x456fdf={'color':this[_0x1c82e6(0x339)]['assignAColorForMemberID'](_0x578664),'name':_0x2d4b6f,'ranges':_0x28306b},_0x25e690=this['cursorInfo'];_0x25e690[_0x1c82e6(0x3db)](_0x578664,_0x456fdf),this[_0x1c82e6(0x1e6)][_0x1c82e6(0x419)](_0x25e690);}['_onCursorDelete'](_0x30f25c){const _0x4ed084=_0x4299a1,{memberID:_0x3a28d0}=_0x30f25c[_0x4ed084(0x28b)],_0x4b28eb=this[_0x4ed084(0x41c)];_0x4b28eb[_0x4ed084(0x404)](_0x3a28d0),this[_0x4ed084(0x1e6)][_0x4ed084(0x419)](_0x4b28eb);}['_toggleOnline'](){const _0x58f621=_0x4299a1;var _0xe60fbb;if(this['_online']=!0x0,((_0xe60fbb=this[_0x58f621(0x35b)][_0x58f621(0x428)]())==null?void 0x0:_0xe60fbb[_0x58f621(0x1e9)]())!==this[_0x58f621(0x3cd)])return;const _0x3598e3=this[_0x58f621(0x557)][_0x58f621(0x401)](_0x3c0350)[_0x58f621(0x388)]();Array['isArray'](_0x3598e3)&&_0x3598e3[_0x58f621(0x256)]>0x0&&this[_0x58f621(0x4e3)](_0x3598e3);}[_0x4299a1(0x526)](){const _0x351348=_0x4299a1;this[_0x351348(0x528)]=!0x1;}};ns=bo([Oe(0x2,_0x2f5cfe(_0x22006e)),Oe(0x3,_0x2f5cfe(bs)),Oe(0x4,_0x2f5cfe(Ne)),Oe(0x5,_0x2f5cfe(Cs)),Oe(0x6,_0x131cfd),Oe(0x7,_0x19bced),Oe(0x8,_0x2d1134)],ns);var yo=Object['defineProperty'],Oo=Object['getOwnPropertyDescriptor'],wo=(_0x195d82,_0x5b2372,_0x3c615f,_0x369a5d)=>{const _0x430e25=_0x4299a1;for(var _0x2fe314=_0x369a5d>0x1?void 0x0:_0x369a5d?Oo(_0x5b2372,_0x3c615f):_0x5b2372,_0x3423a3=_0x195d82[_0x430e25(0x256)]-0x1,_0x23b79b;_0x3423a3>=0x0;_0x3423a3--)(_0x23b79b=_0x195d82[_0x3423a3])&&(_0x2fe314=(_0x369a5d?_0x23b79b(_0x5b2372,_0x3c615f,_0x2fe314):_0x23b79b(_0x2fe314))||_0x2fe314);return _0x369a5d&&_0x2fe314&&yo(_0x5b2372,_0x3c615f,_0x2fe314),_0x2fe314;},Be=(_0x27a772,_0x20d42b)=>(_0x589ed6,_0x440f87)=>_0x20d42b(_0x589ed6,_0x440f87,_0x27a772);const Do=0x12c,Po=0x64,Uo=()=>{let _0x3b572b=[],_0x20d26d=!0x1;return _0x1705a1=>{const _0xeb4b55=_0x1dba;_0x3b572b[_0xeb4b55(0x499)](_0x1705a1),_0x20d26d||(_0x20d26d=!0x0,setTimeout(()=>{const _0x3ad06c=_0xeb4b55;_0x3b572b[_0x3ad06c(0x2c6)](_0x2c3c6d=>_0x2c3c6d()),_0x3b572b=[],_0x20d26d=!0x1;}));};};let rs=class extends _0x737a66{constructor(_0x268d9a,_0x35bec3,_0x56a756,_0x786aac,_0x2a1fc6,_0x2c9c3c,_0x2362f0,_0x544c72){const _0x426dcd=_0x4299a1;super(),g(this,'_online',!0x1),g(this,_0x426dcd(0x389),!0x1),g(this,_0x426dcd(0x1e6),new _0x37eed6(new Map())),g(this,_0x426dcd(0x1c3),this[_0x426dcd(0x1e6)][_0x426dcd(0x42a)]()),g(this,_0x426dcd(0x236),new _0x37eed6([])),g(this,'roomMembers$',this[_0x426dcd(0x236)]['pipe'](_0x57b99f(Do))),g(this,_0x426dcd(0x4e3),_0x5b2ba1((_0x5e4ae7,_0x1d1ef3)=>{const _0x2313b3=_0x426dcd,_0x429693={'eventID':_0x12c324[_0x2313b3(0x395)],'data':{'unitID':this[_0x2313b3(0x3cd)],'memberID':this[_0x2313b3(0x59b)]['getMemberID'](),'selection':_0x5a18be(_0x5e4ae7,_0x1d1ef3[_0x2313b3(0x478)])}};this[_0x2313b3(0x59b)][_0x2313b3(0x333)](_0x429693,this[_0x2313b3(0x3cd)]);},Po)),(this[_0x426dcd(0x3cd)]=_0x268d9a,this['_session']=_0x35bec3,this[_0x426dcd(0x557)]=_0x56a756,this['_colorAssignService']=_0x786aac,this[_0x426dcd(0x21a)]=_0x2a1fc6,this[_0x426dcd(0x35b)]=_0x2c9c3c,this[_0x426dcd(0x33f)]=_0x2362f0,this[_0x426dcd(0x4c8)]=_0x544c72);}get[_0x4299a1(0x41c)](){const _0x133488=_0x4299a1;return this[_0x133488(0x1e6)][_0x133488(0x58b)]();}get['roomMembers'](){const _0x1b269c=_0x4299a1;return this[_0x1b269c(0x236)]['getValue']();}[_0x4299a1(0x229)](){const _0x1cfaf7=_0x4299a1;super['dispose'](),this[_0x1cfaf7(0x1e6)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x1cfaf7(0x236)]['next']([]),this[_0x1cfaf7(0x236)][_0x1cfaf7(0x405)]();}[_0x4299a1(0x369)](){const _0x3621b1=_0x4299a1;this[_0x3621b1(0x389)]||(this[_0x3621b1(0x389)]=!0x0,this['_session'][_0x3621b1(0x482)]['pipe'](_0x2fa59a(this[_0x3621b1(0x47b)]))[_0x3621b1(0x487)](_0xc81e43=>{const _0x4d2563=_0x3621b1;_0xc81e43===ve[_0x4d2563(0x39f)]?this[_0x4d2563(0x29b)]():this[_0x4d2563(0x526)]();}),this[_0x3621b1(0x59b)][_0x3621b1(0x52e)][_0x3621b1(0x35f)](_0x2fa59a(this['dispose$']))['subscribe'](_0x37426f=>{const _0x3b90f1=_0x3621b1,_0x3df574=_0x37426f[_0x3b90f1(0x341)];_0x3df574===_0x12c324[_0x3b90f1(0x395)]&&this[_0x3b90f1(0x4da)](_0x37426f),_0x3df574===_0x12c324[_0x3b90f1(0x2b0)]&&this[_0x3b90f1(0x550)](_0x37426f);}),this[_0x3621b1(0x2a4)](),this[_0x3621b1(0x5b7)](this[_0x3621b1(0x33f)]['onCommandExecuted'](_0x5afb5c=>{const _0x4af1de=_0x3621b1;if(this[_0x4af1de(0x528)]&&_0x5afb5c['id']===_0x1cb700['id']&&_0x5afb5c[_0x4af1de(0x217)][_0x4af1de(0x2ea)]===this[_0x4af1de(0x3cd)]){const _0x2f6a02=_0x5afb5c[_0x4af1de(0x217)];this[_0x4af1de(0x4e3)](_0x2f6a02[_0x4af1de(0x559)],_0x2f6a02['selections'][0x0]);}})));}[_0x4299a1(0x4da)](_0xc96c3b){const _0x3b03f3=_0x4299a1;var _0x54ca52,_0xb7b0b2;const {memberID:_0x148e79,selection:_0xe638fe}=_0xc96c3b[_0x3b03f3(0x28b)],{sheetName:_0x3bd02a,range:_0xf2f523}=_0x114116(_0xe638fe),_0x5859b4={'name':(_0xb7b0b2=(_0x54ca52=this[_0x3b03f3(0x21a)][_0x3b03f3(0x222)](this[_0x3b03f3(0x3cd)],_0x148e79))==null?void 0x0:_0x54ca52[_0x3b03f3(0x597)])!=null?_0xb7b0b2:_0x3b03f3(0x342),'range':this[_0x3b03f3(0x2ec)](_0x3bd02a,_0xf2f523),'sheetID':_0x3bd02a,'color':this[_0x3b03f3(0x339)][_0x3b03f3(0x31f)](_0x148e79),'selection':_0xe638fe},_0x42d634=this[_0x3b03f3(0x41c)];_0x42d634['set'](_0x148e79,_0x5859b4),this['_cursorInfo$'][_0x3b03f3(0x419)](_0x42d634);}['_onCursorDelete'](_0x3df797){const _0x2e70ea=_0x4299a1,{memberID:_0x526f5c}=_0x3df797[_0x2e70ea(0x28b)],_0x37a251=this[_0x2e70ea(0x41c)];_0x37a251['delete'](_0x526f5c),this[_0x2e70ea(0x1e6)]['next'](_0x37a251);}[_0x4299a1(0x2ec)](_0x1e47ba,_0x2e358c){const _0x3aa34e=_0x4299a1;var _0x421548,_0x50fc09;const _0x1f5b4a=(_0x50fc09=(_0x421548=this[_0x3aa34e(0x35b)][_0x3aa34e(0x35e)](this[_0x3aa34e(0x3cd)]))==null?void 0x0:_0x421548[_0x3aa34e(0x283)](_0x1e47ba))==null?void 0x0:_0x50fc09['getMergeData']();return(_0x1f5b4a==null?void 0x0:_0x1f5b4a['find'](_0xfc3e75=>_0x6605f4[_0x3aa34e(0x203)](_0xfc3e75,_0x2e358c)))||_0x2e358c;}[_0x4299a1(0x2a4)](){const _0x5a4c57=_0x4299a1,_0x16947a=new _0xc3ba12(),_0x1d4c86=Uo(),_0x3c6b8f=()=>{const _0x519857=_0x1dba;_0x16947a[_0x519857(0x229)]();const _0x49b02a=(_0x295a3c,_0x496fb9,_0x58b11f,_0x482520)=>{const _0x1e3de1=_0x519857;let _0x2f917c=[];switch(_0x295a3c['id']){case _0x50bebd[_0x1e3de1(0x31e)]:{_0x2f917c=_0x1ee4db(_0x295a3c,_0x482520);break;}case _0x50bebd['DeleteRangeMoveUpCommandId']:{_0x2f917c=_0x12594c(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x253)]:{_0x2f917c=_0x4be241(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x4fd)]:{_0x2f917c=_0x5aa1b6(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x4ce)]:{_0x2f917c=_0x3fa9b3(_0x295a3c,_0x482520);break;}case _0x50bebd['InsertRowCommandId']:{_0x2f917c=_0x1376dd(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x47f)]:{_0x2f917c=_0x146b26(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x571)]:{_0x2f917c=_0x3041a5(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x1c7)]:{_0x2f917c=_0x78f1bf(_0x295a3c,_0x482520);break;}}const _0x5eee0a=_0x13d83c(_0x2f917c,_0x482520),_0x5bd173=this[_0x1e3de1(0x41c)][_0x1e3de1(0x401)](_0x496fb9);if(_0x5bd173&&_0x5eee0a){const _0x26e4bd={..._0x5bd173,'range':_0x5eee0a};this[_0x1e3de1(0x41c)]['set'](_0x496fb9,_0x26e4bd),_0x1d4c86(()=>{const _0x3b455d=_0x1e3de1,_0x20f5a0=this[_0x3b455d(0x4c8)]['registerRefRange'](_0x5eee0a,_0x58be49=>(_0x20f5a0['dispose'](),_0x49b02a(_0x58be49,_0x496fb9,_0x58b11f,_0x5eee0a)));_0x16947a['add'](_0x20f5a0);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x25adf4,_0x55fce6)=>{const _0x1c92e6=_0x519857,{range:_0x5b4285,sheetID:_0x5ce526}=_0x25adf4,_0x5aed02=this[_0x1c92e6(0x4c8)][_0x1c92e6(0x4f1)](_0x5b4285,_0x2e561a=>(_0x5aed02[_0x1c92e6(0x229)](),_0x49b02a(_0x2e561a,_0x55fce6,_0x5ce526,_0x5b4285)));_0x16947a['add'](_0x5aed02);});};this[_0x5a4c57(0x5b7)](_0xd4e920(this[_0x5a4c57(0x1e6)]['subscribe'](()=>{_0x3c6b8f();})));}['_toggleOnline'](){const _0x109940=_0x4299a1;var _0x101996,_0x310004;if(this[_0x109940(0x528)]=!0x0,((_0x101996=this[_0x109940(0x35b)]['getFocusedUnit']())==null?void 0x0:_0x101996['getUnitId']())!==this[_0x109940(0x3cd)])return;const _0x5135eb=(_0x310004=this['_injector'][_0x109940(0x401)](_0x492658)[_0x109940(0x59a)]())==null?void 0x0:_0x310004[0x0],_0x1aa812=this[_0x109940(0x35b)][_0x109940(0x24a)](_0x120bce[_0x109940(0x247)])['getActiveSheet']();_0x5135eb&&_0x1aa812&&this[_0x109940(0x4e3)](_0x1aa812['getSheetId'](),_0x5135eb);}[_0x4299a1(0x526)](){const _0x5bb47b=_0x4299a1;this[_0x5bb47b(0x528)]=!0x1;}};rs=wo([Be(0x2,_0x2f5cfe(_0x22006e)),Be(0x3,_0x2f5cfe(bs)),Be(0x4,_0x2f5cfe(Ne)),Be(0x5,_0x19bced),Be(0x6,_0x2d1134),Be(0x7,_0x2f5cfe(_0xe03fd0))],rs);var No=Object[_0x4299a1(0x5c7)],Ao=Object[_0x4299a1(0x563)],Mo=(_0x1b9c82,_0x5876e5,_0x1e83c6,_0x5b1aa9)=>{for(var _0x42c432=_0x5b1aa9>0x1?void 0x0:_0x5b1aa9?Ao(_0x5876e5,_0x1e83c6):_0x5876e5,_0x1a9a56=_0x1b9c82['length']-0x1,_0x779009;_0x1a9a56>=0x0;_0x1a9a56--)(_0x779009=_0x1b9c82[_0x1a9a56])&&(_0x42c432=(_0x5b1aa9?_0x779009(_0x5876e5,_0x1e83c6,_0x42c432):_0x779009(_0x42c432))||_0x42c432);return _0x5b1aa9&&_0x42c432&&No(_0x5876e5,_0x1e83c6,_0x42c432),_0x42c432;},$t=(_0x393e67,_0xbf0628)=>(_0x283b36,_0x5a7e82)=>_0xbf0628(_0x283b36,_0x5a7e82,_0x393e67);let Ve=class extends _0x737a66{constructor(_0x2e9840,_0xd1611c,_0x62d66d){const _0x364f07=_0x4299a1;super(),g(this,_0x364f07(0x22c),new Map()),g(this,_0x364f07(0x55b),new _0x19ddda()),(this[_0x364f07(0x35b)]=_0x2e9840,this['_injector']=_0xd1611c,this[_0x364f07(0x4a7)]=_0x62d66d,this[_0x364f07(0x389)]());}['dispose'](){const _0xeaeb2d=_0x4299a1;super[_0xeaeb2d(0x229)](),this[_0xeaeb2d(0x55b)][_0xeaeb2d(0x405)](),this[_0xeaeb2d(0x22c)][_0xeaeb2d(0x2c6)](_0x33a71b=>_0x33a71b[_0xeaeb2d(0x229)]());}[_0x4299a1(0x3a7)](_0x1a83cc){const _0x319866=_0x4299a1;return this[_0x319866(0x22c)][_0x319866(0x31a)](_0x1a83cc)?this[_0x319866(0x22c)][_0x319866(0x401)](_0x1a83cc)[_0x319866(0x1c3)]:this[_0x319866(0x55b)]['pipe'](_0x1b5a56(_0x414928=>_0x414928[_0x319866(0x3cd)]===_0x1a83cc),_0x44c2df(_0x131229=>_0x131229[_0x319866(0x1c3)]));}[_0x4299a1(0x389)](){const _0x3c15c5=_0x4299a1;this[_0x3c15c5(0x35b)][_0x3c15c5(0x446)](_0x120bce[_0x3c15c5(0x247)])[_0x3c15c5(0x35f)](_0x2fa59a(this[_0x3c15c5(0x47b)]))[_0x3c15c5(0x487)](async _0x275a08=>{const _0x52396f=_0x3c15c5,_0x7e28a5=_0x275a08[_0x52396f(0x1e9)](),_0x227365=await this[_0x52396f(0x464)](_0x7e28a5);this[_0x52396f(0x55b)][_0x52396f(0x419)](_0x227365),this[_0x52396f(0x22c)][_0x52396f(0x3db)](_0x7e28a5,_0x227365);}),this[_0x3c15c5(0x35b)][_0x3c15c5(0x446)](_0x120bce[_0x3c15c5(0x599)])[_0x3c15c5(0x35f)](_0x2fa59a(this[_0x3c15c5(0x47b)]))['pipe'](_0x1b5a56(_0x57a359=>!_0x57a359[_0x3c15c5(0x1e9)]()['startsWith']('__')))[_0x3c15c5(0x487)](async _0xf9a60f=>{const _0x4f6b8a=_0x3c15c5,_0x3a338e=_0xf9a60f['getUnitId'](),_0x71c458=await this[_0x4f6b8a(0x3c4)](_0x3a338e);this['_entityInit$']['next'](_0x71c458),this['_entities']['set'](_0x3a338e,_0x71c458);}),_0x26c7b9(this[_0x3c15c5(0x35b)][_0x3c15c5(0x54f)](_0x120bce[_0x3c15c5(0x599)]),this['_univerInstanceService'][_0x3c15c5(0x54f)](_0x120bce[_0x3c15c5(0x247)]))['pipe'](_0x2fa59a(this[_0x3c15c5(0x47b)]))[_0x3c15c5(0x487)](_0x1f3ea7=>{const _0x22024a=_0x3c15c5,_0x4b2a4a=_0x1f3ea7[_0x22024a(0x1e9)](),_0x3ba5eb=this[_0x22024a(0x22c)]['get'](_0x4b2a4a);_0x3ba5eb&&(_0x3ba5eb['dispose'](),this[_0x22024a(0x22c)][_0x22024a(0x404)](_0x4b2a4a));});}async[_0x4299a1(0x464)](_0xb43962){const _0x256737=_0x4299a1,_0x5428c0=await this[_0x256737(0x4a7)]['requireSession'](_0xb43962),_0x2af3ef=this[_0x256737(0x557)]['createInstance'](rs,_0xb43962,_0x5428c0);return _0x2af3ef[_0x256737(0x369)](),_0x2af3ef;}async['_startDocCollabCursor'](_0x12ed7f){const _0x402442=_0x4299a1,_0x4044a9=await this[_0x402442(0x4a7)][_0x402442(0x219)](_0x12ed7f),_0x5f5713=this[_0x402442(0x557)]['createInstance'](ns,_0x12ed7f,_0x4044a9);return _0x5f5713[_0x402442(0x369)](),_0x5f5713;}};Ve=Mo([$t(0x0,_0x19bced),$t(0x1,_0x2f5cfe(_0x22006e)),$t(0x2,_0x2f5cfe(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x590ecc,_0x3765c1){const _0x5e61c5=_0x4299a1;let {radius:_0x33593d,width:_0x51ac8a,height:_0x15324c}=_0x3765c1;_0x33593d=_0x33593d!=null?_0x33593d:0x0,_0x51ac8a=_0x51ac8a!=null?_0x51ac8a:0x1e,_0x15324c=_0x15324c!=null?_0x15324c:0x1e;let _0x2dd67e=0x0,_0x57e794=0x0,_0x4dc159=0x0;_0x2dd67e=_0x57e794=_0x4dc159=Math[_0x5e61c5(0x410)](_0x33593d,_0x51ac8a/0x2,_0x15324c/0x2),_0x590ecc[_0x5e61c5(0x39a)](),_0x590ecc[_0x5e61c5(0x3da)](_0x2dd67e,0x0),_0x590ecc[_0x5e61c5(0x49a)](_0x51ac8a-_0x57e794,0x0),_0x590ecc[_0x5e61c5(0x25a)](_0x51ac8a-_0x57e794,_0x57e794,_0x57e794,Math['PI']*0x3/0x2,0x0,!0x1),_0x590ecc[_0x5e61c5(0x49a)](_0x51ac8a,_0x15324c-_0x4dc159),_0x590ecc['arc'](_0x51ac8a-_0x4dc159,_0x15324c-_0x4dc159,_0x4dc159,0x0,Math['PI']/0x2,!0x1),_0x590ecc[_0x5e61c5(0x49a)](0x0,_0x15324c),_0x590ecc[_0x5e61c5(0x49a)](0x0,_0x2dd67e),_0x590ecc[_0x5e61c5(0x25a)](_0x2dd67e,_0x2dd67e,_0x2dd67e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x590ecc['closePath'](),_0x3765c1['fill']&&(_0x590ecc[_0x5e61c5(0x5a3)](),_0x590ecc[_0x5e61c5(0x434)]=_0x3765c1[_0x5e61c5(0x4b0)],_0x3765c1[_0x5e61c5(0x31c)]===_0x5e61c5(0x4d6)?_0x590ecc['fill'](_0x5e61c5(0x4d6)):_0x590ecc[_0x5e61c5(0x4b0)](),_0x590ecc[_0x5e61c5(0x3f0)]());}class Ot extends _0x58ab44{constructor(_0x4fb0ba,_0x427986){const _0x290b2b=_0x4299a1;super(_0x4fb0ba,_0x427986),g(this,_0x290b2b(0x314)),g(this,_0x290b2b(0x3dd)),(this['color']=_0x427986==null?void 0x0:_0x427986[_0x290b2b(0x314)],this[_0x290b2b(0x3dd)]=_0x427986==null?void 0x0:_0x427986['text']);}static[_0x4299a1(0x49b)](_0x306917,_0x474cbc){const _0x45671f=_0x4299a1,{text:_0xa8e2ea,color:_0x597ec8}=_0x474cbc;_0x306917[_0x45671f(0x5a3)](),_0x306917[_0x45671f(0x4cc)]=_0x45671f(0x237);const _0x48eec6=_0x306917[_0x45671f(0x2e3)](_0xa8e2ea)['width'],_0x3ed015=Math[_0x45671f(0x410)](_0x48eec6+0x2*Ht,Ys);Lo(_0x306917,{'height':nt,'radius':0x4,'width':_0x3ed015,'fill':_0x597ec8,'evented':!0x1}),_0x306917[_0x45671f(0x434)]=_0x45671f(0x28a);const _0xebeee2=Ht,_0x4c4624=nt-xo,_0x54fbc3=Ys-0x2*Ht;if(_0x48eec6>_0x54fbc3){let _0x728af2='',_0x614af2=0x0;for(const _0x10aba3 of _0xa8e2ea){const _0x515b7a=_0x306917[_0x45671f(0x2e3)](_0x10aba3)['width'];if(_0x614af2+_0x515b7a<=_0x54fbc3-_0x306917[_0x45671f(0x2e3)](_0x45671f(0x2b8))[_0x45671f(0x36f)])_0x728af2+=_0x10aba3,_0x614af2+=_0x515b7a;else{_0x728af2+=_0x45671f(0x2b8);break;}}_0x306917[_0x45671f(0x319)](_0x728af2,_0xebeee2,_0x4c4624);}else _0x306917[_0x45671f(0x319)](_0xa8e2ea,_0xebeee2,_0x4c4624);_0x306917['restore']();}[_0x4299a1(0x4d4)](_0x59381c){const _0x2d1b00=_0x4299a1;Ot[_0x2d1b00(0x49b)](_0x59381c,this);}}const jt='collab-text-anchor-',$o=_0x4299a1(0x465),Ho='collab-rect-range-',Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x4299a1(0x4fc);class Ks{constructor(_0x2ee196,_0x34ab66,_0x58f402,_0xf5db0){const _0x4cf963=_0x4299a1;g(this,_0x4cf963(0x1c4),[]),g(this,'_anchor',null),g(this,_0x4cf963(0x5c5),null),g(this,_0x4cf963(0x3f2),null),g(this,_0x4cf963(0x2ff),null),g(this,_0x4cf963(0x512),null),(this[_0x4cf963(0x55e)]=_0x2ee196,this[_0x4cf963(0x214)]=_0x34ab66,this[_0x4cf963(0x58f)]=_0x58f402,this[_0x4cf963(0x4fa)]=_0xf5db0,this[_0x4cf963(0x1c8)]());}set[_0x4299a1(0x2a0)](_0x348e1a){const _0x30da16=_0x4299a1;_0x348e1a?(this['_anchorDot']&&this['_anchorDot'][_0x30da16(0x1e4)](),this[_0x30da16(0x5c5)]&&this[_0x30da16(0x5c5)][_0x30da16(0x3eb)]()):(this[_0x30da16(0x3f2)]&&this[_0x30da16(0x3f2)][_0x30da16(0x3eb)](),this[_0x30da16(0x5c5)]&&this['_textBubble'][_0x30da16(0x1e4)]());}[_0x4299a1(0x229)](){const _0x591406=_0x4299a1;for(const _0x225e5a of this['_shapes'])_0x225e5a['dispose']();this['_textBubble']&&this[_0x591406(0x5c5)][_0x591406(0x229)](),this[_0x591406(0x3f2)]&&this[_0x591406(0x3f2)]['dispose'](),this[_0x591406(0x46b)]&&this[_0x591406(0x46b)]['dispose'](),this[_0x591406(0x512)]&&this[_0x591406(0x512)]();}[_0x4299a1(0x1c8)](){const _0xb48a46=_0x4299a1;var _0x59a572;const {_docSkeleton:_0x45ccdd,_document:_0x5f4238}=this,{color:_0x116551,name:_0x5e7d64,ranges:_0x2a273f}=this[_0xb48a46(0x55e)],_0x4068ff=_0x5f4238[_0xb48a46(0x51a)](),{docsLeft:_0x118ff9,docsTop:_0x283609}=_0x4068ff,_0x4e0151=new _0xe153e4(_0x4068ff,_0x45ccdd);for(const {startOffset:_0x26952a,endOffset:_0xd42577,rangeType:_0x559f0e,segmentId:_0x41520d,segmentPage:_0x2867df,collapsed:_0x5447fb,isActive:_0x1dba57}of _0x2a273f){const _0x2b082a=_0x45ccdd[_0xb48a46(0x304)](_0x26952a,!0x0,_0x41520d,_0x2867df);let _0x427ecf=_0x45ccdd[_0xb48a46(0x304)](_0xd42577,!0x0,_0x41520d,_0x2867df);if(_0x427ecf==null&&(_0x427ecf=_0x45ccdd[_0xb48a46(0x304)](_0xd42577-0x1,!0x1,_0x41520d,_0x2867df)),_0x1dba57){const {contentBoxPointGroup:_0x102d45}=_0x4e0151['getRangePointData'](_0x427ecf,_0x427ecf);if(_0x102d45['length']===0x0)continue;this[_0xb48a46(0x598)](_0x116551,_0x102d45,_0x118ff9,_0x283609,_0x5e7d64),this[_0xb48a46(0x512)]=this['_handleHover']();}if(!_0x5447fb&&_0x2b082a&&_0x427ecf){if(_0x559f0e===_0x1845e2[_0xb48a46(0x51f)]){const _0x262c35=new _0x504d3e(_0x4068ff,_0x45ccdd),{pointGroup:_0xd922bb}=(_0x59a572=_0x262c35[_0xb48a46(0x5af)](_0x2b082a,_0x427ecf))!=null?_0x59a572:{};if(_0xd922bb==null||_0xd922bb[_0xb48a46(0x256)]===0x0)continue;this[_0xb48a46(0x2d2)](_0x116551,_0xd922bb,_0x118ff9,_0x283609);}else{const {borderBoxPointGroup:_0x1b22f0}=_0x4e0151['getRangePointData'](_0x2b082a,_0x427ecf);if(_0x1b22f0[_0xb48a46(0x256)]===0x0)continue;this[_0xb48a46(0x215)](_0x116551,_0x1b22f0,_0x118ff9,_0x283609);}}}}[_0x4299a1(0x598)](_0x1f3215,_0x1ee9be,_0x381496,_0x32c2b9,_0x28c477){const _0x3929d3=_0x4299a1,_0x2f8138=this[_0x3929d3(0x48d)](_0x1ee9be),{left:_0x43ad0c,top:_0x348a3d,height:_0x48175a}=_0x2f8138,_0x5a4016=this['_getScale'](),_0x34cf27=Bo/_0x5a4016,_0x53b98c=new _0x5ee680(jt+_0x30d2fb[_0x3929d3(0x204)](Je),{'left':_0x43ad0c+_0x381496-_0x34cf27,'top':_0x348a3d+_0x32c2b9,'height':_0x48175a,'width':jo,'fill':_0x1f3215||_0x65be38(_0x46da12['black'],0x0),'strokeWidth':_0x34cf27,'stroke':ko,'evented':!0x0});this[_0x3929d3(0x46b)]=_0x53b98c,this[_0x3929d3(0x214)][_0x3929d3(0x3a5)](_0x53b98c,_0xc6a3f3);const _0x423edd=new _0x5ee680(jt+_0x30d2fb[_0x3929d3(0x204)](Je),{'left':_0x43ad0c+_0x381496-_0x34cf27,'top':_0x348a3d+_0x32c2b9-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x1f3215||_0x65be38(_0x46da12[_0x3929d3(0x277)],0x0),'strokeWidth':0x0,'stroke':_0x1f3215||_0x65be38(_0x46da12[_0x3929d3(0x277)],0x0),'evented':!0x1});this[_0x3929d3(0x3f2)]=_0x423edd,this[_0x3929d3(0x214)][_0x3929d3(0x3a5)](_0x423edd,_0xc6a3f3);const _0x3494af=new Ot(jt+_0x30d2fb[_0x3929d3(0x204)](Je),{'left':_0x43ad0c+_0x381496-_0x34cf27,'top':_0x348a3d+_0x32c2b9-nt,'text':_0x28c477,'color':_0x1f3215});this['_textBubble']=_0x3494af,this[_0x3929d3(0x214)][_0x3929d3(0x3a5)](_0x3494af,_0xc6a3f3),this['_hover']=!0x1;}[_0x4299a1(0x220)](){const _0x4214e2=_0x4299a1,_0x53d021=this['_anchor'][_0x4214e2(0x22d)]['subscribeEvent'](()=>{const _0x3721b6=_0x4214e2;this[_0x3721b6(0x2a0)]=!0x0;}),_0x1c52c4=this[_0x4214e2(0x46b)][_0x4214e2(0x3a8)][_0x4214e2(0x1d1)](()=>{const _0x3da809=_0x4214e2;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x3da809(0x2ff)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3675e9=_0x4214e2;_0x53d021[_0x3675e9(0x276)](),_0x1c52c4[_0x3675e9(0x276)]();};}[_0x4299a1(0x215)](_0x3e93cb,_0x549d3a,_0x258f00,_0x32e62e){const _0x9fb097=_0x4299a1,_0xc3c0b=new _0x59e5b4(_0x3e93cb)[_0x9fb097(0x58c)](0.2)[_0x9fb097(0x391)](),_0x30935c=new _0x254c54($o+_0x30d2fb[_0x9fb097(0x204)](Je),{'pointsGroup':_0x549d3a,'fill':_0xc3c0b||_0x65be38(_0x46da12[_0x9fb097(0x277)],0.2),'left':_0x258f00,'top':_0x32e62e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9fb097(0x1c4)][_0x9fb097(0x499)](_0x30935c),this[_0x9fb097(0x214)]['addObject'](_0x30935c,_0xc6a3f3);}[_0x4299a1(0x2d2)](_0x39686f,_0x35fe02,_0x55c963,_0x1f6932){const _0x29cf6c=_0x4299a1,_0xd8632c=new _0x59e5b4(_0x39686f)[_0x29cf6c(0x58c)](0.2)[_0x29cf6c(0x391)](),_0xd7f172=new _0x254c54(Ho+_0x30d2fb[_0x29cf6c(0x204)](Je),{'pointsGroup':_0x35fe02,'fill':_0xd8632c||_0x65be38(_0x46da12[_0x29cf6c(0x277)],0.2),'left':_0x55c963,'top':_0x1f6932,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xd7f172),this['_scene'][_0x29cf6c(0x3a5)](_0xd7f172,_0xc6a3f3);}[_0x4299a1(0x48d)](_0x50e25b){const _0x1d8205=_0x50e25b[0x0],_0x3cc2ff=_0x1d8205[0x0],_0x4c79fd=_0x1d8205[0x2],{x:_0x2e7628,y:_0x274346}=_0x3cc2ff,{x:_0x3639eb,y:_0xcf759e}=_0x4c79fd;return{'left':_0x2e7628,'top':_0x274346,'width':_0x3639eb-_0x2e7628,'height':_0xcf759e-_0x274346};}[_0x4299a1(0x582)](){const _0x2738c8=_0x4299a1,{scaleX:_0x2e75d9,scaleY:_0x53e653}=this['_scene'][_0x2738c8(0x4c7)]();return Math[_0x2738c8(0x57c)](_0x2e75d9,_0x53e653);}}var Wo=Object[_0x4299a1(0x5c7)],Fo=Object[_0x4299a1(0x563)],Vo=(_0x2d8fb5,_0x5832b8,_0x1aafa3,_0x293e31)=>{const _0x9f117c=_0x4299a1;for(var _0x20d63f=_0x293e31>0x1?void 0x0:_0x293e31?Fo(_0x5832b8,_0x1aafa3):_0x5832b8,_0x2b6130=_0x2d8fb5[_0x9f117c(0x256)]-0x1,_0x3ec93e;_0x2b6130>=0x0;_0x2b6130--)(_0x3ec93e=_0x2d8fb5[_0x2b6130])&&(_0x20d63f=(_0x293e31?_0x3ec93e(_0x5832b8,_0x1aafa3,_0x20d63f):_0x3ec93e(_0x20d63f))||_0x20d63f);return _0x293e31&&_0x20d63f&&Wo(_0x5832b8,_0x1aafa3,_0x20d63f),_0x20d63f;},ht=(_0x3a2d00,_0x5aa3e2)=>(_0x193ceb,_0x4ce494)=>_0x5aa3e2(_0x193ceb,_0x4ce494,_0x3a2d00);let os=class extends _0x737a66{constructor(_0x52c24a,_0x1a1b71,_0x18b572,_0x535156,_0x42523e){const _0x226e82=_0x4299a1;super(),g(this,'_cursorShapes',[]),g(this,'_cursors',[]),(this[_0x226e82(0x235)]=_0x52c24a,this['_docSkeletonManagerService']=_0x1a1b71,this[_0x226e82(0x43f)]=_0x18b572,this[_0x226e82(0x33f)]=_0x535156,this['_themeService']=_0x42523e,this[_0x226e82(0x389)]());}['_init'](){const _0x3faf8c=_0x4299a1,_0x40e5cb=this[_0x3faf8c(0x235)]['unitId'],_0x18d4f9=this[_0x3faf8c(0x324)];this[_0x3faf8c(0x5b7)](_0x30a2a1([this[_0x3faf8c(0x43f)][_0x3faf8c(0x3a7)](_0x40e5cb),this['_themeService'][_0x3faf8c(0x3d3)]])['pipe'](_0x50ad64(([_0x4fa8ad,_0x49546b])=>({'skeleton':_0x18d4f9['getSkeleton'](),'cursors':[..._0x4fa8ad['values']()]['flatMap'](_0x2d650e=>({..._0x2d650e,'color':_0x49546b[_0x2d650e[_0x3faf8c(0x314)]]}))})))[_0x3faf8c(0x487)](_0x268337=>{const _0x505c98=_0x3faf8c;if(this[_0x505c98(0x240)](),_0x268337){const {skeleton:_0xee2ce0,cursors:_0x2ae2fc}=_0x268337;this[_0x505c98(0x46f)](_0xee2ce0,_0x2ae2fc);}})),this[_0x3faf8c(0x39d)](),this['_initCommandExecutedListener']();}[_0x4299a1(0x46f)](_0x5e7eef,_0x529337){const _0x2af0ca=_0x4299a1,{scene:_0x1619c4,mainComponent:_0x58da0c}=this['_context'],_0xec70cf=_0x529337[_0x2af0ca(0x272)](_0x110a43=>new Ks(_0x110a43,_0x1619c4,_0x5e7eef,_0x58da0c));this[_0x2af0ca(0x2d3)]=_0xec70cf,this['_cursors']=_0x529337;}[_0x4299a1(0x479)](){const _0xc4a3f6=_0x4299a1;this[_0xc4a3f6(0x240)]();const {scene:_0x2e440d,mainComponent:_0x243efb}=this[_0xc4a3f6(0x235)],_0x256f72=this['_docSkeletonManagerService']['getSkeleton'](),_0x42ddf5=this[_0xc4a3f6(0x2a9)]['map'](_0x15f447=>new Ks(_0x15f447,_0x2e440d,_0x256f72,_0x243efb));this[_0xc4a3f6(0x2d3)]=_0x42ddf5;}['_removeCollabCursors'](){const _0x3c8976=_0x4299a1;this[_0x3c8976(0x2d3)][_0x3c8976(0x2c6)](_0x397dc8=>_0x397dc8[_0x3c8976(0x229)]()),this['_cursorShapes']=[];}[_0x4299a1(0x301)](){const _0x5d2735=_0x4299a1,_0x111fcd=[_0xf2132e['id']];this['disposeWithMe'](this[_0x5d2735(0x33f)]['onCommandExecuted'](_0x579812=>{const _0x2ecaa6=_0x5d2735;_0x111fcd[_0x2ecaa6(0x1e5)](_0x579812['id'])&&_0x579812[_0x2ecaa6(0x217)][_0x2ecaa6(0x2ea)]===this[_0x2ecaa6(0x235)]['unitId']&&this[_0x2ecaa6(0x479)]();}));}[_0x4299a1(0x39d)](){const _0x132805=_0x4299a1;this[_0x132805(0x5b7)](_0x42c9c7(this[_0x132805(0x235)][_0x132805(0x303)][_0x132805(0x200)])[_0x132805(0x35f)](_0x53cf0f(_0xd7b656=>_0xd7b656[_0x132805(0x41e)]===_0x394d6a['resize']),_0x36a2f2(0x10))[_0x132805(0x487)](()=>{const _0x4bb532=_0x132805;this[_0x4bb532(0x479)]();}));}};os=Vo([ht(0x1,_0x2f5cfe(_0x29c419)),ht(0x2,_0x2f5cfe(Ve)),ht(0x3,_0x2d1134),ht(0x4,_0x2f5cfe(_0x4f5336))],os);const Go=0x1,Yo=1.5;class Ko extends _0x58ab44{constructor(_0x1285fb,_0x3f4ea4){const _0x3aa565=_0x4299a1;super(_0x1285fb,_0x3f4ea4),g(this,_0x3aa565(0x3c3)),g(this,_0x3aa565(0x33a),!0x1),g(this,_0x3aa565(0x5a0)),g(this,_0x3aa565(0x564),''),g(this,_0x3aa565(0x233),_0x3aa565(0x3e4)),g(this,_0x3aa565(0x254)),(_0x3f4ea4&&this[_0x3aa565(0x4eb)](_0x3f4ea4),this[_0x3aa565(0x22d)][_0x3aa565(0x1d1)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3aa565(0x3a8)][_0x3aa565(0x1d1)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x4fc374){const _0x5a0068=_0x4299a1;var _0x2821a5,_0x3dd7ad,_0x2a8f76,_0x37d447,_0x377fae,_0x4f67aa;this[_0x5a0068(0x3c3)]=(_0x2821a5=_0x4fc374[_0x5a0068(0x314)])!=null?_0x2821a5:this['_color'],this[_0x5a0068(0x33a)]=(_0x3dd7ad=_0x4fc374[_0x5a0068(0x49c)])!=null?_0x3dd7ad:this[_0x5a0068(0x33a)],this[_0x5a0068(0x5a0)]=(_0x2a8f76=_0x4fc374[_0x5a0068(0x478)])!=null?_0x2a8f76:this[_0x5a0068(0x5a0)],this[_0x5a0068(0x564)]=(_0x37d447=_0x4fc374[_0x5a0068(0x597)])!=null?_0x37d447:this[_0x5a0068(0x564)],this['_labelPosition']=(_0x377fae=_0x4fc374[_0x5a0068(0x1e0)])!=null?_0x377fae:this[_0x5a0068(0x233)],this['_backgroundColor']=(_0x4f67aa=_0x4fc374['backgroundColor'])!=null?_0x4f67aa:this[_0x5a0068(0x254)],this[_0x5a0068(0x2ae)]({'width':_0x4fc374[_0x5a0068(0x36f)],'height':_0x4fc374[_0x5a0068(0x241)]});}[_0x4299a1(0x523)](_0x85ccfb){const _0x5f2c65=_0x4299a1,{row:_0x3382bf,column:_0x4ed74d}=_0x85ccfb;if(_0x3382bf>=this[_0x5f2c65(0x5a0)][_0x5f2c65(0x335)]&&_0x3382bf<=this['_range'][_0x5f2c65(0x2c7)]&&_0x4ed74d>=this[_0x5f2c65(0x5a0)][_0x5f2c65(0x3f7)]&&_0x4ed74d<=this[_0x5f2c65(0x5a0)]['endColumn']){this[_0x5f2c65(0x4eb)]({'hovered':!0x0});return;}this[_0x5f2c65(0x4eb)]({'hovered':!0x1});}['triggerDblclick'](_0x2bacfc){return!0x1;}[_0x4299a1(0x4d4)](_0x1430bd){const _0x5eee3a=_0x4299a1;_0x5ee680[_0x5eee3a(0x49b)](_0x1430bd,{'width':this['width'],'height':this[_0x5eee3a(0x241)],'strokeWidth':Yo,'stroke':this[_0x5eee3a(0x3c3)],'evented':!0x1,'fill':this[_0x5eee3a(0x254)]}),this[_0x5eee3a(0x33a)]&&(_0x1430bd[_0x5eee3a(0x5a3)](),_0x1430bd[_0x5eee3a(0x517)](0x1,0x0,0x0,0x1,this[_0x5eee3a(0x36f)],this['_labelPosition']===_0x5eee3a(0x35d)?0x0:-nt),Ot[_0x5eee3a(0x49b)](_0x1430bd,{'text':this[_0x5eee3a(0x564)],'color':this[_0x5eee3a(0x3c3)]}),_0x1430bd[_0x5eee3a(0x3f0)]());}}var zo=Object[_0x4299a1(0x5c7)],qo=Object[_0x4299a1(0x563)],Xo=(_0x544283,_0x577c17,_0x89ce33,_0x286bf8)=>{const _0x2081bb=_0x4299a1;for(var _0x5406d5=_0x286bf8>0x1?void 0x0:_0x286bf8?qo(_0x577c17,_0x89ce33):_0x577c17,_0x4f49c4=_0x544283[_0x2081bb(0x256)]-0x1,_0x2e797b;_0x4f49c4>=0x0;_0x4f49c4--)(_0x2e797b=_0x544283[_0x4f49c4])&&(_0x5406d5=(_0x286bf8?_0x2e797b(_0x577c17,_0x89ce33,_0x5406d5):_0x2e797b(_0x5406d5))||_0x5406d5);return _0x286bf8&&_0x5406d5&&zo(_0x577c17,_0x89ce33,_0x5406d5),_0x5406d5;},kt=(_0x27bc69,_0x2a7f68)=>(_0x155f71,_0x32256b)=>_0x2a7f68(_0x155f71,_0x32256b,_0x27bc69);const Jo=0x1389;let as=class extends _0x737a66{constructor(_0xd19af7,_0x3ad084,_0x4e1358,_0x58d0d6){const _0x33aec6=_0x4299a1;super(),g(this,_0x33aec6(0x2a9),new Set()),g(this,_0x33aec6(0x221),null),(this[_0x33aec6(0x235)]=_0xd19af7,this[_0x33aec6(0x2f7)]=_0x3ad084,this[_0x33aec6(0x43f)]=_0x4e1358,this['_themeService']=_0x58d0d6,this[_0x33aec6(0x389)]());}[_0x4299a1(0x389)](){const _0x45c8a4=_0x4299a1;this[_0x45c8a4(0x2f7)][_0x45c8a4(0x1cf)]['pipe'](_0x1c3f96(this[_0x45c8a4(0x47b)]),_0xfe1f5c(_0x366f67=>{const _0x34e567=_0x45c8a4;if(_0x366f67){const _0x5a924d=_0x366f67[_0x34e567(0x462)];return _0x30a2a1(this['_collabCursorController'][_0x34e567(0x3a7)](this[_0x34e567(0x235)][_0x34e567(0x2ea)]),this[_0x34e567(0x2ce)][_0x34e567(0x3d3)])[_0x34e567(0x35f)](_0x50ad64(([_0x44244c,_0x43cb80])=>{const _0x2dbf62=new Map();return _0x44244c['forEach']((_0x31032f,_0x10d903)=>{const _0x66c80e=_0x1dba;if(_0x31032f[_0x66c80e(0x3fd)]===_0x5a924d){const _0xa30c7a={..._0x31032f};_0xa30c7a[_0x66c80e(0x314)]=_0x43cb80[_0x31032f[_0x66c80e(0x314)]],_0x2dbf62[_0x66c80e(0x3db)](_0x10d903,_0xa30c7a);}}),{'skeleton':_0x366f67,'cursors':_0x2dbf62};}));}return _0x3de089({'skeleton':null,'cursors':new Map()});}))[_0x45c8a4(0x487)](({skeleton:_0x116514,cursors:_0x20b3c9})=>{const _0x4d783d=_0x45c8a4;this[_0x4d783d(0x240)](),_0x116514&&this['_updateCollabCursors'](_0x116514,_0x20b3c9);}),this[_0x45c8a4(0x2f7)][_0x45c8a4(0x1cf)]['subscribe'](_0x2cfbb3=>{const _0x1357f4=_0x45c8a4;if(_0x2cfbb3==null)return;const {skeleton:_0x247ebe}=_0x2cfbb3,{scene:_0x3cbef9}=this[_0x1357f4(0x235)];_0x3cbef9[_0x1357f4(0x1f1)][_0x1357f4(0x1d1)](_0x5b2ba1(_0x524a7b=>{const _0x54c54b=_0x1357f4;var _0x1362eb,_0x35da27;const {offsetX:_0x2d5910,offsetY:_0x2c5a87}=_0x524a7b,{x:_0x3f689b,y:_0x3b6017}=_0x3cbef9[_0x54c54b(0x24d)](_0x30e58a[_0x54c54b(0x493)]([_0x2d5910,_0x2c5a87])),{scaleX:_0x4cf036,scaleY:_0x4d5880}=_0x3cbef9[_0x54c54b(0x4c7)](),_0x1e64cb=_0x3cbef9[_0x54c54b(0x561)](_0x2c3c62[_0x54c54b(0x2d4)]),_0x6dc5f1=_0x3cbef9[_0x54c54b(0x2fe)](_0x30e58a[_0x54c54b(0x493)]([_0x3f689b,_0x3b6017]),_0x1e64cb),_0x257ce5=_0x247ebe[_0x54c54b(0x348)](_0x2d5910,_0x2c5a87,_0x4cf036,_0x4d5880,_0x6dc5f1);((_0x1362eb=this[_0x54c54b(0x221)])==null?void 0x0:_0x1362eb[_0x54c54b(0x358)])===_0x257ce5[_0x54c54b(0x358)]&&((_0x35da27=this['_lastPointer'])==null?void 0x0:_0x35da27['row'])===_0x257ce5['row']||this['_cursors'][_0x54c54b(0x2c6)](_0x5b7edb=>{const _0x19e3cc=_0x54c54b;_0x5b7edb[_0x19e3cc(0x523)](_0x257ce5);});},0x64));});}['_updateCollabCursors'](_0x6f1d06,_0x2fe80a){const _0x43fce8=_0x4299a1;var _0x360794;const _0x16e357=(_0x360794=this[_0x43fce8(0x2f7)][_0x43fce8(0x22e)]())==null?void 0x0:_0x360794[_0x43fce8(0x40e)];if(!_0x16e357)return;const _0x38bf62=this[_0x43fce8(0x338)]();if(!_0x38bf62)return;this[_0x43fce8(0x2a9)][_0x43fce8(0x2c6)](_0x2dc48d=>{const _0x2492c6=_0x43fce8;_0x2dc48d[_0x2492c6(0x4bb)]();});const {scene:_0x1c48d1}=_0x38bf62,_0x57af3f=Zo(Array[_0x43fce8(0x527)](_0x2fe80a[_0x43fce8(0x2fa)]()))['map'](_0x583652=>{const _0x45aa77=_0x43fce8,{color:_0xb3e998,range:_0x4e73c3,name:_0x15c086,selection:_0x3dd33c,sheetID:_0x4720b4}=_0x583652,{startColumn:_0x2117ec,startRow:_0x1c7389,endColumn:_0x4b4da5,endRow:_0x3ac235}=_0x4e73c3,_0x2c16a6=_0xe460fe(_0x1c7389,_0x2117ec,_0x1c48d1,_0x16e357),_0x346b2c=_0xe460fe(_0x3ac235,_0x4b4da5,_0x1c48d1,_0x16e357),{columnHeaderHeightAndMarginTop:_0x164c7a}=_0x16e357,{startX:_0xba8ca8,startY:_0x4bce5e}=_0x2c16a6,{endX:_0x3e767f,endY:_0x555220}=_0x346b2c,_0x49bb36=_0x3e767f-_0xba8ca8,_0x16babb=_0x555220-_0x4bce5e,_0xd4f499={'labelPosition':_0x4bce5e-_0x164c7a>=nt?_0x45aa77(0x3e4):_0x45aa77(0x35d),'sheetID':_0x4720b4,'range':_0x4e73c3,'color':_0xb3e998,'name':_0x15c086,'selection':_0x3dd33c,'left':_0xba8ca8,'top':_0x4bce5e,'width':_0x49bb36,'height':_0x16babb,'evented':!0x1,'zIndex':Jo};return new Ko(_0x15c086,_0xd4f499);});_0x1c48d1[_0x43fce8(0x373)](_0x57af3f,Go),this['_cursors']=new Set(_0x57af3f);}['_removeCollabCursors'](){const _0x1061ee=_0x4299a1;var _0x546f1c;(_0x546f1c=this[_0x1061ee(0x2a9)])==null||_0x546f1c['forEach'](_0x1c2718=>_0x1c2718[_0x1061ee(0x229)]());}[_0x4299a1(0x338)](){const _0x53ae01=_0x4299a1;return _0x176e67(this['_context']['unit'],this[_0x53ae01(0x235)]);}};as=Xo([kt(0x1,_0x2f5cfe(_0x276989)),kt(0x2,_0x2f5cfe(Ve)),kt(0x3,_0x2f5cfe(_0x4f5336))],as);function Zo(_0x125f91){const _0x3c9bec=_0x4299a1,_0x40de74=new Map();return _0x125f91[_0x3c9bec(0x2c6)](_0x4db61e=>{const _0x282b7b=_0x3c9bec;if(_0x40de74[_0x282b7b(0x31a)](_0x4db61e[_0x282b7b(0x35c)])){const _0x5d9859=_0x40de74[_0x282b7b(0x401)](_0x4db61e[_0x282b7b(0x35c)]);_0x5d9859['name']+=',\x20'+_0x4db61e[_0x282b7b(0x597)];}else _0x40de74[_0x282b7b(0x3db)](_0x4db61e[_0x282b7b(0x35c)],_0x4db61e);}),Array['from'](_0x40de74[_0x3c9bec(0x2fa)]());}var ee=function(){const _0x103f10=_0x4299a1;return ee=Object['assign']||function(_0x1d56e0){const _0x4a821e=_0x1dba;for(var _0x426587,_0x5d4409=0x1,_0x37efc7=arguments[_0x4a821e(0x256)];_0x5d4409<_0x37efc7;_0x5d4409++){_0x426587=arguments[_0x5d4409];for(var _0xce8d7e in _0x426587)Object[_0x4a821e(0x313)][_0x4a821e(0x225)][_0x4a821e(0x211)](_0x426587,_0xce8d7e)&&(_0x1d56e0[_0xce8d7e]=_0x426587[_0xce8d7e]);}return _0x1d56e0;},ee[_0x103f10(0x5cb)](this,arguments);},Qo=function(_0x5ac53e,_0x2a55c7){const _0x2f5ef2=_0x4299a1;var _0x5db0a6={};for(var _0x443eef in _0x5ac53e)Object[_0x2f5ef2(0x313)][_0x2f5ef2(0x225)]['call'](_0x5ac53e,_0x443eef)&&_0x2a55c7['indexOf'](_0x443eef)<0x0&&(_0x5db0a6[_0x443eef]=_0x5ac53e[_0x443eef]);if(_0x5ac53e!=null&&typeof Object[_0x2f5ef2(0x439)]=='function'){for(var _0x47c0a8=0x0,_0x443eef=Object[_0x2f5ef2(0x439)](_0x5ac53e);_0x47c0a8<_0x443eef[_0x2f5ef2(0x256)];_0x47c0a8++)_0x2a55c7[_0x2f5ef2(0x422)](_0x443eef[_0x47c0a8])<0x0&&Object[_0x2f5ef2(0x313)]['propertyIsEnumerable']['call'](_0x5ac53e,_0x443eef[_0x47c0a8])&&(_0x5db0a6[_0x443eef[_0x47c0a8]]=_0x5ac53e[_0x443eef[_0x47c0a8]]);}return _0x5db0a6;},Ts=_0x36768c(function(_0x3c576d,_0x25ca3d){const _0x2c7d88=_0x4299a1;var _0x234c4d=_0x3c576d[_0x2c7d88(0x1c1)],_0x2a3b70=_0x3c576d['id'],_0xd9925c=_0x3c576d[_0x2c7d88(0x58d)],_0x3e510c=_0x3c576d[_0x2c7d88(0x257)],_0x4aab97=Qo(_0x3c576d,['icon','id',_0x2c7d88(0x58d),_0x2c7d88(0x257)]),_0x40b4d4=_0x2c7d88(0x1ef)[_0x2c7d88(0x34d)](_0x2a3b70,'\x20')['concat'](_0xd9925c||'')[_0x2c7d88(0x393)](),_0x2930d7=_0x174de7('_'['concat'](sa()));return Mi(_0x234c4d,''[_0x2c7d88(0x34d)](_0x2a3b70),{'defIds':_0x234c4d[_0x2c7d88(0x4dc)],'idSuffix':_0x2930d7[_0x2c7d88(0x4b3)]},ee({'ref':_0x25ca3d,'className':_0x40b4d4},_0x4aab97),_0x3e510c);});function Mi(_0x1009a4,_0x4c8ec4,_0x1e154b,_0x3b2f5f,_0x3a082b){const _0x4f626c=_0x4299a1;return _0x393c00(_0x1009a4['tag'],ee(ee({'key':_0x4c8ec4},ea(_0x1009a4,_0x1e154b,_0x3a082b)),_0x3b2f5f),(ta(_0x1009a4,_0x1e154b)[_0x4f626c(0x3b1)]||[])['map'](function(_0x224cb6,_0x21720c){const _0x1a45ee=_0x4f626c;return Mi(_0x224cb6,''[_0x1a45ee(0x34d)](_0x4c8ec4,'-')[_0x1a45ee(0x34d)](_0x1009a4['tag'],'-')[_0x1a45ee(0x34d)](_0x21720c),_0x1e154b,void 0x0,_0x3a082b);}));}function ea(_0x56e8e8,_0x2658d8,_0x269d92){const _0x2fe912=_0x4299a1;var _0x4c506f=ee({},_0x56e8e8[_0x2fe912(0x2e6)]);_0x269d92!=null&&_0x269d92[_0x2fe912(0x3e2)]&&_0x4c506f[_0x2fe912(0x4b0)]===_0x2fe912(0x3e2)&&(_0x4c506f[_0x2fe912(0x4b0)]=_0x269d92[_0x2fe912(0x3e2)]);var _0x32ce33=_0x2658d8['defIds'];return!_0x32ce33||_0x32ce33[_0x2fe912(0x256)]===0x0||(_0x56e8e8[_0x2fe912(0x4c0)]===_0x2fe912(0x46e)&&_0x4c506f[_0x2fe912(0x28e)]&&(_0x4c506f[_0x2fe912(0x28e)]=_0x4c506f['xlink:href']+_0x2658d8['idSuffix']),Object[_0x2fe912(0x481)](_0x4c506f)[_0x2fe912(0x2c6)](function(_0x481338){const _0x2a3464=_0x2fe912;var _0x5530b0=_0x481338[0x0],_0x1b53bb=_0x481338[0x1];typeof _0x1b53bb==_0x2a3464(0x3b4)&&(_0x4c506f[_0x5530b0]=_0x1b53bb[_0x2a3464(0x1f5)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x2658d8[_0x2a3464(0x285)],')')));})),_0x4c506f;}function ta(_0x3f8e08,_0x52f84d){const _0x5cd616=_0x4299a1;var _0x3a8e1f,_0x24fb57=_0x52f84d[_0x5cd616(0x4dc)];return!_0x24fb57||_0x24fb57[_0x5cd616(0x256)]===0x0?_0x3f8e08:_0x3f8e08['tag']===_0x5cd616(0x26b)&&(!((_0x3a8e1f=_0x3f8e08[_0x5cd616(0x3b1)])===null||_0x3a8e1f===void 0x0)&&_0x3a8e1f[_0x5cd616(0x256)])?ee(ee({},_0x3f8e08),{'children':_0x3f8e08[_0x5cd616(0x3b1)]['map'](function(_0x3e6e0f){const _0x289836=_0x5cd616;return typeof _0x3e6e0f[_0x289836(0x2e6)]['id']=='string'&&_0x24fb57&&_0x24fb57['indexOf'](_0x3e6e0f[_0x289836(0x2e6)]['id'])>-0x1?ee(ee({},_0x3e6e0f),{'attrs':ee(ee({},_0x3e6e0f['attrs']),{'id':_0x3e6e0f['attrs']['id']+_0x52f84d['idSuffix']})}):_0x3e6e0f;})}):_0x3f8e08;}function sa(){const _0xe83bb=_0x4299a1;return Math[_0xe83bb(0x1c0)]()['toString'](0x24)[_0xe83bb(0x2e2)](0x2,0x8);}Ts[_0x4299a1(0x291)]=_0x4299a1(0x3ce);var ia={'tag':_0x4299a1(0x4b9),'attrs':{'fill':_0x4299a1(0x4cb),'viewBox':_0x4299a1(0x232),'width':_0x4299a1(0x53a),'height':_0x4299a1(0x53a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4299a1(0x578),'d':_0x4299a1(0x553),'strokeLinecap':_0x4299a1(0x445),'strokeLinejoin':_0x4299a1(0x445),'strokeWidth':1.2}}]},{'tag':_0x4299a1(0x26b),'attrs':{},'children':[{'tag':_0x4299a1(0x4d0),'attrs':{'id':_0x4299a1(0x3d6)},'children':[{'tag':_0x4299a1(0x484),'attrs':{'fill':_0x4299a1(0x38c),'d':_0x4299a1(0x51e)}}]}]}],'defIds':[_0x4299a1(0x3d6)]},xi=_0x36768c(function(_0x58ac1a,_0xcec7ff){const _0x1dccc7=_0x4299a1;return _0x393c00(Ts,Object['assign']({},_0x58ac1a,{'id':_0x1dccc7(0x363),'ref':_0xcec7ff,'icon':ia}));});xi['displayName']='OffLineSingle';var na={'tag':_0x4299a1(0x4b9),'attrs':{'fill':_0x4299a1(0x4cb),'viewBox':_0x4299a1(0x37d),'width':_0x4299a1(0x53a),'height':_0x4299a1(0x53a)},'children':[{'tag':'g','attrs':{'clipPath':_0x4299a1(0x20c)},'children':[{'tag':_0x4299a1(0x484),'attrs':{'stroke':'currentColor','d':_0x4299a1(0x531),'strokeLinecap':_0x4299a1(0x445),'strokeLinejoin':_0x4299a1(0x445),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4299a1(0x4d0),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4299a1(0x484),'attrs':{'fill':_0x4299a1(0x38c),'d':_0x4299a1(0x51e),'transform':_0x4299a1(0x1d2)}}]}]}],'defIds':[_0x4299a1(0x4e8)]},Li=_0x36768c(function(_0x547505,_0x1a2aec){const _0x4a0c32=_0x4299a1;return _0x393c00(Ts,Object['assign']({},_0x547505,{'id':_0x4a0c32(0x387),'ref':_0x1a2aec,'icon':na}));});Li['displayName']=_0x4299a1(0x246);function $i(_0x4b7505){const _0x3aa20b=_0x4299a1;var _0x4eca7d,_0x75d1fb,_0x4381f3='';if(typeof _0x4b7505==_0x3aa20b(0x3b4)||typeof _0x4b7505==_0x3aa20b(0x30a))_0x4381f3+=_0x4b7505;else{if(typeof _0x4b7505==_0x3aa20b(0x43d)){if(Array[_0x3aa20b(0x1e2)](_0x4b7505)){var _0x53970b=_0x4b7505[_0x3aa20b(0x256)];for(_0x4eca7d=0x0;_0x4eca7d<_0x53970b;_0x4eca7d++)_0x4b7505[_0x4eca7d]&&(_0x75d1fb=$i(_0x4b7505[_0x4eca7d]))&&(_0x4381f3&&(_0x4381f3+='\x20'),_0x4381f3+=_0x75d1fb);}else{for(_0x75d1fb in _0x4b7505)_0x4b7505[_0x75d1fb]&&(_0x4381f3&&(_0x4381f3+='\x20'),_0x4381f3+=_0x75d1fb);}}}return _0x4381f3;}function ra(){const _0x358b28=_0x4299a1;for(var _0x5b396e,_0x4fa4f6,_0x206806=0x0,_0x54b3d8='',_0xa3ca5f=arguments[_0x358b28(0x256)];_0x206806<_0xa3ca5f;_0x206806++)(_0x5b396e=arguments[_0x206806])&&(_0x4fa4f6=$i(_0x5b396e))&&(_0x54b3d8&&(_0x54b3d8+='\x20'),_0x54b3d8+=_0x4fa4f6);return _0x54b3d8;}const oa=_0x4299a1(0x2a6),aa=_0x4299a1(0x58e),ca=_0x4299a1(0x1ce),ha='univer-online',la=_0x4299a1(0x40b),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x2c7140){const _0x506cb8=_0x4299a1;switch(_0x2c7140){case J[_0x506cb8(0x34a)]:return'collabStatus.offline';case J[_0x506cb8(0x32f)]:return _0x506cb8(0x486);case J[_0x506cb8(0x27d)]:return _0x506cb8(0x297);case J[_0x506cb8(0x381)]:return'collabStatus.notCollab';case J[_0x506cb8(0x591)]:case J[_0x506cb8(0x2f2)]:return _0x506cb8(0x5ad);case J[_0x506cb8(0x353)]:case J[_0x506cb8(0x4ed)]:return'collabStatus.synced';}}function ua(_0x443a47){const _0x25f73e=_0x4299a1,{status$:_0x25232a}=_0x443a47,_0xabeedf=_0x4fa1dd(_0x25232a,J[_0x25f73e(0x381)]),_0x2551ec=_0x36573a(_0x44ee4c),_0x5e176d=_0x36573a(Ae),_0x460c5f=_0xabeedf!==J[_0x25f73e(0x34a)],_0xc8d2d4=_0x2551ec['t'](_a(_0xabeedf)),_0x5b58f9=ra(Ze[_0x25f73e(0x519)],{[Ze[_0x25f73e(0x521)]]:_0x460c5f,[Ze[_0x25f73e(0x210)]]:!_0x460c5f}),_0xaa1e19=_0x460c5f?_0x182f95['createElement'](Li,null):_0x182f95[_0x25f73e(0x4e1)](xi,null),_0x391873=_0x222b82(()=>{_0x460c5f||_0x5e176d['reconnect']();},[_0x460c5f,_0x5e176d]);function _0x5251a8(){const _0x5f5d19=_0x25f73e;return _0x182f95[_0x5f5d19(0x4e1)]('div',{'className':_0x5b58f9,'onClick':_0x391873},_0x182f95[_0x5f5d19(0x4e1)](_0x5f5d19(0x2f3),{'className':Ze[_0x5f5d19(0x5c0)]},_0xaa1e19),_0x182f95[_0x5f5d19(0x4e1)](_0x5f5d19(0x2f3),{'className':Ze[_0x5f5d19(0x505)]},_0xc8d2d4));}return _0x460c5f?_0x5251a8():_0x182f95[_0x25f73e(0x4e1)](_0x2061dd,{'title':_0x2551ec['t']('collab-client.tooltip.reconnect')},_0x5251a8());}var da=Object['defineProperty'],fa=Object[_0x4299a1(0x563)],va=(_0x12591a,_0x4ada87,_0x2bd64f,_0x4facbf)=>{const _0x42b4d6=_0x4299a1;for(var _0x38d6bb=_0x4facbf>0x1?void 0x0:_0x4facbf?fa(_0x4ada87,_0x2bd64f):_0x4ada87,_0x21008d=_0x12591a[_0x42b4d6(0x256)]-0x1,_0x17fbba;_0x21008d>=0x0;_0x21008d--)(_0x17fbba=_0x12591a[_0x21008d])&&(_0x38d6bb=(_0x4facbf?_0x17fbba(_0x4ada87,_0x2bd64f,_0x38d6bb):_0x17fbba(_0x38d6bb))||_0x38d6bb);return _0x4facbf&&_0x38d6bb&&da(_0x4ada87,_0x2bd64f,_0x38d6bb),_0x38d6bb;},lt=(_0x377de8,_0x5b7fd6)=>(_0x278454,_0x2f6307)=>_0x5b7fd6(_0x278454,_0x2f6307,_0x377de8);let It=class extends _0x3ee966{constructor(_0x44ad5a,_0xd6cb12,_0x2550f1,_0x18c1c2){const _0x42341a=_0x4299a1;super(),g(this,_0x42341a(0x3d5),new _0x37eed6(J[_0x42341a(0x381)])),(this['_univerInstanceService']=_0x44ad5a,this[_0x42341a(0x347)]=_0xd6cb12,this[_0x42341a(0x557)]=_0x2550f1,this[_0x42341a(0x4f2)]=_0x18c1c2,this[_0x42341a(0x572)](),this[_0x42341a(0x305)]());}[_0x4299a1(0x305)](){const _0x3b7c59=_0x4299a1;this[_0x3b7c59(0x5b7)](this[_0x3b7c59(0x35b)]['focused$'][_0x3b7c59(0x35f)](_0x44c2df(()=>{const _0x419c20=_0x3b7c59,_0x17f0cc=this['_univerInstanceService'][_0x419c20(0x428)]();return _0x17f0cc?this[_0x419c20(0x4f2)][_0x419c20(0x34c)](_0x17f0cc[_0x419c20(0x1e9)]()):_0x3de089(null);}),_0x44c2df(_0x174c3a=>_0x174c3a?_0x174c3a[_0x3b7c59(0x533)]:_0x3de089(J[_0x3b7c59(0x381)])))['subscribe'](_0x29fffc=>{const _0x12c030=_0x3b7c59;this[_0x12c030(0x3d5)][_0x12c030(0x419)](_0x29fffc);}));}[_0x4299a1(0x572)](){const _0x8f85c5=_0x4299a1;this[_0x8f85c5(0x5b7)](this[_0x8f85c5(0x347)][_0x8f85c5(0x520)](_0x5ba1d4[_0x8f85c5(0x1e3)],()=>_0x30cbe9(ma({'status$':this['_status$'][_0x8f85c5(0x42a)]()}),this[_0x8f85c5(0x557)])));}};It=va([lt(0x0,_0x19bced),lt(0x1,_0x321318),lt(0x2,_0x2f5cfe(_0x22006e)),lt(0x3,_0x2f5cfe(it))],It);function ma(_0x387b1f){const {status$:_0x348ad7}=_0x387b1f;return function(){const _0xa89157=_0x1dba;return _0x182f95[_0xa89157(0x4e1)](ua,{'status$':_0x348ad7});};}const Hi=_0x47ec37('uni.network.url-service');var pa=Object[_0x4299a1(0x5c7)],ga=Object[_0x4299a1(0x563)],Sa=(_0x504ee7,_0x42ab3b,_0x387d33,_0x3ffd5b)=>{for(var _0x22c54e=_0x3ffd5b>0x1?void 0x0:_0x3ffd5b?ga(_0x42ab3b,_0x387d33):_0x42ab3b,_0x6d54eb=_0x504ee7['length']-0x1,_0x1562b0;_0x6d54eb>=0x0;_0x6d54eb--)(_0x1562b0=_0x504ee7[_0x6d54eb])&&(_0x22c54e=(_0x3ffd5b?_0x1562b0(_0x42ab3b,_0x387d33,_0x22c54e):_0x1562b0(_0x22c54e))||_0x22c54e);return _0x3ffd5b&&_0x22c54e&&pa(_0x42ab3b,_0x387d33,_0x22c54e),_0x22c54e;},ke=(_0x2e2d98,_0x137b85)=>(_0xe14a88,_0x30c56a)=>_0x137b85(_0xe14a88,_0x30c56a,_0x2e2d98);let Ct=class extends _0x737a66{constructor(_0x3c640a,_0x575e1b,_0x445716,_0x6c4e5,_0x2d1ce7,_0x559b2b){const _0x435550=_0x4299a1;super(),this[_0x435550(0x545)]=_0x3c640a,this[_0x435550(0x327)]=_0x575e1b,this[_0x435550(0x33f)]=_0x445716,this[_0x435550(0x3ac)]=_0x6c4e5,this[_0x435550(0x4d9)]=_0x2d1ce7,_0x559b2b?_0x559b2b==null||_0x559b2b['whenReady']()[_0x435550(0x4ad)](()=>this['_init']()):(this[_0x435550(0x327)]['debug']('[DataLoaderController]',_0x435550(0x461)),this[_0x435550(0x389)]());}async[_0x4299a1(0x389)](){const _0x83dba=_0x4299a1,_0x344a86=this[_0x83dba(0x545)][_0x83dba(0x4d5)](_0x83dba(0x376)),_0x41bc43=this[_0x83dba(0x545)][_0x83dba(0x4d5)](_0x83dba(0x41e));if(!_0x344a86||!_0x41bc43){this[_0x83dba(0x327)][_0x83dba(0x4c1)](_0x83dba(0x3b9),_0x83dba(0x1f0));return;}switch(Number(_0x41bc43)){case ce[_0x83dba(0x247)]:{const _0x1c73c0=await this['_loadSheet'](_0x344a86);this[_0x83dba(0x440)](_0x1c73c0);break;}case ce['UNIVER_DOC']:{await this[_0x83dba(0x2c5)](_0x344a86);break;}default:{this[_0x83dba(0x327)][_0x83dba(0x1c9)](_0x83dba(0x3b9),_0x83dba(0x2c8));break;}}}async[_0x4299a1(0x440)](_0x27ea9e){const _0x3cbb8f=_0x4299a1;await this[_0x3cbb8f(0x50d)](_0x27ea9e),_0x27ea9e[_0x3cbb8f(0x568)]['pipe'](_0x2fa59a(this['dispose$']))[_0x3cbb8f(0x487)](_0x2849b3=>{_0x2849b3&&this['_updateURLWithCurrentState'](_0x2849b3);}),this[_0x3cbb8f(0x545)][_0x3cbb8f(0x2de)][_0x3cbb8f(0x35f)](_0x2fa59a(this[_0x3cbb8f(0x47b)]))[_0x3cbb8f(0x487)](()=>this['_updateSubUnitFromURLParams'](_0x27ea9e));}['_updateURLWithCurrentState'](_0x5ac880,_0x3ac18c=!0x1){const _0x35b427=_0x4299a1,_0xfe6222=this['_urlService']['getParam'](_0x35b427(0x442));_0x5ac880[_0x35b427(0x1d0)]()!==_0xfe6222&&this['_urlService'][_0x35b427(0x3c5)](_0x35b427(0x442),_0x5ac880['getSheetId'](),_0x3ac18c);}async[_0x4299a1(0x50d)](_0x145397){const _0x23ba77=_0x4299a1;var _0x3cdd95;const _0x83ca01=this[_0x23ba77(0x545)][_0x23ba77(0x4d5)](_0x23ba77(0x442));if(!_0x83ca01||!_0x145397[_0x23ba77(0x283)](_0x83ca01)){const _0x560f38=_0x145397[_0x23ba77(0x344)]()[0x0],_0x5762c9=_0x145397['getSheetBySheetId'](_0x560f38);if(!_0x5762c9)return;this[_0x23ba77(0x555)](_0x5762c9,!0x0),await this[_0x23ba77(0x33f)]['executeCommand'](_0xa4b7c1['id'],{'unitId':_0x145397['getUnitId'](),'subUnitId':_0x560f38});return;}((_0x3cdd95=_0x145397[_0x23ba77(0x46c)]())==null?void 0x0:_0x3cdd95[_0x23ba77(0x1d0)]())!==_0x83ca01&&await this['_commandService'][_0x23ba77(0x23c)](_0xa4b7c1['id'],{'unitId':_0x145397[_0x23ba77(0x1e9)](),'subUnitId':_0x83ca01});}async[_0x4299a1(0x1f6)](_0x47de88){const _0x54e510=_0x4299a1;let _0x4b6172=0x0;const _0x3411c6=await this['_localCacheService']['loadOfflineData'](_0x47de88);return _0x3411c6&&(_0x3411c6[_0x54e510(0x511)]||_0x3411c6['mutations'][_0x54e510(0x256)]!==0x0)&&(_0x4b6172=_0x3411c6['rev']),_0x4b6172===0x0&&this['_logService'][_0x54e510(0x4c1)](_0x54e510(0x3b9),_0x54e510(0x349)),this[_0x54e510(0x4d9)][_0x54e510(0x292)](_0x47de88,_0x4b6172);}async[_0x4299a1(0x2c5)](_0x2f5672){const _0x3b664d=_0x4299a1;let _0xa14570=0x0;const _0x2543e3=await this[_0x3b664d(0x3ac)][_0x3b664d(0x2e9)](_0x2f5672);return _0x2543e3&&(_0x2543e3[_0x3b664d(0x511)]||_0x2543e3[_0x3b664d(0x3e7)]['length']!==0x0)&&(_0xa14570=_0x2543e3[_0x3b664d(0x243)]),_0xa14570===0x0&&this[_0x3b664d(0x327)][_0x3b664d(0x4c1)](_0x3b664d(0x3b9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3b664d(0x4d9)][_0x3b664d(0x380)](_0x2f5672,_0xa14570);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x105261),ke(0x2,_0x2d1134),ke(0x3,_0x2f5cfe(q)),ke(0x4,_0x2f5cfe(_0x334813)),ke(0x5,_0x2d2324(_0x5a4eeb))],Ct);var Ia=Object[_0x4299a1(0x5c7)],Ca=Object['getOwnPropertyDescriptor'],Ea=(_0x7b58c1,_0x2e1386,_0x11e69a,_0x28249a)=>{for(var _0x3c2fbc=_0x28249a>0x1?void 0x0:_0x28249a?Ca(_0x2e1386,_0x11e69a):_0x2e1386,_0x33586f=_0x7b58c1['length']-0x1,_0x31493f;_0x33586f>=0x0;_0x33586f--)(_0x31493f=_0x7b58c1[_0x33586f])&&(_0x3c2fbc=(_0x28249a?_0x31493f(_0x2e1386,_0x11e69a,_0x3c2fbc):_0x31493f(_0x3c2fbc))||_0x3c2fbc);return _0x28249a&&_0x3c2fbc&&Ia(_0x2e1386,_0x11e69a,_0x3c2fbc),_0x3c2fbc;},zs=(_0x359d04,_0x38d4f6)=>(_0x4a1d87,_0x1062e7)=>_0x38d4f6(_0x4a1d87,_0x1062e7,_0x359d04);const ba=_0x4299a1(0x36c),Ta=_0x4299a1(0x27e);let Et=class extends _0x3ee966{constructor(_0x9d5986,_0x5e401d){const _0x45c3ca=_0x4299a1;super(),this[_0x45c3ca(0x35b)]=_0x9d5986,this[_0x45c3ca(0x4cf)]=_0x5e401d,this['_init']();}[_0x4299a1(0x389)](){const _0x4a6052=_0x4299a1;this[_0x4a6052(0x5b7)](this[_0x4a6052(0x35b)][_0x4a6052(0x264)][_0x4a6052(0x487)](()=>{const _0x18077f=_0x4a6052;var _0x1347f5;const _0x433b53=this[_0x18077f(0x35b)][_0x18077f(0x428)]();let _0x5463da=(_0x1347f5=this[_0x18077f(0x4cf)][_0x18077f(0x2b6)](ba))!=null?_0x1347f5:Ta;_0x433b53 instanceof _0x2eb2b2&&(_0x5463da=_0x433b53[_0x18077f(0x597)]),document[_0x18077f(0x3c6)]=_0x5463da;}));}};Et=Ea([zs(0x0,_0x19bced),zs(0x1,_0x3fd15e)],Et);var Ra=Object[_0x4299a1(0x5c7)],ya=Object[_0x4299a1(0x563)],Oa=(_0x51db66,_0x4055a5,_0x136b54,_0x321d49)=>{const _0x3cd067=_0x4299a1;for(var _0xefb727=_0x321d49>0x1?void 0x0:_0x321d49?ya(_0x4055a5,_0x136b54):_0x4055a5,_0x28523c=_0x51db66[_0x3cd067(0x256)]-0x1,_0x210034;_0x28523c>=0x0;_0x28523c--)(_0x210034=_0x51db66[_0x28523c])&&(_0xefb727=(_0x321d49?_0x210034(_0x4055a5,_0x136b54,_0xefb727):_0x210034(_0xefb727))||_0xefb727);return _0x321d49&&_0xefb727&&Ra(_0x4055a5,_0x136b54,_0xefb727),_0xefb727;},Wt=(_0x5e4787,_0x13d69b)=>(_0x3df27a,_0x5c7cd1)=>_0x13d69b(_0x3df27a,_0x5c7cd1,_0x5e4787);let bt=class{constructor(_0x400214,_0xc6c73,_0x2dab4c){const _0x5da53e=_0x4299a1;this[_0x5da53e(0x4cf)]=_0x400214,this['_httpService']=_0xc6c73,this[_0x5da53e(0x3d2)]=_0x2dab4c,this[_0x5da53e(0x369)]();}[_0x4299a1(0x369)](){const _0x4042f8=_0x4299a1;this[_0x4042f8(0x28d)][_0x4042f8(0x537)]({'priority':0x1,'interceptor':(_0x2789cd,_0x18bc17)=>_0x18bc17(_0x2789cd)[_0x4042f8(0x35f)](_0x514c5c(async _0x415927=>{const _0x4a1f6d=_0x4042f8,_0x319c83=_0x415927;if(_0x319c83[_0x4a1f6d(0x485)]===0x191&&window[_0x4a1f6d(0x268)](this[_0x4a1f6d(0x3d2)]['t'](_0x4a1f6d(0x594)))){const _0x2374e8=window[_0x4a1f6d(0x3f6)](window[_0x4a1f6d(0x212)]['href']);window[_0x4a1f6d(0x212)][_0x4a1f6d(0x491)]=this[_0x4a1f6d(0x1d8)]()+'?url='+_0x2374e8;}return _0x319c83;}))});}[_0x4299a1(0x1d8)](){const _0x101d6d=_0x4299a1;var _0x4a3d93,_0x34ca70;const _0x5d9524=this[_0x101d6d(0x4cf)][_0x101d6d(0x2b6)](Ir),_0x22aff4=this[_0x101d6d(0x4cf)]['getConfig'](ie);return(_0x34ca70=(_0x4a3d93=_0x22aff4==null?void 0x0:_0x22aff4[_0x101d6d(0x53e)])!=null?_0x4a3d93:_0x5d9524)!=null?_0x34ca70:Cr;}};bt=Oa([Wt(0x0,_0x3fd15e),Wt(0x1,_0x2f5cfe(_0x56ddfb)),Wt(0x2,_0x2f5cfe(_0x44ee4c))],bt);var wa=Object[_0x4299a1(0x5c7)],Da=Object[_0x4299a1(0x563)],Pa=(_0x12956b,_0x388077,_0x3e86ac,_0x3c68ee)=>{const _0x4a0726=_0x4299a1;for(var _0x528466=_0x3c68ee>0x1?void 0x0:_0x3c68ee?Da(_0x388077,_0x3e86ac):_0x388077,_0x3f2acd=_0x12956b[_0x4a0726(0x256)]-0x1,_0x3a6cc8;_0x3f2acd>=0x0;_0x3f2acd--)(_0x3a6cc8=_0x12956b[_0x3f2acd])&&(_0x528466=(_0x3c68ee?_0x3a6cc8(_0x388077,_0x3e86ac,_0x528466):_0x3a6cc8(_0x528466))||_0x528466);return _0x3c68ee&&_0x528466&&wa(_0x388077,_0x3e86ac,_0x528466),_0x528466;},qs=(_0x1adab6,_0xa18d6e)=>(_0x5087b7,_0x5382b5)=>_0xa18d6e(_0x5087b7,_0x5382b5,_0x1adab6);const Ua=_0x4299a1(0x22b),Na=_0x4299a1(0x52f);let cs=class extends _0x3ee966{constructor(_0x3d1412,_0x89b32f){const _0x17d03e=_0x4299a1;super(),this[_0x17d03e(0x2a3)]=_0x3d1412,this[_0x17d03e(0x4cf)]=_0x89b32f,this['_initMergeInterceptor']();}[_0x4299a1(0x4c5)](){const _0x55700=_0x4299a1,_0x55412f=this;this[_0x55700(0x5b7)](this[_0x55700(0x2a3)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2a7c3d({'isMatch'(_0x17dabc){const _0x44697a=_0x55700;var _0x511fe6;if(_0x17dabc[_0x44697a(0x208)]===_0x44697a(0x1c2)&&((_0x511fe6=_0x17dabc[_0x44697a(0x475)])!=null&&_0x511fe6['body'])){const {objectID:_0x50c7b0,objectType:_0x554a2b}=_0x17dabc[_0x44697a(0x475)][_0x44697a(0x3a6)]||{};if(!_0x50c7b0||_0x554a2b===void 0x0)return!0x1;const _0x1c1c76=_0x55412f['_getAPIPrefixPath']()+'/'+_0x554a2b+'/object/'+_0x50c7b0+_0x44697a(0x5be);if(_0x17dabc[_0x44697a(0x5a4)]===_0x1c1c76)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3d0333){const _0x2c908c=_0x55700;var _0x52369d;return(_0x52369d=_0x3d0333['requestParams'])==null?void 0x0:_0x52369d[_0x2c908c(0x3a6)];},'mergeParamsToRequest'(_0x5e5455,_0xa17c7c){const _0x2edb39=_0x55700,_0x2b927b=_0x55412f[_0x2edb39(0x1fd)]()+_0x2edb39(0x5ab),_0x223db5=_0x5e5455[_0x2edb39(0x273)]((_0x5c5d07,_0x2c773b)=>{const _0x65c6f0=_0x2edb39,{unitID:_0x4e25e7,objectID:_0x1b6f2f,objectType:_0x309912,actions:_0x312ef6}=_0x2c773b;return _0x5c5d07[_0x4e25e7]||(_0x5c5d07[_0x4e25e7]={}),_0x5c5d07[_0x4e25e7][_0x1b6f2f]||(_0x5c5d07[_0x4e25e7][_0x1b6f2f]={'objectID':_0x1b6f2f,'objectType':_0x309912,'actions':[]}),_0x5c5d07[_0x4e25e7][_0x1b6f2f][_0x65c6f0(0x3b6)][_0x65c6f0(0x499)](..._0x312ef6),_0x5c5d07;},{}),_0x4c3d95=[];for(const _0x508072 in _0x223db5)for(const _0x126b77 in _0x223db5[_0x508072]){const {actions:_0x49e1e8,objectType:_0x3bd30c}=_0x223db5[_0x508072][_0x126b77],_0x48ca19=[...new Set(_0x49e1e8)];_0x4c3d95['push']({'unitID':_0x508072,'objectID':_0x126b77,'objectType':_0x3bd30c,'actions':_0x48ca19});}return new _0x1e784c('POST',_0x2b927b,{'headers':_0xa17c7c[_0x2edb39(0x1eb)],'withCredentials':_0xa17c7c[_0x2edb39(0x1d9)],'responseType':_0xa17c7c[_0x2edb39(0x259)],'body':{'requests':_0x4c3d95}});}},{'distributeResult'(_0x2691b2,_0x198297){const _0x1dde96=_0x55700,{objectActions:_0x188d3d}=_0x2691b2;return _0x198297[_0x1dde96(0x272)](_0x118251=>{const _0x55c32c=_0x1dde96,{unitID:_0x20cb4b,objectID:_0x27621c,actions:_0x537d3c}=_0x118251,_0x1fa774=_0x188d3d[_0x55c32c(0x530)](_0xb261f3=>_0xb261f3[_0x55c32c(0x3cd)]===_0x20cb4b&&_0xb261f3[_0x55c32c(0x406)]===_0x27621c),_0x597998=_0x537d3c[_0x55c32c(0x272)](_0xd45648=>_0x1fa774==null?void 0x0:_0x1fa774[_0x55c32c(0x3b6)][_0x55c32c(0x530)](_0x3131c4=>_0x3131c4['action']===_0xd45648))[_0x55c32c(0x263)](_0x48e49e=>!!_0x48e49e);return{'config':_0x118251,'result':{'actions':_0x597998,'error':_0x2691b2[_0x55c32c(0x1c9)]}};});}})}));}[_0x4299a1(0x1fd)](){const _0x4ed68c=_0x4299a1;var _0x33f023,_0x219c89;const _0x42d76f=this[_0x4ed68c(0x4cf)]['getConfig'](Ua),_0x43f0be=this[_0x4ed68c(0x4cf)]['getConfig'](ie);return(_0x219c89=(_0x33f023=_0x43f0be==null?void 0x0:_0x43f0be[_0x4ed68c(0x1d6)])!=null?_0x33f023:_0x42d76f)!=null?_0x219c89:Na;}async[_0x4299a1(0x2f1)](_0x1ba264){const _0x1c453d=_0x4299a1,_0x182c92=this['_getAPIPrefixPath']()+'/'+_0x1ba264['objectType']+'/object';return(await this['_HTTPService'][_0x1c453d(0x293)](_0x182c92,{'body':_0x1ba264}))[_0x1c453d(0x3a6)][_0x1c453d(0x406)]||'';}async['list'](_0x3b216e){const _0x1bac1f=_0x4299a1,_0x1cd7f2=this[_0x1bac1f(0x1fd)]()+_0x1bac1f(0x295);return(await this['_HTTPService'][_0x1bac1f(0x293)](_0x1cd7f2,{'body':_0x3b216e}))[_0x1bac1f(0x3a6)][_0x1bac1f(0x26a)];}async[_0x4299a1(0x307)](_0x36cc7c){const _0x164e33=_0x4299a1,_0x4f173e=this[_0x164e33(0x1fd)]()+'/'+_0x36cc7c[_0x164e33(0x289)]+_0x164e33(0x328)+_0x36cc7c['objectID'];await this['_HTTPService'][_0x164e33(0x2db)](_0x4f173e,{'body':_0x36cc7c});}async[_0x4299a1(0x483)](_0x48a8ac){const _0x214ec9=_0x4299a1,_0xef64c7=this['_getAPIPrefixPath']()+'/'+_0x48a8ac['objectType']+'/object/'+_0x48a8ac[_0x214ec9(0x406)]+_0x214ec9(0x5be);return(await this[_0x214ec9(0x2a3)][_0x214ec9(0x293)](_0xef64c7,{'body':_0x48a8ac}))['body'][_0x214ec9(0x3b6)];}async[_0x4299a1(0x431)](_0x5ca439){const _0x2488c5=_0x4299a1,_0x228fe1=this[_0x2488c5(0x1fd)]()+_0x2488c5(0x5ab);return(await this[_0x2488c5(0x2a3)]['post'](_0x228fe1,{'body':{'requests':_0x5ca439}}))[_0x2488c5(0x3a6)][_0x2488c5(0x570)];}async['listRoles'](_0xda0441){const _0x3c1bc7=_0x4299a1,_0x97b140=this[_0x3c1bc7(0x1fd)]()+'/'+_0xda0441[_0x3c1bc7(0x289)]+'/role',_0x50f864=await this[_0x3c1bc7(0x2a3)][_0x3c1bc7(0x293)](_0x97b140,{'body':_0xda0441});return{'roles':_0x50f864[_0x3c1bc7(0x3a6)][_0x3c1bc7(0x3ad)],'actions':_0x50f864[_0x3c1bc7(0x3a6)]['actions']};}async[_0x4299a1(0x385)](_0x15dcf3){const _0xf2c300=_0x4299a1,_0x5ac121=this[_0xf2c300(0x1fd)]()+'/collaborator';await this[_0xf2c300(0x2a3)]['delete'](_0x5ac121,{'params':{'collaboratorID':_0x15dcf3[_0xf2c300(0x21f)],'objectID':_0x15dcf3[_0xf2c300(0x406)],'unitID':_0x15dcf3[_0xf2c300(0x3cd)]}});}async['updateCollaborator'](_0x48725c){const _0x425114=_0x4299a1,_0x267efd=this[_0x425114(0x1fd)]()+_0x425114(0x413);await this[_0x425114(0x2a3)][_0x425114(0x249)](_0x267efd,{'body':_0x48725c});}async[_0x4299a1(0x54b)](_0x35becf){const _0x4ad179=_0x4299a1,_0x1f0ae2=this[_0x4ad179(0x1fd)]()+_0x4ad179(0x413);await this[_0x4ad179(0x2a3)][_0x4ad179(0x293)](_0x1f0ae2,{'body':_0x35becf});}async[_0x4299a1(0x438)](_0x1d13a9){const _0x340abb=_0x4299a1,_0xc78b87=this[_0x340abb(0x1fd)]()+'/collaborator';return(await this[_0x340abb(0x2a3)][_0x340abb(0x401)](_0xc78b87,{'params':{'objectID':_0x1d13a9[_0x340abb(0x406)],'unitID':_0x1d13a9['unitID']}}))[_0x340abb(0x3a6)]['collaborators'];}async[_0x4299a1(0x40d)](_0x37c1a7){const _0x45f9c2=_0x4299a1,_0x483ed9=this['_getAPIPrefixPath']()+_0x45f9c2(0x413);await this[_0x45f9c2(0x2a3)]['put'](_0x483ed9,{'body':_0x37c1a7});}};cs=Pa([qs(0x0,_0x2f5cfe(_0x56ddfb)),qs(0x1,_0x2f5cfe(_0x3fd15e))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x5c7001){const _0x2b8b28=_0x4299a1;return _0x5c7001&&_0x5c7001[_0x2b8b28(0x42c)]&&Object[_0x2b8b28(0x313)][_0x2b8b28(0x225)][_0x2b8b28(0x211)](_0x5c7001,_0x2b8b28(0x5b8))?_0x5c7001[_0x2b8b28(0x5b8)]:_0x5c7001;}var ji={'exports':{}};function Aa(_0x3e05e2){const _0xb8bfdc=_0x4299a1;throw new Error(_0xb8bfdc(0x4ea)+_0x3e05e2+_0xb8bfdc(0x345));}var Ft={'exports':{}},Xs;function ue(){const _0x607343=_0x4299a1;return Xs||(Xs=0x1,function(_0x4f4351,_0x4a4ac0){(function(_0x11e010,_0x3b765a){const _0xc18c31=_0x1dba;_0x4f4351[_0xc18c31(0x1dc)]=_0x3b765a();}(Z,function(){var _0x48b6e8=_0x48b6e8||function(_0x176a63,_0x20583e){const _0x655074=_0x1dba;var _0x5dee38;if(typeof window<'u'&&window['crypto']&&(_0x5dee38=window[_0x655074(0x21e)]),typeof self<'u'&&self[_0x655074(0x21e)]&&(_0x5dee38=self[_0x655074(0x21e)]),typeof globalThis<'u'&&globalThis[_0x655074(0x21e)]&&(_0x5dee38=globalThis[_0x655074(0x21e)]),!_0x5dee38&&typeof window<'u'&&window[_0x655074(0x394)]&&(_0x5dee38=window[_0x655074(0x394)]),!_0x5dee38&&typeof Z<'u'&&Z[_0x655074(0x21e)]&&(_0x5dee38=Z[_0x655074(0x21e)]),!_0x5dee38&&typeof Aa==_0x655074(0x382))try{_0x5dee38=require(_0x655074(0x21e));}catch{}var _0x10296f=function(){const _0x14aaab=_0x655074;if(_0x5dee38){if(typeof _0x5dee38[_0x14aaab(0x579)]=='function')try{return _0x5dee38['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5dee38[_0x14aaab(0x1de)]=='function')try{return _0x5dee38[_0x14aaab(0x1de)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x31fb23=Object['create']||(function(){function _0x3296cc(){}return function(_0x5aa770){const _0x364a0e=_0x1dba;var _0x43657f;return _0x3296cc['prototype']=_0x5aa770,_0x43657f=new _0x3296cc(),_0x3296cc[_0x364a0e(0x313)]=null,_0x43657f;};}()),_0x4b5f92={},_0x565d89=_0x4b5f92['lib']={},_0x1e32ea=_0x565d89['Base']=(function(){return{'extend':function(_0x3c959b){const _0xf16258=_0x1dba;var _0x25912b=_0x31fb23(this);return _0x3c959b&&_0x25912b[_0xf16258(0x539)](_0x3c959b),(!_0x25912b[_0xf16258(0x225)](_0xf16258(0x369))||this['init']===_0x25912b[_0xf16258(0x369)])&&(_0x25912b[_0xf16258(0x369)]=function(){const _0x3d880c=_0xf16258;_0x25912b[_0x3d880c(0x4d8)][_0x3d880c(0x369)][_0x3d880c(0x5cb)](this,arguments);}),_0x25912b[_0xf16258(0x369)][_0xf16258(0x313)]=_0x25912b,_0x25912b[_0xf16258(0x4d8)]=this,_0x25912b;},'create':function(){const _0x414fb8=_0x1dba;var _0x1e9497=this[_0x414fb8(0x257)]();return _0x1e9497[_0x414fb8(0x369)]['apply'](_0x1e9497,arguments),_0x1e9497;},'init':function(){},'mixIn':function(_0xeccccc){const _0x35f44d=_0x1dba;for(var _0x2ef3d2 in _0xeccccc)_0xeccccc[_0x35f44d(0x225)](_0x2ef3d2)&&(this[_0x2ef3d2]=_0xeccccc[_0x2ef3d2]);_0xeccccc[_0x35f44d(0x225)](_0x35f44d(0x37a))&&(this['toString']=_0xeccccc['toString']);},'clone':function(){const _0x486a81=_0x1dba;return this[_0x486a81(0x369)][_0x486a81(0x313)][_0x486a81(0x257)](this);}};}()),_0x282213=_0x565d89['WordArray']=_0x1e32ea['extend']({'init':function(_0x2126a8,_0x1444e3){const _0x20db04=_0x655074;_0x2126a8=this[_0x20db04(0x1e1)]=_0x2126a8||[],_0x1444e3!=_0x20583e?this[_0x20db04(0x2e5)]=_0x1444e3:this[_0x20db04(0x2e5)]=_0x2126a8[_0x20db04(0x256)]*0x4;},'toString':function(_0x2134f2){const _0x449c38=_0x655074;return(_0x2134f2||_0x153370)[_0x449c38(0x1fb)](this);},'concat':function(_0x45b286){const _0x138e41=_0x655074;var _0x1b834c=this[_0x138e41(0x1e1)],_0x4d3ed9=_0x45b286[_0x138e41(0x1e1)],_0x496b6f=this[_0x138e41(0x2e5)],_0x2f533d=_0x45b286['sigBytes'];if(this['clamp'](),_0x496b6f%0x4)for(var _0x122b58=0x0;_0x122b58<_0x2f533d;_0x122b58++){var _0x5f0f2f=_0x4d3ed9[_0x122b58>>>0x2]>>>0x18-_0x122b58%0x4*0x8&0xff;_0x1b834c[_0x496b6f+_0x122b58>>>0x2]|=_0x5f0f2f<<0x18-(_0x496b6f+_0x122b58)%0x4*0x8;}else{for(var _0x5f399f=0x0;_0x5f399f<_0x2f533d;_0x5f399f+=0x4)_0x1b834c[_0x496b6f+_0x5f399f>>>0x2]=_0x4d3ed9[_0x5f399f>>>0x2];}return this[_0x138e41(0x2e5)]+=_0x2f533d,this;},'clamp':function(){const _0x4ec68d=_0x655074;var _0x34e206=this[_0x4ec68d(0x1e1)],_0x3eb8a8=this[_0x4ec68d(0x2e5)];_0x34e206[_0x3eb8a8>>>0x2]&=0xffffffff<<0x20-_0x3eb8a8%0x4*0x8,_0x34e206['length']=_0x176a63[_0x4ec68d(0x4b8)](_0x3eb8a8/0x4);},'clone':function(){const _0x1a32e6=_0x655074;var _0x935317=_0x1e32ea[_0x1a32e6(0x3e9)]['call'](this);return _0x935317[_0x1a32e6(0x1e1)]=this[_0x1a32e6(0x1e1)][_0x1a32e6(0x375)](0x0),_0x935317;},'random':function(_0x2eadcf){const _0x526853=_0x655074;for(var _0x23d281=[],_0xda7789=0x0;_0xda7789<_0x2eadcf;_0xda7789+=0x4)_0x23d281[_0x526853(0x499)](_0x10296f());return new _0x282213[(_0x526853(0x369))](_0x23d281,_0x2eadcf);}}),_0x4b6973=_0x4b5f92['enc']={},_0x153370=_0x4b6973['Hex']={'stringify':function(_0x33f115){const _0x41427c=_0x655074;for(var _0x26134b=_0x33f115[_0x41427c(0x1e1)],_0x35a62d=_0x33f115[_0x41427c(0x2e5)],_0x407cf7=[],_0x55ed3e=0x0;_0x55ed3e<_0x35a62d;_0x55ed3e++){var _0x344c61=_0x26134b[_0x55ed3e>>>0x2]>>>0x18-_0x55ed3e%0x4*0x8&0xff;_0x407cf7[_0x41427c(0x499)]((_0x344c61>>>0x4)[_0x41427c(0x37a)](0x10)),_0x407cf7[_0x41427c(0x499)]((_0x344c61&0xf)[_0x41427c(0x37a)](0x10));}return _0x407cf7[_0x41427c(0x5c1)]('');},'parse':function(_0x4ae9f4){const _0x240911=_0x655074;for(var _0x557673=_0x4ae9f4[_0x240911(0x256)],_0x2175cd=[],_0xd56cec=0x0;_0xd56cec<_0x557673;_0xd56cec+=0x2)_0x2175cd[_0xd56cec>>>0x3]|=parseInt(_0x4ae9f4['substr'](_0xd56cec,0x2),0x10)<<0x18-_0xd56cec%0x8*0x4;return new _0x282213[(_0x240911(0x369))](_0x2175cd,_0x557673/0x2);}},_0x584979=_0x4b6973[_0x655074(0x3b8)]={'stringify':function(_0x54eb2e){const _0x1f3753=_0x655074;for(var _0x44e4ad=_0x54eb2e[_0x1f3753(0x1e1)],_0x59169e=_0x54eb2e['sigBytes'],_0x23fbf7=[],_0x59668a=0x0;_0x59668a<_0x59169e;_0x59668a++){var _0x3ff6ac=_0x44e4ad[_0x59668a>>>0x2]>>>0x18-_0x59668a%0x4*0x8&0xff;_0x23fbf7[_0x1f3753(0x499)](String[_0x1f3753(0x340)](_0x3ff6ac));}return _0x23fbf7['join']('');},'parse':function(_0x4c42ce){const _0x39ba1c=_0x655074;for(var _0x4bd624=_0x4c42ce[_0x39ba1c(0x256)],_0x208ef9=[],_0x28c4d4=0x0;_0x28c4d4<_0x4bd624;_0x28c4d4++)_0x208ef9[_0x28c4d4>>>0x2]|=(_0x4c42ce['charCodeAt'](_0x28c4d4)&0xff)<<0x18-_0x28c4d4%0x4*0x8;return new _0x282213[(_0x39ba1c(0x369))](_0x208ef9,_0x4bd624);}},_0x1db62a=_0x4b6973[_0x655074(0x529)]={'stringify':function(_0x12bbd2){const _0x33b03a=_0x655074;try{return decodeURIComponent(escape(_0x584979['stringify'](_0x12bbd2)));}catch{throw new Error(_0x33b03a(0x5bc));}},'parse':function(_0x43118d){return _0x584979['parse'](unescape(encodeURIComponent(_0x43118d)));}},_0x33357a=_0x565d89[_0x655074(0x4ac)]=_0x1e32ea[_0x655074(0x257)]({'reset':function(){const _0x3c992f=_0x655074;this[_0x3c992f(0x3ec)]=new _0x282213['init'](),this[_0x3c992f(0x2c2)]=0x0;},'_append':function(_0x592513){const _0x1746be=_0x655074;typeof _0x592513==_0x1746be(0x3b4)&&(_0x592513=_0x1db62a['parse'](_0x592513)),this[_0x1746be(0x3ec)][_0x1746be(0x34d)](_0x592513),this['_nDataBytes']+=_0x592513[_0x1746be(0x2e5)];},'_process':function(_0x1c90e6){const _0x1cb3e4=_0x655074;var _0x372b03,_0xeeffce=this[_0x1cb3e4(0x3ec)],_0x2e9f69=_0xeeffce['words'],_0x181083=_0xeeffce[_0x1cb3e4(0x2e5)],_0x1054c4=this[_0x1cb3e4(0x54e)],_0x3261f7=_0x1054c4*0x4,_0x39369a=_0x181083/_0x3261f7;_0x1c90e6?_0x39369a=_0x176a63[_0x1cb3e4(0x4b8)](_0x39369a):_0x39369a=_0x176a63['max']((_0x39369a|0x0)-this['_minBufferSize'],0x0);var _0x403a23=_0x39369a*_0x1054c4,_0x12ba17=_0x176a63['min'](_0x403a23*0x4,_0x181083);if(_0x403a23){for(var _0x5e1a40=0x0;_0x5e1a40<_0x403a23;_0x5e1a40+=_0x1054c4)this[_0x1cb3e4(0x3ed)](_0x2e9f69,_0x5e1a40);_0x372b03=_0x2e9f69['splice'](0x0,_0x403a23),_0xeeffce[_0x1cb3e4(0x2e5)]-=_0x12ba17;}return new _0x282213[(_0x1cb3e4(0x369))](_0x372b03,_0x12ba17);},'clone':function(){const _0x4d85e2=_0x655074;var _0x41ee0c=_0x1e32ea[_0x4d85e2(0x3e9)][_0x4d85e2(0x211)](this);return _0x41ee0c['_data']=this[_0x4d85e2(0x3ec)][_0x4d85e2(0x3e9)](),_0x41ee0c;},'_minBufferSize':0x0});_0x565d89[_0x655074(0x5a8)]=_0x33357a['extend']({'cfg':_0x1e32ea[_0x655074(0x257)](),'init':function(_0x2d0694){const _0x3f819f=_0x655074;this[_0x3f819f(0x2e8)]=this[_0x3f819f(0x2e8)][_0x3f819f(0x257)](_0x2d0694),this[_0x3f819f(0x488)]();},'reset':function(){const _0xa751e0=_0x655074;_0x33357a[_0xa751e0(0x488)][_0xa751e0(0x211)](this),this[_0xa751e0(0x287)]();},'update':function(_0x3315b6){const _0x5536c6=_0x655074;return this['_append'](_0x3315b6),this[_0x5536c6(0x4a0)](),this;},'finalize':function(_0x407610){const _0x503f12=_0x655074;_0x407610&&this[_0x503f12(0x282)](_0x407610);var _0x3da073=this['_doFinalize']();return _0x3da073;},'blockSize':0x10,'_createHelper':function(_0x47470b){return function(_0x350283,_0x39c503){const _0x20a43a=_0x1dba;return new _0x47470b['init'](_0x39c503)[_0x20a43a(0x205)](_0x350283);};},'_createHmacHelper':function(_0x31c7e9){return function(_0x30a794,_0x1f36f3){const _0x303046=_0x1dba;return new _0x4ab50b[(_0x303046(0x477))][(_0x303046(0x369))](_0x31c7e9,_0x1f36f3)['finalize'](_0x30a794);};}});var _0x4ab50b=_0x4b5f92[_0x655074(0x3e8)]={};return _0x4b5f92;}(Math);return _0x48b6e8;}));}(Ft)),Ft[_0x607343(0x1dc)];}var Vt={'exports':{}},Js;function Bi(){return Js||(Js=0x1,function(_0x3c3984,_0x18ba50){(function(_0x27d7ee,_0x3ef0e6){const _0x2d59a7=_0x1dba;_0x3c3984[_0x2d59a7(0x1dc)]=_0x3ef0e6(ue());}(Z,function(_0x53cb82){const _0x55a608=_0x1dba;return(function(){const _0x367d62=_0x1dba;var _0x5edeaa=_0x53cb82,_0x5d90d4=_0x5edeaa[_0x367d62(0x457)],_0x17ce17=_0x5d90d4[_0x367d62(0x25c)],_0x11fed2=_0x5edeaa[_0x367d62(0x5b3)];_0x11fed2[_0x367d62(0x27f)]={'stringify':function(_0x4de033){const _0x3f4b66=_0x367d62;var _0x3aaab7=_0x4de033[_0x3f4b66(0x1e1)],_0x229687=_0x4de033['sigBytes'],_0x181e2a=this[_0x3f4b66(0x589)];_0x4de033[_0x3f4b66(0x400)]();for(var _0x53b656=[],_0x5af097=0x0;_0x5af097<_0x229687;_0x5af097+=0x3)for(var _0x3f2d2f=_0x3aaab7[_0x5af097>>>0x2]>>>0x18-_0x5af097%0x4*0x8&0xff,_0x1fca67=_0x3aaab7[_0x5af097+0x1>>>0x2]>>>0x18-(_0x5af097+0x1)%0x4*0x8&0xff,_0x54485a=_0x3aaab7[_0x5af097+0x2>>>0x2]>>>0x18-(_0x5af097+0x2)%0x4*0x8&0xff,_0x5edf82=_0x3f2d2f<<0x10|_0x1fca67<<0x8|_0x54485a,_0x8f9453=0x0;_0x8f9453<0x4&&_0x5af097+_0x8f9453*0.75<_0x229687;_0x8f9453++)_0x53b656[_0x3f4b66(0x499)](_0x181e2a[_0x3f4b66(0x3c2)](_0x5edf82>>>0x6*(0x3-_0x8f9453)&0x3f));var _0x45efad=_0x181e2a[_0x3f4b66(0x3c2)](0x40);if(_0x45efad){for(;_0x53b656[_0x3f4b66(0x256)]%0x4;)_0x53b656[_0x3f4b66(0x499)](_0x45efad);}return _0x53b656['join']('');},'parse':function(_0x5e95f3){const _0x5a6bbf=_0x367d62;var _0x1e5ab3=_0x5e95f3[_0x5a6bbf(0x256)],_0x665630=this[_0x5a6bbf(0x589)],_0x45a614=this[_0x5a6bbf(0x4d3)];if(!_0x45a614){_0x45a614=this[_0x5a6bbf(0x4d3)]=[];for(var _0x2878a4=0x0;_0x2878a4<_0x665630[_0x5a6bbf(0x256)];_0x2878a4++)_0x45a614[_0x665630['charCodeAt'](_0x2878a4)]=_0x2878a4;}var _0x2a882a=_0x665630[_0x5a6bbf(0x3c2)](0x40);if(_0x2a882a){var _0x310406=_0x5e95f3['indexOf'](_0x2a882a);_0x310406!==-0x1&&(_0x1e5ab3=_0x310406);}return _0x2729e3(_0x5e95f3,_0x1e5ab3,_0x45a614);},'_map':_0x367d62(0x2f8)};function _0x2729e3(_0x4cd070,_0x1a89fd,_0x1ba0e0){const _0xc9f67c=_0x367d62;for(var _0x433c08=[],_0xe742ea=0x0,_0x5cc4ac=0x0;_0x5cc4ac<_0x1a89fd;_0x5cc4ac++)if(_0x5cc4ac%0x4){var _0x28f6e5=_0x1ba0e0[_0x4cd070[_0xc9f67c(0x3e5)](_0x5cc4ac-0x1)]<<_0x5cc4ac%0x4*0x2,_0x1ec948=_0x1ba0e0[_0x4cd070[_0xc9f67c(0x3e5)](_0x5cc4ac)]>>>0x6-_0x5cc4ac%0x4*0x2,_0x21284b=_0x28f6e5|_0x1ec948;_0x433c08[_0xe742ea>>>0x2]|=_0x21284b<<0x18-_0xe742ea%0x4*0x8,_0xe742ea++;}return _0x17ce17[_0xc9f67c(0x2f1)](_0x433c08,_0xe742ea);}}()),_0x53cb82['enc'][_0x55a608(0x27f)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Ma(){const _0x31ce88=_0x4299a1;return Zs||(Zs=0x1,function(_0x14dd5a,_0x14f012){(function(_0x4cf3df,_0x2ffbf2){_0x14dd5a['exports']=_0x2ffbf2(ue());}(Z,function(_0x34ced6){const _0x5835f5=_0x1dba;return function(_0x223e13){const _0x186bb8=_0x1dba;var _0x52271f=_0x34ced6,_0xaf968=_0x52271f['lib'],_0x40490a=_0xaf968[_0x186bb8(0x25c)],_0x2e5c18=_0xaf968[_0x186bb8(0x5a8)],_0x27ebac=_0x52271f['algo'],_0x1b224c=[];(function(){const _0x5054f7=_0x186bb8;for(var _0x5c68d0=0x0;_0x5c68d0<0x40;_0x5c68d0++)_0x1b224c[_0x5c68d0]=_0x223e13[_0x5054f7(0x4f3)](_0x223e13[_0x5054f7(0x4b1)](_0x5c68d0+0x1))*0x100000000|0x0;}());var _0x341caa=_0x27ebac['MD5']=_0x2e5c18[_0x186bb8(0x257)]({'_doReset':function(){const _0x3db7f1=_0x186bb8;this[_0x3db7f1(0x3a4)]=new _0x40490a[(_0x3db7f1(0x369))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5a0647,_0x5387d3){const _0x3926c6=_0x186bb8;for(var _0x51c166=0x0;_0x51c166<0x10;_0x51c166++){var _0x33fa8c=_0x5387d3+_0x51c166,_0x2c19d1=_0x5a0647[_0x33fa8c];_0x5a0647[_0x33fa8c]=(_0x2c19d1<<0x8|_0x2c19d1>>>0x18)&0xff00ff|(_0x2c19d1<<0x18|_0x2c19d1>>>0x8)&0xff00ff00;}var _0x73adbf=this[_0x3926c6(0x3a4)][_0x3926c6(0x1e1)],_0x4f3f33=_0x5a0647[_0x5387d3+0x0],_0x141f07=_0x5a0647[_0x5387d3+0x1],_0x411dec=_0x5a0647[_0x5387d3+0x2],_0x230520=_0x5a0647[_0x5387d3+0x3],_0x404dc6=_0x5a0647[_0x5387d3+0x4],_0x206ab8=_0x5a0647[_0x5387d3+0x5],_0x5391f8=_0x5a0647[_0x5387d3+0x6],_0x1b1df3=_0x5a0647[_0x5387d3+0x7],_0x5b264d=_0x5a0647[_0x5387d3+0x8],_0x320a00=_0x5a0647[_0x5387d3+0x9],_0x38269c=_0x5a0647[_0x5387d3+0xa],_0x4f415c=_0x5a0647[_0x5387d3+0xb],_0x216479=_0x5a0647[_0x5387d3+0xc],_0x4137af=_0x5a0647[_0x5387d3+0xd],_0x25cff7=_0x5a0647[_0x5387d3+0xe],_0x3c03a2=_0x5a0647[_0x5387d3+0xf],_0x176d1b=_0x73adbf[0x0],_0x52cf30=_0x73adbf[0x1],_0x3c4821=_0x73adbf[0x2],_0x4b5650=_0x73adbf[0x3];_0x176d1b=_0x38e427(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x4f3f33,0x7,_0x1b224c[0x0]),_0x4b5650=_0x38e427(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x141f07,0xc,_0x1b224c[0x1]),_0x3c4821=_0x38e427(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x411dec,0x11,_0x1b224c[0x2]),_0x52cf30=_0x38e427(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x230520,0x16,_0x1b224c[0x3]),_0x176d1b=_0x38e427(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x404dc6,0x7,_0x1b224c[0x4]),_0x4b5650=_0x38e427(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x206ab8,0xc,_0x1b224c[0x5]),_0x3c4821=_0x38e427(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x5391f8,0x11,_0x1b224c[0x6]),_0x52cf30=_0x38e427(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x1b1df3,0x16,_0x1b224c[0x7]),_0x176d1b=_0x38e427(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x5b264d,0x7,_0x1b224c[0x8]),_0x4b5650=_0x38e427(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x320a00,0xc,_0x1b224c[0x9]),_0x3c4821=_0x38e427(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x38269c,0x11,_0x1b224c[0xa]),_0x52cf30=_0x38e427(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x4f415c,0x16,_0x1b224c[0xb]),_0x176d1b=_0x38e427(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x216479,0x7,_0x1b224c[0xc]),_0x4b5650=_0x38e427(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x4137af,0xc,_0x1b224c[0xd]),_0x3c4821=_0x38e427(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x25cff7,0x11,_0x1b224c[0xe]),_0x52cf30=_0x38e427(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x3c03a2,0x16,_0x1b224c[0xf]),_0x176d1b=_0x2379b9(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x141f07,0x5,_0x1b224c[0x10]),_0x4b5650=_0x2379b9(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x5391f8,0x9,_0x1b224c[0x11]),_0x3c4821=_0x2379b9(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x4f415c,0xe,_0x1b224c[0x12]),_0x52cf30=_0x2379b9(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x4f3f33,0x14,_0x1b224c[0x13]),_0x176d1b=_0x2379b9(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x206ab8,0x5,_0x1b224c[0x14]),_0x4b5650=_0x2379b9(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x38269c,0x9,_0x1b224c[0x15]),_0x3c4821=_0x2379b9(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x3c03a2,0xe,_0x1b224c[0x16]),_0x52cf30=_0x2379b9(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x404dc6,0x14,_0x1b224c[0x17]),_0x176d1b=_0x2379b9(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x320a00,0x5,_0x1b224c[0x18]),_0x4b5650=_0x2379b9(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x25cff7,0x9,_0x1b224c[0x19]),_0x3c4821=_0x2379b9(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x230520,0xe,_0x1b224c[0x1a]),_0x52cf30=_0x2379b9(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x5b264d,0x14,_0x1b224c[0x1b]),_0x176d1b=_0x2379b9(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x4137af,0x5,_0x1b224c[0x1c]),_0x4b5650=_0x2379b9(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x411dec,0x9,_0x1b224c[0x1d]),_0x3c4821=_0x2379b9(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x1b1df3,0xe,_0x1b224c[0x1e]),_0x52cf30=_0x2379b9(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x216479,0x14,_0x1b224c[0x1f]),_0x176d1b=_0x1314b3(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x206ab8,0x4,_0x1b224c[0x20]),_0x4b5650=_0x1314b3(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x5b264d,0xb,_0x1b224c[0x21]),_0x3c4821=_0x1314b3(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x4f415c,0x10,_0x1b224c[0x22]),_0x52cf30=_0x1314b3(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x25cff7,0x17,_0x1b224c[0x23]),_0x176d1b=_0x1314b3(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x141f07,0x4,_0x1b224c[0x24]),_0x4b5650=_0x1314b3(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x404dc6,0xb,_0x1b224c[0x25]),_0x3c4821=_0x1314b3(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x1b1df3,0x10,_0x1b224c[0x26]),_0x52cf30=_0x1314b3(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x38269c,0x17,_0x1b224c[0x27]),_0x176d1b=_0x1314b3(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x4137af,0x4,_0x1b224c[0x28]),_0x4b5650=_0x1314b3(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x4f3f33,0xb,_0x1b224c[0x29]),_0x3c4821=_0x1314b3(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x230520,0x10,_0x1b224c[0x2a]),_0x52cf30=_0x1314b3(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x5391f8,0x17,_0x1b224c[0x2b]),_0x176d1b=_0x1314b3(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x320a00,0x4,_0x1b224c[0x2c]),_0x4b5650=_0x1314b3(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x216479,0xb,_0x1b224c[0x2d]),_0x3c4821=_0x1314b3(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x3c03a2,0x10,_0x1b224c[0x2e]),_0x52cf30=_0x1314b3(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x411dec,0x17,_0x1b224c[0x2f]),_0x176d1b=_0x4de09d(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x4f3f33,0x6,_0x1b224c[0x30]),_0x4b5650=_0x4de09d(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x1b1df3,0xa,_0x1b224c[0x31]),_0x3c4821=_0x4de09d(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x25cff7,0xf,_0x1b224c[0x32]),_0x52cf30=_0x4de09d(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x206ab8,0x15,_0x1b224c[0x33]),_0x176d1b=_0x4de09d(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x216479,0x6,_0x1b224c[0x34]),_0x4b5650=_0x4de09d(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x230520,0xa,_0x1b224c[0x35]),_0x3c4821=_0x4de09d(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x38269c,0xf,_0x1b224c[0x36]),_0x52cf30=_0x4de09d(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x141f07,0x15,_0x1b224c[0x37]),_0x176d1b=_0x4de09d(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x5b264d,0x6,_0x1b224c[0x38]),_0x4b5650=_0x4de09d(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x3c03a2,0xa,_0x1b224c[0x39]),_0x3c4821=_0x4de09d(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x5391f8,0xf,_0x1b224c[0x3a]),_0x52cf30=_0x4de09d(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x4137af,0x15,_0x1b224c[0x3b]),_0x176d1b=_0x4de09d(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x404dc6,0x6,_0x1b224c[0x3c]),_0x4b5650=_0x4de09d(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x4f415c,0xa,_0x1b224c[0x3d]),_0x3c4821=_0x4de09d(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x411dec,0xf,_0x1b224c[0x3e]),_0x52cf30=_0x4de09d(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x320a00,0x15,_0x1b224c[0x3f]),_0x73adbf[0x0]=_0x73adbf[0x0]+_0x176d1b|0x0,_0x73adbf[0x1]=_0x73adbf[0x1]+_0x52cf30|0x0,_0x73adbf[0x2]=_0x73adbf[0x2]+_0x3c4821|0x0,_0x73adbf[0x3]=_0x73adbf[0x3]+_0x4b5650|0x0;},'_doFinalize':function(){const _0x1cacff=_0x186bb8;var _0x211777=this[_0x1cacff(0x3ec)],_0x16b19f=_0x211777[_0x1cacff(0x1e1)],_0x40fd85=this[_0x1cacff(0x2c2)]*0x8,_0x627ad=_0x211777[_0x1cacff(0x2e5)]*0x8;_0x16b19f[_0x627ad>>>0x5]|=0x80<<0x18-_0x627ad%0x20;var _0x5cb99d=_0x223e13[_0x1cacff(0x30b)](_0x40fd85/0x100000000),_0x13a83a=_0x40fd85;_0x16b19f[(_0x627ad+0x40>>>0x9<<0x4)+0xf]=(_0x5cb99d<<0x8|_0x5cb99d>>>0x18)&0xff00ff|(_0x5cb99d<<0x18|_0x5cb99d>>>0x8)&0xff00ff00,_0x16b19f[(_0x627ad+0x40>>>0x9<<0x4)+0xe]=(_0x13a83a<<0x8|_0x13a83a>>>0x18)&0xff00ff|(_0x13a83a<<0x18|_0x13a83a>>>0x8)&0xff00ff00,_0x211777[_0x1cacff(0x2e5)]=(_0x16b19f[_0x1cacff(0x256)]+0x1)*0x4,this['_process']();for(var _0x39d9d8=this[_0x1cacff(0x3a4)],_0x13f0c8=_0x39d9d8[_0x1cacff(0x1e1)],_0x561328=0x0;_0x561328<0x4;_0x561328++){var _0x112df3=_0x13f0c8[_0x561328];_0x13f0c8[_0x561328]=(_0x112df3<<0x8|_0x112df3>>>0x18)&0xff00ff|(_0x112df3<<0x18|_0x112df3>>>0x8)&0xff00ff00;}return _0x39d9d8;},'clone':function(){const _0x52c3c4=_0x186bb8;var _0x4ed345=_0x2e5c18[_0x52c3c4(0x3e9)][_0x52c3c4(0x211)](this);return _0x4ed345[_0x52c3c4(0x3a4)]=this[_0x52c3c4(0x3a4)]['clone'](),_0x4ed345;}});function _0x38e427(_0x1454a4,_0x1b0011,_0x4cd72b,_0x167edb,_0x253c3d,_0x3e90ec,_0x21e705){var _0x47b0aa=_0x1454a4+(_0x1b0011&_0x4cd72b|~_0x1b0011&_0x167edb)+_0x253c3d+_0x21e705;return(_0x47b0aa<<_0x3e90ec|_0x47b0aa>>>0x20-_0x3e90ec)+_0x1b0011;}function _0x2379b9(_0x372eba,_0x37361b,_0x4ca2a1,_0x534d60,_0x1687d8,_0x40efd7,_0x46ae64){var _0x3e5303=_0x372eba+(_0x37361b&_0x534d60|_0x4ca2a1&~_0x534d60)+_0x1687d8+_0x46ae64;return(_0x3e5303<<_0x40efd7|_0x3e5303>>>0x20-_0x40efd7)+_0x37361b;}function _0x1314b3(_0x312d7e,_0x5421b6,_0x4f666b,_0x16d33d,_0x262b54,_0x578444,_0x3520aa){var _0x519984=_0x312d7e+(_0x5421b6^_0x4f666b^_0x16d33d)+_0x262b54+_0x3520aa;return(_0x519984<<_0x578444|_0x519984>>>0x20-_0x578444)+_0x5421b6;}function _0x4de09d(_0x452884,_0xea6214,_0x3c292d,_0x5c2f7c,_0x3b7753,_0x4e438d,_0x8c7299){var _0x1ab32a=_0x452884+(_0x3c292d^(_0xea6214|~_0x5c2f7c))+_0x3b7753+_0x8c7299;return(_0x1ab32a<<_0x4e438d|_0x1ab32a>>>0x20-_0x4e438d)+_0xea6214;}_0x52271f[_0x186bb8(0x3bd)]=_0x2e5c18[_0x186bb8(0x2eb)](_0x341caa),_0x52271f['HmacMD5']=_0x2e5c18[_0x186bb8(0x541)](_0x341caa);}(Math),_0x34ced6[_0x5835f5(0x3bd)];}));}(Gt)),Gt[_0x31ce88(0x1dc)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x1b6e18=_0x4299a1;return Qs||(Qs=0x1,function(_0x54b3a7,_0xdcffa0){(function(_0x31be6b,_0x143c18){_0x54b3a7['exports']=_0x143c18(ue());}(Z,function(_0x1c2ee2){const _0xc210db=_0x1dba;return(function(){const _0x6b5321=_0x1dba;var _0x1b5810=_0x1c2ee2,_0x130f58=_0x1b5810['lib'],_0x26367f=_0x130f58[_0x6b5321(0x25c)],_0x12ae51=_0x130f58[_0x6b5321(0x5a8)],_0x4e8191=_0x1b5810[_0x6b5321(0x3e8)],_0x15a7cf=[],_0x4ef515=_0x4e8191[_0x6b5321(0x322)]=_0x12ae51[_0x6b5321(0x257)]({'_doReset':function(){const _0x3eccda=_0x6b5321;this['_hash']=new _0x26367f[(_0x3eccda(0x369))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xe2d878,_0xc42c70){const _0x551604=_0x6b5321;for(var _0x4f4e7e=this[_0x551604(0x3a4)][_0x551604(0x1e1)],_0x26f2ec=_0x4f4e7e[0x0],_0x57e295=_0x4f4e7e[0x1],_0x38724b=_0x4f4e7e[0x2],_0x52efb4=_0x4f4e7e[0x3],_0xcdcbdd=_0x4f4e7e[0x4],_0x4480e2=0x0;_0x4480e2<0x50;_0x4480e2++){if(_0x4480e2<0x10)_0x15a7cf[_0x4480e2]=_0xe2d878[_0xc42c70+_0x4480e2]|0x0;else{var _0xc23bf1=_0x15a7cf[_0x4480e2-0x3]^_0x15a7cf[_0x4480e2-0x8]^_0x15a7cf[_0x4480e2-0xe]^_0x15a7cf[_0x4480e2-0x10];_0x15a7cf[_0x4480e2]=_0xc23bf1<<0x1|_0xc23bf1>>>0x1f;}var _0x21d6bf=(_0x26f2ec<<0x5|_0x26f2ec>>>0x1b)+_0xcdcbdd+_0x15a7cf[_0x4480e2];_0x4480e2<0x14?_0x21d6bf+=(_0x57e295&_0x38724b|~_0x57e295&_0x52efb4)+0x5a827999:_0x4480e2<0x28?_0x21d6bf+=(_0x57e295^_0x38724b^_0x52efb4)+0x6ed9eba1:_0x4480e2<0x3c?_0x21d6bf+=(_0x57e295&_0x38724b|_0x57e295&_0x52efb4|_0x38724b&_0x52efb4)-0x70e44324:_0x21d6bf+=(_0x57e295^_0x38724b^_0x52efb4)-0x359d3e2a,_0xcdcbdd=_0x52efb4,_0x52efb4=_0x38724b,_0x38724b=_0x57e295<<0x1e|_0x57e295>>>0x2,_0x57e295=_0x26f2ec,_0x26f2ec=_0x21d6bf;}_0x4f4e7e[0x0]=_0x4f4e7e[0x0]+_0x26f2ec|0x0,_0x4f4e7e[0x1]=_0x4f4e7e[0x1]+_0x57e295|0x0,_0x4f4e7e[0x2]=_0x4f4e7e[0x2]+_0x38724b|0x0,_0x4f4e7e[0x3]=_0x4f4e7e[0x3]+_0x52efb4|0x0,_0x4f4e7e[0x4]=_0x4f4e7e[0x4]+_0xcdcbdd|0x0;},'_doFinalize':function(){const _0x31f66a=_0x6b5321;var _0x1e5601=this['_data'],_0x4202ec=_0x1e5601[_0x31f66a(0x1e1)],_0xe99fb4=this['_nDataBytes']*0x8,_0x5c64a5=_0x1e5601[_0x31f66a(0x2e5)]*0x8;return _0x4202ec[_0x5c64a5>>>0x5]|=0x80<<0x18-_0x5c64a5%0x20,_0x4202ec[(_0x5c64a5+0x40>>>0x9<<0x4)+0xe]=Math[_0x31f66a(0x30b)](_0xe99fb4/0x100000000),_0x4202ec[(_0x5c64a5+0x40>>>0x9<<0x4)+0xf]=_0xe99fb4,_0x1e5601[_0x31f66a(0x2e5)]=_0x4202ec[_0x31f66a(0x256)]*0x4,this['_process'](),this[_0x31f66a(0x3a4)];},'clone':function(){const _0x2ad7c4=_0x6b5321;var _0x5108a6=_0x12ae51['clone']['call'](this);return _0x5108a6['_hash']=this[_0x2ad7c4(0x3a4)][_0x2ad7c4(0x3e9)](),_0x5108a6;}});_0x1b5810[_0x6b5321(0x322)]=_0x12ae51[_0x6b5321(0x2eb)](_0x4ef515),_0x1b5810[_0x6b5321(0x238)]=_0x12ae51[_0x6b5321(0x541)](_0x4ef515);}()),_0x1c2ee2[_0xc210db(0x322)];}));}(Kt)),Kt[_0x1b6e18(0x1dc)];}var zt={'exports':{}},ei;function La(){const _0x4764c8=_0x4299a1;return ei||(ei=0x1,function(_0x4c3c4b,_0x2c9cf9){(function(_0x4dc43a,_0x2872a7){const _0x306f62=_0x1dba;_0x4c3c4b[_0x306f62(0x1dc)]=_0x2872a7(ue());}(Z,function(_0x560c5b){(function(){const _0x5cd77d=_0x1dba;var _0x341b00=_0x560c5b,_0x23c50d=_0x341b00[_0x5cd77d(0x457)],_0x4771e6=_0x23c50d['Base'],_0xc0bbbd=_0x341b00[_0x5cd77d(0x5b3)],_0x4222e7=_0xc0bbbd[_0x5cd77d(0x529)],_0x3e370d=_0x341b00[_0x5cd77d(0x3e8)];_0x3e370d[_0x5cd77d(0x477)]=_0x4771e6[_0x5cd77d(0x257)]({'init':function(_0x519e2f,_0x313b9d){const _0x3278ae=_0x5cd77d;_0x519e2f=this['_hasher']=new _0x519e2f[(_0x3278ae(0x369))](),typeof _0x313b9d==_0x3278ae(0x3b4)&&(_0x313b9d=_0x4222e7[_0x3278ae(0x255)](_0x313b9d));var _0x47ec7d=_0x519e2f[_0x3278ae(0x54e)],_0x2c0dca=_0x47ec7d*0x4;_0x313b9d[_0x3278ae(0x2e5)]>_0x2c0dca&&(_0x313b9d=_0x519e2f[_0x3278ae(0x205)](_0x313b9d)),_0x313b9d[_0x3278ae(0x400)]();for(var _0x1ad64e=this['_oKey']=_0x313b9d[_0x3278ae(0x3e9)](),_0x2a22e7=this[_0x3278ae(0x2e1)]=_0x313b9d[_0x3278ae(0x3e9)](),_0x59dc80=_0x1ad64e['words'],_0x13ddc9=_0x2a22e7[_0x3278ae(0x1e1)],_0x4a6bc0=0x0;_0x4a6bc0<_0x47ec7d;_0x4a6bc0++)_0x59dc80[_0x4a6bc0]^=0x5c5c5c5c,_0x13ddc9[_0x4a6bc0]^=0x36363636;_0x1ad64e[_0x3278ae(0x2e5)]=_0x2a22e7['sigBytes']=_0x2c0dca,this[_0x3278ae(0x488)]();},'reset':function(){const _0x4d066c=_0x5cd77d;var _0x12ee44=this[_0x4d066c(0x245)];_0x12ee44[_0x4d066c(0x488)](),_0x12ee44[_0x4d066c(0x307)](this['_iKey']);},'update':function(_0x436e8f){const _0x56c591=_0x5cd77d;return this[_0x56c591(0x245)][_0x56c591(0x307)](_0x436e8f),this;},'finalize':function(_0x1af84e){const _0x524b51=_0x5cd77d;var _0xf707a5=this[_0x524b51(0x245)],_0x188cdf=_0xf707a5[_0x524b51(0x205)](_0x1af84e);_0xf707a5['reset']();var _0x285dfb=_0xf707a5[_0x524b51(0x205)](this[_0x524b51(0x569)][_0x524b51(0x3e9)]()[_0x524b51(0x34d)](_0x188cdf));return _0x285dfb;}});}());}));}(zt)),zt[_0x4764c8(0x1dc)];}var ti;function ki(){const _0x359319=_0x4299a1;return ti||(ti=0x1,function(_0x535f57,_0x342a43){(function(_0x3cfb95,_0x24b233,_0x250ade){_0x535f57['exports']=_0x24b233(ue(),xa(),La());}(Z,function(_0x1d4f4d){const _0x5b062e=_0x1dba;return(function(){const _0xbb0666=_0x1dba;var _0x751771=_0x1d4f4d,_0x23e413=_0x751771[_0xbb0666(0x457)],_0x17f8ab=_0x23e413[_0xbb0666(0x543)],_0x4181fc=_0x23e413[_0xbb0666(0x25c)],_0x7bf321=_0x751771[_0xbb0666(0x3e8)],_0xd60c85=_0x7bf321[_0xbb0666(0x3bd)],_0x14be85=_0x7bf321[_0xbb0666(0x1f4)]=_0x17f8ab[_0xbb0666(0x257)]({'cfg':_0x17f8ab[_0xbb0666(0x257)]({'keySize':0x80/0x20,'hasher':_0xd60c85,'iterations':0x1}),'init':function(_0x43e4ce){const _0x2e52dc=_0xbb0666;this['cfg']=this[_0x2e52dc(0x2e8)][_0x2e52dc(0x257)](_0x43e4ce);},'compute':function(_0x192dc2,_0xbc2b55){const _0x9fc1e=_0xbb0666;for(var _0x44570a,_0x19f968=this['cfg'],_0x2583ff=_0x19f968[_0x9fc1e(0x377)][_0x9fc1e(0x2f1)](),_0x18fe01=_0x4181fc['create'](),_0x9eccf=_0x18fe01[_0x9fc1e(0x1e1)],_0x5df9ab=_0x19f968[_0x9fc1e(0x42f)],_0x56e08e=_0x19f968['iterations'];_0x9eccf[_0x9fc1e(0x256)]<_0x5df9ab;){_0x44570a&&_0x2583ff['update'](_0x44570a),_0x44570a=_0x2583ff[_0x9fc1e(0x307)](_0x192dc2)[_0x9fc1e(0x205)](_0xbc2b55),_0x2583ff[_0x9fc1e(0x488)]();for(var _0x4f6565=0x1;_0x4f6565<_0x56e08e;_0x4f6565++)_0x44570a=_0x2583ff['finalize'](_0x44570a),_0x2583ff[_0x9fc1e(0x488)]();_0x18fe01[_0x9fc1e(0x34d)](_0x44570a);}return _0x18fe01['sigBytes']=_0x5df9ab*0x4,_0x18fe01;}});_0x751771['EvpKDF']=function(_0x4014cd,_0x2fed8a,_0x311e76){const _0x17f91d=_0xbb0666;return _0x14be85[_0x17f91d(0x2f1)](_0x311e76)[_0x17f91d(0x336)](_0x4014cd,_0x2fed8a);};}()),_0x1d4f4d[_0x5b062e(0x1f4)];}));}(Yt)),Yt[_0x359319(0x1dc)];}var qt={'exports':{}},si;function Wi(){const _0x53fa54=_0x4299a1;return si||(si=0x1,function(_0x33aff6,_0x5af17e){(function(_0x52ee65,_0x59c78b,_0x387a99){const _0xdbf3f5=_0x1dba;_0x33aff6[_0xdbf3f5(0x1dc)]=_0x59c78b(ue(),ki());}(Z,function(_0x4c7219){const _0x1d0d3d=_0x1dba;_0x4c7219[_0x1d0d3d(0x457)][_0x1d0d3d(0x5b4)]||function(_0x14b5f0){const _0x56a767=_0x1d0d3d;var _0x1712b7=_0x4c7219,_0x53e46b=_0x1712b7[_0x56a767(0x457)],_0x4ad3fe=_0x53e46b[_0x56a767(0x543)],_0x3f72c3=_0x53e46b[_0x56a767(0x25c)],_0x567ea8=_0x53e46b[_0x56a767(0x4ac)],_0x36926c=_0x1712b7[_0x56a767(0x5b3)];_0x36926c[_0x56a767(0x529)];var _0x287df0=_0x36926c[_0x56a767(0x27f)],_0x3b14de=_0x1712b7[_0x56a767(0x3e8)],_0xe3a13a=_0x3b14de[_0x56a767(0x1f4)],_0x5d56a7=_0x53e46b['Cipher']=_0x567ea8[_0x56a767(0x257)]({'cfg':_0x4ad3fe[_0x56a767(0x257)](),'createEncryptor':function(_0x39af0e,_0x17a092){const _0x4f87fa=_0x56a767;return this['create'](this[_0x4f87fa(0x320)],_0x39af0e,_0x17a092);},'createDecryptor':function(_0x20d035,_0x47a4e4){const _0x106f9c=_0x56a767;return this[_0x106f9c(0x2f1)](this[_0x106f9c(0x1fa)],_0x20d035,_0x47a4e4);},'init':function(_0xa78689,_0x1cd810,_0x487471){const _0x10a50c=_0x56a767;this[_0x10a50c(0x2e8)]=this[_0x10a50c(0x2e8)][_0x10a50c(0x257)](_0x487471),this[_0x10a50c(0x207)]=_0xa78689,this[_0x10a50c(0x21b)]=_0x1cd810,this[_0x10a50c(0x488)]();},'reset':function(){const _0x4e532f=_0x56a767;_0x567ea8[_0x4e532f(0x488)][_0x4e532f(0x211)](this),this[_0x4e532f(0x287)]();},'process':function(_0x40febb){const _0x552744=_0x56a767;return this[_0x552744(0x282)](_0x40febb),this['_process']();},'finalize':function(_0x5e3c9d){const _0x130bf2=_0x56a767;_0x5e3c9d&&this['_append'](_0x5e3c9d);var _0x33be27=this[_0x130bf2(0x1cc)]();return _0x33be27;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x30ae3e(_0x46007c){const _0x51d9bb=_0x1dba;return typeof _0x46007c==_0x51d9bb(0x3b4)?_0x395aab:_0x1fb74f;}return function(_0x394383){return{'encrypt':function(_0x220eeb,_0x2dd454,_0x18ddeb){const _0x4f247b=_0x1dba;return _0x30ae3e(_0x2dd454)[_0x4f247b(0x45b)](_0x394383,_0x220eeb,_0x2dd454,_0x18ddeb);},'decrypt':function(_0x427fa9,_0x5baa57,_0x33bc51){const _0x56dda7=_0x1dba;return _0x30ae3e(_0x5baa57)[_0x56dda7(0x3b7)](_0x394383,_0x427fa9,_0x5baa57,_0x33bc51);}};};}())});_0x53e46b['StreamCipher']=_0x5d56a7[_0x56a767(0x257)]({'_doFinalize':function(){const _0x49a9a3=_0x56a767;var _0x3bf0ca=this[_0x49a9a3(0x4a0)](!0x0);return _0x3bf0ca;},'blockSize':0x1});var _0x4c6b33=_0x1712b7[_0x56a767(0x3d7)]={},_0x4a3f16=_0x53e46b[_0x56a767(0x52a)]=_0x4ad3fe['extend']({'createEncryptor':function(_0xe42763,_0x287adc){const _0x12de45=_0x56a767;return this[_0x12de45(0x542)][_0x12de45(0x2f1)](_0xe42763,_0x287adc);},'createDecryptor':function(_0x17c4d5,_0x3fc7fa){const _0x9a83b=_0x56a767;return this[_0x9a83b(0x489)][_0x9a83b(0x2f1)](_0x17c4d5,_0x3fc7fa);},'init':function(_0x37fa6b,_0x3f5735){const _0x3f4322=_0x56a767;this[_0x3f4322(0x4d1)]=_0x37fa6b,this['_iv']=_0x3f5735;}}),_0xbe8daa=_0x4c6b33['CBC']=(function(){const _0x26d49d=_0x56a767;var _0x466fe7=_0x4a3f16[_0x26d49d(0x257)]();_0x466fe7[_0x26d49d(0x542)]=_0x466fe7['extend']({'processBlock':function(_0x10bb2b,_0x4ed783){const _0x5e4191=_0x26d49d;var _0x1e3221=this[_0x5e4191(0x4d1)],_0x4833cd=_0x1e3221[_0x5e4191(0x54e)];_0x6ce0a6['call'](this,_0x10bb2b,_0x4ed783,_0x4833cd),_0x1e3221['encryptBlock'](_0x10bb2b,_0x4ed783),this[_0x5e4191(0x1c6)]=_0x10bb2b[_0x5e4191(0x375)](_0x4ed783,_0x4ed783+_0x4833cd);}}),_0x466fe7[_0x26d49d(0x489)]=_0x466fe7[_0x26d49d(0x257)]({'processBlock':function(_0x3a01f9,_0x353fd7){const _0x443a6c=_0x26d49d;var _0x17bc90=this[_0x443a6c(0x4d1)],_0x3fd761=_0x17bc90[_0x443a6c(0x54e)],_0x34859e=_0x3a01f9[_0x443a6c(0x375)](_0x353fd7,_0x353fd7+_0x3fd761);_0x17bc90['decryptBlock'](_0x3a01f9,_0x353fd7),_0x6ce0a6['call'](this,_0x3a01f9,_0x353fd7,_0x3fd761),this[_0x443a6c(0x1c6)]=_0x34859e;}});function _0x6ce0a6(_0x1fa772,_0xfa0db9,_0xd1dee1){const _0x233198=_0x26d49d;var _0x2cb31f,_0x51fdff=this['_iv'];_0x51fdff?(_0x2cb31f=_0x51fdff,this['_iv']=_0x14b5f0):_0x2cb31f=this[_0x233198(0x1c6)];for(var _0x11a93f=0x0;_0x11a93f<_0xd1dee1;_0x11a93f++)_0x1fa772[_0xfa0db9+_0x11a93f]^=_0x2cb31f[_0x11a93f];}return _0x466fe7;}()),_0xfbb5fb=_0x1712b7['pad']={},_0x402ed3=_0xfbb5fb[_0x56a767(0x425)]={'pad':function(_0x187e5d,_0x4255b8){const _0x418032=_0x56a767;for(var _0x2df68e=_0x4255b8*0x4,_0x586d94=_0x2df68e-_0x187e5d[_0x418032(0x2e5)]%_0x2df68e,_0x175602=_0x586d94<<0x18|_0x586d94<<0x10|_0x586d94<<0x8|_0x586d94,_0x530edc=[],_0xe78df4=0x0;_0xe78df4<_0x586d94;_0xe78df4+=0x4)_0x530edc[_0x418032(0x499)](_0x175602);var _0x35bf68=_0x3f72c3[_0x418032(0x2f1)](_0x530edc,_0x586d94);_0x187e5d[_0x418032(0x34d)](_0x35bf68);},'unpad':function(_0x4f7d51){const _0x4701c7=_0x56a767;var _0x31ed6f=_0x4f7d51[_0x4701c7(0x1e1)][_0x4f7d51['sigBytes']-0x1>>>0x2]&0xff;_0x4f7d51[_0x4701c7(0x2e5)]-=_0x31ed6f;}};_0x53e46b['BlockCipher']=_0x5d56a7['extend']({'cfg':_0x5d56a7[_0x56a767(0x2e8)]['extend']({'mode':_0xbe8daa,'padding':_0x402ed3}),'reset':function(){const _0x525b40=_0x56a767;var _0x3406a3;_0x5d56a7[_0x525b40(0x488)]['call'](this);var _0x281e63=this[_0x525b40(0x2e8)],_0x21de2b=_0x281e63['iv'],_0x1542c=_0x281e63[_0x525b40(0x3d7)];this[_0x525b40(0x207)]==this[_0x525b40(0x320)]?_0x3406a3=_0x1542c['createEncryptor']:(_0x3406a3=_0x1542c[_0x525b40(0x33d)],this[_0x525b40(0x3a2)]=0x1),this[_0x525b40(0x1e7)]&&this[_0x525b40(0x1e7)][_0x525b40(0x4ee)]==_0x3406a3?this[_0x525b40(0x1e7)][_0x525b40(0x369)](this,_0x21de2b&&_0x21de2b[_0x525b40(0x1e1)]):(this[_0x525b40(0x1e7)]=_0x3406a3[_0x525b40(0x211)](_0x1542c,this,_0x21de2b&&_0x21de2b[_0x525b40(0x1e1)]),this[_0x525b40(0x1e7)]['__creator']=_0x3406a3);},'_doProcessBlock':function(_0x28dea7,_0x5d190f){const _0x2906c9=_0x56a767;this[_0x2906c9(0x1e7)][_0x2906c9(0x252)](_0x28dea7,_0x5d190f);},'_doFinalize':function(){const _0x12b164=_0x56a767;var _0x30eba5,_0x51b465=this[_0x12b164(0x2e8)][_0x12b164(0x216)];return this[_0x12b164(0x207)]==this[_0x12b164(0x320)]?(_0x51b465[_0x12b164(0x3b0)](this['_data'],this[_0x12b164(0x54e)]),_0x30eba5=this[_0x12b164(0x4a0)](!0x0)):(_0x30eba5=this[_0x12b164(0x4a0)](!0x0),_0x51b465[_0x12b164(0x549)](_0x30eba5)),_0x30eba5;},'blockSize':0x80/0x20});var _0x2d70c9=_0x53e46b[_0x56a767(0x2ac)]=_0x4ad3fe['extend']({'init':function(_0x1a9326){const _0x163b33=_0x56a767;this[_0x163b33(0x539)](_0x1a9326);},'toString':function(_0x1dc069){const _0x5b2ef2=_0x56a767;return(_0x1dc069||this[_0x5b2ef2(0x3f5)])[_0x5b2ef2(0x1fb)](this);}}),_0x453c6d=_0x1712b7[_0x56a767(0x447)]={},_0x491dc0=_0x453c6d[_0x56a767(0x4fe)]={'stringify':function(_0x18f929){const _0x597f4d=_0x56a767;var _0x36d280,_0xda11a7=_0x18f929['ciphertext'],_0x3ebe02=_0x18f929[_0x597f4d(0x29d)];return _0x3ebe02?_0x36d280=_0x3f72c3['create']([0x53616c74,0x65645f5f])[_0x597f4d(0x34d)](_0x3ebe02)['concat'](_0xda11a7):_0x36d280=_0xda11a7,_0x36d280['toString'](_0x287df0);},'parse':function(_0x20ebc5){const _0x1d8dd9=_0x56a767;var _0x145ada,_0x4b70e0=_0x287df0[_0x1d8dd9(0x255)](_0x20ebc5),_0x3eb193=_0x4b70e0[_0x1d8dd9(0x1e1)];return _0x3eb193[0x0]==0x53616c74&&_0x3eb193[0x1]==0x65645f5f&&(_0x145ada=_0x3f72c3[_0x1d8dd9(0x2f1)](_0x3eb193[_0x1d8dd9(0x375)](0x2,0x4)),_0x3eb193['splice'](0x0,0x4),_0x4b70e0[_0x1d8dd9(0x2e5)]-=0x10),_0x2d70c9[_0x1d8dd9(0x2f1)]({'ciphertext':_0x4b70e0,'salt':_0x145ada});}},_0x1fb74f=_0x53e46b[_0x56a767(0x467)]=_0x4ad3fe['extend']({'cfg':_0x4ad3fe['extend']({'format':_0x491dc0}),'encrypt':function(_0x40b886,_0x22eeee,_0x1e2363,_0x298773){const _0x522cd0=_0x56a767;_0x298773=this[_0x522cd0(0x2e8)][_0x522cd0(0x257)](_0x298773);var _0x57a048=_0x40b886[_0x522cd0(0x1fc)](_0x1e2363,_0x298773),_0x287bf1=_0x57a048['finalize'](_0x22eeee),_0x3c09ba=_0x57a048['cfg'];return _0x2d70c9[_0x522cd0(0x2f1)]({'ciphertext':_0x287bf1,'key':_0x1e2363,'iv':_0x3c09ba['iv'],'algorithm':_0x40b886,'mode':_0x3c09ba[_0x522cd0(0x3d7)],'padding':_0x3c09ba[_0x522cd0(0x216)],'blockSize':_0x40b886[_0x522cd0(0x54e)],'formatter':_0x298773['format']});},'decrypt':function(_0x3a7daa,_0x644d68,_0x23b511,_0x4f2b8f){const _0x5b0087=_0x56a767;_0x4f2b8f=this[_0x5b0087(0x2e8)][_0x5b0087(0x257)](_0x4f2b8f),_0x644d68=this[_0x5b0087(0x315)](_0x644d68,_0x4f2b8f[_0x5b0087(0x447)]);var _0x202fc5=_0x3a7daa[_0x5b0087(0x33d)](_0x23b511,_0x4f2b8f)['finalize'](_0x644d68[_0x5b0087(0x228)]);return _0x202fc5;},'_parse':function(_0x5d4f8d,_0xce805c){const _0x34e49d=_0x56a767;return typeof _0x5d4f8d==_0x34e49d(0x3b4)?_0xce805c[_0x34e49d(0x255)](_0x5d4f8d,this):_0x5d4f8d;}}),_0x307cf3=_0x1712b7[_0x56a767(0x2ca)]={},_0x15f07a=_0x307cf3[_0x56a767(0x4fe)]={'execute':function(_0x53632d,_0x25b009,_0x136d76,_0x461ade,_0x36492a){const _0x531fd7=_0x56a767;if(_0x461ade||(_0x461ade=_0x3f72c3['random'](0x40/0x8)),_0x36492a)var _0x3921b0=_0xe3a13a[_0x531fd7(0x2f1)]({'keySize':_0x25b009+_0x136d76,'hasher':_0x36492a})[_0x531fd7(0x336)](_0x53632d,_0x461ade);else var _0x3921b0=_0xe3a13a['create']({'keySize':_0x25b009+_0x136d76})['compute'](_0x53632d,_0x461ade);var _0x420c04=_0x3f72c3['create'](_0x3921b0[_0x531fd7(0x1e1)][_0x531fd7(0x375)](_0x25b009),_0x136d76*0x4);return _0x3921b0[_0x531fd7(0x2e5)]=_0x25b009*0x4,_0x2d70c9[_0x531fd7(0x2f1)]({'key':_0x3921b0,'iv':_0x420c04,'salt':_0x461ade});}},_0x395aab=_0x53e46b[_0x56a767(0x455)]=_0x1fb74f[_0x56a767(0x257)]({'cfg':_0x1fb74f['cfg']['extend']({'kdf':_0x15f07a}),'encrypt':function(_0x1cbac3,_0x1d960f,_0x2c29a6,_0x562f0f){const _0x16bed8=_0x56a767;_0x562f0f=this[_0x16bed8(0x2e8)][_0x16bed8(0x257)](_0x562f0f);var _0x23031e=_0x562f0f[_0x16bed8(0x2ca)][_0x16bed8(0x36a)](_0x2c29a6,_0x1cbac3[_0x16bed8(0x42f)],_0x1cbac3[_0x16bed8(0x2df)],_0x562f0f[_0x16bed8(0x29d)],_0x562f0f[_0x16bed8(0x377)]);_0x562f0f['iv']=_0x23031e['iv'];var _0x3d03a8=_0x1fb74f[_0x16bed8(0x45b)]['call'](this,_0x1cbac3,_0x1d960f,_0x23031e[_0x16bed8(0x20b)],_0x562f0f);return _0x3d03a8[_0x16bed8(0x539)](_0x23031e),_0x3d03a8;},'decrypt':function(_0x377bd9,_0x35de9d,_0x25ce00,_0x21a522){const _0xad3ea4=_0x56a767;_0x21a522=this[_0xad3ea4(0x2e8)][_0xad3ea4(0x257)](_0x21a522),_0x35de9d=this[_0xad3ea4(0x315)](_0x35de9d,_0x21a522[_0xad3ea4(0x447)]);var _0x4e39e1=_0x21a522['kdf']['execute'](_0x25ce00,_0x377bd9['keySize'],_0x377bd9[_0xad3ea4(0x2df)],_0x35de9d[_0xad3ea4(0x29d)],_0x21a522['hasher']);_0x21a522['iv']=_0x4e39e1['iv'];var _0x331ed2=_0x1fb74f[_0xad3ea4(0x3b7)][_0xad3ea4(0x211)](this,_0x377bd9,_0x35de9d,_0x4e39e1[_0xad3ea4(0x20b)],_0x21a522);return _0x331ed2;}});}();}));}(qt)),qt[_0x53fa54(0x1dc)];}(function(_0x5128e4,_0x303438){(function(_0x5a8170,_0x721e5a,_0x384c23){const _0x4bb1ab=_0x1dba;_0x5128e4[_0x4bb1ab(0x1dc)]=_0x721e5a(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x4162b7){return(function(){const _0x458a10=_0x1dba;var _0x4984d0=_0x4162b7,_0x177ac4=_0x4984d0['lib'],_0xac063d=_0x177ac4['BlockCipher'],_0x5717f5=_0x4984d0[_0x458a10(0x3e8)],_0x2112ba=[],_0x861dba=[],_0x58faf8=[],_0x969d9f=[],_0x23e1e5=[],_0x2ad2b4=[],_0x9c18e5=[],_0x538782=[],_0x24d7ca=[],_0x5420b8=[];(function(){for(var _0x217cf6=[],_0x482e83=0x0;_0x482e83<0x100;_0x482e83++)_0x482e83<0x80?_0x217cf6[_0x482e83]=_0x482e83<<0x1:_0x217cf6[_0x482e83]=_0x482e83<<0x1^0x11b;for(var _0x11a0ab=0x0,_0x702e4c=0x0,_0x482e83=0x0;_0x482e83<0x100;_0x482e83++){var _0x4c11cf=_0x702e4c^_0x702e4c<<0x1^_0x702e4c<<0x2^_0x702e4c<<0x3^_0x702e4c<<0x4;_0x4c11cf=_0x4c11cf>>>0x8^_0x4c11cf&0xff^0x63,_0x2112ba[_0x11a0ab]=_0x4c11cf,_0x861dba[_0x4c11cf]=_0x11a0ab;var _0x187ec3=_0x217cf6[_0x11a0ab],_0x2b801c=_0x217cf6[_0x187ec3],_0x33065b=_0x217cf6[_0x2b801c],_0x4232b3=_0x217cf6[_0x4c11cf]*0x101^_0x4c11cf*0x1010100;_0x58faf8[_0x11a0ab]=_0x4232b3<<0x18|_0x4232b3>>>0x8,_0x969d9f[_0x11a0ab]=_0x4232b3<<0x10|_0x4232b3>>>0x10,_0x23e1e5[_0x11a0ab]=_0x4232b3<<0x8|_0x4232b3>>>0x18,_0x2ad2b4[_0x11a0ab]=_0x4232b3;var _0x4232b3=_0x33065b*0x1010101^_0x2b801c*0x10001^_0x187ec3*0x101^_0x11a0ab*0x1010100;_0x9c18e5[_0x4c11cf]=_0x4232b3<<0x18|_0x4232b3>>>0x8,_0x538782[_0x4c11cf]=_0x4232b3<<0x10|_0x4232b3>>>0x10,_0x24d7ca[_0x4c11cf]=_0x4232b3<<0x8|_0x4232b3>>>0x18,_0x5420b8[_0x4c11cf]=_0x4232b3,_0x11a0ab?(_0x11a0ab=_0x187ec3^_0x217cf6[_0x217cf6[_0x217cf6[_0x33065b^_0x187ec3]]],_0x702e4c^=_0x217cf6[_0x217cf6[_0x702e4c]]):_0x11a0ab=_0x702e4c=0x1;}}());var _0x55c4ad=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3fee18=_0x5717f5[_0x458a10(0x2ee)]=_0xac063d[_0x458a10(0x257)]({'_doReset':function(){const _0x34bcba=_0x458a10;var _0x48aeab;if(!(this['_nRounds']&&this[_0x34bcba(0x2bb)]===this[_0x34bcba(0x21b)])){for(var _0x322d4c=this[_0x34bcba(0x2bb)]=this['_key'],_0x429c2c=_0x322d4c[_0x34bcba(0x1e1)],_0x1e5665=_0x322d4c[_0x34bcba(0x2e5)]/0x4,_0x436bb9=this['_nRounds']=_0x1e5665+0x6,_0x3cac7f=(_0x436bb9+0x1)*0x4,_0x244dab=this[_0x34bcba(0x311)]=[],_0x1f8404=0x0;_0x1f8404<_0x3cac7f;_0x1f8404++)_0x1f8404<_0x1e5665?_0x244dab[_0x1f8404]=_0x429c2c[_0x1f8404]:(_0x48aeab=_0x244dab[_0x1f8404-0x1],_0x1f8404%_0x1e5665?_0x1e5665>0x6&&_0x1f8404%_0x1e5665==0x4&&(_0x48aeab=_0x2112ba[_0x48aeab>>>0x18]<<0x18|_0x2112ba[_0x48aeab>>>0x10&0xff]<<0x10|_0x2112ba[_0x48aeab>>>0x8&0xff]<<0x8|_0x2112ba[_0x48aeab&0xff]):(_0x48aeab=_0x48aeab<<0x8|_0x48aeab>>>0x18,_0x48aeab=_0x2112ba[_0x48aeab>>>0x18]<<0x18|_0x2112ba[_0x48aeab>>>0x10&0xff]<<0x10|_0x2112ba[_0x48aeab>>>0x8&0xff]<<0x8|_0x2112ba[_0x48aeab&0xff],_0x48aeab^=_0x55c4ad[_0x1f8404/_0x1e5665|0x0]<<0x18),_0x244dab[_0x1f8404]=_0x244dab[_0x1f8404-_0x1e5665]^_0x48aeab);for(var _0x3804de=this[_0x34bcba(0x490)]=[],_0x335336=0x0;_0x335336<_0x3cac7f;_0x335336++){var _0x1f8404=_0x3cac7f-_0x335336;if(_0x335336%0x4)var _0x48aeab=_0x244dab[_0x1f8404];else var _0x48aeab=_0x244dab[_0x1f8404-0x4];_0x335336<0x4||_0x1f8404<=0x4?_0x3804de[_0x335336]=_0x48aeab:_0x3804de[_0x335336]=_0x9c18e5[_0x2112ba[_0x48aeab>>>0x18]]^_0x538782[_0x2112ba[_0x48aeab>>>0x10&0xff]]^_0x24d7ca[_0x2112ba[_0x48aeab>>>0x8&0xff]]^_0x5420b8[_0x2112ba[_0x48aeab&0xff]];}}},'encryptBlock':function(_0x310a58,_0x26b298){const _0x267ba8=_0x458a10;this[_0x267ba8(0x32c)](_0x310a58,_0x26b298,this[_0x267ba8(0x311)],_0x58faf8,_0x969d9f,_0x23e1e5,_0x2ad2b4,_0x2112ba);},'decryptBlock':function(_0x21a993,_0x3c2fd9){const _0xd6139d=_0x458a10;var _0x5da15d=_0x21a993[_0x3c2fd9+0x1];_0x21a993[_0x3c2fd9+0x1]=_0x21a993[_0x3c2fd9+0x3],_0x21a993[_0x3c2fd9+0x3]=_0x5da15d,this['_doCryptBlock'](_0x21a993,_0x3c2fd9,this[_0xd6139d(0x490)],_0x9c18e5,_0x538782,_0x24d7ca,_0x5420b8,_0x861dba);var _0x5da15d=_0x21a993[_0x3c2fd9+0x1];_0x21a993[_0x3c2fd9+0x1]=_0x21a993[_0x3c2fd9+0x3],_0x21a993[_0x3c2fd9+0x3]=_0x5da15d;},'_doCryptBlock':function(_0x4383d9,_0x2d2792,_0x2ce41c,_0x1bad16,_0x1b12b2,_0x52b2cf,_0x4a5674,_0x4373e1){for(var _0x21cf84=this['_nRounds'],_0x2482f8=_0x4383d9[_0x2d2792]^_0x2ce41c[0x0],_0xf85134=_0x4383d9[_0x2d2792+0x1]^_0x2ce41c[0x1],_0x2fb118=_0x4383d9[_0x2d2792+0x2]^_0x2ce41c[0x2],_0x57ecdb=_0x4383d9[_0x2d2792+0x3]^_0x2ce41c[0x3],_0x27cfbf=0x4,_0x30a264=0x1;_0x30a264<_0x21cf84;_0x30a264++){var _0x3c8a0d=_0x1bad16[_0x2482f8>>>0x18]^_0x1b12b2[_0xf85134>>>0x10&0xff]^_0x52b2cf[_0x2fb118>>>0x8&0xff]^_0x4a5674[_0x57ecdb&0xff]^_0x2ce41c[_0x27cfbf++],_0x4077b5=_0x1bad16[_0xf85134>>>0x18]^_0x1b12b2[_0x2fb118>>>0x10&0xff]^_0x52b2cf[_0x57ecdb>>>0x8&0xff]^_0x4a5674[_0x2482f8&0xff]^_0x2ce41c[_0x27cfbf++],_0xc88ed6=_0x1bad16[_0x2fb118>>>0x18]^_0x1b12b2[_0x57ecdb>>>0x10&0xff]^_0x52b2cf[_0x2482f8>>>0x8&0xff]^_0x4a5674[_0xf85134&0xff]^_0x2ce41c[_0x27cfbf++],_0x3cdc31=_0x1bad16[_0x57ecdb>>>0x18]^_0x1b12b2[_0x2482f8>>>0x10&0xff]^_0x52b2cf[_0xf85134>>>0x8&0xff]^_0x4a5674[_0x2fb118&0xff]^_0x2ce41c[_0x27cfbf++];_0x2482f8=_0x3c8a0d,_0xf85134=_0x4077b5,_0x2fb118=_0xc88ed6,_0x57ecdb=_0x3cdc31;}var _0x3c8a0d=(_0x4373e1[_0x2482f8>>>0x18]<<0x18|_0x4373e1[_0xf85134>>>0x10&0xff]<<0x10|_0x4373e1[_0x2fb118>>>0x8&0xff]<<0x8|_0x4373e1[_0x57ecdb&0xff])^_0x2ce41c[_0x27cfbf++],_0x4077b5=(_0x4373e1[_0xf85134>>>0x18]<<0x18|_0x4373e1[_0x2fb118>>>0x10&0xff]<<0x10|_0x4373e1[_0x57ecdb>>>0x8&0xff]<<0x8|_0x4373e1[_0x2482f8&0xff])^_0x2ce41c[_0x27cfbf++],_0xc88ed6=(_0x4373e1[_0x2fb118>>>0x18]<<0x18|_0x4373e1[_0x57ecdb>>>0x10&0xff]<<0x10|_0x4373e1[_0x2482f8>>>0x8&0xff]<<0x8|_0x4373e1[_0xf85134&0xff])^_0x2ce41c[_0x27cfbf++],_0x3cdc31=(_0x4373e1[_0x57ecdb>>>0x18]<<0x18|_0x4373e1[_0x2482f8>>>0x10&0xff]<<0x10|_0x4373e1[_0xf85134>>>0x8&0xff]<<0x8|_0x4373e1[_0x2fb118&0xff])^_0x2ce41c[_0x27cfbf++];_0x4383d9[_0x2d2792]=_0x3c8a0d,_0x4383d9[_0x2d2792+0x1]=_0x4077b5,_0x4383d9[_0x2d2792+0x2]=_0xc88ed6,_0x4383d9[_0x2d2792+0x3]=_0x3cdc31;},'keySize':0x100/0x20});_0x4984d0[_0x458a10(0x2ee)]=_0xac063d[_0x458a10(0x2eb)](_0x3fee18);}()),_0x4162b7['AES'];}));}(ji));var $a=ji[_0x4299a1(0x1dc)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x18ba0f,_0x3d6ef3){(function(_0x526270,_0x971e3b){const _0x1c5717=_0x1dba;_0x18ba0f[_0x1c5717(0x1dc)]=_0x971e3b(ue());}(Z,function(_0x56413c){const _0x404295=_0x1dba;return _0x56413c[_0x404295(0x5b3)][_0x404295(0x529)];}));}(Fi));var Ba=Fi[_0x4299a1(0x1dc)];function _0x1dba(_0x43acca,_0x3f191a){const _0x274cb6=_0x274c();return _0x1dba=function(_0x1dbaa1,_0x4fdcea){_0x1dbaa1=_0x1dbaa1-0x1bf;let _0xf01c40=_0x274cb6[_0x1dbaa1];return _0xf01c40;},_0x1dba(_0x43acca,_0x3f191a);}function _0x274c(){const _0x574f58=['No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','sheetId','INTERNAL_ERROR','_startSheetCollabCursor','collab-text-range-','[CollaborationUndoRedoService]','SerializableCipher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/new_changes','&source=','_anchor','getActiveSheet','UNIVER_UNKNOWN','use','_updateCollabCursors','selections','_fetchMissChangesets','addImageSourceCache','_updateState','awaiting_with_pending','requestParams','_getAPIPrefix','HMAC','range','_refreshCollabCursors','ERROR_IMAGE_TYPE','dispose$','_executeRemoteChangeset','closeSession','UNKNOWN_CMD','MoveRangeCommandId','gold400','entries','sessionStatus$','allowed','path','status','collabStatus.conflict','subscribe','reset','Decryptor','removeMember','onload','{fileID}','_getAnchorBounding','LIVESHARE_NEW_HOST','onlyLocal','_invKeySchedule','href','_transformIMECache','FromArray','x-univer-host','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','setActiveRange','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[OfflineState]:\x20received\x20changeset.','push','lineTo','drawWith','hovered','_onCombEvent','popstate','_initEventListeners','_process','_getCtorByUniverType','_awaitingChangeset','onRemoteChangeset','_sendHeartbeatTimer','_assignedColors','searchParams','_collabSessionService','_substituteRedoStack','LOGIN_URL_KEY','image/gif','[UniverCollaborationClientPlugin]','BufferedBlockAlgorithm','then','_handler','_setupBeforeClosingHandler','fill','sin','baseRev','current','getCurrentRevOfUnit','LICENSE_MAX_UNITS_EXCEEDED','symbol','47944LBdjEu','ceil','svg','_commentUpdate$','makeDirty','rng','_commentService','HttpExport','removeParam','tag','debug','commentUpdate$','size','_type','_initMergeInterceptor','some','getAncestorScale','_refRangeService','_config','jiqing500','none','font','clearInterval','InsertRangeMoveRightCommandId','_configService','clipPath','_cipher','routeKey','_reverseMap','_draw','getParam','evenodd','_substituteUndoStack','$super','_snapshotService','_onCursorUpdate','Error','defIds','_retryConnectingTimer','onRemoteAck','[CollaborationSessionService]:\x20socket\x20error','IDLE','createElement','\x0aCurrent:\x20','_updateLocalCursor','duration','revision','sheets','APPLY_NON_SEQUENTIAL_REVISION','on-line-single_clip0_910_349','UNIVER_PROJECT','Could\x20not\x20dynamically\x20require\x20\x22','setShapeProps','_docStateChangeManagerService','PENDING','__creator','reqId','byteLength','registerRefRange','_collaborationController','abs','_createInitialState','_onConflict','_undoRedoService','_initRequestHeader','clearTimeout','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_document','ACTIVE_UNIT_EVENT_CHANNEL','rgba(255,\x20255,\x20255,\x200.01)','InsertRangeMoveDownCommandId','OpenSSL','sid','&assign=','startTime','getCurrentUser','saveOfflineData','UNIVER_SLIDE','onlineStatusTitle','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','_replaceFileID','deepClone','fetchThroughInterceptors','NOT_FOUND','_unitID','_updateSubUnitFromURLParams','compose','setCurrentUser','&to=','awaitingChangeset','_eventUnsubscribe','_docTransformStateCacheService','memberID','permissionRejEvent','MSG_FOR_ERROR','transform','[CollaborationSessionService]','onlineStatus','getOffsetConfig','_disabled','FETCH_MISSING','[PendingState]:\x20received\x20rejection.','M0\x200H16V16H0z','RECT','registerComponent','online','_getUndoStack','onMouseMove','_clearRedo','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_toggleOffline','from','_online','Utf8','BlockCipherMode','UnitSnapshot','_userManagerService','with','event$','/universer-api/authz','find','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','_state$','status$','_stopTelemetryCollaborationNewChangeset','resourceIDs','onSyncEditingCollabCursor','registerHTTPInterceptor','catch','mixIn','1em','_listenToOfflineEvent','refreshPermission','LIVESHARE_FETCH_OPERATIONS','loginUrlKey','_throwTelemetryCollaborationNewChangeset','state','_createHmacHelper','Encryptor','Base','_getSignURL','_urlService','HttpImport','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','joinEvent','unpad','now','createCollaborator','APPLY_REJECT','session.collaboration-timeout','blockSize','getTypeOfUnitDisposed$','_onCursorDelete','toggleOffline','_members','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','_updateStatus','_updateURLWithCurrentState','ALREADY_EXISTS','_injector','saveSheetBlock','subUnitId','_docTransformIMECacheService','_entityInit$','toLowerCase','6fNIYrm','_cursor','disposeUnit','setTimeout','getViewport','updatePermissionPoint','getOwnPropertyDescriptor','_name','getTime','updateOfflineData','_onLocalMutation','activeSheet$','_oKey','_ws','/resources','onTransformRemoteChangesetByStateCache','_submitChangeset','image/bmp','333oHRqDh','objectActions','RemoveColCommandId','_initStatusComponent','_joinRoom','disableLocalCache','_resendWithTimeout','transformSelections','_changesetReqId','currentColor','getRandomValues','_docSyncEditingCollabCursorService','_beforeCloseService','max','PERMISSION_DENIED','_sendingTimer','add','_syncEditingCollabCursor','addEventListener','_getScale','_sender','_sessionStatus$','csAckEvent','HEARTBEAT_INTERVAL','textRanges','_getSnapshotAPIPrefix','_map','_rescheduleHeartbeat','getValue','setAlpha','className','univer-online-status-title','_docSkeleton','_compressMutationService','AWAITING','CHANGESET_REVISION_CONFILICT','_transformStack','auth.needGotoLoginAlert','setInterval','enableAuthServer','name','_drawAnchor','UNIVER_DOC','getCurrentSelections','_session','_socketService','roomInfos','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearHeartbeatTimer','_range','ENSURE_SNAPSHOT_EXECUTION','retryConnectingInterval','save','url','_transformRemoteChangesetByIMECache','collaboration.single-unit.warning','c2Prime','Hasher','_send','SUCCUSS','/-/object/-/batch_allowed','_selfUnitIDs','collabStatus.syncing','_transformStateCache','getRangePointData','APPLY_DUPLICATED','ranges','shouldCloseConn','enc','Cipher','file','onCommandExecuted','disposeWithMe','default','setShowComponents','appendMutation','getStateCache','Malformed\x20UTF-8\x20data','_transformService','/allowed','onStateChange','onlineStatusIcon','join','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','NoPadding','message$','_textBubble','equals','defineProperty','ERROR_IMAGE','RECV','_socket$','apply','_handleJoinEvent','_schedule','members','random','icon','POST','cursorInfo$','_shapes','result','_prevBlock','RemoveRowCommandId','_render','error','registerRenderModule','replaceState','_doFinalize','MUTATION','univer-online-status','currentSkeleton$','getSheetId','subscribeEvent','translate(.97)','undoState','_getSaveTimeout','socket\x20close','authzUrl','_localeService','_getLoginPath','withCredentials','_clearLocalCache','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','exports','getCollabEntity','randomBytes','/fetchmissing?from=','labelPosition','words','isArray','HEADER_MENU','hide','includes','_cursorInfo$','_mode','fromCollab','getUnitId','_collaborationSessionService','headers','YUUMI_SUBSCRIPTION_NOT_FOUND','UPDATE_PERMISSION_OBJ','_timeoutTimer','univerjs-icon\x20univerjs-icon-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onPointerMove$','saveImage','_onOffline','EvpKDF','replace','_loadSheet','_waitCount','_getSendChangesetTimeout','m1Prime','_DEC_XFORM_MODE','stringify','createEncryptor','_getAPIPrefixPath','_initUnitPermissionChange','liveShareOperation','onTransformChange$','_clearOtherTimers','UUID','contains','generateRandomId','finalize','encode','_xformMode','method','_isPermissionRej','redoState','key','url(#on-line-single_clip0_910_349)','_replayCachedMutations','m2Prime','incrementRevOfUnit','offline','call','location','unit-cache-','_scene','_drawTextRange','padding','params','collaboration-client.offline-data-not-saved','requireSession','_memberService','_key','editing\x20status\x20changed\x20to','_clearTimeoutTimer','crypto','collaboratorID','_handleHover','_lastPointer','getMember','_initCloseConn','ERROR_EXCEED_SIZE','hasOwnProperty','_sessions','csShouldRetryEvent','ciphertext','dispose','storage','AUTHZ_URL_KEY','_entities','onPointerEnter$','getCurrent','getWorkbookSelections','onMissedChangesetFetched','_getDownloadEndpointURL','0\x200\x2016\x2016','_labelPosition','onTransformState','_context','_roomMembers$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','HmacSHA1','_applyRemoteChangeset','setWaitCount','LIVESHARE_OPERATION','executeCommand','SHOULD_CLOSE_CONN','getLatestCsReqIdBySid','_collaborationTimeoutTimer','_removeCollabCursors','height','pauseCollaboration','rev','OTHER_CLIENTS_EDITING','_hasher','OnLineSingle','UNIVER_SHEET','/universer-api/file/{fileID}/sign-url','patch','getCurrentUnitForType','_remoteChangesetQueue','SNAPSHOT_INVALID_SNAPSHOT','getRelativeToViewportCoord','_handleLeaveEvent','_roomMembers','UNIVER_COLLABORATION_CLIENT_PLUGIN','onReady','processBlock','InsertColCommandId','_backgroundColor','parse','length','extend','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','responseType','arc','_undoStacks','WordArray','_getRedoStack','close','_shouldReportTelemetry','getImageSourceCache','FileId','LICENSE_IMPORT_SIZE_EXCEEDED','filter','focused$','_imageSourceCache','_docTransformSelectionsService','getImage','confirm','src','objects','defs','_queuedRemoteChangesets','socketService','history','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_telemetryInfo','_resendTimeout','map','reduce','state$','c1Prime','unsubscribe','black','open$','_transformUndoredo','_transformRemoteChangesetByStateCache','session','INVALID_ARGUMENT','FETCH_MISS','Univer','Base64','_removeClearOtherTimer','syncEditingCollabCursor','_append','getSheetBySheetId','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','idSuffix','userID','_doReset','_transformPreviousActiveRange','objectType','#FFF','data','_scheduleTimestamp','_httpService','xlink:href','Undefined','newCsEvent','displayName','loadSheet','post','awaiting','/-/object/list','_event$','collabStatus.fetchMiss','1573915bNfmOi','COMPRESS_MUTATION_SEND','SUBMIT_CHANGESET','_toggleOnline','docStateChange$','salt','copyFileMeta','reconnect','_hover','NEW_CHANGESETS','232557vyYJvy','_HTTPService','_onRefRangeChange','liveShareNewHost','univer-online-status-icon','saveChangeset','randomUUID','_cursors','isActive','YUUMI_UNABLE_LOAD_URL','CipherParams','\x20-\x20','transformByState','_colorIndex','USERS_LEAVE','onRemoteRetry','hidden','_onUserJoin','SEND_CHANGESET_TIMEOUT','[SyncedState]:\x20received\x20rejection.','getConfig','fetchMissingChangesets','...','byteOffset','SNAPSHOT_URL_KEY','_keyPriorReset','UNAUTHENTICATED','transformChangesets','_ensureSubject','/block/','permission.title','_sendHeartbeat','_nDataBytes','_localStorageService','getUnitStatus$','_loadDoc','forEach','endRow','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','conflict.content','kdf','COMPLETION_FINISHED','append','getResourcesRequest','_themeService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','__Key__','collaboration-session-retry','_drawRectRange','_cursorShapes','VIEW_MAIN','getInterceptPoints','unshift','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_TERMINATE','resolve','roomMembers','put','createSocket','workbook','urlChange$','ivSize','_onFetchMissResult','_iKey','substring','measureText','_notificationService','sigBytes','attrs','_tryEnsureSocket','cfg','loadOfflineData','unitId','_createHelper','_getMergeRange','_onJoinRoomEvent','AES','_decreaseWaiting','PSEUDO_FETCH_MISSING_RESULT','create','AWAITING_WITH_PENDING','div','collabCursorState$','_onRemoteRejected','fetch_missing','_sheetSkeletonManagerService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','setUndoRedoMutationParamsCache','values','fetching\x20missing\x20changesets\x20from\x20','univer-pro.collaboration-client.single-active-unit-service','/universer-api/snapshot/','getVpScrollXYInfoByPosToVp','_hideTimer','/unit/','_initCommandExecutedListener','_socket','engine','findNodePositionByCharIndex','_initStatusListener','_messageService','update','getItem','infoRsp','number','floor','collaboration-client.config','signUrlServerUrl','stopTime','originalMeta','socket\x20open.','_keySchedule','_onRemoteRetry','prototype','color','_parse','_listenToOnlineEvent','_createHandler','visibilityState','fillText','has','purple300','fillRule','_changesetSessionId','DeleteRangeMoveLeftCommandId','assignAColorForMemberID','_ENC_XFORM_MODE','[SyncedState]:\x20received\x20acknowledgement.','SHA1','APPLY_PERMISSION_DENIED','_docSkeletonManagerService','_id','leaveEvent','_logService','/object/','_onUserLeave','createInstance','getUnit','_doCryptBlock','_retryCount','_change$','CONFLICT','HELLO','transformStateCache','registerBeforeClose','send','_exhaustRemoteChangesetQueue','startRow','compute','_collaborationPaused','_getSheetObject','_colorAssignService','_hovered','UNRECOGNIZED','USERS_ENTER','createDecryptor','getActiveRange','_commandService','fromCharCode','eventID','Unknown\x20user','_onRemoteChangeset','getUnhiddenWorksheets','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','isPermissionRej','_uiPartsService','getCellPositionByOffset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','OFFLINE','cmd','getCollabEntity$','concat','_waitForHeartbeatResponse','Warning','_scheduleSaving','_unlockTransition','onRemoteRej','SYNCED','_startCollaboration','session.will-retry','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onTransformSelections','column','_redoStacks','_heartbeatTimer','_univerInstanceService','selection','bottom','getUniverSheetInstance','pipe','exhaustSavingTask','_scheduleCollaborationTimeoutTimer','updateMember','off-line-single','transformMutationsWithChangeset','_onMessage','socket$','_lockTransition','_cachedData','init','execute','LICENSE_EXPORT_SIZE_EXCEEDED','DEFAULT_FILE_NAME','_permissionService','pluginName','width','getUndoRedoMutationParamsCache','resend','transformMutation','addObjects','downloadEndpointUrl','slice','unit','hasher','getAllMembers','/universer-api/comb','toString','_scheduleClearOtherTimer','transformRemoteChangeset','0\x200\x2017\x2016','_showConflictNotification','_getUploadFileURL','loadDoc','NOT_COLLAB','function','toggleOnline','UNKNOWN_CODE','deleteCollaborator','LIVESHARE_REQUEST_HOST','on-line-single','getDocRanges','_init','unknown','onMissingChangesets','#fff','synced','_clearScheduledTask','collaMsg','LICENSE_DISTRO_REJECTED','toRgbString','saveSnapshot','trim','msCrypto','UPDATE_CURSOR','_onRemoteACK','_handleEvent','[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.','transformIMECache','beginPath','changesets','pushState','_initResize','_sheetTransformSelectionsService','ONLINE','_state','CHANGESET_REJ','_minBufferSize','split','_hash','addObject','body','getCollabCursors$','onPointerLeave$','_getCurrentRevision','LEAVE','TOO_MANY_REQUESTS','_localCacheService','roles','_onRecvEvent','UnitEmbedded','pad','children','FAIL','session.room-full','string','[OfflineState]:\x20received\x20rejection.','actions','decrypt','Latin1','[DataLoaderController]','659030HZNvLJ','red300','/universer-api/stream/file/upload','MD5','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','655608zYToYP','conflict.title','buffer','charAt','_color','_startDocCollabCursor','setParam','title','PERMISSION_REJ','getUnitOnRev','collabWebSocketUrl','override','[FetchMissState]','_transitionLocked','unitID','UniverIcon','every','_collabCursorState$','_incrementRevisionNumber','localeService','currentTheme$','registerOnClose','_status$','off-line-single_clip0_910_343','mode','_transformSelections','/universer-api/oidc/authpage','moveTo','set','_socketReady','text','CHANGESET_ACK','[CollaborationSession]','_syncEditingCollabCursorService','_removeRoom','colorChannel1','768315JpoIDN','top','charCodeAt','?size=','mutations','algo','clone','_startTelemetryCollaborationNewChangeset','show','_data','_doProcessBlock','_unitStatus','\x0aAfter:\x20','restore','CHANGESET_SHOULD_RETRY','_anchorDot','CONNECTOR_DATA_TOO_LARGE','JOIN','formatter','encodeURIComponent','startColumn','onTransformRemoteChangesetByIMECache','collaboration_new_changeset','_updateLocalCache','_acknowledgedAwaitingChangeset','[CollaborationState]:\x20apply\x20error!','sheetID','[CollaborationEntity]','COMMENT_UPDATE','clamp','get','JOINING','INGEST','delete','complete','objectID','_socketMessageSubscription','reject','pending','HEARTBEAT','univer-offline','not_collab','putCollaborators','skeleton','code','min','interceptor','fetchMiss','/collaborator','[PendingState]:\x20received\x20acknowledgement.','_onConnectionFailed','collabSubmitChangesetUrl','_saveCache','submit\x20changeset\x20error!','next','_resendTimer','_tryReconnect','cursorInfo','_instanceService','type','transformUndoRedo','SNAPSHOT_SERVER_URL_KEY','setItem','indexOf','_checkMissing','_registerDependencies','Pkcs7','setStateCache','4NxIKYo','getFocusedUnit','_unitOnClients','asObservable','commentUpdateEvent','__esModule','_createInitialStateImpl','doc.mutation.rich-text-editing','keySize','_singleActiveUnitService','batchAllowed','_disableEditing','_transformHistoryAndStateStack','fillStyle','getRenderById','_revisionService','sessionStatus','listCollaborators','getOwnPropertySymbols','_telemetryService','_candidateSocket','_registerRenderDependencies','object','close$','_collabCursorController','_setupSubUnitSync','error$','subunit','univer-pro.collaboration-client-socket-service','bind','round','getTypeOfUnitAdded$','format','image/jpg','readAsDataURL','_pendingMutations','\x20to\x20','APPLY_REVISION_CONFILICT','clear','_onConnectionOpen','NO_OTHER_CLIENTS_EDITING','onCommentUpdate','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getMemberID','_clearUndo','_renderManagerService','PasswordBasedCipher','_saveTaskMap','lib','session.connection-failed','startsWith','UNDEFINED','encrypt','343555ptBhwu','onSendChangeset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onRendered','snapshot'];_0x274c=function(){return _0x574f58;};return _0x274c();}const ka=at(Ba);var Vi={'exports':{}};(function(_0x3ac0b6,_0x10092e){(function(_0x2bcf7a,_0x45f15e){_0x3ac0b6['exports']=_0x45f15e(ue());}(Z,function(_0x470996){const _0x5c26d8=_0x1dba;return(function(){const _0x3db774=_0x1dba;if(typeof ArrayBuffer=='function'){var _0x3773cb=_0x470996,_0x415ef4=_0x3773cb[_0x3db774(0x457)],_0x2b55b3=_0x415ef4['WordArray'],_0x519508=_0x2b55b3[_0x3db774(0x369)],_0x36a885=_0x2b55b3[_0x3db774(0x369)]=function(_0x325b6f){const _0x1e43e7=_0x3db774;if(_0x325b6f instanceof ArrayBuffer&&(_0x325b6f=new Uint8Array(_0x325b6f)),(_0x325b6f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x325b6f instanceof Uint8ClampedArray||_0x325b6f instanceof Int16Array||_0x325b6f instanceof Uint16Array||_0x325b6f instanceof Int32Array||_0x325b6f instanceof Uint32Array||_0x325b6f instanceof Float32Array||_0x325b6f instanceof Float64Array)&&(_0x325b6f=new Uint8Array(_0x325b6f[_0x1e43e7(0x3c1)],_0x325b6f[_0x1e43e7(0x2b9)],_0x325b6f[_0x1e43e7(0x4f0)])),_0x325b6f instanceof Uint8Array){for(var _0x18e049=_0x325b6f[_0x1e43e7(0x4f0)],_0x48291b=[],_0x42bc78=0x0;_0x42bc78<_0x18e049;_0x42bc78++)_0x48291b[_0x42bc78>>>0x2]|=_0x325b6f[_0x42bc78]<<0x18-_0x42bc78%0x4*0x8;_0x519508[_0x1e43e7(0x211)](this,_0x48291b,_0x18e049);}else _0x519508['apply'](this,arguments);};_0x36a885['prototype']=_0x2b55b3;}}()),_0x470996[_0x5c26d8(0x457)][_0x5c26d8(0x25c)];}));}(Vi));var Wa=Vi[_0x4299a1(0x1dc)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x18c2a4,_0x3ccb45){(function(_0x3e7023,_0x406e05,_0x12ecee){const _0xed2725=_0x1dba;_0x18c2a4[_0xed2725(0x1dc)]=_0x406e05(ue(),Wi());}(Z,function(_0x2224dd){const _0x48bf71=_0x1dba;return _0x2224dd[_0x48bf71(0x3b0)][_0x48bf71(0x5c3)]={'pad':function(){},'unpad':function(){}},_0x2224dd[_0x48bf71(0x3b0)][_0x48bf71(0x5c3)];}));}(Gi));var Va=Gi[_0x4299a1(0x1dc)];const Ga=at(Va);function Ya(_0x14a3b7,_0x565c8a){const _0x4b25ba=_0x4299a1,_0x55d12e=_0x565c8a-_0x14a3b7[_0x4b25ba(0x256)]%_0x565c8a,_0x39cb0c=String['fromCharCode'](_0x55d12e)['repeat'](_0x55d12e);return _0x14a3b7+_0x39cb0c;}function Ka(_0x481115,_0x46fcc3){const _0x4b7b03=_0x4299a1,_0x39257a=Fa[_0x4b7b03(0x1c0)](0x10),_0x1ed726=Ya(_0x481115,0x10),_0x39e21a=Ha[_0x4b7b03(0x45b)](ka['parse'](_0x1ed726),ii[_0x4b7b03(0x255)](_0x46fcc3),{'iv':_0x39257a,'padding':Ga});return _0x39257a[_0x4b7b03(0x34d)](_0x39e21a['ciphertext'])['toString'](ii);}function za(){const _0x93d74=_0x4299a1,_0x2fe96=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x93d74(0x2d0)];if(_0x2fe96){const _0xcb49a={'time':Math['floor'](Date[_0x93d74(0x54a)]()/0x3e8),'domain':location['hostname']};return Ka(JSON[_0x93d74(0x1fb)](_0xcb49a),_0x2fe96);}}var qa=Object[_0x4299a1(0x5c7)],Xa=Object[_0x4299a1(0x563)],Ja=(_0x30e130,_0x29e17c,_0x984378,_0x5560ed)=>{for(var _0x1cedfa=_0x5560ed>0x1?void 0x0:_0x5560ed?Xa(_0x29e17c,_0x984378):_0x29e17c,_0x430a96=_0x30e130['length']-0x1,_0x20ec2f;_0x430a96>=0x0;_0x430a96--)(_0x20ec2f=_0x30e130[_0x430a96])&&(_0x1cedfa=(_0x5560ed?_0x20ec2f(_0x29e17c,_0x984378,_0x1cedfa):_0x20ec2f(_0x1cedfa))||_0x1cedfa);return _0x5560ed&&_0x1cedfa&&qa(_0x29e17c,_0x984378,_0x1cedfa),_0x1cedfa;},Za=(_0x3cc25c,_0x5b21ae)=>(_0xe4cc05,_0x6b832c)=>_0x5b21ae(_0xe4cc05,_0x6b832c,_0x3cc25c);let Tt=class{constructor(_0x4f57ae){const _0x2e0c8a=_0x4299a1;this[_0x2e0c8a(0x28d)]=_0x4f57ae,this[_0x2e0c8a(0x4f7)]();}[_0x4299a1(0x4f7)](){const _0x49b8ff=_0x4299a1;this[_0x49b8ff(0x28d)][_0x49b8ff(0x537)]({'interceptor':(_0x36b4cf,_0x2092b1)=>{const _0x5c4769=_0x49b8ff,_0x32d912=_0x36b4cf[_0x5c4769(0x1eb)],_0x4b193b=za();return _0x4b193b&&_0x32d912[_0x5c4769(0x3db)](_0x5c4769(0x494),_0x4b193b),_0x2092b1(_0x36b4cf);}});}};Tt=Ja([Za(0x0,_0x2f5cfe(_0x56ddfb))],Tt);var Qa=Object[_0x4299a1(0x5c7)],ec=Object[_0x4299a1(0x563)],tc=(_0x494e8f,_0x29f126,_0x257c96,_0x37690a)=>{const _0xd7221=_0x4299a1;for(var _0x508036=_0x37690a>0x1?void 0x0:_0x37690a?ec(_0x29f126,_0x257c96):_0x29f126,_0x42d569=_0x494e8f[_0xd7221(0x256)]-0x1,_0x5235dc;_0x42d569>=0x0;_0x42d569--)(_0x5235dc=_0x494e8f[_0x42d569])&&(_0x508036=(_0x37690a?_0x5235dc(_0x29f126,_0x257c96,_0x508036):_0x5235dc(_0x508036))||_0x508036);return _0x37690a&&_0x508036&&Qa(_0x29f126,_0x257c96,_0x508036),_0x508036;},Xt=(_0x165686,_0x6b7e5e)=>(_0x26a245,_0x3799d0)=>_0x6b7e5e(_0x26a245,_0x3799d0,_0x165686);const sc=['image/png','image/jpeg',_0x4299a1(0x448),_0x4299a1(0x4aa),_0x4299a1(0x56e)],ic=0x5*0x400*0x400,nc=_0x4299a1(0x2cf),rc=_0x4299a1(0x3bc),oc=_0x4299a1(0x497),ac=_0x4299a1(0x248);let hs=class{constructor(_0x217772,_0x71b297,_0x3f94c7){const _0x585b17=_0x4299a1;g(this,_0x585b17(0x1f7),0x0),g(this,'_change$',new _0x19ddda()),g(this,'change$',this[_0x585b17(0x32e)]),g(this,'_imageSourceCache',new Map()),(this[_0x585b17(0x28d)]=_0x217772,this[_0x585b17(0x4cf)]=_0x71b297,this[_0x585b17(0x35b)]=_0x3f94c7);}[_0x4299a1(0x23a)](_0x40a2a4){const _0x7ae98e=_0x4299a1;this[_0x7ae98e(0x1f7)]=_0x40a2a4,this[_0x7ae98e(0x32e)][_0x7ae98e(0x419)](_0x40a2a4);}[_0x4299a1(0x260)](_0x1a7bc2,_0x2db8fb){const _0x449bc9=_0x4299a1;if(_0x2db8fb===_0x581c9b['BASE64']){const _0x41448c=new Image();return _0x41448c[_0x449bc9(0x269)]=_0x1a7bc2,_0x41448c;}return this[_0x449bc9(0x265)][_0x449bc9(0x401)](_0x1a7bc2);}[_0x4299a1(0x472)](_0x5ec21f,_0x588c70,_0x42252e){const _0x15e28c=_0x4299a1;_0x588c70===_0x581c9b['BASE64']||_0x42252e==null||this[_0x15e28c(0x265)][_0x15e28c(0x3db)](_0x5ec21f,_0x42252e);}async[_0x4299a1(0x267)](_0x470b6b){const _0xab5cab=_0x4299a1;try{const _0x1bed28=this[_0xab5cab(0x508)](this[_0xab5cab(0x544)](),''+_0x470b6b),_0x4f2adf=(await this[_0xab5cab(0x28d)][_0xab5cab(0x401)](_0x1bed28))[_0xab5cab(0x3a6)];if(_0x4f2adf['error']&&_0x4f2adf[_0xab5cab(0x1c9)][_0xab5cab(0x40f)]===Ri['OK']){const _0x4100b1=new URL(_0x4f2adf[_0xab5cab(0x5a4)],this[_0xab5cab(0x231)]())['toString']();return Promise[_0xab5cab(0x2d9)](_0x4100b1);}return Promise[_0xab5cab(0x408)](_0x4f2adf['error']);}catch(_0x1fb930){return Promise[_0xab5cab(0x408)](_0x1fb930);}}async[_0x4299a1(0x1f2)](_0x23b9bf){const _0x1e61f5=_0x4299a1;let _0x2cac75='';if(!sc[_0x1e61f5(0x1e5)](_0x23b9bf[_0x1e61f5(0x41e)]))return this[_0x1e61f5(0x2ef)](),Promise[_0x1e61f5(0x408)](new Error(_0x56de8f[_0x1e61f5(0x47a)]));if(_0x23b9bf[_0x1e61f5(0x4c3)]>ic)return this[_0x1e61f5(0x2ef)](),Promise[_0x1e61f5(0x408)](new Error(_0x56de8f[_0x1e61f5(0x224)]));try{const _0x15b2b9=new FormData();_0x15b2b9[_0x1e61f5(0x2cc)](_0x1e61f5(0x5b5),_0x23b9bf);const _0x4ed7b2=this[_0x1e61f5(0x35b)][_0x1e61f5(0x428)](),_0x511603=_0x4ed7b2==null?void 0x0:_0x4ed7b2[_0x1e61f5(0x1e9)]();if(!_0x511603)throw new Error('unitId\x20is\x20not\x20found');const _0x24d2fe=this[_0x1e61f5(0x37f)]()+_0x1e61f5(0x3e6)+_0x23b9bf['size'][_0x1e61f5(0x37a)]()+_0x1e61f5(0x46a)+yi['UnitEmbedded']+_0x1e61f5(0x500)+encodeURIComponent(_0x511603),_0x5149ce=await(await fetch(_0x24d2fe,{'method':'POST','body':_0x15b2b9}))['json']();if(typeof _0x5149ce[_0x1e61f5(0x261)]!=_0x1e61f5(0x3b4))return this[_0x1e61f5(0x2ef)](),Promise[_0x1e61f5(0x408)](new Error(_0x56de8f[_0x1e61f5(0x5c8)]));_0x2cac75=_0x5149ce['FileId'];}catch{return this[_0x1e61f5(0x2ef)](),Promise[_0x1e61f5(0x408)](new Error(_0x56de8f[_0x1e61f5(0x5c8)]));}return new Promise((_0x2bbd5a,_0x5cd02e)=>{const _0x1e4774=_0x1e61f5,_0x27f8e4=new FileReader();_0x27f8e4[_0x1e4774(0x449)](_0x23b9bf),_0x27f8e4[_0x1e4774(0x48b)]=_0x5c0a3a=>{const _0x4552d3=_0x1e4774;var _0xbebcc2;const _0x8b4381=(_0xbebcc2=_0x5c0a3a['target'])==null?void 0x0:_0xbebcc2[_0x4552d3(0x1c5)];if(_0x8b4381==null){this['_decreaseWaiting'](),_0x5cd02e(new Error(_0x56de8f['ERROR_IMAGE']));return;}const _0xd9240=_0x30d2fb[_0x4552d3(0x204)](0x6);_0x2bbd5a({'imageId':_0xd9240,'imageSourceType':_0x581c9b[_0x4552d3(0x202)],'source':_0x2cac75,'base64Cache':_0x8b4381,'status':_0x56de8f[_0x4552d3(0x5aa)]}),this[_0x4552d3(0x2ef)]();};});}[_0x4299a1(0x37f)](){const _0x626bfc=_0x4299a1;var _0x5d830c,_0x3a921e;const _0xc08184=this[_0x626bfc(0x4cf)][_0x626bfc(0x2b6)](nc),_0x3726bf=this[_0x626bfc(0x4cf)][_0x626bfc(0x2b6)](ie);return(_0x3a921e=(_0x5d830c=_0x3726bf==null?void 0x0:_0x3726bf['uploadFileServerUrl'])!=null?_0x5d830c:_0xc08184)!=null?_0x3a921e:rc;}[_0x4299a1(0x544)](){const _0x36a983=_0x4299a1;var _0x5767bb,_0x54fa7c;const _0x1b90c7=this[_0x36a983(0x4cf)][_0x36a983(0x2b6)](oc),_0x415f5c=this[_0x36a983(0x4cf)][_0x36a983(0x2b6)](ie);return(_0x54fa7c=(_0x5767bb=_0x415f5c==null?void 0x0:_0x415f5c[_0x36a983(0x30d)])!=null?_0x5767bb:_0x1b90c7)!=null?_0x54fa7c:ac;}[_0x4299a1(0x231)](){const _0x109c3d=_0x4299a1;var _0x2f511e;const _0x5e2263=this[_0x109c3d(0x4cf)][_0x109c3d(0x2b6)](ie);return(_0x2f511e=_0x5e2263==null?void 0x0:_0x5e2263[_0x109c3d(0x374)])!=null?_0x2f511e:location['origin'];}[_0x4299a1(0x508)](_0x4791a8,_0x31af43){const _0x31638d=_0x4299a1;return _0x4791a8['replace'](_0x31638d(0x48c),_0x31af43);}[_0x4299a1(0x2ef)](){const _0x1f91ad=_0x4299a1;this['_waitCount']-=0x1,this[_0x1f91ad(0x32e)]['next'](this[_0x1f91ad(0x1f7)]);}};hs=tc([Xt(0x0,_0x2f5cfe(_0x56ddfb)),Xt(0x1,_0x3fd15e),Xt(0x2,_0x2f5cfe(_0x19bced))],hs);var cc=Object[_0x4299a1(0x5c7)],hc=Object[_0x4299a1(0x563)],lc=(_0x5c4bbd,_0x1d00d0,_0x10f780,_0x3ed45e)=>{for(var _0x3b9074=_0x3ed45e>0x1?void 0x0:_0x3ed45e?hc(_0x1d00d0,_0x10f780):_0x1d00d0,_0x2808e6=_0x5c4bbd['length']-0x1,_0x239690;_0x2808e6>=0x0;_0x2808e6--)(_0x239690=_0x5c4bbd[_0x2808e6])&&(_0x3b9074=(_0x3ed45e?_0x239690(_0x1d00d0,_0x10f780,_0x3b9074):_0x239690(_0x3b9074))||_0x3b9074);return _0x3ed45e&&_0x3b9074&&cc(_0x1d00d0,_0x10f780,_0x3b9074),_0x3b9074;},Qe=(_0x2bd6aa,_0x28aae8)=>(_0x13801e,_0x2e85bc)=>_0x28aae8(_0x13801e,_0x2e85bc,_0x2bd6aa);let Rt=class extends _0x737a66{constructor(_0x437833,_0x31308b,_0x3d6852,_0x446758,_0x599082){const _0x4ed78b=_0x4299a1;super(),this['_injector']=_0x437833,this[_0x4ed78b(0x35b)]=_0x31308b,this[_0x4ed78b(0x36d)]=_0x3d6852,this[_0x4ed78b(0x1ea)]=_0x446758,this[_0x4ed78b(0x1d7)]=_0x599082,this[_0x4ed78b(0x1fe)](),this[_0x4ed78b(0x223)]();}[_0x4299a1(0x223)](){const _0x10ffd0=_0x4299a1,_0x1ccdc7=async _0x18b307=>{const _0x2d2647=_0x1dba;(await this[_0x2d2647(0x1ea)][_0x2d2647(0x219)](_0x18b307))['event$'][_0x2d2647(0x35f)](_0x53cf0f(_0x240e57=>_0x240e57[_0x2d2647(0x341)]===_0x12c324['SHOULD_CLOSE_CONN']),_0x1c3f96(this[_0x2d2647(0x47b)]))[_0x2d2647(0x487)](_0x221721=>{const _0x2ba3ad=_0x2d2647,_0x4eec60=_0x221721,{reason:_0x4a4dee}=_0x4eec60[_0x2ba3ad(0x28b)];this['_injector'][_0x2ba3ad(0x401)](_0x3aefef)[_0x2ba3ad(0x3eb)]({'type':_0x34a324[_0x2ba3ad(0x4db)],'content':this[_0x2ba3ad(0x1d7)]['t']('collaboration.closeRoom')+'('+_0x4a4dee+')'}),this[_0x2ba3ad(0x36d)][_0x2ba3ad(0x562)](new _0x303e0b(_0x18b307)['id'],!0x1),this[_0x2ba3ad(0x1ea)][_0x2ba3ad(0x47d)](_0x18b307);});};_0x26c7b9(this['_univerInstanceService'][_0x10ffd0(0x446)](_0x120bce[_0x10ffd0(0x247)]),this[_0x10ffd0(0x35b)][_0x10ffd0(0x446)](_0x120bce['UNIVER_DOC']))[_0x10ffd0(0x35f)](_0x50ad64(_0x5b14c6=>_0x5b14c6[_0x10ffd0(0x1e9)]()),_0x53cf0f(_0x518dd7=>!_0x294b80(_0x518dd7)),_0x1c3f96(this[_0x10ffd0(0x47b)]))[_0x10ffd0(0x487)](_0x303613=>{_0x1ccdc7(_0x303613);});}[_0x4299a1(0x1fe)](){const _0x12e7fe=_0x4299a1,_0x4bb542=async _0x3a2080=>{const _0x4328d7=_0x1dba;(await this[_0x4328d7(0x1ea)]['requireSession'](_0x3a2080))[_0x4328d7(0x52e)][_0x4328d7(0x35f)](_0x53cf0f(_0x156498=>_0x156498['eventID']===_0x12c324[_0x4328d7(0x1ed)]),_0x1c3f96(this[_0x4328d7(0x47b)]))[_0x4328d7(0x487)](_0x3810b0=>{const _0x5df1ff=_0x4328d7,_0xd2e113=_0x3810b0,{objectId:_0x5787dc}=_0xd2e113[_0x5df1ff(0x28b)],_0x2d1704=this[_0x5df1ff(0x557)][_0x5df1ff(0x401)](_0x15551c);_0x5787dc===_0x3a2080?_0x2d1704['initWorkbookPermissionChange'](_0x3a2080):_0x2d1704[_0x5df1ff(0x53c)](_0x3a2080,_0x5787dc);});};_0x26c7b9(this[_0x12e7fe(0x35b)]['getTypeOfUnitAdded$'](_0x120bce[_0x12e7fe(0x247)]),this[_0x12e7fe(0x35b)][_0x12e7fe(0x446)](_0x120bce[_0x12e7fe(0x599)]))['pipe'](_0x50ad64(_0x5dab4f=>_0x5dab4f[_0x12e7fe(0x1e9)]()),_0x53cf0f(_0x19aa7e=>!_0x294b80(_0x19aa7e)),_0x1c3f96(this[_0x12e7fe(0x47b)]))[_0x12e7fe(0x487)](_0x4b934d=>{_0x4bb542(_0x4b934d);});}};Rt=lc([Qe(0x0,_0x2f5cfe(_0x22006e)),Qe(0x1,_0x19bced),Qe(0x2,_0x24d923),Qe(0x3,_0x2f5cfe(Ae)),Qe(0x4,_0x2f5cfe(_0x44ee4c))],Rt);var _c=Object['defineProperty'],uc=Object['getOwnPropertyDescriptor'],dc=(_0x4801d7,_0x177a23,_0x46610f,_0x82fbf4)=>{const _0x55d3e3=_0x4299a1;for(var _0x5c16d6=_0x82fbf4>0x1?void 0x0:_0x82fbf4?uc(_0x177a23,_0x46610f):_0x177a23,_0x21894b=_0x4801d7[_0x55d3e3(0x256)]-0x1,_0x2f11b0;_0x21894b>=0x0;_0x21894b--)(_0x2f11b0=_0x4801d7[_0x21894b])&&(_0x5c16d6=(_0x82fbf4?_0x2f11b0(_0x177a23,_0x46610f,_0x5c16d6):_0x2f11b0(_0x5c16d6))||_0x5c16d6);return _0x82fbf4&&_0x5c16d6&&_c(_0x177a23,_0x46610f,_0x5c16d6),_0x5c16d6;},ni=(_0x197bdb,_0x15fb1e)=>(_0x27020e,_0x2fbf57)=>_0x15fb1e(_0x27020e,_0x2fbf57,_0x197bdb);let ls=class{constructor(_0x20685e,_0x44b52b){const _0x1dddb1=_0x4299a1;this[_0x1dddb1(0x4cf)]=_0x20685e,this['_httpService']=_0x44b52b;}async[_0x4299a1(0x3c8)](_0x127a67,_0x3e001a){const _0x5288ff=_0x4299a1;var _0x107bdb;const {unitID:_0x7d2f47,type:_0x19be33,revision:_0x51b8ed=0x0}=_0x3e001a,_0x4d3591=this['_getSnapshotAPIPrefix']()+'/'+_0x19be33+_0x5288ff(0x300)+_0x7d2f47+'/rev/'+_0x51b8ed,_0x24a24d=(await this[_0x5288ff(0x28d)][_0x5288ff(0x401)](_0x4d3591))['body'],_0x49dabf=(_0x107bdb=_0x24a24d[_0x5288ff(0x460)])==null?void 0x0:_0x107bdb[_0x5288ff(0x2dd)];if(_0x49dabf){const _0x5961c6=_0x49dabf==null?void 0x0:_0x49dabf['originalMeta'],_0x4b6036=_0x14df5c[_0x5288ff(0x206)](_0x1bbb27(_0x5961c6));_0x49dabf[_0x5288ff(0x30f)]=_0x4b6036,Object[_0x5288ff(0x481)](_0x49dabf[_0x5288ff(0x4e6)])[_0x5288ff(0x2c6)](([,_0x18d27a])=>{const _0x37be38=_0x5288ff,_0x4430cc=_0x18d27a[_0x37be38(0x30f)],_0x20cd02=_0x14df5c[_0x37be38(0x206)](_0x1bbb27(_0x4430cc));_0x18d27a[_0x37be38(0x30f)]=_0x20cd02;});}return _0x24a24d;}async['getSheetBlock'](_0x57a44e,_0x2a6deb){const _0x4ee81d=_0x4299a1,{unitID:_0x333256,type:_0x34be07,blockID:_0x374fce}=_0x2a6deb,_0x3b59b9=this[_0x4ee81d(0x476)]()+'/'+_0x34be07+_0x4ee81d(0x300)+_0x333256+_0x4ee81d(0x2bf)+_0x374fce;return(await this['_httpService'][_0x4ee81d(0x401)](_0x3b59b9))[_0x4ee81d(0x3a6)];}async['getDeserializedSheetBlock'](_0x2ce93b,_0x3198d0){const _0x5859c0=_0x4299a1,{unitID:_0x267bac,type:_0xcd6e2a,blockID:_0x5e5f78}=_0x3198d0,_0x1fe774=this[_0x5859c0(0x476)]()+_0x5859c0(0x2bf)+_0xcd6e2a+_0x5859c0(0x300)+_0x267bac+_0x5859c0(0x2bf)+_0x5e5f78;return(await this[_0x5859c0(0x28d)][_0x5859c0(0x401)](_0x1fe774))[_0x5859c0(0x3a6)];}async[_0x4299a1(0x2b7)](_0x32728d,_0x1a0bf1){const _0x5ccc44=_0x4299a1,{unitID:_0x54bd7d,type:_0x9ac50a,from:_0x4befa4,to:_0x27bfeb}=_0x1a0bf1,_0x4af002=this[_0x5ccc44(0x476)]()+'/'+_0x9ac50a+_0x5ccc44(0x300)+_0x54bd7d+_0x5ccc44(0x1df)+_0x4befa4+_0x5ccc44(0x510)+_0x27bfeb;return(await this[_0x5ccc44(0x28d)][_0x5ccc44(0x401)](_0x4af002))['body'];}[_0x4299a1(0x588)](){const _0x3eeae9=_0x4299a1;var _0x30846e;return(_0x30846e=this[_0x3eeae9(0x4cf)][_0x3eeae9(0x2b6)](ar))!=null?_0x30846e:this[_0x3eeae9(0x476)]();}['_getAPIPrefix'](){const _0x35d185=_0x4299a1;var _0xd9ebd8,_0x1e9fe4;const _0xa740ca=this[_0x35d185(0x4cf)][_0x35d185(0x2b6)](rr),_0x38eaf5=this[_0x35d185(0x4cf)]['getConfig'](ie);return(_0x1e9fe4=(_0xd9ebd8=_0x38eaf5==null?void 0x0:_0x38eaf5['snapshotServerUrl'])!=null?_0xd9ebd8:_0xa740ca)!=null?_0x1e9fe4:or;}async[_0x4299a1(0x2cd)](_0x5dd9e2,_0x11bc73){const _0x193bb5=_0x4299a1,_0x43c941=_0x193bb5(0x2fd)+_0x11bc73[_0x193bb5(0x41e)]+_0x193bb5(0x300)+_0x11bc73[_0x193bb5(0x3cd)]+_0x193bb5(0x56b);return(await this[_0x193bb5(0x28d)]['get'](_0x43c941,{'params':{'resourceId':JSON[_0x193bb5(0x1fb)](_0x11bc73[_0x193bb5(0x535)])}}))[_0x193bb5(0x3a6)];}[_0x4299a1(0x392)](){const _0x30c361=_0x4299a1;throw new Error(_0x30c361(0x4f9));}[_0x4299a1(0x558)](){const _0x308f50=_0x4299a1;throw new Error(_0x308f50(0x4f9));}[_0x4299a1(0x2a7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4299a1(0x29e)](){const _0xf34003=_0x4299a1;throw new Error(_0xf34003(0x4f9));}[_0x4299a1(0x23e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=dc([ni(0x0,_0x3fd15e),ni(0x1,_0x2f5cfe(_0x56ddfb))],ls);var fc=Object[_0x4299a1(0x5c7)],vc=Object[_0x4299a1(0x563)],mc=(_0xa9718b,_0x433868,_0x249e42,_0x419b95)=>{for(var _0x9a16d8=_0x419b95>0x1?void 0x0:_0x419b95?vc(_0x433868,_0x249e42):_0x433868,_0xbf7d9=_0xa9718b['length']-0x1,_0x44073b;_0xbf7d9>=0x0;_0xbf7d9--)(_0x44073b=_0xa9718b[_0xbf7d9])&&(_0x9a16d8=(_0x419b95?_0x44073b(_0x433868,_0x249e42,_0x9a16d8):_0x44073b(_0x9a16d8))||_0x9a16d8);return _0x419b95&&_0x9a16d8&&fc(_0x433868,_0x249e42,_0x9a16d8),_0x9a16d8;},et=(_0x54559e,_0x431a86)=>(_0x474490,_0x5a2a88)=>_0x431a86(_0x474490,_0x5a2a88,_0x54559e);let _s=class extends _0x2d3469{constructor(_0x2aa3f7,_0x15e1ba,_0x4e8397,_0x35a1c2,_0x993802){const _0x45c360=_0x4299a1;super(_0x2aa3f7,_0x15e1ba,_0x4e8397),this[_0x45c360(0x5bd)]=_0x35a1c2,this[_0x45c360(0x327)]=_0x993802;}['transformUndoRedo'](_0x208e5d,_0x5285cc){const _0x24fd7f=_0x4299a1,_0x4b991c=this[_0x24fd7f(0x522)](_0x208e5d);if(_0x4b991c)try{const _0x166616=this[_0x24fd7f(0x593)](_0x4b991c,_0x5285cc);this[_0x24fd7f(0x4d7)](_0x208e5d,_0x166616);}catch(_0x5ef5d0){this[_0x24fd7f(0x327)][_0x24fd7f(0x1c9)]('[CollaborationUndoRedoService]',_0x5ef5d0),this[_0x24fd7f(0x453)](_0x208e5d);}const _0x7e1071=this[_0x24fd7f(0x25d)](_0x208e5d);if(_0x7e1071)try{const _0x3100ae=this[_0x24fd7f(0x593)](_0x7e1071,_0x5285cc);this[_0x24fd7f(0x4a8)](_0x208e5d,_0x3100ae);}catch(_0x971542){this[_0x24fd7f(0x327)][_0x24fd7f(0x1c9)](_0x971542),this[_0x24fd7f(0x524)](_0x208e5d);}}[_0x4299a1(0x453)](_0x104c10){const _0x3e7a39=_0x4299a1,_0x37bdb0=this[_0x3e7a39(0x522)](_0x104c10);_0x37bdb0&&(_0x37bdb0[_0x3e7a39(0x256)]=0x0,this[_0x3e7a39(0x554)]());}['_clearRedo'](_0x58938a){const _0x140bc1=_0x4299a1,_0x5f19c9=this[_0x140bc1(0x25d)](_0x58938a);_0x5f19c9&&(_0x5f19c9[_0x140bc1(0x256)]=0x0,this['_updateStatus']());}[_0x4299a1(0x4d7)](_0x2f8c14,_0x4d522e){const _0x3b43e9=_0x4299a1;this[_0x3b43e9(0x25b)]['set'](_0x2f8c14,_0x4d522e),this[_0x3b43e9(0x554)]();}['_substituteRedoStack'](_0x330a75,_0x4c8279){const _0xf14457=_0x4299a1;this[_0xf14457(0x359)]['set'](_0x330a75,_0x4c8279),this[_0xf14457(0x554)]();}['_transformStack'](_0x13b224,_0x3d675d){const _0x21faaa=_0x4299a1,_0x1f12b3=[];let _0x11b9bd=_0x3d675d,_0x32ea7d=_0x3d675d;for(let _0x349011=_0x13b224[_0x21faaa(0x256)]-0x1;_0x349011>=0x0;_0x349011--){const {unitID:_0x225326,undoMutations:_0x395563,redoMutations:_0x54823e}=_0x13b224[_0x349011],_0x2040a9=this[_0x21faaa(0x5bd)]['transformMutationsWithChangeset'](_0x11b9bd,_0x395563),_0x416cd4=this[_0x21faaa(0x5bd)][_0x21faaa(0x364)](_0x32ea7d,_0x54823e);if(_0x52c122(_0x2040a9)||_0x52c122(_0x416cd4)){this[_0x21faaa(0x327)]['error'](_0x21faaa(0x466),'transformStack\x20failed!',_0x2040a9,_0x416cd4);break;}_0x11b9bd=_0x2040a9[_0x21faaa(0x275)],_0x32ea7d=_0x416cd4['c1Prime'],_0x1f12b3[_0x21faaa(0x499)]({'unitID':_0x225326,'undoMutations':_0x2040a9[_0x21faaa(0x20e)],'redoMutations':_0x416cd4[_0x21faaa(0x20e)]});}return _0x1f12b3['reverse']();}};_s=mc([et(0x0,_0x19bced),et(0x1,_0x2d1134),et(0x2,_0x660c36),et(0x3,_0x131cfd),et(0x4,_0x105261)],_s);class pc extends _0x737a66{constructor(){const _0x143bc3=_0x4299a1;super(),g(this,_0x143bc3(0x2de)),this[_0x143bc3(0x2de)]=_0x464cf3(window,_0x143bc3(0x49e))[_0x143bc3(0x35f)](_0x2fa59a(this[_0x143bc3(0x47b)]),_0x3a5006(0x1),_0x184c47(void 0x0));}[_0x4299a1(0x3c5)](_0x393ca9,_0x16fb38,_0x57a33b=!0x1){const _0x1a0b41=_0x4299a1,_0x55709c=new URL(window['location'][_0x1a0b41(0x491)]);_0x55709c['searchParams'][_0x1a0b41(0x3db)](_0x393ca9,_0x16fb38),_0x57a33b?window['history']['replaceState']('','',_0x55709c['toString']()):window[_0x1a0b41(0x26e)][_0x1a0b41(0x39c)]('','',_0x55709c[_0x1a0b41(0x37a)]());}[_0x4299a1(0x4bf)](_0x58a60e,_0x20c144=!0x1){const _0x123c51=_0x4299a1,_0x4982a0=new URL(window[_0x123c51(0x212)][_0x123c51(0x491)]);_0x4982a0[_0x123c51(0x4a6)][_0x123c51(0x404)](_0x58a60e),_0x20c144?window[_0x123c51(0x26e)][_0x123c51(0x1cb)]('','',_0x4982a0[_0x123c51(0x37a)]()):window[_0x123c51(0x26e)][_0x123c51(0x39c)]('','',_0x4982a0[_0x123c51(0x37a)]());}[_0x4299a1(0x4d5)](_0xc37d4){const _0x306d13=_0x4299a1;var _0x5c8fd0;return(_0x5c8fd0=new URL(window['location'][_0x306d13(0x491)])['searchParams'][_0x306d13(0x401)](_0xc37d4))!=null?_0x5c8fd0:void 0x0;}}var Yi=Object['defineProperty'],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x2390b5,_0x3ff507,_0xcbf223)=>_0x3ff507 in _0x2390b5?Yi(_0x2390b5,_0x3ff507,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcbf223}):_0x2390b5[_0x3ff507]=_0xcbf223,Ic=(_0xb247d5,_0x3092e2,_0x45e92d,_0x3a0624)=>{for(var _0x2d435d=_0x3a0624>0x1?void 0x0:_0x3a0624?gc(_0x3092e2,_0x45e92d):_0x3092e2,_0x59cfff=_0xb247d5['length']-0x1,_0x374f95;_0x59cfff>=0x0;_0x59cfff--)(_0x374f95=_0xb247d5[_0x59cfff])&&(_0x2d435d=(_0x3a0624?_0x374f95(_0x3092e2,_0x45e92d,_0x2d435d):_0x374f95(_0x2d435d))||_0x2d435d);return _0x3a0624&&_0x2d435d&&Yi(_0x3092e2,_0x45e92d,_0x2d435d),_0x2d435d;},_t=(_0x20b5d9,_0x29b110)=>(_0x864945,_0x240be3)=>_0x29b110(_0x864945,_0x240be3,_0x20b5d9),Cc=(_0xfabf87,_0x11426f,_0x31641f)=>Sc(_0xfabf87,_0x11426f+'',_0x31641f);const Ec=_0x4299a1(0x250);let us=class extends _0x5c6537{constructor(_0x3a0fb8=Er,_0x4e93c6,_0x480df5,_0x37eb07,_0x300a3f){const _0xccb594=_0x4299a1;super(),this[_0xccb594(0x4c9)]=_0x3a0fb8,this[_0xccb594(0x327)]=_0x4e93c6,this[_0xccb594(0x454)]=_0x480df5,this[_0xccb594(0x557)]=_0x37eb07,this[_0xccb594(0x4cf)]=_0x300a3f;const {..._0x5c3811}=this['_config'];this['_configService']['setConfig'](ie,_0x5c3811);}['onStarting'](){const _0x2a6313=_0x4299a1;this[_0x2a6313(0x424)](),this['_initDependencies']();}[_0x4299a1(0x251)](){_0x1867c1(this['_injector'],[[Et]]);}[_0x4299a1(0x45f)](){const _0x5f4db5=_0x4299a1;this[_0x5f4db5(0x43c)]();}[_0x4299a1(0x424)](){const _0x12565c=_0x4299a1;var _0x2f1bf2,_0xd56098,_0x516bb9,_0x575706;this[_0x12565c(0x557)][_0x12565c(0x31a)](_0x1ea290)&&this[_0x12565c(0x327)]['error'](_0x12565c(0x4ab),_0x12565c(0x525));const _0x377362=[[_0x1ea290,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x137f7e],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0xd56098=(_0x2f1bf2=this[_0x12565c(0x4c9)])==null?void 0x0:_0x2f1bf2[_0x12565c(0x26d)])!=null?_0xd56098:es}],[_0x35ea1d,{'useClass':ls}],[_0x2be504,{'useClass':cs}],[_0x108880,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x516bb9=this[_0x12565c(0x4c9)])!=null&&_0x516bb9['enableSingleActiveInstanceLock']&&_0x377362[_0x12565c(0x499)]([yt,{'useClass':so}]),_0x53ca79(this[_0x12565c(0x557)],_0x151e3e(_0x377362,(_0x575706=this['_config'])==null?void 0x0:_0x575706[_0x12565c(0x3ca)]));}[_0x4299a1(0x43c)](){const _0x5b9095=_0x4299a1;this['disposeWithMe'](this[_0x5b9095(0x454)][_0x5b9095(0x1ca)](_0x120bce[_0x5b9095(0x599)],[os])),this[_0x5b9095(0x5b7)](this[_0x5b9095(0x454)][_0x5b9095(0x1ca)](_0x120bce[_0x5b9095(0x247)],[as]));}['_initDependencies'](){const _0x2f75fd=_0x4299a1;var _0x5524d3,_0x176afd;this[_0x2f75fd(0x557)][_0x2f75fd(0x401)](_0x56ddfb)[_0x2f75fd(0x537)]({'priority':0x14,'interceptor':_0x33ba4d({'maxParallel':0x6})}),(_0x5524d3=this[_0x2f75fd(0x4c9)])!=null&&_0x5524d3['enableOfflineEditing']||this[_0x2f75fd(0x557)]['get'](q)[_0x2f75fd(0x574)](),(_0x176afd=this[_0x2f75fd(0x4c9)])!=null&&_0x176afd[_0x2f75fd(0x596)]&&_0x1867c1(this[_0x2f75fd(0x557)],[[bt]]),_0x1867c1(this[_0x2f75fd(0x557)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x4299a1(0x36e),Ec),us=Ic([_0x45b1bd(_0x3205bf,_0x381d3e),_t(0x1,_0x105261),_t(0x2,_0x113a5e),_t(0x3,_0x2f5cfe(_0x22006e)),_t(0x4,_0x3fd15e)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
1
+ const _0x55040e=_0x1c89;(function(_0x522fab,_0x58a525){const _0x51dc45=_0x1c89,_0x12e6e1=_0x522fab();while(!![]){try{const _0x26f03a=parseInt(_0x51dc45(0x322))/0x1+parseInt(_0x51dc45(0x35a))/0x2+parseInt(_0x51dc45(0x55f))/0x3*(parseInt(_0x51dc45(0x1e4))/0x4)+parseInt(_0x51dc45(0x287))/0x5+parseInt(_0x51dc45(0x230))/0x6*(-parseInt(_0x51dc45(0x3dd))/0x7)+parseInt(_0x51dc45(0x304))/0x8+-parseInt(_0x51dc45(0x4da))/0x9*(parseInt(_0x51dc45(0x523))/0xa);if(_0x26f03a===_0x58a525)break;else _0x12e6e1['push'](_0x12e6e1['shift']());}catch(_0xbbedb4){_0x12e6e1['push'](_0x12e6e1['shift']());}}}(_0x59b0,0xe4a0a));var Ki=Object[_0x55040e(0x4df)],zi=(_0x1fbbc9,_0x32a39a,_0x3b172d)=>_0x32a39a in _0x1fbbc9?Ki(_0x1fbbc9,_0x32a39a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b172d}):_0x1fbbc9[_0x32a39a]=_0x3b172d,g=(_0x347c2d,_0x36f72d,_0x57502b)=>zi(_0x347c2d,typeof _0x36f72d!=_0x55040e(0x37a)?_0x36f72d+'':_0x36f72d,_0x57502b);import{createIdentifier as _0x34aab2,Inject as _0xb59c13,Disposable as _0x32aa41,DisposableCollection as _0x5835a2,toDisposable as _0xc23247,IConfigService as _0x1fedc7,ILogService as _0x6916a2,UserManagerService as _0x29d82d,UniverInstanceType as _0x24e86f,IUniverInstanceService as _0x10abd5,LocaleService as _0x5d0578,Optional as _0x31105a,RxDisposable as _0x47772b,Injector as _0x475d43,Tools as _0xada371,ILocalStorageService as _0x24409f,Rectangle as _0x4cd56a,ICommandService as _0x2983df,DOC_RANGE_TYPE as _0x70259c,JSONX as _0xd8462f,CommandType as _0x433970,IPermissionService as _0xffa540,IUndoRedoService as _0x50f1b0,sequenceExecute as _0x574971,debounce as _0xc081a9,COLORS as _0x450be7,ColorKit as _0x47595b,ThemeService as _0x5a8ea1,fromEventSubject as _0x4e3f7c,useDependency as _0x50d38c,connectInjector as _0x4f2b45,Workbook as _0x579778,isInternalEditorID as _0x326eab,LocalUndoRedoService as _0x341424,IContextService as _0x9c5354,DependentOn as _0x3e5806,Plugin as _0x46423b,touchDependencies as _0x49baab,IAuthzIoService as _0x2d8beb,registerDependencies as _0x3aaab8,mergeOverrideWithDependencies as _0x2902a7}from'@univerjs/core';import{Subject as _0x308ed9,merge as _0x3dbb21,takeUntil as _0x589f39,BehaviorSubject as _0x7f65fd,distinctUntilChanged as _0x3027e0,fromEvent as _0x542d7a,ReplaySubject as _0x3b618a,take as _0x31309a,map as _0xd7e00,shareReplay as _0x507dc,of as _0x1c2089,debounceTime as _0x1a585e,filter as _0x2d2fe3,switchMap as _0x15ee08,combineLatest as _0x12b0bc,concatMap as _0x17d64a,mapTo as _0x247358}from'rxjs';import{map as _0x151dda,take as _0x516d59,filter as _0x1fa847,delay as _0x258030,throttleTime as _0xcf2026,takeUntil as _0x384b4a,switchMap as _0x1e32ba}from'rxjs/operators';import{MessageType as _0x4d23e2,Tooltip as _0x1099e0}from'@univerjs/design';import{IBeforeCloseService as _0x3f52b5,IMessageService as _0x204e81,INotificationService as _0x1e023b,useObservable as _0x1cfa5d,BuiltInUIPart as _0x1c26fa,IUIPartsService as _0x1f002f}from'@univerjs/ui';import{HTTPService as _0x32e2ee,WebSocketService as _0x4f4d80,MergeInterceptorFactory as _0x2ee28d,HTTPRequest as _0x56c16f,UniverNetworkPlugin as _0x41fb44,ThresholdInterceptorFactory as _0x516c01}from'@univerjs/network';import{CollaborationEvent as _0x4382cf,parseChangesetToProtocol as _0x1637d9,ISnapshotServerService as _0x24d50d,isTransformMutationFailure as _0x55b38f,isTransformMutationsWithChangesetSuccess as _0x5c817a,ITransformService as _0x3c8669,RevisionService as _0x4db64b,mapDocumentTypeToUniverType as _0x4604e3,isTransformChangesetsSuccess as _0x356879,CompressMutationService as _0x20ba1c,parseProtocolChangeset as _0x243fd9,SnapshotService as _0x10becd,textEncoder as _0x9dad0c,b64DecodeUnicode as _0x408162,isTransformMutationsWithChangesetFailure as _0x4afa5,UniverCollaborationPlugin as _0x334bc4}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4c9a2d}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x2e4cd8,DocStateChangeManagerService as _0x2dd912,NodePositionConvertToCursor as _0x520d03,NodePositionConvertToRectRange as _0x2085f4,TEXT_RANGE_LAYER_INDEX as _0x54f7cc,SetDocZoomRatioOperation as _0x219679}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x43394b,SetSelectionsOperation as _0x2b5e50,InsertSheetMutation as _0x3f6de1,EmptyMutation as _0x175b3b,WorkbookEditablePermission as _0x21a4cb,RefRangeService as _0xaeff9d,EffectRefRangId as _0x1ed202,handleIRemoveRow as _0x3c5577,handleIRemoveCol as _0x473fa6,handleMoveRange as _0xe9e4b9,handleInsertRow as _0x5e6ad4,handleInsertRangeMoveRight as _0x3ab6ab,handleInsertRangeMoveDown as _0x111aeb,handleInsertCol as _0x5e87db,handleDeleteRangeMoveUp as _0x5ba6ba,handleDeleteRangeMoveLeft as _0x577b13,runRefRangeMutations as _0x377e68,SetWorksheetActivateCommand as _0x5d9c59}from'@univerjs/sheets';import{IRenderManagerService as _0x1959be,Shape as _0x53eadf,Rect as _0x40a882,getColor as _0x2e60e7,RegularPolygon as _0x140698,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xf22eac,Vector2 as _0x3805a7}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x1e62ad,RichTextEditingMutation as _0x3f8477,SetTextSelectionsOperation as _0x444124,DocSkeletonManagerService as _0x218b49}from'@univerjs/docs';import{ImageSourceType as _0xfd8cab,ImageUploadStatusType as _0x19586c,IImageIoService as _0x466d70}from'@univerjs/drawing';function _0x1c89(_0x4f0597,_0x13341e){const _0x59b027=_0x59b0();return _0x1c89=function(_0x1c8980,_0x487723){_0x1c8980=_0x1c8980-0x1c1;let _0x319843=_0x59b027[_0x1c8980];return _0x319843;},_0x1c89(_0x4f0597,_0x13341e);}import{deserializeRangeWithSheet as _0x4682a4,serializeRangeWithSheet as _0x10030c}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x59f476,VIEWPORT_KEY as _0x2a8fb7,getCoordByCell as _0x169a18,getSheetObject as _0x78dd1,SheetPermissionInitController as _0x197e7c}from'@univerjs/sheets-ui';import _0x5625db,{forwardRef as _0x3480a1,useRef as _0xb46f77,createElement as _0x3fd77b,useCallback as _0x52f5d2}from'react';import{IRemoteInstanceService as _0x280a26}from'@univerjs/rpc';const rr='SNAPSHOT_SERVER_URL_KEY',or=_0x55040e(0x2d6),ar=_0x55040e(0x320),kc=_0x55040e(0x377),cr=0x7d0,hr='COLLAB_WEB_SOCKET_URL',lr=_0x55040e(0x3ea),_r='HEARTBEAT_INTERVAL',ur=0x7530,bi=_0x55040e(0x362),Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr='LOCAL_CACHE_INTERVAL',pr=0x3e8,gr=_0x55040e(0x266),Sr=_0x55040e(0x4d4),Ir=_0x55040e(0x3de),Cr=_0x55040e(0x285);var Ri=(_0x1b77dd=>(_0x1b77dd[_0x1b77dd['UNDEFINED']=0x0]='UNDEFINED',_0x1b77dd[_0x1b77dd['OK']=0x1]='OK',_0x1b77dd[_0x1b77dd[_0x55040e(0x428)]=0x2]=_0x55040e(0x428),_0x1b77dd[_0x1b77dd['PERMISSION_DENIED']=0x3]=_0x55040e(0x205),_0x1b77dd[_0x1b77dd['NOT_FOUND']=0x4]=_0x55040e(0x374),_0x1b77dd[_0x1b77dd['UNAUTHENTICATED']=0x5]=_0x55040e(0x569),_0x1b77dd[_0x1b77dd[_0x55040e(0x458)]=0x6]=_0x55040e(0x458),_0x1b77dd[_0x1b77dd[_0x55040e(0x581)]=0x7]='INVALID_ARGUMENT',_0x1b77dd[_0x1b77dd[_0x55040e(0x207)]=0x8]=_0x55040e(0x207),_0x1b77dd[_0x1b77dd['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x1b77dd[_0x1b77dd[_0x55040e(0x21d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1b77dd[_0x1b77dd['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1b77dd[_0x1b77dd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x55040e(0x51c),_0x1b77dd[_0x1b77dd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x55040e(0x20b),_0x1b77dd[_0x1b77dd[_0x55040e(0x240)]=0x1b59]='APPLY_REJECT',_0x1b77dd[_0x1b77dd[_0x55040e(0x241)]=0x1b5a]=_0x55040e(0x241),_0x1b77dd[_0x1b77dd[_0x55040e(0x1c3)]=0x1b5b]=_0x55040e(0x1c3),_0x1b77dd[_0x1b77dd['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x55040e(0x526),_0x1b77dd[_0x1b77dd[_0x55040e(0x2e9)]=0x1b5d]='APPLY_DUPLICATED',_0x1b77dd[_0x1b77dd[_0x55040e(0x4bf)]=0x1f41]=_0x55040e(0x4bf),_0x1b77dd[_0x1b77dd[_0x55040e(0x258)]=0x2329]=_0x55040e(0x258),_0x1b77dd[_0x1b77dd[_0x55040e(0x27c)]=0x232a]=_0x55040e(0x27c),_0x1b77dd[_0x1b77dd['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x55040e(0x3e5),_0x1b77dd[_0x1b77dd[_0x55040e(0x5ae)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1b77dd[_0x1b77dd[_0x55040e(0x358)]=0x232d]=_0x55040e(0x358),_0x1b77dd[_0x1b77dd[_0x55040e(0x254)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1b77dd[_0x1b77dd[_0x55040e(0x1ee)]=0x2712]=_0x55040e(0x1ee),_0x1b77dd[_0x1b77dd[_0x55040e(0x518)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1b77dd[_0x1b77dd[_0x55040e(0x418)]=0x2714]=_0x55040e(0x418),_0x1b77dd[_0x1b77dd[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x1b77dd))(Ri||{}),ce=(_0x59e291=>(_0x59e291[_0x59e291['UNIVER_UNKNOWN']=0x0]=_0x55040e(0x341),_0x59e291[_0x59e291[_0x55040e(0x337)]=0x1]=_0x55040e(0x337),_0x59e291[_0x59e291[_0x55040e(0x2b1)]=0x2]=_0x55040e(0x2b1),_0x59e291[_0x59e291['UNIVER_SLIDE']=0x3]=_0x55040e(0x568),_0x59e291[_0x59e291[_0x55040e(0x445)]=0x4]='UNIVER_PROJECT',_0x59e291[_0x59e291[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x59e291))(ce||{}),W=(_0x2b9150=>(_0x2b9150[_0x2b9150['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x2b9150[_0x2b9150[_0x55040e(0x37f)]=0x1]=_0x55040e(0x37f),_0x2b9150[_0x2b9150[_0x55040e(0x58f)]=0x2]='JOIN',_0x2b9150[_0x2b9150[_0x55040e(0x250)]=0x3]=_0x55040e(0x250),_0x2b9150[_0x2b9150[_0x55040e(0x5d4)]=0x4]=_0x55040e(0x5d4),_0x2b9150[_0x2b9150[_0x55040e(0x4c0)]=0x5]=_0x55040e(0x4c0),_0x2b9150[_0x2b9150[_0x55040e(0x4fe)]=0x6]=_0x55040e(0x4fe),_0x2b9150[_0x2b9150[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x2b9150))(W||{}),Is=(_0x557759=>(_0x557759[_0x557759['UNKNOWN_CODE']=0x0]=_0x55040e(0x26c),_0x557759[_0x557759['OK']=0x1]='OK',_0x557759[_0x557759['FAIL']=0x2]=_0x55040e(0x39f),_0x557759[_0x557759[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x557759))(Is||{}),yi=(_0x29f2b7=>(_0x29f2b7[_0x29f2b7['Undefined']=0x0]=_0x55040e(0x2fa),_0x29f2b7[_0x29f2b7[_0x55040e(0x467)]=0x1]='HttpImport',_0x29f2b7[_0x29f2b7['HttpExport']=0x2]='HttpExport',_0x29f2b7[_0x29f2b7[_0x55040e(0x589)]=0x3]=_0x55040e(0x589),_0x29f2b7[_0x29f2b7[_0x55040e(0x385)]=0x4]='UnitSnapshot',_0x29f2b7[_0x29f2b7[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x29f2b7))(yi||{});const ie=_0x55040e(0x294),Er={};function br(_0x21ae64){const _0x1a5361=_0x55040e;var _0x507ae8,_0x34c398,_0x2b7046,_0x219661,_0x47b2e0;const _0x510060=_0x21ae64['data'],_0x81b9b0=JSON[_0x1a5361(0x46c)](_0x510060);switch(_0x81b9b0[_0x1a5361(0x5bd)]){case W[_0x1a5361(0x4c0)]:case W['HELLO']:{const _0x2f26c4=_0x81b9b0[_0x1a5361(0x4c6)];return{..._0x81b9b0,'data':_0x2f26c4,'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};}case W[_0x1a5361(0x58f)]:{const _0x8fc38e=_0x81b9b0[_0x1a5361(0x58d)];return{..._0x81b9b0,'data':_0x8fc38e,'cmd':_0x81b9b0['cmd']};}case W[_0x1a5361(0x4fe)]:{const _0x3cfa08=_0x81b9b0[_0x1a5361(0x290)];switch(_0x3cfa08[_0x1a5361(0x3ff)]){case _0x4382cf[_0x1a5361(0x29d)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x507ae8=_0x3cfa08[_0x1a5361(0x557)])==null?void 0x0:_0x507ae8['cs']},'cmd':_0x81b9b0['cmd']};case _0x4382cf[_0x1a5361(0x35b)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x34c398=_0x3cfa08[_0x1a5361(0x574)])==null?void 0x0:_0x34c398['cs']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x4dc)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x2b7046=_0x3cfa08['newCsEvent'])==null?void 0x0:_0x2b7046['cs']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x2b9)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x219661=_0x3cfa08[_0x1a5361(0x23b)])==null?void 0x0:_0x219661['cs']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x247)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x47b2e0=_0x3cfa08[_0x1a5361(0x433)])==null?void 0x0:_0x47b2e0['cs']},'cmd':_0x81b9b0['cmd']};case _0x4382cf['UPDATE_CURSOR']:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x482)]},'cmd':_0x81b9b0['cmd']};case _0x4382cf[_0x1a5361(0x232)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x5b0)]},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x278)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x4c5)]},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf['LIVESHARE_NEW_HOST']:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08['liveShareNewHost']},'cmd':_0x81b9b0['cmd']};case _0x4382cf[_0x1a5361(0x1f1)]:case _0x4382cf[_0x1a5361(0x1c9)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x58e)]},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x43c)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08['liveShareNewHost']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x52d)]:return{..._0x81b9b0,'data':_0x3cfa08,'cmd':_0x81b9b0['cmd']};case _0x4382cf[_0x1a5361(0x36f)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08['commentUpdateEvent']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x208)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08['updatePermissionObjEvent']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf['SHOULD_CLOSE_CONN']:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x1d5)]},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};default:return _0x81b9b0;}}default:return _0x81b9b0;}}function Tr(_0x318d1a){const _0x415e64=_0x55040e;switch(_0x318d1a[_0x415e64(0x5bd)]){case W[_0x415e64(0x4c0)]:case W[_0x415e64(0x37f)]:return JSON[_0x415e64(0x434)]({'cmd':_0x318d1a[_0x415e64(0x5bd)],'routeKey':_0x318d1a[_0x415e64(0x2e7)]});case W[_0x415e64(0x5d4)]:{let _0x4c364a;switch(_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x3ff)]){case _0x4382cf[_0x415e64(0x480)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x480)],'updateCursorEvent':_0x318d1a[_0x415e64(0x44b)]['data']};break;}case _0x4382cf[_0x415e64(0x278)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x278)],'leaveEvent':_0x318d1a['data'][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x232)]:{_0x4c364a={'eventID':_0x4382cf['USERS_ENTER'],'joinEvent':_0x318d1a['data'][_0x415e64(0x44b)]};break;}case _0x4382cf['LIVESHARE_NEW_HOST']:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x2e1)],'liveShareNewHost':_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x1c9)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x1c9)],'liveShareOperation':_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x43c)]:{_0x4c364a={'eventID':_0x4382cf['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x2e5)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x2e5)],'liveShareRequestHost':_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x1f1)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x1f1)]};break;}default:_0x4c364a={'eventID':_0x318d1a['data']['eventID']};}return JSON[_0x415e64(0x434)]({'cmd':_0x318d1a['cmd'],'routeKey':_0x318d1a[_0x415e64(0x2e7)],'collaMsg':_0x4c364a});}case W[_0x415e64(0x58f)]:return JSON[_0x415e64(0x434)]({'cmd':_0x318d1a['cmd'],'routeKey':_0x318d1a[_0x415e64(0x2e7)],'joinReq':_0x318d1a[_0x415e64(0x44b)]});case W['LEAVE']:return JSON[_0x415e64(0x434)]({'cmd':_0x318d1a[_0x415e64(0x5bd)],'routeKey':_0x318d1a['routeKey'],'leaveReq':_0x318d1a[_0x415e64(0x44b)]});default:throw new Error(_0x415e64(0x5ca));}}var Rr=Object[_0x55040e(0x4df)],yr=Object[_0x55040e(0x2ad)],Or=(_0x35da9b,_0x417b61,_0xb463ba,_0x373f11)=>{const _0x4f405c=_0x55040e;for(var _0x4ca5ed=_0x373f11>0x1?void 0x0:_0x373f11?yr(_0x417b61,_0xb463ba):_0x417b61,_0x49782c=_0x35da9b[_0x4f405c(0x41f)]-0x1,_0x442125;_0x49782c>=0x0;_0x49782c--)(_0x442125=_0x35da9b[_0x49782c])&&(_0x4ca5ed=(_0x373f11?_0x442125(_0x417b61,_0xb463ba,_0x4ca5ed):_0x442125(_0x4ca5ed))||_0x4ca5ed);return _0x373f11&&_0x4ca5ed&&Rr(_0x417b61,_0xb463ba,_0x4ca5ed),_0x4ca5ed;},qe=(_0x54e919,_0x193d0d)=>(_0x394797,_0x4bbc35)=>_0x193d0d(_0x394797,_0x4bbc35,_0x54e919);const Oi=_0x34aab2(_0x55040e(0x4c9));function wr(_0x3c6058,_0xdc1a1d,_0x5c7f27){const _0x14fe44=_0x55040e;return _0x3c6058+'/'+_0xdc1a1d+_0x14fe44(0x3c7)+_0x5c7f27+_0x14fe44(0x3df);}let es=class extends _0x32aa41{constructor(_0x4f5e8b,_0x3c91f8,_0x523151,_0x3d524f,_0x40ffdc){const _0x3b3917=_0x55040e;super(),this[_0x3b3917(0x59f)]=_0x4f5e8b,this['_ws']=_0x3c91f8,this[_0x3b3917(0x2b0)]=_0x523151,this['_logService']=_0x3d524f,this[_0x3b3917(0x465)]=_0x40ffdc;}[_0x55040e(0x226)](_0x17a4c4){const _0x277c11=_0x55040e,_0xb11352=this[_0x277c11(0x2f2)]['createSocket'](_0x17a4c4);if(!_0xb11352)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x32934a=new _0x5835a2(),_0x3bf9bb=new _0x308ed9();_0x32934a[_0x277c11(0x47d)](_0xb11352[_0x277c11(0x566)]['subscribe'](_0x7ffad5=>_0x3bf9bb[_0x277c11(0x1ea)](_0x7ffad5))),_0x32934a[_0x277c11(0x47d)](_0xc23247(()=>_0x3bf9bb[_0x277c11(0x512)]()));const _0x347076=new _0x308ed9();_0x32934a['add'](_0xb11352[_0x277c11(0x1d6)][_0x277c11(0x1e2)](_0x3dfed2=>_0x347076[_0x277c11(0x1ea)](_0x3dfed2))),_0x32934a['add'](_0xc23247(()=>_0x347076[_0x277c11(0x512)]()));const _0xdf72bd=new _0x308ed9();_0x32934a['add'](_0xb11352['message$'][_0x277c11(0x1e2)](_0x135203=>{const _0x50f0bd=br(_0x135203);_0xdf72bd['next'](_0x50f0bd);})),_0x32934a[_0x277c11(0x47d)](_0xc23247(()=>_0xdf72bd[_0x277c11(0x512)]()));let _0x4e0a8e;const _0x1854f3=()=>{const _0x2aa247=_0x277c11;_0x347076['next'](new Event('connection\x20error')),_0x3bf9bb[_0x2aa247(0x1ea)](new CloseEvent(_0x2aa247(0x30a))),_0x4e0a8e[_0x2aa247(0x570)]();};return _0x4e0a8e={'memberID':'','close$':_0x3bf9bb[_0x277c11(0x34d)](),'error$':_0x347076[_0x277c11(0x34d)](),'open$':_0xb11352[_0x277c11(0x4d9)],'message$':_0xdf72bd[_0x277c11(0x34d)](),'send':_0x5108f4=>{const _0xbaf4a3=_0x277c11;if(_0x5108f4[_0xbaf4a3(0x5bd)]===W['INGEST']){if(_0x5108f4[_0xbaf4a3(0x44b)][_0xbaf4a3(0x3ff)]===_0x4382cf[_0xbaf4a3(0x5a0)]){this[_0xbaf4a3(0x27d)](_0x4e0a8e,_0x5108f4[_0xbaf4a3(0x44b)])[_0xbaf4a3(0x213)](_0x33c1f4=>{const _0x335ba4=_0xbaf4a3;this[_0x335ba4(0x37d)][_0x335ba4(0x268)](_0x33c1f4),_0x1854f3();});return;}if(_0x5108f4[_0xbaf4a3(0x44b)][_0xbaf4a3(0x3ff)]===_0x4382cf[_0xbaf4a3(0x498)]){const _0x331e55=_0x5108f4[_0xbaf4a3(0x44b)];this[_0xbaf4a3(0x578)](_0x331e55)[_0xbaf4a3(0x4ce)](_0x107e0f=>{const _0x2bc146=_0xbaf4a3;_0xdf72bd[_0x2bc146(0x1ea)]({'cmd':W[_0x2bc146(0x4fe)],'code':Is['OK'],'routeKey':_0x331e55['data'][_0x2bc146(0x54d)],'routeType':'','data':{'eventID':_0x4382cf[_0x2bc146(0x281)],'data':{'changesets':_0x107e0f}}});})[_0xbaf4a3(0x213)](_0x362f1e=>{const _0x169ec5=_0xbaf4a3;this[_0x169ec5(0x37d)][_0x169ec5(0x268)](_0x362f1e),_0x1854f3();});return;}}_0xb11352[_0xbaf4a3(0x4a8)](Tr(_0x5108f4));},'close':()=>{const _0x4ba827=_0x277c11;_0xb11352[_0x4ba827(0x570)](),_0x32934a[_0x4ba827(0x449)]();}},_0x4e0a8e;}async[_0x55040e(0x27d)](_0x5b6af6,_0x200c63){const _0x1562b7=_0x55040e;var _0x43316a,_0x202c87;const {unitType:_0x4afe67,unitID:_0x230253,changeset:_0x372835}=_0x200c63[_0x1562b7(0x44b)],_0x3d6582={'unitID':_0x230253,'memberID':_0x5b6af6[_0x1562b7(0x572)],'type':_0x4afe67,'changeset':_0x1637d9(_0x372835)},_0x17a26e=this['_configService'][_0x1562b7(0x5c3)](gr),_0x39532=this[_0x1562b7(0x2b0)][_0x1562b7(0x5c3)](ie),_0x1b2931=wr((_0x202c87=(_0x43316a=_0x39532==null?void 0x0:_0x39532[_0x1562b7(0x547)])!=null?_0x43316a:_0x17a26e)!=null?_0x202c87:Sr,_0x4afe67,_0x230253);try{await this[_0x1562b7(0x59f)]['post'](_0x1b2931,{'body':_0x3d6582});}catch(_0x37bda5){throw this[_0x1562b7(0x37d)]['error']('[CollaborationSession]',_0x1562b7(0x5aa)),_0x37bda5;}}async[_0x55040e(0x578)](_0xd78577){const _0x2a057f=_0x55040e,{unitID:_0x4bf194,from:_0x439762,to:_0x209de3,unitType:_0x5f3e7c}=_0xd78577[_0x2a057f(0x44b)];return(await this[_0x2a057f(0x465)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4bf194,'type':_0x5f3e7c,'from':_0x439762,'to':_0x209de3}))[_0x2a057f(0x34c)];}};es=Or([qe(0x0,_0xb59c13(_0x32e2ee)),qe(0x1,_0xb59c13(_0x4f4d80)),qe(0x2,_0x1fedc7),qe(0x3,_0x6916a2),qe(0x4,_0x24d50d)],es);const Dr=_0x55040e(0x5a5);function Pr(_0x1068d1){const _0x5b2c0b=_0x55040e;return JSON[_0x5b2c0b(0x434)](_0x1068d1)[_0x5b2c0b(0x41f)];}class wi{constructor(){const _0xeb6982=_0x55040e;g(this,'_commentUpdate$',new _0x308ed9()),g(this,_0xeb6982(0x329),this['_commentUpdate$'][_0xeb6982(0x34d)]());}[_0x55040e(0x546)](_0x493dc5){const _0x44e144=_0x55040e;this[_0x44e144(0x3fa)][_0x44e144(0x1ea)](_0x493dc5);}}var Ur=Object[_0x55040e(0x4df)],Nr=Object[_0x55040e(0x2ad)],Ar=(_0x52719e,_0x579a3c,_0x138a02,_0x48e2b7)=>{for(var _0x23b6f5=_0x48e2b7>0x1?void 0x0:_0x48e2b7?Nr(_0x579a3c,_0x138a02):_0x579a3c,_0x159cb2=_0x52719e['length']-0x1,_0x1dd5be;_0x159cb2>=0x0;_0x159cb2--)(_0x1dd5be=_0x52719e[_0x159cb2])&&(_0x23b6f5=(_0x48e2b7?_0x1dd5be(_0x579a3c,_0x138a02,_0x23b6f5):_0x1dd5be(_0x23b6f5))||_0x23b6f5);return _0x48e2b7&&_0x23b6f5&&Ur(_0x579a3c,_0x138a02,_0x23b6f5),_0x23b6f5;},Hs=(_0x25c2ae,_0x561eac)=>(_0x29c7a9,_0x2f9837)=>_0x561eac(_0x29c7a9,_0x2f9837,_0x25c2ae);let Ne=class extends _0x32aa41{constructor(_0x5f54c0,_0x582e26){const _0x567cbd=_0x55040e;super(),g(this,_0x567cbd(0x4eb),new Map()),(this[_0x567cbd(0x48a)]=_0x5f54c0,this[_0x567cbd(0x37e)]=_0x582e26,this['disposeWithMe'](_0xc23247(_0x3dbb21(this[_0x567cbd(0x48a)][_0x567cbd(0x41b)](_0x24e86f['UNIVER_SHEET'])['pipe'](_0x151dda(_0x5d7628=>_0x5d7628['getUnitId']())),this[_0x567cbd(0x48a)][_0x567cbd(0x41b)](_0x24e86f[_0x567cbd(0x337)])['pipe'](_0x151dda(_0x20e732=>_0x20e732[_0x567cbd(0x4f5)]())),this[_0x567cbd(0x48a)][_0x567cbd(0x41b)](_0x24e86f[_0x567cbd(0x568)])['pipe'](_0x151dda(_0x20f2a4=>_0x20f2a4[_0x567cbd(0x4f5)]())))[_0x567cbd(0x1e2)](_0x288638=>this[_0x567cbd(0x3ae)](_0x288638)))));}[_0x55040e(0x472)](_0x2f1071){const _0x1fa8d1=_0x55040e;this[_0x1fa8d1(0x37e)]['setCurrentUser'](_0x2f1071);}[_0x55040e(0x31a)](){const _0xe94937=_0x55040e;return this['_userManagerService'][_0xe94937(0x31a)]();}[_0x55040e(0x45d)](_0x152b91,_0x583fd6){const _0x30a9be=_0x55040e;let _0x536ea0=this['_roomMembers'][_0x30a9be(0x25c)](_0x152b91);_0x536ea0||(_0x536ea0=new Mr(),this[_0x30a9be(0x4eb)][_0x30a9be(0x333)](_0x152b91,_0x536ea0)),_0x536ea0['updateMember'](_0x583fd6);}['removeMember'](_0x225836,_0x5e7061){const _0x2d93e9=_0x55040e,_0x2fe8dc=this[_0x2d93e9(0x4eb)][_0x2d93e9(0x25c)](_0x225836);_0x2fe8dc&&_0x2fe8dc[_0x2d93e9(0x4b3)](_0x5e7061);}[_0x55040e(0x475)](_0x432e6c){const _0x22beb8=_0x55040e;return this[_0x22beb8(0x4eb)][_0x22beb8(0x25c)](_0x432e6c);}[_0x55040e(0x1fc)](_0x277faa,_0xf9a7d8){const _0x33c451=_0x55040e,_0x388f70=this[_0x33c451(0x4eb)][_0x33c451(0x25c)](_0x277faa);if(_0x388f70)return _0x388f70[_0x33c451(0x1fc)](_0xf9a7d8);}[_0x55040e(0x3ae)](_0x46dace){const _0x13a76a=_0x55040e,_0x18e310=this[_0x13a76a(0x4eb)]['get'](_0x46dace);_0x18e310&&(_0x18e310[_0x13a76a(0x449)](),this['_roomMembers'][_0x13a76a(0x4b5)](_0x46dace));}[_0x55040e(0x449)](){const _0x5b25fa=_0x55040e;this[_0x5b25fa(0x4eb)][_0x5b25fa(0x582)](_0x5387c6=>_0x5387c6[_0x5b25fa(0x449)]()),this[_0x5b25fa(0x4eb)][_0x5b25fa(0x277)]();}};Ne=Ar([Hs(0x0,_0x10abd5),Hs(0x1,_0xb59c13(_0x29d82d))],Ne);class Mr extends _0x32aa41{constructor(){const _0x345949=_0x55040e;super(...arguments),g(this,_0x345949(0x400),new Map());}[_0x55040e(0x449)](){const _0x39be7e=_0x55040e;this[_0x39be7e(0x400)][_0x39be7e(0x277)]();}[_0x55040e(0x45d)](_0x1a075a){const _0xbf9034=_0x55040e;this[_0xbf9034(0x400)][_0xbf9034(0x333)](_0x1a075a[_0xbf9034(0x572)],_0x1a075a);}[_0x55040e(0x4b3)](_0x4b6b77){const _0x49944f=_0x55040e;this[_0x49944f(0x400)][_0x49944f(0x4b5)](_0x4b6b77);}[_0x55040e(0x1fc)](_0x6e9e2c){const _0x3270ac=_0x55040e;return this['_members'][_0x3270ac(0x25c)](_0x6e9e2c);}[_0x55040e(0x50b)](){const _0x186f0a=_0x55040e;return Array[_0x186f0a(0x311)](this[_0x186f0a(0x400)]['values']());}}var xr=Object[_0x55040e(0x4df)],Lr=Object[_0x55040e(0x2ad)],$r=(_0x584dad,_0x212818,_0x502cab,_0x30e182)=>{for(var _0x533c19=_0x30e182>0x1?void 0x0:_0x30e182?Lr(_0x212818,_0x502cab):_0x212818,_0x4f5ddc=_0x584dad['length']-0x1,_0x1eb484;_0x4f5ddc>=0x0;_0x4f5ddc--)(_0x1eb484=_0x584dad[_0x4f5ddc])&&(_0x533c19=(_0x30e182?_0x1eb484(_0x212818,_0x502cab,_0x533c19):_0x1eb484(_0x533c19))||_0x533c19);return _0x30e182&&_0x533c19&&xr(_0x212818,_0x502cab,_0x533c19),_0x533c19;},Ee=(_0x51fedc,_0x16862f)=>(_0x1452fe,_0x2d6600)=>_0x16862f(_0x1452fe,_0x2d6600,_0x51fedc),ve=(_0x212695=>(_0x212695[_0x212695[_0x55040e(0x23a)]=0x0]='IDLE',_0x212695[_0x212695[_0x55040e(0x45e)]=0x1]=_0x55040e(0x45e),_0x212695[_0x212695[_0x55040e(0x4d3)]=0x2]=_0x55040e(0x4d3),_0x212695[_0x212695[_0x55040e(0x1e6)]=0x3]='ONLINE',_0x212695))(ve||{});let ts=class extends _0x47772b{constructor(_0x51c293,_0x3eed50,_0x934053,_0x1244bb,_0x1f5515,_0x5a6a1e,_0x15a641,_0x120e44,_0x379b58,_0x138e35){const _0x328a19=_0x55040e;super(),g(this,_0x328a19(0x2a0),new _0x7f65fd(0x0)),g(this,_0x328a19(0x3ed),this[_0x328a19(0x2a0)][_0x328a19(0x34d)]()),g(this,_0x328a19(0x336),new _0x308ed9()),g(this,_0x328a19(0x4e5),this[_0x328a19(0x336)][_0x328a19(0x34d)]()),g(this,_0x328a19(0x360)),g(this,_0x328a19(0x219)),g(this,_0x328a19(0x48d)),g(this,_0x328a19(0x3c1),!0x1),g(this,'_telemetryInfo',null),(this[_0x328a19(0x40d)]=_0x51c293,this[_0x328a19(0x37d)]=_0x934053,this[_0x328a19(0x471)]=_0x1244bb,this[_0x328a19(0x353)]=_0x1f5515,this['_configService']=_0x5a6a1e,this[_0x328a19(0x376)]=_0x15a641,this[_0x328a19(0x356)]=_0x120e44,this['_commentService']=_0x379b58,this[_0x328a19(0x244)]=_0x138e35,this['_shouldReportTelemetry']=!!this[_0x328a19(0x244)],_0x3eed50[_0x328a19(0x55b)](_0x589f39(this[_0x328a19(0x48c)]))['subscribe'](_0x392cf2=>{const _0xc2995c=_0x328a19;var _0x196537;typeof _0x392cf2>'u'||(this[_0xc2995c(0x360)]=_0x392cf2,_0x392cf2?(this[_0xc2995c(0x5ba)](_0x392cf2),this['_socketMessageSubscription']=_0x392cf2['message$'][_0xc2995c(0x1e2)](_0xc4f3eb=>{const _0x2a7e8c=_0xc2995c;_0xc4f3eb[_0x2a7e8c(0x2e7)]===this[_0x2a7e8c(0x40d)]&&this['_onCombEvent'](_0xc4f3eb);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xc2995c(0x2a0)][_0xc2995c(0x1ea)](0x2),(_0x196537=this['_socketMessageSubscription'])==null||_0x196537[_0xc2995c(0x1e9)](),this[_0xc2995c(0x219)]=null));}),this[_0x328a19(0x33a)](this[_0x328a19(0x471)][_0x328a19(0x2f8)](()=>{const _0x343a5e=_0x328a19;var _0x3350b2;(_0x3350b2=this[_0x343a5e(0x360)])==null||_0x3350b2['send']({'cmd':W[_0x343a5e(0x250)],'data':{'roomID':this[_0x343a5e(0x40d)]}});})));}get['sessionStatus'](){const _0x96a5a3=_0x55040e;return this[_0x96a5a3(0x2a0)][_0x96a5a3(0x1e5)]();}[_0x55040e(0x419)](){const _0xdf8ee=_0x55040e;var _0x26e6c8,_0xd39e9d;return(_0xd39e9d=(_0x26e6c8=this[_0xdf8ee(0x360)])==null?void 0x0:_0x26e6c8[_0xdf8ee(0x572)])!=null?_0xd39e9d:null;}[_0x55040e(0x449)](){const _0x3f6043=_0x55040e;super[_0x3f6043(0x449)](),this['dispose$'][_0x3f6043(0x1ea)](),this['dispose$'][_0x3f6043(0x512)]();}['close'](){const _0x4dd8cf=_0x55040e;var _0x32eaa4,_0x2668fa;this[_0x4dd8cf(0x531)](),(_0x32eaa4=this[_0x4dd8cf(0x360)])==null||_0x32eaa4['send']({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x2668fa=this[_0x4dd8cf(0x360)])==null||_0x2668fa['close'](),this['_event$'][_0x4dd8cf(0x512)](),this[_0x4dd8cf(0x2a0)][_0x4dd8cf(0x512)](),this['dispose']();}[_0x55040e(0x379)](_0xf8a86b){const _0x3acb66=_0x55040e;_0xf8a86b[_0x3acb66(0x5bd)]===W['JOIN']?this[_0x3acb66(0x39e)](_0xf8a86b):_0xf8a86b[_0x3acb66(0x5bd)]===W[_0x3acb66(0x4fe)]&&this[_0x3acb66(0x404)](_0xf8a86b);}[_0x55040e(0x5ba)](_0x3483fe){const _0x4d5abb=_0x55040e;this[_0x4d5abb(0x2a0)][_0x4d5abb(0x1ea)](0x1),_0x3483fe['send']({'cmd':W[_0x4d5abb(0x58f)],'routeKey':this[_0x4d5abb(0x40d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4d5abb(0x40d)]}]}});}['_onJoinRoomEvent'](_0x4e6c8e){const _0x50f29f=_0x55040e;var _0xe609fa;if(_0x4e6c8e[_0x50f29f(0x2c3)]===Is[_0x50f29f(0x39f)]){this[_0x50f29f(0x353)][_0x50f29f(0x2d8)]({'type':_0x4d23e2[_0x50f29f(0x282)],'content':this[_0x50f29f(0x376)]['t']('session.room-full')}),this['_sessionStatus$'][_0x50f29f(0x1ea)](0x2);return;}this[_0x50f29f(0x2a0)]['next'](0x3);const _0x560681=(_0xe609fa=_0x4e6c8e['data'][_0x50f29f(0x24b)][this[_0x50f29f(0x40d)]])==null?void 0x0:_0xe609fa[_0x50f29f(0x4e8)];_0x560681&&_0x560681[_0x50f29f(0x582)](_0x2b48ae=>this['_memberService']['updateMember'](this['_unitID'],_0x2b48ae));}[_0x55040e(0x404)](_0x3156df){const _0x5066e7=_0x55040e;try{const _0x591dc3=_0x3156df['data'];switch(_0x591dc3[_0x5066e7(0x3ff)]){case _0x4382cf[_0x5066e7(0x232)]:this[_0x5066e7(0x308)](_0x591dc3),this[_0x5066e7(0x336)][_0x5066e7(0x1ea)](_0x591dc3);break;case _0x4382cf['USERS_LEAVE']:this[_0x5066e7(0x35e)](_0x591dc3),this['_event$'][_0x5066e7(0x1ea)](_0x591dc3);break;case _0x4382cf['CHANGESET_ACK']:case _0x4382cf[_0x5066e7(0x247)]:this[_0x5066e7(0x3d5)](),this[_0x5066e7(0x54f)](),this[_0x5066e7(0x336)][_0x5066e7(0x1ea)](_0x591dc3);break;case _0x4382cf[_0x5066e7(0x52d)]:this[_0x5066e7(0x37d)][_0x5066e7(0x268)](_0x5066e7(0x313)+JSON[_0x5066e7(0x434)](_0x591dc3)),this['_event$'][_0x5066e7(0x1ea)](_0x591dc3);break;case _0x4382cf[_0x5066e7(0x36f)]:this[_0x5066e7(0x4af)]['onCommentUpdate'](_0x591dc3[_0x5066e7(0x44b)]),this[_0x5066e7(0x336)]['next'](_0x591dc3);break;default:this[_0x5066e7(0x336)][_0x5066e7(0x1ea)](_0x591dc3);}}catch(_0x1435a4){this[_0x5066e7(0x37d)][_0x5066e7(0x268)](_0x1435a4,_0x3156df);}}[_0x55040e(0x308)](_0x2ba30c){const _0x42d999=_0x55040e;this[_0x42d999(0x356)][_0x42d999(0x45d)](this[_0x42d999(0x40d)],_0x2ba30c[_0x42d999(0x44b)]);}[_0x55040e(0x35e)](_0x30544f){const _0x373816=_0x55040e;this['_memberService'][_0x373816(0x4b3)](this[_0x373816(0x40d)],_0x30544f[_0x373816(0x44b)][_0x373816(0x572)]);}async[_0x55040e(0x4a8)](_0x3af264,_0x416c7d){const _0x3e0f5d=_0x55040e;if(this[_0x3e0f5d(0x521)]!==0x3||!this[_0x3e0f5d(0x360)])throw new Error(_0x3e0f5d(0x252));try{_0x3af264[_0x3e0f5d(0x3ff)]===_0x4382cf[_0x3e0f5d(0x5a0)]&&(this[_0x3e0f5d(0x421)](),this['_startTelemetryCollaborationNewChangeset'](_0x3af264)),this['_socket']['send']({'cmd':W[_0x3e0f5d(0x5d4)],'routeKey':_0x416c7d,'routeType':'','data':_0x3af264});}catch(_0xe82b8a){this[_0x3e0f5d(0x37d)]['error'](_0xe82b8a);}}['_scheduleCollaborationTimeoutTimer'](){const _0x3ea4d1=_0x55040e;var _0x4e28d7;this[_0x3ea4d1(0x48d)]=window[_0x3ea4d1(0x3f7)](()=>{const _0x38780a=_0x3ea4d1;this['_collaborationTimeoutTimer']=null,this[_0x38780a(0x353)][_0x38780a(0x2d8)]({'type':_0x4d23e2[_0x38780a(0x369)],'content':this[_0x38780a(0x376)]['t'](_0x38780a(0x45c))});},(_0x4e28d7=this[_0x3ea4d1(0x2b0)][_0x3ea4d1(0x5c3)](bi))!=null?_0x4e28d7:Ti);}[_0x55040e(0x54f)](){const _0x30a9b4=_0x55040e;this[_0x30a9b4(0x48d)]&&(clearTimeout(this[_0x30a9b4(0x48d)]),this['_collaborationTimeoutTimer']=null);}[_0x55040e(0x22e)](_0x31e2d1){const _0x3f41ab=_0x55040e;if(!this['_shouldReportTelemetry'])return;const {data:_0x1750f1}=_0x31e2d1,{unitID:_0x359163,changeset:_0x13dcc8}=_0x1750f1,{mutations:_0x2bc0b2,type:_0x25a20e}=_0x13dcc8;this['_telemetryInfo']={'unitId':_0x359163,'type':_0x25a20e,'startTime':performance[_0x3f41ab(0x352)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x2bc0b2)};}['_stopTelemetryCollaborationNewChangeset'](){const _0xf05c4b=_0x55040e;if(this['_shouldReportTelemetry']){if(!this[_0xf05c4b(0x2c8)]){this[_0xf05c4b(0x37d)][_0xf05c4b(0x268)](_0xf05c4b(0x279),_0xf05c4b(0x55d));return;}this[_0xf05c4b(0x2c8)][_0xf05c4b(0x394)]=performance[_0xf05c4b(0x352)](),this[_0xf05c4b(0x2c8)]['duration']=this[_0xf05c4b(0x2c8)][_0xf05c4b(0x394)]-this[_0xf05c4b(0x2c8)]['startTime'],this[_0xf05c4b(0x244)]['capture'](Dr,this[_0xf05c4b(0x2c8)]),this[_0xf05c4b(0x2c8)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x8f6b44=_0x55040e;this[_0x8f6b44(0x2c8)]=null;}};ts=$r([Ee(0x2,_0x6916a2),Ee(0x3,_0x3f52b5),Ee(0x4,_0x204e81),Ee(0x5,_0x1fedc7),Ee(0x6,_0xb59c13(_0x5d0578)),Ee(0x7,_0xb59c13(Ne)),Ee(0x8,_0xb59c13(wi)),Ee(0x9,_0x31105a(_0x4c9a2d))],ts);var Hr=Object[_0x55040e(0x4df)],jr=Object[_0x55040e(0x2ad)],Br=(_0x190d7d,_0x43d4a6,_0x5ca454,_0x126443)=>{for(var _0x3f58a0=_0x126443>0x1?void 0x0:_0x126443?jr(_0x43d4a6,_0x5ca454):_0x43d4a6,_0x4fe04b=_0x190d7d['length']-0x1,_0x1deec5;_0x4fe04b>=0x0;_0x4fe04b--)(_0x1deec5=_0x190d7d[_0x4fe04b])&&(_0x3f58a0=(_0x126443?_0x1deec5(_0x43d4a6,_0x5ca454,_0x3f58a0):_0x1deec5(_0x3f58a0))||_0x3f58a0);return _0x126443&&_0x3f58a0&&Hr(_0x43d4a6,_0x5ca454,_0x3f58a0),_0x3f58a0;},je=(_0x27fc91,_0x1f6892)=>(_0x203f51,_0x28f1b6)=>_0x1f6892(_0x203f51,_0x28f1b6,_0x27fc91);let Ae=class extends _0x32aa41{constructor(_0x31b8d2,_0xcb2c10,_0x3865aa,_0x55d23c,_0x53147d,_0x16bf80){const _0x338882=_0x55040e;super(),g(this,_0x338882(0x264),new _0x7f65fd(void 0x0)),g(this,_0x338882(0x28f),this[_0x338882(0x264)][_0x338882(0x34d)]()),g(this,_0x338882(0x40b),null),g(this,_0x338882(0x4d7),new Map()),g(this,'_status$',new _0x7f65fd(ve['IDLE'])),g(this,_0x338882(0x21c),this[_0x338882(0x209)][_0x338882(0x34d)]()),g(this,'_socketReady',!0x1),g(this,_0x338882(0x571)),g(this,_0x338882(0x3d8),0x0),g(this,_0x338882(0x596)),g(this,'_timeoutTimer'),(this[_0x338882(0x1c7)]=_0x31b8d2,this[_0x338882(0x376)]=_0xcb2c10,this[_0x338882(0x353)]=_0x3865aa,this[_0x338882(0x37d)]=_0x55d23c,this[_0x338882(0x2b0)]=_0x53147d,this[_0x338882(0x2d4)]=_0x16bf80,this[_0x338882(0x5b5)]());}get[_0x55040e(0x360)](){const _0x3ad247=_0x55040e;return this['_socket$'][_0x3ad247(0x1e5)]();}[_0x55040e(0x5b5)](){const _0x5e9840=_0x55040e;this[_0x5e9840(0x29e)](),this[_0x5e9840(0x5d3)]();}[_0x55040e(0x449)](){const _0x33c6eb=_0x55040e;super['dispose'](),this['_sessions'][_0x33c6eb(0x582)](_0x3d8d0d=>_0x3d8d0d[_0x33c6eb(0x449)]()),this[_0x33c6eb(0x4d7)][_0x33c6eb(0x277)](),this[_0x33c6eb(0x209)][_0x33c6eb(0x512)]();}async[_0x55040e(0x21e)](_0x37d18d){const _0x5744e1=_0x55040e;if(this[_0x5744e1(0x4d7)][_0x5744e1(0x269)](_0x37d18d))return this['_sessions']['get'](_0x37d18d);this[_0x5744e1(0x483)]();const _0x5c87af=this['_injector'][_0x5744e1(0x21f)](ts,_0x37d18d,this['_socket$'][_0x5744e1(0x34d)]());return this[_0x5744e1(0x4d7)]['set'](_0x37d18d,_0x5c87af),_0x5c87af;}['closeSession'](_0x48aacc){const _0x1ee016=_0x55040e;var _0x411fcc;const _0xd57d35=this[_0x1ee016(0x4d7)][_0x1ee016(0x25c)](_0x48aacc);_0xd57d35&&(this[_0x1ee016(0x4d7)][_0x1ee016(0x4b5)](_0x48aacc),_0xd57d35[_0x1ee016(0x570)]()),this[_0x1ee016(0x4d7)][_0x1ee016(0x1f7)]||(_0x411fcc=this[_0x1ee016(0x360)])==null||_0x411fcc['close']();}[_0x55040e(0x2c6)](){const _0x10c46c=_0x55040e;this[_0x10c46c(0x3d8)]=0x0,this[_0x10c46c(0x571)]!=null&&(clearTimeout(this[_0x10c46c(0x571)]),this[_0x10c46c(0x571)]=null),this['_tryReconnect']();}[_0x55040e(0x417)](){const _0x4a54b7=_0x55040e;var _0x4810df,_0xc19c5;const _0x33d778=this[_0x4a54b7(0x2b0)][_0x4a54b7(0x5c3)](hr),_0x464be7=this['_configService'][_0x4a54b7(0x5c3)](ie),_0x317a4c=(_0xc19c5=(_0x4810df=_0x464be7==null?void 0x0:_0x464be7['collabWebSocketUrl'])!=null?_0x4810df:_0x33d778)!=null?_0xc19c5:lr,_0x1f58b4=this['_socketService'][_0x4a54b7(0x226)](_0x317a4c);return this[_0x4a54b7(0x40b)]=_0x1f58b4,_0x1f58b4;}['_tryEnsureSocket'](){const _0x3a08f8=_0x55040e;var _0xcd1d6e,_0x23fc7a;try{const _0x2c9b63=(_0x23fc7a=(_0xcd1d6e=this[_0x3a08f8(0x360)])!=null?_0xcd1d6e:this[_0x3a08f8(0x40b)])!=null?_0x23fc7a:this[_0x3a08f8(0x417)]();if(_0x2c9b63){const _0x404856=_0x2c9b63[_0x3a08f8(0x4a8)];_0x2c9b63[_0x3a08f8(0x4a8)]=_0x37bad2=>(this['_rescheduleHeartbeat'](),_0x404856['apply'](_0x2c9b63,[_0x37bad2])),_0x2c9b63[_0x3a08f8(0x561)][_0x3a08f8(0x1e2)](_0x4d1504=>this[_0x3a08f8(0x4a6)](_0x2c9b63,_0x4d1504)),_0x2c9b63['error$'][_0x3a08f8(0x55b)](_0x516d59(0x1))['subscribe'](_0x4010e0=>this['_logService'][_0x3a08f8(0x268)](_0x3a08f8(0x3f6),_0x4010e0)),_0x2c9b63['open$'][_0x3a08f8(0x55b)](_0x516d59(0x1))[_0x3a08f8(0x1e2)](()=>{const _0x927d28=_0x3a08f8;this[_0x927d28(0x2c7)](_0x2c9b63);}),_0x2c9b63['close$'][_0x3a08f8(0x55b)](_0x516d59(0x1))[_0x3a08f8(0x1e2)](_0x1146f8=>{const _0x1cee51=_0x3a08f8;this[_0x1cee51(0x37d)][_0x1cee51(0x501)](_0x1cee51(0x33f),_0x1cee51(0x4ad),_0x1146f8),this[_0x1cee51(0x2ec)]();});}}catch(_0x364981){this[_0x3a08f8(0x37d)][_0x3a08f8(0x268)](_0x364981),this[_0x3a08f8(0x2ec)]();}}[_0x55040e(0x2c7)](_0x44cce8){const _0x4ca7cb=_0x55040e;this[_0x4ca7cb(0x37d)][_0x4ca7cb(0x501)]('[CollaborationSessionService]',_0x4ca7cb(0x595)),_0x44cce8[_0x4ca7cb(0x4a8)]({'cmd':W[_0x4ca7cb(0x37f)]}),this['_rescheduleHeartbeat']();}[_0x55040e(0x29e)](){const _0x5a2b34=_0x55040e;window[_0x5a2b34(0x2ea)](_0x5a2b34(0x50d),()=>this[_0x5a2b34(0x4f1)]());}[_0x55040e(0x4f1)](){const _0x5158bc=_0x55040e;this['_socketReady']=!0x1,this[_0x5158bc(0x40b)]=null,this['_status$'][_0x5158bc(0x1ea)](ve[_0x5158bc(0x4d3)]),this[_0x5158bc(0x264)][_0x5158bc(0x1ea)](null),this['_clearTimeoutTimer'](),this[_0x5158bc(0x228)]();}[_0x55040e(0x2ec)](){const _0x18b06b=_0x55040e;var _0x5a61ef;this[_0x18b06b(0x4f1)](),this[_0x18b06b(0x3d8)]<((_0x5a61ef=this[_0x18b06b(0x2b0)][_0x18b06b(0x5c3)](fr))!=null?_0x5a61ef:vr)?(this[_0x18b06b(0x353)][_0x18b06b(0x2d8)]({'key':_0x18b06b(0x432),'type':_0x4d23e2[_0x18b06b(0x282)],'content':this[_0x18b06b(0x376)]['t'](_0x18b06b(0x3ac))}),this[_0x18b06b(0x436)]()):this['_messageService'][_0x18b06b(0x2d8)]({'key':_0x18b06b(0x432),'type':_0x4d23e2[_0x18b06b(0x369)],'content':this['_localeService']['t'](_0x18b06b(0x3b4))});}[_0x55040e(0x5d3)](){const _0x15eb37=_0x55040e,_0x4953fa=()=>{const _0xcf7ae=_0x1c89;this[_0xcf7ae(0x360)]||this[_0xcf7ae(0x2c6)]();},_0x3bd957=()=>{const _0x5005f6=_0x1c89;this[_0x5005f6(0x360)]||document[_0x5005f6(0x54b)]===_0x5005f6(0x1ed)||this[_0x5005f6(0x2c6)]();};window[_0x15eb37(0x2ea)](_0x15eb37(0x366),_0x4953fa),document[_0x15eb37(0x2ea)](_0x15eb37(0x305),_0x3bd957);}[_0x55040e(0x436)](){const _0x5851cd=_0x55040e;var _0x1258f7;const _0x37d342=this[_0x5851cd(0x3d8)],_0x2240aa=this[_0x5851cd(0x2b0)][_0x5851cd(0x5c3)](ie),_0x3ad69b=_0x37d342===0x0?0x0:((_0x1258f7=_0x2240aa==null?void 0x0:_0x2240aa['retryConnectingInterval'])!=null?_0x1258f7:dr)*0x2**_0x37d342;this['_retryConnectingTimer']=window[_0x5851cd(0x3f7)](()=>{const _0x2337bc=_0x5851cd;clearTimeout(this[_0x2337bc(0x571)]),this[_0x2337bc(0x571)]=null,this[_0x2337bc(0x483)]();},_0x3ad69b),this['_retryCount']+=0x1;}[_0x55040e(0x4a6)](_0x1d1bf3,_0x58be42){const _0x1fd59a=_0x55040e,{cmd:_0x39d4a2}=_0x58be42;_0x39d4a2===W[_0x1fd59a(0x37f)]&&!this['_socketReady']&&(_0x1d1bf3[_0x1fd59a(0x572)]=_0x58be42[_0x1fd59a(0x44b)]['memberID'],this['_socket$'][_0x1fd59a(0x1ea)](_0x1d1bf3),this[_0x1fd59a(0x209)][_0x1fd59a(0x1ea)](ve[_0x1fd59a(0x1e6)]),this[_0x1fd59a(0x53e)]=!0x0,this[_0x1fd59a(0x40b)]=null),_0x39d4a2===W[_0x1fd59a(0x4c0)]&&this[_0x1fd59a(0x2d0)](),this[_0x1fd59a(0x3be)]();}[_0x55040e(0x3be)](){const _0x47c33c=_0x55040e;var _0x209bd7;this['_clearHeartbeatTimer'](),this[_0x47c33c(0x596)]=window[_0x47c33c(0x3f7)](()=>this[_0x47c33c(0x25a)](),(_0x209bd7=this[_0x47c33c(0x2b0)][_0x47c33c(0x5c3)](_r))!=null?_0x209bd7:ur);}[_0x55040e(0x25a)](){const _0x2e2e1b=_0x55040e;this[_0x2e2e1b(0x360)][_0x2e2e1b(0x4a8)]({'cmd':W[_0x2e2e1b(0x4c0)]}),this['_waitForHeartbeatResponse']();}[_0x55040e(0x3a3)](){const _0x2e4d9d=_0x55040e;var _0x5ad193;this[_0x2e4d9d(0x202)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x5ad193=this[_0x2e4d9d(0x2b0)]['getConfig'](bi))!=null?_0x5ad193:Ti);}[_0x55040e(0x228)](){const _0x85e4c6=_0x55040e;this[_0x85e4c6(0x596)]!=null&&(clearTimeout(this[_0x85e4c6(0x596)]),this[_0x85e4c6(0x596)]=null);}[_0x55040e(0x2d0)](){const _0x1e146e=_0x55040e;this[_0x1e146e(0x202)]!=null&&(clearTimeout(this[_0x1e146e(0x202)]),this['_timeoutTimer']=null);}};Ae=Br([je(0x0,_0xb59c13(_0x475d43)),je(0x1,_0xb59c13(_0x5d0578)),je(0x2,_0x204e81),je(0x3,_0x6916a2),je(0x4,_0x1fedc7),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x55040e(0x5b6)]((Nt+0x100)['toString'](0x10)['slice'](0x1));function kr(_0x306758,_0x3433de=0x0){const _0x10fe3b=_0x55040e;return(Y[_0x306758[_0x3433de+0x0]]+Y[_0x306758[_0x3433de+0x1]]+Y[_0x306758[_0x3433de+0x2]]+Y[_0x306758[_0x3433de+0x3]]+'-'+Y[_0x306758[_0x3433de+0x4]]+Y[_0x306758[_0x3433de+0x5]]+'-'+Y[_0x306758[_0x3433de+0x6]]+Y[_0x306758[_0x3433de+0x7]]+'-'+Y[_0x306758[_0x3433de+0x8]]+Y[_0x306758[_0x3433de+0x9]]+'-'+Y[_0x306758[_0x3433de+0xa]]+Y[_0x306758[_0x3433de+0xb]]+Y[_0x306758[_0x3433de+0xc]]+Y[_0x306758[_0x3433de+0xd]]+Y[_0x306758[_0x3433de+0xe]]+Y[_0x306758[_0x3433de+0xf]])[_0x10fe3b(0x5b4)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x3f1e25=_0x55040e;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x3f1e25(0x2ac)]&&crypto['getRandomValues']['bind'](crypto),!ct))throw new Error(_0x3f1e25(0x535));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x55040e(0x4a4)]&&crypto[_0x55040e(0x4a4)][_0x55040e(0x243)](crypto);const js={'randomUUID':Vr};function Gr(_0x2ad0ff,_0x5e6ed9,_0xc07d95){const _0x32a385=_0x55040e;if(js[_0x32a385(0x4a4)]&&!_0x5e6ed9&&!_0x2ad0ff)return js['randomUUID']();_0x2ad0ff=_0x2ad0ff||{};var _0x4de244=_0x2ad0ff[_0x32a385(0x4e7)]||(_0x2ad0ff['rng']||Fr)();return _0x4de244[0x6]=_0x4de244[0x6]&0xf|0x40,_0x4de244[0x8]=_0x4de244[0x8]&0x3f|0x80,kr(_0x4de244);}var Yr=Object['defineProperty'],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x5efc55,_0x2162ae,_0x107d01,_0x596cbb)=>{const _0x6a386e=_0x55040e;for(var _0x167139=_0x596cbb>0x1?void 0x0:_0x596cbb?Kr(_0x2162ae,_0x107d01):_0x2162ae,_0x25df8a=_0x5efc55[_0x6a386e(0x41f)]-0x1,_0x3450bd;_0x25df8a>=0x0;_0x25df8a--)(_0x3450bd=_0x5efc55[_0x25df8a])&&(_0x167139=(_0x596cbb?_0x3450bd(_0x2162ae,_0x107d01,_0x167139):_0x3450bd(_0x167139))||_0x167139);return _0x596cbb&&_0x167139&&Yr(_0x2162ae,_0x107d01,_0x167139),_0x167139;},At=(_0x3c2301,_0x1db87a)=>(_0x3d16f1,_0x57eff6)=>_0x1db87a(_0x3d16f1,_0x57eff6,_0x3c2301);let vt=class{constructor(_0x3711dc,_0x304fc3,_0x35890d){const _0x4f74d4=_0x55040e;this['_injector']=_0x3711dc,this[_0x4f74d4(0x384)]=_0x304fc3,this[_0x4f74d4(0x55c)]=_0x35890d;}[_0x55040e(0x558)](_0x5b3377){const _0x242d14=_0x55040e;this[_0x242d14(0x387)](_0x5b3377),this[_0x242d14(0x5a9)](_0x5b3377);}[_0x55040e(0x2b2)](_0x5a4c1c){const _0x19f1ea=_0x55040e,{unitID:_0x464f75}=_0x5a4c1c,_0x28ece5=this[_0x19f1ea(0x55c)][_0x19f1ea(0x365)](_0x464f75)[_0x19f1ea(0x45b)](_0x2e4cd8),{redoCache:_0x53a658}=_0x28ece5[_0x19f1ea(0x425)]();if(_0x53a658['length']===0x0)return _0x5a4c1c;let _0x52663c=_0xada371['deepClone'](_0x5a4c1c[_0x19f1ea(0x271)][0x0]);for(let _0x278a87=0x0;_0x278a87<_0x53a658[_0x19f1ea(0x41f)];_0x278a87++){const _0x3b3c2f={'id':'doc.mutation.rich-text-editing','params':{..._0x53a658[_0x278a87]}},_0x2566c6=this[_0x19f1ea(0x384)][_0x19f1ea(0x56c)](_0x52663c,_0x3b3c2f,!0x1);if(_0x55b38f(_0x2566c6))throw _0x2566c6[_0x19f1ea(0x268)];_0x52663c=_0x2566c6[_0x19f1ea(0x478)];}return{..._0xada371[_0x19f1ea(0x3eb)](_0x5a4c1c),'mutations':[_0x52663c]};}[_0x55040e(0x387)](_0x4a0570){const _0xf6e44e=_0x55040e,{unitID:_0x3f9f08}=_0x4a0570,_0x3d239e=this['_renderManagerService'][_0xf6e44e(0x365)](_0x3f9f08)['with'](_0x2e4cd8),{undoCache:_0x5d44e9,redoCache:_0x2492e3}=_0x3d239e[_0xf6e44e(0x425)]();if(_0x5d44e9[_0xf6e44e(0x41f)]===0x0||_0x2492e3[_0xf6e44e(0x41f)]===0x0)return;const _0x5b627b=[],_0x52a713=[];let _0x247497=_0xada371[_0xf6e44e(0x3eb)](_0x4a0570[_0xf6e44e(0x271)][0x0]),_0x43e308=_0xada371[_0xf6e44e(0x3eb)](_0x4a0570[_0xf6e44e(0x271)][0x0]);for(let _0x29e113=_0x5d44e9[_0xf6e44e(0x41f)]-0x1;_0x29e113>=0x0;_0x29e113--){const _0x287f3a={'id':'doc.mutation.rich-text-editing','params':{..._0x5d44e9[_0x29e113]}},_0x1dc4b5={'id':'doc.mutation.rich-text-editing','params':{..._0x2492e3[_0x29e113]}},_0x1aa5ef=this[_0xf6e44e(0x384)]['transformMutation'](_0x247497,_0x287f3a,!0x1),_0x59e214=this[_0xf6e44e(0x384)]['transformMutation'](_0x43e308,_0x1dc4b5,!0x1);if(_0x55b38f(_0x1aa5ef))throw _0x1aa5ef[_0xf6e44e(0x268)];if(_0x55b38f(_0x59e214))throw _0x59e214['error'];_0x5b627b[_0xf6e44e(0x334)](_0x1aa5ef[_0xf6e44e(0x580)][_0xf6e44e(0x593)]),_0x52a713['unshift'](_0x59e214[_0xf6e44e(0x580)][_0xf6e44e(0x593)]),_0x247497=_0x1aa5ef[_0xf6e44e(0x478)],_0x43e308=_0x59e214[_0xf6e44e(0x478)];}_0x3d239e[_0xf6e44e(0x291)]({'undoCache':_0x5b627b,'redoCache':_0x52a713});}[_0x55040e(0x5a9)](_0x18cbb4){const _0x46970a=_0x55040e,{unitID:_0x12f7c9}=_0x18cbb4,_0x13ed11=this[_0x46970a(0x55c)][_0x46970a(0x365)](_0x12f7c9)['with'](_0x2e4cd8),_0x4184ed=_0x13ed11[_0x46970a(0x5ac)]();if(_0x4184ed==null)return;const _0xb37ed8=[{'id':_0x46970a(0x265),'params':{'unitId':_0x18cbb4[_0x46970a(0x54d)],'actions':null,'textRanges':[_0x4184ed]}}],_0x25cb64=this['_transformService'][_0x46970a(0x30e)](_0x18cbb4,_0xb37ed8);if(!_0x5c817a(_0x25cb64))throw _0x25cb64[_0x46970a(0x268)];const _0xe3f79=_0x25cb64[_0x46970a(0x580)][0x0][_0x46970a(0x593)][_0x46970a(0x59b)];Array[_0x46970a(0x3a4)](_0xe3f79)&&_0xe3f79[_0x46970a(0x41f)]&&_0x13ed11['setActiveRange'](_0xe3f79[0x0]);}};vt=zr([At(0x0,_0xb59c13(_0x475d43)),At(0x1,_0x3c8669),At(0x2,_0x1959be)],vt);var qr=Object['defineProperty'],Xr=Object[_0x55040e(0x2ad)],Jr=(_0x5885ca,_0x3d576a,_0x47696d,_0x4b2389)=>{for(var _0x5f0f9e=_0x4b2389>0x1?void 0x0:_0x4b2389?Xr(_0x3d576a,_0x47696d):_0x3d576a,_0x4b47d8=_0x5885ca['length']-0x1,_0x53d335;_0x4b47d8>=0x0;_0x4b47d8--)(_0x53d335=_0x5885ca[_0x4b47d8])&&(_0x5f0f9e=(_0x4b2389?_0x53d335(_0x3d576a,_0x47696d,_0x5f0f9e):_0x53d335(_0x5f0f9e))||_0x5f0f9e);return _0x4b2389&&_0x5f0f9e&&qr(_0x3d576a,_0x47696d,_0x5f0f9e),_0x5f0f9e;},Xe=(_0x31ffed,_0x25d47a)=>(_0x354c64,_0x1c1d6c)=>_0x25d47a(_0x354c64,_0x1c1d6c,_0x31ffed);let q=class extends _0x32aa41{constructor(_0x2c678e,_0x24c375,_0x2cf8f5,_0x3ac6ba,_0xafaa3d){const _0x47f324=_0x55040e;super(),g(this,'_cachedData',new Map()),g(this,_0x47f324(0x22b),new Map()),g(this,_0x47f324(0x357),!0x1),(this['_configService']=_0x2c678e,this['_localStorageService']=_0x24c375,this[_0x47f324(0x471)]=_0x2cf8f5,this['_localeService']=_0x3ac6ba,this[_0x47f324(0x5c9)]=_0xafaa3d,this[_0x47f324(0x245)]());}[_0x55040e(0x503)](){const _0x5e1647=_0x55040e;this[_0x5e1647(0x357)]=!0x0;}[_0x55040e(0x527)](){const _0xabe48a=_0x55040e;this[_0xabe48a(0x357)]=!0x1;}[_0x55040e(0x449)](){const _0x13db20=_0x55040e;this[_0x13db20(0x1d1)]()[_0x13db20(0x4ce)](()=>super[_0x13db20(0x449)]());}async[_0x55040e(0x26d)](_0x6ee810){const _0x530b66=_0x55040e;return this[_0x530b66(0x357)]?null:this[_0x530b66(0x534)][_0x530b66(0x2f3)](Bs(_0x6ee810));}async['saveOfflineData'](_0x3f957d,_0x123452){const _0x59521f=_0x55040e;return!!this['_localStorageService'][_0x59521f(0x4fc)](_0x3f957d,_0x123452);}['updateOfflineData'](_0x46b387,_0x349a53,_0x21e4c7,_0x3ed9a4){const _0x3e08c3=_0x55040e,_0x380b66=this['_revisionService'][_0x3e08c3(0x225)](_0x46b387);this[_0x3e08c3(0x5c0)][_0x3e08c3(0x333)](_0x46b387,{'unitID':_0x46b387,'type':_0x349a53,'awaitingChangeset':_0x21e4c7,'mutations':_0x3ed9a4,'rev':_0x380b66}),this[_0x3e08c3(0x22b)][_0x3e08c3(0x269)](_0x46b387)||this[_0x3e08c3(0x1f3)](_0x46b387);}[_0x55040e(0x1f3)](_0x2e33c9){const _0x47d670=_0x55040e,_0x28647d=this[_0x47d670(0x3fe)]();_0x28647d===0x0?this[_0x47d670(0x3c3)](_0x2e33c9):this['_saveTaskMap'][_0x47d670(0x333)](_0x2e33c9,setTimeout(()=>this['_saveCache'](_0x2e33c9),_0x28647d));}['_getSaveTimeout'](){const _0x1b1c78=_0x55040e;var _0x573ae9;return(_0x573ae9=this[_0x1b1c78(0x2b0)][_0x1b1c78(0x5c3)](mr))!=null?_0x573ae9:pr;}['_saveCache'](_0x33afd1){const _0x1235d5=_0x55040e,_0x530193=this[_0x1235d5(0x22b)][_0x1235d5(0x25c)](_0x33afd1);return _0x530193!==void 0x0&&window[_0x1235d5(0x555)](_0x530193),this[_0x1235d5(0x534)]['setItem'](Bs(_0x33afd1),this['_cachedData'][_0x1235d5(0x25c)](_0x33afd1))[_0x1235d5(0x4ce)](()=>this[_0x1235d5(0x22b)][_0x1235d5(0x4b5)](_0x33afd1));}async['exhaustSavingTask'](){const _0x126589=_0x55040e,_0x51e343=[];this[_0x126589(0x22b)][_0x126589(0x582)]((_0x680982,_0x1d3779)=>{const _0x4b71b2=_0x126589;window[_0x4b71b2(0x555)](_0x680982),_0x51e343['push'](this[_0x4b71b2(0x3c3)](_0x1d3779)[_0x4b71b2(0x4ce)](()=>{const _0x2d1acb=_0x4b71b2;this['_saveTaskMap'][_0x2d1acb(0x4b5)](_0x1d3779);}));}),await Promise[_0x126589(0x424)](_0x51e343);}[_0x55040e(0x245)](){const _0x1322fa=_0x55040e;this[_0x1322fa(0x33a)](this[_0x1322fa(0x471)][_0x1322fa(0x567)](()=>{const _0x48c367=_0x1322fa;if(this[_0x48c367(0x22b)][_0x48c367(0x1f7)])return this[_0x48c367(0x376)]['t'](_0x48c367(0x342));}));}};q=Jr([Xe(0x0,_0x1fedc7),Xe(0x1,_0x24409f),Xe(0x2,_0x3f52b5),Xe(0x3,_0xb59c13(_0x5d0578)),Xe(0x4,_0xb59c13(_0x4db64b))],q);function Bs(_0x42963f){const _0x227248=_0x55040e;return _0x227248(0x48e)+_0x42963f;}var Zr=Object[_0x55040e(0x4df)],Qr=Object[_0x55040e(0x2ad)],eo=(_0x317f23,_0x415983,_0xf40acb,_0x349bbd)=>{for(var _0x1451ce=_0x349bbd>0x1?void 0x0:_0x349bbd?Qr(_0x415983,_0xf40acb):_0x415983,_0x516e3c=_0x317f23['length']-0x1,_0x5ad7fe;_0x516e3c>=0x0;_0x516e3c--)(_0x5ad7fe=_0x317f23[_0x516e3c])&&(_0x1451ce=(_0x349bbd?_0x5ad7fe(_0x415983,_0xf40acb,_0x1451ce):_0x5ad7fe(_0x1451ce))||_0x1451ce);return _0x349bbd&&_0x1451ce&&Zr(_0x415983,_0xf40acb,_0x1451ce),_0x1451ce;},Mt=(_0x443344,_0x40bef0)=>(_0x27c214,_0x1e9316)=>_0x40bef0(_0x27c214,_0x1e9316,_0x443344);function to(_0x54be3b){const _0x8565c5=_0x55040e,{unitID:_0x39f08f,mutations:_0x43ad30}=_0x54be3b;return{'unitId':_0x39f08f,'subUnitId':_0x43ad30[0x0][_0x8565c5(0x593)]['subUnitId']};}let mt=class{constructor(_0x11f670,_0x23e157,_0x51838f){const _0x18fb7c=_0x55040e;this[_0x18fb7c(0x1c7)]=_0x11f670,this[_0x18fb7c(0x384)]=_0x23e157,this[_0x18fb7c(0x485)]=_0x51838f;}[_0x55040e(0x466)](_0x3cd288){const _0x3192df=_0x55040e;var _0x32b2a9,_0x4bf4e6,_0x5b2d0c,_0x34b916;const _0x4aa133=this['_injector'][_0x3192df(0x25c)](_0x43394b),{unitId:_0x1f84e3,subUnitId:_0x245a95}=to(_0x3cd288),_0x27edbd=_0x4aa133['getWorkbookSelections'](_0x1f84e3)[_0x3192df(0x2f6)](),_0x10ea7a=(_0x4bf4e6=(_0x32b2a9=this[_0x3192df(0x485)][_0x3192df(0x468)](_0x1f84e3))==null?void 0x0:_0x32b2a9['getActiveSheet']())==null?void 0x0:_0x4bf4e6['getSheetId']();if(_0x27edbd['length']===0x0||!_0x1f84e3||!_0x245a95)return;const _0x3ff0e6=[{'id':_0x2b5e50['id'],'params':{'unitId':_0x1f84e3,'subUnitId':_0x10ea7a,'selections':_0xada371[_0x3192df(0x3eb)](_0x27edbd)}}],_0x2453fa=this['_transformService'][_0x3192df(0x30e)](_0x3cd288,_0x3ff0e6);if(!_0x5c817a(_0x2453fa))throw _0x2453fa[_0x3192df(0x268)];const _0xc9e4d1=(_0x34b916=(_0x5b2d0c=_0x2453fa['m2Prime'][0x0])==null?void 0x0:_0x5b2d0c[_0x3192df(0x593)])==null?void 0x0:_0x34b916[_0x3192df(0x2f0)];if(Array['isArray'](_0xc9e4d1)&&_0xc9e4d1[_0x3192df(0x41f)]){if(_0xc9e4d1[_0x3192df(0x41f)]===_0x3ff0e6[0x0][_0x3192df(0x593)][_0x3192df(0x2f0)][_0x3192df(0x41f)]&&_0xc9e4d1[_0x3192df(0x517)]((_0x1042b3,_0x5966e1)=>_0x4cd56a['equals'](_0x1042b3[_0x3192df(0x583)],_0x3ff0e6[0x0][_0x3192df(0x593)][_0x3192df(0x2f0)][_0x5966e1]['range'])))return;this[_0x3192df(0x1c7)][_0x3192df(0x25c)](_0x2983df)[_0x3192df(0x4e4)](_0x2b5e50['id'],{'unitId':_0x1f84e3,'subUnitId':_0x10ea7a,'selections':_0xc9e4d1});}}};mt=eo([Mt(0x0,_0xb59c13(_0x475d43)),Mt(0x1,_0x3c8669),Mt(0x2,_0x10abd5)],mt);const yt=_0x34aab2(_0x55040e(0x5b1));var Di=(_0x346953=>(_0x346953[_0x346953[_0x55040e(0x2b7)]=0x0]=_0x55040e(0x2b7),_0x346953[_0x346953['OTHER_CLIENTS_EDITING']=0x1]=_0x55040e(0x34b),_0x346953))(Di||{});const ks=0x7530,Ws=_0x55040e(0x496);class so extends _0x32aa41{constructor(){const _0x23f8ed=_0x55040e;super(),g(this,_0x23f8ed(0x4e6),_0xada371['generateRandomId']()),g(this,_0x23f8ed(0x335),new Set()),g(this,_0x23f8ed(0x5af),new Map()),g(this,_0x23f8ed(0x1cf),null),g(this,'_clearOtherTimers',new Map()),g(this,_0x23f8ed(0x3bc),new Map()),this[_0x23f8ed(0x442)]();}[_0x55040e(0x449)](){const _0x4c07d1=_0x55040e;super[_0x4c07d1(0x449)](),this[_0x4c07d1(0x300)][_0x4c07d1(0x582)]((_0x278f65,_0xbe53fb)=>this[_0x4c07d1(0x368)](_0xbe53fb)),this[_0x4c07d1(0x1cf)]&&window[_0x4c07d1(0x4d6)](this[_0x4c07d1(0x1cf)]);}[_0x55040e(0x22c)](_0x1ce8f0){const _0x51a953=_0x55040e;return this['_ensureSubject'](_0x1ce8f0)[_0x51a953(0x55b)](_0x3027e0());}[_0x55040e(0x1e7)](_0x2fa86f){const _0x5c32d4=_0x55040e;this['_selfUnitIDs'][_0x5c32d4(0x1f7)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5c32d4(0x335)][_0x5c32d4(0x47d)](_0x2fa86f),this[_0x5c32d4(0x45a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2fa86f],'isForwarded':!0x1});}[_0x55040e(0x402)](_0x2fa227){const _0x2fdc02=_0x55040e;this[_0x2fdc02(0x335)][_0x2fdc02(0x4b5)](_0x2fa227),this['_selfUnitIDs'][_0x2fdc02(0x1f7)]===0x0&&this[_0x2fdc02(0x1cf)]&&window[_0x2fdc02(0x4d6)](this['_heartbeatTimer']);}[_0x55040e(0x442)](){const _0xbac549=_0x55040e;this['disposeWithMe'](_0xc23247(_0x542d7a(window,_0xbac549(0x392))[_0xbac549(0x1e2)](_0x580032=>{const _0x1df5b3=_0xbac549;if(_0x580032[_0x1df5b3(0x303)]!==Ws||!_0x580032[_0x1df5b3(0x462)])return;const _0x21eb9f=JSON[_0x1df5b3(0x46c)](_0x580032['newValue']);this[_0x1df5b3(0x4f0)](_0x21eb9f);}))),window['addEventListener'](_0xbac549(0x321),()=>this[_0xbac549(0x45a)]({'type':0x1,'memberID':this[_0xbac549(0x4e6)],'unitIDs':Array[_0xbac549(0x311)](this[_0xbac549(0x335)])}));}[_0x55040e(0x4f0)](_0x1d2117){const _0x572108=_0x55040e;switch(_0x1d2117[_0x572108(0x24f)]){case 0x0:this[_0x572108(0x5cb)](_0x1d2117);break;case 0x1:this['_handleLeaveEvent'](_0x1d2117);break;case 0x2:this[_0x572108(0x50c)](_0x1d2117);break;}}[_0x55040e(0x5cb)](_0x54de9f){const _0x1ecdb4=_0x55040e,{unitIDs:_0x5a8a62,memberID:_0x24e504,isForwarded:_0x408482}=_0x54de9f;_0x5a8a62['forEach'](_0x513da4=>{const _0x5b3ab6=_0x1c89;if(!_0x408482&&this[_0x5b3ab6(0x5af)][_0x5b3ab6(0x269)](_0x513da4)&&this[_0x5b3ab6(0x539)](_0x513da4)[_0x5b3ab6(0x1ea)](0x1),!this[_0x5b3ab6(0x5af)][_0x5b3ab6(0x269)](_0x513da4)||!this[_0x5b3ab6(0x5af)]['get'](_0x513da4)[_0x5b3ab6(0x269)](_0x24e504)){const _0x2b3b6d=this[_0x5b3ab6(0x5af)][_0x5b3ab6(0x25c)](_0x513da4)||new Set();_0x2b3b6d[_0x5b3ab6(0x47d)](_0x24e504),this[_0x5b3ab6(0x5af)][_0x5b3ab6(0x333)](_0x513da4,_0x2b3b6d),this[_0x5b3ab6(0x2f4)](_0x24e504);}}),_0x408482||this[_0x1ecdb4(0x45a)]({'type':0x0,'memberID':this[_0x1ecdb4(0x4e6)],'unitIDs':[...this[_0x1ecdb4(0x335)]],'isForwarded':!0x0});}[_0x55040e(0x2f4)](_0x2376a5){const _0x37e3db=_0x55040e;this[_0x37e3db(0x368)](_0x2376a5);const _0x14ab86=window[_0x37e3db(0x3f7)](()=>{const _0x44ee86=_0x37e3db;this[_0x44ee86(0x5af)][_0x44ee86(0x582)](_0x2685f7=>{_0x2685f7['delete'](_0x2376a5);});},ks*0x2);this[_0x37e3db(0x300)][_0x37e3db(0x333)](_0x2376a5,_0x14ab86);}['_removeClearOtherTimer'](_0x4da6fe){const _0x5077f6=_0x55040e;if(this[_0x5077f6(0x300)]['has'](_0x4da6fe)){const _0x3fda2d=this[_0x5077f6(0x300)][_0x5077f6(0x25c)](_0x4da6fe);_0x3fda2d&&window[_0x5077f6(0x555)](_0x3fda2d),this[_0x5077f6(0x300)][_0x5077f6(0x333)](_0x4da6fe,null);}}[_0x55040e(0x575)](_0x1cbcd0){const _0x2991b7=_0x55040e,{memberID:_0x4c22d8,unitIDs:_0x1fd81e}=_0x1cbcd0;_0x1fd81e[_0x2991b7(0x582)](_0x271a54=>{const _0x5e11ad=_0x2991b7;var _0x34b2a7;const _0x2770d2=this[_0x5e11ad(0x5af)]['get'](_0x271a54);_0x2770d2&&(_0x2770d2[_0x5e11ad(0x4b5)](_0x4c22d8),(_0x34b2a7=this[_0x5e11ad(0x539)](_0x271a54))==null||_0x34b2a7[_0x5e11ad(0x1ea)](_0x2770d2[_0x5e11ad(0x1f7)]===0x0?0x0:0x1));}),this[_0x2991b7(0x368)](_0x4c22d8);}[_0x55040e(0x50c)](_0x30cef2){const _0x5aba9f=_0x55040e;this[_0x5aba9f(0x2f4)](_0x30cef2[_0x5aba9f(0x572)]);}['_send'](_0x4cd42a){const _0x22f0d5=_0x55040e;localStorage[_0x22f0d5(0x4fc)](Ws,JSON['stringify'](_0x4cd42a));}[_0x55040e(0x5cc)](){const _0x3d23ad=_0x55040e;this['_heartbeatTimer']=window[_0x3d23ad(0x55a)](()=>{const _0x451f70=_0x3d23ad;this[_0x451f70(0x45a)]({'type':0x2,'memberID':this[_0x451f70(0x4e6)]});},ks);}[_0x55040e(0x539)](_0x53b07e){const _0x1b7263=_0x55040e;return this[_0x1b7263(0x3bc)]['has'](_0x53b07e)||this['_unitStatus'][_0x1b7263(0x333)](_0x53b07e,new _0x7f65fd(0x0)),this[_0x1b7263(0x3bc)][_0x1b7263(0x25c)](_0x53b07e);}}var io=Object[_0x55040e(0x4df)],no=Object['getOwnPropertyDescriptor'],ro=(_0x5c0176,_0x53e684,_0x44aa6,_0x56ae2c)=>{for(var _0x2d620a=_0x56ae2c>0x1?void 0x0:_0x56ae2c?no(_0x53e684,_0x44aa6):_0x53e684,_0x994bbd=_0x5c0176['length']-0x1,_0x261fd6;_0x994bbd>=0x0;_0x994bbd--)(_0x261fd6=_0x5c0176[_0x994bbd])&&(_0x2d620a=(_0x56ae2c?_0x261fd6(_0x53e684,_0x44aa6,_0x2d620a):_0x261fd6(_0x2d620a))||_0x2d620a);return _0x56ae2c&&_0x2d620a&&io(_0x53e684,_0x44aa6,_0x2d620a),_0x2d620a;},xt=(_0x4030ed,_0x22f47e)=>(_0x465bda,_0xc39445)=>_0x22f47e(_0x465bda,_0xc39445,_0x4030ed);let pt=class{constructor(_0x5a46f8,_0xbb321a,_0x2a7d25){const _0x58ff20=_0x55040e;this[_0x58ff20(0x1c7)]=_0x5a46f8,this[_0x58ff20(0x384)]=_0xbb321a,this['_docStateChangeManagerService']=_0x2a7d25;}[_0x55040e(0x532)](_0x1d7112){this['_transformHistoryAndStateStack'](_0x1d7112);}[_0x55040e(0x2b2)](_0x37e634){const _0x42d178=_0x55040e,{unitID:_0x50651a}=_0x37e634,{collaboration:_0x58fefc}=this[_0x42d178(0x393)][_0x42d178(0x49f)](_0x50651a);if(_0x58fefc['length']===0x0)return _0x37e634;let _0x3a77ed=_0xada371[_0x42d178(0x3eb)](_0x37e634[_0x42d178(0x271)][0x0]);for(let _0x59c015=0x0;_0x59c015<_0x58fefc[_0x42d178(0x41f)];_0x59c015++){const _0x4f72e7={'id':_0x42d178(0x265),'params':{'unitId':_0x58fefc[_0x59c015][_0x42d178(0x292)],..._0x58fefc[_0x59c015]['redoState']}},_0xf8cec1=this['_transformService'][_0x42d178(0x56c)](_0x3a77ed,_0x4f72e7,!0x1);if(_0x55b38f(_0xf8cec1))throw _0xf8cec1[_0x42d178(0x268)];_0x3a77ed=_0xf8cec1['m1Prime'];}return{..._0xada371[_0x42d178(0x3eb)](_0x37e634),'mutations':[_0x3a77ed]};}[_0x55040e(0x529)](_0x515cf6){const _0x51723f=_0x55040e,{unitID:_0xdbab87}=_0x515cf6,{history:_0x3079f6,collaboration:_0x3e83e5}=this['_docStateChangeManagerService']['getStateCache'](_0xdbab87);if(_0x3079f6[_0x51723f(0x41f)]===0x0&&_0x3e83e5[_0x51723f(0x41f)]===0x0)return;const _0x473d14=[],_0xc49e67=[];let _0x17cd41=_0xada371[_0x51723f(0x3eb)](_0x515cf6[_0x51723f(0x271)][0x0]),_0x167124=_0xada371[_0x51723f(0x3eb)](_0x515cf6[_0x51723f(0x271)][0x0]);for(let _0x52bf67=_0x3079f6[_0x51723f(0x41f)]-0x1;_0x52bf67>=0x0;_0x52bf67--){const _0x2c09d3={'id':_0x51723f(0x265),'params':{'unitId':_0x3079f6[_0x52bf67]['unitId'],..._0x3079f6[_0x52bf67][_0x51723f(0x59a)]}},_0x3173cf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3079f6[_0x52bf67]['unitId'],..._0x3079f6[_0x52bf67][_0x51723f(0x1f2)]}},_0x36fbb7=this['_transformService'][_0x51723f(0x56c)](_0x17cd41,_0x2c09d3,!0x1),_0x5d933d=this[_0x51723f(0x384)][_0x51723f(0x56c)](_0x167124,_0x3173cf,!0x1);if(_0x55b38f(_0x36fbb7))throw _0x36fbb7[_0x51723f(0x268)];if(_0x55b38f(_0x5d933d))throw _0x5d933d['error'];_0x473d14[_0x51723f(0x334)]({..._0x3079f6[_0x52bf67],'undoState':_0x36fbb7[_0x51723f(0x580)][_0x51723f(0x593)],'redoState':_0x5d933d['m2Prime'][_0x51723f(0x593)]}),_0x17cd41=_0x36fbb7[_0x51723f(0x478)],_0x167124=_0x5d933d[_0x51723f(0x478)];}_0x17cd41=_0xada371[_0x51723f(0x3eb)](_0x515cf6['mutations'][0x0]),_0x167124=_0xada371['deepClone'](_0x515cf6[_0x51723f(0x271)][0x0]);for(let _0x476f47=_0x3e83e5[_0x51723f(0x41f)]-0x1;_0x476f47>=0x0;_0x476f47--){const _0x85224d={'id':_0x51723f(0x265),'params':{'unitId':_0x3e83e5[_0x476f47][_0x51723f(0x292)],..._0x3e83e5[_0x476f47][_0x51723f(0x59a)]}},_0x54e33b={'id':_0x51723f(0x265),'params':{'unitId':_0x3e83e5[_0x476f47][_0x51723f(0x292)],..._0x3e83e5[_0x476f47][_0x51723f(0x1f2)]}},_0x62db3b=this[_0x51723f(0x384)]['transformMutation'](_0x17cd41,_0x85224d,!0x1),_0x34d66f=this[_0x51723f(0x384)]['transformMutation'](_0x167124,_0x54e33b,!0x1);if(_0x55b38f(_0x62db3b))throw _0x62db3b[_0x51723f(0x268)];if(_0x55b38f(_0x34d66f))throw _0x34d66f['error'];_0xc49e67[_0x51723f(0x334)]({..._0x3e83e5[_0x476f47],'undoState':_0x62db3b[_0x51723f(0x580)]['params'],'redoState':_0x34d66f[_0x51723f(0x580)][_0x51723f(0x593)]}),_0x17cd41=_0x62db3b[_0x51723f(0x478)],_0x167124=_0x34d66f[_0x51723f(0x478)];}this[_0x51723f(0x393)][_0x51723f(0x1db)](_0xdbab87,{'history':_0x473d14,'collaboration':_0xc49e67});}};pt=ro([xt(0x0,_0xb59c13(_0x475d43)),xt(0x1,_0x3c8669),xt(0x2,_0xb59c13(_0x2dd912))],pt);function Pi(_0x9e821c){const _0x5f2c08=_0x55040e;let _0x1c6e43='';for(const _0x4ff165 of _0x9e821c){const {startOffset:_0x4ce190,endOffset:_0x987899,isActive:_0x2f8c1b,rangeType:_0xf2e9e0,segmentId:_0x18cdec,segmentPage:_0x4bea65}=_0x4ff165;_0x1c6e43[_0x5f2c08(0x41f)]&&(_0x1c6e43+=','),_0x1c6e43+=_0x4ce190+':'+_0x987899+':'+(_0x2f8c1b?'1':'0')+':'+_0xf2e9e0+':'+_0x18cdec+':'+_0x4bea65;}return _0x1c6e43;}function oo(_0x14b673){const _0x5b47ac=_0x55040e,_0x5913fa=_0x14b673[_0x5b47ac(0x32f)](','),_0x398dda=[];for(const _0x261bcc of _0x5913fa){const [_0x2f5de6,_0x328840,_0x17b7f6,_0x456edf,_0xc67d56,_0x46fded]=_0x261bcc[_0x5b47ac(0x32f)](':');_0x398dda[_0x5b47ac(0x5b6)]({'startOffset':Number(_0x2f5de6),'endOffset':Number(_0x328840),'collapsed':_0x2f5de6===_0x328840,'isActive':_0x17b7f6==='1','rangeType':_0x456edf===_0x70259c[_0x5b47ac(0x4f8)]?_0x70259c['TEXT']:_0x70259c['RECT'],'segmentId':typeof _0xc67d56==_0x5b47ac(0x54c)?String(_0xc67d56):'','segmentPage':Number(_0x46fded!=null?_0x46fded:-0x1)});}return _0x398dda[_0x5b47ac(0x398)](_0x564411=>_0x564411[_0x5b47ac(0x3b3)])||(_0x398dda[0x0][_0x5b47ac(0x3b3)]=!0x0),_0x398dda;}class Cs extends _0x47772b{constructor(){const _0x4ad99c=_0x55040e;super(...arguments),g(this,_0x4ad99c(0x309),new _0x7f65fd(null)),g(this,_0x4ad99c(0x296),this[_0x4ad99c(0x309)][_0x4ad99c(0x34d)]());}['syncEditingCollabCursor'](_0xbe350e){const _0x1b4a4f=_0x55040e,{unitID:_0x508a69,memberID:_0x26e63e,textRanges:_0x297ac9}=_0xbe350e,_0x420a0a=Pi(_0x297ac9);if(_0x420a0a==='')return;const _0x5cda2e={'unitID':_0x508a69,'memberID':_0x26e63e,'selection':_0x420a0a};this['_collabCursorState$'][_0x1b4a4f(0x1ea)](_0x5cda2e);}}var ao=Object['defineProperty'],co=Object[_0x55040e(0x2ad)],ho=(_0x5dce19,_0x2da479,_0x388c23,_0x1851ff)=>{const _0x149210=_0x55040e;for(var _0x1652e=_0x1851ff>0x1?void 0x0:_0x1851ff?co(_0x2da479,_0x388c23):_0x2da479,_0x3d070c=_0x5dce19[_0x149210(0x41f)]-0x1,_0x51977e;_0x3d070c>=0x0;_0x3d070c--)(_0x51977e=_0x5dce19[_0x3d070c])&&(_0x1652e=(_0x1851ff?_0x51977e(_0x2da479,_0x388c23,_0x1652e):_0x51977e(_0x1652e))||_0x1652e);return _0x1851ff&&_0x1652e&&ao(_0x2da479,_0x388c23,_0x1652e),_0x1652e;},Fs=(_0x4434e9,_0x3d8b50)=>(_0x6f3b9a,_0x25f82b)=>_0x3d8b50(_0x6f3b9a,_0x25f82b,_0x4434e9);let gt=class{constructor(_0x5d5b76,_0x1b5060){const _0x36447b=_0x55040e;this['_injector']=_0x5d5b76,this[_0x36447b(0x384)]=_0x1b5060;}[_0x55040e(0x466)](_0x47039c){const _0x17a88d=_0x55040e;var _0x262c0b;const _0x2b8384=this[_0x17a88d(0x1c7)][_0x17a88d(0x25c)](_0x1e62ad),_0x318f22=(_0x262c0b=_0x2b8384['getDocRanges']())!=null?_0x262c0b:[];if(_0x318f22['length']===0x0)return;const _0x1d3d27=[{'id':_0x17a88d(0x265),'params':{'unitId':_0x47039c[_0x17a88d(0x54d)],'actions':null,'textRanges':_0x318f22}}],_0x1c1009=this[_0x17a88d(0x384)][_0x17a88d(0x30e)](_0x47039c,_0x1d3d27);if(!_0x5c817a(_0x1c1009))throw _0x1c1009[_0x17a88d(0x268)];const _0x42ec62=_0x1c1009[_0x17a88d(0x580)][0x0][_0x17a88d(0x593)][_0x17a88d(0x59b)];Array[_0x17a88d(0x3a4)](_0x42ec62)&&_0x42ec62[_0x17a88d(0x41f)]&&_0x2b8384['replaceTextRanges'](_0x42ec62,!0x1);}};gt=ho([Fs(0x0,_0xb59c13(_0x475d43)),Fs(0x1,_0x3c8669)],gt);const lo=new Set([_0x3f6de1['id']]);function Vs(_0xfa4e25,_0x4be871,_0x1590b4,_0x3d578c,_0x314053){const _0x59e836=_0x55040e;var _0x5ad9a3,_0x1332ab,_0x36d3d7,_0x466151;const _0x22600c=[];for(const _0x304490 of _0xfa4e25)if(lo[_0x59e836(0x269)](_0x304490['id'])){if(_0x22600c[_0x59e836(0x41f)]>0x0)break;_0x22600c[_0x59e836(0x5b6)](_0x304490);break;}else _0x22600c[_0x59e836(0x5b6)](_0x304490);const _0x607a44=(_0x1332ab=(_0x5ad9a3=_0x314053[_0x59e836(0x31a)]())==null?void 0x0:_0x5ad9a3[_0x59e836(0x280)])!=null?_0x1332ab:_0x59e836(0x233),_0x49a53b=(_0x466151=(_0x36d3d7=_0x314053[_0x59e836(0x31a)]())==null?void 0x0:_0x36d3d7[_0x59e836(0x572)])!=null?_0x466151:_0x59e836(0x233);return{'changeset':{'unitID':_0x4be871,'type':_0x4604e3(_0x1590b4[_0x59e836(0x2c1)](_0x4be871)),'baseRev':_0x3d578c['getCurrentRevOfUnit'](_0x4be871),'revision':0x0,'userID':_0x607a44,'memberID':_0x49a53b,'mutations':_0x22600c},'pendingMutations':_0xfa4e25['slice'](_0x22600c[_0x59e836(0x41f)])};}function _o(_0x37edf5,_0x414930,_0x32376e,_0x1f3895,_0x27f0e2){const _0x502e59=_0x55040e;var _0x18a689,_0x4bd3c5,_0x1b9c02,_0x40261a;const _0x669d17=[_0x37edf5[_0x502e59(0x399)]((_0x2ba9c0,_0x5b69ba)=>{const _0x591fea=_0x502e59;var _0x1427fc;const {id:_0x160dc9}=_0x2ba9c0,{id:_0x2e6fe2,type:_0x514338}=_0x5b69ba,_0x1b22d6=(_0x1427fc=_0x2ba9c0[_0x591fea(0x593)])!=null?_0x1427fc:{'actions':null},_0x2ab3e5=_0x5b69ba['params'];if(_0x160dc9&&_0x160dc9!==_0x2e6fe2)throw new Error(_0x591fea(0x38c)+_0x160dc9+_0x591fea(0x1f5)+_0x2e6fe2+'.');return{..._0x2ba9c0,'id':_0x2e6fe2,'type':_0x514338,'params':{'unitId':_0x2ab3e5['unitId'],'textRanges':_0x2ab3e5[_0x591fea(0x59b)],'actions':_0xd8462f['compose'](_0x1b22d6[_0x591fea(0x551)],_0x2ab3e5['actions'])}};},{})],_0x599928=(_0x4bd3c5=(_0x18a689=_0x27f0e2['getCurrentUser']())==null?void 0x0:_0x18a689[_0x502e59(0x280)])!=null?_0x4bd3c5:_0x502e59(0x233),_0x309825=(_0x40261a=(_0x1b9c02=_0x27f0e2[_0x502e59(0x31a)]())==null?void 0x0:_0x1b9c02[_0x502e59(0x572)])!=null?_0x40261a:_0x502e59(0x233);return{'changeset':{'unitID':_0x414930,'type':_0x4604e3(_0x32376e[_0x502e59(0x2c1)](_0x414930)),'baseRev':_0x1f3895[_0x502e59(0x225)](_0x414930),'revision':0x0,'userID':_0x599928,'memberID':_0x309825,'mutations':_0x669d17},'pendingMutations':[]};}function Ui(_0x3affc7,_0x5566c1){const _0x3ddfbe=_0x55040e,_0x5c147e=new _0x3b618a(0x1);return setTimeout(()=>_0x5c147e[_0x3ddfbe(0x1ea)](_0x5566c1),_0x3affc7),_0x5c147e[_0x3ddfbe(0x34d)]()[_0x3ddfbe(0x55b)](_0x31309a(0x1));}const uo={'id':_0x175b3b['id'],'type':_0x433970['MUTATION'],'params':{}};var fo=Object[_0x55040e(0x4df)],vo=Object[_0x55040e(0x2ad)],Le=(_0x55267b,_0x350b12,_0x549a08,_0x3400dc)=>{for(var _0x1aa4b1=_0x3400dc>0x1?void 0x0:_0x3400dc?vo(_0x350b12,_0x549a08):_0x350b12,_0x26270a=_0x55267b['length']-0x1,_0x2bc165;_0x26270a>=0x0;_0x26270a--)(_0x2bc165=_0x55267b[_0x26270a])&&(_0x1aa4b1=(_0x3400dc?_0x2bc165(_0x350b12,_0x549a08,_0x1aa4b1):_0x2bc165(_0x1aa4b1))||_0x1aa4b1);return _0x3400dc&&_0x1aa4b1&&fo(_0x350b12,_0x549a08,_0x1aa4b1),_0x1aa4b1;},A=(_0x56a396,_0x35fccc)=>(_0x229e9c,_0x50bb93)=>_0x35fccc(_0x229e9c,_0x50bb93,_0x56a396),J=(_0x21c7b8=>(_0x21c7b8[_0x55040e(0x594)]='not_collab',_0x21c7b8['SYNCED']=_0x55040e(0x1d8),_0x21c7b8['PENDING']=_0x55040e(0x4d5),_0x21c7b8[_0x55040e(0x259)]=_0x55040e(0x354),_0x21c7b8['AWAITING_WITH_PENDING']=_0x55040e(0x57f),_0x21c7b8[_0x55040e(0x306)]='fetch_missing',_0x21c7b8['CONFLICT']=_0x55040e(0x40f),_0x21c7b8[_0x55040e(0x4d3)]=_0x55040e(0x50d),_0x21c7b8))(J||{});const Ni=0xea60;class $e{constructor(_0x23d4c7,_0x4c2e70,_0x8964e4,_0x3d2f6b,_0x57c32c,_0x4b3256,_0x2602a5,_0x582981,_0x53d33b){const _0x59811a=_0x55040e;g(this,_0x59811a(0x4b9),null),g(this,_0x59811a(0x4d8),[]),(this[_0x59811a(0x54d)]=_0x23d4c7,this[_0x59811a(0x24f)]=_0x4c2e70,this[_0x59811a(0x50f)]=_0x57c32c,this[_0x59811a(0x1e8)]=_0x4b3256,this['_undoRedoService']=_0x2602a5,this[_0x59811a(0x5c9)]=_0x582981,this[_0x59811a(0x528)]=_0x53d33b,this['_awaitingChangeset']=_0x8964e4,this[_0x59811a(0x4d8)]=_0x3d2f6b);}['_checkMissing'](_0x531bbb){const _0x1ea4aa=_0x55040e,_0x975db9=this[_0x1ea4aa(0x5c9)][_0x1ea4aa(0x225)](this[_0x1ea4aa(0x54d)]);return _0x531bbb[_0x1ea4aa(0x4a7)]>_0x975db9+0x1?(this['_handler']['onMissingChangesets']({'from':_0x975db9,'to':_0x531bbb[_0x1ea4aa(0x4a7)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x112840){const _0x42a97f=_0x55040e;this[_0x42a97f(0x323)][_0x42a97f(0x25f)](this['unitID'],_0x112840);}[_0x55040e(0x52c)](_0x2ed159){const _0xbf96a2=_0x55040e;var _0x7f89b,_0x9a0733;(_0x9a0733=(_0x7f89b=this[_0xbf96a2(0x50f)])[_0xbf96a2(0x1cb)])==null||_0x9a0733['call'](_0x7f89b,_0x2ed159);}['_transformIMECache'](_0x3d3c26){const _0x235c36=_0x55040e;var _0x31b697,_0x18dec2;return(_0x18dec2=(_0x31b697=this[_0x235c36(0x50f)])[_0x235c36(0x4c7)])==null?void 0x0:_0x18dec2[_0x235c36(0x477)](_0x31b697,_0x3d3c26);}[_0x55040e(0x459)](_0x318b90){const _0x41d862=_0x55040e;var _0x2a05ba,_0x641e6c;return(_0x641e6c=(_0x2a05ba=this['_handler'])[_0x41d862(0x222)])==null?void 0x0:_0x641e6c[_0x41d862(0x477)](_0x2a05ba,_0x318b90);}[_0x55040e(0x1da)](_0x976d8f){const _0x4dd56e=_0x55040e;var _0x20736f,_0x2c865c,_0x29b89d;return(_0x29b89d=(_0x2c865c=(_0x20736f=this[_0x4dd56e(0x50f)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2c865c[_0x4dd56e(0x477)](_0x20736f,_0x976d8f))!=null?_0x29b89d:_0x976d8f;}[_0x55040e(0x1cd)](_0x150890){const _0x430775=_0x55040e;var _0x2057a3,_0x87ecdb,_0x40bafc;return(_0x40bafc=(_0x87ecdb=(_0x2057a3=this['_handler'])[_0x430775(0x550)])==null?void 0x0:_0x87ecdb[_0x430775(0x477)](_0x2057a3,_0x150890))!=null?_0x40bafc:_0x150890;}[_0x55040e(0x38f)](_0x56a1d3){const _0x274cf9=_0x55040e;var _0x5ea348,_0xda70e2;if(this[_0x274cf9(0x24f)]===ce[_0x274cf9(0x337)]){const {unitID:_0x206f9a,mutations:_0x3a0719,memberID:_0x45ca2e}=_0x56a1d3,_0x5c2620=_0x3a0719[0x0][_0x274cf9(0x593)][_0x274cf9(0x59b)];Array['isArray'](_0x5c2620)&&_0x5c2620['length']>0x0&&((_0xda70e2=(_0x5ea348=this[_0x274cf9(0x50f)])[_0x274cf9(0x408)])==null||_0xda70e2[_0x274cf9(0x477)](_0x5ea348,{'unitID':_0x206f9a,'memberID':_0x45ca2e,'textRanges':_0x5c2620}));}}[_0x55040e(0x599)](){const _0x162f71=_0x55040e;this[_0x162f71(0x528)][_0x162f71(0x3ef)](this[_0x162f71(0x54d)],this[_0x162f71(0x24f)],this[_0x162f71(0x4b9)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x511d67=_0x55040e;return this[_0x511d67(0x5c9)][_0x511d67(0x225)](this[_0x511d67(0x54d)]);}[_0x55040e(0x5a6)](){const _0x5256dd=_0x55040e;this[_0x5256dd(0x5c9)][_0x5256dd(0x36b)](this[_0x5256dd(0x54d)]);}[_0x55040e(0x439)](_0x4a402d){const _0x1d2884=_0x55040e;var _0x48cf89;let _0x5c45b4=this[_0x1d2884(0x1da)](_0x4a402d);_0x5c45b4=this[_0x1d2884(0x1cd)](_0x5c45b4);const _0x4c9d7b=_0x574971(_0x5c45b4['mutations'],this[_0x1d2884(0x1e8)],{'fromCollab':!0x0});if(!_0x4c9d7b[_0x1d2884(0x4fd)])throw _0x4c9d7b[_0x1d2884(0x268)]instanceof Error?_0x4c9d7b['error']:new Error((_0x48cf89=_0x4c9d7b['error'])!=null?_0x48cf89:_0x1d2884(0x3fd));this['_transformIMECache'](_0x5c45b4),this['_transformStateCache'](_0x5c45b4),this['_transformUndoredo'](_0x4a402d),this['_transformSelections'](_0x5c45b4),this[_0x1d2884(0x38f)](_0x5c45b4),this[_0x1d2884(0x5a6)]();}}let Fe=class extends $e{constructor(_0xd6112a,_0x355eb1,_0x3781b6,_0x41cd6c,_0x319ef5,_0x3b4bcb,_0x4a9378,_0x323809,_0x4d6a1b,_0x5f2845){const _0x6e9ebf=_0x55040e;super(_0xd6112a,_0x355eb1,null,[],_0x3781b6,_0x323809,_0x4a9378,_0x41cd6c,_0x319ef5),g(this,_0x6e9ebf(0x3bd),_0x6e9ebf(0x1d8)),(this[_0x6e9ebf(0x1c7)]=_0x3b4bcb,this[_0x6e9ebf(0x37d)]=_0x4d6a1b,this[_0x6e9ebf(0x384)]=_0x5f2845);}[_0x55040e(0x56e)](_0x423b25){const _0x29244a=_0x55040e,_0x2ddbd4=this['_injector']['createInstance'](pe,this[_0x29244a(0x54d)],this[_0x29244a(0x24f)],[_0x423b25],this[_0x29244a(0x50f)]);return _0x2ddbd4['_schedule'](),_0x2ddbd4['_updateLocalCache'](),_0x2ddbd4;}[_0x55040e(0x4e1)](_0x494672){const _0x15e948=_0x55040e;if(this[_0x15e948(0x53f)](_0x494672))return this[_0x15e948(0x1c7)][_0x15e948(0x21f)](he,this[_0x15e948(0x54d)],this[_0x15e948(0x24f)],null,[],null,[_0x494672],this[_0x15e948(0x50f)]);try{const _0x659d8=this['_transformService'][_0x15e948(0x30e)](_0x494672,[uo]);if(_0x5c817a(_0x659d8)){const {c1Prime:_0x13aa21}=_0x659d8;return this[_0x15e948(0x439)](_0x13aa21),this;}throw _0x659d8[_0x15e948(0x268)];}catch(_0x132dc7){return this[_0x15e948(0x37d)][_0x15e948(0x268)](_0x132dc7),this[_0x15e948(0x42d)](!0x1);}}[_0x55040e(0x42d)](_0x4fda3a){const _0x2153d9=_0x55040e;return this[_0x2153d9(0x1c7)]['createInstance'](Re,this[_0x2153d9(0x54d)],this[_0x2153d9(0x24f)],null,[],this[_0x2153d9(0x50f)],_0x4fda3a);}[_0x55040e(0x26f)](){const _0xb2c24b=_0x55040e;throw new Error(_0xb2c24b(0x3b0));}[_0x55040e(0x56f)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){const _0x40090e=_0x55040e;return this['_injector'][_0x40090e(0x21f)](ye,this[_0x40090e(0x54d)],this['type'],null,[],this['_handler']);}[_0x55040e(0x3b6)](){return this;}[_0x55040e(0x346)](){const _0x182247=_0x55040e;throw new Error(_0x182247(0x37c));}[_0x55040e(0x420)](){const _0x29bcb1=_0x55040e,_0x28cc8d=this['_revisionService'][_0x29bcb1(0x225)](this['unitID']);return this['_handler'][_0x29bcb1(0x2e0)]({'from':_0x28cc8d,'to':0x0}),this[_0x29bcb1(0x1c7)]['createInstance'](he,this[_0x29bcb1(0x54d)],this['type'],null,[],null,[],this[_0x29bcb1(0x50f)]);}};Fe=Le([A(0x3,_0xb59c13(_0x4db64b)),A(0x4,_0xb59c13(q)),A(0x5,_0xb59c13(_0x475d43)),A(0x6,_0x50f1b0),A(0x7,_0x2983df),A(0x8,_0x6916a2),A(0x9,_0x3c8669)],Fe);let pe=class extends $e{constructor(_0xee7b58,_0x5ef033,_0x380179,_0x873ec3,_0x34f029,_0x412303,_0x1f0317,_0xde2fe,_0x3ffc54,_0x2c1676,_0x865c76,_0x1cc243,_0x56e1d6,_0x4dda73){const _0x2ac027=_0x55040e;super(_0xee7b58,_0x5ef033,null,_0x380179,_0x873ec3,_0x2c1676,_0x4dda73,_0x412303,_0x1f0317),g(this,'status',_0x2ac027(0x4d5)),g(this,_0x2ac027(0x330),null),g(this,_0x2ac027(0x45f),null),(this[_0x2ac027(0x1c7)]=_0x34f029,this['_memberService']=_0xde2fe,this[_0x2ac027(0x37d)]=_0x3ffc54,this[_0x2ac027(0x2b0)]=_0x865c76,this[_0x2ac027(0x384)]=_0x1cc243,this[_0x2ac027(0x48a)]=_0x56e1d6);}[_0x55040e(0x56e)](_0x3ca802){const _0x38bb99=_0x55040e;return this[_0x38bb99(0x4d8)][_0x38bb99(0x5b6)](_0x3ca802),this[_0x38bb99(0x599)](),this;}['onRemoteChangeset'](_0xea9ea3){const _0x171bbb=_0x55040e;if(this[_0x171bbb(0x53f)](_0xea9ea3))return this['_clearScheduledTask'](),this[_0x171bbb(0x1c7)]['createInstance'](he,this['unitID'],this[_0x171bbb(0x24f)],null,this[_0x171bbb(0x4d8)],null,[_0xea9ea3],this[_0x171bbb(0x50f)]);try{const _0x1b0d7f=this[_0x171bbb(0x384)][_0x171bbb(0x30e)](_0xea9ea3,this[_0x171bbb(0x4d8)]);if(_0x5c817a(_0x1b0d7f)){const {c1Prime:_0x2f724e,m2Prime:_0x4684f9}=_0x1b0d7f;this[_0x171bbb(0x439)](_0x2f724e);const _0x1ed6ec=this[_0x171bbb(0x1c7)][_0x171bbb(0x21f)](pe,this[_0x171bbb(0x54d)],this['type'],_0x4684f9,this['_handler']);return this['_clearScheduledTask'](),_0x1ed6ec[_0x171bbb(0x497)](this['_scheduleTimestamp']?Math[_0x171bbb(0x43d)](0x0,new Date()[_0x171bbb(0x49e)]()-this[_0x171bbb(0x330)]):this[_0x171bbb(0x453)]()),_0x1ed6ec;}throw _0x1b0d7f['error'];}catch(_0x4eaf60){return this[_0x171bbb(0x37d)][_0x171bbb(0x268)](_0x4eaf60),this['_onConflict'](!0x1);}}[_0x55040e(0x26f)](){const _0xebb7da=_0x55040e;throw new Error(_0xebb7da(0x5ab));}[_0x55040e(0x56f)](){const _0x19d1e3=_0x55040e;throw new Error(_0x19d1e3(0x412));}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){const _0x2fbae0=_0x55040e;return this[_0x2fbae0(0x2da)](),this[_0x2fbae0(0x1c7)][_0x2fbae0(0x21f)](ye,this['unitID'],this['type'],null,this[_0x2fbae0(0x4d8)],this[_0x2fbae0(0x50f)]);}['toggleOnline'](){return this;}['_schedule'](_0x12decb){const _0x3f255c=_0x55040e,_0x31677d=_0x12decb!=null?_0x12decb:this[_0x3f255c(0x453)]();this[_0x3f255c(0x330)]=new Date()[_0x3f255c(0x49e)](),this[_0x3f255c(0x45f)]=window['setTimeout'](()=>{const _0x2b2db7=_0x3f255c;this['_clearScheduledTask']();let _0x45197a=null;switch(this['type']){case ce[_0x2b2db7(0x2b1)]:{_0x45197a=Vs(this[_0x2b2db7(0x4d8)],this[_0x2b2db7(0x54d)],this[_0x2b2db7(0x48a)],this['_revisionService'],this[_0x2b2db7(0x356)]);break;}case ce[_0x2b2db7(0x337)]:{this[_0x2b2db7(0x4d8)][_0x2b2db7(0x517)](_0x31d63b=>_0x31d63b['id']===_0x3f8477['id'])?_0x45197a=_o(this['_pendingMutations'],this[_0x2b2db7(0x54d)],this[_0x2b2db7(0x48a)],this[_0x2b2db7(0x5c9)],this[_0x2b2db7(0x356)]):_0x45197a=Vs(this[_0x2b2db7(0x4d8)],this['unitID'],this[_0x2b2db7(0x48a)],this[_0x2b2db7(0x5c9)],this['_memberService']);break;}default:throw new Error(_0x2b2db7(0x4a1)+this[_0x2b2db7(0x24f)]+_0x2b2db7(0x22f));}const {changeset:_0x3d79b9,pendingMutations:_0x5730f9}=_0x45197a;this[_0x2b2db7(0x50f)]['onSendChangeset'](_0x3d79b9);const _0x84768d=_0x5730f9[_0x2b2db7(0x41f)]?this[_0x2b2db7(0x1c7)]['createInstance'](ge,this[_0x2b2db7(0x54d)],this['type'],_0x3d79b9,_0x5730f9,this[_0x2b2db7(0x50f)],void 0x0):this[_0x2b2db7(0x1c7)][_0x2b2db7(0x21f)](Te,this['unitID'],this[_0x2b2db7(0x24f)],_0x3d79b9,this['_handler']);_0x84768d[_0x2b2db7(0x599)](),this[_0x2b2db7(0x50f)][_0x2b2db7(0x239)](this,_0x84768d);},_0x31677d);}[_0x55040e(0x453)](){const _0x3a5563=_0x55040e;var _0x249c86;const _0x3181af=this[_0x3a5563(0x2b0)][_0x3a5563(0x5c3)](ie);return(_0x249c86=_0x3181af==null?void 0x0:_0x3181af['sendChangesetTimeout'])!=null?_0x249c86:cr;}['resend'](){const _0x1fc1f3=_0x55040e;throw new Error(_0x1fc1f3(0x4bc));}['_clearScheduledTask'](){const _0x5ce55d=_0x55040e;this[_0x5ce55d(0x45f)]!=null&&(clearTimeout(this[_0x5ce55d(0x45f)]),this[_0x5ce55d(0x45f)]=null);}[_0x55040e(0x42d)](_0x192e28){const _0x2a0743=_0x55040e;return this[_0x2a0743(0x2da)](),this['_injector'][_0x2a0743(0x21f)](Re,this[_0x2a0743(0x54d)],this[_0x2a0743(0x24f)],null,this[_0x2a0743(0x4d8)],this[_0x2a0743(0x50f)],_0x192e28);}};pe=Le([A(0x4,_0xb59c13(_0x475d43)),A(0x5,_0xb59c13(_0x4db64b)),A(0x6,_0xb59c13(q)),A(0x7,_0xb59c13(Ne)),A(0x8,_0x6916a2),A(0x9,_0x2983df),A(0xa,_0x1fedc7),A(0xb,_0x3c8669),A(0xc,_0x10abd5),A(0xd,_0x50f1b0)],pe);let Te=class extends $e{constructor(_0x1e2e0b,_0x33f26b,_0x1bdb1f,_0x16a9e0,_0x5e9c07,_0xf7d638,_0xa0ac86,_0x9b23e5,_0x49036b,_0x30a41e,_0x548a41){const _0x14df8a=_0x55040e;super(_0x1e2e0b,_0x33f26b,_0x1bdb1f,[],_0x16a9e0,_0x9b23e5,_0x548a41,_0xf7d638,_0xa0ac86),g(this,_0x14df8a(0x3bd),'awaiting'),g(this,'_resendTimeout',0x0),g(this,'_resendTimer'),g(this,_0x14df8a(0x31d)),(this[_0x14df8a(0x1c7)]=_0x5e9c07,this[_0x14df8a(0x37d)]=_0x49036b,this[_0x14df8a(0x384)]=_0x30a41e);}[_0x55040e(0x56e)](_0x23aef5){const _0x3c011f=_0x55040e;this[_0x3c011f(0x2da)]();const _0x190e9e=this[_0x3c011f(0x1c7)]['createInstance'](ge,this['unitID'],this[_0x3c011f(0x24f)],this[_0x3c011f(0x4b9)],[_0x23aef5],this[_0x3c011f(0x50f)],this[_0x3c011f(0x444)]);return _0x190e9e[_0x3c011f(0x599)](),_0x190e9e;}['onRemoteChangeset'](_0x51188b){const _0x3e40a4=_0x55040e;if(this['_checkMissing'](_0x51188b))return this['_clearScheduledTask'](),this[_0x3e40a4(0x1c7)]['createInstance'](he,this[_0x3e40a4(0x54d)],this[_0x3e40a4(0x24f)],this[_0x3e40a4(0x4b9)],[],null,[_0x51188b],this[_0x3e40a4(0x50f)]);try{const _0x3a2625=this['_transformService'][_0x3e40a4(0x339)]([_0x51188b],[this[_0x3e40a4(0x4b9)]],!0x1);if(_0x356879(_0x3a2625)){const {c1Prime:_0x74ea4f,c2Prime:_0x2b4f16}=_0x3a2625;this['_executeRemoteChangeset'](_0x74ea4f[0x0]),_0x2b4f16[0x0][_0x3e40a4(0x3e6)]=this[_0x3e40a4(0x2fe)](),this['_clearScheduledTask']();const _0x3d70ab=this[_0x3e40a4(0x1c7)][_0x3e40a4(0x21f)](Te,this['unitID'],this[_0x3e40a4(0x24f)],_0x2b4f16[0x0],this[_0x3e40a4(0x50f)]);return _0x3d70ab['_updateLocalCache'](),_0x3d70ab;}return this['_onConflict'](!0x1);}catch(_0x5f95d2){return this['_logService']['error'](_0x5f95d2),this['_onConflict'](!0x1);}}[_0x55040e(0x26f)](_0x4e2b59){const _0x2d7c68=_0x55040e;this['_clearScheduledTask']();const _0x14b20d=this[_0x2d7c68(0x5c9)]['getCurrentRevOfUnit'](this[_0x2d7c68(0x54d)]);if(_0x4e2b59[_0x2d7c68(0x4a7)]<_0x14b20d-0x1)return this;if(this['_checkMissing'](_0x4e2b59))return this[_0x2d7c68(0x1c7)][_0x2d7c68(0x21f)](he,this[_0x2d7c68(0x54d)],this[_0x2d7c68(0x24f)],null,[],this[_0x2d7c68(0x4b9)],[],this[_0x2d7c68(0x50f)]);this[_0x2d7c68(0x5a6)]();const _0x50c702=this[_0x2d7c68(0x1c7)][_0x2d7c68(0x21f)](Fe,this[_0x2d7c68(0x54d)],this[_0x2d7c68(0x24f)],this[_0x2d7c68(0x50f)]);return _0x50c702[_0x2d7c68(0x599)](),_0x50c702;}[_0x55040e(0x56f)](_0x4d3de0){const _0xa7eabb=_0x55040e;return this[_0xa7eabb(0x42d)](!!(_0x4d3de0!=null&&_0x4d3de0[_0xa7eabb(0x4f9)]));}[_0x55040e(0x510)](_0x455165){const _0x2fcfef=_0x55040e;return this[_0x2fcfef(0x553)]>Ni?this['toggleOffline']():(this[_0x2fcfef(0x444)]=Ui(this[_0x2fcfef(0x553)],{'timeout':this[_0x2fcfef(0x553)],'reqId':_0x455165[_0x2fcfef(0x4ed)]}),this['_sender']=this[_0x2fcfef(0x444)][_0x2fcfef(0x1e2)](({reqId:_0x3df404,timeout:_0x704b34})=>{this['_resendWithTimeout'](_0x3df404,_0x704b34);}),this);}[_0x55040e(0x564)](){const _0x3bf41f=_0x55040e;return this[_0x3bf41f(0x2da)](),this[_0x3bf41f(0x1c7)][_0x3bf41f(0x21f)](ye,this['unitID'],this[_0x3bf41f(0x24f)],this[_0x3bf41f(0x4b9)],[],this[_0x3bf41f(0x50f)]);}['toggleOnline'](){return this;}[_0x55040e(0x346)](){const _0x1b17e8=_0x55040e;this['_handler'][_0x1b17e8(0x4a9)](this[_0x1b17e8(0x4b9)]);}[_0x55040e(0x42d)](_0x32f78c){const _0x49434d=_0x55040e;return this[_0x49434d(0x2da)](),this[_0x49434d(0x1c7)][_0x49434d(0x21f)](Re,this['unitID'],this[_0x49434d(0x24f)],this['_awaitingChangeset'],[],this[_0x49434d(0x50f)],_0x32f78c);}['_resendWithTimeout'](_0x3495b1,_0x2adba4){const _0x289f44=_0x55040e;var _0x4d9393;_0x3495b1===((_0x4d9393=this[_0x289f44(0x4b9)])==null?void 0x0:_0x4d9393[_0x289f44(0x4ed)])&&(this['resend'](),this[_0x289f44(0x553)]=_0x2adba4===0x0?0x3e8:_0x2adba4*0x2);}[_0x55040e(0x2da)](){const _0x113337=_0x55040e;var _0x279b67;(_0x279b67=this[_0x113337(0x31d)])==null||_0x279b67[_0x113337(0x1e9)](),this[_0x113337(0x553)]=0x0;}};Te=Le([A(0x4,_0xb59c13(_0x475d43)),A(0x5,_0xb59c13(_0x4db64b)),A(0x6,_0xb59c13(q)),A(0x7,_0x2983df),A(0x8,_0x6916a2),A(0x9,_0x3c8669),A(0xa,_0x50f1b0)],Te);let ge=class extends $e{constructor(_0x36ecde,_0x51bfbc,_0x229e04,_0x405bc8,_0x49b82e,_0x54e138,_0xdd8c3c,_0x525974,_0x159ffb,_0x3f1802,_0x282bd0,_0x4760a9,_0x4d0f50){const _0x257503=_0x55040e;super(_0x36ecde,_0x51bfbc,_0x229e04,_0x405bc8,_0x49b82e,_0x3f1802,_0x4d0f50,_0x525974,_0x159ffb),g(this,_0x257503(0x3bd),_0x257503(0x57f)),g(this,'_resendTimeout',0x0),g(this,_0x257503(0x444)),g(this,_0x257503(0x31d)),(this['_injector']=_0xdd8c3c,this[_0x257503(0x37d)]=_0x282bd0,this[_0x257503(0x384)]=_0x4760a9,_0x54e138&&(this[_0x257503(0x444)]=_0x54e138,this[_0x257503(0x31d)]=this['_resendTimer'][_0x257503(0x1e2)](({reqId:_0x5298d6,timeout:_0x1754d0})=>{this['_resendWithTimeout'](_0x5298d6,_0x1754d0);})));}[_0x55040e(0x56e)](_0x285e7e){const _0x5a664b=_0x55040e;return this[_0x5a664b(0x4d8)]['push'](_0x285e7e),this;}[_0x55040e(0x4e1)](_0x1fd57e){const _0x443831=_0x55040e;if(this[_0x443831(0x53f)](_0x1fd57e))return this[_0x443831(0x2da)](),this[_0x443831(0x1c7)]['createInstance'](he,this[_0x443831(0x54d)],this[_0x443831(0x24f)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1fd57e],this['_handler']);try{const _0x36891e=this[_0x443831(0x384)]['transformChangesets']([_0x1fd57e],[this[_0x443831(0x4b9)]],!0x1);if(_0x356879(_0x36891e)){const {c1Prime:_0x26dfcb,c2Prime:_0x38341e}=_0x36891e,_0x4aa6bc=this['_transformService'][_0x443831(0x30e)](_0x26dfcb[0x0],this[_0x443831(0x4d8)]);if(_0x5c817a(_0x4aa6bc)){const {c1Prime:_0x35bd74,m2Prime:_0x568158}=_0x4aa6bc;return this['_executeRemoteChangeset'](_0x35bd74),_0x38341e[0x0]['baseRev']=this[_0x443831(0x2fe)](),this[_0x443831(0x2da)](),this[_0x443831(0x1c7)]['createInstance'](ge,this['unitID'],this[_0x443831(0x24f)],_0x38341e[0x0],_0x568158,this[_0x443831(0x50f)],void 0x0);}throw _0x4aa6bc['error'];}throw _0x36891e[_0x443831(0x268)];}catch(_0x528f5a){return this['_logService'][_0x443831(0x268)](_0x528f5a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1cc9a3){const _0x2f2bc9=_0x55040e;if(this[_0x2f2bc9(0x2da)](),this['_checkMissing'](_0x1cc9a3))return this['_injector']['createInstance'](he,this[_0x2f2bc9(0x54d)],this[_0x2f2bc9(0x24f)],null,this[_0x2f2bc9(0x4d8)],this[_0x2f2bc9(0x4b9)],[],this[_0x2f2bc9(0x50f)]);this[_0x2f2bc9(0x5a6)]();const _0x1a9798=this[_0x2f2bc9(0x1c7)][_0x2f2bc9(0x21f)](pe,this[_0x2f2bc9(0x54d)],this['type'],this['_pendingMutations'],this[_0x2f2bc9(0x50f)]);return _0x1a9798[_0x2f2bc9(0x497)](),_0x1a9798[_0x2f2bc9(0x599)](),_0x1a9798;}[_0x55040e(0x56f)](_0x3020e4){const _0x5e0248=_0x55040e;return this[_0x5e0248(0x42d)](!!(_0x3020e4!=null&&_0x3020e4[_0x5e0248(0x4f9)]));}[_0x55040e(0x510)](_0x35b6b9){const _0x11c2f1=_0x55040e;return this[_0x11c2f1(0x553)]>Ni?this[_0x11c2f1(0x564)]():(this[_0x11c2f1(0x444)]=Ui(this[_0x11c2f1(0x553)],{'timeout':this[_0x11c2f1(0x553)],'reqId':_0x35b6b9[_0x11c2f1(0x4ed)]}),this['_sender']=this[_0x11c2f1(0x444)][_0x11c2f1(0x1e2)](({reqId:_0x581f10,timeout:_0x8de396})=>{const _0x59826b=_0x11c2f1;this[_0x59826b(0x2f1)](_0x581f10,_0x8de396);}),this);}[_0x55040e(0x564)](){const _0x4bacc7=_0x55040e;return this[_0x4bacc7(0x2da)](),this[_0x4bacc7(0x1c7)][_0x4bacc7(0x21f)](ye,this[_0x4bacc7(0x54d)],this[_0x4bacc7(0x24f)],this[_0x4bacc7(0x4b9)],this[_0x4bacc7(0x4d8)],this['_handler']);}[_0x55040e(0x3b6)](){return this;}[_0x55040e(0x346)](){const _0x2d42b7=_0x55040e;this[_0x2d42b7(0x50f)]['onSendChangeset'](this[_0x2d42b7(0x4b9)]);}['_onConflict'](_0x48203d){const _0x248567=_0x55040e;return this[_0x248567(0x2da)](),this[_0x248567(0x1c7)][_0x248567(0x21f)](Re,this['unitID'],this['type'],null,this['_pendingMutations'],this['_handler'],_0x48203d);}[_0x55040e(0x2f1)](_0x4aee3f,_0x5e694c){const _0xdc93c3=_0x55040e;var _0x566cfd;_0x4aee3f===((_0x566cfd=this[_0xdc93c3(0x4b9)])==null?void 0x0:_0x566cfd[_0xdc93c3(0x4ed)])&&(this[_0xdc93c3(0x346)](),this[_0xdc93c3(0x553)]=_0x5e694c===0x0?0x3e8:_0x5e694c*0x2);}['_clearScheduledTask'](){const _0x159817=_0x55040e;var _0x49efdb;(_0x49efdb=this['_sender'])==null||_0x49efdb[_0x159817(0x1e9)](),this[_0x159817(0x553)]=0x0;}};ge=Le([A(0x6,_0xb59c13(_0x475d43)),A(0x7,_0xb59c13(_0x4db64b)),A(0x8,_0xb59c13(q)),A(0x9,_0x2983df),A(0xa,_0x6916a2),A(0xb,_0x3c8669),A(0xc,_0x50f1b0)],ge);let Re=class extends $e{constructor(_0x5fad89,_0x40b699,_0x48d759,_0x3b23c0,_0x1342a2,_0x31e82d=!0x1,_0x25b662,_0x55cc70,_0xb4439a,_0x4007ea,_0x52b0c1,_0x43587f,_0x32d26c){const _0x1668f1=_0x55040e;super(_0x5fad89,_0x40b699,_0x48d759,_0x3b23c0,_0x1342a2,_0x55cc70,_0xb4439a,_0x52b0c1,_0x4007ea),g(this,_0x1668f1(0x3bd),_0x1668f1(0x40f)),(this[_0x1668f1(0x2bd)]=_0x31e82d,this['_permissionService']=_0x25b662,this[_0x1668f1(0x376)]=_0x43587f,this[_0x1668f1(0x29f)]=_0x32d26c,this[_0x1668f1(0x310)](),this['_clearLocalCache'](),this[_0x1668f1(0x2bc)]());}[_0x55040e(0x56e)](){return this;}[_0x55040e(0x4e1)](){return this;}[_0x55040e(0x26f)](){return this;}['onRemoteRej'](){return this;}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){return this;}[_0x55040e(0x3b6)](){return this;}['resend'](){const _0xe600=_0x55040e;throw new Error(_0xe600(0x386));}[_0x55040e(0x44e)](){const _0x1c4e1c=_0x55040e;this['_localCacheService'][_0x1c4e1c(0x3ef)](this[_0x1c4e1c(0x54d)],this[_0x1c4e1c(0x24f)],null,[]);}[_0x55040e(0x310)](){const _0x4de0e0=_0x55040e;this[_0x4de0e0(0x2bd)]?this['_notificationService'][_0x4de0e0(0x2d8)]({'title':this['_localeService']['t'](_0x4de0e0(0x3d1)),'content':this[_0x4de0e0(0x376)]['t'](_0x4de0e0(0x2df)),'type':_0x4de0e0(0x268),'duration':0x0}):this[_0x4de0e0(0x29f)][_0x4de0e0(0x2d8)]({'title':this[_0x4de0e0(0x376)]['t'](_0x4de0e0(0x40c)),'content':this[_0x4de0e0(0x376)]['t'](_0x4de0e0(0x235)),'type':_0x4de0e0(0x268),'duration':0x0});}[_0x55040e(0x2bc)](){const _0x4d3d8f=_0x55040e;this[_0x4d3d8f(0x5a7)][_0x4d3d8f(0x253)](new _0x21a4cb(this[_0x4d3d8f(0x54d)])['id'],!0x1);}};Re=Le([A(0x6,_0xb59c13(_0xffa540)),A(0x7,_0x2983df),A(0x8,_0x50f1b0),A(0x9,_0xb59c13(q)),A(0xa,_0xb59c13(_0x4db64b)),A(0xb,_0xb59c13(_0x5d0578)),A(0xc,_0x1e023b)],Re);let ye=class extends $e{constructor(_0x592481,_0x4f61e2,_0x454665,_0x43a808,_0x29a91e,_0x35853f,_0x244b76,_0x2df045,_0x4366fa,_0x23e542){const _0x232feb=_0x55040e;super(_0x592481,_0x4f61e2,_0x454665,_0x43a808,_0x29a91e,_0x4366fa,_0x23e542,_0x244b76,_0x2df045),g(this,_0x232feb(0x3bd),_0x232feb(0x50d)),this['_injector']=_0x35853f;}[_0x55040e(0x56e)](_0x88e4c5){const _0x5e972c=_0x55040e;return this[_0x5e972c(0x4d8)][_0x5e972c(0x5b6)](_0x88e4c5),this[_0x5e972c(0x599)](),this;}['onRemoteChangeset'](_0x4fdf19){const _0x350294=_0x55040e;throw new Error(_0x350294(0x397));}[_0x55040e(0x26f)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x55040e(0x56f)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){return this;}['toggleOnline'](){const _0x31e5a3=_0x55040e,{_injector:_0x15d9d3,_pendingMutations:_0x2cdee9,_awaitingChangeset:_0x362df5,unitID:_0x5297c0,_handler:_0x1d63b3,type:_0x5d400f}=this,_0x52b6e0=Ai(_0x15d9d3,_0x5297c0,_0x5d400f,_0x362df5,_0x2cdee9,_0x1d63b3);return _0x52b6e0 instanceof pe?_0x52b6e0['_schedule']():(_0x52b6e0 instanceof ge||_0x52b6e0 instanceof Te)&&_0x52b6e0[_0x31e5a3(0x346)](),_0x52b6e0;}[_0x55040e(0x346)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0xb59c13(_0x475d43)),A(0x6,_0xb59c13(_0x4db64b)),A(0x7,_0xb59c13(q)),A(0x8,_0x2983df),A(0x9,_0x50f1b0)],ye);let he=class extends $e{constructor(_0x32df09,_0x8061a1,_0x25d04f,_0x4aaea4,_0x1fdd8e,_0x3bef45,_0xf289e8,_0x5993bf,_0x5e562c,_0x21c9d4,_0xe348a6,_0x3e9514,_0x146c51,_0x46c2fd){const _0x1536ec=_0x55040e;super(_0x32df09,_0x8061a1,_0x25d04f,_0x4aaea4,_0xf289e8,_0x3e9514,_0x146c51,_0x5e562c,_0x21c9d4),g(this,_0x1536ec(0x3bd),_0x1536ec(0x2cc)),(this[_0x1536ec(0x5a4)]=_0x1fdd8e,this[_0x1536ec(0x469)]=_0x3bef45,this[_0x1536ec(0x1c7)]=_0x5993bf,this['_logService']=_0xe348a6,this[_0x1536ec(0x384)]=_0x46c2fd);}[_0x55040e(0x390)](_0x5d0f9f){const _0x5f3cd6=_0x55040e;try{const _0x1d0cd6=[..._0x5d0f9f,...this[_0x5f3cd6(0x469)]],_0x24cfd5=[this[_0x5f3cd6(0x4b9)]||this['_acknowledgedAwaitingChangeset']][_0x5f3cd6(0x275)](_0x4886b9=>!!_0x4886b9);let _0x3bfcf7,_0x110113;if(_0x24cfd5[_0x5f3cd6(0x41f)]){const _0xa5fa16=this['_transformService'][_0x5f3cd6(0x339)](_0x1d0cd6,_0x24cfd5,!0x1);if(!_0x356879(_0xa5fa16))throw _0xa5fa16[_0x5f3cd6(0x268)];_0x3bfcf7=_0xa5fa16[_0x5f3cd6(0x4c2)],_0x110113=_0xa5fa16[_0x5f3cd6(0x326)];}else _0x3bfcf7=_0x1d0cd6,_0x110113=[];let _0x1c30ef=this[_0x5f3cd6(0x4d8)];_0x3bfcf7[_0x5f3cd6(0x582)](_0x5e9945=>{const _0x200dbe=_0x5f3cd6;let _0x11bef0;if(_0x1c30ef['length']){const _0x2ea1a0=this[_0x200dbe(0x384)][_0x200dbe(0x30e)](_0x5e9945,_0x1c30ef);if(!_0x5c817a(_0x2ea1a0))throw _0x2ea1a0[_0x200dbe(0x268)];_0x11bef0=_0x2ea1a0[_0x200dbe(0x4c2)],_0x1c30ef=_0x2ea1a0[_0x200dbe(0x580)];}else _0x11bef0=_0x5e9945;this['_executeRemoteChangeset'](_0x11bef0);}),this[_0x5f3cd6(0x5a4)]&&this[_0x5f3cd6(0x5a6)](),this[_0x5f3cd6(0x4b9)]&&_0x110113[_0x5f3cd6(0x41f)]&&(_0x110113[0x0][_0x5f3cd6(0x3e6)]=this['_getCurrentRevision']());let _0x16cd42;if(this['_awaitingChangeset']&&_0x1c30ef[_0x5f3cd6(0x41f)]!==0x0)_0x16cd42=this[_0x5f3cd6(0x1c7)][_0x5f3cd6(0x21f)](ge,this[_0x5f3cd6(0x54d)],this[_0x5f3cd6(0x24f)],_0x110113[0x0],_0x1c30ef,this[_0x5f3cd6(0x50f)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1c30ef['length']===0x0)_0x110113[0x0]['baseRev']=this[_0x5f3cd6(0x2fe)](),_0x16cd42=this[_0x5f3cd6(0x1c7)][_0x5f3cd6(0x21f)](Te,this[_0x5f3cd6(0x54d)],this[_0x5f3cd6(0x24f)],_0x110113[0x0],this['_handler']);else{if(_0x1c30ef['length']!==0x0){const _0x5d6c0c=this[_0x5f3cd6(0x1c7)]['createInstance'](pe,this[_0x5f3cd6(0x54d)],this[_0x5f3cd6(0x24f)],_0x1c30ef,this[_0x5f3cd6(0x50f)]);_0x5d6c0c[_0x5f3cd6(0x497)](),_0x16cd42=_0x5d6c0c;}else _0x16cd42=this[_0x5f3cd6(0x1c7)]['createInstance'](Fe,this[_0x5f3cd6(0x54d)],this[_0x5f3cd6(0x24f)],this[_0x5f3cd6(0x50f)]);}}return _0x16cd42[_0x5f3cd6(0x599)](),_0x16cd42;}catch(_0x17fab4){return this[_0x5f3cd6(0x37d)]['error'](_0x5f3cd6(0x44c),_0x5f3cd6(0x3f8),_0x17fab4),this[_0x5f3cd6(0x1c7)][_0x5f3cd6(0x21f)](Re,this['unitID'],this[_0x5f3cd6(0x24f)],this[_0x5f3cd6(0x4b9)],this[_0x5f3cd6(0x4d8)],this['_handler'],!0x1);}}['resend'](){const _0x1166e1=_0x55040e;throw new Error(_0x1166e1(0x4cb));}[_0x55040e(0x56e)](_0x3d6317){const _0x4c4bf6=_0x55040e;return this[_0x4c4bf6(0x4d8)][_0x4c4bf6(0x5b6)](_0x3d6317),this;}[_0x55040e(0x4e1)](_0x20e34b){const _0x2b11eb=_0x55040e;return this[_0x2b11eb(0x469)][_0x2b11eb(0x5b6)](_0x20e34b),this;}[_0x55040e(0x26f)](_0x49509e){const _0x40a146=_0x55040e;if(this[_0x40a146(0x4b9)])return this[_0x40a146(0x5a4)]=this[_0x40a146(0x4b9)],this[_0x40a146(0x4b9)]=null,this;throw new Error(_0x40a146(0x234));}['onRemoteRej'](_0xc1e5d3){const _0x18244a=_0x55040e;return this[_0x18244a(0x42d)](!!(_0xc1e5d3!=null&&_0xc1e5d3[_0x18244a(0x4f9)]));}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){const _0x5f2188=_0x55040e;return this[_0x5f2188(0x1c7)]['createInstance'](ye,this[_0x5f2188(0x54d)],this['type'],this[_0x5f2188(0x4b9)],this[_0x5f2188(0x4d8)],this[_0x5f2188(0x50f)]);}[_0x55040e(0x3b6)](){return this;}[_0x55040e(0x42d)](_0x22bea1){const _0xd87eb3=_0x55040e;return this['_injector']['createInstance'](Re,this[_0xd87eb3(0x54d)],this[_0xd87eb3(0x24f)],this[_0xd87eb3(0x4b9)],this[_0xd87eb3(0x4d8)],this[_0xd87eb3(0x50f)],_0x22bea1);}};he=Le([A(0x7,_0xb59c13(_0x475d43)),A(0x8,_0xb59c13(_0x4db64b)),A(0x9,_0xb59c13(q)),A(0xa,_0x6916a2),A(0xb,_0x2983df),A(0xc,_0x50f1b0),A(0xd,_0x3c8669)],he);function Ai(_0xf446f6,_0x488665,_0x509a8f,_0xa07a34,_0x2800c2,_0x16bedb){const _0x492751=_0x55040e;return _0xa07a34&&_0x2800c2['length']?_0xf446f6[_0x492751(0x21f)](ge,_0x488665,_0x509a8f,_0xa07a34,_0x2800c2,_0x16bedb,void 0x0):_0xa07a34?_0xf446f6[_0x492751(0x21f)](Te,_0x488665,_0x509a8f,_0xa07a34,_0x16bedb):_0x2800c2[_0x492751(0x41f)]?_0xf446f6[_0x492751(0x21f)](pe,_0x488665,_0x509a8f,_0x2800c2,_0x16bedb):_0xf446f6[_0x492751(0x21f)](Fe,_0x488665,_0x509a8f,_0x16bedb);}var mo=Object[_0x55040e(0x4df)],po=Object[_0x55040e(0x2ad)],Es=(_0x1e84d8,_0x178362,_0xfc4ef7,_0x39d74b)=>{for(var _0x51a123=_0x39d74b>0x1?void 0x0:_0x39d74b?po(_0x178362,_0xfc4ef7):_0x178362,_0x452c95=_0x1e84d8['length']-0x1,_0x181bac;_0x452c95>=0x0;_0x452c95--)(_0x181bac=_0x1e84d8[_0x452c95])&&(_0x51a123=(_0x39d74b?_0x181bac(_0x178362,_0xfc4ef7,_0x51a123):_0x181bac(_0x51a123))||_0x51a123);return _0x39d74b&&_0x51a123&&mo(_0x178362,_0xfc4ef7,_0x51a123),_0x51a123;},H=(_0x4c09ba,_0x583293)=>(_0x29c6f5,_0x2dd950)=>_0x583293(_0x29c6f5,_0x2dd950,_0x4c09ba);let St=class extends _0x47772b{constructor(_0x4ab98d,_0x556218,_0x5c8e70,_0x30e66f,_0x58ed91,_0x248dcc,_0x3baad9,_0x10ca7a,_0x255acd,_0x63ce32,_0x20e0d0,_0x3ea06c,_0x3b17f5){const _0x14b903=_0x55040e;super(),g(this,'_state$',new _0x7f65fd(null)),g(this,'state$',this[_0x14b903(0x1c4)][_0x14b903(0x34d)]()),g(this,'_state'),g(this,'_collaborationPaused',!0x1),g(this,_0x14b903(0x49c),''),g(this,_0x14b903(0x4ca),0x0),g(this,'status$',this['state$'][_0x14b903(0x55b)](_0xd7e00(_0x2df96b=>_0x2df96b?_0x2df96b['status']:J[_0x14b903(0x4d3)]),_0x507dc(0x1))),g(this,_0x14b903(0x586),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x14b903(0x54d)]=_0x4ab98d,this[_0x14b903(0x59d)]=_0x556218,this[_0x14b903(0x2cf)]=_0x5c8e70,this[_0x14b903(0x1c7)]=_0x30e66f,this['_localCacheService']=_0x58ed91,this[_0x14b903(0x5b3)]=_0x248dcc,this[_0x14b903(0x376)]=_0x3baad9,this['_revisionService']=_0x10ca7a,this[_0x14b903(0x37d)]=_0x255acd,this[_0x14b903(0x1e8)]=_0x63ce32,this['_messageService']=_0x20e0d0,this[_0x14b903(0x5a7)]=_0x3ea06c,this[_0x14b903(0x39b)]=_0x3b17f5);}get['state'](){return this['_state'];}async[_0x55040e(0x5b2)](){const _0x368a21=_0x55040e;if(this['state'])throw new Error(_0x368a21(0x4ff));await this[_0x368a21(0x442)]();}[_0x55040e(0x350)](){const _0x25ed94=_0x55040e;return this[_0x25ed94(0x2ca)]=!0x0,_0xc23247(()=>{const _0x4119ab=_0x25ed94;this[_0x4119ab(0x2ca)]=!0x1,this[_0x4119ab(0x579)]();});}[_0x55040e(0x1f0)](_0x2ce64a){const _0xfbd220=_0x55040e;this[_0xfbd220(0x261)]=_0x2ce64a,this[_0xfbd220(0x1c4)]['next'](_0x2ce64a);}async[_0x55040e(0x442)](){const _0x38bc27=_0x55040e;var _0x41c5cf;this[_0x38bc27(0x1f0)](await this[_0x38bc27(0x3af)]()),this[_0x38bc27(0x39b)]&&((_0x41c5cf=this[_0x38bc27(0x39b)])==null||_0x41c5cf[_0x38bc27(0x1e7)](this[_0x38bc27(0x54d)]),this[_0x38bc27(0x33a)](this[_0x38bc27(0x39b)][_0x38bc27(0x22c)](this[_0x38bc27(0x54d)])[_0x38bc27(0x1e2)](_0x7121cb=>{const _0x33ab10=_0x38bc27;this[_0x33ab10(0x37d)][_0x33ab10(0x501)](_0x33ab10(0x414),_0x33ab10(0x3b8),_0x7121cb),_0x7121cb===Di[_0x33ab10(0x34b)]?(this['_messageService'][_0x33ab10(0x2d8)]({'content':this[_0x33ab10(0x376)]['t']('collaboration.single-unit.warning'),'type':_0x4d23e2[_0x33ab10(0x282)]}),this['_permissionService'][_0x33ab10(0x253)](new _0x21a4cb(this['unitID'])['id'],!0x1),this[_0x33ab10(0x5a7)][_0x33ab10(0x1de)](!0x1)):(this[_0x33ab10(0x5a7)][_0x33ab10(0x253)](new _0x21a4cb(this[_0x33ab10(0x54d)])['id'],!0x0),this[_0x33ab10(0x5a7)][_0x33ab10(0x1de)](!0x0));})));let _0x5c1dd1=!0x1;return this[_0x38bc27(0x33a)](this['session']['sessionStatus$'][_0x38bc27(0x1e2)](_0x295a8b=>{const _0x21a863=_0x38bc27;_0x295a8b===ve['ONLINE']?this[_0x21a863(0x2ae)](_0x5c1dd1):_0x295a8b===ve[_0x21a863(0x4d3)]&&(_0x5c1dd1=!0x0,this['_toggleOffline']());})),this[_0x38bc27(0x33a)](this[_0x38bc27(0x59d)][_0x38bc27(0x4e5)][_0x38bc27(0x1e2)](_0x564c4f=>{const _0x42e49e=_0x38bc27;try{switch(_0x564c4f[_0x42e49e(0x3ff)]){case _0x4382cf['NEW_CHANGESETS']:{this[_0x42e49e(0x286)](_0x243fd9(_0x564c4f[_0x42e49e(0x44b)]));break;}case _0x4382cf[_0x42e49e(0x35b)]:{this['_onRemoteACK'](_0x564c4f[_0x42e49e(0x44b)]);break;}case _0x4382cf[_0x42e49e(0x2b9)]:{this[_0x42e49e(0x460)]();break;}case _0x4382cf[_0x42e49e(0x247)]:{this[_0x42e49e(0x486)](_0x564c4f[_0x42e49e(0x44b)]);break;}case _0x4382cf['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x42e49e(0x42e)](_0x564c4f[_0x42e49e(0x44b)]['changesets'][_0x42e49e(0x34a)](_0x1c6819=>_0x243fd9(_0x1c6819)));break;}case _0x4382cf[_0x42e49e(0x29d)]:this[_0x42e49e(0x460)]({'isPermissionRej':!0x0});}}catch(_0x351478){throw console[_0x42e49e(0x268)](_0x42e49e(0x1f4),_0x351478),_0x351478;}})),this[_0x38bc27(0x261)];}[_0x55040e(0x2c9)](){const _0x78946c=_0x55040e;this[_0x78946c(0x586)]=!0x1;}[_0x55040e(0x33d)](){const _0x32ad91=_0x55040e;if(this[_0x32ad91(0x586)])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;}[_0x55040e(0x3ca)](_0xa27724){const _0x137129=_0x55040e;this[_0x137129(0x33d)](),this[_0x137129(0x1f0)](this[_0x137129(0x261)][_0x137129(0x56e)](_0xa27724)),this['_unlockTransition']();}[_0x55040e(0x286)](_0x44abc0){const _0x64e400=_0x55040e;if(!(_0x44abc0[_0x64e400(0x4a7)]<=this[_0x64e400(0x5c9)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x64e400(0x2ca)]){this[_0x64e400(0x218)][_0x64e400(0x5b6)](_0x44abc0);return;}this[_0x64e400(0x514)](_0x44abc0);}}[_0x55040e(0x579)](){const _0x2853cb=_0x55040e;this[_0x2853cb(0x218)][_0x2853cb(0x582)](_0x17fd8e=>this['_applyRemoteChangeset'](_0x17fd8e)),this[_0x2853cb(0x218)]=[];}[_0x55040e(0x514)](_0x59eb51){const _0x469440=_0x55040e,_0x4cebcb=this['_compressMutationService'][_0x469440(0x3fb)][_0x469440(0x413)](this[_0x469440(0x5b3)][_0x469440(0x3fb)][_0x469440(0x367)]()[_0x469440(0x3d2)])(_0x59eb51[_0x469440(0x271)],null)||_0x59eb51[_0x469440(0x271)],_0x368e7e={..._0x59eb51,'mutations':_0x4cebcb};this[_0x469440(0x33d)](),this['_updateState'](this[_0x469440(0x261)][_0x469440(0x4e1)](_0x368e7e)),this[_0x469440(0x2c9)]();}[_0x55040e(0x4e0)](_0x5ab255){const _0x5f1095=_0x55040e;this['_lockTransition'](),this[_0x5f1095(0x1f0)](this[_0x5f1095(0x261)][_0x5f1095(0x26f)](_0x5ab255)),this['_unlockTransition']();}[_0x55040e(0x460)](_0x3a75d0){const _0x5df4e4=_0x55040e;this[_0x5df4e4(0x33d)](),this['_updateState'](this['_state'][_0x5df4e4(0x56f)](_0x3a75d0)),this['_unlockTransition']();}['_onRemoteRetry'](_0x1eac88){const _0xb74ea1=_0x55040e;this[_0xb74ea1(0x33d)](),this[_0xb74ea1(0x1f0)](this[_0xb74ea1(0x261)][_0xb74ea1(0x510)](_0x1eac88)),this[_0xb74ea1(0x2c9)]();}[_0x55040e(0x42e)](_0x365745){const _0x1c3bca=_0x55040e;if(!(this[_0x1c3bca(0x261)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x35864f=_0x365745[_0x1c3bca(0x34a)](_0x236f9a=>{const _0x31af9a=_0x1c3bca,_0x20caae=this[_0x31af9a(0x5b3)]['interceptor'][_0x31af9a(0x413)](this[_0x31af9a(0x5b3)][_0x31af9a(0x3fb)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x236f9a[_0x31af9a(0x271)],null)||_0x236f9a[_0x31af9a(0x271)];return{..._0x236f9a,'mutations':_0x20caae};});this['_lockTransition'](),this[_0x1c3bca(0x1f0)](this[_0x1c3bca(0x261)]['onMissedChangesetFetched'](_0x35864f)),this[_0x1c3bca(0x2c9)]();}['_toggleOffline'](){const _0x46aa45=_0x55040e;this['_lockTransition'](),this[_0x46aa45(0x1f0)](this[_0x46aa45(0x261)][_0x46aa45(0x564)]()),this[_0x46aa45(0x2c9)]();}['_toggleOnline'](_0x4c4587=!0x1){const _0x3915ca=_0x55040e;this['_lockTransition'](),this[_0x3915ca(0x1f0)](this[_0x3915ca(0x261)]['toggleOnline']()),this[_0x3915ca(0x2c9)]();const _0x191e11=this['_state'];_0x4c4587&&_0x191e11 instanceof Fe&&(this[_0x3915ca(0x33d)](),this[_0x3915ca(0x1f0)](_0x191e11[_0x3915ca(0x420)]()),this['_unlockTransition']());}async[_0x55040e(0x3af)](){return new Promise(_0x4d732a=>{const _0x176da4=_0x1c89;this[_0x176da4(0x59d)]['sessionStatus$']['pipe'](_0x31309a(0x1))[_0x176da4(0x1e2)](async _0x1cbe2f=>{const _0xcd940c=_0x176da4;_0x4d732a(await this['_createInitialStateImpl'](_0x1cbe2f===ve[_0xcd940c(0x1e6)]));});});}['_createHandler'](){const _0x26e04a=_0x55040e,_0x1fa2cd=this[_0x26e04a(0x54d)];return{'onStateChange':(_0x1df05e,_0x41c648)=>{const _0x10a6f9=_0x26e04a;if(_0x1df05e!==this['_state'])throw new Error(_0x10a6f9(0x511)+_0x1df05e[_0x10a6f9(0x3bd)]+_0x10a6f9(0x5c8)+_0x41c648[_0x10a6f9(0x3bd)]+'\x0aCurrent:\x20'+this['_state'][_0x10a6f9(0x3bd)]);this['_updateState'](_0x41c648);},'onSendChangeset':_0x4c0964=>{const _0x113940=_0x26e04a;_0x4c0964[_0x113940(0x4f4)]||(_0x4c0964['sid']=this[_0x113940(0x49c)],_0x4c0964['reqId']=++this[_0x113940(0x4ca)]);const _0x4a8e94={'eventID':_0x4382cf[_0x113940(0x5a0)],'data':{'unitID':_0x4c0964[_0x113940(0x54d)],'unitType':this[_0x113940(0x2cf)],'changeset':_0x4c0964,'memberID':this[_0x113940(0x59d)][_0x113940(0x419)]()}};this[_0x113940(0x59d)][_0x113940(0x4a8)](_0x4a8e94,this['unitID']);},'onMissingChangesets':({from:_0xc278c5,to:_0x20f104})=>{const _0x575328=_0x26e04a;this[_0x575328(0x37d)][_0x575328(0x501)](_0x575328(0x414),_0x575328(0x214)+_0xc278c5+_0x575328(0x51d)+_0x20f104);const _0x4c0b9c={'eventID':_0x4382cf[_0x575328(0x498)],'data':{'unitID':_0x1fa2cd,'unitType':this[_0x575328(0x2cf)],'from':_0xc278c5,'to':_0x20f104}};this['session'][_0x575328(0x4a8)](_0x4c0b9c,this[_0x575328(0x54d)]);}};}async[_0x55040e(0x3c8)](_0x4e0e21){const _0x543dd9=_0x55040e;var _0x13eaa5,_0x30e64a;const _0x56434a=await this[_0x543dd9(0x528)]['loadOfflineData'](this[_0x543dd9(0x54d)]),_0xad299a=(_0x13eaa5=_0x56434a==null?void 0x0:_0x56434a[_0x543dd9(0x271)])!=null?_0x13eaa5:[],_0x1dd045=(_0x30e64a=_0x56434a==null?void 0x0:_0x56434a[_0x543dd9(0x443)])!=null?_0x30e64a:null,_0x4e44c2=!!(_0x1dd045!=null&&_0x1dd045['sid'])&&!!(_0x1dd045!=null&&_0x1dd045[_0x543dd9(0x4ed)]);this[_0x543dd9(0x49c)]=_0x4e44c2?_0x1dd045[_0x543dd9(0x4f4)]:Gr(),this[_0x543dd9(0x4ca)]=_0x4e44c2?_0x1dd045[_0x543dd9(0x4ed)]:0x0;const _0x5e2a43=this['unitID'];try{this[_0x543dd9(0x5bb)](_0x1dd045,_0xad299a);}catch(_0x535f59){this[_0x543dd9(0x37d)][_0x543dd9(0x268)](_0x535f59);}const _0x30a59f=this['_createHandler']();if(_0x4e0e21){const _0x4551ee=Ai(this[_0x543dd9(0x1c7)],_0x5e2a43,this[_0x543dd9(0x2cf)],_0x1dd045,_0xad299a,_0x30a59f);return _0x4551ee instanceof pe?_0x4551ee[_0x543dd9(0x497)]():(_0x4551ee instanceof ge||_0x4551ee instanceof Te)&&_0x4551ee['resend'](),_0x4551ee;}return this[_0x543dd9(0x1c7)]['createInstance'](ye,_0x5e2a43,this[_0x543dd9(0x2cf)],_0x1dd045,_0xad299a,_0x30a59f);}[_0x55040e(0x5bb)](_0x4e3452,_0x409b1d){const _0x44950b=_0x55040e;var _0x59065c,_0x4f2f56;const _0x5bdc9a=this[_0x44950b(0x5b3)][_0x44950b(0x3fb)][_0x44950b(0x413)](this[_0x44950b(0x5b3)][_0x44950b(0x3fb)]['getInterceptPoints']()[_0x44950b(0x3d2)]);(_0x59065c=_0x5bdc9a((_0x4e3452==null?void 0x0:_0x4e3452[_0x44950b(0x271)])||[],null))==null||_0x59065c[_0x44950b(0x582)](_0x225d49=>this[_0x44950b(0x1e8)][_0x44950b(0x4e4)](_0x225d49['id'],_0x225d49['params'])),(_0x4f2f56=_0x5bdc9a(_0x409b1d||[],null))==null||_0x4f2f56['forEach'](_0x29515d=>this['_commandService'][_0x44950b(0x4e4)](_0x29515d['id'],_0x29515d[_0x44950b(0x593)]));}};St=Es([H(0x3,_0xb59c13(_0x475d43)),H(0x4,_0xb59c13(q)),H(0x5,_0xb59c13(_0x20ba1c)),H(0x6,_0xb59c13(_0x5d0578)),H(0x7,_0xb59c13(_0x4db64b)),H(0x8,_0x6916a2),H(0x9,_0x2983df),H(0xa,_0x204e81),H(0xb,_0xffa540),H(0xc,_0x31105a(yt))],St);let ss=class extends St{constructor(_0x102f69,_0x4f0a8b,_0x55ee58,_0x5b8d81,_0x2eedfa,_0x25e63d,_0x8d4b25,_0x1eae1e,_0x5558e0,_0x56bf79,_0x383327,_0x362a7d,_0x5f10ad,_0x5bbd6d,_0x3536a1,_0x315860,_0x392802,_0x157e02){const _0x3c1570=_0x55040e;super(_0x102f69,_0x55ee58,_0x4f0a8b,_0x5b8d81,_0x2eedfa,_0x25e63d,_0x8d4b25,_0x1eae1e,_0x5bbd6d,_0x3536a1,_0x315860,_0x392802,_0x157e02),this[_0x3c1570(0x54d)]=_0x102f69,this[_0x3c1570(0x24f)]=_0x4f0a8b,this['_docStateChangeManagerService']=_0x5558e0,this[_0x3c1570(0x1e3)]=_0x56bf79,this[_0x3c1570(0x5d1)]=_0x383327,this[_0x3c1570(0x4c4)]=_0x362a7d,this[_0x3c1570(0x249)]=_0x5f10ad;}[_0x55040e(0x30d)](){const _0x115340=_0x55040e,_0x32d304=super[_0x115340(0x30d)]();return _0x32d304[_0x115340(0x4c7)]=_0x4ba200=>this[_0x115340(0x1e3)][_0x115340(0x558)](_0x4ba200),_0x32d304[_0x115340(0x222)]=_0x19dd1b=>this[_0x115340(0x5d1)][_0x115340(0x532)](_0x19dd1b),_0x32d304[_0x115340(0x1cb)]=_0x44ec30=>this[_0x115340(0x4c4)][_0x115340(0x466)](_0x44ec30),_0x32d304[_0x115340(0x408)]=_0x5c35ed=>this['_docSyncEditingCollabCursorService'][_0x115340(0x32e)](_0x5c35ed),_0x32d304['onTransformRemoteChangesetByIMECache']=_0xcea4e9=>this[_0x115340(0x1e3)][_0x115340(0x2b2)](_0xcea4e9),_0x32d304['onTransformRemoteChangesetByStateCache']=_0xfed7d7=>this[_0x115340(0x5d1)][_0x115340(0x2b2)](_0xfed7d7),_0x32d304;}async[_0x55040e(0x442)](){const _0x3da8cb=_0x55040e,_0x45c7a5=await super['_init']();return this[_0x3da8cb(0x393)]['docStateChange$'][_0x3da8cb(0x55b)](_0x589f39(this[_0x3da8cb(0x48c)]))[_0x3da8cb(0x1e2)](_0x565975=>{const _0x1640f2=_0x3da8cb;if(_0x565975==null)return;const {unitId:_0x44e497,redoState:_0x1a4ed,commandId:_0xa3a301}=_0x565975;if(_0x44e497!==this[_0x1640f2(0x54d)])return;const _0x2e578b={'id':_0xa3a301,'type':_0x433970[_0x1640f2(0x5b9)],'params':{'unitId':_0x44e497,'actions':_0x1a4ed[_0x1640f2(0x551)],'textRanges':null}};this[_0x1640f2(0x3ca)](_0x2e578b);}),_0x45c7a5;}};ss=Es([H(0x3,_0xb59c13(_0x475d43)),H(0x4,_0xb59c13(q)),H(0x5,_0xb59c13(_0x20ba1c)),H(0x6,_0xb59c13(_0x5d0578)),H(0x7,_0xb59c13(_0x4db64b)),H(0x8,_0xb59c13(_0x2dd912)),H(0x9,_0xb59c13(vt)),H(0xa,_0xb59c13(pt)),H(0xb,_0xb59c13(gt)),H(0xc,_0xb59c13(Cs)),H(0xd,_0x6916a2),H(0xe,_0x2983df),H(0xf,_0x204e81),H(0x10,_0xffa540),H(0x11,_0x31105a(yt))],ss);let is=class extends St{constructor(_0x1fe61b,_0xe1c552,_0x39f715,_0x4d4e78,_0x377ed6,_0x37d27b,_0x3bc766,_0x35fdec,_0x4e7ee0,_0xbc8464,_0x366479,_0x5582a4,_0x252e13,_0x35e171){const _0x1979d5=_0x55040e;super(_0x1fe61b,_0x39f715,_0xe1c552,_0x4d4e78,_0x377ed6,_0x37d27b,_0x3bc766,_0x35fdec,_0xbc8464,_0x366479,_0x5582a4,_0x252e13,_0x35e171),this[_0x1979d5(0x54d)]=_0x1fe61b,this[_0x1979d5(0x24f)]=_0xe1c552,this[_0x1979d5(0x52a)]=_0x4e7ee0;}[_0x55040e(0x30d)](){const _0x346e91=_0x55040e,_0x55e3a0=super[_0x346e91(0x30d)]();return _0x55e3a0[_0x346e91(0x1cb)]=_0xdcfd43=>this['_sheetTransformSelectionsService'][_0x346e91(0x466)](_0xdcfd43),_0x55e3a0;}async[_0x55040e(0x442)](){const _0x2bdc44=_0x55040e,_0x5bea1e=await super[_0x2bdc44(0x442)]();return this[_0x2bdc44(0x33a)](this[_0x2bdc44(0x1e8)][_0x2bdc44(0x3ee)]((_0x45f97a,_0x1cbb1e)=>{const _0x18e204=_0x2bdc44;if(_0x45f97a[_0x18e204(0x24f)]!==_0x433970[_0x18e204(0x5b9)]||_0x1cbb1e!=null&&_0x1cbb1e[_0x18e204(0x2a3)]||_0x1cbb1e!=null&&_0x1cbb1e[_0x18e204(0x1cc)])return;const _0x2709f3=_0x45f97a[_0x18e204(0x593)];if((_0x2709f3==null?void 0x0:_0x2709f3[_0x18e204(0x292)])!==this[_0x18e204(0x54d)])return;const _0x1e9429=_0x45f97a,_0x3022ab=this[_0x18e204(0x5b3)][_0x18e204(0x3fb)][_0x18e204(0x413)](this['_compressMutationService'][_0x18e204(0x3fb)][_0x18e204(0x367)]()[_0x18e204(0x26a)])([_0x1e9429],null)||[_0x1e9429];this[_0x18e204(0x3ca)](_0x3022ab[0x0]);})),_0x5bea1e;}};is=Es([H(0x3,_0xb59c13(_0x475d43)),H(0x4,_0xb59c13(q)),H(0x5,_0xb59c13(_0x20ba1c)),H(0x6,_0xb59c13(_0x5d0578)),H(0x7,_0xb59c13(_0x4db64b)),H(0x8,_0xb59c13(mt)),H(0x9,_0x6916a2),H(0xa,_0x2983df),H(0xb,_0x204e81),H(0xc,_0xffa540),H(0xd,_0x31105a(yt))],is);var go=Object['defineProperty'],So=Object[_0x55040e(0x2ad)],Io=(_0x419f93,_0x5e6829,_0x3b8530,_0x39bbe7)=>{const _0x435768=_0x55040e;for(var _0x3efaaf=_0x39bbe7>0x1?void 0x0:_0x39bbe7?So(_0x5e6829,_0x3b8530):_0x5e6829,_0x59f671=_0x419f93[_0x435768(0x41f)]-0x1,_0x120d05;_0x59f671>=0x0;_0x59f671--)(_0x120d05=_0x419f93[_0x59f671])&&(_0x3efaaf=(_0x39bbe7?_0x120d05(_0x5e6829,_0x3b8530,_0x3efaaf):_0x120d05(_0x3efaaf))||_0x3efaaf);return _0x39bbe7&&_0x3efaaf&&go(_0x5e6829,_0x3b8530,_0x3efaaf),_0x3efaaf;},Lt=(_0xd59cb9,_0x1cd544)=>(_0x2af43,_0x16e345)=>_0x1cd544(_0x2af43,_0x16e345,_0xd59cb9);let it=class extends _0x47772b{constructor(_0x7ce5b4,_0x4a4a5c,_0x284d67){const _0x4fb15f=_0x55040e;super(),g(this,'_entities',new Map()),g(this,_0x4fb15f(0x536),new _0x308ed9()),(this['_injector']=_0x7ce5b4,this[_0x4fb15f(0x3cd)]=_0x4a4a5c,this[_0x4fb15f(0x48a)]=_0x284d67,this[_0x4fb15f(0x442)]());}[_0x55040e(0x449)](){const _0x2d7ca3=_0x55040e;super[_0x2d7ca3(0x449)](),this[_0x2d7ca3(0x317)][_0x2d7ca3(0x582)](_0x793fe6=>_0x793fe6[_0x2d7ca3(0x449)]()),this[_0x2d7ca3(0x317)]['clear']();}['getCollabEntity'](_0x24912e){const _0x3ab37b=_0x55040e;var _0x5222ff;return(_0x5222ff=this[_0x3ab37b(0x317)]['get'](_0x24912e))!=null?_0x5222ff:null;}[_0x55040e(0x1d2)](_0x4b833b){const _0x5e2d29=_0x55040e,_0x2129dc=this[_0x5e2d29(0x396)](_0x4b833b);return _0x2129dc?_0x1c2089(_0x2129dc):this['_entityInit$'][_0x5e2d29(0x55b)](_0x1fa847(_0x108dbb=>_0x108dbb[_0x5e2d29(0x54d)]===_0x4b833b));}[_0x55040e(0x442)](){const _0x1a8f21=_0x55040e;this[_0x1a8f21(0x48a)][_0x1a8f21(0x3ba)](_0x24e86f[_0x1a8f21(0x2b1)])['pipe'](_0x589f39(this[_0x1a8f21(0x48c)]),_0x258030(0x10))[_0x1a8f21(0x1e2)](async _0x5dce4c=>{const _0x429000=_0x1a8f21,_0x20fb3f=_0x5dce4c['getUnitId'](),_0x194c1f=await this['_startCollaboration'](_0x20fb3f,ce[_0x429000(0x2b1)]);this[_0x429000(0x317)][_0x429000(0x333)](_0x20fb3f,_0x194c1f);}),this[_0x1a8f21(0x48a)][_0x1a8f21(0x3ba)](_0x24e86f[_0x1a8f21(0x337)])['pipe'](_0x589f39(this['dispose$']),_0x258030(0x10))[_0x1a8f21(0x55b)](_0x1fa847(_0x5a13da=>!_0x5a13da[_0x1a8f21(0x4f5)]()[_0x1a8f21(0x5c2)]('__')))[_0x1a8f21(0x1e2)](async _0x184532=>{const _0x218e4b=_0x1a8f21,_0x5d6eed=_0x184532[_0x218e4b(0x4f5)](),_0x32b11e=await this[_0x218e4b(0x27a)](_0x5d6eed,ce[_0x218e4b(0x337)]);this[_0x218e4b(0x317)]['set'](_0x5d6eed,_0x32b11e);}),_0x3dbb21(this[_0x1a8f21(0x48a)][_0x1a8f21(0x41b)](_0x24e86f[_0x1a8f21(0x2b1)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x24e86f[_0x1a8f21(0x337)]))['pipe'](_0x589f39(this[_0x1a8f21(0x48c)]))['subscribe'](_0x335c98=>{const _0x366219=_0x1a8f21,_0x101408=_0x335c98[_0x366219(0x4f5)](),_0x2bb56a=this[_0x366219(0x317)]['get'](_0x101408);_0x2bb56a&&(_0x2bb56a[_0x366219(0x449)](),this[_0x366219(0x317)][_0x366219(0x4b5)](_0x101408));});}async['_startCollaboration'](_0x1c04dd,_0x47ab6d){const _0x451cbf=_0x55040e,_0x1a99be=await this[_0x451cbf(0x3cd)][_0x451cbf(0x21e)](_0x1c04dd),_0x3f4958=this[_0x451cbf(0x1c7)][_0x451cbf(0x21f)](this[_0x451cbf(0x2ce)](_0x47ab6d),_0x1c04dd,_0x47ab6d,_0x1a99be);return await _0x3f4958[_0x451cbf(0x5b2)](),this[_0x451cbf(0x536)][_0x451cbf(0x1ea)](_0x3f4958),_0x3f4958;}[_0x55040e(0x2ce)](_0x556da7){const _0x862ef2=_0x55040e;switch(_0x556da7){case ce[_0x862ef2(0x337)]:return ss;case ce[_0x862ef2(0x2b1)]:return is;default:throw new Error(_0x862ef2(0x33e)+_0x556da7);}}};it=Io([Lt(0x0,_0xb59c13(_0x475d43)),Lt(0x1,_0xb59c13(Ae)),Lt(0x2,_0x10abd5)],it);const Gs=[_0x55040e(0x46a),_0x55040e(0x3aa),_0x55040e(0x388),_0x55040e(0x3e8),_0x55040e(0x505),_0x55040e(0x51e)];class bs extends _0x32aa41{constructor(){const _0x566a70=_0x55040e;super(...arguments),g(this,_0x566a70(0x29b),new Map()),g(this,_0x566a70(0x31c),0x0);}['assignAColorForMemberID'](_0x3e7661){const _0x52ddc1=_0x55040e;if(this['_assignedColors'][_0x52ddc1(0x269)](_0x3e7661))return this[_0x52ddc1(0x29b)]['get'](_0x3e7661);const _0x1717e2=Gs[this[_0x52ddc1(0x31c)]];return this[_0x52ddc1(0x31c)]=(this[_0x52ddc1(0x31c)]+0x1)%Gs[_0x52ddc1(0x41f)],this[_0x52ddc1(0x29b)]['set'](_0x3e7661,_0x1717e2),_0x1717e2;}}var Co=Object[_0x55040e(0x4df)],Eo=Object[_0x55040e(0x2ad)],bo=(_0x525b3e,_0x3e2c8e,_0x223499,_0x5ea15b)=>{const _0x4394ab=_0x55040e;for(var _0x3286e1=_0x5ea15b>0x1?void 0x0:_0x5ea15b?Eo(_0x3e2c8e,_0x223499):_0x3e2c8e,_0x551939=_0x525b3e[_0x4394ab(0x41f)]-0x1,_0x2bd10e;_0x551939>=0x0;_0x551939--)(_0x2bd10e=_0x525b3e[_0x551939])&&(_0x3286e1=(_0x5ea15b?_0x2bd10e(_0x3e2c8e,_0x223499,_0x3286e1):_0x2bd10e(_0x3286e1))||_0x3286e1);return _0x5ea15b&&_0x3286e1&&Co(_0x3e2c8e,_0x223499,_0x3286e1),_0x3286e1;},Oe=(_0x4b47bf,_0x2db55c)=>(_0x46bd2e,_0x4db376)=>_0x2db55c(_0x46bd2e,_0x4db376,_0x4b47bf);const To=0x12c,Ro=0x64;let ns=class extends _0x47772b{constructor(_0x133699,_0xa6f73d,_0x1ee436,_0x1f3293,_0x4d5f4e,_0x20a237,_0x3b558b,_0xfb75,_0xfea37){const _0x18c574=_0x55040e;super(),g(this,_0x18c574(0x431),!0x1),g(this,'_init',!0x1),g(this,_0x18c574(0x2ed),new _0x7f65fd(new Map())),g(this,_0x18c574(0x2b3),this['_cursorInfo$'][_0x18c574(0x34d)]()),g(this,_0x18c574(0x327),new _0x7f65fd([])),g(this,_0x18c574(0x267),this[_0x18c574(0x327)][_0x18c574(0x55b)](_0x1a585e(To))),g(this,_0x18c574(0x5c1),_0xc081a9(_0x521568=>{const _0x5a35d1=_0x18c574,_0x4be976={'eventID':_0x4382cf[_0x5a35d1(0x480)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':Pi(_0x521568)}};this[_0x5a35d1(0x1ce)][_0x5a35d1(0x4a8)](_0x4be976,this[_0x5a35d1(0x54d)]);},Ro)),(this['unitID']=_0x133699,this['_session']=_0xa6f73d,this['_injector']=_0x1ee436,this['_colorAssignService']=_0x1f3293,this[_0x18c574(0x356)]=_0x4d5f4e,this[_0x18c574(0x25b)]=_0x20a237,this[_0x18c574(0x384)]=_0x3b558b,this[_0x18c574(0x48a)]=_0xfb75,this[_0x18c574(0x1e8)]=_0xfea37);}get['cursorInfo'](){const _0x23a0d9=_0x55040e;return this[_0x23a0d9(0x2ed)][_0x23a0d9(0x1e5)]();}get[_0x55040e(0x38b)](){const _0x300fd3=_0x55040e;return this[_0x300fd3(0x327)]['getValue']();}[_0x55040e(0x449)](){const _0x5663e5=_0x55040e;super[_0x5663e5(0x449)](),this[_0x5663e5(0x2ed)]['next'](new Map()),this[_0x5663e5(0x2ed)]['complete'](),this[_0x5663e5(0x327)][_0x5663e5(0x1ea)]([]),this['_roomMembers$'][_0x5663e5(0x512)]();}[_0x55040e(0x5b2)](){const _0x50d8c0=_0x55040e;this[_0x50d8c0(0x442)]||(this[_0x50d8c0(0x442)]=!0x0,this[_0x50d8c0(0x1ce)][_0x50d8c0(0x3ed)]['pipe'](_0x589f39(this['dispose$']))[_0x50d8c0(0x1e2)](_0xc06ff3=>{const _0x13c6fd=_0x50d8c0;_0xc06ff3===ve['ONLINE']?this[_0x13c6fd(0x2ae)]():this[_0x13c6fd(0x2d5)]();}),this['_session']['event$'][_0x50d8c0(0x55b)](_0x589f39(this[_0x50d8c0(0x48c)]))[_0x50d8c0(0x1e2)](_0x34c5b0=>{const _0x43824=_0x50d8c0,_0x3c0767=_0x34c5b0['eventID'];_0x3c0767===_0x4382cf[_0x43824(0x480)]&&this['_onCursorUpdate'](_0x34c5b0),_0x3c0767===_0x4382cf[_0x43824(0x278)]&&this['_onCursorDelete'](_0x34c5b0);}),this[_0x50d8c0(0x33a)](this[_0x50d8c0(0x1e8)][_0x50d8c0(0x3ee)](_0x475465=>{const _0x2760cd=_0x50d8c0,_0x379e02=_0x475465[_0x2760cd(0x593)];_0x379e02!=null&&this[_0x2760cd(0x431)]&&_0x475465['id']===_0x444124['id']&&_0x379e02['unitId']===this[_0x2760cd(0x54d)]&&_0x379e02[_0x2760cd(0x3cf)]===!0x1&&_0x379e02[_0x2760cd(0x4d2)][_0x2760cd(0x41f)]>0x0&&this[_0x2760cd(0x5c1)](_0x379e02[_0x2760cd(0x4d2)]);})),this[_0x50d8c0(0x25b)][_0x50d8c0(0x296)][_0x50d8c0(0x55b)](_0x589f39(this[_0x50d8c0(0x48c)]))[_0x50d8c0(0x1e2)](_0x1dd62f=>{const _0x15ba0f=_0x50d8c0;if((_0x1dd62f==null?void 0x0:_0x1dd62f[_0x15ba0f(0x54d)])!==this[_0x15ba0f(0x54d)])return;const _0x30da7e={'eventID':_0x4382cf[_0x15ba0f(0x480)],'data':_0x1dd62f};this['_onCursorUpdate'](_0x30da7e);}),this['disposeWithMe'](this[_0x50d8c0(0x1e8)][_0x50d8c0(0x3ee)](_0x32bf83=>{const _0xfe59a1=_0x50d8c0;if(_0x32bf83['params']==null)return;const _0x3c3b01=_0x32bf83[_0xfe59a1(0x593)];if(_0x32bf83['id']!==_0x3f8477['id']||_0x3c3b01[_0xfe59a1(0x292)]!==this[_0xfe59a1(0x54d)])return;const _0x515ff5={'id':_0xfe59a1(0x265),'params':_0x3c3b01},_0x4d73b2=this[_0xfe59a1(0x2bf)];for(const [_0x196774,_0x247ac2]of _0x4d73b2){const _0x412f9b={'id':_0xfe59a1(0x265),'params':{'unitId':this[_0xfe59a1(0x54d)],'actions':null,'textRanges':_0x247ac2[_0xfe59a1(0x4d2)]}},_0x17d9aa=this[_0xfe59a1(0x384)][_0xfe59a1(0x56c)](_0x515ff5,_0x412f9b,!0x1);if(_0x55b38f(_0x17d9aa))throw _0x17d9aa[_0xfe59a1(0x268)];_0x4d73b2[_0xfe59a1(0x333)](_0x196774,{..._0x247ac2,'ranges':_0x17d9aa['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4d73b2);});})));}[_0x55040e(0x537)](_0x33d0c6){const _0x26e18d=_0x55040e;var _0x59b8f6,_0x3dd1c8;const {memberID:_0x33d4fc,selection:_0x4b53bd}=_0x33d0c6[_0x26e18d(0x44b)],_0x231b4d=oo(_0x4b53bd),_0x305373=(_0x3dd1c8=(_0x59b8f6=this[_0x26e18d(0x356)]['getMember'](this[_0x26e18d(0x54d)],_0x33d4fc))==null?void 0x0:_0x59b8f6[_0x26e18d(0x363)])!=null?_0x3dd1c8:'Unknown\x20user',_0x81bef2={'color':this[_0x26e18d(0x591)][_0x26e18d(0x515)](_0x33d4fc),'name':_0x305373,'ranges':_0x231b4d},_0x5a15fa=this[_0x26e18d(0x2bf)];_0x5a15fa[_0x26e18d(0x333)](_0x33d4fc,_0x81bef2),this[_0x26e18d(0x2ed)]['next'](_0x5a15fa);}['_onCursorDelete'](_0x3cb03e){const _0x3b7f0=_0x55040e,{memberID:_0x2b87dc}=_0x3cb03e[_0x3b7f0(0x44b)],_0x4f48a4=this[_0x3b7f0(0x2bf)];_0x4f48a4[_0x3b7f0(0x4b5)](_0x2b87dc),this[_0x3b7f0(0x2ed)][_0x3b7f0(0x1ea)](_0x4f48a4);}[_0x55040e(0x2ae)](){const _0x4de748=_0x55040e;var _0x4cb6c8;if(this['_online']=!0x0,((_0x4cb6c8=this[_0x4de748(0x48a)][_0x4de748(0x371)]())==null?void 0x0:_0x4cb6c8['getUnitId']())!==this[_0x4de748(0x54d)])return;const _0x336e8d=this[_0x4de748(0x1c7)][_0x4de748(0x25c)](_0x1e62ad)[_0x4de748(0x312)]();Array[_0x4de748(0x3a4)](_0x336e8d)&&_0x336e8d['length']>0x0&&this[_0x4de748(0x5c1)](_0x336e8d);}['_toggleOffline'](){this['_online']=!0x1;}};ns=bo([Oe(0x2,_0xb59c13(_0x475d43)),Oe(0x3,_0xb59c13(bs)),Oe(0x4,_0xb59c13(Ne)),Oe(0x5,_0xb59c13(Cs)),Oe(0x6,_0x3c8669),Oe(0x7,_0x10abd5),Oe(0x8,_0x2983df)],ns);var yo=Object[_0x55040e(0x4df)],Oo=Object[_0x55040e(0x2ad)],wo=(_0x332fbc,_0x4d1a04,_0x3ee5ea,_0x16f145)=>{const _0x1c2253=_0x55040e;for(var _0x26a986=_0x16f145>0x1?void 0x0:_0x16f145?Oo(_0x4d1a04,_0x3ee5ea):_0x4d1a04,_0x408393=_0x332fbc[_0x1c2253(0x41f)]-0x1,_0x247aa3;_0x408393>=0x0;_0x408393--)(_0x247aa3=_0x332fbc[_0x408393])&&(_0x26a986=(_0x16f145?_0x247aa3(_0x4d1a04,_0x3ee5ea,_0x26a986):_0x247aa3(_0x26a986))||_0x26a986);return _0x16f145&&_0x26a986&&yo(_0x4d1a04,_0x3ee5ea,_0x26a986),_0x26a986;},Be=(_0x10f20a,_0x53258a)=>(_0x607562,_0x9ec959)=>_0x53258a(_0x607562,_0x9ec959,_0x10f20a);const Do=0x12c,Po=0x64,Uo=()=>{let _0x3c7512=[],_0x4fe7fd=!0x1;return _0x3348c2=>{const _0x69ffdd=_0x1c89;_0x3c7512[_0x69ffdd(0x5b6)](_0x3348c2),_0x4fe7fd||(_0x4fe7fd=!0x0,setTimeout(()=>{_0x3c7512['forEach'](_0xfc9291=>_0xfc9291()),_0x3c7512=[],_0x4fe7fd=!0x1;}));};};let rs=class extends _0x47772b{constructor(_0x5f396e,_0x20b3eb,_0x7aa0e9,_0x30f80f,_0x12a2f1,_0x38fd9a,_0x1e3bf8,_0x29a7bf){const _0x2063d0=_0x55040e;super(),g(this,_0x2063d0(0x431),!0x1),g(this,_0x2063d0(0x442),!0x1),g(this,_0x2063d0(0x2ed),new _0x7f65fd(new Map())),g(this,_0x2063d0(0x2b3),this[_0x2063d0(0x2ed)][_0x2063d0(0x34d)]()),g(this,_0x2063d0(0x327),new _0x7f65fd([])),g(this,_0x2063d0(0x267),this['_roomMembers$']['pipe'](_0x1a585e(Do))),g(this,_0x2063d0(0x5c1),_0xc081a9((_0x430f2d,_0x427ff7)=>{const _0x231e2e=_0x2063d0,_0x5900f1={'eventID':_0x4382cf[_0x231e2e(0x480)],'data':{'unitID':this[_0x231e2e(0x54d)],'memberID':this[_0x231e2e(0x1ce)][_0x231e2e(0x419)](),'selection':_0x10030c(_0x430f2d,_0x427ff7[_0x231e2e(0x583)])}};this[_0x231e2e(0x1ce)]['send'](_0x5900f1,this[_0x231e2e(0x54d)]);},Po)),(this[_0x2063d0(0x54d)]=_0x5f396e,this[_0x2063d0(0x1ce)]=_0x20b3eb,this['_injector']=_0x7aa0e9,this[_0x2063d0(0x591)]=_0x30f80f,this['_memberService']=_0x12a2f1,this['_univerInstanceService']=_0x38fd9a,this[_0x2063d0(0x1e8)]=_0x1e3bf8,this[_0x2063d0(0x2a9)]=_0x29a7bf);}get[_0x55040e(0x2bf)](){const _0x2bf992=_0x55040e;return this[_0x2bf992(0x2ed)][_0x2bf992(0x1e5)]();}get[_0x55040e(0x38b)](){const _0x35f1ba=_0x55040e;return this[_0x35f1ba(0x327)][_0x35f1ba(0x1e5)]();}['dispose'](){const _0x2b29d9=_0x55040e;super['dispose'](),this[_0x2b29d9(0x2ed)][_0x2b29d9(0x1ea)](new Map()),this[_0x2b29d9(0x2ed)]['complete'](),this[_0x2b29d9(0x327)][_0x2b29d9(0x1ea)]([]),this[_0x2b29d9(0x327)][_0x2b29d9(0x512)]();}['init'](){const _0x397162=_0x55040e;this['_init']||(this['_init']=!0x0,this[_0x397162(0x1ce)]['sessionStatus$']['pipe'](_0x589f39(this['dispose$']))[_0x397162(0x1e2)](_0xdacabd=>{const _0x59c187=_0x397162;_0xdacabd===ve['ONLINE']?this['_toggleOnline']():this[_0x59c187(0x2d5)]();}),this[_0x397162(0x1ce)][_0x397162(0x4e5)]['pipe'](_0x589f39(this[_0x397162(0x48c)]))[_0x397162(0x1e2)](_0x163d6a=>{const _0x2d3a74=_0x397162,_0x2afd24=_0x163d6a[_0x2d3a74(0x3ff)];_0x2afd24===_0x4382cf['UPDATE_CURSOR']&&this[_0x2d3a74(0x537)](_0x163d6a),_0x2afd24===_0x4382cf['USERS_LEAVE']&&this[_0x2d3a74(0x1dc)](_0x163d6a);}),this['_onRefRangeChange'](),this[_0x397162(0x33a)](this[_0x397162(0x1e8)][_0x397162(0x3ee)](_0x2399b6=>{const _0x483ef6=_0x397162;if(this[_0x483ef6(0x431)]&&_0x2399b6['id']===_0x2b5e50['id']&&_0x2399b6['params'][_0x483ef6(0x292)]===this['unitID']){const _0x2285a0=_0x2399b6[_0x483ef6(0x593)];this[_0x483ef6(0x5c1)](_0x2285a0[_0x483ef6(0x1c6)],_0x2285a0[_0x483ef6(0x2f0)][0x0]);}})));}[_0x55040e(0x537)](_0x5f5130){const _0x5307ab=_0x55040e;var _0x2a6790,_0x33d9bb;const {memberID:_0x300790,selection:_0x596423}=_0x5f5130[_0x5307ab(0x44b)],{sheetName:_0x3f3558,range:_0x3fd1c5}=_0x4682a4(_0x596423),_0x4675ed={'name':(_0x33d9bb=(_0x2a6790=this[_0x5307ab(0x356)][_0x5307ab(0x1fc)](this[_0x5307ab(0x54d)],_0x300790))==null?void 0x0:_0x2a6790[_0x5307ab(0x363)])!=null?_0x33d9bb:'Unknown\x20user','range':this[_0x5307ab(0x260)](_0x3f3558,_0x3fd1c5),'sheetID':_0x3f3558,'color':this[_0x5307ab(0x591)][_0x5307ab(0x515)](_0x300790),'selection':_0x596423},_0x4b5dfa=this[_0x5307ab(0x2bf)];_0x4b5dfa['set'](_0x300790,_0x4675ed),this['_cursorInfo$'][_0x5307ab(0x1ea)](_0x4b5dfa);}[_0x55040e(0x1dc)](_0x2fdc5a){const _0x2341a6=_0x55040e,{memberID:_0x4d42d5}=_0x2fdc5a[_0x2341a6(0x44b)],_0x3ae0b6=this[_0x2341a6(0x2bf)];_0x3ae0b6[_0x2341a6(0x4b5)](_0x4d42d5),this['_cursorInfo$'][_0x2341a6(0x1ea)](_0x3ae0b6);}[_0x55040e(0x260)](_0x31920c,_0x407ddf){const _0x2cefe8=_0x55040e;var _0x3776ff,_0x25397f;const _0x3ff294=(_0x25397f=(_0x3776ff=this['_univerInstanceService'][_0x2cefe8(0x490)](this['unitID']))==null?void 0x0:_0x3776ff[_0x2cefe8(0x314)](_0x31920c))==null?void 0x0:_0x25397f[_0x2cefe8(0x5cf)]();return(_0x3ff294==null?void 0x0:_0x3ff294['find'](_0x43369f=>_0x4cd56a[_0x2cefe8(0x53d)](_0x43369f,_0x407ddf)))||_0x407ddf;}[_0x55040e(0x47b)](){const _0x114464=_0x55040e,_0x51650c=new _0x5835a2(),_0x4f9936=Uo(),_0x192463=()=>{const _0x379fb2=_0x1c89;_0x51650c[_0x379fb2(0x449)]();const _0x2a4f95=(_0x4cc997,_0x1ea359,_0x178153,_0x16440d)=>{const _0x34f223=_0x379fb2;let _0x1e8299=[];switch(_0x4cc997['id']){case _0x1ed202['DeleteRangeMoveLeftCommandId']:{_0x1e8299=_0x577b13(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x53c)]:{_0x1e8299=_0x5ba6ba(_0x4cc997,_0x16440d);break;}case _0x1ed202['InsertColCommandId']:{_0x1e8299=_0x5e87db(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x57d)]:{_0x1e8299=_0x111aeb(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x415)]:{_0x1e8299=_0x3ab6ab(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x224)]:{_0x1e8299=_0x5e6ad4(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x21a)]:{_0x1e8299=_0xe9e4b9(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x56a)]:{_0x1e8299=_0x473fa6(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x28a)]:{_0x1e8299=_0x3c5577(_0x4cc997,_0x16440d);break;}}const _0x1adab4=_0x377e68(_0x1e8299,_0x16440d),_0x2e6ad0=this[_0x34f223(0x2bf)][_0x34f223(0x25c)](_0x1ea359);if(_0x2e6ad0&&_0x1adab4){const _0x314a40={..._0x2e6ad0,'range':_0x1adab4};this[_0x34f223(0x2bf)]['set'](_0x1ea359,_0x314a40),_0x4f9936(()=>{const _0x13f433=_0x34f223,_0x4c1a17=this['_refRangeService'][_0x13f433(0x238)](_0x1adab4,_0x54a257=>(_0x4c1a17['dispose'](),_0x2a4f95(_0x54a257,_0x1ea359,_0x178153,_0x1adab4)));_0x51650c[_0x13f433(0x47d)](_0x4c1a17);});}return{'redos':[],'undos':[]};};this[_0x379fb2(0x2bf)]['forEach']((_0x237372,_0x417881)=>{const _0x43a3fc=_0x379fb2,{range:_0x3f8fad,sheetID:_0x186c03}=_0x237372,_0x4c4158=this[_0x43a3fc(0x2a9)]['registerRefRange'](_0x3f8fad,_0x322c44=>(_0x4c4158[_0x43a3fc(0x449)](),_0x2a4f95(_0x322c44,_0x417881,_0x186c03,_0x3f8fad)));_0x51650c[_0x43a3fc(0x47d)](_0x4c4158);});};this['disposeWithMe'](_0xc23247(this[_0x114464(0x2ed)][_0x114464(0x1e2)](()=>{_0x192463();})));}[_0x55040e(0x2ae)](){const _0x28044a=_0x55040e;var _0x15a67d,_0x54b5da;if(this[_0x28044a(0x431)]=!0x0,((_0x15a67d=this['_univerInstanceService'][_0x28044a(0x371)]())==null?void 0x0:_0x15a67d[_0x28044a(0x4f5)]())!==this[_0x28044a(0x54d)])return;const _0x3af66a=(_0x54b5da=this[_0x28044a(0x1c7)][_0x28044a(0x25c)](_0x43394b)[_0x28044a(0x2f6)]())==null?void 0x0:_0x54b5da[0x0],_0x275247=this[_0x28044a(0x48a)][_0x28044a(0x524)](_0x24e86f[_0x28044a(0x2b1)])[_0x28044a(0x3e7)]();_0x3af66a&&_0x275247&&this['_updateLocalCursor'](_0x275247[_0x28044a(0x513)](),_0x3af66a);}['_toggleOffline'](){this['_online']=!0x1;}};rs=wo([Be(0x2,_0xb59c13(_0x475d43)),Be(0x3,_0xb59c13(bs)),Be(0x4,_0xb59c13(Ne)),Be(0x5,_0x10abd5),Be(0x6,_0x2983df),Be(0x7,_0xb59c13(_0xaeff9d))],rs);var No=Object[_0x55040e(0x4df)],Ao=Object[_0x55040e(0x2ad)],Mo=(_0x54a439,_0x59cb79,_0x3addcb,_0x3f116d)=>{const _0x175895=_0x55040e;for(var _0x1b1e6d=_0x3f116d>0x1?void 0x0:_0x3f116d?Ao(_0x59cb79,_0x3addcb):_0x59cb79,_0x36fa88=_0x54a439[_0x175895(0x41f)]-0x1,_0x2b6089;_0x36fa88>=0x0;_0x36fa88--)(_0x2b6089=_0x54a439[_0x36fa88])&&(_0x1b1e6d=(_0x3f116d?_0x2b6089(_0x59cb79,_0x3addcb,_0x1b1e6d):_0x2b6089(_0x1b1e6d))||_0x1b1e6d);return _0x3f116d&&_0x1b1e6d&&No(_0x59cb79,_0x3addcb,_0x1b1e6d),_0x1b1e6d;},$t=(_0x3282c8,_0xe59b96)=>(_0x2c2d13,_0x552230)=>_0xe59b96(_0x2c2d13,_0x552230,_0x3282c8);let Ve=class extends _0x47772b{constructor(_0x24e80a,_0x15135e,_0x283f76){const _0x4c1b31=_0x55040e;super(),g(this,_0x4c1b31(0x317),new Map()),g(this,_0x4c1b31(0x536),new _0x308ed9()),(this['_univerInstanceService']=_0x24e80a,this[_0x4c1b31(0x1c7)]=_0x15135e,this[_0x4c1b31(0x3cd)]=_0x283f76,this[_0x4c1b31(0x442)]());}[_0x55040e(0x449)](){const _0x264078=_0x55040e;super[_0x264078(0x449)](),this[_0x264078(0x536)][_0x264078(0x512)](),this[_0x264078(0x317)][_0x264078(0x582)](_0x215222=>_0x215222['dispose']());}[_0x55040e(0x4d1)](_0x964b44){const _0x4790ac=_0x55040e;return this[_0x4790ac(0x317)][_0x4790ac(0x269)](_0x964b44)?this[_0x4790ac(0x317)]['get'](_0x964b44)[_0x4790ac(0x2b3)]:this['_entityInit$'][_0x4790ac(0x55b)](_0x2d2fe3(_0x5d2bd6=>_0x5d2bd6[_0x4790ac(0x54d)]===_0x964b44),_0x15ee08(_0x283d58=>_0x283d58[_0x4790ac(0x2b3)]));}[_0x55040e(0x442)](){const _0x365aac=_0x55040e;this[_0x365aac(0x48a)][_0x365aac(0x3ba)](_0x24e86f[_0x365aac(0x2b1)])[_0x365aac(0x55b)](_0x589f39(this[_0x365aac(0x48c)]))['subscribe'](async _0x327965=>{const _0x15ca03=_0x365aac,_0x14578c=_0x327965[_0x15ca03(0x4f5)](),_0x55c9c6=await this[_0x15ca03(0x2aa)](_0x14578c);this[_0x15ca03(0x536)][_0x15ca03(0x1ea)](_0x55c9c6),this['_entities'][_0x15ca03(0x333)](_0x14578c,_0x55c9c6);}),this['_univerInstanceService'][_0x365aac(0x3ba)](_0x24e86f[_0x365aac(0x337)])['pipe'](_0x589f39(this[_0x365aac(0x48c)]))[_0x365aac(0x55b)](_0x2d2fe3(_0x43863f=>!_0x43863f[_0x365aac(0x4f5)]()[_0x365aac(0x5c2)]('__')))[_0x365aac(0x1e2)](async _0x5eeb52=>{const _0x5ca0fb=_0x365aac,_0xcfac04=_0x5eeb52['getUnitId'](),_0x1e8ecc=await this[_0x5ca0fb(0x1ca)](_0xcfac04);this[_0x5ca0fb(0x536)]['next'](_0x1e8ecc),this[_0x5ca0fb(0x317)][_0x5ca0fb(0x333)](_0xcfac04,_0x1e8ecc);}),_0x3dbb21(this[_0x365aac(0x48a)][_0x365aac(0x41b)](_0x24e86f[_0x365aac(0x337)]),this['_univerInstanceService'][_0x365aac(0x41b)](_0x24e86f['UNIVER_SHEET']))[_0x365aac(0x55b)](_0x589f39(this[_0x365aac(0x48c)]))[_0x365aac(0x1e2)](_0x5956b6=>{const _0x17b210=_0x365aac,_0x41a2e1=_0x5956b6['getUnitId'](),_0x2be3bb=this['_entities'][_0x17b210(0x25c)](_0x41a2e1);_0x2be3bb&&(_0x2be3bb[_0x17b210(0x449)](),this['_entities'][_0x17b210(0x4b5)](_0x41a2e1));});}async['_startSheetCollabCursor'](_0x1afedf){const _0x2d5629=_0x55040e,_0x1e40c6=await this[_0x2d5629(0x3cd)][_0x2d5629(0x21e)](_0x1afedf),_0x4d45c8=this[_0x2d5629(0x1c7)][_0x2d5629(0x21f)](rs,_0x1afedf,_0x1e40c6);return _0x4d45c8[_0x2d5629(0x5b2)](),_0x4d45c8;}async[_0x55040e(0x1ca)](_0xe0203f){const _0x122f89=_0x55040e,_0x425af0=await this[_0x122f89(0x3cd)]['requireSession'](_0xe0203f),_0x260928=this[_0x122f89(0x1c7)][_0x122f89(0x21f)](ns,_0xe0203f,_0x425af0);return _0x260928[_0x122f89(0x5b2)](),_0x260928;}};Ve=Mo([$t(0x0,_0x10abd5),$t(0x1,_0xb59c13(_0x475d43)),$t(0x2,_0xb59c13(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x457b74,_0x5b3fa9){const _0x5ccd59=_0x55040e;let {radius:_0xa9ef79,width:_0x539cef,height:_0x2b31f7}=_0x5b3fa9;_0xa9ef79=_0xa9ef79!=null?_0xa9ef79:0x0,_0x539cef=_0x539cef!=null?_0x539cef:0x1e,_0x2b31f7=_0x2b31f7!=null?_0x2b31f7:0x1e;let _0x37e9dd=0x0,_0x59a01b=0x0,_0x265cbf=0x0;_0x37e9dd=_0x59a01b=_0x265cbf=Math[_0x5ccd59(0x4a3)](_0xa9ef79,_0x539cef/0x2,_0x2b31f7/0x2),_0x457b74[_0x5ccd59(0x2d9)](),_0x457b74[_0x5ccd59(0x27b)](_0x37e9dd,0x0),_0x457b74[_0x5ccd59(0x40e)](_0x539cef-_0x59a01b,0x0),_0x457b74[_0x5ccd59(0x25e)](_0x539cef-_0x59a01b,_0x59a01b,_0x59a01b,Math['PI']*0x3/0x2,0x0,!0x1),_0x457b74[_0x5ccd59(0x40e)](_0x539cef,_0x2b31f7-_0x265cbf),_0x457b74['arc'](_0x539cef-_0x265cbf,_0x2b31f7-_0x265cbf,_0x265cbf,0x0,Math['PI']/0x2,!0x1),_0x457b74['lineTo'](0x0,_0x2b31f7),_0x457b74[_0x5ccd59(0x40e)](0x0,_0x37e9dd),_0x457b74[_0x5ccd59(0x25e)](_0x37e9dd,_0x37e9dd,_0x37e9dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x457b74['closePath'](),_0x5b3fa9[_0x5ccd59(0x4ab)]&&(_0x457b74[_0x5ccd59(0x4be)](),_0x457b74[_0x5ccd59(0x461)]=_0x5b3fa9['fill'],_0x5b3fa9[_0x5ccd59(0x4d0)]===_0x5ccd59(0x545)?_0x457b74['fill'](_0x5ccd59(0x545)):_0x457b74['fill'](),_0x457b74['restore']());}class Ot extends _0x53eadf{constructor(_0x504ca5,_0x11fe84){const _0x5eea83=_0x55040e;super(_0x504ca5,_0x11fe84),g(this,_0x5eea83(0x464)),g(this,_0x5eea83(0x395)),(this[_0x5eea83(0x464)]=_0x11fe84==null?void 0x0:_0x11fe84[_0x5eea83(0x464)],this[_0x5eea83(0x395)]=_0x11fe84==null?void 0x0:_0x11fe84[_0x5eea83(0x395)]);}static['drawWith'](_0x3d19f3,_0x2dd0c6){const _0x24d1ff=_0x55040e,{text:_0x25c73e,color:_0x2d7701}=_0x2dd0c6;_0x3d19f3[_0x24d1ff(0x4be)](),_0x3d19f3['font']=_0x24d1ff(0x455);const _0x29a9c7=_0x3d19f3[_0x24d1ff(0x220)](_0x25c73e)['width'],_0x358ee0=Math[_0x24d1ff(0x4a3)](_0x29a9c7+0x2*Ht,Ys);Lo(_0x3d19f3,{'height':nt,'radius':0x4,'width':_0x358ee0,'fill':_0x2d7701,'evented':!0x1}),_0x3d19f3['fillStyle']='#FFF';const _0x115187=Ht,_0x20c9b4=nt-xo,_0x103061=Ys-0x2*Ht;if(_0x29a9c7>_0x103061){let _0x10df89='',_0x5956af=0x0;for(const _0x55c15 of _0x25c73e){const _0x6e1778=_0x3d19f3[_0x24d1ff(0x220)](_0x55c15)[_0x24d1ff(0x416)];if(_0x5956af+_0x6e1778<=_0x103061-_0x3d19f3[_0x24d1ff(0x220)](_0x24d1ff(0x325))['width'])_0x10df89+=_0x55c15,_0x5956af+=_0x6e1778;else{_0x10df89+=_0x24d1ff(0x325);break;}}_0x3d19f3[_0x24d1ff(0x2de)](_0x10df89,_0x115187,_0x20c9b4);}else _0x3d19f3[_0x24d1ff(0x2de)](_0x25c73e,_0x115187,_0x20c9b4);_0x3d19f3[_0x24d1ff(0x251)]();}[_0x55040e(0x491)](_0x40163b){const _0x52f2a8=_0x55040e;Ot[_0x52f2a8(0x44a)](_0x40163b,this);}}const jt=_0x55040e(0x383),$o=_0x55040e(0x5a3),Ho=_0x55040e(0x1c1),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko='rgba(255,\x20255,\x20255,\x200.01)';class Ks{constructor(_0x1679de,_0x128da9,_0xddd5ee,_0x48495e){const _0x3029dc=_0x55040e;g(this,_0x3029dc(0x4de),[]),g(this,_0x3029dc(0x44f),null),g(this,_0x3029dc(0x39c),null),g(this,_0x3029dc(0x373),null),g(this,_0x3029dc(0x1d0),null),g(this,'_eventUnsubscribe',null),(this['_cursor']=_0x1679de,this[_0x3029dc(0x302)]=_0x128da9,this[_0x3029dc(0x59c)]=_0xddd5ee,this[_0x3029dc(0x1ff)]=_0x48495e,this['_render']());}set['_hover'](_0x4e1d00){const _0x5e301b=_0x55040e;_0x4e1d00?(this[_0x5e301b(0x373)]&&this[_0x5e301b(0x373)][_0x5e301b(0x489)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x5e301b(0x373)]&&this[_0x5e301b(0x373)][_0x5e301b(0x2d8)](),this[_0x5e301b(0x39c)]&&this[_0x5e301b(0x39c)][_0x5e301b(0x489)]());}[_0x55040e(0x449)](){const _0x428c91=_0x55040e;for(const _0x41290c of this['_shapes'])_0x41290c['dispose']();this[_0x428c91(0x39c)]&&this[_0x428c91(0x39c)][_0x428c91(0x449)](),this[_0x428c91(0x373)]&&this[_0x428c91(0x373)][_0x428c91(0x449)](),this['_anchor']&&this['_anchor'][_0x428c91(0x449)](),this['_eventUnsubscribe']&&this[_0x428c91(0x53a)]();}[_0x55040e(0x32c)](){const _0x3b154f=_0x55040e;var _0x269415;const {_docSkeleton:_0x4b66f5,_document:_0x3280b5}=this,{color:_0x2d245a,name:_0x8ba619,ranges:_0x1a1179}=this['_cursor'],_0x3533ea=_0x3280b5[_0x3b154f(0x4e9)](),{docsLeft:_0xcafccf,docsTop:_0xa6f2ce}=_0x3533ea,_0x2f832a=new _0x520d03(_0x3533ea,_0x4b66f5);for(const {startOffset:_0x304c71,endOffset:_0x74e9ee,rangeType:_0x6edc36,segmentId:_0x254955,segmentPage:_0x2ea7b2,collapsed:_0x3b92a3,isActive:_0x18c904}of _0x1a1179){const _0xb7c691=_0x4b66f5[_0x3b154f(0x30c)](_0x304c71,!0x0,_0x254955,_0x2ea7b2);let _0x805517=_0x4b66f5[_0x3b154f(0x30c)](_0x74e9ee,!0x0,_0x254955,_0x2ea7b2);if(_0x805517==null&&(_0x805517=_0x4b66f5[_0x3b154f(0x30c)](_0x74e9ee-0x1,!0x1,_0x254955,_0x2ea7b2)),_0x18c904){const {contentBoxPointGroup:_0x52c0d7}=_0x2f832a[_0x3b154f(0x5c7)](_0x805517,_0x805517);if(_0x52c0d7[_0x3b154f(0x41f)]===0x0)continue;this[_0x3b154f(0x47e)](_0x2d245a,_0x52c0d7,_0xcafccf,_0xa6f2ce,_0x8ba619),this[_0x3b154f(0x53a)]=this[_0x3b154f(0x39a)]();}if(!_0x3b92a3&&_0xb7c691&&_0x805517){if(_0x6edc36===_0x70259c[_0x3b154f(0x3a7)]){const _0x362a36=new _0x2085f4(_0x3533ea,_0x4b66f5),{pointGroup:_0x2bf9c9}=(_0x269415=_0x362a36['getRangePointData'](_0xb7c691,_0x805517))!=null?_0x269415:{};if(_0x2bf9c9==null||_0x2bf9c9[_0x3b154f(0x41f)]===0x0)continue;this[_0x3b154f(0x201)](_0x2d245a,_0x2bf9c9,_0xcafccf,_0xa6f2ce);}else{const {borderBoxPointGroup:_0x5a4b7b}=_0x2f832a[_0x3b154f(0x5c7)](_0xb7c691,_0x805517);if(_0x5a4b7b[_0x3b154f(0x41f)]===0x0)continue;this[_0x3b154f(0x24c)](_0x2d245a,_0x5a4b7b,_0xcafccf,_0xa6f2ce);}}}}['_drawAnchor'](_0x326c88,_0x362d28,_0x2cb7b2,_0x860964,_0x24a43f){const _0x1ebca2=_0x55040e,_0x2636ad=this[_0x1ebca2(0x4aa)](_0x362d28),{left:_0x5a0a5a,top:_0x21123d,height:_0x2b3854}=_0x2636ad,_0x1289cd=this['_getScale'](),_0x4878be=Bo/_0x1289cd,_0x2d407d=new _0x40a882(jt+_0xada371[_0x1ebca2(0x4bb)](Je),{'left':_0x5a0a5a+_0x2cb7b2-_0x4878be,'top':_0x21123d+_0x860964,'height':_0x2b3854,'width':jo,'fill':_0x326c88||_0x2e60e7(_0x450be7[_0x1ebca2(0x597)],0x0),'strokeWidth':_0x4878be,'stroke':ko,'evented':!0x0});this['_anchor']=_0x2d407d,this[_0x1ebca2(0x302)][_0x1ebca2(0x59e)](_0x2d407d,_0x54f7cc);const _0x1c2a50=new _0x40a882(jt+_0xada371[_0x1ebca2(0x4bb)](Je),{'left':_0x5a0a5a+_0x2cb7b2-_0x4878be,'top':_0x21123d+_0x860964-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x326c88||_0x2e60e7(_0x450be7['black'],0x0),'strokeWidth':0x0,'stroke':_0x326c88||_0x2e60e7(_0x450be7['black'],0x0),'evented':!0x1});this[_0x1ebca2(0x373)]=_0x1c2a50,this[_0x1ebca2(0x302)][_0x1ebca2(0x59e)](_0x1c2a50,_0x54f7cc);const _0x394b62=new Ot(jt+_0xada371['generateRandomId'](Je),{'left':_0x5a0a5a+_0x2cb7b2-_0x4878be,'top':_0x21123d+_0x860964-nt,'text':_0x24a43f,'color':_0x326c88});this[_0x1ebca2(0x39c)]=_0x394b62,this[_0x1ebca2(0x302)][_0x1ebca2(0x59e)](_0x394b62,_0x54f7cc),this[_0x1ebca2(0x423)]=!0x1;}['_handleHover'](){const _0xf204c0=_0x55040e,_0x24f317=this['_anchor'][_0xf204c0(0x520)][_0xf204c0(0x4b4)](()=>{this['_hover']=!0x0;}),_0x329a01=this[_0xf204c0(0x44f)][_0xf204c0(0x5c4)][_0xf204c0(0x4b4)](()=>{const _0x400125=_0xf204c0;this['_hideTimer']&&clearTimeout(this[_0x400125(0x1d0)]),this[_0x400125(0x1d0)]=setTimeout(()=>{const _0xe99e6d=_0x400125;this[_0xe99e6d(0x423)]=!0x1;},0x7d0);});return()=>{const _0x4ab7de=_0xf204c0;_0x24f317[_0x4ab7de(0x1e9)](),_0x329a01['unsubscribe']();};}[_0x55040e(0x24c)](_0x3c7242,_0x1b0fc9,_0x2082c6,_0x44d67a){const _0x18b38e=_0x55040e,_0xd9beba=new _0x47595b(_0x3c7242)['setAlpha'](0.2)['toRgbString'](),_0x3dccac=new _0x140698($o+_0xada371[_0x18b38e(0x4bb)](Je),{'pointsGroup':_0x1b0fc9,'fill':_0xd9beba||_0x2e60e7(_0x450be7[_0x18b38e(0x597)],0.2),'left':_0x2082c6,'top':_0x44d67a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x18b38e(0x5b6)](_0x3dccac),this['_scene'][_0x18b38e(0x59e)](_0x3dccac,_0x54f7cc);}[_0x55040e(0x201)](_0x57d053,_0x33e500,_0x564b58,_0x467331){const _0x267f33=_0x55040e,_0x2fc882=new _0x47595b(_0x57d053)[_0x267f33(0x378)](0.2)[_0x267f33(0x2a4)](),_0x47b11b=new _0x140698(Ho+_0xada371[_0x267f33(0x4bb)](Je),{'pointsGroup':_0x33e500,'fill':_0x2fc882||_0x2e60e7(_0x450be7['black'],0.2),'left':_0x564b58,'top':_0x467331,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x47b11b),this['_scene'][_0x267f33(0x59e)](_0x47b11b,_0x54f7cc);}['_getAnchorBounding'](_0x222d82){const _0x3e771d=_0x222d82[0x0],_0xc0321e=_0x3e771d[0x0],_0x3a47a9=_0x3e771d[0x2],{x:_0x5e960f,y:_0xc1ef3d}=_0xc0321e,{x:_0x19f11a,y:_0x198bfd}=_0x3a47a9;return{'left':_0x5e960f,'top':_0xc1ef3d,'width':_0x19f11a-_0x5e960f,'height':_0x198bfd-_0xc1ef3d};}[_0x55040e(0x1eb)](){const _0x5846cb=_0x55040e,{scaleX:_0x4a7850,scaleY:_0x327867}=this[_0x5846cb(0x302)]['getAncestorScale']();return Math['max'](_0x4a7850,_0x327867);}}var Wo=Object[_0x55040e(0x4df)],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0x58effd,_0x4295e1,_0x119198,_0x286e05)=>{const _0x4cee1f=_0x55040e;for(var _0x10dd5a=_0x286e05>0x1?void 0x0:_0x286e05?Fo(_0x4295e1,_0x119198):_0x4295e1,_0x2c603d=_0x58effd[_0x4cee1f(0x41f)]-0x1,_0x4d937f;_0x2c603d>=0x0;_0x2c603d--)(_0x4d937f=_0x58effd[_0x2c603d])&&(_0x10dd5a=(_0x286e05?_0x4d937f(_0x4295e1,_0x119198,_0x10dd5a):_0x4d937f(_0x10dd5a))||_0x10dd5a);return _0x286e05&&_0x10dd5a&&Wo(_0x4295e1,_0x119198,_0x10dd5a),_0x10dd5a;},ht=(_0x12ecf1,_0x3efe76)=>(_0x5b4b9b,_0x1eb791)=>_0x3efe76(_0x5b4b9b,_0x1eb791,_0x12ecf1);let os=class extends _0x47772b{constructor(_0x3e489a,_0x34173c,_0x4d3cb3,_0x348d52,_0x5b618c){const _0x9b257f=_0x55040e;super(),g(this,_0x9b257f(0x541),[]),g(this,'_cursors',[]),(this[_0x9b257f(0x584)]=_0x3e489a,this[_0x9b257f(0x57a)]=_0x34173c,this[_0x9b257f(0x283)]=_0x4d3cb3,this[_0x9b257f(0x1e8)]=_0x348d52,this[_0x9b257f(0x54a)]=_0x5b618c,this[_0x9b257f(0x442)]());}[_0x55040e(0x442)](){const _0x32ff14=_0x55040e,_0x357c44=this[_0x32ff14(0x584)][_0x32ff14(0x292)],_0x16ad3c=this[_0x32ff14(0x57a)];this[_0x32ff14(0x33a)](_0x12b0bc([this['_collabCursorController']['getCollabCursors$'](_0x357c44),this[_0x32ff14(0x54a)][_0x32ff14(0x56d)]])[_0x32ff14(0x55b)](_0x151dda(([_0x4db4ad,_0x297207])=>({'skeleton':_0x16ad3c[_0x32ff14(0x554)](),'cursors':[..._0x4db4ad[_0x32ff14(0x3f5)]()][_0x32ff14(0x4f3)](_0x298021=>({..._0x298021,'color':_0x297207[_0x298021[_0x32ff14(0x464)]]}))})))[_0x32ff14(0x1e2)](_0x43791b=>{const _0x2f8f26=_0x32ff14;if(this['_removeCollabCursors'](),_0x43791b){const {skeleton:_0x399300,cursors:_0x3c3a5f}=_0x43791b;this[_0x2f8f26(0x3c4)](_0x399300,_0x3c3a5f);}})),this['_initResize'](),this[_0x32ff14(0x4a5)]();}['_updateCollabCursors'](_0x39980a,_0x27a55a){const _0x301e56=_0x55040e,{scene:_0x3f6198,mainComponent:_0x4bc067}=this[_0x301e56(0x584)],_0x4af40a=_0x27a55a[_0x301e56(0x34a)](_0x2294bd=>new Ks(_0x2294bd,_0x3f6198,_0x39980a,_0x4bc067));this[_0x301e56(0x541)]=_0x4af40a,this[_0x301e56(0x211)]=_0x27a55a;}[_0x55040e(0x509)](){const _0xf3fdd3=_0x55040e;this['_removeCollabCursors']();const {scene:_0x1ff4be,mainComponent:_0x17d287}=this[_0xf3fdd3(0x584)],_0x4f2038=this[_0xf3fdd3(0x57a)][_0xf3fdd3(0x554)](),_0x77b42f=this[_0xf3fdd3(0x211)][_0xf3fdd3(0x34a)](_0x3a7891=>new Ks(_0x3a7891,_0x1ff4be,_0x4f2038,_0x17d287));this['_cursorShapes']=_0x77b42f;}[_0x55040e(0x255)](){const _0x38b5ed=_0x55040e;this['_cursorShapes']['forEach'](_0x32b5d8=>_0x32b5d8[_0x38b5ed(0x449)]()),this[_0x38b5ed(0x541)]=[];}[_0x55040e(0x4a5)](){const _0x310007=_0x55040e,_0xd07cfc=[_0x219679['id']];this[_0x310007(0x33a)](this[_0x310007(0x1e8)][_0x310007(0x3ee)](_0x31e117=>{const _0x407437=_0x310007;_0xd07cfc['includes'](_0x31e117['id'])&&_0x31e117['params'][_0x407437(0x292)]===this['_context']['unitId']&&this[_0x407437(0x509)]();}));}[_0x55040e(0x494)](){const _0x202d8b=_0x55040e;this['disposeWithMe'](_0x4e3f7c(this[_0x202d8b(0x584)][_0x202d8b(0x562)][_0x202d8b(0x32b)])[_0x202d8b(0x55b)](_0x1fa847(_0x4bf3e1=>_0x4bf3e1[_0x202d8b(0x24f)]===_0xf22eac[_0x202d8b(0x2f5)]),_0xcf2026(0x10))['subscribe'](()=>{const _0x5505ec=_0x202d8b;this[_0x5505ec(0x509)]();}));}};os=Vo([ht(0x1,_0xb59c13(_0x218b49)),ht(0x2,_0xb59c13(Ve)),ht(0x3,_0x2983df),ht(0x4,_0xb59c13(_0x5a8ea1))],os);const Go=0x1,Yo=1.5;class Ko extends _0x53eadf{constructor(_0x3639ad,_0x105ec3){const _0x504d3a=_0x55040e;super(_0x3639ad,_0x105ec3),g(this,'_color'),g(this,_0x504d3a(0x2b8),!0x1),g(this,_0x504d3a(0x3f3)),g(this,'_name',''),g(this,'_labelPosition',_0x504d3a(0x585)),g(this,_0x504d3a(0x438)),(_0x105ec3&&this[_0x504d3a(0x29a)](_0x105ec3),this[_0x504d3a(0x520)][_0x504d3a(0x4b4)](()=>this[_0x504d3a(0x29a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x504d3a(0x4b4)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x55040e(0x29a)](_0x5e3f53){const _0x52254f=_0x55040e;var _0xe072a9,_0x3a3fb8,_0x243457,_0x5b8647,_0x1f9e06,_0x199f96;this[_0x52254f(0x375)]=(_0xe072a9=_0x5e3f53[_0x52254f(0x464)])!=null?_0xe072a9:this[_0x52254f(0x375)],this[_0x52254f(0x2b8)]=(_0x3a3fb8=_0x5e3f53['hovered'])!=null?_0x3a3fb8:this['_hovered'],this[_0x52254f(0x3f3)]=(_0x243457=_0x5e3f53['range'])!=null?_0x243457:this[_0x52254f(0x3f3)],this[_0x52254f(0x54e)]=(_0x5b8647=_0x5e3f53[_0x52254f(0x363)])!=null?_0x5b8647:this['_name'],this[_0x52254f(0x3a5)]=(_0x1f9e06=_0x5e3f53[_0x52254f(0x430)])!=null?_0x1f9e06:this[_0x52254f(0x3a5)],this['_backgroundColor']=(_0x199f96=_0x5e3f53[_0x52254f(0x429)])!=null?_0x199f96:this['_backgroundColor'],this[_0x52254f(0x2e3)]({'width':_0x5e3f53['width'],'height':_0x5e3f53[_0x52254f(0x573)]});}[_0x55040e(0x2ab)](_0x23cb37){const _0x41353d=_0x55040e,{row:_0x22427c,column:_0x866820}=_0x23cb37;if(_0x22427c>=this['_range']['startRow']&&_0x22427c<=this[_0x41353d(0x3f3)][_0x41353d(0x500)]&&_0x866820>=this[_0x41353d(0x3f3)][_0x41353d(0x351)]&&_0x866820<=this[_0x41353d(0x3f3)][_0x41353d(0x538)]){this[_0x41353d(0x29a)]({'hovered':!0x0});return;}this[_0x41353d(0x29a)]({'hovered':!0x1});}[_0x55040e(0x30f)](_0x1f676f){return!0x1;}[_0x55040e(0x491)](_0x398e46){const _0x4020a3=_0x55040e;_0x40a882['drawWith'](_0x398e46,{'width':this['width'],'height':this[_0x4020a3(0x573)],'strokeWidth':Yo,'stroke':this[_0x4020a3(0x375)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x398e46[_0x4020a3(0x4be)](),_0x398e46[_0x4020a3(0x343)](0x1,0x0,0x0,0x1,this[_0x4020a3(0x416)],this[_0x4020a3(0x3a5)]==='bottom'?0x0:-nt),Ot['drawWith'](_0x398e46,{'text':this[_0x4020a3(0x54e)],'color':this[_0x4020a3(0x375)]}),_0x398e46[_0x4020a3(0x251)]());}}var zo=Object[_0x55040e(0x4df)],qo=Object[_0x55040e(0x2ad)],Xo=(_0x18da72,_0x4d1445,_0x68a6cb,_0x36e148)=>{const _0x2a6cc2=_0x55040e;for(var _0x5a1d3b=_0x36e148>0x1?void 0x0:_0x36e148?qo(_0x4d1445,_0x68a6cb):_0x4d1445,_0x50201c=_0x18da72[_0x2a6cc2(0x41f)]-0x1,_0x6cdf9c;_0x50201c>=0x0;_0x50201c--)(_0x6cdf9c=_0x18da72[_0x50201c])&&(_0x5a1d3b=(_0x36e148?_0x6cdf9c(_0x4d1445,_0x68a6cb,_0x5a1d3b):_0x6cdf9c(_0x5a1d3b))||_0x5a1d3b);return _0x36e148&&_0x5a1d3b&&zo(_0x4d1445,_0x68a6cb,_0x5a1d3b),_0x5a1d3b;},kt=(_0x340d66,_0xb6f6a3)=>(_0x11babc,_0x42ab4f)=>_0xb6f6a3(_0x11babc,_0x42ab4f,_0x340d66);const Jo=0x1389;let as=class extends _0x47772b{constructor(_0x353e10,_0x8168d3,_0x3df43f,_0x33d2c2){const _0x5bc869=_0x55040e;super(),g(this,_0x5bc869(0x211),new Set()),g(this,'_lastPointer',null),(this[_0x5bc869(0x584)]=_0x353e10,this[_0x5bc869(0x38e)]=_0x8168d3,this['_collabCursorController']=_0x3df43f,this[_0x5bc869(0x54a)]=_0x33d2c2,this['_init']());}[_0x55040e(0x442)](){const _0x2d1c48=_0x55040e;this['_sheetSkeletonManagerService'][_0x2d1c48(0x355)][_0x2d1c48(0x55b)](_0x384b4a(this[_0x2d1c48(0x48c)]),_0x1e32ba(_0x34691f=>{const _0x2c6825=_0x2d1c48;if(_0x34691f){const _0x2b11b7=_0x34691f[_0x2c6825(0x370)];return _0x12b0bc(this[_0x2c6825(0x283)][_0x2c6825(0x4d1)](this[_0x2c6825(0x584)][_0x2c6825(0x292)]),this[_0x2c6825(0x54a)][_0x2c6825(0x56d)])[_0x2c6825(0x55b)](_0x151dda(([_0x4f403e,_0x189ac6])=>{const _0x3c0340=_0x2c6825,_0x28b0ce=new Map();return _0x4f403e[_0x3c0340(0x582)]((_0x4f80ad,_0x46687b)=>{const _0x1cd8a6=_0x3c0340;if(_0x4f80ad[_0x1cd8a6(0x1fb)]===_0x2b11b7){const _0x10c2c6={..._0x4f80ad};_0x10c2c6['color']=_0x189ac6[_0x4f80ad[_0x1cd8a6(0x464)]],_0x28b0ce[_0x1cd8a6(0x333)](_0x46687b,_0x10c2c6);}}),{'skeleton':_0x34691f,'cursors':_0x28b0ce};}));}return _0x1c2089({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2050b4,cursors:_0x550055})=>{const _0x3aa84c=_0x2d1c48;this[_0x3aa84c(0x255)](),_0x2050b4&&this[_0x3aa84c(0x3c4)](_0x2050b4,_0x550055);}),this[_0x2d1c48(0x38e)]['currentSkeleton$'][_0x2d1c48(0x1e2)](_0x2ef3b1=>{const _0x32ef8b=_0x2d1c48;if(_0x2ef3b1==null)return;const {skeleton:_0x43b638}=_0x2ef3b1,{scene:_0x3ed029}=this['_context'];_0x3ed029[_0x32ef8b(0x4b7)][_0x32ef8b(0x4b4)](_0xc081a9(_0x3fe108=>{const _0x40cf05=_0x32ef8b;var _0x49a3bc,_0x1fe838;const {offsetX:_0x53c769,offsetY:_0x2df6cb}=_0x3fe108,{x:_0x3f318c,y:_0x55f00f}=_0x3ed029[_0x40cf05(0x2cd)](_0x3805a7[_0x40cf05(0x49b)]([_0x53c769,_0x2df6cb])),{scaleX:_0x2ba756,scaleY:_0x2ef775}=_0x3ed029[_0x40cf05(0x588)](),_0x4a1705=_0x3ed029[_0x40cf05(0x47f)](_0x2a8fb7[_0x40cf05(0x447)]),_0x370e53=_0x3ed029[_0x40cf05(0x40a)](_0x3805a7[_0x40cf05(0x49b)]([_0x3f318c,_0x55f00f]),_0x4a1705),_0x2dc3ea=_0x43b638[_0x40cf05(0x3b9)](_0x53c769,_0x2df6cb,_0x2ba756,_0x2ef775,_0x370e53);((_0x49a3bc=this[_0x40cf05(0x1d9)])==null?void 0x0:_0x49a3bc[_0x40cf05(0x3bf)])===_0x2dc3ea[_0x40cf05(0x3bf)]&&((_0x1fe838=this[_0x40cf05(0x1d9)])==null?void 0x0:_0x1fe838['row'])===_0x2dc3ea['row']||this[_0x40cf05(0x211)][_0x40cf05(0x582)](_0x136e55=>{_0x136e55['onMouseMove'](_0x2dc3ea);});},0x64));});}[_0x55040e(0x3c4)](_0x4cacb9,_0x550f70){const _0x53d88a=_0x55040e;var _0x29cb62;const _0xafbde2=(_0x29cb62=this[_0x53d88a(0x38e)][_0x53d88a(0x559)]())==null?void 0x0:_0x29cb62['skeleton'];if(!_0xafbde2)return;const _0x5b52e6=this[_0x53d88a(0x57c)]();if(!_0x5b52e6)return;this[_0x53d88a(0x211)][_0x53d88a(0x582)](_0x67d242=>{const _0x397fe1=_0x53d88a;_0x67d242[_0x397fe1(0x361)]();});const {scene:_0x4bc75b}=_0x5b52e6,_0x141dbd=Zo(Array['from'](_0x550f70[_0x53d88a(0x3f5)]()))['map'](_0x5587d8=>{const _0x4289a4=_0x53d88a,{color:_0x368038,range:_0x21ecc0,name:_0x33cd3b,selection:_0x5adaa8,sheetID:_0x3fbc36}=_0x5587d8,{startColumn:_0x5c345a,startRow:_0x418fcc,endColumn:_0x3b6a77,endRow:_0x367ab3}=_0x21ecc0,_0x13ee4f=_0x169a18(_0x418fcc,_0x5c345a,_0x4bc75b,_0xafbde2),_0x5d1e79=_0x169a18(_0x367ab3,_0x3b6a77,_0x4bc75b,_0xafbde2),{columnHeaderHeightAndMarginTop:_0x9e35d2}=_0xafbde2,{startX:_0x71eb7c,startY:_0x341ac7}=_0x13ee4f,{endX:_0x11c11f,endY:_0x258f96}=_0x5d1e79,_0x52a11f=_0x11c11f-_0x71eb7c,_0x19b6af=_0x258f96-_0x341ac7,_0x18a063={'labelPosition':_0x341ac7-_0x9e35d2>=nt?_0x4289a4(0x585):_0x4289a4(0x525),'sheetID':_0x3fbc36,'range':_0x21ecc0,'color':_0x368038,'name':_0x33cd3b,'selection':_0x5adaa8,'left':_0x71eb7c,'top':_0x341ac7,'width':_0x52a11f,'height':_0x19b6af,'evented':!0x1,'zIndex':Jo};return new Ko(_0x33cd3b,_0x18a063);});_0x4bc75b[_0x53d88a(0x435)](_0x141dbd,Go),this['_cursors']=new Set(_0x141dbd);}[_0x55040e(0x255)](){const _0x48db28=_0x55040e;var _0xcc722a;(_0xcc722a=this[_0x48db28(0x211)])==null||_0xcc722a['forEach'](_0xdd2bbb=>_0xdd2bbb[_0x48db28(0x449)]());}['_getSheetObject'](){const _0x3db7d7=_0x55040e;return _0x78dd1(this['_context']['unit'],this[_0x3db7d7(0x584)]);}};as=Xo([kt(0x1,_0xb59c13(_0x59f476)),kt(0x2,_0xb59c13(Ve)),kt(0x3,_0xb59c13(_0x5a8ea1))],as);function Zo(_0x1efa18){const _0x33ce6c=new Map();return _0x1efa18['forEach'](_0x735758=>{const _0x182eb5=_0x1c89;if(_0x33ce6c[_0x182eb5(0x269)](_0x735758[_0x182eb5(0x276)])){const _0x3e6e50=_0x33ce6c[_0x182eb5(0x25c)](_0x735758[_0x182eb5(0x276)]);_0x3e6e50[_0x182eb5(0x363)]+=',\x20'+_0x735758[_0x182eb5(0x363)];}else _0x33ce6c[_0x182eb5(0x333)](_0x735758['selection'],_0x735758);}),Array['from'](_0x33ce6c['values']());}var ee=function(){const _0xa850a9=_0x55040e;return ee=Object['assign']||function(_0x244cae){const _0x4e3abe=_0x1c89;for(var _0x219dd1,_0x1ea238=0x1,_0x971750=arguments[_0x4e3abe(0x41f)];_0x1ea238<_0x971750;_0x1ea238++){_0x219dd1=arguments[_0x1ea238];for(var _0x474375 in _0x219dd1)Object['prototype']['hasOwnProperty'][_0x4e3abe(0x477)](_0x219dd1,_0x474375)&&(_0x244cae[_0x474375]=_0x219dd1[_0x474375]);}return _0x244cae;},ee[_0xa850a9(0x5bc)](this,arguments);},Qo=function(_0x56d754,_0x253262){const _0x4afe22=_0x55040e;var _0x379471={};for(var _0x1f3f32 in _0x56d754)Object[_0x4afe22(0x4ea)][_0x4afe22(0x2be)]['call'](_0x56d754,_0x1f3f32)&&_0x253262[_0x4afe22(0x289)](_0x1f3f32)<0x0&&(_0x379471[_0x1f3f32]=_0x56d754[_0x1f3f32]);if(_0x56d754!=null&&typeof Object[_0x4afe22(0x2c0)]==_0x4afe22(0x519)){for(var _0xe4acef=0x0,_0x1f3f32=Object['getOwnPropertySymbols'](_0x56d754);_0xe4acef<_0x1f3f32[_0x4afe22(0x41f)];_0xe4acef++)_0x253262[_0x4afe22(0x289)](_0x1f3f32[_0xe4acef])<0x0&&Object[_0x4afe22(0x4ea)][_0x4afe22(0x2a1)][_0x4afe22(0x477)](_0x56d754,_0x1f3f32[_0xe4acef])&&(_0x379471[_0x1f3f32[_0xe4acef]]=_0x56d754[_0x1f3f32[_0xe4acef]]);}return _0x379471;},Ts=_0x3480a1(function(_0x38a7a2,_0x243c3d){const _0x4b8a14=_0x55040e;var _0x7587e2=_0x38a7a2['icon'],_0x401eeb=_0x38a7a2['id'],_0x18d779=_0x38a7a2[_0x4b8a14(0x29c)],_0x4565fe=_0x38a7a2['extend'],_0x3dae2c=Qo(_0x38a7a2,['icon','id',_0x4b8a14(0x29c),_0x4b8a14(0x592)]),_0x6266cf=_0x4b8a14(0x33c)[_0x4b8a14(0x4bd)](_0x401eeb,'\x20')[_0x4b8a14(0x4bd)](_0x18d779||'')['trim'](),_0x361769=_0xb46f77('_'[_0x4b8a14(0x4bd)](sa()));return Mi(_0x7587e2,''[_0x4b8a14(0x4bd)](_0x401eeb),{'defIds':_0x7587e2[_0x4b8a14(0x22a)],'idSuffix':_0x361769['current']},ee({'ref':_0x243c3d,'className':_0x6266cf},_0x3dae2c),_0x4565fe);});function Mi(_0x44a000,_0x53ace1,_0x5d4d2f,_0x4ab713,_0x2123fc){const _0x1b91f9=_0x55040e;return _0x3fd77b(_0x44a000[_0x1b91f9(0x1d7)],ee(ee({'key':_0x53ace1},ea(_0x44a000,_0x5d4d2f,_0x2123fc)),_0x4ab713),(ta(_0x44a000,_0x5d4d2f)[_0x1b91f9(0x4f7)]||[])[_0x1b91f9(0x34a)](function(_0x45da5c,_0x4377bd){const _0x3a28b9=_0x1b91f9;return Mi(_0x45da5c,''[_0x3a28b9(0x4bd)](_0x53ace1,'-')[_0x3a28b9(0x4bd)](_0x44a000[_0x3a28b9(0x1d7)],'-')[_0x3a28b9(0x4bd)](_0x4377bd),_0x5d4d2f,void 0x0,_0x2123fc);}));}function ea(_0x484167,_0x137437,_0x2ebb3e){const _0x30c1c5=_0x55040e;var _0x435876=ee({},_0x484167[_0x30c1c5(0x4ec)]);_0x2ebb3e!=null&&_0x2ebb3e[_0x30c1c5(0x4dd)]&&_0x435876[_0x30c1c5(0x4ab)]==='colorChannel1'&&(_0x435876['fill']=_0x2ebb3e[_0x30c1c5(0x4dd)]);var _0x48c7e7=_0x137437[_0x30c1c5(0x22a)];return!_0x48c7e7||_0x48c7e7[_0x30c1c5(0x41f)]===0x0||(_0x484167['tag']===_0x30c1c5(0x507)&&_0x435876[_0x30c1c5(0x441)]&&(_0x435876[_0x30c1c5(0x441)]=_0x435876[_0x30c1c5(0x441)]+_0x137437[_0x30c1c5(0x297)]),Object[_0x30c1c5(0x30b)](_0x435876)[_0x30c1c5(0x582)](function(_0x516330){const _0x10f1e5=_0x30c1c5;var _0x29a084=_0x516330[0x0],_0x206b72=_0x516330[0x1];typeof _0x206b72=='string'&&(_0x435876[_0x29a084]=_0x206b72[_0x10f1e5(0x403)](/url\(#(.*)\)/,_0x10f1e5(0x20f)[_0x10f1e5(0x4bd)](_0x137437[_0x10f1e5(0x297)],')')));})),_0x435876;}function ta(_0x3a8b69,_0x32c004){const _0x53436a=_0x55040e;var _0x48eb3a,_0x183dde=_0x32c004['defIds'];return!_0x183dde||_0x183dde['length']===0x0?_0x3a8b69:_0x3a8b69['tag']===_0x53436a(0x28d)&&(!((_0x48eb3a=_0x3a8b69[_0x53436a(0x4f7)])===null||_0x48eb3a===void 0x0)&&_0x48eb3a[_0x53436a(0x41f)])?ee(ee({},_0x3a8b69),{'children':_0x3a8b69[_0x53436a(0x4f7)]['map'](function(_0x10b11c){const _0x1ae359=_0x53436a;return typeof _0x10b11c['attrs']['id']==_0x1ae359(0x54c)&&_0x183dde&&_0x183dde[_0x1ae359(0x289)](_0x10b11c['attrs']['id'])>-0x1?ee(ee({},_0x10b11c),{'attrs':ee(ee({},_0x10b11c['attrs']),{'id':_0x10b11c['attrs']['id']+_0x32c004['idSuffix']})}):_0x10b11c;})}):_0x3a8b69;}function sa(){const _0x25806b=_0x55040e;return Math[_0x25806b(0x4e7)]()[_0x25806b(0x522)](0x24)[_0x25806b(0x2a5)](0x2,0x8);}Ts[_0x55040e(0x506)]='UniverIcon';var ia={'tag':_0x55040e(0x382),'attrs':{'fill':_0x55040e(0x34f),'viewBox':_0x55040e(0x348),'width':_0x55040e(0x38d),'height':_0x55040e(0x38d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x55040e(0x5b7),'attrs':{'stroke':'currentColor','d':_0x55040e(0x3d9),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x55040e(0x28d),'attrs':{},'children':[{'tag':_0x55040e(0x2d2),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x55040e(0x5b7),'attrs':{'fill':'#fff','d':_0x55040e(0x43a)}}]}]}],'defIds':[_0x55040e(0x4fb)]},xi=_0x3480a1(function(_0x118859,_0x1482be){const _0x58b10a=_0x55040e;return _0x3fd77b(Ts,Object['assign']({},_0x118859,{'id':_0x58b10a(0x41d),'ref':_0x1482be,'icon':ia}));});xi[_0x55040e(0x506)]=_0x55040e(0x411);function _0x59b0(){const _0x57c83b=['hasher','onPointerMove$','saveChangeset','_awaitingChangeset','href','generateRandomId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','concat','save','CONNECTOR_DATA_TOO_LARGE','HEARTBEAT','hostname','c1Prime','padding','_docTransformSelectionsService','leaveEvent','infoRsp','onTransformIME','processBlock','univer-pro.collaboration-client-socket-service','_changesetReqId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','on-line-single','_initStatusComponent','then','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','fillRule','getCollabCursors$','ranges','OFFLINE','/universer-api/comb','pending','clearInterval','_sessions','_pendingMutations','open$','98793wUrbRb','encrypt','NEW_CHANGESETS','colorChannel1','_shapes','defineProperty','_onRemoteACK','onRemoteChangeset','_mode','headers','executeCommand','event$','_id','random','members','getOffsetConfig','prototype','_roomMembers','attrs','reqId','_initMergeInterceptor','_initCloseConn','_handleEvent','_onOffline','replaceState','flatMap','sid','getUnitId','loadSheet','children','TEXT','isPermissionRej','_initDependencies','off-line-single_clip0_910_343','setItem','result','RECV','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','endRow','debug','withCredentials','disableLocalCache','searchParams','blue400','displayName','use','loginUrlKey','_refreshCollabCursors','byteLength','getAllMembers','_handleHeartbeatEvent','offline','listCollaborators','_handler','onRemoteRetry','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','complete','getSheetId','_applyRemoteChangeset','assignAColorForMemberID','_transformStack','every','YUUMI_RATE_OVER_LIMIT','function','_loadSheet','SHA1','SNAPSHOT_HAS_BEEN_REMOVED','\x20to\x20','gold400','_initRequestHeader','onPointerEnter$','sessionStatus','toString','1990OWHpOf','getCurrentUnitForType','bottom','APPLY_PERMISSION_DENIED','enableLocalCache','_localCacheService','_transformHistoryAndStateStack','_sheetTransformSelectionsService','origin','_transformSelections','MSG_FOR_ERROR','_collaborationSessionService','objectType','/rev/','_throwTelemetryCollaborationNewChangeset','transformStateCache','HmacMD5','_localStorageService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_entityInit$','_onCursorUpdate','endColumn','_ensureSubject','_eventUnsubscribe','lib','DeleteRangeMoveUpCommandId','contains','_socketReady','_checkMissing','loadDoc','_cursorShapes','_createHelper','_doReset','history','evenodd','onCommentUpdate','collabSubmitChangesetUrl','setParam','registerRenderModule','_themeService','visibilityState','string','unitID','_name','_clearCollaborationTimeoutTimer','onTransformRemoteChangesetByStateCache','actions','image/gif','_resendTimeout','getSkeleton','clearTimeout','randomBytes','permissionRejEvent','transformIMECache','getCurrent','setInterval','pipe','_renderManagerService','telemetry\x20info\x20is\x20not\x20initialized','FileId','399000Yerbak','HmacSHA1','message$','engine','getDeserializedSheetBlock','toggleOffline','blockSize','close$','registerBeforeClose','UNIVER_SLIDE','UNAUTHENTICATED','RemoveColCommandId','exports','transformMutation','currentTheme$','appendMutation','onRemoteRej','close','_retryConnectingTimer','memberID','height','csAckEvent','_handleLeaveEvent','originalMeta','_nRounds','_fetchMissChangesets','_exhaustRemoteChangesetQueue','_docSkeletonManagerService','collab-client.tooltip.reconnect','_getSheetObject','InsertRangeMoveDownCommandId','decryptBlock','awaiting_with_pending','m2Prime','INVALID_ARGUMENT','forEach','range','_context','top','_transitionLocked','compute','getAncestorScale','UnitEmbedded','PENDING','BufferedBlockAlgorithm','putCollaborators','joinRsp','liveShareOperation','JOIN','Hex','_colorAssignService','extend','params','NOT_COLLAB','socket\x20open.','_sendHeartbeatTimer','black','_hasher','_updateLocalCache','undoState','textRanges','_docSkeleton','session','addObject','_http','SUBMIT_CHANGESET','Univer','_hash','collab-text-range-','_acknowledgedAwaitingChangeset','collaboration_new_changeset','_incrementRevisionNumber','_permissionService','objectID','_transformPreviousActiveRange','submit\x20changeset\x20error!','[PendingState]:\x20received\x20acknowledgement.','getActiveRange','fromCharCode','LICENSE_EXPORT_SIZE_EXCEEDED','_unitOnClients','joinEvent','univer-pro.collaboration-client.single-active-unit-service','init','_compressMutationService','toLowerCase','_initEventListeners','push','path','msCrypto','MUTATION','_joinRoom','_replayCachedMutations','apply','cmd','unit','activeSheet$','_cachedData','_updateLocalCursor','startsWith','getConfig','onPointerLeave$','#fff','SYNCED','getRangePointData','\x0aAfter:\x20','_revisionService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_handleJoinEvent','_scheduleHeartbeat','_redoStacks','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getMergeData','UNIVER_COLLABORATION_CLIENT_PLUGIN','_docTransformStateCacheService','BlockCipher','_listenToOnlineEvent','INGEST','_decreaseWaiting','collab-rect-range-','SUCCUSS','APPLY_REVISION_CONFILICT','_state$','_initUnitPermissionChange','subUnitId','_injector','encodeURIComponent','LIVESHARE_OPERATION','_startDocCollabCursor','onTransformSelections','onlyLocal','_transformRemoteChangesetByStateCache','_session','_heartbeatTimer','_hideTimer','exhaustSavingTask','getCollabEntity$','uploadFileServerUrl','onReady','shouldCloseConn','error$','tag','synced','_lastPointer','_transformRemoteChangesetByIMECache','setStateCache','_onCursorDelete','_HTTPService','setShowComponents','createCollaborator','Utf8','_getAPIPrefixPath','subscribe','_docTransformIMECacheService','20NcOYKj','getValue','ONLINE','editingUnit','_commandService','unsubscribe','next','_getScale','salt','hidden','YUUMI_URL_COL_OUT_OF_RANGE','_doFinalize','_updateState','LIVESHARE_FETCH_OPERATIONS','redoState','_scheduleSaving','Error\x20on\x20receiving\x20event','\x20-\x20','responseType','size','words','setConfig','/resources','sheetID','getMember','_doCryptBlock','listRoles','_document','AES','_drawRectRange','_timeoutTimer','CBC','sigBytes','PERMISSION_DENIED','execute','TOO_MANY_REQUESTS','UPDATE_PERMISSION_OBJ','_status$','finalize','ENSURE_SNAPSHOT_EXECUTION','patch','Base','_urlService','url(#$1','url','_cursors','socketService','catch','fetching\x20missing\x20changesets\x20from\x20','crypto','[DataLoaderController]','popstate','_remoteChangesetQueue','_socketMessageSubscription','MoveRangeCommandId','/allowed','status$','CHANGESET_REVISION_CONFILICT','requireSession','createInstance','measureText','_data','onTransformState','ceil','InsertRowCommandId','getCurrentRevOfUnit','createSocket','clone','_clearHeartbeatTimer','_getDownloadEndpointURL','defIds','_saveTaskMap','getUnitStatus$','_registerRenderDependencies','_startTelemetryCollaborationNewChangeset','\x20in\x20_schedule.','372JziQtW','reset','USERS_ENTER','unknown','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','conflict.content','fetchMissingChangesets','UNRECOGNIZED','registerRefRange','onStateChange','IDLE','csRejEvent','_append','subunit','pushState','setWaitCount','APPLY_REJECT','APPLY_NON_SEQUENTIAL_REVISION','getUnitOnRev','bind','_telemetryService','_setupBeforeClosingHandler','_clearRedo','CHANGESET_SHOULD_RETRY','_xformMode','_docSyncEditingCollabCursorService','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','roomInfos','_drawTextRange','removeParam','sin','type','LEAVE','restore','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','updatePermissionPoint','YUUMI_UNABLE_LOAD_URL','_removeCollabCursors','HMAC','kdf','LICENSE_MAX_UNITS_EXCEEDED','AWAITING','_sendHeartbeat','_syncEditingCollabCursorService','get','EXCHANGE_SIGN_URL_SERVER_URL_KEY','arc','transformUndoRedo','_getMergeRange','_state','round','charCodeAt','_socket$','doc.mutation.rich-text-editing','COLLAB_SUBMIT_CHANGESET_URL','roomMembers$','error','has','COMPRESS_MUTATION_SEND','SerializableCipher','UNKNOWN_CODE','loadOfflineData','encode','onRemoteAck','_substituteUndoStack','mutations','_httpService','algo','_reverseMap','filter','selection','clear','USERS_LEAVE','[CollaborationSession]','_startCollaboration','moveTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_submitChangeset','/block/','_getSnapshotAPIPrefix','userID','PSEUDO_FETCH_MISSING_RESULT','Warning','_collabCursorController','_prevBlock','/universer-api/oidc/authpage','_onRemoteChangeset','4908560ZvTRcl','_undoStacks','indexOf','RemoveRowCommandId','_key','/collaborator','defs','rev','socket$','collaMsg','setUndoRedoMutationParamsCache','unitId','onload','collaboration-client.config','WordArray','collabCursorState$','idSuffix','_snapshotService','onlineStatusIcon','setShapeProps','_assignedColors','className','PERMISSION_REJ','_listenToOfflineEvent','_notificationService','_sessionStatus$','propertyIsEnumerable','_change$','fromCollab','toRgbString','substring','Hasher','_updateURLWithCurrentState','_substituteRedoStack','_refRangeService','_startSheetCollabCursor','onMouseMove','getRandomValues','getOwnPropertyDescriptor','_toggleOnline','urlChange$','_configService','UNIVER_SHEET','transformRemoteChangeset','cursorInfo$','src','_updateStatus','DEFAULT_FILE_NAME','NO_OTHER_CLIENTS_EDITING','_hovered','CHANGESET_REJ','_clearUndo','[UniverCollaborationClientPlugin]','_disableEditing','_isPermissionRej','hasOwnProperty','cursorInfo','getOwnPropertySymbols','getUnitType','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','code','BASE64','registerComponent','reconnect','_onConnectionOpen','_telemetryInfo','_unlockTransition','_collaborationPaused','&assign=','fetch_missing','getRelativeToViewportCoord','_getCtorByUniverType','_type','_clearTimeoutTimer','object','clipPath','_getSignURL','_socketService','_toggleOffline','/universer-api/snapshot','&source=','show','beginPath','_clearScheduledTask','update','collabStatus.notCollab','_keyPriorReset','fillText','permission.content','onMissingChangesets','LIVESHARE_NEW_HOST','body','transformByState','allowed','LIVESHARE_REQUEST_HOST','/object','routeKey','/universer-api/file/{fileID}/sign-url','APPLY_DUPLICATED','addEventListener','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onConnectionFailed','_cursorInfo$','createElement','floor','selections','_resendWithTimeout','_ws','getItem','_scheduleClearOtherTimer','resize','getCurrentSelections','/-/object/-/batch_allowed','registerOnClose','sheets','Undefined','CipherParams','_nDataBytes','_ENC_XFORM_MODE','_getCurrentRevision','collaborators','_clearOtherTimers','collaboratorID','_scene','key','12370920GIadpI','visibilitychange','FETCH_MISS','EvpKDF','_onUserJoin','_collabCursorState$','connection\x20error','entries','findNodePositionByCharIndex','_createHandler','transformMutationsWithChangeset','triggerDblclick','_showConflictNotification','from','getDocRanges','save\x20fail\x20reason\x20is\x20','getSheetBySheetId','ciphertext','target','_entities','default','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','getCurrentUser','_uiPartsService','_colorIndex','_sender','includes','saveSnapshot','SNAPSHOT_URL_KEY','unload','179962wrJeKG','_undoRedoService','localeService','...','c2Prime','_roomMembers$','__esModule','commentUpdate$','translate(.97)','onTransformChange$','_render','abs','syncEditingCollabCursor','split','_scheduleTimestamp','assign','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','set','unshift','_selfUnitIDs','_event$','UNIVER_DOC','onRendered','transformChangesets','disposeWithMe','enableSingleActiveInstanceLock','univerjs-icon\x20univerjs-icon-','_lockTransition','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationSessionService]','pad','UNIVER_UNKNOWN','collaboration-client.offline-data-not-saved','transform','charAt','cfg','resend','slice','0\x200\x2016\x2016','reverse','map','OTHER_CLIENTS_EDITING','changesets','asObservable','/fetchmissing?from=','none','pauseCollaboration','startColumn','now','_messageService','awaiting','currentSkeleton$','_memberService','_disabled','LICENSE_DISTRO_REJECTED','HEADER_MENU','2315320vAMjgB','CHANGESET_ACK','collabStatus.conflict','BlockCipherMode','_onUserLeave','image/jpg','_socket','makeDirty','HEARTBEAT_TIMEOUT','name','_imageSourceCache','getRenderById','online','getInterceptPoints','_removeClearOtherTimer','Error','format','incrementRevOfUnit','_oKey','mode','onStarting','COMMENT_UPDATE','sheetId','getFocusedUnit','collabStatus.offline','_anchorDot','NOT_FOUND','_color','_localeService','SEND_CHANGESET_TIMEOUT','setAlpha','_onCombEvent','symbol','_getUploadFileURL','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_logService','_userManagerService','HELLO','MD5','enc','svg','collab-text-anchor-','_transformService','UnitSnapshot','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoRedoStack','verdancy600','getImageSourceCache','getParam','roomMembers','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','1em','_sheetSkeletonManagerService','_syncEditingCollabCursor','onMissedChangesetFetched','reject','storage','_docStateChangeManagerService','stopTime','text','getCollabEntity','[OfflineState]:\x20received\x20changeset.','some','reduce','_handleHover','_singleActiveUnitService','_textBubble','[CollaborationUndoRedoService]','_onJoinRoomEvent','FAIL','requestParams','copyFileMeta','/universer-api/authz','_waitForHeartbeatResponse','isArray','_labelPosition','addImageSourceCache','RECT','createEncryptor','_iv','jiqing500','uni.network.url-service','session.will-retry','Malformed\x20UTF-8\x20data','_removeRoom','_createInitialState','[SyncedState]:\x20received\x20acknowledgement.','ERROR_IMAGE_TYPE','action','isActive','session.connection-failed','$super','toggleOnline','Could\x20not\x20dynamically\x20require\x20\x22','editing\x20status\x20changed\x20to','getCellPositionByOffset','getTypeOfUnitAdded$','method','_unitStatus','status','_rescheduleHeartbeat','column','Base64','_shouldReportTelemetry','_keySchedule','_saveCache','_updateCollabCursors','put','/object/','/unit/','_createInitialStateImpl','_getLoginPath','_onLocalMutation','ERROR_EXCEED_SIZE','_config','_collabSessionService','_cipher','isEditing','_iKey','permission.title','COMPRESS_MUTATION_APPLY','createDecryptor','OpenSSL','_stopTelemetryCollaborationNewChangeset','_map','_waitCount','_retryCount','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','Latin1','repeat','list','159173VJgvdg','LOGIN_URL_KEY','/new_changes','location','change$','authzUrl','_setupSubUnitSync','_updateSubUnitFromURLParams','LICENSE_IMPORT_SIZE_EXCEEDED','baseRev','getActiveSheet','red300','mixIn','ws://127.0.0.1:8000/universer-api/comb/connect','deepClone','decrypt','sessionStatus$','onCommandExecuted','updateOfflineData','onlineStatus','join','_parse','_range','title','values','[CollaborationSessionService]:\x20socket\x20error','setTimeout','failed\x20to\x20apply\x20missed\x20changesets!','_initStatusListener','_commentUpdate$','interceptor','enableAuthServer','[CollaborationState]:\x20apply\x20error!','_getSaveTimeout','eventID','_members','image/bmp','disposeUnit','replace','_onRecvEvent','Decryptor','unitId\x20is\x20not\x20found','post','onSyncEditingCollabCursor','_createHmacHelper','getVpScrollXYInfoByPosToVp','_candidateSocket','conflict.title','_unitID','lineTo','conflict','transformStack\x20failed!','OffLineSingle','[PendingState]:\x20received\x20rejection.','fetchThroughInterceptors','[CollaborationEntity]','InsertRangeMoveRightCommandId','width','_createSocket','YUUMI_SUBSCRIPTION_NOT_FOUND','getMemberID','?url=','getTypeOfUnitDisposed$','univer-online-status-title','off-line-single','ERROR_IMAGE','length','fetchMiss','_scheduleCollaborationTimeoutTimer','univer-online-status-icon','_hover','all','getUndoRedoMutationParamsCache','_replaceFileID','PasswordBasedCipher','INTERNAL_ERROR','backgroundColor','readInt32LE','find','/universer-api/snapshot/','_onConflict','_onFetchMissResult','_minBufferSize','labelPosition','_online','collaboration-session-retry','csShouldRetryEvent','stringify','addObjects','_tryReconnect','Cipher','_backgroundColor','_executeRemoteChangeset','M0\x200H16V16H0z','0\x200\x2017\x2016','LIVESHARE_TERMINATE','max','_process','_doProcessBlock','saveImage','xlink:href','_init','awaitingChangeset','_resendTimer','UNIVER_PROJECT','AUTHZ_URL_KEY','VIEW_MAIN','refreshPermission','dispose','drawWith','data','[FetchMissState]','image/jpeg','_clearLocalCache','_anchor','div','create','getUnhiddenWorksheets','_getSendChangesetTimeout','_getRedoStack','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','enableOfflineEditing','clamp','ALREADY_EXISTS','_transformStateCache','_send','with','session.collaboration-timeout','updateMember','JOINING','_sendingTimer','_onRemoteRejected','fillStyle','newValue','saveSheetBlock','color','_snapshotServerService','transformSelections','HttpImport','getUnit','_queuedRemoteChangesets','purple300','POST','parse','StreamCipher','_DEC_XFORM_MODE','updateCollaborator','getSheetBlock','_beforeCloseService','setCurrentUser','collabStatus.syncing','registerHTTPInterceptor','getRoom','url(#on-line-single_clip0_910_349)','call','m1Prime','formatter','_invKeySchedule','_onRefRangeChange','roles','add','_drawAnchor','getViewport','UPDATE_CURSOR','_registerDependencies','updateCursorEvent','_tryEnsureSocket','on-line-single_clip0_910_349','_instanceService','_onRemoteRetry','batchAllowed','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','hide','_univerInstanceService','CONFLICT','dispose$','_collaborationTimeoutTimer','unit-cache-','readAsDataURL','getUniverSheetInstance','_draw','image/png','signUrlServerUrl','_initResize','file','ACTIVE_UNIT_EVENT_CHANNEL','_schedule','FETCH_MISSING','workbook','NoPadding','FromArray','_changesetSessionId','onlineStatusTitle','getTime','getStateCache','_getAPIPrefix','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ivSize','min','randomUUID','_initCommandExecutedListener','_onMessage','revision','send','onSendChangeset','_getAnchorBounding','fill','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','socket\x20close','focused$','_commentService','Encryptor','splice','resourceIDs','removeMember','subscribeEvent','delete'];_0x59b0=function(){return _0x57c83b;};return _0x59b0();}var na={'tag':_0x55040e(0x382),'attrs':{'fill':_0x55040e(0x34f),'viewBox':_0x55040e(0x43b),'width':_0x55040e(0x38d),'height':_0x55040e(0x38d)},'children':[{'tag':'g','attrs':{'clipPath':_0x55040e(0x476)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x55040e(0x319),'strokeLinecap':_0x55040e(0x262),'strokeLinejoin':_0x55040e(0x262),'strokeWidth':1.2}}]},{'tag':_0x55040e(0x28d),'attrs':{},'children':[{'tag':_0x55040e(0x2d2),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x55040e(0x5b7),'attrs':{'fill':_0x55040e(0x5c5),'d':_0x55040e(0x43a),'transform':_0x55040e(0x32a)}}]}]}],'defIds':[_0x55040e(0x484)]},Li=_0x3480a1(function(_0x2a2e5e,_0x5dfd){const _0x303a45=_0x55040e;return _0x3fd77b(Ts,Object[_0x303a45(0x331)]({},_0x2a2e5e,{'id':_0x303a45(0x4cc),'ref':_0x5dfd,'icon':na}));});Li[_0x55040e(0x506)]='OnLineSingle';function $i(_0x2cf359){const _0x5b58ba=_0x55040e;var _0xdc191,_0x2ff5eb,_0x1e34c7='';if(typeof _0x2cf359==_0x5b58ba(0x54c)||typeof _0x2cf359=='number')_0x1e34c7+=_0x2cf359;else{if(typeof _0x2cf359==_0x5b58ba(0x2d1)){if(Array[_0x5b58ba(0x3a4)](_0x2cf359)){var _0x43184b=_0x2cf359[_0x5b58ba(0x41f)];for(_0xdc191=0x0;_0xdc191<_0x43184b;_0xdc191++)_0x2cf359[_0xdc191]&&(_0x2ff5eb=$i(_0x2cf359[_0xdc191]))&&(_0x1e34c7&&(_0x1e34c7+='\x20'),_0x1e34c7+=_0x2ff5eb);}else{for(_0x2ff5eb in _0x2cf359)_0x2cf359[_0x2ff5eb]&&(_0x1e34c7&&(_0x1e34c7+='\x20'),_0x1e34c7+=_0x2ff5eb);}}}return _0x1e34c7;}function ra(){const _0x2f68cf=_0x55040e;for(var _0x27f9e8,_0x2582dd,_0x51375a=0x0,_0x5b0522='',_0x2ce6d7=arguments[_0x2f68cf(0x41f)];_0x51375a<_0x2ce6d7;_0x51375a++)(_0x27f9e8=arguments[_0x51375a])&&(_0x2582dd=$i(_0x27f9e8))&&(_0x5b0522&&(_0x5b0522+='\x20'),_0x5b0522+=_0x2582dd);return _0x5b0522;}const oa=_0x55040e(0x422),aa=_0x55040e(0x41c),ca='univer-online-status',ha='univer-online',la='univer-offline',Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x824247){const _0x33d418=_0x55040e;switch(_0x824247){case J[_0x33d418(0x4d3)]:return _0x33d418(0x372);case J[_0x33d418(0x48b)]:return _0x33d418(0x35c);case J[_0x33d418(0x306)]:return'collabStatus.fetchMiss';case J[_0x33d418(0x594)]:return _0x33d418(0x2dc);case J[_0x33d418(0x259)]:case J['AWAITING_WITH_PENDING']:return _0x33d418(0x473);case J[_0x33d418(0x5c6)]:case J[_0x33d418(0x58a)]:return'collabStatus.synced';}}function ua(_0x2ab3c0){const _0x149d26=_0x55040e,{status$:_0x2ed7eb}=_0x2ab3c0,_0x493f66=_0x1cfa5d(_0x2ed7eb,J[_0x149d26(0x594)]),_0x31261b=_0x50d38c(_0x5d0578),_0x47a362=_0x50d38c(Ae),_0x56e846=_0x493f66!==J[_0x149d26(0x4d3)],_0x28735e=_0x31261b['t'](_a(_0x493f66)),_0x5caa28=ra(Ze[_0x149d26(0x3f0)],{[Ze[_0x149d26(0x366)]]:_0x56e846,[Ze['offline']]:!_0x56e846}),_0xe3909f=_0x56e846?_0x5625db[_0x149d26(0x2ee)](Li,null):_0x5625db['createElement'](xi,null),_0x37c375=_0x52f5d2(()=>{_0x56e846||_0x47a362['reconnect']();},[_0x56e846,_0x47a362]);function _0x56879a(){const _0x42a232=_0x149d26;return _0x5625db[_0x42a232(0x2ee)](_0x42a232(0x450),{'className':_0x5caa28,'onClick':_0x37c375},_0x5625db[_0x42a232(0x2ee)]('div',{'className':Ze[_0x42a232(0x299)]},_0xe3909f),_0x5625db[_0x42a232(0x2ee)](_0x42a232(0x450),{'className':Ze[_0x42a232(0x49d)]},_0x28735e));}return _0x56e846?_0x56879a():_0x5625db[_0x149d26(0x2ee)](_0x1099e0,{'title':_0x31261b['t'](_0x149d26(0x57b))},_0x56879a());}var da=Object[_0x55040e(0x4df)],fa=Object[_0x55040e(0x2ad)],va=(_0x43630d,_0x4bc2a7,_0x4769ef,_0x4468e7)=>{const _0x291c2e=_0x55040e;for(var _0x64857c=_0x4468e7>0x1?void 0x0:_0x4468e7?fa(_0x4bc2a7,_0x4769ef):_0x4bc2a7,_0x34dfb=_0x43630d[_0x291c2e(0x41f)]-0x1,_0x52aa21;_0x34dfb>=0x0;_0x34dfb--)(_0x52aa21=_0x43630d[_0x34dfb])&&(_0x64857c=(_0x4468e7?_0x52aa21(_0x4bc2a7,_0x4769ef,_0x64857c):_0x52aa21(_0x64857c))||_0x64857c);return _0x4468e7&&_0x64857c&&da(_0x4bc2a7,_0x4769ef,_0x64857c),_0x64857c;},lt=(_0xd1776d,_0x5596e0)=>(_0x496688,_0x3ebe39)=>_0x5596e0(_0x496688,_0x3ebe39,_0xd1776d);let It=class extends _0x32aa41{constructor(_0x205de8,_0x587645,_0x285ce2,_0x28df42){const _0x4dadf7=_0x55040e;super(),g(this,_0x4dadf7(0x209),new _0x7f65fd(J['NOT_COLLAB'])),(this[_0x4dadf7(0x48a)]=_0x205de8,this['_uiPartsService']=_0x587645,this[_0x4dadf7(0x1c7)]=_0x285ce2,this['_collaborationController']=_0x28df42,this[_0x4dadf7(0x4cd)](),this[_0x4dadf7(0x3f9)]());}[_0x55040e(0x3f9)](){const _0xba92f7=_0x55040e;this[_0xba92f7(0x33a)](this[_0xba92f7(0x48a)]['focused$'][_0xba92f7(0x55b)](_0x15ee08(()=>{const _0x307999=_0xba92f7,_0x49449b=this[_0x307999(0x48a)][_0x307999(0x371)]();return _0x49449b?this['_collaborationController'][_0x307999(0x1d2)](_0x49449b['getUnitId']()):_0x1c2089(null);}),_0x15ee08(_0x55d3f1=>_0x55d3f1?_0x55d3f1[_0xba92f7(0x21c)]:_0x1c2089(J[_0xba92f7(0x594)])))[_0xba92f7(0x1e2)](_0x5617e5=>{const _0x4b3940=_0xba92f7;this[_0x4b3940(0x209)]['next'](_0x5617e5);}));}['_initStatusComponent'](){const _0x2a047b=_0x55040e;this['disposeWithMe'](this[_0x2a047b(0x31b)][_0x2a047b(0x2c5)](_0x1c26fa[_0x2a047b(0x359)],()=>_0x4f2b45(ma({'status$':this[_0x2a047b(0x209)][_0x2a047b(0x34d)]()}),this[_0x2a047b(0x1c7)])));}};It=va([lt(0x0,_0x10abd5),lt(0x1,_0x1f002f),lt(0x2,_0xb59c13(_0x475d43)),lt(0x3,_0xb59c13(it))],It);function ma(_0x2bc2e8){const {status$:_0x33f33a}=_0x2bc2e8;return function(){return _0x5625db['createElement'](ua,{'status$':_0x33f33a});};}const Hi=_0x34aab2(_0x55040e(0x3ab));var pa=Object[_0x55040e(0x4df)],ga=Object[_0x55040e(0x2ad)],Sa=(_0x5dba6a,_0x4f7101,_0x5a502e,_0x31c68e)=>{for(var _0x2db191=_0x31c68e>0x1?void 0x0:_0x31c68e?ga(_0x4f7101,_0x5a502e):_0x4f7101,_0x559801=_0x5dba6a['length']-0x1,_0x352048;_0x559801>=0x0;_0x559801--)(_0x352048=_0x5dba6a[_0x559801])&&(_0x2db191=(_0x31c68e?_0x352048(_0x4f7101,_0x5a502e,_0x2db191):_0x352048(_0x2db191))||_0x2db191);return _0x31c68e&&_0x2db191&&pa(_0x4f7101,_0x5a502e,_0x2db191),_0x2db191;},ke=(_0x12d619,_0x29b870)=>(_0x32f847,_0x5f8009)=>_0x29b870(_0x32f847,_0x5f8009,_0x12d619);let Ct=class extends _0x47772b{constructor(_0x62b88a,_0x277564,_0x1fa66b,_0x42d494,_0x11c165,_0x5729c4){const _0x57c7d6=_0x55040e;super(),this['_urlService']=_0x62b88a,this[_0x57c7d6(0x37d)]=_0x277564,this[_0x57c7d6(0x1e8)]=_0x1fa66b,this[_0x57c7d6(0x528)]=_0x42d494,this[_0x57c7d6(0x298)]=_0x11c165,_0x5729c4?_0x5729c4==null||_0x5729c4['whenReady']()[_0x57c7d6(0x4ce)](()=>this[_0x57c7d6(0x442)]()):(this[_0x57c7d6(0x37d)][_0x57c7d6(0x501)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x57c7d6(0x442)]());}async[_0x55040e(0x442)](){const _0x262fbc=_0x55040e,_0x24fc50=this['_urlService'][_0x262fbc(0x38a)](_0x262fbc(0x5be)),_0x36c4d1=this[_0x262fbc(0x20e)][_0x262fbc(0x38a)](_0x262fbc(0x24f));if(!_0x24fc50||!_0x36c4d1){this['_logService'][_0x262fbc(0x501)](_0x262fbc(0x216),_0x262fbc(0x332));return;}switch(Number(_0x36c4d1)){case ce[_0x262fbc(0x2b1)]:{const _0x1fb1e9=await this[_0x262fbc(0x51a)](_0x24fc50);this[_0x262fbc(0x3e3)](_0x1fb1e9);break;}case ce[_0x262fbc(0x337)]:{await this['_loadDoc'](_0x24fc50);break;}default:{this['_logService'][_0x262fbc(0x268)](_0x262fbc(0x216),_0x262fbc(0x24a));break;}}}async['_setupSubUnitSync'](_0x20e452){const _0x2bbc0c=_0x55040e;await this[_0x2bbc0c(0x3e4)](_0x20e452),_0x20e452[_0x2bbc0c(0x5bf)]['pipe'](_0x589f39(this['dispose$']))[_0x2bbc0c(0x1e2)](_0x4bde7b=>{const _0x117ae5=_0x2bbc0c;_0x4bde7b&&this[_0x117ae5(0x2a7)](_0x4bde7b);}),this[_0x2bbc0c(0x20e)]['urlChange$']['pipe'](_0x589f39(this[_0x2bbc0c(0x48c)]))[_0x2bbc0c(0x1e2)](()=>this[_0x2bbc0c(0x3e4)](_0x20e452));}[_0x55040e(0x2a7)](_0x520e5f,_0xc622a6=!0x1){const _0x308119=_0x55040e,_0xf0d41=this[_0x308119(0x20e)]['getParam'](_0x308119(0x23d));_0x520e5f['getSheetId']()!==_0xf0d41&&this[_0x308119(0x20e)]['setParam']('subunit',_0x520e5f['getSheetId'](),_0xc622a6);}async[_0x55040e(0x3e4)](_0x5b7dc4){const _0x26d85d=_0x55040e;var _0x233062;const _0x2b55eb=this[_0x26d85d(0x20e)][_0x26d85d(0x38a)](_0x26d85d(0x23d));if(!_0x2b55eb||!_0x5b7dc4[_0x26d85d(0x314)](_0x2b55eb)){const _0x57e8e8=_0x5b7dc4[_0x26d85d(0x452)]()[0x0],_0x2a1861=_0x5b7dc4[_0x26d85d(0x314)](_0x57e8e8);if(!_0x2a1861)return;this[_0x26d85d(0x2a7)](_0x2a1861,!0x0),await this[_0x26d85d(0x1e8)][_0x26d85d(0x4e4)](_0x5d9c59['id'],{'unitId':_0x5b7dc4[_0x26d85d(0x4f5)](),'subUnitId':_0x57e8e8});return;}((_0x233062=_0x5b7dc4[_0x26d85d(0x3e7)]())==null?void 0x0:_0x233062[_0x26d85d(0x513)]())!==_0x2b55eb&&await this[_0x26d85d(0x1e8)][_0x26d85d(0x4e4)](_0x5d9c59['id'],{'unitId':_0x5b7dc4[_0x26d85d(0x4f5)](),'subUnitId':_0x2b55eb});}async[_0x55040e(0x51a)](_0x5efade){const _0x579fda=_0x55040e;let _0x1d7091=0x0;const _0x340b1e=await this[_0x579fda(0x528)]['loadOfflineData'](_0x5efade);return _0x340b1e&&(_0x340b1e[_0x579fda(0x443)]||_0x340b1e['mutations'][_0x579fda(0x41f)]!==0x0)&&(_0x1d7091=_0x340b1e[_0x579fda(0x28e)]),_0x1d7091===0x0&&this[_0x579fda(0x37d)]['debug'](_0x579fda(0x216),_0x579fda(0x2eb)),this[_0x579fda(0x298)][_0x579fda(0x4f6)](_0x5efade,_0x1d7091);}async['_loadDoc'](_0x15b7ca){const _0xf45ee6=_0x55040e;let _0x247244=0x0;const _0x54eda6=await this[_0xf45ee6(0x528)][_0xf45ee6(0x26d)](_0x15b7ca);return _0x54eda6&&(_0x54eda6[_0xf45ee6(0x443)]||_0x54eda6[_0xf45ee6(0x271)][_0xf45ee6(0x41f)]!==0x0)&&(_0x247244=_0x54eda6[_0xf45ee6(0x28e)]),_0x247244===0x0&&this[_0xf45ee6(0x37d)][_0xf45ee6(0x501)](_0xf45ee6(0x216),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xf45ee6(0x298)][_0xf45ee6(0x540)](_0x15b7ca,_0x247244);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x6916a2),ke(0x2,_0x2983df),ke(0x3,_0xb59c13(q)),ke(0x4,_0xb59c13(_0x10becd)),ke(0x5,_0x31105a(_0x280a26))],Ct);var Ia=Object[_0x55040e(0x4df)],Ca=Object[_0x55040e(0x2ad)],Ea=(_0xdc4a81,_0x24e292,_0x26fed3,_0x5c3737)=>{const _0x17795c=_0x55040e;for(var _0x4202d6=_0x5c3737>0x1?void 0x0:_0x5c3737?Ca(_0x24e292,_0x26fed3):_0x24e292,_0x2afe6d=_0xdc4a81[_0x17795c(0x41f)]-0x1,_0x382365;_0x2afe6d>=0x0;_0x2afe6d--)(_0x382365=_0xdc4a81[_0x2afe6d])&&(_0x4202d6=(_0x5c3737?_0x382365(_0x24e292,_0x26fed3,_0x4202d6):_0x382365(_0x4202d6))||_0x4202d6);return _0x5c3737&&_0x4202d6&&Ia(_0x24e292,_0x26fed3,_0x4202d6),_0x4202d6;},zs=(_0x34afcf,_0x5aa051)=>(_0x559f58,_0x3ecbd2)=>_0x5aa051(_0x559f58,_0x3ecbd2,_0x34afcf);const ba=_0x55040e(0x2b6),Ta=_0x55040e(0x5a1);let Et=class extends _0x32aa41{constructor(_0x2139a7,_0x30e41b){const _0x567e7c=_0x55040e;super(),this[_0x567e7c(0x48a)]=_0x2139a7,this[_0x567e7c(0x2b0)]=_0x30e41b,this['_init']();}[_0x55040e(0x442)](){const _0x5c85c2=_0x55040e;this[_0x5c85c2(0x33a)](this[_0x5c85c2(0x48a)][_0x5c85c2(0x4ae)]['subscribe'](()=>{const _0xcb34ba=_0x5c85c2;var _0x16b1c6;const _0x4daaac=this[_0xcb34ba(0x48a)]['getFocusedUnit']();let _0x235373=(_0x16b1c6=this['_configService'][_0xcb34ba(0x5c3)](ba))!=null?_0x16b1c6:Ta;_0x4daaac instanceof _0x579778&&(_0x235373=_0x4daaac[_0xcb34ba(0x363)]),document[_0xcb34ba(0x3f4)]=_0x235373;}));}};Et=Ea([zs(0x0,_0x10abd5),zs(0x1,_0x1fedc7)],Et);var Ra=Object[_0x55040e(0x4df)],ya=Object['getOwnPropertyDescriptor'],Oa=(_0x21ef3a,_0x13c56f,_0x5d0017,_0x3b1ed6)=>{const _0x15cbf0=_0x55040e;for(var _0x1bb752=_0x3b1ed6>0x1?void 0x0:_0x3b1ed6?ya(_0x13c56f,_0x5d0017):_0x13c56f,_0x203e3d=_0x21ef3a[_0x15cbf0(0x41f)]-0x1,_0x53da8c;_0x203e3d>=0x0;_0x203e3d--)(_0x53da8c=_0x21ef3a[_0x203e3d])&&(_0x1bb752=(_0x3b1ed6?_0x53da8c(_0x13c56f,_0x5d0017,_0x1bb752):_0x53da8c(_0x1bb752))||_0x1bb752);return _0x3b1ed6&&_0x1bb752&&Ra(_0x13c56f,_0x5d0017,_0x1bb752),_0x1bb752;},Wt=(_0x1086ba,_0x39cee6)=>(_0x5efe9f,_0x5ec727)=>_0x39cee6(_0x5efe9f,_0x5ec727,_0x1086ba);let bt=class{constructor(_0x2599ea,_0x44fa5e,_0x3d651e){const _0x2fe3ca=_0x55040e;this[_0x2fe3ca(0x2b0)]=_0x2599ea,this[_0x2fe3ca(0x272)]=_0x44fa5e,this[_0x2fe3ca(0x324)]=_0x3d651e,this[_0x2fe3ca(0x5b2)]();}[_0x55040e(0x5b2)](){const _0x537ff2=_0x55040e;this[_0x537ff2(0x272)][_0x537ff2(0x474)]({'priority':0x1,'interceptor':(_0x2fa8b0,_0x1b1c59)=>_0x1b1c59(_0x2fa8b0)[_0x537ff2(0x55b)](_0x17d64a(async _0x4bc5ca=>{const _0xee3d5c=_0x537ff2,_0x31da2b=_0x4bc5ca;if(_0x31da2b[_0xee3d5c(0x3bd)]===0x191&&window['confirm'](this[_0xee3d5c(0x324)]['t']('auth.needGotoLoginAlert'))){const _0x224819=window[_0xee3d5c(0x1c8)](window[_0xee3d5c(0x3e0)]['href']);window['location'][_0xee3d5c(0x4ba)]=this['_getLoginPath']()+_0xee3d5c(0x41a)+_0x224819;}return _0x31da2b;}))});}[_0x55040e(0x3c9)](){const _0x2c6977=_0x55040e;var _0x434fd8,_0x5f17f7;const _0x1b231e=this[_0x2c6977(0x2b0)]['getConfig'](Ir),_0x48aabb=this[_0x2c6977(0x2b0)][_0x2c6977(0x5c3)](ie);return(_0x5f17f7=(_0x434fd8=_0x48aabb==null?void 0x0:_0x48aabb[_0x2c6977(0x508)])!=null?_0x434fd8:_0x1b231e)!=null?_0x5f17f7:Cr;}};bt=Oa([Wt(0x0,_0x1fedc7),Wt(0x1,_0xb59c13(_0x32e2ee)),Wt(0x2,_0xb59c13(_0x5d0578))],bt);var wa=Object['defineProperty'],Da=Object[_0x55040e(0x2ad)],Pa=(_0x2ff83b,_0x1a28ad,_0x5a9277,_0x4686f5)=>{const _0x4eecca=_0x55040e;for(var _0x92d4d4=_0x4686f5>0x1?void 0x0:_0x4686f5?Da(_0x1a28ad,_0x5a9277):_0x1a28ad,_0x149896=_0x2ff83b[_0x4eecca(0x41f)]-0x1,_0x4c6f53;_0x149896>=0x0;_0x149896--)(_0x4c6f53=_0x2ff83b[_0x149896])&&(_0x92d4d4=(_0x4686f5?_0x4c6f53(_0x1a28ad,_0x5a9277,_0x92d4d4):_0x4c6f53(_0x92d4d4))||_0x92d4d4);return _0x4686f5&&_0x92d4d4&&wa(_0x1a28ad,_0x5a9277,_0x92d4d4),_0x92d4d4;},qs=(_0x41996c,_0x2d68d1)=>(_0x2687bf,_0x10d09a)=>_0x2d68d1(_0x2687bf,_0x10d09a,_0x41996c);const Ua=_0x55040e(0x446),Na=_0x55040e(0x3a2);let cs=class extends _0x32aa41{constructor(_0x2e9364,_0x463410){const _0xbf2d79=_0x55040e;super(),this[_0xbf2d79(0x1dd)]=_0x2e9364,this['_configService']=_0x463410,this[_0xbf2d79(0x4ee)]();}['_initMergeInterceptor'](){const _0x272429=_0x55040e,_0x475343=this;this[_0x272429(0x33a)](this[_0x272429(0x1dd)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2ee28d({'isMatch'(_0x5ef2fe){const _0x34fa1f=_0x272429;var _0x986d44;if(_0x5ef2fe[_0x34fa1f(0x3bb)]===_0x34fa1f(0x46b)&&((_0x986d44=_0x5ef2fe[_0x34fa1f(0x3a0)])!=null&&_0x986d44[_0x34fa1f(0x2e2)])){const {objectID:_0x46136f,objectType:_0x414ad5}=_0x5ef2fe[_0x34fa1f(0x3a0)][_0x34fa1f(0x2e2)]||{};if(!_0x46136f||_0x414ad5===void 0x0)return!0x1;const _0x1b6fb9=_0x475343[_0x34fa1f(0x1e1)]()+'/'+_0x414ad5+_0x34fa1f(0x3c6)+_0x46136f+_0x34fa1f(0x21b);if(_0x5ef2fe[_0x34fa1f(0x210)]===_0x1b6fb9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2384f7){const _0x3c02ce=_0x272429;var _0x1affd4;return(_0x1affd4=_0x2384f7[_0x3c02ce(0x3a0)])==null?void 0x0:_0x1affd4[_0x3c02ce(0x2e2)];},'mergeParamsToRequest'(_0x4524d1,_0x1f31d6){const _0x1c0506=_0x272429,_0x1d965c=_0x475343[_0x1c0506(0x1e1)]()+_0x1c0506(0x2f7),_0x14fbde=_0x4524d1['reduce']((_0x366c8a,_0x29389f)=>{const _0x43179a=_0x1c0506,{unitID:_0x5acf07,objectID:_0x122d59,objectType:_0x18ab78,actions:_0x280e19}=_0x29389f;return _0x366c8a[_0x5acf07]||(_0x366c8a[_0x5acf07]={}),_0x366c8a[_0x5acf07][_0x122d59]||(_0x366c8a[_0x5acf07][_0x122d59]={'objectID':_0x122d59,'objectType':_0x18ab78,'actions':[]}),_0x366c8a[_0x5acf07][_0x122d59][_0x43179a(0x551)][_0x43179a(0x5b6)](..._0x280e19),_0x366c8a;},{}),_0xc72625=[];for(const _0x5849ed in _0x14fbde)for(const _0x1cf9d5 in _0x14fbde[_0x5849ed]){const {actions:_0x489f2b,objectType:_0x2e73eb}=_0x14fbde[_0x5849ed][_0x1cf9d5],_0xa9fb87=[...new Set(_0x489f2b)];_0xc72625[_0x1c0506(0x5b6)]({'unitID':_0x5849ed,'objectID':_0x1cf9d5,'objectType':_0x2e73eb,'actions':_0xa9fb87});}return new _0x56c16f(_0x1c0506(0x46b),_0x1d965c,{'headers':_0x1f31d6[_0x1c0506(0x4e3)],'withCredentials':_0x1f31d6[_0x1c0506(0x502)],'responseType':_0x1f31d6[_0x1c0506(0x1f6)],'body':{'requests':_0xc72625}});}},{'distributeResult'(_0x1e494f,_0xdf118){const _0x1711b5=_0x272429,{objectActions:_0x518f71}=_0x1e494f;return _0xdf118[_0x1711b5(0x34a)](_0xadc53a=>{const _0x186667=_0x1711b5,{unitID:_0x149c2b,objectID:_0x4c112a,actions:_0x336ed1}=_0xadc53a,_0x53877d=_0x518f71['find'](_0x5e4538=>_0x5e4538[_0x186667(0x54d)]===_0x149c2b&&_0x5e4538['objectID']===_0x4c112a),_0x34fb6f=_0x336ed1['map'](_0x49bdec=>_0x53877d==null?void 0x0:_0x53877d['actions'][_0x186667(0x42b)](_0x5a1607=>_0x5a1607[_0x186667(0x3b2)]===_0x49bdec))[_0x186667(0x275)](_0x5444e1=>!!_0x5444e1);return{'config':_0xadc53a,'result':{'actions':_0x34fb6f,'error':_0x1e494f[_0x186667(0x268)]}};});}})}));}[_0x55040e(0x1e1)](){const _0x173e1d=_0x55040e;var _0x565a48,_0x5ea8f5;const _0x2a47b7=this[_0x173e1d(0x2b0)][_0x173e1d(0x5c3)](Ua),_0x27816a=this['_configService']['getConfig'](ie);return(_0x5ea8f5=(_0x565a48=_0x27816a==null?void 0x0:_0x27816a[_0x173e1d(0x3e2)])!=null?_0x565a48:_0x2a47b7)!=null?_0x5ea8f5:Na;}async[_0x55040e(0x451)](_0x4476c6){const _0x1eedce=_0x55040e,_0x1f2a42=this['_getAPIPrefixPath']()+'/'+_0x4476c6[_0x1eedce(0x52f)]+_0x1eedce(0x2e6);return(await this[_0x1eedce(0x1dd)]['post'](_0x1f2a42,{'body':_0x4476c6}))[_0x1eedce(0x2e2)]['objectID']||'';}async[_0x55040e(0x3dc)](_0x28a6e9){const _0x41ad50=_0x55040e,_0xd8f393=this[_0x41ad50(0x1e1)]()+'/-/object/list';return(await this[_0x41ad50(0x1dd)]['post'](_0xd8f393,{'body':_0x28a6e9}))[_0x41ad50(0x2e2)]['objects'];}async[_0x55040e(0x2db)](_0x103d45){const _0x1f2f92=_0x55040e,_0x13118e=this[_0x1f2f92(0x1e1)]()+'/'+_0x103d45[_0x1f2f92(0x52f)]+_0x1f2f92(0x3c6)+_0x103d45[_0x1f2f92(0x5a8)];await this[_0x1f2f92(0x1dd)][_0x1f2f92(0x3c5)](_0x13118e,{'body':_0x103d45});}async[_0x55040e(0x2e4)](_0x3c5ebb){const _0x3897fb=_0x55040e,_0x116fa5=this[_0x3897fb(0x1e1)]()+'/'+_0x3c5ebb[_0x3897fb(0x52f)]+_0x3897fb(0x3c6)+_0x3c5ebb[_0x3897fb(0x5a8)]+'/allowed';return(await this['_HTTPService']['post'](_0x116fa5,{'body':_0x3c5ebb}))[_0x3897fb(0x2e2)]['actions'];}async[_0x55040e(0x487)](_0x555956){const _0x20148b=_0x55040e,_0x5bfbf4=this[_0x20148b(0x1e1)]()+_0x20148b(0x2f7);return(await this['_HTTPService'][_0x20148b(0x407)](_0x5bfbf4,{'body':{'requests':_0x555956}}))[_0x20148b(0x2e2)]['objectActions'];}async[_0x55040e(0x1fe)](_0x79fc74){const _0x7cf84d=_0x55040e,_0x368f0b=this[_0x7cf84d(0x1e1)]()+'/'+_0x79fc74[_0x7cf84d(0x52f)]+'/role',_0x29bfb8=await this[_0x7cf84d(0x1dd)]['post'](_0x368f0b,{'body':_0x79fc74});return{'roles':_0x29bfb8[_0x7cf84d(0x2e2)][_0x7cf84d(0x47c)],'actions':_0x29bfb8[_0x7cf84d(0x2e2)]['actions']};}async['deleteCollaborator'](_0xb49877){const _0x4aa0c=_0x55040e,_0x140ac8=this[_0x4aa0c(0x1e1)]()+_0x4aa0c(0x28c);await this[_0x4aa0c(0x1dd)][_0x4aa0c(0x4b5)](_0x140ac8,{'params':{'collaboratorID':_0xb49877[_0x4aa0c(0x301)],'objectID':_0xb49877[_0x4aa0c(0x5a8)],'unitID':_0xb49877[_0x4aa0c(0x54d)]}});}async[_0x55040e(0x46f)](_0x3e0ea7){const _0x5b1f91=_0x55040e,_0x1ef916=this[_0x5b1f91(0x1e1)]()+_0x5b1f91(0x28c);await this[_0x5b1f91(0x1dd)][_0x5b1f91(0x20c)](_0x1ef916,{'body':_0x3e0ea7});}async[_0x55040e(0x1df)](_0x33ef77){const _0xd09217=_0x55040e,_0x3376bb=this[_0xd09217(0x1e1)]()+_0xd09217(0x28c);await this[_0xd09217(0x1dd)][_0xd09217(0x407)](_0x3376bb,{'body':_0x33ef77});}async[_0x55040e(0x50e)](_0x4d8557){const _0x6872bd=_0x55040e,_0x5bfdeb=this[_0x6872bd(0x1e1)]()+_0x6872bd(0x28c);return(await this[_0x6872bd(0x1dd)][_0x6872bd(0x25c)](_0x5bfdeb,{'params':{'objectID':_0x4d8557[_0x6872bd(0x5a8)],'unitID':_0x4d8557[_0x6872bd(0x54d)]}}))[_0x6872bd(0x2e2)][_0x6872bd(0x2ff)];}async[_0x55040e(0x58c)](_0x420170){const _0x2e9756=_0x55040e,_0x4402d3=this[_0x2e9756(0x1e1)]()+'/collaborator';await this[_0x2e9756(0x1dd)][_0x2e9756(0x3c5)](_0x4402d3,{'body':_0x420170});}};cs=Pa([qs(0x0,_0xb59c13(_0x32e2ee)),qs(0x1,_0xb59c13(_0x1fedc7))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x591898){const _0x1ca3c4=_0x55040e;return _0x591898&&_0x591898[_0x1ca3c4(0x328)]&&Object[_0x1ca3c4(0x4ea)][_0x1ca3c4(0x2be)][_0x1ca3c4(0x477)](_0x591898,_0x1ca3c4(0x318))?_0x591898[_0x1ca3c4(0x318)]:_0x591898;}var ji={'exports':{}};function Aa(_0x183020){const _0x217202=_0x55040e;throw new Error(_0x217202(0x3b7)+_0x183020+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ft={'exports':{}},Xs;function ue(){return Xs||(Xs=0x1,function(_0x53289f,_0xc01177){(function(_0x1db1f9,_0x2fd07c){_0x53289f['exports']=_0x2fd07c();}(Z,function(){var _0x4cee9f=_0x4cee9f||function(_0x5e1cf1,_0x427642){const _0x342717=_0x1c89;var _0x28463a;if(typeof window<'u'&&window[_0x342717(0x215)]&&(_0x28463a=window[_0x342717(0x215)]),typeof self<'u'&&self[_0x342717(0x215)]&&(_0x28463a=self[_0x342717(0x215)]),typeof globalThis<'u'&&globalThis[_0x342717(0x215)]&&(_0x28463a=globalThis['crypto']),!_0x28463a&&typeof window<'u'&&window[_0x342717(0x5b8)]&&(_0x28463a=window[_0x342717(0x5b8)]),!_0x28463a&&typeof Z<'u'&&Z[_0x342717(0x215)]&&(_0x28463a=Z[_0x342717(0x215)]),!_0x28463a&&typeof Aa==_0x342717(0x519))try{_0x28463a=require(_0x342717(0x215));}catch{}var _0x4ed3a2=function(){const _0x1f8815=_0x342717;if(_0x28463a){if(typeof _0x28463a[_0x1f8815(0x2ac)]=='function')try{return _0x28463a[_0x1f8815(0x2ac)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x28463a[_0x1f8815(0x556)]=='function')try{return _0x28463a['randomBytes'](0x4)[_0x1f8815(0x42a)]();}catch{}}throw new Error(_0x1f8815(0x488));},_0xc32a85=Object[_0x342717(0x451)]||(function(){function _0x235456(){}return function(_0x3429af){const _0x2ea4b9=_0x1c89;var _0x2550df;return _0x235456[_0x2ea4b9(0x4ea)]=_0x3429af,_0x2550df=new _0x235456(),_0x235456['prototype']=null,_0x2550df;};}()),_0x11356f={},_0x4418b6=_0x11356f[_0x342717(0x53b)]={},_0x52d18e=_0x4418b6[_0x342717(0x20d)]=(function(){return{'extend':function(_0x43d936){const _0x3ddd13=_0x1c89;var _0x1a0057=_0xc32a85(this);return _0x43d936&&_0x1a0057[_0x3ddd13(0x3e9)](_0x43d936),(!_0x1a0057[_0x3ddd13(0x2be)](_0x3ddd13(0x5b2))||this[_0x3ddd13(0x5b2)]===_0x1a0057[_0x3ddd13(0x5b2)])&&(_0x1a0057[_0x3ddd13(0x5b2)]=function(){const _0x136320=_0x3ddd13;_0x1a0057[_0x136320(0x3b5)][_0x136320(0x5b2)][_0x136320(0x5bc)](this,arguments);}),_0x1a0057[_0x3ddd13(0x5b2)]['prototype']=_0x1a0057,_0x1a0057[_0x3ddd13(0x3b5)]=this,_0x1a0057;},'create':function(){const _0x57d35a=_0x1c89;var _0xd067a4=this[_0x57d35a(0x592)]();return _0xd067a4[_0x57d35a(0x5b2)][_0x57d35a(0x5bc)](_0xd067a4,arguments),_0xd067a4;},'init':function(){},'mixIn':function(_0x192942){const _0x5c5b4d=_0x1c89;for(var _0x15cc48 in _0x192942)_0x192942[_0x5c5b4d(0x2be)](_0x15cc48)&&(this[_0x15cc48]=_0x192942[_0x15cc48]);_0x192942[_0x5c5b4d(0x2be)]('toString')&&(this[_0x5c5b4d(0x522)]=_0x192942[_0x5c5b4d(0x522)]);},'clone':function(){const _0x11591f=_0x1c89;return this[_0x11591f(0x5b2)][_0x11591f(0x4ea)][_0x11591f(0x592)](this);}};}()),_0x4374ec=_0x4418b6[_0x342717(0x295)]=_0x52d18e[_0x342717(0x592)]({'init':function(_0x13d795,_0x240cce){const _0x52bec6=_0x342717;_0x13d795=this[_0x52bec6(0x1f8)]=_0x13d795||[],_0x240cce!=_0x427642?this[_0x52bec6(0x204)]=_0x240cce:this[_0x52bec6(0x204)]=_0x13d795['length']*0x4;},'toString':function(_0x2813a5){return(_0x2813a5||_0x45020c)['stringify'](this);},'concat':function(_0x21a195){const _0x34885b=_0x342717;var _0x261e5e=this['words'],_0x4993a2=_0x21a195[_0x34885b(0x1f8)],_0x5afb66=this[_0x34885b(0x204)],_0x4f186a=_0x21a195[_0x34885b(0x204)];if(this[_0x34885b(0x457)](),_0x5afb66%0x4)for(var _0x34b7d7=0x0;_0x34b7d7<_0x4f186a;_0x34b7d7++){var _0x5c1799=_0x4993a2[_0x34b7d7>>>0x2]>>>0x18-_0x34b7d7%0x4*0x8&0xff;_0x261e5e[_0x5afb66+_0x34b7d7>>>0x2]|=_0x5c1799<<0x18-(_0x5afb66+_0x34b7d7)%0x4*0x8;}else{for(var _0x1e5180=0x0;_0x1e5180<_0x4f186a;_0x1e5180+=0x4)_0x261e5e[_0x5afb66+_0x1e5180>>>0x2]=_0x4993a2[_0x1e5180>>>0x2];}return this[_0x34885b(0x204)]+=_0x4f186a,this;},'clamp':function(){const _0x269768=_0x342717;var _0x986fce=this['words'],_0x4860c5=this[_0x269768(0x204)];_0x986fce[_0x4860c5>>>0x2]&=0xffffffff<<0x20-_0x4860c5%0x4*0x8,_0x986fce[_0x269768(0x41f)]=_0x5e1cf1[_0x269768(0x223)](_0x4860c5/0x4);},'clone':function(){const _0xe924cb=_0x342717;var _0x31fba6=_0x52d18e['clone'][_0xe924cb(0x477)](this);return _0x31fba6[_0xe924cb(0x1f8)]=this[_0xe924cb(0x1f8)][_0xe924cb(0x347)](0x0),_0x31fba6;},'random':function(_0x166245){const _0x9a201a=_0x342717;for(var _0x22fdb8=[],_0x5a26b0=0x0;_0x5a26b0<_0x166245;_0x5a26b0+=0x4)_0x22fdb8[_0x9a201a(0x5b6)](_0x4ed3a2());return new _0x4374ec['init'](_0x22fdb8,_0x166245);}}),_0x420da7=_0x11356f['enc']={},_0x45020c=_0x420da7[_0x342717(0x590)]={'stringify':function(_0x2883c2){const _0x1dd945=_0x342717;for(var _0x5c9934=_0x2883c2[_0x1dd945(0x1f8)],_0xe04588=_0x2883c2[_0x1dd945(0x204)],_0x29eb9a=[],_0x673939=0x0;_0x673939<_0xe04588;_0x673939++){var _0x292e63=_0x5c9934[_0x673939>>>0x2]>>>0x18-_0x673939%0x4*0x8&0xff;_0x29eb9a[_0x1dd945(0x5b6)]((_0x292e63>>>0x4)['toString'](0x10)),_0x29eb9a[_0x1dd945(0x5b6)]((_0x292e63&0xf)[_0x1dd945(0x522)](0x10));}return _0x29eb9a[_0x1dd945(0x3f1)]('');},'parse':function(_0x4455fb){const _0x56b1cf=_0x342717;for(var _0x531d5a=_0x4455fb[_0x56b1cf(0x41f)],_0x39cbbe=[],_0x3cec0f=0x0;_0x3cec0f<_0x531d5a;_0x3cec0f+=0x2)_0x39cbbe[_0x3cec0f>>>0x3]|=parseInt(_0x4455fb['substr'](_0x3cec0f,0x2),0x10)<<0x18-_0x3cec0f%0x8*0x4;return new _0x4374ec['init'](_0x39cbbe,_0x531d5a/0x2);}},_0x2722e6=_0x420da7[_0x342717(0x3da)]={'stringify':function(_0x14e460){const _0x2edeb7=_0x342717;for(var _0x5868b3=_0x14e460[_0x2edeb7(0x1f8)],_0x402493=_0x14e460[_0x2edeb7(0x204)],_0x2f2c36=[],_0x2b9b42=0x0;_0x2b9b42<_0x402493;_0x2b9b42++){var _0x4f5864=_0x5868b3[_0x2b9b42>>>0x2]>>>0x18-_0x2b9b42%0x4*0x8&0xff;_0x2f2c36[_0x2edeb7(0x5b6)](String['fromCharCode'](_0x4f5864));}return _0x2f2c36[_0x2edeb7(0x3f1)]('');},'parse':function(_0x594d26){const _0xf7cc90=_0x342717;for(var _0x5f3ea4=_0x594d26[_0xf7cc90(0x41f)],_0x38243b=[],_0x389135=0x0;_0x389135<_0x5f3ea4;_0x389135++)_0x38243b[_0x389135>>>0x2]|=(_0x594d26[_0xf7cc90(0x263)](_0x389135)&0xff)<<0x18-_0x389135%0x4*0x8;return new _0x4374ec[(_0xf7cc90(0x5b2))](_0x38243b,_0x5f3ea4);}},_0x50874c=_0x420da7[_0x342717(0x1e0)]={'stringify':function(_0x1384b1){const _0x53b8c0=_0x342717;try{return decodeURIComponent(escape(_0x2722e6[_0x53b8c0(0x434)](_0x1384b1)));}catch{throw new Error(_0x53b8c0(0x3ad));}},'parse':function(_0x1b279f){const _0x46863c=_0x342717;return _0x2722e6[_0x46863c(0x46c)](unescape(encodeURIComponent(_0x1b279f)));}},_0x291196=_0x4418b6[_0x342717(0x58b)]=_0x52d18e[_0x342717(0x592)]({'reset':function(){const _0xf61f6a=_0x342717;this['_data']=new _0x4374ec['init'](),this[_0xf61f6a(0x2fc)]=0x0;},'_append':function(_0x5a247c){const _0x4981c3=_0x342717;typeof _0x5a247c==_0x4981c3(0x54c)&&(_0x5a247c=_0x50874c['parse'](_0x5a247c)),this[_0x4981c3(0x221)]['concat'](_0x5a247c),this[_0x4981c3(0x2fc)]+=_0x5a247c['sigBytes'];},'_process':function(_0x50ecf0){const _0x2f875f=_0x342717;var _0x1f7a4e,_0x439171=this[_0x2f875f(0x221)],_0x15c367=_0x439171[_0x2f875f(0x1f8)],_0x5c14a6=_0x439171[_0x2f875f(0x204)],_0x31045f=this[_0x2f875f(0x565)],_0x30c00c=_0x31045f*0x4,_0x475e74=_0x5c14a6/_0x30c00c;_0x50ecf0?_0x475e74=_0x5e1cf1[_0x2f875f(0x223)](_0x475e74):_0x475e74=_0x5e1cf1[_0x2f875f(0x43d)]((_0x475e74|0x0)-this[_0x2f875f(0x42f)],0x0);var _0x497d75=_0x475e74*_0x31045f,_0x3f476b=_0x5e1cf1[_0x2f875f(0x4a3)](_0x497d75*0x4,_0x5c14a6);if(_0x497d75){for(var _0x4e4053=0x0;_0x4e4053<_0x497d75;_0x4e4053+=_0x31045f)this[_0x2f875f(0x43f)](_0x15c367,_0x4e4053);_0x1f7a4e=_0x15c367[_0x2f875f(0x4b1)](0x0,_0x497d75),_0x439171[_0x2f875f(0x204)]-=_0x3f476b;}return new _0x4374ec[(_0x2f875f(0x5b2))](_0x1f7a4e,_0x3f476b);},'clone':function(){const _0x2f9d14=_0x342717;var _0x3c8e17=_0x52d18e[_0x2f9d14(0x227)][_0x2f9d14(0x477)](this);return _0x3c8e17[_0x2f9d14(0x221)]=this[_0x2f9d14(0x221)][_0x2f9d14(0x227)](),_0x3c8e17;},'_minBufferSize':0x0});_0x4418b6[_0x342717(0x2a6)]=_0x291196['extend']({'cfg':_0x52d18e[_0x342717(0x592)](),'init':function(_0x4f09ee){const _0x2036da=_0x342717;this[_0x2036da(0x345)]=this[_0x2036da(0x345)][_0x2036da(0x592)](_0x4f09ee),this['reset']();},'reset':function(){const _0xe63a43=_0x342717;_0x291196['reset'][_0xe63a43(0x477)](this),this[_0xe63a43(0x543)]();},'update':function(_0x44e613){const _0x655106=_0x342717;return this[_0x655106(0x23c)](_0x44e613),this[_0x655106(0x43e)](),this;},'finalize':function(_0x2000d2){const _0x1467cc=_0x342717;_0x2000d2&&this[_0x1467cc(0x23c)](_0x2000d2);var _0x21c648=this[_0x1467cc(0x1ef)]();return _0x21c648;},'blockSize':0x10,'_createHelper':function(_0x38448b){return function(_0xad1c02,_0x41a4aa){const _0x7ee3ea=_0x1c89;return new _0x38448b[(_0x7ee3ea(0x5b2))](_0x41a4aa)['finalize'](_0xad1c02);};},'_createHmacHelper':function(_0x30b5a2){return function(_0x2ca812,_0x65c083){const _0xfa1f8a=_0x1c89;return new _0xabc305[(_0xfa1f8a(0x256))][(_0xfa1f8a(0x5b2))](_0x30b5a2,_0x65c083)[_0xfa1f8a(0x20a)](_0x2ca812);};}});var _0xabc305=_0x11356f['algo']={};return _0x11356f;}(Math);return _0x4cee9f;}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Bi(){const _0x4100f9=_0x55040e;return Js||(Js=0x1,function(_0x1981d3,_0x317f43){(function(_0x37c2d9,_0x45cf4b){_0x1981d3['exports']=_0x45cf4b(ue());}(Z,function(_0x24e9d3){const _0x239db2=_0x1c89;return(function(){const _0x6eee55=_0x1c89;var _0x68bbe8=_0x24e9d3,_0x53848e=_0x68bbe8[_0x6eee55(0x53b)],_0xa4ff8a=_0x53848e[_0x6eee55(0x295)],_0x4d5e53=_0x68bbe8[_0x6eee55(0x381)];_0x4d5e53[_0x6eee55(0x3c0)]={'stringify':function(_0x261436){const _0x178198=_0x6eee55;var _0x1ceff3=_0x261436['words'],_0x5da3d7=_0x261436[_0x178198(0x204)],_0x58633d=this[_0x178198(0x3d6)];_0x261436[_0x178198(0x457)]();for(var _0x3f283c=[],_0x17a46c=0x0;_0x17a46c<_0x5da3d7;_0x17a46c+=0x3)for(var _0x127840=_0x1ceff3[_0x17a46c>>>0x2]>>>0x18-_0x17a46c%0x4*0x8&0xff,_0x5e3f6e=_0x1ceff3[_0x17a46c+0x1>>>0x2]>>>0x18-(_0x17a46c+0x1)%0x4*0x8&0xff,_0x2ab812=_0x1ceff3[_0x17a46c+0x2>>>0x2]>>>0x18-(_0x17a46c+0x2)%0x4*0x8&0xff,_0x3246f5=_0x127840<<0x10|_0x5e3f6e<<0x8|_0x2ab812,_0x5bd3e4=0x0;_0x5bd3e4<0x4&&_0x17a46c+_0x5bd3e4*0.75<_0x5da3d7;_0x5bd3e4++)_0x3f283c['push'](_0x58633d['charAt'](_0x3246f5>>>0x6*(0x3-_0x5bd3e4)&0x3f));var _0x5b5c08=_0x58633d[_0x178198(0x344)](0x40);if(_0x5b5c08){for(;_0x3f283c['length']%0x4;)_0x3f283c[_0x178198(0x5b6)](_0x5b5c08);}return _0x3f283c[_0x178198(0x3f1)]('');},'parse':function(_0x160989){const _0x33e9db=_0x6eee55;var _0x277fbc=_0x160989['length'],_0x4257c1=this[_0x33e9db(0x3d6)],_0x5afd99=this['_reverseMap'];if(!_0x5afd99){_0x5afd99=this[_0x33e9db(0x274)]=[];for(var _0xcb80f0=0x0;_0xcb80f0<_0x4257c1['length'];_0xcb80f0++)_0x5afd99[_0x4257c1[_0x33e9db(0x263)](_0xcb80f0)]=_0xcb80f0;}var _0x475ac8=_0x4257c1['charAt'](0x40);if(_0x475ac8){var _0x2cdd5f=_0x160989[_0x33e9db(0x289)](_0x475ac8);_0x2cdd5f!==-0x1&&(_0x277fbc=_0x2cdd5f);}return _0x26f985(_0x160989,_0x277fbc,_0x5afd99);},'_map':_0x6eee55(0x4cf)};function _0x26f985(_0x46c86d,_0x3faf0c,_0x16c61e){const _0x591854=_0x6eee55;for(var _0xd9cb95=[],_0x4de85e=0x0,_0x519311=0x0;_0x519311<_0x3faf0c;_0x519311++)if(_0x519311%0x4){var _0xfdedf1=_0x16c61e[_0x46c86d[_0x591854(0x263)](_0x519311-0x1)]<<_0x519311%0x4*0x2,_0x25c819=_0x16c61e[_0x46c86d[_0x591854(0x263)](_0x519311)]>>>0x6-_0x519311%0x4*0x2,_0x263eea=_0xfdedf1|_0x25c819;_0xd9cb95[_0x4de85e>>>0x2]|=_0x263eea<<0x18-_0x4de85e%0x4*0x8,_0x4de85e++;}return _0xa4ff8a[_0x591854(0x451)](_0xd9cb95,_0x4de85e);}}()),_0x24e9d3[_0x239db2(0x381)][_0x239db2(0x3c0)];}));}(Vt)),Vt[_0x4100f9(0x56b)];}var Gt={'exports':{}},Zs;function Ma(){const _0xe52a66=_0x55040e;return Zs||(Zs=0x1,function(_0x25e037,_0x1d88ed){(function(_0x2f5151,_0x1c9b78){_0x25e037['exports']=_0x1c9b78(ue());}(Z,function(_0x2debc3){const _0x10d751=_0x1c89;return function(_0x5dc482){const _0x4d1bea=_0x1c89;var _0x4254ad=_0x2debc3,_0x49b126=_0x4254ad[_0x4d1bea(0x53b)],_0x3f2174=_0x49b126[_0x4d1bea(0x295)],_0x371a92=_0x49b126['Hasher'],_0x1978f7=_0x4254ad[_0x4d1bea(0x273)],_0x1433f4=[];(function(){const _0x1505a1=_0x4d1bea;for(var _0x30f166=0x0;_0x30f166<0x40;_0x30f166++)_0x1433f4[_0x30f166]=_0x5dc482[_0x1505a1(0x32d)](_0x5dc482[_0x1505a1(0x24e)](_0x30f166+0x1))*0x100000000|0x0;}());var _0x366563=_0x1978f7[_0x4d1bea(0x380)]=_0x371a92[_0x4d1bea(0x592)]({'_doReset':function(){const _0x21070b=_0x4d1bea;this[_0x21070b(0x5a2)]=new _0x3f2174['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x59f4cf,_0x22ea72){const _0x4cb3a2=_0x4d1bea;for(var _0x405ea7=0x0;_0x405ea7<0x10;_0x405ea7++){var _0x1518f8=_0x22ea72+_0x405ea7,_0x53d4c5=_0x59f4cf[_0x1518f8];_0x59f4cf[_0x1518f8]=(_0x53d4c5<<0x8|_0x53d4c5>>>0x18)&0xff00ff|(_0x53d4c5<<0x18|_0x53d4c5>>>0x8)&0xff00ff00;}var _0xf92164=this['_hash'][_0x4cb3a2(0x1f8)],_0x1aac95=_0x59f4cf[_0x22ea72+0x0],_0x3510a5=_0x59f4cf[_0x22ea72+0x1],_0x31e677=_0x59f4cf[_0x22ea72+0x2],_0xc7b6ae=_0x59f4cf[_0x22ea72+0x3],_0x3a92d1=_0x59f4cf[_0x22ea72+0x4],_0x5b00fe=_0x59f4cf[_0x22ea72+0x5],_0x22ede9=_0x59f4cf[_0x22ea72+0x6],_0x4b7070=_0x59f4cf[_0x22ea72+0x7],_0x7155a1=_0x59f4cf[_0x22ea72+0x8],_0x5e4af0=_0x59f4cf[_0x22ea72+0x9],_0x5b6ce4=_0x59f4cf[_0x22ea72+0xa],_0x21e341=_0x59f4cf[_0x22ea72+0xb],_0x56be0c=_0x59f4cf[_0x22ea72+0xc],_0x46f017=_0x59f4cf[_0x22ea72+0xd],_0x233a11=_0x59f4cf[_0x22ea72+0xe],_0x50202e=_0x59f4cf[_0x22ea72+0xf],_0x33fa5e=_0xf92164[0x0],_0xfb6e2a=_0xf92164[0x1],_0x10540e=_0xf92164[0x2],_0x409155=_0xf92164[0x3];_0x33fa5e=_0x510d29(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x1aac95,0x7,_0x1433f4[0x0]),_0x409155=_0x510d29(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x3510a5,0xc,_0x1433f4[0x1]),_0x10540e=_0x510d29(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x31e677,0x11,_0x1433f4[0x2]),_0xfb6e2a=_0x510d29(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0xc7b6ae,0x16,_0x1433f4[0x3]),_0x33fa5e=_0x510d29(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x3a92d1,0x7,_0x1433f4[0x4]),_0x409155=_0x510d29(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x5b00fe,0xc,_0x1433f4[0x5]),_0x10540e=_0x510d29(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x22ede9,0x11,_0x1433f4[0x6]),_0xfb6e2a=_0x510d29(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x4b7070,0x16,_0x1433f4[0x7]),_0x33fa5e=_0x510d29(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x7155a1,0x7,_0x1433f4[0x8]),_0x409155=_0x510d29(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x5e4af0,0xc,_0x1433f4[0x9]),_0x10540e=_0x510d29(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x5b6ce4,0x11,_0x1433f4[0xa]),_0xfb6e2a=_0x510d29(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x21e341,0x16,_0x1433f4[0xb]),_0x33fa5e=_0x510d29(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x56be0c,0x7,_0x1433f4[0xc]),_0x409155=_0x510d29(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x46f017,0xc,_0x1433f4[0xd]),_0x10540e=_0x510d29(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x233a11,0x11,_0x1433f4[0xe]),_0xfb6e2a=_0x510d29(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x50202e,0x16,_0x1433f4[0xf]),_0x33fa5e=_0x57b5ff(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x3510a5,0x5,_0x1433f4[0x10]),_0x409155=_0x57b5ff(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x22ede9,0x9,_0x1433f4[0x11]),_0x10540e=_0x57b5ff(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x21e341,0xe,_0x1433f4[0x12]),_0xfb6e2a=_0x57b5ff(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x1aac95,0x14,_0x1433f4[0x13]),_0x33fa5e=_0x57b5ff(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x5b00fe,0x5,_0x1433f4[0x14]),_0x409155=_0x57b5ff(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x5b6ce4,0x9,_0x1433f4[0x15]),_0x10540e=_0x57b5ff(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x50202e,0xe,_0x1433f4[0x16]),_0xfb6e2a=_0x57b5ff(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x3a92d1,0x14,_0x1433f4[0x17]),_0x33fa5e=_0x57b5ff(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x5e4af0,0x5,_0x1433f4[0x18]),_0x409155=_0x57b5ff(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x233a11,0x9,_0x1433f4[0x19]),_0x10540e=_0x57b5ff(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0xc7b6ae,0xe,_0x1433f4[0x1a]),_0xfb6e2a=_0x57b5ff(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x7155a1,0x14,_0x1433f4[0x1b]),_0x33fa5e=_0x57b5ff(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x46f017,0x5,_0x1433f4[0x1c]),_0x409155=_0x57b5ff(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x31e677,0x9,_0x1433f4[0x1d]),_0x10540e=_0x57b5ff(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x4b7070,0xe,_0x1433f4[0x1e]),_0xfb6e2a=_0x57b5ff(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x56be0c,0x14,_0x1433f4[0x1f]),_0x33fa5e=_0x405641(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x5b00fe,0x4,_0x1433f4[0x20]),_0x409155=_0x405641(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x7155a1,0xb,_0x1433f4[0x21]),_0x10540e=_0x405641(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x21e341,0x10,_0x1433f4[0x22]),_0xfb6e2a=_0x405641(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x233a11,0x17,_0x1433f4[0x23]),_0x33fa5e=_0x405641(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x3510a5,0x4,_0x1433f4[0x24]),_0x409155=_0x405641(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x3a92d1,0xb,_0x1433f4[0x25]),_0x10540e=_0x405641(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x4b7070,0x10,_0x1433f4[0x26]),_0xfb6e2a=_0x405641(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x5b6ce4,0x17,_0x1433f4[0x27]),_0x33fa5e=_0x405641(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x46f017,0x4,_0x1433f4[0x28]),_0x409155=_0x405641(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x1aac95,0xb,_0x1433f4[0x29]),_0x10540e=_0x405641(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0xc7b6ae,0x10,_0x1433f4[0x2a]),_0xfb6e2a=_0x405641(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x22ede9,0x17,_0x1433f4[0x2b]),_0x33fa5e=_0x405641(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x5e4af0,0x4,_0x1433f4[0x2c]),_0x409155=_0x405641(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x56be0c,0xb,_0x1433f4[0x2d]),_0x10540e=_0x405641(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x50202e,0x10,_0x1433f4[0x2e]),_0xfb6e2a=_0x405641(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x31e677,0x17,_0x1433f4[0x2f]),_0x33fa5e=_0x52a49b(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x1aac95,0x6,_0x1433f4[0x30]),_0x409155=_0x52a49b(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x4b7070,0xa,_0x1433f4[0x31]),_0x10540e=_0x52a49b(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x233a11,0xf,_0x1433f4[0x32]),_0xfb6e2a=_0x52a49b(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x5b00fe,0x15,_0x1433f4[0x33]),_0x33fa5e=_0x52a49b(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x56be0c,0x6,_0x1433f4[0x34]),_0x409155=_0x52a49b(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0xc7b6ae,0xa,_0x1433f4[0x35]),_0x10540e=_0x52a49b(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x5b6ce4,0xf,_0x1433f4[0x36]),_0xfb6e2a=_0x52a49b(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x3510a5,0x15,_0x1433f4[0x37]),_0x33fa5e=_0x52a49b(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x7155a1,0x6,_0x1433f4[0x38]),_0x409155=_0x52a49b(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x50202e,0xa,_0x1433f4[0x39]),_0x10540e=_0x52a49b(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x22ede9,0xf,_0x1433f4[0x3a]),_0xfb6e2a=_0x52a49b(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x46f017,0x15,_0x1433f4[0x3b]),_0x33fa5e=_0x52a49b(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x3a92d1,0x6,_0x1433f4[0x3c]),_0x409155=_0x52a49b(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x21e341,0xa,_0x1433f4[0x3d]),_0x10540e=_0x52a49b(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x31e677,0xf,_0x1433f4[0x3e]),_0xfb6e2a=_0x52a49b(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x5e4af0,0x15,_0x1433f4[0x3f]),_0xf92164[0x0]=_0xf92164[0x0]+_0x33fa5e|0x0,_0xf92164[0x1]=_0xf92164[0x1]+_0xfb6e2a|0x0,_0xf92164[0x2]=_0xf92164[0x2]+_0x10540e|0x0,_0xf92164[0x3]=_0xf92164[0x3]+_0x409155|0x0;},'_doFinalize':function(){const _0x5a78e8=_0x4d1bea;var _0x5bd882=this[_0x5a78e8(0x221)],_0x4ffb8a=_0x5bd882[_0x5a78e8(0x1f8)],_0x3432a1=this['_nDataBytes']*0x8,_0x28b99d=_0x5bd882[_0x5a78e8(0x204)]*0x8;_0x4ffb8a[_0x28b99d>>>0x5]|=0x80<<0x18-_0x28b99d%0x20;var _0x550207=_0x5dc482[_0x5a78e8(0x2ef)](_0x3432a1/0x100000000),_0x5b723d=_0x3432a1;_0x4ffb8a[(_0x28b99d+0x40>>>0x9<<0x4)+0xf]=(_0x550207<<0x8|_0x550207>>>0x18)&0xff00ff|(_0x550207<<0x18|_0x550207>>>0x8)&0xff00ff00,_0x4ffb8a[(_0x28b99d+0x40>>>0x9<<0x4)+0xe]=(_0x5b723d<<0x8|_0x5b723d>>>0x18)&0xff00ff|(_0x5b723d<<0x18|_0x5b723d>>>0x8)&0xff00ff00,_0x5bd882[_0x5a78e8(0x204)]=(_0x4ffb8a['length']+0x1)*0x4,this[_0x5a78e8(0x43e)]();for(var _0x222798=this['_hash'],_0x2ebe5c=_0x222798[_0x5a78e8(0x1f8)],_0x16f7c7=0x0;_0x16f7c7<0x4;_0x16f7c7++){var _0x3dd5c1=_0x2ebe5c[_0x16f7c7];_0x2ebe5c[_0x16f7c7]=(_0x3dd5c1<<0x8|_0x3dd5c1>>>0x18)&0xff00ff|(_0x3dd5c1<<0x18|_0x3dd5c1>>>0x8)&0xff00ff00;}return _0x222798;},'clone':function(){const _0x1aa69f=_0x4d1bea;var _0x8b2967=_0x371a92[_0x1aa69f(0x227)][_0x1aa69f(0x477)](this);return _0x8b2967[_0x1aa69f(0x5a2)]=this[_0x1aa69f(0x5a2)]['clone'](),_0x8b2967;}});function _0x510d29(_0x15f236,_0x5dc1e9,_0xe2f50,_0x42c41a,_0x4a389b,_0x2934a2,_0x204b92){var _0x4b5a82=_0x15f236+(_0x5dc1e9&_0xe2f50|~_0x5dc1e9&_0x42c41a)+_0x4a389b+_0x204b92;return(_0x4b5a82<<_0x2934a2|_0x4b5a82>>>0x20-_0x2934a2)+_0x5dc1e9;}function _0x57b5ff(_0x512465,_0x2d81d4,_0xa34f3e,_0x13660b,_0x4c7f38,_0x289184,_0x1ea5b5){var _0x50bdd1=_0x512465+(_0x2d81d4&_0x13660b|_0xa34f3e&~_0x13660b)+_0x4c7f38+_0x1ea5b5;return(_0x50bdd1<<_0x289184|_0x50bdd1>>>0x20-_0x289184)+_0x2d81d4;}function _0x405641(_0xc9bc10,_0x9d4c8a,_0x41cc65,_0x1e443b,_0x17846e,_0x2e920d,_0x492179){var _0x3684af=_0xc9bc10+(_0x9d4c8a^_0x41cc65^_0x1e443b)+_0x17846e+_0x492179;return(_0x3684af<<_0x2e920d|_0x3684af>>>0x20-_0x2e920d)+_0x9d4c8a;}function _0x52a49b(_0x3dd423,_0x4a4345,_0x2182fc,_0x3b2771,_0x4c0b78,_0x127e2a,_0x146ca8){var _0x44548e=_0x3dd423+(_0x2182fc^(_0x4a4345|~_0x3b2771))+_0x4c0b78+_0x146ca8;return(_0x44548e<<_0x127e2a|_0x44548e>>>0x20-_0x127e2a)+_0x4a4345;}_0x4254ad[_0x4d1bea(0x380)]=_0x371a92[_0x4d1bea(0x542)](_0x366563),_0x4254ad[_0x4d1bea(0x533)]=_0x371a92[_0x4d1bea(0x409)](_0x366563);}(Math),_0x2debc3[_0x10d751(0x380)];}));}(Gt)),Gt[_0xe52a66(0x56b)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x39d0c7=_0x55040e;return Qs||(Qs=0x1,function(_0x286292,_0xbdac0f){(function(_0x4332ac,_0x1a381f){const _0x35cf53=_0x1c89;_0x286292[_0x35cf53(0x56b)]=_0x1a381f(ue());}(Z,function(_0x55ef61){const _0xb4caa7=_0x1c89;return(function(){const _0x2ca0d8=_0x1c89;var _0x1d81b1=_0x55ef61,_0xcf10df=_0x1d81b1['lib'],_0x4953b8=_0xcf10df['WordArray'],_0x586393=_0xcf10df[_0x2ca0d8(0x2a6)],_0x483740=_0x1d81b1[_0x2ca0d8(0x273)],_0x3f5a21=[],_0x2b401e=_0x483740[_0x2ca0d8(0x51b)]=_0x586393[_0x2ca0d8(0x592)]({'_doReset':function(){const _0x1e982c=_0x2ca0d8;this[_0x1e982c(0x5a2)]=new _0x4953b8[(_0x1e982c(0x5b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7f33b4,_0x59fdbd){for(var _0x3934d2=this['_hash']['words'],_0x2bf370=_0x3934d2[0x0],_0x25861c=_0x3934d2[0x1],_0x2d13b9=_0x3934d2[0x2],_0x11998b=_0x3934d2[0x3],_0x114600=_0x3934d2[0x4],_0x22257f=0x0;_0x22257f<0x50;_0x22257f++){if(_0x22257f<0x10)_0x3f5a21[_0x22257f]=_0x7f33b4[_0x59fdbd+_0x22257f]|0x0;else{var _0x4d313d=_0x3f5a21[_0x22257f-0x3]^_0x3f5a21[_0x22257f-0x8]^_0x3f5a21[_0x22257f-0xe]^_0x3f5a21[_0x22257f-0x10];_0x3f5a21[_0x22257f]=_0x4d313d<<0x1|_0x4d313d>>>0x1f;}var _0x128771=(_0x2bf370<<0x5|_0x2bf370>>>0x1b)+_0x114600+_0x3f5a21[_0x22257f];_0x22257f<0x14?_0x128771+=(_0x25861c&_0x2d13b9|~_0x25861c&_0x11998b)+0x5a827999:_0x22257f<0x28?_0x128771+=(_0x25861c^_0x2d13b9^_0x11998b)+0x6ed9eba1:_0x22257f<0x3c?_0x128771+=(_0x25861c&_0x2d13b9|_0x25861c&_0x11998b|_0x2d13b9&_0x11998b)-0x70e44324:_0x128771+=(_0x25861c^_0x2d13b9^_0x11998b)-0x359d3e2a,_0x114600=_0x11998b,_0x11998b=_0x2d13b9,_0x2d13b9=_0x25861c<<0x1e|_0x25861c>>>0x2,_0x25861c=_0x2bf370,_0x2bf370=_0x128771;}_0x3934d2[0x0]=_0x3934d2[0x0]+_0x2bf370|0x0,_0x3934d2[0x1]=_0x3934d2[0x1]+_0x25861c|0x0,_0x3934d2[0x2]=_0x3934d2[0x2]+_0x2d13b9|0x0,_0x3934d2[0x3]=_0x3934d2[0x3]+_0x11998b|0x0,_0x3934d2[0x4]=_0x3934d2[0x4]+_0x114600|0x0;},'_doFinalize':function(){const _0x5588f4=_0x2ca0d8;var _0xf0dd37=this[_0x5588f4(0x221)],_0x47b2ad=_0xf0dd37['words'],_0x1a7459=this['_nDataBytes']*0x8,_0x5629be=_0xf0dd37['sigBytes']*0x8;return _0x47b2ad[_0x5629be>>>0x5]|=0x80<<0x18-_0x5629be%0x20,_0x47b2ad[(_0x5629be+0x40>>>0x9<<0x4)+0xe]=Math[_0x5588f4(0x2ef)](_0x1a7459/0x100000000),_0x47b2ad[(_0x5629be+0x40>>>0x9<<0x4)+0xf]=_0x1a7459,_0xf0dd37[_0x5588f4(0x204)]=_0x47b2ad['length']*0x4,this[_0x5588f4(0x43e)](),this['_hash'];},'clone':function(){const _0x570568=_0x2ca0d8;var _0x546479=_0x586393['clone']['call'](this);return _0x546479[_0x570568(0x5a2)]=this[_0x570568(0x5a2)][_0x570568(0x227)](),_0x546479;}});_0x1d81b1['SHA1']=_0x586393['_createHelper'](_0x2b401e),_0x1d81b1[_0x2ca0d8(0x560)]=_0x586393[_0x2ca0d8(0x409)](_0x2b401e);}()),_0x55ef61[_0xb4caa7(0x51b)];}));}(Kt)),Kt[_0x39d0c7(0x56b)];}var zt={'exports':{}},ei;function La(){return ei||(ei=0x1,function(_0x1b656c,_0x3406a2){(function(_0x120aea,_0x52fad2){const _0x1b3bea=_0x1c89;_0x1b656c[_0x1b3bea(0x56b)]=_0x52fad2(ue());}(Z,function(_0x9760ec){(function(){const _0x5e4742=_0x1c89;var _0x4e3ed0=_0x9760ec,_0x4fa68e=_0x4e3ed0[_0x5e4742(0x53b)],_0x509dfb=_0x4fa68e[_0x5e4742(0x20d)],_0x242084=_0x4e3ed0[_0x5e4742(0x381)],_0x3ae5df=_0x242084[_0x5e4742(0x1e0)],_0x201ac9=_0x4e3ed0['algo'];_0x201ac9['HMAC']=_0x509dfb[_0x5e4742(0x592)]({'init':function(_0x579862,_0x5ecd28){const _0x18644f=_0x5e4742;_0x579862=this['_hasher']=new _0x579862['init'](),typeof _0x5ecd28==_0x18644f(0x54c)&&(_0x5ecd28=_0x3ae5df[_0x18644f(0x46c)](_0x5ecd28));var _0x5d6c27=_0x579862[_0x18644f(0x565)],_0x4f0133=_0x5d6c27*0x4;_0x5ecd28[_0x18644f(0x204)]>_0x4f0133&&(_0x5ecd28=_0x579862[_0x18644f(0x20a)](_0x5ecd28)),_0x5ecd28[_0x18644f(0x457)]();for(var _0x1e5ec1=this[_0x18644f(0x36c)]=_0x5ecd28[_0x18644f(0x227)](),_0x296ec8=this['_iKey']=_0x5ecd28[_0x18644f(0x227)](),_0x2115df=_0x1e5ec1['words'],_0x4f41d7=_0x296ec8['words'],_0x2a64c8=0x0;_0x2a64c8<_0x5d6c27;_0x2a64c8++)_0x2115df[_0x2a64c8]^=0x5c5c5c5c,_0x4f41d7[_0x2a64c8]^=0x36363636;_0x1e5ec1[_0x18644f(0x204)]=_0x296ec8[_0x18644f(0x204)]=_0x4f0133,this[_0x18644f(0x231)]();},'reset':function(){const _0x5ab8a3=_0x5e4742;var _0x4e8f48=this[_0x5ab8a3(0x598)];_0x4e8f48[_0x5ab8a3(0x231)](),_0x4e8f48['update'](this[_0x5ab8a3(0x3d0)]);},'update':function(_0x5b8460){const _0x2927ef=_0x5e4742;return this['_hasher'][_0x2927ef(0x2db)](_0x5b8460),this;},'finalize':function(_0x181e3d){const _0x410b43=_0x5e4742;var _0x446657=this[_0x410b43(0x598)],_0x1fbaed=_0x446657['finalize'](_0x181e3d);_0x446657[_0x410b43(0x231)]();var _0x4d5331=_0x446657[_0x410b43(0x20a)](this[_0x410b43(0x36c)][_0x410b43(0x227)]()[_0x410b43(0x4bd)](_0x1fbaed));return _0x4d5331;}});}());}));}(zt)),zt['exports'];}var ti;function ki(){const _0x1a167e=_0x55040e;return ti||(ti=0x1,function(_0x2d1d31,_0x5bc9a9){(function(_0x2b61da,_0x14049c,_0x3f1b1c){const _0x117622=_0x1c89;_0x2d1d31[_0x117622(0x56b)]=_0x14049c(ue(),xa(),La());}(Z,function(_0x192e31){const _0x4adcd9=_0x1c89;return(function(){const _0x3397ce=_0x1c89;var _0x56f93b=_0x192e31,_0x2cffff=_0x56f93b[_0x3397ce(0x53b)],_0x42522d=_0x2cffff[_0x3397ce(0x20d)],_0x617024=_0x2cffff[_0x3397ce(0x295)],_0x4d69d3=_0x56f93b['algo'],_0x17da87=_0x4d69d3['MD5'],_0x27c746=_0x4d69d3[_0x3397ce(0x307)]=_0x42522d[_0x3397ce(0x592)]({'cfg':_0x42522d['extend']({'keySize':0x80/0x20,'hasher':_0x17da87,'iterations':0x1}),'init':function(_0x5a35cd){const _0x43b0c6=_0x3397ce;this[_0x43b0c6(0x345)]=this[_0x43b0c6(0x345)][_0x43b0c6(0x592)](_0x5a35cd);},'compute':function(_0x52730f,_0x5696ce){const _0x431a50=_0x3397ce;for(var _0x55ca52,_0x3f6d2e=this[_0x431a50(0x345)],_0xd28b24=_0x3f6d2e['hasher'][_0x431a50(0x451)](),_0x4e6e8e=_0x617024[_0x431a50(0x451)](),_0x2723e5=_0x4e6e8e[_0x431a50(0x1f8)],_0x303bab=_0x3f6d2e['keySize'],_0x181bd4=_0x3f6d2e['iterations'];_0x2723e5['length']<_0x303bab;){_0x55ca52&&_0xd28b24[_0x431a50(0x2db)](_0x55ca52),_0x55ca52=_0xd28b24[_0x431a50(0x2db)](_0x52730f)[_0x431a50(0x20a)](_0x5696ce),_0xd28b24[_0x431a50(0x231)]();for(var _0x47911c=0x1;_0x47911c<_0x181bd4;_0x47911c++)_0x55ca52=_0xd28b24[_0x431a50(0x20a)](_0x55ca52),_0xd28b24[_0x431a50(0x231)]();_0x4e6e8e[_0x431a50(0x4bd)](_0x55ca52);}return _0x4e6e8e[_0x431a50(0x204)]=_0x303bab*0x4,_0x4e6e8e;}});_0x56f93b['EvpKDF']=function(_0x37eac1,_0x1613b1,_0x1278d9){const _0x86caaf=_0x3397ce;return _0x27c746[_0x86caaf(0x451)](_0x1278d9)[_0x86caaf(0x587)](_0x37eac1,_0x1613b1);};}()),_0x192e31[_0x4adcd9(0x307)];}));}(Yt)),Yt[_0x1a167e(0x56b)];}var qt={'exports':{}},si;function Wi(){const _0x43cdeb=_0x55040e;return si||(si=0x1,function(_0x33bfd1,_0x236f37){(function(_0x985866,_0x96a0d5,_0x5a049d){const _0x43cf21=_0x1c89;_0x33bfd1[_0x43cf21(0x56b)]=_0x96a0d5(ue(),ki());}(Z,function(_0x5c9e5e){const _0x483705=_0x1c89;_0x5c9e5e[_0x483705(0x53b)][_0x483705(0x437)]||function(_0x1e911c){const _0x344896=_0x483705;var _0xb56bd8=_0x5c9e5e,_0x4b61e0=_0xb56bd8[_0x344896(0x53b)],_0x35af8d=_0x4b61e0[_0x344896(0x20d)],_0xa55ae7=_0x4b61e0[_0x344896(0x295)],_0x4c8cd0=_0x4b61e0['BufferedBlockAlgorithm'],_0x80408f=_0xb56bd8[_0x344896(0x381)];_0x80408f[_0x344896(0x1e0)];var _0x24d5e0=_0x80408f[_0x344896(0x3c0)],_0x182021=_0xb56bd8['algo'],_0xa752b9=_0x182021[_0x344896(0x307)],_0x144b76=_0x4b61e0[_0x344896(0x437)]=_0x4c8cd0[_0x344896(0x592)]({'cfg':_0x35af8d[_0x344896(0x592)](),'createEncryptor':function(_0x2981a6,_0x47279a){const _0x4136e4=_0x344896;return this[_0x4136e4(0x451)](this[_0x4136e4(0x2fd)],_0x2981a6,_0x47279a);},'createDecryptor':function(_0xfef7f2,_0x4ecf85){const _0xcd1b9d=_0x344896;return this[_0xcd1b9d(0x451)](this[_0xcd1b9d(0x46e)],_0xfef7f2,_0x4ecf85);},'init':function(_0x19a650,_0x3fc0b9,_0x1db85b){const _0x2a15d7=_0x344896;this[_0x2a15d7(0x345)]=this[_0x2a15d7(0x345)]['extend'](_0x1db85b),this[_0x2a15d7(0x248)]=_0x19a650,this[_0x2a15d7(0x28b)]=_0x3fc0b9,this['reset']();},'reset':function(){const _0x50f3df=_0x344896;_0x4c8cd0[_0x50f3df(0x231)][_0x50f3df(0x477)](this),this[_0x50f3df(0x543)]();},'process':function(_0x55704e){const _0x257067=_0x344896;return this[_0x257067(0x23c)](_0x55704e),this['_process']();},'finalize':function(_0xd44a5d){const _0x3be7df=_0x344896;_0xd44a5d&&this[_0x3be7df(0x23c)](_0xd44a5d);var _0x3a09a2=this[_0x3be7df(0x1ef)]();return _0x3a09a2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2dbc90(_0x357130){const _0x1db1d6=_0x1c89;return typeof _0x357130==_0x1db1d6(0x54c)?_0x2e4618:_0x57fd8d;}return function(_0xfbb203){return{'encrypt':function(_0x37ed04,_0x3d570c,_0x167465){return _0x2dbc90(_0x3d570c)['encrypt'](_0xfbb203,_0x37ed04,_0x3d570c,_0x167465);},'decrypt':function(_0x573609,_0x35d820,_0x492a13){const _0xe2d870=_0x1c89;return _0x2dbc90(_0x35d820)[_0xe2d870(0x3ec)](_0xfbb203,_0x573609,_0x35d820,_0x492a13);}};};}())});_0x4b61e0[_0x344896(0x46d)]=_0x144b76[_0x344896(0x592)]({'_doFinalize':function(){const _0x4fdd09=_0x344896;var _0x9f2a7a=this[_0x4fdd09(0x43e)](!0x0);return _0x9f2a7a;},'blockSize':0x1});var _0x53fa86=_0xb56bd8[_0x344896(0x36d)]={},_0x4bde5c=_0x4b61e0[_0x344896(0x35d)]=_0x35af8d[_0x344896(0x592)]({'createEncryptor':function(_0x2218a4,_0x28cf08){const _0xca8588=_0x344896;return this['Encryptor'][_0xca8588(0x451)](_0x2218a4,_0x28cf08);},'createDecryptor':function(_0x3b99e5,_0x3ac885){const _0x43419f=_0x344896;return this[_0x43419f(0x405)]['create'](_0x3b99e5,_0x3ac885);},'init':function(_0x2b7389,_0x35bfad){const _0x5564d5=_0x344896;this[_0x5564d5(0x3ce)]=_0x2b7389,this[_0x5564d5(0x3a9)]=_0x35bfad;}}),_0x1d80f6=_0x53fa86[_0x344896(0x203)]=(function(){const _0x87671=_0x344896;var _0xa1c031=_0x4bde5c[_0x87671(0x592)]();_0xa1c031[_0x87671(0x4b0)]=_0xa1c031[_0x87671(0x592)]({'processBlock':function(_0x1ccedb,_0x22ef38){const _0x3b7a2d=_0x87671;var _0x2b05a3=this[_0x3b7a2d(0x3ce)],_0x15038e=_0x2b05a3[_0x3b7a2d(0x565)];_0x11fce4[_0x3b7a2d(0x477)](this,_0x1ccedb,_0x22ef38,_0x15038e),_0x2b05a3['encryptBlock'](_0x1ccedb,_0x22ef38),this[_0x3b7a2d(0x284)]=_0x1ccedb['slice'](_0x22ef38,_0x22ef38+_0x15038e);}}),_0xa1c031[_0x87671(0x405)]=_0xa1c031[_0x87671(0x592)]({'processBlock':function(_0x1ca69b,_0x3f6276){const _0xe464fb=_0x87671;var _0x2b54a3=this['_cipher'],_0x5d3b81=_0x2b54a3[_0xe464fb(0x565)],_0x4aee77=_0x1ca69b['slice'](_0x3f6276,_0x3f6276+_0x5d3b81);_0x2b54a3[_0xe464fb(0x57e)](_0x1ca69b,_0x3f6276),_0x11fce4['call'](this,_0x1ca69b,_0x3f6276,_0x5d3b81),this[_0xe464fb(0x284)]=_0x4aee77;}});function _0x11fce4(_0x568718,_0x41cab5,_0xc6a9da){const _0x2de9b6=_0x87671;var _0x33ae9e,_0x1b764b=this[_0x2de9b6(0x3a9)];_0x1b764b?(_0x33ae9e=_0x1b764b,this['_iv']=_0x1e911c):_0x33ae9e=this['_prevBlock'];for(var _0x27fcd9=0x0;_0x27fcd9<_0xc6a9da;_0x27fcd9++)_0x568718[_0x41cab5+_0x27fcd9]^=_0x33ae9e[_0x27fcd9];}return _0xa1c031;}()),_0x4e1bfd=_0xb56bd8['pad']={},_0x2c49d6=_0x4e1bfd['Pkcs7']={'pad':function(_0x38c264,_0x273f06){const _0x99f2e4=_0x344896;for(var _0x313862=_0x273f06*0x4,_0x7fb558=_0x313862-_0x38c264['sigBytes']%_0x313862,_0x27c28=_0x7fb558<<0x18|_0x7fb558<<0x10|_0x7fb558<<0x8|_0x7fb558,_0x38ca20=[],_0x1393e8=0x0;_0x1393e8<_0x7fb558;_0x1393e8+=0x4)_0x38ca20[_0x99f2e4(0x5b6)](_0x27c28);var _0x48d78d=_0xa55ae7['create'](_0x38ca20,_0x7fb558);_0x38c264[_0x99f2e4(0x4bd)](_0x48d78d);},'unpad':function(_0x49cd52){const _0x21a159=_0x344896;var _0x49bb4d=_0x49cd52[_0x21a159(0x1f8)][_0x49cd52[_0x21a159(0x204)]-0x1>>>0x2]&0xff;_0x49cd52['sigBytes']-=_0x49bb4d;}};_0x4b61e0[_0x344896(0x5d2)]=_0x144b76[_0x344896(0x592)]({'cfg':_0x144b76['cfg']['extend']({'mode':_0x1d80f6,'padding':_0x2c49d6}),'reset':function(){const _0x595917=_0x344896;var _0x4409bd;_0x144b76[_0x595917(0x231)][_0x595917(0x477)](this);var _0x354455=this['cfg'],_0x4aeffa=_0x354455['iv'],_0x3f9105=_0x354455[_0x595917(0x36d)];this['_xformMode']==this[_0x595917(0x2fd)]?_0x4409bd=_0x3f9105[_0x595917(0x3a8)]:(_0x4409bd=_0x3f9105[_0x595917(0x3d3)],this[_0x595917(0x42f)]=0x1),this[_0x595917(0x4e2)]&&this[_0x595917(0x4e2)]['__creator']==_0x4409bd?this['_mode'][_0x595917(0x5b2)](this,_0x4aeffa&&_0x4aeffa[_0x595917(0x1f8)]):(this[_0x595917(0x4e2)]=_0x4409bd[_0x595917(0x477)](_0x3f9105,this,_0x4aeffa&&_0x4aeffa[_0x595917(0x1f8)]),this['_mode']['__creator']=_0x4409bd);},'_doProcessBlock':function(_0x3f0247,_0x22c06b){const _0x4fd648=_0x344896;this['_mode'][_0x4fd648(0x4c8)](_0x3f0247,_0x22c06b);},'_doFinalize':function(){const _0xd64498=_0x344896;var _0x44d07c,_0x44f1fb=this[_0xd64498(0x345)]['padding'];return this['_xformMode']==this[_0xd64498(0x2fd)]?(_0x44f1fb['pad'](this[_0xd64498(0x221)],this[_0xd64498(0x565)]),_0x44d07c=this[_0xd64498(0x43e)](!0x0)):(_0x44d07c=this[_0xd64498(0x43e)](!0x0),_0x44f1fb['unpad'](_0x44d07c)),_0x44d07c;},'blockSize':0x80/0x20});var _0x15d6d2=_0x4b61e0[_0x344896(0x2fb)]=_0x35af8d['extend']({'init':function(_0x459990){const _0x430ce4=_0x344896;this[_0x430ce4(0x3e9)](_0x459990);},'toString':function(_0x267b71){const _0xd58b20=_0x344896;return(_0x267b71||this[_0xd58b20(0x479)])[_0xd58b20(0x434)](this);}}),_0x42caeb=_0xb56bd8[_0x344896(0x36a)]={},_0x55228f=_0x42caeb[_0x344896(0x3d4)]={'stringify':function(_0x38471c){const _0x259864=_0x344896;var _0x112a20,_0x435965=_0x38471c['ciphertext'],_0x108299=_0x38471c[_0x259864(0x1ec)];return _0x108299?_0x112a20=_0xa55ae7[_0x259864(0x451)]([0x53616c74,0x65645f5f])[_0x259864(0x4bd)](_0x108299)['concat'](_0x435965):_0x112a20=_0x435965,_0x112a20[_0x259864(0x522)](_0x24d5e0);},'parse':function(_0x1bad5c){const _0x40ac05=_0x344896;var _0x18b903,_0xae0561=_0x24d5e0['parse'](_0x1bad5c),_0x1448ed=_0xae0561[_0x40ac05(0x1f8)];return _0x1448ed[0x0]==0x53616c74&&_0x1448ed[0x1]==0x65645f5f&&(_0x18b903=_0xa55ae7[_0x40ac05(0x451)](_0x1448ed['slice'](0x2,0x4)),_0x1448ed[_0x40ac05(0x4b1)](0x0,0x4),_0xae0561['sigBytes']-=0x10),_0x15d6d2[_0x40ac05(0x451)]({'ciphertext':_0xae0561,'salt':_0x18b903});}},_0x57fd8d=_0x4b61e0[_0x344896(0x26b)]=_0x35af8d['extend']({'cfg':_0x35af8d['extend']({'format':_0x55228f}),'encrypt':function(_0x56c831,_0x587e03,_0x1b8952,_0x308998){const _0x27e5c6=_0x344896;_0x308998=this[_0x27e5c6(0x345)][_0x27e5c6(0x592)](_0x308998);var _0xff2126=_0x56c831[_0x27e5c6(0x3a8)](_0x1b8952,_0x308998),_0x34c41c=_0xff2126[_0x27e5c6(0x20a)](_0x587e03),_0x10e515=_0xff2126[_0x27e5c6(0x345)];return _0x15d6d2['create']({'ciphertext':_0x34c41c,'key':_0x1b8952,'iv':_0x10e515['iv'],'algorithm':_0x56c831,'mode':_0x10e515[_0x27e5c6(0x36d)],'padding':_0x10e515[_0x27e5c6(0x4c3)],'blockSize':_0x56c831[_0x27e5c6(0x565)],'formatter':_0x308998[_0x27e5c6(0x36a)]});},'decrypt':function(_0x379345,_0xf4dd25,_0x414b12,_0x38b437){const _0x42ed2b=_0x344896;_0x38b437=this[_0x42ed2b(0x345)][_0x42ed2b(0x592)](_0x38b437),_0xf4dd25=this[_0x42ed2b(0x3f2)](_0xf4dd25,_0x38b437[_0x42ed2b(0x36a)]);var _0x5e77c7=_0x379345[_0x42ed2b(0x3d3)](_0x414b12,_0x38b437)[_0x42ed2b(0x20a)](_0xf4dd25[_0x42ed2b(0x315)]);return _0x5e77c7;},'_parse':function(_0x43973c,_0x49a8d2){const _0x7fe3b4=_0x344896;return typeof _0x43973c==_0x7fe3b4(0x54c)?_0x49a8d2[_0x7fe3b4(0x46c)](_0x43973c,this):_0x43973c;}}),_0x43cbdd=_0xb56bd8[_0x344896(0x257)]={},_0x2497ca=_0x43cbdd[_0x344896(0x3d4)]={'execute':function(_0x4dead9,_0x336438,_0x4434fd,_0x51d3ec,_0x2c8935){const _0x118d13=_0x344896;if(_0x51d3ec||(_0x51d3ec=_0xa55ae7[_0x118d13(0x4e7)](0x40/0x8)),_0x2c8935)var _0x1f4f3d=_0xa752b9[_0x118d13(0x451)]({'keySize':_0x336438+_0x4434fd,'hasher':_0x2c8935})[_0x118d13(0x587)](_0x4dead9,_0x51d3ec);else var _0x1f4f3d=_0xa752b9['create']({'keySize':_0x336438+_0x4434fd})[_0x118d13(0x587)](_0x4dead9,_0x51d3ec);var _0x5302a5=_0xa55ae7[_0x118d13(0x451)](_0x1f4f3d[_0x118d13(0x1f8)][_0x118d13(0x347)](_0x336438),_0x4434fd*0x4);return _0x1f4f3d[_0x118d13(0x204)]=_0x336438*0x4,_0x15d6d2[_0x118d13(0x451)]({'key':_0x1f4f3d,'iv':_0x5302a5,'salt':_0x51d3ec});}},_0x2e4618=_0x4b61e0[_0x344896(0x427)]=_0x57fd8d[_0x344896(0x592)]({'cfg':_0x57fd8d[_0x344896(0x345)][_0x344896(0x592)]({'kdf':_0x2497ca}),'encrypt':function(_0x190e52,_0x27504d,_0x13286c,_0x2dc38c){const _0x4d80ba=_0x344896;_0x2dc38c=this[_0x4d80ba(0x345)][_0x4d80ba(0x592)](_0x2dc38c);var _0x1beb11=_0x2dc38c[_0x4d80ba(0x257)]['execute'](_0x13286c,_0x190e52['keySize'],_0x190e52[_0x4d80ba(0x4a2)],_0x2dc38c['salt'],_0x2dc38c[_0x4d80ba(0x4b6)]);_0x2dc38c['iv']=_0x1beb11['iv'];var _0x5d0a56=_0x57fd8d[_0x4d80ba(0x4db)]['call'](this,_0x190e52,_0x27504d,_0x1beb11[_0x4d80ba(0x303)],_0x2dc38c);return _0x5d0a56[_0x4d80ba(0x3e9)](_0x1beb11),_0x5d0a56;},'decrypt':function(_0x55e879,_0x3c557a,_0x475e58,_0x45690d){const _0x4a7ee1=_0x344896;_0x45690d=this['cfg'][_0x4a7ee1(0x592)](_0x45690d),_0x3c557a=this[_0x4a7ee1(0x3f2)](_0x3c557a,_0x45690d[_0x4a7ee1(0x36a)]);var _0x327202=_0x45690d[_0x4a7ee1(0x257)][_0x4a7ee1(0x206)](_0x475e58,_0x55e879['keySize'],_0x55e879['ivSize'],_0x3c557a[_0x4a7ee1(0x1ec)],_0x45690d[_0x4a7ee1(0x4b6)]);_0x45690d['iv']=_0x327202['iv'];var _0x2af9b3=_0x57fd8d[_0x4a7ee1(0x3ec)][_0x4a7ee1(0x477)](this,_0x55e879,_0x3c557a,_0x327202[_0x4a7ee1(0x303)],_0x45690d);return _0x2af9b3;}});}();}));}(qt)),qt[_0x43cdeb(0x56b)];}(function(_0x2f1064,_0x4a9ce5){(function(_0x503c1b,_0x174423,_0x4052be){const _0x253220=_0x1c89;_0x2f1064[_0x253220(0x56b)]=_0x174423(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x293c8c){const _0x4bbb35=_0x1c89;return(function(){const _0x1fbb36=_0x1c89;var _0x36e7b9=_0x293c8c,_0x51032c=_0x36e7b9['lib'],_0x4a8d03=_0x51032c['BlockCipher'],_0x121baa=_0x36e7b9[_0x1fbb36(0x273)],_0x5fbd89=[],_0x5506ce=[],_0x34d823=[],_0x1beebd=[],_0x50f961=[],_0x4a44e0=[],_0xe64c08=[],_0x16f6a1=[],_0x5b2c15=[],_0xfc7d9a=[];(function(){for(var _0x521d97=[],_0x32ac14=0x0;_0x32ac14<0x100;_0x32ac14++)_0x32ac14<0x80?_0x521d97[_0x32ac14]=_0x32ac14<<0x1:_0x521d97[_0x32ac14]=_0x32ac14<<0x1^0x11b;for(var _0x5b1390=0x0,_0x2117d2=0x0,_0x32ac14=0x0;_0x32ac14<0x100;_0x32ac14++){var _0xd37c47=_0x2117d2^_0x2117d2<<0x1^_0x2117d2<<0x2^_0x2117d2<<0x3^_0x2117d2<<0x4;_0xd37c47=_0xd37c47>>>0x8^_0xd37c47&0xff^0x63,_0x5fbd89[_0x5b1390]=_0xd37c47,_0x5506ce[_0xd37c47]=_0x5b1390;var _0x5b30b4=_0x521d97[_0x5b1390],_0x3eec9c=_0x521d97[_0x5b30b4],_0x2afedf=_0x521d97[_0x3eec9c],_0xe288ed=_0x521d97[_0xd37c47]*0x101^_0xd37c47*0x1010100;_0x34d823[_0x5b1390]=_0xe288ed<<0x18|_0xe288ed>>>0x8,_0x1beebd[_0x5b1390]=_0xe288ed<<0x10|_0xe288ed>>>0x10,_0x50f961[_0x5b1390]=_0xe288ed<<0x8|_0xe288ed>>>0x18,_0x4a44e0[_0x5b1390]=_0xe288ed;var _0xe288ed=_0x2afedf*0x1010101^_0x3eec9c*0x10001^_0x5b30b4*0x101^_0x5b1390*0x1010100;_0xe64c08[_0xd37c47]=_0xe288ed<<0x18|_0xe288ed>>>0x8,_0x16f6a1[_0xd37c47]=_0xe288ed<<0x10|_0xe288ed>>>0x10,_0x5b2c15[_0xd37c47]=_0xe288ed<<0x8|_0xe288ed>>>0x18,_0xfc7d9a[_0xd37c47]=_0xe288ed,_0x5b1390?(_0x5b1390=_0x5b30b4^_0x521d97[_0x521d97[_0x521d97[_0x2afedf^_0x5b30b4]]],_0x2117d2^=_0x521d97[_0x521d97[_0x2117d2]]):_0x5b1390=_0x2117d2=0x1;}}());var _0x480b29=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5b0538=_0x121baa[_0x1fbb36(0x200)]=_0x4a8d03['extend']({'_doReset':function(){const _0x2ae582=_0x1fbb36;var _0x3fdc05;if(!(this[_0x2ae582(0x577)]&&this[_0x2ae582(0x2dd)]===this['_key'])){for(var _0x12f873=this[_0x2ae582(0x2dd)]=this['_key'],_0x240f21=_0x12f873['words'],_0x40e4b6=_0x12f873[_0x2ae582(0x204)]/0x4,_0x179f60=this['_nRounds']=_0x40e4b6+0x6,_0x3ebeab=(_0x179f60+0x1)*0x4,_0xb14638=this[_0x2ae582(0x3c2)]=[],_0x4051bb=0x0;_0x4051bb<_0x3ebeab;_0x4051bb++)_0x4051bb<_0x40e4b6?_0xb14638[_0x4051bb]=_0x240f21[_0x4051bb]:(_0x3fdc05=_0xb14638[_0x4051bb-0x1],_0x4051bb%_0x40e4b6?_0x40e4b6>0x6&&_0x4051bb%_0x40e4b6==0x4&&(_0x3fdc05=_0x5fbd89[_0x3fdc05>>>0x18]<<0x18|_0x5fbd89[_0x3fdc05>>>0x10&0xff]<<0x10|_0x5fbd89[_0x3fdc05>>>0x8&0xff]<<0x8|_0x5fbd89[_0x3fdc05&0xff]):(_0x3fdc05=_0x3fdc05<<0x8|_0x3fdc05>>>0x18,_0x3fdc05=_0x5fbd89[_0x3fdc05>>>0x18]<<0x18|_0x5fbd89[_0x3fdc05>>>0x10&0xff]<<0x10|_0x5fbd89[_0x3fdc05>>>0x8&0xff]<<0x8|_0x5fbd89[_0x3fdc05&0xff],_0x3fdc05^=_0x480b29[_0x4051bb/_0x40e4b6|0x0]<<0x18),_0xb14638[_0x4051bb]=_0xb14638[_0x4051bb-_0x40e4b6]^_0x3fdc05);for(var _0x2493d3=this[_0x2ae582(0x47a)]=[],_0x43a67f=0x0;_0x43a67f<_0x3ebeab;_0x43a67f++){var _0x4051bb=_0x3ebeab-_0x43a67f;if(_0x43a67f%0x4)var _0x3fdc05=_0xb14638[_0x4051bb];else var _0x3fdc05=_0xb14638[_0x4051bb-0x4];_0x43a67f<0x4||_0x4051bb<=0x4?_0x2493d3[_0x43a67f]=_0x3fdc05:_0x2493d3[_0x43a67f]=_0xe64c08[_0x5fbd89[_0x3fdc05>>>0x18]]^_0x16f6a1[_0x5fbd89[_0x3fdc05>>>0x10&0xff]]^_0x5b2c15[_0x5fbd89[_0x3fdc05>>>0x8&0xff]]^_0xfc7d9a[_0x5fbd89[_0x3fdc05&0xff]];}}},'encryptBlock':function(_0x1ca6a1,_0x8b44ca){const _0x31a50e=_0x1fbb36;this['_doCryptBlock'](_0x1ca6a1,_0x8b44ca,this[_0x31a50e(0x3c2)],_0x34d823,_0x1beebd,_0x50f961,_0x4a44e0,_0x5fbd89);},'decryptBlock':function(_0x505b40,_0x2f6642){const _0x3f05ed=_0x1fbb36;var _0x5531fc=_0x505b40[_0x2f6642+0x1];_0x505b40[_0x2f6642+0x1]=_0x505b40[_0x2f6642+0x3],_0x505b40[_0x2f6642+0x3]=_0x5531fc,this[_0x3f05ed(0x1fd)](_0x505b40,_0x2f6642,this[_0x3f05ed(0x47a)],_0xe64c08,_0x16f6a1,_0x5b2c15,_0xfc7d9a,_0x5506ce);var _0x5531fc=_0x505b40[_0x2f6642+0x1];_0x505b40[_0x2f6642+0x1]=_0x505b40[_0x2f6642+0x3],_0x505b40[_0x2f6642+0x3]=_0x5531fc;},'_doCryptBlock':function(_0x3f00b1,_0x25fd2a,_0x306570,_0x307cb9,_0x328976,_0x19d75c,_0x535dd2,_0x494f64){const _0x21f78f=_0x1fbb36;for(var _0x59d877=this[_0x21f78f(0x577)],_0x3cde79=_0x3f00b1[_0x25fd2a]^_0x306570[0x0],_0x37a44f=_0x3f00b1[_0x25fd2a+0x1]^_0x306570[0x1],_0x139944=_0x3f00b1[_0x25fd2a+0x2]^_0x306570[0x2],_0x16ab28=_0x3f00b1[_0x25fd2a+0x3]^_0x306570[0x3],_0x166600=0x4,_0x88b757=0x1;_0x88b757<_0x59d877;_0x88b757++){var _0x4d3f5d=_0x307cb9[_0x3cde79>>>0x18]^_0x328976[_0x37a44f>>>0x10&0xff]^_0x19d75c[_0x139944>>>0x8&0xff]^_0x535dd2[_0x16ab28&0xff]^_0x306570[_0x166600++],_0x22ad14=_0x307cb9[_0x37a44f>>>0x18]^_0x328976[_0x139944>>>0x10&0xff]^_0x19d75c[_0x16ab28>>>0x8&0xff]^_0x535dd2[_0x3cde79&0xff]^_0x306570[_0x166600++],_0x2c6c39=_0x307cb9[_0x139944>>>0x18]^_0x328976[_0x16ab28>>>0x10&0xff]^_0x19d75c[_0x3cde79>>>0x8&0xff]^_0x535dd2[_0x37a44f&0xff]^_0x306570[_0x166600++],_0x5887cc=_0x307cb9[_0x16ab28>>>0x18]^_0x328976[_0x3cde79>>>0x10&0xff]^_0x19d75c[_0x37a44f>>>0x8&0xff]^_0x535dd2[_0x139944&0xff]^_0x306570[_0x166600++];_0x3cde79=_0x4d3f5d,_0x37a44f=_0x22ad14,_0x139944=_0x2c6c39,_0x16ab28=_0x5887cc;}var _0x4d3f5d=(_0x494f64[_0x3cde79>>>0x18]<<0x18|_0x494f64[_0x37a44f>>>0x10&0xff]<<0x10|_0x494f64[_0x139944>>>0x8&0xff]<<0x8|_0x494f64[_0x16ab28&0xff])^_0x306570[_0x166600++],_0x22ad14=(_0x494f64[_0x37a44f>>>0x18]<<0x18|_0x494f64[_0x139944>>>0x10&0xff]<<0x10|_0x494f64[_0x16ab28>>>0x8&0xff]<<0x8|_0x494f64[_0x3cde79&0xff])^_0x306570[_0x166600++],_0x2c6c39=(_0x494f64[_0x139944>>>0x18]<<0x18|_0x494f64[_0x16ab28>>>0x10&0xff]<<0x10|_0x494f64[_0x3cde79>>>0x8&0xff]<<0x8|_0x494f64[_0x37a44f&0xff])^_0x306570[_0x166600++],_0x5887cc=(_0x494f64[_0x16ab28>>>0x18]<<0x18|_0x494f64[_0x3cde79>>>0x10&0xff]<<0x10|_0x494f64[_0x37a44f>>>0x8&0xff]<<0x8|_0x494f64[_0x139944&0xff])^_0x306570[_0x166600++];_0x3f00b1[_0x25fd2a]=_0x4d3f5d,_0x3f00b1[_0x25fd2a+0x1]=_0x22ad14,_0x3f00b1[_0x25fd2a+0x2]=_0x2c6c39,_0x3f00b1[_0x25fd2a+0x3]=_0x5887cc;},'keySize':0x100/0x20});_0x36e7b9['AES']=_0x4a8d03[_0x1fbb36(0x542)](_0x5b0538);}()),_0x293c8c[_0x4bbb35(0x200)];}));}(ji));var $a=ji[_0x55040e(0x56b)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x174eeb,_0x4f4644){(function(_0x38109c,_0x80cdab){const _0x18c539=_0x1c89;_0x174eeb[_0x18c539(0x56b)]=_0x80cdab(ue());}(Z,function(_0xb411f1){const _0x1c4154=_0x1c89;return _0xb411f1[_0x1c4154(0x381)][_0x1c4154(0x1e0)];}));}(Fi));var Ba=Fi[_0x55040e(0x56b)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x1fc6d8,_0x18b0a4){(function(_0x508985,_0x2543c0){const _0x3e42ac=_0x1c89;_0x1fc6d8[_0x3e42ac(0x56b)]=_0x2543c0(ue());}(Z,function(_0x11b41c){const _0x245873=_0x1c89;return(function(){const _0x1a55a1=_0x1c89;if(typeof ArrayBuffer=='function'){var _0x4f93a9=_0x11b41c,_0x3b2429=_0x4f93a9['lib'],_0x57da7e=_0x3b2429['WordArray'],_0x356618=_0x57da7e[_0x1a55a1(0x5b2)],_0x3118a6=_0x57da7e[_0x1a55a1(0x5b2)]=function(_0x493dde){const _0x4fcce4=_0x1a55a1;if(_0x493dde instanceof ArrayBuffer&&(_0x493dde=new Uint8Array(_0x493dde)),(_0x493dde instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x493dde instanceof Uint8ClampedArray||_0x493dde instanceof Int16Array||_0x493dde instanceof Uint16Array||_0x493dde instanceof Int32Array||_0x493dde instanceof Uint32Array||_0x493dde instanceof Float32Array||_0x493dde instanceof Float64Array)&&(_0x493dde=new Uint8Array(_0x493dde['buffer'],_0x493dde['byteOffset'],_0x493dde[_0x4fcce4(0x50a)])),_0x493dde instanceof Uint8Array){for(var _0x51ac81=_0x493dde[_0x4fcce4(0x50a)],_0x45b6a8=[],_0x4a1b51=0x0;_0x4a1b51<_0x51ac81;_0x4a1b51++)_0x45b6a8[_0x4a1b51>>>0x2]|=_0x493dde[_0x4a1b51]<<0x18-_0x4a1b51%0x4*0x8;_0x356618['call'](this,_0x45b6a8,_0x51ac81);}else _0x356618[_0x4fcce4(0x5bc)](this,arguments);};_0x3118a6[_0x1a55a1(0x4ea)]=_0x57da7e;}}()),_0x11b41c['lib'][_0x245873(0x295)];}));}(Vi));var Wa=Vi['exports'];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x10f0c8,_0x3b701f){(function(_0x176b9a,_0x276101,_0x53b1f8){const _0x392c38=_0x1c89;_0x10f0c8[_0x392c38(0x56b)]=_0x276101(ue(),Wi());}(Z,function(_0x5dd98d){const _0x219e7f=_0x1c89;return _0x5dd98d[_0x219e7f(0x340)][_0x219e7f(0x49a)]={'pad':function(){},'unpad':function(){}},_0x5dd98d[_0x219e7f(0x340)][_0x219e7f(0x49a)];}));}(Gi));var Va=Gi[_0x55040e(0x56b)];const Ga=at(Va);function Ya(_0x4629ea,_0xd90570){const _0x539058=_0x55040e,_0x581c9c=_0xd90570-_0x4629ea['length']%_0xd90570,_0x1846f8=String[_0x539058(0x5ad)](_0x581c9c)[_0x539058(0x3db)](_0x581c9c);return _0x4629ea+_0x1846f8;}function Ka(_0x2a61be,_0x5b2909){const _0xe9074c=_0x55040e,_0x4950db=Fa['random'](0x10),_0x17530f=Ya(_0x2a61be,0x10),_0x2f245d=Ha[_0xe9074c(0x4db)](ka[_0xe9074c(0x46c)](_0x17530f),ii['parse'](_0x5b2909),{'iv':_0x4950db,'padding':Ga});return _0x4950db[_0xe9074c(0x4bd)](_0x2f245d[_0xe9074c(0x315)])['toString'](ii);}function za(){const _0x4d2780=_0x55040e,_0x1f2b08=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x1f2b08){const _0x196e24={'time':Math[_0x4d2780(0x2ef)](Date[_0x4d2780(0x352)]()/0x3e8),'domain':location[_0x4d2780(0x4c1)]};return Ka(JSON[_0x4d2780(0x434)](_0x196e24),_0x1f2b08);}}var qa=Object[_0x55040e(0x4df)],Xa=Object[_0x55040e(0x2ad)],Ja=(_0x5e31c7,_0xea2084,_0x265b86,_0x5e23e4)=>{const _0x17cdfb=_0x55040e;for(var _0x3e0e41=_0x5e23e4>0x1?void 0x0:_0x5e23e4?Xa(_0xea2084,_0x265b86):_0xea2084,_0x2eda7c=_0x5e31c7[_0x17cdfb(0x41f)]-0x1,_0x56b47b;_0x2eda7c>=0x0;_0x2eda7c--)(_0x56b47b=_0x5e31c7[_0x2eda7c])&&(_0x3e0e41=(_0x5e23e4?_0x56b47b(_0xea2084,_0x265b86,_0x3e0e41):_0x56b47b(_0x3e0e41))||_0x3e0e41);return _0x5e23e4&&_0x3e0e41&&qa(_0xea2084,_0x265b86,_0x3e0e41),_0x3e0e41;},Za=(_0x2ed661,_0x493acb)=>(_0x5427cb,_0x74120c)=>_0x493acb(_0x5427cb,_0x74120c,_0x2ed661);let Tt=class{constructor(_0x483789){const _0x20f891=_0x55040e;this[_0x20f891(0x272)]=_0x483789,this[_0x20f891(0x51f)]();}[_0x55040e(0x51f)](){const _0x78d011=_0x55040e;this[_0x78d011(0x272)]['registerHTTPInterceptor']({'interceptor':(_0x799e3e,_0x29c65b)=>{const _0x549741=_0x78d011,_0x5948ba=_0x799e3e[_0x549741(0x4e3)],_0x3bb5cb=za();return _0x3bb5cb&&_0x5948ba[_0x549741(0x333)]('x-univer-host',_0x3bb5cb),_0x29c65b(_0x799e3e);}});}};Tt=Ja([Za(0x0,_0xb59c13(_0x32e2ee))],Tt);var Qa=Object[_0x55040e(0x4df)],ec=Object['getOwnPropertyDescriptor'],tc=(_0x5bedd9,_0x2180fd,_0x558878,_0x6ed8b7)=>{const _0x1e78ff=_0x55040e;for(var _0x2ee670=_0x6ed8b7>0x1?void 0x0:_0x6ed8b7?ec(_0x2180fd,_0x558878):_0x2180fd,_0x59f3ad=_0x5bedd9[_0x1e78ff(0x41f)]-0x1,_0x459dac;_0x59f3ad>=0x0;_0x59f3ad--)(_0x459dac=_0x5bedd9[_0x59f3ad])&&(_0x2ee670=(_0x6ed8b7?_0x459dac(_0x2180fd,_0x558878,_0x2ee670):_0x459dac(_0x2ee670))||_0x2ee670);return _0x6ed8b7&&_0x2ee670&&Qa(_0x2180fd,_0x558878,_0x2ee670),_0x2ee670;},Xt=(_0x502010,_0xb012bd)=>(_0x341f26,_0x568b29)=>_0xb012bd(_0x341f26,_0x568b29,_0x502010);const sc=[_0x55040e(0x492),_0x55040e(0x44d),_0x55040e(0x35f),_0x55040e(0x552),_0x55040e(0x401)],ic=0x5*0x400*0x400,nc=_0x55040e(0x4ac),rc='/universer-api/stream/file/upload',oc=_0x55040e(0x25d),ac=_0x55040e(0x2e8);let hs=class{constructor(_0x1028fb,_0x17f110,_0x45916c){const _0x231099=_0x55040e;g(this,_0x231099(0x3d7),0x0),g(this,_0x231099(0x2a2),new _0x308ed9()),g(this,_0x231099(0x3e1),this['_change$']),g(this,'_imageSourceCache',new Map()),(this[_0x231099(0x272)]=_0x1028fb,this[_0x231099(0x2b0)]=_0x17f110,this['_univerInstanceService']=_0x45916c);}[_0x55040e(0x23f)](_0x37c1a8){const _0x3b4b50=_0x55040e;this[_0x3b4b50(0x3d7)]=_0x37c1a8,this[_0x3b4b50(0x2a2)]['next'](_0x37c1a8);}[_0x55040e(0x389)](_0x1d368b,_0x20bde8){const _0xf76cd1=_0x55040e;if(_0x20bde8===_0xfd8cab[_0xf76cd1(0x2c4)]){const _0x311a78=new Image();return _0x311a78[_0xf76cd1(0x2b4)]=_0x1d368b,_0x311a78;}return this[_0xf76cd1(0x364)][_0xf76cd1(0x25c)](_0x1d368b);}[_0x55040e(0x3a6)](_0x8b01cb,_0x197142,_0x5cede7){const _0x5235fa=_0x55040e;_0x197142===_0xfd8cab[_0x5235fa(0x2c4)]||_0x5cede7==null||this[_0x5235fa(0x364)][_0x5235fa(0x333)](_0x8b01cb,_0x5cede7);}async['getImage'](_0x550b93){const _0x44c4f7=_0x55040e;try{const _0x300977=this['_replaceFileID'](this[_0x44c4f7(0x2d3)](),''+_0x550b93),_0x22b2f1=(await this['_httpService'][_0x44c4f7(0x25c)](_0x300977))[_0x44c4f7(0x2e2)];if(_0x22b2f1[_0x44c4f7(0x268)]&&_0x22b2f1['error'][_0x44c4f7(0x2c3)]===Ri['OK']){const _0x897c7f=new URL(_0x22b2f1['url'],this[_0x44c4f7(0x229)]())['toString']();return Promise['resolve'](_0x897c7f);}return Promise[_0x44c4f7(0x391)](_0x22b2f1[_0x44c4f7(0x268)]);}catch(_0x2ca763){return Promise[_0x44c4f7(0x391)](_0x2ca763);}}async[_0x55040e(0x440)](_0x274e12){const _0x5d6682=_0x55040e;let _0x2c1bcb='';if(!sc[_0x5d6682(0x31e)](_0x274e12[_0x5d6682(0x24f)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x19586c[_0x5d6682(0x3b1)]));if(_0x274e12[_0x5d6682(0x1f7)]>ic)return this[_0x5d6682(0x5d5)](),Promise[_0x5d6682(0x391)](new Error(_0x19586c[_0x5d6682(0x3cb)]));try{const _0x474754=new FormData();_0x474754['append'](_0x5d6682(0x495),_0x274e12);const _0x4e28a8=this[_0x5d6682(0x48a)][_0x5d6682(0x371)](),_0x50a31a=_0x4e28a8==null?void 0x0:_0x4e28a8[_0x5d6682(0x4f5)]();if(!_0x50a31a)throw new Error(_0x5d6682(0x406));const _0x45da40=this[_0x5d6682(0x37b)]()+'?size='+_0x274e12[_0x5d6682(0x1f7)][_0x5d6682(0x522)]()+_0x5d6682(0x2d7)+yi[_0x5d6682(0x589)]+_0x5d6682(0x2cb)+encodeURIComponent(_0x50a31a),_0x3cc856=await(await fetch(_0x45da40,{'method':_0x5d6682(0x46b),'body':_0x474754}))['json']();if(typeof _0x3cc856['FileId']!=_0x5d6682(0x54c))return this[_0x5d6682(0x5d5)](),Promise[_0x5d6682(0x391)](new Error(_0x19586c[_0x5d6682(0x41e)]));_0x2c1bcb=_0x3cc856[_0x5d6682(0x55e)];}catch{return this[_0x5d6682(0x5d5)](),Promise[_0x5d6682(0x391)](new Error(_0x19586c[_0x5d6682(0x41e)]));}return new Promise((_0x27cd46,_0x1c0840)=>{const _0x2105bc=_0x5d6682,_0x143b2a=new FileReader();_0x143b2a[_0x2105bc(0x48f)](_0x274e12),_0x143b2a[_0x2105bc(0x293)]=_0x1541db=>{const _0x227bb7=_0x2105bc;var _0x358117;const _0x498691=(_0x358117=_0x1541db[_0x227bb7(0x316)])==null?void 0x0:_0x358117[_0x227bb7(0x4fd)];if(_0x498691==null){this[_0x227bb7(0x5d5)](),_0x1c0840(new Error(_0x19586c['ERROR_IMAGE']));return;}const _0x1b7b63=_0xada371[_0x227bb7(0x4bb)](0x6);_0x27cd46({'imageId':_0x1b7b63,'imageSourceType':_0xfd8cab['UUID'],'source':_0x2c1bcb,'base64Cache':_0x498691,'status':_0x19586c[_0x227bb7(0x1c2)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0xe13918=_0x55040e;var _0x4e7748,_0x38dcb0;const _0x260997=this[_0xe13918(0x2b0)][_0xe13918(0x5c3)](nc),_0x5d6602=this[_0xe13918(0x2b0)][_0xe13918(0x5c3)](ie);return(_0x38dcb0=(_0x4e7748=_0x5d6602==null?void 0x0:_0x5d6602[_0xe13918(0x1d3)])!=null?_0x4e7748:_0x260997)!=null?_0x38dcb0:rc;}['_getSignURL'](){const _0xdf5882=_0x55040e;var _0x194ad1,_0xf5105d;const _0x1e7e0d=this[_0xdf5882(0x2b0)][_0xdf5882(0x5c3)](oc),_0x4b3c6c=this[_0xdf5882(0x2b0)][_0xdf5882(0x5c3)](ie);return(_0xf5105d=(_0x194ad1=_0x4b3c6c==null?void 0x0:_0x4b3c6c[_0xdf5882(0x493)])!=null?_0x194ad1:_0x1e7e0d)!=null?_0xf5105d:ac;}[_0x55040e(0x229)](){const _0x5b00fb=_0x55040e;var _0x14c56f;const _0x23e227=this[_0x5b00fb(0x2b0)]['getConfig'](ie);return(_0x14c56f=_0x23e227==null?void 0x0:_0x23e227['downloadEndpointUrl'])!=null?_0x14c56f:location[_0x5b00fb(0x52b)];}[_0x55040e(0x426)](_0x50bf32,_0x27ae76){const _0x238654=_0x55040e;return _0x50bf32[_0x238654(0x403)]('{fileID}',_0x27ae76);}[_0x55040e(0x5d5)](){const _0x551c15=_0x55040e;this[_0x551c15(0x3d7)]-=0x1,this['_change$'][_0x551c15(0x1ea)](this['_waitCount']);}};hs=tc([Xt(0x0,_0xb59c13(_0x32e2ee)),Xt(0x1,_0x1fedc7),Xt(0x2,_0xb59c13(_0x10abd5))],hs);var cc=Object['defineProperty'],hc=Object[_0x55040e(0x2ad)],lc=(_0xc04c7e,_0x2d052d,_0x5d7076,_0x57131a)=>{const _0x397e38=_0x55040e;for(var _0xcb2a18=_0x57131a>0x1?void 0x0:_0x57131a?hc(_0x2d052d,_0x5d7076):_0x2d052d,_0x7ad91b=_0xc04c7e[_0x397e38(0x41f)]-0x1,_0x4b941b;_0x7ad91b>=0x0;_0x7ad91b--)(_0x4b941b=_0xc04c7e[_0x7ad91b])&&(_0xcb2a18=(_0x57131a?_0x4b941b(_0x2d052d,_0x5d7076,_0xcb2a18):_0x4b941b(_0xcb2a18))||_0xcb2a18);return _0x57131a&&_0xcb2a18&&cc(_0x2d052d,_0x5d7076,_0xcb2a18),_0xcb2a18;},Qe=(_0x5ef5ae,_0x1768c0)=>(_0x3fdaff,_0x3a54ed)=>_0x1768c0(_0x3fdaff,_0x3a54ed,_0x5ef5ae);let Rt=class extends _0x47772b{constructor(_0x45101b,_0xc6258,_0x50b993,_0x4d9440,_0x15b4c3){const _0xd7ae74=_0x55040e;super(),this[_0xd7ae74(0x1c7)]=_0x45101b,this[_0xd7ae74(0x48a)]=_0xc6258,this[_0xd7ae74(0x5a7)]=_0x50b993,this[_0xd7ae74(0x52e)]=_0x4d9440,this['_localeService']=_0x15b4c3,this[_0xd7ae74(0x1c5)](),this[_0xd7ae74(0x4ef)]();}[_0x55040e(0x4ef)](){const _0x361376=_0x55040e,_0x1ecfa2=async _0x53eab3=>{const _0xdb0caf=_0x1c89;(await this[_0xdb0caf(0x52e)][_0xdb0caf(0x21e)](_0x53eab3))[_0xdb0caf(0x4e5)]['pipe'](_0x1fa847(_0x3194b5=>_0x3194b5[_0xdb0caf(0x3ff)]===_0x4382cf['SHOULD_CLOSE_CONN']),_0x384b4a(this[_0xdb0caf(0x48c)]))[_0xdb0caf(0x1e2)](_0x5bec42=>{const _0x48d15e=_0xdb0caf,_0x5387ec=_0x5bec42,{reason:_0x5837f8}=_0x5387ec['data'];this[_0x48d15e(0x1c7)][_0x48d15e(0x25c)](_0x204e81)[_0x48d15e(0x2d8)]({'type':_0x4d23e2[_0x48d15e(0x369)],'content':this[_0x48d15e(0x376)]['t']('collaboration.closeRoom')+'('+_0x5837f8+')'}),this[_0x48d15e(0x5a7)][_0x48d15e(0x253)](new _0x21a4cb(_0x53eab3)['id'],!0x1),this[_0x48d15e(0x52e)]['closeSession'](_0x53eab3);});};_0x3dbb21(this[_0x361376(0x48a)]['getTypeOfUnitAdded$'](_0x24e86f[_0x361376(0x2b1)]),this[_0x361376(0x48a)][_0x361376(0x3ba)](_0x24e86f['UNIVER_DOC']))['pipe'](_0x151dda(_0x4381f2=>_0x4381f2['getUnitId']()),_0x1fa847(_0x30137a=>!_0x326eab(_0x30137a)),_0x384b4a(this[_0x361376(0x48c)]))[_0x361376(0x1e2)](_0x5185b1=>{_0x1ecfa2(_0x5185b1);});}[_0x55040e(0x1c5)](){const _0x5ec73a=_0x55040e,_0x1b2a77=async _0x25f16b=>{const _0x179dfb=_0x1c89;(await this['_collaborationSessionService'][_0x179dfb(0x21e)](_0x25f16b))['event$'][_0x179dfb(0x55b)](_0x1fa847(_0x57d333=>_0x57d333[_0x179dfb(0x3ff)]===_0x4382cf[_0x179dfb(0x208)]),_0x384b4a(this['dispose$']))['subscribe'](_0x175a68=>{const _0x17f2ae=_0x179dfb,_0x543637=_0x175a68,{objectId:_0x4ef168}=_0x543637[_0x17f2ae(0x44b)],_0x96a013=this[_0x17f2ae(0x1c7)][_0x17f2ae(0x25c)](_0x197e7c);_0x4ef168===_0x25f16b?_0x96a013['initWorkbookPermissionChange'](_0x25f16b):_0x96a013[_0x17f2ae(0x448)](_0x25f16b,_0x4ef168);});};_0x3dbb21(this[_0x5ec73a(0x48a)]['getTypeOfUnitAdded$'](_0x24e86f[_0x5ec73a(0x2b1)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x24e86f['UNIVER_DOC']))[_0x5ec73a(0x55b)](_0x151dda(_0x500bad=>_0x500bad[_0x5ec73a(0x4f5)]()),_0x1fa847(_0x589942=>!_0x326eab(_0x589942)),_0x384b4a(this[_0x5ec73a(0x48c)]))[_0x5ec73a(0x1e2)](_0x3654e9=>{_0x1b2a77(_0x3654e9);});}};Rt=lc([Qe(0x0,_0xb59c13(_0x475d43)),Qe(0x1,_0x10abd5),Qe(0x2,_0xffa540),Qe(0x3,_0xb59c13(Ae)),Qe(0x4,_0xb59c13(_0x5d0578))],Rt);var _c=Object[_0x55040e(0x4df)],uc=Object[_0x55040e(0x2ad)],dc=(_0x21d123,_0x439caf,_0x3af13a,_0x266255)=>{for(var _0x52f023=_0x266255>0x1?void 0x0:_0x266255?uc(_0x439caf,_0x3af13a):_0x439caf,_0x364e70=_0x21d123['length']-0x1,_0xf610c;_0x364e70>=0x0;_0x364e70--)(_0xf610c=_0x21d123[_0x364e70])&&(_0x52f023=(_0x266255?_0xf610c(_0x439caf,_0x3af13a,_0x52f023):_0xf610c(_0x52f023))||_0x52f023);return _0x266255&&_0x52f023&&_c(_0x439caf,_0x3af13a,_0x52f023),_0x52f023;},ni=(_0x1960f9,_0x2ed74d)=>(_0x16d9d2,_0x6cfe91)=>_0x2ed74d(_0x16d9d2,_0x6cfe91,_0x1960f9);let ls=class{constructor(_0x394dab,_0x10bb85){const _0xcbcd58=_0x55040e;this[_0xcbcd58(0x2b0)]=_0x394dab,this[_0xcbcd58(0x272)]=_0x10bb85;}async[_0x55040e(0x242)](_0x219762,_0x4ae4e2){const _0x1df7c9=_0x55040e;var _0x3635d0;const {unitID:_0x409789,type:_0x580496,revision:_0x161f38=0x0}=_0x4ae4e2,_0x217184=this[_0x1df7c9(0x27f)]()+'/'+_0x580496+_0x1df7c9(0x3c7)+_0x409789+_0x1df7c9(0x530)+_0x161f38,_0x60a17=(await this['_httpService']['get'](_0x217184))[_0x1df7c9(0x2e2)],_0x36d71d=(_0x3635d0=_0x60a17['snapshot'])==null?void 0x0:_0x3635d0[_0x1df7c9(0x499)];if(_0x36d71d){const _0x1be2d3=_0x36d71d==null?void 0x0:_0x36d71d[_0x1df7c9(0x576)],_0x1f28aa=_0x9dad0c[_0x1df7c9(0x26e)](_0x408162(_0x1be2d3));_0x36d71d[_0x1df7c9(0x576)]=_0x1f28aa,Object[_0x1df7c9(0x30b)](_0x36d71d[_0x1df7c9(0x2f9)])['forEach'](([,_0x7f908e])=>{const _0x3325b1=_0x1df7c9,_0x47d2f5=_0x7f908e[_0x3325b1(0x576)],_0x3673f2=_0x9dad0c[_0x3325b1(0x26e)](_0x408162(_0x47d2f5));_0x7f908e[_0x3325b1(0x576)]=_0x3673f2;});}return _0x60a17;}async[_0x55040e(0x470)](_0x57e975,_0x36f2b7){const _0x1e83be=_0x55040e,{unitID:_0x2b86fb,type:_0xdc0fd6,blockID:_0x58afd2}=_0x36f2b7,_0x5ad2ca=this['_getAPIPrefix']()+'/'+_0xdc0fd6+_0x1e83be(0x3c7)+_0x2b86fb+'/block/'+_0x58afd2;return(await this[_0x1e83be(0x272)][_0x1e83be(0x25c)](_0x5ad2ca))[_0x1e83be(0x2e2)];}async[_0x55040e(0x563)](_0x5e3fab,_0x5a014c){const _0x5a3f2f=_0x55040e,{unitID:_0x311e59,type:_0x1eaa76,blockID:_0x583faa}=_0x5a014c,_0x9dce06=this[_0x5a3f2f(0x4a0)]()+_0x5a3f2f(0x27e)+_0x1eaa76+_0x5a3f2f(0x3c7)+_0x311e59+'/block/'+_0x583faa;return(await this[_0x5a3f2f(0x272)][_0x5a3f2f(0x25c)](_0x9dce06))[_0x5a3f2f(0x2e2)];}async[_0x55040e(0x236)](_0x28f28e,_0x504abf){const _0x39e33b=_0x55040e,{unitID:_0x25ddeb,type:_0x2c8a13,from:_0x12eee6,to:_0x4eb35d}=_0x504abf,_0x47718c=this[_0x39e33b(0x4a0)]()+'/'+_0x2c8a13+_0x39e33b(0x3c7)+_0x25ddeb+_0x39e33b(0x34e)+_0x12eee6+'&to='+_0x4eb35d;return(await this[_0x39e33b(0x272)][_0x39e33b(0x25c)](_0x47718c))['body'];}['_getSnapshotAPIPrefix'](){const _0x1249b9=_0x55040e;var _0x29c135;return(_0x29c135=this[_0x1249b9(0x2b0)][_0x1249b9(0x5c3)](ar))!=null?_0x29c135:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x5dcd23=_0x55040e;var _0xee32d5,_0x505ad6;const _0x17cdd4=this[_0x5dcd23(0x2b0)][_0x5dcd23(0x5c3)](rr),_0x48b85c=this[_0x5dcd23(0x2b0)][_0x5dcd23(0x5c3)](ie);return(_0x505ad6=(_0xee32d5=_0x48b85c==null?void 0x0:_0x48b85c['snapshotServerUrl'])!=null?_0xee32d5:_0x17cdd4)!=null?_0x505ad6:or;}async['getResourcesRequest'](_0x3bd09a,_0x31ef8d){const _0x49e217=_0x55040e,_0x20e36f=_0x49e217(0x42c)+_0x31ef8d[_0x49e217(0x24f)]+_0x49e217(0x3c7)+_0x31ef8d['unitID']+_0x49e217(0x1fa);return(await this[_0x49e217(0x272)][_0x49e217(0x25c)](_0x20e36f,{'params':{'resourceId':JSON[_0x49e217(0x434)](_0x31ef8d[_0x49e217(0x4b2)])}}))[_0x49e217(0x2e2)];}[_0x55040e(0x31f)](){const _0x691589=_0x55040e;throw new Error(_0x691589(0x5ce));}[_0x55040e(0x463)](){const _0x400ad2=_0x55040e;throw new Error(_0x400ad2(0x5ce));}[_0x55040e(0x4b8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x55040e(0x3a1)](){const _0x2bdcf4=_0x55040e;throw new Error(_0x2bdcf4(0x5ce));}['getLatestCsReqIdBySid'](){const _0x427449=_0x55040e;throw new Error(_0x427449(0x5ce));}};ls=dc([ni(0x0,_0x1fedc7),ni(0x1,_0xb59c13(_0x32e2ee))],ls);var fc=Object['defineProperty'],vc=Object[_0x55040e(0x2ad)],mc=(_0x1699ce,_0x59f4ba,_0x37749c,_0xefeccf)=>{for(var _0x26e45a=_0xefeccf>0x1?void 0x0:_0xefeccf?vc(_0x59f4ba,_0x37749c):_0x59f4ba,_0x44a18d=_0x1699ce['length']-0x1,_0x5716fe;_0x44a18d>=0x0;_0x44a18d--)(_0x5716fe=_0x1699ce[_0x44a18d])&&(_0x26e45a=(_0xefeccf?_0x5716fe(_0x59f4ba,_0x37749c,_0x26e45a):_0x5716fe(_0x26e45a))||_0x26e45a);return _0xefeccf&&_0x26e45a&&fc(_0x59f4ba,_0x37749c,_0x26e45a),_0x26e45a;},et=(_0x350ef1,_0x4f9ec0)=>(_0x520d60,_0x5ea441)=>_0x4f9ec0(_0x520d60,_0x5ea441,_0x350ef1);let _s=class extends _0x341424{constructor(_0x180f8a,_0x4ed9a6,_0x5ce006,_0x3334ec,_0x5a5a22){const _0x283cf3=_0x55040e;super(_0x180f8a,_0x4ed9a6,_0x5ce006),this[_0x283cf3(0x384)]=_0x3334ec,this[_0x283cf3(0x37d)]=_0x5a5a22;}['transformUndoRedo'](_0x4788d9,_0xf5ca7c){const _0xf34243=_0x55040e,_0x433f9c=this['_getUndoStack'](_0x4788d9);if(_0x433f9c)try{const _0x1a4475=this[_0xf34243(0x516)](_0x433f9c,_0xf5ca7c);this[_0xf34243(0x270)](_0x4788d9,_0x1a4475);}catch(_0x50d4ec){this[_0xf34243(0x37d)][_0xf34243(0x268)](_0xf34243(0x39d),_0x50d4ec),this[_0xf34243(0x2ba)](_0x4788d9);}const _0x1bc85c=this[_0xf34243(0x454)](_0x4788d9);if(_0x1bc85c)try{const _0x57004d=this[_0xf34243(0x516)](_0x1bc85c,_0xf5ca7c);this[_0xf34243(0x2a8)](_0x4788d9,_0x57004d);}catch(_0x134e4a){this[_0xf34243(0x37d)][_0xf34243(0x268)](_0x134e4a),this[_0xf34243(0x246)](_0x4788d9);}}['_clearUndo'](_0x38922c){const _0x28804b=_0x55040e,_0x4b42d3=this['_getUndoStack'](_0x38922c);_0x4b42d3&&(_0x4b42d3[_0x28804b(0x41f)]=0x0,this[_0x28804b(0x2b5)]());}[_0x55040e(0x246)](_0xbf4b4f){const _0x44a281=_0x55040e,_0x5f19f3=this[_0x44a281(0x454)](_0xbf4b4f);_0x5f19f3&&(_0x5f19f3['length']=0x0,this[_0x44a281(0x2b5)]());}[_0x55040e(0x270)](_0x6e0950,_0x26bae7){const _0x44f203=_0x55040e;this[_0x44f203(0x288)][_0x44f203(0x333)](_0x6e0950,_0x26bae7),this['_updateStatus']();}[_0x55040e(0x2a8)](_0x47e293,_0x57c8c2){const _0x34d46b=_0x55040e;this[_0x34d46b(0x5cd)][_0x34d46b(0x333)](_0x47e293,_0x57c8c2),this[_0x34d46b(0x2b5)]();}['_transformStack'](_0x2bedeb,_0x14adb1){const _0x1a80f7=_0x55040e,_0x18226a=[];let _0x53a52f=_0x14adb1,_0x4bf9e6=_0x14adb1;for(let _0x501b54=_0x2bedeb[_0x1a80f7(0x41f)]-0x1;_0x501b54>=0x0;_0x501b54--){const {unitID:_0x4190d2,undoMutations:_0x5618e5,redoMutations:_0x3a9d19}=_0x2bedeb[_0x501b54],_0x22f869=this[_0x1a80f7(0x384)]['transformMutationsWithChangeset'](_0x53a52f,_0x5618e5),_0x563865=this[_0x1a80f7(0x384)][_0x1a80f7(0x30e)](_0x4bf9e6,_0x3a9d19);if(_0x4afa5(_0x22f869)||_0x4afa5(_0x563865)){this[_0x1a80f7(0x37d)][_0x1a80f7(0x268)](_0x1a80f7(0x39d),_0x1a80f7(0x410),_0x22f869,_0x563865);break;}_0x53a52f=_0x22f869[_0x1a80f7(0x4c2)],_0x4bf9e6=_0x563865[_0x1a80f7(0x4c2)],_0x18226a['push']({'unitID':_0x4190d2,'undoMutations':_0x22f869[_0x1a80f7(0x580)],'redoMutations':_0x563865[_0x1a80f7(0x580)]});}return _0x18226a[_0x1a80f7(0x349)]();}};_s=mc([et(0x0,_0x10abd5),et(0x1,_0x2983df),et(0x2,_0x9c5354),et(0x3,_0x3c8669),et(0x4,_0x6916a2)],_s);class pc extends _0x47772b{constructor(){const _0x9d6a50=_0x55040e;super(),g(this,_0x9d6a50(0x2af)),this[_0x9d6a50(0x2af)]=_0x542d7a(window,_0x9d6a50(0x217))['pipe'](_0x589f39(this[_0x9d6a50(0x48c)]),_0x507dc(0x1),_0x247358(void 0x0));}[_0x55040e(0x548)](_0x12197a,_0x184c35,_0x53e30e=!0x1){const _0x305e21=_0x55040e,_0x1d7871=new URL(window[_0x305e21(0x3e0)][_0x305e21(0x4ba)]);_0x1d7871[_0x305e21(0x504)][_0x305e21(0x333)](_0x12197a,_0x184c35),_0x53e30e?window[_0x305e21(0x544)][_0x305e21(0x4f2)]('','',_0x1d7871[_0x305e21(0x522)]()):window['history'][_0x305e21(0x23e)]('','',_0x1d7871['toString']());}[_0x55040e(0x24d)](_0x2aad19,_0x2c906d=!0x1){const _0x2038fc=_0x55040e,_0x590d26=new URL(window['location'][_0x2038fc(0x4ba)]);_0x590d26['searchParams'][_0x2038fc(0x4b5)](_0x2aad19),_0x2c906d?window[_0x2038fc(0x544)][_0x2038fc(0x4f2)]('','',_0x590d26[_0x2038fc(0x522)]()):window[_0x2038fc(0x544)]['pushState']('','',_0x590d26['toString']());}[_0x55040e(0x38a)](_0x279a35){const _0x552a99=_0x55040e;var _0x352578;return(_0x352578=new URL(window[_0x552a99(0x3e0)][_0x552a99(0x4ba)])[_0x552a99(0x504)][_0x552a99(0x25c)](_0x279a35))!=null?_0x352578:void 0x0;}}var Yi=Object[_0x55040e(0x4df)],gc=Object[_0x55040e(0x2ad)],Sc=(_0x497517,_0x4fbb83,_0x24b914)=>_0x4fbb83 in _0x497517?Yi(_0x497517,_0x4fbb83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24b914}):_0x497517[_0x4fbb83]=_0x24b914,Ic=(_0x5e8782,_0x25522f,_0x4c78b0,_0x2662e)=>{const _0x2b1b07=_0x55040e;for(var _0x493d40=_0x2662e>0x1?void 0x0:_0x2662e?gc(_0x25522f,_0x4c78b0):_0x25522f,_0xcf3b9a=_0x5e8782[_0x2b1b07(0x41f)]-0x1,_0x4447f7;_0xcf3b9a>=0x0;_0xcf3b9a--)(_0x4447f7=_0x5e8782[_0xcf3b9a])&&(_0x493d40=(_0x2662e?_0x4447f7(_0x25522f,_0x4c78b0,_0x493d40):_0x4447f7(_0x493d40))||_0x493d40);return _0x2662e&&_0x493d40&&Yi(_0x25522f,_0x4c78b0,_0x493d40),_0x493d40;},_t=(_0x5256fd,_0x53e239)=>(_0x20a419,_0x57ee27)=>_0x53e239(_0x20a419,_0x57ee27,_0x5256fd),Cc=(_0x1bd269,_0x5b8b5b,_0x3f7e4d)=>Sc(_0x1bd269,_0x5b8b5b+'',_0x3f7e4d);const Ec=_0x55040e(0x5d0);let us=class extends _0x46423b{constructor(_0x9c6ac0=Er,_0x3b5d95,_0x31c0e1,_0x110708,_0x350eb2){const _0x5a01b9=_0x55040e;super(),this['_config']=_0x9c6ac0,this[_0x5a01b9(0x37d)]=_0x3b5d95,this[_0x5a01b9(0x55c)]=_0x31c0e1,this[_0x5a01b9(0x1c7)]=_0x110708,this[_0x5a01b9(0x2b0)]=_0x350eb2;const {..._0xc1d4e}=this[_0x5a01b9(0x3cc)];this[_0x5a01b9(0x2b0)][_0x5a01b9(0x1f9)](ie,_0xc1d4e);}[_0x55040e(0x36e)](){const _0x3120f5=_0x55040e;this[_0x3120f5(0x481)](),this['_initDependencies']();}[_0x55040e(0x1d4)](){const _0x4fffc2=_0x55040e;_0x49baab(this[_0x4fffc2(0x1c7)],[[Et]]);}[_0x55040e(0x338)](){this['_registerRenderDependencies']();}[_0x55040e(0x481)](){const _0x147c6c=_0x55040e;var _0x1a7743,_0x158b6f,_0x142f61,_0x7cd584;this[_0x147c6c(0x1c7)][_0x147c6c(0x269)](_0x50f1b0)&&this[_0x147c6c(0x37d)][_0x147c6c(0x268)](_0x147c6c(0x2bb),_0x147c6c(0x2c2));const _0x54db02=[[_0x50f1b0,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x4f4d80],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x158b6f=(_0x1a7743=this[_0x147c6c(0x3cc)])==null?void 0x0:_0x1a7743[_0x147c6c(0x212)])!=null?_0x158b6f:es}],[_0x24d50d,{'useClass':ls}],[_0x2d8beb,{'useClass':cs}],[_0x466d70,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x142f61=this['_config'])!=null&&_0x142f61[_0x147c6c(0x33b)]&&_0x54db02[_0x147c6c(0x5b6)]([yt,{'useClass':so}]),_0x3aaab8(this['_injector'],_0x2902a7(_0x54db02,(_0x7cd584=this[_0x147c6c(0x3cc)])==null?void 0x0:_0x7cd584['override']));}[_0x55040e(0x22d)](){const _0x313e5d=_0x55040e;this[_0x313e5d(0x33a)](this[_0x313e5d(0x55c)][_0x313e5d(0x549)](_0x24e86f[_0x313e5d(0x337)],[os])),this[_0x313e5d(0x33a)](this[_0x313e5d(0x55c)][_0x313e5d(0x549)](_0x24e86f[_0x313e5d(0x2b1)],[as]));}[_0x55040e(0x4fa)](){const _0x25f2ee=_0x55040e;var _0x3e33d9,_0x48f3bf;this['_injector'][_0x25f2ee(0x25c)](_0x32e2ee)[_0x25f2ee(0x474)]({'priority':0x14,'interceptor':_0x516c01({'maxParallel':0x6})}),(_0x3e33d9=this[_0x25f2ee(0x3cc)])!=null&&_0x3e33d9[_0x25f2ee(0x456)]||this[_0x25f2ee(0x1c7)][_0x25f2ee(0x25c)](q)['disableLocalCache'](),(_0x48f3bf=this['_config'])!=null&&_0x48f3bf[_0x25f2ee(0x3fc)]&&_0x49baab(this['_injector'],[[bt]]),_0x49baab(this[_0x25f2ee(0x1c7)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,'pluginName',Ec),us=Ic([_0x3e5806(_0x334bc4,_0x41fb44),_t(0x1,_0x6916a2),_t(0x2,_0x1959be),_t(0x3,_0xb59c13(_0x475d43)),_t(0x4,_0x1fedc7)],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};