@univerjs-pro/collaboration-client 0.5.1-nightly.202412021606 → 0.5.1-nightly.202412031606
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/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x3a0f4f=_0x328b;(function(_0x51d4a4,_0x5309ec){const _0x39a9f4=_0x328b,_0x5ba67a=_0x51d4a4();while(!![]){try{const _0x57d0fd=parseInt(_0x39a9f4(0x133))/0x1+parseInt(_0x39a9f4(0x291))/0x2+-parseInt(_0x39a9f4(0x25e))/0x3+parseInt(_0x39a9f4(0x48a))/0x4*(parseInt(_0x39a9f4(0x3cd))/0x5)+-parseInt(_0x39a9f4(0x4eb))/0x6+parseInt(_0x39a9f4(0x148))/0x7+-parseInt(_0x39a9f4(0x48b))/0x8*(parseInt(_0x39a9f4(0x387))/0x9);if(_0x57d0fd===_0x5309ec)break;else _0x5ba67a['push'](_0x5ba67a['shift']());}catch(_0x49cd4b){_0x5ba67a['push'](_0x5ba67a['shift']());}}}(_0x4d89,0x7af0a));var cr=Object['defineProperty'],hr=(_0x3d4b2b,_0x137372,_0x445d3d)=>_0x137372 in _0x3d4b2b?cr(_0x3d4b2b,_0x137372,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x445d3d}):_0x3d4b2b[_0x137372]=_0x445d3d,g=(_0xc1e3a4,_0x4afcc9,_0x5d625c)=>hr(_0xc1e3a4,typeof _0x4afcc9!=_0x3a0f4f(0x485)?_0x4afcc9+'':_0x4afcc9,_0x5d625c);import{createIdentifier as _0x52afeb,Inject as _0x4a6309,Disposable as _0x27d038,DisposableCollection as _0x3d417d,toDisposable as _0x2ecc04,IConfigService as _0x1526c7,ILogService as _0x4c9627,UserManagerService as _0x582708,UniverInstanceType as _0x363a0b,IUniverInstanceService as _0x3dee00,LocaleService as _0x440b58,Optional as _0x4a0f17,RxDisposable as _0x5a2d55,Injector as _0x5b64e2,Tools as _0x1fb819,ILocalStorageService as _0x2053a5,Rectangle as _0x1c27f3,ICommandService as _0x21538e,DOC_RANGE_TYPE as _0x55dcfe,JSONX as _0x296537,CommandType as _0x49b017,IPermissionService as _0x344f08,IUndoRedoService as _0x28c671,sequenceExecute as _0x29c979,debounce as _0xcb384c,COLORS as _0x2d6316,ColorKit as _0x3b279d,ThemeService as _0x448a8c,fromEventSubject as _0x26e733,useDependency as _0xfa79ec,connectInjector as _0x499922,Workbook as _0xf3ae73,MentionType as _0x22d5ac,isInternalEditorID as _0x28d9be,LocalUndoRedoService as _0x1326ac,IContextService as _0x3b86f4,DependentOn as _0x5a5537,Plugin as _0x3fd3c3,touchDependencies as _0x63b439,IAuthzIoService as _0x233f24,IMentionIOService as _0xafb964,registerDependencies as _0x5d57bb,mergeOverrideWithDependencies as _0x448917}from'@univerjs/core';import{Subject as _0x4c5eca,merge as _0x4bd8ea,takeUntil as _0x2a292b,BehaviorSubject as _0x1f5fb9,distinctUntilChanged as _0x6e44bb,fromEvent as _0x14b582,ReplaySubject as _0x582b98,take as _0x448099,map as _0x43379f,shareReplay as _0xda1692,of as _0x1209b8,debounceTime as _0x33cff6,filter as _0x2ef7d0,switchMap as _0x774f7c,combineLatest as _0x1f0a7e,concatMap as _0x4eb465,mapTo as _0x5d7b6d}from'rxjs';import{map as _0x388f57,take as _0x25302b,filter as _0x3b2257,delay as _0x3b85e2,throttleTime as _0x261a1e,takeUntil as _0x548b51,switchMap as _0x3aed19}from'rxjs/operators';import{MessageType as _0x452c22,Tooltip as _0x53fdd5}from'@univerjs/design';import{HTTPService as _0x559bcb,WebSocketService as _0x20af59,MergeInterceptorFactory as _0x449f9a,HTTPRequest as _0x827a3c,UniverNetworkPlugin as _0x5be668,ThresholdInterceptorFactory as _0x3364e1}from'@univerjs/network';import{IBeforeCloseService as _0x26c3bd,IMessageService as _0x138b55,INotificationService as _0x300d21,useObservable as _0x251ac2,BuiltInUIPart as _0x58ba5e,IUIPartsService as _0x699dce}from'@univerjs/ui';import{CollaborationEvent as _0x256e72,parseChangesetToProtocol as _0x2c0a60,ISnapshotServerService as _0x53719c,isTransformMutationFailure as _0x2a1d0d,isTransformMutationsWithChangesetSuccess as _0x2f8575,ITransformService as _0x4a14e2,RevisionService as _0xf29fa,mapDocumentTypeToUniverType as _0xe3f7d,isTransformChangesetsSuccess as _0x55de42,CompressMutationService as _0x554187,parseProtocolChangeset as _0x16c578,SnapshotService as _0x22467d,textEncoder as _0x5bc419,b64DecodeUnicode as _0x58c36f,isTransformMutationsWithChangesetFailure as _0xec044a,UniverCollaborationPlugin as _0x31a0d0}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x58614f}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x2fa7fd,RichTextEditingMutation as _0x69a97a,SetTextSelectionsOperation as _0x245f97,DocSkeletonManagerService as _0x1264e8}from'@univerjs/docs';import{DocIMEInputManagerService as _0x290ae9,DocStateChangeManagerService as _0x35bc43,IDocClipboardService as _0x5c3a88,NodePositionConvertToCursor as _0x38a61f,NodePositionConvertToRectRange as _0x3b25fd,TEXT_RANGE_LAYER_INDEX as _0xafadfb,SetDocZoomRatioOperation as _0x2bbb9a}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x4552e3,SetSelectionsOperation as _0x7f4e83,InsertSheetMutation as _0x52f94d,EmptyMutation as _0x12dae3,WorkbookEditablePermission as _0x102f56,RefRangeService as _0x37083e,EffectRefRangId as _0x11147b,handleIRemoveRow as _0x12d629,handleIRemoveCol as _0x20eae7,handleMoveRange as _0x66ba6d,handleInsertRow as _0xda4b82,handleInsertRangeMoveRight as _0x570820,handleInsertRangeMoveDown as _0x53f45d,handleInsertCol as _0x19a0be,handleDeleteRangeMoveUp as _0x2c8df3,handleDeleteRangeMoveLeft as _0xa21f6,runRefRangeMutations as _0x506cc8,SetWorksheetActivateCommand as _0x57ba8}from'@univerjs/sheets';import{IRenderManagerService as _0xc1cbdc,Shape as _0x313cda,Rect as _0x37e84b,getColor as _0x515706,RegularPolygon as _0x3f7db3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x259977,Vector2 as _0x1cc9e8,SHEET_VIEWPORT_KEY as _0x1090ca}from'@univerjs/engine-render';import{IImageIoService as _0x543428,ImageSourceType as _0x32ea27,ImageUploadStatusType as _0x35a916}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x65a96d,serializeRangeWithSheet as _0x3da574}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x347524,getCoordByCell as _0x603ded,getSheetObject as _0x4a113b,SheetPermissionInitController as _0x5b108c}from'@univerjs/sheets-ui';import _0x2e372f,{forwardRef as _0x1c41dc,useRef as _0x32d833,createElement as _0x5436d0,useCallback as _0x2ab67b}from'react';import{IRemoteInstanceService as _0x3ca02d}from'@univerjs/rpc';const En=_0x3a0f4f(0x318),bn=_0x3a0f4f(0x50f),Tn=_0x3a0f4f(0x2ae),wh=_0x3a0f4f(0x3cc),Rn=0x7d0,On=_0x3a0f4f(0x50a),yn=_0x3a0f4f(0x247),wn=_0x3a0f4f(0x4bf),Dn=_0x3a0f4f(0x29a),Pn=0x7530,ki=_0x3a0f4f(0x422),Wi=0x4e20,Nn=0x4e20,Un=_0x3a0f4f(0x214),An=0x3,Mn=_0x3a0f4f(0x305),xn=0x3e8,Ln=_0x3a0f4f(0x381),$n=_0x3a0f4f(0x132),Hn='LOGIN_URL_KEY',jn=_0x3a0f4f(0x195);var Fi=(_0x2ea114=>(_0x2ea114[_0x2ea114['UNDEFINED']=0x0]=_0x3a0f4f(0x165),_0x2ea114[_0x2ea114['OK']=0x1]='OK',_0x2ea114[_0x2ea114['INTERNAL_ERROR']=0x2]=_0x3a0f4f(0x2c2),_0x2ea114[_0x2ea114['PERMISSION_DENIED']=0x3]=_0x3a0f4f(0x1c9),_0x2ea114[_0x2ea114['NOT_FOUND']=0x4]=_0x3a0f4f(0x151),_0x2ea114[_0x2ea114[_0x3a0f4f(0x19d)]=0x5]=_0x3a0f4f(0x19d),_0x2ea114[_0x2ea114[_0x3a0f4f(0x443)]=0x6]=_0x3a0f4f(0x443),_0x2ea114[_0x2ea114[_0x3a0f4f(0x27b)]=0x7]=_0x3a0f4f(0x27b),_0x2ea114[_0x2ea114['TOO_MANY_REQUESTS']=0x8]=_0x3a0f4f(0x3d7),_0x2ea114[_0x2ea114[_0x3a0f4f(0x493)]=0x9]=_0x3a0f4f(0x493),_0x2ea114[_0x2ea114['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2ea114[_0x2ea114[_0x3a0f4f(0x2a8)]=0x1771]=_0x3a0f4f(0x2a8),_0x2ea114[_0x2ea114[_0x3a0f4f(0x434)]=0x1772]=_0x3a0f4f(0x434),_0x2ea114[_0x2ea114[_0x3a0f4f(0x3a1)]=0x1773]=_0x3a0f4f(0x3a1),_0x2ea114[_0x2ea114[_0x3a0f4f(0x55c)]=0x1b59]=_0x3a0f4f(0x55c),_0x2ea114[_0x2ea114[_0x3a0f4f(0x4d5)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2ea114[_0x2ea114[_0x3a0f4f(0x36c)]=0x1b5b]=_0x3a0f4f(0x36c),_0x2ea114[_0x2ea114[_0x3a0f4f(0x460)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2ea114[_0x2ea114[_0x3a0f4f(0x46b)]=0x1b5d]=_0x3a0f4f(0x46b),_0x2ea114[_0x2ea114[_0x3a0f4f(0x1b9)]=0x1f41]=_0x3a0f4f(0x1b9),_0x2ea114[_0x2ea114['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3a0f4f(0x4b1),_0x2ea114[_0x2ea114[_0x3a0f4f(0x25d)]=0x232a]=_0x3a0f4f(0x25d),_0x2ea114[_0x2ea114[_0x3a0f4f(0x255)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2ea114[_0x2ea114[_0x3a0f4f(0x1cd)]=0x232c]=_0x3a0f4f(0x1cd),_0x2ea114[_0x2ea114[_0x3a0f4f(0x3f9)]=0x232d]=_0x3a0f4f(0x3f9),_0x2ea114[_0x2ea114['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3a0f4f(0x4dd),_0x2ea114[_0x2ea114[_0x3a0f4f(0x197)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2ea114[_0x2ea114[_0x3a0f4f(0x202)]=0x2713]=_0x3a0f4f(0x202),_0x2ea114[_0x2ea114[_0x3a0f4f(0x168)]=0x2714]=_0x3a0f4f(0x168),_0x2ea114[_0x2ea114[_0x3a0f4f(0x138)]=-0x1]='UNRECOGNIZED',_0x2ea114))(Fi||{}),ae=(_0x402696=>(_0x402696[_0x402696[_0x3a0f4f(0x364)]=0x0]=_0x3a0f4f(0x364),_0x402696[_0x402696[_0x3a0f4f(0x12b)]=0x1]=_0x3a0f4f(0x12b),_0x402696[_0x402696[_0x3a0f4f(0x12e)]=0x2]=_0x3a0f4f(0x12e),_0x402696[_0x402696[_0x3a0f4f(0x23c)]=0x3]=_0x3a0f4f(0x23c),_0x402696[_0x402696[_0x3a0f4f(0x212)]=0x4]=_0x3a0f4f(0x212),_0x402696[_0x402696[_0x3a0f4f(0x138)]=-0x1]='UNRECOGNIZED',_0x402696))(ae||{}),W=(_0x2c1f9e=>(_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x347)]=0x0]=_0x3a0f4f(0x347),_0x2c1f9e[_0x2c1f9e['HELLO']=0x1]='HELLO',_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x4dc)]=0x2]=_0x3a0f4f(0x4dc),_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x1f6)]=0x3]=_0x3a0f4f(0x1f6),_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x3a0)]=0x4]=_0x3a0f4f(0x3a0),_0x2c1f9e[_0x2c1f9e['HEARTBEAT']=0x5]=_0x3a0f4f(0x3c1),_0x2c1f9e[_0x2c1f9e['RECV']=0x6]=_0x3a0f4f(0x426),_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x138)]=-0x1]=_0x3a0f4f(0x138),_0x2c1f9e))(W||{}),Pe=(_0x480ea3=>(_0x480ea3[_0x480ea3['UNKNOWN_CODE']=0x0]=_0x3a0f4f(0x475),_0x480ea3[_0x480ea3['OK']=0x1]='OK',_0x480ea3[_0x480ea3['FAIL']=0x2]='FAIL',_0x480ea3[_0x480ea3[_0x3a0f4f(0x42d)]=0x3e9]=_0x3a0f4f(0x42d),_0x480ea3[_0x480ea3['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3a0f4f(0x24c),_0x480ea3[_0x480ea3[_0x3a0f4f(0x37d)]=0x3eb]=_0x3a0f4f(0x37d),_0x480ea3[_0x480ea3[_0x3a0f4f(0x4a2)]=0x3ec]=_0x3a0f4f(0x4a2),_0x480ea3[_0x480ea3[_0x3a0f4f(0x138)]=-0x1]=_0x3a0f4f(0x138),_0x480ea3))(Pe||{}),Vi=(_0x455863=>(_0x455863[_0x455863[_0x3a0f4f(0x1f8)]=0x0]=_0x3a0f4f(0x1f8),_0x455863[_0x455863['HttpImport']=0x1]='HttpImport',_0x455863[_0x455863[_0x3a0f4f(0x2bb)]=0x2]=_0x3a0f4f(0x2bb),_0x455863[_0x455863['UnitEmbedded']=0x3]=_0x3a0f4f(0x1cc),_0x455863[_0x455863[_0x3a0f4f(0x22e)]=0x4]=_0x3a0f4f(0x22e),_0x455863[_0x455863['UNRECOGNIZED']=-0x1]=_0x3a0f4f(0x138),_0x455863))(Vi||{});const Q=_0x3a0f4f(0x276),Bn={};function kn(_0x3d2935){const _0x265d65=_0x3a0f4f;var _0x77ef42,_0x426f15,_0x555604,_0x2fd5e8,_0x37d0a8;const _0x5af488=_0x3d2935[_0x265d65(0x13f)],_0x1024cb=JSON['parse'](_0x5af488);switch(_0x1024cb[_0x265d65(0x192)]){case W[_0x265d65(0x3c1)]:case W['HELLO']:{const _0x2eaf03=_0x1024cb[_0x265d65(0x51e)];return{..._0x1024cb,'data':_0x2eaf03,'cmd':_0x1024cb[_0x265d65(0x192)]};}case W[_0x265d65(0x4dc)]:{const _0x542196=_0x1024cb[_0x265d65(0x3a5)];return{..._0x1024cb,'data':_0x542196,'cmd':_0x1024cb[_0x265d65(0x192)]};}case W[_0x265d65(0x426)]:{const _0x457510=_0x1024cb['collaMsg'];switch(_0x457510[_0x265d65(0x416)]){case _0x256e72[_0x265d65(0x1a0)]:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x77ef42=_0x457510['permissionRejEvent'])==null?void 0x0:_0x77ef42['cs']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x260)]:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x426f15=_0x457510[_0x265d65(0x155)])==null?void 0x0:_0x426f15['cs']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72['NEW_CHANGESETS']:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x555604=_0x457510[_0x265d65(0x2be)])==null?void 0x0:_0x555604['cs']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72['CHANGESET_REJ']:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x2fd5e8=_0x457510['csRejEvent'])==null?void 0x0:_0x2fd5e8['cs']},'cmd':_0x1024cb['cmd']};case _0x256e72[_0x265d65(0x3bb)]:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x37d0a8=_0x457510[_0x265d65(0x12a)])==null?void 0x0:_0x37d0a8['cs']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x2dd)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x1a7)]},'cmd':_0x1024cb['cmd']};case _0x256e72[_0x265d65(0x199)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x217)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72['USERS_LEAVE']:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510['leaveEvent']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x519)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x23b)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x26e)]:case _0x256e72[_0x265d65(0x18c)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x256)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x1f2)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x23b)]},'cmd':_0x1024cb['cmd']};case _0x256e72[_0x265d65(0x3c3)]:return{..._0x1024cb,'data':_0x457510,'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72['COMMENT_UPDATE']:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x263)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x4e4)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x236)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x3bd)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x1a5)]},'cmd':_0x1024cb[_0x265d65(0x192)]};default:return _0x1024cb;}}default:return _0x1024cb;}}function Wn(_0x5b7b9a){const _0x5764b3=_0x3a0f4f;switch(_0x5b7b9a[_0x5764b3(0x192)]){case W[_0x5764b3(0x3c1)]:case W[_0x5764b3(0x2f1)]:return JSON[_0x5764b3(0x332)]({'cmd':_0x5b7b9a[_0x5764b3(0x192)],'routeKey':_0x5b7b9a['routeKey']});case W[_0x5764b3(0x3a0)]:{let _0x227ec3;switch(_0x5b7b9a['data'][_0x5764b3(0x416)]){case _0x256e72[_0x5764b3(0x2dd)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x2dd)],'updateCursorEvent':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72['USERS_LEAVE']:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x245)],'leaveEvent':_0x5b7b9a['data'][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x199)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x199)],'joinEvent':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x519)]:{_0x227ec3={'eventID':_0x256e72['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x18c)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x18c)],'liveShareOperation':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x1f2)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x1f2)],'liveShareTerminate':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x467)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x467)],'liveShareRequestHost':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x26e)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x26e)]};break;}default:_0x227ec3={'eventID':_0x5b7b9a[_0x5764b3(0x13f)]['eventID']};}return JSON[_0x5764b3(0x332)]({'cmd':_0x5b7b9a[_0x5764b3(0x192)],'routeKey':_0x5b7b9a[_0x5764b3(0x2d2)],'collaMsg':_0x227ec3});}case W['JOIN']:return JSON[_0x5764b3(0x332)]({'cmd':_0x5b7b9a[_0x5764b3(0x192)],'routeKey':_0x5b7b9a[_0x5764b3(0x2d2)],'joinReq':_0x5b7b9a[_0x5764b3(0x13f)]});case W['LEAVE']:return JSON[_0x5764b3(0x332)]({'cmd':_0x5b7b9a['cmd'],'routeKey':_0x5b7b9a[_0x5764b3(0x2d2)],'leaveReq':_0x5b7b9a[_0x5764b3(0x13f)]});default:throw new Error(_0x5764b3(0x2c9));}}var Fn=Object[_0x3a0f4f(0x40a)],Vn=Object[_0x3a0f4f(0x409)],Gn=(_0x2b8c68,_0x557494,_0x327f93,_0x5424c5)=>{const _0x14b2e0=_0x3a0f4f;for(var _0x38564b=_0x5424c5>0x1?void 0x0:_0x5424c5?Vn(_0x557494,_0x327f93):_0x557494,_0xb16b4a=_0x2b8c68[_0x14b2e0(0x312)]-0x1,_0x577e3e;_0xb16b4a>=0x0;_0xb16b4a--)(_0x577e3e=_0x2b8c68[_0xb16b4a])&&(_0x38564b=(_0x5424c5?_0x577e3e(_0x557494,_0x327f93,_0x38564b):_0x577e3e(_0x38564b))||_0x38564b);return _0x5424c5&&_0x38564b&&Fn(_0x557494,_0x327f93,_0x38564b),_0x38564b;},ze=(_0x31cb6a,_0x43d545)=>(_0x3c0d29,_0x496b68)=>_0x43d545(_0x3c0d29,_0x496b68,_0x31cb6a);const Gi=_0x52afeb(_0x3a0f4f(0x2ec));function Yn(_0x4c3c4c,_0x4077fc,_0x5810b9){const _0x44a555=_0x3a0f4f;return _0x4c3c4c+'/'+_0x4077fc+'/unit/'+_0x5810b9+_0x44a555(0x516);}let cs=class extends _0x27d038{constructor(_0x3f0059,_0x26a845,_0x97f5b7,_0x2f7d86,_0x1fe926){const _0x434c52=_0x3a0f4f;super(),this[_0x434c52(0x536)]=_0x3f0059,this[_0x434c52(0x53a)]=_0x26a845,this['_configService']=_0x97f5b7,this[_0x434c52(0x2d8)]=_0x2f7d86,this[_0x434c52(0x45b)]=_0x1fe926;}[_0x3a0f4f(0x2a9)](_0x1e72e7){const _0x15286d=_0x3a0f4f,_0xbbad86=this[_0x15286d(0x53a)][_0x15286d(0x2a9)](_0x1e72e7);if(!_0xbbad86)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x314076=new _0x3d417d(),_0x1ee333=new _0x4c5eca();_0x314076[_0x15286d(0x342)](_0xbbad86['close$'][_0x15286d(0x4f0)](_0x147bd6=>_0x1ee333['next'](_0x147bd6))),_0x314076[_0x15286d(0x342)](_0x2ecc04(()=>_0x1ee333['complete']()));const _0x548701=new _0x4c5eca();_0x314076['add'](_0xbbad86[_0x15286d(0x53c)][_0x15286d(0x4f0)](_0x7cef83=>_0x548701[_0x15286d(0x25c)](_0x7cef83))),_0x314076['add'](_0x2ecc04(()=>_0x548701[_0x15286d(0x221)]()));const _0x478f6d=new _0x4c5eca();_0x314076[_0x15286d(0x342)](_0xbbad86[_0x15286d(0x250)][_0x15286d(0x4f0)](_0x433b13=>{const _0x5ac636=kn(_0x433b13);_0x478f6d['next'](_0x5ac636);})),_0x314076[_0x15286d(0x342)](_0x2ecc04(()=>_0x478f6d['complete']()));let _0x304fca;const _0x23ecdd=()=>{const _0xf10ae9=_0x15286d;_0x548701[_0xf10ae9(0x25c)](new Event(_0xf10ae9(0x438))),_0x1ee333[_0xf10ae9(0x25c)](new CloseEvent(_0xf10ae9(0x438))),_0x304fca[_0xf10ae9(0x274)]();};return _0x304fca={'memberID':'','close$':_0x1ee333['asObservable'](),'error$':_0x548701[_0x15286d(0x3e7)](),'open$':_0xbbad86[_0x15286d(0x350)],'message$':_0x478f6d['asObservable'](),'send':_0x279271=>{const _0x4babf8=_0x15286d;if(_0x279271[_0x4babf8(0x192)]===W[_0x4babf8(0x3a0)]){if(_0x279271[_0x4babf8(0x13f)][_0x4babf8(0x416)]===_0x256e72['SUBMIT_CHANGESET']){this[_0x4babf8(0x129)](_0x304fca,_0x279271['data'])[_0x4babf8(0x47b)](_0xad6c20=>{const _0xd2a1ec=_0x4babf8;this[_0xd2a1ec(0x2d8)][_0xd2a1ec(0x34b)](_0xad6c20),_0x23ecdd();});return;}if(_0x279271[_0x4babf8(0x13f)][_0x4babf8(0x416)]===_0x256e72[_0x4babf8(0x26c)]){const _0x5837c0=_0x279271[_0x4babf8(0x13f)];this[_0x4babf8(0x45f)](_0x5837c0)[_0x4babf8(0x17e)](_0x4a3f5e=>{const _0x22510e=_0x4babf8;_0x478f6d[_0x22510e(0x25c)]({'cmd':W[_0x22510e(0x426)],'code':Pe['OK'],'routeKey':_0x5837c0[_0x22510e(0x13f)][_0x22510e(0x321)],'routeType':'','data':{'eventID':_0x256e72[_0x22510e(0x48c)],'data':{'changesets':_0x4a3f5e}}});})[_0x4babf8(0x47b)](_0x16b6bd=>{const _0xfc53a4=_0x4babf8;this[_0xfc53a4(0x2d8)][_0xfc53a4(0x34b)](_0x16b6bd),_0x23ecdd();});return;}}_0xbbad86[_0x4babf8(0x233)](Wn(_0x279271));},'close':()=>{const _0x42cfb7=_0x15286d;_0xbbad86[_0x42cfb7(0x274)](),_0x314076['dispose']();}},_0x304fca;}async['_submitChangeset'](_0x2c9976,_0x2af9f2){const _0xef1599=_0x3a0f4f;var _0x363906,_0x1c28ec;const {unitType:_0x2b8399,unitID:_0xcfcc66,changeset:_0x3f27e6}=_0x2af9f2[_0xef1599(0x13f)],_0x2fbbf1={'unitID':_0xcfcc66,'memberID':_0x2c9976[_0xef1599(0x11d)],'type':_0x2b8399,'changeset':_0x2c0a60(_0x3f27e6)},_0x2a39cc=this[_0xef1599(0x145)][_0xef1599(0x128)](Ln),_0x32a411=this['_configService'][_0xef1599(0x128)](Q),_0x1faaab=Yn((_0x1c28ec=(_0x363906=_0x32a411==null?void 0x0:_0x32a411[_0xef1599(0x43a)])!=null?_0x363906:_0x2a39cc)!=null?_0x1c28ec:$n,_0x2b8399,_0xcfcc66);try{await this['_http'][_0xef1599(0x4c3)](_0x1faaab,{'body':_0x2fbbf1});}catch(_0x438d56){throw this['_logService']['error']('[CollaborationSession]',_0xef1599(0x46a)),_0x438d56;}}async[_0x3a0f4f(0x45f)](_0x56d9fe){const _0x5532c0=_0x3a0f4f,{unitID:_0x4faa0a,from:_0x23d918,to:_0x59b5a5,unitType:_0x229ecb}=_0x56d9fe[_0x5532c0(0x13f)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4faa0a,'type':_0x229ecb,'from':_0x23d918,'to':_0x59b5a5}))[_0x5532c0(0x38e)];}};cs=Gn([ze(0x0,_0x4a6309(_0x559bcb)),ze(0x1,_0x4a6309(_0x20af59)),ze(0x2,_0x1526c7),ze(0x3,_0x4c9627),ze(0x4,_0x53719c)],cs);const Kn=_0x3a0f4f(0x144);function qn(_0x36c57c){const _0x1b0e80=_0x3a0f4f;return JSON[_0x1b0e80(0x332)](_0x36c57c)[_0x1b0e80(0x312)];}class Yi{constructor(){const _0x20c2ad=_0x3a0f4f;g(this,'_commentUpdate$',new _0x4c5eca()),g(this,_0x20c2ad(0x1be),this[_0x20c2ad(0x29f)][_0x20c2ad(0x3e7)]());}[_0x3a0f4f(0x1c2)](_0x1b339f){const _0x3c6a95=_0x3a0f4f;this[_0x3c6a95(0x29f)][_0x3c6a95(0x25c)](_0x1b339f);}}var zn=Object[_0x3a0f4f(0x40a)],Xn=Object[_0x3a0f4f(0x409)],Jn=(_0x2f5643,_0x2a94b8,_0x403de,_0x446489)=>{const _0x428c5e=_0x3a0f4f;for(var _0x392475=_0x446489>0x1?void 0x0:_0x446489?Xn(_0x2a94b8,_0x403de):_0x2a94b8,_0x3a4d0d=_0x2f5643[_0x428c5e(0x312)]-0x1,_0x34f87a;_0x3a4d0d>=0x0;_0x3a4d0d--)(_0x34f87a=_0x2f5643[_0x3a4d0d])&&(_0x392475=(_0x446489?_0x34f87a(_0x2a94b8,_0x403de,_0x392475):_0x34f87a(_0x392475))||_0x392475);return _0x446489&&_0x392475&&zn(_0x2a94b8,_0x403de,_0x392475),_0x392475;},Ks=(_0x57d127,_0x3880e7)=>(_0x24de9e,_0xb16c5a)=>_0x3880e7(_0x24de9e,_0xb16c5a,_0x57d127);let Me=class extends _0x27d038{constructor(_0x12d499,_0x117ff0){const _0x20b784=_0x3a0f4f;super(),g(this,'_roomMembers',new Map()),(this[_0x20b784(0x345)]=_0x12d499,this[_0x20b784(0x339)]=_0x117ff0,this['disposeWithMe'](_0x2ecc04(_0x4bd8ea(this[_0x20b784(0x345)]['getTypeOfUnitDisposed$'](_0x363a0b['UNIVER_SHEET'])[_0x20b784(0x2af)](_0x388f57(_0x2ed290=>_0x2ed290[_0x20b784(0x1eb)]())),this['_univerInstanceService'][_0x20b784(0x308)](_0x363a0b[_0x20b784(0x12b)])['pipe'](_0x388f57(_0x395d40=>_0x395d40['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x363a0b[_0x20b784(0x23c)])[_0x20b784(0x2af)](_0x388f57(_0xc0b371=>_0xc0b371[_0x20b784(0x1eb)]())))['subscribe'](_0x9a3fae=>this[_0x20b784(0x2de)](_0x9a3fae)))));}[_0x3a0f4f(0x435)](_0x37aac7){const _0x20f50e=_0x3a0f4f;this[_0x20f50e(0x339)]['setCurrentUser'](_0x37aac7);}[_0x3a0f4f(0x521)](){return this['_userManagerService']['getCurrentUser']();}[_0x3a0f4f(0x33c)](_0x4ad673,_0x590f28){const _0x43a6e7=_0x3a0f4f;let _0x3686c9=this[_0x43a6e7(0x19a)][_0x43a6e7(0x204)](_0x4ad673);_0x3686c9||(_0x3686c9=new Zn(),this[_0x43a6e7(0x19a)][_0x43a6e7(0x4d9)](_0x4ad673,_0x3686c9)),_0x3686c9[_0x43a6e7(0x33c)](_0x590f28);}['removeMember'](_0x3e0d23,_0x54bfb5){const _0x43ec2d=_0x3a0f4f,_0x4ec55b=this[_0x43ec2d(0x19a)][_0x43ec2d(0x204)](_0x3e0d23);_0x4ec55b&&_0x4ec55b[_0x43ec2d(0x243)](_0x54bfb5);}[_0x3a0f4f(0x3b7)](_0x40a7e5){const _0xcdd64e=_0x3a0f4f;return this[_0xcdd64e(0x19a)][_0xcdd64e(0x204)](_0x40a7e5);}['getMember'](_0x21e79d,_0x1aeecd){const _0x45065a=_0x3a0f4f,_0x473fa0=this[_0x45065a(0x19a)][_0x45065a(0x204)](_0x21e79d);if(_0x473fa0)return _0x473fa0[_0x45065a(0x4d3)](_0x1aeecd);}[_0x3a0f4f(0x2de)](_0x1e8e5c){const _0x219f62=_0x3a0f4f,_0x5d15b5=this['_roomMembers']['get'](_0x1e8e5c);_0x5d15b5&&(_0x5d15b5['dispose'](),this['_roomMembers'][_0x219f62(0x4d6)](_0x1e8e5c));}['dispose'](){const _0x134b14=_0x3a0f4f;this[_0x134b14(0x19a)][_0x134b14(0x444)](_0x190d42=>_0x190d42[_0x134b14(0x262)]()),this[_0x134b14(0x19a)][_0x134b14(0x319)]();}};Me=Jn([Ks(0x0,_0x3dee00),Ks(0x1,_0x4a6309(_0x582708))],Me);class Zn extends _0x27d038{constructor(){const _0x339ae7=_0x3a0f4f;super(...arguments),g(this,_0x339ae7(0x22c),new Map());}[_0x3a0f4f(0x262)](){const _0x50d3bd=_0x3a0f4f;this[_0x50d3bd(0x22c)][_0x50d3bd(0x319)]();}['updateMember'](_0x435c38){const _0x2550b0=_0x3a0f4f;this[_0x2550b0(0x22c)][_0x2550b0(0x4d9)](_0x435c38[_0x2550b0(0x11d)],_0x435c38);}['removeMember'](_0x344bcc){const _0x118e25=_0x3a0f4f;this[_0x118e25(0x22c)]['delete'](_0x344bcc);}['getMember'](_0x46ee34){const _0x564c22=_0x3a0f4f;return this[_0x564c22(0x22c)]['get'](_0x46ee34);}[_0x3a0f4f(0x2b4)](){const _0x158fc0=_0x3a0f4f;return Array[_0x158fc0(0x2ef)](this['_members'][_0x158fc0(0x3a9)]());}}var Qn=Object['defineProperty'],eo=Object['getOwnPropertyDescriptor'],to=(_0x3d8744,_0x256e74,_0x5e1c2c,_0x12cba2)=>{const _0x424bf9=_0x3a0f4f;for(var _0x40e5d7=_0x12cba2>0x1?void 0x0:_0x12cba2?eo(_0x256e74,_0x5e1c2c):_0x256e74,_0x218275=_0x3d8744[_0x424bf9(0x312)]-0x1,_0x378bbd;_0x218275>=0x0;_0x218275--)(_0x378bbd=_0x3d8744[_0x218275])&&(_0x40e5d7=(_0x12cba2?_0x378bbd(_0x256e74,_0x5e1c2c,_0x40e5d7):_0x378bbd(_0x40e5d7))||_0x40e5d7);return _0x12cba2&&_0x40e5d7&&Qn(_0x256e74,_0x5e1c2c,_0x40e5d7),_0x40e5d7;},Ee=(_0x210d70,_0x4a1769)=>(_0x4479fd,_0x204da3)=>_0x4a1769(_0x4479fd,_0x204da3,_0x210d70),fe=(_0x436065=>(_0x436065[_0x436065[_0x3a0f4f(0x179)]=0x0]=_0x3a0f4f(0x179),_0x436065[_0x436065[_0x3a0f4f(0x1ba)]=0x1]=_0x3a0f4f(0x1ba),_0x436065[_0x436065[_0x3a0f4f(0x275)]=0x2]=_0x3a0f4f(0x275),_0x436065[_0x436065[_0x3a0f4f(0x4a9)]=0x3]=_0x3a0f4f(0x4a9),_0x436065))(fe||{});const qs={[Pe['FAIL']]:_0x3a0f4f(0x1dd),[Pe['JOIN_ROOM_FULL']]:_0x3a0f4f(0x241),[Pe['JOIN_ROOM_NOT_EXISTS']]:_0x3a0f4f(0x29e),[Pe[_0x3a0f4f(0x37d)]]:_0x3a0f4f(0x1f9),[Pe[_0x3a0f4f(0x4a2)]]:_0x3a0f4f(0x445)};let hs=class extends _0x5a2d55{constructor(_0xb41bd2,_0x27a592,_0xc80e6d,_0x59db38,_0x4c999b,_0x1c0834,_0x2ca84d,_0x1de56e,_0x3e5955,_0x1c8cb7){const _0xa9f9e4=_0x3a0f4f;super(),g(this,'_sessionStatus$',new _0x1f5fb9(0x0)),g(this,_0xa9f9e4(0x517),this[_0xa9f9e4(0x1b2)][_0xa9f9e4(0x3e7)]()),g(this,'_event$',new _0x4c5eca()),g(this,_0xa9f9e4(0x2f7),this[_0xa9f9e4(0x141)][_0xa9f9e4(0x3e7)]()),g(this,_0xa9f9e4(0x370)),g(this,_0xa9f9e4(0x18e)),g(this,_0xa9f9e4(0x326)),g(this,'_shouldReportTelemetry',!0x1),g(this,'_telemetryInfo',null),(this[_0xa9f9e4(0x1ed)]=_0xb41bd2,this[_0xa9f9e4(0x2d8)]=_0xc80e6d,this[_0xa9f9e4(0x14c)]=_0x59db38,this['_messageService']=_0x4c999b,this[_0xa9f9e4(0x145)]=_0x1c0834,this['_localeService']=_0x2ca84d,this['_memberService']=_0x1de56e,this['_commentService']=_0x3e5955,this['_telemetryService']=_0x1c8cb7,this[_0xa9f9e4(0x323)]=!!this[_0xa9f9e4(0x1bc)],_0x27a592[_0xa9f9e4(0x2af)](_0x2a292b(this[_0xa9f9e4(0x220)]))[_0xa9f9e4(0x4f0)](_0x2d0c11=>{const _0x3e68a1=_0xa9f9e4;var _0x420695;typeof _0x2d0c11>'u'||(this[_0x3e68a1(0x370)]=_0x2d0c11,_0x2d0c11?(this[_0x3e68a1(0x377)](_0x2d0c11),this[_0x3e68a1(0x18e)]=_0x2d0c11[_0x3e68a1(0x250)][_0x3e68a1(0x4f0)](_0x108bf3=>{const _0x142d5a=_0x3e68a1;_0x108bf3['routeKey']===this['_unitID']&&this[_0x142d5a(0x3fc)](_0x108bf3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3e68a1(0x1b2)][_0x3e68a1(0x25c)](0x2),(_0x420695=this[_0x3e68a1(0x18e)])==null||_0x420695[_0x3e68a1(0x19e)](),this[_0x3e68a1(0x18e)]=null));}),this[_0xa9f9e4(0x49b)](this[_0xa9f9e4(0x14c)]['registerOnClose'](()=>{var _0x15c823;(_0x15c823=this['_socket'])==null||_0x15c823['send']({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x3a0f4f(0x19b)](){const _0x48cbf0=_0x3a0f4f;return this['_sessionStatus$'][_0x48cbf0(0x4c8)]();}[_0x3a0f4f(0x483)](){const _0x5316c3=_0x3a0f4f;var _0x2b5e87,_0x3ca773;return(_0x3ca773=(_0x2b5e87=this[_0x5316c3(0x370)])==null?void 0x0:_0x2b5e87['memberID'])!=null?_0x3ca773:null;}['dispose'](){const _0x5c806c=_0x3a0f4f;super[_0x5c806c(0x262)](),this[_0x5c806c(0x220)][_0x5c806c(0x25c)](),this[_0x5c806c(0x220)][_0x5c806c(0x221)]();}[_0x3a0f4f(0x274)](){const _0x1536d1=_0x3a0f4f;var _0x1d1bb1,_0x441fe1;this[_0x1536d1(0x35f)](),(_0x1d1bb1=this[_0x1536d1(0x370)])==null||_0x1d1bb1['send']({'cmd':W[_0x1536d1(0x1f6)],'data':{'roomID':this[_0x1536d1(0x1ed)]}}),(_0x441fe1=this['_socket'])==null||_0x441fe1[_0x1536d1(0x274)](),this[_0x1536d1(0x141)][_0x1536d1(0x221)](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x3a0f4f(0x3fc)](_0x2701d8){const _0xc2b17b=_0x3a0f4f;_0x2701d8[_0xc2b17b(0x192)]===W['JOIN']?this['_onJoinRoomEvent'](_0x2701d8):_0x2701d8[_0xc2b17b(0x192)]===W['RECV']&&this[_0xc2b17b(0x4bb)](_0x2701d8);}[_0x3a0f4f(0x377)](_0x52d32a){const _0x551ea4=_0x3a0f4f;this[_0x551ea4(0x1b2)][_0x551ea4(0x25c)](0x1),_0x52d32a[_0x551ea4(0x233)]({'cmd':W['JOIN'],'routeKey':this[_0x551ea4(0x1ed)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x3a0f4f(0x3e1)](_0x1da564){const _0x3acc3b=_0x3a0f4f;var _0x142f79;if(_0x1da564[_0x3acc3b(0x24d)]in qs){this[_0x3acc3b(0x510)][_0x3acc3b(0x4d8)]({'type':_0x452c22['Warning'],'content':this[_0x3acc3b(0x369)]['t'](qs[_0x1da564[_0x3acc3b(0x24d)]])}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x3acc3b(0x25c)](0x3);const _0xaa355=(_0x142f79=_0x1da564[_0x3acc3b(0x13f)][_0x3acc3b(0x184)][this[_0x3acc3b(0x1ed)]])==null?void 0x0:_0x142f79[_0x3acc3b(0x4d4)];_0xaa355&&_0xaa355[_0x3acc3b(0x444)](_0x179836=>this['_memberService'][_0x3acc3b(0x33c)](this[_0x3acc3b(0x1ed)],_0x179836));}[_0x3a0f4f(0x4bb)](_0x4c32e6){const _0x57ef81=_0x3a0f4f;try{const _0x37b211=_0x4c32e6['data'];switch(_0x37b211[_0x57ef81(0x416)]){case _0x256e72[_0x57ef81(0x199)]:this[_0x57ef81(0x1d7)](_0x37b211),this['_event$']['next'](_0x37b211);break;case _0x256e72[_0x57ef81(0x245)]:this[_0x57ef81(0x289)](_0x37b211),this[_0x57ef81(0x141)][_0x57ef81(0x25c)](_0x37b211);break;case _0x256e72[_0x57ef81(0x260)]:case _0x256e72[_0x57ef81(0x3bb)]:this[_0x57ef81(0x189)](),this[_0x57ef81(0x3da)](),this[_0x57ef81(0x141)][_0x57ef81(0x25c)](_0x37b211);break;case _0x256e72[_0x57ef81(0x3c3)]:this[_0x57ef81(0x2d8)][_0x57ef81(0x34b)](_0x57ef81(0x526)+JSON[_0x57ef81(0x332)](_0x37b211)),this[_0x57ef81(0x141)][_0x57ef81(0x25c)](_0x37b211);break;case _0x256e72['COMMENT_UPDATE']:this[_0x57ef81(0x213)][_0x57ef81(0x1c2)](_0x37b211[_0x57ef81(0x13f)]),this[_0x57ef81(0x141)][_0x57ef81(0x25c)](_0x37b211);break;default:this[_0x57ef81(0x141)]['next'](_0x37b211);}}catch(_0x769a54){this[_0x57ef81(0x2d8)][_0x57ef81(0x34b)](_0x769a54,_0x4c32e6);}}['_onUserJoin'](_0x359bfe){const _0x3cde42=_0x3a0f4f;this[_0x3cde42(0x2e8)][_0x3cde42(0x33c)](this[_0x3cde42(0x1ed)],_0x359bfe[_0x3cde42(0x13f)]);}[_0x3a0f4f(0x289)](_0x5dca52){const _0x51ffb0=_0x3a0f4f;this['_memberService'][_0x51ffb0(0x243)](this[_0x51ffb0(0x1ed)],_0x5dca52[_0x51ffb0(0x13f)][_0x51ffb0(0x11d)]);}async['send'](_0x1972c0,_0x244279){const _0x36a708=_0x3a0f4f;if(this[_0x36a708(0x19b)]!==0x3||!this[_0x36a708(0x370)])throw new Error(_0x36a708(0x301));try{_0x1972c0[_0x36a708(0x416)]===_0x256e72[_0x36a708(0x39c)]&&(this[_0x36a708(0x464)](),this[_0x36a708(0x3ed)](_0x1972c0)),this[_0x36a708(0x370)][_0x36a708(0x233)]({'cmd':W[_0x36a708(0x3a0)],'routeKey':_0x244279,'routeType':'','data':_0x1972c0});}catch(_0x15066c){this['_logService']['error'](_0x15066c);}}[_0x3a0f4f(0x464)](){const _0x231b04=_0x3a0f4f;var _0x75be72;this['_collaborationTimeoutTimer']=window[_0x231b04(0x4d7)](()=>{const _0x249d95=_0x231b04;this[_0x249d95(0x326)]=null,this['_messageService'][_0x249d95(0x4d8)]({'type':_0x452c22[_0x249d95(0x503)],'content':this[_0x249d95(0x369)]['t'](_0x249d95(0x3b1))});},(_0x75be72=this['_configService'][_0x231b04(0x128)](ki))!=null?_0x75be72:Wi);}[_0x3a0f4f(0x3da)](){const _0x6e8006=_0x3a0f4f;this[_0x6e8006(0x326)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x3a0f4f(0x3ed)](_0x320a5a){const _0x475633=_0x3a0f4f;if(!this[_0x475633(0x323)])return;const {data:_0x86909e}=_0x320a5a,{unitID:_0xa2182c,changeset:_0x125707}=_0x86909e,{mutations:_0xf72b19,type:_0x1177a1}=_0x125707;this['_telemetryInfo']={'unitId':_0xa2182c,'type':_0x1177a1,'startTime':performance[_0x475633(0x1d2)](),'stopTime':0x0,'duration':0x0,'size':qn(_0xf72b19)};}[_0x3a0f4f(0x189)](){const _0x3c3e4=_0x3a0f4f;if(this[_0x3c3e4(0x323)]){if(!this[_0x3c3e4(0x52f)]){this['_logService'][_0x3c3e4(0x34b)](_0x3c3e4(0x50c),_0x3c3e4(0x183));return;}this['_telemetryInfo'][_0x3c3e4(0x166)]=performance[_0x3c3e4(0x1d2)](),this[_0x3c3e4(0x52f)][_0x3c3e4(0x546)]=this['_telemetryInfo'][_0x3c3e4(0x166)]-this[_0x3c3e4(0x52f)][_0x3c3e4(0x512)],this['_telemetryService'][_0x3c3e4(0x388)](Kn,this['_telemetryInfo']),this[_0x3c3e4(0x52f)]=null;}}[_0x3a0f4f(0x35f)](){this['_telemetryInfo']=null;}};hs=to([Ee(0x2,_0x4c9627),Ee(0x3,_0x26c3bd),Ee(0x4,_0x138b55),Ee(0x5,_0x1526c7),Ee(0x6,_0x4a6309(_0x440b58)),Ee(0x7,_0x4a6309(Me)),Ee(0x8,_0x4a6309(Yi)),Ee(0x9,_0x4a0f17(_0x58614f))],hs);var so=Object[_0x3a0f4f(0x40a)],io=Object[_0x3a0f4f(0x409)],ro=(_0x118b19,_0xf5a625,_0x386440,_0x5a49d8)=>{for(var _0x119549=_0x5a49d8>0x1?void 0x0:_0x5a49d8?io(_0xf5a625,_0x386440):_0xf5a625,_0x3049db=_0x118b19['length']-0x1,_0x501711;_0x3049db>=0x0;_0x3049db--)(_0x501711=_0x118b19[_0x3049db])&&(_0x119549=(_0x5a49d8?_0x501711(_0xf5a625,_0x386440,_0x119549):_0x501711(_0x119549))||_0x119549);return _0x5a49d8&&_0x119549&&so(_0xf5a625,_0x386440,_0x119549),_0x119549;},ye=(_0x84d0de,_0x279f08)=>(_0x5a4da5,_0x3b1853)=>_0x279f08(_0x5a4da5,_0x3b1853,_0x84d0de);let xe=class extends _0x27d038{constructor(_0x496ca8,_0x39ef48,_0x1e3666,_0x122b4c,_0x369ca3,_0x5d4bef,_0x30464b){const _0xf7965f=_0x3a0f4f;super(),g(this,_0xf7965f(0x395),new _0x1f5fb9(void 0x0)),g(this,'socket$',this[_0xf7965f(0x395)][_0xf7965f(0x3e7)]()),g(this,_0xf7965f(0x41b),null),g(this,_0xf7965f(0x36a),new Map()),g(this,_0xf7965f(0x177),new _0x1f5fb9(fe['IDLE'])),g(this,_0xf7965f(0x4fc),this[_0xf7965f(0x177)][_0xf7965f(0x3e7)]()),g(this,_0xf7965f(0x1fd),!0x1),g(this,_0xf7965f(0x281)),g(this,_0xf7965f(0x505),0x0),g(this,_0xf7965f(0x4cb)),g(this,_0xf7965f(0x36e)),(this['_injector']=_0x496ca8,this[_0xf7965f(0x369)]=_0x39ef48,this[_0xf7965f(0x510)]=_0x1e3666,this[_0xf7965f(0x2d8)]=_0x122b4c,this[_0xf7965f(0x145)]=_0x369ca3,this[_0xf7965f(0x31b)]=_0x5d4bef,this[_0xf7965f(0x53b)]=_0x30464b,this[_0xf7965f(0x27c)]());}get[_0x3a0f4f(0x370)](){const _0x4eebe4=_0x3a0f4f;return this[_0x4eebe4(0x395)][_0x4eebe4(0x4c8)]();}[_0x3a0f4f(0x27c)](){const _0x5c8f09=_0x3a0f4f;this[_0x5c8f09(0x504)](),this[_0x5c8f09(0x3b5)]();}[_0x3a0f4f(0x262)](){const _0x47bf79=_0x3a0f4f;super[_0x47bf79(0x262)](),this[_0x47bf79(0x36a)]['forEach'](_0x4fb8aa=>_0x4fb8aa[_0x47bf79(0x262)]()),this[_0x47bf79(0x36a)]['clear'](),this[_0x47bf79(0x177)][_0x47bf79(0x221)]();}async[_0x3a0f4f(0x25a)](_0x2162da){const _0x380d0b=_0x3a0f4f;if(this['_sessions'][_0x380d0b(0x261)](_0x2162da))return this[_0x380d0b(0x36a)][_0x380d0b(0x204)](_0x2162da);this[_0x380d0b(0x1d8)]();const _0x3b6ca7=this['_injector']['createInstance'](hs,_0x2162da,this[_0x380d0b(0x395)][_0x380d0b(0x3e7)]());return this['_sessions'][_0x380d0b(0x4d9)](_0x2162da,_0x3b6ca7),_0x3b6ca7;}[_0x3a0f4f(0x3f5)](_0x10eedb){const _0x3684fc=_0x3a0f4f;var _0x57ad9f;const _0x4886d9=this[_0x3684fc(0x36a)][_0x3684fc(0x204)](_0x10eedb);_0x4886d9&&(this['_sessions'][_0x3684fc(0x4d6)](_0x10eedb),_0x4886d9[_0x3684fc(0x274)]()),this[_0x3684fc(0x36a)][_0x3684fc(0x382)]||(_0x57ad9f=this[_0x3684fc(0x370)])==null||_0x57ad9f['close']();}[_0x3a0f4f(0x3f6)](){const _0x211536=_0x3a0f4f;this[_0x211536(0x505)]=0x0,this[_0x211536(0x281)]!=null&&(clearTimeout(this[_0x211536(0x281)]),this[_0x211536(0x281)]=null),this[_0x211536(0x4b6)]();}async['_getSessionTicket'](){const _0x1be898=_0x3a0f4f;var _0xa02cc1,_0x1b17c1,_0x565450;const _0x29d79e=this[_0x1be898(0x145)][_0x1be898(0x128)](Q),_0x22651f=(_0xa02cc1=_0x29d79e==null?void 0x0:_0x29d79e[_0x1be898(0x463)])!=null?_0xa02cc1:wn;return(_0x565450=(_0x1b17c1=(await this[_0x1be898(0x53b)][_0x1be898(0x204)](_0x22651f,{'headers':{'Content-Type':_0x1be898(0x447)}}))['body'])==null?void 0x0:_0x1b17c1[_0x1be898(0x27e)])!=null?_0x565450:'';}[_0x3a0f4f(0x235)](_0x390d4d){const _0x1b3c26=_0x3a0f4f;var _0x10b87e,_0x59293f;const _0x25b075=this['_configService'][_0x1b3c26(0x128)](On),_0x312643=this[_0x1b3c26(0x145)][_0x1b3c26(0x128)](Q),_0x33e2bd=(_0x59293f=(_0x10b87e=_0x312643==null?void 0x0:_0x312643[_0x1b3c26(0x316)])!=null?_0x10b87e:_0x25b075)!=null?_0x59293f:yn,_0x2152f9=new URL(_0x33e2bd,window[_0x1b3c26(0x152)]['origin']);return _0x2152f9[_0x1b3c26(0x11f)]['set'](_0x1b3c26(0x374),_0x390d4d),_0x2152f9[_0x1b3c26(0x542)]();}async[_0x3a0f4f(0x18b)](){const _0x4d3bbd=_0x3a0f4f,_0x26d39a=await this[_0x4d3bbd(0x2ed)](),_0x4ed644=this[_0x4d3bbd(0x235)](_0x26d39a),_0x4ecb70=this[_0x4d3bbd(0x31b)]['createSocket'](_0x4ed644);return this[_0x4d3bbd(0x41b)]=_0x4ecb70,_0x4ecb70;}async[_0x3a0f4f(0x1d8)](){const _0xd44724=_0x3a0f4f;var _0x2f60f9,_0x27f256;try{const _0x183909=(_0x27f256=(_0x2f60f9=this[_0xd44724(0x370)])!=null?_0x2f60f9:this[_0xd44724(0x41b)])!=null?_0x27f256:await this[_0xd44724(0x18b)]();if(_0x183909){const _0x39fa8e=_0x183909[_0xd44724(0x233)];_0x183909[_0xd44724(0x233)]=_0x13f6ad=>(this[_0xd44724(0x553)](),_0x39fa8e[_0xd44724(0x21c)](_0x183909,[_0x13f6ad])),_0x183909[_0xd44724(0x250)][_0xd44724(0x4f0)](_0xb1915f=>this[_0xd44724(0x239)](_0x183909,_0xb1915f)),_0x183909['error$'][_0xd44724(0x2af)](_0x25302b(0x1))[_0xd44724(0x4f0)](_0x420ab2=>this[_0xd44724(0x2d8)][_0xd44724(0x34b)]('[CollaborationSessionService]:\x20socket\x20error',_0x420ab2)),_0x183909[_0xd44724(0x350)][_0xd44724(0x2af)](_0x25302b(0x1))[_0xd44724(0x4f0)](()=>{const _0x14d218=_0xd44724;this[_0x14d218(0x396)](_0x183909);}),_0x183909['close$'][_0xd44724(0x2af)](_0x25302b(0x1))[_0xd44724(0x4f0)](_0x2dcb93=>{const _0x254800=_0xd44724;this['_logService'][_0x254800(0x2db)]('[CollaborationSessionService]',_0x254800(0x2c8),_0x2dcb93),this['_onConnectionFailed']();});}}catch(_0xb970ec){this['_logService'][_0xd44724(0x34b)](_0xb970ec),this[_0xd44724(0x3f8)]();}}['_onConnectionOpen'](_0x29147e){const _0x366ccc=_0x3a0f4f;this[_0x366ccc(0x2d8)][_0x366ccc(0x2db)](_0x366ccc(0x32c),_0x366ccc(0x11c)),_0x29147e[_0x366ccc(0x233)]({'cmd':W[_0x366ccc(0x2f1)]}),this['_rescheduleHeartbeat']();}[_0x3a0f4f(0x504)](){const _0x13f570=_0x3a0f4f;window[_0x13f570(0x30a)](_0x13f570(0x1ea),()=>this[_0x13f570(0x4b4)]());}[_0x3a0f4f(0x4b4)](){const _0x4edf22=_0x3a0f4f;this[_0x4edf22(0x1fd)]=!0x1,this['_candidateSocket']=null,this[_0x4edf22(0x177)][_0x4edf22(0x25c)](fe[_0x4edf22(0x275)]),this['_socket$'][_0x4edf22(0x25c)](null),this[_0x4edf22(0x2c7)](),this['_clearHeartbeatTimer']();}[_0x3a0f4f(0x3f8)](){const _0xf30ec2=_0x3a0f4f;var _0x5852e3;this['_onOffline'](),this['_retryCount']<((_0x5852e3=this[_0xf30ec2(0x145)][_0xf30ec2(0x128)](Un))!=null?_0x5852e3:An)?(this[_0xf30ec2(0x510)][_0xf30ec2(0x4d8)]({'key':_0xf30ec2(0x497),'type':_0x452c22[_0xf30ec2(0x3f2)],'content':this['_localeService']['t'](_0xf30ec2(0x20b))}),this[_0xf30ec2(0x4b6)]()):this['_messageService'][_0xf30ec2(0x4d8)]({'key':'collaboration-session-retry','type':_0x452c22['Error'],'content':this['_localeService']['t'](_0xf30ec2(0x28d))});}[_0x3a0f4f(0x3b5)](){const _0xa54ec8=_0x3a0f4f,_0x2495da=()=>{const _0x19a983=_0x328b;this[_0x19a983(0x370)]||this['reconnect']();},_0xec1a2c=()=>{const _0xe4f21=_0x328b;this[_0xe4f21(0x370)]||document[_0xe4f21(0x2c6)]===_0xe4f21(0x4d1)||this['reconnect']();};window[_0xa54ec8(0x30a)](_0xa54ec8(0x54c),_0x2495da),document['addEventListener'](_0xa54ec8(0x25b),_0xec1a2c);}[_0x3a0f4f(0x4b6)](){const _0x4a044c=_0x3a0f4f;var _0x4cf910;const _0x46e12f=this[_0x4a044c(0x505)],_0x5f4898=this[_0x4a044c(0x145)]['getConfig'](Q),_0x4d12e8=_0x46e12f===0x0?0x0:((_0x4cf910=_0x5f4898==null?void 0x0:_0x5f4898['retryConnectingInterval'])!=null?_0x4cf910:Nn)*0x2**_0x46e12f;this['_retryConnectingTimer']=window[_0x4a044c(0x4d7)](()=>{const _0x297cda=_0x4a044c;clearTimeout(this[_0x297cda(0x281)]),this[_0x297cda(0x281)]=null,this[_0x297cda(0x1d8)]();},_0x4d12e8),this[_0x4a044c(0x505)]+=0x1;}[_0x3a0f4f(0x239)](_0x4ba50f,_0x3e8462){const _0x20cb9c=_0x3a0f4f,{cmd:_0x51c66d}=_0x3e8462;_0x51c66d===W[_0x20cb9c(0x2f1)]&&!this[_0x20cb9c(0x1fd)]&&(_0x4ba50f[_0x20cb9c(0x11d)]=_0x3e8462[_0x20cb9c(0x13f)][_0x20cb9c(0x11d)],this[_0x20cb9c(0x395)][_0x20cb9c(0x25c)](_0x4ba50f),this['_status$'][_0x20cb9c(0x25c)](fe[_0x20cb9c(0x4a9)]),this[_0x20cb9c(0x1fd)]=!0x0,this[_0x20cb9c(0x41b)]=null),_0x51c66d===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x20cb9c(0x553)]();}['_rescheduleHeartbeat'](){const _0x418d84=_0x3a0f4f;var _0x1376aa;this[_0x418d84(0x30e)](),this[_0x418d84(0x4cb)]=window[_0x418d84(0x4d7)](()=>this['_sendHeartbeat'](),(_0x1376aa=this[_0x418d84(0x145)][_0x418d84(0x128)](Dn))!=null?_0x1376aa:Pn);}[_0x3a0f4f(0x1bd)](){const _0x5a51f2=_0x3a0f4f;this['_socket'][_0x5a51f2(0x233)]({'cmd':W[_0x5a51f2(0x3c1)]}),this[_0x5a51f2(0x13b)]();}['_waitForHeartbeatResponse'](){const _0x23b095=_0x3a0f4f;var _0x208e62;this[_0x23b095(0x36e)]=window[_0x23b095(0x4d7)](()=>this[_0x23b095(0x3f8)](),(_0x208e62=this[_0x23b095(0x145)][_0x23b095(0x128)](ki))!=null?_0x208e62:Wi);}['_clearHeartbeatTimer'](){const _0x325e7a=_0x3a0f4f;this[_0x325e7a(0x4cb)]!=null&&(clearTimeout(this[_0x325e7a(0x4cb)]),this['_sendHeartbeatTimer']=null);}[_0x3a0f4f(0x2c7)](){const _0x5b6ef0=_0x3a0f4f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5b6ef0(0x36e)]),this['_timeoutTimer']=null);}};xe=ro([ye(0x0,_0x4a6309(_0x5b64e2)),ye(0x1,_0x4a6309(_0x440b58)),ye(0x2,_0x138b55),ye(0x3,_0x4c9627),ye(0x4,_0x1526c7),ye(0x5,Gi),ye(0x6,_0x4a6309(_0x559bcb))],xe);const Y=[];function _0x4d89(){const _0x11c7c4=['_onConnectionFailed','LICENSE_DISTRO_REJECTED','_transformPreviousActiveRange','_type','_onCombEvent','popstate','getCurrentSelections','transform','collabStatus.conflict','UniverIcon','_redoStacks','addImageSourceCache','_transformHistoryAndStateStack','red300','setConfig','_render','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getOwnPropertyDescriptor','defineProperty','state','fetch_missing','onCommandExecuted','onPointerLeave$','[PendingState]:\x20received\x20acknowledgement.','/object/','1em','_getScale','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onReady','_updateStatus','eventID','byteLength','_commandService','OnLineSingle','cursorInfo$','_candidateSocket','encrypt','_unlockTransition','/universer-api/authz','awaitingChangeset','_transformStateCache','saveSnapshot','HEARTBEAT_TIMEOUT','auth.needGotoLoginAlert','onRendered','getActiveSheet','RECV','_state$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','x-univer-host','/resources','every','getCollabCursors$','JOIN_ROOM_FULL','href','whenReady','result','CBC','_nDataBytes','_transformUndoRedoStack','SNAPSHOT_HAS_BEEN_REMOVED','setCurrentUser','OpenSSL','_scheduleSaving','connection\x20error','_registerDependencies','collabSubmitChangesetUrl','_resendTimer','_unitStatus','_docTransformSelectionsService','defaultProps','push','join','/universer-api/file/{fileID}/sign-url','replaceDocRanges','ALREADY_EXISTS','forEach','session.room-cnt-exceeds','_resendWithTimeout','application/json','_drawRectRange','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onRemoteAck','_getUploadFileURL','_uiPartsService','[SyncedState]:\x20received\x20rejection.','saveImage','refreshPermission','onPointerMove$','_hash','[OfflineState]:\x20received\x20rejection.','_sendingTimer','roomMembers$','_keyPriorReset','?url=','_updateLocalCursor','onTransformSelections','_getAPIPrefixPath','_hover','_snapshotServerService','_entities','formatter','ivSize','_fetchMissChangesets','APPLY_PERMISSION_DENIED','collab-text-anchor-','clipPath','wsSessionTicketUrl','_scheduleCollaborationTimeoutTimer','findNodePositionByCharIndex','authzUrl','LIVESHARE_REQUEST_HOST','_oKey','encode','submit\x20changeset\x20error!','APPLY_DUPLICATED','_getSheetObject','onTransformIME','setActiveRange','resolve','_handler','awaiting','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initStatusListener','onStarting','UNKNOWN_CODE','lineTo','sheetId','_singleActiveUnitService','reduce','msCrypto','catch','Fragment','column','_handleJoinEvent','setParam','_revisionService','fillStyle','M0\x200H16V16H0z','getMemberID','AES','symbol','split','[DataLoaderController]','_onFetchMissResult','getResourcesRequest','3223228QetTkl','13186904nmjWQx','PSEUDO_FETCH_MISSING_RESULT','\x0aAfter:\x20','use','font','addObject','substr','unitId','COMPLETION_FINISHED','PERSON','/role','setWaitCount','collaboration-session-retry','getAncestorScale','/universer-api/stream/file/upload','_transformStack','disposeWithMe','toRgbString','\x20to\x20','HMAC','transformStack\x20failed!','\x20in\x20_schedule.','AWAITING','GLOBAL_ROOMS_CNT_EXCEEDS','salt','kdf','_docSyncEditingCollabCursorService','enc','sigBytes','snapshot','ONLINE','jsxs','/-/object/-/batch_allowed','_drawTextRange','ranges','parse','jsx','_doReset','LICENSE_MAX_UNITS_EXCEEDED','_eventUnsubscribe','url(#$1','_onOffline','_doProcessBlock','_tryReconnect','Decryptor','_resendTimeout','_onRemoteChangeset','_removeCollabCursors','_onRecvEvent','resize','assignAColorForMemberID','none','/universer-api/user/session-ticket','range','getCellPositionByOffset','clamp','post','randomBytes','_updateSubUnitFromURLParams','colorChannel1','_collabSessionService','getValue','saveChangeset','subunit','_sendHeartbeatTimer','_hovered','_name','sheets','_xformMode','createInstance','hidden','/allowed','getMember','members','APPLY_NON_SEQUENTIAL_REVISION','delete','setTimeout','show','set','InsertRangeMoveRightCommandId','BlockCipher','JOIN','YUUMI_UNABLE_LOAD_URL','mutations','cfg','ReactCurrentOwner','generateRandomId','createDecryptor','isEditing','UPDATE_PERMISSION_OBJ','number','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','_docStateChangeManagerService','with','_colorIndex','fromCollab','1823112xCsuUU','collaboration.single-unit.warning','WordArray','exports','_setupSubUnitSync','subscribe','allowed','_updateURLWithCurrentState','_initResize','crypto','activeSheet$','_mode','_cursorInfo$','objectID','Univer','_incrementRevisionNumber','_disabled','status$','_onCursorUpdate','interceptor','_scheduleClearOtherTimer','padding','COMPRESS_MUTATION_SEND','storage','Error','_listenToOfflineEvent','_retryCount','_docTransformStateCacheService','attrs','unknown','_applyRemoteChangeset','COLLAB_WEB_SOCKET_URL','getRangePointData','[CollaborationSession]','_replaceFileID','collabStatus.syncing','/universer-api/snapshot','_messageService','xlink:href','startTime','_HTTPService','BASE64','#FFF','/new_changes','sessionStatus$','collabStatus.fetchMiss','LIVESHARE_NEW_HOST','transformIMECache','EvpKDF','splice','_lastPointer','infoRsp','#fff','_shapes','getCurrentUser','rev','conflict','c2Prime','RemoveColCommandId','save\x20fail\x20reason\x20is\x20','substring','getCurrentRevOfUnit','makeDirty','__esModule','UUID','path','...','_initRequestHeader','_telemetryInfo','_updateCollabCursors','_init','onMissedChangesetFetched','isPermissionRej','_docClipboardService','_transformUndoredo','_http','string','fillText','_initMergeInterceptor','_ws','_httpService','error$','lib','replaceState','_collaborationController','getUnitOnRev','\x0aCurrent:\x20','toString','restore','src','map','duration','put','round','getLatestCsReqIdBySid','_docSkeleton','getSheetId','online','getUndoRedoMutationParamsCache','_reverseMap','_instanceService','type','_docSkeletonManagerService','People','_rescheduleHeartbeat','jiqing500','url(#on-line-single_clip0_910_349)','for','_clearUndo','getRandomValues','_anchorDot','title','_replayCachedMutations','APPLY_REJECT','repeat','iterations','socket\x20open.','memberID','measureText','searchParams','getDeserializedSheetBlock','fillRule','InsertRowCommandId','_collabCursorController','ref','_heartbeatTimer','_refreshCollabCursors','_urlService','getConfig','_submitChangeset','csShouldRetryEvent','UNIVER_DOC','Base','engine','UNIVER_SHEET','_sender','blue400','_changesetReqId','/universer-api/comb','596081cfZpZB','algo','getMergeData','getOwnPropertySymbols','NOT_COLLAB','UNRECOGNIZED','CONFLICT','compose','_waitForHeartbeatResponse','className','save','row','data','call','_event$','socketService','getSheetBySheetId','collaboration_new_changeset','_configService','_handleEvent','__creator','4466812OZKcLs','toggleOffline','concat','revision','_beforeCloseService','MD5','method','ERROR_EXCEED_SIZE','_assignedColors','NOT_FOUND','location','?size=','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','csAckEvent','collaboratorID','_unitOnClients','Pkcs7','_sheetTransformSelectionsService','_saveCache','_exhaustRemoteChangesetQueue','_ensureSubject','_draw','entries','equals','current','height','_imageSourceCache','onlineStatusTitle','_onRemoteACK','UNDEFINED','stopTime','onRemoteChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','onRemoteRetry','collaboration.closeRoom','url(#off-line-single_clip0_910_343)','clearInterval','_sheetSkeletonManagerService','find','failed\x20to\x20apply\x20missed\x20changesets!','update','_createHelper','_DEC_XFORM_MODE','_updateState','bottom','collab-client.tooltip.reconnect','abs','_status$','_decreaseWaiting','IDLE','_snapshotService','c1Prime','saveOfflineData','_createInitialState','then','permission.title','deepClone','HmacMD5','_createInitialStateImpl','telemetry\x20info\x20is\x20not\x20initialized','roomInfos','transformByState','_parse','initWorkbookPermissionChange','_hasher','_stopTelemetryCollaborationNewChangeset','_schedule','_createSocket','LIVESHARE_OPERATION','includes','_socketMessageSubscription','_saveTaskMap','onTransformState','_createHandler','cmd','_pendingMutations','some','/universer-api/oidc/authpage','collaborators','YUUMI_URL_COL_OUT_OF_RANGE','blockSize','USERS_ENTER','_roomMembers','sessionStatus','_id','UNAUTHENTICATED','unsubscribe','subject','PERMISSION_REJ','/collaborator','_doFinalize','_substituteUndoStack','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','shouldCloseConn','onPointerEnter$','updateCursorEvent','_initUnitPermissionChange','patch','bind','onlineStatus','decrypt','_hideTimer','registerBeforeClose','gold400','textRanges','finalize','_sessionStatus$','updateCollaborator','Base64','Error\x20on\x20receiving\x20event','_doCryptBlock','_checkMissing','onTransformRemoteChangesetByIMECache','CONNECTOR_DATA_TOO_LARGE','JOINING','flatMap','_telemetryService','_sendHeartbeat','commentUpdate$','_handleLeaveEvent','_awaitingChangeset','toLowerCase','onCommentUpdate','keySize','onRemoteRej','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','objects','univer-offline','collab-text-range-','PERMISSION_DENIED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_send','UnitEmbedded','LICENSE_EXPORT_SIZE_EXCEEDED','StreamCipher','_remoteChangesetQueue','beginPath','_drawAnchor','now','editingUnit','_toggleOffline','getRenderById','pushState','_onUserJoin','_tryEnsureSocket','_getLoginPath','min','image/bmp','_localCacheService','session.join-failed','setShowComponents','_onCursorDelete','editing\x20status\x20changed\x20to','BufferedBlockAlgorithm','_handleHover','triggerDblclick','_iKey','tag','onStateChange','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleHeartbeat','roomMembers','offline','getUnitId','pauseCollaboration','_unitID','_document','_registerRenderDependencies','[SyncedState]:\x20received\x20acknowledgement.','_iv','LIVESHARE_TERMINATE','Encryptor','_isPermissionRej','getCollabEntity','LEAVE','params','Undefined','session.room-permission-denied','_cursors','_loadSheet','session','_socketReady','init','function','_scheduleTimestamp','contains','YUUMI_RATE_OVER_LIMIT','image/jpg','get','_cachedData','_imageIoService','_getCtorByUniverType','permission.content','_getDownloadEndpointURL','_transformService','session.will-retry','_initCloseConn','getRelativeToViewportCoord','fetching\x20missing\x20changesets\x20from\x20','userID','startColumn','_getUndoStack','UNIVER_PROJECT','_commentService','RETRY_CONNECTING_MAX_COUNT','getSheetBlock','_change$','joinEvent','Latin1','univer-pro.collaboration-client.single-active-unit-service','slice','_onRefRangeChange','apply','ERROR_IMAGE','format','addObjects','dispose$','complete','_permissionService','children','onload','onMissingChangesets','_getRedoStack','enableSingleActiveInstanceLock','_setupBeforeClosingHandler','loadOfflineData','unit','[UniverCollaborationClientPlugin]','_members','\x20-\x20','UnitSnapshot','registerRefRange','hasOwnProperty','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','pluginName','send','FileId','_createSocketURL','updatePermissionObjEvent','onMouseMove','getParam','_onMessage','_transformIMECache','liveShareNewHost','UNIVER_SLIDE','_getAnchorBounding','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','create','Could\x20not\x20dynamically\x20require\x20\x22','session.room-full','&source=','removeMember','_initDependencies','USERS_LEAVE','_initCommandExecutedListener','ws://127.0.0.1:8000/universer-api/comb/connect','isArray','_labelPosition','object','_notificationService','JOIN_ROOM_NOT_EXISTS','code','backgroundColor','currentSkeleton$','message$','image/gif','getVpScrollXYInfoByPosToVp','top','list','LICENSE_IMPORT_SIZE_EXCEEDED','liveShareOperation','exhaustSavingTask','collaboration-client.offline-data-not-saved','_localStorageService','requireSession','visibilitychange','next','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','1333794rYipfZ','change$','CHANGESET_ACK','has','dispose','commentUpdateEvent','Malformed\x20UTF-8\x20data','syncEditingCollabCursor','width','executeCommand','_scene','SUCCUSS','arc','_cursorShapes','FETCH_MISSING','_removeClearOtherTimer','LIVESHARE_FETCH_OPERATIONS','Utf8','_acknowledgedAwaitingChangeset','filter','compute','_context','close','OFFLINE','collaboration-client.config','_syncEditingCollabCursorService','_lockTransition','_collabCursorState$','decryptBlock','INVALID_ARGUMENT','_initEventListeners','_transformSelections','ticket','transformMutationsWithChangeset','awaiting_with_pending','_retryConnectingTimer','_onLocalMutation','propertyIsEnumerable','action','state$','Hex','getWorkbookSelections','AWAITING_WITH_PENDING','_onUserLeave','reset','_clearLocalCache','json','session.connection-failed','pad','defIds','RECT','1720742VYUyEc','history','_roomMembers$','getOffsetConfig','charCodeAt','/-/object/list','resend','_append','indexOf','HEARTBEAT_INTERVAL','onlineStatusIcon','enableLocalCache','encodeURIComponent','session.room-not-exists','_commentUpdate$','_textBubble','off-line-single','setAlpha','svg','imageSourceType','redoState','_transformRemoteChangesetByStateCache','_selfUnitIDs','SNAPSHOT_INVALID_SNAPSHOT','createSocket','getUnitType','BlockCipherMode','_getCurrentRevision','_minBufferSize','SNAPSHOT_URL_KEY','pipe','_undoRedoService','_refRangeService','startsWith','MUTATION','getAllMembers','_renderManagerService','POST','max','VIEW_MAIN','registerRenderModule','ACTIVE_UNIT_EVENT_CHANNEL','HttpExport','sheetID','_data','newCsEvent','_anchor','on-line-single','currentTheme$','INTERNAL_ERROR','extend','NO_OTHER_CLIENTS_EDITING','readInt32LE','visibilityState','_clearTimeoutTimer','socket\x20close','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','words','prototype','toggleOnline','getTime','_waitCount','idSuffix','onlyLocal','text','routeKey','ERROR_IMAGE_TYPE','CHANGESET_REJ','_prevBlock','_onRemoteRejected','[FetchMissState]','_logService','onTransformRemoteChangesetByStateCache','react.element','debug','fill','UPDATE_CURSOR','_removeRoom','randomUUID','sin','setShapeProps','EXCHANGE_SIGN_URL_SERVER_URL_KEY','localeService','ciphertext','off-line-single_clip0_910_343','_substituteRedoStack','createEncryptor','_memberService','setUndoRedoMutationParamsCache','loadDoc','mode','univer-pro.collaboration-client-socket-service','_getSessionTicket','SYNCED','from','appendMutation','HELLO','react.fragment','getTypeOfUnitAdded$','_toggleOnline','charAt','_session','event$','updatePermissionPoint','_online','image/jpeg','/object','_onRemoteRetry','setInterval','clearTimeout','isActive','hasher','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','$super','fromCharCode','_showConflictNotification','LOCAL_CACHE_INTERVAL','selection','buffer','getTypeOfUnitDisposed$','SHA1','addEventListener','RemoveRowCommandId','docStateChange$','_invKeySchedule','_clearHeartbeatTimer','div','doc.mutation.rich-text-editing','defs','length','transformMutation','_disableEditing','_nRounds','collabWebSocketUrl','_range','SNAPSHOT_SERVER_URL_KEY','clear','workbook','_socketService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','createCollaborator','signUrlServerUrl','_initStatusComponent','_clearScheduledTask','unitID','disposeUnit','_shouldReportTelemetry','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformSelections','_collaborationTimeoutTimer','getFocusedUnit','displayName','labelPosition','_color','[CollaborationEntity]','[CollaborationSessionService]','_collaborationPaused','_compressMutationService','OTHER_CLIENTS_EDITING','_transitionLocked','_queuedRemoteChangesets','stringify','{fileID}','enableAuthServer','transformUndoRedo','newValue','getUnit','reject','_userManagerService','undoState','_getAPIPrefix','updateMember','Unknown\x20user','collabCursorState$','on-line-single_clip0_910_349','_injector','random','add','_getSaveTimeout','reverse','_univerInstanceService','name','UNKNOWN_CMD','ceil','univer-online-status-icon','downloadEndpointUrl','error','floor','enableOfflineEditing','univer-online-status-title','_loadDoc','open$','onSyncEditingCollabCursor','getActiveRange','batchAllowed','_executeRemoteChangeset','all','Cipher','append','processBlock','[OfflineState]:\x20received\x20acknowledgement.','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','pending','originalMeta','status','file','_throwTelemetryCollaborationNewChangeset','url','SerializableCipher','_colorAssignService','key','UNIVER_UNKNOWN','focused$','_process','_map','_clearOtherTimers','_localeService','_sessions','univerjs-icon\x20univerjs-icon-','APPLY_REVISION_CONFILICT','_transformRemoteChangesetByIMECache','_timeoutTimer','black','_socket','getDocRanges','urlChange$','0\x200\x2016\x2016','sessionTicket','DeleteRangeMoveUpCommandId','_startDocCollabCursor','_joinRoom','_getSendChangesetTimeout','drawWith','getImage','objectActions','COMPRESS_MUTATION_APPLY','JOIN_ROOM_PERMISSION_DENIED','_updateLocalCache','[PendingState]:\x20received\x20rejection.','NoPadding','COLLAB_SUBMIT_CHANGESET_URL','size','getViewport','m1Prime','onSendChangeset','getSkeleton','9zipnpJ','capture','_state','_startCollaboration','fetchThroughInterceptors','m2Prime','/unit/','changesets','getStateCache','getCurrentUnitForType','_cursor','sid','transformStateCache','transformRemoteChangeset','_socket$','_onConnectionOpen','transformChangesets','_entityInit$','TEXT','listCollaborators','PENDING','SUBMIT_CHANGESET','Hasher','FromArray','/block/','INGEST','ENSURE_SNAPSHOT_EXECUTION','_changesetSessionId','headers','_docTransformIMECacheService','joinRsp','synced','/rev/','AUTHZ_URL_KEY','values','_clearRedo','_cipher','default','startRow','readAsDataURL','_collaborationSessionService','icon','session.collaboration-timeout','_themeService','registerHTTPInterceptor','body','_listenToOnlineEvent','MoveRangeCommandId','getRoom','_createHmacHelper','_key','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','CHANGESET_SHOULD_RETRY','/universer-api/snapshot/','SHOULD_CLOSE_CONN','moveTo','&assign=','HmacSHA1','HEARTBEAT','getUnhiddenWorksheets','MSG_FOR_ERROR','subscribeEvent','_syncEditingCollabCursor','_keySchedule','objectType','baseRev','getInterceptPoints','clone','encryptBlock','SEND_CHANGESET_TIMEOUT','5OXtddO','getCollabEntity$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','setItem','_config','addClipboardHook','color','selections','evenodd','univer-online','TOO_MANY_REQUESTS','fetchMiss','disableLocalCache','_clearCollaborationTimeoutTimer','[CollaborationState]:\x20apply\x20error!','cursorInfo','requestParams','univer-online-status','assign','mixIn','_onJoinRoomEvent','actions','_onConflict','FETCH_MISS','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','unshift','asObservable','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','[CollaborationUndoRedoService]','reqId','_ENC_XFORM_MODE','getSnapshotAPIPath','_startTelemetryCollaborationNewChangeset','purple300','translate(.97)','roles','conflict.title','Warning','currentColor','endColumn','closeSession','reconnect','_backgroundColor'];_0x4d89=function(){return _0x11c7c4;};return _0x4d89();}for(let i=0x0;i<0x100;++i)Y[_0x3a0f4f(0x43f)]((i+0x100)['toString'](0x10)['slice'](0x1));function no(_0x22bda5,_0x2fb198=0x0){const _0x48346b=_0x3a0f4f;return(Y[_0x22bda5[_0x2fb198+0x0]]+Y[_0x22bda5[_0x2fb198+0x1]]+Y[_0x22bda5[_0x2fb198+0x2]]+Y[_0x22bda5[_0x2fb198+0x3]]+'-'+Y[_0x22bda5[_0x2fb198+0x4]]+Y[_0x22bda5[_0x2fb198+0x5]]+'-'+Y[_0x22bda5[_0x2fb198+0x6]]+Y[_0x22bda5[_0x2fb198+0x7]]+'-'+Y[_0x22bda5[_0x2fb198+0x8]]+Y[_0x22bda5[_0x2fb198+0x9]]+'-'+Y[_0x22bda5[_0x2fb198+0xa]]+Y[_0x22bda5[_0x2fb198+0xb]]+Y[_0x22bda5[_0x2fb198+0xc]]+Y[_0x22bda5[_0x2fb198+0xd]]+Y[_0x22bda5[_0x2fb198+0xe]]+Y[_0x22bda5[_0x2fb198+0xf]])[_0x48346b(0x1c1)]();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x46e136=_0x3a0f4f;if(!Gt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x46e136(0x3e8));Gt=crypto[_0x46e136(0x558)]['bind'](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x3a0f4f(0x2df)]&&crypto[_0x3a0f4f(0x2df)][_0x3a0f4f(0x1aa)](crypto),zs={'randomUUID':co};function ho(_0x4f28ca,_0x2a8191,_0x2d0e6b){const _0x1056d1=_0x3a0f4f;if(zs[_0x1056d1(0x2df)]&&!_0x2a8191&&!_0x4f28ca)return zs[_0x1056d1(0x2df)]();_0x4f28ca=_0x4f28ca||{};const _0x51b342=_0x4f28ca[_0x1056d1(0x341)]||(_0x4f28ca['rng']||ao)();return _0x51b342[0x6]=_0x51b342[0x6]&0xf|0x40,_0x51b342[0x8]=_0x51b342[0x8]&0x3f|0x80,no(_0x51b342);}var lo=Object[_0x3a0f4f(0x40a)],_o=Object[_0x3a0f4f(0x409)],uo=(_0x2e4f1f,_0x1b6546,_0x11e678,_0x3ae9b6)=>{const _0x26a966=_0x3a0f4f;for(var _0x4fb12e=_0x3ae9b6>0x1?void 0x0:_0x3ae9b6?_o(_0x1b6546,_0x11e678):_0x1b6546,_0x43b6c1=_0x2e4f1f[_0x26a966(0x312)]-0x1,_0x33dfc2;_0x43b6c1>=0x0;_0x43b6c1--)(_0x33dfc2=_0x2e4f1f[_0x43b6c1])&&(_0x4fb12e=(_0x3ae9b6?_0x33dfc2(_0x1b6546,_0x11e678,_0x4fb12e):_0x33dfc2(_0x4fb12e))||_0x4fb12e);return _0x3ae9b6&&_0x4fb12e&&lo(_0x1b6546,_0x11e678,_0x4fb12e),_0x4fb12e;},Yt=(_0x26ae8f,_0x31d4c9)=>(_0xd70a24,_0x577f8b)=>_0x31d4c9(_0xd70a24,_0x577f8b,_0x26ae8f);let yt=class{constructor(_0x2f1ca3,_0x2fb15d,_0x3f1650){const _0x28aa4e=_0x3a0f4f;this['_injector']=_0x2f1ca3,this[_0x28aa4e(0x20a)]=_0x2fb15d,this[_0x28aa4e(0x2b5)]=_0x3f1650;}[_0x3a0f4f(0x51a)](_0x3e5fb1){const _0x5abd67=_0x3a0f4f;this['_transformUndoRedoStack'](_0x3e5fb1),this[_0x5abd67(0x3fa)](_0x3e5fb1);}[_0x3a0f4f(0x394)](_0xbbb9f5){const _0x390d5c=_0x3a0f4f,{unitID:_0x5c8c7c}=_0xbbb9f5,_0x152b1d=this[_0x390d5c(0x2b5)][_0x390d5c(0x1d5)](_0x5c8c7c)[_0x390d5c(0x4e8)](_0x290ae9),{redoCache:_0x2381ba}=_0x152b1d[_0x390d5c(0x54d)]();if(_0x2381ba[_0x390d5c(0x312)]===0x0)return _0xbbb9f5;let _0x191d95=_0x1fb819[_0x390d5c(0x180)](_0xbbb9f5[_0x390d5c(0x4de)][0x0]);for(let _0x5aa64e=0x0;_0x5aa64e<_0x2381ba[_0x390d5c(0x312)];_0x5aa64e++){const _0x5ddd23={'id':_0x390d5c(0x310),'params':{..._0x2381ba[_0x5aa64e]}},_0x2c5e6a=this[_0x390d5c(0x20a)][_0x390d5c(0x313)](_0x191d95,_0x5ddd23,!0x1);if(_0x2a1d0d(_0x2c5e6a))throw _0x2c5e6a[_0x390d5c(0x34b)];_0x191d95=_0x2c5e6a[_0x390d5c(0x384)];}return{..._0x1fb819[_0x390d5c(0x180)](_0xbbb9f5),'mutations':[_0x191d95]};}[_0x3a0f4f(0x433)](_0x27794b){const _0x1cc1cc=_0x3a0f4f,{unitID:_0x30409d}=_0x27794b,_0x125e5e=this['_renderManagerService'][_0x1cc1cc(0x1d5)](_0x30409d)[_0x1cc1cc(0x4e8)](_0x290ae9),{undoCache:_0x6b38be,redoCache:_0x2be4d9}=_0x125e5e['getUndoRedoMutationParamsCache']();if(_0x6b38be['length']===0x0||_0x2be4d9[_0x1cc1cc(0x312)]===0x0)return;const _0x39bf61=[],_0x212f2f=[];let _0x73d7fc=_0x1fb819[_0x1cc1cc(0x180)](_0x27794b['mutations'][0x0]),_0x426393=_0x1fb819[_0x1cc1cc(0x180)](_0x27794b[_0x1cc1cc(0x4de)][0x0]);for(let _0x566be5=_0x6b38be[_0x1cc1cc(0x312)]-0x1;_0x566be5>=0x0;_0x566be5--){const _0x545d02={'id':_0x1cc1cc(0x310),'params':{..._0x6b38be[_0x566be5]}},_0x324056={'id':_0x1cc1cc(0x310),'params':{..._0x2be4d9[_0x566be5]}},_0x310dc7=this[_0x1cc1cc(0x20a)][_0x1cc1cc(0x313)](_0x73d7fc,_0x545d02,!0x1),_0xffa9f9=this[_0x1cc1cc(0x20a)][_0x1cc1cc(0x313)](_0x426393,_0x324056,!0x1);if(_0x2a1d0d(_0x310dc7))throw _0x310dc7[_0x1cc1cc(0x34b)];if(_0x2a1d0d(_0xffa9f9))throw _0xffa9f9[_0x1cc1cc(0x34b)];_0x39bf61[_0x1cc1cc(0x3e6)](_0x310dc7[_0x1cc1cc(0x38c)][_0x1cc1cc(0x1f7)]),_0x212f2f[_0x1cc1cc(0x3e6)](_0xffa9f9[_0x1cc1cc(0x38c)][_0x1cc1cc(0x1f7)]),_0x73d7fc=_0x310dc7[_0x1cc1cc(0x384)],_0x426393=_0xffa9f9[_0x1cc1cc(0x384)];}_0x125e5e[_0x1cc1cc(0x2e9)]({'undoCache':_0x39bf61,'redoCache':_0x212f2f});}[_0x3a0f4f(0x3fa)](_0x166569){const _0x4bd729=_0x3a0f4f,{unitID:_0x11b737}=_0x166569,_0x25c1aa=this[_0x4bd729(0x2b5)][_0x4bd729(0x1d5)](_0x11b737)['with'](_0x290ae9),_0x409f24=_0x25c1aa[_0x4bd729(0x352)]();if(_0x409f24==null)return;const _0x26c4dc=[{'id':_0x4bd729(0x310),'params':{'unitId':_0x166569[_0x4bd729(0x321)],'actions':null,'textRanges':[_0x409f24]}}],_0x3989b1=this[_0x4bd729(0x20a)][_0x4bd729(0x27f)](_0x166569,_0x26c4dc);if(!_0x2f8575(_0x3989b1))throw _0x3989b1[_0x4bd729(0x34b)];const _0x2f09ee=_0x3989b1[_0x4bd729(0x38c)][0x0][_0x4bd729(0x1f7)][_0x4bd729(0x1b0)];Array[_0x4bd729(0x248)](_0x2f09ee)&&_0x2f09ee[_0x4bd729(0x312)]&&_0x25c1aa[_0x4bd729(0x46e)](_0x2f09ee[0x0]);}};yt=uo([Yt(0x0,_0x4a6309(_0x5b64e2)),Yt(0x1,_0x4a14e2),Yt(0x2,_0xc1cbdc)],yt);var fo=Object[_0x3a0f4f(0x40a)],vo=Object['getOwnPropertyDescriptor'],po=(_0x633c9,_0x5ef559,_0x2221cb,_0x2e58a4)=>{for(var _0xe9c8d3=_0x2e58a4>0x1?void 0x0:_0x2e58a4?vo(_0x5ef559,_0x2221cb):_0x5ef559,_0x38218c=_0x633c9['length']-0x1,_0x4cdfec;_0x38218c>=0x0;_0x38218c--)(_0x4cdfec=_0x633c9[_0x38218c])&&(_0xe9c8d3=(_0x2e58a4?_0x4cdfec(_0x5ef559,_0x2221cb,_0xe9c8d3):_0x4cdfec(_0xe9c8d3))||_0xe9c8d3);return _0x2e58a4&&_0xe9c8d3&&fo(_0x5ef559,_0x2221cb,_0xe9c8d3),_0xe9c8d3;},Xe=(_0x1b85a9,_0x4cf0fa)=>(_0x7bb0be,_0x14b6a1)=>_0x4cf0fa(_0x7bb0be,_0x14b6a1,_0x1b85a9);function _0x328b(_0x10193f,_0x575673){const _0x4d8934=_0x4d89();return _0x328b=function(_0x328b71,_0x292d38){_0x328b71=_0x328b71-0x11b;let _0x1e62d0=_0x4d8934[_0x328b71];return _0x1e62d0;},_0x328b(_0x10193f,_0x575673);}let z=class extends _0x27d038{constructor(_0x96686e,_0x4b3a71,_0x298be1,_0x47b04f,_0x43e3d6){const _0x210a66=_0x3a0f4f;super(),g(this,_0x210a66(0x205),new Map()),g(this,_0x210a66(0x18f),new Map()),g(this,_0x210a66(0x4fb),!0x1),(this['_configService']=_0x96686e,this[_0x210a66(0x259)]=_0x4b3a71,this[_0x210a66(0x14c)]=_0x298be1,this[_0x210a66(0x369)]=_0x47b04f,this[_0x210a66(0x480)]=_0x43e3d6,this[_0x210a66(0x228)]());}[_0x3a0f4f(0x3d9)](){const _0xa7ec2d=_0x3a0f4f;this[_0xa7ec2d(0x4fb)]=!0x0;}[_0x3a0f4f(0x29c)](){const _0x19a0f1=_0x3a0f4f;this[_0x19a0f1(0x4fb)]=!0x1;}[_0x3a0f4f(0x262)](){const _0x250309=_0x3a0f4f;this['exhaustSavingTask']()[_0x250309(0x17e)](()=>super[_0x250309(0x262)]());}async['loadOfflineData'](_0x19eda4){const _0x5b5467=_0x3a0f4f;return this[_0x5b5467(0x4fb)]?null:this[_0x5b5467(0x259)]['getItem'](Xs(_0x19eda4));}async[_0x3a0f4f(0x17c)](_0x52e4f7,_0xc22a45){const _0x212c38=_0x3a0f4f;return!!this[_0x212c38(0x259)][_0x212c38(0x3d0)](_0x52e4f7,_0xc22a45);}['updateOfflineData'](_0x3672d3,_0x170659,_0xf73dd7,_0x32e232){const _0x4daffe=_0x3a0f4f,_0x4aa14c=this[_0x4daffe(0x480)][_0x4daffe(0x528)](_0x3672d3);this[_0x4daffe(0x205)]['set'](_0x3672d3,{'unitID':_0x3672d3,'type':_0x170659,'awaitingChangeset':_0xf73dd7,'mutations':_0x32e232,'rev':_0x4aa14c}),this[_0x4daffe(0x18f)][_0x4daffe(0x261)](_0x3672d3)||this['_scheduleSaving'](_0x3672d3);}[_0x3a0f4f(0x437)](_0x17a699){const _0x5bebb2=_0x3a0f4f,_0x486454=this[_0x5bebb2(0x343)]();_0x486454===0x0?this['_saveCache'](_0x17a699):this[_0x5bebb2(0x18f)][_0x5bebb2(0x4d9)](_0x17a699,setTimeout(()=>this['_saveCache'](_0x17a699),_0x486454));}[_0x3a0f4f(0x343)](){const _0x31427c=_0x3a0f4f;var _0x3bcac2;return(_0x3bcac2=this[_0x31427c(0x145)][_0x31427c(0x128)](Mn))!=null?_0x3bcac2:xn;}[_0x3a0f4f(0x15a)](_0x9dc0cb){const _0x357a3d=_0x3a0f4f,_0x46b3b4=this['_saveTaskMap']['get'](_0x9dc0cb);return _0x46b3b4!==void 0x0&&window['clearTimeout'](_0x46b3b4),this[_0x357a3d(0x259)][_0x357a3d(0x3d0)](Xs(_0x9dc0cb),this[_0x357a3d(0x205)]['get'](_0x9dc0cb))[_0x357a3d(0x17e)](()=>this[_0x357a3d(0x18f)][_0x357a3d(0x4d6)](_0x9dc0cb));}async[_0x3a0f4f(0x257)](){const _0x404b2a=_0x3a0f4f,_0x1b4a4f=[];this[_0x404b2a(0x18f)][_0x404b2a(0x444)]((_0x28a21d,_0x3ade72)=>{const _0x3a1644=_0x404b2a;window[_0x3a1644(0x2fe)](_0x28a21d),_0x1b4a4f[_0x3a1644(0x43f)](this[_0x3a1644(0x15a)](_0x3ade72)[_0x3a1644(0x17e)](()=>{const _0x10ffda=_0x3a1644;this[_0x10ffda(0x18f)][_0x10ffda(0x4d6)](_0x3ade72);}));}),await Promise[_0x404b2a(0x355)](_0x1b4a4f);}[_0x3a0f4f(0x228)](){const _0x23371e=_0x3a0f4f;this[_0x23371e(0x49b)](this[_0x23371e(0x14c)][_0x23371e(0x1ae)](()=>{const _0x135ea2=_0x23371e;if(this[_0x135ea2(0x18f)]['size'])return this[_0x135ea2(0x369)]['t'](_0x135ea2(0x258));}));}};z=po([Xe(0x0,_0x1526c7),Xe(0x1,_0x2053a5),Xe(0x2,_0x26c3bd),Xe(0x3,_0x4a6309(_0x440b58)),Xe(0x4,_0x4a6309(_0xf29fa))],z);function Xs(_0x37e57b){return'unit-cache-'+_0x37e57b;}var mo=Object[_0x3a0f4f(0x40a)],go=Object[_0x3a0f4f(0x409)],So=(_0x3055c6,_0x3cbc96,_0xb3d675,_0x57625e)=>{for(var _0x4c02df=_0x57625e>0x1?void 0x0:_0x57625e?go(_0x3cbc96,_0xb3d675):_0x3cbc96,_0x4414a2=_0x3055c6['length']-0x1,_0x394bc2;_0x4414a2>=0x0;_0x4414a2--)(_0x394bc2=_0x3055c6[_0x4414a2])&&(_0x4c02df=(_0x57625e?_0x394bc2(_0x3cbc96,_0xb3d675,_0x4c02df):_0x394bc2(_0x4c02df))||_0x4c02df);return _0x57625e&&_0x4c02df&&mo(_0x3cbc96,_0xb3d675,_0x4c02df),_0x4c02df;},Kt=(_0x59af5f,_0x5dda44)=>(_0xed0959,_0x4008e2)=>_0x5dda44(_0xed0959,_0x4008e2,_0x59af5f);function Io(_0x11fcc6){const _0x24531d=_0x3a0f4f,{unitID:_0x46cc9b,mutations:_0x2f4108}=_0x11fcc6;return{'unitId':_0x46cc9b,'subUnitId':_0x2f4108[0x0][_0x24531d(0x1f7)]['subUnitId']};}let wt=class{constructor(_0x4498de,_0x4ebcd7,_0x54609b){const _0x56b52f=_0x3a0f4f;this['_injector']=_0x4498de,this[_0x56b52f(0x20a)]=_0x4ebcd7,this[_0x56b52f(0x54f)]=_0x54609b;}[_0x3a0f4f(0x325)](_0x3487d7){const _0x437982=_0x3a0f4f;var _0x3d5149,_0x4c0214,_0x358d37,_0x2f3658;const _0x398cf9=this[_0x437982(0x340)][_0x437982(0x204)](_0x4552e3),{unitId:_0x99953f,subUnitId:_0x41f0da}=Io(_0x3487d7),_0x14aba2=_0x398cf9[_0x437982(0x287)](_0x99953f)[_0x437982(0x3fe)](),_0xa1f2ff=(_0x4c0214=(_0x3d5149=this[_0x437982(0x54f)][_0x437982(0x337)](_0x99953f))==null?void 0x0:_0x3d5149[_0x437982(0x425)]())==null?void 0x0:_0x4c0214[_0x437982(0x54b)]();if(_0x14aba2[_0x437982(0x312)]===0x0||!_0x99953f||!_0x41f0da)return;const _0x54f375=[{'id':_0x7f4e83['id'],'params':{'unitId':_0x99953f,'subUnitId':_0xa1f2ff,'selections':_0x1fb819['deepClone'](_0x14aba2)}}],_0xeb03bf=this[_0x437982(0x20a)][_0x437982(0x27f)](_0x3487d7,_0x54f375);if(!_0x2f8575(_0xeb03bf))throw _0xeb03bf['error'];const _0x3e5f10=(_0x2f3658=(_0x358d37=_0xeb03bf[_0x437982(0x38c)][0x0])==null?void 0x0:_0x358d37[_0x437982(0x1f7)])==null?void 0x0:_0x2f3658[_0x437982(0x3d4)];if(Array[_0x437982(0x248)](_0x3e5f10)&&_0x3e5f10[_0x437982(0x312)]){if(_0x3e5f10[_0x437982(0x312)]===_0x54f375[0x0][_0x437982(0x1f7)][_0x437982(0x3d4)][_0x437982(0x312)]&&_0x3e5f10[_0x437982(0x42b)]((_0x1358a6,_0x3e7b10)=>_0x1c27f3[_0x437982(0x15f)](_0x1358a6[_0x437982(0x4c0)],_0x54f375[0x0][_0x437982(0x1f7)][_0x437982(0x3d4)][_0x3e7b10][_0x437982(0x4c0)])))return;this['_injector'][_0x437982(0x204)](_0x21538e)['executeCommand'](_0x7f4e83['id'],{'unitId':_0x99953f,'subUnitId':_0xa1f2ff,'selections':_0x3e5f10});}}};wt=So([Kt(0x0,_0x4a6309(_0x5b64e2)),Kt(0x1,_0x4a14e2),Kt(0x2,_0x3dee00)],wt);const jt=_0x52afeb(_0x3a0f4f(0x219));var Ki=(_0x23b4a3=>(_0x23b4a3[_0x23b4a3[_0x3a0f4f(0x2c4)]=0x0]=_0x3a0f4f(0x2c4),_0x23b4a3[_0x23b4a3[_0x3a0f4f(0x32f)]=0x1]=_0x3a0f4f(0x32f),_0x23b4a3))(Ki||{});const Js=0x7530,Zs=_0x3a0f4f(0x2ba);class Co extends _0x27d038{constructor(){const _0xd1f17=_0x3a0f4f;super(),g(this,_0xd1f17(0x19c),_0x1fb819[_0xd1f17(0x4e1)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0xd1f17(0x157),new Map()),g(this,'_heartbeatTimer',null),g(this,_0xd1f17(0x368),new Map()),g(this,_0xd1f17(0x43c),new Map()),this[_0xd1f17(0x531)]();}[_0x3a0f4f(0x262)](){const _0x571f56=_0x3a0f4f;super[_0x571f56(0x262)](),this[_0x571f56(0x368)][_0x571f56(0x444)]((_0x4ab0e1,_0x4f80c0)=>this[_0x571f56(0x26d)](_0x4f80c0)),this[_0x571f56(0x125)]&&window[_0x571f56(0x16c)](this[_0x571f56(0x125)]);}['getUnitStatus$'](_0x3a3a75){const _0x4d7ab7=_0x3a0f4f;return this[_0x4d7ab7(0x15c)](_0x3a3a75)['pipe'](_0x6e44bb());}[_0x3a0f4f(0x1d3)](_0x41470e){const _0x43e4f2=_0x3a0f4f;this[_0x43e4f2(0x2a7)][_0x43e4f2(0x382)]===0x0&&this['_scheduleHeartbeat'](),this[_0x43e4f2(0x2a7)][_0x43e4f2(0x342)](_0x41470e),this[_0x43e4f2(0x1cb)]({'type':0x0,'memberID':this[_0x43e4f2(0x19c)],'unitIDs':[_0x41470e],'isForwarded':!0x1});}[_0x3a0f4f(0x322)](_0x2cb1ee){const _0x359287=_0x3a0f4f;this[_0x359287(0x2a7)][_0x359287(0x4d6)](_0x2cb1ee),this[_0x359287(0x2a7)][_0x359287(0x382)]===0x0&&this[_0x359287(0x125)]&&window[_0x359287(0x16c)](this[_0x359287(0x125)]);}['_init'](){const _0x4252fa=_0x3a0f4f;this['disposeWithMe'](_0x2ecc04(_0x14b582(window,_0x4252fa(0x502))[_0x4252fa(0x4f0)](_0x498032=>{const _0x3834eb=_0x4252fa;if(_0x498032['key']!==Zs||!_0x498032[_0x3834eb(0x336)])return;const _0x19d1c3=JSON[_0x3834eb(0x4ae)](_0x498032[_0x3834eb(0x336)]);this[_0x3834eb(0x146)](_0x19d1c3);}))),window[_0x4252fa(0x30a)]('unload',()=>this[_0x4252fa(0x1cb)]({'type':0x1,'memberID':this[_0x4252fa(0x19c)],'unitIDs':Array[_0x4252fa(0x2ef)](this[_0x4252fa(0x2a7)])}));}['_handleEvent'](_0x383412){const _0x56fea6=_0x3a0f4f;switch(_0x383412[_0x56fea6(0x550)]){case 0x0:this[_0x56fea6(0x47e)](_0x383412);break;case 0x1:this[_0x56fea6(0x1bf)](_0x383412);break;case 0x2:this['_handleHeartbeatEvent'](_0x383412);break;}}[_0x3a0f4f(0x47e)](_0x4bf5d5){const _0x3cc32a=_0x3a0f4f,{unitIDs:_0xae746a,memberID:_0x49f376,isForwarded:_0x28c235}=_0x4bf5d5;_0xae746a[_0x3cc32a(0x444)](_0x5eec87=>{const _0x550f20=_0x3cc32a;if(!_0x28c235&&this['_unitOnClients'][_0x550f20(0x261)](_0x5eec87)&&this[_0x550f20(0x15c)](_0x5eec87)[_0x550f20(0x25c)](0x1),!this['_unitOnClients'][_0x550f20(0x261)](_0x5eec87)||!this[_0x550f20(0x157)][_0x550f20(0x204)](_0x5eec87)[_0x550f20(0x261)](_0x49f376)){const _0x208f7c=this[_0x550f20(0x157)]['get'](_0x5eec87)||new Set();_0x208f7c['add'](_0x49f376),this[_0x550f20(0x157)]['set'](_0x5eec87,_0x208f7c),this[_0x550f20(0x4ff)](_0x49f376);}}),_0x28c235||this[_0x3cc32a(0x1cb)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3cc32a(0x2a7)]],'isForwarded':!0x0});}[_0x3a0f4f(0x4ff)](_0x27f832){const _0x265126=_0x3a0f4f;this['_removeClearOtherTimer'](_0x27f832);const _0x48329e=window[_0x265126(0x4d7)](()=>{const _0x1c9ea0=_0x265126;this[_0x1c9ea0(0x157)]['forEach'](_0x80ba56=>{const _0x2b6e17=_0x1c9ea0;_0x80ba56[_0x2b6e17(0x4d6)](_0x27f832);});},Js*0x2);this[_0x265126(0x368)][_0x265126(0x4d9)](_0x27f832,_0x48329e);}[_0x3a0f4f(0x26d)](_0x2af9b5){const _0x54ea9e=_0x3a0f4f;if(this[_0x54ea9e(0x368)]['has'](_0x2af9b5)){const _0x3808e4=this['_clearOtherTimers'][_0x54ea9e(0x204)](_0x2af9b5);_0x3808e4&&window['clearTimeout'](_0x3808e4),this[_0x54ea9e(0x368)]['set'](_0x2af9b5,null);}}[_0x3a0f4f(0x1bf)](_0x49d473){const _0x5252e7=_0x3a0f4f,{memberID:_0x3e87bd,unitIDs:_0x5cb47d}=_0x49d473;_0x5cb47d['forEach'](_0x3e21d5=>{const _0x398e7b=_0x328b;var _0x4d74db;const _0x56cf94=this['_unitOnClients'][_0x398e7b(0x204)](_0x3e21d5);_0x56cf94&&(_0x56cf94[_0x398e7b(0x4d6)](_0x3e87bd),(_0x4d74db=this[_0x398e7b(0x15c)](_0x3e21d5))==null||_0x4d74db[_0x398e7b(0x25c)](_0x56cf94[_0x398e7b(0x382)]===0x0?0x0:0x1));}),this[_0x5252e7(0x26d)](_0x3e87bd);}['_handleHeartbeatEvent'](_0x54280f){const _0x52aa68=_0x3a0f4f;this[_0x52aa68(0x4ff)](_0x54280f['memberID']);}['_send'](_0x4bc3f8){const _0x3a8072=_0x3a0f4f;localStorage['setItem'](Zs,JSON[_0x3a8072(0x332)](_0x4bc3f8));}[_0x3a0f4f(0x1e8)](){const _0x3847fa=_0x3a0f4f;this['_heartbeatTimer']=window[_0x3847fa(0x2fd)](()=>{const _0x4c99f7=_0x3847fa;this[_0x4c99f7(0x1cb)]({'type':0x2,'memberID':this[_0x4c99f7(0x19c)]});},Js);}[_0x3a0f4f(0x15c)](_0x338bda){const _0x233ca9=_0x3a0f4f;return this[_0x233ca9(0x43c)][_0x233ca9(0x261)](_0x338bda)||this[_0x233ca9(0x43c)][_0x233ca9(0x4d9)](_0x338bda,new _0x1f5fb9(0x0)),this[_0x233ca9(0x43c)][_0x233ca9(0x204)](_0x338bda);}}var Eo=Object[_0x3a0f4f(0x40a)],bo=Object[_0x3a0f4f(0x409)],To=(_0x257fac,_0xbf969c,_0x49e2bd,_0x5975c9)=>{const _0x2155e3=_0x3a0f4f;for(var _0x242bf3=_0x5975c9>0x1?void 0x0:_0x5975c9?bo(_0xbf969c,_0x49e2bd):_0xbf969c,_0x3da5c4=_0x257fac[_0x2155e3(0x312)]-0x1,_0x20f685;_0x3da5c4>=0x0;_0x3da5c4--)(_0x20f685=_0x257fac[_0x3da5c4])&&(_0x242bf3=(_0x5975c9?_0x20f685(_0xbf969c,_0x49e2bd,_0x242bf3):_0x20f685(_0x242bf3))||_0x242bf3);return _0x5975c9&&_0x242bf3&&Eo(_0xbf969c,_0x49e2bd,_0x242bf3),_0x242bf3;},qt=(_0x51abb0,_0x3116e3)=>(_0x533c8e,_0x4d15c4)=>_0x3116e3(_0x533c8e,_0x4d15c4,_0x51abb0);let Dt=class{constructor(_0x2ec9fd,_0x1f4972,_0x4da505){const _0x7dbd79=_0x3a0f4f;this['_injector']=_0x2ec9fd,this['_transformService']=_0x1f4972,this[_0x7dbd79(0x4e7)]=_0x4da505;}[_0x3a0f4f(0x393)](_0xfde4a2){const _0x490000=_0x3a0f4f;this[_0x490000(0x404)](_0xfde4a2);}[_0x3a0f4f(0x394)](_0x4d461c){const _0xd04e8b=_0x3a0f4f,{unitID:_0x1a7e27}=_0x4d461c,{collaboration:_0x27b554}=this[_0xd04e8b(0x4e7)][_0xd04e8b(0x38f)](_0x1a7e27);if(_0x27b554[_0xd04e8b(0x312)]===0x0)return _0x4d461c;let _0x307454=_0x1fb819[_0xd04e8b(0x180)](_0x4d461c[_0xd04e8b(0x4de)][0x0]);for(let _0x1b5e41=0x0;_0x1b5e41<_0x27b554['length'];_0x1b5e41++){const _0x50c685={'id':_0xd04e8b(0x310),'params':{'unitId':_0x27b554[_0x1b5e41][_0xd04e8b(0x492)],..._0x27b554[_0x1b5e41][_0xd04e8b(0x2a5)]}},_0x4845be=this['_transformService']['transformMutation'](_0x307454,_0x50c685,!0x1);if(_0x2a1d0d(_0x4845be))throw _0x4845be[_0xd04e8b(0x34b)];_0x307454=_0x4845be[_0xd04e8b(0x384)];}return{..._0x1fb819[_0xd04e8b(0x180)](_0x4d461c),'mutations':[_0x307454]};}[_0x3a0f4f(0x404)](_0x2dbfbc){const _0x574899=_0x3a0f4f,{unitID:_0x5ea967}=_0x2dbfbc,{history:_0x4de58c,collaboration:_0x1cd7f7}=this['_docStateChangeManagerService']['getStateCache'](_0x5ea967);if(_0x4de58c[_0x574899(0x312)]===0x0&&_0x1cd7f7[_0x574899(0x312)]===0x0)return;const _0x3352e6=[],_0x4fbc59=[];let _0x65382=_0x1fb819['deepClone'](_0x2dbfbc['mutations'][0x0]),_0x580cc7=_0x1fb819[_0x574899(0x180)](_0x2dbfbc[_0x574899(0x4de)][0x0]);for(let _0x58f33e=_0x4de58c[_0x574899(0x312)]-0x1;_0x58f33e>=0x0;_0x58f33e--){const _0x31fca0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4de58c[_0x58f33e][_0x574899(0x492)],..._0x4de58c[_0x58f33e]['undoState']}},_0x509010={'id':_0x574899(0x310),'params':{'unitId':_0x4de58c[_0x58f33e][_0x574899(0x492)],..._0x4de58c[_0x58f33e]['redoState']}},_0x386bdc=this[_0x574899(0x20a)][_0x574899(0x313)](_0x65382,_0x31fca0,!0x1),_0x7f5454=this[_0x574899(0x20a)][_0x574899(0x313)](_0x580cc7,_0x509010,!0x1);if(_0x2a1d0d(_0x386bdc))throw _0x386bdc[_0x574899(0x34b)];if(_0x2a1d0d(_0x7f5454))throw _0x7f5454[_0x574899(0x34b)];_0x3352e6[_0x574899(0x3e6)]({..._0x4de58c[_0x58f33e],'undoState':_0x386bdc[_0x574899(0x38c)][_0x574899(0x1f7)],'redoState':_0x7f5454[_0x574899(0x38c)][_0x574899(0x1f7)]}),_0x65382=_0x386bdc[_0x574899(0x384)],_0x580cc7=_0x7f5454[_0x574899(0x384)];}_0x65382=_0x1fb819[_0x574899(0x180)](_0x2dbfbc[_0x574899(0x4de)][0x0]),_0x580cc7=_0x1fb819[_0x574899(0x180)](_0x2dbfbc[_0x574899(0x4de)][0x0]);for(let _0x579388=_0x1cd7f7[_0x574899(0x312)]-0x1;_0x579388>=0x0;_0x579388--){const _0x54cbea={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cd7f7[_0x579388][_0x574899(0x492)],..._0x1cd7f7[_0x579388][_0x574899(0x33a)]}},_0x109790={'id':_0x574899(0x310),'params':{'unitId':_0x1cd7f7[_0x579388][_0x574899(0x492)],..._0x1cd7f7[_0x579388][_0x574899(0x2a5)]}},_0x4598b5=this[_0x574899(0x20a)][_0x574899(0x313)](_0x65382,_0x54cbea,!0x1),_0x2ad851=this[_0x574899(0x20a)]['transformMutation'](_0x580cc7,_0x109790,!0x1);if(_0x2a1d0d(_0x4598b5))throw _0x4598b5['error'];if(_0x2a1d0d(_0x2ad851))throw _0x2ad851[_0x574899(0x34b)];_0x4fbc59['unshift']({..._0x1cd7f7[_0x579388],'undoState':_0x4598b5['m2Prime'][_0x574899(0x1f7)],'redoState':_0x2ad851[_0x574899(0x38c)][_0x574899(0x1f7)]}),_0x65382=_0x4598b5[_0x574899(0x384)],_0x580cc7=_0x2ad851[_0x574899(0x384)];}this[_0x574899(0x4e7)]['setStateCache'](_0x5ea967,{'history':_0x3352e6,'collaboration':_0x4fbc59});}};Dt=To([qt(0x0,_0x4a6309(_0x5b64e2)),qt(0x1,_0x4a14e2),qt(0x2,_0x4a6309(_0x35bc43))],Dt);function qi(_0x5f595f){let _0x2d4b41='';for(const _0x31dd4c of _0x5f595f){const {startOffset:_0x5ac136,endOffset:_0x4a07f9,isActive:_0x4d3db9,rangeType:_0x30c79d,segmentId:_0x4c0eac,segmentPage:_0x228414}=_0x31dd4c;_0x2d4b41['length']&&(_0x2d4b41+=','),_0x2d4b41+=_0x5ac136+':'+_0x4a07f9+':'+(_0x4d3db9?'1':'0')+':'+_0x30c79d+':'+_0x4c0eac+':'+_0x228414;}return _0x2d4b41;}function Ro(_0x1bd1f1){const _0x3019b8=_0x3a0f4f,_0x1d8411=_0x1bd1f1['split'](','),_0x372237=[];for(const _0x55f107 of _0x1d8411){const [_0x57ea54,_0x25cab4,_0x59a525,_0x4c1781,_0x201603,_0x4a4a72]=_0x55f107[_0x3019b8(0x486)](':');_0x372237[_0x3019b8(0x43f)]({'startOffset':Number(_0x57ea54),'endOffset':Number(_0x25cab4),'collapsed':_0x57ea54===_0x25cab4,'isActive':_0x59a525==='1','rangeType':_0x4c1781===_0x55dcfe['TEXT']?_0x55dcfe[_0x3019b8(0x399)]:_0x55dcfe[_0x3019b8(0x290)],'segmentId':typeof _0x201603=='string'?String(_0x201603):'','segmentPage':Number(_0x4a4a72!=null?_0x4a4a72:-0x1)});}return _0x372237[_0x3019b8(0x194)](_0x4ed77f=>_0x4ed77f[_0x3019b8(0x2ff)])||(_0x372237[0x0][_0x3019b8(0x2ff)]=!0x0),_0x372237;}class Ds extends _0x5a2d55{constructor(){const _0x30f933=_0x3a0f4f;super(...arguments),g(this,_0x30f933(0x279),new _0x1f5fb9(null)),g(this,'collabCursorState$',this[_0x30f933(0x279)]['asObservable']());}[_0x3a0f4f(0x265)](_0x4e0979){const _0x143faf=_0x3a0f4f,{unitID:_0x51ba84,memberID:_0x555abf,textRanges:_0x373e45}=_0x4e0979,_0x183cac=qi(_0x373e45);if(_0x183cac==='')return;const _0x52d025={'unitID':_0x51ba84,'memberID':_0x555abf,'selection':_0x183cac};this['_collabCursorState$'][_0x143faf(0x25c)](_0x52d025);}}var Oo=Object[_0x3a0f4f(0x40a)],yo=Object[_0x3a0f4f(0x409)],wo=(_0xb5522a,_0x44cfe7,_0xa85f9f,_0xcdeb7)=>{const _0x228675=_0x3a0f4f;for(var _0x46a05b=_0xcdeb7>0x1?void 0x0:_0xcdeb7?yo(_0x44cfe7,_0xa85f9f):_0x44cfe7,_0x4d6727=_0xb5522a[_0x228675(0x312)]-0x1,_0x429318;_0x4d6727>=0x0;_0x4d6727--)(_0x429318=_0xb5522a[_0x4d6727])&&(_0x46a05b=(_0xcdeb7?_0x429318(_0x44cfe7,_0xa85f9f,_0x46a05b):_0x429318(_0x46a05b))||_0x46a05b);return _0xcdeb7&&_0x46a05b&&Oo(_0x44cfe7,_0xa85f9f,_0x46a05b),_0x46a05b;},Qs=(_0x3839a8,_0x277c89)=>(_0x3bc8f7,_0x142ee0)=>_0x277c89(_0x3bc8f7,_0x142ee0,_0x3839a8);let Pt=class{constructor(_0x41b329,_0x4e633a){const _0xf89589=_0x3a0f4f;this[_0xf89589(0x340)]=_0x41b329,this[_0xf89589(0x20a)]=_0x4e633a;}[_0x3a0f4f(0x325)](_0x4e1a24){const _0x153828=_0x3a0f4f;var _0x3c26d9;const _0x1299dc=this[_0x153828(0x340)]['get'](_0x2fa7fd),_0x4916e2=(_0x3c26d9=_0x1299dc[_0x153828(0x371)]())!=null?_0x3c26d9:[];if(_0x4916e2[_0x153828(0x312)]===0x0)return;const _0x44738c=_0x4e1a24[_0x153828(0x321)],_0x2ef592=[{'id':_0x153828(0x310),'params':{'unitId':_0x44738c,'actions':null,'textRanges':_0x4916e2}}],_0x35953d=this['_transformService']['transformMutationsWithChangeset'](_0x4e1a24,_0x2ef592);if(!_0x2f8575(_0x35953d))throw _0x35953d[_0x153828(0x34b)];const _0x1b3b6a=_0x35953d[_0x153828(0x38c)][0x0][_0x153828(0x1f7)]['textRanges'];Array['isArray'](_0x1b3b6a)&&_0x1b3b6a[_0x153828(0x312)]&&_0x1299dc[_0x153828(0x442)](_0x1b3b6a,{'unitId':_0x44738c,'subUnitId':_0x44738c},!0x1);}};Pt=wo([Qs(0x0,_0x4a6309(_0x5b64e2)),Qs(0x1,_0x4a14e2)],Pt);const Do=new Set([_0x52f94d['id']]);function ei(_0x14b970,_0x328413,_0x418881,_0x146dc3,_0x2dcac4){const _0x9fd20a=_0x3a0f4f;var _0x525a0d,_0x1e0563,_0x59e767,_0x362ae5;const _0x59c8ef=[];for(const _0x5e9d4c of _0x14b970)if(Do['has'](_0x5e9d4c['id'])){if(_0x59c8ef['length']>0x0)break;_0x59c8ef[_0x9fd20a(0x43f)](_0x5e9d4c);break;}else _0x59c8ef['push'](_0x5e9d4c);const _0x23c2ed=(_0x1e0563=(_0x525a0d=_0x2dcac4[_0x9fd20a(0x521)]())==null?void 0x0:_0x525a0d[_0x9fd20a(0x20f)])!=null?_0x1e0563:_0x9fd20a(0x508),_0x1b1a6e=(_0x362ae5=(_0x59e767=_0x2dcac4[_0x9fd20a(0x521)]())==null?void 0x0:_0x59e767['memberID'])!=null?_0x362ae5:_0x9fd20a(0x508);return{'changeset':{'unitID':_0x328413,'type':_0xe3f7d(_0x418881[_0x9fd20a(0x2aa)](_0x328413)),'baseRev':_0x146dc3['getCurrentRevOfUnit'](_0x328413),'revision':0x0,'userID':_0x23c2ed,'memberID':_0x1b1a6e,'mutations':_0x59c8ef},'pendingMutations':_0x14b970['slice'](_0x59c8ef[_0x9fd20a(0x312)])};}function Po(_0x5ad8ef,_0x25efc4,_0x55f9b8,_0x4be0f0,_0x16456b){const _0xf53801=_0x3a0f4f;var _0x5dbf16,_0x1c1c1b,_0x250073,_0x142496;const _0x403e1f=[_0x5ad8ef[_0xf53801(0x479)]((_0xd6984f,_0x38b619)=>{const _0x24b718=_0xf53801;var _0x4ff11b;const {id:_0x506ba9}=_0xd6984f,{id:_0x417b28,type:_0x17ebe7}=_0x38b619,_0x39742b=(_0x4ff11b=_0xd6984f[_0x24b718(0x1f7)])!=null?_0x4ff11b:{'actions':null},_0x5b7c09=_0x38b619[_0x24b718(0x1f7)];if(_0x506ba9&&_0x506ba9!==_0x417b28)throw new Error(_0x24b718(0x3ba)+_0x506ba9+_0x24b718(0x22d)+_0x417b28+'.');return{..._0xd6984f,'id':_0x417b28,'type':_0x17ebe7,'params':{'unitId':_0x5b7c09[_0x24b718(0x492)],'textRanges':_0x5b7c09['textRanges'],'actions':_0x296537[_0x24b718(0x13a)](_0x39742b['actions'],_0x5b7c09['actions'])}};},{})],_0x1924d3=(_0x1c1c1b=(_0x5dbf16=_0x16456b[_0xf53801(0x521)]())==null?void 0x0:_0x5dbf16['userID'])!=null?_0x1c1c1b:_0xf53801(0x508),_0x545d65=(_0x142496=(_0x250073=_0x16456b['getCurrentUser']())==null?void 0x0:_0x250073['memberID'])!=null?_0x142496:'unknown';return{'changeset':{'unitID':_0x25efc4,'type':_0xe3f7d(_0x55f9b8['getUnitType'](_0x25efc4)),'baseRev':_0x4be0f0[_0xf53801(0x528)](_0x25efc4),'revision':0x0,'userID':_0x1924d3,'memberID':_0x545d65,'mutations':_0x403e1f},'pendingMutations':[]};}function zi(_0x483237,_0x45df2a){const _0x4c0134=_0x3a0f4f,_0x2ec4ad=new _0x582b98(0x1);return setTimeout(()=>_0x2ec4ad['next'](_0x45df2a),_0x483237),_0x2ec4ad['asObservable']()[_0x4c0134(0x2af)](_0x448099(0x1));}const No={'id':_0x12dae3['id'],'type':_0x49b017['MUTATION'],'params':{}};var Uo=Object[_0x3a0f4f(0x40a)],Ao=Object[_0x3a0f4f(0x409)],$e=(_0x43537d,_0x2faf43,_0x3b3e29,_0x208be7)=>{const _0x3459b8=_0x3a0f4f;for(var _0x2b2183=_0x208be7>0x1?void 0x0:_0x208be7?Ao(_0x2faf43,_0x3b3e29):_0x2faf43,_0x50961f=_0x43537d[_0x3459b8(0x312)]-0x1,_0x54d855;_0x50961f>=0x0;_0x50961f--)(_0x54d855=_0x43537d[_0x50961f])&&(_0x2b2183=(_0x208be7?_0x54d855(_0x2faf43,_0x3b3e29,_0x2b2183):_0x54d855(_0x2b2183))||_0x2b2183);return _0x208be7&&_0x2b2183&&Uo(_0x2faf43,_0x3b3e29,_0x2b2183),_0x2b2183;},A=(_0x1cf948,_0x233bcc)=>(_0x243639,_0x488251)=>_0x233bcc(_0x243639,_0x488251,_0x1cf948),J=(_0x20e52f=>(_0x20e52f['NOT_COLLAB']='not_collab',_0x20e52f['SYNCED']=_0x3a0f4f(0x3a6),_0x20e52f[_0x3a0f4f(0x39b)]=_0x3a0f4f(0x35b),_0x20e52f[_0x3a0f4f(0x4a1)]=_0x3a0f4f(0x471),_0x20e52f[_0x3a0f4f(0x288)]=_0x3a0f4f(0x280),_0x20e52f[_0x3a0f4f(0x3e4)]=_0x3a0f4f(0x40c),_0x20e52f[_0x3a0f4f(0x139)]=_0x3a0f4f(0x523),_0x20e52f[_0x3a0f4f(0x275)]=_0x3a0f4f(0x1ea),_0x20e52f))(J||{});const Xi=0xea60;class He{constructor(_0x508bd3,_0x547896,_0x3dd8ed,_0x3ab9f2,_0x25f851,_0x274cad,_0xe1a5d7,_0x130300,_0x26fc5e){const _0xc33f2b=_0x3a0f4f;g(this,_0xc33f2b(0x1c0),null),g(this,_0xc33f2b(0x193),[]),(this[_0xc33f2b(0x321)]=_0x508bd3,this[_0xc33f2b(0x550)]=_0x547896,this[_0xc33f2b(0x470)]=_0x25f851,this[_0xc33f2b(0x418)]=_0x274cad,this[_0xc33f2b(0x2b0)]=_0xe1a5d7,this[_0xc33f2b(0x480)]=_0x130300,this[_0xc33f2b(0x1dc)]=_0x26fc5e,this[_0xc33f2b(0x1c0)]=_0x3dd8ed,this[_0xc33f2b(0x193)]=_0x3ab9f2);}[_0x3a0f4f(0x1b7)](_0xe4af28){const _0x139ded=_0x3a0f4f,_0x51c4ac=this['_revisionService'][_0x139ded(0x528)](this['unitID']);return _0xe4af28[_0x139ded(0x14b)]>_0x51c4ac+0x1?(this[_0x139ded(0x470)]['onMissingChangesets']({'from':_0x51c4ac,'to':_0xe4af28[_0x139ded(0x14b)]-0x1}),!0x0):!0x1;}[_0x3a0f4f(0x535)](_0x5d2248){const _0xc48307=_0x3a0f4f;this[_0xc48307(0x2b0)]['transformUndoRedo'](this[_0xc48307(0x321)],_0x5d2248);}['_transformSelections'](_0x3eba11){const _0x266478=_0x3a0f4f;var _0x3aad91,_0x526102;(_0x526102=(_0x3aad91=this[_0x266478(0x470)])[_0x266478(0x458)])==null||_0x526102['call'](_0x3aad91,_0x3eba11);}[_0x3a0f4f(0x23a)](_0x31e5ed){const _0x4716a5=_0x3a0f4f;var _0x1b5ae2,_0x2613ce;return(_0x2613ce=(_0x1b5ae2=this[_0x4716a5(0x470)])[_0x4716a5(0x46d)])==null?void 0x0:_0x2613ce[_0x4716a5(0x140)](_0x1b5ae2,_0x31e5ed);}[_0x3a0f4f(0x420)](_0x5b1c92){const _0x2796fe=_0x3a0f4f;var _0x40fbe9,_0x25d5c6;return(_0x25d5c6=(_0x40fbe9=this[_0x2796fe(0x470)])[_0x2796fe(0x190)])==null?void 0x0:_0x25d5c6[_0x2796fe(0x140)](_0x40fbe9,_0x5b1c92);}[_0x3a0f4f(0x36d)](_0x94a7f1){const _0x46e96e=_0x3a0f4f;var _0x6ae271,_0x20f9cb,_0x1ed771;return(_0x1ed771=(_0x20f9cb=(_0x6ae271=this['_handler'])[_0x46e96e(0x1b8)])==null?void 0x0:_0x20f9cb[_0x46e96e(0x140)](_0x6ae271,_0x94a7f1))!=null?_0x1ed771:_0x94a7f1;}[_0x3a0f4f(0x2a6)](_0x5b9fc8){const _0xa37f57=_0x3a0f4f;var _0x4ca4e8,_0x147347,_0x1f8555;return(_0x1f8555=(_0x147347=(_0x4ca4e8=this[_0xa37f57(0x470)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x147347[_0xa37f57(0x140)](_0x4ca4e8,_0x5b9fc8))!=null?_0x1f8555:_0x5b9fc8;}[_0x3a0f4f(0x3c5)](_0x4e0653){const _0x3fe9bf=_0x3a0f4f;var _0x898c2b,_0x481482;if(this[_0x3fe9bf(0x550)]===ae[_0x3fe9bf(0x12b)]){const {unitID:_0x1ea044,mutations:_0x11b4ae,memberID:_0x30f57b}=_0x4e0653,_0x2d2d17=_0x11b4ae[0x0]['params']['textRanges'];Array[_0x3fe9bf(0x248)](_0x2d2d17)&&_0x2d2d17[_0x3fe9bf(0x312)]>0x0&&((_0x481482=(_0x898c2b=this['_handler'])[_0x3fe9bf(0x351)])==null||_0x481482['call'](_0x898c2b,{'unitID':_0x1ea044,'memberID':_0x30f57b,'textRanges':_0x2d2d17}));}}[_0x3a0f4f(0x37e)](){const _0x27d28f=_0x3a0f4f;this[_0x27d28f(0x1dc)]['updateOfflineData'](this['unitID'],this[_0x27d28f(0x550)],this[_0x27d28f(0x1c0)],this[_0x27d28f(0x193)]);}[_0x3a0f4f(0x2ac)](){const _0x4ffbd1=_0x3a0f4f;return this[_0x4ffbd1(0x480)][_0x4ffbd1(0x528)](this[_0x4ffbd1(0x321)]);}['_incrementRevisionNumber'](){const _0x483004=_0x3a0f4f;this[_0x483004(0x480)]['incrementRevOfUnit'](this[_0x483004(0x321)]);}[_0x3a0f4f(0x354)](_0x12baba){const _0x4e861a=_0x3a0f4f;var _0x2f2a98;let _0x565dc2=this['_transformRemoteChangesetByIMECache'](_0x12baba);_0x565dc2=this[_0x4e861a(0x2a6)](_0x565dc2);const _0x4ae284=_0x29c979(_0x565dc2[_0x4e861a(0x4de)],this[_0x4e861a(0x418)],{'fromCollab':!0x0});if(!_0x4ae284[_0x4e861a(0x430)])throw _0x4ae284[_0x4e861a(0x34b)]instanceof Error?_0x4ae284[_0x4e861a(0x34b)]:new Error((_0x2f2a98=_0x4ae284[_0x4e861a(0x34b)])!=null?_0x2f2a98:_0x4e861a(0x3db));this[_0x4e861a(0x23a)](_0x565dc2),this['_transformStateCache'](_0x565dc2),this['_transformUndoredo'](_0x12baba),this[_0x4e861a(0x27d)](_0x565dc2),this['_syncEditingCollabCursor'](_0x565dc2),this[_0x4e861a(0x4fa)]();}}let Fe=class extends He{constructor(_0x95ee5b,_0x4fc351,_0xbd9859,_0x5110c6,_0x496aad,_0x126de2,_0x354fad,_0x43a800,_0x53bcf4,_0x5052d1){const _0x16eef6=_0x3a0f4f;super(_0x95ee5b,_0x4fc351,null,[],_0xbd9859,_0x43a800,_0x354fad,_0x5110c6,_0x496aad),g(this,_0x16eef6(0x35d),_0x16eef6(0x3a6)),(this[_0x16eef6(0x340)]=_0x126de2,this[_0x16eef6(0x2d8)]=_0x53bcf4,this['_transformService']=_0x5052d1);}[_0x3a0f4f(0x2f0)](_0x594273){const _0x48fbff=_0x3a0f4f,_0x1f4432=this[_0x48fbff(0x340)]['createInstance'](pe,this[_0x48fbff(0x321)],this[_0x48fbff(0x550)],[_0x594273],this[_0x48fbff(0x470)]);return _0x1f4432['_schedule'](),_0x1f4432[_0x48fbff(0x37e)](),_0x1f4432;}[_0x3a0f4f(0x167)](_0x5c6768){const _0x237673=_0x3a0f4f;if(this[_0x237673(0x1b7)](_0x5c6768))return this['_injector'][_0x237673(0x4d0)](ce,this[_0x237673(0x321)],this[_0x237673(0x550)],null,[],null,[_0x5c6768],this[_0x237673(0x470)]);try{const _0x2cf3d5=this[_0x237673(0x20a)][_0x237673(0x27f)](_0x5c6768,[No]);if(_0x2f8575(_0x2cf3d5)){const {c1Prime:_0x48106d}=_0x2cf3d5;return this['_executeRemoteChangeset'](_0x48106d),this;}throw _0x2cf3d5[_0x237673(0x34b)];}catch(_0x5e1016){return this['_logService'][_0x237673(0x34b)](_0x5e1016),this[_0x237673(0x3e3)](!0x1);}}['_onConflict'](_0x166efa){const _0x3d3f59=_0x3a0f4f;return this[_0x3d3f59(0x340)][_0x3d3f59(0x4d0)](Re,this[_0x3d3f59(0x321)],this[_0x3d3f59(0x550)],null,[],this['_handler'],_0x166efa);}[_0x3a0f4f(0x44a)](){const _0x3c412d=_0x3a0f4f;throw new Error(_0x3c412d(0x1f0));}[_0x3a0f4f(0x1c4)](){const _0x100b4b=_0x3a0f4f;throw new Error(_0x100b4b(0x44d));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x463eaa=_0x3a0f4f;return this[_0x463eaa(0x340)][_0x463eaa(0x4d0)](Oe,this[_0x463eaa(0x321)],this[_0x463eaa(0x550)],null,[],this[_0x463eaa(0x470)]);}[_0x3a0f4f(0x2cc)](){return this;}[_0x3a0f4f(0x297)](){const _0x16ee4e=_0x3a0f4f;throw new Error(_0x16ee4e(0x428));}['fetchMiss'](){const _0x5bb871=_0x3a0f4f,_0x1473db=this[_0x5bb871(0x480)][_0x5bb871(0x528)](this[_0x5bb871(0x321)]);return this['_handler'][_0x5bb871(0x225)]({'from':_0x1473db,'to':0x0}),this[_0x5bb871(0x340)]['createInstance'](ce,this[_0x5bb871(0x321)],this[_0x5bb871(0x550)],null,[],null,[],this[_0x5bb871(0x470)]);}};Fe=$e([A(0x3,_0x4a6309(_0xf29fa)),A(0x4,_0x4a6309(z)),A(0x5,_0x4a6309(_0x5b64e2)),A(0x6,_0x28c671),A(0x7,_0x21538e),A(0x8,_0x4c9627),A(0x9,_0x4a14e2)],Fe);let pe=class extends He{constructor(_0x1b8d0f,_0x336c0b,_0x3a6312,_0x1b6646,_0x1d6270,_0x1ebad3,_0xb4b9eb,_0x124ab1,_0x251491,_0x1b6234,_0x21609b,_0x52dab3,_0x32f551,_0x5229b5){const _0x4e09f9=_0x3a0f4f;super(_0x1b8d0f,_0x336c0b,null,_0x3a6312,_0x1b6646,_0x1b6234,_0x5229b5,_0x1ebad3,_0xb4b9eb),g(this,'status',_0x4e09f9(0x35b)),g(this,_0x4e09f9(0x200),null),g(this,_0x4e09f9(0x453),null),(this[_0x4e09f9(0x340)]=_0x1d6270,this['_memberService']=_0x124ab1,this['_logService']=_0x251491,this['_configService']=_0x21609b,this[_0x4e09f9(0x20a)]=_0x52dab3,this['_univerInstanceService']=_0x32f551);}[_0x3a0f4f(0x2f0)](_0x56dd11){const _0x1f0e05=_0x3a0f4f;return this[_0x1f0e05(0x193)][_0x1f0e05(0x43f)](_0x56dd11),this[_0x1f0e05(0x37e)](),this;}[_0x3a0f4f(0x167)](_0x1c451c){const _0x2044d2=_0x3a0f4f;if(this[_0x2044d2(0x1b7)](_0x1c451c))return this['_clearScheduledTask'](),this[_0x2044d2(0x340)][_0x2044d2(0x4d0)](ce,this[_0x2044d2(0x321)],this[_0x2044d2(0x550)],null,this[_0x2044d2(0x193)],null,[_0x1c451c],this[_0x2044d2(0x470)]);try{const _0x20976a=this[_0x2044d2(0x20a)][_0x2044d2(0x27f)](_0x1c451c,this[_0x2044d2(0x193)]);if(_0x2f8575(_0x20976a)){const {c1Prime:_0x41bfac,m2Prime:_0x4fd2cf}=_0x20976a;this['_executeRemoteChangeset'](_0x41bfac);const _0x52bed0=this['_injector'][_0x2044d2(0x4d0)](pe,this[_0x2044d2(0x321)],this[_0x2044d2(0x550)],_0x4fd2cf,this[_0x2044d2(0x470)]);return this[_0x2044d2(0x320)](),_0x52bed0[_0x2044d2(0x18a)](this[_0x2044d2(0x200)]?Math['max'](0x0,new Date()[_0x2044d2(0x2cd)]()-this[_0x2044d2(0x200)]):this['_getSendChangesetTimeout']()),_0x52bed0;}throw _0x20976a[_0x2044d2(0x34b)];}catch(_0x156b1){return this[_0x2044d2(0x2d8)][_0x2044d2(0x34b)](_0x156b1),this[_0x2044d2(0x3e3)](!0x1);}}[_0x3a0f4f(0x44a)](){const _0x3772c7=_0x3a0f4f;throw new Error(_0x3772c7(0x40f));}[_0x3a0f4f(0x1c4)](){const _0x117f44=_0x3a0f4f;throw new Error(_0x117f44(0x37f));}[_0x3a0f4f(0x169)](){return this;}[_0x3a0f4f(0x149)](){const _0x3d7b7b=_0x3a0f4f;return this[_0x3d7b7b(0x320)](),this[_0x3d7b7b(0x340)][_0x3d7b7b(0x4d0)](Oe,this['unitID'],this[_0x3d7b7b(0x550)],null,this[_0x3d7b7b(0x193)],this['_handler']);}['toggleOnline'](){return this;}[_0x3a0f4f(0x18a)](_0x1fb2e9){const _0x3cad74=_0x3a0f4f,_0x41a752=_0x1fb2e9!=null?_0x1fb2e9:this[_0x3cad74(0x378)]();this['_scheduleTimestamp']=new Date()[_0x3cad74(0x2cd)](),this[_0x3cad74(0x453)]=window['setTimeout'](()=>{const _0xc1fed0=_0x3cad74;this[_0xc1fed0(0x320)]();let _0x4d6ff3=null;switch(this[_0xc1fed0(0x550)]){case ae[_0xc1fed0(0x12e)]:{_0x4d6ff3=ei(this[_0xc1fed0(0x193)],this[_0xc1fed0(0x321)],this['_univerInstanceService'],this[_0xc1fed0(0x480)],this['_memberService']);break;}case ae[_0xc1fed0(0x12b)]:{this[_0xc1fed0(0x193)][_0xc1fed0(0x42b)](_0x5f30af=>_0x5f30af['id']===_0x69a97a['id'])?_0x4d6ff3=Po(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0xc1fed0(0x2e8)]):_0x4d6ff3=ei(this[_0xc1fed0(0x193)],this[_0xc1fed0(0x321)],this['_univerInstanceService'],this[_0xc1fed0(0x480)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0xc1fed0(0x4a0));}const {changeset:_0xfd9c4c,pendingMutations:_0x1f315b}=_0x4d6ff3;this[_0xc1fed0(0x470)][_0xc1fed0(0x385)](_0xfd9c4c);const _0x51c1d0=_0x1f315b[_0xc1fed0(0x312)]?this[_0xc1fed0(0x340)][_0xc1fed0(0x4d0)](me,this[_0xc1fed0(0x321)],this['type'],_0xfd9c4c,_0x1f315b,this[_0xc1fed0(0x470)],void 0x0):this[_0xc1fed0(0x340)][_0xc1fed0(0x4d0)](Te,this['unitID'],this[_0xc1fed0(0x550)],_0xfd9c4c,this['_handler']);_0x51c1d0[_0xc1fed0(0x37e)](),this['_handler'][_0xc1fed0(0x1e6)](this,_0x51c1d0);},_0x41a752);}[_0x3a0f4f(0x378)](){const _0x3dbf6f=_0x3a0f4f;var _0xecbe60;const _0x4c7da7=this[_0x3dbf6f(0x145)]['getConfig'](Q);return(_0xecbe60=_0x4c7da7==null?void 0x0:_0x4c7da7['sendChangesetTimeout'])!=null?_0xecbe60:Rn;}[_0x3a0f4f(0x297)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x3a0f4f(0x3e3)](_0x2b6796){const _0x3e3c4f=_0x3a0f4f;return this[_0x3e3c4f(0x320)](),this[_0x3e3c4f(0x340)]['createInstance'](Re,this[_0x3e3c4f(0x321)],this[_0x3e3c4f(0x550)],null,this[_0x3e3c4f(0x193)],this[_0x3e3c4f(0x470)],_0x2b6796);}};pe=$e([A(0x4,_0x4a6309(_0x5b64e2)),A(0x5,_0x4a6309(_0xf29fa)),A(0x6,_0x4a6309(z)),A(0x7,_0x4a6309(Me)),A(0x8,_0x4c9627),A(0x9,_0x21538e),A(0xa,_0x1526c7),A(0xb,_0x4a14e2),A(0xc,_0x3dee00),A(0xd,_0x28c671)],pe);let Te=class extends He{constructor(_0x29487d,_0x42e486,_0xce8376,_0x18c726,_0x2d87e4,_0x5c0cd3,_0x3b8a76,_0x5ea9db,_0x2215a6,_0x52af93,_0x4a02c1){const _0x36ad86=_0x3a0f4f;super(_0x29487d,_0x42e486,_0xce8376,[],_0x18c726,_0x5ea9db,_0x4a02c1,_0x5c0cd3,_0x3b8a76),g(this,'status',_0x36ad86(0x471)),g(this,'_resendTimeout',0x0),g(this,_0x36ad86(0x43b)),g(this,'_sender'),(this[_0x36ad86(0x340)]=_0x2d87e4,this[_0x36ad86(0x2d8)]=_0x2215a6,this[_0x36ad86(0x20a)]=_0x52af93);}[_0x3a0f4f(0x2f0)](_0x496d56){const _0x3ee69a=_0x3a0f4f;this['_clearScheduledTask']();const _0x4380f2=this[_0x3ee69a(0x340)][_0x3ee69a(0x4d0)](me,this[_0x3ee69a(0x321)],this[_0x3ee69a(0x550)],this[_0x3ee69a(0x1c0)],[_0x496d56],this[_0x3ee69a(0x470)],this['_resendTimer']);return _0x4380f2[_0x3ee69a(0x37e)](),_0x4380f2;}['onRemoteChangeset'](_0x150e1c){const _0x4b03fc=_0x3a0f4f;if(this[_0x4b03fc(0x1b7)](_0x150e1c))return this[_0x4b03fc(0x320)](),this[_0x4b03fc(0x340)][_0x4b03fc(0x4d0)](ce,this[_0x4b03fc(0x321)],this[_0x4b03fc(0x550)],this[_0x4b03fc(0x1c0)],[],null,[_0x150e1c],this[_0x4b03fc(0x470)]);try{const _0x3578ec=this[_0x4b03fc(0x20a)][_0x4b03fc(0x397)]([_0x150e1c],[this[_0x4b03fc(0x1c0)]],!0x1);if(_0x55de42(_0x3578ec)){const {c1Prime:_0x1af51e,c2Prime:_0x3f845}=_0x3578ec;this[_0x4b03fc(0x354)](_0x1af51e[0x0]),_0x3f845[0x0][_0x4b03fc(0x3c8)]=this['_getCurrentRevision'](),this[_0x4b03fc(0x320)]();const _0x18b9e4=this['_injector'][_0x4b03fc(0x4d0)](Te,this[_0x4b03fc(0x321)],this[_0x4b03fc(0x550)],_0x3f845[0x0],this[_0x4b03fc(0x470)]);return _0x18b9e4['_updateLocalCache'](),_0x18b9e4;}return this[_0x4b03fc(0x3e3)](!0x1);}catch(_0x5b1e39){return this[_0x4b03fc(0x2d8)][_0x4b03fc(0x34b)](_0x5b1e39),this[_0x4b03fc(0x3e3)](!0x1);}}['onRemoteAck'](_0x5834f1){const _0x2fa03b=_0x3a0f4f;this[_0x2fa03b(0x320)]();const _0x527c45=this[_0x2fa03b(0x480)][_0x2fa03b(0x528)](this[_0x2fa03b(0x321)]);if(_0x5834f1[_0x2fa03b(0x14b)]<_0x527c45-0x1)return this;if(this[_0x2fa03b(0x1b7)](_0x5834f1))return this[_0x2fa03b(0x340)][_0x2fa03b(0x4d0)](ce,this['unitID'],this[_0x2fa03b(0x550)],null,[],this[_0x2fa03b(0x1c0)],[],this[_0x2fa03b(0x470)]);this[_0x2fa03b(0x4fa)]();const _0x340ab5=this[_0x2fa03b(0x340)][_0x2fa03b(0x4d0)](Fe,this[_0x2fa03b(0x321)],this[_0x2fa03b(0x550)],this[_0x2fa03b(0x470)]);return _0x340ab5[_0x2fa03b(0x37e)](),_0x340ab5;}[_0x3a0f4f(0x1c4)](_0xce0fd0){const _0x5ebfa9=_0x3a0f4f;return this[_0x5ebfa9(0x3e3)](!!(_0xce0fd0!=null&&_0xce0fd0[_0x5ebfa9(0x533)]));}[_0x3a0f4f(0x169)](_0x1bd238){const _0x1959e8=_0x3a0f4f;return this[_0x1959e8(0x4b8)]>Xi?this[_0x1959e8(0x149)]():(this[_0x1959e8(0x43b)]=zi(this[_0x1959e8(0x4b8)],{'timeout':this['_resendTimeout'],'reqId':_0x1bd238[_0x1959e8(0x3ea)]}),this[_0x1959e8(0x12f)]=this['_resendTimer'][_0x1959e8(0x4f0)](({reqId:_0x3a88e5,timeout:_0x30ce1d})=>{const _0x17a305=_0x1959e8;this[_0x17a305(0x446)](_0x3a88e5,_0x30ce1d);}),this);}[_0x3a0f4f(0x149)](){const _0x647eb6=_0x3a0f4f;return this[_0x647eb6(0x320)](),this[_0x647eb6(0x340)]['createInstance'](Oe,this[_0x647eb6(0x321)],this[_0x647eb6(0x550)],this[_0x647eb6(0x1c0)],[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){const _0x3e8cf3=_0x3a0f4f;this[_0x3e8cf3(0x470)][_0x3e8cf3(0x385)](this[_0x3e8cf3(0x1c0)]);}[_0x3a0f4f(0x3e3)](_0x3a8872){const _0x24f808=_0x3a0f4f;return this[_0x24f808(0x320)](),this[_0x24f808(0x340)][_0x24f808(0x4d0)](Re,this[_0x24f808(0x321)],this['type'],this[_0x24f808(0x1c0)],[],this[_0x24f808(0x470)],_0x3a8872);}['_resendWithTimeout'](_0x4a4096,_0x40623f){const _0x3e5842=_0x3a0f4f;var _0x34e6a7;_0x4a4096===((_0x34e6a7=this[_0x3e5842(0x1c0)])==null?void 0x0:_0x34e6a7[_0x3e5842(0x3ea)])&&(this[_0x3e5842(0x297)](),this[_0x3e5842(0x4b8)]=_0x40623f===0x0?0x3e8:_0x40623f*0x2);}[_0x3a0f4f(0x320)](){const _0x2d0c3d=_0x3a0f4f;var _0x1ac4b5;(_0x1ac4b5=this[_0x2d0c3d(0x12f)])==null||_0x1ac4b5[_0x2d0c3d(0x19e)](),this[_0x2d0c3d(0x4b8)]=0x0;}};Te=$e([A(0x4,_0x4a6309(_0x5b64e2)),A(0x5,_0x4a6309(_0xf29fa)),A(0x6,_0x4a6309(z)),A(0x7,_0x21538e),A(0x8,_0x4c9627),A(0x9,_0x4a14e2),A(0xa,_0x28c671)],Te);let me=class extends He{constructor(_0x17a943,_0x83a9e8,_0x56cd7e,_0x2e1644,_0x12688c,_0x2d4ecd,_0x5730b0,_0x1f4407,_0x568fc9,_0x5ebaa6,_0x46120a,_0x1a8387,_0x3d3f72){const _0x21c7dd=_0x3a0f4f;super(_0x17a943,_0x83a9e8,_0x56cd7e,_0x2e1644,_0x12688c,_0x5ebaa6,_0x3d3f72,_0x1f4407,_0x568fc9),g(this,_0x21c7dd(0x35d),_0x21c7dd(0x280)),g(this,_0x21c7dd(0x4b8),0x0),g(this,_0x21c7dd(0x43b)),g(this,'_sender'),(this['_injector']=_0x5730b0,this['_logService']=_0x46120a,this[_0x21c7dd(0x20a)]=_0x1a8387,_0x2d4ecd&&(this['_resendTimer']=_0x2d4ecd,this['_sender']=this['_resendTimer'][_0x21c7dd(0x4f0)](({reqId:_0x19b5d3,timeout:_0x3281b3})=>{const _0x51590e=_0x21c7dd;this[_0x51590e(0x446)](_0x19b5d3,_0x3281b3);})));}[_0x3a0f4f(0x2f0)](_0x1c895c){const _0x103f2f=_0x3a0f4f;return this[_0x103f2f(0x193)][_0x103f2f(0x43f)](_0x1c895c),this;}[_0x3a0f4f(0x167)](_0x353a6e){const _0x27b0b0=_0x3a0f4f;if(this['_checkMissing'](_0x353a6e))return this[_0x27b0b0(0x320)](),this[_0x27b0b0(0x340)][_0x27b0b0(0x4d0)](ce,this[_0x27b0b0(0x321)],this[_0x27b0b0(0x550)],this['_awaitingChangeset'],this[_0x27b0b0(0x193)],null,[_0x353a6e],this['_handler']);try{const _0x2d7690=this[_0x27b0b0(0x20a)]['transformChangesets']([_0x353a6e],[this[_0x27b0b0(0x1c0)]],!0x1);if(_0x55de42(_0x2d7690)){const {c1Prime:_0x59c08e,c2Prime:_0x3833de}=_0x2d7690,_0x41a520=this[_0x27b0b0(0x20a)]['transformMutationsWithChangeset'](_0x59c08e[0x0],this[_0x27b0b0(0x193)]);if(_0x2f8575(_0x41a520)){const {c1Prime:_0xae912e,m2Prime:_0x34cc1e}=_0x41a520;return this['_executeRemoteChangeset'](_0xae912e),_0x3833de[0x0][_0x27b0b0(0x3c8)]=this['_getCurrentRevision'](),this[_0x27b0b0(0x320)](),this[_0x27b0b0(0x340)][_0x27b0b0(0x4d0)](me,this[_0x27b0b0(0x321)],this['type'],_0x3833de[0x0],_0x34cc1e,this[_0x27b0b0(0x470)],void 0x0);}throw _0x41a520[_0x27b0b0(0x34b)];}throw _0x2d7690[_0x27b0b0(0x34b)];}catch(_0x259f6a){return this[_0x27b0b0(0x2d8)][_0x27b0b0(0x34b)](_0x259f6a),this[_0x27b0b0(0x3e3)](!0x1);}}[_0x3a0f4f(0x44a)](_0x11ee1d){const _0x23a59c=_0x3a0f4f;if(this[_0x23a59c(0x320)](),this[_0x23a59c(0x1b7)](_0x11ee1d))return this[_0x23a59c(0x340)][_0x23a59c(0x4d0)](ce,this[_0x23a59c(0x321)],this[_0x23a59c(0x550)],null,this[_0x23a59c(0x193)],this[_0x23a59c(0x1c0)],[],this[_0x23a59c(0x470)]);this[_0x23a59c(0x4fa)]();const _0x31aa2f=this[_0x23a59c(0x340)]['createInstance'](pe,this[_0x23a59c(0x321)],this[_0x23a59c(0x550)],this['_pendingMutations'],this[_0x23a59c(0x470)]);return _0x31aa2f['_schedule'](),_0x31aa2f[_0x23a59c(0x37e)](),_0x31aa2f;}['onRemoteRej'](_0x23b357){const _0x463321=_0x3a0f4f;return this[_0x463321(0x3e3)](!!(_0x23b357!=null&&_0x23b357['isPermissionRej']));}[_0x3a0f4f(0x169)](_0x48b749){const _0x1e127d=_0x3a0f4f;return this[_0x1e127d(0x4b8)]>Xi?this['toggleOffline']():(this[_0x1e127d(0x43b)]=zi(this['_resendTimeout'],{'timeout':this[_0x1e127d(0x4b8)],'reqId':_0x48b749[_0x1e127d(0x3ea)]}),this[_0x1e127d(0x12f)]=this[_0x1e127d(0x43b)]['subscribe'](({reqId:_0x21edb1,timeout:_0x5ab236})=>{const _0x327b55=_0x1e127d;this[_0x327b55(0x446)](_0x21edb1,_0x5ab236);}),this);}['toggleOffline'](){const _0x1a2914=_0x3a0f4f;return this['_clearScheduledTask'](),this[_0x1a2914(0x340)]['createInstance'](Oe,this[_0x1a2914(0x321)],this[_0x1a2914(0x550)],this['_awaitingChangeset'],this[_0x1a2914(0x193)],this[_0x1a2914(0x470)]);}[_0x3a0f4f(0x2cc)](){return this;}[_0x3a0f4f(0x297)](){const _0x30b472=_0x3a0f4f;this[_0x30b472(0x470)]['onSendChangeset'](this[_0x30b472(0x1c0)]);}[_0x3a0f4f(0x3e3)](_0x27d631){const _0x4c7644=_0x3a0f4f;return this[_0x4c7644(0x320)](),this['_injector']['createInstance'](Re,this[_0x4c7644(0x321)],this[_0x4c7644(0x550)],null,this[_0x4c7644(0x193)],this['_handler'],_0x27d631);}[_0x3a0f4f(0x446)](_0x378c2d,_0x3b5be3){const _0x27c3f5=_0x3a0f4f;var _0x4baec5;_0x378c2d===((_0x4baec5=this[_0x27c3f5(0x1c0)])==null?void 0x0:_0x4baec5[_0x27c3f5(0x3ea)])&&(this[_0x27c3f5(0x297)](),this[_0x27c3f5(0x4b8)]=_0x3b5be3===0x0?0x3e8:_0x3b5be3*0x2);}[_0x3a0f4f(0x320)](){const _0x49eefd=_0x3a0f4f;var _0x3e9a52;(_0x3e9a52=this['_sender'])==null||_0x3e9a52[_0x49eefd(0x19e)](),this[_0x49eefd(0x4b8)]=0x0;}};me=$e([A(0x6,_0x4a6309(_0x5b64e2)),A(0x7,_0x4a6309(_0xf29fa)),A(0x8,_0x4a6309(z)),A(0x9,_0x21538e),A(0xa,_0x4c9627),A(0xb,_0x4a14e2),A(0xc,_0x28c671)],me);let Re=class extends He{constructor(_0x42e968,_0x277391,_0xb11c10,_0x176486,_0x145a2f,_0x5babf4=!0x1,_0x19cc12,_0x4d2861,_0x4c2dc6,_0xe9707e,_0x543687,_0x3ddc17,_0xb8849c){const _0x261144=_0x3a0f4f;super(_0x42e968,_0x277391,_0xb11c10,_0x176486,_0x145a2f,_0x4d2861,_0x4c2dc6,_0x543687,_0xe9707e),g(this,_0x261144(0x35d),_0x261144(0x523)),(this[_0x261144(0x1f4)]=_0x5babf4,this[_0x261144(0x222)]=_0x19cc12,this[_0x261144(0x369)]=_0x3ddc17,this[_0x261144(0x24b)]=_0xb8849c,this['_showConflictNotification'](),this[_0x261144(0x28b)](),this[_0x261144(0x314)]());}[_0x3a0f4f(0x2f0)](){return this;}[_0x3a0f4f(0x167)](){return this;}[_0x3a0f4f(0x44a)](){return this;}[_0x3a0f4f(0x1c4)](){return this;}['onRemoteRetry'](){return this;}[_0x3a0f4f(0x149)](){return this;}[_0x3a0f4f(0x2cc)](){return this;}[_0x3a0f4f(0x297)](){const _0xc5d97d=_0x3a0f4f;throw new Error(_0xc5d97d(0x408));}['_clearLocalCache'](){const _0x20bb97=_0x3a0f4f;this[_0x20bb97(0x1dc)]['updateOfflineData'](this['unitID'],this[_0x20bb97(0x550)],null,[]);}[_0x3a0f4f(0x304)](){const _0x15621a=_0x3a0f4f;this[_0x15621a(0x1f4)]?this[_0x15621a(0x24b)][_0x15621a(0x4d8)]({'title':this[_0x15621a(0x369)]['t'](_0x15621a(0x17f)),'content':this['_localeService']['t'](_0x15621a(0x208)),'type':_0x15621a(0x34b),'duration':0x0}):this['_notificationService'][_0x15621a(0x4d8)]({'title':this[_0x15621a(0x369)]['t'](_0x15621a(0x3f1)),'content':this['_localeService']['t']('conflict.content'),'type':'error','duration':0x0});}[_0x3a0f4f(0x314)](){const _0x5a9344=_0x3a0f4f;this[_0x5a9344(0x222)][_0x5a9344(0x2f8)](new _0x102f56(this[_0x5a9344(0x321)])['id'],!0x1);}};Re=$e([A(0x6,_0x4a6309(_0x344f08)),A(0x7,_0x21538e),A(0x8,_0x28c671),A(0x9,_0x4a6309(z)),A(0xa,_0x4a6309(_0xf29fa)),A(0xb,_0x4a6309(_0x440b58)),A(0xc,_0x300d21)],Re);let Oe=class extends He{constructor(_0x3d1847,_0x476212,_0x3c0055,_0x68c268,_0x367171,_0x258ee5,_0x100408,_0x27601d,_0x4514a5,_0x6093b9){const _0x4764de=_0x3a0f4f;super(_0x3d1847,_0x476212,_0x3c0055,_0x68c268,_0x367171,_0x4514a5,_0x6093b9,_0x100408,_0x27601d),g(this,_0x4764de(0x35d),_0x4764de(0x1ea)),this['_injector']=_0x258ee5;}[_0x3a0f4f(0x2f0)](_0x482c1a){const _0x1d173f=_0x3a0f4f;return this[_0x1d173f(0x193)][_0x1d173f(0x43f)](_0x482c1a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x6cdb13){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3a0f4f(0x44a)](){const _0x1c195f=_0x3a0f4f;throw new Error(_0x1c195f(0x359));}[_0x3a0f4f(0x1c4)](){const _0x1afd18=_0x3a0f4f;throw new Error(_0x1afd18(0x452));}['onRemoteRetry'](){return this;}[_0x3a0f4f(0x149)](){return this;}[_0x3a0f4f(0x2cc)](){const _0x495b58=_0x3a0f4f,{_injector:_0x417481,_pendingMutations:_0x302fd5,_awaitingChangeset:_0x33f5c8,unitID:_0x3e673e,_handler:_0x37037e,type:_0x3cfee0}=this,_0x32f409=Ji(_0x417481,_0x3e673e,_0x3cfee0,_0x33f5c8,_0x302fd5,_0x37037e);return _0x32f409 instanceof pe?_0x32f409['_schedule']():(_0x32f409 instanceof me||_0x32f409 instanceof Te)&&_0x32f409[_0x495b58(0x297)](),_0x32f409;}['resend'](){const _0x14a042=_0x3a0f4f;throw new Error(_0x14a042(0x231));}};Oe=$e([A(0x5,_0x4a6309(_0x5b64e2)),A(0x6,_0x4a6309(_0xf29fa)),A(0x7,_0x4a6309(z)),A(0x8,_0x21538e),A(0x9,_0x28c671)],Oe);let ce=class extends He{constructor(_0x1dd740,_0x54e954,_0x3e6e37,_0x5b8f04,_0x1772be,_0x4b2544,_0x2aa8bd,_0x2aebe7,_0x16cb68,_0x34a3aa,_0xbd751f,_0x149add,_0x1d16ab,_0x442cd3){const _0x3a8dc0=_0x3a0f4f;super(_0x1dd740,_0x54e954,_0x3e6e37,_0x5b8f04,_0x2aa8bd,_0x149add,_0x1d16ab,_0x16cb68,_0x34a3aa),g(this,'status','fetch_missing'),(this[_0x3a8dc0(0x270)]=_0x1772be,this['_queuedRemoteChangesets']=_0x4b2544,this[_0x3a8dc0(0x340)]=_0x2aebe7,this[_0x3a8dc0(0x2d8)]=_0xbd751f,this[_0x3a8dc0(0x20a)]=_0x442cd3);}['onMissedChangesetFetched'](_0x8ca0d7){const _0x5b4cf3=_0x3a0f4f;try{const _0x467120=[..._0x8ca0d7,...this[_0x5b4cf3(0x331)]],_0x435e98=[this[_0x5b4cf3(0x1c0)]||this[_0x5b4cf3(0x270)]][_0x5b4cf3(0x271)](_0x2d9ed5=>!!_0x2d9ed5);let _0x4306eb,_0x1227be;if(_0x435e98[_0x5b4cf3(0x312)]){const _0x1b1afd=this[_0x5b4cf3(0x20a)][_0x5b4cf3(0x397)](_0x467120,_0x435e98,!0x1);if(!_0x55de42(_0x1b1afd))throw _0x1b1afd[_0x5b4cf3(0x34b)];_0x4306eb=_0x1b1afd[_0x5b4cf3(0x17b)],_0x1227be=_0x1b1afd[_0x5b4cf3(0x524)];}else _0x4306eb=_0x467120,_0x1227be=[];let _0x599502=this['_pendingMutations'];_0x4306eb[_0x5b4cf3(0x444)](_0x436162=>{const _0x3017e2=_0x5b4cf3;let _0x2259af;if(_0x599502[_0x3017e2(0x312)]){const _0x1e18ed=this[_0x3017e2(0x20a)][_0x3017e2(0x27f)](_0x436162,_0x599502);if(!_0x2f8575(_0x1e18ed))throw _0x1e18ed[_0x3017e2(0x34b)];_0x2259af=_0x1e18ed[_0x3017e2(0x17b)],_0x599502=_0x1e18ed[_0x3017e2(0x38c)];}else _0x2259af=_0x436162;this[_0x3017e2(0x354)](_0x2259af);}),this[_0x5b4cf3(0x270)]&&this[_0x5b4cf3(0x4fa)](),this[_0x5b4cf3(0x1c0)]&&_0x1227be[_0x5b4cf3(0x312)]&&(_0x1227be[0x0][_0x5b4cf3(0x3c8)]=this[_0x5b4cf3(0x2ac)]());let _0x55fac7;if(this['_awaitingChangeset']&&_0x599502['length']!==0x0)_0x55fac7=this[_0x5b4cf3(0x340)]['createInstance'](me,this[_0x5b4cf3(0x321)],this[_0x5b4cf3(0x550)],_0x1227be[0x0],_0x599502,this[_0x5b4cf3(0x470)],void 0x0);else{if(this['_awaitingChangeset']&&_0x599502[_0x5b4cf3(0x312)]===0x0)_0x1227be[0x0][_0x5b4cf3(0x3c8)]=this[_0x5b4cf3(0x2ac)](),_0x55fac7=this[_0x5b4cf3(0x340)][_0x5b4cf3(0x4d0)](Te,this['unitID'],this[_0x5b4cf3(0x550)],_0x1227be[0x0],this[_0x5b4cf3(0x470)]);else{if(_0x599502[_0x5b4cf3(0x312)]!==0x0){const _0xc82a9a=this[_0x5b4cf3(0x340)][_0x5b4cf3(0x4d0)](pe,this['unitID'],this['type'],_0x599502,this['_handler']);_0xc82a9a[_0x5b4cf3(0x18a)](),_0x55fac7=_0xc82a9a;}else _0x55fac7=this[_0x5b4cf3(0x340)]['createInstance'](Fe,this[_0x5b4cf3(0x321)],this[_0x5b4cf3(0x550)],this[_0x5b4cf3(0x470)]);}}return _0x55fac7[_0x5b4cf3(0x37e)](),_0x55fac7;}catch(_0x48a6aa){return this[_0x5b4cf3(0x2d8)]['error'](_0x5b4cf3(0x2d7),_0x5b4cf3(0x16f),_0x48a6aa),this[_0x5b4cf3(0x340)][_0x5b4cf3(0x4d0)](Re,this[_0x5b4cf3(0x321)],this[_0x5b4cf3(0x550)],this[_0x5b4cf3(0x1c0)],this[_0x5b4cf3(0x193)],this[_0x5b4cf3(0x470)],!0x1);}}[_0x3a0f4f(0x297)](){const _0x1604a0=_0x3a0f4f;throw new Error(_0x1604a0(0x1e7));}[_0x3a0f4f(0x2f0)](_0x514a5c){const _0x54c065=_0x3a0f4f;return this[_0x54c065(0x193)]['push'](_0x514a5c),this;}[_0x3a0f4f(0x167)](_0x3867b5){const _0x493844=_0x3a0f4f;return this[_0x493844(0x331)][_0x493844(0x43f)](_0x3867b5),this;}[_0x3a0f4f(0x44a)](_0x28f72a){const _0x27527e=_0x3a0f4f;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x27527e(0x1c0)]=null,this;throw new Error(_0x27527e(0x449));}[_0x3a0f4f(0x1c4)](_0x1200dc){const _0x38efff=_0x3a0f4f;return this['_onConflict'](!!(_0x1200dc!=null&&_0x1200dc[_0x38efff(0x533)]));}[_0x3a0f4f(0x169)](){return this;}[_0x3a0f4f(0x149)](){const _0x4e74d2=_0x3a0f4f;return this[_0x4e74d2(0x340)]['createInstance'](Oe,this[_0x4e74d2(0x321)],this[_0x4e74d2(0x550)],this[_0x4e74d2(0x1c0)],this[_0x4e74d2(0x193)],this[_0x4e74d2(0x470)]);}['toggleOnline'](){return this;}['_onConflict'](_0x2f780e){const _0x47b00d=_0x3a0f4f;return this['_injector'][_0x47b00d(0x4d0)](Re,this['unitID'],this[_0x47b00d(0x550)],this[_0x47b00d(0x1c0)],this[_0x47b00d(0x193)],this[_0x47b00d(0x470)],_0x2f780e);}};ce=$e([A(0x7,_0x4a6309(_0x5b64e2)),A(0x8,_0x4a6309(_0xf29fa)),A(0x9,_0x4a6309(z)),A(0xa,_0x4c9627),A(0xb,_0x21538e),A(0xc,_0x28c671),A(0xd,_0x4a14e2)],ce);function Ji(_0x270146,_0x2be723,_0x49f53f,_0x1cfbb4,_0x3ed013,_0x31c877){const _0x2e9db1=_0x3a0f4f;return _0x1cfbb4&&_0x3ed013[_0x2e9db1(0x312)]?_0x270146['createInstance'](me,_0x2be723,_0x49f53f,_0x1cfbb4,_0x3ed013,_0x31c877,void 0x0):_0x1cfbb4?_0x270146[_0x2e9db1(0x4d0)](Te,_0x2be723,_0x49f53f,_0x1cfbb4,_0x31c877):_0x3ed013[_0x2e9db1(0x312)]?_0x270146[_0x2e9db1(0x4d0)](pe,_0x2be723,_0x49f53f,_0x3ed013,_0x31c877):_0x270146[_0x2e9db1(0x4d0)](Fe,_0x2be723,_0x49f53f,_0x31c877);}var Mo=Object[_0x3a0f4f(0x40a)],xo=Object[_0x3a0f4f(0x409)],Ps=(_0x2dc69b,_0x45c7e4,_0xc74b00,_0x1e1423)=>{const _0x448084=_0x3a0f4f;for(var _0x38e453=_0x1e1423>0x1?void 0x0:_0x1e1423?xo(_0x45c7e4,_0xc74b00):_0x45c7e4,_0x2de4e9=_0x2dc69b[_0x448084(0x312)]-0x1,_0x2457e6;_0x2de4e9>=0x0;_0x2de4e9--)(_0x2457e6=_0x2dc69b[_0x2de4e9])&&(_0x38e453=(_0x1e1423?_0x2457e6(_0x45c7e4,_0xc74b00,_0x38e453):_0x2457e6(_0x38e453))||_0x38e453);return _0x1e1423&&_0x38e453&&Mo(_0x45c7e4,_0xc74b00,_0x38e453),_0x38e453;},H=(_0x1db62a,_0x4f04b7)=>(_0x486873,_0x27f0de)=>_0x4f04b7(_0x486873,_0x27f0de,_0x1db62a);let Nt=class extends _0x5a2d55{constructor(_0x507496,_0x4f67df,_0x3e3ac3,_0x54ad59,_0x192c34,_0x4fe7eb,_0xad761c,_0x32c24a,_0x40f577,_0x22e5af,_0x1bd09d,_0x390ee1,_0xa228b6){const _0x24d011=_0x3a0f4f;super(),g(this,_0x24d011(0x427),new _0x1f5fb9(null)),g(this,'state$',this[_0x24d011(0x427)][_0x24d011(0x3e7)]()),g(this,_0x24d011(0x389)),g(this,_0x24d011(0x32d),!0x1),g(this,_0x24d011(0x3a2),''),g(this,_0x24d011(0x131),0x0),g(this,_0x24d011(0x4fc),this[_0x24d011(0x285)][_0x24d011(0x2af)](_0x43379f(_0x34647f=>_0x34647f?_0x34647f[_0x24d011(0x35d)]:J[_0x24d011(0x275)]),_0xda1692(0x1))),g(this,_0x24d011(0x330),!0x1),g(this,_0x24d011(0x1cf),[]),(this['unitID']=_0x507496,this[_0x24d011(0x1fc)]=_0x4f67df,this[_0x24d011(0x3fb)]=_0x3e3ac3,this[_0x24d011(0x340)]=_0x54ad59,this['_localCacheService']=_0x192c34,this['_compressMutationService']=_0x4fe7eb,this[_0x24d011(0x369)]=_0xad761c,this[_0x24d011(0x480)]=_0x32c24a,this['_logService']=_0x40f577,this['_commandService']=_0x22e5af,this['_messageService']=_0x1bd09d,this['_permissionService']=_0x390ee1,this['_singleActiveUnitService']=_0xa228b6);}get[_0x3a0f4f(0x40b)](){return this['_state'];}async[_0x3a0f4f(0x1fe)](){const _0x324518=_0x3a0f4f;if(this[_0x324518(0x40b)])throw new Error(_0x324518(0x1c5));await this['_init']();}[_0x3a0f4f(0x1ec)](){const _0x4372cd=_0x3a0f4f;return this[_0x4372cd(0x32d)]=!0x0,_0x2ecc04(()=>{const _0xc32289=_0x4372cd;this[_0xc32289(0x32d)]=!0x1,this[_0xc32289(0x15b)]();});}['_updateState'](_0x267ff8){const _0x19b047=_0x3a0f4f;this[_0x19b047(0x389)]=_0x267ff8,this['_state$'][_0x19b047(0x25c)](_0x267ff8);}async[_0x3a0f4f(0x531)](){const _0x33c882=_0x3a0f4f;var _0x42482e;this[_0x33c882(0x173)](await this[_0x33c882(0x17d)]()),this[_0x33c882(0x478)]&&((_0x42482e=this[_0x33c882(0x478)])==null||_0x42482e[_0x33c882(0x1d3)](this[_0x33c882(0x321)]),this[_0x33c882(0x49b)](this[_0x33c882(0x478)]['getUnitStatus$'](this['unitID'])[_0x33c882(0x4f0)](_0x5b0436=>{const _0x4e7955=_0x33c882;this['_logService'][_0x4e7955(0x2db)](_0x4e7955(0x32b),_0x4e7955(0x1e0),_0x5b0436),_0x5b0436===Ki['OTHER_CLIENTS_EDITING']?(this[_0x4e7955(0x510)][_0x4e7955(0x4d8)]({'content':this[_0x4e7955(0x369)]['t'](_0x4e7955(0x4ec)),'type':_0x452c22[_0x4e7955(0x3f2)]}),this[_0x4e7955(0x222)][_0x4e7955(0x2f8)](new _0x102f56(this[_0x4e7955(0x321)])['id'],!0x1),this[_0x4e7955(0x222)][_0x4e7955(0x1de)](!0x1)):(this[_0x4e7955(0x222)]['updatePermissionPoint'](new _0x102f56(this[_0x4e7955(0x321)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0xea642a=!0x1;return this[_0x33c882(0x49b)](this[_0x33c882(0x1fc)][_0x33c882(0x517)][_0x33c882(0x4f0)](_0x17519f=>{const _0x453754=_0x33c882;_0x17519f===fe[_0x453754(0x4a9)]?this[_0x453754(0x2f4)](_0xea642a):_0x17519f===fe[_0x453754(0x275)]&&(_0xea642a=!0x0,this[_0x453754(0x1d4)]());})),this[_0x33c882(0x49b)](this[_0x33c882(0x1fc)]['event$'][_0x33c882(0x4f0)](_0x5a7221=>{const _0x4def9b=_0x33c882;try{switch(_0x5a7221[_0x4def9b(0x416)]){case _0x256e72['NEW_CHANGESETS']:{this[_0x4def9b(0x4b9)](_0x16c578(_0x5a7221[_0x4def9b(0x13f)]));break;}case _0x256e72[_0x4def9b(0x260)]:{this[_0x4def9b(0x164)](_0x5a7221[_0x4def9b(0x13f)]);break;}case _0x256e72[_0x4def9b(0x2d4)]:{this[_0x4def9b(0x2d6)]();break;}case _0x256e72[_0x4def9b(0x3bb)]:{this[_0x4def9b(0x2fc)](_0x5a7221[_0x4def9b(0x13f)]);break;}case _0x256e72[_0x4def9b(0x48c)]:{this[_0x4def9b(0x488)](_0x5a7221[_0x4def9b(0x13f)][_0x4def9b(0x38e)]['map'](_0x5a3819=>_0x16c578(_0x5a3819)));break;}case _0x256e72[_0x4def9b(0x1a0)]:this[_0x4def9b(0x2d6)]({'isPermissionRej':!0x0});}}catch(_0x2bacf1){throw console['error'](_0x4def9b(0x1b5),_0x2bacf1),_0x2bacf1;}})),this[_0x33c882(0x389)];}[_0x3a0f4f(0x41d)](){this['_transitionLocked']=!0x1;}[_0x3a0f4f(0x278)](){const _0x43e52e=_0x3a0f4f;if(this[_0x43e52e(0x330)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x43e52e(0x330)]=!0x0;}[_0x3a0f4f(0x282)](_0x49ccac){const _0x4f6a90=_0x3a0f4f;this[_0x4f6a90(0x278)](),this['_updateState'](this[_0x4f6a90(0x389)][_0x4f6a90(0x2f0)](_0x49ccac)),this[_0x4f6a90(0x41d)]();}['_onRemoteChangeset'](_0x18c103){const _0x4ce735=_0x3a0f4f;if(!(_0x18c103['revision']<=this['_revisionService'][_0x4ce735(0x528)](this['unitID']))){if(this[_0x4ce735(0x32d)]){this['_remoteChangesetQueue'][_0x4ce735(0x43f)](_0x18c103);return;}this['_applyRemoteChangeset'](_0x18c103);}}[_0x3a0f4f(0x15b)](){const _0x3f9c82=_0x3a0f4f;this[_0x3f9c82(0x1cf)][_0x3f9c82(0x444)](_0x455d59=>this['_applyRemoteChangeset'](_0x455d59)),this[_0x3f9c82(0x1cf)]=[];}[_0x3a0f4f(0x509)](_0x54b891){const _0xbfa7b5=_0x3a0f4f,_0x1dc83b=this['_compressMutationService']['interceptor'][_0xbfa7b5(0x38b)](this['_compressMutationService']['interceptor'][_0xbfa7b5(0x3c9)]()['COMPRESS_MUTATION_APPLY'])(_0x54b891['mutations'],null)||_0x54b891['mutations'],_0x4b9107={..._0x54b891,'mutations':_0x1dc83b};this[_0xbfa7b5(0x278)](),this['_updateState'](this[_0xbfa7b5(0x389)][_0xbfa7b5(0x167)](_0x4b9107)),this[_0xbfa7b5(0x41d)]();}[_0x3a0f4f(0x164)](_0x1e2343){const _0x814c5d=_0x3a0f4f;this['_lockTransition'](),this[_0x814c5d(0x173)](this[_0x814c5d(0x389)][_0x814c5d(0x44a)](_0x1e2343)),this[_0x814c5d(0x41d)]();}[_0x3a0f4f(0x2d6)](_0x359dd4){const _0x1d9aa0=_0x3a0f4f;this[_0x1d9aa0(0x278)](),this[_0x1d9aa0(0x173)](this[_0x1d9aa0(0x389)][_0x1d9aa0(0x1c4)](_0x359dd4)),this[_0x1d9aa0(0x41d)]();}[_0x3a0f4f(0x2fc)](_0x13353a){const _0x10aa16=_0x3a0f4f;this['_lockTransition'](),this[_0x10aa16(0x173)](this[_0x10aa16(0x389)][_0x10aa16(0x169)](_0x13353a)),this[_0x10aa16(0x41d)]();}[_0x3a0f4f(0x488)](_0x330cd4){const _0x3c743f=_0x3a0f4f;if(!(this[_0x3c743f(0x389)]instanceof ce))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4f7e73=_0x330cd4[_0x3c743f(0x545)](_0x35d96f=>{const _0x1eb40a=_0x3c743f,_0x134687=this['_compressMutationService'][_0x1eb40a(0x4fe)][_0x1eb40a(0x38b)](this[_0x1eb40a(0x32e)][_0x1eb40a(0x4fe)][_0x1eb40a(0x3c9)]()[_0x1eb40a(0x37c)])(_0x35d96f[_0x1eb40a(0x4de)],null)||_0x35d96f[_0x1eb40a(0x4de)];return{..._0x35d96f,'mutations':_0x134687};});this['_lockTransition'](),this['_updateState'](this[_0x3c743f(0x389)][_0x3c743f(0x532)](_0x4f7e73)),this[_0x3c743f(0x41d)]();}[_0x3a0f4f(0x1d4)](){const _0x57f969=_0x3a0f4f;this[_0x57f969(0x278)](),this[_0x57f969(0x173)](this[_0x57f969(0x389)]['toggleOffline']()),this[_0x57f969(0x41d)]();}['_toggleOnline'](_0x277296=!0x1){const _0x2b7d3f=_0x3a0f4f;this[_0x2b7d3f(0x278)](),this[_0x2b7d3f(0x173)](this[_0x2b7d3f(0x389)][_0x2b7d3f(0x2cc)]()),this[_0x2b7d3f(0x41d)]();const _0x50d214=this[_0x2b7d3f(0x389)];_0x277296&&_0x50d214 instanceof Fe&&(this[_0x2b7d3f(0x278)](),this[_0x2b7d3f(0x173)](_0x50d214[_0x2b7d3f(0x3d8)]()),this[_0x2b7d3f(0x41d)]());}async[_0x3a0f4f(0x17d)](){return new Promise(_0x2e1353=>{const _0x404c87=_0x328b;this[_0x404c87(0x1fc)]['sessionStatus$']['pipe'](_0x448099(0x1))[_0x404c87(0x4f0)](async _0x19c4c5=>{const _0x6a19d=_0x404c87;_0x2e1353(await this[_0x6a19d(0x182)](_0x19c4c5===fe[_0x6a19d(0x4a9)]));});});}['_createHandler'](){const _0x453628=this['unitID'];return{'onStateChange':(_0x2d3998,_0x132fc4)=>{const _0x2b701a=_0x328b;if(_0x2d3998!==this[_0x2b701a(0x389)])throw new Error(_0x2b701a(0x154)+_0x2d3998[_0x2b701a(0x35d)]+_0x2b701a(0x48d)+_0x132fc4[_0x2b701a(0x35d)]+_0x2b701a(0x541)+this[_0x2b701a(0x389)][_0x2b701a(0x35d)]);this[_0x2b701a(0x173)](_0x132fc4);},'onSendChangeset':_0x9e3aa7=>{const _0x29d347=_0x328b;_0x9e3aa7['sid']||(_0x9e3aa7['sid']=this[_0x29d347(0x3a2)],_0x9e3aa7[_0x29d347(0x3ea)]=++this[_0x29d347(0x131)]);const _0x9d4d0a={'eventID':_0x256e72[_0x29d347(0x39c)],'data':{'unitID':_0x9e3aa7[_0x29d347(0x321)],'unitType':this['_type'],'changeset':_0x9e3aa7,'memberID':this['session'][_0x29d347(0x483)]()}};this[_0x29d347(0x1fc)][_0x29d347(0x233)](_0x9d4d0a,this[_0x29d347(0x321)]);},'onMissingChangesets':({from:_0x190510,to:_0x441dd1})=>{const _0x161eef=_0x328b;this[_0x161eef(0x2d8)][_0x161eef(0x2db)](_0x161eef(0x32b),_0x161eef(0x20e)+_0x190510+_0x161eef(0x49d)+_0x441dd1);const _0x10a500={'eventID':_0x256e72['FETCH_MISSING'],'data':{'unitID':_0x453628,'unitType':this[_0x161eef(0x3fb)],'from':_0x190510,'to':_0x441dd1}};this[_0x161eef(0x1fc)]['send'](_0x10a500,this[_0x161eef(0x321)]);}};}async['_createInitialStateImpl'](_0x5467f5){const _0xaa7c78=_0x3a0f4f;var _0x3a6024,_0x2bfd64;const _0x3c79b7=await this[_0xaa7c78(0x1dc)][_0xaa7c78(0x229)](this[_0xaa7c78(0x321)]),_0x226109=(_0x3a6024=_0x3c79b7==null?void 0x0:_0x3c79b7[_0xaa7c78(0x4de)])!=null?_0x3a6024:[],_0x1e5f42=(_0x2bfd64=_0x3c79b7==null?void 0x0:_0x3c79b7[_0xaa7c78(0x41f)])!=null?_0x2bfd64:null,_0x289471=!!(_0x1e5f42!=null&&_0x1e5f42['sid'])&&!!(_0x1e5f42!=null&&_0x1e5f42[_0xaa7c78(0x3ea)]);this['_changesetSessionId']=_0x289471?_0x1e5f42[_0xaa7c78(0x392)]:ho(),this[_0xaa7c78(0x131)]=_0x289471?_0x1e5f42[_0xaa7c78(0x3ea)]:0x0;const _0x2996e2=this[_0xaa7c78(0x321)];try{this[_0xaa7c78(0x55b)](_0x1e5f42,_0x226109);}catch(_0x3fdbb3){this[_0xaa7c78(0x2d8)]['error'](_0x3fdbb3);}const _0x5c3ec8=this[_0xaa7c78(0x191)]();if(_0x5467f5){const _0x19bc03=Ji(this[_0xaa7c78(0x340)],_0x2996e2,this[_0xaa7c78(0x3fb)],_0x1e5f42,_0x226109,_0x5c3ec8);return _0x19bc03 instanceof pe?_0x19bc03[_0xaa7c78(0x18a)]():(_0x19bc03 instanceof me||_0x19bc03 instanceof Te)&&_0x19bc03['resend'](),_0x19bc03;}return this[_0xaa7c78(0x340)][_0xaa7c78(0x4d0)](Oe,_0x2996e2,this[_0xaa7c78(0x3fb)],_0x1e5f42,_0x226109,_0x5c3ec8);}[_0x3a0f4f(0x55b)](_0x506525,_0x41be38){const _0x5aff88=_0x3a0f4f;var _0x27f52,_0x4aa9eb;const _0x2aa9c1=this[_0x5aff88(0x32e)][_0x5aff88(0x4fe)][_0x5aff88(0x38b)](this[_0x5aff88(0x32e)][_0x5aff88(0x4fe)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x27f52=_0x2aa9c1((_0x506525==null?void 0x0:_0x506525['mutations'])||[],null))==null||_0x27f52[_0x5aff88(0x444)](_0x5a809c=>this[_0x5aff88(0x418)][_0x5aff88(0x267)](_0x5a809c['id'],_0x5a809c['params'])),(_0x4aa9eb=_0x2aa9c1(_0x41be38||[],null))==null||_0x4aa9eb[_0x5aff88(0x444)](_0x225a42=>this[_0x5aff88(0x418)][_0x5aff88(0x267)](_0x225a42['id'],_0x225a42['params']));}};Nt=Ps([H(0x3,_0x4a6309(_0x5b64e2)),H(0x4,_0x4a6309(z)),H(0x5,_0x4a6309(_0x554187)),H(0x6,_0x4a6309(_0x440b58)),H(0x7,_0x4a6309(_0xf29fa)),H(0x8,_0x4c9627),H(0x9,_0x21538e),H(0xa,_0x138b55),H(0xb,_0x344f08),H(0xc,_0x4a0f17(jt))],Nt);let ls=class extends Nt{constructor(_0x1d63c7,_0x2cf9d3,_0xc0db13,_0x3bb2eb,_0x20e8f0,_0x557fa5,_0x496080,_0x4f0ff9,_0x454c80,_0x431618,_0x11c4f4,_0x2947c5,_0x221745,_0x1fee61,_0x5029b7,_0x5d7ab8,_0x4ca6e7,_0x43af7f){const _0x1bcdb3=_0x3a0f4f;super(_0x1d63c7,_0xc0db13,_0x2cf9d3,_0x3bb2eb,_0x20e8f0,_0x557fa5,_0x496080,_0x4f0ff9,_0x1fee61,_0x5029b7,_0x5d7ab8,_0x4ca6e7,_0x43af7f),this[_0x1bcdb3(0x321)]=_0x1d63c7,this[_0x1bcdb3(0x550)]=_0x2cf9d3,this['_docStateChangeManagerService']=_0x454c80,this[_0x1bcdb3(0x3a4)]=_0x431618,this[_0x1bcdb3(0x506)]=_0x11c4f4,this[_0x1bcdb3(0x43d)]=_0x2947c5,this[_0x1bcdb3(0x4a5)]=_0x221745;}[_0x3a0f4f(0x191)](){const _0x2db919=_0x3a0f4f,_0x5a1488=super[_0x2db919(0x191)]();return _0x5a1488[_0x2db919(0x46d)]=_0x19dc81=>this[_0x2db919(0x3a4)][_0x2db919(0x51a)](_0x19dc81),_0x5a1488[_0x2db919(0x190)]=_0x46473d=>this[_0x2db919(0x506)][_0x2db919(0x393)](_0x46473d),_0x5a1488['onTransformSelections']=_0x2cc076=>this[_0x2db919(0x43d)]['transformSelections'](_0x2cc076),_0x5a1488[_0x2db919(0x351)]=_0x2307f5=>this[_0x2db919(0x4a5)]['syncEditingCollabCursor'](_0x2307f5),_0x5a1488[_0x2db919(0x1b8)]=_0xa9f8e1=>this[_0x2db919(0x3a4)][_0x2db919(0x394)](_0xa9f8e1),_0x5a1488[_0x2db919(0x2d9)]=_0x1dee8f=>this[_0x2db919(0x506)][_0x2db919(0x394)](_0x1dee8f),_0x5a1488;}async['_init'](){const _0x5f27be=_0x3a0f4f,_0x61f98d=await super[_0x5f27be(0x531)]();return this[_0x5f27be(0x49b)](this[_0x5f27be(0x4e7)][_0x5f27be(0x30c)][_0x5f27be(0x2af)](_0x2a292b(this[_0x5f27be(0x220)]))['subscribe'](_0x567d25=>{const _0x447f1b=_0x5f27be;if(_0x567d25==null)return;const {unitId:_0x4203f4,redoState:_0x41ecbf,commandId:_0xad4ddd}=_0x567d25;if(_0x4203f4!==this[_0x447f1b(0x321)])return;const _0x29307e={'id':_0xad4ddd,'type':_0x49b017[_0x447f1b(0x2b3)],'params':{'unitId':_0x4203f4,'actions':_0x41ecbf['actions'],'textRanges':null}};this[_0x447f1b(0x282)](_0x29307e);})),this[_0x5f27be(0x49b)](this['_commandService'][_0x5f27be(0x40d)]((_0x31fd99,_0x6b80e3)=>{const _0x4e03bb=_0x5f27be;if(_0x31fd99[_0x4e03bb(0x550)]!==_0x49b017['MUTATION']||_0x6b80e3!=null&&_0x6b80e3['fromCollab']||_0x6b80e3!=null&&_0x6b80e3[_0x4e03bb(0x2d0)]||_0x31fd99['id']===_0x69a97a['id'])return;const _0x3f3a7e=_0x31fd99[_0x4e03bb(0x1f7)];if((_0x3f3a7e==null?void 0x0:_0x3f3a7e[_0x4e03bb(0x492)])!==this['unitID'])return;const _0xf35c6a=_0x31fd99,_0x362cd7=this[_0x4e03bb(0x32e)]['interceptor'][_0x4e03bb(0x38b)](this[_0x4e03bb(0x32e)][_0x4e03bb(0x4fe)]['getInterceptPoints']()[_0x4e03bb(0x501)])([_0xf35c6a],null)||[_0xf35c6a];this['_onLocalMutation'](_0x362cd7[0x0]);})),_0x61f98d;}};ls=Ps([H(0x3,_0x4a6309(_0x5b64e2)),H(0x4,_0x4a6309(z)),H(0x5,_0x4a6309(_0x554187)),H(0x6,_0x4a6309(_0x440b58)),H(0x7,_0x4a6309(_0xf29fa)),H(0x8,_0x4a6309(_0x35bc43)),H(0x9,_0x4a6309(yt)),H(0xa,_0x4a6309(Dt)),H(0xb,_0x4a6309(Pt)),H(0xc,_0x4a6309(Ds)),H(0xd,_0x4c9627),H(0xe,_0x21538e),H(0xf,_0x138b55),H(0x10,_0x344f08),H(0x11,_0x4a0f17(jt))],ls);let _s=class extends Nt{constructor(_0x4e548f,_0x35f6a1,_0x5394dc,_0x2d7b8b,_0x4a8faf,_0x286b48,_0xb4ab56,_0x590261,_0x581ab5,_0x18fa98,_0x355564,_0x4b364d,_0x27932a,_0xf661c8){const _0x4b05a3=_0x3a0f4f;super(_0x4e548f,_0x5394dc,_0x35f6a1,_0x2d7b8b,_0x4a8faf,_0x286b48,_0xb4ab56,_0x590261,_0x18fa98,_0x355564,_0x4b364d,_0x27932a,_0xf661c8),this['unitID']=_0x4e548f,this[_0x4b05a3(0x550)]=_0x35f6a1,this['_sheetTransformSelectionsService']=_0x581ab5;}[_0x3a0f4f(0x191)](){const _0x12bdff=_0x3a0f4f,_0x11b608=super[_0x12bdff(0x191)]();return _0x11b608[_0x12bdff(0x458)]=_0x19c448=>this[_0x12bdff(0x159)][_0x12bdff(0x325)](_0x19c448),_0x11b608;}async[_0x3a0f4f(0x531)](){const _0x52fe9f=_0x3a0f4f,_0x836733=await super[_0x52fe9f(0x531)]();return this[_0x52fe9f(0x49b)](this['_commandService'][_0x52fe9f(0x40d)]((_0x22d764,_0x22f7aa)=>{const _0x4de0fe=_0x52fe9f;if(_0x22d764[_0x4de0fe(0x550)]!==_0x49b017[_0x4de0fe(0x2b3)]||_0x22f7aa!=null&&_0x22f7aa[_0x4de0fe(0x4ea)]||_0x22f7aa!=null&&_0x22f7aa['onlyLocal'])return;const _0x11f915=_0x22d764[_0x4de0fe(0x1f7)];if((_0x11f915==null?void 0x0:_0x11f915[_0x4de0fe(0x492)])!==this[_0x4de0fe(0x321)])return;const _0x511795=_0x22d764,_0x300625=this[_0x4de0fe(0x32e)][_0x4de0fe(0x4fe)][_0x4de0fe(0x38b)](this[_0x4de0fe(0x32e)][_0x4de0fe(0x4fe)][_0x4de0fe(0x3c9)]()['COMPRESS_MUTATION_SEND'])([_0x511795],null)||[_0x511795];this[_0x4de0fe(0x282)](_0x300625[0x0]);})),_0x836733;}};_s=Ps([H(0x3,_0x4a6309(_0x5b64e2)),H(0x4,_0x4a6309(z)),H(0x5,_0x4a6309(_0x554187)),H(0x6,_0x4a6309(_0x440b58)),H(0x7,_0x4a6309(_0xf29fa)),H(0x8,_0x4a6309(wt)),H(0x9,_0x4c9627),H(0xa,_0x21538e),H(0xb,_0x138b55),H(0xc,_0x344f08),H(0xd,_0x4a0f17(jt))],_s);var Lo=Object['defineProperty'],$o=Object['getOwnPropertyDescriptor'],Ho=(_0x496222,_0x267d71,_0x39ee91,_0xbda294)=>{const _0x2c05ef=_0x3a0f4f;for(var _0x1af14a=_0xbda294>0x1?void 0x0:_0xbda294?$o(_0x267d71,_0x39ee91):_0x267d71,_0x8c18fa=_0x496222[_0x2c05ef(0x312)]-0x1,_0x3dd57d;_0x8c18fa>=0x0;_0x8c18fa--)(_0x3dd57d=_0x496222[_0x8c18fa])&&(_0x1af14a=(_0xbda294?_0x3dd57d(_0x267d71,_0x39ee91,_0x1af14a):_0x3dd57d(_0x1af14a))||_0x1af14a);return _0xbda294&&_0x1af14a&&Lo(_0x267d71,_0x39ee91,_0x1af14a),_0x1af14a;},zt=(_0x28fc91,_0x286d64)=>(_0x539c28,_0x507e54)=>_0x286d64(_0x539c28,_0x507e54,_0x28fc91);let rt=class extends _0x5a2d55{constructor(_0x469714,_0x336720,_0x1742b5){const _0x7c62a3=_0x3a0f4f;super(),g(this,_0x7c62a3(0x45c),new Map()),g(this,_0x7c62a3(0x398),new _0x4c5eca()),(this['_injector']=_0x469714,this[_0x7c62a3(0x4c7)]=_0x336720,this[_0x7c62a3(0x345)]=_0x1742b5,this[_0x7c62a3(0x531)]());}[_0x3a0f4f(0x262)](){const _0x1bf79a=_0x3a0f4f;super['dispose'](),this[_0x1bf79a(0x45c)][_0x1bf79a(0x444)](_0x5c370a=>_0x5c370a[_0x1bf79a(0x262)]()),this[_0x1bf79a(0x45c)][_0x1bf79a(0x319)]();}[_0x3a0f4f(0x1f5)](_0x556f33){const _0x564779=_0x3a0f4f;var _0x5a32fd;return(_0x5a32fd=this[_0x564779(0x45c)][_0x564779(0x204)](_0x556f33))!=null?_0x5a32fd:null;}['getCollabEntity$'](_0x4b5a43){const _0x10e3dd=_0x3a0f4f,_0xd63b79=this[_0x10e3dd(0x1f5)](_0x4b5a43);return _0xd63b79?_0x1209b8(_0xd63b79):this[_0x10e3dd(0x398)][_0x10e3dd(0x2af)](_0x3b2257(_0x1e8514=>_0x1e8514[_0x10e3dd(0x321)]===_0x4b5a43));}[_0x3a0f4f(0x531)](){const _0x365ea2=_0x3a0f4f;this['_univerInstanceService'][_0x365ea2(0x2f3)](_0x363a0b['UNIVER_SHEET'])[_0x365ea2(0x2af)](_0x2a292b(this[_0x365ea2(0x220)]),_0x3b85e2(0x10))['subscribe'](async _0x3a60e8=>{const _0xf86f35=_0x365ea2,_0x5504e8=_0x3a60e8[_0xf86f35(0x1eb)](),_0x251bd7=await this[_0xf86f35(0x38a)](_0x5504e8,ae[_0xf86f35(0x12e)]);this[_0xf86f35(0x45c)]['set'](_0x5504e8,_0x251bd7);}),this['_univerInstanceService'][_0x365ea2(0x2f3)](_0x363a0b[_0x365ea2(0x12b)])[_0x365ea2(0x2af)](_0x2a292b(this[_0x365ea2(0x220)]),_0x3b85e2(0x10))[_0x365ea2(0x2af)](_0x3b2257(_0x2f74e9=>!_0x2f74e9[_0x365ea2(0x1eb)]()[_0x365ea2(0x2b2)]('__')))[_0x365ea2(0x4f0)](async _0x4a039e=>{const _0x21f0a1=_0x365ea2,_0x2ae2f4=_0x4a039e[_0x21f0a1(0x1eb)](),_0x23a880=await this[_0x21f0a1(0x38a)](_0x2ae2f4,ae[_0x21f0a1(0x12b)]);this[_0x21f0a1(0x45c)]['set'](_0x2ae2f4,_0x23a880);}),_0x4bd8ea(this[_0x365ea2(0x345)][_0x365ea2(0x308)](_0x363a0b[_0x365ea2(0x12e)]),this['_univerInstanceService'][_0x365ea2(0x308)](_0x363a0b['UNIVER_DOC']))['pipe'](_0x2a292b(this['dispose$']))[_0x365ea2(0x4f0)](_0xb2fd8d=>{const _0x3327cb=_0x365ea2,_0x45aeef=_0xb2fd8d[_0x3327cb(0x1eb)](),_0x3474e2=this[_0x3327cb(0x45c)][_0x3327cb(0x204)](_0x45aeef);_0x3474e2&&(_0x3474e2[_0x3327cb(0x262)](),this[_0x3327cb(0x45c)][_0x3327cb(0x4d6)](_0x45aeef));});}async[_0x3a0f4f(0x38a)](_0x4e2db0,_0x4615b4){const _0x4029cb=_0x3a0f4f,_0x565471=await this[_0x4029cb(0x4c7)][_0x4029cb(0x25a)](_0x4e2db0),_0x1d1644=this[_0x4029cb(0x340)]['createInstance'](this['_getCtorByUniverType'](_0x4615b4),_0x4e2db0,_0x4615b4,_0x565471);return await _0x1d1644[_0x4029cb(0x1fe)](),this[_0x4029cb(0x398)][_0x4029cb(0x25c)](_0x1d1644),_0x1d1644;}[_0x3a0f4f(0x207)](_0x4855af){const _0x4c19b7=_0x3a0f4f;switch(_0x4855af){case ae[_0x4c19b7(0x12b)]:return ls;case ae[_0x4c19b7(0x12e)]:return _s;default:throw new Error(_0x4c19b7(0x1ca)+_0x4855af);}}};rt=Ho([zt(0x0,_0x4a6309(_0x5b64e2)),zt(0x1,_0x4a6309(xe)),zt(0x2,_0x3dee00)],rt);var jo=Object[_0x3a0f4f(0x40a)],Bo=Object[_0x3a0f4f(0x409)],ko=(_0x5d05f4,_0xa9b749,_0x461636,_0x2c88f3)=>{const _0x277dfc=_0x3a0f4f;for(var _0x2900f1=_0x2c88f3>0x1?void 0x0:_0x2c88f3?Bo(_0xa9b749,_0x461636):_0xa9b749,_0x4a91ea=_0x5d05f4[_0x277dfc(0x312)]-0x1,_0x398d20;_0x4a91ea>=0x0;_0x4a91ea--)(_0x398d20=_0x5d05f4[_0x4a91ea])&&(_0x2900f1=(_0x2c88f3?_0x398d20(_0xa9b749,_0x461636,_0x2900f1):_0x398d20(_0x2900f1))||_0x2900f1);return _0x2c88f3&&_0x2900f1&&jo(_0xa9b749,_0x461636,_0x2900f1),_0x2900f1;},ti=(_0x4efa43,_0x39312a)=>(_0x2d42c3,_0x137236)=>_0x39312a(_0x2d42c3,_0x137236,_0x4efa43);let Ut=class extends _0x5a2d55{constructor(_0x96201a,_0x2ddc4f){const _0x5ed51e=_0x3a0f4f;super(),this[_0x5ed51e(0x534)]=_0x96201a,this[_0x5ed51e(0x206)]=_0x2ddc4f,this[_0x5ed51e(0x531)]();}[_0x3a0f4f(0x531)](){const _0x2337d4=_0x3a0f4f,_0x3d1a22=this;this[_0x2337d4(0x49b)](this['_docClipboardService'][_0x2337d4(0x3d2)]({'onBeforePasteImage':async _0x31b3b8=>{const _0x5aaa08=_0x2337d4,_0x2da2c8=await _0x3d1a22[_0x5aaa08(0x206)][_0x5aaa08(0x44e)](_0x31b3b8);return _0x2da2c8?{'source':_0x2da2c8['source'],'imageSourceType':_0x2da2c8[_0x5aaa08(0x2a4)]}:null;}}));}};Ut=ko([ti(0x0,_0x5c3a88),ti(0x1,_0x543428)],Ut);const si=[_0x3a0f4f(0x3ee),_0x3a0f4f(0x554),'verdancy600',_0x3a0f4f(0x405),_0x3a0f4f(0x130),_0x3a0f4f(0x1af)];class Ns extends _0x27d038{constructor(){const _0x3cb3b4=_0x3a0f4f;super(...arguments),g(this,_0x3cb3b4(0x150),new Map()),g(this,_0x3cb3b4(0x4e9),0x0);}[_0x3a0f4f(0x4bd)](_0x5446d0){const _0x8cf165=_0x3a0f4f;if(this[_0x8cf165(0x150)]['has'](_0x5446d0))return this['_assignedColors'][_0x8cf165(0x204)](_0x5446d0);const _0x6b5c74=si[this[_0x8cf165(0x4e9)]];return this[_0x8cf165(0x4e9)]=(this[_0x8cf165(0x4e9)]+0x1)%si[_0x8cf165(0x312)],this[_0x8cf165(0x150)][_0x8cf165(0x4d9)](_0x5446d0,_0x6b5c74),_0x6b5c74;}}var Wo=Object[_0x3a0f4f(0x40a)],Fo=Object[_0x3a0f4f(0x409)],Vo=(_0x1865fd,_0x4ae6d3,_0x46c0fd,_0x437e55)=>{const _0x49e74c=_0x3a0f4f;for(var _0x38de61=_0x437e55>0x1?void 0x0:_0x437e55?Fo(_0x4ae6d3,_0x46c0fd):_0x4ae6d3,_0x1875de=_0x1865fd[_0x49e74c(0x312)]-0x1,_0x2fce6d;_0x1875de>=0x0;_0x1875de--)(_0x2fce6d=_0x1865fd[_0x1875de])&&(_0x38de61=(_0x437e55?_0x2fce6d(_0x4ae6d3,_0x46c0fd,_0x38de61):_0x2fce6d(_0x38de61))||_0x38de61);return _0x437e55&&_0x38de61&&Wo(_0x4ae6d3,_0x46c0fd,_0x38de61),_0x38de61;},we=(_0xed7e41,_0x3684da)=>(_0x619e71,_0x1aa85a)=>_0x3684da(_0x619e71,_0x1aa85a,_0xed7e41);const Go=0x12c,Yo=0x64;let us=class extends _0x5a2d55{constructor(_0x17f023,_0x1df3b4,_0x172cf4,_0x5c65b5,_0x4d7b0f,_0xb7c3e1,_0x2899cc,_0x1ac090,_0x4eb5b2){const _0x2fb98d=_0x3a0f4f;super(),g(this,_0x2fb98d(0x2f9),!0x1),g(this,_0x2fb98d(0x531),!0x1),g(this,_0x2fb98d(0x4f7),new _0x1f5fb9(new Map())),g(this,_0x2fb98d(0x41a),this[_0x2fb98d(0x4f7)][_0x2fb98d(0x3e7)]()),g(this,_0x2fb98d(0x293),new _0x1f5fb9([])),g(this,_0x2fb98d(0x454),this[_0x2fb98d(0x293)][_0x2fb98d(0x2af)](_0x33cff6(Go))),g(this,_0x2fb98d(0x457),_0xcb384c(_0x36e99a=>{const _0x708369=_0x2fb98d,_0x5553f0={'eventID':_0x256e72[_0x708369(0x2dd)],'data':{'unitID':this['unitID'],'memberID':this[_0x708369(0x2f6)][_0x708369(0x483)](),'selection':qi(_0x36e99a)}};this[_0x708369(0x2f6)][_0x708369(0x233)](_0x5553f0,this[_0x708369(0x321)]);},Yo)),(this[_0x2fb98d(0x321)]=_0x17f023,this[_0x2fb98d(0x2f6)]=_0x1df3b4,this[_0x2fb98d(0x340)]=_0x172cf4,this[_0x2fb98d(0x362)]=_0x5c65b5,this[_0x2fb98d(0x2e8)]=_0x4d7b0f,this[_0x2fb98d(0x277)]=_0xb7c3e1,this[_0x2fb98d(0x20a)]=_0x2899cc,this[_0x2fb98d(0x345)]=_0x1ac090,this[_0x2fb98d(0x418)]=_0x4eb5b2);}get[_0x3a0f4f(0x3dc)](){const _0x5f00df=_0x3a0f4f;return this[_0x5f00df(0x4f7)]['getValue']();}get[_0x3a0f4f(0x1e9)](){const _0x556c30=_0x3a0f4f;return this[_0x556c30(0x293)][_0x556c30(0x4c8)]();}[_0x3a0f4f(0x262)](){const _0x1d8673=_0x3a0f4f;super[_0x1d8673(0x262)](),this[_0x1d8673(0x4f7)][_0x1d8673(0x25c)](new Map()),this[_0x1d8673(0x4f7)][_0x1d8673(0x221)](),this[_0x1d8673(0x293)][_0x1d8673(0x25c)]([]),this[_0x1d8673(0x293)][_0x1d8673(0x221)]();}[_0x3a0f4f(0x1fe)](){const _0x35e25a=_0x3a0f4f;this[_0x35e25a(0x531)]||(this[_0x35e25a(0x531)]=!0x0,this['_session'][_0x35e25a(0x517)][_0x35e25a(0x2af)](_0x2a292b(this[_0x35e25a(0x220)]))[_0x35e25a(0x4f0)](_0x524cda=>{const _0x40a566=_0x35e25a;_0x524cda===fe['ONLINE']?this[_0x40a566(0x2f4)]():this[_0x40a566(0x1d4)]();}),this[_0x35e25a(0x2f6)][_0x35e25a(0x2f7)]['pipe'](_0x2a292b(this[_0x35e25a(0x220)]))[_0x35e25a(0x4f0)](_0x4989fa=>{const _0x2b1163=_0x35e25a,_0x202d4a=_0x4989fa[_0x2b1163(0x416)];_0x202d4a===_0x256e72[_0x2b1163(0x2dd)]&&this[_0x2b1163(0x4fd)](_0x4989fa),_0x202d4a===_0x256e72['USERS_LEAVE']&&this[_0x2b1163(0x1df)](_0x4989fa);}),this[_0x35e25a(0x49b)](this[_0x35e25a(0x418)][_0x35e25a(0x40d)](_0x11bcbd=>{const _0x5d0dec=_0x35e25a,_0x541b80=_0x11bcbd['params'];_0x541b80!=null&&this[_0x5d0dec(0x2f9)]&&_0x11bcbd['id']===_0x245f97['id']&&_0x541b80[_0x5d0dec(0x492)]===this[_0x5d0dec(0x321)]&&_0x541b80[_0x5d0dec(0x4e3)]===!0x1&&_0x541b80[_0x5d0dec(0x4ad)][_0x5d0dec(0x312)]>0x0&&this['_updateLocalCursor'](_0x541b80[_0x5d0dec(0x4ad)]);})),this['_syncEditingCollabCursorService'][_0x35e25a(0x33e)][_0x35e25a(0x2af)](_0x2a292b(this[_0x35e25a(0x220)]))[_0x35e25a(0x4f0)](_0x330af6=>{const _0xe2a252=_0x35e25a;if((_0x330af6==null?void 0x0:_0x330af6[_0xe2a252(0x321)])!==this[_0xe2a252(0x321)])return;const _0x1c1c76={'eventID':_0x256e72['UPDATE_CURSOR'],'data':_0x330af6};this['_onCursorUpdate'](_0x1c1c76);}),this[_0x35e25a(0x49b)](this[_0x35e25a(0x418)]['onCommandExecuted'](_0x100539=>{const _0x582cc8=_0x35e25a;if(_0x100539[_0x582cc8(0x1f7)]==null)return;const _0xc910b9=_0x100539[_0x582cc8(0x1f7)];if(_0x100539['id']!==_0x69a97a['id']||_0xc910b9[_0x582cc8(0x492)]!==this['unitID'])return;const _0x2e7f22={'id':_0x582cc8(0x310),'params':_0xc910b9},_0x485533=this[_0x582cc8(0x3dc)];for(const [_0x56bea1,_0x3f13a9]of _0x485533){const _0x370e3b={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x582cc8(0x321)],'actions':null,'textRanges':_0x3f13a9[_0x582cc8(0x4ad)]}},_0x46e5e2=this[_0x582cc8(0x20a)][_0x582cc8(0x313)](_0x2e7f22,_0x370e3b,!0x1);if(_0x2a1d0d(_0x46e5e2))throw _0x46e5e2['error'];_0x485533[_0x582cc8(0x4d9)](_0x56bea1,{..._0x3f13a9,'ranges':_0x46e5e2[_0x582cc8(0x38c)][_0x582cc8(0x1f7)]['textRanges']});}queueMicrotask(()=>{const _0x5d21aa=_0x582cc8;this[_0x5d21aa(0x4f7)]['next'](_0x485533);});})));}[_0x3a0f4f(0x4fd)](_0x1f1149){const _0x2357f0=_0x3a0f4f;var _0x2d72f4,_0x34f8a5;const {memberID:_0x3ea78c,selection:_0x291802}=_0x1f1149[_0x2357f0(0x13f)],_0x13f42a=Ro(_0x291802),_0x3b9cd0=(_0x34f8a5=(_0x2d72f4=this[_0x2357f0(0x2e8)][_0x2357f0(0x4d3)](this[_0x2357f0(0x321)],_0x3ea78c))==null?void 0x0:_0x2d72f4[_0x2357f0(0x346)])!=null?_0x34f8a5:_0x2357f0(0x33d),_0x439dd0={'color':this[_0x2357f0(0x362)]['assignAColorForMemberID'](_0x3ea78c),'name':_0x3b9cd0,'ranges':_0x13f42a},_0x2b1e6a=this['cursorInfo'];_0x2b1e6a[_0x2357f0(0x4d9)](_0x3ea78c,_0x439dd0),this[_0x2357f0(0x4f7)][_0x2357f0(0x25c)](_0x2b1e6a);}['_onCursorDelete'](_0x4e9d6b){const _0x30c88c=_0x3a0f4f,{memberID:_0x2560f5}=_0x4e9d6b[_0x30c88c(0x13f)],_0x244499=this[_0x30c88c(0x3dc)];_0x244499[_0x30c88c(0x4d6)](_0x2560f5),this[_0x30c88c(0x4f7)][_0x30c88c(0x25c)](_0x244499);}[_0x3a0f4f(0x2f4)](){const _0x23de56=_0x3a0f4f;var _0x17cbb7;if(this[_0x23de56(0x2f9)]=!0x0,((_0x17cbb7=this['_univerInstanceService'][_0x23de56(0x327)]())==null?void 0x0:_0x17cbb7[_0x23de56(0x1eb)]())!==this[_0x23de56(0x321)])return;const _0x22d9c8=this['_injector'][_0x23de56(0x204)](_0x2fa7fd)[_0x23de56(0x371)]();Array[_0x23de56(0x248)](_0x22d9c8)&&_0x22d9c8[_0x23de56(0x312)]>0x0&&this['_updateLocalCursor'](_0x22d9c8);}['_toggleOffline'](){const _0xbc4557=_0x3a0f4f;this[_0xbc4557(0x2f9)]=!0x1;}};us=Vo([we(0x2,_0x4a6309(_0x5b64e2)),we(0x3,_0x4a6309(Ns)),we(0x4,_0x4a6309(Me)),we(0x5,_0x4a6309(Ds)),we(0x6,_0x4a14e2),we(0x7,_0x3dee00),we(0x8,_0x21538e)],us);var Ko=Object[_0x3a0f4f(0x40a)],qo=Object[_0x3a0f4f(0x409)],zo=(_0x39bb17,_0x100092,_0x1ed559,_0x151615)=>{const _0xd5b5b3=_0x3a0f4f;for(var _0x5e6192=_0x151615>0x1?void 0x0:_0x151615?qo(_0x100092,_0x1ed559):_0x100092,_0x4fa374=_0x39bb17[_0xd5b5b3(0x312)]-0x1,_0x4583bd;_0x4fa374>=0x0;_0x4fa374--)(_0x4583bd=_0x39bb17[_0x4fa374])&&(_0x5e6192=(_0x151615?_0x4583bd(_0x100092,_0x1ed559,_0x5e6192):_0x4583bd(_0x5e6192))||_0x5e6192);return _0x151615&&_0x5e6192&&Ko(_0x100092,_0x1ed559,_0x5e6192),_0x5e6192;},Be=(_0x142f78,_0x3fec6b)=>(_0x1a6052,_0x19a823)=>_0x3fec6b(_0x1a6052,_0x19a823,_0x142f78);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x5f1569=[],_0x559119=!0x1;return _0x40f172=>{_0x5f1569['push'](_0x40f172),_0x559119||(_0x559119=!0x0,setTimeout(()=>{const _0x468218=_0x328b;_0x5f1569[_0x468218(0x444)](_0x47616e=>_0x47616e()),_0x5f1569=[],_0x559119=!0x1;}));};};let ds=class extends _0x5a2d55{constructor(_0x4e7022,_0x172b4e,_0x286d82,_0x4c4e96,_0x3e6827,_0x4d0b2c,_0x5ac3fc,_0x9f9bb2){const _0x4589a6=_0x3a0f4f;super(),g(this,_0x4589a6(0x2f9),!0x1),g(this,_0x4589a6(0x531),!0x1),g(this,_0x4589a6(0x4f7),new _0x1f5fb9(new Map())),g(this,_0x4589a6(0x41a),this[_0x4589a6(0x4f7)]['asObservable']()),g(this,_0x4589a6(0x293),new _0x1f5fb9([])),g(this,_0x4589a6(0x454),this[_0x4589a6(0x293)]['pipe'](_0x33cff6(Xo))),g(this,'_updateLocalCursor',_0xcb384c((_0x5f3d4a,_0x3b90da)=>{const _0x1fe43c=_0x4589a6,_0x2909a2={'eventID':_0x256e72[_0x1fe43c(0x2dd)],'data':{'unitID':this[_0x1fe43c(0x321)],'memberID':this[_0x1fe43c(0x2f6)]['getMemberID'](),'selection':_0x3da574(_0x5f3d4a,_0x3b90da[_0x1fe43c(0x4c0)])}};this['_session'][_0x1fe43c(0x233)](_0x2909a2,this[_0x1fe43c(0x321)]);},Jo)),(this['unitID']=_0x4e7022,this[_0x4589a6(0x2f6)]=_0x172b4e,this[_0x4589a6(0x340)]=_0x286d82,this[_0x4589a6(0x362)]=_0x4c4e96,this[_0x4589a6(0x2e8)]=_0x3e6827,this[_0x4589a6(0x345)]=_0x4d0b2c,this[_0x4589a6(0x418)]=_0x5ac3fc,this['_refRangeService']=_0x9f9bb2);}get['cursorInfo'](){const _0x433382=_0x3a0f4f;return this[_0x433382(0x4f7)]['getValue']();}get[_0x3a0f4f(0x1e9)](){const _0x24869d=_0x3a0f4f;return this['_roomMembers$'][_0x24869d(0x4c8)]();}[_0x3a0f4f(0x262)](){const _0x29d958=_0x3a0f4f;super[_0x29d958(0x262)](),this[_0x29d958(0x4f7)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x29d958(0x293)][_0x29d958(0x25c)]([]),this[_0x29d958(0x293)]['complete']();}[_0x3a0f4f(0x1fe)](){const _0x80caed=_0x3a0f4f;this['_init']||(this['_init']=!0x0,this[_0x80caed(0x2f6)][_0x80caed(0x517)][_0x80caed(0x2af)](_0x2a292b(this['dispose$']))[_0x80caed(0x4f0)](_0x1b7f87=>{const _0x9a64bd=_0x80caed;_0x1b7f87===fe[_0x9a64bd(0x4a9)]?this['_toggleOnline']():this[_0x9a64bd(0x1d4)]();}),this[_0x80caed(0x2f6)][_0x80caed(0x2f7)][_0x80caed(0x2af)](_0x2a292b(this[_0x80caed(0x220)]))[_0x80caed(0x4f0)](_0x316e10=>{const _0x36403e=_0x80caed,_0x1f5ab8=_0x316e10['eventID'];_0x1f5ab8===_0x256e72[_0x36403e(0x2dd)]&&this[_0x36403e(0x4fd)](_0x316e10),_0x1f5ab8===_0x256e72[_0x36403e(0x245)]&&this[_0x36403e(0x1df)](_0x316e10);}),this[_0x80caed(0x21b)](),this[_0x80caed(0x49b)](this[_0x80caed(0x418)][_0x80caed(0x40d)](_0xcdcb1d=>{const _0x4868cb=_0x80caed;if(this['_online']&&_0xcdcb1d['id']===_0x7f4e83['id']&&_0xcdcb1d[_0x4868cb(0x1f7)][_0x4868cb(0x492)]===this['unitID']){const _0x33e5b9=_0xcdcb1d[_0x4868cb(0x1f7)];this[_0x4868cb(0x457)](_0x33e5b9['subUnitId'],_0x33e5b9[_0x4868cb(0x3d4)][0x0]);}})));}[_0x3a0f4f(0x4fd)](_0x9c375){const _0x279981=_0x3a0f4f;var _0x3a31f3,_0x151499;const {memberID:_0x7fe690,selection:_0x351938}=_0x9c375[_0x279981(0x13f)],{sheetName:_0x256caa,range:_0x158e6f}=_0x65a96d(_0x351938),_0x17e56a={'name':(_0x151499=(_0x3a31f3=this[_0x279981(0x2e8)][_0x279981(0x4d3)](this['unitID'],_0x7fe690))==null?void 0x0:_0x3a31f3[_0x279981(0x346)])!=null?_0x151499:_0x279981(0x33d),'range':this['_getMergeRange'](_0x256caa,_0x158e6f),'sheetID':_0x256caa,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x7fe690),'selection':_0x351938},_0x3dec00=this['cursorInfo'];_0x3dec00[_0x279981(0x4d9)](_0x7fe690,_0x17e56a),this[_0x279981(0x4f7)][_0x279981(0x25c)](_0x3dec00);}[_0x3a0f4f(0x1df)](_0x2eb1a0){const _0x353089=_0x3a0f4f,{memberID:_0x12faa7}=_0x2eb1a0[_0x353089(0x13f)],_0x4f35cb=this[_0x353089(0x3dc)];_0x4f35cb['delete'](_0x12faa7),this[_0x353089(0x4f7)][_0x353089(0x25c)](_0x4f35cb);}['_getMergeRange'](_0x521957,_0x1faa20){const _0x31170c=_0x3a0f4f;var _0x509656,_0x5046ab;const _0x38f653=(_0x5046ab=(_0x509656=this[_0x31170c(0x345)]['getUniverSheetInstance'](this[_0x31170c(0x321)]))==null?void 0x0:_0x509656[_0x31170c(0x143)](_0x521957))==null?void 0x0:_0x5046ab[_0x31170c(0x135)]();return(_0x38f653==null?void 0x0:_0x38f653[_0x31170c(0x16e)](_0x5b596e=>_0x1c27f3[_0x31170c(0x201)](_0x5b596e,_0x1faa20)))||_0x1faa20;}['_onRefRangeChange'](){const _0x1c07de=_0x3a0f4f,_0x270c0c=new _0x3d417d(),_0x52d0a=Zo(),_0x484bc4=()=>{const _0x26dafc=_0x328b;_0x270c0c[_0x26dafc(0x262)]();const _0x540d5d=(_0x5df316,_0x2161b3,_0x2399a7,_0xdfd18)=>{const _0x398468=_0x26dafc;let _0x10951d=[];switch(_0x5df316['id']){case _0x11147b['DeleteRangeMoveLeftCommandId']:{_0x10951d=_0xa21f6(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x375)]:{_0x10951d=_0x2c8df3(_0x5df316,_0xdfd18);break;}case _0x11147b['InsertColCommandId']:{_0x10951d=_0x19a0be(_0x5df316,_0xdfd18);break;}case _0x11147b['InsertRangeMoveDownCommandId']:{_0x10951d=_0x53f45d(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x4da)]:{_0x10951d=_0x570820(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x122)]:{_0x10951d=_0xda4b82(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x3b6)]:{_0x10951d=_0x66ba6d(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x525)]:{_0x10951d=_0x20eae7(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x30b)]:{_0x10951d=_0x12d629(_0x5df316,_0xdfd18);break;}}const _0x4c67ae=_0x506cc8(_0x10951d,_0xdfd18),_0x21a8c4=this[_0x398468(0x3dc)][_0x398468(0x204)](_0x2161b3);if(_0x21a8c4&&_0x4c67ae){const _0x91d3bb={..._0x21a8c4,'range':_0x4c67ae};this[_0x398468(0x3dc)]['set'](_0x2161b3,_0x91d3bb),_0x52d0a(()=>{const _0x1834d=_0x398468,_0x1e87c1=this[_0x1834d(0x2b1)][_0x1834d(0x22f)](_0x4c67ae,_0x3b384e=>(_0x1e87c1[_0x1834d(0x262)](),_0x540d5d(_0x3b384e,_0x2161b3,_0x2399a7,_0x4c67ae)));_0x270c0c[_0x1834d(0x342)](_0x1e87c1);});}return{'redos':[],'undos':[]};};this[_0x26dafc(0x3dc)][_0x26dafc(0x444)]((_0x12adc0,_0x509e3a)=>{const _0x4bff05=_0x26dafc,{range:_0x77cade,sheetID:_0x340e34}=_0x12adc0,_0xd6cebf=this[_0x4bff05(0x2b1)]['registerRefRange'](_0x77cade,_0x58e69c=>(_0xd6cebf[_0x4bff05(0x262)](),_0x540d5d(_0x58e69c,_0x509e3a,_0x340e34,_0x77cade)));_0x270c0c[_0x4bff05(0x342)](_0xd6cebf);});};this[_0x1c07de(0x49b)](_0x2ecc04(this[_0x1c07de(0x4f7)][_0x1c07de(0x4f0)](()=>{_0x484bc4();})));}['_toggleOnline'](){const _0x4d0695=_0x3a0f4f;var _0x2298e0,_0x5b8438;if(this[_0x4d0695(0x2f9)]=!0x0,((_0x2298e0=this['_univerInstanceService'][_0x4d0695(0x327)]())==null?void 0x0:_0x2298e0[_0x4d0695(0x1eb)]())!==this[_0x4d0695(0x321)])return;const _0x13d033=(_0x5b8438=this[_0x4d0695(0x340)][_0x4d0695(0x204)](_0x4552e3)[_0x4d0695(0x3fe)]())==null?void 0x0:_0x5b8438[0x0],_0x28e471=this[_0x4d0695(0x345)][_0x4d0695(0x390)](_0x363a0b[_0x4d0695(0x12e)])[_0x4d0695(0x425)]();_0x13d033&&_0x28e471&&this[_0x4d0695(0x457)](_0x28e471[_0x4d0695(0x54b)](),_0x13d033);}[_0x3a0f4f(0x1d4)](){const _0x2b72ab=_0x3a0f4f;this[_0x2b72ab(0x2f9)]=!0x1;}};ds=zo([Be(0x2,_0x4a6309(_0x5b64e2)),Be(0x3,_0x4a6309(Ns)),Be(0x4,_0x4a6309(Me)),Be(0x5,_0x3dee00),Be(0x6,_0x21538e),Be(0x7,_0x4a6309(_0x37083e))],ds);var Qo=Object[_0x3a0f4f(0x40a)],ea=Object[_0x3a0f4f(0x409)],ta=(_0x44e44f,_0x2a4c8a,_0x57bc11,_0x1d6490)=>{const _0x22285b=_0x3a0f4f;for(var _0x1270b8=_0x1d6490>0x1?void 0x0:_0x1d6490?ea(_0x2a4c8a,_0x57bc11):_0x2a4c8a,_0x1829bd=_0x44e44f[_0x22285b(0x312)]-0x1,_0x3574cc;_0x1829bd>=0x0;_0x1829bd--)(_0x3574cc=_0x44e44f[_0x1829bd])&&(_0x1270b8=(_0x1d6490?_0x3574cc(_0x2a4c8a,_0x57bc11,_0x1270b8):_0x3574cc(_0x1270b8))||_0x1270b8);return _0x1d6490&&_0x1270b8&&Qo(_0x2a4c8a,_0x57bc11,_0x1270b8),_0x1270b8;},Xt=(_0x324c08,_0x58fe2e)=>(_0x1d9f94,_0x49ef29)=>_0x58fe2e(_0x1d9f94,_0x49ef29,_0x324c08);let Ve=class extends _0x5a2d55{constructor(_0x46cac1,_0x469d43,_0x5881d6){const _0x54c083=_0x3a0f4f;super(),g(this,_0x54c083(0x45c),new Map()),g(this,_0x54c083(0x398),new _0x4c5eca()),(this[_0x54c083(0x345)]=_0x46cac1,this[_0x54c083(0x340)]=_0x469d43,this[_0x54c083(0x4c7)]=_0x5881d6,this[_0x54c083(0x531)]());}[_0x3a0f4f(0x262)](){const _0x555ed1=_0x3a0f4f;super[_0x555ed1(0x262)](),this['_entityInit$'][_0x555ed1(0x221)](),this[_0x555ed1(0x45c)][_0x555ed1(0x444)](_0x37dae6=>_0x37dae6[_0x555ed1(0x262)]());}['getCollabCursors$'](_0x1bc530){const _0x36b913=_0x3a0f4f;return this['_entities'][_0x36b913(0x261)](_0x1bc530)?this[_0x36b913(0x45c)]['get'](_0x1bc530)[_0x36b913(0x41a)]:this[_0x36b913(0x398)][_0x36b913(0x2af)](_0x2ef7d0(_0x52fd81=>_0x52fd81['unitID']===_0x1bc530),_0x774f7c(_0x4d1b1f=>_0x4d1b1f[_0x36b913(0x41a)]));}['_init'](){const _0x37729a=_0x3a0f4f;this[_0x37729a(0x345)][_0x37729a(0x2f3)](_0x363a0b[_0x37729a(0x12e)])[_0x37729a(0x2af)](_0x2a292b(this[_0x37729a(0x220)]))['subscribe'](async _0xe75a2=>{const _0x4c33f4=_0x37729a,_0x44b9f8=_0xe75a2[_0x4c33f4(0x1eb)](),_0x52d4c7=await this['_startSheetCollabCursor'](_0x44b9f8);this['_entityInit$'][_0x4c33f4(0x25c)](_0x52d4c7),this['_entities'][_0x4c33f4(0x4d9)](_0x44b9f8,_0x52d4c7);}),this[_0x37729a(0x345)]['getTypeOfUnitAdded$'](_0x363a0b[_0x37729a(0x12b)])[_0x37729a(0x2af)](_0x2a292b(this[_0x37729a(0x220)]))[_0x37729a(0x2af)](_0x2ef7d0(_0xfa0b78=>!_0xfa0b78[_0x37729a(0x1eb)]()['startsWith']('__')))['subscribe'](async _0x76d72e=>{const _0x45b268=_0x37729a,_0x3ace0c=_0x76d72e['getUnitId'](),_0x40f059=await this[_0x45b268(0x376)](_0x3ace0c);this[_0x45b268(0x398)]['next'](_0x40f059),this[_0x45b268(0x45c)]['set'](_0x3ace0c,_0x40f059);}),_0x4bd8ea(this[_0x37729a(0x345)][_0x37729a(0x308)](_0x363a0b[_0x37729a(0x12b)]),this[_0x37729a(0x345)]['getTypeOfUnitDisposed$'](_0x363a0b[_0x37729a(0x12e)]))[_0x37729a(0x2af)](_0x2a292b(this[_0x37729a(0x220)]))[_0x37729a(0x4f0)](_0x467049=>{const _0xdadc28=_0x37729a,_0x18f2a4=_0x467049[_0xdadc28(0x1eb)](),_0x2281cb=this[_0xdadc28(0x45c)][_0xdadc28(0x204)](_0x18f2a4);_0x2281cb&&(_0x2281cb['dispose'](),this[_0xdadc28(0x45c)][_0xdadc28(0x4d6)](_0x18f2a4));});}async['_startSheetCollabCursor'](_0x4e3652){const _0x471477=_0x3a0f4f,_0x8057f7=await this['_collabSessionService'][_0x471477(0x25a)](_0x4e3652),_0x3a58e6=this[_0x471477(0x340)][_0x471477(0x4d0)](ds,_0x4e3652,_0x8057f7);return _0x3a58e6[_0x471477(0x1fe)](),_0x3a58e6;}async[_0x3a0f4f(0x376)](_0x25c35a){const _0xa8932a=_0x3a0f4f,_0x20a817=await this[_0xa8932a(0x4c7)][_0xa8932a(0x25a)](_0x25c35a),_0x45c89b=this['_injector'][_0xa8932a(0x4d0)](us,_0x25c35a,_0x20a817);return _0x45c89b['init'](),_0x45c89b;}};Ve=ta([Xt(0x0,_0x3dee00),Xt(0x1,_0x4a6309(_0x5b64e2)),Xt(0x2,_0x4a6309(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x2a9ff7,_0x10a74b){const _0x1ad2b8=_0x3a0f4f;let {radius:_0x486b2d,width:_0xaf8d4f,height:_0x58430f}=_0x10a74b;_0x486b2d=_0x486b2d!=null?_0x486b2d:0x0,_0xaf8d4f=_0xaf8d4f!=null?_0xaf8d4f:0x1e,_0x58430f=_0x58430f!=null?_0x58430f:0x1e;let _0x3ddd4a=0x0,_0x1522a5=0x0,_0x116593=0x0;_0x3ddd4a=_0x1522a5=_0x116593=Math['min'](_0x486b2d,_0xaf8d4f/0x2,_0x58430f/0x2),_0x2a9ff7[_0x1ad2b8(0x1d0)](),_0x2a9ff7[_0x1ad2b8(0x3be)](_0x3ddd4a,0x0),_0x2a9ff7[_0x1ad2b8(0x476)](_0xaf8d4f-_0x1522a5,0x0),_0x2a9ff7[_0x1ad2b8(0x26a)](_0xaf8d4f-_0x1522a5,_0x1522a5,_0x1522a5,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a9ff7[_0x1ad2b8(0x476)](_0xaf8d4f,_0x58430f-_0x116593),_0x2a9ff7[_0x1ad2b8(0x26a)](_0xaf8d4f-_0x116593,_0x58430f-_0x116593,_0x116593,0x0,Math['PI']/0x2,!0x1),_0x2a9ff7[_0x1ad2b8(0x476)](0x0,_0x58430f),_0x2a9ff7[_0x1ad2b8(0x476)](0x0,_0x3ddd4a),_0x2a9ff7[_0x1ad2b8(0x26a)](_0x3ddd4a,_0x3ddd4a,_0x3ddd4a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a9ff7['closePath'](),_0x10a74b[_0x1ad2b8(0x2dc)]&&(_0x2a9ff7['save'](),_0x2a9ff7[_0x1ad2b8(0x481)]=_0x10a74b['fill'],_0x10a74b[_0x1ad2b8(0x121)]==='evenodd'?_0x2a9ff7[_0x1ad2b8(0x2dc)](_0x1ad2b8(0x3d5)):_0x2a9ff7[_0x1ad2b8(0x2dc)](),_0x2a9ff7[_0x1ad2b8(0x543)]());}class Bt extends _0x313cda{constructor(_0x5b8268,_0xc3b716){const _0x4002f4=_0x3a0f4f;super(_0x5b8268,_0xc3b716),g(this,_0x4002f4(0x3d3)),g(this,_0x4002f4(0x2d1)),(this[_0x4002f4(0x3d3)]=_0xc3b716==null?void 0x0:_0xc3b716[_0x4002f4(0x3d3)],this[_0x4002f4(0x2d1)]=_0xc3b716==null?void 0x0:_0xc3b716[_0x4002f4(0x2d1)]);}static['drawWith'](_0x559e4c,_0x474f49){const _0x2dff9f=_0x3a0f4f,{text:_0x321dca,color:_0x533dbf}=_0x474f49;_0x559e4c[_0x2dff9f(0x13d)](),_0x559e4c[_0x2dff9f(0x48f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1ac1a0=_0x559e4c[_0x2dff9f(0x11e)](_0x321dca)[_0x2dff9f(0x266)],_0x5b6433=Math[_0x2dff9f(0x1da)](_0x1ac1a0+0x2*Jt,ii);ia(_0x559e4c,{'height':nt,'radius':0x4,'width':_0x5b6433,'fill':_0x533dbf,'evented':!0x1}),_0x559e4c[_0x2dff9f(0x481)]=_0x2dff9f(0x515);const _0x117a9a=Jt,_0x31ff27=nt-sa,_0x517e7c=ii-0x2*Jt;if(_0x1ac1a0>_0x517e7c){let _0x5dab61='',_0x239f29=0x0;for(const _0xec5701 of _0x321dca){const _0x5180e7=_0x559e4c[_0x2dff9f(0x11e)](_0xec5701)[_0x2dff9f(0x266)];if(_0x239f29+_0x5180e7<=_0x517e7c-_0x559e4c['measureText'](_0x2dff9f(0x52d))[_0x2dff9f(0x266)])_0x5dab61+=_0xec5701,_0x239f29+=_0x5180e7;else{_0x5dab61+='...';break;}}_0x559e4c[_0x2dff9f(0x538)](_0x5dab61,_0x117a9a,_0x31ff27);}else _0x559e4c[_0x2dff9f(0x538)](_0x321dca,_0x117a9a,_0x31ff27);_0x559e4c[_0x2dff9f(0x543)]();}[_0x3a0f4f(0x15d)](_0x289754){const _0x44cf31=_0x3a0f4f;Bt[_0x44cf31(0x379)](_0x289754,this);}}const Zt=_0x3a0f4f(0x461),ra=_0x3a0f4f(0x1c8),na='collab-rect-range-',Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca='rgba(255,\x20255,\x20255,\x200.01)';class ri{constructor(_0x3ddc4b,_0x3b0226,_0x48c1ac,_0x4564d7){const _0x4eaf65=_0x3a0f4f;g(this,_0x4eaf65(0x520),[]),g(this,_0x4eaf65(0x2bf),null),g(this,_0x4eaf65(0x2a0),null),g(this,_0x4eaf65(0x559),null),g(this,_0x4eaf65(0x1ad),null),g(this,_0x4eaf65(0x4b2),null),(this[_0x4eaf65(0x391)]=_0x3ddc4b,this[_0x4eaf65(0x268)]=_0x3b0226,this[_0x4eaf65(0x54a)]=_0x48c1ac,this[_0x4eaf65(0x1ee)]=_0x4564d7,this[_0x4eaf65(0x407)]());}set[_0x3a0f4f(0x45a)](_0x4aa6de){const _0x319668=_0x3a0f4f;_0x4aa6de?(this['_anchorDot']&&this[_0x319668(0x559)]['hide'](),this[_0x319668(0x2a0)]&&this['_textBubble']['show']()):(this[_0x319668(0x559)]&&this[_0x319668(0x559)][_0x319668(0x4d8)](),this[_0x319668(0x2a0)]&&this[_0x319668(0x2a0)]['hide']());}[_0x3a0f4f(0x262)](){const _0x72040f=_0x3a0f4f;for(const _0x2cd512 of this[_0x72040f(0x520)])_0x2cd512[_0x72040f(0x262)]();this['_textBubble']&&this['_textBubble'][_0x72040f(0x262)](),this['_anchorDot']&&this[_0x72040f(0x559)]['dispose'](),this[_0x72040f(0x2bf)]&&this[_0x72040f(0x2bf)]['dispose'](),this['_eventUnsubscribe']&&this[_0x72040f(0x4b2)]();}[_0x3a0f4f(0x407)](){const _0x5e8c70=_0x3a0f4f;var _0x2e09c9;const {_docSkeleton:_0x49b947,_document:_0x3e5909}=this,{color:_0xea6ec6,name:_0x5c083a,ranges:_0x2553e6}=this[_0x5e8c70(0x391)],_0x507b58=_0x3e5909[_0x5e8c70(0x294)](),{docsLeft:_0xdb8ede,docsTop:_0x2b8607}=_0x507b58,_0x17ca55=new _0x38a61f(_0x507b58,_0x49b947);for(const {startOffset:_0x190d7a,endOffset:_0x50d59,rangeType:_0x293ec1,segmentId:_0x27504d,segmentPage:_0x4c90c5,collapsed:_0x3a454f,isActive:_0x76fcdd}of _0x2553e6){const _0x35cf65=_0x49b947['findNodePositionByCharIndex'](_0x190d7a,!0x0,_0x27504d,_0x4c90c5);let _0x49104e=_0x49b947[_0x5e8c70(0x465)](_0x50d59,!0x0,_0x27504d,_0x4c90c5);if(_0x49104e==null&&(_0x49104e=_0x49b947[_0x5e8c70(0x465)](_0x50d59-0x1,!0x1,_0x27504d,_0x4c90c5)),_0x76fcdd){const {contentBoxPointGroup:_0x4bc93f}=_0x17ca55['getRangePointData'](_0x49104e,_0x49104e);if(_0x4bc93f[_0x5e8c70(0x312)]===0x0)continue;this[_0x5e8c70(0x1d1)](_0xea6ec6,_0x4bc93f,_0xdb8ede,_0x2b8607,_0x5c083a),this['_eventUnsubscribe']=this[_0x5e8c70(0x1e2)]();}if(_0x35cf65&&_0x49104e){if(_0x293ec1===_0x55dcfe[_0x5e8c70(0x290)]){const _0x1ecc15=new _0x3b25fd(_0x507b58,_0x49b947),{pointGroup:_0x1fad49}=(_0x2e09c9=_0x1ecc15[_0x5e8c70(0x50b)](_0x35cf65,_0x49104e))!=null?_0x2e09c9:{};if(_0x1fad49==null||_0x1fad49[_0x5e8c70(0x312)]===0x0)continue;this[_0x5e8c70(0x448)](_0xea6ec6,_0x1fad49,_0xdb8ede,_0x2b8607);}else{if(!_0x3a454f){const {borderBoxPointGroup:_0x54d307}=_0x17ca55['getRangePointData'](_0x35cf65,_0x49104e);if(_0x54d307[_0x5e8c70(0x312)]===0x0)continue;this[_0x5e8c70(0x4ac)](_0xea6ec6,_0x54d307,_0xdb8ede,_0x2b8607);}}}}}[_0x3a0f4f(0x1d1)](_0x5a20e1,_0x112ad8,_0x198f21,_0x11e773,_0x5d6a6d){const _0x12c6aa=_0x3a0f4f,_0x107b39=this[_0x12c6aa(0x23d)](_0x112ad8),{left:_0x193ab4,top:_0x4f9e24,height:_0x445711}=_0x107b39,_0x51793b=this[_0x12c6aa(0x412)](),_0x9d67e0=aa/_0x51793b,_0x175abd=new _0x37e84b(Zt+_0x1fb819['generateRandomId'](Je),{'left':_0x193ab4+_0x198f21-_0x9d67e0,'top':_0x4f9e24+_0x11e773,'height':_0x445711,'width':oa,'fill':_0x5a20e1||_0x515706(_0x2d6316[_0x12c6aa(0x36f)],0x0),'strokeWidth':_0x9d67e0,'stroke':ca,'evented':!0x0});this['_anchor']=_0x175abd,this['_scene'][_0x12c6aa(0x490)](_0x175abd,_0xafadfb);const _0x2ffa35=new _0x37e84b(Zt+_0x1fb819[_0x12c6aa(0x4e1)](Je),{'left':_0x193ab4+_0x198f21-_0x9d67e0,'top':_0x4f9e24+_0x11e773-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x5a20e1||_0x515706(_0x2d6316[_0x12c6aa(0x36f)],0x0),'strokeWidth':0x0,'stroke':_0x5a20e1||_0x515706(_0x2d6316[_0x12c6aa(0x36f)],0x0),'evented':!0x1});this[_0x12c6aa(0x559)]=_0x2ffa35,this[_0x12c6aa(0x268)]['addObject'](_0x2ffa35,_0xafadfb);const _0x7091ee=new Bt(Zt+_0x1fb819['generateRandomId'](Je),{'left':_0x193ab4+_0x198f21-_0x9d67e0,'top':_0x4f9e24+_0x11e773-nt,'text':_0x5d6a6d,'color':_0x5a20e1});this[_0x12c6aa(0x2a0)]=_0x7091ee,this[_0x12c6aa(0x268)][_0x12c6aa(0x490)](_0x7091ee,_0xafadfb),this['_hover']=!0x1;}[_0x3a0f4f(0x1e2)](){const _0x214b33=_0x3a0f4f,_0x4d7bd3=this[_0x214b33(0x2bf)][_0x214b33(0x1a6)][_0x214b33(0x3c4)](()=>{const _0x1978d4=_0x214b33;this[_0x1978d4(0x45a)]=!0x0;}),_0x3c694b=this['_anchor']['onPointerLeave$'][_0x214b33(0x3c4)](()=>{const _0x9d36f2=_0x214b33;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x9d36f2(0x1ad)]=setTimeout(()=>{const _0x46c83e=_0x9d36f2;this[_0x46c83e(0x45a)]=!0x1;},0x7d0);});return()=>{const _0x357de2=_0x214b33;_0x4d7bd3[_0x357de2(0x19e)](),_0x3c694b[_0x357de2(0x19e)]();};}[_0x3a0f4f(0x4ac)](_0x524870,_0x405a7b,_0x53ea07,_0x3149f2){const _0xfd5394=_0x3a0f4f,_0x283f6a=new _0x3b279d(_0x524870)[_0xfd5394(0x2a2)](0.2)['toRgbString'](),_0x5111f0=new _0x3f7db3(ra+_0x1fb819[_0xfd5394(0x4e1)](Je),{'pointsGroup':_0x405a7b,'fill':_0x283f6a||_0x515706(_0x2d6316[_0xfd5394(0x36f)],0.2),'left':_0x53ea07,'top':_0x3149f2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xfd5394(0x520)][_0xfd5394(0x43f)](_0x5111f0),this[_0xfd5394(0x268)]['addObject'](_0x5111f0,_0xafadfb);}[_0x3a0f4f(0x448)](_0x3941f7,_0x57ce3d,_0x2dd91,_0x2eb6c3){const _0x3bd505=_0x3a0f4f,_0x3c7e02=new _0x3b279d(_0x3941f7)[_0x3bd505(0x2a2)](0.2)[_0x3bd505(0x49c)](),_0x38b799=new _0x3f7db3(na+_0x1fb819['generateRandomId'](Je),{'pointsGroup':_0x57ce3d,'fill':_0x3c7e02||_0x515706(_0x2d6316[_0x3bd505(0x36f)],0.2),'left':_0x2dd91,'top':_0x2eb6c3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3bd505(0x520)][_0x3bd505(0x43f)](_0x38b799),this[_0x3bd505(0x268)]['addObject'](_0x38b799,_0xafadfb);}[_0x3a0f4f(0x23d)](_0x4a0c6d){const _0x33c07d=_0x4a0c6d[0x0],_0x16ec59=_0x33c07d[0x0],_0x3b199c=_0x33c07d[0x2],{x:_0x3634b7,y:_0x19a2fb}=_0x16ec59,{x:_0x418f3f,y:_0xe36c48}=_0x3b199c;return{'left':_0x3634b7,'top':_0x19a2fb,'width':_0x418f3f-_0x3634b7,'height':_0xe36c48-_0x19a2fb};}[_0x3a0f4f(0x412)](){const _0x4ae264=_0x3a0f4f,{scaleX:_0x3a800b,scaleY:_0xd09413}=this['_scene'][_0x4ae264(0x498)]();return Math[_0x4ae264(0x2b7)](_0x3a800b,_0xd09413);}}var ha=Object[_0x3a0f4f(0x40a)],la=Object[_0x3a0f4f(0x409)],_a=(_0x45242c,_0x1f3325,_0x38f976,_0x2dd7f3)=>{for(var _0x3a6159=_0x2dd7f3>0x1?void 0x0:_0x2dd7f3?la(_0x1f3325,_0x38f976):_0x1f3325,_0x96e542=_0x45242c['length']-0x1,_0x5afc7a;_0x96e542>=0x0;_0x96e542--)(_0x5afc7a=_0x45242c[_0x96e542])&&(_0x3a6159=(_0x2dd7f3?_0x5afc7a(_0x1f3325,_0x38f976,_0x3a6159):_0x5afc7a(_0x3a6159))||_0x3a6159);return _0x2dd7f3&&_0x3a6159&&ha(_0x1f3325,_0x38f976,_0x3a6159),_0x3a6159;},ht=(_0x727ade,_0x2b91e7)=>(_0x22cd24,_0x5c28a6)=>_0x2b91e7(_0x22cd24,_0x5c28a6,_0x727ade);let fs=class extends _0x5a2d55{constructor(_0x30dff9,_0x5d575e,_0x1f49a2,_0x16a4c6,_0x4e4d5a){const _0x58b0f4=_0x3a0f4f;super(),g(this,_0x58b0f4(0x26b),[]),g(this,'_cursors',[]),(this[_0x58b0f4(0x273)]=_0x30dff9,this['_docSkeletonManagerService']=_0x5d575e,this[_0x58b0f4(0x123)]=_0x1f49a2,this[_0x58b0f4(0x418)]=_0x16a4c6,this[_0x58b0f4(0x3b2)]=_0x4e4d5a,this[_0x58b0f4(0x531)]());}[_0x3a0f4f(0x531)](){const _0x4d65b8=_0x3a0f4f,_0x1acbf1=this[_0x4d65b8(0x273)][_0x4d65b8(0x492)],_0x441005=this[_0x4d65b8(0x551)];this[_0x4d65b8(0x49b)](_0x1f0a7e([this[_0x4d65b8(0x123)][_0x4d65b8(0x42c)](_0x1acbf1),this[_0x4d65b8(0x3b2)][_0x4d65b8(0x2c1)]])[_0x4d65b8(0x2af)](_0x388f57(([_0x10d087,_0x4a6269])=>({'skeleton':_0x441005['getSkeleton'](),'cursors':[..._0x10d087[_0x4d65b8(0x3a9)]()][_0x4d65b8(0x1bb)](_0x48381c=>({..._0x48381c,'color':_0x4a6269[_0x48381c[_0x4d65b8(0x3d3)]]}))})))[_0x4d65b8(0x4f0)](_0x2e9120=>{const _0x1c6f23=_0x4d65b8;if(this[_0x1c6f23(0x4ba)](),_0x2e9120){const {skeleton:_0x46ad76,cursors:_0x136eb8}=_0x2e9120;this[_0x1c6f23(0x530)](_0x46ad76,_0x136eb8);}})),this['_initResize'](),this[_0x4d65b8(0x246)]();}['_updateCollabCursors'](_0x3f2aed,_0x2cf2d8){const _0x5cfae5=_0x3a0f4f,{scene:_0x5d3a1a,mainComponent:_0x3ccacc}=this[_0x5cfae5(0x273)],_0x48c972=_0x2cf2d8['map'](_0x5aca94=>new ri(_0x5aca94,_0x5d3a1a,_0x3f2aed,_0x3ccacc));this[_0x5cfae5(0x26b)]=_0x48c972,this[_0x5cfae5(0x1fa)]=_0x2cf2d8;}[_0x3a0f4f(0x126)](){const _0x426958=_0x3a0f4f;this[_0x426958(0x4ba)]();const {scene:_0x498794,mainComponent:_0x326190}=this[_0x426958(0x273)],_0x2baca0=this[_0x426958(0x551)][_0x426958(0x386)](),_0x3f4615=this[_0x426958(0x1fa)][_0x426958(0x545)](_0x586130=>new ri(_0x586130,_0x498794,_0x2baca0,_0x326190));this['_cursorShapes']=_0x3f4615;}[_0x3a0f4f(0x4ba)](){const _0x225a56=_0x3a0f4f;this[_0x225a56(0x26b)][_0x225a56(0x444)](_0x1af756=>_0x1af756[_0x225a56(0x262)]()),this['_cursorShapes']=[];}[_0x3a0f4f(0x246)](){const _0x35e383=_0x3a0f4f,_0x38bc15=[_0x2bbb9a['id']];this[_0x35e383(0x49b)](this[_0x35e383(0x418)][_0x35e383(0x40d)](_0x4e9e2d=>{const _0x5245c1=_0x35e383;_0x38bc15[_0x5245c1(0x18d)](_0x4e9e2d['id'])&&_0x4e9e2d[_0x5245c1(0x1f7)][_0x5245c1(0x492)]===this[_0x5245c1(0x273)]['unitId']&&this[_0x5245c1(0x126)]();}));}[_0x3a0f4f(0x4f3)](){const _0xe36fc7=_0x3a0f4f;this[_0xe36fc7(0x49b)](_0x26e733(this[_0xe36fc7(0x273)][_0xe36fc7(0x12d)]['onTransformChange$'])[_0xe36fc7(0x2af)](_0x3b2257(_0x3f539a=>_0x3f539a['type']===_0x259977[_0xe36fc7(0x4bc)]),_0x261a1e(0x10))[_0xe36fc7(0x4f0)](()=>{const _0x56b2b8=_0xe36fc7;this[_0x56b2b8(0x126)]();}));}};fs=_a([ht(0x1,_0x4a6309(_0x1264e8)),ht(0x2,_0x4a6309(Ve)),ht(0x3,_0x21538e),ht(0x4,_0x4a6309(_0x448a8c))],fs);const ua=0x1,da=1.5;class fa extends _0x313cda{constructor(_0x51c538,_0x8e310e){const _0x560f60=_0x3a0f4f;super(_0x51c538,_0x8e310e),g(this,_0x560f60(0x32a)),g(this,_0x560f60(0x4cc),!0x1),g(this,_0x560f60(0x317)),g(this,'_name',''),g(this,_0x560f60(0x249),_0x560f60(0x253)),g(this,'_backgroundColor'),(_0x8e310e&&this['setShapeProps'](_0x8e310e),this[_0x560f60(0x1a6)][_0x560f60(0x3c4)](()=>this[_0x560f60(0x2e1)]({'hovered':!0x0})),this[_0x560f60(0x40e)][_0x560f60(0x3c4)](()=>this[_0x560f60(0x2e1)]({'hovered':!0x1})));}[_0x3a0f4f(0x2e1)](_0x360e41){const _0x40b1f1=_0x3a0f4f;var _0x2235ee,_0x2c7f78,_0x2afd8f,_0x4204c7,_0x55ca07,_0x122417;this[_0x40b1f1(0x32a)]=(_0x2235ee=_0x360e41['color'])!=null?_0x2235ee:this[_0x40b1f1(0x32a)],this[_0x40b1f1(0x4cc)]=(_0x2c7f78=_0x360e41['hovered'])!=null?_0x2c7f78:this[_0x40b1f1(0x4cc)],this['_range']=(_0x2afd8f=_0x360e41[_0x40b1f1(0x4c0)])!=null?_0x2afd8f:this[_0x40b1f1(0x317)],this[_0x40b1f1(0x4cd)]=(_0x4204c7=_0x360e41['name'])!=null?_0x4204c7:this[_0x40b1f1(0x4cd)],this[_0x40b1f1(0x249)]=(_0x55ca07=_0x360e41[_0x40b1f1(0x329)])!=null?_0x55ca07:this[_0x40b1f1(0x249)],this['_backgroundColor']=(_0x122417=_0x360e41[_0x40b1f1(0x24e)])!=null?_0x122417:this['_backgroundColor'],this[_0x40b1f1(0x185)]({'width':_0x360e41[_0x40b1f1(0x266)],'height':_0x360e41[_0x40b1f1(0x161)]});}[_0x3a0f4f(0x237)](_0x6b8cc8){const _0x18eff1=_0x3a0f4f,{row:_0x375a72,column:_0x2fca07}=_0x6b8cc8;if(_0x375a72>=this[_0x18eff1(0x317)][_0x18eff1(0x3ad)]&&_0x375a72<=this['_range']['endRow']&&_0x2fca07>=this[_0x18eff1(0x317)][_0x18eff1(0x210)]&&_0x2fca07<=this['_range'][_0x18eff1(0x3f4)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x18eff1(0x2e1)]({'hovered':!0x1});}[_0x3a0f4f(0x1e3)](_0x59b347){return!0x1;}[_0x3a0f4f(0x15d)](_0x74b9b5){const _0x2f5eaa=_0x3a0f4f;_0x37e84b[_0x2f5eaa(0x379)](_0x74b9b5,{'width':this['width'],'height':this[_0x2f5eaa(0x161)],'strokeWidth':da,'stroke':this[_0x2f5eaa(0x32a)],'evented':!0x1,'fill':this[_0x2f5eaa(0x3f7)]}),this['_hovered']&&(_0x74b9b5[_0x2f5eaa(0x13d)](),_0x74b9b5[_0x2f5eaa(0x3ff)](0x1,0x0,0x0,0x1,this[_0x2f5eaa(0x266)],this[_0x2f5eaa(0x249)]==='bottom'?0x0:-nt),Bt[_0x2f5eaa(0x379)](_0x74b9b5,{'text':this[_0x2f5eaa(0x4cd)],'color':this[_0x2f5eaa(0x32a)]}),_0x74b9b5[_0x2f5eaa(0x543)]());}}var va=Object[_0x3a0f4f(0x40a)],pa=Object[_0x3a0f4f(0x409)],ma=(_0x2f6b43,_0x47e83b,_0x1ce530,_0x413b8c)=>{const _0x26614b=_0x3a0f4f;for(var _0x5d0c83=_0x413b8c>0x1?void 0x0:_0x413b8c?pa(_0x47e83b,_0x1ce530):_0x47e83b,_0x393060=_0x2f6b43[_0x26614b(0x312)]-0x1,_0xe47300;_0x393060>=0x0;_0x393060--)(_0xe47300=_0x2f6b43[_0x393060])&&(_0x5d0c83=(_0x413b8c?_0xe47300(_0x47e83b,_0x1ce530,_0x5d0c83):_0xe47300(_0x5d0c83))||_0x5d0c83);return _0x413b8c&&_0x5d0c83&&va(_0x47e83b,_0x1ce530,_0x5d0c83),_0x5d0c83;},es=(_0x384c7f,_0x454154)=>(_0x275ed4,_0x36ee8d)=>_0x454154(_0x275ed4,_0x36ee8d,_0x384c7f);const ga=0x1389;let vs=class extends _0x5a2d55{constructor(_0x5184f0,_0x178a32,_0x252a9f,_0x538fe8){const _0x202d2d=_0x3a0f4f;super(),g(this,'_cursors',new Set()),g(this,'_lastPointer',null),(this[_0x202d2d(0x273)]=_0x5184f0,this[_0x202d2d(0x16d)]=_0x178a32,this[_0x202d2d(0x123)]=_0x252a9f,this['_themeService']=_0x538fe8,this['_init']());}['_init'](){const _0x1b2a75=_0x3a0f4f;this[_0x1b2a75(0x16d)][_0x1b2a75(0x24f)]['pipe'](_0x548b51(this[_0x1b2a75(0x220)]),_0x3aed19(_0x2d97ee=>{const _0x22ec47=_0x1b2a75;if(_0x2d97ee){const _0x1b288d=_0x2d97ee[_0x22ec47(0x477)];return _0x1f0a7e(this[_0x22ec47(0x123)][_0x22ec47(0x42c)](this['_context'][_0x22ec47(0x492)]),this[_0x22ec47(0x3b2)][_0x22ec47(0x2c1)])[_0x22ec47(0x2af)](_0x388f57(([_0x2a5526,_0x439dc8])=>{const _0xaafad3=_0x22ec47,_0x3bb927=new Map();return _0x2a5526[_0xaafad3(0x444)]((_0x109677,_0x4fbe44)=>{const _0x3b522d=_0xaafad3;if(_0x109677[_0x3b522d(0x2bc)]===_0x1b288d){const _0x2c8576={..._0x109677};_0x2c8576[_0x3b522d(0x3d3)]=_0x439dc8[_0x109677[_0x3b522d(0x3d3)]],_0x3bb927[_0x3b522d(0x4d9)](_0x4fbe44,_0x2c8576);}}),{'skeleton':_0x2d97ee,'cursors':_0x3bb927};}));}return _0x1209b8({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x46b215,cursors:_0x2a8ca6})=>{const _0x3f1e65=_0x1b2a75;this['_removeCollabCursors'](),_0x46b215&&this[_0x3f1e65(0x530)](_0x46b215,_0x2a8ca6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x1b2a75(0x4f0)](_0xcb9aec=>{const _0x5625f6=_0x1b2a75;if(_0xcb9aec==null)return;const {skeleton:_0x471741}=_0xcb9aec,{scene:_0x2dd33d}=this['_context'];_0x2dd33d[_0x5625f6(0x450)][_0x5625f6(0x3c4)](_0xcb384c(_0x2edcb4=>{const _0xeceb00=_0x5625f6;var _0x4aecc3,_0x112431;const {offsetX:_0x462e9c,offsetY:_0x385035}=_0x2edcb4,{x:_0x10dd7c,y:_0x403c31}=_0x2dd33d[_0xeceb00(0x20d)](_0x1cc9e8['FromArray']([_0x462e9c,_0x385035])),{scaleX:_0x20b451,scaleY:_0x4ef082}=_0x2dd33d[_0xeceb00(0x498)](),_0x31c0e0=_0x2dd33d[_0xeceb00(0x383)](_0x1090ca[_0xeceb00(0x2b8)]),_0x3d4ebc=_0x2dd33d[_0xeceb00(0x252)](_0x1cc9e8[_0xeceb00(0x39e)]([_0x10dd7c,_0x403c31]),_0x31c0e0),_0x1d6758=_0x471741[_0xeceb00(0x4c1)](_0x462e9c,_0x385035,_0x20b451,_0x4ef082,_0x3d4ebc);((_0x4aecc3=this[_0xeceb00(0x51d)])==null?void 0x0:_0x4aecc3[_0xeceb00(0x47d)])===_0x1d6758['column']&&((_0x112431=this['_lastPointer'])==null?void 0x0:_0x112431[_0xeceb00(0x13e)])===_0x1d6758['row']||this[_0xeceb00(0x1fa)][_0xeceb00(0x444)](_0x1f3dac=>{const _0x5ba2b4=_0xeceb00;_0x1f3dac[_0x5ba2b4(0x237)](_0x1d6758);});},0x64));});}['_updateCollabCursors'](_0x4d15aa,_0x3295bd){const _0x2612e3=_0x3a0f4f;var _0x585745;const _0xf45b62=(_0x585745=this[_0x2612e3(0x16d)]['getCurrent']())==null?void 0x0:_0x585745['skeleton'];if(!_0xf45b62)return;const _0x122a73=this[_0x2612e3(0x46c)]();if(!_0x122a73)return;this[_0x2612e3(0x1fa)]['forEach'](_0x1c4881=>{const _0x497cca=_0x2612e3;_0x1c4881[_0x497cca(0x529)]();});const {scene:_0x281df1}=_0x122a73,_0x3770bf=Sa(Array[_0x2612e3(0x2ef)](_0x3295bd[_0x2612e3(0x3a9)]()))[_0x2612e3(0x545)](_0xaedc91=>{const _0x1de329=_0x2612e3,{color:_0x20bcfa,range:_0x378821,name:_0x49be96,selection:_0x15787f,sheetID:_0x419bb}=_0xaedc91,{startColumn:_0x38226f,startRow:_0x565ed5,endColumn:_0x34b5a3,endRow:_0x4906cc}=_0x378821,_0x513779=_0x603ded(_0x565ed5,_0x38226f,_0x281df1,_0xf45b62),_0x29216e=_0x603ded(_0x4906cc,_0x34b5a3,_0x281df1,_0xf45b62),{columnHeaderHeightAndMarginTop:_0x41067a}=_0xf45b62,{startX:_0x39dc11,startY:_0x4797d2}=_0x513779,{endX:_0x3cd808,endY:_0x38633c}=_0x29216e,_0x3fdc18=_0x3cd808-_0x39dc11,_0x17f922=_0x38633c-_0x4797d2,_0x1551ef={'labelPosition':_0x4797d2-_0x41067a>=nt?_0x1de329(0x253):_0x1de329(0x174),'sheetID':_0x419bb,'range':_0x378821,'color':_0x20bcfa,'name':_0x49be96,'selection':_0x15787f,'left':_0x39dc11,'top':_0x4797d2,'width':_0x3fdc18,'height':_0x17f922,'evented':!0x1,'zIndex':ga};return new fa(_0x49be96,_0x1551ef);});_0x281df1[_0x2612e3(0x21f)](_0x3770bf,ua),this[_0x2612e3(0x1fa)]=new Set(_0x3770bf);}[_0x3a0f4f(0x4ba)](){const _0x1bc73b=_0x3a0f4f;var _0x4ee08d;(_0x4ee08d=this['_cursors'])==null||_0x4ee08d[_0x1bc73b(0x444)](_0x570011=>_0x570011[_0x1bc73b(0x262)]());}[_0x3a0f4f(0x46c)](){const _0x23427d=_0x3a0f4f;return _0x4a113b(this['_context'][_0x23427d(0x22a)],this[_0x23427d(0x273)]);}};vs=ma([es(0x1,_0x4a6309(_0x347524)),es(0x2,_0x4a6309(Ve)),es(0x3,_0x4a6309(_0x448a8c))],vs);function Sa(_0x1bf713){const _0x417aff=_0x3a0f4f,_0xc16ce0=new Map();return _0x1bf713[_0x417aff(0x444)](_0x1dc1a9=>{const _0x58936f=_0x417aff;if(_0xc16ce0[_0x58936f(0x261)](_0x1dc1a9[_0x58936f(0x306)])){const _0xed024c=_0xc16ce0[_0x58936f(0x204)](_0x1dc1a9[_0x58936f(0x306)]);_0xed024c['name']+=',\x20'+_0x1dc1a9[_0x58936f(0x346)];}else _0xc16ce0[_0x58936f(0x4d9)](_0x1dc1a9[_0x58936f(0x306)],_0x1dc1a9);}),Array['from'](_0xc16ce0[_0x417aff(0x3a9)]());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x22fd8a){const _0x517777=_0x3a0f4f;return _0x22fd8a&&_0x22fd8a[_0x517777(0x52a)]&&Object[_0x517777(0x2cb)]['hasOwnProperty'][_0x517777(0x140)](_0x22fd8a,'default')?_0x22fd8a[_0x517777(0x3ac)]:_0x22fd8a;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0xb19a7c=_0x3a0f4f;if(ni)return Ze;ni=0x1;var _0x327edf=_0x2e372f,_0x21a755=Symbol[_0xb19a7c(0x556)](_0xb19a7c(0x2da)),_0x38fe0f=Symbol['for'](_0xb19a7c(0x2f2)),_0x3f5b16=Object[_0xb19a7c(0x2cb)][_0xb19a7c(0x230)],_0x147ad8=_0x327edf[_0xb19a7c(0x3e5)][_0xb19a7c(0x4e0)],_0x3a6d7c={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x460a25(_0xed8d60,_0x448406,_0x51b389){const _0x4b199a=_0xb19a7c;var _0x271366,_0x43dd7e={},_0x56ec59=null,_0x5991ba=null;_0x51b389!==void 0x0&&(_0x56ec59=''+_0x51b389),_0x448406[_0x4b199a(0x363)]!==void 0x0&&(_0x56ec59=''+_0x448406[_0x4b199a(0x363)]),_0x448406[_0x4b199a(0x124)]!==void 0x0&&(_0x5991ba=_0x448406[_0x4b199a(0x124)]);for(_0x271366 in _0x448406)_0x3f5b16['call'](_0x448406,_0x271366)&&!_0x3a6d7c[_0x4b199a(0x230)](_0x271366)&&(_0x43dd7e[_0x271366]=_0x448406[_0x271366]);if(_0xed8d60&&_0xed8d60[_0x4b199a(0x43e)]){for(_0x271366 in(_0x448406=_0xed8d60[_0x4b199a(0x43e)],_0x448406))_0x43dd7e[_0x271366]===void 0x0&&(_0x43dd7e[_0x271366]=_0x448406[_0x271366]);}return{'$$typeof':_0x21a755,'type':_0xed8d60,'key':_0x56ec59,'ref':_0x5991ba,'props':_0x43dd7e,'_owner':_0x147ad8[_0x4b199a(0x160)]};}return Ze[_0xb19a7c(0x47c)]=_0x38fe0f,Ze[_0xb19a7c(0x4af)]=_0x460a25,Ze[_0xb19a7c(0x4aa)]=_0x460a25,Ze;}var oi;function Ca(){const _0x21d2f0=_0x3a0f4f;return oi||(oi=0x1,ss['exports']=Ia()),ss[_0x21d2f0(0x4ee)];}var De=Ca(),te=function(){return te=Object['assign']||function(_0x382178){const _0x4d67d7=_0x328b;for(var _0x364401,_0x14359e=0x1,_0x439a77=arguments['length'];_0x14359e<_0x439a77;_0x14359e++){_0x364401=arguments[_0x14359e];for(var _0x3fea33 in _0x364401)Object[_0x4d67d7(0x2cb)][_0x4d67d7(0x230)][_0x4d67d7(0x140)](_0x364401,_0x3fea33)&&(_0x382178[_0x3fea33]=_0x364401[_0x3fea33]);}return _0x382178;},te['apply'](this,arguments);},Ea=function(_0x14a219,_0x27774b){const _0x293ce4=_0x3a0f4f;var _0x358f9e={};for(var _0x16409b in _0x14a219)Object['prototype']['hasOwnProperty'][_0x293ce4(0x140)](_0x14a219,_0x16409b)&&_0x27774b[_0x293ce4(0x299)](_0x16409b)<0x0&&(_0x358f9e[_0x16409b]=_0x14a219[_0x16409b]);if(_0x14a219!=null&&typeof Object['getOwnPropertySymbols']==_0x293ce4(0x1ff)){for(var _0x13cf3e=0x0,_0x16409b=Object[_0x293ce4(0x136)](_0x14a219);_0x13cf3e<_0x16409b[_0x293ce4(0x312)];_0x13cf3e++)_0x27774b[_0x293ce4(0x299)](_0x16409b[_0x13cf3e])<0x0&&Object[_0x293ce4(0x2cb)][_0x293ce4(0x283)]['call'](_0x14a219,_0x16409b[_0x13cf3e])&&(_0x358f9e[_0x16409b[_0x13cf3e]]=_0x14a219[_0x16409b[_0x13cf3e]]);}return _0x358f9e;},Us=_0x1c41dc(function(_0x1bb41d,_0x54817f){const _0x4fe225=_0x3a0f4f;var _0x88ba29=_0x1bb41d['icon'],_0x28d9f7=_0x1bb41d['id'],_0x29840f=_0x1bb41d['className'],_0x58b5c6=_0x1bb41d[_0x4fe225(0x2c3)],_0x49df1d=Ea(_0x1bb41d,[_0x4fe225(0x3b0),'id',_0x4fe225(0x13c),'extend']),_0x48c401=_0x4fe225(0x36b)[_0x4fe225(0x14a)](_0x28d9f7,'\x20')['concat'](_0x29840f||'')['trim'](),_0x2790dc=_0x32d833('_'['concat'](Ra()));return Zi(_0x88ba29,''[_0x4fe225(0x14a)](_0x28d9f7),{'defIds':_0x88ba29[_0x4fe225(0x28f)],'idSuffix':_0x2790dc['current']},te({'ref':_0x54817f,'className':_0x48c401},_0x49df1d),_0x58b5c6);});function Zi(_0x1bc3a0,_0x43d996,_0x28ef07,_0x205231,_0x39da6e){const _0x4ef54b=_0x3a0f4f;return _0x5436d0(_0x1bc3a0[_0x4ef54b(0x1e5)],te(te({'key':_0x43d996},ba(_0x1bc3a0,_0x28ef07,_0x39da6e)),_0x205231),(Ta(_0x1bc3a0,_0x28ef07)['children']||[])[_0x4ef54b(0x545)](function(_0xd657f9,_0x4a1569){const _0x3888c7=_0x4ef54b;return Zi(_0xd657f9,''['concat'](_0x43d996,'-')[_0x3888c7(0x14a)](_0x1bc3a0['tag'],'-')[_0x3888c7(0x14a)](_0x4a1569),_0x28ef07,void 0x0,_0x39da6e);}));}function ba(_0x2b0d4e,_0x5c5182,_0xc1c459){const _0x273576=_0x3a0f4f;var _0x90bc30=te({},_0x2b0d4e[_0x273576(0x507)]);_0xc1c459!=null&&_0xc1c459[_0x273576(0x4c6)]&&_0x90bc30['fill']===_0x273576(0x4c6)&&(_0x90bc30[_0x273576(0x2dc)]=_0xc1c459[_0x273576(0x4c6)]);var _0x5445e3=_0x5c5182['defIds'];return!_0x5445e3||_0x5445e3['length']===0x0||(_0x2b0d4e[_0x273576(0x1e5)]===_0x273576(0x48e)&&_0x90bc30[_0x273576(0x511)]&&(_0x90bc30[_0x273576(0x511)]=_0x90bc30['xlink:href']+_0x5c5182[_0x273576(0x2cf)]),Object[_0x273576(0x15e)](_0x90bc30)[_0x273576(0x444)](function(_0x522c72){const _0x14e041=_0x273576;var _0x2a5414=_0x522c72[0x0],_0x1ab564=_0x522c72[0x1];typeof _0x1ab564==_0x14e041(0x537)&&(_0x90bc30[_0x2a5414]=_0x1ab564['replace'](/url\(#(.*)\)/,_0x14e041(0x4b3)['concat'](_0x5c5182['idSuffix'],')')));})),_0x90bc30;}function Ta(_0x229486,_0x728dcb){const _0x218979=_0x3a0f4f;var _0x4594ae,_0x7d54ef=_0x728dcb[_0x218979(0x28f)];return!_0x7d54ef||_0x7d54ef[_0x218979(0x312)]===0x0?_0x229486:_0x229486[_0x218979(0x1e5)]===_0x218979(0x311)&&(!((_0x4594ae=_0x229486['children'])===null||_0x4594ae===void 0x0)&&_0x4594ae[_0x218979(0x312)])?te(te({},_0x229486),{'children':_0x229486[_0x218979(0x223)]['map'](function(_0x420a18){const _0x524c84=_0x218979;return typeof _0x420a18[_0x524c84(0x507)]['id']==_0x524c84(0x537)&&_0x7d54ef&&_0x7d54ef[_0x524c84(0x299)](_0x420a18[_0x524c84(0x507)]['id'])>-0x1?te(te({},_0x420a18),{'attrs':te(te({},_0x420a18[_0x524c84(0x507)]),{'id':_0x420a18['attrs']['id']+_0x728dcb[_0x524c84(0x2cf)]})}):_0x420a18;})}):_0x229486;}function Ra(){const _0x30a4b3=_0x3a0f4f;return Math[_0x30a4b3(0x341)]()[_0x30a4b3(0x542)](0x24)[_0x30a4b3(0x527)](0x2,0x8);}Us['displayName']=_0x3a0f4f(0x401);var Oa={'tag':_0x3a0f4f(0x2a3),'attrs':{'fill':'none','viewBox':_0x3a0f4f(0x373),'width':'1em','height':_0x3a0f4f(0x411)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a0f4f(0x16b)},'children':[{'tag':_0x3a0f4f(0x52c),'attrs':{'stroke':'currentColor','d':_0x3a0f4f(0x23e),'strokeLinecap':_0x3a0f4f(0x548),'strokeLinejoin':_0x3a0f4f(0x548),'strokeWidth':1.2}}]},{'tag':_0x3a0f4f(0x311),'attrs':{},'children':[{'tag':_0x3a0f4f(0x462),'attrs':{'id':_0x3a0f4f(0x2e5)},'children':[{'tag':'path','attrs':{'fill':_0x3a0f4f(0x51f),'d':_0x3a0f4f(0x482)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Qi=_0x1c41dc(function(_0x240031,_0x20c295){const _0x45af2d=_0x3a0f4f;return _0x5436d0(Us,Object[_0x45af2d(0x3df)]({},_0x240031,{'id':_0x45af2d(0x2a1),'ref':_0x20c295,'icon':Oa}));});Qi['displayName']='OffLineSingle';var ya={'tag':_0x3a0f4f(0x2a3),'attrs':{'fill':_0x3a0f4f(0x4be),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3a0f4f(0x555)},'children':[{'tag':_0x3a0f4f(0x52c),'attrs':{'stroke':_0x3a0f4f(0x3f3),'d':_0x3a0f4f(0x4e6),'strokeLinecap':'round','strokeLinejoin':_0x3a0f4f(0x548),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3a0f4f(0x33f)},'children':[{'tag':_0x3a0f4f(0x52c),'attrs':{'fill':_0x3a0f4f(0x51f),'d':'M0\x200H16V16H0z','transform':_0x3a0f4f(0x3ef)}}]}]}],'defIds':[_0x3a0f4f(0x33f)]},er=_0x1c41dc(function(_0x49494b,_0x21b8d2){const _0x1e3b5e=_0x3a0f4f;return _0x5436d0(Us,Object[_0x1e3b5e(0x3df)]({},_0x49494b,{'id':_0x1e3b5e(0x2c0),'ref':_0x21b8d2,'icon':ya}));});er[_0x3a0f4f(0x328)]=_0x3a0f4f(0x419);function tr(_0x183f36){const _0x55ad31=_0x3a0f4f;var _0x2572fe,_0x5e4ee9,_0x42736b='';if(typeof _0x183f36==_0x55ad31(0x537)||typeof _0x183f36==_0x55ad31(0x4e5))_0x42736b+=_0x183f36;else{if(typeof _0x183f36==_0x55ad31(0x24a)){if(Array[_0x55ad31(0x248)](_0x183f36)){var _0x424b91=_0x183f36[_0x55ad31(0x312)];for(_0x2572fe=0x0;_0x2572fe<_0x424b91;_0x2572fe++)_0x183f36[_0x2572fe]&&(_0x5e4ee9=tr(_0x183f36[_0x2572fe]))&&(_0x42736b&&(_0x42736b+='\x20'),_0x42736b+=_0x5e4ee9);}else{for(_0x5e4ee9 in _0x183f36)_0x183f36[_0x5e4ee9]&&(_0x42736b&&(_0x42736b+='\x20'),_0x42736b+=_0x5e4ee9);}}}return _0x42736b;}function wa(){const _0x2b007f=_0x3a0f4f;for(var _0x1ab06e,_0x12d78c,_0x2c60dd=0x0,_0x2c1f4e='',_0x5e4ba6=arguments[_0x2b007f(0x312)];_0x2c60dd<_0x5e4ba6;_0x2c60dd++)(_0x1ab06e=arguments[_0x2c60dd])&&(_0x12d78c=tr(_0x1ab06e))&&(_0x2c1f4e&&(_0x2c1f4e+='\x20'),_0x2c1f4e+=_0x12d78c);return _0x2c1f4e;}const Da=_0x3a0f4f(0x349),Pa=_0x3a0f4f(0x34e),Na=_0x3a0f4f(0x3de),Ua=_0x3a0f4f(0x3d6),Aa=_0x3a0f4f(0x1c7),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x1293b1){const _0x2df0fe=_0x3a0f4f;switch(_0x1293b1){case J[_0x2df0fe(0x275)]:return'collabStatus.offline';case J[_0x2df0fe(0x139)]:return _0x2df0fe(0x400);case J[_0x2df0fe(0x3e4)]:return _0x2df0fe(0x518);case J[_0x2df0fe(0x137)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x2df0fe(0x288)]:return _0x2df0fe(0x50e);case J[_0x2df0fe(0x2ee)]:case J['PENDING']:return'collabStatus.synced';}}function xa(_0x4804ef){const _0x3a9031=_0x3a0f4f,{status$:_0x1a1f1a}=_0x4804ef,_0x433873=_0x251ac2(_0x1a1f1a,J[_0x3a9031(0x137)]),_0x2a267a=_0xfa79ec(_0x440b58),_0xf763f1=_0xfa79ec(xe),_0x1a17de=_0x433873!==J[_0x3a9031(0x275)],_0x5f02c4=_0x2a267a['t'](Ma(_0x433873)),_0x419669=wa(Qe[_0x3a9031(0x1ab)],{[Qe['online']]:_0x1a17de,[Qe[_0x3a9031(0x1ea)]]:!_0x1a17de}),_0x3332eb=_0x1a17de?De[_0x3a9031(0x4af)](er,{}):De[_0x3a9031(0x4af)](Qi,{}),_0xf8c167=_0x2ab67b(()=>{const _0x925621=_0x3a9031;_0x1a17de||_0xf763f1[_0x925621(0x3f6)]();},[_0x1a17de,_0xf763f1]);function _0x21861f(){const _0x1b4eb5=_0x3a9031;return De['jsxs'](_0x1b4eb5(0x30f),{'className':_0x419669,'onClick':_0xf8c167,'children':[De[_0x1b4eb5(0x4af)](_0x1b4eb5(0x30f),{'className':Qe[_0x1b4eb5(0x29b)],'children':_0x3332eb}),De['jsx']('div',{'className':Qe[_0x1b4eb5(0x163)],'children':_0x5f02c4})]});}return _0x1a17de?_0x21861f():De[_0x3a9031(0x4af)](_0x53fdd5,{'title':_0x2a267a['t'](_0x3a9031(0x175)),'children':_0x21861f()});}var La=Object[_0x3a0f4f(0x40a)],$a=Object[_0x3a0f4f(0x409)],Ha=(_0x4af120,_0x41faab,_0x508d09,_0x529674)=>{const _0x53b2d8=_0x3a0f4f;for(var _0x4924da=_0x529674>0x1?void 0x0:_0x529674?$a(_0x41faab,_0x508d09):_0x41faab,_0x2f502d=_0x4af120[_0x53b2d8(0x312)]-0x1,_0x175b53;_0x2f502d>=0x0;_0x2f502d--)(_0x175b53=_0x4af120[_0x2f502d])&&(_0x4924da=(_0x529674?_0x175b53(_0x41faab,_0x508d09,_0x4924da):_0x175b53(_0x4924da))||_0x4924da);return _0x529674&&_0x4924da&&La(_0x41faab,_0x508d09,_0x4924da),_0x4924da;},lt=(_0x16a58c,_0x4a5843)=>(_0x1cc1dd,_0x2fc4ed)=>_0x4a5843(_0x1cc1dd,_0x2fc4ed,_0x16a58c);let At=class extends _0x27d038{constructor(_0x1b5f4e,_0x5eff10,_0x15869e,_0x3d760d){const _0x25a832=_0x3a0f4f;super(),g(this,_0x25a832(0x177),new _0x1f5fb9(J[_0x25a832(0x137)])),(this[_0x25a832(0x345)]=_0x1b5f4e,this[_0x25a832(0x44c)]=_0x5eff10,this[_0x25a832(0x340)]=_0x15869e,this[_0x25a832(0x53f)]=_0x3d760d,this[_0x25a832(0x31f)](),this[_0x25a832(0x473)]());}[_0x3a0f4f(0x473)](){const _0x175529=_0x3a0f4f;this[_0x175529(0x49b)](this[_0x175529(0x345)][_0x175529(0x365)][_0x175529(0x2af)](_0x774f7c(()=>{const _0x130c8c=_0x175529,_0x211069=this[_0x130c8c(0x345)][_0x130c8c(0x327)]();return _0x211069?this['_collaborationController'][_0x130c8c(0x3ce)](_0x211069['getUnitId']()):_0x1209b8(null);}),_0x774f7c(_0x20beb5=>_0x20beb5?_0x20beb5[_0x175529(0x4fc)]:_0x1209b8(J[_0x175529(0x137)])))['subscribe'](_0x555b5d=>{const _0x308e4e=_0x175529;this[_0x308e4e(0x177)][_0x308e4e(0x25c)](_0x555b5d);}));}[_0x3a0f4f(0x31f)](){const _0x45bc31=_0x3a0f4f;this[_0x45bc31(0x49b)](this[_0x45bc31(0x44c)]['registerComponent'](_0x58ba5e['HEADER_MENU'],()=>_0x499922(ja({'status$':this['_status$']['asObservable']()}),this['_injector'])));}};At=Ha([lt(0x0,_0x3dee00),lt(0x1,_0x699dce),lt(0x2,_0x4a6309(_0x5b64e2)),lt(0x3,_0x4a6309(rt))],At);function ja(_0x53a00d){const {status$:_0x3d20a4}=_0x53a00d;return function(){const _0xe8ff50=_0x328b;return De[_0xe8ff50(0x4af)](xa,{'status$':_0x3d20a4});};}const sr=_0x52afeb('uni.network.url-service');var Ba=Object[_0x3a0f4f(0x40a)],ka=Object[_0x3a0f4f(0x409)],Wa=(_0x575175,_0x6919e9,_0x4e2637,_0x40dd9c)=>{const _0x431546=_0x3a0f4f;for(var _0x52aab1=_0x40dd9c>0x1?void 0x0:_0x40dd9c?ka(_0x6919e9,_0x4e2637):_0x6919e9,_0x1d9639=_0x575175[_0x431546(0x312)]-0x1,_0xd05839;_0x1d9639>=0x0;_0x1d9639--)(_0xd05839=_0x575175[_0x1d9639])&&(_0x52aab1=(_0x40dd9c?_0xd05839(_0x6919e9,_0x4e2637,_0x52aab1):_0xd05839(_0x52aab1))||_0x52aab1);return _0x40dd9c&&_0x52aab1&&Ba(_0x6919e9,_0x4e2637,_0x52aab1),_0x52aab1;},ke=(_0x389777,_0x1dee57)=>(_0x5508c8,_0x10e717)=>_0x1dee57(_0x5508c8,_0x10e717,_0x389777);let Mt=class extends _0x5a2d55{constructor(_0x542c03,_0x5f2b17,_0x1174a2,_0x3173fa,_0x1b8041,_0xf5fcee){const _0x4b48ee=_0x3a0f4f;super(),this[_0x4b48ee(0x127)]=_0x542c03,this[_0x4b48ee(0x2d8)]=_0x5f2b17,this[_0x4b48ee(0x418)]=_0x1174a2,this['_localCacheService']=_0x3173fa,this[_0x4b48ee(0x17a)]=_0x1b8041,_0xf5fcee?_0xf5fcee==null||_0xf5fcee[_0x4b48ee(0x42f)]()[_0x4b48ee(0x17e)](()=>this['_init']()):(this['_logService'][_0x4b48ee(0x2db)](_0x4b48ee(0x487),_0x4b48ee(0x472)),this['_init']());}async[_0x3a0f4f(0x531)](){const _0x4b5724=_0x3a0f4f,_0x484a28=this[_0x4b5724(0x127)][_0x4b5724(0x238)](_0x4b5724(0x22a)),_0x293836=this[_0x4b5724(0x127)][_0x4b5724(0x238)](_0x4b5724(0x550));if(!_0x484a28||!_0x293836){this[_0x4b5724(0x2d8)][_0x4b5724(0x2db)](_0x4b5724(0x487),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x293836)){case ae['UNIVER_SHEET']:{const _0x3baeb8=await this[_0x4b5724(0x1fb)](_0x484a28);this[_0x4b5724(0x4ef)](_0x3baeb8);break;}case ae[_0x4b5724(0x12b)]:{await this[_0x4b5724(0x34f)](_0x484a28);break;}default:{this[_0x4b5724(0x2d8)][_0x4b5724(0x34b)]('[DataLoaderController]',_0x4b5724(0x324));break;}}}async['_setupSubUnitSync'](_0x43bbb5){const _0x5c9d8c=_0x3a0f4f;await this[_0x5c9d8c(0x4c5)](_0x43bbb5),_0x43bbb5[_0x5c9d8c(0x4f5)][_0x5c9d8c(0x2af)](_0x2a292b(this['dispose$']))[_0x5c9d8c(0x4f0)](_0x3ee38b=>{const _0x4b57d3=_0x5c9d8c;_0x3ee38b&&this[_0x4b57d3(0x4f2)](_0x3ee38b);}),this[_0x5c9d8c(0x127)][_0x5c9d8c(0x372)]['pipe'](_0x2a292b(this[_0x5c9d8c(0x220)]))[_0x5c9d8c(0x4f0)](()=>this[_0x5c9d8c(0x4c5)](_0x43bbb5));}[_0x3a0f4f(0x4f2)](_0x2d9981,_0x461bb6=!0x1){const _0x4ebd4f=_0x3a0f4f,_0x157647=this[_0x4ebd4f(0x127)][_0x4ebd4f(0x238)](_0x4ebd4f(0x4ca));_0x2d9981[_0x4ebd4f(0x54b)]()!==_0x157647&&this[_0x4ebd4f(0x127)][_0x4ebd4f(0x47f)]('subunit',_0x2d9981[_0x4ebd4f(0x54b)](),_0x461bb6);}async[_0x3a0f4f(0x4c5)](_0x2a65f5){const _0xb80ef7=_0x3a0f4f;var _0x449674;const _0x3ee2cf=this[_0xb80ef7(0x127)][_0xb80ef7(0x238)](_0xb80ef7(0x4ca));if(!_0x3ee2cf||!_0x2a65f5[_0xb80ef7(0x143)](_0x3ee2cf)){const _0x1a53bf=_0x2a65f5[_0xb80ef7(0x3c2)]()[0x0],_0x5baeda=_0x2a65f5[_0xb80ef7(0x143)](_0x1a53bf);if(!_0x5baeda)return;this[_0xb80ef7(0x4f2)](_0x5baeda,!0x0),await this[_0xb80ef7(0x418)][_0xb80ef7(0x267)](_0x57ba8['id'],{'unitId':_0x2a65f5[_0xb80ef7(0x1eb)](),'subUnitId':_0x1a53bf});return;}((_0x449674=_0x2a65f5[_0xb80ef7(0x425)]())==null?void 0x0:_0x449674['getSheetId']())!==_0x3ee2cf&&await this[_0xb80ef7(0x418)][_0xb80ef7(0x267)](_0x57ba8['id'],{'unitId':_0x2a65f5[_0xb80ef7(0x1eb)](),'subUnitId':_0x3ee2cf});}async[_0x3a0f4f(0x1fb)](_0x5bb9fa){const _0x2ce59c=_0x3a0f4f;let _0x1907da=0x0;const _0x1402b4=await this[_0x2ce59c(0x1dc)][_0x2ce59c(0x229)](_0x5bb9fa);return _0x1402b4&&(_0x1402b4[_0x2ce59c(0x41f)]||_0x1402b4[_0x2ce59c(0x4de)][_0x2ce59c(0x312)]!==0x0)&&(_0x1907da=_0x1402b4[_0x2ce59c(0x522)]),_0x1907da===0x0&&this[_0x2ce59c(0x2d8)]['debug'](_0x2ce59c(0x487),_0x2ce59c(0x35a)),this[_0x2ce59c(0x17a)]['loadSheet'](_0x5bb9fa,_0x1907da);}async[_0x3a0f4f(0x34f)](_0x273e66){const _0x46aa2d=_0x3a0f4f;let _0xf42954=0x0;const _0x10d0bd=await this[_0x46aa2d(0x1dc)]['loadOfflineData'](_0x273e66);return _0x10d0bd&&(_0x10d0bd[_0x46aa2d(0x41f)]||_0x10d0bd[_0x46aa2d(0x4de)][_0x46aa2d(0x312)]!==0x0)&&(_0xf42954=_0x10d0bd[_0x46aa2d(0x522)]),_0xf42954===0x0&&this[_0x46aa2d(0x2d8)][_0x46aa2d(0x2db)](_0x46aa2d(0x487),_0x46aa2d(0x35a)),this['_snapshotService'][_0x46aa2d(0x2ea)](_0x273e66,_0xf42954);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0x4c9627),ke(0x2,_0x21538e),ke(0x3,_0x4a6309(z)),ke(0x4,_0x4a6309(_0x22467d)),ke(0x5,_0x4a0f17(_0x3ca02d))],Mt);var Fa=Object[_0x3a0f4f(0x40a)],Va=Object[_0x3a0f4f(0x409)],Ga=(_0x2ce3ea,_0x47ca7a,_0xd1d0d,_0x4723c4)=>{const _0x1880b1=_0x3a0f4f;for(var _0x5b42be=_0x4723c4>0x1?void 0x0:_0x4723c4?Va(_0x47ca7a,_0xd1d0d):_0x47ca7a,_0x425c90=_0x2ce3ea[_0x1880b1(0x312)]-0x1,_0x30829d;_0x425c90>=0x0;_0x425c90--)(_0x30829d=_0x2ce3ea[_0x425c90])&&(_0x5b42be=(_0x4723c4?_0x30829d(_0x47ca7a,_0xd1d0d,_0x5b42be):_0x30829d(_0x5b42be))||_0x5b42be);return _0x4723c4&&_0x5b42be&&Fa(_0x47ca7a,_0xd1d0d,_0x5b42be),_0x5b42be;},ai=(_0x3e8960,_0x589648)=>(_0x55c2a1,_0x537ec5)=>_0x589648(_0x55c2a1,_0x537ec5,_0x3e8960);const Ya='DEFAULT_FILE_NAME',Ka=_0x3a0f4f(0x4f9);let xt=class extends _0x27d038{constructor(_0x12ab14,_0xe75ef3){const _0x4ba0f7=_0x3a0f4f;super(),this['_univerInstanceService']=_0x12ab14,this[_0x4ba0f7(0x145)]=_0xe75ef3,this[_0x4ba0f7(0x531)]();}[_0x3a0f4f(0x531)](){const _0x5b8ff8=_0x3a0f4f;this[_0x5b8ff8(0x49b)](this[_0x5b8ff8(0x345)][_0x5b8ff8(0x365)][_0x5b8ff8(0x4f0)](()=>{const _0xc48cb=_0x5b8ff8;var _0x21cad5;const _0x10d203=this[_0xc48cb(0x345)][_0xc48cb(0x327)]();let _0x5c70db=(_0x21cad5=this[_0xc48cb(0x145)]['getConfig'](Ya))!=null?_0x21cad5:Ka;_0x10d203 instanceof _0xf3ae73&&(_0x5c70db=_0x10d203['name']),document[_0xc48cb(0x55a)]=_0x5c70db;}));}};xt=Ga([ai(0x0,_0x3dee00),ai(0x1,_0x1526c7)],xt);var qa=Object[_0x3a0f4f(0x40a)],za=Object['getOwnPropertyDescriptor'],Xa=(_0x100ce7,_0x45dd74,_0x471eac,_0x149ec6)=>{const _0xe7663=_0x3a0f4f;for(var _0x5ae792=_0x149ec6>0x1?void 0x0:_0x149ec6?za(_0x45dd74,_0x471eac):_0x45dd74,_0x15509c=_0x100ce7[_0xe7663(0x312)]-0x1,_0x22b771;_0x15509c>=0x0;_0x15509c--)(_0x22b771=_0x100ce7[_0x15509c])&&(_0x5ae792=(_0x149ec6?_0x22b771(_0x45dd74,_0x471eac,_0x5ae792):_0x22b771(_0x5ae792))||_0x5ae792);return _0x149ec6&&_0x5ae792&&qa(_0x45dd74,_0x471eac,_0x5ae792),_0x5ae792;},is=(_0x33ea32,_0x3596aa)=>(_0x2e5b7a,_0x451315)=>_0x3596aa(_0x2e5b7a,_0x451315,_0x33ea32);let Lt=class{constructor(_0x4c924a,_0x3b14e8,_0x42f286){const _0x3d8d71=_0x3a0f4f;this[_0x3d8d71(0x145)]=_0x4c924a,this[_0x3d8d71(0x53b)]=_0x3b14e8,this[_0x3d8d71(0x2e3)]=_0x42f286,this[_0x3d8d71(0x1fe)]();}['init'](){const _0x2c851c=_0x3a0f4f;this[_0x2c851c(0x53b)][_0x2c851c(0x3b3)]({'priority':0x1,'interceptor':(_0x452b2b,_0x3bc1ca)=>_0x3bc1ca(_0x452b2b)['pipe'](_0x4eb465(async _0x79197f=>{const _0x314bcf=_0x2c851c,_0xb76ea4=_0x79197f;if(_0xb76ea4['status']===0x191&&window['confirm'](this[_0x314bcf(0x2e3)]['t'](_0x314bcf(0x423)))){const _0x23c97c=window[_0x314bcf(0x29d)](window[_0x314bcf(0x152)][_0x314bcf(0x42e)]);window[_0x314bcf(0x152)][_0x314bcf(0x42e)]=this['_getLoginPath']()+_0x314bcf(0x456)+_0x23c97c;}return _0xb76ea4;}))});}[_0x3a0f4f(0x1d9)](){const _0x72e1fd=_0x3a0f4f;var _0x313ff2,_0x4f8729;const _0x2bf57b=this[_0x72e1fd(0x145)][_0x72e1fd(0x128)](Hn),_0x4a868f=this['_configService'][_0x72e1fd(0x128)](Q);return(_0x4f8729=(_0x313ff2=_0x4a868f==null?void 0x0:_0x4a868f['loginUrlKey'])!=null?_0x313ff2:_0x2bf57b)!=null?_0x4f8729:jn;}};Lt=Xa([is(0x0,_0x1526c7),is(0x1,_0x4a6309(_0x559bcb)),is(0x2,_0x4a6309(_0x440b58))],Lt);var Ja=Object[_0x3a0f4f(0x40a)],Za=Object['getOwnPropertyDescriptor'],Qa=(_0x19c3f6,_0x3a2fcc,_0x18082f,_0x1675fc)=>{const _0x8282da=_0x3a0f4f;for(var _0x3ee473=_0x1675fc>0x1?void 0x0:_0x1675fc?Za(_0x3a2fcc,_0x18082f):_0x3a2fcc,_0x4f2b71=_0x19c3f6[_0x8282da(0x312)]-0x1,_0x231e79;_0x4f2b71>=0x0;_0x4f2b71--)(_0x231e79=_0x19c3f6[_0x4f2b71])&&(_0x3ee473=(_0x1675fc?_0x231e79(_0x3a2fcc,_0x18082f,_0x3ee473):_0x231e79(_0x3ee473))||_0x3ee473);return _0x1675fc&&_0x3ee473&&Ja(_0x3a2fcc,_0x18082f,_0x3ee473),_0x3ee473;},ci=(_0x56cb87,_0x2c268e)=>(_0x4e8bcf,_0x1b7c22)=>_0x2c268e(_0x4e8bcf,_0x1b7c22,_0x56cb87);const ir=_0x3a0f4f(0x3a8),ec=_0x3a0f4f(0x41e);let ps=class extends _0x27d038{constructor(_0x38cca0,_0x340061){const _0x2fca69=_0x3a0f4f;super(),this['_HTTPService']=_0x38cca0,this[_0x2fca69(0x145)]=_0x340061,this[_0x2fca69(0x539)]();}[_0x3a0f4f(0x539)](){const _0x58f639=_0x3a0f4f,_0x5087c4=this;this[_0x58f639(0x49b)](this['_HTTPService'][_0x58f639(0x3b3)]({'priority':0x3e7,'interceptor':_0x449f9a({'isMatch'(_0x15be97){const _0x593ac6=_0x58f639;var _0x42bb03;if(_0x15be97[_0x593ac6(0x14e)]===_0x593ac6(0x2b6)&&((_0x42bb03=_0x15be97[_0x593ac6(0x3dd)])!=null&&_0x42bb03[_0x593ac6(0x3b4)])){const {objectID:_0x2e295c,objectType:_0x538ad8}=_0x15be97['requestParams'][_0x593ac6(0x3b4)]||{};if(!_0x2e295c||_0x538ad8===void 0x0)return!0x1;const _0xf86a=_0x5087c4[_0x593ac6(0x459)]()+'/'+_0x538ad8+_0x593ac6(0x410)+_0x2e295c+'/allowed';if(_0x15be97[_0x593ac6(0x360)]===_0xf86a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x422a0d){const _0x22f56f=_0x58f639;var _0x3724a6;return(_0x3724a6=_0x422a0d[_0x22f56f(0x3dd)])==null?void 0x0:_0x3724a6[_0x22f56f(0x3b4)];},'mergeParamsToRequest'(_0x306503,_0x287b42){const _0x40382a=_0x58f639,_0x5530d1=_0x5087c4[_0x40382a(0x459)]()+_0x40382a(0x4ab),_0x29fd63=_0x306503[_0x40382a(0x479)]((_0x30a8da,_0x1dbf1c)=>{const _0x2ef690=_0x40382a,{unitID:_0x38ba34,objectID:_0x35d9b3,objectType:_0x3d799d,actions:_0x7b29e1}=_0x1dbf1c;return _0x30a8da[_0x38ba34]||(_0x30a8da[_0x38ba34]={}),_0x30a8da[_0x38ba34][_0x35d9b3]||(_0x30a8da[_0x38ba34][_0x35d9b3]={'objectID':_0x35d9b3,'objectType':_0x3d799d,'actions':[]}),_0x30a8da[_0x38ba34][_0x35d9b3][_0x2ef690(0x3e2)]['push'](..._0x7b29e1),_0x30a8da;},{}),_0x30ebc7=[];for(const _0x1e76a9 in _0x29fd63)for(const _0x3eb302 in _0x29fd63[_0x1e76a9]){const {actions:_0x22ccf9,objectType:_0x4ed0c6}=_0x29fd63[_0x1e76a9][_0x3eb302],_0x3dea2e=[...new Set(_0x22ccf9)];_0x30ebc7[_0x40382a(0x43f)]({'unitID':_0x1e76a9,'objectID':_0x3eb302,'objectType':_0x4ed0c6,'actions':_0x3dea2e});}return new _0x827a3c(_0x40382a(0x2b6),_0x5530d1,{'headers':_0x287b42[_0x40382a(0x3a3)],'withCredentials':_0x287b42['withCredentials'],'responseType':_0x287b42['responseType'],'body':{'requests':_0x30ebc7}});}},{'distributeResult'(_0x265107,_0x154f3a){const _0x214de5=_0x58f639,{objectActions:_0x27e253}=_0x265107;return _0x154f3a[_0x214de5(0x545)](_0x2af924=>{const _0xdf8b0e=_0x214de5,{unitID:_0x2b3cb2,objectID:_0x48e8ab,actions:_0x3f74b1}=_0x2af924,_0x458c58=_0x27e253[_0xdf8b0e(0x16e)](_0x2bd170=>_0x2bd170[_0xdf8b0e(0x321)]===_0x2b3cb2&&_0x2bd170[_0xdf8b0e(0x4f8)]===_0x48e8ab),_0xbce9a9=_0x3f74b1[_0xdf8b0e(0x545)](_0x37fbe3=>_0x458c58==null?void 0x0:_0x458c58[_0xdf8b0e(0x3e2)][_0xdf8b0e(0x16e)](_0x1c2575=>_0x1c2575[_0xdf8b0e(0x284)]===_0x37fbe3))[_0xdf8b0e(0x271)](_0x4fa850=>!!_0x4fa850);return{'config':_0x2af924,'result':{'actions':_0xbce9a9,'error':_0x265107['error']}};});}})}));}[_0x3a0f4f(0x459)](){const _0x3e8f1d=_0x3a0f4f;var _0x4ffb6f,_0x48ba1e;const _0x3411ce=this['_configService']['getConfig'](ir),_0x657688=this[_0x3e8f1d(0x145)][_0x3e8f1d(0x128)](Q);return(_0x48ba1e=(_0x4ffb6f=_0x657688==null?void 0x0:_0x657688['authzUrl'])!=null?_0x4ffb6f:_0x3411ce)!=null?_0x48ba1e:ec;}async['create'](_0x34039d){const _0x23dc1d=_0x3a0f4f,_0x4dfc4d=this[_0x23dc1d(0x459)]()+'/'+_0x34039d['objectType']+_0x23dc1d(0x2fb);return(await this[_0x23dc1d(0x513)]['post'](_0x4dfc4d,{'body':_0x34039d}))[_0x23dc1d(0x3b4)]['objectID']||'';}async[_0x3a0f4f(0x254)](_0x18ce00){const _0x38b23f=_0x3a0f4f,_0x484d44=this['_getAPIPrefixPath']()+_0x38b23f(0x296);return(await this[_0x38b23f(0x513)]['post'](_0x484d44,{'body':_0x18ce00}))[_0x38b23f(0x3b4)][_0x38b23f(0x1c6)];}async[_0x3a0f4f(0x170)](_0x3ef377){const _0x2a6498=_0x3a0f4f,_0xb72bb0=this[_0x2a6498(0x459)]()+'/'+_0x3ef377[_0x2a6498(0x3c7)]+_0x2a6498(0x410)+_0x3ef377[_0x2a6498(0x4f8)];await this[_0x2a6498(0x513)][_0x2a6498(0x547)](_0xb72bb0,{'body':_0x3ef377});}async[_0x3a0f4f(0x4f1)](_0x2933a9){const _0x34b469=_0x3a0f4f,_0x26bb4b=this[_0x34b469(0x459)]()+'/'+_0x2933a9[_0x34b469(0x3c7)]+'/object/'+_0x2933a9[_0x34b469(0x4f8)]+_0x34b469(0x4d2);return(await this[_0x34b469(0x513)]['post'](_0x26bb4b,{'body':_0x2933a9}))[_0x34b469(0x3b4)]['actions'];}async[_0x3a0f4f(0x353)](_0x224a1a){const _0x4507ed=_0x3a0f4f,_0x5e15b5=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x4507ed(0x513)][_0x4507ed(0x4c3)](_0x5e15b5,{'body':{'requests':_0x224a1a}}))[_0x4507ed(0x3b4)][_0x4507ed(0x37b)];}async['listRoles'](_0x47bfde){const _0x15bf87=_0x3a0f4f,_0xfcadf=this[_0x15bf87(0x459)]()+'/'+_0x47bfde[_0x15bf87(0x3c7)]+_0x15bf87(0x495),_0x2bfbd6=await this['_HTTPService']['post'](_0xfcadf,{'body':_0x47bfde});return{'roles':_0x2bfbd6['body'][_0x15bf87(0x3f0)],'actions':_0x2bfbd6['body'][_0x15bf87(0x3e2)]};}async['deleteCollaborator'](_0x404bbb){const _0x5a0816=_0x3a0f4f,_0x531187=this['_getAPIPrefixPath']()+_0x5a0816(0x1a1);await this[_0x5a0816(0x513)][_0x5a0816(0x4d6)](_0x531187,{'params':{'collaboratorID':_0x404bbb[_0x5a0816(0x156)],'objectID':_0x404bbb[_0x5a0816(0x4f8)],'unitID':_0x404bbb[_0x5a0816(0x321)]}});}async[_0x3a0f4f(0x1b3)](_0x19bf96){const _0x4ab89f=_0x3a0f4f,_0x4f1441=this[_0x4ab89f(0x459)]()+_0x4ab89f(0x1a1);await this[_0x4ab89f(0x513)][_0x4ab89f(0x1a9)](_0x4f1441,{'body':_0x19bf96});}async[_0x3a0f4f(0x31d)](_0x5f1c4e){const _0x2f00f3=_0x3a0f4f,_0x572fe2=this[_0x2f00f3(0x459)]()+_0x2f00f3(0x1a1);await this[_0x2f00f3(0x513)][_0x2f00f3(0x4c3)](_0x572fe2,{'body':_0x5f1c4e});}async[_0x3a0f4f(0x39a)](_0x3e0f5f){const _0x20a7f9=_0x3a0f4f,_0x2eb15c=this[_0x20a7f9(0x459)]()+_0x20a7f9(0x1a1);return(await this[_0x20a7f9(0x513)][_0x20a7f9(0x204)](_0x2eb15c,{'params':{'objectID':_0x3e0f5f[_0x20a7f9(0x4f8)],'unitID':_0x3e0f5f[_0x20a7f9(0x321)]}}))[_0x20a7f9(0x3b4)][_0x20a7f9(0x196)];}async['putCollaborators'](_0x2e109f){const _0x14b454=_0x3a0f4f,_0x296dde=this['_getAPIPrefixPath']()+_0x14b454(0x1a1);await this[_0x14b454(0x513)]['put'](_0x296dde,{'body':_0x2e109f});}};ps=Qa([ci(0x0,_0x4a6309(_0x559bcb)),ci(0x1,_0x4a6309(_0x1526c7))],ps);var dt={'exports':{}};function tc(_0x264373){const _0x5821cf=_0x3a0f4f;throw new Error(_0x5821cf(0x240)+_0x264373+_0x5821cf(0x1a4));}var ft={'exports':{}},sc=ft['exports'],hi;function _e(){const _0x5289c=_0x3a0f4f;return hi||(hi=0x1,function(_0x18cbe9,_0x7cef34){(function(_0x4ed661,_0xa9c054){const _0x4088b0=_0x328b;_0x18cbe9[_0x4088b0(0x4ee)]=_0xa9c054();}(sc,function(){var _0x1301d7=_0x1301d7||function(_0x247ad9,_0x456a71){const _0x39b0d9=_0x328b;var _0x5bf770;if(typeof window<'u'&&window[_0x39b0d9(0x4f4)]&&(_0x5bf770=window[_0x39b0d9(0x4f4)]),typeof self<'u'&&self[_0x39b0d9(0x4f4)]&&(_0x5bf770=self[_0x39b0d9(0x4f4)]),typeof globalThis<'u'&&globalThis[_0x39b0d9(0x4f4)]&&(_0x5bf770=globalThis['crypto']),!_0x5bf770&&typeof window<'u'&&window[_0x39b0d9(0x47a)]&&(_0x5bf770=window[_0x39b0d9(0x47a)]),!_0x5bf770&&typeof ts<'u'&&ts[_0x39b0d9(0x4f4)]&&(_0x5bf770=ts[_0x39b0d9(0x4f4)]),!_0x5bf770&&typeof tc==_0x39b0d9(0x1ff))try{_0x5bf770=require('crypto');}catch{}var _0x30270e=function(){const _0x19f5ad=_0x39b0d9;if(_0x5bf770){if(typeof _0x5bf770['getRandomValues']=='function')try{return _0x5bf770[_0x19f5ad(0x558)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bf770['randomBytes']==_0x19f5ad(0x1ff))try{return _0x5bf770[_0x19f5ad(0x4c4)](0x4)[_0x19f5ad(0x2c5)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1b4493=Object[_0x39b0d9(0x23f)]||(function(){function _0x5e310f(){}return function(_0x223e6f){const _0x45a85d=_0x328b;var _0x2ee9d9;return _0x5e310f[_0x45a85d(0x2cb)]=_0x223e6f,_0x2ee9d9=new _0x5e310f(),_0x5e310f[_0x45a85d(0x2cb)]=null,_0x2ee9d9;};}()),_0x2d638d={},_0x31b366=_0x2d638d[_0x39b0d9(0x53d)]={},_0x556d95=_0x31b366[_0x39b0d9(0x12c)]=(function(){return{'extend':function(_0x3e37d4){const _0x262025=_0x328b;var _0x105826=_0x1b4493(this);return _0x3e37d4&&_0x105826['mixIn'](_0x3e37d4),(!_0x105826[_0x262025(0x230)]('init')||this[_0x262025(0x1fe)]===_0x105826[_0x262025(0x1fe)])&&(_0x105826[_0x262025(0x1fe)]=function(){const _0x4458f9=_0x262025;_0x105826[_0x4458f9(0x302)][_0x4458f9(0x1fe)][_0x4458f9(0x21c)](this,arguments);}),_0x105826[_0x262025(0x1fe)][_0x262025(0x2cb)]=_0x105826,_0x105826[_0x262025(0x302)]=this,_0x105826;},'create':function(){const _0x1aa285=_0x328b;var _0x1a38cf=this[_0x1aa285(0x2c3)]();return _0x1a38cf[_0x1aa285(0x1fe)][_0x1aa285(0x21c)](_0x1a38cf,arguments),_0x1a38cf;},'init':function(){},'mixIn':function(_0x9a32d8){const _0x481cc4=_0x328b;for(var _0x2f807b in _0x9a32d8)_0x9a32d8[_0x481cc4(0x230)](_0x2f807b)&&(this[_0x2f807b]=_0x9a32d8[_0x2f807b]);_0x9a32d8[_0x481cc4(0x230)]('toString')&&(this[_0x481cc4(0x542)]=_0x9a32d8[_0x481cc4(0x542)]);},'clone':function(){const _0x321611=_0x328b;return this[_0x321611(0x1fe)][_0x321611(0x2cb)][_0x321611(0x2c3)](this);}};}()),_0x3b38fd=_0x31b366[_0x39b0d9(0x4ed)]=_0x556d95['extend']({'init':function(_0x48d884,_0x585d74){const _0x3c7d36=_0x39b0d9;_0x48d884=this[_0x3c7d36(0x2ca)]=_0x48d884||[],_0x585d74!=_0x456a71?this[_0x3c7d36(0x4a7)]=_0x585d74:this['sigBytes']=_0x48d884['length']*0x4;},'toString':function(_0x3888b4){const _0x592f83=_0x39b0d9;return(_0x3888b4||_0x3b32c9)[_0x592f83(0x332)](this);},'concat':function(_0x9c47eb){const _0x397c20=_0x39b0d9;var _0x19bd1e=this['words'],_0x3e5cb0=_0x9c47eb[_0x397c20(0x2ca)],_0x434b6d=this[_0x397c20(0x4a7)],_0x681713=_0x9c47eb['sigBytes'];if(this[_0x397c20(0x4c2)](),_0x434b6d%0x4)for(var _0x5be09c=0x0;_0x5be09c<_0x681713;_0x5be09c++){var _0xfa43c2=_0x3e5cb0[_0x5be09c>>>0x2]>>>0x18-_0x5be09c%0x4*0x8&0xff;_0x19bd1e[_0x434b6d+_0x5be09c>>>0x2]|=_0xfa43c2<<0x18-(_0x434b6d+_0x5be09c)%0x4*0x8;}else{for(var _0x5d2e11=0x0;_0x5d2e11<_0x681713;_0x5d2e11+=0x4)_0x19bd1e[_0x434b6d+_0x5d2e11>>>0x2]=_0x3e5cb0[_0x5d2e11>>>0x2];}return this[_0x397c20(0x4a7)]+=_0x681713,this;},'clamp':function(){const _0x53aae1=_0x39b0d9;var _0x2e434b=this['words'],_0x3235d4=this[_0x53aae1(0x4a7)];_0x2e434b[_0x3235d4>>>0x2]&=0xffffffff<<0x20-_0x3235d4%0x4*0x8,_0x2e434b[_0x53aae1(0x312)]=_0x247ad9[_0x53aae1(0x348)](_0x3235d4/0x4);},'clone':function(){const _0x15033d=_0x39b0d9;var _0x19b0ae=_0x556d95['clone']['call'](this);return _0x19b0ae[_0x15033d(0x2ca)]=this['words'][_0x15033d(0x21a)](0x0),_0x19b0ae;},'random':function(_0x5c9c37){const _0xf1d73b=_0x39b0d9;for(var _0x2e9df7=[],_0x512f72=0x0;_0x512f72<_0x5c9c37;_0x512f72+=0x4)_0x2e9df7[_0xf1d73b(0x43f)](_0x30270e());return new _0x3b38fd[(_0xf1d73b(0x1fe))](_0x2e9df7,_0x5c9c37);}}),_0x2f1033=_0x2d638d[_0x39b0d9(0x4a6)]={},_0x3b32c9=_0x2f1033[_0x39b0d9(0x286)]={'stringify':function(_0x1e05f3){const _0x187995=_0x39b0d9;for(var _0x2d83fa=_0x1e05f3['words'],_0x5ca989=_0x1e05f3[_0x187995(0x4a7)],_0x224085=[],_0x283c38=0x0;_0x283c38<_0x5ca989;_0x283c38++){var _0x107d0c=_0x2d83fa[_0x283c38>>>0x2]>>>0x18-_0x283c38%0x4*0x8&0xff;_0x224085[_0x187995(0x43f)]((_0x107d0c>>>0x4)['toString'](0x10)),_0x224085[_0x187995(0x43f)]((_0x107d0c&0xf)['toString'](0x10));}return _0x224085[_0x187995(0x440)]('');},'parse':function(_0x4c1042){const _0x2263e7=_0x39b0d9;for(var _0x204f26=_0x4c1042['length'],_0x270d4f=[],_0x26b0e6=0x0;_0x26b0e6<_0x204f26;_0x26b0e6+=0x2)_0x270d4f[_0x26b0e6>>>0x3]|=parseInt(_0x4c1042[_0x2263e7(0x491)](_0x26b0e6,0x2),0x10)<<0x18-_0x26b0e6%0x8*0x4;return new _0x3b38fd['init'](_0x270d4f,_0x204f26/0x2);}},_0x4537ef=_0x2f1033[_0x39b0d9(0x218)]={'stringify':function(_0x280184){const _0x16b9a2=_0x39b0d9;for(var _0x72e6de=_0x280184[_0x16b9a2(0x2ca)],_0x5bd2a3=_0x280184[_0x16b9a2(0x4a7)],_0x259af3=[],_0x3f03e3=0x0;_0x3f03e3<_0x5bd2a3;_0x3f03e3++){var _0x51e6d7=_0x72e6de[_0x3f03e3>>>0x2]>>>0x18-_0x3f03e3%0x4*0x8&0xff;_0x259af3[_0x16b9a2(0x43f)](String['fromCharCode'](_0x51e6d7));}return _0x259af3[_0x16b9a2(0x440)]('');},'parse':function(_0x2208c6){const _0x3db22e=_0x39b0d9;for(var _0x18dda1=_0x2208c6[_0x3db22e(0x312)],_0x3e2bad=[],_0x19a6dd=0x0;_0x19a6dd<_0x18dda1;_0x19a6dd++)_0x3e2bad[_0x19a6dd>>>0x2]|=(_0x2208c6[_0x3db22e(0x295)](_0x19a6dd)&0xff)<<0x18-_0x19a6dd%0x4*0x8;return new _0x3b38fd[(_0x3db22e(0x1fe))](_0x3e2bad,_0x18dda1);}},_0x557d1f=_0x2f1033['Utf8']={'stringify':function(_0x4d0298){const _0x36c144=_0x39b0d9;try{return decodeURIComponent(escape(_0x4537ef[_0x36c144(0x332)](_0x4d0298)));}catch{throw new Error(_0x36c144(0x264));}},'parse':function(_0x2291bd){const _0x5be925=_0x39b0d9;return _0x4537ef[_0x5be925(0x4ae)](unescape(encodeURIComponent(_0x2291bd)));}},_0x1da74c=_0x31b366['BufferedBlockAlgorithm']=_0x556d95[_0x39b0d9(0x2c3)]({'reset':function(){const _0x12fe50=_0x39b0d9;this[_0x12fe50(0x2bd)]=new _0x3b38fd[(_0x12fe50(0x1fe))](),this['_nDataBytes']=0x0;},'_append':function(_0x160b7b){const _0x920d6f=_0x39b0d9;typeof _0x160b7b=='string'&&(_0x160b7b=_0x557d1f[_0x920d6f(0x4ae)](_0x160b7b)),this[_0x920d6f(0x2bd)][_0x920d6f(0x14a)](_0x160b7b),this[_0x920d6f(0x432)]+=_0x160b7b[_0x920d6f(0x4a7)];},'_process':function(_0x3c3d63){const _0x5e0bea=_0x39b0d9;var _0xb0274b,_0x56a73a=this[_0x5e0bea(0x2bd)],_0x30f63a=_0x56a73a[_0x5e0bea(0x2ca)],_0x4ba9d5=_0x56a73a['sigBytes'],_0x44ef99=this[_0x5e0bea(0x198)],_0x46ce64=_0x44ef99*0x4,_0x4bd209=_0x4ba9d5/_0x46ce64;_0x3c3d63?_0x4bd209=_0x247ad9[_0x5e0bea(0x348)](_0x4bd209):_0x4bd209=_0x247ad9[_0x5e0bea(0x2b7)]((_0x4bd209|0x0)-this[_0x5e0bea(0x2ad)],0x0);var _0x12cc34=_0x4bd209*_0x44ef99,_0x10ac5a=_0x247ad9[_0x5e0bea(0x1da)](_0x12cc34*0x4,_0x4ba9d5);if(_0x12cc34){for(var _0x51673e=0x0;_0x51673e<_0x12cc34;_0x51673e+=_0x44ef99)this[_0x5e0bea(0x4b5)](_0x30f63a,_0x51673e);_0xb0274b=_0x30f63a[_0x5e0bea(0x51c)](0x0,_0x12cc34),_0x56a73a['sigBytes']-=_0x10ac5a;}return new _0x3b38fd[(_0x5e0bea(0x1fe))](_0xb0274b,_0x10ac5a);},'clone':function(){const _0x27a353=_0x39b0d9;var _0x35a4fd=_0x556d95['clone'][_0x27a353(0x140)](this);return _0x35a4fd['_data']=this[_0x27a353(0x2bd)][_0x27a353(0x3ca)](),_0x35a4fd;},'_minBufferSize':0x0});_0x31b366[_0x39b0d9(0x39d)]=_0x1da74c['extend']({'cfg':_0x556d95['extend'](),'init':function(_0x4530f7){const _0x357704=_0x39b0d9;this[_0x357704(0x4df)]=this[_0x357704(0x4df)]['extend'](_0x4530f7),this[_0x357704(0x28a)]();},'reset':function(){const _0xb29dbe=_0x39b0d9;_0x1da74c[_0xb29dbe(0x28a)]['call'](this),this['_doReset']();},'update':function(_0x11c1c4){const _0x13174e=_0x39b0d9;return this['_append'](_0x11c1c4),this[_0x13174e(0x366)](),this;},'finalize':function(_0x33b042){const _0x231700=_0x39b0d9;_0x33b042&&this[_0x231700(0x298)](_0x33b042);var _0x5ed705=this[_0x231700(0x1a2)]();return _0x5ed705;},'blockSize':0x10,'_createHelper':function(_0x21aa69){return function(_0x476bfa,_0x52061a){const _0x5eb3e8=_0x328b;return new _0x21aa69[(_0x5eb3e8(0x1fe))](_0x52061a)[_0x5eb3e8(0x1b1)](_0x476bfa);};},'_createHmacHelper':function(_0x20c4fd){return function(_0x3266bc,_0x535c72){const _0x39e696=_0x328b;return new _0x3cda48[(_0x39e696(0x49e))]['init'](_0x20c4fd,_0x535c72)[_0x39e696(0x1b1)](_0x3266bc);};}});var _0x3cda48=_0x2d638d['algo']={};return _0x2d638d;}(Math);return _0x1301d7;}));}(ft)),ft[_0x5289c(0x4ee)];}var vt={'exports':{}},ic=vt[_0x3a0f4f(0x4ee)],li;function rr(){return li||(li=0x1,function(_0x3c9a78,_0x5f0470){(function(_0x1f119d,_0x259d3c){_0x3c9a78['exports']=_0x259d3c(_e());}(ic,function(_0x568a9c){const _0x59dbfe=_0x328b;return(function(){const _0x88ced0=_0x328b;var _0x3cb334=_0x568a9c,_0x61e210=_0x3cb334[_0x88ced0(0x53d)],_0x194c02=_0x61e210[_0x88ced0(0x4ed)],_0x109d13=_0x3cb334[_0x88ced0(0x4a6)];_0x109d13[_0x88ced0(0x1b4)]={'stringify':function(_0x525c3e){const _0x550321=_0x88ced0;var _0x248042=_0x525c3e[_0x550321(0x2ca)],_0x2588ec=_0x525c3e[_0x550321(0x4a7)],_0x199603=this['_map'];_0x525c3e[_0x550321(0x4c2)]();for(var _0x46702d=[],_0x56420b=0x0;_0x56420b<_0x2588ec;_0x56420b+=0x3)for(var _0x1bf791=_0x248042[_0x56420b>>>0x2]>>>0x18-_0x56420b%0x4*0x8&0xff,_0x3016cc=_0x248042[_0x56420b+0x1>>>0x2]>>>0x18-(_0x56420b+0x1)%0x4*0x8&0xff,_0x79fe50=_0x248042[_0x56420b+0x2>>>0x2]>>>0x18-(_0x56420b+0x2)%0x4*0x8&0xff,_0x195417=_0x1bf791<<0x10|_0x3016cc<<0x8|_0x79fe50,_0x13e653=0x0;_0x13e653<0x4&&_0x56420b+_0x13e653*0.75<_0x2588ec;_0x13e653++)_0x46702d[_0x550321(0x43f)](_0x199603['charAt'](_0x195417>>>0x6*(0x3-_0x13e653)&0x3f));var _0x2dc00e=_0x199603[_0x550321(0x2f5)](0x40);if(_0x2dc00e){for(;_0x46702d[_0x550321(0x312)]%0x4;)_0x46702d[_0x550321(0x43f)](_0x2dc00e);}return _0x46702d['join']('');},'parse':function(_0x508f7d){const _0x31940a=_0x88ced0;var _0xd0bd68=_0x508f7d['length'],_0x4c0338=this[_0x31940a(0x367)],_0xa026bd=this[_0x31940a(0x54e)];if(!_0xa026bd){_0xa026bd=this[_0x31940a(0x54e)]=[];for(var _0x17de1b=0x0;_0x17de1b<_0x4c0338[_0x31940a(0x312)];_0x17de1b++)_0xa026bd[_0x4c0338['charCodeAt'](_0x17de1b)]=_0x17de1b;}var _0x10cbc6=_0x4c0338[_0x31940a(0x2f5)](0x40);if(_0x10cbc6){var _0x2bdc1f=_0x508f7d[_0x31940a(0x299)](_0x10cbc6);_0x2bdc1f!==-0x1&&(_0xd0bd68=_0x2bdc1f);}return _0x1a66f1(_0x508f7d,_0xd0bd68,_0xa026bd);},'_map':_0x88ced0(0x31c)};function _0x1a66f1(_0x4101b1,_0x2a4897,_0x3988a7){const _0x4c7586=_0x88ced0;for(var _0x38eaed=[],_0x388747=0x0,_0x2f146b=0x0;_0x2f146b<_0x2a4897;_0x2f146b++)if(_0x2f146b%0x4){var _0x41508e=_0x3988a7[_0x4101b1[_0x4c7586(0x295)](_0x2f146b-0x1)]<<_0x2f146b%0x4*0x2,_0x2564bd=_0x3988a7[_0x4101b1[_0x4c7586(0x295)](_0x2f146b)]>>>0x6-_0x2f146b%0x4*0x2,_0x23abca=_0x41508e|_0x2564bd;_0x38eaed[_0x388747>>>0x2]|=_0x23abca<<0x18-_0x388747%0x4*0x8,_0x388747++;}return _0x194c02['create'](_0x38eaed,_0x388747);}}()),_0x568a9c[_0x59dbfe(0x4a6)]['Base64'];}));}(vt)),vt['exports'];}var pt={'exports':{}},rc=pt[_0x3a0f4f(0x4ee)],_i;function nc(){return _i||(_i=0x1,function(_0x55c61f,_0x26719e){(function(_0x21918f,_0x51e2a7){_0x55c61f['exports']=_0x51e2a7(_e());}(rc,function(_0x394457){return function(_0x53d966){const _0x2cb848=_0x328b;var _0x3bd760=_0x394457,_0x464453=_0x3bd760[_0x2cb848(0x53d)],_0x4d50ec=_0x464453[_0x2cb848(0x4ed)],_0x5e55d4=_0x464453['Hasher'],_0x25996b=_0x3bd760[_0x2cb848(0x134)],_0x15daf1=[];(function(){const _0x2ef782=_0x2cb848;for(var _0x3253eb=0x0;_0x3253eb<0x40;_0x3253eb++)_0x15daf1[_0x3253eb]=_0x53d966[_0x2ef782(0x176)](_0x53d966[_0x2ef782(0x2e0)](_0x3253eb+0x1))*0x100000000|0x0;}());var _0x27b12d=_0x25996b[_0x2cb848(0x14d)]=_0x5e55d4[_0x2cb848(0x2c3)]({'_doReset':function(){const _0x42d1f5=_0x2cb848;this[_0x42d1f5(0x451)]=new _0x4d50ec[(_0x42d1f5(0x1fe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x22e286,_0xee295d){const _0x3c4a81=_0x2cb848;for(var _0x4fa63d=0x0;_0x4fa63d<0x10;_0x4fa63d++){var _0x530458=_0xee295d+_0x4fa63d,_0x2c2f3e=_0x22e286[_0x530458];_0x22e286[_0x530458]=(_0x2c2f3e<<0x8|_0x2c2f3e>>>0x18)&0xff00ff|(_0x2c2f3e<<0x18|_0x2c2f3e>>>0x8)&0xff00ff00;}var _0x2c7964=this['_hash'][_0x3c4a81(0x2ca)],_0x229f30=_0x22e286[_0xee295d+0x0],_0x2e3a9d=_0x22e286[_0xee295d+0x1],_0x204249=_0x22e286[_0xee295d+0x2],_0x5d821c=_0x22e286[_0xee295d+0x3],_0xf9a32b=_0x22e286[_0xee295d+0x4],_0x257684=_0x22e286[_0xee295d+0x5],_0x5ba0e0=_0x22e286[_0xee295d+0x6],_0x30705f=_0x22e286[_0xee295d+0x7],_0x91005=_0x22e286[_0xee295d+0x8],_0x4860c2=_0x22e286[_0xee295d+0x9],_0x3049a0=_0x22e286[_0xee295d+0xa],_0x12d46c=_0x22e286[_0xee295d+0xb],_0x930253=_0x22e286[_0xee295d+0xc],_0x55d420=_0x22e286[_0xee295d+0xd],_0x4c9d1b=_0x22e286[_0xee295d+0xe],_0x39231b=_0x22e286[_0xee295d+0xf],_0x10c6d9=_0x2c7964[0x0],_0x5129cf=_0x2c7964[0x1],_0xce5e43=_0x2c7964[0x2],_0x144b85=_0x2c7964[0x3];_0x10c6d9=_0x5045e4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x229f30,0x7,_0x15daf1[0x0]),_0x144b85=_0x5045e4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x2e3a9d,0xc,_0x15daf1[0x1]),_0xce5e43=_0x5045e4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x204249,0x11,_0x15daf1[0x2]),_0x5129cf=_0x5045e4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x5d821c,0x16,_0x15daf1[0x3]),_0x10c6d9=_0x5045e4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0xf9a32b,0x7,_0x15daf1[0x4]),_0x144b85=_0x5045e4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x257684,0xc,_0x15daf1[0x5]),_0xce5e43=_0x5045e4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x5ba0e0,0x11,_0x15daf1[0x6]),_0x5129cf=_0x5045e4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x30705f,0x16,_0x15daf1[0x7]),_0x10c6d9=_0x5045e4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x91005,0x7,_0x15daf1[0x8]),_0x144b85=_0x5045e4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x4860c2,0xc,_0x15daf1[0x9]),_0xce5e43=_0x5045e4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x3049a0,0x11,_0x15daf1[0xa]),_0x5129cf=_0x5045e4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x12d46c,0x16,_0x15daf1[0xb]),_0x10c6d9=_0x5045e4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x930253,0x7,_0x15daf1[0xc]),_0x144b85=_0x5045e4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x55d420,0xc,_0x15daf1[0xd]),_0xce5e43=_0x5045e4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x4c9d1b,0x11,_0x15daf1[0xe]),_0x5129cf=_0x5045e4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x39231b,0x16,_0x15daf1[0xf]),_0x10c6d9=_0x5f3fb0(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x2e3a9d,0x5,_0x15daf1[0x10]),_0x144b85=_0x5f3fb0(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x5ba0e0,0x9,_0x15daf1[0x11]),_0xce5e43=_0x5f3fb0(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x12d46c,0xe,_0x15daf1[0x12]),_0x5129cf=_0x5f3fb0(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x229f30,0x14,_0x15daf1[0x13]),_0x10c6d9=_0x5f3fb0(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x257684,0x5,_0x15daf1[0x14]),_0x144b85=_0x5f3fb0(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x3049a0,0x9,_0x15daf1[0x15]),_0xce5e43=_0x5f3fb0(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x39231b,0xe,_0x15daf1[0x16]),_0x5129cf=_0x5f3fb0(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0xf9a32b,0x14,_0x15daf1[0x17]),_0x10c6d9=_0x5f3fb0(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x4860c2,0x5,_0x15daf1[0x18]),_0x144b85=_0x5f3fb0(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x4c9d1b,0x9,_0x15daf1[0x19]),_0xce5e43=_0x5f3fb0(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x5d821c,0xe,_0x15daf1[0x1a]),_0x5129cf=_0x5f3fb0(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x91005,0x14,_0x15daf1[0x1b]),_0x10c6d9=_0x5f3fb0(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x55d420,0x5,_0x15daf1[0x1c]),_0x144b85=_0x5f3fb0(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x204249,0x9,_0x15daf1[0x1d]),_0xce5e43=_0x5f3fb0(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x30705f,0xe,_0x15daf1[0x1e]),_0x5129cf=_0x5f3fb0(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x930253,0x14,_0x15daf1[0x1f]),_0x10c6d9=_0x7949f8(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x257684,0x4,_0x15daf1[0x20]),_0x144b85=_0x7949f8(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x91005,0xb,_0x15daf1[0x21]),_0xce5e43=_0x7949f8(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x12d46c,0x10,_0x15daf1[0x22]),_0x5129cf=_0x7949f8(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x4c9d1b,0x17,_0x15daf1[0x23]),_0x10c6d9=_0x7949f8(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x2e3a9d,0x4,_0x15daf1[0x24]),_0x144b85=_0x7949f8(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0xf9a32b,0xb,_0x15daf1[0x25]),_0xce5e43=_0x7949f8(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x30705f,0x10,_0x15daf1[0x26]),_0x5129cf=_0x7949f8(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x3049a0,0x17,_0x15daf1[0x27]),_0x10c6d9=_0x7949f8(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x55d420,0x4,_0x15daf1[0x28]),_0x144b85=_0x7949f8(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x229f30,0xb,_0x15daf1[0x29]),_0xce5e43=_0x7949f8(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x5d821c,0x10,_0x15daf1[0x2a]),_0x5129cf=_0x7949f8(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x5ba0e0,0x17,_0x15daf1[0x2b]),_0x10c6d9=_0x7949f8(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x4860c2,0x4,_0x15daf1[0x2c]),_0x144b85=_0x7949f8(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x930253,0xb,_0x15daf1[0x2d]),_0xce5e43=_0x7949f8(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x39231b,0x10,_0x15daf1[0x2e]),_0x5129cf=_0x7949f8(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x204249,0x17,_0x15daf1[0x2f]),_0x10c6d9=_0x4a17f4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x229f30,0x6,_0x15daf1[0x30]),_0x144b85=_0x4a17f4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x30705f,0xa,_0x15daf1[0x31]),_0xce5e43=_0x4a17f4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x4c9d1b,0xf,_0x15daf1[0x32]),_0x5129cf=_0x4a17f4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x257684,0x15,_0x15daf1[0x33]),_0x10c6d9=_0x4a17f4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x930253,0x6,_0x15daf1[0x34]),_0x144b85=_0x4a17f4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x5d821c,0xa,_0x15daf1[0x35]),_0xce5e43=_0x4a17f4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x3049a0,0xf,_0x15daf1[0x36]),_0x5129cf=_0x4a17f4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x2e3a9d,0x15,_0x15daf1[0x37]),_0x10c6d9=_0x4a17f4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x91005,0x6,_0x15daf1[0x38]),_0x144b85=_0x4a17f4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x39231b,0xa,_0x15daf1[0x39]),_0xce5e43=_0x4a17f4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x5ba0e0,0xf,_0x15daf1[0x3a]),_0x5129cf=_0x4a17f4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x55d420,0x15,_0x15daf1[0x3b]),_0x10c6d9=_0x4a17f4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0xf9a32b,0x6,_0x15daf1[0x3c]),_0x144b85=_0x4a17f4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x12d46c,0xa,_0x15daf1[0x3d]),_0xce5e43=_0x4a17f4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x204249,0xf,_0x15daf1[0x3e]),_0x5129cf=_0x4a17f4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x4860c2,0x15,_0x15daf1[0x3f]),_0x2c7964[0x0]=_0x2c7964[0x0]+_0x10c6d9|0x0,_0x2c7964[0x1]=_0x2c7964[0x1]+_0x5129cf|0x0,_0x2c7964[0x2]=_0x2c7964[0x2]+_0xce5e43|0x0,_0x2c7964[0x3]=_0x2c7964[0x3]+_0x144b85|0x0;},'_doFinalize':function(){const _0x31b932=_0x2cb848;var _0x37bf52=this[_0x31b932(0x2bd)],_0x5f319d=_0x37bf52[_0x31b932(0x2ca)],_0x5cc3e4=this[_0x31b932(0x432)]*0x8,_0x31d7f6=_0x37bf52['sigBytes']*0x8;_0x5f319d[_0x31d7f6>>>0x5]|=0x80<<0x18-_0x31d7f6%0x20;var _0x5c7897=_0x53d966[_0x31b932(0x34c)](_0x5cc3e4/0x100000000),_0x33d8d3=_0x5cc3e4;_0x5f319d[(_0x31d7f6+0x40>>>0x9<<0x4)+0xf]=(_0x5c7897<<0x8|_0x5c7897>>>0x18)&0xff00ff|(_0x5c7897<<0x18|_0x5c7897>>>0x8)&0xff00ff00,_0x5f319d[(_0x31d7f6+0x40>>>0x9<<0x4)+0xe]=(_0x33d8d3<<0x8|_0x33d8d3>>>0x18)&0xff00ff|(_0x33d8d3<<0x18|_0x33d8d3>>>0x8)&0xff00ff00,_0x37bf52['sigBytes']=(_0x5f319d[_0x31b932(0x312)]+0x1)*0x4,this[_0x31b932(0x366)]();for(var _0x16cd00=this[_0x31b932(0x451)],_0x408337=_0x16cd00['words'],_0x43f9e2=0x0;_0x43f9e2<0x4;_0x43f9e2++){var _0x8c522b=_0x408337[_0x43f9e2];_0x408337[_0x43f9e2]=(_0x8c522b<<0x8|_0x8c522b>>>0x18)&0xff00ff|(_0x8c522b<<0x18|_0x8c522b>>>0x8)&0xff00ff00;}return _0x16cd00;},'clone':function(){const _0x3b49f7=_0x2cb848;var _0x3e46a6=_0x5e55d4['clone']['call'](this);return _0x3e46a6[_0x3b49f7(0x451)]=this[_0x3b49f7(0x451)]['clone'](),_0x3e46a6;}});function _0x5045e4(_0xa78991,_0x47289c,_0x4a7c2f,_0x187ebb,_0x1b4a63,_0x201e49,_0x2b1b6f){var _0x4a4b44=_0xa78991+(_0x47289c&_0x4a7c2f|~_0x47289c&_0x187ebb)+_0x1b4a63+_0x2b1b6f;return(_0x4a4b44<<_0x201e49|_0x4a4b44>>>0x20-_0x201e49)+_0x47289c;}function _0x5f3fb0(_0x3a34b8,_0x4241b7,_0x19b218,_0x1bd6c6,_0x404183,_0x4aab1f,_0x34193f){var _0x5c815a=_0x3a34b8+(_0x4241b7&_0x1bd6c6|_0x19b218&~_0x1bd6c6)+_0x404183+_0x34193f;return(_0x5c815a<<_0x4aab1f|_0x5c815a>>>0x20-_0x4aab1f)+_0x4241b7;}function _0x7949f8(_0x873b8d,_0x3eff4f,_0x1c91ed,_0x371d2a,_0x4881b0,_0xa8bfe5,_0x5d44ba){var _0x5c3f31=_0x873b8d+(_0x3eff4f^_0x1c91ed^_0x371d2a)+_0x4881b0+_0x5d44ba;return(_0x5c3f31<<_0xa8bfe5|_0x5c3f31>>>0x20-_0xa8bfe5)+_0x3eff4f;}function _0x4a17f4(_0x4b5125,_0x243d8d,_0x280d39,_0x5747ee,_0x3e635f,_0x26a080,_0x357220){var _0x27442f=_0x4b5125+(_0x280d39^(_0x243d8d|~_0x5747ee))+_0x3e635f+_0x357220;return(_0x27442f<<_0x26a080|_0x27442f>>>0x20-_0x26a080)+_0x243d8d;}_0x3bd760[_0x2cb848(0x14d)]=_0x5e55d4['_createHelper'](_0x27b12d),_0x3bd760[_0x2cb848(0x181)]=_0x5e55d4['_createHmacHelper'](_0x27b12d);}(Math),_0x394457['MD5'];}));}(pt)),pt['exports'];}var mt={'exports':{}},gt={'exports':{}},oc=gt['exports'],ui;function ac(){return ui||(ui=0x1,function(_0x1f9d67,_0x416d17){(function(_0x591d6f,_0x223ea0){_0x1f9d67['exports']=_0x223ea0(_e());}(oc,function(_0x5d2290){const _0x5ea556=_0x328b;return(function(){const _0xe5d1c7=_0x328b;var _0x27f1f1=_0x5d2290,_0x410c02=_0x27f1f1[_0xe5d1c7(0x53d)],_0x4b24c3=_0x410c02[_0xe5d1c7(0x4ed)],_0x178e08=_0x410c02[_0xe5d1c7(0x39d)],_0x5bf8a1=_0x27f1f1[_0xe5d1c7(0x134)],_0x537661=[],_0x3acdcb=_0x5bf8a1[_0xe5d1c7(0x309)]=_0x178e08[_0xe5d1c7(0x2c3)]({'_doReset':function(){this['_hash']=new _0x4b24c3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x30b30f,_0x5f2f0f){const _0x22225f=_0xe5d1c7;for(var _0x4663a2=this[_0x22225f(0x451)][_0x22225f(0x2ca)],_0x4eda5a=_0x4663a2[0x0],_0x1973d8=_0x4663a2[0x1],_0x355b26=_0x4663a2[0x2],_0x4fa9b8=_0x4663a2[0x3],_0x44d2d6=_0x4663a2[0x4],_0x4791ac=0x0;_0x4791ac<0x50;_0x4791ac++){if(_0x4791ac<0x10)_0x537661[_0x4791ac]=_0x30b30f[_0x5f2f0f+_0x4791ac]|0x0;else{var _0x16fbab=_0x537661[_0x4791ac-0x3]^_0x537661[_0x4791ac-0x8]^_0x537661[_0x4791ac-0xe]^_0x537661[_0x4791ac-0x10];_0x537661[_0x4791ac]=_0x16fbab<<0x1|_0x16fbab>>>0x1f;}var _0x48185a=(_0x4eda5a<<0x5|_0x4eda5a>>>0x1b)+_0x44d2d6+_0x537661[_0x4791ac];_0x4791ac<0x14?_0x48185a+=(_0x1973d8&_0x355b26|~_0x1973d8&_0x4fa9b8)+0x5a827999:_0x4791ac<0x28?_0x48185a+=(_0x1973d8^_0x355b26^_0x4fa9b8)+0x6ed9eba1:_0x4791ac<0x3c?_0x48185a+=(_0x1973d8&_0x355b26|_0x1973d8&_0x4fa9b8|_0x355b26&_0x4fa9b8)-0x70e44324:_0x48185a+=(_0x1973d8^_0x355b26^_0x4fa9b8)-0x359d3e2a,_0x44d2d6=_0x4fa9b8,_0x4fa9b8=_0x355b26,_0x355b26=_0x1973d8<<0x1e|_0x1973d8>>>0x2,_0x1973d8=_0x4eda5a,_0x4eda5a=_0x48185a;}_0x4663a2[0x0]=_0x4663a2[0x0]+_0x4eda5a|0x0,_0x4663a2[0x1]=_0x4663a2[0x1]+_0x1973d8|0x0,_0x4663a2[0x2]=_0x4663a2[0x2]+_0x355b26|0x0,_0x4663a2[0x3]=_0x4663a2[0x3]+_0x4fa9b8|0x0,_0x4663a2[0x4]=_0x4663a2[0x4]+_0x44d2d6|0x0;},'_doFinalize':function(){const _0x256066=_0xe5d1c7;var _0x34a66b=this[_0x256066(0x2bd)],_0x2958b0=_0x34a66b['words'],_0x240bc4=this[_0x256066(0x432)]*0x8,_0x440eff=_0x34a66b[_0x256066(0x4a7)]*0x8;return _0x2958b0[_0x440eff>>>0x5]|=0x80<<0x18-_0x440eff%0x20,_0x2958b0[(_0x440eff+0x40>>>0x9<<0x4)+0xe]=Math[_0x256066(0x34c)](_0x240bc4/0x100000000),_0x2958b0[(_0x440eff+0x40>>>0x9<<0x4)+0xf]=_0x240bc4,_0x34a66b['sigBytes']=_0x2958b0['length']*0x4,this['_process'](),this[_0x256066(0x451)];},'clone':function(){const _0xafe70e=_0xe5d1c7;var _0x3a5b91=_0x178e08[_0xafe70e(0x3ca)]['call'](this);return _0x3a5b91[_0xafe70e(0x451)]=this[_0xafe70e(0x451)][_0xafe70e(0x3ca)](),_0x3a5b91;}});_0x27f1f1['SHA1']=_0x178e08[_0xe5d1c7(0x171)](_0x3acdcb),_0x27f1f1[_0xe5d1c7(0x3c0)]=_0x178e08[_0xe5d1c7(0x3b8)](_0x3acdcb);}()),_0x5d2290[_0x5ea556(0x309)];}));}(gt)),gt['exports'];}var St={'exports':{}},cc=St[_0x3a0f4f(0x4ee)],di;function hc(){const _0x11437e=_0x3a0f4f;return di||(di=0x1,function(_0x6e2aad,_0x430c76){(function(_0x1203b7,_0x289d02){_0x6e2aad['exports']=_0x289d02(_e());}(cc,function(_0x7facc4){(function(){const _0x58cd41=_0x328b;var _0x4cc872=_0x7facc4,_0x6bb468=_0x4cc872[_0x58cd41(0x53d)],_0x98ddcc=_0x6bb468[_0x58cd41(0x12c)],_0x2f7151=_0x4cc872[_0x58cd41(0x4a6)],_0x1e2ad7=_0x2f7151[_0x58cd41(0x26f)],_0x256f8c=_0x4cc872[_0x58cd41(0x134)];_0x256f8c[_0x58cd41(0x49e)]=_0x98ddcc[_0x58cd41(0x2c3)]({'init':function(_0xcddf5,_0x426be6){const _0xc85c88=_0x58cd41;_0xcddf5=this['_hasher']=new _0xcddf5['init'](),typeof _0x426be6==_0xc85c88(0x537)&&(_0x426be6=_0x1e2ad7[_0xc85c88(0x4ae)](_0x426be6));var _0x1d2bd2=_0xcddf5[_0xc85c88(0x198)],_0x37a1e0=_0x1d2bd2*0x4;_0x426be6['sigBytes']>_0x37a1e0&&(_0x426be6=_0xcddf5['finalize'](_0x426be6)),_0x426be6['clamp']();for(var _0x34b46a=this[_0xc85c88(0x468)]=_0x426be6[_0xc85c88(0x3ca)](),_0x2512e1=this[_0xc85c88(0x1e4)]=_0x426be6[_0xc85c88(0x3ca)](),_0x4296ba=_0x34b46a[_0xc85c88(0x2ca)],_0x25b5a1=_0x2512e1[_0xc85c88(0x2ca)],_0x127b2d=0x0;_0x127b2d<_0x1d2bd2;_0x127b2d++)_0x4296ba[_0x127b2d]^=0x5c5c5c5c,_0x25b5a1[_0x127b2d]^=0x36363636;_0x34b46a['sigBytes']=_0x2512e1[_0xc85c88(0x4a7)]=_0x37a1e0,this[_0xc85c88(0x28a)]();},'reset':function(){const _0x176282=_0x58cd41;var _0x5ed1d6=this['_hasher'];_0x5ed1d6['reset'](),_0x5ed1d6['update'](this[_0x176282(0x1e4)]);},'update':function(_0x435f24){const _0x3d10e8=_0x58cd41;return this['_hasher'][_0x3d10e8(0x170)](_0x435f24),this;},'finalize':function(_0x5ad3a8){const _0x37ee9d=_0x58cd41;var _0x2c3106=this[_0x37ee9d(0x188)],_0x1f1296=_0x2c3106['finalize'](_0x5ad3a8);_0x2c3106[_0x37ee9d(0x28a)]();var _0x218954=_0x2c3106[_0x37ee9d(0x1b1)](this['_oKey'][_0x37ee9d(0x3ca)]()['concat'](_0x1f1296));return _0x218954;}});}());}));}(St)),St[_0x11437e(0x4ee)];}var lc=mt['exports'],fi;function nr(){const _0x309b86=_0x3a0f4f;return fi||(fi=0x1,function(_0x3b20cd,_0x28a136){(function(_0x1bd358,_0x531157,_0x2a5b2a){const _0x3318f5=_0x328b;_0x3b20cd[_0x3318f5(0x4ee)]=_0x531157(_e(),ac(),hc());}(lc,function(_0x5e03b5){const _0x3b286a=_0x328b;return(function(){const _0x5b6281=_0x328b;var _0xe46581=_0x5e03b5,_0x58330c=_0xe46581[_0x5b6281(0x53d)],_0x252d74=_0x58330c[_0x5b6281(0x12c)],_0x8de0ef=_0x58330c[_0x5b6281(0x4ed)],_0x5897f3=_0xe46581[_0x5b6281(0x134)],_0x25d1f7=_0x5897f3[_0x5b6281(0x14d)],_0x17701f=_0x5897f3[_0x5b6281(0x51b)]=_0x252d74[_0x5b6281(0x2c3)]({'cfg':_0x252d74['extend']({'keySize':0x80/0x20,'hasher':_0x25d1f7,'iterations':0x1}),'init':function(_0x4850db){const _0x42b3ea=_0x5b6281;this[_0x42b3ea(0x4df)]=this[_0x42b3ea(0x4df)][_0x42b3ea(0x2c3)](_0x4850db);},'compute':function(_0x378640,_0x561c28){const _0x41fc3a=_0x5b6281;for(var _0x148062,_0x54103c=this[_0x41fc3a(0x4df)],_0x15a2d7=_0x54103c[_0x41fc3a(0x300)][_0x41fc3a(0x23f)](),_0x42e159=_0x8de0ef[_0x41fc3a(0x23f)](),_0x26529a=_0x42e159[_0x41fc3a(0x2ca)],_0x1571dc=_0x54103c[_0x41fc3a(0x1c3)],_0x1d9df1=_0x54103c[_0x41fc3a(0x11b)];_0x26529a['length']<_0x1571dc;){_0x148062&&_0x15a2d7[_0x41fc3a(0x170)](_0x148062),_0x148062=_0x15a2d7[_0x41fc3a(0x170)](_0x378640)[_0x41fc3a(0x1b1)](_0x561c28),_0x15a2d7[_0x41fc3a(0x28a)]();for(var _0x2d3ced=0x1;_0x2d3ced<_0x1d9df1;_0x2d3ced++)_0x148062=_0x15a2d7['finalize'](_0x148062),_0x15a2d7['reset']();_0x42e159['concat'](_0x148062);}return _0x42e159['sigBytes']=_0x1571dc*0x4,_0x42e159;}});_0xe46581[_0x5b6281(0x51b)]=function(_0x368278,_0x5c6e95,_0x256ec1){const _0x6b6eaa=_0x5b6281;return _0x17701f['create'](_0x256ec1)[_0x6b6eaa(0x272)](_0x368278,_0x5c6e95);};}()),_0x5e03b5[_0x3b286a(0x51b)];}));}(mt)),mt[_0x309b86(0x4ee)];}var It={'exports':{}},_c=It[_0x3a0f4f(0x4ee)],vi;function or(){const _0x5d911c=_0x3a0f4f;return vi||(vi=0x1,function(_0x5bf1f8,_0x493bc3){(function(_0x4f8c98,_0x495c61,_0x13201f){const _0x491ed8=_0x328b;_0x5bf1f8[_0x491ed8(0x4ee)]=_0x495c61(_e(),nr());}(_c,function(_0x3c3457){const _0x180616=_0x328b;_0x3c3457[_0x180616(0x53d)][_0x180616(0x356)]||function(_0x238276){const _0x723f69=_0x180616;var _0x288b97=_0x3c3457,_0x1f3b59=_0x288b97[_0x723f69(0x53d)],_0x45260a=_0x1f3b59[_0x723f69(0x12c)],_0x373aa3=_0x1f3b59[_0x723f69(0x4ed)],_0x527617=_0x1f3b59[_0x723f69(0x1e1)],_0x24887b=_0x288b97[_0x723f69(0x4a6)];_0x24887b['Utf8'];var _0x24d26c=_0x24887b['Base64'],_0x12ff25=_0x288b97[_0x723f69(0x134)],_0x8e017=_0x12ff25[_0x723f69(0x51b)],_0x5052b7=_0x1f3b59['Cipher']=_0x527617[_0x723f69(0x2c3)]({'cfg':_0x45260a[_0x723f69(0x2c3)](),'createEncryptor':function(_0x390cb9,_0xb4b942){const _0x3f0d98=_0x723f69;return this[_0x3f0d98(0x23f)](this[_0x3f0d98(0x3eb)],_0x390cb9,_0xb4b942);},'createDecryptor':function(_0x6918bc,_0xc13b2c){const _0x14a311=_0x723f69;return this[_0x14a311(0x23f)](this[_0x14a311(0x172)],_0x6918bc,_0xc13b2c);},'init':function(_0x597cd5,_0x2166b5,_0x431361){const _0x507a08=_0x723f69;this[_0x507a08(0x4df)]=this[_0x507a08(0x4df)]['extend'](_0x431361),this[_0x507a08(0x4cf)]=_0x597cd5,this[_0x507a08(0x3b9)]=_0x2166b5,this[_0x507a08(0x28a)]();},'reset':function(){const _0x1a8d6f=_0x723f69;_0x527617[_0x1a8d6f(0x28a)]['call'](this),this[_0x1a8d6f(0x4b0)]();},'process':function(_0x3140c0){const _0x2add1e=_0x723f69;return this[_0x2add1e(0x298)](_0x3140c0),this[_0x2add1e(0x366)]();},'finalize':function(_0x13f2f8){const _0x1f2707=_0x723f69;_0x13f2f8&&this[_0x1f2707(0x298)](_0x13f2f8);var _0x4dbde0=this['_doFinalize']();return _0x4dbde0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1d1d84(_0x5aaca9){const _0x2f645e=_0x328b;return typeof _0x5aaca9==_0x2f645e(0x537)?_0xc35e23:_0x35deb7;}return function(_0x29d5f0){return{'encrypt':function(_0x218bb1,_0x20e194,_0x1a130b){const _0x9b5a8f=_0x328b;return _0x1d1d84(_0x20e194)[_0x9b5a8f(0x41c)](_0x29d5f0,_0x218bb1,_0x20e194,_0x1a130b);},'decrypt':function(_0x550186,_0x52a4ef,_0x206f77){const _0x4a36d1=_0x328b;return _0x1d1d84(_0x52a4ef)[_0x4a36d1(0x1ac)](_0x29d5f0,_0x550186,_0x52a4ef,_0x206f77);}};};}())});_0x1f3b59[_0x723f69(0x1ce)]=_0x5052b7['extend']({'_doFinalize':function(){const _0x165468=_0x723f69;var _0x298fba=this[_0x165468(0x366)](!0x0);return _0x298fba;},'blockSize':0x1});var _0x52300c=_0x288b97[_0x723f69(0x2eb)]={},_0x4e5d87=_0x1f3b59[_0x723f69(0x2ab)]=_0x45260a[_0x723f69(0x2c3)]({'createEncryptor':function(_0x30c451,_0x3876b3){const _0x25a565=_0x723f69;return this[_0x25a565(0x1f3)][_0x25a565(0x23f)](_0x30c451,_0x3876b3);},'createDecryptor':function(_0x19deb2,_0x59d33e){const _0x32a6ef=_0x723f69;return this[_0x32a6ef(0x4b7)][_0x32a6ef(0x23f)](_0x19deb2,_0x59d33e);},'init':function(_0x573ec2,_0x30cf4b){const _0x47e9f7=_0x723f69;this['_cipher']=_0x573ec2,this[_0x47e9f7(0x1f1)]=_0x30cf4b;}}),_0x5886b5=_0x52300c[_0x723f69(0x431)]=(function(){const _0x148a7f=_0x723f69;var _0x2b87ee=_0x4e5d87[_0x148a7f(0x2c3)]();_0x2b87ee[_0x148a7f(0x1f3)]=_0x2b87ee[_0x148a7f(0x2c3)]({'processBlock':function(_0x744fcd,_0x3b1d9b){const _0x9e9fcc=_0x148a7f;var _0x2374ff=this[_0x9e9fcc(0x3ab)],_0x410448=_0x2374ff[_0x9e9fcc(0x198)];_0xbee80c[_0x9e9fcc(0x140)](this,_0x744fcd,_0x3b1d9b,_0x410448),_0x2374ff[_0x9e9fcc(0x3cb)](_0x744fcd,_0x3b1d9b),this[_0x9e9fcc(0x2d5)]=_0x744fcd[_0x9e9fcc(0x21a)](_0x3b1d9b,_0x3b1d9b+_0x410448);}}),_0x2b87ee[_0x148a7f(0x4b7)]=_0x2b87ee[_0x148a7f(0x2c3)]({'processBlock':function(_0x4f858a,_0x1af84d){const _0x1d6550=_0x148a7f;var _0x5ea859=this['_cipher'],_0x515798=_0x5ea859[_0x1d6550(0x198)],_0x19de65=_0x4f858a[_0x1d6550(0x21a)](_0x1af84d,_0x1af84d+_0x515798);_0x5ea859[_0x1d6550(0x27a)](_0x4f858a,_0x1af84d),_0xbee80c[_0x1d6550(0x140)](this,_0x4f858a,_0x1af84d,_0x515798),this['_prevBlock']=_0x19de65;}});function _0xbee80c(_0x2c165f,_0x51ac4b,_0x59f732){const _0x5dded6=_0x148a7f;var _0x54db39,_0x4b40fe=this[_0x5dded6(0x1f1)];_0x4b40fe?(_0x54db39=_0x4b40fe,this[_0x5dded6(0x1f1)]=_0x238276):_0x54db39=this['_prevBlock'];for(var _0x5b3203=0x0;_0x5b3203<_0x59f732;_0x5b3203++)_0x2c165f[_0x51ac4b+_0x5b3203]^=_0x54db39[_0x5b3203];}return _0x2b87ee;}()),_0x287060=_0x288b97[_0x723f69(0x28e)]={},_0x3d3137=_0x287060[_0x723f69(0x158)]={'pad':function(_0x58c341,_0x5bec43){const _0x4a62f5=_0x723f69;for(var _0x16a714=_0x5bec43*0x4,_0x5cc05e=_0x16a714-_0x58c341[_0x4a62f5(0x4a7)]%_0x16a714,_0x2c4121=_0x5cc05e<<0x18|_0x5cc05e<<0x10|_0x5cc05e<<0x8|_0x5cc05e,_0x58bbdd=[],_0x1dd912=0x0;_0x1dd912<_0x5cc05e;_0x1dd912+=0x4)_0x58bbdd[_0x4a62f5(0x43f)](_0x2c4121);var _0x25a9d4=_0x373aa3['create'](_0x58bbdd,_0x5cc05e);_0x58c341[_0x4a62f5(0x14a)](_0x25a9d4);},'unpad':function(_0x523614){const _0x3e5b1e=_0x723f69;var _0x30412e=_0x523614['words'][_0x523614['sigBytes']-0x1>>>0x2]&0xff;_0x523614[_0x3e5b1e(0x4a7)]-=_0x30412e;}};_0x1f3b59[_0x723f69(0x4db)]=_0x5052b7['extend']({'cfg':_0x5052b7['cfg'][_0x723f69(0x2c3)]({'mode':_0x5886b5,'padding':_0x3d3137}),'reset':function(){const _0x4483a6=_0x723f69;var _0x3db682;_0x5052b7[_0x4483a6(0x28a)][_0x4483a6(0x140)](this);var _0x4c4d88=this[_0x4483a6(0x4df)],_0x529959=_0x4c4d88['iv'],_0xd939ec=_0x4c4d88[_0x4483a6(0x2eb)];this[_0x4483a6(0x4cf)]==this[_0x4483a6(0x3eb)]?_0x3db682=_0xd939ec[_0x4483a6(0x2e7)]:(_0x3db682=_0xd939ec[_0x4483a6(0x4e2)],this[_0x4483a6(0x2ad)]=0x1),this['_mode']&&this['_mode'][_0x4483a6(0x147)]==_0x3db682?this[_0x4483a6(0x4f6)][_0x4483a6(0x1fe)](this,_0x529959&&_0x529959[_0x4483a6(0x2ca)]):(this['_mode']=_0x3db682[_0x4483a6(0x140)](_0xd939ec,this,_0x529959&&_0x529959[_0x4483a6(0x2ca)]),this[_0x4483a6(0x4f6)][_0x4483a6(0x147)]=_0x3db682);},'_doProcessBlock':function(_0x5bce82,_0x1d73dd){const _0x502ce5=_0x723f69;this[_0x502ce5(0x4f6)][_0x502ce5(0x358)](_0x5bce82,_0x1d73dd);},'_doFinalize':function(){const _0x565d86=_0x723f69;var _0x1a1692,_0x467f4=this['cfg'][_0x565d86(0x500)];return this[_0x565d86(0x4cf)]==this[_0x565d86(0x3eb)]?(_0x467f4['pad'](this[_0x565d86(0x2bd)],this['blockSize']),_0x1a1692=this[_0x565d86(0x366)](!0x0)):(_0x1a1692=this['_process'](!0x0),_0x467f4['unpad'](_0x1a1692)),_0x1a1692;},'blockSize':0x80/0x20});var _0x41b7b0=_0x1f3b59['CipherParams']=_0x45260a[_0x723f69(0x2c3)]({'init':function(_0x38443a){const _0x465b3a=_0x723f69;this[_0x465b3a(0x3e0)](_0x38443a);},'toString':function(_0x5b7623){const _0x20ffce=_0x723f69;return(_0x5b7623||this[_0x20ffce(0x45d)])['stringify'](this);}}),_0x30240b=_0x288b97[_0x723f69(0x21e)]={},_0x1e046d=_0x30240b['OpenSSL']={'stringify':function(_0x5815cb){const _0x1a0636=_0x723f69;var _0x2dfa0a,_0x46de4d=_0x5815cb[_0x1a0636(0x2e4)],_0x2faf18=_0x5815cb[_0x1a0636(0x4a3)];return _0x2faf18?_0x2dfa0a=_0x373aa3[_0x1a0636(0x23f)]([0x53616c74,0x65645f5f])[_0x1a0636(0x14a)](_0x2faf18)['concat'](_0x46de4d):_0x2dfa0a=_0x46de4d,_0x2dfa0a[_0x1a0636(0x542)](_0x24d26c);},'parse':function(_0x9ac4cd){const _0x116b4d=_0x723f69;var _0x52fca2,_0x2856d3=_0x24d26c[_0x116b4d(0x4ae)](_0x9ac4cd),_0x3ef96b=_0x2856d3['words'];return _0x3ef96b[0x0]==0x53616c74&&_0x3ef96b[0x1]==0x65645f5f&&(_0x52fca2=_0x373aa3[_0x116b4d(0x23f)](_0x3ef96b[_0x116b4d(0x21a)](0x2,0x4)),_0x3ef96b[_0x116b4d(0x51c)](0x0,0x4),_0x2856d3[_0x116b4d(0x4a7)]-=0x10),_0x41b7b0['create']({'ciphertext':_0x2856d3,'salt':_0x52fca2});}},_0x35deb7=_0x1f3b59[_0x723f69(0x361)]=_0x45260a[_0x723f69(0x2c3)]({'cfg':_0x45260a[_0x723f69(0x2c3)]({'format':_0x1e046d}),'encrypt':function(_0x5df141,_0x1f2f14,_0xa26dee,_0x13e92f){const _0x11052f=_0x723f69;_0x13e92f=this['cfg'][_0x11052f(0x2c3)](_0x13e92f);var _0x4cc1ad=_0x5df141[_0x11052f(0x2e7)](_0xa26dee,_0x13e92f),_0x452774=_0x4cc1ad[_0x11052f(0x1b1)](_0x1f2f14),_0x3fcd29=_0x4cc1ad[_0x11052f(0x4df)];return _0x41b7b0[_0x11052f(0x23f)]({'ciphertext':_0x452774,'key':_0xa26dee,'iv':_0x3fcd29['iv'],'algorithm':_0x5df141,'mode':_0x3fcd29[_0x11052f(0x2eb)],'padding':_0x3fcd29[_0x11052f(0x500)],'blockSize':_0x5df141[_0x11052f(0x198)],'formatter':_0x13e92f[_0x11052f(0x21e)]});},'decrypt':function(_0x44fb4a,_0x5e85d8,_0xe3fdc0,_0x2eddda){const _0x37708e=_0x723f69;_0x2eddda=this[_0x37708e(0x4df)][_0x37708e(0x2c3)](_0x2eddda),_0x5e85d8=this['_parse'](_0x5e85d8,_0x2eddda['format']);var _0x3e7e48=_0x44fb4a['createDecryptor'](_0xe3fdc0,_0x2eddda)[_0x37708e(0x1b1)](_0x5e85d8[_0x37708e(0x2e4)]);return _0x3e7e48;},'_parse':function(_0x3bd1f3,_0xa27665){const _0xe985af=_0x723f69;return typeof _0x3bd1f3==_0xe985af(0x537)?_0xa27665[_0xe985af(0x4ae)](_0x3bd1f3,this):_0x3bd1f3;}}),_0x5c032e=_0x288b97[_0x723f69(0x4a4)]={},_0x67b545=_0x5c032e[_0x723f69(0x436)]={'execute':function(_0x19ccd8,_0x622a9b,_0x770559,_0x312dc0,_0xe56a00){const _0x3a49bf=_0x723f69;if(_0x312dc0||(_0x312dc0=_0x373aa3['random'](0x40/0x8)),_0xe56a00)var _0x885d60=_0x8e017[_0x3a49bf(0x23f)]({'keySize':_0x622a9b+_0x770559,'hasher':_0xe56a00})['compute'](_0x19ccd8,_0x312dc0);else var _0x885d60=_0x8e017['create']({'keySize':_0x622a9b+_0x770559})[_0x3a49bf(0x272)](_0x19ccd8,_0x312dc0);var _0x24791d=_0x373aa3[_0x3a49bf(0x23f)](_0x885d60[_0x3a49bf(0x2ca)][_0x3a49bf(0x21a)](_0x622a9b),_0x770559*0x4);return _0x885d60['sigBytes']=_0x622a9b*0x4,_0x41b7b0[_0x3a49bf(0x23f)]({'key':_0x885d60,'iv':_0x24791d,'salt':_0x312dc0});}},_0xc35e23=_0x1f3b59['PasswordBasedCipher']=_0x35deb7[_0x723f69(0x2c3)]({'cfg':_0x35deb7['cfg'][_0x723f69(0x2c3)]({'kdf':_0x67b545}),'encrypt':function(_0x2bf9df,_0x4fcfc2,_0x84f113,_0x25c65c){const _0x3c56d4=_0x723f69;_0x25c65c=this['cfg'][_0x3c56d4(0x2c3)](_0x25c65c);var _0xe578f=_0x25c65c['kdf']['execute'](_0x84f113,_0x2bf9df['keySize'],_0x2bf9df[_0x3c56d4(0x45e)],_0x25c65c[_0x3c56d4(0x4a3)],_0x25c65c[_0x3c56d4(0x300)]);_0x25c65c['iv']=_0xe578f['iv'];var _0x497f6a=_0x35deb7[_0x3c56d4(0x41c)][_0x3c56d4(0x140)](this,_0x2bf9df,_0x4fcfc2,_0xe578f[_0x3c56d4(0x363)],_0x25c65c);return _0x497f6a[_0x3c56d4(0x3e0)](_0xe578f),_0x497f6a;},'decrypt':function(_0x5a3dc4,_0x34ce20,_0x52b57a,_0x4bdcf9){const _0x1755bb=_0x723f69;_0x4bdcf9=this[_0x1755bb(0x4df)][_0x1755bb(0x2c3)](_0x4bdcf9),_0x34ce20=this[_0x1755bb(0x186)](_0x34ce20,_0x4bdcf9[_0x1755bb(0x21e)]);var _0x36df76=_0x4bdcf9[_0x1755bb(0x4a4)]['execute'](_0x52b57a,_0x5a3dc4[_0x1755bb(0x1c3)],_0x5a3dc4[_0x1755bb(0x45e)],_0x34ce20[_0x1755bb(0x4a3)],_0x4bdcf9[_0x1755bb(0x300)]);_0x4bdcf9['iv']=_0x36df76['iv'];var _0x189e89=_0x35deb7[_0x1755bb(0x1ac)][_0x1755bb(0x140)](this,_0x5a3dc4,_0x34ce20,_0x36df76[_0x1755bb(0x363)],_0x4bdcf9);return _0x189e89;}});}();}));}(It)),It[_0x5d911c(0x4ee)];}var uc=dt['exports'],pi;function dc(){const _0x4348c4=_0x3a0f4f;return pi||(pi=0x1,function(_0x4ee457,_0x33bdc0){(function(_0x36893e,_0x26cf7f,_0x4c0213){const _0x20d325=_0x328b;_0x4ee457[_0x20d325(0x4ee)]=_0x26cf7f(_e(),rr(),nc(),nr(),or());}(uc,function(_0x4d849f){const _0xa0b1e1=_0x328b;return(function(){const _0x487d52=_0x328b;var _0x597f8c=_0x4d849f,_0x124fe3=_0x597f8c[_0x487d52(0x53d)],_0x555a09=_0x124fe3[_0x487d52(0x4db)],_0x5e2840=_0x597f8c['algo'],_0x2c1ff6=[],_0x1f46b4=[],_0x1ad779=[],_0x22b69e=[],_0x457bb5=[],_0x10a1bd=[],_0x25607b=[],_0x2754da=[],_0x4e45a3=[],_0x14a18d=[];(function(){for(var _0x112b3e=[],_0x8bc1e6=0x0;_0x8bc1e6<0x100;_0x8bc1e6++)_0x8bc1e6<0x80?_0x112b3e[_0x8bc1e6]=_0x8bc1e6<<0x1:_0x112b3e[_0x8bc1e6]=_0x8bc1e6<<0x1^0x11b;for(var _0x5c0c85=0x0,_0x35bc3c=0x0,_0x8bc1e6=0x0;_0x8bc1e6<0x100;_0x8bc1e6++){var _0x438049=_0x35bc3c^_0x35bc3c<<0x1^_0x35bc3c<<0x2^_0x35bc3c<<0x3^_0x35bc3c<<0x4;_0x438049=_0x438049>>>0x8^_0x438049&0xff^0x63,_0x2c1ff6[_0x5c0c85]=_0x438049,_0x1f46b4[_0x438049]=_0x5c0c85;var _0x2db6f1=_0x112b3e[_0x5c0c85],_0x49900e=_0x112b3e[_0x2db6f1],_0x230918=_0x112b3e[_0x49900e],_0x55e922=_0x112b3e[_0x438049]*0x101^_0x438049*0x1010100;_0x1ad779[_0x5c0c85]=_0x55e922<<0x18|_0x55e922>>>0x8,_0x22b69e[_0x5c0c85]=_0x55e922<<0x10|_0x55e922>>>0x10,_0x457bb5[_0x5c0c85]=_0x55e922<<0x8|_0x55e922>>>0x18,_0x10a1bd[_0x5c0c85]=_0x55e922;var _0x55e922=_0x230918*0x1010101^_0x49900e*0x10001^_0x2db6f1*0x101^_0x5c0c85*0x1010100;_0x25607b[_0x438049]=_0x55e922<<0x18|_0x55e922>>>0x8,_0x2754da[_0x438049]=_0x55e922<<0x10|_0x55e922>>>0x10,_0x4e45a3[_0x438049]=_0x55e922<<0x8|_0x55e922>>>0x18,_0x14a18d[_0x438049]=_0x55e922,_0x5c0c85?(_0x5c0c85=_0x2db6f1^_0x112b3e[_0x112b3e[_0x112b3e[_0x230918^_0x2db6f1]]],_0x35bc3c^=_0x112b3e[_0x112b3e[_0x35bc3c]]):_0x5c0c85=_0x35bc3c=0x1;}}());var _0x4e430d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x476d82=_0x5e2840[_0x487d52(0x484)]=_0x555a09[_0x487d52(0x2c3)]({'_doReset':function(){const _0xb7fd82=_0x487d52;var _0x3b0f1b;if(!(this[_0xb7fd82(0x315)]&&this[_0xb7fd82(0x455)]===this[_0xb7fd82(0x3b9)])){for(var _0x57c67c=this['_keyPriorReset']=this[_0xb7fd82(0x3b9)],_0x12797d=_0x57c67c[_0xb7fd82(0x2ca)],_0x5647a6=_0x57c67c['sigBytes']/0x4,_0x26f01d=this[_0xb7fd82(0x315)]=_0x5647a6+0x6,_0x36f8c6=(_0x26f01d+0x1)*0x4,_0x1618b4=this[_0xb7fd82(0x3c6)]=[],_0x25f58a=0x0;_0x25f58a<_0x36f8c6;_0x25f58a++)_0x25f58a<_0x5647a6?_0x1618b4[_0x25f58a]=_0x12797d[_0x25f58a]:(_0x3b0f1b=_0x1618b4[_0x25f58a-0x1],_0x25f58a%_0x5647a6?_0x5647a6>0x6&&_0x25f58a%_0x5647a6==0x4&&(_0x3b0f1b=_0x2c1ff6[_0x3b0f1b>>>0x18]<<0x18|_0x2c1ff6[_0x3b0f1b>>>0x10&0xff]<<0x10|_0x2c1ff6[_0x3b0f1b>>>0x8&0xff]<<0x8|_0x2c1ff6[_0x3b0f1b&0xff]):(_0x3b0f1b=_0x3b0f1b<<0x8|_0x3b0f1b>>>0x18,_0x3b0f1b=_0x2c1ff6[_0x3b0f1b>>>0x18]<<0x18|_0x2c1ff6[_0x3b0f1b>>>0x10&0xff]<<0x10|_0x2c1ff6[_0x3b0f1b>>>0x8&0xff]<<0x8|_0x2c1ff6[_0x3b0f1b&0xff],_0x3b0f1b^=_0x4e430d[_0x25f58a/_0x5647a6|0x0]<<0x18),_0x1618b4[_0x25f58a]=_0x1618b4[_0x25f58a-_0x5647a6]^_0x3b0f1b);for(var _0x4cc47e=this[_0xb7fd82(0x30d)]=[],_0xe442f=0x0;_0xe442f<_0x36f8c6;_0xe442f++){var _0x25f58a=_0x36f8c6-_0xe442f;if(_0xe442f%0x4)var _0x3b0f1b=_0x1618b4[_0x25f58a];else var _0x3b0f1b=_0x1618b4[_0x25f58a-0x4];_0xe442f<0x4||_0x25f58a<=0x4?_0x4cc47e[_0xe442f]=_0x3b0f1b:_0x4cc47e[_0xe442f]=_0x25607b[_0x2c1ff6[_0x3b0f1b>>>0x18]]^_0x2754da[_0x2c1ff6[_0x3b0f1b>>>0x10&0xff]]^_0x4e45a3[_0x2c1ff6[_0x3b0f1b>>>0x8&0xff]]^_0x14a18d[_0x2c1ff6[_0x3b0f1b&0xff]];}}},'encryptBlock':function(_0x5f1eed,_0x40e00d){this['_doCryptBlock'](_0x5f1eed,_0x40e00d,this['_keySchedule'],_0x1ad779,_0x22b69e,_0x457bb5,_0x10a1bd,_0x2c1ff6);},'decryptBlock':function(_0x18b362,_0x4cc041){const _0x4dacd6=_0x487d52;var _0x40234f=_0x18b362[_0x4cc041+0x1];_0x18b362[_0x4cc041+0x1]=_0x18b362[_0x4cc041+0x3],_0x18b362[_0x4cc041+0x3]=_0x40234f,this[_0x4dacd6(0x1b6)](_0x18b362,_0x4cc041,this[_0x4dacd6(0x30d)],_0x25607b,_0x2754da,_0x4e45a3,_0x14a18d,_0x1f46b4);var _0x40234f=_0x18b362[_0x4cc041+0x1];_0x18b362[_0x4cc041+0x1]=_0x18b362[_0x4cc041+0x3],_0x18b362[_0x4cc041+0x3]=_0x40234f;},'_doCryptBlock':function(_0x30583d,_0x23b090,_0x4c630f,_0x22dd6a,_0xa289d3,_0x4a9d94,_0x48a9be,_0x314897){const _0x398dbf=_0x487d52;for(var _0xaf9f94=this[_0x398dbf(0x315)],_0x354b67=_0x30583d[_0x23b090]^_0x4c630f[0x0],_0x48882b=_0x30583d[_0x23b090+0x1]^_0x4c630f[0x1],_0x3ec262=_0x30583d[_0x23b090+0x2]^_0x4c630f[0x2],_0x1865f6=_0x30583d[_0x23b090+0x3]^_0x4c630f[0x3],_0x28cb0a=0x4,_0xe7fec6=0x1;_0xe7fec6<_0xaf9f94;_0xe7fec6++){var _0x1dc586=_0x22dd6a[_0x354b67>>>0x18]^_0xa289d3[_0x48882b>>>0x10&0xff]^_0x4a9d94[_0x3ec262>>>0x8&0xff]^_0x48a9be[_0x1865f6&0xff]^_0x4c630f[_0x28cb0a++],_0x315ffd=_0x22dd6a[_0x48882b>>>0x18]^_0xa289d3[_0x3ec262>>>0x10&0xff]^_0x4a9d94[_0x1865f6>>>0x8&0xff]^_0x48a9be[_0x354b67&0xff]^_0x4c630f[_0x28cb0a++],_0x35f3fd=_0x22dd6a[_0x3ec262>>>0x18]^_0xa289d3[_0x1865f6>>>0x10&0xff]^_0x4a9d94[_0x354b67>>>0x8&0xff]^_0x48a9be[_0x48882b&0xff]^_0x4c630f[_0x28cb0a++],_0x334c64=_0x22dd6a[_0x1865f6>>>0x18]^_0xa289d3[_0x354b67>>>0x10&0xff]^_0x4a9d94[_0x48882b>>>0x8&0xff]^_0x48a9be[_0x3ec262&0xff]^_0x4c630f[_0x28cb0a++];_0x354b67=_0x1dc586,_0x48882b=_0x315ffd,_0x3ec262=_0x35f3fd,_0x1865f6=_0x334c64;}var _0x1dc586=(_0x314897[_0x354b67>>>0x18]<<0x18|_0x314897[_0x48882b>>>0x10&0xff]<<0x10|_0x314897[_0x3ec262>>>0x8&0xff]<<0x8|_0x314897[_0x1865f6&0xff])^_0x4c630f[_0x28cb0a++],_0x315ffd=(_0x314897[_0x48882b>>>0x18]<<0x18|_0x314897[_0x3ec262>>>0x10&0xff]<<0x10|_0x314897[_0x1865f6>>>0x8&0xff]<<0x8|_0x314897[_0x354b67&0xff])^_0x4c630f[_0x28cb0a++],_0x35f3fd=(_0x314897[_0x3ec262>>>0x18]<<0x18|_0x314897[_0x1865f6>>>0x10&0xff]<<0x10|_0x314897[_0x354b67>>>0x8&0xff]<<0x8|_0x314897[_0x48882b&0xff])^_0x4c630f[_0x28cb0a++],_0x334c64=(_0x314897[_0x1865f6>>>0x18]<<0x18|_0x314897[_0x354b67>>>0x10&0xff]<<0x10|_0x314897[_0x48882b>>>0x8&0xff]<<0x8|_0x314897[_0x3ec262&0xff])^_0x4c630f[_0x28cb0a++];_0x30583d[_0x23b090]=_0x1dc586,_0x30583d[_0x23b090+0x1]=_0x315ffd,_0x30583d[_0x23b090+0x2]=_0x35f3fd,_0x30583d[_0x23b090+0x3]=_0x334c64;},'keySize':0x100/0x20});_0x597f8c['AES']=_0x555a09[_0x487d52(0x171)](_0x476d82);}()),_0x4d849f[_0xa0b1e1(0x484)];}));}(dt)),dt[_0x4348c4(0x4ee)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct[_0x3a0f4f(0x4ee)],gi;function gc(){const _0x1d5573=_0x3a0f4f;return gi||(gi=0x1,function(_0x35518c,_0x119940){(function(_0x36b773,_0x570ff2){_0x35518c['exports']=_0x570ff2(_e());}(mc,function(_0x35b12f){const _0x14a8ef=_0x328b;return _0x35b12f[_0x14a8ef(0x4a6)][_0x14a8ef(0x26f)];}));}(Ct)),Ct[_0x1d5573(0x4ee)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x3a0f4f(0x4ee)],Si;function Ec(){const _0x5c2b43=_0x3a0f4f;return Si||(Si=0x1,function(_0x1d26d2,_0x270782){(function(_0xb7f5b3,_0x241a80){const _0x5171a1=_0x328b;_0x1d26d2[_0x5171a1(0x4ee)]=_0x241a80(_e());}(Cc,function(_0x4a43f0){const _0x38007f=_0x328b;return(function(){const _0x3e5f0e=_0x328b;if(typeof ArrayBuffer==_0x3e5f0e(0x1ff)){var _0xf4683e=_0x4a43f0,_0x26cfcd=_0xf4683e[_0x3e5f0e(0x53d)],_0x49a0fb=_0x26cfcd[_0x3e5f0e(0x4ed)],_0x330e38=_0x49a0fb[_0x3e5f0e(0x1fe)],_0x49c47a=_0x49a0fb[_0x3e5f0e(0x1fe)]=function(_0x329c64){const _0x24ff29=_0x3e5f0e;if(_0x329c64 instanceof ArrayBuffer&&(_0x329c64=new Uint8Array(_0x329c64)),(_0x329c64 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x329c64 instanceof Uint8ClampedArray||_0x329c64 instanceof Int16Array||_0x329c64 instanceof Uint16Array||_0x329c64 instanceof Int32Array||_0x329c64 instanceof Uint32Array||_0x329c64 instanceof Float32Array||_0x329c64 instanceof Float64Array)&&(_0x329c64=new Uint8Array(_0x329c64[_0x24ff29(0x307)],_0x329c64['byteOffset'],_0x329c64['byteLength'])),_0x329c64 instanceof Uint8Array){for(var _0x2782b4=_0x329c64[_0x24ff29(0x417)],_0x49b334=[],_0x3c9634=0x0;_0x3c9634<_0x2782b4;_0x3c9634++)_0x49b334[_0x3c9634>>>0x2]|=_0x329c64[_0x3c9634]<<0x18-_0x3c9634%0x4*0x8;_0x330e38[_0x24ff29(0x140)](this,_0x49b334,_0x2782b4);}else _0x330e38[_0x24ff29(0x21c)](this,arguments);};_0x49c47a[_0x3e5f0e(0x2cb)]=_0x49a0fb;}}()),_0x4a43f0[_0x38007f(0x53d)][_0x38007f(0x4ed)];}));}(Et)),Et[_0x5c2b43(0x4ee)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x3a0f4f(0x4ee)],Ii;function Oc(){const _0x228e48=_0x3a0f4f;return Ii||(Ii=0x1,function(_0x23ec64,_0x50b47d){(function(_0x399498,_0xbaef09,_0x41487f){_0x23ec64['exports']=_0xbaef09(_e(),or());}(Rc,function(_0x25e1e6){const _0x5a84ed=_0x328b;return _0x25e1e6[_0x5a84ed(0x28e)][_0x5a84ed(0x380)]={'pad':function(){},'unpad':function(){}},_0x25e1e6[_0x5a84ed(0x28e)][_0x5a84ed(0x380)];}));}(bt)),bt[_0x228e48(0x4ee)];}var yc=Oc();const wc=ct(yc);function Dc(_0x420bb7,_0x396dae){const _0x11d1ab=_0x3a0f4f,_0x57fa61=_0x396dae-_0x420bb7['length']%_0x396dae,_0x24db4d=String[_0x11d1ab(0x303)](_0x57fa61)[_0x11d1ab(0x55d)](_0x57fa61);return _0x420bb7+_0x24db4d;}function Pc(_0x25dec1,_0x101d9f){const _0x2daa3c=_0x3a0f4f,_0xd4e508=Tc[_0x2daa3c(0x341)](0x10),_0x49881a=Dc(_0x25dec1,0x10),_0x4c261d=vc['encrypt'](Ic[_0x2daa3c(0x4ae)](_0x49881a),mi[_0x2daa3c(0x4ae)](_0x101d9f),{'iv':_0xd4e508,'padding':wc});return _0xd4e508[_0x2daa3c(0x14a)](_0x4c261d[_0x2daa3c(0x2e4)])[_0x2daa3c(0x542)](mi);}function Nc(){const _0x44c088=_0x3a0f4f,_0x1ea571=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x1ea571){const _0x560970={'time':Math[_0x44c088(0x34c)](Date[_0x44c088(0x1d2)]()/0x3e8),'domain':location['hostname']};return Pc(JSON['stringify'](_0x560970),_0x1ea571);}}var Uc=Object[_0x3a0f4f(0x40a)],Ac=Object[_0x3a0f4f(0x409)],Mc=(_0x35336f,_0x5de339,_0x3d1dc9,_0x126f1c)=>{const _0x13ab56=_0x3a0f4f;for(var _0x41c89=_0x126f1c>0x1?void 0x0:_0x126f1c?Ac(_0x5de339,_0x3d1dc9):_0x5de339,_0x6361f4=_0x35336f[_0x13ab56(0x312)]-0x1,_0x453064;_0x6361f4>=0x0;_0x6361f4--)(_0x453064=_0x35336f[_0x6361f4])&&(_0x41c89=(_0x126f1c?_0x453064(_0x5de339,_0x3d1dc9,_0x41c89):_0x453064(_0x41c89))||_0x41c89);return _0x126f1c&&_0x41c89&&Uc(_0x5de339,_0x3d1dc9,_0x41c89),_0x41c89;},xc=(_0x591d83,_0x46907a)=>(_0x5e940e,_0x4171ee)=>_0x46907a(_0x5e940e,_0x4171ee,_0x591d83);let $t=class{constructor(_0x52ce28){const _0x4c0cac=_0x3a0f4f;this['_httpService']=_0x52ce28,this[_0x4c0cac(0x52e)]();}[_0x3a0f4f(0x52e)](){const _0x28cd8f=_0x3a0f4f;this[_0x28cd8f(0x53b)][_0x28cd8f(0x3b3)]({'interceptor':(_0x44db,_0x24d45c)=>{const _0x4ad704=_0x28cd8f,_0x518277=_0x44db[_0x4ad704(0x3a3)],_0x332405=Nc();return _0x332405&&_0x518277['set'](_0x4ad704(0x429),_0x332405),_0x24d45c(_0x44db);}});}};$t=Mc([xc(0x0,_0x4a6309(_0x559bcb))],$t);var Lc=Object['defineProperty'],$c=Object[_0x3a0f4f(0x409)],Hc=(_0x49bfc0,_0x20093f,_0x129f54,_0x7a4b23)=>{for(var _0x3f4e8d=_0x7a4b23>0x1?void 0x0:_0x7a4b23?$c(_0x20093f,_0x129f54):_0x20093f,_0x22f5ac=_0x49bfc0['length']-0x1,_0x5c920e;_0x22f5ac>=0x0;_0x22f5ac--)(_0x5c920e=_0x49bfc0[_0x22f5ac])&&(_0x3f4e8d=(_0x7a4b23?_0x5c920e(_0x20093f,_0x129f54,_0x3f4e8d):_0x5c920e(_0x3f4e8d))||_0x3f4e8d);return _0x7a4b23&&_0x3f4e8d&&Lc(_0x20093f,_0x129f54,_0x3f4e8d),_0x3f4e8d;},rs=(_0x53a4da,_0x3d08c0)=>(_0x37e6a1,_0x509087)=>_0x3d08c0(_0x37e6a1,_0x509087,_0x53a4da);const jc=['image/png',_0x3a0f4f(0x2fa),_0x3a0f4f(0x203),_0x3a0f4f(0x251),_0x3a0f4f(0x1db)],Bc=0x5*0x400*0x400,kc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Wc=_0x3a0f4f(0x499),Fc=_0x3a0f4f(0x2e2),Vc=_0x3a0f4f(0x441);let ms=class{constructor(_0x2d6305,_0x2176fb,_0x2147c1){const _0x418769=_0x3a0f4f;g(this,_0x418769(0x2ce),0x0),g(this,'_change$',new _0x4c5eca()),g(this,_0x418769(0x25f),this[_0x418769(0x216)]),g(this,'_imageSourceCache',new Map()),(this[_0x418769(0x53b)]=_0x2d6305,this[_0x418769(0x145)]=_0x2176fb,this[_0x418769(0x345)]=_0x2147c1);}[_0x3a0f4f(0x496)](_0x41397f){const _0x1fe37c=_0x3a0f4f;this[_0x1fe37c(0x2ce)]=_0x41397f,this[_0x1fe37c(0x216)][_0x1fe37c(0x25c)](_0x41397f);}['getImageSourceCache'](_0x56fe08,_0x346663){const _0x373c17=_0x3a0f4f;if(_0x346663===_0x32ea27[_0x373c17(0x514)]){const _0x2029c0=new Image();return _0x2029c0[_0x373c17(0x544)]=_0x56fe08,_0x2029c0;}return this[_0x373c17(0x162)]['get'](_0x56fe08);}[_0x3a0f4f(0x403)](_0x2714b6,_0x4835b8,_0x7efdc){const _0x209795=_0x3a0f4f;_0x4835b8===_0x32ea27[_0x209795(0x514)]||_0x7efdc==null||this[_0x209795(0x162)][_0x209795(0x4d9)](_0x2714b6,_0x7efdc);}async[_0x3a0f4f(0x37a)](_0x4d3a54){const _0x3c49a6=_0x3a0f4f;try{const _0x4b81da=this[_0x3c49a6(0x50d)](this['_getSignURL'](),''+_0x4d3a54),_0x69c090=(await this[_0x3c49a6(0x53b)][_0x3c49a6(0x204)](_0x4b81da))[_0x3c49a6(0x3b4)];if(_0x69c090[_0x3c49a6(0x34b)]&&_0x69c090[_0x3c49a6(0x34b)][_0x3c49a6(0x24d)]===Fi['OK']){const _0x325f07=new URL(_0x69c090['url'],this[_0x3c49a6(0x209)]())[_0x3c49a6(0x542)]();return Promise[_0x3c49a6(0x46f)](_0x325f07);}return Promise[_0x3c49a6(0x338)](_0x69c090['error']);}catch(_0x4f9f1a){return Promise[_0x3c49a6(0x338)](_0x4f9f1a);}}async[_0x3a0f4f(0x44e)](_0x44db23){const _0x42b68d=_0x3a0f4f;let _0x2f07eb='';if(!jc[_0x42b68d(0x18d)](_0x44db23[_0x42b68d(0x550)]))return this[_0x42b68d(0x178)](),Promise[_0x42b68d(0x338)](new Error(_0x35a916[_0x42b68d(0x2d3)]));if(_0x44db23[_0x42b68d(0x382)]>Bc)return this[_0x42b68d(0x178)](),Promise[_0x42b68d(0x338)](new Error(_0x35a916[_0x42b68d(0x14f)]));try{const _0x81d78e=new FormData();_0x81d78e[_0x42b68d(0x357)](_0x42b68d(0x35e),_0x44db23);const _0x57ed09=this[_0x42b68d(0x345)][_0x42b68d(0x327)](),_0x53cba9=_0x57ed09==null?void 0x0:_0x57ed09[_0x42b68d(0x1eb)]();if(!_0x53cba9)throw new Error('unitId\x20is\x20not\x20found');const _0x4ab994=this[_0x42b68d(0x44b)]()+_0x42b68d(0x153)+_0x44db23['size']['toString']()+_0x42b68d(0x242)+Vi[_0x42b68d(0x1cc)]+_0x42b68d(0x3bf)+encodeURIComponent(_0x53cba9),_0x62fa29=await(await fetch(_0x4ab994,{'method':_0x42b68d(0x2b6),'body':_0x81d78e}))[_0x42b68d(0x28c)]();if(typeof _0x62fa29['FileId']!=_0x42b68d(0x537))return this[_0x42b68d(0x178)](),Promise[_0x42b68d(0x338)](new Error(_0x35a916['ERROR_IMAGE']));_0x2f07eb=_0x62fa29[_0x42b68d(0x234)];}catch{return this['_decreaseWaiting'](),Promise[_0x42b68d(0x338)](new Error(_0x35a916[_0x42b68d(0x21d)]));}return new Promise((_0x321ae5,_0x42c609)=>{const _0x51476e=_0x42b68d,_0x2ce78b=new FileReader();_0x2ce78b[_0x51476e(0x3ae)](_0x44db23),_0x2ce78b[_0x51476e(0x224)]=_0x16df7d=>{const _0x2d76eb=_0x51476e;var _0x16c304;const _0x257d0d=(_0x16c304=_0x16df7d['target'])==null?void 0x0:_0x16c304['result'];if(_0x257d0d==null){this[_0x2d76eb(0x178)](),_0x42c609(new Error(_0x35a916[_0x2d76eb(0x21d)]));return;}const _0x7cc999=_0x1fb819[_0x2d76eb(0x4e1)](0x6);_0x321ae5({'imageId':_0x7cc999,'imageSourceType':_0x32ea27[_0x2d76eb(0x52b)],'source':_0x2f07eb,'base64Cache':_0x257d0d,'status':_0x35a916[_0x2d76eb(0x269)]}),this[_0x2d76eb(0x178)]();};});}[_0x3a0f4f(0x44b)](){const _0x2cd78e=_0x3a0f4f;var _0x186eac,_0x2b85f8;const _0x455baf=this[_0x2cd78e(0x145)][_0x2cd78e(0x128)](kc),_0x29b5f3=this[_0x2cd78e(0x145)][_0x2cd78e(0x128)](Q);return(_0x2b85f8=(_0x186eac=_0x29b5f3==null?void 0x0:_0x29b5f3['uploadFileServerUrl'])!=null?_0x186eac:_0x455baf)!=null?_0x2b85f8:Wc;}['_getSignURL'](){const _0x2cbe65=_0x3a0f4f;var _0x21392f,_0xc70bcd;const _0x200002=this[_0x2cbe65(0x145)][_0x2cbe65(0x128)](Fc),_0xc3401e=this[_0x2cbe65(0x145)][_0x2cbe65(0x128)](Q);return(_0xc70bcd=(_0x21392f=_0xc3401e==null?void 0x0:_0xc3401e[_0x2cbe65(0x31e)])!=null?_0x21392f:_0x200002)!=null?_0xc70bcd:Vc;}['_getDownloadEndpointURL'](){const _0x23964a=_0x3a0f4f;var _0x201aba;const _0x73de18=this[_0x23964a(0x145)][_0x23964a(0x128)](Q);return(_0x201aba=_0x73de18==null?void 0x0:_0x73de18[_0x23964a(0x34a)])!=null?_0x201aba:location['origin'];}[_0x3a0f4f(0x50d)](_0x4dcc6d,_0x28dba1){const _0x55f9ba=_0x3a0f4f;return _0x4dcc6d['replace'](_0x55f9ba(0x333),_0x28dba1);}[_0x3a0f4f(0x178)](){const _0x50abd1=_0x3a0f4f;this[_0x50abd1(0x2ce)]-=0x1,this[_0x50abd1(0x216)][_0x50abd1(0x25c)](this['_waitCount']);}};ms=Hc([rs(0x0,_0x4a6309(_0x559bcb)),rs(0x1,_0x1526c7),rs(0x2,_0x4a6309(_0x3dee00))],ms);var Gc=Object[_0x3a0f4f(0x40a)],Yc=Object[_0x3a0f4f(0x409)],Kc=(_0x17b616,_0x46a69a,_0x2c5b81,_0x6d4f9a)=>{const _0x168506=_0x3a0f4f;for(var _0x59aea4=_0x6d4f9a>0x1?void 0x0:_0x6d4f9a?Yc(_0x46a69a,_0x2c5b81):_0x46a69a,_0x8366a0=_0x17b616[_0x168506(0x312)]-0x1,_0x4f0ee4;_0x8366a0>=0x0;_0x8366a0--)(_0x4f0ee4=_0x17b616[_0x8366a0])&&(_0x59aea4=(_0x6d4f9a?_0x4f0ee4(_0x46a69a,_0x2c5b81,_0x59aea4):_0x4f0ee4(_0x59aea4))||_0x59aea4);return _0x6d4f9a&&_0x59aea4&&Gc(_0x46a69a,_0x2c5b81,_0x59aea4),_0x59aea4;},Ci=(_0x22856e,_0x2bc437)=>(_0x8b60a9,_0x46a475)=>_0x2bc437(_0x8b60a9,_0x46a475,_0x22856e);const qc='/universer-api/authz';let gs=class{constructor(_0x16a501,_0x5e97b8){const _0x3a5068=_0x3a0f4f;this[_0x3a5068(0x145)]=_0x16a501,this['_HTTPService']=_0x5e97b8;}[_0x3a0f4f(0x459)](){const _0x220d84=_0x3a0f4f;var _0x439089,_0x4f8479;const _0xc8095f=this[_0x220d84(0x145)][_0x220d84(0x128)](ir),_0x29f018=this[_0x220d84(0x145)][_0x220d84(0x128)](Q);return(_0x4f8479=(_0x439089=_0x29f018==null?void 0x0:_0x29f018[_0x220d84(0x466)])!=null?_0x439089:_0xc8095f)!=null?_0x4f8479:qc;}async[_0x3a0f4f(0x254)](_0x2538ef){const _0x5c02e7=_0x3a0f4f,_0x2351f2=this['_getAPIPrefixPath']()+_0x5c02e7(0x1a1);return{'list':[{'title':_0x5c02e7(0x552),'mentions':(await this[_0x5c02e7(0x513)]['get'](_0x2351f2,{'params':{'objectID':_0x2538ef[_0x5c02e7(0x492)],'unitID':_0x2538ef['unitId']}}))[_0x5c02e7(0x3b4)][_0x5c02e7(0x196)][_0x5c02e7(0x545)](_0x4e90e0=>({'objectId':_0x4e90e0['id'],'name':_0x4e90e0[_0x5c02e7(0x19f)][_0x5c02e7(0x346)],'metadata':{'icon':_0x4e90e0[_0x5c02e7(0x19f)]['avatar']},'label':_0x4e90e0[_0x5c02e7(0x19f)][_0x5c02e7(0x346)],'objectType':_0x22d5ac['PERSON']})),'metadata':{},'type':_0x22d5ac[_0x5c02e7(0x494)]}]};}};gs=Kc([Ci(0x0,_0x4a6309(_0x1526c7)),Ci(0x1,_0x4a6309(_0x559bcb))],gs);var zc=Object[_0x3a0f4f(0x40a)],Xc=Object[_0x3a0f4f(0x409)],Jc=(_0xf2e39c,_0x5caa2b,_0x4734fc,_0x3ca2ae)=>{const _0x56b704=_0x3a0f4f;for(var _0x59d02c=_0x3ca2ae>0x1?void 0x0:_0x3ca2ae?Xc(_0x5caa2b,_0x4734fc):_0x5caa2b,_0x3fe65c=_0xf2e39c[_0x56b704(0x312)]-0x1,_0x2a6cfb;_0x3fe65c>=0x0;_0x3fe65c--)(_0x2a6cfb=_0xf2e39c[_0x3fe65c])&&(_0x59d02c=(_0x3ca2ae?_0x2a6cfb(_0x5caa2b,_0x4734fc,_0x59d02c):_0x2a6cfb(_0x59d02c))||_0x59d02c);return _0x3ca2ae&&_0x59d02c&&zc(_0x5caa2b,_0x4734fc,_0x59d02c),_0x59d02c;},et=(_0x49b551,_0x1123a3)=>(_0x3517d6,_0x45de25)=>_0x1123a3(_0x3517d6,_0x45de25,_0x49b551);let Ht=class extends _0x5a2d55{constructor(_0x2500f4,_0x5cdfbd,_0x28c453,_0x712aeb,_0x4261bc){const _0x1b1959=_0x3a0f4f;super(),this[_0x1b1959(0x340)]=_0x2500f4,this[_0x1b1959(0x345)]=_0x5cdfbd,this[_0x1b1959(0x222)]=_0x28c453,this[_0x1b1959(0x3af)]=_0x712aeb,this[_0x1b1959(0x369)]=_0x4261bc,this[_0x1b1959(0x1a8)](),this[_0x1b1959(0x20c)]();}['_initCloseConn'](){const _0xd5f84d=_0x3a0f4f,_0x5ab4a1=async _0x260d07=>{const _0x3fe1b8=_0x328b;(await this[_0x3fe1b8(0x3af)]['requireSession'](_0x260d07))[_0x3fe1b8(0x2f7)][_0x3fe1b8(0x2af)](_0x3b2257(_0x5c0d50=>_0x5c0d50['eventID']===_0x256e72[_0x3fe1b8(0x3bd)]),_0x548b51(this['dispose$']))['subscribe'](_0x24776d=>{const _0x2ff686=_0x3fe1b8,_0xf29566=_0x24776d,{reason:_0x251baa}=_0xf29566['data'];this[_0x2ff686(0x340)][_0x2ff686(0x204)](_0x138b55)[_0x2ff686(0x4d8)]({'type':_0x452c22[_0x2ff686(0x503)],'content':this[_0x2ff686(0x369)]['t'](_0x2ff686(0x16a))+'('+_0x251baa+')'}),this[_0x2ff686(0x222)][_0x2ff686(0x2f8)](new _0x102f56(_0x260d07)['id'],!0x1),this[_0x2ff686(0x3af)][_0x2ff686(0x3f5)](_0x260d07);});};_0x4bd8ea(this['_univerInstanceService'][_0xd5f84d(0x2f3)](_0x363a0b[_0xd5f84d(0x12e)]),this[_0xd5f84d(0x345)][_0xd5f84d(0x2f3)](_0x363a0b[_0xd5f84d(0x12b)]))[_0xd5f84d(0x2af)](_0x388f57(_0x48c532=>_0x48c532['getUnitId']()),_0x3b2257(_0x21357b=>!_0x28d9be(_0x21357b)),_0x548b51(this[_0xd5f84d(0x220)]))[_0xd5f84d(0x4f0)](_0x70427d=>{_0x5ab4a1(_0x70427d);});}['_initUnitPermissionChange'](){const _0x20014d=_0x3a0f4f,_0x1af076=async _0x37534d=>{const _0x146596=_0x328b;(await this[_0x146596(0x3af)]['requireSession'](_0x37534d))['event$']['pipe'](_0x3b2257(_0x2e67ba=>_0x2e67ba[_0x146596(0x416)]===_0x256e72['UPDATE_PERMISSION_OBJ']),_0x548b51(this[_0x146596(0x220)]))[_0x146596(0x4f0)](_0x24c2f1=>{const _0xf7a39=_0x146596,_0x2fa45a=_0x24c2f1,{objectId:_0x4d3de0}=_0x2fa45a['data'],_0x21426f=this[_0xf7a39(0x340)][_0xf7a39(0x204)](_0x5b108c);_0x4d3de0===_0x37534d?_0x21426f[_0xf7a39(0x187)](_0x37534d):_0x21426f[_0xf7a39(0x44f)](_0x37534d,_0x4d3de0);});};_0x4bd8ea(this[_0x20014d(0x345)]['getTypeOfUnitAdded$'](_0x363a0b[_0x20014d(0x12e)]),this[_0x20014d(0x345)][_0x20014d(0x2f3)](_0x363a0b[_0x20014d(0x12b)]))[_0x20014d(0x2af)](_0x388f57(_0x2086de=>_0x2086de[_0x20014d(0x1eb)]()),_0x3b2257(_0x785a86=>!_0x28d9be(_0x785a86)),_0x548b51(this['dispose$']))['subscribe'](_0x22a93f=>{_0x1af076(_0x22a93f);});}};Ht=Jc([et(0x0,_0x4a6309(_0x5b64e2)),et(0x1,_0x3dee00),et(0x2,_0x344f08),et(0x3,_0x4a6309(xe)),et(0x4,_0x4a6309(_0x440b58))],Ht);var Zc=Object['defineProperty'],Qc=Object[_0x3a0f4f(0x409)],eh=(_0xae29bf,_0x5d25c1,_0x5cb8b7,_0xeacacb)=>{const _0x3c31e2=_0x3a0f4f;for(var _0x41d70a=_0xeacacb>0x1?void 0x0:_0xeacacb?Qc(_0x5d25c1,_0x5cb8b7):_0x5d25c1,_0x3191dc=_0xae29bf[_0x3c31e2(0x312)]-0x1,_0x2d91b6;_0x3191dc>=0x0;_0x3191dc--)(_0x2d91b6=_0xae29bf[_0x3191dc])&&(_0x41d70a=(_0xeacacb?_0x2d91b6(_0x5d25c1,_0x5cb8b7,_0x41d70a):_0x2d91b6(_0x41d70a))||_0x41d70a);return _0xeacacb&&_0x41d70a&&Zc(_0x5d25c1,_0x5cb8b7,_0x41d70a),_0x41d70a;},Ei=(_0x158f8e,_0x56baf4)=>(_0x2beeab,_0x30cc62)=>_0x56baf4(_0x2beeab,_0x30cc62,_0x158f8e);let Ss=class{constructor(_0x56e293,_0x384179){const _0x3bce0a=_0x3a0f4f;this[_0x3bce0a(0x145)]=_0x56e293,this[_0x3bce0a(0x53b)]=_0x384179;}async[_0x3a0f4f(0x540)](_0x59786c,_0x3bf00a){const _0x14d6f8=_0x3a0f4f;var _0x39726e;const {unitID:_0xc27fb5,type:_0x489767,revision:_0x2ef6df=0x0}=_0x3bf00a,_0x532bfa=this[_0x14d6f8(0x3ec)]()+'/'+_0x489767+_0x14d6f8(0x38d)+_0xc27fb5+_0x14d6f8(0x3a7)+_0x2ef6df,_0x4bb250=(await this[_0x14d6f8(0x53b)][_0x14d6f8(0x204)](_0x532bfa))[_0x14d6f8(0x3b4)],_0x430c97=(_0x39726e=_0x4bb250[_0x14d6f8(0x4a8)])==null?void 0x0:_0x39726e[_0x14d6f8(0x31a)];if(_0x430c97){const _0x4b6598=_0x430c97==null?void 0x0:_0x430c97[_0x14d6f8(0x35c)],_0x3e83ca=_0x5bc419[_0x14d6f8(0x469)](_0x58c36f(_0x4b6598));_0x430c97['originalMeta']=_0x3e83ca,Object['entries'](_0x430c97[_0x14d6f8(0x4ce)])['forEach'](([,_0x29637c])=>{const _0x58f396=_0x14d6f8,_0x2d794b=_0x29637c[_0x58f396(0x35c)],_0x5647b0=_0x5bc419[_0x58f396(0x469)](_0x58c36f(_0x2d794b));_0x29637c[_0x58f396(0x35c)]=_0x5647b0;});}return _0x4bb250;}async[_0x3a0f4f(0x215)](_0x4649bb,_0x412c79){const _0x5231bb=_0x3a0f4f,{unitID:_0xd98a31,type:_0x47aee6,blockID:_0x2b7d53}=_0x412c79,_0x353c35=this['_getAPIPrefix']()+'/'+_0x47aee6+_0x5231bb(0x38d)+_0xd98a31+_0x5231bb(0x39f)+_0x2b7d53;return(await this['_httpService'][_0x5231bb(0x204)](_0x353c35))[_0x5231bb(0x3b4)];}async[_0x3a0f4f(0x120)](_0x5d596c,_0x265e07){const _0x81d761=_0x3a0f4f,{unitID:_0x456613,type:_0x8c32c9,blockID:_0x101db5}=_0x265e07,_0xfed249=this[_0x81d761(0x33b)]()+_0x81d761(0x39f)+_0x8c32c9+_0x81d761(0x38d)+_0x456613+'/block/'+_0x101db5;return(await this[_0x81d761(0x53b)][_0x81d761(0x204)](_0xfed249))['body'];}async['fetchMissingChangesets'](_0x40eee4,_0x69859d){const _0x98613e=_0x3a0f4f,{unitID:_0xa96826,type:_0x2100c3,from:_0xba6307,to:_0x3fd96e}=_0x69859d,_0x34d053=this[_0x98613e(0x33b)]()+'/'+_0x2100c3+'/unit/'+_0xa96826+'/fetchmissing?from='+_0xba6307+'&to='+_0x3fd96e;return(await this[_0x98613e(0x53b)][_0x98613e(0x204)](_0x34d053))['body'];}[_0x3a0f4f(0x3ec)](){const _0x229db8=_0x3a0f4f;var _0xffb1b7;return(_0xffb1b7=this[_0x229db8(0x145)][_0x229db8(0x128)](Tn))!=null?_0xffb1b7:this[_0x229db8(0x33b)]();}[_0x3a0f4f(0x33b)](){const _0x3deec7=_0x3a0f4f;var _0x2c9e12,_0x3a6be6;const _0x2cf856=this[_0x3deec7(0x145)][_0x3deec7(0x128)](En),_0x2d7625=this[_0x3deec7(0x145)][_0x3deec7(0x128)](Q);return(_0x3a6be6=(_0x2c9e12=_0x2d7625==null?void 0x0:_0x2d7625['snapshotServerUrl'])!=null?_0x2c9e12:_0x2cf856)!=null?_0x3a6be6:bn;}async[_0x3a0f4f(0x489)](_0x1960a1,_0x3e2cde){const _0x32b079=_0x3a0f4f,_0x514b4c=_0x32b079(0x3bc)+_0x3e2cde[_0x32b079(0x550)]+'/unit/'+_0x3e2cde[_0x32b079(0x321)]+_0x32b079(0x42a);return(await this[_0x32b079(0x53b)][_0x32b079(0x204)](_0x514b4c,{'params':{'resourceId':JSON['stringify'](_0x3e2cde['resourceIDs'])}}))[_0x32b079(0x3b4)];}[_0x3a0f4f(0x421)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){const _0xa97202=_0x3a0f4f;throw new Error(_0xa97202(0x3cf));}[_0x3a0f4f(0x4c9)](){const _0xd3c410=_0x3a0f4f;throw new Error(_0xd3c410(0x3cf));}['copyFileMeta'](){const _0x4b429c=_0x3a0f4f;throw new Error(_0x4b429c(0x3cf));}[_0x3a0f4f(0x549)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ss=eh([Ei(0x0,_0x1526c7),Ei(0x1,_0x4a6309(_0x559bcb))],Ss);var th=Object[_0x3a0f4f(0x40a)],sh=Object[_0x3a0f4f(0x409)],ih=(_0x4ca580,_0x3d2c14,_0x489267,_0x655861)=>{const _0x53fdf8=_0x3a0f4f;for(var _0x2b651c=_0x655861>0x1?void 0x0:_0x655861?sh(_0x3d2c14,_0x489267):_0x3d2c14,_0x41387f=_0x4ca580[_0x53fdf8(0x312)]-0x1,_0x27f66;_0x41387f>=0x0;_0x41387f--)(_0x27f66=_0x4ca580[_0x41387f])&&(_0x2b651c=(_0x655861?_0x27f66(_0x3d2c14,_0x489267,_0x2b651c):_0x27f66(_0x2b651c))||_0x2b651c);return _0x655861&&_0x2b651c&&th(_0x3d2c14,_0x489267,_0x2b651c),_0x2b651c;},tt=(_0x7dc806,_0x37f3bb)=>(_0x5aadb3,_0x5c1b76)=>_0x37f3bb(_0x5aadb3,_0x5c1b76,_0x7dc806);let Is=class extends _0x1326ac{constructor(_0x435d6d,_0x308f16,_0x2d415b,_0x322143,_0x14db3d){const _0x44783a=_0x3a0f4f;super(_0x435d6d,_0x308f16,_0x2d415b),this[_0x44783a(0x20a)]=_0x322143,this[_0x44783a(0x2d8)]=_0x14db3d;}[_0x3a0f4f(0x335)](_0x453d84,_0x4012d0){const _0x43b505=_0x3a0f4f,_0x4a43af=this[_0x43b505(0x211)](_0x453d84);if(_0x4a43af)try{const _0x121dba=this[_0x43b505(0x49a)](_0x4a43af,_0x4012d0);this[_0x43b505(0x1a3)](_0x453d84,_0x121dba);}catch(_0x1a2d82){this['_logService'][_0x43b505(0x34b)]('[CollaborationUndoRedoService]',_0x1a2d82),this[_0x43b505(0x557)](_0x453d84);}const _0x95043f=this[_0x43b505(0x226)](_0x453d84);if(_0x95043f)try{const _0x5a4ed7=this[_0x43b505(0x49a)](_0x95043f,_0x4012d0);this[_0x43b505(0x2e6)](_0x453d84,_0x5a4ed7);}catch(_0x5ebff1){this[_0x43b505(0x2d8)][_0x43b505(0x34b)](_0x5ebff1),this[_0x43b505(0x3aa)](_0x453d84);}}[_0x3a0f4f(0x557)](_0x4e312f){const _0x39eec9=_0x3a0f4f,_0xe8a7f0=this[_0x39eec9(0x211)](_0x4e312f);_0xe8a7f0&&(_0xe8a7f0[_0x39eec9(0x312)]=0x0,this[_0x39eec9(0x415)]());}['_clearRedo'](_0x1c7163){const _0x645fe3=_0x3a0f4f,_0x418b08=this[_0x645fe3(0x226)](_0x1c7163);_0x418b08&&(_0x418b08[_0x645fe3(0x312)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x749e1b,_0x457d08){const _0x3308fa=_0x3a0f4f;this['_undoStacks']['set'](_0x749e1b,_0x457d08),this[_0x3308fa(0x415)]();}['_substituteRedoStack'](_0x3ad5c0,_0x510a61){const _0x1fd66b=_0x3a0f4f;this[_0x1fd66b(0x402)][_0x1fd66b(0x4d9)](_0x3ad5c0,_0x510a61),this['_updateStatus']();}[_0x3a0f4f(0x49a)](_0x59217d,_0x11c09b){const _0xf62c1=_0x3a0f4f,_0x31618d=[];let _0x330f09=_0x11c09b,_0x3d1f67=_0x11c09b;for(let _0x429169=_0x59217d[_0xf62c1(0x312)]-0x1;_0x429169>=0x0;_0x429169--){const {unitID:_0x3d2972,undoMutations:_0x5db4d0,redoMutations:_0x4283be}=_0x59217d[_0x429169],_0xd985c3=this[_0xf62c1(0x20a)][_0xf62c1(0x27f)](_0x330f09,_0x5db4d0),_0x5c728e=this[_0xf62c1(0x20a)]['transformMutationsWithChangeset'](_0x3d1f67,_0x4283be);if(_0xec044a(_0xd985c3)||_0xec044a(_0x5c728e)){this[_0xf62c1(0x2d8)][_0xf62c1(0x34b)](_0xf62c1(0x3e9),_0xf62c1(0x49f),_0xd985c3,_0x5c728e);break;}_0x330f09=_0xd985c3[_0xf62c1(0x17b)],_0x3d1f67=_0x5c728e[_0xf62c1(0x17b)],_0x31618d['push']({'unitID':_0x3d2972,'undoMutations':_0xd985c3['m2Prime'],'redoMutations':_0x5c728e['m2Prime']});}return _0x31618d[_0xf62c1(0x344)]();}};Is=ih([tt(0x0,_0x3dee00),tt(0x1,_0x21538e),tt(0x2,_0x3b86f4),tt(0x3,_0x4a14e2),tt(0x4,_0x4c9627)],Is);class rh extends _0x5a2d55{constructor(){const _0x392c6e=_0x3a0f4f;super(),g(this,_0x392c6e(0x372)),this[_0x392c6e(0x372)]=_0x14b582(window,_0x392c6e(0x3fd))[_0x392c6e(0x2af)](_0x2a292b(this['dispose$']),_0xda1692(0x1),_0x5d7b6d(void 0x0));}[_0x3a0f4f(0x47f)](_0x29fd65,_0x24e48c,_0x209a12=!0x1){const _0xfeec89=_0x3a0f4f,_0x2d3962=new URL(window['location']['href']);_0x2d3962[_0xfeec89(0x11f)]['set'](_0x29fd65,_0x24e48c),_0x209a12?window[_0xfeec89(0x292)][_0xfeec89(0x53e)]('','',_0x2d3962['toString']()):window['history'][_0xfeec89(0x1d6)]('','',_0x2d3962[_0xfeec89(0x542)]());}['removeParam'](_0x38d14f,_0x5a0185=!0x1){const _0x38c60b=_0x3a0f4f,_0x38ea40=new URL(window[_0x38c60b(0x152)]['href']);_0x38ea40['searchParams'][_0x38c60b(0x4d6)](_0x38d14f),_0x5a0185?window[_0x38c60b(0x292)][_0x38c60b(0x53e)]('','',_0x38ea40[_0x38c60b(0x542)]()):window[_0x38c60b(0x292)]['pushState']('','',_0x38ea40[_0x38c60b(0x542)]());}['getParam'](_0x134eda){const _0xea07e4=_0x3a0f4f;var _0x3a9b22;return(_0x3a9b22=new URL(window[_0xea07e4(0x152)]['href'])['searchParams'][_0xea07e4(0x204)](_0x134eda))!=null?_0x3a9b22:void 0x0;}}var ar=Object[_0x3a0f4f(0x40a)],nh=Object['getOwnPropertyDescriptor'],oh=(_0x1d1cbb,_0x18ddfc,_0x36d96f)=>_0x18ddfc in _0x1d1cbb?ar(_0x1d1cbb,_0x18ddfc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36d96f}):_0x1d1cbb[_0x18ddfc]=_0x36d96f,ah=(_0x1caef8,_0x269706,_0xdf18f1,_0x22156c)=>{for(var _0x25d0f9=_0x22156c>0x1?void 0x0:_0x22156c?nh(_0x269706,_0xdf18f1):_0x269706,_0x981ffb=_0x1caef8['length']-0x1,_0x1cb2c5;_0x981ffb>=0x0;_0x981ffb--)(_0x1cb2c5=_0x1caef8[_0x981ffb])&&(_0x25d0f9=(_0x22156c?_0x1cb2c5(_0x269706,_0xdf18f1,_0x25d0f9):_0x1cb2c5(_0x25d0f9))||_0x25d0f9);return _0x22156c&&_0x25d0f9&&ar(_0x269706,_0xdf18f1,_0x25d0f9),_0x25d0f9;},_t=(_0x49795b,_0x2e4b1d)=>(_0xa96557,_0x28a375)=>_0x2e4b1d(_0xa96557,_0x28a375,_0x49795b),ch=(_0x37a8b4,_0x2c2318,_0x127654)=>oh(_0x37a8b4,_0x2c2318+'',_0x127654);const hh='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Cs=class extends _0x3fd3c3{constructor(_0x5cc2ff=Bn,_0x4ea86e,_0x1ed357,_0x1c060a,_0x27cee1){const _0x2199d2=_0x3a0f4f;super(),this[_0x2199d2(0x3d1)]=_0x5cc2ff,this['_logService']=_0x4ea86e,this[_0x2199d2(0x2b5)]=_0x1ed357,this[_0x2199d2(0x340)]=_0x1c060a,this['_configService']=_0x27cee1;const {..._0x10f1d6}=this[_0x2199d2(0x3d1)];this[_0x2199d2(0x145)][_0x2199d2(0x406)](Q,_0x10f1d6);}[_0x3a0f4f(0x474)](){const _0x5cef66=_0x3a0f4f;this[_0x5cef66(0x439)](),this[_0x5cef66(0x244)]();}[_0x3a0f4f(0x414)](){const _0x3f4021=_0x3a0f4f;_0x63b439(this[_0x3f4021(0x340)],[[xt],[Ut]]);}[_0x3a0f4f(0x424)](){const _0x384727=_0x3a0f4f;this[_0x384727(0x1ef)]();}['_registerDependencies'](){const _0x6fc8a2=_0x3a0f4f;var _0x31e6ce,_0x35079c,_0x1d8e73,_0x3a3aee;this[_0x6fc8a2(0x340)][_0x6fc8a2(0x261)](_0x28c671)&&this[_0x6fc8a2(0x2d8)]['error'](_0x6fc8a2(0x22b),_0x6fc8a2(0x413));const _0x18bb38=[[_0x28c671,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x20af59],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x35079c=(_0x31e6ce=this[_0x6fc8a2(0x3d1)])==null?void 0x0:_0x31e6ce[_0x6fc8a2(0x142)])!=null?_0x35079c:cs}],[_0x53719c,{'useClass':Ss}],[_0x233f24,{'useClass':ps}],[_0x543428,{'useClass':ms}],[_0xafb964,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x1d8e73=this['_config'])!=null&&_0x1d8e73[_0x6fc8a2(0x227)]&&_0x18bb38['push']([jt,{'useClass':Co}]),_0x5d57bb(this[_0x6fc8a2(0x340)],_0x448917(_0x18bb38,(_0x3a3aee=this[_0x6fc8a2(0x3d1)])==null?void 0x0:_0x3a3aee['override']));}[_0x3a0f4f(0x1ef)](){const _0x98611b=_0x3a0f4f;this[_0x98611b(0x49b)](this[_0x98611b(0x2b5)][_0x98611b(0x2b9)](_0x363a0b[_0x98611b(0x12b)],[fs])),this[_0x98611b(0x49b)](this[_0x98611b(0x2b5)][_0x98611b(0x2b9)](_0x363a0b[_0x98611b(0x12e)],[vs]));}[_0x3a0f4f(0x244)](){const _0x3a97b2=_0x3a0f4f;var _0x3c3901,_0x31d697;this['_injector'][_0x3a97b2(0x204)](_0x559bcb)[_0x3a97b2(0x3b3)]({'priority':0x14,'interceptor':_0x3364e1({'maxParallel':0x6})}),(_0x3c3901=this[_0x3a97b2(0x3d1)])!=null&&_0x3c3901[_0x3a97b2(0x34d)]||this[_0x3a97b2(0x340)][_0x3a97b2(0x204)](z)[_0x3a97b2(0x3d9)](),(_0x31d697=this[_0x3a97b2(0x3d1)])!=null&&_0x31d697[_0x3a97b2(0x334)]&&_0x63b439(this[_0x3a97b2(0x340)],[[Lt]]),_0x63b439(this[_0x3a97b2(0x340)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x3a0f4f(0x232),hh),Cs=ah([_0x5a5537(_0x31a0d0,_0x5be668),_t(0x1,_0x4c9627),_t(0x2,_0xc1cbdc),_t(0x3,_0x4a6309(_0x5b64e2)),_t(0x4,_0x1526c7)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
|
1
|
+
const _0x5e3172=_0x1eb2;(function(_0x39b754,_0x2f135a){const _0x3e60b1=_0x1eb2,_0x197efc=_0x39b754();while(!![]){try{const _0x230929=parseInt(_0x3e60b1(0x3ff))/0x1*(parseInt(_0x3e60b1(0x26e))/0x2)+-parseInt(_0x3e60b1(0x3dc))/0x3*(parseInt(_0x3e60b1(0x3fb))/0x4)+parseInt(_0x3e60b1(0x208))/0x5+parseInt(_0x3e60b1(0x400))/0x6+-parseInt(_0x3e60b1(0x173))/0x7*(parseInt(_0x3e60b1(0x3e3))/0x8)+parseInt(_0x3e60b1(0x4b8))/0x9*(parseInt(_0x3e60b1(0x179))/0xa)+parseInt(_0x3e60b1(0x384))/0xb;if(_0x230929===_0x2f135a)break;else _0x197efc['push'](_0x197efc['shift']());}catch(_0x31303e){_0x197efc['push'](_0x197efc['shift']());}}}(_0x1abc,0x4c1d9));var cr=Object['defineProperty'],hr=(_0x15b577,_0x52334e,_0x16f8fd)=>_0x52334e in _0x15b577?cr(_0x15b577,_0x52334e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f8fd}):_0x15b577[_0x52334e]=_0x16f8fd,g=(_0x42e6cd,_0x202912,_0x3c81be)=>hr(_0x42e6cd,typeof _0x202912!=_0x5e3172(0x36d)?_0x202912+'':_0x202912,_0x3c81be);import{createIdentifier as _0x311f8c,Inject as _0x1259a7,Disposable as _0x5f337f,DisposableCollection as _0x1f64b1,toDisposable as _0x38e5fb,IConfigService as _0x3a37b7,ILogService as _0xadcc6,UserManagerService as _0x43b087,UniverInstanceType as _0xfbb68f,IUniverInstanceService as _0x381e7e,LocaleService as _0x56a2bf,Optional as _0x2f5f30,RxDisposable as _0x5ce84d,Injector as _0xa6ca3c,Tools as _0x279a54,ILocalStorageService as _0x489004,Rectangle as _0x50302c,ICommandService as _0x58c2c0,DOC_RANGE_TYPE as _0x263740,JSONX as _0x1bb50c,CommandType as _0x57cf4b,IPermissionService as _0x51028f,IUndoRedoService as _0x2d3235,sequenceExecute as _0x399b47,debounce as _0x38f51c,COLORS as _0x341aed,ColorKit as _0x5842d9,ThemeService as _0x3b15b9,fromEventSubject as _0xb2198c,useDependency as _0x57885b,connectInjector as _0x517e5d,Workbook as _0x1d9cb8,MentionType as _0xbf08a,isInternalEditorID as _0x48d1da,LocalUndoRedoService as _0x301e35,IContextService as _0x1f3c95,DependentOn as _0x447968,Plugin as _0x35856f,touchDependencies as _0x3ab8ae,IAuthzIoService as _0x5ae3ef,IMentionIOService as _0x5c1989,registerDependencies as _0x3ef291,mergeOverrideWithDependencies as _0x11b22e}from'@univerjs/core';import{Subject as _0x1b8780,merge as _0x143e60,takeUntil as _0x34041a,BehaviorSubject as _0xd0d94b,distinctUntilChanged as _0x11e04f,fromEvent as _0x1a191c,ReplaySubject as _0x3d17ca,take as _0x3decc5,map as _0x461042,shareReplay as _0x55695a,of as _0x4f62b6,debounceTime as _0x5fe042,filter as _0x446160,switchMap as _0x12c24e,combineLatest as _0x1bfc9f,concatMap as _0x21776c,mapTo as _0x15c046}from'rxjs';import{map as _0x2945cf,take as _0x287b41,filter as _0x3c0a43,delay as _0x5a47b9,throttleTime as _0x14e77d,takeUntil as _0x209ee4,switchMap as _0x506a28}from'rxjs/operators';import{MessageType as _0x59169d,Tooltip as _0x172eaf}from'@univerjs/design';import{HTTPService as _0x21ff0e,WebSocketService as _0x5b73a6,MergeInterceptorFactory as _0x146515,HTTPRequest as _0x427f8d,UniverNetworkPlugin as _0x284272,ThresholdInterceptorFactory as _0x3d2a05}from'@univerjs/network';import{IBeforeCloseService as _0x38bd7e,IMessageService as _0x28a2c3,INotificationService as _0xe36565,useObservable as _0x82b757,BuiltInUIPart as _0x4a568e,IUIPartsService as _0x5beba5}from'@univerjs/ui';import{CollaborationEvent as _0x385814,parseChangesetToProtocol as _0x103c14,ISnapshotServerService as _0x18e368,isTransformMutationFailure as _0x29729a,isTransformMutationsWithChangesetSuccess as _0x17cfb3,ITransformService as _0x2a04be,RevisionService as _0x5730a1,mapDocumentTypeToUniverType as _0x20d9fb,isTransformChangesetsSuccess as _0x1b6696,CompressMutationService as _0x2efac4,parseProtocolChangeset as _0x5e0840,SnapshotService as _0x2dad5b,textEncoder as _0xf9a5c6,b64DecodeUnicode as _0x1a04e2,isTransformMutationsWithChangesetFailure as _0x2ccc3c,UniverCollaborationPlugin as _0x30e153}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x42c595}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x195c19,RichTextEditingMutation as _0x48d9a2,SetTextSelectionsOperation as _0x6a5ee2,DocSkeletonManagerService as _0x218e07}from'@univerjs/docs';import{DocIMEInputManagerService as _0x3ded9c,DocStateChangeManagerService as _0x59d42b,IDocClipboardService as _0x51fcd5,NodePositionConvertToCursor as _0x23a52e,NodePositionConvertToRectRange as _0x135bfe,TEXT_RANGE_LAYER_INDEX as _0x2641c4,SetDocZoomRatioOperation as _0x56f25a}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x10dd54,SetSelectionsOperation as _0x3f708e,InsertSheetMutation as _0x1c7d98,EmptyMutation as _0x4b8f30,WorkbookEditablePermission as _0x1a4341,RefRangeService as _0x4fe9a5,EffectRefRangId as _0x1d34c9,handleIRemoveRow as _0x45470d,handleIRemoveCol as _0x2f48a3,handleMoveRange as _0x16c781,handleInsertRow as _0x57fbd7,handleInsertRangeMoveRight as _0x10303e,handleInsertRangeMoveDown as _0x28267d,handleInsertCol as _0x4f5a43,handleDeleteRangeMoveUp as _0x34bf8e,handleDeleteRangeMoveLeft as _0xa5d192,runRefRangeMutations as _0x212980,SetWorksheetActivateCommand as _0x5d7f9e}from'@univerjs/sheets';import{IRenderManagerService as _0x2d7ddc,Shape as _0x3f24aa,Rect as _0x5876ba,getColor as _0x58cb0a,RegularPolygon as _0x2f6ca8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2759c0,Vector2 as _0x40d11c,SHEET_VIEWPORT_KEY as _0x3dbe35}from'@univerjs/engine-render';import{IImageIoService as _0x1c8798,ImageSourceType as _0xa7900e,ImageUploadStatusType as _0x2f0162}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x987e76,serializeRangeWithSheet as _0x51efb3}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x5d1f2f,getCoordByCell as _0x1028ea,getSheetObject as _0x7eaba5,SheetPermissionInitController as _0x25b747}from'@univerjs/sheets-ui';import _0x165312,{forwardRef as _0x5af4de,useRef as _0xa7cda3,createElement as _0x27aa2b,useCallback as _0x3c29fa}from'react';import{IRemoteInstanceService as _0x4ec8cb}from'@univerjs/rpc';const En='SNAPSHOT_SERVER_URL_KEY',bn='/universer-api/snapshot',Tn=_0x5e3172(0x457),wh=_0x5e3172(0x19c),Rn=0x7d0,On=_0x5e3172(0x182),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn=_0x5e3172(0x201),Dn=_0x5e3172(0x513),Pn=0x7530,ki='HEARTBEAT_TIMEOUT',Wi=0x4e20,Nn=0x4e20,Un=_0x5e3172(0x362),An=0x3,Mn=_0x5e3172(0x127),xn=0x3e8,Ln=_0x5e3172(0x1b8),$n=_0x5e3172(0x444),Hn='LOGIN_URL_KEY',jn=_0x5e3172(0x4e7);var Fi=(_0x1e25dd=>(_0x1e25dd[_0x1e25dd[_0x5e3172(0x252)]=0x0]=_0x5e3172(0x252),_0x1e25dd[_0x1e25dd['OK']=0x1]='OK',_0x1e25dd[_0x1e25dd[_0x5e3172(0x3d4)]=0x2]='INTERNAL_ERROR',_0x1e25dd[_0x1e25dd['PERMISSION_DENIED']=0x3]=_0x5e3172(0x4f8),_0x1e25dd[_0x1e25dd[_0x5e3172(0x22f)]=0x4]=_0x5e3172(0x22f),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3f4)]=0x5]=_0x5e3172(0x3f4),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3fa)]=0x6]=_0x5e3172(0x3fa),_0x1e25dd[_0x1e25dd[_0x5e3172(0x181)]=0x7]='INVALID_ARGUMENT',_0x1e25dd[_0x1e25dd['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1e25dd[_0x1e25dd[_0x5e3172(0x4e3)]=0x9]=_0x5e3172(0x4e3),_0x1e25dd[_0x1e25dd[_0x5e3172(0x36c)]=0x1389]=_0x5e3172(0x36c),_0x1e25dd[_0x1e25dd[_0x5e3172(0x4e0)]=0x1771]=_0x5e3172(0x4e0),_0x1e25dd[_0x1e25dd[_0x5e3172(0x171)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1e25dd[_0x1e25dd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5e3172(0x323),_0x1e25dd[_0x1e25dd['APPLY_REJECT']=0x1b59]=_0x5e3172(0x478),_0x1e25dd[_0x1e25dd['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5e3172(0x1b0),_0x1e25dd[_0x1e25dd[_0x5e3172(0x2fb)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e25dd[_0x1e25dd[_0x5e3172(0x3ab)]=0x1b5c]=_0x5e3172(0x3ab),_0x1e25dd[_0x1e25dd['APPLY_DUPLICATED']=0x1b5d]=_0x5e3172(0x1f3),_0x1e25dd[_0x1e25dd[_0x5e3172(0x337)]=0x1f41]=_0x5e3172(0x337),_0x1e25dd[_0x1e25dd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5e3172(0x35c),_0x1e25dd[_0x1e25dd[_0x5e3172(0x330)]=0x232a]=_0x5e3172(0x330),_0x1e25dd[_0x1e25dd[_0x5e3172(0x138)]=0x232b]=_0x5e3172(0x138),_0x1e25dd[_0x1e25dd[_0x5e3172(0x351)]=0x232c]=_0x5e3172(0x351),_0x1e25dd[_0x1e25dd[_0x5e3172(0x42a)]=0x232d]=_0x5e3172(0x42a),_0x1e25dd[_0x1e25dd[_0x5e3172(0x1f0)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1e25dd[_0x1e25dd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1e25dd[_0x1e25dd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e3172(0x1ad),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3b0)]=0x2714]=_0x5e3172(0x3b0),_0x1e25dd[_0x1e25dd['UNRECOGNIZED']=-0x1]=_0x5e3172(0x175),_0x1e25dd))(Fi||{}),ae=(_0x14fa79=>(_0x14fa79[_0x14fa79['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x14fa79[_0x14fa79['UNIVER_DOC']=0x1]=_0x5e3172(0x11d),_0x14fa79[_0x14fa79[_0x5e3172(0x1c2)]=0x2]='UNIVER_SHEET',_0x14fa79[_0x14fa79[_0x5e3172(0x32e)]=0x3]=_0x5e3172(0x32e),_0x14fa79[_0x14fa79[_0x5e3172(0x375)]=0x4]='UNIVER_PROJECT',_0x14fa79[_0x14fa79[_0x5e3172(0x175)]=-0x1]=_0x5e3172(0x175),_0x14fa79))(ae||{}),W=(_0x80a1be=>(_0x80a1be[_0x80a1be[_0x5e3172(0x39d)]=0x0]=_0x5e3172(0x39d),_0x80a1be[_0x80a1be[_0x5e3172(0x33e)]=0x1]=_0x5e3172(0x33e),_0x80a1be[_0x80a1be['JOIN']=0x2]=_0x5e3172(0x1ac),_0x80a1be[_0x80a1be['LEAVE']=0x3]=_0x5e3172(0x1df),_0x80a1be[_0x80a1be[_0x5e3172(0x23c)]=0x4]=_0x5e3172(0x23c),_0x80a1be[_0x80a1be[_0x5e3172(0x420)]=0x5]=_0x5e3172(0x420),_0x80a1be[_0x80a1be['RECV']=0x6]=_0x5e3172(0x31b),_0x80a1be[_0x80a1be[_0x5e3172(0x175)]=-0x1]='UNRECOGNIZED',_0x80a1be))(W||{}),Pe=(_0x4a8764=>(_0x4a8764[_0x4a8764[_0x5e3172(0x34b)]=0x0]=_0x5e3172(0x34b),_0x4a8764[_0x4a8764['OK']=0x1]='OK',_0x4a8764[_0x4a8764[_0x5e3172(0x1cd)]=0x2]='FAIL',_0x4a8764[_0x4a8764[_0x5e3172(0x164)]=0x3e9]=_0x5e3172(0x164),_0x4a8764[_0x4a8764[_0x5e3172(0x12e)]=0x3ea]=_0x5e3172(0x12e),_0x4a8764[_0x4a8764[_0x5e3172(0x267)]=0x3eb]=_0x5e3172(0x267),_0x4a8764[_0x4a8764[_0x5e3172(0x1af)]=0x3ec]=_0x5e3172(0x1af),_0x4a8764[_0x4a8764[_0x5e3172(0x175)]=-0x1]=_0x5e3172(0x175),_0x4a8764))(Pe||{}),Vi=(_0x471e2d=>(_0x471e2d[_0x471e2d['Undefined']=0x0]=_0x5e3172(0x317),_0x471e2d[_0x471e2d[_0x5e3172(0x446)]=0x1]='HttpImport',_0x471e2d[_0x471e2d['HttpExport']=0x2]=_0x5e3172(0x160),_0x471e2d[_0x471e2d[_0x5e3172(0x16c)]=0x3]=_0x5e3172(0x16c),_0x471e2d[_0x471e2d['UnitSnapshot']=0x4]=_0x5e3172(0x439),_0x471e2d[_0x471e2d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x471e2d))(Vi||{});const Q=_0x5e3172(0x497),Bn={};function kn(_0x17f977){const _0x20357d=_0x5e3172;var _0xf13991,_0x3462bc,_0x30f07e,_0x2c7e82,_0x59507d;const _0x387b23=_0x17f977['data'],_0x39cef7=JSON['parse'](_0x387b23);switch(_0x39cef7[_0x20357d(0x35f)]){case W[_0x20357d(0x420)]:case W[_0x20357d(0x33e)]:{const _0x5a37fd=_0x39cef7[_0x20357d(0x3d1)];return{..._0x39cef7,'data':_0x5a37fd,'cmd':_0x39cef7[_0x20357d(0x35f)]};}case W[_0x20357d(0x1ac)]:{const _0x5be17b=_0x39cef7[_0x20357d(0x2d8)];return{..._0x39cef7,'data':_0x5be17b,'cmd':_0x39cef7['cmd']};}case W['RECV']:{const _0x3fdbd6=_0x39cef7[_0x20357d(0x21b)];switch(_0x3fdbd6['eventID']){case _0x385814[_0x20357d(0x3e9)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0xf13991=_0x3fdbd6[_0x20357d(0x2cb)])==null?void 0x0:_0xf13991['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x2e5)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x3462bc=_0x3fdbd6[_0x20357d(0x150)])==null?void 0x0:_0x3462bc['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x331)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x30f07e=_0x3fdbd6['newCsEvent'])==null?void 0x0:_0x30f07e['cs']},'cmd':_0x39cef7['cmd']};case _0x385814['CHANGESET_REJ']:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x2c7e82=_0x3fdbd6['csRejEvent'])==null?void 0x0:_0x2c7e82['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x155)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x59507d=_0x3fdbd6[_0x20357d(0x453)])==null?void 0x0:_0x59507d['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x514)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x142)]},'cmd':_0x39cef7['cmd']};case _0x385814['USERS_ENTER']:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['joinEvent']},'cmd':_0x39cef7['cmd']};case _0x385814[_0x20357d(0x10f)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x4ed)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x4bc)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x3d2)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x251)]:case _0x385814[_0x20357d(0x30b)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x46a)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x250)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x3d2)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814['MSG_FOR_ERROR']:return{..._0x39cef7,'data':_0x3fdbd6,'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x2a9)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['commentUpdateEvent']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x278)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x532)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x137)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['shouldCloseConn']},'cmd':_0x39cef7[_0x20357d(0x35f)]};default:return _0x39cef7;}}default:return _0x39cef7;}}function Wn(_0x14763b){const _0x476fa2=_0x5e3172;switch(_0x14763b[_0x476fa2(0x35f)]){case W[_0x476fa2(0x420)]:case W[_0x476fa2(0x33e)]:return JSON['stringify']({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b['routeKey']});case W[_0x476fa2(0x23c)]:{let _0x55ed95;switch(_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x451)]){case _0x385814[_0x476fa2(0x514)]:{_0x55ed95={'eventID':_0x385814['UPDATE_CURSOR'],'updateCursorEvent':_0x14763b['data']['data']};break;}case _0x385814[_0x476fa2(0x10f)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x10f)],'leaveEvent':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x3c2)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x3c2)],'joinEvent':_0x14763b['data'][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x4bc)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x4bc)],'liveShareNewHost':_0x14763b[_0x476fa2(0x288)]['data']};break;}case _0x385814[_0x476fa2(0x30b)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x30b)],'liveShareOperation':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x250)]:{_0x55ed95={'eventID':_0x385814['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x157)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x157)],'liveShareRequestHost':_0x14763b[_0x476fa2(0x288)]['data']};break;}case _0x385814['LIVESHARE_FETCH_OPERATIONS']:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x251)]};break;}default:_0x55ed95={'eventID':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x451)]};}return JSON[_0x476fa2(0x50f)]({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'collaMsg':_0x55ed95});}case W[_0x476fa2(0x1ac)]:return JSON[_0x476fa2(0x50f)]({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'joinReq':_0x14763b['data']});case W[_0x476fa2(0x1df)]:return JSON['stringify']({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'leaveReq':_0x14763b[_0x476fa2(0x288)]});default:throw new Error(_0x476fa2(0x398));}}var Fn=Object[_0x5e3172(0x243)],Vn=Object[_0x5e3172(0x26f)],Gn=(_0x2d42c6,_0x190d4f,_0x3ce1d2,_0x1bd443)=>{const _0x4b6f99=_0x5e3172;for(var _0x3b5253=_0x1bd443>0x1?void 0x0:_0x1bd443?Vn(_0x190d4f,_0x3ce1d2):_0x190d4f,_0x3d9c32=_0x2d42c6[_0x4b6f99(0x2c8)]-0x1,_0x431c26;_0x3d9c32>=0x0;_0x3d9c32--)(_0x431c26=_0x2d42c6[_0x3d9c32])&&(_0x3b5253=(_0x1bd443?_0x431c26(_0x190d4f,_0x3ce1d2,_0x3b5253):_0x431c26(_0x3b5253))||_0x3b5253);return _0x1bd443&&_0x3b5253&&Fn(_0x190d4f,_0x3ce1d2,_0x3b5253),_0x3b5253;},ze=(_0x10a368,_0xb11ce9)=>(_0x446084,_0x5387ac)=>_0xb11ce9(_0x446084,_0x5387ac,_0x10a368);const Gi=_0x311f8c(_0x5e3172(0x141));function Yn(_0x5247e3,_0x458ff8,_0x407fb8){return _0x5247e3+'/'+_0x458ff8+'/unit/'+_0x407fb8+'/new_changes';}let cs=class extends _0x5f337f{constructor(_0xd6e93d,_0x2de433,_0x3d5edd,_0x5015f2,_0x5b56a0){const _0x591725=_0x5e3172;super(),this['_http']=_0xd6e93d,this['_ws']=_0x2de433,this[_0x591725(0x270)]=_0x3d5edd,this[_0x591725(0x52d)]=_0x5015f2,this[_0x591725(0x41d)]=_0x5b56a0;}[_0x5e3172(0x111)](_0x2d68b5){const _0x2834a5=_0x5e3172,_0x428e93=this[_0x2834a5(0x4a0)]['createSocket'](_0x2d68b5);if(!_0x428e93)throw new Error(_0x2834a5(0x17a));const _0x27aaa4=new _0x1f64b1(),_0x561bbc=new _0x1b8780();_0x27aaa4['add'](_0x428e93[_0x2834a5(0x3b8)][_0x2834a5(0x134)](_0x350d41=>_0x561bbc[_0x2834a5(0x23b)](_0x350d41))),_0x27aaa4[_0x2834a5(0x15f)](_0x38e5fb(()=>_0x561bbc['complete']()));const _0x6deb48=new _0x1b8780();_0x27aaa4[_0x2834a5(0x15f)](_0x428e93[_0x2834a5(0x521)][_0x2834a5(0x134)](_0x5cc656=>_0x6deb48['next'](_0x5cc656))),_0x27aaa4[_0x2834a5(0x15f)](_0x38e5fb(()=>_0x6deb48['complete']()));const _0x63127e=new _0x1b8780();_0x27aaa4[_0x2834a5(0x15f)](_0x428e93[_0x2834a5(0x4a1)][_0x2834a5(0x134)](_0x43646d=>{const _0x5ebe18=_0x2834a5,_0x56cb89=kn(_0x43646d);_0x63127e[_0x5ebe18(0x23b)](_0x56cb89);})),_0x27aaa4['add'](_0x38e5fb(()=>_0x63127e['complete']()));let _0x843f0a;const _0x1c6832=()=>{const _0x51288a=_0x2834a5;_0x6deb48[_0x51288a(0x23b)](new Event(_0x51288a(0x4a2))),_0x561bbc[_0x51288a(0x23b)](new CloseEvent(_0x51288a(0x4a2))),_0x843f0a[_0x51288a(0x177)]();};return _0x843f0a={'memberID':'','close$':_0x561bbc[_0x2834a5(0x306)](),'error$':_0x6deb48[_0x2834a5(0x306)](),'open$':_0x428e93['open$'],'message$':_0x63127e[_0x2834a5(0x306)](),'send':_0x2ef2b4=>{const _0x57d91f=_0x2834a5;if(_0x2ef2b4[_0x57d91f(0x35f)]===W[_0x57d91f(0x23c)]){if(_0x2ef2b4[_0x57d91f(0x288)]['eventID']===_0x385814[_0x57d91f(0x27a)]){this[_0x57d91f(0x393)](_0x843f0a,_0x2ef2b4['data'])[_0x57d91f(0x33b)](_0x21502b=>{const _0x614ad9=_0x57d91f;this[_0x614ad9(0x52d)]['error'](_0x21502b),_0x1c6832();});return;}if(_0x2ef2b4[_0x57d91f(0x288)]['eventID']===_0x385814['FETCH_MISSING']){const _0x1d6701=_0x2ef2b4['data'];this[_0x57d91f(0x355)](_0x1d6701)['then'](_0x2430f6=>{const _0x5b373a=_0x57d91f;_0x63127e['next']({'cmd':W['RECV'],'code':Pe['OK'],'routeKey':_0x1d6701[_0x5b373a(0x288)][_0x5b373a(0x4e4)],'routeType':'','data':{'eventID':_0x385814[_0x5b373a(0x46d)],'data':{'changesets':_0x2430f6}}});})['catch'](_0x18da79=>{const _0x21d0bd=_0x57d91f;this[_0x21d0bd(0x52d)]['error'](_0x18da79),_0x1c6832();});return;}}_0x428e93['send'](Wn(_0x2ef2b4));},'close':()=>{const _0x58835e=_0x2834a5;_0x428e93[_0x58835e(0x177)](),_0x27aaa4[_0x58835e(0x48f)]();}},_0x843f0a;}async['_submitChangeset'](_0x2a2316,_0x3fc3b2){const _0x56846c=_0x5e3172;var _0x1bf7d4,_0x19d167;const {unitType:_0x5c86c7,unitID:_0x4d7cbc,changeset:_0x6e456c}=_0x3fc3b2[_0x56846c(0x288)],_0x4029e6={'unitID':_0x4d7cbc,'memberID':_0x2a2316['memberID'],'type':_0x5c86c7,'changeset':_0x103c14(_0x6e456c)},_0x4c542d=this[_0x56846c(0x270)][_0x56846c(0x186)](Ln),_0xa2ddbd=this[_0x56846c(0x270)]['getConfig'](Q),_0x425adf=Yn((_0x19d167=(_0x1bf7d4=_0xa2ddbd==null?void 0x0:_0xa2ddbd[_0x56846c(0x23f)])!=null?_0x1bf7d4:_0x4c542d)!=null?_0x19d167:$n,_0x5c86c7,_0x4d7cbc);try{await this['_http'][_0x56846c(0x2a5)](_0x425adf,{'body':_0x4029e6});}catch(_0x577686){throw this[_0x56846c(0x52d)][_0x56846c(0x295)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x577686;}}async[_0x5e3172(0x355)](_0x36b46){const _0x2658d7=_0x5e3172,{unitID:_0x983c91,from:_0x1515fe,to:_0x514340,unitType:_0x3710e0}=_0x36b46[_0x2658d7(0x288)];return(await this[_0x2658d7(0x41d)][_0x2658d7(0x41a)]({'metadata':void 0x0},{'unitID':_0x983c91,'type':_0x3710e0,'from':_0x1515fe,'to':_0x514340}))[_0x2658d7(0x3fd)];}};cs=Gn([ze(0x0,_0x1259a7(_0x21ff0e)),ze(0x1,_0x1259a7(_0x5b73a6)),ze(0x2,_0x3a37b7),ze(0x3,_0xadcc6),ze(0x4,_0x18e368)],cs);const Kn=_0x5e3172(0x474);function qn(_0xa7edf3){const _0x4fee80=_0x5e3172;return JSON[_0x4fee80(0x50f)](_0xa7edf3)[_0x4fee80(0x2c8)];}class Yi{constructor(){const _0x2628f0=_0x5e3172;g(this,_0x2628f0(0x537),new _0x1b8780()),g(this,_0x2628f0(0x210),this['_commentUpdate$'][_0x2628f0(0x306)]());}[_0x5e3172(0x263)](_0x4ea9e1){const _0x447e00=_0x5e3172;this['_commentUpdate$'][_0x447e00(0x23b)](_0x4ea9e1);}}var zn=Object['defineProperty'],Xn=Object[_0x5e3172(0x26f)],Jn=(_0x1245b5,_0x334b43,_0x50d036,_0x558731)=>{for(var _0x2841fe=_0x558731>0x1?void 0x0:_0x558731?Xn(_0x334b43,_0x50d036):_0x334b43,_0x4df9df=_0x1245b5['length']-0x1,_0x4ef320;_0x4df9df>=0x0;_0x4df9df--)(_0x4ef320=_0x1245b5[_0x4df9df])&&(_0x2841fe=(_0x558731?_0x4ef320(_0x334b43,_0x50d036,_0x2841fe):_0x4ef320(_0x2841fe))||_0x2841fe);return _0x558731&&_0x2841fe&&zn(_0x334b43,_0x50d036,_0x2841fe),_0x2841fe;},Ks=(_0x2fe8ad,_0x2f5ce6)=>(_0x88ffee,_0x5c2de2)=>_0x2f5ce6(_0x88ffee,_0x5c2de2,_0x2fe8ad);let Me=class extends _0x5f337f{constructor(_0x4b5a53,_0x1a06dc){const _0x477203=_0x5e3172;super(),g(this,'_roomMembers',new Map()),(this[_0x477203(0x153)]=_0x4b5a53,this['_userManagerService']=_0x1a06dc,this[_0x477203(0x2d9)](_0x38e5fb(_0x143e60(this[_0x477203(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f['UNIVER_SHEET'])['pipe'](_0x2945cf(_0x200919=>_0x200919[_0x477203(0x12f)]())),this[_0x477203(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f[_0x477203(0x11d)])['pipe'](_0x2945cf(_0x1530d4=>_0x1530d4['getUnitId']())),this[_0x477203(0x153)][_0x477203(0x241)](_0xfbb68f['UNIVER_SLIDE'])[_0x477203(0x4b6)](_0x2945cf(_0xf4bd21=>_0xf4bd21[_0x477203(0x12f)]())))[_0x477203(0x134)](_0x3d80ca=>this[_0x477203(0x441)](_0x3d80ca)))));}[_0x5e3172(0x287)](_0x4b7a81){const _0x30b697=_0x5e3172;this[_0x30b697(0x414)][_0x30b697(0x287)](_0x4b7a81);}[_0x5e3172(0x3d8)](){const _0x5b6677=_0x5e3172;return this[_0x5b6677(0x414)][_0x5b6677(0x3d8)]();}[_0x5e3172(0x508)](_0x5dc18e,_0x5a2bfb){const _0x213924=_0x5e3172;let _0x40cb28=this[_0x213924(0x222)]['get'](_0x5dc18e);_0x40cb28||(_0x40cb28=new Zn(),this['_roomMembers'][_0x213924(0x332)](_0x5dc18e,_0x40cb28)),_0x40cb28[_0x213924(0x508)](_0x5a2bfb);}[_0x5e3172(0x37f)](_0x531bc1,_0xa8192a){const _0x155d74=_0x5e3172,_0x477309=this[_0x155d74(0x222)][_0x155d74(0x307)](_0x531bc1);_0x477309&&_0x477309[_0x155d74(0x37f)](_0xa8192a);}[_0x5e3172(0x44a)](_0x34a8f7){const _0x2f30f2=_0x5e3172;return this[_0x2f30f2(0x222)]['get'](_0x34a8f7);}[_0x5e3172(0x116)](_0x2f595a,_0x29b080){const _0x5cf4fa=_0x5e3172,_0x292aa1=this[_0x5cf4fa(0x222)]['get'](_0x2f595a);if(_0x292aa1)return _0x292aa1['getMember'](_0x29b080);}[_0x5e3172(0x441)](_0x151e2b){const _0x2719d3=_0x5e3172,_0x91fae9=this[_0x2719d3(0x222)][_0x2719d3(0x307)](_0x151e2b);_0x91fae9&&(_0x91fae9[_0x2719d3(0x48f)](),this['_roomMembers']['delete'](_0x151e2b));}['dispose'](){const _0x278e5e=_0x5e3172;this[_0x278e5e(0x222)][_0x278e5e(0x356)](_0x2409a2=>_0x2409a2[_0x278e5e(0x48f)]()),this[_0x278e5e(0x222)]['clear']();}};Me=Jn([Ks(0x0,_0x381e7e),Ks(0x1,_0x1259a7(_0x43b087))],Me);class Zn extends _0x5f337f{constructor(){super(...arguments),g(this,'_members',new Map());}[_0x5e3172(0x48f)](){const _0x4b7ab7=_0x5e3172;this[_0x4b7ab7(0x15d)][_0x4b7ab7(0x3db)]();}[_0x5e3172(0x508)](_0x2cf65e){this['_members']['set'](_0x2cf65e['memberID'],_0x2cf65e);}[_0x5e3172(0x37f)](_0x2c8d28){const _0x5c9597=_0x5e3172;this[_0x5c9597(0x15d)][_0x5c9597(0x480)](_0x2c8d28);}[_0x5e3172(0x116)](_0x49f3e8){const _0x5afc54=_0x5e3172;return this[_0x5afc54(0x15d)][_0x5afc54(0x307)](_0x49f3e8);}[_0x5e3172(0x19b)](){const _0x1ce631=_0x5e3172;return Array[_0x1ce631(0x49e)](this[_0x1ce631(0x15d)][_0x1ce631(0x21a)]());}}var Qn=Object[_0x5e3172(0x243)],eo=Object['getOwnPropertyDescriptor'],to=(_0x39a800,_0x9d7f3f,_0x4c4611,_0x47bd6c)=>{for(var _0x47c961=_0x47bd6c>0x1?void 0x0:_0x47bd6c?eo(_0x9d7f3f,_0x4c4611):_0x9d7f3f,_0x16ffd1=_0x39a800['length']-0x1,_0x2b2eb1;_0x16ffd1>=0x0;_0x16ffd1--)(_0x2b2eb1=_0x39a800[_0x16ffd1])&&(_0x47c961=(_0x47bd6c?_0x2b2eb1(_0x9d7f3f,_0x4c4611,_0x47c961):_0x2b2eb1(_0x47c961))||_0x47c961);return _0x47bd6c&&_0x47c961&&Qn(_0x9d7f3f,_0x4c4611,_0x47c961),_0x47c961;},Ee=(_0x56fe93,_0x205064)=>(_0x18f8b6,_0x4d0ebe)=>_0x205064(_0x18f8b6,_0x4d0ebe,_0x56fe93),fe=(_0x1e94cc=>(_0x1e94cc[_0x1e94cc[_0x5e3172(0x352)]=0x0]=_0x5e3172(0x352),_0x1e94cc[_0x1e94cc[_0x5e3172(0x51c)]=0x1]=_0x5e3172(0x51c),_0x1e94cc[_0x1e94cc['OFFLINE']=0x2]=_0x5e3172(0x4d7),_0x1e94cc[_0x1e94cc['ONLINE']=0x3]=_0x5e3172(0x2e2),_0x1e94cc))(fe||{});const qs={[Pe[_0x5e3172(0x1cd)]]:_0x5e3172(0x3e6),[Pe[_0x5e3172(0x164)]]:_0x5e3172(0x14e),[Pe[_0x5e3172(0x12e)]]:_0x5e3172(0x25c),[Pe[_0x5e3172(0x267)]]:_0x5e3172(0x1eb),[Pe[_0x5e3172(0x1af)]]:'session.room-cnt-exceeds'};let hs=class extends _0x5ce84d{constructor(_0x3d3998,_0x3eabf4,_0x549ef3,_0x51e2bd,_0x1cfb8a,_0x18af0e,_0x2466a2,_0xd3f03d,_0x58c8c5,_0x2e20ed){const _0x23c703=_0x5e3172;super(),g(this,_0x23c703(0x50b),new _0xd0d94b(0x0)),g(this,_0x23c703(0x18c),this[_0x23c703(0x50b)]['asObservable']()),g(this,_0x23c703(0x15a),new _0x1b8780()),g(this,_0x23c703(0x2c6),this['_event$']['asObservable']()),g(this,_0x23c703(0x437)),g(this,_0x23c703(0x174)),g(this,_0x23c703(0x2ac)),g(this,_0x23c703(0x367),!0x1),g(this,_0x23c703(0x238),null),(this[_0x23c703(0x507)]=_0x3d3998,this['_logService']=_0x549ef3,this['_beforeCloseService']=_0x51e2bd,this[_0x23c703(0x1ee)]=_0x1cfb8a,this[_0x23c703(0x270)]=_0x18af0e,this[_0x23c703(0x48a)]=_0x2466a2,this['_memberService']=_0xd3f03d,this[_0x23c703(0x119)]=_0x58c8c5,this[_0x23c703(0x234)]=_0x2e20ed,this[_0x23c703(0x367)]=!!this[_0x23c703(0x234)],_0x3eabf4[_0x23c703(0x4b6)](_0x34041a(this[_0x23c703(0x511)]))['subscribe'](_0x493201=>{const _0x5ad192=_0x23c703;var _0x52275b;typeof _0x493201>'u'||(this[_0x5ad192(0x437)]=_0x493201,_0x493201?(this[_0x5ad192(0x139)](_0x493201),this[_0x5ad192(0x174)]=_0x493201[_0x5ad192(0x4a1)]['subscribe'](_0xe23949=>{const _0x3f3d5b=_0x5ad192;_0xe23949['routeKey']===this[_0x3f3d5b(0x507)]&&this[_0x3f3d5b(0x246)](_0xe23949);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5ad192(0x50b)][_0x5ad192(0x23b)](0x2),(_0x52275b=this[_0x5ad192(0x174)])==null||_0x52275b[_0x5ad192(0x527)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x23c703(0x2b6)][_0x23c703(0x196)](()=>{const _0x4961a0=_0x23c703;var _0x379be3;(_0x379be3=this['_socket'])==null||_0x379be3[_0x4961a0(0x3e0)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x5e3172(0x189)](){const _0x5d4309=_0x5e3172;return this[_0x5d4309(0x50b)][_0x5d4309(0x15b)]();}[_0x5e3172(0x399)](){const _0x3290cf=_0x5e3172;var _0x585a8a,_0xf8a0a8;return(_0xf8a0a8=(_0x585a8a=this[_0x3290cf(0x437)])==null?void 0x0:_0x585a8a[_0x3290cf(0x3f1)])!=null?_0xf8a0a8:null;}[_0x5e3172(0x48f)](){const _0x5e1fab=_0x5e3172;super[_0x5e1fab(0x48f)](),this[_0x5e1fab(0x511)][_0x5e1fab(0x23b)](),this[_0x5e1fab(0x511)][_0x5e1fab(0x41f)]();}[_0x5e3172(0x177)](){const _0x42faca=_0x5e3172;var _0x4fe6a6,_0x279018;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4fe6a6=this['_socket'])==null||_0x4fe6a6[_0x42faca(0x3e0)]({'cmd':W[_0x42faca(0x1df)],'data':{'roomID':this[_0x42faca(0x507)]}}),(_0x279018=this[_0x42faca(0x437)])==null||_0x279018[_0x42faca(0x177)](),this[_0x42faca(0x15a)][_0x42faca(0x41f)](),this[_0x42faca(0x50b)][_0x42faca(0x41f)](),this[_0x42faca(0x48f)]();}[_0x5e3172(0x246)](_0x33467d){const _0x44029b=_0x5e3172;_0x33467d[_0x44029b(0x35f)]===W[_0x44029b(0x1ac)]?this['_onJoinRoomEvent'](_0x33467d):_0x33467d[_0x44029b(0x35f)]===W[_0x44029b(0x31b)]&&this[_0x44029b(0x275)](_0x33467d);}['_joinRoom'](_0x596e41){const _0x49e5b7=_0x5e3172;this[_0x49e5b7(0x50b)]['next'](0x1),_0x596e41[_0x49e5b7(0x3e0)]({'cmd':W[_0x49e5b7(0x1ac)],'routeKey':this[_0x49e5b7(0x507)],'routeType':'','data':{'rooms':[{'roomID':this[_0x49e5b7(0x507)]}]}});}['_onJoinRoomEvent'](_0x3146e0){const _0x3c76bc=_0x5e3172;var _0x31eb00;if(_0x3146e0['code']in qs){this['_messageService'][_0x3c76bc(0x4b7)]({'type':_0x59169d[_0x3c76bc(0x18b)],'content':this[_0x3c76bc(0x48a)]['t'](qs[_0x3146e0[_0x3c76bc(0x1d0)]])}),this[_0x3c76bc(0x50b)][_0x3c76bc(0x23b)](0x2);return;}this[_0x3c76bc(0x50b)]['next'](0x3);const _0x31b9d1=(_0x31eb00=_0x3146e0[_0x3c76bc(0x288)][_0x3c76bc(0x4d3)][this[_0x3c76bc(0x507)]])==null?void 0x0:_0x31eb00[_0x3c76bc(0x4e1)];_0x31b9d1&&_0x31b9d1['forEach'](_0x17f7c1=>this[_0x3c76bc(0x16b)][_0x3c76bc(0x508)](this[_0x3c76bc(0x507)],_0x17f7c1));}['_onRecvEvent'](_0xf7219){const _0x18ea7c=_0x5e3172;try{const _0x228d34=_0xf7219[_0x18ea7c(0x288)];switch(_0x228d34[_0x18ea7c(0x451)]){case _0x385814[_0x18ea7c(0x3c2)]:this[_0x18ea7c(0x28d)](_0x228d34),this['_event$'][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x10f)]:this['_onUserLeave'](_0x228d34),this['_event$']['next'](_0x228d34);break;case _0x385814[_0x18ea7c(0x2e5)]:case _0x385814['CHANGESET_SHOULD_RETRY']:this[_0x18ea7c(0x178)](),this[_0x18ea7c(0x2ce)](),this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x411)]:this[_0x18ea7c(0x52d)][_0x18ea7c(0x295)](_0x18ea7c(0x133)+JSON[_0x18ea7c(0x50f)](_0x228d34)),this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x2a9)]:this[_0x18ea7c(0x119)][_0x18ea7c(0x263)](_0x228d34[_0x18ea7c(0x288)]),this[_0x18ea7c(0x15a)]['next'](_0x228d34);break;default:this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);}}catch(_0x1d67d4){this[_0x18ea7c(0x52d)][_0x18ea7c(0x295)](_0x1d67d4,_0xf7219);}}[_0x5e3172(0x28d)](_0x46f969){const _0x40d09e=_0x5e3172;this[_0x40d09e(0x16b)][_0x40d09e(0x508)](this[_0x40d09e(0x507)],_0x46f969[_0x40d09e(0x288)]);}[_0x5e3172(0x45a)](_0x4490ad){const _0x423670=_0x5e3172;this[_0x423670(0x16b)][_0x423670(0x37f)](this['_unitID'],_0x4490ad[_0x423670(0x288)]['memberID']);}async[_0x5e3172(0x3e0)](_0xa2ab26,_0x1a9bf4){const _0xf04ad=_0x5e3172;if(this[_0xf04ad(0x189)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xa2ab26[_0xf04ad(0x451)]===_0x385814['SUBMIT_CHANGESET']&&(this[_0xf04ad(0x3d5)](),this[_0xf04ad(0x4fa)](_0xa2ab26)),this['_socket'][_0xf04ad(0x3e0)]({'cmd':W[_0xf04ad(0x23c)],'routeKey':_0x1a9bf4,'routeType':'','data':_0xa2ab26});}catch(_0x5d0a00){this[_0xf04ad(0x52d)][_0xf04ad(0x295)](_0x5d0a00);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4cab0d=_0x5e3172;var _0x4b26e6;this[_0x4cab0d(0x2ac)]=window[_0x4cab0d(0x273)](()=>{const _0x49dc70=_0x4cab0d;this[_0x49dc70(0x2ac)]=null,this[_0x49dc70(0x1ee)][_0x49dc70(0x4b7)]({'type':_0x59169d[_0x49dc70(0x135)],'content':this[_0x49dc70(0x48a)]['t']('session.collaboration-timeout')});},(_0x4b26e6=this[_0x4cab0d(0x270)][_0x4cab0d(0x186)](ki))!=null?_0x4b26e6:Wi);}['_clearCollaborationTimeoutTimer'](){const _0x5b5439=_0x5e3172;this[_0x5b5439(0x2ac)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5b5439(0x2ac)]=null);}[_0x5e3172(0x4fa)](_0x4b3164){const _0x2b8a42=_0x5e3172;if(!this[_0x2b8a42(0x367)])return;const {data:_0x2b086c}=_0x4b3164,{unitID:_0x1facc7,changeset:_0x1a65eb}=_0x2b086c,{mutations:_0xf68e39,type:_0x39494f}=_0x1a65eb;this[_0x2b8a42(0x238)]={'unitId':_0x1facc7,'type':_0x39494f,'startTime':performance[_0x2b8a42(0x256)](),'stopTime':0x0,'duration':0x0,'size':qn(_0xf68e39)};}[_0x5e3172(0x178)](){const _0x2ba02b=_0x5e3172;if(this['_shouldReportTelemetry']){if(!this[_0x2ba02b(0x238)]){this[_0x2ba02b(0x52d)][_0x2ba02b(0x295)](_0x2ba02b(0x487),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2ba02b(0x238)][_0x2ba02b(0x4a5)]=performance[_0x2ba02b(0x256)](),this['_telemetryInfo'][_0x2ba02b(0x290)]=this[_0x2ba02b(0x238)]['stopTime']-this[_0x2ba02b(0x238)][_0x2ba02b(0x194)],this[_0x2ba02b(0x234)][_0x2ba02b(0x1a2)](Kn,this[_0x2ba02b(0x238)]),this['_telemetryInfo']=null;}}[_0x5e3172(0x4fc)](){const _0x2ae619=_0x5e3172;this[_0x2ae619(0x238)]=null;}};hs=to([Ee(0x2,_0xadcc6),Ee(0x3,_0x38bd7e),Ee(0x4,_0x28a2c3),Ee(0x5,_0x3a37b7),Ee(0x6,_0x1259a7(_0x56a2bf)),Ee(0x7,_0x1259a7(Me)),Ee(0x8,_0x1259a7(Yi)),Ee(0x9,_0x2f5f30(_0x42c595))],hs);var so=Object['defineProperty'],io=Object[_0x5e3172(0x26f)],ro=(_0x5e8d8b,_0x383c17,_0x54df92,_0x3689a6)=>{const _0x4e0732=_0x5e3172;for(var _0x518b13=_0x3689a6>0x1?void 0x0:_0x3689a6?io(_0x383c17,_0x54df92):_0x383c17,_0xc3ebec=_0x5e8d8b[_0x4e0732(0x2c8)]-0x1,_0x2116bc;_0xc3ebec>=0x0;_0xc3ebec--)(_0x2116bc=_0x5e8d8b[_0xc3ebec])&&(_0x518b13=(_0x3689a6?_0x2116bc(_0x383c17,_0x54df92,_0x518b13):_0x2116bc(_0x518b13))||_0x518b13);return _0x3689a6&&_0x518b13&&so(_0x383c17,_0x54df92,_0x518b13),_0x518b13;},ye=(_0x58c95a,_0x553a23)=>(_0x42e168,_0x52b47f)=>_0x553a23(_0x42e168,_0x52b47f,_0x58c95a);let xe=class extends _0x5f337f{constructor(_0xfd5a90,_0x1b76f9,_0x2a4dda,_0x54eed2,_0x1a14bc,_0x7febe9,_0x402a35){const _0x27f3d5=_0x5e3172;super(),g(this,_0x27f3d5(0x1d7),new _0xd0d94b(void 0x0)),g(this,'socket$',this[_0x27f3d5(0x1d7)][_0x27f3d5(0x306)]()),g(this,_0x27f3d5(0x187),null),g(this,_0x27f3d5(0x17f),new Map()),g(this,_0x27f3d5(0x1d6),new _0xd0d94b(fe[_0x27f3d5(0x352)])),g(this,_0x27f3d5(0x52f),this['_status$'][_0x27f3d5(0x306)]()),g(this,_0x27f3d5(0x1d4),!0x1),g(this,_0x27f3d5(0x3c3)),g(this,_0x27f3d5(0x2f7),0x0),g(this,_0x27f3d5(0x12d)),g(this,_0x27f3d5(0x311)),(this['_injector']=_0xfd5a90,this[_0x27f3d5(0x48a)]=_0x1b76f9,this[_0x27f3d5(0x1ee)]=_0x2a4dda,this[_0x27f3d5(0x52d)]=_0x54eed2,this[_0x27f3d5(0x270)]=_0x1a14bc,this[_0x27f3d5(0x2b3)]=_0x7febe9,this['_httpService']=_0x402a35,this[_0x27f3d5(0x3cf)]());}get[_0x5e3172(0x437)](){const _0x1ef607=_0x5e3172;return this[_0x1ef607(0x1d7)]['getValue']();}[_0x5e3172(0x3cf)](){const _0x1df571=_0x5e3172;this[_0x1df571(0x145)](),this[_0x1df571(0x2e8)]();}[_0x5e3172(0x48f)](){const _0x366a1c=_0x5e3172;super['dispose'](),this[_0x366a1c(0x17f)]['forEach'](_0x57ecf5=>_0x57ecf5['dispose']()),this[_0x366a1c(0x17f)][_0x366a1c(0x3db)](),this['_status$'][_0x366a1c(0x41f)]();}async[_0x5e3172(0x17e)](_0x4de43d){const _0x23e2f2=_0x5e3172;if(this['_sessions'][_0x23e2f2(0x3cb)](_0x4de43d))return this[_0x23e2f2(0x17f)][_0x23e2f2(0x307)](_0x4de43d);this['_tryEnsureSocket']();const _0x273206=this[_0x23e2f2(0x3b4)][_0x23e2f2(0x13c)](hs,_0x4de43d,this[_0x23e2f2(0x1d7)][_0x23e2f2(0x306)]());return this[_0x23e2f2(0x17f)][_0x23e2f2(0x332)](_0x4de43d,_0x273206),_0x273206;}['closeSession'](_0xa93c75){const _0x4baebc=_0x5e3172;var _0x4f5643;const _0x4a0606=this['_sessions'][_0x4baebc(0x307)](_0xa93c75);_0x4a0606&&(this['_sessions'][_0x4baebc(0x480)](_0xa93c75),_0x4a0606['close']()),this[_0x4baebc(0x17f)][_0x4baebc(0x3aa)]||(_0x4f5643=this[_0x4baebc(0x437)])==null||_0x4f5643[_0x4baebc(0x177)]();}['reconnect'](){const _0x56693b=_0x5e3172;this['_retryCount']=0x0,this[_0x56693b(0x3c3)]!=null&&(clearTimeout(this[_0x56693b(0x3c3)]),this['_retryConnectingTimer']=null),this[_0x56693b(0x322)]();}async[_0x5e3172(0x3d6)](){const _0x37ffad=_0x5e3172;var _0x478709,_0x3e8dae,_0x4ccfa4;const _0x2c9c16=this[_0x37ffad(0x270)]['getConfig'](Q),_0x445e35=(_0x478709=_0x2c9c16==null?void 0x0:_0x2c9c16['wsSessionTicketUrl'])!=null?_0x478709:wn;return(_0x4ccfa4=(_0x3e8dae=(await this['_httpService'][_0x37ffad(0x307)](_0x445e35,{'headers':{'Content-Type':_0x37ffad(0x17b)}}))[_0x37ffad(0x2da)])==null?void 0x0:_0x3e8dae['ticket'])!=null?_0x4ccfa4:'';}[_0x5e3172(0x3da)](_0x163086){const _0x572bff=_0x5e3172;var _0x5d185b,_0x2731b0;const _0x504784=this[_0x572bff(0x270)][_0x572bff(0x186)](On),_0x33b5ef=this[_0x572bff(0x270)][_0x572bff(0x186)](Q),_0x2df0a4=(_0x2731b0=(_0x5d185b=_0x33b5ef==null?void 0x0:_0x33b5ef[_0x572bff(0x2dd)])!=null?_0x5d185b:_0x504784)!=null?_0x2731b0:yn,_0xea6b91=new URL(_0x2df0a4,window[_0x572bff(0x4e2)]['origin']);return _0xea6b91['searchParams'][_0x572bff(0x332)]('sessionTicket',_0x163086),_0xea6b91[_0x572bff(0x129)]();}async[_0x5e3172(0x348)](){const _0x18b459=_0x5e3172,_0x1efbe=await this[_0x18b459(0x3d6)](),_0x510ce7=this['_createSocketURL'](_0x1efbe),_0x25ad56=this[_0x18b459(0x2b3)][_0x18b459(0x111)](_0x510ce7);return this['_candidateSocket']=_0x25ad56,_0x25ad56;}async[_0x5e3172(0x1b7)](){const _0xb75577=_0x5e3172;var _0x501ae9,_0x2528bf;try{const _0x494b0f=(_0x2528bf=(_0x501ae9=this['_socket'])!=null?_0x501ae9:this[_0xb75577(0x187)])!=null?_0x2528bf:await this[_0xb75577(0x348)]();if(_0x494b0f){const _0x58ed8d=_0x494b0f['send'];_0x494b0f[_0xb75577(0x3e0)]=_0x1a5431=>(this['_rescheduleHeartbeat'](),_0x58ed8d[_0xb75577(0x212)](_0x494b0f,[_0x1a5431])),_0x494b0f[_0xb75577(0x4a1)]['subscribe'](_0x54be46=>this[_0xb75577(0x156)](_0x494b0f,_0x54be46)),_0x494b0f[_0xb75577(0x521)][_0xb75577(0x4b6)](_0x287b41(0x1))[_0xb75577(0x134)](_0x1103e7=>this['_logService'][_0xb75577(0x295)](_0xb75577(0x476),_0x1103e7)),_0x494b0f['open$']['pipe'](_0x287b41(0x1))[_0xb75577(0x134)](()=>{this['_onConnectionOpen'](_0x494b0f);}),_0x494b0f[_0xb75577(0x3b8)]['pipe'](_0x287b41(0x1))['subscribe'](_0x32f5a0=>{const _0x1b9a88=_0xb75577;this['_logService'][_0x1b9a88(0x16d)](_0x1b9a88(0x1c4),_0x1b9a88(0x4ce),_0x32f5a0),this['_onConnectionFailed']();});}}catch(_0x5db971){this['_logService']['error'](_0x5db971),this[_0xb75577(0x1b5)]();}}[_0x5e3172(0x2ba)](_0x359406){const _0x33f2cb=_0x5e3172;this[_0x33f2cb(0x52d)]['debug'](_0x33f2cb(0x1c4),_0x33f2cb(0x18d)),_0x359406[_0x33f2cb(0x3e0)]({'cmd':W[_0x33f2cb(0x33e)]}),this[_0x33f2cb(0x427)]();}[_0x5e3172(0x145)](){const _0x550e2b=_0x5e3172;window[_0x550e2b(0x522)](_0x550e2b(0x11b),()=>this[_0x550e2b(0x31a)]());}[_0x5e3172(0x31a)](){const _0x1f1bd5=_0x5e3172;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x1f1bd5(0x23b)](fe['OFFLINE']),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x1f1bd5(0x4f0)]();}['_onConnectionFailed'](){const _0x55486e=_0x5e3172;var _0xdb8e37;this[_0x55486e(0x31a)](),this[_0x55486e(0x2f7)]<((_0xdb8e37=this[_0x55486e(0x270)][_0x55486e(0x186)](Un))!=null?_0xdb8e37:An)?(this[_0x55486e(0x1ee)][_0x55486e(0x4b7)]({'key':_0x55486e(0x198),'type':_0x59169d[_0x55486e(0x18b)],'content':this[_0x55486e(0x48a)]['t'](_0x55486e(0x4ca))}),this[_0x55486e(0x322)]()):this['_messageService']['show']({'key':'collaboration-session-retry','type':_0x59169d['Error'],'content':this[_0x55486e(0x48a)]['t'](_0x55486e(0x3b2))});}['_listenToOnlineEvent'](){const _0x463cde=_0x5e3172,_0x3079af=()=>{const _0x9472fa=_0x1eb2;this['_socket']||this[_0x9472fa(0x48b)]();},_0x41b05f=()=>{const _0x1c81a4=_0x1eb2;this[_0x1c81a4(0x437)]||document['visibilityState']===_0x1c81a4(0x185)||this[_0x1c81a4(0x48b)]();};window[_0x463cde(0x522)]('online',_0x3079af),document[_0x463cde(0x522)]('visibilitychange',_0x41b05f);}[_0x5e3172(0x322)](){const _0x348249=_0x5e3172;var _0x57ef63;const _0x32c7cf=this[_0x348249(0x2f7)],_0x622768=this[_0x348249(0x270)][_0x348249(0x186)](Q),_0xeb33fc=_0x32c7cf===0x0?0x0:((_0x57ef63=_0x622768==null?void 0x0:_0x622768[_0x348249(0x319)])!=null?_0x57ef63:Nn)*0x2**_0x32c7cf;this[_0x348249(0x3c3)]=window[_0x348249(0x273)](()=>{const _0x41c67a=_0x348249;clearTimeout(this[_0x41c67a(0x3c3)]),this[_0x41c67a(0x3c3)]=null,this[_0x41c67a(0x1b7)]();},_0xeb33fc),this[_0x348249(0x2f7)]+=0x1;}['_onMessage'](_0x3fa92f,_0x1f2e51){const _0x4157c6=_0x5e3172,{cmd:_0x5efba3}=_0x1f2e51;_0x5efba3===W[_0x4157c6(0x33e)]&&!this[_0x4157c6(0x1d4)]&&(_0x3fa92f[_0x4157c6(0x3f1)]=_0x1f2e51[_0x4157c6(0x288)]['memberID'],this[_0x4157c6(0x1d7)][_0x4157c6(0x23b)](_0x3fa92f),this['_status$'][_0x4157c6(0x23b)](fe[_0x4157c6(0x2e2)]),this[_0x4157c6(0x1d4)]=!0x0,this[_0x4157c6(0x187)]=null),_0x5efba3===W[_0x4157c6(0x420)]&&this['_clearTimeoutTimer'](),this[_0x4157c6(0x427)]();}[_0x5e3172(0x427)](){const _0x41d33a=_0x5e3172;var _0x450232;this[_0x41d33a(0x4f0)](),this[_0x41d33a(0x12d)]=window[_0x41d33a(0x273)](()=>this['_sendHeartbeat'](),(_0x450232=this[_0x41d33a(0x270)][_0x41d33a(0x186)](Dn))!=null?_0x450232:Pn);}[_0x5e3172(0x445)](){const _0x716955=_0x5e3172;this[_0x716955(0x437)][_0x716955(0x3e0)]({'cmd':W[_0x716955(0x420)]}),this[_0x716955(0x2d3)]();}[_0x5e3172(0x2d3)](){const _0x27de45=_0x5e3172;var _0x106058;this[_0x27de45(0x311)]=window['setTimeout'](()=>this[_0x27de45(0x1b5)](),(_0x106058=this[_0x27de45(0x270)][_0x27de45(0x186)](ki))!=null?_0x106058:Wi);}[_0x5e3172(0x4f0)](){const _0x2d7b59=_0x5e3172;this[_0x2d7b59(0x12d)]!=null&&(clearTimeout(this[_0x2d7b59(0x12d)]),this['_sendHeartbeatTimer']=null);}[_0x5e3172(0x2f1)](){const _0x52ca72=_0x5e3172;this[_0x52ca72(0x311)]!=null&&(clearTimeout(this[_0x52ca72(0x311)]),this[_0x52ca72(0x311)]=null);}};xe=ro([ye(0x0,_0x1259a7(_0xa6ca3c)),ye(0x1,_0x1259a7(_0x56a2bf)),ye(0x2,_0x28a2c3),ye(0x3,_0xadcc6),ye(0x4,_0x3a37b7),ye(0x5,Gi),ye(0x6,_0x1259a7(_0x21ff0e))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x5e3172(0x129)](0x10)[_0x5e3172(0x469)](0x1));function no(_0x8d3d4b,_0x504228=0x0){const _0x337337=_0x5e3172;return(Y[_0x8d3d4b[_0x504228+0x0]]+Y[_0x8d3d4b[_0x504228+0x1]]+Y[_0x8d3d4b[_0x504228+0x2]]+Y[_0x8d3d4b[_0x504228+0x3]]+'-'+Y[_0x8d3d4b[_0x504228+0x4]]+Y[_0x8d3d4b[_0x504228+0x5]]+'-'+Y[_0x8d3d4b[_0x504228+0x6]]+Y[_0x8d3d4b[_0x504228+0x7]]+'-'+Y[_0x8d3d4b[_0x504228+0x8]]+Y[_0x8d3d4b[_0x504228+0x9]]+'-'+Y[_0x8d3d4b[_0x504228+0xa]]+Y[_0x8d3d4b[_0x504228+0xb]]+Y[_0x8d3d4b[_0x504228+0xc]]+Y[_0x8d3d4b[_0x504228+0xd]]+Y[_0x8d3d4b[_0x504228+0xe]]+Y[_0x8d3d4b[_0x504228+0xf]])[_0x337337(0x1cc)]();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x58bdca=_0x5e3172;if(!Gt){if(typeof crypto>'u'||!crypto[_0x58bdca(0x2db)])throw new Error(_0x58bdca(0x27f));Gt=crypto[_0x58bdca(0x2db)][_0x58bdca(0x40e)](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x5e3172(0x325)]&&crypto[_0x5e3172(0x325)][_0x5e3172(0x40e)](crypto),zs={'randomUUID':co};function ho(_0x461f80,_0x1c2437,_0x4d9dd8){const _0x9b796f=_0x5e3172;if(zs['randomUUID']&&!_0x1c2437&&!_0x461f80)return zs['randomUUID']();_0x461f80=_0x461f80||{};const _0x2d8266=_0x461f80[_0x9b796f(0x34c)]||(_0x461f80['rng']||ao)();return _0x2d8266[0x6]=_0x2d8266[0x6]&0xf|0x40,_0x2d8266[0x8]=_0x2d8266[0x8]&0x3f|0x80,no(_0x2d8266);}var lo=Object[_0x5e3172(0x243)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x21b7da,_0x16fb36,_0x278aef,_0x15f61e)=>{for(var _0x3680c3=_0x15f61e>0x1?void 0x0:_0x15f61e?_o(_0x16fb36,_0x278aef):_0x16fb36,_0x153ad3=_0x21b7da['length']-0x1,_0x2f183c;_0x153ad3>=0x0;_0x153ad3--)(_0x2f183c=_0x21b7da[_0x153ad3])&&(_0x3680c3=(_0x15f61e?_0x2f183c(_0x16fb36,_0x278aef,_0x3680c3):_0x2f183c(_0x3680c3))||_0x3680c3);return _0x15f61e&&_0x3680c3&&lo(_0x16fb36,_0x278aef,_0x3680c3),_0x3680c3;},Yt=(_0x5c30cd,_0x5cd188)=>(_0xe1f822,_0x527f68)=>_0x5cd188(_0xe1f822,_0x527f68,_0x5c30cd);let yt=class{constructor(_0x27993f,_0x1e821a,_0x209376){const _0x252c47=_0x5e3172;this[_0x252c47(0x3b4)]=_0x27993f,this[_0x252c47(0x4ff)]=_0x1e821a,this[_0x252c47(0x4ee)]=_0x209376;}[_0x5e3172(0x1d8)](_0x31d3e7){const _0x258148=_0x5e3172;this[_0x258148(0x2f0)](_0x31d3e7),this[_0x258148(0x440)](_0x31d3e7);}[_0x5e3172(0x3a2)](_0x2a812c){const _0x1740c6=_0x5e3172,{unitID:_0x411b1d}=_0x2a812c,_0x429a4c=this[_0x1740c6(0x4ee)][_0x1740c6(0x340)](_0x411b1d)[_0x1740c6(0x3c4)](_0x3ded9c),{redoCache:_0x1b22d2}=_0x429a4c[_0x1740c6(0x1e4)]();if(_0x1b22d2[_0x1740c6(0x2c8)]===0x0)return _0x2a812c;let _0xbb3a18=_0x279a54['deepClone'](_0x2a812c['mutations'][0x0]);for(let _0x3a4e09=0x0;_0x3a4e09<_0x1b22d2[_0x1740c6(0x2c8)];_0x3a4e09++){const _0x402251={'id':'doc.mutation.rich-text-editing','params':{..._0x1b22d2[_0x3a4e09]}},_0x1f7825=this['_transformService'][_0x1740c6(0x357)](_0xbb3a18,_0x402251,!0x1);if(_0x29729a(_0x1f7825))throw _0x1f7825[_0x1740c6(0x295)];_0xbb3a18=_0x1f7825[_0x1740c6(0x4df)];}return{..._0x279a54['deepClone'](_0x2a812c),'mutations':[_0xbb3a18]};}['_transformUndoRedoStack'](_0x33d8af){const _0x290f0f=_0x5e3172,{unitID:_0xca9435}=_0x33d8af,_0x4eea35=this[_0x290f0f(0x4ee)][_0x290f0f(0x340)](_0xca9435)[_0x290f0f(0x3c4)](_0x3ded9c),{undoCache:_0x5db5b8,redoCache:_0x430d83}=_0x4eea35[_0x290f0f(0x1e4)]();if(_0x5db5b8['length']===0x0||_0x430d83[_0x290f0f(0x2c8)]===0x0)return;const _0x55d77a=[],_0x58c8a6=[];let _0x5a642a=_0x279a54[_0x290f0f(0x3d3)](_0x33d8af[_0x290f0f(0x1b2)][0x0]),_0x325ce3=_0x279a54[_0x290f0f(0x3d3)](_0x33d8af[_0x290f0f(0x1b2)][0x0]);for(let _0x2eebbd=_0x5db5b8[_0x290f0f(0x2c8)]-0x1;_0x2eebbd>=0x0;_0x2eebbd--){const _0xbf63dd={'id':_0x290f0f(0x42b),'params':{..._0x5db5b8[_0x2eebbd]}},_0x5a0e9a={'id':_0x290f0f(0x42b),'params':{..._0x430d83[_0x2eebbd]}},_0x2c7971=this[_0x290f0f(0x4ff)][_0x290f0f(0x357)](_0x5a642a,_0xbf63dd,!0x1),_0xd0fc6e=this[_0x290f0f(0x4ff)]['transformMutation'](_0x325ce3,_0x5a0e9a,!0x1);if(_0x29729a(_0x2c7971))throw _0x2c7971[_0x290f0f(0x295)];if(_0x29729a(_0xd0fc6e))throw _0xd0fc6e[_0x290f0f(0x295)];_0x55d77a[_0x290f0f(0x4d0)](_0x2c7971['m2Prime'][_0x290f0f(0x436)]),_0x58c8a6[_0x290f0f(0x4d0)](_0xd0fc6e[_0x290f0f(0x20f)][_0x290f0f(0x436)]),_0x5a642a=_0x2c7971['m1Prime'],_0x325ce3=_0xd0fc6e[_0x290f0f(0x4df)];}_0x4eea35[_0x290f0f(0x377)]({'undoCache':_0x55d77a,'redoCache':_0x58c8a6});}[_0x5e3172(0x440)](_0x4dcd26){const _0x3bcc07=_0x5e3172,{unitID:_0x56d4d1}=_0x4dcd26,_0x5e46c9=this[_0x3bcc07(0x4ee)][_0x3bcc07(0x340)](_0x56d4d1)[_0x3bcc07(0x3c4)](_0x3ded9c),_0x3a916a=_0x5e46c9[_0x3bcc07(0x294)]();if(_0x3a916a==null)return;const _0x51ed5d=[{'id':_0x3bcc07(0x42b),'params':{'unitId':_0x4dcd26[_0x3bcc07(0x4e4)],'actions':null,'textRanges':[_0x3a916a]}}],_0x439e56=this[_0x3bcc07(0x4ff)][_0x3bcc07(0x4a6)](_0x4dcd26,_0x51ed5d);if(!_0x17cfb3(_0x439e56))throw _0x439e56[_0x3bcc07(0x295)];const _0x2a359d=_0x439e56[_0x3bcc07(0x20f)][0x0][_0x3bcc07(0x436)][_0x3bcc07(0x495)];Array['isArray'](_0x2a359d)&&_0x2a359d[_0x3bcc07(0x2c8)]&&_0x5e46c9[_0x3bcc07(0x239)](_0x2a359d[0x0]);}};yt=uo([Yt(0x0,_0x1259a7(_0xa6ca3c)),Yt(0x1,_0x2a04be),Yt(0x2,_0x2d7ddc)],yt);var fo=Object[_0x5e3172(0x243)],vo=Object[_0x5e3172(0x26f)],po=(_0xd73d1e,_0x7cb30f,_0x566de3,_0x40a183)=>{const _0x2e5161=_0x5e3172;for(var _0x37003a=_0x40a183>0x1?void 0x0:_0x40a183?vo(_0x7cb30f,_0x566de3):_0x7cb30f,_0x5ce76a=_0xd73d1e[_0x2e5161(0x2c8)]-0x1,_0x2c218a;_0x5ce76a>=0x0;_0x5ce76a--)(_0x2c218a=_0xd73d1e[_0x5ce76a])&&(_0x37003a=(_0x40a183?_0x2c218a(_0x7cb30f,_0x566de3,_0x37003a):_0x2c218a(_0x37003a))||_0x37003a);return _0x40a183&&_0x37003a&&fo(_0x7cb30f,_0x566de3,_0x37003a),_0x37003a;},Xe=(_0x3cf245,_0x1f168f)=>(_0x541dd0,_0x1b5f5d)=>_0x1f168f(_0x541dd0,_0x1b5f5d,_0x3cf245);let z=class extends _0x5f337f{constructor(_0x322f21,_0x29f9ef,_0x1d420b,_0x5c1a02,_0x1a68a1){const _0x56a61b=_0x5e3172;super(),g(this,_0x56a61b(0x247),new Map()),g(this,_0x56a61b(0x3e1),new Map()),g(this,_0x56a61b(0x31c),!0x1),(this[_0x56a61b(0x270)]=_0x322f21,this['_localStorageService']=_0x29f9ef,this[_0x56a61b(0x2b6)]=_0x1d420b,this[_0x56a61b(0x48a)]=_0x5c1a02,this[_0x56a61b(0x2fd)]=_0x1a68a1,this[_0x56a61b(0x523)]());}[_0x5e3172(0x27d)](){const _0x16a384=_0x5e3172;this[_0x16a384(0x31c)]=!0x0;}[_0x5e3172(0x190)](){const _0x5d45f2=_0x5e3172;this[_0x5d45f2(0x31c)]=!0x1;}[_0x5e3172(0x48f)](){const _0x5865a3=_0x5e3172;this[_0x5865a3(0x3cc)]()[_0x5865a3(0x15e)](()=>super[_0x5865a3(0x48f)]());}async['loadOfflineData'](_0x430502){const _0x4f3ecd=_0x5e3172;return this[_0x4f3ecd(0x31c)]?null:this[_0x4f3ecd(0x406)][_0x4f3ecd(0x359)](Xs(_0x430502));}async[_0x5e3172(0x428)](_0x1cc653,_0x515283){const _0x3ad32f=_0x5e3172;return!!this[_0x3ad32f(0x406)][_0x3ad32f(0x154)](_0x1cc653,_0x515283);}[_0x5e3172(0x422)](_0x496937,_0x5af84d,_0x2709e4,_0x164545){const _0x15e84e=_0x5e3172,_0x2ef569=this[_0x15e84e(0x2fd)][_0x15e84e(0x30c)](_0x496937);this[_0x15e84e(0x247)]['set'](_0x496937,{'unitID':_0x496937,'type':_0x5af84d,'awaitingChangeset':_0x2709e4,'mutations':_0x164545,'rev':_0x2ef569}),this[_0x15e84e(0x3e1)][_0x15e84e(0x3cb)](_0x496937)||this[_0x15e84e(0x1b4)](_0x496937);}[_0x5e3172(0x1b4)](_0x5a34dd){const _0x166e72=_0x5e3172,_0x49325=this['_getSaveTimeout']();_0x49325===0x0?this[_0x166e72(0x2a2)](_0x5a34dd):this[_0x166e72(0x3e1)][_0x166e72(0x332)](_0x5a34dd,setTimeout(()=>this[_0x166e72(0x2a2)](_0x5a34dd),_0x49325));}[_0x5e3172(0x4be)](){const _0x58e2d0=_0x5e3172;var _0x4b149d;return(_0x4b149d=this[_0x58e2d0(0x270)]['getConfig'](Mn))!=null?_0x4b149d:xn;}[_0x5e3172(0x2a2)](_0x56a95b){const _0x48482d=_0x5e3172,_0x1faa19=this[_0x48482d(0x3e1)]['get'](_0x56a95b);return _0x1faa19!==void 0x0&&window[_0x48482d(0x1fd)](_0x1faa19),this[_0x48482d(0x406)][_0x48482d(0x154)](Xs(_0x56a95b),this['_cachedData'][_0x48482d(0x307)](_0x56a95b))[_0x48482d(0x15e)](()=>this[_0x48482d(0x3e1)]['delete'](_0x56a95b));}async['exhaustSavingTask'](){const _0xbed44f=_0x5e3172,_0x33c3c7=[];this[_0xbed44f(0x3e1)]['forEach']((_0x2546f7,_0x5482bb)=>{const _0x35fc25=_0xbed44f;window[_0x35fc25(0x1fd)](_0x2546f7),_0x33c3c7[_0x35fc25(0x38e)](this['_saveCache'](_0x5482bb)[_0x35fc25(0x15e)](()=>{const _0x316ae6=_0x35fc25;this[_0x316ae6(0x3e1)]['delete'](_0x5482bb);}));}),await Promise[_0xbed44f(0x49a)](_0x33c3c7);}[_0x5e3172(0x523)](){const _0x4b9273=_0x5e3172;this[_0x4b9273(0x2d9)](this[_0x4b9273(0x2b6)]['registerBeforeClose'](()=>{const _0x388878=_0x4b9273;if(this[_0x388878(0x3e1)][_0x388878(0x3aa)])return this[_0x388878(0x48a)]['t']('collaboration-client.offline-data-not-saved');}));}};z=po([Xe(0x0,_0x3a37b7),Xe(0x1,_0x489004),Xe(0x2,_0x38bd7e),Xe(0x3,_0x1259a7(_0x56a2bf)),Xe(0x4,_0x1259a7(_0x5730a1))],z);function Xs(_0x278885){const _0x448532=_0x5e3172;return _0x448532(0x2bf)+_0x278885;}var mo=Object[_0x5e3172(0x243)],go=Object[_0x5e3172(0x26f)],So=(_0xdac360,_0x3a8474,_0x48c0f1,_0xa86c74)=>{const _0x24890c=_0x5e3172;for(var _0x2a9a29=_0xa86c74>0x1?void 0x0:_0xa86c74?go(_0x3a8474,_0x48c0f1):_0x3a8474,_0x510887=_0xdac360[_0x24890c(0x2c8)]-0x1,_0x473d1c;_0x510887>=0x0;_0x510887--)(_0x473d1c=_0xdac360[_0x510887])&&(_0x2a9a29=(_0xa86c74?_0x473d1c(_0x3a8474,_0x48c0f1,_0x2a9a29):_0x473d1c(_0x2a9a29))||_0x2a9a29);return _0xa86c74&&_0x2a9a29&&mo(_0x3a8474,_0x48c0f1,_0x2a9a29),_0x2a9a29;},Kt=(_0x4cb289,_0x1ea2e2)=>(_0x525e5e,_0x4205f8)=>_0x1ea2e2(_0x525e5e,_0x4205f8,_0x4cb289);function Io(_0x19ddae){const {unitID:_0x54421f,mutations:_0x232840}=_0x19ddae;return{'unitId':_0x54421f,'subUnitId':_0x232840[0x0]['params']['subUnitId']};}let wt=class{constructor(_0x29cdd3,_0x30bcc7,_0x2c67ca){const _0x4b6d2e=_0x5e3172;this[_0x4b6d2e(0x3b4)]=_0x29cdd3,this[_0x4b6d2e(0x4ff)]=_0x30bcc7,this[_0x4b6d2e(0x3f2)]=_0x2c67ca;}[_0x5e3172(0x385)](_0x5cfb32){const _0x92cf6a=_0x5e3172;var _0x11d21b,_0x2748ec,_0x4bd1c3,_0x4a4a42;const _0x142255=this[_0x92cf6a(0x3b4)]['get'](_0x10dd54),{unitId:_0x5075e5,subUnitId:_0x55db68}=Io(_0x5cfb32),_0x30c259=_0x142255[_0x92cf6a(0x43e)](_0x5075e5)[_0x92cf6a(0x39e)](),_0x483b56=(_0x2748ec=(_0x11d21b=this['_instanceService']['getUnit'](_0x5075e5))==null?void 0x0:_0x11d21b[_0x92cf6a(0x328)]())==null?void 0x0:_0x2748ec[_0x92cf6a(0x29c)]();if(_0x30c259[_0x92cf6a(0x2c8)]===0x0||!_0x5075e5||!_0x55db68)return;const _0x4e9bec=[{'id':_0x3f708e['id'],'params':{'unitId':_0x5075e5,'subUnitId':_0x483b56,'selections':_0x279a54[_0x92cf6a(0x3d3)](_0x30c259)}}],_0x2ca355=this[_0x92cf6a(0x4ff)]['transformMutationsWithChangeset'](_0x5cfb32,_0x4e9bec);if(!_0x17cfb3(_0x2ca355))throw _0x2ca355['error'];const _0x5352ec=(_0x4a4a42=(_0x4bd1c3=_0x2ca355[_0x92cf6a(0x20f)][0x0])==null?void 0x0:_0x4bd1c3[_0x92cf6a(0x436)])==null?void 0x0:_0x4a4a42['selections'];if(Array[_0x92cf6a(0x468)](_0x5352ec)&&_0x5352ec[_0x92cf6a(0x2c8)]){if(_0x5352ec[_0x92cf6a(0x2c8)]===_0x4e9bec[0x0][_0x92cf6a(0x436)][_0x92cf6a(0x217)][_0x92cf6a(0x2c8)]&&_0x5352ec[_0x92cf6a(0x3b5)]((_0x48f1d3,_0x252ac0)=>_0x50302c['equals'](_0x48f1d3[_0x92cf6a(0x168)],_0x4e9bec[0x0]['params']['selections'][_0x252ac0][_0x92cf6a(0x168)])))return;this[_0x92cf6a(0x3b4)][_0x92cf6a(0x307)](_0x58c2c0)['executeCommand'](_0x3f708e['id'],{'unitId':_0x5075e5,'subUnitId':_0x483b56,'selections':_0x5352ec});}}};wt=So([Kt(0x0,_0x1259a7(_0xa6ca3c)),Kt(0x1,_0x2a04be),Kt(0x2,_0x381e7e)],wt);const jt=_0x311f8c(_0x5e3172(0x22b));var Ki=(_0x14d0b7=>(_0x14d0b7[_0x14d0b7[_0x5e3172(0x3ec)]=0x0]=_0x5e3172(0x3ec),_0x14d0b7[_0x14d0b7['OTHER_CLIENTS_EDITING']=0x1]=_0x5e3172(0x42e),_0x14d0b7))(Ki||{});const Js=0x7530,Zs=_0x5e3172(0x490);class Co extends _0x5f337f{constructor(){const _0x50d31f=_0x5e3172;super(),g(this,'_id',_0x279a54[_0x50d31f(0x18f)]()),g(this,_0x50d31f(0x510),new Set()),g(this,_0x50d31f(0x2a7),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x50d31f(0x25d),new Map()),g(this,_0x50d31f(0x216),new Map()),this[_0x50d31f(0x1d2)]();}[_0x5e3172(0x48f)](){const _0x48b516=_0x5e3172;super['dispose'](),this[_0x48b516(0x25d)][_0x48b516(0x356)]((_0x45ed88,_0x28df67)=>this[_0x48b516(0x456)](_0x28df67)),this[_0x48b516(0x1f6)]&&window[_0x48b516(0x463)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x552a85){const _0x519a05=_0x5e3172;return this[_0x519a05(0x315)](_0x552a85)[_0x519a05(0x4b6)](_0x11e04f());}[_0x5e3172(0x203)](_0x390ff5){const _0x1c22ca=_0x5e3172;this['_selfUnitIDs'][_0x1c22ca(0x3aa)]===0x0&&this[_0x1c22ca(0x12b)](),this[_0x1c22ca(0x510)][_0x1c22ca(0x15f)](_0x390ff5),this[_0x1c22ca(0x147)]({'type':0x0,'memberID':this[_0x1c22ca(0x466)],'unitIDs':[_0x390ff5],'isForwarded':!0x1});}[_0x5e3172(0x3af)](_0x2c2d40){const _0x5bedcd=_0x5e3172;this[_0x5bedcd(0x510)][_0x5bedcd(0x480)](_0x2c2d40),this[_0x5bedcd(0x510)][_0x5bedcd(0x3aa)]===0x0&&this['_heartbeatTimer']&&window[_0x5bedcd(0x463)](this[_0x5bedcd(0x1f6)]);}[_0x5e3172(0x1d2)](){const _0x37a48e=_0x5e3172;this[_0x37a48e(0x2d9)](_0x38e5fb(_0x1a191c(window,_0x37a48e(0x333))[_0x37a48e(0x134)](_0x536b2d=>{const _0x45d501=_0x37a48e;if(_0x536b2d[_0x45d501(0x36a)]!==Zs||!_0x536b2d[_0x45d501(0x191)])return;const _0x5dfea5=JSON[_0x45d501(0x32f)](_0x536b2d[_0x45d501(0x191)]);this[_0x45d501(0x2fe)](_0x5dfea5);}))),window[_0x37a48e(0x522)]('unload',()=>this[_0x37a48e(0x147)]({'type':0x1,'memberID':this[_0x37a48e(0x466)],'unitIDs':Array[_0x37a48e(0x49e)](this[_0x37a48e(0x510)])}));}[_0x5e3172(0x2fe)](_0x3328d5){const _0x3c8184=_0x5e3172;switch(_0x3328d5[_0x3c8184(0x20d)]){case 0x0:this[_0x3c8184(0x465)](_0x3328d5);break;case 0x1:this[_0x3c8184(0x316)](_0x3328d5);break;case 0x2:this[_0x3c8184(0x2ee)](_0x3328d5);break;}}[_0x5e3172(0x465)](_0x4268b9){const _0x1732ef=_0x5e3172,{unitIDs:_0x4bddf6,memberID:_0x8d0570,isForwarded:_0x236eb5}=_0x4268b9;_0x4bddf6['forEach'](_0x4cb7d5=>{const _0x3c9a12=_0x1eb2;if(!_0x236eb5&&this[_0x3c9a12(0x2a7)][_0x3c9a12(0x3cb)](_0x4cb7d5)&&this[_0x3c9a12(0x315)](_0x4cb7d5)[_0x3c9a12(0x23b)](0x1),!this['_unitOnClients'][_0x3c9a12(0x3cb)](_0x4cb7d5)||!this[_0x3c9a12(0x2a7)]['get'](_0x4cb7d5)[_0x3c9a12(0x3cb)](_0x8d0570)){const _0x22dcd9=this[_0x3c9a12(0x2a7)][_0x3c9a12(0x307)](_0x4cb7d5)||new Set();_0x22dcd9['add'](_0x8d0570),this[_0x3c9a12(0x2a7)][_0x3c9a12(0x332)](_0x4cb7d5,_0x22dcd9),this[_0x3c9a12(0x489)](_0x8d0570);}}),_0x236eb5||this[_0x1732ef(0x147)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1732ef(0x510)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x186d6a){const _0x24cc81=_0x5e3172;this['_removeClearOtherTimer'](_0x186d6a);const _0x5d7d2b=window[_0x24cc81(0x273)](()=>{const _0x28b505=_0x24cc81;this[_0x28b505(0x2a7)][_0x28b505(0x356)](_0x23c532=>{const _0xace539=_0x28b505;_0x23c532[_0xace539(0x480)](_0x186d6a);});},Js*0x2);this[_0x24cc81(0x25d)][_0x24cc81(0x332)](_0x186d6a,_0x5d7d2b);}[_0x5e3172(0x456)](_0x322c2b){const _0x160654=_0x5e3172;if(this[_0x160654(0x25d)][_0x160654(0x3cb)](_0x322c2b)){const _0x379b83=this[_0x160654(0x25d)][_0x160654(0x307)](_0x322c2b);_0x379b83&&window['clearTimeout'](_0x379b83),this[_0x160654(0x25d)][_0x160654(0x332)](_0x322c2b,null);}}[_0x5e3172(0x316)](_0x170b81){const _0x538874=_0x5e3172,{memberID:_0x480dbf,unitIDs:_0x5f3dca}=_0x170b81;_0x5f3dca['forEach'](_0x2716db=>{const _0x1d591d=_0x1eb2;var _0x582a0e;const _0x190e4c=this['_unitOnClients'][_0x1d591d(0x307)](_0x2716db);_0x190e4c&&(_0x190e4c['delete'](_0x480dbf),(_0x582a0e=this[_0x1d591d(0x315)](_0x2716db))==null||_0x582a0e[_0x1d591d(0x23b)](_0x190e4c['size']===0x0?0x0:0x1));}),this[_0x538874(0x456)](_0x480dbf);}['_handleHeartbeatEvent'](_0x522038){const _0x869e1f=_0x5e3172;this[_0x869e1f(0x489)](_0x522038[_0x869e1f(0x3f1)]);}[_0x5e3172(0x147)](_0x2ebf2d){const _0x55294a=_0x5e3172;localStorage[_0x55294a(0x154)](Zs,JSON[_0x55294a(0x50f)](_0x2ebf2d));}[_0x5e3172(0x12b)](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Js);}[_0x5e3172(0x315)](_0x598a0d){const _0x185b55=_0x5e3172;return this[_0x185b55(0x216)]['has'](_0x598a0d)||this['_unitStatus']['set'](_0x598a0d,new _0xd0d94b(0x0)),this[_0x185b55(0x216)][_0x185b55(0x307)](_0x598a0d);}}var Eo=Object[_0x5e3172(0x243)],bo=Object[_0x5e3172(0x26f)],To=(_0x5d4b25,_0x4be612,_0x1525ef,_0x5c93d1)=>{const _0x120eaf=_0x5e3172;for(var _0x4f19b0=_0x5c93d1>0x1?void 0x0:_0x5c93d1?bo(_0x4be612,_0x1525ef):_0x4be612,_0x28e336=_0x5d4b25[_0x120eaf(0x2c8)]-0x1,_0x2e6422;_0x28e336>=0x0;_0x28e336--)(_0x2e6422=_0x5d4b25[_0x28e336])&&(_0x4f19b0=(_0x5c93d1?_0x2e6422(_0x4be612,_0x1525ef,_0x4f19b0):_0x2e6422(_0x4f19b0))||_0x4f19b0);return _0x5c93d1&&_0x4f19b0&&Eo(_0x4be612,_0x1525ef,_0x4f19b0),_0x4f19b0;},qt=(_0x5ead5,_0x14ebf9)=>(_0x1affdf,_0x5cf8ac)=>_0x14ebf9(_0x1affdf,_0x5cf8ac,_0x5ead5);let Dt=class{constructor(_0x3b8330,_0x5a4b6f,_0x40ce67){const _0x3533d0=_0x5e3172;this[_0x3533d0(0x3b4)]=_0x3b8330,this[_0x3533d0(0x4ff)]=_0x5a4b6f,this[_0x3533d0(0x3dd)]=_0x40ce67;}[_0x5e3172(0x48d)](_0x2c5974){const _0x24ede3=_0x5e3172;this[_0x24ede3(0x3ee)](_0x2c5974);}[_0x5e3172(0x3a2)](_0x271dcf){const _0x2a244d=_0x5e3172,{unitID:_0xed4036}=_0x271dcf,{collaboration:_0x1f9d7d}=this[_0x2a244d(0x3dd)][_0x2a244d(0x4f5)](_0xed4036);if(_0x1f9d7d[_0x2a244d(0x2c8)]===0x0)return _0x271dcf;let _0x333b6e=_0x279a54[_0x2a244d(0x3d3)](_0x271dcf['mutations'][0x0]);for(let _0x18c0e6=0x0;_0x18c0e6<_0x1f9d7d[_0x2a244d(0x2c8)];_0x18c0e6++){const _0x1811e7={'id':_0x2a244d(0x42b),'params':{'unitId':_0x1f9d7d[_0x18c0e6][_0x2a244d(0x452)],..._0x1f9d7d[_0x18c0e6][_0x2a244d(0x305)]}},_0xdd4b26=this[_0x2a244d(0x4ff)][_0x2a244d(0x357)](_0x333b6e,_0x1811e7,!0x1);if(_0x29729a(_0xdd4b26))throw _0xdd4b26[_0x2a244d(0x295)];_0x333b6e=_0xdd4b26[_0x2a244d(0x4df)];}return{..._0x279a54['deepClone'](_0x271dcf),'mutations':[_0x333b6e]};}[_0x5e3172(0x3ee)](_0x3ba0b9){const _0x328e51=_0x5e3172,{unitID:_0x1c82fd}=_0x3ba0b9,{history:_0x3f4314,collaboration:_0x89a6a3}=this[_0x328e51(0x3dd)][_0x328e51(0x4f5)](_0x1c82fd);if(_0x3f4314['length']===0x0&&_0x89a6a3[_0x328e51(0x2c8)]===0x0)return;const _0xc8d2c1=[],_0x399169=[];let _0x1d242d=_0x279a54[_0x328e51(0x3d3)](_0x3ba0b9['mutations'][0x0]),_0xed8371=_0x279a54[_0x328e51(0x3d3)](_0x3ba0b9[_0x328e51(0x1b2)][0x0]);for(let _0x103e66=_0x3f4314[_0x328e51(0x2c8)]-0x1;_0x103e66>=0x0;_0x103e66--){const _0x19ef9d={'id':_0x328e51(0x42b),'params':{'unitId':_0x3f4314[_0x103e66]['unitId'],..._0x3f4314[_0x103e66][_0x328e51(0x44f)]}},_0x5361ce={'id':_0x328e51(0x42b),'params':{'unitId':_0x3f4314[_0x103e66][_0x328e51(0x452)],..._0x3f4314[_0x103e66][_0x328e51(0x305)]}},_0x4ba5fd=this[_0x328e51(0x4ff)][_0x328e51(0x357)](_0x1d242d,_0x19ef9d,!0x1),_0x5d0770=this[_0x328e51(0x4ff)]['transformMutation'](_0xed8371,_0x5361ce,!0x1);if(_0x29729a(_0x4ba5fd))throw _0x4ba5fd[_0x328e51(0x295)];if(_0x29729a(_0x5d0770))throw _0x5d0770[_0x328e51(0x295)];_0xc8d2c1[_0x328e51(0x4d0)]({..._0x3f4314[_0x103e66],'undoState':_0x4ba5fd[_0x328e51(0x20f)][_0x328e51(0x436)],'redoState':_0x5d0770[_0x328e51(0x20f)]['params']}),_0x1d242d=_0x4ba5fd[_0x328e51(0x4df)],_0xed8371=_0x5d0770[_0x328e51(0x4df)];}_0x1d242d=_0x279a54['deepClone'](_0x3ba0b9[_0x328e51(0x1b2)][0x0]),_0xed8371=_0x279a54['deepClone'](_0x3ba0b9[_0x328e51(0x1b2)][0x0]);for(let _0x267b61=_0x89a6a3[_0x328e51(0x2c8)]-0x1;_0x267b61>=0x0;_0x267b61--){const _0x25328b={'id':_0x328e51(0x42b),'params':{'unitId':_0x89a6a3[_0x267b61][_0x328e51(0x452)],..._0x89a6a3[_0x267b61][_0x328e51(0x44f)]}},_0x4b3f6e={'id':_0x328e51(0x42b),'params':{'unitId':_0x89a6a3[_0x267b61]['unitId'],..._0x89a6a3[_0x267b61][_0x328e51(0x305)]}},_0x2695b2=this[_0x328e51(0x4ff)][_0x328e51(0x357)](_0x1d242d,_0x25328b,!0x1),_0x277047=this['_transformService'][_0x328e51(0x357)](_0xed8371,_0x4b3f6e,!0x1);if(_0x29729a(_0x2695b2))throw _0x2695b2['error'];if(_0x29729a(_0x277047))throw _0x277047[_0x328e51(0x295)];_0x399169[_0x328e51(0x4d0)]({..._0x89a6a3[_0x267b61],'undoState':_0x2695b2[_0x328e51(0x20f)][_0x328e51(0x436)],'redoState':_0x277047[_0x328e51(0x20f)][_0x328e51(0x436)]}),_0x1d242d=_0x2695b2[_0x328e51(0x4df)],_0xed8371=_0x277047[_0x328e51(0x4df)];}this['_docStateChangeManagerService'][_0x328e51(0x3e7)](_0x1c82fd,{'history':_0xc8d2c1,'collaboration':_0x399169});}};Dt=To([qt(0x0,_0x1259a7(_0xa6ca3c)),qt(0x1,_0x2a04be),qt(0x2,_0x1259a7(_0x59d42b))],Dt);function qi(_0x533d1c){const _0x226c94=_0x5e3172;let _0x3f1ebe='';for(const _0x35738f of _0x533d1c){const {startOffset:_0x127e57,endOffset:_0x67837c,isActive:_0x2c9c7c,rangeType:_0x2270f1,segmentId:_0xfa3405,segmentPage:_0x53361}=_0x35738f;_0x3f1ebe[_0x226c94(0x2c8)]&&(_0x3f1ebe+=','),_0x3f1ebe+=_0x127e57+':'+_0x67837c+':'+(_0x2c9c7c?'1':'0')+':'+_0x2270f1+':'+_0xfa3405+':'+_0x53361;}return _0x3f1ebe;}function Ro(_0x394ebd){const _0x3b9e5f=_0x5e3172,_0x26b983=_0x394ebd['split'](','),_0xd43148=[];for(const _0x1eddc8 of _0x26b983){const [_0x5a7e15,_0xd1f189,_0x339f16,_0x545e24,_0x4798fd,_0x9ea24]=_0x1eddc8['split'](':');_0xd43148[_0x3b9e5f(0x38e)]({'startOffset':Number(_0x5a7e15),'endOffset':Number(_0xd1f189),'collapsed':_0x5a7e15===_0xd1f189,'isActive':_0x339f16==='1','rangeType':_0x545e24===_0x263740[_0x3b9e5f(0x4e9)]?_0x263740[_0x3b9e5f(0x4e9)]:_0x263740[_0x3b9e5f(0x353)],'segmentId':typeof _0x4798fd==_0x3b9e5f(0x429)?String(_0x4798fd):'','segmentPage':Number(_0x9ea24!=null?_0x9ea24:-0x1)});}return _0xd43148['some'](_0x4d4be8=>_0x4d4be8[_0x3b9e5f(0x3ad)])||(_0xd43148[0x0][_0x3b9e5f(0x3ad)]=!0x0),_0xd43148;}class Ds extends _0x5ce84d{constructor(){const _0xfa50b3=_0x5e3172;super(...arguments),g(this,_0xfa50b3(0x200),new _0xd0d94b(null)),g(this,_0xfa50b3(0x1f1),this[_0xfa50b3(0x200)]['asObservable']());}[_0x5e3172(0x3ef)](_0x5ee830){const _0x594ea9=_0x5e3172,{unitID:_0xda08ff,memberID:_0x2869ee,textRanges:_0x2cb7f5}=_0x5ee830,_0xb9357f=qi(_0x2cb7f5);if(_0xb9357f==='')return;const _0x460d74={'unitID':_0xda08ff,'memberID':_0x2869ee,'selection':_0xb9357f};this[_0x594ea9(0x200)][_0x594ea9(0x23b)](_0x460d74);}}var Oo=Object[_0x5e3172(0x243)],yo=Object[_0x5e3172(0x26f)],wo=(_0x398a4c,_0x5700be,_0x5fd964,_0x5e234c)=>{const _0x4a4e85=_0x5e3172;for(var _0x4a6d06=_0x5e234c>0x1?void 0x0:_0x5e234c?yo(_0x5700be,_0x5fd964):_0x5700be,_0x29a396=_0x398a4c[_0x4a4e85(0x2c8)]-0x1,_0x26d001;_0x29a396>=0x0;_0x29a396--)(_0x26d001=_0x398a4c[_0x29a396])&&(_0x4a6d06=(_0x5e234c?_0x26d001(_0x5700be,_0x5fd964,_0x4a6d06):_0x26d001(_0x4a6d06))||_0x4a6d06);return _0x5e234c&&_0x4a6d06&&Oo(_0x5700be,_0x5fd964,_0x4a6d06),_0x4a6d06;},Qs=(_0x4b5819,_0x4dcf4b)=>(_0x1d53bd,_0xd62e2e)=>_0x4dcf4b(_0x1d53bd,_0xd62e2e,_0x4b5819);let Pt=class{constructor(_0x31cb15,_0x375d1f){const _0x7a999d=_0x5e3172;this[_0x7a999d(0x3b4)]=_0x31cb15,this[_0x7a999d(0x4ff)]=_0x375d1f;}['transformSelections'](_0x585606){const _0x7c8524=_0x5e3172;var _0x12394d;const _0x20801c=this['_injector'][_0x7c8524(0x307)](_0x195c19),_0x19be76=(_0x12394d=_0x20801c[_0x7c8524(0x388)]())!=null?_0x12394d:[];if(_0x19be76[_0x7c8524(0x2c8)]===0x0)return;const _0x29e78f=_0x585606[_0x7c8524(0x4e4)],_0x27856c=[{'id':_0x7c8524(0x42b),'params':{'unitId':_0x29e78f,'actions':null,'textRanges':_0x19be76}}],_0x5c9b3a=this[_0x7c8524(0x4ff)][_0x7c8524(0x4a6)](_0x585606,_0x27856c);if(!_0x17cfb3(_0x5c9b3a))throw _0x5c9b3a[_0x7c8524(0x295)];const _0x214d8e=_0x5c9b3a[_0x7c8524(0x20f)][0x0][_0x7c8524(0x436)][_0x7c8524(0x495)];Array[_0x7c8524(0x468)](_0x214d8e)&&_0x214d8e[_0x7c8524(0x2c8)]&&_0x20801c[_0x7c8524(0x1bd)](_0x214d8e,{'unitId':_0x29e78f,'subUnitId':_0x29e78f},!0x1);}};Pt=wo([Qs(0x0,_0x1259a7(_0xa6ca3c)),Qs(0x1,_0x2a04be)],Pt);const Do=new Set([_0x1c7d98['id']]);function ei(_0x33979e,_0x113b31,_0x560341,_0x3497f6,_0x2f6527){const _0x40a62e=_0x5e3172;var _0x4ba91c,_0xfa58a0,_0x18335e,_0x1d69a0;const _0x1863b9=[];for(const _0x28b1d3 of _0x33979e)if(Do[_0x40a62e(0x3cb)](_0x28b1d3['id'])){if(_0x1863b9[_0x40a62e(0x2c8)]>0x0)break;_0x1863b9['push'](_0x28b1d3);break;}else _0x1863b9[_0x40a62e(0x38e)](_0x28b1d3);const _0x326e71=(_0xfa58a0=(_0x4ba91c=_0x2f6527[_0x40a62e(0x3d8)]())==null?void 0x0:_0x4ba91c['userID'])!=null?_0xfa58a0:_0x40a62e(0x3c8),_0x148205=(_0x1d69a0=(_0x18335e=_0x2f6527['getCurrentUser']())==null?void 0x0:_0x18335e[_0x40a62e(0x3f1)])!=null?_0x1d69a0:_0x40a62e(0x3c8);return{'changeset':{'unitID':_0x113b31,'type':_0x20d9fb(_0x560341[_0x40a62e(0x443)](_0x113b31)),'baseRev':_0x3497f6[_0x40a62e(0x30c)](_0x113b31),'revision':0x0,'userID':_0x326e71,'memberID':_0x148205,'mutations':_0x1863b9},'pendingMutations':_0x33979e[_0x40a62e(0x469)](_0x1863b9[_0x40a62e(0x2c8)])};}function Po(_0x405de2,_0x508eb5,_0x35f92e,_0x5cc972,_0x59ad7b){const _0x2360e3=_0x5e3172;var _0x4021ff,_0x36c0c6,_0x3f3fee,_0x1c0a12;const _0x6b120f=[_0x405de2['reduce']((_0x2cee5e,_0x75dc59)=>{const _0x11e10c=_0x1eb2;var _0x2090fc;const {id:_0x5e95df}=_0x2cee5e,{id:_0x3a1513,type:_0x5d08d5}=_0x75dc59,_0x16028e=(_0x2090fc=_0x2cee5e['params'])!=null?_0x2090fc:{'actions':null},_0x655466=_0x75dc59[_0x11e10c(0x436)];if(_0x5e95df&&_0x5e95df!==_0x3a1513)throw new Error(_0x11e10c(0x20a)+_0x5e95df+'\x20-\x20'+_0x3a1513+'.');return{..._0x2cee5e,'id':_0x3a1513,'type':_0x5d08d5,'params':{'unitId':_0x655466['unitId'],'textRanges':_0x655466[_0x11e10c(0x495)],'actions':_0x1bb50c[_0x11e10c(0x269)](_0x16028e[_0x11e10c(0x39b)],_0x655466['actions'])}};},{})],_0x590c76=(_0x36c0c6=(_0x4021ff=_0x59ad7b[_0x2360e3(0x3d8)]())==null?void 0x0:_0x4021ff[_0x2360e3(0x2f3)])!=null?_0x36c0c6:'unknown',_0x56c921=(_0x1c0a12=(_0x3f3fee=_0x59ad7b[_0x2360e3(0x3d8)]())==null?void 0x0:_0x3f3fee[_0x2360e3(0x3f1)])!=null?_0x1c0a12:'unknown';return{'changeset':{'unitID':_0x508eb5,'type':_0x20d9fb(_0x35f92e[_0x2360e3(0x443)](_0x508eb5)),'baseRev':_0x5cc972['getCurrentRevOfUnit'](_0x508eb5),'revision':0x0,'userID':_0x590c76,'memberID':_0x56c921,'mutations':_0x6b120f},'pendingMutations':[]};}function zi(_0x1e9b14,_0x3990f7){const _0xf6f78a=_0x5e3172,_0x1a806f=new _0x3d17ca(0x1);return setTimeout(()=>_0x1a806f[_0xf6f78a(0x23b)](_0x3990f7),_0x1e9b14),_0x1a806f[_0xf6f78a(0x306)]()[_0xf6f78a(0x4b6)](_0x3decc5(0x1));}const No={'id':_0x4b8f30['id'],'type':_0x57cf4b[_0x5e3172(0x345)],'params':{}};var Uo=Object['defineProperty'],Ao=Object[_0x5e3172(0x26f)],$e=(_0x7ca87c,_0x5e59eb,_0xf14a88,_0x1094f1)=>{const _0x2f8a00=_0x5e3172;for(var _0x39d9f7=_0x1094f1>0x1?void 0x0:_0x1094f1?Ao(_0x5e59eb,_0xf14a88):_0x5e59eb,_0x237393=_0x7ca87c[_0x2f8a00(0x2c8)]-0x1,_0x2d72dc;_0x237393>=0x0;_0x237393--)(_0x2d72dc=_0x7ca87c[_0x237393])&&(_0x39d9f7=(_0x1094f1?_0x2d72dc(_0x5e59eb,_0xf14a88,_0x39d9f7):_0x2d72dc(_0x39d9f7))||_0x39d9f7);return _0x1094f1&&_0x39d9f7&&Uo(_0x5e59eb,_0xf14a88,_0x39d9f7),_0x39d9f7;},A=(_0x566bc2,_0x45f121)=>(_0x3ab2e2,_0x48e422)=>_0x45f121(_0x3ab2e2,_0x48e422,_0x566bc2),J=(_0x51f903=>(_0x51f903[_0x5e3172(0x1aa)]=_0x5e3172(0x2d4),_0x51f903[_0x5e3172(0x29a)]=_0x5e3172(0x125),_0x51f903[_0x5e3172(0x42d)]=_0x5e3172(0x1c0),_0x51f903['AWAITING']='awaiting',_0x51f903['AWAITING_WITH_PENDING']=_0x5e3172(0x2fc),_0x51f903[_0x5e3172(0x3e2)]=_0x5e3172(0x45f),_0x51f903[_0x5e3172(0x423)]=_0x5e3172(0x1a5),_0x51f903['OFFLINE']='offline',_0x51f903))(J||{});const Xi=0xea60;class He{constructor(_0x436f0c,_0x38286b,_0xefc703,_0x40b203,_0x1b0054,_0x5a29a4,_0x58f21e,_0x6ecfac,_0x3cd239){const _0x2827ee=_0x5e3172;g(this,'_awaitingChangeset',null),g(this,_0x2827ee(0x199),[]),(this[_0x2827ee(0x4e4)]=_0x436f0c,this[_0x2827ee(0x20d)]=_0x38286b,this[_0x2827ee(0x231)]=_0x1b0054,this['_commandService']=_0x5a29a4,this[_0x2827ee(0x195)]=_0x58f21e,this[_0x2827ee(0x2fd)]=_0x6ecfac,this[_0x2827ee(0x32a)]=_0x3cd239,this['_awaitingChangeset']=_0xefc703,this['_pendingMutations']=_0x40b203);}[_0x5e3172(0x4a4)](_0xa99304){const _0x2d7bcc=_0x5e3172,_0x3ad4c9=this['_revisionService'][_0x2d7bcc(0x30c)](this['unitID']);return _0xa99304['revision']>_0x3ad4c9+0x1?(this[_0x2d7bcc(0x231)][_0x2d7bcc(0x4ef)]({'from':_0x3ad4c9,'to':_0xa99304[_0x2d7bcc(0x2ed)]-0x1}),!0x0):!0x1;}[_0x5e3172(0x23e)](_0x43b582){const _0x49af9d=_0x5e3172;this[_0x49af9d(0x195)]['transformUndoRedo'](this[_0x49af9d(0x4e4)],_0x43b582);}[_0x5e3172(0x45e)](_0x320752){const _0x507edf=_0x5e3172;var _0x3da160,_0x322dbc;(_0x322dbc=(_0x3da160=this[_0x507edf(0x231)])['onTransformSelections'])==null||_0x322dbc[_0x507edf(0x500)](_0x3da160,_0x320752);}[_0x5e3172(0x148)](_0x43e068){const _0x10e8e7=_0x5e3172;var _0x4ecb2c,_0x319e11;return(_0x319e11=(_0x4ecb2c=this[_0x10e8e7(0x231)])[_0x10e8e7(0x408)])==null?void 0x0:_0x319e11[_0x10e8e7(0x500)](_0x4ecb2c,_0x43e068);}['_transformStateCache'](_0x2e1348){const _0x1c1aef=_0x5e3172;var _0x4884af,_0x5c62da;return(_0x5c62da=(_0x4884af=this[_0x1c1aef(0x231)])[_0x1c1aef(0x2ab)])==null?void 0x0:_0x5c62da[_0x1c1aef(0x500)](_0x4884af,_0x2e1348);}[_0x5e3172(0x291)](_0x241485){const _0x5560d5=_0x5e3172;var _0x459c70,_0x2c893b,_0x45d682;return(_0x45d682=(_0x2c893b=(_0x459c70=this['_handler'])[_0x5560d5(0x461)])==null?void 0x0:_0x2c893b[_0x5560d5(0x500)](_0x459c70,_0x241485))!=null?_0x45d682:_0x241485;}[_0x5e3172(0x29f)](_0x392fb9){const _0x2e75e8=_0x5e3172;var _0x3be9f2,_0x379de7,_0xacb4da;return(_0xacb4da=(_0x379de7=(_0x3be9f2=this[_0x2e75e8(0x231)])[_0x2e75e8(0x4dc)])==null?void 0x0:_0x379de7['call'](_0x3be9f2,_0x392fb9))!=null?_0xacb4da:_0x392fb9;}[_0x5e3172(0x39a)](_0x24b393){const _0x30eecd=_0x5e3172;var _0x14711b,_0x9321c2;if(this[_0x30eecd(0x20d)]===ae['UNIVER_DOC']){const {unitID:_0x4f85bc,mutations:_0x8ce343,memberID:_0x3ffcbe}=_0x24b393,_0x201bd1=_0x8ce343[0x0][_0x30eecd(0x436)][_0x30eecd(0x495)];Array[_0x30eecd(0x468)](_0x201bd1)&&_0x201bd1[_0x30eecd(0x2c8)]>0x0&&((_0x9321c2=(_0x14711b=this[_0x30eecd(0x231)])[_0x30eecd(0x1ca)])==null||_0x9321c2[_0x30eecd(0x500)](_0x14711b,{'unitID':_0x4f85bc,'memberID':_0x3ffcbe,'textRanges':_0x201bd1}));}}[_0x5e3172(0x324)](){const _0x373c97=_0x5e3172;this[_0x373c97(0x32a)][_0x373c97(0x422)](this[_0x373c97(0x4e4)],this[_0x373c97(0x20d)],this[_0x373c97(0x536)],this['_pendingMutations']);}[_0x5e3172(0x20e)](){const _0x3f0730=_0x5e3172;return this[_0x3f0730(0x2fd)]['getCurrentRevOfUnit'](this[_0x3f0730(0x4e4)]);}[_0x5e3172(0x3ac)](){const _0x113eaf=_0x5e3172;this[_0x113eaf(0x2fd)][_0x113eaf(0x417)](this[_0x113eaf(0x4e4)]);}[_0x5e3172(0x2a3)](_0x47849e){const _0x72d0db=_0x5e3172;var _0x49b047;let _0x583f1f=this[_0x72d0db(0x291)](_0x47849e);_0x583f1f=this[_0x72d0db(0x29f)](_0x583f1f);const _0x4e76b7=_0x399b47(_0x583f1f['mutations'],this[_0x72d0db(0x327)],{'fromCollab':!0x0});if(!_0x4e76b7[_0x72d0db(0x1a8)])throw _0x4e76b7['error']instanceof Error?_0x4e76b7[_0x72d0db(0x295)]:new Error((_0x49b047=_0x4e76b7['error'])!=null?_0x49b047:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x583f1f),this[_0x72d0db(0x29d)](_0x583f1f),this[_0x72d0db(0x23e)](_0x47849e),this['_transformSelections'](_0x583f1f),this[_0x72d0db(0x39a)](_0x583f1f),this[_0x72d0db(0x3ac)]();}}let Fe=class extends He{constructor(_0x4fc7a1,_0x2e6f60,_0x542410,_0x22e94a,_0x2b574d,_0x9bc3ff,_0x1c55ac,_0x430708,_0xe2e81f,_0x5b8c47){const _0x3e74ec=_0x5e3172;super(_0x4fc7a1,_0x2e6f60,null,[],_0x542410,_0x430708,_0x1c55ac,_0x22e94a,_0x2b574d),g(this,_0x3e74ec(0x38b),_0x3e74ec(0x125)),(this[_0x3e74ec(0x3b4)]=_0x9bc3ff,this['_logService']=_0xe2e81f,this[_0x3e74ec(0x4ff)]=_0x5b8c47);}[_0x5e3172(0x144)](_0x3c4217){const _0x2cb3f9=_0x5e3172,_0x1bbb3f=this[_0x2cb3f9(0x3b4)][_0x2cb3f9(0x13c)](pe,this[_0x2cb3f9(0x4e4)],this[_0x2cb3f9(0x20d)],[_0x3c4217],this[_0x2cb3f9(0x231)]);return _0x1bbb3f[_0x2cb3f9(0x43f)](),_0x1bbb3f[_0x2cb3f9(0x324)](),_0x1bbb3f;}['onRemoteChangeset'](_0x217365){const _0xdb1920=_0x5e3172;if(this[_0xdb1920(0x4a4)](_0x217365))return this['_injector'][_0xdb1920(0x13c)](ce,this[_0xdb1920(0x4e4)],this[_0xdb1920(0x20d)],null,[],null,[_0x217365],this[_0xdb1920(0x231)]);try{const _0xcc7bdf=this['_transformService']['transformMutationsWithChangeset'](_0x217365,[No]);if(_0x17cfb3(_0xcc7bdf)){const {c1Prime:_0x566e75}=_0xcc7bdf;return this['_executeRemoteChangeset'](_0x566e75),this;}throw _0xcc7bdf['error'];}catch(_0x526e72){return this[_0xdb1920(0x52d)][_0xdb1920(0x295)](_0x526e72),this[_0xdb1920(0x49d)](!0x1);}}[_0x5e3172(0x49d)](_0x3bd922){const _0x14969d=_0x5e3172;return this[_0x14969d(0x3b4)][_0x14969d(0x13c)](Re,this[_0x14969d(0x4e4)],this[_0x14969d(0x20d)],null,[],this[_0x14969d(0x231)],_0x3bd922);}['onRemoteAck'](){const _0x4804f5=_0x5e3172;throw new Error(_0x4804f5(0x374));}[_0x5e3172(0x3b3)](){const _0xd82d2f=_0x5e3172;throw new Error(_0xd82d2f(0x503));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x560ec8=_0x5e3172;return this[_0x560ec8(0x3b4)][_0x560ec8(0x13c)](Oe,this['unitID'],this[_0x560ec8(0x20d)],null,[],this[_0x560ec8(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5e3172(0x38c)](){const _0x383e2c=_0x5e3172,_0xd9258c=this['_revisionService'][_0x383e2c(0x30c)](this[_0x383e2c(0x4e4)]);return this[_0x383e2c(0x231)]['onMissingChangesets']({'from':_0xd9258c,'to':0x0}),this[_0x383e2c(0x3b4)]['createInstance'](ce,this[_0x383e2c(0x4e4)],this[_0x383e2c(0x20d)],null,[],null,[],this[_0x383e2c(0x231)]);}};Fe=$e([A(0x3,_0x1259a7(_0x5730a1)),A(0x4,_0x1259a7(z)),A(0x5,_0x1259a7(_0xa6ca3c)),A(0x6,_0x2d3235),A(0x7,_0x58c2c0),A(0x8,_0xadcc6),A(0x9,_0x2a04be)],Fe);let pe=class extends He{constructor(_0x554b0b,_0x372073,_0x602293,_0x166305,_0x3ad0dc,_0x2526cd,_0xbfc2a5,_0x226da9,_0x230f37,_0xc4cecc,_0x610d91,_0x1ae1cb,_0x3077a7,_0x29c47c){const _0x583472=_0x5e3172;super(_0x554b0b,_0x372073,null,_0x602293,_0x166305,_0xc4cecc,_0x29c47c,_0x2526cd,_0xbfc2a5),g(this,'status',_0x583472(0x1c0)),g(this,_0x583472(0x24a),null),g(this,_0x583472(0x3ed),null),(this[_0x583472(0x3b4)]=_0x3ad0dc,this[_0x583472(0x16b)]=_0x226da9,this[_0x583472(0x52d)]=_0x230f37,this[_0x583472(0x270)]=_0x610d91,this[_0x583472(0x4ff)]=_0x1ae1cb,this['_univerInstanceService']=_0x3077a7);}['appendMutation'](_0x292e2f){const _0x586adc=_0x5e3172;return this[_0x586adc(0x199)][_0x586adc(0x38e)](_0x292e2f),this['_updateLocalCache'](),this;}[_0x5e3172(0x34a)](_0x5e71c5){const _0x330c62=_0x5e3172;if(this[_0x330c62(0x4a4)](_0x5e71c5))return this[_0x330c62(0x3ca)](),this[_0x330c62(0x3b4)][_0x330c62(0x13c)](ce,this[_0x330c62(0x4e4)],this[_0x330c62(0x20d)],null,this[_0x330c62(0x199)],null,[_0x5e71c5],this[_0x330c62(0x231)]);try{const _0x1be4cb=this[_0x330c62(0x4ff)][_0x330c62(0x4a6)](_0x5e71c5,this['_pendingMutations']);if(_0x17cfb3(_0x1be4cb)){const {c1Prime:_0x4a19f2,m2Prime:_0x3897b1}=_0x1be4cb;this[_0x330c62(0x2a3)](_0x4a19f2);const _0x7f61c5=this[_0x330c62(0x3b4)]['createInstance'](pe,this[_0x330c62(0x4e4)],this[_0x330c62(0x20d)],_0x3897b1,this[_0x330c62(0x231)]);return this['_clearScheduledTask'](),_0x7f61c5[_0x330c62(0x43f)](this['_scheduleTimestamp']?Math[_0x330c62(0x2a1)](0x0,new Date()[_0x330c62(0x3a3)]()-this['_scheduleTimestamp']):this[_0x330c62(0x44b)]()),_0x7f61c5;}throw _0x1be4cb[_0x330c62(0x295)];}catch(_0x4abd86){return this[_0x330c62(0x52d)][_0x330c62(0x295)](_0x4abd86),this[_0x330c62(0x49d)](!0x1);}}[_0x5e3172(0x15c)](){const _0x21bb21=_0x5e3172;throw new Error(_0x21bb21(0x4fb));}[_0x5e3172(0x3b3)](){const _0x35ef4e=_0x5e3172;throw new Error(_0x35ef4e(0x211));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x372123=_0x5e3172;return this[_0x372123(0x3ca)](),this[_0x372123(0x3b4)][_0x372123(0x13c)](Oe,this[_0x372123(0x4e4)],this[_0x372123(0x20d)],null,this['_pendingMutations'],this[_0x372123(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x43f)](_0x1710d7){const _0xf95e9=_0x5e3172,_0x35f160=_0x1710d7!=null?_0x1710d7:this[_0xf95e9(0x44b)]();this[_0xf95e9(0x24a)]=new Date()[_0xf95e9(0x3a3)](),this['_sendingTimer']=window[_0xf95e9(0x273)](()=>{const _0x3d4009=_0xf95e9;this[_0x3d4009(0x3ca)]();let _0x51ed41=null;switch(this[_0x3d4009(0x20d)]){case ae['UNIVER_SHEET']:{_0x51ed41=ei(this[_0x3d4009(0x199)],this[_0x3d4009(0x4e4)],this[_0x3d4009(0x153)],this[_0x3d4009(0x2fd)],this['_memberService']);break;}case ae[_0x3d4009(0x11d)]:{this[_0x3d4009(0x199)][_0x3d4009(0x3b5)](_0x2545c3=>_0x2545c3['id']===_0x48d9a2['id'])?_0x51ed41=Po(this['_pendingMutations'],this[_0x3d4009(0x4e4)],this[_0x3d4009(0x153)],this[_0x3d4009(0x2fd)],this[_0x3d4009(0x16b)]):_0x51ed41=ei(this[_0x3d4009(0x199)],this[_0x3d4009(0x4e4)],this['_univerInstanceService'],this[_0x3d4009(0x2fd)],this['_memberService']);break;}default:throw new Error(_0x3d4009(0x283)+this[_0x3d4009(0x20d)]+_0x3d4009(0x519));}const {changeset:_0x20abe7,pendingMutations:_0x266788}=_0x51ed41;this[_0x3d4009(0x231)][_0x3d4009(0x26b)](_0x20abe7);const _0x1c664e=_0x266788[_0x3d4009(0x2c8)]?this['_injector'][_0x3d4009(0x13c)](me,this[_0x3d4009(0x4e4)],this[_0x3d4009(0x20d)],_0x20abe7,_0x266788,this['_handler'],void 0x0):this[_0x3d4009(0x3b4)][_0x3d4009(0x13c)](Te,this['unitID'],this[_0x3d4009(0x20d)],_0x20abe7,this[_0x3d4009(0x231)]);_0x1c664e['_updateLocalCache'](),this[_0x3d4009(0x231)][_0x3d4009(0x2e1)](this,_0x1c664e);},_0x35f160);}['_getSendChangesetTimeout'](){const _0x45dfeb=_0x5e3172;var _0x41df36;const _0x36fb32=this[_0x45dfeb(0x270)]['getConfig'](Q);return(_0x41df36=_0x36fb32==null?void 0x0:_0x36fb32['sendChangesetTimeout'])!=null?_0x41df36:Rn;}[_0x5e3172(0x430)](){const _0x5b8e5a=_0x5e3172;throw new Error(_0x5b8e5a(0x4b2));}[_0x5e3172(0x3ca)](){const _0x130cce=_0x5e3172;this[_0x130cce(0x3ed)]!=null&&(clearTimeout(this[_0x130cce(0x3ed)]),this['_sendingTimer']=null);}[_0x5e3172(0x49d)](_0x2f7d70){const _0x44cc3c=_0x5e3172;return this[_0x44cc3c(0x3ca)](),this[_0x44cc3c(0x3b4)]['createInstance'](Re,this['unitID'],this[_0x44cc3c(0x20d)],null,this[_0x44cc3c(0x199)],this['_handler'],_0x2f7d70);}};pe=$e([A(0x4,_0x1259a7(_0xa6ca3c)),A(0x5,_0x1259a7(_0x5730a1)),A(0x6,_0x1259a7(z)),A(0x7,_0x1259a7(Me)),A(0x8,_0xadcc6),A(0x9,_0x58c2c0),A(0xa,_0x3a37b7),A(0xb,_0x2a04be),A(0xc,_0x381e7e),A(0xd,_0x2d3235)],pe);let Te=class extends He{constructor(_0x2bbe74,_0x1d1a4c,_0x3d4320,_0x353987,_0x361670,_0x1abcba,_0x31d0dd,_0x4c7827,_0x129722,_0x3efcbf,_0x5b09b0){const _0x28d0c5=_0x5e3172;super(_0x2bbe74,_0x1d1a4c,_0x3d4320,[],_0x353987,_0x4c7827,_0x5b09b0,_0x1abcba,_0x31d0dd),g(this,_0x28d0c5(0x38b),_0x28d0c5(0x43d)),g(this,_0x28d0c5(0x4f6),0x0),g(this,_0x28d0c5(0x272)),g(this,_0x28d0c5(0x4da)),(this[_0x28d0c5(0x3b4)]=_0x361670,this['_logService']=_0x129722,this[_0x28d0c5(0x4ff)]=_0x3efcbf);}['appendMutation'](_0x3a1ff0){const _0x2b4fce=_0x5e3172;this[_0x2b4fce(0x3ca)]();const _0x384406=this[_0x2b4fce(0x3b4)][_0x2b4fce(0x13c)](me,this['unitID'],this[_0x2b4fce(0x20d)],this[_0x2b4fce(0x536)],[_0x3a1ff0],this['_handler'],this[_0x2b4fce(0x272)]);return _0x384406['_updateLocalCache'](),_0x384406;}[_0x5e3172(0x34a)](_0x10eea3){const _0x5ebc48=_0x5e3172;if(this[_0x5ebc48(0x4a4)](_0x10eea3))return this[_0x5ebc48(0x3ca)](),this['_injector'][_0x5ebc48(0x13c)](ce,this[_0x5ebc48(0x4e4)],this[_0x5ebc48(0x20d)],this['_awaitingChangeset'],[],null,[_0x10eea3],this['_handler']);try{const _0x218614=this[_0x5ebc48(0x4ff)][_0x5ebc48(0x530)]([_0x10eea3],[this[_0x5ebc48(0x536)]],!0x1);if(_0x1b6696(_0x218614)){const {c1Prime:_0x2cf2c4,c2Prime:_0x45c2be}=_0x218614;this[_0x5ebc48(0x2a3)](_0x2cf2c4[0x0]),_0x45c2be[0x0]['baseRev']=this[_0x5ebc48(0x20e)](),this[_0x5ebc48(0x3ca)]();const _0x51125f=this[_0x5ebc48(0x3b4)][_0x5ebc48(0x13c)](Te,this[_0x5ebc48(0x4e4)],this[_0x5ebc48(0x20d)],_0x45c2be[0x0],this['_handler']);return _0x51125f['_updateLocalCache'](),_0x51125f;}return this['_onConflict'](!0x1);}catch(_0x1dfe88){return this[_0x5ebc48(0x52d)]['error'](_0x1dfe88),this[_0x5ebc48(0x49d)](!0x1);}}[_0x5e3172(0x15c)](_0x4f80ce){const _0x58dcf4=_0x5e3172;this['_clearScheduledTask']();const _0x53777f=this[_0x58dcf4(0x2fd)][_0x58dcf4(0x30c)](this[_0x58dcf4(0x4e4)]);if(_0x4f80ce[_0x58dcf4(0x2ed)]<_0x53777f-0x1)return this;if(this[_0x58dcf4(0x4a4)](_0x4f80ce))return this[_0x58dcf4(0x3b4)][_0x58dcf4(0x13c)](ce,this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x58dcf4(0x231)]);this['_incrementRevisionNumber']();const _0x2a4f39=this[_0x58dcf4(0x3b4)][_0x58dcf4(0x13c)](Fe,this[_0x58dcf4(0x4e4)],this[_0x58dcf4(0x20d)],this[_0x58dcf4(0x231)]);return _0x2a4f39['_updateLocalCache'](),_0x2a4f39;}['onRemoteRej'](_0xfea293){const _0x1335dc=_0x5e3172;return this[_0x1335dc(0x49d)](!!(_0xfea293!=null&&_0xfea293['isPermissionRej']));}['onRemoteRetry'](_0x27539b){const _0x2422ce=_0x5e3172;return this[_0x2422ce(0x4f6)]>Xi?this[_0x2422ce(0x448)]():(this[_0x2422ce(0x272)]=zi(this[_0x2422ce(0x4f6)],{'timeout':this[_0x2422ce(0x4f6)],'reqId':_0x27539b[_0x2422ce(0x11c)]}),this[_0x2422ce(0x4da)]=this[_0x2422ce(0x272)]['subscribe'](({reqId:_0x494339,timeout:_0x14e3af})=>{const _0x5e4b04=_0x2422ce;this[_0x5e4b04(0x442)](_0x494339,_0x14e3af);}),this);}[_0x5e3172(0x448)](){const _0xabb7fa=_0x5e3172;return this[_0xabb7fa(0x3ca)](),this['_injector'][_0xabb7fa(0x13c)](Oe,this[_0xabb7fa(0x4e4)],this[_0xabb7fa(0x20d)],this[_0xabb7fa(0x536)],[],this['_handler']);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){const _0x21c8d0=_0x5e3172;this['_handler'][_0x21c8d0(0x26b)](this[_0x21c8d0(0x536)]);}[_0x5e3172(0x49d)](_0x5ba035){const _0x25ea86=_0x5e3172;return this['_clearScheduledTask'](),this[_0x25ea86(0x3b4)][_0x25ea86(0x13c)](Re,this[_0x25ea86(0x4e4)],this[_0x25ea86(0x20d)],this[_0x25ea86(0x536)],[],this[_0x25ea86(0x231)],_0x5ba035);}[_0x5e3172(0x442)](_0xbe3787,_0x14d3ba){const _0x17701c=_0x5e3172;var _0x48761c;_0xbe3787===((_0x48761c=this['_awaitingChangeset'])==null?void 0x0:_0x48761c[_0x17701c(0x11c)])&&(this[_0x17701c(0x430)](),this['_resendTimeout']=_0x14d3ba===0x0?0x3e8:_0x14d3ba*0x2);}[_0x5e3172(0x3ca)](){const _0x3b9b6a=_0x5e3172;var _0x49fc2c;(_0x49fc2c=this[_0x3b9b6a(0x4da)])==null||_0x49fc2c[_0x3b9b6a(0x527)](),this['_resendTimeout']=0x0;}};Te=$e([A(0x4,_0x1259a7(_0xa6ca3c)),A(0x5,_0x1259a7(_0x5730a1)),A(0x6,_0x1259a7(z)),A(0x7,_0x58c2c0),A(0x8,_0xadcc6),A(0x9,_0x2a04be),A(0xa,_0x2d3235)],Te);let me=class extends He{constructor(_0x8cc92d,_0x1e7f0f,_0x446910,_0x32f2e2,_0x3a550b,_0x3f336a,_0x31afcd,_0x506c9d,_0x4f7a5b,_0x37c9af,_0x5dc825,_0x317b42,_0x3359d6){const _0x57fad6=_0x5e3172;super(_0x8cc92d,_0x1e7f0f,_0x446910,_0x32f2e2,_0x3a550b,_0x37c9af,_0x3359d6,_0x506c9d,_0x4f7a5b),g(this,'status','awaiting_with_pending'),g(this,_0x57fad6(0x4f6),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x57fad6(0x3b4)]=_0x31afcd,this[_0x57fad6(0x52d)]=_0x5dc825,this[_0x57fad6(0x4ff)]=_0x317b42,_0x3f336a&&(this['_resendTimer']=_0x3f336a,this[_0x57fad6(0x4da)]=this[_0x57fad6(0x272)][_0x57fad6(0x134)](({reqId:_0x285682,timeout:_0x13216d})=>{const _0x3750e8=_0x57fad6;this[_0x3750e8(0x442)](_0x285682,_0x13216d);})));}['appendMutation'](_0x45beb7){const _0x3af237=_0x5e3172;return this[_0x3af237(0x199)][_0x3af237(0x38e)](_0x45beb7),this;}[_0x5e3172(0x34a)](_0x42972f){const _0x11f7f2=_0x5e3172;if(this['_checkMissing'](_0x42972f))return this[_0x11f7f2(0x3ca)](),this['_injector'][_0x11f7f2(0x13c)](ce,this[_0x11f7f2(0x4e4)],this[_0x11f7f2(0x20d)],this[_0x11f7f2(0x536)],this[_0x11f7f2(0x199)],null,[_0x42972f],this[_0x11f7f2(0x231)]);try{const _0x2c1680=this[_0x11f7f2(0x4ff)]['transformChangesets']([_0x42972f],[this[_0x11f7f2(0x536)]],!0x1);if(_0x1b6696(_0x2c1680)){const {c1Prime:_0x1f9bde,c2Prime:_0x363237}=_0x2c1680,_0x2316a2=this[_0x11f7f2(0x4ff)][_0x11f7f2(0x4a6)](_0x1f9bde[0x0],this[_0x11f7f2(0x199)]);if(_0x17cfb3(_0x2316a2)){const {c1Prime:_0xc143d,m2Prime:_0x19b1eb}=_0x2316a2;return this['_executeRemoteChangeset'](_0xc143d),_0x363237[0x0]['baseRev']=this[_0x11f7f2(0x20e)](),this[_0x11f7f2(0x3ca)](),this[_0x11f7f2(0x3b4)][_0x11f7f2(0x13c)](me,this['unitID'],this['type'],_0x363237[0x0],_0x19b1eb,this[_0x11f7f2(0x231)],void 0x0);}throw _0x2316a2[_0x11f7f2(0x295)];}throw _0x2c1680[_0x11f7f2(0x295)];}catch(_0x36e4e0){return this['_logService'][_0x11f7f2(0x295)](_0x36e4e0),this[_0x11f7f2(0x49d)](!0x1);}}['onRemoteAck'](_0x663cbb){const _0x1ea889=_0x5e3172;if(this['_clearScheduledTask'](),this[_0x1ea889(0x4a4)](_0x663cbb))return this[_0x1ea889(0x3b4)][_0x1ea889(0x13c)](ce,this[_0x1ea889(0x4e4)],this[_0x1ea889(0x20d)],null,this[_0x1ea889(0x199)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xc3cda3=this[_0x1ea889(0x3b4)][_0x1ea889(0x13c)](pe,this['unitID'],this[_0x1ea889(0x20d)],this[_0x1ea889(0x199)],this['_handler']);return _0xc3cda3[_0x1ea889(0x43f)](),_0xc3cda3['_updateLocalCache'](),_0xc3cda3;}['onRemoteRej'](_0xeab0c){const _0x56c507=_0x5e3172;return this[_0x56c507(0x49d)](!!(_0xeab0c!=null&&_0xeab0c[_0x56c507(0x3f9)]));}[_0x5e3172(0x36b)](_0x449dbc){const _0x1ec292=_0x5e3172;return this['_resendTimeout']>Xi?this['toggleOffline']():(this[_0x1ec292(0x272)]=zi(this[_0x1ec292(0x4f6)],{'timeout':this[_0x1ec292(0x4f6)],'reqId':_0x449dbc[_0x1ec292(0x11c)]}),this[_0x1ec292(0x4da)]=this[_0x1ec292(0x272)][_0x1ec292(0x134)](({reqId:_0x6ff21b,timeout:_0x5dbf92})=>{const _0x176127=_0x1ec292;this[_0x176127(0x442)](_0x6ff21b,_0x5dbf92);}),this);}[_0x5e3172(0x448)](){const _0x5050d9=_0x5e3172;return this['_clearScheduledTask'](),this[_0x5050d9(0x3b4)][_0x5050d9(0x13c)](Oe,this[_0x5050d9(0x4e4)],this[_0x5050d9(0x20d)],this[_0x5050d9(0x536)],this['_pendingMutations'],this[_0x5050d9(0x231)]);}['toggleOnline'](){return this;}[_0x5e3172(0x430)](){const _0x14df74=_0x5e3172;this[_0x14df74(0x231)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5e3172(0x49d)](_0x8d8bb0){const _0x330a38=_0x5e3172;return this['_clearScheduledTask'](),this[_0x330a38(0x3b4)]['createInstance'](Re,this[_0x330a38(0x4e4)],this[_0x330a38(0x20d)],null,this[_0x330a38(0x199)],this[_0x330a38(0x231)],_0x8d8bb0);}[_0x5e3172(0x442)](_0x588632,_0x3d607b){const _0x451a4a=_0x5e3172;var _0x38adca;_0x588632===((_0x38adca=this[_0x451a4a(0x536)])==null?void 0x0:_0x38adca[_0x451a4a(0x11c)])&&(this['resend'](),this['_resendTimeout']=_0x3d607b===0x0?0x3e8:_0x3d607b*0x2);}[_0x5e3172(0x3ca)](){const _0x3fe543=_0x5e3172;var _0x3d7311;(_0x3d7311=this['_sender'])==null||_0x3d7311[_0x3fe543(0x527)](),this[_0x3fe543(0x4f6)]=0x0;}};me=$e([A(0x6,_0x1259a7(_0xa6ca3c)),A(0x7,_0x1259a7(_0x5730a1)),A(0x8,_0x1259a7(z)),A(0x9,_0x58c2c0),A(0xa,_0xadcc6),A(0xb,_0x2a04be),A(0xc,_0x2d3235)],me);let Re=class extends He{constructor(_0x2c9bdd,_0x16788f,_0x3b4429,_0x335088,_0x386bb8,_0x5bb3af=!0x1,_0x4fc63f,_0x53cd5a,_0x143d4a,_0xd4d137,_0x22f7e5,_0x4523f4,_0x3d5cbc){const _0x1834b4=_0x5e3172;super(_0x2c9bdd,_0x16788f,_0x3b4429,_0x335088,_0x386bb8,_0x53cd5a,_0x143d4a,_0x22f7e5,_0xd4d137),g(this,'status',_0x1834b4(0x1a5)),(this[_0x1834b4(0x4c1)]=_0x5bb3af,this[_0x1834b4(0x366)]=_0x4fc63f,this['_localeService']=_0x4523f4,this['_notificationService']=_0x3d5cbc,this['_showConflictNotification'](),this[_0x1834b4(0x118)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x5e3172(0x34a)](){return this;}[_0x5e3172(0x15c)](){return this;}[_0x5e3172(0x3b3)](){return this;}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){return this;}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x1f722a=_0x5e3172;this['_localCacheService'][_0x1f722a(0x422)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){const _0x3cc404=_0x5e3172;this['_isPermissionRej']?this[_0x3cc404(0x149)][_0x3cc404(0x4b7)]({'title':this[_0x3cc404(0x48a)]['t'](_0x3cc404(0x450)),'content':this['_localeService']['t'](_0x3cc404(0x50c)),'type':_0x3cc404(0x295),'duration':0x0}):this[_0x3cc404(0x149)][_0x3cc404(0x4b7)]({'title':this[_0x3cc404(0x48a)]['t'](_0x3cc404(0x4f9)),'content':this[_0x3cc404(0x48a)]['t']('conflict.content'),'type':_0x3cc404(0x295),'duration':0x0});}[_0x5e3172(0x373)](){const _0x3e1849=_0x5e3172;this['_permissionService'][_0x3e1849(0x299)](new _0x1a4341(this['unitID'])['id'],!0x1);}};Re=$e([A(0x6,_0x1259a7(_0x51028f)),A(0x7,_0x58c2c0),A(0x8,_0x2d3235),A(0x9,_0x1259a7(z)),A(0xa,_0x1259a7(_0x5730a1)),A(0xb,_0x1259a7(_0x56a2bf)),A(0xc,_0xe36565)],Re);let Oe=class extends He{constructor(_0x264cdb,_0x543306,_0x1245b7,_0x433852,_0x3adc6c,_0x54d3bd,_0x19f6a4,_0x333285,_0x14fc2d,_0x5567b0){const _0x34dc50=_0x5e3172;super(_0x264cdb,_0x543306,_0x1245b7,_0x433852,_0x3adc6c,_0x14fc2d,_0x5567b0,_0x19f6a4,_0x333285),g(this,_0x34dc50(0x38b),_0x34dc50(0x11b)),this[_0x34dc50(0x3b4)]=_0x54d3bd;}[_0x5e3172(0x144)](_0x170100){const _0x4c763d=_0x5e3172;return this[_0x4c763d(0x199)][_0x4c763d(0x38e)](_0x170100),this[_0x4c763d(0x324)](),this;}[_0x5e3172(0x34a)](_0x20dbf0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x18bec3=_0x5e3172;throw new Error(_0x18bec3(0x343));}['onRemoteRej'](){const _0x2bd4a6=_0x5e3172;throw new Error(_0x2bd4a6(0x416));}['onRemoteRetry'](){return this;}[_0x5e3172(0x448)](){return this;}[_0x5e3172(0x1a7)](){const _0x1691f2=_0x5e3172,{_injector:_0x43733c,_pendingMutations:_0x23a8d2,_awaitingChangeset:_0x5490d7,unitID:_0x56b526,_handler:_0x321bf6,type:_0x5392da}=this,_0x3df492=Ji(_0x43733c,_0x56b526,_0x5392da,_0x5490d7,_0x23a8d2,_0x321bf6);return _0x3df492 instanceof pe?_0x3df492['_schedule']():(_0x3df492 instanceof me||_0x3df492 instanceof Te)&&_0x3df492[_0x1691f2(0x430)](),_0x3df492;}[_0x5e3172(0x430)](){const _0x378904=_0x5e3172;throw new Error(_0x378904(0x48e));}};Oe=$e([A(0x5,_0x1259a7(_0xa6ca3c)),A(0x6,_0x1259a7(_0x5730a1)),A(0x7,_0x1259a7(z)),A(0x8,_0x58c2c0),A(0x9,_0x2d3235)],Oe);let ce=class extends He{constructor(_0x2b563a,_0x59dac9,_0x126385,_0x1385d7,_0x5dbe70,_0x239297,_0x117eed,_0x58eee9,_0x1a876a,_0xfd8cc,_0xdfd309,_0x470239,_0x54372b,_0x3333ca){const _0x463e47=_0x5e3172;super(_0x2b563a,_0x59dac9,_0x126385,_0x1385d7,_0x117eed,_0x470239,_0x54372b,_0x1a876a,_0xfd8cc),g(this,_0x463e47(0x38b),_0x463e47(0x45f)),(this[_0x463e47(0x3fe)]=_0x5dbe70,this[_0x463e47(0x52c)]=_0x239297,this[_0x463e47(0x3b4)]=_0x58eee9,this[_0x463e47(0x52d)]=_0xdfd309,this[_0x463e47(0x4ff)]=_0x3333ca);}[_0x5e3172(0x25b)](_0x11ce24){const _0x9bb1cd=_0x5e3172;try{const _0x38bc43=[..._0x11ce24,...this[_0x9bb1cd(0x52c)]],_0x43403a=[this[_0x9bb1cd(0x536)]||this[_0x9bb1cd(0x3fe)]][_0x9bb1cd(0x1fe)](_0x3a0c89=>!!_0x3a0c89);let _0x5f247e,_0x27dd3f;if(_0x43403a[_0x9bb1cd(0x2c8)]){const _0x377b16=this[_0x9bb1cd(0x4ff)][_0x9bb1cd(0x530)](_0x38bc43,_0x43403a,!0x1);if(!_0x1b6696(_0x377b16))throw _0x377b16[_0x9bb1cd(0x295)];_0x5f247e=_0x377b16[_0x9bb1cd(0x1e7)],_0x27dd3f=_0x377b16[_0x9bb1cd(0x39c)];}else _0x5f247e=_0x38bc43,_0x27dd3f=[];let _0x373c41=this[_0x9bb1cd(0x199)];_0x5f247e['forEach'](_0x5c5386=>{const _0x422f4e=_0x9bb1cd;let _0x244469;if(_0x373c41[_0x422f4e(0x2c8)]){const _0x178a32=this[_0x422f4e(0x4ff)][_0x422f4e(0x4a6)](_0x5c5386,_0x373c41);if(!_0x17cfb3(_0x178a32))throw _0x178a32[_0x422f4e(0x295)];_0x244469=_0x178a32[_0x422f4e(0x1e7)],_0x373c41=_0x178a32['m2Prime'];}else _0x244469=_0x5c5386;this[_0x422f4e(0x2a3)](_0x244469);}),this[_0x9bb1cd(0x3fe)]&&this[_0x9bb1cd(0x3ac)](),this[_0x9bb1cd(0x536)]&&_0x27dd3f[_0x9bb1cd(0x2c8)]&&(_0x27dd3f[0x0][_0x9bb1cd(0x214)]=this['_getCurrentRevision']());let _0x4f198e;if(this[_0x9bb1cd(0x536)]&&_0x373c41[_0x9bb1cd(0x2c8)]!==0x0)_0x4f198e=this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](me,this[_0x9bb1cd(0x4e4)],this[_0x9bb1cd(0x20d)],_0x27dd3f[0x0],_0x373c41,this[_0x9bb1cd(0x231)],void 0x0);else{if(this['_awaitingChangeset']&&_0x373c41[_0x9bb1cd(0x2c8)]===0x0)_0x27dd3f[0x0][_0x9bb1cd(0x214)]=this['_getCurrentRevision'](),_0x4f198e=this['_injector'][_0x9bb1cd(0x13c)](Te,this[_0x9bb1cd(0x4e4)],this[_0x9bb1cd(0x20d)],_0x27dd3f[0x0],this['_handler']);else{if(_0x373c41['length']!==0x0){const _0x845884=this[_0x9bb1cd(0x3b4)]['createInstance'](pe,this[_0x9bb1cd(0x4e4)],this['type'],_0x373c41,this[_0x9bb1cd(0x231)]);_0x845884[_0x9bb1cd(0x43f)](),_0x4f198e=_0x845884;}else _0x4f198e=this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](Fe,this[_0x9bb1cd(0x4e4)],this['type'],this[_0x9bb1cd(0x231)]);}}return _0x4f198e[_0x9bb1cd(0x324)](),_0x4f198e;}catch(_0x45ecf1){return this[_0x9bb1cd(0x52d)]['error'](_0x9bb1cd(0x1d3),_0x9bb1cd(0x37d),_0x45ecf1),this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](Re,this['unitID'],this['type'],this[_0x9bb1cd(0x536)],this[_0x9bb1cd(0x199)],this['_handler'],!0x1);}}[_0x5e3172(0x430)](){const _0x1a4be7=_0x5e3172;throw new Error(_0x1a4be7(0x509));}[_0x5e3172(0x144)](_0x54f31e){const _0x4be4d1=_0x5e3172;return this[_0x4be4d1(0x199)]['push'](_0x54f31e),this;}[_0x5e3172(0x34a)](_0x55c7d8){const _0x42cba8=_0x5e3172;return this[_0x42cba8(0x52c)][_0x42cba8(0x38e)](_0x55c7d8),this;}['onRemoteAck'](_0x2c9365){const _0x3fb59e=_0x5e3172;if(this[_0x3fb59e(0x536)])return this[_0x3fb59e(0x3fe)]=this[_0x3fb59e(0x536)],this[_0x3fb59e(0x536)]=null,this;throw new Error(_0x3fb59e(0x2a4));}[_0x5e3172(0x3b3)](_0x2e0b2c){const _0x42ac6c=_0x5e3172;return this[_0x42ac6c(0x49d)](!!(_0x2e0b2c!=null&&_0x2e0b2c[_0x42ac6c(0x3f9)]));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x47a045=_0x5e3172;return this[_0x47a045(0x3b4)][_0x47a045(0x13c)](Oe,this[_0x47a045(0x4e4)],this[_0x47a045(0x20d)],this[_0x47a045(0x536)],this[_0x47a045(0x199)],this[_0x47a045(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x49d)](_0x4932e0){const _0x430cb0=_0x5e3172;return this['_injector'][_0x430cb0(0x13c)](Re,this[_0x430cb0(0x4e4)],this[_0x430cb0(0x20d)],this[_0x430cb0(0x536)],this[_0x430cb0(0x199)],this[_0x430cb0(0x231)],_0x4932e0);}};ce=$e([A(0x7,_0x1259a7(_0xa6ca3c)),A(0x8,_0x1259a7(_0x5730a1)),A(0x9,_0x1259a7(z)),A(0xa,_0xadcc6),A(0xb,_0x58c2c0),A(0xc,_0x2d3235),A(0xd,_0x2a04be)],ce);function Ji(_0xe8dcb8,_0x2561df,_0x3536d4,_0x17bb12,_0x252534,_0x1ec138){const _0x212689=_0x5e3172;return _0x17bb12&&_0x252534[_0x212689(0x2c8)]?_0xe8dcb8[_0x212689(0x13c)](me,_0x2561df,_0x3536d4,_0x17bb12,_0x252534,_0x1ec138,void 0x0):_0x17bb12?_0xe8dcb8[_0x212689(0x13c)](Te,_0x2561df,_0x3536d4,_0x17bb12,_0x1ec138):_0x252534[_0x212689(0x2c8)]?_0xe8dcb8[_0x212689(0x13c)](pe,_0x2561df,_0x3536d4,_0x252534,_0x1ec138):_0xe8dcb8[_0x212689(0x13c)](Fe,_0x2561df,_0x3536d4,_0x1ec138);}var Mo=Object[_0x5e3172(0x243)],xo=Object[_0x5e3172(0x26f)],Ps=(_0x3a1bac,_0x3c609c,_0x1b2b85,_0x2c2abf)=>{const _0x5d33da=_0x5e3172;for(var _0x330d2b=_0x2c2abf>0x1?void 0x0:_0x2c2abf?xo(_0x3c609c,_0x1b2b85):_0x3c609c,_0x2203e9=_0x3a1bac[_0x5d33da(0x2c8)]-0x1,_0x1aa53b;_0x2203e9>=0x0;_0x2203e9--)(_0x1aa53b=_0x3a1bac[_0x2203e9])&&(_0x330d2b=(_0x2c2abf?_0x1aa53b(_0x3c609c,_0x1b2b85,_0x330d2b):_0x1aa53b(_0x330d2b))||_0x330d2b);return _0x2c2abf&&_0x330d2b&&Mo(_0x3c609c,_0x1b2b85,_0x330d2b),_0x330d2b;},H=(_0x580e1e,_0x30bc56)=>(_0x380d1d,_0x3b636c)=>_0x30bc56(_0x380d1d,_0x3b636c,_0x580e1e);let Nt=class extends _0x5ce84d{constructor(_0x4b2364,_0x520f55,_0x527ec5,_0x4694be,_0xf57beb,_0x3332cd,_0x5a4f8d,_0x45c727,_0x2ace9a,_0x2702aa,_0x4923eb,_0x4f4d4d,_0x45183e){const _0x86def1=_0x5e3172;super(),g(this,_0x86def1(0x158),new _0xd0d94b(null)),g(this,'state$',this[_0x86def1(0x158)][_0x86def1(0x306)]()),g(this,_0x86def1(0x3c6)),g(this,_0x86def1(0x4c2),!0x1),g(this,_0x86def1(0x34f),''),g(this,_0x86def1(0x409),0x0),g(this,_0x86def1(0x52f),this['state$']['pipe'](_0x461042(_0x50ad14=>_0x50ad14?_0x50ad14[_0x86def1(0x38b)]:J[_0x86def1(0x4d7)]),_0x55695a(0x1))),g(this,_0x86def1(0x162),!0x1),g(this,_0x86def1(0x4bd),[]),(this[_0x86def1(0x4e4)]=_0x4b2364,this[_0x86def1(0x4a7)]=_0x520f55,this[_0x86def1(0x183)]=_0x527ec5,this[_0x86def1(0x3b4)]=_0x4694be,this['_localCacheService']=_0xf57beb,this[_0x86def1(0x3f0)]=_0x3332cd,this['_localeService']=_0x5a4f8d,this[_0x86def1(0x2fd)]=_0x45c727,this[_0x86def1(0x52d)]=_0x2ace9a,this[_0x86def1(0x327)]=_0x2702aa,this[_0x86def1(0x1ee)]=_0x4923eb,this[_0x86def1(0x366)]=_0x4f4d4d,this[_0x86def1(0x4d2)]=_0x45183e);}get['state'](){return this['_state'];}async[_0x5e3172(0x433)](){const _0x58b67d=_0x5e3172;if(this[_0x58b67d(0x3e5)])throw new Error(_0x58b67d(0x46c));await this[_0x58b67d(0x1d2)]();}['pauseCollaboration'](){const _0x5aa0ef=_0x5e3172;return this[_0x5aa0ef(0x4c2)]=!0x0,_0x38e5fb(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5e3172(0x2b2)](_0x301e14){const _0x16b7b9=_0x5e3172;this[_0x16b7b9(0x3c6)]=_0x301e14,this[_0x16b7b9(0x158)]['next'](_0x301e14);}async[_0x5e3172(0x1d2)](){const _0x3306fc=_0x5e3172;var _0xbabfc0;this[_0x3306fc(0x2b2)](await this[_0x3306fc(0x1a0)]()),this['_singleActiveUnitService']&&((_0xbabfc0=this['_singleActiveUnitService'])==null||_0xbabfc0[_0x3306fc(0x203)](this[_0x3306fc(0x4e4)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x3306fc(0x395)](this[_0x3306fc(0x4e4)])[_0x3306fc(0x134)](_0x5bb347=>{const _0x49a09d=_0x3306fc;this[_0x49a09d(0x52d)][_0x49a09d(0x16d)](_0x49a09d(0x43a),'editing\x20status\x20changed\x20to',_0x5bb347),_0x5bb347===Ki['OTHER_CLIENTS_EDITING']?(this[_0x49a09d(0x1ee)]['show']({'content':this[_0x49a09d(0x48a)]['t'](_0x49a09d(0x464)),'type':_0x59169d[_0x49a09d(0x18b)]}),this[_0x49a09d(0x366)][_0x49a09d(0x299)](new _0x1a4341(this[_0x49a09d(0x4e4)])['id'],!0x1),this[_0x49a09d(0x366)][_0x49a09d(0x309)](!0x1)):(this[_0x49a09d(0x366)][_0x49a09d(0x299)](new _0x1a4341(this[_0x49a09d(0x4e4)])['id'],!0x0),this[_0x49a09d(0x366)][_0x49a09d(0x309)](!0x0));})));let _0x1a4e6c=!0x1;return this[_0x3306fc(0x2d9)](this[_0x3306fc(0x4a7)]['sessionStatus$'][_0x3306fc(0x134)](_0x11e3c8=>{const _0x382745=_0x3306fc;_0x11e3c8===fe['ONLINE']?this[_0x382745(0x235)](_0x1a4e6c):_0x11e3c8===fe[_0x382745(0x4d7)]&&(_0x1a4e6c=!0x0,this[_0x382745(0x2bd)]());})),this[_0x3306fc(0x2d9)](this[_0x3306fc(0x4a7)][_0x3306fc(0x2c6)][_0x3306fc(0x134)](_0x3ab282=>{const _0x2379d8=_0x3306fc;try{switch(_0x3ab282[_0x2379d8(0x451)]){case _0x385814[_0x2379d8(0x331)]:{this['_onRemoteChangeset'](_0x5e0840(_0x3ab282[_0x2379d8(0x288)]));break;}case _0x385814[_0x2379d8(0x2e5)]:{this['_onRemoteACK'](_0x3ab282[_0x2379d8(0x288)]);break;}case _0x385814[_0x2379d8(0x2f4)]:{this[_0x2379d8(0x10d)]();break;}case _0x385814[_0x2379d8(0x155)]:{this[_0x2379d8(0x46f)](_0x3ab282[_0x2379d8(0x288)]);break;}case _0x385814[_0x2379d8(0x46d)]:{this['_onFetchMissResult'](_0x3ab282[_0x2379d8(0x288)][_0x2379d8(0x3fd)][_0x2379d8(0x2b4)](_0x11241e=>_0x5e0840(_0x11241e)));break;}case _0x385814[_0x2379d8(0x3e9)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x12e077){throw console[_0x2379d8(0x295)](_0x2379d8(0x3a9),_0x12e077),_0x12e077;}})),this[_0x3306fc(0x3c6)];}[_0x5e3172(0x229)](){const _0x46814c=_0x5e3172;this[_0x46814c(0x162)]=!0x1;}[_0x5e3172(0x4cc)](){const _0x35e46f=_0x5e3172;if(this[_0x35e46f(0x162)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x5e3172(0x4a3)](_0x5f4772){const _0x224a98=_0x5e3172;this[_0x224a98(0x4cc)](),this[_0x224a98(0x2b2)](this[_0x224a98(0x3c6)][_0x224a98(0x144)](_0x5f4772)),this['_unlockTransition']();}[_0x5e3172(0x1ab)](_0x1f5c9f){const _0x88c1fc=_0x5e3172;if(!(_0x1f5c9f[_0x88c1fc(0x2ed)]<=this[_0x88c1fc(0x2fd)][_0x88c1fc(0x30c)](this[_0x88c1fc(0x4e4)]))){if(this[_0x88c1fc(0x4c2)]){this['_remoteChangesetQueue'][_0x88c1fc(0x38e)](_0x1f5c9f);return;}this[_0x88c1fc(0x380)](_0x1f5c9f);}}[_0x5e3172(0x117)](){const _0x2ccd77=_0x5e3172;this['_remoteChangesetQueue'][_0x2ccd77(0x356)](_0x4f8e18=>this[_0x2ccd77(0x380)](_0x4f8e18)),this[_0x2ccd77(0x4bd)]=[];}['_applyRemoteChangeset'](_0x45f26f){const _0x42f667=_0x5e3172,_0xb8eca4=this[_0x42f667(0x3f0)][_0x42f667(0x110)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x42f667(0x110)][_0x42f667(0x1ff)]()[_0x42f667(0x410)])(_0x45f26f[_0x42f667(0x1b2)],null)||_0x45f26f[_0x42f667(0x1b2)],_0x81b871={..._0x45f26f,'mutations':_0xb8eca4};this[_0x42f667(0x4cc)](),this[_0x42f667(0x2b2)](this[_0x42f667(0x3c6)][_0x42f667(0x34a)](_0x81b871)),this[_0x42f667(0x229)]();}[_0x5e3172(0x4c5)](_0x3fe4e1){const _0x5ea9fd=_0x5e3172;this['_lockTransition'](),this[_0x5ea9fd(0x2b2)](this['_state'][_0x5ea9fd(0x15c)](_0x3fe4e1)),this[_0x5ea9fd(0x229)]();}[_0x5e3172(0x10d)](_0x3319a3){const _0xc3f2fe=_0x5e3172;this['_lockTransition'](),this['_updateState'](this[_0xc3f2fe(0x3c6)][_0xc3f2fe(0x3b3)](_0x3319a3)),this['_unlockTransition']();}['_onRemoteRetry'](_0x4ae348){const _0x2e377b=_0x5e3172;this[_0x2e377b(0x4cc)](),this[_0x2e377b(0x2b2)](this['_state'][_0x2e377b(0x36b)](_0x4ae348)),this[_0x2e377b(0x229)]();}[_0x5e3172(0x401)](_0x25f388){const _0x16ff0e=_0x5e3172;if(!(this[_0x16ff0e(0x3c6)]instanceof ce))throw new TypeError(_0x16ff0e(0x475));const _0x342b97=_0x25f388[_0x16ff0e(0x2b4)](_0x53890d=>{const _0x49ef6c=_0x16ff0e,_0x3ded77=this[_0x49ef6c(0x3f0)]['interceptor'][_0x49ef6c(0x37e)](this['_compressMutationService']['interceptor'][_0x49ef6c(0x1ff)]()[_0x49ef6c(0x410)])(_0x53890d[_0x49ef6c(0x1b2)],null)||_0x53890d[_0x49ef6c(0x1b2)];return{..._0x53890d,'mutations':_0x3ded77};});this['_lockTransition'](),this['_updateState'](this[_0x16ff0e(0x3c6)]['onMissedChangesetFetched'](_0x342b97)),this[_0x16ff0e(0x229)]();}[_0x5e3172(0x2bd)](){const _0x5cb585=_0x5e3172;this[_0x5cb585(0x4cc)](),this[_0x5cb585(0x2b2)](this[_0x5cb585(0x3c6)][_0x5cb585(0x448)]()),this[_0x5cb585(0x229)]();}[_0x5e3172(0x235)](_0x46e1f8=!0x1){const _0x988520=_0x5e3172;this['_lockTransition'](),this[_0x988520(0x2b2)](this[_0x988520(0x3c6)]['toggleOnline']()),this[_0x988520(0x229)]();const _0x196861=this[_0x988520(0x3c6)];_0x46e1f8&&_0x196861 instanceof Fe&&(this[_0x988520(0x4cc)](),this['_updateState'](_0x196861['fetchMiss']()),this[_0x988520(0x229)]());}async[_0x5e3172(0x1a0)](){return new Promise(_0x20fa0d=>{const _0x17799b=_0x1eb2;this['session'][_0x17799b(0x18c)][_0x17799b(0x4b6)](_0x3decc5(0x1))[_0x17799b(0x134)](async _0x3ecfb3=>{const _0x29182b=_0x17799b;_0x20fa0d(await this['_createInitialStateImpl'](_0x3ecfb3===fe[_0x29182b(0x2e2)]));});});}['_createHandler'](){const _0x55c9f2=_0x5e3172,_0x264c90=this[_0x55c9f2(0x4e4)];return{'onStateChange':(_0xa321d3,_0x342f0b)=>{const _0x37ccbb=_0x55c9f2;if(_0xa321d3!==this[_0x37ccbb(0x3c6)])throw new Error(_0x37ccbb(0x240)+_0xa321d3[_0x37ccbb(0x38b)]+_0x37ccbb(0x3d0)+_0x342f0b[_0x37ccbb(0x38b)]+_0x37ccbb(0x159)+this[_0x37ccbb(0x3c6)][_0x37ccbb(0x38b)]);this[_0x37ccbb(0x2b2)](_0x342f0b);},'onSendChangeset':_0xce5de1=>{const _0x482085=_0x55c9f2;_0xce5de1[_0x482085(0x12c)]||(_0xce5de1[_0x482085(0x12c)]=this[_0x482085(0x34f)],_0xce5de1[_0x482085(0x11c)]=++this[_0x482085(0x409)]);const _0x5e5a24={'eventID':_0x385814[_0x482085(0x27a)],'data':{'unitID':_0xce5de1[_0x482085(0x4e4)],'unitType':this[_0x482085(0x183)],'changeset':_0xce5de1,'memberID':this[_0x482085(0x4a7)]['getMemberID']()}};this[_0x482085(0x4a7)][_0x482085(0x3e0)](_0x5e5a24,this['unitID']);},'onMissingChangesets':({from:_0x27e365,to:_0x3c8fe6})=>{const _0x4938f1=_0x55c9f2;this['_logService'][_0x4938f1(0x16d)](_0x4938f1(0x43a),'fetching\x20missing\x20changesets\x20from\x20'+_0x27e365+'\x20to\x20'+_0x3c8fe6);const _0x1d9605={'eventID':_0x385814['FETCH_MISSING'],'data':{'unitID':_0x264c90,'unitType':this[_0x4938f1(0x183)],'from':_0x27e365,'to':_0x3c8fe6}};this['session'][_0x4938f1(0x3e0)](_0x1d9605,this['unitID']);}};}async[_0x5e3172(0x339)](_0x50c038){const _0x40d8dc=_0x5e3172;var _0x4038d1,_0x1bb405;const _0x4f0895=await this[_0x40d8dc(0x32a)]['loadOfflineData'](this[_0x40d8dc(0x4e4)]),_0x6aa9f6=(_0x4038d1=_0x4f0895==null?void 0x0:_0x4f0895[_0x40d8dc(0x1b2)])!=null?_0x4038d1:[],_0x429394=(_0x1bb405=_0x4f0895==null?void 0x0:_0x4f0895['awaitingChangeset'])!=null?_0x1bb405:null,_0x5f5094=!!(_0x429394!=null&&_0x429394[_0x40d8dc(0x12c)])&&!!(_0x429394!=null&&_0x429394[_0x40d8dc(0x11c)]);this[_0x40d8dc(0x34f)]=_0x5f5094?_0x429394[_0x40d8dc(0x12c)]:ho(),this[_0x40d8dc(0x409)]=_0x5f5094?_0x429394['reqId']:0x0;const _0x4b8ad3=this['unitID'];try{this[_0x40d8dc(0x502)](_0x429394,_0x6aa9f6);}catch(_0x71a95b){this[_0x40d8dc(0x52d)][_0x40d8dc(0x295)](_0x71a95b);}const _0x59c0d2=this['_createHandler']();if(_0x50c038){const _0x2910c1=Ji(this['_injector'],_0x4b8ad3,this[_0x40d8dc(0x183)],_0x429394,_0x6aa9f6,_0x59c0d2);return _0x2910c1 instanceof pe?_0x2910c1[_0x40d8dc(0x43f)]():(_0x2910c1 instanceof me||_0x2910c1 instanceof Te)&&_0x2910c1[_0x40d8dc(0x430)](),_0x2910c1;}return this[_0x40d8dc(0x3b4)]['createInstance'](Oe,_0x4b8ad3,this[_0x40d8dc(0x183)],_0x429394,_0x6aa9f6,_0x59c0d2);}[_0x5e3172(0x502)](_0x3f840b,_0x3f557e){const _0x325aaa=_0x5e3172;var _0x226371,_0x107ec8;const _0x5083f1=this[_0x325aaa(0x3f0)][_0x325aaa(0x110)][_0x325aaa(0x37e)](this[_0x325aaa(0x3f0)][_0x325aaa(0x110)][_0x325aaa(0x1ff)]()[_0x325aaa(0x410)]);(_0x226371=_0x5083f1((_0x3f840b==null?void 0x0:_0x3f840b['mutations'])||[],null))==null||_0x226371[_0x325aaa(0x356)](_0x435f54=>this[_0x325aaa(0x327)][_0x325aaa(0x266)](_0x435f54['id'],_0x435f54[_0x325aaa(0x436)])),(_0x107ec8=_0x5083f1(_0x3f557e||[],null))==null||_0x107ec8[_0x325aaa(0x356)](_0x4b179b=>this[_0x325aaa(0x327)][_0x325aaa(0x266)](_0x4b179b['id'],_0x4b179b[_0x325aaa(0x436)]));}};Nt=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0xadcc6),H(0x9,_0x58c2c0),H(0xa,_0x28a2c3),H(0xb,_0x51028f),H(0xc,_0x2f5f30(jt))],Nt);let ls=class extends Nt{constructor(_0xc9588f,_0x59ff8e,_0x40941b,_0xba3897,_0x267b5e,_0x57f267,_0x47a7cc,_0x2cf2c9,_0x310814,_0x58cf35,_0x1d66c1,_0xb925ac,_0x26a0e9,_0x54640d,_0x343359,_0x564d73,_0x1a6c4e,_0x286af1){const _0x41b7d2=_0x5e3172;super(_0xc9588f,_0x40941b,_0x59ff8e,_0xba3897,_0x267b5e,_0x57f267,_0x47a7cc,_0x2cf2c9,_0x54640d,_0x343359,_0x564d73,_0x1a6c4e,_0x286af1),this['unitID']=_0xc9588f,this['type']=_0x59ff8e,this[_0x41b7d2(0x3dd)]=_0x310814,this['_docTransformIMECacheService']=_0x58cf35,this['_docTransformStateCacheService']=_0x1d66c1,this[_0x41b7d2(0x26d)]=_0xb925ac,this['_docSyncEditingCollabCursorService']=_0x26a0e9;}['_createHandler'](){const _0x98899a=_0x5e3172,_0x389975=super[_0x98899a(0x35e)]();return _0x389975[_0x98899a(0x408)]=_0x3c4c8a=>this['_docTransformIMECacheService']['transformIMECache'](_0x3c4c8a),_0x389975['onTransformState']=_0x440691=>this[_0x98899a(0x2ae)]['transformStateCache'](_0x440691),_0x389975[_0x98899a(0x1bf)]=_0x4469b7=>this[_0x98899a(0x26d)][_0x98899a(0x385)](_0x4469b7),_0x389975[_0x98899a(0x1ca)]=_0x5f1895=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5f1895),_0x389975[_0x98899a(0x461)]=_0x15f9d5=>this[_0x98899a(0x2e7)]['transformRemoteChangeset'](_0x15f9d5),_0x389975[_0x98899a(0x4dc)]=_0x19cf46=>this[_0x98899a(0x2ae)][_0x98899a(0x3a2)](_0x19cf46),_0x389975;}async['_init'](){const _0x1deafd=_0x5e3172,_0x5aca9a=await super[_0x1deafd(0x1d2)]();return this['disposeWithMe'](this[_0x1deafd(0x3dd)][_0x1deafd(0x33c)]['pipe'](_0x34041a(this[_0x1deafd(0x511)]))[_0x1deafd(0x134)](_0x1421e6=>{const _0x1bc00b=_0x1deafd;if(_0x1421e6==null)return;const {unitId:_0x459b70,redoState:_0x46487f,commandId:_0x5674b3}=_0x1421e6;if(_0x459b70!==this[_0x1bc00b(0x4e4)])return;const _0x1b01cc={'id':_0x5674b3,'type':_0x57cf4b[_0x1bc00b(0x345)],'params':{'unitId':_0x459b70,'actions':_0x46487f['actions'],'textRanges':null}};this[_0x1bc00b(0x4a3)](_0x1b01cc);})),this[_0x1deafd(0x2d9)](this['_commandService'][_0x1deafd(0x1e2)]((_0x1e1db2,_0x4257b8)=>{const _0x3c7653=_0x1deafd;if(_0x1e1db2['type']!==_0x57cf4b[_0x3c7653(0x345)]||_0x4257b8!=null&&_0x4257b8[_0x3c7653(0x3ce)]||_0x4257b8!=null&&_0x4257b8['onlyLocal']||_0x1e1db2['id']===_0x48d9a2['id'])return;const _0x4c6262=_0x1e1db2[_0x3c7653(0x436)];if((_0x4c6262==null?void 0x0:_0x4c6262['unitId'])!==this['unitID'])return;const _0x35c35b=_0x1e1db2,_0x23a749=this[_0x3c7653(0x3f0)][_0x3c7653(0x110)]['fetchThroughInterceptors'](this[_0x3c7653(0x3f0)][_0x3c7653(0x110)]['getInterceptPoints']()[_0x3c7653(0x2de)])([_0x35c35b],null)||[_0x35c35b];this[_0x3c7653(0x4a3)](_0x23a749[0x0]);})),_0x5aca9a;}};ls=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0x1259a7(_0x59d42b)),H(0x9,_0x1259a7(yt)),H(0xa,_0x1259a7(Dt)),H(0xb,_0x1259a7(Pt)),H(0xc,_0x1259a7(Ds)),H(0xd,_0xadcc6),H(0xe,_0x58c2c0),H(0xf,_0x28a2c3),H(0x10,_0x51028f),H(0x11,_0x2f5f30(jt))],ls);let _s=class extends Nt{constructor(_0x63e310,_0x14deb8,_0x2d6196,_0x5bb126,_0x27bf9a,_0x1ad4a5,_0x16c867,_0x34a6fa,_0x4bec64,_0x358f73,_0x1ae4af,_0x18c645,_0x24b92d,_0x3edbce){const _0x29e5c2=_0x5e3172;super(_0x63e310,_0x2d6196,_0x14deb8,_0x5bb126,_0x27bf9a,_0x1ad4a5,_0x16c867,_0x34a6fa,_0x358f73,_0x1ae4af,_0x18c645,_0x24b92d,_0x3edbce),this[_0x29e5c2(0x4e4)]=_0x63e310,this[_0x29e5c2(0x20d)]=_0x14deb8,this[_0x29e5c2(0x404)]=_0x4bec64;}[_0x5e3172(0x35e)](){const _0x522f44=_0x5e3172,_0x587303=super['_createHandler']();return _0x587303[_0x522f44(0x1bf)]=_0x5183e9=>this[_0x522f44(0x404)]['transformSelections'](_0x5183e9),_0x587303;}async[_0x5e3172(0x1d2)](){const _0x384ffe=_0x5e3172,_0x479b32=await super[_0x384ffe(0x1d2)]();return this[_0x384ffe(0x2d9)](this['_commandService'][_0x384ffe(0x1e2)]((_0x25f1d6,_0x3df31e)=>{const _0xd8ced8=_0x384ffe;if(_0x25f1d6[_0xd8ced8(0x20d)]!==_0x57cf4b[_0xd8ced8(0x345)]||_0x3df31e!=null&&_0x3df31e[_0xd8ced8(0x3ce)]||_0x3df31e!=null&&_0x3df31e[_0xd8ced8(0x13b)])return;const _0x216ef1=_0x25f1d6['params'];if((_0x216ef1==null?void 0x0:_0x216ef1[_0xd8ced8(0x452)])!==this[_0xd8ced8(0x4e4)])return;const _0x54f50=_0x25f1d6,_0x51b7d8=this[_0xd8ced8(0x3f0)][_0xd8ced8(0x110)][_0xd8ced8(0x37e)](this[_0xd8ced8(0x3f0)][_0xd8ced8(0x110)][_0xd8ced8(0x1ff)]()[_0xd8ced8(0x2de)])([_0x54f50],null)||[_0x54f50];this[_0xd8ced8(0x4a3)](_0x51b7d8[0x0]);})),_0x479b32;}};_s=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0x1259a7(wt)),H(0x9,_0xadcc6),H(0xa,_0x58c2c0),H(0xb,_0x28a2c3),H(0xc,_0x51028f),H(0xd,_0x2f5f30(jt))],_s);var Lo=Object[_0x5e3172(0x243)],$o=Object[_0x5e3172(0x26f)],Ho=(_0x784141,_0x4b33d8,_0x98e847,_0x4cc933)=>{const _0x1425bb=_0x5e3172;for(var _0x2c114e=_0x4cc933>0x1?void 0x0:_0x4cc933?$o(_0x4b33d8,_0x98e847):_0x4b33d8,_0x3ae7ef=_0x784141[_0x1425bb(0x2c8)]-0x1,_0x4e8deb;_0x3ae7ef>=0x0;_0x3ae7ef--)(_0x4e8deb=_0x784141[_0x3ae7ef])&&(_0x2c114e=(_0x4cc933?_0x4e8deb(_0x4b33d8,_0x98e847,_0x2c114e):_0x4e8deb(_0x2c114e))||_0x2c114e);return _0x4cc933&&_0x2c114e&&Lo(_0x4b33d8,_0x98e847,_0x2c114e),_0x2c114e;},zt=(_0x1a6a00,_0x52d06d)=>(_0x49b94d,_0x4bc980)=>_0x52d06d(_0x49b94d,_0x4bc980,_0x1a6a00);let rt=class extends _0x5ce84d{constructor(_0x14e532,_0x3a1518,_0x52cead){const _0x19d488=_0x5e3172;super(),g(this,'_entities',new Map()),g(this,_0x19d488(0x43c),new _0x1b8780()),(this[_0x19d488(0x3b4)]=_0x14e532,this[_0x19d488(0x22d)]=_0x3a1518,this[_0x19d488(0x153)]=_0x52cead,this[_0x19d488(0x1d2)]());}[_0x5e3172(0x48f)](){const _0x25bd78=_0x5e3172;super[_0x25bd78(0x48f)](),this[_0x25bd78(0x24f)][_0x25bd78(0x356)](_0x333677=>_0x333677[_0x25bd78(0x48f)]()),this[_0x25bd78(0x24f)][_0x25bd78(0x3db)]();}[_0x5e3172(0x4eb)](_0x1de866){const _0x2610a7=_0x5e3172;var _0x1f4974;return(_0x1f4974=this[_0x2610a7(0x24f)][_0x2610a7(0x307)](_0x1de866))!=null?_0x1f4974:null;}[_0x5e3172(0x46e)](_0x27c5c9){const _0x378010=_0x5e3172,_0xc52a83=this['getCollabEntity'](_0x27c5c9);return _0xc52a83?_0x4f62b6(_0xc52a83):this[_0x378010(0x43c)][_0x378010(0x4b6)](_0x3c0a43(_0x5b8be3=>_0x5b8be3[_0x378010(0x4e4)]===_0x27c5c9));}[_0x5e3172(0x1d2)](){const _0x3fca07=_0x5e3172;this[_0x3fca07(0x153)][_0x3fca07(0x1ba)](_0xfbb68f[_0x3fca07(0x1c2)])[_0x3fca07(0x4b6)](_0x34041a(this[_0x3fca07(0x511)]),_0x5a47b9(0x10))[_0x3fca07(0x134)](async _0x2f0dc2=>{const _0x5e2f53=_0x3fca07,_0x5a654a=_0x2f0dc2['getUnitId'](),_0x4a6a18=await this['_startCollaboration'](_0x5a654a,ae[_0x5e2f53(0x1c2)]);this[_0x5e2f53(0x24f)][_0x5e2f53(0x332)](_0x5a654a,_0x4a6a18);}),this[_0x3fca07(0x153)][_0x3fca07(0x1ba)](_0xfbb68f['UNIVER_DOC'])['pipe'](_0x34041a(this[_0x3fca07(0x511)]),_0x5a47b9(0x10))[_0x3fca07(0x4b6)](_0x3c0a43(_0x36904e=>!_0x36904e[_0x3fca07(0x12f)]()[_0x3fca07(0x1b9)]('__')))[_0x3fca07(0x134)](async _0x3c71d4=>{const _0x5e22bf=_0x3fca07,_0x34ff8a=_0x3c71d4[_0x5e22bf(0x12f)](),_0x857117=await this[_0x5e22bf(0x413)](_0x34ff8a,ae[_0x5e22bf(0x11d)]);this[_0x5e22bf(0x24f)]['set'](_0x34ff8a,_0x857117);}),_0x143e60(this[_0x3fca07(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f['UNIVER_SHEET']),this[_0x3fca07(0x153)][_0x3fca07(0x241)](_0xfbb68f[_0x3fca07(0x11d)]))[_0x3fca07(0x4b6)](_0x34041a(this[_0x3fca07(0x511)]))['subscribe'](_0x135229=>{const _0x2d53fd=_0x3fca07,_0x2b779a=_0x135229['getUnitId'](),_0x557c9d=this[_0x2d53fd(0x24f)][_0x2d53fd(0x307)](_0x2b779a);_0x557c9d&&(_0x557c9d[_0x2d53fd(0x48f)](),this[_0x2d53fd(0x24f)]['delete'](_0x2b779a));});}async[_0x5e3172(0x413)](_0x1912a1,_0x3befed){const _0x5ccaa0=_0x5e3172,_0x3592d6=await this['_collabSessionService'][_0x5ccaa0(0x17e)](_0x1912a1),_0x495b69=this[_0x5ccaa0(0x3b4)][_0x5ccaa0(0x13c)](this[_0x5ccaa0(0x3ae)](_0x3befed),_0x1912a1,_0x3befed,_0x3592d6);return await _0x495b69[_0x5ccaa0(0x433)](),this[_0x5ccaa0(0x43c)][_0x5ccaa0(0x23b)](_0x495b69),_0x495b69;}[_0x5e3172(0x3ae)](_0x2d9a8f){const _0x3b9d93=_0x5e3172;switch(_0x2d9a8f){case ae[_0x3b9d93(0x11d)]:return ls;case ae[_0x3b9d93(0x1c2)]:return _s;default:throw new Error(_0x3b9d93(0x163)+_0x2d9a8f);}}};rt=Ho([zt(0x0,_0x1259a7(_0xa6ca3c)),zt(0x1,_0x1259a7(xe)),zt(0x2,_0x381e7e)],rt);var jo=Object['defineProperty'],Bo=Object[_0x5e3172(0x26f)],ko=(_0x286385,_0x309464,_0x1f9efc,_0x382e7a)=>{const _0x4eec3f=_0x5e3172;for(var _0x322e75=_0x382e7a>0x1?void 0x0:_0x382e7a?Bo(_0x309464,_0x1f9efc):_0x309464,_0x580723=_0x286385[_0x4eec3f(0x2c8)]-0x1,_0x41fea4;_0x580723>=0x0;_0x580723--)(_0x41fea4=_0x286385[_0x580723])&&(_0x322e75=(_0x382e7a?_0x41fea4(_0x309464,_0x1f9efc,_0x322e75):_0x41fea4(_0x322e75))||_0x322e75);return _0x382e7a&&_0x322e75&&jo(_0x309464,_0x1f9efc,_0x322e75),_0x322e75;},ti=(_0x372a37,_0x1ff0c2)=>(_0x3c52cb,_0x55cc09)=>_0x1ff0c2(_0x3c52cb,_0x55cc09,_0x372a37);let Ut=class extends _0x5ce84d{constructor(_0x54f294,_0x928c56){const _0xa55e2d=_0x5e3172;super(),this[_0xa55e2d(0x310)]=_0x54f294,this[_0xa55e2d(0x4c0)]=_0x928c56,this['_init']();}[_0x5e3172(0x1d2)](){const _0x5a0c04=_0x5e3172,_0xf7aa1=this;this[_0x5a0c04(0x2d9)](this['_docClipboardService'][_0x5a0c04(0x4ec)]({'onBeforePasteImage':async _0x184c2f=>{const _0xd014d6=_0x5a0c04,_0x4e2446=await _0xf7aa1[_0xd014d6(0x4c0)][_0xd014d6(0x341)](_0x184c2f);return _0x4e2446?{'source':_0x4e2446[_0xd014d6(0x38f)],'imageSourceType':_0x4e2446[_0xd014d6(0x4dd)]}:null;}}));}};Ut=ko([ti(0x0,_0x51fcd5),ti(0x1,_0x1c8798)],Ut);const si=[_0x5e3172(0x50e),_0x5e3172(0x3b7),_0x5e3172(0x207),_0x5e3172(0x301),_0x5e3172(0x14d),_0x5e3172(0x485)];class Ns extends _0x5f337f{constructor(){const _0x854622=_0x5e3172;super(...arguments),g(this,_0x854622(0x24b),new Map()),g(this,'_colorIndex',0x0);}[_0x5e3172(0x236)](_0x410980){const _0x210598=_0x5e3172;if(this['_assignedColors'][_0x210598(0x3cb)](_0x410980))return this['_assignedColors'][_0x210598(0x307)](_0x410980);const _0x2e063c=si[this[_0x210598(0x2cd)]];return this[_0x210598(0x2cd)]=(this[_0x210598(0x2cd)]+0x1)%si[_0x210598(0x2c8)],this[_0x210598(0x24b)][_0x210598(0x332)](_0x410980,_0x2e063c),_0x2e063c;}}var Wo=Object[_0x5e3172(0x243)],Fo=Object[_0x5e3172(0x26f)],Vo=(_0x5a36cf,_0x2b613e,_0x36706d,_0x4aec6b)=>{for(var _0x17be08=_0x4aec6b>0x1?void 0x0:_0x4aec6b?Fo(_0x2b613e,_0x36706d):_0x2b613e,_0x8f18=_0x5a36cf['length']-0x1,_0x26c6f5;_0x8f18>=0x0;_0x8f18--)(_0x26c6f5=_0x5a36cf[_0x8f18])&&(_0x17be08=(_0x4aec6b?_0x26c6f5(_0x2b613e,_0x36706d,_0x17be08):_0x26c6f5(_0x17be08))||_0x17be08);return _0x4aec6b&&_0x17be08&&Wo(_0x2b613e,_0x36706d,_0x17be08),_0x17be08;},we=(_0x183b09,_0x4d98cf)=>(_0x4fd1d2,_0x5918bc)=>_0x4d98cf(_0x4fd1d2,_0x5918bc,_0x183b09);const Go=0x12c,Yo=0x64;function _0x1abc(){const _0x37c301=['localeService','/resources','USERS_ENTER','_retryConnectingTimer','with','objectActions','_state','getUniverSheetInstance','unknown','abs','_clearScheduledTask','has','exhaustSavingTask','cursorInfo','fromCollab','_initEventListeners','\x0aAfter:\x20','infoRsp','liveShareNewHost','deepClone','INTERNAL_ERROR','_scheduleCollaborationTimeoutTimer','_getSessionTicket','_updateCollabCursors','getCurrentUser','_getDownloadEndpointURL','_createSocketURL','clear','42GjrGJr','_docStateChangeManagerService','ERROR_IMAGE','reset','send','_saveTaskMap','FETCH_MISS','409512bHxOjn','_shapes','state','session.join-failed','setStateCache','snapshotServerUrl','PERMISSION_REJ','_prevBlock','_scene','NO_OTHER_CLIENTS_EDITING','_sendingTimer','_transformHistoryAndStateStack','syncEditingCollabCursor','_compressMutationService','memberID','_instanceService','/universer-api/authz','UNAUTHENTICATED','_anchor','_collabCursorController','round','/collaborator','isPermissionRej','ALREADY_EXISTS','176992rPxOra','getCollabCursors$','changesets','_acknowledgedAwaitingChangeset','565gJvyLl','3028566UawZPo','_onFetchMissResult','_session','splice','_sheetTransformSelectionsService','socketService','_localStorageService','getUnitOnRev','onTransformIME','_changesetReqId','FromArray','_getSheetObject','subUnitId','encryptBlock','bind','[DataLoaderController]','COMPRESS_MUTATION_APPLY','MSG_FOR_ERROR','text','_startCollaboration','_userManagerService','_eventUnsubscribe','[OfflineState]:\x20received\x20rejection.','incrementRevOfUnit','unitId\x20is\x20not\x20found','_backgroundColor','fetchMissingChangesets','_nDataBytes','_collaborationSessionService','_snapshotServerService','_labelPosition','complete','HEARTBEAT','ceil','updateOfflineData','CONFLICT','onPointerMove$','_document','&to=','_rescheduleHeartbeat','saveOfflineData','string','LICENSE_DISTRO_REJECTED','doc.mutation.rich-text-editing','_updateSubUnitFromURLParams','PENDING','OTHER_CLIENTS_EDITING','sheetId','resend','setParam','_initMergeInterceptor','init','charAt','_render','params','_socket','/universer-api/snapshot/','UnitSnapshot','[CollaborationEntity]','univer-online-status-title','_entityInit$','awaiting','getWorkbookSelections','_schedule','_transformPreviousActiveRange','_removeRoom','_resendWithTimeout','getUnitType','/universer-api/comb','_sendHeartbeat','HttpImport','encrypt','toggleOffline','_snapshotService','getRoom','_getSendChangesetTimeout','collab-client.tooltip.reconnect','endRow','readInt32LE','undoState','permission.title','eventID','unitId','csShouldRetryEvent','HmacMD5','_clearRedo','_removeClearOtherTimer','SNAPSHOT_URL_KEY','title','resize','_onUserLeave','_getUploadFileURL','saveSnapshot','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformSelections','fetch_missing','setConfig','onTransformRemoteChangesetByIMECache','format','clearInterval','collaboration.single-unit.warning','_handleJoinEvent','_id','top','isArray','slice','liveShareOperation','_clearUndo','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PSEUDO_FETCH_MISSING_RESULT','getCollabEntity$','_onRemoteRetry','collaborators','cfg','defs','randomBytes','collaboration_new_changeset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[CollaborationSessionService]:\x20socket\x20error','_setupSubUnitSync','APPLY_REJECT','collabStatus.fetchMiss','MD5','ReactCurrentOwner','roomMembers$','univer-online','replaceState','loadOfflineData','delete','deleteCollaborator','msCrypto','listRoles','/universer-api/stream/file/upload','gold400','flatMap','[CollaborationSession]','_getRedoStack','_scheduleClearOtherTimer','_localeService','reconnect','compute','transformStateCache','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','dispose','ACTIVE_UNIT_EVENT_CHANNEL','reverse','collabStatus.offline','_cipher','_roomMembers$','textRanges','Unknown\x20user','collaboration-client.config','getResourcesRequest','kdf','all','_registerRenderDependencies','addObject','_onConflict','from','path','_ws','message$','connection\x20error','_onLocalMutation','_checkMissing','stopTime','transformMutationsWithChangeset','session','Base64','cursorInfo$','onPointerEnter$','#fff','x-univer-host','signUrlServerUrl','_initUnitPermissionChange','image/jpg','_registerDependencies','&assign=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','exports','_themeService','collaboration.closeRoom','pipe','show','314946bmxxcJ','concat','_transformStack','clamp','LIVESHARE_NEW_HOST','_remoteChangesetQueue','_getSaveTimeout','getSheetBlock','_imageIoService','_isPermissionRej','_collaborationPaused','bottom','_getScale','_onRemoteACK','_anchorDot','{fileID}','_startDocCollabCursor','onPointerLeave$','session.will-retry','DeleteRangeMoveLeftCommandId','_lockTransition','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socket\x20close','on-line-single','unshift','_initStatusComponent','_singleActiveUnitService','roomInfos','_context','fromCharCode','update','OFFLINE','hasOwnProperty','1em','_sender','_initStatusListener','onTransformRemoteChangesetByStateCache','imageSourceType','_updateLocalCursor','m1Prime','SNAPSHOT_INVALID_SNAPSHOT','members','location','COMPLETION_FINISHED','unitID','attrs','_range','/universer-api/oidc/authpage','prototype','TEXT','responseType','getCollabEntity','addClipboardHook','leaveEvent','_renderManagerService','onMissingChangesets','_clearHeartbeatTimer','fillStyle','propertyIsEnumerable','_urlService','_updateStatus','getStateCache','_resendTimeout','trim','PERMISSION_DENIED','conflict.title','_startTelemetryCollaborationNewChangeset','[PendingState]:\x20received\x20acknowledgement.','_throwTelemetryCollaborationNewChangeset','Malformed\x20UTF-8\x20data','fillText','_transformService','call','avatar','_replayCachedMutations','[SyncedState]:\x20received\x20rejection.','allowed','div','clone','_unitID','updateMember','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','VIEW_MAIN','_sessionStatus$','permission.content','_collaborationController','purple300','stringify','_selfUnitIDs','dispose$','hostname','HEARTBEAT_INTERVAL','UPDATE_CURSOR','snapshot','Fragment','backgroundColor','getParam','\x20in\x20_schedule.','iterations','_keyPriorReset','JOINING','BASE64','_hash','_colorAssignService','searchParams','error$','addEventListener','_setupBeforeClosingHandler','decrypt','activeSheet$','ivSize','unsubscribe','algo','image/gif','UniverIcon','People','_queuedRemoteChangesets','_logService','_startSheetCollabCursor','status$','transformChangesets','Univer','updatePermissionObjEvent','selection','hovered','_httpService','_awaitingChangeset','_commentUpdate$','_onRemoteRejected','_doCryptBlock','USERS_LEAVE','interceptor','createSocket','HEADER_MENU','salt','_key','substr','getMember','_exhaustRemoteChangesetQueue','_clearLocalCache','_commentService','engine','offline','reqId','UNIVER_DOC','ref','sigBytes','pluginName','name','_nRounds','fill','transformStack\x20failed!','synced','downloadEndpointUrl','LOCAL_CACHE_INTERVAL','number','toString','putCollaborators','_scheduleHeartbeat','sid','_sendHeartbeatTimer','JOIN_ROOM_NOT_EXISTS','getUnitId','src','method','/object/','save\x20fail\x20reason\x20is\x20','subscribe','Error','_undoStacks','SHOULD_CLOSE_CONN','LICENSE_IMPORT_SIZE_EXCEEDED','_joinRoom','collabStatus.synced','onlyLocal','createInstance','/unit/','_getAnchorBounding','authzUrl','roles','univer-pro.collaboration-client-socket-service','updateCursorEvent','transformUndoRedo','appendMutation','_listenToOfflineEvent','onlineStatusTitle','_send','_transformIMECache','_notificationService','__creator','subscribeEvent','getRangePointData','blue400','session.room-full','_substituteRedoStack','csAckEvent','AUTHZ_URL_KEY','_reverseMap','_univerInstanceService','setItem','CHANGESET_SHOULD_RETRY','_onMessage','LIVESHARE_REQUEST_HOST','_state$','\x0aCurrent:\x20','_event$','getValue','onRemoteAck','_members','then','add','HttpExport','font','_transitionLocked','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','JOIN_ROOM_FULL','url','_loadDoc','whenReady','range','list','history','_memberService','UnitEmbedded','debug','_onCursorUpdate','entries','withCredentials','SNAPSHOT_HAS_BEEN_REMOVED','buffer','35hllUkw','_socketMessageSubscription','UNRECOGNIZED','Hasher','close','_stopTelemetryCollaborationNewChangeset','10abUhRi','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','application/json','getCurrent','translate(.97)','requireSession','_sessions','getViewport','INVALID_ARGUMENT','COLLAB_WEB_SOCKET_URL','_type','batchAllowed','hidden','getConfig','_candidateSocket','Utf8','sessionStatus','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Warning','sessionStatus$','socket\x20open.','xlink:href','generateRandomId','enableLocalCache','newValue','_initDependencies','_drawTextRange','startTime','_undoRedoService','registerOnClose','DEFAULT_FILE_NAME','collaboration-session-retry','_pendingMutations','_onCursorDelete','getAllMembers','SEND_CHANGESET_TIMEOUT','getSheetBySheetId','onTransformChange$','[CollaborationUndoRedoService]','_createInitialState','ERROR_EXCEED_SIZE','capture','copyFileMeta','_lastPointer','conflict','hasher','toggleOnline','result','_minBufferSize','NOT_COLLAB','_onRemoteChangeset','JOIN','YUUMI_RATE_OVER_LIMIT','svg','GLOBAL_ROOMS_CNT_EXCEEDS','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','mutations','NoPadding','_scheduleSaving','_onConnectionFailed','replace','_tryEnsureSocket','COLLAB_SUBMIT_CHANGESET_URL','startsWith','getTypeOfUnitAdded$','_cursor','tag','replaceDocRanges','_doFinalize','onTransformSelections','pending','_replaceFileID','UNIVER_SHEET','_config','[CollaborationSessionService]','words','_waitCount','registerComponent','sheetID','Could\x20not\x20dynamically\x20require\x20\x22','onSyncEditingCollabCursor','off-line-single','toLowerCase','FAIL','AWAITING_WITH_PENDING','repeat','code','&source=','_init','[FetchMissState]','_socketReady','makeDirty','_status$','_socket$','transformIMECache','?size=','InsertColCommandId','roomMembers','_refRangeService','jsxs','_cursors','LEAVE','OnLineSingle','Decryptor','onCommandExecuted','lineTo','getUndoRedoMutationParamsCache','lib','focused$','c1Prime','getCurrentUnitForType','enableAuthServer','collab-text-range-','session.room-permission-denied','indexOf','idSuffix','_messageService','_redoStacks','YUUMI_UNABLE_LOAD_URL','collabCursorState$','width','APPLY_DUPLICATED','encodeURIComponent','_ENC_XFORM_MODE','_heartbeatTimer','_initCommandExecutedListener','toRgbString','_getAPIPrefixPath','urlChange$','_textBubble','_createHmacHelper','clearTimeout','filter','getInterceptPoints','_collabCursorState$','/universer-api/user/session-ticket','change$','editingUnit','workbook','_invKeySchedule','transformByState','verdancy600','1855635wGadEY','/block/','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','uni.network.url-service','/-/object/-/batch_allowed','type','_getCurrentRevision','m2Prime','commentUpdate$','[PendingState]:\x20received\x20rejection.','apply','put','baseRev','assign','_unitStatus','selections','black','getCellPositionByOffset','values','collaMsg','reject','onload','floor','padding','SHA1','_iKey','_roomMembers','execute','off-line-single_clip0_910_343','requestParams','row','awaitingChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_unlockTransition','popstate','univer-pro.collaboration-client.single-active-unit-service','AWAITING','_collabSessionService','origin','NOT_FOUND','_color','_handler','hide','_getAPIPrefix','_telemetryService','_toggleOnline','assignAColorForMemberID','/object','_telemetryInfo','setActiveRange','confirm','next','INGEST','icon','_transformUndoredo','collabSubmitChangesetUrl','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getTypeOfUnitDisposed$','_online','defineProperty','finalize','_append','_onCombEvent','_cachedData','_removeCollabCursors','DeleteRangeMoveUpCommandId','_scheduleTimestamp','_assignedColors','registerHTTPInterceptor','WordArray','mixIn','_entities','LIVESHARE_TERMINATE','LIVESHARE_FETCH_OPERATIONS','UNDEFINED','objects','labelPosition','_doReset','now','getOffsetConfig','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_mode','getVpScrollXYInfoByPosToVp','onMissedChangesetFetched','session.room-not-exists','_clearOtherTimers','__esModule','getAncestorScale','headers','image/bmp','MoveRangeCommandId','onCommentUpdate','findNodePositionByCharIndex','patch','executeCommand','JOIN_ROOM_PERMISSION_DENIED','processBlock','compose','min','onSendChangeset','originalMeta','_docTransformSelectionsService','90PgBedm','getOwnPropertyDescriptor','_configService','SerializableCipher','_resendTimer','setTimeout','onReady','_onRecvEvent','url(#$1','subject','UPDATE_PERMISSION_OBJ','univer-offline','SUBMIT_CHANGESET','getFocusedUnit','_updateURLWithCurrentState','disableLocalCache','getImageSourceCache','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','clipPath','loadSheet','defIds','[PendingState]:\x20unhandled\x20univer\x20type:\x20','pushState','_parse','getMergeData','setCurrentUser','data','for','isEditing','_imageSourceCache','react.element','_onUserJoin','override','getImage','duration','_transformRemoteChangesetByIMECache','POST','ranges','getActiveRange','error','colorChannel1','FileId','/universer-api/file/{fileID}/sign-url','updatePermissionPoint','SYNCED','sheets','getSheetId','_transformStateCache','image/jpeg','_transformRemoteChangesetByStateCache','RemoveColCommandId','max','_saveCache','_executeRemoteChangeset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','post','startColumn','_unitOnClients','drawWith','COMMENT_UPDATE','_initRequestHeader','onTransformState','_collaborationTimeoutTimer','file','_docTransformStateCacheService','setAlpha','blockSize','loadDoc','_updateState','_socketService','map','_createHelper','_beforeCloseService','formatter','jsx','ERROR_IMAGE_TYPE','_onConnectionOpen','mode','includes','_toggleOffline','saveSheetBlock','unit-cache-','_hideTimer','extend','initWorkbookPermissionChange','Cipher','_xformMode','_name','event$','measureText','length','restore','/rev/','permissionRejEvent','contains','_colorIndex','_clearCollaborationTimeoutTimer','_getMergeRange','CipherParams','OpenSSL','encode','_waitForHeartbeatResponse','not_collab','_change$','getSnapshotAPIPath','_oKey','joinRsp','disposeWithMe','body','getRandomValues','transform','collabWebSocketUrl','COMPRESS_MUTATION_SEND','create','getDeserializedSheetBlock','onStateChange','ONLINE','setShapeProps','objectType','CHANGESET_ACK','getLatestCsReqIdBySid','_docTransformIMECacheService','_listenToOnlineEvent','getSkeleton','Encryptor','_cursorInfo$','currentSkeleton$','revision','_handleHeartbeatEvent','substring','_transformUndoRedoStack','_clearTimeoutTimer','decryptBlock','userID','CHANGESET_REJ','_decreaseWaiting','_syncEditingCollabCursorService','_retryCount','?url=','/allowed','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','APPLY_REVISION_CONFILICT','awaiting_with_pending','_revisionService','_handleEvent','[UniverCollaborationClientPlugin]','_substituteUndoStack','red300','enc','save','join','redoState','asObservable','get','function','setShowComponents','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','LIVESHARE_OPERATION','getCurrentRevOfUnit','endColumn','registerRefRange','$super','_docClipboardService','_timeoutTimer','registerRenderModule','currentColor','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','_ensureSubject','_handleLeaveEvent','Undefined','routeKey','retryConnectingInterval','_onOffline','RECV','_disabled','displayName','collab-rect-range-','_HTTPService','Latin1','_handleHover','_tryReconnect','ENSURE_SNAPSHOT_EXECUTION','_updateLocalCache','randomUUID','charCodeAt','_commandService','getActiveSheet','_hasher','_localCacheService','collabStatus.syncing','createDecryptor','_draw','UNIVER_SLIDE','parse','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NEW_CHANGESETS','set','storage','_doProcessBlock','onMouseMove','BlockCipherMode','CONNECTOR_DATA_TOO_LARGE','sin','_createInitialStateImpl','height','catch','docStateChange$','EvpKDF','HELLO','saveChangeset','getRenderById','saveImage','_cursorShapes','[OfflineState]:\x20received\x20acknowledgement.','subunit','MUTATION','defaultProps','_refreshCollabCursors','_createSocket','children','onRemoteChangeset','UNKNOWN_CODE','random','_getSignURL','_data','_changesetSessionId','action','LICENSE_EXPORT_SIZE_EXCEEDED','IDLE','RECT','reduce','_fetchMissChangesets','forEach','transformMutation','none','getItem','_iv','_getLoginPath','LICENSE_MAX_UNITS_EXCEEDED','M0\x200H16V16H0z','_createHandler','cmd','HMAC','byteOffset','RETRY_CONNECTING_MAX_COUNT','current','_loadSheet','currentTheme$','_permissionService','_shouldReportTelemetry','Base','color','key','onRemoteRetry','CHANGESET_REVISION_CONFILICT','symbol','_sheetSkeletonManagerService','arc','_process','rgba(255,\x20255,\x20255,\x200.01)','_uiPartsService','_disableEditing','[SyncedState]:\x20received\x20acknowledgement.','UNIVER_PROJECT','byteLength','setUndoRedoMutationParamsCache','_hover','onRendered','_map','onStarting','CBC','failed\x20to\x20apply\x20missed\x20changesets!','fetchThroughInterceptors','removeMember','_applyRemoteChangeset','objectID','univer-online-status-icon','setWaitCount','2759669bthLCG','transformSelections','crypto','SUCCUSS','getDocRanges','_onRefRangeChange','__Key__','status','fetchMiss','href','push','source','_initResize','BlockCipher','on-line-single_clip0_910_349','_submitChangeset','enableSingleActiveInstanceLock','getUnitStatus$','_hovered','unpad','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getMemberID','_syncEditingCollabCursor','actions','c2Prime','UNKNOWN_CMD','getCurrentSelections','InsertRangeMoveDownCommandId','auth.needGotoLoginAlert','default','transformRemoteChangeset','getTime','column','ciphertext','UUID','AES','updateCollaborator','Error\x20on\x20receiving\x20event','size','APPLY_PERMISSION_DENIED','_incrementRevisionNumber','isActive','_getCtorByUniverType','disposeUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','keySize','session.connection-failed','onRemoteRej','_injector','every','...','jiqing500','close$','_keySchedule','resolve','createEncryptor','getUnhiddenWorksheets','pad','_DEC_XFORM_MODE','_getUndoStack'];_0x1abc=function(){return _0x37c301;};return _0x1abc();}let us=class extends _0x5ce84d{constructor(_0x49b451,_0x20c029,_0x13e481,_0x24484b,_0x3abe8b,_0x353ef7,_0xce2db8,_0x326f41,_0x62801e){const _0x47014b=_0x5e3172;super(),g(this,_0x47014b(0x242),!0x1),g(this,_0x47014b(0x1d2),!0x1),g(this,_0x47014b(0x2eb),new _0xd0d94b(new Map())),g(this,_0x47014b(0x4a9),this[_0x47014b(0x2eb)]['asObservable']()),g(this,_0x47014b(0x494),new _0xd0d94b([])),g(this,_0x47014b(0x47c),this[_0x47014b(0x494)][_0x47014b(0x4b6)](_0x5fe042(Go))),g(this,'_updateLocalCursor',_0x38f51c(_0x417b92=>{const _0x40cd7e=_0x47014b,_0x5b75c7={'eventID':_0x385814[_0x40cd7e(0x514)],'data':{'unitID':this[_0x40cd7e(0x4e4)],'memberID':this[_0x40cd7e(0x402)][_0x40cd7e(0x399)](),'selection':qi(_0x417b92)}};this[_0x40cd7e(0x402)]['send'](_0x5b75c7,this['unitID']);},Yo)),(this[_0x47014b(0x4e4)]=_0x49b451,this['_session']=_0x20c029,this[_0x47014b(0x3b4)]=_0x13e481,this['_colorAssignService']=_0x24484b,this['_memberService']=_0x3abe8b,this[_0x47014b(0x2f6)]=_0x353ef7,this['_transformService']=_0xce2db8,this[_0x47014b(0x153)]=_0x326f41,this['_commandService']=_0x62801e);}get[_0x5e3172(0x3cd)](){const _0x3302b4=_0x5e3172;return this[_0x3302b4(0x2eb)][_0x3302b4(0x15b)]();}get['roomMembers'](){const _0xa615b8=_0x5e3172;return this['_roomMembers$'][_0xa615b8(0x15b)]();}[_0x5e3172(0x48f)](){const _0x566f45=_0x5e3172;super['dispose'](),this[_0x566f45(0x2eb)][_0x566f45(0x23b)](new Map()),this['_cursorInfo$'][_0x566f45(0x41f)](),this[_0x566f45(0x494)][_0x566f45(0x23b)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2b6b3a=_0x5e3172;this[_0x2b6b3a(0x1d2)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x2b6b3a(0x4b6)](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x494f43=>{const _0x56065c=_0x2b6b3a;_0x494f43===fe[_0x56065c(0x2e2)]?this[_0x56065c(0x235)]():this[_0x56065c(0x2bd)]();}),this[_0x2b6b3a(0x402)]['event$']['pipe'](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x510473=>{const _0x42b0a3=_0x2b6b3a,_0x2e0e55=_0x510473['eventID'];_0x2e0e55===_0x385814[_0x42b0a3(0x514)]&&this['_onCursorUpdate'](_0x510473),_0x2e0e55===_0x385814[_0x42b0a3(0x10f)]&&this['_onCursorDelete'](_0x510473);}),this[_0x2b6b3a(0x2d9)](this[_0x2b6b3a(0x327)][_0x2b6b3a(0x1e2)](_0x5aac62=>{const _0x595bd0=_0x2b6b3a,_0x355d63=_0x5aac62['params'];_0x355d63!=null&&this['_online']&&_0x5aac62['id']===_0x6a5ee2['id']&&_0x355d63[_0x595bd0(0x452)]===this['unitID']&&_0x355d63[_0x595bd0(0x28a)]===!0x1&&_0x355d63['ranges'][_0x595bd0(0x2c8)]>0x0&&this[_0x595bd0(0x4de)](_0x355d63[_0x595bd0(0x293)]);})),this[_0x2b6b3a(0x2f6)][_0x2b6b3a(0x1f1)][_0x2b6b3a(0x4b6)](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x79e971=>{const _0x53ee24=_0x2b6b3a;if((_0x79e971==null?void 0x0:_0x79e971[_0x53ee24(0x4e4)])!==this['unitID'])return;const _0x10fab0={'eventID':_0x385814[_0x53ee24(0x514)],'data':_0x79e971};this[_0x53ee24(0x16e)](_0x10fab0);}),this[_0x2b6b3a(0x2d9)](this[_0x2b6b3a(0x327)]['onCommandExecuted'](_0x18528e=>{const _0x1925dc=_0x2b6b3a;if(_0x18528e['params']==null)return;const _0x55f5af=_0x18528e[_0x1925dc(0x436)];if(_0x18528e['id']!==_0x48d9a2['id']||_0x55f5af['unitId']!==this[_0x1925dc(0x4e4)])return;const _0x3a75dc={'id':_0x1925dc(0x42b),'params':_0x55f5af},_0x25e5e6=this[_0x1925dc(0x3cd)];for(const [_0x24848e,_0x42d6d2]of _0x25e5e6){const _0x119a18={'id':_0x1925dc(0x42b),'params':{'unitId':this[_0x1925dc(0x4e4)],'actions':null,'textRanges':_0x42d6d2[_0x1925dc(0x293)]}},_0x382ed8=this['_transformService']['transformMutation'](_0x3a75dc,_0x119a18,!0x1);if(_0x29729a(_0x382ed8))throw _0x382ed8[_0x1925dc(0x295)];_0x25e5e6['set'](_0x24848e,{..._0x42d6d2,'ranges':_0x382ed8[_0x1925dc(0x20f)]['params'][_0x1925dc(0x495)]});}queueMicrotask(()=>{const _0x5b5b3d=_0x1925dc;this[_0x5b5b3d(0x2eb)][_0x5b5b3d(0x23b)](_0x25e5e6);});})));}[_0x5e3172(0x16e)](_0x2909f1){const _0xa5ac4b=_0x5e3172;var _0x488731,_0xc28643;const {memberID:_0xffd79e,selection:_0x245742}=_0x2909f1[_0xa5ac4b(0x288)],_0x2c7a2c=Ro(_0x245742),_0x133a99=(_0xc28643=(_0x488731=this[_0xa5ac4b(0x16b)][_0xa5ac4b(0x116)](this[_0xa5ac4b(0x4e4)],_0xffd79e))==null?void 0x0:_0x488731[_0xa5ac4b(0x121)])!=null?_0xc28643:'Unknown\x20user',_0x1748b9={'color':this[_0xa5ac4b(0x51f)][_0xa5ac4b(0x236)](_0xffd79e),'name':_0x133a99,'ranges':_0x2c7a2c},_0x3f69cb=this['cursorInfo'];_0x3f69cb[_0xa5ac4b(0x332)](_0xffd79e,_0x1748b9),this[_0xa5ac4b(0x2eb)][_0xa5ac4b(0x23b)](_0x3f69cb);}[_0x5e3172(0x19a)](_0x4eade6){const _0x29a245=_0x5e3172,{memberID:_0x257139}=_0x4eade6[_0x29a245(0x288)],_0x2e3c7d=this['cursorInfo'];_0x2e3c7d[_0x29a245(0x480)](_0x257139),this[_0x29a245(0x2eb)][_0x29a245(0x23b)](_0x2e3c7d);}['_toggleOnline'](){const _0xef40c4=_0x5e3172;var _0x5e42f9;if(this[_0xef40c4(0x242)]=!0x0,((_0x5e42f9=this[_0xef40c4(0x153)][_0xef40c4(0x27b)]())==null?void 0x0:_0x5e42f9[_0xef40c4(0x12f)]())!==this[_0xef40c4(0x4e4)])return;const _0x63ebad=this[_0xef40c4(0x3b4)][_0xef40c4(0x307)](_0x195c19)[_0xef40c4(0x388)]();Array[_0xef40c4(0x468)](_0x63ebad)&&_0x63ebad[_0xef40c4(0x2c8)]>0x0&&this['_updateLocalCursor'](_0x63ebad);}[_0x5e3172(0x2bd)](){const _0x17dbf0=_0x5e3172;this[_0x17dbf0(0x242)]=!0x1;}};us=Vo([we(0x2,_0x1259a7(_0xa6ca3c)),we(0x3,_0x1259a7(Ns)),we(0x4,_0x1259a7(Me)),we(0x5,_0x1259a7(Ds)),we(0x6,_0x2a04be),we(0x7,_0x381e7e),we(0x8,_0x58c2c0)],us);var Ko=Object[_0x5e3172(0x243)],qo=Object[_0x5e3172(0x26f)],zo=(_0x82a76e,_0x53e084,_0x22dfb7,_0x13e800)=>{for(var _0x46b0ff=_0x13e800>0x1?void 0x0:_0x13e800?qo(_0x53e084,_0x22dfb7):_0x53e084,_0x192816=_0x82a76e['length']-0x1,_0x1de4e1;_0x192816>=0x0;_0x192816--)(_0x1de4e1=_0x82a76e[_0x192816])&&(_0x46b0ff=(_0x13e800?_0x1de4e1(_0x53e084,_0x22dfb7,_0x46b0ff):_0x1de4e1(_0x46b0ff))||_0x46b0ff);return _0x13e800&&_0x46b0ff&&Ko(_0x53e084,_0x22dfb7,_0x46b0ff),_0x46b0ff;},Be=(_0x310d51,_0x5e5da3)=>(_0x156c74,_0x1c4db4)=>_0x5e5da3(_0x156c74,_0x1c4db4,_0x310d51);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x25d1e8=[],_0x30587b=!0x1;return _0x46737f=>{const _0x20eb83=_0x1eb2;_0x25d1e8[_0x20eb83(0x38e)](_0x46737f),_0x30587b||(_0x30587b=!0x0,setTimeout(()=>{const _0x182d43=_0x20eb83;_0x25d1e8[_0x182d43(0x356)](_0xdcbac0=>_0xdcbac0()),_0x25d1e8=[],_0x30587b=!0x1;}));};};let ds=class extends _0x5ce84d{constructor(_0x48bb0e,_0x5e7337,_0x43ac2c,_0x4ef9af,_0x489fd1,_0x122df5,_0x4dd799,_0x5f380d){const _0x59ec9a=_0x5e3172;super(),g(this,_0x59ec9a(0x242),!0x1),g(this,_0x59ec9a(0x1d2),!0x1),g(this,_0x59ec9a(0x2eb),new _0xd0d94b(new Map())),g(this,_0x59ec9a(0x4a9),this[_0x59ec9a(0x2eb)][_0x59ec9a(0x306)]()),g(this,'_roomMembers$',new _0xd0d94b([])),g(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x5fe042(Xo))),g(this,_0x59ec9a(0x4de),_0x38f51c((_0xfadf30,_0x2f6f5e)=>{const _0x561c7e=_0x59ec9a,_0x2e4955={'eventID':_0x385814[_0x561c7e(0x514)],'data':{'unitID':this[_0x561c7e(0x4e4)],'memberID':this[_0x561c7e(0x402)][_0x561c7e(0x399)](),'selection':_0x51efb3(_0xfadf30,_0x2f6f5e['range'])}};this[_0x561c7e(0x402)][_0x561c7e(0x3e0)](_0x2e4955,this[_0x561c7e(0x4e4)]);},Jo)),(this['unitID']=_0x48bb0e,this[_0x59ec9a(0x402)]=_0x5e7337,this[_0x59ec9a(0x3b4)]=_0x43ac2c,this[_0x59ec9a(0x51f)]=_0x4ef9af,this['_memberService']=_0x489fd1,this['_univerInstanceService']=_0x122df5,this['_commandService']=_0x4dd799,this[_0x59ec9a(0x1dc)]=_0x5f380d);}get[_0x5e3172(0x3cd)](){const _0x5e34db=_0x5e3172;return this['_cursorInfo$'][_0x5e34db(0x15b)]();}get[_0x5e3172(0x1db)](){const _0x2edb56=_0x5e3172;return this[_0x2edb56(0x494)][_0x2edb56(0x15b)]();}[_0x5e3172(0x48f)](){const _0x21e05f=_0x5e3172;super[_0x21e05f(0x48f)](),this[_0x21e05f(0x2eb)]['next'](new Map()),this[_0x21e05f(0x2eb)][_0x21e05f(0x41f)](),this[_0x21e05f(0x494)][_0x21e05f(0x23b)]([]),this[_0x21e05f(0x494)][_0x21e05f(0x41f)]();}['init'](){const _0x35d08=_0x5e3172;this['_init']||(this[_0x35d08(0x1d2)]=!0x0,this[_0x35d08(0x402)][_0x35d08(0x18c)]['pipe'](_0x34041a(this[_0x35d08(0x511)]))[_0x35d08(0x134)](_0x2bddca=>{const _0x4b1603=_0x35d08;_0x2bddca===fe[_0x4b1603(0x2e2)]?this[_0x4b1603(0x235)]():this[_0x4b1603(0x2bd)]();}),this[_0x35d08(0x402)]['event$'][_0x35d08(0x4b6)](_0x34041a(this[_0x35d08(0x511)]))['subscribe'](_0x664acc=>{const _0x4a0075=_0x35d08,_0x3e094d=_0x664acc['eventID'];_0x3e094d===_0x385814[_0x4a0075(0x514)]&&this[_0x4a0075(0x16e)](_0x664acc),_0x3e094d===_0x385814[_0x4a0075(0x10f)]&&this[_0x4a0075(0x19a)](_0x664acc);}),this[_0x35d08(0x389)](),this[_0x35d08(0x2d9)](this['_commandService'][_0x35d08(0x1e2)](_0x29133b=>{const _0x30ddc3=_0x35d08;if(this[_0x30ddc3(0x242)]&&_0x29133b['id']===_0x3f708e['id']&&_0x29133b[_0x30ddc3(0x436)][_0x30ddc3(0x452)]===this['unitID']){const _0x5ab8f6=_0x29133b[_0x30ddc3(0x436)];this['_updateLocalCursor'](_0x5ab8f6[_0x30ddc3(0x40c)],_0x5ab8f6[_0x30ddc3(0x217)][0x0]);}})));}['_onCursorUpdate'](_0x43e68b){const _0x2dffc2=_0x5e3172;var _0x4b1683,_0x304a38;const {memberID:_0x48ad7c,selection:_0x3153a3}=_0x43e68b[_0x2dffc2(0x288)],{sheetName:_0x4b4f8e,range:_0x4f016c}=_0x987e76(_0x3153a3),_0x292ffa={'name':(_0x304a38=(_0x4b1683=this[_0x2dffc2(0x16b)]['getMember'](this[_0x2dffc2(0x4e4)],_0x48ad7c))==null?void 0x0:_0x4b1683[_0x2dffc2(0x121)])!=null?_0x304a38:_0x2dffc2(0x496),'range':this[_0x2dffc2(0x2cf)](_0x4b4f8e,_0x4f016c),'sheetID':_0x4b4f8e,'color':this['_colorAssignService'][_0x2dffc2(0x236)](_0x48ad7c),'selection':_0x3153a3},_0x1066c2=this[_0x2dffc2(0x3cd)];_0x1066c2['set'](_0x48ad7c,_0x292ffa),this[_0x2dffc2(0x2eb)][_0x2dffc2(0x23b)](_0x1066c2);}['_onCursorDelete'](_0xa4b712){const _0x58a384=_0x5e3172,{memberID:_0x52cfac}=_0xa4b712['data'],_0x311598=this[_0x58a384(0x3cd)];_0x311598[_0x58a384(0x480)](_0x52cfac),this[_0x58a384(0x2eb)][_0x58a384(0x23b)](_0x311598);}['_getMergeRange'](_0x1f7217,_0x8c5908){const _0x1608a3=_0x5e3172;var _0x2d5ca2,_0x4437c7;const _0x561ef6=(_0x4437c7=(_0x2d5ca2=this[_0x1608a3(0x153)][_0x1608a3(0x3c7)](this[_0x1608a3(0x4e4)]))==null?void 0x0:_0x2d5ca2[_0x1608a3(0x19d)](_0x1f7217))==null?void 0x0:_0x4437c7[_0x1608a3(0x286)]();return(_0x561ef6==null?void 0x0:_0x561ef6['find'](_0x564b8e=>_0x50302c[_0x1608a3(0x2cc)](_0x564b8e,_0x8c5908)))||_0x8c5908;}['_onRefRangeChange'](){const _0x223675=_0x5e3172,_0x5b1765=new _0x1f64b1(),_0x4c7d90=Zo(),_0x3d3b02=()=>{const _0x3ca8cd=_0x1eb2;_0x5b1765[_0x3ca8cd(0x48f)]();const _0x420c21=(_0x7ffb41,_0x25adeb,_0x102998,_0x55f847)=>{const _0x5308a3=_0x3ca8cd;let _0x4373b5=[];switch(_0x7ffb41['id']){case _0x1d34c9[_0x5308a3(0x4cb)]:{_0x4373b5=_0xa5d192(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x249)]:{_0x4373b5=_0x34bf8e(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x1da)]:{_0x4373b5=_0x4f5a43(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x39f)]:{_0x4373b5=_0x28267d(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['InsertRangeMoveRightCommandId']:{_0x4373b5=_0x10303e(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['InsertRowCommandId']:{_0x4373b5=_0x57fbd7(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x262)]:{_0x4373b5=_0x16c781(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x2a0)]:{_0x4373b5=_0x2f48a3(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['RemoveRowCommandId']:{_0x4373b5=_0x45470d(_0x7ffb41,_0x55f847);break;}}const _0x160357=_0x212980(_0x4373b5,_0x55f847),_0x4ed618=this[_0x5308a3(0x3cd)][_0x5308a3(0x307)](_0x25adeb);if(_0x4ed618&&_0x160357){const _0x29ab23={..._0x4ed618,'range':_0x160357};this[_0x5308a3(0x3cd)][_0x5308a3(0x332)](_0x25adeb,_0x29ab23),_0x4c7d90(()=>{const _0x5db3b8=_0x5308a3,_0x289eea=this[_0x5db3b8(0x1dc)][_0x5db3b8(0x30e)](_0x160357,_0x1325dc=>(_0x289eea[_0x5db3b8(0x48f)](),_0x420c21(_0x1325dc,_0x25adeb,_0x102998,_0x160357)));_0x5b1765[_0x5db3b8(0x15f)](_0x289eea);});}return{'redos':[],'undos':[]};};this[_0x3ca8cd(0x3cd)]['forEach']((_0x2d7ed0,_0x446cb2)=>{const _0x102166=_0x3ca8cd,{range:_0x13b209,sheetID:_0x753b7e}=_0x2d7ed0,_0x1ad8ba=this['_refRangeService']['registerRefRange'](_0x13b209,_0x21fc60=>(_0x1ad8ba[_0x102166(0x48f)](),_0x420c21(_0x21fc60,_0x446cb2,_0x753b7e,_0x13b209)));_0x5b1765['add'](_0x1ad8ba);});};this[_0x223675(0x2d9)](_0x38e5fb(this[_0x223675(0x2eb)][_0x223675(0x134)](()=>{_0x3d3b02();})));}['_toggleOnline'](){const _0x15bbb6=_0x5e3172;var _0x2e432f,_0x249c89;if(this[_0x15bbb6(0x242)]=!0x0,((_0x2e432f=this[_0x15bbb6(0x153)][_0x15bbb6(0x27b)]())==null?void 0x0:_0x2e432f[_0x15bbb6(0x12f)]())!==this[_0x15bbb6(0x4e4)])return;const _0x109523=(_0x249c89=this[_0x15bbb6(0x3b4)]['get'](_0x10dd54)[_0x15bbb6(0x39e)]())==null?void 0x0:_0x249c89[0x0],_0x434f30=this[_0x15bbb6(0x153)][_0x15bbb6(0x1e8)](_0xfbb68f[_0x15bbb6(0x1c2)])[_0x15bbb6(0x328)]();_0x109523&&_0x434f30&&this[_0x15bbb6(0x4de)](_0x434f30[_0x15bbb6(0x29c)](),_0x109523);}[_0x5e3172(0x2bd)](){const _0x5b9037=_0x5e3172;this[_0x5b9037(0x242)]=!0x1;}};ds=zo([Be(0x2,_0x1259a7(_0xa6ca3c)),Be(0x3,_0x1259a7(Ns)),Be(0x4,_0x1259a7(Me)),Be(0x5,_0x381e7e),Be(0x6,_0x58c2c0),Be(0x7,_0x1259a7(_0x4fe9a5))],ds);var Qo=Object[_0x5e3172(0x243)],ea=Object[_0x5e3172(0x26f)],ta=(_0x5a6434,_0x53a875,_0x16bcb0,_0x57cc09)=>{const _0x3667fc=_0x5e3172;for(var _0x40a7db=_0x57cc09>0x1?void 0x0:_0x57cc09?ea(_0x53a875,_0x16bcb0):_0x53a875,_0x1911fc=_0x5a6434[_0x3667fc(0x2c8)]-0x1,_0x5620fe;_0x1911fc>=0x0;_0x1911fc--)(_0x5620fe=_0x5a6434[_0x1911fc])&&(_0x40a7db=(_0x57cc09?_0x5620fe(_0x53a875,_0x16bcb0,_0x40a7db):_0x5620fe(_0x40a7db))||_0x40a7db);return _0x57cc09&&_0x40a7db&&Qo(_0x53a875,_0x16bcb0,_0x40a7db),_0x40a7db;},Xt=(_0x3f9166,_0x4fb1a4)=>(_0x2c87c1,_0x19aded)=>_0x4fb1a4(_0x2c87c1,_0x19aded,_0x3f9166);let Ve=class extends _0x5ce84d{constructor(_0x20d83d,_0x1ff6d5,_0x3bc5b9){const _0x22af22=_0x5e3172;super(),g(this,_0x22af22(0x24f),new Map()),g(this,_0x22af22(0x43c),new _0x1b8780()),(this[_0x22af22(0x153)]=_0x20d83d,this['_injector']=_0x1ff6d5,this['_collabSessionService']=_0x3bc5b9,this[_0x22af22(0x1d2)]());}[_0x5e3172(0x48f)](){const _0x41de84=_0x5e3172;super['dispose'](),this[_0x41de84(0x43c)][_0x41de84(0x41f)](),this[_0x41de84(0x24f)]['forEach'](_0x4f98b2=>_0x4f98b2[_0x41de84(0x48f)]());}[_0x5e3172(0x3fc)](_0x367ba5){const _0x4a51fc=_0x5e3172;return this['_entities'][_0x4a51fc(0x3cb)](_0x367ba5)?this[_0x4a51fc(0x24f)]['get'](_0x367ba5)[_0x4a51fc(0x4a9)]:this['_entityInit$'][_0x4a51fc(0x4b6)](_0x446160(_0x28bfb9=>_0x28bfb9[_0x4a51fc(0x4e4)]===_0x367ba5),_0x12c24e(_0x177d80=>_0x177d80['cursorInfo$']));}[_0x5e3172(0x1d2)](){const _0x4fc813=_0x5e3172;this['_univerInstanceService'][_0x4fc813(0x1ba)](_0xfbb68f[_0x4fc813(0x1c2)])[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['subscribe'](async _0x3e4b21=>{const _0x3822dc=_0x4fc813,_0x14efe1=_0x3e4b21[_0x3822dc(0x12f)](),_0x2801af=await this[_0x3822dc(0x52e)](_0x14efe1);this['_entityInit$']['next'](_0x2801af),this[_0x3822dc(0x24f)][_0x3822dc(0x332)](_0x14efe1,_0x2801af);}),this[_0x4fc813(0x153)][_0x4fc813(0x1ba)](_0xfbb68f[_0x4fc813(0x11d)])[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['pipe'](_0x446160(_0x3a17a6=>!_0x3a17a6[_0x4fc813(0x12f)]()[_0x4fc813(0x1b9)]('__')))[_0x4fc813(0x134)](async _0x115f52=>{const _0x2b45bd=_0x4fc813,_0x8e0d3b=_0x115f52[_0x2b45bd(0x12f)](),_0x739887=await this['_startDocCollabCursor'](_0x8e0d3b);this[_0x2b45bd(0x43c)]['next'](_0x739887),this[_0x2b45bd(0x24f)]['set'](_0x8e0d3b,_0x739887);}),_0x143e60(this[_0x4fc813(0x153)][_0x4fc813(0x241)](_0xfbb68f[_0x4fc813(0x11d)]),this[_0x4fc813(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f[_0x4fc813(0x1c2)]))[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['subscribe'](_0x44d531=>{const _0x46029f=_0x4fc813,_0xc368bc=_0x44d531['getUnitId'](),_0x570dd7=this['_entities']['get'](_0xc368bc);_0x570dd7&&(_0x570dd7[_0x46029f(0x48f)](),this[_0x46029f(0x24f)][_0x46029f(0x480)](_0xc368bc));});}async['_startSheetCollabCursor'](_0x58284e){const _0x2c78db=_0x5e3172,_0x2fb22c=await this['_collabSessionService']['requireSession'](_0x58284e),_0x2da2c6=this[_0x2c78db(0x3b4)][_0x2c78db(0x13c)](ds,_0x58284e,_0x2fb22c);return _0x2da2c6[_0x2c78db(0x433)](),_0x2da2c6;}async[_0x5e3172(0x4c8)](_0x3d3ba6){const _0x530977=_0x5e3172,_0xe63789=await this[_0x530977(0x22d)][_0x530977(0x17e)](_0x3d3ba6),_0x16a8a0=this[_0x530977(0x3b4)][_0x530977(0x13c)](us,_0x3d3ba6,_0xe63789);return _0x16a8a0[_0x530977(0x433)](),_0x16a8a0;}};Ve=ta([Xt(0x0,_0x381e7e),Xt(0x1,_0x1259a7(_0xa6ca3c)),Xt(0x2,_0x1259a7(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x260d6c,_0x34705a){const _0x2fbf71=_0x5e3172;let {radius:_0x219cf5,width:_0x4aedfe,height:_0x56710d}=_0x34705a;_0x219cf5=_0x219cf5!=null?_0x219cf5:0x0,_0x4aedfe=_0x4aedfe!=null?_0x4aedfe:0x1e,_0x56710d=_0x56710d!=null?_0x56710d:0x1e;let _0x5c3a3f=0x0,_0x1967aa=0x0,_0x3aa916=0x0;_0x5c3a3f=_0x1967aa=_0x3aa916=Math[_0x2fbf71(0x26a)](_0x219cf5,_0x4aedfe/0x2,_0x56710d/0x2),_0x260d6c['beginPath'](),_0x260d6c['moveTo'](_0x5c3a3f,0x0),_0x260d6c['lineTo'](_0x4aedfe-_0x1967aa,0x0),_0x260d6c[_0x2fbf71(0x36f)](_0x4aedfe-_0x1967aa,_0x1967aa,_0x1967aa,Math['PI']*0x3/0x2,0x0,!0x1),_0x260d6c[_0x2fbf71(0x1e3)](_0x4aedfe,_0x56710d-_0x3aa916),_0x260d6c[_0x2fbf71(0x36f)](_0x4aedfe-_0x3aa916,_0x56710d-_0x3aa916,_0x3aa916,0x0,Math['PI']/0x2,!0x1),_0x260d6c[_0x2fbf71(0x1e3)](0x0,_0x56710d),_0x260d6c['lineTo'](0x0,_0x5c3a3f),_0x260d6c[_0x2fbf71(0x36f)](_0x5c3a3f,_0x5c3a3f,_0x5c3a3f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x260d6c['closePath'](),_0x34705a[_0x2fbf71(0x123)]&&(_0x260d6c[_0x2fbf71(0x303)](),_0x260d6c[_0x2fbf71(0x4f1)]=_0x34705a[_0x2fbf71(0x123)],_0x34705a['fillRule']==='evenodd'?_0x260d6c[_0x2fbf71(0x123)]('evenodd'):_0x260d6c[_0x2fbf71(0x123)](),_0x260d6c[_0x2fbf71(0x2c9)]());}class Bt extends _0x3f24aa{constructor(_0x51fccc,_0x274ed7){const _0x4e50b5=_0x5e3172;super(_0x51fccc,_0x274ed7),g(this,_0x4e50b5(0x369)),g(this,_0x4e50b5(0x412)),(this[_0x4e50b5(0x369)]=_0x274ed7==null?void 0x0:_0x274ed7[_0x4e50b5(0x369)],this['text']=_0x274ed7==null?void 0x0:_0x274ed7[_0x4e50b5(0x412)]);}static[_0x5e3172(0x2a8)](_0x49a353,_0x54e4ca){const _0x1cf39e=_0x5e3172,{text:_0x422830,color:_0x2178a8}=_0x54e4ca;_0x49a353[_0x1cf39e(0x303)](),_0x49a353[_0x1cf39e(0x161)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1f026b=_0x49a353[_0x1cf39e(0x2c7)](_0x422830)[_0x1cf39e(0x1f2)],_0x745cba=Math[_0x1cf39e(0x26a)](_0x1f026b+0x2*Jt,ii);ia(_0x49a353,{'height':nt,'radius':0x4,'width':_0x745cba,'fill':_0x2178a8,'evented':!0x1}),_0x49a353[_0x1cf39e(0x4f1)]='#FFF';const _0x36111a=Jt,_0x9699d2=nt-sa,_0x59f444=ii-0x2*Jt;if(_0x1f026b>_0x59f444){let _0x314853='',_0x198659=0x0;for(const _0xbb1c96 of _0x422830){const _0x221e16=_0x49a353[_0x1cf39e(0x2c7)](_0xbb1c96)[_0x1cf39e(0x1f2)];if(_0x198659+_0x221e16<=_0x59f444-_0x49a353[_0x1cf39e(0x2c7)](_0x1cf39e(0x3b6))[_0x1cf39e(0x1f2)])_0x314853+=_0xbb1c96,_0x198659+=_0x221e16;else{_0x314853+='...';break;}}_0x49a353[_0x1cf39e(0x4fe)](_0x314853,_0x36111a,_0x9699d2);}else _0x49a353['fillText'](_0x422830,_0x36111a,_0x9699d2);_0x49a353[_0x1cf39e(0x2c9)]();}[_0x5e3172(0x32d)](_0x28feeb){Bt['drawWith'](_0x28feeb,this);}}const Zt='collab-text-anchor-',ra=_0x5e3172(0x1ea),na=_0x5e3172(0x31e),Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca=_0x5e3172(0x371);class ri{constructor(_0xacd008,_0x485170,_0x2fc50c,_0x5cf4c8){const _0xdbe5a2=_0x5e3172;g(this,_0xdbe5a2(0x3e4),[]),g(this,'_anchor',null),g(this,_0xdbe5a2(0x1fb),null),g(this,'_anchorDot',null),g(this,_0xdbe5a2(0x2c0),null),g(this,_0xdbe5a2(0x415),null),(this[_0xdbe5a2(0x1bb)]=_0xacd008,this[_0xdbe5a2(0x3eb)]=_0x485170,this['_docSkeleton']=_0x2fc50c,this[_0xdbe5a2(0x425)]=_0x5cf4c8,this[_0xdbe5a2(0x435)]());}set[_0x5e3172(0x378)](_0x1e3f1e){const _0x2e5e11=_0x5e3172;_0x1e3f1e?(this[_0x2e5e11(0x4c6)]&&this['_anchorDot'][_0x2e5e11(0x232)](),this[_0x2e5e11(0x1fb)]&&this[_0x2e5e11(0x1fb)][_0x2e5e11(0x4b7)]()):(this['_anchorDot']&&this[_0x2e5e11(0x4c6)]['show'](),this[_0x2e5e11(0x1fb)]&&this[_0x2e5e11(0x1fb)][_0x2e5e11(0x232)]());}[_0x5e3172(0x48f)](){const _0x21dc0b=_0x5e3172;for(const _0x1d6d31 of this[_0x21dc0b(0x3e4)])_0x1d6d31[_0x21dc0b(0x48f)]();this[_0x21dc0b(0x1fb)]&&this[_0x21dc0b(0x1fb)]['dispose'](),this[_0x21dc0b(0x4c6)]&&this[_0x21dc0b(0x4c6)][_0x21dc0b(0x48f)](),this['_anchor']&&this[_0x21dc0b(0x3f5)][_0x21dc0b(0x48f)](),this[_0x21dc0b(0x415)]&&this[_0x21dc0b(0x415)]();}[_0x5e3172(0x435)](){const _0x39b12e=_0x5e3172;var _0x3da377;const {_docSkeleton:_0x4eefd7,_document:_0x25dc7b}=this,{color:_0x16ba58,name:_0x47d85e,ranges:_0x89ae1b}=this[_0x39b12e(0x1bb)],_0x23e91e=_0x25dc7b[_0x39b12e(0x257)](),{docsLeft:_0x36fafe,docsTop:_0x45b983}=_0x23e91e,_0xe190f9=new _0x23a52e(_0x23e91e,_0x4eefd7);for(const {startOffset:_0x1854c6,endOffset:_0x43978a,rangeType:_0x12b106,segmentId:_0x557368,segmentPage:_0x36b7f4,collapsed:_0x1ae1d3,isActive:_0x1ab284}of _0x89ae1b){const _0x211103=_0x4eefd7[_0x39b12e(0x264)](_0x1854c6,!0x0,_0x557368,_0x36b7f4);let _0x1f8300=_0x4eefd7[_0x39b12e(0x264)](_0x43978a,!0x0,_0x557368,_0x36b7f4);if(_0x1f8300==null&&(_0x1f8300=_0x4eefd7[_0x39b12e(0x264)](_0x43978a-0x1,!0x1,_0x557368,_0x36b7f4)),_0x1ab284){const {contentBoxPointGroup:_0xbcc775}=_0xe190f9[_0x39b12e(0x14c)](_0x1f8300,_0x1f8300);if(_0xbcc775[_0x39b12e(0x2c8)]===0x0)continue;this['_drawAnchor'](_0x16ba58,_0xbcc775,_0x36fafe,_0x45b983,_0x47d85e),this['_eventUnsubscribe']=this[_0x39b12e(0x321)]();}if(_0x211103&&_0x1f8300){if(_0x12b106===_0x263740[_0x39b12e(0x353)]){const _0x3fd2d7=new _0x135bfe(_0x23e91e,_0x4eefd7),{pointGroup:_0x1fb9b8}=(_0x3da377=_0x3fd2d7['getRangePointData'](_0x211103,_0x1f8300))!=null?_0x3da377:{};if(_0x1fb9b8==null||_0x1fb9b8[_0x39b12e(0x2c8)]===0x0)continue;this['_drawRectRange'](_0x16ba58,_0x1fb9b8,_0x36fafe,_0x45b983);}else{if(!_0x1ae1d3){const {borderBoxPointGroup:_0x41d2ba}=_0xe190f9['getRangePointData'](_0x211103,_0x1f8300);if(_0x41d2ba[_0x39b12e(0x2c8)]===0x0)continue;this[_0x39b12e(0x193)](_0x16ba58,_0x41d2ba,_0x36fafe,_0x45b983);}}}}}['_drawAnchor'](_0x298a44,_0x2963c4,_0x9e7bf4,_0x13f491,_0x144d69){const _0x49aa86=_0x5e3172,_0x5c08e3=this[_0x49aa86(0x13e)](_0x2963c4),{left:_0x4aebbf,top:_0x487e17,height:_0x52f302}=_0x5c08e3,_0x4e2420=this[_0x49aa86(0x4c4)](),_0x261378=aa/_0x4e2420,_0x46ebf9=new _0x5876ba(Zt+_0x279a54[_0x49aa86(0x18f)](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491,'height':_0x52f302,'width':oa,'fill':_0x298a44||_0x58cb0a(_0x341aed[_0x49aa86(0x218)],0x0),'strokeWidth':_0x261378,'stroke':ca,'evented':!0x0});this[_0x49aa86(0x3f5)]=_0x46ebf9,this['_scene'][_0x49aa86(0x49c)](_0x46ebf9,_0x2641c4);const _0x3d5828=new _0x5876ba(Zt+_0x279a54['generateRandomId'](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x298a44||_0x58cb0a(_0x341aed[_0x49aa86(0x218)],0x0),'strokeWidth':0x0,'stroke':_0x298a44||_0x58cb0a(_0x341aed['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x3d5828,this[_0x49aa86(0x3eb)]['addObject'](_0x3d5828,_0x2641c4);const _0x5b8ff4=new Bt(Zt+_0x279a54[_0x49aa86(0x18f)](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491-nt,'text':_0x144d69,'color':_0x298a44});this['_textBubble']=_0x5b8ff4,this[_0x49aa86(0x3eb)]['addObject'](_0x5b8ff4,_0x2641c4),this[_0x49aa86(0x378)]=!0x1;}[_0x5e3172(0x321)](){const _0x5dbc1f=_0x5e3172,_0x7053b2=this[_0x5dbc1f(0x3f5)][_0x5dbc1f(0x4aa)][_0x5dbc1f(0x14b)](()=>{const _0x4bf167=_0x5dbc1f;this[_0x4bf167(0x378)]=!0x0;}),_0x306e2a=this['_anchor'][_0x5dbc1f(0x4c9)]['subscribeEvent'](()=>{const _0x1e85fd=_0x5dbc1f;this['_hideTimer']&&clearTimeout(this[_0x1e85fd(0x2c0)]),this[_0x1e85fd(0x2c0)]=setTimeout(()=>{const _0x205d19=_0x1e85fd;this[_0x205d19(0x378)]=!0x1;},0x7d0);});return()=>{const _0xc341fd=_0x5dbc1f;_0x7053b2[_0xc341fd(0x527)](),_0x306e2a['unsubscribe']();};}[_0x5e3172(0x193)](_0x338942,_0x1c717b,_0x3cedc4,_0x10fea6){const _0x4b1f1c=_0x5e3172,_0x3494c8=new _0x5842d9(_0x338942)[_0x4b1f1c(0x2af)](0.2)[_0x4b1f1c(0x1f8)](),_0x2c3cd6=new _0x2f6ca8(ra+_0x279a54[_0x4b1f1c(0x18f)](Je),{'pointsGroup':_0x1c717b,'fill':_0x3494c8||_0x58cb0a(_0x341aed[_0x4b1f1c(0x218)],0.2),'left':_0x3cedc4,'top':_0x10fea6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b1f1c(0x3e4)][_0x4b1f1c(0x38e)](_0x2c3cd6),this['_scene'][_0x4b1f1c(0x49c)](_0x2c3cd6,_0x2641c4);}['_drawRectRange'](_0x438458,_0x2aabd4,_0x190dd3,_0x324a77){const _0x3320e2=_0x5e3172,_0x3dd34e=new _0x5842d9(_0x438458)[_0x3320e2(0x2af)](0.2)[_0x3320e2(0x1f8)](),_0x14cde2=new _0x2f6ca8(na+_0x279a54['generateRandomId'](Je),{'pointsGroup':_0x2aabd4,'fill':_0x3dd34e||_0x58cb0a(_0x341aed['black'],0.2),'left':_0x190dd3,'top':_0x324a77,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3320e2(0x3e4)][_0x3320e2(0x38e)](_0x14cde2),this[_0x3320e2(0x3eb)][_0x3320e2(0x49c)](_0x14cde2,_0x2641c4);}[_0x5e3172(0x13e)](_0x40a650){const _0x79d4=_0x40a650[0x0],_0x1a6cb1=_0x79d4[0x0],_0x1b7efa=_0x79d4[0x2],{x:_0x2c8d7c,y:_0x5dc30c}=_0x1a6cb1,{x:_0x3a2f02,y:_0x4131a5}=_0x1b7efa;return{'left':_0x2c8d7c,'top':_0x5dc30c,'width':_0x3a2f02-_0x2c8d7c,'height':_0x4131a5-_0x5dc30c};}[_0x5e3172(0x4c4)](){const _0xa40793=_0x5e3172,{scaleX:_0xaab586,scaleY:_0x4aa88d}=this[_0xa40793(0x3eb)][_0xa40793(0x25f)]();return Math['max'](_0xaab586,_0x4aa88d);}}var ha=Object['defineProperty'],la=Object[_0x5e3172(0x26f)],_a=(_0x553e90,_0x454a83,_0x3982c0,_0x51de46)=>{const _0x3ca675=_0x5e3172;for(var _0x2f3aa4=_0x51de46>0x1?void 0x0:_0x51de46?la(_0x454a83,_0x3982c0):_0x454a83,_0x356ba9=_0x553e90[_0x3ca675(0x2c8)]-0x1,_0x3f81cf;_0x356ba9>=0x0;_0x356ba9--)(_0x3f81cf=_0x553e90[_0x356ba9])&&(_0x2f3aa4=(_0x51de46?_0x3f81cf(_0x454a83,_0x3982c0,_0x2f3aa4):_0x3f81cf(_0x2f3aa4))||_0x2f3aa4);return _0x51de46&&_0x2f3aa4&&ha(_0x454a83,_0x3982c0,_0x2f3aa4),_0x2f3aa4;},ht=(_0xd31d77,_0x386236)=>(_0x1666cd,_0x8641ea)=>_0x386236(_0x1666cd,_0x8641ea,_0xd31d77);let fs=class extends _0x5ce84d{constructor(_0x4599c9,_0x4af69b,_0x345f80,_0x5dae7b,_0x2412f1){const _0x141e18=_0x5e3172;super(),g(this,'_cursorShapes',[]),g(this,'_cursors',[]),(this[_0x141e18(0x4d4)]=_0x4599c9,this['_docSkeletonManagerService']=_0x4af69b,this[_0x141e18(0x3f6)]=_0x345f80,this[_0x141e18(0x327)]=_0x5dae7b,this[_0x141e18(0x4b4)]=_0x2412f1,this[_0x141e18(0x1d2)]());}[_0x5e3172(0x1d2)](){const _0x1d5688=_0x5e3172,_0x51046c=this[_0x1d5688(0x4d4)][_0x1d5688(0x452)],_0xc371cc=this['_docSkeletonManagerService'];this[_0x1d5688(0x2d9)](_0x1bfc9f([this[_0x1d5688(0x3f6)][_0x1d5688(0x3fc)](_0x51046c),this[_0x1d5688(0x4b4)][_0x1d5688(0x365)]])[_0x1d5688(0x4b6)](_0x2945cf(([_0x3b42f4,_0x591e6b])=>({'skeleton':_0xc371cc[_0x1d5688(0x2e9)](),'cursors':[..._0x3b42f4[_0x1d5688(0x21a)]()][_0x1d5688(0x486)](_0x10147d=>({..._0x10147d,'color':_0x591e6b[_0x10147d['color']]}))})))[_0x1d5688(0x134)](_0x1e350b=>{const _0x140021=_0x1d5688;if(this[_0x140021(0x248)](),_0x1e350b){const {skeleton:_0x2bc7ad,cursors:_0x5eb60b}=_0x1e350b;this[_0x140021(0x3d7)](_0x2bc7ad,_0x5eb60b);}})),this[_0x1d5688(0x390)](),this[_0x1d5688(0x1f7)]();}[_0x5e3172(0x3d7)](_0x2405ad,_0x1ee054){const _0x2cecf3=_0x5e3172,{scene:_0x4c9e47,mainComponent:_0x16e25a}=this[_0x2cecf3(0x4d4)],_0x3d9e77=_0x1ee054[_0x2cecf3(0x2b4)](_0x7a824a=>new ri(_0x7a824a,_0x4c9e47,_0x2405ad,_0x16e25a));this[_0x2cecf3(0x342)]=_0x3d9e77,this['_cursors']=_0x1ee054;}[_0x5e3172(0x347)](){const _0x4974a8=_0x5e3172;this[_0x4974a8(0x248)]();const {scene:_0x4a85ec,mainComponent:_0x28279f}=this['_context'],_0x3f7aa2=this['_docSkeletonManagerService'][_0x4974a8(0x2e9)](),_0x312cc2=this[_0x4974a8(0x1de)][_0x4974a8(0x2b4)](_0x2f0c4b=>new ri(_0x2f0c4b,_0x4a85ec,_0x3f7aa2,_0x28279f));this[_0x4974a8(0x342)]=_0x312cc2;}[_0x5e3172(0x248)](){const _0x40ef28=_0x5e3172;this[_0x40ef28(0x342)]['forEach'](_0x10fdf2=>_0x10fdf2[_0x40ef28(0x48f)]()),this['_cursorShapes']=[];}[_0x5e3172(0x1f7)](){const _0x5b9ce7=_0x5e3172,_0x1f9c88=[_0x56f25a['id']];this[_0x5b9ce7(0x2d9)](this['_commandService'][_0x5b9ce7(0x1e2)](_0x10af6d=>{const _0x404c1a=_0x5b9ce7;_0x1f9c88['includes'](_0x10af6d['id'])&&_0x10af6d[_0x404c1a(0x436)][_0x404c1a(0x452)]===this[_0x404c1a(0x4d4)][_0x404c1a(0x452)]&&this['_refreshCollabCursors']();}));}[_0x5e3172(0x390)](){const _0x47532b=_0x5e3172;this[_0x47532b(0x2d9)](_0xb2198c(this['_context'][_0x47532b(0x11a)][_0x47532b(0x19e)])[_0x47532b(0x4b6)](_0x3c0a43(_0x3d5a58=>_0x3d5a58[_0x47532b(0x20d)]===_0x2759c0[_0x47532b(0x459)]),_0x14e77d(0x10))[_0x47532b(0x134)](()=>{this['_refreshCollabCursors']();}));}};fs=_a([ht(0x1,_0x1259a7(_0x218e07)),ht(0x2,_0x1259a7(Ve)),ht(0x3,_0x58c2c0),ht(0x4,_0x1259a7(_0x3b15b9))],fs);const ua=0x1,da=1.5;class fa extends _0x3f24aa{constructor(_0x138e53,_0x1604b8){const _0x4f0ab6=_0x5e3172;super(_0x138e53,_0x1604b8),g(this,'_color'),g(this,_0x4f0ab6(0x396),!0x1),g(this,_0x4f0ab6(0x4e6)),g(this,'_name',''),g(this,_0x4f0ab6(0x41e),'top'),g(this,'_backgroundColor'),(_0x1604b8&&this[_0x4f0ab6(0x2e3)](_0x1604b8),this[_0x4f0ab6(0x4aa)]['subscribeEvent'](()=>this[_0x4f0ab6(0x2e3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4f0ab6(0x14b)](()=>this[_0x4f0ab6(0x2e3)]({'hovered':!0x1})));}[_0x5e3172(0x2e3)](_0x584116){const _0x51b433=_0x5e3172;var _0x5ddf82,_0x282581,_0x98bfb5,_0x1e9443,_0x5a1434,_0x41e641;this['_color']=(_0x5ddf82=_0x584116['color'])!=null?_0x5ddf82:this[_0x51b433(0x230)],this['_hovered']=(_0x282581=_0x584116[_0x51b433(0x534)])!=null?_0x282581:this[_0x51b433(0x396)],this[_0x51b433(0x4e6)]=(_0x98bfb5=_0x584116[_0x51b433(0x168)])!=null?_0x98bfb5:this[_0x51b433(0x4e6)],this[_0x51b433(0x2c5)]=(_0x1e9443=_0x584116['name'])!=null?_0x1e9443:this[_0x51b433(0x2c5)],this[_0x51b433(0x41e)]=(_0x5a1434=_0x584116[_0x51b433(0x254)])!=null?_0x5a1434:this[_0x51b433(0x41e)],this['_backgroundColor']=(_0x41e641=_0x584116[_0x51b433(0x517)])!=null?_0x41e641:this[_0x51b433(0x419)],this[_0x51b433(0x206)]({'width':_0x584116[_0x51b433(0x1f2)],'height':_0x584116[_0x51b433(0x33a)]});}['onMouseMove'](_0x12b476){const _0x90d4d0=_0x5e3172,{row:_0x38f560,column:_0x41a52b}=_0x12b476;if(_0x38f560>=this[_0x90d4d0(0x4e6)]['startRow']&&_0x38f560<=this['_range'][_0x90d4d0(0x44d)]&&_0x41a52b>=this[_0x90d4d0(0x4e6)][_0x90d4d0(0x2a6)]&&_0x41a52b<=this[_0x90d4d0(0x4e6)][_0x90d4d0(0x30d)]){this[_0x90d4d0(0x2e3)]({'hovered':!0x0});return;}this[_0x90d4d0(0x2e3)]({'hovered':!0x1});}['triggerDblclick'](_0x43f762){return!0x1;}[_0x5e3172(0x32d)](_0x1821b9){const _0x2c7b99=_0x5e3172;_0x5876ba[_0x2c7b99(0x2a8)](_0x1821b9,{'width':this[_0x2c7b99(0x1f2)],'height':this[_0x2c7b99(0x33a)],'strokeWidth':da,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2c7b99(0x419)]}),this[_0x2c7b99(0x396)]&&(_0x1821b9[_0x2c7b99(0x303)](),_0x1821b9[_0x2c7b99(0x2dc)](0x1,0x0,0x0,0x1,this[_0x2c7b99(0x1f2)],this[_0x2c7b99(0x41e)]==='bottom'?0x0:-nt),Bt[_0x2c7b99(0x2a8)](_0x1821b9,{'text':this[_0x2c7b99(0x2c5)],'color':this[_0x2c7b99(0x230)]}),_0x1821b9[_0x2c7b99(0x2c9)]());}}var va=Object[_0x5e3172(0x243)],pa=Object[_0x5e3172(0x26f)],ma=(_0x5d5dbc,_0x3c9ff2,_0x358b18,_0x203130)=>{const _0xd40e36=_0x5e3172;for(var _0x288e1c=_0x203130>0x1?void 0x0:_0x203130?pa(_0x3c9ff2,_0x358b18):_0x3c9ff2,_0x5a5a5c=_0x5d5dbc[_0xd40e36(0x2c8)]-0x1,_0x2c107a;_0x5a5a5c>=0x0;_0x5a5a5c--)(_0x2c107a=_0x5d5dbc[_0x5a5a5c])&&(_0x288e1c=(_0x203130?_0x2c107a(_0x3c9ff2,_0x358b18,_0x288e1c):_0x2c107a(_0x288e1c))||_0x288e1c);return _0x203130&&_0x288e1c&&va(_0x3c9ff2,_0x358b18,_0x288e1c),_0x288e1c;},es=(_0x556931,_0x6f7b74)=>(_0x45bd16,_0x57f0db)=>_0x6f7b74(_0x45bd16,_0x57f0db,_0x556931);const ga=0x1389;let vs=class extends _0x5ce84d{constructor(_0x4637bc,_0xee0210,_0x5e3f2d,_0x24a0e4){const _0x5b81ea=_0x5e3172;super(),g(this,_0x5b81ea(0x1de),new Set()),g(this,_0x5b81ea(0x1a4),null),(this['_context']=_0x4637bc,this[_0x5b81ea(0x36e)]=_0xee0210,this[_0x5b81ea(0x3f6)]=_0x5e3f2d,this[_0x5b81ea(0x4b4)]=_0x24a0e4,this[_0x5b81ea(0x1d2)]());}[_0x5e3172(0x1d2)](){const _0x4e86c2=_0x5e3172;this[_0x4e86c2(0x36e)][_0x4e86c2(0x2ec)][_0x4e86c2(0x4b6)](_0x209ee4(this[_0x4e86c2(0x511)]),_0x506a28(_0x38f670=>{const _0x5c75b1=_0x4e86c2;if(_0x38f670){const _0x5b5795=_0x38f670[_0x5c75b1(0x42f)];return _0x1bfc9f(this[_0x5c75b1(0x3f6)][_0x5c75b1(0x3fc)](this['_context'][_0x5c75b1(0x452)]),this[_0x5c75b1(0x4b4)][_0x5c75b1(0x365)])[_0x5c75b1(0x4b6)](_0x2945cf(([_0x592e56,_0x401f6a])=>{const _0xe204f4=_0x5c75b1,_0x3c189b=new Map();return _0x592e56[_0xe204f4(0x356)]((_0x490b74,_0x5a7751)=>{const _0x5771e6=_0xe204f4;if(_0x490b74[_0x5771e6(0x1c8)]===_0x5b5795){const _0x3545a9={..._0x490b74};_0x3545a9[_0x5771e6(0x369)]=_0x401f6a[_0x490b74[_0x5771e6(0x369)]],_0x3c189b[_0x5771e6(0x332)](_0x5a7751,_0x3545a9);}}),{'skeleton':_0x38f670,'cursors':_0x3c189b};}));}return _0x4f62b6({'skeleton':null,'cursors':new Map()});}))[_0x4e86c2(0x134)](({skeleton:_0x5c5c47,cursors:_0x3a1cc1})=>{const _0x42a3b1=_0x4e86c2;this['_removeCollabCursors'](),_0x5c5c47&&this[_0x42a3b1(0x3d7)](_0x5c5c47,_0x3a1cc1);}),this[_0x4e86c2(0x36e)][_0x4e86c2(0x2ec)]['subscribe'](_0x30856f=>{const _0x254c95=_0x4e86c2;if(_0x30856f==null)return;const {skeleton:_0x5df8ca}=_0x30856f,{scene:_0xa84e0b}=this[_0x254c95(0x4d4)];_0xa84e0b[_0x254c95(0x424)][_0x254c95(0x14b)](_0x38f51c(_0x3c1dd3=>{const _0xe85e6b=_0x254c95;var _0x2d9d1a,_0x161525;const {offsetX:_0x150b29,offsetY:_0x5293ff}=_0x3c1dd3,{x:_0x1c1fd4,y:_0x4c4014}=_0xa84e0b['getRelativeToViewportCoord'](_0x40d11c[_0xe85e6b(0x40a)]([_0x150b29,_0x5293ff])),{scaleX:_0x409349,scaleY:_0xa066e7}=_0xa84e0b[_0xe85e6b(0x25f)](),_0x4c1dab=_0xa84e0b[_0xe85e6b(0x180)](_0x3dbe35[_0xe85e6b(0x50a)]),_0x4dcd02=_0xa84e0b[_0xe85e6b(0x25a)](_0x40d11c[_0xe85e6b(0x40a)]([_0x1c1fd4,_0x4c4014]),_0x4c1dab),_0x340d88=_0x5df8ca[_0xe85e6b(0x219)](_0x150b29,_0x5293ff,_0x409349,_0xa066e7,_0x4dcd02);((_0x2d9d1a=this['_lastPointer'])==null?void 0x0:_0x2d9d1a[_0xe85e6b(0x3a4)])===_0x340d88['column']&&((_0x161525=this[_0xe85e6b(0x1a4)])==null?void 0x0:_0x161525[_0xe85e6b(0x226)])===_0x340d88['row']||this[_0xe85e6b(0x1de)][_0xe85e6b(0x356)](_0x50010e=>{const _0x56a323=_0xe85e6b;_0x50010e[_0x56a323(0x335)](_0x340d88);});},0x64));});}[_0x5e3172(0x3d7)](_0x18e23f,_0x162a6e){const _0x868883=_0x5e3172;var _0x4cd326;const _0x14725a=(_0x4cd326=this[_0x868883(0x36e)][_0x868883(0x17c)]())==null?void 0x0:_0x4cd326['skeleton'];if(!_0x14725a)return;const _0x3c3dda=this['_getSheetObject']();if(!_0x3c3dda)return;this[_0x868883(0x1de)][_0x868883(0x356)](_0x2c8af2=>{const _0x41a29d=_0x868883;_0x2c8af2[_0x41a29d(0x1d5)]();});const {scene:_0x2d7dfd}=_0x3c3dda,_0x21621e=Sa(Array[_0x868883(0x49e)](_0x162a6e[_0x868883(0x21a)]()))['map'](_0x69f602=>{const _0x38389f=_0x868883,{color:_0x283470,range:_0x37da33,name:_0x5892bb,selection:_0x444a27,sheetID:_0x4c4ccb}=_0x69f602,{startColumn:_0x4d14ee,startRow:_0x17c6fc,endColumn:_0x18f91d,endRow:_0x484076}=_0x37da33,_0x17d3bf=_0x1028ea(_0x17c6fc,_0x4d14ee,_0x2d7dfd,_0x14725a),_0xbce160=_0x1028ea(_0x484076,_0x18f91d,_0x2d7dfd,_0x14725a),{columnHeaderHeightAndMarginTop:_0x518fbe}=_0x14725a,{startX:_0x3e5c2c,startY:_0x3afa07}=_0x17d3bf,{endX:_0x5c0e6f,endY:_0x10a8a3}=_0xbce160,_0x5ba9d3=_0x5c0e6f-_0x3e5c2c,_0x40a48b=_0x10a8a3-_0x3afa07,_0x32bf0b={'labelPosition':_0x3afa07-_0x518fbe>=nt?_0x38389f(0x467):_0x38389f(0x4c3),'sheetID':_0x4c4ccb,'range':_0x37da33,'color':_0x283470,'name':_0x5892bb,'selection':_0x444a27,'left':_0x3e5c2c,'top':_0x3afa07,'width':_0x5ba9d3,'height':_0x40a48b,'evented':!0x1,'zIndex':ga};return new fa(_0x5892bb,_0x32bf0b);});_0x2d7dfd['addObjects'](_0x21621e,ua),this[_0x868883(0x1de)]=new Set(_0x21621e);}['_removeCollabCursors'](){const _0x414339=_0x5e3172;var _0x47381e;(_0x47381e=this[_0x414339(0x1de)])==null||_0x47381e[_0x414339(0x356)](_0x2ec5e8=>_0x2ec5e8['dispose']());}[_0x5e3172(0x40b)](){const _0x1d8b5b=_0x5e3172;return _0x7eaba5(this['_context']['unit'],this[_0x1d8b5b(0x4d4)]);}};vs=ma([es(0x1,_0x1259a7(_0x5d1f2f)),es(0x2,_0x1259a7(Ve)),es(0x3,_0x1259a7(_0x3b15b9))],vs);function Sa(_0x3d42ab){const _0x3b7c58=_0x5e3172,_0xabb5c3=new Map();return _0x3d42ab[_0x3b7c58(0x356)](_0x2bffd0=>{const _0x3184c2=_0x3b7c58;if(_0xabb5c3[_0x3184c2(0x3cb)](_0x2bffd0[_0x3184c2(0x533)])){const _0x321dde=_0xabb5c3[_0x3184c2(0x307)](_0x2bffd0[_0x3184c2(0x533)]);_0x321dde[_0x3184c2(0x121)]+=',\x20'+_0x2bffd0[_0x3184c2(0x121)];}else _0xabb5c3['set'](_0x2bffd0[_0x3184c2(0x533)],_0x2bffd0);}),Array[_0x3b7c58(0x49e)](_0xabb5c3['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x324395){const _0x468efe=_0x5e3172;return _0x324395&&_0x324395[_0x468efe(0x25e)]&&Object[_0x468efe(0x4e8)][_0x468efe(0x4d8)]['call'](_0x324395,_0x468efe(0x3a1))?_0x324395[_0x468efe(0x3a1)]:_0x324395;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x3ba933=_0x5e3172;if(ni)return Ze;ni=0x1;var _0x961aab=_0x165312,_0x1c5bf7=Symbol[_0x3ba933(0x289)](_0x3ba933(0x28c)),_0x614ed0=Symbol[_0x3ba933(0x289)]('react.fragment'),_0x251ca0=Object[_0x3ba933(0x4e8)]['hasOwnProperty'],_0x1a8bfd=_0x961aab['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x3ba933(0x47b)],_0x524a08={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x394b93(_0x233a0e,_0xcb6ec2,_0x2aa8ed){const _0x171f76=_0x3ba933;var _0x2b2e74,_0x4529e4={},_0x527d80=null,_0x2825e2=null;_0x2aa8ed!==void 0x0&&(_0x527d80=''+_0x2aa8ed),_0xcb6ec2[_0x171f76(0x36a)]!==void 0x0&&(_0x527d80=''+_0xcb6ec2[_0x171f76(0x36a)]),_0xcb6ec2[_0x171f76(0x11e)]!==void 0x0&&(_0x2825e2=_0xcb6ec2[_0x171f76(0x11e)]);for(_0x2b2e74 in _0xcb6ec2)_0x251ca0['call'](_0xcb6ec2,_0x2b2e74)&&!_0x524a08['hasOwnProperty'](_0x2b2e74)&&(_0x4529e4[_0x2b2e74]=_0xcb6ec2[_0x2b2e74]);if(_0x233a0e&&_0x233a0e['defaultProps']){for(_0x2b2e74 in(_0xcb6ec2=_0x233a0e[_0x171f76(0x346)],_0xcb6ec2))_0x4529e4[_0x2b2e74]===void 0x0&&(_0x4529e4[_0x2b2e74]=_0xcb6ec2[_0x2b2e74]);}return{'$$typeof':_0x1c5bf7,'type':_0x233a0e,'key':_0x527d80,'ref':_0x2825e2,'props':_0x4529e4,'_owner':_0x1a8bfd[_0x171f76(0x363)]};}return Ze[_0x3ba933(0x516)]=_0x614ed0,Ze[_0x3ba933(0x2b8)]=_0x394b93,Ze[_0x3ba933(0x1dd)]=_0x394b93,Ze;}var oi;function Ca(){const _0x28ef33=_0x5e3172;return oi||(oi=0x1,ss[_0x28ef33(0x4b3)]=Ia()),ss['exports'];}var De=Ca(),te=function(){const _0x437dc2=_0x5e3172;return te=Object['assign']||function(_0x546cd5){const _0x24e934=_0x1eb2;for(var _0x1812d4,_0x15806f=0x1,_0x4211e3=arguments[_0x24e934(0x2c8)];_0x15806f<_0x4211e3;_0x15806f++){_0x1812d4=arguments[_0x15806f];for(var _0x2488ad in _0x1812d4)Object[_0x24e934(0x4e8)][_0x24e934(0x4d8)][_0x24e934(0x500)](_0x1812d4,_0x2488ad)&&(_0x546cd5[_0x2488ad]=_0x1812d4[_0x2488ad]);}return _0x546cd5;},te[_0x437dc2(0x212)](this,arguments);},Ea=function(_0x46a891,_0x5cb3cb){const _0x33d803=_0x5e3172;var _0x450025={};for(var _0x519d60 in _0x46a891)Object[_0x33d803(0x4e8)][_0x33d803(0x4d8)][_0x33d803(0x500)](_0x46a891,_0x519d60)&&_0x5cb3cb['indexOf'](_0x519d60)<0x0&&(_0x450025[_0x519d60]=_0x46a891[_0x519d60]);if(_0x46a891!=null&&typeof Object['getOwnPropertySymbols']==_0x33d803(0x308)){for(var _0x5447d1=0x0,_0x519d60=Object['getOwnPropertySymbols'](_0x46a891);_0x5447d1<_0x519d60[_0x33d803(0x2c8)];_0x5447d1++)_0x5cb3cb[_0x33d803(0x1ec)](_0x519d60[_0x5447d1])<0x0&&Object[_0x33d803(0x4e8)][_0x33d803(0x4f2)][_0x33d803(0x500)](_0x46a891,_0x519d60[_0x5447d1])&&(_0x450025[_0x519d60[_0x5447d1]]=_0x46a891[_0x519d60[_0x5447d1]]);}return _0x450025;},Us=_0x5af4de(function(_0x11f635,_0xcb062e){const _0x239e77=_0x5e3172;var _0x21fd7e=_0x11f635['icon'],_0x5a7413=_0x11f635['id'],_0xfd0af=_0x11f635['className'],_0xaaa179=_0x11f635[_0x239e77(0x2c1)],_0xb9f983=Ea(_0x11f635,[_0x239e77(0x23d),'id','className',_0x239e77(0x2c1)]),_0x5009c6='univerjs-icon\x20univerjs-icon-'[_0x239e77(0x4b9)](_0x5a7413,'\x20')[_0x239e77(0x4b9)](_0xfd0af||'')[_0x239e77(0x4f7)](),_0x3bc1c9=_0xa7cda3('_'[_0x239e77(0x4b9)](Ra()));return Zi(_0x21fd7e,''[_0x239e77(0x4b9)](_0x5a7413),{'defIds':_0x21fd7e[_0x239e77(0x282)],'idSuffix':_0x3bc1c9[_0x239e77(0x363)]},te({'ref':_0xcb062e,'className':_0x5009c6},_0xb9f983),_0xaaa179);});function Zi(_0x1296d9,_0x46cc59,_0x5798ec,_0x3fc401,_0xf144){const _0x40f62a=_0x5e3172;return _0x27aa2b(_0x1296d9[_0x40f62a(0x1bc)],te(te({'key':_0x46cc59},ba(_0x1296d9,_0x5798ec,_0xf144)),_0x3fc401),(Ta(_0x1296d9,_0x5798ec)['children']||[])[_0x40f62a(0x2b4)](function(_0x528039,_0x97405f){const _0x11d189=_0x40f62a;return Zi(_0x528039,''['concat'](_0x46cc59,'-')[_0x11d189(0x4b9)](_0x1296d9[_0x11d189(0x1bc)],'-')[_0x11d189(0x4b9)](_0x97405f),_0x5798ec,void 0x0,_0xf144);}));}function ba(_0x41d151,_0x4ffe62,_0x58be32){const _0x3210dd=_0x5e3172;var _0x2fa79a=te({},_0x41d151[_0x3210dd(0x4e5)]);_0x58be32!=null&&_0x58be32[_0x3210dd(0x296)]&&_0x2fa79a[_0x3210dd(0x123)]==='colorChannel1'&&(_0x2fa79a[_0x3210dd(0x123)]=_0x58be32[_0x3210dd(0x296)]);var _0x27d911=_0x4ffe62['defIds'];return!_0x27d911||_0x27d911[_0x3210dd(0x2c8)]===0x0||(_0x41d151['tag']==='use'&&_0x2fa79a[_0x3210dd(0x18e)]&&(_0x2fa79a['xlink:href']=_0x2fa79a[_0x3210dd(0x18e)]+_0x4ffe62[_0x3210dd(0x1ed)]),Object[_0x3210dd(0x16f)](_0x2fa79a)[_0x3210dd(0x356)](function(_0x494a4a){const _0x5179b4=_0x3210dd;var _0x44acf9=_0x494a4a[0x0],_0x21a389=_0x494a4a[0x1];typeof _0x21a389==_0x5179b4(0x429)&&(_0x2fa79a[_0x44acf9]=_0x21a389['replace'](/url\(#(.*)\)/,_0x5179b4(0x276)[_0x5179b4(0x4b9)](_0x4ffe62[_0x5179b4(0x1ed)],')')));})),_0x2fa79a;}function Ta(_0x9d1d68,_0xd46023){const _0x4bd02=_0x5e3172;var _0x2ecaf6,_0x1365c4=_0xd46023[_0x4bd02(0x282)];return!_0x1365c4||_0x1365c4['length']===0x0?_0x9d1d68:_0x9d1d68[_0x4bd02(0x1bc)]===_0x4bd02(0x472)&&(!((_0x2ecaf6=_0x9d1d68[_0x4bd02(0x349)])===null||_0x2ecaf6===void 0x0)&&_0x2ecaf6[_0x4bd02(0x2c8)])?te(te({},_0x9d1d68),{'children':_0x9d1d68[_0x4bd02(0x349)][_0x4bd02(0x2b4)](function(_0x4c66d2){const _0x193557=_0x4bd02;return typeof _0x4c66d2[_0x193557(0x4e5)]['id']==_0x193557(0x429)&&_0x1365c4&&_0x1365c4[_0x193557(0x1ec)](_0x4c66d2['attrs']['id'])>-0x1?te(te({},_0x4c66d2),{'attrs':te(te({},_0x4c66d2[_0x193557(0x4e5)]),{'id':_0x4c66d2[_0x193557(0x4e5)]['id']+_0xd46023[_0x193557(0x1ed)]})}):_0x4c66d2;})}):_0x9d1d68;}function Ra(){const _0x57ad0f=_0x5e3172;return Math[_0x57ad0f(0x34c)]()[_0x57ad0f(0x129)](0x24)[_0x57ad0f(0x2ef)](0x2,0x8);}Us[_0x5e3172(0x31d)]=_0x5e3172(0x52a);var Oa={'tag':_0x5e3172(0x1ae),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5e3172(0x4d9),'height':_0x5e3172(0x4d9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5e3172(0x313),'d':_0x5e3172(0x314),'strokeLinecap':_0x5e3172(0x3f7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e3172(0x472),'attrs':{},'children':[{'tag':_0x5e3172(0x280),'attrs':{'id':_0x5e3172(0x224)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5e3172(0x224)]},Qi=_0x5af4de(function(_0x5edd28,_0x2566ea){const _0x43484a=_0x5e3172;return _0x27aa2b(Us,Object[_0x43484a(0x215)]({},_0x5edd28,{'id':_0x43484a(0x1cb),'ref':_0x2566ea,'icon':Oa}));});Qi[_0x5e3172(0x31d)]='OffLineSingle';var ya={'tag':_0x5e3172(0x1ae),'attrs':{'fill':_0x5e3172(0x358),'viewBox':'0\x200\x2017\x2016','width':_0x5e3172(0x4d9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5e3172(0x49f),'attrs':{'stroke':_0x5e3172(0x313),'d':_0x5e3172(0x30a),'strokeLinecap':_0x5e3172(0x3f7),'strokeLinejoin':_0x5e3172(0x3f7),'strokeWidth':1.2}}]},{'tag':_0x5e3172(0x472),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5e3172(0x392)},'children':[{'tag':_0x5e3172(0x49f),'attrs':{'fill':_0x5e3172(0x4ab),'d':_0x5e3172(0x35d),'transform':_0x5e3172(0x17d)}}]}]}],'defIds':['on-line-single_clip0_910_349']},er=_0x5af4de(function(_0x4ebe98,_0x53ee16){const _0x2cd788=_0x5e3172;return _0x27aa2b(Us,Object[_0x2cd788(0x215)]({},_0x4ebe98,{'id':_0x2cd788(0x4cf),'ref':_0x53ee16,'icon':ya}));});er[_0x5e3172(0x31d)]=_0x5e3172(0x1e0);function tr(_0x552769){const _0x5c87eb=_0x5e3172;var _0x56cfd0,_0x52d40a,_0x3ebbf1='';if(typeof _0x552769=='string'||typeof _0x552769==_0x5c87eb(0x128))_0x3ebbf1+=_0x552769;else{if(typeof _0x552769=='object'){if(Array[_0x5c87eb(0x468)](_0x552769)){var _0xfc4c3f=_0x552769[_0x5c87eb(0x2c8)];for(_0x56cfd0=0x0;_0x56cfd0<_0xfc4c3f;_0x56cfd0++)_0x552769[_0x56cfd0]&&(_0x52d40a=tr(_0x552769[_0x56cfd0]))&&(_0x3ebbf1&&(_0x3ebbf1+='\x20'),_0x3ebbf1+=_0x52d40a);}else{for(_0x52d40a in _0x552769)_0x552769[_0x52d40a]&&(_0x3ebbf1&&(_0x3ebbf1+='\x20'),_0x3ebbf1+=_0x52d40a);}}}return _0x3ebbf1;}function _0x1eb2(_0x4941e7,_0x5d26fe){const _0x1abc81=_0x1abc();return _0x1eb2=function(_0x1eb2f8,_0x34a54e){_0x1eb2f8=_0x1eb2f8-0x10d;let _0x14515c=_0x1abc81[_0x1eb2f8];return _0x14515c;},_0x1eb2(_0x4941e7,_0x5d26fe);}function wa(){const _0x359825=_0x5e3172;for(var _0x4901e7,_0x9d1c6f,_0x331aa8=0x0,_0x493b65='',_0x38976b=arguments[_0x359825(0x2c8)];_0x331aa8<_0x38976b;_0x331aa8++)(_0x4901e7=arguments[_0x331aa8])&&(_0x9d1c6f=tr(_0x4901e7))&&(_0x493b65&&(_0x493b65+='\x20'),_0x493b65+=_0x9d1c6f);return _0x493b65;}const Da=_0x5e3172(0x382),Pa=_0x5e3172(0x43b),Na='univer-online-status',Ua=_0x5e3172(0x47d),Aa=_0x5e3172(0x279),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x1fd7b6){const _0x5e0781=_0x5e3172;switch(_0x1fd7b6){case J[_0x5e0781(0x4d7)]:return _0x5e0781(0x492);case J['CONFLICT']:return _0x5e0781(0x1b1);case J[_0x5e0781(0x3e2)]:return _0x5e0781(0x479);case J['NOT_COLLAB']:return'collabStatus.notCollab';case J[_0x5e0781(0x22c)]:case J[_0x5e0781(0x1ce)]:return _0x5e0781(0x32b);case J['SYNCED']:case J['PENDING']:return _0x5e0781(0x13a);}}function xa(_0x44b2f3){const _0x32b4bc=_0x5e3172,{status$:_0x5ed116}=_0x44b2f3,_0x45b767=_0x82b757(_0x5ed116,J[_0x32b4bc(0x1aa)]),_0x2fa9d9=_0x57885b(_0x56a2bf),_0x9dcc71=_0x57885b(xe),_0x3fbf0a=_0x45b767!==J['OFFLINE'],_0x586aea=_0x2fa9d9['t'](Ma(_0x45b767)),_0xb0ce33=wa(Qe['onlineStatus'],{[Qe['online']]:_0x3fbf0a,[Qe[_0x32b4bc(0x11b)]]:!_0x3fbf0a}),_0xec1018=_0x3fbf0a?De[_0x32b4bc(0x2b8)](er,{}):De['jsx'](Qi,{}),_0x397017=_0x3c29fa(()=>{_0x3fbf0a||_0x9dcc71['reconnect']();},[_0x3fbf0a,_0x9dcc71]);function _0x4a2ea3(){const _0x5bc029=_0x32b4bc;return De[_0x5bc029(0x1dd)]('div',{'className':_0xb0ce33,'onClick':_0x397017,'children':[De[_0x5bc029(0x2b8)]('div',{'className':Qe['onlineStatusIcon'],'children':_0xec1018}),De[_0x5bc029(0x2b8)](_0x5bc029(0x505),{'className':Qe[_0x5bc029(0x146)],'children':_0x586aea})]});}return _0x3fbf0a?_0x4a2ea3():De[_0x32b4bc(0x2b8)](_0x172eaf,{'title':_0x2fa9d9['t'](_0x32b4bc(0x44c)),'children':_0x4a2ea3()});}var La=Object['defineProperty'],$a=Object['getOwnPropertyDescriptor'],Ha=(_0x35da00,_0xd97ba4,_0x57854d,_0x7e4b59)=>{const _0x20cc3e=_0x5e3172;for(var _0x4735e4=_0x7e4b59>0x1?void 0x0:_0x7e4b59?$a(_0xd97ba4,_0x57854d):_0xd97ba4,_0x3097a7=_0x35da00[_0x20cc3e(0x2c8)]-0x1,_0x5bc5c8;_0x3097a7>=0x0;_0x3097a7--)(_0x5bc5c8=_0x35da00[_0x3097a7])&&(_0x4735e4=(_0x7e4b59?_0x5bc5c8(_0xd97ba4,_0x57854d,_0x4735e4):_0x5bc5c8(_0x4735e4))||_0x4735e4);return _0x7e4b59&&_0x4735e4&&La(_0xd97ba4,_0x57854d,_0x4735e4),_0x4735e4;},lt=(_0x370e70,_0x325afb)=>(_0x4ce6f2,_0x21b158)=>_0x325afb(_0x4ce6f2,_0x21b158,_0x370e70);let At=class extends _0x5f337f{constructor(_0x20f254,_0x5b8282,_0x29b0f5,_0x4174a3){const _0x3f31bc=_0x5e3172;super(),g(this,_0x3f31bc(0x1d6),new _0xd0d94b(J[_0x3f31bc(0x1aa)])),(this['_univerInstanceService']=_0x20f254,this[_0x3f31bc(0x372)]=_0x5b8282,this[_0x3f31bc(0x3b4)]=_0x29b0f5,this[_0x3f31bc(0x50d)]=_0x4174a3,this[_0x3f31bc(0x4d1)](),this[_0x3f31bc(0x4db)]());}[_0x5e3172(0x4db)](){const _0x35a7c7=_0x5e3172;this[_0x35a7c7(0x2d9)](this['_univerInstanceService']['focused$'][_0x35a7c7(0x4b6)](_0x12c24e(()=>{const _0x599c8b=_0x35a7c7,_0x35665e=this[_0x599c8b(0x153)][_0x599c8b(0x27b)]();return _0x35665e?this['_collaborationController'][_0x599c8b(0x46e)](_0x35665e[_0x599c8b(0x12f)]()):_0x4f62b6(null);}),_0x12c24e(_0x542f5e=>_0x542f5e?_0x542f5e[_0x35a7c7(0x52f)]:_0x4f62b6(J[_0x35a7c7(0x1aa)])))[_0x35a7c7(0x134)](_0x13c106=>{this['_status$']['next'](_0x13c106);}));}[_0x5e3172(0x4d1)](){const _0x248997=_0x5e3172;this[_0x248997(0x2d9)](this[_0x248997(0x372)][_0x248997(0x1c7)](_0x4a568e[_0x248997(0x112)],()=>_0x517e5d(ja({'status$':this[_0x248997(0x1d6)][_0x248997(0x306)]()}),this[_0x248997(0x3b4)])));}};At=Ha([lt(0x0,_0x381e7e),lt(0x1,_0x5beba5),lt(0x2,_0x1259a7(_0xa6ca3c)),lt(0x3,_0x1259a7(rt))],At);function ja(_0x2d3347){const {status$:_0x34bef2}=_0x2d3347;return function(){return De['jsx'](xa,{'status$':_0x34bef2});};}const sr=_0x311f8c(_0x5e3172(0x20b));var Ba=Object[_0x5e3172(0x243)],ka=Object['getOwnPropertyDescriptor'],Wa=(_0x4cb97e,_0x2a9129,_0x463384,_0x3c9d02)=>{const _0xd0b232=_0x5e3172;for(var _0x1f48f7=_0x3c9d02>0x1?void 0x0:_0x3c9d02?ka(_0x2a9129,_0x463384):_0x2a9129,_0x177424=_0x4cb97e[_0xd0b232(0x2c8)]-0x1,_0x2e18b9;_0x177424>=0x0;_0x177424--)(_0x2e18b9=_0x4cb97e[_0x177424])&&(_0x1f48f7=(_0x3c9d02?_0x2e18b9(_0x2a9129,_0x463384,_0x1f48f7):_0x2e18b9(_0x1f48f7))||_0x1f48f7);return _0x3c9d02&&_0x1f48f7&&Ba(_0x2a9129,_0x463384,_0x1f48f7),_0x1f48f7;},ke=(_0x1f14b0,_0x1ac92e)=>(_0x3aa238,_0x22c383)=>_0x1ac92e(_0x3aa238,_0x22c383,_0x1f14b0);let Mt=class extends _0x5ce84d{constructor(_0x244da8,_0x26a45c,_0x10f664,_0x5b6511,_0x45889c,_0x23d626){const _0x1edc99=_0x5e3172;super(),this['_urlService']=_0x244da8,this[_0x1edc99(0x52d)]=_0x26a45c,this[_0x1edc99(0x327)]=_0x10f664,this[_0x1edc99(0x32a)]=_0x5b6511,this[_0x1edc99(0x449)]=_0x45889c,_0x23d626?_0x23d626==null||_0x23d626[_0x1edc99(0x167)]()['then'](()=>this[_0x1edc99(0x1d2)]()):(this[_0x1edc99(0x52d)][_0x1edc99(0x16d)](_0x1edc99(0x40f),_0x1edc99(0x18a)),this[_0x1edc99(0x1d2)]());}async['_init'](){const _0x5c5bd3=_0x5e3172,_0x234d93=this[_0x5c5bd3(0x4f3)][_0x5c5bd3(0x518)]('unit'),_0x385d60=this['_urlService'][_0x5c5bd3(0x518)](_0x5c5bd3(0x20d));if(!_0x234d93||!_0x385d60){this[_0x5c5bd3(0x52d)][_0x5c5bd3(0x16d)](_0x5c5bd3(0x40f),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x385d60)){case ae[_0x5c5bd3(0x1c2)]:{const _0x531edc=await this[_0x5c5bd3(0x364)](_0x234d93);this[_0x5c5bd3(0x477)](_0x531edc);break;}case ae['UNIVER_DOC']:{await this[_0x5c5bd3(0x166)](_0x234d93);break;}default:{this[_0x5c5bd3(0x52d)][_0x5c5bd3(0x295)](_0x5c5bd3(0x40f),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5e3172(0x477)](_0xac3846){const _0xea470d=_0x5e3172;await this[_0xea470d(0x42c)](_0xac3846),_0xac3846[_0xea470d(0x525)][_0xea470d(0x4b6)](_0x34041a(this[_0xea470d(0x511)]))['subscribe'](_0x43ce55=>{const _0x58e59c=_0xea470d;_0x43ce55&&this[_0x58e59c(0x27c)](_0x43ce55);}),this['_urlService'][_0xea470d(0x1fa)]['pipe'](_0x34041a(this[_0xea470d(0x511)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xac3846));}[_0x5e3172(0x27c)](_0x59363a,_0x18c8c5=!0x1){const _0x2a4d74=_0x5e3172,_0x52817f=this[_0x2a4d74(0x4f3)][_0x2a4d74(0x518)](_0x2a4d74(0x344));_0x59363a[_0x2a4d74(0x29c)]()!==_0x52817f&&this['_urlService'][_0x2a4d74(0x431)]('subunit',_0x59363a[_0x2a4d74(0x29c)](),_0x18c8c5);}async[_0x5e3172(0x42c)](_0x490b8f){const _0xbd2fcc=_0x5e3172;var _0x2ea101;const _0x274577=this[_0xbd2fcc(0x4f3)][_0xbd2fcc(0x518)](_0xbd2fcc(0x344));if(!_0x274577||!_0x490b8f[_0xbd2fcc(0x19d)](_0x274577)){const _0x1c0f19=_0x490b8f[_0xbd2fcc(0x3bc)]()[0x0],_0x5c9246=_0x490b8f[_0xbd2fcc(0x19d)](_0x1c0f19);if(!_0x5c9246)return;this[_0xbd2fcc(0x27c)](_0x5c9246,!0x0),await this[_0xbd2fcc(0x327)][_0xbd2fcc(0x266)](_0x5d7f9e['id'],{'unitId':_0x490b8f[_0xbd2fcc(0x12f)](),'subUnitId':_0x1c0f19});return;}((_0x2ea101=_0x490b8f[_0xbd2fcc(0x328)]())==null?void 0x0:_0x2ea101[_0xbd2fcc(0x29c)]())!==_0x274577&&await this['_commandService'][_0xbd2fcc(0x266)](_0x5d7f9e['id'],{'unitId':_0x490b8f[_0xbd2fcc(0x12f)](),'subUnitId':_0x274577});}async[_0x5e3172(0x364)](_0x2492e5){const _0x171964=_0x5e3172;let _0x35a81b=0x0;const _0x438c90=await this['_localCacheService']['loadOfflineData'](_0x2492e5);return _0x438c90&&(_0x438c90[_0x171964(0x227)]||_0x438c90[_0x171964(0x1b2)]['length']!==0x0)&&(_0x35a81b=_0x438c90['rev']),_0x35a81b===0x0&&this[_0x171964(0x52d)]['debug'](_0x171964(0x40f),_0x171964(0x4cd)),this[_0x171964(0x449)][_0x171964(0x281)](_0x2492e5,_0x35a81b);}async[_0x5e3172(0x166)](_0x44e57a){const _0x27a047=_0x5e3172;let _0x3f1167=0x0;const _0x5725bf=await this['_localCacheService'][_0x27a047(0x47f)](_0x44e57a);return _0x5725bf&&(_0x5725bf[_0x27a047(0x227)]||_0x5725bf[_0x27a047(0x1b2)][_0x27a047(0x2c8)]!==0x0)&&(_0x3f1167=_0x5725bf['rev']),_0x3f1167===0x0&&this['_logService']['debug'](_0x27a047(0x40f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x27a047(0x449)][_0x27a047(0x2b1)](_0x44e57a,_0x3f1167);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0xadcc6),ke(0x2,_0x58c2c0),ke(0x3,_0x1259a7(z)),ke(0x4,_0x1259a7(_0x2dad5b)),ke(0x5,_0x2f5f30(_0x4ec8cb))],Mt);var Fa=Object[_0x5e3172(0x243)],Va=Object[_0x5e3172(0x26f)],Ga=(_0x5063b9,_0x4e0c92,_0x3096f8,_0x3e9b48)=>{const _0x5b88e5=_0x5e3172;for(var _0x4d1a37=_0x3e9b48>0x1?void 0x0:_0x3e9b48?Va(_0x4e0c92,_0x3096f8):_0x4e0c92,_0x21f990=_0x5063b9[_0x5b88e5(0x2c8)]-0x1,_0x3511a8;_0x21f990>=0x0;_0x21f990--)(_0x3511a8=_0x5063b9[_0x21f990])&&(_0x4d1a37=(_0x3e9b48?_0x3511a8(_0x4e0c92,_0x3096f8,_0x4d1a37):_0x3511a8(_0x4d1a37))||_0x4d1a37);return _0x3e9b48&&_0x4d1a37&&Fa(_0x4e0c92,_0x3096f8,_0x4d1a37),_0x4d1a37;},ai=(_0x1f8bac,_0x2d0262)=>(_0xbd4a6a,_0x21ba78)=>_0x2d0262(_0xbd4a6a,_0x21ba78,_0x1f8bac);const Ya=_0x5e3172(0x197),Ka=_0x5e3172(0x531);let xt=class extends _0x5f337f{constructor(_0x9f88e5,_0xd3024){const _0x588af9=_0x5e3172;super(),this[_0x588af9(0x153)]=_0x9f88e5,this[_0x588af9(0x270)]=_0xd3024,this[_0x588af9(0x1d2)]();}[_0x5e3172(0x1d2)](){const _0x122cdf=_0x5e3172;this['disposeWithMe'](this[_0x122cdf(0x153)][_0x122cdf(0x1e6)][_0x122cdf(0x134)](()=>{const _0x3f9496=_0x122cdf;var _0x48d2f8;const _0x42d759=this[_0x3f9496(0x153)][_0x3f9496(0x27b)]();let _0x5041bc=(_0x48d2f8=this[_0x3f9496(0x270)]['getConfig'](Ya))!=null?_0x48d2f8:Ka;_0x42d759 instanceof _0x1d9cb8&&(_0x5041bc=_0x42d759[_0x3f9496(0x121)]),document[_0x3f9496(0x458)]=_0x5041bc;}));}};xt=Ga([ai(0x0,_0x381e7e),ai(0x1,_0x3a37b7)],xt);var qa=Object[_0x5e3172(0x243)],za=Object[_0x5e3172(0x26f)],Xa=(_0x2dc6d0,_0x226f9a,_0x4440a2,_0x1174d0)=>{for(var _0x36fe5f=_0x1174d0>0x1?void 0x0:_0x1174d0?za(_0x226f9a,_0x4440a2):_0x226f9a,_0xbc51e0=_0x2dc6d0['length']-0x1,_0x3c1bb0;_0xbc51e0>=0x0;_0xbc51e0--)(_0x3c1bb0=_0x2dc6d0[_0xbc51e0])&&(_0x36fe5f=(_0x1174d0?_0x3c1bb0(_0x226f9a,_0x4440a2,_0x36fe5f):_0x3c1bb0(_0x36fe5f))||_0x36fe5f);return _0x1174d0&&_0x36fe5f&&qa(_0x226f9a,_0x4440a2,_0x36fe5f),_0x36fe5f;},is=(_0x17e5f1,_0x5df99f)=>(_0x39f53e,_0x23e15e)=>_0x5df99f(_0x39f53e,_0x23e15e,_0x17e5f1);let Lt=class{constructor(_0x34760b,_0x5045ce,_0x1fbae2){const _0x36af53=_0x5e3172;this[_0x36af53(0x270)]=_0x34760b,this[_0x36af53(0x535)]=_0x5045ce,this[_0x36af53(0x3c0)]=_0x1fbae2,this[_0x36af53(0x433)]();}[_0x5e3172(0x433)](){const _0x250651=_0x5e3172;this[_0x250651(0x535)][_0x250651(0x24c)]({'priority':0x1,'interceptor':(_0x538ffd,_0x574240)=>_0x574240(_0x538ffd)[_0x250651(0x4b6)](_0x21776c(async _0x2c80f1=>{const _0x1570a1=_0x250651,_0x3d7ce5=_0x2c80f1;if(_0x3d7ce5[_0x1570a1(0x38b)]===0x191&&window[_0x1570a1(0x23a)](this[_0x1570a1(0x3c0)]['t'](_0x1570a1(0x3a0)))){const _0x9cafb7=window[_0x1570a1(0x1f4)](window[_0x1570a1(0x4e2)][_0x1570a1(0x38d)]);window[_0x1570a1(0x4e2)][_0x1570a1(0x38d)]=this[_0x1570a1(0x35b)]()+_0x1570a1(0x2f8)+_0x9cafb7;}return _0x3d7ce5;}))});}[_0x5e3172(0x35b)](){const _0x2aab41=_0x5e3172;var _0x4d281b,_0x1c1016;const _0xa4ac17=this[_0x2aab41(0x270)][_0x2aab41(0x186)](Hn),_0x4ba593=this[_0x2aab41(0x270)][_0x2aab41(0x186)](Q);return(_0x1c1016=(_0x4d281b=_0x4ba593==null?void 0x0:_0x4ba593['loginUrlKey'])!=null?_0x4d281b:_0xa4ac17)!=null?_0x1c1016:jn;}};Lt=Xa([is(0x0,_0x3a37b7),is(0x1,_0x1259a7(_0x21ff0e)),is(0x2,_0x1259a7(_0x56a2bf))],Lt);var Ja=Object[_0x5e3172(0x243)],Za=Object[_0x5e3172(0x26f)],Qa=(_0x5d2972,_0x4ef189,_0xbd92ec,_0x1b3873)=>{const _0x4d6c4c=_0x5e3172;for(var _0x4ff9b9=_0x1b3873>0x1?void 0x0:_0x1b3873?Za(_0x4ef189,_0xbd92ec):_0x4ef189,_0x569031=_0x5d2972[_0x4d6c4c(0x2c8)]-0x1,_0x40d064;_0x569031>=0x0;_0x569031--)(_0x40d064=_0x5d2972[_0x569031])&&(_0x4ff9b9=(_0x1b3873?_0x40d064(_0x4ef189,_0xbd92ec,_0x4ff9b9):_0x40d064(_0x4ff9b9))||_0x4ff9b9);return _0x1b3873&&_0x4ff9b9&&Ja(_0x4ef189,_0xbd92ec,_0x4ff9b9),_0x4ff9b9;},ci=(_0x123404,_0x569439)=>(_0x18ed0c,_0x2580ae)=>_0x569439(_0x18ed0c,_0x2580ae,_0x123404);const ir=_0x5e3172(0x151),ec=_0x5e3172(0x3f3);let ps=class extends _0x5f337f{constructor(_0x4c1e3e,_0x369232){const _0x4ffaae=_0x5e3172;super(),this[_0x4ffaae(0x31f)]=_0x4c1e3e,this['_configService']=_0x369232,this[_0x4ffaae(0x432)]();}[_0x5e3172(0x432)](){const _0x106f45=_0x5e3172,_0xc5080=this;this[_0x106f45(0x2d9)](this['_HTTPService'][_0x106f45(0x24c)]({'priority':0x3e7,'interceptor':_0x146515({'isMatch'(_0x4678e3){const _0x50481a=_0x106f45;var _0x5d2727;if(_0x4678e3[_0x50481a(0x131)]===_0x50481a(0x292)&&((_0x5d2727=_0x4678e3[_0x50481a(0x225)])!=null&&_0x5d2727['body'])){const {objectID:_0xeae0a3,objectType:_0x37729a}=_0x4678e3[_0x50481a(0x225)]['body']||{};if(!_0xeae0a3||_0x37729a===void 0x0)return!0x1;const _0x671350=_0xc5080[_0x50481a(0x1f9)]()+'/'+_0x37729a+_0x50481a(0x132)+_0xeae0a3+'/allowed';if(_0x4678e3[_0x50481a(0x165)]===_0x671350)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51a2a1){const _0x59bf90=_0x106f45;var _0x59ed2f;return(_0x59ed2f=_0x51a2a1[_0x59bf90(0x225)])==null?void 0x0:_0x59ed2f[_0x59bf90(0x2da)];},'mergeParamsToRequest'(_0x26d1fa,_0x2860e9){const _0x595906=_0x106f45,_0x512ab8=_0xc5080['_getAPIPrefixPath']()+_0x595906(0x20c),_0x43a257=_0x26d1fa[_0x595906(0x354)]((_0x4ff7d1,_0x2fc494)=>{const _0x428e90=_0x595906,{unitID:_0x26f805,objectID:_0x519832,objectType:_0x13aa4f,actions:_0x3f4661}=_0x2fc494;return _0x4ff7d1[_0x26f805]||(_0x4ff7d1[_0x26f805]={}),_0x4ff7d1[_0x26f805][_0x519832]||(_0x4ff7d1[_0x26f805][_0x519832]={'objectID':_0x519832,'objectType':_0x13aa4f,'actions':[]}),_0x4ff7d1[_0x26f805][_0x519832][_0x428e90(0x39b)][_0x428e90(0x38e)](..._0x3f4661),_0x4ff7d1;},{}),_0x2c0ec8=[];for(const _0x3bc634 in _0x43a257)for(const _0x32b100 in _0x43a257[_0x3bc634]){const {actions:_0x521abf,objectType:_0x1c48c0}=_0x43a257[_0x3bc634][_0x32b100],_0x302067=[...new Set(_0x521abf)];_0x2c0ec8[_0x595906(0x38e)]({'unitID':_0x3bc634,'objectID':_0x32b100,'objectType':_0x1c48c0,'actions':_0x302067});}return new _0x427f8d(_0x595906(0x292),_0x512ab8,{'headers':_0x2860e9[_0x595906(0x260)],'withCredentials':_0x2860e9[_0x595906(0x170)],'responseType':_0x2860e9[_0x595906(0x4ea)],'body':{'requests':_0x2c0ec8}});}},{'distributeResult'(_0x5a0d4d,_0x3f28d2){const _0xa82034=_0x106f45,{objectActions:_0xf93612}=_0x5a0d4d;return _0x3f28d2[_0xa82034(0x2b4)](_0x35c030=>{const _0x140a67=_0xa82034,{unitID:_0xfb7c29,objectID:_0x3e3a3b,actions:_0x22d2e8}=_0x35c030,_0x27a272=_0xf93612['find'](_0x3e0c0c=>_0x3e0c0c[_0x140a67(0x4e4)]===_0xfb7c29&&_0x3e0c0c[_0x140a67(0x381)]===_0x3e3a3b),_0x4cae67=_0x22d2e8['map'](_0x374045=>_0x27a272==null?void 0x0:_0x27a272[_0x140a67(0x39b)]['find'](_0x53e2c1=>_0x53e2c1[_0x140a67(0x350)]===_0x374045))[_0x140a67(0x1fe)](_0x5ec7a1=>!!_0x5ec7a1);return{'config':_0x35c030,'result':{'actions':_0x4cae67,'error':_0x5a0d4d[_0x140a67(0x295)]}};});}})}));}[_0x5e3172(0x1f9)](){const _0x1a0d7a=_0x5e3172;var _0x5824a2,_0x1cfa45;const _0x1bab6d=this[_0x1a0d7a(0x270)][_0x1a0d7a(0x186)](ir),_0x5db976=this[_0x1a0d7a(0x270)][_0x1a0d7a(0x186)](Q);return(_0x1cfa45=(_0x5824a2=_0x5db976==null?void 0x0:_0x5db976[_0x1a0d7a(0x13f)])!=null?_0x5824a2:_0x1bab6d)!=null?_0x1cfa45:ec;}async['create'](_0x4d08f4){const _0x5dac0b=_0x5e3172,_0x4d0fab=this[_0x5dac0b(0x1f9)]()+'/'+_0x4d08f4[_0x5dac0b(0x2e4)]+_0x5dac0b(0x237);return(await this[_0x5dac0b(0x31f)][_0x5dac0b(0x2a5)](_0x4d0fab,{'body':_0x4d08f4}))[_0x5dac0b(0x2da)]['objectID']||'';}async['list'](_0x5aab4a){const _0x102204=_0x5e3172,_0x173a7a=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x102204(0x31f)]['post'](_0x173a7a,{'body':_0x5aab4a}))['body'][_0x102204(0x253)];}async[_0x5e3172(0x4d6)](_0x5383ce){const _0x160937=_0x5e3172,_0x281fec=this[_0x160937(0x1f9)]()+'/'+_0x5383ce[_0x160937(0x2e4)]+_0x160937(0x132)+_0x5383ce[_0x160937(0x381)];await this[_0x160937(0x31f)]['put'](_0x281fec,{'body':_0x5383ce});}async[_0x5e3172(0x504)](_0x47d039){const _0x2b5c33=_0x5e3172,_0x4da289=this[_0x2b5c33(0x1f9)]()+'/'+_0x47d039[_0x2b5c33(0x2e4)]+'/object/'+_0x47d039[_0x2b5c33(0x381)]+_0x2b5c33(0x2f9);return(await this[_0x2b5c33(0x31f)][_0x2b5c33(0x2a5)](_0x4da289,{'body':_0x47d039}))[_0x2b5c33(0x2da)][_0x2b5c33(0x39b)];}async[_0x5e3172(0x184)](_0x2c1722){const _0x2acbf9=_0x5e3172,_0x31f971=this['_getAPIPrefixPath']()+_0x2acbf9(0x20c);return(await this[_0x2acbf9(0x31f)][_0x2acbf9(0x2a5)](_0x31f971,{'body':{'requests':_0x2c1722}}))[_0x2acbf9(0x2da)][_0x2acbf9(0x3c5)];}async[_0x5e3172(0x483)](_0x5570c1){const _0x1d7eed=_0x5e3172,_0x1a1459=this['_getAPIPrefixPath']()+'/'+_0x5570c1['objectType']+'/role',_0x525146=await this['_HTTPService'][_0x1d7eed(0x2a5)](_0x1a1459,{'body':_0x5570c1});return{'roles':_0x525146['body'][_0x1d7eed(0x140)],'actions':_0x525146['body'][_0x1d7eed(0x39b)]};}async[_0x5e3172(0x481)](_0x31ff20){const _0x40935a=_0x5e3172,_0x575200=this[_0x40935a(0x1f9)]()+_0x40935a(0x3f8);await this[_0x40935a(0x31f)][_0x40935a(0x480)](_0x575200,{'params':{'collaboratorID':_0x31ff20['collaboratorID'],'objectID':_0x31ff20[_0x40935a(0x381)],'unitID':_0x31ff20[_0x40935a(0x4e4)]}});}async[_0x5e3172(0x3a8)](_0x4a616b){const _0x26f0af=_0x5e3172,_0x338a5b=this['_getAPIPrefixPath']()+_0x26f0af(0x3f8);await this[_0x26f0af(0x31f)][_0x26f0af(0x265)](_0x338a5b,{'body':_0x4a616b});}async['createCollaborator'](_0x820196){const _0x39a85d=_0x5e3172,_0x500522=this[_0x39a85d(0x1f9)]()+_0x39a85d(0x3f8);await this[_0x39a85d(0x31f)]['post'](_0x500522,{'body':_0x820196});}async['listCollaborators'](_0xb1d4cb){const _0x255965=_0x5e3172,_0x261bf3=this[_0x255965(0x1f9)]()+'/collaborator';return(await this[_0x255965(0x31f)][_0x255965(0x307)](_0x261bf3,{'params':{'objectID':_0xb1d4cb[_0x255965(0x381)],'unitID':_0xb1d4cb['unitID']}}))[_0x255965(0x2da)][_0x255965(0x470)];}async[_0x5e3172(0x12a)](_0x582a9a){const _0x189f68=_0x5e3172,_0x1e0138=this[_0x189f68(0x1f9)]()+_0x189f68(0x3f8);await this[_0x189f68(0x31f)][_0x189f68(0x213)](_0x1e0138,{'body':_0x582a9a});}};ps=Qa([ci(0x0,_0x1259a7(_0x21ff0e)),ci(0x1,_0x1259a7(_0x3a37b7))],ps);var dt={'exports':{}};function tc(_0x2ce283){const _0x38e544=_0x5e3172;throw new Error(_0x38e544(0x1c9)+_0x2ce283+_0x38e544(0x258));}var ft={'exports':{}},sc=ft['exports'],hi;function _e(){return hi||(hi=0x1,function(_0x3e487c,_0x121d56){(function(_0x37a9a3,_0x1631dd){const _0x28634c=_0x1eb2;_0x3e487c[_0x28634c(0x4b3)]=_0x1631dd();}(sc,function(){var _0x4797ee=_0x4797ee||function(_0x4b936a,_0x1fb417){const _0x38b069=_0x1eb2;var _0x1623be;if(typeof window<'u'&&window[_0x38b069(0x386)]&&(_0x1623be=window[_0x38b069(0x386)]),typeof self<'u'&&self[_0x38b069(0x386)]&&(_0x1623be=self[_0x38b069(0x386)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1623be=globalThis[_0x38b069(0x386)]),!_0x1623be&&typeof window<'u'&&window[_0x38b069(0x482)]&&(_0x1623be=window[_0x38b069(0x482)]),!_0x1623be&&typeof ts<'u'&&ts[_0x38b069(0x386)]&&(_0x1623be=ts[_0x38b069(0x386)]),!_0x1623be&&typeof tc==_0x38b069(0x308))try{_0x1623be=require('crypto');}catch{}var _0x47b2ad=function(){const _0x46d33d=_0x38b069;if(_0x1623be){if(typeof _0x1623be[_0x46d33d(0x2db)]=='function')try{return _0x1623be[_0x46d33d(0x2db)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1623be[_0x46d33d(0x473)]==_0x46d33d(0x308))try{return _0x1623be[_0x46d33d(0x473)](0x4)[_0x46d33d(0x44e)]();}catch{}}throw new Error(_0x46d33d(0x2fa));},_0x2e5557=Object[_0x38b069(0x2df)]||(function(){function _0x116983(){}return function(_0x257cd9){const _0x550a70=_0x1eb2;var _0x315e2c;return _0x116983[_0x550a70(0x4e8)]=_0x257cd9,_0x315e2c=new _0x116983(),_0x116983['prototype']=null,_0x315e2c;};}()),_0x547818={},_0x38763f=_0x547818[_0x38b069(0x1e5)]={},_0x3a496c=_0x38763f['Base']=(function(){return{'extend':function(_0x5c52ce){const _0x5058d1=_0x1eb2;var _0x4bebe0=_0x2e5557(this);return _0x5c52ce&&_0x4bebe0[_0x5058d1(0x24e)](_0x5c52ce),(!_0x4bebe0[_0x5058d1(0x4d8)]('init')||this[_0x5058d1(0x433)]===_0x4bebe0[_0x5058d1(0x433)])&&(_0x4bebe0['init']=function(){const _0x56e9c2=_0x5058d1;_0x4bebe0[_0x56e9c2(0x30f)][_0x56e9c2(0x433)]['apply'](this,arguments);}),_0x4bebe0[_0x5058d1(0x433)]['prototype']=_0x4bebe0,_0x4bebe0['$super']=this,_0x4bebe0;},'create':function(){const _0xada98f=_0x1eb2;var _0x514275=this['extend']();return _0x514275[_0xada98f(0x433)]['apply'](_0x514275,arguments),_0x514275;},'init':function(){},'mixIn':function(_0x2cc449){const _0x28292d=_0x1eb2;for(var _0x535d84 in _0x2cc449)_0x2cc449[_0x28292d(0x4d8)](_0x535d84)&&(this[_0x535d84]=_0x2cc449[_0x535d84]);_0x2cc449['hasOwnProperty']('toString')&&(this['toString']=_0x2cc449['toString']);},'clone':function(){const _0x2858ea=_0x1eb2;return this[_0x2858ea(0x433)][_0x2858ea(0x4e8)]['extend'](this);}};}()),_0x108704=_0x38763f[_0x38b069(0x24d)]=_0x3a496c['extend']({'init':function(_0x290857,_0x233f15){const _0x245def=_0x38b069;_0x290857=this['words']=_0x290857||[],_0x233f15!=_0x1fb417?this[_0x245def(0x11f)]=_0x233f15:this[_0x245def(0x11f)]=_0x290857['length']*0x4;},'toString':function(_0x2626ce){const _0xe018c7=_0x38b069;return(_0x2626ce||_0x3ed20a)[_0xe018c7(0x50f)](this);},'concat':function(_0x57d8c3){const _0x26d948=_0x38b069;var _0x4ad230=this[_0x26d948(0x1c5)],_0x46a152=_0x57d8c3[_0x26d948(0x1c5)],_0x35ea0c=this[_0x26d948(0x11f)],_0x19dea9=_0x57d8c3[_0x26d948(0x11f)];if(this[_0x26d948(0x4bb)](),_0x35ea0c%0x4)for(var _0x319da3=0x0;_0x319da3<_0x19dea9;_0x319da3++){var _0x42c4cf=_0x46a152[_0x319da3>>>0x2]>>>0x18-_0x319da3%0x4*0x8&0xff;_0x4ad230[_0x35ea0c+_0x319da3>>>0x2]|=_0x42c4cf<<0x18-(_0x35ea0c+_0x319da3)%0x4*0x8;}else{for(var _0x27509b=0x0;_0x27509b<_0x19dea9;_0x27509b+=0x4)_0x4ad230[_0x35ea0c+_0x27509b>>>0x2]=_0x46a152[_0x27509b>>>0x2];}return this[_0x26d948(0x11f)]+=_0x19dea9,this;},'clamp':function(){const _0x2aa6a0=_0x38b069;var _0x2a7d48=this[_0x2aa6a0(0x1c5)],_0x14cfe2=this[_0x2aa6a0(0x11f)];_0x2a7d48[_0x14cfe2>>>0x2]&=0xffffffff<<0x20-_0x14cfe2%0x4*0x8,_0x2a7d48[_0x2aa6a0(0x2c8)]=_0x4b936a[_0x2aa6a0(0x421)](_0x14cfe2/0x4);},'clone':function(){const _0x136428=_0x38b069;var _0x1c7c14=_0x3a496c[_0x136428(0x506)][_0x136428(0x500)](this);return _0x1c7c14[_0x136428(0x1c5)]=this[_0x136428(0x1c5)][_0x136428(0x469)](0x0),_0x1c7c14;},'random':function(_0x292fe4){for(var _0x346cd7=[],_0x3f2002=0x0;_0x3f2002<_0x292fe4;_0x3f2002+=0x4)_0x346cd7['push'](_0x47b2ad());return new _0x108704['init'](_0x346cd7,_0x292fe4);}}),_0x231217=_0x547818['enc']={},_0x3ed20a=_0x231217['Hex']={'stringify':function(_0x422fbc){const _0x58861d=_0x38b069;for(var _0x274947=_0x422fbc[_0x58861d(0x1c5)],_0x33e9cf=_0x422fbc['sigBytes'],_0x219111=[],_0x434638=0x0;_0x434638<_0x33e9cf;_0x434638++){var _0x463bdb=_0x274947[_0x434638>>>0x2]>>>0x18-_0x434638%0x4*0x8&0xff;_0x219111[_0x58861d(0x38e)]((_0x463bdb>>>0x4)[_0x58861d(0x129)](0x10)),_0x219111[_0x58861d(0x38e)]((_0x463bdb&0xf)['toString'](0x10));}return _0x219111[_0x58861d(0x304)]('');},'parse':function(_0x3c8d05){const _0x13c87d=_0x38b069;for(var _0x4620d9=_0x3c8d05['length'],_0x4f1782=[],_0x50cbbf=0x0;_0x50cbbf<_0x4620d9;_0x50cbbf+=0x2)_0x4f1782[_0x50cbbf>>>0x3]|=parseInt(_0x3c8d05[_0x13c87d(0x115)](_0x50cbbf,0x2),0x10)<<0x18-_0x50cbbf%0x8*0x4;return new _0x108704[(_0x13c87d(0x433))](_0x4f1782,_0x4620d9/0x2);}},_0x9a46f7=_0x231217[_0x38b069(0x320)]={'stringify':function(_0x5a56d3){const _0xda7969=_0x38b069;for(var _0x4c9391=_0x5a56d3['words'],_0x5c5567=_0x5a56d3[_0xda7969(0x11f)],_0x51f62b=[],_0x568aa0=0x0;_0x568aa0<_0x5c5567;_0x568aa0++){var _0x10a08e=_0x4c9391[_0x568aa0>>>0x2]>>>0x18-_0x568aa0%0x4*0x8&0xff;_0x51f62b['push'](String[_0xda7969(0x4d5)](_0x10a08e));}return _0x51f62b[_0xda7969(0x304)]('');},'parse':function(_0x50f91a){const _0x32b615=_0x38b069;for(var _0x5605ea=_0x50f91a[_0x32b615(0x2c8)],_0x4c1988=[],_0xa9ead2=0x0;_0xa9ead2<_0x5605ea;_0xa9ead2++)_0x4c1988[_0xa9ead2>>>0x2]|=(_0x50f91a[_0x32b615(0x326)](_0xa9ead2)&0xff)<<0x18-_0xa9ead2%0x4*0x8;return new _0x108704[(_0x32b615(0x433))](_0x4c1988,_0x5605ea);}},_0x184ab6=_0x231217[_0x38b069(0x188)]={'stringify':function(_0x50ab70){const _0x353901=_0x38b069;try{return decodeURIComponent(escape(_0x9a46f7['stringify'](_0x50ab70)));}catch{throw new Error(_0x353901(0x4fd));}},'parse':function(_0x2c5653){const _0x4cb284=_0x38b069;return _0x9a46f7[_0x4cb284(0x32f)](unescape(encodeURIComponent(_0x2c5653)));}},_0xe30f6=_0x38763f['BufferedBlockAlgorithm']=_0x3a496c[_0x38b069(0x2c1)]({'reset':function(){const _0x49fd4a=_0x38b069;this[_0x49fd4a(0x34e)]=new _0x108704[(_0x49fd4a(0x433))](),this[_0x49fd4a(0x41b)]=0x0;},'_append':function(_0x10267e){const _0x56b7f3=_0x38b069;typeof _0x10267e==_0x56b7f3(0x429)&&(_0x10267e=_0x184ab6[_0x56b7f3(0x32f)](_0x10267e)),this['_data']['concat'](_0x10267e),this['_nDataBytes']+=_0x10267e[_0x56b7f3(0x11f)];},'_process':function(_0x118fe7){const _0x137f87=_0x38b069;var _0x21d9da,_0x409b33=this[_0x137f87(0x34e)],_0xdc29ab=_0x409b33[_0x137f87(0x1c5)],_0x75690e=_0x409b33[_0x137f87(0x11f)],_0x5a1ef2=this['blockSize'],_0x3f5494=_0x5a1ef2*0x4,_0x23ada0=_0x75690e/_0x3f5494;_0x118fe7?_0x23ada0=_0x4b936a[_0x137f87(0x421)](_0x23ada0):_0x23ada0=_0x4b936a[_0x137f87(0x2a1)]((_0x23ada0|0x0)-this[_0x137f87(0x1a9)],0x0);var _0x4eadb3=_0x23ada0*_0x5a1ef2,_0x5b7aa6=_0x4b936a['min'](_0x4eadb3*0x4,_0x75690e);if(_0x4eadb3){for(var _0x2d6a15=0x0;_0x2d6a15<_0x4eadb3;_0x2d6a15+=_0x5a1ef2)this[_0x137f87(0x334)](_0xdc29ab,_0x2d6a15);_0x21d9da=_0xdc29ab[_0x137f87(0x403)](0x0,_0x4eadb3),_0x409b33['sigBytes']-=_0x5b7aa6;}return new _0x108704['init'](_0x21d9da,_0x5b7aa6);},'clone':function(){const _0x5ea218=_0x38b069;var _0x46ef85=_0x3a496c[_0x5ea218(0x506)][_0x5ea218(0x500)](this);return _0x46ef85[_0x5ea218(0x34e)]=this[_0x5ea218(0x34e)][_0x5ea218(0x506)](),_0x46ef85;},'_minBufferSize':0x0});_0x38763f[_0x38b069(0x176)]=_0xe30f6['extend']({'cfg':_0x3a496c[_0x38b069(0x2c1)](),'init':function(_0x54fa82){const _0x33b868=_0x38b069;this[_0x33b868(0x471)]=this['cfg'][_0x33b868(0x2c1)](_0x54fa82),this[_0x33b868(0x3df)]();},'reset':function(){const _0x5451d5=_0x38b069;_0xe30f6[_0x5451d5(0x3df)]['call'](this),this[_0x5451d5(0x255)]();},'update':function(_0x4cdd1e){const _0x565052=_0x38b069;return this['_append'](_0x4cdd1e),this[_0x565052(0x370)](),this;},'finalize':function(_0x384c9f){const _0x17871c=_0x38b069;_0x384c9f&&this[_0x17871c(0x245)](_0x384c9f);var _0x803741=this[_0x17871c(0x1be)]();return _0x803741;},'blockSize':0x10,'_createHelper':function(_0x1ae76f){return function(_0x24a07c,_0xf8f72f){const _0x810041=_0x1eb2;return new _0x1ae76f[(_0x810041(0x433))](_0xf8f72f)[_0x810041(0x244)](_0x24a07c);};},'_createHmacHelper':function(_0x27dd85){return function(_0x59d06c,_0x33c449){const _0x3e5147=_0x1eb2;return new _0x3c0834[(_0x3e5147(0x360))][(_0x3e5147(0x433))](_0x27dd85,_0x33c449)[_0x3e5147(0x244)](_0x59d06c);};}});var _0x3c0834=_0x547818[_0x38b069(0x528)]={};return _0x547818;}(Math);return _0x4797ee;}));}(ft)),ft['exports'];}var vt={'exports':{}},ic=vt['exports'],li;function rr(){return li||(li=0x1,function(_0x5ee28b,_0x5e4ecf){(function(_0x36f4b2,_0x5663c8){const _0x34bdfc=_0x1eb2;_0x5ee28b[_0x34bdfc(0x4b3)]=_0x5663c8(_e());}(ic,function(_0x2aa9d9){const _0x369f07=_0x1eb2;return(function(){const _0x48f617=_0x1eb2;var _0x82640=_0x2aa9d9,_0x5c9f7d=_0x82640[_0x48f617(0x1e5)],_0x187016=_0x5c9f7d[_0x48f617(0x24d)],_0x57a5c4=_0x82640[_0x48f617(0x302)];_0x57a5c4[_0x48f617(0x4a8)]={'stringify':function(_0x11894f){const _0x248c7e=_0x48f617;var _0x2fce33=_0x11894f[_0x248c7e(0x1c5)],_0x39d32b=_0x11894f[_0x248c7e(0x11f)],_0xbc76a2=this[_0x248c7e(0x37a)];_0x11894f['clamp']();for(var _0x333db2=[],_0x2cfca3=0x0;_0x2cfca3<_0x39d32b;_0x2cfca3+=0x3)for(var _0x5de5ad=_0x2fce33[_0x2cfca3>>>0x2]>>>0x18-_0x2cfca3%0x4*0x8&0xff,_0x446586=_0x2fce33[_0x2cfca3+0x1>>>0x2]>>>0x18-(_0x2cfca3+0x1)%0x4*0x8&0xff,_0x11636f=_0x2fce33[_0x2cfca3+0x2>>>0x2]>>>0x18-(_0x2cfca3+0x2)%0x4*0x8&0xff,_0x3a7210=_0x5de5ad<<0x10|_0x446586<<0x8|_0x11636f,_0x253836=0x0;_0x253836<0x4&&_0x2cfca3+_0x253836*0.75<_0x39d32b;_0x253836++)_0x333db2[_0x248c7e(0x38e)](_0xbc76a2[_0x248c7e(0x434)](_0x3a7210>>>0x6*(0x3-_0x253836)&0x3f));var _0x49aecb=_0xbc76a2[_0x248c7e(0x434)](0x40);if(_0x49aecb){for(;_0x333db2[_0x248c7e(0x2c8)]%0x4;)_0x333db2['push'](_0x49aecb);}return _0x333db2[_0x248c7e(0x304)]('');},'parse':function(_0x2024a6){const _0x4e967a=_0x48f617;var _0x291c86=_0x2024a6[_0x4e967a(0x2c8)],_0x398b31=this[_0x4e967a(0x37a)],_0x13aa54=this[_0x4e967a(0x152)];if(!_0x13aa54){_0x13aa54=this[_0x4e967a(0x152)]=[];for(var _0x459488=0x0;_0x459488<_0x398b31[_0x4e967a(0x2c8)];_0x459488++)_0x13aa54[_0x398b31['charCodeAt'](_0x459488)]=_0x459488;}var _0x18c233=_0x398b31[_0x4e967a(0x434)](0x40);if(_0x18c233){var _0x9b1080=_0x2024a6[_0x4e967a(0x1ec)](_0x18c233);_0x9b1080!==-0x1&&(_0x291c86=_0x9b1080);}return _0xbabeec(_0x2024a6,_0x291c86,_0x13aa54);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xbabeec(_0xab3527,_0x469181,_0x3fdedb){const _0x46b95c=_0x48f617;for(var _0x479e93=[],_0x1a0090=0x0,_0x2fc597=0x0;_0x2fc597<_0x469181;_0x2fc597++)if(_0x2fc597%0x4){var _0x5dc48e=_0x3fdedb[_0xab3527[_0x46b95c(0x326)](_0x2fc597-0x1)]<<_0x2fc597%0x4*0x2,_0x4ad986=_0x3fdedb[_0xab3527[_0x46b95c(0x326)](_0x2fc597)]>>>0x6-_0x2fc597%0x4*0x2,_0x4a0499=_0x5dc48e|_0x4ad986;_0x479e93[_0x1a0090>>>0x2]|=_0x4a0499<<0x18-_0x1a0090%0x4*0x8,_0x1a0090++;}return _0x187016['create'](_0x479e93,_0x1a0090);}}()),_0x2aa9d9['enc'][_0x369f07(0x4a8)];}));}(vt)),vt['exports'];}var pt={'exports':{}},rc=pt[_0x5e3172(0x4b3)],_i;function nc(){return _i||(_i=0x1,function(_0x4bc69c,_0x278069){(function(_0x2eab92,_0x4530f8){const _0x570fba=_0x1eb2;_0x4bc69c[_0x570fba(0x4b3)]=_0x4530f8(_e());}(rc,function(_0x48e8d0){const _0x2b60f=_0x1eb2;return function(_0x4b6181){const _0x3361a6=_0x1eb2;var _0x5dcc0a=_0x48e8d0,_0x2925d7=_0x5dcc0a[_0x3361a6(0x1e5)],_0x57036a=_0x2925d7[_0x3361a6(0x24d)],_0x2e918b=_0x2925d7[_0x3361a6(0x176)],_0x1fb206=_0x5dcc0a[_0x3361a6(0x528)],_0x242130=[];(function(){const _0x2c11f8=_0x3361a6;for(var _0x121768=0x0;_0x121768<0x40;_0x121768++)_0x242130[_0x121768]=_0x4b6181[_0x2c11f8(0x3c9)](_0x4b6181[_0x2c11f8(0x338)](_0x121768+0x1))*0x100000000|0x0;}());var _0x1884de=_0x1fb206[_0x3361a6(0x47a)]=_0x2e918b['extend']({'_doReset':function(){const _0x47855f=_0x3361a6;this[_0x47855f(0x51e)]=new _0x57036a[(_0x47855f(0x433))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x36995a,_0x1d0d3c){const _0x275c29=_0x3361a6;for(var _0x5aaebe=0x0;_0x5aaebe<0x10;_0x5aaebe++){var _0x3caf20=_0x1d0d3c+_0x5aaebe,_0x32f2d9=_0x36995a[_0x3caf20];_0x36995a[_0x3caf20]=(_0x32f2d9<<0x8|_0x32f2d9>>>0x18)&0xff00ff|(_0x32f2d9<<0x18|_0x32f2d9>>>0x8)&0xff00ff00;}var _0x117d59=this[_0x275c29(0x51e)][_0x275c29(0x1c5)],_0x26de2e=_0x36995a[_0x1d0d3c+0x0],_0x5b0daf=_0x36995a[_0x1d0d3c+0x1],_0x7ea7ef=_0x36995a[_0x1d0d3c+0x2],_0x489526=_0x36995a[_0x1d0d3c+0x3],_0x22e9f1=_0x36995a[_0x1d0d3c+0x4],_0x537189=_0x36995a[_0x1d0d3c+0x5],_0x26d643=_0x36995a[_0x1d0d3c+0x6],_0x5b9c6f=_0x36995a[_0x1d0d3c+0x7],_0xe2df69=_0x36995a[_0x1d0d3c+0x8],_0x35cb3a=_0x36995a[_0x1d0d3c+0x9],_0x33fbdb=_0x36995a[_0x1d0d3c+0xa],_0x22c9d8=_0x36995a[_0x1d0d3c+0xb],_0x5321d0=_0x36995a[_0x1d0d3c+0xc],_0x8e2cdc=_0x36995a[_0x1d0d3c+0xd],_0x2186ee=_0x36995a[_0x1d0d3c+0xe],_0x2a30e0=_0x36995a[_0x1d0d3c+0xf],_0x46f23d=_0x117d59[0x0],_0x3f3a32=_0x117d59[0x1],_0x14e483=_0x117d59[0x2],_0x332c70=_0x117d59[0x3];_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x26de2e,0x7,_0x242130[0x0]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5b0daf,0xc,_0x242130[0x1]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x7ea7ef,0x11,_0x242130[0x2]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x489526,0x16,_0x242130[0x3]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x22e9f1,0x7,_0x242130[0x4]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x537189,0xc,_0x242130[0x5]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x26d643,0x11,_0x242130[0x6]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5b9c6f,0x16,_0x242130[0x7]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0xe2df69,0x7,_0x242130[0x8]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x35cb3a,0xc,_0x242130[0x9]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x33fbdb,0x11,_0x242130[0xa]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x22c9d8,0x16,_0x242130[0xb]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5321d0,0x7,_0x242130[0xc]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x8e2cdc,0xc,_0x242130[0xd]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2186ee,0x11,_0x242130[0xe]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x2a30e0,0x16,_0x242130[0xf]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5b0daf,0x5,_0x242130[0x10]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x26d643,0x9,_0x242130[0x11]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x22c9d8,0xe,_0x242130[0x12]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x26de2e,0x14,_0x242130[0x13]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x537189,0x5,_0x242130[0x14]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x33fbdb,0x9,_0x242130[0x15]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2a30e0,0xe,_0x242130[0x16]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x22e9f1,0x14,_0x242130[0x17]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x35cb3a,0x5,_0x242130[0x18]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x2186ee,0x9,_0x242130[0x19]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x489526,0xe,_0x242130[0x1a]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0xe2df69,0x14,_0x242130[0x1b]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x8e2cdc,0x5,_0x242130[0x1c]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x7ea7ef,0x9,_0x242130[0x1d]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x5b9c6f,0xe,_0x242130[0x1e]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5321d0,0x14,_0x242130[0x1f]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x537189,0x4,_0x242130[0x20]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0xe2df69,0xb,_0x242130[0x21]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x22c9d8,0x10,_0x242130[0x22]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x2186ee,0x17,_0x242130[0x23]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5b0daf,0x4,_0x242130[0x24]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x22e9f1,0xb,_0x242130[0x25]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x5b9c6f,0x10,_0x242130[0x26]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x33fbdb,0x17,_0x242130[0x27]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x8e2cdc,0x4,_0x242130[0x28]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x26de2e,0xb,_0x242130[0x29]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x489526,0x10,_0x242130[0x2a]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x26d643,0x17,_0x242130[0x2b]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x35cb3a,0x4,_0x242130[0x2c]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5321d0,0xb,_0x242130[0x2d]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2a30e0,0x10,_0x242130[0x2e]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x7ea7ef,0x17,_0x242130[0x2f]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x26de2e,0x6,_0x242130[0x30]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5b9c6f,0xa,_0x242130[0x31]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2186ee,0xf,_0x242130[0x32]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x537189,0x15,_0x242130[0x33]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5321d0,0x6,_0x242130[0x34]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x489526,0xa,_0x242130[0x35]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x33fbdb,0xf,_0x242130[0x36]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5b0daf,0x15,_0x242130[0x37]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0xe2df69,0x6,_0x242130[0x38]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x2a30e0,0xa,_0x242130[0x39]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x26d643,0xf,_0x242130[0x3a]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x8e2cdc,0x15,_0x242130[0x3b]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x22e9f1,0x6,_0x242130[0x3c]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x22c9d8,0xa,_0x242130[0x3d]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x7ea7ef,0xf,_0x242130[0x3e]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x35cb3a,0x15,_0x242130[0x3f]),_0x117d59[0x0]=_0x117d59[0x0]+_0x46f23d|0x0,_0x117d59[0x1]=_0x117d59[0x1]+_0x3f3a32|0x0,_0x117d59[0x2]=_0x117d59[0x2]+_0x14e483|0x0,_0x117d59[0x3]=_0x117d59[0x3]+_0x332c70|0x0;},'_doFinalize':function(){const _0x5af428=_0x3361a6;var _0x144f07=this['_data'],_0x96641a=_0x144f07[_0x5af428(0x1c5)],_0x330086=this[_0x5af428(0x41b)]*0x8,_0x3f5cce=_0x144f07[_0x5af428(0x11f)]*0x8;_0x96641a[_0x3f5cce>>>0x5]|=0x80<<0x18-_0x3f5cce%0x20;var _0x661742=_0x4b6181[_0x5af428(0x21e)](_0x330086/0x100000000),_0x46a28=_0x330086;_0x96641a[(_0x3f5cce+0x40>>>0x9<<0x4)+0xf]=(_0x661742<<0x8|_0x661742>>>0x18)&0xff00ff|(_0x661742<<0x18|_0x661742>>>0x8)&0xff00ff00,_0x96641a[(_0x3f5cce+0x40>>>0x9<<0x4)+0xe]=(_0x46a28<<0x8|_0x46a28>>>0x18)&0xff00ff|(_0x46a28<<0x18|_0x46a28>>>0x8)&0xff00ff00,_0x144f07[_0x5af428(0x11f)]=(_0x96641a[_0x5af428(0x2c8)]+0x1)*0x4,this['_process']();for(var _0x561dae=this[_0x5af428(0x51e)],_0x2578c4=_0x561dae[_0x5af428(0x1c5)],_0x9a94e9=0x0;_0x9a94e9<0x4;_0x9a94e9++){var _0x40a375=_0x2578c4[_0x9a94e9];_0x2578c4[_0x9a94e9]=(_0x40a375<<0x8|_0x40a375>>>0x18)&0xff00ff|(_0x40a375<<0x18|_0x40a375>>>0x8)&0xff00ff00;}return _0x561dae;},'clone':function(){const _0x1e58d4=_0x3361a6;var _0x5f14b0=_0x2e918b[_0x1e58d4(0x506)][_0x1e58d4(0x500)](this);return _0x5f14b0[_0x1e58d4(0x51e)]=this[_0x1e58d4(0x51e)][_0x1e58d4(0x506)](),_0x5f14b0;}});function _0x803f12(_0x561335,_0x40720f,_0x314e06,_0x23cf39,_0x48cf3c,_0x44abf7,_0x5c2f6a){var _0x51d30c=_0x561335+(_0x40720f&_0x314e06|~_0x40720f&_0x23cf39)+_0x48cf3c+_0x5c2f6a;return(_0x51d30c<<_0x44abf7|_0x51d30c>>>0x20-_0x44abf7)+_0x40720f;}function _0x22bfae(_0x3d486e,_0x3af70d,_0x398e48,_0xfa55ad,_0x1944e6,_0x3d7889,_0x3fde04){var _0xc7dbf7=_0x3d486e+(_0x3af70d&_0xfa55ad|_0x398e48&~_0xfa55ad)+_0x1944e6+_0x3fde04;return(_0xc7dbf7<<_0x3d7889|_0xc7dbf7>>>0x20-_0x3d7889)+_0x3af70d;}function _0x4c655e(_0x5b299a,_0x3c3c94,_0x55511e,_0x2bd859,_0x3d1bd5,_0x206715,_0x5158a0){var _0x371f4a=_0x5b299a+(_0x3c3c94^_0x55511e^_0x2bd859)+_0x3d1bd5+_0x5158a0;return(_0x371f4a<<_0x206715|_0x371f4a>>>0x20-_0x206715)+_0x3c3c94;}function _0x57368b(_0x230cb5,_0x1c8064,_0x179ecb,_0x2f3ff3,_0x58afd9,_0x17f237,_0xeb02f8){var _0x8628bd=_0x230cb5+(_0x179ecb^(_0x1c8064|~_0x2f3ff3))+_0x58afd9+_0xeb02f8;return(_0x8628bd<<_0x17f237|_0x8628bd>>>0x20-_0x17f237)+_0x1c8064;}_0x5dcc0a[_0x3361a6(0x47a)]=_0x2e918b[_0x3361a6(0x2b5)](_0x1884de),_0x5dcc0a[_0x3361a6(0x454)]=_0x2e918b[_0x3361a6(0x1fc)](_0x1884de);}(Math),_0x48e8d0[_0x2b60f(0x47a)];}));}(pt)),pt['exports'];}var mt={'exports':{}},gt={'exports':{}},oc=gt[_0x5e3172(0x4b3)],ui;function ac(){const _0x2c6c37=_0x5e3172;return ui||(ui=0x1,function(_0x5acff6,_0x240a8b){(function(_0x392112,_0x14a5e6){_0x5acff6['exports']=_0x14a5e6(_e());}(oc,function(_0x18eaf7){const _0x1326cf=_0x1eb2;return(function(){const _0x594af3=_0x1eb2;var _0x45c2bb=_0x18eaf7,_0x4946e3=_0x45c2bb[_0x594af3(0x1e5)],_0x16ec50=_0x4946e3['WordArray'],_0x23f2ca=_0x4946e3[_0x594af3(0x176)],_0x49f0a5=_0x45c2bb[_0x594af3(0x528)],_0x209c6d=[],_0x5ccb92=_0x49f0a5[_0x594af3(0x220)]=_0x23f2ca['extend']({'_doReset':function(){const _0x5889b0=_0x594af3;this['_hash']=new _0x16ec50[(_0x5889b0(0x433))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d7a9f,_0x448cdc){const _0x512a71=_0x594af3;for(var _0x58bd7d=this['_hash'][_0x512a71(0x1c5)],_0x16620a=_0x58bd7d[0x0],_0xec0ae4=_0x58bd7d[0x1],_0xf5202d=_0x58bd7d[0x2],_0x3246a8=_0x58bd7d[0x3],_0x2e3c0b=_0x58bd7d[0x4],_0x51bfba=0x0;_0x51bfba<0x50;_0x51bfba++){if(_0x51bfba<0x10)_0x209c6d[_0x51bfba]=_0x2d7a9f[_0x448cdc+_0x51bfba]|0x0;else{var _0x5a87ec=_0x209c6d[_0x51bfba-0x3]^_0x209c6d[_0x51bfba-0x8]^_0x209c6d[_0x51bfba-0xe]^_0x209c6d[_0x51bfba-0x10];_0x209c6d[_0x51bfba]=_0x5a87ec<<0x1|_0x5a87ec>>>0x1f;}var _0x3d4564=(_0x16620a<<0x5|_0x16620a>>>0x1b)+_0x2e3c0b+_0x209c6d[_0x51bfba];_0x51bfba<0x14?_0x3d4564+=(_0xec0ae4&_0xf5202d|~_0xec0ae4&_0x3246a8)+0x5a827999:_0x51bfba<0x28?_0x3d4564+=(_0xec0ae4^_0xf5202d^_0x3246a8)+0x6ed9eba1:_0x51bfba<0x3c?_0x3d4564+=(_0xec0ae4&_0xf5202d|_0xec0ae4&_0x3246a8|_0xf5202d&_0x3246a8)-0x70e44324:_0x3d4564+=(_0xec0ae4^_0xf5202d^_0x3246a8)-0x359d3e2a,_0x2e3c0b=_0x3246a8,_0x3246a8=_0xf5202d,_0xf5202d=_0xec0ae4<<0x1e|_0xec0ae4>>>0x2,_0xec0ae4=_0x16620a,_0x16620a=_0x3d4564;}_0x58bd7d[0x0]=_0x58bd7d[0x0]+_0x16620a|0x0,_0x58bd7d[0x1]=_0x58bd7d[0x1]+_0xec0ae4|0x0,_0x58bd7d[0x2]=_0x58bd7d[0x2]+_0xf5202d|0x0,_0x58bd7d[0x3]=_0x58bd7d[0x3]+_0x3246a8|0x0,_0x58bd7d[0x4]=_0x58bd7d[0x4]+_0x2e3c0b|0x0;},'_doFinalize':function(){const _0x5ed0ba=_0x594af3;var _0x2da31d=this[_0x5ed0ba(0x34e)],_0x29c930=_0x2da31d[_0x5ed0ba(0x1c5)],_0x329a77=this[_0x5ed0ba(0x41b)]*0x8,_0x39f5f7=_0x2da31d['sigBytes']*0x8;return _0x29c930[_0x39f5f7>>>0x5]|=0x80<<0x18-_0x39f5f7%0x20,_0x29c930[(_0x39f5f7+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ed0ba(0x21e)](_0x329a77/0x100000000),_0x29c930[(_0x39f5f7+0x40>>>0x9<<0x4)+0xf]=_0x329a77,_0x2da31d[_0x5ed0ba(0x11f)]=_0x29c930[_0x5ed0ba(0x2c8)]*0x4,this['_process'](),this[_0x5ed0ba(0x51e)];},'clone':function(){const _0x175c5f=_0x594af3;var _0x2c7e53=_0x23f2ca['clone']['call'](this);return _0x2c7e53[_0x175c5f(0x51e)]=this[_0x175c5f(0x51e)][_0x175c5f(0x506)](),_0x2c7e53;}});_0x45c2bb[_0x594af3(0x220)]=_0x23f2ca['_createHelper'](_0x5ccb92),_0x45c2bb['HmacSHA1']=_0x23f2ca['_createHmacHelper'](_0x5ccb92);}()),_0x18eaf7[_0x1326cf(0x220)];}));}(gt)),gt[_0x2c6c37(0x4b3)];}var St={'exports':{}},cc=St[_0x5e3172(0x4b3)],di;function hc(){const _0x3dcf3e=_0x5e3172;return di||(di=0x1,function(_0x110b5f,_0x5cc869){(function(_0x1c1bb6,_0x21cc11){const _0x3d7ac9=_0x1eb2;_0x110b5f[_0x3d7ac9(0x4b3)]=_0x21cc11(_e());}(cc,function(_0x2707c9){(function(){const _0x2245a1=_0x1eb2;var _0x4ce1da=_0x2707c9,_0x43c708=_0x4ce1da[_0x2245a1(0x1e5)],_0xaf8b90=_0x43c708[_0x2245a1(0x368)],_0xca2bea=_0x4ce1da[_0x2245a1(0x302)],_0x19a832=_0xca2bea['Utf8'],_0x698644=_0x4ce1da['algo'];_0x698644[_0x2245a1(0x360)]=_0xaf8b90[_0x2245a1(0x2c1)]({'init':function(_0x4c8d28,_0x41cd7f){const _0x5f2ddb=_0x2245a1;_0x4c8d28=this['_hasher']=new _0x4c8d28['init'](),typeof _0x41cd7f==_0x5f2ddb(0x429)&&(_0x41cd7f=_0x19a832[_0x5f2ddb(0x32f)](_0x41cd7f));var _0x45041a=_0x4c8d28[_0x5f2ddb(0x2b0)],_0x197501=_0x45041a*0x4;_0x41cd7f[_0x5f2ddb(0x11f)]>_0x197501&&(_0x41cd7f=_0x4c8d28[_0x5f2ddb(0x244)](_0x41cd7f)),_0x41cd7f[_0x5f2ddb(0x4bb)]();for(var _0x43ebb0=this[_0x5f2ddb(0x2d7)]=_0x41cd7f['clone'](),_0x14e62a=this['_iKey']=_0x41cd7f['clone'](),_0x5bb0c7=_0x43ebb0[_0x5f2ddb(0x1c5)],_0x1ab290=_0x14e62a['words'],_0xdca9ee=0x0;_0xdca9ee<_0x45041a;_0xdca9ee++)_0x5bb0c7[_0xdca9ee]^=0x5c5c5c5c,_0x1ab290[_0xdca9ee]^=0x36363636;_0x43ebb0[_0x5f2ddb(0x11f)]=_0x14e62a['sigBytes']=_0x197501,this[_0x5f2ddb(0x3df)]();},'reset':function(){const _0x410662=_0x2245a1;var _0x299498=this[_0x410662(0x329)];_0x299498[_0x410662(0x3df)](),_0x299498[_0x410662(0x4d6)](this[_0x410662(0x221)]);},'update':function(_0x3ee8e9){const _0x5ec8fd=_0x2245a1;return this['_hasher'][_0x5ec8fd(0x4d6)](_0x3ee8e9),this;},'finalize':function(_0x299a8c){const _0x38ab7d=_0x2245a1;var _0x535525=this[_0x38ab7d(0x329)],_0x27b256=_0x535525[_0x38ab7d(0x244)](_0x299a8c);_0x535525[_0x38ab7d(0x3df)]();var _0x331110=_0x535525['finalize'](this[_0x38ab7d(0x2d7)][_0x38ab7d(0x506)]()[_0x38ab7d(0x4b9)](_0x27b256));return _0x331110;}});}());}));}(St)),St[_0x3dcf3e(0x4b3)];}var lc=mt['exports'],fi;function nr(){return fi||(fi=0x1,function(_0x4ec378,_0x147063){(function(_0x4d87f8,_0x5cc808,_0xa34a5d){const _0x144453=_0x1eb2;_0x4ec378[_0x144453(0x4b3)]=_0x5cc808(_e(),ac(),hc());}(lc,function(_0x42c396){const _0x511ce6=_0x1eb2;return(function(){const _0x50b50b=_0x1eb2;var _0x69942b=_0x42c396,_0x14b2c5=_0x69942b['lib'],_0x6ee7f4=_0x14b2c5[_0x50b50b(0x368)],_0x5a3d01=_0x14b2c5[_0x50b50b(0x24d)],_0x1d105b=_0x69942b[_0x50b50b(0x528)],_0x1d2329=_0x1d105b['MD5'],_0x43c33b=_0x1d105b[_0x50b50b(0x33d)]=_0x6ee7f4['extend']({'cfg':_0x6ee7f4[_0x50b50b(0x2c1)]({'keySize':0x80/0x20,'hasher':_0x1d2329,'iterations':0x1}),'init':function(_0xc49337){const _0x27370c=_0x50b50b;this['cfg']=this[_0x27370c(0x471)]['extend'](_0xc49337);},'compute':function(_0x1036f4,_0x308be8){const _0x3fa78f=_0x50b50b;for(var _0x5246f3,_0x22b1a8=this[_0x3fa78f(0x471)],_0x3f3848=_0x22b1a8[_0x3fa78f(0x1a6)]['create'](),_0x40784d=_0x5a3d01['create'](),_0x37dbc7=_0x40784d[_0x3fa78f(0x1c5)],_0x38cfdf=_0x22b1a8['keySize'],_0x545902=_0x22b1a8[_0x3fa78f(0x51a)];_0x37dbc7[_0x3fa78f(0x2c8)]<_0x38cfdf;){_0x5246f3&&_0x3f3848['update'](_0x5246f3),_0x5246f3=_0x3f3848['update'](_0x1036f4)[_0x3fa78f(0x244)](_0x308be8),_0x3f3848[_0x3fa78f(0x3df)]();for(var _0x4b12d2=0x1;_0x4b12d2<_0x545902;_0x4b12d2++)_0x5246f3=_0x3f3848[_0x3fa78f(0x244)](_0x5246f3),_0x3f3848['reset']();_0x40784d[_0x3fa78f(0x4b9)](_0x5246f3);}return _0x40784d['sigBytes']=_0x38cfdf*0x4,_0x40784d;}});_0x69942b[_0x50b50b(0x33d)]=function(_0x412b8b,_0x5e4d67,_0x5061a0){const _0x17993b=_0x50b50b;return _0x43c33b[_0x17993b(0x2df)](_0x5061a0)[_0x17993b(0x48c)](_0x412b8b,_0x5e4d67);};}()),_0x42c396[_0x511ce6(0x33d)];}));}(mt)),mt['exports'];}var It={'exports':{}},_c=It[_0x5e3172(0x4b3)],vi;function or(){return vi||(vi=0x1,function(_0x1f053b,_0x5e4477){(function(_0x34f154,_0x17fd4e,_0x456633){const _0x51eaa2=_0x1eb2;_0x1f053b[_0x51eaa2(0x4b3)]=_0x17fd4e(_e(),nr());}(_c,function(_0xbdb76d){const _0x34d4ec=_0x1eb2;_0xbdb76d[_0x34d4ec(0x1e5)]['Cipher']||function(_0x4bb1fa){const _0x3dc2af=_0x34d4ec;var _0xf768da=_0xbdb76d,_0x4d3f8e=_0xf768da['lib'],_0x35ec30=_0x4d3f8e[_0x3dc2af(0x368)],_0x13219c=_0x4d3f8e['WordArray'],_0x5a9b93=_0x4d3f8e['BufferedBlockAlgorithm'],_0xf737b=_0xf768da[_0x3dc2af(0x302)];_0xf737b[_0x3dc2af(0x188)];var _0x4ffc0f=_0xf737b['Base64'],_0xbc269=_0xf768da[_0x3dc2af(0x528)],_0x140c22=_0xbc269['EvpKDF'],_0x1a4433=_0x4d3f8e[_0x3dc2af(0x2c3)]=_0x5a9b93[_0x3dc2af(0x2c1)]({'cfg':_0x35ec30[_0x3dc2af(0x2c1)](),'createEncryptor':function(_0xd7a186,_0x1e6b2f){const _0xbd8dee=_0x3dc2af;return this[_0xbd8dee(0x2df)](this[_0xbd8dee(0x1f5)],_0xd7a186,_0x1e6b2f);},'createDecryptor':function(_0x21ac3d,_0x452a29){const _0x2a96c7=_0x3dc2af;return this['create'](this[_0x2a96c7(0x3be)],_0x21ac3d,_0x452a29);},'init':function(_0x3ee1e5,_0x4b0e2c,_0x2ad9ae){const _0x3772ea=_0x3dc2af;this['cfg']=this[_0x3772ea(0x471)][_0x3772ea(0x2c1)](_0x2ad9ae),this[_0x3772ea(0x2c4)]=_0x3ee1e5,this[_0x3772ea(0x114)]=_0x4b0e2c,this[_0x3772ea(0x3df)]();},'reset':function(){const _0x3e821e=_0x3dc2af;_0x5a9b93[_0x3e821e(0x3df)][_0x3e821e(0x500)](this),this[_0x3e821e(0x255)]();},'process':function(_0x33ed1f){const _0x5a8a31=_0x3dc2af;return this[_0x5a8a31(0x245)](_0x33ed1f),this['_process']();},'finalize':function(_0x5468b1){_0x5468b1&&this['_append'](_0x5468b1);var _0x4b11db=this['_doFinalize']();return _0x4b11db;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x282e10(_0x2425c5){const _0x3da68d=_0x1eb2;return typeof _0x2425c5==_0x3da68d(0x429)?_0x575d09:_0x43e921;}return function(_0x5d7a0c){return{'encrypt':function(_0x154dfa,_0x3f7968,_0x193aac){const _0x528c7d=_0x1eb2;return _0x282e10(_0x3f7968)[_0x528c7d(0x447)](_0x5d7a0c,_0x154dfa,_0x3f7968,_0x193aac);},'decrypt':function(_0x4b556a,_0x3d5e0c,_0xe4fe8e){return _0x282e10(_0x3d5e0c)['decrypt'](_0x5d7a0c,_0x4b556a,_0x3d5e0c,_0xe4fe8e);}};};}())});_0x4d3f8e['StreamCipher']=_0x1a4433[_0x3dc2af(0x2c1)]({'_doFinalize':function(){const _0x2e3eeb=_0x3dc2af;var _0x1bf95c=this[_0x2e3eeb(0x370)](!0x0);return _0x1bf95c;},'blockSize':0x1});var _0x7173e7=_0xf768da[_0x3dc2af(0x2bb)]={},_0x1a3241=_0x4d3f8e[_0x3dc2af(0x336)]=_0x35ec30[_0x3dc2af(0x2c1)]({'createEncryptor':function(_0x73771f,_0x49c4ab){const _0x41b0b1=_0x3dc2af;return this[_0x41b0b1(0x2ea)][_0x41b0b1(0x2df)](_0x73771f,_0x49c4ab);},'createDecryptor':function(_0x365e77,_0x6989a2){const _0x3b86e4=_0x3dc2af;return this[_0x3b86e4(0x1e1)][_0x3b86e4(0x2df)](_0x365e77,_0x6989a2);},'init':function(_0x3474b3,_0xa154e3){const _0x1f1702=_0x3dc2af;this[_0x1f1702(0x493)]=_0x3474b3,this[_0x1f1702(0x35a)]=_0xa154e3;}}),_0x19e5cb=_0x7173e7[_0x3dc2af(0x37c)]=(function(){const _0x3b0edc=_0x3dc2af;var _0x40a3c2=_0x1a3241[_0x3b0edc(0x2c1)]();_0x40a3c2[_0x3b0edc(0x2ea)]=_0x40a3c2[_0x3b0edc(0x2c1)]({'processBlock':function(_0x4ae166,_0x5a14bb){const _0x56b39e=_0x3b0edc;var _0x275baa=this[_0x56b39e(0x493)],_0x35ba83=_0x275baa[_0x56b39e(0x2b0)];_0x438640[_0x56b39e(0x500)](this,_0x4ae166,_0x5a14bb,_0x35ba83),_0x275baa[_0x56b39e(0x40d)](_0x4ae166,_0x5a14bb),this[_0x56b39e(0x3ea)]=_0x4ae166['slice'](_0x5a14bb,_0x5a14bb+_0x35ba83);}}),_0x40a3c2[_0x3b0edc(0x1e1)]=_0x40a3c2['extend']({'processBlock':function(_0x7637f1,_0x245e97){const _0x579a7e=_0x3b0edc;var _0x2a80d1=this[_0x579a7e(0x493)],_0x2ce515=_0x2a80d1[_0x579a7e(0x2b0)],_0x52ad94=_0x7637f1[_0x579a7e(0x469)](_0x245e97,_0x245e97+_0x2ce515);_0x2a80d1[_0x579a7e(0x2f2)](_0x7637f1,_0x245e97),_0x438640[_0x579a7e(0x500)](this,_0x7637f1,_0x245e97,_0x2ce515),this[_0x579a7e(0x3ea)]=_0x52ad94;}});function _0x438640(_0x5c47f8,_0x2403ed,_0xbbffc6){const _0x38c7ed=_0x3b0edc;var _0x376f12,_0x38f9e2=this[_0x38c7ed(0x35a)];_0x38f9e2?(_0x376f12=_0x38f9e2,this[_0x38c7ed(0x35a)]=_0x4bb1fa):_0x376f12=this[_0x38c7ed(0x3ea)];for(var _0x1cdd7e=0x0;_0x1cdd7e<_0xbbffc6;_0x1cdd7e++)_0x5c47f8[_0x2403ed+_0x1cdd7e]^=_0x376f12[_0x1cdd7e];}return _0x40a3c2;}()),_0x42547f=_0xf768da[_0x3dc2af(0x3bd)]={},_0x14d1cb=_0x42547f['Pkcs7']={'pad':function(_0x2835b4,_0x5c0625){const _0x341fed=_0x3dc2af;for(var _0x549e9e=_0x5c0625*0x4,_0x4f5d47=_0x549e9e-_0x2835b4['sigBytes']%_0x549e9e,_0x509e71=_0x4f5d47<<0x18|_0x4f5d47<<0x10|_0x4f5d47<<0x8|_0x4f5d47,_0x827eed=[],_0x9f7239=0x0;_0x9f7239<_0x4f5d47;_0x9f7239+=0x4)_0x827eed[_0x341fed(0x38e)](_0x509e71);var _0x2c1dce=_0x13219c[_0x341fed(0x2df)](_0x827eed,_0x4f5d47);_0x2835b4[_0x341fed(0x4b9)](_0x2c1dce);},'unpad':function(_0x4a6fd0){const _0x273647=_0x3dc2af;var _0xb5dcb8=_0x4a6fd0['words'][_0x4a6fd0[_0x273647(0x11f)]-0x1>>>0x2]&0xff;_0x4a6fd0[_0x273647(0x11f)]-=_0xb5dcb8;}};_0x4d3f8e[_0x3dc2af(0x391)]=_0x1a4433['extend']({'cfg':_0x1a4433['cfg'][_0x3dc2af(0x2c1)]({'mode':_0x19e5cb,'padding':_0x14d1cb}),'reset':function(){const _0x48ef11=_0x3dc2af;var _0x14f349;_0x1a4433[_0x48ef11(0x3df)][_0x48ef11(0x500)](this);var _0x585d23=this[_0x48ef11(0x471)],_0x316749=_0x585d23['iv'],_0x437b99=_0x585d23['mode'];this[_0x48ef11(0x2c4)]==this[_0x48ef11(0x1f5)]?_0x14f349=_0x437b99[_0x48ef11(0x3bb)]:(_0x14f349=_0x437b99['createDecryptor'],this[_0x48ef11(0x1a9)]=0x1),this[_0x48ef11(0x259)]&&this[_0x48ef11(0x259)][_0x48ef11(0x14a)]==_0x14f349?this['_mode'][_0x48ef11(0x433)](this,_0x316749&&_0x316749[_0x48ef11(0x1c5)]):(this[_0x48ef11(0x259)]=_0x14f349['call'](_0x437b99,this,_0x316749&&_0x316749[_0x48ef11(0x1c5)]),this[_0x48ef11(0x259)]['__creator']=_0x14f349);},'_doProcessBlock':function(_0x18b8cb,_0x133882){const _0x99a7ac=_0x3dc2af;this[_0x99a7ac(0x259)][_0x99a7ac(0x268)](_0x18b8cb,_0x133882);},'_doFinalize':function(){const _0x9fde58=_0x3dc2af;var _0x2ebede,_0x55e5eb=this[_0x9fde58(0x471)][_0x9fde58(0x21f)];return this['_xformMode']==this[_0x9fde58(0x1f5)]?(_0x55e5eb[_0x9fde58(0x3bd)](this[_0x9fde58(0x34e)],this['blockSize']),_0x2ebede=this['_process'](!0x0)):(_0x2ebede=this[_0x9fde58(0x370)](!0x0),_0x55e5eb[_0x9fde58(0x397)](_0x2ebede)),_0x2ebede;},'blockSize':0x80/0x20});var _0x989f28=_0x4d3f8e[_0x3dc2af(0x2d0)]=_0x35ec30[_0x3dc2af(0x2c1)]({'init':function(_0x458e4c){this['mixIn'](_0x458e4c);},'toString':function(_0x1736e5){const _0x3f3ec5=_0x3dc2af;return(_0x1736e5||this[_0x3f3ec5(0x2b7)])[_0x3f3ec5(0x50f)](this);}}),_0x40b3df=_0xf768da['format']={},_0x1a24cf=_0x40b3df[_0x3dc2af(0x2d1)]={'stringify':function(_0x3c5b71){const _0x33faf7=_0x3dc2af;var _0x562de0,_0x12e59b=_0x3c5b71[_0x33faf7(0x3a5)],_0x3dd8f8=_0x3c5b71['salt'];return _0x3dd8f8?_0x562de0=_0x13219c[_0x33faf7(0x2df)]([0x53616c74,0x65645f5f])[_0x33faf7(0x4b9)](_0x3dd8f8)[_0x33faf7(0x4b9)](_0x12e59b):_0x562de0=_0x12e59b,_0x562de0['toString'](_0x4ffc0f);},'parse':function(_0x5bc4e5){const _0x5d6398=_0x3dc2af;var _0x46e895,_0x5b5339=_0x4ffc0f['parse'](_0x5bc4e5),_0x5de8c2=_0x5b5339[_0x5d6398(0x1c5)];return _0x5de8c2[0x0]==0x53616c74&&_0x5de8c2[0x1]==0x65645f5f&&(_0x46e895=_0x13219c['create'](_0x5de8c2['slice'](0x2,0x4)),_0x5de8c2[_0x5d6398(0x403)](0x0,0x4),_0x5b5339[_0x5d6398(0x11f)]-=0x10),_0x989f28['create']({'ciphertext':_0x5b5339,'salt':_0x46e895});}},_0x43e921=_0x4d3f8e[_0x3dc2af(0x271)]=_0x35ec30[_0x3dc2af(0x2c1)]({'cfg':_0x35ec30[_0x3dc2af(0x2c1)]({'format':_0x1a24cf}),'encrypt':function(_0x2124c4,_0x4e6826,_0x2956c0,_0x26a6d1){const _0x2d80f9=_0x3dc2af;_0x26a6d1=this[_0x2d80f9(0x471)][_0x2d80f9(0x2c1)](_0x26a6d1);var _0xe608a2=_0x2124c4[_0x2d80f9(0x3bb)](_0x2956c0,_0x26a6d1),_0x461d84=_0xe608a2[_0x2d80f9(0x244)](_0x4e6826),_0x69e205=_0xe608a2[_0x2d80f9(0x471)];return _0x989f28[_0x2d80f9(0x2df)]({'ciphertext':_0x461d84,'key':_0x2956c0,'iv':_0x69e205['iv'],'algorithm':_0x2124c4,'mode':_0x69e205[_0x2d80f9(0x2bb)],'padding':_0x69e205[_0x2d80f9(0x21f)],'blockSize':_0x2124c4[_0x2d80f9(0x2b0)],'formatter':_0x26a6d1[_0x2d80f9(0x462)]});},'decrypt':function(_0x5ecef1,_0x19b3bf,_0x2094bc,_0xe837c6){const _0x490d6f=_0x3dc2af;_0xe837c6=this[_0x490d6f(0x471)][_0x490d6f(0x2c1)](_0xe837c6),_0x19b3bf=this[_0x490d6f(0x285)](_0x19b3bf,_0xe837c6[_0x490d6f(0x462)]);var _0x1947b5=_0x5ecef1[_0x490d6f(0x32c)](_0x2094bc,_0xe837c6)[_0x490d6f(0x244)](_0x19b3bf[_0x490d6f(0x3a5)]);return _0x1947b5;},'_parse':function(_0x204229,_0x4fc00d){const _0x3e09b5=_0x3dc2af;return typeof _0x204229==_0x3e09b5(0x429)?_0x4fc00d['parse'](_0x204229,this):_0x204229;}}),_0x1e3083=_0xf768da['kdf']={},_0x356732=_0x1e3083[_0x3dc2af(0x2d1)]={'execute':function(_0x123ed5,_0x2d8c6b,_0x53c612,_0x4d315d,_0x5e6922){const _0x1502f5=_0x3dc2af;if(_0x4d315d||(_0x4d315d=_0x13219c['random'](0x40/0x8)),_0x5e6922)var _0x4f1d4e=_0x140c22[_0x1502f5(0x2df)]({'keySize':_0x2d8c6b+_0x53c612,'hasher':_0x5e6922})['compute'](_0x123ed5,_0x4d315d);else var _0x4f1d4e=_0x140c22[_0x1502f5(0x2df)]({'keySize':_0x2d8c6b+_0x53c612})[_0x1502f5(0x48c)](_0x123ed5,_0x4d315d);var _0x1ccfce=_0x13219c[_0x1502f5(0x2df)](_0x4f1d4e[_0x1502f5(0x1c5)]['slice'](_0x2d8c6b),_0x53c612*0x4);return _0x4f1d4e[_0x1502f5(0x11f)]=_0x2d8c6b*0x4,_0x989f28['create']({'key':_0x4f1d4e,'iv':_0x1ccfce,'salt':_0x4d315d});}},_0x575d09=_0x4d3f8e['PasswordBasedCipher']=_0x43e921[_0x3dc2af(0x2c1)]({'cfg':_0x43e921[_0x3dc2af(0x471)]['extend']({'kdf':_0x356732}),'encrypt':function(_0x241498,_0x121aa4,_0x2987cd,_0x10f41e){const _0x2c63ba=_0x3dc2af;_0x10f41e=this[_0x2c63ba(0x471)][_0x2c63ba(0x2c1)](_0x10f41e);var _0x4257cd=_0x10f41e[_0x2c63ba(0x499)][_0x2c63ba(0x223)](_0x2987cd,_0x241498[_0x2c63ba(0x3b1)],_0x241498[_0x2c63ba(0x526)],_0x10f41e['salt'],_0x10f41e[_0x2c63ba(0x1a6)]);_0x10f41e['iv']=_0x4257cd['iv'];var _0x358340=_0x43e921[_0x2c63ba(0x447)][_0x2c63ba(0x500)](this,_0x241498,_0x121aa4,_0x4257cd[_0x2c63ba(0x36a)],_0x10f41e);return _0x358340[_0x2c63ba(0x24e)](_0x4257cd),_0x358340;},'decrypt':function(_0x36532f,_0x4502d7,_0x549b88,_0x45bafc){const _0x3a4393=_0x3dc2af;_0x45bafc=this['cfg'][_0x3a4393(0x2c1)](_0x45bafc),_0x4502d7=this['_parse'](_0x4502d7,_0x45bafc[_0x3a4393(0x462)]);var _0x2564b5=_0x45bafc[_0x3a4393(0x499)][_0x3a4393(0x223)](_0x549b88,_0x36532f[_0x3a4393(0x3b1)],_0x36532f['ivSize'],_0x4502d7[_0x3a4393(0x113)],_0x45bafc['hasher']);_0x45bafc['iv']=_0x2564b5['iv'];var _0x436986=_0x43e921[_0x3a4393(0x524)][_0x3a4393(0x500)](this,_0x36532f,_0x4502d7,_0x2564b5[_0x3a4393(0x36a)],_0x45bafc);return _0x436986;}});}();}));}(It)),It['exports'];}var uc=dt['exports'],pi;function dc(){const _0x11a7c0=_0x5e3172;return pi||(pi=0x1,function(_0x3c3ef4,_0x3d477b){(function(_0x43e2e6,_0x40b6d5,_0x54a00d){_0x3c3ef4['exports']=_0x40b6d5(_e(),rr(),nc(),nr(),or());}(uc,function(_0x4840ed){const _0x1e2c34=_0x1eb2;return(function(){const _0x3a808a=_0x1eb2;var _0x486d4b=_0x4840ed,_0x352192=_0x486d4b['lib'],_0x9f9660=_0x352192[_0x3a808a(0x391)],_0x5cf04b=_0x486d4b[_0x3a808a(0x528)],_0x52cea7=[],_0x148584=[],_0x16f265=[],_0x534156=[],_0x34df70=[],_0x42da92=[],_0x1f93cc=[],_0x20a490=[],_0x2815df=[],_0x56a7c2=[];(function(){for(var _0x386661=[],_0x2a2696=0x0;_0x2a2696<0x100;_0x2a2696++)_0x2a2696<0x80?_0x386661[_0x2a2696]=_0x2a2696<<0x1:_0x386661[_0x2a2696]=_0x2a2696<<0x1^0x11b;for(var _0x27b2a6=0x0,_0x241395=0x0,_0x2a2696=0x0;_0x2a2696<0x100;_0x2a2696++){var _0x212ab4=_0x241395^_0x241395<<0x1^_0x241395<<0x2^_0x241395<<0x3^_0x241395<<0x4;_0x212ab4=_0x212ab4>>>0x8^_0x212ab4&0xff^0x63,_0x52cea7[_0x27b2a6]=_0x212ab4,_0x148584[_0x212ab4]=_0x27b2a6;var _0x5af5a5=_0x386661[_0x27b2a6],_0x4a8c99=_0x386661[_0x5af5a5],_0x5d3820=_0x386661[_0x4a8c99],_0x451173=_0x386661[_0x212ab4]*0x101^_0x212ab4*0x1010100;_0x16f265[_0x27b2a6]=_0x451173<<0x18|_0x451173>>>0x8,_0x534156[_0x27b2a6]=_0x451173<<0x10|_0x451173>>>0x10,_0x34df70[_0x27b2a6]=_0x451173<<0x8|_0x451173>>>0x18,_0x42da92[_0x27b2a6]=_0x451173;var _0x451173=_0x5d3820*0x1010101^_0x4a8c99*0x10001^_0x5af5a5*0x101^_0x27b2a6*0x1010100;_0x1f93cc[_0x212ab4]=_0x451173<<0x18|_0x451173>>>0x8,_0x20a490[_0x212ab4]=_0x451173<<0x10|_0x451173>>>0x10,_0x2815df[_0x212ab4]=_0x451173<<0x8|_0x451173>>>0x18,_0x56a7c2[_0x212ab4]=_0x451173,_0x27b2a6?(_0x27b2a6=_0x5af5a5^_0x386661[_0x386661[_0x386661[_0x5d3820^_0x5af5a5]]],_0x241395^=_0x386661[_0x386661[_0x241395]]):_0x27b2a6=_0x241395=0x1;}}());var _0x500ea9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x37048f=_0x5cf04b[_0x3a808a(0x3a7)]=_0x9f9660[_0x3a808a(0x2c1)]({'_doReset':function(){const _0x4cdd7c=_0x3a808a;var _0x2bc76c;if(!(this[_0x4cdd7c(0x122)]&&this[_0x4cdd7c(0x51b)]===this[_0x4cdd7c(0x114)])){for(var _0x44640a=this[_0x4cdd7c(0x51b)]=this[_0x4cdd7c(0x114)],_0x1e8f4b=_0x44640a[_0x4cdd7c(0x1c5)],_0x3ec0e5=_0x44640a['sigBytes']/0x4,_0x4cf6ba=this['_nRounds']=_0x3ec0e5+0x6,_0x319a73=(_0x4cf6ba+0x1)*0x4,_0x179e0b=this['_keySchedule']=[],_0x1c6c8f=0x0;_0x1c6c8f<_0x319a73;_0x1c6c8f++)_0x1c6c8f<_0x3ec0e5?_0x179e0b[_0x1c6c8f]=_0x1e8f4b[_0x1c6c8f]:(_0x2bc76c=_0x179e0b[_0x1c6c8f-0x1],_0x1c6c8f%_0x3ec0e5?_0x3ec0e5>0x6&&_0x1c6c8f%_0x3ec0e5==0x4&&(_0x2bc76c=_0x52cea7[_0x2bc76c>>>0x18]<<0x18|_0x52cea7[_0x2bc76c>>>0x10&0xff]<<0x10|_0x52cea7[_0x2bc76c>>>0x8&0xff]<<0x8|_0x52cea7[_0x2bc76c&0xff]):(_0x2bc76c=_0x2bc76c<<0x8|_0x2bc76c>>>0x18,_0x2bc76c=_0x52cea7[_0x2bc76c>>>0x18]<<0x18|_0x52cea7[_0x2bc76c>>>0x10&0xff]<<0x10|_0x52cea7[_0x2bc76c>>>0x8&0xff]<<0x8|_0x52cea7[_0x2bc76c&0xff],_0x2bc76c^=_0x500ea9[_0x1c6c8f/_0x3ec0e5|0x0]<<0x18),_0x179e0b[_0x1c6c8f]=_0x179e0b[_0x1c6c8f-_0x3ec0e5]^_0x2bc76c);for(var _0x4bbfa6=this[_0x4cdd7c(0x205)]=[],_0x29474b=0x0;_0x29474b<_0x319a73;_0x29474b++){var _0x1c6c8f=_0x319a73-_0x29474b;if(_0x29474b%0x4)var _0x2bc76c=_0x179e0b[_0x1c6c8f];else var _0x2bc76c=_0x179e0b[_0x1c6c8f-0x4];_0x29474b<0x4||_0x1c6c8f<=0x4?_0x4bbfa6[_0x29474b]=_0x2bc76c:_0x4bbfa6[_0x29474b]=_0x1f93cc[_0x52cea7[_0x2bc76c>>>0x18]]^_0x20a490[_0x52cea7[_0x2bc76c>>>0x10&0xff]]^_0x2815df[_0x52cea7[_0x2bc76c>>>0x8&0xff]]^_0x56a7c2[_0x52cea7[_0x2bc76c&0xff]];}}},'encryptBlock':function(_0x1066e1,_0x2237e9){const _0x3e0e2f=_0x3a808a;this[_0x3e0e2f(0x10e)](_0x1066e1,_0x2237e9,this[_0x3e0e2f(0x3b9)],_0x16f265,_0x534156,_0x34df70,_0x42da92,_0x52cea7);},'decryptBlock':function(_0x489225,_0x3eeafc){const _0x201d5e=_0x3a808a;var _0x4773d9=_0x489225[_0x3eeafc+0x1];_0x489225[_0x3eeafc+0x1]=_0x489225[_0x3eeafc+0x3],_0x489225[_0x3eeafc+0x3]=_0x4773d9,this[_0x201d5e(0x10e)](_0x489225,_0x3eeafc,this['_invKeySchedule'],_0x1f93cc,_0x20a490,_0x2815df,_0x56a7c2,_0x148584);var _0x4773d9=_0x489225[_0x3eeafc+0x1];_0x489225[_0x3eeafc+0x1]=_0x489225[_0x3eeafc+0x3],_0x489225[_0x3eeafc+0x3]=_0x4773d9;},'_doCryptBlock':function(_0x2bf1f9,_0xb0af47,_0x49087e,_0x442e9b,_0x32ff6b,_0x2c922a,_0x55bc19,_0x14d14b){const _0x340043=_0x3a808a;for(var _0x451f09=this[_0x340043(0x122)],_0x162366=_0x2bf1f9[_0xb0af47]^_0x49087e[0x0],_0x55cfd3=_0x2bf1f9[_0xb0af47+0x1]^_0x49087e[0x1],_0xd46af2=_0x2bf1f9[_0xb0af47+0x2]^_0x49087e[0x2],_0x359a61=_0x2bf1f9[_0xb0af47+0x3]^_0x49087e[0x3],_0x5a34b9=0x4,_0x566356=0x1;_0x566356<_0x451f09;_0x566356++){var _0x3a9f0a=_0x442e9b[_0x162366>>>0x18]^_0x32ff6b[_0x55cfd3>>>0x10&0xff]^_0x2c922a[_0xd46af2>>>0x8&0xff]^_0x55bc19[_0x359a61&0xff]^_0x49087e[_0x5a34b9++],_0x310930=_0x442e9b[_0x55cfd3>>>0x18]^_0x32ff6b[_0xd46af2>>>0x10&0xff]^_0x2c922a[_0x359a61>>>0x8&0xff]^_0x55bc19[_0x162366&0xff]^_0x49087e[_0x5a34b9++],_0x1e3db3=_0x442e9b[_0xd46af2>>>0x18]^_0x32ff6b[_0x359a61>>>0x10&0xff]^_0x2c922a[_0x162366>>>0x8&0xff]^_0x55bc19[_0x55cfd3&0xff]^_0x49087e[_0x5a34b9++],_0x1feb14=_0x442e9b[_0x359a61>>>0x18]^_0x32ff6b[_0x162366>>>0x10&0xff]^_0x2c922a[_0x55cfd3>>>0x8&0xff]^_0x55bc19[_0xd46af2&0xff]^_0x49087e[_0x5a34b9++];_0x162366=_0x3a9f0a,_0x55cfd3=_0x310930,_0xd46af2=_0x1e3db3,_0x359a61=_0x1feb14;}var _0x3a9f0a=(_0x14d14b[_0x162366>>>0x18]<<0x18|_0x14d14b[_0x55cfd3>>>0x10&0xff]<<0x10|_0x14d14b[_0xd46af2>>>0x8&0xff]<<0x8|_0x14d14b[_0x359a61&0xff])^_0x49087e[_0x5a34b9++],_0x310930=(_0x14d14b[_0x55cfd3>>>0x18]<<0x18|_0x14d14b[_0xd46af2>>>0x10&0xff]<<0x10|_0x14d14b[_0x359a61>>>0x8&0xff]<<0x8|_0x14d14b[_0x162366&0xff])^_0x49087e[_0x5a34b9++],_0x1e3db3=(_0x14d14b[_0xd46af2>>>0x18]<<0x18|_0x14d14b[_0x359a61>>>0x10&0xff]<<0x10|_0x14d14b[_0x162366>>>0x8&0xff]<<0x8|_0x14d14b[_0x55cfd3&0xff])^_0x49087e[_0x5a34b9++],_0x1feb14=(_0x14d14b[_0x359a61>>>0x18]<<0x18|_0x14d14b[_0x162366>>>0x10&0xff]<<0x10|_0x14d14b[_0x55cfd3>>>0x8&0xff]<<0x8|_0x14d14b[_0xd46af2&0xff])^_0x49087e[_0x5a34b9++];_0x2bf1f9[_0xb0af47]=_0x3a9f0a,_0x2bf1f9[_0xb0af47+0x1]=_0x310930,_0x2bf1f9[_0xb0af47+0x2]=_0x1e3db3,_0x2bf1f9[_0xb0af47+0x3]=_0x1feb14;},'keySize':0x100/0x20});_0x486d4b[_0x3a808a(0x3a7)]=_0x9f9660[_0x3a808a(0x2b5)](_0x37048f);}()),_0x4840ed[_0x1e2c34(0x3a7)];}));}(dt)),dt[_0x11a7c0(0x4b3)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct[_0x5e3172(0x4b3)],gi;function gc(){const _0x5509a0=_0x5e3172;return gi||(gi=0x1,function(_0x541ca3,_0x592c82){(function(_0x5e424a,_0x356bb0){const _0x424205=_0x1eb2;_0x541ca3[_0x424205(0x4b3)]=_0x356bb0(_e());}(mc,function(_0xd6ceb3){const _0x182340=_0x1eb2;return _0xd6ceb3[_0x182340(0x302)][_0x182340(0x188)];}));}(Ct)),Ct[_0x5509a0(0x4b3)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x5e3172(0x4b3)],Si;function Ec(){const _0x29cc6c=_0x5e3172;return Si||(Si=0x1,function(_0x69c85f,_0x6f6e4d){(function(_0x348ddc,_0x1fab6a){const _0x5810e2=_0x1eb2;_0x69c85f[_0x5810e2(0x4b3)]=_0x1fab6a(_e());}(Cc,function(_0x37a954){const _0x286a11=_0x1eb2;return(function(){const _0x570a3c=_0x1eb2;if(typeof ArrayBuffer=='function'){var _0x5689c0=_0x37a954,_0x20f06e=_0x5689c0[_0x570a3c(0x1e5)],_0x3cf7db=_0x20f06e[_0x570a3c(0x24d)],_0x32c229=_0x3cf7db['init'],_0x3c59c6=_0x3cf7db[_0x570a3c(0x433)]=function(_0x36c059){const _0x4832a9=_0x570a3c;if(_0x36c059 instanceof ArrayBuffer&&(_0x36c059=new Uint8Array(_0x36c059)),(_0x36c059 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x36c059 instanceof Uint8ClampedArray||_0x36c059 instanceof Int16Array||_0x36c059 instanceof Uint16Array||_0x36c059 instanceof Int32Array||_0x36c059 instanceof Uint32Array||_0x36c059 instanceof Float32Array||_0x36c059 instanceof Float64Array)&&(_0x36c059=new Uint8Array(_0x36c059[_0x4832a9(0x172)],_0x36c059[_0x4832a9(0x361)],_0x36c059[_0x4832a9(0x376)])),_0x36c059 instanceof Uint8Array){for(var _0x461c47=_0x36c059[_0x4832a9(0x376)],_0x3910f5=[],_0x502926=0x0;_0x502926<_0x461c47;_0x502926++)_0x3910f5[_0x502926>>>0x2]|=_0x36c059[_0x502926]<<0x18-_0x502926%0x4*0x8;_0x32c229[_0x4832a9(0x500)](this,_0x3910f5,_0x461c47);}else _0x32c229[_0x4832a9(0x212)](this,arguments);};_0x3c59c6[_0x570a3c(0x4e8)]=_0x3cf7db;}}()),_0x37a954['lib'][_0x286a11(0x24d)];}));}(Et)),Et[_0x29cc6c(0x4b3)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt['exports'],Ii;function Oc(){const _0x55d426=_0x5e3172;return Ii||(Ii=0x1,function(_0x5dea5d,_0x2c5aa0){(function(_0x3b2d34,_0xfd3514,_0x4e21be){const _0x12a51f=_0x1eb2;_0x5dea5d[_0x12a51f(0x4b3)]=_0xfd3514(_e(),or());}(Rc,function(_0x4249bf){const _0x243e5f=_0x1eb2;return _0x4249bf['pad'][_0x243e5f(0x1b3)]={'pad':function(){},'unpad':function(){}},_0x4249bf[_0x243e5f(0x3bd)][_0x243e5f(0x1b3)];}));}(bt)),bt[_0x55d426(0x4b3)];}var yc=Oc();const wc=ct(yc);function Dc(_0x1a8645,_0x3d7997){const _0x138240=_0x5e3172,_0x150d9e=_0x3d7997-_0x1a8645[_0x138240(0x2c8)]%_0x3d7997,_0xa7300f=String[_0x138240(0x4d5)](_0x150d9e)[_0x138240(0x1cf)](_0x150d9e);return _0x1a8645+_0xa7300f;}function Pc(_0x23b4be,_0x7f78b3){const _0x1ef9c9=_0x5e3172,_0x3900b3=Tc[_0x1ef9c9(0x34c)](0x10),_0x15ae21=Dc(_0x23b4be,0x10),_0x5a3624=vc[_0x1ef9c9(0x447)](Ic[_0x1ef9c9(0x32f)](_0x15ae21),mi[_0x1ef9c9(0x32f)](_0x7f78b3),{'iv':_0x3900b3,'padding':wc});return _0x3900b3[_0x1ef9c9(0x4b9)](_0x5a3624[_0x1ef9c9(0x3a5)])[_0x1ef9c9(0x129)](mi);}function Nc(){const _0x3b9bae=_0x5e3172,_0x2e3deb=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3b9bae(0x38a)];if(_0x2e3deb){const _0x2beb42={'time':Math[_0x3b9bae(0x21e)](Date[_0x3b9bae(0x256)]()/0x3e8),'domain':location[_0x3b9bae(0x512)]};return Pc(JSON[_0x3b9bae(0x50f)](_0x2beb42),_0x2e3deb);}}var Uc=Object['defineProperty'],Ac=Object[_0x5e3172(0x26f)],Mc=(_0x43098f,_0x1606d9,_0x293472,_0x675988)=>{const _0x794061=_0x5e3172;for(var _0x3342a4=_0x675988>0x1?void 0x0:_0x675988?Ac(_0x1606d9,_0x293472):_0x1606d9,_0x48d86f=_0x43098f[_0x794061(0x2c8)]-0x1,_0x9e642c;_0x48d86f>=0x0;_0x48d86f--)(_0x9e642c=_0x43098f[_0x48d86f])&&(_0x3342a4=(_0x675988?_0x9e642c(_0x1606d9,_0x293472,_0x3342a4):_0x9e642c(_0x3342a4))||_0x3342a4);return _0x675988&&_0x3342a4&&Uc(_0x1606d9,_0x293472,_0x3342a4),_0x3342a4;},xc=(_0x103dc3,_0x403750)=>(_0x3e8334,_0x428812)=>_0x403750(_0x3e8334,_0x428812,_0x103dc3);let $t=class{constructor(_0x35eedc){const _0x53fb08=_0x5e3172;this[_0x53fb08(0x535)]=_0x35eedc,this[_0x53fb08(0x2aa)]();}['_initRequestHeader'](){const _0xb0b679=_0x5e3172;this[_0xb0b679(0x535)][_0xb0b679(0x24c)]({'interceptor':(_0x1775fd,_0x1b7cc6)=>{const _0xbed144=_0xb0b679,_0x4de707=_0x1775fd[_0xbed144(0x260)],_0x55f1b7=Nc();return _0x55f1b7&&_0x4de707[_0xbed144(0x332)](_0xbed144(0x4ac),_0x55f1b7),_0x1b7cc6(_0x1775fd);}});}};$t=Mc([xc(0x0,_0x1259a7(_0x21ff0e))],$t);var Lc=Object[_0x5e3172(0x243)],$c=Object[_0x5e3172(0x26f)],Hc=(_0x91838,_0x5c7973,_0x4596f3,_0x6fa5b4)=>{const _0x251931=_0x5e3172;for(var _0x1cd978=_0x6fa5b4>0x1?void 0x0:_0x6fa5b4?$c(_0x5c7973,_0x4596f3):_0x5c7973,_0x536d7a=_0x91838[_0x251931(0x2c8)]-0x1,_0x19b9ce;_0x536d7a>=0x0;_0x536d7a--)(_0x19b9ce=_0x91838[_0x536d7a])&&(_0x1cd978=(_0x6fa5b4?_0x19b9ce(_0x5c7973,_0x4596f3,_0x1cd978):_0x19b9ce(_0x1cd978))||_0x1cd978);return _0x6fa5b4&&_0x1cd978&&Lc(_0x5c7973,_0x4596f3,_0x1cd978),_0x1cd978;},rs=(_0x577bf4,_0x48e82b)=>(_0x3c82b2,_0x18fe79)=>_0x48e82b(_0x3c82b2,_0x18fe79,_0x577bf4);const jc=['image/png',_0x5e3172(0x29e),_0x5e3172(0x4af),_0x5e3172(0x529),_0x5e3172(0x261)],Bc=0x5*0x400*0x400,kc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Wc=_0x5e3172(0x484),Fc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Vc=_0x5e3172(0x298);let ms=class{constructor(_0x51361b,_0x13069e,_0x15c084){const _0x280f6f=_0x5e3172;g(this,_0x280f6f(0x1c6),0x0),g(this,'_change$',new _0x1b8780()),g(this,_0x280f6f(0x202),this[_0x280f6f(0x2d5)]),g(this,_0x280f6f(0x28b),new Map()),(this[_0x280f6f(0x535)]=_0x51361b,this[_0x280f6f(0x270)]=_0x13069e,this['_univerInstanceService']=_0x15c084);}[_0x5e3172(0x383)](_0x75be67){const _0x4e1a0b=_0x5e3172;this[_0x4e1a0b(0x1c6)]=_0x75be67,this['_change$'][_0x4e1a0b(0x23b)](_0x75be67);}[_0x5e3172(0x27e)](_0x542cc9,_0x28e51f){const _0x779e15=_0x5e3172;if(_0x28e51f===_0xa7900e[_0x779e15(0x51d)]){const _0x6a2376=new Image();return _0x6a2376[_0x779e15(0x130)]=_0x542cc9,_0x6a2376;}return this[_0x779e15(0x28b)][_0x779e15(0x307)](_0x542cc9);}['addImageSourceCache'](_0x345277,_0x435ec8,_0x1d0054){const _0x2deb25=_0x5e3172;_0x435ec8===_0xa7900e[_0x2deb25(0x51d)]||_0x1d0054==null||this[_0x2deb25(0x28b)][_0x2deb25(0x332)](_0x345277,_0x1d0054);}async[_0x5e3172(0x28f)](_0x5ce59a){const _0xe0f810=_0x5e3172;try{const _0xbfabd6=this[_0xe0f810(0x1c1)](this[_0xe0f810(0x34d)](),''+_0x5ce59a),_0x365f9c=(await this[_0xe0f810(0x535)][_0xe0f810(0x307)](_0xbfabd6))[_0xe0f810(0x2da)];if(_0x365f9c[_0xe0f810(0x295)]&&_0x365f9c[_0xe0f810(0x295)][_0xe0f810(0x1d0)]===Fi['OK']){const _0x416235=new URL(_0x365f9c[_0xe0f810(0x165)],this[_0xe0f810(0x3d9)]())['toString']();return Promise[_0xe0f810(0x3ba)](_0x416235);}return Promise[_0xe0f810(0x21c)](_0x365f9c[_0xe0f810(0x295)]);}catch(_0x4df722){return Promise[_0xe0f810(0x21c)](_0x4df722);}}async[_0x5e3172(0x341)](_0x329ad9){const _0x5eefc5=_0x5e3172;let _0x4ea60a='';if(!jc[_0x5eefc5(0x2bc)](_0x329ad9['type']))return this[_0x5eefc5(0x2f5)](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x2b9)]));if(_0x329ad9['size']>Bc)return this[_0x5eefc5(0x2f5)](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x1a1)]));try{const _0x27cc2d=new FormData();_0x27cc2d['append'](_0x5eefc5(0x2ad),_0x329ad9);const _0x2916ca=this[_0x5eefc5(0x153)][_0x5eefc5(0x27b)](),_0x37185b=_0x2916ca==null?void 0x0:_0x2916ca[_0x5eefc5(0x12f)]();if(!_0x37185b)throw new Error(_0x5eefc5(0x418));const _0xeeaaa4=this[_0x5eefc5(0x45b)]()+_0x5eefc5(0x1d9)+_0x329ad9[_0x5eefc5(0x3aa)][_0x5eefc5(0x129)]()+_0x5eefc5(0x1d1)+Vi[_0x5eefc5(0x16c)]+_0x5eefc5(0x4b1)+encodeURIComponent(_0x37185b),_0xa43bd9=await(await fetch(_0xeeaaa4,{'method':_0x5eefc5(0x292),'body':_0x27cc2d}))['json']();if(typeof _0xa43bd9['FileId']!=_0x5eefc5(0x429))return this['_decreaseWaiting'](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162['ERROR_IMAGE']));_0x4ea60a=_0xa43bd9[_0x5eefc5(0x297)];}catch{return this['_decreaseWaiting'](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x3de)]));}return new Promise((_0x4a4c54,_0x3649c1)=>{const _0x4d726e=_0x5eefc5,_0x2eb13e=new FileReader();_0x2eb13e['readAsDataURL'](_0x329ad9),_0x2eb13e[_0x4d726e(0x21d)]=_0x3c42f5=>{const _0x229398=_0x4d726e;var _0x365fff;const _0x188404=(_0x365fff=_0x3c42f5['target'])==null?void 0x0:_0x365fff['result'];if(_0x188404==null){this['_decreaseWaiting'](),_0x3649c1(new Error(_0x2f0162[_0x229398(0x3de)]));return;}const _0x2b0087=_0x279a54['generateRandomId'](0x6);_0x4a4c54({'imageId':_0x2b0087,'imageSourceType':_0xa7900e[_0x229398(0x3a6)],'source':_0x4ea60a,'base64Cache':_0x188404,'status':_0x2f0162[_0x229398(0x387)]}),this[_0x229398(0x2f5)]();};});}[_0x5e3172(0x45b)](){const _0x119d05=_0x5e3172;var _0x49af4d,_0xc6cddf;const _0x363057=this[_0x119d05(0x270)][_0x119d05(0x186)](kc),_0x2f816c=this[_0x119d05(0x270)][_0x119d05(0x186)](Q);return(_0xc6cddf=(_0x49af4d=_0x2f816c==null?void 0x0:_0x2f816c['uploadFileServerUrl'])!=null?_0x49af4d:_0x363057)!=null?_0xc6cddf:Wc;}[_0x5e3172(0x34d)](){const _0x489b32=_0x5e3172;var _0x53fdfd,_0x3d8a8b;const _0x42695d=this[_0x489b32(0x270)][_0x489b32(0x186)](Fc),_0x5a70cc=this[_0x489b32(0x270)]['getConfig'](Q);return(_0x3d8a8b=(_0x53fdfd=_0x5a70cc==null?void 0x0:_0x5a70cc[_0x489b32(0x4ad)])!=null?_0x53fdfd:_0x42695d)!=null?_0x3d8a8b:Vc;}['_getDownloadEndpointURL'](){const _0x3dae2d=_0x5e3172;var _0x29735f;const _0x5e5f27=this[_0x3dae2d(0x270)][_0x3dae2d(0x186)](Q);return(_0x29735f=_0x5e5f27==null?void 0x0:_0x5e5f27[_0x3dae2d(0x126)])!=null?_0x29735f:location[_0x3dae2d(0x22e)];}[_0x5e3172(0x1c1)](_0x58f3e0,_0x51c0da){const _0x1ea7c0=_0x5e3172;return _0x58f3e0[_0x1ea7c0(0x1b6)](_0x1ea7c0(0x4c7),_0x51c0da);}[_0x5e3172(0x2f5)](){const _0x28f97a=_0x5e3172;this[_0x28f97a(0x1c6)]-=0x1,this['_change$'][_0x28f97a(0x23b)](this['_waitCount']);}};ms=Hc([rs(0x0,_0x1259a7(_0x21ff0e)),rs(0x1,_0x3a37b7),rs(0x2,_0x1259a7(_0x381e7e))],ms);var Gc=Object[_0x5e3172(0x243)],Yc=Object[_0x5e3172(0x26f)],Kc=(_0x1445f7,_0x20002b,_0x324075,_0x271ff7)=>{const _0x5402eb=_0x5e3172;for(var _0x25cb52=_0x271ff7>0x1?void 0x0:_0x271ff7?Yc(_0x20002b,_0x324075):_0x20002b,_0x54a48a=_0x1445f7[_0x5402eb(0x2c8)]-0x1,_0x4d7534;_0x54a48a>=0x0;_0x54a48a--)(_0x4d7534=_0x1445f7[_0x54a48a])&&(_0x25cb52=(_0x271ff7?_0x4d7534(_0x20002b,_0x324075,_0x25cb52):_0x4d7534(_0x25cb52))||_0x25cb52);return _0x271ff7&&_0x25cb52&&Gc(_0x20002b,_0x324075,_0x25cb52),_0x25cb52;},Ci=(_0x63c8e8,_0x9aca3)=>(_0x5c7a3a,_0x4d4378)=>_0x9aca3(_0x5c7a3a,_0x4d4378,_0x63c8e8);const qc='/universer-api/authz';let gs=class{constructor(_0x4bf135,_0x1f8962){const _0x511619=_0x5e3172;this[_0x511619(0x270)]=_0x4bf135,this[_0x511619(0x31f)]=_0x1f8962;}['_getAPIPrefixPath'](){const _0x583683=_0x5e3172;var _0x17be6d,_0x298ddd;const _0x4a50a0=this[_0x583683(0x270)][_0x583683(0x186)](ir),_0x3a2d16=this[_0x583683(0x270)]['getConfig'](Q);return(_0x298ddd=(_0x17be6d=_0x3a2d16==null?void 0x0:_0x3a2d16[_0x583683(0x13f)])!=null?_0x17be6d:_0x4a50a0)!=null?_0x298ddd:qc;}async[_0x5e3172(0x169)](_0x278932){const _0x3ea186=_0x5e3172,_0x43ba8f=this[_0x3ea186(0x1f9)]()+_0x3ea186(0x3f8);return{'list':[{'title':_0x3ea186(0x52b),'mentions':(await this[_0x3ea186(0x31f)][_0x3ea186(0x307)](_0x43ba8f,{'params':{'objectID':_0x278932[_0x3ea186(0x452)],'unitID':_0x278932[_0x3ea186(0x452)]}}))[_0x3ea186(0x2da)][_0x3ea186(0x470)]['map'](_0x1a65b1=>({'objectId':_0x1a65b1['id'],'name':_0x1a65b1[_0x3ea186(0x277)][_0x3ea186(0x121)],'metadata':{'icon':_0x1a65b1[_0x3ea186(0x277)][_0x3ea186(0x501)]},'label':_0x1a65b1['subject'][_0x3ea186(0x121)],'objectType':_0xbf08a['PERSON']})),'metadata':{},'type':_0xbf08a['PERSON']}]};}};gs=Kc([Ci(0x0,_0x1259a7(_0x3a37b7)),Ci(0x1,_0x1259a7(_0x21ff0e))],gs);var zc=Object[_0x5e3172(0x243)],Xc=Object[_0x5e3172(0x26f)],Jc=(_0x1657be,_0x4a993d,_0x5490d6,_0x4a9605)=>{const _0xb78ae1=_0x5e3172;for(var _0x2d2a61=_0x4a9605>0x1?void 0x0:_0x4a9605?Xc(_0x4a993d,_0x5490d6):_0x4a993d,_0xaf24f2=_0x1657be[_0xb78ae1(0x2c8)]-0x1,_0x29f24e;_0xaf24f2>=0x0;_0xaf24f2--)(_0x29f24e=_0x1657be[_0xaf24f2])&&(_0x2d2a61=(_0x4a9605?_0x29f24e(_0x4a993d,_0x5490d6,_0x2d2a61):_0x29f24e(_0x2d2a61))||_0x2d2a61);return _0x4a9605&&_0x2d2a61&&zc(_0x4a993d,_0x5490d6,_0x2d2a61),_0x2d2a61;},et=(_0xd96f24,_0x30d349)=>(_0x15826b,_0x18a3e8)=>_0x30d349(_0x15826b,_0x18a3e8,_0xd96f24);let Ht=class extends _0x5ce84d{constructor(_0x3a5b8f,_0x46b5ff,_0xb3ff4c,_0x2b3405,_0x554b15){const _0x5b2293=_0x5e3172;super(),this[_0x5b2293(0x3b4)]=_0x3a5b8f,this[_0x5b2293(0x153)]=_0x46b5ff,this[_0x5b2293(0x366)]=_0xb3ff4c,this[_0x5b2293(0x41c)]=_0x2b3405,this[_0x5b2293(0x48a)]=_0x554b15,this[_0x5b2293(0x4ae)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x36d9f2=_0x5e3172,_0x1a3191=async _0x48dc98=>{const _0x10eff5=_0x1eb2;(await this[_0x10eff5(0x41c)][_0x10eff5(0x17e)](_0x48dc98))['event$'][_0x10eff5(0x4b6)](_0x3c0a43(_0x5f0803=>_0x5f0803[_0x10eff5(0x451)]===_0x385814['SHOULD_CLOSE_CONN']),_0x209ee4(this[_0x10eff5(0x511)]))[_0x10eff5(0x134)](_0x32ed67=>{const _0x2a9ccc=_0x10eff5,_0x2b3b47=_0x32ed67,{reason:_0x13cc6f}=_0x2b3b47[_0x2a9ccc(0x288)];this[_0x2a9ccc(0x3b4)][_0x2a9ccc(0x307)](_0x28a2c3)['show']({'type':_0x59169d['Error'],'content':this[_0x2a9ccc(0x48a)]['t'](_0x2a9ccc(0x4b5))+'('+_0x13cc6f+')'}),this[_0x2a9ccc(0x366)][_0x2a9ccc(0x299)](new _0x1a4341(_0x48dc98)['id'],!0x1),this[_0x2a9ccc(0x41c)]['closeSession'](_0x48dc98);});};_0x143e60(this[_0x36d9f2(0x153)][_0x36d9f2(0x1ba)](_0xfbb68f[_0x36d9f2(0x1c2)]),this['_univerInstanceService'][_0x36d9f2(0x1ba)](_0xfbb68f['UNIVER_DOC']))[_0x36d9f2(0x4b6)](_0x2945cf(_0x2f76f2=>_0x2f76f2[_0x36d9f2(0x12f)]()),_0x3c0a43(_0x249fc9=>!_0x48d1da(_0x249fc9)),_0x209ee4(this[_0x36d9f2(0x511)]))['subscribe'](_0x2f7bf8=>{_0x1a3191(_0x2f7bf8);});}['_initUnitPermissionChange'](){const _0x4b10c9=_0x5e3172,_0x5f2407=async _0x634587=>{const _0x3c7d5d=_0x1eb2;(await this[_0x3c7d5d(0x41c)][_0x3c7d5d(0x17e)](_0x634587))['event$'][_0x3c7d5d(0x4b6)](_0x3c0a43(_0x54a332=>_0x54a332[_0x3c7d5d(0x451)]===_0x385814[_0x3c7d5d(0x278)]),_0x209ee4(this[_0x3c7d5d(0x511)]))[_0x3c7d5d(0x134)](_0x7e990b=>{const _0x28d657=_0x3c7d5d,_0x23bd3a=_0x7e990b,{objectId:_0x33984d}=_0x23bd3a['data'],_0x179340=this['_injector'][_0x28d657(0x307)](_0x25b747);_0x33984d===_0x634587?_0x179340[_0x28d657(0x2c2)](_0x634587):_0x179340['refreshPermission'](_0x634587,_0x33984d);});};_0x143e60(this[_0x4b10c9(0x153)][_0x4b10c9(0x1ba)](_0xfbb68f[_0x4b10c9(0x1c2)]),this[_0x4b10c9(0x153)][_0x4b10c9(0x1ba)](_0xfbb68f['UNIVER_DOC']))[_0x4b10c9(0x4b6)](_0x2945cf(_0x4e65d7=>_0x4e65d7[_0x4b10c9(0x12f)]()),_0x3c0a43(_0x495e8b=>!_0x48d1da(_0x495e8b)),_0x209ee4(this['dispose$']))[_0x4b10c9(0x134)](_0x110253=>{_0x5f2407(_0x110253);});}};Ht=Jc([et(0x0,_0x1259a7(_0xa6ca3c)),et(0x1,_0x381e7e),et(0x2,_0x51028f),et(0x3,_0x1259a7(xe)),et(0x4,_0x1259a7(_0x56a2bf))],Ht);var Zc=Object[_0x5e3172(0x243)],Qc=Object[_0x5e3172(0x26f)],eh=(_0x4d5adb,_0x26af68,_0x34a252,_0x30314d)=>{const _0x40c8e3=_0x5e3172;for(var _0x5dbef4=_0x30314d>0x1?void 0x0:_0x30314d?Qc(_0x26af68,_0x34a252):_0x26af68,_0xe4d6d3=_0x4d5adb[_0x40c8e3(0x2c8)]-0x1,_0x340b4c;_0xe4d6d3>=0x0;_0xe4d6d3--)(_0x340b4c=_0x4d5adb[_0xe4d6d3])&&(_0x5dbef4=(_0x30314d?_0x340b4c(_0x26af68,_0x34a252,_0x5dbef4):_0x340b4c(_0x5dbef4))||_0x5dbef4);return _0x30314d&&_0x5dbef4&&Zc(_0x26af68,_0x34a252,_0x5dbef4),_0x5dbef4;},Ei=(_0x553cf7,_0x293ae5)=>(_0x55825a,_0x37dd5d)=>_0x293ae5(_0x55825a,_0x37dd5d,_0x553cf7);let Ss=class{constructor(_0x4f0bce,_0x1ab1a4){this['_configService']=_0x4f0bce,this['_httpService']=_0x1ab1a4;}async[_0x5e3172(0x407)](_0x2ad534,_0xd802e8){const _0x811bca=_0x5e3172;var _0x2a0c1e;const {unitID:_0x264608,type:_0x5eca53,revision:_0x567595=0x0}=_0xd802e8,_0x174120=this['getSnapshotAPIPath']()+'/'+_0x5eca53+_0x811bca(0x13d)+_0x264608+_0x811bca(0x2ca)+_0x567595,_0x585578=(await this[_0x811bca(0x535)][_0x811bca(0x307)](_0x174120))[_0x811bca(0x2da)],_0x587970=(_0x2a0c1e=_0x585578[_0x811bca(0x515)])==null?void 0x0:_0x2a0c1e[_0x811bca(0x204)];if(_0x587970){const _0x2b91a2=_0x587970==null?void 0x0:_0x587970[_0x811bca(0x26c)],_0x266323=_0xf9a5c6[_0x811bca(0x2d2)](_0x1a04e2(_0x2b91a2));_0x587970['originalMeta']=_0x266323,Object[_0x811bca(0x16f)](_0x587970[_0x811bca(0x29b)])[_0x811bca(0x356)](([,_0x34add0])=>{const _0x1174ae=_0x811bca,_0xbd94b4=_0x34add0[_0x1174ae(0x26c)],_0x198403=_0xf9a5c6[_0x1174ae(0x2d2)](_0x1a04e2(_0xbd94b4));_0x34add0[_0x1174ae(0x26c)]=_0x198403;});}return _0x585578;}async[_0x5e3172(0x4bf)](_0x20d110,_0x1ebef9){const _0x1e220f=_0x5e3172,{unitID:_0x371e32,type:_0x1c8025,blockID:_0x4d65e6}=_0x1ebef9,_0x1d88a0=this['_getAPIPrefix']()+'/'+_0x1c8025+'/unit/'+_0x371e32+_0x1e220f(0x209)+_0x4d65e6;return(await this['_httpService'][_0x1e220f(0x307)](_0x1d88a0))[_0x1e220f(0x2da)];}async[_0x5e3172(0x2e0)](_0x923457,_0x82fd03){const _0x580f31=_0x5e3172,{unitID:_0x1d292e,type:_0x3fa0f6,blockID:_0x3fee32}=_0x82fd03,_0x519b51=this[_0x580f31(0x233)]()+_0x580f31(0x209)+_0x3fa0f6+_0x580f31(0x13d)+_0x1d292e+'/block/'+_0x3fee32;return(await this[_0x580f31(0x535)][_0x580f31(0x307)](_0x519b51))[_0x580f31(0x2da)];}async[_0x5e3172(0x41a)](_0x255f50,_0x470d4f){const _0x2bfe90=_0x5e3172,{unitID:_0x706a13,type:_0x4fb874,from:_0x39e688,to:_0x204df2}=_0x470d4f,_0x263791=this['_getAPIPrefix']()+'/'+_0x4fb874+_0x2bfe90(0x13d)+_0x706a13+'/fetchmissing?from='+_0x39e688+_0x2bfe90(0x426)+_0x204df2;return(await this[_0x2bfe90(0x535)]['get'](_0x263791))[_0x2bfe90(0x2da)];}[_0x5e3172(0x2d6)](){const _0x13acd4=_0x5e3172;var _0x454a34;return(_0x454a34=this[_0x13acd4(0x270)][_0x13acd4(0x186)](Tn))!=null?_0x454a34:this[_0x13acd4(0x233)]();}[_0x5e3172(0x233)](){const _0x16595e=_0x5e3172;var _0x2f8611,_0x1172e5;const _0x2f6716=this[_0x16595e(0x270)][_0x16595e(0x186)](En),_0x1d84fc=this[_0x16595e(0x270)][_0x16595e(0x186)](Q);return(_0x1172e5=(_0x2f8611=_0x1d84fc==null?void 0x0:_0x1d84fc[_0x16595e(0x3e8)])!=null?_0x2f8611:_0x2f6716)!=null?_0x1172e5:bn;}async[_0x5e3172(0x498)](_0x5d8164,_0x283a97){const _0x407c46=_0x5e3172,_0x256b89=_0x407c46(0x438)+_0x283a97[_0x407c46(0x20d)]+'/unit/'+_0x283a97[_0x407c46(0x4e4)]+_0x407c46(0x3c1);return(await this[_0x407c46(0x535)][_0x407c46(0x307)](_0x256b89,{'params':{'resourceId':JSON[_0x407c46(0x50f)](_0x283a97['resourceIDs'])}}))[_0x407c46(0x2da)];}[_0x5e3172(0x45c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x2be)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x33f)](){const _0x2d58d5=_0x5e3172;throw new Error(_0x2d58d5(0x45d));}[_0x5e3172(0x1a3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x2e6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ss=eh([Ei(0x0,_0x3a37b7),Ei(0x1,_0x1259a7(_0x21ff0e))],Ss);var th=Object[_0x5e3172(0x243)],sh=Object['getOwnPropertyDescriptor'],ih=(_0x4bce29,_0x8b0d34,_0x38e13e,_0x369784)=>{const _0x462ef2=_0x5e3172;for(var _0x2c7dd9=_0x369784>0x1?void 0x0:_0x369784?sh(_0x8b0d34,_0x38e13e):_0x8b0d34,_0xfc1b73=_0x4bce29[_0x462ef2(0x2c8)]-0x1,_0x1e7378;_0xfc1b73>=0x0;_0xfc1b73--)(_0x1e7378=_0x4bce29[_0xfc1b73])&&(_0x2c7dd9=(_0x369784?_0x1e7378(_0x8b0d34,_0x38e13e,_0x2c7dd9):_0x1e7378(_0x2c7dd9))||_0x2c7dd9);return _0x369784&&_0x2c7dd9&&th(_0x8b0d34,_0x38e13e,_0x2c7dd9),_0x2c7dd9;},tt=(_0x29c3ff,_0x5b58b4)=>(_0x1a27b2,_0xc60d7)=>_0x5b58b4(_0x1a27b2,_0xc60d7,_0x29c3ff);let Is=class extends _0x301e35{constructor(_0x18eb0e,_0x3d14e6,_0x224b4a,_0x327810,_0x6b136a){const _0x66f195=_0x5e3172;super(_0x18eb0e,_0x3d14e6,_0x224b4a),this[_0x66f195(0x4ff)]=_0x327810,this[_0x66f195(0x52d)]=_0x6b136a;}[_0x5e3172(0x143)](_0x2364ef,_0x504f9b){const _0x30d47e=_0x5e3172,_0x5b6d2b=this[_0x30d47e(0x3bf)](_0x2364ef);if(_0x5b6d2b)try{const _0xafaaef=this['_transformStack'](_0x5b6d2b,_0x504f9b);this[_0x30d47e(0x300)](_0x2364ef,_0xafaaef);}catch(_0x4c2ba4){this['_logService'][_0x30d47e(0x295)](_0x30d47e(0x19f),_0x4c2ba4),this['_clearUndo'](_0x2364ef);}const _0x493cfb=this[_0x30d47e(0x488)](_0x2364ef);if(_0x493cfb)try{const _0x394b1b=this['_transformStack'](_0x493cfb,_0x504f9b);this[_0x30d47e(0x14f)](_0x2364ef,_0x394b1b);}catch(_0x422262){this['_logService']['error'](_0x422262),this[_0x30d47e(0x455)](_0x2364ef);}}[_0x5e3172(0x46b)](_0xd2e177){const _0x49d8b7=_0x5e3172,_0x3f715c=this[_0x49d8b7(0x3bf)](_0xd2e177);_0x3f715c&&(_0x3f715c[_0x49d8b7(0x2c8)]=0x0,this[_0x49d8b7(0x4f4)]());}[_0x5e3172(0x455)](_0x142411){const _0xe8f7d6=_0x5e3172,_0x3be05b=this['_getRedoStack'](_0x142411);_0x3be05b&&(_0x3be05b[_0xe8f7d6(0x2c8)]=0x0,this['_updateStatus']());}[_0x5e3172(0x300)](_0x26412d,_0x121f63){const _0x5b7c7=_0x5e3172;this[_0x5b7c7(0x136)][_0x5b7c7(0x332)](_0x26412d,_0x121f63),this['_updateStatus']();}[_0x5e3172(0x14f)](_0x1d124f,_0x4ec93d){const _0x2605ea=_0x5e3172;this[_0x2605ea(0x1ef)][_0x2605ea(0x332)](_0x1d124f,_0x4ec93d),this[_0x2605ea(0x4f4)]();}[_0x5e3172(0x4ba)](_0x2a5040,_0x24b221){const _0x2e18c8=_0x5e3172,_0x452db1=[];let _0x3fdb1e=_0x24b221,_0x1b3bb8=_0x24b221;for(let _0x1db772=_0x2a5040[_0x2e18c8(0x2c8)]-0x1;_0x1db772>=0x0;_0x1db772--){const {unitID:_0x40d3b6,undoMutations:_0x47a9f4,redoMutations:_0x1e1086}=_0x2a5040[_0x1db772],_0x3a41cc=this['_transformService'][_0x2e18c8(0x4a6)](_0x3fdb1e,_0x47a9f4),_0x29723c=this[_0x2e18c8(0x4ff)][_0x2e18c8(0x4a6)](_0x1b3bb8,_0x1e1086);if(_0x2ccc3c(_0x3a41cc)||_0x2ccc3c(_0x29723c)){this[_0x2e18c8(0x52d)][_0x2e18c8(0x295)](_0x2e18c8(0x19f),_0x2e18c8(0x124),_0x3a41cc,_0x29723c);break;}_0x3fdb1e=_0x3a41cc[_0x2e18c8(0x1e7)],_0x1b3bb8=_0x29723c['c1Prime'],_0x452db1[_0x2e18c8(0x38e)]({'unitID':_0x40d3b6,'undoMutations':_0x3a41cc[_0x2e18c8(0x20f)],'redoMutations':_0x29723c['m2Prime']});}return _0x452db1[_0x2e18c8(0x491)]();}};Is=ih([tt(0x0,_0x381e7e),tt(0x1,_0x58c2c0),tt(0x2,_0x1f3c95),tt(0x3,_0x2a04be),tt(0x4,_0xadcc6)],Is);class rh extends _0x5ce84d{constructor(){const _0x4437e3=_0x5e3172;super(),g(this,_0x4437e3(0x1fa)),this[_0x4437e3(0x1fa)]=_0x1a191c(window,_0x4437e3(0x22a))[_0x4437e3(0x4b6)](_0x34041a(this[_0x4437e3(0x511)]),_0x55695a(0x1),_0x15c046(void 0x0));}[_0x5e3172(0x431)](_0x5d1a33,_0x4e5e4b,_0x52f6a6=!0x1){const _0x4b4f0e=_0x5e3172,_0x4505e2=new URL(window[_0x4b4f0e(0x4e2)][_0x4b4f0e(0x38d)]);_0x4505e2['searchParams']['set'](_0x5d1a33,_0x4e5e4b),_0x52f6a6?window[_0x4b4f0e(0x16a)][_0x4b4f0e(0x47e)]('','',_0x4505e2['toString']()):window['history'][_0x4b4f0e(0x284)]('','',_0x4505e2[_0x4b4f0e(0x129)]());}['removeParam'](_0x5e78bc,_0xabc87f=!0x1){const _0x5141ea=_0x5e3172,_0x3dfa41=new URL(window[_0x5141ea(0x4e2)][_0x5141ea(0x38d)]);_0x3dfa41[_0x5141ea(0x520)][_0x5141ea(0x480)](_0x5e78bc),_0xabc87f?window[_0x5141ea(0x16a)][_0x5141ea(0x47e)]('','',_0x3dfa41[_0x5141ea(0x129)]()):window[_0x5141ea(0x16a)][_0x5141ea(0x284)]('','',_0x3dfa41[_0x5141ea(0x129)]());}['getParam'](_0x1c3db7){const _0x587c01=_0x5e3172;var _0x2eb2d9;return(_0x2eb2d9=new URL(window[_0x587c01(0x4e2)][_0x587c01(0x38d)])[_0x587c01(0x520)][_0x587c01(0x307)](_0x1c3db7))!=null?_0x2eb2d9:void 0x0;}}var ar=Object[_0x5e3172(0x243)],nh=Object[_0x5e3172(0x26f)],oh=(_0x469c08,_0x1a031a,_0x4c537b)=>_0x1a031a in _0x469c08?ar(_0x469c08,_0x1a031a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c537b}):_0x469c08[_0x1a031a]=_0x4c537b,ah=(_0x5c2520,_0x30738f,_0x417af1,_0x43a2ea)=>{for(var _0x3d2e3d=_0x43a2ea>0x1?void 0x0:_0x43a2ea?nh(_0x30738f,_0x417af1):_0x30738f,_0x216218=_0x5c2520['length']-0x1,_0xd1d157;_0x216218>=0x0;_0x216218--)(_0xd1d157=_0x5c2520[_0x216218])&&(_0x3d2e3d=(_0x43a2ea?_0xd1d157(_0x30738f,_0x417af1,_0x3d2e3d):_0xd1d157(_0x3d2e3d))||_0x3d2e3d);return _0x43a2ea&&_0x3d2e3d&&ar(_0x30738f,_0x417af1,_0x3d2e3d),_0x3d2e3d;},_t=(_0x34a0dd,_0x2fa2ed)=>(_0x50c441,_0x36a5db)=>_0x2fa2ed(_0x50c441,_0x36a5db,_0x34a0dd),ch=(_0x58d84f,_0x341872,_0x5af571)=>oh(_0x58d84f,_0x341872+'',_0x5af571);const hh='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Cs=class extends _0x35856f{constructor(_0xbc1fd=Bn,_0x2046da,_0x2e53a6,_0x16c6c6,_0x305c1c){const _0x58bd7e=_0x5e3172;super(),this['_config']=_0xbc1fd,this[_0x58bd7e(0x52d)]=_0x2046da,this[_0x58bd7e(0x4ee)]=_0x2e53a6,this[_0x58bd7e(0x3b4)]=_0x16c6c6,this['_configService']=_0x305c1c;const {..._0x288362}=this[_0x58bd7e(0x1c3)];this['_configService'][_0x58bd7e(0x460)](Q,_0x288362);}[_0x5e3172(0x37b)](){const _0xc645f0=_0x5e3172;this[_0xc645f0(0x4b0)](),this[_0xc645f0(0x192)]();}[_0x5e3172(0x274)](){_0x3ab8ae(this['_injector'],[[xt],[Ut]]);}[_0x5e3172(0x379)](){const _0x3812a6=_0x5e3172;this[_0x3812a6(0x49b)]();}[_0x5e3172(0x4b0)](){const _0xf41f2b=_0x5e3172;var _0x6cdcd3,_0xcb4a19,_0x556fed,_0x37f5ee;this[_0xf41f2b(0x3b4)][_0xf41f2b(0x3cb)](_0x2d3235)&&this[_0xf41f2b(0x52d)][_0xf41f2b(0x295)](_0xf41f2b(0x2ff),_0xf41f2b(0x228));const _0x1b3ffa=[[_0x2d3235,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x5b73a6],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0xcb4a19=(_0x6cdcd3=this[_0xf41f2b(0x1c3)])==null?void 0x0:_0x6cdcd3[_0xf41f2b(0x405)])!=null?_0xcb4a19:cs}],[_0x18e368,{'useClass':Ss}],[_0x5ae3ef,{'useClass':ps}],[_0x1c8798,{'useClass':ms}],[_0x5c1989,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x556fed=this[_0xf41f2b(0x1c3)])!=null&&_0x556fed[_0xf41f2b(0x394)]&&_0x1b3ffa[_0xf41f2b(0x38e)]([jt,{'useClass':Co}]),_0x3ef291(this[_0xf41f2b(0x3b4)],_0x11b22e(_0x1b3ffa,(_0x37f5ee=this[_0xf41f2b(0x1c3)])==null?void 0x0:_0x37f5ee[_0xf41f2b(0x28e)]));}['_registerRenderDependencies'](){const _0x3fc57d=_0x5e3172;this[_0x3fc57d(0x2d9)](this[_0x3fc57d(0x4ee)][_0x3fc57d(0x312)](_0xfbb68f[_0x3fc57d(0x11d)],[fs])),this[_0x3fc57d(0x2d9)](this['_renderManagerService'][_0x3fc57d(0x312)](_0xfbb68f['UNIVER_SHEET'],[vs]));}[_0x5e3172(0x192)](){const _0x3d18c6=_0x5e3172;var _0xba8a95,_0x149675;this[_0x3d18c6(0x3b4)][_0x3d18c6(0x307)](_0x21ff0e)[_0x3d18c6(0x24c)]({'priority':0x14,'interceptor':_0x3d2a05({'maxParallel':0x6})}),(_0xba8a95=this[_0x3d18c6(0x1c3)])!=null&&_0xba8a95['enableOfflineEditing']||this['_injector'][_0x3d18c6(0x307)](z)[_0x3d18c6(0x27d)](),(_0x149675=this[_0x3d18c6(0x1c3)])!=null&&_0x149675[_0x3d18c6(0x1e9)]&&_0x3ab8ae(this[_0x3d18c6(0x3b4)],[[Lt]]),_0x3ab8ae(this[_0x3d18c6(0x3b4)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x5e3172(0x120),hh),Cs=ah([_0x447968(_0x30e153,_0x284272),_t(0x1,_0xadcc6),_t(0x2,_0x2d7ddc),_t(0x3,_0x1259a7(_0xa6ca3c)),_t(0x4,_0x3a37b7)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
|