@univerjs-pro/collaboration-client 0.4.1-nightly.202410291249 → 0.4.1-nightly.202410291304
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x1a7f07=_0x54d3;(function(_0x76e140,_0x1c9259){const _0x237b10=_0x54d3,_0x5ceb75=_0x76e140();while(!![]){try{const _0x5d82b5=parseInt(_0x237b10(0x499))/0x1+-parseInt(_0x237b10(0x49e))/0x2+-parseInt(_0x237b10(0x209))/0x3+parseInt(_0x237b10(0x368))/0x4*(-parseInt(_0x237b10(0x4c9))/0x5)+-parseInt(_0x237b10(0x55b))/0x6+-parseInt(_0x237b10(0x498))/0x7+parseInt(_0x237b10(0x27c))/0x8;if(_0x5d82b5===_0x1c9259)break;else _0x5ceb75['push'](_0x5ceb75['shift']());}catch(_0x4f4eae){_0x5ceb75['push'](_0x5ceb75['shift']());}}}(_0x5961,0xb5b0a));var Ki=Object[_0x1a7f07(0x5b3)],zi=(_0x57a78c,_0xc3fe17,_0x367e9e)=>_0xc3fe17 in _0x57a78c?Ki(_0x57a78c,_0xc3fe17,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x367e9e}):_0x57a78c[_0xc3fe17]=_0x367e9e,g=(_0xc0233c,_0x4ee335,_0x578b59)=>zi(_0xc0233c,typeof _0x4ee335!='symbol'?_0x4ee335+'':_0x4ee335,_0x578b59);import{createIdentifier as _0x2707b7,Inject as _0x5cf6ec,Disposable as _0x3b3e75,DisposableCollection as _0xb0f374,toDisposable as _0x1c981a,IConfigService as _0x34b905,ILogService as _0x1e210b,UserManagerService as _0x133322,UniverInstanceType as _0x31d58f,IUniverInstanceService as _0x1726a1,LocaleService as _0x51f47a,Optional as _0x94953d,RxDisposable as _0x1cb902,Injector as _0xc0c089,Tools as _0x235991,ILocalStorageService as _0x2a11e6,Rectangle as _0x194108,ICommandService as _0x322b66,DOC_RANGE_TYPE as _0xe3b3a7,JSONX as _0xb47243,CommandType as _0x42d006,IPermissionService as _0x1083e0,IUndoRedoService as _0x5c2e54,sequenceExecute as _0xd02ce7,debounce as _0x433f68,COLORS as _0x48abe6,ColorKit as _0x5d5cbb,ThemeService as _0x104cf8,fromEventSubject as _0xda2401,useDependency as _0x3e43a5,connectInjector as _0x2bfd16,Workbook as _0x762674,isInternalEditorID as _0x47f4f5,LocalUndoRedoService as _0x3c699e,IContextService as _0x49ed20,DependentOn as _0x12c346,Plugin as _0x1dbbfd,touchDependencies as _0x9ace4b,IAuthzIoService as _0x568d25,registerDependencies as _0x3cc00e,mergeOverrideWithDependencies as _0x4907d0}from'@univerjs/core';import{Subject as _0x50574e,merge as _0x407b74,takeUntil as _0x171184,BehaviorSubject as _0x2c5f3e,distinctUntilChanged as _0x3f9e4c,fromEvent as _0x47503d,ReplaySubject as _0x32d019,take as _0x4e26bd,map as _0x55a023,shareReplay as _0x2b0828,of as _0x37aace,debounceTime as _0x341150,filter as _0x5d6a4a,switchMap as _0x1eab13,combineLatest as _0x3b40d1,concatMap as _0x57a071,mapTo as _0x527bfc}from'rxjs';import{map as _0x4e0bfc,take as _0x23f267,filter as _0x5cdcf5,delay as _0x2804ad,throttleTime as _0x11fe20,takeUntil as _0x2d8749,switchMap as _0x288cb3}from'rxjs/operators';import{MessageType as _0x4c03fa,Tooltip as _0x52d371}from'@univerjs/design';import{IBeforeCloseService as _0x5826ab,IMessageService as _0x521fac,INotificationService as _0x5a8c90,useObservable as _0x5841b1,BuiltInUIPart as _0x57e1bb,IUIPartsService as _0x1efadf}from'@univerjs/ui';import{HTTPService as _0x337047,WebSocketService as _0x138fc4,MergeInterceptorFactory as _0x4efab7,HTTPRequest as _0x5c71c3,UniverNetworkPlugin as _0x2a32af,ThresholdInterceptorFactory as _0x1afce2}from'@univerjs/network';import{CollaborationEvent as _0x4e3c97,parseChangesetToProtocol as _0xb83e96,ISnapshotServerService as _0x5670c4,isTransformMutationFailure as _0x46adb2,isTransformMutationsWithChangesetSuccess as _0x1b23f5,ITransformService as _0x2746ae,RevisionService as _0x5ee8b1,mapDocumentTypeToUniverType as _0x518e15,isTransformChangesetsSuccess as _0x408fbf,CompressMutationService as _0x230e80,parseProtocolChangeset as _0x35fd25,SnapshotService as _0xdab834,textEncoder as _0x1c89a9,b64DecodeUnicode as _0x330a6d,isTransformMutationsWithChangesetFailure as _0xa87d82,UniverCollaborationPlugin as _0x2f2f43}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2ab1b7}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x50c7b2,DocStateChangeManagerService as _0x3fdbd8,NodePositionConvertToCursor as _0x598f61,NodePositionConvertToRectRange as _0x17e807,TEXT_RANGE_LAYER_INDEX as _0x58b8cf,SetDocZoomRatioOperation as _0x31e998}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2fad1e,SetSelectionsOperation as _0x27f103,InsertSheetMutation as _0x250bb3,EmptyMutation as _0x84a982,WorkbookEditablePermission as _0x5bdffd,RefRangeService as _0x421d7d,EffectRefRangId as _0x300cbc,handleIRemoveRow as _0x1de90e,handleIRemoveCol as _0x4e0669,handleMoveRange as _0x536a5b,handleInsertRow as _0x1bdaf3,handleInsertRangeMoveRight as _0x499d69,handleInsertRangeMoveDown as _0x28d224,handleInsertCol as _0x255154,handleDeleteRangeMoveUp as _0x220228,handleDeleteRangeMoveLeft as _0x39cf89,runRefRangeMutations as _0x1e843d,SetWorksheetActivateCommand as _0x13b74d}from'@univerjs/sheets';import{IRenderManagerService as _0xa3e106,Shape as _0x1e2684,Rect as _0x1a00c0,getColor as _0x4cc8c9,RegularPolygon as _0x24b371,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2b0eae,Vector2 as _0x5cd961}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x4ad750,RichTextEditingMutation as _0x22550b,SetTextSelectionsOperation as _0x1ccba4,DocSkeletonManagerService as _0x2a9a54}from'@univerjs/docs';import{ImageSourceType as _0x346cdb,ImageUploadStatusType as _0x3ce856,IImageIoService as _0xe3ad09}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x15f56b,serializeRangeWithSheet as _0x5ec0d6}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x419472,VIEWPORT_KEY as _0x45cb2d,getCoordByCell as _0x3aa7ff,getSheetObject as _0x136415,SheetPermissionInitController as _0xdfbf90}from'@univerjs/sheets-ui';import _0x2b1679,{forwardRef as _0x1e7b82,useRef as _0x1edd60,createElement as _0x27ae54,useCallback as _0xfaf194}from'react';import{IRemoteInstanceService as _0x58db13}from'@univerjs/rpc';const rr=_0x1a7f07(0x2de),or=_0x1a7f07(0x410),ar=_0x1a7f07(0x2a6),kc=_0x1a7f07(0x2d9),cr=0x7d0,hr=_0x1a7f07(0x1ee),lr=_0x1a7f07(0x228),_r=_0x1a7f07(0x3f0),ur=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr='LOCAL_CACHE_INTERVAL',pr=0x3e8,gr=_0x1a7f07(0x1f9),Sr=_0x1a7f07(0x340),Ir=_0x1a7f07(0x527),Cr='/universer-api/oidc/authpage';var Ri=(_0x244100=>(_0x244100[_0x244100[_0x1a7f07(0x1c0)]=0x0]='UNDEFINED',_0x244100[_0x244100['OK']=0x1]='OK',_0x244100[_0x244100[_0x1a7f07(0x221)]=0x2]=_0x1a7f07(0x221),_0x244100[_0x244100[_0x1a7f07(0x35c)]=0x3]=_0x1a7f07(0x35c),_0x244100[_0x244100[_0x1a7f07(0x56a)]=0x4]='NOT_FOUND',_0x244100[_0x244100[_0x1a7f07(0x542)]=0x5]=_0x1a7f07(0x542),_0x244100[_0x244100[_0x1a7f07(0x3fb)]=0x6]=_0x1a7f07(0x3fb),_0x244100[_0x244100[_0x1a7f07(0x482)]=0x7]=_0x1a7f07(0x482),_0x244100[_0x244100['TOO_MANY_REQUESTS']=0x8]=_0x1a7f07(0x3f9),_0x244100[_0x244100[_0x1a7f07(0x3ee)]=0x9]=_0x1a7f07(0x3ee),_0x244100[_0x244100[_0x1a7f07(0x389)]=0x1389]=_0x1a7f07(0x389),_0x244100[_0x244100[_0x1a7f07(0x548)]=0x1771]=_0x1a7f07(0x548),_0x244100[_0x244100[_0x1a7f07(0x448)]=0x1772]=_0x1a7f07(0x448),_0x244100[_0x244100['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x244100[_0x244100['APPLY_REJECT']=0x1b59]=_0x1a7f07(0x4ad),_0x244100[_0x244100[_0x1a7f07(0x256)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x244100[_0x244100[_0x1a7f07(0x36e)]=0x1b5b]=_0x1a7f07(0x36e),_0x244100[_0x244100[_0x1a7f07(0x36a)]=0x1b5c]=_0x1a7f07(0x36a),_0x244100[_0x244100['APPLY_DUPLICATED']=0x1b5d]=_0x1a7f07(0x446),_0x244100[_0x244100[_0x1a7f07(0x3e5)]=0x1f41]=_0x1a7f07(0x3e5),_0x244100[_0x244100[_0x1a7f07(0x59b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x244100[_0x244100['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1a7f07(0x336),_0x244100[_0x244100[_0x1a7f07(0x369)]=0x232b]=_0x1a7f07(0x369),_0x244100[_0x244100[_0x1a7f07(0x1d2)]=0x232c]=_0x1a7f07(0x1d2),_0x244100[_0x244100[_0x1a7f07(0x552)]=0x232d]=_0x1a7f07(0x552),_0x244100[_0x244100['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1a7f07(0x281),_0x244100[_0x244100[_0x1a7f07(0x5bb)]=0x2712]=_0x1a7f07(0x5bb),_0x244100[_0x244100[_0x1a7f07(0x30d)]=0x2713]=_0x1a7f07(0x30d),_0x244100[_0x244100[_0x1a7f07(0x33d)]=0x2714]=_0x1a7f07(0x33d),_0x244100[_0x244100[_0x1a7f07(0x3fd)]=-0x1]=_0x1a7f07(0x3fd),_0x244100))(Ri||{}),ce=(_0x3fb1e9=>(_0x3fb1e9[_0x3fb1e9['UNIVER_UNKNOWN']=0x0]=_0x1a7f07(0x4f1),_0x3fb1e9[_0x3fb1e9['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x3a2)]=0x2]=_0x1a7f07(0x3a2),_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x471)]=0x3]='UNIVER_SLIDE',_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x35a)]=0x4]=_0x1a7f07(0x35a),_0x3fb1e9[_0x3fb1e9[_0x1a7f07(0x3fd)]=-0x1]=_0x1a7f07(0x3fd),_0x3fb1e9))(ce||{}),W=(_0x15019b=>(_0x15019b[_0x15019b[_0x1a7f07(0x377)]=0x0]='UNKNOWN_CMD',_0x15019b[_0x15019b[_0x1a7f07(0x1e1)]=0x1]=_0x1a7f07(0x1e1),_0x15019b[_0x15019b[_0x1a7f07(0x20d)]=0x2]=_0x1a7f07(0x20d),_0x15019b[_0x15019b[_0x1a7f07(0x222)]=0x3]=_0x1a7f07(0x222),_0x15019b[_0x15019b[_0x1a7f07(0x1df)]=0x4]=_0x1a7f07(0x1df),_0x15019b[_0x15019b[_0x1a7f07(0x315)]=0x5]=_0x1a7f07(0x315),_0x15019b[_0x15019b[_0x1a7f07(0x478)]=0x6]=_0x1a7f07(0x478),_0x15019b[_0x15019b[_0x1a7f07(0x3fd)]=-0x1]='UNRECOGNIZED',_0x15019b))(W||{}),Is=(_0x3b61c5=>(_0x3b61c5[_0x3b61c5[_0x1a7f07(0x2d3)]=0x0]=_0x1a7f07(0x2d3),_0x3b61c5[_0x3b61c5['OK']=0x1]='OK',_0x3b61c5[_0x3b61c5[_0x1a7f07(0x58e)]=0x2]=_0x1a7f07(0x58e),_0x3b61c5[_0x3b61c5[_0x1a7f07(0x3fd)]=-0x1]='UNRECOGNIZED',_0x3b61c5))(Is||{}),yi=(_0xced278=>(_0xced278[_0xced278[_0x1a7f07(0x318)]=0x0]='Undefined',_0xced278[_0xced278[_0x1a7f07(0x304)]=0x1]=_0x1a7f07(0x304),_0xced278[_0xced278['HttpExport']=0x2]=_0x1a7f07(0x45b),_0xced278[_0xced278[_0x1a7f07(0x4cb)]=0x3]=_0x1a7f07(0x4cb),_0xced278[_0xced278[_0x1a7f07(0x521)]=0x4]=_0x1a7f07(0x521),_0xced278[_0xced278[_0x1a7f07(0x3fd)]=-0x1]=_0x1a7f07(0x3fd),_0xced278))(yi||{});const ie=_0x1a7f07(0x39f),Er={};function br(_0x2f5506){const _0x5eef78=_0x1a7f07;var _0x2214e0,_0x153d8e,_0x541c16,_0x459f5a,_0x7274fe;const _0x4f898c=_0x2f5506[_0x5eef78(0x32e)],_0x3c1e39=JSON[_0x5eef78(0x379)](_0x4f898c);switch(_0x3c1e39['cmd']){case W[_0x5eef78(0x315)]:case W['HELLO']:{const _0x2b01ee=_0x3c1e39[_0x5eef78(0x27d)];return{..._0x3c1e39,'data':_0x2b01ee,'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};}case W['JOIN']:{const _0x31f0be=_0x3c1e39[_0x5eef78(0x32d)];return{..._0x3c1e39,'data':_0x31f0be,'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};}case W[_0x5eef78(0x478)]:{const _0x28a0d2=_0x3c1e39[_0x5eef78(0x363)];switch(_0x28a0d2[_0x5eef78(0x215)]){case _0x4e3c97['PERMISSION_REJ']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x2214e0=_0x28a0d2[_0x5eef78(0x29b)])==null?void 0x0:_0x2214e0['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x343)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x153d8e=_0x28a0d2['csAckEvent'])==null?void 0x0:_0x153d8e['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97['NEW_CHANGESETS']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x541c16=_0x28a0d2[_0x5eef78(0x3c6)])==null?void 0x0:_0x541c16['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x4e7)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x459f5a=_0x28a0d2['csRejEvent'])==null?void 0x0:_0x459f5a['cs']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x22a)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':(_0x7274fe=_0x28a0d2[_0x5eef78(0x3e8)])==null?void 0x0:_0x7274fe['cs']},'cmd':_0x3c1e39['cmd']};case _0x4e3c97[_0x5eef78(0x1cc)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x253)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x3af)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x5c4)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x54c)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x25a)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97['LIVESHARE_NEW_HOST']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x43e)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x5ae)]:case _0x4e3c97[_0x5eef78(0x22b)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x2fa)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x1e3)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2['liveShareNewHost']},'cmd':_0x3c1e39['cmd']};case _0x4e3c97[_0x5eef78(0x5ca)]:return{..._0x3c1e39,'data':_0x28a0d2,'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x4f4)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x2d4)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97[_0x5eef78(0x576)]:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2[_0x5eef78(0x4e9)]},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};case _0x4e3c97['SHOULD_CLOSE_CONN']:return{..._0x3c1e39,'data':{..._0x28a0d2,'data':_0x28a0d2['shouldCloseConn']},'cmd':_0x3c1e39[_0x5eef78(0x2b3)]};default:return _0x3c1e39;}}default:return _0x3c1e39;}}function Tr(_0x8319e8){const _0x4c215e=_0x1a7f07;switch(_0x8319e8['cmd']){case W[_0x4c215e(0x315)]:case W[_0x4c215e(0x1e1)]:return JSON[_0x4c215e(0x52c)]({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8[_0x4c215e(0x31e)]});case W[_0x4c215e(0x1df)]:{let _0xf412c9;switch(_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x215)]){case _0x4e3c97[_0x4c215e(0x1cc)]:{_0xf412c9={'eventID':_0x4e3c97['UPDATE_CURSOR'],'updateCursorEvent':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x54c)]:{_0xf412c9={'eventID':_0x4e3c97['USERS_LEAVE'],'leaveEvent':_0x8319e8[_0x4c215e(0x32e)]['data']};break;}case _0x4e3c97['USERS_ENTER']:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x3af)],'joinEvent':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x3a5)]:{_0xf412c9={'eventID':_0x4e3c97['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x22b)]:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x22b)],'liveShareOperation':_0x8319e8[_0x4c215e(0x32e)]['data']};break;}case _0x4e3c97[_0x4c215e(0x1e3)]:{_0xf412c9={'eventID':_0x4e3c97['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x8319e8['data'][_0x4c215e(0x32e)]};break;}case _0x4e3c97[_0x4c215e(0x4b0)]:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x4b0)],'liveShareRequestHost':_0x8319e8[_0x4c215e(0x32e)]['data']};break;}case _0x4e3c97[_0x4c215e(0x5ae)]:{_0xf412c9={'eventID':_0x4e3c97[_0x4c215e(0x5ae)]};break;}default:_0xf412c9={'eventID':_0x8319e8[_0x4c215e(0x32e)][_0x4c215e(0x215)]};}return JSON[_0x4c215e(0x52c)]({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8['routeKey'],'collaMsg':_0xf412c9});}case W[_0x4c215e(0x20d)]:return JSON[_0x4c215e(0x52c)]({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8[_0x4c215e(0x31e)],'joinReq':_0x8319e8[_0x4c215e(0x32e)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x8319e8[_0x4c215e(0x2b3)],'routeKey':_0x8319e8['routeKey'],'leaveReq':_0x8319e8[_0x4c215e(0x32e)]});default:throw new Error(_0x4c215e(0x3cd));}}var Rr=Object[_0x1a7f07(0x5b3)],yr=Object[_0x1a7f07(0x298)],Or=(_0x555229,_0x3aacec,_0x2dd10f,_0x39457a)=>{for(var _0x1cc4e3=_0x39457a>0x1?void 0x0:_0x39457a?yr(_0x3aacec,_0x2dd10f):_0x3aacec,_0x4e4854=_0x555229['length']-0x1,_0x3f0bce;_0x4e4854>=0x0;_0x4e4854--)(_0x3f0bce=_0x555229[_0x4e4854])&&(_0x1cc4e3=(_0x39457a?_0x3f0bce(_0x3aacec,_0x2dd10f,_0x1cc4e3):_0x3f0bce(_0x1cc4e3))||_0x1cc4e3);return _0x39457a&&_0x1cc4e3&&Rr(_0x3aacec,_0x2dd10f,_0x1cc4e3),_0x1cc4e3;},qe=(_0x162231,_0x1bbd80)=>(_0x53e139,_0x514ede)=>_0x1bbd80(_0x53e139,_0x514ede,_0x162231);const Oi=_0x2707b7('univer-pro.collaboration-client-socket-service');function wr(_0x1246f4,_0x3baaf9,_0x3f5f81){const _0x42a815=_0x1a7f07;return _0x1246f4+'/'+_0x3baaf9+'/unit/'+_0x3f5f81+_0x42a815(0x338);}function _0x54d3(_0x4cd562,_0x87c29c){const _0x59616b=_0x5961();return _0x54d3=function(_0x54d39a,_0x2cd688){_0x54d39a=_0x54d39a-0x1bd;let _0x331933=_0x59616b[_0x54d39a];return _0x331933;},_0x54d3(_0x4cd562,_0x87c29c);}let es=class extends _0x3b3e75{constructor(_0x2ac730,_0x13a6cd,_0x1b3542,_0x27d5e6,_0x2740bf){const _0xe79333=_0x1a7f07;super(),this[_0xe79333(0x544)]=_0x2ac730,this[_0xe79333(0x328)]=_0x13a6cd,this[_0xe79333(0x428)]=_0x1b3542,this[_0xe79333(0x345)]=_0x27d5e6,this[_0xe79333(0x3bb)]=_0x2740bf;}[_0x1a7f07(0x4bd)](_0x237f5d){const _0x45b966=_0x1a7f07,_0x30392c=this['_ws']['createSocket'](_0x237f5d);if(!_0x30392c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5ccee4=new _0xb0f374(),_0x418deb=new _0x50574e();_0x5ccee4['add'](_0x30392c[_0x45b966(0x514)]['subscribe'](_0xebfb77=>_0x418deb[_0x45b966(0x265)](_0xebfb77))),_0x5ccee4[_0x45b966(0x476)](_0x1c981a(()=>_0x418deb[_0x45b966(0x5b0)]()));const _0x361955=new _0x50574e();_0x5ccee4['add'](_0x30392c[_0x45b966(0x382)]['subscribe'](_0xcc4ff2=>_0x361955[_0x45b966(0x265)](_0xcc4ff2))),_0x5ccee4[_0x45b966(0x476)](_0x1c981a(()=>_0x361955[_0x45b966(0x5b0)]()));const _0x40eeae=new _0x50574e();_0x5ccee4[_0x45b966(0x476)](_0x30392c[_0x45b966(0x2e5)][_0x45b966(0x29f)](_0x5499ed=>{const _0x444549=br(_0x5499ed);_0x40eeae['next'](_0x444549);})),_0x5ccee4['add'](_0x1c981a(()=>_0x40eeae[_0x45b966(0x5b0)]()));let _0x5600b2;const _0x4052c5=()=>{const _0x1dcc07=_0x45b966;_0x361955[_0x1dcc07(0x265)](new Event('connection\x20error')),_0x418deb[_0x1dcc07(0x265)](new CloseEvent(_0x1dcc07(0x41f))),_0x5600b2['close']();};return _0x5600b2={'memberID':'','close$':_0x418deb['asObservable'](),'error$':_0x361955['asObservable'](),'open$':_0x30392c[_0x45b966(0x2f4)],'message$':_0x40eeae[_0x45b966(0x456)](),'send':_0x1a4f93=>{const _0x4a44ba=_0x45b966;if(_0x1a4f93[_0x4a44ba(0x2b3)]===W['INGEST']){if(_0x1a4f93[_0x4a44ba(0x32e)][_0x4a44ba(0x215)]===_0x4e3c97['SUBMIT_CHANGESET']){this[_0x4a44ba(0x536)](_0x5600b2,_0x1a4f93[_0x4a44ba(0x32e)])[_0x4a44ba(0x319)](_0x173d0f=>{const _0x568cab=_0x4a44ba;this['_logService'][_0x568cab(0x3eb)](_0x173d0f),_0x4052c5();});return;}if(_0x1a4f93[_0x4a44ba(0x32e)][_0x4a44ba(0x215)]===_0x4e3c97['FETCH_MISSING']){const _0x4f0544=_0x1a4f93[_0x4a44ba(0x32e)];this['_fetchMissChangesets'](_0x4f0544)[_0x4a44ba(0x44f)](_0x3c35d0=>{const _0x1aa639=_0x4a44ba;_0x40eeae['next']({'cmd':W[_0x1aa639(0x478)],'code':Is['OK'],'routeKey':_0x4f0544['data'][_0x1aa639(0x5b2)],'routeType':'','data':{'eventID':_0x4e3c97[_0x1aa639(0x35b)],'data':{'changesets':_0x3c35d0}}});})[_0x4a44ba(0x319)](_0x1486f7=>{const _0x591a5f=_0x4a44ba;this['_logService'][_0x591a5f(0x3eb)](_0x1486f7),_0x4052c5();});return;}}_0x30392c[_0x4a44ba(0x445)](Tr(_0x1a4f93));},'close':()=>{const _0x5eca07=_0x45b966;_0x30392c[_0x5eca07(0x4ed)](),_0x5ccee4[_0x5eca07(0x51b)]();}},_0x5600b2;}async[_0x1a7f07(0x536)](_0x594778,_0x1d7778){const _0x230d6e=_0x1a7f07;var _0x637312,_0x37406e;const {unitType:_0x734e06,unitID:_0x23fecb,changeset:_0x2a1470}=_0x1d7778['data'],_0x362216={'unitID':_0x23fecb,'memberID':_0x594778[_0x230d6e(0x286)],'type':_0x734e06,'changeset':_0xb83e96(_0x2a1470)},_0xacd3bb=this[_0x230d6e(0x428)][_0x230d6e(0x1bf)](gr),_0x58f816=this[_0x230d6e(0x428)][_0x230d6e(0x1bf)](ie),_0x49f241=wr((_0x37406e=(_0x637312=_0x58f816==null?void 0x0:_0x58f816['collabSubmitChangesetUrl'])!=null?_0x637312:_0xacd3bb)!=null?_0x37406e:Sr,_0x734e06,_0x23fecb);try{await this[_0x230d6e(0x544)][_0x230d6e(0x3bd)](_0x49f241,{'body':_0x362216});}catch(_0x9d771a){throw this[_0x230d6e(0x345)][_0x230d6e(0x3eb)](_0x230d6e(0x2ef),'submit\x20changeset\x20error!'),_0x9d771a;}}async[_0x1a7f07(0x300)](_0xdddb33){const _0x3b0318=_0x1a7f07,{unitID:_0x5ee078,from:_0x274a7f,to:_0x3e52c4,unitType:_0x20f199}=_0xdddb33[_0x3b0318(0x32e)];return(await this[_0x3b0318(0x3bb)][_0x3b0318(0x36d)]({'metadata':void 0x0},{'unitID':_0x5ee078,'type':_0x20f199,'from':_0x274a7f,'to':_0x3e52c4}))['changesets'];}};es=Or([qe(0x0,_0x5cf6ec(_0x337047)),qe(0x1,_0x5cf6ec(_0x138fc4)),qe(0x2,_0x34b905),qe(0x3,_0x1e210b),qe(0x4,_0x5670c4)],es);const Dr=_0x1a7f07(0x399);function Pr(_0x34c237){const _0x1d0e91=_0x1a7f07;return JSON['stringify'](_0x34c237)[_0x1d0e91(0x5bc)];}class wi{constructor(){const _0x32805a=_0x1a7f07;g(this,_0x32805a(0x316),new _0x50574e()),g(this,'commentUpdate$',this[_0x32805a(0x316)][_0x32805a(0x456)]());}[_0x1a7f07(0x28f)](_0x249819){const _0x42d8fd=_0x1a7f07;this[_0x42d8fd(0x316)][_0x42d8fd(0x265)](_0x249819);}}var Ur=Object[_0x1a7f07(0x5b3)],Nr=Object[_0x1a7f07(0x298)],Ar=(_0xa2bc10,_0x35cb0f,_0x1d5633,_0x28eaa7)=>{const _0x18cb92=_0x1a7f07;for(var _0xa14751=_0x28eaa7>0x1?void 0x0:_0x28eaa7?Nr(_0x35cb0f,_0x1d5633):_0x35cb0f,_0xe34cc=_0xa2bc10[_0x18cb92(0x5bc)]-0x1,_0x3cd7c9;_0xe34cc>=0x0;_0xe34cc--)(_0x3cd7c9=_0xa2bc10[_0xe34cc])&&(_0xa14751=(_0x28eaa7?_0x3cd7c9(_0x35cb0f,_0x1d5633,_0xa14751):_0x3cd7c9(_0xa14751))||_0xa14751);return _0x28eaa7&&_0xa14751&&Ur(_0x35cb0f,_0x1d5633,_0xa14751),_0xa14751;},Hs=(_0x21e6d9,_0xb2242a)=>(_0x4067fa,_0x390988)=>_0xb2242a(_0x4067fa,_0x390988,_0x21e6d9);let Ne=class extends _0x3b3e75{constructor(_0x524d01,_0x137c8c){const _0x49f411=_0x1a7f07;super(),g(this,_0x49f411(0x1ec),new Map()),(this[_0x49f411(0x44e)]=_0x524d01,this[_0x49f411(0x39c)]=_0x137c8c,this[_0x49f411(0x4b1)](_0x1c981a(_0x407b74(this[_0x49f411(0x44e)][_0x49f411(0x276)](_0x31d58f['UNIVER_SHEET'])[_0x49f411(0x1cf)](_0x4e0bfc(_0x41f029=>_0x41f029['getUnitId']())),this[_0x49f411(0x44e)][_0x49f411(0x276)](_0x31d58f[_0x49f411(0x51a)])[_0x49f411(0x1cf)](_0x4e0bfc(_0xc262b1=>_0xc262b1[_0x49f411(0x5c1)]())),this[_0x49f411(0x44e)][_0x49f411(0x276)](_0x31d58f[_0x49f411(0x471)])[_0x49f411(0x1cf)](_0x4e0bfc(_0x5d87bc=>_0x5d87bc['getUnitId']())))[_0x49f411(0x29f)](_0x25dade=>this[_0x49f411(0x25f)](_0x25dade)))));}[_0x1a7f07(0x50b)](_0x4ff632){const _0x4ac4ff=_0x1a7f07;this['_userManagerService'][_0x4ac4ff(0x50b)](_0x4ff632);}['getCurrentUser'](){const _0x219eb1=_0x1a7f07;return this['_userManagerService'][_0x219eb1(0x3c2)]();}[_0x1a7f07(0x21e)](_0x97ca75,_0x29aa7b){const _0x49da99=_0x1a7f07;let _0x306b0f=this[_0x49da99(0x1ec)][_0x49da99(0x59a)](_0x97ca75);_0x306b0f||(_0x306b0f=new Mr(),this[_0x49da99(0x1ec)]['set'](_0x97ca75,_0x306b0f)),_0x306b0f[_0x49da99(0x21e)](_0x29aa7b);}[_0x1a7f07(0x530)](_0x453eb0,_0x232677){const _0xcf3e5b=_0x1a7f07,_0x40a16e=this[_0xcf3e5b(0x1ec)][_0xcf3e5b(0x59a)](_0x453eb0);_0x40a16e&&_0x40a16e[_0xcf3e5b(0x530)](_0x232677);}[_0x1a7f07(0x1de)](_0x285ebf){const _0x326cdd=_0x1a7f07;return this[_0x326cdd(0x1ec)][_0x326cdd(0x59a)](_0x285ebf);}[_0x1a7f07(0x326)](_0xec0442,_0x14d2d6){const _0x1dd72d=_0x1a7f07,_0x1c7957=this[_0x1dd72d(0x1ec)][_0x1dd72d(0x59a)](_0xec0442);if(_0x1c7957)return _0x1c7957[_0x1dd72d(0x326)](_0x14d2d6);}[_0x1a7f07(0x25f)](_0x5c68f4){const _0x2a1139=_0x1a7f07,_0x2bd256=this[_0x2a1139(0x1ec)][_0x2a1139(0x59a)](_0x5c68f4);_0x2bd256&&(_0x2bd256['dispose'](),this[_0x2a1139(0x1ec)][_0x2a1139(0x473)](_0x5c68f4));}[_0x1a7f07(0x51b)](){const _0x12410a=_0x1a7f07;this[_0x12410a(0x1ec)][_0x12410a(0x547)](_0x3f66de=>_0x3f66de[_0x12410a(0x51b)]()),this[_0x12410a(0x1ec)]['clear']();}};Ne=Ar([Hs(0x0,_0x1726a1),Hs(0x1,_0x5cf6ec(_0x133322))],Ne);class Mr extends _0x3b3e75{constructor(){const _0x43ea8c=_0x1a7f07;super(...arguments),g(this,_0x43ea8c(0x267),new Map());}[_0x1a7f07(0x51b)](){const _0x2ea949=_0x1a7f07;this['_members'][_0x2ea949(0x320)]();}[_0x1a7f07(0x21e)](_0x442941){const _0x4095d4=_0x1a7f07;this['_members'][_0x4095d4(0x3f4)](_0x442941['memberID'],_0x442941);}[_0x1a7f07(0x530)](_0x370ec8){const _0x31dfd8=_0x1a7f07;this[_0x31dfd8(0x267)]['delete'](_0x370ec8);}['getMember'](_0x3799fc){const _0x57229e=_0x1a7f07;return this[_0x57229e(0x267)]['get'](_0x3799fc);}[_0x1a7f07(0x419)](){const _0x109939=_0x1a7f07;return Array[_0x109939(0x2ed)](this[_0x109939(0x267)][_0x109939(0x4d7)]());}}var xr=Object[_0x1a7f07(0x5b3)],Lr=Object[_0x1a7f07(0x298)],$r=(_0x15d7f4,_0x5e1cdd,_0x496f36,_0x8f35c1)=>{const _0x351cc9=_0x1a7f07;for(var _0x4600a5=_0x8f35c1>0x1?void 0x0:_0x8f35c1?Lr(_0x5e1cdd,_0x496f36):_0x5e1cdd,_0xfad8e5=_0x15d7f4[_0x351cc9(0x5bc)]-0x1,_0x2e8448;_0xfad8e5>=0x0;_0xfad8e5--)(_0x2e8448=_0x15d7f4[_0xfad8e5])&&(_0x4600a5=(_0x8f35c1?_0x2e8448(_0x5e1cdd,_0x496f36,_0x4600a5):_0x2e8448(_0x4600a5))||_0x4600a5);return _0x8f35c1&&_0x4600a5&&xr(_0x5e1cdd,_0x496f36,_0x4600a5),_0x4600a5;},Ee=(_0x3871bd,_0x3ea4a7)=>(_0xc95bdb,_0x3222aa)=>_0x3ea4a7(_0xc95bdb,_0x3222aa,_0x3871bd),ve=(_0x25bbe9=>(_0x25bbe9[_0x25bbe9[_0x1a7f07(0x350)]=0x0]=_0x1a7f07(0x350),_0x25bbe9[_0x25bbe9['JOINING']=0x1]=_0x1a7f07(0x3a9),_0x25bbe9[_0x25bbe9[_0x1a7f07(0x31d)]=0x2]=_0x1a7f07(0x31d),_0x25bbe9[_0x25bbe9['ONLINE']=0x3]=_0x1a7f07(0x48d),_0x25bbe9))(ve||{});let ts=class extends _0x1cb902{constructor(_0x8f1818,_0x4ae456,_0x3e6d74,_0x2b053c,_0xcdf6dd,_0x1461ea,_0x19ce7e,_0x25233e,_0x5cfc5b,_0x5c1246){const _0x140118=_0x1a7f07;super(),g(this,_0x140118(0x3d8),new _0x2c5f3e(0x0)),g(this,_0x140118(0x3aa),this[_0x140118(0x3d8)][_0x140118(0x456)]()),g(this,_0x140118(0x467),new _0x50574e()),g(this,'event$',this['_event$'][_0x140118(0x456)]()),g(this,_0x140118(0x293)),g(this,_0x140118(0x488)),g(this,'_collaborationTimeoutTimer'),g(this,_0x140118(0x411),!0x1),g(this,'_telemetryInfo',null),(this[_0x140118(0x51f)]=_0x8f1818,this[_0x140118(0x345)]=_0x3e6d74,this[_0x140118(0x437)]=_0x2b053c,this['_messageService']=_0xcdf6dd,this[_0x140118(0x428)]=_0x1461ea,this[_0x140118(0x47a)]=_0x19ce7e,this[_0x140118(0x2d8)]=_0x25233e,this['_commentService']=_0x5cfc5b,this[_0x140118(0x2e6)]=_0x5c1246,this[_0x140118(0x411)]=!!this[_0x140118(0x2e6)],_0x4ae456[_0x140118(0x1cf)](_0x171184(this[_0x140118(0x22c)]))[_0x140118(0x29f)](_0x497084=>{const _0x2f2d1b=_0x140118;var _0xb429da;typeof _0x497084>'u'||(this[_0x2f2d1b(0x293)]=_0x497084,_0x497084?(this[_0x2f2d1b(0x59d)](_0x497084),this['_socketMessageSubscription']=_0x497084['message$'][_0x2f2d1b(0x29f)](_0x599aaf=>{const _0x43e445=_0x2f2d1b;_0x599aaf[_0x43e445(0x31e)]===this[_0x43e445(0x51f)]&&this['_onCombEvent'](_0x599aaf);})):(this[_0x2f2d1b(0x299)](),this['_sessionStatus$']['next'](0x2),(_0xb429da=this[_0x2f2d1b(0x488)])==null||_0xb429da[_0x2f2d1b(0x4ee)](),this[_0x2f2d1b(0x488)]=null));}),this[_0x140118(0x4b1)](this[_0x140118(0x437)]['registerOnClose'](()=>{const _0x170ea5=_0x140118;var _0x2af462;(_0x2af462=this[_0x170ea5(0x293)])==null||_0x2af462[_0x170ea5(0x445)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x170ea5(0x51f)]}});})));}get[_0x1a7f07(0x28a)](){const _0x3b28ab=_0x1a7f07;return this[_0x3b28ab(0x3d8)]['getValue']();}[_0x1a7f07(0x57b)](){const _0x952505=_0x1a7f07;var _0x25a92a,_0x244ae0;return(_0x244ae0=(_0x25a92a=this[_0x952505(0x293)])==null?void 0x0:_0x25a92a['memberID'])!=null?_0x244ae0:null;}[_0x1a7f07(0x51b)](){const _0x5c200f=_0x1a7f07;super[_0x5c200f(0x51b)](),this[_0x5c200f(0x22c)][_0x5c200f(0x265)](),this[_0x5c200f(0x22c)][_0x5c200f(0x5b0)]();}[_0x1a7f07(0x4ed)](){const _0x3daadb=_0x1a7f07;var _0x68b3e7,_0x9d36f7;this[_0x3daadb(0x299)](),(_0x68b3e7=this[_0x3daadb(0x293)])==null||_0x68b3e7[_0x3daadb(0x445)]({'cmd':W[_0x3daadb(0x222)],'data':{'roomID':this[_0x3daadb(0x51f)]}}),(_0x9d36f7=this[_0x3daadb(0x293)])==null||_0x9d36f7[_0x3daadb(0x4ed)](),this[_0x3daadb(0x467)][_0x3daadb(0x5b0)](),this[_0x3daadb(0x3d8)][_0x3daadb(0x5b0)](),this[_0x3daadb(0x51b)]();}['_onCombEvent'](_0x193c0a){const _0x468b53=_0x1a7f07;_0x193c0a['cmd']===W[_0x468b53(0x20d)]?this[_0x468b53(0x1f6)](_0x193c0a):_0x193c0a[_0x468b53(0x2b3)]===W[_0x468b53(0x478)]&&this[_0x468b53(0x1cd)](_0x193c0a);}[_0x1a7f07(0x59d)](_0x270fad){const _0x423a33=_0x1a7f07;this[_0x423a33(0x3d8)][_0x423a33(0x265)](0x1),_0x270fad[_0x423a33(0x445)]({'cmd':W['JOIN'],'routeKey':this[_0x423a33(0x51f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x423a33(0x51f)]}]}});}[_0x1a7f07(0x1f6)](_0x4ec012){const _0x5b5621=_0x1a7f07;var _0x430f60;if(_0x4ec012[_0x5b5621(0x434)]===Is['FAIL']){this[_0x5b5621(0x387)][_0x5b5621(0x1ed)]({'type':_0x4c03fa['Warning'],'content':this['_localeService']['t']('session.room-full')}),this[_0x5b5621(0x3d8)][_0x5b5621(0x265)](0x2);return;}this[_0x5b5621(0x3d8)][_0x5b5621(0x265)](0x3);const _0x1983ae=(_0x430f60=_0x4ec012[_0x5b5621(0x32e)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x430f60[_0x5b5621(0x390)];_0x1983ae&&_0x1983ae[_0x5b5621(0x547)](_0x42bc8a=>this['_memberService'][_0x5b5621(0x21e)](this[_0x5b5621(0x51f)],_0x42bc8a));}[_0x1a7f07(0x1cd)](_0x208e6c){const _0x27abc3=_0x1a7f07;try{const _0xcab737=_0x208e6c[_0x27abc3(0x32e)];switch(_0xcab737[_0x27abc3(0x215)]){case _0x4e3c97[_0x27abc3(0x3af)]:this['_onUserJoin'](_0xcab737),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x54c)]:this[_0x27abc3(0x283)](_0xcab737),this[_0x27abc3(0x467)]['next'](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x343)]:case _0x4e3c97[_0x27abc3(0x22a)]:this[_0x27abc3(0x436)](),this[_0x27abc3(0x306)](),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x5ca)]:this['_logService'][_0x27abc3(0x3eb)](_0x27abc3(0x1d4)+JSON[_0x27abc3(0x52c)](_0xcab737)),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;case _0x4e3c97[_0x27abc3(0x4f4)]:this[_0x27abc3(0x4c4)]['onCommentUpdate'](_0xcab737[_0x27abc3(0x32e)]),this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);break;default:this[_0x27abc3(0x467)][_0x27abc3(0x265)](_0xcab737);}}catch(_0x13b3dd){this[_0x27abc3(0x345)][_0x27abc3(0x3eb)](_0x13b3dd,_0x208e6c);}}['_onUserJoin'](_0x32ae2c){const _0x29d711=_0x1a7f07;this[_0x29d711(0x2d8)][_0x29d711(0x21e)](this[_0x29d711(0x51f)],_0x32ae2c[_0x29d711(0x32e)]);}[_0x1a7f07(0x283)](_0x433004){const _0x528879=_0x1a7f07;this[_0x528879(0x2d8)][_0x528879(0x530)](this[_0x528879(0x51f)],_0x433004[_0x528879(0x32e)][_0x528879(0x286)]);}async[_0x1a7f07(0x445)](_0x451743,_0x1db162){const _0x50600c=_0x1a7f07;if(this[_0x50600c(0x28a)]!==0x3||!this[_0x50600c(0x293)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x451743['eventID']===_0x4e3c97[_0x50600c(0x4c2)]&&(this[_0x50600c(0x50a)](),this[_0x50600c(0x5ba)](_0x451743)),this[_0x50600c(0x293)][_0x50600c(0x445)]({'cmd':W[_0x50600c(0x1df)],'routeKey':_0x1db162,'routeType':'','data':_0x451743});}catch(_0x228e5c){this['_logService'][_0x50600c(0x3eb)](_0x228e5c);}}[_0x1a7f07(0x50a)](){const _0x19d085=_0x1a7f07;var _0x2e923f;this[_0x19d085(0x397)]=window['setTimeout'](()=>{const _0x41faf7=_0x19d085;this[_0x41faf7(0x397)]=null,this[_0x41faf7(0x387)][_0x41faf7(0x1ed)]({'type':_0x4c03fa[_0x41faf7(0x4c0)],'content':this[_0x41faf7(0x47a)]['t'](_0x41faf7(0x3b8))});},(_0x2e923f=this['_configService'][_0x19d085(0x1bf)](bi))!=null?_0x2e923f:Ti);}[_0x1a7f07(0x306)](){const _0x254c34=_0x1a7f07;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x254c34(0x397)]=null);}[_0x1a7f07(0x5ba)](_0x131f0e){const _0x2ef4e9=_0x1a7f07;if(!this[_0x2ef4e9(0x411)])return;const {data:_0x2ead17}=_0x131f0e,{unitID:_0x33f275,changeset:_0x3c649e}=_0x2ead17,{mutations:_0x5ebf8c,type:_0x1f95c7}=_0x3c649e;this[_0x2ef4e9(0x1c4)]={'unitId':_0x33f275,'type':_0x1f95c7,'startTime':performance[_0x2ef4e9(0x3f7)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x5ebf8c)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x121c08=_0x1a7f07;if(this[_0x121c08(0x411)]){if(!this[_0x121c08(0x1c4)]){this['_logService']['error']('[CollaborationSession]',_0x121c08(0x1f1));return;}this[_0x121c08(0x1c4)][_0x121c08(0x371)]=performance[_0x121c08(0x3f7)](),this[_0x121c08(0x1c4)][_0x121c08(0x214)]=this[_0x121c08(0x1c4)]['stopTime']-this[_0x121c08(0x1c4)][_0x121c08(0x34d)],this[_0x121c08(0x2e6)][_0x121c08(0x418)](Dr,this['_telemetryInfo']),this[_0x121c08(0x1c4)]=null;}}[_0x1a7f07(0x299)](){const _0x1f5943=_0x1a7f07;this[_0x1f5943(0x1c4)]=null;}};ts=$r([Ee(0x2,_0x1e210b),Ee(0x3,_0x5826ab),Ee(0x4,_0x521fac),Ee(0x5,_0x34b905),Ee(0x6,_0x5cf6ec(_0x51f47a)),Ee(0x7,_0x5cf6ec(Ne)),Ee(0x8,_0x5cf6ec(wi)),Ee(0x9,_0x94953d(_0x2ab1b7))],ts);var Hr=Object[_0x1a7f07(0x5b3)],jr=Object[_0x1a7f07(0x298)],Br=(_0x57aed7,_0x2f610c,_0x597031,_0x39bbe0)=>{const _0x881561=_0x1a7f07;for(var _0x739462=_0x39bbe0>0x1?void 0x0:_0x39bbe0?jr(_0x2f610c,_0x597031):_0x2f610c,_0x5cae69=_0x57aed7[_0x881561(0x5bc)]-0x1,_0x5f0436;_0x5cae69>=0x0;_0x5cae69--)(_0x5f0436=_0x57aed7[_0x5cae69])&&(_0x739462=(_0x39bbe0?_0x5f0436(_0x2f610c,_0x597031,_0x739462):_0x5f0436(_0x739462))||_0x739462);return _0x39bbe0&&_0x739462&&Hr(_0x2f610c,_0x597031,_0x739462),_0x739462;},je=(_0x46e242,_0x172a09)=>(_0x504b2b,_0x3bb783)=>_0x172a09(_0x504b2b,_0x3bb783,_0x46e242);let Ae=class extends _0x3b3e75{constructor(_0x54eedc,_0x22485d,_0x2e3613,_0x5c4039,_0x516461,_0x4fec98){const _0x24da42=_0x1a7f07;super(),g(this,_0x24da42(0x404),new _0x2c5f3e(void 0x0)),g(this,_0x24da42(0x53a),this[_0x24da42(0x404)][_0x24da42(0x456)]()),g(this,_0x24da42(0x37b),null),g(this,_0x24da42(0x539),new Map()),g(this,'_status$',new _0x2c5f3e(ve[_0x24da42(0x350)])),g(this,'status$',this[_0x24da42(0x1fd)][_0x24da42(0x456)]()),g(this,_0x24da42(0x2fe),!0x1),g(this,_0x24da42(0x504)),g(this,'_retryCount',0x0),g(this,_0x24da42(0x4f3)),g(this,_0x24da42(0x2d5)),(this[_0x24da42(0x4d5)]=_0x54eedc,this[_0x24da42(0x47a)]=_0x22485d,this[_0x24da42(0x387)]=_0x2e3613,this[_0x24da42(0x345)]=_0x5c4039,this[_0x24da42(0x428)]=_0x516461,this[_0x24da42(0x4ec)]=_0x4fec98,this[_0x24da42(0x51e)]());}get['_socket'](){const _0x1e8d06=_0x1a7f07;return this[_0x1e8d06(0x404)][_0x1e8d06(0x3f6)]();}[_0x1a7f07(0x51e)](){const _0x4359d6=_0x1a7f07;this[_0x4359d6(0x3c1)](),this[_0x4359d6(0x4d3)]();}[_0x1a7f07(0x51b)](){const _0x1f3b48=_0x1a7f07;super[_0x1f3b48(0x51b)](),this[_0x1f3b48(0x539)][_0x1f3b48(0x547)](_0x505829=>_0x505829['dispose']()),this[_0x1f3b48(0x539)][_0x1f3b48(0x320)](),this['_status$']['complete']();}async[_0x1a7f07(0x2ad)](_0x57d6f6){const _0x3d9f2f=_0x1a7f07;if(this[_0x3d9f2f(0x539)][_0x3d9f2f(0x581)](_0x57d6f6))return this[_0x3d9f2f(0x539)][_0x3d9f2f(0x59a)](_0x57d6f6);this[_0x3d9f2f(0x249)]();const _0x359bc5=this[_0x3d9f2f(0x4d5)]['createInstance'](ts,_0x57d6f6,this[_0x3d9f2f(0x404)][_0x3d9f2f(0x456)]());return this['_sessions'][_0x3d9f2f(0x3f4)](_0x57d6f6,_0x359bc5),_0x359bc5;}[_0x1a7f07(0x365)](_0x49fcef){const _0x457bbb=_0x1a7f07;var _0x464b7c;const _0x378871=this[_0x457bbb(0x539)][_0x457bbb(0x59a)](_0x49fcef);_0x378871&&(this['_sessions'][_0x457bbb(0x473)](_0x49fcef),_0x378871[_0x457bbb(0x4ed)]()),this[_0x457bbb(0x539)][_0x457bbb(0x252)]||(_0x464b7c=this['_socket'])==null||_0x464b7c['close']();}[_0x1a7f07(0x32a)](){const _0x139f62=_0x1a7f07;this[_0x139f62(0x535)]=0x0,this[_0x139f62(0x504)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x139f62(0x504)]=null),this[_0x139f62(0x503)]();}[_0x1a7f07(0x1ea)](){const _0x11d778=_0x1a7f07;var _0x1d7e53,_0x1daa9b;const _0x5b0ea2=this[_0x11d778(0x428)][_0x11d778(0x1bf)](hr),_0xf155f1=this[_0x11d778(0x428)][_0x11d778(0x1bf)](ie),_0xf2de36=(_0x1daa9b=(_0x1d7e53=_0xf155f1==null?void 0x0:_0xf155f1[_0x11d778(0x1fa)])!=null?_0x1d7e53:_0x5b0ea2)!=null?_0x1daa9b:lr,_0x5bec36=this[_0x11d778(0x4ec)][_0x11d778(0x4bd)](_0xf2de36);return this['_candidateSocket']=_0x5bec36,_0x5bec36;}[_0x1a7f07(0x249)](){const _0x5bf1a9=_0x1a7f07;var _0x50b049,_0x3c8ada;try{const _0x26a299=(_0x3c8ada=(_0x50b049=this[_0x5bf1a9(0x293)])!=null?_0x50b049:this['_candidateSocket'])!=null?_0x3c8ada:this[_0x5bf1a9(0x1ea)]();if(_0x26a299){const _0xf49e89=_0x26a299['send'];_0x26a299[_0x5bf1a9(0x445)]=_0x178a93=>(this[_0x5bf1a9(0x3d0)](),_0xf49e89[_0x5bf1a9(0x49a)](_0x26a299,[_0x178a93])),_0x26a299[_0x5bf1a9(0x2e5)][_0x5bf1a9(0x29f)](_0x55ac9e=>this[_0x5bf1a9(0x37f)](_0x26a299,_0x55ac9e)),_0x26a299[_0x5bf1a9(0x382)]['pipe'](_0x23f267(0x1))[_0x5bf1a9(0x29f)](_0x11a4c4=>this[_0x5bf1a9(0x345)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x11a4c4)),_0x26a299[_0x5bf1a9(0x2f4)][_0x5bf1a9(0x1cf)](_0x23f267(0x1))['subscribe'](()=>{const _0x480c53=_0x5bf1a9;this[_0x480c53(0x2e7)](_0x26a299);}),_0x26a299[_0x5bf1a9(0x514)]['pipe'](_0x23f267(0x1))[_0x5bf1a9(0x29f)](_0x33b841=>{const _0x2bcf69=_0x5bf1a9;this['_logService'][_0x2bcf69(0x4b5)](_0x2bcf69(0x39e),'socket\x20close',_0x33b841),this[_0x2bcf69(0x4d9)]();});}}catch(_0x5b0493){this[_0x5bf1a9(0x345)][_0x5bf1a9(0x3eb)](_0x5b0493),this[_0x5bf1a9(0x4d9)]();}}[_0x1a7f07(0x2e7)](_0x31e744){const _0x4f655e=_0x1a7f07;this[_0x4f655e(0x345)][_0x4f655e(0x4b5)](_0x4f655e(0x39e),_0x4f655e(0x2eb)),_0x31e744['send']({'cmd':W[_0x4f655e(0x1e1)]}),this['_rescheduleHeartbeat']();}[_0x1a7f07(0x3c1)](){const _0x4bc195=_0x1a7f07;window[_0x4bc195(0x3e9)](_0x4bc195(0x3b0),()=>this[_0x4bc195(0x458)]());}[_0x1a7f07(0x458)](){const _0x205408=_0x1a7f07;this[_0x205408(0x2fe)]=!0x1,this[_0x205408(0x37b)]=null,this[_0x205408(0x1fd)]['next'](ve['OFFLINE']),this[_0x205408(0x404)]['next'](null),this['_clearTimeoutTimer'](),this[_0x205408(0x5cd)]();}[_0x1a7f07(0x4d9)](){const _0x1d5e6d=_0x1a7f07;var _0x3b7fa4;this[_0x1d5e6d(0x458)](),this[_0x1d5e6d(0x535)]<((_0x3b7fa4=this['_configService']['getConfig'](fr))!=null?_0x3b7fa4:vr)?(this[_0x1d5e6d(0x387)][_0x1d5e6d(0x1ed)]({'key':_0x1d5e6d(0x447),'type':_0x4c03fa[_0x1d5e6d(0x37a)],'content':this[_0x1d5e6d(0x47a)]['t'](_0x1d5e6d(0x3ca))}),this[_0x1d5e6d(0x503)]()):this[_0x1d5e6d(0x387)][_0x1d5e6d(0x1ed)]({'key':'collaboration-session-retry','type':_0x4c03fa[_0x1d5e6d(0x4c0)],'content':this[_0x1d5e6d(0x47a)]['t'](_0x1d5e6d(0x460))});}[_0x1a7f07(0x4d3)](){const _0x2cf4a0=_0x1a7f07,_0x4245ca=()=>{const _0x2545be=_0x54d3;this[_0x2545be(0x293)]||this[_0x2545be(0x32a)]();},_0x293312=()=>{const _0xd6ea53=_0x54d3;this['_socket']||document[_0xd6ea53(0x1e5)]===_0xd6ea53(0x4ce)||this[_0xd6ea53(0x32a)]();};window['addEventListener']('online',_0x4245ca),document[_0x2cf4a0(0x3e9)]('visibilitychange',_0x293312);}['_tryReconnect'](){const _0x3a9b7b=_0x1a7f07;var _0x2c48f3;const _0x476922=this[_0x3a9b7b(0x535)],_0x2e14ef=this[_0x3a9b7b(0x428)][_0x3a9b7b(0x1bf)](ie),_0x19b1df=_0x476922===0x0?0x0:((_0x2c48f3=_0x2e14ef==null?void 0x0:_0x2e14ef[_0x3a9b7b(0x518)])!=null?_0x2c48f3:dr)*0x2**_0x476922;this['_retryConnectingTimer']=window['setTimeout'](()=>{const _0x4922fe=_0x3a9b7b;clearTimeout(this[_0x4922fe(0x504)]),this['_retryConnectingTimer']=null,this[_0x4922fe(0x249)]();},_0x19b1df),this[_0x3a9b7b(0x535)]+=0x1;}[_0x1a7f07(0x37f)](_0xa84964,_0x2c2ba2){const _0x4a67da=_0x1a7f07,{cmd:_0xdcfad6}=_0x2c2ba2;_0xdcfad6===W[_0x4a67da(0x1e1)]&&!this[_0x4a67da(0x2fe)]&&(_0xa84964['memberID']=_0x2c2ba2[_0x4a67da(0x32e)][_0x4a67da(0x286)],this[_0x4a67da(0x404)][_0x4a67da(0x265)](_0xa84964),this[_0x4a67da(0x1fd)][_0x4a67da(0x265)](ve[_0x4a67da(0x48d)]),this[_0x4a67da(0x2fe)]=!0x0,this[_0x4a67da(0x37b)]=null),_0xdcfad6===W[_0x4a67da(0x315)]&&this['_clearTimeoutTimer'](),this[_0x4a67da(0x3d0)]();}[_0x1a7f07(0x3d0)](){const _0x329744=_0x1a7f07;var _0x1d48fe;this[_0x329744(0x5cd)](),this[_0x329744(0x4f3)]=window[_0x329744(0x38f)](()=>this[_0x329744(0x4e5)](),(_0x1d48fe=this[_0x329744(0x428)][_0x329744(0x1bf)](_r))!=null?_0x1d48fe:ur);}[_0x1a7f07(0x4e5)](){const _0x1444e3=_0x1a7f07;this[_0x1444e3(0x293)][_0x1444e3(0x445)]({'cmd':W[_0x1444e3(0x315)]}),this['_waitForHeartbeatResponse']();}[_0x1a7f07(0x3ac)](){const _0x31f8ea=_0x1a7f07;var _0x5ba137;this[_0x31f8ea(0x2d5)]=window['setTimeout'](()=>this[_0x31f8ea(0x4d9)](),(_0x5ba137=this[_0x31f8ea(0x428)]['getConfig'](bi))!=null?_0x5ba137:Ti);}['_clearHeartbeatTimer'](){const _0x42fe60=_0x1a7f07;this[_0x42fe60(0x4f3)]!=null&&(clearTimeout(this[_0x42fe60(0x4f3)]),this[_0x42fe60(0x4f3)]=null);}[_0x1a7f07(0x313)](){const _0x392fa6=_0x1a7f07;this[_0x392fa6(0x2d5)]!=null&&(clearTimeout(this[_0x392fa6(0x2d5)]),this[_0x392fa6(0x2d5)]=null);}};Ae=Br([je(0x0,_0x5cf6ec(_0xc0c089)),je(0x1,_0x5cf6ec(_0x51f47a)),je(0x2,_0x521fac),je(0x3,_0x1e210b),je(0x4,_0x34b905),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x1a7f07(0x4b6)]((Nt+0x100)[_0x1a7f07(0x297)](0x10)[_0x1a7f07(0x515)](0x1));function kr(_0x269447,_0x4ab2e2=0x0){const _0x1ebf9f=_0x1a7f07;return(Y[_0x269447[_0x4ab2e2+0x0]]+Y[_0x269447[_0x4ab2e2+0x1]]+Y[_0x269447[_0x4ab2e2+0x2]]+Y[_0x269447[_0x4ab2e2+0x3]]+'-'+Y[_0x269447[_0x4ab2e2+0x4]]+Y[_0x269447[_0x4ab2e2+0x5]]+'-'+Y[_0x269447[_0x4ab2e2+0x6]]+Y[_0x269447[_0x4ab2e2+0x7]]+'-'+Y[_0x269447[_0x4ab2e2+0x8]]+Y[_0x269447[_0x4ab2e2+0x9]]+'-'+Y[_0x269447[_0x4ab2e2+0xa]]+Y[_0x269447[_0x4ab2e2+0xb]]+Y[_0x269447[_0x4ab2e2+0xc]]+Y[_0x269447[_0x4ab2e2+0xd]]+Y[_0x269447[_0x4ab2e2+0xe]]+Y[_0x269447[_0x4ab2e2+0xf]])[_0x1ebf9f(0x26e)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x5e4e5d=_0x1a7f07;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x5e4e5d(0x44d)]&&crypto[_0x5e4e5d(0x44d)][_0x5e4e5d(0x373)](crypto),!ct))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x1a7f07(0x2a7)]&&crypto[_0x1a7f07(0x2a7)][_0x1a7f07(0x373)](crypto);const js={'randomUUID':Vr};function Gr(_0x81a17f,_0x24e5dd,_0x3533f5){const _0x4bcbca=_0x1a7f07;if(js['randomUUID']&&!_0x24e5dd&&!_0x81a17f)return js[_0x4bcbca(0x2a7)]();_0x81a17f=_0x81a17f||{};var _0xfea372=_0x81a17f[_0x4bcbca(0x463)]||(_0x81a17f[_0x4bcbca(0x3b5)]||Fr)();return _0xfea372[0x6]=_0xfea372[0x6]&0xf|0x40,_0xfea372[0x8]=_0xfea372[0x8]&0x3f|0x80,kr(_0xfea372);}var Yr=Object[_0x1a7f07(0x5b3)],Kr=Object[_0x1a7f07(0x298)],zr=(_0x213573,_0x1b34dc,_0x3db91c,_0x3a8c6c)=>{const _0x360864=_0x1a7f07;for(var _0x244ef5=_0x3a8c6c>0x1?void 0x0:_0x3a8c6c?Kr(_0x1b34dc,_0x3db91c):_0x1b34dc,_0x3f63e3=_0x213573[_0x360864(0x5bc)]-0x1,_0x442fa0;_0x3f63e3>=0x0;_0x3f63e3--)(_0x442fa0=_0x213573[_0x3f63e3])&&(_0x244ef5=(_0x3a8c6c?_0x442fa0(_0x1b34dc,_0x3db91c,_0x244ef5):_0x442fa0(_0x244ef5))||_0x244ef5);return _0x3a8c6c&&_0x244ef5&&Yr(_0x1b34dc,_0x3db91c,_0x244ef5),_0x244ef5;},At=(_0x1d95ab,_0x1f8683)=>(_0x4e69b2,_0x59e7d4)=>_0x1f8683(_0x4e69b2,_0x59e7d4,_0x1d95ab);let vt=class{constructor(_0x164d72,_0x2e7d61,_0x171589){const _0x438b91=_0x1a7f07;this[_0x438b91(0x4d5)]=_0x164d72,this['_transformService']=_0x2e7d61,this[_0x438b91(0x1e2)]=_0x171589;}['transformIMECache'](_0x3ab46b){const _0x310ad4=_0x1a7f07;this[_0x310ad4(0x355)](_0x3ab46b),this[_0x310ad4(0x261)](_0x3ab46b);}[_0x1a7f07(0x277)](_0x3dc8ee){const _0x3e2541=_0x1a7f07,{unitID:_0x5ca46d}=_0x3dc8ee,_0x315c90=this[_0x3e2541(0x1e2)][_0x3e2541(0x25e)](_0x5ca46d)['with'](_0x50c7b2),{redoCache:_0x23c00c}=_0x315c90[_0x3e2541(0x226)]();if(_0x23c00c['length']===0x0)return _0x3dc8ee;let _0x50d40b=_0x235991[_0x3e2541(0x311)](_0x3dc8ee[_0x3e2541(0x2bb)][0x0]);for(let _0x22526c=0x0;_0x22526c<_0x23c00c[_0x3e2541(0x5bc)];_0x22526c++){const _0x3781d8={'id':_0x3e2541(0x472),'params':{..._0x23c00c[_0x22526c]}},_0x33c51f=this[_0x3e2541(0x4af)]['transformMutation'](_0x50d40b,_0x3781d8,!0x1);if(_0x46adb2(_0x33c51f))throw _0x33c51f['error'];_0x50d40b=_0x33c51f[_0x3e2541(0x1c8)];}return{..._0x235991[_0x3e2541(0x311)](_0x3dc8ee),'mutations':[_0x50d40b]};}[_0x1a7f07(0x355)](_0x1b1eb8){const _0x240ed8=_0x1a7f07,{unitID:_0x2c0d00}=_0x1b1eb8,_0x595176=this['_renderManagerService'][_0x240ed8(0x25e)](_0x2c0d00)[_0x240ed8(0x364)](_0x50c7b2),{undoCache:_0x4fcdb3,redoCache:_0xfbcffa}=_0x595176[_0x240ed8(0x226)]();if(_0x4fcdb3[_0x240ed8(0x5bc)]===0x0||_0xfbcffa[_0x240ed8(0x5bc)]===0x0)return;const _0x195ff5=[],_0x3b4848=[];let _0x51c76f=_0x235991['deepClone'](_0x1b1eb8[_0x240ed8(0x2bb)][0x0]),_0x40df97=_0x235991['deepClone'](_0x1b1eb8[_0x240ed8(0x2bb)][0x0]);for(let _0x18a2ff=_0x4fcdb3['length']-0x1;_0x18a2ff>=0x0;_0x18a2ff--){const _0x4d01a5={'id':_0x240ed8(0x472),'params':{..._0x4fcdb3[_0x18a2ff]}},_0x4bf71a={'id':'doc.mutation.rich-text-editing','params':{..._0xfbcffa[_0x18a2ff]}},_0x599ed2=this[_0x240ed8(0x4af)][_0x240ed8(0x23b)](_0x51c76f,_0x4d01a5,!0x1),_0x4e2c5c=this['_transformService']['transformMutation'](_0x40df97,_0x4bf71a,!0x1);if(_0x46adb2(_0x599ed2))throw _0x599ed2[_0x240ed8(0x3eb)];if(_0x46adb2(_0x4e2c5c))throw _0x4e2c5c[_0x240ed8(0x3eb)];_0x195ff5['unshift'](_0x599ed2[_0x240ed8(0x2e3)][_0x240ed8(0x53f)]),_0x3b4848['unshift'](_0x4e2c5c[_0x240ed8(0x2e3)][_0x240ed8(0x53f)]),_0x51c76f=_0x599ed2[_0x240ed8(0x1c8)],_0x40df97=_0x4e2c5c['m1Prime'];}_0x595176[_0x240ed8(0x287)]({'undoCache':_0x195ff5,'redoCache':_0x3b4848});}[_0x1a7f07(0x261)](_0x1e4969){const _0x1d9a15=_0x1a7f07,{unitID:_0x2296ea}=_0x1e4969,_0x474293=this[_0x1d9a15(0x1e2)][_0x1d9a15(0x25e)](_0x2296ea)['with'](_0x50c7b2),_0x26ee55=_0x474293[_0x1d9a15(0x455)]();if(_0x26ee55==null)return;const _0x288a6b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e4969['unitID'],'actions':null,'textRanges':[_0x26ee55]}}],_0x3f4564=this[_0x1d9a15(0x4af)][_0x1d9a15(0x469)](_0x1e4969,_0x288a6b);if(!_0x1b23f5(_0x3f4564))throw _0x3f4564[_0x1d9a15(0x3eb)];const _0x22096d=_0x3f4564[_0x1d9a15(0x2e3)][0x0]['params'][_0x1d9a15(0x53b)];Array[_0x1d9a15(0x344)](_0x22096d)&&_0x22096d[_0x1d9a15(0x5bc)]&&_0x474293[_0x1d9a15(0x59f)](_0x22096d[0x0]);}};vt=zr([At(0x0,_0x5cf6ec(_0xc0c089)),At(0x1,_0x2746ae),At(0x2,_0xa3e106)],vt);var qr=Object[_0x1a7f07(0x5b3)],Xr=Object[_0x1a7f07(0x298)],Jr=(_0x3bdc94,_0x5d7adc,_0x1ec845,_0x349760)=>{for(var _0x41b14a=_0x349760>0x1?void 0x0:_0x349760?Xr(_0x5d7adc,_0x1ec845):_0x5d7adc,_0x31dd77=_0x3bdc94['length']-0x1,_0x4f55b0;_0x31dd77>=0x0;_0x31dd77--)(_0x4f55b0=_0x3bdc94[_0x31dd77])&&(_0x41b14a=(_0x349760?_0x4f55b0(_0x5d7adc,_0x1ec845,_0x41b14a):_0x4f55b0(_0x41b14a))||_0x41b14a);return _0x349760&&_0x41b14a&&qr(_0x5d7adc,_0x1ec845,_0x41b14a),_0x41b14a;},Xe=(_0x55d078,_0x20ef4d)=>(_0x960141,_0x31a7ce)=>_0x20ef4d(_0x960141,_0x31a7ce,_0x55d078);let q=class extends _0x3b3e75{constructor(_0x440dc6,_0x5cbf9d,_0x44b835,_0x47be3a,_0xa9ecf1){const _0x5ad049=_0x1a7f07;super(),g(this,'_cachedData',new Map()),g(this,_0x5ad049(0x372),new Map()),g(this,_0x5ad049(0x5c0),!0x1),(this['_configService']=_0x440dc6,this[_0x5ad049(0x280)]=_0x5cbf9d,this[_0x5ad049(0x437)]=_0x44b835,this[_0x5ad049(0x47a)]=_0x47be3a,this[_0x5ad049(0x26a)]=_0xa9ecf1,this[_0x5ad049(0x486)]());}[_0x1a7f07(0x4ef)](){const _0x576ee4=_0x1a7f07;this[_0x576ee4(0x5c0)]=!0x0;}['enableLocalCache'](){const _0x93ab92=_0x1a7f07;this[_0x93ab92(0x5c0)]=!0x1;}[_0x1a7f07(0x51b)](){const _0x292ebf=_0x1a7f07;this[_0x292ebf(0x47c)]()[_0x292ebf(0x44f)](()=>super[_0x292ebf(0x51b)]());}async[_0x1a7f07(0x394)](_0x4e3970){const _0x55c3cc=_0x1a7f07;return this['_disabled']?null:this[_0x55c3cc(0x280)][_0x55c3cc(0x450)](Bs(_0x4e3970));}async[_0x1a7f07(0x231)](_0x1c6f99,_0x317a5b){const _0xe104e0=_0x1a7f07;return!!this[_0xe104e0(0x280)][_0xe104e0(0x28b)](_0x1c6f99,_0x317a5b);}['updateOfflineData'](_0x28711f,_0x130b67,_0x1dc92b,_0x4c98c3){const _0x3e1f20=_0x1a7f07,_0xe4f4f9=this['_revisionService'][_0x3e1f20(0x409)](_0x28711f);this['_cachedData'][_0x3e1f20(0x3f4)](_0x28711f,{'unitID':_0x28711f,'type':_0x130b67,'awaitingChangeset':_0x1dc92b,'mutations':_0x4c98c3,'rev':_0xe4f4f9}),this[_0x3e1f20(0x372)][_0x3e1f20(0x581)](_0x28711f)||this['_scheduleSaving'](_0x28711f);}[_0x1a7f07(0x237)](_0x212365){const _0x31f53f=_0x1a7f07,_0x128b71=this['_getSaveTimeout']();_0x128b71===0x0?this[_0x31f53f(0x201)](_0x212365):this['_saveTaskMap'][_0x31f53f(0x3f4)](_0x212365,setTimeout(()=>this['_saveCache'](_0x212365),_0x128b71));}['_getSaveTimeout'](){var _0x31221c;return(_0x31221c=this['_configService']['getConfig'](mr))!=null?_0x31221c:pr;}['_saveCache'](_0x1975d7){const _0x333c9c=_0x1a7f07,_0x5be2c4=this[_0x333c9c(0x372)][_0x333c9c(0x59a)](_0x1975d7);return _0x5be2c4!==void 0x0&&window[_0x333c9c(0x2be)](_0x5be2c4),this['_localStorageService'][_0x333c9c(0x28b)](Bs(_0x1975d7),this['_cachedData'][_0x333c9c(0x59a)](_0x1975d7))[_0x333c9c(0x44f)](()=>this[_0x333c9c(0x372)][_0x333c9c(0x473)](_0x1975d7));}async[_0x1a7f07(0x47c)](){const _0x2ccc0b=_0x1a7f07,_0x1883d5=[];this[_0x2ccc0b(0x372)]['forEach']((_0x1bf24d,_0x488e01)=>{const _0x27e52e=_0x2ccc0b;window[_0x27e52e(0x2be)](_0x1bf24d),_0x1883d5[_0x27e52e(0x4b6)](this[_0x27e52e(0x201)](_0x488e01)[_0x27e52e(0x44f)](()=>{const _0x55bf58=_0x27e52e;this[_0x55bf58(0x372)][_0x55bf58(0x473)](_0x488e01);}));}),await Promise[_0x2ccc0b(0x5cf)](_0x1883d5);}[_0x1a7f07(0x486)](){const _0x1725e3=_0x1a7f07;this[_0x1725e3(0x4b1)](this[_0x1725e3(0x437)]['registerBeforeClose'](()=>{const _0x4048ee=_0x1725e3;if(this[_0x4048ee(0x372)][_0x4048ee(0x252)])return this[_0x4048ee(0x47a)]['t'](_0x4048ee(0x578));}));}};q=Jr([Xe(0x0,_0x34b905),Xe(0x1,_0x2a11e6),Xe(0x2,_0x5826ab),Xe(0x3,_0x5cf6ec(_0x51f47a)),Xe(0x4,_0x5cf6ec(_0x5ee8b1))],q);function Bs(_0x2f3b71){return'unit-cache-'+_0x2f3b71;}var Zr=Object[_0x1a7f07(0x5b3)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x51208c,_0x2f80ea,_0x3a9d14,_0x421a05)=>{for(var _0x23e18a=_0x421a05>0x1?void 0x0:_0x421a05?Qr(_0x2f80ea,_0x3a9d14):_0x2f80ea,_0x2a810e=_0x51208c['length']-0x1,_0xf48c26;_0x2a810e>=0x0;_0x2a810e--)(_0xf48c26=_0x51208c[_0x2a810e])&&(_0x23e18a=(_0x421a05?_0xf48c26(_0x2f80ea,_0x3a9d14,_0x23e18a):_0xf48c26(_0x23e18a))||_0x23e18a);return _0x421a05&&_0x23e18a&&Zr(_0x2f80ea,_0x3a9d14,_0x23e18a),_0x23e18a;},Mt=(_0x5f2a04,_0x40cb6e)=>(_0x43bb54,_0x471e9e)=>_0x40cb6e(_0x43bb54,_0x471e9e,_0x5f2a04);function to(_0x13553a){const _0x2e8e21=_0x1a7f07,{unitID:_0x223d69,mutations:_0x51888f}=_0x13553a;return{'unitId':_0x223d69,'subUnitId':_0x51888f[0x0][_0x2e8e21(0x53f)][_0x2e8e21(0x2c2)]};}let mt=class{constructor(_0x9e6aa0,_0x168839,_0x127a48){const _0x3b4117=_0x1a7f07;this['_injector']=_0x9e6aa0,this['_transformService']=_0x168839,this[_0x3b4117(0x3ab)]=_0x127a48;}[_0x1a7f07(0x48e)](_0xeb8ba8){const _0x5b71b6=_0x1a7f07;var _0xb24cae,_0x4eada6,_0x3a6202,_0x443b16;const _0x5b4035=this[_0x5b71b6(0x4d5)][_0x5b71b6(0x59a)](_0x2fad1e),{unitId:_0x5ef3ea,subUnitId:_0x2eeba3}=to(_0xeb8ba8),_0x56d419=_0x5b4035[_0x5b71b6(0x461)](_0x5ef3ea)[_0x5b71b6(0x3bf)](),_0x50c71c=(_0x4eada6=(_0xb24cae=this[_0x5b71b6(0x3ab)][_0x5b71b6(0x4d0)](_0x5ef3ea))==null?void 0x0:_0xb24cae[_0x5b71b6(0x234)]())==null?void 0x0:_0x4eada6[_0x5b71b6(0x554)]();if(_0x56d419[_0x5b71b6(0x5bc)]===0x0||!_0x5ef3ea||!_0x2eeba3)return;const _0x4e2667=[{'id':_0x27f103['id'],'params':{'unitId':_0x5ef3ea,'subUnitId':_0x50c71c,'selections':_0x235991[_0x5b71b6(0x311)](_0x56d419)}}],_0x4279fb=this[_0x5b71b6(0x4af)]['transformMutationsWithChangeset'](_0xeb8ba8,_0x4e2667);if(!_0x1b23f5(_0x4279fb))throw _0x4279fb[_0x5b71b6(0x3eb)];const _0x3a6d21=(_0x443b16=(_0x3a6202=_0x4279fb['m2Prime'][0x0])==null?void 0x0:_0x3a6202[_0x5b71b6(0x53f)])==null?void 0x0:_0x443b16[_0x5b71b6(0x5be)];if(Array[_0x5b71b6(0x344)](_0x3a6d21)&&_0x3a6d21[_0x5b71b6(0x5bc)]){if(_0x3a6d21['length']===_0x4e2667[0x0]['params'][_0x5b71b6(0x5be)][_0x5b71b6(0x5bc)]&&_0x3a6d21[_0x5b71b6(0x3ed)]((_0x5009ea,_0x276efe)=>_0x194108[_0x5b71b6(0x55d)](_0x5009ea[_0x5b71b6(0x40a)],_0x4e2667[0x0][_0x5b71b6(0x53f)][_0x5b71b6(0x5be)][_0x276efe]['range'])))return;this[_0x5b71b6(0x4d5)][_0x5b71b6(0x59a)](_0x322b66)[_0x5b71b6(0x26f)](_0x27f103['id'],{'unitId':_0x5ef3ea,'subUnitId':_0x50c71c,'selections':_0x3a6d21});}}};mt=eo([Mt(0x0,_0x5cf6ec(_0xc0c089)),Mt(0x1,_0x2746ae),Mt(0x2,_0x1726a1)],mt);const yt=_0x2707b7(_0x1a7f07(0x5cb));var Di=(_0x143caf=>(_0x143caf[_0x143caf['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x1a7f07(0x441),_0x143caf[_0x143caf[_0x1a7f07(0x34a)]=0x1]='OTHER_CLIENTS_EDITING',_0x143caf))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class so extends _0x3b3e75{constructor(){const _0x121c43=_0x1a7f07;super(),g(this,_0x121c43(0x2e1),_0x235991[_0x121c43(0x59c)]()),g(this,_0x121c43(0x347),new Set()),g(this,_0x121c43(0x278),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x121c43(0x2a3),new Map()),g(this,_0x121c43(0x40e),new Map()),this['_init']();}[_0x1a7f07(0x51b)](){const _0x3e75f6=_0x1a7f07;super[_0x3e75f6(0x51b)](),this['_clearOtherTimers']['forEach']((_0x22ce62,_0x444520)=>this[_0x3e75f6(0x1c3)](_0x444520)),this[_0x3e75f6(0x574)]&&window[_0x3e75f6(0x241)](this['_heartbeatTimer']);}[_0x1a7f07(0x513)](_0x35ee8b){const _0x1ad0a8=_0x1a7f07;return this[_0x1ad0a8(0x20f)](_0x35ee8b)['pipe'](_0x3f9e4c());}[_0x1a7f07(0x2a1)](_0x42e57e){const _0x46559f=_0x1a7f07;this[_0x46559f(0x347)][_0x46559f(0x252)]===0x0&&this[_0x46559f(0x495)](),this['_selfUnitIDs'][_0x46559f(0x476)](_0x42e57e),this[_0x46559f(0x34f)]({'type':0x0,'memberID':this[_0x46559f(0x2e1)],'unitIDs':[_0x42e57e],'isForwarded':!0x1});}[_0x1a7f07(0x262)](_0x4420aa){const _0x3a926e=_0x1a7f07;this['_selfUnitIDs']['delete'](_0x4420aa),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x3a926e(0x241)](this['_heartbeatTimer']);}[_0x1a7f07(0x426)](){const _0x9d6f97=_0x1a7f07;this['disposeWithMe'](_0x1c981a(_0x47503d(window,_0x9d6f97(0x3b6))[_0x9d6f97(0x29f)](_0x5d414d=>{const _0x1016f0=_0x9d6f97;if(_0x5d414d[_0x1016f0(0x29a)]!==Ws||!_0x5d414d[_0x1016f0(0x290)])return;const _0x8e0d55=JSON[_0x1016f0(0x379)](_0x5d414d['newValue']);this[_0x1016f0(0x538)](_0x8e0d55);}))),window[_0x9d6f97(0x3e9)](_0x9d6f97(0x534),()=>this[_0x9d6f97(0x34f)]({'type':0x1,'memberID':this[_0x9d6f97(0x2e1)],'unitIDs':Array[_0x9d6f97(0x2ed)](this[_0x9d6f97(0x347)])}));}[_0x1a7f07(0x538)](_0x275b0b){const _0x552510=_0x1a7f07;switch(_0x275b0b[_0x552510(0x23c)]){case 0x0:this[_0x552510(0x2f2)](_0x275b0b);break;case 0x1:this[_0x552510(0x21a)](_0x275b0b);break;case 0x2:this[_0x552510(0x233)](_0x275b0b);break;}}[_0x1a7f07(0x2f2)](_0x56f08e){const _0x29f887=_0x1a7f07,{unitIDs:_0x2df5a7,memberID:_0x491771,isForwarded:_0x59658b}=_0x56f08e;_0x2df5a7['forEach'](_0x5f0986=>{const _0x10cfc0=_0x54d3;if(!_0x59658b&&this[_0x10cfc0(0x278)][_0x10cfc0(0x581)](_0x5f0986)&&this[_0x10cfc0(0x20f)](_0x5f0986)[_0x10cfc0(0x265)](0x1),!this[_0x10cfc0(0x278)]['has'](_0x5f0986)||!this['_unitOnClients'][_0x10cfc0(0x59a)](_0x5f0986)[_0x10cfc0(0x581)](_0x491771)){const _0x29b4d1=this[_0x10cfc0(0x278)]['get'](_0x5f0986)||new Set();_0x29b4d1[_0x10cfc0(0x476)](_0x491771),this['_unitOnClients'][_0x10cfc0(0x3f4)](_0x5f0986,_0x29b4d1),this[_0x10cfc0(0x545)](_0x491771);}}),_0x59658b||this[_0x29f887(0x34f)]({'type':0x0,'memberID':this[_0x29f887(0x2e1)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1a7f07(0x545)](_0x51632b){const _0x5d1bd6=_0x1a7f07;this[_0x5d1bd6(0x1c3)](_0x51632b);const _0x5d05a7=window[_0x5d1bd6(0x38f)](()=>{const _0x19268b=_0x5d1bd6;this[_0x19268b(0x278)][_0x19268b(0x547)](_0x2da3bb=>{const _0x5c767c=_0x19268b;_0x2da3bb[_0x5c767c(0x473)](_0x51632b);});},ks*0x2);this[_0x5d1bd6(0x2a3)]['set'](_0x51632b,_0x5d05a7);}[_0x1a7f07(0x1c3)](_0x46cf80){const _0x631a1a=_0x1a7f07;if(this['_clearOtherTimers'][_0x631a1a(0x581)](_0x46cf80)){const _0x584206=this[_0x631a1a(0x2a3)][_0x631a1a(0x59a)](_0x46cf80);_0x584206&&window['clearTimeout'](_0x584206),this['_clearOtherTimers'][_0x631a1a(0x3f4)](_0x46cf80,null);}}[_0x1a7f07(0x21a)](_0x522e10){const _0x212739=_0x1a7f07,{memberID:_0x5e8869,unitIDs:_0x4e3232}=_0x522e10;_0x4e3232['forEach'](_0xedadde=>{const _0x5a5f47=_0x54d3;var _0x442bd7;const _0x3b28b6=this[_0x5a5f47(0x278)]['get'](_0xedadde);_0x3b28b6&&(_0x3b28b6['delete'](_0x5e8869),(_0x442bd7=this[_0x5a5f47(0x20f)](_0xedadde))==null||_0x442bd7[_0x5a5f47(0x265)](_0x3b28b6[_0x5a5f47(0x252)]===0x0?0x0:0x1));}),this[_0x212739(0x1c3)](_0x5e8869);}['_handleHeartbeatEvent'](_0x4a8768){const _0xf12036=_0x1a7f07;this['_scheduleClearOtherTimer'](_0x4a8768[_0xf12036(0x286)]);}[_0x1a7f07(0x34f)](_0x5b402f){const _0x14814=_0x1a7f07;localStorage[_0x14814(0x28b)](Ws,JSON['stringify'](_0x5b402f));}[_0x1a7f07(0x495)](){const _0x565f18=_0x1a7f07;this[_0x565f18(0x574)]=window[_0x565f18(0x485)](()=>{const _0x5e97de=_0x565f18;this['_send']({'type':0x2,'memberID':this[_0x5e97de(0x2e1)]});},ks);}[_0x1a7f07(0x20f)](_0x30ac7f){const _0x4f520b=_0x1a7f07;return this[_0x4f520b(0x40e)][_0x4f520b(0x581)](_0x30ac7f)||this['_unitStatus'][_0x4f520b(0x3f4)](_0x30ac7f,new _0x2c5f3e(0x0)),this[_0x4f520b(0x40e)][_0x4f520b(0x59a)](_0x30ac7f);}}var io=Object[_0x1a7f07(0x5b3)],no=Object['getOwnPropertyDescriptor'],ro=(_0x4ccb3b,_0x568ac9,_0x24a088,_0x13a4fc)=>{const _0x2f31cc=_0x1a7f07;for(var _0x251706=_0x13a4fc>0x1?void 0x0:_0x13a4fc?no(_0x568ac9,_0x24a088):_0x568ac9,_0x212edf=_0x4ccb3b[_0x2f31cc(0x5bc)]-0x1,_0x4c96a0;_0x212edf>=0x0;_0x212edf--)(_0x4c96a0=_0x4ccb3b[_0x212edf])&&(_0x251706=(_0x13a4fc?_0x4c96a0(_0x568ac9,_0x24a088,_0x251706):_0x4c96a0(_0x251706))||_0x251706);return _0x13a4fc&&_0x251706&&io(_0x568ac9,_0x24a088,_0x251706),_0x251706;},xt=(_0x1aeb8f,_0x2241a1)=>(_0x23027b,_0x3fdd4b)=>_0x2241a1(_0x23027b,_0x3fdd4b,_0x1aeb8f);let pt=class{constructor(_0x28a4bc,_0x461f91,_0x3035b7){const _0x4172c4=_0x1a7f07;this['_injector']=_0x28a4bc,this[_0x4172c4(0x4af)]=_0x461f91,this[_0x4172c4(0x359)]=_0x3035b7;}[_0x1a7f07(0x2f0)](_0x311a61){const _0x2ac5a7=_0x1a7f07;this[_0x2ac5a7(0x1f8)](_0x311a61);}[_0x1a7f07(0x277)](_0x533e55){const _0x38263e=_0x1a7f07,{unitID:_0x5de87f}=_0x533e55,{collaboration:_0x86a9de}=this[_0x38263e(0x359)]['getStateCache'](_0x5de87f);if(_0x86a9de[_0x38263e(0x5bc)]===0x0)return _0x533e55;let _0x4b4f7d=_0x235991[_0x38263e(0x311)](_0x533e55[_0x38263e(0x2bb)][0x0]);for(let _0x42a007=0x0;_0x42a007<_0x86a9de[_0x38263e(0x5bc)];_0x42a007++){const _0x18f47b={'id':_0x38263e(0x472),'params':{'unitId':_0x86a9de[_0x42a007][_0x38263e(0x3c9)],..._0x86a9de[_0x42a007][_0x38263e(0x2fd)]}},_0xa08175=this['_transformService'][_0x38263e(0x23b)](_0x4b4f7d,_0x18f47b,!0x1);if(_0x46adb2(_0xa08175))throw _0xa08175['error'];_0x4b4f7d=_0xa08175[_0x38263e(0x1c8)];}return{..._0x235991[_0x38263e(0x311)](_0x533e55),'mutations':[_0x4b4f7d]};}[_0x1a7f07(0x1f8)](_0xb20321){const _0x2fdf1e=_0x1a7f07,{unitID:_0x5ba57d}=_0xb20321,{history:_0x422218,collaboration:_0x39341e}=this['_docStateChangeManagerService']['getStateCache'](_0x5ba57d);if(_0x422218[_0x2fdf1e(0x5bc)]===0x0&&_0x39341e[_0x2fdf1e(0x5bc)]===0x0)return;const _0x462761=[],_0x3077ad=[];let _0x2d8305=_0x235991[_0x2fdf1e(0x311)](_0xb20321[_0x2fdf1e(0x2bb)][0x0]),_0x1e0ea5=_0x235991[_0x2fdf1e(0x311)](_0xb20321['mutations'][0x0]);for(let _0xec5c2a=_0x422218['length']-0x1;_0xec5c2a>=0x0;_0xec5c2a--){const _0x1197ac={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x422218[_0xec5c2a]['unitId'],..._0x422218[_0xec5c2a][_0x2fdf1e(0x4ac)]}},_0x31bcfd={'id':_0x2fdf1e(0x472),'params':{'unitId':_0x422218[_0xec5c2a][_0x2fdf1e(0x3c9)],..._0x422218[_0xec5c2a]['redoState']}},_0x3caef7=this[_0x2fdf1e(0x4af)][_0x2fdf1e(0x23b)](_0x2d8305,_0x1197ac,!0x1),_0x3a7985=this[_0x2fdf1e(0x4af)]['transformMutation'](_0x1e0ea5,_0x31bcfd,!0x1);if(_0x46adb2(_0x3caef7))throw _0x3caef7[_0x2fdf1e(0x3eb)];if(_0x46adb2(_0x3a7985))throw _0x3a7985[_0x2fdf1e(0x3eb)];_0x462761[_0x2fdf1e(0x3fc)]({..._0x422218[_0xec5c2a],'undoState':_0x3caef7['m2Prime'][_0x2fdf1e(0x53f)],'redoState':_0x3a7985['m2Prime'][_0x2fdf1e(0x53f)]}),_0x2d8305=_0x3caef7[_0x2fdf1e(0x1c8)],_0x1e0ea5=_0x3a7985['m1Prime'];}_0x2d8305=_0x235991[_0x2fdf1e(0x311)](_0xb20321[_0x2fdf1e(0x2bb)][0x0]),_0x1e0ea5=_0x235991[_0x2fdf1e(0x311)](_0xb20321['mutations'][0x0]);for(let _0x5bab54=_0x39341e[_0x2fdf1e(0x5bc)]-0x1;_0x5bab54>=0x0;_0x5bab54--){const _0x4d4541={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39341e[_0x5bab54][_0x2fdf1e(0x3c9)],..._0x39341e[_0x5bab54][_0x2fdf1e(0x4ac)]}},_0x14435d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39341e[_0x5bab54]['unitId'],..._0x39341e[_0x5bab54][_0x2fdf1e(0x2fd)]}},_0xbe00af=this[_0x2fdf1e(0x4af)]['transformMutation'](_0x2d8305,_0x4d4541,!0x1),_0x2c8774=this[_0x2fdf1e(0x4af)][_0x2fdf1e(0x23b)](_0x1e0ea5,_0x14435d,!0x1);if(_0x46adb2(_0xbe00af))throw _0xbe00af[_0x2fdf1e(0x3eb)];if(_0x46adb2(_0x2c8774))throw _0x2c8774[_0x2fdf1e(0x3eb)];_0x3077ad[_0x2fdf1e(0x3fc)]({..._0x39341e[_0x5bab54],'undoState':_0xbe00af[_0x2fdf1e(0x2e3)][_0x2fdf1e(0x53f)],'redoState':_0x2c8774[_0x2fdf1e(0x2e3)]['params']}),_0x2d8305=_0xbe00af['m1Prime'],_0x1e0ea5=_0x2c8774[_0x2fdf1e(0x1c8)];}this[_0x2fdf1e(0x359)][_0x2fdf1e(0x3ec)](_0x5ba57d,{'history':_0x462761,'collaboration':_0x3077ad});}};pt=ro([xt(0x0,_0x5cf6ec(_0xc0c089)),xt(0x1,_0x2746ae),xt(0x2,_0x5cf6ec(_0x3fdbd8))],pt);function Pi(_0x3cdca0){const _0x36d963=_0x1a7f07;let _0x17eb53='';for(const _0x59109d of _0x3cdca0){const {startOffset:_0x169a0d,endOffset:_0x21ce7b,isActive:_0x499af9,rangeType:_0x487e6d,segmentId:_0x296497,segmentPage:_0x47359e}=_0x59109d;_0x17eb53[_0x36d963(0x5bc)]&&(_0x17eb53+=','),_0x17eb53+=_0x169a0d+':'+_0x21ce7b+':'+(_0x499af9?'1':'0')+':'+_0x487e6d+':'+_0x296497+':'+_0x47359e;}return _0x17eb53;}function oo(_0x4a77f4){const _0x5482df=_0x1a7f07,_0x5bee4e=_0x4a77f4[_0x5482df(0x42d)](','),_0x54b7b9=[];for(const _0x1b6d73 of _0x5bee4e){const [_0x3460bc,_0xa0678,_0x4e1637,_0x3ddbe5,_0xeb7155,_0x5a1b5]=_0x1b6d73[_0x5482df(0x42d)](':');_0x54b7b9['push']({'startOffset':Number(_0x3460bc),'endOffset':Number(_0xa0678),'collapsed':_0x3460bc===_0xa0678,'isActive':_0x4e1637==='1','rangeType':_0x3ddbe5===_0xe3b3a7[_0x5482df(0x3d5)]?_0xe3b3a7['TEXT']:_0xe3b3a7[_0x5482df(0x29c)],'segmentId':typeof _0xeb7155==_0x5482df(0x3b1)?String(_0xeb7155):'','segmentPage':Number(_0x5a1b5!=null?_0x5a1b5:-0x1)});}return _0x54b7b9[_0x5482df(0x420)](_0x5eef8c=>_0x5eef8c['isActive'])||(_0x54b7b9[0x0][_0x5482df(0x1d0)]=!0x0),_0x54b7b9;}class Cs extends _0x1cb902{constructor(){const _0x541c0b=_0x1a7f07;super(...arguments),g(this,_0x541c0b(0x334),new _0x2c5f3e(null)),g(this,_0x541c0b(0x3a8),this['_collabCursorState$'][_0x541c0b(0x456)]());}[_0x1a7f07(0x1db)](_0x48dd3a){const _0x19bce1=_0x1a7f07,{unitID:_0x5f199b,memberID:_0xc4906a,textRanges:_0x4476d4}=_0x48dd3a,_0x14cd9a=Pi(_0x4476d4);if(_0x14cd9a==='')return;const _0x3f994c={'unitID':_0x5f199b,'memberID':_0xc4906a,'selection':_0x14cd9a};this[_0x19bce1(0x334)]['next'](_0x3f994c);}}var ao=Object[_0x1a7f07(0x5b3)],co=Object['getOwnPropertyDescriptor'],ho=(_0x3045cc,_0x17bcdd,_0x4ef30b,_0x521130)=>{const _0x21e464=_0x1a7f07;for(var _0x3785cf=_0x521130>0x1?void 0x0:_0x521130?co(_0x17bcdd,_0x4ef30b):_0x17bcdd,_0x2443e5=_0x3045cc[_0x21e464(0x5bc)]-0x1,_0x4abbc9;_0x2443e5>=0x0;_0x2443e5--)(_0x4abbc9=_0x3045cc[_0x2443e5])&&(_0x3785cf=(_0x521130?_0x4abbc9(_0x17bcdd,_0x4ef30b,_0x3785cf):_0x4abbc9(_0x3785cf))||_0x3785cf);return _0x521130&&_0x3785cf&&ao(_0x17bcdd,_0x4ef30b,_0x3785cf),_0x3785cf;},Fs=(_0x18bc94,_0x5832a0)=>(_0xa2d9fe,_0x3a0a66)=>_0x5832a0(_0xa2d9fe,_0x3a0a66,_0x18bc94);let gt=class{constructor(_0x584295,_0x3d5dee){const _0x48d471=_0x1a7f07;this[_0x48d471(0x4d5)]=_0x584295,this['_transformService']=_0x3d5dee;}[_0x1a7f07(0x48e)](_0x1f1bbe){const _0x237e00=_0x1a7f07;var _0x497dab;const _0x5bbd62=this[_0x237e00(0x4d5)][_0x237e00(0x59a)](_0x4ad750),_0x275340=(_0x497dab=_0x5bbd62[_0x237e00(0x2f9)]())!=null?_0x497dab:[];if(_0x275340[_0x237e00(0x5bc)]===0x0)return;const _0x501dec=[{'id':_0x237e00(0x472),'params':{'unitId':_0x1f1bbe[_0x237e00(0x5b2)],'actions':null,'textRanges':_0x275340}}],_0x5a04cc=this['_transformService'][_0x237e00(0x469)](_0x1f1bbe,_0x501dec);if(!_0x1b23f5(_0x5a04cc))throw _0x5a04cc['error'];const _0x43da1f=_0x5a04cc['m2Prime'][0x0]['params'][_0x237e00(0x53b)];Array['isArray'](_0x43da1f)&&_0x43da1f['length']&&_0x5bbd62['replaceTextRanges'](_0x43da1f,!0x1);}};gt=ho([Fs(0x0,_0x5cf6ec(_0xc0c089)),Fs(0x1,_0x2746ae)],gt);const lo=new Set([_0x250bb3['id']]);function Vs(_0x4be652,_0x50866d,_0x4b2af0,_0x126d65,_0xee8a62){const _0x32e654=_0x1a7f07;var _0x1ba849,_0x48473f,_0x428b86,_0x948bf1;const _0x5e73c8=[];for(const _0x1b6514 of _0x4be652)if(lo['has'](_0x1b6514['id'])){if(_0x5e73c8[_0x32e654(0x5bc)]>0x0)break;_0x5e73c8[_0x32e654(0x4b6)](_0x1b6514);break;}else _0x5e73c8[_0x32e654(0x4b6)](_0x1b6514);const _0x3ef96f=(_0x48473f=(_0x1ba849=_0xee8a62[_0x32e654(0x3c2)]())==null?void 0x0:_0x1ba849[_0x32e654(0x53c)])!=null?_0x48473f:_0x32e654(0x247),_0x1875e5=(_0x948bf1=(_0x428b86=_0xee8a62[_0x32e654(0x3c2)]())==null?void 0x0:_0x428b86['memberID'])!=null?_0x948bf1:_0x32e654(0x247);return{'changeset':{'unitID':_0x50866d,'type':_0x518e15(_0x4b2af0[_0x32e654(0x46b)](_0x50866d)),'baseRev':_0x126d65['getCurrentRevOfUnit'](_0x50866d),'revision':0x0,'userID':_0x3ef96f,'memberID':_0x1875e5,'mutations':_0x5e73c8},'pendingMutations':_0x4be652[_0x32e654(0x515)](_0x5e73c8[_0x32e654(0x5bc)])};}function _o(_0x3eda37,_0x5ce4e3,_0x444491,_0x141514,_0x2592a2){const _0x563a8d=_0x1a7f07;var _0x5d8874,_0x1ee243,_0x169fa9,_0x11b2a1;const _0x2f4f07=[_0x3eda37[_0x563a8d(0x496)]((_0x570414,_0x4e8843)=>{const _0x37e8bc=_0x563a8d;var _0x5000c2;const {id:_0xe96e82}=_0x570414,{id:_0x48ab60,type:_0xcf923c}=_0x4e8843,_0x20344b=(_0x5000c2=_0x570414[_0x37e8bc(0x53f)])!=null?_0x5000c2:{'actions':null},_0x2ae007=_0x4e8843[_0x37e8bc(0x53f)];if(_0xe96e82&&_0xe96e82!==_0x48ab60)throw new Error(_0x37e8bc(0x492)+_0xe96e82+_0x37e8bc(0x1e4)+_0x48ab60+'.');return{..._0x570414,'id':_0x48ab60,'type':_0xcf923c,'params':{'unitId':_0x2ae007[_0x37e8bc(0x3c9)],'textRanges':_0x2ae007[_0x37e8bc(0x53b)],'actions':_0xb47243[_0x37e8bc(0x43a)](_0x20344b[_0x37e8bc(0x2aa)],_0x2ae007[_0x37e8bc(0x2aa)])}};},{})],_0x48a595=(_0x1ee243=(_0x5d8874=_0x2592a2[_0x563a8d(0x3c2)]())==null?void 0x0:_0x5d8874[_0x563a8d(0x53c)])!=null?_0x1ee243:_0x563a8d(0x247),_0x40a452=(_0x11b2a1=(_0x169fa9=_0x2592a2[_0x563a8d(0x3c2)]())==null?void 0x0:_0x169fa9[_0x563a8d(0x286)])!=null?_0x11b2a1:_0x563a8d(0x247);return{'changeset':{'unitID':_0x5ce4e3,'type':_0x518e15(_0x444491[_0x563a8d(0x46b)](_0x5ce4e3)),'baseRev':_0x141514[_0x563a8d(0x409)](_0x5ce4e3),'revision':0x0,'userID':_0x48a595,'memberID':_0x40a452,'mutations':_0x2f4f07},'pendingMutations':[]};}function Ui(_0x4aa07d,_0x1da145){const _0xad243c=_0x1a7f07,_0x140f1d=new _0x32d019(0x1);return setTimeout(()=>_0x140f1d[_0xad243c(0x265)](_0x1da145),_0x4aa07d),_0x140f1d[_0xad243c(0x456)]()[_0xad243c(0x1cf)](_0x4e26bd(0x1));}const uo={'id':_0x84a982['id'],'type':_0x42d006[_0x1a7f07(0x5b9)],'params':{}};var fo=Object[_0x1a7f07(0x5b3)],vo=Object[_0x1a7f07(0x298)],Le=(_0x4aebe7,_0x560c26,_0x167d25,_0xc1fcfb)=>{const _0x1c3134=_0x1a7f07;for(var _0x37abe8=_0xc1fcfb>0x1?void 0x0:_0xc1fcfb?vo(_0x560c26,_0x167d25):_0x560c26,_0xe1d709=_0x4aebe7[_0x1c3134(0x5bc)]-0x1,_0x48d29d;_0xe1d709>=0x0;_0xe1d709--)(_0x48d29d=_0x4aebe7[_0xe1d709])&&(_0x37abe8=(_0xc1fcfb?_0x48d29d(_0x560c26,_0x167d25,_0x37abe8):_0x48d29d(_0x37abe8))||_0x37abe8);return _0xc1fcfb&&_0x37abe8&&fo(_0x560c26,_0x167d25,_0x37abe8),_0x37abe8;},A=(_0x26af35,_0x2eb979)=>(_0x42ca97,_0x2f3a24)=>_0x2eb979(_0x42ca97,_0x2f3a24,_0x26af35),J=(_0x3678bb=>(_0x3678bb['NOT_COLLAB']=_0x1a7f07(0x2a9),_0x3678bb[_0x1a7f07(0x4f9)]=_0x1a7f07(0x1d6),_0x3678bb[_0x1a7f07(0x1ca)]='pending',_0x3678bb['AWAITING']=_0x1a7f07(0x3ce),_0x3678bb['AWAITING_WITH_PENDING']=_0x1a7f07(0x291),_0x3678bb[_0x1a7f07(0x50f)]=_0x1a7f07(0x540),_0x3678bb[_0x1a7f07(0x5ac)]=_0x1a7f07(0x54d),_0x3678bb[_0x1a7f07(0x31d)]=_0x1a7f07(0x3b0),_0x3678bb))(J||{});const Ni=0xea60;class $e{constructor(_0xad600f,_0x5e0f6f,_0x40b2db,_0x444cff,_0x905b15,_0x33d496,_0x4dc3d0,_0x29f6e0,_0xe5c5af){const _0x5af106=_0x1a7f07;g(this,_0x5af106(0x54e),null),g(this,'_pendingMutations',[]),(this[_0x5af106(0x5b2)]=_0xad600f,this[_0x5af106(0x23c)]=_0x5e0f6f,this[_0x5af106(0x543)]=_0x905b15,this[_0x5af106(0x4b3)]=_0x33d496,this[_0x5af106(0x443)]=_0x4dc3d0,this[_0x5af106(0x26a)]=_0x29f6e0,this[_0x5af106(0x493)]=_0xe5c5af,this['_awaitingChangeset']=_0x40b2db,this[_0x5af106(0x45e)]=_0x444cff);}[_0x1a7f07(0x484)](_0x3d4c0b){const _0x3571c6=_0x1a7f07,_0x431d31=this[_0x3571c6(0x26a)]['getCurrentRevOfUnit'](this[_0x3571c6(0x5b2)]);return _0x3d4c0b[_0x3571c6(0x206)]>_0x431d31+0x1?(this[_0x3571c6(0x543)][_0x3571c6(0x30a)]({'from':_0x431d31,'to':_0x3d4c0b[_0x3571c6(0x206)]-0x1}),!0x0):!0x1;}[_0x1a7f07(0x569)](_0x22f7b2){const _0x20479d=_0x1a7f07;this['_undoRedoService'][_0x20479d(0x243)](this[_0x20479d(0x5b2)],_0x22f7b2);}['_transformSelections'](_0x40e06a){const _0x3e8a17=_0x1a7f07;var _0x55cd42,_0x3faf73;(_0x3faf73=(_0x55cd42=this[_0x3e8a17(0x543)])[_0x3e8a17(0x242)])==null||_0x3faf73[_0x3e8a17(0x4bb)](_0x55cd42,_0x40e06a);}[_0x1a7f07(0x3e3)](_0x46d45c){const _0x31510e=_0x1a7f07;var _0x483850,_0x3c1e9e;return(_0x3c1e9e=(_0x483850=this[_0x31510e(0x543)])['onTransformIME'])==null?void 0x0:_0x3c1e9e[_0x31510e(0x4bb)](_0x483850,_0x46d45c);}[_0x1a7f07(0x457)](_0x339de6){const _0x109d96=_0x1a7f07;var _0x3df6fd,_0x1e8198;return(_0x1e8198=(_0x3df6fd=this[_0x109d96(0x543)])[_0x109d96(0x327)])==null?void 0x0:_0x1e8198[_0x109d96(0x4bb)](_0x3df6fd,_0x339de6);}[_0x1a7f07(0x4da)](_0x570d57){const _0x4ef204=_0x1a7f07;var _0x7f4115,_0x53cd54,_0x1a66d7;return(_0x1a66d7=(_0x53cd54=(_0x7f4115=this[_0x4ef204(0x543)])[_0x4ef204(0x257)])==null?void 0x0:_0x53cd54[_0x4ef204(0x4bb)](_0x7f4115,_0x570d57))!=null?_0x1a66d7:_0x570d57;}[_0x1a7f07(0x564)](_0x4b8a51){const _0x47c7d7=_0x1a7f07;var _0x6dbfff,_0x139101,_0x188e46;return(_0x188e46=(_0x139101=(_0x6dbfff=this[_0x47c7d7(0x543)])[_0x47c7d7(0x4a0)])==null?void 0x0:_0x139101[_0x47c7d7(0x4bb)](_0x6dbfff,_0x4b8a51))!=null?_0x188e46:_0x4b8a51;}[_0x1a7f07(0x2c0)](_0x2e150f){const _0x5df6a3=_0x1a7f07;var _0x58576a,_0xd4e959;if(this[_0x5df6a3(0x23c)]===ce[_0x5df6a3(0x51a)]){const {unitID:_0xabfa51,mutations:_0x6a32e8,memberID:_0x29f211}=_0x2e150f,_0x58b04e=_0x6a32e8[0x0][_0x5df6a3(0x53f)][_0x5df6a3(0x53b)];Array['isArray'](_0x58b04e)&&_0x58b04e[_0x5df6a3(0x5bc)]>0x0&&((_0xd4e959=(_0x58576a=this[_0x5df6a3(0x543)])[_0x5df6a3(0x438)])==null||_0xd4e959['call'](_0x58576a,{'unitID':_0xabfa51,'memberID':_0x29f211,'textRanges':_0x58b04e}));}}['_updateLocalCache'](){const _0x380d7a=_0x1a7f07;this['_localCacheService'][_0x380d7a(0x56f)](this[_0x380d7a(0x5b2)],this[_0x380d7a(0x23c)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x1a7f07(0x571)](){const _0xe4cd01=_0x1a7f07;return this[_0xe4cd01(0x26a)][_0xe4cd01(0x409)](this[_0xe4cd01(0x5b2)]);}['_incrementRevisionNumber'](){const _0x238fc1=_0x1a7f07;this[_0x238fc1(0x26a)][_0x238fc1(0x5a2)](this[_0x238fc1(0x5b2)]);}[_0x1a7f07(0x45c)](_0x38a6b1){const _0x37ba57=_0x1a7f07;var _0x53807c;let _0x22c20b=this[_0x37ba57(0x4da)](_0x38a6b1);_0x22c20b=this[_0x37ba57(0x564)](_0x22c20b);const _0x488378=_0xd02ce7(_0x22c20b['mutations'],this[_0x37ba57(0x4b3)],{'fromCollab':!0x0});if(!_0x488378[_0x37ba57(0x2a5)])throw _0x488378[_0x37ba57(0x3eb)]instanceof Error?_0x488378['error']:new Error((_0x53807c=_0x488378[_0x37ba57(0x3eb)])!=null?_0x53807c:_0x37ba57(0x55c));this[_0x37ba57(0x3e3)](_0x22c20b),this[_0x37ba57(0x457)](_0x22c20b),this[_0x37ba57(0x569)](_0x38a6b1),this[_0x37ba57(0x3b3)](_0x22c20b),this[_0x37ba57(0x2c0)](_0x22c20b),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x694a56,_0x4e5cd0,_0x334f5e,_0x31c8b5,_0x51bb89,_0x188dbd,_0x40600a,_0x2aed40,_0x381d1b,_0x4da3bc){const _0x355ff6=_0x1a7f07;super(_0x694a56,_0x4e5cd0,null,[],_0x334f5e,_0x2aed40,_0x40600a,_0x31c8b5,_0x51bb89),g(this,_0x355ff6(0x3ff),'synced'),(this[_0x355ff6(0x4d5)]=_0x188dbd,this['_logService']=_0x381d1b,this[_0x355ff6(0x4af)]=_0x4da3bc);}[_0x1a7f07(0x511)](_0x55c858){const _0x54af00=_0x1a7f07,_0x585f5b=this[_0x54af00(0x4d5)][_0x54af00(0x34e)](pe,this['unitID'],this[_0x54af00(0x23c)],[_0x55c858],this[_0x54af00(0x543)]);return _0x585f5b[_0x54af00(0x4b7)](),_0x585f5b[_0x54af00(0x3d2)](),_0x585f5b;}['onRemoteChangeset'](_0x2ce9fc){const _0x143e6b=_0x1a7f07;if(this[_0x143e6b(0x484)](_0x2ce9fc))return this[_0x143e6b(0x4d5)][_0x143e6b(0x34e)](he,this['unitID'],this[_0x143e6b(0x23c)],null,[],null,[_0x2ce9fc],this[_0x143e6b(0x543)]);try{const _0x70971e=this[_0x143e6b(0x4af)][_0x143e6b(0x469)](_0x2ce9fc,[uo]);if(_0x1b23f5(_0x70971e)){const {c1Prime:_0x147b71}=_0x70971e;return this['_executeRemoteChangeset'](_0x147b71),this;}throw _0x70971e[_0x143e6b(0x3eb)];}catch(_0x5221a0){return this['_logService'][_0x143e6b(0x3eb)](_0x5221a0),this[_0x143e6b(0x22d)](!0x1);}}[_0x1a7f07(0x22d)](_0xbdd21c){const _0x2d4045=_0x1a7f07;return this['_injector'][_0x2d4045(0x34e)](Re,this[_0x2d4045(0x5b2)],this[_0x2d4045(0x23c)],null,[],this[_0x2d4045(0x543)],_0xbdd21c);}[_0x1a7f07(0x27e)](){const _0x2f5c53=_0x1a7f07;throw new Error(_0x2f5c53(0x310));}[_0x1a7f07(0x273)](){const _0x443c2a=_0x1a7f07;throw new Error(_0x443c2a(0x285));}[_0x1a7f07(0x2d7)](){return this;}[_0x1a7f07(0x1f7)](){const _0x4bd65c=_0x1a7f07;return this['_injector'][_0x4bd65c(0x34e)](ye,this[_0x4bd65c(0x5b2)],this[_0x4bd65c(0x23c)],null,[],this[_0x4bd65c(0x543)]);}['toggleOnline'](){return this;}[_0x1a7f07(0x465)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a7f07(0x2c4)](){const _0x285bdc=_0x1a7f07,_0x4a5f5a=this[_0x285bdc(0x26a)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x285bdc(0x543)]['onMissingChangesets']({'from':_0x4a5f5a,'to':0x0}),this[_0x285bdc(0x4d5)][_0x285bdc(0x34e)](he,this[_0x285bdc(0x5b2)],this[_0x285bdc(0x23c)],null,[],null,[],this[_0x285bdc(0x543)]);}};Fe=Le([A(0x3,_0x5cf6ec(_0x5ee8b1)),A(0x4,_0x5cf6ec(q)),A(0x5,_0x5cf6ec(_0xc0c089)),A(0x6,_0x5c2e54),A(0x7,_0x322b66),A(0x8,_0x1e210b),A(0x9,_0x2746ae)],Fe);let pe=class extends $e{constructor(_0x42299d,_0x29a25b,_0x31346e,_0x8473cc,_0x2fb163,_0x29ae19,_0x5120a0,_0x1631f7,_0x42996c,_0x6b223,_0x38c025,_0x5bfdaa,_0x5984f4,_0x16141e){const _0x22b5cc=_0x1a7f07;super(_0x42299d,_0x29a25b,null,_0x31346e,_0x8473cc,_0x6b223,_0x16141e,_0x29ae19,_0x5120a0),g(this,_0x22b5cc(0x3ff),_0x22b5cc(0x4db)),g(this,'_scheduleTimestamp',null),g(this,_0x22b5cc(0x529),null),(this['_injector']=_0x2fb163,this[_0x22b5cc(0x2d8)]=_0x1631f7,this[_0x22b5cc(0x345)]=_0x42996c,this[_0x22b5cc(0x428)]=_0x38c025,this[_0x22b5cc(0x4af)]=_0x5bfdaa,this[_0x22b5cc(0x44e)]=_0x5984f4);}[_0x1a7f07(0x511)](_0x495020){const _0x2d1d83=_0x1a7f07;return this[_0x2d1d83(0x45e)]['push'](_0x495020),this[_0x2d1d83(0x3d2)](),this;}[_0x1a7f07(0x35d)](_0x23490d){const _0xd42702=_0x1a7f07;if(this[_0xd42702(0x484)](_0x23490d))return this[_0xd42702(0x366)](),this[_0xd42702(0x4d5)][_0xd42702(0x34e)](he,this[_0xd42702(0x5b2)],this['type'],null,this[_0xd42702(0x45e)],null,[_0x23490d],this[_0xd42702(0x543)]);try{const _0x165e2e=this[_0xd42702(0x4af)][_0xd42702(0x469)](_0x23490d,this[_0xd42702(0x45e)]);if(_0x1b23f5(_0x165e2e)){const {c1Prime:_0x3b6135,m2Prime:_0x2fff3f}=_0x165e2e;this[_0xd42702(0x45c)](_0x3b6135);const _0x54e1e7=this[_0xd42702(0x4d5)][_0xd42702(0x34e)](pe,this[_0xd42702(0x5b2)],this[_0xd42702(0x23c)],_0x2fff3f,this['_handler']);return this['_clearScheduledTask'](),_0x54e1e7[_0xd42702(0x4b7)](this[_0xd42702(0x3b7)]?Math['max'](0x0,new Date()[_0xd42702(0x487)]()-this['_scheduleTimestamp']):this[_0xd42702(0x5b4)]()),_0x54e1e7;}throw _0x165e2e[_0xd42702(0x3eb)];}catch(_0x5d8c7b){return this[_0xd42702(0x345)][_0xd42702(0x3eb)](_0x5d8c7b),this[_0xd42702(0x22d)](!0x1);}}[_0x1a7f07(0x27e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x207301=_0x1a7f07;throw new Error(_0x207301(0x3a6));}[_0x1a7f07(0x2d7)](){return this;}['toggleOffline'](){const _0x34e724=_0x1a7f07;return this[_0x34e724(0x366)](),this[_0x34e724(0x4d5)][_0x34e724(0x34e)](ye,this[_0x34e724(0x5b2)],this[_0x34e724(0x23c)],null,this[_0x34e724(0x45e)],this[_0x34e724(0x543)]);}[_0x1a7f07(0x325)](){return this;}[_0x1a7f07(0x4b7)](_0x452abd){const _0x2b63e4=_0x1a7f07,_0x129d81=_0x452abd!=null?_0x452abd:this[_0x2b63e4(0x5b4)]();this['_scheduleTimestamp']=new Date()[_0x2b63e4(0x487)](),this['_sendingTimer']=window[_0x2b63e4(0x38f)](()=>{const _0x257cfa=_0x2b63e4;this['_clearScheduledTask']();let _0x3fe206=null;switch(this[_0x257cfa(0x23c)]){case ce['UNIVER_SHEET']:{_0x3fe206=Vs(this['_pendingMutations'],this[_0x257cfa(0x5b2)],this[_0x257cfa(0x44e)],this['_revisionService'],this[_0x257cfa(0x2d8)]);break;}case ce[_0x257cfa(0x51a)]:{this[_0x257cfa(0x45e)][_0x257cfa(0x3ed)](_0x14ce9c=>_0x14ce9c['id']===_0x22550b['id'])?_0x3fe206=_o(this['_pendingMutations'],this[_0x257cfa(0x5b2)],this['_univerInstanceService'],this['_revisionService'],this[_0x257cfa(0x2d8)]):_0x3fe206=Vs(this['_pendingMutations'],this['unitID'],this[_0x257cfa(0x44e)],this[_0x257cfa(0x26a)],this['_memberService']);break;}default:throw new Error(_0x257cfa(0x5a6)+this[_0x257cfa(0x23c)]+_0x257cfa(0x49c));}const {changeset:_0x223e27,pendingMutations:_0x1a3be2}=_0x3fe206;this[_0x257cfa(0x543)]['onSendChangeset'](_0x223e27);const _0x5bf21e=_0x1a3be2[_0x257cfa(0x5bc)]?this[_0x257cfa(0x4d5)][_0x257cfa(0x34e)](ge,this[_0x257cfa(0x5b2)],this[_0x257cfa(0x23c)],_0x223e27,_0x1a3be2,this[_0x257cfa(0x543)],void 0x0):this[_0x257cfa(0x4d5)][_0x257cfa(0x34e)](Te,this[_0x257cfa(0x5b2)],this['type'],_0x223e27,this[_0x257cfa(0x543)]);_0x5bf21e[_0x257cfa(0x3d2)](),this['_handler'][_0x257cfa(0x507)](this,_0x5bf21e);},_0x129d81);}[_0x1a7f07(0x5b4)](){const _0x1f26e1=_0x1a7f07;var _0x86a1f4;const _0x3d9ad7=this[_0x1f26e1(0x428)][_0x1f26e1(0x1bf)](ie);return(_0x86a1f4=_0x3d9ad7==null?void 0x0:_0x3d9ad7[_0x1f26e1(0x516)])!=null?_0x86a1f4:cr;}[_0x1a7f07(0x465)](){const _0xd7b348=_0x1a7f07;throw new Error(_0xd7b348(0x4bf));}['_clearScheduledTask'](){const _0x15176e=_0x1a7f07;this[_0x15176e(0x529)]!=null&&(clearTimeout(this[_0x15176e(0x529)]),this[_0x15176e(0x529)]=null);}[_0x1a7f07(0x22d)](_0x4e26d0){const _0x152ff9=_0x1a7f07;return this[_0x152ff9(0x366)](),this[_0x152ff9(0x4d5)][_0x152ff9(0x34e)](Re,this['unitID'],this[_0x152ff9(0x23c)],null,this[_0x152ff9(0x45e)],this[_0x152ff9(0x543)],_0x4e26d0);}};pe=Le([A(0x4,_0x5cf6ec(_0xc0c089)),A(0x5,_0x5cf6ec(_0x5ee8b1)),A(0x6,_0x5cf6ec(q)),A(0x7,_0x5cf6ec(Ne)),A(0x8,_0x1e210b),A(0x9,_0x322b66),A(0xa,_0x34b905),A(0xb,_0x2746ae),A(0xc,_0x1726a1),A(0xd,_0x5c2e54)],pe);let Te=class extends $e{constructor(_0x122fa1,_0x173082,_0x2355c1,_0x2ac22c,_0x238dd3,_0x4a3429,_0xffa0be,_0x3d312c,_0x3a26db,_0x15e761,_0x3cede3){const _0x3ef301=_0x1a7f07;super(_0x122fa1,_0x173082,_0x2355c1,[],_0x2ac22c,_0x3d312c,_0x3cede3,_0x4a3429,_0xffa0be),g(this,_0x3ef301(0x3ff),_0x3ef301(0x3ce)),g(this,_0x3ef301(0x39a),0x0),g(this,_0x3ef301(0x405)),g(this,_0x3ef301(0x352)),(this[_0x3ef301(0x4d5)]=_0x238dd3,this['_logService']=_0x3a26db,this[_0x3ef301(0x4af)]=_0x15e761);}[_0x1a7f07(0x511)](_0x28631c){const _0x358afc=_0x1a7f07;this[_0x358afc(0x366)]();const _0x5b9334=this[_0x358afc(0x4d5)]['createInstance'](ge,this[_0x358afc(0x5b2)],this[_0x358afc(0x23c)],this['_awaitingChangeset'],[_0x28631c],this['_handler'],this[_0x358afc(0x405)]);return _0x5b9334[_0x358afc(0x3d2)](),_0x5b9334;}[_0x1a7f07(0x35d)](_0x2dc44e){const _0x434731=_0x1a7f07;if(this['_checkMissing'](_0x2dc44e))return this[_0x434731(0x366)](),this[_0x434731(0x4d5)][_0x434731(0x34e)](he,this[_0x434731(0x5b2)],this[_0x434731(0x23c)],this[_0x434731(0x54e)],[],null,[_0x2dc44e],this['_handler']);try{const _0x1b411d=this[_0x434731(0x4af)][_0x434731(0x579)]([_0x2dc44e],[this['_awaitingChangeset']],!0x1);if(_0x408fbf(_0x1b411d)){const {c1Prime:_0x95313c,c2Prime:_0x324071}=_0x1b411d;this[_0x434731(0x45c)](_0x95313c[0x0]),_0x324071[0x0][_0x434731(0x4cc)]=this[_0x434731(0x571)](),this[_0x434731(0x366)]();const _0x15894b=this[_0x434731(0x4d5)]['createInstance'](Te,this[_0x434731(0x5b2)],this[_0x434731(0x23c)],_0x324071[0x0],this[_0x434731(0x543)]);return _0x15894b['_updateLocalCache'](),_0x15894b;}return this[_0x434731(0x22d)](!0x1);}catch(_0xa5135f){return this[_0x434731(0x345)][_0x434731(0x3eb)](_0xa5135f),this[_0x434731(0x22d)](!0x1);}}[_0x1a7f07(0x27e)](_0x263c9c){const _0x4e18f2=_0x1a7f07;this[_0x4e18f2(0x366)]();const _0x2c2b2d=this[_0x4e18f2(0x26a)][_0x4e18f2(0x409)](this[_0x4e18f2(0x5b2)]);if(_0x263c9c['revision']<_0x2c2b2d-0x1)return this;if(this[_0x4e18f2(0x484)](_0x263c9c))return this['_injector']['createInstance'](he,this[_0x4e18f2(0x5b2)],this['type'],null,[],this[_0x4e18f2(0x54e)],[],this[_0x4e18f2(0x543)]);this['_incrementRevisionNumber']();const _0x37d08a=this[_0x4e18f2(0x4d5)][_0x4e18f2(0x34e)](Fe,this[_0x4e18f2(0x5b2)],this[_0x4e18f2(0x23c)],this[_0x4e18f2(0x543)]);return _0x37d08a[_0x4e18f2(0x3d2)](),_0x37d08a;}[_0x1a7f07(0x273)](_0x5eccb3){const _0x529c48=_0x1a7f07;return this[_0x529c48(0x22d)](!!(_0x5eccb3!=null&&_0x5eccb3[_0x529c48(0x383)]));}['onRemoteRetry'](_0x4fb229){const _0x118590=_0x1a7f07;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0x118590(0x405)]=Ui(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4fb229['reqId']}),this['_sender']=this[_0x118590(0x405)][_0x118590(0x29f)](({reqId:_0x55d339,timeout:_0x28e84b})=>{const _0x53bf19=_0x118590;this[_0x53bf19(0x43f)](_0x55d339,_0x28e84b);}),this);}[_0x1a7f07(0x1f7)](){const _0x55b759=_0x1a7f07;return this[_0x55b759(0x366)](),this[_0x55b759(0x4d5)]['createInstance'](ye,this[_0x55b759(0x5b2)],this['type'],this[_0x55b759(0x54e)],[],this[_0x55b759(0x543)]);}['toggleOnline'](){return this;}['resend'](){const _0x5c0e35=_0x1a7f07;this[_0x5c0e35(0x543)][_0x5c0e35(0x549)](this['_awaitingChangeset']);}[_0x1a7f07(0x22d)](_0x168cdb){const _0x5a3593=_0x1a7f07;return this[_0x5a3593(0x366)](),this[_0x5a3593(0x4d5)][_0x5a3593(0x34e)](Re,this[_0x5a3593(0x5b2)],this[_0x5a3593(0x23c)],this[_0x5a3593(0x54e)],[],this[_0x5a3593(0x543)],_0x168cdb);}['_resendWithTimeout'](_0x3cd260,_0x34cffa){const _0x4724ba=_0x1a7f07;var _0x53a6a5;_0x3cd260===((_0x53a6a5=this[_0x4724ba(0x54e)])==null?void 0x0:_0x53a6a5[_0x4724ba(0x577)])&&(this[_0x4724ba(0x465)](),this[_0x4724ba(0x39a)]=_0x34cffa===0x0?0x3e8:_0x34cffa*0x2);}[_0x1a7f07(0x366)](){const _0x55dd65=_0x1a7f07;var _0x170626;(_0x170626=this['_sender'])==null||_0x170626[_0x55dd65(0x4ee)](),this[_0x55dd65(0x39a)]=0x0;}};Te=Le([A(0x4,_0x5cf6ec(_0xc0c089)),A(0x5,_0x5cf6ec(_0x5ee8b1)),A(0x6,_0x5cf6ec(q)),A(0x7,_0x322b66),A(0x8,_0x1e210b),A(0x9,_0x2746ae),A(0xa,_0x5c2e54)],Te);let ge=class extends $e{constructor(_0x18fed7,_0x3e968f,_0x17e080,_0x3d65b0,_0x4078b8,_0x409f7e,_0x208121,_0x5beac6,_0x1437c6,_0x439789,_0x207c28,_0x58722a,_0x31b521){const _0x2b5df8=_0x1a7f07;super(_0x18fed7,_0x3e968f,_0x17e080,_0x3d65b0,_0x4078b8,_0x439789,_0x31b521,_0x5beac6,_0x1437c6),g(this,_0x2b5df8(0x3ff),_0x2b5df8(0x291)),g(this,'_resendTimeout',0x0),g(this,_0x2b5df8(0x405)),g(this,_0x2b5df8(0x352)),(this[_0x2b5df8(0x4d5)]=_0x208121,this[_0x2b5df8(0x345)]=_0x207c28,this[_0x2b5df8(0x4af)]=_0x58722a,_0x409f7e&&(this[_0x2b5df8(0x405)]=_0x409f7e,this[_0x2b5df8(0x352)]=this[_0x2b5df8(0x405)][_0x2b5df8(0x29f)](({reqId:_0x4e1e0f,timeout:_0x529a1e})=>{this['_resendWithTimeout'](_0x4e1e0f,_0x529a1e);})));}[_0x1a7f07(0x511)](_0x11a814){const _0x69baa9=_0x1a7f07;return this['_pendingMutations'][_0x69baa9(0x4b6)](_0x11a814),this;}[_0x1a7f07(0x35d)](_0x75f371){const _0x47e693=_0x1a7f07;if(this['_checkMissing'](_0x75f371))return this[_0x47e693(0x366)](),this[_0x47e693(0x4d5)]['createInstance'](he,this[_0x47e693(0x5b2)],this[_0x47e693(0x23c)],this[_0x47e693(0x54e)],this[_0x47e693(0x45e)],null,[_0x75f371],this[_0x47e693(0x543)]);try{const _0x59365a=this[_0x47e693(0x4af)][_0x47e693(0x579)]([_0x75f371],[this['_awaitingChangeset']],!0x1);if(_0x408fbf(_0x59365a)){const {c1Prime:_0xa530ef,c2Prime:_0x25f09f}=_0x59365a,_0x20efc1=this[_0x47e693(0x4af)]['transformMutationsWithChangeset'](_0xa530ef[0x0],this[_0x47e693(0x45e)]);if(_0x1b23f5(_0x20efc1)){const {c1Prime:_0x381eea,m2Prime:_0x3b14e1}=_0x20efc1;return this[_0x47e693(0x45c)](_0x381eea),_0x25f09f[0x0][_0x47e693(0x4cc)]=this[_0x47e693(0x571)](),this['_clearScheduledTask'](),this[_0x47e693(0x4d5)][_0x47e693(0x34e)](ge,this[_0x47e693(0x5b2)],this[_0x47e693(0x23c)],_0x25f09f[0x0],_0x3b14e1,this[_0x47e693(0x543)],void 0x0);}throw _0x20efc1[_0x47e693(0x3eb)];}throw _0x59365a['error'];}catch(_0x338254){return this[_0x47e693(0x345)][_0x47e693(0x3eb)](_0x338254),this[_0x47e693(0x22d)](!0x1);}}['onRemoteAck'](_0x353e23){const _0x192019=_0x1a7f07;if(this[_0x192019(0x366)](),this[_0x192019(0x484)](_0x353e23))return this['_injector'][_0x192019(0x34e)](he,this['unitID'],this[_0x192019(0x23c)],null,this[_0x192019(0x45e)],this[_0x192019(0x54e)],[],this['_handler']);this[_0x192019(0x3a7)]();const _0x213a9c=this[_0x192019(0x4d5)][_0x192019(0x34e)](pe,this[_0x192019(0x5b2)],this[_0x192019(0x23c)],this[_0x192019(0x45e)],this[_0x192019(0x543)]);return _0x213a9c[_0x192019(0x4b7)](),_0x213a9c[_0x192019(0x3d2)](),_0x213a9c;}[_0x1a7f07(0x273)](_0x43476a){const _0x27da78=_0x1a7f07;return this[_0x27da78(0x22d)](!!(_0x43476a!=null&&_0x43476a[_0x27da78(0x383)]));}[_0x1a7f07(0x2d7)](_0x241ad8){const _0xbc333a=_0x1a7f07;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0xbc333a(0x405)]=Ui(this[_0xbc333a(0x39a)],{'timeout':this[_0xbc333a(0x39a)],'reqId':_0x241ad8[_0xbc333a(0x577)]}),this[_0xbc333a(0x352)]=this['_resendTimer'][_0xbc333a(0x29f)](({reqId:_0xcc96dd,timeout:_0x202880})=>{const _0x395d00=_0xbc333a;this[_0x395d00(0x43f)](_0xcc96dd,_0x202880);}),this);}[_0x1a7f07(0x1f7)](){const _0x383ae9=_0x1a7f07;return this['_clearScheduledTask'](),this[_0x383ae9(0x4d5)][_0x383ae9(0x34e)](ye,this['unitID'],this[_0x383ae9(0x23c)],this[_0x383ae9(0x54e)],this[_0x383ae9(0x45e)],this[_0x383ae9(0x543)]);}[_0x1a7f07(0x325)](){return this;}['resend'](){const _0x435782=_0x1a7f07;this[_0x435782(0x543)][_0x435782(0x549)](this[_0x435782(0x54e)]);}['_onConflict'](_0x4448cb){const _0x222170=_0x1a7f07;return this[_0x222170(0x366)](),this[_0x222170(0x4d5)][_0x222170(0x34e)](Re,this[_0x222170(0x5b2)],this[_0x222170(0x23c)],null,this[_0x222170(0x45e)],this[_0x222170(0x543)],_0x4448cb);}[_0x1a7f07(0x43f)](_0x4feea1,_0x180e28){const _0x55368c=_0x1a7f07;var _0x35c20e;_0x4feea1===((_0x35c20e=this[_0x55368c(0x54e)])==null?void 0x0:_0x35c20e[_0x55368c(0x577)])&&(this[_0x55368c(0x465)](),this[_0x55368c(0x39a)]=_0x180e28===0x0?0x3e8:_0x180e28*0x2);}['_clearScheduledTask'](){const _0x28d893=_0x1a7f07;var _0x42bb00;(_0x42bb00=this[_0x28d893(0x352)])==null||_0x42bb00[_0x28d893(0x4ee)](),this[_0x28d893(0x39a)]=0x0;}};ge=Le([A(0x6,_0x5cf6ec(_0xc0c089)),A(0x7,_0x5cf6ec(_0x5ee8b1)),A(0x8,_0x5cf6ec(q)),A(0x9,_0x322b66),A(0xa,_0x1e210b),A(0xb,_0x2746ae),A(0xc,_0x5c2e54)],ge);let Re=class extends $e{constructor(_0x4401ac,_0x390f88,_0x395975,_0x2ce22f,_0x32a565,_0xf491c2=!0x1,_0x4b8ce8,_0x24b33f,_0x54485a,_0x59a68b,_0x17ed08,_0x38b216,_0x482457){const _0x506cc2=_0x1a7f07;super(_0x4401ac,_0x390f88,_0x395975,_0x2ce22f,_0x32a565,_0x24b33f,_0x54485a,_0x17ed08,_0x59a68b),g(this,_0x506cc2(0x3ff),_0x506cc2(0x54d)),(this[_0x506cc2(0x4ae)]=_0xf491c2,this[_0x506cc2(0x47b)]=_0x4b8ce8,this[_0x506cc2(0x47a)]=_0x38b216,this[_0x506cc2(0x4f8)]=_0x482457,this[_0x506cc2(0x240)](),this[_0x506cc2(0x3c3)](),this[_0x506cc2(0x58c)]());}[_0x1a7f07(0x511)](){return this;}['onRemoteChangeset'](){return this;}[_0x1a7f07(0x27e)](){return this;}[_0x1a7f07(0x273)](){return this;}[_0x1a7f07(0x2d7)](){return this;}[_0x1a7f07(0x1f7)](){return this;}[_0x1a7f07(0x325)](){return this;}[_0x1a7f07(0x465)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a7f07(0x3c3)](){const _0x3a2822=_0x1a7f07;this[_0x3a2822(0x493)]['updateOfflineData'](this[_0x3a2822(0x5b2)],this['type'],null,[]);}['_showConflictNotification'](){const _0x634c8=_0x1a7f07;this['_isPermissionRej']?this[_0x634c8(0x4f8)][_0x634c8(0x1ed)]({'title':this[_0x634c8(0x47a)]['t'](_0x634c8(0x2bd)),'content':this[_0x634c8(0x47a)]['t']('permission.content'),'type':_0x634c8(0x3eb),'duration':0x0}):this['_notificationService'][_0x634c8(0x1ed)]({'title':this[_0x634c8(0x47a)]['t'](_0x634c8(0x296)),'content':this['_localeService']['t'](_0x634c8(0x2d6)),'type':'error','duration':0x0});}[_0x1a7f07(0x58c)](){const _0x2d9df9=_0x1a7f07;this[_0x2d9df9(0x47b)][_0x2d9df9(0x288)](new _0x5bdffd(this[_0x2d9df9(0x5b2)])['id'],!0x1);}};Re=Le([A(0x6,_0x5cf6ec(_0x1083e0)),A(0x7,_0x322b66),A(0x8,_0x5c2e54),A(0x9,_0x5cf6ec(q)),A(0xa,_0x5cf6ec(_0x5ee8b1)),A(0xb,_0x5cf6ec(_0x51f47a)),A(0xc,_0x5a8c90)],Re);let ye=class extends $e{constructor(_0x4f5764,_0x469df3,_0x465c6a,_0x3b150e,_0x4f4ac4,_0x59d668,_0x12b141,_0x1d6191,_0x5297a4,_0xcbaad2){const _0x507b4c=_0x1a7f07;super(_0x4f5764,_0x469df3,_0x465c6a,_0x3b150e,_0x4f4ac4,_0x5297a4,_0xcbaad2,_0x12b141,_0x1d6191),g(this,'status',_0x507b4c(0x3b0)),this[_0x507b4c(0x4d5)]=_0x59d668;}[_0x1a7f07(0x511)](_0x549145){const _0x5a9a17=_0x1a7f07;return this[_0x5a9a17(0x45e)][_0x5a9a17(0x4b6)](_0x549145),this[_0x5a9a17(0x3d2)](),this;}[_0x1a7f07(0x35d)](_0x102948){const _0x1e144e=_0x1a7f07;throw new Error(_0x1e144e(0x5a9));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x1a7f07(0x273)](){const _0x3f00c0=_0x1a7f07;throw new Error(_0x3f00c0(0x508));}[_0x1a7f07(0x2d7)](){return this;}[_0x1a7f07(0x1f7)](){return this;}[_0x1a7f07(0x325)](){const {_injector:_0xd0df9c,_pendingMutations:_0x5ea6ff,_awaitingChangeset:_0x1dcd09,unitID:_0x3ad0d7,_handler:_0x2d6099,type:_0xe9ae1a}=this,_0x38908a=Ai(_0xd0df9c,_0x3ad0d7,_0xe9ae1a,_0x1dcd09,_0x5ea6ff,_0x2d6099);return _0x38908a instanceof pe?_0x38908a['_schedule']():(_0x38908a instanceof ge||_0x38908a instanceof Te)&&_0x38908a['resend'](),_0x38908a;}['resend'](){const _0xfc93e0=_0x1a7f07;throw new Error(_0xfc93e0(0x4e1));}};ye=Le([A(0x5,_0x5cf6ec(_0xc0c089)),A(0x6,_0x5cf6ec(_0x5ee8b1)),A(0x7,_0x5cf6ec(q)),A(0x8,_0x322b66),A(0x9,_0x5c2e54)],ye);let he=class extends $e{constructor(_0x92d773,_0x151df1,_0x590120,_0x5e3ec3,_0x55ad4d,_0xc43475,_0x101790,_0x13305b,_0x4f839c,_0x50fad8,_0x5c55b4,_0x1fcf3c,_0xa25cd8,_0x275f28){const _0x43c263=_0x1a7f07;super(_0x92d773,_0x151df1,_0x590120,_0x5e3ec3,_0x101790,_0x1fcf3c,_0xa25cd8,_0x4f839c,_0x50fad8),g(this,_0x43c263(0x3ff),_0x43c263(0x540)),(this[_0x43c263(0x48b)]=_0x55ad4d,this[_0x43c263(0x58f)]=_0xc43475,this[_0x43c263(0x4d5)]=_0x13305b,this['_logService']=_0x5c55b4,this['_transformService']=_0x275f28);}[_0x1a7f07(0x251)](_0x1a62ff){const _0x5a3df7=_0x1a7f07;try{const _0xf833c8=[..._0x1a62ff,...this[_0x5a3df7(0x58f)]],_0x38f774=[this[_0x5a3df7(0x54e)]||this[_0x5a3df7(0x48b)]][_0x5a3df7(0x3de)](_0x43aa89=>!!_0x43aa89);let _0x19b544,_0x4499d7;if(_0x38f774[_0x5a3df7(0x5bc)]){const _0x2f0190=this[_0x5a3df7(0x4af)][_0x5a3df7(0x579)](_0xf833c8,_0x38f774,!0x1);if(!_0x408fbf(_0x2f0190))throw _0x2f0190['error'];_0x19b544=_0x2f0190[_0x5a3df7(0x435)],_0x4499d7=_0x2f0190[_0x5a3df7(0x53d)];}else _0x19b544=_0xf833c8,_0x4499d7=[];let _0x3ba190=this[_0x5a3df7(0x45e)];_0x19b544[_0x5a3df7(0x547)](_0xae405d=>{const _0x2d7ec0=_0x5a3df7;let _0x252fc6;if(_0x3ba190[_0x2d7ec0(0x5bc)]){const _0x4dca2a=this[_0x2d7ec0(0x4af)]['transformMutationsWithChangeset'](_0xae405d,_0x3ba190);if(!_0x1b23f5(_0x4dca2a))throw _0x4dca2a[_0x2d7ec0(0x3eb)];_0x252fc6=_0x4dca2a['c1Prime'],_0x3ba190=_0x4dca2a['m2Prime'];}else _0x252fc6=_0xae405d;this[_0x2d7ec0(0x45c)](_0x252fc6);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5a3df7(0x3a7)](),this[_0x5a3df7(0x54e)]&&_0x4499d7[_0x5a3df7(0x5bc)]&&(_0x4499d7[0x0][_0x5a3df7(0x4cc)]=this['_getCurrentRevision']());let _0x210e9d;if(this['_awaitingChangeset']&&_0x3ba190[_0x5a3df7(0x5bc)]!==0x0)_0x210e9d=this['_injector'][_0x5a3df7(0x34e)](ge,this['unitID'],this[_0x5a3df7(0x23c)],_0x4499d7[0x0],_0x3ba190,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x3ba190[_0x5a3df7(0x5bc)]===0x0)_0x4499d7[0x0][_0x5a3df7(0x4cc)]=this[_0x5a3df7(0x571)](),_0x210e9d=this[_0x5a3df7(0x4d5)]['createInstance'](Te,this['unitID'],this['type'],_0x4499d7[0x0],this['_handler']);else{if(_0x3ba190['length']!==0x0){const _0x56acea=this[_0x5a3df7(0x4d5)][_0x5a3df7(0x34e)](pe,this['unitID'],this[_0x5a3df7(0x23c)],_0x3ba190,this[_0x5a3df7(0x543)]);_0x56acea[_0x5a3df7(0x4b7)](),_0x210e9d=_0x56acea;}else _0x210e9d=this[_0x5a3df7(0x4d5)][_0x5a3df7(0x34e)](Fe,this[_0x5a3df7(0x5b2)],this['type'],this[_0x5a3df7(0x543)]);}}return _0x210e9d[_0x5a3df7(0x3d2)](),_0x210e9d;}catch(_0xd75f25){return this[_0x5a3df7(0x345)][_0x5a3df7(0x3eb)](_0x5a3df7(0x56e),_0x5a3df7(0x546),_0xd75f25),this[_0x5a3df7(0x4d5)][_0x5a3df7(0x34e)](Re,this['unitID'],this[_0x5a3df7(0x23c)],this['_awaitingChangeset'],this[_0x5a3df7(0x45e)],this[_0x5a3df7(0x543)],!0x1);}}['resend'](){const _0x4603e7=_0x1a7f07;throw new Error(_0x4603e7(0x376));}[_0x1a7f07(0x511)](_0x126111){const _0x31b0c4=_0x1a7f07;return this[_0x31b0c4(0x45e)][_0x31b0c4(0x4b6)](_0x126111),this;}[_0x1a7f07(0x35d)](_0x36f414){const _0x70a3b2=_0x1a7f07;return this['_queuedRemoteChangesets'][_0x70a3b2(0x4b6)](_0x36f414),this;}[_0x1a7f07(0x27e)](_0x2532d5){const _0x13429e=_0x1a7f07;if(this[_0x13429e(0x54e)])return this[_0x13429e(0x48b)]=this['_awaitingChangeset'],this[_0x13429e(0x54e)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1a7f07(0x273)](_0x3f042c){const _0x10d823=_0x1a7f07;return this[_0x10d823(0x22d)](!!(_0x3f042c!=null&&_0x3f042c[_0x10d823(0x383)]));}['onRemoteRetry'](){return this;}[_0x1a7f07(0x1f7)](){const _0x595f86=_0x1a7f07;return this[_0x595f86(0x4d5)][_0x595f86(0x34e)](ye,this[_0x595f86(0x5b2)],this[_0x595f86(0x23c)],this[_0x595f86(0x54e)],this[_0x595f86(0x45e)],this[_0x595f86(0x543)]);}[_0x1a7f07(0x325)](){return this;}['_onConflict'](_0x3f844c){const _0x4a2988=_0x1a7f07;return this[_0x4a2988(0x4d5)]['createInstance'](Re,this[_0x4a2988(0x5b2)],this[_0x4a2988(0x23c)],this[_0x4a2988(0x54e)],this[_0x4a2988(0x45e)],this[_0x4a2988(0x543)],_0x3f844c);}};he=Le([A(0x7,_0x5cf6ec(_0xc0c089)),A(0x8,_0x5cf6ec(_0x5ee8b1)),A(0x9,_0x5cf6ec(q)),A(0xa,_0x1e210b),A(0xb,_0x322b66),A(0xc,_0x5c2e54),A(0xd,_0x2746ae)],he);function Ai(_0x27270e,_0x17a372,_0x3a6dad,_0x2c83fc,_0x1de6c2,_0x3c540c){const _0x53e4dd=_0x1a7f07;return _0x2c83fc&&_0x1de6c2[_0x53e4dd(0x5bc)]?_0x27270e['createInstance'](ge,_0x17a372,_0x3a6dad,_0x2c83fc,_0x1de6c2,_0x3c540c,void 0x0):_0x2c83fc?_0x27270e[_0x53e4dd(0x34e)](Te,_0x17a372,_0x3a6dad,_0x2c83fc,_0x3c540c):_0x1de6c2[_0x53e4dd(0x5bc)]?_0x27270e[_0x53e4dd(0x34e)](pe,_0x17a372,_0x3a6dad,_0x1de6c2,_0x3c540c):_0x27270e[_0x53e4dd(0x34e)](Fe,_0x17a372,_0x3a6dad,_0x3c540c);}var mo=Object[_0x1a7f07(0x5b3)],po=Object[_0x1a7f07(0x298)],Es=(_0x1d6b20,_0x2b2c25,_0x3d834f,_0x527b90)=>{const _0x479160=_0x1a7f07;for(var _0x259e2e=_0x527b90>0x1?void 0x0:_0x527b90?po(_0x2b2c25,_0x3d834f):_0x2b2c25,_0x37252c=_0x1d6b20[_0x479160(0x5bc)]-0x1,_0x2b0c96;_0x37252c>=0x0;_0x37252c--)(_0x2b0c96=_0x1d6b20[_0x37252c])&&(_0x259e2e=(_0x527b90?_0x2b0c96(_0x2b2c25,_0x3d834f,_0x259e2e):_0x2b0c96(_0x259e2e))||_0x259e2e);return _0x527b90&&_0x259e2e&&mo(_0x2b2c25,_0x3d834f,_0x259e2e),_0x259e2e;},H=(_0x2ebd24,_0x34198f)=>(_0x4f818e,_0x1d8073)=>_0x34198f(_0x4f818e,_0x1d8073,_0x2ebd24);let St=class extends _0x1cb902{constructor(_0x596cd7,_0x55d1ab,_0x505706,_0x56173b,_0x5abeff,_0x3d6076,_0x2d57e3,_0xc31cae,_0x17241a,_0x1b2990,_0x5063e3,_0x4050c7,_0x4a0182){const _0x784980=_0x1a7f07;super(),g(this,_0x784980(0x475),new _0x2c5f3e(null)),g(this,_0x784980(0x52e),this[_0x784980(0x475)][_0x784980(0x456)]()),g(this,_0x784980(0x272)),g(this,_0x784980(0x559),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x784980(0x1c5),this[_0x784980(0x52e)]['pipe'](_0x55a023(_0x925940=>_0x925940?_0x925940[_0x784980(0x3ff)]:J[_0x784980(0x31d)]),_0x2b0828(0x1))),g(this,_0x784980(0x2b0),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x784980(0x5b2)]=_0x596cd7,this['session']=_0x55d1ab,this[_0x784980(0x479)]=_0x505706,this[_0x784980(0x4d5)]=_0x56173b,this[_0x784980(0x493)]=_0x5abeff,this[_0x784980(0x480)]=_0x3d6076,this['_localeService']=_0x2d57e3,this['_revisionService']=_0xc31cae,this[_0x784980(0x345)]=_0x17241a,this[_0x784980(0x4b3)]=_0x1b2990,this['_messageService']=_0x5063e3,this[_0x784980(0x47b)]=_0x4050c7,this[_0x784980(0x41d)]=_0x4a0182);}get['state'](){const _0x2dc1b1=_0x1a7f07;return this[_0x2dc1b1(0x272)];}async[_0x1a7f07(0x3ae)](){const _0x7af94c=_0x1a7f07;if(this['state'])throw new Error(_0x7af94c(0x3ea));await this[_0x7af94c(0x426)]();}[_0x1a7f07(0x4fa)](){const _0x1f71d7=_0x1a7f07;return this[_0x1f71d7(0x559)]=!0x0,_0x1c981a(()=>{const _0x4fb366=_0x1f71d7;this[_0x4fb366(0x559)]=!0x1,this[_0x4fb366(0x2dc)]();});}['_updateState'](_0x41962c){const _0x30c7ac=_0x1a7f07;this[_0x30c7ac(0x272)]=_0x41962c,this[_0x30c7ac(0x475)][_0x30c7ac(0x265)](_0x41962c);}async['_init'](){const _0x8889d0=_0x1a7f07;var _0x911c10;this[_0x8889d0(0x2e2)](await this[_0x8889d0(0x50d)]()),this['_singleActiveUnitService']&&((_0x911c10=this['_singleActiveUnitService'])==null||_0x911c10[_0x8889d0(0x2a1)](this['unitID']),this[_0x8889d0(0x4b1)](this[_0x8889d0(0x41d)][_0x8889d0(0x513)](this[_0x8889d0(0x5b2)])[_0x8889d0(0x29f)](_0x2ca4d4=>{const _0x737cad=_0x8889d0;this[_0x737cad(0x345)][_0x737cad(0x4b5)]('[CollaborationEntity]',_0x737cad(0x5b7),_0x2ca4d4),_0x2ca4d4===Di[_0x737cad(0x34a)]?(this[_0x737cad(0x387)]['show']({'content':this[_0x737cad(0x47a)]['t'](_0x737cad(0x3dd)),'type':_0x4c03fa[_0x737cad(0x37a)]}),this['_permissionService'][_0x737cad(0x288)](new _0x5bdffd(this[_0x737cad(0x5b2)])['id'],!0x1),this[_0x737cad(0x47b)][_0x737cad(0x349)](!0x1)):(this[_0x737cad(0x47b)][_0x737cad(0x288)](new _0x5bdffd(this[_0x737cad(0x5b2)])['id'],!0x0),this[_0x737cad(0x47b)][_0x737cad(0x349)](!0x0));})));let _0x2f7092=!0x1;return this[_0x8889d0(0x4b1)](this['session'][_0x8889d0(0x3aa)]['subscribe'](_0x1a9060=>{const _0x302081=_0x8889d0;_0x1a9060===ve[_0x302081(0x48d)]?this['_toggleOnline'](_0x2f7092):_0x1a9060===ve['OFFLINE']&&(_0x2f7092=!0x0,this[_0x302081(0x2b4)]());})),this[_0x8889d0(0x4b1)](this[_0x8889d0(0x416)][_0x8889d0(0x46f)][_0x8889d0(0x29f)](_0x5a8580=>{const _0x24a06a=_0x8889d0;try{switch(_0x5a8580[_0x24a06a(0x215)]){case _0x4e3c97[_0x24a06a(0x49b)]:{this['_onRemoteChangeset'](_0x35fd25(_0x5a8580[_0x24a06a(0x32e)]));break;}case _0x4e3c97['CHANGESET_ACK']:{this[_0x24a06a(0x442)](_0x5a8580[_0x24a06a(0x32e)]);break;}case _0x4e3c97[_0x24a06a(0x4e7)]:{this[_0x24a06a(0x55f)]();break;}case _0x4e3c97[_0x24a06a(0x22a)]:{this[_0x24a06a(0x289)](_0x5a8580[_0x24a06a(0x32e)]);break;}case _0x4e3c97[_0x24a06a(0x35b)]:{this[_0x24a06a(0x21d)](_0x5a8580[_0x24a06a(0x32e)][_0x24a06a(0x24a)]['map'](_0x22bcdd=>_0x35fd25(_0x22bcdd)));break;}case _0x4e3c97[_0x24a06a(0x2bf)]:this[_0x24a06a(0x55f)]({'isPermissionRej':!0x0});}}catch(_0x444e0d){throw console[_0x24a06a(0x3eb)]('Error\x20on\x20receiving\x20event',_0x444e0d),_0x444e0d;}})),this[_0x8889d0(0x272)];}[_0x1a7f07(0x33e)](){const _0xf23565=_0x1a7f07;this[_0xf23565(0x2b0)]=!0x1;}[_0x1a7f07(0x56d)](){const _0x26a1be=_0x1a7f07;if(this[_0x26a1be(0x2b0)])throw new Error(_0x26a1be(0x239));this[_0x26a1be(0x2b0)]=!0x0;}['_onLocalMutation'](_0x2c7f21){const _0x791385=_0x1a7f07;this['_lockTransition'](),this[_0x791385(0x2e2)](this[_0x791385(0x272)]['appendMutation'](_0x2c7f21)),this[_0x791385(0x33e)]();}[_0x1a7f07(0x46e)](_0x55ef6d){const _0xb2d0e=_0x1a7f07;if(!(_0x55ef6d[_0xb2d0e(0x206)]<=this[_0xb2d0e(0x26a)]['getCurrentRevOfUnit'](this[_0xb2d0e(0x5b2)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x55ef6d);return;}this[_0xb2d0e(0x381)](_0x55ef6d);}}[_0x1a7f07(0x2dc)](){const _0x367c37=_0x1a7f07;this['_remoteChangesetQueue'][_0x367c37(0x547)](_0x58c820=>this[_0x367c37(0x381)](_0x58c820)),this[_0x367c37(0x481)]=[];}[_0x1a7f07(0x381)](_0x3a4b64){const _0x574d39=_0x1a7f07,_0x482269=this[_0x574d39(0x480)][_0x574d39(0x439)][_0x574d39(0x335)](this[_0x574d39(0x480)][_0x574d39(0x439)][_0x574d39(0x3b4)]()['COMPRESS_MUTATION_APPLY'])(_0x3a4b64[_0x574d39(0x2bb)],null)||_0x3a4b64[_0x574d39(0x2bb)],_0x49fab3={..._0x3a4b64,'mutations':_0x482269};this[_0x574d39(0x56d)](),this['_updateState'](this[_0x574d39(0x272)][_0x574d39(0x35d)](_0x49fab3)),this['_unlockTransition']();}[_0x1a7f07(0x442)](_0x19aaec){const _0x9329ca=_0x1a7f07;this[_0x9329ca(0x56d)](),this[_0x9329ca(0x2e2)](this[_0x9329ca(0x272)][_0x9329ca(0x27e)](_0x19aaec)),this[_0x9329ca(0x33e)]();}[_0x1a7f07(0x55f)](_0x4fe0ce){const _0x16cb5e=_0x1a7f07;this['_lockTransition'](),this['_updateState'](this[_0x16cb5e(0x272)]['onRemoteRej'](_0x4fe0ce)),this[_0x16cb5e(0x33e)]();}[_0x1a7f07(0x289)](_0x5e43f2){const _0x4aec68=_0x1a7f07;this['_lockTransition'](),this[_0x4aec68(0x2e2)](this['_state'][_0x4aec68(0x2d7)](_0x5e43f2)),this['_unlockTransition']();}['_onFetchMissResult'](_0x2ad7da){const _0x182369=_0x1a7f07;if(!(this['_state']instanceof he))throw new TypeError(_0x182369(0x4b2));const _0x1fce58=_0x2ad7da['map'](_0x160243=>{const _0x4c8fd3=_0x182369,_0x145020=this[_0x4c8fd3(0x480)][_0x4c8fd3(0x439)]['fetchThroughInterceptors'](this[_0x4c8fd3(0x480)]['interceptor'][_0x4c8fd3(0x3b4)]()[_0x4c8fd3(0x5aa)])(_0x160243[_0x4c8fd3(0x2bb)],null)||_0x160243[_0x4c8fd3(0x2bb)];return{..._0x160243,'mutations':_0x145020};});this[_0x182369(0x56d)](),this[_0x182369(0x2e2)](this[_0x182369(0x272)][_0x182369(0x251)](_0x1fce58)),this[_0x182369(0x33e)]();}[_0x1a7f07(0x2b4)](){const _0x3f41d4=_0x1a7f07;this['_lockTransition'](),this[_0x3f41d4(0x2e2)](this[_0x3f41d4(0x272)][_0x3f41d4(0x1f7)]()),this['_unlockTransition']();}['_toggleOnline'](_0x3fa35a=!0x1){const _0x404584=_0x1a7f07;this[_0x404584(0x56d)](),this['_updateState'](this[_0x404584(0x272)][_0x404584(0x325)]()),this['_unlockTransition']();const _0x54ce7d=this[_0x404584(0x272)];_0x3fa35a&&_0x54ce7d instanceof Fe&&(this[_0x404584(0x56d)](),this['_updateState'](_0x54ce7d[_0x404584(0x2c4)]()),this[_0x404584(0x33e)]());}async['_createInitialState'](){return new Promise(_0x5da08b=>{const _0x5ea1fc=_0x54d3;this[_0x5ea1fc(0x416)][_0x5ea1fc(0x3aa)][_0x5ea1fc(0x1cf)](_0x4e26bd(0x1))[_0x5ea1fc(0x29f)](async _0x1f6c58=>{const _0x2ec407=_0x5ea1fc;_0x5da08b(await this[_0x2ec407(0x391)](_0x1f6c58===ve['ONLINE']));});});}[_0x1a7f07(0x5c5)](){const _0x24197e=_0x1a7f07,_0x3f0f1c=this[_0x24197e(0x5b2)];return{'onStateChange':(_0x3bcb3f,_0xb7d503)=>{const _0x275f7d=_0x24197e;if(_0x3bcb3f!==this['_state'])throw new Error(_0x275f7d(0x2e9)+_0x3bcb3f['status']+'\x0aAfter:\x20'+_0xb7d503[_0x275f7d(0x3ff)]+_0x275f7d(0x33f)+this[_0x275f7d(0x272)][_0x275f7d(0x3ff)]);this[_0x275f7d(0x2e2)](_0xb7d503);},'onSendChangeset':_0x19f62=>{const _0x37ec71=_0x24197e;_0x19f62['sid']||(_0x19f62['sid']=this[_0x37ec71(0x4e4)],_0x19f62[_0x37ec71(0x577)]=++this['_changesetReqId']);const _0x4b8622={'eventID':_0x4e3c97[_0x37ec71(0x4c2)],'data':{'unitID':_0x19f62[_0x37ec71(0x5b2)],'unitType':this[_0x37ec71(0x479)],'changeset':_0x19f62,'memberID':this[_0x37ec71(0x416)]['getMemberID']()}};this[_0x37ec71(0x416)][_0x37ec71(0x445)](_0x4b8622,this[_0x37ec71(0x5b2)]);},'onMissingChangesets':({from:_0x5471a7,to:_0x318774})=>{const _0x300d5e=_0x24197e;this['_logService'][_0x300d5e(0x4b5)](_0x300d5e(0x412),_0x300d5e(0x1ff)+_0x5471a7+'\x20to\x20'+_0x318774);const _0x47be63={'eventID':_0x4e3c97['FETCH_MISSING'],'data':{'unitID':_0x3f0f1c,'unitType':this[_0x300d5e(0x479)],'from':_0x5471a7,'to':_0x318774}};this[_0x300d5e(0x416)]['send'](_0x47be63,this[_0x300d5e(0x5b2)]);}};}async[_0x1a7f07(0x391)](_0x33e964){const _0x4b3fda=_0x1a7f07;var _0x26b440,_0x5b41e1;const _0x3853b4=await this['_localCacheService'][_0x4b3fda(0x394)](this[_0x4b3fda(0x5b2)]),_0x1fea73=(_0x26b440=_0x3853b4==null?void 0x0:_0x3853b4[_0x4b3fda(0x2bb)])!=null?_0x26b440:[],_0x26137a=(_0x5b41e1=_0x3853b4==null?void 0x0:_0x3853b4[_0x4b3fda(0x531)])!=null?_0x5b41e1:null,_0x416da8=!!(_0x26137a!=null&&_0x26137a['sid'])&&!!(_0x26137a!=null&&_0x26137a[_0x4b3fda(0x577)]);this[_0x4b3fda(0x4e4)]=_0x416da8?_0x26137a[_0x4b3fda(0x3e1)]:Gr(),this[_0x4b3fda(0x3dc)]=_0x416da8?_0x26137a[_0x4b3fda(0x577)]:0x0;const _0x23a30e=this[_0x4b3fda(0x5b2)];try{this[_0x4b3fda(0x213)](_0x26137a,_0x1fea73);}catch(_0x2dd058){this['_logService'][_0x4b3fda(0x3eb)](_0x2dd058);}const _0x218c9f=this[_0x4b3fda(0x5c5)]();if(_0x33e964){const _0x12becb=Ai(this[_0x4b3fda(0x4d5)],_0x23a30e,this[_0x4b3fda(0x479)],_0x26137a,_0x1fea73,_0x218c9f);return _0x12becb instanceof pe?_0x12becb['_schedule']():(_0x12becb instanceof ge||_0x12becb instanceof Te)&&_0x12becb[_0x4b3fda(0x465)](),_0x12becb;}return this['_injector'][_0x4b3fda(0x34e)](ye,_0x23a30e,this[_0x4b3fda(0x479)],_0x26137a,_0x1fea73,_0x218c9f);}['_replayCachedMutations'](_0x147e6f,_0x5dbb34){const _0xbf8d6a=_0x1a7f07;var _0x336ade,_0x3fd6b7;const _0x1bd0ea=this[_0xbf8d6a(0x480)][_0xbf8d6a(0x439)][_0xbf8d6a(0x335)](this[_0xbf8d6a(0x480)][_0xbf8d6a(0x439)][_0xbf8d6a(0x3b4)]()[_0xbf8d6a(0x5aa)]);(_0x336ade=_0x1bd0ea((_0x147e6f==null?void 0x0:_0x147e6f[_0xbf8d6a(0x2bb)])||[],null))==null||_0x336ade['forEach'](_0x49a152=>this[_0xbf8d6a(0x4b3)][_0xbf8d6a(0x26f)](_0x49a152['id'],_0x49a152['params'])),(_0x3fd6b7=_0x1bd0ea(_0x5dbb34||[],null))==null||_0x3fd6b7[_0xbf8d6a(0x547)](_0x48d8bc=>this[_0xbf8d6a(0x4b3)][_0xbf8d6a(0x26f)](_0x48d8bc['id'],_0x48d8bc[_0xbf8d6a(0x53f)]));}};St=Es([H(0x3,_0x5cf6ec(_0xc0c089)),H(0x4,_0x5cf6ec(q)),H(0x5,_0x5cf6ec(_0x230e80)),H(0x6,_0x5cf6ec(_0x51f47a)),H(0x7,_0x5cf6ec(_0x5ee8b1)),H(0x8,_0x1e210b),H(0x9,_0x322b66),H(0xa,_0x521fac),H(0xb,_0x1083e0),H(0xc,_0x94953d(yt))],St);let ss=class extends St{constructor(_0x2f98fe,_0x22b2cd,_0x5e2f93,_0x432e62,_0x395ea2,_0x1f6e00,_0xbb71bd,_0x4ccbf1,_0x38ba18,_0x3f33a5,_0x53f2a6,_0x4a1938,_0x368aad,_0x21fcdc,_0x50edb2,_0x2a2d03,_0x3146a7,_0x34a5eb){const _0x2e753c=_0x1a7f07;super(_0x2f98fe,_0x5e2f93,_0x22b2cd,_0x432e62,_0x395ea2,_0x1f6e00,_0xbb71bd,_0x4ccbf1,_0x21fcdc,_0x50edb2,_0x2a2d03,_0x3146a7,_0x34a5eb),this[_0x2e753c(0x5b2)]=_0x2f98fe,this[_0x2e753c(0x23c)]=_0x22b2cd,this[_0x2e753c(0x359)]=_0x38ba18,this[_0x2e753c(0x28d)]=_0x3f33a5,this[_0x2e753c(0x3d9)]=_0x53f2a6,this[_0x2e753c(0x587)]=_0x4a1938,this['_docSyncEditingCollabCursorService']=_0x368aad;}[_0x1a7f07(0x5c5)](){const _0x5d17f6=_0x1a7f07,_0x306fb9=super['_createHandler']();return _0x306fb9[_0x5d17f6(0x2c6)]=_0x358f85=>this['_docTransformIMECacheService'][_0x5d17f6(0x506)](_0x358f85),_0x306fb9[_0x5d17f6(0x327)]=_0x206797=>this[_0x5d17f6(0x3d9)][_0x5d17f6(0x2f0)](_0x206797),_0x306fb9['onTransformSelections']=_0x154d8a=>this[_0x5d17f6(0x587)][_0x5d17f6(0x48e)](_0x154d8a),_0x306fb9['onSyncEditingCollabCursor']=_0x585918=>this[_0x5d17f6(0x500)][_0x5d17f6(0x1db)](_0x585918),_0x306fb9[_0x5d17f6(0x257)]=_0x2170fb=>this[_0x5d17f6(0x28d)]['transformRemoteChangeset'](_0x2170fb),_0x306fb9[_0x5d17f6(0x4a0)]=_0x287bea=>this[_0x5d17f6(0x3d9)][_0x5d17f6(0x277)](_0x287bea),_0x306fb9;}async[_0x1a7f07(0x426)](){const _0x4537b9=_0x1a7f07,_0x24d9ba=await super['_init']();return this[_0x4537b9(0x359)]['docStateChange$'][_0x4537b9(0x1cf)](_0x171184(this[_0x4537b9(0x22c)]))[_0x4537b9(0x29f)](_0x3f2b47=>{const _0x69e9a5=_0x4537b9;if(_0x3f2b47==null)return;const {unitId:_0x17860b,redoState:_0x246dc4,commandId:_0x1ca801}=_0x3f2b47;if(_0x17860b!==this[_0x69e9a5(0x5b2)])return;const _0x532594={'id':_0x1ca801,'type':_0x42d006['MUTATION'],'params':{'unitId':_0x17860b,'actions':_0x246dc4[_0x69e9a5(0x2aa)],'textRanges':null}};this[_0x69e9a5(0x307)](_0x532594);}),_0x24d9ba;}};ss=Es([H(0x3,_0x5cf6ec(_0xc0c089)),H(0x4,_0x5cf6ec(q)),H(0x5,_0x5cf6ec(_0x230e80)),H(0x6,_0x5cf6ec(_0x51f47a)),H(0x7,_0x5cf6ec(_0x5ee8b1)),H(0x8,_0x5cf6ec(_0x3fdbd8)),H(0x9,_0x5cf6ec(vt)),H(0xa,_0x5cf6ec(pt)),H(0xb,_0x5cf6ec(gt)),H(0xc,_0x5cf6ec(Cs)),H(0xd,_0x1e210b),H(0xe,_0x322b66),H(0xf,_0x521fac),H(0x10,_0x1083e0),H(0x11,_0x94953d(yt))],ss);let is=class extends St{constructor(_0x39abf8,_0x397f48,_0x2c2118,_0x52b18b,_0x27be87,_0x151b7e,_0x2ac8e8,_0x4eee4c,_0x58d8d6,_0x53a91c,_0x467b25,_0x457f8f,_0x3a1346,_0x48dfc5){const _0x11d1f0=_0x1a7f07;super(_0x39abf8,_0x2c2118,_0x397f48,_0x52b18b,_0x27be87,_0x151b7e,_0x2ac8e8,_0x4eee4c,_0x53a91c,_0x467b25,_0x457f8f,_0x3a1346,_0x48dfc5),this[_0x11d1f0(0x5b2)]=_0x39abf8,this['type']=_0x397f48,this[_0x11d1f0(0x330)]=_0x58d8d6;}[_0x1a7f07(0x5c5)](){const _0x422c0a=_0x1a7f07,_0x5c9dd7=super[_0x422c0a(0x5c5)]();return _0x5c9dd7['onTransformSelections']=_0x3e951f=>this[_0x422c0a(0x330)]['transformSelections'](_0x3e951f),_0x5c9dd7;}async['_init'](){const _0x319d80=_0x1a7f07,_0x440580=await super['_init']();return this[_0x319d80(0x4b1)](this[_0x319d80(0x4b3)][_0x319d80(0x229)]((_0x247415,_0x61128)=>{const _0x36f710=_0x319d80;if(_0x247415[_0x36f710(0x23c)]!==_0x42d006[_0x36f710(0x5b9)]||_0x61128!=null&&_0x61128[_0x36f710(0x4e8)]||_0x61128!=null&&_0x61128['onlyLocal'])return;const _0x445b5e=_0x247415[_0x36f710(0x53f)];if((_0x445b5e==null?void 0x0:_0x445b5e[_0x36f710(0x3c9)])!==this[_0x36f710(0x5b2)])return;const _0x4cc2d4=_0x247415,_0x3a2d5c=this[_0x36f710(0x480)][_0x36f710(0x439)]['fetchThroughInterceptors'](this[_0x36f710(0x480)]['interceptor'][_0x36f710(0x3b4)]()[_0x36f710(0x24f)])([_0x4cc2d4],null)||[_0x4cc2d4];this[_0x36f710(0x307)](_0x3a2d5c[0x0]);})),_0x440580;}};is=Es([H(0x3,_0x5cf6ec(_0xc0c089)),H(0x4,_0x5cf6ec(q)),H(0x5,_0x5cf6ec(_0x230e80)),H(0x6,_0x5cf6ec(_0x51f47a)),H(0x7,_0x5cf6ec(_0x5ee8b1)),H(0x8,_0x5cf6ec(mt)),H(0x9,_0x1e210b),H(0xa,_0x322b66),H(0xb,_0x521fac),H(0xc,_0x1083e0),H(0xd,_0x94953d(yt))],is);var go=Object[_0x1a7f07(0x5b3)],So=Object[_0x1a7f07(0x298)],Io=(_0x598ffa,_0x28ddcc,_0x511502,_0x102573)=>{const _0x2d0b0a=_0x1a7f07;for(var _0x2fe947=_0x102573>0x1?void 0x0:_0x102573?So(_0x28ddcc,_0x511502):_0x28ddcc,_0x267a1e=_0x598ffa[_0x2d0b0a(0x5bc)]-0x1,_0x49af5a;_0x267a1e>=0x0;_0x267a1e--)(_0x49af5a=_0x598ffa[_0x267a1e])&&(_0x2fe947=(_0x102573?_0x49af5a(_0x28ddcc,_0x511502,_0x2fe947):_0x49af5a(_0x2fe947))||_0x2fe947);return _0x102573&&_0x2fe947&&go(_0x28ddcc,_0x511502,_0x2fe947),_0x2fe947;},Lt=(_0x2bf565,_0x577b25)=>(_0x4606e0,_0x22ca2a)=>_0x577b25(_0x4606e0,_0x22ca2a,_0x2bf565);let it=class extends _0x1cb902{constructor(_0x3349aa,_0xfea2a0,_0x19da5d){const _0xc58acc=_0x1a7f07;super(),g(this,_0xc58acc(0x31b),new Map()),g(this,_0xc58acc(0x48a),new _0x50574e()),(this[_0xc58acc(0x4d5)]=_0x3349aa,this[_0xc58acc(0x46d)]=_0xfea2a0,this['_univerInstanceService']=_0x19da5d,this[_0xc58acc(0x426)]());}[_0x1a7f07(0x51b)](){const _0x3ea87c=_0x1a7f07;super[_0x3ea87c(0x51b)](),this[_0x3ea87c(0x31b)]['forEach'](_0x2a3698=>_0x2a3698[_0x3ea87c(0x51b)]()),this[_0x3ea87c(0x31b)][_0x3ea87c(0x320)]();}[_0x1a7f07(0x4a4)](_0x3474b5){const _0x4973c9=_0x1a7f07;var _0x49b37c;return(_0x49b37c=this[_0x4973c9(0x31b)]['get'](_0x3474b5))!=null?_0x49b37c:null;}[_0x1a7f07(0x46c)](_0x2bb3f1){const _0x12c6bd=_0x1a7f07,_0x3ff9b2=this[_0x12c6bd(0x4a4)](_0x2bb3f1);return _0x3ff9b2?_0x37aace(_0x3ff9b2):this[_0x12c6bd(0x48a)][_0x12c6bd(0x1cf)](_0x5cdcf5(_0x3031f9=>_0x3031f9[_0x12c6bd(0x5b2)]===_0x2bb3f1));}['_init'](){const _0xee9bee=_0x1a7f07;this[_0xee9bee(0x44e)]['getTypeOfUnitAdded$'](_0x31d58f[_0xee9bee(0x3a2)])[_0xee9bee(0x1cf)](_0x171184(this[_0xee9bee(0x22c)]),_0x2804ad(0x10))[_0xee9bee(0x29f)](async _0x1121e0=>{const _0x4cae87=_0xee9bee,_0x2c1052=_0x1121e0[_0x4cae87(0x5c1)](),_0x275877=await this[_0x4cae87(0x305)](_0x2c1052,ce['UNIVER_SHEET']);this[_0x4cae87(0x31b)][_0x4cae87(0x3f4)](_0x2c1052,_0x275877);}),this[_0xee9bee(0x44e)][_0xee9bee(0x5b8)](_0x31d58f[_0xee9bee(0x51a)])[_0xee9bee(0x1cf)](_0x171184(this['dispose$']),_0x2804ad(0x10))[_0xee9bee(0x1cf)](_0x5cdcf5(_0x5cff09=>!_0x5cff09[_0xee9bee(0x5c1)]()[_0xee9bee(0x4dd)]('__')))[_0xee9bee(0x29f)](async _0x3992ed=>{const _0x310f73=_0xee9bee,_0x320737=_0x3992ed['getUnitId'](),_0x41772f=await this['_startCollaboration'](_0x320737,ce[_0x310f73(0x51a)]);this[_0x310f73(0x31b)][_0x310f73(0x3f4)](_0x320737,_0x41772f);}),_0x407b74(this[_0xee9bee(0x44e)][_0xee9bee(0x276)](_0x31d58f[_0xee9bee(0x3a2)]),this[_0xee9bee(0x44e)]['getTypeOfUnitDisposed$'](_0x31d58f[_0xee9bee(0x51a)]))[_0xee9bee(0x1cf)](_0x171184(this['dispose$']))[_0xee9bee(0x29f)](_0x1adf76=>{const _0x467675=_0xee9bee,_0x506fa5=_0x1adf76[_0x467675(0x5c1)](),_0x541fe1=this['_entities'][_0x467675(0x59a)](_0x506fa5);_0x541fe1&&(_0x541fe1['dispose'](),this[_0x467675(0x31b)]['delete'](_0x506fa5));});}async[_0x1a7f07(0x305)](_0x11c929,_0x9c73f){const _0x1626ad=_0x1a7f07,_0x4ce0dd=await this[_0x1626ad(0x46d)][_0x1626ad(0x2ad)](_0x11c929),_0x511581=this[_0x1626ad(0x4d5)][_0x1626ad(0x34e)](this['_getCtorByUniverType'](_0x9c73f),_0x11c929,_0x9c73f,_0x4ce0dd);return await _0x511581[_0x1626ad(0x3ae)](),this[_0x1626ad(0x48a)][_0x1626ad(0x265)](_0x511581),_0x511581;}[_0x1a7f07(0x317)](_0x89b4d0){const _0x236f30=_0x1a7f07;switch(_0x89b4d0){case ce[_0x236f30(0x51a)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x89b4d0);}}};it=Io([Lt(0x0,_0x5cf6ec(_0xc0c089)),Lt(0x1,_0x5cf6ec(Ae)),Lt(0x2,_0x1726a1)],it);const Gs=[_0x1a7f07(0x43c),_0x1a7f07(0x3e7),_0x1a7f07(0x528),_0x1a7f07(0x408),_0x1a7f07(0x45f),_0x1a7f07(0x3e0)];class bs extends _0x3b3e75{constructor(){const _0x364891=_0x1a7f07;super(...arguments),g(this,_0x364891(0x2c7),new Map()),g(this,_0x364891(0x561),0x0);}['assignAColorForMemberID'](_0x599dca){const _0x59026e=_0x1a7f07;if(this[_0x59026e(0x2c7)][_0x59026e(0x581)](_0x599dca))return this['_assignedColors'][_0x59026e(0x59a)](_0x599dca);const _0x3db04d=Gs[this[_0x59026e(0x561)]];return this[_0x59026e(0x561)]=(this[_0x59026e(0x561)]+0x1)%Gs['length'],this[_0x59026e(0x2c7)][_0x59026e(0x3f4)](_0x599dca,_0x3db04d),_0x3db04d;}}var Co=Object[_0x1a7f07(0x5b3)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x1a147f,_0x5add32,_0x54eb0f,_0x53df40)=>{const _0x4aeeaa=_0x1a7f07;for(var _0x185cb4=_0x53df40>0x1?void 0x0:_0x53df40?Eo(_0x5add32,_0x54eb0f):_0x5add32,_0x1f1b02=_0x1a147f[_0x4aeeaa(0x5bc)]-0x1,_0x4d0cb0;_0x1f1b02>=0x0;_0x1f1b02--)(_0x4d0cb0=_0x1a147f[_0x1f1b02])&&(_0x185cb4=(_0x53df40?_0x4d0cb0(_0x5add32,_0x54eb0f,_0x185cb4):_0x4d0cb0(_0x185cb4))||_0x185cb4);return _0x53df40&&_0x185cb4&&Co(_0x5add32,_0x54eb0f,_0x185cb4),_0x185cb4;},Oe=(_0x2da74c,_0x60c9fc)=>(_0x1148ff,_0x5f13b4)=>_0x60c9fc(_0x1148ff,_0x5f13b4,_0x2da74c);const To=0x12c,Ro=0x64;let ns=class extends _0x1cb902{constructor(_0x1314e7,_0x47eb7f,_0x2dfec5,_0x3cbb65,_0x3cca9d,_0x272878,_0xb15617,_0x2db676,_0x5b793d){const _0x23385a=_0x1a7f07;super(),g(this,'_online',!0x1),g(this,_0x23385a(0x426),!0x1),g(this,_0x23385a(0x354),new _0x2c5f3e(new Map())),g(this,_0x23385a(0x2f8),this[_0x23385a(0x354)]['asObservable']()),g(this,_0x23385a(0x510),new _0x2c5f3e([])),g(this,_0x23385a(0x4ff),this[_0x23385a(0x510)][_0x23385a(0x1cf)](_0x341150(To))),g(this,_0x23385a(0x470),_0x433f68(_0xb083db=>{const _0xf56d2b=_0x23385a,_0x271a07={'eventID':_0x4e3c97[_0xf56d2b(0x1cc)],'data':{'unitID':this[_0xf56d2b(0x5b2)],'memberID':this[_0xf56d2b(0x595)][_0xf56d2b(0x57b)](),'selection':Pi(_0xb083db)}};this[_0xf56d2b(0x595)][_0xf56d2b(0x445)](_0x271a07,this['unitID']);},Ro)),(this[_0x23385a(0x5b2)]=_0x1314e7,this[_0x23385a(0x595)]=_0x47eb7f,this[_0x23385a(0x4d5)]=_0x2dfec5,this[_0x23385a(0x44a)]=_0x3cbb65,this[_0x23385a(0x2d8)]=_0x3cca9d,this[_0x23385a(0x246)]=_0x272878,this['_transformService']=_0xb15617,this['_univerInstanceService']=_0x2db676,this[_0x23385a(0x4b3)]=_0x5b793d);}get[_0x1a7f07(0x417)](){const _0x236ad0=_0x1a7f07;return this[_0x236ad0(0x354)][_0x236ad0(0x3f6)]();}get[_0x1a7f07(0x449)](){const _0x4d0718=_0x1a7f07;return this[_0x4d0718(0x510)][_0x4d0718(0x3f6)]();}[_0x1a7f07(0x51b)](){const _0x47a2f6=_0x1a7f07;super[_0x47a2f6(0x51b)](),this[_0x47a2f6(0x354)][_0x47a2f6(0x265)](new Map()),this[_0x47a2f6(0x354)][_0x47a2f6(0x5b0)](),this[_0x47a2f6(0x510)]['next']([]),this[_0x47a2f6(0x510)]['complete']();}[_0x1a7f07(0x3ae)](){const _0x40276b=_0x1a7f07;this['_init']||(this[_0x40276b(0x426)]=!0x0,this[_0x40276b(0x595)]['sessionStatus$'][_0x40276b(0x1cf)](_0x171184(this[_0x40276b(0x22c)]))[_0x40276b(0x29f)](_0x1ed538=>{const _0x377757=_0x40276b;_0x1ed538===ve[_0x377757(0x48d)]?this[_0x377757(0x1fc)]():this['_toggleOffline']();}),this[_0x40276b(0x595)][_0x40276b(0x46f)]['pipe'](_0x171184(this[_0x40276b(0x22c)]))['subscribe'](_0x202281=>{const _0x54bb27=_0x40276b,_0x11e4fe=_0x202281[_0x54bb27(0x215)];_0x11e4fe===_0x4e3c97[_0x54bb27(0x1cc)]&&this[_0x54bb27(0x24e)](_0x202281),_0x11e4fe===_0x4e3c97['USERS_LEAVE']&&this['_onCursorDelete'](_0x202281);}),this['disposeWithMe'](this[_0x40276b(0x4b3)]['onCommandExecuted'](_0x768515=>{const _0x8990c5=_0x40276b,_0x35adba=_0x768515[_0x8990c5(0x53f)];_0x35adba!=null&&this['_online']&&_0x768515['id']===_0x1ccba4['id']&&_0x35adba[_0x8990c5(0x3c9)]===this['unitID']&&_0x35adba[_0x8990c5(0x3e4)]===!0x1&&_0x35adba[_0x8990c5(0x519)][_0x8990c5(0x5bc)]>0x0&&this[_0x8990c5(0x470)](_0x35adba[_0x8990c5(0x519)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x40276b(0x1cf)](_0x171184(this[_0x40276b(0x22c)]))[_0x40276b(0x29f)](_0x7cac25=>{const _0x3bd30d=_0x40276b;if((_0x7cac25==null?void 0x0:_0x7cac25[_0x3bd30d(0x5b2)])!==this['unitID'])return;const _0x1d25e2={'eventID':_0x4e3c97['UPDATE_CURSOR'],'data':_0x7cac25};this['_onCursorUpdate'](_0x1d25e2);}),this['disposeWithMe'](this[_0x40276b(0x4b3)][_0x40276b(0x229)](_0x1e7445=>{const _0x1d67ba=_0x40276b;if(_0x1e7445['params']==null)return;const _0x13ee0c=_0x1e7445['params'];if(_0x1e7445['id']!==_0x22550b['id']||_0x13ee0c[_0x1d67ba(0x3c9)]!==this[_0x1d67ba(0x5b2)])return;const _0x2ef967={'id':'doc.mutation.rich-text-editing','params':_0x13ee0c},_0x46ed76=this['cursorInfo'];for(const [_0x5605e9,_0x274708]of _0x46ed76){const _0x1da298={'id':_0x1d67ba(0x472),'params':{'unitId':this[_0x1d67ba(0x5b2)],'actions':null,'textRanges':_0x274708[_0x1d67ba(0x519)]}},_0x34f208=this['_transformService'][_0x1d67ba(0x23b)](_0x2ef967,_0x1da298,!0x1);if(_0x46adb2(_0x34f208))throw _0x34f208[_0x1d67ba(0x3eb)];_0x46ed76[_0x1d67ba(0x3f4)](_0x5605e9,{..._0x274708,'ranges':_0x34f208[_0x1d67ba(0x2e3)][_0x1d67ba(0x53f)][_0x1d67ba(0x53b)]});}queueMicrotask(()=>{const _0x3cf644=_0x1d67ba;this[_0x3cf644(0x354)][_0x3cf644(0x265)](_0x46ed76);});})));}['_onCursorUpdate'](_0x26ccea){const _0x3d1163=_0x1a7f07;var _0x5624d0,_0x1c8f12;const {memberID:_0x3ec445,selection:_0x25b53a}=_0x26ccea['data'],_0x56b1c7=oo(_0x25b53a),_0x48247e=(_0x1c8f12=(_0x5624d0=this[_0x3d1163(0x2d8)][_0x3d1163(0x326)](this[_0x3d1163(0x5b2)],_0x3ec445))==null?void 0x0:_0x5624d0[_0x3d1163(0x598)])!=null?_0x1c8f12:'Unknown\x20user',_0x2fd5d8={'color':this[_0x3d1163(0x44a)]['assignAColorForMemberID'](_0x3ec445),'name':_0x48247e,'ranges':_0x56b1c7},_0x3d8cec=this[_0x3d1163(0x417)];_0x3d8cec['set'](_0x3ec445,_0x2fd5d8),this[_0x3d1163(0x354)][_0x3d1163(0x265)](_0x3d8cec);}[_0x1a7f07(0x5c3)](_0x4f4bf2){const _0x59d004=_0x1a7f07,{memberID:_0x3c1f3c}=_0x4f4bf2[_0x59d004(0x32e)],_0x3fbfa9=this[_0x59d004(0x417)];_0x3fbfa9[_0x59d004(0x473)](_0x3c1f3c),this[_0x59d004(0x354)]['next'](_0x3fbfa9);}[_0x1a7f07(0x1fc)](){const _0x1afa76=_0x1a7f07;var _0x513383;if(this['_online']=!0x0,((_0x513383=this[_0x1afa76(0x44e)][_0x1afa76(0x3db)]())==null?void 0x0:_0x513383[_0x1afa76(0x5c1)]())!==this[_0x1afa76(0x5b2)])return;const _0x91fcb1=this[_0x1afa76(0x4d5)][_0x1afa76(0x59a)](_0x4ad750)[_0x1afa76(0x2f9)]();Array[_0x1afa76(0x344)](_0x91fcb1)&&_0x91fcb1[_0x1afa76(0x5bc)]>0x0&&this['_updateLocalCursor'](_0x91fcb1);}[_0x1a7f07(0x2b4)](){const _0x43a821=_0x1a7f07;this[_0x43a821(0x323)]=!0x1;}};ns=bo([Oe(0x2,_0x5cf6ec(_0xc0c089)),Oe(0x3,_0x5cf6ec(bs)),Oe(0x4,_0x5cf6ec(Ne)),Oe(0x5,_0x5cf6ec(Cs)),Oe(0x6,_0x2746ae),Oe(0x7,_0x1726a1),Oe(0x8,_0x322b66)],ns);var yo=Object[_0x1a7f07(0x5b3)],Oo=Object[_0x1a7f07(0x298)],wo=(_0x3673cc,_0x437a62,_0x3df2dd,_0x3ef79b)=>{const _0x1e5afa=_0x1a7f07;for(var _0x30b3f0=_0x3ef79b>0x1?void 0x0:_0x3ef79b?Oo(_0x437a62,_0x3df2dd):_0x437a62,_0x5161a2=_0x3673cc[_0x1e5afa(0x5bc)]-0x1,_0x492867;_0x5161a2>=0x0;_0x5161a2--)(_0x492867=_0x3673cc[_0x5161a2])&&(_0x30b3f0=(_0x3ef79b?_0x492867(_0x437a62,_0x3df2dd,_0x30b3f0):_0x492867(_0x30b3f0))||_0x30b3f0);return _0x3ef79b&&_0x30b3f0&&yo(_0x437a62,_0x3df2dd,_0x30b3f0),_0x30b3f0;},Be=(_0xdc8aa,_0x3a5643)=>(_0x564e9c,_0x4b4038)=>_0x3a5643(_0x564e9c,_0x4b4038,_0xdc8aa);const Do=0x12c,Po=0x64,Uo=()=>{let _0x3f48d8=[],_0x57e5de=!0x1;return _0x11a24b=>{const _0xc83a1=_0x54d3;_0x3f48d8[_0xc83a1(0x4b6)](_0x11a24b),_0x57e5de||(_0x57e5de=!0x0,setTimeout(()=>{const _0x2c3950=_0xc83a1;_0x3f48d8[_0x2c3950(0x547)](_0x51207b=>_0x51207b()),_0x3f48d8=[],_0x57e5de=!0x1;}));};};let rs=class extends _0x1cb902{constructor(_0x1486a2,_0x58a328,_0xc6ddb4,_0x114877,_0x5e57ae,_0x1a92b4,_0x24f8d0,_0x20b514){const _0x36c4ec=_0x1a7f07;super(),g(this,_0x36c4ec(0x323),!0x1),g(this,_0x36c4ec(0x426),!0x1),g(this,_0x36c4ec(0x354),new _0x2c5f3e(new Map())),g(this,_0x36c4ec(0x2f8),this[_0x36c4ec(0x354)][_0x36c4ec(0x456)]()),g(this,_0x36c4ec(0x510),new _0x2c5f3e([])),g(this,'roomMembers$',this[_0x36c4ec(0x510)][_0x36c4ec(0x1cf)](_0x341150(Do))),g(this,_0x36c4ec(0x470),_0x433f68((_0x2f95dd,_0x49b94f)=>{const _0x32d3a2=_0x36c4ec,_0x17a5a3={'eventID':_0x4e3c97['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x32d3a2(0x595)]['getMemberID'](),'selection':_0x5ec0d6(_0x2f95dd,_0x49b94f['range'])}};this[_0x32d3a2(0x595)][_0x32d3a2(0x445)](_0x17a5a3,this[_0x32d3a2(0x5b2)]);},Po)),(this[_0x36c4ec(0x5b2)]=_0x1486a2,this['_session']=_0x58a328,this[_0x36c4ec(0x4d5)]=_0xc6ddb4,this[_0x36c4ec(0x44a)]=_0x114877,this[_0x36c4ec(0x2d8)]=_0x5e57ae,this[_0x36c4ec(0x44e)]=_0x1a92b4,this[_0x36c4ec(0x4b3)]=_0x24f8d0,this[_0x36c4ec(0x20e)]=_0x20b514);}get[_0x1a7f07(0x417)](){const _0x207774=_0x1a7f07;return this[_0x207774(0x354)][_0x207774(0x3f6)]();}get[_0x1a7f07(0x449)](){const _0x139aa3=_0x1a7f07;return this[_0x139aa3(0x510)]['getValue']();}['dispose'](){const _0x491ed8=_0x1a7f07;super[_0x491ed8(0x51b)](),this[_0x491ed8(0x354)][_0x491ed8(0x265)](new Map()),this['_cursorInfo$'][_0x491ed8(0x5b0)](),this['_roomMembers$'][_0x491ed8(0x265)]([]),this[_0x491ed8(0x510)]['complete']();}[_0x1a7f07(0x3ae)](){const _0x1943fa=_0x1a7f07;this[_0x1943fa(0x426)]||(this['_init']=!0x0,this[_0x1943fa(0x595)][_0x1943fa(0x3aa)][_0x1943fa(0x1cf)](_0x171184(this['dispose$']))['subscribe'](_0x4c3536=>{const _0x4bfa0f=_0x1943fa;_0x4c3536===ve[_0x4bfa0f(0x48d)]?this[_0x4bfa0f(0x1fc)]():this[_0x4bfa0f(0x2b4)]();}),this[_0x1943fa(0x595)][_0x1943fa(0x46f)][_0x1943fa(0x1cf)](_0x171184(this[_0x1943fa(0x22c)]))['subscribe'](_0xc9388e=>{const _0x432dbd=_0x1943fa,_0x3136a0=_0xc9388e[_0x432dbd(0x215)];_0x3136a0===_0x4e3c97[_0x432dbd(0x1cc)]&&this[_0x432dbd(0x24e)](_0xc9388e),_0x3136a0===_0x4e3c97['USERS_LEAVE']&&this['_onCursorDelete'](_0xc9388e);}),this[_0x1943fa(0x2a8)](),this['disposeWithMe'](this[_0x1943fa(0x4b3)][_0x1943fa(0x229)](_0x4014b7=>{const _0x1bfd1a=_0x1943fa;if(this[_0x1bfd1a(0x323)]&&_0x4014b7['id']===_0x27f103['id']&&_0x4014b7[_0x1bfd1a(0x53f)][_0x1bfd1a(0x3c9)]===this[_0x1bfd1a(0x5b2)]){const _0x4ee718=_0x4014b7[_0x1bfd1a(0x53f)];this[_0x1bfd1a(0x470)](_0x4ee718[_0x1bfd1a(0x2c2)],_0x4ee718['selections'][0x0]);}})));}[_0x1a7f07(0x24e)](_0x369f66){const _0x2586b4=_0x1a7f07;var _0x30c32b,_0x1aed12;const {memberID:_0x4a2288,selection:_0x5edc05}=_0x369f66[_0x2586b4(0x32e)],{sheetName:_0x1a26f9,range:_0x574d0d}=_0x15f56b(_0x5edc05),_0x4d0234={'name':(_0x1aed12=(_0x30c32b=this[_0x2586b4(0x2d8)][_0x2586b4(0x326)](this[_0x2586b4(0x5b2)],_0x4a2288))==null?void 0x0:_0x30c32b[_0x2586b4(0x598)])!=null?_0x1aed12:'Unknown\x20user','range':this['_getMergeRange'](_0x1a26f9,_0x574d0d),'sheetID':_0x1a26f9,'color':this[_0x2586b4(0x44a)][_0x2586b4(0x583)](_0x4a2288),'selection':_0x5edc05},_0x7c62af=this['cursorInfo'];_0x7c62af[_0x2586b4(0x3f4)](_0x4a2288,_0x4d0234),this['_cursorInfo$'][_0x2586b4(0x265)](_0x7c62af);}[_0x1a7f07(0x5c3)](_0x1b026d){const _0x25c17f=_0x1a7f07,{memberID:_0x3115fd}=_0x1b026d[_0x25c17f(0x32e)],_0x3b5768=this[_0x25c17f(0x417)];_0x3b5768['delete'](_0x3115fd),this[_0x25c17f(0x354)][_0x25c17f(0x265)](_0x3b5768);}['_getMergeRange'](_0x5ced43,_0x2dd52a){const _0x5bdc57=_0x1a7f07;var _0x2b13c4,_0x35309b;const _0x32597e=(_0x35309b=(_0x2b13c4=this[_0x5bdc57(0x44e)][_0x5bdc57(0x31f)](this[_0x5bdc57(0x5b2)]))==null?void 0x0:_0x2b13c4[_0x5bdc57(0x5bd)](_0x5ced43))==null?void 0x0:_0x35309b[_0x5bdc57(0x1be)]();return(_0x32597e==null?void 0x0:_0x32597e[_0x5bdc57(0x523)](_0x35d4ba=>_0x194108[_0x5bdc57(0x1d5)](_0x35d4ba,_0x2dd52a)))||_0x2dd52a;}[_0x1a7f07(0x2a8)](){const _0x37a0bc=_0x1a7f07,_0x481eee=new _0xb0f374(),_0x5e56d6=Uo(),_0x4e77aa=()=>{const _0x184fa1=_0x54d3;_0x481eee[_0x184fa1(0x51b)]();const _0x5c7828=(_0xd5e9f4,_0x3ea97b,_0x144274,_0x9c9024)=>{const _0x535cea=_0x184fa1;let _0x30f6b0=[];switch(_0xd5e9f4['id']){case _0x300cbc[_0x535cea(0x50c)]:{_0x30f6b0=_0x39cf89(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x3c7)]:{_0x30f6b0=_0x220228(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x49d)]:{_0x30f6b0=_0x255154(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x224)]:{_0x30f6b0=_0x28d224(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x2d0)]:{_0x30f6b0=_0x499d69(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x245)]:{_0x30f6b0=_0x1bdaf3(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x1e7)]:{_0x30f6b0=_0x536a5b(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc[_0x535cea(0x217)]:{_0x30f6b0=_0x4e0669(_0xd5e9f4,_0x9c9024);break;}case _0x300cbc['RemoveRowCommandId']:{_0x30f6b0=_0x1de90e(_0xd5e9f4,_0x9c9024);break;}}const _0x4c6b3a=_0x1e843d(_0x30f6b0,_0x9c9024),_0x259fa0=this[_0x535cea(0x417)][_0x535cea(0x59a)](_0x3ea97b);if(_0x259fa0&&_0x4c6b3a){const _0x26f4cb={..._0x259fa0,'range':_0x4c6b3a};this['cursorInfo']['set'](_0x3ea97b,_0x26f4cb),_0x5e56d6(()=>{const _0x15b908=_0x535cea,_0x1dfe87=this[_0x15b908(0x20e)][_0x15b908(0x218)](_0x4c6b3a,_0x59d0f3=>(_0x1dfe87[_0x15b908(0x51b)](),_0x5c7828(_0x59d0f3,_0x3ea97b,_0x144274,_0x4c6b3a)));_0x481eee['add'](_0x1dfe87);});}return{'redos':[],'undos':[]};};this[_0x184fa1(0x417)][_0x184fa1(0x547)]((_0x21a48a,_0x56ebff)=>{const _0x49f66d=_0x184fa1,{range:_0x427300,sheetID:_0x5490cb}=_0x21a48a,_0x5bb719=this[_0x49f66d(0x20e)][_0x49f66d(0x218)](_0x427300,_0x137817=>(_0x5bb719[_0x49f66d(0x51b)](),_0x5c7828(_0x137817,_0x56ebff,_0x5490cb,_0x427300)));_0x481eee['add'](_0x5bb719);});};this[_0x37a0bc(0x4b1)](_0x1c981a(this['_cursorInfo$']['subscribe'](()=>{_0x4e77aa();})));}['_toggleOnline'](){const _0x18f1da=_0x1a7f07;var _0x22a27a,_0x1e02c0;if(this[_0x18f1da(0x323)]=!0x0,((_0x22a27a=this[_0x18f1da(0x44e)][_0x18f1da(0x3db)]())==null?void 0x0:_0x22a27a['getUnitId']())!==this[_0x18f1da(0x5b2)])return;const _0x1feb79=(_0x1e02c0=this['_injector'][_0x18f1da(0x59a)](_0x2fad1e)[_0x18f1da(0x3bf)]())==null?void 0x0:_0x1e02c0[0x0],_0x1d0ef6=this[_0x18f1da(0x44e)][_0x18f1da(0x3ad)](_0x31d58f[_0x18f1da(0x3a2)])[_0x18f1da(0x234)]();_0x1feb79&&_0x1d0ef6&&this[_0x18f1da(0x470)](_0x1d0ef6[_0x18f1da(0x554)](),_0x1feb79);}['_toggleOffline'](){const _0x1c6731=_0x1a7f07;this[_0x1c6731(0x323)]=!0x1;}};rs=wo([Be(0x2,_0x5cf6ec(_0xc0c089)),Be(0x3,_0x5cf6ec(bs)),Be(0x4,_0x5cf6ec(Ne)),Be(0x5,_0x1726a1),Be(0x6,_0x322b66),Be(0x7,_0x5cf6ec(_0x421d7d))],rs);var No=Object[_0x1a7f07(0x5b3)],Ao=Object[_0x1a7f07(0x298)],Mo=(_0x4ae1ae,_0x14ec55,_0x4af014,_0x5b95c0)=>{const _0x395291=_0x1a7f07;for(var _0x593af5=_0x5b95c0>0x1?void 0x0:_0x5b95c0?Ao(_0x14ec55,_0x4af014):_0x14ec55,_0x5b4d29=_0x4ae1ae[_0x395291(0x5bc)]-0x1,_0x507b7c;_0x5b4d29>=0x0;_0x5b4d29--)(_0x507b7c=_0x4ae1ae[_0x5b4d29])&&(_0x593af5=(_0x5b95c0?_0x507b7c(_0x14ec55,_0x4af014,_0x593af5):_0x507b7c(_0x593af5))||_0x593af5);return _0x5b95c0&&_0x593af5&&No(_0x14ec55,_0x4af014,_0x593af5),_0x593af5;},$t=(_0x110474,_0x55bd13)=>(_0x184801,_0x175ef4)=>_0x55bd13(_0x184801,_0x175ef4,_0x110474);let Ve=class extends _0x1cb902{constructor(_0x3b4a94,_0x2159ff,_0x436d14){const _0x27c642=_0x1a7f07;super(),g(this,_0x27c642(0x31b),new Map()),g(this,_0x27c642(0x48a),new _0x50574e()),(this['_univerInstanceService']=_0x3b4a94,this[_0x27c642(0x4d5)]=_0x2159ff,this[_0x27c642(0x46d)]=_0x436d14,this[_0x27c642(0x426)]());}['dispose'](){const _0x34280c=_0x1a7f07;super[_0x34280c(0x51b)](),this[_0x34280c(0x48a)][_0x34280c(0x5b0)](),this[_0x34280c(0x31b)][_0x34280c(0x547)](_0x1a5487=>_0x1a5487[_0x34280c(0x51b)]());}[_0x1a7f07(0x3be)](_0x2750f6){const _0x10dd02=_0x1a7f07;return this[_0x10dd02(0x31b)][_0x10dd02(0x581)](_0x2750f6)?this[_0x10dd02(0x31b)]['get'](_0x2750f6)[_0x10dd02(0x2f8)]:this[_0x10dd02(0x48a)][_0x10dd02(0x1cf)](_0x5d6a4a(_0x1e470b=>_0x1e470b[_0x10dd02(0x5b2)]===_0x2750f6),_0x1eab13(_0x3dc21e=>_0x3dc21e[_0x10dd02(0x2f8)]));}['_init'](){const _0x32d4db=_0x1a7f07;this[_0x32d4db(0x44e)][_0x32d4db(0x5b8)](_0x31d58f[_0x32d4db(0x3a2)])[_0x32d4db(0x1cf)](_0x171184(this['dispose$']))['subscribe'](async _0x5b2f33=>{const _0x1bd0b9=_0x32d4db,_0x5e4628=_0x5b2f33[_0x1bd0b9(0x5c1)](),_0x14681f=await this[_0x1bd0b9(0x314)](_0x5e4628);this[_0x1bd0b9(0x48a)]['next'](_0x14681f),this[_0x1bd0b9(0x31b)]['set'](_0x5e4628,_0x14681f);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x31d58f['UNIVER_DOC'])['pipe'](_0x171184(this[_0x32d4db(0x22c)]))['pipe'](_0x5d6a4a(_0x504de8=>!_0x504de8[_0x32d4db(0x5c1)]()['startsWith']('__')))[_0x32d4db(0x29f)](async _0xd413d7=>{const _0x3aadc9=_0x32d4db,_0x534ebd=_0xd413d7['getUnitId'](),_0x4b1fac=await this[_0x3aadc9(0x3fa)](_0x534ebd);this[_0x3aadc9(0x48a)][_0x3aadc9(0x265)](_0x4b1fac),this[_0x3aadc9(0x31b)][_0x3aadc9(0x3f4)](_0x534ebd,_0x4b1fac);}),_0x407b74(this[_0x32d4db(0x44e)][_0x32d4db(0x276)](_0x31d58f['UNIVER_DOC']),this[_0x32d4db(0x44e)]['getTypeOfUnitDisposed$'](_0x31d58f[_0x32d4db(0x3a2)]))[_0x32d4db(0x1cf)](_0x171184(this['dispose$']))[_0x32d4db(0x29f)](_0x26772b=>{const _0x4e0720=_0x32d4db,_0x3a016c=_0x26772b['getUnitId'](),_0x26ccd8=this['_entities'][_0x4e0720(0x59a)](_0x3a016c);_0x26ccd8&&(_0x26ccd8[_0x4e0720(0x51b)](),this[_0x4e0720(0x31b)][_0x4e0720(0x473)](_0x3a016c));});}async[_0x1a7f07(0x314)](_0x4b7669){const _0x43d10a=_0x1a7f07,_0x21d8d7=await this[_0x43d10a(0x46d)][_0x43d10a(0x2ad)](_0x4b7669),_0xb3c928=this[_0x43d10a(0x4d5)][_0x43d10a(0x34e)](rs,_0x4b7669,_0x21d8d7);return _0xb3c928[_0x43d10a(0x3ae)](),_0xb3c928;}async[_0x1a7f07(0x3fa)](_0x24c148){const _0x62c96f=_0x1a7f07,_0x3fc104=await this['_collabSessionService'][_0x62c96f(0x2ad)](_0x24c148),_0x1274d2=this[_0x62c96f(0x4d5)]['createInstance'](ns,_0x24c148,_0x3fc104);return _0x1274d2[_0x62c96f(0x3ae)](),_0x1274d2;}};Ve=Mo([$t(0x0,_0x1726a1),$t(0x1,_0x5cf6ec(_0xc0c089)),$t(0x2,_0x5cf6ec(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x88eb55,_0xfdd7d4){const _0x1c39b7=_0x1a7f07;let {radius:_0x22dc7a,width:_0x14c5a4,height:_0x461310}=_0xfdd7d4;_0x22dc7a=_0x22dc7a!=null?_0x22dc7a:0x0,_0x14c5a4=_0x14c5a4!=null?_0x14c5a4:0x1e,_0x461310=_0x461310!=null?_0x461310:0x1e;let _0x208736=0x0,_0x30ba65=0x0,_0x114adc=0x0;_0x208736=_0x30ba65=_0x114adc=Math[_0x1c39b7(0x21f)](_0x22dc7a,_0x14c5a4/0x2,_0x461310/0x2),_0x88eb55[_0x1c39b7(0x1c2)](),_0x88eb55[_0x1c39b7(0x36c)](_0x208736,0x0),_0x88eb55[_0x1c39b7(0x4c7)](_0x14c5a4-_0x30ba65,0x0),_0x88eb55[_0x1c39b7(0x4be)](_0x14c5a4-_0x30ba65,_0x30ba65,_0x30ba65,Math['PI']*0x3/0x2,0x0,!0x1),_0x88eb55[_0x1c39b7(0x4c7)](_0x14c5a4,_0x461310-_0x114adc),_0x88eb55['arc'](_0x14c5a4-_0x114adc,_0x461310-_0x114adc,_0x114adc,0x0,Math['PI']/0x2,!0x1),_0x88eb55[_0x1c39b7(0x4c7)](0x0,_0x461310),_0x88eb55[_0x1c39b7(0x4c7)](0x0,_0x208736),_0x88eb55[_0x1c39b7(0x4be)](_0x208736,_0x208736,_0x208736,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x88eb55[_0x1c39b7(0x30f)](),_0xfdd7d4['fill']&&(_0x88eb55[_0x1c39b7(0x202)](),_0x88eb55['fillStyle']=_0xfdd7d4[_0x1c39b7(0x522)],_0xfdd7d4['fillRule']===_0x1c39b7(0x54b)?_0x88eb55['fill'](_0x1c39b7(0x54b)):_0x88eb55['fill'](),_0x88eb55[_0x1c39b7(0x53e)]());}class Ot extends _0x1e2684{constructor(_0x6b41a7,_0x22889d){const _0x356c66=_0x1a7f07;super(_0x6b41a7,_0x22889d),g(this,'color'),g(this,'text'),(this[_0x356c66(0x4a3)]=_0x22889d==null?void 0x0:_0x22889d['color'],this['text']=_0x22889d==null?void 0x0:_0x22889d[_0x356c66(0x5a0)]);}static[_0x1a7f07(0x208)](_0x40d473,_0x1c97fb){const _0xf81402=_0x1a7f07,{text:_0x592d2e,color:_0x171264}=_0x1c97fb;_0x40d473[_0xf81402(0x202)](),_0x40d473[_0xf81402(0x4a7)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2a9077=_0x40d473[_0xf81402(0x509)](_0x592d2e)[_0xf81402(0x59e)],_0x41171c=Math[_0xf81402(0x21f)](_0x2a9077+0x2*Ht,Ys);Lo(_0x40d473,{'height':nt,'radius':0x4,'width':_0x41171c,'fill':_0x171264,'evented':!0x1}),_0x40d473[_0xf81402(0x238)]=_0xf81402(0x384);const _0x3fcbcd=Ht,_0x5ba38c=nt-xo,_0x44d610=Ys-0x2*Ht;if(_0x2a9077>_0x44d610){let _0x8230b='',_0x4eecf7=0x0;for(const _0x584f52 of _0x592d2e){const _0x518fab=_0x40d473[_0xf81402(0x509)](_0x584f52)[_0xf81402(0x59e)];if(_0x4eecf7+_0x518fab<=_0x44d610-_0x40d473[_0xf81402(0x509)]('...')[_0xf81402(0x59e)])_0x8230b+=_0x584f52,_0x4eecf7+=_0x518fab;else{_0x8230b+='...';break;}}_0x40d473['fillText'](_0x8230b,_0x3fcbcd,_0x5ba38c);}else _0x40d473[_0xf81402(0x1c6)](_0x592d2e,_0x3fcbcd,_0x5ba38c);_0x40d473[_0xf81402(0x53e)]();}[_0x1a7f07(0x3d4)](_0x2d0dec){const _0x332b31=_0x1a7f07;Ot[_0x332b31(0x208)](_0x2d0dec,this);}}const jt=_0x1a7f07(0x32b),$o=_0x1a7f07(0x47f),Ho=_0x1a7f07(0x5bf),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x1a7f07(0x33b);class Ks{constructor(_0xaa5480,_0x29f424,_0x30c5c9,_0x55ae6b){const _0x3296da=_0x1a7f07;g(this,_0x3296da(0x250),[]),g(this,_0x3296da(0x258),null),g(this,'_textBubble',null),g(this,_0x3296da(0x2c9),null),g(this,_0x3296da(0x526),null),g(this,'_eventUnsubscribe',null),(this[_0x3296da(0x553)]=_0xaa5480,this[_0x3296da(0x360)]=_0x29f424,this[_0x3296da(0x3c5)]=_0x30c5c9,this[_0x3296da(0x56b)]=_0x55ae6b,this['_render']());}set['_hover'](_0x352b32){const _0x4e5224=_0x1a7f07;_0x352b32?(this['_anchorDot']&&this[_0x4e5224(0x2c9)]['hide'](),this[_0x4e5224(0x4ea)]&&this[_0x4e5224(0x4ea)][_0x4e5224(0x1ed)]()):(this[_0x4e5224(0x2c9)]&&this[_0x4e5224(0x2c9)]['show'](),this[_0x4e5224(0x4ea)]&&this[_0x4e5224(0x4ea)][_0x4e5224(0x5c7)]());}[_0x1a7f07(0x51b)](){const _0x46c10a=_0x1a7f07;for(const _0x4c4077 of this[_0x46c10a(0x250)])_0x4c4077[_0x46c10a(0x51b)]();this[_0x46c10a(0x4ea)]&&this[_0x46c10a(0x4ea)][_0x46c10a(0x51b)](),this[_0x46c10a(0x2c9)]&&this[_0x46c10a(0x2c9)]['dispose'](),this[_0x46c10a(0x258)]&&this[_0x46c10a(0x258)][_0x46c10a(0x51b)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x1a7f07(0x1d8)](){const _0x10c8e2=_0x1a7f07;var _0x2efcc5;const {_docSkeleton:_0x3d4cf5,_document:_0x5b89fb}=this,{color:_0x10fed3,name:_0x3cfb35,ranges:_0x4c49eb}=this[_0x10c8e2(0x553)],_0x57c5df=_0x5b89fb[_0x10c8e2(0x386)](),{docsLeft:_0x1ce293,docsTop:_0x149f50}=_0x57c5df,_0x1f50d6=new _0x598f61(_0x57c5df,_0x3d4cf5);for(const {startOffset:_0x337659,endOffset:_0x2c7515,rangeType:_0x47847d,segmentId:_0x1d902e,segmentPage:_0x404f1f,collapsed:_0x121df9,isActive:_0x27ff24}of _0x4c49eb){const _0x1e93da=_0x3d4cf5['findNodePositionByCharIndex'](_0x337659,!0x0,_0x1d902e,_0x404f1f);let _0x556913=_0x3d4cf5[_0x10c8e2(0x380)](_0x2c7515,!0x0,_0x1d902e,_0x404f1f);if(_0x556913==null&&(_0x556913=_0x3d4cf5[_0x10c8e2(0x380)](_0x2c7515-0x1,!0x1,_0x1d902e,_0x404f1f)),_0x27ff24){const {contentBoxPointGroup:_0x32b4e1}=_0x1f50d6['getRangePointData'](_0x556913,_0x556913);if(_0x32b4e1['length']===0x0)continue;this[_0x10c8e2(0x1f0)](_0x10fed3,_0x32b4e1,_0x1ce293,_0x149f50,_0x3cfb35),this['_eventUnsubscribe']=this[_0x10c8e2(0x55a)]();}if(!_0x121df9&&_0x1e93da&&_0x556913){if(_0x47847d===_0xe3b3a7[_0x10c8e2(0x29c)]){const _0x2eb004=new _0x17e807(_0x57c5df,_0x3d4cf5),{pointGroup:_0x4779cb}=(_0x2efcc5=_0x2eb004[_0x10c8e2(0x3ef)](_0x1e93da,_0x556913))!=null?_0x2efcc5:{};if(_0x4779cb==null||_0x4779cb['length']===0x0)continue;this[_0x10c8e2(0x2a2)](_0x10fed3,_0x4779cb,_0x1ce293,_0x149f50);}else{const {borderBoxPointGroup:_0x26f549}=_0x1f50d6[_0x10c8e2(0x3ef)](_0x1e93da,_0x556913);if(_0x26f549[_0x10c8e2(0x5bc)]===0x0)continue;this[_0x10c8e2(0x37c)](_0x10fed3,_0x26f549,_0x1ce293,_0x149f50);}}}}[_0x1a7f07(0x1f0)](_0xf8a5a7,_0x366e0b,_0x4c2daf,_0x42c452,_0x2e2adf){const _0x17464b=_0x1a7f07,_0x277367=this[_0x17464b(0x3f3)](_0x366e0b),{left:_0x54fd74,top:_0x4021da,height:_0x3f7bc2}=_0x277367,_0x21ee8a=this[_0x17464b(0x425)](),_0x39503a=Bo/_0x21ee8a,_0x112775=new _0x1a00c0(jt+_0x235991[_0x17464b(0x59c)](Je),{'left':_0x54fd74+_0x4c2daf-_0x39503a,'top':_0x4021da+_0x42c452,'height':_0x3f7bc2,'width':jo,'fill':_0xf8a5a7||_0x4cc8c9(_0x48abe6[_0x17464b(0x4bc)],0x0),'strokeWidth':_0x39503a,'stroke':ko,'evented':!0x0});this[_0x17464b(0x258)]=_0x112775,this[_0x17464b(0x360)]['addObject'](_0x112775,_0x58b8cf);const _0x26deb6=new _0x1a00c0(jt+_0x235991[_0x17464b(0x59c)](Je),{'left':_0x54fd74+_0x4c2daf-_0x39503a,'top':_0x4021da+_0x42c452-Bt/0x2,'height':Bt,'width':Bt,'fill':_0xf8a5a7||_0x4cc8c9(_0x48abe6[_0x17464b(0x4bc)],0x0),'strokeWidth':0x0,'stroke':_0xf8a5a7||_0x4cc8c9(_0x48abe6[_0x17464b(0x4bc)],0x0),'evented':!0x1});this['_anchorDot']=_0x26deb6,this['_scene'][_0x17464b(0x4a5)](_0x26deb6,_0x58b8cf);const _0x3cfa71=new Ot(jt+_0x235991['generateRandomId'](Je),{'left':_0x54fd74+_0x4c2daf-_0x39503a,'top':_0x4021da+_0x42c452-nt,'text':_0x2e2adf,'color':_0xf8a5a7});this['_textBubble']=_0x3cfa71,this['_scene'][_0x17464b(0x4a5)](_0x3cfa71,_0x58b8cf),this[_0x17464b(0x271)]=!0x1;}[_0x1a7f07(0x55a)](){const _0x13b1d4=_0x1a7f07,_0x187020=this[_0x13b1d4(0x258)][_0x13b1d4(0x4c3)]['subscribeEvent'](()=>{const _0x16baf9=_0x13b1d4;this[_0x16baf9(0x271)]=!0x0;}),_0x1d712d=this[_0x13b1d4(0x258)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x2b6755=_0x13b1d4;this[_0x2b6755(0x526)]&&clearTimeout(this['_hideTimer']),this[_0x2b6755(0x526)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x274da7=_0x13b1d4;_0x187020[_0x274da7(0x4ee)](),_0x1d712d[_0x274da7(0x4ee)]();};}[_0x1a7f07(0x37c)](_0x12815a,_0x15c68a,_0x1e1cbc,_0x20683d){const _0x1bd1ea=_0x1a7f07,_0x58191c=new _0x5d5cbb(_0x12815a)[_0x1bd1ea(0x48f)](0.2)[_0x1bd1ea(0x597)](),_0x40543c=new _0x24b371($o+_0x235991['generateRandomId'](Je),{'pointsGroup':_0x15c68a,'fill':_0x58191c||_0x4cc8c9(_0x48abe6['black'],0.2),'left':_0x1e1cbc,'top':_0x20683d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1bd1ea(0x250)][_0x1bd1ea(0x4b6)](_0x40543c),this[_0x1bd1ea(0x360)][_0x1bd1ea(0x4a5)](_0x40543c,_0x58b8cf);}[_0x1a7f07(0x2a2)](_0x1d10f6,_0x3156e5,_0x1defa3,_0x242ab2){const _0x127245=_0x1a7f07,_0x5efb64=new _0x5d5cbb(_0x1d10f6)[_0x127245(0x48f)](0.2)[_0x127245(0x597)](),_0x5b57ef=new _0x24b371(Ho+_0x235991['generateRandomId'](Je),{'pointsGroup':_0x3156e5,'fill':_0x5efb64||_0x4cc8c9(_0x48abe6[_0x127245(0x4bc)],0.2),'left':_0x1defa3,'top':_0x242ab2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x127245(0x4b6)](_0x5b57ef),this[_0x127245(0x360)][_0x127245(0x4a5)](_0x5b57ef,_0x58b8cf);}[_0x1a7f07(0x3f3)](_0x46fe46){const _0x326b31=_0x46fe46[0x0],_0xef8058=_0x326b31[0x0],_0x4f568d=_0x326b31[0x2],{x:_0xb0ce19,y:_0x2f3b07}=_0xef8058,{x:_0x2cf0a8,y:_0x4e8a30}=_0x4f568d;return{'left':_0xb0ce19,'top':_0x2f3b07,'width':_0x2cf0a8-_0xb0ce19,'height':_0x4e8a30-_0x2f3b07};}['_getScale'](){const _0x2abb25=_0x1a7f07,{scaleX:_0x26c818,scaleY:_0x338203}=this['_scene'][_0x2abb25(0x230)]();return Math[_0x2abb25(0x4d1)](_0x26c818,_0x338203);}}var Wo=Object[_0x1a7f07(0x5b3)],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0x4a658a,_0x3a5db5,_0x1c0d31,_0x447eb1)=>{for(var _0x4920f3=_0x447eb1>0x1?void 0x0:_0x447eb1?Fo(_0x3a5db5,_0x1c0d31):_0x3a5db5,_0x3d58d3=_0x4a658a['length']-0x1,_0x2ed7d9;_0x3d58d3>=0x0;_0x3d58d3--)(_0x2ed7d9=_0x4a658a[_0x3d58d3])&&(_0x4920f3=(_0x447eb1?_0x2ed7d9(_0x3a5db5,_0x1c0d31,_0x4920f3):_0x2ed7d9(_0x4920f3))||_0x4920f3);return _0x447eb1&&_0x4920f3&&Wo(_0x3a5db5,_0x1c0d31,_0x4920f3),_0x4920f3;},ht=(_0x3b8b3f,_0x3aef1c)=>(_0x12ffea,_0x5d4da1)=>_0x3aef1c(_0x12ffea,_0x5d4da1,_0x3b8b3f);let os=class extends _0x1cb902{constructor(_0x5f12b5,_0x222f44,_0x12f541,_0x610fd6,_0x34f6b2){const _0x76b356=_0x1a7f07;super(),g(this,_0x76b356(0x565),[]),g(this,_0x76b356(0x47d),[]),(this['_context']=_0x5f12b5,this[_0x76b356(0x26b)]=_0x222f44,this[_0x76b356(0x2df)]=_0x12f541,this['_commandService']=_0x610fd6,this[_0x76b356(0x30c)]=_0x34f6b2,this[_0x76b356(0x426)]());}[_0x1a7f07(0x426)](){const _0x3266b0=_0x1a7f07,_0x11cc7c=this[_0x3266b0(0x4f7)][_0x3266b0(0x3c9)],_0x500079=this[_0x3266b0(0x26b)];this[_0x3266b0(0x4b1)](_0x3b40d1([this['_collabCursorController'][_0x3266b0(0x3be)](_0x11cc7c),this[_0x3266b0(0x30c)][_0x3266b0(0x4a1)]])[_0x3266b0(0x1cf)](_0x4e0bfc(([_0x14ea60,_0x3d9e3a])=>({'skeleton':_0x500079[_0x3266b0(0x40b)](),'cursors':[..._0x14ea60[_0x3266b0(0x4d7)]()]['flatMap'](_0x23debf=>({..._0x23debf,'color':_0x3d9e3a[_0x23debf[_0x3266b0(0x4a3)]]}))})))['subscribe'](_0x4e7fa3=>{const _0x1f10b2=_0x3266b0;if(this['_removeCollabCursors'](),_0x4e7fa3){const {skeleton:_0x47a68e,cursors:_0x2268ab}=_0x4e7fa3;this[_0x1f10b2(0x44c)](_0x47a68e,_0x2268ab);}})),this[_0x3266b0(0x388)](),this[_0x3266b0(0x42b)]();}[_0x1a7f07(0x44c)](_0x1ef460,_0x381437){const _0x4e54c8=_0x1a7f07,{scene:_0xde2d38,mainComponent:_0x2793a3}=this[_0x4e54c8(0x4f7)],_0x52b072=_0x381437['map'](_0x6e4220=>new Ks(_0x6e4220,_0xde2d38,_0x1ef460,_0x2793a3));this[_0x4e54c8(0x565)]=_0x52b072,this[_0x4e54c8(0x47d)]=_0x381437;}['_refreshCollabCursors'](){const _0x17f6fb=_0x1a7f07;this[_0x17f6fb(0x2cf)]();const {scene:_0x5a17fa,mainComponent:_0xa66757}=this['_context'],_0x48c0b4=this[_0x17f6fb(0x26b)][_0x17f6fb(0x40b)](),_0x1b0d07=this[_0x17f6fb(0x47d)][_0x17f6fb(0x466)](_0x47f50c=>new Ks(_0x47f50c,_0x5a17fa,_0x48c0b4,_0xa66757));this['_cursorShapes']=_0x1b0d07;}[_0x1a7f07(0x2cf)](){const _0x4f351a=_0x1a7f07;this[_0x4f351a(0x565)]['forEach'](_0x4ac894=>_0x4ac894[_0x4f351a(0x51b)]()),this[_0x4f351a(0x565)]=[];}[_0x1a7f07(0x42b)](){const _0x53ed8b=_0x1a7f07,_0x5bd88a=[_0x31e998['id']];this[_0x53ed8b(0x4b1)](this[_0x53ed8b(0x4b3)][_0x53ed8b(0x229)](_0x2eb7c5=>{const _0x1adbd9=_0x53ed8b;_0x5bd88a[_0x1adbd9(0x41e)](_0x2eb7c5['id'])&&_0x2eb7c5[_0x1adbd9(0x53f)]['unitId']===this[_0x1adbd9(0x4f7)]['unitId']&&this[_0x1adbd9(0x34c)]();}));}[_0x1a7f07(0x388)](){const _0x35de35=_0x1a7f07;this['disposeWithMe'](_0xda2401(this['_context'][_0x35de35(0x537)][_0x35de35(0x557)])['pipe'](_0x5cdcf5(_0xafd1a5=>_0xafd1a5[_0x35de35(0x23c)]===_0x2b0eae['resize']),_0x11fe20(0x10))[_0x35de35(0x29f)](()=>{const _0x5182d7=_0x35de35;this[_0x5182d7(0x34c)]();}));}};os=Vo([ht(0x1,_0x5cf6ec(_0x2a9a54)),ht(0x2,_0x5cf6ec(Ve)),ht(0x3,_0x322b66),ht(0x4,_0x5cf6ec(_0x104cf8))],os);const Go=0x1,Yo=1.5;class Ko extends _0x1e2684{constructor(_0x14ed1f,_0x45246b){const _0xea9613=_0x1a7f07;super(_0x14ed1f,_0x45246b),g(this,_0xea9613(0x301)),g(this,_0xea9613(0x452),!0x1),g(this,_0xea9613(0x260)),g(this,_0xea9613(0x282),''),g(this,_0xea9613(0x2e8),_0xea9613(0x2ba)),g(this,'_backgroundColor'),(_0x45246b&&this[_0xea9613(0x45d)](_0x45246b),this[_0xea9613(0x4c3)][_0xea9613(0x216)](()=>this[_0xea9613(0x45d)]({'hovered':!0x0})),this[_0xea9613(0x362)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x1a7f07(0x45d)](_0x3e4567){const _0x2f429b=_0x1a7f07;var _0x37c0f5,_0x25b901,_0x367530,_0x1e0031,_0x29e9c9,_0x2f89c4;this[_0x2f429b(0x301)]=(_0x37c0f5=_0x3e4567['color'])!=null?_0x37c0f5:this[_0x2f429b(0x301)],this[_0x2f429b(0x452)]=(_0x25b901=_0x3e4567[_0x2f429b(0x501)])!=null?_0x25b901:this[_0x2f429b(0x452)],this[_0x2f429b(0x260)]=(_0x367530=_0x3e4567[_0x2f429b(0x40a)])!=null?_0x367530:this[_0x2f429b(0x260)],this['_name']=(_0x1e0031=_0x3e4567[_0x2f429b(0x598)])!=null?_0x1e0031:this[_0x2f429b(0x282)],this['_labelPosition']=(_0x29e9c9=_0x3e4567[_0x2f429b(0x4c6)])!=null?_0x29e9c9:this[_0x2f429b(0x2e8)],this[_0x2f429b(0x374)]=(_0x2f89c4=_0x3e4567[_0x2f429b(0x403)])!=null?_0x2f89c4:this[_0x2f429b(0x374)],this['transformByState']({'width':_0x3e4567[_0x2f429b(0x59e)],'height':_0x3e4567['height']});}[_0x1a7f07(0x562)](_0x19af83){const _0x3f19d5=_0x1a7f07,{row:_0x35a603,column:_0x6fa539}=_0x19af83;if(_0x35a603>=this[_0x3f19d5(0x260)]['startRow']&&_0x35a603<=this[_0x3f19d5(0x260)][_0x3f19d5(0x332)]&&_0x6fa539>=this[_0x3f19d5(0x260)][_0x3f19d5(0x54a)]&&_0x6fa539<=this[_0x3f19d5(0x260)][_0x3f19d5(0x207)]){this[_0x3f19d5(0x45d)]({'hovered':!0x0});return;}this[_0x3f19d5(0x45d)]({'hovered':!0x1});}[_0x1a7f07(0x52d)](_0x4606c7){return!0x1;}[_0x1a7f07(0x3d4)](_0xf9befc){const _0x44f1de=_0x1a7f07;_0x1a00c0[_0x44f1de(0x208)](_0xf9befc,{'width':this[_0x44f1de(0x59e)],'height':this[_0x44f1de(0x4aa)],'strokeWidth':Yo,'stroke':this[_0x44f1de(0x301)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x44f1de(0x452)]&&(_0xf9befc[_0x44f1de(0x202)](),_0xf9befc[_0x44f1de(0x431)](0x1,0x0,0x0,0x1,this[_0x44f1de(0x59e)],this[_0x44f1de(0x2e8)]===_0x44f1de(0x1f5)?0x0:-nt),Ot[_0x44f1de(0x208)](_0xf9befc,{'text':this[_0x44f1de(0x282)],'color':this[_0x44f1de(0x301)]}),_0xf9befc['restore']());}}var zo=Object[_0x1a7f07(0x5b3)],qo=Object[_0x1a7f07(0x298)],Xo=(_0x3de086,_0xff31c9,_0x1e6314,_0x48fb5f)=>{const _0xbad462=_0x1a7f07;for(var _0x22b2d3=_0x48fb5f>0x1?void 0x0:_0x48fb5f?qo(_0xff31c9,_0x1e6314):_0xff31c9,_0x4d6285=_0x3de086[_0xbad462(0x5bc)]-0x1,_0x2efa6b;_0x4d6285>=0x0;_0x4d6285--)(_0x2efa6b=_0x3de086[_0x4d6285])&&(_0x22b2d3=(_0x48fb5f?_0x2efa6b(_0xff31c9,_0x1e6314,_0x22b2d3):_0x2efa6b(_0x22b2d3))||_0x22b2d3);return _0x48fb5f&&_0x22b2d3&&zo(_0xff31c9,_0x1e6314,_0x22b2d3),_0x22b2d3;},kt=(_0x18f318,_0x2f5252)=>(_0x507a09,_0x1c9444)=>_0x2f5252(_0x507a09,_0x1c9444,_0x18f318);const Jo=0x1389;let as=class extends _0x1cb902{constructor(_0x28f7be,_0x1e4fce,_0xf4fb03,_0x582a9a){const _0x32f1b9=_0x1a7f07;super(),g(this,_0x32f1b9(0x47d),new Set()),g(this,_0x32f1b9(0x474),null),(this[_0x32f1b9(0x4f7)]=_0x28f7be,this[_0x32f1b9(0x402)]=_0x1e4fce,this[_0x32f1b9(0x2df)]=_0xf4fb03,this['_themeService']=_0x582a9a,this[_0x32f1b9(0x426)]());}['_init'](){const _0xc200d9=_0x1a7f07;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xc200d9(0x1cf)](_0x2d8749(this['dispose$']),_0x288cb3(_0x4550d9=>{const _0x2c2517=_0xc200d9;if(_0x4550d9){const _0x169df3=_0x4550d9[_0x2c2517(0x21c)];return _0x3b40d1(this[_0x2c2517(0x2df)][_0x2c2517(0x3be)](this['_context'][_0x2c2517(0x3c9)]),this['_themeService'][_0x2c2517(0x4a1)])[_0x2c2517(0x1cf)](_0x4e0bfc(([_0x33c5b7,_0x1d192c])=>{const _0x23e9a8=_0x2c2517,_0x1da359=new Map();return _0x33c5b7[_0x23e9a8(0x547)]((_0x12f8fe,_0x2837dc)=>{const _0xbefdc6=_0x23e9a8;if(_0x12f8fe[_0xbefdc6(0x2e0)]===_0x169df3){const _0x43c40a={..._0x12f8fe};_0x43c40a[_0xbefdc6(0x4a3)]=_0x1d192c[_0x12f8fe['color']],_0x1da359[_0xbefdc6(0x3f4)](_0x2837dc,_0x43c40a);}}),{'skeleton':_0x4550d9,'cursors':_0x1da359};}));}return _0x37aace({'skeleton':null,'cursors':new Map()});}))[_0xc200d9(0x29f)](({skeleton:_0x21850e,cursors:_0x5eaf6c})=>{const _0x30a36f=_0xc200d9;this[_0x30a36f(0x2cf)](),_0x21850e&&this['_updateCollabCursors'](_0x21850e,_0x5eaf6c);}),this[_0xc200d9(0x402)][_0xc200d9(0x4eb)][_0xc200d9(0x29f)](_0x41497b=>{const _0x2cc970=_0xc200d9;if(_0x41497b==null)return;const {skeleton:_0x237e74}=_0x41497b,{scene:_0xa67482}=this['_context'];_0xa67482[_0x2cc970(0x5b1)][_0x2cc970(0x216)](_0x433f68(_0x3d8b4e=>{const _0x5f5c34=_0x2cc970;var _0x57384d,_0x4c9faf;const {offsetX:_0xe29a9f,offsetY:_0x4e135c}=_0x3d8b4e,{x:_0x5a139d,y:_0x2bcd0d}=_0xa67482[_0x5f5c34(0x58b)](_0x5cd961['FromArray']([_0xe29a9f,_0x4e135c])),{scaleX:_0x185921,scaleY:_0x18560e}=_0xa67482['getAncestorScale'](),_0x4365a4=_0xa67482[_0x5f5c34(0x2b2)](_0x45cb2d[_0x5f5c34(0x2ee)]),_0x5c570d=_0xa67482[_0x5f5c34(0x584)](_0x5cd961['FromArray']([_0x5a139d,_0x2bcd0d]),_0x4365a4),_0x7a1efc=_0x237e74[_0x5f5c34(0x3da)](_0xe29a9f,_0x4e135c,_0x185921,_0x18560e,_0x5c570d);((_0x57384d=this['_lastPointer'])==null?void 0x0:_0x57384d['column'])===_0x7a1efc[_0x5f5c34(0x235)]&&((_0x4c9faf=this[_0x5f5c34(0x474)])==null?void 0x0:_0x4c9faf[_0x5f5c34(0x51c)])===_0x7a1efc[_0x5f5c34(0x51c)]||this[_0x5f5c34(0x47d)][_0x5f5c34(0x547)](_0x470b5e=>{const _0x8de69=_0x5f5c34;_0x470b5e[_0x8de69(0x562)](_0x7a1efc);});},0x64));});}[_0x1a7f07(0x44c)](_0x30443e,_0x4ed80c){const _0xeb8c67=_0x1a7f07;var _0x3a2bb8;const _0x30e069=(_0x3a2bb8=this[_0xeb8c67(0x402)][_0xeb8c67(0x1eb)]())==null?void 0x0:_0x3a2bb8[_0xeb8c67(0x1cb)];if(!_0x30e069)return;const _0x102163=this[_0xeb8c67(0x35f)]();if(!_0x102163)return;this[_0xeb8c67(0x47d)][_0xeb8c67(0x547)](_0x42c73f=>{const _0x35a5a5=_0xeb8c67;_0x42c73f[_0x35a5a5(0x4a8)]();});const {scene:_0x225c9a}=_0x102163,_0x58521d=Zo(Array['from'](_0x4ed80c[_0xeb8c67(0x4d7)]()))['map'](_0x3d19ec=>{const _0x3fa4a3=_0xeb8c67,{color:_0x56e49c,range:_0x2a3e2a,name:_0x52c81b,selection:_0x3c9cd0,sheetID:_0x6f76e4}=_0x3d19ec,{startColumn:_0x9902b0,startRow:_0x3f31e3,endColumn:_0x5c694b,endRow:_0x195600}=_0x2a3e2a,_0x2e7ab1=_0x3aa7ff(_0x3f31e3,_0x9902b0,_0x225c9a,_0x30e069),_0x147bd4=_0x3aa7ff(_0x195600,_0x5c694b,_0x225c9a,_0x30e069),{columnHeaderHeightAndMarginTop:_0x2c0ed6}=_0x30e069,{startX:_0x4dbb20,startY:_0x908782}=_0x2e7ab1,{endX:_0x262aae,endY:_0x4b6f99}=_0x147bd4,_0x524d6e=_0x262aae-_0x4dbb20,_0x379d24=_0x4b6f99-_0x908782,_0x508ffc={'labelPosition':_0x908782-_0x2c0ed6>=nt?_0x3fa4a3(0x2ba):_0x3fa4a3(0x1f5),'sheetID':_0x6f76e4,'range':_0x2a3e2a,'color':_0x56e49c,'name':_0x52c81b,'selection':_0x3c9cd0,'left':_0x4dbb20,'top':_0x908782,'width':_0x524d6e,'height':_0x379d24,'evented':!0x1,'zIndex':Jo};return new Ko(_0x52c81b,_0x508ffc);});_0x225c9a['addObjects'](_0x58521d,Go),this[_0xeb8c67(0x47d)]=new Set(_0x58521d);}[_0x1a7f07(0x2cf)](){const _0x51d5cc=_0x1a7f07;var _0x26e731;(_0x26e731=this[_0x51d5cc(0x47d)])==null||_0x26e731[_0x51d5cc(0x547)](_0x89ff1d=>_0x89ff1d['dispose']());}[_0x1a7f07(0x35f)](){const _0x9ecd40=_0x1a7f07;return _0x136415(this[_0x9ecd40(0x4f7)]['unit'],this['_context']);}};as=Xo([kt(0x1,_0x5cf6ec(_0x419472)),kt(0x2,_0x5cf6ec(Ve)),kt(0x3,_0x5cf6ec(_0x104cf8))],as);function Zo(_0x4f49a1){const _0x597a34=_0x1a7f07,_0x4ca327=new Map();return _0x4f49a1[_0x597a34(0x547)](_0x3df803=>{const _0x1e3093=_0x597a34;if(_0x4ca327[_0x1e3093(0x581)](_0x3df803['selection'])){const _0x2f835f=_0x4ca327['get'](_0x3df803[_0x1e3093(0x4b8)]);_0x2f835f[_0x1e3093(0x598)]+=',\x20'+_0x3df803[_0x1e3093(0x598)];}else _0x4ca327['set'](_0x3df803[_0x1e3093(0x4b8)],_0x3df803);}),Array['from'](_0x4ca327['values']());}var ee=function(){const _0x599f6d=_0x1a7f07;return ee=Object[_0x599f6d(0x423)]||function(_0x21103e){const _0x546a35=_0x599f6d;for(var _0x57d981,_0x179b3d=0x1,_0x537ade=arguments[_0x546a35(0x5bc)];_0x179b3d<_0x537ade;_0x179b3d++){_0x57d981=arguments[_0x179b3d];for(var _0x2b2c81 in _0x57d981)Object['prototype'][_0x546a35(0x454)][_0x546a35(0x4bb)](_0x57d981,_0x2b2c81)&&(_0x21103e[_0x2b2c81]=_0x57d981[_0x2b2c81]);}return _0x21103e;},ee[_0x599f6d(0x49a)](this,arguments);},Qo=function(_0x329cdb,_0xc58b13){const _0x338fac=_0x1a7f07;var _0x27b306={};for(var _0x592196 in _0x329cdb)Object[_0x338fac(0x414)]['hasOwnProperty']['call'](_0x329cdb,_0x592196)&&_0xc58b13[_0x338fac(0x244)](_0x592196)<0x0&&(_0x27b306[_0x592196]=_0x329cdb[_0x592196]);if(_0x329cdb!=null&&typeof Object[_0x338fac(0x4cd)]==_0x338fac(0x494)){for(var _0x932c3b=0x0,_0x592196=Object[_0x338fac(0x4cd)](_0x329cdb);_0x932c3b<_0x592196['length'];_0x932c3b++)_0xc58b13[_0x338fac(0x244)](_0x592196[_0x932c3b])<0x0&&Object[_0x338fac(0x414)][_0x338fac(0x4fe)][_0x338fac(0x4bb)](_0x329cdb,_0x592196[_0x932c3b])&&(_0x27b306[_0x592196[_0x932c3b]]=_0x329cdb[_0x592196[_0x932c3b]]);}return _0x27b306;},Ts=_0x1e7b82(function(_0x281840,_0x2cdf1b){const _0x335b5e=_0x1a7f07;var _0x523872=_0x281840[_0x335b5e(0x2ea)],_0x43fedd=_0x281840['id'],_0xd3e7e3=_0x281840[_0x335b5e(0x502)],_0x36d7c8=_0x281840['extend'],_0x5c6f2c=Qo(_0x281840,[_0x335b5e(0x2ea),'id',_0x335b5e(0x502),_0x335b5e(0x38a)]),_0x32919c=_0x335b5e(0x2af)[_0x335b5e(0x451)](_0x43fedd,'\x20')[_0x335b5e(0x451)](_0xd3e7e3||'')[_0x335b5e(0x1bd)](),_0x228ef1=_0x1edd60('_'[_0x335b5e(0x451)](sa()));return Mi(_0x523872,''['concat'](_0x43fedd),{'defIds':_0x523872[_0x335b5e(0x550)],'idSuffix':_0x228ef1['current']},ee({'ref':_0x2cdf1b,'className':_0x32919c},_0x5c6f2c),_0x36d7c8);});function Mi(_0x568971,_0x22a25d,_0x193ec5,_0x447612,_0x107acb){const _0x59eceb=_0x1a7f07;return _0x27ae54(_0x568971[_0x59eceb(0x468)],ee(ee({'key':_0x22a25d},ea(_0x568971,_0x193ec5,_0x107acb)),_0x447612),(ta(_0x568971,_0x193ec5)[_0x59eceb(0x2ff)]||[])[_0x59eceb(0x466)](function(_0x37995b,_0x267c0c){const _0x5452ac=_0x59eceb;return Mi(_0x37995b,''['concat'](_0x22a25d,'-')[_0x5452ac(0x451)](_0x568971['tag'],'-')[_0x5452ac(0x451)](_0x267c0c),_0x193ec5,void 0x0,_0x107acb);}));}function ea(_0x58d74c,_0x2095d2,_0x426ae1){const _0x15c38e=_0x1a7f07;var _0x52d753=ee({},_0x58d74c[_0x15c38e(0x295)]);_0x426ae1!=null&&_0x426ae1[_0x15c38e(0x37e)]&&_0x52d753['fill']===_0x15c38e(0x37e)&&(_0x52d753['fill']=_0x426ae1[_0x15c38e(0x37e)]);var _0x4846a7=_0x2095d2[_0x15c38e(0x550)];return!_0x4846a7||_0x4846a7[_0x15c38e(0x5bc)]===0x0||(_0x58d74c['tag']==='use'&&_0x52d753['xlink:href']&&(_0x52d753['xlink:href']=_0x52d753['xlink:href']+_0x2095d2[_0x15c38e(0x25d)]),Object[_0x15c38e(0x555)](_0x52d753)[_0x15c38e(0x547)](function(_0x32922e){const _0x282509=_0x15c38e;var _0x41d69e=_0x32922e[0x0],_0x5131c9=_0x32922e[0x1];typeof _0x5131c9==_0x282509(0x3b1)&&(_0x52d753[_0x41d69e]=_0x5131c9[_0x282509(0x5ab)](/url\(#(.*)\)/,_0x282509(0x393)[_0x282509(0x451)](_0x2095d2[_0x282509(0x25d)],')')));})),_0x52d753;}function ta(_0x200e71,_0x4bdf02){const _0x31dda2=_0x1a7f07;var _0x4c14ad,_0x36a232=_0x4bdf02[_0x31dda2(0x550)];return!_0x36a232||_0x36a232['length']===0x0?_0x200e71:_0x200e71[_0x31dda2(0x468)]===_0x31dda2(0x57f)&&(!((_0x4c14ad=_0x200e71['children'])===null||_0x4c14ad===void 0x0)&&_0x4c14ad[_0x31dda2(0x5bc)])?ee(ee({},_0x200e71),{'children':_0x200e71[_0x31dda2(0x2ff)][_0x31dda2(0x466)](function(_0x3b5beb){const _0x3b5832=_0x31dda2;return typeof _0x3b5beb[_0x3b5832(0x295)]['id']=='string'&&_0x36a232&&_0x36a232[_0x3b5832(0x244)](_0x3b5beb[_0x3b5832(0x295)]['id'])>-0x1?ee(ee({},_0x3b5beb),{'attrs':ee(ee({},_0x3b5beb[_0x3b5832(0x295)]),{'id':_0x3b5beb[_0x3b5832(0x295)]['id']+_0x4bdf02[_0x3b5832(0x25d)]})}):_0x3b5beb;})}):_0x200e71;}function sa(){const _0x395f6f=_0x1a7f07;return Math[_0x395f6f(0x463)]()[_0x395f6f(0x297)](0x24)[_0x395f6f(0x2b9)](0x2,0x8);}Ts['displayName']=_0x1a7f07(0x259);var ia={'tag':'svg','attrs':{'fill':_0x1a7f07(0x35e),'viewBox':_0x1a7f07(0x4de),'width':_0x1a7f07(0x453),'height':_0x1a7f07(0x453)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1a7f07(0x43d),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1a7f07(0x57f),'attrs':{},'children':[{'tag':_0x1a7f07(0x3ba),'attrs':{'id':_0x1a7f07(0x3cc)},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'fill':_0x1a7f07(0x2da),'d':_0x1a7f07(0x26c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},xi=_0x1e7b82(function(_0x51ed87,_0x42888f){const _0x1feb20=_0x1a7f07;return _0x27ae54(Ts,Object[_0x1feb20(0x423)]({},_0x51ed87,{'id':'off-line-single','ref':_0x42888f,'icon':ia}));});xi[_0x1a7f07(0x48c)]='OffLineSingle';var na={'tag':_0x1a7f07(0x3f1),'attrs':{'fill':_0x1a7f07(0x35e),'viewBox':_0x1a7f07(0x41c),'width':_0x1a7f07(0x453),'height':_0x1a7f07(0x453)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a7f07(0x57d)},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'stroke':_0x1a7f07(0x532),'d':_0x1a7f07(0x3fe),'strokeLinecap':'round','strokeLinejoin':_0x1a7f07(0x43d),'strokeWidth':1.2}}]},{'tag':_0x1a7f07(0x57f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1a7f07(0x269)},'children':[{'tag':_0x1a7f07(0x4c5),'attrs':{'fill':_0x1a7f07(0x2da),'d':_0x1a7f07(0x26c),'transform':_0x1a7f07(0x5a7)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=_0x1e7b82(function(_0x16fc5b,_0xcb9882){const _0x8d7d36=_0x1a7f07;return _0x27ae54(Ts,Object[_0x8d7d36(0x423)]({},_0x16fc5b,{'id':_0x8d7d36(0x400),'ref':_0xcb9882,'icon':na}));});Li[_0x1a7f07(0x48c)]=_0x1a7f07(0x589);function $i(_0x2069a2){const _0x2cae09=_0x1a7f07;var _0x149996,_0x200dfb,_0x4cdf90='';if(typeof _0x2069a2=='string'||typeof _0x2069a2==_0x2cae09(0x4d2))_0x4cdf90+=_0x2069a2;else{if(typeof _0x2069a2==_0x2cae09(0x46a)){if(Array[_0x2cae09(0x344)](_0x2069a2)){var _0x1795fa=_0x2069a2[_0x2cae09(0x5bc)];for(_0x149996=0x0;_0x149996<_0x1795fa;_0x149996++)_0x2069a2[_0x149996]&&(_0x200dfb=$i(_0x2069a2[_0x149996]))&&(_0x4cdf90&&(_0x4cdf90+='\x20'),_0x4cdf90+=_0x200dfb);}else{for(_0x200dfb in _0x2069a2)_0x2069a2[_0x200dfb]&&(_0x4cdf90&&(_0x4cdf90+='\x20'),_0x4cdf90+=_0x200dfb);}}}return _0x4cdf90;}function ra(){const _0x3b43ea=_0x1a7f07;for(var _0x864686,_0x4c0e9b,_0x565e4f=0x0,_0x852fbd='',_0x511d7e=arguments[_0x3b43ea(0x5bc)];_0x565e4f<_0x511d7e;_0x565e4f++)(_0x864686=arguments[_0x565e4f])&&(_0x4c0e9b=$i(_0x864686))&&(_0x852fbd&&(_0x852fbd+='\x20'),_0x852fbd+=_0x4c0e9b);return _0x852fbd;}const oa='univer-online-status-icon',aa='univer-online-status-title',ca=_0x1a7f07(0x1f4),ha=_0x1a7f07(0x34b),la=_0x1a7f07(0x23a),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x12065a){const _0x3f0550=_0x1a7f07;switch(_0x12065a){case J[_0x3f0550(0x31d)]:return _0x3f0550(0x512);case J[_0x3f0550(0x5ac)]:return'collabStatus.conflict';case J['FETCH_MISS']:return _0x3f0550(0x42f);case J[_0x3f0550(0x575)]:return _0x3f0550(0x593);case J[_0x3f0550(0x23d)]:case J[_0x3f0550(0x2c5)]:return _0x3f0550(0x58d);case J[_0x3f0550(0x4f9)]:case J[_0x3f0550(0x1ca)]:return _0x3f0550(0x573);}}function ua(_0x2c79ed){const _0x51899a=_0x1a7f07,{status$:_0x56b618}=_0x2c79ed,_0x1d7a83=_0x5841b1(_0x56b618,J[_0x51899a(0x575)]),_0x1fcf65=_0x3e43a5(_0x51f47a),_0x1cf081=_0x3e43a5(Ae),_0x10e56f=_0x1d7a83!==J[_0x51899a(0x31d)],_0x3c3c22=_0x1fcf65['t'](_a(_0x1d7a83)),_0x4bd7e8=ra(Ze[_0x51899a(0x592)],{[Ze[_0x51899a(0x294)]]:_0x10e56f,[Ze[_0x51899a(0x3b0)]]:!_0x10e56f}),_0x19e242=_0x10e56f?_0x2b1679[_0x51899a(0x3d1)](Li,null):_0x2b1679['createElement'](xi,null),_0x5eb979=_0xfaf194(()=>{const _0x4729b1=_0x51899a;_0x10e56f||_0x1cf081[_0x4729b1(0x32a)]();},[_0x10e56f,_0x1cf081]);function _0x4fcf36(){const _0x5af703=_0x51899a;return _0x2b1679['createElement']('div',{'className':_0x4bd7e8,'onClick':_0x5eb979},_0x2b1679['createElement'](_0x5af703(0x227),{'className':Ze[_0x5af703(0x342)]},_0x19e242),_0x2b1679[_0x5af703(0x3d1)]('div',{'className':Ze[_0x5af703(0x429)]},_0x3c3c22));}return _0x10e56f?_0x4fcf36():_0x2b1679[_0x51899a(0x3d1)](_0x52d371,{'title':_0x1fcf65['t'](_0x51899a(0x292))},_0x4fcf36());}var da=Object['defineProperty'],fa=Object[_0x1a7f07(0x298)],va=(_0x101a5d,_0x599fca,_0x5c9e2d,_0x1ce796)=>{const _0x310068=_0x1a7f07;for(var _0xefba73=_0x1ce796>0x1?void 0x0:_0x1ce796?fa(_0x599fca,_0x5c9e2d):_0x599fca,_0xd70f04=_0x101a5d[_0x310068(0x5bc)]-0x1,_0x336f8a;_0xd70f04>=0x0;_0xd70f04--)(_0x336f8a=_0x101a5d[_0xd70f04])&&(_0xefba73=(_0x1ce796?_0x336f8a(_0x599fca,_0x5c9e2d,_0xefba73):_0x336f8a(_0xefba73))||_0xefba73);return _0x1ce796&&_0xefba73&&da(_0x599fca,_0x5c9e2d,_0xefba73),_0xefba73;},lt=(_0x36e219,_0xa97d06)=>(_0x5639c4,_0x33fe44)=>_0xa97d06(_0x5639c4,_0x33fe44,_0x36e219);let It=class extends _0x3b3e75{constructor(_0x183d41,_0x2beb58,_0x2b6f3a,_0x3a29a9){const _0x29c9c5=_0x1a7f07;super(),g(this,'_status$',new _0x2c5f3e(J[_0x29c9c5(0x575)])),(this[_0x29c9c5(0x44e)]=_0x183d41,this[_0x29c9c5(0x489)]=_0x2beb58,this[_0x29c9c5(0x4d5)]=_0x2b6f3a,this[_0x29c9c5(0x424)]=_0x3a29a9,this[_0x29c9c5(0x341)](),this[_0x29c9c5(0x2b8)]());}[_0x1a7f07(0x2b8)](){const _0x35f688=_0x1a7f07;this[_0x35f688(0x4b1)](this['_univerInstanceService'][_0x35f688(0x1f3)][_0x35f688(0x1cf)](_0x1eab13(()=>{const _0x2dfacf=_0x35f688,_0x23a880=this[_0x2dfacf(0x44e)][_0x2dfacf(0x3db)]();return _0x23a880?this[_0x2dfacf(0x424)][_0x2dfacf(0x46c)](_0x23a880[_0x2dfacf(0x5c1)]()):_0x37aace(null);}),_0x1eab13(_0x1934f2=>_0x1934f2?_0x1934f2[_0x35f688(0x1c5)]:_0x37aace(J[_0x35f688(0x575)])))['subscribe'](_0x609dd1=>{const _0x2a306b=_0x35f688;this[_0x2a306b(0x1fd)][_0x2a306b(0x265)](_0x609dd1);}));}[_0x1a7f07(0x341)](){const _0xe2e203=_0x1a7f07;this[_0xe2e203(0x4b1)](this[_0xe2e203(0x489)][_0xe2e203(0x270)](_0x57e1bb['HEADER_MENU'],()=>_0x2bfd16(ma({'status$':this[_0xe2e203(0x1fd)]['asObservable']()}),this[_0xe2e203(0x4d5)])));}};It=va([lt(0x0,_0x1726a1),lt(0x1,_0x1efadf),lt(0x2,_0x5cf6ec(_0xc0c089)),lt(0x3,_0x5cf6ec(it))],It);function ma(_0x2013de){const {status$:_0x395cd7}=_0x2013de;return function(){return _0x2b1679['createElement'](ua,{'status$':_0x395cd7});};}const Hi=_0x2707b7(_0x1a7f07(0x25b));var pa=Object[_0x1a7f07(0x5b3)],ga=Object[_0x1a7f07(0x298)],Sa=(_0x336f81,_0x49b7be,_0x462da7,_0x41384b)=>{const _0x56703b=_0x1a7f07;for(var _0x2be3a7=_0x41384b>0x1?void 0x0:_0x41384b?ga(_0x49b7be,_0x462da7):_0x49b7be,_0x3e0105=_0x336f81[_0x56703b(0x5bc)]-0x1,_0x572ea5;_0x3e0105>=0x0;_0x3e0105--)(_0x572ea5=_0x336f81[_0x3e0105])&&(_0x2be3a7=(_0x41384b?_0x572ea5(_0x49b7be,_0x462da7,_0x2be3a7):_0x572ea5(_0x2be3a7))||_0x2be3a7);return _0x41384b&&_0x2be3a7&&pa(_0x49b7be,_0x462da7,_0x2be3a7),_0x2be3a7;},ke=(_0x580f16,_0x387c05)=>(_0x5bc42b,_0x1d1abc)=>_0x387c05(_0x5bc42b,_0x1d1abc,_0x580f16);let Ct=class extends _0x1cb902{constructor(_0x46e658,_0x23bdc4,_0x1b6934,_0x27d487,_0x236644,_0x71c363){const _0xe4ff8c=_0x1a7f07;super(),this[_0xe4ff8c(0x591)]=_0x46e658,this[_0xe4ff8c(0x345)]=_0x23bdc4,this[_0xe4ff8c(0x4b3)]=_0x1b6934,this[_0xe4ff8c(0x493)]=_0x27d487,this[_0xe4ff8c(0x248)]=_0x236644,_0x71c363?_0x71c363==null||_0x71c363[_0xe4ff8c(0x39b)]()[_0xe4ff8c(0x44f)](()=>this[_0xe4ff8c(0x426)]()):(this['_logService'][_0xe4ff8c(0x4b5)](_0xe4ff8c(0x541),_0xe4ff8c(0x3b9)),this[_0xe4ff8c(0x426)]());}async[_0x1a7f07(0x426)](){const _0x2f4d02=_0x1a7f07,_0x550dcc=this[_0x2f4d02(0x591)]['getParam'](_0x2f4d02(0x497)),_0x180f5c=this[_0x2f4d02(0x591)][_0x2f4d02(0x23e)]('type');if(!_0x550dcc||!_0x180f5c){this[_0x2f4d02(0x345)][_0x2f4d02(0x4b5)](_0x2f4d02(0x541),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x180f5c)){case ce[_0x2f4d02(0x3a2)]:{const _0x29efaf=await this[_0x2f4d02(0x558)](_0x550dcc);this[_0x2f4d02(0x324)](_0x29efaf);break;}case ce[_0x2f4d02(0x51a)]:{await this[_0x2f4d02(0x321)](_0x550dcc);break;}default:{this[_0x2f4d02(0x345)][_0x2f4d02(0x3eb)](_0x2f4d02(0x541),_0x2f4d02(0x375));break;}}}async[_0x1a7f07(0x324)](_0x574fa2){const _0x33a389=_0x1a7f07;await this['_updateSubUnitFromURLParams'](_0x574fa2),_0x574fa2['activeSheet$'][_0x33a389(0x1cf)](_0x171184(this[_0x33a389(0x22c)]))['subscribe'](_0x490669=>{const _0x431230=_0x33a389;_0x490669&&this[_0x431230(0x302)](_0x490669);}),this[_0x33a389(0x591)][_0x33a389(0x5c9)][_0x33a389(0x1cf)](_0x171184(this[_0x33a389(0x22c)]))[_0x33a389(0x29f)](()=>this[_0x33a389(0x236)](_0x574fa2));}['_updateURLWithCurrentState'](_0x3ac7e2,_0x2ad21f=!0x1){const _0x50f6ba=_0x1a7f07,_0x2b1ef6=this[_0x50f6ba(0x591)][_0x50f6ba(0x23e)](_0x50f6ba(0x2b7));_0x3ac7e2[_0x50f6ba(0x554)]()!==_0x2b1ef6&&this[_0x50f6ba(0x591)][_0x50f6ba(0x5a5)](_0x50f6ba(0x2b7),_0x3ac7e2[_0x50f6ba(0x554)](),_0x2ad21f);}async[_0x1a7f07(0x236)](_0x3b73d9){const _0x311f43=_0x1a7f07;var _0x40d930;const _0x31a989=this['_urlService'][_0x311f43(0x23e)](_0x311f43(0x2b7));if(!_0x31a989||!_0x3b73d9[_0x311f43(0x5bd)](_0x31a989)){const _0x23685f=_0x3b73d9['getUnhiddenWorksheets']()[0x0],_0x287445=_0x3b73d9[_0x311f43(0x5bd)](_0x23685f);if(!_0x287445)return;this[_0x311f43(0x302)](_0x287445,!0x0),await this[_0x311f43(0x4b3)]['executeCommand'](_0x13b74d['id'],{'unitId':_0x3b73d9[_0x311f43(0x5c1)](),'subUnitId':_0x23685f});return;}((_0x40d930=_0x3b73d9[_0x311f43(0x234)]())==null?void 0x0:_0x40d930['getSheetId']())!==_0x31a989&&await this[_0x311f43(0x4b3)][_0x311f43(0x26f)](_0x13b74d['id'],{'unitId':_0x3b73d9[_0x311f43(0x5c1)](),'subUnitId':_0x31a989});}async[_0x1a7f07(0x558)](_0xb2774e){const _0x2ce54a=_0x1a7f07;let _0x1a01ab=0x0;const _0x32c53f=await this['_localCacheService'][_0x2ce54a(0x394)](_0xb2774e);return _0x32c53f&&(_0x32c53f[_0x2ce54a(0x531)]||_0x32c53f[_0x2ce54a(0x2bb)]['length']!==0x0)&&(_0x1a01ab=_0x32c53f['rev']),_0x1a01ab===0x0&&this['_logService'][_0x2ce54a(0x4b5)](_0x2ce54a(0x541),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2ce54a(0x248)]['loadSheet'](_0xb2774e,_0x1a01ab);}async[_0x1a7f07(0x321)](_0x52089d){const _0x4d3885=_0x1a7f07;let _0x15679e=0x0;const _0x1dceb5=await this[_0x4d3885(0x493)][_0x4d3885(0x394)](_0x52089d);return _0x1dceb5&&(_0x1dceb5['awaitingChangeset']||_0x1dceb5['mutations']['length']!==0x0)&&(_0x15679e=_0x1dceb5[_0x4d3885(0x433)]),_0x15679e===0x0&&this[_0x4d3885(0x345)][_0x4d3885(0x4b5)](_0x4d3885(0x541),_0x4d3885(0x4a6)),this['_snapshotService'][_0x4d3885(0x2ab)](_0x52089d,_0x15679e);}};function _0x5961(){const _0x57d4fe=['getOwnPropertySymbols','hidden','refreshPermission','getUnit','max','number','_listenToOnlineEvent','_getSnapshotAPIPrefix','_injector','unitId\x20is\x20not\x20found','values','target','_onConnectionFailed','_transformRemoteChangesetByIMECache','pending','append','startsWith','0\x200\x2016\x2016','_mode','_parse','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','words','BlockCipher','_changesetSessionId','_sendHeartbeat','_keyPriorReset','CHANGESET_REJ','fromCollab','updatePermissionObjEvent','_textBubble','currentSkeleton$','_socketService','close','unsubscribe','disableLocalCache','_registerDependencies','UNIVER_UNKNOWN','image/bmp','_sendHeartbeatTimer','COMMENT_UPDATE','Univer','_clearUndo','_context','_notificationService','SYNCED','pauseCollaboration','/resources','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/object/','propertyIsEnumerable','roomMembers$','_docSyncEditingCollabCursorService','hovered','className','_tryReconnect','_retryConnectingTimer','DEFAULT_FILE_NAME','transformIMECache','onStateChange','[OfflineState]:\x20received\x20rejection.','measureText','_scheduleCollaborationTimeoutTimer','setCurrentUser','DeleteRangeMoveLeftCommandId','_createInitialState','image/jpeg','FETCH_MISS','_roomMembers$','appendMutation','collabStatus.offline','getUnitStatus$','close$','slice','sendChangesetTimeout','Pkcs7','retryConnectingInterval','ranges','UNIVER_DOC','dispose','row','location','_initEventListeners','_unitID','_key','UnitSnapshot','fill','find','Hasher','lib','_hideTimer','LOGIN_URL_KEY','verdancy600','_sendingTimer','registerHTTPInterceptor','msCrypto','stringify','triggerDblclick','state$','/fetchmissing?from=','removeMember','awaitingChangeset','currentColor','_nDataBytes','unload','_retryCount','_submitChangeset','engine','_handleEvent','_sessions','socket$','textRanges','userID','c2Prime','restore','params','fetch_missing','[DataLoaderController]','UNAUTHENTICATED','_handler','_http','_scheduleClearOtherTimer','failed\x20to\x20apply\x20missed\x20changesets!','forEach','SNAPSHOT_INVALID_SNAPSHOT','onSendChangeset','startColumn','evenodd','USERS_LEAVE','conflict','_awaitingChangeset','localeService','defIds','objects','LICENSE_DISTRO_REJECTED','_cursor','getSheetId','entries','transformStack\x20failed!','onTransformChange$','_loadSheet','_collaborationPaused','_handleHover','5407824zmcyoo','[CollaborationState]:\x20apply\x20error!','equals','charCodeAt','_onRemoteRejected','SerializableCipher','_colorIndex','onMouseMove','json','_transformRemoteChangesetByStateCache','_cursorShapes','SHA1','setWaitCount','compute','_transformUndoredo','NOT_FOUND','_document','HMAC','_lockTransition','[FetchMissState]','updateOfflineData','method','_getCurrentRevision','Utf8','collabStatus.synced','_heartbeatTimer','NOT_COLLAB','UPDATE_PERMISSION_OBJ','reqId','collaboration-client.offline-data-not-saved','transformChangesets','reject','getMemberID','AUTHZ_URL_KEY','url(#on-line-single_clip0_910_349)','NoPadding','defs','enableAuthServer','has','_getDownloadEndpointURL','assignAColorForMemberID','getVpScrollXYInfoByPosToVp','SHOULD_CLOSE_CONN','create','_docTransformSelectionsService','{fileID}','OnLineSingle','createDecryptor','getRelativeToViewportCoord','_disableEditing','collabStatus.syncing','FAIL','_queuedRemoteChangesets','charAt','_urlService','onlineStatus','collabStatus.notCollab','_initRequestHeader','_session','/-/object/list','toRgbString','name','objectActions','get','LICENSE_MAX_UNITS_EXCEEDED','generateRandomId','_joinRoom','width','setActiveRange','text','_getSignURL','incrementRevOfUnit','image/jpg','keySize','setParam','[PendingState]:\x20unhandled\x20univer\x20type:\x20','translate(.97)','image/gif','[OfflineState]:\x20received\x20changeset.','COMPRESS_MUTATION_APPLY','replace','CONFLICT','auth.needGotoLoginAlert','LIVESHARE_FETCH_OPERATIONS','encryptBlock','complete','onPointerMove$','unitID','defineProperty','_getSendChangesetTimeout','StreamCipher','_initDependencies','editing\x20status\x20changed\x20to','getTypeOfUnitAdded$','MUTATION','_startTelemetryCollaborationNewChangeset','YUUMI_URL_COL_OUT_OF_RANGE','length','getSheetBySheetId','selections','collab-rect-range-','_disabled','getUnitId','_doReset','_onCursorDelete','joinEvent','_createHandler','history','hide','_createHmacHelper','urlChange$','MSG_FOR_ERROR','univer-pro.collaboration-client.single-active-unit-service','collaboration.closeRoom','_clearHeartbeatTimer','kdf','all','trim','getMergeData','getConfig','UNDEFINED','createCollaborator','beginPath','_removeClearOtherTimer','_telemetryInfo','status$','fillText','_data','m1Prime','iterations','PENDING','skeleton','UPDATE_CURSOR','_onRecvEvent','_append','pipe','isActive','_getUploadFileURL','LICENSE_EXPORT_SIZE_EXCEEDED','removeParam','save\x20fail\x20reason\x20is\x20','contains','synced','BASE64','_render','reverse','searchParams','syncEditingCollabCursor','pad','_iKey','getRoom','INGEST','_config','HELLO','_renderManagerService','LIVESHARE_TERMINATE','\x20-\x20','visibilityState','sin','MoveRangeCommandId','fromCharCode','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_createSocket','getCurrent','_roomMembers','show','COLLAB_WEB_SOCKET_URL','x-univer-host','_drawAnchor','telemetry\x20info\x20is\x20not\x20initialized','randomBytes','focused$','univer-online-status','bottom','_onJoinRoomEvent','toggleOffline','_transformHistoryAndStateStack','COLLAB_SUBMIT_CHANGESET_URL','collabWebSocketUrl','Hex','_toggleOnline','_status$','title','fetching\x20missing\x20changesets\x20from\x20','padding','_saveCache','save','default','pluginName','_minBufferSize','revision','endColumn','drawWith','3633837chwQha','finalize','requestParams','saveChangeset','JOIN','_refRangeService','_ensureSubject','enableSingleActiveInstanceLock','snapshot','POST','_replayCachedMutations','duration','eventID','subscribeEvent','RemoveColCommandId','registerRefRange','_initMergeInterceptor','_handleLeaveEvent','putCollaborators','sheetId','_onFetchMissResult','updateMember','min','/-/object/-/batch_allowed','INTERNAL_ERROR','LEAVE','&assign=','InsertRangeMoveDownCommandId','objectID','getUndoRedoMutationParamsCache','div','ws://127.0.0.1:8000/universer-api/comb/connect','onCommandExecuted','CHANGESET_SHOULD_RETRY','LIVESHARE_OPERATION','dispose$','_onConflict','clone','?url=','getAncestorScale','saveOfflineData','_hash','_handleHeartbeatEvent','getActiveSheet','column','_updateSubUnitFromURLParams','_scheduleSaving','fillStyle','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','univer-offline','transformMutation','type','AWAITING','getParam','collaboratorID','_showConflictNotification','clearInterval','onTransformSelections','transformUndoRedo','indexOf','InsertRowCommandId','_syncEditingCollabCursorService','unknown','_snapshotService','_tryEnsureSocket','changesets','_initUnitPermissionChange','_DEC_XFORM_MODE','_httpService','_onCursorUpdate','COMPRESS_MUTATION_SEND','_shapes','onMissedChangesetFetched','size','updateCursorEvent','_waitCount','encrypt','APPLY_NON_SEQUENTIAL_REVISION','onTransformRemoteChangesetByIMECache','_anchor','UniverIcon','leaveEvent','uni.network.url-service','_replaceFileID','idSuffix','getRenderById','_removeRoom','_range','_transformPreviousActiveRange','disposeUnit','_imageSourceCache','file','next','substr','_members','ciphertext','on-line-single_clip0_910_349','_revisionService','_docSkeletonManagerService','M0\x200H16V16H0z','_substituteUndoStack','toLowerCase','executeCommand','registerComponent','_hover','_state','onRemoteRej','_getRedoStack','_reverseMap','getTypeOfUnitDisposed$','transformRemoteChangeset','_unitOnClients','_getLoginPath','copyFileMeta','splice','39681040mVPBav','infoRsp','onRemoteAck','/unit/','_localStorageService','YUUMI_UNABLE_LOAD_URL','_name','_onUserLeave','_decreaseWaiting','[SyncedState]:\x20received\x20rejection.','memberID','setUndoRedoMutationParamsCache','updatePermissionPoint','_onRemoteRetry','sessionStatus','setItem','_process','_docTransformIMECacheService','MD5','onCommentUpdate','newValue','awaiting_with_pending','collab-client.tooltip.reconnect','_socket','online','attrs','conflict.title','toString','getOwnPropertyDescriptor','_throwTelemetryCollaborationNewChangeset','key','permissionRejEvent','RECT','hasher','ERROR_IMAGE_TYPE','subscribe','/universer-api/snapshot/','editingUnit','_drawRectRange','_clearOtherTimers','list','result','SNAPSHOT_URL_KEY','randomUUID','_onRefRangeChange','not_collab','actions','loadDoc','format','requireSession','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','univerjs-icon\x20univerjs-icon-','_transitionLocked','_substituteRedoStack','getViewport','cmd','_toggleOffline','registerRenderModule','unpad','subunit','_initStatusListener','substring','top','mutations','&to=','permission.title','clearTimeout','PERMISSION_REJ','_syncEditingCollabCursor','[CollaborationUndoRedoService]','subUnitId','onRendered','fetchMiss','AWAITING_WITH_PENDING','onTransformIME','_assignedColors','onStarting','_anchorDot','workbook','/block/','_updateStatus','_collaborationSessionService','/collaborator','_removeCollabCursors','InsertRangeMoveRightCommandId','Base64','_doProcessBlock','UNKNOWN_CODE','commentUpdateEvent','_timeoutTimer','conflict.content','onRemoteRetry','_memberService','SEND_CHANGESET_TIMEOUT','#fff','_createHelper','_exhaustRemoteChangesetQueue','enableOfflineEditing','SNAPSHOT_SERVER_URL_KEY','_collabCursorController','sheetID','_id','_updateState','m2Prime','_cipher','message$','_telemetryService','_onConnectionOpen','_labelPosition','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','icon','socket\x20open.','_map','from','VIEW_MAIN','[CollaborationSession]','transformStateCache','_getUndoStack','_handleJoinEvent','Decryptor','open$','src','_nRounds','_invKeySchedule','cursorInfo$','getDocRanges','liveShareOperation','origin','Cipher','redoState','_socketReady','children','_fetchMissChangesets','_color','_updateURLWithCurrentState','Base','HttpImport','_startCollaboration','_clearCollaborationTimeoutTimer','_onLocalMutation','resourceIDs','_redoStacks','onMissingChangesets','algo','_themeService','YUUMI_RATE_OVER_LIMIT','$super','closePath','[SyncedState]:\x20received\x20acknowledgement.','deepClone','body','_clearTimeoutTimer','_startSheetCollabCursor','HEARTBEAT','_commentUpdate$','_getCtorByUniverType','Undefined','catch','override','_entities','_undoStacks','OFFLINE','routeKey','getUniverSheetInstance','clear','_loadDoc','_getAPIPrefix','_online','_setupSubUnitSync','toggleOnline','getMember','onTransformState','_ws','_doFinalize','reconnect','collab-text-anchor-','onReady','joinRsp','data','snapshotServerUrl','_sheetTransformSelectionsService','sigBytes','endRow','collaborators','_collabCursorState$','fetchThroughInterceptors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','WordArray','/new_changes','image/png','crypto','rgba(255,\x20255,\x20255,\x200.01)','listRoles','YUUMI_SUBSCRIPTION_NOT_FOUND','_unlockTransition','\x0aCurrent:\x20','/universer-api/comb','_initStatusComponent','onlineStatusIcon','CHANGESET_ACK','isArray','_logService','getLatestCsReqIdBySid','_selfUnitIDs','reset','setShowComponents','OTHER_CLIENTS_EDITING','univer-online','_refreshCollabCursors','startTime','createInstance','_send','IDLE','saveImage','_sender','cfg','_cursorInfo$','_transformUndoRedoStack','confirm','url','floor','_docStateChangeManagerService','UNIVER_PROJECT','PSEUDO_FETCH_MISSING_RESULT','PERMISSION_DENIED','onRemoteChangeset','none','_getSheetObject','_scene','mixIn','onPointerLeave$','collaMsg','with','closeSession','_clearScheduledTask','mode','120zEzyzH','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_PERMISSION_DENIED','_HTTPService','moveTo','fetchMissingChangesets','APPLY_REVISION_CONFILICT','updateCollaborator','blockSize','stopTime','_saveTaskMap','bind','_backgroundColor','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CMD','_registerRenderDependencies','parse','Warning','_candidateSocket','_drawTextRange','CBC','colorChannel1','_onMessage','findNodePositionByCharIndex','_applyRemoteChangeset','error$','isPermissionRej','#FFF','originalMeta','getOffsetConfig','_messageService','_initResize','CHANGESET_REVISION_CONFILICT','extend','salt','decrypt','_getAPIPrefixPath','getDeserializedSheetBlock','setTimeout','members','_createInitialStateImpl','repeat','url(#$1','loadOfflineData','/universer-api/authz','popstate','_collaborationTimeoutTimer','formatter','collaboration_new_changeset','_resendTimeout','whenReady','_userManagerService','_change$','[CollaborationSessionService]','collaboration-client.config','pushState','AES','UNIVER_SHEET','_ENC_XFORM_MODE','exports','LIVESHARE_NEW_HOST','[PendingState]:\x20received\x20rejection.','_incrementRevisionNumber','collabCursorState$','JOINING','sessionStatus$','_instanceService','_waitForHeartbeatResponse','getCurrentUnitForType','init','USERS_ENTER','offline','string','SUCCUSS','_transformSelections','getInterceptPoints','rng','storage','_scheduleTimestamp','session.collaboration-timeout','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','clipPath','_snapshotServerService','headers','post','getCollabCursors$','getCurrentSelections','&source=','_listenToOfflineEvent','getCurrentUser','_clearLocalCache','ceil','_docSkeleton','newCsEvent','DeleteRangeMoveUpCommandId','withCredentials','unitId','session.will-retry','/rev/','off-line-single_clip0_910_343','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','awaiting','_keySchedule','_rescheduleHeartbeat','createElement','_updateLocalCache','_initCloseConn','_draw','TEXT','ERROR_IMAGE','update','_sessionStatus$','_docTransformStateCacheService','getCellPositionByOffset','getFocusedUnit','_changesetReqId','collaboration.single-unit.warning','filter','clamp','gold400','sid','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_transformIMECache','isEditing','CONNECTOR_DATA_TOO_LARGE','downloadEndpointUrl','jiqing500','csShouldRetryEvent','addEventListener','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','error','setStateCache','every','COMPLETION_FINISHED','getRangePointData','HEARTBEAT_INTERVAL','svg','_transformStack','_getAnchorBounding','set','join','getValue','now','getImageSourceCache','TOO_MANY_REQUESTS','_startDocCollabCursor','ALREADY_EXISTS','unshift','UNRECOGNIZED','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','status','on-line-single','authzUrl','_sheetSkeletonManagerService','backgroundColor','_socket$','_resendTimer','saveSheetBlock','href','red300','getCurrentRevOfUnit','range','getSkeleton','abs','HmacSHA1','_unitStatus','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/universer-api/snapshot','_shouldReportTelemetry','[CollaborationEntity]','getImage','prototype','objectType','session','cursorInfo','capture','getAllMembers','_hasher','createEncryptor','0\x200\x2017\x2016','_singleActiveUnitService','includes','connection\x20error','some','signUrlServerUrl','Encryptor','assign','_collaborationController','_getScale','_init','uploadFileServerUrl','_configService','onlineStatusTitle','byteOffset','_initCommandExecutedListener','BufferedBlockAlgorithm','split','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','collabStatus.fetchMiss','deleteCollaborator','transform','UNIVER_COLLABORATION_CLIENT_PLUGIN','rev','code','c1Prime','_stopTelemetryCollaborationNewChangeset','_beforeCloseService','onSyncEditingCollabCursor','interceptor','compose','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','purple300','round','liveShareNewHost','_resendWithTimeout','put','NO_OTHER_CLIENTS_EDITING','_onRemoteACK','_undoRedoService','processBlock','send','APPLY_DUPLICATED','collaboration-session-retry','SNAPSHOT_HAS_BEEN_REMOVED','roomMembers','_colorAssignService','execute','_updateCollabCursors','getRandomValues','_univerInstanceService','then','getItem','concat','_hovered','1em','hasOwnProperty','getActiveRange','asObservable','_transformStateCache','_onOffline','loginUrlKey','UUID','HttpExport','_executeRemoteChangeset','setShapeProps','_pendingMutations','blue400','session.connection-failed','getWorkbookSelections','EvpKDF','random','OpenSSL','resend','map','_event$','tag','transformMutationsWithChangeset','object','getUnitType','getCollabEntity$','_collabSessionService','_onRemoteChangeset','event$','_updateLocalCursor','UNIVER_SLIDE','doc.mutation.rich-text-editing','delete','_lastPointer','_state$','add','_iv','RECV','_type','_localeService','_permissionService','exhaustSavingTask','_cursors','_clearRedo','collab-text-range-','_compressMutationService','_remoteChangesetQueue','INVALID_ARGUMENT','/allowed','_checkMissing','setInterval','_setupBeforeClosingHandler','getTime','_socketMessageSubscription','_uiPartsService','_entityInit$','_acknowledgedAwaitingChangeset','displayName','ONLINE','transformSelections','setAlpha','addImageSourceCache','saveSnapshot','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_localCacheService','function','_scheduleHeartbeat','reduce','unit','7709611QJBDlg','696095gheLci','apply','NEW_CHANGESETS','\x20in\x20_schedule.','InsertColCommandId','2944634nZbLbO','enc','onTransformRemoteChangesetByStateCache','currentTheme$','__creator','color','getCollabEntity','addObject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','font','makeDirty','/universer-api/file/{fileID}/sign-url','height','_xformMode','undoState','APPLY_REJECT','_isPermissionRej','_transformService','LIVESHARE_REQUEST_HOST','disposeWithMe','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_commandService','_prevBlock','debug','push','_schedule','selection','_doCryptBlock','replaceState','call','black','createSocket','arc','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Error','Malformed\x20UTF-8\x20data','SUBMIT_CHANGESET','onPointerEnter$','_commentService','path','labelPosition','lineTo','roles','37625KGugiW','encode','UnitEmbedded','baseRev'];_0x5961=function(){return _0x57d4fe;};return _0x5961();}Ct=Sa([ke(0x0,Hi),ke(0x1,_0x1e210b),ke(0x2,_0x322b66),ke(0x3,_0x5cf6ec(q)),ke(0x4,_0x5cf6ec(_0xdab834)),ke(0x5,_0x94953d(_0x58db13))],Ct);var Ia=Object[_0x1a7f07(0x5b3)],Ca=Object[_0x1a7f07(0x298)],Ea=(_0x3b65e1,_0x4a7820,_0x36a0d0,_0x5e2d9c)=>{const _0x355a41=_0x1a7f07;for(var _0x379b7d=_0x5e2d9c>0x1?void 0x0:_0x5e2d9c?Ca(_0x4a7820,_0x36a0d0):_0x4a7820,_0x10c0dd=_0x3b65e1[_0x355a41(0x5bc)]-0x1,_0x587892;_0x10c0dd>=0x0;_0x10c0dd--)(_0x587892=_0x3b65e1[_0x10c0dd])&&(_0x379b7d=(_0x5e2d9c?_0x587892(_0x4a7820,_0x36a0d0,_0x379b7d):_0x587892(_0x379b7d))||_0x379b7d);return _0x5e2d9c&&_0x379b7d&&Ia(_0x4a7820,_0x36a0d0,_0x379b7d),_0x379b7d;},zs=(_0x260896,_0x325b3b)=>(_0x443409,_0x31bb20)=>_0x325b3b(_0x443409,_0x31bb20,_0x260896);const ba=_0x1a7f07(0x505),Ta=_0x1a7f07(0x4f5);let Et=class extends _0x3b3e75{constructor(_0x3a61d9,_0x2d27dc){const _0x56b3ad=_0x1a7f07;super(),this[_0x56b3ad(0x44e)]=_0x3a61d9,this[_0x56b3ad(0x428)]=_0x2d27dc,this['_init']();}[_0x1a7f07(0x426)](){const _0x3de8e5=_0x1a7f07;this['disposeWithMe'](this[_0x3de8e5(0x44e)][_0x3de8e5(0x1f3)][_0x3de8e5(0x29f)](()=>{const _0x17b4d7=_0x3de8e5;var _0x4597b0;const _0x56c380=this[_0x17b4d7(0x44e)]['getFocusedUnit']();let _0x4f44ef=(_0x4597b0=this[_0x17b4d7(0x428)][_0x17b4d7(0x1bf)](ba))!=null?_0x4597b0:Ta;_0x56c380 instanceof _0x762674&&(_0x4f44ef=_0x56c380[_0x17b4d7(0x598)]),document[_0x17b4d7(0x1fe)]=_0x4f44ef;}));}};Et=Ea([zs(0x0,_0x1726a1),zs(0x1,_0x34b905)],Et);var Ra=Object[_0x1a7f07(0x5b3)],ya=Object[_0x1a7f07(0x298)],Oa=(_0x32d1bf,_0x4ab425,_0x47d106,_0x4ac724)=>{const _0x27956e=_0x1a7f07;for(var _0x2844e9=_0x4ac724>0x1?void 0x0:_0x4ac724?ya(_0x4ab425,_0x47d106):_0x4ab425,_0x1a1a1b=_0x32d1bf[_0x27956e(0x5bc)]-0x1,_0x5bb43f;_0x1a1a1b>=0x0;_0x1a1a1b--)(_0x5bb43f=_0x32d1bf[_0x1a1a1b])&&(_0x2844e9=(_0x4ac724?_0x5bb43f(_0x4ab425,_0x47d106,_0x2844e9):_0x5bb43f(_0x2844e9))||_0x2844e9);return _0x4ac724&&_0x2844e9&&Ra(_0x4ab425,_0x47d106,_0x2844e9),_0x2844e9;},Wt=(_0x32d211,_0x368928)=>(_0x595e4f,_0x3a7b16)=>_0x368928(_0x595e4f,_0x3a7b16,_0x32d211);let bt=class{constructor(_0x5272c5,_0x1a0023,_0x1d58f0){const _0x3d5e0a=_0x1a7f07;this[_0x3d5e0a(0x428)]=_0x5272c5,this[_0x3d5e0a(0x24d)]=_0x1a0023,this['localeService']=_0x1d58f0,this[_0x3d5e0a(0x3ae)]();}['init'](){const _0x384ffa=_0x1a7f07;this['_httpService'][_0x384ffa(0x52a)]({'priority':0x1,'interceptor':(_0x4fba33,_0x4176c7)=>_0x4176c7(_0x4fba33)[_0x384ffa(0x1cf)](_0x57a071(async _0x42115e=>{const _0x5a7af8=_0x384ffa,_0xbca743=_0x42115e;if(_0xbca743[_0x5a7af8(0x3ff)]===0x191&&window[_0x5a7af8(0x356)](this[_0x5a7af8(0x54f)]['t'](_0x5a7af8(0x5ad)))){const _0x33e01b=window['encodeURIComponent'](window['location'][_0x5a7af8(0x407)]);window['location'][_0x5a7af8(0x407)]=this[_0x5a7af8(0x279)]()+_0x5a7af8(0x22f)+_0x33e01b;}return _0xbca743;}))});}['_getLoginPath'](){const _0x5d667f=_0x1a7f07;var _0x28a2cf,_0x5051b5;const _0x32db36=this['_configService']['getConfig'](Ir),_0x3183c7=this[_0x5d667f(0x428)][_0x5d667f(0x1bf)](ie);return(_0x5051b5=(_0x28a2cf=_0x3183c7==null?void 0x0:_0x3183c7[_0x5d667f(0x459)])!=null?_0x28a2cf:_0x32db36)!=null?_0x5051b5:Cr;}};bt=Oa([Wt(0x0,_0x34b905),Wt(0x1,_0x5cf6ec(_0x337047)),Wt(0x2,_0x5cf6ec(_0x51f47a))],bt);var wa=Object[_0x1a7f07(0x5b3)],Da=Object['getOwnPropertyDescriptor'],Pa=(_0x3c8225,_0x2712d8,_0x4b92bb,_0x2fc528)=>{for(var _0x1ccaa3=_0x2fc528>0x1?void 0x0:_0x2fc528?Da(_0x2712d8,_0x4b92bb):_0x2712d8,_0x40a142=_0x3c8225['length']-0x1,_0x557973;_0x40a142>=0x0;_0x40a142--)(_0x557973=_0x3c8225[_0x40a142])&&(_0x1ccaa3=(_0x2fc528?_0x557973(_0x2712d8,_0x4b92bb,_0x1ccaa3):_0x557973(_0x1ccaa3))||_0x1ccaa3);return _0x2fc528&&_0x1ccaa3&&wa(_0x2712d8,_0x4b92bb,_0x1ccaa3),_0x1ccaa3;},qs=(_0x38e015,_0x1d46b5)=>(_0xb9b162,_0x4abdd8)=>_0x1d46b5(_0xb9b162,_0x4abdd8,_0x38e015);const Ua=_0x1a7f07(0x57c),Na=_0x1a7f07(0x395);let cs=class extends _0x3b3e75{constructor(_0x1a44af,_0x21d074){const _0x2cb69d=_0x1a7f07;super(),this[_0x2cb69d(0x36b)]=_0x1a44af,this[_0x2cb69d(0x428)]=_0x21d074,this[_0x2cb69d(0x219)]();}[_0x1a7f07(0x219)](){const _0x4c53c7=_0x1a7f07,_0x48fdfe=this;this[_0x4c53c7(0x4b1)](this[_0x4c53c7(0x36b)][_0x4c53c7(0x52a)]({'priority':0x3e7,'interceptor':_0x4efab7({'isMatch'(_0x54e5ee){const _0x485be3=_0x4c53c7;var _0x39e31a;if(_0x54e5ee[_0x485be3(0x570)]==='POST'&&((_0x39e31a=_0x54e5ee[_0x485be3(0x20b)])!=null&&_0x39e31a['body'])){const {objectID:_0x72e97b,objectType:_0x275989}=_0x54e5ee['requestParams'][_0x485be3(0x312)]||{};if(!_0x72e97b||_0x275989===void 0x0)return!0x1;const _0x14956e=_0x48fdfe[_0x485be3(0x38d)]()+'/'+_0x275989+_0x485be3(0x4fd)+_0x72e97b+_0x485be3(0x483);if(_0x54e5ee[_0x485be3(0x357)]===_0x14956e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34f459){const _0x2f69c3=_0x4c53c7;var _0x68e624;return(_0x68e624=_0x34f459['requestParams'])==null?void 0x0:_0x68e624[_0x2f69c3(0x312)];},'mergeParamsToRequest'(_0x6a386d,_0x2adb03){const _0x1a9bf6=_0x4c53c7,_0x153b6a=_0x48fdfe[_0x1a9bf6(0x38d)]()+_0x1a9bf6(0x220),_0x12f717=_0x6a386d[_0x1a9bf6(0x496)]((_0x1d5c21,_0x1caaad)=>{const _0x43dd3f=_0x1a9bf6,{unitID:_0x3e169f,objectID:_0x4a6385,objectType:_0x590329,actions:_0x3cc79e}=_0x1caaad;return _0x1d5c21[_0x3e169f]||(_0x1d5c21[_0x3e169f]={}),_0x1d5c21[_0x3e169f][_0x4a6385]||(_0x1d5c21[_0x3e169f][_0x4a6385]={'objectID':_0x4a6385,'objectType':_0x590329,'actions':[]}),_0x1d5c21[_0x3e169f][_0x4a6385][_0x43dd3f(0x2aa)][_0x43dd3f(0x4b6)](..._0x3cc79e),_0x1d5c21;},{}),_0x2d2f4a=[];for(const _0x3bb167 in _0x12f717)for(const _0x25ffa4 in _0x12f717[_0x3bb167]){const {actions:_0xc8c2c5,objectType:_0x3e8ca8}=_0x12f717[_0x3bb167][_0x25ffa4],_0x3816fb=[...new Set(_0xc8c2c5)];_0x2d2f4a[_0x1a9bf6(0x4b6)]({'unitID':_0x3bb167,'objectID':_0x25ffa4,'objectType':_0x3e8ca8,'actions':_0x3816fb});}return new _0x5c71c3(_0x1a9bf6(0x212),_0x153b6a,{'headers':_0x2adb03[_0x1a9bf6(0x3bc)],'withCredentials':_0x2adb03[_0x1a9bf6(0x3c8)],'responseType':_0x2adb03['responseType'],'body':{'requests':_0x2d2f4a}});}},{'distributeResult'(_0xc1549f,_0x325e7c){const _0x30b7d5=_0x4c53c7,{objectActions:_0x4ee1ab}=_0xc1549f;return _0x325e7c[_0x30b7d5(0x466)](_0x3bc449=>{const _0x5df221=_0x30b7d5,{unitID:_0x12ce35,objectID:_0x178254,actions:_0x262333}=_0x3bc449,_0x2eccd8=_0x4ee1ab[_0x5df221(0x523)](_0x5ad6c9=>_0x5ad6c9['unitID']===_0x12ce35&&_0x5ad6c9[_0x5df221(0x225)]===_0x178254),_0x5067ac=_0x262333['map'](_0x260169=>_0x2eccd8==null?void 0x0:_0x2eccd8['actions']['find'](_0x507578=>_0x507578['action']===_0x260169))['filter'](_0x3a65e8=>!!_0x3a65e8);return{'config':_0x3bc449,'result':{'actions':_0x5067ac,'error':_0xc1549f['error']}};});}})}));}[_0x1a7f07(0x38d)](){const _0x49654b=_0x1a7f07;var _0x5b93e1,_0x54c935;const _0x4887ec=this[_0x49654b(0x428)]['getConfig'](Ua),_0x184e64=this[_0x49654b(0x428)][_0x49654b(0x1bf)](ie);return(_0x54c935=(_0x5b93e1=_0x184e64==null?void 0x0:_0x184e64[_0x49654b(0x401)])!=null?_0x5b93e1:_0x4887ec)!=null?_0x54c935:Na;}async[_0x1a7f07(0x586)](_0x2ff270){const _0x39e5ef=_0x1a7f07,_0x56beb7=this[_0x39e5ef(0x38d)]()+'/'+_0x2ff270[_0x39e5ef(0x415)]+'/object';return(await this[_0x39e5ef(0x36b)][_0x39e5ef(0x3bd)](_0x56beb7,{'body':_0x2ff270}))[_0x39e5ef(0x312)][_0x39e5ef(0x225)]||'';}async[_0x1a7f07(0x2a4)](_0x2a61d1){const _0x33e87e=_0x1a7f07,_0x31b95c=this[_0x33e87e(0x38d)]()+_0x33e87e(0x596);return(await this[_0x33e87e(0x36b)][_0x33e87e(0x3bd)](_0x31b95c,{'body':_0x2a61d1}))['body'][_0x33e87e(0x551)];}async[_0x1a7f07(0x3d7)](_0x144d0f){const _0x35a5ca=_0x1a7f07,_0x14e786=this[_0x35a5ca(0x38d)]()+'/'+_0x144d0f[_0x35a5ca(0x415)]+_0x35a5ca(0x4fd)+_0x144d0f[_0x35a5ca(0x225)];await this['_HTTPService'][_0x35a5ca(0x440)](_0x14e786,{'body':_0x144d0f});}async['allowed'](_0x48bafe){const _0x3cf43a=_0x1a7f07,_0x24d6d8=this[_0x3cf43a(0x38d)]()+'/'+_0x48bafe[_0x3cf43a(0x415)]+_0x3cf43a(0x4fd)+_0x48bafe[_0x3cf43a(0x225)]+_0x3cf43a(0x483);return(await this[_0x3cf43a(0x36b)][_0x3cf43a(0x3bd)](_0x24d6d8,{'body':_0x48bafe}))['body'][_0x3cf43a(0x2aa)];}async['batchAllowed'](_0x22f7a0){const _0x535a3d=_0x1a7f07,_0x4c08d2=this['_getAPIPrefixPath']()+_0x535a3d(0x220);return(await this['_HTTPService'][_0x535a3d(0x3bd)](_0x4c08d2,{'body':{'requests':_0x22f7a0}}))[_0x535a3d(0x312)][_0x535a3d(0x599)];}async[_0x1a7f07(0x33c)](_0x345648){const _0x550389=_0x1a7f07,_0x2cc23c=this[_0x550389(0x38d)]()+'/'+_0x345648[_0x550389(0x415)]+'/role',_0x100887=await this[_0x550389(0x36b)][_0x550389(0x3bd)](_0x2cc23c,{'body':_0x345648});return{'roles':_0x100887[_0x550389(0x312)][_0x550389(0x4c8)],'actions':_0x100887[_0x550389(0x312)][_0x550389(0x2aa)]};}async[_0x1a7f07(0x430)](_0x322b42){const _0x5c296d=_0x1a7f07,_0x4ea210=this[_0x5c296d(0x38d)]()+_0x5c296d(0x2ce);await this[_0x5c296d(0x36b)]['delete'](_0x4ea210,{'params':{'collaboratorID':_0x322b42[_0x5c296d(0x23f)],'objectID':_0x322b42[_0x5c296d(0x225)],'unitID':_0x322b42[_0x5c296d(0x5b2)]}});}async[_0x1a7f07(0x36f)](_0x572d95){const _0x2afce9=_0x1a7f07,_0x370705=this['_getAPIPrefixPath']()+_0x2afce9(0x2ce);await this[_0x2afce9(0x36b)]['patch'](_0x370705,{'body':_0x572d95});}async[_0x1a7f07(0x1c1)](_0x44fb81){const _0x140434=_0x1a7f07,_0x1faabd=this[_0x140434(0x38d)]()+_0x140434(0x2ce);await this[_0x140434(0x36b)][_0x140434(0x3bd)](_0x1faabd,{'body':_0x44fb81});}async['listCollaborators'](_0x37bcbe){const _0x36bbb3=_0x1a7f07,_0x22c85d=this['_getAPIPrefixPath']()+_0x36bbb3(0x2ce);return(await this[_0x36bbb3(0x36b)][_0x36bbb3(0x59a)](_0x22c85d,{'params':{'objectID':_0x37bcbe['objectID'],'unitID':_0x37bcbe[_0x36bbb3(0x5b2)]}}))[_0x36bbb3(0x312)][_0x36bbb3(0x333)];}async[_0x1a7f07(0x21b)](_0x48733d){const _0x24de90=_0x1a7f07,_0xd84ac3=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x24de90(0x36b)][_0x24de90(0x440)](_0xd84ac3,{'body':_0x48733d});}};cs=Pa([qs(0x0,_0x5cf6ec(_0x337047)),qs(0x1,_0x5cf6ec(_0x34b905))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x7c079b){const _0x3203e1=_0x1a7f07;return _0x7c079b&&_0x7c079b['__esModule']&&Object[_0x3203e1(0x414)][_0x3203e1(0x454)]['call'](_0x7c079b,_0x3203e1(0x203))?_0x7c079b[_0x3203e1(0x203)]:_0x7c079b;}var ji={'exports':{}};function Aa(_0x21f929){const _0x28541b=_0x1a7f07;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x21f929+_0x28541b(0x43b));}var Ft={'exports':{}},Xs;function ue(){const _0x5e3eab=_0x1a7f07;return Xs||(Xs=0x1,function(_0x28c665,_0x136cb2){(function(_0x5da019,_0x3f3da8){const _0xe59c7e=_0x54d3;_0x28c665[_0xe59c7e(0x3a4)]=_0x3f3da8();}(Z,function(){var _0xbbeb1f=_0xbbeb1f||function(_0x1499b4,_0x13f257){const _0x21dd4d=_0x54d3;var _0x2a0b55;if(typeof window<'u'&&window['crypto']&&(_0x2a0b55=window[_0x21dd4d(0x33a)]),typeof self<'u'&&self[_0x21dd4d(0x33a)]&&(_0x2a0b55=self[_0x21dd4d(0x33a)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2a0b55=globalThis['crypto']),!_0x2a0b55&&typeof window<'u'&&window[_0x21dd4d(0x52b)]&&(_0x2a0b55=window['msCrypto']),!_0x2a0b55&&typeof Z<'u'&&Z[_0x21dd4d(0x33a)]&&(_0x2a0b55=Z['crypto']),!_0x2a0b55&&typeof Aa==_0x21dd4d(0x494))try{_0x2a0b55=require(_0x21dd4d(0x33a));}catch{}var _0x249213=function(){const _0x436004=_0x21dd4d;if(_0x2a0b55){if(typeof _0x2a0b55['getRandomValues']==_0x436004(0x494))try{return _0x2a0b55[_0x436004(0x44d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a0b55[_0x436004(0x1f2)]==_0x436004(0x494))try{return _0x2a0b55[_0x436004(0x1f2)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x436004(0x3e2));},_0x2f9a36=Object[_0x21dd4d(0x586)]||(function(){function _0x5a3abe(){}return function(_0x4ac5c3){const _0x454c09=_0x54d3;var _0x586f12;return _0x5a3abe['prototype']=_0x4ac5c3,_0x586f12=new _0x5a3abe(),_0x5a3abe[_0x454c09(0x414)]=null,_0x586f12;};}()),_0xba4839={},_0x1f5c8b=_0xba4839[_0x21dd4d(0x525)]={},_0xf52fb6=_0x1f5c8b[_0x21dd4d(0x303)]=(function(){return{'extend':function(_0x35a63d){const _0x4dc76b=_0x54d3;var _0x58b21d=_0x2f9a36(this);return _0x35a63d&&_0x58b21d[_0x4dc76b(0x361)](_0x35a63d),(!_0x58b21d[_0x4dc76b(0x454)](_0x4dc76b(0x3ae))||this[_0x4dc76b(0x3ae)]===_0x58b21d[_0x4dc76b(0x3ae)])&&(_0x58b21d[_0x4dc76b(0x3ae)]=function(){const _0x47c08c=_0x4dc76b;_0x58b21d[_0x47c08c(0x30e)][_0x47c08c(0x3ae)][_0x47c08c(0x49a)](this,arguments);}),_0x58b21d[_0x4dc76b(0x3ae)]['prototype']=_0x58b21d,_0x58b21d[_0x4dc76b(0x30e)]=this,_0x58b21d;},'create':function(){const _0x43c97a=_0x54d3;var _0x35916d=this[_0x43c97a(0x38a)]();return _0x35916d[_0x43c97a(0x3ae)][_0x43c97a(0x49a)](_0x35916d,arguments),_0x35916d;},'init':function(){},'mixIn':function(_0x56ece3){const _0x3d209d=_0x54d3;for(var _0x561543 in _0x56ece3)_0x56ece3[_0x3d209d(0x454)](_0x561543)&&(this[_0x561543]=_0x56ece3[_0x561543]);_0x56ece3[_0x3d209d(0x454)](_0x3d209d(0x297))&&(this['toString']=_0x56ece3[_0x3d209d(0x297)]);},'clone':function(){const _0x45af3d=_0x54d3;return this[_0x45af3d(0x3ae)][_0x45af3d(0x414)][_0x45af3d(0x38a)](this);}};}()),_0xb34d76=_0x1f5c8b[_0x21dd4d(0x337)]=_0xf52fb6[_0x21dd4d(0x38a)]({'init':function(_0x3d4f80,_0x531fa7){const _0x1f27df=_0x21dd4d;_0x3d4f80=this['words']=_0x3d4f80||[],_0x531fa7!=_0x13f257?this['sigBytes']=_0x531fa7:this[_0x1f27df(0x331)]=_0x3d4f80['length']*0x4;},'toString':function(_0x149f2b){const _0x28c183=_0x21dd4d;return(_0x149f2b||_0x21dc94)[_0x28c183(0x52c)](this);},'concat':function(_0x4fa96f){const _0x3c5d44=_0x21dd4d;var _0x238863=this['words'],_0x6f6062=_0x4fa96f[_0x3c5d44(0x4e2)],_0x39dbf1=this[_0x3c5d44(0x331)],_0x19ee1d=_0x4fa96f[_0x3c5d44(0x331)];if(this[_0x3c5d44(0x3df)](),_0x39dbf1%0x4)for(var _0x372184=0x0;_0x372184<_0x19ee1d;_0x372184++){var _0x2f1527=_0x6f6062[_0x372184>>>0x2]>>>0x18-_0x372184%0x4*0x8&0xff;_0x238863[_0x39dbf1+_0x372184>>>0x2]|=_0x2f1527<<0x18-(_0x39dbf1+_0x372184)%0x4*0x8;}else{for(var _0x5660b7=0x0;_0x5660b7<_0x19ee1d;_0x5660b7+=0x4)_0x238863[_0x39dbf1+_0x5660b7>>>0x2]=_0x6f6062[_0x5660b7>>>0x2];}return this['sigBytes']+=_0x19ee1d,this;},'clamp':function(){const _0x5e42c8=_0x21dd4d;var _0x534e05=this['words'],_0x209d55=this['sigBytes'];_0x534e05[_0x209d55>>>0x2]&=0xffffffff<<0x20-_0x209d55%0x4*0x8,_0x534e05[_0x5e42c8(0x5bc)]=_0x1499b4['ceil'](_0x209d55/0x4);},'clone':function(){const _0x401726=_0x21dd4d;var _0x2574a2=_0xf52fb6[_0x401726(0x22e)][_0x401726(0x4bb)](this);return _0x2574a2[_0x401726(0x4e2)]=this[_0x401726(0x4e2)][_0x401726(0x515)](0x0),_0x2574a2;},'random':function(_0x32aa61){const _0x1c1516=_0x21dd4d;for(var _0x536b27=[],_0x59e60d=0x0;_0x59e60d<_0x32aa61;_0x59e60d+=0x4)_0x536b27['push'](_0x249213());return new _0xb34d76[(_0x1c1516(0x3ae))](_0x536b27,_0x32aa61);}}),_0x5f1fa8=_0xba4839['enc']={},_0x21dc94=_0x5f1fa8[_0x21dd4d(0x1fb)]={'stringify':function(_0x18bf1a){const _0x2cd420=_0x21dd4d;for(var _0x500c30=_0x18bf1a['words'],_0x1cfe4c=_0x18bf1a[_0x2cd420(0x331)],_0x58195c=[],_0x231393=0x0;_0x231393<_0x1cfe4c;_0x231393++){var _0x3b1871=_0x500c30[_0x231393>>>0x2]>>>0x18-_0x231393%0x4*0x8&0xff;_0x58195c[_0x2cd420(0x4b6)]((_0x3b1871>>>0x4)[_0x2cd420(0x297)](0x10)),_0x58195c['push']((_0x3b1871&0xf)[_0x2cd420(0x297)](0x10));}return _0x58195c[_0x2cd420(0x3f5)]('');},'parse':function(_0x34b0e9){const _0x18d23f=_0x21dd4d;for(var _0x5f2020=_0x34b0e9[_0x18d23f(0x5bc)],_0x3010d8=[],_0xf2b5ac=0x0;_0xf2b5ac<_0x5f2020;_0xf2b5ac+=0x2)_0x3010d8[_0xf2b5ac>>>0x3]|=parseInt(_0x34b0e9[_0x18d23f(0x266)](_0xf2b5ac,0x2),0x10)<<0x18-_0xf2b5ac%0x8*0x4;return new _0xb34d76['init'](_0x3010d8,_0x5f2020/0x2);}},_0x46ee55=_0x5f1fa8['Latin1']={'stringify':function(_0x25d629){const _0x2680aa=_0x21dd4d;for(var _0x121ac9=_0x25d629[_0x2680aa(0x4e2)],_0x5c0429=_0x25d629[_0x2680aa(0x331)],_0x5c63ae=[],_0x1f90b8=0x0;_0x1f90b8<_0x5c0429;_0x1f90b8++){var _0x40a28f=_0x121ac9[_0x1f90b8>>>0x2]>>>0x18-_0x1f90b8%0x4*0x8&0xff;_0x5c63ae[_0x2680aa(0x4b6)](String[_0x2680aa(0x1e8)](_0x40a28f));}return _0x5c63ae[_0x2680aa(0x3f5)]('');},'parse':function(_0x394692){const _0x1fa20a=_0x21dd4d;for(var _0x4ab146=_0x394692[_0x1fa20a(0x5bc)],_0x25247d=[],_0x43342e=0x0;_0x43342e<_0x4ab146;_0x43342e++)_0x25247d[_0x43342e>>>0x2]|=(_0x394692[_0x1fa20a(0x55e)](_0x43342e)&0xff)<<0x18-_0x43342e%0x4*0x8;return new _0xb34d76[(_0x1fa20a(0x3ae))](_0x25247d,_0x4ab146);}},_0x54968b=_0x5f1fa8[_0x21dd4d(0x572)]={'stringify':function(_0x490e8c){const _0x4b16d9=_0x21dd4d;try{return decodeURIComponent(escape(_0x46ee55[_0x4b16d9(0x52c)](_0x490e8c)));}catch{throw new Error(_0x4b16d9(0x4c1));}},'parse':function(_0x407cca){const _0x4b6ca5=_0x21dd4d;return _0x46ee55[_0x4b6ca5(0x379)](unescape(encodeURIComponent(_0x407cca)));}},_0x3a89e0=_0x1f5c8b['BufferedBlockAlgorithm']=_0xf52fb6[_0x21dd4d(0x38a)]({'reset':function(){const _0x5141c2=_0x21dd4d;this[_0x5141c2(0x1c7)]=new _0xb34d76[(_0x5141c2(0x3ae))](),this[_0x5141c2(0x533)]=0x0;},'_append':function(_0x1560bd){const _0x10cc57=_0x21dd4d;typeof _0x1560bd=='string'&&(_0x1560bd=_0x54968b[_0x10cc57(0x379)](_0x1560bd)),this['_data'][_0x10cc57(0x451)](_0x1560bd),this[_0x10cc57(0x533)]+=_0x1560bd[_0x10cc57(0x331)];},'_process':function(_0x5661ba){const _0x3a7b87=_0x21dd4d;var _0x43e5cc,_0x496e5e=this[_0x3a7b87(0x1c7)],_0x905f6a=_0x496e5e[_0x3a7b87(0x4e2)],_0x3c17ad=_0x496e5e[_0x3a7b87(0x331)],_0x7088b9=this[_0x3a7b87(0x370)],_0x401b1b=_0x7088b9*0x4,_0x146b11=_0x3c17ad/_0x401b1b;_0x5661ba?_0x146b11=_0x1499b4[_0x3a7b87(0x3c4)](_0x146b11):_0x146b11=_0x1499b4[_0x3a7b87(0x4d1)]((_0x146b11|0x0)-this[_0x3a7b87(0x205)],0x0);var _0x386519=_0x146b11*_0x7088b9,_0x5902a5=_0x1499b4[_0x3a7b87(0x21f)](_0x386519*0x4,_0x3c17ad);if(_0x386519){for(var _0x1ebc6b=0x0;_0x1ebc6b<_0x386519;_0x1ebc6b+=_0x7088b9)this[_0x3a7b87(0x2d2)](_0x905f6a,_0x1ebc6b);_0x43e5cc=_0x905f6a[_0x3a7b87(0x27b)](0x0,_0x386519),_0x496e5e[_0x3a7b87(0x331)]-=_0x5902a5;}return new _0xb34d76[(_0x3a7b87(0x3ae))](_0x43e5cc,_0x5902a5);},'clone':function(){const _0x3a407f=_0x21dd4d;var _0x4eb442=_0xf52fb6['clone'][_0x3a407f(0x4bb)](this);return _0x4eb442[_0x3a407f(0x1c7)]=this['_data'][_0x3a407f(0x22e)](),_0x4eb442;},'_minBufferSize':0x0});_0x1f5c8b[_0x21dd4d(0x524)]=_0x3a89e0[_0x21dd4d(0x38a)]({'cfg':_0xf52fb6[_0x21dd4d(0x38a)](),'init':function(_0x4be685){const _0x46a346=_0x21dd4d;this[_0x46a346(0x353)]=this[_0x46a346(0x353)]['extend'](_0x4be685),this[_0x46a346(0x348)]();},'reset':function(){const _0x32ee54=_0x21dd4d;_0x3a89e0['reset']['call'](this),this[_0x32ee54(0x5c2)]();},'update':function(_0x25f753){const _0xc3c476=_0x21dd4d;return this[_0xc3c476(0x1ce)](_0x25f753),this[_0xc3c476(0x28c)](),this;},'finalize':function(_0x214dcd){const _0x351911=_0x21dd4d;_0x214dcd&&this['_append'](_0x214dcd);var _0x4f865b=this[_0x351911(0x329)]();return _0x4f865b;},'blockSize':0x10,'_createHelper':function(_0x59477c){return function(_0x3f398d,_0x4060ef){const _0x5807be=_0x54d3;return new _0x59477c[(_0x5807be(0x3ae))](_0x4060ef)['finalize'](_0x3f398d);};},'_createHmacHelper':function(_0x34b647){return function(_0x4ff641,_0x18b38e){const _0x31a57a=_0x54d3;return new _0x3f5b20[(_0x31a57a(0x56c))][(_0x31a57a(0x3ae))](_0x34b647,_0x18b38e)[_0x31a57a(0x20a)](_0x4ff641);};}});var _0x3f5b20=_0xba4839[_0x21dd4d(0x30b)]={};return _0xba4839;}(Math);return _0xbbeb1f;}));}(Ft)),Ft[_0x5e3eab(0x3a4)];}var Vt={'exports':{}},Js;function Bi(){const _0x2847f0=_0x1a7f07;return Js||(Js=0x1,function(_0x1a4b56,_0x2a20b2){(function(_0x2c6a99,_0x3c482b){const _0x179754=_0x54d3;_0x1a4b56[_0x179754(0x3a4)]=_0x3c482b(ue());}(Z,function(_0x549019){const _0x16a58e=_0x54d3;return(function(){const _0x34e03d=_0x54d3;var _0x34b1d7=_0x549019,_0x3fa6e7=_0x34b1d7['lib'],_0xd05ed7=_0x3fa6e7[_0x34e03d(0x337)],_0x31154d=_0x34b1d7[_0x34e03d(0x49f)];_0x31154d[_0x34e03d(0x2d1)]={'stringify':function(_0x19b074){const _0x2fc255=_0x34e03d;var _0x38fe19=_0x19b074['words'],_0x236bf9=_0x19b074[_0x2fc255(0x331)],_0x48eb60=this[_0x2fc255(0x2ec)];_0x19b074[_0x2fc255(0x3df)]();for(var _0x325f37=[],_0x4f3fbe=0x0;_0x4f3fbe<_0x236bf9;_0x4f3fbe+=0x3)for(var _0x8777be=_0x38fe19[_0x4f3fbe>>>0x2]>>>0x18-_0x4f3fbe%0x4*0x8&0xff,_0x5cb6c5=_0x38fe19[_0x4f3fbe+0x1>>>0x2]>>>0x18-(_0x4f3fbe+0x1)%0x4*0x8&0xff,_0x35ab8b=_0x38fe19[_0x4f3fbe+0x2>>>0x2]>>>0x18-(_0x4f3fbe+0x2)%0x4*0x8&0xff,_0x3f40f1=_0x8777be<<0x10|_0x5cb6c5<<0x8|_0x35ab8b,_0x1001be=0x0;_0x1001be<0x4&&_0x4f3fbe+_0x1001be*0.75<_0x236bf9;_0x1001be++)_0x325f37[_0x2fc255(0x4b6)](_0x48eb60['charAt'](_0x3f40f1>>>0x6*(0x3-_0x1001be)&0x3f));var _0x182c12=_0x48eb60['charAt'](0x40);if(_0x182c12){for(;_0x325f37[_0x2fc255(0x5bc)]%0x4;)_0x325f37['push'](_0x182c12);}return _0x325f37[_0x2fc255(0x3f5)]('');},'parse':function(_0xb0ac07){const _0x3d36dd=_0x34e03d;var _0x25a466=_0xb0ac07[_0x3d36dd(0x5bc)],_0x31af61=this[_0x3d36dd(0x2ec)],_0x123f01=this[_0x3d36dd(0x275)];if(!_0x123f01){_0x123f01=this[_0x3d36dd(0x275)]=[];for(var _0x46985a=0x0;_0x46985a<_0x31af61['length'];_0x46985a++)_0x123f01[_0x31af61[_0x3d36dd(0x55e)](_0x46985a)]=_0x46985a;}var _0xa9982d=_0x31af61[_0x3d36dd(0x590)](0x40);if(_0xa9982d){var _0x414ef4=_0xb0ac07[_0x3d36dd(0x244)](_0xa9982d);_0x414ef4!==-0x1&&(_0x25a466=_0x414ef4);}return _0xd6876f(_0xb0ac07,_0x25a466,_0x123f01);},'_map':_0x34e03d(0x2ae)};function _0xd6876f(_0x41cef5,_0x2fa89e,_0x250aae){const _0x5e7c2e=_0x34e03d;for(var _0x3507e3=[],_0x2f18e1=0x0,_0x1a6757=0x0;_0x1a6757<_0x2fa89e;_0x1a6757++)if(_0x1a6757%0x4){var _0x4db1b1=_0x250aae[_0x41cef5[_0x5e7c2e(0x55e)](_0x1a6757-0x1)]<<_0x1a6757%0x4*0x2,_0x289d71=_0x250aae[_0x41cef5['charCodeAt'](_0x1a6757)]>>>0x6-_0x1a6757%0x4*0x2,_0x767961=_0x4db1b1|_0x289d71;_0x3507e3[_0x2f18e1>>>0x2]|=_0x767961<<0x18-_0x2f18e1%0x4*0x8,_0x2f18e1++;}return _0xd05ed7[_0x5e7c2e(0x586)](_0x3507e3,_0x2f18e1);}}()),_0x549019['enc'][_0x16a58e(0x2d1)];}));}(Vt)),Vt[_0x2847f0(0x3a4)];}var Gt={'exports':{}},Zs;function Ma(){const _0x3e9ace=_0x1a7f07;return Zs||(Zs=0x1,function(_0x1c91c8,_0x3ef3d6){(function(_0x2e6adf,_0x45b223){const _0x4d03fe=_0x54d3;_0x1c91c8[_0x4d03fe(0x3a4)]=_0x45b223(ue());}(Z,function(_0x3cfd31){const _0xd4cb6f=_0x54d3;return function(_0x46c15c){const _0x1aaa02=_0x54d3;var _0x264f26=_0x3cfd31,_0x4e0b1a=_0x264f26[_0x1aaa02(0x525)],_0x1efea8=_0x4e0b1a['WordArray'],_0x4d5ff1=_0x4e0b1a[_0x1aaa02(0x524)],_0x2ef94b=_0x264f26['algo'],_0x5f4e9b=[];(function(){const _0x19b11d=_0x1aaa02;for(var _0x38f20c=0x0;_0x38f20c<0x40;_0x38f20c++)_0x5f4e9b[_0x38f20c]=_0x46c15c[_0x19b11d(0x40c)](_0x46c15c[_0x19b11d(0x1e6)](_0x38f20c+0x1))*0x100000000|0x0;}());var _0x173490=_0x2ef94b[_0x1aaa02(0x28e)]=_0x4d5ff1[_0x1aaa02(0x38a)]({'_doReset':function(){const _0x52c469=_0x1aaa02;this[_0x52c469(0x232)]=new _0x1efea8[(_0x52c469(0x3ae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x18de3a,_0x52dfd7){const _0x4cf208=_0x1aaa02;for(var _0xcb5752=0x0;_0xcb5752<0x10;_0xcb5752++){var _0x4e75b1=_0x52dfd7+_0xcb5752,_0x378fd8=_0x18de3a[_0x4e75b1];_0x18de3a[_0x4e75b1]=(_0x378fd8<<0x8|_0x378fd8>>>0x18)&0xff00ff|(_0x378fd8<<0x18|_0x378fd8>>>0x8)&0xff00ff00;}var _0x2f26a2=this[_0x4cf208(0x232)][_0x4cf208(0x4e2)],_0x921cb9=_0x18de3a[_0x52dfd7+0x0],_0x3c7510=_0x18de3a[_0x52dfd7+0x1],_0x9815c2=_0x18de3a[_0x52dfd7+0x2],_0xc5c256=_0x18de3a[_0x52dfd7+0x3],_0x3d1323=_0x18de3a[_0x52dfd7+0x4],_0x49f314=_0x18de3a[_0x52dfd7+0x5],_0xb3960f=_0x18de3a[_0x52dfd7+0x6],_0x425902=_0x18de3a[_0x52dfd7+0x7],_0x468f3d=_0x18de3a[_0x52dfd7+0x8],_0x1c1b74=_0x18de3a[_0x52dfd7+0x9],_0x22b219=_0x18de3a[_0x52dfd7+0xa],_0x28ea0b=_0x18de3a[_0x52dfd7+0xb],_0x795471=_0x18de3a[_0x52dfd7+0xc],_0x90e915=_0x18de3a[_0x52dfd7+0xd],_0x3151dd=_0x18de3a[_0x52dfd7+0xe],_0x24b635=_0x18de3a[_0x52dfd7+0xf],_0xbfca5f=_0x2f26a2[0x0],_0x44f63c=_0x2f26a2[0x1],_0x1e6830=_0x2f26a2[0x2],_0x5cb142=_0x2f26a2[0x3];_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x921cb9,0x7,_0x5f4e9b[0x0]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x3c7510,0xc,_0x5f4e9b[0x1]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x9815c2,0x11,_0x5f4e9b[0x2]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0xc5c256,0x16,_0x5f4e9b[0x3]),_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3d1323,0x7,_0x5f4e9b[0x4]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x49f314,0xc,_0x5f4e9b[0x5]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xb3960f,0x11,_0x5f4e9b[0x6]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x425902,0x16,_0x5f4e9b[0x7]),_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x468f3d,0x7,_0x5f4e9b[0x8]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x1c1b74,0xc,_0x5f4e9b[0x9]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x22b219,0x11,_0x5f4e9b[0xa]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x28ea0b,0x16,_0x5f4e9b[0xb]),_0xbfca5f=_0x5e1b64(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x795471,0x7,_0x5f4e9b[0xc]),_0x5cb142=_0x5e1b64(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x90e915,0xc,_0x5f4e9b[0xd]),_0x1e6830=_0x5e1b64(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x3151dd,0x11,_0x5f4e9b[0xe]),_0x44f63c=_0x5e1b64(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x24b635,0x16,_0x5f4e9b[0xf]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3c7510,0x5,_0x5f4e9b[0x10]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0xb3960f,0x9,_0x5f4e9b[0x11]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x28ea0b,0xe,_0x5f4e9b[0x12]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x921cb9,0x14,_0x5f4e9b[0x13]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x49f314,0x5,_0x5f4e9b[0x14]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x22b219,0x9,_0x5f4e9b[0x15]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x24b635,0xe,_0x5f4e9b[0x16]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x3d1323,0x14,_0x5f4e9b[0x17]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x1c1b74,0x5,_0x5f4e9b[0x18]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x3151dd,0x9,_0x5f4e9b[0x19]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xc5c256,0xe,_0x5f4e9b[0x1a]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x468f3d,0x14,_0x5f4e9b[0x1b]),_0xbfca5f=_0xf72439(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x90e915,0x5,_0x5f4e9b[0x1c]),_0x5cb142=_0xf72439(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x9815c2,0x9,_0x5f4e9b[0x1d]),_0x1e6830=_0xf72439(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x425902,0xe,_0x5f4e9b[0x1e]),_0x44f63c=_0xf72439(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x795471,0x14,_0x5f4e9b[0x1f]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x49f314,0x4,_0x5f4e9b[0x20]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x468f3d,0xb,_0x5f4e9b[0x21]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x28ea0b,0x10,_0x5f4e9b[0x22]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x3151dd,0x17,_0x5f4e9b[0x23]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3c7510,0x4,_0x5f4e9b[0x24]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x3d1323,0xb,_0x5f4e9b[0x25]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x425902,0x10,_0x5f4e9b[0x26]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x22b219,0x17,_0x5f4e9b[0x27]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x90e915,0x4,_0x5f4e9b[0x28]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x921cb9,0xb,_0x5f4e9b[0x29]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xc5c256,0x10,_0x5f4e9b[0x2a]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0xb3960f,0x17,_0x5f4e9b[0x2b]),_0xbfca5f=_0x4a9127(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x1c1b74,0x4,_0x5f4e9b[0x2c]),_0x5cb142=_0x4a9127(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x795471,0xb,_0x5f4e9b[0x2d]),_0x1e6830=_0x4a9127(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x24b635,0x10,_0x5f4e9b[0x2e]),_0x44f63c=_0x4a9127(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x9815c2,0x17,_0x5f4e9b[0x2f]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x921cb9,0x6,_0x5f4e9b[0x30]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x425902,0xa,_0x5f4e9b[0x31]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x3151dd,0xf,_0x5f4e9b[0x32]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x49f314,0x15,_0x5f4e9b[0x33]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x795471,0x6,_0x5f4e9b[0x34]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0xc5c256,0xa,_0x5f4e9b[0x35]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x22b219,0xf,_0x5f4e9b[0x36]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x3c7510,0x15,_0x5f4e9b[0x37]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x468f3d,0x6,_0x5f4e9b[0x38]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x24b635,0xa,_0x5f4e9b[0x39]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0xb3960f,0xf,_0x5f4e9b[0x3a]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x90e915,0x15,_0x5f4e9b[0x3b]),_0xbfca5f=_0x2c8b96(_0xbfca5f,_0x44f63c,_0x1e6830,_0x5cb142,_0x3d1323,0x6,_0x5f4e9b[0x3c]),_0x5cb142=_0x2c8b96(_0x5cb142,_0xbfca5f,_0x44f63c,_0x1e6830,_0x28ea0b,0xa,_0x5f4e9b[0x3d]),_0x1e6830=_0x2c8b96(_0x1e6830,_0x5cb142,_0xbfca5f,_0x44f63c,_0x9815c2,0xf,_0x5f4e9b[0x3e]),_0x44f63c=_0x2c8b96(_0x44f63c,_0x1e6830,_0x5cb142,_0xbfca5f,_0x1c1b74,0x15,_0x5f4e9b[0x3f]),_0x2f26a2[0x0]=_0x2f26a2[0x0]+_0xbfca5f|0x0,_0x2f26a2[0x1]=_0x2f26a2[0x1]+_0x44f63c|0x0,_0x2f26a2[0x2]=_0x2f26a2[0x2]+_0x1e6830|0x0,_0x2f26a2[0x3]=_0x2f26a2[0x3]+_0x5cb142|0x0;},'_doFinalize':function(){const _0x1bd8fe=_0x1aaa02;var _0x1c6e87=this[_0x1bd8fe(0x1c7)],_0x2cbf59=_0x1c6e87[_0x1bd8fe(0x4e2)],_0x279bbd=this[_0x1bd8fe(0x533)]*0x8,_0x247920=_0x1c6e87[_0x1bd8fe(0x331)]*0x8;_0x2cbf59[_0x247920>>>0x5]|=0x80<<0x18-_0x247920%0x20;var _0x4885ec=_0x46c15c[_0x1bd8fe(0x358)](_0x279bbd/0x100000000),_0x2dc254=_0x279bbd;_0x2cbf59[(_0x247920+0x40>>>0x9<<0x4)+0xf]=(_0x4885ec<<0x8|_0x4885ec>>>0x18)&0xff00ff|(_0x4885ec<<0x18|_0x4885ec>>>0x8)&0xff00ff00,_0x2cbf59[(_0x247920+0x40>>>0x9<<0x4)+0xe]=(_0x2dc254<<0x8|_0x2dc254>>>0x18)&0xff00ff|(_0x2dc254<<0x18|_0x2dc254>>>0x8)&0xff00ff00,_0x1c6e87[_0x1bd8fe(0x331)]=(_0x2cbf59[_0x1bd8fe(0x5bc)]+0x1)*0x4,this[_0x1bd8fe(0x28c)]();for(var _0x21b379=this['_hash'],_0x104356=_0x21b379[_0x1bd8fe(0x4e2)],_0x35edc9=0x0;_0x35edc9<0x4;_0x35edc9++){var _0x34ada3=_0x104356[_0x35edc9];_0x104356[_0x35edc9]=(_0x34ada3<<0x8|_0x34ada3>>>0x18)&0xff00ff|(_0x34ada3<<0x18|_0x34ada3>>>0x8)&0xff00ff00;}return _0x21b379;},'clone':function(){const _0x5bd588=_0x1aaa02;var _0x585d4a=_0x4d5ff1[_0x5bd588(0x22e)][_0x5bd588(0x4bb)](this);return _0x585d4a['_hash']=this[_0x5bd588(0x232)]['clone'](),_0x585d4a;}});function _0x5e1b64(_0x42deed,_0x4af939,_0x3cd3e2,_0x458088,_0x573fbb,_0x16a17d,_0x19be0f){var _0x2ebc2f=_0x42deed+(_0x4af939&_0x3cd3e2|~_0x4af939&_0x458088)+_0x573fbb+_0x19be0f;return(_0x2ebc2f<<_0x16a17d|_0x2ebc2f>>>0x20-_0x16a17d)+_0x4af939;}function _0xf72439(_0x516dc7,_0x3f48bf,_0x4c2034,_0x1e1f99,_0x57ecc1,_0x5c475b,_0x5e757a){var _0x705a70=_0x516dc7+(_0x3f48bf&_0x1e1f99|_0x4c2034&~_0x1e1f99)+_0x57ecc1+_0x5e757a;return(_0x705a70<<_0x5c475b|_0x705a70>>>0x20-_0x5c475b)+_0x3f48bf;}function _0x4a9127(_0xf948b3,_0x36b95c,_0x2f69e4,_0x33bc39,_0x251a71,_0x4fe079,_0x12b463){var _0x15eddb=_0xf948b3+(_0x36b95c^_0x2f69e4^_0x33bc39)+_0x251a71+_0x12b463;return(_0x15eddb<<_0x4fe079|_0x15eddb>>>0x20-_0x4fe079)+_0x36b95c;}function _0x2c8b96(_0x2ba253,_0x5d1082,_0x193b9c,_0x158fa,_0x3845a6,_0x2c0949,_0x291691){var _0x35ac7a=_0x2ba253+(_0x193b9c^(_0x5d1082|~_0x158fa))+_0x3845a6+_0x291691;return(_0x35ac7a<<_0x2c0949|_0x35ac7a>>>0x20-_0x2c0949)+_0x5d1082;}_0x264f26['MD5']=_0x4d5ff1['_createHelper'](_0x173490),_0x264f26['HmacMD5']=_0x4d5ff1[_0x1aaa02(0x5c8)](_0x173490);}(Math),_0x3cfd31[_0xd4cb6f(0x28e)];}));}(Gt)),Gt[_0x3e9ace(0x3a4)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x4ab17e=_0x1a7f07;return Qs||(Qs=0x1,function(_0x37f4a7,_0xa8e73b){(function(_0x3d32b0,_0x36095){_0x37f4a7['exports']=_0x36095(ue());}(Z,function(_0x5f287a){const _0x406931=_0x54d3;return(function(){const _0x238cbb=_0x54d3;var _0x25c990=_0x5f287a,_0x2cba1f=_0x25c990['lib'],_0x157ee1=_0x2cba1f[_0x238cbb(0x337)],_0x49da5c=_0x2cba1f[_0x238cbb(0x524)],_0x2ee9a2=_0x25c990[_0x238cbb(0x30b)],_0x35535b=[],_0x4cf706=_0x2ee9a2[_0x238cbb(0x566)]=_0x49da5c[_0x238cbb(0x38a)]({'_doReset':function(){const _0x450a28=_0x238cbb;this[_0x450a28(0x232)]=new _0x157ee1[(_0x450a28(0x3ae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2cd068,_0x25143d){const _0x2a9bc4=_0x238cbb;for(var _0x2dec1a=this[_0x2a9bc4(0x232)]['words'],_0x5d6a86=_0x2dec1a[0x0],_0x4b56fb=_0x2dec1a[0x1],_0x463ec3=_0x2dec1a[0x2],_0x462af6=_0x2dec1a[0x3],_0x488183=_0x2dec1a[0x4],_0x2a8344=0x0;_0x2a8344<0x50;_0x2a8344++){if(_0x2a8344<0x10)_0x35535b[_0x2a8344]=_0x2cd068[_0x25143d+_0x2a8344]|0x0;else{var _0x4b17c8=_0x35535b[_0x2a8344-0x3]^_0x35535b[_0x2a8344-0x8]^_0x35535b[_0x2a8344-0xe]^_0x35535b[_0x2a8344-0x10];_0x35535b[_0x2a8344]=_0x4b17c8<<0x1|_0x4b17c8>>>0x1f;}var _0x385991=(_0x5d6a86<<0x5|_0x5d6a86>>>0x1b)+_0x488183+_0x35535b[_0x2a8344];_0x2a8344<0x14?_0x385991+=(_0x4b56fb&_0x463ec3|~_0x4b56fb&_0x462af6)+0x5a827999:_0x2a8344<0x28?_0x385991+=(_0x4b56fb^_0x463ec3^_0x462af6)+0x6ed9eba1:_0x2a8344<0x3c?_0x385991+=(_0x4b56fb&_0x463ec3|_0x4b56fb&_0x462af6|_0x463ec3&_0x462af6)-0x70e44324:_0x385991+=(_0x4b56fb^_0x463ec3^_0x462af6)-0x359d3e2a,_0x488183=_0x462af6,_0x462af6=_0x463ec3,_0x463ec3=_0x4b56fb<<0x1e|_0x4b56fb>>>0x2,_0x4b56fb=_0x5d6a86,_0x5d6a86=_0x385991;}_0x2dec1a[0x0]=_0x2dec1a[0x0]+_0x5d6a86|0x0,_0x2dec1a[0x1]=_0x2dec1a[0x1]+_0x4b56fb|0x0,_0x2dec1a[0x2]=_0x2dec1a[0x2]+_0x463ec3|0x0,_0x2dec1a[0x3]=_0x2dec1a[0x3]+_0x462af6|0x0,_0x2dec1a[0x4]=_0x2dec1a[0x4]+_0x488183|0x0;},'_doFinalize':function(){const _0x419f29=_0x238cbb;var _0x3f7708=this[_0x419f29(0x1c7)],_0x314a21=_0x3f7708[_0x419f29(0x4e2)],_0x48288=this[_0x419f29(0x533)]*0x8,_0x43ed81=_0x3f7708[_0x419f29(0x331)]*0x8;return _0x314a21[_0x43ed81>>>0x5]|=0x80<<0x18-_0x43ed81%0x20,_0x314a21[(_0x43ed81+0x40>>>0x9<<0x4)+0xe]=Math[_0x419f29(0x358)](_0x48288/0x100000000),_0x314a21[(_0x43ed81+0x40>>>0x9<<0x4)+0xf]=_0x48288,_0x3f7708[_0x419f29(0x331)]=_0x314a21['length']*0x4,this[_0x419f29(0x28c)](),this[_0x419f29(0x232)];},'clone':function(){const _0x2aa429=_0x238cbb;var _0x4234bc=_0x49da5c['clone'][_0x2aa429(0x4bb)](this);return _0x4234bc[_0x2aa429(0x232)]=this[_0x2aa429(0x232)]['clone'](),_0x4234bc;}});_0x25c990['SHA1']=_0x49da5c[_0x238cbb(0x2db)](_0x4cf706),_0x25c990[_0x238cbb(0x40d)]=_0x49da5c[_0x238cbb(0x5c8)](_0x4cf706);}()),_0x5f287a[_0x406931(0x566)];}));}(Kt)),Kt[_0x4ab17e(0x3a4)];}var zt={'exports':{}},ei;function La(){const _0x38893a=_0x1a7f07;return ei||(ei=0x1,function(_0x16cfaa,_0x1ab21d){(function(_0x114076,_0x439cb9){const _0x2ac8a9=_0x54d3;_0x16cfaa[_0x2ac8a9(0x3a4)]=_0x439cb9(ue());}(Z,function(_0x344b64){(function(){const _0x208ad8=_0x54d3;var _0x772d82=_0x344b64,_0x4ad03f=_0x772d82[_0x208ad8(0x525)],_0x42babb=_0x4ad03f[_0x208ad8(0x303)],_0x24a2db=_0x772d82[_0x208ad8(0x49f)],_0x1537ad=_0x24a2db[_0x208ad8(0x572)],_0x5cd700=_0x772d82[_0x208ad8(0x30b)];_0x5cd700['HMAC']=_0x42babb['extend']({'init':function(_0x330c74,_0x5b6180){const _0x346530=_0x208ad8;_0x330c74=this[_0x346530(0x41a)]=new _0x330c74[(_0x346530(0x3ae))](),typeof _0x5b6180=='string'&&(_0x5b6180=_0x1537ad['parse'](_0x5b6180));var _0x393bf1=_0x330c74['blockSize'],_0x56db23=_0x393bf1*0x4;_0x5b6180[_0x346530(0x331)]>_0x56db23&&(_0x5b6180=_0x330c74[_0x346530(0x20a)](_0x5b6180)),_0x5b6180['clamp']();for(var _0x3662c8=this['_oKey']=_0x5b6180[_0x346530(0x22e)](),_0x36e6d9=this[_0x346530(0x1dd)]=_0x5b6180['clone'](),_0x508ca2=_0x3662c8[_0x346530(0x4e2)],_0x571626=_0x36e6d9[_0x346530(0x4e2)],_0x25903e=0x0;_0x25903e<_0x393bf1;_0x25903e++)_0x508ca2[_0x25903e]^=0x5c5c5c5c,_0x571626[_0x25903e]^=0x36363636;_0x3662c8[_0x346530(0x331)]=_0x36e6d9[_0x346530(0x331)]=_0x56db23,this[_0x346530(0x348)]();},'reset':function(){const _0x2b5a09=_0x208ad8;var _0x1d22dd=this[_0x2b5a09(0x41a)];_0x1d22dd[_0x2b5a09(0x348)](),_0x1d22dd[_0x2b5a09(0x3d7)](this['_iKey']);},'update':function(_0x3f9322){const _0x291a77=_0x208ad8;return this[_0x291a77(0x41a)][_0x291a77(0x3d7)](_0x3f9322),this;},'finalize':function(_0x9d40d4){const _0x321687=_0x208ad8;var _0x340a60=this['_hasher'],_0x530b97=_0x340a60[_0x321687(0x20a)](_0x9d40d4);_0x340a60[_0x321687(0x348)]();var _0x172c99=_0x340a60['finalize'](this['_oKey']['clone']()[_0x321687(0x451)](_0x530b97));return _0x172c99;}});}());}));}(zt)),zt[_0x38893a(0x3a4)];}var ti;function ki(){return ti||(ti=0x1,function(_0x5eddc8,_0x551c4d){(function(_0x578986,_0x5b49b1,_0x4421f2){_0x5eddc8['exports']=_0x5b49b1(ue(),xa(),La());}(Z,function(_0x41486c){const _0x27acbb=_0x54d3;return(function(){const _0x46d89e=_0x54d3;var _0xf9f4ce=_0x41486c,_0xa60222=_0xf9f4ce[_0x46d89e(0x525)],_0x1e7ef4=_0xa60222['Base'],_0x1ea3e2=_0xa60222['WordArray'],_0x2857af=_0xf9f4ce[_0x46d89e(0x30b)],_0x3ca62f=_0x2857af[_0x46d89e(0x28e)],_0x1a20e3=_0x2857af['EvpKDF']=_0x1e7ef4[_0x46d89e(0x38a)]({'cfg':_0x1e7ef4[_0x46d89e(0x38a)]({'keySize':0x80/0x20,'hasher':_0x3ca62f,'iterations':0x1}),'init':function(_0x3fec0e){const _0x1842f4=_0x46d89e;this['cfg']=this[_0x1842f4(0x353)]['extend'](_0x3fec0e);},'compute':function(_0x56df3f,_0x3cc16b){const _0x194a7b=_0x46d89e;for(var _0xfacfab,_0x415b8a=this['cfg'],_0x319777=_0x415b8a['hasher']['create'](),_0x90502b=_0x1ea3e2[_0x194a7b(0x586)](),_0x2a670a=_0x90502b['words'],_0x2ba534=_0x415b8a[_0x194a7b(0x5a4)],_0x161f23=_0x415b8a[_0x194a7b(0x1c9)];_0x2a670a[_0x194a7b(0x5bc)]<_0x2ba534;){_0xfacfab&&_0x319777[_0x194a7b(0x3d7)](_0xfacfab),_0xfacfab=_0x319777[_0x194a7b(0x3d7)](_0x56df3f)[_0x194a7b(0x20a)](_0x3cc16b),_0x319777[_0x194a7b(0x348)]();for(var _0x18349e=0x1;_0x18349e<_0x161f23;_0x18349e++)_0xfacfab=_0x319777['finalize'](_0xfacfab),_0x319777[_0x194a7b(0x348)]();_0x90502b[_0x194a7b(0x451)](_0xfacfab);}return _0x90502b[_0x194a7b(0x331)]=_0x2ba534*0x4,_0x90502b;}});_0xf9f4ce[_0x46d89e(0x462)]=function(_0x588a18,_0x577d34,_0x1e8f25){const _0x27e35a=_0x46d89e;return _0x1a20e3[_0x27e35a(0x586)](_0x1e8f25)[_0x27e35a(0x568)](_0x588a18,_0x577d34);};}()),_0x41486c[_0x27acbb(0x462)];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Wi(){const _0x13b4ac=_0x1a7f07;return si||(si=0x1,function(_0x37a3b3,_0x2eaf0d){(function(_0x2a8e70,_0x182269,_0x5c6801){const _0x556b23=_0x54d3;_0x37a3b3[_0x556b23(0x3a4)]=_0x182269(ue(),ki());}(Z,function(_0x30c19c){const _0x1a3e43=_0x54d3;_0x30c19c['lib'][_0x1a3e43(0x2fc)]||function(_0x1080a5){const _0x162c44=_0x1a3e43;var _0x35b263=_0x30c19c,_0x3e6b13=_0x35b263[_0x162c44(0x525)],_0x2a49e7=_0x3e6b13[_0x162c44(0x303)],_0x5931f7=_0x3e6b13[_0x162c44(0x337)],_0x489b0f=_0x3e6b13[_0x162c44(0x42c)],_0x3a3071=_0x35b263[_0x162c44(0x49f)];_0x3a3071['Utf8'];var _0x110064=_0x3a3071['Base64'],_0x59fa04=_0x35b263['algo'],_0x39f4d0=_0x59fa04['EvpKDF'],_0x4efc0b=_0x3e6b13[_0x162c44(0x2fc)]=_0x489b0f[_0x162c44(0x38a)]({'cfg':_0x2a49e7[_0x162c44(0x38a)](),'createEncryptor':function(_0x4942b,_0x3c7435){return this['create'](this['_ENC_XFORM_MODE'],_0x4942b,_0x3c7435);},'createDecryptor':function(_0x16c91f,_0x5029d3){const _0x53895c=_0x162c44;return this[_0x53895c(0x586)](this[_0x53895c(0x24c)],_0x16c91f,_0x5029d3);},'init':function(_0x225bdd,_0x2da9cc,_0x456d0e){const _0x236926=_0x162c44;this[_0x236926(0x353)]=this[_0x236926(0x353)][_0x236926(0x38a)](_0x456d0e),this[_0x236926(0x4ab)]=_0x225bdd,this[_0x236926(0x520)]=_0x2da9cc,this[_0x236926(0x348)]();},'reset':function(){const _0x41fb66=_0x162c44;_0x489b0f['reset'][_0x41fb66(0x4bb)](this),this['_doReset']();},'process':function(_0x258632){const _0x500f4b=_0x162c44;return this[_0x500f4b(0x1ce)](_0x258632),this['_process']();},'finalize':function(_0x345dd7){const _0x20d8f7=_0x162c44;_0x345dd7&&this[_0x20d8f7(0x1ce)](_0x345dd7);var _0x15cda5=this[_0x20d8f7(0x329)]();return _0x15cda5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x52ae8c(_0x1df39e){const _0x23f9b2=_0x54d3;return typeof _0x1df39e==_0x23f9b2(0x3b1)?_0x3a13c5:_0x1bb3e7;}return function(_0x30b3fe){return{'encrypt':function(_0x1df24e,_0x4cc7c7,_0x184ac5){const _0x1295d4=_0x54d3;return _0x52ae8c(_0x4cc7c7)[_0x1295d4(0x255)](_0x30b3fe,_0x1df24e,_0x4cc7c7,_0x184ac5);},'decrypt':function(_0xbc5b8a,_0x41b732,_0x3ce8b8){const _0x505122=_0x54d3;return _0x52ae8c(_0x41b732)[_0x505122(0x38c)](_0x30b3fe,_0xbc5b8a,_0x41b732,_0x3ce8b8);}};};}())});_0x3e6b13[_0x162c44(0x5b5)]=_0x4efc0b['extend']({'_doFinalize':function(){var _0x11030b=this['_process'](!0x0);return _0x11030b;},'blockSize':0x1});var _0x5542e7=_0x35b263[_0x162c44(0x367)]={},_0x5b1007=_0x3e6b13['BlockCipherMode']=_0x2a49e7[_0x162c44(0x38a)]({'createEncryptor':function(_0x4f4a82,_0x2d4c5d){const _0x2aa07a=_0x162c44;return this['Encryptor'][_0x2aa07a(0x586)](_0x4f4a82,_0x2d4c5d);},'createDecryptor':function(_0x20c941,_0x42256f){const _0x6e090c=_0x162c44;return this['Decryptor'][_0x6e090c(0x586)](_0x20c941,_0x42256f);},'init':function(_0x4fd42f,_0x27bb87){const _0x2f0563=_0x162c44;this[_0x2f0563(0x2e4)]=_0x4fd42f,this[_0x2f0563(0x477)]=_0x27bb87;}}),_0x45910e=_0x5542e7[_0x162c44(0x37d)]=(function(){const _0x43cbeb=_0x162c44;var _0x5840a8=_0x5b1007[_0x43cbeb(0x38a)]();_0x5840a8[_0x43cbeb(0x422)]=_0x5840a8[_0x43cbeb(0x38a)]({'processBlock':function(_0x12c87c,_0x47e43b){const _0x1ead87=_0x43cbeb;var _0x3f3930=this[_0x1ead87(0x2e4)],_0x5a7c6=_0x3f3930[_0x1ead87(0x370)];_0x242856['call'](this,_0x12c87c,_0x47e43b,_0x5a7c6),_0x3f3930[_0x1ead87(0x5af)](_0x12c87c,_0x47e43b),this[_0x1ead87(0x4b4)]=_0x12c87c[_0x1ead87(0x515)](_0x47e43b,_0x47e43b+_0x5a7c6);}}),_0x5840a8[_0x43cbeb(0x2f3)]=_0x5840a8[_0x43cbeb(0x38a)]({'processBlock':function(_0x3ed6dc,_0x2cd884){const _0x102476=_0x43cbeb;var _0x4f3658=this[_0x102476(0x2e4)],_0x43b77f=_0x4f3658[_0x102476(0x370)],_0x2cd722=_0x3ed6dc['slice'](_0x2cd884,_0x2cd884+_0x43b77f);_0x4f3658['decryptBlock'](_0x3ed6dc,_0x2cd884),_0x242856['call'](this,_0x3ed6dc,_0x2cd884,_0x43b77f),this[_0x102476(0x4b4)]=_0x2cd722;}});function _0x242856(_0x5d5461,_0x49d7af,_0x5b39bd){const _0x468cf6=_0x43cbeb;var _0x56be84,_0x2ff64a=this[_0x468cf6(0x477)];_0x2ff64a?(_0x56be84=_0x2ff64a,this[_0x468cf6(0x477)]=_0x1080a5):_0x56be84=this[_0x468cf6(0x4b4)];for(var _0x33bf40=0x0;_0x33bf40<_0x5b39bd;_0x33bf40++)_0x5d5461[_0x49d7af+_0x33bf40]^=_0x56be84[_0x33bf40];}return _0x5840a8;}()),_0x41486a=_0x35b263[_0x162c44(0x1dc)]={},_0x49026d=_0x41486a[_0x162c44(0x517)]={'pad':function(_0x1cbd67,_0x2b9b15){const _0x4fbd4c=_0x162c44;for(var _0x5c2cc6=_0x2b9b15*0x4,_0x2acfe3=_0x5c2cc6-_0x1cbd67[_0x4fbd4c(0x331)]%_0x5c2cc6,_0x1fcdec=_0x2acfe3<<0x18|_0x2acfe3<<0x10|_0x2acfe3<<0x8|_0x2acfe3,_0x1be253=[],_0x1a0a49=0x0;_0x1a0a49<_0x2acfe3;_0x1a0a49+=0x4)_0x1be253['push'](_0x1fcdec);var _0x3bbc0b=_0x5931f7['create'](_0x1be253,_0x2acfe3);_0x1cbd67[_0x4fbd4c(0x451)](_0x3bbc0b);},'unpad':function(_0x85b177){const _0xf585fc=_0x162c44;var _0x439d67=_0x85b177[_0xf585fc(0x4e2)][_0x85b177[_0xf585fc(0x331)]-0x1>>>0x2]&0xff;_0x85b177[_0xf585fc(0x331)]-=_0x439d67;}};_0x3e6b13[_0x162c44(0x4e3)]=_0x4efc0b['extend']({'cfg':_0x4efc0b[_0x162c44(0x353)]['extend']({'mode':_0x45910e,'padding':_0x49026d}),'reset':function(){const _0x1da423=_0x162c44;var _0x25fee3;_0x4efc0b['reset'][_0x1da423(0x4bb)](this);var _0x2a99ad=this['cfg'],_0x9076db=_0x2a99ad['iv'],_0x276b11=_0x2a99ad[_0x1da423(0x367)];this[_0x1da423(0x4ab)]==this[_0x1da423(0x3a3)]?_0x25fee3=_0x276b11['createEncryptor']:(_0x25fee3=_0x276b11[_0x1da423(0x58a)],this[_0x1da423(0x205)]=0x1),this['_mode']&&this[_0x1da423(0x4df)]['__creator']==_0x25fee3?this['_mode'][_0x1da423(0x3ae)](this,_0x9076db&&_0x9076db[_0x1da423(0x4e2)]):(this['_mode']=_0x25fee3[_0x1da423(0x4bb)](_0x276b11,this,_0x9076db&&_0x9076db[_0x1da423(0x4e2)]),this[_0x1da423(0x4df)][_0x1da423(0x4a2)]=_0x25fee3);},'_doProcessBlock':function(_0x5450b9,_0x29b5da){const _0x5f2570=_0x162c44;this['_mode'][_0x5f2570(0x444)](_0x5450b9,_0x29b5da);},'_doFinalize':function(){const _0x120abc=_0x162c44;var _0x8d3180,_0x2f038c=this[_0x120abc(0x353)][_0x120abc(0x200)];return this[_0x120abc(0x4ab)]==this['_ENC_XFORM_MODE']?(_0x2f038c[_0x120abc(0x1dc)](this[_0x120abc(0x1c7)],this['blockSize']),_0x8d3180=this[_0x120abc(0x28c)](!0x0)):(_0x8d3180=this[_0x120abc(0x28c)](!0x0),_0x2f038c[_0x120abc(0x2b6)](_0x8d3180)),_0x8d3180;},'blockSize':0x80/0x20});var _0x5f5117=_0x3e6b13['CipherParams']=_0x2a49e7[_0x162c44(0x38a)]({'init':function(_0x28d82b){const _0x2fd123=_0x162c44;this[_0x2fd123(0x361)](_0x28d82b);},'toString':function(_0x342e0b){const _0x1fd155=_0x162c44;return(_0x342e0b||this[_0x1fd155(0x398)])[_0x1fd155(0x52c)](this);}}),_0x573976=_0x35b263[_0x162c44(0x2ac)]={},_0xb14c70=_0x573976[_0x162c44(0x464)]={'stringify':function(_0x10caf3){const _0x391dcc=_0x162c44;var _0x5e3d0f,_0xbcff86=_0x10caf3['ciphertext'],_0x25d5c8=_0x10caf3[_0x391dcc(0x38b)];return _0x25d5c8?_0x5e3d0f=_0x5931f7[_0x391dcc(0x586)]([0x53616c74,0x65645f5f])[_0x391dcc(0x451)](_0x25d5c8)['concat'](_0xbcff86):_0x5e3d0f=_0xbcff86,_0x5e3d0f[_0x391dcc(0x297)](_0x110064);},'parse':function(_0x32a2a3){const _0x57cb3d=_0x162c44;var _0x318e9e,_0x4e7e5b=_0x110064[_0x57cb3d(0x379)](_0x32a2a3),_0x2bcddd=_0x4e7e5b[_0x57cb3d(0x4e2)];return _0x2bcddd[0x0]==0x53616c74&&_0x2bcddd[0x1]==0x65645f5f&&(_0x318e9e=_0x5931f7[_0x57cb3d(0x586)](_0x2bcddd[_0x57cb3d(0x515)](0x2,0x4)),_0x2bcddd[_0x57cb3d(0x27b)](0x0,0x4),_0x4e7e5b[_0x57cb3d(0x331)]-=0x10),_0x5f5117[_0x57cb3d(0x586)]({'ciphertext':_0x4e7e5b,'salt':_0x318e9e});}},_0x1bb3e7=_0x3e6b13[_0x162c44(0x560)]=_0x2a49e7['extend']({'cfg':_0x2a49e7[_0x162c44(0x38a)]({'format':_0xb14c70}),'encrypt':function(_0x590e59,_0x3dcc1a,_0x49b41f,_0x416972){const _0x3499a5=_0x162c44;_0x416972=this[_0x3499a5(0x353)]['extend'](_0x416972);var _0x39e946=_0x590e59[_0x3499a5(0x41b)](_0x49b41f,_0x416972),_0x4892f1=_0x39e946[_0x3499a5(0x20a)](_0x3dcc1a),_0xa3d40c=_0x39e946[_0x3499a5(0x353)];return _0x5f5117[_0x3499a5(0x586)]({'ciphertext':_0x4892f1,'key':_0x49b41f,'iv':_0xa3d40c['iv'],'algorithm':_0x590e59,'mode':_0xa3d40c[_0x3499a5(0x367)],'padding':_0xa3d40c[_0x3499a5(0x200)],'blockSize':_0x590e59[_0x3499a5(0x370)],'formatter':_0x416972['format']});},'decrypt':function(_0x1fd184,_0x3597d3,_0x998beb,_0x416986){const _0x4ad0f0=_0x162c44;_0x416986=this['cfg'][_0x4ad0f0(0x38a)](_0x416986),_0x3597d3=this['_parse'](_0x3597d3,_0x416986['format']);var _0x28ef88=_0x1fd184[_0x4ad0f0(0x58a)](_0x998beb,_0x416986)['finalize'](_0x3597d3[_0x4ad0f0(0x268)]);return _0x28ef88;},'_parse':function(_0x4bf031,_0x573f4e){const _0xe7a182=_0x162c44;return typeof _0x4bf031==_0xe7a182(0x3b1)?_0x573f4e[_0xe7a182(0x379)](_0x4bf031,this):_0x4bf031;}}),_0x9a49bf=_0x35b263[_0x162c44(0x5ce)]={},_0x4df15d=_0x9a49bf[_0x162c44(0x464)]={'execute':function(_0x25ee19,_0x12c17b,_0x42e699,_0x40a64e,_0x4be167){const _0x50bc34=_0x162c44;if(_0x40a64e||(_0x40a64e=_0x5931f7[_0x50bc34(0x463)](0x40/0x8)),_0x4be167)var _0x232bc4=_0x39f4d0['create']({'keySize':_0x12c17b+_0x42e699,'hasher':_0x4be167})[_0x50bc34(0x568)](_0x25ee19,_0x40a64e);else var _0x232bc4=_0x39f4d0[_0x50bc34(0x586)]({'keySize':_0x12c17b+_0x42e699})['compute'](_0x25ee19,_0x40a64e);var _0x59f9be=_0x5931f7[_0x50bc34(0x586)](_0x232bc4['words'][_0x50bc34(0x515)](_0x12c17b),_0x42e699*0x4);return _0x232bc4[_0x50bc34(0x331)]=_0x12c17b*0x4,_0x5f5117['create']({'key':_0x232bc4,'iv':_0x59f9be,'salt':_0x40a64e});}},_0x3a13c5=_0x3e6b13['PasswordBasedCipher']=_0x1bb3e7['extend']({'cfg':_0x1bb3e7['cfg'][_0x162c44(0x38a)]({'kdf':_0x4df15d}),'encrypt':function(_0x175c0d,_0x38fc4b,_0x16a7b6,_0x1d139d){const _0x19703f=_0x162c44;_0x1d139d=this[_0x19703f(0x353)]['extend'](_0x1d139d);var _0x48c729=_0x1d139d['kdf'][_0x19703f(0x44b)](_0x16a7b6,_0x175c0d[_0x19703f(0x5a4)],_0x175c0d['ivSize'],_0x1d139d[_0x19703f(0x38b)],_0x1d139d['hasher']);_0x1d139d['iv']=_0x48c729['iv'];var _0x465d3a=_0x1bb3e7[_0x19703f(0x255)][_0x19703f(0x4bb)](this,_0x175c0d,_0x38fc4b,_0x48c729[_0x19703f(0x29a)],_0x1d139d);return _0x465d3a[_0x19703f(0x361)](_0x48c729),_0x465d3a;},'decrypt':function(_0x25f728,_0x26e733,_0x5d77ab,_0x48fdb6){const _0x38282d=_0x162c44;_0x48fdb6=this[_0x38282d(0x353)][_0x38282d(0x38a)](_0x48fdb6),_0x26e733=this[_0x38282d(0x4e0)](_0x26e733,_0x48fdb6[_0x38282d(0x2ac)]);var _0x27fa00=_0x48fdb6[_0x38282d(0x5ce)][_0x38282d(0x44b)](_0x5d77ab,_0x25f728[_0x38282d(0x5a4)],_0x25f728['ivSize'],_0x26e733[_0x38282d(0x38b)],_0x48fdb6[_0x38282d(0x29d)]);_0x48fdb6['iv']=_0x27fa00['iv'];var _0x5c7bfe=_0x1bb3e7['decrypt'][_0x38282d(0x4bb)](this,_0x25f728,_0x26e733,_0x27fa00['key'],_0x48fdb6);return _0x5c7bfe;}});}();}));}(qt)),qt[_0x13b4ac(0x3a4)];}(function(_0x10b475,_0x3dbcd8){(function(_0x93254e,_0x1a1853,_0x30bd82){_0x10b475['exports']=_0x1a1853(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x33336e){const _0x6d08a6=_0x54d3;return(function(){const _0x51b821=_0x54d3;var _0x38ac56=_0x33336e,_0x513926=_0x38ac56[_0x51b821(0x525)],_0x1dfffe=_0x513926['BlockCipher'],_0x1fe434=_0x38ac56[_0x51b821(0x30b)],_0x31a6c0=[],_0x2cadda=[],_0x542ed7=[],_0xbfca72=[],_0x75f0b8=[],_0x26b978=[],_0x239738=[],_0x4970b2=[],_0x850fb3=[],_0x3b958e=[];(function(){for(var _0x332543=[],_0x66df0b=0x0;_0x66df0b<0x100;_0x66df0b++)_0x66df0b<0x80?_0x332543[_0x66df0b]=_0x66df0b<<0x1:_0x332543[_0x66df0b]=_0x66df0b<<0x1^0x11b;for(var _0x3e1437=0x0,_0x2dba2f=0x0,_0x66df0b=0x0;_0x66df0b<0x100;_0x66df0b++){var _0x5c6bca=_0x2dba2f^_0x2dba2f<<0x1^_0x2dba2f<<0x2^_0x2dba2f<<0x3^_0x2dba2f<<0x4;_0x5c6bca=_0x5c6bca>>>0x8^_0x5c6bca&0xff^0x63,_0x31a6c0[_0x3e1437]=_0x5c6bca,_0x2cadda[_0x5c6bca]=_0x3e1437;var _0x2db15c=_0x332543[_0x3e1437],_0x206464=_0x332543[_0x2db15c],_0x57dde6=_0x332543[_0x206464],_0x393f92=_0x332543[_0x5c6bca]*0x101^_0x5c6bca*0x1010100;_0x542ed7[_0x3e1437]=_0x393f92<<0x18|_0x393f92>>>0x8,_0xbfca72[_0x3e1437]=_0x393f92<<0x10|_0x393f92>>>0x10,_0x75f0b8[_0x3e1437]=_0x393f92<<0x8|_0x393f92>>>0x18,_0x26b978[_0x3e1437]=_0x393f92;var _0x393f92=_0x57dde6*0x1010101^_0x206464*0x10001^_0x2db15c*0x101^_0x3e1437*0x1010100;_0x239738[_0x5c6bca]=_0x393f92<<0x18|_0x393f92>>>0x8,_0x4970b2[_0x5c6bca]=_0x393f92<<0x10|_0x393f92>>>0x10,_0x850fb3[_0x5c6bca]=_0x393f92<<0x8|_0x393f92>>>0x18,_0x3b958e[_0x5c6bca]=_0x393f92,_0x3e1437?(_0x3e1437=_0x2db15c^_0x332543[_0x332543[_0x332543[_0x57dde6^_0x2db15c]]],_0x2dba2f^=_0x332543[_0x332543[_0x2dba2f]]):_0x3e1437=_0x2dba2f=0x1;}}());var _0x118954=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5b3407=_0x1fe434[_0x51b821(0x3a1)]=_0x1dfffe[_0x51b821(0x38a)]({'_doReset':function(){const _0x3fd1fa=_0x51b821;var _0x4a240e;if(!(this[_0x3fd1fa(0x2f6)]&&this[_0x3fd1fa(0x4e6)]===this[_0x3fd1fa(0x520)])){for(var _0x1785dd=this[_0x3fd1fa(0x4e6)]=this[_0x3fd1fa(0x520)],_0x3fca76=_0x1785dd['words'],_0x297240=_0x1785dd[_0x3fd1fa(0x331)]/0x4,_0x1f75f2=this[_0x3fd1fa(0x2f6)]=_0x297240+0x6,_0x4b17d4=(_0x1f75f2+0x1)*0x4,_0x5c3de1=this[_0x3fd1fa(0x3cf)]=[],_0x1c18f4=0x0;_0x1c18f4<_0x4b17d4;_0x1c18f4++)_0x1c18f4<_0x297240?_0x5c3de1[_0x1c18f4]=_0x3fca76[_0x1c18f4]:(_0x4a240e=_0x5c3de1[_0x1c18f4-0x1],_0x1c18f4%_0x297240?_0x297240>0x6&&_0x1c18f4%_0x297240==0x4&&(_0x4a240e=_0x31a6c0[_0x4a240e>>>0x18]<<0x18|_0x31a6c0[_0x4a240e>>>0x10&0xff]<<0x10|_0x31a6c0[_0x4a240e>>>0x8&0xff]<<0x8|_0x31a6c0[_0x4a240e&0xff]):(_0x4a240e=_0x4a240e<<0x8|_0x4a240e>>>0x18,_0x4a240e=_0x31a6c0[_0x4a240e>>>0x18]<<0x18|_0x31a6c0[_0x4a240e>>>0x10&0xff]<<0x10|_0x31a6c0[_0x4a240e>>>0x8&0xff]<<0x8|_0x31a6c0[_0x4a240e&0xff],_0x4a240e^=_0x118954[_0x1c18f4/_0x297240|0x0]<<0x18),_0x5c3de1[_0x1c18f4]=_0x5c3de1[_0x1c18f4-_0x297240]^_0x4a240e);for(var _0x1ac713=this['_invKeySchedule']=[],_0x4511f6=0x0;_0x4511f6<_0x4b17d4;_0x4511f6++){var _0x1c18f4=_0x4b17d4-_0x4511f6;if(_0x4511f6%0x4)var _0x4a240e=_0x5c3de1[_0x1c18f4];else var _0x4a240e=_0x5c3de1[_0x1c18f4-0x4];_0x4511f6<0x4||_0x1c18f4<=0x4?_0x1ac713[_0x4511f6]=_0x4a240e:_0x1ac713[_0x4511f6]=_0x239738[_0x31a6c0[_0x4a240e>>>0x18]]^_0x4970b2[_0x31a6c0[_0x4a240e>>>0x10&0xff]]^_0x850fb3[_0x31a6c0[_0x4a240e>>>0x8&0xff]]^_0x3b958e[_0x31a6c0[_0x4a240e&0xff]];}}},'encryptBlock':function(_0x5349a1,_0x576bf5){const _0x3daef1=_0x51b821;this[_0x3daef1(0x4b9)](_0x5349a1,_0x576bf5,this[_0x3daef1(0x3cf)],_0x542ed7,_0xbfca72,_0x75f0b8,_0x26b978,_0x31a6c0);},'decryptBlock':function(_0x14d5e5,_0x20061d){const _0x3bef84=_0x51b821;var _0x5ef457=_0x14d5e5[_0x20061d+0x1];_0x14d5e5[_0x20061d+0x1]=_0x14d5e5[_0x20061d+0x3],_0x14d5e5[_0x20061d+0x3]=_0x5ef457,this[_0x3bef84(0x4b9)](_0x14d5e5,_0x20061d,this[_0x3bef84(0x2f7)],_0x239738,_0x4970b2,_0x850fb3,_0x3b958e,_0x2cadda);var _0x5ef457=_0x14d5e5[_0x20061d+0x1];_0x14d5e5[_0x20061d+0x1]=_0x14d5e5[_0x20061d+0x3],_0x14d5e5[_0x20061d+0x3]=_0x5ef457;},'_doCryptBlock':function(_0x4e75b7,_0x46ed08,_0x170d69,_0x2fdd85,_0x4a6391,_0x3e26f0,_0x397fa4,_0x3c2270){const _0x407ac0=_0x51b821;for(var _0x79cf82=this[_0x407ac0(0x2f6)],_0x45423c=_0x4e75b7[_0x46ed08]^_0x170d69[0x0],_0x24ecd4=_0x4e75b7[_0x46ed08+0x1]^_0x170d69[0x1],_0x16170c=_0x4e75b7[_0x46ed08+0x2]^_0x170d69[0x2],_0x5d7da7=_0x4e75b7[_0x46ed08+0x3]^_0x170d69[0x3],_0x2c486b=0x4,_0x57355c=0x1;_0x57355c<_0x79cf82;_0x57355c++){var _0x48a926=_0x2fdd85[_0x45423c>>>0x18]^_0x4a6391[_0x24ecd4>>>0x10&0xff]^_0x3e26f0[_0x16170c>>>0x8&0xff]^_0x397fa4[_0x5d7da7&0xff]^_0x170d69[_0x2c486b++],_0x495548=_0x2fdd85[_0x24ecd4>>>0x18]^_0x4a6391[_0x16170c>>>0x10&0xff]^_0x3e26f0[_0x5d7da7>>>0x8&0xff]^_0x397fa4[_0x45423c&0xff]^_0x170d69[_0x2c486b++],_0x2f7fc4=_0x2fdd85[_0x16170c>>>0x18]^_0x4a6391[_0x5d7da7>>>0x10&0xff]^_0x3e26f0[_0x45423c>>>0x8&0xff]^_0x397fa4[_0x24ecd4&0xff]^_0x170d69[_0x2c486b++],_0x528ee6=_0x2fdd85[_0x5d7da7>>>0x18]^_0x4a6391[_0x45423c>>>0x10&0xff]^_0x3e26f0[_0x24ecd4>>>0x8&0xff]^_0x397fa4[_0x16170c&0xff]^_0x170d69[_0x2c486b++];_0x45423c=_0x48a926,_0x24ecd4=_0x495548,_0x16170c=_0x2f7fc4,_0x5d7da7=_0x528ee6;}var _0x48a926=(_0x3c2270[_0x45423c>>>0x18]<<0x18|_0x3c2270[_0x24ecd4>>>0x10&0xff]<<0x10|_0x3c2270[_0x16170c>>>0x8&0xff]<<0x8|_0x3c2270[_0x5d7da7&0xff])^_0x170d69[_0x2c486b++],_0x495548=(_0x3c2270[_0x24ecd4>>>0x18]<<0x18|_0x3c2270[_0x16170c>>>0x10&0xff]<<0x10|_0x3c2270[_0x5d7da7>>>0x8&0xff]<<0x8|_0x3c2270[_0x45423c&0xff])^_0x170d69[_0x2c486b++],_0x2f7fc4=(_0x3c2270[_0x16170c>>>0x18]<<0x18|_0x3c2270[_0x5d7da7>>>0x10&0xff]<<0x10|_0x3c2270[_0x45423c>>>0x8&0xff]<<0x8|_0x3c2270[_0x24ecd4&0xff])^_0x170d69[_0x2c486b++],_0x528ee6=(_0x3c2270[_0x5d7da7>>>0x18]<<0x18|_0x3c2270[_0x45423c>>>0x10&0xff]<<0x10|_0x3c2270[_0x24ecd4>>>0x8&0xff]<<0x8|_0x3c2270[_0x16170c&0xff])^_0x170d69[_0x2c486b++];_0x4e75b7[_0x46ed08]=_0x48a926,_0x4e75b7[_0x46ed08+0x1]=_0x495548,_0x4e75b7[_0x46ed08+0x2]=_0x2f7fc4,_0x4e75b7[_0x46ed08+0x3]=_0x528ee6;},'keySize':0x100/0x20});_0x38ac56[_0x51b821(0x3a1)]=_0x1dfffe[_0x51b821(0x2db)](_0x5b3407);}()),_0x33336e[_0x6d08a6(0x3a1)];}));}(ji));var $a=ji['exports'];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x465309,_0x3b68e7){(function(_0x39c57c,_0x288ae0){const _0x2f4090=_0x54d3;_0x465309[_0x2f4090(0x3a4)]=_0x288ae0(ue());}(Z,function(_0x54668c){const _0x5019c6=_0x54d3;return _0x54668c['enc'][_0x5019c6(0x572)];}));}(Fi));var Ba=Fi[_0x1a7f07(0x3a4)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x43f913,_0x101315){(function(_0x45d1ae,_0x2b0934){const _0x142535=_0x54d3;_0x43f913[_0x142535(0x3a4)]=_0x2b0934(ue());}(Z,function(_0x4926ef){return(function(){const _0x3006d5=_0x54d3;if(typeof ArrayBuffer==_0x3006d5(0x494)){var _0x3ef2ce=_0x4926ef,_0x276c8a=_0x3ef2ce[_0x3006d5(0x525)],_0x1620c7=_0x276c8a['WordArray'],_0x4ec33d=_0x1620c7[_0x3006d5(0x3ae)],_0x56f182=_0x1620c7[_0x3006d5(0x3ae)]=function(_0x29d1bc){const _0x400370=_0x3006d5;if(_0x29d1bc instanceof ArrayBuffer&&(_0x29d1bc=new Uint8Array(_0x29d1bc)),(_0x29d1bc instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x29d1bc instanceof Uint8ClampedArray||_0x29d1bc instanceof Int16Array||_0x29d1bc instanceof Uint16Array||_0x29d1bc instanceof Int32Array||_0x29d1bc instanceof Uint32Array||_0x29d1bc instanceof Float32Array||_0x29d1bc instanceof Float64Array)&&(_0x29d1bc=new Uint8Array(_0x29d1bc['buffer'],_0x29d1bc[_0x400370(0x42a)],_0x29d1bc['byteLength'])),_0x29d1bc instanceof Uint8Array){for(var _0xb3f42a=_0x29d1bc['byteLength'],_0x4769b5=[],_0x36d9e0=0x0;_0x36d9e0<_0xb3f42a;_0x36d9e0++)_0x4769b5[_0x36d9e0>>>0x2]|=_0x29d1bc[_0x36d9e0]<<0x18-_0x36d9e0%0x4*0x8;_0x4ec33d[_0x400370(0x4bb)](this,_0x4769b5,_0xb3f42a);}else _0x4ec33d[_0x400370(0x49a)](this,arguments);};_0x56f182['prototype']=_0x1620c7;}}()),_0x4926ef['lib']['WordArray'];}));}(Vi));var Wa=Vi[_0x1a7f07(0x3a4)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x2ef3d5,_0x30963a){(function(_0x33181f,_0x4a946f,_0x49aa77){const _0x408e59=_0x54d3;_0x2ef3d5[_0x408e59(0x3a4)]=_0x4a946f(ue(),Wi());}(Z,function(_0x28bc87){const _0xdd2da1=_0x54d3;return _0x28bc87[_0xdd2da1(0x1dc)][_0xdd2da1(0x57e)]={'pad':function(){},'unpad':function(){}},_0x28bc87['pad']['NoPadding'];}));}(Gi));var Va=Gi[_0x1a7f07(0x3a4)];const Ga=at(Va);function Ya(_0x1af6f1,_0x2a1b99){const _0x15c0c8=_0x1a7f07,_0x133368=_0x2a1b99-_0x1af6f1['length']%_0x2a1b99,_0x7f0efa=String['fromCharCode'](_0x133368)[_0x15c0c8(0x392)](_0x133368);return _0x1af6f1+_0x7f0efa;}function Ka(_0x3f2a95,_0x37cdf9){const _0x1231ef=_0x1a7f07,_0x3ead33=Fa[_0x1231ef(0x463)](0x10),_0x50ec44=Ya(_0x3f2a95,0x10),_0xee4255=Ha[_0x1231ef(0x255)](ka['parse'](_0x50ec44),ii['parse'](_0x37cdf9),{'iv':_0x3ead33,'padding':Ga});return _0x3ead33['concat'](_0xee4255[_0x1231ef(0x268)])['toString'](ii);}function za(){const _0x2f7b1e=_0x1a7f07,_0x4f320f=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x4f320f){const _0x2f4286={'time':Math[_0x2f7b1e(0x358)](Date[_0x2f7b1e(0x3f7)]()/0x3e8),'domain':location['hostname']};return Ka(JSON['stringify'](_0x2f4286),_0x4f320f);}}var qa=Object[_0x1a7f07(0x5b3)],Xa=Object[_0x1a7f07(0x298)],Ja=(_0x1e65cb,_0x51a118,_0x301c61,_0x1db074)=>{const _0x1cfe51=_0x1a7f07;for(var _0x383d73=_0x1db074>0x1?void 0x0:_0x1db074?Xa(_0x51a118,_0x301c61):_0x51a118,_0x4689d8=_0x1e65cb[_0x1cfe51(0x5bc)]-0x1,_0x20b221;_0x4689d8>=0x0;_0x4689d8--)(_0x20b221=_0x1e65cb[_0x4689d8])&&(_0x383d73=(_0x1db074?_0x20b221(_0x51a118,_0x301c61,_0x383d73):_0x20b221(_0x383d73))||_0x383d73);return _0x1db074&&_0x383d73&&qa(_0x51a118,_0x301c61,_0x383d73),_0x383d73;},Za=(_0x509c6e,_0x163c03)=>(_0x1b0320,_0x564aba)=>_0x163c03(_0x1b0320,_0x564aba,_0x509c6e);let Tt=class{constructor(_0x505906){const _0x3435e1=_0x1a7f07;this[_0x3435e1(0x24d)]=_0x505906,this[_0x3435e1(0x594)]();}[_0x1a7f07(0x594)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3a5cd1,_0x422b5d)=>{const _0x2760dc=_0x54d3,_0x1b67af=_0x3a5cd1[_0x2760dc(0x3bc)],_0x4d4650=za();return _0x4d4650&&_0x1b67af[_0x2760dc(0x3f4)](_0x2760dc(0x1ef),_0x4d4650),_0x422b5d(_0x3a5cd1);}});}};Tt=Ja([Za(0x0,_0x5cf6ec(_0x337047))],Tt);var Qa=Object[_0x1a7f07(0x5b3)],ec=Object[_0x1a7f07(0x298)],tc=(_0x654316,_0x474767,_0x50215b,_0x12fdb2)=>{const _0x3585bd=_0x1a7f07;for(var _0x5b578b=_0x12fdb2>0x1?void 0x0:_0x12fdb2?ec(_0x474767,_0x50215b):_0x474767,_0x34e34c=_0x654316[_0x3585bd(0x5bc)]-0x1,_0xecd20b;_0x34e34c>=0x0;_0x34e34c--)(_0xecd20b=_0x654316[_0x34e34c])&&(_0x5b578b=(_0x12fdb2?_0xecd20b(_0x474767,_0x50215b,_0x5b578b):_0xecd20b(_0x5b578b))||_0x5b578b);return _0x12fdb2&&_0x5b578b&&Qa(_0x474767,_0x50215b,_0x5b578b),_0x5b578b;},Xt=(_0x7a01f5,_0x4043dd)=>(_0x41bdde,_0x1cabab)=>_0x4043dd(_0x41bdde,_0x1cabab,_0x7a01f5);const sc=[_0x1a7f07(0x339),_0x1a7f07(0x50e),_0x1a7f07(0x5a3),_0x1a7f07(0x5a8),_0x1a7f07(0x4f2)],ic=0x5*0x400*0x400,nc=_0x1a7f07(0x42e),rc='/universer-api/stream/file/upload',oc=_0x1a7f07(0x40f),ac=_0x1a7f07(0x4a9);let hs=class{constructor(_0x214df6,_0x331b81,_0x7b91a6){const _0x4eb7bc=_0x1a7f07;g(this,_0x4eb7bc(0x254),0x0),g(this,_0x4eb7bc(0x39d),new _0x50574e()),g(this,'change$',this[_0x4eb7bc(0x39d)]),g(this,_0x4eb7bc(0x263),new Map()),(this[_0x4eb7bc(0x24d)]=_0x214df6,this[_0x4eb7bc(0x428)]=_0x331b81,this['_univerInstanceService']=_0x7b91a6);}[_0x1a7f07(0x567)](_0x1e72a5){const _0x57b401=_0x1a7f07;this[_0x57b401(0x254)]=_0x1e72a5,this[_0x57b401(0x39d)]['next'](_0x1e72a5);}[_0x1a7f07(0x3f8)](_0x1dfd83,_0x179f79){const _0x1a5893=_0x1a7f07;if(_0x179f79===_0x346cdb['BASE64']){const _0x1990b9=new Image();return _0x1990b9[_0x1a5893(0x2f5)]=_0x1dfd83,_0x1990b9;}return this[_0x1a5893(0x263)][_0x1a5893(0x59a)](_0x1dfd83);}[_0x1a7f07(0x490)](_0x20a7f4,_0x23b8bd,_0x353e13){const _0x4d2709=_0x1a7f07;_0x23b8bd===_0x346cdb[_0x4d2709(0x1d7)]||_0x353e13==null||this[_0x4d2709(0x263)]['set'](_0x20a7f4,_0x353e13);}async[_0x1a7f07(0x413)](_0x236575){const _0x373b66=_0x1a7f07;try{const _0x275578=this[_0x373b66(0x25c)](this[_0x373b66(0x5a1)](),''+_0x236575),_0x2fcfdd=(await this['_httpService'][_0x373b66(0x59a)](_0x275578))['body'];if(_0x2fcfdd[_0x373b66(0x3eb)]&&_0x2fcfdd[_0x373b66(0x3eb)][_0x373b66(0x434)]===Ri['OK']){const _0x287ca8=new URL(_0x2fcfdd['url'],this[_0x373b66(0x582)]())[_0x373b66(0x297)]();return Promise['resolve'](_0x287ca8);}return Promise[_0x373b66(0x57a)](_0x2fcfdd[_0x373b66(0x3eb)]);}catch(_0x20c52e){return Promise[_0x373b66(0x57a)](_0x20c52e);}}async[_0x1a7f07(0x351)](_0x55cf12){const _0x2cb19a=_0x1a7f07;let _0x2c2e38='';if(!sc[_0x2cb19a(0x41e)](_0x55cf12[_0x2cb19a(0x23c)]))return this[_0x2cb19a(0x284)](),Promise['reject'](new Error(_0x3ce856[_0x2cb19a(0x29e)]));if(_0x55cf12[_0x2cb19a(0x252)]>ic)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3ce856['ERROR_EXCEED_SIZE']));try{const _0x4f1925=new FormData();_0x4f1925[_0x2cb19a(0x4dc)](_0x2cb19a(0x264),_0x55cf12);const _0x319d22=this[_0x2cb19a(0x44e)][_0x2cb19a(0x3db)](),_0x440737=_0x319d22==null?void 0x0:_0x319d22[_0x2cb19a(0x5c1)]();if(!_0x440737)throw new Error(_0x2cb19a(0x4d6));const _0x517c72=this['_getUploadFileURL']()+'?size='+_0x55cf12[_0x2cb19a(0x252)]['toString']()+_0x2cb19a(0x3c0)+yi['UnitEmbedded']+_0x2cb19a(0x223)+encodeURIComponent(_0x440737),_0x5c97b5=await(await fetch(_0x517c72,{'method':_0x2cb19a(0x212),'body':_0x4f1925}))[_0x2cb19a(0x563)]();if(typeof _0x5c97b5['FileId']!=_0x2cb19a(0x3b1))return this[_0x2cb19a(0x284)](),Promise[_0x2cb19a(0x57a)](new Error(_0x3ce856[_0x2cb19a(0x3d6)]));_0x2c2e38=_0x5c97b5['FileId'];}catch{return this[_0x2cb19a(0x284)](),Promise[_0x2cb19a(0x57a)](new Error(_0x3ce856[_0x2cb19a(0x3d6)]));}return new Promise((_0x57762d,_0xa01fd3)=>{const _0x5cc92b=new FileReader();_0x5cc92b['readAsDataURL'](_0x55cf12),_0x5cc92b['onload']=_0x448fb7=>{const _0x6c27d2=_0x54d3;var _0x440abb;const _0x3d883d=(_0x440abb=_0x448fb7[_0x6c27d2(0x4d8)])==null?void 0x0:_0x440abb[_0x6c27d2(0x2a5)];if(_0x3d883d==null){this[_0x6c27d2(0x284)](),_0xa01fd3(new Error(_0x3ce856['ERROR_IMAGE']));return;}const _0x105e0f=_0x235991[_0x6c27d2(0x59c)](0x6);_0x57762d({'imageId':_0x105e0f,'imageSourceType':_0x346cdb[_0x6c27d2(0x45a)],'source':_0x2c2e38,'base64Cache':_0x3d883d,'status':_0x3ce856[_0x6c27d2(0x3b2)]}),this[_0x6c27d2(0x284)]();};});}[_0x1a7f07(0x1d1)](){const _0x2a9118=_0x1a7f07;var _0x49982b,_0x2f3f9a;const _0x380aaf=this['_configService']['getConfig'](nc),_0x598a5a=this[_0x2a9118(0x428)][_0x2a9118(0x1bf)](ie);return(_0x2f3f9a=(_0x49982b=_0x598a5a==null?void 0x0:_0x598a5a[_0x2a9118(0x427)])!=null?_0x49982b:_0x380aaf)!=null?_0x2f3f9a:rc;}[_0x1a7f07(0x5a1)](){const _0x1c7073=_0x1a7f07;var _0x1350a5,_0x24c3c7;const _0x1df300=this[_0x1c7073(0x428)][_0x1c7073(0x1bf)](oc),_0x2865a3=this['_configService'][_0x1c7073(0x1bf)](ie);return(_0x24c3c7=(_0x1350a5=_0x2865a3==null?void 0x0:_0x2865a3[_0x1c7073(0x421)])!=null?_0x1350a5:_0x1df300)!=null?_0x24c3c7:ac;}[_0x1a7f07(0x582)](){const _0x5ef77f=_0x1a7f07;var _0x1a7a14;const _0xdbf8f7=this[_0x5ef77f(0x428)][_0x5ef77f(0x1bf)](ie);return(_0x1a7a14=_0xdbf8f7==null?void 0x0:_0xdbf8f7[_0x5ef77f(0x3e6)])!=null?_0x1a7a14:location[_0x5ef77f(0x2fb)];}['_replaceFileID'](_0x1b95c6,_0x157081){const _0x4aefff=_0x1a7f07;return _0x1b95c6[_0x4aefff(0x5ab)](_0x4aefff(0x588),_0x157081);}[_0x1a7f07(0x284)](){const _0x4aa4b5=_0x1a7f07;this['_waitCount']-=0x1,this[_0x4aa4b5(0x39d)][_0x4aa4b5(0x265)](this[_0x4aa4b5(0x254)]);}};hs=tc([Xt(0x0,_0x5cf6ec(_0x337047)),Xt(0x1,_0x34b905),Xt(0x2,_0x5cf6ec(_0x1726a1))],hs);var cc=Object['defineProperty'],hc=Object['getOwnPropertyDescriptor'],lc=(_0x37ec9e,_0x539b86,_0x440cee,_0x34e97f)=>{for(var _0x4daf86=_0x34e97f>0x1?void 0x0:_0x34e97f?hc(_0x539b86,_0x440cee):_0x539b86,_0x3aa711=_0x37ec9e['length']-0x1,_0x55be64;_0x3aa711>=0x0;_0x3aa711--)(_0x55be64=_0x37ec9e[_0x3aa711])&&(_0x4daf86=(_0x34e97f?_0x55be64(_0x539b86,_0x440cee,_0x4daf86):_0x55be64(_0x4daf86))||_0x4daf86);return _0x34e97f&&_0x4daf86&&cc(_0x539b86,_0x440cee,_0x4daf86),_0x4daf86;},Qe=(_0x57de06,_0x4e01ed)=>(_0x35f3ab,_0x3d1d64)=>_0x4e01ed(_0x35f3ab,_0x3d1d64,_0x57de06);let Rt=class extends _0x1cb902{constructor(_0x52b0c1,_0x73497d,_0x58f4f5,_0x4cb970,_0x131cd6){const _0x22c5e8=_0x1a7f07;super(),this[_0x22c5e8(0x4d5)]=_0x52b0c1,this['_univerInstanceService']=_0x73497d,this[_0x22c5e8(0x47b)]=_0x58f4f5,this[_0x22c5e8(0x2cd)]=_0x4cb970,this['_localeService']=_0x131cd6,this['_initUnitPermissionChange'](),this[_0x22c5e8(0x3d3)]();}[_0x1a7f07(0x3d3)](){const _0x3c660b=_0x1a7f07,_0x3b4fc0=async _0xa9b246=>{const _0x5b3d80=_0x54d3;(await this['_collaborationSessionService']['requireSession'](_0xa9b246))['event$'][_0x5b3d80(0x1cf)](_0x5cdcf5(_0x136af7=>_0x136af7[_0x5b3d80(0x215)]===_0x4e3c97[_0x5b3d80(0x585)]),_0x2d8749(this[_0x5b3d80(0x22c)]))['subscribe'](_0x56a9d6=>{const _0x13998b=_0x5b3d80,_0x3b6408=_0x56a9d6,{reason:_0x33a7da}=_0x3b6408[_0x13998b(0x32e)];this[_0x13998b(0x4d5)][_0x13998b(0x59a)](_0x521fac)['show']({'type':_0x4c03fa['Error'],'content':this[_0x13998b(0x47a)]['t'](_0x13998b(0x5cc))+'('+_0x33a7da+')'}),this[_0x13998b(0x47b)][_0x13998b(0x288)](new _0x5bdffd(_0xa9b246)['id'],!0x1),this['_collaborationSessionService'][_0x13998b(0x365)](_0xa9b246);});};_0x407b74(this[_0x3c660b(0x44e)][_0x3c660b(0x5b8)](_0x31d58f[_0x3c660b(0x3a2)]),this[_0x3c660b(0x44e)][_0x3c660b(0x5b8)](_0x31d58f[_0x3c660b(0x51a)]))[_0x3c660b(0x1cf)](_0x4e0bfc(_0x50b9f3=>_0x50b9f3[_0x3c660b(0x5c1)]()),_0x5cdcf5(_0x54b499=>!_0x47f4f5(_0x54b499)),_0x2d8749(this['dispose$']))[_0x3c660b(0x29f)](_0x49be40=>{_0x3b4fc0(_0x49be40);});}[_0x1a7f07(0x24b)](){const _0x360a90=_0x1a7f07,_0x4acd47=async _0x35562a=>{const _0x5bfbb2=_0x54d3;(await this['_collaborationSessionService'][_0x5bfbb2(0x2ad)](_0x35562a))[_0x5bfbb2(0x46f)][_0x5bfbb2(0x1cf)](_0x5cdcf5(_0x9fc4ed=>_0x9fc4ed['eventID']===_0x4e3c97[_0x5bfbb2(0x576)]),_0x2d8749(this[_0x5bfbb2(0x22c)]))[_0x5bfbb2(0x29f)](_0x2bd1f0=>{const _0x1f357c=_0x5bfbb2,_0x44fe31=_0x2bd1f0,{objectId:_0x5a42d8}=_0x44fe31['data'],_0x2696df=this[_0x1f357c(0x4d5)][_0x1f357c(0x59a)](_0xdfbf90);_0x5a42d8===_0x35562a?_0x2696df['initWorkbookPermissionChange'](_0x35562a):_0x2696df[_0x1f357c(0x4cf)](_0x35562a,_0x5a42d8);});};_0x407b74(this[_0x360a90(0x44e)][_0x360a90(0x5b8)](_0x31d58f['UNIVER_SHEET']),this[_0x360a90(0x44e)][_0x360a90(0x5b8)](_0x31d58f['UNIVER_DOC']))['pipe'](_0x4e0bfc(_0x1f5159=>_0x1f5159[_0x360a90(0x5c1)]()),_0x5cdcf5(_0x5678e6=>!_0x47f4f5(_0x5678e6)),_0x2d8749(this[_0x360a90(0x22c)]))['subscribe'](_0x52d089=>{_0x4acd47(_0x52d089);});}};Rt=lc([Qe(0x0,_0x5cf6ec(_0xc0c089)),Qe(0x1,_0x1726a1),Qe(0x2,_0x1083e0),Qe(0x3,_0x5cf6ec(Ae)),Qe(0x4,_0x5cf6ec(_0x51f47a))],Rt);var _c=Object[_0x1a7f07(0x5b3)],uc=Object['getOwnPropertyDescriptor'],dc=(_0x2a7f1e,_0x3ee43a,_0x3682b0,_0xbdfa05)=>{const _0x4e63e6=_0x1a7f07;for(var _0x15eaf4=_0xbdfa05>0x1?void 0x0:_0xbdfa05?uc(_0x3ee43a,_0x3682b0):_0x3ee43a,_0x4c033c=_0x2a7f1e[_0x4e63e6(0x5bc)]-0x1,_0x24a6bb;_0x4c033c>=0x0;_0x4c033c--)(_0x24a6bb=_0x2a7f1e[_0x4c033c])&&(_0x15eaf4=(_0xbdfa05?_0x24a6bb(_0x3ee43a,_0x3682b0,_0x15eaf4):_0x24a6bb(_0x15eaf4))||_0x15eaf4);return _0xbdfa05&&_0x15eaf4&&_c(_0x3ee43a,_0x3682b0,_0x15eaf4),_0x15eaf4;},ni=(_0x84ddd0,_0x29440a)=>(_0x9f39e8,_0x4ff807)=>_0x29440a(_0x9f39e8,_0x4ff807,_0x84ddd0);let ls=class{constructor(_0x4799c2,_0x18580f){const _0x17a7a5=_0x1a7f07;this[_0x17a7a5(0x428)]=_0x4799c2,this[_0x17a7a5(0x24d)]=_0x18580f;}async['getUnitOnRev'](_0x587ab9,_0x5e79ee){const _0x33204b=_0x1a7f07;var _0x29919a;const {unitID:_0xac132d,type:_0x41b15f,revision:_0x4fece6=0x0}=_0x5e79ee,_0x92424a=this[_0x33204b(0x4d4)]()+'/'+_0x41b15f+_0x33204b(0x27f)+_0xac132d+_0x33204b(0x3cb)+_0x4fece6,_0x5753d0=(await this[_0x33204b(0x24d)][_0x33204b(0x59a)](_0x92424a))[_0x33204b(0x312)],_0x479282=(_0x29919a=_0x5753d0[_0x33204b(0x211)])==null?void 0x0:_0x29919a[_0x33204b(0x2ca)];if(_0x479282){const _0x33ac06=_0x479282==null?void 0x0:_0x479282[_0x33204b(0x385)],_0x42f86e=_0x1c89a9[_0x33204b(0x4ca)](_0x330a6d(_0x33ac06));_0x479282[_0x33204b(0x385)]=_0x42f86e,Object[_0x33204b(0x555)](_0x479282['sheets'])[_0x33204b(0x547)](([,_0x3fc174])=>{const _0x4369c5=_0x33204b,_0x354e7b=_0x3fc174[_0x4369c5(0x385)],_0x348a0c=_0x1c89a9[_0x4369c5(0x4ca)](_0x330a6d(_0x354e7b));_0x3fc174[_0x4369c5(0x385)]=_0x348a0c;});}return _0x5753d0;}async['getSheetBlock'](_0x40096c,_0x16d69a){const _0xc5cb5e=_0x1a7f07,{unitID:_0x3b65fe,type:_0x27b7cd,blockID:_0xbebb0b}=_0x16d69a,_0x4add0a=this[_0xc5cb5e(0x322)]()+'/'+_0x27b7cd+_0xc5cb5e(0x27f)+_0x3b65fe+_0xc5cb5e(0x2cb)+_0xbebb0b;return(await this[_0xc5cb5e(0x24d)][_0xc5cb5e(0x59a)](_0x4add0a))[_0xc5cb5e(0x312)];}async[_0x1a7f07(0x38e)](_0x26d890,_0x48e6a1){const _0x173df2=_0x1a7f07,{unitID:_0x178db7,type:_0x1bb987,blockID:_0x54c002}=_0x48e6a1,_0x588a80=this['_getAPIPrefix']()+'/block/'+_0x1bb987+_0x173df2(0x27f)+_0x178db7+_0x173df2(0x2cb)+_0x54c002;return(await this['_httpService'][_0x173df2(0x59a)](_0x588a80))['body'];}async[_0x1a7f07(0x36d)](_0x353b07,_0x4b0e9d){const _0x35b3f2=_0x1a7f07,{unitID:_0x3c4596,type:_0xfa1870,from:_0x30bd89,to:_0x1b5579}=_0x4b0e9d,_0x5e30db=this[_0x35b3f2(0x322)]()+'/'+_0xfa1870+_0x35b3f2(0x27f)+_0x3c4596+_0x35b3f2(0x52f)+_0x30bd89+_0x35b3f2(0x2bc)+_0x1b5579;return(await this['_httpService'][_0x35b3f2(0x59a)](_0x5e30db))[_0x35b3f2(0x312)];}['_getSnapshotAPIPrefix'](){const _0x2798bb=_0x1a7f07;var _0xe18dc3;return(_0xe18dc3=this[_0x2798bb(0x428)][_0x2798bb(0x1bf)](ar))!=null?_0xe18dc3:this[_0x2798bb(0x322)]();}[_0x1a7f07(0x322)](){const _0x31c49a=_0x1a7f07;var _0x207a97,_0x46e29e;const _0x52fe96=this[_0x31c49a(0x428)]['getConfig'](rr),_0x500dbd=this[_0x31c49a(0x428)][_0x31c49a(0x1bf)](ie);return(_0x46e29e=(_0x207a97=_0x500dbd==null?void 0x0:_0x500dbd[_0x31c49a(0x32f)])!=null?_0x207a97:_0x52fe96)!=null?_0x46e29e:or;}async['getResourcesRequest'](_0x4fa95e,_0xf6649a){const _0x4c8e07=_0x1a7f07,_0x505c18=_0x4c8e07(0x2a0)+_0xf6649a[_0x4c8e07(0x23c)]+'/unit/'+_0xf6649a[_0x4c8e07(0x5b2)]+_0x4c8e07(0x4fb);return(await this[_0x4c8e07(0x24d)]['get'](_0x505c18,{'params':{'resourceId':JSON[_0x4c8e07(0x52c)](_0xf6649a[_0x4c8e07(0x308)])}}))[_0x4c8e07(0x312)];}[_0x1a7f07(0x491)](){const _0x363050=_0x1a7f07;throw new Error(_0x363050(0x4fc));}[_0x1a7f07(0x406)](){const _0x1ee543=_0x1a7f07;throw new Error(_0x1ee543(0x4fc));}[_0x1a7f07(0x20c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1a7f07(0x27a)](){const _0x4f8ae6=_0x1a7f07;throw new Error(_0x4f8ae6(0x4fc));}[_0x1a7f07(0x346)](){const _0x112432=_0x1a7f07;throw new Error(_0x112432(0x4fc));}};ls=dc([ni(0x0,_0x34b905),ni(0x1,_0x5cf6ec(_0x337047))],ls);var fc=Object[_0x1a7f07(0x5b3)],vc=Object['getOwnPropertyDescriptor'],mc=(_0x2470fe,_0x43052b,_0x4a1eb4,_0x4f336c)=>{const _0x43efe0=_0x1a7f07;for(var _0x296ee7=_0x4f336c>0x1?void 0x0:_0x4f336c?vc(_0x43052b,_0x4a1eb4):_0x43052b,_0x1b73bb=_0x2470fe[_0x43efe0(0x5bc)]-0x1,_0x1e6722;_0x1b73bb>=0x0;_0x1b73bb--)(_0x1e6722=_0x2470fe[_0x1b73bb])&&(_0x296ee7=(_0x4f336c?_0x1e6722(_0x43052b,_0x4a1eb4,_0x296ee7):_0x1e6722(_0x296ee7))||_0x296ee7);return _0x4f336c&&_0x296ee7&&fc(_0x43052b,_0x4a1eb4,_0x296ee7),_0x296ee7;},et=(_0x6c5cb8,_0xa52185)=>(_0x55743b,_0x27754c)=>_0xa52185(_0x55743b,_0x27754c,_0x6c5cb8);let _s=class extends _0x3c699e{constructor(_0x2ca6b6,_0x4ddd32,_0xf5588e,_0x4f9636,_0x67e51f){const _0x27b06f=_0x1a7f07;super(_0x2ca6b6,_0x4ddd32,_0xf5588e),this[_0x27b06f(0x4af)]=_0x4f9636,this[_0x27b06f(0x345)]=_0x67e51f;}[_0x1a7f07(0x243)](_0x1cc529,_0xad62b9){const _0x5d9a4c=_0x1a7f07,_0x5134d=this[_0x5d9a4c(0x2f1)](_0x1cc529);if(_0x5134d)try{const _0x29acf0=this[_0x5d9a4c(0x3f2)](_0x5134d,_0xad62b9);this['_substituteUndoStack'](_0x1cc529,_0x29acf0);}catch(_0x59b373){this[_0x5d9a4c(0x345)][_0x5d9a4c(0x3eb)](_0x5d9a4c(0x2c1),_0x59b373),this['_clearUndo'](_0x1cc529);}const _0x57f634=this[_0x5d9a4c(0x274)](_0x1cc529);if(_0x57f634)try{const _0x15514f=this['_transformStack'](_0x57f634,_0xad62b9);this[_0x5d9a4c(0x2b1)](_0x1cc529,_0x15514f);}catch(_0x4333dc){this[_0x5d9a4c(0x345)][_0x5d9a4c(0x3eb)](_0x4333dc),this[_0x5d9a4c(0x47e)](_0x1cc529);}}[_0x1a7f07(0x4f6)](_0x205a49){const _0x11b861=_0x1a7f07,_0x424003=this['_getUndoStack'](_0x205a49);_0x424003&&(_0x424003[_0x11b861(0x5bc)]=0x0,this[_0x11b861(0x2cc)]());}[_0x1a7f07(0x47e)](_0x4fefc5){const _0x3f49ac=_0x1a7f07,_0x190824=this['_getRedoStack'](_0x4fefc5);_0x190824&&(_0x190824['length']=0x0,this[_0x3f49ac(0x2cc)]());}[_0x1a7f07(0x26d)](_0x4f9faa,_0xb2d9cc){const _0x264421=_0x1a7f07;this[_0x264421(0x31c)][_0x264421(0x3f4)](_0x4f9faa,_0xb2d9cc),this['_updateStatus']();}[_0x1a7f07(0x2b1)](_0x92d701,_0xb504b6){const _0x5cd1c3=_0x1a7f07;this[_0x5cd1c3(0x309)]['set'](_0x92d701,_0xb504b6),this[_0x5cd1c3(0x2cc)]();}[_0x1a7f07(0x3f2)](_0x1e03a4,_0x1585a3){const _0x241636=_0x1a7f07,_0x3f3daf=[];let _0x449368=_0x1585a3,_0x4b05c4=_0x1585a3;for(let _0x3aea44=_0x1e03a4[_0x241636(0x5bc)]-0x1;_0x3aea44>=0x0;_0x3aea44--){const {unitID:_0x1285e1,undoMutations:_0x5050ff,redoMutations:_0xd8413c}=_0x1e03a4[_0x3aea44],_0x306643=this[_0x241636(0x4af)][_0x241636(0x469)](_0x449368,_0x5050ff),_0x2e4bc6=this[_0x241636(0x4af)][_0x241636(0x469)](_0x4b05c4,_0xd8413c);if(_0xa87d82(_0x306643)||_0xa87d82(_0x2e4bc6)){this[_0x241636(0x345)][_0x241636(0x3eb)](_0x241636(0x2c1),_0x241636(0x556),_0x306643,_0x2e4bc6);break;}_0x449368=_0x306643[_0x241636(0x435)],_0x4b05c4=_0x2e4bc6['c1Prime'],_0x3f3daf[_0x241636(0x4b6)]({'unitID':_0x1285e1,'undoMutations':_0x306643[_0x241636(0x2e3)],'redoMutations':_0x2e4bc6[_0x241636(0x2e3)]});}return _0x3f3daf[_0x241636(0x1d9)]();}};_s=mc([et(0x0,_0x1726a1),et(0x1,_0x322b66),et(0x2,_0x49ed20),et(0x3,_0x2746ae),et(0x4,_0x1e210b)],_s);class pc extends _0x1cb902{constructor(){const _0x2e6f9b=_0x1a7f07;super(),g(this,_0x2e6f9b(0x5c9)),this[_0x2e6f9b(0x5c9)]=_0x47503d(window,_0x2e6f9b(0x396))['pipe'](_0x171184(this['dispose$']),_0x2b0828(0x1),_0x527bfc(void 0x0));}[_0x1a7f07(0x5a5)](_0x3cf9b3,_0x1fc751,_0x1c2fdd=!0x1){const _0x1a6e0c=_0x1a7f07,_0x4108c3=new URL(window[_0x1a6e0c(0x51d)]['href']);_0x4108c3[_0x1a6e0c(0x1da)]['set'](_0x3cf9b3,_0x1fc751),_0x1c2fdd?window['history'][_0x1a6e0c(0x4ba)]('','',_0x4108c3[_0x1a6e0c(0x297)]()):window[_0x1a6e0c(0x5c6)][_0x1a6e0c(0x3a0)]('','',_0x4108c3[_0x1a6e0c(0x297)]());}[_0x1a7f07(0x1d3)](_0x11289d,_0x382326=!0x1){const _0x47fece=_0x1a7f07,_0x436208=new URL(window[_0x47fece(0x51d)]['href']);_0x436208[_0x47fece(0x1da)][_0x47fece(0x473)](_0x11289d),_0x382326?window[_0x47fece(0x5c6)]['replaceState']('','',_0x436208[_0x47fece(0x297)]()):window['history'][_0x47fece(0x3a0)]('','',_0x436208[_0x47fece(0x297)]());}[_0x1a7f07(0x23e)](_0x420dd5){const _0x379432=_0x1a7f07;var _0x55e8fb;return(_0x55e8fb=new URL(window[_0x379432(0x51d)][_0x379432(0x407)])[_0x379432(0x1da)][_0x379432(0x59a)](_0x420dd5))!=null?_0x55e8fb:void 0x0;}}var Yi=Object['defineProperty'],gc=Object[_0x1a7f07(0x298)],Sc=(_0x438d05,_0x547172,_0x363155)=>_0x547172 in _0x438d05?Yi(_0x438d05,_0x547172,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x363155}):_0x438d05[_0x547172]=_0x363155,Ic=(_0x4cc60e,_0x16c0ae,_0x4d18b,_0x4d5b34)=>{const _0x4423b6=_0x1a7f07;for(var _0x1a1b5b=_0x4d5b34>0x1?void 0x0:_0x4d5b34?gc(_0x16c0ae,_0x4d18b):_0x16c0ae,_0x1fac98=_0x4cc60e[_0x4423b6(0x5bc)]-0x1,_0xe33823;_0x1fac98>=0x0;_0x1fac98--)(_0xe33823=_0x4cc60e[_0x1fac98])&&(_0x1a1b5b=(_0x4d5b34?_0xe33823(_0x16c0ae,_0x4d18b,_0x1a1b5b):_0xe33823(_0x1a1b5b))||_0x1a1b5b);return _0x4d5b34&&_0x1a1b5b&&Yi(_0x16c0ae,_0x4d18b,_0x1a1b5b),_0x1a1b5b;},_t=(_0x39c2b5,_0x529f72)=>(_0xdd3c5a,_0x375d67)=>_0x529f72(_0xdd3c5a,_0x375d67,_0x39c2b5),Cc=(_0x23d55d,_0x2f7974,_0x4c8108)=>Sc(_0x23d55d,_0x2f7974+'',_0x4c8108);const Ec=_0x1a7f07(0x432);let us=class extends _0x1dbbfd{constructor(_0x105ad4=Er,_0x34b056,_0x14cdee,_0x5424d1,_0x675be9){const _0x263263=_0x1a7f07;super(),this['_config']=_0x105ad4,this[_0x263263(0x345)]=_0x34b056,this[_0x263263(0x1e2)]=_0x14cdee,this[_0x263263(0x4d5)]=_0x5424d1,this['_configService']=_0x675be9;const {..._0x66bea9}=this[_0x263263(0x1e0)];this[_0x263263(0x428)]['setConfig'](ie,_0x66bea9);}[_0x1a7f07(0x2c8)](){const _0x4ef381=_0x1a7f07;this[_0x4ef381(0x4f0)](),this[_0x4ef381(0x5b6)]();}[_0x1a7f07(0x32c)](){_0x9ace4b(this['_injector'],[[Et]]);}[_0x1a7f07(0x2c3)](){const _0x52a471=_0x1a7f07;this[_0x52a471(0x378)]();}[_0x1a7f07(0x4f0)](){const _0x51b95a=_0x1a7f07;var _0x3a51e5,_0xa4830b,_0x56a200,_0x58e492;this[_0x51b95a(0x4d5)][_0x51b95a(0x581)](_0x5c2e54)&&this[_0x51b95a(0x345)][_0x51b95a(0x3eb)]('[UniverCollaborationClientPlugin]',_0x51b95a(0x1e9));const _0x3bffc2=[[_0x5c2e54,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x138fc4],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0xa4830b=(_0x3a51e5=this[_0x51b95a(0x1e0)])==null?void 0x0:_0x3a51e5['socketService'])!=null?_0xa4830b:es}],[_0x5670c4,{'useClass':ls}],[_0x568d25,{'useClass':cs}],[_0xe3ad09,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x56a200=this[_0x51b95a(0x1e0)])!=null&&_0x56a200[_0x51b95a(0x210)]&&_0x3bffc2['push']([yt,{'useClass':so}]),_0x3cc00e(this[_0x51b95a(0x4d5)],_0x4907d0(_0x3bffc2,(_0x58e492=this[_0x51b95a(0x1e0)])==null?void 0x0:_0x58e492[_0x51b95a(0x31a)]));}[_0x1a7f07(0x378)](){const _0x2f5dc4=_0x1a7f07;this[_0x2f5dc4(0x4b1)](this[_0x2f5dc4(0x1e2)]['registerRenderModule'](_0x31d58f[_0x2f5dc4(0x51a)],[os])),this[_0x2f5dc4(0x4b1)](this[_0x2f5dc4(0x1e2)][_0x2f5dc4(0x2b5)](_0x31d58f[_0x2f5dc4(0x3a2)],[as]));}[_0x1a7f07(0x5b6)](){const _0x108048=_0x1a7f07;var _0x42b018,_0xbf0c;this[_0x108048(0x4d5)][_0x108048(0x59a)](_0x337047)[_0x108048(0x52a)]({'priority':0x14,'interceptor':_0x1afce2({'maxParallel':0x6})}),(_0x42b018=this['_config'])!=null&&_0x42b018[_0x108048(0x2dd)]||this[_0x108048(0x4d5)]['get'](q)[_0x108048(0x4ef)](),(_0xbf0c=this[_0x108048(0x1e0)])!=null&&_0xbf0c[_0x108048(0x580)]&&_0x9ace4b(this[_0x108048(0x4d5)],[[bt]]),_0x9ace4b(this[_0x108048(0x4d5)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x1a7f07(0x204),Ec),us=Ic([_0x12c346(_0x2f2f43,_0x2a32af),_t(0x1,_0x1e210b),_t(0x2,_0xa3e106),_t(0x3,_0x5cf6ec(_0xc0c089)),_t(0x4,_0x34b905)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
|
1
|
+
const _0xefeb96=_0x4451;(function(_0x50c03c,_0x9956a6){const _0x52f4e1=_0x4451,_0x43c0cb=_0x50c03c();while(!![]){try{const _0x2d2c46=-parseInt(_0x52f4e1(0x300))/0x1+parseInt(_0x52f4e1(0x178))/0x2+parseInt(_0x52f4e1(0x191))/0x3+-parseInt(_0x52f4e1(0x3f9))/0x4*(-parseInt(_0x52f4e1(0x16e))/0x5)+parseInt(_0x52f4e1(0x355))/0x6*(-parseInt(_0x52f4e1(0x176))/0x7)+parseInt(_0x52f4e1(0xde))/0x8+-parseInt(_0x52f4e1(0x1f1))/0x9*(-parseInt(_0x52f4e1(0x43a))/0xa);if(_0x2d2c46===_0x9956a6)break;else _0x43c0cb['push'](_0x43c0cb['shift']());}catch(_0x477e2c){_0x43c0cb['push'](_0x43c0cb['shift']());}}}(_0x41ec,0x74037));var Ki=Object['defineProperty'],zi=(_0x109305,_0x425486,_0x45a01d)=>_0x425486 in _0x109305?Ki(_0x109305,_0x425486,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45a01d}):_0x109305[_0x425486]=_0x45a01d,g=(_0x544ded,_0x1db248,_0xa1214e)=>zi(_0x544ded,typeof _0x1db248!=_0xefeb96(0x427)?_0x1db248+'':_0x1db248,_0xa1214e);import{createIdentifier as _0x346f91,Inject as _0x3099f4,Disposable as _0x4f89fd,DisposableCollection as _0x642676,toDisposable as _0x26357a,IConfigService as _0x4ea3e2,ILogService as _0x40d13a,UserManagerService as _0x5492bc,UniverInstanceType as _0x634e8e,IUniverInstanceService as _0x3ca09d,LocaleService as _0x6eefec,Optional as _0x118e7e,RxDisposable as _0x2f42db,Injector as _0x3676c8,Tools as _0x4d0489,ILocalStorageService as _0x30ee26,Rectangle as _0x22b767,ICommandService as _0x45feb8,DOC_RANGE_TYPE as _0x11763b,JSONX as _0x2c8f38,CommandType as _0x3d2d65,IPermissionService as _0x2d8777,IUndoRedoService as _0x277be1,sequenceExecute as _0x36bdde,debounce as _0x3d4248,COLORS as _0x2582ae,ColorKit as _0x4d3673,ThemeService as _0x959a84,fromEventSubject as _0x22b807,useDependency as _0x373422,connectInjector as _0x3da318,Workbook as _0x10baaa,isInternalEditorID as _0x1f4ea9,LocalUndoRedoService as _0x5dbb05,IContextService as _0x1494b4,DependentOn as _0x259825,Plugin as _0xa1ffef,touchDependencies as _0x18a2e1,IAuthzIoService as _0x5f2d19,registerDependencies as _0x38ffad,mergeOverrideWithDependencies as _0x388d33}from'@univerjs/core';import{Subject as _0x17e316,merge as _0x1b8a05,takeUntil as _0x41a6cf,BehaviorSubject as _0x1d1c4b,distinctUntilChanged as _0x97c859,fromEvent as _0x162ed6,ReplaySubject as _0x4efb30,take as _0x4a1f3b,map as _0x4376f4,shareReplay as _0x2881f3,of as _0x59a608,debounceTime as _0x5d1181,filter as _0x4847d3,switchMap as _0x18db0e,combineLatest as _0x2a2925,concatMap as _0x53bc20,mapTo as _0x431d26}from'rxjs';import{map as _0x348356,take as _0x28f002,filter as _0x353c46,delay as _0x3f70c2,throttleTime as _0x4c6098,takeUntil as _0x4c9419,switchMap as _0x26b330}from'rxjs/operators';import{MessageType as _0x336366,Tooltip as _0x8385b8}from'@univerjs/design';import{IBeforeCloseService as _0x32bb8b,IMessageService as _0x3480f5,INotificationService as _0x2c0f6e,useObservable as _0x56d905,BuiltInUIPart as _0x26d639,IUIPartsService as _0x3f682f}from'@univerjs/ui';import{HTTPService as _0x281aa7,WebSocketService as _0x300491,MergeInterceptorFactory as _0x2a72b9,HTTPRequest as _0x4d57e5,UniverNetworkPlugin as _0x2af1f2,ThresholdInterceptorFactory as _0x2b8df1}from'@univerjs/network';import{CollaborationEvent as _0x3b2ff1,parseChangesetToProtocol as _0x9bd98d,ISnapshotServerService as _0x45d794,isTransformMutationFailure as _0x1a9445,isTransformMutationsWithChangesetSuccess as _0xd4a330,ITransformService as _0x5c28bd,RevisionService as _0xa44bce,mapDocumentTypeToUniverType as _0x4c8b56,isTransformChangesetsSuccess as _0x3dbcae,CompressMutationService as _0x23472d,parseProtocolChangeset as _0x57931f,SnapshotService as _0x4f4dbd,textEncoder as _0x3a0532,b64DecodeUnicode as _0x4f7987,isTransformMutationsWithChangesetFailure as _0x227a64,UniverCollaborationPlugin as _0x1c5737}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x551180}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x34f062,DocStateChangeManagerService as _0x3afa8a,NodePositionConvertToCursor as _0x13d419,NodePositionConvertToRectRange as _0x3a943c,TEXT_RANGE_LAYER_INDEX as _0x1a678c,SetDocZoomRatioOperation as _0x20a856}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x195025,SetSelectionsOperation as _0xace6cf,InsertSheetMutation as _0x325473,EmptyMutation as _0x5c7ca1,WorkbookEditablePermission as _0x3b5145,RefRangeService as _0x43749e,EffectRefRangId as _0x4a5afd,handleIRemoveRow as _0x316f3c,handleIRemoveCol as _0x144949,handleMoveRange as _0x4d88f0,handleInsertRow as _0x233c37,handleInsertRangeMoveRight as _0x34ebeb,handleInsertRangeMoveDown as _0x121945,handleInsertCol as _0x30ee5d,handleDeleteRangeMoveUp as _0x1af049,handleDeleteRangeMoveLeft as _0x17f8d2,runRefRangeMutations as _0x5f03cd,SetWorksheetActivateCommand as _0x2f61e5}from'@univerjs/sheets';import{IRenderManagerService as _0x25b6aa,Shape as _0x22656b,Rect as _0x57a736,getColor as _0x12b38d,RegularPolygon as _0x45811e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xdbf232,Vector2 as _0x6b9a55}from'@univerjs/engine-render';import{DocSelectionManagerService as _0xf65f0a,RichTextEditingMutation as _0x58f2a8,SetTextSelectionsOperation as _0x15fd2f,DocSkeletonManagerService as _0x305dc6}from'@univerjs/docs';import{ImageSourceType as _0x4bcfac,ImageUploadStatusType as _0x69f6d2,IImageIoService as _0xb002a6}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x56c9f0,serializeRangeWithSheet as _0x5a7388}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x281e56,VIEWPORT_KEY as _0x8ed84e,getCoordByCell as _0x5b0afc,getSheetObject as _0x13d2ac,SheetPermissionInitController as _0x1315ea}from'@univerjs/sheets-ui';import _0x592b57,{forwardRef as _0x1fd374,useRef as _0x315c52,createElement as _0x57641b,useCallback as _0x39e7f2}from'react';import{IRemoteInstanceService as _0x29360e}from'@univerjs/rpc';const rr=_0xefeb96(0x404),or=_0xefeb96(0x38f),ar=_0xefeb96(0xd4),kc=_0xefeb96(0x473),cr=0x7d0,hr=_0xefeb96(0x4c0),lr=_0xefeb96(0x17b),_r='HEARTBEAT_INTERVAL',ur=0x7530,bi=_0xefeb96(0x17e),Ti=0x4e20,dr=0x4e20,fr=_0xefeb96(0x36a),vr=0x3,mr=_0xefeb96(0xe7),pr=0x3e8,gr=_0xefeb96(0x353),Sr=_0xefeb96(0x43b),Ir=_0xefeb96(0x2d9),Cr=_0xefeb96(0x1c9);var Ri=(_0xacf3d6=>(_0xacf3d6[_0xacf3d6[_0xefeb96(0x490)]=0x0]=_0xefeb96(0x490),_0xacf3d6[_0xacf3d6['OK']=0x1]='OK',_0xacf3d6[_0xacf3d6['INTERNAL_ERROR']=0x2]=_0xefeb96(0x25b),_0xacf3d6[_0xacf3d6[_0xefeb96(0x381)]=0x3]=_0xefeb96(0x381),_0xacf3d6[_0xacf3d6[_0xefeb96(0x495)]=0x4]=_0xefeb96(0x495),_0xacf3d6[_0xacf3d6[_0xefeb96(0x36c)]=0x5]='UNAUTHENTICATED',_0xacf3d6[_0xacf3d6[_0xefeb96(0x3f4)]=0x6]='ALREADY_EXISTS',_0xacf3d6[_0xacf3d6['INVALID_ARGUMENT']=0x7]=_0xefeb96(0x1af),_0xacf3d6[_0xacf3d6[_0xefeb96(0x1c3)]=0x8]=_0xefeb96(0x1c3),_0xacf3d6[_0xacf3d6[_0xefeb96(0x42d)]=0x9]=_0xefeb96(0x42d),_0xacf3d6[_0xacf3d6[_0xefeb96(0x388)]=0x1389]=_0xefeb96(0x388),_0xacf3d6[_0xacf3d6[_0xefeb96(0x3b1)]=0x1771]=_0xefeb96(0x3b1),_0xacf3d6[_0xacf3d6['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xefeb96(0x314),_0xacf3d6[_0xacf3d6[_0xefeb96(0x1ea)]=0x1773]=_0xefeb96(0x1ea),_0xacf3d6[_0xacf3d6[_0xefeb96(0x32f)]=0x1b59]='APPLY_REJECT',_0xacf3d6[_0xacf3d6[_0xefeb96(0x2fc)]=0x1b5a]=_0xefeb96(0x2fc),_0xacf3d6[_0xacf3d6[_0xefeb96(0x3df)]=0x1b5b]=_0xefeb96(0x3df),_0xacf3d6[_0xacf3d6[_0xefeb96(0x4c6)]=0x1b5c]=_0xefeb96(0x4c6),_0xacf3d6[_0xacf3d6[_0xefeb96(0x4a3)]=0x1b5d]=_0xefeb96(0x4a3),_0xacf3d6[_0xacf3d6[_0xefeb96(0x35c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xacf3d6[_0xacf3d6[_0xefeb96(0x20d)]=0x2329]=_0xefeb96(0x20d),_0xacf3d6[_0xacf3d6[_0xefeb96(0x13b)]=0x232a]=_0xefeb96(0x13b),_0xacf3d6[_0xacf3d6[_0xefeb96(0x12f)]=0x232b]=_0xefeb96(0x12f),_0xacf3d6[_0xacf3d6[_0xefeb96(0x2d0)]=0x232c]=_0xefeb96(0x2d0),_0xacf3d6[_0xacf3d6[_0xefeb96(0x149)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xacf3d6[_0xacf3d6[_0xefeb96(0x3c6)]=0x2711]=_0xefeb96(0x3c6),_0xacf3d6[_0xacf3d6[_0xefeb96(0x27a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xacf3d6[_0xacf3d6[_0xefeb96(0x1f5)]=0x2713]=_0xefeb96(0x1f5),_0xacf3d6[_0xacf3d6[_0xefeb96(0x154)]=0x2714]=_0xefeb96(0x154),_0xacf3d6[_0xacf3d6['UNRECOGNIZED']=-0x1]=_0xefeb96(0x3b8),_0xacf3d6))(Ri||{}),ce=(_0x580336=>(_0x580336[_0x580336[_0xefeb96(0x1e6)]=0x0]='UNIVER_UNKNOWN',_0x580336[_0x580336['UNIVER_DOC']=0x1]=_0xefeb96(0x4b4),_0x580336[_0x580336['UNIVER_SHEET']=0x2]=_0xefeb96(0x451),_0x580336[_0x580336['UNIVER_SLIDE']=0x3]=_0xefeb96(0x351),_0x580336[_0x580336[_0xefeb96(0x3fe)]=0x4]=_0xefeb96(0x3fe),_0x580336[_0x580336['UNRECOGNIZED']=-0x1]=_0xefeb96(0x3b8),_0x580336))(ce||{}),W=(_0x3c1d86=>(_0x3c1d86[_0x3c1d86[_0xefeb96(0x315)]=0x0]=_0xefeb96(0x315),_0x3c1d86[_0x3c1d86[_0xefeb96(0x4a1)]=0x1]=_0xefeb96(0x4a1),_0x3c1d86[_0x3c1d86[_0xefeb96(0xdf)]=0x2]=_0xefeb96(0xdf),_0x3c1d86[_0x3c1d86['LEAVE']=0x3]=_0xefeb96(0x175),_0x3c1d86[_0x3c1d86[_0xefeb96(0x2f7)]=0x4]=_0xefeb96(0x2f7),_0x3c1d86[_0x3c1d86[_0xefeb96(0x210)]=0x5]=_0xefeb96(0x210),_0x3c1d86[_0x3c1d86['RECV']=0x6]='RECV',_0x3c1d86[_0x3c1d86[_0xefeb96(0x3b8)]=-0x1]=_0xefeb96(0x3b8),_0x3c1d86))(W||{}),Is=(_0x5c5e7c=>(_0x5c5e7c[_0x5c5e7c[_0xefeb96(0x115)]=0x0]=_0xefeb96(0x115),_0x5c5e7c[_0x5c5e7c['OK']=0x1]='OK',_0x5c5e7c[_0x5c5e7c[_0xefeb96(0x364)]=0x2]=_0xefeb96(0x364),_0x5c5e7c[_0x5c5e7c[_0xefeb96(0x3b8)]=-0x1]=_0xefeb96(0x3b8),_0x5c5e7c))(Is||{}),yi=(_0x3c163c=>(_0x3c163c[_0x3c163c[_0xefeb96(0x1a9)]=0x0]=_0xefeb96(0x1a9),_0x3c163c[_0x3c163c[_0xefeb96(0x395)]=0x1]=_0xefeb96(0x395),_0x3c163c[_0x3c163c['HttpExport']=0x2]='HttpExport',_0x3c163c[_0x3c163c[_0xefeb96(0x439)]=0x3]=_0xefeb96(0x439),_0x3c163c[_0x3c163c[_0xefeb96(0x420)]=0x4]=_0xefeb96(0x420),_0x3c163c[_0x3c163c['UNRECOGNIZED']=-0x1]=_0xefeb96(0x3b8),_0x3c163c))(yi||{});const ie=_0xefeb96(0x49f),Er={};function br(_0x32bb95){const _0x4e6078=_0xefeb96;var _0x5bedb5,_0x1a154d,_0x2617f1,_0x338e46,_0x5d8688;const _0x4ba082=_0x32bb95[_0x4e6078(0x1f4)],_0xfbcb2c=JSON['parse'](_0x4ba082);switch(_0xfbcb2c[_0x4e6078(0x29c)]){case W[_0x4e6078(0x210)]:case W[_0x4e6078(0x4a1)]:{const _0x495849=_0xfbcb2c['infoRsp'];return{..._0xfbcb2c,'data':_0x495849,'cmd':_0xfbcb2c['cmd']};}case W['JOIN']:{const _0x401bb3=_0xfbcb2c[_0x4e6078(0x430)];return{..._0xfbcb2c,'data':_0x401bb3,'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};}case W[_0x4e6078(0x2c6)]:{const _0x4faee9=_0xfbcb2c[_0x4e6078(0x31c)];switch(_0x4faee9[_0x4e6078(0x2d6)]){case _0x3b2ff1[_0x4e6078(0xd7)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x5bedb5=_0x4faee9[_0x4e6078(0x2af)])==null?void 0x0:_0x5bedb5['cs']},'cmd':_0xfbcb2c['cmd']};case _0x3b2ff1[_0x4e6078(0x378)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x1a154d=_0x4faee9[_0x4e6078(0x1ae)])==null?void 0x0:_0x1a154d['cs']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['NEW_CHANGESETS']:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x2617f1=_0x4faee9['newCsEvent'])==null?void 0x0:_0x2617f1['cs']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x3c5)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x338e46=_0x4faee9[_0x4e6078(0x4af)])==null?void 0x0:_0x338e46['cs']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x23e)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':(_0x5d8688=_0x4faee9[_0x4e6078(0x37e)])==null?void 0x0:_0x5d8688['cs']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['UPDATE_CURSOR']:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x14f)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['USERS_ENTER']:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9['joinEvent']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x29a)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x30d)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x48c)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9['liveShareNewHost']},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['LIVESHARE_FETCH_OPERATIONS']:case _0x3b2ff1[_0x4e6078(0x1f6)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x39b)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x1f3)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x41a)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0xd6)]:return{..._0xfbcb2c,'data':_0x4faee9,'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x1a1)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x31b)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1['UPDATE_PERMISSION_OBJ']:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x380)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};case _0x3b2ff1[_0x4e6078(0x22b)]:return{..._0xfbcb2c,'data':{..._0x4faee9,'data':_0x4faee9[_0x4e6078(0x391)]},'cmd':_0xfbcb2c[_0x4e6078(0x29c)]};default:return _0xfbcb2c;}}default:return _0xfbcb2c;}}function Tr(_0x56cf48){const _0x190766=_0xefeb96;switch(_0x56cf48[_0x190766(0x29c)]){case W[_0x190766(0x210)]:case W[_0x190766(0x4a1)]:return JSON[_0x190766(0x296)]({'cmd':_0x56cf48[_0x190766(0x29c)],'routeKey':_0x56cf48[_0x190766(0x4b5)]});case W['INGEST']:{let _0x4cc771;switch(_0x56cf48['data'][_0x190766(0x2d6)]){case _0x3b2ff1[_0x190766(0x18a)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x18a)],'updateCursorEvent':_0x56cf48[_0x190766(0x1f4)][_0x190766(0x1f4)]};break;}case _0x3b2ff1['USERS_LEAVE']:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x29a)],'leaveEvent':_0x56cf48['data']['data']};break;}case _0x3b2ff1[_0x190766(0x26e)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x26e)],'joinEvent':_0x56cf48[_0x190766(0x1f4)][_0x190766(0x1f4)]};break;}case _0x3b2ff1['LIVESHARE_NEW_HOST']:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x48c)],'liveShareNewHost':_0x56cf48[_0x190766(0x1f4)][_0x190766(0x1f4)]};break;}case _0x3b2ff1[_0x190766(0x1f6)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x1f6)],'liveShareOperation':_0x56cf48[_0x190766(0x1f4)]['data']};break;}case _0x3b2ff1[_0x190766(0x1f3)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x1f3)],'liveShareTerminate':_0x56cf48['data'][_0x190766(0x1f4)]};break;}case _0x3b2ff1[_0x190766(0x367)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x367)],'liveShareRequestHost':_0x56cf48[_0x190766(0x1f4)]['data']};break;}case _0x3b2ff1[_0x190766(0x2cf)]:{_0x4cc771={'eventID':_0x3b2ff1[_0x190766(0x2cf)]};break;}default:_0x4cc771={'eventID':_0x56cf48[_0x190766(0x1f4)][_0x190766(0x2d6)]};}return JSON[_0x190766(0x296)]({'cmd':_0x56cf48[_0x190766(0x29c)],'routeKey':_0x56cf48[_0x190766(0x4b5)],'collaMsg':_0x4cc771});}case W['JOIN']:return JSON[_0x190766(0x296)]({'cmd':_0x56cf48[_0x190766(0x29c)],'routeKey':_0x56cf48[_0x190766(0x4b5)],'joinReq':_0x56cf48['data']});case W[_0x190766(0x175)]:return JSON[_0x190766(0x296)]({'cmd':_0x56cf48[_0x190766(0x29c)],'routeKey':_0x56cf48[_0x190766(0x4b5)],'leaveReq':_0x56cf48[_0x190766(0x1f4)]});default:throw new Error(_0x190766(0x213));}}var Rr=Object[_0xefeb96(0x466)],yr=Object[_0xefeb96(0x336)],Or=(_0x1582af,_0x35c80f,_0x5e21eb,_0x436d9a)=>{const _0x1a5e41=_0xefeb96;for(var _0x4ddce9=_0x436d9a>0x1?void 0x0:_0x436d9a?yr(_0x35c80f,_0x5e21eb):_0x35c80f,_0x1982d=_0x1582af[_0x1a5e41(0x46c)]-0x1,_0x21ef1b;_0x1982d>=0x0;_0x1982d--)(_0x21ef1b=_0x1582af[_0x1982d])&&(_0x4ddce9=(_0x436d9a?_0x21ef1b(_0x35c80f,_0x5e21eb,_0x4ddce9):_0x21ef1b(_0x4ddce9))||_0x4ddce9);return _0x436d9a&&_0x4ddce9&&Rr(_0x35c80f,_0x5e21eb,_0x4ddce9),_0x4ddce9;},qe=(_0x20f0c5,_0x1ebf4e)=>(_0x14d991,_0x124e7b)=>_0x1ebf4e(_0x14d991,_0x124e7b,_0x20f0c5);const Oi=_0x346f91(_0xefeb96(0x459));function wr(_0x2c40bd,_0x204916,_0x2015ed){const _0x22cb4c=_0xefeb96;return _0x2c40bd+'/'+_0x204916+'/unit/'+_0x2015ed+_0x22cb4c(0x35b);}let es=class extends _0x4f89fd{constructor(_0x324e3a,_0x5c2a0f,_0x1fe09d,_0x3cee46,_0x1330a2){const _0x559b4d=_0xefeb96;super(),this[_0x559b4d(0x3ab)]=_0x324e3a,this[_0x559b4d(0x424)]=_0x5c2a0f,this[_0x559b4d(0x32b)]=_0x1fe09d,this[_0x559b4d(0x204)]=_0x3cee46,this[_0x559b4d(0x2ae)]=_0x1330a2;}[_0xefeb96(0x2b9)](_0x253ab4){const _0x237198=_0xefeb96,_0x1dea54=this[_0x237198(0x424)]['createSocket'](_0x253ab4);if(!_0x1dea54)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2b4317=new _0x642676(),_0x215d6f=new _0x17e316();_0x2b4317['add'](_0x1dea54[_0x237198(0x4c9)][_0x237198(0x2e2)](_0x31fb4a=>_0x215d6f[_0x237198(0x2f1)](_0x31fb4a))),_0x2b4317[_0x237198(0x437)](_0x26357a(()=>_0x215d6f['complete']()));const _0x23bb10=new _0x17e316();_0x2b4317[_0x237198(0x437)](_0x1dea54[_0x237198(0x283)][_0x237198(0x2e2)](_0x2dbd50=>_0x23bb10[_0x237198(0x2f1)](_0x2dbd50))),_0x2b4317[_0x237198(0x437)](_0x26357a(()=>_0x23bb10[_0x237198(0x1de)]()));const _0xd6dc5b=new _0x17e316();_0x2b4317[_0x237198(0x437)](_0x1dea54['message$'][_0x237198(0x2e2)](_0x4037cf=>{const _0x51f6fc=br(_0x4037cf);_0xd6dc5b['next'](_0x51f6fc);})),_0x2b4317[_0x237198(0x437)](_0x26357a(()=>_0xd6dc5b[_0x237198(0x1de)]()));let _0x9376eb;const _0x213ad4=()=>{const _0x13067d=_0x237198;_0x23bb10[_0x13067d(0x2f1)](new Event('connection\x20error')),_0x215d6f['next'](new CloseEvent(_0x13067d(0x287))),_0x9376eb[_0x13067d(0x379)]();};return _0x9376eb={'memberID':'','close$':_0x215d6f[_0x237198(0x3ce)](),'error$':_0x23bb10[_0x237198(0x3ce)](),'open$':_0x1dea54[_0x237198(0x3a9)],'message$':_0xd6dc5b[_0x237198(0x3ce)](),'send':_0x41c9ef=>{const _0x1bd599=_0x237198;if(_0x41c9ef[_0x1bd599(0x29c)]===W['INGEST']){if(_0x41c9ef['data'][_0x1bd599(0x2d6)]===_0x3b2ff1[_0x1bd599(0x152)]){this[_0x1bd599(0x316)](_0x9376eb,_0x41c9ef[_0x1bd599(0x1f4)])[_0x1bd599(0xd3)](_0x430ad7=>{const _0x6f25c3=_0x1bd599;this[_0x6f25c3(0x204)][_0x6f25c3(0x18c)](_0x430ad7),_0x213ad4();});return;}if(_0x41c9ef[_0x1bd599(0x1f4)][_0x1bd599(0x2d6)]===_0x3b2ff1[_0x1bd599(0x499)]){const _0x43df79=_0x41c9ef[_0x1bd599(0x1f4)];this[_0x1bd599(0x4b9)](_0x43df79)['then'](_0x284f1d=>{const _0x422ed3=_0x1bd599;_0xd6dc5b[_0x422ed3(0x2f1)]({'cmd':W[_0x422ed3(0x2c6)],'code':Is['OK'],'routeKey':_0x43df79['data'][_0x422ed3(0xdb)],'routeType':'','data':{'eventID':_0x3b2ff1[_0x422ed3(0x16d)],'data':{'changesets':_0x284f1d}}});})[_0x1bd599(0xd3)](_0xc73725=>{const _0xc54651=_0x1bd599;this[_0xc54651(0x204)][_0xc54651(0x18c)](_0xc73725),_0x213ad4();});return;}}_0x1dea54['send'](Tr(_0x41c9ef));},'close':()=>{const _0x50aa9e=_0x237198;_0x1dea54[_0x50aa9e(0x379)](),_0x2b4317['dispose']();}},_0x9376eb;}async[_0xefeb96(0x316)](_0x58a612,_0x4f85f8){const _0x3d440e=_0xefeb96;var _0xfc9e0e,_0x23ad1e;const {unitType:_0x3cd01b,unitID:_0x373475,changeset:_0x942819}=_0x4f85f8[_0x3d440e(0x1f4)],_0x12d7d1={'unitID':_0x373475,'memberID':_0x58a612['memberID'],'type':_0x3cd01b,'changeset':_0x9bd98d(_0x942819)},_0x5c4c24=this['_configService']['getConfig'](gr),_0x1f768a=this[_0x3d440e(0x32b)][_0x3d440e(0x188)](ie),_0x5a2e44=wr((_0x23ad1e=(_0xfc9e0e=_0x1f768a==null?void 0x0:_0x1f768a[_0x3d440e(0x25c)])!=null?_0xfc9e0e:_0x5c4c24)!=null?_0x23ad1e:Sr,_0x3cd01b,_0x373475);try{await this[_0x3d440e(0x3ab)][_0x3d440e(0x39c)](_0x5a2e44,{'body':_0x12d7d1});}catch(_0x55696b){throw this['_logService']['error']('[CollaborationSession]',_0x3d440e(0x3ca)),_0x55696b;}}async['_fetchMissChangesets'](_0x2cedb3){const _0x206f06=_0xefeb96,{unitID:_0x1e00f4,from:_0x70b35a,to:_0x3a3e7a,unitType:_0x595f37}=_0x2cedb3['data'];return(await this[_0x206f06(0x2ae)][_0x206f06(0x2b7)]({'metadata':void 0x0},{'unitID':_0x1e00f4,'type':_0x595f37,'from':_0x70b35a,'to':_0x3a3e7a}))[_0x206f06(0x2f6)];}};es=Or([qe(0x0,_0x3099f4(_0x281aa7)),qe(0x1,_0x3099f4(_0x300491)),qe(0x2,_0x4ea3e2),qe(0x3,_0x40d13a),qe(0x4,_0x45d794)],es);const Dr='collaboration_new_changeset';function Pr(_0x4774b1){const _0x244fbf=_0xefeb96;return JSON[_0x244fbf(0x296)](_0x4774b1)[_0x244fbf(0x46c)];}class wi{constructor(){const _0x9d2fb=_0xefeb96;g(this,'_commentUpdate$',new _0x17e316()),g(this,_0x9d2fb(0x476),this[_0x9d2fb(0x429)][_0x9d2fb(0x3ce)]());}[_0xefeb96(0x128)](_0x1b0d5a){const _0x1317e0=_0xefeb96;this['_commentUpdate$'][_0x1317e0(0x2f1)](_0x1b0d5a);}}var Ur=Object[_0xefeb96(0x466)],Nr=Object['getOwnPropertyDescriptor'],Ar=(_0x6bad6a,_0x19a8f6,_0x2802df,_0x21f850)=>{for(var _0x458189=_0x21f850>0x1?void 0x0:_0x21f850?Nr(_0x19a8f6,_0x2802df):_0x19a8f6,_0x812429=_0x6bad6a['length']-0x1,_0x12ea83;_0x812429>=0x0;_0x812429--)(_0x12ea83=_0x6bad6a[_0x812429])&&(_0x458189=(_0x21f850?_0x12ea83(_0x19a8f6,_0x2802df,_0x458189):_0x12ea83(_0x458189))||_0x458189);return _0x21f850&&_0x458189&&Ur(_0x19a8f6,_0x2802df,_0x458189),_0x458189;},Hs=(_0x2ad9e1,_0x176fd3)=>(_0x5e1cfd,_0x28ba9f)=>_0x176fd3(_0x5e1cfd,_0x28ba9f,_0x2ad9e1);let Ne=class extends _0x4f89fd{constructor(_0x4d7ea5,_0x4f1f8f){const _0x2ec567=_0xefeb96;super(),g(this,_0x2ec567(0x44b),new Map()),(this[_0x2ec567(0x214)]=_0x4d7ea5,this[_0x2ec567(0x45c)]=_0x4f1f8f,this['disposeWithMe'](_0x26357a(_0x1b8a05(this[_0x2ec567(0x214)]['getTypeOfUnitDisposed$'](_0x634e8e[_0x2ec567(0x451)])['pipe'](_0x348356(_0x2fe4c7=>_0x2fe4c7[_0x2ec567(0xf6)]())),this[_0x2ec567(0x214)][_0x2ec567(0x33d)](_0x634e8e[_0x2ec567(0x4b4)])[_0x2ec567(0x272)](_0x348356(_0xb636f1=>_0xb636f1[_0x2ec567(0xf6)]())),this[_0x2ec567(0x214)][_0x2ec567(0x33d)](_0x634e8e[_0x2ec567(0x351)])[_0x2ec567(0x272)](_0x348356(_0x567524=>_0x567524[_0x2ec567(0xf6)]())))[_0x2ec567(0x2e2)](_0x2c353c=>this[_0x2ec567(0x3fa)](_0x2c353c)))));}[_0xefeb96(0x494)](_0x37bc86){const _0x47d7a3=_0xefeb96;this[_0x47d7a3(0x45c)][_0x47d7a3(0x494)](_0x37bc86);}[_0xefeb96(0x21b)](){const _0x16f6f8=_0xefeb96;return this[_0x16f6f8(0x45c)][_0x16f6f8(0x21b)]();}[_0xefeb96(0x1ef)](_0x4f686c,_0x58ecfa){const _0x221307=_0xefeb96;let _0x502085=this[_0x221307(0x44b)][_0x221307(0x271)](_0x4f686c);_0x502085||(_0x502085=new Mr(),this[_0x221307(0x44b)]['set'](_0x4f686c,_0x502085)),_0x502085[_0x221307(0x1ef)](_0x58ecfa);}[_0xefeb96(0x225)](_0x20d4b4,_0x4849b7){const _0x14e129=_0xefeb96,_0xf16c21=this[_0x14e129(0x44b)][_0x14e129(0x271)](_0x20d4b4);_0xf16c21&&_0xf16c21[_0x14e129(0x225)](_0x4849b7);}[_0xefeb96(0x124)](_0x48c1d7){const _0x2bc1a1=_0xefeb96;return this[_0x2bc1a1(0x44b)]['get'](_0x48c1d7);}[_0xefeb96(0x273)](_0x1f093a,_0x3a6502){const _0x5c5d70=_0xefeb96,_0x12fb49=this['_roomMembers'][_0x5c5d70(0x271)](_0x1f093a);if(_0x12fb49)return _0x12fb49[_0x5c5d70(0x273)](_0x3a6502);}[_0xefeb96(0x3fa)](_0x598d51){const _0x152a3e=_0xefeb96,_0x497556=this[_0x152a3e(0x44b)][_0x152a3e(0x271)](_0x598d51);_0x497556&&(_0x497556[_0x152a3e(0x3b4)](),this[_0x152a3e(0x44b)][_0x152a3e(0x2b4)](_0x598d51));}['dispose'](){const _0x5ae75a=_0xefeb96;this[_0x5ae75a(0x44b)][_0x5ae75a(0x267)](_0x1be724=>_0x1be724[_0x5ae75a(0x3b4)]()),this[_0x5ae75a(0x44b)]['clear']();}};Ne=Ar([Hs(0x0,_0x3ca09d),Hs(0x1,_0x3099f4(_0x5492bc))],Ne);class Mr extends _0x4f89fd{constructor(){const _0x16f52a=_0xefeb96;super(...arguments),g(this,_0x16f52a(0x26c),new Map());}[_0xefeb96(0x3b4)](){const _0x5966b4=_0xefeb96;this[_0x5966b4(0x26c)][_0x5966b4(0x2e0)]();}[_0xefeb96(0x1ef)](_0x35a1a0){const _0x1b60a1=_0xefeb96;this['_members'][_0x1b60a1(0xf2)](_0x35a1a0['memberID'],_0x35a1a0);}[_0xefeb96(0x225)](_0x11961a){const _0x4d37bd=_0xefeb96;this[_0x4d37bd(0x26c)][_0x4d37bd(0x2b4)](_0x11961a);}[_0xefeb96(0x273)](_0x31beb1){const _0x145490=_0xefeb96;return this[_0x145490(0x26c)]['get'](_0x31beb1);}['getAllMembers'](){const _0x2167bf=_0xefeb96;return Array[_0x2167bf(0x3da)](this['_members'][_0x2167bf(0x12c)]());}}var xr=Object[_0xefeb96(0x466)],Lr=Object[_0xefeb96(0x336)],$r=(_0x1f4b97,_0x3f748b,_0x433af5,_0x3e17d3)=>{const _0xac21b9=_0xefeb96;for(var _0x39ceb2=_0x3e17d3>0x1?void 0x0:_0x3e17d3?Lr(_0x3f748b,_0x433af5):_0x3f748b,_0x42c900=_0x1f4b97[_0xac21b9(0x46c)]-0x1,_0x2f9699;_0x42c900>=0x0;_0x42c900--)(_0x2f9699=_0x1f4b97[_0x42c900])&&(_0x39ceb2=(_0x3e17d3?_0x2f9699(_0x3f748b,_0x433af5,_0x39ceb2):_0x2f9699(_0x39ceb2))||_0x39ceb2);return _0x3e17d3&&_0x39ceb2&&xr(_0x3f748b,_0x433af5,_0x39ceb2),_0x39ceb2;},Ee=(_0x39cfed,_0x338aed)=>(_0x4fe68b,_0x35d1e1)=>_0x338aed(_0x4fe68b,_0x35d1e1,_0x39cfed),ve=(_0x5699ec=>(_0x5699ec[_0x5699ec[_0xefeb96(0x3b0)]=0x0]='IDLE',_0x5699ec[_0x5699ec[_0xefeb96(0x407)]=0x1]=_0xefeb96(0x407),_0x5699ec[_0x5699ec[_0xefeb96(0x484)]=0x2]=_0xefeb96(0x484),_0x5699ec[_0x5699ec[_0xefeb96(0xeb)]=0x3]=_0xefeb96(0xeb),_0x5699ec))(ve||{});let ts=class extends _0x2f42db{constructor(_0x54856f,_0xd1c44c,_0x13d155,_0x526cba,_0x5b7067,_0x110655,_0x3ab75a,_0x129336,_0x5e18df,_0x46665d){const _0x3da6f4=_0xefeb96;super(),g(this,_0x3da6f4(0x486),new _0x1d1c4b(0x0)),g(this,'sessionStatus$',this[_0x3da6f4(0x486)][_0x3da6f4(0x3ce)]()),g(this,_0x3da6f4(0x297),new _0x17e316()),g(this,_0x3da6f4(0x2c3),this['_event$'][_0x3da6f4(0x3ce)]()),g(this,'_socket'),g(this,_0x3da6f4(0x35a)),g(this,'_collaborationTimeoutTimer'),g(this,_0x3da6f4(0x322),!0x1),g(this,'_telemetryInfo',null),(this[_0x3da6f4(0x16f)]=_0x54856f,this[_0x3da6f4(0x204)]=_0x13d155,this['_beforeCloseService']=_0x526cba,this[_0x3da6f4(0x1a8)]=_0x5b7067,this[_0x3da6f4(0x32b)]=_0x110655,this[_0x3da6f4(0x312)]=_0x3ab75a,this[_0x3da6f4(0x11b)]=_0x129336,this[_0x3da6f4(0x30c)]=_0x5e18df,this[_0x3da6f4(0x282)]=_0x46665d,this['_shouldReportTelemetry']=!!this[_0x3da6f4(0x282)],_0xd1c44c['pipe'](_0x41a6cf(this[_0x3da6f4(0x18b)]))[_0x3da6f4(0x2e2)](_0x4a578a=>{const _0x34e814=_0x3da6f4;var _0x39434a;typeof _0x4a578a>'u'||(this[_0x34e814(0x10f)]=_0x4a578a,_0x4a578a?(this[_0x34e814(0x1e5)](_0x4a578a),this[_0x34e814(0x35a)]=_0x4a578a[_0x34e814(0x1c5)][_0x34e814(0x2e2)](_0x1dd0fe=>{const _0x44caf4=_0x34e814;_0x1dd0fe[_0x44caf4(0x4b5)]===this[_0x44caf4(0x16f)]&&this[_0x44caf4(0x393)](_0x1dd0fe);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x34e814(0x2f1)](0x2),(_0x39434a=this[_0x34e814(0x35a)])==null||_0x39434a['unsubscribe'](),this[_0x34e814(0x35a)]=null));}),this[_0x3da6f4(0x2bb)](this['_beforeCloseService'][_0x3da6f4(0x4cd)](()=>{const _0x9ee557=_0x3da6f4;var _0x2f24f8;(_0x2f24f8=this['_socket'])==null||_0x2f24f8['send']({'cmd':W[_0x9ee557(0x175)],'data':{'roomID':this['_unitID']}});})));}get[_0xefeb96(0x199)](){const _0x64d733=_0xefeb96;return this[_0x64d733(0x486)]['getValue']();}[_0xefeb96(0x136)](){const _0x5594d0=_0xefeb96;var _0x171f70,_0x53aa01;return(_0x53aa01=(_0x171f70=this['_socket'])==null?void 0x0:_0x171f70[_0x5594d0(0xd9)])!=null?_0x53aa01:null;}['dispose'](){const _0x501ddc=_0xefeb96;super[_0x501ddc(0x3b4)](),this['dispose$']['next'](),this['dispose$'][_0x501ddc(0x1de)]();}[_0xefeb96(0x379)](){const _0x9dbac2=_0xefeb96;var _0x5c2e6b,_0x5b8a00;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5c2e6b=this[_0x9dbac2(0x10f)])==null||_0x5c2e6b['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x9dbac2(0x16f)]}}),(_0x5b8a00=this[_0x9dbac2(0x10f)])==null||_0x5b8a00['close'](),this[_0x9dbac2(0x297)]['complete'](),this[_0x9dbac2(0x486)][_0x9dbac2(0x1de)](),this[_0x9dbac2(0x3b4)]();}['_onCombEvent'](_0x1f8716){const _0xb81fc4=_0xefeb96;_0x1f8716[_0xb81fc4(0x29c)]===W[_0xb81fc4(0xdf)]?this[_0xb81fc4(0x350)](_0x1f8716):_0x1f8716[_0xb81fc4(0x29c)]===W['RECV']&&this[_0xb81fc4(0x4b2)](_0x1f8716);}[_0xefeb96(0x1e5)](_0x2ae98f){const _0x18eb99=_0xefeb96;this['_sessionStatus$'][_0x18eb99(0x2f1)](0x1),_0x2ae98f['send']({'cmd':W[_0x18eb99(0xdf)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x18eb99(0x16f)]}]}});}[_0xefeb96(0x350)](_0x3e3ac9){const _0x1b9543=_0xefeb96;var _0x20c75f;if(_0x3e3ac9['code']===Is[_0x1b9543(0x364)]){this[_0x1b9543(0x1a8)][_0x1b9543(0x170)]({'type':_0x336366['Warning'],'content':this[_0x1b9543(0x312)]['t']('session.room-full')}),this[_0x1b9543(0x486)]['next'](0x2);return;}this['_sessionStatus$'][_0x1b9543(0x2f1)](0x3);const _0x2b1021=(_0x20c75f=_0x3e3ac9[_0x1b9543(0x1f4)][_0x1b9543(0x428)][this[_0x1b9543(0x16f)]])==null?void 0x0:_0x20c75f['members'];_0x2b1021&&_0x2b1021[_0x1b9543(0x267)](_0x54f5dd=>this['_memberService'][_0x1b9543(0x1ef)](this[_0x1b9543(0x16f)],_0x54f5dd));}[_0xefeb96(0x4b2)](_0x54961c){const _0x4854d4=_0xefeb96;try{const _0x22d9c9=_0x54961c[_0x4854d4(0x1f4)];switch(_0x22d9c9['eventID']){case _0x3b2ff1[_0x4854d4(0x26e)]:this[_0x4854d4(0x33b)](_0x22d9c9),this['_event$'][_0x4854d4(0x2f1)](_0x22d9c9);break;case _0x3b2ff1[_0x4854d4(0x29a)]:this[_0x4854d4(0x479)](_0x22d9c9),this[_0x4854d4(0x297)][_0x4854d4(0x2f1)](_0x22d9c9);break;case _0x3b2ff1[_0x4854d4(0x378)]:case _0x3b2ff1[_0x4854d4(0x23e)]:this[_0x4854d4(0x42b)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x4854d4(0x2f1)](_0x22d9c9);break;case _0x3b2ff1[_0x4854d4(0xd6)]:this['_logService'][_0x4854d4(0x18c)](_0x4854d4(0x1ab)+JSON[_0x4854d4(0x296)](_0x22d9c9)),this[_0x4854d4(0x297)]['next'](_0x22d9c9);break;case _0x3b2ff1[_0x4854d4(0x1a1)]:this[_0x4854d4(0x30c)][_0x4854d4(0x128)](_0x22d9c9[_0x4854d4(0x1f4)]),this[_0x4854d4(0x297)]['next'](_0x22d9c9);break;default:this[_0x4854d4(0x297)][_0x4854d4(0x2f1)](_0x22d9c9);}}catch(_0x3dbc8d){this[_0x4854d4(0x204)][_0x4854d4(0x18c)](_0x3dbc8d,_0x54961c);}}[_0xefeb96(0x33b)](_0x2a11ce){const _0x319f35=_0xefeb96;this[_0x319f35(0x11b)][_0x319f35(0x1ef)](this[_0x319f35(0x16f)],_0x2a11ce['data']);}[_0xefeb96(0x479)](_0x25724b){const _0x3ac2f3=_0xefeb96;this[_0x3ac2f3(0x11b)][_0x3ac2f3(0x225)](this[_0x3ac2f3(0x16f)],_0x25724b[_0x3ac2f3(0x1f4)][_0x3ac2f3(0xd9)]);}async[_0xefeb96(0x40d)](_0x5a9d6c,_0x68c920){const _0x61738b=_0xefeb96;if(this[_0x61738b(0x199)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x5a9d6c['eventID']===_0x3b2ff1[_0x61738b(0x152)]&&(this[_0x61738b(0x2d5)](),this[_0x61738b(0x445)](_0x5a9d6c)),this['_socket'][_0x61738b(0x40d)]({'cmd':W[_0x61738b(0x2f7)],'routeKey':_0x68c920,'routeType':'','data':_0x5a9d6c});}catch(_0x3f9d72){this[_0x61738b(0x204)][_0x61738b(0x18c)](_0x3f9d72);}}['_scheduleCollaborationTimeoutTimer'](){const _0x5e57aa=_0xefeb96;var _0x506a9d;this['_collaborationTimeoutTimer']=window[_0x5e57aa(0x291)](()=>{const _0x12734e=_0x5e57aa;this['_collaborationTimeoutTimer']=null,this[_0x12734e(0x1a8)]['show']({'type':_0x336366[_0x12734e(0x132)],'content':this[_0x12734e(0x312)]['t'](_0x12734e(0x47b))});},(_0x506a9d=this[_0x5e57aa(0x32b)][_0x5e57aa(0x188)](bi))!=null?_0x506a9d:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x2875eb=_0xefeb96;this[_0x2875eb(0xf0)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2875eb(0xf0)]=null);}[_0xefeb96(0x445)](_0x271129){const _0x24d37e=_0xefeb96;if(!this[_0x24d37e(0x322)])return;const {data:_0x39cd35}=_0x271129,{unitID:_0x395f2b,changeset:_0xaa4ea9}=_0x39cd35,{mutations:_0x7550a9,type:_0x53c76d}=_0xaa4ea9;this[_0x24d37e(0x25e)]={'unitId':_0x395f2b,'type':_0x53c76d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x7550a9)};}[_0xefeb96(0x42b)](){const _0x18dcbe=_0xefeb96;if(this[_0x18dcbe(0x322)]){if(!this[_0x18dcbe(0x25e)]){this['_logService'][_0x18dcbe(0x18c)](_0x18dcbe(0x1a3),_0x18dcbe(0x4ab));return;}this[_0x18dcbe(0x25e)][_0x18dcbe(0xdd)]=performance[_0x18dcbe(0x1bb)](),this[_0x18dcbe(0x25e)]['duration']=this[_0x18dcbe(0x25e)]['stopTime']-this[_0x18dcbe(0x25e)]['startTime'],this['_telemetryService'][_0x18dcbe(0x110)](Dr,this[_0x18dcbe(0x25e)]),this[_0x18dcbe(0x25e)]=null;}}[_0xefeb96(0x40a)](){const _0x26cba0=_0xefeb96;this[_0x26cba0(0x25e)]=null;}};ts=$r([Ee(0x2,_0x40d13a),Ee(0x3,_0x32bb8b),Ee(0x4,_0x3480f5),Ee(0x5,_0x4ea3e2),Ee(0x6,_0x3099f4(_0x6eefec)),Ee(0x7,_0x3099f4(Ne)),Ee(0x8,_0x3099f4(wi)),Ee(0x9,_0x118e7e(_0x551180))],ts);var Hr=Object[_0xefeb96(0x466)],jr=Object[_0xefeb96(0x336)],Br=(_0x52794d,_0x19cd07,_0x1e3ed4,_0xcfb397)=>{const _0xdedbd2=_0xefeb96;for(var _0x5b9d21=_0xcfb397>0x1?void 0x0:_0xcfb397?jr(_0x19cd07,_0x1e3ed4):_0x19cd07,_0x167edc=_0x52794d[_0xdedbd2(0x46c)]-0x1,_0x5165e1;_0x167edc>=0x0;_0x167edc--)(_0x5165e1=_0x52794d[_0x167edc])&&(_0x5b9d21=(_0xcfb397?_0x5165e1(_0x19cd07,_0x1e3ed4,_0x5b9d21):_0x5165e1(_0x5b9d21))||_0x5b9d21);return _0xcfb397&&_0x5b9d21&&Hr(_0x19cd07,_0x1e3ed4,_0x5b9d21),_0x5b9d21;},je=(_0x281a92,_0x2255fa)=>(_0x564a02,_0x2ba13c)=>_0x2255fa(_0x564a02,_0x2ba13c,_0x281a92);let Ae=class extends _0x4f89fd{constructor(_0x58affc,_0x48dc37,_0x14c0ac,_0xc7a1fb,_0xab7ec8,_0x5497dc){const _0x91da80=_0xefeb96;super(),g(this,'_socket$',new _0x1d1c4b(void 0x0)),g(this,_0x91da80(0x3c2),this[_0x91da80(0x329)][_0x91da80(0x3ce)]()),g(this,_0x91da80(0x49c),null),g(this,_0x91da80(0xea),new Map()),g(this,_0x91da80(0x34a),new _0x1d1c4b(ve[_0x91da80(0x3b0)])),g(this,_0x91da80(0x27e),this['_status$'][_0x91da80(0x3ce)]()),g(this,'_socketReady',!0x1),g(this,'_retryConnectingTimer'),g(this,_0x91da80(0x290),0x0),g(this,_0x91da80(0x2b2)),g(this,_0x91da80(0x3d4)),(this[_0x91da80(0x269)]=_0x58affc,this[_0x91da80(0x312)]=_0x48dc37,this[_0x91da80(0x1a8)]=_0x14c0ac,this[_0x91da80(0x204)]=_0xc7a1fb,this[_0x91da80(0x32b)]=_0xab7ec8,this[_0x91da80(0x389)]=_0x5497dc,this[_0x91da80(0x1ee)]());}get['_socket'](){const _0x505361=_0xefeb96;return this[_0x505361(0x329)]['getValue']();}[_0xefeb96(0x1ee)](){const _0x2a3c1c=_0xefeb96;this[_0x2a3c1c(0x167)](),this[_0x2a3c1c(0x234)]();}[_0xefeb96(0x3b4)](){const _0x21fdef=_0xefeb96;super[_0x21fdef(0x3b4)](),this[_0x21fdef(0xea)][_0x21fdef(0x267)](_0x3df5bb=>_0x3df5bb[_0x21fdef(0x3b4)]()),this[_0x21fdef(0xea)]['clear'](),this[_0x21fdef(0x34a)][_0x21fdef(0x1de)]();}async['requireSession'](_0x2e0c8d){const _0x5d14d6=_0xefeb96;if(this['_sessions']['has'](_0x2e0c8d))return this[_0x5d14d6(0xea)][_0x5d14d6(0x271)](_0x2e0c8d);this['_tryEnsureSocket']();const _0xf0345a=this['_injector'][_0x5d14d6(0x25a)](ts,_0x2e0c8d,this['_socket$'][_0x5d14d6(0x3ce)]());return this[_0x5d14d6(0xea)][_0x5d14d6(0xf2)](_0x2e0c8d,_0xf0345a),_0xf0345a;}[_0xefeb96(0x2bf)](_0x4dddce){const _0x561bfa=_0xefeb96;var _0x5d0da4;const _0x3f3e0c=this[_0x561bfa(0xea)][_0x561bfa(0x271)](_0x4dddce);_0x3f3e0c&&(this['_sessions']['delete'](_0x4dddce),_0x3f3e0c[_0x561bfa(0x379)]()),this[_0x561bfa(0xea)][_0x561bfa(0x1d4)]||(_0x5d0da4=this[_0x561bfa(0x10f)])==null||_0x5d0da4[_0x561bfa(0x379)]();}[_0xefeb96(0x198)](){const _0x2dda0f=_0xefeb96;this[_0x2dda0f(0x290)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2dda0f(0x435)]=null),this['_tryReconnect']();}[_0xefeb96(0x403)](){const _0x3e8d02=_0xefeb96;var _0x348792,_0x16fd04;const _0x12c6d9=this['_configService'][_0x3e8d02(0x188)](hr),_0x4c563b=this[_0x3e8d02(0x32b)][_0x3e8d02(0x188)](ie),_0xea33ac=(_0x16fd04=(_0x348792=_0x4c563b==null?void 0x0:_0x4c563b['collabWebSocketUrl'])!=null?_0x348792:_0x12c6d9)!=null?_0x16fd04:lr,_0x12e1aa=this[_0x3e8d02(0x389)][_0x3e8d02(0x2b9)](_0xea33ac);return this['_candidateSocket']=_0x12e1aa,_0x12e1aa;}[_0xefeb96(0x413)](){const _0x462c32=_0xefeb96;var _0x10f8e1,_0x1a1c4f;try{const _0x521a1e=(_0x1a1c4f=(_0x10f8e1=this[_0x462c32(0x10f)])!=null?_0x10f8e1:this[_0x462c32(0x49c)])!=null?_0x1a1c4f:this['_createSocket']();if(_0x521a1e){const _0x5128ff=_0x521a1e[_0x462c32(0x40d)];_0x521a1e['send']=_0x594612=>(this[_0x462c32(0x39a)](),_0x5128ff[_0x462c32(0x24e)](_0x521a1e,[_0x594612])),_0x521a1e['message$'][_0x462c32(0x2e2)](_0x2d344d=>this[_0x462c32(0x1fa)](_0x521a1e,_0x2d344d)),_0x521a1e[_0x462c32(0x283)][_0x462c32(0x272)](_0x28f002(0x1))[_0x462c32(0x2e2)](_0x4b1f5e=>this[_0x462c32(0x204)][_0x462c32(0x18c)](_0x462c32(0x325),_0x4b1f5e)),_0x521a1e['open$']['pipe'](_0x28f002(0x1))[_0x462c32(0x2e2)](()=>{this['_onConnectionOpen'](_0x521a1e);}),_0x521a1e['close$']['pipe'](_0x28f002(0x1))[_0x462c32(0x2e2)](_0x22cc4f=>{const _0x54f671=_0x462c32;this[_0x54f671(0x204)][_0x54f671(0x2a5)](_0x54f671(0x288),_0x54f671(0x4c1),_0x22cc4f),this[_0x54f671(0x37a)]();});}}catch(_0x5d2508){this[_0x462c32(0x204)][_0x462c32(0x18c)](_0x5d2508),this['_onConnectionFailed']();}}[_0xefeb96(0x2fa)](_0x4dc497){const _0x1797c3=_0xefeb96;this[_0x1797c3(0x204)][_0x1797c3(0x2a5)](_0x1797c3(0x288),_0x1797c3(0x139)),_0x4dc497['send']({'cmd':W[_0x1797c3(0x4a1)]}),this[_0x1797c3(0x39a)]();}[_0xefeb96(0x167)](){const _0x21593c=_0xefeb96;window[_0x21593c(0x1d6)](_0x21593c(0x4ad),()=>this[_0x21593c(0x34b)]());}[_0xefeb96(0x34b)](){const _0x4696a0=_0xefeb96;this[_0x4696a0(0x328)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x4696a0(0x2f1)](ve[_0x4696a0(0x484)]),this['_socket$'][_0x4696a0(0x2f1)](null),this[_0x4696a0(0x4a2)](),this[_0x4696a0(0x3f0)]();}[_0xefeb96(0x37a)](){const _0xe5f993=_0xefeb96;var _0x1e850e;this[_0xe5f993(0x34b)](),this[_0xe5f993(0x290)]<((_0x1e850e=this[_0xe5f993(0x32b)]['getConfig'](fr))!=null?_0x1e850e:vr)?(this['_messageService'][_0xe5f993(0x170)]({'key':_0xe5f993(0x265),'type':_0x336366[_0xe5f993(0x2ee)],'content':this[_0xe5f993(0x312)]['t'](_0xe5f993(0x281))}),this[_0xe5f993(0x392)]()):this[_0xe5f993(0x1a8)]['show']({'key':_0xe5f993(0x265),'type':_0x336366[_0xe5f993(0x132)],'content':this[_0xe5f993(0x312)]['t']('session.connection-failed')});}[_0xefeb96(0x234)](){const _0x2f8a55=_0xefeb96,_0x10e93a=()=>{const _0xb0330b=_0x4451;this[_0xb0330b(0x10f)]||this[_0xb0330b(0x198)]();},_0xd34b68=()=>{const _0x570309=_0x4451;this[_0x570309(0x10f)]||document['visibilityState']==='hidden'||this[_0x570309(0x198)]();};window[_0x2f8a55(0x1d6)](_0x2f8a55(0x1a4),_0x10e93a),document[_0x2f8a55(0x1d6)](_0x2f8a55(0x4a9),_0xd34b68);}['_tryReconnect'](){const _0x17500c=_0xefeb96;var _0x1e82cd;const _0x3c16fe=this[_0x17500c(0x290)],_0xb5d350=this[_0x17500c(0x32b)][_0x17500c(0x188)](ie),_0x19c86e=_0x3c16fe===0x0?0x0:((_0x1e82cd=_0xb5d350==null?void 0x0:_0xb5d350[_0x17500c(0x320)])!=null?_0x1e82cd:dr)*0x2**_0x3c16fe;this[_0x17500c(0x435)]=window[_0x17500c(0x291)](()=>{const _0x4032b4=_0x17500c;clearTimeout(this['_retryConnectingTimer']),this[_0x4032b4(0x435)]=null,this[_0x4032b4(0x413)]();},_0x19c86e),this[_0x17500c(0x290)]+=0x1;}[_0xefeb96(0x1fa)](_0x278d90,_0x3851b0){const _0x5df091=_0xefeb96,{cmd:_0x5d32fb}=_0x3851b0;_0x5d32fb===W[_0x5df091(0x4a1)]&&!this[_0x5df091(0x328)]&&(_0x278d90[_0x5df091(0xd9)]=_0x3851b0[_0x5df091(0x1f4)][_0x5df091(0xd9)],this[_0x5df091(0x329)][_0x5df091(0x2f1)](_0x278d90),this[_0x5df091(0x34a)][_0x5df091(0x2f1)](ve[_0x5df091(0xeb)]),this['_socketReady']=!0x0,this[_0x5df091(0x49c)]=null),_0x5d32fb===W[_0x5df091(0x210)]&&this[_0x5df091(0x4a2)](),this[_0x5df091(0x39a)]();}[_0xefeb96(0x39a)](){const _0x1c46b0=_0xefeb96;var _0x468cff;this[_0x1c46b0(0x3f0)](),this[_0x1c46b0(0x2b2)]=window[_0x1c46b0(0x291)](()=>this['_sendHeartbeat'](),(_0x468cff=this[_0x1c46b0(0x32b)][_0x1c46b0(0x188)](_r))!=null?_0x468cff:ur);}['_sendHeartbeat'](){const _0xff7c1f=_0xefeb96;this[_0xff7c1f(0x10f)][_0xff7c1f(0x40d)]({'cmd':W[_0xff7c1f(0x210)]}),this[_0xff7c1f(0x410)]();}['_waitForHeartbeatResponse'](){const _0xcc9694=_0xefeb96;var _0x197849;this[_0xcc9694(0x3d4)]=window['setTimeout'](()=>this[_0xcc9694(0x37a)](),(_0x197849=this[_0xcc9694(0x32b)][_0xcc9694(0x188)](bi))!=null?_0x197849:Ti);}[_0xefeb96(0x3f0)](){const _0x6a92d5=_0xefeb96;this[_0x6a92d5(0x2b2)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x6a92d5(0x2b2)]=null);}[_0xefeb96(0x4a2)](){const _0x142550=_0xefeb96;this[_0x142550(0x3d4)]!=null&&(clearTimeout(this[_0x142550(0x3d4)]),this[_0x142550(0x3d4)]=null);}};Ae=Br([je(0x0,_0x3099f4(_0x3676c8)),je(0x1,_0x3099f4(_0x6eefec)),je(0x2,_0x3480f5),je(0x3,_0x40d13a),je(0x4,_0x4ea3e2),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0xefeb96(0x477)]((Nt+0x100)[_0xefeb96(0x3e7)](0x10)['slice'](0x1));function kr(_0x1e5c2b,_0x5a6ba7=0x0){const _0x201185=_0xefeb96;return(Y[_0x1e5c2b[_0x5a6ba7+0x0]]+Y[_0x1e5c2b[_0x5a6ba7+0x1]]+Y[_0x1e5c2b[_0x5a6ba7+0x2]]+Y[_0x1e5c2b[_0x5a6ba7+0x3]]+'-'+Y[_0x1e5c2b[_0x5a6ba7+0x4]]+Y[_0x1e5c2b[_0x5a6ba7+0x5]]+'-'+Y[_0x1e5c2b[_0x5a6ba7+0x6]]+Y[_0x1e5c2b[_0x5a6ba7+0x7]]+'-'+Y[_0x1e5c2b[_0x5a6ba7+0x8]]+Y[_0x1e5c2b[_0x5a6ba7+0x9]]+'-'+Y[_0x1e5c2b[_0x5a6ba7+0xa]]+Y[_0x1e5c2b[_0x5a6ba7+0xb]]+Y[_0x1e5c2b[_0x5a6ba7+0xc]]+Y[_0x1e5c2b[_0x5a6ba7+0xd]]+Y[_0x1e5c2b[_0x5a6ba7+0xe]]+Y[_0x1e5c2b[_0x5a6ba7+0xf]])[_0x201185(0x375)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0xcea934=_0xefeb96;if(!ct&&(ct=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0xcea934(0x15a)]['bind'](crypto),!ct))throw new Error(_0xcea934(0x1bc));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0xefeb96(0x1db)]&&crypto['randomUUID'][_0xefeb96(0x440)](crypto);const js={'randomUUID':Vr};function Gr(_0x18dfb6,_0x3fdc79,_0x436913){if(js['randomUUID']&&!_0x3fdc79&&!_0x18dfb6)return js['randomUUID']();_0x18dfb6=_0x18dfb6||{};var _0x5c9722=_0x18dfb6['random']||(_0x18dfb6['rng']||Fr)();return _0x5c9722[0x6]=_0x5c9722[0x6]&0xf|0x40,_0x5c9722[0x8]=_0x5c9722[0x8]&0x3f|0x80,kr(_0x5c9722);}var Yr=Object[_0xefeb96(0x466)],Kr=Object[_0xefeb96(0x336)],zr=(_0x502ea5,_0x4bbc3f,_0x1dbd86,_0x3510a0)=>{const _0x5b55c7=_0xefeb96;for(var _0x12c454=_0x3510a0>0x1?void 0x0:_0x3510a0?Kr(_0x4bbc3f,_0x1dbd86):_0x4bbc3f,_0x4411f3=_0x502ea5[_0x5b55c7(0x46c)]-0x1,_0x475e9e;_0x4411f3>=0x0;_0x4411f3--)(_0x475e9e=_0x502ea5[_0x4411f3])&&(_0x12c454=(_0x3510a0?_0x475e9e(_0x4bbc3f,_0x1dbd86,_0x12c454):_0x475e9e(_0x12c454))||_0x12c454);return _0x3510a0&&_0x12c454&&Yr(_0x4bbc3f,_0x1dbd86,_0x12c454),_0x12c454;},At=(_0x3d0f3d,_0xb73dfe)=>(_0xd045f7,_0x294026)=>_0xb73dfe(_0xd045f7,_0x294026,_0x3d0f3d);let vt=class{constructor(_0x1d6890,_0x3f59cc,_0x565d81){const _0x5dbe5f=_0xefeb96;this[_0x5dbe5f(0x269)]=_0x1d6890,this[_0x5dbe5f(0x3d8)]=_0x3f59cc,this[_0x5dbe5f(0x330)]=_0x565d81;}[_0xefeb96(0x264)](_0x4ecdfe){const _0x165625=_0xefeb96;this[_0x165625(0x444)](_0x4ecdfe),this[_0x165625(0x452)](_0x4ecdfe);}['transformRemoteChangeset'](_0x1865b2){const _0x4d856f=_0xefeb96,{unitID:_0x1f409a}=_0x1865b2,_0x29907d=this[_0x4d856f(0x330)][_0x4d856f(0x383)](_0x1f409a)[_0x4d856f(0x493)](_0x34f062),{redoCache:_0x116d37}=_0x29907d[_0x4d856f(0x293)]();if(_0x116d37[_0x4d856f(0x46c)]===0x0)return _0x1865b2;let _0x462cdf=_0x4d0489[_0x4d856f(0xfb)](_0x1865b2[_0x4d856f(0x3a8)][0x0]);for(let _0x28f335=0x0;_0x28f335<_0x116d37['length'];_0x28f335++){const _0x358815={'id':_0x4d856f(0x3be),'params':{..._0x116d37[_0x28f335]}},_0xf12ad7=this[_0x4d856f(0x3d8)][_0x4d856f(0x46e)](_0x462cdf,_0x358815,!0x1);if(_0x1a9445(_0xf12ad7))throw _0xf12ad7['error'];_0x462cdf=_0xf12ad7['m1Prime'];}return{..._0x4d0489[_0x4d856f(0xfb)](_0x1865b2),'mutations':[_0x462cdf]};}[_0xefeb96(0x444)](_0x3f743e){const _0x57acef=_0xefeb96,{unitID:_0x28c549}=_0x3f743e,_0x588815=this[_0x57acef(0x330)][_0x57acef(0x383)](_0x28c549)[_0x57acef(0x493)](_0x34f062),{undoCache:_0x9806fa,redoCache:_0x1b4777}=_0x588815[_0x57acef(0x293)]();if(_0x9806fa[_0x57acef(0x46c)]===0x0||_0x1b4777[_0x57acef(0x46c)]===0x0)return;const _0x96bb7f=[],_0x3d50b1=[];let _0x143c7a=_0x4d0489['deepClone'](_0x3f743e[_0x57acef(0x3a8)][0x0]),_0x58e771=_0x4d0489[_0x57acef(0xfb)](_0x3f743e[_0x57acef(0x3a8)][0x0]);for(let _0x3424d1=_0x9806fa[_0x57acef(0x46c)]-0x1;_0x3424d1>=0x0;_0x3424d1--){const _0x487473={'id':_0x57acef(0x3be),'params':{..._0x9806fa[_0x3424d1]}},_0x4a877d={'id':_0x57acef(0x3be),'params':{..._0x1b4777[_0x3424d1]}},_0x419e3e=this['_transformService'][_0x57acef(0x46e)](_0x143c7a,_0x487473,!0x1),_0x3b0879=this[_0x57acef(0x3d8)]['transformMutation'](_0x58e771,_0x4a877d,!0x1);if(_0x1a9445(_0x419e3e))throw _0x419e3e[_0x57acef(0x18c)];if(_0x1a9445(_0x3b0879))throw _0x3b0879[_0x57acef(0x18c)];_0x96bb7f[_0x57acef(0x34c)](_0x419e3e[_0x57acef(0x3f7)]['params']),_0x3d50b1[_0x57acef(0x34c)](_0x3b0879['m2Prime'][_0x57acef(0x304)]),_0x143c7a=_0x419e3e[_0x57acef(0x2ca)],_0x58e771=_0x3b0879[_0x57acef(0x2ca)];}_0x588815[_0x57acef(0xfa)]({'undoCache':_0x96bb7f,'redoCache':_0x3d50b1});}[_0xefeb96(0x452)](_0xf28a76){const _0x242661=_0xefeb96,{unitID:_0x54cb82}=_0xf28a76,_0x5be754=this['_renderManagerService'][_0x242661(0x383)](_0x54cb82)[_0x242661(0x493)](_0x34f062),_0x353fd7=_0x5be754[_0x242661(0x1d0)]();if(_0x353fd7==null)return;const _0x224e53=[{'id':_0x242661(0x3be),'params':{'unitId':_0xf28a76[_0x242661(0xdb)],'actions':null,'textRanges':[_0x353fd7]}}],_0x51d06a=this[_0x242661(0x3d8)][_0x242661(0x40e)](_0xf28a76,_0x224e53);if(!_0xd4a330(_0x51d06a))throw _0x51d06a['error'];const _0x4f3061=_0x51d06a[_0x242661(0x3f7)][0x0][_0x242661(0x304)]['textRanges'];Array[_0x242661(0x49e)](_0x4f3061)&&_0x4f3061['length']&&_0x5be754['setActiveRange'](_0x4f3061[0x0]);}};vt=zr([At(0x0,_0x3099f4(_0x3676c8)),At(0x1,_0x5c28bd),At(0x2,_0x25b6aa)],vt);var qr=Object[_0xefeb96(0x466)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x426ec6,_0xa2d410,_0x53e481,_0x1e4e14)=>{for(var _0xf7259b=_0x1e4e14>0x1?void 0x0:_0x1e4e14?Xr(_0xa2d410,_0x53e481):_0xa2d410,_0x4afb41=_0x426ec6['length']-0x1,_0x469fcc;_0x4afb41>=0x0;_0x4afb41--)(_0x469fcc=_0x426ec6[_0x4afb41])&&(_0xf7259b=(_0x1e4e14?_0x469fcc(_0xa2d410,_0x53e481,_0xf7259b):_0x469fcc(_0xf7259b))||_0xf7259b);return _0x1e4e14&&_0xf7259b&&qr(_0xa2d410,_0x53e481,_0xf7259b),_0xf7259b;},Xe=(_0x20a793,_0x328b9b)=>(_0x4baa15,_0x1244ec)=>_0x328b9b(_0x4baa15,_0x1244ec,_0x20a793);let q=class extends _0x4f89fd{constructor(_0x4e74eb,_0xd9293b,_0x894451,_0x34b9ad,_0x156265){const _0xa57bd1=_0xefeb96;super(),g(this,_0xa57bd1(0x2ea),new Map()),g(this,_0xa57bd1(0x456),new Map()),g(this,_0xa57bd1(0x2a4),!0x1),(this[_0xa57bd1(0x32b)]=_0x4e74eb,this[_0xa57bd1(0x3a2)]=_0xd9293b,this[_0xa57bd1(0x37c)]=_0x894451,this[_0xa57bd1(0x312)]=_0x34b9ad,this['_revisionService']=_0x156265,this[_0xa57bd1(0x17f)]());}[_0xefeb96(0x3f2)](){const _0x17250f=_0xefeb96;this[_0x17250f(0x2a4)]=!0x0;}['enableLocalCache'](){const _0x5777dd=_0xefeb96;this[_0x5777dd(0x2a4)]=!0x1;}['dispose'](){const _0x2f15a1=_0xefeb96;this[_0x2f15a1(0x348)]()[_0x2f15a1(0x12d)](()=>super['dispose']());}async[_0xefeb96(0x33c)](_0x381afe){const _0x2c12de=_0xefeb96;return this[_0x2c12de(0x2a4)]?null:this[_0x2c12de(0x3a2)][_0x2c12de(0x31e)](Bs(_0x381afe));}async[_0xefeb96(0x35e)](_0x3c41f2,_0x52e1a3){const _0x5487eb=_0xefeb96;return!!this[_0x5487eb(0x3a2)][_0x5487eb(0x401)](_0x3c41f2,_0x52e1a3);}[_0xefeb96(0x34e)](_0x8f3309,_0x411451,_0x958d8c,_0x23e773){const _0x598075=_0xefeb96,_0x5dea14=this[_0x598075(0x1d7)][_0x598075(0x2ac)](_0x8f3309);this[_0x598075(0x2ea)][_0x598075(0xf2)](_0x8f3309,{'unitID':_0x8f3309,'type':_0x411451,'awaitingChangeset':_0x958d8c,'mutations':_0x23e773,'rev':_0x5dea14}),this[_0x598075(0x456)][_0x598075(0x179)](_0x8f3309)||this[_0x598075(0xf3)](_0x8f3309);}[_0xefeb96(0xf3)](_0xe19d5e){const _0x51a087=_0xefeb96,_0x43e699=this[_0x51a087(0x400)]();_0x43e699===0x0?this[_0x51a087(0x2ad)](_0xe19d5e):this[_0x51a087(0x456)][_0x51a087(0xf2)](_0xe19d5e,setTimeout(()=>this[_0x51a087(0x2ad)](_0xe19d5e),_0x43e699));}['_getSaveTimeout'](){const _0xa85a54=_0xefeb96;var _0x4fad0c;return(_0x4fad0c=this[_0xa85a54(0x32b)][_0xa85a54(0x188)](mr))!=null?_0x4fad0c:pr;}[_0xefeb96(0x2ad)](_0x4ceecd){const _0x3f4f21=_0xefeb96,_0x490c49=this[_0x3f4f21(0x456)][_0x3f4f21(0x271)](_0x4ceecd);return _0x490c49!==void 0x0&&window[_0x3f4f21(0x458)](_0x490c49),this[_0x3f4f21(0x3a2)]['setItem'](Bs(_0x4ceecd),this['_cachedData'][_0x3f4f21(0x271)](_0x4ceecd))[_0x3f4f21(0x12d)](()=>this[_0x3f4f21(0x456)][_0x3f4f21(0x2b4)](_0x4ceecd));}async[_0xefeb96(0x348)](){const _0x56bcea=_0xefeb96,_0x1df370=[];this[_0x56bcea(0x456)][_0x56bcea(0x267)]((_0x410ced,_0x5e3f2a)=>{const _0x2184f7=_0x56bcea;window['clearTimeout'](_0x410ced),_0x1df370[_0x2184f7(0x477)](this['_saveCache'](_0x5e3f2a)[_0x2184f7(0x12d)](()=>{const _0x1c3879=_0x2184f7;this[_0x1c3879(0x456)][_0x1c3879(0x2b4)](_0x5e3f2a);}));}),await Promise[_0x56bcea(0x3d3)](_0x1df370);}[_0xefeb96(0x17f)](){const _0x5d30c1=_0xefeb96;this[_0x5d30c1(0x2bb)](this[_0x5d30c1(0x37c)][_0x5d30c1(0x2c5)](()=>{const _0x3f6bbf=_0x5d30c1;if(this[_0x3f6bbf(0x456)][_0x3f6bbf(0x1d4)])return this[_0x3f6bbf(0x312)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Jr([Xe(0x0,_0x4ea3e2),Xe(0x1,_0x30ee26),Xe(0x2,_0x32bb8b),Xe(0x3,_0x3099f4(_0x6eefec)),Xe(0x4,_0x3099f4(_0xa44bce))],q);function Bs(_0x233cd1){return'unit-cache-'+_0x233cd1;}var Zr=Object[_0xefeb96(0x466)],Qr=Object[_0xefeb96(0x336)],eo=(_0xe8fda1,_0x2cb035,_0x23be8c,_0x1c6ebc)=>{for(var _0x390939=_0x1c6ebc>0x1?void 0x0:_0x1c6ebc?Qr(_0x2cb035,_0x23be8c):_0x2cb035,_0x45202d=_0xe8fda1['length']-0x1,_0x1d83c9;_0x45202d>=0x0;_0x45202d--)(_0x1d83c9=_0xe8fda1[_0x45202d])&&(_0x390939=(_0x1c6ebc?_0x1d83c9(_0x2cb035,_0x23be8c,_0x390939):_0x1d83c9(_0x390939))||_0x390939);return _0x1c6ebc&&_0x390939&&Zr(_0x2cb035,_0x23be8c,_0x390939),_0x390939;},Mt=(_0x2cd390,_0x5ca112)=>(_0x54fe4d,_0x4feb7b)=>_0x5ca112(_0x54fe4d,_0x4feb7b,_0x2cd390);function to(_0x393b27){const _0x1cf6ec=_0xefeb96,{unitID:_0x4fe002,mutations:_0x3dc80e}=_0x393b27;return{'unitId':_0x4fe002,'subUnitId':_0x3dc80e[0x0][_0x1cf6ec(0x304)]['subUnitId']};}let mt=class{constructor(_0x31d181,_0x545388,_0x21a442){const _0x55a237=_0xefeb96;this[_0x55a237(0x269)]=_0x31d181,this['_transformService']=_0x545388,this[_0x55a237(0x419)]=_0x21a442;}[_0xefeb96(0x1bf)](_0x502e4e){const _0x366d0f=_0xefeb96;var _0x525752,_0x50aaa0,_0x52efc0,_0x105dac;const _0x26475c=this['_injector'][_0x366d0f(0x271)](_0x195025),{unitId:_0x33c8ad,subUnitId:_0x4deac1}=to(_0x502e4e),_0x5c2cf2=_0x26475c[_0x366d0f(0x22d)](_0x33c8ad)[_0x366d0f(0x323)](),_0xdf22e8=(_0x50aaa0=(_0x525752=this[_0x366d0f(0x419)][_0x366d0f(0x457)](_0x33c8ad))==null?void 0x0:_0x525752[_0x366d0f(0x245)]())==null?void 0x0:_0x50aaa0[_0x366d0f(0x13c)]();if(_0x5c2cf2[_0x366d0f(0x46c)]===0x0||!_0x33c8ad||!_0x4deac1)return;const _0x4fd985=[{'id':_0xace6cf['id'],'params':{'unitId':_0x33c8ad,'subUnitId':_0xdf22e8,'selections':_0x4d0489[_0x366d0f(0xfb)](_0x5c2cf2)}}],_0x5d5ccf=this[_0x366d0f(0x3d8)][_0x366d0f(0x40e)](_0x502e4e,_0x4fd985);if(!_0xd4a330(_0x5d5ccf))throw _0x5d5ccf[_0x366d0f(0x18c)];const _0x53d299=(_0x105dac=(_0x52efc0=_0x5d5ccf[_0x366d0f(0x3f7)][0x0])==null?void 0x0:_0x52efc0[_0x366d0f(0x304)])==null?void 0x0:_0x105dac['selections'];if(Array[_0x366d0f(0x49e)](_0x53d299)&&_0x53d299['length']){if(_0x53d299[_0x366d0f(0x46c)]===_0x4fd985[0x0][_0x366d0f(0x304)][_0x366d0f(0x46f)][_0x366d0f(0x46c)]&&_0x53d299[_0x366d0f(0x187)]((_0x25688b,_0x574d49)=>_0x22b767[_0x366d0f(0x1ad)](_0x25688b[_0x366d0f(0x2a8)],_0x4fd985[0x0][_0x366d0f(0x304)][_0x366d0f(0x46f)][_0x574d49]['range'])))return;this[_0x366d0f(0x269)]['get'](_0x45feb8)[_0x366d0f(0x408)](_0xace6cf['id'],{'unitId':_0x33c8ad,'subUnitId':_0xdf22e8,'selections':_0x53d299});}}};mt=eo([Mt(0x0,_0x3099f4(_0x3676c8)),Mt(0x1,_0x5c28bd),Mt(0x2,_0x3ca09d)],mt);const yt=_0x346f91(_0xefeb96(0x239));var Di=(_0x5d2ba3=>(_0x5d2ba3[_0x5d2ba3[_0xefeb96(0x15c)]=0x0]=_0xefeb96(0x15c),_0x5d2ba3[_0x5d2ba3['OTHER_CLIENTS_EDITING']=0x1]=_0xefeb96(0x258),_0x5d2ba3))(Di||{});const ks=0x7530,Ws=_0xefeb96(0x165);class so extends _0x4f89fd{constructor(){const _0x2a3750=_0xefeb96;super(),g(this,_0x2a3750(0x3ff),_0x4d0489['generateRandomId']()),g(this,_0x2a3750(0x2e8),new Set()),g(this,_0x2a3750(0x2df),new Map()),g(this,_0x2a3750(0x41e),null),g(this,_0x2a3750(0x10a),new Map()),g(this,_0x2a3750(0x263),new Map()),this[_0x2a3750(0x411)]();}[_0xefeb96(0x3b4)](){const _0x29d38c=_0xefeb96;super[_0x29d38c(0x3b4)](),this[_0x29d38c(0x10a)]['forEach']((_0x3a6d6d,_0x187b24)=>this[_0x29d38c(0x3a0)](_0x187b24)),this[_0x29d38c(0x41e)]&&window[_0x29d38c(0x1cb)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x56ccf6){const _0x36422a=_0xefeb96;return this[_0x36422a(0x48b)](_0x56ccf6)['pipe'](_0x97c859());}[_0xefeb96(0x405)](_0xd00a05){const _0x259e75=_0xefeb96;this['_selfUnitIDs'][_0x259e75(0x1d4)]===0x0&&this[_0x259e75(0x358)](),this[_0x259e75(0x2e8)]['add'](_0xd00a05),this['_send']({'type':0x0,'memberID':this[_0x259e75(0x3ff)],'unitIDs':[_0xd00a05],'isForwarded':!0x1});}[_0xefeb96(0x3fc)](_0x49ef52){const _0x7ed24=_0xefeb96;this[_0x7ed24(0x2e8)][_0x7ed24(0x2b4)](_0x49ef52),this[_0x7ed24(0x2e8)]['size']===0x0&&this[_0x7ed24(0x41e)]&&window['clearInterval'](this[_0x7ed24(0x41e)]);}[_0xefeb96(0x411)](){const _0x140bb9=_0xefeb96;this[_0x140bb9(0x2bb)](_0x26357a(_0x162ed6(window,'storage')['subscribe'](_0x5bf473=>{const _0x2cf9db=_0x140bb9;if(_0x5bf473[_0x2cf9db(0x342)]!==Ws||!_0x5bf473[_0x2cf9db(0x2be)])return;const _0x140090=JSON['parse'](_0x5bf473[_0x2cf9db(0x2be)]);this[_0x2cf9db(0x482)](_0x140090);}))),window[_0x140bb9(0x1d6)](_0x140bb9(0x1ed),()=>this['_send']({'type':0x1,'memberID':this[_0x140bb9(0x3ff)],'unitIDs':Array[_0x140bb9(0x3da)](this[_0x140bb9(0x2e8)])}));}[_0xefeb96(0x482)](_0xc08bb){const _0x5769fc=_0xefeb96;switch(_0xc08bb['type']){case 0x0:this[_0x5769fc(0x27f)](_0xc08bb);break;case 0x1:this[_0x5769fc(0x121)](_0xc08bb);break;case 0x2:this['_handleHeartbeatEvent'](_0xc08bb);break;}}[_0xefeb96(0x27f)](_0x1b6e75){const _0x3f05b=_0xefeb96,{unitIDs:_0x495ff7,memberID:_0x4775a9,isForwarded:_0x2a5773}=_0x1b6e75;_0x495ff7[_0x3f05b(0x267)](_0x4ce3a5=>{const _0x194a23=_0x3f05b;if(!_0x2a5773&&this[_0x194a23(0x2df)][_0x194a23(0x179)](_0x4ce3a5)&&this[_0x194a23(0x48b)](_0x4ce3a5)[_0x194a23(0x2f1)](0x1),!this['_unitOnClients'][_0x194a23(0x179)](_0x4ce3a5)||!this[_0x194a23(0x2df)]['get'](_0x4ce3a5)[_0x194a23(0x179)](_0x4775a9)){const _0x372fc=this[_0x194a23(0x2df)][_0x194a23(0x271)](_0x4ce3a5)||new Set();_0x372fc[_0x194a23(0x437)](_0x4775a9),this[_0x194a23(0x2df)][_0x194a23(0xf2)](_0x4ce3a5,_0x372fc),this[_0x194a23(0x38e)](_0x4775a9);}}),_0x2a5773||this[_0x3f05b(0x19c)]({'type':0x0,'memberID':this[_0x3f05b(0x3ff)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xefeb96(0x38e)](_0x99fab4){const _0x489c7c=_0xefeb96;this[_0x489c7c(0x3a0)](_0x99fab4);const _0x4cfc3f=window[_0x489c7c(0x291)](()=>{const _0x3eba0e=_0x489c7c;this['_unitOnClients'][_0x3eba0e(0x267)](_0x3b5d23=>{const _0xae72d5=_0x3eba0e;_0x3b5d23[_0xae72d5(0x2b4)](_0x99fab4);});},ks*0x2);this[_0x489c7c(0x10a)]['set'](_0x99fab4,_0x4cfc3f);}[_0xefeb96(0x3a0)](_0x190d72){const _0x923e06=_0xefeb96;if(this['_clearOtherTimers'][_0x923e06(0x179)](_0x190d72)){const _0x4e7b9b=this[_0x923e06(0x10a)][_0x923e06(0x271)](_0x190d72);_0x4e7b9b&&window[_0x923e06(0x458)](_0x4e7b9b),this[_0x923e06(0x10a)][_0x923e06(0xf2)](_0x190d72,null);}}['_handleLeaveEvent'](_0x4d7a2e){const _0x4f1d4a=_0xefeb96,{memberID:_0x261783,unitIDs:_0x530fac}=_0x4d7a2e;_0x530fac[_0x4f1d4a(0x267)](_0x4c6b2c=>{const _0x35bc1=_0x4f1d4a;var _0x387fb6;const _0x24eb58=this[_0x35bc1(0x2df)][_0x35bc1(0x271)](_0x4c6b2c);_0x24eb58&&(_0x24eb58[_0x35bc1(0x2b4)](_0x261783),(_0x387fb6=this[_0x35bc1(0x48b)](_0x4c6b2c))==null||_0x387fb6[_0x35bc1(0x2f1)](_0x24eb58['size']===0x0?0x0:0x1));}),this[_0x4f1d4a(0x3a0)](_0x261783);}['_handleHeartbeatEvent'](_0x2fc7a4){const _0x27fbc9=_0xefeb96;this['_scheduleClearOtherTimer'](_0x2fc7a4[_0x27fbc9(0xd9)]);}['_send'](_0xec3542){const _0x3a780a=_0xefeb96;localStorage['setItem'](Ws,JSON[_0x3a780a(0x296)](_0xec3542));}[_0xefeb96(0x358)](){const _0x24767f=_0xefeb96;this[_0x24767f(0x41e)]=window[_0x24767f(0x433)](()=>{const _0x156f16=_0x24767f;this[_0x156f16(0x19c)]({'type':0x2,'memberID':this['_id']});},ks);}['_ensureSubject'](_0xbd0b61){const _0x4d763b=_0xefeb96;return this[_0x4d763b(0x263)][_0x4d763b(0x179)](_0xbd0b61)||this[_0x4d763b(0x263)][_0x4d763b(0xf2)](_0xbd0b61,new _0x1d1c4b(0x0)),this[_0x4d763b(0x263)][_0x4d763b(0x271)](_0xbd0b61);}}var io=Object[_0xefeb96(0x466)],no=Object[_0xefeb96(0x336)],ro=(_0x2af7dd,_0x48f163,_0x5099e6,_0xb30fca)=>{const _0x355e94=_0xefeb96;for(var _0x5c339c=_0xb30fca>0x1?void 0x0:_0xb30fca?no(_0x48f163,_0x5099e6):_0x48f163,_0x162a63=_0x2af7dd[_0x355e94(0x46c)]-0x1,_0x5522c7;_0x162a63>=0x0;_0x162a63--)(_0x5522c7=_0x2af7dd[_0x162a63])&&(_0x5c339c=(_0xb30fca?_0x5522c7(_0x48f163,_0x5099e6,_0x5c339c):_0x5522c7(_0x5c339c))||_0x5c339c);return _0xb30fca&&_0x5c339c&&io(_0x48f163,_0x5099e6,_0x5c339c),_0x5c339c;},xt=(_0x2f62be,_0x16d9ba)=>(_0x3d2978,_0x1c8d69)=>_0x16d9ba(_0x3d2978,_0x1c8d69,_0x2f62be);let pt=class{constructor(_0x598c22,_0x8802b6,_0x1d01ba){const _0x4c1e86=_0xefeb96;this[_0x4c1e86(0x269)]=_0x598c22,this[_0x4c1e86(0x3d8)]=_0x8802b6,this['_docStateChangeManagerService']=_0x1d01ba;}[_0xefeb96(0x1c8)](_0x3c3ec9){this['_transformHistoryAndStateStack'](_0x3c3ec9);}[_0xefeb96(0x48f)](_0x5957e9){const _0x170df5=_0xefeb96,{unitID:_0x45c9fb}=_0x5957e9,{collaboration:_0x1b0da4}=this[_0x170df5(0x1c0)]['getStateCache'](_0x45c9fb);if(_0x1b0da4[_0x170df5(0x46c)]===0x0)return _0x5957e9;let _0x46ee8d=_0x4d0489[_0x170df5(0xfb)](_0x5957e9[_0x170df5(0x3a8)][0x0]);for(let _0x1c70f3=0x0;_0x1c70f3<_0x1b0da4['length'];_0x1c70f3++){const _0x510b1b={'id':_0x170df5(0x3be),'params':{'unitId':_0x1b0da4[_0x1c70f3][_0x170df5(0x4b1)],..._0x1b0da4[_0x1c70f3][_0x170df5(0x1e7)]}},_0x3b887b=this[_0x170df5(0x3d8)]['transformMutation'](_0x46ee8d,_0x510b1b,!0x1);if(_0x1a9445(_0x3b887b))throw _0x3b887b[_0x170df5(0x18c)];_0x46ee8d=_0x3b887b[_0x170df5(0x2ca)];}return{..._0x4d0489[_0x170df5(0xfb)](_0x5957e9),'mutations':[_0x46ee8d]};}[_0xefeb96(0x29b)](_0x325f56){const _0x16fccf=_0xefeb96,{unitID:_0x967f4}=_0x325f56,{history:_0x2c6798,collaboration:_0x5ed184}=this[_0x16fccf(0x1c0)][_0x16fccf(0x221)](_0x967f4);if(_0x2c6798[_0x16fccf(0x46c)]===0x0&&_0x5ed184[_0x16fccf(0x46c)]===0x0)return;const _0x2f7d1a=[],_0xeffc26=[];let _0x1f6344=_0x4d0489[_0x16fccf(0xfb)](_0x325f56[_0x16fccf(0x3a8)][0x0]),_0x389b4c=_0x4d0489[_0x16fccf(0xfb)](_0x325f56[_0x16fccf(0x3a8)][0x0]);for(let _0x567789=_0x2c6798['length']-0x1;_0x567789>=0x0;_0x567789--){const _0x551166={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c6798[_0x567789][_0x16fccf(0x4b1)],..._0x2c6798[_0x567789][_0x16fccf(0x1a6)]}},_0x644fef={'id':_0x16fccf(0x3be),'params':{'unitId':_0x2c6798[_0x567789]['unitId'],..._0x2c6798[_0x567789][_0x16fccf(0x1e7)]}},_0x1c6c51=this[_0x16fccf(0x3d8)][_0x16fccf(0x46e)](_0x1f6344,_0x551166,!0x1),_0xc5dd0f=this['_transformService'][_0x16fccf(0x46e)](_0x389b4c,_0x644fef,!0x1);if(_0x1a9445(_0x1c6c51))throw _0x1c6c51[_0x16fccf(0x18c)];if(_0x1a9445(_0xc5dd0f))throw _0xc5dd0f[_0x16fccf(0x18c)];_0x2f7d1a['unshift']({..._0x2c6798[_0x567789],'undoState':_0x1c6c51[_0x16fccf(0x3f7)][_0x16fccf(0x304)],'redoState':_0xc5dd0f[_0x16fccf(0x3f7)][_0x16fccf(0x304)]}),_0x1f6344=_0x1c6c51[_0x16fccf(0x2ca)],_0x389b4c=_0xc5dd0f[_0x16fccf(0x2ca)];}_0x1f6344=_0x4d0489[_0x16fccf(0xfb)](_0x325f56[_0x16fccf(0x3a8)][0x0]),_0x389b4c=_0x4d0489[_0x16fccf(0xfb)](_0x325f56[_0x16fccf(0x3a8)][0x0]);for(let _0x3ad6c9=_0x5ed184[_0x16fccf(0x46c)]-0x1;_0x3ad6c9>=0x0;_0x3ad6c9--){const _0x254bec={'id':_0x16fccf(0x3be),'params':{'unitId':_0x5ed184[_0x3ad6c9]['unitId'],..._0x5ed184[_0x3ad6c9][_0x16fccf(0x1a6)]}},_0x50ff2f={'id':_0x16fccf(0x3be),'params':{'unitId':_0x5ed184[_0x3ad6c9]['unitId'],..._0x5ed184[_0x3ad6c9][_0x16fccf(0x1e7)]}},_0x16c932=this['_transformService'][_0x16fccf(0x46e)](_0x1f6344,_0x254bec,!0x1),_0x56e1ca=this[_0x16fccf(0x3d8)][_0x16fccf(0x46e)](_0x389b4c,_0x50ff2f,!0x1);if(_0x1a9445(_0x16c932))throw _0x16c932[_0x16fccf(0x18c)];if(_0x1a9445(_0x56e1ca))throw _0x56e1ca[_0x16fccf(0x18c)];_0xeffc26['unshift']({..._0x5ed184[_0x3ad6c9],'undoState':_0x16c932[_0x16fccf(0x3f7)][_0x16fccf(0x304)],'redoState':_0x56e1ca[_0x16fccf(0x3f7)][_0x16fccf(0x304)]}),_0x1f6344=_0x16c932['m1Prime'],_0x389b4c=_0x56e1ca[_0x16fccf(0x2ca)];}this[_0x16fccf(0x1c0)]['setStateCache'](_0x967f4,{'history':_0x2f7d1a,'collaboration':_0xeffc26});}};pt=ro([xt(0x0,_0x3099f4(_0x3676c8)),xt(0x1,_0x5c28bd),xt(0x2,_0x3099f4(_0x3afa8a))],pt);function Pi(_0x50b930){const _0x799c67=_0xefeb96;let _0x49b5f2='';for(const _0x3dd3b6 of _0x50b930){const {startOffset:_0x2ff64b,endOffset:_0x2a4987,isActive:_0x1194f8,rangeType:_0x397e91,segmentId:_0x25158b,segmentPage:_0x1684db}=_0x3dd3b6;_0x49b5f2[_0x799c67(0x46c)]&&(_0x49b5f2+=','),_0x49b5f2+=_0x2ff64b+':'+_0x2a4987+':'+(_0x1194f8?'1':'0')+':'+_0x397e91+':'+_0x25158b+':'+_0x1684db;}return _0x49b5f2;}function oo(_0x21036d){const _0x438814=_0xefeb96,_0x31248d=_0x21036d[_0x438814(0x28b)](','),_0x568277=[];for(const _0x5cc6bf of _0x31248d){const [_0x1153be,_0x5b7c18,_0xb0c339,_0x206519,_0x5dd626,_0x372d2b]=_0x5cc6bf[_0x438814(0x28b)](':');_0x568277[_0x438814(0x477)]({'startOffset':Number(_0x1153be),'endOffset':Number(_0x5b7c18),'collapsed':_0x1153be===_0x5b7c18,'isActive':_0xb0c339==='1','rangeType':_0x206519===_0x11763b['TEXT']?_0x11763b[_0x438814(0x243)]:_0x11763b[_0x438814(0x346)],'segmentId':typeof _0x5dd626==_0x438814(0x38c)?String(_0x5dd626):'','segmentPage':Number(_0x372d2b!=null?_0x372d2b:-0x1)});}return _0x568277['some'](_0x376df4=>_0x376df4[_0x438814(0xff)])||(_0x568277[0x0][_0x438814(0xff)]=!0x0),_0x568277;}class Cs extends _0x2f42db{constructor(){const _0x1c262c=_0xefeb96;super(...arguments),g(this,_0x1c262c(0xdc),new _0x1d1c4b(null)),g(this,_0x1c262c(0x3bd),this[_0x1c262c(0xdc)][_0x1c262c(0x3ce)]());}[_0xefeb96(0x41b)](_0x1452c1){const _0x5cd0b1=_0xefeb96,{unitID:_0x2fed02,memberID:_0x597a5c,textRanges:_0x3409b8}=_0x1452c1,_0x452644=Pi(_0x3409b8);if(_0x452644==='')return;const _0x1dd080={'unitID':_0x2fed02,'memberID':_0x597a5c,'selection':_0x452644};this[_0x5cd0b1(0xdc)][_0x5cd0b1(0x2f1)](_0x1dd080);}}var ao=Object[_0xefeb96(0x466)],co=Object['getOwnPropertyDescriptor'],ho=(_0x129a29,_0x493ac9,_0x4b46bc,_0x2e6b8f)=>{const _0x350b1d=_0xefeb96;for(var _0xc1cb4c=_0x2e6b8f>0x1?void 0x0:_0x2e6b8f?co(_0x493ac9,_0x4b46bc):_0x493ac9,_0x67f3a4=_0x129a29[_0x350b1d(0x46c)]-0x1,_0x4c2ff9;_0x67f3a4>=0x0;_0x67f3a4--)(_0x4c2ff9=_0x129a29[_0x67f3a4])&&(_0xc1cb4c=(_0x2e6b8f?_0x4c2ff9(_0x493ac9,_0x4b46bc,_0xc1cb4c):_0x4c2ff9(_0xc1cb4c))||_0xc1cb4c);return _0x2e6b8f&&_0xc1cb4c&&ao(_0x493ac9,_0x4b46bc,_0xc1cb4c),_0xc1cb4c;},Fs=(_0x550fb7,_0x521382)=>(_0x65265a,_0xd917dd)=>_0x521382(_0x65265a,_0xd917dd,_0x550fb7);let gt=class{constructor(_0x4b28a2,_0x93dc95){const _0x486fcb=_0xefeb96;this[_0x486fcb(0x269)]=_0x4b28a2,this[_0x486fcb(0x3d8)]=_0x93dc95;}[_0xefeb96(0x1bf)](_0x3ccbea){const _0xe22376=_0xefeb96;var _0x3d61e8;const _0x4fa462=this[_0xe22376(0x269)][_0xe22376(0x271)](_0xf65f0a),_0x1b7d97=(_0x3d61e8=_0x4fa462[_0xe22376(0x163)]())!=null?_0x3d61e8:[];if(_0x1b7d97['length']===0x0)return;const _0x2a91a9=[{'id':_0xe22376(0x3be),'params':{'unitId':_0x3ccbea['unitID'],'actions':null,'textRanges':_0x1b7d97}}],_0x3080b3=this[_0xe22376(0x3d8)][_0xe22376(0x40e)](_0x3ccbea,_0x2a91a9);if(!_0xd4a330(_0x3080b3))throw _0x3080b3[_0xe22376(0x18c)];const _0x2eecdf=_0x3080b3['m2Prime'][0x0][_0xe22376(0x304)][_0xe22376(0x333)];Array[_0xe22376(0x49e)](_0x2eecdf)&&_0x2eecdf['length']&&_0x4fa462[_0xe22376(0x2e3)](_0x2eecdf,!0x1);}};gt=ho([Fs(0x0,_0x3099f4(_0x3676c8)),Fs(0x1,_0x5c28bd)],gt);const lo=new Set([_0x325473['id']]);function Vs(_0x23efee,_0x5a25ec,_0x5f14d2,_0xa53d82,_0x38d9ae){const _0xd49310=_0xefeb96;var _0x1c7ce2,_0x1ab6d5,_0x464db1,_0x33497c;const _0x5132ea=[];for(const _0x19358c of _0x23efee)if(lo[_0xd49310(0x179)](_0x19358c['id'])){if(_0x5132ea[_0xd49310(0x46c)]>0x0)break;_0x5132ea[_0xd49310(0x477)](_0x19358c);break;}else _0x5132ea[_0xd49310(0x477)](_0x19358c);const _0x44d64d=(_0x1ab6d5=(_0x1c7ce2=_0x38d9ae[_0xd49310(0x21b)]())==null?void 0x0:_0x1c7ce2['userID'])!=null?_0x1ab6d5:_0xd49310(0x2e5),_0x410ba3=(_0x33497c=(_0x464db1=_0x38d9ae[_0xd49310(0x21b)]())==null?void 0x0:_0x464db1[_0xd49310(0xd9)])!=null?_0x33497c:_0xd49310(0x2e5);return{'changeset':{'unitID':_0x5a25ec,'type':_0x4c8b56(_0x5f14d2[_0xd49310(0x3e1)](_0x5a25ec)),'baseRev':_0xa53d82['getCurrentRevOfUnit'](_0x5a25ec),'revision':0x0,'userID':_0x44d64d,'memberID':_0x410ba3,'mutations':_0x5132ea},'pendingMutations':_0x23efee[_0xd49310(0x352)](_0x5132ea[_0xd49310(0x46c)])};}function _o(_0x58b4b9,_0x54de44,_0x5db660,_0x592ae9,_0x35164e){const _0x5cccc3=_0xefeb96;var _0x264c3f,_0x25b438,_0x9951e,_0x44b68e;const _0x282337=[_0x58b4b9[_0x5cccc3(0x25f)]((_0xb91bc4,_0x49f1a5)=>{const _0x2e4429=_0x5cccc3;var _0x4c8102;const {id:_0x19b2c1}=_0xb91bc4,{id:_0x385218,type:_0x411c3b}=_0x49f1a5,_0x5634bc=(_0x4c8102=_0xb91bc4[_0x2e4429(0x304)])!=null?_0x4c8102:{'actions':null},_0x20ab8e=_0x49f1a5['params'];if(_0x19b2c1&&_0x19b2c1!==_0x385218)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x19b2c1+'\x20-\x20'+_0x385218+'.');return{..._0xb91bc4,'id':_0x385218,'type':_0x411c3b,'params':{'unitId':_0x20ab8e[_0x2e4429(0x4b1)],'textRanges':_0x20ab8e[_0x2e4429(0x333)],'actions':_0x2c8f38['compose'](_0x5634bc[_0x2e4429(0x255)],_0x20ab8e[_0x2e4429(0x255)])}};},{})],_0x35e420=(_0x25b438=(_0x264c3f=_0x35164e['getCurrentUser']())==null?void 0x0:_0x264c3f[_0x5cccc3(0x135)])!=null?_0x25b438:_0x5cccc3(0x2e5),_0xbd1c74=(_0x44b68e=(_0x9951e=_0x35164e['getCurrentUser']())==null?void 0x0:_0x9951e[_0x5cccc3(0xd9)])!=null?_0x44b68e:_0x5cccc3(0x2e5);return{'changeset':{'unitID':_0x54de44,'type':_0x4c8b56(_0x5db660['getUnitType'](_0x54de44)),'baseRev':_0x592ae9['getCurrentRevOfUnit'](_0x54de44),'revision':0x0,'userID':_0x35e420,'memberID':_0xbd1c74,'mutations':_0x282337},'pendingMutations':[]};}function Ui(_0x2601d7,_0x548d50){const _0x2ed30f=_0xefeb96,_0x47cf12=new _0x4efb30(0x1);return setTimeout(()=>_0x47cf12[_0x2ed30f(0x2f1)](_0x548d50),_0x2601d7),_0x47cf12[_0x2ed30f(0x3ce)]()[_0x2ed30f(0x272)](_0x4a1f3b(0x1));}const uo={'id':_0x5c7ca1['id'],'type':_0x3d2d65['MUTATION'],'params':{}};var fo=Object['defineProperty'],vo=Object[_0xefeb96(0x336)],Le=(_0x3905ad,_0x51ff9b,_0x442cd9,_0xff0931)=>{for(var _0x4ca653=_0xff0931>0x1?void 0x0:_0xff0931?vo(_0x51ff9b,_0x442cd9):_0x51ff9b,_0x1a2b69=_0x3905ad['length']-0x1,_0x2ded44;_0x1a2b69>=0x0;_0x1a2b69--)(_0x2ded44=_0x3905ad[_0x1a2b69])&&(_0x4ca653=(_0xff0931?_0x2ded44(_0x51ff9b,_0x442cd9,_0x4ca653):_0x2ded44(_0x4ca653))||_0x4ca653);return _0xff0931&&_0x4ca653&&fo(_0x51ff9b,_0x442cd9,_0x4ca653),_0x4ca653;},A=(_0x192afb,_0x4fde32)=>(_0x3e5482,_0x5c106b)=>_0x4fde32(_0x3e5482,_0x5c106b,_0x192afb),J=(_0x405c00=>(_0x405c00['NOT_COLLAB']=_0xefeb96(0x126),_0x405c00['SYNCED']=_0xefeb96(0x480),_0x405c00[_0xefeb96(0x390)]=_0xefeb96(0x2ce),_0x405c00[_0xefeb96(0x3b3)]=_0xefeb96(0x4bc),_0x405c00[_0xefeb96(0x3e5)]=_0xefeb96(0x3ec),_0x405c00['FETCH_MISS']='fetch_missing',_0x405c00[_0xefeb96(0x1be)]=_0xefeb96(0x417),_0x405c00[_0xefeb96(0x484)]=_0xefeb96(0x4ad),_0x405c00))(J||{});const Ni=0xea60;class $e{constructor(_0x5919ad,_0x566f73,_0x2b4ac9,_0x21d1bc,_0x4800c4,_0x375f54,_0xd28444,_0x13c60e,_0x275681){const _0x2d71b3=_0xefeb96;g(this,_0x2d71b3(0x45e),null),g(this,'_pendingMutations',[]),(this[_0x2d71b3(0xdb)]=_0x5919ad,this[_0x2d71b3(0x196)]=_0x566f73,this[_0x2d71b3(0x3aa)]=_0x4800c4,this[_0x2d71b3(0x29f)]=_0x375f54,this[_0x2d71b3(0x12b)]=_0xd28444,this[_0x2d71b3(0x1d7)]=_0x13c60e,this[_0x2d71b3(0x236)]=_0x275681,this[_0x2d71b3(0x45e)]=_0x2b4ac9,this[_0x2d71b3(0x26a)]=_0x21d1bc);}['_checkMissing'](_0x49f2c1){const _0x2d7196=_0xefeb96,_0x498ea3=this[_0x2d7196(0x1d7)][_0x2d7196(0x2ac)](this['unitID']);return _0x49f2c1['revision']>_0x498ea3+0x1?(this[_0x2d7196(0x3aa)][_0x2d7196(0xe5)]({'from':_0x498ea3,'to':_0x49f2c1[_0x2d7196(0x248)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5720de){const _0x4bf9cf=_0xefeb96;this[_0x4bf9cf(0x12b)]['transformUndoRedo'](this['unitID'],_0x5720de);}[_0xefeb96(0x26f)](_0x56b986){const _0x507cd0=_0xefeb96;var _0x1fa7f8,_0x363131;(_0x363131=(_0x1fa7f8=this[_0x507cd0(0x3aa)])['onTransformSelections'])==null||_0x363131['call'](_0x1fa7f8,_0x56b986);}[_0xefeb96(0x257)](_0x4559a8){const _0xcbfd57=_0xefeb96;var _0x269750,_0x114485;return(_0x114485=(_0x269750=this['_handler'])[_0xcbfd57(0x141)])==null?void 0x0:_0x114485[_0xcbfd57(0x2e7)](_0x269750,_0x4559a8);}[_0xefeb96(0x3a4)](_0x526a7e){const _0x144228=_0xefeb96;var _0x578468,_0x175a14;return(_0x175a14=(_0x578468=this['_handler'])[_0x144228(0x40c)])==null?void 0x0:_0x175a14[_0x144228(0x2e7)](_0x578468,_0x526a7e);}[_0xefeb96(0x2dc)](_0xd7ee4b){const _0x12059=_0xefeb96;var _0x2b5598,_0x3cb716,_0x120c92;return(_0x120c92=(_0x3cb716=(_0x2b5598=this[_0x12059(0x3aa)])[_0x12059(0x321)])==null?void 0x0:_0x3cb716[_0x12059(0x2e7)](_0x2b5598,_0xd7ee4b))!=null?_0x120c92:_0xd7ee4b;}[_0xefeb96(0x28e)](_0x472373){const _0x45b885=_0xefeb96;var _0x4e7d30,_0x7ae5b0,_0x4437b4;return(_0x4437b4=(_0x7ae5b0=(_0x4e7d30=this['_handler'])[_0x45b885(0x376)])==null?void 0x0:_0x7ae5b0[_0x45b885(0x2e7)](_0x4e7d30,_0x472373))!=null?_0x4437b4:_0x472373;}[_0xefeb96(0x2bd)](_0x455a1f){const _0x51d89d=_0xefeb96;var _0x69e10b,_0x23aa89;if(this[_0x51d89d(0x196)]===ce[_0x51d89d(0x4b4)]){const {unitID:_0x4d2714,mutations:_0x3b6b42,memberID:_0x5d833d}=_0x455a1f,_0x4eb8fc=_0x3b6b42[0x0]['params'][_0x51d89d(0x333)];Array[_0x51d89d(0x49e)](_0x4eb8fc)&&_0x4eb8fc[_0x51d89d(0x46c)]>0x0&&((_0x23aa89=(_0x69e10b=this['_handler'])[_0x51d89d(0x130)])==null||_0x23aa89['call'](_0x69e10b,{'unitID':_0x4d2714,'memberID':_0x5d833d,'textRanges':_0x4eb8fc}));}}[_0xefeb96(0x1cf)](){const _0x29f68e=_0xefeb96;this[_0x29f68e(0x236)][_0x29f68e(0x34e)](this[_0x29f68e(0xdb)],this[_0x29f68e(0x196)],this[_0x29f68e(0x45e)],this[_0x29f68e(0x26a)]);}['_getCurrentRevision'](){const _0x40553e=_0xefeb96;return this[_0x40553e(0x1d7)][_0x40553e(0x2ac)](this['unitID']);}[_0xefeb96(0x224)](){const _0x56c364=_0xefeb96;this[_0x56c364(0x1d7)][_0x56c364(0x41f)](this['unitID']);}[_0xefeb96(0x2fe)](_0x5e7de2){const _0xaac6b=_0xefeb96;var _0x3be945;let _0xd6dc5=this[_0xaac6b(0x2dc)](_0x5e7de2);_0xd6dc5=this['_transformRemoteChangesetByStateCache'](_0xd6dc5);const _0x264e9c=_0x36bdde(_0xd6dc5[_0xaac6b(0x3a8)],this['_commandService'],{'fromCollab':!0x0});if(!_0x264e9c[_0xaac6b(0x2c0)])throw _0x264e9c[_0xaac6b(0x18c)]instanceof Error?_0x264e9c[_0xaac6b(0x18c)]:new Error((_0x3be945=_0x264e9c['error'])!=null?_0x3be945:_0xaac6b(0x2bc));this[_0xaac6b(0x257)](_0xd6dc5),this['_transformStateCache'](_0xd6dc5),this[_0xaac6b(0x471)](_0x5e7de2),this[_0xaac6b(0x26f)](_0xd6dc5),this[_0xaac6b(0x2bd)](_0xd6dc5),this[_0xaac6b(0x224)]();}}let Fe=class extends $e{constructor(_0x2fccb8,_0x187329,_0xa15a97,_0x5a9470,_0x43990d,_0x5d58c0,_0x25ba27,_0x74f3bc,_0x1f9eca,_0x435531){const _0x8ae347=_0xefeb96;super(_0x2fccb8,_0x187329,null,[],_0xa15a97,_0x74f3bc,_0x25ba27,_0x5a9470,_0x43990d),g(this,'status',_0x8ae347(0x480)),(this['_injector']=_0x5d58c0,this[_0x8ae347(0x204)]=_0x1f9eca,this['_transformService']=_0x435531);}[_0xefeb96(0x253)](_0xbbc5ee){const _0x36f458=_0xefeb96,_0x1b1da0=this['_injector'][_0x36f458(0x25a)](pe,this[_0x36f458(0xdb)],this[_0x36f458(0x196)],[_0xbbc5ee],this[_0x36f458(0x3aa)]);return _0x1b1da0[_0x36f458(0x109)](),_0x1b1da0['_updateLocalCache'](),_0x1b1da0;}[_0xefeb96(0x38b)](_0x1bec6e){const _0x2a67ed=_0xefeb96;if(this[_0x2a67ed(0x3d2)](_0x1bec6e))return this[_0x2a67ed(0x269)][_0x2a67ed(0x25a)](he,this[_0x2a67ed(0xdb)],this['type'],null,[],null,[_0x1bec6e],this[_0x2a67ed(0x3aa)]);try{const _0x22a52c=this[_0x2a67ed(0x3d8)][_0x2a67ed(0x40e)](_0x1bec6e,[uo]);if(_0xd4a330(_0x22a52c)){const {c1Prime:_0x31510f}=_0x22a52c;return this['_executeRemoteChangeset'](_0x31510f),this;}throw _0x22a52c[_0x2a67ed(0x18c)];}catch(_0x1f12ae){return this[_0x2a67ed(0x204)][_0x2a67ed(0x18c)](_0x1f12ae),this['_onConflict'](!0x1);}}[_0xefeb96(0x145)](_0x27654b){const _0x1d5df9=_0xefeb96;return this[_0x1d5df9(0x269)][_0x1d5df9(0x25a)](Re,this[_0x1d5df9(0xdb)],this['type'],null,[],this[_0x1d5df9(0x3aa)],_0x27654b);}[_0xefeb96(0x38d)](){const _0x30e0d4=_0xefeb96;throw new Error(_0x30e0d4(0x498));}[_0xefeb96(0x36f)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xefeb96(0x45d)](){return this;}[_0xefeb96(0x425)](){const _0x197c05=_0xefeb96;return this[_0x197c05(0x269)][_0x197c05(0x25a)](ye,this[_0x197c05(0xdb)],this[_0x197c05(0x196)],null,[],this['_handler']);}[_0xefeb96(0x488)](){return this;}[_0xefeb96(0x1bd)](){const _0x235b68=_0xefeb96;throw new Error(_0x235b68(0x24b));}[_0xefeb96(0x319)](){const _0x2147c1=_0xefeb96,_0x370e9c=this['_revisionService'][_0x2147c1(0x2ac)](this[_0x2147c1(0xdb)]);return this[_0x2147c1(0x3aa)][_0x2147c1(0xe5)]({'from':_0x370e9c,'to':0x0}),this[_0x2147c1(0x269)][_0x2147c1(0x25a)](he,this[_0x2147c1(0xdb)],this[_0x2147c1(0x196)],null,[],null,[],this[_0x2147c1(0x3aa)]);}};Fe=Le([A(0x3,_0x3099f4(_0xa44bce)),A(0x4,_0x3099f4(q)),A(0x5,_0x3099f4(_0x3676c8)),A(0x6,_0x277be1),A(0x7,_0x45feb8),A(0x8,_0x40d13a),A(0x9,_0x5c28bd)],Fe);let pe=class extends $e{constructor(_0x39dd9e,_0x103e76,_0x4ae647,_0x36ea97,_0x443537,_0x7f07e4,_0x1750de,_0x5f4a58,_0x3c4afb,_0x18314c,_0x17252a,_0x154fa3,_0x53a2b6,_0x1c6d4f){const _0x4c5662=_0xefeb96;super(_0x39dd9e,_0x103e76,null,_0x4ae647,_0x36ea97,_0x18314c,_0x1c6d4f,_0x7f07e4,_0x1750de),g(this,_0x4c5662(0x21d),_0x4c5662(0x2ce)),g(this,_0x4c5662(0x177),null),g(this,_0x4c5662(0x1b0),null),(this[_0x4c5662(0x269)]=_0x443537,this[_0x4c5662(0x11b)]=_0x5f4a58,this['_logService']=_0x3c4afb,this[_0x4c5662(0x32b)]=_0x17252a,this[_0x4c5662(0x3d8)]=_0x154fa3,this[_0x4c5662(0x214)]=_0x53a2b6);}[_0xefeb96(0x253)](_0x7ba666){const _0x643c0b=_0xefeb96;return this['_pendingMutations'][_0x643c0b(0x477)](_0x7ba666),this[_0x643c0b(0x1cf)](),this;}[_0xefeb96(0x38b)](_0x4056cb){const _0x1b8d0b=_0xefeb96;if(this[_0x1b8d0b(0x3d2)](_0x4056cb))return this[_0x1b8d0b(0x491)](),this[_0x1b8d0b(0x269)]['createInstance'](he,this[_0x1b8d0b(0xdb)],this['type'],null,this[_0x1b8d0b(0x26a)],null,[_0x4056cb],this[_0x1b8d0b(0x3aa)]);try{const _0x427d05=this['_transformService'][_0x1b8d0b(0x40e)](_0x4056cb,this['_pendingMutations']);if(_0xd4a330(_0x427d05)){const {c1Prime:_0x19928c,m2Prime:_0x465f90}=_0x427d05;this[_0x1b8d0b(0x2fe)](_0x19928c);const _0x2dadc6=this[_0x1b8d0b(0x269)][_0x1b8d0b(0x25a)](pe,this[_0x1b8d0b(0xdb)],this[_0x1b8d0b(0x196)],_0x465f90,this[_0x1b8d0b(0x3aa)]);return this['_clearScheduledTask'](),_0x2dadc6[_0x1b8d0b(0x109)](this['_scheduleTimestamp']?Math[_0x1b8d0b(0x3c0)](0x0,new Date()[_0x1b8d0b(0x22f)]()-this[_0x1b8d0b(0x177)]):this[_0x1b8d0b(0x3c9)]()),_0x2dadc6;}throw _0x427d05['error'];}catch(_0x24ad58){return this[_0x1b8d0b(0x204)][_0x1b8d0b(0x18c)](_0x24ad58),this[_0x1b8d0b(0x145)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xefeb96(0x36f)](){const _0x582dfb=_0xefeb96;throw new Error(_0x582dfb(0x310));}[_0xefeb96(0x45d)](){return this;}[_0xefeb96(0x425)](){const _0x1183d2=_0xefeb96;return this[_0x1183d2(0x491)](),this[_0x1183d2(0x269)]['createInstance'](ye,this[_0x1183d2(0xdb)],this[_0x1183d2(0x196)],null,this[_0x1183d2(0x26a)],this[_0x1183d2(0x3aa)]);}[_0xefeb96(0x488)](){return this;}['_schedule'](_0x5f3eca){const _0x37d2b6=_0xefeb96,_0x4c7939=_0x5f3eca!=null?_0x5f3eca:this[_0x37d2b6(0x3c9)]();this[_0x37d2b6(0x177)]=new Date()['getTime'](),this[_0x37d2b6(0x1b0)]=window[_0x37d2b6(0x291)](()=>{const _0x685c7f=_0x37d2b6;this[_0x685c7f(0x491)]();let _0x3c27f5=null;switch(this[_0x685c7f(0x196)]){case ce[_0x685c7f(0x451)]:{_0x3c27f5=Vs(this[_0x685c7f(0x26a)],this[_0x685c7f(0xdb)],this[_0x685c7f(0x214)],this[_0x685c7f(0x1d7)],this[_0x685c7f(0x11b)]);break;}case ce['UNIVER_DOC']:{this[_0x685c7f(0x26a)][_0x685c7f(0x187)](_0x1716ab=>_0x1716ab['id']===_0x58f2a8['id'])?_0x3c27f5=_o(this[_0x685c7f(0x26a)],this['unitID'],this[_0x685c7f(0x214)],this[_0x685c7f(0x1d7)],this[_0x685c7f(0x11b)]):_0x3c27f5=Vs(this[_0x685c7f(0x26a)],this[_0x685c7f(0xdb)],this[_0x685c7f(0x214)],this['_revisionService'],this[_0x685c7f(0x11b)]);break;}default:throw new Error(_0x685c7f(0x2d1)+this[_0x685c7f(0x196)]+_0x685c7f(0x298));}const {changeset:_0x49b6d2,pendingMutations:_0x5f152a}=_0x3c27f5;this[_0x685c7f(0x3aa)][_0x685c7f(0x1fb)](_0x49b6d2);const _0x9ce189=_0x5f152a[_0x685c7f(0x46c)]?this[_0x685c7f(0x269)]['createInstance'](ge,this['unitID'],this['type'],_0x49b6d2,_0x5f152a,this[_0x685c7f(0x3aa)],void 0x0):this['_injector'][_0x685c7f(0x25a)](Te,this[_0x685c7f(0xdb)],this['type'],_0x49b6d2,this[_0x685c7f(0x3aa)]);_0x9ce189[_0x685c7f(0x1cf)](),this[_0x685c7f(0x3aa)][_0x685c7f(0x394)](this,_0x9ce189);},_0x4c7939);}[_0xefeb96(0x3c9)](){const _0x4a889a=_0xefeb96;var _0x156591;const _0xcb8247=this['_configService']['getConfig'](ie);return(_0x156591=_0xcb8247==null?void 0x0:_0xcb8247[_0x4a889a(0x2da)])!=null?_0x156591:cr;}[_0xefeb96(0x1bd)](){const _0x87335d=_0xefeb96;throw new Error(_0x87335d(0x15d));}['_clearScheduledTask'](){const _0x461f89=_0xefeb96;this[_0x461f89(0x1b0)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x461f89(0x1b0)]=null);}[_0xefeb96(0x145)](_0x323842){const _0xdebf4b=_0xefeb96;return this['_clearScheduledTask'](),this[_0xdebf4b(0x269)]['createInstance'](Re,this[_0xdebf4b(0xdb)],this[_0xdebf4b(0x196)],null,this[_0xdebf4b(0x26a)],this[_0xdebf4b(0x3aa)],_0x323842);}};pe=Le([A(0x4,_0x3099f4(_0x3676c8)),A(0x5,_0x3099f4(_0xa44bce)),A(0x6,_0x3099f4(q)),A(0x7,_0x3099f4(Ne)),A(0x8,_0x40d13a),A(0x9,_0x45feb8),A(0xa,_0x4ea3e2),A(0xb,_0x5c28bd),A(0xc,_0x3ca09d),A(0xd,_0x277be1)],pe);let Te=class extends $e{constructor(_0x109c63,_0x15a832,_0x30a4a9,_0x2b0db1,_0x3d9256,_0x6b5fe,_0x316e7e,_0x113e2c,_0xed2700,_0x5b331f,_0x8f69cb){const _0x5038fa=_0xefeb96;super(_0x109c63,_0x15a832,_0x30a4a9,[],_0x2b0db1,_0x113e2c,_0x8f69cb,_0x6b5fe,_0x316e7e),g(this,_0x5038fa(0x21d),_0x5038fa(0x4bc)),g(this,_0x5038fa(0x2d4),0x0),g(this,_0x5038fa(0x35d)),g(this,_0x5038fa(0x44e)),(this[_0x5038fa(0x269)]=_0x3d9256,this[_0x5038fa(0x204)]=_0xed2700,this[_0x5038fa(0x3d8)]=_0x5b331f);}['appendMutation'](_0x3b6eda){const _0x32ab61=_0xefeb96;this[_0x32ab61(0x491)]();const _0x251f04=this['_injector'][_0x32ab61(0x25a)](ge,this['unitID'],this[_0x32ab61(0x196)],this['_awaitingChangeset'],[_0x3b6eda],this['_handler'],this[_0x32ab61(0x35d)]);return _0x251f04[_0x32ab61(0x1cf)](),_0x251f04;}[_0xefeb96(0x38b)](_0x53af1e){const _0x46d55f=_0xefeb96;if(this['_checkMissing'](_0x53af1e))return this[_0x46d55f(0x491)](),this[_0x46d55f(0x269)][_0x46d55f(0x25a)](he,this[_0x46d55f(0xdb)],this[_0x46d55f(0x196)],this['_awaitingChangeset'],[],null,[_0x53af1e],this[_0x46d55f(0x3aa)]);try{const _0xc820b8=this[_0x46d55f(0x3d8)][_0x46d55f(0x2cc)]([_0x53af1e],[this['_awaitingChangeset']],!0x1);if(_0x3dbcae(_0xc820b8)){const {c1Prime:_0x5d3a8a,c2Prime:_0x28608b}=_0xc820b8;this['_executeRemoteChangeset'](_0x5d3a8a[0x0]),_0x28608b[0x0][_0x46d55f(0x1e3)]=this[_0x46d55f(0x357)](),this['_clearScheduledTask']();const _0x472e20=this[_0x46d55f(0x269)][_0x46d55f(0x25a)](Te,this[_0x46d55f(0xdb)],this[_0x46d55f(0x196)],_0x28608b[0x0],this[_0x46d55f(0x3aa)]);return _0x472e20['_updateLocalCache'](),_0x472e20;}return this[_0x46d55f(0x145)](!0x1);}catch(_0x14eeeb){return this[_0x46d55f(0x204)]['error'](_0x14eeeb),this[_0x46d55f(0x145)](!0x1);}}[_0xefeb96(0x38d)](_0x3d94b6){const _0x55166a=_0xefeb96;this[_0x55166a(0x491)]();const _0x5ba317=this[_0x55166a(0x1d7)]['getCurrentRevOfUnit'](this[_0x55166a(0xdb)]);if(_0x3d94b6[_0x55166a(0x248)]<_0x5ba317-0x1)return this;if(this[_0x55166a(0x3d2)](_0x3d94b6))return this[_0x55166a(0x269)]['createInstance'](he,this[_0x55166a(0xdb)],this['type'],null,[],this[_0x55166a(0x45e)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5bc73d=this[_0x55166a(0x269)][_0x55166a(0x25a)](Fe,this[_0x55166a(0xdb)],this[_0x55166a(0x196)],this[_0x55166a(0x3aa)]);return _0x5bc73d[_0x55166a(0x1cf)](),_0x5bc73d;}[_0xefeb96(0x36f)](_0x5d9b5e){const _0x4b471d=_0xefeb96;return this[_0x4b471d(0x145)](!!(_0x5d9b5e!=null&&_0x5d9b5e[_0x4b471d(0x102)]));}['onRemoteRetry'](_0x4ea1c6){const _0x192e40=_0xefeb96;return this[_0x192e40(0x2d4)]>Ni?this[_0x192e40(0x425)]():(this[_0x192e40(0x35d)]=Ui(this['_resendTimeout'],{'timeout':this[_0x192e40(0x2d4)],'reqId':_0x4ea1c6['reqId']}),this['_sender']=this[_0x192e40(0x35d)][_0x192e40(0x2e2)](({reqId:_0x345f99,timeout:_0x2fcc47})=>{const _0x1d962b=_0x192e40;this[_0x1d962b(0x2f4)](_0x345f99,_0x2fcc47);}),this);}[_0xefeb96(0x425)](){const _0x38367d=_0xefeb96;return this[_0x38367d(0x491)](),this['_injector'][_0x38367d(0x25a)](ye,this[_0x38367d(0xdb)],this[_0x38367d(0x196)],this[_0x38367d(0x45e)],[],this[_0x38367d(0x3aa)]);}[_0xefeb96(0x488)](){return this;}[_0xefeb96(0x1bd)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x5979c7){const _0x23e578=_0xefeb96;return this['_clearScheduledTask'](),this[_0x23e578(0x269)][_0x23e578(0x25a)](Re,this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x5979c7);}[_0xefeb96(0x2f4)](_0x42fc02,_0x41060a){const _0x5ded7f=_0xefeb96;var _0x18ade5;_0x42fc02===((_0x18ade5=this[_0x5ded7f(0x45e)])==null?void 0x0:_0x18ade5['reqId'])&&(this['resend'](),this[_0x5ded7f(0x2d4)]=_0x41060a===0x0?0x3e8:_0x41060a*0x2);}[_0xefeb96(0x491)](){const _0x4b8777=_0xefeb96;var _0x2d6e41;(_0x2d6e41=this[_0x4b8777(0x44e)])==null||_0x2d6e41[_0x4b8777(0x1df)](),this['_resendTimeout']=0x0;}};Te=Le([A(0x4,_0x3099f4(_0x3676c8)),A(0x5,_0x3099f4(_0xa44bce)),A(0x6,_0x3099f4(q)),A(0x7,_0x45feb8),A(0x8,_0x40d13a),A(0x9,_0x5c28bd),A(0xa,_0x277be1)],Te);let ge=class extends $e{constructor(_0x5dba00,_0x59f0c7,_0x41830a,_0xfa5791,_0x35fb2b,_0x42445d,_0x2f6d2e,_0xf0cb5d,_0x476372,_0x19f42d,_0x34344d,_0x4824ac,_0x3fc16b){const _0x11fccf=_0xefeb96;super(_0x5dba00,_0x59f0c7,_0x41830a,_0xfa5791,_0x35fb2b,_0x19f42d,_0x3fc16b,_0xf0cb5d,_0x476372),g(this,_0x11fccf(0x21d),_0x11fccf(0x3ec)),g(this,'_resendTimeout',0x0),g(this,_0x11fccf(0x35d)),g(this,_0x11fccf(0x44e)),(this['_injector']=_0x2f6d2e,this['_logService']=_0x34344d,this[_0x11fccf(0x3d8)]=_0x4824ac,_0x42445d&&(this[_0x11fccf(0x35d)]=_0x42445d,this['_sender']=this[_0x11fccf(0x35d)][_0x11fccf(0x2e2)](({reqId:_0x42ec3f,timeout:_0x50e878})=>{const _0x438c46=_0x11fccf;this[_0x438c46(0x2f4)](_0x42ec3f,_0x50e878);})));}[_0xefeb96(0x253)](_0x51d5d6){const _0x5a8e8a=_0xefeb96;return this[_0x5a8e8a(0x26a)][_0x5a8e8a(0x477)](_0x51d5d6),this;}[_0xefeb96(0x38b)](_0x2e7da0){const _0x946ec1=_0xefeb96;if(this[_0x946ec1(0x3d2)](_0x2e7da0))return this['_clearScheduledTask'](),this['_injector'][_0x946ec1(0x25a)](he,this[_0x946ec1(0xdb)],this[_0x946ec1(0x196)],this['_awaitingChangeset'],this[_0x946ec1(0x26a)],null,[_0x2e7da0],this[_0x946ec1(0x3aa)]);try{const _0xd6d369=this[_0x946ec1(0x3d8)][_0x946ec1(0x2cc)]([_0x2e7da0],[this[_0x946ec1(0x45e)]],!0x1);if(_0x3dbcae(_0xd6d369)){const {c1Prime:_0x5c1208,c2Prime:_0x29a5c5}=_0xd6d369,_0x9f67b4=this[_0x946ec1(0x3d8)][_0x946ec1(0x40e)](_0x5c1208[0x0],this[_0x946ec1(0x26a)]);if(_0xd4a330(_0x9f67b4)){const {c1Prime:_0x32b3de,m2Prime:_0x36dd6d}=_0x9f67b4;return this[_0x946ec1(0x2fe)](_0x32b3de),_0x29a5c5[0x0][_0x946ec1(0x1e3)]=this[_0x946ec1(0x357)](),this[_0x946ec1(0x491)](),this['_injector']['createInstance'](ge,this[_0x946ec1(0xdb)],this[_0x946ec1(0x196)],_0x29a5c5[0x0],_0x36dd6d,this[_0x946ec1(0x3aa)],void 0x0);}throw _0x9f67b4[_0x946ec1(0x18c)];}throw _0xd6d369['error'];}catch(_0x43e597){return this[_0x946ec1(0x204)][_0x946ec1(0x18c)](_0x43e597),this[_0x946ec1(0x145)](!0x1);}}[_0xefeb96(0x38d)](_0x36c682){const _0x4ce0dc=_0xefeb96;if(this['_clearScheduledTask'](),this[_0x4ce0dc(0x3d2)](_0x36c682))return this['_injector'][_0x4ce0dc(0x25a)](he,this['unitID'],this[_0x4ce0dc(0x196)],null,this[_0x4ce0dc(0x26a)],this[_0x4ce0dc(0x45e)],[],this['_handler']);this[_0x4ce0dc(0x224)]();const _0x4f7be2=this[_0x4ce0dc(0x269)][_0x4ce0dc(0x25a)](pe,this['unitID'],this[_0x4ce0dc(0x196)],this[_0x4ce0dc(0x26a)],this[_0x4ce0dc(0x3aa)]);return _0x4f7be2['_schedule'](),_0x4f7be2[_0x4ce0dc(0x1cf)](),_0x4f7be2;}[_0xefeb96(0x36f)](_0x13ee36){const _0x301f91=_0xefeb96;return this[_0x301f91(0x145)](!!(_0x13ee36!=null&&_0x13ee36[_0x301f91(0x102)]));}['onRemoteRetry'](_0x11b983){const _0x18510d=_0xefeb96;return this[_0x18510d(0x2d4)]>Ni?this[_0x18510d(0x425)]():(this[_0x18510d(0x35d)]=Ui(this[_0x18510d(0x2d4)],{'timeout':this['_resendTimeout'],'reqId':_0x11b983[_0x18510d(0xe2)]}),this[_0x18510d(0x44e)]=this[_0x18510d(0x35d)]['subscribe'](({reqId:_0x2a6418,timeout:_0x32a6c7})=>{this['_resendWithTimeout'](_0x2a6418,_0x32a6c7);}),this);}[_0xefeb96(0x425)](){const _0x39e1d0=_0xefeb96;return this['_clearScheduledTask'](),this[_0x39e1d0(0x269)][_0x39e1d0(0x25a)](ye,this[_0x39e1d0(0xdb)],this[_0x39e1d0(0x196)],this[_0x39e1d0(0x45e)],this[_0x39e1d0(0x26a)],this[_0x39e1d0(0x3aa)]);}[_0xefeb96(0x488)](){return this;}[_0xefeb96(0x1bd)](){const _0xafd462=_0xefeb96;this[_0xafd462(0x3aa)][_0xafd462(0x1fb)](this['_awaitingChangeset']);}[_0xefeb96(0x145)](_0x34b95f){const _0x1678d9=_0xefeb96;return this[_0x1678d9(0x491)](),this[_0x1678d9(0x269)]['createInstance'](Re,this[_0x1678d9(0xdb)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x34b95f);}[_0xefeb96(0x2f4)](_0x3b113a,_0x6ce2b2){const _0x21e723=_0xefeb96;var _0x15176a;_0x3b113a===((_0x15176a=this['_awaitingChangeset'])==null?void 0x0:_0x15176a[_0x21e723(0xe2)])&&(this[_0x21e723(0x1bd)](),this[_0x21e723(0x2d4)]=_0x6ce2b2===0x0?0x3e8:_0x6ce2b2*0x2);}[_0xefeb96(0x491)](){const _0x490acd=_0xefeb96;var _0x2e5cf6;(_0x2e5cf6=this[_0x490acd(0x44e)])==null||_0x2e5cf6[_0x490acd(0x1df)](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x3099f4(_0x3676c8)),A(0x7,_0x3099f4(_0xa44bce)),A(0x8,_0x3099f4(q)),A(0x9,_0x45feb8),A(0xa,_0x40d13a),A(0xb,_0x5c28bd),A(0xc,_0x277be1)],ge);let Re=class extends $e{constructor(_0x4f0ac6,_0x129d35,_0x36804c,_0x544a7a,_0x357ec2,_0x2144d0=!0x1,_0x332835,_0x3dbe47,_0x2a4be4,_0x5484a3,_0x852fc6,_0x583a6b,_0x2a8764){const _0x1efa4b=_0xefeb96;super(_0x4f0ac6,_0x129d35,_0x36804c,_0x544a7a,_0x357ec2,_0x3dbe47,_0x2a4be4,_0x852fc6,_0x5484a3),g(this,_0x1efa4b(0x21d),_0x1efa4b(0x417)),(this[_0x1efa4b(0xf7)]=_0x2144d0,this[_0x1efa4b(0x2fd)]=_0x332835,this['_localeService']=_0x583a6b,this[_0x1efa4b(0x4bb)]=_0x2a8764,this[_0x1efa4b(0x1d8)](),this[_0x1efa4b(0x467)](),this[_0x1efa4b(0x147)]());}['appendMutation'](){return this;}[_0xefeb96(0x38b)](){return this;}['onRemoteAck'](){return this;}[_0xefeb96(0x36f)](){return this;}[_0xefeb96(0x45d)](){return this;}[_0xefeb96(0x425)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x253726=_0xefeb96;throw new Error(_0x253726(0x317));}[_0xefeb96(0x467)](){const _0x2a47e2=_0xefeb96;this[_0x2a47e2(0x236)]['updateOfflineData'](this[_0x2a47e2(0xdb)],this[_0x2a47e2(0x196)],null,[]);}[_0xefeb96(0x1d8)](){const _0x219303=_0xefeb96;this[_0x219303(0xf7)]?this['_notificationService'][_0x219303(0x170)]({'title':this[_0x219303(0x312)]['t'](_0x219303(0x3ad)),'content':this['_localeService']['t']('permission.content'),'type':_0x219303(0x18c),'duration':0x0}):this[_0x219303(0x4bb)]['show']({'title':this[_0x219303(0x312)]['t'](_0x219303(0x12a)),'content':this[_0x219303(0x312)]['t'](_0x219303(0x23a)),'type':_0x219303(0x18c),'duration':0x0});}[_0xefeb96(0x147)](){const _0x1d0dcd=_0xefeb96;this[_0x1d0dcd(0x2fd)]['updatePermissionPoint'](new _0x3b5145(this[_0x1d0dcd(0xdb)])['id'],!0x1);}};Re=Le([A(0x6,_0x3099f4(_0x2d8777)),A(0x7,_0x45feb8),A(0x8,_0x277be1),A(0x9,_0x3099f4(q)),A(0xa,_0x3099f4(_0xa44bce)),A(0xb,_0x3099f4(_0x6eefec)),A(0xc,_0x2c0f6e)],Re);let ye=class extends $e{constructor(_0xe1deb,_0x4c847d,_0x4db180,_0x2b25c0,_0x2e67c4,_0x43851c,_0x3073ca,_0x164976,_0x4e2e7f,_0x47505a){const _0x13054f=_0xefeb96;super(_0xe1deb,_0x4c847d,_0x4db180,_0x2b25c0,_0x2e67c4,_0x4e2e7f,_0x47505a,_0x3073ca,_0x164976),g(this,_0x13054f(0x21d),_0x13054f(0x4ad)),this['_injector']=_0x43851c;}[_0xefeb96(0x253)](_0x21e8b1){const _0x6ebbf4=_0xefeb96;return this[_0x6ebbf4(0x26a)][_0x6ebbf4(0x477)](_0x21e8b1),this[_0x6ebbf4(0x1cf)](),this;}['onRemoteChangeset'](_0x3c2025){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x5f524c=_0xefeb96;throw new Error(_0x5f524c(0x150));}[_0xefeb96(0x36f)](){const _0x56039f=_0xefeb96;throw new Error(_0x56039f(0x10c));}['onRemoteRetry'](){return this;}[_0xefeb96(0x425)](){return this;}[_0xefeb96(0x488)](){const _0x5d21dc=_0xefeb96,{_injector:_0x52ad5d,_pendingMutations:_0x4ff73a,_awaitingChangeset:_0x388020,unitID:_0x957447,_handler:_0x40a1b5,type:_0x45eb93}=this,_0x3a9853=Ai(_0x52ad5d,_0x957447,_0x45eb93,_0x388020,_0x4ff73a,_0x40a1b5);return _0x3a9853 instanceof pe?_0x3a9853[_0x5d21dc(0x109)]():(_0x3a9853 instanceof ge||_0x3a9853 instanceof Te)&&_0x3a9853[_0x5d21dc(0x1bd)](),_0x3a9853;}[_0xefeb96(0x1bd)](){const _0x50b103=_0xefeb96;throw new Error(_0x50b103(0x230));}};ye=Le([A(0x5,_0x3099f4(_0x3676c8)),A(0x6,_0x3099f4(_0xa44bce)),A(0x7,_0x3099f4(q)),A(0x8,_0x45feb8),A(0x9,_0x277be1)],ye);let he=class extends $e{constructor(_0x4cd2d9,_0x1f4dde,_0x445610,_0x5e1cc1,_0x1c336e,_0x3c3d27,_0x16f8a1,_0x126647,_0x52a61d,_0x843228,_0x1d8ed2,_0x3a0a10,_0x27807f,_0x58d985){const _0x195ae5=_0xefeb96;super(_0x4cd2d9,_0x1f4dde,_0x445610,_0x5e1cc1,_0x16f8a1,_0x3a0a10,_0x27807f,_0x52a61d,_0x843228),g(this,'status',_0x195ae5(0x3b2)),(this[_0x195ae5(0x27c)]=_0x1c336e,this[_0x195ae5(0x31f)]=_0x3c3d27,this[_0x195ae5(0x269)]=_0x126647,this[_0x195ae5(0x204)]=_0x1d8ed2,this[_0x195ae5(0x3d8)]=_0x58d985);}['onMissedChangesetFetched'](_0x205a1){const _0x1ee3ef=_0xefeb96;try{const _0x44cd76=[..._0x205a1,...this[_0x1ee3ef(0x31f)]],_0x4061a7=[this[_0x1ee3ef(0x45e)]||this[_0x1ee3ef(0x27c)]][_0x1ee3ef(0x335)](_0x197d4a=>!!_0x197d4a);let _0x5b50c8,_0x3780ac;if(_0x4061a7[_0x1ee3ef(0x46c)]){const _0x33ff1e=this[_0x1ee3ef(0x3d8)]['transformChangesets'](_0x44cd76,_0x4061a7,!0x1);if(!_0x3dbcae(_0x33ff1e))throw _0x33ff1e['error'];_0x5b50c8=_0x33ff1e[_0x1ee3ef(0x2db)],_0x3780ac=_0x33ff1e['c2Prime'];}else _0x5b50c8=_0x44cd76,_0x3780ac=[];let _0x3aea29=this[_0x1ee3ef(0x26a)];_0x5b50c8[_0x1ee3ef(0x267)](_0x13d709=>{const _0x325e0d=_0x1ee3ef;let _0x46c94a;if(_0x3aea29['length']){const _0x28a0d7=this[_0x325e0d(0x3d8)][_0x325e0d(0x40e)](_0x13d709,_0x3aea29);if(!_0xd4a330(_0x28a0d7))throw _0x28a0d7[_0x325e0d(0x18c)];_0x46c94a=_0x28a0d7['c1Prime'],_0x3aea29=_0x28a0d7['m2Prime'];}else _0x46c94a=_0x13d709;this['_executeRemoteChangeset'](_0x46c94a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1ee3ef(0x224)](),this[_0x1ee3ef(0x45e)]&&_0x3780ac[_0x1ee3ef(0x46c)]&&(_0x3780ac[0x0][_0x1ee3ef(0x1e3)]=this[_0x1ee3ef(0x357)]());let _0x427aad;if(this[_0x1ee3ef(0x45e)]&&_0x3aea29[_0x1ee3ef(0x46c)]!==0x0)_0x427aad=this[_0x1ee3ef(0x269)][_0x1ee3ef(0x25a)](ge,this[_0x1ee3ef(0xdb)],this[_0x1ee3ef(0x196)],_0x3780ac[0x0],_0x3aea29,this[_0x1ee3ef(0x3aa)],void 0x0);else{if(this[_0x1ee3ef(0x45e)]&&_0x3aea29['length']===0x0)_0x3780ac[0x0][_0x1ee3ef(0x1e3)]=this[_0x1ee3ef(0x357)](),_0x427aad=this[_0x1ee3ef(0x269)][_0x1ee3ef(0x25a)](Te,this[_0x1ee3ef(0xdb)],this[_0x1ee3ef(0x196)],_0x3780ac[0x0],this[_0x1ee3ef(0x3aa)]);else{if(_0x3aea29[_0x1ee3ef(0x46c)]!==0x0){const _0x519d8a=this[_0x1ee3ef(0x269)][_0x1ee3ef(0x25a)](pe,this[_0x1ee3ef(0xdb)],this[_0x1ee3ef(0x196)],_0x3aea29,this['_handler']);_0x519d8a[_0x1ee3ef(0x109)](),_0x427aad=_0x519d8a;}else _0x427aad=this['_injector']['createInstance'](Fe,this[_0x1ee3ef(0xdb)],this[_0x1ee3ef(0x196)],this[_0x1ee3ef(0x3aa)]);}}return _0x427aad[_0x1ee3ef(0x1cf)](),_0x427aad;}catch(_0x449563){return this[_0x1ee3ef(0x204)][_0x1ee3ef(0x18c)](_0x1ee3ef(0x161),'failed\x20to\x20apply\x20missed\x20changesets!',_0x449563),this['_injector'][_0x1ee3ef(0x25a)](Re,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x1ee3ef(0x26a)],this[_0x1ee3ef(0x3aa)],!0x1);}}[_0xefeb96(0x1bd)](){const _0xbe0f76=_0xefeb96;throw new Error(_0xbe0f76(0x260));}['appendMutation'](_0x2f7ab3){return this['_pendingMutations']['push'](_0x2f7ab3),this;}['onRemoteChangeset'](_0x4c214c){const _0x4fb73b=_0xefeb96;return this[_0x4fb73b(0x31f)][_0x4fb73b(0x477)](_0x4c214c),this;}['onRemoteAck'](_0x5b4c38){const _0x5c36ee=_0xefeb96;if(this[_0x5c36ee(0x45e)])return this[_0x5c36ee(0x27c)]=this[_0x5c36ee(0x45e)],this[_0x5c36ee(0x45e)]=null,this;throw new Error(_0x5c36ee(0x1e0));}[_0xefeb96(0x36f)](_0x7f6343){const _0x1e306e=_0xefeb96;return this[_0x1e306e(0x145)](!!(_0x7f6343!=null&&_0x7f6343['isPermissionRej']));}[_0xefeb96(0x45d)](){return this;}['toggleOffline'](){const _0x33edaf=_0xefeb96;return this[_0x33edaf(0x269)]['createInstance'](ye,this['unitID'],this[_0x33edaf(0x196)],this[_0x33edaf(0x45e)],this[_0x33edaf(0x26a)],this['_handler']);}[_0xefeb96(0x488)](){return this;}[_0xefeb96(0x145)](_0x290498){const _0x5daa28=_0xefeb96;return this[_0x5daa28(0x269)]['createInstance'](Re,this[_0x5daa28(0xdb)],this[_0x5daa28(0x196)],this[_0x5daa28(0x45e)],this['_pendingMutations'],this['_handler'],_0x290498);}};he=Le([A(0x7,_0x3099f4(_0x3676c8)),A(0x8,_0x3099f4(_0xa44bce)),A(0x9,_0x3099f4(q)),A(0xa,_0x40d13a),A(0xb,_0x45feb8),A(0xc,_0x277be1),A(0xd,_0x5c28bd)],he);function Ai(_0x1252e4,_0x2b260b,_0x3b3937,_0x839db9,_0x2586ce,_0x2f1fa6){const _0x2c099d=_0xefeb96;return _0x839db9&&_0x2586ce[_0x2c099d(0x46c)]?_0x1252e4[_0x2c099d(0x25a)](ge,_0x2b260b,_0x3b3937,_0x839db9,_0x2586ce,_0x2f1fa6,void 0x0):_0x839db9?_0x1252e4[_0x2c099d(0x25a)](Te,_0x2b260b,_0x3b3937,_0x839db9,_0x2f1fa6):_0x2586ce[_0x2c099d(0x46c)]?_0x1252e4[_0x2c099d(0x25a)](pe,_0x2b260b,_0x3b3937,_0x2586ce,_0x2f1fa6):_0x1252e4['createInstance'](Fe,_0x2b260b,_0x3b3937,_0x2f1fa6);}var mo=Object[_0xefeb96(0x466)],po=Object[_0xefeb96(0x336)],Es=(_0x1307d0,_0x5b928a,_0x1930f8,_0x501afc)=>{const _0x42006d=_0xefeb96;for(var _0x24525c=_0x501afc>0x1?void 0x0:_0x501afc?po(_0x5b928a,_0x1930f8):_0x5b928a,_0x4a2abf=_0x1307d0[_0x42006d(0x46c)]-0x1,_0x52df9c;_0x4a2abf>=0x0;_0x4a2abf--)(_0x52df9c=_0x1307d0[_0x4a2abf])&&(_0x24525c=(_0x501afc?_0x52df9c(_0x5b928a,_0x1930f8,_0x24525c):_0x52df9c(_0x24525c))||_0x24525c);return _0x501afc&&_0x24525c&&mo(_0x5b928a,_0x1930f8,_0x24525c),_0x24525c;},H=(_0x2d9275,_0x5da617)=>(_0x41ebfe,_0x1d7762)=>_0x5da617(_0x41ebfe,_0x1d7762,_0x2d9275);let St=class extends _0x2f42db{constructor(_0x38eb11,_0x4d9b37,_0x252163,_0x5f032b,_0x26349b,_0x1ddce6,_0x15b7b9,_0x4926d5,_0x3adb72,_0x38cec2,_0x26ba2b,_0x2e1b41,_0x58c60e){const _0x339b37=_0xefeb96;super(),g(this,_0x339b37(0x49d),new _0x1d1c4b(null)),g(this,'state$',this['_state$'][_0x339b37(0x3ce)]()),g(this,_0x339b37(0x17c)),g(this,_0x339b37(0x464),!0x1),g(this,_0x339b37(0x21e),''),g(this,_0x339b37(0x36e),0x0),g(this,'status$',this[_0x339b37(0x19f)]['pipe'](_0x4376f4(_0x4dcb63=>_0x4dcb63?_0x4dcb63[_0x339b37(0x21d)]:J[_0x339b37(0x484)]),_0x2881f3(0x1))),g(this,_0x339b37(0x369),!0x1),g(this,_0x339b37(0x432),[]),(this[_0x339b37(0xdb)]=_0x38eb11,this[_0x339b37(0x2c1)]=_0x4d9b37,this[_0x339b37(0x34f)]=_0x252163,this[_0x339b37(0x269)]=_0x5f032b,this['_localCacheService']=_0x26349b,this[_0x339b37(0x118)]=_0x1ddce6,this['_localeService']=_0x15b7b9,this[_0x339b37(0x1d7)]=_0x4926d5,this[_0x339b37(0x204)]=_0x3adb72,this[_0x339b37(0x29f)]=_0x38cec2,this[_0x339b37(0x1a8)]=_0x26ba2b,this['_permissionService']=_0x2e1b41,this[_0x339b37(0x29e)]=_0x58c60e);}get['state'](){return this['_state'];}async['init'](){const _0x2f7091=_0xefeb96;if(this[_0x2f7091(0x1da)])throw new Error(_0x2f7091(0x10e));await this[_0x2f7091(0x411)]();}['pauseCollaboration'](){const _0x3d881b=_0xefeb96;return this[_0x3d881b(0x464)]=!0x0,_0x26357a(()=>{const _0x464a47=_0x3d881b;this[_0x464a47(0x464)]=!0x1,this[_0x464a47(0x415)]();});}[_0xefeb96(0x151)](_0xb421b0){const _0x149382=_0xefeb96;this[_0x149382(0x17c)]=_0xb421b0,this[_0x149382(0x49d)]['next'](_0xb421b0);}async[_0xefeb96(0x411)](){const _0x38e030=_0xefeb96;var _0x533cb8;this['_updateState'](await this[_0x38e030(0x1e8)]()),this[_0x38e030(0x29e)]&&((_0x533cb8=this[_0x38e030(0x29e)])==null||_0x533cb8[_0x38e030(0x405)](this['unitID']),this[_0x38e030(0x2bb)](this[_0x38e030(0x29e)]['getUnitStatus$'](this[_0x38e030(0xdb)])[_0x38e030(0x2e2)](_0x415f12=>{const _0x4d469b=_0x38e030;this[_0x4d469b(0x204)]['debug']('[CollaborationEntity]',_0x4d469b(0xe9),_0x415f12),_0x415f12===Di[_0x4d469b(0x258)]?(this[_0x4d469b(0x1a8)][_0x4d469b(0x170)]({'content':this[_0x4d469b(0x312)]['t'](_0x4d469b(0x3a1)),'type':_0x336366[_0x4d469b(0x2ee)]}),this[_0x4d469b(0x2fd)][_0x4d469b(0x131)](new _0x3b5145(this[_0x4d469b(0xdb)])['id'],!0x1),this[_0x4d469b(0x2fd)][_0x4d469b(0x1d5)](!0x1)):(this[_0x4d469b(0x2fd)]['updatePermissionPoint'](new _0x3b5145(this[_0x4d469b(0xdb)])['id'],!0x0),this[_0x4d469b(0x2fd)][_0x4d469b(0x1d5)](!0x0));})));let _0x2a5c01=!0x1;return this[_0x38e030(0x2bb)](this[_0x38e030(0x2c1)][_0x38e030(0x372)][_0x38e030(0x2e2)](_0x53ca17=>{const _0xd5e14c=_0x38e030;_0x53ca17===ve[_0xd5e14c(0xeb)]?this[_0xd5e14c(0x4c8)](_0x2a5c01):_0x53ca17===ve['OFFLINE']&&(_0x2a5c01=!0x0,this[_0xd5e14c(0x200)]());})),this[_0x38e030(0x2bb)](this[_0x38e030(0x2c1)][_0x38e030(0x2c3)]['subscribe'](_0x1a2835=>{const _0x4ca844=_0x38e030;try{switch(_0x1a2835[_0x4ca844(0x2d6)]){case _0x3b2ff1['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x57931f(_0x1a2835[_0x4ca844(0x1f4)]));break;}case _0x3b2ff1[_0x4ca844(0x378)]:{this[_0x4ca844(0x2c8)](_0x1a2835['data']);break;}case _0x3b2ff1['CHANGESET_REJ']:{this[_0x4ca844(0x21c)]();break;}case _0x3b2ff1[_0x4ca844(0x23e)]:{this['_onRemoteRetry'](_0x1a2835[_0x4ca844(0x1f4)]);break;}case _0x3b2ff1[_0x4ca844(0x16d)]:{this['_onFetchMissResult'](_0x1a2835['data'][_0x4ca844(0x2f6)][_0x4ca844(0x113)](_0xdd381b=>_0x57931f(_0xdd381b)));break;}case _0x3b2ff1[_0x4ca844(0xd7)]:this[_0x4ca844(0x21c)]({'isPermissionRej':!0x0});}}catch(_0x1bf054){throw console[_0x4ca844(0x18c)]('Error\x20on\x20receiving\x20event',_0x1bf054),_0x1bf054;}})),this[_0x38e030(0x17c)];}[_0xefeb96(0x17a)](){const _0x6928e9=_0xefeb96;this[_0x6928e9(0x369)]=!0x1;}[_0xefeb96(0x30f)](){const _0x4902cd=_0xefeb96;if(this[_0x4902cd(0x369)])throw new Error(_0x4902cd(0x183));this[_0x4902cd(0x369)]=!0x0;}[_0xefeb96(0x3de)](_0x599150){const _0x4bd037=_0xefeb96;this[_0x4bd037(0x30f)](),this['_updateState'](this['_state'][_0x4bd037(0x253)](_0x599150)),this[_0x4bd037(0x17a)]();}[_0xefeb96(0x2d2)](_0xd74ed4){const _0x5464ec=_0xefeb96;if(!(_0xd74ed4[_0x5464ec(0x248)]<=this[_0x5464ec(0x1d7)][_0x5464ec(0x2ac)](this[_0x5464ec(0xdb)]))){if(this['_collaborationPaused']){this[_0x5464ec(0x432)][_0x5464ec(0x477)](_0xd74ed4);return;}this['_applyRemoteChangeset'](_0xd74ed4);}}[_0xefeb96(0x415)](){const _0x3eb3bb=_0xefeb96;this[_0x3eb3bb(0x432)][_0x3eb3bb(0x267)](_0x5c022e=>this['_applyRemoteChangeset'](_0x5c022e)),this[_0x3eb3bb(0x432)]=[];}[_0xefeb96(0x39e)](_0x50f085){const _0x56ddc1=_0xefeb96,_0x493e47=this['_compressMutationService'][_0x56ddc1(0x472)][_0x56ddc1(0x197)](this[_0x56ddc1(0x118)][_0x56ddc1(0x472)][_0x56ddc1(0x1ca)]()['COMPRESS_MUTATION_APPLY'])(_0x50f085[_0x56ddc1(0x3a8)],null)||_0x50f085[_0x56ddc1(0x3a8)],_0x368195={..._0x50f085,'mutations':_0x493e47};this[_0x56ddc1(0x30f)](),this['_updateState'](this[_0x56ddc1(0x17c)][_0x56ddc1(0x38b)](_0x368195)),this['_unlockTransition']();}[_0xefeb96(0x2c8)](_0x6e6e91){const _0x35320=_0xefeb96;this[_0x35320(0x30f)](),this[_0x35320(0x151)](this['_state']['onRemoteAck'](_0x6e6e91)),this[_0x35320(0x17a)]();}[_0xefeb96(0x21c)](_0x167914){const _0x5cbc36=_0xefeb96;this[_0x5cbc36(0x30f)](),this[_0x5cbc36(0x151)](this[_0x5cbc36(0x17c)][_0x5cbc36(0x36f)](_0x167914)),this['_unlockTransition']();}[_0xefeb96(0x180)](_0x456086){const _0x400736=_0xefeb96;this[_0x400736(0x30f)](),this[_0x400736(0x151)](this['_state'][_0x400736(0x45d)](_0x456086)),this[_0x400736(0x17a)]();}[_0xefeb96(0x1b6)](_0x30a323){const _0x22942c=_0xefeb96;if(!(this[_0x22942c(0x17c)]instanceof he))throw new TypeError(_0x22942c(0x3c1));const _0x13d60e=_0x30a323['map'](_0x59f7c4=>{const _0x5c51e6=_0x22942c,_0xe2df98=this[_0x5c51e6(0x118)]['interceptor'][_0x5c51e6(0x197)](this[_0x5c51e6(0x118)][_0x5c51e6(0x472)][_0x5c51e6(0x1ca)]()[_0x5c51e6(0x209)])(_0x59f7c4[_0x5c51e6(0x3a8)],null)||_0x59f7c4[_0x5c51e6(0x3a8)];return{..._0x59f7c4,'mutations':_0xe2df98};});this[_0x22942c(0x30f)](),this['_updateState'](this[_0x22942c(0x17c)][_0x22942c(0x129)](_0x13d60e)),this[_0x22942c(0x17a)]();}[_0xefeb96(0x200)](){const _0x1bc5cd=_0xefeb96;this[_0x1bc5cd(0x30f)](),this[_0x1bc5cd(0x151)](this[_0x1bc5cd(0x17c)]['toggleOffline']()),this[_0x1bc5cd(0x17a)]();}[_0xefeb96(0x4c8)](_0x79af1b=!0x1){const _0x4242f6=_0xefeb96;this['_lockTransition'](),this[_0x4242f6(0x151)](this[_0x4242f6(0x17c)][_0x4242f6(0x488)]()),this[_0x4242f6(0x17a)]();const _0x1fee20=this[_0x4242f6(0x17c)];_0x79af1b&&_0x1fee20 instanceof Fe&&(this[_0x4242f6(0x30f)](),this[_0x4242f6(0x151)](_0x1fee20[_0x4242f6(0x319)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x3c0b0f=>{const _0x1b4542=_0x4451;this[_0x1b4542(0x2c1)][_0x1b4542(0x372)][_0x1b4542(0x272)](_0x4a1f3b(0x1))[_0x1b4542(0x2e2)](async _0x3d0cd2=>{const _0x20220f=_0x1b4542;_0x3c0b0f(await this['_createInitialStateImpl'](_0x3d0cd2===ve[_0x20220f(0xeb)]));});});}[_0xefeb96(0x23c)](){const _0x1cb65d=this['unitID'];return{'onStateChange':(_0x451cab,_0x64b447)=>{const _0x335f7a=_0x4451;if(_0x451cab!==this['_state'])throw new Error(_0x335f7a(0x16b)+_0x451cab[_0x335f7a(0x21d)]+'\x0aAfter:\x20'+_0x64b447['status']+'\x0aCurrent:\x20'+this[_0x335f7a(0x17c)][_0x335f7a(0x21d)]);this[_0x335f7a(0x151)](_0x64b447);},'onSendChangeset':_0x3c16df=>{const _0x3e8744=_0x4451;_0x3c16df['sid']||(_0x3c16df['sid']=this[_0x3e8744(0x21e)],_0x3c16df[_0x3e8744(0xe2)]=++this[_0x3e8744(0x36e)]);const _0xfb028e={'eventID':_0x3b2ff1[_0x3e8744(0x152)],'data':{'unitID':_0x3c16df[_0x3e8744(0xdb)],'unitType':this[_0x3e8744(0x34f)],'changeset':_0x3c16df,'memberID':this[_0x3e8744(0x2c1)][_0x3e8744(0x136)]()}};this[_0x3e8744(0x2c1)][_0x3e8744(0x40d)](_0xfb028e,this[_0x3e8744(0xdb)]);},'onMissingChangesets':({from:_0x4e699b,to:_0x379f23})=>{const _0x187057=_0x4451;this[_0x187057(0x204)][_0x187057(0x2a5)](_0x187057(0x377),'fetching\x20missing\x20changesets\x20from\x20'+_0x4e699b+'\x20to\x20'+_0x379f23);const _0x35155a={'eventID':_0x3b2ff1[_0x187057(0x499)],'data':{'unitID':_0x1cb65d,'unitType':this[_0x187057(0x34f)],'from':_0x4e699b,'to':_0x379f23}};this['session'][_0x187057(0x40d)](_0x35155a,this[_0x187057(0xdb)]);}};}async[_0xefeb96(0x144)](_0x4a16cd){const _0x54e14e=_0xefeb96;var _0x49414a,_0x341461;const _0x552d49=await this[_0x54e14e(0x236)][_0x54e14e(0x33c)](this[_0x54e14e(0xdb)]),_0x526243=(_0x49414a=_0x552d49==null?void 0x0:_0x552d49[_0x54e14e(0x3a8)])!=null?_0x49414a:[],_0x13ad48=(_0x341461=_0x552d49==null?void 0x0:_0x552d49[_0x54e14e(0x448)])!=null?_0x341461:null,_0x1c058c=!!(_0x13ad48!=null&&_0x13ad48['sid'])&&!!(_0x13ad48!=null&&_0x13ad48['reqId']);this[_0x54e14e(0x21e)]=_0x1c058c?_0x13ad48[_0x54e14e(0x344)]:Gr(),this['_changesetReqId']=_0x1c058c?_0x13ad48['reqId']:0x0;const _0x2be461=this[_0x54e14e(0xdb)];try{this[_0x54e14e(0x219)](_0x13ad48,_0x526243);}catch(_0x239625){this['_logService'][_0x54e14e(0x18c)](_0x239625);}const _0x8059d7=this[_0x54e14e(0x23c)]();if(_0x4a16cd){const _0x3be3b7=Ai(this[_0x54e14e(0x269)],_0x2be461,this[_0x54e14e(0x34f)],_0x13ad48,_0x526243,_0x8059d7);return _0x3be3b7 instanceof pe?_0x3be3b7['_schedule']():(_0x3be3b7 instanceof ge||_0x3be3b7 instanceof Te)&&_0x3be3b7[_0x54e14e(0x1bd)](),_0x3be3b7;}return this['_injector'][_0x54e14e(0x25a)](ye,_0x2be461,this[_0x54e14e(0x34f)],_0x13ad48,_0x526243,_0x8059d7);}[_0xefeb96(0x219)](_0x83ac92,_0x50813c){const _0x2d65c4=_0xefeb96;var _0x37203e,_0x1e252c;const _0x1e0b0a=this['_compressMutationService'][_0x2d65c4(0x472)][_0x2d65c4(0x197)](this[_0x2d65c4(0x118)][_0x2d65c4(0x472)]['getInterceptPoints']()[_0x2d65c4(0x209)]);(_0x37203e=_0x1e0b0a((_0x83ac92==null?void 0x0:_0x83ac92[_0x2d65c4(0x3a8)])||[],null))==null||_0x37203e[_0x2d65c4(0x267)](_0x6a58f0=>this['_commandService'][_0x2d65c4(0x408)](_0x6a58f0['id'],_0x6a58f0[_0x2d65c4(0x304)])),(_0x1e252c=_0x1e0b0a(_0x50813c||[],null))==null||_0x1e252c[_0x2d65c4(0x267)](_0x13924d=>this['_commandService']['executeCommand'](_0x13924d['id'],_0x13924d['params']));}};St=Es([H(0x3,_0x3099f4(_0x3676c8)),H(0x4,_0x3099f4(q)),H(0x5,_0x3099f4(_0x23472d)),H(0x6,_0x3099f4(_0x6eefec)),H(0x7,_0x3099f4(_0xa44bce)),H(0x8,_0x40d13a),H(0x9,_0x45feb8),H(0xa,_0x3480f5),H(0xb,_0x2d8777),H(0xc,_0x118e7e(yt))],St);let ss=class extends St{constructor(_0xda0c64,_0x45e9b0,_0x5687b2,_0x901861,_0x3cb64e,_0x3517ec,_0x4f1129,_0xe446de,_0x112f39,_0x9178ef,_0x1f1c61,_0x554dfa,_0x2e74fd,_0x4f064a,_0x267f56,_0x107f07,_0x3f3996,_0x418c3e){const _0x3748c1=_0xefeb96;super(_0xda0c64,_0x5687b2,_0x45e9b0,_0x901861,_0x3cb64e,_0x3517ec,_0x4f1129,_0xe446de,_0x4f064a,_0x267f56,_0x107f07,_0x3f3996,_0x418c3e),this[_0x3748c1(0xdb)]=_0xda0c64,this[_0x3748c1(0x196)]=_0x45e9b0,this[_0x3748c1(0x1c0)]=_0x112f39,this[_0x3748c1(0x3e0)]=_0x9178ef,this['_docTransformStateCacheService']=_0x1f1c61,this['_docTransformSelectionsService']=_0x554dfa,this[_0x3748c1(0x286)]=_0x2e74fd;}[_0xefeb96(0x23c)](){const _0x14e226=_0xefeb96,_0x2f5db6=super[_0x14e226(0x23c)]();return _0x2f5db6[_0x14e226(0x141)]=_0x3eceec=>this[_0x14e226(0x3e0)]['transformIMECache'](_0x3eceec),_0x2f5db6[_0x14e226(0x40c)]=_0xe45d71=>this[_0x14e226(0x28a)][_0x14e226(0x1c8)](_0xe45d71),_0x2f5db6[_0x14e226(0x341)]=_0x4ee2a3=>this['_docTransformSelectionsService'][_0x14e226(0x1bf)](_0x4ee2a3),_0x2f5db6[_0x14e226(0x130)]=_0x3a20f1=>this[_0x14e226(0x286)]['syncEditingCollabCursor'](_0x3a20f1),_0x2f5db6[_0x14e226(0x321)]=_0x35968c=>this[_0x14e226(0x3e0)][_0x14e226(0x48f)](_0x35968c),_0x2f5db6[_0x14e226(0x376)]=_0x39c9d=>this[_0x14e226(0x28a)][_0x14e226(0x48f)](_0x39c9d),_0x2f5db6;}async[_0xefeb96(0x411)](){const _0x75ee04=_0xefeb96,_0x4a9ded=await super['_init']();return this[_0x75ee04(0x1c0)][_0x75ee04(0x125)][_0x75ee04(0x272)](_0x41a6cf(this[_0x75ee04(0x18b)]))[_0x75ee04(0x2e2)](_0x2dba80=>{const _0x477039=_0x75ee04;if(_0x2dba80==null)return;const {unitId:_0x2417e6,redoState:_0xf8b8fc,commandId:_0x2dcf53}=_0x2dba80;if(_0x2417e6!==this[_0x477039(0xdb)])return;const _0x2a7e74={'id':_0x2dcf53,'type':_0x3d2d65[_0x477039(0x250)],'params':{'unitId':_0x2417e6,'actions':_0xf8b8fc[_0x477039(0x255)],'textRanges':null}};this[_0x477039(0x3de)](_0x2a7e74);}),_0x4a9ded;}};ss=Es([H(0x3,_0x3099f4(_0x3676c8)),H(0x4,_0x3099f4(q)),H(0x5,_0x3099f4(_0x23472d)),H(0x6,_0x3099f4(_0x6eefec)),H(0x7,_0x3099f4(_0xa44bce)),H(0x8,_0x3099f4(_0x3afa8a)),H(0x9,_0x3099f4(vt)),H(0xa,_0x3099f4(pt)),H(0xb,_0x3099f4(gt)),H(0xc,_0x3099f4(Cs)),H(0xd,_0x40d13a),H(0xe,_0x45feb8),H(0xf,_0x3480f5),H(0x10,_0x2d8777),H(0x11,_0x118e7e(yt))],ss);let is=class extends St{constructor(_0x302008,_0x9928ad,_0x452b25,_0x3388f8,_0x4eeaff,_0x8d515c,_0x17520c,_0xfa9b6d,_0xcc3e95,_0x559d39,_0x2a74be,_0xd3f2be,_0x422b72,_0x342e6d){const _0x1aad62=_0xefeb96;super(_0x302008,_0x452b25,_0x9928ad,_0x3388f8,_0x4eeaff,_0x8d515c,_0x17520c,_0xfa9b6d,_0x559d39,_0x2a74be,_0xd3f2be,_0x422b72,_0x342e6d),this[_0x1aad62(0xdb)]=_0x302008,this['type']=_0x9928ad,this[_0x1aad62(0x192)]=_0xcc3e95;}[_0xefeb96(0x23c)](){const _0x5bc3c0=_0xefeb96,_0xe392fa=super['_createHandler']();return _0xe392fa['onTransformSelections']=_0x430aa7=>this[_0x5bc3c0(0x192)][_0x5bc3c0(0x1bf)](_0x430aa7),_0xe392fa;}async[_0xefeb96(0x411)](){const _0x58147c=_0xefeb96,_0x5458e7=await super['_init']();return this[_0x58147c(0x2bb)](this[_0x58147c(0x29f)][_0x58147c(0x396)]((_0x3fe67c,_0x393d53)=>{const _0x34eeba=_0x58147c;if(_0x3fe67c[_0x34eeba(0x196)]!==_0x3d2d65['MUTATION']||_0x393d53!=null&&_0x393d53[_0x34eeba(0x47e)]||_0x393d53!=null&&_0x393d53['onlyLocal'])return;const _0x5bd205=_0x3fe67c[_0x34eeba(0x304)];if((_0x5bd205==null?void 0x0:_0x5bd205[_0x34eeba(0x4b1)])!==this[_0x34eeba(0xdb)])return;const _0x5a44d3=_0x3fe67c,_0x3b9250=this[_0x34eeba(0x118)][_0x34eeba(0x472)][_0x34eeba(0x197)](this['_compressMutationService'][_0x34eeba(0x472)][_0x34eeba(0x1ca)]()[_0x34eeba(0x363)])([_0x5a44d3],null)||[_0x5a44d3];this[_0x34eeba(0x3de)](_0x3b9250[0x0]);})),_0x5458e7;}};is=Es([H(0x3,_0x3099f4(_0x3676c8)),H(0x4,_0x3099f4(q)),H(0x5,_0x3099f4(_0x23472d)),H(0x6,_0x3099f4(_0x6eefec)),H(0x7,_0x3099f4(_0xa44bce)),H(0x8,_0x3099f4(mt)),H(0x9,_0x40d13a),H(0xa,_0x45feb8),H(0xb,_0x3480f5),H(0xc,_0x2d8777),H(0xd,_0x118e7e(yt))],is);var go=Object[_0xefeb96(0x466)],So=Object['getOwnPropertyDescriptor'],Io=(_0x2ac8a0,_0x2fb01d,_0x4a5bea,_0x678d32)=>{const _0x1be2bd=_0xefeb96;for(var _0x3e1adc=_0x678d32>0x1?void 0x0:_0x678d32?So(_0x2fb01d,_0x4a5bea):_0x2fb01d,_0x209bcc=_0x2ac8a0[_0x1be2bd(0x46c)]-0x1,_0x5dde70;_0x209bcc>=0x0;_0x209bcc--)(_0x5dde70=_0x2ac8a0[_0x209bcc])&&(_0x3e1adc=(_0x678d32?_0x5dde70(_0x2fb01d,_0x4a5bea,_0x3e1adc):_0x5dde70(_0x3e1adc))||_0x3e1adc);return _0x678d32&&_0x3e1adc&&go(_0x2fb01d,_0x4a5bea,_0x3e1adc),_0x3e1adc;},Lt=(_0x41d163,_0x1f0803)=>(_0x138738,_0x6d09e9)=>_0x1f0803(_0x138738,_0x6d09e9,_0x41d163);let it=class extends _0x2f42db{constructor(_0x37b608,_0x59783c,_0x481b54){const _0x518409=_0xefeb96;super(),g(this,_0x518409(0x120),new Map()),g(this,_0x518409(0x301),new _0x17e316()),(this['_injector']=_0x37b608,this[_0x518409(0x47a)]=_0x59783c,this[_0x518409(0x214)]=_0x481b54,this['_init']());}[_0xefeb96(0x3b4)](){const _0x16db6b=_0xefeb96;super['dispose'](),this[_0x16db6b(0x120)][_0x16db6b(0x267)](_0x2945be=>_0x2945be[_0x16db6b(0x3b4)]()),this[_0x16db6b(0x120)][_0x16db6b(0x2e0)]();}['getCollabEntity'](_0x56e96e){const _0x30effe=_0xefeb96;var _0x320158;return(_0x320158=this[_0x30effe(0x120)][_0x30effe(0x271)](_0x56e96e))!=null?_0x320158:null;}['getCollabEntity$'](_0x555b1c){const _0x431296=_0xefeb96,_0x30b57c=this[_0x431296(0x334)](_0x555b1c);return _0x30b57c?_0x59a608(_0x30b57c):this[_0x431296(0x301)][_0x431296(0x272)](_0x353c46(_0x4f02f4=>_0x4f02f4[_0x431296(0xdb)]===_0x555b1c));}[_0xefeb96(0x411)](){const _0x2ebc07=_0xefeb96;this[_0x2ebc07(0x214)][_0x2ebc07(0x423)](_0x634e8e[_0x2ebc07(0x451)])[_0x2ebc07(0x272)](_0x41a6cf(this['dispose$']),_0x3f70c2(0x10))[_0x2ebc07(0x2e2)](async _0x533390=>{const _0x41addd=_0x2ebc07,_0x43beb7=_0x533390['getUnitId'](),_0x2b4c00=await this['_startCollaboration'](_0x43beb7,ce['UNIVER_SHEET']);this[_0x41addd(0x120)][_0x41addd(0xf2)](_0x43beb7,_0x2b4c00);}),this[_0x2ebc07(0x214)][_0x2ebc07(0x423)](_0x634e8e[_0x2ebc07(0x4b4)])[_0x2ebc07(0x272)](_0x41a6cf(this['dispose$']),_0x3f70c2(0x10))[_0x2ebc07(0x272)](_0x353c46(_0x37d179=>!_0x37d179['getUnitId']()[_0x2ebc07(0x2a9)]('__')))['subscribe'](async _0x1ce44a=>{const _0x52cc20=_0x2ebc07,_0x4eb6cb=_0x1ce44a[_0x52cc20(0xf6)](),_0x2f3859=await this[_0x52cc20(0x3cc)](_0x4eb6cb,ce[_0x52cc20(0x4b4)]);this['_entities']['set'](_0x4eb6cb,_0x2f3859);}),_0x1b8a05(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x634e8e[_0x2ebc07(0x451)]),this[_0x2ebc07(0x214)][_0x2ebc07(0x33d)](_0x634e8e['UNIVER_DOC']))[_0x2ebc07(0x272)](_0x41a6cf(this['dispose$']))[_0x2ebc07(0x2e2)](_0x75a76f=>{const _0x541f47=_0x2ebc07,_0x1a7ebe=_0x75a76f['getUnitId'](),_0x3db012=this[_0x541f47(0x120)][_0x541f47(0x271)](_0x1a7ebe);_0x3db012&&(_0x3db012['dispose'](),this['_entities']['delete'](_0x1a7ebe));});}async[_0xefeb96(0x3cc)](_0x318ca9,_0x3c7718){const _0x26c2d1=_0xefeb96,_0x1c361f=await this['_collabSessionService'][_0x26c2d1(0x302)](_0x318ca9),_0xd2a9bd=this[_0x26c2d1(0x269)][_0x26c2d1(0x25a)](this[_0x26c2d1(0x1e1)](_0x3c7718),_0x318ca9,_0x3c7718,_0x1c361f);return await _0xd2a9bd[_0x26c2d1(0x276)](),this[_0x26c2d1(0x301)][_0x26c2d1(0x2f1)](_0xd2a9bd),_0xd2a9bd;}['_getCtorByUniverType'](_0xc8b411){const _0x3af35c=_0xefeb96;switch(_0xc8b411){case ce['UNIVER_DOC']:return ss;case ce[_0x3af35c(0x451)]:return is;default:throw new Error(_0x3af35c(0x385)+_0xc8b411);}}};it=Io([Lt(0x0,_0x3099f4(_0x3676c8)),Lt(0x1,_0x3099f4(Ae)),Lt(0x2,_0x3ca09d)],it);const Gs=[_0xefeb96(0x3af),'jiqing500','verdancy600',_0xefeb96(0x33e),_0xefeb96(0x2cb),_0xefeb96(0x227)];class bs extends _0x4f89fd{constructor(){const _0x40dc56=_0xefeb96;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x40dc56(0x206),0x0);}['assignAColorForMemberID'](_0x5a0a05){const _0x2fb100=_0xefeb96;if(this['_assignedColors'][_0x2fb100(0x179)](_0x5a0a05))return this['_assignedColors'][_0x2fb100(0x271)](_0x5a0a05);const _0x40997d=Gs[this[_0x2fb100(0x206)]];return this[_0x2fb100(0x206)]=(this['_colorIndex']+0x1)%Gs['length'],this[_0x2fb100(0x340)][_0x2fb100(0xf2)](_0x5a0a05,_0x40997d),_0x40997d;}}var Co=Object[_0xefeb96(0x466)],Eo=Object[_0xefeb96(0x336)],bo=(_0x53f71f,_0x38f4cc,_0x1f3792,_0x494438)=>{const _0x179701=_0xefeb96;for(var _0x42e658=_0x494438>0x1?void 0x0:_0x494438?Eo(_0x38f4cc,_0x1f3792):_0x38f4cc,_0x369d7a=_0x53f71f[_0x179701(0x46c)]-0x1,_0xdd7056;_0x369d7a>=0x0;_0x369d7a--)(_0xdd7056=_0x53f71f[_0x369d7a])&&(_0x42e658=(_0x494438?_0xdd7056(_0x38f4cc,_0x1f3792,_0x42e658):_0xdd7056(_0x42e658))||_0x42e658);return _0x494438&&_0x42e658&&Co(_0x38f4cc,_0x1f3792,_0x42e658),_0x42e658;},Oe=(_0x179687,_0x312ef9)=>(_0x4d42a3,_0x2197a2)=>_0x312ef9(_0x4d42a3,_0x2197a2,_0x179687);const To=0x12c,Ro=0x64;let ns=class extends _0x2f42db{constructor(_0x4acaee,_0x5392a0,_0x40503a,_0x10b3ea,_0x24d01e,_0xc6128d,_0x303f67,_0x3d5fd7,_0x3b4a9e){const _0x10260f=_0xefeb96;super(),g(this,'_online',!0x1),g(this,_0x10260f(0x411),!0x1),g(this,_0x10260f(0x37d),new _0x1d1c4b(new Map())),g(this,'cursorInfo$',this[_0x10260f(0x37d)]['asObservable']()),g(this,_0x10260f(0x24d),new _0x1d1c4b([])),g(this,_0x10260f(0x2e4),this[_0x10260f(0x24d)]['pipe'](_0x5d1181(To))),g(this,_0x10260f(0x1f2),_0x3d4248(_0x4855d3=>{const _0x34c2ec=_0x10260f,_0x3eebd2={'eventID':_0x3b2ff1[_0x34c2ec(0x18a)],'data':{'unitID':this['unitID'],'memberID':this[_0x34c2ec(0x194)]['getMemberID'](),'selection':Pi(_0x4855d3)}};this[_0x34c2ec(0x194)][_0x34c2ec(0x40d)](_0x3eebd2,this[_0x34c2ec(0xdb)]);},Ro)),(this[_0x10260f(0xdb)]=_0x4acaee,this['_session']=_0x5392a0,this[_0x10260f(0x269)]=_0x40503a,this[_0x10260f(0x449)]=_0x10b3ea,this[_0x10260f(0x11b)]=_0x24d01e,this[_0x10260f(0x446)]=_0xc6128d,this[_0x10260f(0x3d8)]=_0x303f67,this[_0x10260f(0x214)]=_0x3d5fd7,this[_0x10260f(0x29f)]=_0x3b4a9e);}get[_0xefeb96(0x134)](){const _0x5552f1=_0xefeb96;return this[_0x5552f1(0x37d)][_0x5552f1(0x238)]();}get['roomMembers'](){const _0x32786d=_0xefeb96;return this[_0x32786d(0x24d)][_0x32786d(0x238)]();}[_0xefeb96(0x3b4)](){const _0x519d45=_0xefeb96;super[_0x519d45(0x3b4)](),this[_0x519d45(0x37d)][_0x519d45(0x2f1)](new Map()),this[_0x519d45(0x37d)][_0x519d45(0x1de)](),this[_0x519d45(0x24d)][_0x519d45(0x2f1)]([]),this[_0x519d45(0x24d)][_0x519d45(0x1de)]();}['init'](){const _0x5eeca0=_0xefeb96;this[_0x5eeca0(0x411)]||(this[_0x5eeca0(0x411)]=!0x0,this[_0x5eeca0(0x194)]['sessionStatus$'][_0x5eeca0(0x272)](_0x41a6cf(this[_0x5eeca0(0x18b)]))[_0x5eeca0(0x2e2)](_0x2ff77c=>{const _0x1a38c5=_0x5eeca0;_0x2ff77c===ve[_0x1a38c5(0xeb)]?this['_toggleOnline']():this[_0x1a38c5(0x200)]();}),this[_0x5eeca0(0x194)][_0x5eeca0(0x2c3)][_0x5eeca0(0x272)](_0x41a6cf(this[_0x5eeca0(0x18b)]))[_0x5eeca0(0x2e2)](_0x3c3fc9=>{const _0x59e004=_0x5eeca0,_0x3f9c5b=_0x3c3fc9[_0x59e004(0x2d6)];_0x3f9c5b===_0x3b2ff1[_0x59e004(0x18a)]&&this[_0x59e004(0xec)](_0x3c3fc9),_0x3f9c5b===_0x3b2ff1[_0x59e004(0x29a)]&&this[_0x59e004(0xef)](_0x3c3fc9);}),this['disposeWithMe'](this[_0x5eeca0(0x29f)][_0x5eeca0(0x396)](_0x523f4f=>{const _0x16f484=_0x5eeca0,_0x2a42c6=_0x523f4f['params'];_0x2a42c6!=null&&this[_0x16f484(0xf4)]&&_0x523f4f['id']===_0x15fd2f['id']&&_0x2a42c6[_0x16f484(0x4b1)]===this['unitID']&&_0x2a42c6[_0x16f484(0x23f)]===!0x1&&_0x2a42c6['ranges'][_0x16f484(0x46c)]>0x0&&this[_0x16f484(0x1f2)](_0x2a42c6[_0x16f484(0x14c)]);})),this['_syncEditingCollabCursorService'][_0x5eeca0(0x3bd)][_0x5eeca0(0x272)](_0x41a6cf(this[_0x5eeca0(0x18b)]))[_0x5eeca0(0x2e2)](_0x39e083=>{const _0xd63666=_0x5eeca0;if((_0x39e083==null?void 0x0:_0x39e083[_0xd63666(0xdb)])!==this['unitID'])return;const _0x3024a6={'eventID':_0x3b2ff1[_0xd63666(0x18a)],'data':_0x39e083};this['_onCursorUpdate'](_0x3024a6);}),this[_0x5eeca0(0x2bb)](this[_0x5eeca0(0x29f)][_0x5eeca0(0x396)](_0x317f7b=>{const _0x3b441c=_0x5eeca0;if(_0x317f7b[_0x3b441c(0x304)]==null)return;const _0x51f3bd=_0x317f7b[_0x3b441c(0x304)];if(_0x317f7b['id']!==_0x58f2a8['id']||_0x51f3bd[_0x3b441c(0x4b1)]!==this[_0x3b441c(0xdb)])return;const _0x12288b={'id':_0x3b441c(0x3be),'params':_0x51f3bd},_0x1f6c97=this['cursorInfo'];for(const [_0x13fa79,_0xbf218e]of _0x1f6c97){const _0x3831ef={'id':_0x3b441c(0x3be),'params':{'unitId':this[_0x3b441c(0xdb)],'actions':null,'textRanges':_0xbf218e['ranges']}},_0x28efb7=this[_0x3b441c(0x3d8)]['transformMutation'](_0x12288b,_0x3831ef,!0x1);if(_0x1a9445(_0x28efb7))throw _0x28efb7['error'];_0x1f6c97['set'](_0x13fa79,{..._0xbf218e,'ranges':_0x28efb7['m2Prime'][_0x3b441c(0x304)][_0x3b441c(0x333)]});}queueMicrotask(()=>{const _0x4e3eef=_0x3b441c;this[_0x4e3eef(0x37d)][_0x4e3eef(0x2f1)](_0x1f6c97);});})));}[_0xefeb96(0xec)](_0x5c70b1){const _0x20cfde=_0xefeb96;var _0x4fb5f6,_0x1696d1;const {memberID:_0x37cd44,selection:_0x49cc59}=_0x5c70b1[_0x20cfde(0x1f4)],_0x5cccae=oo(_0x49cc59),_0x39cb6a=(_0x1696d1=(_0x4fb5f6=this[_0x20cfde(0x11b)][_0x20cfde(0x273)](this[_0x20cfde(0xdb)],_0x37cd44))==null?void 0x0:_0x4fb5f6[_0x20cfde(0x21f)])!=null?_0x1696d1:'Unknown\x20user',_0x1a9c9b={'color':this['_colorAssignService'][_0x20cfde(0x1b1)](_0x37cd44),'name':_0x39cb6a,'ranges':_0x5cccae},_0x2755ba=this[_0x20cfde(0x134)];_0x2755ba['set'](_0x37cd44,_0x1a9c9b),this[_0x20cfde(0x37d)][_0x20cfde(0x2f1)](_0x2755ba);}[_0xefeb96(0xef)](_0x59a8b4){const _0x15e4a4=_0xefeb96,{memberID:_0x3b43fd}=_0x59a8b4[_0x15e4a4(0x1f4)],_0x3f1f5f=this['cursorInfo'];_0x3f1f5f[_0x15e4a4(0x2b4)](_0x3b43fd),this[_0x15e4a4(0x37d)]['next'](_0x3f1f5f);}[_0xefeb96(0x4c8)](){const _0x474265=_0xefeb96;var _0x445310;if(this[_0x474265(0xf4)]=!0x0,((_0x445310=this[_0x474265(0x214)][_0x474265(0x186)]())==null?void 0x0:_0x445310[_0x474265(0xf6)]())!==this['unitID'])return;const _0x334bb8=this[_0x474265(0x269)][_0x474265(0x271)](_0xf65f0a)['getDocRanges']();Array[_0x474265(0x49e)](_0x334bb8)&&_0x334bb8[_0x474265(0x46c)]>0x0&&this[_0x474265(0x1f2)](_0x334bb8);}[_0xefeb96(0x200)](){const _0x3d3cad=_0xefeb96;this[_0x3d3cad(0xf4)]=!0x1;}};ns=bo([Oe(0x2,_0x3099f4(_0x3676c8)),Oe(0x3,_0x3099f4(bs)),Oe(0x4,_0x3099f4(Ne)),Oe(0x5,_0x3099f4(Cs)),Oe(0x6,_0x5c28bd),Oe(0x7,_0x3ca09d),Oe(0x8,_0x45feb8)],ns);var yo=Object[_0xefeb96(0x466)],Oo=Object['getOwnPropertyDescriptor'],wo=(_0x105c23,_0x195e12,_0x4cd385,_0x5038e0)=>{for(var _0x1f5324=_0x5038e0>0x1?void 0x0:_0x5038e0?Oo(_0x195e12,_0x4cd385):_0x195e12,_0x15fc89=_0x105c23['length']-0x1,_0x36c887;_0x15fc89>=0x0;_0x15fc89--)(_0x36c887=_0x105c23[_0x15fc89])&&(_0x1f5324=(_0x5038e0?_0x36c887(_0x195e12,_0x4cd385,_0x1f5324):_0x36c887(_0x1f5324))||_0x1f5324);return _0x5038e0&&_0x1f5324&&yo(_0x195e12,_0x4cd385,_0x1f5324),_0x1f5324;},Be=(_0x5e18da,_0x53b603)=>(_0x4338e5,_0x5ac420)=>_0x53b603(_0x4338e5,_0x5ac420,_0x5e18da);const Do=0x12c,Po=0x64,Uo=()=>{let _0x206da2=[],_0x1d2f03=!0x1;return _0x224832=>{const _0x8c39fd=_0x4451;_0x206da2[_0x8c39fd(0x477)](_0x224832),_0x1d2f03||(_0x1d2f03=!0x0,setTimeout(()=>{const _0x5cf908=_0x8c39fd;_0x206da2[_0x5cf908(0x267)](_0x38b045=>_0x38b045()),_0x206da2=[],_0x1d2f03=!0x1;}));};};let rs=class extends _0x2f42db{constructor(_0x43733,_0x25b67f,_0xf82aec,_0x8da978,_0x3eb3f1,_0x5171c7,_0x55a8c3,_0x342185){const _0x4e672a=_0xefeb96;super(),g(this,_0x4e672a(0xf4),!0x1),g(this,_0x4e672a(0x411),!0x1),g(this,_0x4e672a(0x37d),new _0x1d1c4b(new Map())),g(this,_0x4e672a(0x4cf),this['_cursorInfo$'][_0x4e672a(0x3ce)]()),g(this,_0x4e672a(0x24d),new _0x1d1c4b([])),g(this,_0x4e672a(0x2e4),this[_0x4e672a(0x24d)][_0x4e672a(0x272)](_0x5d1181(Do))),g(this,_0x4e672a(0x1f2),_0x3d4248((_0x409dbe,_0x56a7ea)=>{const _0x2abf54=_0x4e672a,_0x23dcb1={'eventID':_0x3b2ff1['UPDATE_CURSOR'],'data':{'unitID':this[_0x2abf54(0xdb)],'memberID':this[_0x2abf54(0x194)][_0x2abf54(0x136)](),'selection':_0x5a7388(_0x409dbe,_0x56a7ea['range'])}};this[_0x2abf54(0x194)][_0x2abf54(0x40d)](_0x23dcb1,this[_0x2abf54(0xdb)]);},Po)),(this[_0x4e672a(0xdb)]=_0x43733,this[_0x4e672a(0x194)]=_0x25b67f,this[_0x4e672a(0x269)]=_0xf82aec,this[_0x4e672a(0x449)]=_0x8da978,this['_memberService']=_0x3eb3f1,this[_0x4e672a(0x214)]=_0x5171c7,this[_0x4e672a(0x29f)]=_0x55a8c3,this['_refRangeService']=_0x342185);}get[_0xefeb96(0x134)](){const _0x31ad85=_0xefeb96;return this['_cursorInfo$'][_0x31ad85(0x238)]();}get['roomMembers'](){const _0x35e46e=_0xefeb96;return this['_roomMembers$'][_0x35e46e(0x238)]();}[_0xefeb96(0x3b4)](){const _0x46151f=_0xefeb96;super['dispose'](),this[_0x46151f(0x37d)][_0x46151f(0x2f1)](new Map()),this['_cursorInfo$']['complete'](),this[_0x46151f(0x24d)][_0x46151f(0x2f1)]([]),this[_0x46151f(0x24d)][_0x46151f(0x1de)]();}['init'](){const _0x1362c=_0xefeb96;this[_0x1362c(0x411)]||(this[_0x1362c(0x411)]=!0x0,this[_0x1362c(0x194)][_0x1362c(0x372)][_0x1362c(0x272)](_0x41a6cf(this['dispose$']))[_0x1362c(0x2e2)](_0x15b402=>{const _0x77f82b=_0x1362c;_0x15b402===ve[_0x77f82b(0xeb)]?this[_0x77f82b(0x4c8)]():this[_0x77f82b(0x200)]();}),this['_session'][_0x1362c(0x2c3)]['pipe'](_0x41a6cf(this[_0x1362c(0x18b)]))['subscribe'](_0x438064=>{const _0x34d7a2=_0x1362c,_0x9d5d2c=_0x438064['eventID'];_0x9d5d2c===_0x3b2ff1[_0x34d7a2(0x18a)]&&this[_0x34d7a2(0xec)](_0x438064),_0x9d5d2c===_0x3b2ff1[_0x34d7a2(0x29a)]&&this[_0x34d7a2(0xef)](_0x438064);}),this[_0x1362c(0xe6)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1c5c7a=>{const _0x48bbf1=_0x1362c;if(this[_0x48bbf1(0xf4)]&&_0x1c5c7a['id']===_0xace6cf['id']&&_0x1c5c7a[_0x48bbf1(0x304)][_0x48bbf1(0x4b1)]===this[_0x48bbf1(0xdb)]){const _0x3d9ee5=_0x1c5c7a[_0x48bbf1(0x304)];this['_updateLocalCursor'](_0x3d9ee5['subUnitId'],_0x3d9ee5[_0x48bbf1(0x46f)][0x0]);}})));}[_0xefeb96(0xec)](_0x563727){const _0xfd6bce=_0xefeb96;var _0x1c83b1,_0x113527;const {memberID:_0x57a09c,selection:_0xb9d198}=_0x563727[_0xfd6bce(0x1f4)],{sheetName:_0x4818ca,range:_0x4e17ef}=_0x56c9f0(_0xb9d198),_0x3a83d3={'name':(_0x113527=(_0x1c83b1=this['_memberService'][_0xfd6bce(0x273)](this['unitID'],_0x57a09c))==null?void 0x0:_0x1c83b1[_0xfd6bce(0x21f)])!=null?_0x113527:_0xfd6bce(0x47c),'range':this[_0xfd6bce(0x114)](_0x4818ca,_0x4e17ef),'sheetID':_0x4818ca,'color':this[_0xfd6bce(0x449)][_0xfd6bce(0x1b1)](_0x57a09c),'selection':_0xb9d198},_0x55b845=this['cursorInfo'];_0x55b845[_0xfd6bce(0xf2)](_0x57a09c,_0x3a83d3),this['_cursorInfo$']['next'](_0x55b845);}['_onCursorDelete'](_0x2da7c1){const _0x1a3011=_0xefeb96,{memberID:_0x387caf}=_0x2da7c1[_0x1a3011(0x1f4)],_0x2d0789=this['cursorInfo'];_0x2d0789[_0x1a3011(0x2b4)](_0x387caf),this[_0x1a3011(0x37d)][_0x1a3011(0x2f1)](_0x2d0789);}[_0xefeb96(0x114)](_0x2fdbbd,_0x287946){const _0x130d67=_0xefeb96;var _0x34b957,_0xb9046d;const _0x1cc4f6=(_0xb9046d=(_0x34b957=this['_univerInstanceService'][_0x130d67(0x40b)](this[_0x130d67(0xdb)]))==null?void 0x0:_0x34b957['getSheetBySheetId'](_0x2fdbbd))==null?void 0x0:_0xb9046d[_0x130d67(0x421)]();return(_0x1cc4f6==null?void 0x0:_0x1cc4f6[_0x130d67(0x431)](_0x2cd083=>_0x22b767[_0x130d67(0x251)](_0x2cd083,_0x287946)))||_0x287946;}['_onRefRangeChange'](){const _0x1afff0=_0xefeb96,_0x266423=new _0x642676(),_0x11e109=Uo(),_0x53ab2a=()=>{const _0x1796eb=_0x4451;_0x266423[_0x1796eb(0x3b4)]();const _0x2bcf37=(_0x1b5da1,_0x54d55b,_0x2997a6,_0x524b19)=>{const _0x12b961=_0x1796eb;let _0xbe0b22=[];switch(_0x1b5da1['id']){case _0x4a5afd[_0x12b961(0x2c4)]:{_0xbe0b22=_0x17f8d2(_0x1b5da1,_0x524b19);break;}case _0x4a5afd['DeleteRangeMoveUpCommandId']:{_0xbe0b22=_0x1af049(_0x1b5da1,_0x524b19);break;}case _0x4a5afd['InsertColCommandId']:{_0xbe0b22=_0x30ee5d(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x2e6)]:{_0xbe0b22=_0x121945(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x436)]:{_0xbe0b22=_0x34ebeb(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x338)]:{_0xbe0b22=_0x233c37(_0x1b5da1,_0x524b19);break;}case _0x4a5afd['MoveRangeCommandId']:{_0xbe0b22=_0x4d88f0(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x32d)]:{_0xbe0b22=_0x144949(_0x1b5da1,_0x524b19);break;}case _0x4a5afd[_0x12b961(0x158)]:{_0xbe0b22=_0x316f3c(_0x1b5da1,_0x524b19);break;}}const _0x5c69c7=_0x5f03cd(_0xbe0b22,_0x524b19),_0x3d52a2=this[_0x12b961(0x134)][_0x12b961(0x271)](_0x54d55b);if(_0x3d52a2&&_0x5c69c7){const _0xade6b5={..._0x3d52a2,'range':_0x5c69c7};this[_0x12b961(0x134)][_0x12b961(0xf2)](_0x54d55b,_0xade6b5),_0x11e109(()=>{const _0x3b5afa=_0x12b961,_0x1019ba=this['_refRangeService']['registerRefRange'](_0x5c69c7,_0x2021b5=>(_0x1019ba[_0x3b5afa(0x3b4)](),_0x2bcf37(_0x2021b5,_0x54d55b,_0x2997a6,_0x5c69c7)));_0x266423[_0x3b5afa(0x437)](_0x1019ba);});}return{'redos':[],'undos':[]};};this[_0x1796eb(0x134)][_0x1796eb(0x267)]((_0xdf36d5,_0x19478f)=>{const _0x2aeb19=_0x1796eb,{range:_0x28476c,sheetID:_0x13d367}=_0xdf36d5,_0x2dbacf=this[_0x2aeb19(0xd8)][_0x2aeb19(0x226)](_0x28476c,_0x3d39a1=>(_0x2dbacf[_0x2aeb19(0x3b4)](),_0x2bcf37(_0x3d39a1,_0x19478f,_0x13d367,_0x28476c)));_0x266423['add'](_0x2dbacf);});};this[_0x1afff0(0x2bb)](_0x26357a(this[_0x1afff0(0x37d)][_0x1afff0(0x2e2)](()=>{_0x53ab2a();})));}['_toggleOnline'](){const _0x3c25d2=_0xefeb96;var _0x9e1b3,_0xf020c6;if(this[_0x3c25d2(0xf4)]=!0x0,((_0x9e1b3=this[_0x3c25d2(0x214)][_0x3c25d2(0x186)]())==null?void 0x0:_0x9e1b3[_0x3c25d2(0xf6)]())!==this[_0x3c25d2(0xdb)])return;const _0x53e3fa=(_0xf020c6=this[_0x3c25d2(0x269)]['get'](_0x195025)[_0x3c25d2(0x323)]())==null?void 0x0:_0xf020c6[0x0],_0x57ec41=this['_univerInstanceService'][_0x3c25d2(0x252)](_0x634e8e[_0x3c25d2(0x451)])[_0x3c25d2(0x245)]();_0x53e3fa&&_0x57ec41&&this[_0x3c25d2(0x1f2)](_0x57ec41[_0x3c25d2(0x13c)](),_0x53e3fa);}[_0xefeb96(0x200)](){const _0x2d94b0=_0xefeb96;this[_0x2d94b0(0xf4)]=!0x1;}};rs=wo([Be(0x2,_0x3099f4(_0x3676c8)),Be(0x3,_0x3099f4(bs)),Be(0x4,_0x3099f4(Ne)),Be(0x5,_0x3ca09d),Be(0x6,_0x45feb8),Be(0x7,_0x3099f4(_0x43749e))],rs);var No=Object[_0xefeb96(0x466)],Ao=Object[_0xefeb96(0x336)],Mo=(_0x540b18,_0x273505,_0xf1fd2a,_0x4daa1e)=>{const _0xd18d1d=_0xefeb96;for(var _0x5eed94=_0x4daa1e>0x1?void 0x0:_0x4daa1e?Ao(_0x273505,_0xf1fd2a):_0x273505,_0x46a985=_0x540b18[_0xd18d1d(0x46c)]-0x1,_0x482153;_0x46a985>=0x0;_0x46a985--)(_0x482153=_0x540b18[_0x46a985])&&(_0x5eed94=(_0x4daa1e?_0x482153(_0x273505,_0xf1fd2a,_0x5eed94):_0x482153(_0x5eed94))||_0x5eed94);return _0x4daa1e&&_0x5eed94&&No(_0x273505,_0xf1fd2a,_0x5eed94),_0x5eed94;},$t=(_0x43810b,_0x387c9f)=>(_0x32b9a3,_0x26fabf)=>_0x387c9f(_0x32b9a3,_0x26fabf,_0x43810b);let Ve=class extends _0x2f42db{constructor(_0x52ac36,_0x3bd334,_0x5efb7f){const _0x2e99e0=_0xefeb96;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0x17e316()),(this['_univerInstanceService']=_0x52ac36,this[_0x2e99e0(0x269)]=_0x3bd334,this[_0x2e99e0(0x47a)]=_0x5efb7f,this[_0x2e99e0(0x411)]());}['dispose'](){const _0x142508=_0xefeb96;super['dispose'](),this[_0x142508(0x301)][_0x142508(0x1de)](),this[_0x142508(0x120)]['forEach'](_0x54ec06=>_0x54ec06['dispose']());}['getCollabCursors$'](_0xf00d24){const _0x4027f1=_0xefeb96;return this['_entities'][_0x4027f1(0x179)](_0xf00d24)?this['_entities'][_0x4027f1(0x271)](_0xf00d24)[_0x4027f1(0x4cf)]:this[_0x4027f1(0x301)][_0x4027f1(0x272)](_0x4847d3(_0x261b3a=>_0x261b3a[_0x4027f1(0xdb)]===_0xf00d24),_0x18db0e(_0x55c077=>_0x55c077[_0x4027f1(0x4cf)]));}[_0xefeb96(0x411)](){const _0x3a247c=_0xefeb96;this['_univerInstanceService'][_0x3a247c(0x423)](_0x634e8e[_0x3a247c(0x451)])[_0x3a247c(0x272)](_0x41a6cf(this[_0x3a247c(0x18b)]))[_0x3a247c(0x2e2)](async _0x1cfb41=>{const _0x5d9986=_0x3a247c,_0x10041a=_0x1cfb41[_0x5d9986(0xf6)](),_0x485dd0=await this['_startSheetCollabCursor'](_0x10041a);this[_0x5d9986(0x301)]['next'](_0x485dd0),this['_entities'][_0x5d9986(0xf2)](_0x10041a,_0x485dd0);}),this[_0x3a247c(0x214)][_0x3a247c(0x423)](_0x634e8e[_0x3a247c(0x4b4)])['pipe'](_0x41a6cf(this[_0x3a247c(0x18b)]))[_0x3a247c(0x272)](_0x4847d3(_0x581223=>!_0x581223[_0x3a247c(0xf6)]()[_0x3a247c(0x2a9)]('__')))[_0x3a247c(0x2e2)](async _0xc15932=>{const _0x23d572=_0x3a247c,_0x355e32=_0xc15932[_0x23d572(0xf6)](),_0x1ec674=await this[_0x23d572(0x307)](_0x355e32);this[_0x23d572(0x301)][_0x23d572(0x2f1)](_0x1ec674),this['_entities'][_0x23d572(0xf2)](_0x355e32,_0x1ec674);}),_0x1b8a05(this[_0x3a247c(0x214)][_0x3a247c(0x33d)](_0x634e8e[_0x3a247c(0x4b4)]),this[_0x3a247c(0x214)][_0x3a247c(0x33d)](_0x634e8e[_0x3a247c(0x451)]))[_0x3a247c(0x272)](_0x41a6cf(this[_0x3a247c(0x18b)]))[_0x3a247c(0x2e2)](_0x5b4bca=>{const _0x38df3b=_0x3a247c,_0x99bdf2=_0x5b4bca[_0x38df3b(0xf6)](),_0x50fe69=this[_0x38df3b(0x120)][_0x38df3b(0x271)](_0x99bdf2);_0x50fe69&&(_0x50fe69[_0x38df3b(0x3b4)](),this[_0x38df3b(0x120)][_0x38df3b(0x2b4)](_0x99bdf2));});}async[_0xefeb96(0x43c)](_0x1b1290){const _0x140e8f=_0xefeb96,_0x4bf1ad=await this[_0x140e8f(0x47a)][_0x140e8f(0x302)](_0x1b1290),_0x46cbd7=this['_injector'][_0x140e8f(0x25a)](rs,_0x1b1290,_0x4bf1ad);return _0x46cbd7['init'](),_0x46cbd7;}async[_0xefeb96(0x307)](_0x14fb71){const _0x5c56dc=_0xefeb96,_0xb0f8c3=await this[_0x5c56dc(0x47a)]['requireSession'](_0x14fb71),_0x9f113f=this[_0x5c56dc(0x269)][_0x5c56dc(0x25a)](ns,_0x14fb71,_0xb0f8c3);return _0x9f113f[_0x5c56dc(0x276)](),_0x9f113f;}};Ve=Mo([$t(0x0,_0x3ca09d),$t(0x1,_0x3099f4(_0x3676c8)),$t(0x2,_0x3099f4(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x19ff45,_0x5ce53f){const _0xf04295=_0xefeb96;let {radius:_0x41a5b0,width:_0x1fc558,height:_0x16fe01}=_0x5ce53f;_0x41a5b0=_0x41a5b0!=null?_0x41a5b0:0x0,_0x1fc558=_0x1fc558!=null?_0x1fc558:0x1e,_0x16fe01=_0x16fe01!=null?_0x16fe01:0x1e;let _0x26672c=0x0,_0x311272=0x0,_0x1bd24e=0x0;_0x26672c=_0x311272=_0x1bd24e=Math[_0xf04295(0x3d0)](_0x41a5b0,_0x1fc558/0x2,_0x16fe01/0x2),_0x19ff45['beginPath'](),_0x19ff45[_0xf04295(0x100)](_0x26672c,0x0),_0x19ff45[_0xf04295(0x256)](_0x1fc558-_0x311272,0x0),_0x19ff45[_0xf04295(0x172)](_0x1fc558-_0x311272,_0x311272,_0x311272,Math['PI']*0x3/0x2,0x0,!0x1),_0x19ff45[_0xf04295(0x256)](_0x1fc558,_0x16fe01-_0x1bd24e),_0x19ff45[_0xf04295(0x172)](_0x1fc558-_0x1bd24e,_0x16fe01-_0x1bd24e,_0x1bd24e,0x0,Math['PI']/0x2,!0x1),_0x19ff45['lineTo'](0x0,_0x16fe01),_0x19ff45['lineTo'](0x0,_0x26672c),_0x19ff45[_0xf04295(0x172)](_0x26672c,_0x26672c,_0x26672c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x19ff45[_0xf04295(0x19e)](),_0x5ce53f[_0xf04295(0x2c2)]&&(_0x19ff45[_0xf04295(0x2b8)](),_0x19ff45['fillStyle']=_0x5ce53f[_0xf04295(0x2c2)],_0x5ce53f[_0xf04295(0x3db)]===_0xf04295(0x1cc)?_0x19ff45[_0xf04295(0x2c2)](_0xf04295(0x1cc)):_0x19ff45['fill'](),_0x19ff45['restore']());}class Ot extends _0x22656b{constructor(_0x26d44b,_0x47d3f0){const _0x14cba2=_0xefeb96;super(_0x26d44b,_0x47d3f0),g(this,_0x14cba2(0x4c3)),g(this,'text'),(this[_0x14cba2(0x4c3)]=_0x47d3f0==null?void 0x0:_0x47d3f0[_0x14cba2(0x4c3)],this[_0x14cba2(0x4be)]=_0x47d3f0==null?void 0x0:_0x47d3f0[_0x14cba2(0x4be)]);}static[_0xefeb96(0x343)](_0xea49d4,_0xaf11b7){const _0x545ba6=_0xefeb96,{text:_0x3bdef2,color:_0x3c8e6c}=_0xaf11b7;_0xea49d4[_0x545ba6(0x2b8)](),_0xea49d4[_0x545ba6(0x1fd)]=_0x545ba6(0x366);const _0x591701=_0xea49d4[_0x545ba6(0x31d)](_0x3bdef2)[_0x545ba6(0x475)],_0x3e9af7=Math[_0x545ba6(0x3d0)](_0x591701+0x2*Ht,Ys);Lo(_0xea49d4,{'height':nt,'radius':0x4,'width':_0x3e9af7,'fill':_0x3c8e6c,'evented':!0x1}),_0xea49d4[_0x545ba6(0x3a5)]='#FFF';const _0x58ce5a=Ht,_0x39bab9=nt-xo,_0x631657=Ys-0x2*Ht;if(_0x591701>_0x631657){let _0x10066a='',_0xeae347=0x0;for(const _0x1c6f4c of _0x3bdef2){const _0x3ed573=_0xea49d4[_0x545ba6(0x31d)](_0x1c6f4c)[_0x545ba6(0x475)];if(_0xeae347+_0x3ed573<=_0x631657-_0xea49d4[_0x545ba6(0x31d)](_0x545ba6(0x25d))[_0x545ba6(0x475)])_0x10066a+=_0x1c6f4c,_0xeae347+=_0x3ed573;else{_0x10066a+=_0x545ba6(0x25d);break;}}_0xea49d4[_0x545ba6(0x29d)](_0x10066a,_0x58ce5a,_0x39bab9);}else _0xea49d4[_0x545ba6(0x29d)](_0x3bdef2,_0x58ce5a,_0x39bab9);_0xea49d4[_0x545ba6(0x122)]();}[_0xefeb96(0x24c)](_0x5974ec){const _0x54243b=_0xefeb96;Ot[_0x54243b(0x343)](_0x5974ec,this);}}const jt=_0xefeb96(0x105),$o=_0xefeb96(0xfe),Ho='collab-rect-range-',Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0xefeb96(0x371);class Ks{constructor(_0x5c5f0a,_0x2fd48f,_0x5dc23e,_0x24ad6d){const _0x5a26bc=_0xefeb96;g(this,_0x5a26bc(0x465),[]),g(this,_0x5a26bc(0x450),null),g(this,_0x5a26bc(0x14a),null),g(this,_0x5a26bc(0x42e),null),g(this,'_hideTimer',null),g(this,_0x5a26bc(0x1ac),null),(this['_cursor']=_0x5c5f0a,this[_0x5a26bc(0x10d)]=_0x2fd48f,this[_0x5a26bc(0x16a)]=_0x5dc23e,this[_0x5a26bc(0x117)]=_0x24ad6d,this[_0x5a26bc(0x3fb)]());}set[_0xefeb96(0x13d)](_0x2d0eb9){const _0x5d8b36=_0xefeb96;_0x2d0eb9?(this['_anchorDot']&&this[_0x5d8b36(0x42e)][_0x5d8b36(0x41d)](),this[_0x5d8b36(0x14a)]&&this['_textBubble'][_0x5d8b36(0x170)]()):(this[_0x5d8b36(0x42e)]&&this[_0x5d8b36(0x42e)][_0x5d8b36(0x170)](),this[_0x5d8b36(0x14a)]&&this[_0x5d8b36(0x14a)][_0x5d8b36(0x41d)]());}[_0xefeb96(0x3b4)](){const _0x5c7e36=_0xefeb96;for(const _0x29904e of this[_0x5c7e36(0x465)])_0x29904e['dispose']();this[_0x5c7e36(0x14a)]&&this[_0x5c7e36(0x14a)][_0x5c7e36(0x3b4)](),this[_0x5c7e36(0x42e)]&&this['_anchorDot'][_0x5c7e36(0x3b4)](),this[_0x5c7e36(0x450)]&&this[_0x5c7e36(0x450)][_0x5c7e36(0x3b4)](),this[_0x5c7e36(0x1ac)]&&this[_0x5c7e36(0x1ac)]();}[_0xefeb96(0x3fb)](){const _0x148496=_0xefeb96;var _0x12a5f6;const {_docSkeleton:_0x1f512b,_document:_0x56dd50}=this,{color:_0x22348,name:_0x4b4a98,ranges:_0x58532d}=this['_cursor'],_0x433063=_0x56dd50[_0x148496(0x469)](),{docsLeft:_0x5e17e1,docsTop:_0x4170e4}=_0x433063,_0x449949=new _0x13d419(_0x433063,_0x1f512b);for(const {startOffset:_0x276bae,endOffset:_0x410b57,rangeType:_0x1379f1,segmentId:_0x4b00f5,segmentPage:_0x54c145,collapsed:_0x53d979,isActive:_0x1ce3d9}of _0x58532d){const _0x3f5666=_0x1f512b[_0x148496(0x45f)](_0x276bae,!0x0,_0x4b00f5,_0x54c145);let _0x4cfd45=_0x1f512b[_0x148496(0x45f)](_0x410b57,!0x0,_0x4b00f5,_0x54c145);if(_0x4cfd45==null&&(_0x4cfd45=_0x1f512b[_0x148496(0x45f)](_0x410b57-0x1,!0x1,_0x4b00f5,_0x54c145)),_0x1ce3d9){const {contentBoxPointGroup:_0x25ae2d}=_0x449949[_0x148496(0x3b6)](_0x4cfd45,_0x4cfd45);if(_0x25ae2d[_0x148496(0x46c)]===0x0)continue;this[_0x148496(0x12e)](_0x22348,_0x25ae2d,_0x5e17e1,_0x4170e4,_0x4b4a98),this[_0x148496(0x1ac)]=this['_handleHover']();}if(!_0x53d979&&_0x3f5666&&_0x4cfd45){if(_0x1379f1===_0x11763b[_0x148496(0x346)]){const _0x36b7a2=new _0x3a943c(_0x433063,_0x1f512b),{pointGroup:_0x11f9aa}=(_0x12a5f6=_0x36b7a2['getRangePointData'](_0x3f5666,_0x4cfd45))!=null?_0x12a5f6:{};if(_0x11f9aa==null||_0x11f9aa[_0x148496(0x46c)]===0x0)continue;this[_0x148496(0x399)](_0x22348,_0x11f9aa,_0x5e17e1,_0x4170e4);}else{const {borderBoxPointGroup:_0x57fa39}=_0x449949[_0x148496(0x3b6)](_0x3f5666,_0x4cfd45);if(_0x57fa39[_0x148496(0x46c)]===0x0)continue;this[_0x148496(0x22e)](_0x22348,_0x57fa39,_0x5e17e1,_0x4170e4);}}}}[_0xefeb96(0x12e)](_0x3737be,_0x31378c,_0x42c58a,_0x4aa8fb,_0x146b6c){const _0x3c9cf7=_0xefeb96,_0x338c8a=this['_getAnchorBounding'](_0x31378c),{left:_0x3e6852,top:_0x255ddd,height:_0x459cc0}=_0x338c8a,_0x448972=this[_0x3c9cf7(0x3d7)](),_0x51681d=Bo/_0x448972,_0x341d61=new _0x57a736(jt+_0x4d0489[_0x3c9cf7(0xf5)](Je),{'left':_0x3e6852+_0x42c58a-_0x51681d,'top':_0x255ddd+_0x4aa8fb,'height':_0x459cc0,'width':jo,'fill':_0x3737be||_0x12b38d(_0x2582ae['black'],0x0),'strokeWidth':_0x51681d,'stroke':ko,'evented':!0x0});this[_0x3c9cf7(0x450)]=_0x341d61,this[_0x3c9cf7(0x10d)][_0x3c9cf7(0x4c7)](_0x341d61,_0x1a678c);const _0x307174=new _0x57a736(jt+_0x4d0489['generateRandomId'](Je),{'left':_0x3e6852+_0x42c58a-_0x51681d,'top':_0x255ddd+_0x4aa8fb-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x3737be||_0x12b38d(_0x2582ae[_0x3c9cf7(0x15f)],0x0),'strokeWidth':0x0,'stroke':_0x3737be||_0x12b38d(_0x2582ae[_0x3c9cf7(0x15f)],0x0),'evented':!0x1});this[_0x3c9cf7(0x42e)]=_0x307174,this[_0x3c9cf7(0x10d)]['addObject'](_0x307174,_0x1a678c);const _0x206a69=new Ot(jt+_0x4d0489['generateRandomId'](Je),{'left':_0x3e6852+_0x42c58a-_0x51681d,'top':_0x255ddd+_0x4aa8fb-nt,'text':_0x146b6c,'color':_0x3737be});this[_0x3c9cf7(0x14a)]=_0x206a69,this[_0x3c9cf7(0x10d)][_0x3c9cf7(0x4c7)](_0x206a69,_0x1a678c),this['_hover']=!0x1;}['_handleHover'](){const _0x1803c6=_0xefeb96,_0x9d7f12=this[_0x1803c6(0x450)][_0x1803c6(0xfc)][_0x1803c6(0x1fe)](()=>{const _0x146877=_0x1803c6;this[_0x146877(0x13d)]=!0x0;}),_0x1b60ec=this[_0x1803c6(0x450)][_0x1803c6(0x414)][_0x1803c6(0x1fe)](()=>{const _0x2e1656=_0x1803c6;this[_0x2e1656(0x2d7)]&&clearTimeout(this[_0x2e1656(0x2d7)]),this[_0x2e1656(0x2d7)]=setTimeout(()=>{const _0x487d3a=_0x2e1656;this[_0x487d3a(0x13d)]=!0x1;},0x7d0);});return()=>{const _0x28e7fd=_0x1803c6;_0x9d7f12[_0x28e7fd(0x1df)](),_0x1b60ec[_0x28e7fd(0x1df)]();};}[_0xefeb96(0x22e)](_0x254bc9,_0x1a2c6b,_0x4d8953,_0x1d668f){const _0xf259c5=_0xefeb96,_0x4f2250=new _0x4d3673(_0x254bc9)['setAlpha'](0.2)[_0xf259c5(0x4c4)](),_0x4df1dd=new _0x45811e($o+_0x4d0489[_0xf259c5(0xf5)](Je),{'pointsGroup':_0x1a2c6b,'fill':_0x4f2250||_0x12b38d(_0x2582ae[_0xf259c5(0x15f)],0.2),'left':_0x4d8953,'top':_0x1d668f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf259c5(0x465)][_0xf259c5(0x477)](_0x4df1dd),this['_scene'][_0xf259c5(0x4c7)](_0x4df1dd,_0x1a678c);}[_0xefeb96(0x399)](_0x1a1e6c,_0x1bc104,_0x10316f,_0x208ba6){const _0x1eea53=_0xefeb96,_0x5e2184=new _0x4d3673(_0x1a1e6c)[_0x1eea53(0x443)](0.2)[_0x1eea53(0x4c4)](),_0xa823e2=new _0x45811e(Ho+_0x4d0489[_0x1eea53(0xf5)](Je),{'pointsGroup':_0x1bc104,'fill':_0x5e2184||_0x12b38d(_0x2582ae[_0x1eea53(0x15f)],0.2),'left':_0x10316f,'top':_0x208ba6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1eea53(0x465)][_0x1eea53(0x477)](_0xa823e2),this[_0x1eea53(0x10d)]['addObject'](_0xa823e2,_0x1a678c);}['_getAnchorBounding'](_0x5c8f41){const _0x4635d9=_0x5c8f41[0x0],_0x25b9cf=_0x4635d9[0x0],_0x41ff63=_0x4635d9[0x2],{x:_0x4238e9,y:_0x2b65cb}=_0x25b9cf,{x:_0x31a558,y:_0x5c8408}=_0x41ff63;return{'left':_0x4238e9,'top':_0x2b65cb,'width':_0x31a558-_0x4238e9,'height':_0x5c8408-_0x2b65cb};}[_0xefeb96(0x3d7)](){const _0x23f589=_0xefeb96,{scaleX:_0x1e2fb7,scaleY:_0x2cc09e}=this['_scene'][_0x23f589(0x3ee)]();return Math[_0x23f589(0x3c0)](_0x1e2fb7,_0x2cc09e);}}var Wo=Object[_0xefeb96(0x466)],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0x1491ad,_0x33f561,_0xf6126,_0x22d17a)=>{const _0x17c934=_0xefeb96;for(var _0x89f6a1=_0x22d17a>0x1?void 0x0:_0x22d17a?Fo(_0x33f561,_0xf6126):_0x33f561,_0x3cb945=_0x1491ad[_0x17c934(0x46c)]-0x1,_0x52843c;_0x3cb945>=0x0;_0x3cb945--)(_0x52843c=_0x1491ad[_0x3cb945])&&(_0x89f6a1=(_0x22d17a?_0x52843c(_0x33f561,_0xf6126,_0x89f6a1):_0x52843c(_0x89f6a1))||_0x89f6a1);return _0x22d17a&&_0x89f6a1&&Wo(_0x33f561,_0xf6126,_0x89f6a1),_0x89f6a1;},ht=(_0x4ddaa3,_0x3b04f0)=>(_0x516ffe,_0x55f6b9)=>_0x3b04f0(_0x516ffe,_0x55f6b9,_0x4ddaa3);let os=class extends _0x2f42db{constructor(_0x3973c8,_0x54983e,_0x529ebc,_0x5d8c80,_0x2d3312){const _0x23fe57=_0xefeb96;super(),g(this,_0x23fe57(0x164),[]),g(this,_0x23fe57(0xf1),[]),(this['_context']=_0x3973c8,this[_0x23fe57(0x119)]=_0x54983e,this[_0x23fe57(0x112)]=_0x529ebc,this[_0x23fe57(0x29f)]=_0x5d8c80,this[_0x23fe57(0x48d)]=_0x2d3312,this['_init']());}[_0xefeb96(0x411)](){const _0x36dc94=_0xefeb96,_0x9fbc6a=this['_context'][_0x36dc94(0x4b1)],_0x27da95=this[_0x36dc94(0x119)];this['disposeWithMe'](_0x2a2925([this[_0x36dc94(0x112)][_0x36dc94(0x173)](_0x9fbc6a),this[_0x36dc94(0x48d)][_0x36dc94(0x4a5)]])[_0x36dc94(0x272)](_0x348356(([_0x25357f,_0x532d1e])=>({'skeleton':_0x27da95[_0x36dc94(0x246)](),'cursors':[..._0x25357f['values']()]['flatMap'](_0x30fd36=>({..._0x30fd36,'color':_0x532d1e[_0x30fd36[_0x36dc94(0x4c3)]]}))})))[_0x36dc94(0x2e2)](_0x1c54f5=>{const _0x28d107=_0x36dc94;if(this[_0x28d107(0x455)](),_0x1c54f5){const {skeleton:_0xc2ffb5,cursors:_0xd72b97}=_0x1c54f5;this[_0x28d107(0x3d1)](_0xc2ffb5,_0xd72b97);}})),this[_0x36dc94(0x11f)](),this[_0x36dc94(0x2ba)]();}[_0xefeb96(0x3d1)](_0x1e1d61,_0x4a9b99){const _0x56db1e=_0xefeb96,{scene:_0x55b87a,mainComponent:_0x222267}=this[_0x56db1e(0x2f0)],_0x514b8a=_0x4a9b99['map'](_0xfb3fd4=>new Ks(_0xfb3fd4,_0x55b87a,_0x1e1d61,_0x222267));this[_0x56db1e(0x164)]=_0x514b8a,this[_0x56db1e(0xf1)]=_0x4a9b99;}['_refreshCollabCursors'](){const _0xf37427=_0xefeb96;this[_0xf37427(0x455)]();const {scene:_0x470527,mainComponent:_0x2e571c}=this[_0xf37427(0x2f0)],_0x2fe3b3=this[_0xf37427(0x119)][_0xf37427(0x246)](),_0x153ad6=this[_0xf37427(0xf1)][_0xf37427(0x113)](_0x7a4aef=>new Ks(_0x7a4aef,_0x470527,_0x2fe3b3,_0x2e571c));this[_0xf37427(0x164)]=_0x153ad6;}[_0xefeb96(0x455)](){const _0x3caf6d=_0xefeb96;this[_0x3caf6d(0x164)][_0x3caf6d(0x267)](_0x43e1db=>_0x43e1db[_0x3caf6d(0x3b4)]()),this['_cursorShapes']=[];}[_0xefeb96(0x2ba)](){const _0x45bbe3=_0xefeb96,_0x1051bc=[_0x20a856['id']];this[_0x45bbe3(0x2bb)](this[_0x45bbe3(0x29f)][_0x45bbe3(0x396)](_0x376385=>{const _0x48ba00=_0x45bbe3;_0x1051bc[_0x48ba00(0x426)](_0x376385['id'])&&_0x376385[_0x48ba00(0x304)][_0x48ba00(0x4b1)]===this[_0x48ba00(0x2f0)][_0x48ba00(0x4b1)]&&this[_0x48ba00(0x133)]();}));}[_0xefeb96(0x11f)](){const _0x5cad94=_0xefeb96;this[_0x5cad94(0x2bb)](_0x22b807(this[_0x5cad94(0x2f0)][_0x5cad94(0x3b5)][_0x5cad94(0x36d)])[_0x5cad94(0x272)](_0x353c46(_0x22845a=>_0x22845a[_0x5cad94(0x196)]===_0xdbf232[_0x5cad94(0x1ba)]),_0x4c6098(0x10))[_0x5cad94(0x2e2)](()=>{const _0x305fb7=_0x5cad94;this[_0x305fb7(0x133)]();}));}};os=Vo([ht(0x1,_0x3099f4(_0x305dc6)),ht(0x2,_0x3099f4(Ve)),ht(0x3,_0x45feb8),ht(0x4,_0x3099f4(_0x959a84))],os);const Go=0x1,Yo=1.5;class Ko extends _0x22656b{constructor(_0x21b87c,_0x43e1dd){const _0x10eee6=_0xefeb96;super(_0x21b87c,_0x43e1dd),g(this,_0x10eee6(0x45b)),g(this,_0x10eee6(0x235),!0x1),g(this,_0x10eee6(0x416)),g(this,_0x10eee6(0x47d),''),g(this,'_labelPosition','top'),g(this,_0x10eee6(0x397)),(_0x43e1dd&&this[_0x10eee6(0x107)](_0x43e1dd),this['onPointerEnter$'][_0x10eee6(0x1fe)](()=>this[_0x10eee6(0x107)]({'hovered':!0x0})),this[_0x10eee6(0x414)][_0x10eee6(0x1fe)](()=>this[_0x10eee6(0x107)]({'hovered':!0x1})));}[_0xefeb96(0x107)](_0x5dd962){const _0x48786f=_0xefeb96;var _0x4f90c4,_0x1cff00,_0x4af2ee,_0x1ab5e1,_0x5ae199,_0x26bb85;this['_color']=(_0x4f90c4=_0x5dd962[_0x48786f(0x4c3)])!=null?_0x4f90c4:this[_0x48786f(0x45b)],this[_0x48786f(0x235)]=(_0x1cff00=_0x5dd962[_0x48786f(0x207)])!=null?_0x1cff00:this[_0x48786f(0x235)],this[_0x48786f(0x416)]=(_0x4af2ee=_0x5dd962[_0x48786f(0x2a8)])!=null?_0x4af2ee:this[_0x48786f(0x416)],this[_0x48786f(0x47d)]=(_0x1ab5e1=_0x5dd962[_0x48786f(0x21f)])!=null?_0x1ab5e1:this[_0x48786f(0x47d)],this[_0x48786f(0x48e)]=(_0x5ae199=_0x5dd962['labelPosition'])!=null?_0x5ae199:this['_labelPosition'],this['_backgroundColor']=(_0x26bb85=_0x5dd962[_0x48786f(0x27d)])!=null?_0x26bb85:this[_0x48786f(0x397)],this['transformByState']({'width':_0x5dd962['width'],'height':_0x5dd962[_0x48786f(0x169)]});}[_0xefeb96(0x46a)](_0x33d162){const _0x33e80c=_0xefeb96,{row:_0x2a5388,column:_0x2950a7}=_0x33d162;if(_0x2a5388>=this['_range'][_0x33e80c(0x44c)]&&_0x2a5388<=this['_range'][_0x33e80c(0x3d6)]&&_0x2950a7>=this[_0x33e80c(0x416)]['startColumn']&&_0x2950a7<=this['_range'][_0x33e80c(0x303)]){this[_0x33e80c(0x107)]({'hovered':!0x0});return;}this[_0x33e80c(0x107)]({'hovered':!0x1});}[_0xefeb96(0x3d9)](_0x3e638c){return!0x1;}[_0xefeb96(0x24c)](_0xadfeee){const _0x50504f=_0xefeb96;_0x57a736['drawWith'](_0xadfeee,{'width':this[_0x50504f(0x475)],'height':this['height'],'strokeWidth':Yo,'stroke':this[_0x50504f(0x45b)],'evented':!0x1,'fill':this[_0x50504f(0x397)]}),this[_0x50504f(0x235)]&&(_0xadfeee[_0x50504f(0x2b8)](),_0xadfeee[_0x50504f(0xe0)](0x1,0x0,0x0,0x1,this[_0x50504f(0x475)],this[_0x50504f(0x48e)]===_0x50504f(0x46d)?0x0:-nt),Ot[_0x50504f(0x343)](_0xadfeee,{'text':this['_name'],'color':this[_0x50504f(0x45b)]}),_0xadfeee[_0x50504f(0x122)]());}}var zo=Object['defineProperty'],qo=Object[_0xefeb96(0x336)],Xo=(_0x146221,_0x20bfb7,_0x1f450a,_0x229188)=>{for(var _0x56f3db=_0x229188>0x1?void 0x0:_0x229188?qo(_0x20bfb7,_0x1f450a):_0x20bfb7,_0x4c720c=_0x146221['length']-0x1,_0x186083;_0x4c720c>=0x0;_0x4c720c--)(_0x186083=_0x146221[_0x4c720c])&&(_0x56f3db=(_0x229188?_0x186083(_0x20bfb7,_0x1f450a,_0x56f3db):_0x186083(_0x56f3db))||_0x56f3db);return _0x229188&&_0x56f3db&&zo(_0x20bfb7,_0x1f450a,_0x56f3db),_0x56f3db;},kt=(_0x196cc2,_0xd1fe53)=>(_0x45a218,_0x1251f8)=>_0xd1fe53(_0x45a218,_0x1251f8,_0x196cc2);const Jo=0x1389;let as=class extends _0x2f42db{constructor(_0x119877,_0x401742,_0x595081,_0x3748da){const _0x21cf20=_0xefeb96;super(),g(this,'_cursors',new Set()),g(this,_0x21cf20(0x166),null),(this[_0x21cf20(0x2f0)]=_0x119877,this[_0x21cf20(0x14e)]=_0x401742,this[_0x21cf20(0x112)]=_0x595081,this[_0x21cf20(0x48d)]=_0x3748da,this['_init']());}[_0xefeb96(0x411)](){const _0x334182=_0xefeb96;this[_0x334182(0x14e)][_0x334182(0x237)][_0x334182(0x272)](_0x4c9419(this[_0x334182(0x18b)]),_0x26b330(_0x126acc=>{const _0x13cf4f=_0x334182;if(_0x126acc){const _0x2258be=_0x126acc[_0x13cf4f(0x215)];return _0x2a2925(this[_0x13cf4f(0x112)]['getCollabCursors$'](this[_0x13cf4f(0x2f0)][_0x13cf4f(0x4b1)]),this[_0x13cf4f(0x48d)]['currentTheme$'])[_0x13cf4f(0x272)](_0x348356(([_0xf43445,_0x37aa1d])=>{const _0x1a94df=_0x13cf4f,_0x2745d1=new Map();return _0xf43445[_0x1a94df(0x267)]((_0x5e7165,_0x27519e)=>{const _0x4942bb=_0x1a94df;if(_0x5e7165[_0x4942bb(0x496)]===_0x2258be){const _0x170a55={..._0x5e7165};_0x170a55[_0x4942bb(0x4c3)]=_0x37aa1d[_0x5e7165[_0x4942bb(0x4c3)]],_0x2745d1[_0x4942bb(0xf2)](_0x27519e,_0x170a55);}}),{'skeleton':_0x126acc,'cursors':_0x2745d1};}));}return _0x59a608({'skeleton':null,'cursors':new Map()});}))[_0x334182(0x2e2)](({skeleton:_0x4e3923,cursors:_0x2dd063})=>{const _0x2aee76=_0x334182;this[_0x2aee76(0x455)](),_0x4e3923&&this['_updateCollabCursors'](_0x4e3923,_0x2dd063);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x334182(0x2e2)](_0x392e29=>{const _0x4cd0af=_0x334182;if(_0x392e29==null)return;const {skeleton:_0x46434d}=_0x392e29,{scene:_0x236ab6}=this[_0x4cd0af(0x2f0)];_0x236ab6['onPointerMove$'][_0x4cd0af(0x1fe)](_0x3d4248(_0x6ab3a6=>{const _0x123b7f=_0x4cd0af;var _0x2b861a,_0x3fff38;const {offsetX:_0x4f0246,offsetY:_0x596055}=_0x6ab3a6,{x:_0x5ed2d3,y:_0x415aa9}=_0x236ab6[_0x123b7f(0x470)](_0x6b9a55[_0x123b7f(0x22c)]([_0x4f0246,_0x596055])),{scaleX:_0xc16e14,scaleY:_0x759216}=_0x236ab6[_0x123b7f(0x3ee)](),_0x1f7eaf=_0x236ab6['getViewport'](_0x8ed84e['VIEW_MAIN']),_0xec388=_0x236ab6[_0x123b7f(0x362)](_0x6b9a55[_0x123b7f(0x22c)]([_0x5ed2d3,_0x415aa9]),_0x1f7eaf),_0x2d0d55=_0x46434d['getCellPositionByOffset'](_0x4f0246,_0x596055,_0xc16e14,_0x759216,_0xec388);((_0x2b861a=this[_0x123b7f(0x166)])==null?void 0x0:_0x2b861a[_0x123b7f(0x11d)])===_0x2d0d55['column']&&((_0x3fff38=this[_0x123b7f(0x166)])==null?void 0x0:_0x3fff38[_0x123b7f(0x1b9)])===_0x2d0d55[_0x123b7f(0x1b9)]||this[_0x123b7f(0xf1)][_0x123b7f(0x267)](_0x469938=>{const _0x490d37=_0x123b7f;_0x469938[_0x490d37(0x46a)](_0x2d0d55);});},0x64));});}[_0xefeb96(0x3d1)](_0x416d7b,_0x29925e){const _0x20eab0=_0xefeb96;var _0x1c97f0;const _0x867d19=(_0x1c97f0=this[_0x20eab0(0x14e)][_0x20eab0(0xd5)]())==null?void 0x0:_0x1c97f0['skeleton'];if(!_0x867d19)return;const _0x11d614=this[_0x20eab0(0x3c4)]();if(!_0x11d614)return;this[_0x20eab0(0xf1)][_0x20eab0(0x267)](_0x2d3435=>{_0x2d3435['makeDirty']();});const {scene:_0x4d7027}=_0x11d614,_0x3e9407=Zo(Array['from'](_0x29925e[_0x20eab0(0x12c)]()))[_0x20eab0(0x113)](_0x41da4b=>{const _0x27f66a=_0x20eab0,{color:_0xb4a647,range:_0x86f07c,name:_0x215ab7,selection:_0x2934eb,sheetID:_0x3ab702}=_0x41da4b,{startColumn:_0x289435,startRow:_0x398563,endColumn:_0x302dc6,endRow:_0x48046c}=_0x86f07c,_0xb305c4=_0x5b0afc(_0x398563,_0x289435,_0x4d7027,_0x867d19),_0x571d30=_0x5b0afc(_0x48046c,_0x302dc6,_0x4d7027,_0x867d19),{columnHeaderHeightAndMarginTop:_0x4f4087}=_0x867d19,{startX:_0x15550b,startY:_0x7d2244}=_0xb305c4,{endX:_0x4903c2,endY:_0x3c107b}=_0x571d30,_0x17a8ec=_0x4903c2-_0x15550b,_0xf68e34=_0x3c107b-_0x7d2244,_0x43ad4d={'labelPosition':_0x7d2244-_0x4f4087>=nt?_0x27f66a(0x220):_0x27f66a(0x46d),'sheetID':_0x3ab702,'range':_0x86f07c,'color':_0xb4a647,'name':_0x215ab7,'selection':_0x2934eb,'left':_0x15550b,'top':_0x7d2244,'width':_0x17a8ec,'height':_0xf68e34,'evented':!0x1,'zIndex':Jo};return new Ko(_0x215ab7,_0x43ad4d);});_0x4d7027[_0x20eab0(0x1b2)](_0x3e9407,Go),this[_0x20eab0(0xf1)]=new Set(_0x3e9407);}[_0xefeb96(0x455)](){const _0x4aba6d=_0xefeb96;var _0x31a3c5;(_0x31a3c5=this['_cursors'])==null||_0x31a3c5[_0x4aba6d(0x267)](_0x5a0795=>_0x5a0795[_0x4aba6d(0x3b4)]());}[_0xefeb96(0x3c4)](){const _0xaf4b97=_0xefeb96;return _0x13d2ac(this['_context'][_0xaf4b97(0x318)],this[_0xaf4b97(0x2f0)]);}};as=Xo([kt(0x1,_0x3099f4(_0x281e56)),kt(0x2,_0x3099f4(Ve)),kt(0x3,_0x3099f4(_0x959a84))],as);function Zo(_0x142c26){const _0x24cedc=_0xefeb96,_0x4aaa67=new Map();return _0x142c26[_0x24cedc(0x267)](_0x59e3d9=>{const _0x34a023=_0x24cedc;if(_0x4aaa67[_0x34a023(0x179)](_0x59e3d9[_0x34a023(0x2b3)])){const _0x5a677c=_0x4aaa67[_0x34a023(0x271)](_0x59e3d9['selection']);_0x5a677c[_0x34a023(0x21f)]+=',\x20'+_0x59e3d9[_0x34a023(0x21f)];}else _0x4aaa67['set'](_0x59e3d9[_0x34a023(0x2b3)],_0x59e3d9);}),Array[_0x24cedc(0x3da)](_0x4aaa67[_0x24cedc(0x12c)]());}var ee=function(){const _0x46daf1=_0xefeb96;return ee=Object[_0x46daf1(0x308)]||function(_0x53aa48){const _0x2d2327=_0x46daf1;for(var _0x1d58b6,_0x21cbec=0x1,_0x17d718=arguments[_0x2d2327(0x46c)];_0x21cbec<_0x17d718;_0x21cbec++){_0x1d58b6=arguments[_0x21cbec];for(var _0x982762 in _0x1d58b6)Object[_0x2d2327(0x43e)][_0x2d2327(0x422)]['call'](_0x1d58b6,_0x982762)&&(_0x53aa48[_0x982762]=_0x1d58b6[_0x982762]);}return _0x53aa48;},ee[_0x46daf1(0x24e)](this,arguments);},Qo=function(_0x20c93b,_0x3e6280){const _0x2ecc6e=_0xefeb96;var _0x1d36b7={};for(var _0x49cdbc in _0x20c93b)Object[_0x2ecc6e(0x43e)][_0x2ecc6e(0x422)][_0x2ecc6e(0x2e7)](_0x20c93b,_0x49cdbc)&&_0x3e6280['indexOf'](_0x49cdbc)<0x0&&(_0x1d36b7[_0x49cdbc]=_0x20c93b[_0x49cdbc]);if(_0x20c93b!=null&&typeof Object[_0x2ecc6e(0x356)]==_0x2ecc6e(0x274)){for(var _0x39605a=0x0,_0x49cdbc=Object[_0x2ecc6e(0x356)](_0x20c93b);_0x39605a<_0x49cdbc[_0x2ecc6e(0x46c)];_0x39605a++)_0x3e6280['indexOf'](_0x49cdbc[_0x39605a])<0x0&&Object[_0x2ecc6e(0x43e)]['propertyIsEnumerable'][_0x2ecc6e(0x2e7)](_0x20c93b,_0x49cdbc[_0x39605a])&&(_0x1d36b7[_0x49cdbc[_0x39605a]]=_0x20c93b[_0x49cdbc[_0x39605a]]);}return _0x1d36b7;},Ts=_0x1fd374(function(_0x5ff52b,_0x59e09b){const _0x2b8fae=_0xefeb96;var _0x29cffe=_0x5ff52b[_0x2b8fae(0x216)],_0x938a2e=_0x5ff52b['id'],_0x2b4322=_0x5ff52b['className'],_0x3da8cb=_0x5ff52b[_0x2b8fae(0x412)],_0x409ec6=Qo(_0x5ff52b,['icon','id','className','extend']),_0x40815f=_0x2b8fae(0x205)['concat'](_0x938a2e,'\x20')['concat'](_0x2b4322||'')[_0x2b8fae(0x4ac)](),_0x4aeeda=_0x315c52('_'[_0x2b8fae(0x1e4)](sa()));return Mi(_0x29cffe,''[_0x2b8fae(0x1e4)](_0x938a2e),{'defIds':_0x29cffe[_0x2b8fae(0x1d3)],'idSuffix':_0x4aeeda[_0x2b8fae(0x1f0)]},ee({'ref':_0x59e09b,'className':_0x40815f},_0x409ec6),_0x3da8cb);});function _0x41ec(){const _0x1348ca=['AES','textRanges','getCollabEntity','filter','getOwnPropertyDescriptor','fromCharCode','InsertRowCommandId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','createElement','_onUserJoin','loadOfflineData','getTypeOfUnitDisposed$','red300','href','_assignedColors','onTransformSelections','key','drawWith','sid','getImage','RECT','compute','exhaustSavingTask','entries','_status$','_onOffline','unshift','_clearUndo','updateOfflineData','_type','_onJoinRoomEvent','UNIVER_SLIDE','slice','COLLAB_SUBMIT_CHANGESET_URL','number','4375674YowxjX','getOwnPropertySymbols','_getCurrentRevision','_scheduleHeartbeat','setWaitCount','_socketMessageSubscription','/new_changes','CONNECTOR_DATA_TOO_LARGE','_resendTimer','saveOfflineData','location','_map','mixIn','getVpScrollXYInfoByPosToVp','COMPRESS_MUTATION_SEND','FAIL','__esModule','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LIVESHARE_REQUEST_HOST','FileId','_transitionLocked','RETRY_CONNECTING_MAX_COUNT','enc','UNAUTHENTICATED','onTransformChange$','_changesetReqId','onRemoteRej','_loadSheet','rgba(255,\x20255,\x20255,\x200.01)','sessionStatus$','salt','none','toLowerCase','onTransformRemoteChangesetByStateCache','[CollaborationEntity]','CHANGESET_ACK','close','_onConnectionFailed','encode','_beforeCloseService','_cursorInfo$','csShouldRetryEvent','onReady','updatePermissionObjEvent','PERMISSION_DENIED','_config','getRenderById','pad','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','HEADER_MENU','words','CHANGESET_REVISION_CONFILICT','_socketService','loginUrlKey','onRemoteChangeset','string','onRemoteAck','_scheduleClearOtherTimer','/universer-api/snapshot','PENDING','shouldCloseConn','_tryReconnect','_onCombEvent','onStateChange','HttpImport','onCommandExecuted','_backgroundColor','initWorkbookPermissionChange','_drawRectRange','_rescheduleHeartbeat','liveShareOperation','post','defs','_applyRemoteChangeset','1em','_removeClearOtherTimer','collaboration.single-unit.warning','_localStorageService','Could\x20not\x20dynamically\x20require\x20\x22','_transformStateCache','fillStyle','removeParam','url(#$1','mutations','open$','_handler','_http','Base','permission.title','create','purple300','IDLE','SNAPSHOT_INVALID_SNAPSHOT','fetch_missing','AWAITING','dispose','engine','getRangePointData','setParam','UNRECOGNIZED','_doCryptBlock','#fff','/universer-api/stream/file/upload','objects','collabCursorState$','doc.mutation.rich-text-editing','decryptBlock','max','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','socket$','resolve','_getSheetObject','CHANGESET_REJ','YUUMI_UNABLE_LOAD_URL','registerHTTPInterceptor','body','_getSendChangesetTimeout','submit\x20changeset\x20error!','_createHmacHelper','_startCollaboration','_initMergeInterceptor','asObservable','off-line-single_clip0_910_343','min','_updateCollabCursors','_checkMissing','all','_timeoutTimer','_minBufferSize','endRow','_getScale','_transformService','triggerDblclick','from','fillRule','transformStack\x20failed!','collab-client.tooltip.reconnect','_onLocalMutation','APPLY_REVISION_CONFILICT','_docTransformIMECacheService','getUnitType','put','ciphertext','exports','AWAITING_WITH_PENDING','clamp','toString','iterations','Hex','SUCCUSS','WordArray','awaiting_with_pending','_collaborationController','getAncestorScale','sin','_clearHeartbeatTimer','substring','disableLocalCache','popstate','ALREADY_EXISTS','_initStatusListener','image/jpg','m2Prime','_loadDoc','4LBiFfM','_removeRoom','_render','disposeUnit','withCredentials','UNIVER_PROJECT','_id','_getSaveTimeout','setItem','_doReset','_createSocket','SNAPSHOT_SERVER_URL_KEY','editingUnit','M0\x200H16V16H0z','JOINING','executeCommand','urlChange$','_throwTelemetryCollaborationNewChangeset','getUniverSheetInstance','onTransformState','send','transformMutationsWithChangeset','parse','_waitForHeartbeatResponse','_init','extend','_tryEnsureSocket','onPointerLeave$','_exhaustRemoteChangesetQueue','_range','conflict','_oKey','_instanceService','liveShareNewHost','syncEditingCollabCursor','&assign=','hide','_heartbeatTimer','incrementRevOfUnit','UnitSnapshot','getMergeData','hasOwnProperty','getTypeOfUnitAdded$','_ws','toggleOffline','includes','symbol','roomInfos','_commentUpdate$','_getLoginPath','_stopTelemetryCollaborationNewChangeset','_getAPIPrefix','COMPLETION_FINISHED','_anchorDot','onload','joinRsp','find','_remoteChangesetQueue','setInterval','_append','_retryConnectingTimer','InsertRangeMoveRightCommandId','add','Pkcs7','UnitEmbedded','79290VLKjaG','/universer-api/comb','_startSheetCollabCursor','NOT_COLLAB','prototype','ERROR_IMAGE_TYPE','bind','origin','resourceIDs','setAlpha','_transformUndoRedoStack','_startTelemetryCollaborationNewChangeset','_syncEditingCollabCursorService','getImageSourceCache','awaitingChangeset','_colorAssignService','collaboration.closeRoom','_roomMembers','startRow','crypto','_sender','_ENC_XFORM_MODE','_anchor','UNIVER_SHEET','_transformPreviousActiveRange','deleteCollaborator','xlink:href','_removeCollabCursors','_saveTaskMap','getUnit','clearTimeout','univer-pro.collaboration-client-socket-service','univer-online-status-title','_color','_userManagerService','onRemoteRetry','_awaitingChangeset','findNodePositionByCharIndex','_prevBlock','localeService','allowed','Decryptor','_collaborationPaused','_shapes','defineProperty','_clearLocalCache','src','getOffsetConfig','onMouseMove','$super','length','bottom','transformMutation','selections','getRelativeToViewportCoord','_transformUndoredo','interceptor','SEND_CHANGESET_TIMEOUT','enableAuthServer','width','commentUpdate$','push','/fetchmissing?from=','_onUserLeave','_collabSessionService','session.collaboration-timeout','Unknown\x20user','_name','fromCollab','_nDataBytes','synced','svg','_handleEvent','rev','OFFLINE','_initRequestHeader','_sessionStatus$','_substituteUndoStack','toggleOnline','collabStatus.conflict','HMAC','_ensureSubject','LIVESHARE_NEW_HOST','_themeService','_labelPosition','transformRemoteChangeset','UNDEFINED','_clearScheduledTask','Utf8','with','setCurrentUser','NOT_FOUND','sheetID','_updateSubUnitFromURLParams','[SyncedState]:\x20received\x20acknowledgement.','FETCH_MISSING','randomBytes','splice','_candidateSocket','_state$','isArray','collaboration-client.config','__Key__','HELLO','_clearTimeoutTimer','APPLY_DUPLICATED','currentColor','currentTheme$','DEFAULT_FILE_NAME','collabStatus.synced','blockSize','visibilitychange','getDeserializedSheetBlock','telemetry\x20info\x20is\x20not\x20initialized','trim','offline','univer-online','csRejEvent','[CollaborationUndoRedoService]','unitId','_onRecvEvent','objectID','UNIVER_DOC','routeKey','Base64','snapshotServerUrl','_substituteRedoStack','_fetchMissChangesets','Encryptor','_notificationService','awaiting','_registerRenderDependencies','text','/object/','COLLAB_WEB_SOCKET_URL','socket\x20close','_getRedoStack','color','toRgbString','socketService','APPLY_PERMISSION_DENIED','addObject','_toggleOnline','close$','formatter','/unit/','_replaceFileID','registerOnClose','_transformStack','cursorInfo$','catch','SNAPSHOT_URL_KEY','getCurrent','MSG_FOR_ERROR','PERMISSION_REJ','_refRangeService','memberID','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','unitID','_collabCursorState$','stopTime','7198040LWaGvM','JOIN','transform','getCollabEntity$','reqId','displayName','getResourcesRequest','onMissingChangesets','_onRefRangeChange','LOCAL_CACHE_INTERVAL','floor','editing\x20status\x20changed\x20to','_sessions','ONLINE','_onCursorUpdate','reject','BASE64','_onCursorDelete','_collaborationTimeoutTimer','_cursors','set','_scheduleSaving','_online','generateRandomId','getUnitId','_isPermissionRej','encrypt','_getUploadFileURL','setUndoRedoMutationParamsCache','deepClone','onPointerEnter$','downloadEndpointUrl','collab-text-range-','isActive','moveTo','&source=','isPermissionRej','append','colorChannel1','collab-text-anchor-','_collaborationSessionService','setShapeProps','byteLength','_schedule','_clearOtherTimers','action','[OfflineState]:\x20received\x20rejection.','_scene','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socket','capture','_decreaseWaiting','_collabCursorController','map','_getMergeRange','UNKNOWN_CODE','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','_document','_compressMutationService','_docSkeletonManagerService','onlineStatusTitle','_memberService','_initDependencies','column','keySize','_initResize','_entities','_handleLeaveEvent','restore','_getUndoStack','getRoom','docStateChange$','not_collab','_xformMode','onCommentUpdate','onMissedChangesetFetched','conflict.title','_undoRedoService','values','then','_drawAnchor','LICENSE_IMPORT_SIZE_EXCEEDED','onSyncEditingCollabCursor','updatePermissionPoint','Error','_refreshCollabCursors','cursorInfo','userID','getMemberID','saveSheetBlock','buffer','socket\x20open.','_keyPriorReset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetId','_hover','cfg','updateCollaborator','decrypt','onTransformIME','objectType','_invKeySchedule','_createInitialStateImpl','_onConflict','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_disableEditing','_waitCount','LICENSE_DISTRO_REJECTED','_textBubble','image/png','ranges','off-line-single','_sheetSkeletonManagerService','updateCursorEvent','[OfflineState]:\x20received\x20acknowledgement.','_updateState','SUBMIT_CHANGESET','msCrypto','YUUMI_SUBSCRIPTION_NOT_FOUND','algo','refreshPermission','_initUnitPermissionChange','RemoveRowCommandId','Hasher','getRandomValues','objectActions','NO_OTHER_CLIENTS_EDITING','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_doFinalize','black','target','[FetchMissState]','_hash','getDocRanges','_cursorShapes','ACTIVE_UNIT_EVENT_CHANNEL','_lastPointer','_listenToOfflineEvent','/allowed','height','_docSkeleton','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','batchAllowed','PSEUDO_FETCH_MISSING_RESULT','1095535IMYrjG','_unitID','show','getUnhiddenWorksheets','arc','getCollabCursors$','UniverIcon','LEAVE','7rNMSmD','_scheduleTimestamp','109594hSGUxq','has','_unlockTransition','ws://127.0.0.1:8000/universer-api/comb/connect','_state','clone','HEARTBEAT_TIMEOUT','_setupBeforeClosingHandler','_onRemoteRetry','json','_urlService','[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.','__creator','_cipher','getFocusedUnit','every','getConfig','collabStatus.syncing','UPDATE_CURSOR','dispose$','error','POST','ERROR_IMAGE','uni.network.url-service','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','621603PRAIoc','_sheetTransformSelectionsService','createEncryptor','_session','enableSingleActiveInstanceLock','type','fetchThroughInterceptors','reconnect','sessionStatus','uploadFileServerUrl','enableOfflineEditing','_send','format','closePath','state$','mode','COMMENT_UPDATE','encryptBlock','[CollaborationSession]','online','_snapshotService','undoState','_initCloseConn','_messageService','Undefined','readInt32LE','save\x20fail\x20reason\x20is\x20','_eventUnsubscribe','equals','csAckEvent','INVALID_ARGUMENT','_sendingTimer','assignAColorForMemberID','addObjects','kdf','override','repeat','_onFetchMissResult','indexOf','EXCHANGE_SIGN_URL_SERVER_URL_KEY','row','resize','now','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','resend','CONFLICT','transformSelections','_docStateChangeManagerService','activeSheet$','searchParams','TOO_MANY_REQUESTS','readAsDataURL','message$','focused$','UPDATE_PERMISSION_OBJ','transformStateCache','/universer-api/oidc/authpage','getInterceptPoints','clearInterval','evenodd','join','_setupSubUnitSync','_updateLocalCache','getActiveRange','_getDownloadEndpointURL','hasher','defIds','size','setShowComponents','addEventListener','_revisionService','_showConflictNotification','_data','state','randomUUID','_getSnapshotAPIPrefix','_doProcessBlock','complete','unsubscribe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getCtorByUniverType','OffLineSingle','baseRev','concat','_joinRoom','UNIVER_UNKNOWN','redoState','_createInitialState','reset','ENSURE_SNAPSHOT_EXECUTION','_createHelper','update','unload','_initEventListeners','updateMember','current','531wxjeeM','_updateLocalCursor','LIVESHARE_TERMINATE','data','YUUMI_RATE_OVER_LIMIT','LIVESHARE_OPERATION','_process','originalMeta','translate(.97)','_onMessage','onSendChangeset','OpenSSL','font','subscribeEvent','_registerDependencies','_toggleOffline','CBC','url','use','_logService','univerjs-icon\x20univerjs-icon-','_colorIndex','hovered','roles','COMPRESS_MUTATION_APPLY','unpad','replaceState','Latin1','LICENSE_MAX_UNITS_EXCEEDED','StreamCipher','onRendered','HEARTBEAT','_getAPIPrefixPath','_getSignURL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_univerInstanceService','sheetId','icon','collabStatus.notCollab','_undoStacks','_replayCachedMutations','padding','getCurrentUser','_onRemoteRejected','status','_changesetSessionId','name','top','getStateCache','charCodeAt','MD5','_incrementRevisionNumber','removeMember','registerRefRange','gold400','/collaborator','pushState','createCollaborator','SHOULD_CLOSE_CONN','FromArray','getWorkbookSelections','_drawTextRange','getTime','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_redoStacks','collaborators','HmacSHA1','_listenToOnlineEvent','_hovered','_localCacheService','currentSkeleton$','getValue','univer-pro.collaboration-client.single-active-unit-service','conflict.content','code','_createHandler','on-line-single_clip0_910_349','CHANGESET_SHOULD_RETRY','isEditing','_mode','execute','Malformed\x20UTF-8\x20data','TEXT','_reverseMap','getActiveSheet','getSkeleton','_hasher','revision','copyFileMeta','clipPath','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_draw','_roomMembers$','apply','getSheetBlock','MUTATION','contains','getCurrentUnitForType','appendMutation','title','actions','lineTo','_transformIMECache','OTHER_CLIENTS_EDITING','/-/object/-/batch_allowed','createInstance','INTERNAL_ERROR','collabSubmitChangesetUrl','...','_telemetryInfo','reduce','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','path','_unitStatus','transformIMECache','collaboration-session-retry','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','forEach','random','_injector','_pendingMutations','onStarting','_members','responseType','USERS_ENTER','_transformSelections','_parse','get','pipe','getMember','function','_updateStatus','init','file','default','[DataLoaderController]','YUUMI_URL_COL_OUT_OF_RANGE','_iKey','_acknowledgedAwaitingChangeset','backgroundColor','status$','_handleJoinEvent','SHA1','session.will-retry','_telemetryService','error$','createDecryptor','unitId\x20is\x20not\x20found','_docSyncEditingCollabCursorService','connection\x20error','[CollaborationSessionService]','collaboratorID','_docTransformStateCacheService','split','&to=','children','_transformRemoteChangesetByStateCache','url(#off-line-single_clip0_910_343)','_retryCount','setTimeout','/universer-api/file/{fileID}/sign-url','getUndoRedoMutationParamsCache','registerRenderModule','onlineStatus','stringify','_event$','\x20in\x20_schedule.','Cipher','USERS_LEAVE','_transformHistoryAndStateStack','cmd','fillText','_singleActiveUnitService','_commandService','_key','_uiPartsService','image/bmp','hostname','_disabled','debug','finalize','sigBytes','range','startsWith','_DEC_XFORM_MODE','charAt','getCurrentRevOfUnit','_saveCache','_snapshotServerService','permissionRejEvent','_httpService','headers','_sendHeartbeatTimer','selection','delete','tag','byteOffset','fetchMissingChangesets','save','createSocket','_initCommandExecutedListener','disposeWithMe','[CollaborationState]:\x20apply\x20error!','_syncEditingCollabCursor','newValue','closeSession','result','session','fill','event$','DeleteRangeMoveLeftCommandId','registerBeforeClose','RECV','x-univer-host','_onRemoteACK','BlockCipher','m1Prime','blue400','transformChangesets','authzUrl','pending','LIVESHARE_FETCH_OPERATIONS','LICENSE_EXPORT_SIZE_EXCEEDED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onRemoteChangeset','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_resendTimeout','_scheduleCollaborationTimeoutTimer','eventID','_hideTimer','div','LOGIN_URL_KEY','sendChangesetTimeout','c1Prime','_transformRemoteChangesetByIMECache','_clearRedo','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_unitOnClients','clear','UUID','subscribe','replaceTextRanges','roomMembers$','unknown','InsertRangeMoveDownCommandId','call','_selfUnitIDs','getParam','_cachedData','idSuffix','UNIVER_COLLABORATION_CLIENT_PLUGIN','_nRounds','Warning','workbook','_context','next','object','/block/','_resendWithTimeout','pluginName','changesets','INGEST','requestParams','univer-online-status','_onConnectionOpen','NoPadding','APPLY_NON_SEQUENTIAL_REVISION','_permissionService','_executeRemoteChangeset','subunit','644201JVZmaF','_entityInit$','requireSession','endColumn','params','BufferedBlockAlgorithm','round','_startDocCollabCursor','assign','_initStatusComponent','lib','ceil','_commentService','leaveEvent','_change$','_lockTransition','[PendingState]:\x20received\x20rejection.','listRoles','_localeService','SerializableCipher','SNAPSHOT_HAS_BEEN_REMOVED','UNKNOWN_CMD','_submitChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','unit','fetchMiss','history','commentUpdateEvent','collaMsg','measureText','getItem','_queuedRemoteChangesets','retryConnectingInterval','onTransformRemoteChangesetByIMECache','_shouldReportTelemetry','getCurrentSelections','_imageSourceCache','[CollaborationSessionService]:\x20socket\x20error','univer-offline','EvpKDF','_socketReady','_socket$','_keySchedule','_configService','0\x200\x2017\x2016','RemoveColCommandId','attrs','APPLY_REJECT','_renderManagerService','confirm'];_0x41ec=function(){return _0x1348ca;};return _0x41ec();}function Mi(_0x46502c,_0x3a1f93,_0x5ab62b,_0x1ccaf2,_0x57fc42){const _0x3f0220=_0xefeb96;return _0x57641b(_0x46502c[_0x3f0220(0x2b5)],ee(ee({'key':_0x3a1f93},ea(_0x46502c,_0x5ab62b,_0x57fc42)),_0x1ccaf2),(ta(_0x46502c,_0x5ab62b)[_0x3f0220(0x28d)]||[])[_0x3f0220(0x113)](function(_0x4166c6,_0x1e041b){const _0x25e0c2=_0x3f0220;return Mi(_0x4166c6,''['concat'](_0x3a1f93,'-')[_0x25e0c2(0x1e4)](_0x46502c[_0x25e0c2(0x2b5)],'-')[_0x25e0c2(0x1e4)](_0x1e041b),_0x5ab62b,void 0x0,_0x57fc42);}));}function ea(_0x598fae,_0x561ae7,_0x20e20f){const _0x36afe3=_0xefeb96;var _0x49a5f3=ee({},_0x598fae[_0x36afe3(0x32e)]);_0x20e20f!=null&&_0x20e20f[_0x36afe3(0x104)]&&_0x49a5f3[_0x36afe3(0x2c2)]===_0x36afe3(0x104)&&(_0x49a5f3['fill']=_0x20e20f[_0x36afe3(0x104)]);var _0x2bb97b=_0x561ae7[_0x36afe3(0x1d3)];return!_0x2bb97b||_0x2bb97b[_0x36afe3(0x46c)]===0x0||(_0x598fae['tag']===_0x36afe3(0x203)&&_0x49a5f3[_0x36afe3(0x454)]&&(_0x49a5f3[_0x36afe3(0x454)]=_0x49a5f3[_0x36afe3(0x454)]+_0x561ae7[_0x36afe3(0x2eb)]),Object[_0x36afe3(0x349)](_0x49a5f3)[_0x36afe3(0x267)](function(_0x5496ba){const _0x44117a=_0x36afe3;var _0x34880e=_0x5496ba[0x0],_0x4d4300=_0x5496ba[0x1];typeof _0x4d4300=='string'&&(_0x49a5f3[_0x34880e]=_0x4d4300['replace'](/url\(#(.*)\)/,_0x44117a(0x3a7)[_0x44117a(0x1e4)](_0x561ae7[_0x44117a(0x2eb)],')')));})),_0x49a5f3;}function ta(_0x127676,_0x1705fc){const _0x1b1816=_0xefeb96;var _0x3063db,_0x346a65=_0x1705fc['defIds'];return!_0x346a65||_0x346a65[_0x1b1816(0x46c)]===0x0?_0x127676:_0x127676[_0x1b1816(0x2b5)]===_0x1b1816(0x39d)&&(!((_0x3063db=_0x127676['children'])===null||_0x3063db===void 0x0)&&_0x3063db['length'])?ee(ee({},_0x127676),{'children':_0x127676[_0x1b1816(0x28d)][_0x1b1816(0x113)](function(_0x24fbe2){const _0x130cf5=_0x1b1816;return typeof _0x24fbe2[_0x130cf5(0x32e)]['id']==_0x130cf5(0x38c)&&_0x346a65&&_0x346a65[_0x130cf5(0x1b7)](_0x24fbe2[_0x130cf5(0x32e)]['id'])>-0x1?ee(ee({},_0x24fbe2),{'attrs':ee(ee({},_0x24fbe2[_0x130cf5(0x32e)]),{'id':_0x24fbe2[_0x130cf5(0x32e)]['id']+_0x1705fc['idSuffix']})}):_0x24fbe2;})}):_0x127676;}function sa(){const _0x51f620=_0xefeb96;return Math['random']()[_0x51f620(0x3e7)](0x24)[_0x51f620(0x3f1)](0x2,0x8);}Ts[_0xefeb96(0xe3)]=_0xefeb96(0x174);var ia={'tag':_0xefeb96(0x481),'attrs':{'fill':_0xefeb96(0x374),'viewBox':'0\x200\x2016\x2016','width':_0xefeb96(0x39f),'height':_0xefeb96(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':_0xefeb96(0x28f)},'children':[{'tag':_0xefeb96(0x262),'attrs':{'stroke':'currentColor','d':_0xefeb96(0x116),'strokeLinecap':_0xefeb96(0x306),'strokeLinejoin':_0xefeb96(0x306),'strokeWidth':1.2}}]},{'tag':_0xefeb96(0x39d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xefeb96(0x3cf)},'children':[{'tag':_0xefeb96(0x262),'attrs':{'fill':_0xefeb96(0x3ba),'d':_0xefeb96(0x406)}}]}]}],'defIds':[_0xefeb96(0x3cf)]},xi=_0x1fd374(function(_0x3503fc,_0x4da146){const _0x5b2f84=_0xefeb96;return _0x57641b(Ts,Object[_0x5b2f84(0x308)]({},_0x3503fc,{'id':_0x5b2f84(0x14d),'ref':_0x4da146,'icon':ia}));});xi[_0xefeb96(0xe3)]=_0xefeb96(0x1e2);var na={'tag':_0xefeb96(0x481),'attrs':{'fill':'none','viewBox':_0xefeb96(0x32c),'width':_0xefeb96(0x39f),'height':_0xefeb96(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0xefeb96(0x4a4),'d':_0xefeb96(0xda),'strokeLinecap':_0xefeb96(0x306),'strokeLinejoin':_0xefeb96(0x306),'strokeWidth':1.2}}]},{'tag':_0xefeb96(0x39d),'attrs':{},'children':[{'tag':_0xefeb96(0x24a),'attrs':{'id':_0xefeb96(0x23d)},'children':[{'tag':_0xefeb96(0x262),'attrs':{'fill':_0xefeb96(0x3ba),'d':_0xefeb96(0x406),'transform':_0xefeb96(0x1f9)}}]}]}],'defIds':[_0xefeb96(0x23d)]},Li=_0x1fd374(function(_0xa356bc,_0x5041e7){return _0x57641b(Ts,Object['assign']({},_0xa356bc,{'id':'on-line-single','ref':_0x5041e7,'icon':na}));});Li[_0xefeb96(0xe3)]='OnLineSingle';function $i(_0x125305){const _0x2e9796=_0xefeb96;var _0x4510f7,_0x56cac6,_0x57b2b0='';if(typeof _0x125305=='string'||typeof _0x125305==_0x2e9796(0x354))_0x57b2b0+=_0x125305;else{if(typeof _0x125305==_0x2e9796(0x2f2)){if(Array['isArray'](_0x125305)){var _0x2fd5a9=_0x125305[_0x2e9796(0x46c)];for(_0x4510f7=0x0;_0x4510f7<_0x2fd5a9;_0x4510f7++)_0x125305[_0x4510f7]&&(_0x56cac6=$i(_0x125305[_0x4510f7]))&&(_0x57b2b0&&(_0x57b2b0+='\x20'),_0x57b2b0+=_0x56cac6);}else{for(_0x56cac6 in _0x125305)_0x125305[_0x56cac6]&&(_0x57b2b0&&(_0x57b2b0+='\x20'),_0x57b2b0+=_0x56cac6);}}}return _0x57b2b0;}function ra(){for(var _0x373932,_0x887f2d,_0x2e6c34=0x0,_0x17738e='',_0x5f0252=arguments['length'];_0x2e6c34<_0x5f0252;_0x2e6c34++)(_0x373932=arguments[_0x2e6c34])&&(_0x887f2d=$i(_0x373932))&&(_0x17738e&&(_0x17738e+='\x20'),_0x17738e+=_0x887f2d);return _0x17738e;}const oa='univer-online-status-icon',aa=_0xefeb96(0x45a),ca=_0xefeb96(0x2f9),ha=_0xefeb96(0x4ae),la=_0xefeb96(0x326),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _0x4451(_0x175b60,_0x5856b1){const _0x41ec25=_0x41ec();return _0x4451=function(_0x445177,_0x3a68a4){_0x445177=_0x445177-0xd3;let _0x36d84b=_0x41ec25[_0x445177];return _0x36d84b;},_0x4451(_0x175b60,_0x5856b1);}function _a(_0x51f3df){const _0xa9388e=_0xefeb96;switch(_0x51f3df){case J[_0xa9388e(0x484)]:return'collabStatus.offline';case J[_0xa9388e(0x1be)]:return _0xa9388e(0x489);case J['FETCH_MISS']:return'collabStatus.fetchMiss';case J[_0xa9388e(0x43d)]:return _0xa9388e(0x217);case J[_0xa9388e(0x3b3)]:case J['AWAITING_WITH_PENDING']:return _0xa9388e(0x189);case J['SYNCED']:case J[_0xa9388e(0x390)]:return _0xa9388e(0x4a7);}}function ua(_0x4e3de1){const _0x1974b5=_0xefeb96,{status$:_0x9f88e9}=_0x4e3de1,_0xb446ed=_0x56d905(_0x9f88e9,J[_0x1974b5(0x43d)]),_0x28feaf=_0x373422(_0x6eefec),_0x11190c=_0x373422(Ae),_0x1b9638=_0xb446ed!==J[_0x1974b5(0x484)],_0x59af59=_0x28feaf['t'](_a(_0xb446ed)),_0x3f64ff=ra(Ze[_0x1974b5(0x295)],{[Ze[_0x1974b5(0x1a4)]]:_0x1b9638,[Ze['offline']]:!_0x1b9638}),_0x45f711=_0x1b9638?_0x592b57[_0x1974b5(0x33a)](Li,null):_0x592b57[_0x1974b5(0x33a)](xi,null),_0x8d71af=_0x39e7f2(()=>{const _0x13e843=_0x1974b5;_0x1b9638||_0x11190c[_0x13e843(0x198)]();},[_0x1b9638,_0x11190c]);function _0x267e82(){const _0x51d894=_0x1974b5;return _0x592b57[_0x51d894(0x33a)](_0x51d894(0x2d8),{'className':_0x3f64ff,'onClick':_0x8d71af},_0x592b57[_0x51d894(0x33a)](_0x51d894(0x2d8),{'className':Ze['onlineStatusIcon']},_0x45f711),_0x592b57[_0x51d894(0x33a)](_0x51d894(0x2d8),{'className':Ze[_0x51d894(0x11a)]},_0x59af59));}return _0x1b9638?_0x267e82():_0x592b57[_0x1974b5(0x33a)](_0x8385b8,{'title':_0x28feaf['t'](_0x1974b5(0x3dd))},_0x267e82());}var da=Object[_0xefeb96(0x466)],fa=Object[_0xefeb96(0x336)],va=(_0x4e5998,_0x6dfba,_0x446b46,_0x18c33d)=>{for(var _0x38b393=_0x18c33d>0x1?void 0x0:_0x18c33d?fa(_0x6dfba,_0x446b46):_0x6dfba,_0x5b0f42=_0x4e5998['length']-0x1,_0x2e89f9;_0x5b0f42>=0x0;_0x5b0f42--)(_0x2e89f9=_0x4e5998[_0x5b0f42])&&(_0x38b393=(_0x18c33d?_0x2e89f9(_0x6dfba,_0x446b46,_0x38b393):_0x2e89f9(_0x38b393))||_0x38b393);return _0x18c33d&&_0x38b393&&da(_0x6dfba,_0x446b46,_0x38b393),_0x38b393;},lt=(_0x1645b1,_0x115d53)=>(_0x2b16a4,_0x1c608f)=>_0x115d53(_0x2b16a4,_0x1c608f,_0x1645b1);let It=class extends _0x4f89fd{constructor(_0x8d60dc,_0xd9f651,_0x140920,_0x509cc0){const _0x2392e3=_0xefeb96;super(),g(this,_0x2392e3(0x34a),new _0x1d1c4b(J[_0x2392e3(0x43d)])),(this[_0x2392e3(0x214)]=_0x8d60dc,this[_0x2392e3(0x2a1)]=_0xd9f651,this[_0x2392e3(0x269)]=_0x140920,this[_0x2392e3(0x3ed)]=_0x509cc0,this[_0x2392e3(0x309)](),this[_0x2392e3(0x3f5)]());}['_initStatusListener'](){const _0x385c5f=_0xefeb96;this[_0x385c5f(0x2bb)](this['_univerInstanceService'][_0x385c5f(0x1c6)][_0x385c5f(0x272)](_0x18db0e(()=>{const _0x3be51e=_0x385c5f,_0x3a61fb=this['_univerInstanceService'][_0x3be51e(0x186)]();return _0x3a61fb?this[_0x3be51e(0x3ed)][_0x3be51e(0xe1)](_0x3a61fb[_0x3be51e(0xf6)]()):_0x59a608(null);}),_0x18db0e(_0x1426b8=>_0x1426b8?_0x1426b8[_0x385c5f(0x27e)]:_0x59a608(J[_0x385c5f(0x43d)])))['subscribe'](_0x286c35=>{const _0x3f5c58=_0x385c5f;this[_0x3f5c58(0x34a)][_0x3f5c58(0x2f1)](_0x286c35);}));}['_initStatusComponent'](){const _0x4df130=_0xefeb96;this[_0x4df130(0x2bb)](this[_0x4df130(0x2a1)]['registerComponent'](_0x26d639[_0x4df130(0x386)],()=>_0x3da318(ma({'status$':this[_0x4df130(0x34a)][_0x4df130(0x3ce)]()}),this[_0x4df130(0x269)])));}};It=va([lt(0x0,_0x3ca09d),lt(0x1,_0x3f682f),lt(0x2,_0x3099f4(_0x3676c8)),lt(0x3,_0x3099f4(it))],It);function ma(_0x4fc528){const {status$:_0x130d53}=_0x4fc528;return function(){const _0x33f060=_0x4451;return _0x592b57[_0x33f060(0x33a)](ua,{'status$':_0x130d53});};}const Hi=_0x346f91(_0xefeb96(0x18f));var pa=Object[_0xefeb96(0x466)],ga=Object[_0xefeb96(0x336)],Sa=(_0x1c1fc1,_0x3936dc,_0xf95294,_0x495518)=>{const _0x2d26f9=_0xefeb96;for(var _0x51c915=_0x495518>0x1?void 0x0:_0x495518?ga(_0x3936dc,_0xf95294):_0x3936dc,_0x72c73c=_0x1c1fc1[_0x2d26f9(0x46c)]-0x1,_0x35d375;_0x72c73c>=0x0;_0x72c73c--)(_0x35d375=_0x1c1fc1[_0x72c73c])&&(_0x51c915=(_0x495518?_0x35d375(_0x3936dc,_0xf95294,_0x51c915):_0x35d375(_0x51c915))||_0x51c915);return _0x495518&&_0x51c915&&pa(_0x3936dc,_0xf95294,_0x51c915),_0x51c915;},ke=(_0x109d72,_0x4e361b)=>(_0x8acf4b,_0x319a6d)=>_0x4e361b(_0x8acf4b,_0x319a6d,_0x109d72);let Ct=class extends _0x2f42db{constructor(_0x35c6fb,_0x5bc13a,_0x2dbb45,_0x1063c5,_0x1f6679,_0x148ba7){const _0x51570f=_0xefeb96;super(),this['_urlService']=_0x35c6fb,this[_0x51570f(0x204)]=_0x5bc13a,this['_commandService']=_0x2dbb45,this['_localCacheService']=_0x1063c5,this['_snapshotService']=_0x1f6679,_0x148ba7?_0x148ba7==null||_0x148ba7['whenReady']()[_0x51570f(0x12d)](()=>this[_0x51570f(0x411)]()):(this[_0x51570f(0x204)][_0x51570f(0x2a5)](_0x51570f(0x279),_0x51570f(0x2d3)),this[_0x51570f(0x411)]());}async['_init'](){const _0x3eeb02=_0xefeb96,_0x3e695a=this[_0x3eeb02(0x182)][_0x3eeb02(0x2e9)](_0x3eeb02(0x318)),_0x3c0ae7=this[_0x3eeb02(0x182)][_0x3eeb02(0x2e9)](_0x3eeb02(0x196));if(!_0x3e695a||!_0x3c0ae7){this[_0x3eeb02(0x204)][_0x3eeb02(0x2a5)](_0x3eeb02(0x279),_0x3eeb02(0x146));return;}switch(Number(_0x3c0ae7)){case ce[_0x3eeb02(0x451)]:{const _0x109be2=await this[_0x3eeb02(0x370)](_0x3e695a);this[_0x3eeb02(0x1ce)](_0x109be2);break;}case ce['UNIVER_DOC']:{await this['_loadDoc'](_0x3e695a);break;}default:{this[_0x3eeb02(0x204)][_0x3eeb02(0x18c)](_0x3eeb02(0x279),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0xefeb96(0x1ce)](_0x3a5a07){const _0x522e21=_0xefeb96;await this['_updateSubUnitFromURLParams'](_0x3a5a07),_0x3a5a07[_0x522e21(0x1c1)][_0x522e21(0x272)](_0x41a6cf(this['dispose$']))[_0x522e21(0x2e2)](_0x10672b=>{_0x10672b&&this['_updateURLWithCurrentState'](_0x10672b);}),this[_0x522e21(0x182)][_0x522e21(0x409)][_0x522e21(0x272)](_0x41a6cf(this[_0x522e21(0x18b)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x3a5a07));}['_updateURLWithCurrentState'](_0x5632a7,_0x3d1b8b=!0x1){const _0x565430=_0xefeb96,_0x4b0e98=this[_0x565430(0x182)]['getParam'](_0x565430(0x2ff));_0x5632a7['getSheetId']()!==_0x4b0e98&&this[_0x565430(0x182)][_0x565430(0x3b7)](_0x565430(0x2ff),_0x5632a7['getSheetId'](),_0x3d1b8b);}async[_0xefeb96(0x497)](_0x1175d5){const _0x4c8568=_0xefeb96;var _0x35f403;const _0xeb5d7d=this[_0x4c8568(0x182)]['getParam'](_0x4c8568(0x2ff));if(!_0xeb5d7d||!_0x1175d5['getSheetBySheetId'](_0xeb5d7d)){const _0x4d6939=_0x1175d5[_0x4c8568(0x171)]()[0x0],_0x4c7f7f=_0x1175d5['getSheetBySheetId'](_0x4d6939);if(!_0x4c7f7f)return;this['_updateURLWithCurrentState'](_0x4c7f7f,!0x0),await this[_0x4c8568(0x29f)][_0x4c8568(0x408)](_0x2f61e5['id'],{'unitId':_0x1175d5[_0x4c8568(0xf6)](),'subUnitId':_0x4d6939});return;}((_0x35f403=_0x1175d5[_0x4c8568(0x245)]())==null?void 0x0:_0x35f403[_0x4c8568(0x13c)]())!==_0xeb5d7d&&await this[_0x4c8568(0x29f)][_0x4c8568(0x408)](_0x2f61e5['id'],{'unitId':_0x1175d5[_0x4c8568(0xf6)](),'subUnitId':_0xeb5d7d});}async[_0xefeb96(0x370)](_0x218c6c){const _0x45ab8=_0xefeb96;let _0x54dfc3=0x0;const _0x976c95=await this[_0x45ab8(0x236)][_0x45ab8(0x33c)](_0x218c6c);return _0x976c95&&(_0x976c95['awaitingChangeset']||_0x976c95[_0x45ab8(0x3a8)][_0x45ab8(0x46c)]!==0x0)&&(_0x54dfc3=_0x976c95[_0x45ab8(0x483)]),_0x54dfc3===0x0&&this['_logService']['debug'](_0x45ab8(0x279),_0x45ab8(0x2de)),this['_snapshotService']['loadSheet'](_0x218c6c,_0x54dfc3);}async[_0xefeb96(0x3f8)](_0x267d4f){const _0xb624cf=_0xefeb96;let _0x3ad70a=0x0;const _0x229e94=await this[_0xb624cf(0x236)][_0xb624cf(0x33c)](_0x267d4f);return _0x229e94&&(_0x229e94[_0xb624cf(0x448)]||_0x229e94['mutations'][_0xb624cf(0x46c)]!==0x0)&&(_0x3ad70a=_0x229e94[_0xb624cf(0x483)]),_0x3ad70a===0x0&&this[_0xb624cf(0x204)]['debug'](_0xb624cf(0x279),_0xb624cf(0x2de)),this[_0xb624cf(0x1a5)]['loadDoc'](_0x267d4f,_0x3ad70a);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x40d13a),ke(0x2,_0x45feb8),ke(0x3,_0x3099f4(q)),ke(0x4,_0x3099f4(_0x4f4dbd)),ke(0x5,_0x118e7e(_0x29360e))],Ct);var Ia=Object[_0xefeb96(0x466)],Ca=Object[_0xefeb96(0x336)],Ea=(_0x1b1052,_0x451cf8,_0x3b3cf8,_0x5d51aa)=>{for(var _0x293730=_0x5d51aa>0x1?void 0x0:_0x5d51aa?Ca(_0x451cf8,_0x3b3cf8):_0x451cf8,_0x4acf1b=_0x1b1052['length']-0x1,_0x44731e;_0x4acf1b>=0x0;_0x4acf1b--)(_0x44731e=_0x1b1052[_0x4acf1b])&&(_0x293730=(_0x5d51aa?_0x44731e(_0x451cf8,_0x3b3cf8,_0x293730):_0x44731e(_0x293730))||_0x293730);return _0x5d51aa&&_0x293730&&Ia(_0x451cf8,_0x3b3cf8,_0x293730),_0x293730;},zs=(_0x2e80d1,_0x58773e)=>(_0x2dd0ba,_0x2a1b6a)=>_0x58773e(_0x2dd0ba,_0x2a1b6a,_0x2e80d1);const ba=_0xefeb96(0x4a6),Ta='Univer';let Et=class extends _0x4f89fd{constructor(_0x5b17f8,_0x46764a){const _0x5bc3a9=_0xefeb96;super(),this['_univerInstanceService']=_0x5b17f8,this['_configService']=_0x46764a,this[_0x5bc3a9(0x411)]();}[_0xefeb96(0x411)](){const _0x4897fa=_0xefeb96;this[_0x4897fa(0x2bb)](this['_univerInstanceService'][_0x4897fa(0x1c6)][_0x4897fa(0x2e2)](()=>{const _0x47b264=_0x4897fa;var _0x20e94e;const _0x4a9199=this[_0x47b264(0x214)][_0x47b264(0x186)]();let _0x5590f3=(_0x20e94e=this['_configService'][_0x47b264(0x188)](ba))!=null?_0x20e94e:Ta;_0x4a9199 instanceof _0x10baaa&&(_0x5590f3=_0x4a9199['name']),document[_0x47b264(0x254)]=_0x5590f3;}));}};Et=Ea([zs(0x0,_0x3ca09d),zs(0x1,_0x4ea3e2)],Et);var Ra=Object[_0xefeb96(0x466)],ya=Object[_0xefeb96(0x336)],Oa=(_0x3eab73,_0x24de34,_0x15f8fd,_0x566acd)=>{const _0x19ee34=_0xefeb96;for(var _0x5afa67=_0x566acd>0x1?void 0x0:_0x566acd?ya(_0x24de34,_0x15f8fd):_0x24de34,_0x445594=_0x3eab73[_0x19ee34(0x46c)]-0x1,_0x5bfb8c;_0x445594>=0x0;_0x445594--)(_0x5bfb8c=_0x3eab73[_0x445594])&&(_0x5afa67=(_0x566acd?_0x5bfb8c(_0x24de34,_0x15f8fd,_0x5afa67):_0x5bfb8c(_0x5afa67))||_0x5afa67);return _0x566acd&&_0x5afa67&&Ra(_0x24de34,_0x15f8fd,_0x5afa67),_0x5afa67;},Wt=(_0x1d2967,_0x1a6c21)=>(_0xd7fd02,_0x7619f5)=>_0x1a6c21(_0xd7fd02,_0x7619f5,_0x1d2967);let bt=class{constructor(_0x358419,_0xcf441b,_0x281dd0){const _0xda1940=_0xefeb96;this[_0xda1940(0x32b)]=_0x358419,this[_0xda1940(0x2b0)]=_0xcf441b,this[_0xda1940(0x461)]=_0x281dd0,this[_0xda1940(0x276)]();}[_0xefeb96(0x276)](){const _0x1bf752=_0xefeb96;this[_0x1bf752(0x2b0)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2d8fe8,_0x30d7e6)=>_0x30d7e6(_0x2d8fe8)['pipe'](_0x53bc20(async _0x4e7db2=>{const _0x5e95e2=_0x1bf752,_0x398373=_0x4e7db2;if(_0x398373['status']===0x191&&window[_0x5e95e2(0x331)](this[_0x5e95e2(0x461)]['t']('auth.needGotoLoginAlert'))){const _0x1ea822=window['encodeURIComponent'](window[_0x5e95e2(0x35f)][_0x5e95e2(0x33f)]);window['location'][_0x5e95e2(0x33f)]=this[_0x5e95e2(0x42a)]()+'?url='+_0x1ea822;}return _0x398373;}))});}[_0xefeb96(0x42a)](){const _0x1c2234=_0xefeb96;var _0x43473f,_0xce7ed2;const _0x463e9d=this[_0x1c2234(0x32b)][_0x1c2234(0x188)](Ir),_0x3b8529=this[_0x1c2234(0x32b)][_0x1c2234(0x188)](ie);return(_0xce7ed2=(_0x43473f=_0x3b8529==null?void 0x0:_0x3b8529[_0x1c2234(0x38a)])!=null?_0x43473f:_0x463e9d)!=null?_0xce7ed2:Cr;}};bt=Oa([Wt(0x0,_0x4ea3e2),Wt(0x1,_0x3099f4(_0x281aa7)),Wt(0x2,_0x3099f4(_0x6eefec))],bt);var wa=Object[_0xefeb96(0x466)],Da=Object[_0xefeb96(0x336)],Pa=(_0x48a02b,_0x1303d5,_0x472d96,_0x3900cb)=>{for(var _0x3e0fd0=_0x3900cb>0x1?void 0x0:_0x3900cb?Da(_0x1303d5,_0x472d96):_0x1303d5,_0x516c64=_0x48a02b['length']-0x1,_0x539a56;_0x516c64>=0x0;_0x516c64--)(_0x539a56=_0x48a02b[_0x516c64])&&(_0x3e0fd0=(_0x3900cb?_0x539a56(_0x1303d5,_0x472d96,_0x3e0fd0):_0x539a56(_0x3e0fd0))||_0x3e0fd0);return _0x3900cb&&_0x3e0fd0&&wa(_0x1303d5,_0x472d96,_0x3e0fd0),_0x3e0fd0;},qs=(_0x8d3858,_0x570cd7)=>(_0x3c9a58,_0x5d55e4)=>_0x570cd7(_0x3c9a58,_0x5d55e4,_0x8d3858);const Ua='AUTHZ_URL_KEY',Na='/universer-api/authz';let cs=class extends _0x4f89fd{constructor(_0x25e69d,_0x54fdf2){const _0x4b907c=_0xefeb96;super(),this[_0x4b907c(0x261)]=_0x25e69d,this[_0x4b907c(0x32b)]=_0x54fdf2,this['_initMergeInterceptor']();}[_0xefeb96(0x3cd)](){const _0x37b344=_0xefeb96,_0x522c92=this;this[_0x37b344(0x2bb)](this[_0x37b344(0x261)][_0x37b344(0x3c7)]({'priority':0x3e7,'interceptor':_0x2a72b9({'isMatch'(_0x49e414){const _0x275cb8=_0x37b344;var _0x105a46;if(_0x49e414['method']==='POST'&&((_0x105a46=_0x49e414[_0x275cb8(0x2f8)])!=null&&_0x105a46[_0x275cb8(0x3c8)])){const {objectID:_0x3a5517,objectType:_0x379831}=_0x49e414['requestParams'][_0x275cb8(0x3c8)]||{};if(!_0x3a5517||_0x379831===void 0x0)return!0x1;const _0x307ec9=_0x522c92[_0x275cb8(0x211)]()+'/'+_0x379831+_0x275cb8(0x4bf)+_0x3a5517+_0x275cb8(0x168);if(_0x49e414[_0x275cb8(0x202)]===_0x307ec9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x327b2f){const _0x325012=_0x37b344;var _0x276077;return(_0x276077=_0x327b2f['requestParams'])==null?void 0x0:_0x276077[_0x325012(0x3c8)];},'mergeParamsToRequest'(_0x10eac4,_0xcafd1f){const _0x5dd174=_0x37b344,_0x34f397=_0x522c92['_getAPIPrefixPath']()+_0x5dd174(0x259),_0x2f842a=_0x10eac4[_0x5dd174(0x25f)]((_0x33bc13,_0xc47aaf)=>{const _0x314cb2=_0x5dd174,{unitID:_0x5729bb,objectID:_0x1f83e1,objectType:_0x130a28,actions:_0x1d58b7}=_0xc47aaf;return _0x33bc13[_0x5729bb]||(_0x33bc13[_0x5729bb]={}),_0x33bc13[_0x5729bb][_0x1f83e1]||(_0x33bc13[_0x5729bb][_0x1f83e1]={'objectID':_0x1f83e1,'objectType':_0x130a28,'actions':[]}),_0x33bc13[_0x5729bb][_0x1f83e1][_0x314cb2(0x255)][_0x314cb2(0x477)](..._0x1d58b7),_0x33bc13;},{}),_0x1b579d=[];for(const _0x3a8049 in _0x2f842a)for(const _0x5ec949 in _0x2f842a[_0x3a8049]){const {actions:_0x26888a,objectType:_0x30216c}=_0x2f842a[_0x3a8049][_0x5ec949],_0x2a05ac=[...new Set(_0x26888a)];_0x1b579d[_0x5dd174(0x477)]({'unitID':_0x3a8049,'objectID':_0x5ec949,'objectType':_0x30216c,'actions':_0x2a05ac});}return new _0x4d57e5(_0x5dd174(0x18d),_0x34f397,{'headers':_0xcafd1f['headers'],'withCredentials':_0xcafd1f[_0x5dd174(0x3fd)],'responseType':_0xcafd1f[_0x5dd174(0x26d)],'body':{'requests':_0x1b579d}});}},{'distributeResult'(_0x530519,_0x2acb63){const {objectActions:_0x530bfb}=_0x530519;return _0x2acb63['map'](_0x233227=>{const _0x1d9fd2=_0x4451,{unitID:_0x1f25a4,objectID:_0x4dac24,actions:_0x557bfd}=_0x233227,_0x440138=_0x530bfb[_0x1d9fd2(0x431)](_0x716342=>_0x716342[_0x1d9fd2(0xdb)]===_0x1f25a4&&_0x716342[_0x1d9fd2(0x4b3)]===_0x4dac24),_0x5ed7ef=_0x557bfd['map'](_0x575525=>_0x440138==null?void 0x0:_0x440138['actions'][_0x1d9fd2(0x431)](_0x3cfe9a=>_0x3cfe9a[_0x1d9fd2(0x10b)]===_0x575525))[_0x1d9fd2(0x335)](_0x480e68=>!!_0x480e68);return{'config':_0x233227,'result':{'actions':_0x5ed7ef,'error':_0x530519[_0x1d9fd2(0x18c)]}};});}})}));}[_0xefeb96(0x211)](){const _0x16e16f=_0xefeb96;var _0x413544,_0x231f74;const _0x569b31=this[_0x16e16f(0x32b)][_0x16e16f(0x188)](Ua),_0x3b353a=this['_configService']['getConfig'](ie);return(_0x231f74=(_0x413544=_0x3b353a==null?void 0x0:_0x3b353a[_0x16e16f(0x2cd)])!=null?_0x413544:_0x569b31)!=null?_0x231f74:Na;}async[_0xefeb96(0x3ae)](_0x4e4479){const _0x2b0ee5=_0xefeb96,_0x3422ac=this['_getAPIPrefixPath']()+'/'+_0x4e4479[_0x2b0ee5(0x142)]+'/object';return(await this['_HTTPService'][_0x2b0ee5(0x39c)](_0x3422ac,{'body':_0x4e4479}))[_0x2b0ee5(0x3c8)][_0x2b0ee5(0x4b3)]||'';}async['list'](_0x42ae4e){const _0x5b5705=_0xefeb96,_0x57227e=this[_0x5b5705(0x211)]()+'/-/object/list';return(await this[_0x5b5705(0x261)][_0x5b5705(0x39c)](_0x57227e,{'body':_0x42ae4e}))[_0x5b5705(0x3c8)][_0x5b5705(0x3bc)];}async[_0xefeb96(0x1ec)](_0x4728c3){const _0x106b2a=_0xefeb96,_0x350402=this[_0x106b2a(0x211)]()+'/'+_0x4728c3['objectType']+'/object/'+_0x4728c3[_0x106b2a(0x4b3)];await this[_0x106b2a(0x261)]['put'](_0x350402,{'body':_0x4728c3});}async[_0xefeb96(0x462)](_0x1417f4){const _0x1a09f6=_0xefeb96,_0x5208c2=this[_0x1a09f6(0x211)]()+'/'+_0x1417f4[_0x1a09f6(0x142)]+'/object/'+_0x1417f4[_0x1a09f6(0x4b3)]+_0x1a09f6(0x168);return(await this[_0x1a09f6(0x261)][_0x1a09f6(0x39c)](_0x5208c2,{'body':_0x1417f4}))[_0x1a09f6(0x3c8)][_0x1a09f6(0x255)];}async[_0xefeb96(0x16c)](_0x2488c8){const _0x317704=_0xefeb96,_0x57b12a=this[_0x317704(0x211)]()+_0x317704(0x259);return(await this[_0x317704(0x261)][_0x317704(0x39c)](_0x57b12a,{'body':{'requests':_0x2488c8}}))[_0x317704(0x3c8)][_0x317704(0x15b)];}async[_0xefeb96(0x311)](_0x4a92b5){const _0x3d8b7d=_0xefeb96,_0x50356c=this[_0x3d8b7d(0x211)]()+'/'+_0x4a92b5[_0x3d8b7d(0x142)]+'/role',_0x339025=await this[_0x3d8b7d(0x261)][_0x3d8b7d(0x39c)](_0x50356c,{'body':_0x4a92b5});return{'roles':_0x339025[_0x3d8b7d(0x3c8)][_0x3d8b7d(0x208)],'actions':_0x339025[_0x3d8b7d(0x3c8)][_0x3d8b7d(0x255)]};}async[_0xefeb96(0x453)](_0x270722){const _0x13ab6e=_0xefeb96,_0x246282=this[_0x13ab6e(0x211)]()+_0x13ab6e(0x228);await this[_0x13ab6e(0x261)][_0x13ab6e(0x2b4)](_0x246282,{'params':{'collaboratorID':_0x270722[_0x13ab6e(0x289)],'objectID':_0x270722[_0x13ab6e(0x4b3)],'unitID':_0x270722['unitID']}});}async[_0xefeb96(0x13f)](_0x352144){const _0x3c3da5=_0xefeb96,_0x3b3e76=this[_0x3c3da5(0x211)]()+_0x3c3da5(0x228);await this[_0x3c3da5(0x261)]['patch'](_0x3b3e76,{'body':_0x352144});}async[_0xefeb96(0x22a)](_0x2a23bf){const _0x3c8e79=_0xefeb96,_0x3f137e=this[_0x3c8e79(0x211)]()+_0x3c8e79(0x228);await this[_0x3c8e79(0x261)]['post'](_0x3f137e,{'body':_0x2a23bf});}async['listCollaborators'](_0x440f69){const _0x17933f=_0xefeb96,_0x95557=this[_0x17933f(0x211)]()+_0x17933f(0x228);return(await this[_0x17933f(0x261)][_0x17933f(0x271)](_0x95557,{'params':{'objectID':_0x440f69[_0x17933f(0x4b3)],'unitID':_0x440f69[_0x17933f(0xdb)]}}))[_0x17933f(0x3c8)][_0x17933f(0x232)];}async['putCollaborators'](_0x2e41ea){const _0x5569a8=_0xefeb96,_0x35ed21=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5569a8(0x261)][_0x5569a8(0x3e2)](_0x35ed21,{'body':_0x2e41ea});}};cs=Pa([qs(0x0,_0x3099f4(_0x281aa7)),qs(0x1,_0x3099f4(_0x4ea3e2))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x39a982){const _0x27aa29=_0xefeb96;return _0x39a982&&_0x39a982[_0x27aa29(0x365)]&&Object['prototype'][_0x27aa29(0x422)]['call'](_0x39a982,_0x27aa29(0x278))?_0x39a982[_0x27aa29(0x278)]:_0x39a982;}var ji={'exports':{}};function Aa(_0x16fdbc){const _0x2c2434=_0xefeb96;throw new Error(_0x2c2434(0x3a3)+_0x16fdbc+_0x2c2434(0x190));}var Ft={'exports':{}},Xs;function ue(){return Xs||(Xs=0x1,function(_0xa6e0e1,_0x21ff8a){(function(_0x268de5,_0xa7b662){const _0x5b2a65=_0x4451;_0xa6e0e1[_0x5b2a65(0x3e4)]=_0xa7b662();}(Z,function(){var _0x1f6809=_0x1f6809||function(_0x226f72,_0x46ae4c){const _0x37a633=_0x4451;var _0x2877d7;if(typeof window<'u'&&window[_0x37a633(0x44d)]&&(_0x2877d7=window['crypto']),typeof self<'u'&&self[_0x37a633(0x44d)]&&(_0x2877d7=self['crypto']),typeof globalThis<'u'&&globalThis[_0x37a633(0x44d)]&&(_0x2877d7=globalThis[_0x37a633(0x44d)]),!_0x2877d7&&typeof window<'u'&&window[_0x37a633(0x153)]&&(_0x2877d7=window[_0x37a633(0x153)]),!_0x2877d7&&typeof Z<'u'&&Z[_0x37a633(0x44d)]&&(_0x2877d7=Z[_0x37a633(0x44d)]),!_0x2877d7&&typeof Aa==_0x37a633(0x274))try{_0x2877d7=require(_0x37a633(0x44d));}catch{}var _0x70961f=function(){const _0x3a1708=_0x37a633;if(_0x2877d7){if(typeof _0x2877d7[_0x3a1708(0x15a)]==_0x3a1708(0x274))try{return _0x2877d7['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2877d7[_0x3a1708(0x49a)]=='function')try{return _0x2877d7[_0x3a1708(0x49a)](0x4)[_0x3a1708(0x1aa)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5cf8c9=Object[_0x37a633(0x3ae)]||(function(){function _0x28d645(){}return function(_0x13e72e){const _0x4b1948=_0x4451;var _0x5a226c;return _0x28d645[_0x4b1948(0x43e)]=_0x13e72e,_0x5a226c=new _0x28d645(),_0x28d645[_0x4b1948(0x43e)]=null,_0x5a226c;};}()),_0x36bbb9={},_0x176736=_0x36bbb9[_0x37a633(0x30a)]={},_0x76aa31=_0x176736[_0x37a633(0x3ac)]=(function(){return{'extend':function(_0x1c31d7){const _0x4257dc=_0x4451;var _0x2cacf9=_0x5cf8c9(this);return _0x1c31d7&&_0x2cacf9[_0x4257dc(0x361)](_0x1c31d7),(!_0x2cacf9[_0x4257dc(0x422)](_0x4257dc(0x276))||this['init']===_0x2cacf9[_0x4257dc(0x276)])&&(_0x2cacf9[_0x4257dc(0x276)]=function(){const _0x5be92b=_0x4257dc;_0x2cacf9[_0x5be92b(0x46b)][_0x5be92b(0x276)][_0x5be92b(0x24e)](this,arguments);}),_0x2cacf9[_0x4257dc(0x276)][_0x4257dc(0x43e)]=_0x2cacf9,_0x2cacf9[_0x4257dc(0x46b)]=this,_0x2cacf9;},'create':function(){const _0x230d4b=_0x4451;var _0x1b0b9f=this[_0x230d4b(0x412)]();return _0x1b0b9f['init'][_0x230d4b(0x24e)](_0x1b0b9f,arguments),_0x1b0b9f;},'init':function(){},'mixIn':function(_0xfd747b){const _0x2e2457=_0x4451;for(var _0x773254 in _0xfd747b)_0xfd747b[_0x2e2457(0x422)](_0x773254)&&(this[_0x773254]=_0xfd747b[_0x773254]);_0xfd747b[_0x2e2457(0x422)](_0x2e2457(0x3e7))&&(this[_0x2e2457(0x3e7)]=_0xfd747b[_0x2e2457(0x3e7)]);},'clone':function(){const _0x29f032=_0x4451;return this[_0x29f032(0x276)][_0x29f032(0x43e)][_0x29f032(0x412)](this);}};}()),_0x4c68cc=_0x176736[_0x37a633(0x3eb)]=_0x76aa31[_0x37a633(0x412)]({'init':function(_0x288530,_0x2204fb){const _0x50f3d4=_0x37a633;_0x288530=this[_0x50f3d4(0x387)]=_0x288530||[],_0x2204fb!=_0x46ae4c?this['sigBytes']=_0x2204fb:this[_0x50f3d4(0x2a7)]=_0x288530[_0x50f3d4(0x46c)]*0x4;},'toString':function(_0x4ec3be){const _0x304a58=_0x37a633;return(_0x4ec3be||_0x5f0820)[_0x304a58(0x296)](this);},'concat':function(_0x538e5d){const _0x180740=_0x37a633;var _0x36fb7f=this[_0x180740(0x387)],_0x10781b=_0x538e5d[_0x180740(0x387)],_0x2db66b=this['sigBytes'],_0xe49f2=_0x538e5d[_0x180740(0x2a7)];if(this['clamp'](),_0x2db66b%0x4)for(var _0xd3c352=0x0;_0xd3c352<_0xe49f2;_0xd3c352++){var _0x4329b8=_0x10781b[_0xd3c352>>>0x2]>>>0x18-_0xd3c352%0x4*0x8&0xff;_0x36fb7f[_0x2db66b+_0xd3c352>>>0x2]|=_0x4329b8<<0x18-(_0x2db66b+_0xd3c352)%0x4*0x8;}else{for(var _0x337188=0x0;_0x337188<_0xe49f2;_0x337188+=0x4)_0x36fb7f[_0x2db66b+_0x337188>>>0x2]=_0x10781b[_0x337188>>>0x2];}return this['sigBytes']+=_0xe49f2,this;},'clamp':function(){const _0x4cc4db=_0x37a633;var _0x1d70d5=this['words'],_0x7d5a6=this['sigBytes'];_0x1d70d5[_0x7d5a6>>>0x2]&=0xffffffff<<0x20-_0x7d5a6%0x4*0x8,_0x1d70d5[_0x4cc4db(0x46c)]=_0x226f72[_0x4cc4db(0x30b)](_0x7d5a6/0x4);},'clone':function(){const _0x570720=_0x37a633;var _0x23a2fb=_0x76aa31['clone'][_0x570720(0x2e7)](this);return _0x23a2fb[_0x570720(0x387)]=this[_0x570720(0x387)][_0x570720(0x352)](0x0),_0x23a2fb;},'random':function(_0x27b9e8){const _0x4d2163=_0x37a633;for(var _0x480b8f=[],_0xf69583=0x0;_0xf69583<_0x27b9e8;_0xf69583+=0x4)_0x480b8f[_0x4d2163(0x477)](_0x70961f());return new _0x4c68cc[(_0x4d2163(0x276))](_0x480b8f,_0x27b9e8);}}),_0x4665aa=_0x36bbb9[_0x37a633(0x36b)]={},_0x5f0820=_0x4665aa[_0x37a633(0x3e9)]={'stringify':function(_0x29cfc8){const _0x10443d=_0x37a633;for(var _0x6cbcf0=_0x29cfc8['words'],_0x282117=_0x29cfc8[_0x10443d(0x2a7)],_0x343918=[],_0x585223=0x0;_0x585223<_0x282117;_0x585223++){var _0x3c396c=_0x6cbcf0[_0x585223>>>0x2]>>>0x18-_0x585223%0x4*0x8&0xff;_0x343918[_0x10443d(0x477)]((_0x3c396c>>>0x4)[_0x10443d(0x3e7)](0x10)),_0x343918['push']((_0x3c396c&0xf)[_0x10443d(0x3e7)](0x10));}return _0x343918[_0x10443d(0x1cd)]('');},'parse':function(_0x4269dd){const _0x1c1c3f=_0x37a633;for(var _0x5737b1=_0x4269dd[_0x1c1c3f(0x46c)],_0x5981c0=[],_0x25eefa=0x0;_0x25eefa<_0x5737b1;_0x25eefa+=0x2)_0x5981c0[_0x25eefa>>>0x3]|=parseInt(_0x4269dd['substr'](_0x25eefa,0x2),0x10)<<0x18-_0x25eefa%0x8*0x4;return new _0x4c68cc[(_0x1c1c3f(0x276))](_0x5981c0,_0x5737b1/0x2);}},_0x2a6b5d=_0x4665aa[_0x37a633(0x20c)]={'stringify':function(_0x44e20d){const _0x39da70=_0x37a633;for(var _0x1d6ec6=_0x44e20d[_0x39da70(0x387)],_0x3ab5c0=_0x44e20d['sigBytes'],_0x2e93d9=[],_0x5e40c8=0x0;_0x5e40c8<_0x3ab5c0;_0x5e40c8++){var _0x43c24a=_0x1d6ec6[_0x5e40c8>>>0x2]>>>0x18-_0x5e40c8%0x4*0x8&0xff;_0x2e93d9[_0x39da70(0x477)](String[_0x39da70(0x337)](_0x43c24a));}return _0x2e93d9['join']('');},'parse':function(_0x3db1e5){const _0x15e26d=_0x37a633;for(var _0x1711ed=_0x3db1e5[_0x15e26d(0x46c)],_0x47e193=[],_0x2ef83d=0x0;_0x2ef83d<_0x1711ed;_0x2ef83d++)_0x47e193[_0x2ef83d>>>0x2]|=(_0x3db1e5['charCodeAt'](_0x2ef83d)&0xff)<<0x18-_0x2ef83d%0x4*0x8;return new _0x4c68cc[(_0x15e26d(0x276))](_0x47e193,_0x1711ed);}},_0x4405dc=_0x4665aa['Utf8']={'stringify':function(_0x55296a){const _0x2f42f9=_0x37a633;try{return decodeURIComponent(escape(_0x2a6b5d[_0x2f42f9(0x296)](_0x55296a)));}catch{throw new Error(_0x2f42f9(0x242));}},'parse':function(_0x373ea8){return _0x2a6b5d['parse'](unescape(encodeURIComponent(_0x373ea8)));}},_0x135f9e=_0x176736[_0x37a633(0x305)]=_0x76aa31[_0x37a633(0x412)]({'reset':function(){const _0x41cdea=_0x37a633;this[_0x41cdea(0x1d9)]=new _0x4c68cc[(_0x41cdea(0x276))](),this[_0x41cdea(0x47f)]=0x0;},'_append':function(_0x53ed8f){const _0x4951c8=_0x37a633;typeof _0x53ed8f=='string'&&(_0x53ed8f=_0x4405dc[_0x4951c8(0x40f)](_0x53ed8f)),this[_0x4951c8(0x1d9)][_0x4951c8(0x1e4)](_0x53ed8f),this['_nDataBytes']+=_0x53ed8f[_0x4951c8(0x2a7)];},'_process':function(_0xeaaaae){const _0x4458da=_0x37a633;var _0x57f9a6,_0x4192a5=this[_0x4458da(0x1d9)],_0x23afaa=_0x4192a5[_0x4458da(0x387)],_0x4ab1e1=_0x4192a5['sigBytes'],_0x28a603=this[_0x4458da(0x4a8)],_0x1f4f82=_0x28a603*0x4,_0x78aa98=_0x4ab1e1/_0x1f4f82;_0xeaaaae?_0x78aa98=_0x226f72[_0x4458da(0x30b)](_0x78aa98):_0x78aa98=_0x226f72[_0x4458da(0x3c0)]((_0x78aa98|0x0)-this[_0x4458da(0x3d5)],0x0);var _0x2c7ca6=_0x78aa98*_0x28a603,_0x59d87c=_0x226f72[_0x4458da(0x3d0)](_0x2c7ca6*0x4,_0x4ab1e1);if(_0x2c7ca6){for(var _0x5638cb=0x0;_0x5638cb<_0x2c7ca6;_0x5638cb+=_0x28a603)this[_0x4458da(0x1dd)](_0x23afaa,_0x5638cb);_0x57f9a6=_0x23afaa[_0x4458da(0x49b)](0x0,_0x2c7ca6),_0x4192a5[_0x4458da(0x2a7)]-=_0x59d87c;}return new _0x4c68cc[(_0x4458da(0x276))](_0x57f9a6,_0x59d87c);},'clone':function(){const _0x3fe9a2=_0x37a633;var _0x30513a=_0x76aa31['clone'][_0x3fe9a2(0x2e7)](this);return _0x30513a[_0x3fe9a2(0x1d9)]=this[_0x3fe9a2(0x1d9)][_0x3fe9a2(0x17d)](),_0x30513a;},'_minBufferSize':0x0});_0x176736[_0x37a633(0x159)]=_0x135f9e[_0x37a633(0x412)]({'cfg':_0x76aa31['extend'](),'init':function(_0x571722){const _0x43d9c4=_0x37a633;this[_0x43d9c4(0x13e)]=this[_0x43d9c4(0x13e)][_0x43d9c4(0x412)](_0x571722),this[_0x43d9c4(0x1e9)]();},'reset':function(){const _0x15a18e=_0x37a633;_0x135f9e[_0x15a18e(0x1e9)][_0x15a18e(0x2e7)](this),this[_0x15a18e(0x402)]();},'update':function(_0x4ee485){const _0x5999ab=_0x37a633;return this[_0x5999ab(0x434)](_0x4ee485),this['_process'](),this;},'finalize':function(_0x322d3b){_0x322d3b&&this['_append'](_0x322d3b);var _0x48e2f8=this['_doFinalize']();return _0x48e2f8;},'blockSize':0x10,'_createHelper':function(_0x1e854f){return function(_0x3933cf,_0x44dc89){const _0x196b8d=_0x4451;return new _0x1e854f[(_0x196b8d(0x276))](_0x44dc89)['finalize'](_0x3933cf);};},'_createHmacHelper':function(_0x3dcf31){return function(_0x3179ad,_0x1607a4){const _0x15168e=_0x4451;return new _0x5405d2[(_0x15168e(0x48a))][(_0x15168e(0x276))](_0x3dcf31,_0x1607a4)[_0x15168e(0x2a6)](_0x3179ad);};}});var _0x5405d2=_0x36bbb9[_0x37a633(0x155)]={};return _0x36bbb9;}(Math);return _0x1f6809;}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Bi(){const _0x9e68ea=_0xefeb96;return Js||(Js=0x1,function(_0x3133e3,_0x2336d0){(function(_0x39c233,_0x590bcc){const _0x55d90d=_0x4451;_0x3133e3[_0x55d90d(0x3e4)]=_0x590bcc(ue());}(Z,function(_0x34594f){const _0x3a3acf=_0x4451;return(function(){const _0x4e395e=_0x4451;var _0x27819b=_0x34594f,_0x39c9b7=_0x27819b['lib'],_0x23b743=_0x39c9b7['WordArray'],_0x36db55=_0x27819b['enc'];_0x36db55[_0x4e395e(0x4b6)]={'stringify':function(_0x455e90){const _0xf1641a=_0x4e395e;var _0x510b99=_0x455e90[_0xf1641a(0x387)],_0x23eeb6=_0x455e90['sigBytes'],_0x4d7eeb=this[_0xf1641a(0x360)];_0x455e90[_0xf1641a(0x3e6)]();for(var _0xa5d82f=[],_0xd1ef16=0x0;_0xd1ef16<_0x23eeb6;_0xd1ef16+=0x3)for(var _0x5c7bfe=_0x510b99[_0xd1ef16>>>0x2]>>>0x18-_0xd1ef16%0x4*0x8&0xff,_0xfbb908=_0x510b99[_0xd1ef16+0x1>>>0x2]>>>0x18-(_0xd1ef16+0x1)%0x4*0x8&0xff,_0x5982cb=_0x510b99[_0xd1ef16+0x2>>>0x2]>>>0x18-(_0xd1ef16+0x2)%0x4*0x8&0xff,_0x26d6f6=_0x5c7bfe<<0x10|_0xfbb908<<0x8|_0x5982cb,_0x1e9e8e=0x0;_0x1e9e8e<0x4&&_0xd1ef16+_0x1e9e8e*0.75<_0x23eeb6;_0x1e9e8e++)_0xa5d82f[_0xf1641a(0x477)](_0x4d7eeb[_0xf1641a(0x2ab)](_0x26d6f6>>>0x6*(0x3-_0x1e9e8e)&0x3f));var _0xdeefe2=_0x4d7eeb[_0xf1641a(0x2ab)](0x40);if(_0xdeefe2){for(;_0xa5d82f[_0xf1641a(0x46c)]%0x4;)_0xa5d82f[_0xf1641a(0x477)](_0xdeefe2);}return _0xa5d82f[_0xf1641a(0x1cd)]('');},'parse':function(_0x17e94f){const _0x1799b0=_0x4e395e;var _0x5de7f5=_0x17e94f['length'],_0x5f1bca=this['_map'],_0x3d74b8=this[_0x1799b0(0x244)];if(!_0x3d74b8){_0x3d74b8=this['_reverseMap']=[];for(var _0x346a07=0x0;_0x346a07<_0x5f1bca[_0x1799b0(0x46c)];_0x346a07++)_0x3d74b8[_0x5f1bca[_0x1799b0(0x222)](_0x346a07)]=_0x346a07;}var _0x49e8e2=_0x5f1bca['charAt'](0x40);if(_0x49e8e2){var _0x24f542=_0x17e94f[_0x1799b0(0x1b7)](_0x49e8e2);_0x24f542!==-0x1&&(_0x5de7f5=_0x24f542);}return _0x1e8f5d(_0x17e94f,_0x5de7f5,_0x3d74b8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1e8f5d(_0xd99882,_0x5ca331,_0x442e53){const _0x51acfe=_0x4e395e;for(var _0x5806bb=[],_0xe524fa=0x0,_0x51b9df=0x0;_0x51b9df<_0x5ca331;_0x51b9df++)if(_0x51b9df%0x4){var _0x3a2dcf=_0x442e53[_0xd99882[_0x51acfe(0x222)](_0x51b9df-0x1)]<<_0x51b9df%0x4*0x2,_0x5a9945=_0x442e53[_0xd99882[_0x51acfe(0x222)](_0x51b9df)]>>>0x6-_0x51b9df%0x4*0x2,_0x4461a8=_0x3a2dcf|_0x5a9945;_0x5806bb[_0xe524fa>>>0x2]|=_0x4461a8<<0x18-_0xe524fa%0x4*0x8,_0xe524fa++;}return _0x23b743[_0x51acfe(0x3ae)](_0x5806bb,_0xe524fa);}}()),_0x34594f[_0x3a3acf(0x36b)]['Base64'];}));}(Vt)),Vt[_0x9e68ea(0x3e4)];}var Gt={'exports':{}},Zs;function Ma(){const _0x520410=_0xefeb96;return Zs||(Zs=0x1,function(_0x2759f2,_0x31e076){(function(_0x453a39,_0x4e0d03){const _0x2ad66d=_0x4451;_0x2759f2[_0x2ad66d(0x3e4)]=_0x4e0d03(ue());}(Z,function(_0x595f98){const _0x3ae975=_0x4451;return function(_0x4a03c1){const _0x393c18=_0x4451;var _0x40b181=_0x595f98,_0x16e2cb=_0x40b181['lib'],_0x12116a=_0x16e2cb[_0x393c18(0x3eb)],_0x4b63f7=_0x16e2cb['Hasher'],_0xd22ff7=_0x40b181[_0x393c18(0x155)],_0x2266ec=[];(function(){const _0x518a73=_0x393c18;for(var _0x446620=0x0;_0x446620<0x40;_0x446620++)_0x2266ec[_0x446620]=_0x4a03c1['abs'](_0x4a03c1[_0x518a73(0x3ef)](_0x446620+0x1))*0x100000000|0x0;}());var _0x824e2=_0xd22ff7[_0x393c18(0x223)]=_0x4b63f7[_0x393c18(0x412)]({'_doReset':function(){const _0x5d1380=_0x393c18;this[_0x5d1380(0x162)]=new _0x12116a[(_0x5d1380(0x276))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1e7408,_0x17ea04){const _0x232309=_0x393c18;for(var _0x3aaa66=0x0;_0x3aaa66<0x10;_0x3aaa66++){var _0x3d3e62=_0x17ea04+_0x3aaa66,_0x56e53d=_0x1e7408[_0x3d3e62];_0x1e7408[_0x3d3e62]=(_0x56e53d<<0x8|_0x56e53d>>>0x18)&0xff00ff|(_0x56e53d<<0x18|_0x56e53d>>>0x8)&0xff00ff00;}var _0x107dc5=this[_0x232309(0x162)]['words'],_0x4ffb65=_0x1e7408[_0x17ea04+0x0],_0xa109a3=_0x1e7408[_0x17ea04+0x1],_0x2e29af=_0x1e7408[_0x17ea04+0x2],_0x421981=_0x1e7408[_0x17ea04+0x3],_0x4b7e85=_0x1e7408[_0x17ea04+0x4],_0x445973=_0x1e7408[_0x17ea04+0x5],_0x443381=_0x1e7408[_0x17ea04+0x6],_0x370363=_0x1e7408[_0x17ea04+0x7],_0x3e0adf=_0x1e7408[_0x17ea04+0x8],_0x5608cd=_0x1e7408[_0x17ea04+0x9],_0x403a2d=_0x1e7408[_0x17ea04+0xa],_0x5c9173=_0x1e7408[_0x17ea04+0xb],_0x14e31e=_0x1e7408[_0x17ea04+0xc],_0x29ece1=_0x1e7408[_0x17ea04+0xd],_0x4fcd42=_0x1e7408[_0x17ea04+0xe],_0x1d4d4e=_0x1e7408[_0x17ea04+0xf],_0x2a28b1=_0x107dc5[0x0],_0x1559d2=_0x107dc5[0x1],_0x15dd71=_0x107dc5[0x2],_0x522440=_0x107dc5[0x3];_0x2a28b1=_0x516bbb(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x4ffb65,0x7,_0x2266ec[0x0]),_0x522440=_0x516bbb(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0xa109a3,0xc,_0x2266ec[0x1]),_0x15dd71=_0x516bbb(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x2e29af,0x11,_0x2266ec[0x2]),_0x1559d2=_0x516bbb(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x421981,0x16,_0x2266ec[0x3]),_0x2a28b1=_0x516bbb(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x4b7e85,0x7,_0x2266ec[0x4]),_0x522440=_0x516bbb(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x445973,0xc,_0x2266ec[0x5]),_0x15dd71=_0x516bbb(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x443381,0x11,_0x2266ec[0x6]),_0x1559d2=_0x516bbb(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x370363,0x16,_0x2266ec[0x7]),_0x2a28b1=_0x516bbb(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x3e0adf,0x7,_0x2266ec[0x8]),_0x522440=_0x516bbb(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x5608cd,0xc,_0x2266ec[0x9]),_0x15dd71=_0x516bbb(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x403a2d,0x11,_0x2266ec[0xa]),_0x1559d2=_0x516bbb(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x5c9173,0x16,_0x2266ec[0xb]),_0x2a28b1=_0x516bbb(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x14e31e,0x7,_0x2266ec[0xc]),_0x522440=_0x516bbb(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x29ece1,0xc,_0x2266ec[0xd]),_0x15dd71=_0x516bbb(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x4fcd42,0x11,_0x2266ec[0xe]),_0x1559d2=_0x516bbb(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x1d4d4e,0x16,_0x2266ec[0xf]),_0x2a28b1=_0x2de764(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0xa109a3,0x5,_0x2266ec[0x10]),_0x522440=_0x2de764(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x443381,0x9,_0x2266ec[0x11]),_0x15dd71=_0x2de764(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x5c9173,0xe,_0x2266ec[0x12]),_0x1559d2=_0x2de764(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x4ffb65,0x14,_0x2266ec[0x13]),_0x2a28b1=_0x2de764(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x445973,0x5,_0x2266ec[0x14]),_0x522440=_0x2de764(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x403a2d,0x9,_0x2266ec[0x15]),_0x15dd71=_0x2de764(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x1d4d4e,0xe,_0x2266ec[0x16]),_0x1559d2=_0x2de764(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x4b7e85,0x14,_0x2266ec[0x17]),_0x2a28b1=_0x2de764(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x5608cd,0x5,_0x2266ec[0x18]),_0x522440=_0x2de764(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x4fcd42,0x9,_0x2266ec[0x19]),_0x15dd71=_0x2de764(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x421981,0xe,_0x2266ec[0x1a]),_0x1559d2=_0x2de764(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x3e0adf,0x14,_0x2266ec[0x1b]),_0x2a28b1=_0x2de764(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x29ece1,0x5,_0x2266ec[0x1c]),_0x522440=_0x2de764(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x2e29af,0x9,_0x2266ec[0x1d]),_0x15dd71=_0x2de764(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x370363,0xe,_0x2266ec[0x1e]),_0x1559d2=_0x2de764(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x14e31e,0x14,_0x2266ec[0x1f]),_0x2a28b1=_0x55420c(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x445973,0x4,_0x2266ec[0x20]),_0x522440=_0x55420c(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x3e0adf,0xb,_0x2266ec[0x21]),_0x15dd71=_0x55420c(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x5c9173,0x10,_0x2266ec[0x22]),_0x1559d2=_0x55420c(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x4fcd42,0x17,_0x2266ec[0x23]),_0x2a28b1=_0x55420c(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0xa109a3,0x4,_0x2266ec[0x24]),_0x522440=_0x55420c(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x4b7e85,0xb,_0x2266ec[0x25]),_0x15dd71=_0x55420c(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x370363,0x10,_0x2266ec[0x26]),_0x1559d2=_0x55420c(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x403a2d,0x17,_0x2266ec[0x27]),_0x2a28b1=_0x55420c(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x29ece1,0x4,_0x2266ec[0x28]),_0x522440=_0x55420c(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x4ffb65,0xb,_0x2266ec[0x29]),_0x15dd71=_0x55420c(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x421981,0x10,_0x2266ec[0x2a]),_0x1559d2=_0x55420c(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x443381,0x17,_0x2266ec[0x2b]),_0x2a28b1=_0x55420c(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x5608cd,0x4,_0x2266ec[0x2c]),_0x522440=_0x55420c(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x14e31e,0xb,_0x2266ec[0x2d]),_0x15dd71=_0x55420c(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x1d4d4e,0x10,_0x2266ec[0x2e]),_0x1559d2=_0x55420c(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x2e29af,0x17,_0x2266ec[0x2f]),_0x2a28b1=_0x3e8eb4(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x4ffb65,0x6,_0x2266ec[0x30]),_0x522440=_0x3e8eb4(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x370363,0xa,_0x2266ec[0x31]),_0x15dd71=_0x3e8eb4(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x4fcd42,0xf,_0x2266ec[0x32]),_0x1559d2=_0x3e8eb4(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x445973,0x15,_0x2266ec[0x33]),_0x2a28b1=_0x3e8eb4(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x14e31e,0x6,_0x2266ec[0x34]),_0x522440=_0x3e8eb4(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x421981,0xa,_0x2266ec[0x35]),_0x15dd71=_0x3e8eb4(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x403a2d,0xf,_0x2266ec[0x36]),_0x1559d2=_0x3e8eb4(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0xa109a3,0x15,_0x2266ec[0x37]),_0x2a28b1=_0x3e8eb4(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x3e0adf,0x6,_0x2266ec[0x38]),_0x522440=_0x3e8eb4(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x1d4d4e,0xa,_0x2266ec[0x39]),_0x15dd71=_0x3e8eb4(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x443381,0xf,_0x2266ec[0x3a]),_0x1559d2=_0x3e8eb4(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x29ece1,0x15,_0x2266ec[0x3b]),_0x2a28b1=_0x3e8eb4(_0x2a28b1,_0x1559d2,_0x15dd71,_0x522440,_0x4b7e85,0x6,_0x2266ec[0x3c]),_0x522440=_0x3e8eb4(_0x522440,_0x2a28b1,_0x1559d2,_0x15dd71,_0x5c9173,0xa,_0x2266ec[0x3d]),_0x15dd71=_0x3e8eb4(_0x15dd71,_0x522440,_0x2a28b1,_0x1559d2,_0x2e29af,0xf,_0x2266ec[0x3e]),_0x1559d2=_0x3e8eb4(_0x1559d2,_0x15dd71,_0x522440,_0x2a28b1,_0x5608cd,0x15,_0x2266ec[0x3f]),_0x107dc5[0x0]=_0x107dc5[0x0]+_0x2a28b1|0x0,_0x107dc5[0x1]=_0x107dc5[0x1]+_0x1559d2|0x0,_0x107dc5[0x2]=_0x107dc5[0x2]+_0x15dd71|0x0,_0x107dc5[0x3]=_0x107dc5[0x3]+_0x522440|0x0;},'_doFinalize':function(){const _0xd4f1e4=_0x393c18;var _0x30c6ea=this['_data'],_0x3bb6ba=_0x30c6ea[_0xd4f1e4(0x387)],_0x589fba=this[_0xd4f1e4(0x47f)]*0x8,_0x3d1fe3=_0x30c6ea['sigBytes']*0x8;_0x3bb6ba[_0x3d1fe3>>>0x5]|=0x80<<0x18-_0x3d1fe3%0x20;var _0xea9019=_0x4a03c1['floor'](_0x589fba/0x100000000),_0x4fce43=_0x589fba;_0x3bb6ba[(_0x3d1fe3+0x40>>>0x9<<0x4)+0xf]=(_0xea9019<<0x8|_0xea9019>>>0x18)&0xff00ff|(_0xea9019<<0x18|_0xea9019>>>0x8)&0xff00ff00,_0x3bb6ba[(_0x3d1fe3+0x40>>>0x9<<0x4)+0xe]=(_0x4fce43<<0x8|_0x4fce43>>>0x18)&0xff00ff|(_0x4fce43<<0x18|_0x4fce43>>>0x8)&0xff00ff00,_0x30c6ea[_0xd4f1e4(0x2a7)]=(_0x3bb6ba[_0xd4f1e4(0x46c)]+0x1)*0x4,this['_process']();for(var _0x3f0ad7=this[_0xd4f1e4(0x162)],_0x2eec2c=_0x3f0ad7[_0xd4f1e4(0x387)],_0x306a99=0x0;_0x306a99<0x4;_0x306a99++){var _0x3ab20a=_0x2eec2c[_0x306a99];_0x2eec2c[_0x306a99]=(_0x3ab20a<<0x8|_0x3ab20a>>>0x18)&0xff00ff|(_0x3ab20a<<0x18|_0x3ab20a>>>0x8)&0xff00ff00;}return _0x3f0ad7;},'clone':function(){const _0x52704c=_0x393c18;var _0x57ee98=_0x4b63f7[_0x52704c(0x17d)]['call'](this);return _0x57ee98[_0x52704c(0x162)]=this[_0x52704c(0x162)][_0x52704c(0x17d)](),_0x57ee98;}});function _0x516bbb(_0x5e5f9f,_0x3af1fe,_0x172d3b,_0x589ac8,_0x16d4c0,_0x52989f,_0x4d0e52){var _0x484f6d=_0x5e5f9f+(_0x3af1fe&_0x172d3b|~_0x3af1fe&_0x589ac8)+_0x16d4c0+_0x4d0e52;return(_0x484f6d<<_0x52989f|_0x484f6d>>>0x20-_0x52989f)+_0x3af1fe;}function _0x2de764(_0x4b8765,_0x10db2c,_0x32c762,_0xda5695,_0x3f6ca3,_0x573c34,_0xda5860){var _0x751161=_0x4b8765+(_0x10db2c&_0xda5695|_0x32c762&~_0xda5695)+_0x3f6ca3+_0xda5860;return(_0x751161<<_0x573c34|_0x751161>>>0x20-_0x573c34)+_0x10db2c;}function _0x55420c(_0x426959,_0x39e100,_0x53121a,_0x48cd63,_0x24e890,_0x60ab84,_0xf2b83d){var _0x4cf492=_0x426959+(_0x39e100^_0x53121a^_0x48cd63)+_0x24e890+_0xf2b83d;return(_0x4cf492<<_0x60ab84|_0x4cf492>>>0x20-_0x60ab84)+_0x39e100;}function _0x3e8eb4(_0x26de79,_0x3efc2b,_0x42b13a,_0x4a9628,_0x966e79,_0x3005f0,_0x18a3ef){var _0x1290ef=_0x26de79+(_0x42b13a^(_0x3efc2b|~_0x4a9628))+_0x966e79+_0x18a3ef;return(_0x1290ef<<_0x3005f0|_0x1290ef>>>0x20-_0x3005f0)+_0x3efc2b;}_0x40b181['MD5']=_0x4b63f7['_createHelper'](_0x824e2),_0x40b181['HmacMD5']=_0x4b63f7[_0x393c18(0x3cb)](_0x824e2);}(Math),_0x595f98[_0x3ae975(0x223)];}));}(Gt)),Gt[_0x520410(0x3e4)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){return Qs||(Qs=0x1,function(_0x3b727b,_0x442d4e){(function(_0x1465f2,_0x3d6308){const _0x1d009d=_0x4451;_0x3b727b[_0x1d009d(0x3e4)]=_0x3d6308(ue());}(Z,function(_0x5b0988){const _0x1148ba=_0x4451;return(function(){const _0x3153ab=_0x4451;var _0x4d0bcf=_0x5b0988,_0x5062d5=_0x4d0bcf[_0x3153ab(0x30a)],_0x2b92f9=_0x5062d5[_0x3153ab(0x3eb)],_0x7ace93=_0x5062d5[_0x3153ab(0x159)],_0x6897f8=_0x4d0bcf['algo'],_0x4af977=[],_0x795fc8=_0x6897f8[_0x3153ab(0x280)]=_0x7ace93['extend']({'_doReset':function(){const _0x1bba8a=_0x3153ab;this[_0x1bba8a(0x162)]=new _0x2b92f9[(_0x1bba8a(0x276))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x591f20,_0x18e47f){const _0x4ba321=_0x3153ab;for(var _0xf5f6c0=this[_0x4ba321(0x162)][_0x4ba321(0x387)],_0x3eb8e2=_0xf5f6c0[0x0],_0x1ccd5c=_0xf5f6c0[0x1],_0x325cd8=_0xf5f6c0[0x2],_0x214b5c=_0xf5f6c0[0x3],_0x47419d=_0xf5f6c0[0x4],_0x2c5af6=0x0;_0x2c5af6<0x50;_0x2c5af6++){if(_0x2c5af6<0x10)_0x4af977[_0x2c5af6]=_0x591f20[_0x18e47f+_0x2c5af6]|0x0;else{var _0x3a49e9=_0x4af977[_0x2c5af6-0x3]^_0x4af977[_0x2c5af6-0x8]^_0x4af977[_0x2c5af6-0xe]^_0x4af977[_0x2c5af6-0x10];_0x4af977[_0x2c5af6]=_0x3a49e9<<0x1|_0x3a49e9>>>0x1f;}var _0xac5bef=(_0x3eb8e2<<0x5|_0x3eb8e2>>>0x1b)+_0x47419d+_0x4af977[_0x2c5af6];_0x2c5af6<0x14?_0xac5bef+=(_0x1ccd5c&_0x325cd8|~_0x1ccd5c&_0x214b5c)+0x5a827999:_0x2c5af6<0x28?_0xac5bef+=(_0x1ccd5c^_0x325cd8^_0x214b5c)+0x6ed9eba1:_0x2c5af6<0x3c?_0xac5bef+=(_0x1ccd5c&_0x325cd8|_0x1ccd5c&_0x214b5c|_0x325cd8&_0x214b5c)-0x70e44324:_0xac5bef+=(_0x1ccd5c^_0x325cd8^_0x214b5c)-0x359d3e2a,_0x47419d=_0x214b5c,_0x214b5c=_0x325cd8,_0x325cd8=_0x1ccd5c<<0x1e|_0x1ccd5c>>>0x2,_0x1ccd5c=_0x3eb8e2,_0x3eb8e2=_0xac5bef;}_0xf5f6c0[0x0]=_0xf5f6c0[0x0]+_0x3eb8e2|0x0,_0xf5f6c0[0x1]=_0xf5f6c0[0x1]+_0x1ccd5c|0x0,_0xf5f6c0[0x2]=_0xf5f6c0[0x2]+_0x325cd8|0x0,_0xf5f6c0[0x3]=_0xf5f6c0[0x3]+_0x214b5c|0x0,_0xf5f6c0[0x4]=_0xf5f6c0[0x4]+_0x47419d|0x0;},'_doFinalize':function(){const _0x38624a=_0x3153ab;var _0x5aef51=this['_data'],_0x3c2bd3=_0x5aef51['words'],_0xbd23af=this['_nDataBytes']*0x8,_0x9b3880=_0x5aef51['sigBytes']*0x8;return _0x3c2bd3[_0x9b3880>>>0x5]|=0x80<<0x18-_0x9b3880%0x20,_0x3c2bd3[(_0x9b3880+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xbd23af/0x100000000),_0x3c2bd3[(_0x9b3880+0x40>>>0x9<<0x4)+0xf]=_0xbd23af,_0x5aef51[_0x38624a(0x2a7)]=_0x3c2bd3['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x1fa788=_0x3153ab;var _0x35a03a=_0x7ace93['clone'][_0x1fa788(0x2e7)](this);return _0x35a03a['_hash']=this['_hash'][_0x1fa788(0x17d)](),_0x35a03a;}});_0x4d0bcf[_0x3153ab(0x280)]=_0x7ace93[_0x3153ab(0x1eb)](_0x795fc8),_0x4d0bcf[_0x3153ab(0x233)]=_0x7ace93[_0x3153ab(0x3cb)](_0x795fc8);}()),_0x5b0988[_0x1148ba(0x280)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},ei;function La(){const _0x51ada8=_0xefeb96;return ei||(ei=0x1,function(_0x2348d6,_0xdd014b){(function(_0xff1e84,_0xc3f389){_0x2348d6['exports']=_0xc3f389(ue());}(Z,function(_0x2ec65d){(function(){const _0x1f2ab0=_0x4451;var _0x244151=_0x2ec65d,_0xfe993=_0x244151[_0x1f2ab0(0x30a)],_0x424525=_0xfe993[_0x1f2ab0(0x3ac)],_0x23e5b9=_0x244151[_0x1f2ab0(0x36b)],_0x51c074=_0x23e5b9[_0x1f2ab0(0x492)],_0x2ee719=_0x244151['algo'];_0x2ee719[_0x1f2ab0(0x48a)]=_0x424525['extend']({'init':function(_0xaae7c8,_0x1c0f93){const _0x5523da=_0x1f2ab0;_0xaae7c8=this[_0x5523da(0x247)]=new _0xaae7c8[(_0x5523da(0x276))](),typeof _0x1c0f93==_0x5523da(0x38c)&&(_0x1c0f93=_0x51c074[_0x5523da(0x40f)](_0x1c0f93));var _0x2a2549=_0xaae7c8[_0x5523da(0x4a8)],_0x3d973e=_0x2a2549*0x4;_0x1c0f93[_0x5523da(0x2a7)]>_0x3d973e&&(_0x1c0f93=_0xaae7c8[_0x5523da(0x2a6)](_0x1c0f93)),_0x1c0f93[_0x5523da(0x3e6)]();for(var _0x8d609d=this['_oKey']=_0x1c0f93[_0x5523da(0x17d)](),_0x306795=this['_iKey']=_0x1c0f93[_0x5523da(0x17d)](),_0x4c7711=_0x8d609d[_0x5523da(0x387)],_0xbc99b9=_0x306795[_0x5523da(0x387)],_0x4b6d9a=0x0;_0x4b6d9a<_0x2a2549;_0x4b6d9a++)_0x4c7711[_0x4b6d9a]^=0x5c5c5c5c,_0xbc99b9[_0x4b6d9a]^=0x36363636;_0x8d609d[_0x5523da(0x2a7)]=_0x306795[_0x5523da(0x2a7)]=_0x3d973e,this[_0x5523da(0x1e9)]();},'reset':function(){const _0x370391=_0x1f2ab0;var _0xf36bd6=this[_0x370391(0x247)];_0xf36bd6['reset'](),_0xf36bd6['update'](this[_0x370391(0x27b)]);},'update':function(_0x214b4f){const _0x5d8267=_0x1f2ab0;return this[_0x5d8267(0x247)][_0x5d8267(0x1ec)](_0x214b4f),this;},'finalize':function(_0x5dad29){const _0x368ae3=_0x1f2ab0;var _0x5d2188=this[_0x368ae3(0x247)],_0x30f5d7=_0x5d2188[_0x368ae3(0x2a6)](_0x5dad29);_0x5d2188[_0x368ae3(0x1e9)]();var _0x3e14c7=_0x5d2188[_0x368ae3(0x2a6)](this[_0x368ae3(0x418)][_0x368ae3(0x17d)]()[_0x368ae3(0x1e4)](_0x30f5d7));return _0x3e14c7;}});}());}));}(zt)),zt[_0x51ada8(0x3e4)];}var ti;function ki(){return ti||(ti=0x1,function(_0x1dfac9,_0x21041d){(function(_0x5b67db,_0x306643,_0x33eb44){_0x1dfac9['exports']=_0x306643(ue(),xa(),La());}(Z,function(_0x2fbe88){const _0x40a92c=_0x4451;return(function(){const _0x1d12bd=_0x4451;var _0x5bd6a9=_0x2fbe88,_0xf00b8a=_0x5bd6a9[_0x1d12bd(0x30a)],_0x12c463=_0xf00b8a['Base'],_0x31ff83=_0xf00b8a['WordArray'],_0x474d1f=_0x5bd6a9[_0x1d12bd(0x155)],_0x10d3e7=_0x474d1f['MD5'],_0x44b663=_0x474d1f[_0x1d12bd(0x327)]=_0x12c463[_0x1d12bd(0x412)]({'cfg':_0x12c463[_0x1d12bd(0x412)]({'keySize':0x80/0x20,'hasher':_0x10d3e7,'iterations':0x1}),'init':function(_0x4c0e50){const _0x549cf2=_0x1d12bd;this[_0x549cf2(0x13e)]=this[_0x549cf2(0x13e)][_0x549cf2(0x412)](_0x4c0e50);},'compute':function(_0x547111,_0x4df392){const _0x315f6b=_0x1d12bd;for(var _0x589959,_0x5d9896=this[_0x315f6b(0x13e)],_0x402a58=_0x5d9896[_0x315f6b(0x1d2)][_0x315f6b(0x3ae)](),_0x323edd=_0x31ff83[_0x315f6b(0x3ae)](),_0x36b64d=_0x323edd[_0x315f6b(0x387)],_0x105710=_0x5d9896[_0x315f6b(0x11e)],_0x28d336=_0x5d9896[_0x315f6b(0x3e8)];_0x36b64d[_0x315f6b(0x46c)]<_0x105710;){_0x589959&&_0x402a58[_0x315f6b(0x1ec)](_0x589959),_0x589959=_0x402a58[_0x315f6b(0x1ec)](_0x547111)[_0x315f6b(0x2a6)](_0x4df392),_0x402a58['reset']();for(var _0x385965=0x1;_0x385965<_0x28d336;_0x385965++)_0x589959=_0x402a58[_0x315f6b(0x2a6)](_0x589959),_0x402a58[_0x315f6b(0x1e9)]();_0x323edd[_0x315f6b(0x1e4)](_0x589959);}return _0x323edd[_0x315f6b(0x2a7)]=_0x105710*0x4,_0x323edd;}});_0x5bd6a9['EvpKDF']=function(_0x479317,_0x1d9771,_0x4c62a2){const _0x3e087d=_0x1d12bd;return _0x44b663['create'](_0x4c62a2)[_0x3e087d(0x347)](_0x479317,_0x1d9771);};}()),_0x2fbe88[_0x40a92c(0x327)];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Wi(){return si||(si=0x1,function(_0x11ff2d,_0x1e58ca){(function(_0x114aff,_0x4f17ae,_0x3968b3){_0x11ff2d['exports']=_0x4f17ae(ue(),ki());}(Z,function(_0x2905f6){_0x2905f6['lib']['Cipher']||function(_0x2addbc){const _0x50beb8=_0x4451;var _0x2d8ea3=_0x2905f6,_0x5d2a4e=_0x2d8ea3[_0x50beb8(0x30a)],_0x25f4a3=_0x5d2a4e['Base'],_0x54e9a9=_0x5d2a4e[_0x50beb8(0x3eb)],_0x4d6b60=_0x5d2a4e['BufferedBlockAlgorithm'],_0x5ac3d1=_0x2d8ea3['enc'];_0x5ac3d1[_0x50beb8(0x492)];var _0xa9d07c=_0x5ac3d1['Base64'],_0x4cfb11=_0x2d8ea3[_0x50beb8(0x155)],_0x1a15af=_0x4cfb11[_0x50beb8(0x327)],_0x522ed5=_0x5d2a4e[_0x50beb8(0x299)]=_0x4d6b60['extend']({'cfg':_0x25f4a3[_0x50beb8(0x412)](),'createEncryptor':function(_0x5b48dd,_0x5b7c7e){const _0x534809=_0x50beb8;return this[_0x534809(0x3ae)](this[_0x534809(0x44f)],_0x5b48dd,_0x5b7c7e);},'createDecryptor':function(_0x568113,_0x5e04d3){const _0x2e5217=_0x50beb8;return this[_0x2e5217(0x3ae)](this[_0x2e5217(0x2aa)],_0x568113,_0x5e04d3);},'init':function(_0x5d5914,_0x2a616e,_0x1add08){const _0x1f69c0=_0x50beb8;this[_0x1f69c0(0x13e)]=this[_0x1f69c0(0x13e)][_0x1f69c0(0x412)](_0x1add08),this['_xformMode']=_0x5d5914,this['_key']=_0x2a616e,this[_0x1f69c0(0x1e9)]();},'reset':function(){const _0x402806=_0x50beb8;_0x4d6b60[_0x402806(0x1e9)]['call'](this),this['_doReset']();},'process':function(_0x3ca0b1){const _0x1737dd=_0x50beb8;return this[_0x1737dd(0x434)](_0x3ca0b1),this[_0x1737dd(0x1f7)]();},'finalize':function(_0x2b5f7e){const _0x4b467f=_0x50beb8;_0x2b5f7e&&this[_0x4b467f(0x434)](_0x2b5f7e);var _0x4eede7=this[_0x4b467f(0x15e)]();return _0x4eede7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x31c6ff(_0x2283c5){const _0x36571a=_0x4451;return typeof _0x2283c5==_0x36571a(0x38c)?_0x4d73dc:_0x52d195;}return function(_0x15f6b1){return{'encrypt':function(_0x283601,_0x36a47d,_0x50b9b9){return _0x31c6ff(_0x36a47d)['encrypt'](_0x15f6b1,_0x283601,_0x36a47d,_0x50b9b9);},'decrypt':function(_0x74fca8,_0x32aecc,_0x259e96){const _0x3ffecb=_0x4451;return _0x31c6ff(_0x32aecc)[_0x3ffecb(0x140)](_0x15f6b1,_0x74fca8,_0x32aecc,_0x259e96);}};};}())});_0x5d2a4e[_0x50beb8(0x20e)]=_0x522ed5[_0x50beb8(0x412)]({'_doFinalize':function(){const _0xb0b490=_0x50beb8;var _0xf33685=this[_0xb0b490(0x1f7)](!0x0);return _0xf33685;},'blockSize':0x1});var _0x3fb8e4=_0x2d8ea3[_0x50beb8(0x1a0)]={},_0x5bce69=_0x5d2a4e['BlockCipherMode']=_0x25f4a3[_0x50beb8(0x412)]({'createEncryptor':function(_0x5197b2,_0x31251c){const _0x1d2767=_0x50beb8;return this['Encryptor'][_0x1d2767(0x3ae)](_0x5197b2,_0x31251c);},'createDecryptor':function(_0x2d1974,_0x2008bb){const _0x55a1bd=_0x50beb8;return this[_0x55a1bd(0x463)][_0x55a1bd(0x3ae)](_0x2d1974,_0x2008bb);},'init':function(_0x51d8e8,_0x56fad6){this['_cipher']=_0x51d8e8,this['_iv']=_0x56fad6;}}),_0x49a93e=_0x3fb8e4[_0x50beb8(0x201)]=(function(){const _0x312c3f=_0x50beb8;var _0x38b386=_0x5bce69['extend']();_0x38b386[_0x312c3f(0x4ba)]=_0x38b386[_0x312c3f(0x412)]({'processBlock':function(_0x3175eb,_0x318021){const _0x434693=_0x312c3f;var _0x47e451=this[_0x434693(0x185)],_0x39fad7=_0x47e451['blockSize'];_0x2a50f8[_0x434693(0x2e7)](this,_0x3175eb,_0x318021,_0x39fad7),_0x47e451[_0x434693(0x1a2)](_0x3175eb,_0x318021),this[_0x434693(0x460)]=_0x3175eb[_0x434693(0x352)](_0x318021,_0x318021+_0x39fad7);}}),_0x38b386['Decryptor']=_0x38b386[_0x312c3f(0x412)]({'processBlock':function(_0x4e10e9,_0x5d861c){const _0x52efdb=_0x312c3f;var _0x3a56bf=this['_cipher'],_0x558fde=_0x3a56bf[_0x52efdb(0x4a8)],_0x46f6a3=_0x4e10e9[_0x52efdb(0x352)](_0x5d861c,_0x5d861c+_0x558fde);_0x3a56bf[_0x52efdb(0x3bf)](_0x4e10e9,_0x5d861c),_0x2a50f8[_0x52efdb(0x2e7)](this,_0x4e10e9,_0x5d861c,_0x558fde),this[_0x52efdb(0x460)]=_0x46f6a3;}});function _0x2a50f8(_0x5c062f,_0xf391be,_0x1993d6){var _0x526e5b,_0x477bcd=this['_iv'];_0x477bcd?(_0x526e5b=_0x477bcd,this['_iv']=_0x2addbc):_0x526e5b=this['_prevBlock'];for(var _0x10844a=0x0;_0x10844a<_0x1993d6;_0x10844a++)_0x5c062f[_0xf391be+_0x10844a]^=_0x526e5b[_0x10844a];}return _0x38b386;}()),_0x48b5c6=_0x2d8ea3[_0x50beb8(0x384)]={},_0x4f7ad1=_0x48b5c6[_0x50beb8(0x438)]={'pad':function(_0x9f1f71,_0x22509a){const _0x775ad0=_0x50beb8;for(var _0x342bcd=_0x22509a*0x4,_0x2306fa=_0x342bcd-_0x9f1f71[_0x775ad0(0x2a7)]%_0x342bcd,_0x4b4b8d=_0x2306fa<<0x18|_0x2306fa<<0x10|_0x2306fa<<0x8|_0x2306fa,_0x33cfe3=[],_0x4956a2=0x0;_0x4956a2<_0x2306fa;_0x4956a2+=0x4)_0x33cfe3['push'](_0x4b4b8d);var _0x3635c7=_0x54e9a9['create'](_0x33cfe3,_0x2306fa);_0x9f1f71[_0x775ad0(0x1e4)](_0x3635c7);},'unpad':function(_0x563817){const _0x5b0bb2=_0x50beb8;var _0x4916b0=_0x563817[_0x5b0bb2(0x387)][_0x563817[_0x5b0bb2(0x2a7)]-0x1>>>0x2]&0xff;_0x563817[_0x5b0bb2(0x2a7)]-=_0x4916b0;}};_0x5d2a4e['BlockCipher']=_0x522ed5[_0x50beb8(0x412)]({'cfg':_0x522ed5['cfg'][_0x50beb8(0x412)]({'mode':_0x49a93e,'padding':_0x4f7ad1}),'reset':function(){const _0x38dfaf=_0x50beb8;var _0x22b430;_0x522ed5[_0x38dfaf(0x1e9)][_0x38dfaf(0x2e7)](this);var _0x512908=this['cfg'],_0x1248aa=_0x512908['iv'],_0x58b6d5=_0x512908['mode'];this[_0x38dfaf(0x127)]==this['_ENC_XFORM_MODE']?_0x22b430=_0x58b6d5['createEncryptor']:(_0x22b430=_0x58b6d5[_0x38dfaf(0x284)],this[_0x38dfaf(0x3d5)]=0x1),this[_0x38dfaf(0x240)]&&this[_0x38dfaf(0x240)][_0x38dfaf(0x184)]==_0x22b430?this[_0x38dfaf(0x240)][_0x38dfaf(0x276)](this,_0x1248aa&&_0x1248aa[_0x38dfaf(0x387)]):(this[_0x38dfaf(0x240)]=_0x22b430[_0x38dfaf(0x2e7)](_0x58b6d5,this,_0x1248aa&&_0x1248aa[_0x38dfaf(0x387)]),this[_0x38dfaf(0x240)][_0x38dfaf(0x184)]=_0x22b430);},'_doProcessBlock':function(_0x9fee49,_0x3d58a2){const _0x2b9a7c=_0x50beb8;this[_0x2b9a7c(0x240)]['processBlock'](_0x9fee49,_0x3d58a2);},'_doFinalize':function(){const _0xb2d8d9=_0x50beb8;var _0x50e008,_0x2e329d=this[_0xb2d8d9(0x13e)][_0xb2d8d9(0x21a)];return this[_0xb2d8d9(0x127)]==this[_0xb2d8d9(0x44f)]?(_0x2e329d['pad'](this[_0xb2d8d9(0x1d9)],this[_0xb2d8d9(0x4a8)]),_0x50e008=this[_0xb2d8d9(0x1f7)](!0x0)):(_0x50e008=this[_0xb2d8d9(0x1f7)](!0x0),_0x2e329d[_0xb2d8d9(0x20a)](_0x50e008)),_0x50e008;},'blockSize':0x80/0x20});var _0x59f55d=_0x5d2a4e['CipherParams']=_0x25f4a3['extend']({'init':function(_0x5d155f){const _0x3b9f41=_0x50beb8;this[_0x3b9f41(0x361)](_0x5d155f);},'toString':function(_0x1a4d4e){const _0x578653=_0x50beb8;return(_0x1a4d4e||this[_0x578653(0x4ca)])[_0x578653(0x296)](this);}}),_0x7f0086=_0x2d8ea3[_0x50beb8(0x19d)]={},_0x288b1a=_0x7f0086[_0x50beb8(0x1fc)]={'stringify':function(_0x6ab47){const _0x2cfbfd=_0x50beb8;var _0x960436,_0x405640=_0x6ab47[_0x2cfbfd(0x3e3)],_0x36ec2f=_0x6ab47['salt'];return _0x36ec2f?_0x960436=_0x54e9a9['create']([0x53616c74,0x65645f5f])[_0x2cfbfd(0x1e4)](_0x36ec2f)[_0x2cfbfd(0x1e4)](_0x405640):_0x960436=_0x405640,_0x960436['toString'](_0xa9d07c);},'parse':function(_0x197d7d){const _0x148dde=_0x50beb8;var _0x5700cc,_0x17876c=_0xa9d07c[_0x148dde(0x40f)](_0x197d7d),_0x5e6300=_0x17876c[_0x148dde(0x387)];return _0x5e6300[0x0]==0x53616c74&&_0x5e6300[0x1]==0x65645f5f&&(_0x5700cc=_0x54e9a9[_0x148dde(0x3ae)](_0x5e6300[_0x148dde(0x352)](0x2,0x4)),_0x5e6300['splice'](0x0,0x4),_0x17876c[_0x148dde(0x2a7)]-=0x10),_0x59f55d[_0x148dde(0x3ae)]({'ciphertext':_0x17876c,'salt':_0x5700cc});}},_0x52d195=_0x5d2a4e[_0x50beb8(0x313)]=_0x25f4a3[_0x50beb8(0x412)]({'cfg':_0x25f4a3['extend']({'format':_0x288b1a}),'encrypt':function(_0x3862e5,_0x4656ea,_0x16db9c,_0x2fde60){const _0x868eef=_0x50beb8;_0x2fde60=this[_0x868eef(0x13e)][_0x868eef(0x412)](_0x2fde60);var _0x4a8eb0=_0x3862e5[_0x868eef(0x193)](_0x16db9c,_0x2fde60),_0x131c3e=_0x4a8eb0[_0x868eef(0x2a6)](_0x4656ea),_0x554b29=_0x4a8eb0['cfg'];return _0x59f55d[_0x868eef(0x3ae)]({'ciphertext':_0x131c3e,'key':_0x16db9c,'iv':_0x554b29['iv'],'algorithm':_0x3862e5,'mode':_0x554b29['mode'],'padding':_0x554b29[_0x868eef(0x21a)],'blockSize':_0x3862e5[_0x868eef(0x4a8)],'formatter':_0x2fde60[_0x868eef(0x19d)]});},'decrypt':function(_0x3ad052,_0xccd40e,_0x2ec47d,_0x3fe37f){const _0x33678e=_0x50beb8;_0x3fe37f=this[_0x33678e(0x13e)][_0x33678e(0x412)](_0x3fe37f),_0xccd40e=this[_0x33678e(0x270)](_0xccd40e,_0x3fe37f[_0x33678e(0x19d)]);var _0x26bfdf=_0x3ad052[_0x33678e(0x284)](_0x2ec47d,_0x3fe37f)[_0x33678e(0x2a6)](_0xccd40e[_0x33678e(0x3e3)]);return _0x26bfdf;},'_parse':function(_0x30d95b,_0x30531f){const _0x18b9ff=_0x50beb8;return typeof _0x30d95b==_0x18b9ff(0x38c)?_0x30531f[_0x18b9ff(0x40f)](_0x30d95b,this):_0x30d95b;}}),_0x5bd3b4=_0x2d8ea3['kdf']={},_0x2f1903=_0x5bd3b4[_0x50beb8(0x1fc)]={'execute':function(_0x45db3e,_0x29f9c7,_0x23adf3,_0x59c32c,_0x3a7e42){const _0x304fdf=_0x50beb8;if(_0x59c32c||(_0x59c32c=_0x54e9a9[_0x304fdf(0x268)](0x40/0x8)),_0x3a7e42)var _0x18852e=_0x1a15af[_0x304fdf(0x3ae)]({'keySize':_0x29f9c7+_0x23adf3,'hasher':_0x3a7e42})[_0x304fdf(0x347)](_0x45db3e,_0x59c32c);else var _0x18852e=_0x1a15af[_0x304fdf(0x3ae)]({'keySize':_0x29f9c7+_0x23adf3})[_0x304fdf(0x347)](_0x45db3e,_0x59c32c);var _0x5146ba=_0x54e9a9[_0x304fdf(0x3ae)](_0x18852e[_0x304fdf(0x387)][_0x304fdf(0x352)](_0x29f9c7),_0x23adf3*0x4);return _0x18852e[_0x304fdf(0x2a7)]=_0x29f9c7*0x4,_0x59f55d[_0x304fdf(0x3ae)]({'key':_0x18852e,'iv':_0x5146ba,'salt':_0x59c32c});}},_0x4d73dc=_0x5d2a4e['PasswordBasedCipher']=_0x52d195[_0x50beb8(0x412)]({'cfg':_0x52d195[_0x50beb8(0x13e)][_0x50beb8(0x412)]({'kdf':_0x2f1903}),'encrypt':function(_0x28d2a1,_0x2bccdc,_0x3dea91,_0x1ee3b1){const _0x23fcfb=_0x50beb8;_0x1ee3b1=this[_0x23fcfb(0x13e)][_0x23fcfb(0x412)](_0x1ee3b1);var _0x464f7e=_0x1ee3b1[_0x23fcfb(0x1b3)][_0x23fcfb(0x241)](_0x3dea91,_0x28d2a1[_0x23fcfb(0x11e)],_0x28d2a1['ivSize'],_0x1ee3b1['salt'],_0x1ee3b1[_0x23fcfb(0x1d2)]);_0x1ee3b1['iv']=_0x464f7e['iv'];var _0x5f6f8b=_0x52d195[_0x23fcfb(0xf8)][_0x23fcfb(0x2e7)](this,_0x28d2a1,_0x2bccdc,_0x464f7e[_0x23fcfb(0x342)],_0x1ee3b1);return _0x5f6f8b['mixIn'](_0x464f7e),_0x5f6f8b;},'decrypt':function(_0x103713,_0x21bc4d,_0x350251,_0x364019){const _0x4eee24=_0x50beb8;_0x364019=this['cfg'][_0x4eee24(0x412)](_0x364019),_0x21bc4d=this[_0x4eee24(0x270)](_0x21bc4d,_0x364019[_0x4eee24(0x19d)]);var _0x58c366=_0x364019[_0x4eee24(0x1b3)][_0x4eee24(0x241)](_0x350251,_0x103713[_0x4eee24(0x11e)],_0x103713['ivSize'],_0x21bc4d[_0x4eee24(0x373)],_0x364019['hasher']);_0x364019['iv']=_0x58c366['iv'];var _0x5c233b=_0x52d195[_0x4eee24(0x140)]['call'](this,_0x103713,_0x21bc4d,_0x58c366[_0x4eee24(0x342)],_0x364019);return _0x5c233b;}});}();}));}(qt)),qt['exports'];}(function(_0x11f0e2,_0x4096ae){(function(_0x2afb35,_0x36f00d,_0xd9ee9e){const _0x4fe4ad=_0x4451;_0x11f0e2[_0x4fe4ad(0x3e4)]=_0x36f00d(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x2c9683){const _0x5c861e=_0x4451;return(function(){const _0x31a0e0=_0x4451;var _0x57f676=_0x2c9683,_0x22d2a2=_0x57f676[_0x31a0e0(0x30a)],_0x2a6095=_0x22d2a2[_0x31a0e0(0x2c9)],_0x3750b2=_0x57f676[_0x31a0e0(0x155)],_0xcd22fc=[],_0x31afcd=[],_0x247b20=[],_0xf16f72=[],_0x326857=[],_0x3da38a=[],_0x7b088a=[],_0x6ec6a3=[],_0x263e18=[],_0x5cd873=[];(function(){for(var _0x367998=[],_0x49f78d=0x0;_0x49f78d<0x100;_0x49f78d++)_0x49f78d<0x80?_0x367998[_0x49f78d]=_0x49f78d<<0x1:_0x367998[_0x49f78d]=_0x49f78d<<0x1^0x11b;for(var _0x1b4fa7=0x0,_0x84ba68=0x0,_0x49f78d=0x0;_0x49f78d<0x100;_0x49f78d++){var _0x566980=_0x84ba68^_0x84ba68<<0x1^_0x84ba68<<0x2^_0x84ba68<<0x3^_0x84ba68<<0x4;_0x566980=_0x566980>>>0x8^_0x566980&0xff^0x63,_0xcd22fc[_0x1b4fa7]=_0x566980,_0x31afcd[_0x566980]=_0x1b4fa7;var _0x82e7b4=_0x367998[_0x1b4fa7],_0x22803a=_0x367998[_0x82e7b4],_0x1003c6=_0x367998[_0x22803a],_0x33a45c=_0x367998[_0x566980]*0x101^_0x566980*0x1010100;_0x247b20[_0x1b4fa7]=_0x33a45c<<0x18|_0x33a45c>>>0x8,_0xf16f72[_0x1b4fa7]=_0x33a45c<<0x10|_0x33a45c>>>0x10,_0x326857[_0x1b4fa7]=_0x33a45c<<0x8|_0x33a45c>>>0x18,_0x3da38a[_0x1b4fa7]=_0x33a45c;var _0x33a45c=_0x1003c6*0x1010101^_0x22803a*0x10001^_0x82e7b4*0x101^_0x1b4fa7*0x1010100;_0x7b088a[_0x566980]=_0x33a45c<<0x18|_0x33a45c>>>0x8,_0x6ec6a3[_0x566980]=_0x33a45c<<0x10|_0x33a45c>>>0x10,_0x263e18[_0x566980]=_0x33a45c<<0x8|_0x33a45c>>>0x18,_0x5cd873[_0x566980]=_0x33a45c,_0x1b4fa7?(_0x1b4fa7=_0x82e7b4^_0x367998[_0x367998[_0x367998[_0x1003c6^_0x82e7b4]]],_0x84ba68^=_0x367998[_0x367998[_0x84ba68]]):_0x1b4fa7=_0x84ba68=0x1;}}());var _0x5e5060=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x26b2b0=_0x3750b2[_0x31a0e0(0x332)]=_0x2a6095[_0x31a0e0(0x412)]({'_doReset':function(){const _0x13f5da=_0x31a0e0;var _0x306503;if(!(this[_0x13f5da(0x2ed)]&&this[_0x13f5da(0x13a)]===this[_0x13f5da(0x2a0)])){for(var _0x333cc1=this[_0x13f5da(0x13a)]=this[_0x13f5da(0x2a0)],_0xefa8f5=_0x333cc1[_0x13f5da(0x387)],_0x2e531a=_0x333cc1['sigBytes']/0x4,_0xf4f2e8=this['_nRounds']=_0x2e531a+0x6,_0x4160cb=(_0xf4f2e8+0x1)*0x4,_0x46d9e0=this[_0x13f5da(0x32a)]=[],_0x236146=0x0;_0x236146<_0x4160cb;_0x236146++)_0x236146<_0x2e531a?_0x46d9e0[_0x236146]=_0xefa8f5[_0x236146]:(_0x306503=_0x46d9e0[_0x236146-0x1],_0x236146%_0x2e531a?_0x2e531a>0x6&&_0x236146%_0x2e531a==0x4&&(_0x306503=_0xcd22fc[_0x306503>>>0x18]<<0x18|_0xcd22fc[_0x306503>>>0x10&0xff]<<0x10|_0xcd22fc[_0x306503>>>0x8&0xff]<<0x8|_0xcd22fc[_0x306503&0xff]):(_0x306503=_0x306503<<0x8|_0x306503>>>0x18,_0x306503=_0xcd22fc[_0x306503>>>0x18]<<0x18|_0xcd22fc[_0x306503>>>0x10&0xff]<<0x10|_0xcd22fc[_0x306503>>>0x8&0xff]<<0x8|_0xcd22fc[_0x306503&0xff],_0x306503^=_0x5e5060[_0x236146/_0x2e531a|0x0]<<0x18),_0x46d9e0[_0x236146]=_0x46d9e0[_0x236146-_0x2e531a]^_0x306503);for(var _0xd8eadb=this[_0x13f5da(0x143)]=[],_0x5a2ca9=0x0;_0x5a2ca9<_0x4160cb;_0x5a2ca9++){var _0x236146=_0x4160cb-_0x5a2ca9;if(_0x5a2ca9%0x4)var _0x306503=_0x46d9e0[_0x236146];else var _0x306503=_0x46d9e0[_0x236146-0x4];_0x5a2ca9<0x4||_0x236146<=0x4?_0xd8eadb[_0x5a2ca9]=_0x306503:_0xd8eadb[_0x5a2ca9]=_0x7b088a[_0xcd22fc[_0x306503>>>0x18]]^_0x6ec6a3[_0xcd22fc[_0x306503>>>0x10&0xff]]^_0x263e18[_0xcd22fc[_0x306503>>>0x8&0xff]]^_0x5cd873[_0xcd22fc[_0x306503&0xff]];}}},'encryptBlock':function(_0x288d5a,_0x548f8c){const _0x4944d7=_0x31a0e0;this[_0x4944d7(0x3b9)](_0x288d5a,_0x548f8c,this[_0x4944d7(0x32a)],_0x247b20,_0xf16f72,_0x326857,_0x3da38a,_0xcd22fc);},'decryptBlock':function(_0xc946f5,_0x3a0139){const _0x31b044=_0x31a0e0;var _0x3f1458=_0xc946f5[_0x3a0139+0x1];_0xc946f5[_0x3a0139+0x1]=_0xc946f5[_0x3a0139+0x3],_0xc946f5[_0x3a0139+0x3]=_0x3f1458,this[_0x31b044(0x3b9)](_0xc946f5,_0x3a0139,this[_0x31b044(0x143)],_0x7b088a,_0x6ec6a3,_0x263e18,_0x5cd873,_0x31afcd);var _0x3f1458=_0xc946f5[_0x3a0139+0x1];_0xc946f5[_0x3a0139+0x1]=_0xc946f5[_0x3a0139+0x3],_0xc946f5[_0x3a0139+0x3]=_0x3f1458;},'_doCryptBlock':function(_0x40b5ed,_0x19d366,_0x83321e,_0x38e43e,_0x929ac,_0x80aeb2,_0x5b20d1,_0x44ccb3){const _0x57a6f7=_0x31a0e0;for(var _0x5b74c3=this[_0x57a6f7(0x2ed)],_0x31d3dd=_0x40b5ed[_0x19d366]^_0x83321e[0x0],_0x456b46=_0x40b5ed[_0x19d366+0x1]^_0x83321e[0x1],_0x3b7f0c=_0x40b5ed[_0x19d366+0x2]^_0x83321e[0x2],_0x2afc9a=_0x40b5ed[_0x19d366+0x3]^_0x83321e[0x3],_0x403cd4=0x4,_0x3015f9=0x1;_0x3015f9<_0x5b74c3;_0x3015f9++){var _0x4f6efd=_0x38e43e[_0x31d3dd>>>0x18]^_0x929ac[_0x456b46>>>0x10&0xff]^_0x80aeb2[_0x3b7f0c>>>0x8&0xff]^_0x5b20d1[_0x2afc9a&0xff]^_0x83321e[_0x403cd4++],_0x56dbdc=_0x38e43e[_0x456b46>>>0x18]^_0x929ac[_0x3b7f0c>>>0x10&0xff]^_0x80aeb2[_0x2afc9a>>>0x8&0xff]^_0x5b20d1[_0x31d3dd&0xff]^_0x83321e[_0x403cd4++],_0x29773a=_0x38e43e[_0x3b7f0c>>>0x18]^_0x929ac[_0x2afc9a>>>0x10&0xff]^_0x80aeb2[_0x31d3dd>>>0x8&0xff]^_0x5b20d1[_0x456b46&0xff]^_0x83321e[_0x403cd4++],_0x3f11d8=_0x38e43e[_0x2afc9a>>>0x18]^_0x929ac[_0x31d3dd>>>0x10&0xff]^_0x80aeb2[_0x456b46>>>0x8&0xff]^_0x5b20d1[_0x3b7f0c&0xff]^_0x83321e[_0x403cd4++];_0x31d3dd=_0x4f6efd,_0x456b46=_0x56dbdc,_0x3b7f0c=_0x29773a,_0x2afc9a=_0x3f11d8;}var _0x4f6efd=(_0x44ccb3[_0x31d3dd>>>0x18]<<0x18|_0x44ccb3[_0x456b46>>>0x10&0xff]<<0x10|_0x44ccb3[_0x3b7f0c>>>0x8&0xff]<<0x8|_0x44ccb3[_0x2afc9a&0xff])^_0x83321e[_0x403cd4++],_0x56dbdc=(_0x44ccb3[_0x456b46>>>0x18]<<0x18|_0x44ccb3[_0x3b7f0c>>>0x10&0xff]<<0x10|_0x44ccb3[_0x2afc9a>>>0x8&0xff]<<0x8|_0x44ccb3[_0x31d3dd&0xff])^_0x83321e[_0x403cd4++],_0x29773a=(_0x44ccb3[_0x3b7f0c>>>0x18]<<0x18|_0x44ccb3[_0x2afc9a>>>0x10&0xff]<<0x10|_0x44ccb3[_0x31d3dd>>>0x8&0xff]<<0x8|_0x44ccb3[_0x456b46&0xff])^_0x83321e[_0x403cd4++],_0x3f11d8=(_0x44ccb3[_0x2afc9a>>>0x18]<<0x18|_0x44ccb3[_0x31d3dd>>>0x10&0xff]<<0x10|_0x44ccb3[_0x456b46>>>0x8&0xff]<<0x8|_0x44ccb3[_0x3b7f0c&0xff])^_0x83321e[_0x403cd4++];_0x40b5ed[_0x19d366]=_0x4f6efd,_0x40b5ed[_0x19d366+0x1]=_0x56dbdc,_0x40b5ed[_0x19d366+0x2]=_0x29773a,_0x40b5ed[_0x19d366+0x3]=_0x3f11d8;},'keySize':0x100/0x20});_0x57f676['AES']=_0x2a6095[_0x31a0e0(0x1eb)](_0x26b2b0);}()),_0x2c9683[_0x5c861e(0x332)];}));}(ji));var $a=ji['exports'];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x2b3e85,_0x36b4de){(function(_0x3a4475,_0x338e80){const _0x4c022b=_0x4451;_0x2b3e85[_0x4c022b(0x3e4)]=_0x338e80(ue());}(Z,function(_0x1e09f5){const _0x41071e=_0x4451;return _0x1e09f5[_0x41071e(0x36b)][_0x41071e(0x492)];}));}(Fi));var Ba=Fi['exports'];const ka=at(Ba);var Vi={'exports':{}};(function(_0x162d8c,_0x16701d){(function(_0x4e27a8,_0x17ff98){const _0x4621d9=_0x4451;_0x162d8c[_0x4621d9(0x3e4)]=_0x17ff98(ue());}(Z,function(_0x429244){const _0x1b9e00=_0x4451;return(function(){const _0x32454b=_0x4451;if(typeof ArrayBuffer==_0x32454b(0x274)){var _0x341860=_0x429244,_0x1159be=_0x341860[_0x32454b(0x30a)],_0x251da3=_0x1159be[_0x32454b(0x3eb)],_0x375d90=_0x251da3['init'],_0x192466=_0x251da3[_0x32454b(0x276)]=function(_0x2b44a3){const _0x2fb67f=_0x32454b;if(_0x2b44a3 instanceof ArrayBuffer&&(_0x2b44a3=new Uint8Array(_0x2b44a3)),(_0x2b44a3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2b44a3 instanceof Uint8ClampedArray||_0x2b44a3 instanceof Int16Array||_0x2b44a3 instanceof Uint16Array||_0x2b44a3 instanceof Int32Array||_0x2b44a3 instanceof Uint32Array||_0x2b44a3 instanceof Float32Array||_0x2b44a3 instanceof Float64Array)&&(_0x2b44a3=new Uint8Array(_0x2b44a3[_0x2fb67f(0x138)],_0x2b44a3[_0x2fb67f(0x2b6)],_0x2b44a3[_0x2fb67f(0x108)])),_0x2b44a3 instanceof Uint8Array){for(var _0x43617a=_0x2b44a3[_0x2fb67f(0x108)],_0x4f0130=[],_0x4f9ccd=0x0;_0x4f9ccd<_0x43617a;_0x4f9ccd++)_0x4f0130[_0x4f9ccd>>>0x2]|=_0x2b44a3[_0x4f9ccd]<<0x18-_0x4f9ccd%0x4*0x8;_0x375d90['call'](this,_0x4f0130,_0x43617a);}else _0x375d90[_0x2fb67f(0x24e)](this,arguments);};_0x192466[_0x32454b(0x43e)]=_0x251da3;}}()),_0x429244[_0x1b9e00(0x30a)][_0x1b9e00(0x3eb)];}));}(Vi));var Wa=Vi[_0xefeb96(0x3e4)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x1ec88b,_0x1decef){(function(_0x1abee5,_0x1776ac,_0x1580cc){_0x1ec88b['exports']=_0x1776ac(ue(),Wi());}(Z,function(_0x3be1eb){const _0x510866=_0x4451;return _0x3be1eb[_0x510866(0x384)][_0x510866(0x2fb)]={'pad':function(){},'unpad':function(){}},_0x3be1eb[_0x510866(0x384)][_0x510866(0x2fb)];}));}(Gi));var Va=Gi[_0xefeb96(0x3e4)];const Ga=at(Va);function Ya(_0x92e1e3,_0x32ed56){const _0x21cdb9=_0xefeb96,_0x4dca8f=_0x32ed56-_0x92e1e3['length']%_0x32ed56,_0x406784=String[_0x21cdb9(0x337)](_0x4dca8f)[_0x21cdb9(0x1b5)](_0x4dca8f);return _0x92e1e3+_0x406784;}function Ka(_0x199a5d,_0x266697){const _0xef67f2=_0xefeb96,_0x8950a8=Fa[_0xef67f2(0x268)](0x10),_0x19125f=Ya(_0x199a5d,0x10),_0x1a13b2=Ha[_0xef67f2(0xf8)](ka[_0xef67f2(0x40f)](_0x19125f),ii[_0xef67f2(0x40f)](_0x266697),{'iv':_0x8950a8,'padding':Ga});return _0x8950a8[_0xef67f2(0x1e4)](_0x1a13b2[_0xef67f2(0x3e3)])[_0xef67f2(0x3e7)](ii);}function za(){const _0x361e66=_0xefeb96,_0x751b93=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x361e66(0x4a0)];if(_0x751b93){const _0x4cbd1e={'time':Math[_0x361e66(0xe8)](Date['now']()/0x3e8),'domain':location[_0x361e66(0x2a3)]};return Ka(JSON[_0x361e66(0x296)](_0x4cbd1e),_0x751b93);}}var qa=Object[_0xefeb96(0x466)],Xa=Object['getOwnPropertyDescriptor'],Ja=(_0x40ea92,_0x2bff21,_0x5b50ee,_0xb24031)=>{const _0x142fde=_0xefeb96;for(var _0x1636f5=_0xb24031>0x1?void 0x0:_0xb24031?Xa(_0x2bff21,_0x5b50ee):_0x2bff21,_0x13f4f7=_0x40ea92[_0x142fde(0x46c)]-0x1,_0x1eb67f;_0x13f4f7>=0x0;_0x13f4f7--)(_0x1eb67f=_0x40ea92[_0x13f4f7])&&(_0x1636f5=(_0xb24031?_0x1eb67f(_0x2bff21,_0x5b50ee,_0x1636f5):_0x1eb67f(_0x1636f5))||_0x1636f5);return _0xb24031&&_0x1636f5&&qa(_0x2bff21,_0x5b50ee,_0x1636f5),_0x1636f5;},Za=(_0x2e643a,_0x4fd352)=>(_0x5ca2d8,_0x5be965)=>_0x4fd352(_0x5ca2d8,_0x5be965,_0x2e643a);let Tt=class{constructor(_0x143a3d){const _0x4a8e21=_0xefeb96;this[_0x4a8e21(0x2b0)]=_0x143a3d,this[_0x4a8e21(0x485)]();}[_0xefeb96(0x485)](){const _0x381a52=_0xefeb96;this[_0x381a52(0x2b0)][_0x381a52(0x3c7)]({'interceptor':(_0x146fbf,_0x50840d)=>{const _0xd6f38a=_0x381a52,_0x439168=_0x146fbf[_0xd6f38a(0x2b1)],_0x253962=za();return _0x253962&&_0x439168[_0xd6f38a(0xf2)](_0xd6f38a(0x2c7),_0x253962),_0x50840d(_0x146fbf);}});}};Tt=Ja([Za(0x0,_0x3099f4(_0x281aa7))],Tt);var Qa=Object['defineProperty'],ec=Object[_0xefeb96(0x336)],tc=(_0x4797f8,_0x50d0aa,_0x38ca83,_0x477dd7)=>{const _0xcbed51=_0xefeb96;for(var _0x21ece5=_0x477dd7>0x1?void 0x0:_0x477dd7?ec(_0x50d0aa,_0x38ca83):_0x50d0aa,_0x6d9f42=_0x4797f8[_0xcbed51(0x46c)]-0x1,_0x359c9a;_0x6d9f42>=0x0;_0x6d9f42--)(_0x359c9a=_0x4797f8[_0x6d9f42])&&(_0x21ece5=(_0x477dd7?_0x359c9a(_0x50d0aa,_0x38ca83,_0x21ece5):_0x359c9a(_0x21ece5))||_0x21ece5);return _0x477dd7&&_0x21ece5&&Qa(_0x50d0aa,_0x38ca83,_0x21ece5),_0x21ece5;},Xt=(_0x3f1d79,_0x41f2c7)=>(_0x34b583,_0x45ad98)=>_0x41f2c7(_0x34b583,_0x45ad98,_0x3f1d79);const sc=[_0xefeb96(0x14b),'image/jpeg',_0xefeb96(0x3f6),'image/gif',_0xefeb96(0x2a2)],ic=0x5*0x400*0x400,nc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rc=_0xefeb96(0x3bb),oc=_0xefeb96(0x1b8),ac=_0xefeb96(0x292);let hs=class{constructor(_0xd4a02f,_0x3160ce,_0x44bffd){const _0x27b78f=_0xefeb96;g(this,_0x27b78f(0x148),0x0),g(this,_0x27b78f(0x30e),new _0x17e316()),g(this,'change$',this[_0x27b78f(0x30e)]),g(this,_0x27b78f(0x324),new Map()),(this[_0x27b78f(0x2b0)]=_0xd4a02f,this[_0x27b78f(0x32b)]=_0x3160ce,this[_0x27b78f(0x214)]=_0x44bffd);}[_0xefeb96(0x359)](_0x358c04){const _0x3e555e=_0xefeb96;this[_0x3e555e(0x148)]=_0x358c04,this[_0x3e555e(0x30e)]['next'](_0x358c04);}[_0xefeb96(0x447)](_0x2accc7,_0x3887be){const _0x46a049=_0xefeb96;if(_0x3887be===_0x4bcfac[_0x46a049(0xee)]){const _0x17b57e=new Image();return _0x17b57e[_0x46a049(0x468)]=_0x2accc7,_0x17b57e;}return this[_0x46a049(0x324)]['get'](_0x2accc7);}['addImageSourceCache'](_0x13bd79,_0x5c954a,_0x2453c9){const _0x580fd8=_0xefeb96;_0x5c954a===_0x4bcfac[_0x580fd8(0xee)]||_0x2453c9==null||this[_0x580fd8(0x324)][_0x580fd8(0xf2)](_0x13bd79,_0x2453c9);}async[_0xefeb96(0x345)](_0x73d5e0){const _0x5988ed=_0xefeb96;try{const _0x4f80fa=this[_0x5988ed(0x4cc)](this['_getSignURL'](),''+_0x73d5e0),_0x146316=(await this['_httpService'][_0x5988ed(0x271)](_0x4f80fa))[_0x5988ed(0x3c8)];if(_0x146316['error']&&_0x146316[_0x5988ed(0x18c)][_0x5988ed(0x23b)]===Ri['OK']){const _0x431d84=new URL(_0x146316[_0x5988ed(0x202)],this[_0x5988ed(0x1d1)]())[_0x5988ed(0x3e7)]();return Promise[_0x5988ed(0x3c3)](_0x431d84);}return Promise[_0x5988ed(0xed)](_0x146316['error']);}catch(_0x94267f){return Promise[_0x5988ed(0xed)](_0x94267f);}}async['saveImage'](_0x5a898a){const _0x41e0a8=_0xefeb96;let _0x4336a3='';if(!sc['includes'](_0x5a898a['type']))return this['_decreaseWaiting'](),Promise[_0x41e0a8(0xed)](new Error(_0x69f6d2[_0x41e0a8(0x43f)]));if(_0x5a898a['size']>ic)return this[_0x41e0a8(0x111)](),Promise[_0x41e0a8(0xed)](new Error(_0x69f6d2['ERROR_EXCEED_SIZE']));try{const _0x492c2f=new FormData();_0x492c2f[_0x41e0a8(0x103)](_0x41e0a8(0x277),_0x5a898a);const _0x33ac70=this['_univerInstanceService'][_0x41e0a8(0x186)](),_0x3b32fd=_0x33ac70==null?void 0x0:_0x33ac70['getUnitId']();if(!_0x3b32fd)throw new Error(_0x41e0a8(0x285));const _0x312357=this['_getUploadFileURL']()+'?size='+_0x5a898a['size'][_0x41e0a8(0x3e7)]()+_0x41e0a8(0x101)+yi[_0x41e0a8(0x439)]+_0x41e0a8(0x41c)+encodeURIComponent(_0x3b32fd),_0x66252=await(await fetch(_0x312357,{'method':_0x41e0a8(0x18d),'body':_0x492c2f}))[_0x41e0a8(0x181)]();if(typeof _0x66252[_0x41e0a8(0x368)]!=_0x41e0a8(0x38c))return this[_0x41e0a8(0x111)](),Promise[_0x41e0a8(0xed)](new Error(_0x69f6d2['ERROR_IMAGE']));_0x4336a3=_0x66252['FileId'];}catch{return this[_0x41e0a8(0x111)](),Promise[_0x41e0a8(0xed)](new Error(_0x69f6d2[_0x41e0a8(0x18e)]));}return new Promise((_0x345273,_0x376add)=>{const _0x556da6=_0x41e0a8,_0x1f0184=new FileReader();_0x1f0184[_0x556da6(0x1c4)](_0x5a898a),_0x1f0184[_0x556da6(0x42f)]=_0x332268=>{const _0x1c133d=_0x556da6;var _0x3e31a3;const _0x11355e=(_0x3e31a3=_0x332268[_0x1c133d(0x160)])==null?void 0x0:_0x3e31a3[_0x1c133d(0x2c0)];if(_0x11355e==null){this['_decreaseWaiting'](),_0x376add(new Error(_0x69f6d2[_0x1c133d(0x18e)]));return;}const _0x177992=_0x4d0489[_0x1c133d(0xf5)](0x6);_0x345273({'imageId':_0x177992,'imageSourceType':_0x4bcfac[_0x1c133d(0x2e1)],'source':_0x4336a3,'base64Cache':_0x11355e,'status':_0x69f6d2[_0x1c133d(0x3ea)]}),this[_0x1c133d(0x111)]();};});}[_0xefeb96(0xf9)](){const _0x550f14=_0xefeb96;var _0x179561,_0x377280;const _0x1f50ff=this['_configService'][_0x550f14(0x188)](nc),_0x63689=this['_configService']['getConfig'](ie);return(_0x377280=(_0x179561=_0x63689==null?void 0x0:_0x63689[_0x550f14(0x19a)])!=null?_0x179561:_0x1f50ff)!=null?_0x377280:rc;}[_0xefeb96(0x212)](){const _0x420eb7=_0xefeb96;var _0x35c0fe,_0x43ef85;const _0x369e25=this['_configService']['getConfig'](oc),_0x2dc9bc=this[_0x420eb7(0x32b)][_0x420eb7(0x188)](ie);return(_0x43ef85=(_0x35c0fe=_0x2dc9bc==null?void 0x0:_0x2dc9bc['signUrlServerUrl'])!=null?_0x35c0fe:_0x369e25)!=null?_0x43ef85:ac;}[_0xefeb96(0x1d1)](){const _0x275c95=_0xefeb96;var _0x198d10;const _0x4412f9=this[_0x275c95(0x32b)][_0x275c95(0x188)](ie);return(_0x198d10=_0x4412f9==null?void 0x0:_0x4412f9[_0x275c95(0xfd)])!=null?_0x198d10:location[_0x275c95(0x441)];}[_0xefeb96(0x4cc)](_0x50fd14,_0x20b014){return _0x50fd14['replace']('{fileID}',_0x20b014);}['_decreaseWaiting'](){const _0x1b1a48=_0xefeb96;this['_waitCount']-=0x1,this[_0x1b1a48(0x30e)][_0x1b1a48(0x2f1)](this[_0x1b1a48(0x148)]);}};hs=tc([Xt(0x0,_0x3099f4(_0x281aa7)),Xt(0x1,_0x4ea3e2),Xt(0x2,_0x3099f4(_0x3ca09d))],hs);var cc=Object[_0xefeb96(0x466)],hc=Object[_0xefeb96(0x336)],lc=(_0x4d5159,_0x1c0a21,_0x3522e8,_0x28c870)=>{const _0x370e8c=_0xefeb96;for(var _0x44cfa0=_0x28c870>0x1?void 0x0:_0x28c870?hc(_0x1c0a21,_0x3522e8):_0x1c0a21,_0x142ca8=_0x4d5159[_0x370e8c(0x46c)]-0x1,_0x2a7bec;_0x142ca8>=0x0;_0x142ca8--)(_0x2a7bec=_0x4d5159[_0x142ca8])&&(_0x44cfa0=(_0x28c870?_0x2a7bec(_0x1c0a21,_0x3522e8,_0x44cfa0):_0x2a7bec(_0x44cfa0))||_0x44cfa0);return _0x28c870&&_0x44cfa0&&cc(_0x1c0a21,_0x3522e8,_0x44cfa0),_0x44cfa0;},Qe=(_0x38cb34,_0x2d45c4)=>(_0x402e2f,_0xa46283)=>_0x2d45c4(_0x402e2f,_0xa46283,_0x38cb34);let Rt=class extends _0x2f42db{constructor(_0x187264,_0x3d375a,_0x22c2e0,_0x373cb4,_0x15e6fe){const _0x5df073=_0xefeb96;super(),this[_0x5df073(0x269)]=_0x187264,this['_univerInstanceService']=_0x3d375a,this[_0x5df073(0x2fd)]=_0x22c2e0,this[_0x5df073(0x106)]=_0x373cb4,this[_0x5df073(0x312)]=_0x15e6fe,this['_initUnitPermissionChange'](),this[_0x5df073(0x1a7)]();}[_0xefeb96(0x1a7)](){const _0x20f789=_0xefeb96,_0x561c8b=async _0x10c99b=>{const _0x2b289c=_0x4451;(await this[_0x2b289c(0x106)][_0x2b289c(0x302)](_0x10c99b))['event$']['pipe'](_0x353c46(_0x44ec87=>_0x44ec87['eventID']===_0x3b2ff1[_0x2b289c(0x22b)]),_0x4c9419(this[_0x2b289c(0x18b)]))[_0x2b289c(0x2e2)](_0x37146a=>{const _0x3bfb33=_0x2b289c,_0x89d9a5=_0x37146a,{reason:_0x3c0a1f}=_0x89d9a5[_0x3bfb33(0x1f4)];this[_0x3bfb33(0x269)][_0x3bfb33(0x271)](_0x3480f5)['show']({'type':_0x336366[_0x3bfb33(0x132)],'content':this['_localeService']['t'](_0x3bfb33(0x44a))+'('+_0x3c0a1f+')'}),this[_0x3bfb33(0x2fd)][_0x3bfb33(0x131)](new _0x3b5145(_0x10c99b)['id'],!0x1),this[_0x3bfb33(0x106)][_0x3bfb33(0x2bf)](_0x10c99b);});};_0x1b8a05(this[_0x20f789(0x214)][_0x20f789(0x423)](_0x634e8e[_0x20f789(0x451)]),this[_0x20f789(0x214)][_0x20f789(0x423)](_0x634e8e['UNIVER_DOC']))[_0x20f789(0x272)](_0x348356(_0xc758f0=>_0xc758f0['getUnitId']()),_0x353c46(_0x2b4f46=>!_0x1f4ea9(_0x2b4f46)),_0x4c9419(this[_0x20f789(0x18b)]))[_0x20f789(0x2e2)](_0x6b1011=>{_0x561c8b(_0x6b1011);});}[_0xefeb96(0x157)](){const _0x4bdc08=_0xefeb96,_0x493db9=async _0x420d7f=>{const _0x5d852a=_0x4451;(await this[_0x5d852a(0x106)]['requireSession'](_0x420d7f))[_0x5d852a(0x2c3)][_0x5d852a(0x272)](_0x353c46(_0x22fe7d=>_0x22fe7d['eventID']===_0x3b2ff1[_0x5d852a(0x1c7)]),_0x4c9419(this['dispose$']))[_0x5d852a(0x2e2)](_0x38e5df=>{const _0x12649f=_0x5d852a,_0x123ec8=_0x38e5df,{objectId:_0x296e20}=_0x123ec8[_0x12649f(0x1f4)],_0x525896=this[_0x12649f(0x269)][_0x12649f(0x271)](_0x1315ea);_0x296e20===_0x420d7f?_0x525896[_0x12649f(0x398)](_0x420d7f):_0x525896[_0x12649f(0x156)](_0x420d7f,_0x296e20);});};_0x1b8a05(this[_0x4bdc08(0x214)][_0x4bdc08(0x423)](_0x634e8e['UNIVER_SHEET']),this[_0x4bdc08(0x214)]['getTypeOfUnitAdded$'](_0x634e8e[_0x4bdc08(0x4b4)]))[_0x4bdc08(0x272)](_0x348356(_0x415b71=>_0x415b71[_0x4bdc08(0xf6)]()),_0x353c46(_0x4edd15=>!_0x1f4ea9(_0x4edd15)),_0x4c9419(this[_0x4bdc08(0x18b)]))['subscribe'](_0x299ac8=>{_0x493db9(_0x299ac8);});}};Rt=lc([Qe(0x0,_0x3099f4(_0x3676c8)),Qe(0x1,_0x3ca09d),Qe(0x2,_0x2d8777),Qe(0x3,_0x3099f4(Ae)),Qe(0x4,_0x3099f4(_0x6eefec))],Rt);var _c=Object[_0xefeb96(0x466)],uc=Object[_0xefeb96(0x336)],dc=(_0x40f5a0,_0xc498e5,_0x1b9e9e,_0x57b302)=>{const _0x5a6c69=_0xefeb96;for(var _0x1c4c9c=_0x57b302>0x1?void 0x0:_0x57b302?uc(_0xc498e5,_0x1b9e9e):_0xc498e5,_0x53826b=_0x40f5a0[_0x5a6c69(0x46c)]-0x1,_0x13a0fb;_0x53826b>=0x0;_0x53826b--)(_0x13a0fb=_0x40f5a0[_0x53826b])&&(_0x1c4c9c=(_0x57b302?_0x13a0fb(_0xc498e5,_0x1b9e9e,_0x1c4c9c):_0x13a0fb(_0x1c4c9c))||_0x1c4c9c);return _0x57b302&&_0x1c4c9c&&_c(_0xc498e5,_0x1b9e9e,_0x1c4c9c),_0x1c4c9c;},ni=(_0x59d44d,_0x2b2278)=>(_0x4d7136,_0x445ae2)=>_0x2b2278(_0x4d7136,_0x445ae2,_0x59d44d);let ls=class{constructor(_0xb6ec4d,_0x40becd){const _0x505088=_0xefeb96;this[_0x505088(0x32b)]=_0xb6ec4d,this[_0x505088(0x2b0)]=_0x40becd;}async['getUnitOnRev'](_0x17c5d9,_0x13bb25){const _0x5b0148=_0xefeb96;var _0x405f65;const {unitID:_0x5439eb,type:_0x31c5cc,revision:_0x2c229f=0x0}=_0x13bb25,_0x2b5fa8=this[_0x5b0148(0x1dc)]()+'/'+_0x31c5cc+_0x5b0148(0x4cb)+_0x5439eb+'/rev/'+_0x2c229f,_0x46dd5f=(await this[_0x5b0148(0x2b0)]['get'](_0x2b5fa8))['body'],_0x5ac589=(_0x405f65=_0x46dd5f['snapshot'])==null?void 0x0:_0x405f65[_0x5b0148(0x2ef)];if(_0x5ac589){const _0x5f2951=_0x5ac589==null?void 0x0:_0x5ac589['originalMeta'],_0x59f98b=_0x3a0532[_0x5b0148(0x37b)](_0x4f7987(_0x5f2951));_0x5ac589[_0x5b0148(0x1f8)]=_0x59f98b,Object[_0x5b0148(0x349)](_0x5ac589['sheets'])[_0x5b0148(0x267)](([,_0x432c33])=>{const _0x495aa1=_0x5b0148,_0x572de6=_0x432c33['originalMeta'],_0x46a6da=_0x3a0532[_0x495aa1(0x37b)](_0x4f7987(_0x572de6));_0x432c33[_0x495aa1(0x1f8)]=_0x46a6da;});}return _0x46dd5f;}async[_0xefeb96(0x24f)](_0x1f1ba9,_0x21c470){const _0x3373b3=_0xefeb96,{unitID:_0x1b5823,type:_0x411e6c,blockID:_0x1d4d1e}=_0x21c470,_0x5700e1=this[_0x3373b3(0x42c)]()+'/'+_0x411e6c+'/unit/'+_0x1b5823+'/block/'+_0x1d4d1e;return(await this[_0x3373b3(0x2b0)]['get'](_0x5700e1))['body'];}async[_0xefeb96(0x4aa)](_0x5aea9c,_0x39bd78){const _0x2f58f8=_0xefeb96,{unitID:_0x27803c,type:_0x561c75,blockID:_0x426ef5}=_0x39bd78,_0x10aeef=this[_0x2f58f8(0x42c)]()+_0x2f58f8(0x2f3)+_0x561c75+_0x2f58f8(0x4cb)+_0x27803c+_0x2f58f8(0x2f3)+_0x426ef5;return(await this['_httpService']['get'](_0x10aeef))[_0x2f58f8(0x3c8)];}async['fetchMissingChangesets'](_0x32b6aa,_0x4f9d2f){const _0x485a4f=_0xefeb96,{unitID:_0x5ec79e,type:_0x4a306a,from:_0x55061d,to:_0x228dbc}=_0x4f9d2f,_0x2756fa=this[_0x485a4f(0x42c)]()+'/'+_0x4a306a+_0x485a4f(0x4cb)+_0x5ec79e+_0x485a4f(0x478)+_0x55061d+_0x485a4f(0x28c)+_0x228dbc;return(await this[_0x485a4f(0x2b0)][_0x485a4f(0x271)](_0x2756fa))['body'];}[_0xefeb96(0x1dc)](){const _0x481cd7=_0xefeb96;var _0x1dca9d;return(_0x1dca9d=this[_0x481cd7(0x32b)][_0x481cd7(0x188)](ar))!=null?_0x1dca9d:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0xca36b3=_0xefeb96;var _0x263711,_0x3d2551;const _0x5ba6ed=this[_0xca36b3(0x32b)][_0xca36b3(0x188)](rr),_0x179152=this[_0xca36b3(0x32b)][_0xca36b3(0x188)](ie);return(_0x3d2551=(_0x263711=_0x179152==null?void 0x0:_0x179152[_0xca36b3(0x4b7)])!=null?_0x263711:_0x5ba6ed)!=null?_0x3d2551:or;}async[_0xefeb96(0xe4)](_0x3953cc,_0x5e148a){const _0x3b2760=_0xefeb96,_0x44991f='/universer-api/snapshot/'+_0x5e148a[_0x3b2760(0x196)]+_0x3b2760(0x4cb)+_0x5e148a[_0x3b2760(0xdb)]+'/resources';return(await this[_0x3b2760(0x2b0)][_0x3b2760(0x271)](_0x44991f,{'params':{'resourceId':JSON[_0x3b2760(0x296)](_0x5e148a[_0x3b2760(0x442)])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xefeb96(0x137)](){const _0x3e2197=_0xefeb96;throw new Error(_0x3e2197(0x266));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xefeb96(0x249)](){const _0x3f0bef=_0xefeb96;throw new Error(_0x3f0bef(0x266));}['getLatestCsReqIdBySid'](){const _0xb68694=_0xefeb96;throw new Error(_0xb68694(0x266));}};ls=dc([ni(0x0,_0x4ea3e2),ni(0x1,_0x3099f4(_0x281aa7))],ls);var fc=Object[_0xefeb96(0x466)],vc=Object[_0xefeb96(0x336)],mc=(_0x162ecb,_0x515919,_0x336a89,_0x6fee2c)=>{const _0x8ff824=_0xefeb96;for(var _0x2075a7=_0x6fee2c>0x1?void 0x0:_0x6fee2c?vc(_0x515919,_0x336a89):_0x515919,_0x74d326=_0x162ecb[_0x8ff824(0x46c)]-0x1,_0x24b604;_0x74d326>=0x0;_0x74d326--)(_0x24b604=_0x162ecb[_0x74d326])&&(_0x2075a7=(_0x6fee2c?_0x24b604(_0x515919,_0x336a89,_0x2075a7):_0x24b604(_0x2075a7))||_0x2075a7);return _0x6fee2c&&_0x2075a7&&fc(_0x515919,_0x336a89,_0x2075a7),_0x2075a7;},et=(_0x516e95,_0x45562d)=>(_0x5256d0,_0x4f46b5)=>_0x45562d(_0x5256d0,_0x4f46b5,_0x516e95);let _s=class extends _0x5dbb05{constructor(_0x361959,_0x41a7b0,_0x3e1fde,_0x563843,_0x4a2c90){const _0x3a2a53=_0xefeb96;super(_0x361959,_0x41a7b0,_0x3e1fde),this[_0x3a2a53(0x3d8)]=_0x563843,this[_0x3a2a53(0x204)]=_0x4a2c90;}['transformUndoRedo'](_0x20223b,_0x4ff466){const _0x525bbe=_0xefeb96,_0x3f6ba8=this[_0x525bbe(0x123)](_0x20223b);if(_0x3f6ba8)try{const _0x3caf2a=this['_transformStack'](_0x3f6ba8,_0x4ff466);this[_0x525bbe(0x487)](_0x20223b,_0x3caf2a);}catch(_0x81967b){this[_0x525bbe(0x204)][_0x525bbe(0x18c)](_0x525bbe(0x4b0),_0x81967b),this['_clearUndo'](_0x20223b);}const _0x80d63a=this[_0x525bbe(0x4c2)](_0x20223b);if(_0x80d63a)try{const _0x1e47b8=this[_0x525bbe(0x4ce)](_0x80d63a,_0x4ff466);this[_0x525bbe(0x4b8)](_0x20223b,_0x1e47b8);}catch(_0x2b6bd4){this[_0x525bbe(0x204)][_0x525bbe(0x18c)](_0x2b6bd4),this['_clearRedo'](_0x20223b);}}[_0xefeb96(0x34d)](_0x381c5e){const _0x1facf5=_0xefeb96,_0x2d822b=this[_0x1facf5(0x123)](_0x381c5e);_0x2d822b&&(_0x2d822b[_0x1facf5(0x46c)]=0x0,this['_updateStatus']());}[_0xefeb96(0x2dd)](_0x27bab4){const _0x4d31c5=_0xefeb96,_0x2e741=this[_0x4d31c5(0x4c2)](_0x27bab4);_0x2e741&&(_0x2e741[_0x4d31c5(0x46c)]=0x0,this[_0x4d31c5(0x275)]());}[_0xefeb96(0x487)](_0x4c361f,_0xa781c7){const _0x58498f=_0xefeb96;this[_0x58498f(0x218)]['set'](_0x4c361f,_0xa781c7),this[_0x58498f(0x275)]();}[_0xefeb96(0x4b8)](_0x21c124,_0x3a4ff2){const _0x923bc4=_0xefeb96;this[_0x923bc4(0x231)]['set'](_0x21c124,_0x3a4ff2),this[_0x923bc4(0x275)]();}[_0xefeb96(0x4ce)](_0x5c7b5e,_0x1be332){const _0x1563d3=_0xefeb96,_0x4d68dc=[];let _0x1027d5=_0x1be332,_0x1c75c9=_0x1be332;for(let _0x47478a=_0x5c7b5e['length']-0x1;_0x47478a>=0x0;_0x47478a--){const {unitID:_0x5d776e,undoMutations:_0x127ed4,redoMutations:_0x33d99e}=_0x5c7b5e[_0x47478a],_0x2f45fa=this[_0x1563d3(0x3d8)][_0x1563d3(0x40e)](_0x1027d5,_0x127ed4),_0x3dbbcd=this['_transformService']['transformMutationsWithChangeset'](_0x1c75c9,_0x33d99e);if(_0x227a64(_0x2f45fa)||_0x227a64(_0x3dbbcd)){this['_logService']['error'](_0x1563d3(0x4b0),_0x1563d3(0x3dc),_0x2f45fa,_0x3dbbcd);break;}_0x1027d5=_0x2f45fa[_0x1563d3(0x2db)],_0x1c75c9=_0x3dbbcd['c1Prime'],_0x4d68dc[_0x1563d3(0x477)]({'unitID':_0x5d776e,'undoMutations':_0x2f45fa[_0x1563d3(0x3f7)],'redoMutations':_0x3dbbcd[_0x1563d3(0x3f7)]});}return _0x4d68dc['reverse']();}};_s=mc([et(0x0,_0x3ca09d),et(0x1,_0x45feb8),et(0x2,_0x1494b4),et(0x3,_0x5c28bd),et(0x4,_0x40d13a)],_s);class pc extends _0x2f42db{constructor(){const _0x5768b6=_0xefeb96;super(),g(this,'urlChange$'),this[_0x5768b6(0x409)]=_0x162ed6(window,_0x5768b6(0x3f3))['pipe'](_0x41a6cf(this[_0x5768b6(0x18b)]),_0x2881f3(0x1),_0x431d26(void 0x0));}[_0xefeb96(0x3b7)](_0x17996e,_0x4371b0,_0x4a72e4=!0x1){const _0x1cfea2=_0xefeb96,_0x1eb36b=new URL(window[_0x1cfea2(0x35f)]['href']);_0x1eb36b[_0x1cfea2(0x1c2)][_0x1cfea2(0xf2)](_0x17996e,_0x4371b0),_0x4a72e4?window['history'][_0x1cfea2(0x20b)]('','',_0x1eb36b['toString']()):window['history']['pushState']('','',_0x1eb36b[_0x1cfea2(0x3e7)]());}[_0xefeb96(0x3a6)](_0xdfe0a3,_0x2e69f4=!0x1){const _0x4b7017=_0xefeb96,_0x4acb37=new URL(window[_0x4b7017(0x35f)][_0x4b7017(0x33f)]);_0x4acb37[_0x4b7017(0x1c2)]['delete'](_0xdfe0a3),_0x2e69f4?window[_0x4b7017(0x31a)][_0x4b7017(0x20b)]('','',_0x4acb37[_0x4b7017(0x3e7)]()):window['history'][_0x4b7017(0x229)]('','',_0x4acb37[_0x4b7017(0x3e7)]());}[_0xefeb96(0x2e9)](_0x2f90a3){const _0x29c191=_0xefeb96;var _0x5bd883;return(_0x5bd883=new URL(window[_0x29c191(0x35f)][_0x29c191(0x33f)])[_0x29c191(0x1c2)]['get'](_0x2f90a3))!=null?_0x5bd883:void 0x0;}}var Yi=Object[_0xefeb96(0x466)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x1fac23,_0x2498ca,_0x1c59e0)=>_0x2498ca in _0x1fac23?Yi(_0x1fac23,_0x2498ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c59e0}):_0x1fac23[_0x2498ca]=_0x1c59e0,Ic=(_0x35e546,_0x41d596,_0x207ca8,_0x77bb7e)=>{const _0x420985=_0xefeb96;for(var _0x1a63cb=_0x77bb7e>0x1?void 0x0:_0x77bb7e?gc(_0x41d596,_0x207ca8):_0x41d596,_0x2223aa=_0x35e546[_0x420985(0x46c)]-0x1,_0x18dc75;_0x2223aa>=0x0;_0x2223aa--)(_0x18dc75=_0x35e546[_0x2223aa])&&(_0x1a63cb=(_0x77bb7e?_0x18dc75(_0x41d596,_0x207ca8,_0x1a63cb):_0x18dc75(_0x1a63cb))||_0x1a63cb);return _0x77bb7e&&_0x1a63cb&&Yi(_0x41d596,_0x207ca8,_0x1a63cb),_0x1a63cb;},_t=(_0xeab93,_0x286549)=>(_0x21d850,_0x1b532c)=>_0x286549(_0x21d850,_0x1b532c,_0xeab93),Cc=(_0x55b933,_0x55062e,_0x2aea54)=>Sc(_0x55b933,_0x55062e+'',_0x2aea54);const Ec=_0xefeb96(0x2ec);let us=class extends _0xa1ffef{constructor(_0x325e55=Er,_0x149877,_0x5d1c4e,_0x3baa47,_0x15bc4f){const _0x4fa40f=_0xefeb96;super(),this['_config']=_0x325e55,this[_0x4fa40f(0x204)]=_0x149877,this[_0x4fa40f(0x330)]=_0x5d1c4e,this[_0x4fa40f(0x269)]=_0x3baa47,this[_0x4fa40f(0x32b)]=_0x15bc4f;const {..._0x12e37a}=this['_config'];this[_0x4fa40f(0x32b)]['setConfig'](ie,_0x12e37a);}[_0xefeb96(0x26b)](){const _0x47001e=_0xefeb96;this[_0x47001e(0x1ff)](),this[_0x47001e(0x11c)]();}[_0xefeb96(0x37f)](){const _0x1348cd=_0xefeb96;_0x18a2e1(this[_0x1348cd(0x269)],[[Et]]);}[_0xefeb96(0x20f)](){const _0x56ebcd=_0xefeb96;this[_0x56ebcd(0x4bd)]();}['_registerDependencies'](){const _0x103e56=_0xefeb96;var _0x5dbfc1,_0x1f516c,_0x7cba46,_0x2bc49a;this['_injector']['has'](_0x277be1)&&this['_logService'][_0x103e56(0x18c)]('[UniverCollaborationClientPlugin]',_0x103e56(0x339));const _0xfc7869=[[_0x277be1,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x300491],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x1f516c=(_0x5dbfc1=this[_0x103e56(0x382)])==null?void 0x0:_0x5dbfc1[_0x103e56(0x4c5)])!=null?_0x1f516c:es}],[_0x45d794,{'useClass':ls}],[_0x5f2d19,{'useClass':cs}],[_0xb002a6,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x7cba46=this[_0x103e56(0x382)])!=null&&_0x7cba46[_0x103e56(0x195)]&&_0xfc7869[_0x103e56(0x477)]([yt,{'useClass':so}]),_0x38ffad(this[_0x103e56(0x269)],_0x388d33(_0xfc7869,(_0x2bc49a=this[_0x103e56(0x382)])==null?void 0x0:_0x2bc49a[_0x103e56(0x1b4)]));}[_0xefeb96(0x4bd)](){const _0x10cfd3=_0xefeb96;this[_0x10cfd3(0x2bb)](this[_0x10cfd3(0x330)][_0x10cfd3(0x294)](_0x634e8e[_0x10cfd3(0x4b4)],[os])),this[_0x10cfd3(0x2bb)](this[_0x10cfd3(0x330)][_0x10cfd3(0x294)](_0x634e8e['UNIVER_SHEET'],[as]));}[_0xefeb96(0x11c)](){const _0x3bf10d=_0xefeb96;var _0x391722,_0x177ffe;this[_0x3bf10d(0x269)][_0x3bf10d(0x271)](_0x281aa7)[_0x3bf10d(0x3c7)]({'priority':0x14,'interceptor':_0x2b8df1({'maxParallel':0x6})}),(_0x391722=this[_0x3bf10d(0x382)])!=null&&_0x391722[_0x3bf10d(0x19b)]||this[_0x3bf10d(0x269)]['get'](q)['disableLocalCache'](),(_0x177ffe=this['_config'])!=null&&_0x177ffe[_0x3bf10d(0x474)]&&_0x18a2e1(this[_0x3bf10d(0x269)],[[bt]]),_0x18a2e1(this['_injector'],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0xefeb96(0x2f5),Ec),us=Ic([_0x259825(_0x1c5737,_0x2af1f2),_t(0x1,_0x40d13a),_t(0x2,_0x25b6aa),_t(0x3,_0x3099f4(_0x3676c8)),_t(0x4,_0x4ea3e2)],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};
|