@univerjs-pro/collaboration-client 0.4.2 → 0.5.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3d192e=_0x1083;(function(_0x1defb3,_0x2f058f){const _0x1a9474=_0x1083,_0xe6b2ea=_0x1defb3();while(!![]){try{const _0x6b2494=-parseInt(_0x1a9474(0x44a))/0x1*(parseInt(_0x1a9474(0x4b7))/0x2)+parseInt(_0x1a9474(0x4ff))/0x3+parseInt(_0x1a9474(0x459))/0x4+-parseInt(_0x1a9474(0x362))/0x5*(parseInt(_0x1a9474(0x332))/0x6)+-parseInt(_0x1a9474(0x490))/0x7+-parseInt(_0x1a9474(0x41c))/0x8+parseInt(_0x1a9474(0x1bb))/0x9;if(_0x6b2494===_0x2f058f)break;else _0xe6b2ea['push'](_0xe6b2ea['shift']());}catch(_0x34a38a){_0xe6b2ea['push'](_0xe6b2ea['shift']());}}}(_0x44e8,0x82e18));var Ki=Object[_0x3d192e(0x494)],zi=(_0x574e00,_0x218e13,_0x28bcbc)=>_0x218e13 in _0x574e00?Ki(_0x574e00,_0x218e13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28bcbc}):_0x574e00[_0x218e13]=_0x28bcbc,g=(_0x466c5a,_0x2e16ed,_0x1b7297)=>zi(_0x466c5a,typeof _0x2e16ed!='symbol'?_0x2e16ed+'':_0x2e16ed,_0x1b7297);import{createIdentifier as _0x1ee28b,Inject as _0x435342,Disposable as _0x1b81eb,DisposableCollection as _0x53f1da,toDisposable as _0x30963a,IConfigService as _0x1b2eff,ILogService as _0x25772e,UserManagerService as _0x5bb2c6,UniverInstanceType as _0x1c25e8,IUniverInstanceService as _0x405019,LocaleService as _0xef493b,Optional as _0x1eef7c,RxDisposable as _0x10cb26,Injector as _0x5a18dc,Tools as _0x28e921,ILocalStorageService as _0x41aee6,Rectangle as _0x44b24e,ICommandService as _0x4d4125,DOC_RANGE_TYPE as _0x30543d,JSONX as _0x1af5f2,CommandType as _0x8cff0f,IPermissionService as _0x23a72a,IUndoRedoService as _0x211f33,sequenceExecute as _0x128974,debounce as _0x339b95,COLORS as _0x34dcb6,ColorKit as _0x3dadb0,ThemeService as _0x462884,fromEventSubject as _0xf30ad2,useDependency as _0x19195f,connectInjector as _0x44d91f,Workbook as _0x15f270,isInternalEditorID as _0x4a523d,LocalUndoRedoService as _0x575974,IContextService as _0x2ce207,DependentOn as _0x347a5f,Plugin as _0x17b289,touchDependencies as _0xd9b0ec,IAuthzIoService as _0x1be879,registerDependencies as _0x1adb6b,mergeOverrideWithDependencies as _0x47ce99}from'@univerjs/core';import{Subject as _0x276b38,merge as _0x2eb1f5,takeUntil as _0xe1e697,BehaviorSubject as _0x1d58dd,distinctUntilChanged as _0x432dfd,fromEvent as _0x2f7e2c,ReplaySubject as _0x313804,take as _0x543baa,map as _0x2f5428,shareReplay as _0x2a23f2,of as _0x20dba1,debounceTime as _0xde4a6a,filter as _0x1e3ea8,switchMap as _0x149f7d,combineLatest as _0x5e82ee,concatMap as _0x8a475e,mapTo as _0x144116}from'rxjs';import{map as _0x5050a4,take as _0x47349f,filter as _0x4f86ac,delay as _0x3bb49b,throttleTime as _0x477e40,takeUntil as _0x4bc87f,switchMap as _0x4fd761}from'rxjs/operators';import{MessageType as _0x5b8609,Tooltip as _0x46fd32}from'@univerjs/design';import{IBeforeCloseService as _0x4a45c6,IMessageService as _0x11ef1f,INotificationService as _0x286bb3,useObservable as _0x4f6f45,BuiltInUIPart as _0x211079,IUIPartsService as _0x5b59f0}from'@univerjs/ui';import{HTTPService as _0x280c50,WebSocketService as _0x16fe7e,MergeInterceptorFactory as _0x49bcb0,HTTPRequest as _0x1b63e6,UniverNetworkPlugin as _0x1c34c7,ThresholdInterceptorFactory as _0x2dd3a5}from'@univerjs/network';import{CollaborationEvent as _0x28e200,parseChangesetToProtocol as _0x5195c3,ISnapshotServerService as _0x246ddf,isTransformMutationFailure as _0x19a818,isTransformMutationsWithChangesetSuccess as _0x4b9a49,ITransformService as _0x238f3d,RevisionService as _0x18ab34,mapDocumentTypeToUniverType as _0x278f99,isTransformChangesetsSuccess as _0x302b92,CompressMutationService as _0x58b852,parseProtocolChangeset as _0x4167b6,SnapshotService as _0x595913,textEncoder as _0xc0d837,b64DecodeUnicode as _0x447767,isTransformMutationsWithChangesetFailure as _0x5952ae,UniverCollaborationPlugin as _0x45331b}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x119c9a}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x357b66,DocStateChangeManagerService as _0x391d27,NodePositionConvertToCursor as _0x20e65b,NodePositionConvertToRectRange as _0x227dda,TEXT_RANGE_LAYER_INDEX as _0x397a80,SetDocZoomRatioOperation as _0x294a0c}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3c9037,SetSelectionsOperation as _0x8e9493,InsertSheetMutation as _0x475c69,EmptyMutation as _0x45cb2e,WorkbookEditablePermission as _0x11ffb6,RefRangeService as _0x9b446f,EffectRefRangId as _0x572e94,handleIRemoveRow as _0x4cae9e,handleIRemoveCol as _0x5c63a8,handleMoveRange as _0x45208f,handleInsertRow as _0x404ede,handleInsertRangeMoveRight as _0x461d14,handleInsertRangeMoveDown as _0x557413,handleInsertCol as _0x489ef0,handleDeleteRangeMoveUp as _0x5f5d6d,handleDeleteRangeMoveLeft as _0x262d03,runRefRangeMutations as _0x22fc09,SetWorksheetActivateCommand as _0x5387d6}from'@univerjs/sheets';import{IRenderManagerService as _0x1d562c,Shape as _0x1610d0,Rect as _0x242611,getColor as _0x12cdbd,RegularPolygon as _0x2caf0e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x10d624,Vector2 as _0x12b8ac}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x9ce9ab,RichTextEditingMutation as _0x5448a2,SetTextSelectionsOperation as _0x3dabd6,DocSkeletonManagerService as _0x3ffb40}from'@univerjs/docs';import{ImageSourceType as _0x1be8f3,ImageUploadStatusType as _0x2e29de,IImageIoService as _0xfbc33e}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x5ea48b,serializeRangeWithSheet as _0x3f0e28}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x3eba81,VIEWPORT_KEY as _0x30af2a,getCoordByCell as _0x5be27d,getSheetObject as _0x18abc2,SheetPermissionInitController as _0x3e9ce4}from'@univerjs/sheets-ui';import _0xdab72b,{forwardRef as _0x34a220,useRef as _0x3348da,createElement as _0x28fb12,useCallback as _0x1a836b}from'react';import{IRemoteInstanceService as _0x5ec368}from'@univerjs/rpc';const rr=_0x3d192e(0x35a),or='/universer-api/snapshot',ar=_0x3d192e(0x21f),Gc=_0x3d192e(0x1f6),cr=0x7d0,hr=_0x3d192e(0x1c8),lr=_0x3d192e(0x3cc),_r=_0x3d192e(0x589),ur=0x7530,bi=_0x3d192e(0x4f6),Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr=_0x3d192e(0x2f4),pr=0x3e8,gr=_0x3d192e(0x3bd),Sr=_0x3d192e(0x5a5),Ir=_0x3d192e(0x195),Cr='/universer-api/oidc/authpage';var Ri=(_0x2dbae9=>(_0x2dbae9[_0x2dbae9[_0x3d192e(0x2e7)]=0x0]=_0x3d192e(0x2e7),_0x2dbae9[_0x2dbae9['OK']=0x1]='OK',_0x2dbae9[_0x2dbae9[_0x3d192e(0x203)]=0x2]=_0x3d192e(0x203),_0x2dbae9[_0x2dbae9[_0x3d192e(0x33a)]=0x3]=_0x3d192e(0x33a),_0x2dbae9[_0x2dbae9['NOT_FOUND']=0x4]=_0x3d192e(0x3d1),_0x2dbae9[_0x2dbae9[_0x3d192e(0x20d)]=0x5]=_0x3d192e(0x20d),_0x2dbae9[_0x2dbae9['ALREADY_EXISTS']=0x6]=_0x3d192e(0x2d9),_0x2dbae9[_0x2dbae9[_0x3d192e(0x21d)]=0x7]=_0x3d192e(0x21d),_0x2dbae9[_0x2dbae9['TOO_MANY_REQUESTS']=0x8]=_0x3d192e(0x22e),_0x2dbae9[_0x2dbae9[_0x3d192e(0x1ca)]=0x9]=_0x3d192e(0x1ca),_0x2dbae9[_0x2dbae9['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3d192e(0x20c),_0x2dbae9[_0x2dbae9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2dbae9[_0x2dbae9[_0x3d192e(0x23c)]=0x1772]=_0x3d192e(0x23c),_0x2dbae9[_0x2dbae9[_0x3d192e(0x259)]=0x1773]=_0x3d192e(0x259),_0x2dbae9[_0x2dbae9[_0x3d192e(0x3e8)]=0x1b59]=_0x3d192e(0x3e8),_0x2dbae9[_0x2dbae9[_0x3d192e(0x343)]=0x1b5a]=_0x3d192e(0x343),_0x2dbae9[_0x2dbae9[_0x3d192e(0x402)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2dbae9[_0x2dbae9[_0x3d192e(0x266)]=0x1b5c]=_0x3d192e(0x266),_0x2dbae9[_0x2dbae9[_0x3d192e(0x42d)]=0x1b5d]='APPLY_DUPLICATED',_0x2dbae9[_0x2dbae9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3d192e(0x56b),_0x2dbae9[_0x2dbae9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3d192e(0x20e),_0x2dbae9[_0x2dbae9[_0x3d192e(0x419)]=0x232a]=_0x3d192e(0x419),_0x2dbae9[_0x2dbae9[_0x3d192e(0x595)]=0x232b]=_0x3d192e(0x595),_0x2dbae9[_0x2dbae9[_0x3d192e(0x526)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2dbae9[_0x2dbae9[_0x3d192e(0x248)]=0x232d]=_0x3d192e(0x248),_0x2dbae9[_0x2dbae9[_0x3d192e(0x425)]=0x2711]=_0x3d192e(0x425),_0x2dbae9[_0x2dbae9[_0x3d192e(0x428)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2dbae9[_0x2dbae9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3d192e(0x2f3),_0x2dbae9[_0x2dbae9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3d192e(0x1f0),_0x2dbae9[_0x2dbae9['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2dbae9))(Ri||{}),ce=(_0x3834a6=>(_0x3834a6[_0x3834a6[_0x3d192e(0x2c8)]=0x0]=_0x3d192e(0x2c8),_0x3834a6[_0x3834a6['UNIVER_DOC']=0x1]=_0x3d192e(0x52f),_0x3834a6[_0x3834a6[_0x3d192e(0x26f)]=0x2]='UNIVER_SHEET',_0x3834a6[_0x3834a6[_0x3d192e(0x18e)]=0x3]=_0x3d192e(0x18e),_0x3834a6[_0x3834a6[_0x3d192e(0x35c)]=0x4]='UNIVER_PROJECT',_0x3834a6[_0x3834a6['UNRECOGNIZED']=-0x1]=_0x3d192e(0x423),_0x3834a6))(ce||{}),W=(_0x4b4426=>(_0x4b4426[_0x4b4426[_0x3d192e(0x201)]=0x0]=_0x3d192e(0x201),_0x4b4426[_0x4b4426['HELLO']=0x1]=_0x3d192e(0x4d9),_0x4b4426[_0x4b4426[_0x3d192e(0x36f)]=0x2]=_0x3d192e(0x36f),_0x4b4426[_0x4b4426['LEAVE']=0x3]=_0x3d192e(0x54e),_0x4b4426[_0x4b4426[_0x3d192e(0x283)]=0x4]='INGEST',_0x4b4426[_0x4b4426[_0x3d192e(0x220)]=0x5]=_0x3d192e(0x220),_0x4b4426[_0x4b4426[_0x3d192e(0x427)]=0x6]=_0x3d192e(0x427),_0x4b4426[_0x4b4426[_0x3d192e(0x423)]=-0x1]=_0x3d192e(0x423),_0x4b4426))(W||{}),Is=(_0x5c3dc2=>(_0x5c3dc2[_0x5c3dc2[_0x3d192e(0x2e3)]=0x0]=_0x3d192e(0x2e3),_0x5c3dc2[_0x5c3dc2['OK']=0x1]='OK',_0x5c3dc2[_0x5c3dc2[_0x3d192e(0x22a)]=0x2]='FAIL',_0x5c3dc2[_0x5c3dc2[_0x3d192e(0x423)]=-0x1]='UNRECOGNIZED',_0x5c3dc2))(Is||{}),yi=(_0x3d7d88=>(_0x3d7d88[_0x3d7d88[_0x3d192e(0x40a)]=0x0]=_0x3d192e(0x40a),_0x3d7d88[_0x3d7d88[_0x3d192e(0x438)]=0x1]=_0x3d192e(0x438),_0x3d7d88[_0x3d7d88[_0x3d192e(0x469)]=0x2]=_0x3d192e(0x469),_0x3d7d88[_0x3d7d88[_0x3d192e(0x2be)]=0x3]=_0x3d192e(0x2be),_0x3d7d88[_0x3d7d88[_0x3d192e(0x4c0)]=0x4]=_0x3d192e(0x4c0),_0x3d7d88[_0x3d7d88[_0x3d192e(0x423)]=-0x1]='UNRECOGNIZED',_0x3d7d88))(yi||{});const ie=_0x3d192e(0x299),Er={};function br(_0xafbbf1){const _0x4d375b=_0x3d192e;var _0x21fc12,_0x50cda6,_0x4acedd,_0x408ff4,_0x434ab0;const _0x428f05=_0xafbbf1[_0x4d375b(0x383)],_0x3c757d=JSON['parse'](_0x428f05);switch(_0x3c757d[_0x4d375b(0x4f3)]){case W[_0x4d375b(0x220)]:case W['HELLO']:{const _0x2c6c72=_0x3c757d[_0x4d375b(0x498)];return{..._0x3c757d,'data':_0x2c6c72,'cmd':_0x3c757d[_0x4d375b(0x4f3)]};}case W[_0x4d375b(0x36f)]:{const _0x3ed08d=_0x3c757d['joinRsp'];return{..._0x3c757d,'data':_0x3ed08d,'cmd':_0x3c757d['cmd']};}case W[_0x4d375b(0x427)]:{const _0x46834a=_0x3c757d[_0x4d375b(0x256)];switch(_0x46834a[_0x4d375b(0x1f5)]){case _0x28e200[_0x4d375b(0x58e)]:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x21fc12=_0x46834a[_0x4d375b(0x4d3)])==null?void 0x0:_0x21fc12['cs']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x246)]:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x50cda6=_0x46834a[_0x4d375b(0x4cd)])==null?void 0x0:_0x50cda6['cs']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200['NEW_CHANGESETS']:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x4acedd=_0x46834a[_0x4d375b(0x515)])==null?void 0x0:_0x4acedd['cs']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200['CHANGESET_REJ']:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x408ff4=_0x46834a['csRejEvent'])==null?void 0x0:_0x408ff4['cs']},'cmd':_0x3c757d['cmd']};case _0x28e200['CHANGESET_SHOULD_RETRY']:return{..._0x3c757d,'data':{..._0x46834a,'data':(_0x434ab0=_0x46834a[_0x4d375b(0x507)])==null?void 0x0:_0x434ab0['cs']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200['UPDATE_CURSOR']:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x52c)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x2f9)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x487)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x25c)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x54a)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x1ba)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x360)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x411)]:case _0x28e200[_0x4d375b(0x405)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x592)]},'cmd':_0x3c757d['cmd']};case _0x28e200[_0x4d375b(0x1cf)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a['liveShareNewHost']},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x45f)]:return{..._0x3c757d,'data':_0x46834a,'cmd':_0x3c757d['cmd']};case _0x28e200['COMMENT_UPDATE']:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x537)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};case _0x28e200[_0x4d375b(0x3f9)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x260)]},'cmd':_0x3c757d['cmd']};case _0x28e200[_0x4d375b(0x593)]:return{..._0x3c757d,'data':{..._0x46834a,'data':_0x46834a[_0x4d375b(0x19e)]},'cmd':_0x3c757d[_0x4d375b(0x4f3)]};default:return _0x3c757d;}}default:return _0x3c757d;}}function Tr(_0xc94f5b){const _0x26b923=_0x3d192e;switch(_0xc94f5b['cmd']){case W[_0x26b923(0x220)]:case W[_0x26b923(0x4d9)]:return JSON[_0x26b923(0x4fa)]({'cmd':_0xc94f5b[_0x26b923(0x4f3)],'routeKey':_0xc94f5b[_0x26b923(0x25f)]});case W[_0x26b923(0x283)]:{let _0x3d05f5;switch(_0xc94f5b['data'][_0x26b923(0x1f5)]){case _0x28e200[_0x26b923(0x4ac)]:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x4ac)],'updateCursorEvent':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x383)]};break;}case _0x28e200[_0x26b923(0x25c)]:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x25c)],'leaveEvent':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x383)]};break;}case _0x28e200[_0x26b923(0x2f9)]:{_0x3d05f5={'eventID':_0x28e200['USERS_ENTER'],'joinEvent':_0xc94f5b['data']['data']};break;}case _0x28e200[_0x26b923(0x1ba)]:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x1ba)],'liveShareNewHost':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x383)]};break;}case _0x28e200[_0x26b923(0x405)]:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x405)],'liveShareOperation':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x383)]};break;}case _0x28e200['LIVESHARE_TERMINATE']:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x1cf)],'liveShareTerminate':_0xc94f5b['data'][_0x26b923(0x383)]};break;}case _0x28e200['LIVESHARE_REQUEST_HOST']:{_0x3d05f5={'eventID':_0x28e200[_0x26b923(0x518)],'liveShareRequestHost':_0xc94f5b['data']['data']};break;}case _0x28e200[_0x26b923(0x411)]:{_0x3d05f5={'eventID':_0x28e200['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3d05f5={'eventID':_0xc94f5b[_0x26b923(0x383)][_0x26b923(0x1f5)]};}return JSON[_0x26b923(0x4fa)]({'cmd':_0xc94f5b['cmd'],'routeKey':_0xc94f5b['routeKey'],'collaMsg':_0x3d05f5});}case W['JOIN']:return JSON[_0x26b923(0x4fa)]({'cmd':_0xc94f5b[_0x26b923(0x4f3)],'routeKey':_0xc94f5b[_0x26b923(0x25f)],'joinReq':_0xc94f5b['data']});case W[_0x26b923(0x54e)]:return JSON[_0x26b923(0x4fa)]({'cmd':_0xc94f5b[_0x26b923(0x4f3)],'routeKey':_0xc94f5b[_0x26b923(0x25f)],'leaveReq':_0xc94f5b[_0x26b923(0x383)]});default:throw new Error(_0x26b923(0x4e6));}}var Rr=Object['defineProperty'],yr=Object[_0x3d192e(0x3e5)],Or=(_0x4b2908,_0x199fe9,_0x4d6fb5,_0x46d431)=>{const _0x419b0b=_0x3d192e;for(var _0x53ddc9=_0x46d431>0x1?void 0x0:_0x46d431?yr(_0x199fe9,_0x4d6fb5):_0x199fe9,_0x386bab=_0x4b2908[_0x419b0b(0x4e9)]-0x1,_0x526f72;_0x386bab>=0x0;_0x386bab--)(_0x526f72=_0x4b2908[_0x386bab])&&(_0x53ddc9=(_0x46d431?_0x526f72(_0x199fe9,_0x4d6fb5,_0x53ddc9):_0x526f72(_0x53ddc9))||_0x53ddc9);return _0x46d431&&_0x53ddc9&&Rr(_0x199fe9,_0x4d6fb5,_0x53ddc9),_0x53ddc9;},qe=(_0x4ae050,_0x7baacd)=>(_0x250ac7,_0x387df7)=>_0x7baacd(_0x250ac7,_0x387df7,_0x4ae050);const Oi=_0x1ee28b('univer-pro.collaboration-client-socket-service');function wr(_0x250e82,_0xfd3f16,_0x227b7e){const _0x215303=_0x3d192e;return _0x250e82+'/'+_0xfd3f16+'/unit/'+_0x227b7e+_0x215303(0x59c);}let es=class extends _0x1b81eb{constructor(_0x45fd41,_0x2afaed,_0x4eaaa4,_0x494d69,_0x40961c){const _0x3c553b=_0x3d192e;super(),this['_http']=_0x45fd41,this[_0x3c553b(0x315)]=_0x2afaed,this[_0x3c553b(0x295)]=_0x4eaaa4,this['_logService']=_0x494d69,this[_0x3c553b(0x25b)]=_0x40961c;}[_0x3d192e(0x34c)](_0x261433){const _0x512ed2=_0x3d192e,_0x31dae6=this[_0x512ed2(0x315)][_0x512ed2(0x34c)](_0x261433);if(!_0x31dae6)throw new Error(_0x512ed2(0x1be));const _0xaa414a=new _0x53f1da(),_0x1b6c19=new _0x276b38();_0xaa414a['add'](_0x31dae6['close$']['subscribe'](_0x2451b5=>_0x1b6c19[_0x512ed2(0x4bc)](_0x2451b5))),_0xaa414a[_0x512ed2(0x4f2)](_0x30963a(()=>_0x1b6c19[_0x512ed2(0x348)]()));const _0x5a4b22=new _0x276b38();_0xaa414a[_0x512ed2(0x4f2)](_0x31dae6[_0x512ed2(0x510)][_0x512ed2(0x2ce)](_0x174ae7=>_0x5a4b22[_0x512ed2(0x4bc)](_0x174ae7))),_0xaa414a[_0x512ed2(0x4f2)](_0x30963a(()=>_0x5a4b22['complete']()));const _0x5678b2=new _0x276b38();_0xaa414a[_0x512ed2(0x4f2)](_0x31dae6[_0x512ed2(0x288)]['subscribe'](_0x5be3ee=>{const _0x4ed8df=_0x512ed2,_0x34a7d0=br(_0x5be3ee);_0x5678b2[_0x4ed8df(0x4bc)](_0x34a7d0);})),_0xaa414a[_0x512ed2(0x4f2)](_0x30963a(()=>_0x5678b2[_0x512ed2(0x348)]()));let _0x330590;const _0xb98ebf=()=>{const _0x82622c=_0x512ed2;_0x5a4b22['next'](new Event('connection\x20error')),_0x1b6c19[_0x82622c(0x4bc)](new CloseEvent('connection\x20error')),_0x330590[_0x82622c(0x2e1)]();};return _0x330590={'memberID':'','close$':_0x1b6c19['asObservable'](),'error$':_0x5a4b22[_0x512ed2(0x194)](),'open$':_0x31dae6[_0x512ed2(0x39e)],'message$':_0x5678b2['asObservable'](),'send':_0x995cb8=>{const _0x36aba7=_0x512ed2;if(_0x995cb8[_0x36aba7(0x4f3)]===W['INGEST']){if(_0x995cb8[_0x36aba7(0x383)][_0x36aba7(0x1f5)]===_0x28e200['SUBMIT_CHANGESET']){this[_0x36aba7(0x573)](_0x330590,_0x995cb8['data'])[_0x36aba7(0x2b9)](_0x406092=>{const _0x112264=_0x36aba7;this[_0x112264(0x3b5)][_0x112264(0x4f4)](_0x406092),_0xb98ebf();});return;}if(_0x995cb8[_0x36aba7(0x383)]['eventID']===_0x28e200[_0x36aba7(0x3f4)]){const _0x3e22c0=_0x995cb8['data'];this[_0x36aba7(0x304)](_0x3e22c0)[_0x36aba7(0x429)](_0x2e5ef5=>{const _0x361d2d=_0x36aba7;_0x5678b2[_0x361d2d(0x4bc)]({'cmd':W[_0x361d2d(0x427)],'code':Is['OK'],'routeKey':_0x3e22c0['data'][_0x361d2d(0x1dc)],'routeType':'','data':{'eventID':_0x28e200[_0x361d2d(0x479)],'data':{'changesets':_0x2e5ef5}}});})[_0x36aba7(0x2b9)](_0x5b4e31=>{const _0x131e47=_0x36aba7;this['_logService'][_0x131e47(0x4f4)](_0x5b4e31),_0xb98ebf();});return;}}_0x31dae6[_0x36aba7(0x214)](Tr(_0x995cb8));},'close':()=>{const _0x30f6e3=_0x512ed2;_0x31dae6['close'](),_0xaa414a[_0x30f6e3(0x228)]();}},_0x330590;}async[_0x3d192e(0x573)](_0x24e051,_0xbcfa8c){const _0x4379ef=_0x3d192e;var _0x1d7c2d,_0x517194;const {unitType:_0x2e524f,unitID:_0x24d866,changeset:_0x39f8c2}=_0xbcfa8c['data'],_0xdba4e3={'unitID':_0x24d866,'memberID':_0x24e051[_0x4379ef(0x1ec)],'type':_0x2e524f,'changeset':_0x5195c3(_0x39f8c2)},_0x98b028=this[_0x4379ef(0x295)][_0x4379ef(0x1aa)](gr),_0x2d156a=this[_0x4379ef(0x295)][_0x4379ef(0x1aa)](ie),_0x4ea3c7=wr((_0x517194=(_0x1d7c2d=_0x2d156a==null?void 0x0:_0x2d156a[_0x4379ef(0x310)])!=null?_0x1d7c2d:_0x98b028)!=null?_0x517194:Sr,_0x2e524f,_0x24d866);try{await this[_0x4379ef(0x2a7)][_0x4379ef(0x1c0)](_0x4ea3c7,{'body':_0xdba4e3});}catch(_0x260fc1){throw this[_0x4379ef(0x3b5)][_0x4379ef(0x4f4)](_0x4379ef(0x4d7),_0x4379ef(0x400)),_0x260fc1;}}async[_0x3d192e(0x304)](_0x24b797){const _0x3e7f27=_0x3d192e,{unitID:_0x653c1c,from:_0x369b02,to:_0x1d4bef,unitType:_0x4614ba}=_0x24b797[_0x3e7f27(0x383)];return(await this['_snapshotServerService'][_0x3e7f27(0x23d)]({'metadata':void 0x0},{'unitID':_0x653c1c,'type':_0x4614ba,'from':_0x369b02,'to':_0x1d4bef}))['changesets'];}};es=Or([qe(0x0,_0x435342(_0x280c50)),qe(0x1,_0x435342(_0x16fe7e)),qe(0x2,_0x1b2eff),qe(0x3,_0x25772e),qe(0x4,_0x246ddf)],es);const Dr='collaboration_new_changeset';function Pr(_0x57f9c2){return JSON['stringify'](_0x57f9c2)['length'];}class wi{constructor(){const _0x52d915=_0x3d192e;g(this,_0x52d915(0x3ac),new _0x276b38()),g(this,_0x52d915(0x3f2),this[_0x52d915(0x3ac)][_0x52d915(0x194)]());}['onCommentUpdate'](_0x3ae7e6){const _0x31d9f7=_0x3d192e;this['_commentUpdate$'][_0x31d9f7(0x4bc)](_0x3ae7e6);}}var Ur=Object['defineProperty'],Nr=Object['getOwnPropertyDescriptor'],Ar=(_0x5c94b9,_0x441a31,_0x33d86f,_0x25d37e)=>{const _0x188a5e=_0x3d192e;for(var _0x3ca2db=_0x25d37e>0x1?void 0x0:_0x25d37e?Nr(_0x441a31,_0x33d86f):_0x441a31,_0x3ca315=_0x5c94b9[_0x188a5e(0x4e9)]-0x1,_0x57f018;_0x3ca315>=0x0;_0x3ca315--)(_0x57f018=_0x5c94b9[_0x3ca315])&&(_0x3ca2db=(_0x25d37e?_0x57f018(_0x441a31,_0x33d86f,_0x3ca2db):_0x57f018(_0x3ca2db))||_0x3ca2db);return _0x25d37e&&_0x3ca2db&&Ur(_0x441a31,_0x33d86f,_0x3ca2db),_0x3ca2db;},Hs=(_0x42fc68,_0x30b17e)=>(_0x246e32,_0x4cecd7)=>_0x30b17e(_0x246e32,_0x4cecd7,_0x42fc68);let Ne=class extends _0x1b81eb{constructor(_0x11b59a,_0x2b8b8d){const _0x541c9c=_0x3d192e;super(),g(this,_0x541c9c(0x584),new Map()),(this['_univerInstanceService']=_0x11b59a,this[_0x541c9c(0x1e6)]=_0x2b8b8d,this['disposeWithMe'](_0x30963a(_0x2eb1f5(this[_0x541c9c(0x43d)]['getTypeOfUnitDisposed$'](_0x1c25e8[_0x541c9c(0x26f)])[_0x541c9c(0x407)](_0x5050a4(_0x1b5115=>_0x1b5115[_0x541c9c(0x2c1)]())),this[_0x541c9c(0x43d)]['getTypeOfUnitDisposed$'](_0x1c25e8['UNIVER_DOC'])[_0x541c9c(0x407)](_0x5050a4(_0x4e3878=>_0x4e3878[_0x541c9c(0x2c1)]())),this[_0x541c9c(0x43d)][_0x541c9c(0x2de)](_0x1c25e8['UNIVER_SLIDE'])['pipe'](_0x5050a4(_0x149a74=>_0x149a74[_0x541c9c(0x2c1)]())))['subscribe'](_0x353d6a=>this[_0x541c9c(0x30d)](_0x353d6a)))));}[_0x3d192e(0x321)](_0x542378){this['_userManagerService']['setCurrentUser'](_0x542378);}[_0x3d192e(0x2cd)](){const _0x36a9e9=_0x3d192e;return this[_0x36a9e9(0x1e6)][_0x36a9e9(0x2cd)]();}[_0x3d192e(0x1ce)](_0x110e6d,_0x942269){const _0x3dde1b=_0x3d192e;let _0x59b1ee=this[_0x3dde1b(0x584)]['get'](_0x110e6d);_0x59b1ee||(_0x59b1ee=new Mr(),this['_roomMembers'][_0x3dde1b(0x467)](_0x110e6d,_0x59b1ee)),_0x59b1ee[_0x3dde1b(0x1ce)](_0x942269);}[_0x3d192e(0x1f2)](_0x2d2781,_0x4b15ff){const _0x49eec1=_0x3d192e,_0x1a0235=this[_0x49eec1(0x584)][_0x49eec1(0x47d)](_0x2d2781);_0x1a0235&&_0x1a0235['removeMember'](_0x4b15ff);}[_0x3d192e(0x2f6)](_0x3799a6){const _0x438096=_0x3d192e;return this[_0x438096(0x584)][_0x438096(0x47d)](_0x3799a6);}[_0x3d192e(0x37d)](_0x21bd33,_0xa127c7){const _0x37e262=_0x3d192e,_0x4c2300=this['_roomMembers'][_0x37e262(0x47d)](_0x21bd33);if(_0x4c2300)return _0x4c2300[_0x37e262(0x37d)](_0xa127c7);}[_0x3d192e(0x30d)](_0x186eca){const _0x465c9e=_0x3d192e,_0x29b9c9=this['_roomMembers'][_0x465c9e(0x47d)](_0x186eca);_0x29b9c9&&(_0x29b9c9[_0x465c9e(0x228)](),this[_0x465c9e(0x584)][_0x465c9e(0x2cc)](_0x186eca));}[_0x3d192e(0x228)](){const _0x250c0d=_0x3d192e;this['_roomMembers'][_0x250c0d(0x253)](_0x374e1c=>_0x374e1c['dispose']()),this[_0x250c0d(0x584)]['clear']();}};Ne=Ar([Hs(0x0,_0x405019),Hs(0x1,_0x435342(_0x5bb2c6))],Ne);class Mr extends _0x1b81eb{constructor(){const _0xd560d1=_0x3d192e;super(...arguments),g(this,_0xd560d1(0x530),new Map());}[_0x3d192e(0x228)](){const _0x5b1eaf=_0x3d192e;this[_0x5b1eaf(0x530)]['clear']();}['updateMember'](_0xc50bbe){const _0x3ad24a=_0x3d192e;this[_0x3ad24a(0x530)][_0x3ad24a(0x467)](_0xc50bbe[_0x3ad24a(0x1ec)],_0xc50bbe);}[_0x3d192e(0x1f2)](_0x5348ab){const _0x28ea5f=_0x3d192e;this[_0x28ea5f(0x530)]['delete'](_0x5348ab);}[_0x3d192e(0x37d)](_0x2e2a86){const _0x51b838=_0x3d192e;return this[_0x51b838(0x530)]['get'](_0x2e2a86);}['getAllMembers'](){const _0x512815=_0x3d192e;return Array[_0x512815(0x47e)](this[_0x512815(0x530)][_0x512815(0x548)]());}}var xr=Object[_0x3d192e(0x494)],Lr=Object[_0x3d192e(0x3e5)],$r=(_0x328c69,_0xdbe535,_0x2a72a9,_0xaaebc)=>{const _0x12ab28=_0x3d192e;for(var _0x3cb7ce=_0xaaebc>0x1?void 0x0:_0xaaebc?Lr(_0xdbe535,_0x2a72a9):_0xdbe535,_0x5e9559=_0x328c69[_0x12ab28(0x4e9)]-0x1,_0x542ad0;_0x5e9559>=0x0;_0x5e9559--)(_0x542ad0=_0x328c69[_0x5e9559])&&(_0x3cb7ce=(_0xaaebc?_0x542ad0(_0xdbe535,_0x2a72a9,_0x3cb7ce):_0x542ad0(_0x3cb7ce))||_0x3cb7ce);return _0xaaebc&&_0x3cb7ce&&xr(_0xdbe535,_0x2a72a9,_0x3cb7ce),_0x3cb7ce;},Ee=(_0x162017,_0x4d7414)=>(_0x11caa7,_0x517af4)=>_0x4d7414(_0x11caa7,_0x517af4,_0x162017),ve=(_0x5a54b5=>(_0x5a54b5[_0x5a54b5[_0x3d192e(0x34b)]=0x0]=_0x3d192e(0x34b),_0x5a54b5[_0x5a54b5[_0x3d192e(0x480)]=0x1]=_0x3d192e(0x480),_0x5a54b5[_0x5a54b5[_0x3d192e(0x3fe)]=0x2]=_0x3d192e(0x3fe),_0x5a54b5[_0x5a54b5[_0x3d192e(0x2c3)]=0x3]=_0x3d192e(0x2c3),_0x5a54b5))(ve||{});let ts=class extends _0x10cb26{constructor(_0x46c056,_0x568e28,_0x1e33e3,_0x21a32e,_0x24fce0,_0x46001a,_0x206959,_0x9f6f69,_0x3fb86f,_0x464827){const _0x27f9b5=_0x3d192e;super(),g(this,_0x27f9b5(0x57c),new _0x1d58dd(0x0)),g(this,_0x27f9b5(0x29c),this['_sessionStatus$']['asObservable']()),g(this,'_event$',new _0x276b38()),g(this,_0x27f9b5(0x513),this[_0x27f9b5(0x495)]['asObservable']()),g(this,_0x27f9b5(0x191)),g(this,_0x27f9b5(0x224)),g(this,'_collaborationTimeoutTimer'),g(this,_0x27f9b5(0x519),!0x1),g(this,'_telemetryInfo',null),(this['_unitID']=_0x46c056,this[_0x27f9b5(0x3b5)]=_0x1e33e3,this[_0x27f9b5(0x243)]=_0x21a32e,this[_0x27f9b5(0x2e9)]=_0x24fce0,this[_0x27f9b5(0x295)]=_0x46001a,this['_localeService']=_0x206959,this['_memberService']=_0x9f6f69,this[_0x27f9b5(0x199)]=_0x3fb86f,this['_telemetryService']=_0x464827,this[_0x27f9b5(0x519)]=!!this[_0x27f9b5(0x205)],_0x568e28[_0x27f9b5(0x407)](_0xe1e697(this['dispose$']))['subscribe'](_0xce9d79=>{const _0x4122eb=_0x27f9b5;var _0x49fb24;typeof _0xce9d79>'u'||(this[_0x4122eb(0x191)]=_0xce9d79,_0xce9d79?(this[_0x4122eb(0x30b)](_0xce9d79),this['_socketMessageSubscription']=_0xce9d79[_0x4122eb(0x288)][_0x4122eb(0x2ce)](_0x40e584=>{const _0x1f909e=_0x4122eb;_0x40e584[_0x1f909e(0x25f)]===this['_unitID']&&this['_onCombEvent'](_0x40e584);})):(this[_0x4122eb(0x49a)](),this[_0x4122eb(0x57c)][_0x4122eb(0x4bc)](0x2),(_0x49fb24=this[_0x4122eb(0x224)])==null||_0x49fb24[_0x4122eb(0x290)](),this[_0x4122eb(0x224)]=null));}),this[_0x27f9b5(0x2f7)](this[_0x27f9b5(0x243)][_0x27f9b5(0x572)](()=>{const _0x1d4538=_0x27f9b5;var _0xba2c9e;(_0xba2c9e=this['_socket'])==null||_0xba2c9e[_0x1d4538(0x214)]({'cmd':W[_0x1d4538(0x54e)],'data':{'roomID':this['_unitID']}});})));}get[_0x3d192e(0x278)](){const _0x2a060b=_0x3d192e;return this[_0x2a060b(0x57c)]['getValue']();}[_0x3d192e(0x282)](){const _0x572d91=_0x3d192e;var _0x3c511e,_0x4fb1a7;return(_0x4fb1a7=(_0x3c511e=this[_0x572d91(0x191)])==null?void 0x0:_0x3c511e[_0x572d91(0x1ec)])!=null?_0x4fb1a7:null;}['dispose'](){const _0x2cdb97=_0x3d192e;super[_0x2cdb97(0x228)](),this[_0x2cdb97(0x3e1)]['next'](),this[_0x2cdb97(0x3e1)][_0x2cdb97(0x348)]();}[_0x3d192e(0x2e1)](){const _0x597923=_0x3d192e;var _0x4f8822,_0x5cd014;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4f8822=this[_0x597923(0x191)])==null||_0x4f8822[_0x597923(0x214)]({'cmd':W[_0x597923(0x54e)],'data':{'roomID':this[_0x597923(0x293)]}}),(_0x5cd014=this[_0x597923(0x191)])==null||_0x5cd014[_0x597923(0x2e1)](),this[_0x597923(0x495)][_0x597923(0x348)](),this['_sessionStatus$'][_0x597923(0x348)](),this['dispose']();}[_0x3d192e(0x4f1)](_0x40dbba){const _0x5c5907=_0x3d192e;_0x40dbba[_0x5c5907(0x4f3)]===W[_0x5c5907(0x36f)]?this[_0x5c5907(0x209)](_0x40dbba):_0x40dbba[_0x5c5907(0x4f3)]===W['RECV']&&this[_0x5c5907(0x42f)](_0x40dbba);}[_0x3d192e(0x30b)](_0x23fe1e){const _0x4fd332=_0x3d192e;this[_0x4fd332(0x57c)][_0x4fd332(0x4bc)](0x1),_0x23fe1e[_0x4fd332(0x214)]({'cmd':W[_0x4fd332(0x36f)],'routeKey':this[_0x4fd332(0x293)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4fd332(0x293)]}]}});}[_0x3d192e(0x209)](_0x33474c){const _0x556dd7=_0x3d192e;var _0x47a8ce;if(_0x33474c['code']===Is['FAIL']){this[_0x556dd7(0x2e9)][_0x556dd7(0x4b4)]({'type':_0x5b8609[_0x556dd7(0x208)],'content':this[_0x556dd7(0x32a)]['t']('session.room-full')}),this[_0x556dd7(0x57c)][_0x556dd7(0x4bc)](0x2);return;}this[_0x556dd7(0x57c)][_0x556dd7(0x4bc)](0x3);const _0x334898=(_0x47a8ce=_0x33474c['data'][_0x556dd7(0x580)][this['_unitID']])==null?void 0x0:_0x47a8ce[_0x556dd7(0x338)];_0x334898&&_0x334898[_0x556dd7(0x253)](_0x2f69d3=>this[_0x556dd7(0x4d5)]['updateMember'](this[_0x556dd7(0x293)],_0x2f69d3));}['_onRecvEvent'](_0x3eeb86){const _0xc0e63b=_0x3d192e;try{const _0x109eed=_0x3eeb86[_0xc0e63b(0x383)];switch(_0x109eed[_0xc0e63b(0x1f5)]){case _0x28e200['USERS_ENTER']:this[_0xc0e63b(0x385)](_0x109eed),this[_0xc0e63b(0x495)][_0xc0e63b(0x4bc)](_0x109eed);break;case _0x28e200[_0xc0e63b(0x25c)]:this[_0xc0e63b(0x533)](_0x109eed),this[_0xc0e63b(0x495)]['next'](_0x109eed);break;case _0x28e200[_0xc0e63b(0x246)]:case _0x28e200[_0xc0e63b(0x2a9)]:this[_0xc0e63b(0x491)](),this[_0xc0e63b(0x534)](),this[_0xc0e63b(0x495)][_0xc0e63b(0x4bc)](_0x109eed);break;case _0x28e200[_0xc0e63b(0x45f)]:this[_0xc0e63b(0x3b5)][_0xc0e63b(0x4f4)](_0xc0e63b(0x364)+JSON[_0xc0e63b(0x4fa)](_0x109eed)),this['_event$'][_0xc0e63b(0x4bc)](_0x109eed);break;case _0x28e200[_0xc0e63b(0x2da)]:this[_0xc0e63b(0x199)][_0xc0e63b(0x52e)](_0x109eed['data']),this['_event$']['next'](_0x109eed);break;default:this[_0xc0e63b(0x495)][_0xc0e63b(0x4bc)](_0x109eed);}}catch(_0x15d83d){this['_logService'][_0xc0e63b(0x4f4)](_0x15d83d,_0x3eeb86);}}[_0x3d192e(0x385)](_0x4b9f39){const _0x372275=_0x3d192e;this[_0x372275(0x4d5)][_0x372275(0x1ce)](this[_0x372275(0x293)],_0x4b9f39['data']);}['_onUserLeave'](_0x3dc1cb){const _0x33a4cf=_0x3d192e;this[_0x33a4cf(0x4d5)][_0x33a4cf(0x1f2)](this[_0x33a4cf(0x293)],_0x3dc1cb['data'][_0x33a4cf(0x1ec)]);}async[_0x3d192e(0x214)](_0x2c636e,_0x243fad){const _0xb48ea2=_0x3d192e;if(this[_0xb48ea2(0x278)]!==0x3||!this[_0xb48ea2(0x191)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2c636e[_0xb48ea2(0x1f5)]===_0x28e200[_0xb48ea2(0x273)]&&(this[_0xb48ea2(0x4fc)](),this['_startTelemetryCollaborationNewChangeset'](_0x2c636e)),this[_0xb48ea2(0x191)][_0xb48ea2(0x214)]({'cmd':W['INGEST'],'routeKey':_0x243fad,'routeType':'','data':_0x2c636e});}catch(_0x4b942d){this[_0xb48ea2(0x3b5)][_0xb48ea2(0x4f4)](_0x4b942d);}}[_0x3d192e(0x4fc)](){const _0x421bc3=_0x3d192e;var _0x17ae04;this[_0x421bc3(0x3eb)]=window['setTimeout'](()=>{const _0x226fb8=_0x421bc3;this[_0x226fb8(0x3eb)]=null,this[_0x226fb8(0x2e9)][_0x226fb8(0x4b4)]({'type':_0x5b8609[_0x226fb8(0x1d0)],'content':this[_0x226fb8(0x32a)]['t'](_0x226fb8(0x440))});},(_0x17ae04=this[_0x421bc3(0x295)]['getConfig'](bi))!=null?_0x17ae04:Ti);}[_0x3d192e(0x534)](){const _0x2fff86=_0x3d192e;this[_0x2fff86(0x3eb)]&&(clearTimeout(this[_0x2fff86(0x3eb)]),this[_0x2fff86(0x3eb)]=null);}[_0x3d192e(0x53f)](_0x475d83){const _0x186ab4=_0x3d192e;if(!this[_0x186ab4(0x519)])return;const {data:_0x47b0c1}=_0x475d83,{unitID:_0x3cf3f1,changeset:_0x21e0f8}=_0x47b0c1,{mutations:_0x2f38c0,type:_0x38adef}=_0x21e0f8;this['_telemetryInfo']={'unitId':_0x3cf3f1,'type':_0x38adef,'startTime':performance[_0x186ab4(0x30c)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x2f38c0)};}[_0x3d192e(0x491)](){const _0x25c1cd=_0x3d192e;if(this[_0x25c1cd(0x519)]){if(!this[_0x25c1cd(0x250)]){this[_0x25c1cd(0x3b5)][_0x25c1cd(0x4f4)](_0x25c1cd(0x4d7),_0x25c1cd(0x502));return;}this['_telemetryInfo'][_0x25c1cd(0x412)]=performance['now'](),this[_0x25c1cd(0x250)][_0x25c1cd(0x366)]=this[_0x25c1cd(0x250)][_0x25c1cd(0x412)]-this[_0x25c1cd(0x250)][_0x25c1cd(0x4a3)],this[_0x25c1cd(0x205)][_0x25c1cd(0x2e4)](Dr,this[_0x25c1cd(0x250)]),this['_telemetryInfo']=null;}}[_0x3d192e(0x49a)](){const _0x31821a=_0x3d192e;this[_0x31821a(0x250)]=null;}};ts=$r([Ee(0x2,_0x25772e),Ee(0x3,_0x4a45c6),Ee(0x4,_0x11ef1f),Ee(0x5,_0x1b2eff),Ee(0x6,_0x435342(_0xef493b)),Ee(0x7,_0x435342(Ne)),Ee(0x8,_0x435342(wi)),Ee(0x9,_0x1eef7c(_0x119c9a))],ts);var Hr=Object[_0x3d192e(0x494)],jr=Object[_0x3d192e(0x3e5)],Br=(_0x335544,_0x635e07,_0x3e0a99,_0x5828b9)=>{const _0x1de850=_0x3d192e;for(var _0x152d8d=_0x5828b9>0x1?void 0x0:_0x5828b9?jr(_0x635e07,_0x3e0a99):_0x635e07,_0x2dd764=_0x335544[_0x1de850(0x4e9)]-0x1,_0x272bee;_0x2dd764>=0x0;_0x2dd764--)(_0x272bee=_0x335544[_0x2dd764])&&(_0x152d8d=(_0x5828b9?_0x272bee(_0x635e07,_0x3e0a99,_0x152d8d):_0x272bee(_0x152d8d))||_0x152d8d);return _0x5828b9&&_0x152d8d&&Hr(_0x635e07,_0x3e0a99,_0x152d8d),_0x152d8d;},je=(_0x205978,_0x4db888)=>(_0x5338ff,_0x4b96ef)=>_0x4db888(_0x5338ff,_0x4b96ef,_0x205978);let Ae=class extends _0x1b81eb{constructor(_0x48b3a9,_0x4f8b0c,_0x35a6bb,_0x12f27c,_0x483567,_0xac156c){const _0x440c27=_0x3d192e;super(),g(this,_0x440c27(0x409),new _0x1d58dd(void 0x0)),g(this,_0x440c27(0x3f3),this[_0x440c27(0x409)][_0x440c27(0x194)]()),g(this,_0x440c27(0x1e4),null),g(this,_0x440c27(0x37f),new Map()),g(this,'_status$',new _0x1d58dd(ve[_0x440c27(0x34b)])),g(this,_0x440c27(0x56a),this[_0x440c27(0x384)][_0x440c27(0x194)]()),g(this,_0x440c27(0x244),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x440c27(0x1b3),0x0),g(this,_0x440c27(0x215)),g(this,'_timeoutTimer'),(this[_0x440c27(0x329)]=_0x48b3a9,this[_0x440c27(0x32a)]=_0x4f8b0c,this['_messageService']=_0x35a6bb,this['_logService']=_0x12f27c,this[_0x440c27(0x295)]=_0x483567,this[_0x440c27(0x4d6)]=_0xac156c,this[_0x440c27(0x2e2)]());}get[_0x3d192e(0x191)](){const _0x1265e4=_0x3d192e;return this[_0x1265e4(0x409)]['getValue']();}[_0x3d192e(0x2e2)](){const _0x57e8c0=_0x3d192e;this['_listenToOfflineEvent'](),this[_0x57e8c0(0x24c)]();}[_0x3d192e(0x228)](){const _0x3ee3b5=_0x3d192e;super['dispose'](),this[_0x3ee3b5(0x37f)][_0x3ee3b5(0x253)](_0x35fc44=>_0x35fc44[_0x3ee3b5(0x228)]()),this[_0x3ee3b5(0x37f)][_0x3ee3b5(0x49f)](),this['_status$']['complete']();}async[_0x3d192e(0x51f)](_0x382aec){const _0x37ed48=_0x3d192e;if(this[_0x37ed48(0x37f)][_0x37ed48(0x476)](_0x382aec))return this[_0x37ed48(0x37f)][_0x37ed48(0x47d)](_0x382aec);this[_0x37ed48(0x3d5)]();const _0x51cc11=this[_0x37ed48(0x329)]['createInstance'](ts,_0x382aec,this[_0x37ed48(0x409)]['asObservable']());return this[_0x37ed48(0x37f)][_0x37ed48(0x467)](_0x382aec,_0x51cc11),_0x51cc11;}[_0x3d192e(0x46f)](_0xecd17d){const _0x4a3c09=_0x3d192e;var _0x138747;const _0x17fee6=this[_0x4a3c09(0x37f)]['get'](_0xecd17d);_0x17fee6&&(this[_0x4a3c09(0x37f)]['delete'](_0xecd17d),_0x17fee6[_0x4a3c09(0x2e1)]()),this['_sessions']['size']||(_0x138747=this[_0x4a3c09(0x191)])==null||_0x138747[_0x4a3c09(0x2e1)]();}[_0x3d192e(0x1db)](){const _0x2a3f81=_0x3d192e;this[_0x2a3f81(0x1b3)]=0x0,this[_0x2a3f81(0x19d)]!=null&&(clearTimeout(this[_0x2a3f81(0x19d)]),this[_0x2a3f81(0x19d)]=null),this[_0x2a3f81(0x575)]();}[_0x3d192e(0x324)](){const _0x278aad=_0x3d192e;var _0x13d76c,_0x4f1891;const _0x14d1af=this['_configService'][_0x278aad(0x1aa)](hr),_0x5f48c0=this[_0x278aad(0x295)][_0x278aad(0x1aa)](ie),_0x5df797=(_0x4f1891=(_0x13d76c=_0x5f48c0==null?void 0x0:_0x5f48c0[_0x278aad(0x596)])!=null?_0x13d76c:_0x14d1af)!=null?_0x4f1891:lr,_0x93e573=this[_0x278aad(0x4d6)][_0x278aad(0x34c)](_0x5df797);return this[_0x278aad(0x1e4)]=_0x93e573,_0x93e573;}[_0x3d192e(0x3d5)](){const _0x1388bd=_0x3d192e;var _0x19159c,_0x1f5850;try{const _0x4e99bb=(_0x1f5850=(_0x19159c=this[_0x1388bd(0x191)])!=null?_0x19159c:this[_0x1388bd(0x1e4)])!=null?_0x1f5850:this[_0x1388bd(0x324)]();if(_0x4e99bb){const _0x24725f=_0x4e99bb['send'];_0x4e99bb[_0x1388bd(0x214)]=_0x5712a1=>(this['_rescheduleHeartbeat'](),_0x24725f['apply'](_0x4e99bb,[_0x5712a1])),_0x4e99bb[_0x1388bd(0x288)][_0x1388bd(0x2ce)](_0x5ddfe5=>this[_0x1388bd(0x451)](_0x4e99bb,_0x5ddfe5)),_0x4e99bb[_0x1388bd(0x510)]['pipe'](_0x47349f(0x1))['subscribe'](_0x4015ff=>this[_0x1388bd(0x3b5)][_0x1388bd(0x4f4)](_0x1388bd(0x326),_0x4015ff)),_0x4e99bb[_0x1388bd(0x39e)]['pipe'](_0x47349f(0x1))[_0x1388bd(0x2ce)](()=>{const _0x595f26=_0x1388bd;this[_0x595f26(0x4af)](_0x4e99bb);}),_0x4e99bb[_0x1388bd(0x1a2)][_0x1388bd(0x407)](_0x47349f(0x1))[_0x1388bd(0x2ce)](_0x3a8ae5=>{const _0x292c1f=_0x1388bd;this[_0x292c1f(0x3b5)][_0x292c1f(0x2cb)](_0x292c1f(0x1cd),_0x292c1f(0x3cf),_0x3a8ae5),this[_0x292c1f(0x391)]();});}}catch(_0x3ec3c7){this[_0x1388bd(0x3b5)][_0x1388bd(0x4f4)](_0x3ec3c7),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2a49f3){const _0x230b71=_0x3d192e;this['_logService'][_0x230b71(0x2cb)](_0x230b71(0x1cd),'socket\x20open.'),_0x2a49f3[_0x230b71(0x214)]({'cmd':W[_0x230b71(0x4d9)]}),this[_0x230b71(0x493)]();}[_0x3d192e(0x3a8)](){const _0x498bd8=_0x3d192e;window[_0x498bd8(0x4ee)](_0x498bd8(0x3dd),()=>this[_0x498bd8(0x23b)]());}[_0x3d192e(0x23b)](){const _0x4af26d=_0x3d192e;this[_0x4af26d(0x244)]=!0x1,this[_0x4af26d(0x1e4)]=null,this[_0x4af26d(0x384)][_0x4af26d(0x4bc)](ve[_0x4af26d(0x3fe)]),this[_0x4af26d(0x409)][_0x4af26d(0x4bc)](null),this['_clearTimeoutTimer'](),this[_0x4af26d(0x33b)]();}[_0x3d192e(0x391)](){const _0x4a2537=_0x3d192e;var _0x3e0d57;this['_onOffline'](),this[_0x4a2537(0x1b3)]<((_0x3e0d57=this[_0x4a2537(0x295)][_0x4a2537(0x1aa)](fr))!=null?_0x3e0d57:vr)?(this[_0x4a2537(0x2e9)][_0x4a2537(0x4b4)]({'key':_0x4a2537(0x2c4),'type':_0x5b8609[_0x4a2537(0x208)],'content':this[_0x4a2537(0x32a)]['t'](_0x4a2537(0x3c3))}),this[_0x4a2537(0x575)]()):this[_0x4a2537(0x2e9)][_0x4a2537(0x4b4)]({'key':_0x4a2537(0x2c4),'type':_0x5b8609[_0x4a2537(0x1d0)],'content':this[_0x4a2537(0x32a)]['t']('session.connection-failed')});}[_0x3d192e(0x24c)](){const _0x79b644=_0x3d192e,_0x4002c7=()=>{this['_socket']||this['reconnect']();},_0x1ac22c=()=>{const _0x59526a=_0x1083;this[_0x59526a(0x191)]||document['visibilityState']===_0x59526a(0x245)||this[_0x59526a(0x1db)]();};window[_0x79b644(0x4ee)]('online',_0x4002c7),document[_0x79b644(0x4ee)](_0x79b644(0x52a),_0x1ac22c);}[_0x3d192e(0x575)](){const _0x16fd91=_0x3d192e;var _0x1ca906;const _0x4e389b=this['_retryCount'],_0x3cac70=this[_0x16fd91(0x295)][_0x16fd91(0x1aa)](ie),_0x5af570=_0x4e389b===0x0?0x0:((_0x1ca906=_0x3cac70==null?void 0x0:_0x3cac70[_0x16fd91(0x472)])!=null?_0x1ca906:dr)*0x2**_0x4e389b;this['_retryConnectingTimer']=window['setTimeout'](()=>{const _0x3beb8b=_0x16fd91;clearTimeout(this[_0x3beb8b(0x19d)]),this[_0x3beb8b(0x19d)]=null,this['_tryEnsureSocket']();},_0x5af570),this[_0x16fd91(0x1b3)]+=0x1;}[_0x3d192e(0x451)](_0x80d4d7,_0x15a928){const _0x110047=_0x3d192e,{cmd:_0x5c6ad1}=_0x15a928;_0x5c6ad1===W[_0x110047(0x4d9)]&&!this[_0x110047(0x244)]&&(_0x80d4d7[_0x110047(0x1ec)]=_0x15a928[_0x110047(0x383)][_0x110047(0x1ec)],this[_0x110047(0x409)][_0x110047(0x4bc)](_0x80d4d7),this['_status$']['next'](ve[_0x110047(0x2c3)]),this[_0x110047(0x244)]=!0x0,this[_0x110047(0x1e4)]=null),_0x5c6ad1===W['HEARTBEAT']&&this[_0x110047(0x420)](),this[_0x110047(0x493)]();}['_rescheduleHeartbeat'](){const _0x211cf3=_0x3d192e;var _0x3b8374;this[_0x211cf3(0x33b)](),this[_0x211cf3(0x215)]=window['setTimeout'](()=>this['_sendHeartbeat'](),(_0x3b8374=this[_0x211cf3(0x295)][_0x211cf3(0x1aa)](_r))!=null?_0x3b8374:ur);}[_0x3d192e(0x52b)](){const _0xa4e04d=_0x3d192e;this[_0xa4e04d(0x191)][_0xa4e04d(0x214)]({'cmd':W[_0xa4e04d(0x220)]}),this[_0xa4e04d(0x484)]();}['_waitForHeartbeatResponse'](){const _0x15b568=_0x3d192e;var _0x34ef09;this[_0x15b568(0x3d9)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x34ef09=this[_0x15b568(0x295)]['getConfig'](bi))!=null?_0x34ef09:Ti);}[_0x3d192e(0x33b)](){const _0x2c0186=_0x3d192e;this[_0x2c0186(0x215)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x490e98=_0x3d192e;this[_0x490e98(0x3d9)]!=null&&(clearTimeout(this[_0x490e98(0x3d9)]),this['_timeoutTimer']=null);}};Ae=Br([je(0x0,_0x435342(_0x5a18dc)),je(0x1,_0x435342(_0xef493b)),je(0x2,_0x11ef1f),je(0x3,_0x25772e),je(0x4,_0x1b2eff),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y['push']((Nt+0x100)[_0x3d192e(0x504)](0x10)[_0x3d192e(0x3ca)](0x1));function kr(_0xc8bcb7,_0x21ca80=0x0){const _0x319d1c=_0x3d192e;return(Y[_0xc8bcb7[_0x21ca80+0x0]]+Y[_0xc8bcb7[_0x21ca80+0x1]]+Y[_0xc8bcb7[_0x21ca80+0x2]]+Y[_0xc8bcb7[_0x21ca80+0x3]]+'-'+Y[_0xc8bcb7[_0x21ca80+0x4]]+Y[_0xc8bcb7[_0x21ca80+0x5]]+'-'+Y[_0xc8bcb7[_0x21ca80+0x6]]+Y[_0xc8bcb7[_0x21ca80+0x7]]+'-'+Y[_0xc8bcb7[_0x21ca80+0x8]]+Y[_0xc8bcb7[_0x21ca80+0x9]]+'-'+Y[_0xc8bcb7[_0x21ca80+0xa]]+Y[_0xc8bcb7[_0x21ca80+0xb]]+Y[_0xc8bcb7[_0x21ca80+0xc]]+Y[_0xc8bcb7[_0x21ca80+0xd]]+Y[_0xc8bcb7[_0x21ca80+0xe]]+Y[_0xc8bcb7[_0x21ca80+0xf]])[_0x319d1c(0x403)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x1f04b0=_0x3d192e;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x1f04b0(0x486)]&&crypto[_0x1f04b0(0x486)]['bind'](crypto),!ct))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x3d192e(0x58f)]&&crypto[_0x3d192e(0x58f)][_0x3d192e(0x59a)](crypto);const js={'randomUUID':Vr};function Gr(_0x526a56,_0xd5bb1b,_0x42a4be){const _0x47bf44=_0x3d192e;if(js[_0x47bf44(0x58f)]&&!_0xd5bb1b&&!_0x526a56)return js[_0x47bf44(0x58f)]();_0x526a56=_0x526a56||{};var _0xf95bc9=_0x526a56[_0x47bf44(0x36d)]||(_0x526a56['rng']||Fr)();return _0xf95bc9[0x6]=_0xf95bc9[0x6]&0xf|0x40,_0xf95bc9[0x8]=_0xf95bc9[0x8]&0x3f|0x80,kr(_0xf95bc9);}var Yr=Object[_0x3d192e(0x494)],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x57ccd1,_0x5b353c,_0x4522d5,_0x11a1dd)=>{for(var _0x289e44=_0x11a1dd>0x1?void 0x0:_0x11a1dd?Kr(_0x5b353c,_0x4522d5):_0x5b353c,_0x4fb832=_0x57ccd1['length']-0x1,_0xb594db;_0x4fb832>=0x0;_0x4fb832--)(_0xb594db=_0x57ccd1[_0x4fb832])&&(_0x289e44=(_0x11a1dd?_0xb594db(_0x5b353c,_0x4522d5,_0x289e44):_0xb594db(_0x289e44))||_0x289e44);return _0x11a1dd&&_0x289e44&&Yr(_0x5b353c,_0x4522d5,_0x289e44),_0x289e44;},At=(_0x3a97b8,_0xb0e12c)=>(_0x1e84de,_0x22b441)=>_0xb0e12c(_0x1e84de,_0x22b441,_0x3a97b8);let vt=class{constructor(_0x3a24b9,_0xaacc8c,_0x1d5589){const _0x3d5520=_0x3d192e;this[_0x3d5520(0x329)]=_0x3a24b9,this[_0x3d5520(0x4a8)]=_0xaacc8c,this[_0x3d5520(0x361)]=_0x1d5589;}[_0x3d192e(0x4f0)](_0x2fd38b){const _0x571bf7=_0x3d192e;this[_0x571bf7(0x1c5)](_0x2fd38b),this[_0x571bf7(0x4ae)](_0x2fd38b);}['transformRemoteChangeset'](_0x448ee2){const _0x4110d6=_0x3d192e,{unitID:_0x2bb9d1}=_0x448ee2,_0x5ee195=this[_0x4110d6(0x361)][_0x4110d6(0x5a1)](_0x2bb9d1)[_0x4110d6(0x51d)](_0x357b66),{redoCache:_0x3cab20}=_0x5ee195[_0x4110d6(0x31c)]();if(_0x3cab20[_0x4110d6(0x4e9)]===0x0)return _0x448ee2;let _0x44f158=_0x28e921[_0x4110d6(0x236)](_0x448ee2[_0x4110d6(0x547)][0x0]);for(let _0x39ea39=0x0;_0x39ea39<_0x3cab20[_0x4110d6(0x4e9)];_0x39ea39++){const _0xc30d8b={'id':_0x4110d6(0x408),'params':{..._0x3cab20[_0x39ea39]}},_0x4dc470=this[_0x4110d6(0x4a8)][_0x4110d6(0x582)](_0x44f158,_0xc30d8b,!0x1);if(_0x19a818(_0x4dc470))throw _0x4dc470[_0x4110d6(0x4f4)];_0x44f158=_0x4dc470[_0x4110d6(0x4dc)];}return{..._0x28e921['deepClone'](_0x448ee2),'mutations':[_0x44f158]};}[_0x3d192e(0x1c5)](_0x4505c4){const _0x2fc2e0=_0x3d192e,{unitID:_0x2473d0}=_0x4505c4,_0x3d5450=this[_0x2fc2e0(0x361)][_0x2fc2e0(0x5a1)](_0x2473d0)['with'](_0x357b66),{undoCache:_0x59e2c5,redoCache:_0x2e861e}=_0x3d5450[_0x2fc2e0(0x31c)]();if(_0x59e2c5[_0x2fc2e0(0x4e9)]===0x0||_0x2e861e[_0x2fc2e0(0x4e9)]===0x0)return;const _0x3c76f0=[],_0x13a2cb=[];let _0x4f37f9=_0x28e921[_0x2fc2e0(0x236)](_0x4505c4[_0x2fc2e0(0x547)][0x0]),_0x19628d=_0x28e921[_0x2fc2e0(0x236)](_0x4505c4[_0x2fc2e0(0x547)][0x0]);for(let _0x16d7d8=_0x59e2c5[_0x2fc2e0(0x4e9)]-0x1;_0x16d7d8>=0x0;_0x16d7d8--){const _0x29ce49={'id':_0x2fc2e0(0x408),'params':{..._0x59e2c5[_0x16d7d8]}},_0x32d698={'id':'doc.mutation.rich-text-editing','params':{..._0x2e861e[_0x16d7d8]}},_0x287b6b=this[_0x2fc2e0(0x4a8)][_0x2fc2e0(0x582)](_0x4f37f9,_0x29ce49,!0x1),_0x218380=this['_transformService']['transformMutation'](_0x19628d,_0x32d698,!0x1);if(_0x19a818(_0x287b6b))throw _0x287b6b[_0x2fc2e0(0x4f4)];if(_0x19a818(_0x218380))throw _0x218380[_0x2fc2e0(0x4f4)];_0x3c76f0[_0x2fc2e0(0x239)](_0x287b6b[_0x2fc2e0(0x227)][_0x2fc2e0(0x59e)]),_0x13a2cb[_0x2fc2e0(0x239)](_0x218380[_0x2fc2e0(0x227)][_0x2fc2e0(0x59e)]),_0x4f37f9=_0x287b6b[_0x2fc2e0(0x4dc)],_0x19628d=_0x218380[_0x2fc2e0(0x4dc)];}_0x3d5450[_0x2fc2e0(0x536)]({'undoCache':_0x3c76f0,'redoCache':_0x13a2cb});}[_0x3d192e(0x4ae)](_0x201b7e){const _0x21b139=_0x3d192e,{unitID:_0x5eaa0e}=_0x201b7e,_0x32f514=this[_0x21b139(0x361)][_0x21b139(0x5a1)](_0x5eaa0e)['with'](_0x357b66),_0x306342=_0x32f514[_0x21b139(0x346)]();if(_0x306342==null)return;const _0x1bcfe0=[{'id':_0x21b139(0x408),'params':{'unitId':_0x201b7e['unitID'],'actions':null,'textRanges':[_0x306342]}}],_0x4cdb9f=this[_0x21b139(0x4a8)][_0x21b139(0x3d0)](_0x201b7e,_0x1bcfe0);if(!_0x4b9a49(_0x4cdb9f))throw _0x4cdb9f['error'];const _0x14a59f=_0x4cdb9f[_0x21b139(0x227)][0x0]['params'][_0x21b139(0x3df)];Array[_0x21b139(0x350)](_0x14a59f)&&_0x14a59f[_0x21b139(0x4e9)]&&_0x32f514[_0x21b139(0x3e2)](_0x14a59f[0x0]);}};vt=zr([At(0x0,_0x435342(_0x5a18dc)),At(0x1,_0x238f3d),At(0x2,_0x1d562c)],vt);var qr=Object[_0x3d192e(0x494)],Xr=Object[_0x3d192e(0x3e5)],Jr=(_0x519492,_0x47d09d,_0x38335f,_0x28d124)=>{const _0x1621b6=_0x3d192e;for(var _0x422e55=_0x28d124>0x1?void 0x0:_0x28d124?Xr(_0x47d09d,_0x38335f):_0x47d09d,_0x57e788=_0x519492[_0x1621b6(0x4e9)]-0x1,_0x531628;_0x57e788>=0x0;_0x57e788--)(_0x531628=_0x519492[_0x57e788])&&(_0x422e55=(_0x28d124?_0x531628(_0x47d09d,_0x38335f,_0x422e55):_0x531628(_0x422e55))||_0x422e55);return _0x28d124&&_0x422e55&&qr(_0x47d09d,_0x38335f,_0x422e55),_0x422e55;},Xe=(_0x1757ee,_0x420377)=>(_0x320a97,_0x11d7d6)=>_0x420377(_0x320a97,_0x11d7d6,_0x1757ee);let q=class extends _0x1b81eb{constructor(_0x4ecb7b,_0x3f070c,_0x7e3391,_0x370667,_0x19fe87){const _0x5dade8=_0x3d192e;super(),g(this,_0x5dade8(0x24a),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x5dade8(0x535),!0x1),(this[_0x5dade8(0x295)]=_0x4ecb7b,this['_localStorageService']=_0x3f070c,this[_0x5dade8(0x243)]=_0x7e3391,this[_0x5dade8(0x32a)]=_0x370667,this[_0x5dade8(0x3cd)]=_0x19fe87,this[_0x5dade8(0x31a)]());}[_0x3d192e(0x4d8)](){const _0x47813c=_0x3d192e;this[_0x47813c(0x535)]=!0x0;}[_0x3d192e(0x31e)](){const _0x3301a6=_0x3d192e;this[_0x3301a6(0x535)]=!0x1;}[_0x3d192e(0x228)](){const _0x57af4e=_0x3d192e;this['exhaustSavingTask']()[_0x57af4e(0x429)](()=>super[_0x57af4e(0x228)]());}async['loadOfflineData'](_0x49fe86){const _0x188b75=_0x3d192e;return this[_0x188b75(0x535)]?null:this[_0x188b75(0x51a)]['getItem'](Bs(_0x49fe86));}async[_0x3d192e(0x200)](_0x2956b3,_0x13c22d){const _0x1442fc=_0x3d192e;return!!this[_0x1442fc(0x51a)][_0x1442fc(0x4c5)](_0x2956b3,_0x13c22d);}[_0x3d192e(0x1ed)](_0x1ec438,_0x1afd64,_0x111210,_0x41270a){const _0x4bf5f4=_0x3d192e,_0x1bd998=this[_0x4bf5f4(0x3cd)][_0x4bf5f4(0x568)](_0x1ec438);this[_0x4bf5f4(0x24a)]['set'](_0x1ec438,{'unitID':_0x1ec438,'type':_0x1afd64,'awaitingChangeset':_0x111210,'mutations':_0x41270a,'rev':_0x1bd998}),this[_0x4bf5f4(0x23e)]['has'](_0x1ec438)||this[_0x4bf5f4(0x3a4)](_0x1ec438);}[_0x3d192e(0x3a4)](_0x5521e2){const _0x26a140=_0x3d192e,_0x4e8fce=this[_0x26a140(0x4db)]();_0x4e8fce===0x0?this[_0x26a140(0x558)](_0x5521e2):this[_0x26a140(0x23e)][_0x26a140(0x467)](_0x5521e2,setTimeout(()=>this[_0x26a140(0x558)](_0x5521e2),_0x4e8fce));}[_0x3d192e(0x4db)](){const _0x588fb5=_0x3d192e;var _0x281237;return(_0x281237=this[_0x588fb5(0x295)][_0x588fb5(0x1aa)](mr))!=null?_0x281237:pr;}[_0x3d192e(0x558)](_0x55393e){const _0x168fab=_0x3d192e,_0x4a8b66=this[_0x168fab(0x23e)][_0x168fab(0x47d)](_0x55393e);return _0x4a8b66!==void 0x0&&window[_0x168fab(0x210)](_0x4a8b66),this[_0x168fab(0x51a)][_0x168fab(0x4c5)](Bs(_0x55393e),this[_0x168fab(0x24a)][_0x168fab(0x47d)](_0x55393e))[_0x168fab(0x429)](()=>this['_saveTaskMap']['delete'](_0x55393e));}async['exhaustSavingTask'](){const _0x2ed16e=_0x3d192e,_0x2f1428=[];this[_0x2ed16e(0x23e)][_0x2ed16e(0x253)]((_0x1bb869,_0x42a0d3)=>{const _0x3c14c7=_0x2ed16e;window[_0x3c14c7(0x210)](_0x1bb869),_0x2f1428[_0x3c14c7(0x24b)](this[_0x3c14c7(0x558)](_0x42a0d3)[_0x3c14c7(0x429)](()=>{const _0x4704bc=_0x3c14c7;this[_0x4704bc(0x23e)]['delete'](_0x42a0d3);}));}),await Promise[_0x2ed16e(0x56f)](_0x2f1428);}[_0x3d192e(0x31a)](){const _0x7c8837=_0x3d192e;this['disposeWithMe'](this[_0x7c8837(0x243)][_0x7c8837(0x57b)](()=>{const _0xe068a4=_0x7c8837;if(this[_0xe068a4(0x23e)][_0xe068a4(0x549)])return this[_0xe068a4(0x32a)]['t'](_0xe068a4(0x3b3));}));}};q=Jr([Xe(0x0,_0x1b2eff),Xe(0x1,_0x41aee6),Xe(0x2,_0x4a45c6),Xe(0x3,_0x435342(_0xef493b)),Xe(0x4,_0x435342(_0x18ab34))],q);function Bs(_0x13dacd){const _0x330c89=_0x3d192e;return _0x330c89(0x37c)+_0x13dacd;}var Zr=Object[_0x3d192e(0x494)],Qr=Object[_0x3d192e(0x3e5)],eo=(_0x172414,_0x1afa91,_0x1b151f,_0x42cb71)=>{const _0x46016=_0x3d192e;for(var _0x353c80=_0x42cb71>0x1?void 0x0:_0x42cb71?Qr(_0x1afa91,_0x1b151f):_0x1afa91,_0xd48293=_0x172414[_0x46016(0x4e9)]-0x1,_0x453985;_0xd48293>=0x0;_0xd48293--)(_0x453985=_0x172414[_0xd48293])&&(_0x353c80=(_0x42cb71?_0x453985(_0x1afa91,_0x1b151f,_0x353c80):_0x453985(_0x353c80))||_0x353c80);return _0x42cb71&&_0x353c80&&Zr(_0x1afa91,_0x1b151f,_0x353c80),_0x353c80;},Mt=(_0x56b561,_0x2f8610)=>(_0x4e1884,_0x1226d0)=>_0x2f8610(_0x4e1884,_0x1226d0,_0x56b561);function to(_0x5a7104){const _0x132cf2=_0x3d192e,{unitID:_0x5b502c,mutations:_0x29c8b8}=_0x5a7104;return{'unitId':_0x5b502c,'subUnitId':_0x29c8b8[0x0][_0x132cf2(0x59e)]['subUnitId']};}let mt=class{constructor(_0x173f66,_0x3a0eef,_0x41366b){const _0xde812e=_0x3d192e;this[_0xde812e(0x329)]=_0x173f66,this[_0xde812e(0x4a8)]=_0x3a0eef,this[_0xde812e(0x363)]=_0x41366b;}['transformSelections'](_0x194637){const _0x25187f=_0x3d192e;var _0x4a9226,_0x5bacbb,_0x91fb93,_0x52c013;const _0x500248=this[_0x25187f(0x329)]['get'](_0x3c9037),{unitId:_0x3d5e41,subUnitId:_0x23f0d0}=to(_0x194637),_0x4b881c=_0x500248[_0x25187f(0x39b)](_0x3d5e41)[_0x25187f(0x552)](),_0xe2e534=(_0x5bacbb=(_0x4a9226=this['_instanceService'][_0x25187f(0x516)](_0x3d5e41))==null?void 0x0:_0x4a9226[_0x25187f(0x3f6)]())==null?void 0x0:_0x5bacbb['getSheetId']();if(_0x4b881c['length']===0x0||!_0x3d5e41||!_0x23f0d0)return;const _0xeea35c=[{'id':_0x8e9493['id'],'params':{'unitId':_0x3d5e41,'subUnitId':_0xe2e534,'selections':_0x28e921[_0x25187f(0x236)](_0x4b881c)}}],_0x1d21bc=this['_transformService'][_0x25187f(0x3d0)](_0x194637,_0xeea35c);if(!_0x4b9a49(_0x1d21bc))throw _0x1d21bc[_0x25187f(0x4f4)];const _0x264ebd=(_0x52c013=(_0x91fb93=_0x1d21bc[_0x25187f(0x227)][0x0])==null?void 0x0:_0x91fb93['params'])==null?void 0x0:_0x52c013['selections'];if(Array[_0x25187f(0x350)](_0x264ebd)&&_0x264ebd[_0x25187f(0x4e9)]){if(_0x264ebd[_0x25187f(0x4e9)]===_0xeea35c[0x0][_0x25187f(0x59e)][_0x25187f(0x450)][_0x25187f(0x4e9)]&&_0x264ebd[_0x25187f(0x5a4)]((_0x56e2f7,_0x391538)=>_0x44b24e['equals'](_0x56e2f7[_0x25187f(0x2d4)],_0xeea35c[0x0][_0x25187f(0x59e)][_0x25187f(0x450)][_0x391538][_0x25187f(0x2d4)])))return;this[_0x25187f(0x329)][_0x25187f(0x47d)](_0x4d4125)[_0x25187f(0x3b1)](_0x8e9493['id'],{'unitId':_0x3d5e41,'subUnitId':_0xe2e534,'selections':_0x264ebd});}}};mt=eo([Mt(0x0,_0x435342(_0x5a18dc)),Mt(0x1,_0x238f3d),Mt(0x2,_0x405019)],mt);const yt=_0x1ee28b(_0x3d192e(0x1f7));var Di=(_0x158abe=>(_0x158abe[_0x158abe[_0x3d192e(0x37b)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x158abe[_0x158abe[_0x3d192e(0x1ee)]=0x1]=_0x3d192e(0x1ee),_0x158abe))(Di||{});const ks=0x7530,Ws=_0x3d192e(0x45e);class so extends _0x1b81eb{constructor(){const _0x4ec713=_0x3d192e;super(),g(this,_0x4ec713(0x434),_0x28e921[_0x4ec713(0x193)]()),g(this,_0x4ec713(0x4e1),new Set()),g(this,'_unitOnClients',new Map()),g(this,_0x4ec713(0x2a4),null),g(this,_0x4ec713(0x560),new Map()),g(this,_0x4ec713(0x426),new Map()),this[_0x4ec713(0x20a)]();}[_0x3d192e(0x228)](){const _0x41ce6e=_0x3d192e;super[_0x41ce6e(0x228)](),this[_0x41ce6e(0x560)][_0x41ce6e(0x253)]((_0x55ae73,_0x46bdf1)=>this[_0x41ce6e(0x50a)](_0x46bdf1)),this[_0x41ce6e(0x2a4)]&&window['clearInterval'](this[_0x41ce6e(0x2a4)]);}[_0x3d192e(0x543)](_0x28c191){const _0x48e701=_0x3d192e;return this[_0x48e701(0x53a)](_0x28c191)[_0x48e701(0x407)](_0x432dfd());}[_0x3d192e(0x1b6)](_0x5c5eb9){const _0x1a4987=_0x3d192e;this[_0x1a4987(0x4e1)]['size']===0x0&&this[_0x1a4987(0x41a)](),this['_selfUnitIDs'][_0x1a4987(0x4f2)](_0x5c5eb9),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5c5eb9],'isForwarded':!0x1});}[_0x3d192e(0x3d7)](_0x11deef){const _0x4f6b55=_0x3d192e;this[_0x4f6b55(0x4e1)][_0x4f6b55(0x2cc)](_0x11deef),this[_0x4f6b55(0x4e1)][_0x4f6b55(0x549)]===0x0&&this[_0x4f6b55(0x2a4)]&&window[_0x4f6b55(0x198)](this['_heartbeatTimer']);}['_init'](){const _0x315c4b=_0x3d192e;this[_0x315c4b(0x2f7)](_0x30963a(_0x2f7e2c(window,_0x315c4b(0x520))['subscribe'](_0x4593d8=>{const _0x39ea68=_0x315c4b;if(_0x4593d8[_0x39ea68(0x1b1)]!==Ws||!_0x4593d8['newValue'])return;const _0x19b7e4=JSON[_0x39ea68(0x4da)](_0x4593d8['newValue']);this[_0x39ea68(0x5a2)](_0x19b7e4);}))),window[_0x315c4b(0x4ee)](_0x315c4b(0x297),()=>this[_0x315c4b(0x28e)]({'type':0x1,'memberID':this[_0x315c4b(0x434)],'unitIDs':Array[_0x315c4b(0x47e)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x51c407){const _0x33886c=_0x3d192e;switch(_0x51c407[_0x33886c(0x34e)]){case 0x0:this[_0x33886c(0x29b)](_0x51c407);break;case 0x1:this[_0x33886c(0x296)](_0x51c407);break;case 0x2:this[_0x33886c(0x2a6)](_0x51c407);break;}}[_0x3d192e(0x29b)](_0x1223f5){const _0x22dc87=_0x3d192e,{unitIDs:_0x4d935b,memberID:_0x239970,isForwarded:_0x326024}=_0x1223f5;_0x4d935b[_0x22dc87(0x253)](_0x4854b7=>{const _0x14b3fd=_0x22dc87;if(!_0x326024&&this[_0x14b3fd(0x3ef)][_0x14b3fd(0x476)](_0x4854b7)&&this['_ensureSubject'](_0x4854b7)[_0x14b3fd(0x4bc)](0x1),!this[_0x14b3fd(0x3ef)]['has'](_0x4854b7)||!this[_0x14b3fd(0x3ef)][_0x14b3fd(0x47d)](_0x4854b7)[_0x14b3fd(0x476)](_0x239970)){const _0x3c77f8=this[_0x14b3fd(0x3ef)]['get'](_0x4854b7)||new Set();_0x3c77f8[_0x14b3fd(0x4f2)](_0x239970),this[_0x14b3fd(0x3ef)]['set'](_0x4854b7,_0x3c77f8),this[_0x14b3fd(0x3b6)](_0x239970);}}),_0x326024||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x22dc87(0x4e1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4bf915){const _0xd57c26=_0x3d192e;this[_0xd57c26(0x50a)](_0x4bf915);const _0x564416=window[_0xd57c26(0x3f8)](()=>{const _0x22e60e=_0xd57c26;this[_0x22e60e(0x3ef)][_0x22e60e(0x253)](_0x2f9bf9=>{const _0x6dd2fd=_0x22e60e;_0x2f9bf9[_0x6dd2fd(0x2cc)](_0x4bf915);});},ks*0x2);this['_clearOtherTimers'][_0xd57c26(0x467)](_0x4bf915,_0x564416);}[_0x3d192e(0x50a)](_0x417528){const _0x34e69f=_0x3d192e;if(this[_0x34e69f(0x560)][_0x34e69f(0x476)](_0x417528)){const _0x5835c0=this[_0x34e69f(0x560)][_0x34e69f(0x47d)](_0x417528);_0x5835c0&&window[_0x34e69f(0x210)](_0x5835c0),this[_0x34e69f(0x560)][_0x34e69f(0x467)](_0x417528,null);}}[_0x3d192e(0x296)](_0x1af05e){const _0x1a470b=_0x3d192e,{memberID:_0xf845f1,unitIDs:_0x445f24}=_0x1af05e;_0x445f24[_0x1a470b(0x253)](_0x29e86b=>{const _0x5d7045=_0x1a470b;var _0x297329;const _0x4be2e4=this['_unitOnClients'][_0x5d7045(0x47d)](_0x29e86b);_0x4be2e4&&(_0x4be2e4[_0x5d7045(0x2cc)](_0xf845f1),(_0x297329=this[_0x5d7045(0x53a)](_0x29e86b))==null||_0x297329[_0x5d7045(0x4bc)](_0x4be2e4[_0x5d7045(0x549)]===0x0?0x0:0x1));}),this[_0x1a470b(0x50a)](_0xf845f1);}[_0x3d192e(0x2a6)](_0xc64716){const _0x45403f=_0x3d192e;this['_scheduleClearOtherTimer'](_0xc64716[_0x45403f(0x1ec)]);}['_send'](_0x3e144f){const _0x5bbef5=_0x3d192e;localStorage[_0x5bbef5(0x4c5)](Ws,JSON['stringify'](_0x3e144f));}[_0x3d192e(0x41a)](){const _0x39ed01=_0x3d192e;this['_heartbeatTimer']=window[_0x39ed01(0x461)](()=>{const _0x47e1af=_0x39ed01;this[_0x47e1af(0x28e)]({'type':0x2,'memberID':this[_0x47e1af(0x434)]});},ks);}['_ensureSubject'](_0x5d3b6d){const _0x45c9d5=_0x3d192e;return this[_0x45c9d5(0x426)][_0x45c9d5(0x476)](_0x5d3b6d)||this[_0x45c9d5(0x426)][_0x45c9d5(0x467)](_0x5d3b6d,new _0x1d58dd(0x0)),this[_0x45c9d5(0x426)]['get'](_0x5d3b6d);}}var io=Object['defineProperty'],no=Object[_0x3d192e(0x3e5)],ro=(_0x6763b0,_0x2b0a1b,_0x4f0177,_0x267592)=>{for(var _0x35b215=_0x267592>0x1?void 0x0:_0x267592?no(_0x2b0a1b,_0x4f0177):_0x2b0a1b,_0x298c22=_0x6763b0['length']-0x1,_0x358cae;_0x298c22>=0x0;_0x298c22--)(_0x358cae=_0x6763b0[_0x298c22])&&(_0x35b215=(_0x267592?_0x358cae(_0x2b0a1b,_0x4f0177,_0x35b215):_0x358cae(_0x35b215))||_0x35b215);return _0x267592&&_0x35b215&&io(_0x2b0a1b,_0x4f0177,_0x35b215),_0x35b215;},xt=(_0x5b8258,_0x4f5f79)=>(_0x184ac0,_0x488375)=>_0x4f5f79(_0x184ac0,_0x488375,_0x5b8258);let pt=class{constructor(_0x1633a1,_0xc00c2c,_0x324d6c){const _0x4f9602=_0x3d192e;this[_0x4f9602(0x329)]=_0x1633a1,this[_0x4f9602(0x4a8)]=_0xc00c2c,this[_0x4f9602(0x478)]=_0x324d6c;}[_0x3d192e(0x2aa)](_0x4fd104){this['_transformHistoryAndStateStack'](_0x4fd104);}[_0x3d192e(0x1b9)](_0x769be9){const _0xa585c5=_0x3d192e,{unitID:_0x23df5c}=_0x769be9,{collaboration:_0x5b01a9}=this[_0xa585c5(0x478)][_0xa585c5(0x18f)](_0x23df5c);if(_0x5b01a9[_0xa585c5(0x4e9)]===0x0)return _0x769be9;let _0x4ebe17=_0x28e921[_0xa585c5(0x236)](_0x769be9['mutations'][0x0]);for(let _0x2910f2=0x0;_0x2910f2<_0x5b01a9[_0xa585c5(0x4e9)];_0x2910f2++){const _0x3aef3c={'id':_0xa585c5(0x408),'params':{'unitId':_0x5b01a9[_0x2910f2]['unitId'],..._0x5b01a9[_0x2910f2][_0xa585c5(0x563)]}},_0x30807e=this[_0xa585c5(0x4a8)][_0xa585c5(0x582)](_0x4ebe17,_0x3aef3c,!0x1);if(_0x19a818(_0x30807e))throw _0x30807e[_0xa585c5(0x4f4)];_0x4ebe17=_0x30807e['m1Prime'];}return{..._0x28e921['deepClone'](_0x769be9),'mutations':[_0x4ebe17]};}['_transformHistoryAndStateStack'](_0x585ad2){const _0x2ba7a5=_0x3d192e,{unitID:_0x22384b}=_0x585ad2,{history:_0x21a8df,collaboration:_0x887adb}=this['_docStateChangeManagerService'][_0x2ba7a5(0x18f)](_0x22384b);if(_0x21a8df[_0x2ba7a5(0x4e9)]===0x0&&_0x887adb[_0x2ba7a5(0x4e9)]===0x0)return;const _0x3f147e=[],_0x126b31=[];let _0xc3558e=_0x28e921['deepClone'](_0x585ad2[_0x2ba7a5(0x547)][0x0]),_0x276fe1=_0x28e921[_0x2ba7a5(0x236)](_0x585ad2['mutations'][0x0]);for(let _0xcc1bd2=_0x21a8df[_0x2ba7a5(0x4e9)]-0x1;_0xcc1bd2>=0x0;_0xcc1bd2--){const _0x3efb10={'id':_0x2ba7a5(0x408),'params':{'unitId':_0x21a8df[_0xcc1bd2][_0x2ba7a5(0x488)],..._0x21a8df[_0xcc1bd2][_0x2ba7a5(0x368)]}},_0x2151e5={'id':_0x2ba7a5(0x408),'params':{'unitId':_0x21a8df[_0xcc1bd2]['unitId'],..._0x21a8df[_0xcc1bd2]['redoState']}},_0x26bcac=this['_transformService']['transformMutation'](_0xc3558e,_0x3efb10,!0x1),_0x22a8b4=this['_transformService']['transformMutation'](_0x276fe1,_0x2151e5,!0x1);if(_0x19a818(_0x26bcac))throw _0x26bcac[_0x2ba7a5(0x4f4)];if(_0x19a818(_0x22a8b4))throw _0x22a8b4[_0x2ba7a5(0x4f4)];_0x3f147e[_0x2ba7a5(0x239)]({..._0x21a8df[_0xcc1bd2],'undoState':_0x26bcac['m2Prime'][_0x2ba7a5(0x59e)],'redoState':_0x22a8b4[_0x2ba7a5(0x227)]['params']}),_0xc3558e=_0x26bcac[_0x2ba7a5(0x4dc)],_0x276fe1=_0x22a8b4[_0x2ba7a5(0x4dc)];}_0xc3558e=_0x28e921[_0x2ba7a5(0x236)](_0x585ad2[_0x2ba7a5(0x547)][0x0]),_0x276fe1=_0x28e921[_0x2ba7a5(0x236)](_0x585ad2['mutations'][0x0]);for(let _0x31bd5f=_0x887adb[_0x2ba7a5(0x4e9)]-0x1;_0x31bd5f>=0x0;_0x31bd5f--){const _0x4c9178={'id':_0x2ba7a5(0x408),'params':{'unitId':_0x887adb[_0x31bd5f][_0x2ba7a5(0x488)],..._0x887adb[_0x31bd5f]['undoState']}},_0x769b4c={'id':_0x2ba7a5(0x408),'params':{'unitId':_0x887adb[_0x31bd5f]['unitId'],..._0x887adb[_0x31bd5f][_0x2ba7a5(0x563)]}},_0x4f3e66=this[_0x2ba7a5(0x4a8)][_0x2ba7a5(0x582)](_0xc3558e,_0x4c9178,!0x1),_0x4946e8=this[_0x2ba7a5(0x4a8)][_0x2ba7a5(0x582)](_0x276fe1,_0x769b4c,!0x1);if(_0x19a818(_0x4f3e66))throw _0x4f3e66['error'];if(_0x19a818(_0x4946e8))throw _0x4946e8[_0x2ba7a5(0x4f4)];_0x126b31[_0x2ba7a5(0x239)]({..._0x887adb[_0x31bd5f],'undoState':_0x4f3e66[_0x2ba7a5(0x227)]['params'],'redoState':_0x4946e8[_0x2ba7a5(0x227)][_0x2ba7a5(0x59e)]}),_0xc3558e=_0x4f3e66[_0x2ba7a5(0x4dc)],_0x276fe1=_0x4946e8['m1Prime'];}this[_0x2ba7a5(0x478)][_0x2ba7a5(0x221)](_0x22384b,{'history':_0x3f147e,'collaboration':_0x126b31});}};pt=ro([xt(0x0,_0x435342(_0x5a18dc)),xt(0x1,_0x238f3d),xt(0x2,_0x435342(_0x391d27))],pt);function Pi(_0x702771){let _0x4123b3='';for(const _0x4245cb of _0x702771){const {startOffset:_0x1c9057,endOffset:_0x408d79,isActive:_0x1266a9,rangeType:_0x193514,segmentId:_0x1920f0,segmentPage:_0x26c125}=_0x4245cb;_0x4123b3['length']&&(_0x4123b3+=','),_0x4123b3+=_0x1c9057+':'+_0x408d79+':'+(_0x1266a9?'1':'0')+':'+_0x193514+':'+_0x1920f0+':'+_0x26c125;}return _0x4123b3;}function oo(_0x4e35a6){const _0x3f5092=_0x3d192e,_0x1e327e=_0x4e35a6['split'](','),_0x151f2f=[];for(const _0x5c6ffa of _0x1e327e){const [_0x19977d,_0x753878,_0x4bb86e,_0x6fec97,_0x58561e,_0x514b02]=_0x5c6ffa['split'](':');_0x151f2f['push']({'startOffset':Number(_0x19977d),'endOffset':Number(_0x753878),'collapsed':_0x19977d===_0x753878,'isActive':_0x4bb86e==='1','rangeType':_0x6fec97===_0x30543d[_0x3f5092(0x41f)]?_0x30543d['TEXT']:_0x30543d[_0x3f5092(0x1d1)],'segmentId':typeof _0x58561e=='string'?String(_0x58561e):'','segmentPage':Number(_0x514b02!=null?_0x514b02:-0x1)});}return _0x151f2f[_0x3f5092(0x2ec)](_0xb1929f=>_0xb1929f['isActive'])||(_0x151f2f[0x0][_0x3f5092(0x257)]=!0x0),_0x151f2f;}class Cs extends _0x10cb26{constructor(){const _0x37d8c8=_0x3d192e;super(...arguments),g(this,_0x37d8c8(0x2b6),new _0x1d58dd(null)),g(this,_0x37d8c8(0x492),this['_collabCursorState$'][_0x37d8c8(0x194)]());}['syncEditingCollabCursor'](_0x165f0e){const _0xc0b524=_0x3d192e,{unitID:_0x56f5ab,memberID:_0x5cd991,textRanges:_0x3bcd5d}=_0x165f0e,_0x3391b2=Pi(_0x3bcd5d);if(_0x3391b2==='')return;const _0x3f8b17={'unitID':_0x56f5ab,'memberID':_0x5cd991,'selection':_0x3391b2};this[_0xc0b524(0x2b6)][_0xc0b524(0x4bc)](_0x3f8b17);}}var ao=Object[_0x3d192e(0x494)],co=Object['getOwnPropertyDescriptor'],ho=(_0x5e1534,_0x4bcf27,_0x57b932,_0x64f2ba)=>{const _0x2ec642=_0x3d192e;for(var _0x4ae335=_0x64f2ba>0x1?void 0x0:_0x64f2ba?co(_0x4bcf27,_0x57b932):_0x4bcf27,_0x574280=_0x5e1534[_0x2ec642(0x4e9)]-0x1,_0x2477dd;_0x574280>=0x0;_0x574280--)(_0x2477dd=_0x5e1534[_0x574280])&&(_0x4ae335=(_0x64f2ba?_0x2477dd(_0x4bcf27,_0x57b932,_0x4ae335):_0x2477dd(_0x4ae335))||_0x4ae335);return _0x64f2ba&&_0x4ae335&&ao(_0x4bcf27,_0x57b932,_0x4ae335),_0x4ae335;},Fs=(_0x2880b0,_0x57afba)=>(_0x4bc3b3,_0xfbd9f7)=>_0x57afba(_0x4bc3b3,_0xfbd9f7,_0x2880b0);let gt=class{constructor(_0x6143b2,_0x33da18){const _0x37245f=_0x3d192e;this[_0x37245f(0x329)]=_0x6143b2,this['_transformService']=_0x33da18;}['transformSelections'](_0x3e178e){const _0x4f8af9=_0x3d192e;var _0x3aa192;const _0x23cf92=this['_injector']['get'](_0x9ce9ab),_0x411aee=(_0x3aa192=_0x23cf92['getDocRanges']())!=null?_0x3aa192:[];if(_0x411aee[_0x4f8af9(0x4e9)]===0x0)return;const _0x28ddf6=[{'id':_0x4f8af9(0x408),'params':{'unitId':_0x3e178e[_0x4f8af9(0x1dc)],'actions':null,'textRanges':_0x411aee}}],_0x576c9b=this[_0x4f8af9(0x4a8)][_0x4f8af9(0x3d0)](_0x3e178e,_0x28ddf6);if(!_0x4b9a49(_0x576c9b))throw _0x576c9b[_0x4f8af9(0x4f4)];const _0x406be8=_0x576c9b[_0x4f8af9(0x227)][0x0]['params'][_0x4f8af9(0x3df)];Array[_0x4f8af9(0x350)](_0x406be8)&&_0x406be8[_0x4f8af9(0x4e9)]&&_0x23cf92[_0x4f8af9(0x41e)](_0x406be8,!0x1);}};gt=ho([Fs(0x0,_0x435342(_0x5a18dc)),Fs(0x1,_0x238f3d)],gt);const lo=new Set([_0x475c69['id']]);function Vs(_0x2f416b,_0x195171,_0x5cabd2,_0x56d232,_0x8febd8){const _0x225976=_0x3d192e;var _0x2d69da,_0x4a46a6,_0xb645c6,_0x1f686b;const _0x2d104c=[];for(const _0x402045 of _0x2f416b)if(lo[_0x225976(0x476)](_0x402045['id'])){if(_0x2d104c[_0x225976(0x4e9)]>0x0)break;_0x2d104c[_0x225976(0x24b)](_0x402045);break;}else _0x2d104c['push'](_0x402045);const _0x49d3e2=(_0x4a46a6=(_0x2d69da=_0x8febd8[_0x225976(0x2cd)]())==null?void 0x0:_0x2d69da[_0x225976(0x312)])!=null?_0x4a46a6:_0x225976(0x212),_0x49067a=(_0x1f686b=(_0xb645c6=_0x8febd8[_0x225976(0x2cd)]())==null?void 0x0:_0xb645c6['memberID'])!=null?_0x1f686b:'unknown';return{'changeset':{'unitID':_0x195171,'type':_0x278f99(_0x5cabd2[_0x225976(0x38c)](_0x195171)),'baseRev':_0x56d232[_0x225976(0x568)](_0x195171),'revision':0x0,'userID':_0x49d3e2,'memberID':_0x49067a,'mutations':_0x2d104c},'pendingMutations':_0x2f416b[_0x225976(0x3ca)](_0x2d104c['length'])};}function _o(_0x173077,_0x5b7fce,_0x56dd53,_0x17019c,_0x1dda20){const _0x2a8a44=_0x3d192e;var _0x56a5b2,_0x21d320,_0x3407a9,_0x421a88;const _0x4c8f82=[_0x173077[_0x2a8a44(0x36a)]((_0x33fc2a,_0x458fe3)=>{const _0x243a85=_0x2a8a44;var _0x588967;const {id:_0x29add1}=_0x33fc2a,{id:_0x53be0f,type:_0x1ecedc}=_0x458fe3,_0x2097f1=(_0x588967=_0x33fc2a[_0x243a85(0x59e)])!=null?_0x588967:{'actions':null},_0x1b1460=_0x458fe3[_0x243a85(0x59e)];if(_0x29add1&&_0x29add1!==_0x53be0f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x29add1+_0x243a85(0x2b0)+_0x53be0f+'.');return{..._0x33fc2a,'id':_0x53be0f,'type':_0x1ecedc,'params':{'unitId':_0x1b1460[_0x243a85(0x488)],'textRanges':_0x1b1460[_0x243a85(0x3df)],'actions':_0x1af5f2[_0x243a85(0x211)](_0x2097f1['actions'],_0x1b1460[_0x243a85(0x43c)])}};},{})],_0x28f198=(_0x21d320=(_0x56a5b2=_0x1dda20[_0x2a8a44(0x2cd)]())==null?void 0x0:_0x56a5b2[_0x2a8a44(0x312)])!=null?_0x21d320:'unknown',_0xfd90fb=(_0x421a88=(_0x3407a9=_0x1dda20[_0x2a8a44(0x2cd)]())==null?void 0x0:_0x3407a9[_0x2a8a44(0x1ec)])!=null?_0x421a88:_0x2a8a44(0x212);return{'changeset':{'unitID':_0x5b7fce,'type':_0x278f99(_0x56dd53[_0x2a8a44(0x38c)](_0x5b7fce)),'baseRev':_0x17019c['getCurrentRevOfUnit'](_0x5b7fce),'revision':0x0,'userID':_0x28f198,'memberID':_0xfd90fb,'mutations':_0x4c8f82},'pendingMutations':[]};}function Ui(_0x1815a5,_0x5b3dcd){const _0x1a6dea=_0x3d192e,_0x4845de=new _0x313804(0x1);return setTimeout(()=>_0x4845de[_0x1a6dea(0x4bc)](_0x5b3dcd),_0x1815a5),_0x4845de[_0x1a6dea(0x194)]()['pipe'](_0x543baa(0x1));}const uo={'id':_0x45cb2e['id'],'type':_0x8cff0f['MUTATION'],'params':{}};var fo=Object['defineProperty'],vo=Object[_0x3d192e(0x3e5)],Le=(_0x431b30,_0x159dfb,_0x42f9ef,_0x17e3fe)=>{const _0x3cadce=_0x3d192e;for(var _0x24c156=_0x17e3fe>0x1?void 0x0:_0x17e3fe?vo(_0x159dfb,_0x42f9ef):_0x159dfb,_0x5ab4dd=_0x431b30[_0x3cadce(0x4e9)]-0x1,_0x4c5efd;_0x5ab4dd>=0x0;_0x5ab4dd--)(_0x4c5efd=_0x431b30[_0x5ab4dd])&&(_0x24c156=(_0x17e3fe?_0x4c5efd(_0x159dfb,_0x42f9ef,_0x24c156):_0x4c5efd(_0x24c156))||_0x24c156);return _0x17e3fe&&_0x24c156&&fo(_0x159dfb,_0x42f9ef,_0x24c156),_0x24c156;},A=(_0xe38209,_0x37ac93)=>(_0x361570,_0x80b34b)=>_0x37ac93(_0x361570,_0x80b34b,_0xe38209),J=(_0x651981=>(_0x651981[_0x3d192e(0x2bd)]=_0x3d192e(0x2ae),_0x651981[_0x3d192e(0x307)]=_0x3d192e(0x359),_0x651981[_0x3d192e(0x267)]=_0x3d192e(0x2b7),_0x651981[_0x3d192e(0x3ce)]=_0x3d192e(0x2d8),_0x651981[_0x3d192e(0x344)]=_0x3d192e(0x514),_0x651981[_0x3d192e(0x463)]=_0x3d192e(0x4dd),_0x651981['CONFLICT']=_0x3d192e(0x1d7),_0x651981[_0x3d192e(0x3fe)]=_0x3d192e(0x3dd),_0x651981))(J||{});const Ni=0xea60;class $e{constructor(_0x3a0d5c,_0x4bcebc,_0x935f09,_0x106540,_0x31f7db,_0x24f67a,_0x47dfd5,_0x3d6956,_0x2b149d){const _0x3a7994=_0x3d192e;g(this,_0x3a7994(0x1ae),null),g(this,'_pendingMutations',[]),(this[_0x3a7994(0x1dc)]=_0x3a0d5c,this['type']=_0x4bcebc,this[_0x3a7994(0x3a9)]=_0x31f7db,this[_0x3a7994(0x2d5)]=_0x24f67a,this[_0x3a7994(0x3be)]=_0x47dfd5,this[_0x3a7994(0x3cd)]=_0x3d6956,this['_localCacheService']=_0x2b149d,this[_0x3a7994(0x1ae)]=_0x935f09,this[_0x3a7994(0x4e7)]=_0x106540);}[_0x3d192e(0x2f1)](_0x4b920b){const _0x3d9412=_0x3d192e,_0x2fdf9f=this[_0x3d9412(0x3cd)][_0x3d9412(0x568)](this[_0x3d9412(0x1dc)]);return _0x4b920b[_0x3d9412(0x333)]>_0x2fdf9f+0x1?(this['_handler']['onMissingChangesets']({'from':_0x2fdf9f,'to':_0x4b920b[_0x3d9412(0x333)]-0x1}),!0x0):!0x1;}[_0x3d192e(0x2ff)](_0x3cf699){const _0x597b7a=_0x3d192e;this[_0x597b7a(0x3be)]['transformUndoRedo'](this[_0x597b7a(0x1dc)],_0x3cf699);}[_0x3d192e(0x235)](_0x2f7eab){const _0x593983=_0x3d192e;var _0x4654ec,_0x276693;(_0x276693=(_0x4654ec=this[_0x593983(0x3a9)])[_0x593983(0x20f)])==null||_0x276693['call'](_0x4654ec,_0x2f7eab);}[_0x3d192e(0x458)](_0x67d1d6){const _0x503b23=_0x3d192e;var _0x73d203,_0x7e00bd;return(_0x7e00bd=(_0x73d203=this[_0x503b23(0x3a9)])['onTransformIME'])==null?void 0x0:_0x7e00bd[_0x503b23(0x2c2)](_0x73d203,_0x67d1d6);}[_0x3d192e(0x525)](_0x2f29d3){const _0x5a3b25=_0x3d192e;var _0x34cc08,_0x155486;return(_0x155486=(_0x34cc08=this[_0x5a3b25(0x3a9)])[_0x5a3b25(0x303)])==null?void 0x0:_0x155486[_0x5a3b25(0x2c2)](_0x34cc08,_0x2f29d3);}[_0x3d192e(0x231)](_0x4cf82d){const _0x4decab=_0x3d192e;var _0x5bad93,_0x40121b,_0x56d227;return(_0x56d227=(_0x40121b=(_0x5bad93=this[_0x4decab(0x3a9)])[_0x4decab(0x471)])==null?void 0x0:_0x40121b[_0x4decab(0x2c2)](_0x5bad93,_0x4cf82d))!=null?_0x56d227:_0x4cf82d;}[_0x3d192e(0x26d)](_0xbe073f){const _0x1aa931=_0x3d192e;var _0x50cd29,_0x463e5f,_0x220fd6;return(_0x220fd6=(_0x463e5f=(_0x50cd29=this[_0x1aa931(0x3a9)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x463e5f[_0x1aa931(0x2c2)](_0x50cd29,_0xbe073f))!=null?_0x220fd6:_0xbe073f;}[_0x3d192e(0x21c)](_0x324465){const _0x987f2d=_0x3d192e;var _0x45a319,_0x195c87;if(this[_0x987f2d(0x34e)]===ce['UNIVER_DOC']){const {unitID:_0x351429,mutations:_0x1eff70,memberID:_0x53ce44}=_0x324465,_0x3994ac=_0x1eff70[0x0]['params'][_0x987f2d(0x3df)];Array[_0x987f2d(0x350)](_0x3994ac)&&_0x3994ac[_0x987f2d(0x4e9)]>0x0&&((_0x195c87=(_0x45a319=this['_handler'])[_0x987f2d(0x401)])==null||_0x195c87[_0x987f2d(0x2c2)](_0x45a319,{'unitID':_0x351429,'memberID':_0x53ce44,'textRanges':_0x3994ac}));}}[_0x3d192e(0x3b8)](){const _0x17d032=_0x3d192e;this['_localCacheService'][_0x17d032(0x1ed)](this[_0x17d032(0x1dc)],this[_0x17d032(0x34e)],this[_0x17d032(0x1ae)],this['_pendingMutations']);}[_0x3d192e(0x38a)](){const _0x30bb60=_0x3d192e;return this[_0x30bb60(0x3cd)][_0x30bb60(0x568)](this[_0x30bb60(0x1dc)]);}[_0x3d192e(0x556)](){const _0x5a338c=_0x3d192e;this[_0x5a338c(0x3cd)]['incrementRevOfUnit'](this[_0x5a338c(0x1dc)]);}['_executeRemoteChangeset'](_0x46ca21){const _0x299eac=_0x3d192e;var _0x46070c;let _0x3b2093=this[_0x299eac(0x231)](_0x46ca21);_0x3b2093=this[_0x299eac(0x26d)](_0x3b2093);const _0x444028=_0x128974(_0x3b2093[_0x299eac(0x547)],this[_0x299eac(0x2d5)],{'fromCollab':!0x0});if(!_0x444028['result'])throw _0x444028['error']instanceof Error?_0x444028['error']:new Error((_0x46070c=_0x444028['error'])!=null?_0x46070c:'[CollaborationState]:\x20apply\x20error!');this[_0x299eac(0x458)](_0x3b2093),this[_0x299eac(0x525)](_0x3b2093),this[_0x299eac(0x2ff)](_0x46ca21),this['_transformSelections'](_0x3b2093),this[_0x299eac(0x21c)](_0x3b2093),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x2f659f,_0x5d0381,_0x5a8ee3,_0x428c85,_0x4ee443,_0x18da1a,_0x489a54,_0x52ce32,_0x421b9a,_0x5b485e){const _0x5a81dc=_0x3d192e;super(_0x2f659f,_0x5d0381,null,[],_0x5a8ee3,_0x52ce32,_0x489a54,_0x428c85,_0x4ee443),g(this,'status','synced'),(this[_0x5a81dc(0x329)]=_0x18da1a,this[_0x5a81dc(0x3b5)]=_0x421b9a,this[_0x5a81dc(0x4a8)]=_0x5b485e);}['appendMutation'](_0x4b9826){const _0x5883ed=_0x3d192e,_0x129eba=this['_injector'][_0x5883ed(0x521)](pe,this['unitID'],this['type'],[_0x4b9826],this[_0x5883ed(0x3a9)]);return _0x129eba[_0x5883ed(0x2ab)](),_0x129eba[_0x5883ed(0x3b8)](),_0x129eba;}[_0x3d192e(0x24d)](_0x5d194f){const _0x33b860=_0x3d192e;if(this['_checkMissing'](_0x5d194f))return this[_0x33b860(0x329)]['createInstance'](he,this[_0x33b860(0x1dc)],this['type'],null,[],null,[_0x5d194f],this[_0x33b860(0x3a9)]);try{const _0x773c02=this[_0x33b860(0x4a8)]['transformMutationsWithChangeset'](_0x5d194f,[uo]);if(_0x4b9a49(_0x773c02)){const {c1Prime:_0x3f8b02}=_0x773c02;return this[_0x33b860(0x2bb)](_0x3f8b02),this;}throw _0x773c02['error'];}catch(_0x871ed5){return this[_0x33b860(0x3b5)][_0x33b860(0x4f4)](_0x871ed5),this[_0x33b860(0x567)](!0x1);}}[_0x3d192e(0x567)](_0x2a190f){const _0x440d3b=_0x3d192e;return this['_injector'][_0x440d3b(0x521)](Re,this['unitID'],this[_0x440d3b(0x34e)],null,[],this[_0x440d3b(0x3a9)],_0x2a190f);}[_0x3d192e(0x430)](){const _0x634f29=_0x3d192e;throw new Error(_0x634f29(0x4cf));}[_0x3d192e(0x279)](){const _0x50e8a1=_0x3d192e;throw new Error(_0x50e8a1(0x528));}['onRemoteRetry'](){return this;}[_0x3d192e(0x598)](){const _0xd974b8=_0x3d192e;return this['_injector']['createInstance'](ye,this['unitID'],this[_0xd974b8(0x34e)],null,[],this[_0xd974b8(0x3a9)]);}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x1bd)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3d192e(0x496)](){const _0x365ebb=_0x3d192e,_0x7d8eb0=this[_0x365ebb(0x3cd)][_0x365ebb(0x568)](this[_0x365ebb(0x1dc)]);return this[_0x365ebb(0x3a9)][_0x365ebb(0x2a3)]({'from':_0x7d8eb0,'to':0x0}),this['_injector'][_0x365ebb(0x521)](he,this['unitID'],this[_0x365ebb(0x34e)],null,[],null,[],this[_0x365ebb(0x3a9)]);}};Fe=Le([A(0x3,_0x435342(_0x18ab34)),A(0x4,_0x435342(q)),A(0x5,_0x435342(_0x5a18dc)),A(0x6,_0x211f33),A(0x7,_0x4d4125),A(0x8,_0x25772e),A(0x9,_0x238f3d)],Fe);let pe=class extends $e{constructor(_0x3b91f5,_0xbd5b43,_0x64a1f7,_0x124f88,_0x8f21da,_0x5407d2,_0x2e099f,_0x488276,_0x44b3cf,_0x5685d2,_0x1461e6,_0x7be304,_0x32ce0b,_0x27462c){const _0x119bd9=_0x3d192e;super(_0x3b91f5,_0xbd5b43,null,_0x64a1f7,_0x124f88,_0x5685d2,_0x27462c,_0x5407d2,_0x2e099f),g(this,_0x119bd9(0x3ab),_0x119bd9(0x2b7)),g(this,_0x119bd9(0x56d),null),g(this,_0x119bd9(0x38d),null),(this['_injector']=_0x8f21da,this[_0x119bd9(0x4d5)]=_0x488276,this[_0x119bd9(0x3b5)]=_0x44b3cf,this['_configService']=_0x1461e6,this[_0x119bd9(0x4a8)]=_0x7be304,this[_0x119bd9(0x43d)]=_0x32ce0b);}[_0x3d192e(0x540)](_0x4b81fa){const _0x250e22=_0x3d192e;return this[_0x250e22(0x4e7)]['push'](_0x4b81fa),this['_updateLocalCache'](),this;}[_0x3d192e(0x24d)](_0x4f46b1){const _0x23c160=_0x3d192e;if(this['_checkMissing'](_0x4f46b1))return this[_0x23c160(0x23f)](),this[_0x23c160(0x329)][_0x23c160(0x521)](he,this[_0x23c160(0x1dc)],this[_0x23c160(0x34e)],null,this[_0x23c160(0x4e7)],null,[_0x4f46b1],this[_0x23c160(0x3a9)]);try{const _0x3f4179=this[_0x23c160(0x4a8)][_0x23c160(0x3d0)](_0x4f46b1,this[_0x23c160(0x4e7)]);if(_0x4b9a49(_0x3f4179)){const {c1Prime:_0x4468f8,m2Prime:_0x4cb93c}=_0x3f4179;this[_0x23c160(0x2bb)](_0x4468f8);const _0x38d836=this['_injector'][_0x23c160(0x521)](pe,this['unitID'],this['type'],_0x4cb93c,this[_0x23c160(0x3a9)]);return this[_0x23c160(0x23f)](),_0x38d836['_schedule'](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x23c160(0x1b4)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x38d836;}throw _0x3f4179[_0x23c160(0x4f4)];}catch(_0x57fcfa){return this[_0x23c160(0x3b5)]['error'](_0x57fcfa),this[_0x23c160(0x567)](!0x1);}}[_0x3d192e(0x430)](){const _0x5abc1a=_0x3d192e;throw new Error(_0x5abc1a(0x1d6));}[_0x3d192e(0x279)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3d192e(0x2ac)](){return this;}['toggleOffline'](){const _0x789c06=_0x3d192e;return this[_0x789c06(0x23f)](),this['_injector'][_0x789c06(0x521)](ye,this[_0x789c06(0x1dc)],this[_0x789c06(0x34e)],null,this[_0x789c06(0x4e7)],this['_handler']);}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x2ab)](_0x5062ba){const _0x518314=_0x3d192e,_0x208881=_0x5062ba!=null?_0x5062ba:this[_0x518314(0x54c)]();this['_scheduleTimestamp']=new Date()[_0x518314(0x1b4)](),this[_0x518314(0x38d)]=window[_0x518314(0x3f8)](()=>{const _0x3f5542=_0x518314;this[_0x3f5542(0x23f)]();let _0x2a81e7=null;switch(this[_0x3f5542(0x34e)]){case ce[_0x3f5542(0x26f)]:{_0x2a81e7=Vs(this[_0x3f5542(0x4e7)],this[_0x3f5542(0x1dc)],this[_0x3f5542(0x43d)],this[_0x3f5542(0x3cd)],this['_memberService']);break;}case ce[_0x3f5542(0x52f)]:{this['_pendingMutations'][_0x3f5542(0x5a4)](_0x516c50=>_0x516c50['id']===_0x5448a2['id'])?_0x2a81e7=_o(this[_0x3f5542(0x4e7)],this[_0x3f5542(0x1dc)],this[_0x3f5542(0x43d)],this['_revisionService'],this['_memberService']):_0x2a81e7=Vs(this[_0x3f5542(0x4e7)],this[_0x3f5542(0x1dc)],this[_0x3f5542(0x43d)],this[_0x3f5542(0x3cd)],this[_0x3f5542(0x4d5)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x3f5542(0x489));}const {changeset:_0x5470f3,pendingMutations:_0x1ac9f9}=_0x2a81e7;this[_0x3f5542(0x3a9)][_0x3f5542(0x3f0)](_0x5470f3);const _0x60ea60=_0x1ac9f9['length']?this[_0x3f5542(0x329)][_0x3f5542(0x521)](ge,this[_0x3f5542(0x1dc)],this[_0x3f5542(0x34e)],_0x5470f3,_0x1ac9f9,this['_handler'],void 0x0):this[_0x3f5542(0x329)][_0x3f5542(0x521)](Te,this[_0x3f5542(0x1dc)],this['type'],_0x5470f3,this[_0x3f5542(0x3a9)]);_0x60ea60[_0x3f5542(0x3b8)](),this[_0x3f5542(0x3a9)]['onStateChange'](this,_0x60ea60);},_0x208881);}[_0x3d192e(0x54c)](){const _0x32144e=_0x3d192e;var _0x5154c2;const _0x40591d=this[_0x32144e(0x295)]['getConfig'](ie);return(_0x5154c2=_0x40591d==null?void 0x0:_0x40591d['sendChangesetTimeout'])!=null?_0x5154c2:cr;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3d192e(0x23f)](){const _0x38597b=_0x3d192e;this[_0x38597b(0x38d)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x107b66){const _0x3ea83f=_0x3d192e;return this[_0x3ea83f(0x23f)](),this[_0x3ea83f(0x329)][_0x3ea83f(0x521)](Re,this[_0x3ea83f(0x1dc)],this[_0x3ea83f(0x34e)],null,this['_pendingMutations'],this[_0x3ea83f(0x3a9)],_0x107b66);}};pe=Le([A(0x4,_0x435342(_0x5a18dc)),A(0x5,_0x435342(_0x18ab34)),A(0x6,_0x435342(q)),A(0x7,_0x435342(Ne)),A(0x8,_0x25772e),A(0x9,_0x4d4125),A(0xa,_0x1b2eff),A(0xb,_0x238f3d),A(0xc,_0x405019),A(0xd,_0x211f33)],pe);let Te=class extends $e{constructor(_0x2267bd,_0x5b7267,_0x38a6fb,_0xc8df6d,_0x4d76ff,_0x395914,_0x4f6396,_0x343a7b,_0x58a10d,_0x418832,_0x23b139){const _0x16ae70=_0x3d192e;super(_0x2267bd,_0x5b7267,_0x38a6fb,[],_0xc8df6d,_0x343a7b,_0x23b139,_0x395914,_0x4f6396),g(this,'status',_0x16ae70(0x2d8)),g(this,_0x16ae70(0x49c),0x0),g(this,_0x16ae70(0x2df)),g(this,_0x16ae70(0x47a)),(this[_0x16ae70(0x329)]=_0x4d76ff,this[_0x16ae70(0x3b5)]=_0x58a10d,this['_transformService']=_0x418832);}[_0x3d192e(0x540)](_0x1a57bd){const _0x254750=_0x3d192e;this[_0x254750(0x23f)]();const _0x4c603d=this[_0x254750(0x329)][_0x254750(0x521)](ge,this[_0x254750(0x1dc)],this['type'],this[_0x254750(0x1ae)],[_0x1a57bd],this[_0x254750(0x3a9)],this[_0x254750(0x2df)]);return _0x4c603d[_0x254750(0x3b8)](),_0x4c603d;}[_0x3d192e(0x24d)](_0x120f35){const _0x36d0cc=_0x3d192e;if(this[_0x36d0cc(0x2f1)](_0x120f35))return this[_0x36d0cc(0x23f)](),this[_0x36d0cc(0x329)]['createInstance'](he,this[_0x36d0cc(0x1dc)],this[_0x36d0cc(0x34e)],this['_awaitingChangeset'],[],null,[_0x120f35],this['_handler']);try{const _0x530646=this[_0x36d0cc(0x4a8)]['transformChangesets']([_0x120f35],[this['_awaitingChangeset']],!0x1);if(_0x302b92(_0x530646)){const {c1Prime:_0x3ef900,c2Prime:_0x420ac8}=_0x530646;this[_0x36d0cc(0x2bb)](_0x3ef900[0x0]),_0x420ac8[0x0][_0x36d0cc(0x3ad)]=this['_getCurrentRevision'](),this[_0x36d0cc(0x23f)]();const _0x2844a8=this[_0x36d0cc(0x329)][_0x36d0cc(0x521)](Te,this[_0x36d0cc(0x1dc)],this[_0x36d0cc(0x34e)],_0x420ac8[0x0],this[_0x36d0cc(0x3a9)]);return _0x2844a8[_0x36d0cc(0x3b8)](),_0x2844a8;}return this[_0x36d0cc(0x567)](!0x1);}catch(_0x56d3f9){return this[_0x36d0cc(0x3b5)][_0x36d0cc(0x4f4)](_0x56d3f9),this[_0x36d0cc(0x567)](!0x1);}}[_0x3d192e(0x430)](_0x11cadf){const _0x1a6be2=_0x3d192e;this[_0x1a6be2(0x23f)]();const _0x17af7f=this[_0x1a6be2(0x3cd)][_0x1a6be2(0x568)](this[_0x1a6be2(0x1dc)]);if(_0x11cadf['revision']<_0x17af7f-0x1)return this;if(this['_checkMissing'](_0x11cadf))return this[_0x1a6be2(0x329)][_0x1a6be2(0x521)](he,this[_0x1a6be2(0x1dc)],this[_0x1a6be2(0x34e)],null,[],this[_0x1a6be2(0x1ae)],[],this[_0x1a6be2(0x3a9)]);this[_0x1a6be2(0x556)]();const _0x2ea551=this[_0x1a6be2(0x329)][_0x1a6be2(0x521)](Fe,this[_0x1a6be2(0x1dc)],this[_0x1a6be2(0x34e)],this['_handler']);return _0x2ea551['_updateLocalCache'](),_0x2ea551;}[_0x3d192e(0x279)](_0x2adac5){const _0x216f9b=_0x3d192e;return this[_0x216f9b(0x567)](!!(_0x2adac5!=null&&_0x2adac5[_0x216f9b(0x37a)]));}[_0x3d192e(0x2ac)](_0x2e78a6){const _0x102469=_0x3d192e;return this[_0x102469(0x49c)]>Ni?this[_0x102469(0x598)]():(this[_0x102469(0x2df)]=Ui(this[_0x102469(0x49c)],{'timeout':this[_0x102469(0x49c)],'reqId':_0x2e78a6['reqId']}),this[_0x102469(0x47a)]=this['_resendTimer'][_0x102469(0x2ce)](({reqId:_0x5c67a2,timeout:_0x510fbe})=>{this['_resendWithTimeout'](_0x5c67a2,_0x510fbe);}),this);}[_0x3d192e(0x598)](){const _0x56bdcc=_0x3d192e;return this[_0x56bdcc(0x23f)](),this['_injector'][_0x56bdcc(0x521)](ye,this[_0x56bdcc(0x1dc)],this['type'],this[_0x56bdcc(0x1ae)],[],this[_0x56bdcc(0x3a9)]);}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x1bd)](){const _0x287a95=_0x3d192e;this[_0x287a95(0x3a9)][_0x287a95(0x3f0)](this[_0x287a95(0x1ae)]);}[_0x3d192e(0x567)](_0xae3098){const _0x4bd52c=_0x3d192e;return this[_0x4bd52c(0x23f)](),this[_0x4bd52c(0x329)]['createInstance'](Re,this[_0x4bd52c(0x1dc)],this[_0x4bd52c(0x34e)],this[_0x4bd52c(0x1ae)],[],this[_0x4bd52c(0x3a9)],_0xae3098);}[_0x3d192e(0x447)](_0x5acb37,_0x300d26){const _0x555a6a=_0x3d192e;var _0x35289b;_0x5acb37===((_0x35289b=this['_awaitingChangeset'])==null?void 0x0:_0x35289b[_0x555a6a(0x561)])&&(this[_0x555a6a(0x1bd)](),this[_0x555a6a(0x49c)]=_0x300d26===0x0?0x3e8:_0x300d26*0x2);}[_0x3d192e(0x23f)](){const _0x2d7db8=_0x3d192e;var _0x29122a;(_0x29122a=this[_0x2d7db8(0x47a)])==null||_0x29122a['unsubscribe'](),this[_0x2d7db8(0x49c)]=0x0;}};Te=Le([A(0x4,_0x435342(_0x5a18dc)),A(0x5,_0x435342(_0x18ab34)),A(0x6,_0x435342(q)),A(0x7,_0x4d4125),A(0x8,_0x25772e),A(0x9,_0x238f3d),A(0xa,_0x211f33)],Te);let ge=class extends $e{constructor(_0xdf5801,_0x1fa31b,_0x507a28,_0x3b0dcb,_0x29d77c,_0x1f00ea,_0x27f3ac,_0x415063,_0x301ffa,_0x26061d,_0xc03ab3,_0x45c865,_0x35234b){const _0x43d6a8=_0x3d192e;super(_0xdf5801,_0x1fa31b,_0x507a28,_0x3b0dcb,_0x29d77c,_0x26061d,_0x35234b,_0x415063,_0x301ffa),g(this,_0x43d6a8(0x3ab),_0x43d6a8(0x514)),g(this,_0x43d6a8(0x49c),0x0),g(this,_0x43d6a8(0x2df)),g(this,'_sender'),(this[_0x43d6a8(0x329)]=_0x27f3ac,this[_0x43d6a8(0x3b5)]=_0xc03ab3,this[_0x43d6a8(0x4a8)]=_0x45c865,_0x1f00ea&&(this['_resendTimer']=_0x1f00ea,this[_0x43d6a8(0x47a)]=this[_0x43d6a8(0x2df)][_0x43d6a8(0x2ce)](({reqId:_0x568de0,timeout:_0x565a21})=>{this['_resendWithTimeout'](_0x568de0,_0x565a21);})));}[_0x3d192e(0x540)](_0x3ed8fa){const _0x86008c=_0x3d192e;return this[_0x86008c(0x4e7)][_0x86008c(0x24b)](_0x3ed8fa),this;}[_0x3d192e(0x24d)](_0x4b374e){const _0x4fe05f=_0x3d192e;if(this[_0x4fe05f(0x2f1)](_0x4b374e))return this['_clearScheduledTask'](),this[_0x4fe05f(0x329)][_0x4fe05f(0x521)](he,this['unitID'],this['type'],this[_0x4fe05f(0x1ae)],this[_0x4fe05f(0x4e7)],null,[_0x4b374e],this[_0x4fe05f(0x3a9)]);try{const _0x408050=this[_0x4fe05f(0x4a8)][_0x4fe05f(0x262)]([_0x4b374e],[this['_awaitingChangeset']],!0x1);if(_0x302b92(_0x408050)){const {c1Prime:_0x2dcf4a,c2Prime:_0x4bf74b}=_0x408050,_0x441dfd=this[_0x4fe05f(0x4a8)][_0x4fe05f(0x3d0)](_0x2dcf4a[0x0],this['_pendingMutations']);if(_0x4b9a49(_0x441dfd)){const {c1Prime:_0x3b3156,m2Prime:_0x4bf4b6}=_0x441dfd;return this[_0x4fe05f(0x2bb)](_0x3b3156),_0x4bf74b[0x0][_0x4fe05f(0x3ad)]=this[_0x4fe05f(0x38a)](),this[_0x4fe05f(0x23f)](),this['_injector'][_0x4fe05f(0x521)](ge,this['unitID'],this[_0x4fe05f(0x34e)],_0x4bf74b[0x0],_0x4bf4b6,this[_0x4fe05f(0x3a9)],void 0x0);}throw _0x441dfd[_0x4fe05f(0x4f4)];}throw _0x408050[_0x4fe05f(0x4f4)];}catch(_0x3ac0a1){return this[_0x4fe05f(0x3b5)]['error'](_0x3ac0a1),this[_0x4fe05f(0x567)](!0x1);}}[_0x3d192e(0x430)](_0x26d1d3){const _0x2c901d=_0x3d192e;if(this['_clearScheduledTask'](),this[_0x2c901d(0x2f1)](_0x26d1d3))return this[_0x2c901d(0x329)][_0x2c901d(0x521)](he,this[_0x2c901d(0x1dc)],this[_0x2c901d(0x34e)],null,this[_0x2c901d(0x4e7)],this['_awaitingChangeset'],[],this[_0x2c901d(0x3a9)]);this[_0x2c901d(0x556)]();const _0x5df492=this[_0x2c901d(0x329)][_0x2c901d(0x521)](pe,this[_0x2c901d(0x1dc)],this[_0x2c901d(0x34e)],this[_0x2c901d(0x4e7)],this['_handler']);return _0x5df492[_0x2c901d(0x2ab)](),_0x5df492['_updateLocalCache'](),_0x5df492;}['onRemoteRej'](_0x31f501){return this['_onConflict'](!!(_0x31f501!=null&&_0x31f501['isPermissionRej']));}[_0x3d192e(0x2ac)](_0x223041){const _0x32a18c=_0x3d192e;return this['_resendTimeout']>Ni?this[_0x32a18c(0x598)]():(this[_0x32a18c(0x2df)]=Ui(this[_0x32a18c(0x49c)],{'timeout':this['_resendTimeout'],'reqId':_0x223041[_0x32a18c(0x561)]}),this['_sender']=this[_0x32a18c(0x2df)][_0x32a18c(0x2ce)](({reqId:_0x135344,timeout:_0x16f2a6})=>{const _0x576f9c=_0x32a18c;this[_0x576f9c(0x447)](_0x135344,_0x16f2a6);}),this);}['toggleOffline'](){const _0xc7271a=_0x3d192e;return this['_clearScheduledTask'](),this['_injector'][_0xc7271a(0x521)](ye,this['unitID'],this[_0xc7271a(0x34e)],this['_awaitingChangeset'],this[_0xc7271a(0x4e7)],this[_0xc7271a(0x3a9)]);}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x1bd)](){const _0x128943=_0x3d192e;this[_0x128943(0x3a9)][_0x128943(0x3f0)](this['_awaitingChangeset']);}['_onConflict'](_0x3395bd){const _0x1d2c29=_0x3d192e;return this[_0x1d2c29(0x23f)](),this[_0x1d2c29(0x329)]['createInstance'](Re,this[_0x1d2c29(0x1dc)],this[_0x1d2c29(0x34e)],null,this['_pendingMutations'],this[_0x1d2c29(0x3a9)],_0x3395bd);}['_resendWithTimeout'](_0x5ed789,_0x577442){const _0x1a0b7a=_0x3d192e;var _0x4c9832;_0x5ed789===((_0x4c9832=this[_0x1a0b7a(0x1ae)])==null?void 0x0:_0x4c9832[_0x1a0b7a(0x561)])&&(this[_0x1a0b7a(0x1bd)](),this['_resendTimeout']=_0x577442===0x0?0x3e8:_0x577442*0x2);}['_clearScheduledTask'](){const _0x302fe6=_0x3d192e;var _0x1bc06c;(_0x1bc06c=this[_0x302fe6(0x47a)])==null||_0x1bc06c[_0x302fe6(0x290)](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x435342(_0x5a18dc)),A(0x7,_0x435342(_0x18ab34)),A(0x8,_0x435342(q)),A(0x9,_0x4d4125),A(0xa,_0x25772e),A(0xb,_0x238f3d),A(0xc,_0x211f33)],ge);let Re=class extends $e{constructor(_0x302584,_0x50f735,_0x8bba49,_0x2ad590,_0x583083,_0x418d16=!0x1,_0x162855,_0x2bbf1c,_0x37c7de,_0x4882d6,_0x4288bd,_0x598855,_0x42da0c){const _0x475144=_0x3d192e;super(_0x302584,_0x50f735,_0x8bba49,_0x2ad590,_0x583083,_0x2bbf1c,_0x37c7de,_0x4288bd,_0x4882d6),g(this,_0x475144(0x3ab),'conflict'),(this[_0x475144(0x2b3)]=_0x418d16,this[_0x475144(0x506)]=_0x162855,this['_localeService']=_0x598855,this[_0x475144(0x395)]=_0x42da0c,this[_0x475144(0x56c)](),this['_clearLocalCache'](),this[_0x475144(0x32c)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x3d192e(0x430)](){return this;}[_0x3d192e(0x279)](){return this;}[_0x3d192e(0x2ac)](){return this;}['toggleOffline'](){return this;}[_0x3d192e(0x503)](){return this;}[_0x3d192e(0x1bd)](){const _0x3c806c=_0x3d192e;throw new Error(_0x3c806c(0x431));}[_0x3d192e(0x2b5)](){const _0x327fe9=_0x3d192e;this[_0x327fe9(0x414)]['updateOfflineData'](this[_0x327fe9(0x1dc)],this['type'],null,[]);}[_0x3d192e(0x56c)](){const _0x390fd5=_0x3d192e;this[_0x390fd5(0x2b3)]?this[_0x390fd5(0x395)][_0x390fd5(0x4b4)]({'title':this[_0x390fd5(0x32a)]['t']('permission.title'),'content':this[_0x390fd5(0x32a)]['t'](_0x390fd5(0x2e8)),'type':'error','duration':0x0}):this[_0x390fd5(0x395)][_0x390fd5(0x4b4)]({'title':this['_localeService']['t'](_0x390fd5(0x2eb)),'content':this[_0x390fd5(0x32a)]['t'](_0x390fd5(0x2fa)),'type':_0x390fd5(0x4f4),'duration':0x0});}[_0x3d192e(0x32c)](){const _0x1e4cfa=_0x3d192e;this[_0x1e4cfa(0x506)]['updatePermissionPoint'](new _0x11ffb6(this[_0x1e4cfa(0x1dc)])['id'],!0x1);}};Re=Le([A(0x6,_0x435342(_0x23a72a)),A(0x7,_0x4d4125),A(0x8,_0x211f33),A(0x9,_0x435342(q)),A(0xa,_0x435342(_0x18ab34)),A(0xb,_0x435342(_0xef493b)),A(0xc,_0x286bb3)],Re);let ye=class extends $e{constructor(_0x3422c3,_0x315579,_0x333caa,_0x3b23b0,_0x3a5dc6,_0x89ae8d,_0x48ccea,_0x3ea5bb,_0x541da0,_0x1284db){const _0x4d6273=_0x3d192e;super(_0x3422c3,_0x315579,_0x333caa,_0x3b23b0,_0x3a5dc6,_0x541da0,_0x1284db,_0x48ccea,_0x3ea5bb),g(this,_0x4d6273(0x3ab),'offline'),this[_0x4d6273(0x329)]=_0x89ae8d;}[_0x3d192e(0x540)](_0x2160d4){const _0x400c89=_0x3d192e;return this['_pendingMutations'][_0x400c89(0x24b)](_0x2160d4),this[_0x400c89(0x3b8)](),this;}[_0x3d192e(0x24d)](_0x14bf69){const _0x125ed6=_0x3d192e;throw new Error(_0x125ed6(0x31d));}['onRemoteAck'](){const _0x505737=_0x3d192e;throw new Error(_0x505737(0x583));}[_0x3d192e(0x279)](){const _0x41ecc8=_0x3d192e;throw new Error(_0x41ecc8(0x4fd));}[_0x3d192e(0x2ac)](){return this;}['toggleOffline'](){return this;}[_0x3d192e(0x503)](){const _0x3e4dbc=_0x3d192e,{_injector:_0x21d0a4,_pendingMutations:_0x1b54e7,_awaitingChangeset:_0x20335e,unitID:_0x3d7e6b,_handler:_0x368eb2,type:_0x515a5a}=this,_0x1104f9=Ai(_0x21d0a4,_0x3d7e6b,_0x515a5a,_0x20335e,_0x1b54e7,_0x368eb2);return _0x1104f9 instanceof pe?_0x1104f9[_0x3e4dbc(0x2ab)]():(_0x1104f9 instanceof ge||_0x1104f9 instanceof Te)&&_0x1104f9['resend'](),_0x1104f9;}[_0x3d192e(0x1bd)](){const _0x4ae56b=_0x3d192e;throw new Error(_0x4ae56b(0x327));}};ye=Le([A(0x5,_0x435342(_0x5a18dc)),A(0x6,_0x435342(_0x18ab34)),A(0x7,_0x435342(q)),A(0x8,_0x4d4125),A(0x9,_0x211f33)],ye);let he=class extends $e{constructor(_0x361457,_0xc68ea3,_0x3fcf8c,_0xf74579,_0x55f832,_0x25f91a,_0x2477ef,_0x481e36,_0x1be3f4,_0x528d63,_0x445196,_0x4ff821,_0x3e9dc1,_0xe95848){const _0x8bdbaf=_0x3d192e;super(_0x361457,_0xc68ea3,_0x3fcf8c,_0xf74579,_0x2477ef,_0x4ff821,_0x3e9dc1,_0x1be3f4,_0x528d63),g(this,_0x8bdbaf(0x3ab),'fetch_missing'),(this[_0x8bdbaf(0x2ea)]=_0x55f832,this[_0x8bdbaf(0x27e)]=_0x25f91a,this['_injector']=_0x481e36,this[_0x8bdbaf(0x3b5)]=_0x445196,this[_0x8bdbaf(0x4a8)]=_0xe95848);}[_0x3d192e(0x574)](_0x40ff33){const _0x2e94d0=_0x3d192e;try{const _0x5abee8=[..._0x40ff33,...this[_0x2e94d0(0x27e)]],_0x37461a=[this[_0x2e94d0(0x1ae)]||this['_acknowledgedAwaitingChangeset']][_0x2e94d0(0x347)](_0x5ce68d=>!!_0x5ce68d);let _0x1dee3b,_0x8eebaa;if(_0x37461a[_0x2e94d0(0x4e9)]){const _0x363ad5=this[_0x2e94d0(0x4a8)][_0x2e94d0(0x262)](_0x5abee8,_0x37461a,!0x1);if(!_0x302b92(_0x363ad5))throw _0x363ad5['error'];_0x1dee3b=_0x363ad5[_0x2e94d0(0x483)],_0x8eebaa=_0x363ad5[_0x2e94d0(0x422)];}else _0x1dee3b=_0x5abee8,_0x8eebaa=[];let _0x477028=this[_0x2e94d0(0x4e7)];_0x1dee3b[_0x2e94d0(0x253)](_0x3e8e56=>{const _0x45609e=_0x2e94d0;let _0x132059;if(_0x477028[_0x45609e(0x4e9)]){const _0x1b7758=this[_0x45609e(0x4a8)][_0x45609e(0x3d0)](_0x3e8e56,_0x477028);if(!_0x4b9a49(_0x1b7758))throw _0x1b7758[_0x45609e(0x4f4)];_0x132059=_0x1b7758['c1Prime'],_0x477028=_0x1b7758[_0x45609e(0x227)];}else _0x132059=_0x3e8e56;this[_0x45609e(0x2bb)](_0x132059);}),this[_0x2e94d0(0x2ea)]&&this['_incrementRevisionNumber'](),this[_0x2e94d0(0x1ae)]&&_0x8eebaa[_0x2e94d0(0x4e9)]&&(_0x8eebaa[0x0][_0x2e94d0(0x3ad)]=this[_0x2e94d0(0x38a)]());let _0x5c9d4f;if(this['_awaitingChangeset']&&_0x477028[_0x2e94d0(0x4e9)]!==0x0)_0x5c9d4f=this['_injector'][_0x2e94d0(0x521)](ge,this[_0x2e94d0(0x1dc)],this['type'],_0x8eebaa[0x0],_0x477028,this[_0x2e94d0(0x3a9)],void 0x0);else{if(this[_0x2e94d0(0x1ae)]&&_0x477028[_0x2e94d0(0x4e9)]===0x0)_0x8eebaa[0x0]['baseRev']=this[_0x2e94d0(0x38a)](),_0x5c9d4f=this['_injector'][_0x2e94d0(0x521)](Te,this[_0x2e94d0(0x1dc)],this['type'],_0x8eebaa[0x0],this[_0x2e94d0(0x3a9)]);else{if(_0x477028[_0x2e94d0(0x4e9)]!==0x0){const _0x4bf95a=this[_0x2e94d0(0x329)][_0x2e94d0(0x521)](pe,this[_0x2e94d0(0x1dc)],this[_0x2e94d0(0x34e)],_0x477028,this[_0x2e94d0(0x3a9)]);_0x4bf95a['_schedule'](),_0x5c9d4f=_0x4bf95a;}else _0x5c9d4f=this['_injector']['createInstance'](Fe,this[_0x2e94d0(0x1dc)],this[_0x2e94d0(0x34e)],this['_handler']);}}return _0x5c9d4f[_0x2e94d0(0x3b8)](),_0x5c9d4f;}catch(_0x577b97){return this[_0x2e94d0(0x3b5)][_0x2e94d0(0x4f4)](_0x2e94d0(0x4cc),_0x2e94d0(0x34f),_0x577b97),this[_0x2e94d0(0x329)]['createInstance'](Re,this[_0x2e94d0(0x1dc)],this['type'],this['_awaitingChangeset'],this[_0x2e94d0(0x4e7)],this[_0x2e94d0(0x3a9)],!0x1);}}[_0x3d192e(0x1bd)](){const _0x263bbc=_0x3d192e;throw new Error(_0x263bbc(0x316));}[_0x3d192e(0x540)](_0x39b5be){const _0x29668b=_0x3d192e;return this[_0x29668b(0x4e7)][_0x29668b(0x24b)](_0x39b5be),this;}[_0x3d192e(0x24d)](_0x454b24){const _0x2b98b7=_0x3d192e;return this[_0x2b98b7(0x27e)][_0x2b98b7(0x24b)](_0x454b24),this;}[_0x3d192e(0x430)](_0x1fd049){const _0x47fdab=_0x3d192e;if(this['_awaitingChangeset'])return this[_0x47fdab(0x2ea)]=this[_0x47fdab(0x1ae)],this[_0x47fdab(0x1ae)]=null,this;throw new Error(_0x47fdab(0x41d));}[_0x3d192e(0x279)](_0x198a98){const _0x5189aa=_0x3d192e;return this[_0x5189aa(0x567)](!!(_0x198a98!=null&&_0x198a98[_0x5189aa(0x37a)]));}[_0x3d192e(0x2ac)](){return this;}[_0x3d192e(0x598)](){const _0x162281=_0x3d192e;return this['_injector'][_0x162281(0x521)](ye,this[_0x162281(0x1dc)],this['type'],this[_0x162281(0x1ae)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x3d192e(0x567)](_0x5a7f0a){const _0x2a4f76=_0x3d192e;return this[_0x2a4f76(0x329)]['createInstance'](Re,this['unitID'],this[_0x2a4f76(0x34e)],this[_0x2a4f76(0x1ae)],this[_0x2a4f76(0x4e7)],this[_0x2a4f76(0x3a9)],_0x5a7f0a);}};he=Le([A(0x7,_0x435342(_0x5a18dc)),A(0x8,_0x435342(_0x18ab34)),A(0x9,_0x435342(q)),A(0xa,_0x25772e),A(0xb,_0x4d4125),A(0xc,_0x211f33),A(0xd,_0x238f3d)],he);function Ai(_0x3b5f7b,_0x24965c,_0x361f36,_0x55be66,_0x311b4d,_0x4f35c1){const _0xb24366=_0x3d192e;return _0x55be66&&_0x311b4d[_0xb24366(0x4e9)]?_0x3b5f7b[_0xb24366(0x521)](ge,_0x24965c,_0x361f36,_0x55be66,_0x311b4d,_0x4f35c1,void 0x0):_0x55be66?_0x3b5f7b[_0xb24366(0x521)](Te,_0x24965c,_0x361f36,_0x55be66,_0x4f35c1):_0x311b4d[_0xb24366(0x4e9)]?_0x3b5f7b[_0xb24366(0x521)](pe,_0x24965c,_0x361f36,_0x311b4d,_0x4f35c1):_0x3b5f7b[_0xb24366(0x521)](Fe,_0x24965c,_0x361f36,_0x4f35c1);}var mo=Object[_0x3d192e(0x494)],po=Object[_0x3d192e(0x3e5)],Es=(_0x546a56,_0x4c5f1c,_0x122f87,_0xfe0cf8)=>{const _0x1f46af=_0x3d192e;for(var _0x36b6cf=_0xfe0cf8>0x1?void 0x0:_0xfe0cf8?po(_0x4c5f1c,_0x122f87):_0x4c5f1c,_0xf3f4ec=_0x546a56[_0x1f46af(0x4e9)]-0x1,_0x510d53;_0xf3f4ec>=0x0;_0xf3f4ec--)(_0x510d53=_0x546a56[_0xf3f4ec])&&(_0x36b6cf=(_0xfe0cf8?_0x510d53(_0x4c5f1c,_0x122f87,_0x36b6cf):_0x510d53(_0x36b6cf))||_0x36b6cf);return _0xfe0cf8&&_0x36b6cf&&mo(_0x4c5f1c,_0x122f87,_0x36b6cf),_0x36b6cf;},H=(_0x3c5795,_0x5ecb82)=>(_0x22313d,_0x3e6604)=>_0x5ecb82(_0x22313d,_0x3e6604,_0x3c5795);let St=class extends _0x10cb26{constructor(_0x379998,_0x26d694,_0x5b9396,_0x4e466b,_0xc09033,_0x365ad2,_0x3857e2,_0x5f56e9,_0x1b77cb,_0x182e5f,_0xac853b,_0x4650c7,_0xceb68f){const _0x5b6b10=_0x3d192e;super(),g(this,'_state$',new _0x1d58dd(null)),g(this,'state$',this[_0x5b6b10(0x230)]['asObservable']()),g(this,_0x5b6b10(0x51e)),g(this,_0x5b6b10(0x2bf),!0x1),g(this,_0x5b6b10(0x4cb),''),g(this,_0x5b6b10(0x56e),0x0),g(this,'status$',this['state$'][_0x5b6b10(0x407)](_0x2f5428(_0x55a412=>_0x55a412?_0x55a412[_0x5b6b10(0x3ab)]:J[_0x5b6b10(0x3fe)]),_0x2a23f2(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x5b6b10(0x355),[]),(this[_0x5b6b10(0x1dc)]=_0x379998,this[_0x5b6b10(0x302)]=_0x26d694,this['_type']=_0x5b9396,this[_0x5b6b10(0x329)]=_0x4e466b,this[_0x5b6b10(0x414)]=_0xc09033,this[_0x5b6b10(0x577)]=_0x365ad2,this[_0x5b6b10(0x32a)]=_0x3857e2,this[_0x5b6b10(0x3cd)]=_0x5f56e9,this[_0x5b6b10(0x3b5)]=_0x1b77cb,this['_commandService']=_0x182e5f,this['_messageService']=_0xac853b,this[_0x5b6b10(0x506)]=_0x4650c7,this[_0x5b6b10(0x5a3)]=_0xceb68f);}get[_0x3d192e(0x3e7)](){const _0x283b9b=_0x3d192e;return this[_0x283b9b(0x51e)];}async[_0x3d192e(0x46a)](){const _0x48899e=_0x3d192e;if(this[_0x48899e(0x3e7)])throw new Error(_0x48899e(0x33c));await this[_0x48899e(0x20a)]();}[_0x3d192e(0x49b)](){const _0x3a4031=_0x3d192e;return this[_0x3a4031(0x2bf)]=!0x0,_0x30963a(()=>{const _0x5845d6=_0x3a4031;this['_collaborationPaused']=!0x1,this[_0x5845d6(0x1c2)]();});}['_updateState'](_0x44777c){const _0x4a2543=_0x3d192e;this[_0x4a2543(0x51e)]=_0x44777c,this[_0x4a2543(0x230)]['next'](_0x44777c);}async[_0x3d192e(0x20a)](){const _0x8fbb09=_0x3d192e;var _0x15b0da;this['_updateState'](await this[_0x8fbb09(0x28a)]()),this[_0x8fbb09(0x5a3)]&&((_0x15b0da=this[_0x8fbb09(0x5a3)])==null||_0x15b0da[_0x8fbb09(0x1b6)](this[_0x8fbb09(0x1dc)]),this['disposeWithMe'](this[_0x8fbb09(0x5a3)]['getUnitStatus$'](this[_0x8fbb09(0x1dc)])[_0x8fbb09(0x2ce)](_0x59d1db=>{const _0x2d2bae=_0x8fbb09;this[_0x2d2bae(0x3b5)][_0x2d2bae(0x2cb)](_0x2d2bae(0x223),'editing\x20status\x20changed\x20to',_0x59d1db),_0x59d1db===Di[_0x2d2bae(0x1ee)]?(this['_messageService'][_0x2d2bae(0x4b4)]({'content':this[_0x2d2bae(0x32a)]['t'](_0x2d2bae(0x33d)),'type':_0x5b8609[_0x2d2bae(0x208)]}),this[_0x2d2bae(0x506)][_0x2d2bae(0x442)](new _0x11ffb6(this[_0x2d2bae(0x1dc)])['id'],!0x1),this[_0x2d2bae(0x506)][_0x2d2bae(0x47b)](!0x1)):(this[_0x2d2bae(0x506)][_0x2d2bae(0x442)](new _0x11ffb6(this[_0x2d2bae(0x1dc)])['id'],!0x0),this[_0x2d2bae(0x506)][_0x2d2bae(0x47b)](!0x0));})));let _0x126945=!0x1;return this[_0x8fbb09(0x2f7)](this[_0x8fbb09(0x302)][_0x8fbb09(0x29c)][_0x8fbb09(0x2ce)](_0x4a3fe0=>{const _0x460b05=_0x8fbb09;_0x4a3fe0===ve[_0x460b05(0x2c3)]?this[_0x460b05(0x357)](_0x126945):_0x4a3fe0===ve['OFFLINE']&&(_0x126945=!0x0,this['_toggleOffline']());})),this[_0x8fbb09(0x2f7)](this[_0x8fbb09(0x302)][_0x8fbb09(0x513)][_0x8fbb09(0x2ce)](_0x462a6d=>{const _0x2bbb08=_0x8fbb09;try{switch(_0x462a6d[_0x2bbb08(0x1f5)]){case _0x28e200[_0x2bbb08(0x43f)]:{this[_0x2bbb08(0x3c6)](_0x4167b6(_0x462a6d[_0x2bbb08(0x383)]));break;}case _0x28e200[_0x2bbb08(0x246)]:{this[_0x2bbb08(0x55f)](_0x462a6d[_0x2bbb08(0x383)]);break;}case _0x28e200[_0x2bbb08(0x3af)]:{this['_onRemoteRejected']();break;}case _0x28e200['CHANGESET_SHOULD_RETRY']:{this[_0x2bbb08(0x4c1)](_0x462a6d['data']);break;}case _0x28e200[_0x2bbb08(0x479)]:{this[_0x2bbb08(0x4d0)](_0x462a6d[_0x2bbb08(0x383)]['changesets'][_0x2bbb08(0x1fc)](_0xcb8a3f=>_0x4167b6(_0xcb8a3f)));break;}case _0x28e200[_0x2bbb08(0x58e)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x5716e7){throw console[_0x2bbb08(0x4f4)](_0x2bbb08(0x19b),_0x5716e7),_0x5716e7;}})),this[_0x8fbb09(0x51e)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x228cc5=_0x3d192e;if(this['_transitionLocked'])throw new Error(_0x228cc5(0x289));this[_0x228cc5(0x225)]=!0x0;}[_0x3d192e(0x49e)](_0x41a07f){const _0x3e5180=_0x3d192e;this['_lockTransition'](),this[_0x3e5180(0x249)](this[_0x3e5180(0x51e)][_0x3e5180(0x540)](_0x41a07f)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x4c7472){const _0x2e19cb=_0x3d192e;if(!(_0x4c7472['revision']<=this['_revisionService'][_0x2e19cb(0x568)](this['unitID']))){if(this[_0x2e19cb(0x2bf)]){this['_remoteChangesetQueue'][_0x2e19cb(0x24b)](_0x4c7472);return;}this[_0x2e19cb(0x1e2)](_0x4c7472);}}[_0x3d192e(0x1c2)](){const _0x14335b=_0x3d192e;this[_0x14335b(0x355)][_0x14335b(0x253)](_0x36bfba=>this[_0x14335b(0x1e2)](_0x36bfba)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x5748b6){const _0x4e89aa=_0x3d192e,_0x4b27ea=this[_0x4e89aa(0x577)][_0x4e89aa(0x4fe)]['fetchThroughInterceptors'](this[_0x4e89aa(0x577)][_0x4e89aa(0x4fe)][_0x4e89aa(0x436)]()['COMPRESS_MUTATION_APPLY'])(_0x5748b6[_0x4e89aa(0x547)],null)||_0x5748b6[_0x4e89aa(0x547)],_0x1786b6={..._0x5748b6,'mutations':_0x4b27ea};this[_0x4e89aa(0x512)](),this[_0x4e89aa(0x249)](this['_state'][_0x4e89aa(0x24d)](_0x1786b6)),this[_0x4e89aa(0x247)]();}[_0x3d192e(0x55f)](_0x4e2fd8){const _0x59b369=_0x3d192e;this[_0x59b369(0x512)](),this[_0x59b369(0x249)](this['_state']['onRemoteAck'](_0x4e2fd8)),this[_0x59b369(0x247)]();}[_0x3d192e(0x370)](_0x51dd04){const _0x50b7ab=_0x3d192e;this[_0x50b7ab(0x512)](),this[_0x50b7ab(0x249)](this[_0x50b7ab(0x51e)]['onRemoteRej'](_0x51dd04)),this[_0x50b7ab(0x247)]();}[_0x3d192e(0x4c1)](_0x6f97ac){const _0x1589d1=_0x3d192e;this['_lockTransition'](),this[_0x1589d1(0x249)](this[_0x1589d1(0x51e)][_0x1589d1(0x2ac)](_0x6f97ac)),this[_0x1589d1(0x247)]();}[_0x3d192e(0x4d0)](_0x47553b){const _0x1cbf06=_0x3d192e;if(!(this[_0x1cbf06(0x51e)]instanceof he))throw new TypeError(_0x1cbf06(0x25d));const _0x4c0a5b=_0x47553b[_0x1cbf06(0x1fc)](_0x3f35ee=>{const _0x51529c=_0x1cbf06,_0x54b9a7=this[_0x51529c(0x577)][_0x51529c(0x4fe)]['fetchThroughInterceptors'](this[_0x51529c(0x577)][_0x51529c(0x4fe)][_0x51529c(0x436)]()[_0x51529c(0x44e)])(_0x3f35ee[_0x51529c(0x547)],null)||_0x3f35ee[_0x51529c(0x547)];return{..._0x3f35ee,'mutations':_0x54b9a7};});this[_0x1cbf06(0x512)](),this[_0x1cbf06(0x249)](this[_0x1cbf06(0x51e)][_0x1cbf06(0x574)](_0x4c0a5b)),this[_0x1cbf06(0x247)]();}['_toggleOffline'](){const _0x4a422f=_0x3d192e;this['_lockTransition'](),this[_0x4a422f(0x249)](this[_0x4a422f(0x51e)][_0x4a422f(0x598)]()),this['_unlockTransition']();}[_0x3d192e(0x357)](_0x184bc6=!0x1){const _0x5d4533=_0x3d192e;this[_0x5d4533(0x512)](),this[_0x5d4533(0x249)](this[_0x5d4533(0x51e)]['toggleOnline']()),this['_unlockTransition']();const _0x4de7dc=this[_0x5d4533(0x51e)];_0x184bc6&&_0x4de7dc instanceof Fe&&(this[_0x5d4533(0x512)](),this[_0x5d4533(0x249)](_0x4de7dc[_0x5d4533(0x496)]()),this[_0x5d4533(0x247)]());}async[_0x3d192e(0x28a)](){return new Promise(_0x3ab2c4=>{const _0x2c48e1=_0x1083;this[_0x2c48e1(0x302)]['sessionStatus$'][_0x2c48e1(0x407)](_0x543baa(0x1))[_0x2c48e1(0x2ce)](async _0x26e7fd=>{const _0x346f6c=_0x2c48e1;_0x3ab2c4(await this[_0x346f6c(0x22d)](_0x26e7fd===ve[_0x346f6c(0x2c3)]));});});}[_0x3d192e(0x2db)](){const _0x13d6d1=_0x3d192e,_0x4550b8=this[_0x13d6d1(0x1dc)];return{'onStateChange':(_0x51c926,_0x1c3974)=>{const _0x564178=_0x13d6d1;if(_0x51c926!==this['_state'])throw new Error(_0x564178(0x2d0)+_0x51c926['status']+'\x0aAfter:\x20'+_0x1c3974[_0x564178(0x3ab)]+_0x564178(0x322)+this[_0x564178(0x51e)][_0x564178(0x3ab)]);this['_updateState'](_0x1c3974);},'onSendChangeset':_0x26094f=>{const _0x3c14f9=_0x13d6d1;_0x26094f[_0x3c14f9(0x369)]||(_0x26094f[_0x3c14f9(0x369)]=this['_changesetSessionId'],_0x26094f[_0x3c14f9(0x561)]=++this[_0x3c14f9(0x56e)]);const _0x47304e={'eventID':_0x28e200[_0x3c14f9(0x273)],'data':{'unitID':_0x26094f[_0x3c14f9(0x1dc)],'unitType':this[_0x3c14f9(0x566)],'changeset':_0x26094f,'memberID':this[_0x3c14f9(0x302)][_0x3c14f9(0x282)]()}};this[_0x3c14f9(0x302)]['send'](_0x47304e,this[_0x3c14f9(0x1dc)]);},'onMissingChangesets':({from:_0x43a182,to:_0x2f3f3f})=>{const _0x5051c9=_0x13d6d1;this[_0x5051c9(0x3b5)]['debug'](_0x5051c9(0x223),_0x5051c9(0x1e5)+_0x43a182+_0x5051c9(0x375)+_0x2f3f3f);const _0x487b48={'eventID':_0x28e200['FETCH_MISSING'],'data':{'unitID':_0x4550b8,'unitType':this[_0x5051c9(0x566)],'from':_0x43a182,'to':_0x2f3f3f}};this['session'][_0x5051c9(0x214)](_0x487b48,this[_0x5051c9(0x1dc)]);}};}async[_0x3d192e(0x22d)](_0x6a24af){const _0x4586ea=_0x3d192e;var _0x1a0ca3,_0x1cc62e;const _0x55b9f3=await this['_localCacheService'][_0x4586ea(0x48b)](this[_0x4586ea(0x1dc)]),_0x502d61=(_0x1a0ca3=_0x55b9f3==null?void 0x0:_0x55b9f3[_0x4586ea(0x547)])!=null?_0x1a0ca3:[],_0x2d317c=(_0x1cc62e=_0x55b9f3==null?void 0x0:_0x55b9f3[_0x4586ea(0x23a)])!=null?_0x1cc62e:null,_0x19c735=!!(_0x2d317c!=null&&_0x2d317c['sid'])&&!!(_0x2d317c!=null&&_0x2d317c[_0x4586ea(0x561)]);this[_0x4586ea(0x4cb)]=_0x19c735?_0x2d317c[_0x4586ea(0x369)]:Gr(),this[_0x4586ea(0x56e)]=_0x19c735?_0x2d317c[_0x4586ea(0x561)]:0x0;const _0x86930e=this[_0x4586ea(0x1dc)];try{this[_0x4586ea(0x192)](_0x2d317c,_0x502d61);}catch(_0x31c539){this[_0x4586ea(0x3b5)][_0x4586ea(0x4f4)](_0x31c539);}const _0x33c4a8=this[_0x4586ea(0x2db)]();if(_0x6a24af){const _0x374183=Ai(this[_0x4586ea(0x329)],_0x86930e,this[_0x4586ea(0x566)],_0x2d317c,_0x502d61,_0x33c4a8);return _0x374183 instanceof pe?_0x374183[_0x4586ea(0x2ab)]():(_0x374183 instanceof ge||_0x374183 instanceof Te)&&_0x374183[_0x4586ea(0x1bd)](),_0x374183;}return this[_0x4586ea(0x329)][_0x4586ea(0x521)](ye,_0x86930e,this[_0x4586ea(0x566)],_0x2d317c,_0x502d61,_0x33c4a8);}['_replayCachedMutations'](_0x175369,_0x4884ce){const _0x2ec7d1=_0x3d192e;var _0x12bc20,_0x404717;const _0x160aaf=this[_0x2ec7d1(0x577)][_0x2ec7d1(0x4fe)][_0x2ec7d1(0x3ea)](this['_compressMutationService']['interceptor'][_0x2ec7d1(0x436)]()[_0x2ec7d1(0x44e)]);(_0x12bc20=_0x160aaf((_0x175369==null?void 0x0:_0x175369[_0x2ec7d1(0x547)])||[],null))==null||_0x12bc20[_0x2ec7d1(0x253)](_0x4f2562=>this[_0x2ec7d1(0x2d5)][_0x2ec7d1(0x3b1)](_0x4f2562['id'],_0x4f2562[_0x2ec7d1(0x59e)])),(_0x404717=_0x160aaf(_0x4884ce||[],null))==null||_0x404717['forEach'](_0x30b3a3=>this[_0x2ec7d1(0x2d5)][_0x2ec7d1(0x3b1)](_0x30b3a3['id'],_0x30b3a3['params']));}};St=Es([H(0x3,_0x435342(_0x5a18dc)),H(0x4,_0x435342(q)),H(0x5,_0x435342(_0x58b852)),H(0x6,_0x435342(_0xef493b)),H(0x7,_0x435342(_0x18ab34)),H(0x8,_0x25772e),H(0x9,_0x4d4125),H(0xa,_0x11ef1f),H(0xb,_0x23a72a),H(0xc,_0x1eef7c(yt))],St);let ss=class extends St{constructor(_0x430d8a,_0x89952,_0x33afd1,_0x4961d7,_0x50c992,_0x1b5278,_0x3e6c04,_0x4ff038,_0x28b79a,_0x3e5708,_0x295c02,_0x2a5e61,_0xe9b124,_0x3aac4c,_0x4e95da,_0x51a7e3,_0xf9256f,_0xfcfe11){const _0x27faad=_0x3d192e;super(_0x430d8a,_0x33afd1,_0x89952,_0x4961d7,_0x50c992,_0x1b5278,_0x3e6c04,_0x4ff038,_0x3aac4c,_0x4e95da,_0x51a7e3,_0xf9256f,_0xfcfe11),this[_0x27faad(0x1dc)]=_0x430d8a,this[_0x27faad(0x34e)]=_0x89952,this[_0x27faad(0x478)]=_0x28b79a,this[_0x27faad(0x58d)]=_0x3e5708,this[_0x27faad(0x35e)]=_0x295c02,this[_0x27faad(0x473)]=_0x2a5e61,this[_0x27faad(0x263)]=_0xe9b124;}[_0x3d192e(0x2db)](){const _0x28dc71=_0x3d192e,_0x46cfd5=super[_0x28dc71(0x2db)]();return _0x46cfd5[_0x28dc71(0x356)]=_0x2cb79e=>this['_docTransformIMECacheService'][_0x28dc71(0x4f0)](_0x2cb79e),_0x46cfd5[_0x28dc71(0x303)]=_0x141199=>this[_0x28dc71(0x35e)][_0x28dc71(0x2aa)](_0x141199),_0x46cfd5[_0x28dc71(0x20f)]=_0x30843d=>this[_0x28dc71(0x473)]['transformSelections'](_0x30843d),_0x46cfd5[_0x28dc71(0x401)]=_0x24c09e=>this['_docSyncEditingCollabCursorService'][_0x28dc71(0x374)](_0x24c09e),_0x46cfd5['onTransformRemoteChangesetByIMECache']=_0x5cc058=>this[_0x28dc71(0x58d)][_0x28dc71(0x1b9)](_0x5cc058),_0x46cfd5['onTransformRemoteChangesetByStateCache']=_0x33ceb1=>this[_0x28dc71(0x35e)]['transformRemoteChangeset'](_0x33ceb1),_0x46cfd5;}async[_0x3d192e(0x20a)](){const _0x5c0c4e=_0x3d192e,_0x2eb9a3=await super[_0x5c0c4e(0x20a)]();return this['_docStateChangeManagerService'][_0x5c0c4e(0x27d)]['pipe'](_0xe1e697(this['dispose$']))['subscribe'](_0x47b4d1=>{const _0x1e7c61=_0x5c0c4e;if(_0x47b4d1==null)return;const {unitId:_0x5d0a81,redoState:_0x9d638,commandId:_0x4a1b3b}=_0x47b4d1;if(_0x5d0a81!==this['unitID'])return;const _0x5e1f3e={'id':_0x4a1b3b,'type':_0x8cff0f['MUTATION'],'params':{'unitId':_0x5d0a81,'actions':_0x9d638[_0x1e7c61(0x43c)],'textRanges':null}};this['_onLocalMutation'](_0x5e1f3e);}),_0x2eb9a3;}};ss=Es([H(0x3,_0x435342(_0x5a18dc)),H(0x4,_0x435342(q)),H(0x5,_0x435342(_0x58b852)),H(0x6,_0x435342(_0xef493b)),H(0x7,_0x435342(_0x18ab34)),H(0x8,_0x435342(_0x391d27)),H(0x9,_0x435342(vt)),H(0xa,_0x435342(pt)),H(0xb,_0x435342(gt)),H(0xc,_0x435342(Cs)),H(0xd,_0x25772e),H(0xe,_0x4d4125),H(0xf,_0x11ef1f),H(0x10,_0x23a72a),H(0x11,_0x1eef7c(yt))],ss);let is=class extends St{constructor(_0x41b3b4,_0x4c4019,_0x2c3671,_0x449e0e,_0x1876e9,_0x40d7e9,_0x23fcf1,_0x1815e4,_0x3ee129,_0x5df5ad,_0x13a3b8,_0x2838ba,_0x3a8904,_0x20863c){const _0x37c5ae=_0x3d192e;super(_0x41b3b4,_0x2c3671,_0x4c4019,_0x449e0e,_0x1876e9,_0x40d7e9,_0x23fcf1,_0x1815e4,_0x5df5ad,_0x13a3b8,_0x2838ba,_0x3a8904,_0x20863c),this[_0x37c5ae(0x1dc)]=_0x41b3b4,this['type']=_0x4c4019,this[_0x37c5ae(0x53c)]=_0x3ee129;}[_0x3d192e(0x2db)](){const _0x32cd22=_0x3d192e,_0xe0665b=super['_createHandler']();return _0xe0665b[_0x32cd22(0x20f)]=_0x4e0abd=>this[_0x32cd22(0x53c)]['transformSelections'](_0x4e0abd),_0xe0665b;}async[_0x3d192e(0x20a)](){const _0x1dc2d8=_0x3d192e,_0x1a21eb=await super[_0x1dc2d8(0x20a)]();return this['disposeWithMe'](this[_0x1dc2d8(0x2d5)][_0x1dc2d8(0x3a3)]((_0x3db28a,_0x49c0fb)=>{const _0x5db96f=_0x1dc2d8;if(_0x3db28a[_0x5db96f(0x34e)]!==_0x8cff0f[_0x5db96f(0x280)]||_0x49c0fb!=null&&_0x49c0fb[_0x5db96f(0x286)]||_0x49c0fb!=null&&_0x49c0fb[_0x5db96f(0x1ff)])return;const _0x3bb541=_0x3db28a['params'];if((_0x3bb541==null?void 0x0:_0x3bb541[_0x5db96f(0x488)])!==this[_0x5db96f(0x1dc)])return;const _0x293106=_0x3db28a,_0x4a1ae4=this[_0x5db96f(0x577)][_0x5db96f(0x4fe)][_0x5db96f(0x3ea)](this[_0x5db96f(0x577)][_0x5db96f(0x4fe)]['getInterceptPoints']()[_0x5db96f(0x509)])([_0x293106],null)||[_0x293106];this[_0x5db96f(0x49e)](_0x4a1ae4[0x0]);})),_0x1a21eb;}};is=Es([H(0x3,_0x435342(_0x5a18dc)),H(0x4,_0x435342(q)),H(0x5,_0x435342(_0x58b852)),H(0x6,_0x435342(_0xef493b)),H(0x7,_0x435342(_0x18ab34)),H(0x8,_0x435342(mt)),H(0x9,_0x25772e),H(0xa,_0x4d4125),H(0xb,_0x11ef1f),H(0xc,_0x23a72a),H(0xd,_0x1eef7c(yt))],is);var go=Object[_0x3d192e(0x494)],So=Object[_0x3d192e(0x3e5)],Io=(_0x23443d,_0x136750,_0x262d96,_0x294b8e)=>{const _0x2466b9=_0x3d192e;for(var _0x4e0a75=_0x294b8e>0x1?void 0x0:_0x294b8e?So(_0x136750,_0x262d96):_0x136750,_0x1b1b41=_0x23443d[_0x2466b9(0x4e9)]-0x1,_0x149cae;_0x1b1b41>=0x0;_0x1b1b41--)(_0x149cae=_0x23443d[_0x1b1b41])&&(_0x4e0a75=(_0x294b8e?_0x149cae(_0x136750,_0x262d96,_0x4e0a75):_0x149cae(_0x4e0a75))||_0x4e0a75);return _0x294b8e&&_0x4e0a75&&go(_0x136750,_0x262d96,_0x4e0a75),_0x4e0a75;},Lt=(_0x1ea8af,_0x3b6ebd)=>(_0x56c9d9,_0x573501)=>_0x3b6ebd(_0x56c9d9,_0x573501,_0x1ea8af);let it=class extends _0x10cb26{constructor(_0x3e5583,_0x11bee6,_0x2e825f){const _0x522fc3=_0x3d192e;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0x276b38()),(this[_0x522fc3(0x329)]=_0x3e5583,this[_0x522fc3(0x4e3)]=_0x11bee6,this['_univerInstanceService']=_0x2e825f,this[_0x522fc3(0x20a)]());}[_0x3d192e(0x228)](){const _0x20a9a3=_0x3d192e;super[_0x20a9a3(0x228)](),this[_0x20a9a3(0x190)][_0x20a9a3(0x253)](_0x4095e3=>_0x4095e3[_0x20a9a3(0x228)]()),this[_0x20a9a3(0x190)][_0x20a9a3(0x49f)]();}[_0x3d192e(0x222)](_0x518a11){const _0x40de42=_0x3d192e;var _0x3491f5;return(_0x3491f5=this[_0x40de42(0x190)]['get'](_0x518a11))!=null?_0x3491f5:null;}[_0x3d192e(0x387)](_0x3dacc1){const _0x437c9c=_0x3d192e,_0xb80a60=this['getCollabEntity'](_0x3dacc1);return _0xb80a60?_0x20dba1(_0xb80a60):this[_0x437c9c(0x2dc)]['pipe'](_0x4f86ac(_0x13e31d=>_0x13e31d[_0x437c9c(0x1dc)]===_0x3dacc1));}[_0x3d192e(0x20a)](){const _0x26bf94=_0x3d192e;this[_0x26bf94(0x43d)]['getTypeOfUnitAdded$'](_0x1c25e8[_0x26bf94(0x26f)])[_0x26bf94(0x407)](_0xe1e697(this['dispose$']),_0x3bb49b(0x10))[_0x26bf94(0x2ce)](async _0x3e1ae4=>{const _0x139512=_0x26bf94,_0x342b06=_0x3e1ae4[_0x139512(0x2c1)](),_0x32f240=await this[_0x139512(0x1fa)](_0x342b06,ce[_0x139512(0x26f)]);this[_0x139512(0x190)][_0x139512(0x467)](_0x342b06,_0x32f240);}),this[_0x26bf94(0x43d)][_0x26bf94(0x551)](_0x1c25e8[_0x26bf94(0x52f)])[_0x26bf94(0x407)](_0xe1e697(this[_0x26bf94(0x3e1)]),_0x3bb49b(0x10))[_0x26bf94(0x407)](_0x4f86ac(_0x442aad=>!_0x442aad['getUnitId']()[_0x26bf94(0x550)]('__')))[_0x26bf94(0x2ce)](async _0x1723c4=>{const _0x479b67=_0x26bf94,_0x44d024=_0x1723c4[_0x479b67(0x2c1)](),_0x32b390=await this[_0x479b67(0x1fa)](_0x44d024,ce[_0x479b67(0x52f)]);this['_entities'][_0x479b67(0x467)](_0x44d024,_0x32b390);}),_0x2eb1f5(this['_univerInstanceService'][_0x26bf94(0x2de)](_0x1c25e8['UNIVER_SHEET']),this[_0x26bf94(0x43d)][_0x26bf94(0x2de)](_0x1c25e8['UNIVER_DOC']))['pipe'](_0xe1e697(this[_0x26bf94(0x3e1)]))[_0x26bf94(0x2ce)](_0x2cf518=>{const _0x3e092f=_0x26bf94,_0x4a2d67=_0x2cf518['getUnitId'](),_0x5dc533=this[_0x3e092f(0x190)][_0x3e092f(0x47d)](_0x4a2d67);_0x5dc533&&(_0x5dc533[_0x3e092f(0x228)](),this[_0x3e092f(0x190)]['delete'](_0x4a2d67));});}async[_0x3d192e(0x1fa)](_0x560e25,_0x4fb1e8){const _0x3f0ab2=_0x3d192e,_0x4eaa8f=await this['_collabSessionService'][_0x3f0ab2(0x51f)](_0x560e25),_0x249cbb=this[_0x3f0ab2(0x329)][_0x3f0ab2(0x521)](this[_0x3f0ab2(0x19c)](_0x4fb1e8),_0x560e25,_0x4fb1e8,_0x4eaa8f);return await _0x249cbb[_0x3f0ab2(0x46a)](),this['_entityInit$'][_0x3f0ab2(0x4bc)](_0x249cbb),_0x249cbb;}['_getCtorByUniverType'](_0x1f69c1){const _0x5a807b=_0x3d192e;switch(_0x1f69c1){case ce[_0x5a807b(0x52f)]:return ss;case ce[_0x5a807b(0x26f)]:return is;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1f69c1);}}};it=Io([Lt(0x0,_0x435342(_0x5a18dc)),Lt(0x1,_0x435342(Ae)),Lt(0x2,_0x405019)],it);const Gs=[_0x3d192e(0x345),_0x3d192e(0x3e9),'verdancy600','red300','blue400',_0x3d192e(0x524)];class bs extends _0x1b81eb{constructor(){const _0x5ee573=_0x3d192e;super(...arguments),g(this,_0x5ee573(0x365),new Map()),g(this,_0x5ee573(0x1e9),0x0);}['assignAColorForMemberID'](_0x4a574e){const _0x19ac06=_0x3d192e;if(this[_0x19ac06(0x365)][_0x19ac06(0x476)](_0x4a574e))return this[_0x19ac06(0x365)]['get'](_0x4a574e);const _0x1f3640=Gs[this[_0x19ac06(0x1e9)]];return this[_0x19ac06(0x1e9)]=(this[_0x19ac06(0x1e9)]+0x1)%Gs[_0x19ac06(0x4e9)],this[_0x19ac06(0x365)][_0x19ac06(0x467)](_0x4a574e,_0x1f3640),_0x1f3640;}}var Co=Object['defineProperty'],Eo=Object[_0x3d192e(0x3e5)],bo=(_0x527d93,_0x1df49a,_0x497bb8,_0xce490f)=>{const _0x44928c=_0x3d192e;for(var _0x57da72=_0xce490f>0x1?void 0x0:_0xce490f?Eo(_0x1df49a,_0x497bb8):_0x1df49a,_0x5286d9=_0x527d93[_0x44928c(0x4e9)]-0x1,_0x297c7d;_0x5286d9>=0x0;_0x5286d9--)(_0x297c7d=_0x527d93[_0x5286d9])&&(_0x57da72=(_0xce490f?_0x297c7d(_0x1df49a,_0x497bb8,_0x57da72):_0x297c7d(_0x57da72))||_0x57da72);return _0xce490f&&_0x57da72&&Co(_0x1df49a,_0x497bb8,_0x57da72),_0x57da72;},Oe=(_0x1fefcb,_0x5cfa41)=>(_0x1b5c96,_0x4f7d9c)=>_0x5cfa41(_0x1b5c96,_0x4f7d9c,_0x1fefcb);const To=0x12c,Ro=0x64;let ns=class extends _0x10cb26{constructor(_0x241621,_0x56bf37,_0x27cbd8,_0x56ed05,_0x43d679,_0x4cabe4,_0x1a1014,_0x44f2e8,_0x50608f){const _0x15b970=_0x3d192e;super(),g(this,_0x15b970(0x43b),!0x1),g(this,_0x15b970(0x20a),!0x1),g(this,_0x15b970(0x4c4),new _0x1d58dd(new Map())),g(this,_0x15b970(0x1b0),this[_0x15b970(0x4c4)]['asObservable']()),g(this,'_roomMembers$',new _0x1d58dd([])),g(this,_0x15b970(0x339),this[_0x15b970(0x255)]['pipe'](_0xde4a6a(To))),g(this,_0x15b970(0x371),_0x339b95(_0x3709f8=>{const _0x37eaf3=_0x15b970,_0x2bd6e8={'eventID':_0x28e200[_0x37eaf3(0x4ac)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x37eaf3(0x282)](),'selection':Pi(_0x3709f8)}};this[_0x37eaf3(0x377)][_0x37eaf3(0x214)](_0x2bd6e8,this[_0x37eaf3(0x1dc)]);},Ro)),(this['unitID']=_0x241621,this[_0x15b970(0x377)]=_0x56bf37,this[_0x15b970(0x329)]=_0x27cbd8,this[_0x15b970(0x2fe)]=_0x56ed05,this[_0x15b970(0x4d5)]=_0x43d679,this[_0x15b970(0x462)]=_0x4cabe4,this['_transformService']=_0x1a1014,this[_0x15b970(0x43d)]=_0x44f2e8,this[_0x15b970(0x2d5)]=_0x50608f);}get[_0x3d192e(0x43e)](){const _0x4b4689=_0x3d192e;return this[_0x4b4689(0x4c4)][_0x4b4689(0x27a)]();}get[_0x3d192e(0x2ca)](){const _0x598693=_0x3d192e;return this[_0x598693(0x255)]['getValue']();}[_0x3d192e(0x228)](){const _0x558cda=_0x3d192e;super[_0x558cda(0x228)](),this[_0x558cda(0x4c4)][_0x558cda(0x4bc)](new Map()),this['_cursorInfo$'][_0x558cda(0x348)](),this[_0x558cda(0x255)][_0x558cda(0x4bc)]([]),this[_0x558cda(0x255)][_0x558cda(0x348)]();}[_0x3d192e(0x46a)](){const _0x320bfe=_0x3d192e;this['_init']||(this[_0x320bfe(0x20a)]=!0x0,this[_0x320bfe(0x377)][_0x320bfe(0x29c)]['pipe'](_0xe1e697(this[_0x320bfe(0x3e1)]))[_0x320bfe(0x2ce)](_0x19e93c=>{const _0x2da872=_0x320bfe;_0x19e93c===ve[_0x2da872(0x2c3)]?this[_0x2da872(0x357)]():this[_0x2da872(0x3ae)]();}),this['_session'][_0x320bfe(0x513)][_0x320bfe(0x407)](_0xe1e697(this['dispose$']))[_0x320bfe(0x2ce)](_0x565214=>{const _0x30cfc0=_0x320bfe,_0x50b64b=_0x565214['eventID'];_0x50b64b===_0x28e200[_0x30cfc0(0x4ac)]&&this[_0x30cfc0(0x2d3)](_0x565214),_0x50b64b===_0x28e200[_0x30cfc0(0x25c)]&&this[_0x30cfc0(0x3d3)](_0x565214);}),this[_0x320bfe(0x2f7)](this[_0x320bfe(0x2d5)][_0x320bfe(0x3a3)](_0x4e0b4e=>{const _0x4e87d6=_0x320bfe,_0x368dd6=_0x4e0b4e[_0x4e87d6(0x59e)];_0x368dd6!=null&&this[_0x4e87d6(0x43b)]&&_0x4e0b4e['id']===_0x3dabd6['id']&&_0x368dd6['unitId']===this['unitID']&&_0x368dd6[_0x4e87d6(0x46e)]===!0x1&&_0x368dd6[_0x4e87d6(0x28c)]['length']>0x0&&this[_0x4e87d6(0x371)](_0x368dd6[_0x4e87d6(0x28c)]);})),this[_0x320bfe(0x462)][_0x320bfe(0x492)]['pipe'](_0xe1e697(this[_0x320bfe(0x3e1)]))['subscribe'](_0x1eefd6=>{const _0x407a36=_0x320bfe;if((_0x1eefd6==null?void 0x0:_0x1eefd6[_0x407a36(0x1dc)])!==this[_0x407a36(0x1dc)])return;const _0x38292d={'eventID':_0x28e200[_0x407a36(0x4ac)],'data':_0x1eefd6};this['_onCursorUpdate'](_0x38292d);}),this[_0x320bfe(0x2f7)](this[_0x320bfe(0x2d5)][_0x320bfe(0x3a3)](_0x5eaa78=>{const _0x3f5714=_0x320bfe;if(_0x5eaa78[_0x3f5714(0x59e)]==null)return;const _0x3fcac1=_0x5eaa78[_0x3f5714(0x59e)];if(_0x5eaa78['id']!==_0x5448a2['id']||_0x3fcac1[_0x3f5714(0x488)]!==this[_0x3f5714(0x1dc)])return;const _0x3bb89e={'id':_0x3f5714(0x408),'params':_0x3fcac1},_0x2a1790=this['cursorInfo'];for(const [_0x11dd57,_0x35d2c7]of _0x2a1790){const _0x580a67={'id':_0x3f5714(0x408),'params':{'unitId':this[_0x3f5714(0x1dc)],'actions':null,'textRanges':_0x35d2c7['ranges']}},_0x50b368=this[_0x3f5714(0x4a8)][_0x3f5714(0x582)](_0x3bb89e,_0x580a67,!0x1);if(_0x19a818(_0x50b368))throw _0x50b368[_0x3f5714(0x4f4)];_0x2a1790['set'](_0x11dd57,{..._0x35d2c7,'ranges':_0x50b368[_0x3f5714(0x227)][_0x3f5714(0x59e)]['textRanges']});}queueMicrotask(()=>{const _0x12cb5f=_0x3f5714;this[_0x12cb5f(0x4c4)][_0x12cb5f(0x4bc)](_0x2a1790);});})));}['_onCursorUpdate'](_0x177704){const _0x5b48b6=_0x3d192e;var _0x3b22c5,_0x3c7ccd;const {memberID:_0x4d7d82,selection:_0xde209c}=_0x177704['data'],_0x429195=oo(_0xde209c),_0x47b263=(_0x3c7ccd=(_0x3b22c5=this['_memberService'][_0x5b48b6(0x37d)](this[_0x5b48b6(0x1dc)],_0x4d7d82))==null?void 0x0:_0x3b22c5[_0x5b48b6(0x2ef)])!=null?_0x3c7ccd:_0x5b48b6(0x1f8),_0x14b281={'color':this[_0x5b48b6(0x2fe)][_0x5b48b6(0x424)](_0x4d7d82),'name':_0x47b263,'ranges':_0x429195},_0x5a63be=this[_0x5b48b6(0x43e)];_0x5a63be[_0x5b48b6(0x467)](_0x4d7d82,_0x14b281),this[_0x5b48b6(0x4c4)][_0x5b48b6(0x4bc)](_0x5a63be);}['_onCursorDelete'](_0x405471){const _0xf4c85d=_0x3d192e,{memberID:_0x33dce0}=_0x405471[_0xf4c85d(0x383)],_0x29f912=this[_0xf4c85d(0x43e)];_0x29f912[_0xf4c85d(0x2cc)](_0x33dce0),this['_cursorInfo$'][_0xf4c85d(0x4bc)](_0x29f912);}[_0x3d192e(0x357)](){const _0x34bddb=_0x3d192e;var _0x139d62;if(this[_0x34bddb(0x43b)]=!0x0,((_0x139d62=this[_0x34bddb(0x43d)][_0x34bddb(0x29a)]())==null?void 0x0:_0x139d62[_0x34bddb(0x2c1)]())!==this[_0x34bddb(0x1dc)])return;const _0x5d5897=this[_0x34bddb(0x329)]['get'](_0x9ce9ab)[_0x34bddb(0x2f8)]();Array[_0x34bddb(0x350)](_0x5d5897)&&_0x5d5897[_0x34bddb(0x4e9)]>0x0&&this['_updateLocalCursor'](_0x5d5897);}['_toggleOffline'](){const _0x498b38=_0x3d192e;this[_0x498b38(0x43b)]=!0x1;}};ns=bo([Oe(0x2,_0x435342(_0x5a18dc)),Oe(0x3,_0x435342(bs)),Oe(0x4,_0x435342(Ne)),Oe(0x5,_0x435342(Cs)),Oe(0x6,_0x238f3d),Oe(0x7,_0x405019),Oe(0x8,_0x4d4125)],ns);var yo=Object[_0x3d192e(0x494)],Oo=Object[_0x3d192e(0x3e5)],wo=(_0x17d276,_0x5b1856,_0x4d2027,_0x2639bf)=>{const _0x45af35=_0x3d192e;for(var _0x47d2d6=_0x2639bf>0x1?void 0x0:_0x2639bf?Oo(_0x5b1856,_0x4d2027):_0x5b1856,_0x35153d=_0x17d276[_0x45af35(0x4e9)]-0x1,_0x3ba514;_0x35153d>=0x0;_0x35153d--)(_0x3ba514=_0x17d276[_0x35153d])&&(_0x47d2d6=(_0x2639bf?_0x3ba514(_0x5b1856,_0x4d2027,_0x47d2d6):_0x3ba514(_0x47d2d6))||_0x47d2d6);return _0x2639bf&&_0x47d2d6&&yo(_0x5b1856,_0x4d2027,_0x47d2d6),_0x47d2d6;},Be=(_0x22da35,_0x4b50b5)=>(_0xdeba74,_0x5a49ef)=>_0x4b50b5(_0xdeba74,_0x5a49ef,_0x22da35);const Do=0x12c,Po=0x64,Uo=()=>{let _0x35ae01=[],_0x138948=!0x1;return _0x540a4e=>{_0x35ae01['push'](_0x540a4e),_0x138948||(_0x138948=!0x0,setTimeout(()=>{const _0x51c364=_0x1083;_0x35ae01[_0x51c364(0x253)](_0x2fe96c=>_0x2fe96c()),_0x35ae01=[],_0x138948=!0x1;}));};};let rs=class extends _0x10cb26{constructor(_0x2247e4,_0x58c757,_0x3f9279,_0xf5e994,_0x206cbf,_0x415a0c,_0xbfb952,_0x327f71){const _0x10dd01=_0x3d192e;super(),g(this,_0x10dd01(0x43b),!0x1),g(this,_0x10dd01(0x20a),!0x1),g(this,'_cursorInfo$',new _0x1d58dd(new Map())),g(this,_0x10dd01(0x1b0),this['_cursorInfo$']['asObservable']()),g(this,_0x10dd01(0x255),new _0x1d58dd([])),g(this,_0x10dd01(0x339),this[_0x10dd01(0x255)]['pipe'](_0xde4a6a(Do))),g(this,_0x10dd01(0x371),_0x339b95((_0x27eaec,_0x8572b0)=>{const _0x199066=_0x10dd01,_0x20506c={'eventID':_0x28e200[_0x199066(0x4ac)],'data':{'unitID':this['unitID'],'memberID':this[_0x199066(0x377)][_0x199066(0x282)](),'selection':_0x3f0e28(_0x27eaec,_0x8572b0[_0x199066(0x2d4)])}};this[_0x199066(0x377)][_0x199066(0x214)](_0x20506c,this[_0x199066(0x1dc)]);},Po)),(this['unitID']=_0x2247e4,this[_0x10dd01(0x377)]=_0x58c757,this[_0x10dd01(0x329)]=_0x3f9279,this[_0x10dd01(0x2fe)]=_0xf5e994,this[_0x10dd01(0x4d5)]=_0x206cbf,this[_0x10dd01(0x43d)]=_0x415a0c,this['_commandService']=_0xbfb952,this[_0x10dd01(0x439)]=_0x327f71);}get[_0x3d192e(0x43e)](){const _0x4316d8=_0x3d192e;return this[_0x4316d8(0x4c4)]['getValue']();}get[_0x3d192e(0x2ca)](){return this['_roomMembers$']['getValue']();}[_0x3d192e(0x228)](){const _0x2bd331=_0x3d192e;super['dispose'](),this[_0x2bd331(0x4c4)]['next'](new Map()),this[_0x2bd331(0x4c4)][_0x2bd331(0x348)](),this[_0x2bd331(0x255)][_0x2bd331(0x4bc)]([]),this[_0x2bd331(0x255)][_0x2bd331(0x348)]();}[_0x3d192e(0x46a)](){const _0x1b0c53=_0x3d192e;this[_0x1b0c53(0x20a)]||(this[_0x1b0c53(0x20a)]=!0x0,this[_0x1b0c53(0x377)][_0x1b0c53(0x29c)][_0x1b0c53(0x407)](_0xe1e697(this[_0x1b0c53(0x3e1)]))[_0x1b0c53(0x2ce)](_0x15448b=>{const _0x412861=_0x1b0c53;_0x15448b===ve[_0x412861(0x2c3)]?this[_0x412861(0x357)]():this[_0x412861(0x3ae)]();}),this[_0x1b0c53(0x377)][_0x1b0c53(0x513)]['pipe'](_0xe1e697(this[_0x1b0c53(0x3e1)]))[_0x1b0c53(0x2ce)](_0xe9c7a2=>{const _0x28f7e8=_0x1b0c53,_0x3a8fb5=_0xe9c7a2['eventID'];_0x3a8fb5===_0x28e200['UPDATE_CURSOR']&&this[_0x28f7e8(0x2d3)](_0xe9c7a2),_0x3a8fb5===_0x28e200[_0x28f7e8(0x25c)]&&this[_0x28f7e8(0x3d3)](_0xe9c7a2);}),this[_0x1b0c53(0x28b)](),this[_0x1b0c53(0x2f7)](this[_0x1b0c53(0x2d5)]['onCommandExecuted'](_0xfb99f5=>{const _0x241f91=_0x1b0c53;if(this[_0x241f91(0x43b)]&&_0xfb99f5['id']===_0x8e9493['id']&&_0xfb99f5['params'][_0x241f91(0x488)]===this[_0x241f91(0x1dc)]){const _0x37067b=_0xfb99f5['params'];this['_updateLocalCursor'](_0x37067b[_0x241f91(0x465)],_0x37067b[_0x241f91(0x450)][0x0]);}})));}[_0x3d192e(0x2d3)](_0x277dce){const _0x5401c4=_0x3d192e;var _0xd968c8,_0x16cc99;const {memberID:_0x1d9f3c,selection:_0x44bbb0}=_0x277dce[_0x5401c4(0x383)],{sheetName:_0x1799f2,range:_0x396cce}=_0x5ea48b(_0x44bbb0),_0x4589c8={'name':(_0x16cc99=(_0xd968c8=this[_0x5401c4(0x4d5)][_0x5401c4(0x37d)](this['unitID'],_0x1d9f3c))==null?void 0x0:_0xd968c8['name'])!=null?_0x16cc99:_0x5401c4(0x1f8),'range':this[_0x5401c4(0x264)](_0x1799f2,_0x396cce),'sheetID':_0x1799f2,'color':this[_0x5401c4(0x2fe)][_0x5401c4(0x424)](_0x1d9f3c),'selection':_0x44bbb0},_0x100d26=this['cursorInfo'];_0x100d26[_0x5401c4(0x467)](_0x1d9f3c,_0x4589c8),this[_0x5401c4(0x4c4)]['next'](_0x100d26);}['_onCursorDelete'](_0x3e5dd1){const _0x673e57=_0x3d192e,{memberID:_0x2c7b2a}=_0x3e5dd1['data'],_0x3eb079=this['cursorInfo'];_0x3eb079[_0x673e57(0x2cc)](_0x2c7b2a),this[_0x673e57(0x4c4)][_0x673e57(0x4bc)](_0x3eb079);}[_0x3d192e(0x264)](_0x59de34,_0x2fa415){const _0x4fd493=_0x3d192e;var _0x16dae5,_0xfd6ff7;const _0x13e7ea=(_0xfd6ff7=(_0x16dae5=this[_0x4fd493(0x43d)][_0x4fd493(0x1de)](this[_0x4fd493(0x1dc)]))==null?void 0x0:_0x16dae5['getSheetBySheetId'](_0x59de34))==null?void 0x0:_0xfd6ff7[_0x4fd493(0x40f)]();return(_0x13e7ea==null?void 0x0:_0x13e7ea[_0x4fd493(0x2fd)](_0x4cf33f=>_0x44b24e[_0x4fd493(0x564)](_0x4cf33f,_0x2fa415)))||_0x2fa415;}[_0x3d192e(0x28b)](){const _0x47495a=_0x3d192e,_0x3d0ee5=new _0x53f1da(),_0x4b7580=Uo(),_0x88db98=()=>{const _0x9ca968=_0x1083;_0x3d0ee5[_0x9ca968(0x228)]();const _0x40bf54=(_0x3afffc,_0x501e36,_0x530a9c,_0x1cf553)=>{const _0x2f42a8=_0x9ca968;let _0x2d857f=[];switch(_0x3afffc['id']){case _0x572e94[_0x2f42a8(0x396)]:{_0x2d857f=_0x262d03(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x3fc)]:{_0x2d857f=_0x5f5d6d(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x4a4)]:{_0x2d857f=_0x489ef0(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x2d6)]:{_0x2d857f=_0x557413(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x308)]:{_0x2d857f=_0x461d14(_0x3afffc,_0x1cf553);break;}case _0x572e94['InsertRowCommandId']:{_0x2d857f=_0x404ede(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x51b)]:{_0x2d857f=_0x45208f(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x3da)]:{_0x2d857f=_0x5c63a8(_0x3afffc,_0x1cf553);break;}case _0x572e94[_0x2f42a8(0x30f)]:{_0x2d857f=_0x4cae9e(_0x3afffc,_0x1cf553);break;}}const _0x282904=_0x22fc09(_0x2d857f,_0x1cf553),_0x2284d5=this[_0x2f42a8(0x43e)][_0x2f42a8(0x47d)](_0x501e36);if(_0x2284d5&&_0x282904){const _0xaba240={..._0x2284d5,'range':_0x282904};this[_0x2f42a8(0x43e)][_0x2f42a8(0x467)](_0x501e36,_0xaba240),_0x4b7580(()=>{const _0x5cbcef=_0x2f42a8,_0x17d3c2=this[_0x5cbcef(0x439)][_0x5cbcef(0x2a0)](_0x282904,_0x4b290f=>(_0x17d3c2['dispose'](),_0x40bf54(_0x4b290f,_0x501e36,_0x530a9c,_0x282904)));_0x3d0ee5['add'](_0x17d3c2);});}return{'redos':[],'undos':[]};};this[_0x9ca968(0x43e)]['forEach']((_0x4e49f2,_0x2b0765)=>{const _0x2acd69=_0x9ca968,{range:_0x3b17cb,sheetID:_0x431af4}=_0x4e49f2,_0x7625a5=this[_0x2acd69(0x439)][_0x2acd69(0x2a0)](_0x3b17cb,_0x2fdbc7=>(_0x7625a5[_0x2acd69(0x228)](),_0x40bf54(_0x2fdbc7,_0x2b0765,_0x431af4,_0x3b17cb)));_0x3d0ee5['add'](_0x7625a5);});};this[_0x47495a(0x2f7)](_0x30963a(this['_cursorInfo$'][_0x47495a(0x2ce)](()=>{_0x88db98();})));}['_toggleOnline'](){const _0x8380ad=_0x3d192e;var _0x501002,_0x23a326;if(this[_0x8380ad(0x43b)]=!0x0,((_0x501002=this[_0x8380ad(0x43d)][_0x8380ad(0x29a)]())==null?void 0x0:_0x501002['getUnitId']())!==this[_0x8380ad(0x1dc)])return;const _0x42affc=(_0x23a326=this[_0x8380ad(0x329)][_0x8380ad(0x47d)](_0x3c9037)[_0x8380ad(0x552)]())==null?void 0x0:_0x23a326[0x0],_0x3b1e96=this[_0x8380ad(0x43d)][_0x8380ad(0x31b)](_0x1c25e8[_0x8380ad(0x26f)])[_0x8380ad(0x3f6)]();_0x42affc&&_0x3b1e96&&this[_0x8380ad(0x371)](_0x3b1e96[_0x8380ad(0x1a9)](),_0x42affc);}[_0x3d192e(0x3ae)](){const _0x27fff9=_0x3d192e;this[_0x27fff9(0x43b)]=!0x1;}};rs=wo([Be(0x2,_0x435342(_0x5a18dc)),Be(0x3,_0x435342(bs)),Be(0x4,_0x435342(Ne)),Be(0x5,_0x405019),Be(0x6,_0x4d4125),Be(0x7,_0x435342(_0x9b446f))],rs);var No=Object[_0x3d192e(0x494)],Ao=Object['getOwnPropertyDescriptor'],Mo=(_0x58c449,_0x55fde5,_0x5d566d,_0x3c9a09)=>{for(var _0x4ff586=_0x3c9a09>0x1?void 0x0:_0x3c9a09?Ao(_0x55fde5,_0x5d566d):_0x55fde5,_0x501b60=_0x58c449['length']-0x1,_0x347281;_0x501b60>=0x0;_0x501b60--)(_0x347281=_0x58c449[_0x501b60])&&(_0x4ff586=(_0x3c9a09?_0x347281(_0x55fde5,_0x5d566d,_0x4ff586):_0x347281(_0x4ff586))||_0x4ff586);return _0x3c9a09&&_0x4ff586&&No(_0x55fde5,_0x5d566d,_0x4ff586),_0x4ff586;},$t=(_0x2b33c2,_0x1d84a5)=>(_0x5db262,_0x4b4ee4)=>_0x1d84a5(_0x5db262,_0x4b4ee4,_0x2b33c2);let Ve=class extends _0x10cb26{constructor(_0x5cbec2,_0x4271d9,_0x437c65){const _0x2273fb=_0x3d192e;super(),g(this,_0x2273fb(0x190),new Map()),g(this,_0x2273fb(0x2dc),new _0x276b38()),(this[_0x2273fb(0x43d)]=_0x5cbec2,this[_0x2273fb(0x329)]=_0x4271d9,this[_0x2273fb(0x4e3)]=_0x437c65,this['_init']());}[_0x3d192e(0x228)](){const _0x27d50f=_0x3d192e;super[_0x27d50f(0x228)](),this[_0x27d50f(0x2dc)][_0x27d50f(0x348)](),this[_0x27d50f(0x190)]['forEach'](_0x21a4b4=>_0x21a4b4[_0x27d50f(0x228)]());}['getCollabCursors$'](_0x4e0475){const _0x4f7fc5=_0x3d192e;return this[_0x4f7fc5(0x190)]['has'](_0x4e0475)?this['_entities'][_0x4f7fc5(0x47d)](_0x4e0475)[_0x4f7fc5(0x1b0)]:this[_0x4f7fc5(0x2dc)]['pipe'](_0x1e3ea8(_0x4168a0=>_0x4168a0[_0x4f7fc5(0x1dc)]===_0x4e0475),_0x149f7d(_0x5d6247=>_0x5d6247[_0x4f7fc5(0x1b0)]));}[_0x3d192e(0x20a)](){const _0x1609b9=_0x3d192e;this[_0x1609b9(0x43d)][_0x1609b9(0x551)](_0x1c25e8[_0x1609b9(0x26f)])[_0x1609b9(0x407)](_0xe1e697(this['dispose$']))[_0x1609b9(0x2ce)](async _0x2c5da8=>{const _0x2f504e=_0x1609b9,_0x359936=_0x2c5da8[_0x2f504e(0x2c1)](),_0xe775ba=await this['_startSheetCollabCursor'](_0x359936);this['_entityInit$'][_0x2f504e(0x4bc)](_0xe775ba),this['_entities']['set'](_0x359936,_0xe775ba);}),this[_0x1609b9(0x43d)][_0x1609b9(0x551)](_0x1c25e8[_0x1609b9(0x52f)])[_0x1609b9(0x407)](_0xe1e697(this[_0x1609b9(0x3e1)]))[_0x1609b9(0x407)](_0x1e3ea8(_0x86e6fc=>!_0x86e6fc['getUnitId']()[_0x1609b9(0x550)]('__')))[_0x1609b9(0x2ce)](async _0x1a4fc0=>{const _0x1910d3=_0x1609b9,_0x925906=_0x1a4fc0[_0x1910d3(0x2c1)](),_0x739366=await this[_0x1910d3(0x207)](_0x925906);this[_0x1910d3(0x2dc)][_0x1910d3(0x4bc)](_0x739366),this['_entities'][_0x1910d3(0x467)](_0x925906,_0x739366);}),_0x2eb1f5(this[_0x1609b9(0x43d)][_0x1609b9(0x2de)](_0x1c25e8[_0x1609b9(0x52f)]),this['_univerInstanceService'][_0x1609b9(0x2de)](_0x1c25e8['UNIVER_SHEET']))[_0x1609b9(0x407)](_0xe1e697(this[_0x1609b9(0x3e1)]))[_0x1609b9(0x2ce)](_0x3546ef=>{const _0x243010=_0x1609b9,_0x287687=_0x3546ef['getUnitId'](),_0x5de1de=this['_entities'][_0x243010(0x47d)](_0x287687);_0x5de1de&&(_0x5de1de[_0x243010(0x228)](),this[_0x243010(0x190)][_0x243010(0x2cc)](_0x287687));});}async[_0x3d192e(0x4fb)](_0x356a00){const _0x5bf7b7=_0x3d192e,_0x4aee0b=await this[_0x5bf7b7(0x4e3)][_0x5bf7b7(0x51f)](_0x356a00),_0xa2224a=this[_0x5bf7b7(0x329)]['createInstance'](rs,_0x356a00,_0x4aee0b);return _0xa2224a[_0x5bf7b7(0x46a)](),_0xa2224a;}async[_0x3d192e(0x207)](_0x303172){const _0x31ec10=_0x3d192e,_0x3cd1ac=await this[_0x31ec10(0x4e3)]['requireSession'](_0x303172),_0x3f6045=this[_0x31ec10(0x329)]['createInstance'](ns,_0x303172,_0x3cd1ac);return _0x3f6045['init'](),_0x3f6045;}};Ve=Mo([$t(0x0,_0x405019),$t(0x1,_0x435342(_0x5a18dc)),$t(0x2,_0x435342(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0xcd183a,_0x233018){const _0x101859=_0x3d192e;let {radius:_0x3574fa,width:_0x15564b,height:_0x57f066}=_0x233018;_0x3574fa=_0x3574fa!=null?_0x3574fa:0x0,_0x15564b=_0x15564b!=null?_0x15564b:0x1e,_0x57f066=_0x57f066!=null?_0x57f066:0x1e;let _0x2a53a6=0x0,_0x42b91c=0x0,_0x5b0d34=0x0;_0x2a53a6=_0x42b91c=_0x5b0d34=Math[_0x101859(0x354)](_0x3574fa,_0x15564b/0x2,_0x57f066/0x2),_0xcd183a['beginPath'](),_0xcd183a['moveTo'](_0x2a53a6,0x0),_0xcd183a[_0x101859(0x216)](_0x15564b-_0x42b91c,0x0),_0xcd183a[_0x101859(0x1a7)](_0x15564b-_0x42b91c,_0x42b91c,_0x42b91c,Math['PI']*0x3/0x2,0x0,!0x1),_0xcd183a['lineTo'](_0x15564b,_0x57f066-_0x5b0d34),_0xcd183a[_0x101859(0x1a7)](_0x15564b-_0x5b0d34,_0x57f066-_0x5b0d34,_0x5b0d34,0x0,Math['PI']/0x2,!0x1),_0xcd183a[_0x101859(0x216)](0x0,_0x57f066),_0xcd183a[_0x101859(0x216)](0x0,_0x2a53a6),_0xcd183a[_0x101859(0x1a7)](_0x2a53a6,_0x2a53a6,_0x2a53a6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xcd183a[_0x101859(0x352)](),_0x233018[_0x101859(0x57d)]&&(_0xcd183a[_0x101859(0x217)](),_0xcd183a[_0x101859(0x4bb)]=_0x233018[_0x101859(0x57d)],_0x233018[_0x101859(0x2b2)]==='evenodd'?_0xcd183a['fill'](_0x101859(0x585)):_0xcd183a['fill'](),_0xcd183a[_0x101859(0x3dc)]());}class Ot extends _0x1610d0{constructor(_0xc96769,_0x1443fb){const _0x2d73cf=_0x3d192e;super(_0xc96769,_0x1443fb),g(this,_0x2d73cf(0x1e1)),g(this,_0x2d73cf(0x1f4)),(this[_0x2d73cf(0x1e1)]=_0x1443fb==null?void 0x0:_0x1443fb[_0x2d73cf(0x1e1)],this['text']=_0x1443fb==null?void 0x0:_0x1443fb[_0x2d73cf(0x1f4)]);}static[_0x3d192e(0x2c6)](_0x35d845,_0x1c5f41){const _0x27752b=_0x3d192e,{text:_0x3ac087,color:_0x4cde6e}=_0x1c5f41;_0x35d845[_0x27752b(0x217)](),_0x35d845['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x55dc5b=_0x35d845[_0x27752b(0x35f)](_0x3ac087)[_0x27752b(0x1c6)],_0x11d29e=Math[_0x27752b(0x354)](_0x55dc5b+0x2*Ht,Ys);Lo(_0x35d845,{'height':nt,'radius':0x4,'width':_0x11d29e,'fill':_0x4cde6e,'evented':!0x1}),_0x35d845['fillStyle']='#FFF';const _0x13e086=Ht,_0x31a960=nt-xo,_0x3b582a=Ys-0x2*Ht;if(_0x55dc5b>_0x3b582a){let _0x3ba570='',_0x3aaf0c=0x0;for(const _0x274627 of _0x3ac087){const _0x132b82=_0x35d845[_0x27752b(0x35f)](_0x274627)[_0x27752b(0x1c6)];if(_0x3aaf0c+_0x132b82<=_0x3b582a-_0x35d845['measureText']('...')[_0x27752b(0x1c6)])_0x3ba570+=_0x274627,_0x3aaf0c+=_0x132b82;else{_0x3ba570+=_0x27752b(0x541);break;}}_0x35d845[_0x27752b(0x1a3)](_0x3ba570,_0x13e086,_0x31a960);}else _0x35d845[_0x27752b(0x1a3)](_0x3ac087,_0x13e086,_0x31a960);_0x35d845['restore']();}[_0x3d192e(0x499)](_0x117dbf){const _0x1eedfc=_0x3d192e;Ot[_0x1eedfc(0x2c6)](_0x117dbf,this);}}const jt=_0x3d192e(0x517),$o=_0x3d192e(0x306),Ho=_0x3d192e(0x529),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko='rgba(255,\x20255,\x20255,\x200.01)';class Ks{constructor(_0x22adac,_0x53e097,_0x2b4159,_0x4b6997){const _0x9b4f41=_0x3d192e;g(this,_0x9b4f41(0x311),[]),g(this,_0x9b4f41(0x50d),null),g(this,_0x9b4f41(0x2c9),null),g(this,_0x9b4f41(0x372),null),g(this,'_hideTimer',null),g(this,_0x9b4f41(0x1a8),null),(this[_0x9b4f41(0x34a)]=_0x22adac,this[_0x9b4f41(0x1e8)]=_0x53e097,this['_docSkeleton']=_0x2b4159,this[_0x9b4f41(0x4e8)]=_0x4b6997,this[_0x9b4f41(0x2f5)]());}set['_hover'](_0x42a0e9){const _0x555b16=_0x3d192e;_0x42a0e9?(this[_0x555b16(0x372)]&&this[_0x555b16(0x372)][_0x555b16(0x318)](),this[_0x555b16(0x2c9)]&&this[_0x555b16(0x2c9)][_0x555b16(0x4b4)]()):(this[_0x555b16(0x372)]&&this['_anchorDot']['show'](),this[_0x555b16(0x2c9)]&&this[_0x555b16(0x2c9)]['hide']());}[_0x3d192e(0x228)](){const _0x45d395=_0x3d192e;for(const _0x316add of this[_0x45d395(0x311)])_0x316add[_0x45d395(0x228)]();this[_0x45d395(0x2c9)]&&this[_0x45d395(0x2c9)][_0x45d395(0x228)](),this[_0x45d395(0x372)]&&this[_0x45d395(0x372)]['dispose'](),this[_0x45d395(0x50d)]&&this[_0x45d395(0x50d)][_0x45d395(0x228)](),this[_0x45d395(0x1a8)]&&this[_0x45d395(0x1a8)]();}[_0x3d192e(0x2f5)](){const _0x59b25d=_0x3d192e;var _0x4b879d;const {_docSkeleton:_0x1c73f3,_document:_0x22e078}=this,{color:_0x248dbb,name:_0x48be87,ranges:_0x1a77ce}=this[_0x59b25d(0x34a)],_0x22e150=_0x22e078[_0x59b25d(0x1d3)](),{docsLeft:_0x4b9f95,docsTop:_0x555a6c}=_0x22e150,_0x40d45b=new _0x20e65b(_0x22e150,_0x1c73f3);for(const {startOffset:_0x4f5389,endOffset:_0x46f886,rangeType:_0x1296a6,segmentId:_0x2ac671,segmentPage:_0x3e396a,collapsed:_0x2767ca,isActive:_0x425c76}of _0x1a77ce){const _0x4b8802=_0x1c73f3['findNodePositionByCharIndex'](_0x4f5389,!0x0,_0x2ac671,_0x3e396a);let _0x5929bf=_0x1c73f3['findNodePositionByCharIndex'](_0x46f886,!0x0,_0x2ac671,_0x3e396a);if(_0x5929bf==null&&(_0x5929bf=_0x1c73f3['findNodePositionByCharIndex'](_0x46f886-0x1,!0x1,_0x2ac671,_0x3e396a)),_0x425c76){const {contentBoxPointGroup:_0x379742}=_0x40d45b[_0x59b25d(0x569)](_0x5929bf,_0x5929bf);if(_0x379742[_0x59b25d(0x4e9)]===0x0)continue;this[_0x59b25d(0x53b)](_0x248dbb,_0x379742,_0x4b9f95,_0x555a6c,_0x48be87),this[_0x59b25d(0x1a8)]=this[_0x59b25d(0x386)]();}if(!_0x2767ca&&_0x4b8802&&_0x5929bf){if(_0x1296a6===_0x30543d[_0x59b25d(0x1d1)]){const _0x5c610d=new _0x227dda(_0x22e150,_0x1c73f3),{pointGroup:_0x2ff9eb}=(_0x4b879d=_0x5c610d['getRangePointData'](_0x4b8802,_0x5929bf))!=null?_0x4b879d:{};if(_0x2ff9eb==null||_0x2ff9eb['length']===0x0)continue;this[_0x59b25d(0x449)](_0x248dbb,_0x2ff9eb,_0x4b9f95,_0x555a6c);}else{const {borderBoxPointGroup:_0x542262}=_0x40d45b['getRangePointData'](_0x4b8802,_0x5929bf);if(_0x542262[_0x59b25d(0x4e9)]===0x0)continue;this[_0x59b25d(0x48f)](_0x248dbb,_0x542262,_0x4b9f95,_0x555a6c);}}}}[_0x3d192e(0x53b)](_0x3912b2,_0x1c2688,_0x1757de,_0x43a679,_0x375001){const _0x3776ce=_0x3d192e,_0x473c05=this[_0x3776ce(0x553)](_0x1c2688),{left:_0x124825,top:_0x4cc7a2,height:_0x58ccbb}=_0x473c05,_0x3cd719=this[_0x3776ce(0x3ec)](),_0x4d1922=Bo/_0x3cd719,_0x3e471f=new _0x242611(jt+_0x28e921['generateRandomId'](Je),{'left':_0x124825+_0x1757de-_0x4d1922,'top':_0x4cc7a2+_0x43a679,'height':_0x58ccbb,'width':jo,'fill':_0x3912b2||_0x12cdbd(_0x34dcb6[_0x3776ce(0x300)],0x0),'strokeWidth':_0x4d1922,'stroke':ko,'evented':!0x0});this[_0x3776ce(0x50d)]=_0x3e471f,this[_0x3776ce(0x1e8)]['addObject'](_0x3e471f,_0x397a80);const _0x474016=new _0x242611(jt+_0x28e921['generateRandomId'](Je),{'left':_0x124825+_0x1757de-_0x4d1922,'top':_0x4cc7a2+_0x43a679-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x3912b2||_0x12cdbd(_0x34dcb6['black'],0x0),'strokeWidth':0x0,'stroke':_0x3912b2||_0x12cdbd(_0x34dcb6['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x474016,this[_0x3776ce(0x1e8)][_0x3776ce(0x252)](_0x474016,_0x397a80);const _0x24a1da=new Ot(jt+_0x28e921['generateRandomId'](Je),{'left':_0x124825+_0x1757de-_0x4d1922,'top':_0x4cc7a2+_0x43a679-nt,'text':_0x375001,'color':_0x3912b2});this['_textBubble']=_0x24a1da,this[_0x3776ce(0x1e8)]['addObject'](_0x24a1da,_0x397a80),this[_0x3776ce(0x421)]=!0x1;}[_0x3d192e(0x386)](){const _0x19da7a=_0x3d192e,_0x456593=this['_anchor'][_0x19da7a(0x446)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x42f468=this[_0x19da7a(0x50d)][_0x19da7a(0x2e5)]['subscribeEvent'](()=>{const _0x50f594=_0x19da7a;this[_0x50f594(0x44b)]&&clearTimeout(this[_0x50f594(0x44b)]),this['_hideTimer']=setTimeout(()=>{const _0x5318c0=_0x50f594;this[_0x5318c0(0x421)]=!0x1;},0x7d0);});return()=>{const _0x10dba9=_0x19da7a;_0x456593[_0x10dba9(0x290)](),_0x42f468[_0x10dba9(0x290)]();};}['_drawTextRange'](_0x297182,_0x437c63,_0x1accc5,_0x657448){const _0x25bbe9=_0x3d192e,_0x97cf86=new _0x3dadb0(_0x297182)['setAlpha'](0.2)['toRgbString'](),_0x4e94a9=new _0x2caf0e($o+_0x28e921[_0x25bbe9(0x193)](Je),{'pointsGroup':_0x437c63,'fill':_0x97cf86||_0x12cdbd(_0x34dcb6[_0x25bbe9(0x300)],0.2),'left':_0x1accc5,'top':_0x657448,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25bbe9(0x311)]['push'](_0x4e94a9),this[_0x25bbe9(0x1e8)][_0x25bbe9(0x252)](_0x4e94a9,_0x397a80);}[_0x3d192e(0x449)](_0x1dded6,_0x1623ea,_0x21dc85,_0x4222db){const _0x291a69=_0x3d192e,_0x52ae5e=new _0x3dadb0(_0x1dded6)[_0x291a69(0x4c6)](0.2)['toRgbString'](),_0xb22fa6=new _0x2caf0e(Ho+_0x28e921[_0x291a69(0x193)](Je),{'pointsGroup':_0x1623ea,'fill':_0x52ae5e||_0x12cdbd(_0x34dcb6[_0x291a69(0x300)],0.2),'left':_0x21dc85,'top':_0x4222db,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x291a69(0x311)][_0x291a69(0x24b)](_0xb22fa6),this[_0x291a69(0x1e8)][_0x291a69(0x252)](_0xb22fa6,_0x397a80);}[_0x3d192e(0x553)](_0xf30b9f){const _0xca004a=_0xf30b9f[0x0],_0x57b43e=_0xca004a[0x0],_0x452f10=_0xca004a[0x2],{x:_0x30505c,y:_0x2e1497}=_0x57b43e,{x:_0x448b2e,y:_0x298114}=_0x452f10;return{'left':_0x30505c,'top':_0x2e1497,'width':_0x448b2e-_0x30505c,'height':_0x298114-_0x2e1497};}[_0x3d192e(0x3ec)](){const _0x4a190a=_0x3d192e,{scaleX:_0x2b50d9,scaleY:_0x3ad0e2}=this[_0x4a190a(0x1e8)][_0x4a190a(0x238)]();return Math[_0x4a190a(0x4b5)](_0x2b50d9,_0x3ad0e2);}}var Wo=Object['defineProperty'],Fo=Object[_0x3d192e(0x3e5)],Vo=(_0x18e130,_0x599e64,_0x337e8f,_0x499fe9)=>{const _0x29095e=_0x3d192e;for(var _0x362022=_0x499fe9>0x1?void 0x0:_0x499fe9?Fo(_0x599e64,_0x337e8f):_0x599e64,_0x29cd38=_0x18e130[_0x29095e(0x4e9)]-0x1,_0xe536c2;_0x29cd38>=0x0;_0x29cd38--)(_0xe536c2=_0x18e130[_0x29cd38])&&(_0x362022=(_0x499fe9?_0xe536c2(_0x599e64,_0x337e8f,_0x362022):_0xe536c2(_0x362022))||_0x362022);return _0x499fe9&&_0x362022&&Wo(_0x599e64,_0x337e8f,_0x362022),_0x362022;},ht=(_0x5ac29a,_0x53f4bb)=>(_0x328a47,_0x4ef730)=>_0x53f4bb(_0x328a47,_0x4ef730,_0x5ac29a);let os=class extends _0x10cb26{constructor(_0x3e3681,_0x2544c4,_0x515ee3,_0x375245,_0x2161e9){const _0x5391ee=_0x3d192e;super(),g(this,_0x5391ee(0x25e),[]),g(this,_0x5391ee(0x320),[]),(this[_0x5391ee(0x4d4)]=_0x3e3681,this['_docSkeletonManagerService']=_0x2544c4,this[_0x5391ee(0x4e4)]=_0x515ee3,this[_0x5391ee(0x2d5)]=_0x375245,this[_0x5391ee(0x4ef)]=_0x2161e9,this[_0x5391ee(0x20a)]());}[_0x3d192e(0x20a)](){const _0x3332a8=_0x3d192e,_0x2bf230=this[_0x3332a8(0x4d4)][_0x3332a8(0x488)],_0x4dc907=this[_0x3332a8(0x241)];this[_0x3332a8(0x2f7)](_0x5e82ee([this[_0x3332a8(0x4e4)]['getCollabCursors$'](_0x2bf230),this['_themeService']['currentTheme$']])[_0x3332a8(0x407)](_0x5050a4(([_0x2e3839,_0x32fc36])=>({'skeleton':_0x4dc907[_0x3332a8(0x38b)](),'cursors':[..._0x2e3839[_0x3332a8(0x548)]()]['flatMap'](_0x18d849=>({..._0x18d849,'color':_0x32fc36[_0x18d849['color']]}))})))[_0x3332a8(0x2ce)](_0x103a9d=>{const _0x3e46ba=_0x3332a8;if(this[_0x3e46ba(0x1c4)](),_0x103a9d){const {skeleton:_0xaf90b8,cursors:_0x3c1f9f}=_0x103a9d;this[_0x3e46ba(0x48c)](_0xaf90b8,_0x3c1f9f);}})),this['_initResize'](),this[_0x3332a8(0x4a0)]();}[_0x3d192e(0x48c)](_0x183fb8,_0x587f52){const _0x2e404a=_0x3d192e,{scene:_0x40a9a9,mainComponent:_0x19d5b8}=this[_0x2e404a(0x4d4)],_0x39d81d=_0x587f52[_0x2e404a(0x1fc)](_0x40a5ac=>new Ks(_0x40a5ac,_0x40a9a9,_0x183fb8,_0x19d5b8));this[_0x2e404a(0x25e)]=_0x39d81d,this['_cursors']=_0x587f52;}[_0x3d192e(0x546)](){const _0x32714b=_0x3d192e;this[_0x32714b(0x1c4)]();const {scene:_0x53fc24,mainComponent:_0x309e7d}=this['_context'],_0x47cef3=this[_0x32714b(0x241)][_0x32714b(0x38b)](),_0x53c0a1=this[_0x32714b(0x320)][_0x32714b(0x1fc)](_0x57b81e=>new Ks(_0x57b81e,_0x53fc24,_0x47cef3,_0x309e7d));this[_0x32714b(0x25e)]=_0x53c0a1;}[_0x3d192e(0x1c4)](){const _0x31b303=_0x3d192e;this[_0x31b303(0x25e)]['forEach'](_0x5b8d08=>_0x5b8d08[_0x31b303(0x228)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x156bbc=_0x3d192e,_0x18a609=[_0x294a0c['id']];this[_0x156bbc(0x2f7)](this['_commandService'][_0x156bbc(0x3a3)](_0x51a3b8=>{const _0x204b7c=_0x156bbc;_0x18a609[_0x204b7c(0x508)](_0x51a3b8['id'])&&_0x51a3b8[_0x204b7c(0x59e)]['unitId']===this[_0x204b7c(0x4d4)][_0x204b7c(0x488)]&&this[_0x204b7c(0x546)]();}));}[_0x3d192e(0x2d7)](){const _0x4a0860=_0x3d192e;this[_0x4a0860(0x2f7)](_0xf30ad2(this[_0x4a0860(0x4d4)][_0x4a0860(0x4c9)][_0x4a0860(0x452)])[_0x4a0860(0x407)](_0x4f86ac(_0x1927cd=>_0x1927cd[_0x4a0860(0x34e)]===_0x10d624[_0x4a0860(0x4e2)]),_0x477e40(0x10))[_0x4a0860(0x2ce)](()=>{const _0x38e682=_0x4a0860;this[_0x38e682(0x546)]();}));}};os=Vo([ht(0x1,_0x435342(_0x3ffb40)),ht(0x2,_0x435342(Ve)),ht(0x3,_0x4d4125),ht(0x4,_0x435342(_0x462884))],os);const Go=0x1,Yo=1.5;class Ko extends _0x1610d0{constructor(_0x288168,_0x4be178){const _0x18f662=_0x3d192e;super(_0x288168,_0x4be178),g(this,_0x18f662(0x1a5)),g(this,_0x18f662(0x2fb),!0x1),g(this,'_range'),g(this,_0x18f662(0x317),''),g(this,_0x18f662(0x576),_0x18f662(0x522)),g(this,'_backgroundColor'),(_0x4be178&&this[_0x18f662(0x52d)](_0x4be178),this[_0x18f662(0x446)][_0x18f662(0x55b)](()=>this[_0x18f662(0x52d)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x18f662(0x52d)]({'hovered':!0x1})));}['setShapeProps'](_0x560e50){const _0x17f526=_0x3d192e;var _0x258b5c,_0x578799,_0x51783e,_0x26fa0e,_0x4f1692,_0x4b1ac3;this[_0x17f526(0x1a5)]=(_0x258b5c=_0x560e50[_0x17f526(0x1e1)])!=null?_0x258b5c:this['_color'],this[_0x17f526(0x2fb)]=(_0x578799=_0x560e50[_0x17f526(0x1fe)])!=null?_0x578799:this['_hovered'],this['_range']=(_0x51783e=_0x560e50[_0x17f526(0x2d4)])!=null?_0x51783e:this[_0x17f526(0x397)],this[_0x17f526(0x317)]=(_0x26fa0e=_0x560e50[_0x17f526(0x2ef)])!=null?_0x26fa0e:this[_0x17f526(0x317)],this['_labelPosition']=(_0x4f1692=_0x560e50[_0x17f526(0x3db)])!=null?_0x4f1692:this[_0x17f526(0x576)],this['_backgroundColor']=(_0x4b1ac3=_0x560e50[_0x17f526(0x3aa)])!=null?_0x4b1ac3:this['_backgroundColor'],this[_0x17f526(0x2e6)]({'width':_0x560e50[_0x17f526(0x1c6)],'height':_0x560e50['height']});}[_0x3d192e(0x3c1)](_0x304659){const _0x58a21a=_0x3d192e,{row:_0x5c064d,column:_0x267554}=_0x304659;if(_0x5c064d>=this[_0x58a21a(0x397)][_0x58a21a(0x485)]&&_0x5c064d<=this['_range'][_0x58a21a(0x3d4)]&&_0x267554>=this[_0x58a21a(0x397)][_0x58a21a(0x340)]&&_0x267554<=this['_range'][_0x58a21a(0x578)]){this[_0x58a21a(0x52d)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3d192e(0x2d2)](_0x803c06){return!0x1;}['_draw'](_0x2812a2){const _0x11c09c=_0x3d192e;_0x242611[_0x11c09c(0x2c6)](_0x2812a2,{'width':this['width'],'height':this['height'],'strokeWidth':Yo,'stroke':this[_0x11c09c(0x1a5)],'evented':!0x1,'fill':this[_0x11c09c(0x1ac)]}),this[_0x11c09c(0x2fb)]&&(_0x2812a2['save'](),_0x2812a2['transform'](0x1,0x0,0x0,0x1,this[_0x11c09c(0x1c6)],this[_0x11c09c(0x576)]===_0x11c09c(0x3ba)?0x0:-nt),Ot[_0x11c09c(0x2c6)](_0x2812a2,{'text':this['_name'],'color':this[_0x11c09c(0x1a5)]}),_0x2812a2[_0x11c09c(0x3dc)]());}}var zo=Object[_0x3d192e(0x494)],qo=Object[_0x3d192e(0x3e5)],Xo=(_0xaa9838,_0x5e6920,_0x5b41a5,_0x2c2c49)=>{const _0x34731e=_0x3d192e;for(var _0xe2cf09=_0x2c2c49>0x1?void 0x0:_0x2c2c49?qo(_0x5e6920,_0x5b41a5):_0x5e6920,_0x5cc29e=_0xaa9838[_0x34731e(0x4e9)]-0x1,_0x4a7f11;_0x5cc29e>=0x0;_0x5cc29e--)(_0x4a7f11=_0xaa9838[_0x5cc29e])&&(_0xe2cf09=(_0x2c2c49?_0x4a7f11(_0x5e6920,_0x5b41a5,_0xe2cf09):_0x4a7f11(_0xe2cf09))||_0xe2cf09);return _0x2c2c49&&_0xe2cf09&&zo(_0x5e6920,_0x5b41a5,_0xe2cf09),_0xe2cf09;},kt=(_0x219d69,_0x5af47d)=>(_0x277a41,_0x409161)=>_0x5af47d(_0x277a41,_0x409161,_0x219d69);const Jo=0x1389;let as=class extends _0x10cb26{constructor(_0x3f15dd,_0x15a69e,_0x5a0965,_0x2c9fae){const _0x5c7389=_0x3d192e;super(),g(this,'_cursors',new Set()),g(this,_0x5c7389(0x24f),null),(this[_0x5c7389(0x4d4)]=_0x3f15dd,this[_0x5c7389(0x292)]=_0x15a69e,this[_0x5c7389(0x4e4)]=_0x5a0965,this[_0x5c7389(0x4ef)]=_0x2c9fae,this[_0x5c7389(0x20a)]());}['_init'](){const _0x31ed05=_0x3d192e;this['_sheetSkeletonManagerService'][_0x31ed05(0x39c)]['pipe'](_0x4bc87f(this[_0x31ed05(0x3e1)]),_0x4fd761(_0x598626=>{const _0x1e4b96=_0x31ed05;if(_0x598626){const _0x3c91d7=_0x598626[_0x1e4b96(0x4b3)];return _0x5e82ee(this[_0x1e4b96(0x4e4)]['getCollabCursors$'](this[_0x1e4b96(0x4d4)][_0x1e4b96(0x488)]),this[_0x1e4b96(0x4ef)][_0x1e4b96(0x21b)])[_0x1e4b96(0x407)](_0x5050a4(([_0x395ee4,_0x20a74b])=>{const _0x53714e=new Map();return _0x395ee4['forEach']((_0x25b612,_0x238aff)=>{const _0xfd64c0=_0x1083;if(_0x25b612[_0xfd64c0(0x1ad)]===_0x3c91d7){const _0x38efa7={..._0x25b612};_0x38efa7['color']=_0x20a74b[_0x25b612[_0xfd64c0(0x1e1)]],_0x53714e[_0xfd64c0(0x467)](_0x238aff,_0x38efa7);}}),{'skeleton':_0x598626,'cursors':_0x53714e};}));}return _0x20dba1({'skeleton':null,'cursors':new Map()});}))[_0x31ed05(0x2ce)](({skeleton:_0x1e28b6,cursors:_0x10e61b})=>{const _0x407dd5=_0x31ed05;this[_0x407dd5(0x1c4)](),_0x1e28b6&&this['_updateCollabCursors'](_0x1e28b6,_0x10e61b);}),this[_0x31ed05(0x292)][_0x31ed05(0x39c)]['subscribe'](_0x4e1410=>{const _0x197e94=_0x31ed05;if(_0x4e1410==null)return;const {skeleton:_0x2fc4e2}=_0x4e1410,{scene:_0x2bc158}=this[_0x197e94(0x4d4)];_0x2bc158['onPointerMove$']['subscribeEvent'](_0x339b95(_0x414c73=>{const _0x42da20=_0x197e94;var _0x15340d,_0x7f86a2;const {offsetX:_0x25e631,offsetY:_0x42e931}=_0x414c73,{x:_0x71a171,y:_0x2a79ef}=_0x2bc158['getRelativeToViewportCoord'](_0x12b8ac['FromArray']([_0x25e631,_0x42e931])),{scaleX:_0x40d668,scaleY:_0x139cc7}=_0x2bc158['getAncestorScale'](),_0x341197=_0x2bc158['getViewport'](_0x30af2a['VIEW_MAIN']),_0xa73e64=_0x2bc158[_0x42da20(0x392)](_0x12b8ac[_0x42da20(0x4e5)]([_0x71a171,_0x2a79ef]),_0x341197),_0x4ec52c=_0x2fc4e2[_0x42da20(0x557)](_0x25e631,_0x42e931,_0x40d668,_0x139cc7,_0xa73e64);((_0x15340d=this[_0x42da20(0x24f)])==null?void 0x0:_0x15340d[_0x42da20(0x416)])===_0x4ec52c[_0x42da20(0x416)]&&((_0x7f86a2=this['_lastPointer'])==null?void 0x0:_0x7f86a2[_0x42da20(0x457)])===_0x4ec52c[_0x42da20(0x457)]||this[_0x42da20(0x320)][_0x42da20(0x253)](_0x37b874=>{const _0x18a277=_0x42da20;_0x37b874[_0x18a277(0x3c1)](_0x4ec52c);});},0x64));});}[_0x3d192e(0x48c)](_0x1e394f,_0x13cb9c){const _0x5c054e=_0x3d192e;var _0x179bae;const _0x4653d9=(_0x179bae=this[_0x5c054e(0x292)][_0x5c054e(0x3a1)]())==null?void 0x0:_0x179bae[_0x5c054e(0x285)];if(!_0x4653d9)return;const _0x55f318=this[_0x5c054e(0x1a0)]();if(!_0x55f318)return;this[_0x5c054e(0x320)][_0x5c054e(0x253)](_0x4d277f=>{const _0x3d1ce0=_0x5c054e;_0x4d277f[_0x3d1ce0(0x2c7)]();});const {scene:_0x1a6ef8}=_0x55f318,_0x3cecf9=Zo(Array[_0x5c054e(0x47e)](_0x13cb9c[_0x5c054e(0x548)]()))['map'](_0x4426bd=>{const _0x13f667=_0x5c054e,{color:_0x562c25,range:_0x43b6de,name:_0x4ab6d2,selection:_0x2ea4c2,sheetID:_0x35f480}=_0x4426bd,{startColumn:_0x1578a6,startRow:_0x243da8,endColumn:_0x340485,endRow:_0x19a272}=_0x43b6de,_0x514caf=_0x5be27d(_0x243da8,_0x1578a6,_0x1a6ef8,_0x4653d9),_0x347e51=_0x5be27d(_0x19a272,_0x340485,_0x1a6ef8,_0x4653d9),{columnHeaderHeightAndMarginTop:_0x3f2fd1}=_0x4653d9,{startX:_0x1217d5,startY:_0x1c9bc6}=_0x514caf,{endX:_0x143a99,endY:_0x1eb647}=_0x347e51,_0x185352=_0x143a99-_0x1217d5,_0x7e3911=_0x1eb647-_0x1c9bc6,_0x20dac2={'labelPosition':_0x1c9bc6-_0x3f2fd1>=nt?_0x13f667(0x522):_0x13f667(0x3ba),'sheetID':_0x35f480,'range':_0x43b6de,'color':_0x562c25,'name':_0x4ab6d2,'selection':_0x2ea4c2,'left':_0x1217d5,'top':_0x1c9bc6,'width':_0x185352,'height':_0x7e3911,'evented':!0x1,'zIndex':Jo};return new Ko(_0x4ab6d2,_0x20dac2);});_0x1a6ef8[_0x5c054e(0x367)](_0x3cecf9,Go),this['_cursors']=new Set(_0x3cecf9);}[_0x3d192e(0x1c4)](){const _0x2c4bde=_0x3d192e;var _0x21a91b;(_0x21a91b=this[_0x2c4bde(0x320)])==null||_0x21a91b[_0x2c4bde(0x253)](_0x49293c=>_0x49293c[_0x2c4bde(0x228)]());}['_getSheetObject'](){const _0x17a6c9=_0x3d192e;return _0x18abc2(this[_0x17a6c9(0x4d4)][_0x17a6c9(0x4d1)],this[_0x17a6c9(0x4d4)]);}};as=Xo([kt(0x1,_0x435342(_0x3eba81)),kt(0x2,_0x435342(Ve)),kt(0x3,_0x435342(_0x462884))],as);function Zo(_0x57d779){const _0x11bca1=_0x3d192e,_0x8e1ab0=new Map();return _0x57d779[_0x11bca1(0x253)](_0xbd80a6=>{const _0x388100=_0x11bca1;if(_0x8e1ab0[_0x388100(0x476)](_0xbd80a6[_0x388100(0x240)])){const _0x181fab=_0x8e1ab0[_0x388100(0x47d)](_0xbd80a6['selection']);_0x181fab[_0x388100(0x2ef)]+=',\x20'+_0xbd80a6['name'];}else _0x8e1ab0[_0x388100(0x467)](_0xbd80a6[_0x388100(0x240)],_0xbd80a6);}),Array[_0x11bca1(0x47e)](_0x8e1ab0[_0x11bca1(0x548)]());}var ee=function(){const _0x5acf75=_0x3d192e;return ee=Object[_0x5acf75(0x4a7)]||function(_0x1796dc){const _0x2a8a1a=_0x5acf75;for(var _0x302c58,_0x5b0504=0x1,_0x258fc4=arguments['length'];_0x5b0504<_0x258fc4;_0x5b0504++){_0x302c58=arguments[_0x5b0504];for(var _0x394e6a in _0x302c58)Object[_0x2a8a1a(0x1a4)]['hasOwnProperty'][_0x2a8a1a(0x2c2)](_0x302c58,_0x394e6a)&&(_0x1796dc[_0x394e6a]=_0x302c58[_0x394e6a]);}return _0x1796dc;},ee[_0x5acf75(0x539)](this,arguments);},Qo=function(_0x347c5a,_0xd0f3d1){const _0x6d893c=_0x3d192e;var _0x4679a7={};for(var _0x4f214a in _0x347c5a)Object['prototype']['hasOwnProperty']['call'](_0x347c5a,_0x4f214a)&&_0xd0f3d1[_0x6d893c(0x3c8)](_0x4f214a)<0x0&&(_0x4679a7[_0x4f214a]=_0x347c5a[_0x4f214a]);if(_0x347c5a!=null&&typeof Object['getOwnPropertySymbols']==_0x6d893c(0x3c5)){for(var _0x3c74d5=0x0,_0x4f214a=Object['getOwnPropertySymbols'](_0x347c5a);_0x3c74d5<_0x4f214a[_0x6d893c(0x4e9)];_0x3c74d5++)_0xd0f3d1[_0x6d893c(0x3c8)](_0x4f214a[_0x3c74d5])<0x0&&Object[_0x6d893c(0x1a4)][_0x6d893c(0x31f)][_0x6d893c(0x2c2)](_0x347c5a,_0x4f214a[_0x3c74d5])&&(_0x4679a7[_0x4f214a[_0x3c74d5]]=_0x347c5a[_0x4f214a[_0x3c74d5]]);}return _0x4679a7;},Ts=_0x34a220(function(_0x4d28a,_0x2ba879){const _0x86e33e=_0x3d192e;var _0x3aa855=_0x4d28a[_0x86e33e(0x323)],_0x1dacc5=_0x4d28a['id'],_0x2bd1ba=_0x4d28a['className'],_0x6606b9=_0x4d28a[_0x86e33e(0x453)],_0x1e0450=Qo(_0x4d28a,[_0x86e33e(0x323),'id',_0x86e33e(0x382),_0x86e33e(0x453)]),_0x288374=_0x86e33e(0x28d)[_0x86e33e(0x351)](_0x1dacc5,'\x20')[_0x86e33e(0x351)](_0x2bd1ba||'')[_0x86e33e(0x271)](),_0x1c92e2=_0x3348da('_'[_0x86e33e(0x351)](sa()));return Mi(_0x3aa855,''[_0x86e33e(0x351)](_0x1dacc5),{'defIds':_0x3aa855[_0x86e33e(0x542)],'idSuffix':_0x1c92e2[_0x86e33e(0x309)]},ee({'ref':_0x2ba879,'className':_0x288374},_0x1e0450),_0x6606b9);});function Mi(_0x45ecad,_0x5672a3,_0x5481ea,_0xd44c5c,_0x301260){const _0x587846=_0x3d192e;return _0x28fb12(_0x45ecad[_0x587846(0x3ee)],ee(ee({'key':_0x5672a3},ea(_0x45ecad,_0x5481ea,_0x301260)),_0xd44c5c),(ta(_0x45ecad,_0x5481ea)[_0x587846(0x2a1)]||[])[_0x587846(0x1fc)](function(_0x3f912e,_0x3eff77){const _0x55c51c=_0x587846;return Mi(_0x3f912e,''['concat'](_0x5672a3,'-')[_0x55c51c(0x351)](_0x45ecad['tag'],'-')[_0x55c51c(0x351)](_0x3eff77),_0x5481ea,void 0x0,_0x301260);}));}function ea(_0x39829c,_0x3d467b,_0x35c728){const _0x58cbfa=_0x3d192e;var _0x384598=ee({},_0x39829c['attrs']);_0x35c728!=null&&_0x35c728[_0x58cbfa(0x538)]&&_0x384598[_0x58cbfa(0x57d)]===_0x58cbfa(0x538)&&(_0x384598['fill']=_0x35c728['colorChannel1']);var _0x3cbf9b=_0x3d467b['defIds'];return!_0x3cbf9b||_0x3cbf9b['length']===0x0||(_0x39829c[_0x58cbfa(0x3ee)]===_0x58cbfa(0x22b)&&_0x384598['xlink:href']&&(_0x384598['xlink:href']=_0x384598[_0x58cbfa(0x2ad)]+_0x3d467b[_0x58cbfa(0x3bf)]),Object[_0x58cbfa(0x1bf)](_0x384598)[_0x58cbfa(0x253)](function(_0x521d3d){const _0x355a89=_0x58cbfa;var _0x5f5558=_0x521d3d[0x0],_0x23b126=_0x521d3d[0x1];typeof _0x23b126==_0x355a89(0x258)&&(_0x384598[_0x5f5558]=_0x23b126[_0x355a89(0x294)](/url\(#(.*)\)/,_0x355a89(0x35b)[_0x355a89(0x351)](_0x3d467b[_0x355a89(0x3bf)],')')));})),_0x384598;}function ta(_0x285e3e,_0x29329f){const _0x14f930=_0x3d192e;var _0xc7f77c,_0x55dd14=_0x29329f[_0x14f930(0x542)];return!_0x55dd14||_0x55dd14['length']===0x0?_0x285e3e:_0x285e3e[_0x14f930(0x3ee)]===_0x14f930(0x3f7)&&(!((_0xc7f77c=_0x285e3e[_0x14f930(0x2a1)])===null||_0xc7f77c===void 0x0)&&_0xc7f77c[_0x14f930(0x4e9)])?ee(ee({},_0x285e3e),{'children':_0x285e3e[_0x14f930(0x2a1)][_0x14f930(0x1fc)](function(_0x1105ea){const _0x135442=_0x14f930;return typeof _0x1105ea['attrs']['id']==_0x135442(0x258)&&_0x55dd14&&_0x55dd14['indexOf'](_0x1105ea['attrs']['id'])>-0x1?ee(ee({},_0x1105ea),{'attrs':ee(ee({},_0x1105ea[_0x135442(0x565)]),{'id':_0x1105ea[_0x135442(0x565)]['id']+_0x29329f[_0x135442(0x3bf)]})}):_0x1105ea;})}):_0x285e3e;}function sa(){const _0x1ad69b=_0x3d192e;return Math['random']()[_0x1ad69b(0x504)](0x24)['substring'](0x2,0x8);}Ts[_0x3d192e(0x46d)]=_0x3d192e(0x3bc);var ia={'tag':_0x3d192e(0x448),'attrs':{'fill':'none','viewBox':_0x3d192e(0x3ff),'width':_0x3d192e(0x1d2),'height':_0x3d192e(0x1d2)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d192e(0x3b7)},'children':[{'tag':_0x3d192e(0x305),'attrs':{'stroke':_0x3d192e(0x50b),'d':_0x3d192e(0x3fd),'strokeLinecap':_0x3d192e(0x587),'strokeLinejoin':_0x3d192e(0x587),'strokeWidth':1.2}}]},{'tag':_0x3d192e(0x3f7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3d192e(0x4df)},'children':[{'tag':_0x3d192e(0x305),'attrs':{'fill':_0x3d192e(0x197),'d':_0x3d192e(0x1b7)}}]}]}],'defIds':[_0x3d192e(0x4df)]},xi=_0x34a220(function(_0x5ea7ed,_0x3192d3){const _0x10a3ae=_0x3d192e;return _0x28fb12(Ts,Object[_0x10a3ae(0x4a7)]({},_0x5ea7ed,{'id':_0x10a3ae(0x2ee),'ref':_0x3192d3,'icon':ia}));});xi['displayName']=_0x3d192e(0x468);var na={'tag':_0x3d192e(0x448),'attrs':{'fill':_0x3d192e(0x281),'viewBox':_0x3d192e(0x418),'width':_0x3d192e(0x1d2),'height':_0x3d192e(0x1d2)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d192e(0x3e0)},'children':[{'tag':_0x3d192e(0x305),'attrs':{'stroke':_0x3d192e(0x50b),'d':_0x3d192e(0x42b),'strokeLinecap':'round','strokeLinejoin':_0x3d192e(0x587),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3d192e(0x53e)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x3d192e(0x3d8)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=_0x34a220(function(_0xbeeedf,_0x38f40f){const _0x40e3aa=_0x3d192e;return _0x28fb12(Ts,Object[_0x40e3aa(0x4a7)]({},_0xbeeedf,{'id':_0x40e3aa(0x376),'ref':_0x38f40f,'icon':na}));});Li[_0x3d192e(0x46d)]=_0x3d192e(0x298);function $i(_0x74d4d0){const _0x5ca6d5=_0x3d192e;var _0x10ad81,_0x4edb89,_0x2e77d7='';if(typeof _0x74d4d0==_0x5ca6d5(0x258)||typeof _0x74d4d0==_0x5ca6d5(0x3fb))_0x2e77d7+=_0x74d4d0;else{if(typeof _0x74d4d0=='object'){if(Array[_0x5ca6d5(0x350)](_0x74d4d0)){var _0x5b9aac=_0x74d4d0[_0x5ca6d5(0x4e9)];for(_0x10ad81=0x0;_0x10ad81<_0x5b9aac;_0x10ad81++)_0x74d4d0[_0x10ad81]&&(_0x4edb89=$i(_0x74d4d0[_0x10ad81]))&&(_0x2e77d7&&(_0x2e77d7+='\x20'),_0x2e77d7+=_0x4edb89);}else{for(_0x4edb89 in _0x74d4d0)_0x74d4d0[_0x4edb89]&&(_0x2e77d7&&(_0x2e77d7+='\x20'),_0x2e77d7+=_0x4edb89);}}}return _0x2e77d7;}function ra(){const _0x2d15cc=_0x3d192e;for(var _0x462a49,_0xbcd189,_0x11e8ab=0x0,_0x483ed4='',_0x4a4806=arguments[_0x2d15cc(0x4e9)];_0x11e8ab<_0x4a4806;_0x11e8ab++)(_0x462a49=arguments[_0x11e8ab])&&(_0xbcd189=$i(_0x462a49))&&(_0x483ed4&&(_0x483ed4+='\x20'),_0x483ed4+=_0xbcd189);return _0x483ed4;}const oa=_0x3d192e(0x456),aa=_0x3d192e(0x234),ca=_0x3d192e(0x57f),ha=_0x3d192e(0x55d),la=_0x3d192e(0x388),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x385750){const _0x5e35f6=_0x3d192e;switch(_0x385750){case J[_0x5e35f6(0x3fe)]:return'collabStatus.offline';case J[_0x5e35f6(0x213)]:return _0x5e35f6(0x42c);case J[_0x5e35f6(0x463)]:return _0x5e35f6(0x3a2);case J[_0x5e35f6(0x2bd)]:return _0x5e35f6(0x54b);case J[_0x5e35f6(0x3ce)]:case J[_0x5e35f6(0x344)]:return _0x5e35f6(0x394);case J[_0x5e35f6(0x307)]:case J[_0x5e35f6(0x267)]:return _0x5e35f6(0x3a5);}}function ua(_0x4c9779){const _0x49d377=_0x3d192e,{status$:_0x12a598}=_0x4c9779,_0x358d9a=_0x4f6f45(_0x12a598,J[_0x49d377(0x2bd)]),_0x13cfa1=_0x19195f(_0xef493b),_0x341b7=_0x19195f(Ae),_0x2b1ba9=_0x358d9a!==J[_0x49d377(0x3fe)],_0x19a18d=_0x13cfa1['t'](_a(_0x358d9a)),_0x4796e6=ra(Ze[_0x49d377(0x40e)],{[Ze['online']]:_0x2b1ba9,[Ze[_0x49d377(0x3dd)]]:!_0x2b1ba9}),_0x3f5c0b=_0x2b1ba9?_0xdab72b[_0x49d377(0x55c)](Li,null):_0xdab72b[_0x49d377(0x55c)](xi,null),_0xa84bfd=_0x1a836b(()=>{const _0x20c49c=_0x49d377;_0x2b1ba9||_0x341b7[_0x20c49c(0x1db)]();},[_0x2b1ba9,_0x341b7]);function _0x3970eb(){const _0x35acb2=_0x49d377;return _0xdab72b[_0x35acb2(0x55c)](_0x35acb2(0x265),{'className':_0x4796e6,'onClick':_0xa84bfd},_0xdab72b[_0x35acb2(0x55c)](_0x35acb2(0x265),{'className':Ze[_0x35acb2(0x1b2)]},_0x3f5c0b),_0xdab72b[_0x35acb2(0x55c)]('div',{'className':Ze[_0x35acb2(0x328)]},_0x19a18d));}return _0x2b1ba9?_0x3970eb():_0xdab72b[_0x49d377(0x55c)](_0x46fd32,{'title':_0x13cfa1['t']('collab-client.tooltip.reconnect')},_0x3970eb());}var da=Object['defineProperty'],fa=Object[_0x3d192e(0x3e5)],va=(_0x530164,_0x545c42,_0x2595f4,_0x36e725)=>{const _0x383f1d=_0x3d192e;for(var _0x47ed9d=_0x36e725>0x1?void 0x0:_0x36e725?fa(_0x545c42,_0x2595f4):_0x545c42,_0xa5f15e=_0x530164[_0x383f1d(0x4e9)]-0x1,_0x16b6f0;_0xa5f15e>=0x0;_0xa5f15e--)(_0x16b6f0=_0x530164[_0xa5f15e])&&(_0x47ed9d=(_0x36e725?_0x16b6f0(_0x545c42,_0x2595f4,_0x47ed9d):_0x16b6f0(_0x47ed9d))||_0x47ed9d);return _0x36e725&&_0x47ed9d&&da(_0x545c42,_0x2595f4,_0x47ed9d),_0x47ed9d;},lt=(_0x105c82,_0xaa7758)=>(_0x48df96,_0x220314)=>_0xaa7758(_0x48df96,_0x220314,_0x105c82);let It=class extends _0x1b81eb{constructor(_0x285031,_0x2f976d,_0x13e02f,_0x3382af){const _0x2b7b93=_0x3d192e;super(),g(this,_0x2b7b93(0x384),new _0x1d58dd(J['NOT_COLLAB'])),(this[_0x2b7b93(0x43d)]=_0x285031,this[_0x2b7b93(0x1d8)]=_0x2f976d,this['_injector']=_0x13e02f,this[_0x2b7b93(0x42a)]=_0x3382af,this[_0x2b7b93(0x313)](),this[_0x2b7b93(0x37e)]());}[_0x3d192e(0x37e)](){const _0x4c14f7=_0x3d192e;this[_0x4c14f7(0x2f7)](this[_0x4c14f7(0x43d)][_0x4c14f7(0x269)][_0x4c14f7(0x407)](_0x149f7d(()=>{const _0x4b982c=_0x4c14f7,_0x3892ef=this[_0x4b982c(0x43d)][_0x4b982c(0x29a)]();return _0x3892ef?this['_collaborationController'][_0x4b982c(0x387)](_0x3892ef[_0x4b982c(0x2c1)]()):_0x20dba1(null);}),_0x149f7d(_0x263b75=>_0x263b75?_0x263b75['status$']:_0x20dba1(J['NOT_COLLAB'])))[_0x4c14f7(0x2ce)](_0x5ea35f=>{const _0x477674=_0x4c14f7;this[_0x477674(0x384)]['next'](_0x5ea35f);}));}[_0x3d192e(0x313)](){const _0x329ef7=_0x3d192e;this[_0x329ef7(0x2f7)](this[_0x329ef7(0x1d8)][_0x329ef7(0x41b)](_0x211079[_0x329ef7(0x3a0)],()=>_0x44d91f(ma({'status$':this['_status$'][_0x329ef7(0x194)]()}),this[_0x329ef7(0x329)])));}};It=va([lt(0x0,_0x405019),lt(0x1,_0x5b59f0),lt(0x2,_0x435342(_0x5a18dc)),lt(0x3,_0x435342(it))],It);function ma(_0x4b556a){const {status$:_0x3c0cc6}=_0x4b556a;return function(){const _0x371f69=_0x1083;return _0xdab72b[_0x371f69(0x55c)](ua,{'status$':_0x3c0cc6});};}const Hi=_0x1ee28b(_0x3d192e(0x1a6));var pa=Object[_0x3d192e(0x494)],ga=Object[_0x3d192e(0x3e5)],Sa=(_0x3f4506,_0x5d6e65,_0x346f35,_0x4e39ef)=>{const _0x31d004=_0x3d192e;for(var _0x125cc3=_0x4e39ef>0x1?void 0x0:_0x4e39ef?ga(_0x5d6e65,_0x346f35):_0x5d6e65,_0x3c655a=_0x3f4506[_0x31d004(0x4e9)]-0x1,_0x4d31b7;_0x3c655a>=0x0;_0x3c655a--)(_0x4d31b7=_0x3f4506[_0x3c655a])&&(_0x125cc3=(_0x4e39ef?_0x4d31b7(_0x5d6e65,_0x346f35,_0x125cc3):_0x4d31b7(_0x125cc3))||_0x125cc3);return _0x4e39ef&&_0x125cc3&&pa(_0x5d6e65,_0x346f35,_0x125cc3),_0x125cc3;},ke=(_0x2df24f,_0xb7ac94)=>(_0x5e8428,_0x2904a8)=>_0xb7ac94(_0x5e8428,_0x2904a8,_0x2df24f);let Ct=class extends _0x10cb26{constructor(_0x114b8e,_0x1df997,_0x57e160,_0x471c8f,_0x45043b,_0x35ca08){const _0x57df06=_0x3d192e;super(),this[_0x57df06(0x44f)]=_0x114b8e,this['_logService']=_0x1df997,this[_0x57df06(0x2d5)]=_0x57e160,this[_0x57df06(0x414)]=_0x471c8f,this[_0x57df06(0x432)]=_0x45043b,_0x35ca08?_0x35ca08==null||_0x35ca08[_0x57df06(0x413)]()[_0x57df06(0x429)](()=>this[_0x57df06(0x20a)]()):(this[_0x57df06(0x3b5)][_0x57df06(0x2cb)](_0x57df06(0x232),_0x57df06(0x46b)),this[_0x57df06(0x20a)]());}async[_0x3d192e(0x20a)](){const _0x38c1aa=_0x3d192e,_0x5d1c15=this[_0x38c1aa(0x44f)][_0x38c1aa(0x3ed)]('unit'),_0x25f40f=this[_0x38c1aa(0x44f)]['getParam']('type');if(!_0x5d1c15||!_0x25f40f){this['_logService'][_0x38c1aa(0x2cb)](_0x38c1aa(0x232),_0x38c1aa(0x532));return;}switch(Number(_0x25f40f)){case ce[_0x38c1aa(0x26f)]:{const _0x2ff5e8=await this[_0x38c1aa(0x501)](_0x5d1c15);this[_0x38c1aa(0x4ba)](_0x2ff5e8);break;}case ce[_0x38c1aa(0x52f)]:{await this[_0x38c1aa(0x32d)](_0x5d1c15);break;}default:{this[_0x38c1aa(0x3b5)][_0x38c1aa(0x4f4)](_0x38c1aa(0x232),_0x38c1aa(0x1e3));break;}}}async[_0x3d192e(0x4ba)](_0x536853){const _0xc1e653=_0x3d192e;await this[_0xc1e653(0x331)](_0x536853),_0x536853['activeSheet$'][_0xc1e653(0x407)](_0xe1e697(this[_0xc1e653(0x3e1)]))[_0xc1e653(0x2ce)](_0x3cc284=>{const _0xee103a=_0xc1e653;_0x3cc284&&this[_0xee103a(0x319)](_0x3cc284);}),this[_0xc1e653(0x44f)][_0xc1e653(0x42e)]['pipe'](_0xe1e697(this[_0xc1e653(0x3e1)]))[_0xc1e653(0x2ce)](()=>this[_0xc1e653(0x331)](_0x536853));}[_0x3d192e(0x319)](_0x470c4c,_0x12ccc6=!0x1){const _0x18df6f=_0x3d192e,_0x422322=this['_urlService'][_0x18df6f(0x3ed)](_0x18df6f(0x20b));_0x470c4c['getSheetId']()!==_0x422322&&this[_0x18df6f(0x44f)][_0x18df6f(0x59f)]('subunit',_0x470c4c[_0x18df6f(0x1a9)](),_0x12ccc6);}async[_0x3d192e(0x331)](_0x98bcb7){const _0x1b158c=_0x3d192e;var _0x39b45b;const _0x3d2aed=this[_0x1b158c(0x44f)][_0x1b158c(0x3ed)](_0x1b158c(0x20b));if(!_0x3d2aed||!_0x98bcb7[_0x1b158c(0x390)](_0x3d2aed)){const _0x522982=_0x98bcb7['getUnhiddenWorksheets']()[0x0],_0x51829b=_0x98bcb7['getSheetBySheetId'](_0x522982);if(!_0x51829b)return;this[_0x1b158c(0x319)](_0x51829b,!0x0),await this['_commandService']['executeCommand'](_0x5387d6['id'],{'unitId':_0x98bcb7[_0x1b158c(0x2c1)](),'subUnitId':_0x522982});return;}((_0x39b45b=_0x98bcb7[_0x1b158c(0x3f6)]())==null?void 0x0:_0x39b45b['getSheetId']())!==_0x3d2aed&&await this[_0x1b158c(0x2d5)][_0x1b158c(0x3b1)](_0x5387d6['id'],{'unitId':_0x98bcb7['getUnitId'](),'subUnitId':_0x3d2aed});}async[_0x3d192e(0x501)](_0x180a83){const _0x3a6fc4=_0x3d192e;let _0x5ec5a6=0x0;const _0x505f3b=await this[_0x3a6fc4(0x414)][_0x3a6fc4(0x48b)](_0x180a83);return _0x505f3b&&(_0x505f3b[_0x3a6fc4(0x23a)]||_0x505f3b[_0x3a6fc4(0x547)][_0x3a6fc4(0x4e9)]!==0x0)&&(_0x5ec5a6=_0x505f3b[_0x3a6fc4(0x466)]),_0x5ec5a6===0x0&&this[_0x3a6fc4(0x3b5)][_0x3a6fc4(0x2cb)](_0x3a6fc4(0x232),_0x3a6fc4(0x505)),this['_snapshotService'][_0x3a6fc4(0x3a6)](_0x180a83,_0x5ec5a6);}async['_loadDoc'](_0x24c265){const _0x5cd080=_0x3d192e;let _0x423f56=0x0;const _0x433a0e=await this[_0x5cd080(0x414)][_0x5cd080(0x48b)](_0x24c265);return _0x433a0e&&(_0x433a0e[_0x5cd080(0x23a)]||_0x433a0e[_0x5cd080(0x547)]['length']!==0x0)&&(_0x423f56=_0x433a0e[_0x5cd080(0x466)]),_0x423f56===0x0&&this[_0x5cd080(0x3b5)][_0x5cd080(0x2cb)]('[DataLoaderController]',_0x5cd080(0x505)),this['_snapshotService']['loadDoc'](_0x24c265,_0x423f56);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x25772e),ke(0x2,_0x4d4125),ke(0x3,_0x435342(q)),ke(0x4,_0x435342(_0x595913)),ke(0x5,_0x1eef7c(_0x5ec368))],Ct);var Ia=Object[_0x3d192e(0x494)],Ca=Object['getOwnPropertyDescriptor'],Ea=(_0x2bf3f7,_0x24e474,_0x49b992,_0x1fbaa0)=>{const _0x54509e=_0x3d192e;for(var _0x376125=_0x1fbaa0>0x1?void 0x0:_0x1fbaa0?Ca(_0x24e474,_0x49b992):_0x24e474,_0x21d131=_0x2bf3f7[_0x54509e(0x4e9)]-0x1,_0x435fad;_0x21d131>=0x0;_0x21d131--)(_0x435fad=_0x2bf3f7[_0x21d131])&&(_0x376125=(_0x1fbaa0?_0x435fad(_0x24e474,_0x49b992,_0x376125):_0x435fad(_0x376125))||_0x376125);return _0x1fbaa0&&_0x376125&&Ia(_0x24e474,_0x49b992,_0x376125),_0x376125;},zs=(_0x12eb84,_0x5ce0d7)=>(_0x566860,_0x9c2e71)=>_0x5ce0d7(_0x566860,_0x9c2e71,_0x12eb84);const ba='DEFAULT_FILE_NAME',Ta=_0x3d192e(0x378);let Et=class extends _0x1b81eb{constructor(_0x2eaeec,_0x50685f){const _0x5cfe21=_0x3d192e;super(),this['_univerInstanceService']=_0x2eaeec,this[_0x5cfe21(0x295)]=_0x50685f,this[_0x5cfe21(0x20a)]();}[_0x3d192e(0x20a)](){const _0x2c019a=_0x3d192e;this[_0x2c019a(0x2f7)](this[_0x2c019a(0x43d)]['focused$'][_0x2c019a(0x2ce)](()=>{const _0x3029a1=_0x2c019a;var _0x438723;const _0x117f21=this['_univerInstanceService']['getFocusedUnit']();let _0x52dbd9=(_0x438723=this[_0x3029a1(0x295)][_0x3029a1(0x1aa)](ba))!=null?_0x438723:Ta;_0x117f21 instanceof _0x15f270&&(_0x52dbd9=_0x117f21[_0x3029a1(0x2ef)]),document[_0x3029a1(0x19a)]=_0x52dbd9;}));}};Et=Ea([zs(0x0,_0x405019),zs(0x1,_0x1b2eff)],Et);var Ra=Object[_0x3d192e(0x494)],ya=Object[_0x3d192e(0x3e5)],Oa=(_0x32e44e,_0x272986,_0x418536,_0x4af847)=>{for(var _0x327542=_0x4af847>0x1?void 0x0:_0x4af847?ya(_0x272986,_0x418536):_0x272986,_0x26628f=_0x32e44e['length']-0x1,_0x512078;_0x26628f>=0x0;_0x26628f--)(_0x512078=_0x32e44e[_0x26628f])&&(_0x327542=(_0x4af847?_0x512078(_0x272986,_0x418536,_0x327542):_0x512078(_0x327542))||_0x327542);return _0x4af847&&_0x327542&&Ra(_0x272986,_0x418536,_0x327542),_0x327542;},Wt=(_0x568d9d,_0x5a6cfe)=>(_0x17c1ea,_0x4e3cc4)=>_0x5a6cfe(_0x17c1ea,_0x4e3cc4,_0x568d9d);let bt=class{constructor(_0x4720dd,_0x3d3d10,_0x2109b8){const _0x1072d7=_0x3d192e;this[_0x1072d7(0x295)]=_0x4720dd,this[_0x1072d7(0x22f)]=_0x3d3d10,this[_0x1072d7(0x48d)]=_0x2109b8,this['init']();}['init'](){const _0xac18e5=_0x3d192e;this['_httpService'][_0xac18e5(0x229)]({'priority':0x1,'interceptor':(_0x16706c,_0x219439)=>_0x219439(_0x16706c)[_0xac18e5(0x407)](_0x8a475e(async _0x247ad8=>{const _0x2e702d=_0xac18e5,_0x2ad45a=_0x247ad8;if(_0x2ad45a['status']===0x191&&window[_0x2e702d(0x38f)](this[_0x2e702d(0x48d)]['t'](_0x2e702d(0x4b0)))){const _0x30a9a9=window[_0x2e702d(0x261)](window[_0x2e702d(0x291)][_0x2e702d(0x58a)]);window[_0x2e702d(0x291)][_0x2e702d(0x58a)]=this[_0x2e702d(0x4d2)]()+_0x2e702d(0x399)+_0x30a9a9;}return _0x2ad45a;}))});}[_0x3d192e(0x4d2)](){const _0x5068d4=_0x3d192e;var _0x5a7be3,_0x1849ec;const _0x323f93=this[_0x5068d4(0x295)][_0x5068d4(0x1aa)](Ir),_0x1c38fd=this[_0x5068d4(0x295)][_0x5068d4(0x1aa)](ie);return(_0x1849ec=(_0x5a7be3=_0x1c38fd==null?void 0x0:_0x1c38fd['loginUrlKey'])!=null?_0x5a7be3:_0x323f93)!=null?_0x1849ec:Cr;}};bt=Oa([Wt(0x0,_0x1b2eff),Wt(0x1,_0x435342(_0x280c50)),Wt(0x2,_0x435342(_0xef493b))],bt);var wa=Object[_0x3d192e(0x494)],Da=Object['getOwnPropertyDescriptor'],Pa=(_0x15ad0d,_0x5a9dab,_0x68290d,_0x1e3f13)=>{const _0x5bbbac=_0x3d192e;for(var _0x3c7e89=_0x1e3f13>0x1?void 0x0:_0x1e3f13?Da(_0x5a9dab,_0x68290d):_0x5a9dab,_0x4924df=_0x15ad0d[_0x5bbbac(0x4e9)]-0x1,_0x2e05b6;_0x4924df>=0x0;_0x4924df--)(_0x2e05b6=_0x15ad0d[_0x4924df])&&(_0x3c7e89=(_0x1e3f13?_0x2e05b6(_0x5a9dab,_0x68290d,_0x3c7e89):_0x2e05b6(_0x3c7e89))||_0x3c7e89);return _0x1e3f13&&_0x3c7e89&&wa(_0x5a9dab,_0x68290d,_0x3c7e89),_0x3c7e89;},qs=(_0x4e2986,_0x163855)=>(_0x3108e1,_0xd66971)=>_0x163855(_0x3108e1,_0xd66971,_0x4e2986);const Ua='AUTHZ_URL_KEY',Na='/universer-api/authz';let cs=class extends _0x1b81eb{constructor(_0x2aa81e,_0x12d2fb){const _0x2da4c6=_0x3d192e;super(),this['_HTTPService']=_0x2aa81e,this[_0x2da4c6(0x295)]=_0x12d2fb,this[_0x2da4c6(0x404)]();}[_0x3d192e(0x404)](){const _0x443f51=_0x3d192e,_0x25c3b1=this;this[_0x443f51(0x2f7)](this[_0x443f51(0x3b0)][_0x443f51(0x229)]({'priority':0x3e7,'interceptor':_0x49bcb0({'isMatch'(_0x4842eb){const _0x28d71d=_0x443f51;var _0x1b354f;if(_0x4842eb[_0x28d71d(0x4ab)]==='POST'&&((_0x1b354f=_0x4842eb[_0x28d71d(0x2a5)])!=null&&_0x1b354f[_0x28d71d(0x2bc)])){const {objectID:_0x4afb8f,objectType:_0x50d13d}=_0x4842eb[_0x28d71d(0x2a5)][_0x28d71d(0x2bc)]||{};if(!_0x4afb8f||_0x50d13d===void 0x0)return!0x1;const _0x45f2f4=_0x25c3b1[_0x28d71d(0x226)]()+'/'+_0x50d13d+_0x28d71d(0x47c)+_0x4afb8f+_0x28d71d(0x4e0);if(_0x4842eb[_0x28d71d(0x275)]===_0x45f2f4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x134f71){const _0x3fb8ed=_0x443f51;var _0x4335ec;return(_0x4335ec=_0x134f71['requestParams'])==null?void 0x0:_0x4335ec[_0x3fb8ed(0x2bc)];},'mergeParamsToRequest'(_0xec05fe,_0x488129){const _0x3e4eac=_0x443f51,_0x1af77a=_0x25c3b1[_0x3e4eac(0x226)]()+'/-/object/-/batch_allowed',_0x285cfc=_0xec05fe[_0x3e4eac(0x36a)]((_0x318149,_0x4ac4d0)=>{const _0x45f61d=_0x3e4eac,{unitID:_0x25e25f,objectID:_0x4a89c3,objectType:_0x37d5c3,actions:_0xd63fa8}=_0x4ac4d0;return _0x318149[_0x25e25f]||(_0x318149[_0x25e25f]={}),_0x318149[_0x25e25f][_0x4a89c3]||(_0x318149[_0x25e25f][_0x4a89c3]={'objectID':_0x4a89c3,'objectType':_0x37d5c3,'actions':[]}),_0x318149[_0x25e25f][_0x4a89c3][_0x45f61d(0x43c)][_0x45f61d(0x24b)](..._0xd63fa8),_0x318149;},{}),_0x2db784=[];for(const _0x4ca58d in _0x285cfc)for(const _0x126edb in _0x285cfc[_0x4ca58d]){const {actions:_0x33389f,objectType:_0x1b5a51}=_0x285cfc[_0x4ca58d][_0x126edb],_0x1910d4=[...new Set(_0x33389f)];_0x2db784[_0x3e4eac(0x24b)]({'unitID':_0x4ca58d,'objectID':_0x126edb,'objectType':_0x1b5a51,'actions':_0x1910d4});}return new _0x1b63e6('POST',_0x1af77a,{'headers':_0x488129['headers'],'withCredentials':_0x488129['withCredentials'],'responseType':_0x488129[_0x3e4eac(0x4b9)],'body':{'requests':_0x2db784}});}},{'distributeResult'(_0x47032a,_0x36e25e){const {objectActions:_0x4e2dae}=_0x47032a;return _0x36e25e['map'](_0x593ec8=>{const _0x1842a2=_0x1083,{unitID:_0x14ee98,objectID:_0x2c9713,actions:_0x5334d5}=_0x593ec8,_0x5d45e7=_0x4e2dae[_0x1842a2(0x2fd)](_0x350161=>_0x350161['unitID']===_0x14ee98&&_0x350161[_0x1842a2(0x358)]===_0x2c9713),_0x1ed983=_0x5334d5['map'](_0x4a5fc3=>_0x5d45e7==null?void 0x0:_0x5d45e7['actions'][_0x1842a2(0x2fd)](_0x3038ae=>_0x3038ae[_0x1842a2(0x1df)]===_0x4a5fc3))[_0x1842a2(0x347)](_0x2ec3e8=>!!_0x2ec3e8);return{'config':_0x593ec8,'result':{'actions':_0x1ed983,'error':_0x47032a[_0x1842a2(0x4f4)]}};});}})}));}[_0x3d192e(0x226)](){const _0x5dd14f=_0x3d192e;var _0x2ff72a,_0x1bac20;const _0x5770ac=this[_0x5dd14f(0x295)][_0x5dd14f(0x1aa)](Ua),_0x436050=this[_0x5dd14f(0x295)][_0x5dd14f(0x1aa)](ie);return(_0x1bac20=(_0x2ff72a=_0x436050==null?void 0x0:_0x436050[_0x5dd14f(0x433)])!=null?_0x2ff72a:_0x5770ac)!=null?_0x1bac20:Na;}async[_0x3d192e(0x398)](_0x27865a){const _0x3ad2d9=_0x3d192e,_0x1710dc=this[_0x3ad2d9(0x226)]()+'/'+_0x27865a[_0x3ad2d9(0x1b5)]+'/object';return(await this[_0x3ad2d9(0x3b0)][_0x3ad2d9(0x1c0)](_0x1710dc,{'body':_0x27865a}))[_0x3ad2d9(0x2bc)]['objectID']||'';}async[_0x3d192e(0x1a1)](_0x50d525){const _0x47b7eb=_0x3d192e,_0x5bbccd=this[_0x47b7eb(0x226)]()+'/-/object/list';return(await this[_0x47b7eb(0x3b0)][_0x47b7eb(0x1c0)](_0x5bbccd,{'body':_0x50d525}))[_0x47b7eb(0x2bc)]['objects'];}async[_0x3d192e(0x1d9)](_0x53ce19){const _0x7999ba=_0x3d192e,_0x9cdb42=this[_0x7999ba(0x226)]()+'/'+_0x53ce19[_0x7999ba(0x1b5)]+_0x7999ba(0x47c)+_0x53ce19[_0x7999ba(0x358)];await this[_0x7999ba(0x3b0)][_0x7999ba(0x415)](_0x9cdb42,{'body':_0x53ce19});}async[_0x3d192e(0x2b4)](_0x3b7d03){const _0x2fffe1=_0x3d192e,_0x51479e=this[_0x2fffe1(0x226)]()+'/'+_0x3b7d03['objectType']+_0x2fffe1(0x47c)+_0x3b7d03[_0x2fffe1(0x358)]+_0x2fffe1(0x4e0);return(await this[_0x2fffe1(0x3b0)][_0x2fffe1(0x1c0)](_0x51479e,{'body':_0x3b7d03}))['body']['actions'];}async['batchAllowed'](_0x4f4714){const _0x10596b=_0x3d192e,_0x1eda44=this[_0x10596b(0x226)]()+_0x10596b(0x444);return(await this[_0x10596b(0x3b0)][_0x10596b(0x1c0)](_0x1eda44,{'body':{'requests':_0x4f4714}}))[_0x10596b(0x2bc)][_0x10596b(0x531)];}async[_0x3d192e(0x58c)](_0x388016){const _0x5b673f=_0x3d192e,_0x57df15=this[_0x5b673f(0x226)]()+'/'+_0x388016[_0x5b673f(0x1b5)]+_0x5b673f(0x3f5),_0x1883ae=await this[_0x5b673f(0x3b0)]['post'](_0x57df15,{'body':_0x388016});return{'roles':_0x1883ae[_0x5b673f(0x2bc)][_0x5b673f(0x314)],'actions':_0x1883ae['body'][_0x5b673f(0x43c)]};}async[_0x3d192e(0x45c)](_0x4066a0){const _0x2c12b4=_0x3d192e,_0x58a98d=this[_0x2c12b4(0x226)]()+'/collaborator';await this[_0x2c12b4(0x3b0)][_0x2c12b4(0x2cc)](_0x58a98d,{'params':{'collaboratorID':_0x4066a0[_0x2c12b4(0x441)],'objectID':_0x4066a0[_0x2c12b4(0x358)],'unitID':_0x4066a0[_0x2c12b4(0x1dc)]}});}async[_0x3d192e(0x4a9)](_0x424af9){const _0x199eb0=_0x3d192e,_0x39d435=this[_0x199eb0(0x226)]()+'/collaborator';await this[_0x199eb0(0x3b0)][_0x199eb0(0x3b2)](_0x39d435,{'body':_0x424af9});}async[_0x3d192e(0x3c2)](_0x5fb592){const _0x33e633=_0x3d192e,_0x50bcbc=this[_0x33e633(0x226)]()+_0x33e633(0x237);await this[_0x33e633(0x3b0)]['post'](_0x50bcbc,{'body':_0x5fb592});}async[_0x3d192e(0x47f)](_0x5e1470){const _0x3db9c7=_0x3d192e,_0x108268=this['_getAPIPrefixPath']()+_0x3db9c7(0x237);return(await this[_0x3db9c7(0x3b0)][_0x3db9c7(0x47d)](_0x108268,{'params':{'objectID':_0x5e1470[_0x3db9c7(0x358)],'unitID':_0x5e1470[_0x3db9c7(0x1dc)]}}))['body']['collaborators'];}async[_0x3d192e(0x26c)](_0x2e838d){const _0x1a7dcd=_0x3d192e,_0x278498=this[_0x1a7dcd(0x226)]()+_0x1a7dcd(0x237);await this[_0x1a7dcd(0x3b0)][_0x1a7dcd(0x415)](_0x278498,{'body':_0x2e838d});}};cs=Pa([qs(0x0,_0x435342(_0x280c50)),qs(0x1,_0x435342(_0x1b2eff))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x1f02fd){const _0x21f617=_0x3d192e;return _0x1f02fd&&_0x1f02fd[_0x21f617(0x1da)]&&Object[_0x21f617(0x1a4)][_0x21f617(0x379)][_0x21f617(0x2c2)](_0x1f02fd,'default')?_0x1f02fd['default']:_0x1f02fd;}function Aa(_0x12afec){const _0x199b29=_0x3d192e;if(_0x12afec['__esModule'])return _0x12afec;var _0x56e9f9=_0x12afec[_0x199b29(0x500)];if(typeof _0x56e9f9==_0x199b29(0x3c5)){var _0x59cd28=function _0x255032(){const _0x2f50b9=_0x199b29;return this instanceof _0x255032?Reflect[_0x2f50b9(0x455)](_0x56e9f9,arguments,this[_0x2f50b9(0x571)]):_0x56e9f9[_0x2f50b9(0x539)](this,arguments);};_0x59cd28[_0x199b29(0x1a4)]=_0x56e9f9[_0x199b29(0x1a4)];}else _0x59cd28={};return Object['defineProperty'](_0x59cd28,'__esModule',{'value':!0x0}),Object[_0x199b29(0x3bb)](_0x12afec)[_0x199b29(0x253)](function(_0x4d7bdf){const _0x4f4715=_0x199b29;var _0x4c1b51=Object[_0x4f4715(0x3e5)](_0x12afec,_0x4d7bdf);Object[_0x4f4715(0x494)](_0x59cd28,_0x4d7bdf,_0x4c1b51[_0x4f4715(0x47d)]?_0x4c1b51:{'enumerable':!0x0,'get':function(){return _0x12afec[_0x4d7bdf];}});}),_0x59cd28;}var ji={'exports':{}};function Ma(_0x3029d3){const _0x2a0bb8=_0x3d192e;throw new Error(_0x2a0bb8(0x474)+_0x3029d3+_0x2a0bb8(0x2cf));}var Ft={'exports':{}};const xa={},La=Object['freeze'](Object[_0x3d192e(0x494)]({'__proto__':null,'default':xa},Symbol['toStringTag'],{'value':_0x3d192e(0x48e)})),$a=Aa(La);var Xs;function ue(){const _0x256c63=_0x3d192e;return Xs||(Xs=0x1,function(_0xc8bb0b,_0x5ef3a4){(function(_0x34a6ac,_0x5eb7f0){const _0x54f9df=_0x1083;_0xc8bb0b[_0x54f9df(0x570)]=_0x5eb7f0();}(Z,function(){var _0x5a45b4=_0x5a45b4||function(_0x39509f,_0x4c9e9c){const _0x20a044=_0x1083;var _0x14ded6;if(typeof window<'u'&&window[_0x20a044(0x50f)]&&(_0x14ded6=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x14ded6=self[_0x20a044(0x50f)]),typeof globalThis<'u'&&globalThis[_0x20a044(0x50f)]&&(_0x14ded6=globalThis[_0x20a044(0x50f)]),!_0x14ded6&&typeof window<'u'&&window[_0x20a044(0x39d)]&&(_0x14ded6=window[_0x20a044(0x39d)]),!_0x14ded6&&typeof Z<'u'&&Z[_0x20a044(0x50f)]&&(_0x14ded6=Z[_0x20a044(0x50f)]),!_0x14ded6&&typeof Ma==_0x20a044(0x3c5))try{_0x14ded6=$a;}catch{}var _0x4c05f3=function(){const _0x3e0dd7=_0x20a044;if(_0x14ded6){if(typeof _0x14ded6[_0x3e0dd7(0x486)]==_0x3e0dd7(0x3c5))try{return _0x14ded6[_0x3e0dd7(0x486)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x14ded6[_0x3e0dd7(0x28f)]=='function')try{return _0x14ded6[_0x3e0dd7(0x28f)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x25f817=Object[_0x20a044(0x398)]||(function(){function _0x584747(){}return function(_0x5db29f){const _0x237c36=_0x1083;var _0x2621b1;return _0x584747[_0x237c36(0x1a4)]=_0x5db29f,_0x2621b1=new _0x584747(),_0x584747[_0x237c36(0x1a4)]=null,_0x2621b1;};}()),_0x48f7d6={},_0x5291ca=_0x48f7d6[_0x20a044(0x389)]={},_0x20d281=_0x5291ca['Base']=(function(){return{'extend':function(_0xcfa83e){const _0x846111=_0x1083;var _0x4e038d=_0x25f817(this);return _0xcfa83e&&_0x4e038d[_0x846111(0x32f)](_0xcfa83e),(!_0x4e038d[_0x846111(0x379)](_0x846111(0x46a))||this[_0x846111(0x46a)]===_0x4e038d[_0x846111(0x46a)])&&(_0x4e038d[_0x846111(0x46a)]=function(){const _0x95ccec=_0x846111;_0x4e038d['$super'][_0x95ccec(0x46a)][_0x95ccec(0x539)](this,arguments);}),_0x4e038d[_0x846111(0x46a)][_0x846111(0x1a4)]=_0x4e038d,_0x4e038d[_0x846111(0x57e)]=this,_0x4e038d;},'create':function(){const _0x5aae91=_0x1083;var _0x52f026=this[_0x5aae91(0x453)]();return _0x52f026[_0x5aae91(0x46a)][_0x5aae91(0x539)](_0x52f026,arguments),_0x52f026;},'init':function(){},'mixIn':function(_0x55e711){const _0x2738fb=_0x1083;for(var _0x57a130 in _0x55e711)_0x55e711[_0x2738fb(0x379)](_0x57a130)&&(this[_0x57a130]=_0x55e711[_0x57a130]);_0x55e711[_0x2738fb(0x379)](_0x2738fb(0x504))&&(this[_0x2738fb(0x504)]=_0x55e711[_0x2738fb(0x504)]);},'clone':function(){const _0x3c1dbb=_0x1083;return this[_0x3c1dbb(0x46a)][_0x3c1dbb(0x1a4)]['extend'](this);}};}()),_0x3dafb0=_0x5291ca[_0x20a044(0x35d)]=_0x20d281[_0x20a044(0x453)]({'init':function(_0x498a1a,_0x32f7ef){const _0x313422=_0x20a044;_0x498a1a=this[_0x313422(0x57a)]=_0x498a1a||[],_0x32f7ef!=_0x4c9e9c?this[_0x313422(0x45d)]=_0x32f7ef:this['sigBytes']=_0x498a1a['length']*0x4;},'toString':function(_0x3ab29d){return(_0x3ab29d||_0x5aafb2)['stringify'](this);},'concat':function(_0x133e6a){const _0xa16f76=_0x20a044;var _0x437157=this[_0xa16f76(0x57a)],_0x3ea472=_0x133e6a[_0xa16f76(0x57a)],_0x1c59d5=this[_0xa16f76(0x45d)],_0x42512c=_0x133e6a[_0xa16f76(0x45d)];if(this[_0xa16f76(0x336)](),_0x1c59d5%0x4)for(var _0x197c46=0x0;_0x197c46<_0x42512c;_0x197c46++){var _0x512d8a=_0x3ea472[_0x197c46>>>0x2]>>>0x18-_0x197c46%0x4*0x8&0xff;_0x437157[_0x1c59d5+_0x197c46>>>0x2]|=_0x512d8a<<0x18-(_0x1c59d5+_0x197c46)%0x4*0x8;}else{for(var _0x12de4c=0x0;_0x12de4c<_0x42512c;_0x12de4c+=0x4)_0x437157[_0x1c59d5+_0x12de4c>>>0x2]=_0x3ea472[_0x12de4c>>>0x2];}return this[_0xa16f76(0x45d)]+=_0x42512c,this;},'clamp':function(){const _0x373915=_0x20a044;var _0x2819de=this[_0x373915(0x57a)],_0x5a1ee8=this[_0x373915(0x45d)];_0x2819de[_0x5a1ee8>>>0x2]&=0xffffffff<<0x20-_0x5a1ee8%0x4*0x8,_0x2819de['length']=_0x39509f[_0x373915(0x284)](_0x5a1ee8/0x4);},'clone':function(){const _0x13c455=_0x20a044;var _0x201bbc=_0x20d281[_0x13c455(0x4ec)][_0x13c455(0x2c2)](this);return _0x201bbc[_0x13c455(0x57a)]=this[_0x13c455(0x57a)][_0x13c455(0x3ca)](0x0),_0x201bbc;},'random':function(_0x4e3cd9){for(var _0x406e17=[],_0x4584b4=0x0;_0x4584b4<_0x4e3cd9;_0x4584b4+=0x4)_0x406e17['push'](_0x4c05f3());return new _0x3dafb0['init'](_0x406e17,_0x4e3cd9);}}),_0x1a37b8=_0x48f7d6[_0x20a044(0x29f)]={},_0x5aafb2=_0x1a37b8[_0x20a044(0x36c)]={'stringify':function(_0x5ad080){const _0x5a561f=_0x20a044;for(var _0x588a50=_0x5ad080[_0x5a561f(0x57a)],_0x4bcb46=_0x5ad080[_0x5a561f(0x45d)],_0xa38820=[],_0x50fe9c=0x0;_0x50fe9c<_0x4bcb46;_0x50fe9c++){var _0x1789a6=_0x588a50[_0x50fe9c>>>0x2]>>>0x18-_0x50fe9c%0x4*0x8&0xff;_0xa38820['push']((_0x1789a6>>>0x4)['toString'](0x10)),_0xa38820[_0x5a561f(0x24b)]((_0x1789a6&0xf)['toString'](0x10));}return _0xa38820['join']('');},'parse':function(_0x597d8b){const _0xb4f63a=_0x20a044;for(var _0x442244=_0x597d8b[_0xb4f63a(0x4e9)],_0x128a4a=[],_0x258d72=0x0;_0x258d72<_0x442244;_0x258d72+=0x2)_0x128a4a[_0x258d72>>>0x3]|=parseInt(_0x597d8b[_0xb4f63a(0x2c0)](_0x258d72,0x2),0x10)<<0x18-_0x258d72%0x8*0x4;return new _0x3dafb0[(_0xb4f63a(0x46a))](_0x128a4a,_0x442244/0x2);}},_0x23cd39=_0x1a37b8[_0x20a044(0x349)]={'stringify':function(_0x1646e1){const _0x133b99=_0x20a044;for(var _0x4ac741=_0x1646e1[_0x133b99(0x57a)],_0xa69ccd=_0x1646e1[_0x133b99(0x45d)],_0x3290ab=[],_0x338d07=0x0;_0x338d07<_0xa69ccd;_0x338d07++){var _0x41a642=_0x4ac741[_0x338d07>>>0x2]>>>0x18-_0x338d07%0x4*0x8&0xff;_0x3290ab[_0x133b99(0x24b)](String[_0x133b99(0x55a)](_0x41a642));}return _0x3290ab[_0x133b99(0x1bc)]('');},'parse':function(_0x2e7375){const _0x5b703c=_0x20a044;for(var _0x545149=_0x2e7375['length'],_0x2ce5cb=[],_0x568cb4=0x0;_0x568cb4<_0x545149;_0x568cb4++)_0x2ce5cb[_0x568cb4>>>0x2]|=(_0x2e7375['charCodeAt'](_0x568cb4)&0xff)<<0x18-_0x568cb4%0x4*0x8;return new _0x3dafb0[(_0x5b703c(0x46a))](_0x2ce5cb,_0x545149);}},_0x21e167=_0x1a37b8[_0x20a044(0x30e)]={'stringify':function(_0x5f074a){const _0x544e15=_0x20a044;try{return decodeURIComponent(escape(_0x23cd39[_0x544e15(0x4fa)](_0x5f074a)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x251fd0){const _0x49442b=_0x20a044;return _0x23cd39[_0x49442b(0x4da)](unescape(encodeURIComponent(_0x251fd0)));}},_0x113560=_0x5291ca[_0x20a044(0x3e3)]=_0x20d281['extend']({'reset':function(){const _0x43df55=_0x20a044;this[_0x43df55(0x2f0)]=new _0x3dafb0[(_0x43df55(0x46a))](),this[_0x43df55(0x1fd)]=0x0;},'_append':function(_0x1a1b90){const _0x534b78=_0x20a044;typeof _0x1a1b90=='string'&&(_0x1a1b90=_0x21e167['parse'](_0x1a1b90)),this[_0x534b78(0x2f0)][_0x534b78(0x351)](_0x1a1b90),this[_0x534b78(0x1fd)]+=_0x1a1b90[_0x534b78(0x45d)];},'_process':function(_0x247814){const _0x5b0ff3=_0x20a044;var _0x451d8e,_0x3e7b20=this[_0x5b0ff3(0x2f0)],_0x2e24dc=_0x3e7b20[_0x5b0ff3(0x57a)],_0x3a359c=_0x3e7b20[_0x5b0ff3(0x45d)],_0x24a749=this[_0x5b0ff3(0x3fa)],_0x28cf81=_0x24a749*0x4,_0x41866d=_0x3a359c/_0x28cf81;_0x247814?_0x41866d=_0x39509f[_0x5b0ff3(0x284)](_0x41866d):_0x41866d=_0x39509f[_0x5b0ff3(0x4b5)]((_0x41866d|0x0)-this[_0x5b0ff3(0x32b)],0x0);var _0x31a67f=_0x41866d*_0x24a749,_0x3fae3a=_0x39509f[_0x5b0ff3(0x354)](_0x31a67f*0x4,_0x3a359c);if(_0x31a67f){for(var _0x159b69=0x0;_0x159b69<_0x31a67f;_0x159b69+=_0x24a749)this[_0x5b0ff3(0x40b)](_0x2e24dc,_0x159b69);_0x451d8e=_0x2e24dc[_0x5b0ff3(0x1ab)](0x0,_0x31a67f),_0x3e7b20['sigBytes']-=_0x3fae3a;}return new _0x3dafb0[(_0x5b0ff3(0x46a))](_0x451d8e,_0x3fae3a);},'clone':function(){const _0x3d3f4e=_0x20a044;var _0x3a2655=_0x20d281['clone'][_0x3d3f4e(0x2c2)](this);return _0x3a2655[_0x3d3f4e(0x2f0)]=this[_0x3d3f4e(0x2f0)][_0x3d3f4e(0x4ec)](),_0x3a2655;},'_minBufferSize':0x0});_0x5291ca['Hasher']=_0x113560[_0x20a044(0x453)]({'cfg':_0x20d281[_0x20a044(0x453)](),'init':function(_0x4285ac){const _0x4cb9be=_0x20a044;this[_0x4cb9be(0x1c3)]=this[_0x4cb9be(0x1c3)]['extend'](_0x4285ac),this[_0x4cb9be(0x26e)]();},'reset':function(){const _0x5133e2=_0x20a044;_0x113560[_0x5133e2(0x26e)]['call'](this),this[_0x5133e2(0x34d)]();},'update':function(_0x22a2f7){const _0xeabcaa=_0x20a044;return this[_0xeabcaa(0x2ed)](_0x22a2f7),this[_0xeabcaa(0x588)](),this;},'finalize':function(_0x3930ad){_0x3930ad&&this['_append'](_0x3930ad);var _0x8811d0=this['_doFinalize']();return _0x8811d0;},'blockSize':0x10,'_createHelper':function(_0x398976){return function(_0x2c61da,_0x3959de){const _0x171bb0=_0x1083;return new _0x398976[(_0x171bb0(0x46a))](_0x3959de)['finalize'](_0x2c61da);};},'_createHmacHelper':function(_0x347037){return function(_0x26bbcb,_0x339197){const _0x1c252a=_0x1083;return new _0x5a66da[(_0x1c252a(0x2af))]['init'](_0x347037,_0x339197)[_0x1c252a(0x3c9)](_0x26bbcb);};}});var _0x5a66da=_0x48f7d6[_0x20a044(0x3d2)]={};return _0x48f7d6;}(Math);return _0x5a45b4;}));}(Ft)),Ft[_0x256c63(0x570)];}var Vt={'exports':{}},Js;function Bi(){const _0x27a053=_0x3d192e;return Js||(Js=0x1,function(_0x502d37,_0x7e0e27){(function(_0x7f8db3,_0xa74e1){_0x502d37['exports']=_0xa74e1(ue());}(Z,function(_0x317f2c){const _0x5995df=_0x1083;return(function(){const _0x1527b1=_0x1083;var _0x19172d=_0x317f2c,_0x1915fa=_0x19172d[_0x1527b1(0x389)],_0x40cdea=_0x1915fa[_0x1527b1(0x35d)],_0x232596=_0x19172d[_0x1527b1(0x29f)];_0x232596[_0x1527b1(0x196)]={'stringify':function(_0x380b5c){const _0x334bb6=_0x1527b1;var _0x5c3fda=_0x380b5c[_0x334bb6(0x57a)],_0x5587f0=_0x380b5c['sigBytes'],_0x520078=this[_0x334bb6(0x50e)];_0x380b5c[_0x334bb6(0x336)]();for(var _0x16f685=[],_0x4b58d6=0x0;_0x4b58d6<_0x5587f0;_0x4b58d6+=0x3)for(var _0x53de05=_0x5c3fda[_0x4b58d6>>>0x2]>>>0x18-_0x4b58d6%0x4*0x8&0xff,_0x23f5f3=_0x5c3fda[_0x4b58d6+0x1>>>0x2]>>>0x18-(_0x4b58d6+0x1)%0x4*0x8&0xff,_0x47b434=_0x5c3fda[_0x4b58d6+0x2>>>0x2]>>>0x18-(_0x4b58d6+0x2)%0x4*0x8&0xff,_0x41f27c=_0x53de05<<0x10|_0x23f5f3<<0x8|_0x47b434,_0x39a5bc=0x0;_0x39a5bc<0x4&&_0x4b58d6+_0x39a5bc*0.75<_0x5587f0;_0x39a5bc++)_0x16f685[_0x334bb6(0x24b)](_0x520078[_0x334bb6(0x21e)](_0x41f27c>>>0x6*(0x3-_0x39a5bc)&0x3f));var _0xff25b2=_0x520078[_0x334bb6(0x21e)](0x40);if(_0xff25b2){for(;_0x16f685[_0x334bb6(0x4e9)]%0x4;)_0x16f685[_0x334bb6(0x24b)](_0xff25b2);}return _0x16f685['join']('');},'parse':function(_0x5ce952){const _0x25e2cd=_0x1527b1;var _0x169358=_0x5ce952[_0x25e2cd(0x4e9)],_0x5b4ab4=this['_map'],_0x4cb661=this[_0x25e2cd(0x272)];if(!_0x4cb661){_0x4cb661=this[_0x25e2cd(0x272)]=[];for(var _0x5d5069=0x0;_0x5d5069<_0x5b4ab4[_0x25e2cd(0x4e9)];_0x5d5069++)_0x4cb661[_0x5b4ab4['charCodeAt'](_0x5d5069)]=_0x5d5069;}var _0x154f20=_0x5b4ab4['charAt'](0x40);if(_0x154f20){var _0xc34e2a=_0x5ce952['indexOf'](_0x154f20);_0xc34e2a!==-0x1&&(_0x169358=_0xc34e2a);}return _0x110cd8(_0x5ce952,_0x169358,_0x4cb661);},'_map':_0x1527b1(0x475)};function _0x110cd8(_0x4a752e,_0x5b9580,_0x3e421a){const _0x4567e1=_0x1527b1;for(var _0x2123ad=[],_0xa48308=0x0,_0x302c62=0x0;_0x302c62<_0x5b9580;_0x302c62++)if(_0x302c62%0x4){var _0x33d83d=_0x3e421a[_0x4a752e[_0x4567e1(0x342)](_0x302c62-0x1)]<<_0x302c62%0x4*0x2,_0x3f4e0c=_0x3e421a[_0x4a752e[_0x4567e1(0x342)](_0x302c62)]>>>0x6-_0x302c62%0x4*0x2,_0x4f5bc1=_0x33d83d|_0x3f4e0c;_0x2123ad[_0xa48308>>>0x2]|=_0x4f5bc1<<0x18-_0xa48308%0x4*0x8,_0xa48308++;}return _0x40cdea[_0x4567e1(0x398)](_0x2123ad,_0xa48308);}}()),_0x317f2c[_0x5995df(0x29f)][_0x5995df(0x196)];}));}(Vt)),Vt[_0x27a053(0x570)];}var Gt={'exports':{}},Zs;function Ha(){const _0x18e5a2=_0x3d192e;return Zs||(Zs=0x1,function(_0x578410,_0x47dc79){(function(_0x85a09b,_0x37d9bb){const _0x297392=_0x1083;_0x578410[_0x297392(0x570)]=_0x37d9bb(ue());}(Z,function(_0x1955a9){const _0x4267ac=_0x1083;return function(_0x1d7d63){const _0x32b802=_0x1083;var _0x3bb610=_0x1955a9,_0x430d87=_0x3bb610[_0x32b802(0x389)],_0xfbf8bd=_0x430d87[_0x32b802(0x35d)],_0x5cd695=_0x430d87[_0x32b802(0x3a7)],_0x5dc218=_0x3bb610[_0x32b802(0x3d2)],_0x3f43a8=[];(function(){const _0xc7a9d8=_0x32b802;for(var _0x1a3c27=0x0;_0x1a3c27<0x40;_0x1a3c27++)_0x3f43a8[_0x1a3c27]=_0x1d7d63['abs'](_0x1d7d63[_0xc7a9d8(0x3cb)](_0x1a3c27+0x1))*0x100000000|0x0;}());var _0x21ef41=_0x5dc218[_0x32b802(0x511)]=_0x5cd695[_0x32b802(0x453)]({'_doReset':function(){const _0x3e5a46=_0x32b802;this['_hash']=new _0xfbf8bd[(_0x3e5a46(0x46a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x190e69,_0x587f3f){const _0x4a6857=_0x32b802;for(var _0x5b7d20=0x0;_0x5b7d20<0x10;_0x5b7d20++){var _0x185ca7=_0x587f3f+_0x5b7d20,_0x22380e=_0x190e69[_0x185ca7];_0x190e69[_0x185ca7]=(_0x22380e<<0x8|_0x22380e>>>0x18)&0xff00ff|(_0x22380e<<0x18|_0x22380e>>>0x8)&0xff00ff00;}var _0x49d36c=this[_0x4a6857(0x334)]['words'],_0x3f080f=_0x190e69[_0x587f3f+0x0],_0x5d64a2=_0x190e69[_0x587f3f+0x1],_0x30c194=_0x190e69[_0x587f3f+0x2],_0x5f5060=_0x190e69[_0x587f3f+0x3],_0x2e6b7f=_0x190e69[_0x587f3f+0x4],_0x3d560a=_0x190e69[_0x587f3f+0x5],_0x1ee104=_0x190e69[_0x587f3f+0x6],_0x4e3039=_0x190e69[_0x587f3f+0x7],_0x197149=_0x190e69[_0x587f3f+0x8],_0x87c578=_0x190e69[_0x587f3f+0x9],_0x32ba60=_0x190e69[_0x587f3f+0xa],_0x110016=_0x190e69[_0x587f3f+0xb],_0x344623=_0x190e69[_0x587f3f+0xc],_0x4b5db9=_0x190e69[_0x587f3f+0xd],_0x505dab=_0x190e69[_0x587f3f+0xe],_0x5471c9=_0x190e69[_0x587f3f+0xf],_0x5be04f=_0x49d36c[0x0],_0x464f78=_0x49d36c[0x1],_0x573958=_0x49d36c[0x2],_0x3d8ea2=_0x49d36c[0x3];_0x5be04f=_0x5446aa(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x3f080f,0x7,_0x3f43a8[0x0]),_0x3d8ea2=_0x5446aa(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x5d64a2,0xc,_0x3f43a8[0x1]),_0x573958=_0x5446aa(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x30c194,0x11,_0x3f43a8[0x2]),_0x464f78=_0x5446aa(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x5f5060,0x16,_0x3f43a8[0x3]),_0x5be04f=_0x5446aa(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x2e6b7f,0x7,_0x3f43a8[0x4]),_0x3d8ea2=_0x5446aa(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x3d560a,0xc,_0x3f43a8[0x5]),_0x573958=_0x5446aa(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x1ee104,0x11,_0x3f43a8[0x6]),_0x464f78=_0x5446aa(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x4e3039,0x16,_0x3f43a8[0x7]),_0x5be04f=_0x5446aa(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x197149,0x7,_0x3f43a8[0x8]),_0x3d8ea2=_0x5446aa(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x87c578,0xc,_0x3f43a8[0x9]),_0x573958=_0x5446aa(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x32ba60,0x11,_0x3f43a8[0xa]),_0x464f78=_0x5446aa(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x110016,0x16,_0x3f43a8[0xb]),_0x5be04f=_0x5446aa(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x344623,0x7,_0x3f43a8[0xc]),_0x3d8ea2=_0x5446aa(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x4b5db9,0xc,_0x3f43a8[0xd]),_0x573958=_0x5446aa(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x505dab,0x11,_0x3f43a8[0xe]),_0x464f78=_0x5446aa(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x5471c9,0x16,_0x3f43a8[0xf]),_0x5be04f=_0x2247ba(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x5d64a2,0x5,_0x3f43a8[0x10]),_0x3d8ea2=_0x2247ba(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x1ee104,0x9,_0x3f43a8[0x11]),_0x573958=_0x2247ba(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x110016,0xe,_0x3f43a8[0x12]),_0x464f78=_0x2247ba(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x3f080f,0x14,_0x3f43a8[0x13]),_0x5be04f=_0x2247ba(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x3d560a,0x5,_0x3f43a8[0x14]),_0x3d8ea2=_0x2247ba(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x32ba60,0x9,_0x3f43a8[0x15]),_0x573958=_0x2247ba(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x5471c9,0xe,_0x3f43a8[0x16]),_0x464f78=_0x2247ba(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x2e6b7f,0x14,_0x3f43a8[0x17]),_0x5be04f=_0x2247ba(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x87c578,0x5,_0x3f43a8[0x18]),_0x3d8ea2=_0x2247ba(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x505dab,0x9,_0x3f43a8[0x19]),_0x573958=_0x2247ba(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x5f5060,0xe,_0x3f43a8[0x1a]),_0x464f78=_0x2247ba(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x197149,0x14,_0x3f43a8[0x1b]),_0x5be04f=_0x2247ba(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x4b5db9,0x5,_0x3f43a8[0x1c]),_0x3d8ea2=_0x2247ba(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x30c194,0x9,_0x3f43a8[0x1d]),_0x573958=_0x2247ba(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x4e3039,0xe,_0x3f43a8[0x1e]),_0x464f78=_0x2247ba(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x344623,0x14,_0x3f43a8[0x1f]),_0x5be04f=_0x4d2c0a(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x3d560a,0x4,_0x3f43a8[0x20]),_0x3d8ea2=_0x4d2c0a(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x197149,0xb,_0x3f43a8[0x21]),_0x573958=_0x4d2c0a(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x110016,0x10,_0x3f43a8[0x22]),_0x464f78=_0x4d2c0a(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x505dab,0x17,_0x3f43a8[0x23]),_0x5be04f=_0x4d2c0a(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x5d64a2,0x4,_0x3f43a8[0x24]),_0x3d8ea2=_0x4d2c0a(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x2e6b7f,0xb,_0x3f43a8[0x25]),_0x573958=_0x4d2c0a(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x4e3039,0x10,_0x3f43a8[0x26]),_0x464f78=_0x4d2c0a(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x32ba60,0x17,_0x3f43a8[0x27]),_0x5be04f=_0x4d2c0a(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x4b5db9,0x4,_0x3f43a8[0x28]),_0x3d8ea2=_0x4d2c0a(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x3f080f,0xb,_0x3f43a8[0x29]),_0x573958=_0x4d2c0a(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x5f5060,0x10,_0x3f43a8[0x2a]),_0x464f78=_0x4d2c0a(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x1ee104,0x17,_0x3f43a8[0x2b]),_0x5be04f=_0x4d2c0a(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x87c578,0x4,_0x3f43a8[0x2c]),_0x3d8ea2=_0x4d2c0a(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x344623,0xb,_0x3f43a8[0x2d]),_0x573958=_0x4d2c0a(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x5471c9,0x10,_0x3f43a8[0x2e]),_0x464f78=_0x4d2c0a(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x30c194,0x17,_0x3f43a8[0x2f]),_0x5be04f=_0x2e0d34(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x3f080f,0x6,_0x3f43a8[0x30]),_0x3d8ea2=_0x2e0d34(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x4e3039,0xa,_0x3f43a8[0x31]),_0x573958=_0x2e0d34(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x505dab,0xf,_0x3f43a8[0x32]),_0x464f78=_0x2e0d34(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x3d560a,0x15,_0x3f43a8[0x33]),_0x5be04f=_0x2e0d34(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x344623,0x6,_0x3f43a8[0x34]),_0x3d8ea2=_0x2e0d34(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x5f5060,0xa,_0x3f43a8[0x35]),_0x573958=_0x2e0d34(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x32ba60,0xf,_0x3f43a8[0x36]),_0x464f78=_0x2e0d34(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x5d64a2,0x15,_0x3f43a8[0x37]),_0x5be04f=_0x2e0d34(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x197149,0x6,_0x3f43a8[0x38]),_0x3d8ea2=_0x2e0d34(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x5471c9,0xa,_0x3f43a8[0x39]),_0x573958=_0x2e0d34(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x1ee104,0xf,_0x3f43a8[0x3a]),_0x464f78=_0x2e0d34(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x4b5db9,0x15,_0x3f43a8[0x3b]),_0x5be04f=_0x2e0d34(_0x5be04f,_0x464f78,_0x573958,_0x3d8ea2,_0x2e6b7f,0x6,_0x3f43a8[0x3c]),_0x3d8ea2=_0x2e0d34(_0x3d8ea2,_0x5be04f,_0x464f78,_0x573958,_0x110016,0xa,_0x3f43a8[0x3d]),_0x573958=_0x2e0d34(_0x573958,_0x3d8ea2,_0x5be04f,_0x464f78,_0x30c194,0xf,_0x3f43a8[0x3e]),_0x464f78=_0x2e0d34(_0x464f78,_0x573958,_0x3d8ea2,_0x5be04f,_0x87c578,0x15,_0x3f43a8[0x3f]),_0x49d36c[0x0]=_0x49d36c[0x0]+_0x5be04f|0x0,_0x49d36c[0x1]=_0x49d36c[0x1]+_0x464f78|0x0,_0x49d36c[0x2]=_0x49d36c[0x2]+_0x573958|0x0,_0x49d36c[0x3]=_0x49d36c[0x3]+_0x3d8ea2|0x0;},'_doFinalize':function(){const _0x5987e2=_0x32b802;var _0x2f064c=this[_0x5987e2(0x2f0)],_0x13e193=_0x2f064c[_0x5987e2(0x57a)],_0x3023c5=this['_nDataBytes']*0x8,_0x337b86=_0x2f064c['sigBytes']*0x8;_0x13e193[_0x337b86>>>0x5]|=0x80<<0x18-_0x337b86%0x20;var _0xbb4a2c=_0x1d7d63[_0x5987e2(0x3b4)](_0x3023c5/0x100000000),_0x28f206=_0x3023c5;_0x13e193[(_0x337b86+0x40>>>0x9<<0x4)+0xf]=(_0xbb4a2c<<0x8|_0xbb4a2c>>>0x18)&0xff00ff|(_0xbb4a2c<<0x18|_0xbb4a2c>>>0x8)&0xff00ff00,_0x13e193[(_0x337b86+0x40>>>0x9<<0x4)+0xe]=(_0x28f206<<0x8|_0x28f206>>>0x18)&0xff00ff|(_0x28f206<<0x18|_0x28f206>>>0x8)&0xff00ff00,_0x2f064c['sigBytes']=(_0x13e193[_0x5987e2(0x4e9)]+0x1)*0x4,this[_0x5987e2(0x588)]();for(var _0x54907e=this[_0x5987e2(0x334)],_0x37ee9b=_0x54907e[_0x5987e2(0x57a)],_0x2792f5=0x0;_0x2792f5<0x4;_0x2792f5++){var _0x5b9f73=_0x37ee9b[_0x2792f5];_0x37ee9b[_0x2792f5]=(_0x5b9f73<<0x8|_0x5b9f73>>>0x18)&0xff00ff|(_0x5b9f73<<0x18|_0x5b9f73>>>0x8)&0xff00ff00;}return _0x54907e;},'clone':function(){const _0xe7232d=_0x32b802;var _0x39cc7a=_0x5cd695[_0xe7232d(0x4ec)][_0xe7232d(0x2c2)](this);return _0x39cc7a[_0xe7232d(0x334)]=this[_0xe7232d(0x334)][_0xe7232d(0x4ec)](),_0x39cc7a;}});function _0x5446aa(_0x256f1a,_0x2db97c,_0x363a76,_0x28aec7,_0x597c44,_0x3f3e81,_0x4009c3){var _0x1e8274=_0x256f1a+(_0x2db97c&_0x363a76|~_0x2db97c&_0x28aec7)+_0x597c44+_0x4009c3;return(_0x1e8274<<_0x3f3e81|_0x1e8274>>>0x20-_0x3f3e81)+_0x2db97c;}function _0x2247ba(_0xd038a3,_0x8704bf,_0x496d57,_0x4d93d7,_0x4cdd2a,_0x4e2de5,_0x4419df){var _0x11b5c7=_0xd038a3+(_0x8704bf&_0x4d93d7|_0x496d57&~_0x4d93d7)+_0x4cdd2a+_0x4419df;return(_0x11b5c7<<_0x4e2de5|_0x11b5c7>>>0x20-_0x4e2de5)+_0x8704bf;}function _0x4d2c0a(_0x5f03a7,_0x38ded5,_0x73da77,_0xae1cf9,_0x354167,_0x215ee5,_0x55f8ba){var _0x97018a=_0x5f03a7+(_0x38ded5^_0x73da77^_0xae1cf9)+_0x354167+_0x55f8ba;return(_0x97018a<<_0x215ee5|_0x97018a>>>0x20-_0x215ee5)+_0x38ded5;}function _0x2e0d34(_0x5ac66d,_0x2712ec,_0xcb540e,_0x3a9512,_0x13d0e0,_0x484574,_0x53c466){var _0x1d1f21=_0x5ac66d+(_0xcb540e^(_0x2712ec|~_0x3a9512))+_0x13d0e0+_0x53c466;return(_0x1d1f21<<_0x484574|_0x1d1f21>>>0x20-_0x484574)+_0x2712ec;}_0x3bb610[_0x32b802(0x511)]=_0x5cd695[_0x32b802(0x586)](_0x21ef41),_0x3bb610[_0x32b802(0x25a)]=_0x5cd695[_0x32b802(0x454)](_0x21ef41);}(Math),_0x1955a9[_0x4267ac(0x511)];}));}(Gt)),Gt[_0x18e5a2(0x570)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function ja(){return Qs||(Qs=0x1,function(_0x8fda56,_0x647fe5){(function(_0x21b6fe,_0x52a033){const _0x7a6721=_0x1083;_0x8fda56[_0x7a6721(0x570)]=_0x52a033(ue());}(Z,function(_0x56829f){const _0x5840ac=_0x1083;return(function(){const _0x437ed9=_0x1083;var _0x493a62=_0x56829f,_0x1a744f=_0x493a62[_0x437ed9(0x389)],_0x4fb0e3=_0x1a744f['WordArray'],_0x3af967=_0x1a744f[_0x437ed9(0x3a7)],_0x4be4cf=_0x493a62[_0x437ed9(0x3d2)],_0x2448ce=[],_0xa6d73d=_0x4be4cf['SHA1']=_0x3af967[_0x437ed9(0x453)]({'_doReset':function(){const _0x4c8add=_0x437ed9;this[_0x4c8add(0x334)]=new _0x4fb0e3[(_0x4c8add(0x46a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x552d4e,_0xd1097d){const _0x4a1a35=_0x437ed9;for(var _0x96d728=this[_0x4a1a35(0x334)][_0x4a1a35(0x57a)],_0x303102=_0x96d728[0x0],_0x73476f=_0x96d728[0x1],_0x53d404=_0x96d728[0x2],_0xe3c746=_0x96d728[0x3],_0x4480a6=_0x96d728[0x4],_0x36c320=0x0;_0x36c320<0x50;_0x36c320++){if(_0x36c320<0x10)_0x2448ce[_0x36c320]=_0x552d4e[_0xd1097d+_0x36c320]|0x0;else{var _0x1ccd02=_0x2448ce[_0x36c320-0x3]^_0x2448ce[_0x36c320-0x8]^_0x2448ce[_0x36c320-0xe]^_0x2448ce[_0x36c320-0x10];_0x2448ce[_0x36c320]=_0x1ccd02<<0x1|_0x1ccd02>>>0x1f;}var _0xda0c93=(_0x303102<<0x5|_0x303102>>>0x1b)+_0x4480a6+_0x2448ce[_0x36c320];_0x36c320<0x14?_0xda0c93+=(_0x73476f&_0x53d404|~_0x73476f&_0xe3c746)+0x5a827999:_0x36c320<0x28?_0xda0c93+=(_0x73476f^_0x53d404^_0xe3c746)+0x6ed9eba1:_0x36c320<0x3c?_0xda0c93+=(_0x73476f&_0x53d404|_0x73476f&_0xe3c746|_0x53d404&_0xe3c746)-0x70e44324:_0xda0c93+=(_0x73476f^_0x53d404^_0xe3c746)-0x359d3e2a,_0x4480a6=_0xe3c746,_0xe3c746=_0x53d404,_0x53d404=_0x73476f<<0x1e|_0x73476f>>>0x2,_0x73476f=_0x303102,_0x303102=_0xda0c93;}_0x96d728[0x0]=_0x96d728[0x0]+_0x303102|0x0,_0x96d728[0x1]=_0x96d728[0x1]+_0x73476f|0x0,_0x96d728[0x2]=_0x96d728[0x2]+_0x53d404|0x0,_0x96d728[0x3]=_0x96d728[0x3]+_0xe3c746|0x0,_0x96d728[0x4]=_0x96d728[0x4]+_0x4480a6|0x0;},'_doFinalize':function(){const _0x1d4ac8=_0x437ed9;var _0xabe02f=this[_0x1d4ac8(0x2f0)],_0x30fc0a=_0xabe02f[_0x1d4ac8(0x57a)],_0x278761=this[_0x1d4ac8(0x1fd)]*0x8,_0x54cc6f=_0xabe02f[_0x1d4ac8(0x45d)]*0x8;return _0x30fc0a[_0x54cc6f>>>0x5]|=0x80<<0x18-_0x54cc6f%0x20,_0x30fc0a[(_0x54cc6f+0x40>>>0x9<<0x4)+0xe]=Math[_0x1d4ac8(0x3b4)](_0x278761/0x100000000),_0x30fc0a[(_0x54cc6f+0x40>>>0x9<<0x4)+0xf]=_0x278761,_0xabe02f[_0x1d4ac8(0x45d)]=_0x30fc0a['length']*0x4,this['_process'](),this[_0x1d4ac8(0x334)];},'clone':function(){const _0x5bc2a9=_0x437ed9;var _0x4709b4=_0x3af967[_0x5bc2a9(0x4ec)][_0x5bc2a9(0x2c2)](this);return _0x4709b4[_0x5bc2a9(0x334)]=this[_0x5bc2a9(0x334)][_0x5bc2a9(0x4ec)](),_0x4709b4;}});_0x493a62[_0x437ed9(0x417)]=_0x3af967[_0x437ed9(0x586)](_0xa6d73d),_0x493a62[_0x437ed9(0x3f1)]=_0x3af967[_0x437ed9(0x454)](_0xa6d73d);}()),_0x56829f[_0x5840ac(0x417)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},ei;function Ba(){const _0x1667c1=_0x3d192e;return ei||(ei=0x1,function(_0x36b55e,_0x4b8fa9){(function(_0x32ff35,_0x2b9475){const _0x550d6a=_0x1083;_0x36b55e[_0x550d6a(0x570)]=_0x2b9475(ue());}(Z,function(_0x1ab69e){(function(){const _0x38d984=_0x1083;var _0x2d2a80=_0x1ab69e,_0x1e9264=_0x2d2a80['lib'],_0x2c252e=_0x1e9264[_0x38d984(0x3c0)],_0x5459f3=_0x2d2a80[_0x38d984(0x29f)],_0x2268f5=_0x5459f3[_0x38d984(0x30e)],_0xdcdb1d=_0x2d2a80[_0x38d984(0x3d2)];_0xdcdb1d['HMAC']=_0x2c252e[_0x38d984(0x453)]({'init':function(_0x47316f,_0x21c5cb){const _0x10926b=_0x38d984;_0x47316f=this['_hasher']=new _0x47316f[(_0x10926b(0x46a))](),typeof _0x21c5cb==_0x10926b(0x258)&&(_0x21c5cb=_0x2268f5[_0x10926b(0x4da)](_0x21c5cb));var _0x198352=_0x47316f['blockSize'],_0x4b1a07=_0x198352*0x4;_0x21c5cb[_0x10926b(0x45d)]>_0x4b1a07&&(_0x21c5cb=_0x47316f[_0x10926b(0x3c9)](_0x21c5cb)),_0x21c5cb[_0x10926b(0x336)]();for(var _0x15f48b=this['_oKey']=_0x21c5cb[_0x10926b(0x4ec)](),_0x49d767=this[_0x10926b(0x29e)]=_0x21c5cb[_0x10926b(0x4ec)](),_0x358dd7=_0x15f48b[_0x10926b(0x57a)],_0x1b3d0f=_0x49d767['words'],_0x1d955b=0x0;_0x1d955b<_0x198352;_0x1d955b++)_0x358dd7[_0x1d955b]^=0x5c5c5c5c,_0x1b3d0f[_0x1d955b]^=0x36363636;_0x15f48b['sigBytes']=_0x49d767[_0x10926b(0x45d)]=_0x4b1a07,this[_0x10926b(0x26e)]();},'reset':function(){const _0x228521=_0x38d984;var _0xe084b2=this[_0x228521(0x4c2)];_0xe084b2[_0x228521(0x26e)](),_0xe084b2[_0x228521(0x1d9)](this['_iKey']);},'update':function(_0x1a014b){const _0x550837=_0x38d984;return this['_hasher'][_0x550837(0x1d9)](_0x1a014b),this;},'finalize':function(_0x19d1b0){const _0x5e301f=_0x38d984;var _0x4d52af=this['_hasher'],_0x2f8be5=_0x4d52af[_0x5e301f(0x3c9)](_0x19d1b0);_0x4d52af[_0x5e301f(0x26e)]();var _0x5957f9=_0x4d52af[_0x5e301f(0x3c9)](this['_oKey'][_0x5e301f(0x4ec)]()[_0x5e301f(0x351)](_0x2f8be5));return _0x5957f9;}});}());}));}(zt)),zt[_0x1667c1(0x570)];}var ti;function ki(){const _0x28cc7a=_0x3d192e;return ti||(ti=0x1,function(_0x24a43e,_0x22774f){(function(_0x3519f0,_0x2fe875,_0x103647){_0x24a43e['exports']=_0x2fe875(ue(),ja(),Ba());}(Z,function(_0x215112){const _0x324dd0=_0x1083;return(function(){const _0x5b8941=_0x1083;var _0x385a77=_0x215112,_0x270585=_0x385a77[_0x5b8941(0x389)],_0x5a82b4=_0x270585[_0x5b8941(0x3c0)],_0x275f3f=_0x270585[_0x5b8941(0x35d)],_0x227604=_0x385a77['algo'],_0x5c4568=_0x227604[_0x5b8941(0x511)],_0x376d0d=_0x227604[_0x5b8941(0x559)]=_0x5a82b4[_0x5b8941(0x453)]({'cfg':_0x5a82b4[_0x5b8941(0x453)]({'keySize':0x80/0x20,'hasher':_0x5c4568,'iterations':0x1}),'init':function(_0x5ac41b){const _0x38c0bd=_0x5b8941;this['cfg']=this[_0x38c0bd(0x1c3)][_0x38c0bd(0x453)](_0x5ac41b);},'compute':function(_0x2ca33b,_0x12d8fe){const _0x3e76f8=_0x5b8941;for(var _0x1e52d9,_0x3c8f53=this['cfg'],_0x3c0265=_0x3c8f53[_0x3e76f8(0x1f3)][_0x3e76f8(0x398)](),_0x1cbbf3=_0x275f3f[_0x3e76f8(0x398)](),_0x40a30a=_0x1cbbf3[_0x3e76f8(0x57a)],_0x481550=_0x3c8f53[_0x3e76f8(0x4a5)],_0x54df34=_0x3c8f53['iterations'];_0x40a30a['length']<_0x481550;){_0x1e52d9&&_0x3c0265[_0x3e76f8(0x1d9)](_0x1e52d9),_0x1e52d9=_0x3c0265[_0x3e76f8(0x1d9)](_0x2ca33b)[_0x3e76f8(0x3c9)](_0x12d8fe),_0x3c0265['reset']();for(var _0x193f91=0x1;_0x193f91<_0x54df34;_0x193f91++)_0x1e52d9=_0x3c0265['finalize'](_0x1e52d9),_0x3c0265[_0x3e76f8(0x26e)]();_0x1cbbf3[_0x3e76f8(0x351)](_0x1e52d9);}return _0x1cbbf3['sigBytes']=_0x481550*0x4,_0x1cbbf3;}});_0x385a77['EvpKDF']=function(_0x38c65b,_0x400440,_0x18e40e){const _0x3fc22d=_0x5b8941;return _0x376d0d['create'](_0x18e40e)[_0x3fc22d(0x2b8)](_0x38c65b,_0x400440);};}()),_0x215112[_0x324dd0(0x559)];}));}(Yt)),Yt[_0x28cc7a(0x570)];}var qt={'exports':{}},si;function Wi(){const _0x2723f3=_0x3d192e;return si||(si=0x1,function(_0x1346e9,_0x4711df){(function(_0x221c09,_0x45fbb0,_0x1494b9){_0x1346e9['exports']=_0x45fbb0(ue(),ki());}(Z,function(_0x3b7ea7){const _0x39def3=_0x1083;_0x3b7ea7[_0x39def3(0x389)][_0x39def3(0x581)]||function(_0xd81dd0){const _0x1f913a=_0x39def3;var _0x17b3e4=_0x3b7ea7,_0x87e5e0=_0x17b3e4['lib'],_0x561480=_0x87e5e0[_0x1f913a(0x3c0)],_0x1f5013=_0x87e5e0[_0x1f913a(0x35d)],_0x2e225e=_0x87e5e0[_0x1f913a(0x3e3)],_0x18c501=_0x17b3e4[_0x1f913a(0x29f)];_0x18c501['Utf8'];var _0x280254=_0x18c501[_0x1f913a(0x196)],_0x160e58=_0x17b3e4[_0x1f913a(0x3d2)],_0x33ba5f=_0x160e58[_0x1f913a(0x559)],_0x4648e6=_0x87e5e0[_0x1f913a(0x581)]=_0x2e225e[_0x1f913a(0x453)]({'cfg':_0x561480[_0x1f913a(0x453)](),'createEncryptor':function(_0x16bdb8,_0xeb7ce){const _0x164566=_0x1f913a;return this[_0x164566(0x398)](this[_0x164566(0x44c)],_0x16bdb8,_0xeb7ce);},'createDecryptor':function(_0xfe223,_0x10a28a){const _0x34b796=_0x1f913a;return this[_0x34b796(0x398)](this[_0x34b796(0x24e)],_0xfe223,_0x10a28a);},'init':function(_0x51ffb0,_0x198377,_0x2076f9){const _0x47b12c=_0x1f913a;this[_0x47b12c(0x1c3)]=this[_0x47b12c(0x1c3)][_0x47b12c(0x453)](_0x2076f9),this[_0x47b12c(0x435)]=_0x51ffb0,this[_0x47b12c(0x2e0)]=_0x198377,this[_0x47b12c(0x26e)]();},'reset':function(){const _0x3d6f47=_0x1f913a;_0x2e225e[_0x3d6f47(0x26e)]['call'](this),this['_doReset']();},'process':function(_0x4a1a73){const _0x214bab=_0x1f913a;return this[_0x214bab(0x2ed)](_0x4a1a73),this[_0x214bab(0x588)]();},'finalize':function(_0x3516d1){const _0x1d6ab3=_0x1f913a;_0x3516d1&&this['_append'](_0x3516d1);var _0x4f40e5=this[_0x1d6ab3(0x4b6)]();return _0x4f40e5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1b33d0(_0x40b608){const _0xc7d1d=_0x1083;return typeof _0x40b608==_0xc7d1d(0x258)?_0x4c8314:_0x288ed;}return function(_0x20f301){return{'encrypt':function(_0x1a879e,_0x146844,_0xdfa846){const _0x124d5c=_0x1083;return _0x1b33d0(_0x146844)[_0x124d5c(0x460)](_0x20f301,_0x1a879e,_0x146844,_0xdfa846);},'decrypt':function(_0x282dc5,_0x2235f5,_0x2714ac){const _0x3e870c=_0x1083;return _0x1b33d0(_0x2235f5)[_0x3e870c(0x46c)](_0x20f301,_0x282dc5,_0x2235f5,_0x2714ac);}};};}())});_0x87e5e0['StreamCipher']=_0x4648e6['extend']({'_doFinalize':function(){const _0x1058f9=_0x1f913a;var _0x10af76=this[_0x1058f9(0x588)](!0x0);return _0x10af76;},'blockSize':0x1});var _0x267bc2=_0x17b3e4[_0x1f913a(0x481)]={},_0x2ce036=_0x87e5e0[_0x1f913a(0x3e6)]=_0x561480[_0x1f913a(0x453)]({'createEncryptor':function(_0x1d7c1a,_0x5bfd40){const _0x8eec4b=_0x1f913a;return this[_0x8eec4b(0x1c1)]['create'](_0x1d7c1a,_0x5bfd40);},'createDecryptor':function(_0x524569,_0x585be6){const _0x5ca8fb=_0x1f913a;return this[_0x5ca8fb(0x21a)]['create'](_0x524569,_0x585be6);},'init':function(_0x23c204,_0x3ff810){const _0x21497b=_0x1f913a;this[_0x21497b(0x3d6)]=_0x23c204,this[_0x21497b(0x36b)]=_0x3ff810;}}),_0x5f47c2=_0x267bc2[_0x1f913a(0x27c)]=(function(){const _0x5406db=_0x1f913a;var _0x5c1927=_0x2ce036['extend']();_0x5c1927['Encryptor']=_0x5c1927[_0x5406db(0x453)]({'processBlock':function(_0x5a9f98,_0x188817){const _0x47e8cd=_0x5406db;var _0x78b78=this[_0x47e8cd(0x3d6)],_0x1ebbde=_0x78b78[_0x47e8cd(0x3fa)];_0x1c593b[_0x47e8cd(0x2c2)](this,_0x5a9f98,_0x188817,_0x1ebbde),_0x78b78['encryptBlock'](_0x5a9f98,_0x188817),this[_0x47e8cd(0x38e)]=_0x5a9f98['slice'](_0x188817,_0x188817+_0x1ebbde);}}),_0x5c1927[_0x5406db(0x21a)]=_0x5c1927['extend']({'processBlock':function(_0x55c0f6,_0x17d331){const _0x5d45bb=_0x5406db;var _0x261167=this['_cipher'],_0x260176=_0x261167['blockSize'],_0x255460=_0x55c0f6[_0x5d45bb(0x3ca)](_0x17d331,_0x17d331+_0x260176);_0x261167[_0x5d45bb(0x1dd)](_0x55c0f6,_0x17d331),_0x1c593b[_0x5d45bb(0x2c2)](this,_0x55c0f6,_0x17d331,_0x260176),this['_prevBlock']=_0x255460;}});function _0x1c593b(_0x47f954,_0x38f42f,_0x51e1a3){const _0x124b9f=_0x5406db;var _0x4d9e19,_0x521e8f=this[_0x124b9f(0x36b)];_0x521e8f?(_0x4d9e19=_0x521e8f,this['_iv']=_0xd81dd0):_0x4d9e19=this[_0x124b9f(0x38e)];for(var _0x1ebe36=0x0;_0x1ebe36<_0x51e1a3;_0x1ebe36++)_0x47f954[_0x38f42f+_0x1ebe36]^=_0x4d9e19[_0x1ebe36];}return _0x5c1927;}()),_0xb1f14f=_0x17b3e4[_0x1f913a(0x4f5)]={},_0x1b4500=_0xb1f14f[_0x1f913a(0x4aa)]={'pad':function(_0x4cbef4,_0x3014de){const _0x1d525b=_0x1f913a;for(var _0x13dc06=_0x3014de*0x4,_0x2503bf=_0x13dc06-_0x4cbef4[_0x1d525b(0x45d)]%_0x13dc06,_0xc9ec8=_0x2503bf<<0x18|_0x2503bf<<0x10|_0x2503bf<<0x8|_0x2503bf,_0x7927ce=[],_0x3e5a4e=0x0;_0x3e5a4e<_0x2503bf;_0x3e5a4e+=0x4)_0x7927ce[_0x1d525b(0x24b)](_0xc9ec8);var _0x1f4084=_0x1f5013[_0x1d525b(0x398)](_0x7927ce,_0x2503bf);_0x4cbef4[_0x1d525b(0x351)](_0x1f4084);},'unpad':function(_0x11a8c3){const _0x310fa1=_0x1f913a;var _0x2c637c=_0x11a8c3[_0x310fa1(0x57a)][_0x11a8c3['sigBytes']-0x1>>>0x2]&0xff;_0x11a8c3[_0x310fa1(0x45d)]-=_0x2c637c;}};_0x87e5e0[_0x1f913a(0x48a)]=_0x4648e6[_0x1f913a(0x453)]({'cfg':_0x4648e6[_0x1f913a(0x1c3)]['extend']({'mode':_0x5f47c2,'padding':_0x1b4500}),'reset':function(){const _0x1ef540=_0x1f913a;var _0x5ce6d8;_0x4648e6[_0x1ef540(0x26e)][_0x1ef540(0x2c2)](this);var _0x339c9b=this[_0x1ef540(0x1c3)],_0x1d8063=_0x339c9b['iv'],_0x16467c=_0x339c9b[_0x1ef540(0x481)];this[_0x1ef540(0x435)]==this['_ENC_XFORM_MODE']?_0x5ce6d8=_0x16467c['createEncryptor']:(_0x5ce6d8=_0x16467c[_0x1ef540(0x1c7)],this[_0x1ef540(0x32b)]=0x1),this['_mode']&&this[_0x1ef540(0x477)][_0x1ef540(0x202)]==_0x5ce6d8?this[_0x1ef540(0x477)][_0x1ef540(0x46a)](this,_0x1d8063&&_0x1d8063['words']):(this[_0x1ef540(0x477)]=_0x5ce6d8[_0x1ef540(0x2c2)](_0x16467c,this,_0x1d8063&&_0x1d8063[_0x1ef540(0x57a)]),this[_0x1ef540(0x477)]['__creator']=_0x5ce6d8);},'_doProcessBlock':function(_0x5ef68a,_0x406e4f){const _0x24b4d5=_0x1f913a;this[_0x24b4d5(0x477)][_0x24b4d5(0x27b)](_0x5ef68a,_0x406e4f);},'_doFinalize':function(){const _0x37c0f4=_0x1f913a;var _0x4ea791,_0x3d4fbc=this['cfg']['padding'];return this['_xformMode']==this[_0x37c0f4(0x44c)]?(_0x3d4fbc[_0x37c0f4(0x4f5)](this['_data'],this['blockSize']),_0x4ea791=this[_0x37c0f4(0x588)](!0x0)):(_0x4ea791=this[_0x37c0f4(0x588)](!0x0),_0x3d4fbc['unpad'](_0x4ea791)),_0x4ea791;},'blockSize':0x80/0x20});var _0x594120=_0x87e5e0[_0x1f913a(0x380)]=_0x561480[_0x1f913a(0x453)]({'init':function(_0xec5758){this['mixIn'](_0xec5758);},'toString':function(_0x2137c5){const _0x10b232=_0x1f913a;return(_0x2137c5||this[_0x10b232(0x44d)])[_0x10b232(0x4fa)](this);}}),_0x559eab=_0x17b3e4[_0x1f913a(0x50c)]={},_0x44def0=_0x559eab[_0x1f913a(0x59b)]={'stringify':function(_0x4dc053){const _0xe4357b=_0x1f913a;var _0x24fe0a,_0x307419=_0x4dc053[_0xe4357b(0x393)],_0x352e28=_0x4dc053['salt'];return _0x352e28?_0x24fe0a=_0x1f5013[_0xe4357b(0x398)]([0x53616c74,0x65645f5f])[_0xe4357b(0x351)](_0x352e28)[_0xe4357b(0x351)](_0x307419):_0x24fe0a=_0x307419,_0x24fe0a['toString'](_0x280254);},'parse':function(_0x41295d){const _0x297c8b=_0x1f913a;var _0x11b82e,_0x39b5f4=_0x280254[_0x297c8b(0x4da)](_0x41295d),_0x29b7c7=_0x39b5f4[_0x297c8b(0x57a)];return _0x29b7c7[0x0]==0x53616c74&&_0x29b7c7[0x1]==0x65645f5f&&(_0x11b82e=_0x1f5013['create'](_0x29b7c7[_0x297c8b(0x3ca)](0x2,0x4)),_0x29b7c7[_0x297c8b(0x1ab)](0x0,0x4),_0x39b5f4['sigBytes']-=0x10),_0x594120[_0x297c8b(0x398)]({'ciphertext':_0x39b5f4,'salt':_0x11b82e});}},_0x288ed=_0x87e5e0['SerializableCipher']=_0x561480[_0x1f913a(0x453)]({'cfg':_0x561480['extend']({'format':_0x44def0}),'encrypt':function(_0x31f11d,_0x566da2,_0x39adea,_0x2f077f){const _0x4b076f=_0x1f913a;_0x2f077f=this[_0x4b076f(0x1c3)][_0x4b076f(0x453)](_0x2f077f);var _0xc53082=_0x31f11d[_0x4b076f(0x591)](_0x39adea,_0x2f077f),_0xba45b7=_0xc53082[_0x4b076f(0x3c9)](_0x566da2),_0x2e6411=_0xc53082['cfg'];return _0x594120[_0x4b076f(0x398)]({'ciphertext':_0xba45b7,'key':_0x39adea,'iv':_0x2e6411['iv'],'algorithm':_0x31f11d,'mode':_0x2e6411[_0x4b076f(0x481)],'padding':_0x2e6411[_0x4b076f(0x4c3)],'blockSize':_0x31f11d[_0x4b076f(0x3fa)],'formatter':_0x2f077f['format']});},'decrypt':function(_0x4311f6,_0x4d0812,_0x1caf7c,_0x10aab3){const _0x50b946=_0x1f913a;_0x10aab3=this[_0x50b946(0x1c3)][_0x50b946(0x453)](_0x10aab3),_0x4d0812=this[_0x50b946(0x2dd)](_0x4d0812,_0x10aab3[_0x50b946(0x50c)]);var _0x30946d=_0x4311f6['createDecryptor'](_0x1caf7c,_0x10aab3)[_0x50b946(0x3c9)](_0x4d0812[_0x50b946(0x393)]);return _0x30946d;},'_parse':function(_0x1da3d4,_0xc7a4d){const _0x46f1be=_0x1f913a;return typeof _0x1da3d4==_0x46f1be(0x258)?_0xc7a4d[_0x46f1be(0x4da)](_0x1da3d4,this):_0x1da3d4;}}),_0xc149fd=_0x17b3e4[_0x1f913a(0x268)]={},_0xe6418a=_0xc149fd[_0x1f913a(0x59b)]={'execute':function(_0x2d9172,_0x7a0fac,_0x3746b3,_0x2636e9,_0x5be4a9){const _0x424ddb=_0x1f913a;if(_0x2636e9||(_0x2636e9=_0x1f5013[_0x424ddb(0x36d)](0x40/0x8)),_0x5be4a9)var _0x2192ce=_0x33ba5f[_0x424ddb(0x398)]({'keySize':_0x7a0fac+_0x3746b3,'hasher':_0x5be4a9})['compute'](_0x2d9172,_0x2636e9);else var _0x2192ce=_0x33ba5f[_0x424ddb(0x398)]({'keySize':_0x7a0fac+_0x3746b3})[_0x424ddb(0x2b8)](_0x2d9172,_0x2636e9);var _0x51f1b9=_0x1f5013['create'](_0x2192ce[_0x424ddb(0x57a)][_0x424ddb(0x3ca)](_0x7a0fac),_0x3746b3*0x4);return _0x2192ce['sigBytes']=_0x7a0fac*0x4,_0x594120[_0x424ddb(0x398)]({'key':_0x2192ce,'iv':_0x51f1b9,'salt':_0x2636e9});}},_0x4c8314=_0x87e5e0[_0x1f913a(0x3c7)]=_0x288ed[_0x1f913a(0x453)]({'cfg':_0x288ed[_0x1f913a(0x1c3)][_0x1f913a(0x453)]({'kdf':_0xe6418a}),'encrypt':function(_0x14bfd4,_0x2c4f86,_0x27ed67,_0x1454a4){const _0x5000d2=_0x1f913a;_0x1454a4=this[_0x5000d2(0x1c3)][_0x5000d2(0x453)](_0x1454a4);var _0x515dad=_0x1454a4[_0x5000d2(0x268)][_0x5000d2(0x4ea)](_0x27ed67,_0x14bfd4['keySize'],_0x14bfd4[_0x5000d2(0x443)],_0x1454a4['salt'],_0x1454a4['hasher']);_0x1454a4['iv']=_0x515dad['iv'];var _0x49cf3e=_0x288ed[_0x5000d2(0x460)]['call'](this,_0x14bfd4,_0x2c4f86,_0x515dad['key'],_0x1454a4);return _0x49cf3e['mixIn'](_0x515dad),_0x49cf3e;},'decrypt':function(_0x589dbc,_0xb55878,_0x806bc6,_0x17d9bc){const _0x56f950=_0x1f913a;_0x17d9bc=this[_0x56f950(0x1c3)][_0x56f950(0x453)](_0x17d9bc),_0xb55878=this[_0x56f950(0x2dd)](_0xb55878,_0x17d9bc[_0x56f950(0x50c)]);var _0x40f767=_0x17d9bc[_0x56f950(0x268)][_0x56f950(0x4ea)](_0x806bc6,_0x589dbc['keySize'],_0x589dbc[_0x56f950(0x443)],_0xb55878['salt'],_0x17d9bc[_0x56f950(0x1f3)]);_0x17d9bc['iv']=_0x40f767['iv'];var _0x535df8=_0x288ed[_0x56f950(0x46c)]['call'](this,_0x589dbc,_0xb55878,_0x40f767['key'],_0x17d9bc);return _0x535df8;}});}();}));}(qt)),qt[_0x2723f3(0x570)];}(function(_0x1f6528,_0x43f971){(function(_0x52b807,_0x25fd65,_0x9a764a){_0x1f6528['exports']=_0x25fd65(ue(),Bi(),Ha(),ki(),Wi());}(Z,function(_0x2dffcd){const _0x5320b3=_0x1083;return(function(){const _0x3647aa=_0x1083;var _0x345e41=_0x2dffcd,_0x7104b=_0x345e41[_0x3647aa(0x389)],_0x4e631e=_0x7104b[_0x3647aa(0x48a)],_0x244c11=_0x345e41[_0x3647aa(0x3d2)],_0x352bd7=[],_0x1b7bfe=[],_0x4df7cf=[],_0x175f43=[],_0x2238df=[],_0x165a5f=[],_0xce033=[],_0x5c9a17=[],_0x25bee2=[],_0x1a520c=[];(function(){for(var _0x5a7569=[],_0x1b8770=0x0;_0x1b8770<0x100;_0x1b8770++)_0x1b8770<0x80?_0x5a7569[_0x1b8770]=_0x1b8770<<0x1:_0x5a7569[_0x1b8770]=_0x1b8770<<0x1^0x11b;for(var _0x26fae8=0x0,_0x45b334=0x0,_0x1b8770=0x0;_0x1b8770<0x100;_0x1b8770++){var _0x6a3701=_0x45b334^_0x45b334<<0x1^_0x45b334<<0x2^_0x45b334<<0x3^_0x45b334<<0x4;_0x6a3701=_0x6a3701>>>0x8^_0x6a3701&0xff^0x63,_0x352bd7[_0x26fae8]=_0x6a3701,_0x1b7bfe[_0x6a3701]=_0x26fae8;var _0x2033ac=_0x5a7569[_0x26fae8],_0x3d142c=_0x5a7569[_0x2033ac],_0x5d34ef=_0x5a7569[_0x3d142c],_0x1da65c=_0x5a7569[_0x6a3701]*0x101^_0x6a3701*0x1010100;_0x4df7cf[_0x26fae8]=_0x1da65c<<0x18|_0x1da65c>>>0x8,_0x175f43[_0x26fae8]=_0x1da65c<<0x10|_0x1da65c>>>0x10,_0x2238df[_0x26fae8]=_0x1da65c<<0x8|_0x1da65c>>>0x18,_0x165a5f[_0x26fae8]=_0x1da65c;var _0x1da65c=_0x5d34ef*0x1010101^_0x3d142c*0x10001^_0x2033ac*0x101^_0x26fae8*0x1010100;_0xce033[_0x6a3701]=_0x1da65c<<0x18|_0x1da65c>>>0x8,_0x5c9a17[_0x6a3701]=_0x1da65c<<0x10|_0x1da65c>>>0x10,_0x25bee2[_0x6a3701]=_0x1da65c<<0x8|_0x1da65c>>>0x18,_0x1a520c[_0x6a3701]=_0x1da65c,_0x26fae8?(_0x26fae8=_0x2033ac^_0x5a7569[_0x5a7569[_0x5a7569[_0x5d34ef^_0x2033ac]]],_0x45b334^=_0x5a7569[_0x5a7569[_0x45b334]]):_0x26fae8=_0x45b334=0x1;}}());var _0x32b644=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xaade09=_0x244c11['AES']=_0x4e631e['extend']({'_doReset':function(){const _0x144c1f=_0x3647aa;var _0x53a747;if(!(this[_0x144c1f(0x4bd)]&&this[_0x144c1f(0x599)]===this[_0x144c1f(0x2e0)])){for(var _0x91683a=this[_0x144c1f(0x599)]=this[_0x144c1f(0x2e0)],_0xd77d1c=_0x91683a['words'],_0x5112bc=_0x91683a[_0x144c1f(0x45d)]/0x4,_0x4990e1=this[_0x144c1f(0x4bd)]=_0x5112bc+0x6,_0x72fae2=(_0x4990e1+0x1)*0x4,_0x27bc8f=this['_keySchedule']=[],_0x4cd91d=0x0;_0x4cd91d<_0x72fae2;_0x4cd91d++)_0x4cd91d<_0x5112bc?_0x27bc8f[_0x4cd91d]=_0xd77d1c[_0x4cd91d]:(_0x53a747=_0x27bc8f[_0x4cd91d-0x1],_0x4cd91d%_0x5112bc?_0x5112bc>0x6&&_0x4cd91d%_0x5112bc==0x4&&(_0x53a747=_0x352bd7[_0x53a747>>>0x18]<<0x18|_0x352bd7[_0x53a747>>>0x10&0xff]<<0x10|_0x352bd7[_0x53a747>>>0x8&0xff]<<0x8|_0x352bd7[_0x53a747&0xff]):(_0x53a747=_0x53a747<<0x8|_0x53a747>>>0x18,_0x53a747=_0x352bd7[_0x53a747>>>0x18]<<0x18|_0x352bd7[_0x53a747>>>0x10&0xff]<<0x10|_0x352bd7[_0x53a747>>>0x8&0xff]<<0x8|_0x352bd7[_0x53a747&0xff],_0x53a747^=_0x32b644[_0x4cd91d/_0x5112bc|0x0]<<0x18),_0x27bc8f[_0x4cd91d]=_0x27bc8f[_0x4cd91d-_0x5112bc]^_0x53a747);for(var _0x3c80a9=this[_0x144c1f(0x1c9)]=[],_0x3fe265=0x0;_0x3fe265<_0x72fae2;_0x3fe265++){var _0x4cd91d=_0x72fae2-_0x3fe265;if(_0x3fe265%0x4)var _0x53a747=_0x27bc8f[_0x4cd91d];else var _0x53a747=_0x27bc8f[_0x4cd91d-0x4];_0x3fe265<0x4||_0x4cd91d<=0x4?_0x3c80a9[_0x3fe265]=_0x53a747:_0x3c80a9[_0x3fe265]=_0xce033[_0x352bd7[_0x53a747>>>0x18]]^_0x5c9a17[_0x352bd7[_0x53a747>>>0x10&0xff]]^_0x25bee2[_0x352bd7[_0x53a747>>>0x8&0xff]]^_0x1a520c[_0x352bd7[_0x53a747&0xff]];}}},'encryptBlock':function(_0x345ec8,_0x40fc74){const _0x460985=_0x3647aa;this[_0x460985(0x337)](_0x345ec8,_0x40fc74,this[_0x460985(0x590)],_0x4df7cf,_0x175f43,_0x2238df,_0x165a5f,_0x352bd7);},'decryptBlock':function(_0x28c4a4,_0x3d8db2){const _0x1ae455=_0x3647aa;var _0x10a90d=_0x28c4a4[_0x3d8db2+0x1];_0x28c4a4[_0x3d8db2+0x1]=_0x28c4a4[_0x3d8db2+0x3],_0x28c4a4[_0x3d8db2+0x3]=_0x10a90d,this[_0x1ae455(0x337)](_0x28c4a4,_0x3d8db2,this[_0x1ae455(0x1c9)],_0xce033,_0x5c9a17,_0x25bee2,_0x1a520c,_0x1b7bfe);var _0x10a90d=_0x28c4a4[_0x3d8db2+0x1];_0x28c4a4[_0x3d8db2+0x1]=_0x28c4a4[_0x3d8db2+0x3],_0x28c4a4[_0x3d8db2+0x3]=_0x10a90d;},'_doCryptBlock':function(_0x6b1cd9,_0x26ec1a,_0x4f79cd,_0x4e31bb,_0x4811de,_0x2cbccb,_0x597f52,_0x11b508){const _0x1e033e=_0x3647aa;for(var _0x3be4fa=this[_0x1e033e(0x4bd)],_0x1d481f=_0x6b1cd9[_0x26ec1a]^_0x4f79cd[0x0],_0x2b9dce=_0x6b1cd9[_0x26ec1a+0x1]^_0x4f79cd[0x1],_0x51b9ab=_0x6b1cd9[_0x26ec1a+0x2]^_0x4f79cd[0x2],_0x23079a=_0x6b1cd9[_0x26ec1a+0x3]^_0x4f79cd[0x3],_0x58aee1=0x4,_0x502b99=0x1;_0x502b99<_0x3be4fa;_0x502b99++){var _0x500a68=_0x4e31bb[_0x1d481f>>>0x18]^_0x4811de[_0x2b9dce>>>0x10&0xff]^_0x2cbccb[_0x51b9ab>>>0x8&0xff]^_0x597f52[_0x23079a&0xff]^_0x4f79cd[_0x58aee1++],_0x4e4849=_0x4e31bb[_0x2b9dce>>>0x18]^_0x4811de[_0x51b9ab>>>0x10&0xff]^_0x2cbccb[_0x23079a>>>0x8&0xff]^_0x597f52[_0x1d481f&0xff]^_0x4f79cd[_0x58aee1++],_0x40c1ad=_0x4e31bb[_0x51b9ab>>>0x18]^_0x4811de[_0x23079a>>>0x10&0xff]^_0x2cbccb[_0x1d481f>>>0x8&0xff]^_0x597f52[_0x2b9dce&0xff]^_0x4f79cd[_0x58aee1++],_0x439b39=_0x4e31bb[_0x23079a>>>0x18]^_0x4811de[_0x1d481f>>>0x10&0xff]^_0x2cbccb[_0x2b9dce>>>0x8&0xff]^_0x597f52[_0x51b9ab&0xff]^_0x4f79cd[_0x58aee1++];_0x1d481f=_0x500a68,_0x2b9dce=_0x4e4849,_0x51b9ab=_0x40c1ad,_0x23079a=_0x439b39;}var _0x500a68=(_0x11b508[_0x1d481f>>>0x18]<<0x18|_0x11b508[_0x2b9dce>>>0x10&0xff]<<0x10|_0x11b508[_0x51b9ab>>>0x8&0xff]<<0x8|_0x11b508[_0x23079a&0xff])^_0x4f79cd[_0x58aee1++],_0x4e4849=(_0x11b508[_0x2b9dce>>>0x18]<<0x18|_0x11b508[_0x51b9ab>>>0x10&0xff]<<0x10|_0x11b508[_0x23079a>>>0x8&0xff]<<0x8|_0x11b508[_0x1d481f&0xff])^_0x4f79cd[_0x58aee1++],_0x40c1ad=(_0x11b508[_0x51b9ab>>>0x18]<<0x18|_0x11b508[_0x23079a>>>0x10&0xff]<<0x10|_0x11b508[_0x1d481f>>>0x8&0xff]<<0x8|_0x11b508[_0x2b9dce&0xff])^_0x4f79cd[_0x58aee1++],_0x439b39=(_0x11b508[_0x23079a>>>0x18]<<0x18|_0x11b508[_0x1d481f>>>0x10&0xff]<<0x10|_0x11b508[_0x2b9dce>>>0x8&0xff]<<0x8|_0x11b508[_0x51b9ab&0xff])^_0x4f79cd[_0x58aee1++];_0x6b1cd9[_0x26ec1a]=_0x500a68,_0x6b1cd9[_0x26ec1a+0x1]=_0x4e4849,_0x6b1cd9[_0x26ec1a+0x2]=_0x40c1ad,_0x6b1cd9[_0x26ec1a+0x3]=_0x439b39;},'keySize':0x100/0x20});_0x345e41[_0x3647aa(0x59d)]=_0x4e631e['_createHelper'](_0xaade09);}()),_0x2dffcd[_0x5320b3(0x59d)];}));}(ji));var ka=ji['exports'];const Wa=at(ka);var Fa=Bi();const ii=at(Fa);function _0x1083(_0x5aadcb,_0x33303b){const _0x44e8d3=_0x44e8();return _0x1083=function(_0x108362,_0x262b83){_0x108362=_0x108362-0x18e;let _0x450326=_0x44e8d3[_0x108362];return _0x450326;},_0x1083(_0x5aadcb,_0x33303b);}var Fi={'exports':{}};(function(_0x2be647,_0x3d9e14){(function(_0x3c10f7,_0x296446){_0x2be647['exports']=_0x296446(ue());}(Z,function(_0x3c4590){const _0x1d902b=_0x1083;return _0x3c4590[_0x1d902b(0x29f)][_0x1d902b(0x30e)];}));}(Fi));var Va=Fi[_0x3d192e(0x570)];const Ga=at(Va);var Vi={'exports':{}};(function(_0x285f44,_0x5ced57){(function(_0x2b8c9a,_0x45d464){const _0x166322=_0x1083;_0x285f44[_0x166322(0x570)]=_0x45d464(ue());}(Z,function(_0x5d8a93){const _0x519ee3=_0x1083;return(function(){const _0x186fca=_0x1083;if(typeof ArrayBuffer==_0x186fca(0x3c5)){var _0x36c401=_0x5d8a93,_0x43b19d=_0x36c401[_0x186fca(0x389)],_0x544e2f=_0x43b19d[_0x186fca(0x35d)],_0x4c071c=_0x544e2f[_0x186fca(0x46a)],_0x5225e8=_0x544e2f['init']=function(_0x44f948){const _0x167a54=_0x186fca;if(_0x44f948 instanceof ArrayBuffer&&(_0x44f948=new Uint8Array(_0x44f948)),(_0x44f948 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x44f948 instanceof Uint8ClampedArray||_0x44f948 instanceof Int16Array||_0x44f948 instanceof Uint16Array||_0x44f948 instanceof Int32Array||_0x44f948 instanceof Uint32Array||_0x44f948 instanceof Float32Array||_0x44f948 instanceof Float64Array)&&(_0x44f948=new Uint8Array(_0x44f948['buffer'],_0x44f948['byteOffset'],_0x44f948['byteLength'])),_0x44f948 instanceof Uint8Array){for(var _0x1af258=_0x44f948[_0x167a54(0x218)],_0x4fc73b=[],_0x38e6f2=0x0;_0x38e6f2<_0x1af258;_0x38e6f2++)_0x4fc73b[_0x38e6f2>>>0x2]|=_0x44f948[_0x38e6f2]<<0x18-_0x38e6f2%0x4*0x8;_0x4c071c[_0x167a54(0x2c2)](this,_0x4fc73b,_0x1af258);}else _0x4c071c[_0x167a54(0x539)](this,arguments);};_0x5225e8['prototype']=_0x544e2f;}}()),_0x5d8a93[_0x519ee3(0x389)][_0x519ee3(0x35d)];}));}(Vi));var Ya=Vi[_0x3d192e(0x570)];const Ka=at(Ya);var Gi={'exports':{}};(function(_0xa64e94,_0x35b3f7){(function(_0x525884,_0x1aa30e,_0x554ef1){_0xa64e94['exports']=_0x1aa30e(ue(),Wi());}(Z,function(_0x3d036c){const _0x139cb5=_0x1083;return _0x3d036c[_0x139cb5(0x4f5)][_0x139cb5(0x1d4)]={'pad':function(){},'unpad':function(){}},_0x3d036c['pad']['NoPadding'];}));}(Gi));var za=Gi[_0x3d192e(0x570)];const qa=at(za);function Xa(_0x4c7c71,_0x501c7a){const _0x4b7096=_0x3d192e,_0x253dd2=_0x501c7a-_0x4c7c71['length']%_0x501c7a,_0x2de5ec=String['fromCharCode'](_0x253dd2)[_0x4b7096(0x54f)](_0x253dd2);return _0x4c7c71+_0x2de5ec;}function Ja(_0x393c64,_0x5a17da){const _0x7b02d3=_0x3d192e,_0x47ad43=Ka[_0x7b02d3(0x36d)](0x10),_0x39e8a3=Xa(_0x393c64,0x10),_0x5394d8=Wa['encrypt'](Ga[_0x7b02d3(0x4da)](_0x39e8a3),ii[_0x7b02d3(0x4da)](_0x5a17da),{'iv':_0x47ad43,'padding':qa});return _0x47ad43['concat'](_0x5394d8[_0x7b02d3(0x393)])[_0x7b02d3(0x504)](ii);}function Za(){const _0x1277b2=_0x3d192e,_0x3d8030=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1277b2(0x2fc)];if(_0x3d8030){const _0x19e9a6={'time':Math['floor'](Date[_0x1277b2(0x30c)]()/0x3e8),'domain':location['hostname']};return Ja(JSON[_0x1277b2(0x4fa)](_0x19e9a6),_0x3d8030);}}var Qa=Object[_0x3d192e(0x494)],ec=Object[_0x3d192e(0x3e5)],tc=(_0x391fc7,_0x154c6d,_0x56c77f,_0x30125f)=>{const _0x39dcdc=_0x3d192e;for(var _0x31898f=_0x30125f>0x1?void 0x0:_0x30125f?ec(_0x154c6d,_0x56c77f):_0x154c6d,_0x5debb1=_0x391fc7[_0x39dcdc(0x4e9)]-0x1,_0x386264;_0x5debb1>=0x0;_0x5debb1--)(_0x386264=_0x391fc7[_0x5debb1])&&(_0x31898f=(_0x30125f?_0x386264(_0x154c6d,_0x56c77f,_0x31898f):_0x386264(_0x31898f))||_0x31898f);return _0x30125f&&_0x31898f&&Qa(_0x154c6d,_0x56c77f,_0x31898f),_0x31898f;},sc=(_0x553c81,_0x44c3a8)=>(_0x53fcf6,_0x4213eb)=>_0x44c3a8(_0x53fcf6,_0x4213eb,_0x553c81);let Tt=class{constructor(_0x3e7eb2){const _0x19eb6c=_0x3d192e;this[_0x19eb6c(0x22f)]=_0x3e7eb2,this[_0x19eb6c(0x251)]();}[_0x3d192e(0x251)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2c7012,_0x2e44e9)=>{const _0x15ad54=_0x1083,_0x2484d3=_0x2c7012[_0x15ad54(0x381)],_0x32ead6=Za();return _0x32ead6&&_0x2484d3[_0x15ad54(0x467)](_0x15ad54(0x219),_0x32ead6),_0x2e44e9(_0x2c7012);}});}};Tt=tc([sc(0x0,_0x435342(_0x280c50))],Tt);var ic=Object[_0x3d192e(0x494)],nc=Object[_0x3d192e(0x3e5)],rc=(_0x5b1dbe,_0x3e6eac,_0x53a1cb,_0x4a5754)=>{const _0x161d9e=_0x3d192e;for(var _0x145e47=_0x4a5754>0x1?void 0x0:_0x4a5754?nc(_0x3e6eac,_0x53a1cb):_0x3e6eac,_0x21aa40=_0x5b1dbe[_0x161d9e(0x4e9)]-0x1,_0x2b7470;_0x21aa40>=0x0;_0x21aa40--)(_0x2b7470=_0x5b1dbe[_0x21aa40])&&(_0x145e47=(_0x4a5754?_0x2b7470(_0x3e6eac,_0x53a1cb,_0x145e47):_0x2b7470(_0x145e47))||_0x145e47);return _0x4a5754&&_0x145e47&&ic(_0x3e6eac,_0x53a1cb,_0x145e47),_0x145e47;},Xt=(_0x2cf5bf,_0x12035f)=>(_0x5f2142,_0x4ba004)=>_0x12035f(_0x5f2142,_0x4ba004,_0x2cf5bf);const oc=[_0x3d192e(0x4f9),_0x3d192e(0x544),_0x3d192e(0x45a),_0x3d192e(0x2a2),_0x3d192e(0x410)],ac=0x5*0x400*0x400,cc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',hc=_0x3d192e(0x1ef),lc=_0x3d192e(0x406),_c=_0x3d192e(0x51c);let hs=class{constructor(_0x330ef4,_0x52b1d9,_0x5db99f){const _0x10e385=_0x3d192e;g(this,_0x10e385(0x53d),0x0),g(this,'_change$',new _0x276b38()),g(this,_0x10e385(0x54d),this[_0x10e385(0x4b1)]),g(this,_0x10e385(0x30a),new Map()),(this[_0x10e385(0x22f)]=_0x330ef4,this[_0x10e385(0x295)]=_0x52b1d9,this[_0x10e385(0x43d)]=_0x5db99f);}[_0x3d192e(0x45b)](_0x4904ee){const _0x4a7292=_0x3d192e;this['_waitCount']=_0x4904ee,this[_0x4a7292(0x4b1)][_0x4a7292(0x4bc)](_0x4904ee);}['getImageSourceCache'](_0x565c8c,_0x1837dc){const _0x5e58a3=_0x3d192e;if(_0x1837dc===_0x1be8f3[_0x5e58a3(0x3de)]){const _0x4a96cc=new Image();return _0x4a96cc[_0x5e58a3(0x204)]=_0x565c8c,_0x4a96cc;}return this['_imageSourceCache'][_0x5e58a3(0x47d)](_0x565c8c);}[_0x3d192e(0x579)](_0x2a9acc,_0x40aa71,_0x26c12b){_0x40aa71===_0x1be8f3['BASE64']||_0x26c12b==null||this['_imageSourceCache']['set'](_0x2a9acc,_0x26c12b);}async['getImage'](_0x402462){const _0x271623=_0x3d192e;try{const _0xd36de6=this[_0x271623(0x1eb)](this[_0x271623(0x2b1)](),''+_0x402462),_0x18c251=(await this[_0x271623(0x22f)][_0x271623(0x47d)](_0xd36de6))[_0x271623(0x2bc)];if(_0x18c251[_0x271623(0x4f4)]&&_0x18c251[_0x271623(0x4f4)][_0x271623(0x276)]===Ri['OK']){const _0x5255bb=new URL(_0x18c251['url'],this[_0x271623(0x4a2)]())[_0x271623(0x504)]();return Promise[_0x271623(0x1b8)](_0x5255bb);}return Promise['reject'](_0x18c251[_0x271623(0x4f4)]);}catch(_0x5116e1){return Promise['reject'](_0x5116e1);}}async[_0x3d192e(0x341)](_0x31e01c){const _0x2bb7df=_0x3d192e;let _0x4d74a2='';if(!oc[_0x2bb7df(0x508)](_0x31e01c[_0x2bb7df(0x34e)]))return this[_0x2bb7df(0x4de)](),Promise[_0x2bb7df(0x19f)](new Error(_0x2e29de[_0x2bb7df(0x233)]));if(_0x31e01c[_0x2bb7df(0x549)]>ac)return this[_0x2bb7df(0x4de)](),Promise[_0x2bb7df(0x19f)](new Error(_0x2e29de[_0x2bb7df(0x1af)]));try{const _0x119358=new FormData();_0x119358[_0x2bb7df(0x4eb)](_0x2bb7df(0x1cc),_0x31e01c);const _0x4853f8=this[_0x2bb7df(0x43d)][_0x2bb7df(0x29a)](),_0x12fd34=_0x4853f8==null?void 0x0:_0x4853f8[_0x2bb7df(0x2c1)]();if(!_0x12fd34)throw new Error(_0x2bb7df(0x40c));const _0x55987e=this[_0x2bb7df(0x497)]()+_0x2bb7df(0x4bf)+_0x31e01c['size']['toString']()+_0x2bb7df(0x40d)+yi[_0x2bb7df(0x2be)]+_0x2bb7df(0x301)+encodeURIComponent(_0x12fd34),_0x3b4406=await(await fetch(_0x55987e,{'method':_0x2bb7df(0x3b9),'body':_0x119358}))[_0x2bb7df(0x27f)]();if(typeof _0x3b4406['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x2bb7df(0x19f)](new Error(_0x2e29de[_0x2bb7df(0x2c5)]));_0x4d74a2=_0x3b4406['FileId'];}catch{return this[_0x2bb7df(0x4de)](),Promise[_0x2bb7df(0x19f)](new Error(_0x2e29de['ERROR_IMAGE']));}return new Promise((_0x5c2034,_0x25d85c)=>{const _0x752ec5=_0x2bb7df,_0x284b7d=new FileReader();_0x284b7d['readAsDataURL'](_0x31e01c),_0x284b7d[_0x752ec5(0x4b2)]=_0x3b5ab6=>{const _0x5ea529=_0x752ec5;var _0x1c1d0b;const _0x5045d6=(_0x1c1d0b=_0x3b5ab6['target'])==null?void 0x0:_0x1c1d0b[_0x5ea529(0x554)];if(_0x5045d6==null){this['_decreaseWaiting'](),_0x25d85c(new Error(_0x2e29de[_0x5ea529(0x2c5)]));return;}const _0x39f0c8=_0x28e921['generateRandomId'](0x6);_0x5c2034({'imageId':_0x39f0c8,'imageSourceType':_0x1be8f3[_0x5ea529(0x445)],'source':_0x4d74a2,'base64Cache':_0x5045d6,'status':_0x2e29de[_0x5ea529(0x4be)]}),this['_decreaseWaiting']();};});}[_0x3d192e(0x497)](){const _0x22e3ab=_0x3d192e;var _0x1896de,_0x1b5b89;const _0x552a09=this[_0x22e3ab(0x295)][_0x22e3ab(0x1aa)](cc),_0x262568=this[_0x22e3ab(0x295)][_0x22e3ab(0x1aa)](ie);return(_0x1b5b89=(_0x1896de=_0x262568==null?void 0x0:_0x262568[_0x22e3ab(0x2a8)])!=null?_0x1896de:_0x552a09)!=null?_0x1b5b89:hc;}['_getSignURL'](){const _0x52efd9=_0x3d192e;var _0x1b7b12,_0x293363;const _0x12f92a=this[_0x52efd9(0x295)][_0x52efd9(0x1aa)](lc),_0x2d485b=this[_0x52efd9(0x295)]['getConfig'](ie);return(_0x293363=(_0x1b7b12=_0x2d485b==null?void 0x0:_0x2d485b['signUrlServerUrl'])!=null?_0x1b7b12:_0x12f92a)!=null?_0x293363:_c;}[_0x3d192e(0x4a2)](){const _0x1ab0ab=_0x3d192e;var _0x342f87;const _0x234995=this[_0x1ab0ab(0x295)][_0x1ab0ab(0x1aa)](ie);return(_0x342f87=_0x234995==null?void 0x0:_0x234995[_0x1ab0ab(0x5a0)])!=null?_0x342f87:location['origin'];}[_0x3d192e(0x1eb)](_0x54f3bb,_0x1a534c){const _0x42fc70=_0x3d192e;return _0x54f3bb[_0x42fc70(0x294)](_0x42fc70(0x464),_0x1a534c);}[_0x3d192e(0x4de)](){const _0x2dca9c=_0x3d192e;this[_0x2dca9c(0x53d)]-=0x1,this[_0x2dca9c(0x4b1)][_0x2dca9c(0x4bc)](this[_0x2dca9c(0x53d)]);}};hs=rc([Xt(0x0,_0x435342(_0x280c50)),Xt(0x1,_0x1b2eff),Xt(0x2,_0x435342(_0x405019))],hs);var uc=Object['defineProperty'],dc=Object[_0x3d192e(0x3e5)],fc=(_0x41bdd2,_0x309ab9,_0x28a451,_0x55d570)=>{const _0x3b7a37=_0x3d192e;for(var _0x37855c=_0x55d570>0x1?void 0x0:_0x55d570?dc(_0x309ab9,_0x28a451):_0x309ab9,_0xd0de30=_0x41bdd2[_0x3b7a37(0x4e9)]-0x1,_0x318b5f;_0xd0de30>=0x0;_0xd0de30--)(_0x318b5f=_0x41bdd2[_0xd0de30])&&(_0x37855c=(_0x55d570?_0x318b5f(_0x309ab9,_0x28a451,_0x37855c):_0x318b5f(_0x37855c))||_0x37855c);return _0x55d570&&_0x37855c&&uc(_0x309ab9,_0x28a451,_0x37855c),_0x37855c;},Qe=(_0x3f8d9a,_0xa67121)=>(_0x29b3dc,_0xb33d6a)=>_0xa67121(_0x29b3dc,_0xb33d6a,_0x3f8d9a);let Rt=class extends _0x10cb26{constructor(_0x346f0a,_0x9faaad,_0x58b1bf,_0x2b189f,_0x4bc365){const _0x54601d=_0x3d192e;super(),this[_0x54601d(0x329)]=_0x346f0a,this[_0x54601d(0x43d)]=_0x9faaad,this['_permissionService']=_0x58b1bf,this[_0x54601d(0x4ed)]=_0x2b189f,this[_0x54601d(0x32a)]=_0x4bc365,this['_initUnitPermissionChange'](),this[_0x54601d(0x482)]();}[_0x3d192e(0x482)](){const _0x40fa8e=_0x3d192e,_0x7a3078=async _0x1995cd=>{const _0x39635b=_0x1083;(await this[_0x39635b(0x4ed)][_0x39635b(0x51f)](_0x1995cd))[_0x39635b(0x513)][_0x39635b(0x407)](_0x4f86ac(_0x61cdf6=>_0x61cdf6[_0x39635b(0x1f5)]===_0x28e200[_0x39635b(0x593)]),_0x4bc87f(this[_0x39635b(0x3e1)]))[_0x39635b(0x2ce)](_0xf93d01=>{const _0x2e0f98=_0x39635b,_0x26bcbc=_0xf93d01,{reason:_0x1254e0}=_0x26bcbc[_0x2e0f98(0x383)];this[_0x2e0f98(0x329)]['get'](_0x11ef1f)['show']({'type':_0x5b8609[_0x2e0f98(0x1d0)],'content':this['_localeService']['t'](_0x2e0f98(0x1cb))+'('+_0x1254e0+')'}),this[_0x2e0f98(0x506)][_0x2e0f98(0x442)](new _0x11ffb6(_0x1995cd)['id'],!0x1),this[_0x2e0f98(0x4ed)]['closeSession'](_0x1995cd);});};_0x2eb1f5(this[_0x40fa8e(0x43d)][_0x40fa8e(0x551)](_0x1c25e8['UNIVER_SHEET']),this[_0x40fa8e(0x43d)][_0x40fa8e(0x551)](_0x1c25e8['UNIVER_DOC']))['pipe'](_0x5050a4(_0x37c354=>_0x37c354[_0x40fa8e(0x2c1)]()),_0x4f86ac(_0x239f47=>!_0x4a523d(_0x239f47)),_0x4bc87f(this[_0x40fa8e(0x3e1)]))[_0x40fa8e(0x2ce)](_0x2dce7c=>{_0x7a3078(_0x2dce7c);});}[_0x3d192e(0x33e)](){const _0x4caccf=_0x3d192e,_0xf0a4ff=async _0x5bc515=>{const _0xdb586=_0x1083;(await this[_0xdb586(0x4ed)][_0xdb586(0x51f)](_0x5bc515))['event$'][_0xdb586(0x407)](_0x4f86ac(_0x4aa855=>_0x4aa855[_0xdb586(0x1f5)]===_0x28e200[_0xdb586(0x3f9)]),_0x4bc87f(this[_0xdb586(0x3e1)]))[_0xdb586(0x2ce)](_0xfb010a=>{const _0x5eac78=_0xdb586,_0x365b48=_0xfb010a,{objectId:_0x4bee23}=_0x365b48['data'],_0x40801d=this['_injector'][_0x5eac78(0x47d)](_0x3e9ce4);_0x4bee23===_0x5bc515?_0x40801d[_0x5eac78(0x2f2)](_0x5bc515):_0x40801d[_0x5eac78(0x470)](_0x5bc515,_0x4bee23);});};_0x2eb1f5(this[_0x4caccf(0x43d)][_0x4caccf(0x551)](_0x1c25e8[_0x4caccf(0x26f)]),this[_0x4caccf(0x43d)][_0x4caccf(0x551)](_0x1c25e8['UNIVER_DOC']))['pipe'](_0x5050a4(_0x48fae7=>_0x48fae7['getUnitId']()),_0x4f86ac(_0x3dd469=>!_0x4a523d(_0x3dd469)),_0x4bc87f(this['dispose$']))[_0x4caccf(0x2ce)](_0x2299c0=>{_0xf0a4ff(_0x2299c0);});}};Rt=fc([Qe(0x0,_0x435342(_0x5a18dc)),Qe(0x1,_0x405019),Qe(0x2,_0x23a72a),Qe(0x3,_0x435342(Ae)),Qe(0x4,_0x435342(_0xef493b))],Rt);var vc=Object['defineProperty'],mc=Object['getOwnPropertyDescriptor'],pc=(_0x52d4b2,_0x487886,_0x41dbe8,_0x3b6b46)=>{const _0x5d7adf=_0x3d192e;for(var _0x1fe12a=_0x3b6b46>0x1?void 0x0:_0x3b6b46?mc(_0x487886,_0x41dbe8):_0x487886,_0x497a76=_0x52d4b2[_0x5d7adf(0x4e9)]-0x1,_0x43843b;_0x497a76>=0x0;_0x497a76--)(_0x43843b=_0x52d4b2[_0x497a76])&&(_0x1fe12a=(_0x3b6b46?_0x43843b(_0x487886,_0x41dbe8,_0x1fe12a):_0x43843b(_0x1fe12a))||_0x1fe12a);return _0x3b6b46&&_0x1fe12a&&vc(_0x487886,_0x41dbe8,_0x1fe12a),_0x1fe12a;},ni=(_0x1b421c,_0x36586f)=>(_0x5b0abd,_0x560347)=>_0x36586f(_0x5b0abd,_0x560347,_0x1b421c);let ls=class{constructor(_0x1bede0,_0x3316be){this['_configService']=_0x1bede0,this['_httpService']=_0x3316be;}async[_0x3d192e(0x4f8)](_0x48481b,_0x453b5b){const _0x2212ae=_0x3d192e;var _0x5e158d;const {unitID:_0x6e3a6,type:_0x1f2132,revision:_0x2cae79=0x0}=_0x453b5b,_0x40bc29=this[_0x2212ae(0x330)]()+'/'+_0x1f2132+_0x2212ae(0x58b)+_0x6e3a6+'/rev/'+_0x2cae79,_0x57e786=(await this['_httpService'][_0x2212ae(0x47d)](_0x40bc29))[_0x2212ae(0x2bc)],_0x241af6=(_0x5e158d=_0x57e786['snapshot'])==null?void 0x0:_0x5e158d[_0x2212ae(0x32e)];if(_0x241af6){const _0x3a81f4=_0x241af6==null?void 0x0:_0x241af6[_0x2212ae(0x523)],_0x5507cd=_0xc0d837[_0x2212ae(0x4f7)](_0x447767(_0x3a81f4));_0x241af6['originalMeta']=_0x5507cd,Object[_0x2212ae(0x1bf)](_0x241af6[_0x2212ae(0x4c7)])['forEach'](([,_0x48a1c3])=>{const _0x4bd943=_0x2212ae,_0x464735=_0x48a1c3[_0x4bd943(0x523)],_0x27a3e8=_0xc0d837['encode'](_0x447767(_0x464735));_0x48a1c3[_0x4bd943(0x523)]=_0x27a3e8;});}return _0x57e786;}async[_0x3d192e(0x373)](_0x25414d,_0x491a31){const _0x15641f=_0x3d192e,{unitID:_0x38d8dc,type:_0x33c341,blockID:_0x970ca}=_0x491a31,_0x56dc9d=this[_0x15641f(0x527)]()+'/'+_0x33c341+_0x15641f(0x58b)+_0x38d8dc+_0x15641f(0x325)+_0x970ca;return(await this[_0x15641f(0x22f)][_0x15641f(0x47d)](_0x56dc9d))['body'];}async[_0x3d192e(0x1d5)](_0x596c81,_0x32cf44){const _0x381d61=_0x3d192e,{unitID:_0x7042ec,type:_0x1d0569,blockID:_0x264571}=_0x32cf44,_0x522ee7=this[_0x381d61(0x527)]()+_0x381d61(0x325)+_0x1d0569+'/unit/'+_0x7042ec+'/block/'+_0x264571;return(await this['_httpService']['get'](_0x522ee7))['body'];}async[_0x3d192e(0x23d)](_0xf995dc,_0x2ef3af){const _0x6e2e6a=_0x3d192e,{unitID:_0x345414,type:_0x404d48,from:_0x46c9ab,to:_0x5527eb}=_0x2ef3af,_0xa021=this[_0x6e2e6a(0x527)]()+'/'+_0x404d48+_0x6e2e6a(0x58b)+_0x345414+_0x6e2e6a(0x39f)+_0x46c9ab+_0x6e2e6a(0x274)+_0x5527eb;return(await this[_0x6e2e6a(0x22f)][_0x6e2e6a(0x47d)](_0xa021))[_0x6e2e6a(0x2bc)];}[_0x3d192e(0x330)](){const _0x32c0d3=_0x3d192e;var _0x41bbab;return(_0x41bbab=this[_0x32c0d3(0x295)][_0x32c0d3(0x1aa)](ar))!=null?_0x41bbab:this[_0x32c0d3(0x527)]();}['_getAPIPrefix'](){const _0x292c49=_0x3d192e;var _0x2c103d,_0x4d5b82;const _0x407bc6=this[_0x292c49(0x295)]['getConfig'](rr),_0x232f01=this['_configService'][_0x292c49(0x1aa)](ie);return(_0x4d5b82=(_0x2c103d=_0x232f01==null?void 0x0:_0x232f01[_0x292c49(0x1fb)])!=null?_0x2c103d:_0x407bc6)!=null?_0x4d5b82:or;}async['getResourcesRequest'](_0x1df568,_0x3a01be){const _0x37dd2d=_0x3d192e,_0x1730ee=_0x37dd2d(0x4a1)+_0x3a01be[_0x37dd2d(0x34e)]+_0x37dd2d(0x58b)+_0x3a01be[_0x37dd2d(0x1dc)]+_0x37dd2d(0x353);return(await this[_0x37dd2d(0x22f)][_0x37dd2d(0x47d)](_0x1730ee,{'params':{'resourceId':JSON[_0x37dd2d(0x4fa)](_0x3a01be[_0x37dd2d(0x3c4)])}}))['body'];}[_0x3d192e(0x1e0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3d192e(0x335)](){const _0x166bb6=_0x3d192e;throw new Error(_0x166bb6(0x555));}['saveChangeset'](){const _0x2788c5=_0x3d192e;throw new Error(_0x2788c5(0x555));}[_0x3d192e(0x4ca)](){const _0x4fbffe=_0x3d192e;throw new Error(_0x4fbffe(0x555));}[_0x3d192e(0x4b8)](){const _0x5a7c64=_0x3d192e;throw new Error(_0x5a7c64(0x555));}};function _0x44e8(){const _0x4ece01=['next','_nRounds','SUCCUSS','?size=','UnitSnapshot','_onRemoteRetry','_hasher','padding','_cursorInfo$','setItem','setAlpha','sheets','_clearUndo','engine','copyFileMeta','_changesetSessionId','[FetchMissState]','csAckEvent','_updateStatus','[SyncedState]:\x20received\x20acknowledgement.','_onFetchMissResult','unit','_getLoginPath','permissionRejEvent','_context','_memberService','_socketService','[CollaborationSession]','disableLocalCache','HELLO','parse','_getSaveTimeout','m1Prime','fetch_missing','_decreaseWaiting','off-line-single_clip0_910_343','/allowed','_selfUnitIDs','resize','_collabSessionService','_collabCursorController','FromArray','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_pendingMutations','_document','length','execute','append','clone','_collaborationSessionService','addEventListener','_themeService','transformIMECache','_onCombEvent','add','cmd','error','pad','HEARTBEAT_TIMEOUT','encode','getUnitOnRev','image/png','stringify','_startSheetCollabCursor','_scheduleCollaborationTimeoutTimer','[OfflineState]:\x20received\x20rejection.','interceptor','1024557BqUDKh','default','_loadSheet','telemetry\x20info\x20is\x20not\x20initialized','toggleOnline','toString','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_permissionService','csShouldRetryEvent','includes','COMPRESS_MUTATION_SEND','_removeClearOtherTimer','currentColor','format','_anchor','_map','crypto','error$','MD5','_lockTransition','event$','awaiting_with_pending','newCsEvent','getUnit','collab-text-anchor-','LIVESHARE_REQUEST_HOST','_shouldReportTelemetry','_localStorageService','MoveRangeCommandId','/universer-api/file/{fileID}/sign-url','with','_state','requireSession','storage','createInstance','top','originalMeta','gold400','_transformStateCache','LICENSE_EXPORT_SIZE_EXCEEDED','_getAPIPrefix','[SyncedState]:\x20received\x20rejection.','collab-rect-range-','visibilitychange','_sendHeartbeat','updateCursorEvent','setShapeProps','onCommentUpdate','UNIVER_DOC','_members','objectActions','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_onUserLeave','_clearCollaborationTimeoutTimer','_disabled','setUndoRedoMutationParamsCache','commentUpdateEvent','colorChannel1','apply','_ensureSubject','_drawAnchor','_sheetTransformSelectionsService','_waitCount','on-line-single_clip0_910_349','_startTelemetryCollaborationNewChangeset','appendMutation','...','defIds','getUnitStatus$','image/jpeg','_registerRenderDependencies','_refreshCollabCursors','mutations','values','size','leaveEvent','collabStatus.notCollab','_getSendChangesetTimeout','change$','LEAVE','repeat','startsWith','getTypeOfUnitAdded$','getCurrentSelections','_getAnchorBounding','result','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_incrementRevisionNumber','getCellPositionByOffset','_saveCache','EvpKDF','fromCharCode','subscribeEvent','createElement','univer-online','_substituteRedoStack','_onRemoteACK','_clearOtherTimers','reqId','enableSingleActiveInstanceLock','redoState','contains','attrs','_type','_onConflict','getCurrentRevOfUnit','getRangePointData','status$','CONNECTOR_DATA_TOO_LARGE','_showConflictNotification','_scheduleTimestamp','_changesetReqId','all','exports','constructor','registerOnClose','_submitChangeset','onMissedChangesetFetched','_tryReconnect','_labelPosition','_compressMutationService','endColumn','addImageSourceCache','words','registerBeforeClose','_sessionStatus$','fill','$super','univer-online-status','roomInfos','Cipher','transformMutation','[OfflineState]:\x20received\x20acknowledgement.','_roomMembers','evenodd','_createHelper','round','_process','HEARTBEAT_INTERVAL','href','/unit/','listRoles','_docTransformIMECacheService','PERMISSION_REJ','randomUUID','_keySchedule','createEncryptor','liveShareOperation','SHOULD_CLOSE_CONN','[CollaborationUndoRedoService]','LICENSE_IMPORT_SIZE_EXCEEDED','collabWebSocketUrl','transformStack\x20failed!','toggleOffline','_keyPriorReset','bind','OpenSSL','/new_changes','AES','params','setParam','downloadEndpointUrl','getRenderById','_handleEvent','_singleActiveUnitService','every','/universer-api/comb','UNIVER_SLIDE','getStateCache','_entities','_socket','_replayCachedMutations','generateRandomId','asObservable','LOGIN_URL_KEY','Base64','#fff','clearInterval','_commentService','title','Error\x20on\x20receiving\x20event','_getCtorByUniverType','_retryConnectingTimer','shouldCloseConn','reject','_getSheetObject','list','close$','fillText','prototype','_color','uni.network.url-service','arc','_eventUnsubscribe','getSheetId','getConfig','splice','_backgroundColor','sheetID','_awaitingChangeset','ERROR_EXCEED_SIZE','cursorInfo$','key','onlineStatusIcon','_retryCount','getTime','objectType','editingUnit','M0\x200H16V16H0z','resolve','transformRemoteChangeset','LIVESHARE_NEW_HOST','13417641AozuSD','join','resend','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','entries','post','Encryptor','_exhaustRemoteChangesetQueue','cfg','_removeCollabCursors','_transformUndoRedoStack','width','createDecryptor','COLLAB_WEB_SOCKET_URL','_invKeySchedule','COMPLETION_FINISHED','collaboration.closeRoom','file','[CollaborationSessionService]','updateMember','LIVESHARE_TERMINATE','Error','RECT','1em','getOffsetConfig','NoPadding','getDeserializedSheetBlock','[PendingState]:\x20received\x20acknowledgement.','conflict','_uiPartsService','update','__esModule','reconnect','unitID','decryptBlock','getUniverSheetInstance','action','saveSnapshot','color','_applyRemoteChangeset','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_candidateSocket','fetching\x20missing\x20changesets\x20from\x20','_userManagerService','setConfig','_scene','_colorIndex','override','_replaceFileID','memberID','updateOfflineData','OTHER_CLIENTS_EDITING','/universer-api/stream/file/upload','YUUMI_SUBSCRIPTION_NOT_FOUND','removeParam','removeMember','hasher','text','eventID','SEND_CHANGESET_TIMEOUT','univer-pro.collaboration-client.single-active-unit-service','Unknown\x20user','_getRedoStack','_startCollaboration','snapshotServerUrl','map','_nDataBytes','hovered','onlyLocal','saveOfflineData','UNKNOWN_CMD','__creator','INTERNAL_ERROR','src','_telemetryService','_redoStacks','_startDocCollabCursor','Warning','_onJoinRoomEvent','_init','subunit','CHANGESET_REVISION_CONFILICT','UNAUTHENTICATED','LICENSE_MAX_UNITS_EXCEEDED','onTransformSelections','clearTimeout','compose','unknown','CONFLICT','send','_sendHeartbeatTimer','lineTo','save','byteLength','x-univer-host','Decryptor','currentTheme$','_syncEditingCollabCursor','INVALID_ARGUMENT','charAt','SNAPSHOT_URL_KEY','HEARTBEAT','setStateCache','getCollabEntity','[CollaborationEntity]','_socketMessageSubscription','_transitionLocked','_getAPIPrefixPath','m2Prime','dispose','registerHTTPInterceptor','FAIL','use','_substituteUndoStack','_createInitialStateImpl','TOO_MANY_REQUESTS','_httpService','_state$','_transformRemoteChangesetByIMECache','[DataLoaderController]','ERROR_IMAGE_TYPE','univer-online-status-title','_transformSelections','deepClone','/collaborator','getAncestorScale','unshift','awaitingChangeset','_onOffline','SNAPSHOT_HAS_BEEN_REMOVED','fetchMissingChangesets','_saveTaskMap','_clearScheduledTask','selection','_docSkeletonManagerService','pluginName','_beforeCloseService','_socketReady','hidden','CHANGESET_ACK','_unlockTransition','LICENSE_DISTRO_REJECTED','_updateState','_cachedData','push','_listenToOnlineEvent','onRemoteChangeset','_DEC_XFORM_MODE','_lastPointer','_telemetryInfo','_initRequestHeader','addObject','forEach','[UniverCollaborationClientPlugin]','_roomMembers$','collaMsg','isActive','string','ENSURE_SNAPSHOT_EXECUTION','HmacMD5','_snapshotServerService','USERS_LEAVE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_cursorShapes','routeKey','updatePermissionObjEvent','encodeURIComponent','transformChangesets','_docSyncEditingCollabCursorService','_getMergeRange','div','APPLY_PERMISSION_DENIED','PENDING','kdf','focused$','onReady','searchParams','putCollaborators','_transformRemoteChangesetByStateCache','reset','UNIVER_SHEET','_clearRedo','trim','_reverseMap','SUBMIT_CHANGESET','&to=','url','code','onStarting','sessionStatus','onRemoteRej','getValue','processBlock','CBC','docStateChange$','_queuedRemoteChangesets','json','MUTATION','none','getMemberID','INGEST','ceil','skeleton','fromCollab','enableAuthServer','message$','[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.','_createInitialState','_onRefRangeChange','ranges','univerjs-icon\x20univerjs-icon-','_send','randomBytes','unsubscribe','location','_sheetSkeletonManagerService','_unitID','replace','_configService','_handleLeaveEvent','unload','OnLineSingle','collaboration-client.config','getFocusedUnit','_handleJoinEvent','sessionStatus$','_getUndoStack','_iKey','enc','registerRefRange','children','image/gif','onMissingChangesets','_heartbeatTimer','requestParams','_handleHeartbeatEvent','_http','uploadFileServerUrl','CHANGESET_SHOULD_RETRY','transformStateCache','_schedule','onRemoteRetry','xlink:href','not_collab','HMAC','\x20-\x20','_getSignURL','fillRule','_isPermissionRej','allowed','_clearLocalCache','_collabCursorState$','pending','compute','catch','_undoStacks','_executeRemoteChangeset','body','NOT_COLLAB','UnitEmbedded','_collaborationPaused','substr','getUnitId','call','ONLINE','collaboration-session-retry','ERROR_IMAGE','drawWith','makeDirty','UNIVER_UNKNOWN','_textBubble','roomMembers','debug','delete','getCurrentUser','subscribe','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','reverse','triggerDblclick','_onCursorUpdate','range','_commandService','InsertRangeMoveDownCommandId','_initResize','awaiting','ALREADY_EXISTS','COMMENT_UPDATE','_createHandler','_entityInit$','_parse','getTypeOfUnitDisposed$','_resendTimer','_key','close','_initEventListeners','UNKNOWN_CODE','capture','onPointerLeave$','transformByState','UNDEFINED','permission.content','_messageService','_acknowledgedAwaitingChangeset','conflict.title','some','_append','off-line-single','name','_data','_checkMissing','initWorkbookPermissionChange','YUUMI_RATE_OVER_LIMIT','LOCAL_CACHE_INTERVAL','_render','getRoom','disposeWithMe','getDocRanges','USERS_ENTER','conflict.content','_hovered','__Key__','find','_colorAssignService','_transformUndoredo','black','&assign=','session','onTransformState','_fetchMissChangesets','path','collab-text-range-','SYNCED','InsertRangeMoveRightCommandId','current','_imageSourceCache','_joinRoom','now','_removeRoom','Utf8','RemoveRowCommandId','collabSubmitChangesetUrl','_shapes','userID','_initStatusComponent','roles','_ws','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_name','hide','_updateURLWithCurrentState','_setupBeforeClosingHandler','getCurrentUnitForType','getUndoRedoMutationParamsCache','[OfflineState]:\x20received\x20changeset.','enableLocalCache','propertyIsEnumerable','_cursors','setCurrentUser','\x0aCurrent:\x20','icon','_createSocket','/block/','[CollaborationSessionService]:\x20socket\x20error','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onlineStatusTitle','_injector','_localeService','_minBufferSize','_disableEditing','_loadDoc','workbook','mixIn','_getSnapshotAPIPrefix','_updateSubUnitFromURLParams','2251686nuBzLp','revision','_hash','saveSheetBlock','clamp','_doCryptBlock','members','roomMembers$','PERMISSION_DENIED','_clearHeartbeatTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','collaboration.single-unit.warning','_initUnitPermissionChange','registerRenderModule','startColumn','saveImage','charCodeAt','APPLY_NON_SEQUENTIAL_REVISION','AWAITING_WITH_PENDING','purple300','getActiveRange','filter','complete','Latin1','_cursor','IDLE','createSocket','_doReset','type','failed\x20to\x20apply\x20missed\x20changesets!','isArray','concat','closePath','/resources','min','_remoteChangesetQueue','onTransformIME','_toggleOnline','objectID','synced','SNAPSHOT_SERVER_URL_KEY','url(#$1','UNIVER_PROJECT','WordArray','_docTransformStateCacheService','measureText','liveShareNewHost','_renderManagerService','5aTXdCN','_instanceService','save\x20fail\x20reason\x20is\x20','_assignedColors','duration','addObjects','undoState','sid','reduce','_iv','Hex','random','_config','JOIN','_onRemoteRejected','_updateLocalCursor','_anchorDot','getSheetBlock','syncEditingCollabCursor','\x20to\x20','on-line-single','_session','Univer','hasOwnProperty','isPermissionRej','NO_OTHER_CLIENTS_EDITING','unit-cache-','getMember','_initStatusListener','_sessions','CipherParams','headers','className','data','_status$','_onUserJoin','_handleHover','getCollabEntity$','univer-offline','lib','_getCurrentRevision','getSkeleton','getUnitType','_sendingTimer','_prevBlock','confirm','getSheetBySheetId','_onConnectionFailed','getVpScrollXYInfoByPosToVp','ciphertext','collabStatus.syncing','_notificationService','DeleteRangeMoveLeftCommandId','_range','create','?url=','socketService','getWorkbookSelections','currentSkeleton$','msCrypto','open$','/fetchmissing?from=','HEADER_MENU','getCurrent','collabStatus.fetchMiss','onCommandExecuted','_scheduleSaving','collabStatus.synced','loadSheet','Hasher','_listenToOfflineEvent','_handler','backgroundColor','status','_commentUpdate$','baseRev','_toggleOffline','CHANGESET_REJ','_HTTPService','executeCommand','patch','collaboration-client.offline-data-not-saved','floor','_logService','_scheduleClearOtherTimer','url(#off-line-single_clip0_910_343)','_updateLocalCache','POST','bottom','keys','UniverIcon','COLLAB_SUBMIT_CHANGESET_URL','_undoRedoService','idSuffix','Base','onMouseMove','createCollaborator','session.will-retry','resourceIDs','function','_onRemoteChangeset','PasswordBasedCipher','indexOf','finalize','slice','sin','ws://127.0.0.1:8000/universer-api/comb/connect','_revisionService','AWAITING','socket\x20close','transformMutationsWithChangeset','NOT_FOUND','algo','_onCursorDelete','endRow','_tryEnsureSocket','_cipher','disposeUnit','translate(.97)','_timeoutTimer','RemoveColCommandId','labelPosition','restore','offline','BASE64','textRanges','url(#on-line-single_clip0_910_349)','dispose$','setActiveRange','BufferedBlockAlgorithm','_initDependencies','getOwnPropertyDescriptor','BlockCipherMode','state','APPLY_REJECT','jiqing500','fetchThroughInterceptors','_collaborationTimeoutTimer','_getScale','getParam','tag','_unitOnClients','onSendChangeset','HmacSHA1','commentUpdate$','socket$','FETCH_MISSING','/role','getActiveSheet','defs','setTimeout','UPDATE_PERMISSION_OBJ','blockSize','number','DeleteRangeMoveUpCommandId','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','OFFLINE','0\x200\x2016\x2016','submit\x20changeset\x20error!','onSyncEditingCollabCursor','APPLY_REVISION_CONFILICT','toLowerCase','_initMergeInterceptor','LIVESHARE_OPERATION','EXCHANGE_SIGN_URL_SERVER_URL_KEY','pipe','doc.mutation.rich-text-editing','_socket$','Undefined','_doProcessBlock','unitId\x20is\x20not\x20found','&source=','onlineStatus','getMergeData','image/bmp','LIVESHARE_FETCH_OPERATIONS','stopTime','whenReady','_localCacheService','put','column','SHA1','0\x200\x2017\x2016','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scheduleHeartbeat','registerComponent','1363560QgdgMR','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','replaceTextRanges','TEXT','_clearTimeoutTimer','_hover','c2Prime','UNRECOGNIZED','assignAColorForMemberID','YUUMI_UNABLE_LOAD_URL','_unitStatus','RECV','YUUMI_URL_COL_OUT_OF_RANGE','then','_collaborationController','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','collabStatus.conflict','APPLY_DUPLICATED','urlChange$','_onRecvEvent','onRemoteAck','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_snapshotService','authzUrl','_id','_xformMode','getInterceptPoints','_registerDependencies','HttpImport','_refRangeService','replaceState','_online','actions','_univerInstanceService','cursorInfo','NEW_CHANGESETS','session.collaboration-timeout','collaboratorID','updatePermissionPoint','ivSize','/-/object/-/batch_allowed','UUID','onPointerEnter$','_resendWithTimeout','svg','_drawRectRange','5abfjdl','_hideTimer','_ENC_XFORM_MODE','formatter','COMPRESS_MUTATION_APPLY','_urlService','selections','_onMessage','onTransformChange$','extend','_createHmacHelper','construct','univer-online-status-icon','row','_transformIMECache','2265888zLyvzv','image/jpg','setWaitCount','deleteCollaborator','sigBytes','ACTIVE_UNIT_EVENT_CHANNEL','MSG_FOR_ERROR','encrypt','setInterval','_syncEditingCollabCursorService','FETCH_MISS','{fileID}','subUnitId','rev','set','OffLineSingle','HttpExport','init','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','decrypt','displayName','isEditing','closeSession','refreshPermission','onTransformRemoteChangesetByIMECache','retryConnectingInterval','_docTransformSelectionsService','Could\x20not\x20dynamically\x20require\x20\x22','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','has','_mode','_docStateChangeManagerService','PSEUDO_FETCH_MISSING_RESULT','_sender','setShowComponents','/object/','get','from','listCollaborators','JOINING','mode','_initCloseConn','c1Prime','_waitForHeartbeatResponse','startRow','getRandomValues','joinEvent','unitId','\x20in\x20_schedule.','BlockCipher','loadOfflineData','_updateCollabCursors','localeService','Module','_drawTextRange','4261747YewbbC','_stopTelemetryCollaborationNewChangeset','collabCursorState$','_rescheduleHeartbeat','defineProperty','_event$','fetchMiss','_getUploadFileURL','infoRsp','_draw','_throwTelemetryCollaborationNewChangeset','pauseCollaboration','_resendTimeout','_transformStack','_onLocalMutation','clear','_initCommandExecutedListener','/universer-api/snapshot/','_getDownloadEndpointURL','startTime','InsertColCommandId','keySize','transformUndoRedo','assign','_transformService','updateCollaborator','Pkcs7','method','UPDATE_CURSOR','history','_transformPreviousActiveRange','_onConnectionOpen','auth.needGotoLoginAlert','_change$','onload','sheetId','show','max','_doFinalize','283282hiSqWl','getLatestCsReqIdBySid','responseType','_setupSubUnitSync','fillStyle'];_0x44e8=function(){return _0x4ece01;};return _0x44e8();}ls=pc([ni(0x0,_0x1b2eff),ni(0x1,_0x435342(_0x280c50))],ls);var gc=Object[_0x3d192e(0x494)],Sc=Object[_0x3d192e(0x3e5)],Ic=(_0x13b866,_0x361952,_0x124278,_0x400937)=>{const _0x1513e6=_0x3d192e;for(var _0x295c2c=_0x400937>0x1?void 0x0:_0x400937?Sc(_0x361952,_0x124278):_0x361952,_0x514e9=_0x13b866[_0x1513e6(0x4e9)]-0x1,_0x57a9e0;_0x514e9>=0x0;_0x514e9--)(_0x57a9e0=_0x13b866[_0x514e9])&&(_0x295c2c=(_0x400937?_0x57a9e0(_0x361952,_0x124278,_0x295c2c):_0x57a9e0(_0x295c2c))||_0x295c2c);return _0x400937&&_0x295c2c&&gc(_0x361952,_0x124278,_0x295c2c),_0x295c2c;},et=(_0x5a575f,_0x3ded5e)=>(_0x25a23a,_0x655f22)=>_0x3ded5e(_0x25a23a,_0x655f22,_0x5a575f);let _s=class extends _0x575974{constructor(_0x23269b,_0xc301c3,_0x38a452,_0x3680eb,_0x183f7b){const _0x1ca5ce=_0x3d192e;super(_0x23269b,_0xc301c3,_0x38a452),this[_0x1ca5ce(0x4a8)]=_0x3680eb,this[_0x1ca5ce(0x3b5)]=_0x183f7b;}[_0x3d192e(0x4a6)](_0x42e1a1,_0x1b85ab){const _0x30a396=_0x3d192e,_0x35f9fc=this[_0x30a396(0x29d)](_0x42e1a1);if(_0x35f9fc)try{const _0x1378bf=this[_0x30a396(0x49d)](_0x35f9fc,_0x1b85ab);this[_0x30a396(0x22c)](_0x42e1a1,_0x1378bf);}catch(_0x144095){this[_0x30a396(0x3b5)][_0x30a396(0x4f4)](_0x30a396(0x594),_0x144095),this[_0x30a396(0x4c8)](_0x42e1a1);}const _0x18a21e=this[_0x30a396(0x1f9)](_0x42e1a1);if(_0x18a21e)try{const _0x14eac9=this['_transformStack'](_0x18a21e,_0x1b85ab);this[_0x30a396(0x55e)](_0x42e1a1,_0x14eac9);}catch(_0x59b372){this['_logService'][_0x30a396(0x4f4)](_0x59b372),this[_0x30a396(0x270)](_0x42e1a1);}}[_0x3d192e(0x4c8)](_0x62484c){const _0xd01dfa=_0x3d192e,_0x4d41a6=this[_0xd01dfa(0x29d)](_0x62484c);_0x4d41a6&&(_0x4d41a6[_0xd01dfa(0x4e9)]=0x0,this[_0xd01dfa(0x4ce)]());}[_0x3d192e(0x270)](_0x3f9c2c){const _0x21dd63=_0x3d192e,_0x248f0a=this[_0x21dd63(0x1f9)](_0x3f9c2c);_0x248f0a&&(_0x248f0a[_0x21dd63(0x4e9)]=0x0,this[_0x21dd63(0x4ce)]());}[_0x3d192e(0x22c)](_0x47e1d1,_0x15df95){const _0x531721=_0x3d192e;this[_0x531721(0x2ba)][_0x531721(0x467)](_0x47e1d1,_0x15df95),this[_0x531721(0x4ce)]();}[_0x3d192e(0x55e)](_0x315a11,_0x94a674){const _0xe5d62a=_0x3d192e;this[_0xe5d62a(0x206)][_0xe5d62a(0x467)](_0x315a11,_0x94a674),this['_updateStatus']();}[_0x3d192e(0x49d)](_0x441287,_0xab481d){const _0x36f74e=_0x3d192e,_0x98e90d=[];let _0x1cd8eb=_0xab481d,_0xd385f6=_0xab481d;for(let _0x2d3e1b=_0x441287[_0x36f74e(0x4e9)]-0x1;_0x2d3e1b>=0x0;_0x2d3e1b--){const {unitID:_0x323087,undoMutations:_0x5d53c8,redoMutations:_0x1d026e}=_0x441287[_0x2d3e1b],_0x3ddf82=this[_0x36f74e(0x4a8)]['transformMutationsWithChangeset'](_0x1cd8eb,_0x5d53c8),_0x1778ba=this['_transformService']['transformMutationsWithChangeset'](_0xd385f6,_0x1d026e);if(_0x5952ae(_0x3ddf82)||_0x5952ae(_0x1778ba)){this['_logService']['error'](_0x36f74e(0x594),_0x36f74e(0x597),_0x3ddf82,_0x1778ba);break;}_0x1cd8eb=_0x3ddf82['c1Prime'],_0xd385f6=_0x1778ba[_0x36f74e(0x483)],_0x98e90d[_0x36f74e(0x24b)]({'unitID':_0x323087,'undoMutations':_0x3ddf82[_0x36f74e(0x227)],'redoMutations':_0x1778ba[_0x36f74e(0x227)]});}return _0x98e90d[_0x36f74e(0x2d1)]();}};_s=Ic([et(0x0,_0x405019),et(0x1,_0x4d4125),et(0x2,_0x2ce207),et(0x3,_0x238f3d),et(0x4,_0x25772e)],_s);class Cc extends _0x10cb26{constructor(){const _0x47a183=_0x3d192e;super(),g(this,_0x47a183(0x42e)),this[_0x47a183(0x42e)]=_0x2f7e2c(window,'popstate')['pipe'](_0xe1e697(this[_0x47a183(0x3e1)]),_0x2a23f2(0x1),_0x144116(void 0x0));}[_0x3d192e(0x59f)](_0x2ddb43,_0x3c33e2,_0x5ecd0f=!0x1){const _0x44c407=_0x3d192e,_0x499c65=new URL(window[_0x44c407(0x291)][_0x44c407(0x58a)]);_0x499c65[_0x44c407(0x26b)][_0x44c407(0x467)](_0x2ddb43,_0x3c33e2),_0x5ecd0f?window['history'][_0x44c407(0x43a)]('','',_0x499c65[_0x44c407(0x504)]()):window[_0x44c407(0x4ad)]['pushState']('','',_0x499c65[_0x44c407(0x504)]());}[_0x3d192e(0x1f1)](_0x41084d,_0x297c48=!0x1){const _0x5ec351=_0x3d192e,_0x583532=new URL(window[_0x5ec351(0x291)][_0x5ec351(0x58a)]);_0x583532[_0x5ec351(0x26b)][_0x5ec351(0x2cc)](_0x41084d),_0x297c48?window[_0x5ec351(0x4ad)]['replaceState']('','',_0x583532[_0x5ec351(0x504)]()):window[_0x5ec351(0x4ad)]['pushState']('','',_0x583532['toString']());}[_0x3d192e(0x3ed)](_0x438b8b){const _0x533c09=_0x3d192e;var _0x5cb2f3;return(_0x5cb2f3=new URL(window[_0x533c09(0x291)][_0x533c09(0x58a)])[_0x533c09(0x26b)]['get'](_0x438b8b))!=null?_0x5cb2f3:void 0x0;}}var Yi=Object[_0x3d192e(0x494)],Ec=Object['getOwnPropertyDescriptor'],bc=(_0x2467ba,_0x519e8d,_0x2cab8f)=>_0x519e8d in _0x2467ba?Yi(_0x2467ba,_0x519e8d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cab8f}):_0x2467ba[_0x519e8d]=_0x2cab8f,Tc=(_0x37d64e,_0xb1c981,_0x54b194,_0x4c82ba)=>{const _0x3bc01a=_0x3d192e;for(var _0x18d9f6=_0x4c82ba>0x1?void 0x0:_0x4c82ba?Ec(_0xb1c981,_0x54b194):_0xb1c981,_0x2169d7=_0x37d64e[_0x3bc01a(0x4e9)]-0x1,_0x1c0b6c;_0x2169d7>=0x0;_0x2169d7--)(_0x1c0b6c=_0x37d64e[_0x2169d7])&&(_0x18d9f6=(_0x4c82ba?_0x1c0b6c(_0xb1c981,_0x54b194,_0x18d9f6):_0x1c0b6c(_0x18d9f6))||_0x18d9f6);return _0x4c82ba&&_0x18d9f6&&Yi(_0xb1c981,_0x54b194,_0x18d9f6),_0x18d9f6;},_t=(_0x247751,_0x38c0e7)=>(_0x566196,_0x13e427)=>_0x38c0e7(_0x566196,_0x13e427,_0x247751),Rc=(_0x1fafd8,_0x2716ed,_0x3ee9c5)=>bc(_0x1fafd8,_0x2716ed+'',_0x3ee9c5);const yc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x17b289{constructor(_0x314495=Er,_0x38c898,_0x5342bd,_0x39717b,_0x2e26c3){const _0x147434=_0x3d192e;super(),this[_0x147434(0x36e)]=_0x314495,this[_0x147434(0x3b5)]=_0x38c898,this['_renderManagerService']=_0x5342bd,this[_0x147434(0x329)]=_0x39717b,this[_0x147434(0x295)]=_0x2e26c3;const {..._0xd685be}=this[_0x147434(0x36e)];this['_configService'][_0x147434(0x1e7)](ie,_0xd685be);}[_0x3d192e(0x277)](){const _0x10d9e9=_0x3d192e;this['_registerDependencies'](),this[_0x10d9e9(0x3e4)]();}[_0x3d192e(0x26a)](){const _0x364a11=_0x3d192e;_0xd9b0ec(this[_0x364a11(0x329)],[[Et]]);}['onRendered'](){this['_registerRenderDependencies']();}[_0x3d192e(0x437)](){const _0x7e6b3b=_0x3d192e;var _0x2293ff,_0x963622,_0x2fc94a,_0x341fe9;this['_injector'][_0x7e6b3b(0x476)](_0x211f33)&&this[_0x7e6b3b(0x3b5)][_0x7e6b3b(0x4f4)](_0x7e6b3b(0x254),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1b61d3=[[_0x211f33,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':Cc}],[Ne],[q],[_0x16fe7e],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x963622=(_0x2293ff=this[_0x7e6b3b(0x36e)])==null?void 0x0:_0x2293ff[_0x7e6b3b(0x39a)])!=null?_0x963622:es}],[_0x246ddf,{'useClass':ls}],[_0x1be879,{'useClass':cs}],[_0xfbc33e,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x2fc94a=this[_0x7e6b3b(0x36e)])!=null&&_0x2fc94a[_0x7e6b3b(0x562)]&&_0x1b61d3['push']([yt,{'useClass':so}]),_0x1adb6b(this[_0x7e6b3b(0x329)],_0x47ce99(_0x1b61d3,(_0x341fe9=this[_0x7e6b3b(0x36e)])==null?void 0x0:_0x341fe9[_0x7e6b3b(0x1ea)]));}[_0x3d192e(0x545)](){const _0x57dd89=_0x3d192e;this[_0x57dd89(0x2f7)](this[_0x57dd89(0x361)][_0x57dd89(0x33f)](_0x1c25e8[_0x57dd89(0x52f)],[os])),this[_0x57dd89(0x2f7)](this[_0x57dd89(0x361)]['registerRenderModule'](_0x1c25e8['UNIVER_SHEET'],[as]));}[_0x3d192e(0x3e4)](){const _0x4572ce=_0x3d192e;var _0x130dce,_0x4ffc59;this[_0x4572ce(0x329)][_0x4572ce(0x47d)](_0x280c50)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2dd3a5({'maxParallel':0x6})}),(_0x130dce=this[_0x4572ce(0x36e)])!=null&&_0x130dce['enableOfflineEditing']||this[_0x4572ce(0x329)][_0x4572ce(0x47d)](q)['disableLocalCache'](),(_0x4ffc59=this['_config'])!=null&&_0x4ffc59[_0x4572ce(0x287)]&&_0xd9b0ec(this[_0x4572ce(0x329)],[[bt]]),_0xd9b0ec(this['_injector'],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Rc(us,_0x3d192e(0x242),yc),us=Tc([_0x347a5f(_0x45331b,_0x1c34c7),_t(0x1,_0x25772e),_t(0x2,_0x1d562c),_t(0x3,_0x435342(_0x5a18dc)),_t(0x4,_0x1b2eff)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,Gc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,Cc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
1
+ const _0xc8d6e8=_0x284c;(function(_0x28a376,_0x45e543){const _0x3caaac=_0x284c,_0x43590f=_0x28a376();while(!![]){try{const _0x530b40=-parseInt(_0x3caaac(0x44a))/0x1+-parseInt(_0x3caaac(0x274))/0x2+-parseInt(_0x3caaac(0x29f))/0x3+-parseInt(_0x3caaac(0x4ad))/0x4*(-parseInt(_0x3caaac(0x176))/0x5)+-parseInt(_0x3caaac(0x148))/0x6*(-parseInt(_0x3caaac(0x4ef))/0x7)+-parseInt(_0x3caaac(0x18d))/0x8+parseInt(_0x3caaac(0x249))/0x9;if(_0x530b40===_0x45e543)break;else _0x43590f['push'](_0x43590f['shift']());}catch(_0x4e7d3a){_0x43590f['push'](_0x43590f['shift']());}}}(_0x1849,0xe2310));var qi=Object[_0xc8d6e8(0x17a)],Xi=(_0x1f95e0,_0x795255,_0xad323e)=>_0x795255 in _0x1f95e0?qi(_0x1f95e0,_0x795255,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xad323e}):_0x1f95e0[_0x795255]=_0xad323e,g=(_0x5ef413,_0x10ab59,_0x5359b8)=>Xi(_0x5ef413,typeof _0x10ab59!=_0xc8d6e8(0x442)?_0x10ab59+'':_0x10ab59,_0x5359b8);import{createIdentifier as _0x84987f,Inject as _0x13f971,Disposable as _0x5e1db6,DisposableCollection as _0x4711ac,toDisposable as _0x4e58a4,IConfigService as _0x450caa,ILogService as _0x410e45,UserManagerService as _0x142df8,UniverInstanceType as _0x4f645a,IUniverInstanceService as _0x2ddd21,LocaleService as _0x8037c0,Optional as _0x28e273,RxDisposable as _0x2ea33c,Injector as _0x20e5db,Tools as _0x4ef2fc,ILocalStorageService as _0x50a513,Rectangle as _0x3cb9ac,ICommandService as _0x4171ed,DOC_RANGE_TYPE as _0x38f481,JSONX as _0x528764,CommandType as _0x3dc8ba,IPermissionService as _0x1306a2,IUndoRedoService as _0x2925fd,sequenceExecute as _0x3b32ef,debounce as _0x2384a7,COLORS as _0x1a4681,ColorKit as _0x5dfdce,ThemeService as _0x5dff17,fromEventSubject as _0x289720,useDependency as _0x503c33,connectInjector as _0x42168a,Workbook as _0x16e397,isInternalEditorID as _0xf31c8,LocalUndoRedoService as _0x44ea44,IContextService as _0x295091,DependentOn as _0x13bf02,Plugin as _0x1ec059,touchDependencies as _0x2d98b1,IAuthzIoService as _0xf062e,registerDependencies as _0x366bdc,mergeOverrideWithDependencies as _0x439703}from'@univerjs/core';import{Subject as _0x378360,merge as _0x88f83c,takeUntil as _0x6a5096,BehaviorSubject as _0xfe121,distinctUntilChanged as _0x5b41b7,fromEvent as _0x4ee00c,ReplaySubject as _0x20135c,take as _0x134dae,map as _0x4c310e,shareReplay as _0x207368,of as _0x2cb441,debounceTime as _0x2565cd,filter as _0x348f8e,switchMap as _0x4b2328,combineLatest as _0x59bbc7,concatMap as _0x1a2bac,mapTo as _0x35afd6}from'rxjs';import{map as _0x38f68a,take as _0xaf14a2,filter as _0x474f16,delay as _0x12cdd5,throttleTime as _0x1d2269,takeUntil as _0x4d3dd9,switchMap as _0xaef0b0}from'rxjs/operators';import{MessageType as _0x49b044,Tooltip as _0x39b687}from'@univerjs/design';import{HTTPService as _0x5874d1,WebSocketService as _0x338344,MergeInterceptorFactory as _0x1fbfc9,HTTPRequest as _0x3446c9,UniverNetworkPlugin as _0x2c8070,ThresholdInterceptorFactory as _0x5af1b4}from'@univerjs/network';import{IBeforeCloseService as _0x55cff2,IMessageService as _0x1902d3,INotificationService as _0x3f22a0,useObservable as _0x950f29,BuiltInUIPart as _0x40dba2,IUIPartsService as _0x153f86}from'@univerjs/ui';import{CollaborationEvent as _0x275148,parseChangesetToProtocol as _0x595400,ISnapshotServerService as _0x3701ce,isTransformMutationFailure as _0x240244,isTransformMutationsWithChangesetSuccess as _0x22d9be,ITransformService as _0x59efa9,RevisionService as _0x15b6ba,mapDocumentTypeToUniverType as _0x3787b4,isTransformChangesetsSuccess as _0x36cff1,CompressMutationService as _0x12821d,parseProtocolChangeset as _0x533cbf,SnapshotService as _0x3bf07d,textEncoder as _0x194d7a,b64DecodeUnicode as _0x5b63d7,isTransformMutationsWithChangesetFailure as _0x434de5,UniverCollaborationPlugin as _0x3b7cf5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x15d9ac}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x50fd0b,DocStateChangeManagerService as _0x1fa86f,NodePositionConvertToCursor as _0x4479bc,NodePositionConvertToRectRange as _0x3a67de,TEXT_RANGE_LAYER_INDEX as _0x58be2d,SetDocZoomRatioOperation as _0x15a860}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x1e03cb,SetSelectionsOperation as _0x2c4628,InsertSheetMutation as _0x550572,EmptyMutation as _0x8dc8a0,WorkbookEditablePermission as _0x945e06,RefRangeService as _0x50ac3c,EffectRefRangId as _0x4e05a8,handleIRemoveRow as _0xaa71cb,handleIRemoveCol as _0x35033c,handleMoveRange as _0x1eff74,handleInsertRow as _0x591de4,handleInsertRangeMoveRight as _0x3aa3e6,handleInsertRangeMoveDown as _0x380e01,handleInsertCol as _0x1d4077,handleDeleteRangeMoveUp as _0x3c7298,handleDeleteRangeMoveLeft as _0x13af4b,runRefRangeMutations as _0x3ee0a2,SetWorksheetActivateCommand as _0x1c87ab}from'@univerjs/sheets';import{IRenderManagerService as _0x272410,Shape as _0xc62d9e,Rect as _0x2c31ab,getColor as _0xdb3a53,RegularPolygon as _0x19a511,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5c7057,Vector2 as _0xc320db}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5930e4,RichTextEditingMutation as _0x942aea,SetTextSelectionsOperation as _0x9955df,DocSkeletonManagerService as _0xd704ef}from'@univerjs/docs';import{ImageSourceType as _0x47413a,ImageUploadStatusType as _0x12da05,IImageIoService as _0x362557}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x358f17,serializeRangeWithSheet as _0x503f9d}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x3d2098,VIEWPORT_KEY as _0x5d55d7,getCoordByCell as _0x573888,getSheetObject as _0x2d6008,SheetPermissionInitController as _0x3439c1}from'@univerjs/sheets-ui';import _0x2fe14b,{forwardRef as _0x1f1ada,useRef as _0x24302d,createElement as _0x41772d,useCallback as _0x5481cf}from'react';import{IRemoteInstanceService as _0x3ef686}from'@univerjs/rpc';const cr=_0xc8d6e8(0x4b7),hr=_0xc8d6e8(0x468),lr=_0xc8d6e8(0x2ce),Jc=_0xc8d6e8(0x3a4),_r=0x7d0,ur=_0xc8d6e8(0x407),dr=_0xc8d6e8(0x26e),fr='/universer-api/user/session-ticket',vr=_0xc8d6e8(0x22e),mr=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,pr=0x4e20,gr=_0xc8d6e8(0x2e7),Sr=0x3,Ir='LOCAL_CACHE_INTERVAL',Cr=0x3e8,Er=_0xc8d6e8(0x390),br=_0xc8d6e8(0x438),Tr=_0xc8d6e8(0x304),Rr='/universer-api/oidc/authpage';var Ri=(_0x29b649=>(_0x29b649[_0x29b649[_0xc8d6e8(0x447)]=0x0]=_0xc8d6e8(0x447),_0x29b649[_0x29b649['OK']=0x1]='OK',_0x29b649[_0x29b649['INTERNAL_ERROR']=0x2]=_0xc8d6e8(0x3fa),_0x29b649[_0x29b649['PERMISSION_DENIED']=0x3]=_0xc8d6e8(0x37f),_0x29b649[_0x29b649['NOT_FOUND']=0x4]='NOT_FOUND',_0x29b649[_0x29b649[_0xc8d6e8(0x39b)]=0x5]='UNAUTHENTICATED',_0x29b649[_0x29b649[_0xc8d6e8(0x490)]=0x6]=_0xc8d6e8(0x490),_0x29b649[_0x29b649[_0xc8d6e8(0x154)]=0x7]='INVALID_ARGUMENT',_0x29b649[_0x29b649[_0xc8d6e8(0x42d)]=0x8]=_0xc8d6e8(0x42d),_0x29b649[_0x29b649[_0xc8d6e8(0x430)]=0x9]=_0xc8d6e8(0x430),_0x29b649[_0x29b649[_0xc8d6e8(0x158)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x29b649[_0x29b649[_0xc8d6e8(0x3ea)]=0x1771]=_0xc8d6e8(0x3ea),_0x29b649[_0x29b649[_0xc8d6e8(0x342)]=0x1772]=_0xc8d6e8(0x342),_0x29b649[_0x29b649[_0xc8d6e8(0x486)]=0x1773]=_0xc8d6e8(0x486),_0x29b649[_0x29b649[_0xc8d6e8(0x32b)]=0x1b59]=_0xc8d6e8(0x32b),_0x29b649[_0x29b649[_0xc8d6e8(0x1bf)]=0x1b5a]=_0xc8d6e8(0x1bf),_0x29b649[_0x29b649[_0xc8d6e8(0x420)]=0x1b5b]=_0xc8d6e8(0x420),_0x29b649[_0x29b649[_0xc8d6e8(0x4b0)]=0x1b5c]=_0xc8d6e8(0x4b0),_0x29b649[_0x29b649[_0xc8d6e8(0x448)]=0x1b5d]=_0xc8d6e8(0x448),_0x29b649[_0x29b649['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xc8d6e8(0x1cc),_0x29b649[_0x29b649[_0xc8d6e8(0x1f8)]=0x2329]=_0xc8d6e8(0x1f8),_0x29b649[_0x29b649[_0xc8d6e8(0x3fd)]=0x232a]=_0xc8d6e8(0x3fd),_0x29b649[_0x29b649[_0xc8d6e8(0x364)]=0x232b]=_0xc8d6e8(0x364),_0x29b649[_0x29b649[_0xc8d6e8(0x240)]=0x232c]=_0xc8d6e8(0x240),_0x29b649[_0x29b649[_0xc8d6e8(0x26d)]=0x232d]=_0xc8d6e8(0x26d),_0x29b649[_0x29b649[_0xc8d6e8(0x2a2)]=0x2711]=_0xc8d6e8(0x2a2),_0x29b649[_0x29b649[_0xc8d6e8(0x3bc)]=0x2712]=_0xc8d6e8(0x3bc),_0x29b649[_0x29b649[_0xc8d6e8(0x4f2)]=0x2713]=_0xc8d6e8(0x4f2),_0x29b649[_0x29b649[_0xc8d6e8(0x12d)]=0x2714]=_0xc8d6e8(0x12d),_0x29b649[_0x29b649['UNRECOGNIZED']=-0x1]=_0xc8d6e8(0x36f),_0x29b649))(Ri||{}),ce=(_0x43306b=>(_0x43306b[_0x43306b[_0xc8d6e8(0x33e)]=0x0]='UNIVER_UNKNOWN',_0x43306b[_0x43306b[_0xc8d6e8(0x3c7)]=0x1]=_0xc8d6e8(0x3c7),_0x43306b[_0x43306b[_0xc8d6e8(0x50a)]=0x2]=_0xc8d6e8(0x50a),_0x43306b[_0x43306b[_0xc8d6e8(0x4b6)]=0x3]='UNIVER_SLIDE',_0x43306b[_0x43306b[_0xc8d6e8(0x4ce)]=0x4]=_0xc8d6e8(0x4ce),_0x43306b[_0x43306b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x43306b))(ce||{}),W=(_0x39ad7e=>(_0x39ad7e[_0x39ad7e['UNKNOWN_CMD']=0x0]=_0xc8d6e8(0x1f0),_0x39ad7e[_0x39ad7e[_0xc8d6e8(0x456)]=0x1]=_0xc8d6e8(0x456),_0x39ad7e[_0x39ad7e[_0xc8d6e8(0x475)]=0x2]=_0xc8d6e8(0x475),_0x39ad7e[_0x39ad7e[_0xc8d6e8(0x3bb)]=0x3]=_0xc8d6e8(0x3bb),_0x39ad7e[_0x39ad7e[_0xc8d6e8(0x38f)]=0x4]=_0xc8d6e8(0x38f),_0x39ad7e[_0x39ad7e['HEARTBEAT']=0x5]=_0xc8d6e8(0x1f4),_0x39ad7e[_0x39ad7e[_0xc8d6e8(0x4f5)]=0x6]=_0xc8d6e8(0x4f5),_0x39ad7e[_0x39ad7e[_0xc8d6e8(0x36f)]=-0x1]=_0xc8d6e8(0x36f),_0x39ad7e))(W||{}),Is=(_0x3dfede=>(_0x3dfede[_0x3dfede[_0xc8d6e8(0x41e)]=0x0]=_0xc8d6e8(0x41e),_0x3dfede[_0x3dfede['OK']=0x1]='OK',_0x3dfede[_0x3dfede[_0xc8d6e8(0x52c)]=0x2]=_0xc8d6e8(0x52c),_0x3dfede[_0x3dfede[_0xc8d6e8(0x209)]=0x3e9]=_0xc8d6e8(0x209),_0x3dfede[_0x3dfede[_0xc8d6e8(0x263)]=0x3ea]=_0xc8d6e8(0x263),_0x3dfede[_0x3dfede['UNRECOGNIZED']=-0x1]=_0xc8d6e8(0x36f),_0x3dfede))(Is||{}),Oi=(_0x15e2f8=>(_0x15e2f8[_0x15e2f8[_0xc8d6e8(0x3aa)]=0x0]=_0xc8d6e8(0x3aa),_0x15e2f8[_0x15e2f8[_0xc8d6e8(0x27e)]=0x1]=_0xc8d6e8(0x27e),_0x15e2f8[_0x15e2f8[_0xc8d6e8(0x473)]=0x2]=_0xc8d6e8(0x473),_0x15e2f8[_0x15e2f8[_0xc8d6e8(0x175)]=0x3]='UnitEmbedded',_0x15e2f8[_0x15e2f8['UnitSnapshot']=0x4]=_0xc8d6e8(0x1e9),_0x15e2f8[_0x15e2f8[_0xc8d6e8(0x36f)]=-0x1]=_0xc8d6e8(0x36f),_0x15e2f8))(Oi||{});const te=_0xc8d6e8(0x340),Or={};function yr(_0x3054c1){const _0x3b0510=_0xc8d6e8;var _0x3e1cca,_0x19517c,_0x3314a6,_0x1aaf76,_0x327f4d;const _0x155626=_0x3054c1[_0x3b0510(0x464)],_0x2c0945=JSON['parse'](_0x155626);switch(_0x2c0945['cmd']){case W[_0x3b0510(0x1f4)]:case W[_0x3b0510(0x456)]:{const _0x3d866d=_0x2c0945[_0x3b0510(0x3e7)];return{..._0x2c0945,'data':_0x3d866d,'cmd':_0x2c0945[_0x3b0510(0x2b2)]};}case W[_0x3b0510(0x475)]:{const _0x1c3c56=_0x2c0945[_0x3b0510(0x4d7)];return{..._0x2c0945,'data':_0x1c3c56,'cmd':_0x2c0945[_0x3b0510(0x2b2)]};}case W['RECV']:{const _0x14da82=_0x2c0945[_0x3b0510(0x38d)];switch(_0x14da82[_0x3b0510(0x411)]){case _0x275148['PERMISSION_REJ']:return{..._0x2c0945,'data':{..._0x14da82,'data':(_0x3e1cca=_0x14da82[_0x3b0510(0x313)])==null?void 0x0:_0x3e1cca['cs']},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};case _0x275148['CHANGESET_ACK']:return{..._0x2c0945,'data':{..._0x14da82,'data':(_0x19517c=_0x14da82[_0x3b0510(0x4eb)])==null?void 0x0:_0x19517c['cs']},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};case _0x275148['NEW_CHANGESETS']:return{..._0x2c0945,'data':{..._0x14da82,'data':(_0x3314a6=_0x14da82[_0x3b0510(0x3f4)])==null?void 0x0:_0x3314a6['cs']},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};case _0x275148['CHANGESET_REJ']:return{..._0x2c0945,'data':{..._0x14da82,'data':(_0x1aaf76=_0x14da82[_0x3b0510(0x258)])==null?void 0x0:_0x1aaf76['cs']},'cmd':_0x2c0945['cmd']};case _0x275148[_0x3b0510(0x264)]:return{..._0x2c0945,'data':{..._0x14da82,'data':(_0x327f4d=_0x14da82[_0x3b0510(0x1e5)])==null?void 0x0:_0x327f4d['cs']},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};case _0x275148[_0x3b0510(0x276)]:return{..._0x2c0945,'data':{..._0x14da82,'data':_0x14da82[_0x3b0510(0x4da)]},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};case _0x275148[_0x3b0510(0x4d0)]:return{..._0x2c0945,'data':{..._0x14da82,'data':_0x14da82[_0x3b0510(0x2b8)]},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};case _0x275148[_0x3b0510(0x2bb)]:return{..._0x2c0945,'data':{..._0x14da82,'data':_0x14da82[_0x3b0510(0x4a9)]},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};case _0x275148[_0x3b0510(0x35a)]:return{..._0x2c0945,'data':{..._0x14da82,'data':_0x14da82[_0x3b0510(0x2c4)]},'cmd':_0x2c0945['cmd']};case _0x275148['LIVESHARE_FETCH_OPERATIONS']:case _0x275148[_0x3b0510(0x326)]:return{..._0x2c0945,'data':{..._0x14da82,'data':_0x14da82[_0x3b0510(0x23c)]},'cmd':_0x2c0945['cmd']};case _0x275148[_0x3b0510(0x1a7)]:return{..._0x2c0945,'data':{..._0x14da82,'data':_0x14da82[_0x3b0510(0x2c4)]},'cmd':_0x2c0945['cmd']};case _0x275148[_0x3b0510(0x525)]:return{..._0x2c0945,'data':_0x14da82,'cmd':_0x2c0945['cmd']};case _0x275148[_0x3b0510(0x143)]:return{..._0x2c0945,'data':{..._0x14da82,'data':_0x14da82[_0x3b0510(0x21d)]},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};case _0x275148['UPDATE_PERMISSION_OBJ']:return{..._0x2c0945,'data':{..._0x14da82,'data':_0x14da82[_0x3b0510(0x1d0)]},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};case _0x275148['SHOULD_CLOSE_CONN']:return{..._0x2c0945,'data':{..._0x14da82,'data':_0x14da82[_0x3b0510(0x142)]},'cmd':_0x2c0945[_0x3b0510(0x2b2)]};default:return _0x2c0945;}}default:return _0x2c0945;}}function wr(_0x21efd3){const _0x27722e=_0xc8d6e8;switch(_0x21efd3[_0x27722e(0x2b2)]){case W[_0x27722e(0x1f4)]:case W['HELLO']:return JSON[_0x27722e(0x306)]({'cmd':_0x21efd3[_0x27722e(0x2b2)],'routeKey':_0x21efd3['routeKey']});case W['INGEST']:{let _0x55fcaa;switch(_0x21efd3['data'][_0x27722e(0x411)]){case _0x275148['UPDATE_CURSOR']:{_0x55fcaa={'eventID':_0x275148[_0x27722e(0x276)],'updateCursorEvent':_0x21efd3[_0x27722e(0x464)][_0x27722e(0x464)]};break;}case _0x275148[_0x27722e(0x2bb)]:{_0x55fcaa={'eventID':_0x275148[_0x27722e(0x2bb)],'leaveEvent':_0x21efd3[_0x27722e(0x464)]['data']};break;}case _0x275148[_0x27722e(0x4d0)]:{_0x55fcaa={'eventID':_0x275148[_0x27722e(0x4d0)],'joinEvent':_0x21efd3[_0x27722e(0x464)][_0x27722e(0x464)]};break;}case _0x275148[_0x27722e(0x35a)]:{_0x55fcaa={'eventID':_0x275148[_0x27722e(0x35a)],'liveShareNewHost':_0x21efd3[_0x27722e(0x464)][_0x27722e(0x464)]};break;}case _0x275148[_0x27722e(0x326)]:{_0x55fcaa={'eventID':_0x275148[_0x27722e(0x326)],'liveShareOperation':_0x21efd3[_0x27722e(0x464)]['data']};break;}case _0x275148[_0x27722e(0x1a7)]:{_0x55fcaa={'eventID':_0x275148[_0x27722e(0x1a7)],'liveShareTerminate':_0x21efd3[_0x27722e(0x464)][_0x27722e(0x464)]};break;}case _0x275148[_0x27722e(0x436)]:{_0x55fcaa={'eventID':_0x275148[_0x27722e(0x436)],'liveShareRequestHost':_0x21efd3[_0x27722e(0x464)][_0x27722e(0x464)]};break;}case _0x275148[_0x27722e(0x250)]:{_0x55fcaa={'eventID':_0x275148[_0x27722e(0x250)]};break;}default:_0x55fcaa={'eventID':_0x21efd3[_0x27722e(0x464)][_0x27722e(0x411)]};}return JSON[_0x27722e(0x306)]({'cmd':_0x21efd3[_0x27722e(0x2b2)],'routeKey':_0x21efd3[_0x27722e(0x529)],'collaMsg':_0x55fcaa});}case W['JOIN']:return JSON['stringify']({'cmd':_0x21efd3[_0x27722e(0x2b2)],'routeKey':_0x21efd3[_0x27722e(0x529)],'joinReq':_0x21efd3[_0x27722e(0x464)]});case W[_0x27722e(0x3bb)]:return JSON[_0x27722e(0x306)]({'cmd':_0x21efd3[_0x27722e(0x2b2)],'routeKey':_0x21efd3[_0x27722e(0x529)],'leaveReq':_0x21efd3[_0x27722e(0x464)]});default:throw new Error(_0x27722e(0x169));}}var Dr=Object['defineProperty'],Pr=Object[_0xc8d6e8(0x4d8)],Ur=(_0x27a013,_0x29dae6,_0x312df4,_0x4a9154)=>{const _0x2e768b=_0xc8d6e8;for(var _0x56f2f7=_0x4a9154>0x1?void 0x0:_0x4a9154?Pr(_0x29dae6,_0x312df4):_0x29dae6,_0x44eb5d=_0x27a013[_0x2e768b(0x3d5)]-0x1,_0x24cfb2;_0x44eb5d>=0x0;_0x44eb5d--)(_0x24cfb2=_0x27a013[_0x44eb5d])&&(_0x56f2f7=(_0x4a9154?_0x24cfb2(_0x29dae6,_0x312df4,_0x56f2f7):_0x24cfb2(_0x56f2f7))||_0x56f2f7);return _0x4a9154&&_0x56f2f7&&Dr(_0x29dae6,_0x312df4,_0x56f2f7),_0x56f2f7;},qe=(_0x133371,_0xfee199)=>(_0x1d1f48,_0x1a184c)=>_0xfee199(_0x1d1f48,_0x1a184c,_0x133371);const yi=_0x84987f(_0xc8d6e8(0x167));function Nr(_0x56c744,_0x3b48bf,_0x447d8d){const _0xff0881=_0xc8d6e8;return _0x56c744+'/'+_0x3b48bf+_0xff0881(0x2eb)+_0x447d8d+_0xff0881(0x4ac);}let es=class extends _0x5e1db6{constructor(_0x206f48,_0x4bff3d,_0x3514fc,_0x1d36dd,_0x4530cb){const _0x57c07c=_0xc8d6e8;super(),this[_0x57c07c(0x192)]=_0x206f48,this['_ws']=_0x4bff3d,this[_0x57c07c(0x23d)]=_0x3514fc,this[_0x57c07c(0x355)]=_0x1d36dd,this[_0x57c07c(0x48f)]=_0x4530cb;}[_0xc8d6e8(0x265)](_0x45c639){const _0x4cefdb=_0xc8d6e8,_0x4d200c=this['_ws'][_0x4cefdb(0x265)](_0x45c639);if(!_0x4d200c)throw new Error(_0x4cefdb(0x1a3));const _0x5bef44=new _0x4711ac(),_0xc52177=new _0x378360();_0x5bef44[_0x4cefdb(0x31c)](_0x4d200c['close$'][_0x4cefdb(0x1ed)](_0x37bc03=>_0xc52177[_0x4cefdb(0x3f0)](_0x37bc03))),_0x5bef44[_0x4cefdb(0x31c)](_0x4e58a4(()=>_0xc52177[_0x4cefdb(0x20c)]()));const _0x32659=new _0x378360();_0x5bef44[_0x4cefdb(0x31c)](_0x4d200c[_0x4cefdb(0x3ec)][_0x4cefdb(0x1ed)](_0x2b064f=>_0x32659[_0x4cefdb(0x3f0)](_0x2b064f))),_0x5bef44[_0x4cefdb(0x31c)](_0x4e58a4(()=>_0x32659[_0x4cefdb(0x20c)]()));const _0x29cfa8=new _0x378360();_0x5bef44['add'](_0x4d200c['message$'][_0x4cefdb(0x1ed)](_0x39657a=>{const _0x1b4659=_0x4cefdb,_0x1dcf1a=yr(_0x39657a);_0x29cfa8[_0x1b4659(0x3f0)](_0x1dcf1a);})),_0x5bef44['add'](_0x4e58a4(()=>_0x29cfa8[_0x4cefdb(0x20c)]()));let _0x2c0ef5;const _0xb0f0e1=()=>{const _0xd839d9=_0x4cefdb;_0x32659[_0xd839d9(0x3f0)](new Event(_0xd839d9(0x174))),_0xc52177[_0xd839d9(0x3f0)](new CloseEvent(_0xd839d9(0x174))),_0x2c0ef5[_0xd839d9(0x2ba)]();};return _0x2c0ef5={'memberID':'','close$':_0xc52177[_0x4cefdb(0x4de)](),'error$':_0x32659[_0x4cefdb(0x4de)](),'open$':_0x4d200c[_0x4cefdb(0x1f7)],'message$':_0x29cfa8[_0x4cefdb(0x4de)](),'send':_0x4b6831=>{const _0x4cfa77=_0x4cefdb;if(_0x4b6831['cmd']===W[_0x4cfa77(0x38f)]){if(_0x4b6831[_0x4cfa77(0x464)][_0x4cfa77(0x411)]===_0x275148[_0x4cfa77(0x443)]){this[_0x4cfa77(0x4a6)](_0x2c0ef5,_0x4b6831[_0x4cfa77(0x464)])[_0x4cfa77(0x4fb)](_0x11f468=>{const _0x113785=_0x4cfa77;this[_0x113785(0x355)][_0x113785(0x398)](_0x11f468),_0xb0f0e1();});return;}if(_0x4b6831[_0x4cfa77(0x464)][_0x4cfa77(0x411)]===_0x275148['FETCH_MISSING']){const _0x5dc0a5=_0x4b6831['data'];this['_fetchMissChangesets'](_0x5dc0a5)['then'](_0x4fc442=>{const _0x1f8d1b=_0x4cfa77;_0x29cfa8[_0x1f8d1b(0x3f0)]({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x5dc0a5[_0x1f8d1b(0x464)][_0x1f8d1b(0x17c)],'routeType':'','data':{'eventID':_0x275148['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4fc442}}});})['catch'](_0x17ed6a=>{const _0x2ebfa9=_0x4cfa77;this[_0x2ebfa9(0x355)][_0x2ebfa9(0x398)](_0x17ed6a),_0xb0f0e1();});return;}}_0x4d200c['send'](wr(_0x4b6831));},'close':()=>{const _0x45afab=_0x4cefdb;_0x4d200c[_0x45afab(0x2ba)](),_0x5bef44[_0x45afab(0x204)]();}},_0x2c0ef5;}async[_0xc8d6e8(0x4a6)](_0x32bd92,_0x25e468){const _0x321432=_0xc8d6e8;var _0x344bf0,_0x554f3c;const {unitType:_0x293072,unitID:_0x21a5ef,changeset:_0x29873f}=_0x25e468[_0x321432(0x464)],_0x300fc9={'unitID':_0x21a5ef,'memberID':_0x32bd92[_0x321432(0x3c4)],'type':_0x293072,'changeset':_0x595400(_0x29873f)},_0x301715=this[_0x321432(0x23d)][_0x321432(0x2ac)](Er),_0x12d149=this['_configService'][_0x321432(0x2ac)](te),_0x2e1129=Nr((_0x554f3c=(_0x344bf0=_0x12d149==null?void 0x0:_0x12d149[_0x321432(0x493)])!=null?_0x344bf0:_0x301715)!=null?_0x554f3c:br,_0x293072,_0x21a5ef);try{await this[_0x321432(0x192)][_0x321432(0x2cd)](_0x2e1129,{'body':_0x300fc9});}catch(_0xda71ab){throw this[_0x321432(0x355)][_0x321432(0x398)](_0x321432(0x181),_0x321432(0x4a3)),_0xda71ab;}}async['_fetchMissChangesets'](_0x5a29ab){const _0x21f5e1=_0xc8d6e8,{unitID:_0xddd9bb,from:_0x15d276,to:_0x5a884f,unitType:_0x375997}=_0x5a29ab['data'];return(await this[_0x21f5e1(0x48f)][_0x21f5e1(0x3c2)]({'metadata':void 0x0},{'unitID':_0xddd9bb,'type':_0x375997,'from':_0x15d276,'to':_0x5a884f}))[_0x21f5e1(0x2a1)];}};es=Ur([qe(0x0,_0x13f971(_0x5874d1)),qe(0x1,_0x13f971(_0x338344)),qe(0x2,_0x450caa),qe(0x3,_0x410e45),qe(0x4,_0x3701ce)],es);const Ar=_0xc8d6e8(0x484);function Mr(_0x483b6e){const _0x1c2982=_0xc8d6e8;return JSON['stringify'](_0x483b6e)[_0x1c2982(0x3d5)];}class wi{constructor(){const _0x2bf21d=_0xc8d6e8;g(this,_0x2bf21d(0x4dc),new _0x378360()),g(this,_0x2bf21d(0x3b8),this[_0x2bf21d(0x4dc)][_0x2bf21d(0x4de)]());}[_0xc8d6e8(0x440)](_0x27534b){const _0x58cdfc=_0xc8d6e8;this[_0x58cdfc(0x4dc)][_0x58cdfc(0x3f0)](_0x27534b);}}var xr=Object[_0xc8d6e8(0x17a)],Lr=Object['getOwnPropertyDescriptor'],$r=(_0x2c73da,_0x17da95,_0x2f0e38,_0x2e291e)=>{const _0x165cda=_0xc8d6e8;for(var _0x257d2d=_0x2e291e>0x1?void 0x0:_0x2e291e?Lr(_0x17da95,_0x2f0e38):_0x17da95,_0x2e83d9=_0x2c73da[_0x165cda(0x3d5)]-0x1,_0x416484;_0x2e83d9>=0x0;_0x2e83d9--)(_0x416484=_0x2c73da[_0x2e83d9])&&(_0x257d2d=(_0x2e291e?_0x416484(_0x17da95,_0x2f0e38,_0x257d2d):_0x416484(_0x257d2d))||_0x257d2d);return _0x2e291e&&_0x257d2d&&xr(_0x17da95,_0x2f0e38,_0x257d2d),_0x257d2d;},Hs=(_0x30645d,_0x2650a0)=>(_0x5d0e6d,_0x3fb7c5)=>_0x2650a0(_0x5d0e6d,_0x3fb7c5,_0x30645d);let Me=class extends _0x5e1db6{constructor(_0x298de2,_0x1229b0){const _0x571d8e=_0xc8d6e8;super(),g(this,_0x571d8e(0x3d4),new Map()),(this[_0x571d8e(0x2c7)]=_0x298de2,this[_0x571d8e(0x15e)]=_0x1229b0,this[_0x571d8e(0x43e)](_0x4e58a4(_0x88f83c(this[_0x571d8e(0x2c7)][_0x571d8e(0x497)](_0x4f645a[_0x571d8e(0x50a)])[_0x571d8e(0x236)](_0x38f68a(_0xa2a150=>_0xa2a150[_0x571d8e(0x4a7)]())),this[_0x571d8e(0x2c7)]['getTypeOfUnitDisposed$'](_0x4f645a['UNIVER_DOC'])['pipe'](_0x38f68a(_0x194bed=>_0x194bed[_0x571d8e(0x4a7)]())),this['_univerInstanceService'][_0x571d8e(0x497)](_0x4f645a[_0x571d8e(0x4b6)])[_0x571d8e(0x236)](_0x38f68a(_0x1e9bd4=>_0x1e9bd4['getUnitId']())))['subscribe'](_0x47045d=>this['_removeRoom'](_0x47045d)))));}[_0xc8d6e8(0x160)](_0xbd3ee5){const _0x16197e=_0xc8d6e8;this['_userManagerService'][_0x16197e(0x160)](_0xbd3ee5);}['getCurrentUser'](){const _0x356992=_0xc8d6e8;return this[_0x356992(0x15e)]['getCurrentUser']();}[_0xc8d6e8(0x288)](_0x552a1c,_0x3f66a7){const _0x3aeae6=_0xc8d6e8;let _0x185b2a=this[_0x3aeae6(0x3d4)][_0x3aeae6(0x2c2)](_0x552a1c);_0x185b2a||(_0x185b2a=new Hr(),this[_0x3aeae6(0x3d4)]['set'](_0x552a1c,_0x185b2a)),_0x185b2a['updateMember'](_0x3f66a7);}[_0xc8d6e8(0x122)](_0x23601c,_0x1bf68){const _0x310b02=_0xc8d6e8,_0x8969aa=this['_roomMembers'][_0x310b02(0x2c2)](_0x23601c);_0x8969aa&&_0x8969aa[_0x310b02(0x122)](_0x1bf68);}['getRoom'](_0x53c8a7){const _0x5294e0=_0xc8d6e8;return this['_roomMembers'][_0x5294e0(0x2c2)](_0x53c8a7);}['getMember'](_0x311728,_0x428426){const _0x381b94=_0xc8d6e8,_0x5cf7c7=this[_0x381b94(0x3d4)][_0x381b94(0x2c2)](_0x311728);if(_0x5cf7c7)return _0x5cf7c7['getMember'](_0x428426);}[_0xc8d6e8(0x4d3)](_0x2fadcf){const _0x31594b=_0xc8d6e8,_0x472a0d=this[_0x31594b(0x3d4)][_0x31594b(0x2c2)](_0x2fadcf);_0x472a0d&&(_0x472a0d['dispose'](),this[_0x31594b(0x3d4)][_0x31594b(0x2b0)](_0x2fadcf));}['dispose'](){const _0x460fef=_0xc8d6e8;this[_0x460fef(0x3d4)][_0x460fef(0x1da)](_0x1ff878=>_0x1ff878['dispose']()),this[_0x460fef(0x3d4)][_0x460fef(0x3ab)]();}};Me=$r([Hs(0x0,_0x2ddd21),Hs(0x1,_0x13f971(_0x142df8))],Me);class Hr extends _0x5e1db6{constructor(){const _0x24ffd9=_0xc8d6e8;super(...arguments),g(this,_0x24ffd9(0x27b),new Map());}[_0xc8d6e8(0x204)](){const _0x5c9d2d=_0xc8d6e8;this[_0x5c9d2d(0x27b)][_0x5c9d2d(0x3ab)]();}[_0xc8d6e8(0x288)](_0x1bf066){const _0x24a3c2=_0xc8d6e8;this[_0x24a3c2(0x27b)][_0x24a3c2(0x21c)](_0x1bf066[_0x24a3c2(0x3c4)],_0x1bf066);}[_0xc8d6e8(0x122)](_0xe598ea){const _0x5e3b10=_0xc8d6e8;this[_0x5e3b10(0x27b)][_0x5e3b10(0x2b0)](_0xe598ea);}[_0xc8d6e8(0x4c2)](_0x5636d1){const _0x232b9f=_0xc8d6e8;return this[_0x232b9f(0x27b)][_0x232b9f(0x2c2)](_0x5636d1);}[_0xc8d6e8(0x2f2)](){const _0x43c39b=_0xc8d6e8;return Array['from'](this[_0x43c39b(0x27b)]['values']());}}var jr=Object['defineProperty'],Br=Object['getOwnPropertyDescriptor'],kr=(_0x22963c,_0x284617,_0x4d1a69,_0x261034)=>{const _0x18022d=_0xc8d6e8;for(var _0x42612c=_0x261034>0x1?void 0x0:_0x261034?Br(_0x284617,_0x4d1a69):_0x284617,_0x554762=_0x22963c[_0x18022d(0x3d5)]-0x1,_0x30084b;_0x554762>=0x0;_0x554762--)(_0x30084b=_0x22963c[_0x554762])&&(_0x42612c=(_0x261034?_0x30084b(_0x284617,_0x4d1a69,_0x42612c):_0x30084b(_0x42612c))||_0x42612c);return _0x261034&&_0x42612c&&jr(_0x284617,_0x4d1a69,_0x42612c),_0x42612c;},Ee=(_0x278466,_0x263b8e)=>(_0x504106,_0x26d3c4)=>_0x263b8e(_0x504106,_0x26d3c4,_0x278466),ve=(_0x119354=>(_0x119354[_0x119354[_0xc8d6e8(0x3a2)]=0x0]='IDLE',_0x119354[_0x119354[_0xc8d6e8(0x49c)]=0x1]=_0xc8d6e8(0x49c),_0x119354[_0x119354[_0xc8d6e8(0x428)]=0x2]=_0xc8d6e8(0x428),_0x119354[_0x119354['ONLINE']=0x3]='ONLINE',_0x119354))(ve||{});let ts=class extends _0x2ea33c{constructor(_0x1b58e7,_0x3c4734,_0x5e3a8e,_0x2007b4,_0x5af8ed,_0xceacd1,_0x13b9a9,_0x34c684,_0xa95872,_0x35ac62){const _0x956a10=_0xc8d6e8;super(),g(this,_0x956a10(0x350),new _0xfe121(0x0)),g(this,'sessionStatus$',this[_0x956a10(0x350)][_0x956a10(0x4de)]()),g(this,_0x956a10(0x2d1),new _0x378360()),g(this,'event$',this[_0x956a10(0x2d1)][_0x956a10(0x4de)]()),g(this,_0x956a10(0x4ed)),g(this,_0x956a10(0x4f7)),g(this,_0x956a10(0x256)),g(this,_0x956a10(0x494),!0x1),g(this,_0x956a10(0x246),null),(this[_0x956a10(0x2ed)]=_0x1b58e7,this['_logService']=_0x5e3a8e,this['_beforeCloseService']=_0x2007b4,this[_0x956a10(0x3f7)]=_0x5af8ed,this['_configService']=_0xceacd1,this[_0x956a10(0x255)]=_0x13b9a9,this[_0x956a10(0x253)]=_0x34c684,this[_0x956a10(0x2df)]=_0xa95872,this[_0x956a10(0x14a)]=_0x35ac62,this['_shouldReportTelemetry']=!!this[_0x956a10(0x14a)],_0x3c4734[_0x956a10(0x236)](_0x6a5096(this['dispose$']))[_0x956a10(0x1ed)](_0x30c0be=>{const _0x576adb=_0x956a10;var _0x44314c;typeof _0x30c0be>'u'||(this[_0x576adb(0x4ed)]=_0x30c0be,_0x30c0be?(this[_0x576adb(0x327)](_0x30c0be),this[_0x576adb(0x4f7)]=_0x30c0be[_0x576adb(0x446)][_0x576adb(0x1ed)](_0x349f59=>{const _0x40942f=_0x576adb;_0x349f59[_0x40942f(0x529)]===this['_unitID']&&this[_0x40942f(0x125)](_0x349f59);})):(this[_0x576adb(0x2ea)](),this[_0x576adb(0x350)]['next'](0x2),(_0x44314c=this[_0x576adb(0x4f7)])==null||_0x44314c['unsubscribe'](),this[_0x576adb(0x4f7)]=null));}),this[_0x956a10(0x43e)](this['_beforeCloseService'][_0x956a10(0x285)](()=>{const _0x41d357=_0x956a10;var _0x3921eb;(_0x3921eb=this[_0x41d357(0x4ed)])==null||_0x3921eb[_0x41d357(0x3c1)]({'cmd':W[_0x41d357(0x3bb)],'data':{'roomID':this[_0x41d357(0x2ed)]}});})));}get['sessionStatus'](){const _0x190935=_0xc8d6e8;return this[_0x190935(0x350)][_0x190935(0x388)]();}[_0xc8d6e8(0x4b4)](){const _0x1f4220=_0xc8d6e8;var _0x34544f,_0x423414;return(_0x423414=(_0x34544f=this[_0x1f4220(0x4ed)])==null?void 0x0:_0x34544f['memberID'])!=null?_0x423414:null;}[_0xc8d6e8(0x204)](){const _0x38f21f=_0xc8d6e8;super[_0x38f21f(0x204)](),this[_0x38f21f(0x191)][_0x38f21f(0x3f0)](),this[_0x38f21f(0x191)][_0x38f21f(0x20c)]();}[_0xc8d6e8(0x2ba)](){const _0x930325=_0xc8d6e8;var _0x8c5ddc,_0x5a0479;this[_0x930325(0x2ea)](),(_0x8c5ddc=this[_0x930325(0x4ed)])==null||_0x8c5ddc['send']({'cmd':W[_0x930325(0x3bb)],'data':{'roomID':this[_0x930325(0x2ed)]}}),(_0x5a0479=this[_0x930325(0x4ed)])==null||_0x5a0479[_0x930325(0x2ba)](),this[_0x930325(0x2d1)][_0x930325(0x20c)](),this[_0x930325(0x350)][_0x930325(0x20c)](),this[_0x930325(0x204)]();}['_onCombEvent'](_0x230924){const _0x1444f4=_0xc8d6e8;_0x230924['cmd']===W[_0x1444f4(0x475)]?this[_0x1444f4(0x25b)](_0x230924):_0x230924[_0x1444f4(0x2b2)]===W[_0x1444f4(0x4f5)]&&this[_0x1444f4(0x3d3)](_0x230924);}[_0xc8d6e8(0x327)](_0x62dff5){const _0x4c5a68=_0xc8d6e8;this[_0x4c5a68(0x350)][_0x4c5a68(0x3f0)](0x1),_0x62dff5[_0x4c5a68(0x3c1)]({'cmd':W[_0x4c5a68(0x475)],'routeKey':this[_0x4c5a68(0x2ed)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4c5a68(0x2ed)]}]}});}[_0xc8d6e8(0x25b)](_0x412e52){const _0x57d3d2=_0xc8d6e8;var _0x414f1c;if(_0x412e52[_0x57d3d2(0x53e)]===Is['FAIL']){this[_0x57d3d2(0x3f7)]['show']({'type':_0x49b044[_0x57d3d2(0x26c)],'content':this[_0x57d3d2(0x255)]['t'](_0x57d3d2(0x309))}),this['_sessionStatus$'][_0x57d3d2(0x3f0)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x45f22d=(_0x414f1c=_0x412e52[_0x57d3d2(0x464)][_0x57d3d2(0x3bf)][this[_0x57d3d2(0x2ed)]])==null?void 0x0:_0x414f1c[_0x57d3d2(0x2e8)];_0x45f22d&&_0x45f22d[_0x57d3d2(0x1da)](_0x1f37f9=>this[_0x57d3d2(0x253)][_0x57d3d2(0x288)](this['_unitID'],_0x1f37f9));}['_onRecvEvent'](_0xa7527d){const _0x4093c9=_0xc8d6e8;try{const _0x581acc=_0xa7527d['data'];switch(_0x581acc[_0x4093c9(0x411)]){case _0x275148[_0x4093c9(0x4d0)]:this[_0x4093c9(0x39a)](_0x581acc),this[_0x4093c9(0x2d1)]['next'](_0x581acc);break;case _0x275148[_0x4093c9(0x2bb)]:this[_0x4093c9(0x230)](_0x581acc),this[_0x4093c9(0x2d1)][_0x4093c9(0x3f0)](_0x581acc);break;case _0x275148['CHANGESET_ACK']:case _0x275148['CHANGESET_SHOULD_RETRY']:this[_0x4093c9(0x243)](),this[_0x4093c9(0x3b1)](),this[_0x4093c9(0x2d1)]['next'](_0x581acc);break;case _0x275148[_0x4093c9(0x525)]:this[_0x4093c9(0x355)][_0x4093c9(0x398)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x4093c9(0x306)](_0x581acc)),this[_0x4093c9(0x2d1)][_0x4093c9(0x3f0)](_0x581acc);break;case _0x275148[_0x4093c9(0x143)]:this[_0x4093c9(0x2df)][_0x4093c9(0x440)](_0x581acc[_0x4093c9(0x464)]),this[_0x4093c9(0x2d1)][_0x4093c9(0x3f0)](_0x581acc);break;default:this[_0x4093c9(0x2d1)][_0x4093c9(0x3f0)](_0x581acc);}}catch(_0x5d38b2){this[_0x4093c9(0x355)][_0x4093c9(0x398)](_0x5d38b2,_0xa7527d);}}['_onUserJoin'](_0x2dd0a8){const _0x44fb93=_0xc8d6e8;this[_0x44fb93(0x253)]['updateMember'](this[_0x44fb93(0x2ed)],_0x2dd0a8[_0x44fb93(0x464)]);}[_0xc8d6e8(0x230)](_0x2deff7){const _0x12d154=_0xc8d6e8;this['_memberService'][_0x12d154(0x122)](this[_0x12d154(0x2ed)],_0x2deff7[_0x12d154(0x464)][_0x12d154(0x3c4)]);}async[_0xc8d6e8(0x3c1)](_0x4330ba,_0x590861){const _0x3cb50c=_0xc8d6e8;if(this['sessionStatus']!==0x3||!this[_0x3cb50c(0x4ed)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4330ba[_0x3cb50c(0x411)]===_0x275148[_0x3cb50c(0x443)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x4330ba)),this['_socket']['send']({'cmd':W[_0x3cb50c(0x38f)],'routeKey':_0x590861,'routeType':'','data':_0x4330ba});}catch(_0x1eb0fd){this['_logService'][_0x3cb50c(0x398)](_0x1eb0fd);}}[_0xc8d6e8(0x47d)](){const _0x50397a=_0xc8d6e8;var _0x303aa6;this[_0x50397a(0x256)]=window[_0x50397a(0x232)](()=>{const _0x1baf77=_0x50397a;this[_0x1baf77(0x256)]=null,this[_0x1baf77(0x3f7)][_0x1baf77(0x339)]({'type':_0x49b044['Error'],'content':this['_localeService']['t'](_0x1baf77(0x4ec))});},(_0x303aa6=this[_0x50397a(0x23d)][_0x50397a(0x2ac)](bi))!=null?_0x303aa6:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x2dacc9=_0xc8d6e8;this[_0x2dacc9(0x256)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0xc8d6e8(0x349)](_0x4e7aa2){const _0x117339=_0xc8d6e8;if(!this[_0x117339(0x494)])return;const {data:_0x41f2bd}=_0x4e7aa2,{unitID:_0x5d325e,changeset:_0x3f00aa}=_0x41f2bd,{mutations:_0xa01402,type:_0xb47550}=_0x3f00aa;this['_telemetryInfo']={'unitId':_0x5d325e,'type':_0xb47550,'startTime':performance[_0x117339(0x21f)](),'stopTime':0x0,'duration':0x0,'size':Mr(_0xa01402)};}[_0xc8d6e8(0x243)](){const _0xce24ff=_0xc8d6e8;if(this[_0xce24ff(0x494)]){if(!this[_0xce24ff(0x246)]){this[_0xce24ff(0x355)][_0xce24ff(0x398)](_0xce24ff(0x181),_0xce24ff(0x4fa));return;}this[_0xce24ff(0x246)]['stopTime']=performance[_0xce24ff(0x21f)](),this[_0xce24ff(0x246)]['duration']=this[_0xce24ff(0x246)][_0xce24ff(0x330)]-this[_0xce24ff(0x246)]['startTime'],this[_0xce24ff(0x14a)][_0xce24ff(0x245)](Ar,this[_0xce24ff(0x246)]),this[_0xce24ff(0x246)]=null;}}[_0xc8d6e8(0x2ea)](){const _0x25bfa5=_0xc8d6e8;this[_0x25bfa5(0x246)]=null;}};ts=kr([Ee(0x2,_0x410e45),Ee(0x3,_0x55cff2),Ee(0x4,_0x1902d3),Ee(0x5,_0x450caa),Ee(0x6,_0x13f971(_0x8037c0)),Ee(0x7,_0x13f971(Me)),Ee(0x8,_0x13f971(wi)),Ee(0x9,_0x28e273(_0x15d9ac))],ts);var Wr=Object['defineProperty'],Fr=Object['getOwnPropertyDescriptor'],Vr=(_0x5ee402,_0x21972f,_0x248f00,_0xa1fbea)=>{const _0x288f44=_0xc8d6e8;for(var _0x7a00d=_0xa1fbea>0x1?void 0x0:_0xa1fbea?Fr(_0x21972f,_0x248f00):_0x21972f,_0x5070bd=_0x5ee402[_0x288f44(0x3d5)]-0x1,_0xc93396;_0x5070bd>=0x0;_0x5070bd--)(_0xc93396=_0x5ee402[_0x5070bd])&&(_0x7a00d=(_0xa1fbea?_0xc93396(_0x21972f,_0x248f00,_0x7a00d):_0xc93396(_0x7a00d))||_0x7a00d);return _0xa1fbea&&_0x7a00d&&Wr(_0x21972f,_0x248f00,_0x7a00d),_0x7a00d;},we=(_0x1b904d,_0x3bbcb6)=>(_0x2199af,_0x1d5fec)=>_0x3bbcb6(_0x2199af,_0x1d5fec,_0x1b904d);let xe=class extends _0x5e1db6{constructor(_0x450bf3,_0x14d2aa,_0x24b28c,_0x46d840,_0x4c0823,_0x3512cf,_0x50e23e){const _0x86bc7d=_0xc8d6e8;super(),g(this,'_socket$',new _0xfe121(void 0x0)),g(this,_0x86bc7d(0x3df),this[_0x86bc7d(0x391)][_0x86bc7d(0x4de)]()),g(this,_0x86bc7d(0x303),null),g(this,_0x86bc7d(0x369),new Map()),g(this,_0x86bc7d(0x126),new _0xfe121(ve[_0x86bc7d(0x3a2)])),g(this,_0x86bc7d(0x26f),this[_0x86bc7d(0x126)]['asObservable']()),g(this,_0x86bc7d(0x506),!0x1),g(this,_0x86bc7d(0x45c)),g(this,_0x86bc7d(0x1a4),0x0),g(this,_0x86bc7d(0x292)),g(this,'_timeoutTimer'),(this[_0x86bc7d(0x360)]=_0x450bf3,this[_0x86bc7d(0x255)]=_0x14d2aa,this[_0x86bc7d(0x3f7)]=_0x24b28c,this[_0x86bc7d(0x355)]=_0x46d840,this['_configService']=_0x4c0823,this['_socketService']=_0x3512cf,this['_httpService']=_0x50e23e,this[_0x86bc7d(0x1ac)]());}get[_0xc8d6e8(0x4ed)](){const _0x4dd275=_0xc8d6e8;return this[_0x4dd275(0x391)][_0x4dd275(0x388)]();}[_0xc8d6e8(0x1ac)](){const _0x424792=_0xc8d6e8;this[_0x424792(0x2fc)](),this[_0x424792(0x29e)]();}[_0xc8d6e8(0x204)](){const _0x513d87=_0xc8d6e8;super['dispose'](),this[_0x513d87(0x369)][_0x513d87(0x1da)](_0x28b218=>_0x28b218[_0x513d87(0x204)]()),this[_0x513d87(0x369)]['clear'](),this['_status$'][_0x513d87(0x20c)]();}async[_0xc8d6e8(0x392)](_0x34ce3d){const _0x5c1362=_0xc8d6e8;if(this['_sessions'][_0x5c1362(0x3eb)](_0x34ce3d))return this['_sessions'][_0x5c1362(0x2c2)](_0x34ce3d);this[_0x5c1362(0x48c)]();const _0x584d34=this[_0x5c1362(0x360)][_0x5c1362(0x15f)](ts,_0x34ce3d,this[_0x5c1362(0x391)][_0x5c1362(0x4de)]());return this[_0x5c1362(0x369)]['set'](_0x34ce3d,_0x584d34),_0x584d34;}[_0xc8d6e8(0x314)](_0x50e336){const _0xd65200=_0xc8d6e8;var _0x4b9515;const _0x48e42c=this['_sessions']['get'](_0x50e336);_0x48e42c&&(this[_0xd65200(0x369)][_0xd65200(0x2b0)](_0x50e336),_0x48e42c[_0xd65200(0x2ba)]()),this[_0xd65200(0x369)][_0xd65200(0x2b9)]||(_0x4b9515=this[_0xd65200(0x4ed)])==null||_0x4b9515[_0xd65200(0x2ba)]();}[_0xc8d6e8(0x1e6)](){const _0x44a4d6=_0xc8d6e8;this[_0x44a4d6(0x1a4)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x44a4d6(0x45c)]),this['_retryConnectingTimer']=null),this[_0x44a4d6(0x291)]();}async[_0xc8d6e8(0x15d)](){const _0xe8419b=_0xc8d6e8;var _0x26812b,_0x4dd2b4,_0x34b113;const _0x41e6b1=this[_0xe8419b(0x23d)]['getConfig'](te),_0x3d4351=(_0x26812b=_0x41e6b1==null?void 0x0:_0x41e6b1[_0xe8419b(0x509)])!=null?_0x26812b:fr;return(_0x34b113=(_0x4dd2b4=(await this[_0xe8419b(0x127)][_0xe8419b(0x2c2)](_0x3d4351,{'headers':{'Content-Type':_0xe8419b(0x48a)}}))['body'])==null?void 0x0:_0x4dd2b4[_0xe8419b(0x528)])!=null?_0x34b113:'';}[_0xc8d6e8(0x234)](_0x18a373){const _0x22d7b3=_0xc8d6e8;var _0x234eac,_0x4f4a66;const _0x34baf6=this['_configService'][_0x22d7b3(0x2ac)](ur),_0x57f9c6=this[_0x22d7b3(0x23d)][_0x22d7b3(0x2ac)](te),_0x23bb53=(_0x4f4a66=(_0x234eac=_0x57f9c6==null?void 0x0:_0x57f9c6[_0x22d7b3(0x1cb)])!=null?_0x234eac:_0x34baf6)!=null?_0x4f4a66:dr,_0x44f9eb=new URL(_0x23bb53,window['location'][_0x22d7b3(0x3de)]);return _0x44f9eb['searchParams'][_0x22d7b3(0x21c)](_0x22d7b3(0x31f),_0x18a373),_0x44f9eb[_0x22d7b3(0x41c)]();}async[_0xc8d6e8(0x2bd)](){const _0x2d95be=_0xc8d6e8,_0x4ce67a=await this[_0x2d95be(0x15d)](),_0x47ca1c=this[_0x2d95be(0x234)](_0x4ce67a),_0xc4b013=this[_0x2d95be(0x1ef)][_0x2d95be(0x265)](_0x47ca1c);return this[_0x2d95be(0x303)]=_0xc4b013,_0xc4b013;}async['_tryEnsureSocket'](){const _0x5c161=_0xc8d6e8;var _0x4eac1e,_0x18a2e8;try{const _0x3322a1=(_0x18a2e8=(_0x4eac1e=this[_0x5c161(0x4ed)])!=null?_0x4eac1e:this[_0x5c161(0x303)])!=null?_0x18a2e8:await this[_0x5c161(0x2bd)]();if(_0x3322a1){const _0x39c461=_0x3322a1[_0x5c161(0x3c1)];_0x3322a1[_0x5c161(0x3c1)]=_0x477daf=>(this[_0x5c161(0x1a6)](),_0x39c461[_0x5c161(0x4ab)](_0x3322a1,[_0x477daf])),_0x3322a1[_0x5c161(0x446)][_0x5c161(0x1ed)](_0x1e4d11=>this[_0x5c161(0x47c)](_0x3322a1,_0x1e4d11)),_0x3322a1[_0x5c161(0x3ec)][_0x5c161(0x236)](_0xaf14a2(0x1))[_0x5c161(0x1ed)](_0x1b11e0=>this[_0x5c161(0x355)][_0x5c161(0x398)](_0x5c161(0x21b),_0x1b11e0)),_0x3322a1[_0x5c161(0x1f7)][_0x5c161(0x236)](_0xaf14a2(0x1))['subscribe'](()=>{const _0x3deada=_0x5c161;this[_0x3deada(0x215)](_0x3322a1);}),_0x3322a1[_0x5c161(0x455)]['pipe'](_0xaf14a2(0x1))['subscribe'](_0x448a0c=>{const _0xec6099=_0x5c161;this[_0xec6099(0x355)][_0xec6099(0x184)](_0xec6099(0x3c6),_0xec6099(0x1b9),_0x448a0c),this[_0xec6099(0x262)]();});}}catch(_0x1b3979){this['_logService'][_0x5c161(0x398)](_0x1b3979),this[_0x5c161(0x262)]();}}['_onConnectionOpen'](_0x16c2d5){const _0x5f5307=_0xc8d6e8;this['_logService'][_0x5f5307(0x184)](_0x5f5307(0x3c6),'socket\x20open.'),_0x16c2d5[_0x5f5307(0x3c1)]({'cmd':W[_0x5f5307(0x456)]}),this['_rescheduleHeartbeat']();}[_0xc8d6e8(0x2fc)](){const _0x162706=_0xc8d6e8;window[_0x162706(0x1af)](_0x162706(0x2f0),()=>this[_0x162706(0x51c)]());}[_0xc8d6e8(0x51c)](){const _0x10cfcd=_0xc8d6e8;this[_0x10cfcd(0x506)]=!0x1,this[_0x10cfcd(0x303)]=null,this[_0x10cfcd(0x126)]['next'](ve[_0x10cfcd(0x428)]),this[_0x10cfcd(0x391)]['next'](null),this[_0x10cfcd(0x42e)](),this[_0x10cfcd(0x512)]();}[_0xc8d6e8(0x262)](){const _0x3e99be=_0xc8d6e8;var _0x2cd382;this[_0x3e99be(0x51c)](),this['_retryCount']<((_0x2cd382=this['_configService'][_0x3e99be(0x2ac)](gr))!=null?_0x2cd382:Sr)?(this[_0x3e99be(0x3f7)][_0x3e99be(0x339)]({'key':_0x3e99be(0x284),'type':_0x49b044[_0x3e99be(0x26c)],'content':this[_0x3e99be(0x255)]['t'](_0x3e99be(0x406))}),this[_0x3e99be(0x291)]()):this['_messageService'][_0x3e99be(0x339)]({'key':_0x3e99be(0x284),'type':_0x49b044[_0x3e99be(0x394)],'content':this[_0x3e99be(0x255)]['t'](_0x3e99be(0x1ca))});}[_0xc8d6e8(0x29e)](){const _0x358438=_0xc8d6e8,_0x35e729=()=>{const _0x408c06=_0x284c;this[_0x408c06(0x4ed)]||this[_0x408c06(0x1e6)]();},_0x31fde2=()=>{const _0x4acf70=_0x284c;this[_0x4acf70(0x4ed)]||document[_0x4acf70(0x20f)]===_0x4acf70(0x36c)||this[_0x4acf70(0x1e6)]();};window[_0x358438(0x1af)](_0x358438(0x2a6),_0x35e729),document[_0x358438(0x1af)](_0x358438(0x200),_0x31fde2);}[_0xc8d6e8(0x291)](){const _0x3f81a6=_0xc8d6e8;var _0xeb2548;const _0x5b3e4e=this[_0x3f81a6(0x1a4)],_0x331b70=this[_0x3f81a6(0x23d)][_0x3f81a6(0x2ac)](te),_0x2c69b5=_0x5b3e4e===0x0?0x0:((_0xeb2548=_0x331b70==null?void 0x0:_0x331b70[_0x3f81a6(0x521)])!=null?_0xeb2548:pr)*0x2**_0x5b3e4e;this['_retryConnectingTimer']=window[_0x3f81a6(0x232)](()=>{const _0x154128=_0x3f81a6;clearTimeout(this['_retryConnectingTimer']),this[_0x154128(0x45c)]=null,this[_0x154128(0x48c)]();},_0x2c69b5),this[_0x3f81a6(0x1a4)]+=0x1;}[_0xc8d6e8(0x47c)](_0x27b7a7,_0x32b478){const _0x21ee86=_0xc8d6e8,{cmd:_0x26b247}=_0x32b478;_0x26b247===W[_0x21ee86(0x456)]&&!this['_socketReady']&&(_0x27b7a7['memberID']=_0x32b478[_0x21ee86(0x464)]['memberID'],this[_0x21ee86(0x391)][_0x21ee86(0x3f0)](_0x27b7a7),this[_0x21ee86(0x126)][_0x21ee86(0x3f0)](ve['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x26b247===W[_0x21ee86(0x1f4)]&&this[_0x21ee86(0x42e)](),this['_rescheduleHeartbeat']();}[_0xc8d6e8(0x1a6)](){const _0x211cb5=_0xc8d6e8;var _0x4700a8;this['_clearHeartbeatTimer'](),this[_0x211cb5(0x292)]=window[_0x211cb5(0x232)](()=>this['_sendHeartbeat'](),(_0x4700a8=this[_0x211cb5(0x23d)][_0x211cb5(0x2ac)](vr))!=null?_0x4700a8:mr);}['_sendHeartbeat'](){const _0x57cb60=_0xc8d6e8;this[_0x57cb60(0x4ed)]['send']({'cmd':W[_0x57cb60(0x1f4)]}),this[_0x57cb60(0x466)]();}[_0xc8d6e8(0x466)](){const _0xd7cbe=_0xc8d6e8;var _0x4ba151;this[_0xd7cbe(0x1bd)]=window[_0xd7cbe(0x232)](()=>this[_0xd7cbe(0x262)](),(_0x4ba151=this[_0xd7cbe(0x23d)][_0xd7cbe(0x2ac)](bi))!=null?_0x4ba151:Ti);}[_0xc8d6e8(0x512)](){const _0x14da3e=_0xc8d6e8;this[_0x14da3e(0x292)]!=null&&(clearTimeout(this[_0x14da3e(0x292)]),this[_0x14da3e(0x292)]=null);}[_0xc8d6e8(0x42e)](){const _0x450172=_0xc8d6e8;this[_0x450172(0x1bd)]!=null&&(clearTimeout(this[_0x450172(0x1bd)]),this[_0x450172(0x1bd)]=null);}};xe=Vr([we(0x0,_0x13f971(_0x20e5db)),we(0x1,_0x13f971(_0x8037c0)),we(0x2,_0x1902d3),we(0x3,_0x410e45),we(0x4,_0x450caa),we(0x5,yi),we(0x6,_0x13f971(_0x5874d1))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0xc8d6e8(0x183)]((i+0x100)[_0xc8d6e8(0x41c)](0x10)[_0xc8d6e8(0x357)](0x1));function Gr(_0x38ce18,_0x5931ee=0x0){const _0x1797c7=_0xc8d6e8;return(Y[_0x38ce18[_0x5931ee+0x0]]+Y[_0x38ce18[_0x5931ee+0x1]]+Y[_0x38ce18[_0x5931ee+0x2]]+Y[_0x38ce18[_0x5931ee+0x3]]+'-'+Y[_0x38ce18[_0x5931ee+0x4]]+Y[_0x38ce18[_0x5931ee+0x5]]+'-'+Y[_0x38ce18[_0x5931ee+0x6]]+Y[_0x38ce18[_0x5931ee+0x7]]+'-'+Y[_0x38ce18[_0x5931ee+0x8]]+Y[_0x38ce18[_0x5931ee+0x9]]+'-'+Y[_0x38ce18[_0x5931ee+0xa]]+Y[_0x38ce18[_0x5931ee+0xb]]+Y[_0x38ce18[_0x5931ee+0xc]]+Y[_0x38ce18[_0x5931ee+0xd]]+Y[_0x38ce18[_0x5931ee+0xe]]+Y[_0x38ce18[_0x5931ee+0xf]])[_0x1797c7(0x162)]();}let Nt;const Yr=new Uint8Array(0x10);function Kr(){const _0x878b60=_0xc8d6e8;if(!Nt){if(typeof crypto>'u'||!crypto[_0x878b60(0x435)])throw new Error(_0x878b60(0x463));Nt=crypto['getRandomValues'][_0x878b60(0x491)](crypto);}return Nt(Yr);}const zr=typeof crypto<'u'&&crypto[_0xc8d6e8(0x4a4)]&&crypto[_0xc8d6e8(0x4a4)][_0xc8d6e8(0x491)](crypto),js={'randomUUID':zr};function qr(_0x4feef8,_0x6a232c,_0x2afe44){const _0x3378b7=_0xc8d6e8;if(js[_0x3378b7(0x4a4)]&&!_0x6a232c&&!_0x4feef8)return js[_0x3378b7(0x4a4)]();_0x4feef8=_0x4feef8||{};const _0x38489c=_0x4feef8[_0x3378b7(0x51a)]||(_0x4feef8['rng']||Kr)();return _0x38489c[0x6]=_0x38489c[0x6]&0xf|0x40,_0x38489c[0x8]=_0x38489c[0x8]&0x3f|0x80,Gr(_0x38489c);}var Xr=Object[_0xc8d6e8(0x17a)],Jr=Object['getOwnPropertyDescriptor'],Zr=(_0x43581c,_0x236e95,_0x2e6800,_0x38228e)=>{const _0x2a4330=_0xc8d6e8;for(var _0x27eeb8=_0x38228e>0x1?void 0x0:_0x38228e?Jr(_0x236e95,_0x2e6800):_0x236e95,_0x1fd96e=_0x43581c[_0x2a4330(0x3d5)]-0x1,_0x3b4004;_0x1fd96e>=0x0;_0x1fd96e--)(_0x3b4004=_0x43581c[_0x1fd96e])&&(_0x27eeb8=(_0x38228e?_0x3b4004(_0x236e95,_0x2e6800,_0x27eeb8):_0x3b4004(_0x27eeb8))||_0x27eeb8);return _0x38228e&&_0x27eeb8&&Xr(_0x236e95,_0x2e6800,_0x27eeb8),_0x27eeb8;},At=(_0x1a51bd,_0xf711eb)=>(_0x2eaf35,_0x41b47f)=>_0xf711eb(_0x2eaf35,_0x41b47f,_0x1a51bd);let ft=class{constructor(_0x4e269c,_0x26adf5,_0x314f3e){const _0x3e61bd=_0xc8d6e8;this[_0x3e61bd(0x360)]=_0x4e269c,this[_0x3e61bd(0x196)]=_0x26adf5,this[_0x3e61bd(0x3ce)]=_0x314f3e;}[_0xc8d6e8(0x319)](_0x2dd337){const _0x57626f=_0xc8d6e8;this[_0x57626f(0x50b)](_0x2dd337),this[_0x57626f(0x1c4)](_0x2dd337);}[_0xc8d6e8(0x34b)](_0x332d79){const _0x33cdac=_0xc8d6e8,{unitID:_0x41c0d2}=_0x332d79,_0x418709=this['_renderManagerService'][_0x33cdac(0x352)](_0x41c0d2)[_0x33cdac(0x1d1)](_0x50fd0b),{redoCache:_0x3cd7b3}=_0x418709[_0x33cdac(0x244)]();if(_0x3cd7b3[_0x33cdac(0x3d5)]===0x0)return _0x332d79;let _0x343900=_0x4ef2fc[_0x33cdac(0x44c)](_0x332d79[_0x33cdac(0x133)][0x0]);for(let _0x30a51c=0x0;_0x30a51c<_0x3cd7b3[_0x33cdac(0x3d5)];_0x30a51c++){const _0x965f5a={'id':'doc.mutation.rich-text-editing','params':{..._0x3cd7b3[_0x30a51c]}},_0x21174d=this['_transformService']['transformMutation'](_0x343900,_0x965f5a,!0x1);if(_0x240244(_0x21174d))throw _0x21174d[_0x33cdac(0x398)];_0x343900=_0x21174d[_0x33cdac(0x4bf)];}return{..._0x4ef2fc['deepClone'](_0x332d79),'mutations':[_0x343900]};}[_0xc8d6e8(0x50b)](_0xcc6e2d){const _0x1ed592=_0xc8d6e8,{unitID:_0x4e5e1f}=_0xcc6e2d,_0x2949a5=this[_0x1ed592(0x3ce)][_0x1ed592(0x352)](_0x4e5e1f)[_0x1ed592(0x1d1)](_0x50fd0b),{undoCache:_0x51a8d0,redoCache:_0x327e65}=_0x2949a5[_0x1ed592(0x244)]();if(_0x51a8d0[_0x1ed592(0x3d5)]===0x0||_0x327e65[_0x1ed592(0x3d5)]===0x0)return;const _0x1efdf1=[],_0x3403d3=[];let _0x5d41f1=_0x4ef2fc[_0x1ed592(0x44c)](_0xcc6e2d[_0x1ed592(0x133)][0x0]),_0x568056=_0x4ef2fc['deepClone'](_0xcc6e2d[_0x1ed592(0x133)][0x0]);for(let _0x224cd7=_0x51a8d0['length']-0x1;_0x224cd7>=0x0;_0x224cd7--){const _0x28b9da={'id':'doc.mutation.rich-text-editing','params':{..._0x51a8d0[_0x224cd7]}},_0x48a043={'id':'doc.mutation.rich-text-editing','params':{..._0x327e65[_0x224cd7]}},_0x4278e7=this[_0x1ed592(0x196)][_0x1ed592(0x405)](_0x5d41f1,_0x28b9da,!0x1),_0x47cfc3=this[_0x1ed592(0x196)][_0x1ed592(0x405)](_0x568056,_0x48a043,!0x1);if(_0x240244(_0x4278e7))throw _0x4278e7[_0x1ed592(0x398)];if(_0x240244(_0x47cfc3))throw _0x47cfc3['error'];_0x1efdf1[_0x1ed592(0x1ab)](_0x4278e7[_0x1ed592(0x535)][_0x1ed592(0x477)]),_0x3403d3[_0x1ed592(0x1ab)](_0x47cfc3[_0x1ed592(0x535)]['params']),_0x5d41f1=_0x4278e7[_0x1ed592(0x4bf)],_0x568056=_0x47cfc3[_0x1ed592(0x4bf)];}_0x2949a5[_0x1ed592(0x516)]({'undoCache':_0x1efdf1,'redoCache':_0x3403d3});}[_0xc8d6e8(0x1c4)](_0x183300){const _0x500cac=_0xc8d6e8,{unitID:_0x5535de}=_0x183300,_0x3c8dc8=this[_0x500cac(0x3ce)][_0x500cac(0x352)](_0x5535de)[_0x500cac(0x1d1)](_0x50fd0b),_0x4e9fcc=_0x3c8dc8[_0x500cac(0x270)]();if(_0x4e9fcc==null)return;const _0x492140=[{'id':_0x500cac(0x156),'params':{'unitId':_0x183300[_0x500cac(0x17c)],'actions':null,'textRanges':[_0x4e9fcc]}}],_0xf04357=this['_transformService'][_0x500cac(0x370)](_0x183300,_0x492140);if(!_0x22d9be(_0xf04357))throw _0xf04357['error'];const _0x42fe5b=_0xf04357[_0x500cac(0x535)][0x0][_0x500cac(0x477)][_0x500cac(0x2b4)];Array[_0x500cac(0x254)](_0x42fe5b)&&_0x42fe5b[_0x500cac(0x3d5)]&&_0x3c8dc8[_0x500cac(0x24e)](_0x42fe5b[0x0]);}};ft=Zr([At(0x0,_0x13f971(_0x20e5db)),At(0x1,_0x59efa9),At(0x2,_0x272410)],ft);var Qr=Object[_0xc8d6e8(0x17a)],eo=Object[_0xc8d6e8(0x4d8)],to=(_0x3ed7df,_0x57cd7e,_0x8b0ddb,_0xb29b5e)=>{const _0xb3a97c=_0xc8d6e8;for(var _0x3839d2=_0xb29b5e>0x1?void 0x0:_0xb29b5e?eo(_0x57cd7e,_0x8b0ddb):_0x57cd7e,_0x4ba0ad=_0x3ed7df[_0xb3a97c(0x3d5)]-0x1,_0x58a712;_0x4ba0ad>=0x0;_0x4ba0ad--)(_0x58a712=_0x3ed7df[_0x4ba0ad])&&(_0x3839d2=(_0xb29b5e?_0x58a712(_0x57cd7e,_0x8b0ddb,_0x3839d2):_0x58a712(_0x3839d2))||_0x3839d2);return _0xb29b5e&&_0x3839d2&&Qr(_0x57cd7e,_0x8b0ddb,_0x3839d2),_0x3839d2;},Xe=(_0x58841c,_0x3859a2)=>(_0x1aae4c,_0x159abb)=>_0x3859a2(_0x1aae4c,_0x159abb,_0x58841c);let q=class extends _0x5e1db6{constructor(_0x97804d,_0x498ef6,_0x31d8bd,_0xb4a45,_0xfdee07){const _0x5dbd0e=_0xc8d6e8;super(),g(this,_0x5dbd0e(0x2b3),new Map()),g(this,_0x5dbd0e(0x203),new Map()),g(this,_0x5dbd0e(0x290),!0x1),(this[_0x5dbd0e(0x23d)]=_0x97804d,this['_localStorageService']=_0x498ef6,this[_0x5dbd0e(0x1c8)]=_0x31d8bd,this['_localeService']=_0xb4a45,this[_0x5dbd0e(0x2d3)]=_0xfdee07,this[_0x5dbd0e(0x453)]());}[_0xc8d6e8(0x43a)](){this['_disabled']=!0x0;}[_0xc8d6e8(0x19c)](){this['_disabled']=!0x1;}[_0xc8d6e8(0x204)](){const _0x59ce1e=_0xc8d6e8;this[_0x59ce1e(0x368)]()[_0x59ce1e(0x3e0)](()=>super[_0x59ce1e(0x204)]());}async[_0xc8d6e8(0x432)](_0x3bc939){const _0x53938c=_0xc8d6e8;return this[_0x53938c(0x290)]?null:this['_localStorageService'][_0x53938c(0x297)](Bs(_0x3bc939));}async[_0xc8d6e8(0x333)](_0x25e599,_0x3f68ed){const _0x140f0b=_0xc8d6e8;return!!this['_localStorageService'][_0x140f0b(0x498)](_0x25e599,_0x3f68ed);}[_0xc8d6e8(0x2f3)](_0x1003ab,_0x242421,_0x452ea8,_0x15f8bb){const _0x2d134c=_0xc8d6e8,_0x5772ab=this[_0x2d134c(0x2d3)][_0x2d134c(0x2f7)](_0x1003ab);this[_0x2d134c(0x2b3)][_0x2d134c(0x21c)](_0x1003ab,{'unitID':_0x1003ab,'type':_0x242421,'awaitingChangeset':_0x452ea8,'mutations':_0x15f8bb,'rev':_0x5772ab}),this['_saveTaskMap'][_0x2d134c(0x3eb)](_0x1003ab)||this[_0x2d134c(0x52f)](_0x1003ab);}[_0xc8d6e8(0x52f)](_0x454911){const _0xe66b71=_0xc8d6e8,_0x2c8f01=this['_getSaveTimeout']();_0x2c8f01===0x0?this[_0xe66b71(0x354)](_0x454911):this[_0xe66b71(0x203)][_0xe66b71(0x21c)](_0x454911,setTimeout(()=>this[_0xe66b71(0x354)](_0x454911),_0x2c8f01));}[_0xc8d6e8(0x540)](){const _0x1a2386=_0xc8d6e8;var _0x29ae1d;return(_0x29ae1d=this[_0x1a2386(0x23d)]['getConfig'](Ir))!=null?_0x29ae1d:Cr;}['_saveCache'](_0x44c1be){const _0x343169=_0xc8d6e8,_0x2baf1a=this[_0x343169(0x203)][_0x343169(0x2c2)](_0x44c1be);return _0x2baf1a!==void 0x0&&window['clearTimeout'](_0x2baf1a),this['_localStorageService'][_0x343169(0x498)](Bs(_0x44c1be),this[_0x343169(0x2b3)][_0x343169(0x2c2)](_0x44c1be))['then'](()=>this['_saveTaskMap'][_0x343169(0x2b0)](_0x44c1be));}async[_0xc8d6e8(0x368)](){const _0x352bfa=_0xc8d6e8,_0x10a89a=[];this['_saveTaskMap']['forEach']((_0x30181b,_0x4ca264)=>{const _0x227646=_0x284c;window[_0x227646(0x53c)](_0x30181b),_0x10a89a[_0x227646(0x183)](this[_0x227646(0x354)](_0x4ca264)[_0x227646(0x3e0)](()=>{const _0x1172a0=_0x227646;this[_0x1172a0(0x203)][_0x1172a0(0x2b0)](_0x4ca264);}));}),await Promise[_0x352bfa(0x14f)](_0x10a89a);}[_0xc8d6e8(0x453)](){const _0x385c49=_0xc8d6e8;this[_0x385c49(0x43e)](this[_0x385c49(0x1c8)]['registerBeforeClose'](()=>{const _0x3d5452=_0x385c49;if(this[_0x3d5452(0x203)][_0x3d5452(0x2b9)])return this[_0x3d5452(0x255)]['t']('collaboration-client.offline-data-not-saved');}));}};q=to([Xe(0x0,_0x450caa),Xe(0x1,_0x50a513),Xe(0x2,_0x55cff2),Xe(0x3,_0x13f971(_0x8037c0)),Xe(0x4,_0x13f971(_0x15b6ba))],q);function Bs(_0x2867ca){const _0x817884=_0xc8d6e8;return _0x817884(0x146)+_0x2867ca;}var so=Object[_0xc8d6e8(0x17a)],io=Object['getOwnPropertyDescriptor'],no=(_0x2322d0,_0x71848e,_0x266715,_0x23eabf)=>{const _0x26a10b=_0xc8d6e8;for(var _0x344170=_0x23eabf>0x1?void 0x0:_0x23eabf?io(_0x71848e,_0x266715):_0x71848e,_0x59a563=_0x2322d0[_0x26a10b(0x3d5)]-0x1,_0x7c0462;_0x59a563>=0x0;_0x59a563--)(_0x7c0462=_0x2322d0[_0x59a563])&&(_0x344170=(_0x23eabf?_0x7c0462(_0x71848e,_0x266715,_0x344170):_0x7c0462(_0x344170))||_0x344170);return _0x23eabf&&_0x344170&&so(_0x71848e,_0x266715,_0x344170),_0x344170;},Mt=(_0x53b2f2,_0x4c972b)=>(_0x20ee8b,_0x4ab461)=>_0x4c972b(_0x20ee8b,_0x4ab461,_0x53b2f2);function ro(_0x3e080b){const _0x448d01=_0xc8d6e8,{unitID:_0x33e4b7,mutations:_0x59ab22}=_0x3e080b;return{'unitId':_0x33e4b7,'subUnitId':_0x59ab22[0x0][_0x448d01(0x477)][_0x448d01(0x48b)]};}let vt=class{constructor(_0x502c5e,_0x50a028,_0x5a30af){const _0x4e3c07=_0xc8d6e8;this[_0x4e3c07(0x360)]=_0x502c5e,this['_transformService']=_0x50a028,this['_instanceService']=_0x5a30af;}[_0xc8d6e8(0x38c)](_0x51faad){const _0x2e8138=_0xc8d6e8;var _0x2bf06d,_0x3a7f74,_0x1fbe1b,_0x41a57d;const _0x25b224=this[_0x2e8138(0x360)][_0x2e8138(0x2c2)](_0x1e03cb),{unitId:_0xa62e56,subUnitId:_0x595d7f}=ro(_0x51faad),_0x54303d=_0x25b224[_0x2e8138(0x478)](_0xa62e56)[_0x2e8138(0x444)](),_0x53f614=(_0x3a7f74=(_0x2bf06d=this['_instanceService'][_0x2e8138(0x4fe)](_0xa62e56))==null?void 0x0:_0x2bf06d[_0x2e8138(0x404)]())==null?void 0x0:_0x3a7f74[_0x2e8138(0x3d7)]();if(_0x54303d['length']===0x0||!_0xa62e56||!_0x595d7f)return;const _0x2e8b0f=[{'id':_0x2c4628['id'],'params':{'unitId':_0xa62e56,'subUnitId':_0x53f614,'selections':_0x4ef2fc[_0x2e8138(0x44c)](_0x54303d)}}],_0x5f3724=this['_transformService'][_0x2e8138(0x370)](_0x51faad,_0x2e8b0f);if(!_0x22d9be(_0x5f3724))throw _0x5f3724[_0x2e8138(0x398)];const _0x4bfd41=(_0x41a57d=(_0x1fbe1b=_0x5f3724[_0x2e8138(0x535)][0x0])==null?void 0x0:_0x1fbe1b[_0x2e8138(0x477)])==null?void 0x0:_0x41a57d[_0x2e8138(0x3b2)];if(Array[_0x2e8138(0x254)](_0x4bfd41)&&_0x4bfd41[_0x2e8138(0x3d5)]){if(_0x4bfd41['length']===_0x2e8b0f[0x0][_0x2e8138(0x477)]['selections'][_0x2e8138(0x3d5)]&&_0x4bfd41[_0x2e8138(0x43d)]((_0x53687b,_0x2f8737)=>_0x3cb9ac[_0x2e8138(0x18b)](_0x53687b[_0x2e8138(0x4a8)],_0x2e8b0f[0x0][_0x2e8138(0x477)][_0x2e8138(0x3b2)][_0x2f8737]['range'])))return;this[_0x2e8138(0x360)][_0x2e8138(0x2c2)](_0x4171ed)['executeCommand'](_0x2c4628['id'],{'unitId':_0xa62e56,'subUnitId':_0x53f614,'selections':_0x4bfd41});}}};vt=no([Mt(0x0,_0x13f971(_0x20e5db)),Mt(0x1,_0x59efa9),Mt(0x2,_0x2ddd21)],vt);const Rt=_0x84987f(_0xc8d6e8(0x52d));var Di=(_0x2ff1e4=>(_0x2ff1e4[_0x2ff1e4[_0xc8d6e8(0x4e8)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2ff1e4[_0x2ff1e4[_0xc8d6e8(0x4fc)]=0x1]='OTHER_CLIENTS_EDITING',_0x2ff1e4))(Di||{});const ks=0x7530,Ws=_0xc8d6e8(0x500);class oo extends _0x5e1db6{constructor(){const _0x4467c2=_0xc8d6e8;super(),g(this,_0x4467c2(0x437),_0x4ef2fc[_0x4467c2(0x347)]()),g(this,_0x4467c2(0x2e9),new Set()),g(this,_0x4467c2(0x277),new Map()),g(this,'_heartbeatTimer',null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0x4467c2(0x36a)]();}[_0xc8d6e8(0x204)](){const _0x308e3f=_0xc8d6e8;super[_0x308e3f(0x204)](),this['_clearOtherTimers'][_0x308e3f(0x1da)]((_0x1a3c7a,_0x2655e6)=>this[_0x308e3f(0x316)](_0x2655e6)),this[_0x308e3f(0x12f)]&&window['clearInterval'](this[_0x308e3f(0x12f)]);}[_0xc8d6e8(0x2ec)](_0x2311b2){const _0xd7256=_0xc8d6e8;return this[_0xd7256(0x21e)](_0x2311b2)[_0xd7256(0x236)](_0x5b41b7());}[_0xc8d6e8(0x3fc)](_0x4b22af){const _0x55f82b=_0xc8d6e8;this[_0x55f82b(0x2e9)][_0x55f82b(0x2b9)]===0x0&&this['_scheduleHeartbeat'](),this[_0x55f82b(0x2e9)][_0x55f82b(0x31c)](_0x4b22af),this[_0x55f82b(0x275)]({'type':0x0,'memberID':this[_0x55f82b(0x437)],'unitIDs':[_0x4b22af],'isForwarded':!0x1});}['disposeUnit'](_0xf52f7f){const _0x3109d0=_0xc8d6e8;this[_0x3109d0(0x2e9)]['delete'](_0xf52f7f),this[_0x3109d0(0x2e9)][_0x3109d0(0x2b9)]===0x0&&this[_0x3109d0(0x12f)]&&window[_0x3109d0(0x1eb)](this[_0x3109d0(0x12f)]);}[_0xc8d6e8(0x36a)](){const _0x89a533=_0xc8d6e8;this[_0x89a533(0x43e)](_0x4e58a4(_0x4ee00c(window,'storage')[_0x89a533(0x1ed)](_0x32df79=>{const _0x220107=_0x89a533;if(_0x32df79[_0x220107(0x1e3)]!==Ws||!_0x32df79[_0x220107(0x41f)])return;const _0x24307c=JSON[_0x220107(0x4d2)](_0x32df79['newValue']);this['_handleEvent'](_0x24307c);}))),window[_0x89a533(0x1af)](_0x89a533(0x282),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x89a533(0x381)](this[_0x89a533(0x2e9)])}));}['_handleEvent'](_0x98cd48){const _0x27edcf=_0xc8d6e8;switch(_0x98cd48['type']){case 0x0:this[_0x27edcf(0x41a)](_0x98cd48);break;case 0x1:this[_0x27edcf(0x222)](_0x98cd48);break;case 0x2:this[_0x27edcf(0x171)](_0x98cd48);break;}}[_0xc8d6e8(0x41a)](_0x20e758){const _0x5b3bc3=_0xc8d6e8,{unitIDs:_0x414f7f,memberID:_0x50db0b,isForwarded:_0x18c637}=_0x20e758;_0x414f7f[_0x5b3bc3(0x1da)](_0x37e360=>{const _0x1f9008=_0x5b3bc3;if(!_0x18c637&&this[_0x1f9008(0x277)][_0x1f9008(0x3eb)](_0x37e360)&&this[_0x1f9008(0x21e)](_0x37e360)['next'](0x1),!this['_unitOnClients'][_0x1f9008(0x3eb)](_0x37e360)||!this['_unitOnClients']['get'](_0x37e360)[_0x1f9008(0x3eb)](_0x50db0b)){const _0x1106cf=this[_0x1f9008(0x277)]['get'](_0x37e360)||new Set();_0x1106cf[_0x1f9008(0x31c)](_0x50db0b),this[_0x1f9008(0x277)][_0x1f9008(0x21c)](_0x37e360,_0x1106cf),this[_0x1f9008(0x197)](_0x50db0b);}}),_0x18c637||this['_send']({'type':0x0,'memberID':this[_0x5b3bc3(0x437)],'unitIDs':[...this[_0x5b3bc3(0x2e9)]],'isForwarded':!0x0});}[_0xc8d6e8(0x197)](_0x5abf2a){const _0x19415a=_0xc8d6e8;this[_0x19415a(0x316)](_0x5abf2a);const _0x1337cd=window[_0x19415a(0x232)](()=>{const _0x37ea25=_0x19415a;this[_0x37ea25(0x277)][_0x37ea25(0x1da)](_0x2eb637=>{const _0x1718b6=_0x37ea25;_0x2eb637[_0x1718b6(0x2b0)](_0x5abf2a);});},ks*0x2);this[_0x19415a(0x1f5)][_0x19415a(0x21c)](_0x5abf2a,_0x1337cd);}[_0xc8d6e8(0x316)](_0x18c3d2){const _0x5c0f04=_0xc8d6e8;if(this[_0x5c0f04(0x1f5)][_0x5c0f04(0x3eb)](_0x18c3d2)){const _0x1087d0=this[_0x5c0f04(0x1f5)][_0x5c0f04(0x2c2)](_0x18c3d2);_0x1087d0&&window[_0x5c0f04(0x53c)](_0x1087d0),this[_0x5c0f04(0x1f5)][_0x5c0f04(0x21c)](_0x18c3d2,null);}}['_handleLeaveEvent'](_0x204f5f){const _0x19c99f=_0xc8d6e8,{memberID:_0x2f072d,unitIDs:_0x45ed36}=_0x204f5f;_0x45ed36['forEach'](_0xafaa05=>{const _0x364cb7=_0x284c;var _0xbcda96;const _0x4dfd7a=this['_unitOnClients'][_0x364cb7(0x2c2)](_0xafaa05);_0x4dfd7a&&(_0x4dfd7a['delete'](_0x2f072d),(_0xbcda96=this[_0x364cb7(0x21e)](_0xafaa05))==null||_0xbcda96[_0x364cb7(0x3f0)](_0x4dfd7a[_0x364cb7(0x2b9)]===0x0?0x0:0x1));}),this[_0x19c99f(0x316)](_0x2f072d);}[_0xc8d6e8(0x171)](_0x1f3c7b){this['_scheduleClearOtherTimer'](_0x1f3c7b['memberID']);}[_0xc8d6e8(0x275)](_0x4acc1b){const _0x597058=_0xc8d6e8;localStorage[_0x597058(0x498)](Ws,JSON[_0x597058(0x306)](_0x4acc1b));}[_0xc8d6e8(0x351)](){const _0x417060=_0xc8d6e8;this[_0x417060(0x12f)]=window[_0x417060(0x1d6)](()=>{const _0x14541e=_0x417060;this[_0x14541e(0x275)]({'type':0x2,'memberID':this[_0x14541e(0x437)]});},ks);}[_0xc8d6e8(0x21e)](_0x1908f0){const _0x363e84=_0xc8d6e8;return this[_0x363e84(0x399)][_0x363e84(0x3eb)](_0x1908f0)||this[_0x363e84(0x399)][_0x363e84(0x21c)](_0x1908f0,new _0xfe121(0x0)),this[_0x363e84(0x399)][_0x363e84(0x2c2)](_0x1908f0);}}var ao=Object[_0xc8d6e8(0x17a)],co=Object[_0xc8d6e8(0x4d8)],ho=(_0x351b2f,_0x4b3e2a,_0x59ddec,_0x46ab7a)=>{const _0x19aec0=_0xc8d6e8;for(var _0x415327=_0x46ab7a>0x1?void 0x0:_0x46ab7a?co(_0x4b3e2a,_0x59ddec):_0x4b3e2a,_0x3444ff=_0x351b2f[_0x19aec0(0x3d5)]-0x1,_0x2781ed;_0x3444ff>=0x0;_0x3444ff--)(_0x2781ed=_0x351b2f[_0x3444ff])&&(_0x415327=(_0x46ab7a?_0x2781ed(_0x4b3e2a,_0x59ddec,_0x415327):_0x2781ed(_0x415327))||_0x415327);return _0x46ab7a&&_0x415327&&ao(_0x4b3e2a,_0x59ddec,_0x415327),_0x415327;},xt=(_0x296510,_0x8d0fe9)=>(_0x32e646,_0x5caef1)=>_0x8d0fe9(_0x32e646,_0x5caef1,_0x296510);let mt=class{constructor(_0x232670,_0x1c0d32,_0x5af3b5){const _0x433039=_0xc8d6e8;this[_0x433039(0x360)]=_0x232670,this[_0x433039(0x196)]=_0x1c0d32,this['_docStateChangeManagerService']=_0x5af3b5;}[_0xc8d6e8(0x27a)](_0x5bc7b7){const _0xfb4d77=_0xc8d6e8;this[_0xfb4d77(0x4e6)](_0x5bc7b7);}[_0xc8d6e8(0x34b)](_0x21da26){const _0x5857db=_0xc8d6e8,{unitID:_0x5d1c3a}=_0x21da26,{collaboration:_0x5df8d7}=this[_0x5857db(0x3e6)]['getStateCache'](_0x5d1c3a);if(_0x5df8d7[_0x5857db(0x3d5)]===0x0)return _0x21da26;let _0x8d6a47=_0x4ef2fc[_0x5857db(0x44c)](_0x21da26[_0x5857db(0x133)][0x0]);for(let _0x3a3b79=0x0;_0x3a3b79<_0x5df8d7['length'];_0x3a3b79++){const _0x3b06ce={'id':_0x5857db(0x156),'params':{'unitId':_0x5df8d7[_0x3a3b79][_0x5857db(0x367)],..._0x5df8d7[_0x3a3b79]['redoState']}},_0x5274c6=this[_0x5857db(0x196)]['transformMutation'](_0x8d6a47,_0x3b06ce,!0x1);if(_0x240244(_0x5274c6))throw _0x5274c6['error'];_0x8d6a47=_0x5274c6['m1Prime'];}return{..._0x4ef2fc[_0x5857db(0x44c)](_0x21da26),'mutations':[_0x8d6a47]};}[_0xc8d6e8(0x4e6)](_0x4669f8){const _0x4656e8=_0xc8d6e8,{unitID:_0x3f4815}=_0x4669f8,{history:_0x48a5b6,collaboration:_0x282bd1}=this[_0x4656e8(0x3e6)]['getStateCache'](_0x3f4815);if(_0x48a5b6['length']===0x0&&_0x282bd1[_0x4656e8(0x3d5)]===0x0)return;const _0x3b12b1=[],_0x2dd2f2=[];let _0x1eee36=_0x4ef2fc[_0x4656e8(0x44c)](_0x4669f8[_0x4656e8(0x133)][0x0]),_0x101275=_0x4ef2fc[_0x4656e8(0x44c)](_0x4669f8[_0x4656e8(0x133)][0x0]);for(let _0x2dc15f=_0x48a5b6[_0x4656e8(0x3d5)]-0x1;_0x2dc15f>=0x0;_0x2dc15f--){const _0x48ee4c={'id':_0x4656e8(0x156),'params':{'unitId':_0x48a5b6[_0x2dc15f]['unitId'],..._0x48a5b6[_0x2dc15f][_0x4656e8(0x3e8)]}},_0x56b9f1={'id':_0x4656e8(0x156),'params':{'unitId':_0x48a5b6[_0x2dc15f][_0x4656e8(0x367)],..._0x48a5b6[_0x2dc15f]['redoState']}},_0x307330=this['_transformService'][_0x4656e8(0x405)](_0x1eee36,_0x48ee4c,!0x1),_0x2da6b5=this[_0x4656e8(0x196)][_0x4656e8(0x405)](_0x101275,_0x56b9f1,!0x1);if(_0x240244(_0x307330))throw _0x307330['error'];if(_0x240244(_0x2da6b5))throw _0x2da6b5[_0x4656e8(0x398)];_0x3b12b1[_0x4656e8(0x1ab)]({..._0x48a5b6[_0x2dc15f],'undoState':_0x307330['m2Prime'][_0x4656e8(0x477)],'redoState':_0x2da6b5[_0x4656e8(0x535)][_0x4656e8(0x477)]}),_0x1eee36=_0x307330[_0x4656e8(0x4bf)],_0x101275=_0x2da6b5[_0x4656e8(0x4bf)];}_0x1eee36=_0x4ef2fc[_0x4656e8(0x44c)](_0x4669f8[_0x4656e8(0x133)][0x0]),_0x101275=_0x4ef2fc['deepClone'](_0x4669f8[_0x4656e8(0x133)][0x0]);for(let _0x13565a=_0x282bd1[_0x4656e8(0x3d5)]-0x1;_0x13565a>=0x0;_0x13565a--){const _0x4e2136={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x282bd1[_0x13565a][_0x4656e8(0x367)],..._0x282bd1[_0x13565a]['undoState']}},_0x5eaeff={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x282bd1[_0x13565a][_0x4656e8(0x367)],..._0x282bd1[_0x13565a][_0x4656e8(0x202)]}},_0x4bacce=this[_0x4656e8(0x196)]['transformMutation'](_0x1eee36,_0x4e2136,!0x1),_0xfa3732=this[_0x4656e8(0x196)][_0x4656e8(0x405)](_0x101275,_0x5eaeff,!0x1);if(_0x240244(_0x4bacce))throw _0x4bacce['error'];if(_0x240244(_0xfa3732))throw _0xfa3732[_0x4656e8(0x398)];_0x2dd2f2[_0x4656e8(0x1ab)]({..._0x282bd1[_0x13565a],'undoState':_0x4bacce['m2Prime'][_0x4656e8(0x477)],'redoState':_0xfa3732['m2Prime'][_0x4656e8(0x477)]}),_0x1eee36=_0x4bacce[_0x4656e8(0x4bf)],_0x101275=_0xfa3732[_0x4656e8(0x4bf)];}this[_0x4656e8(0x3e6)][_0x4656e8(0x4f4)](_0x3f4815,{'history':_0x3b12b1,'collaboration':_0x2dd2f2});}};mt=ho([xt(0x0,_0x13f971(_0x20e5db)),xt(0x1,_0x59efa9),xt(0x2,_0x13f971(_0x1fa86f))],mt);function Pi(_0x46d145){const _0x391c46=_0xc8d6e8;let _0x480250='';for(const _0x47d9ba of _0x46d145){const {startOffset:_0x2cd5a3,endOffset:_0x23e7a2,isActive:_0x49f223,rangeType:_0x464694,segmentId:_0x2b1c6c,segmentPage:_0x173e84}=_0x47d9ba;_0x480250[_0x391c46(0x3d5)]&&(_0x480250+=','),_0x480250+=_0x2cd5a3+':'+_0x23e7a2+':'+(_0x49f223?'1':'0')+':'+_0x464694+':'+_0x2b1c6c+':'+_0x173e84;}return _0x480250;}function lo(_0x2d843a){const _0x25ba4e=_0xc8d6e8,_0x42de5c=_0x2d843a[_0x25ba4e(0x3d8)](','),_0x57814f=[];for(const _0x39c212 of _0x42de5c){const [_0x2648e2,_0x2acd78,_0x2cdcdb,_0x3776f4,_0x488216,_0x463596]=_0x39c212['split'](':');_0x57814f[_0x25ba4e(0x183)]({'startOffset':Number(_0x2648e2),'endOffset':Number(_0x2acd78),'collapsed':_0x2648e2===_0x2acd78,'isActive':_0x2cdcdb==='1','rangeType':_0x3776f4===_0x38f481[_0x25ba4e(0x318)]?_0x38f481[_0x25ba4e(0x318)]:_0x38f481['RECT'],'segmentId':typeof _0x488216==_0x25ba4e(0x155)?String(_0x488216):'','segmentPage':Number(_0x463596!=null?_0x463596:-0x1)});}return _0x57814f['some'](_0x2b3850=>_0x2b3850[_0x25ba4e(0x25c)])||(_0x57814f[0x0][_0x25ba4e(0x25c)]=!0x0),_0x57814f;}class Cs extends _0x2ea33c{constructor(){const _0x27c75f=_0xc8d6e8;super(...arguments),g(this,_0x27c75f(0x144),new _0xfe121(null)),g(this,_0x27c75f(0x279),this[_0x27c75f(0x144)][_0x27c75f(0x4de)]());}[_0xc8d6e8(0x3ad)](_0x8fe82){const _0x4d9b8e=_0xc8d6e8,{unitID:_0x23a36f,memberID:_0x4f5f2c,textRanges:_0x27fa14}=_0x8fe82,_0xb2365c=Pi(_0x27fa14);if(_0xb2365c==='')return;const _0x360a3c={'unitID':_0x23a36f,'memberID':_0x4f5f2c,'selection':_0xb2365c};this[_0x4d9b8e(0x144)][_0x4d9b8e(0x3f0)](_0x360a3c);}}var _o=Object[_0xc8d6e8(0x17a)],uo=Object[_0xc8d6e8(0x4d8)],fo=(_0xd27ce1,_0x436f0e,_0x4bfc89,_0x5403da)=>{const _0x4a4e84=_0xc8d6e8;for(var _0x843800=_0x5403da>0x1?void 0x0:_0x5403da?uo(_0x436f0e,_0x4bfc89):_0x436f0e,_0x253825=_0xd27ce1[_0x4a4e84(0x3d5)]-0x1,_0x2bd401;_0x253825>=0x0;_0x253825--)(_0x2bd401=_0xd27ce1[_0x253825])&&(_0x843800=(_0x5403da?_0x2bd401(_0x436f0e,_0x4bfc89,_0x843800):_0x2bd401(_0x843800))||_0x843800);return _0x5403da&&_0x843800&&_o(_0x436f0e,_0x4bfc89,_0x843800),_0x843800;},Fs=(_0x1b9667,_0x2448e6)=>(_0x10cc71,_0x30c00e)=>_0x2448e6(_0x10cc71,_0x30c00e,_0x1b9667);let pt=class{constructor(_0x5151d3,_0x1e1682){const _0x10f39e=_0xc8d6e8;this['_injector']=_0x5151d3,this[_0x10f39e(0x196)]=_0x1e1682;}['transformSelections'](_0x446c3e){const _0x31f372=_0xc8d6e8;var _0x135079;const _0x2a0c52=this[_0x31f372(0x360)][_0x31f372(0x2c2)](_0x5930e4),_0x19e2a7=(_0x135079=_0x2a0c52[_0x31f372(0x199)]())!=null?_0x135079:[];if(_0x19e2a7[_0x31f372(0x3d5)]===0x0)return;const _0x1c8c06=_0x446c3e[_0x31f372(0x17c)],_0x87a769=[{'id':_0x31f372(0x156),'params':{'unitId':_0x1c8c06,'actions':null,'textRanges':_0x19e2a7}}],_0x1ee607=this['_transformService'][_0x31f372(0x370)](_0x446c3e,_0x87a769);if(!_0x22d9be(_0x1ee607))throw _0x1ee607['error'];const _0x12c3ae=_0x1ee607[_0x31f372(0x535)][0x0][_0x31f372(0x477)]['textRanges'];Array['isArray'](_0x12c3ae)&&_0x12c3ae['length']&&_0x2a0c52[_0x31f372(0x268)](_0x12c3ae,{'unitId':_0x1c8c06,'subUnitId':_0x1c8c06},!0x1);}};pt=fo([Fs(0x0,_0x13f971(_0x20e5db)),Fs(0x1,_0x59efa9)],pt);const vo=new Set([_0x550572['id']]);function Vs(_0x3ae5dc,_0x19b5dd,_0x1c9df8,_0x2ca01a,_0x23342b){const _0x48320f=_0xc8d6e8;var _0x4a1658,_0x28919c,_0x33e50d,_0x37a48b;const _0x3ca1a6=[];for(const _0xdb2613 of _0x3ae5dc)if(vo[_0x48320f(0x3eb)](_0xdb2613['id'])){if(_0x3ca1a6['length']>0x0)break;_0x3ca1a6[_0x48320f(0x183)](_0xdb2613);break;}else _0x3ca1a6[_0x48320f(0x183)](_0xdb2613);const _0x4f3185=(_0x28919c=(_0x4a1658=_0x23342b[_0x48320f(0x34e)]())==null?void 0x0:_0x4a1658['userID'])!=null?_0x28919c:_0x48320f(0x2d5),_0x1c1147=(_0x37a48b=(_0x33e50d=_0x23342b[_0x48320f(0x34e)]())==null?void 0x0:_0x33e50d[_0x48320f(0x3c4)])!=null?_0x37a48b:'unknown';return{'changeset':{'unitID':_0x19b5dd,'type':_0x3787b4(_0x1c9df8['getUnitType'](_0x19b5dd)),'baseRev':_0x2ca01a['getCurrentRevOfUnit'](_0x19b5dd),'revision':0x0,'userID':_0x4f3185,'memberID':_0x1c1147,'mutations':_0x3ca1a6},'pendingMutations':_0x3ae5dc[_0x48320f(0x357)](_0x3ca1a6['length'])};}function mo(_0x82e409,_0x1a301a,_0x2191ae,_0x5e2564,_0x55265b){const _0xa02889=_0xc8d6e8;var _0xd99aa,_0x29f75d,_0x21561a,_0x21dfa1;const _0x188779=[_0x82e409[_0xa02889(0x20d)]((_0x2cb82b,_0x4e3aa3)=>{const _0x44a1ef=_0xa02889;var _0x11bc4f;const {id:_0x49c673}=_0x2cb82b,{id:_0x21f0c1,type:_0x1b4383}=_0x4e3aa3,_0xfa6984=(_0x11bc4f=_0x2cb82b[_0x44a1ef(0x477)])!=null?_0x11bc4f:{'actions':null},_0x56a5d3=_0x4e3aa3[_0x44a1ef(0x477)];if(_0x49c673&&_0x49c673!==_0x21f0c1)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x49c673+_0x44a1ef(0x182)+_0x21f0c1+'.');return{..._0x2cb82b,'id':_0x21f0c1,'type':_0x1b4383,'params':{'unitId':_0x56a5d3[_0x44a1ef(0x367)],'textRanges':_0x56a5d3['textRanges'],'actions':_0x528764['compose'](_0xfa6984['actions'],_0x56a5d3[_0x44a1ef(0x193)])}};},{})],_0x31caa7=(_0x29f75d=(_0xd99aa=_0x55265b[_0xa02889(0x34e)]())==null?void 0x0:_0xd99aa[_0xa02889(0x224)])!=null?_0x29f75d:'unknown',_0xe89211=(_0x21dfa1=(_0x21561a=_0x55265b[_0xa02889(0x34e)]())==null?void 0x0:_0x21561a[_0xa02889(0x3c4)])!=null?_0x21dfa1:'unknown';return{'changeset':{'unitID':_0x1a301a,'type':_0x3787b4(_0x2191ae[_0xa02889(0x426)](_0x1a301a)),'baseRev':_0x5e2564[_0xa02889(0x2f7)](_0x1a301a),'revision':0x0,'userID':_0x31caa7,'memberID':_0xe89211,'mutations':_0x188779},'pendingMutations':[]};}function Ui(_0xa617bc,_0x1ed2ae){const _0x50ecc7=_0xc8d6e8,_0x1f657a=new _0x20135c(0x1);return setTimeout(()=>_0x1f657a[_0x50ecc7(0x3f0)](_0x1ed2ae),_0xa617bc),_0x1f657a[_0x50ecc7(0x4de)]()[_0x50ecc7(0x236)](_0x134dae(0x1));}const po={'id':_0x8dc8a0['id'],'type':_0x3dc8ba['MUTATION'],'params':{}};var go=Object['defineProperty'],So=Object[_0xc8d6e8(0x4d8)],$e=(_0x2d8d18,_0x5c8a98,_0x1496bc,_0x574c25)=>{const _0x3ee480=_0xc8d6e8;for(var _0x47f9fc=_0x574c25>0x1?void 0x0:_0x574c25?So(_0x5c8a98,_0x1496bc):_0x5c8a98,_0x32eaa0=_0x2d8d18[_0x3ee480(0x3d5)]-0x1,_0x900e76;_0x32eaa0>=0x0;_0x32eaa0--)(_0x900e76=_0x2d8d18[_0x32eaa0])&&(_0x47f9fc=(_0x574c25?_0x900e76(_0x5c8a98,_0x1496bc,_0x47f9fc):_0x900e76(_0x47f9fc))||_0x47f9fc);return _0x574c25&&_0x47f9fc&&go(_0x5c8a98,_0x1496bc,_0x47f9fc),_0x47f9fc;},A=(_0x1b3d53,_0x548de6)=>(_0x394fd3,_0x4cf897)=>_0x548de6(_0x394fd3,_0x4cf897,_0x1b3d53),J=(_0x3e4647=>(_0x3e4647[_0xc8d6e8(0x37c)]=_0xc8d6e8(0x3ef),_0x3e4647[_0xc8d6e8(0x22f)]=_0xc8d6e8(0x3b5),_0x3e4647[_0xc8d6e8(0x1e0)]=_0xc8d6e8(0x32a),_0x3e4647[_0xc8d6e8(0x42c)]=_0xc8d6e8(0x3cc),_0x3e4647['AWAITING_WITH_PENDING']=_0xc8d6e8(0x13b),_0x3e4647[_0xc8d6e8(0x3e4)]=_0xc8d6e8(0x20b),_0x3e4647[_0xc8d6e8(0x317)]=_0xc8d6e8(0x2a7),_0x3e4647['OFFLINE']=_0xc8d6e8(0x2f0),_0x3e4647))(J||{});function _0x1849(){const _0x4c80c8=['_doReset','_iv','_snapshotServerService','ALREADY_EXISTS','bind','row','collabSubmitChangesetUrl','_shouldReportTelemetry','HmacSHA1','_updateLocalCursor','getTypeOfUnitDisposed$','setItem','HEADER_MENU','collabStatus.fetchMiss','sheetID','JOINING','getViewport','&to=','RECT','getAncestorScale','onSendChangeset','onMouseMove','submit\x20changeset\x20error!','randomUUID','AWAITING_WITH_PENDING','_submitChangeset','getUnitId','range','leaveEvent','type','apply','/new_changes','5230932mnfTzH','getOffsetConfig','_hideTimer','APPLY_PERMISSION_DENIED','none','onPointerLeave$','toggleOnline','getMemberID','_getAPIPrefixPath','UNIVER_SLIDE','SNAPSHOT_SERVER_URL_KEY','sin','saveImage','_textBubble','interceptor','SHOULD_CLOSE_CONN','file','authzUrl','m1Prime','black','_cursorInfo$','getMember','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_transformStack','_state$','compute','_nRounds','subscribeEvent','setWaitCount','_colorAssignService','collabStatus.syncing','_lastPointer','collabStatus.notCollab','UNIVER_PROJECT','roomMembers$','USERS_ENTER','displayName','parse','_removeRoom','DEFAULT_FILE_NAME','_docSyncEditingCollabCursorService','_getSendChangesetTimeout','joinRsp','getOwnPropertyDescriptor','getSheetBySheetId','updateCursorEvent','ivSize','_commentUpdate$','_onRemoteRejected','asObservable','InsertRangeMoveRightCommandId','_commandService','patch','UniverIcon','[PendingState]:\x20received\x20rejection.','_data','[PendingState]:\x20received\x20acknowledgement.','_transformHistoryAndStateStack','_onRemoteChangeset','NO_OTHER_CLIENTS_EDITING','xlink:href','PSEUDO_FETCH_MISSING_RESULT','csAckEvent','session.collaboration-timeout','_socket','fillText','1111299oMnpVw','{fileID}','_notificationService','YUUMI_RATE_OVER_LIMIT','_permissionService','setStateCache','RECV','encode','_socketMessageSubscription','localeService','_state','telemetry\x20info\x20is\x20not\x20initialized','catch','OTHER_CLIENTS_EDITING','repeat','getUnit','_getDownloadEndpointURL','ACTIVE_UNIT_EVENT_CHANNEL','DeleteRangeMoveLeftCommandId','concat','SerializableCipher','off-line-single_clip0_910_343','_scheduleTimestamp','_socketReady','location','collab-client.tooltip.reconnect','wsSessionTicketUrl','UNIVER_SHEET','_transformUndoRedoStack','_replaceFileID','_online','jsx','M0\x200H16V16H0z','putCollaborators','_updateState','_clearHeartbeatTimer','UUID','_xformMode','loginUrlKey','setUndoRedoMutationParamsCache','_onLocalMutation','endRow','byteLength','random','_getSnapshotAPIPrefix','_onOffline','_removeCollabCursors','reverse','[SyncedState]:\x20received\x20acknowledgement.','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','retryConnectingInterval','_keyPriorReset','listCollaborators','session','MSG_FOR_ERROR','objectID','_initMergeInterceptor','ticket','routeKey','mixIn','url(#on-line-single_clip0_910_349)','FAIL','univer-pro.collaboration-client.single-active-unit-service','_showConflictNotification','_scheduleSaving','finalize','AUTHZ_URL_KEY','url','workbook','rev','m2Prime','SHA1','substr','executeCommand','_changesetReqId','Could\x20not\x20dynamically\x20require\x20\x22','_colorIndex','clearTimeout','_redoStacks','code','c2Prime','_getSaveTimeout','removeMember','Base','_schedule','_onCombEvent','_status$','_httpService','onPointerEnter$','getCurrent','baseRev','ONLINE','searchParams','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationController','_heartbeatTimer','_startDocCollabCursor','FromArray','assignAColorForMemberID','mutations','formatter','_drawAnchor','decryptBlock','_transformRemoteChangesetByIMECache','uploadFileServerUrl','triggerDblclick','pad','awaiting_with_pending','_color','whenReady','_substituteUndoStack','change$','_decreaseWaiting','_docTransformSelectionsService','shouldCloseConn','COMMENT_UPDATE','_collabCursorState$','COMPRESS_MUTATION_APPLY','unit-cache-','MoveRangeCommandId','36GmJwAl','ranges','_telemetryService','copyFileMeta','backgroundColor','closePath','_anchor','all','_urlService','_anchorDot','_getSheetObject','kdf','INVALID_ARGUMENT','string','doc.mutation.rich-text-editing','event$','CHANGESET_REVISION_CONFILICT','/object','_getCtorByUniverType','column','[OfflineState]:\x20received\x20rejection.','_getSessionTicket','_userManagerService','createInstance','setCurrentUser','_scene','toLowerCase','cursorInfo$','readInt32LE','getRangePointData','_map','univer-pro.collaboration-client-socket-service','uni.network.url-service','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','createEncryptor','_singleActiveUnitService','_remoteChangesetQueue','hasOwnProperty','objectActions','_getAnchorBounding','registerRenderModule','_handleHeartbeatEvent','words','exports','connection\x20error','UnitEmbedded','5qSAmTZ','_compressMutationService','addObject','_createHandler','defineProperty','getCollabEntity','unitID','processBlock','onTransformState','__creator','collab-rect-range-','[CollaborationSession]','\x20-\x20','push','debug','Error\x20on\x20receiving\x20event','currentTheme$','floor','randomBytes','unit','replaceState','equals','bottom','5956752OoXGTG','image/bmp','Decryptor','_startCollaboration','dispose$','_http','actions','_type','hovered','_transformService','_scheduleClearOtherTimer','_getLoginPath','getDocRanges','onCommandExecuted','_backgroundColor','enableLocalCache','reset','getInterceptPoints','measureText','_render','revision','_roomMembers$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_retryCount','VIEW_MAIN','_rescheduleHeartbeat','LIVESHARE_TERMINATE','onRendered','#FFF','/block/','unshift','_initEventListeners','[OfflineState]:\x20received\x20acknowledgement.','_updateURLWithCurrentState','addEventListener','_drawRectRange','docStateChange$','_doFinalize','CHANGESET_ACK','number','drawWith','_change$','_handler','state','socket\x20close','c1Prime','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','salt','_timeoutTimer','transformUndoRedo','APPLY_NON_SEQUENTIAL_REVISION','_process','Malformed\x20UTF-8\x20data','override','list','_transformPreviousActiveRange','transformChangesets','_transformStateCache','beginPath','_beforeCloseService','_sender','session.connection-failed','collabWebSocketUrl','CONNECTOR_DATA_TOO_LARGE','defs','_initRequestHeader','[CollaborationEntity]','updatePermissionObjEvent','with','registerRefRange','for','_initCloseConn','getCollabEntity$','setInterval','ReactCurrentOwner','_getMergeRange','activeSheet$','forEach','univer-online-status','$super','enc','addObjects','getTypeOfUnitAdded$','PENDING','_transformSelections','sendChangesetTimeout','key','children','csShouldRetryEvent','reconnect','state$','append','UnitSnapshot','pushState','clearInterval','_mode','subscribe','onlineStatusIcon','_socketService','UNKNOWN_CMD','_executeRemoteChangeset','_collabCursorController','_themeService','HEARTBEAT','_clearOtherTimers','_replayCachedMutations','open$','LICENSE_MAX_UNITS_EXCEEDED','withCredentials','Base64','...','unpad','clone','reqId','_docTransformIMECacheService','visibilitychange','saveChangeset','redoState','_saveTaskMap','dispose','isPermissionRej','_initUnitPermissionChange','_startSheetCollabCursor','verdancy600','JOIN_ROOM_FULL','_localCacheService','fetch_missing','complete','reduce','_nDataBytes','visibilityState','extend','_hover','getImageSourceCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_updateLocalCache','_onConnectionOpen','_undoRedoService','_transformUndoredo','1em','image/png','name','[CollaborationSessionService]:\x20socket\x20error','set','commentUpdateEvent','_ensureSubject','now','saveSheetBlock','_parse','_handleLeaveEvent','appendMutation','userID','signUrlServerUrl','byteOffset','defaultProps','collaborators','_initStatusComponent','path','_registerRenderDependencies','univer-online-status-title','_createInitialState','HEARTBEAT_INTERVAL','SYNCED','_onUserLeave','registerHTTPInterceptor','setTimeout','_cursor','_createSocketURL','COMPRESS_MUTATION_SEND','pipe','sigBytes','onlyLocal','[CollaborationUndoRedoService]','/-/object/-/batch_allowed','editing\x20status\x20changed\x20to','liveShareOperation','_configService','updatePermissionPoint','requestParams','LICENSE_EXPORT_SIZE_EXCEEDED','_cursorShapes','_getAPIPrefix','_stopTelemetryCollaborationNewChangeset','getUndoRedoMutationParamsCache','capture','_telemetryInfo','rgba(255,\x20255,\x20255,\x200.01)','_syncEditingCollabCursorService','24231564vetwmX','_waitCount','responseType','createCollaborator','_config','setActiveRange','_getCurrentRevision','LIVESHARE_FETCH_OPERATIONS','NEW_CHANGESETS','defIds','_memberService','isArray','_localeService','_collaborationTimeoutTimer','crypto','csRejEvent','univer-offline','snapshot','_onJoinRoomEvent','isActive','_onCursorDelete','univer-online','POST','_HTTPService','InsertRangeMoveDownCommandId','_onConnectionFailed','JOIN_ROOM_NOT_ALLOWED','CHANGESET_SHOULD_RETRY','createSocket','_sheetTransformSelectionsService','_transformIMECache','replaceDocRanges','_name','BASE64','lineTo','Warning','LICENSE_DISTRO_REJECTED','ws://127.0.0.1:8000/universer-api/comb/connect','status$','getActiveRange','_unlockTransition','onMissedChangesetFetched','create','1809162RdbdgX','_send','UPDATE_CURSOR','_unitOnClients','_range','collabCursorState$','transformStateCache','_members','_disableEditing','color','HttpImport','join','sessionStatus$','_iKey','unload','_transformRemoteChangesetByStateCache','collaboration-session-retry','registerOnClose','DeleteRangeMoveUpCommandId','fetchMiss','updateMember','unitId\x20is\x20not\x20found','includes','pluginName','_onRemoteACK','_entityInit$','_doProcessBlock','originalMeta','_disabled','_tryReconnect','_sendHeartbeatTimer','init','react.element','_key','mode','getItem','collabStatus.synced','_checkMissing','MUTATION','charAt','_awaitingChangeset','_undoStacks','_listenToOnlineEvent','5039301LFxvLu','collab-text-range-','changesets','YUUMI_UNABLE_LOAD_URL','_labelPosition','ref','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','online','conflict','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_keySchedule','image/jpg','_refreshCollabCursors','getConfig','keySize','transformStack\x20failed!','batchAllowed','delete','__esModule','cmd','_cachedData','textRanges','roles','_onCursorUpdate','startRow','joinEvent','size','close','USERS_LEAVE','url(#off-line-single_clip0_910_343)','_createSocket','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','current','_hovered','getUnhiddenWorksheets','get','/role','liveShareNewHost','onRemoteRej','call','_univerInstanceService','attrs','_resendTimeout','padding','NoPadding','startsWith','post','SNAPSHOT_URL_KEY','_docTransformStateCacheService','onMissingChangesets','_event$','headers','_revisionService','update','unknown','[UniverCollaborationClientPlugin]','cfg','trim','max','univerjs-icon\x20univerjs-icon-','transformByState','Cipher','sid','currentSkeleton$','_commentService','ceil','_onRemoteRetry','unsubscribe','getCurrentUnitForType','clamp','jsxs','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','RETRY_CONNECTING_MAX_COUNT','members','_selfUnitIDs','_throwTelemetryCollaborationNewChangeset','/unit/','getUnitStatus$','_unitID','getSheetBlock','setAlpha','offline','\x20to\x20','getAllMembers','updateOfflineData','_reverseMap','_initCommandExecutedListener','values','getCurrentRevOfUnit','arc','prototype','filter','onlineStatusTitle','_listenToOfflineEvent','moveTo','/resources','algo','blue400','popstate','_onFetchMissResult','_candidateSocket','LOGIN_URL_KEY','_initDependencies','stringify','getRelativeToViewportCoord','execute','session.room-full','getImage','put','_minBufferSize','fetching\x20missing\x20changesets\x20from\x20','_createHelper','href','_shapes','getParam','charCodeAt','permissionRejEvent','closeSession','InsertColCommandId','_removeClearOtherTimer','CONFLICT','TEXT','transformIMECache','image/gif','_cipher','add','OpenSSL','colorChannel1','sessionTicket','_getSignURL','tag','subunit','onReady','_getUploadFileURL','restore','LIVESHARE_OPERATION','_joinRoom','_updateStatus','fillStyle','pending','APPLY_REJECT','_append','?url=','urlChange$','_transitionLocked','stopTime','onSyncEditingCollabCursor','onTransformSelections','saveOfflineData','onlineStatus','refreshPermission','indexOf','_substituteRedoStack','saveSnapshot','show','target','addImageSourceCache','WordArray','HmacMD5','UNIVER_UNKNOWN','setParam','collaboration-client.config','_incrementRevisionNumber','SNAPSHOT_HAS_BEEN_REMOVED','iterations','_getUndoStack','_uiPartsService','setConfig','generateRandomId','Hasher','_startTelemetryCollaborationNewChangeset','_acknowledgedAwaitingChangeset','transformRemoteChangeset','top','[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.','getCurrentUser','_collaborationPaused','_sessionStatus$','_scheduleHeartbeat','getRenderById','replace','_saveCache','_logService','svg','slice','findNodePositionByCharIndex','objectType','LIVESHARE_NEW_HOST','save','entries','&assign=','_prevBlock','gold400','_injector','function','Pkcs7','default','LICENSE_IMPORT_SIZE_EXCEEDED','/allowed','body','unitId','exhaustSavingTask','_sessions','_init','Unknown\x20user','hidden','Latin1','onload','UNRECOGNIZED','transformMutationsWithChangeset','_refRangeService','/fetchmissing?from=','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','ERROR_EXCEED_SIZE','getTime','fromCharCode','hasher','Utf8','_toggleOffline','fillRule','_context','NOT_COLLAB','history','FETCH_MISSING','PERMISSION_DENIED','/collaborator','from','_docSkeletonManagerService','BlockCipher','setShowComponents','getFocusedUnit','assign','_hasher','getValue','loadDoc','ciphertext','_invKeySchedule','transformSelections','collaMsg','skeleton','INGEST','COLLAB_SUBMIT_CHANGESET_URL','_socket$','requireSession','flatMap','Error','_getRedoStack','startColumn','permission.title','error','_unitStatus','_onUserJoin','UNAUTHENTICATED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','objects','Hex','fetchThroughInterceptors','\x0aCurrent:\x20','deleteCollaborator','IDLE','contains','SEND_CHANGESET_TIMEOUT','_session','_lockTransition','_assignedColors','_hash','_doCryptBlock','Undefined','clear','on-line-single','syncEditingCollabCursor','_pendingMutations','_initStatusListener','_collabSessionService','_clearCollaborationTimeoutTimer','selections','encryptBlock','&source=','synced','_ENC_XFORM_MODE','onTransformRemoteChangesetByStateCache','commentUpdate$','failed\x20to\x20apply\x20missed\x20changesets!','_isPermissionRej','LEAVE','YUUMI_URL_COL_OUT_OF_RANGE','toggleOffline','onRemoteChangeset','roomInfos','react.fragment','send','fetchMissingChangesets','_clearUndo','memberID','_exhaustRemoteChangesetQueue','[CollaborationSessionService]','UNIVER_DOC','collaboration.closeRoom','_onRefRangeChange','format','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','awaiting','_DEC_XFORM_MODE','_renderManagerService','msCrypto','[DataLoaderController]','createDecryptor','OnLineSingle','_onRecvEvent','_roomMembers','length','icon','getSheetId','split','_snapshotService','pauseCollaboration','_clearScheduledTask','getDeserializedSheetBlock','_entities','origin','socket$','then','height','_queuedRemoteChangesets','CHANGESET_REJ','FETCH_MISS','_updateSubUnitFromURLParams','_docStateChangeManagerService','infoRsp','undoState','url(#$1','SNAPSHOT_INVALID_SNAPSHOT','has','error$','_resendTimer','splice','not_collab','next','find','idSuffix','blockSize','newCsEvent','clipPath','_changesetSessionId','_messageService','getVpScrollXYInfoByPosToVp','round','INTERNAL_ERROR','_oKey','editingUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','currentColor','collaboratorID','json','action','MD5','reject','getActiveSheet','transformMutation','session.will-retry','COLLAB_WEB_SOCKET_URL','_resendWithTimeout','onTransformChange$','/rev/','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','registerComponent','lib','src','method','roomMembers','eventID','incrementRevOfUnit','width','/universer-api/stream/file/upload','_sendingTimer','isEditing','_cursors','_clearRedo','onRemoteAck','_handleJoinEvent','onTransformIME','toString','_imageSourceCache','UNKNOWN_CODE','newValue','APPLY_REVISION_CONFILICT','_syncEditingCollabCursor','removeParam','_initResize','_applyRemoteChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getUnitType','onPointerMove$','OFFLINE','toRgbString','getSkeleton','_sheetSkeletonManagerService','AWAITING','TOO_MANY_REQUESTS','_clearTimeoutTimer','_loadDoc','COMPLETION_FINISHED','map','loadOfflineData','_setupSubUnitSync','buffer','getRandomValues','LIVESHARE_REQUEST_HOST','_id','/universer-api/comb','getCollabCursors$','disableLocalCache','\x20in\x20_schedule.','resolve','every','disposeWithMe','_drawTextRange','onCommentUpdate','div','symbol','SUBMIT_CHANGESET','getCurrentSelections','FileId','message$','UNDEFINED','APPLY_DUPLICATED','encrypt','697249utHCHK','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','deepClone','[CollaborationState]:\x20apply\x20error!','getOwnPropertySymbols','_toggleOnline','fill','setShapeProps','_updateCollabCursors','_setupBeforeClosingHandler','_registerDependencies','close$','HELLO','className','_createHmacHelper','conflict.title','_onConflict','cursorInfo','_retryConnectingTimer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_eventUnsubscribe','resend','evenodd','CipherParams','decrypt','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','data','BufferedBlockAlgorithm','_waitForHeartbeatResponse','/universer-api/authz','/universer-api/snapshot','onRemoteRetry','transform','SUCCUSS','selection','EvpKDF','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','AES','enableSingleActiveInstanceLock','font','translate(.97)','HttpExport','focused$','JOIN','_createInitialStateImpl','params','getWorkbookSelections','/object/','enableOfflineEditing','ERROR_IMAGE','_onMessage','_scheduleCollaborationTimeoutTimer','text','status','Encryptor','/universer-api/snapshot/','readAsDataURL','conflict.content','collaboration_new_changeset','_collaborationSessionService','ENSURE_SNAPSHOT_EXECUTION','UNIVER_COLLABORATION_CLIENT_PLUGIN','_loadSheet','permission.content','application/json','subUnitId','_tryEnsureSocket'];_0x1849=function(){return _0x4c80c8;};return _0x1849();}const Ni=0xea60;class He{constructor(_0x997d1a,_0x3d96c9,_0xbc5740,_0x4f8f36,_0x12e239,_0x1d3a78,_0x1d4f71,_0x11a964,_0x214156){const _0x557eb8=_0xc8d6e8;g(this,'_awaitingChangeset',null),g(this,_0x557eb8(0x3ae),[]),(this[_0x557eb8(0x17c)]=_0x997d1a,this[_0x557eb8(0x4aa)]=_0x3d96c9,this[_0x557eb8(0x1b7)]=_0x12e239,this['_commandService']=_0x1d3a78,this[_0x557eb8(0x216)]=_0x1d4f71,this[_0x557eb8(0x2d3)]=_0x11a964,this[_0x557eb8(0x20a)]=_0x214156,this[_0x557eb8(0x29c)]=_0xbc5740,this[_0x557eb8(0x3ae)]=_0x4f8f36);}[_0xc8d6e8(0x299)](_0x1c560a){const _0x3c009b=_0xc8d6e8,_0x4be563=this[_0x3c009b(0x2d3)][_0x3c009b(0x2f7)](this[_0x3c009b(0x17c)]);return _0x1c560a[_0x3c009b(0x1a1)]>_0x4be563+0x1?(this[_0x3c009b(0x1b7)]['onMissingChangesets']({'from':_0x4be563,'to':_0x1c560a[_0x3c009b(0x1a1)]-0x1}),!0x0):!0x1;}[_0xc8d6e8(0x217)](_0x5e5521){const _0x17ebec=_0xc8d6e8;this[_0x17ebec(0x216)][_0x17ebec(0x1be)](this[_0x17ebec(0x17c)],_0x5e5521);}[_0xc8d6e8(0x1e1)](_0x54270b){const _0x5d2f99=_0xc8d6e8;var _0x3e4ab3,_0xc397b8;(_0xc397b8=(_0x3e4ab3=this[_0x5d2f99(0x1b7)])[_0x5d2f99(0x332)])==null||_0xc397b8[_0x5d2f99(0x2c6)](_0x3e4ab3,_0x54270b);}[_0xc8d6e8(0x267)](_0x948118){const _0x4d42c6=_0xc8d6e8;var _0x2c5a7c,_0x1994ca;return(_0x1994ca=(_0x2c5a7c=this[_0x4d42c6(0x1b7)])[_0x4d42c6(0x41b)])==null?void 0x0:_0x1994ca['call'](_0x2c5a7c,_0x948118);}['_transformStateCache'](_0x1e63a1){const _0x26f69b=_0xc8d6e8;var _0x1e4dfd,_0xdd1b5b;return(_0xdd1b5b=(_0x1e4dfd=this[_0x26f69b(0x1b7)])[_0x26f69b(0x17e)])==null?void 0x0:_0xdd1b5b[_0x26f69b(0x2c6)](_0x1e4dfd,_0x1e63a1);}[_0xc8d6e8(0x137)](_0x307441){const _0x27add7=_0xc8d6e8;var _0x4bddad,_0x116938,_0x213e95;return(_0x213e95=(_0x116938=(_0x4bddad=this[_0x27add7(0x1b7)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x116938[_0x27add7(0x2c6)](_0x4bddad,_0x307441))!=null?_0x213e95:_0x307441;}[_0xc8d6e8(0x283)](_0xc49598){const _0x49392e=_0xc8d6e8;var _0x2f2242,_0x44a990,_0x4f256e;return(_0x4f256e=(_0x44a990=(_0x2f2242=this[_0x49392e(0x1b7)])[_0x49392e(0x3b7)])==null?void 0x0:_0x44a990[_0x49392e(0x2c6)](_0x2f2242,_0xc49598))!=null?_0x4f256e:_0xc49598;}[_0xc8d6e8(0x421)](_0x31e1f5){const _0x24f178=_0xc8d6e8;var _0x520c6e,_0x5d73c4;if(this[_0x24f178(0x4aa)]===ce[_0x24f178(0x3c7)]){const {unitID:_0x2588e6,mutations:_0x192e7a,memberID:_0x4d27ed}=_0x31e1f5,_0x2e801b=_0x192e7a[0x0][_0x24f178(0x477)][_0x24f178(0x2b4)];Array['isArray'](_0x2e801b)&&_0x2e801b[_0x24f178(0x3d5)]>0x0&&((_0x5d73c4=(_0x520c6e=this[_0x24f178(0x1b7)])[_0x24f178(0x331)])==null||_0x5d73c4[_0x24f178(0x2c6)](_0x520c6e,{'unitID':_0x2588e6,'memberID':_0x4d27ed,'textRanges':_0x2e801b}));}}['_updateLocalCache'](){const _0x4b869d=_0xc8d6e8;this['_localCacheService']['updateOfflineData'](this[_0x4b869d(0x17c)],this['type'],this[_0x4b869d(0x29c)],this[_0x4b869d(0x3ae)]);}[_0xc8d6e8(0x24f)](){const _0x42bf03=_0xc8d6e8;return this[_0x42bf03(0x2d3)]['getCurrentRevOfUnit'](this[_0x42bf03(0x17c)]);}['_incrementRevisionNumber'](){const _0x486ddb=_0xc8d6e8;this[_0x486ddb(0x2d3)][_0x486ddb(0x412)](this['unitID']);}[_0xc8d6e8(0x1f1)](_0x204812){const _0x3012b8=_0xc8d6e8;var _0x125ba7;let _0xae7f44=this['_transformRemoteChangesetByIMECache'](_0x204812);_0xae7f44=this[_0x3012b8(0x283)](_0xae7f44);const _0x25b4e1=_0x3b32ef(_0xae7f44[_0x3012b8(0x133)],this[_0x3012b8(0x4e0)],{'fromCollab':!0x0});if(!_0x25b4e1['result'])throw _0x25b4e1['error']instanceof Error?_0x25b4e1[_0x3012b8(0x398)]:new Error((_0x125ba7=_0x25b4e1[_0x3012b8(0x398)])!=null?_0x125ba7:_0x3012b8(0x44d));this[_0x3012b8(0x267)](_0xae7f44),this[_0x3012b8(0x1c6)](_0xae7f44),this[_0x3012b8(0x217)](_0x204812),this[_0x3012b8(0x1e1)](_0xae7f44),this[_0x3012b8(0x421)](_0xae7f44),this['_incrementRevisionNumber']();}}let Fe=class extends He{constructor(_0x1c7f9c,_0x58fa73,_0x569155,_0x413e2a,_0x151072,_0x331681,_0x418503,_0x38ed77,_0x268445,_0x51b36f){const _0x36b96a=_0xc8d6e8;super(_0x1c7f9c,_0x58fa73,null,[],_0x569155,_0x38ed77,_0x418503,_0x413e2a,_0x151072),g(this,_0x36b96a(0x47f),'synced'),(this[_0x36b96a(0x360)]=_0x331681,this[_0x36b96a(0x355)]=_0x268445,this[_0x36b96a(0x196)]=_0x51b36f);}['appendMutation'](_0x561976){const _0x4e4dd7=_0xc8d6e8,_0x499c5d=this['_injector'][_0x4e4dd7(0x15f)](pe,this[_0x4e4dd7(0x17c)],this[_0x4e4dd7(0x4aa)],[_0x561976],this[_0x4e4dd7(0x1b7)]);return _0x499c5d[_0x4e4dd7(0x124)](),_0x499c5d[_0x4e4dd7(0x214)](),_0x499c5d;}[_0xc8d6e8(0x3be)](_0x2c54fa){const _0x21221e=_0xc8d6e8;if(this['_checkMissing'](_0x2c54fa))return this[_0x21221e(0x360)][_0x21221e(0x15f)](he,this[_0x21221e(0x17c)],this['type'],null,[],null,[_0x2c54fa],this[_0x21221e(0x1b7)]);try{const _0x1fe359=this['_transformService'][_0x21221e(0x370)](_0x2c54fa,[po]);if(_0x22d9be(_0x1fe359)){const {c1Prime:_0xab2f1a}=_0x1fe359;return this['_executeRemoteChangeset'](_0xab2f1a),this;}throw _0x1fe359['error'];}catch(_0x1c6960){return this['_logService'][_0x21221e(0x398)](_0x1c6960),this[_0x21221e(0x45a)](!0x1);}}[_0xc8d6e8(0x45a)](_0x231623){const _0xe0fb3d=_0xc8d6e8;return this[_0xe0fb3d(0x360)][_0xe0fb3d(0x15f)](Re,this['unitID'],this[_0xe0fb3d(0x4aa)],null,[],this['_handler'],_0x231623);}[_0xc8d6e8(0x419)](){const _0xe363f2=_0xc8d6e8;throw new Error(_0xe363f2(0x51f));}[_0xc8d6e8(0x2c5)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xc8d6e8(0x469)](){return this;}[_0xc8d6e8(0x3bd)](){const _0x3cb869=_0xc8d6e8;return this[_0x3cb869(0x360)][_0x3cb869(0x15f)](Oe,this['unitID'],this['type'],null,[],this[_0x3cb869(0x1b7)]);}[_0xc8d6e8(0x4b3)](){return this;}[_0xc8d6e8(0x45f)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xc8d6e8(0x287)](){const _0x23d571=_0xc8d6e8,_0x44b089=this[_0x23d571(0x2d3)][_0x23d571(0x2f7)](this['unitID']);return this[_0x23d571(0x1b7)][_0x23d571(0x2d0)]({'from':_0x44b089,'to':0x0}),this[_0x23d571(0x360)]['createInstance'](he,this[_0x23d571(0x17c)],this['type'],null,[],null,[],this[_0x23d571(0x1b7)]);}};Fe=$e([A(0x3,_0x13f971(_0x15b6ba)),A(0x4,_0x13f971(q)),A(0x5,_0x13f971(_0x20e5db)),A(0x6,_0x2925fd),A(0x7,_0x4171ed),A(0x8,_0x410e45),A(0x9,_0x59efa9)],Fe);let pe=class extends He{constructor(_0xc1a5ac,_0x1fe991,_0xb1337,_0x4753b9,_0x4ebc39,_0x5cebf3,_0x4d4a31,_0x710fac,_0x2e3cb0,_0x345d61,_0x523a6b,_0x168fda,_0x2aa3c4,_0x5d1743){const _0xf3d9a7=_0xc8d6e8;super(_0xc1a5ac,_0x1fe991,null,_0xb1337,_0x4753b9,_0x345d61,_0x5d1743,_0x5cebf3,_0x4d4a31),g(this,_0xf3d9a7(0x47f),_0xf3d9a7(0x32a)),g(this,_0xf3d9a7(0x505),null),g(this,'_sendingTimer',null),(this[_0xf3d9a7(0x360)]=_0x4ebc39,this[_0xf3d9a7(0x253)]=_0x710fac,this[_0xf3d9a7(0x355)]=_0x2e3cb0,this['_configService']=_0x523a6b,this[_0xf3d9a7(0x196)]=_0x168fda,this[_0xf3d9a7(0x2c7)]=_0x2aa3c4);}[_0xc8d6e8(0x223)](_0x5ea849){const _0xd61b6=_0xc8d6e8;return this['_pendingMutations'][_0xd61b6(0x183)](_0x5ea849),this[_0xd61b6(0x214)](),this;}[_0xc8d6e8(0x3be)](_0x4c21cf){const _0x3170c2=_0xc8d6e8;if(this['_checkMissing'](_0x4c21cf))return this['_clearScheduledTask'](),this[_0x3170c2(0x360)][_0x3170c2(0x15f)](he,this[_0x3170c2(0x17c)],this['type'],null,this[_0x3170c2(0x3ae)],null,[_0x4c21cf],this[_0x3170c2(0x1b7)]);try{const _0x3e1d0b=this['_transformService'][_0x3170c2(0x370)](_0x4c21cf,this[_0x3170c2(0x3ae)]);if(_0x22d9be(_0x3e1d0b)){const {c1Prime:_0x1b5ee6,m2Prime:_0x31443d}=_0x3e1d0b;this[_0x3170c2(0x1f1)](_0x1b5ee6);const _0x20f302=this[_0x3170c2(0x360)][_0x3170c2(0x15f)](pe,this[_0x3170c2(0x17c)],this[_0x3170c2(0x4aa)],_0x31443d,this['_handler']);return this[_0x3170c2(0x3db)](),_0x20f302[_0x3170c2(0x124)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x3170c2(0x375)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x20f302;}throw _0x3e1d0b[_0x3170c2(0x398)];}catch(_0x369734){return this['_logService'][_0x3170c2(0x398)](_0x369734),this[_0x3170c2(0x45a)](!0x1);}}['onRemoteAck'](){const _0x5657c7=_0xc8d6e8;throw new Error(_0x5657c7(0x4e5));}[_0xc8d6e8(0x2c5)](){const _0x542252=_0xc8d6e8;throw new Error(_0x542252(0x4e3));}['onRemoteRetry'](){return this;}[_0xc8d6e8(0x3bd)](){const _0x27ae0b=_0xc8d6e8;return this['_clearScheduledTask'](),this[_0x27ae0b(0x360)][_0x27ae0b(0x15f)](Oe,this['unitID'],this[_0x27ae0b(0x4aa)],null,this[_0x27ae0b(0x3ae)],this[_0x27ae0b(0x1b7)]);}[_0xc8d6e8(0x4b3)](){return this;}[_0xc8d6e8(0x124)](_0x44bbe3){const _0x286a9d=_0xc8d6e8,_0x45bfb9=_0x44bbe3!=null?_0x44bbe3:this[_0x286a9d(0x4d6)]();this[_0x286a9d(0x505)]=new Date()[_0x286a9d(0x375)](),this[_0x286a9d(0x415)]=window[_0x286a9d(0x232)](()=>{const _0x326637=_0x286a9d;this[_0x326637(0x3db)]();let _0x43c7bf=null;switch(this[_0x326637(0x4aa)]){case ce[_0x326637(0x50a)]:{_0x43c7bf=Vs(this[_0x326637(0x3ae)],this[_0x326637(0x17c)],this[_0x326637(0x2c7)],this[_0x326637(0x2d3)],this[_0x326637(0x253)]);break;}case ce[_0x326637(0x3c7)]:{this[_0x326637(0x3ae)][_0x326637(0x43d)](_0x27e276=>_0x27e276['id']===_0x942aea['id'])?_0x43c7bf=mo(this['_pendingMutations'],this[_0x326637(0x17c)],this[_0x326637(0x2c7)],this['_revisionService'],this[_0x326637(0x253)]):_0x43c7bf=Vs(this['_pendingMutations'],this[_0x326637(0x17c)],this[_0x326637(0x2c7)],this[_0x326637(0x2d3)],this['_memberService']);break;}default:throw new Error(_0x326637(0x213)+this['type']+_0x326637(0x43b));}const {changeset:_0x2a5c35,pendingMutations:_0x19d221}=_0x43c7bf;this[_0x326637(0x1b7)][_0x326637(0x4a1)](_0x2a5c35);const _0x28f607=_0x19d221[_0x326637(0x3d5)]?this[_0x326637(0x360)]['createInstance'](ge,this[_0x326637(0x17c)],this[_0x326637(0x4aa)],_0x2a5c35,_0x19d221,this[_0x326637(0x1b7)],void 0x0):this[_0x326637(0x360)][_0x326637(0x15f)](Te,this[_0x326637(0x17c)],this['type'],_0x2a5c35,this[_0x326637(0x1b7)]);_0x28f607[_0x326637(0x214)](),this[_0x326637(0x1b7)]['onStateChange'](this,_0x28f607);},_0x45bfb9);}[_0xc8d6e8(0x4d6)](){const _0x28ae3d=_0xc8d6e8;var _0x3bbedd;const _0x27cb15=this[_0x28ae3d(0x23d)][_0x28ae3d(0x2ac)](te);return(_0x3bbedd=_0x27cb15==null?void 0x0:_0x27cb15[_0x28ae3d(0x1e2)])!=null?_0x3bbedd:_r;}[_0xc8d6e8(0x45f)](){const _0xf3d2d0=_0xc8d6e8;throw new Error(_0xf3d2d0(0x2e6));}[_0xc8d6e8(0x3db)](){const _0x891e9=_0xc8d6e8;this[_0x891e9(0x415)]!=null&&(clearTimeout(this[_0x891e9(0x415)]),this['_sendingTimer']=null);}[_0xc8d6e8(0x45a)](_0x462ea2){const _0x8ca6bc=_0xc8d6e8;return this[_0x8ca6bc(0x3db)](),this[_0x8ca6bc(0x360)][_0x8ca6bc(0x15f)](Re,this[_0x8ca6bc(0x17c)],this[_0x8ca6bc(0x4aa)],null,this[_0x8ca6bc(0x3ae)],this['_handler'],_0x462ea2);}};pe=$e([A(0x4,_0x13f971(_0x20e5db)),A(0x5,_0x13f971(_0x15b6ba)),A(0x6,_0x13f971(q)),A(0x7,_0x13f971(Me)),A(0x8,_0x410e45),A(0x9,_0x4171ed),A(0xa,_0x450caa),A(0xb,_0x59efa9),A(0xc,_0x2ddd21),A(0xd,_0x2925fd)],pe);let Te=class extends He{constructor(_0x191289,_0xf7c0e8,_0x2a14b0,_0x3cf983,_0x5e1b86,_0x1381fa,_0x450a6a,_0x1aad16,_0x4e9781,_0x4015a7,_0x56e850){const _0x2a50cd=_0xc8d6e8;super(_0x191289,_0xf7c0e8,_0x2a14b0,[],_0x3cf983,_0x1aad16,_0x56e850,_0x1381fa,_0x450a6a),g(this,_0x2a50cd(0x47f),'awaiting'),g(this,_0x2a50cd(0x2c9),0x0),g(this,'_resendTimer'),g(this,_0x2a50cd(0x1c9)),(this[_0x2a50cd(0x360)]=_0x5e1b86,this['_logService']=_0x4e9781,this['_transformService']=_0x4015a7);}[_0xc8d6e8(0x223)](_0xf310d7){const _0x19d370=_0xc8d6e8;this[_0x19d370(0x3db)]();const _0x38bca8=this[_0x19d370(0x360)][_0x19d370(0x15f)](ge,this[_0x19d370(0x17c)],this[_0x19d370(0x4aa)],this['_awaitingChangeset'],[_0xf310d7],this['_handler'],this['_resendTimer']);return _0x38bca8['_updateLocalCache'](),_0x38bca8;}[_0xc8d6e8(0x3be)](_0x211571){const _0x2b403a=_0xc8d6e8;if(this[_0x2b403a(0x299)](_0x211571))return this['_clearScheduledTask'](),this[_0x2b403a(0x360)][_0x2b403a(0x15f)](he,this[_0x2b403a(0x17c)],this['type'],this[_0x2b403a(0x29c)],[],null,[_0x211571],this[_0x2b403a(0x1b7)]);try{const _0x26a1c3=this['_transformService']['transformChangesets']([_0x211571],[this[_0x2b403a(0x29c)]],!0x1);if(_0x36cff1(_0x26a1c3)){const {c1Prime:_0x1ffb4a,c2Prime:_0x35f135}=_0x26a1c3;this['_executeRemoteChangeset'](_0x1ffb4a[0x0]),_0x35f135[0x0][_0x2b403a(0x12a)]=this[_0x2b403a(0x24f)](),this[_0x2b403a(0x3db)]();const _0x5db867=this[_0x2b403a(0x360)][_0x2b403a(0x15f)](Te,this['unitID'],this[_0x2b403a(0x4aa)],_0x35f135[0x0],this[_0x2b403a(0x1b7)]);return _0x5db867['_updateLocalCache'](),_0x5db867;}return this[_0x2b403a(0x45a)](!0x1);}catch(_0x4a8185){return this[_0x2b403a(0x355)][_0x2b403a(0x398)](_0x4a8185),this[_0x2b403a(0x45a)](!0x1);}}[_0xc8d6e8(0x419)](_0x568afd){const _0x3b74d6=_0xc8d6e8;this[_0x3b74d6(0x3db)]();const _0x16ebbd=this[_0x3b74d6(0x2d3)][_0x3b74d6(0x2f7)](this[_0x3b74d6(0x17c)]);if(_0x568afd[_0x3b74d6(0x1a1)]<_0x16ebbd-0x1)return this;if(this[_0x3b74d6(0x299)](_0x568afd))return this['_injector'][_0x3b74d6(0x15f)](he,this[_0x3b74d6(0x17c)],this[_0x3b74d6(0x4aa)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x3b74d6(0x341)]();const _0x1bef5e=this['_injector'][_0x3b74d6(0x15f)](Fe,this[_0x3b74d6(0x17c)],this[_0x3b74d6(0x4aa)],this[_0x3b74d6(0x1b7)]);return _0x1bef5e[_0x3b74d6(0x214)](),_0x1bef5e;}[_0xc8d6e8(0x2c5)](_0x9a373b){const _0x44dc12=_0xc8d6e8;return this[_0x44dc12(0x45a)](!!(_0x9a373b!=null&&_0x9a373b['isPermissionRej']));}[_0xc8d6e8(0x469)](_0x1ac0a1){const _0x3f3ae5=_0xc8d6e8;return this[_0x3f3ae5(0x2c9)]>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this[_0x3f3ae5(0x2c9)],{'timeout':this[_0x3f3ae5(0x2c9)],'reqId':_0x1ac0a1['reqId']}),this[_0x3f3ae5(0x1c9)]=this[_0x3f3ae5(0x3ed)][_0x3f3ae5(0x1ed)](({reqId:_0x5b461a,timeout:_0x5311c0})=>{const _0x23db0c=_0x3f3ae5;this[_0x23db0c(0x408)](_0x5b461a,_0x5311c0);}),this);}[_0xc8d6e8(0x3bd)](){const _0x1828eb=_0xc8d6e8;return this[_0x1828eb(0x3db)](),this['_injector'][_0x1828eb(0x15f)](Oe,this[_0x1828eb(0x17c)],this[_0x1828eb(0x4aa)],this[_0x1828eb(0x29c)],[],this[_0x1828eb(0x1b7)]);}[_0xc8d6e8(0x4b3)](){return this;}[_0xc8d6e8(0x45f)](){const _0x1c3864=_0xc8d6e8;this[_0x1c3864(0x1b7)][_0x1c3864(0x4a1)](this[_0x1c3864(0x29c)]);}['_onConflict'](_0x25f823){const _0xd4450c=_0xc8d6e8;return this['_clearScheduledTask'](),this[_0xd4450c(0x360)][_0xd4450c(0x15f)](Re,this[_0xd4450c(0x17c)],this[_0xd4450c(0x4aa)],this[_0xd4450c(0x29c)],[],this['_handler'],_0x25f823);}[_0xc8d6e8(0x408)](_0x280328,_0x2044c5){const _0x8ad305=_0xc8d6e8;var _0x2ba5da;_0x280328===((_0x2ba5da=this[_0x8ad305(0x29c)])==null?void 0x0:_0x2ba5da[_0x8ad305(0x1fe)])&&(this[_0x8ad305(0x45f)](),this['_resendTimeout']=_0x2044c5===0x0?0x3e8:_0x2044c5*0x2);}[_0xc8d6e8(0x3db)](){const _0x26c0b3=_0xc8d6e8;var _0x1f8997;(_0x1f8997=this[_0x26c0b3(0x1c9)])==null||_0x1f8997['unsubscribe'](),this['_resendTimeout']=0x0;}};Te=$e([A(0x4,_0x13f971(_0x20e5db)),A(0x5,_0x13f971(_0x15b6ba)),A(0x6,_0x13f971(q)),A(0x7,_0x4171ed),A(0x8,_0x410e45),A(0x9,_0x59efa9),A(0xa,_0x2925fd)],Te);let ge=class extends He{constructor(_0x5b6f22,_0x5099e8,_0x2e4f52,_0x5e83aa,_0x4d3a30,_0x411188,_0x7e46fa,_0x235e95,_0x179d34,_0xac969c,_0x3b5bc7,_0x39deb6,_0x72c822){const _0x9957ba=_0xc8d6e8;super(_0x5b6f22,_0x5099e8,_0x2e4f52,_0x5e83aa,_0x4d3a30,_0xac969c,_0x72c822,_0x235e95,_0x179d34),g(this,_0x9957ba(0x47f),'awaiting_with_pending'),g(this,'_resendTimeout',0x0),g(this,_0x9957ba(0x3ed)),g(this,_0x9957ba(0x1c9)),(this[_0x9957ba(0x360)]=_0x7e46fa,this[_0x9957ba(0x355)]=_0x3b5bc7,this[_0x9957ba(0x196)]=_0x39deb6,_0x411188&&(this[_0x9957ba(0x3ed)]=_0x411188,this[_0x9957ba(0x1c9)]=this[_0x9957ba(0x3ed)][_0x9957ba(0x1ed)](({reqId:_0x29fcbf,timeout:_0x2cc03a})=>{this['_resendWithTimeout'](_0x29fcbf,_0x2cc03a);})));}['appendMutation'](_0x388c27){return this['_pendingMutations']['push'](_0x388c27),this;}[_0xc8d6e8(0x3be)](_0x43ea84){const _0x2a6f90=_0xc8d6e8;if(this[_0x2a6f90(0x299)](_0x43ea84))return this[_0x2a6f90(0x3db)](),this[_0x2a6f90(0x360)][_0x2a6f90(0x15f)](he,this['unitID'],this[_0x2a6f90(0x4aa)],this[_0x2a6f90(0x29c)],this['_pendingMutations'],null,[_0x43ea84],this[_0x2a6f90(0x1b7)]);try{const _0x5afabc=this['_transformService'][_0x2a6f90(0x1c5)]([_0x43ea84],[this[_0x2a6f90(0x29c)]],!0x1);if(_0x36cff1(_0x5afabc)){const {c1Prime:_0x3322f4,c2Prime:_0x53e007}=_0x5afabc,_0xb84bc0=this[_0x2a6f90(0x196)][_0x2a6f90(0x370)](_0x3322f4[0x0],this[_0x2a6f90(0x3ae)]);if(_0x22d9be(_0xb84bc0)){const {c1Prime:_0x54a18b,m2Prime:_0x3e89c3}=_0xb84bc0;return this[_0x2a6f90(0x1f1)](_0x54a18b),_0x53e007[0x0]['baseRev']=this[_0x2a6f90(0x24f)](),this[_0x2a6f90(0x3db)](),this[_0x2a6f90(0x360)][_0x2a6f90(0x15f)](ge,this[_0x2a6f90(0x17c)],this[_0x2a6f90(0x4aa)],_0x53e007[0x0],_0x3e89c3,this[_0x2a6f90(0x1b7)],void 0x0);}throw _0xb84bc0[_0x2a6f90(0x398)];}throw _0x5afabc[_0x2a6f90(0x398)];}catch(_0x21cd9e){return this[_0x2a6f90(0x355)][_0x2a6f90(0x398)](_0x21cd9e),this[_0x2a6f90(0x45a)](!0x1);}}['onRemoteAck'](_0x272213){const _0x10046b=_0xc8d6e8;if(this[_0x10046b(0x3db)](),this[_0x10046b(0x299)](_0x272213))return this[_0x10046b(0x360)][_0x10046b(0x15f)](he,this[_0x10046b(0x17c)],this[_0x10046b(0x4aa)],null,this[_0x10046b(0x3ae)],this[_0x10046b(0x29c)],[],this[_0x10046b(0x1b7)]);this['_incrementRevisionNumber']();const _0x1029cd=this['_injector'][_0x10046b(0x15f)](pe,this['unitID'],this[_0x10046b(0x4aa)],this['_pendingMutations'],this[_0x10046b(0x1b7)]);return _0x1029cd[_0x10046b(0x124)](),_0x1029cd['_updateLocalCache'](),_0x1029cd;}[_0xc8d6e8(0x2c5)](_0x14687e){const _0x40f930=_0xc8d6e8;return this[_0x40f930(0x45a)](!!(_0x14687e!=null&&_0x14687e['isPermissionRej']));}[_0xc8d6e8(0x469)](_0x27f62c){const _0x531274=_0xc8d6e8;return this[_0x531274(0x2c9)]>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this[_0x531274(0x2c9)],'reqId':_0x27f62c[_0x531274(0x1fe)]}),this['_sender']=this[_0x531274(0x3ed)][_0x531274(0x1ed)](({reqId:_0x408222,timeout:_0x293c33})=>{this['_resendWithTimeout'](_0x408222,_0x293c33);}),this);}['toggleOffline'](){const _0x153dbe=_0xc8d6e8;return this['_clearScheduledTask'](),this[_0x153dbe(0x360)]['createInstance'](Oe,this[_0x153dbe(0x17c)],this[_0x153dbe(0x4aa)],this[_0x153dbe(0x29c)],this[_0x153dbe(0x3ae)],this[_0x153dbe(0x1b7)]);}[_0xc8d6e8(0x4b3)](){return this;}[_0xc8d6e8(0x45f)](){const _0x501511=_0xc8d6e8;this[_0x501511(0x1b7)][_0x501511(0x4a1)](this[_0x501511(0x29c)]);}['_onConflict'](_0x51b3d5){const _0x1f9bd3=_0xc8d6e8;return this[_0x1f9bd3(0x3db)](),this[_0x1f9bd3(0x360)][_0x1f9bd3(0x15f)](Re,this[_0x1f9bd3(0x17c)],this['type'],null,this[_0x1f9bd3(0x3ae)],this[_0x1f9bd3(0x1b7)],_0x51b3d5);}[_0xc8d6e8(0x408)](_0x20d12a,_0x5b82b8){const _0x30f2b2=_0xc8d6e8;var _0x579808;_0x20d12a===((_0x579808=this[_0x30f2b2(0x29c)])==null?void 0x0:_0x579808[_0x30f2b2(0x1fe)])&&(this[_0x30f2b2(0x45f)](),this[_0x30f2b2(0x2c9)]=_0x5b82b8===0x0?0x3e8:_0x5b82b8*0x2);}[_0xc8d6e8(0x3db)](){const _0x5d3484=_0xc8d6e8;var _0x104e41;(_0x104e41=this[_0x5d3484(0x1c9)])==null||_0x104e41['unsubscribe'](),this['_resendTimeout']=0x0;}};ge=$e([A(0x6,_0x13f971(_0x20e5db)),A(0x7,_0x13f971(_0x15b6ba)),A(0x8,_0x13f971(q)),A(0x9,_0x4171ed),A(0xa,_0x410e45),A(0xb,_0x59efa9),A(0xc,_0x2925fd)],ge);let Re=class extends He{constructor(_0x3f737e,_0x254712,_0x3d28b9,_0x5a8c23,_0x2f2452,_0x53a816=!0x1,_0x3567f1,_0x4e540c,_0x393735,_0x47e132,_0x340ed8,_0x8e3d7e,_0x3f3667){const _0x463e32=_0xc8d6e8;super(_0x3f737e,_0x254712,_0x3d28b9,_0x5a8c23,_0x2f2452,_0x4e540c,_0x393735,_0x340ed8,_0x47e132),g(this,'status',_0x463e32(0x2a7)),(this['_isPermissionRej']=_0x53a816,this['_permissionService']=_0x3567f1,this[_0x463e32(0x255)]=_0x8e3d7e,this[_0x463e32(0x4f1)]=_0x3f3667,this[_0x463e32(0x52e)](),this['_clearLocalCache'](),this[_0x463e32(0x27c)]());}['appendMutation'](){return this;}[_0xc8d6e8(0x3be)](){return this;}['onRemoteAck'](){return this;}[_0xc8d6e8(0x2c5)](){return this;}[_0xc8d6e8(0x469)](){return this;}[_0xc8d6e8(0x3bd)](){return this;}[_0xc8d6e8(0x4b3)](){return this;}['resend'](){const _0x2606d2=_0xc8d6e8;throw new Error(_0x2606d2(0x39c));}['_clearLocalCache'](){const _0x49f199=_0xc8d6e8;this['_localCacheService']['updateOfflineData'](this[_0x49f199(0x17c)],this[_0x49f199(0x4aa)],null,[]);}[_0xc8d6e8(0x52e)](){const _0x45918d=_0xc8d6e8;this[_0x45918d(0x3ba)]?this[_0x45918d(0x4f1)][_0x45918d(0x339)]({'title':this['_localeService']['t'](_0x45918d(0x397)),'content':this[_0x45918d(0x255)]['t'](_0x45918d(0x489)),'type':_0x45918d(0x398),'duration':0x0}):this[_0x45918d(0x4f1)][_0x45918d(0x339)]({'title':this[_0x45918d(0x255)]['t'](_0x45918d(0x459)),'content':this['_localeService']['t'](_0x45918d(0x483)),'type':_0x45918d(0x398),'duration':0x0});}['_disableEditing'](){const _0x114ba4=_0xc8d6e8;this[_0x114ba4(0x4f3)][_0x114ba4(0x23e)](new _0x945e06(this[_0x114ba4(0x17c)])['id'],!0x1);}};Re=$e([A(0x6,_0x13f971(_0x1306a2)),A(0x7,_0x4171ed),A(0x8,_0x2925fd),A(0x9,_0x13f971(q)),A(0xa,_0x13f971(_0x15b6ba)),A(0xb,_0x13f971(_0x8037c0)),A(0xc,_0x3f22a0)],Re);let Oe=class extends He{constructor(_0x484133,_0x12d5b2,_0x14633e,_0x110116,_0x591585,_0x4fa2cf,_0x1560a2,_0x5abf32,_0x3cdcc3,_0x51e1de){const _0x1f0733=_0xc8d6e8;super(_0x484133,_0x12d5b2,_0x14633e,_0x110116,_0x591585,_0x3cdcc3,_0x51e1de,_0x1560a2,_0x5abf32),g(this,_0x1f0733(0x47f),_0x1f0733(0x2f0)),this['_injector']=_0x4fa2cf;}[_0xc8d6e8(0x223)](_0x4cebb8){const _0x1da794=_0xc8d6e8;return this[_0x1da794(0x3ae)][_0x1da794(0x183)](_0x4cebb8),this['_updateLocalCache'](),this;}[_0xc8d6e8(0x3be)](_0x1c5af6){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x33bbbc=_0xc8d6e8;throw new Error(_0x33bbbc(0x1ad));}['onRemoteRej'](){const _0x1cc202=_0xc8d6e8;throw new Error(_0x1cc202(0x15c));}[_0xc8d6e8(0x469)](){return this;}[_0xc8d6e8(0x3bd)](){return this;}['toggleOnline'](){const _0x1f2e50=_0xc8d6e8,{_injector:_0x27baa8,_pendingMutations:_0x47e669,_awaitingChangeset:_0x995b1f,unitID:_0x52efdf,_handler:_0x177892,type:_0x356072}=this,_0x25df0=Ai(_0x27baa8,_0x52efdf,_0x356072,_0x995b1f,_0x47e669,_0x177892);return _0x25df0 instanceof pe?_0x25df0[_0x1f2e50(0x124)]():(_0x25df0 instanceof ge||_0x25df0 instanceof Te)&&_0x25df0['resend'](),_0x25df0;}[_0xc8d6e8(0x45f)](){const _0x4e857b=_0xc8d6e8;throw new Error(_0x4e857b(0x2a5));}};Oe=$e([A(0x5,_0x13f971(_0x20e5db)),A(0x6,_0x13f971(_0x15b6ba)),A(0x7,_0x13f971(q)),A(0x8,_0x4171ed),A(0x9,_0x2925fd)],Oe);let he=class extends He{constructor(_0x586a68,_0x1d7a4b,_0x3eabb4,_0x110c46,_0x1c1037,_0x4417f6,_0x420594,_0x1e2b11,_0x1ab3ee,_0xf1a7c1,_0x88c90a,_0x1cd985,_0x3b0ec0,_0x785f75){const _0x2490cb=_0xc8d6e8;super(_0x586a68,_0x1d7a4b,_0x3eabb4,_0x110c46,_0x420594,_0x1cd985,_0x3b0ec0,_0x1ab3ee,_0xf1a7c1),g(this,_0x2490cb(0x47f),_0x2490cb(0x20b)),(this[_0x2490cb(0x34a)]=_0x1c1037,this[_0x2490cb(0x3e2)]=_0x4417f6,this[_0x2490cb(0x360)]=_0x1e2b11,this['_logService']=_0x88c90a,this[_0x2490cb(0x196)]=_0x785f75);}[_0xc8d6e8(0x272)](_0xc9dc96){const _0x4cd235=_0xc8d6e8;try{const _0x312371=[..._0xc9dc96,...this[_0x4cd235(0x3e2)]],_0x116195=[this[_0x4cd235(0x29c)]||this[_0x4cd235(0x34a)]][_0x4cd235(0x2fa)](_0x20ba13=>!!_0x20ba13);let _0x5639a7,_0x3ef668;if(_0x116195[_0x4cd235(0x3d5)]){const _0x71e78c=this[_0x4cd235(0x196)][_0x4cd235(0x1c5)](_0x312371,_0x116195,!0x1);if(!_0x36cff1(_0x71e78c))throw _0x71e78c[_0x4cd235(0x398)];_0x5639a7=_0x71e78c[_0x4cd235(0x1ba)],_0x3ef668=_0x71e78c[_0x4cd235(0x53f)];}else _0x5639a7=_0x312371,_0x3ef668=[];let _0x1b3aa5=this[_0x4cd235(0x3ae)];_0x5639a7[_0x4cd235(0x1da)](_0x1c1afa=>{const _0x19fab0=_0x4cd235;let _0x28d5cb;if(_0x1b3aa5[_0x19fab0(0x3d5)]){const _0x15ecc8=this['_transformService'][_0x19fab0(0x370)](_0x1c1afa,_0x1b3aa5);if(!_0x22d9be(_0x15ecc8))throw _0x15ecc8[_0x19fab0(0x398)];_0x28d5cb=_0x15ecc8[_0x19fab0(0x1ba)],_0x1b3aa5=_0x15ecc8[_0x19fab0(0x535)];}else _0x28d5cb=_0x1c1afa;this[_0x19fab0(0x1f1)](_0x28d5cb);}),this[_0x4cd235(0x34a)]&&this['_incrementRevisionNumber'](),this[_0x4cd235(0x29c)]&&_0x3ef668['length']&&(_0x3ef668[0x0]['baseRev']=this[_0x4cd235(0x24f)]());let _0x2e4554;if(this[_0x4cd235(0x29c)]&&_0x1b3aa5[_0x4cd235(0x3d5)]!==0x0)_0x2e4554=this[_0x4cd235(0x360)][_0x4cd235(0x15f)](ge,this[_0x4cd235(0x17c)],this[_0x4cd235(0x4aa)],_0x3ef668[0x0],_0x1b3aa5,this['_handler'],void 0x0);else{if(this[_0x4cd235(0x29c)]&&_0x1b3aa5[_0x4cd235(0x3d5)]===0x0)_0x3ef668[0x0][_0x4cd235(0x12a)]=this[_0x4cd235(0x24f)](),_0x2e4554=this[_0x4cd235(0x360)]['createInstance'](Te,this[_0x4cd235(0x17c)],this['type'],_0x3ef668[0x0],this[_0x4cd235(0x1b7)]);else{if(_0x1b3aa5['length']!==0x0){const _0x4171ca=this[_0x4cd235(0x360)][_0x4cd235(0x15f)](pe,this[_0x4cd235(0x17c)],this['type'],_0x1b3aa5,this[_0x4cd235(0x1b7)]);_0x4171ca[_0x4cd235(0x124)](),_0x2e4554=_0x4171ca;}else _0x2e4554=this['_injector'][_0x4cd235(0x15f)](Fe,this[_0x4cd235(0x17c)],this[_0x4cd235(0x4aa)],this['_handler']);}}return _0x2e4554['_updateLocalCache'](),_0x2e4554;}catch(_0x246470){return this[_0x4cd235(0x355)][_0x4cd235(0x398)]('[FetchMissState]',_0x4cd235(0x3b9),_0x246470),this[_0x4cd235(0x360)][_0x4cd235(0x15f)](Re,this[_0x4cd235(0x17c)],this[_0x4cd235(0x4aa)],this[_0x4cd235(0x29c)],this[_0x4cd235(0x3ae)],this[_0x4cd235(0x1b7)],!0x1);}}[_0xc8d6e8(0x45f)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x354d1e){const _0x4f70c1=_0xc8d6e8;return this[_0x4f70c1(0x3ae)][_0x4f70c1(0x183)](_0x354d1e),this;}[_0xc8d6e8(0x3be)](_0x42213a){const _0x1391d1=_0xc8d6e8;return this[_0x1391d1(0x3e2)][_0x1391d1(0x183)](_0x42213a),this;}[_0xc8d6e8(0x419)](_0x595a9d){const _0x55a3f1=_0xc8d6e8;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x55a3f1(0x29c)],this[_0x55a3f1(0x29c)]=null,this;throw new Error(_0x55a3f1(0x44b));}['onRemoteRej'](_0x4653d6){const _0x225e06=_0xc8d6e8;return this['_onConflict'](!!(_0x4653d6!=null&&_0x4653d6[_0x225e06(0x205)]));}[_0xc8d6e8(0x469)](){return this;}[_0xc8d6e8(0x3bd)](){const _0x2723d0=_0xc8d6e8;return this[_0x2723d0(0x360)][_0x2723d0(0x15f)](Oe,this[_0x2723d0(0x17c)],this[_0x2723d0(0x4aa)],this[_0x2723d0(0x29c)],this[_0x2723d0(0x3ae)],this[_0x2723d0(0x1b7)]);}['toggleOnline'](){return this;}[_0xc8d6e8(0x45a)](_0x1cd706){const _0x12adb0=_0xc8d6e8;return this[_0x12adb0(0x360)][_0x12adb0(0x15f)](Re,this[_0x12adb0(0x17c)],this[_0x12adb0(0x4aa)],this[_0x12adb0(0x29c)],this[_0x12adb0(0x3ae)],this[_0x12adb0(0x1b7)],_0x1cd706);}};he=$e([A(0x7,_0x13f971(_0x20e5db)),A(0x8,_0x13f971(_0x15b6ba)),A(0x9,_0x13f971(q)),A(0xa,_0x410e45),A(0xb,_0x4171ed),A(0xc,_0x2925fd),A(0xd,_0x59efa9)],he);function Ai(_0x23006f,_0x5977cd,_0x3583b7,_0x55772e,_0x3802ea,_0x543cf2){const _0x2ceafa=_0xc8d6e8;return _0x55772e&&_0x3802ea[_0x2ceafa(0x3d5)]?_0x23006f[_0x2ceafa(0x15f)](ge,_0x5977cd,_0x3583b7,_0x55772e,_0x3802ea,_0x543cf2,void 0x0):_0x55772e?_0x23006f[_0x2ceafa(0x15f)](Te,_0x5977cd,_0x3583b7,_0x55772e,_0x543cf2):_0x3802ea[_0x2ceafa(0x3d5)]?_0x23006f[_0x2ceafa(0x15f)](pe,_0x5977cd,_0x3583b7,_0x3802ea,_0x543cf2):_0x23006f[_0x2ceafa(0x15f)](Fe,_0x5977cd,_0x3583b7,_0x543cf2);}var Io=Object[_0xc8d6e8(0x17a)],Co=Object[_0xc8d6e8(0x4d8)],Es=(_0xee0dce,_0x587b76,_0x3c9f3f,_0x2f0bb3)=>{const _0x2ed4d5=_0xc8d6e8;for(var _0x3ca4ca=_0x2f0bb3>0x1?void 0x0:_0x2f0bb3?Co(_0x587b76,_0x3c9f3f):_0x587b76,_0x19f3cf=_0xee0dce[_0x2ed4d5(0x3d5)]-0x1,_0x3abe26;_0x19f3cf>=0x0;_0x19f3cf--)(_0x3abe26=_0xee0dce[_0x19f3cf])&&(_0x3ca4ca=(_0x2f0bb3?_0x3abe26(_0x587b76,_0x3c9f3f,_0x3ca4ca):_0x3abe26(_0x3ca4ca))||_0x3ca4ca);return _0x2f0bb3&&_0x3ca4ca&&Io(_0x587b76,_0x3c9f3f,_0x3ca4ca),_0x3ca4ca;},H=(_0x2cb055,_0xb5d3e3)=>(_0x534ac1,_0x3fcd5a)=>_0xb5d3e3(_0x534ac1,_0x3fcd5a,_0x2cb055);let gt=class extends _0x2ea33c{constructor(_0x3494b0,_0x23f34e,_0x467785,_0x42ed02,_0x1f856a,_0x314a8c,_0x2835c8,_0x2cd477,_0x1362bf,_0x1614d5,_0x52115e,_0x4af06f,_0x3f6f05){const _0x3fedb0=_0xc8d6e8;super(),g(this,_0x3fedb0(0x4c5),new _0xfe121(null)),g(this,_0x3fedb0(0x1e7),this[_0x3fedb0(0x4c5)]['asObservable']()),g(this,_0x3fedb0(0x4f9)),g(this,_0x3fedb0(0x34f),!0x1),g(this,_0x3fedb0(0x3f6),''),g(this,'_changesetReqId',0x0),g(this,'status$',this['state$']['pipe'](_0x4c310e(_0x1f559d=>_0x1f559d?_0x1f559d['status']:J[_0x3fedb0(0x428)]),_0x207368(0x1))),g(this,_0x3fedb0(0x32f),!0x1),g(this,_0x3fedb0(0x16c),[]),(this[_0x3fedb0(0x17c)]=_0x3494b0,this[_0x3fedb0(0x524)]=_0x23f34e,this['_type']=_0x467785,this[_0x3fedb0(0x360)]=_0x42ed02,this[_0x3fedb0(0x20a)]=_0x1f856a,this[_0x3fedb0(0x177)]=_0x314a8c,this[_0x3fedb0(0x255)]=_0x2835c8,this[_0x3fedb0(0x2d3)]=_0x2cd477,this[_0x3fedb0(0x355)]=_0x1362bf,this['_commandService']=_0x1614d5,this[_0x3fedb0(0x3f7)]=_0x52115e,this[_0x3fedb0(0x4f3)]=_0x4af06f,this[_0x3fedb0(0x16b)]=_0x3f6f05);}get[_0xc8d6e8(0x1b8)](){const _0x27188f=_0xc8d6e8;return this[_0x27188f(0x4f9)];}async[_0xc8d6e8(0x293)](){const _0x5262ea=_0xc8d6e8;if(this[_0x5262ea(0x1b8)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5262ea(0x36a)]();}[_0xc8d6e8(0x3da)](){const _0x514744=_0xc8d6e8;return this[_0x514744(0x34f)]=!0x0,_0x4e58a4(()=>{const _0x517288=_0x514744;this[_0x517288(0x34f)]=!0x1,this[_0x517288(0x3c5)]();});}['_updateState'](_0x5a41dc){const _0x3509e1=_0xc8d6e8;this[_0x3509e1(0x4f9)]=_0x5a41dc,this['_state$'][_0x3509e1(0x3f0)](_0x5a41dc);}async[_0xc8d6e8(0x36a)](){const _0x6fe97e=_0xc8d6e8;var _0x5007de;this[_0x6fe97e(0x511)](await this['_createInitialState']()),this[_0x6fe97e(0x16b)]&&((_0x5007de=this[_0x6fe97e(0x16b)])==null||_0x5007de['editingUnit'](this[_0x6fe97e(0x17c)]),this[_0x6fe97e(0x43e)](this[_0x6fe97e(0x16b)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x125d55=>{const _0xdd36a4=_0x6fe97e;this[_0xdd36a4(0x355)]['debug']('[CollaborationEntity]',_0xdd36a4(0x23b),_0x125d55),_0x125d55===Di[_0xdd36a4(0x4fc)]?(this[_0xdd36a4(0x3f7)][_0xdd36a4(0x339)]({'content':this['_localeService']['t']('collaboration.single-unit.warning'),'type':_0x49b044[_0xdd36a4(0x26c)]}),this[_0xdd36a4(0x4f3)]['updatePermissionPoint'](new _0x945e06(this[_0xdd36a4(0x17c)])['id'],!0x1),this[_0xdd36a4(0x4f3)][_0xdd36a4(0x384)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x945e06(this['unitID'])['id'],!0x0),this[_0xdd36a4(0x4f3)]['setShowComponents'](!0x0));})));let _0x35012c=!0x1;return this[_0x6fe97e(0x43e)](this[_0x6fe97e(0x524)][_0x6fe97e(0x280)]['subscribe'](_0x451c62=>{const _0x39cda7=_0x6fe97e;_0x451c62===ve[_0x39cda7(0x12b)]?this[_0x39cda7(0x44f)](_0x35012c):_0x451c62===ve[_0x39cda7(0x428)]&&(_0x35012c=!0x0,this[_0x39cda7(0x379)]());})),this[_0x6fe97e(0x43e)](this['session']['event$']['subscribe'](_0x188de0=>{const _0x45c1ed=_0x6fe97e;try{switch(_0x188de0[_0x45c1ed(0x411)]){case _0x275148[_0x45c1ed(0x251)]:{this['_onRemoteChangeset'](_0x533cbf(_0x188de0[_0x45c1ed(0x464)]));break;}case _0x275148[_0x45c1ed(0x1b3)]:{this[_0x45c1ed(0x28c)](_0x188de0[_0x45c1ed(0x464)]);break;}case _0x275148[_0x45c1ed(0x3e3)]:{this[_0x45c1ed(0x4dd)]();break;}case _0x275148[_0x45c1ed(0x264)]:{this['_onRemoteRetry'](_0x188de0[_0x45c1ed(0x464)]);break;}case _0x275148[_0x45c1ed(0x4ea)]:{this[_0x45c1ed(0x302)](_0x188de0[_0x45c1ed(0x464)][_0x45c1ed(0x2a1)][_0x45c1ed(0x431)](_0x5cc7e3=>_0x533cbf(_0x5cc7e3)));break;}case _0x275148['PERMISSION_REJ']:this[_0x45c1ed(0x4dd)]({'isPermissionRej':!0x0});}}catch(_0x23d8ba){throw console['error'](_0x45c1ed(0x185),_0x23d8ba),_0x23d8ba;}})),this[_0x6fe97e(0x4f9)];}[_0xc8d6e8(0x271)](){this['_transitionLocked']=!0x1;}[_0xc8d6e8(0x3a6)](){const _0x52c926=_0xc8d6e8;if(this[_0x52c926(0x32f)])throw new Error(_0x52c926(0x34d));this[_0x52c926(0x32f)]=!0x0;}['_onLocalMutation'](_0x1b02fe){const _0x3e7bf5=_0xc8d6e8;this[_0x3e7bf5(0x3a6)](),this[_0x3e7bf5(0x511)](this[_0x3e7bf5(0x4f9)][_0x3e7bf5(0x223)](_0x1b02fe)),this[_0x3e7bf5(0x271)]();}[_0xc8d6e8(0x4e7)](_0x94ae2c){const _0x543995=_0xc8d6e8;if(!(_0x94ae2c[_0x543995(0x1a1)]<=this[_0x543995(0x2d3)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x543995(0x34f)]){this['_remoteChangesetQueue'][_0x543995(0x183)](_0x94ae2c);return;}this['_applyRemoteChangeset'](_0x94ae2c);}}[_0xc8d6e8(0x3c5)](){const _0x55e4ad=_0xc8d6e8;this['_remoteChangesetQueue'][_0x55e4ad(0x1da)](_0x4e1b62=>this[_0x55e4ad(0x424)](_0x4e1b62)),this[_0x55e4ad(0x16c)]=[];}[_0xc8d6e8(0x424)](_0x1bea40){const _0x4ee32f=_0xc8d6e8,_0x41c564=this[_0x4ee32f(0x177)]['interceptor']['fetchThroughInterceptors'](this[_0x4ee32f(0x177)][_0x4ee32f(0x4bb)][_0x4ee32f(0x19e)]()[_0x4ee32f(0x145)])(_0x1bea40[_0x4ee32f(0x133)],null)||_0x1bea40[_0x4ee32f(0x133)],_0x309900={..._0x1bea40,'mutations':_0x41c564};this[_0x4ee32f(0x3a6)](),this['_updateState'](this[_0x4ee32f(0x4f9)][_0x4ee32f(0x3be)](_0x309900)),this[_0x4ee32f(0x271)]();}[_0xc8d6e8(0x28c)](_0x241270){const _0x549810=_0xc8d6e8;this[_0x549810(0x3a6)](),this[_0x549810(0x511)](this['_state'][_0x549810(0x419)](_0x241270)),this[_0x549810(0x271)]();}[_0xc8d6e8(0x4dd)](_0x5bea08){const _0x879403=_0xc8d6e8;this[_0x879403(0x3a6)](),this[_0x879403(0x511)](this[_0x879403(0x4f9)][_0x879403(0x2c5)](_0x5bea08)),this[_0x879403(0x271)]();}[_0xc8d6e8(0x2e1)](_0x37f5dc){const _0xe42923=_0xc8d6e8;this[_0xe42923(0x3a6)](),this[_0xe42923(0x511)](this['_state'][_0xe42923(0x469)](_0x37f5dc)),this[_0xe42923(0x271)]();}['_onFetchMissResult'](_0x6204c9){const _0x5d3090=_0xc8d6e8;if(!(this[_0x5d3090(0x4f9)]instanceof he))throw new TypeError(_0x5d3090(0x2a8));const _0x3ada9a=_0x6204c9[_0x5d3090(0x431)](_0x50a40f=>{const _0x2fa360=_0x5d3090,_0x59b47d=this[_0x2fa360(0x177)]['interceptor'][_0x2fa360(0x39f)](this[_0x2fa360(0x177)]['interceptor']['getInterceptPoints']()[_0x2fa360(0x145)])(_0x50a40f[_0x2fa360(0x133)],null)||_0x50a40f[_0x2fa360(0x133)];return{..._0x50a40f,'mutations':_0x59b47d};});this[_0x5d3090(0x3a6)](),this['_updateState'](this[_0x5d3090(0x4f9)]['onMissedChangesetFetched'](_0x3ada9a)),this[_0x5d3090(0x271)]();}[_0xc8d6e8(0x379)](){const _0x1fe1a9=_0xc8d6e8;this[_0x1fe1a9(0x3a6)](),this[_0x1fe1a9(0x511)](this[_0x1fe1a9(0x4f9)][_0x1fe1a9(0x3bd)]()),this[_0x1fe1a9(0x271)]();}[_0xc8d6e8(0x44f)](_0x3faa9c=!0x1){const _0x147ea9=_0xc8d6e8;this[_0x147ea9(0x3a6)](),this[_0x147ea9(0x511)](this['_state']['toggleOnline']()),this[_0x147ea9(0x271)]();const _0x276ffd=this[_0x147ea9(0x4f9)];_0x3faa9c&&_0x276ffd instanceof Fe&&(this[_0x147ea9(0x3a6)](),this[_0x147ea9(0x511)](_0x276ffd['fetchMiss']()),this[_0x147ea9(0x271)]());}async[_0xc8d6e8(0x22d)](){return new Promise(_0x128f04=>{const _0x337698=_0x284c;this['session'][_0x337698(0x280)][_0x337698(0x236)](_0x134dae(0x1))[_0x337698(0x1ed)](async _0x21ef16=>{const _0x215a93=_0x337698;_0x128f04(await this[_0x215a93(0x476)](_0x21ef16===ve['ONLINE']));});});}['_createHandler'](){const _0x4875b9=_0xc8d6e8,_0x56159a=this[_0x4875b9(0x17c)];return{'onStateChange':(_0x144a22,_0x225219)=>{const _0x4567ae=_0x4875b9;if(_0x144a22!==this[_0x4567ae(0x4f9)])throw new Error(_0x4567ae(0x45d)+_0x144a22['status']+'\x0aAfter:\x20'+_0x225219['status']+_0x4567ae(0x3a0)+this[_0x4567ae(0x4f9)][_0x4567ae(0x47f)]);this[_0x4567ae(0x511)](_0x225219);},'onSendChangeset':_0x52e92a=>{const _0x3fb6fa=_0x4875b9;_0x52e92a[_0x3fb6fa(0x2dd)]||(_0x52e92a[_0x3fb6fa(0x2dd)]=this['_changesetSessionId'],_0x52e92a['reqId']=++this['_changesetReqId']);const _0x2b63e9={'eventID':_0x275148[_0x3fb6fa(0x443)],'data':{'unitID':_0x52e92a[_0x3fb6fa(0x17c)],'unitType':this[_0x3fb6fa(0x194)],'changeset':_0x52e92a,'memberID':this[_0x3fb6fa(0x524)][_0x3fb6fa(0x4b4)]()}};this['session'][_0x3fb6fa(0x3c1)](_0x2b63e9,this[_0x3fb6fa(0x17c)]);},'onMissingChangesets':({from:_0x444004,to:_0x2c0f18})=>{const _0xecf35e=_0x4875b9;this['_logService']['debug'](_0xecf35e(0x1cf),_0xecf35e(0x30d)+_0x444004+_0xecf35e(0x2f1)+_0x2c0f18);const _0x5d5a5b={'eventID':_0x275148[_0xecf35e(0x37e)],'data':{'unitID':_0x56159a,'unitType':this[_0xecf35e(0x194)],'from':_0x444004,'to':_0x2c0f18}};this[_0xecf35e(0x524)][_0xecf35e(0x3c1)](_0x5d5a5b,this['unitID']);}};}async['_createInitialStateImpl'](_0x4e6fc9){const _0x4d7454=_0xc8d6e8;var _0x512592,_0x4d6a52;const _0x6201fd=await this['_localCacheService'][_0x4d7454(0x432)](this[_0x4d7454(0x17c)]),_0x2c390f=(_0x512592=_0x6201fd==null?void 0x0:_0x6201fd[_0x4d7454(0x133)])!=null?_0x512592:[],_0x4ac7b4=(_0x4d6a52=_0x6201fd==null?void 0x0:_0x6201fd['awaitingChangeset'])!=null?_0x4d6a52:null,_0x501eae=!!(_0x4ac7b4!=null&&_0x4ac7b4['sid'])&&!!(_0x4ac7b4!=null&&_0x4ac7b4['reqId']);this['_changesetSessionId']=_0x501eae?_0x4ac7b4[_0x4d7454(0x2dd)]:qr(),this[_0x4d7454(0x539)]=_0x501eae?_0x4ac7b4[_0x4d7454(0x1fe)]:0x0;const _0x34bc21=this[_0x4d7454(0x17c)];try{this[_0x4d7454(0x1f6)](_0x4ac7b4,_0x2c390f);}catch(_0x2299e7){this[_0x4d7454(0x355)][_0x4d7454(0x398)](_0x2299e7);}const _0x4f6fa2=this[_0x4d7454(0x179)]();if(_0x4e6fc9){const _0x4d64d2=Ai(this[_0x4d7454(0x360)],_0x34bc21,this[_0x4d7454(0x194)],_0x4ac7b4,_0x2c390f,_0x4f6fa2);return _0x4d64d2 instanceof pe?_0x4d64d2[_0x4d7454(0x124)]():(_0x4d64d2 instanceof ge||_0x4d64d2 instanceof Te)&&_0x4d64d2['resend'](),_0x4d64d2;}return this[_0x4d7454(0x360)]['createInstance'](Oe,_0x34bc21,this[_0x4d7454(0x194)],_0x4ac7b4,_0x2c390f,_0x4f6fa2);}[_0xc8d6e8(0x1f6)](_0x290624,_0x307eca){const _0x29d123=_0xc8d6e8;var _0x58147c,_0x5efb68;const _0x9f3c82=this[_0x29d123(0x177)][_0x29d123(0x4bb)][_0x29d123(0x39f)](this['_compressMutationService'][_0x29d123(0x4bb)][_0x29d123(0x19e)]()[_0x29d123(0x145)]);(_0x58147c=_0x9f3c82((_0x290624==null?void 0x0:_0x290624['mutations'])||[],null))==null||_0x58147c[_0x29d123(0x1da)](_0xa88b2a=>this[_0x29d123(0x4e0)]['executeCommand'](_0xa88b2a['id'],_0xa88b2a[_0x29d123(0x477)])),(_0x5efb68=_0x9f3c82(_0x307eca||[],null))==null||_0x5efb68[_0x29d123(0x1da)](_0x125d12=>this[_0x29d123(0x4e0)][_0x29d123(0x538)](_0x125d12['id'],_0x125d12['params']));}};gt=Es([H(0x3,_0x13f971(_0x20e5db)),H(0x4,_0x13f971(q)),H(0x5,_0x13f971(_0x12821d)),H(0x6,_0x13f971(_0x8037c0)),H(0x7,_0x13f971(_0x15b6ba)),H(0x8,_0x410e45),H(0x9,_0x4171ed),H(0xa,_0x1902d3),H(0xb,_0x1306a2),H(0xc,_0x28e273(Rt))],gt);let ss=class extends gt{constructor(_0x5e0b16,_0x4d011c,_0x41fb84,_0x259efc,_0x2089da,_0x2cfeca,_0x1a6651,_0x2277d5,_0x5cb9d2,_0x1eeab9,_0x39314c,_0x43e862,_0x27fc3a,_0x2bd865,_0x1aec5f,_0x375db1,_0x55fca3,_0xe404c){const _0x5b3411=_0xc8d6e8;super(_0x5e0b16,_0x41fb84,_0x4d011c,_0x259efc,_0x2089da,_0x2cfeca,_0x1a6651,_0x2277d5,_0x2bd865,_0x1aec5f,_0x375db1,_0x55fca3,_0xe404c),this[_0x5b3411(0x17c)]=_0x5e0b16,this['type']=_0x4d011c,this[_0x5b3411(0x3e6)]=_0x5cb9d2,this[_0x5b3411(0x1ff)]=_0x1eeab9,this['_docTransformStateCacheService']=_0x39314c,this[_0x5b3411(0x141)]=_0x43e862,this[_0x5b3411(0x4d5)]=_0x27fc3a;}[_0xc8d6e8(0x179)](){const _0x260b42=_0xc8d6e8,_0x1a8c9d=super['_createHandler']();return _0x1a8c9d['onTransformIME']=_0x39e9bd=>this['_docTransformIMECacheService'][_0x260b42(0x319)](_0x39e9bd),_0x1a8c9d[_0x260b42(0x17e)]=_0x46cbb5=>this[_0x260b42(0x2cf)][_0x260b42(0x27a)](_0x46cbb5),_0x1a8c9d[_0x260b42(0x332)]=_0x5694df=>this[_0x260b42(0x141)][_0x260b42(0x38c)](_0x5694df),_0x1a8c9d[_0x260b42(0x331)]=_0x55c84d=>this['_docSyncEditingCollabCursorService'][_0x260b42(0x3ad)](_0x55c84d),_0x1a8c9d['onTransformRemoteChangesetByIMECache']=_0x3ee50a=>this[_0x260b42(0x1ff)][_0x260b42(0x34b)](_0x3ee50a),_0x1a8c9d[_0x260b42(0x3b7)]=_0x4b1ca1=>this['_docTransformStateCacheService'][_0x260b42(0x34b)](_0x4b1ca1),_0x1a8c9d;}async[_0xc8d6e8(0x36a)](){const _0x36792b=_0xc8d6e8,_0x458a1e=await super['_init']();return this[_0x36792b(0x3e6)][_0x36792b(0x1b1)][_0x36792b(0x236)](_0x6a5096(this[_0x36792b(0x191)]))[_0x36792b(0x1ed)](_0x7bf2e=>{const _0x6ea38a=_0x36792b;if(_0x7bf2e==null)return;const {unitId:_0x32c322,redoState:_0x35d85f,commandId:_0x420c84}=_0x7bf2e;if(_0x32c322!==this[_0x6ea38a(0x17c)])return;const _0xdd8e4e={'id':_0x420c84,'type':_0x3dc8ba[_0x6ea38a(0x29a)],'params':{'unitId':_0x32c322,'actions':_0x35d85f[_0x6ea38a(0x193)],'textRanges':null}};this[_0x6ea38a(0x517)](_0xdd8e4e);}),_0x458a1e;}};ss=Es([H(0x3,_0x13f971(_0x20e5db)),H(0x4,_0x13f971(q)),H(0x5,_0x13f971(_0x12821d)),H(0x6,_0x13f971(_0x8037c0)),H(0x7,_0x13f971(_0x15b6ba)),H(0x8,_0x13f971(_0x1fa86f)),H(0x9,_0x13f971(ft)),H(0xa,_0x13f971(mt)),H(0xb,_0x13f971(pt)),H(0xc,_0x13f971(Cs)),H(0xd,_0x410e45),H(0xe,_0x4171ed),H(0xf,_0x1902d3),H(0x10,_0x1306a2),H(0x11,_0x28e273(Rt))],ss);let is=class extends gt{constructor(_0x4cebc5,_0x2d1afc,_0x13e922,_0x27da99,_0x2e2da8,_0x4a76dd,_0x5803f3,_0xf74da1,_0x421131,_0x4f92a6,_0xceb9a9,_0x4d0c07,_0x398242,_0x4d6c52){const _0x211bcb=_0xc8d6e8;super(_0x4cebc5,_0x13e922,_0x2d1afc,_0x27da99,_0x2e2da8,_0x4a76dd,_0x5803f3,_0xf74da1,_0x4f92a6,_0xceb9a9,_0x4d0c07,_0x398242,_0x4d6c52),this[_0x211bcb(0x17c)]=_0x4cebc5,this[_0x211bcb(0x4aa)]=_0x2d1afc,this[_0x211bcb(0x266)]=_0x421131;}[_0xc8d6e8(0x179)](){const _0x29ec9a=_0xc8d6e8,_0x2e5f42=super[_0x29ec9a(0x179)]();return _0x2e5f42['onTransformSelections']=_0x5de42f=>this['_sheetTransformSelectionsService']['transformSelections'](_0x5de42f),_0x2e5f42;}async[_0xc8d6e8(0x36a)](){const _0x546576=_0xc8d6e8,_0x14165b=await super[_0x546576(0x36a)]();return this[_0x546576(0x43e)](this[_0x546576(0x4e0)][_0x546576(0x19a)]((_0x1cdd00,_0x5b73c6)=>{const _0x4c002f=_0x546576;if(_0x1cdd00[_0x4c002f(0x4aa)]!==_0x3dc8ba['MUTATION']||_0x5b73c6!=null&&_0x5b73c6['fromCollab']||_0x5b73c6!=null&&_0x5b73c6[_0x4c002f(0x238)])return;const _0x3df30f=_0x1cdd00[_0x4c002f(0x477)];if((_0x3df30f==null?void 0x0:_0x3df30f['unitId'])!==this[_0x4c002f(0x17c)])return;const _0x2aee06=_0x1cdd00,_0x12ee42=this[_0x4c002f(0x177)][_0x4c002f(0x4bb)][_0x4c002f(0x39f)](this['_compressMutationService'][_0x4c002f(0x4bb)]['getInterceptPoints']()[_0x4c002f(0x235)])([_0x2aee06],null)||[_0x2aee06];this[_0x4c002f(0x517)](_0x12ee42[0x0]);})),_0x14165b;}};is=Es([H(0x3,_0x13f971(_0x20e5db)),H(0x4,_0x13f971(q)),H(0x5,_0x13f971(_0x12821d)),H(0x6,_0x13f971(_0x8037c0)),H(0x7,_0x13f971(_0x15b6ba)),H(0x8,_0x13f971(vt)),H(0x9,_0x410e45),H(0xa,_0x4171ed),H(0xb,_0x1902d3),H(0xc,_0x1306a2),H(0xd,_0x28e273(Rt))],is);var Eo=Object[_0xc8d6e8(0x17a)],bo=Object['getOwnPropertyDescriptor'],To=(_0x9ef01,_0x5c4ccb,_0x302ff3,_0x12c803)=>{const _0x39915d=_0xc8d6e8;for(var _0x516bd9=_0x12c803>0x1?void 0x0:_0x12c803?bo(_0x5c4ccb,_0x302ff3):_0x5c4ccb,_0x366b46=_0x9ef01[_0x39915d(0x3d5)]-0x1,_0x35b46a;_0x366b46>=0x0;_0x366b46--)(_0x35b46a=_0x9ef01[_0x366b46])&&(_0x516bd9=(_0x12c803?_0x35b46a(_0x5c4ccb,_0x302ff3,_0x516bd9):_0x35b46a(_0x516bd9))||_0x516bd9);return _0x12c803&&_0x516bd9&&Eo(_0x5c4ccb,_0x302ff3,_0x516bd9),_0x516bd9;},Lt=(_0x249282,_0x2f8729)=>(_0x44e655,_0x42c5bb)=>_0x2f8729(_0x44e655,_0x42c5bb,_0x249282);let it=class extends _0x2ea33c{constructor(_0x45eb30,_0x529383,_0x4bd3e9){const _0x5bebe3=_0xc8d6e8;super(),g(this,_0x5bebe3(0x3dd),new Map()),g(this,_0x5bebe3(0x28d),new _0x378360()),(this[_0x5bebe3(0x360)]=_0x45eb30,this['_collabSessionService']=_0x529383,this[_0x5bebe3(0x2c7)]=_0x4bd3e9,this[_0x5bebe3(0x36a)]());}[_0xc8d6e8(0x204)](){const _0x198042=_0xc8d6e8;super[_0x198042(0x204)](),this[_0x198042(0x3dd)][_0x198042(0x1da)](_0x517b4a=>_0x517b4a[_0x198042(0x204)]()),this[_0x198042(0x3dd)][_0x198042(0x3ab)]();}[_0xc8d6e8(0x17b)](_0x31f2c9){const _0x151bf5=_0xc8d6e8;var _0x5b8290;return(_0x5b8290=this['_entities'][_0x151bf5(0x2c2)](_0x31f2c9))!=null?_0x5b8290:null;}[_0xc8d6e8(0x1d5)](_0x25de0d){const _0x39984e=_0xc8d6e8,_0x2af047=this[_0x39984e(0x17b)](_0x25de0d);return _0x2af047?_0x2cb441(_0x2af047):this[_0x39984e(0x28d)][_0x39984e(0x236)](_0x474f16(_0x4ca907=>_0x4ca907[_0x39984e(0x17c)]===_0x25de0d));}[_0xc8d6e8(0x36a)](){const _0x4dc372=_0xc8d6e8;this[_0x4dc372(0x2c7)][_0x4dc372(0x1df)](_0x4f645a[_0x4dc372(0x50a)])['pipe'](_0x6a5096(this[_0x4dc372(0x191)]),_0x12cdd5(0x10))[_0x4dc372(0x1ed)](async _0x53b6d2=>{const _0x26c81c=_0x4dc372,_0x8301a=_0x53b6d2[_0x26c81c(0x4a7)](),_0xa6ecbc=await this[_0x26c81c(0x190)](_0x8301a,ce[_0x26c81c(0x50a)]);this[_0x26c81c(0x3dd)]['set'](_0x8301a,_0xa6ecbc);}),this[_0x4dc372(0x2c7)][_0x4dc372(0x1df)](_0x4f645a[_0x4dc372(0x3c7)])['pipe'](_0x6a5096(this[_0x4dc372(0x191)]),_0x12cdd5(0x10))[_0x4dc372(0x236)](_0x474f16(_0x13eaaa=>!_0x13eaaa[_0x4dc372(0x4a7)]()[_0x4dc372(0x2cc)]('__')))[_0x4dc372(0x1ed)](async _0x26716c=>{const _0xf1e2c0=_0x4dc372,_0x33a921=_0x26716c[_0xf1e2c0(0x4a7)](),_0x4c7444=await this[_0xf1e2c0(0x190)](_0x33a921,ce['UNIVER_DOC']);this['_entities']['set'](_0x33a921,_0x4c7444);}),_0x88f83c(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4f645a[_0x4dc372(0x50a)]),this[_0x4dc372(0x2c7)][_0x4dc372(0x497)](_0x4f645a[_0x4dc372(0x3c7)]))[_0x4dc372(0x236)](_0x6a5096(this['dispose$']))[_0x4dc372(0x1ed)](_0x35c714=>{const _0x27227b=_0x4dc372,_0x347236=_0x35c714['getUnitId'](),_0xe1b1e8=this['_entities']['get'](_0x347236);_0xe1b1e8&&(_0xe1b1e8[_0x27227b(0x204)](),this['_entities'][_0x27227b(0x2b0)](_0x347236));});}async[_0xc8d6e8(0x190)](_0x192fbf,_0xa90efa){const _0x8aadb1=_0xc8d6e8,_0x2e4f4=await this[_0x8aadb1(0x3b0)]['requireSession'](_0x192fbf),_0x402309=this['_injector'][_0x8aadb1(0x15f)](this[_0x8aadb1(0x15a)](_0xa90efa),_0x192fbf,_0xa90efa,_0x2e4f4);return await _0x402309[_0x8aadb1(0x293)](),this['_entityInit$'][_0x8aadb1(0x3f0)](_0x402309),_0x402309;}[_0xc8d6e8(0x15a)](_0x5d3320){const _0x153758=_0xc8d6e8;switch(_0x5d3320){case ce[_0x153758(0x3c7)]:return ss;case ce[_0x153758(0x50a)]:return is;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5d3320);}}};it=To([Lt(0x0,_0x13f971(_0x20e5db)),Lt(0x1,_0x13f971(xe)),Lt(0x2,_0x2ddd21)],it);const Gs=['purple300','jiqing500',_0xc8d6e8(0x208),'red300',_0xc8d6e8(0x300),_0xc8d6e8(0x35f)];class bs extends _0x5e1db6{constructor(){const _0x22f321=_0xc8d6e8;super(...arguments),g(this,_0x22f321(0x3a7),new Map()),g(this,_0x22f321(0x53b),0x0);}['assignAColorForMemberID'](_0x130c0d){const _0x526184=_0xc8d6e8;if(this[_0x526184(0x3a7)][_0x526184(0x3eb)](_0x130c0d))return this[_0x526184(0x3a7)][_0x526184(0x2c2)](_0x130c0d);const _0x2e1ed6=Gs[this[_0x526184(0x53b)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Gs[_0x526184(0x3d5)],this[_0x526184(0x3a7)][_0x526184(0x21c)](_0x130c0d,_0x2e1ed6),_0x2e1ed6;}}var Ro=Object[_0xc8d6e8(0x17a)],Oo=Object[_0xc8d6e8(0x4d8)],yo=(_0x2c0951,_0x418d2c,_0x33a3bd,_0x18fa3d)=>{for(var _0x2711ed=_0x18fa3d>0x1?void 0x0:_0x18fa3d?Oo(_0x418d2c,_0x33a3bd):_0x418d2c,_0x41685d=_0x2c0951['length']-0x1,_0xed96be;_0x41685d>=0x0;_0x41685d--)(_0xed96be=_0x2c0951[_0x41685d])&&(_0x2711ed=(_0x18fa3d?_0xed96be(_0x418d2c,_0x33a3bd,_0x2711ed):_0xed96be(_0x2711ed))||_0x2711ed);return _0x18fa3d&&_0x2711ed&&Ro(_0x418d2c,_0x33a3bd,_0x2711ed),_0x2711ed;},De=(_0xe38cde,_0x5d5272)=>(_0x3e70ca,_0x48cf76)=>_0x5d5272(_0x3e70ca,_0x48cf76,_0xe38cde);const wo=0x12c,Do=0x64;let ns=class extends _0x2ea33c{constructor(_0xf01f9a,_0xdfa7ba,_0xd68ed8,_0x54c6c7,_0x364f2b,_0x1e15b2,_0x4af840,_0x4a2c41,_0x179aac){const _0x29fa5d=_0xc8d6e8;super(),g(this,_0x29fa5d(0x50d),!0x1),g(this,_0x29fa5d(0x36a),!0x1),g(this,_0x29fa5d(0x4c1),new _0xfe121(new Map())),g(this,_0x29fa5d(0x163),this[_0x29fa5d(0x4c1)][_0x29fa5d(0x4de)]()),g(this,_0x29fa5d(0x1a2),new _0xfe121([])),g(this,'roomMembers$',this['_roomMembers$'][_0x29fa5d(0x236)](_0x2565cd(wo))),g(this,_0x29fa5d(0x496),_0x2384a7(_0x86ba18=>{const _0x42e649=_0x29fa5d,_0x338e13={'eventID':_0x275148[_0x42e649(0x276)],'data':{'unitID':this[_0x42e649(0x17c)],'memberID':this[_0x42e649(0x3a5)]['getMemberID'](),'selection':Pi(_0x86ba18)}};this[_0x42e649(0x3a5)][_0x42e649(0x3c1)](_0x338e13,this[_0x42e649(0x17c)]);},Do)),(this[_0x29fa5d(0x17c)]=_0xf01f9a,this[_0x29fa5d(0x3a5)]=_0xdfa7ba,this[_0x29fa5d(0x360)]=_0xd68ed8,this[_0x29fa5d(0x4ca)]=_0x54c6c7,this[_0x29fa5d(0x253)]=_0x364f2b,this[_0x29fa5d(0x248)]=_0x1e15b2,this[_0x29fa5d(0x196)]=_0x4af840,this[_0x29fa5d(0x2c7)]=_0x4a2c41,this[_0x29fa5d(0x4e0)]=_0x179aac);}get[_0xc8d6e8(0x45b)](){const _0x52cdef=_0xc8d6e8;return this[_0x52cdef(0x4c1)][_0x52cdef(0x388)]();}get[_0xc8d6e8(0x410)](){return this['_roomMembers$']['getValue']();}[_0xc8d6e8(0x204)](){const _0x52aece=_0xc8d6e8;super[_0x52aece(0x204)](),this[_0x52aece(0x4c1)][_0x52aece(0x3f0)](new Map()),this[_0x52aece(0x4c1)][_0x52aece(0x20c)](),this[_0x52aece(0x1a2)]['next']([]),this[_0x52aece(0x1a2)][_0x52aece(0x20c)]();}[_0xc8d6e8(0x293)](){const _0x43f9fa=_0xc8d6e8;this['_init']||(this['_init']=!0x0,this[_0x43f9fa(0x3a5)]['sessionStatus$'][_0x43f9fa(0x236)](_0x6a5096(this['dispose$']))['subscribe'](_0x5af479=>{const _0x48f9c4=_0x43f9fa;_0x5af479===ve['ONLINE']?this[_0x48f9c4(0x44f)]():this[_0x48f9c4(0x379)]();}),this[_0x43f9fa(0x3a5)][_0x43f9fa(0x157)][_0x43f9fa(0x236)](_0x6a5096(this[_0x43f9fa(0x191)]))[_0x43f9fa(0x1ed)](_0x4b141d=>{const _0x30cc7d=_0x43f9fa,_0x52afb5=_0x4b141d[_0x30cc7d(0x411)];_0x52afb5===_0x275148[_0x30cc7d(0x276)]&&this[_0x30cc7d(0x2b6)](_0x4b141d),_0x52afb5===_0x275148['USERS_LEAVE']&&this[_0x30cc7d(0x25d)](_0x4b141d);}),this['disposeWithMe'](this[_0x43f9fa(0x4e0)][_0x43f9fa(0x19a)](_0x19ec3f=>{const _0x54a8da=_0x43f9fa,_0x1419c3=_0x19ec3f[_0x54a8da(0x477)];_0x1419c3!=null&&this[_0x54a8da(0x50d)]&&_0x19ec3f['id']===_0x9955df['id']&&_0x1419c3['unitId']===this['unitID']&&_0x1419c3[_0x54a8da(0x416)]===!0x1&&_0x1419c3[_0x54a8da(0x149)]['length']>0x0&&this['_updateLocalCursor'](_0x1419c3['ranges']);})),this[_0x43f9fa(0x248)][_0x43f9fa(0x279)]['pipe'](_0x6a5096(this[_0x43f9fa(0x191)]))[_0x43f9fa(0x1ed)](_0x32422c=>{const _0x7ec0a9=_0x43f9fa;if((_0x32422c==null?void 0x0:_0x32422c[_0x7ec0a9(0x17c)])!==this['unitID'])return;const _0x306731={'eventID':_0x275148['UPDATE_CURSOR'],'data':_0x32422c};this['_onCursorUpdate'](_0x306731);}),this[_0x43f9fa(0x43e)](this[_0x43f9fa(0x4e0)][_0x43f9fa(0x19a)](_0x11f10f=>{const _0x10a6bc=_0x43f9fa;if(_0x11f10f[_0x10a6bc(0x477)]==null)return;const _0x436819=_0x11f10f[_0x10a6bc(0x477)];if(_0x11f10f['id']!==_0x942aea['id']||_0x436819[_0x10a6bc(0x367)]!==this[_0x10a6bc(0x17c)])return;const _0x249cfb={'id':_0x10a6bc(0x156),'params':_0x436819},_0x9afbd2=this[_0x10a6bc(0x45b)];for(const [_0x1fb4b0,_0x3ba7f6]of _0x9afbd2){const _0x5dcfcb={'id':_0x10a6bc(0x156),'params':{'unitId':this[_0x10a6bc(0x17c)],'actions':null,'textRanges':_0x3ba7f6['ranges']}},_0xc79161=this[_0x10a6bc(0x196)][_0x10a6bc(0x405)](_0x249cfb,_0x5dcfcb,!0x1);if(_0x240244(_0xc79161))throw _0xc79161['error'];_0x9afbd2['set'](_0x1fb4b0,{..._0x3ba7f6,'ranges':_0xc79161[_0x10a6bc(0x535)]['params'][_0x10a6bc(0x2b4)]});}queueMicrotask(()=>{const _0x2902c9=_0x10a6bc;this[_0x2902c9(0x4c1)]['next'](_0x9afbd2);});})));}['_onCursorUpdate'](_0x33f661){const _0x168060=_0xc8d6e8;var _0x546890,_0x254171;const {memberID:_0x5c9d3a,selection:_0x2ed053}=_0x33f661[_0x168060(0x464)],_0x41dd81=lo(_0x2ed053),_0x4b4534=(_0x254171=(_0x546890=this['_memberService'][_0x168060(0x4c2)](this[_0x168060(0x17c)],_0x5c9d3a))==null?void 0x0:_0x546890[_0x168060(0x21a)])!=null?_0x254171:_0x168060(0x36b),_0x56617f={'color':this[_0x168060(0x4ca)][_0x168060(0x132)](_0x5c9d3a),'name':_0x4b4534,'ranges':_0x41dd81},_0xfbfda9=this[_0x168060(0x45b)];_0xfbfda9['set'](_0x5c9d3a,_0x56617f),this[_0x168060(0x4c1)][_0x168060(0x3f0)](_0xfbfda9);}[_0xc8d6e8(0x25d)](_0x25b6bf){const _0x1814ee=_0xc8d6e8,{memberID:_0x35025f}=_0x25b6bf['data'],_0x3bd299=this[_0x1814ee(0x45b)];_0x3bd299[_0x1814ee(0x2b0)](_0x35025f),this[_0x1814ee(0x4c1)]['next'](_0x3bd299);}[_0xc8d6e8(0x44f)](){const _0x29f0e4=_0xc8d6e8;var _0x170a7f;if(this['_online']=!0x0,((_0x170a7f=this[_0x29f0e4(0x2c7)][_0x29f0e4(0x385)]())==null?void 0x0:_0x170a7f[_0x29f0e4(0x4a7)]())!==this['unitID'])return;const _0x2c179c=this[_0x29f0e4(0x360)][_0x29f0e4(0x2c2)](_0x5930e4)[_0x29f0e4(0x199)]();Array['isArray'](_0x2c179c)&&_0x2c179c['length']>0x0&&this[_0x29f0e4(0x496)](_0x2c179c);}[_0xc8d6e8(0x379)](){this['_online']=!0x1;}};ns=yo([De(0x2,_0x13f971(_0x20e5db)),De(0x3,_0x13f971(bs)),De(0x4,_0x13f971(Me)),De(0x5,_0x13f971(Cs)),De(0x6,_0x59efa9),De(0x7,_0x2ddd21),De(0x8,_0x4171ed)],ns);var Po=Object[_0xc8d6e8(0x17a)],Uo=Object[_0xc8d6e8(0x4d8)],No=(_0x1782fb,_0x5dcb4d,_0x41799b,_0x46d888)=>{const _0x4626c0=_0xc8d6e8;for(var _0x57c72a=_0x46d888>0x1?void 0x0:_0x46d888?Uo(_0x5dcb4d,_0x41799b):_0x5dcb4d,_0x1c7804=_0x1782fb[_0x4626c0(0x3d5)]-0x1,_0x48f1e3;_0x1c7804>=0x0;_0x1c7804--)(_0x48f1e3=_0x1782fb[_0x1c7804])&&(_0x57c72a=(_0x46d888?_0x48f1e3(_0x5dcb4d,_0x41799b,_0x57c72a):_0x48f1e3(_0x57c72a))||_0x57c72a);return _0x46d888&&_0x57c72a&&Po(_0x5dcb4d,_0x41799b,_0x57c72a),_0x57c72a;},Be=(_0x4f339d,_0xfa3ba7)=>(_0x4fc4fa,_0x57a40d)=>_0xfa3ba7(_0x4fc4fa,_0x57a40d,_0x4f339d);const Ao=0x12c,Mo=0x64,xo=()=>{let _0x2f3de5=[],_0x5d78cf=!0x1;return _0x12aa57=>{const _0x1f1fd3=_0x284c;_0x2f3de5[_0x1f1fd3(0x183)](_0x12aa57),_0x5d78cf||(_0x5d78cf=!0x0,setTimeout(()=>{_0x2f3de5['forEach'](_0x16efcc=>_0x16efcc()),_0x2f3de5=[],_0x5d78cf=!0x1;}));};};let rs=class extends _0x2ea33c{constructor(_0x44c119,_0x35c2e5,_0x20193,_0x2692fa,_0x1dbb7f,_0x6594d4,_0x2c3e0a,_0xef12e3){const _0x29234b=_0xc8d6e8;super(),g(this,_0x29234b(0x50d),!0x1),g(this,'_init',!0x1),g(this,_0x29234b(0x4c1),new _0xfe121(new Map())),g(this,_0x29234b(0x163),this[_0x29234b(0x4c1)][_0x29234b(0x4de)]()),g(this,'_roomMembers$',new _0xfe121([])),g(this,_0x29234b(0x4cf),this[_0x29234b(0x1a2)][_0x29234b(0x236)](_0x2565cd(Ao))),g(this,_0x29234b(0x496),_0x2384a7((_0x3fcbb5,_0x306991)=>{const _0x25fa8c=_0x29234b,_0x138149={'eventID':_0x275148[_0x25fa8c(0x276)],'data':{'unitID':this[_0x25fa8c(0x17c)],'memberID':this['_session'][_0x25fa8c(0x4b4)](),'selection':_0x503f9d(_0x3fcbb5,_0x306991[_0x25fa8c(0x4a8)])}};this[_0x25fa8c(0x3a5)]['send'](_0x138149,this[_0x25fa8c(0x17c)]);},Mo)),(this[_0x29234b(0x17c)]=_0x44c119,this[_0x29234b(0x3a5)]=_0x35c2e5,this['_injector']=_0x20193,this['_colorAssignService']=_0x2692fa,this[_0x29234b(0x253)]=_0x1dbb7f,this[_0x29234b(0x2c7)]=_0x6594d4,this[_0x29234b(0x4e0)]=_0x2c3e0a,this[_0x29234b(0x371)]=_0xef12e3);}get['cursorInfo'](){const _0x376e7c=_0xc8d6e8;return this['_cursorInfo$'][_0x376e7c(0x388)]();}get[_0xc8d6e8(0x410)](){const _0x1fee79=_0xc8d6e8;return this['_roomMembers$'][_0x1fee79(0x388)]();}['dispose'](){const _0xed9c5b=_0xc8d6e8;super[_0xed9c5b(0x204)](),this[_0xed9c5b(0x4c1)]['next'](new Map()),this[_0xed9c5b(0x4c1)][_0xed9c5b(0x20c)](),this[_0xed9c5b(0x1a2)]['next']([]),this[_0xed9c5b(0x1a2)]['complete']();}[_0xc8d6e8(0x293)](){const _0x55112b=_0xc8d6e8;this[_0x55112b(0x36a)]||(this['_init']=!0x0,this[_0x55112b(0x3a5)][_0x55112b(0x280)][_0x55112b(0x236)](_0x6a5096(this[_0x55112b(0x191)]))[_0x55112b(0x1ed)](_0x2d31ef=>{const _0xceab80=_0x55112b;_0x2d31ef===ve['ONLINE']?this[_0xceab80(0x44f)]():this[_0xceab80(0x379)]();}),this[_0x55112b(0x3a5)]['event$'][_0x55112b(0x236)](_0x6a5096(this[_0x55112b(0x191)]))[_0x55112b(0x1ed)](_0x26af99=>{const _0x602fca=_0x55112b,_0x11439d=_0x26af99[_0x602fca(0x411)];_0x11439d===_0x275148[_0x602fca(0x276)]&&this[_0x602fca(0x2b6)](_0x26af99),_0x11439d===_0x275148[_0x602fca(0x2bb)]&&this[_0x602fca(0x25d)](_0x26af99);}),this[_0x55112b(0x3c9)](),this[_0x55112b(0x43e)](this[_0x55112b(0x4e0)]['onCommandExecuted'](_0x3d027c=>{const _0x518c63=_0x55112b;if(this['_online']&&_0x3d027c['id']===_0x2c4628['id']&&_0x3d027c[_0x518c63(0x477)][_0x518c63(0x367)]===this[_0x518c63(0x17c)]){const _0x49054a=_0x3d027c[_0x518c63(0x477)];this['_updateLocalCursor'](_0x49054a[_0x518c63(0x48b)],_0x49054a['selections'][0x0]);}})));}['_onCursorUpdate'](_0x375d16){const _0xb7f05d=_0xc8d6e8;var _0x24610f,_0x4ef361;const {memberID:_0x118115,selection:_0x8799eb}=_0x375d16[_0xb7f05d(0x464)],{sheetName:_0x173aa8,range:_0xf08d0f}=_0x358f17(_0x8799eb),_0xb17385={'name':(_0x4ef361=(_0x24610f=this['_memberService']['getMember'](this[_0xb7f05d(0x17c)],_0x118115))==null?void 0x0:_0x24610f[_0xb7f05d(0x21a)])!=null?_0x4ef361:_0xb7f05d(0x36b),'range':this[_0xb7f05d(0x1d8)](_0x173aa8,_0xf08d0f),'sheetID':_0x173aa8,'color':this[_0xb7f05d(0x4ca)][_0xb7f05d(0x132)](_0x118115),'selection':_0x8799eb},_0x4d3997=this[_0xb7f05d(0x45b)];_0x4d3997[_0xb7f05d(0x21c)](_0x118115,_0xb17385),this['_cursorInfo$'][_0xb7f05d(0x3f0)](_0x4d3997);}[_0xc8d6e8(0x25d)](_0x1eb66c){const _0x54e864=_0xc8d6e8,{memberID:_0x5489d5}=_0x1eb66c[_0x54e864(0x464)],_0x27ba36=this[_0x54e864(0x45b)];_0x27ba36['delete'](_0x5489d5),this[_0x54e864(0x4c1)][_0x54e864(0x3f0)](_0x27ba36);}[_0xc8d6e8(0x1d8)](_0x2a6f9b,_0x79219d){const _0x18499b=_0xc8d6e8;var _0xb38211,_0x443687;const _0xae4c03=(_0x443687=(_0xb38211=this[_0x18499b(0x2c7)]['getUniverSheetInstance'](this[_0x18499b(0x17c)]))==null?void 0x0:_0xb38211[_0x18499b(0x4d9)](_0x2a6f9b))==null?void 0x0:_0x443687['getMergeData']();return(_0xae4c03==null?void 0x0:_0xae4c03[_0x18499b(0x3f1)](_0x1d6760=>_0x3cb9ac[_0x18499b(0x3a3)](_0x1d6760,_0x79219d)))||_0x79219d;}[_0xc8d6e8(0x3c9)](){const _0x56639e=_0xc8d6e8,_0x4af134=new _0x4711ac(),_0x11e13d=xo(),_0x1ed778=()=>{const _0xfefb19=_0x284c;_0x4af134[_0xfefb19(0x204)]();const _0x1d2a68=(_0x368459,_0x4e9ebc,_0xf5fd35,_0x3e099)=>{const _0x51ef41=_0xfefb19;let _0x438553=[];switch(_0x368459['id']){case _0x4e05a8[_0x51ef41(0x501)]:{_0x438553=_0x13af4b(_0x368459,_0x3e099);break;}case _0x4e05a8[_0x51ef41(0x286)]:{_0x438553=_0x3c7298(_0x368459,_0x3e099);break;}case _0x4e05a8[_0x51ef41(0x315)]:{_0x438553=_0x1d4077(_0x368459,_0x3e099);break;}case _0x4e05a8[_0x51ef41(0x261)]:{_0x438553=_0x380e01(_0x368459,_0x3e099);break;}case _0x4e05a8[_0x51ef41(0x4df)]:{_0x438553=_0x3aa3e6(_0x368459,_0x3e099);break;}case _0x4e05a8['InsertRowCommandId']:{_0x438553=_0x591de4(_0x368459,_0x3e099);break;}case _0x4e05a8[_0x51ef41(0x147)]:{_0x438553=_0x1eff74(_0x368459,_0x3e099);break;}case _0x4e05a8['RemoveColCommandId']:{_0x438553=_0x35033c(_0x368459,_0x3e099);break;}case _0x4e05a8['RemoveRowCommandId']:{_0x438553=_0xaa71cb(_0x368459,_0x3e099);break;}}const _0x18e934=_0x3ee0a2(_0x438553,_0x3e099),_0x3b51c7=this[_0x51ef41(0x45b)][_0x51ef41(0x2c2)](_0x4e9ebc);if(_0x3b51c7&&_0x18e934){const _0x11b98b={..._0x3b51c7,'range':_0x18e934};this[_0x51ef41(0x45b)][_0x51ef41(0x21c)](_0x4e9ebc,_0x11b98b),_0x11e13d(()=>{const _0xa7d977=_0x51ef41,_0x588204=this[_0xa7d977(0x371)][_0xa7d977(0x1d2)](_0x18e934,_0x2aa32e=>(_0x588204[_0xa7d977(0x204)](),_0x1d2a68(_0x2aa32e,_0x4e9ebc,_0xf5fd35,_0x18e934)));_0x4af134[_0xa7d977(0x31c)](_0x588204);});}return{'redos':[],'undos':[]};};this[_0xfefb19(0x45b)][_0xfefb19(0x1da)]((_0x4c44ae,_0x102519)=>{const _0x24a73d=_0xfefb19,{range:_0x28d135,sheetID:_0x4679b8}=_0x4c44ae,_0x4091f6=this[_0x24a73d(0x371)][_0x24a73d(0x1d2)](_0x28d135,_0x1f695a=>(_0x4091f6[_0x24a73d(0x204)](),_0x1d2a68(_0x1f695a,_0x102519,_0x4679b8,_0x28d135)));_0x4af134['add'](_0x4091f6);});};this['disposeWithMe'](_0x4e58a4(this[_0x56639e(0x4c1)][_0x56639e(0x1ed)](()=>{_0x1ed778();})));}[_0xc8d6e8(0x44f)](){const _0x10e9f7=_0xc8d6e8;var _0x4547ad,_0x2b0549;if(this[_0x10e9f7(0x50d)]=!0x0,((_0x4547ad=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4547ad[_0x10e9f7(0x4a7)]())!==this[_0x10e9f7(0x17c)])return;const _0x27e6c4=(_0x2b0549=this[_0x10e9f7(0x360)][_0x10e9f7(0x2c2)](_0x1e03cb)['getCurrentSelections']())==null?void 0x0:_0x2b0549[0x0],_0x163804=this['_univerInstanceService'][_0x10e9f7(0x2e3)](_0x4f645a[_0x10e9f7(0x50a)])[_0x10e9f7(0x404)]();_0x27e6c4&&_0x163804&&this['_updateLocalCursor'](_0x163804['getSheetId'](),_0x27e6c4);}[_0xc8d6e8(0x379)](){const _0x3d7a54=_0xc8d6e8;this[_0x3d7a54(0x50d)]=!0x1;}};rs=No([Be(0x2,_0x13f971(_0x20e5db)),Be(0x3,_0x13f971(bs)),Be(0x4,_0x13f971(Me)),Be(0x5,_0x2ddd21),Be(0x6,_0x4171ed),Be(0x7,_0x13f971(_0x50ac3c))],rs);var Lo=Object[_0xc8d6e8(0x17a)],$o=Object['getOwnPropertyDescriptor'],Ho=(_0x3c19f2,_0x57ede9,_0x2ccae3,_0x53e45b)=>{const _0x3d6e89=_0xc8d6e8;for(var _0x33693a=_0x53e45b>0x1?void 0x0:_0x53e45b?$o(_0x57ede9,_0x2ccae3):_0x57ede9,_0xd0486a=_0x3c19f2[_0x3d6e89(0x3d5)]-0x1,_0x16a6d0;_0xd0486a>=0x0;_0xd0486a--)(_0x16a6d0=_0x3c19f2[_0xd0486a])&&(_0x33693a=(_0x53e45b?_0x16a6d0(_0x57ede9,_0x2ccae3,_0x33693a):_0x16a6d0(_0x33693a))||_0x33693a);return _0x53e45b&&_0x33693a&&Lo(_0x57ede9,_0x2ccae3,_0x33693a),_0x33693a;},$t=(_0x3ca31d,_0x4e26be)=>(_0x4c888e,_0x21cb66)=>_0x4e26be(_0x4c888e,_0x21cb66,_0x3ca31d);let Ve=class extends _0x2ea33c{constructor(_0x2fac72,_0x42335d,_0x4b2b98){const _0x435bea=_0xc8d6e8;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0x378360()),(this['_univerInstanceService']=_0x2fac72,this[_0x435bea(0x360)]=_0x42335d,this['_collabSessionService']=_0x4b2b98,this[_0x435bea(0x36a)]());}[_0xc8d6e8(0x204)](){const _0x1fbb6f=_0xc8d6e8;super['dispose'](),this['_entityInit$'][_0x1fbb6f(0x20c)](),this[_0x1fbb6f(0x3dd)]['forEach'](_0xa33fb9=>_0xa33fb9[_0x1fbb6f(0x204)]());}[_0xc8d6e8(0x439)](_0x19ed32){const _0x2d074c=_0xc8d6e8;return this[_0x2d074c(0x3dd)]['has'](_0x19ed32)?this[_0x2d074c(0x3dd)][_0x2d074c(0x2c2)](_0x19ed32)[_0x2d074c(0x163)]:this[_0x2d074c(0x28d)][_0x2d074c(0x236)](_0x348f8e(_0x118c83=>_0x118c83['unitID']===_0x19ed32),_0x4b2328(_0x265a81=>_0x265a81[_0x2d074c(0x163)]));}['_init'](){const _0x55e60a=_0xc8d6e8;this[_0x55e60a(0x2c7)]['getTypeOfUnitAdded$'](_0x4f645a[_0x55e60a(0x50a)])[_0x55e60a(0x236)](_0x6a5096(this[_0x55e60a(0x191)]))['subscribe'](async _0x555ffa=>{const _0x43d7be=_0x55e60a,_0x50e732=_0x555ffa[_0x43d7be(0x4a7)](),_0x30082d=await this['_startSheetCollabCursor'](_0x50e732);this[_0x43d7be(0x28d)]['next'](_0x30082d),this['_entities'][_0x43d7be(0x21c)](_0x50e732,_0x30082d);}),this[_0x55e60a(0x2c7)]['getTypeOfUnitAdded$'](_0x4f645a[_0x55e60a(0x3c7)])[_0x55e60a(0x236)](_0x6a5096(this[_0x55e60a(0x191)]))[_0x55e60a(0x236)](_0x348f8e(_0x2773f2=>!_0x2773f2[_0x55e60a(0x4a7)]()['startsWith']('__')))[_0x55e60a(0x1ed)](async _0x50f44c=>{const _0x1abd32=_0x55e60a,_0x40dd91=_0x50f44c['getUnitId'](),_0xb4c522=await this[_0x1abd32(0x130)](_0x40dd91);this[_0x1abd32(0x28d)][_0x1abd32(0x3f0)](_0xb4c522),this[_0x1abd32(0x3dd)]['set'](_0x40dd91,_0xb4c522);}),_0x88f83c(this['_univerInstanceService'][_0x55e60a(0x497)](_0x4f645a['UNIVER_DOC']),this[_0x55e60a(0x2c7)][_0x55e60a(0x497)](_0x4f645a['UNIVER_SHEET']))['pipe'](_0x6a5096(this[_0x55e60a(0x191)]))[_0x55e60a(0x1ed)](_0x4880a4=>{const _0x232600=_0x55e60a,_0x249551=_0x4880a4[_0x232600(0x4a7)](),_0x4c93a9=this[_0x232600(0x3dd)]['get'](_0x249551);_0x4c93a9&&(_0x4c93a9[_0x232600(0x204)](),this[_0x232600(0x3dd)][_0x232600(0x2b0)](_0x249551));});}async[_0xc8d6e8(0x207)](_0x5d1a2f){const _0x412df0=_0xc8d6e8,_0x27fef0=await this[_0x412df0(0x3b0)][_0x412df0(0x392)](_0x5d1a2f),_0x2701c7=this[_0x412df0(0x360)][_0x412df0(0x15f)](rs,_0x5d1a2f,_0x27fef0);return _0x2701c7['init'](),_0x2701c7;}async[_0xc8d6e8(0x130)](_0x2bc6a2){const _0x2381b5=_0xc8d6e8,_0x3fcf40=await this[_0x2381b5(0x3b0)]['requireSession'](_0x2bc6a2),_0x475399=this[_0x2381b5(0x360)][_0x2381b5(0x15f)](ns,_0x2bc6a2,_0x3fcf40);return _0x475399['init'](),_0x475399;}};Ve=Ho([$t(0x0,_0x2ddd21),$t(0x1,_0x13f971(_0x20e5db)),$t(0x2,_0x13f971(xe))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,jo=0x5;function Bo(_0x3d535e,_0x324727){const _0x59e895=_0xc8d6e8;let {radius:_0x316734,width:_0x210351,height:_0x556244}=_0x324727;_0x316734=_0x316734!=null?_0x316734:0x0,_0x210351=_0x210351!=null?_0x210351:0x1e,_0x556244=_0x556244!=null?_0x556244:0x1e;let _0x5b9c48=0x0,_0x46e690=0x0,_0x140f11=0x0;_0x5b9c48=_0x46e690=_0x140f11=Math['min'](_0x316734,_0x210351/0x2,_0x556244/0x2),_0x3d535e[_0x59e895(0x1c7)](),_0x3d535e[_0x59e895(0x2fd)](_0x5b9c48,0x0),_0x3d535e['lineTo'](_0x210351-_0x46e690,0x0),_0x3d535e[_0x59e895(0x2f8)](_0x210351-_0x46e690,_0x46e690,_0x46e690,Math['PI']*0x3/0x2,0x0,!0x1),_0x3d535e[_0x59e895(0x26b)](_0x210351,_0x556244-_0x140f11),_0x3d535e[_0x59e895(0x2f8)](_0x210351-_0x140f11,_0x556244-_0x140f11,_0x140f11,0x0,Math['PI']/0x2,!0x1),_0x3d535e['lineTo'](0x0,_0x556244),_0x3d535e['lineTo'](0x0,_0x5b9c48),_0x3d535e[_0x59e895(0x2f8)](_0x5b9c48,_0x5b9c48,_0x5b9c48,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3d535e[_0x59e895(0x14d)](),_0x324727['fill']&&(_0x3d535e[_0x59e895(0x35b)](),_0x3d535e[_0x59e895(0x329)]=_0x324727['fill'],_0x324727[_0x59e895(0x37a)]===_0x59e895(0x460)?_0x3d535e[_0x59e895(0x450)](_0x59e895(0x460)):_0x3d535e[_0x59e895(0x450)](),_0x3d535e[_0x59e895(0x325)]());}class Ot extends _0xc62d9e{constructor(_0xb348f7,_0x389fd1){const _0x214260=_0xc8d6e8;super(_0xb348f7,_0x389fd1),g(this,_0x214260(0x27d)),g(this,'text'),(this[_0x214260(0x27d)]=_0x389fd1==null?void 0x0:_0x389fd1[_0x214260(0x27d)],this[_0x214260(0x47e)]=_0x389fd1==null?void 0x0:_0x389fd1[_0x214260(0x47e)]);}static[_0xc8d6e8(0x1b5)](_0x123330,_0x504dda){const _0x14d3ce=_0xc8d6e8,{text:_0x2d8b56,color:_0x4b98db}=_0x504dda;_0x123330[_0x14d3ce(0x35b)](),_0x123330[_0x14d3ce(0x471)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x47128f=_0x123330[_0x14d3ce(0x19f)](_0x2d8b56)['width'],_0x20613f=Math['min'](_0x47128f+0x2*Ht,Ys);Bo(_0x123330,{'height':nt,'radius':0x4,'width':_0x20613f,'fill':_0x4b98db,'evented':!0x1}),_0x123330[_0x14d3ce(0x329)]=_0x14d3ce(0x1a9);const _0x1b856e=Ht,_0x4ce1f4=nt-jo,_0x56214c=Ys-0x2*Ht;if(_0x47128f>_0x56214c){let _0x25b42e='',_0x30f59f=0x0;for(const _0x156e05 of _0x2d8b56){const _0x2ce479=_0x123330[_0x14d3ce(0x19f)](_0x156e05)[_0x14d3ce(0x413)];if(_0x30f59f+_0x2ce479<=_0x56214c-_0x123330[_0x14d3ce(0x19f)]('...')['width'])_0x25b42e+=_0x156e05,_0x30f59f+=_0x2ce479;else{_0x25b42e+=_0x14d3ce(0x1fb);break;}}_0x123330[_0x14d3ce(0x4ee)](_0x25b42e,_0x1b856e,_0x4ce1f4);}else _0x123330[_0x14d3ce(0x4ee)](_0x2d8b56,_0x1b856e,_0x4ce1f4);_0x123330['restore']();}['_draw'](_0x22e5ef){const _0x192dd5=_0xc8d6e8;Ot[_0x192dd5(0x1b5)](_0x22e5ef,this);}}const jt='collab-text-anchor-',ko=_0xc8d6e8(0x2a0),Wo=_0xc8d6e8(0x180),Je=0x6,Fo=1.5,Bt=0x4,Vo=1.5,Go=_0xc8d6e8(0x247);class Ks{constructor(_0x2719e1,_0x261213,_0x3f213b,_0xb6c880){const _0x58b725=_0xc8d6e8;g(this,_0x58b725(0x310),[]),g(this,_0x58b725(0x14e),null),g(this,'_textBubble',null),g(this,_0x58b725(0x151),null),g(this,'_hideTimer',null),g(this,_0x58b725(0x45e),null),(this[_0x58b725(0x233)]=_0x2719e1,this[_0x58b725(0x161)]=_0x261213,this['_docSkeleton']=_0x3f213b,this['_document']=_0xb6c880,this[_0x58b725(0x1a0)]());}set['_hover'](_0xb3a73f){const _0x12297f=_0xc8d6e8;_0xb3a73f?(this[_0x12297f(0x151)]&&this[_0x12297f(0x151)]['hide'](),this[_0x12297f(0x4ba)]&&this['_textBubble'][_0x12297f(0x339)]()):(this['_anchorDot']&&this['_anchorDot'][_0x12297f(0x339)](),this[_0x12297f(0x4ba)]&&this[_0x12297f(0x4ba)]['hide']());}[_0xc8d6e8(0x204)](){const _0x4e2db8=_0xc8d6e8;for(const _0x5e0dcb of this[_0x4e2db8(0x310)])_0x5e0dcb[_0x4e2db8(0x204)]();this[_0x4e2db8(0x4ba)]&&this[_0x4e2db8(0x4ba)][_0x4e2db8(0x204)](),this[_0x4e2db8(0x151)]&&this[_0x4e2db8(0x151)][_0x4e2db8(0x204)](),this[_0x4e2db8(0x14e)]&&this['_anchor'][_0x4e2db8(0x204)](),this['_eventUnsubscribe']&&this[_0x4e2db8(0x45e)]();}[_0xc8d6e8(0x1a0)](){const _0x4bd687=_0xc8d6e8;var _0x3ab987;const {_docSkeleton:_0x328a0d,_document:_0x3df63a}=this,{color:_0x54da43,name:_0x3524d5,ranges:_0x314947}=this['_cursor'],_0x2c698e=_0x3df63a[_0x4bd687(0x4ae)](),{docsLeft:_0x2769b6,docsTop:_0x3203e6}=_0x2c698e,_0x6b76db=new _0x4479bc(_0x2c698e,_0x328a0d);for(const {startOffset:_0x538f67,endOffset:_0x580f6f,rangeType:_0x26ec62,segmentId:_0x484148,segmentPage:_0x2cece4,collapsed:_0x86dc6e,isActive:_0x2d07bc}of _0x314947){const _0x4c8f04=_0x328a0d[_0x4bd687(0x358)](_0x538f67,!0x0,_0x484148,_0x2cece4);let _0x592f71=_0x328a0d[_0x4bd687(0x358)](_0x580f6f,!0x0,_0x484148,_0x2cece4);if(_0x592f71==null&&(_0x592f71=_0x328a0d[_0x4bd687(0x358)](_0x580f6f-0x1,!0x1,_0x484148,_0x2cece4)),_0x2d07bc){const {contentBoxPointGroup:_0x43644d}=_0x6b76db[_0x4bd687(0x165)](_0x592f71,_0x592f71);if(_0x43644d[_0x4bd687(0x3d5)]===0x0)continue;this[_0x4bd687(0x135)](_0x54da43,_0x43644d,_0x2769b6,_0x3203e6,_0x3524d5),this[_0x4bd687(0x45e)]=this['_handleHover']();}if(_0x4c8f04&&_0x592f71){if(_0x26ec62===_0x38f481[_0x4bd687(0x49f)]){const _0x262b63=new _0x3a67de(_0x2c698e,_0x328a0d),{pointGroup:_0x4a55b4}=(_0x3ab987=_0x262b63[_0x4bd687(0x165)](_0x4c8f04,_0x592f71))!=null?_0x3ab987:{};if(_0x4a55b4==null||_0x4a55b4[_0x4bd687(0x3d5)]===0x0)continue;this[_0x4bd687(0x1b0)](_0x54da43,_0x4a55b4,_0x2769b6,_0x3203e6);}else{if(!_0x86dc6e){const {borderBoxPointGroup:_0x4be5ea}=_0x6b76db['getRangePointData'](_0x4c8f04,_0x592f71);if(_0x4be5ea[_0x4bd687(0x3d5)]===0x0)continue;this[_0x4bd687(0x43f)](_0x54da43,_0x4be5ea,_0x2769b6,_0x3203e6);}}}}}[_0xc8d6e8(0x135)](_0x10aeb6,_0x2ca7a5,_0x36302a,_0x1f196a,_0x52b30d){const _0x3cd8ec=_0xc8d6e8,_0x38994d=this[_0x3cd8ec(0x16f)](_0x2ca7a5),{left:_0x284823,top:_0x2c1bb7,height:_0x3c49e7}=_0x38994d,_0x146f6a=this['_getScale'](),_0x3a9671=Vo/_0x146f6a,_0x1abb9f=new _0x2c31ab(jt+_0x4ef2fc[_0x3cd8ec(0x347)](Je),{'left':_0x284823+_0x36302a-_0x3a9671,'top':_0x2c1bb7+_0x1f196a,'height':_0x3c49e7,'width':Fo,'fill':_0x10aeb6||_0xdb3a53(_0x1a4681[_0x3cd8ec(0x4c0)],0x0),'strokeWidth':_0x3a9671,'stroke':Go,'evented':!0x0});this[_0x3cd8ec(0x14e)]=_0x1abb9f,this['_scene']['addObject'](_0x1abb9f,_0x58be2d);const _0x54a7c1=new _0x2c31ab(jt+_0x4ef2fc['generateRandomId'](Je),{'left':_0x284823+_0x36302a-_0x3a9671,'top':_0x2c1bb7+_0x1f196a-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x10aeb6||_0xdb3a53(_0x1a4681[_0x3cd8ec(0x4c0)],0x0),'strokeWidth':0x0,'stroke':_0x10aeb6||_0xdb3a53(_0x1a4681[_0x3cd8ec(0x4c0)],0x0),'evented':!0x1});this[_0x3cd8ec(0x151)]=_0x54a7c1,this[_0x3cd8ec(0x161)][_0x3cd8ec(0x178)](_0x54a7c1,_0x58be2d);const _0x2b2bc2=new Ot(jt+_0x4ef2fc[_0x3cd8ec(0x347)](Je),{'left':_0x284823+_0x36302a-_0x3a9671,'top':_0x2c1bb7+_0x1f196a-nt,'text':_0x52b30d,'color':_0x10aeb6});this[_0x3cd8ec(0x4ba)]=_0x2b2bc2,this[_0x3cd8ec(0x161)][_0x3cd8ec(0x178)](_0x2b2bc2,_0x58be2d),this['_hover']=!0x1;}['_handleHover'](){const _0x3617b5=_0xc8d6e8,_0x4a1106=this[_0x3617b5(0x14e)]['onPointerEnter$'][_0x3617b5(0x4c8)](()=>{const _0x439bab=_0x3617b5;this[_0x439bab(0x211)]=!0x0;}),_0x3bbcde=this[_0x3617b5(0x14e)][_0x3617b5(0x4b2)][_0x3617b5(0x4c8)](()=>{const _0x544f5b=_0x3617b5;this[_0x544f5b(0x4af)]&&clearTimeout(this[_0x544f5b(0x4af)]),this[_0x544f5b(0x4af)]=setTimeout(()=>{const _0x328837=_0x544f5b;this[_0x328837(0x211)]=!0x1;},0x7d0);});return()=>{const _0x4a0701=_0x3617b5;_0x4a1106[_0x4a0701(0x2e2)](),_0x3bbcde['unsubscribe']();};}['_drawTextRange'](_0x1f5889,_0x31df3f,_0x357222,_0x1041de){const _0x49b7af=_0xc8d6e8,_0x373973=new _0x5dfdce(_0x1f5889)[_0x49b7af(0x2ef)](0.2)[_0x49b7af(0x429)](),_0xda7a72=new _0x19a511(ko+_0x4ef2fc[_0x49b7af(0x347)](Je),{'pointsGroup':_0x31df3f,'fill':_0x373973||_0xdb3a53(_0x1a4681[_0x49b7af(0x4c0)],0.2),'left':_0x357222,'top':_0x1041de,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x49b7af(0x310)][_0x49b7af(0x183)](_0xda7a72),this[_0x49b7af(0x161)][_0x49b7af(0x178)](_0xda7a72,_0x58be2d);}[_0xc8d6e8(0x1b0)](_0x48feb7,_0x5ec9e1,_0x2bed6e,_0x524d1c){const _0x5a5c77=_0xc8d6e8,_0x118078=new _0x5dfdce(_0x48feb7)[_0x5a5c77(0x2ef)](0.2)['toRgbString'](),_0x362a2f=new _0x19a511(Wo+_0x4ef2fc['generateRandomId'](Je),{'pointsGroup':_0x5ec9e1,'fill':_0x118078||_0xdb3a53(_0x1a4681[_0x5a5c77(0x4c0)],0.2),'left':_0x2bed6e,'top':_0x524d1c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5a5c77(0x310)]['push'](_0x362a2f),this[_0x5a5c77(0x161)]['addObject'](_0x362a2f,_0x58be2d);}[_0xc8d6e8(0x16f)](_0x3fe7fe){const _0x16fdaa=_0x3fe7fe[0x0],_0x2af486=_0x16fdaa[0x0],_0x7a0d41=_0x16fdaa[0x2],{x:_0x20dda7,y:_0x146bc7}=_0x2af486,{x:_0x4927a6,y:_0x287ebc}=_0x7a0d41;return{'left':_0x20dda7,'top':_0x146bc7,'width':_0x4927a6-_0x20dda7,'height':_0x287ebc-_0x146bc7};}['_getScale'](){const _0x1f5977=_0xc8d6e8,{scaleX:_0x257914,scaleY:_0x5d0798}=this[_0x1f5977(0x161)][_0x1f5977(0x4a0)]();return Math['max'](_0x257914,_0x5d0798);}}var Yo=Object['defineProperty'],Ko=Object[_0xc8d6e8(0x4d8)],zo=(_0x3eb476,_0x30f284,_0x27ba42,_0x5844e6)=>{const _0x57cb06=_0xc8d6e8;for(var _0x222d29=_0x5844e6>0x1?void 0x0:_0x5844e6?Ko(_0x30f284,_0x27ba42):_0x30f284,_0x739f96=_0x3eb476[_0x57cb06(0x3d5)]-0x1,_0x10ceb2;_0x739f96>=0x0;_0x739f96--)(_0x10ceb2=_0x3eb476[_0x739f96])&&(_0x222d29=(_0x5844e6?_0x10ceb2(_0x30f284,_0x27ba42,_0x222d29):_0x10ceb2(_0x222d29))||_0x222d29);return _0x5844e6&&_0x222d29&&Yo(_0x30f284,_0x27ba42,_0x222d29),_0x222d29;},ct=(_0x2bab56,_0x93820b)=>(_0x2c5bdd,_0x667929)=>_0x93820b(_0x2c5bdd,_0x667929,_0x2bab56);let os=class extends _0x2ea33c{constructor(_0x477d5e,_0x1487c3,_0xd309c0,_0x570545,_0x584e0b){const _0x1a8980=_0xc8d6e8;super(),g(this,_0x1a8980(0x241),[]),g(this,'_cursors',[]),(this['_context']=_0x477d5e,this[_0x1a8980(0x382)]=_0x1487c3,this[_0x1a8980(0x1f2)]=_0xd309c0,this[_0x1a8980(0x4e0)]=_0x570545,this[_0x1a8980(0x1f3)]=_0x584e0b,this['_init']());}[_0xc8d6e8(0x36a)](){const _0x28c79a=_0xc8d6e8,_0x36aa2f=this['_context']['unitId'],_0x251d35=this['_docSkeletonManagerService'];this[_0x28c79a(0x43e)](_0x59bbc7([this[_0x28c79a(0x1f2)][_0x28c79a(0x439)](_0x36aa2f),this['_themeService'][_0x28c79a(0x186)]])[_0x28c79a(0x236)](_0x38f68a(([_0x4713f0,_0x35a158])=>({'skeleton':_0x251d35[_0x28c79a(0x42a)](),'cursors':[..._0x4713f0[_0x28c79a(0x2f6)]()][_0x28c79a(0x393)](_0x3a285b=>({..._0x3a285b,'color':_0x35a158[_0x3a285b[_0x28c79a(0x27d)]]}))})))[_0x28c79a(0x1ed)](_0x43d037=>{const _0x4a0f5d=_0x28c79a;if(this['_removeCollabCursors'](),_0x43d037){const {skeleton:_0x12652b,cursors:_0x1b64d4}=_0x43d037;this[_0x4a0f5d(0x452)](_0x12652b,_0x1b64d4);}})),this[_0x28c79a(0x423)](),this[_0x28c79a(0x2f5)]();}[_0xc8d6e8(0x452)](_0x5661cb,_0x59a48d){const _0x16b603=_0xc8d6e8,{scene:_0x361df5,mainComponent:_0x590567}=this[_0x16b603(0x37b)],_0x18e04c=_0x59a48d[_0x16b603(0x431)](_0x5c1691=>new Ks(_0x5c1691,_0x361df5,_0x5661cb,_0x590567));this[_0x16b603(0x241)]=_0x18e04c,this[_0x16b603(0x417)]=_0x59a48d;}[_0xc8d6e8(0x2ab)](){const _0x18d9fd=_0xc8d6e8;this[_0x18d9fd(0x51d)]();const {scene:_0x4a6bd3,mainComponent:_0x57aad6}=this[_0x18d9fd(0x37b)],_0x3671c8=this[_0x18d9fd(0x382)][_0x18d9fd(0x42a)](),_0x55dd72=this[_0x18d9fd(0x417)][_0x18d9fd(0x431)](_0x551a2a=>new Ks(_0x551a2a,_0x4a6bd3,_0x3671c8,_0x57aad6));this['_cursorShapes']=_0x55dd72;}[_0xc8d6e8(0x51d)](){const _0xab387e=_0xc8d6e8;this[_0xab387e(0x241)][_0xab387e(0x1da)](_0x244762=>_0x244762[_0xab387e(0x204)]()),this[_0xab387e(0x241)]=[];}[_0xc8d6e8(0x2f5)](){const _0x3df52c=_0xc8d6e8,_0x578c85=[_0x15a860['id']];this['disposeWithMe'](this['_commandService'][_0x3df52c(0x19a)](_0x58a161=>{const _0xb894b6=_0x3df52c;_0x578c85['includes'](_0x58a161['id'])&&_0x58a161[_0xb894b6(0x477)]['unitId']===this[_0xb894b6(0x37b)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x1f5d89=_0xc8d6e8;this[_0x1f5d89(0x43e)](_0x289720(this[_0x1f5d89(0x37b)]['engine'][_0x1f5d89(0x409)])['pipe'](_0x474f16(_0x377973=>_0x377973[_0x1f5d89(0x4aa)]===_0x5c7057['resize']),_0x1d2269(0x10))[_0x1f5d89(0x1ed)](()=>{const _0x2bbe57=_0x1f5d89;this[_0x2bbe57(0x2ab)]();}));}};function _0x284c(_0x4c23fa,_0x19b0c5){const _0x1849f7=_0x1849();return _0x284c=function(_0x284c51,_0x324b5d){_0x284c51=_0x284c51-0x122;let _0x488da9=_0x1849f7[_0x284c51];return _0x488da9;},_0x284c(_0x4c23fa,_0x19b0c5);}os=zo([ct(0x1,_0x13f971(_0xd704ef)),ct(0x2,_0x13f971(Ve)),ct(0x3,_0x4171ed),ct(0x4,_0x13f971(_0x5dff17))],os);const qo=0x1,Xo=1.5;class Jo extends _0xc62d9e{constructor(_0x2da4c8,_0x4edd02){const _0x209df8=_0xc8d6e8;super(_0x2da4c8,_0x4edd02),g(this,_0x209df8(0x13c)),g(this,'_hovered',!0x1),g(this,'_range'),g(this,_0x209df8(0x269),''),g(this,_0x209df8(0x2a3),_0x209df8(0x34c)),g(this,'_backgroundColor'),(_0x4edd02&&this['setShapeProps'](_0x4edd02),this[_0x209df8(0x128)]['subscribeEvent'](()=>this[_0x209df8(0x451)]({'hovered':!0x0})),this['onPointerLeave$'][_0x209df8(0x4c8)](()=>this[_0x209df8(0x451)]({'hovered':!0x1})));}['setShapeProps'](_0x54f9e8){const _0x16d318=_0xc8d6e8;var _0x21d840,_0x5eca27,_0x80ccbe,_0x2878e8,_0xd27b78,_0x34b88f;this['_color']=(_0x21d840=_0x54f9e8[_0x16d318(0x27d)])!=null?_0x21d840:this[_0x16d318(0x13c)],this[_0x16d318(0x2c0)]=(_0x5eca27=_0x54f9e8[_0x16d318(0x195)])!=null?_0x5eca27:this['_hovered'],this[_0x16d318(0x278)]=(_0x80ccbe=_0x54f9e8['range'])!=null?_0x80ccbe:this[_0x16d318(0x278)],this[_0x16d318(0x269)]=(_0x2878e8=_0x54f9e8[_0x16d318(0x21a)])!=null?_0x2878e8:this['_name'],this[_0x16d318(0x2a3)]=(_0xd27b78=_0x54f9e8['labelPosition'])!=null?_0xd27b78:this['_labelPosition'],this[_0x16d318(0x19b)]=(_0x34b88f=_0x54f9e8[_0x16d318(0x14c)])!=null?_0x34b88f:this[_0x16d318(0x19b)],this[_0x16d318(0x2db)]({'width':_0x54f9e8[_0x16d318(0x413)],'height':_0x54f9e8[_0x16d318(0x3e1)]});}[_0xc8d6e8(0x4a2)](_0x343fa9){const _0x1e7039=_0xc8d6e8,{row:_0x1b5ff5,column:_0x374192}=_0x343fa9;if(_0x1b5ff5>=this[_0x1e7039(0x278)][_0x1e7039(0x2b7)]&&_0x1b5ff5<=this[_0x1e7039(0x278)][_0x1e7039(0x518)]&&_0x374192>=this[_0x1e7039(0x278)][_0x1e7039(0x396)]&&_0x374192<=this[_0x1e7039(0x278)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xc8d6e8(0x139)](_0x410384){return!0x1;}['_draw'](_0x4c89c9){const _0x47ee17=_0xc8d6e8;_0x2c31ab[_0x47ee17(0x1b5)](_0x4c89c9,{'width':this['width'],'height':this['height'],'strokeWidth':Xo,'stroke':this[_0x47ee17(0x13c)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x47ee17(0x2c0)]&&(_0x4c89c9[_0x47ee17(0x35b)](),_0x4c89c9[_0x47ee17(0x46a)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x47ee17(0x18c)?0x0:-nt),Ot[_0x47ee17(0x1b5)](_0x4c89c9,{'text':this[_0x47ee17(0x269)],'color':this['_color']}),_0x4c89c9['restore']());}}var Zo=Object[_0xc8d6e8(0x17a)],Qo=Object[_0xc8d6e8(0x4d8)],ea=(_0x185374,_0x250972,_0x4c837c,_0x2d3a96)=>{const _0x5a5995=_0xc8d6e8;for(var _0x323ff2=_0x2d3a96>0x1?void 0x0:_0x2d3a96?Qo(_0x250972,_0x4c837c):_0x250972,_0x8cdff6=_0x185374[_0x5a5995(0x3d5)]-0x1,_0x126eb3;_0x8cdff6>=0x0;_0x8cdff6--)(_0x126eb3=_0x185374[_0x8cdff6])&&(_0x323ff2=(_0x2d3a96?_0x126eb3(_0x250972,_0x4c837c,_0x323ff2):_0x126eb3(_0x323ff2))||_0x323ff2);return _0x2d3a96&&_0x323ff2&&Zo(_0x250972,_0x4c837c,_0x323ff2),_0x323ff2;},kt=(_0x47edef,_0x39cb9c)=>(_0x4fa8c5,_0x405f34)=>_0x39cb9c(_0x4fa8c5,_0x405f34,_0x47edef);const ta=0x1389;let as=class extends _0x2ea33c{constructor(_0x13f0e0,_0x50ef78,_0x24f98f,_0x5c5050){const _0x26fa2d=_0xc8d6e8;super(),g(this,_0x26fa2d(0x417),new Set()),g(this,_0x26fa2d(0x4cc),null),(this['_context']=_0x13f0e0,this[_0x26fa2d(0x42b)]=_0x50ef78,this[_0x26fa2d(0x1f2)]=_0x24f98f,this[_0x26fa2d(0x1f3)]=_0x5c5050,this[_0x26fa2d(0x36a)]());}['_init'](){const _0x1ae25d=_0xc8d6e8;this[_0x1ae25d(0x42b)]['currentSkeleton$']['pipe'](_0x4d3dd9(this[_0x1ae25d(0x191)]),_0xaef0b0(_0x98ac5=>{const _0x36ac73=_0x1ae25d;if(_0x98ac5){const _0x6ace2f=_0x98ac5['sheetId'];return _0x59bbc7(this[_0x36ac73(0x1f2)]['getCollabCursors$'](this[_0x36ac73(0x37b)][_0x36ac73(0x367)]),this[_0x36ac73(0x1f3)][_0x36ac73(0x186)])['pipe'](_0x38f68a(([_0x358d5d,_0x52bb51])=>{const _0x369682=_0x36ac73,_0x2a314f=new Map();return _0x358d5d[_0x369682(0x1da)]((_0x343737,_0x113ee3)=>{const _0x123704=_0x369682;if(_0x343737[_0x123704(0x49b)]===_0x6ace2f){const _0x3515fc={..._0x343737};_0x3515fc[_0x123704(0x27d)]=_0x52bb51[_0x343737[_0x123704(0x27d)]],_0x2a314f['set'](_0x113ee3,_0x3515fc);}}),{'skeleton':_0x98ac5,'cursors':_0x2a314f};}));}return _0x2cb441({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x568818,cursors:_0x1bf11f})=>{const _0x38af48=_0x1ae25d;this['_removeCollabCursors'](),_0x568818&&this[_0x38af48(0x452)](_0x568818,_0x1bf11f);}),this[_0x1ae25d(0x42b)][_0x1ae25d(0x2de)]['subscribe'](_0x38f66f=>{const _0x2b70ba=_0x1ae25d;if(_0x38f66f==null)return;const {skeleton:_0x5af36c}=_0x38f66f,{scene:_0x18564a}=this['_context'];_0x18564a[_0x2b70ba(0x427)][_0x2b70ba(0x4c8)](_0x2384a7(_0x445b26=>{const _0xe614b9=_0x2b70ba;var _0xf3ba78,_0x25b1dc;const {offsetX:_0x4ab2c8,offsetY:_0x329366}=_0x445b26,{x:_0xfb2af,y:_0x5e3a33}=_0x18564a[_0xe614b9(0x307)](_0xc320db[_0xe614b9(0x131)]([_0x4ab2c8,_0x329366])),{scaleX:_0x46a081,scaleY:_0x2561c4}=_0x18564a[_0xe614b9(0x4a0)](),_0xd7cfce=_0x18564a[_0xe614b9(0x49d)](_0x5d55d7[_0xe614b9(0x1a5)]),_0x2b0225=_0x18564a[_0xe614b9(0x3f8)](_0xc320db[_0xe614b9(0x131)]([_0xfb2af,_0x5e3a33]),_0xd7cfce),_0x7bffdb=_0x5af36c['getCellPositionByOffset'](_0x4ab2c8,_0x329366,_0x46a081,_0x2561c4,_0x2b0225);((_0xf3ba78=this[_0xe614b9(0x4cc)])==null?void 0x0:_0xf3ba78[_0xe614b9(0x15b)])===_0x7bffdb[_0xe614b9(0x15b)]&&((_0x25b1dc=this['_lastPointer'])==null?void 0x0:_0x25b1dc['row'])===_0x7bffdb[_0xe614b9(0x492)]||this[_0xe614b9(0x417)][_0xe614b9(0x1da)](_0x15c75e=>{_0x15c75e['onMouseMove'](_0x7bffdb);});},0x64));});}[_0xc8d6e8(0x452)](_0x26baf4,_0xb6800){const _0x49903c=_0xc8d6e8;var _0x525b66;const _0x253e50=(_0x525b66=this[_0x49903c(0x42b)][_0x49903c(0x129)]())==null?void 0x0:_0x525b66[_0x49903c(0x38e)];if(!_0x253e50)return;const _0x317152=this[_0x49903c(0x152)]();if(!_0x317152)return;this['_cursors'][_0x49903c(0x1da)](_0x5777ab=>{_0x5777ab['makeDirty']();});const {scene:_0x15b10c}=_0x317152,_0x32e4e0=sa(Array['from'](_0xb6800[_0x49903c(0x2f6)]()))[_0x49903c(0x431)](_0x1bfddd=>{const _0x18ca67=_0x49903c,{color:_0x12cd3b,range:_0x56caa8,name:_0x332907,selection:_0x44aa88,sheetID:_0x2361d2}=_0x1bfddd,{startColumn:_0x390e8f,startRow:_0x3e3c81,endColumn:_0x5791b5,endRow:_0x441c9a}=_0x56caa8,_0x3ec4e0=_0x573888(_0x3e3c81,_0x390e8f,_0x15b10c,_0x253e50),_0x64c903=_0x573888(_0x441c9a,_0x5791b5,_0x15b10c,_0x253e50),{columnHeaderHeightAndMarginTop:_0xef077f}=_0x253e50,{startX:_0x2bbe90,startY:_0x35b7d2}=_0x3ec4e0,{endX:_0x3bbea0,endY:_0x23c57e}=_0x64c903,_0x30d9c9=_0x3bbea0-_0x2bbe90,_0x898b9b=_0x23c57e-_0x35b7d2,_0x23618e={'labelPosition':_0x35b7d2-_0xef077f>=nt?_0x18ca67(0x34c):_0x18ca67(0x18c),'sheetID':_0x2361d2,'range':_0x56caa8,'color':_0x12cd3b,'name':_0x332907,'selection':_0x44aa88,'left':_0x2bbe90,'top':_0x35b7d2,'width':_0x30d9c9,'height':_0x898b9b,'evented':!0x1,'zIndex':ta};return new Jo(_0x332907,_0x23618e);});_0x15b10c[_0x49903c(0x1de)](_0x32e4e0,qo),this[_0x49903c(0x417)]=new Set(_0x32e4e0);}['_removeCollabCursors'](){const _0x5adc59=_0xc8d6e8;var _0xefb620;(_0xefb620=this[_0x5adc59(0x417)])==null||_0xefb620['forEach'](_0x2fa8a6=>_0x2fa8a6[_0x5adc59(0x204)]());}[_0xc8d6e8(0x152)](){const _0x334598=_0xc8d6e8;return _0x2d6008(this[_0x334598(0x37b)][_0x334598(0x189)],this[_0x334598(0x37b)]);}};as=ea([kt(0x1,_0x13f971(_0x3d2098)),kt(0x2,_0x13f971(Ve)),kt(0x3,_0x13f971(_0x5dff17))],as);function sa(_0x5f25ea){const _0x33ae29=_0xc8d6e8,_0x1ff497=new Map();return _0x5f25ea[_0x33ae29(0x1da)](_0x4720dc=>{const _0x2f5b7f=_0x33ae29;if(_0x1ff497['has'](_0x4720dc[_0x2f5b7f(0x46c)])){const _0x252bd6=_0x1ff497[_0x2f5b7f(0x2c2)](_0x4720dc[_0x2f5b7f(0x46c)]);_0x252bd6[_0x2f5b7f(0x21a)]+=',\x20'+_0x4720dc[_0x2f5b7f(0x21a)];}else _0x1ff497[_0x2f5b7f(0x21c)](_0x4720dc[_0x2f5b7f(0x46c)],_0x4720dc);}),Array[_0x33ae29(0x381)](_0x1ff497['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x1b6e23){const _0x43903b=_0xc8d6e8;return _0x1b6e23&&_0x1b6e23[_0x43903b(0x2b1)]&&Object[_0x43903b(0x2f9)][_0x43903b(0x16d)]['call'](_0x1b6e23,_0x43903b(0x363))?_0x1b6e23[_0x43903b(0x363)]:_0x1b6e23;}var Mi={'exports':{}},yt={},ia=_0x2fe14b,na=Symbol[_0xc8d6e8(0x1d3)](_0xc8d6e8(0x294)),ra=Symbol[_0xc8d6e8(0x1d3)](_0xc8d6e8(0x3c0)),oa=Object[_0xc8d6e8(0x2f9)]['hasOwnProperty'],aa=ia[_0xc8d6e8(0x4c3)][_0xc8d6e8(0x1d7)],ca={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x352bca,_0xa57dd3,_0x26d2aa){const _0x16a11a=_0xc8d6e8;var _0x67f011,_0x344b64={},_0x1a3d76=null,_0x36c0da=null;_0x26d2aa!==void 0x0&&(_0x1a3d76=''+_0x26d2aa),_0xa57dd3[_0x16a11a(0x1e3)]!==void 0x0&&(_0x1a3d76=''+_0xa57dd3[_0x16a11a(0x1e3)]),_0xa57dd3[_0x16a11a(0x2a4)]!==void 0x0&&(_0x36c0da=_0xa57dd3['ref']);for(_0x67f011 in _0xa57dd3)oa[_0x16a11a(0x2c6)](_0xa57dd3,_0x67f011)&&!ca[_0x16a11a(0x16d)](_0x67f011)&&(_0x344b64[_0x67f011]=_0xa57dd3[_0x67f011]);if(_0x352bca&&_0x352bca[_0x16a11a(0x227)]){for(_0x67f011 in(_0xa57dd3=_0x352bca[_0x16a11a(0x227)],_0xa57dd3))_0x344b64[_0x67f011]===void 0x0&&(_0x344b64[_0x67f011]=_0xa57dd3[_0x67f011]);}return{'$$typeof':na,'type':_0x352bca,'key':_0x1a3d76,'ref':_0x36c0da,'props':_0x344b64,'_owner':aa[_0x16a11a(0x2bf)]};}yt['Fragment']=ra,yt[_0xc8d6e8(0x50e)]=xi,yt[_0xc8d6e8(0x2e5)]=xi,Mi[_0xc8d6e8(0x173)]=yt;var Pe=Mi['exports'],ee=function(){const _0x37c2c9=_0xc8d6e8;return ee=Object[_0x37c2c9(0x386)]||function(_0x546d7b){const _0x23cd14=_0x37c2c9;for(var _0x2a0f40,_0x3fd121=0x1,_0x20eacf=arguments[_0x23cd14(0x3d5)];_0x3fd121<_0x20eacf;_0x3fd121++){_0x2a0f40=arguments[_0x3fd121];for(var _0x1ddaa6 in _0x2a0f40)Object[_0x23cd14(0x2f9)][_0x23cd14(0x16d)][_0x23cd14(0x2c6)](_0x2a0f40,_0x1ddaa6)&&(_0x546d7b[_0x1ddaa6]=_0x2a0f40[_0x1ddaa6]);}return _0x546d7b;},ee['apply'](this,arguments);},ha=function(_0x1a020d,_0xb18061){const _0xf3ea1a=_0xc8d6e8;var _0xc4c26d={};for(var _0x13b199 in _0x1a020d)Object['prototype'][_0xf3ea1a(0x16d)][_0xf3ea1a(0x2c6)](_0x1a020d,_0x13b199)&&_0xb18061[_0xf3ea1a(0x336)](_0x13b199)<0x0&&(_0xc4c26d[_0x13b199]=_0x1a020d[_0x13b199]);if(_0x1a020d!=null&&typeof Object[_0xf3ea1a(0x44e)]==_0xf3ea1a(0x361)){for(var _0x54cf3a=0x0,_0x13b199=Object[_0xf3ea1a(0x44e)](_0x1a020d);_0x54cf3a<_0x13b199[_0xf3ea1a(0x3d5)];_0x54cf3a++)_0xb18061['indexOf'](_0x13b199[_0x54cf3a])<0x0&&Object[_0xf3ea1a(0x2f9)]['propertyIsEnumerable'][_0xf3ea1a(0x2c6)](_0x1a020d,_0x13b199[_0x54cf3a])&&(_0xc4c26d[_0x13b199[_0x54cf3a]]=_0x1a020d[_0x13b199[_0x54cf3a]]);}return _0xc4c26d;},Ts=_0x1f1ada(function(_0x3ae041,_0x25622e){const _0x418294=_0xc8d6e8;var _0x41193d=_0x3ae041[_0x418294(0x3d6)],_0x490ccd=_0x3ae041['id'],_0x47b489=_0x3ae041['className'],_0x32501f=_0x3ae041['extend'],_0xaa0df0=ha(_0x3ae041,[_0x418294(0x3d6),'id',_0x418294(0x457),_0x418294(0x210)]),_0x1cb2db=_0x418294(0x2da)['concat'](_0x490ccd,'\x20')['concat'](_0x47b489||'')[_0x418294(0x2d8)](),_0x20edbe=_0x24302d('_'[_0x418294(0x502)](ua()));return Li(_0x41193d,''[_0x418294(0x502)](_0x490ccd),{'defIds':_0x41193d[_0x418294(0x252)],'idSuffix':_0x20edbe[_0x418294(0x2bf)]},ee({'ref':_0x25622e,'className':_0x1cb2db},_0xaa0df0),_0x32501f);});function Li(_0x3e4444,_0x55526a,_0x405f13,_0x36f085,_0x439529){const _0x2938fa=_0xc8d6e8;return _0x41772d(_0x3e4444[_0x2938fa(0x321)],ee(ee({'key':_0x55526a},la(_0x3e4444,_0x405f13,_0x439529)),_0x36f085),(_a(_0x3e4444,_0x405f13)[_0x2938fa(0x1e4)]||[])[_0x2938fa(0x431)](function(_0x2f28a4,_0x246883){const _0x569235=_0x2938fa;return Li(_0x2f28a4,''['concat'](_0x55526a,'-')[_0x569235(0x502)](_0x3e4444['tag'],'-')[_0x569235(0x502)](_0x246883),_0x405f13,void 0x0,_0x439529);}));}function la(_0x39cec3,_0x3a65b1,_0x1860d3){const _0xf15f19=_0xc8d6e8;var _0x43fa37=ee({},_0x39cec3[_0xf15f19(0x2c8)]);_0x1860d3!=null&&_0x1860d3[_0xf15f19(0x31e)]&&_0x43fa37[_0xf15f19(0x450)]==='colorChannel1'&&(_0x43fa37[_0xf15f19(0x450)]=_0x1860d3['colorChannel1']);var _0x44b2c=_0x3a65b1[_0xf15f19(0x252)];return!_0x44b2c||_0x44b2c[_0xf15f19(0x3d5)]===0x0||(_0x39cec3['tag']==='use'&&_0x43fa37[_0xf15f19(0x4e9)]&&(_0x43fa37[_0xf15f19(0x4e9)]=_0x43fa37[_0xf15f19(0x4e9)]+_0x3a65b1[_0xf15f19(0x3f2)]),Object[_0xf15f19(0x35c)](_0x43fa37)[_0xf15f19(0x1da)](function(_0x568906){const _0x573fd6=_0xf15f19;var _0x162029=_0x568906[0x0],_0x4dbae9=_0x568906[0x1];typeof _0x4dbae9=='string'&&(_0x43fa37[_0x162029]=_0x4dbae9[_0x573fd6(0x353)](/url\(#(.*)\)/,_0x573fd6(0x3e9)[_0x573fd6(0x502)](_0x3a65b1[_0x573fd6(0x3f2)],')')));})),_0x43fa37;}function _a(_0x582d28,_0x2c9d62){const _0x10033e=_0xc8d6e8;var _0x41c332,_0x158400=_0x2c9d62[_0x10033e(0x252)];return!_0x158400||_0x158400[_0x10033e(0x3d5)]===0x0?_0x582d28:_0x582d28['tag']===_0x10033e(0x1cd)&&(!((_0x41c332=_0x582d28['children'])===null||_0x41c332===void 0x0)&&_0x41c332['length'])?ee(ee({},_0x582d28),{'children':_0x582d28[_0x10033e(0x1e4)][_0x10033e(0x431)](function(_0x25c3e5){const _0x3168ae=_0x10033e;return typeof _0x25c3e5[_0x3168ae(0x2c8)]['id']=='string'&&_0x158400&&_0x158400[_0x3168ae(0x336)](_0x25c3e5[_0x3168ae(0x2c8)]['id'])>-0x1?ee(ee({},_0x25c3e5),{'attrs':ee(ee({},_0x25c3e5[_0x3168ae(0x2c8)]),{'id':_0x25c3e5['attrs']['id']+_0x2c9d62['idSuffix']})}):_0x25c3e5;})}):_0x582d28;}function ua(){const _0x450094=_0xc8d6e8;return Math[_0x450094(0x51a)]()['toString'](0x24)['substring'](0x2,0x8);}Ts[_0xc8d6e8(0x4d1)]=_0xc8d6e8(0x4e2);var da={'tag':'svg','attrs':{'fill':_0xc8d6e8(0x4b1),'viewBox':'0\x200\x2016\x2016','width':_0xc8d6e8(0x218),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xc8d6e8(0x2bc)},'children':[{'tag':_0xc8d6e8(0x22a),'attrs':{'stroke':_0xc8d6e8(0x3fe),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0xc8d6e8(0x3f9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xc8d6e8(0x3f5),'attrs':{'id':_0xc8d6e8(0x504)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},$i=_0x1f1ada(function(_0x8aa466,_0x45685f){const _0x14af24=_0xc8d6e8;return _0x41772d(Ts,Object[_0x14af24(0x386)]({},_0x8aa466,{'id':'off-line-single','ref':_0x45685f,'icon':da}));});$i[_0xc8d6e8(0x4d1)]='OffLineSingle';var fa={'tag':_0xc8d6e8(0x356),'attrs':{'fill':_0xc8d6e8(0x4b1),'viewBox':'0\x200\x2017\x2016','width':_0xc8d6e8(0x218),'height':_0xc8d6e8(0x218)},'children':[{'tag':'g','attrs':{'clipPath':_0xc8d6e8(0x52b)},'children':[{'tag':_0xc8d6e8(0x22a),'attrs':{'stroke':_0xc8d6e8(0x3fe),'d':_0xc8d6e8(0x520),'strokeLinecap':_0xc8d6e8(0x3f9),'strokeLinejoin':_0xc8d6e8(0x3f9),'strokeWidth':1.2}}]},{'tag':_0xc8d6e8(0x1cd),'attrs':{},'children':[{'tag':_0xc8d6e8(0x3f5),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0xc8d6e8(0x22a),'attrs':{'fill':'#fff','d':_0xc8d6e8(0x50f),'transform':_0xc8d6e8(0x472)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x1f1ada(function(_0x92d0f,_0x9cc8cc){const _0x4176cf=_0xc8d6e8;return _0x41772d(Ts,Object[_0x4176cf(0x386)]({},_0x92d0f,{'id':_0x4176cf(0x3ac),'ref':_0x9cc8cc,'icon':fa}));});Hi[_0xc8d6e8(0x4d1)]=_0xc8d6e8(0x3d2);function ji(_0x276607){const _0x8b558f=_0xc8d6e8;var _0x3d4fc1,_0x30384c,_0x196d63='';if(typeof _0x276607==_0x8b558f(0x155)||typeof _0x276607==_0x8b558f(0x1b4))_0x196d63+=_0x276607;else{if(typeof _0x276607=='object'){if(Array['isArray'](_0x276607)){var _0xc1fb0d=_0x276607[_0x8b558f(0x3d5)];for(_0x3d4fc1=0x0;_0x3d4fc1<_0xc1fb0d;_0x3d4fc1++)_0x276607[_0x3d4fc1]&&(_0x30384c=ji(_0x276607[_0x3d4fc1]))&&(_0x196d63&&(_0x196d63+='\x20'),_0x196d63+=_0x30384c);}else{for(_0x30384c in _0x276607)_0x276607[_0x30384c]&&(_0x196d63&&(_0x196d63+='\x20'),_0x196d63+=_0x30384c);}}}return _0x196d63;}function va(){for(var _0x23bdd3,_0x2592f4,_0x2f3662=0x0,_0x37f79e='',_0xa9d3a1=arguments['length'];_0x2f3662<_0xa9d3a1;_0x2f3662++)(_0x23bdd3=arguments[_0x2f3662])&&(_0x2592f4=ji(_0x23bdd3))&&(_0x37f79e&&(_0x37f79e+='\x20'),_0x37f79e+=_0x2592f4);return _0x37f79e;}const ma='univer-online-status-icon',pa=_0xc8d6e8(0x22c),ga=_0xc8d6e8(0x1db),Sa=_0xc8d6e8(0x25e),Ia=_0xc8d6e8(0x259),Ze={'onlineStatusIcon':ma,'onlineStatusTitle':pa,'onlineStatus':ga,'online':Sa,'offline':Ia};function Ca(_0x55379f){const _0x13d991=_0xc8d6e8;switch(_0x55379f){case J[_0x13d991(0x428)]:return'collabStatus.offline';case J['CONFLICT']:return'collabStatus.conflict';case J[_0x13d991(0x3e4)]:return _0x13d991(0x49a);case J[_0x13d991(0x37c)]:return _0x13d991(0x4cd);case J['AWAITING']:case J[_0x13d991(0x4a5)]:return _0x13d991(0x4cb);case J[_0x13d991(0x22f)]:case J[_0x13d991(0x1e0)]:return _0x13d991(0x298);}}function Ea(_0x293c63){const _0x55ecd4=_0xc8d6e8,{status$:_0x6c4bc0}=_0x293c63,_0x3a2fa0=_0x950f29(_0x6c4bc0,J[_0x55ecd4(0x37c)]),_0x8b3c03=_0x503c33(_0x8037c0),_0x1fc448=_0x503c33(xe),_0x23f74f=_0x3a2fa0!==J[_0x55ecd4(0x428)],_0x55e3d3=_0x8b3c03['t'](Ca(_0x3a2fa0)),_0x45aca1=va(Ze[_0x55ecd4(0x334)],{[Ze[_0x55ecd4(0x2a6)]]:_0x23f74f,[Ze[_0x55ecd4(0x2f0)]]:!_0x23f74f}),_0x35ffff=_0x23f74f?Pe[_0x55ecd4(0x50e)](Hi,{}):Pe[_0x55ecd4(0x50e)]($i,{}),_0x26037d=_0x5481cf(()=>{_0x23f74f||_0x1fc448['reconnect']();},[_0x23f74f,_0x1fc448]);function _0x223236(){const _0x573576=_0x55ecd4;return Pe[_0x573576(0x2e5)]('div',{'className':_0x45aca1,'onClick':_0x26037d,'children':[Pe[_0x573576(0x50e)](_0x573576(0x441),{'className':Ze[_0x573576(0x1ee)],'children':_0x35ffff}),Pe[_0x573576(0x50e)](_0x573576(0x441),{'className':Ze[_0x573576(0x2fb)],'children':_0x55e3d3})]});}return _0x23f74f?_0x223236():Pe[_0x55ecd4(0x50e)](_0x39b687,{'title':_0x8b3c03['t'](_0x55ecd4(0x508)),'children':_0x223236()});}var ba=Object[_0xc8d6e8(0x17a)],Ta=Object['getOwnPropertyDescriptor'],Ra=(_0x4f1920,_0x5ca091,_0x247766,_0x4dbe30)=>{for(var _0x377ddb=_0x4dbe30>0x1?void 0x0:_0x4dbe30?Ta(_0x5ca091,_0x247766):_0x5ca091,_0x10181a=_0x4f1920['length']-0x1,_0x28adea;_0x10181a>=0x0;_0x10181a--)(_0x28adea=_0x4f1920[_0x10181a])&&(_0x377ddb=(_0x4dbe30?_0x28adea(_0x5ca091,_0x247766,_0x377ddb):_0x28adea(_0x377ddb))||_0x377ddb);return _0x4dbe30&&_0x377ddb&&ba(_0x5ca091,_0x247766,_0x377ddb),_0x377ddb;},ht=(_0x40ecac,_0x26018a)=>(_0x4d2f93,_0x21f7d2)=>_0x26018a(_0x4d2f93,_0x21f7d2,_0x40ecac);let St=class extends _0x5e1db6{constructor(_0x3768f4,_0x4c88d6,_0x48c57a,_0x2deabf){const _0x5e7648=_0xc8d6e8;super(),g(this,_0x5e7648(0x126),new _0xfe121(J['NOT_COLLAB'])),(this[_0x5e7648(0x2c7)]=_0x3768f4,this[_0x5e7648(0x345)]=_0x4c88d6,this[_0x5e7648(0x360)]=_0x48c57a,this[_0x5e7648(0x12e)]=_0x2deabf,this[_0x5e7648(0x229)](),this[_0x5e7648(0x3af)]());}[_0xc8d6e8(0x3af)](){const _0x9f7eab=_0xc8d6e8;this[_0x9f7eab(0x43e)](this[_0x9f7eab(0x2c7)][_0x9f7eab(0x474)][_0x9f7eab(0x236)](_0x4b2328(()=>{const _0x5d9f29=_0x9f7eab,_0x541824=this[_0x5d9f29(0x2c7)][_0x5d9f29(0x385)]();return _0x541824?this[_0x5d9f29(0x12e)]['getCollabEntity$'](_0x541824[_0x5d9f29(0x4a7)]()):_0x2cb441(null);}),_0x4b2328(_0x46f04d=>_0x46f04d?_0x46f04d[_0x9f7eab(0x26f)]:_0x2cb441(J['NOT_COLLAB'])))[_0x9f7eab(0x1ed)](_0x19a4f8=>{const _0x4bcdb9=_0x9f7eab;this[_0x4bcdb9(0x126)][_0x4bcdb9(0x3f0)](_0x19a4f8);}));}[_0xc8d6e8(0x229)](){const _0x2c7c63=_0xc8d6e8;this[_0x2c7c63(0x43e)](this[_0x2c7c63(0x345)][_0x2c7c63(0x40c)](_0x40dba2[_0x2c7c63(0x499)],()=>_0x42168a(Oa({'status$':this[_0x2c7c63(0x126)][_0x2c7c63(0x4de)]()}),this['_injector'])));}};St=Ra([ht(0x0,_0x2ddd21),ht(0x1,_0x153f86),ht(0x2,_0x13f971(_0x20e5db)),ht(0x3,_0x13f971(it))],St);function Oa(_0x242539){const {status$:_0x31b674}=_0x242539;return function(){const _0x8edae1=_0x284c;return Pe[_0x8edae1(0x50e)](Ea,{'status$':_0x31b674});};}const Bi=_0x84987f(_0xc8d6e8(0x168));var ya=Object[_0xc8d6e8(0x17a)],wa=Object[_0xc8d6e8(0x4d8)],Da=(_0x397671,_0xd2e15a,_0x3d190f,_0x2750ca)=>{const _0xc3c197=_0xc8d6e8;for(var _0x1bdd62=_0x2750ca>0x1?void 0x0:_0x2750ca?wa(_0xd2e15a,_0x3d190f):_0xd2e15a,_0x4f8889=_0x397671[_0xc3c197(0x3d5)]-0x1,_0xd676f9;_0x4f8889>=0x0;_0x4f8889--)(_0xd676f9=_0x397671[_0x4f8889])&&(_0x1bdd62=(_0x2750ca?_0xd676f9(_0xd2e15a,_0x3d190f,_0x1bdd62):_0xd676f9(_0x1bdd62))||_0x1bdd62);return _0x2750ca&&_0x1bdd62&&ya(_0xd2e15a,_0x3d190f,_0x1bdd62),_0x1bdd62;},ke=(_0x2df400,_0x308afa)=>(_0x2b0bbb,_0x1f0356)=>_0x308afa(_0x2b0bbb,_0x1f0356,_0x2df400);let It=class extends _0x2ea33c{constructor(_0x1d7585,_0x3d2841,_0x4881de,_0x1b75bd,_0x39510e,_0x23bb72){const _0x4bca7e=_0xc8d6e8;super(),this['_urlService']=_0x1d7585,this['_logService']=_0x3d2841,this['_commandService']=_0x4881de,this[_0x4bca7e(0x20a)]=_0x1b75bd,this[_0x4bca7e(0x3d9)]=_0x39510e,_0x23bb72?_0x23bb72==null||_0x23bb72[_0x4bca7e(0x13d)]()[_0x4bca7e(0x3e0)](()=>this[_0x4bca7e(0x36a)]()):(this[_0x4bca7e(0x355)][_0x4bca7e(0x184)](_0x4bca7e(0x3d0),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4bca7e(0x36a)]());}async[_0xc8d6e8(0x36a)](){const _0x18725a=_0xc8d6e8,_0x1b045c=this[_0x18725a(0x150)][_0x18725a(0x311)](_0x18725a(0x189)),_0x2f7111=this[_0x18725a(0x150)][_0x18725a(0x311)](_0x18725a(0x4aa));if(!_0x1b045c||!_0x2f7111){this[_0x18725a(0x355)]['debug']('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x2f7111)){case ce[_0x18725a(0x50a)]:{const _0x48cec9=await this[_0x18725a(0x488)](_0x1b045c);this[_0x18725a(0x433)](_0x48cec9);break;}case ce[_0x18725a(0x3c7)]:{await this[_0x18725a(0x42f)](_0x1b045c);break;}default:{this['_logService'][_0x18725a(0x398)]('[DataLoaderController]',_0x18725a(0x40b));break;}}}async[_0xc8d6e8(0x433)](_0x4ea918){const _0x54689a=_0xc8d6e8;await this[_0x54689a(0x3e5)](_0x4ea918),_0x4ea918[_0x54689a(0x1d9)]['pipe'](_0x6a5096(this[_0x54689a(0x191)]))[_0x54689a(0x1ed)](_0x43d1d8=>{const _0x1af983=_0x54689a;_0x43d1d8&&this[_0x1af983(0x1ae)](_0x43d1d8);}),this[_0x54689a(0x150)]['urlChange$'][_0x54689a(0x236)](_0x6a5096(this[_0x54689a(0x191)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4ea918));}['_updateURLWithCurrentState'](_0x30955b,_0x3c6f35=!0x1){const _0x1e5a2e=_0xc8d6e8,_0x293502=this[_0x1e5a2e(0x150)][_0x1e5a2e(0x311)](_0x1e5a2e(0x322));_0x30955b[_0x1e5a2e(0x3d7)]()!==_0x293502&&this[_0x1e5a2e(0x150)][_0x1e5a2e(0x33f)](_0x1e5a2e(0x322),_0x30955b['getSheetId'](),_0x3c6f35);}async[_0xc8d6e8(0x3e5)](_0x4e7614){const _0x7f2909=_0xc8d6e8;var _0x425b58;const _0x5bb5d8=this[_0x7f2909(0x150)]['getParam'](_0x7f2909(0x322));if(!_0x5bb5d8||!_0x4e7614[_0x7f2909(0x4d9)](_0x5bb5d8)){const _0x5bf9c9=_0x4e7614[_0x7f2909(0x2c1)]()[0x0],_0x321a7b=_0x4e7614[_0x7f2909(0x4d9)](_0x5bf9c9);if(!_0x321a7b)return;this[_0x7f2909(0x1ae)](_0x321a7b,!0x0),await this[_0x7f2909(0x4e0)][_0x7f2909(0x538)](_0x1c87ab['id'],{'unitId':_0x4e7614['getUnitId'](),'subUnitId':_0x5bf9c9});return;}((_0x425b58=_0x4e7614[_0x7f2909(0x404)]())==null?void 0x0:_0x425b58[_0x7f2909(0x3d7)]())!==_0x5bb5d8&&await this[_0x7f2909(0x4e0)]['executeCommand'](_0x1c87ab['id'],{'unitId':_0x4e7614['getUnitId'](),'subUnitId':_0x5bb5d8});}async[_0xc8d6e8(0x488)](_0x14fe83){const _0x15dc24=_0xc8d6e8;let _0x3ef35d=0x0;const _0x95db08=await this['_localCacheService']['loadOfflineData'](_0x14fe83);return _0x95db08&&(_0x95db08['awaitingChangeset']||_0x95db08[_0x15dc24(0x133)][_0x15dc24(0x3d5)]!==0x0)&&(_0x3ef35d=_0x95db08[_0x15dc24(0x534)]),_0x3ef35d===0x0&&this[_0x15dc24(0x355)][_0x15dc24(0x184)](_0x15dc24(0x3d0),_0x15dc24(0x46e)),this[_0x15dc24(0x3d9)]['loadSheet'](_0x14fe83,_0x3ef35d);}async['_loadDoc'](_0x3dc81b){const _0x1cdcfe=_0xc8d6e8;let _0x5912d6=0x0;const _0x2529d4=await this[_0x1cdcfe(0x20a)][_0x1cdcfe(0x432)](_0x3dc81b);return _0x2529d4&&(_0x2529d4['awaitingChangeset']||_0x2529d4[_0x1cdcfe(0x133)][_0x1cdcfe(0x3d5)]!==0x0)&&(_0x5912d6=_0x2529d4['rev']),_0x5912d6===0x0&&this[_0x1cdcfe(0x355)][_0x1cdcfe(0x184)](_0x1cdcfe(0x3d0),_0x1cdcfe(0x46e)),this[_0x1cdcfe(0x3d9)][_0x1cdcfe(0x389)](_0x3dc81b,_0x5912d6);}};It=Da([ke(0x0,Bi),ke(0x1,_0x410e45),ke(0x2,_0x4171ed),ke(0x3,_0x13f971(q)),ke(0x4,_0x13f971(_0x3bf07d)),ke(0x5,_0x28e273(_0x3ef686))],It);var Pa=Object['defineProperty'],Ua=Object[_0xc8d6e8(0x4d8)],Na=(_0xfdad38,_0xdea41e,_0x3a6770,_0x2ce41f)=>{for(var _0x31b5e1=_0x2ce41f>0x1?void 0x0:_0x2ce41f?Ua(_0xdea41e,_0x3a6770):_0xdea41e,_0x5604a4=_0xfdad38['length']-0x1,_0x315b3a;_0x5604a4>=0x0;_0x5604a4--)(_0x315b3a=_0xfdad38[_0x5604a4])&&(_0x31b5e1=(_0x2ce41f?_0x315b3a(_0xdea41e,_0x3a6770,_0x31b5e1):_0x315b3a(_0x31b5e1))||_0x31b5e1);return _0x2ce41f&&_0x31b5e1&&Pa(_0xdea41e,_0x3a6770,_0x31b5e1),_0x31b5e1;},zs=(_0x43bb7f,_0x1a8032)=>(_0x47ee59,_0x341ab5)=>_0x1a8032(_0x47ee59,_0x341ab5,_0x43bb7f);const Aa=_0xc8d6e8(0x4d4),Ma='Univer';let Ct=class extends _0x5e1db6{constructor(_0x12d9b4,_0x1708b1){const _0x7c8f57=_0xc8d6e8;super(),this[_0x7c8f57(0x2c7)]=_0x12d9b4,this[_0x7c8f57(0x23d)]=_0x1708b1,this[_0x7c8f57(0x36a)]();}['_init'](){const _0xc84e99=_0xc8d6e8;this[_0xc84e99(0x43e)](this[_0xc84e99(0x2c7)][_0xc84e99(0x474)][_0xc84e99(0x1ed)](()=>{const _0x5c4ed7=_0xc84e99;var _0x26fe14;const _0x3118b0=this[_0x5c4ed7(0x2c7)]['getFocusedUnit']();let _0x292a9e=(_0x26fe14=this[_0x5c4ed7(0x23d)][_0x5c4ed7(0x2ac)](Aa))!=null?_0x26fe14:Ma;_0x3118b0 instanceof _0x16e397&&(_0x292a9e=_0x3118b0[_0x5c4ed7(0x21a)]),document['title']=_0x292a9e;}));}};Ct=Na([zs(0x0,_0x2ddd21),zs(0x1,_0x450caa)],Ct);var xa=Object[_0xc8d6e8(0x17a)],La=Object[_0xc8d6e8(0x4d8)],$a=(_0x33f8e2,_0x37fe75,_0x4d2e84,_0x5b2f3b)=>{const _0x2ab730=_0xc8d6e8;for(var _0x111f54=_0x5b2f3b>0x1?void 0x0:_0x5b2f3b?La(_0x37fe75,_0x4d2e84):_0x37fe75,_0x31de9a=_0x33f8e2[_0x2ab730(0x3d5)]-0x1,_0xffd5cc;_0x31de9a>=0x0;_0x31de9a--)(_0xffd5cc=_0x33f8e2[_0x31de9a])&&(_0x111f54=(_0x5b2f3b?_0xffd5cc(_0x37fe75,_0x4d2e84,_0x111f54):_0xffd5cc(_0x111f54))||_0x111f54);return _0x5b2f3b&&_0x111f54&&xa(_0x37fe75,_0x4d2e84,_0x111f54),_0x111f54;},Wt=(_0x4e0b05,_0x3b0200)=>(_0x59e6d3,_0x4a5ee5)=>_0x3b0200(_0x59e6d3,_0x4a5ee5,_0x4e0b05);let Et=class{constructor(_0x50f634,_0x555aaf,_0x5b8d6c){const _0x3cef03=_0xc8d6e8;this[_0x3cef03(0x23d)]=_0x50f634,this[_0x3cef03(0x127)]=_0x555aaf,this[_0x3cef03(0x4f8)]=_0x5b8d6c,this[_0x3cef03(0x293)]();}['init'](){const _0x243891=_0xc8d6e8;this[_0x243891(0x127)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1e7147,_0x4032dc)=>_0x4032dc(_0x1e7147)['pipe'](_0x1a2bac(async _0x58da66=>{const _0x5ed138=_0x243891,_0x378626=_0x58da66;if(_0x378626[_0x5ed138(0x47f)]===0x191&&window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x35c5a6=window['encodeURIComponent'](window[_0x5ed138(0x507)][_0x5ed138(0x30f)]);window[_0x5ed138(0x507)][_0x5ed138(0x30f)]=this[_0x5ed138(0x198)]()+_0x5ed138(0x32d)+_0x35c5a6;}return _0x378626;}))});}['_getLoginPath'](){const _0x44368c=_0xc8d6e8;var _0x1099c7,_0x56ccff;const _0x2c7ccd=this[_0x44368c(0x23d)][_0x44368c(0x2ac)](Tr),_0x292e95=this[_0x44368c(0x23d)][_0x44368c(0x2ac)](te);return(_0x56ccff=(_0x1099c7=_0x292e95==null?void 0x0:_0x292e95[_0x44368c(0x515)])!=null?_0x1099c7:_0x2c7ccd)!=null?_0x56ccff:Rr;}};Et=$a([Wt(0x0,_0x450caa),Wt(0x1,_0x13f971(_0x5874d1)),Wt(0x2,_0x13f971(_0x8037c0))],Et);var Ha=Object[_0xc8d6e8(0x17a)],ja=Object[_0xc8d6e8(0x4d8)],Ba=(_0x2626f0,_0x4bfd25,_0x14c054,_0x28649f)=>{const _0xdd8a41=_0xc8d6e8;for(var _0x285a16=_0x28649f>0x1?void 0x0:_0x28649f?ja(_0x4bfd25,_0x14c054):_0x4bfd25,_0x4bd797=_0x2626f0[_0xdd8a41(0x3d5)]-0x1,_0x2204ff;_0x4bd797>=0x0;_0x4bd797--)(_0x2204ff=_0x2626f0[_0x4bd797])&&(_0x285a16=(_0x28649f?_0x2204ff(_0x4bfd25,_0x14c054,_0x285a16):_0x2204ff(_0x285a16))||_0x285a16);return _0x28649f&&_0x285a16&&Ha(_0x4bfd25,_0x14c054,_0x285a16),_0x285a16;},qs=(_0xcb52e6,_0x360cdc)=>(_0x5e8b52,_0x133230)=>_0x360cdc(_0x5e8b52,_0x133230,_0xcb52e6);const ka=_0xc8d6e8(0x531),Wa=_0xc8d6e8(0x467);let cs=class extends _0x5e1db6{constructor(_0x5de749,_0x1b8d61){const _0x2bf332=_0xc8d6e8;super(),this[_0x2bf332(0x260)]=_0x5de749,this['_configService']=_0x1b8d61,this[_0x2bf332(0x527)]();}[_0xc8d6e8(0x527)](){const _0x54f52a=_0xc8d6e8,_0x268f85=this;this[_0x54f52a(0x43e)](this[_0x54f52a(0x260)][_0x54f52a(0x231)]({'priority':0x3e7,'interceptor':_0x1fbfc9({'isMatch'(_0x2cf99e){const _0x22608d=_0x54f52a;var _0x1e5ae2;if(_0x2cf99e[_0x22608d(0x40f)]===_0x22608d(0x25f)&&((_0x1e5ae2=_0x2cf99e[_0x22608d(0x23f)])!=null&&_0x1e5ae2[_0x22608d(0x366)])){const {objectID:_0x52ac3a,objectType:_0x4432a3}=_0x2cf99e['requestParams'][_0x22608d(0x366)]||{};if(!_0x52ac3a||_0x4432a3===void 0x0)return!0x1;const _0x3b755a=_0x268f85['_getAPIPrefixPath']()+'/'+_0x4432a3+_0x22608d(0x479)+_0x52ac3a+'/allowed';if(_0x2cf99e[_0x22608d(0x532)]===_0x3b755a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f641c){const _0x431c32=_0x54f52a;var _0x59abfc;return(_0x59abfc=_0x2f641c[_0x431c32(0x23f)])==null?void 0x0:_0x59abfc[_0x431c32(0x366)];},'mergeParamsToRequest'(_0x3b64f5,_0xdcbb12){const _0x57c6d4=_0x54f52a,_0x10dd0f=_0x268f85[_0x57c6d4(0x4b5)]()+_0x57c6d4(0x23a),_0x4572a0=_0x3b64f5[_0x57c6d4(0x20d)]((_0x3bd463,_0x120f55)=>{const _0x40c116=_0x57c6d4,{unitID:_0x333fa1,objectID:_0x41e6de,objectType:_0x40142f,actions:_0x230c16}=_0x120f55;return _0x3bd463[_0x333fa1]||(_0x3bd463[_0x333fa1]={}),_0x3bd463[_0x333fa1][_0x41e6de]||(_0x3bd463[_0x333fa1][_0x41e6de]={'objectID':_0x41e6de,'objectType':_0x40142f,'actions':[]}),_0x3bd463[_0x333fa1][_0x41e6de][_0x40c116(0x193)][_0x40c116(0x183)](..._0x230c16),_0x3bd463;},{}),_0x4feabe=[];for(const _0x5a6f08 in _0x4572a0)for(const _0xbe425d in _0x4572a0[_0x5a6f08]){const {actions:_0x52e207,objectType:_0x2ee1b3}=_0x4572a0[_0x5a6f08][_0xbe425d],_0x1747b5=[...new Set(_0x52e207)];_0x4feabe[_0x57c6d4(0x183)]({'unitID':_0x5a6f08,'objectID':_0xbe425d,'objectType':_0x2ee1b3,'actions':_0x1747b5});}return new _0x3446c9(_0x57c6d4(0x25f),_0x10dd0f,{'headers':_0xdcbb12[_0x57c6d4(0x2d2)],'withCredentials':_0xdcbb12[_0x57c6d4(0x1f9)],'responseType':_0xdcbb12[_0x57c6d4(0x24b)],'body':{'requests':_0x4feabe}});}},{'distributeResult'(_0x9accde,_0x451dc8){const _0x535de8=_0x54f52a,{objectActions:_0x5eb896}=_0x9accde;return _0x451dc8[_0x535de8(0x431)](_0x55f39c=>{const _0x58b286=_0x535de8,{unitID:_0x558304,objectID:_0x21e734,actions:_0x1ce8cb}=_0x55f39c,_0x6f21cd=_0x5eb896[_0x58b286(0x3f1)](_0x2f4b55=>_0x2f4b55['unitID']===_0x558304&&_0x2f4b55[_0x58b286(0x526)]===_0x21e734),_0x58c222=_0x1ce8cb['map'](_0x1dc210=>_0x6f21cd==null?void 0x0:_0x6f21cd[_0x58b286(0x193)][_0x58b286(0x3f1)](_0xd49717=>_0xd49717[_0x58b286(0x401)]===_0x1dc210))[_0x58b286(0x2fa)](_0x2bf7c2=>!!_0x2bf7c2);return{'config':_0x55f39c,'result':{'actions':_0x58c222,'error':_0x9accde['error']}};});}})}));}[_0xc8d6e8(0x4b5)](){const _0x5a91a7=_0xc8d6e8;var _0x39f995,_0x166660;const _0x1087d8=this[_0x5a91a7(0x23d)][_0x5a91a7(0x2ac)](ka),_0x539ea4=this[_0x5a91a7(0x23d)][_0x5a91a7(0x2ac)](te);return(_0x166660=(_0x39f995=_0x539ea4==null?void 0x0:_0x539ea4[_0x5a91a7(0x4be)])!=null?_0x39f995:_0x1087d8)!=null?_0x166660:Wa;}async[_0xc8d6e8(0x273)](_0xd0533){const _0xafa97f=_0xc8d6e8,_0x3c9e35=this[_0xafa97f(0x4b5)]()+'/'+_0xd0533[_0xafa97f(0x359)]+_0xafa97f(0x159);return(await this[_0xafa97f(0x260)][_0xafa97f(0x2cd)](_0x3c9e35,{'body':_0xd0533}))[_0xafa97f(0x366)]['objectID']||'';}async[_0xc8d6e8(0x1c3)](_0xbf2d5f){const _0x124f60=_0xc8d6e8,_0x69ee29=this[_0x124f60(0x4b5)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x69ee29,{'body':_0xbf2d5f}))[_0x124f60(0x366)][_0x124f60(0x39d)];}async[_0xc8d6e8(0x2d4)](_0x256d14){const _0x1051de=_0xc8d6e8,_0x12c461=this[_0x1051de(0x4b5)]()+'/'+_0x256d14[_0x1051de(0x359)]+'/object/'+_0x256d14[_0x1051de(0x526)];await this[_0x1051de(0x260)][_0x1051de(0x30b)](_0x12c461,{'body':_0x256d14});}async['allowed'](_0x3848c3){const _0x18c97b=_0xc8d6e8,_0x3ec1f3=this['_getAPIPrefixPath']()+'/'+_0x3848c3[_0x18c97b(0x359)]+_0x18c97b(0x479)+_0x3848c3[_0x18c97b(0x526)]+_0x18c97b(0x365);return(await this[_0x18c97b(0x260)][_0x18c97b(0x2cd)](_0x3ec1f3,{'body':_0x3848c3}))[_0x18c97b(0x366)][_0x18c97b(0x193)];}async[_0xc8d6e8(0x2af)](_0x314a82){const _0x4c279b=_0xc8d6e8,_0x4928cf=this[_0x4c279b(0x4b5)]()+_0x4c279b(0x23a);return(await this['_HTTPService'][_0x4c279b(0x2cd)](_0x4928cf,{'body':{'requests':_0x314a82}}))['body'][_0x4c279b(0x16e)];}async['listRoles'](_0x1f93ad){const _0x15cae7=_0xc8d6e8,_0x3c80c=this[_0x15cae7(0x4b5)]()+'/'+_0x1f93ad[_0x15cae7(0x359)]+_0x15cae7(0x2c3),_0x4631c7=await this[_0x15cae7(0x260)][_0x15cae7(0x2cd)](_0x3c80c,{'body':_0x1f93ad});return{'roles':_0x4631c7[_0x15cae7(0x366)][_0x15cae7(0x2b5)],'actions':_0x4631c7[_0x15cae7(0x366)][_0x15cae7(0x193)]};}async[_0xc8d6e8(0x3a1)](_0x183c89){const _0x3d0901=_0xc8d6e8,_0x51eac3=this[_0x3d0901(0x4b5)]()+_0x3d0901(0x380);await this[_0x3d0901(0x260)][_0x3d0901(0x2b0)](_0x51eac3,{'params':{'collaboratorID':_0x183c89[_0x3d0901(0x3ff)],'objectID':_0x183c89[_0x3d0901(0x526)],'unitID':_0x183c89[_0x3d0901(0x17c)]}});}async['updateCollaborator'](_0x36b128){const _0x29f2ec=_0xc8d6e8,_0x53d5a0=this[_0x29f2ec(0x4b5)]()+_0x29f2ec(0x380);await this[_0x29f2ec(0x260)][_0x29f2ec(0x4e1)](_0x53d5a0,{'body':_0x36b128});}async[_0xc8d6e8(0x24c)](_0x382139){const _0x42c701=_0xc8d6e8,_0x43fef2=this[_0x42c701(0x4b5)]()+_0x42c701(0x380);await this[_0x42c701(0x260)][_0x42c701(0x2cd)](_0x43fef2,{'body':_0x382139});}async[_0xc8d6e8(0x523)](_0x2d4fb1){const _0x2fc04c=_0xc8d6e8,_0x157806=this[_0x2fc04c(0x4b5)]()+'/collaborator';return(await this[_0x2fc04c(0x260)][_0x2fc04c(0x2c2)](_0x157806,{'params':{'objectID':_0x2d4fb1[_0x2fc04c(0x526)],'unitID':_0x2d4fb1[_0x2fc04c(0x17c)]}}))[_0x2fc04c(0x366)][_0x2fc04c(0x228)];}async[_0xc8d6e8(0x510)](_0x5e0a81){const _0x277ee8=_0xc8d6e8,_0x196c50=this[_0x277ee8(0x4b5)]()+'/collaborator';await this['_HTTPService'][_0x277ee8(0x30b)](_0x196c50,{'body':_0x5e0a81});}};cs=Ba([qs(0x0,_0x13f971(_0x5874d1)),qs(0x1,_0x13f971(_0x450caa))],cs);var ki={'exports':{}};function Fa(_0x4441bc){const _0x123d1c=_0xc8d6e8;throw new Error(_0x123d1c(0x53a)+_0x4441bc+_0x123d1c(0x2be));}var Ft={'exports':{}},Xs;function ue(){const _0x5c71e3=_0xc8d6e8;return Xs||(Xs=0x1,function(_0x2f3c3d,_0x3ade9a){(function(_0xdaee3,_0x299d49){const _0x2307fd=_0x284c;_0x2f3c3d[_0x2307fd(0x173)]=_0x299d49();}(Z,function(){var _0x371a20=_0x371a20||function(_0x49a1aa,_0x4f3ffb){const _0x3bc6c3=_0x284c;var _0x3451a5;if(typeof window<'u'&&window[_0x3bc6c3(0x257)]&&(_0x3451a5=window[_0x3bc6c3(0x257)]),typeof self<'u'&&self[_0x3bc6c3(0x257)]&&(_0x3451a5=self['crypto']),typeof globalThis<'u'&&globalThis[_0x3bc6c3(0x257)]&&(_0x3451a5=globalThis[_0x3bc6c3(0x257)]),!_0x3451a5&&typeof window<'u'&&window[_0x3bc6c3(0x3cf)]&&(_0x3451a5=window[_0x3bc6c3(0x3cf)]),!_0x3451a5&&typeof Z<'u'&&Z[_0x3bc6c3(0x257)]&&(_0x3451a5=Z['crypto']),!_0x3451a5&&typeof Fa=='function')try{_0x3451a5=require('crypto');}catch{}var _0x38cb21=function(){const _0x23cf81=_0x3bc6c3;if(_0x3451a5){if(typeof _0x3451a5[_0x23cf81(0x435)]==_0x23cf81(0x361))try{return _0x3451a5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3451a5[_0x23cf81(0x188)]==_0x23cf81(0x361))try{return _0x3451a5[_0x23cf81(0x188)](0x4)[_0x23cf81(0x164)]();}catch{}}throw new Error(_0x23cf81(0x1bb));},_0x3589e5=Object['create']||(function(){function _0x5e954e(){}return function(_0x223864){const _0x396432=_0x284c;var _0x20d652;return _0x5e954e['prototype']=_0x223864,_0x20d652=new _0x5e954e(),_0x5e954e[_0x396432(0x2f9)]=null,_0x20d652;};}()),_0x250eec={},_0x1d86db=_0x250eec[_0x3bc6c3(0x40d)]={},_0x49ae03=_0x1d86db[_0x3bc6c3(0x123)]=(function(){return{'extend':function(_0x536f0c){const _0x488a7d=_0x284c;var _0xbb5955=_0x3589e5(this);return _0x536f0c&&_0xbb5955[_0x488a7d(0x52a)](_0x536f0c),(!_0xbb5955['hasOwnProperty']('init')||this[_0x488a7d(0x293)]===_0xbb5955[_0x488a7d(0x293)])&&(_0xbb5955[_0x488a7d(0x293)]=function(){const _0x131c0a=_0x488a7d;_0xbb5955[_0x131c0a(0x1dc)][_0x131c0a(0x293)][_0x131c0a(0x4ab)](this,arguments);}),_0xbb5955[_0x488a7d(0x293)][_0x488a7d(0x2f9)]=_0xbb5955,_0xbb5955[_0x488a7d(0x1dc)]=this,_0xbb5955;},'create':function(){const _0x158243=_0x284c;var _0x588ce2=this[_0x158243(0x210)]();return _0x588ce2[_0x158243(0x293)]['apply'](_0x588ce2,arguments),_0x588ce2;},'init':function(){},'mixIn':function(_0x53610d){const _0x4005ee=_0x284c;for(var _0x203d43 in _0x53610d)_0x53610d[_0x4005ee(0x16d)](_0x203d43)&&(this[_0x203d43]=_0x53610d[_0x203d43]);_0x53610d[_0x4005ee(0x16d)](_0x4005ee(0x41c))&&(this[_0x4005ee(0x41c)]=_0x53610d[_0x4005ee(0x41c)]);},'clone':function(){const _0x2e8d8e=_0x284c;return this[_0x2e8d8e(0x293)][_0x2e8d8e(0x2f9)][_0x2e8d8e(0x210)](this);}};}()),_0xd90a5e=_0x1d86db[_0x3bc6c3(0x33c)]=_0x49ae03[_0x3bc6c3(0x210)]({'init':function(_0x34e012,_0x105acb){const _0x1adeb4=_0x3bc6c3;_0x34e012=this[_0x1adeb4(0x172)]=_0x34e012||[],_0x105acb!=_0x4f3ffb?this[_0x1adeb4(0x237)]=_0x105acb:this[_0x1adeb4(0x237)]=_0x34e012[_0x1adeb4(0x3d5)]*0x4;},'toString':function(_0x4babcb){const _0x5c5028=_0x3bc6c3;return(_0x4babcb||_0x5d7337)[_0x5c5028(0x306)](this);},'concat':function(_0x1da201){const _0x486e98=_0x3bc6c3;var _0x2f2efd=this[_0x486e98(0x172)],_0x4d6419=_0x1da201[_0x486e98(0x172)],_0x550b3f=this['sigBytes'],_0x1c9756=_0x1da201['sigBytes'];if(this[_0x486e98(0x2e4)](),_0x550b3f%0x4)for(var _0x3aed15=0x0;_0x3aed15<_0x1c9756;_0x3aed15++){var _0x29aaed=_0x4d6419[_0x3aed15>>>0x2]>>>0x18-_0x3aed15%0x4*0x8&0xff;_0x2f2efd[_0x550b3f+_0x3aed15>>>0x2]|=_0x29aaed<<0x18-(_0x550b3f+_0x3aed15)%0x4*0x8;}else{for(var _0x27434c=0x0;_0x27434c<_0x1c9756;_0x27434c+=0x4)_0x2f2efd[_0x550b3f+_0x27434c>>>0x2]=_0x4d6419[_0x27434c>>>0x2];}return this[_0x486e98(0x237)]+=_0x1c9756,this;},'clamp':function(){const _0x3792e2=_0x3bc6c3;var _0x89e8cc=this[_0x3792e2(0x172)],_0xade8f9=this[_0x3792e2(0x237)];_0x89e8cc[_0xade8f9>>>0x2]&=0xffffffff<<0x20-_0xade8f9%0x4*0x8,_0x89e8cc['length']=_0x49a1aa[_0x3792e2(0x2e0)](_0xade8f9/0x4);},'clone':function(){const _0x3928fb=_0x3bc6c3;var _0x1c7f76=_0x49ae03[_0x3928fb(0x1fd)]['call'](this);return _0x1c7f76[_0x3928fb(0x172)]=this[_0x3928fb(0x172)][_0x3928fb(0x357)](0x0),_0x1c7f76;},'random':function(_0x1d1818){const _0x5955fc=_0x3bc6c3;for(var _0x2eab74=[],_0x5c5c64=0x0;_0x5c5c64<_0x1d1818;_0x5c5c64+=0x4)_0x2eab74[_0x5955fc(0x183)](_0x38cb21());return new _0xd90a5e['init'](_0x2eab74,_0x1d1818);}}),_0xe0c9af=_0x250eec[_0x3bc6c3(0x1dd)]={},_0x5d7337=_0xe0c9af[_0x3bc6c3(0x39e)]={'stringify':function(_0x1ebae4){const _0x117df2=_0x3bc6c3;for(var _0x320009=_0x1ebae4[_0x117df2(0x172)],_0x1401ac=_0x1ebae4[_0x117df2(0x237)],_0x1d4ee8=[],_0x4be2c1=0x0;_0x4be2c1<_0x1401ac;_0x4be2c1++){var _0x4c2fc5=_0x320009[_0x4be2c1>>>0x2]>>>0x18-_0x4be2c1%0x4*0x8&0xff;_0x1d4ee8[_0x117df2(0x183)]((_0x4c2fc5>>>0x4)[_0x117df2(0x41c)](0x10)),_0x1d4ee8[_0x117df2(0x183)]((_0x4c2fc5&0xf)[_0x117df2(0x41c)](0x10));}return _0x1d4ee8[_0x117df2(0x27f)]('');},'parse':function(_0x13db37){const _0x1e727a=_0x3bc6c3;for(var _0x582bfb=_0x13db37['length'],_0x15edfe=[],_0x1b8f2b=0x0;_0x1b8f2b<_0x582bfb;_0x1b8f2b+=0x2)_0x15edfe[_0x1b8f2b>>>0x3]|=parseInt(_0x13db37[_0x1e727a(0x537)](_0x1b8f2b,0x2),0x10)<<0x18-_0x1b8f2b%0x8*0x4;return new _0xd90a5e[(_0x1e727a(0x293))](_0x15edfe,_0x582bfb/0x2);}},_0x2ca4c4=_0xe0c9af[_0x3bc6c3(0x36d)]={'stringify':function(_0x142656){const _0x540c30=_0x3bc6c3;for(var _0x5f4d4e=_0x142656['words'],_0x100153=_0x142656[_0x540c30(0x237)],_0x2b9c6e=[],_0x2bf03b=0x0;_0x2bf03b<_0x100153;_0x2bf03b++){var _0x192238=_0x5f4d4e[_0x2bf03b>>>0x2]>>>0x18-_0x2bf03b%0x4*0x8&0xff;_0x2b9c6e['push'](String['fromCharCode'](_0x192238));}return _0x2b9c6e['join']('');},'parse':function(_0x275f79){const _0x3b8a87=_0x3bc6c3;for(var _0x500d67=_0x275f79['length'],_0x4f990a=[],_0x144d09=0x0;_0x144d09<_0x500d67;_0x144d09++)_0x4f990a[_0x144d09>>>0x2]|=(_0x275f79['charCodeAt'](_0x144d09)&0xff)<<0x18-_0x144d09%0x4*0x8;return new _0xd90a5e[(_0x3b8a87(0x293))](_0x4f990a,_0x500d67);}},_0x27a79a=_0xe0c9af[_0x3bc6c3(0x378)]={'stringify':function(_0x25b1c5){const _0x36c9ff=_0x3bc6c3;try{return decodeURIComponent(escape(_0x2ca4c4['stringify'](_0x25b1c5)));}catch{throw new Error(_0x36c9ff(0x1c1));}},'parse':function(_0x547756){return _0x2ca4c4['parse'](unescape(encodeURIComponent(_0x547756)));}},_0x1655b1=_0x1d86db[_0x3bc6c3(0x465)]=_0x49ae03[_0x3bc6c3(0x210)]({'reset':function(){const _0x175f9a=_0x3bc6c3;this[_0x175f9a(0x4e4)]=new _0xd90a5e[(_0x175f9a(0x293))](),this[_0x175f9a(0x20e)]=0x0;},'_append':function(_0x58383a){const _0x352c83=_0x3bc6c3;typeof _0x58383a=='string'&&(_0x58383a=_0x27a79a[_0x352c83(0x4d2)](_0x58383a)),this[_0x352c83(0x4e4)][_0x352c83(0x502)](_0x58383a),this[_0x352c83(0x20e)]+=_0x58383a[_0x352c83(0x237)];},'_process':function(_0x28e233){const _0x4d54e7=_0x3bc6c3;var _0x3135ab,_0x2ef306=this[_0x4d54e7(0x4e4)],_0x17aa38=_0x2ef306[_0x4d54e7(0x172)],_0x1e5035=_0x2ef306[_0x4d54e7(0x237)],_0x1cca48=this[_0x4d54e7(0x3f3)],_0x4ff2fd=_0x1cca48*0x4,_0xb6a752=_0x1e5035/_0x4ff2fd;_0x28e233?_0xb6a752=_0x49a1aa[_0x4d54e7(0x2e0)](_0xb6a752):_0xb6a752=_0x49a1aa[_0x4d54e7(0x2d9)]((_0xb6a752|0x0)-this[_0x4d54e7(0x30c)],0x0);var _0x3f9f0a=_0xb6a752*_0x1cca48,_0x3517f3=_0x49a1aa['min'](_0x3f9f0a*0x4,_0x1e5035);if(_0x3f9f0a){for(var _0x49e1f1=0x0;_0x49e1f1<_0x3f9f0a;_0x49e1f1+=_0x1cca48)this[_0x4d54e7(0x28e)](_0x17aa38,_0x49e1f1);_0x3135ab=_0x17aa38[_0x4d54e7(0x3ee)](0x0,_0x3f9f0a),_0x2ef306[_0x4d54e7(0x237)]-=_0x3517f3;}return new _0xd90a5e[(_0x4d54e7(0x293))](_0x3135ab,_0x3517f3);},'clone':function(){const _0x5e3a1b=_0x3bc6c3;var _0x88929f=_0x49ae03['clone'][_0x5e3a1b(0x2c6)](this);return _0x88929f[_0x5e3a1b(0x4e4)]=this[_0x5e3a1b(0x4e4)][_0x5e3a1b(0x1fd)](),_0x88929f;},'_minBufferSize':0x0});_0x1d86db[_0x3bc6c3(0x348)]=_0x1655b1['extend']({'cfg':_0x49ae03[_0x3bc6c3(0x210)](),'init':function(_0x48ff3c){const _0x21420d=_0x3bc6c3;this['cfg']=this['cfg'][_0x21420d(0x210)](_0x48ff3c),this['reset']();},'reset':function(){const _0x4462e6=_0x3bc6c3;_0x1655b1[_0x4462e6(0x19d)]['call'](this),this[_0x4462e6(0x48d)]();},'update':function(_0x40a7ab){const _0x3b363a=_0x3bc6c3;return this[_0x3b363a(0x32c)](_0x40a7ab),this[_0x3b363a(0x1c0)](),this;},'finalize':function(_0x127ef7){const _0x2c10f6=_0x3bc6c3;_0x127ef7&&this[_0x2c10f6(0x32c)](_0x127ef7);var _0x2e7bd1=this[_0x2c10f6(0x1b2)]();return _0x2e7bd1;},'blockSize':0x10,'_createHelper':function(_0x58ede6){return function(_0xd58c5,_0x5bb3c8){const _0x47f01e=_0x284c;return new _0x58ede6['init'](_0x5bb3c8)[_0x47f01e(0x530)](_0xd58c5);};},'_createHmacHelper':function(_0x1da4f7){return function(_0x1f76dc,_0x4a3a3d){const _0xd0f868=_0x284c;return new _0x1a54d2['HMAC']['init'](_0x1da4f7,_0x4a3a3d)[_0xd0f868(0x530)](_0x1f76dc);};}});var _0x1a54d2=_0x250eec[_0x3bc6c3(0x2ff)]={};return _0x250eec;}(Math);return _0x371a20;}));}(Ft)),Ft[_0x5c71e3(0x173)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x401f7d,_0x333028){(function(_0x3e1031,_0x442361){_0x401f7d['exports']=_0x442361(ue());}(Z,function(_0x456946){const _0x19f46c=_0x284c;return(function(){const _0xe6c1cb=_0x284c;var _0x2a5374=_0x456946,_0x344d0e=_0x2a5374[_0xe6c1cb(0x40d)],_0x1dd613=_0x344d0e[_0xe6c1cb(0x33c)],_0x2479e3=_0x2a5374[_0xe6c1cb(0x1dd)];_0x2479e3[_0xe6c1cb(0x1fa)]={'stringify':function(_0x1d67ba){const _0x186ca0=_0xe6c1cb;var _0x4f1263=_0x1d67ba[_0x186ca0(0x172)],_0x2d7fb4=_0x1d67ba[_0x186ca0(0x237)],_0x24ba9b=this['_map'];_0x1d67ba[_0x186ca0(0x2e4)]();for(var _0x29d40e=[],_0x45823f=0x0;_0x45823f<_0x2d7fb4;_0x45823f+=0x3)for(var _0xe405df=_0x4f1263[_0x45823f>>>0x2]>>>0x18-_0x45823f%0x4*0x8&0xff,_0x49c146=_0x4f1263[_0x45823f+0x1>>>0x2]>>>0x18-(_0x45823f+0x1)%0x4*0x8&0xff,_0x44256a=_0x4f1263[_0x45823f+0x2>>>0x2]>>>0x18-(_0x45823f+0x2)%0x4*0x8&0xff,_0x369ea1=_0xe405df<<0x10|_0x49c146<<0x8|_0x44256a,_0x3f1ee7=0x0;_0x3f1ee7<0x4&&_0x45823f+_0x3f1ee7*0.75<_0x2d7fb4;_0x3f1ee7++)_0x29d40e[_0x186ca0(0x183)](_0x24ba9b['charAt'](_0x369ea1>>>0x6*(0x3-_0x3f1ee7)&0x3f));var _0x461394=_0x24ba9b[_0x186ca0(0x29b)](0x40);if(_0x461394){for(;_0x29d40e['length']%0x4;)_0x29d40e[_0x186ca0(0x183)](_0x461394);}return _0x29d40e[_0x186ca0(0x27f)]('');},'parse':function(_0x17d078){const _0x2b23d8=_0xe6c1cb;var _0x569c2f=_0x17d078[_0x2b23d8(0x3d5)],_0x4fc2ce=this[_0x2b23d8(0x166)],_0x2535b=this['_reverseMap'];if(!_0x2535b){_0x2535b=this[_0x2b23d8(0x2f4)]=[];for(var _0x1b3593=0x0;_0x1b3593<_0x4fc2ce[_0x2b23d8(0x3d5)];_0x1b3593++)_0x2535b[_0x4fc2ce[_0x2b23d8(0x312)](_0x1b3593)]=_0x1b3593;}var _0x2ecdf3=_0x4fc2ce['charAt'](0x40);if(_0x2ecdf3){var _0x27a2e6=_0x17d078[_0x2b23d8(0x336)](_0x2ecdf3);_0x27a2e6!==-0x1&&(_0x569c2f=_0x27a2e6);}return _0x329728(_0x17d078,_0x569c2f,_0x2535b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x329728(_0x5dc5dd,_0x302e76,_0x20d2db){const _0x4390ee=_0xe6c1cb;for(var _0x8c55be=[],_0x106e13=0x0,_0x51cb6b=0x0;_0x51cb6b<_0x302e76;_0x51cb6b++)if(_0x51cb6b%0x4){var _0x37abfb=_0x20d2db[_0x5dc5dd[_0x4390ee(0x312)](_0x51cb6b-0x1)]<<_0x51cb6b%0x4*0x2,_0xb91fb0=_0x20d2db[_0x5dc5dd[_0x4390ee(0x312)](_0x51cb6b)]>>>0x6-_0x51cb6b%0x4*0x2,_0x2e9eee=_0x37abfb|_0xb91fb0;_0x8c55be[_0x106e13>>>0x2]|=_0x2e9eee<<0x18-_0x106e13%0x4*0x8,_0x106e13++;}return _0x1dd613[_0x4390ee(0x273)](_0x8c55be,_0x106e13);}}()),_0x456946[_0x19f46c(0x1dd)][_0x19f46c(0x1fa)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Va(){const _0x159261=_0xc8d6e8;return Zs||(Zs=0x1,function(_0x55701a,_0x107912){(function(_0x32a2ef,_0x21d026){const _0x2e17f3=_0x284c;_0x55701a[_0x2e17f3(0x173)]=_0x21d026(ue());}(Z,function(_0x9ada8d){const _0x2ffe97=_0x284c;return function(_0x493d90){const _0x473ab8=_0x284c;var _0x39c84b=_0x9ada8d,_0x8385ad=_0x39c84b['lib'],_0x4bcd65=_0x8385ad[_0x473ab8(0x33c)],_0x492642=_0x8385ad[_0x473ab8(0x348)],_0xb9d3f1=_0x39c84b[_0x473ab8(0x2ff)],_0x138b8=[];(function(){const _0x4f589d=_0x473ab8;for(var _0x2cf0a7=0x0;_0x2cf0a7<0x40;_0x2cf0a7++)_0x138b8[_0x2cf0a7]=_0x493d90['abs'](_0x493d90[_0x4f589d(0x4b8)](_0x2cf0a7+0x1))*0x100000000|0x0;}());var _0xd9b3a=_0xb9d3f1[_0x473ab8(0x402)]=_0x492642[_0x473ab8(0x210)]({'_doReset':function(){const _0x1ac439=_0x473ab8;this['_hash']=new _0x4bcd65[(_0x1ac439(0x293))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x38a69a,_0x4dd8ae){const _0x3a66db=_0x473ab8;for(var _0x5205a8=0x0;_0x5205a8<0x10;_0x5205a8++){var _0x14dc34=_0x4dd8ae+_0x5205a8,_0x14acf3=_0x38a69a[_0x14dc34];_0x38a69a[_0x14dc34]=(_0x14acf3<<0x8|_0x14acf3>>>0x18)&0xff00ff|(_0x14acf3<<0x18|_0x14acf3>>>0x8)&0xff00ff00;}var _0x5453cf=this[_0x3a66db(0x3a8)]['words'],_0x48bc49=_0x38a69a[_0x4dd8ae+0x0],_0x112583=_0x38a69a[_0x4dd8ae+0x1],_0xf38e71=_0x38a69a[_0x4dd8ae+0x2],_0x4e8a32=_0x38a69a[_0x4dd8ae+0x3],_0x338612=_0x38a69a[_0x4dd8ae+0x4],_0x61e504=_0x38a69a[_0x4dd8ae+0x5],_0x2171b1=_0x38a69a[_0x4dd8ae+0x6],_0x461b35=_0x38a69a[_0x4dd8ae+0x7],_0x3ecf1d=_0x38a69a[_0x4dd8ae+0x8],_0x2143e3=_0x38a69a[_0x4dd8ae+0x9],_0x208af6=_0x38a69a[_0x4dd8ae+0xa],_0x39c1ce=_0x38a69a[_0x4dd8ae+0xb],_0x48d19f=_0x38a69a[_0x4dd8ae+0xc],_0x18a11c=_0x38a69a[_0x4dd8ae+0xd],_0x140512=_0x38a69a[_0x4dd8ae+0xe],_0x32c8c2=_0x38a69a[_0x4dd8ae+0xf],_0x340a44=_0x5453cf[0x0],_0x488b43=_0x5453cf[0x1],_0x27b228=_0x5453cf[0x2],_0x49f3d2=_0x5453cf[0x3];_0x340a44=_0x517f9f(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x48bc49,0x7,_0x138b8[0x0]),_0x49f3d2=_0x517f9f(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x112583,0xc,_0x138b8[0x1]),_0x27b228=_0x517f9f(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0xf38e71,0x11,_0x138b8[0x2]),_0x488b43=_0x517f9f(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x4e8a32,0x16,_0x138b8[0x3]),_0x340a44=_0x517f9f(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x338612,0x7,_0x138b8[0x4]),_0x49f3d2=_0x517f9f(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x61e504,0xc,_0x138b8[0x5]),_0x27b228=_0x517f9f(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x2171b1,0x11,_0x138b8[0x6]),_0x488b43=_0x517f9f(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x461b35,0x16,_0x138b8[0x7]),_0x340a44=_0x517f9f(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x3ecf1d,0x7,_0x138b8[0x8]),_0x49f3d2=_0x517f9f(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x2143e3,0xc,_0x138b8[0x9]),_0x27b228=_0x517f9f(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x208af6,0x11,_0x138b8[0xa]),_0x488b43=_0x517f9f(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x39c1ce,0x16,_0x138b8[0xb]),_0x340a44=_0x517f9f(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x48d19f,0x7,_0x138b8[0xc]),_0x49f3d2=_0x517f9f(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x18a11c,0xc,_0x138b8[0xd]),_0x27b228=_0x517f9f(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x140512,0x11,_0x138b8[0xe]),_0x488b43=_0x517f9f(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x32c8c2,0x16,_0x138b8[0xf]),_0x340a44=_0x18996a(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x112583,0x5,_0x138b8[0x10]),_0x49f3d2=_0x18996a(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x2171b1,0x9,_0x138b8[0x11]),_0x27b228=_0x18996a(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x39c1ce,0xe,_0x138b8[0x12]),_0x488b43=_0x18996a(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x48bc49,0x14,_0x138b8[0x13]),_0x340a44=_0x18996a(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x61e504,0x5,_0x138b8[0x14]),_0x49f3d2=_0x18996a(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x208af6,0x9,_0x138b8[0x15]),_0x27b228=_0x18996a(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x32c8c2,0xe,_0x138b8[0x16]),_0x488b43=_0x18996a(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x338612,0x14,_0x138b8[0x17]),_0x340a44=_0x18996a(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x2143e3,0x5,_0x138b8[0x18]),_0x49f3d2=_0x18996a(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x140512,0x9,_0x138b8[0x19]),_0x27b228=_0x18996a(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x4e8a32,0xe,_0x138b8[0x1a]),_0x488b43=_0x18996a(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x3ecf1d,0x14,_0x138b8[0x1b]),_0x340a44=_0x18996a(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x18a11c,0x5,_0x138b8[0x1c]),_0x49f3d2=_0x18996a(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0xf38e71,0x9,_0x138b8[0x1d]),_0x27b228=_0x18996a(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x461b35,0xe,_0x138b8[0x1e]),_0x488b43=_0x18996a(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x48d19f,0x14,_0x138b8[0x1f]),_0x340a44=_0x1ce8fb(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x61e504,0x4,_0x138b8[0x20]),_0x49f3d2=_0x1ce8fb(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x3ecf1d,0xb,_0x138b8[0x21]),_0x27b228=_0x1ce8fb(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x39c1ce,0x10,_0x138b8[0x22]),_0x488b43=_0x1ce8fb(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x140512,0x17,_0x138b8[0x23]),_0x340a44=_0x1ce8fb(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x112583,0x4,_0x138b8[0x24]),_0x49f3d2=_0x1ce8fb(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x338612,0xb,_0x138b8[0x25]),_0x27b228=_0x1ce8fb(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x461b35,0x10,_0x138b8[0x26]),_0x488b43=_0x1ce8fb(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x208af6,0x17,_0x138b8[0x27]),_0x340a44=_0x1ce8fb(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x18a11c,0x4,_0x138b8[0x28]),_0x49f3d2=_0x1ce8fb(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x48bc49,0xb,_0x138b8[0x29]),_0x27b228=_0x1ce8fb(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x4e8a32,0x10,_0x138b8[0x2a]),_0x488b43=_0x1ce8fb(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x2171b1,0x17,_0x138b8[0x2b]),_0x340a44=_0x1ce8fb(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x2143e3,0x4,_0x138b8[0x2c]),_0x49f3d2=_0x1ce8fb(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x48d19f,0xb,_0x138b8[0x2d]),_0x27b228=_0x1ce8fb(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x32c8c2,0x10,_0x138b8[0x2e]),_0x488b43=_0x1ce8fb(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0xf38e71,0x17,_0x138b8[0x2f]),_0x340a44=_0x28d1a3(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x48bc49,0x6,_0x138b8[0x30]),_0x49f3d2=_0x28d1a3(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x461b35,0xa,_0x138b8[0x31]),_0x27b228=_0x28d1a3(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x140512,0xf,_0x138b8[0x32]),_0x488b43=_0x28d1a3(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x61e504,0x15,_0x138b8[0x33]),_0x340a44=_0x28d1a3(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x48d19f,0x6,_0x138b8[0x34]),_0x49f3d2=_0x28d1a3(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x4e8a32,0xa,_0x138b8[0x35]),_0x27b228=_0x28d1a3(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x208af6,0xf,_0x138b8[0x36]),_0x488b43=_0x28d1a3(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x112583,0x15,_0x138b8[0x37]),_0x340a44=_0x28d1a3(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x3ecf1d,0x6,_0x138b8[0x38]),_0x49f3d2=_0x28d1a3(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x32c8c2,0xa,_0x138b8[0x39]),_0x27b228=_0x28d1a3(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0x2171b1,0xf,_0x138b8[0x3a]),_0x488b43=_0x28d1a3(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x18a11c,0x15,_0x138b8[0x3b]),_0x340a44=_0x28d1a3(_0x340a44,_0x488b43,_0x27b228,_0x49f3d2,_0x338612,0x6,_0x138b8[0x3c]),_0x49f3d2=_0x28d1a3(_0x49f3d2,_0x340a44,_0x488b43,_0x27b228,_0x39c1ce,0xa,_0x138b8[0x3d]),_0x27b228=_0x28d1a3(_0x27b228,_0x49f3d2,_0x340a44,_0x488b43,_0xf38e71,0xf,_0x138b8[0x3e]),_0x488b43=_0x28d1a3(_0x488b43,_0x27b228,_0x49f3d2,_0x340a44,_0x2143e3,0x15,_0x138b8[0x3f]),_0x5453cf[0x0]=_0x5453cf[0x0]+_0x340a44|0x0,_0x5453cf[0x1]=_0x5453cf[0x1]+_0x488b43|0x0,_0x5453cf[0x2]=_0x5453cf[0x2]+_0x27b228|0x0,_0x5453cf[0x3]=_0x5453cf[0x3]+_0x49f3d2|0x0;},'_doFinalize':function(){const _0x31a943=_0x473ab8;var _0x56bb20=this[_0x31a943(0x4e4)],_0xacbc9c=_0x56bb20[_0x31a943(0x172)],_0x509f55=this[_0x31a943(0x20e)]*0x8,_0x51ca98=_0x56bb20[_0x31a943(0x237)]*0x8;_0xacbc9c[_0x51ca98>>>0x5]|=0x80<<0x18-_0x51ca98%0x20;var _0x434850=_0x493d90[_0x31a943(0x187)](_0x509f55/0x100000000),_0xaaca66=_0x509f55;_0xacbc9c[(_0x51ca98+0x40>>>0x9<<0x4)+0xf]=(_0x434850<<0x8|_0x434850>>>0x18)&0xff00ff|(_0x434850<<0x18|_0x434850>>>0x8)&0xff00ff00,_0xacbc9c[(_0x51ca98+0x40>>>0x9<<0x4)+0xe]=(_0xaaca66<<0x8|_0xaaca66>>>0x18)&0xff00ff|(_0xaaca66<<0x18|_0xaaca66>>>0x8)&0xff00ff00,_0x56bb20['sigBytes']=(_0xacbc9c['length']+0x1)*0x4,this['_process']();for(var _0x474590=this[_0x31a943(0x3a8)],_0x3a28a7=_0x474590[_0x31a943(0x172)],_0x38eed0=0x0;_0x38eed0<0x4;_0x38eed0++){var _0x37d11b=_0x3a28a7[_0x38eed0];_0x3a28a7[_0x38eed0]=(_0x37d11b<<0x8|_0x37d11b>>>0x18)&0xff00ff|(_0x37d11b<<0x18|_0x37d11b>>>0x8)&0xff00ff00;}return _0x474590;},'clone':function(){const _0x5552ca=_0x473ab8;var _0x1f4b16=_0x492642[_0x5552ca(0x1fd)][_0x5552ca(0x2c6)](this);return _0x1f4b16['_hash']=this[_0x5552ca(0x3a8)]['clone'](),_0x1f4b16;}});function _0x517f9f(_0x4dc2f6,_0x173b84,_0x14994c,_0x536bee,_0x29d30,_0x326f53,_0x2c6961){var _0x2d5a84=_0x4dc2f6+(_0x173b84&_0x14994c|~_0x173b84&_0x536bee)+_0x29d30+_0x2c6961;return(_0x2d5a84<<_0x326f53|_0x2d5a84>>>0x20-_0x326f53)+_0x173b84;}function _0x18996a(_0x28a1bd,_0x51a444,_0x2fe206,_0x491102,_0x193dc7,_0x47dc18,_0x13467d){var _0x376493=_0x28a1bd+(_0x51a444&_0x491102|_0x2fe206&~_0x491102)+_0x193dc7+_0x13467d;return(_0x376493<<_0x47dc18|_0x376493>>>0x20-_0x47dc18)+_0x51a444;}function _0x1ce8fb(_0x4477e4,_0x433a2b,_0x370069,_0x278e6a,_0x75b443,_0x1efb1c,_0x4fb6e3){var _0x4fc4e2=_0x4477e4+(_0x433a2b^_0x370069^_0x278e6a)+_0x75b443+_0x4fb6e3;return(_0x4fc4e2<<_0x1efb1c|_0x4fc4e2>>>0x20-_0x1efb1c)+_0x433a2b;}function _0x28d1a3(_0x4a82f7,_0x1c7138,_0x5ab0b6,_0x500f26,_0x1cb74f,_0x59f849,_0x311e56){var _0x51b710=_0x4a82f7+(_0x5ab0b6^(_0x1c7138|~_0x500f26))+_0x1cb74f+_0x311e56;return(_0x51b710<<_0x59f849|_0x51b710>>>0x20-_0x59f849)+_0x1c7138;}_0x39c84b[_0x473ab8(0x402)]=_0x492642['_createHelper'](_0xd9b3a),_0x39c84b[_0x473ab8(0x33d)]=_0x492642['_createHmacHelper'](_0xd9b3a);}(Math),_0x9ada8d[_0x2ffe97(0x402)];}));}(Gt)),Gt[_0x159261(0x173)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Ga(){const _0x1f697a=_0xc8d6e8;return Qs||(Qs=0x1,function(_0x398f20,_0x1b82be){(function(_0x409894,_0x26829b){const _0x364877=_0x284c;_0x398f20[_0x364877(0x173)]=_0x26829b(ue());}(Z,function(_0x2765c6){const _0x40221b=_0x284c;return(function(){const _0x175440=_0x284c;var _0x350b73=_0x2765c6,_0x565622=_0x350b73[_0x175440(0x40d)],_0x215a31=_0x565622[_0x175440(0x33c)],_0x40b13f=_0x565622[_0x175440(0x348)],_0xca64ce=_0x350b73[_0x175440(0x2ff)],_0x4ab24a=[],_0x56f70e=_0xca64ce[_0x175440(0x536)]=_0x40b13f[_0x175440(0x210)]({'_doReset':function(){const _0x48c4e1=_0x175440;this[_0x48c4e1(0x3a8)]=new _0x215a31[(_0x48c4e1(0x293))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x353a0b,_0x4f7b29){const _0xe5623d=_0x175440;for(var _0x469cb6=this['_hash'][_0xe5623d(0x172)],_0x55531b=_0x469cb6[0x0],_0x1d9e9c=_0x469cb6[0x1],_0x2f77b8=_0x469cb6[0x2],_0x438d21=_0x469cb6[0x3],_0x3da7d9=_0x469cb6[0x4],_0x967647=0x0;_0x967647<0x50;_0x967647++){if(_0x967647<0x10)_0x4ab24a[_0x967647]=_0x353a0b[_0x4f7b29+_0x967647]|0x0;else{var _0x55e34e=_0x4ab24a[_0x967647-0x3]^_0x4ab24a[_0x967647-0x8]^_0x4ab24a[_0x967647-0xe]^_0x4ab24a[_0x967647-0x10];_0x4ab24a[_0x967647]=_0x55e34e<<0x1|_0x55e34e>>>0x1f;}var _0x190ae4=(_0x55531b<<0x5|_0x55531b>>>0x1b)+_0x3da7d9+_0x4ab24a[_0x967647];_0x967647<0x14?_0x190ae4+=(_0x1d9e9c&_0x2f77b8|~_0x1d9e9c&_0x438d21)+0x5a827999:_0x967647<0x28?_0x190ae4+=(_0x1d9e9c^_0x2f77b8^_0x438d21)+0x6ed9eba1:_0x967647<0x3c?_0x190ae4+=(_0x1d9e9c&_0x2f77b8|_0x1d9e9c&_0x438d21|_0x2f77b8&_0x438d21)-0x70e44324:_0x190ae4+=(_0x1d9e9c^_0x2f77b8^_0x438d21)-0x359d3e2a,_0x3da7d9=_0x438d21,_0x438d21=_0x2f77b8,_0x2f77b8=_0x1d9e9c<<0x1e|_0x1d9e9c>>>0x2,_0x1d9e9c=_0x55531b,_0x55531b=_0x190ae4;}_0x469cb6[0x0]=_0x469cb6[0x0]+_0x55531b|0x0,_0x469cb6[0x1]=_0x469cb6[0x1]+_0x1d9e9c|0x0,_0x469cb6[0x2]=_0x469cb6[0x2]+_0x2f77b8|0x0,_0x469cb6[0x3]=_0x469cb6[0x3]+_0x438d21|0x0,_0x469cb6[0x4]=_0x469cb6[0x4]+_0x3da7d9|0x0;},'_doFinalize':function(){const _0xac046a=_0x175440;var _0x2df6f3=this[_0xac046a(0x4e4)],_0x277b87=_0x2df6f3[_0xac046a(0x172)],_0x538743=this['_nDataBytes']*0x8,_0x1a903b=_0x2df6f3['sigBytes']*0x8;return _0x277b87[_0x1a903b>>>0x5]|=0x80<<0x18-_0x1a903b%0x20,_0x277b87[(_0x1a903b+0x40>>>0x9<<0x4)+0xe]=Math[_0xac046a(0x187)](_0x538743/0x100000000),_0x277b87[(_0x1a903b+0x40>>>0x9<<0x4)+0xf]=_0x538743,_0x2df6f3[_0xac046a(0x237)]=_0x277b87['length']*0x4,this[_0xac046a(0x1c0)](),this[_0xac046a(0x3a8)];},'clone':function(){const _0x3eb7c9=_0x175440;var _0x396bc1=_0x40b13f['clone']['call'](this);return _0x396bc1[_0x3eb7c9(0x3a8)]=this[_0x3eb7c9(0x3a8)][_0x3eb7c9(0x1fd)](),_0x396bc1;}});_0x350b73[_0x175440(0x536)]=_0x40b13f[_0x175440(0x30e)](_0x56f70e),_0x350b73[_0x175440(0x495)]=_0x40b13f[_0x175440(0x458)](_0x56f70e);}()),_0x2765c6[_0x40221b(0x536)];}));}(Kt)),Kt[_0x1f697a(0x173)];}var zt={'exports':{}},ei;function Ya(){const _0x3cec09=_0xc8d6e8;return ei||(ei=0x1,function(_0x884961,_0x3a54ff){(function(_0x2bb6d6,_0x42d4a9){const _0x3970e9=_0x284c;_0x884961[_0x3970e9(0x173)]=_0x42d4a9(ue());}(Z,function(_0x23ea88){(function(){const _0x4edd94=_0x284c;var _0x27c200=_0x23ea88,_0x17db21=_0x27c200[_0x4edd94(0x40d)],_0x1057bf=_0x17db21[_0x4edd94(0x123)],_0x44fdd1=_0x27c200['enc'],_0x328bcd=_0x44fdd1[_0x4edd94(0x378)],_0x1d16bb=_0x27c200[_0x4edd94(0x2ff)];_0x1d16bb['HMAC']=_0x1057bf[_0x4edd94(0x210)]({'init':function(_0x4128b3,_0x3a5996){const _0x1f13fb=_0x4edd94;_0x4128b3=this[_0x1f13fb(0x387)]=new _0x4128b3['init'](),typeof _0x3a5996=='string'&&(_0x3a5996=_0x328bcd[_0x1f13fb(0x4d2)](_0x3a5996));var _0x2165d1=_0x4128b3[_0x1f13fb(0x3f3)],_0x54c3af=_0x2165d1*0x4;_0x3a5996[_0x1f13fb(0x237)]>_0x54c3af&&(_0x3a5996=_0x4128b3[_0x1f13fb(0x530)](_0x3a5996)),_0x3a5996[_0x1f13fb(0x2e4)]();for(var _0x32d930=this[_0x1f13fb(0x3fb)]=_0x3a5996[_0x1f13fb(0x1fd)](),_0x31bc8b=this[_0x1f13fb(0x281)]=_0x3a5996[_0x1f13fb(0x1fd)](),_0x44975f=_0x32d930[_0x1f13fb(0x172)],_0x4ecb6d=_0x31bc8b[_0x1f13fb(0x172)],_0x181fc6=0x0;_0x181fc6<_0x2165d1;_0x181fc6++)_0x44975f[_0x181fc6]^=0x5c5c5c5c,_0x4ecb6d[_0x181fc6]^=0x36363636;_0x32d930[_0x1f13fb(0x237)]=_0x31bc8b[_0x1f13fb(0x237)]=_0x54c3af,this[_0x1f13fb(0x19d)]();},'reset':function(){const _0x360b2c=_0x4edd94;var _0x1de426=this[_0x360b2c(0x387)];_0x1de426[_0x360b2c(0x19d)](),_0x1de426[_0x360b2c(0x2d4)](this[_0x360b2c(0x281)]);},'update':function(_0x751ca){const _0x4e3e83=_0x4edd94;return this[_0x4e3e83(0x387)][_0x4e3e83(0x2d4)](_0x751ca),this;},'finalize':function(_0x4866e7){const _0x147bb8=_0x4edd94;var _0x444e28=this[_0x147bb8(0x387)],_0xc6d8a0=_0x444e28[_0x147bb8(0x530)](_0x4866e7);_0x444e28[_0x147bb8(0x19d)]();var _0x339495=_0x444e28[_0x147bb8(0x530)](this[_0x147bb8(0x3fb)]['clone']()[_0x147bb8(0x502)](_0xc6d8a0));return _0x339495;}});}());}));}(zt)),zt[_0x3cec09(0x173)];}var ti;function Fi(){const _0x142a03=_0xc8d6e8;return ti||(ti=0x1,function(_0x583b18,_0x53d776){(function(_0xe20cc1,_0x4e6c2b,_0xe56bff){const _0x2da874=_0x284c;_0x583b18[_0x2da874(0x173)]=_0x4e6c2b(ue(),Ga(),Ya());}(Z,function(_0xfc18d2){const _0x162800=_0x284c;return(function(){const _0xb8326=_0x284c;var _0x5056bc=_0xfc18d2,_0xb9926f=_0x5056bc[_0xb8326(0x40d)],_0x4e4539=_0xb9926f[_0xb8326(0x123)],_0x4aea28=_0xb9926f[_0xb8326(0x33c)],_0x8104e2=_0x5056bc[_0xb8326(0x2ff)],_0x4f2f48=_0x8104e2[_0xb8326(0x402)],_0x9b2908=_0x8104e2[_0xb8326(0x46d)]=_0x4e4539[_0xb8326(0x210)]({'cfg':_0x4e4539['extend']({'keySize':0x80/0x20,'hasher':_0x4f2f48,'iterations':0x1}),'init':function(_0x2c0829){const _0x36511f=_0xb8326;this[_0x36511f(0x2d7)]=this[_0x36511f(0x2d7)]['extend'](_0x2c0829);},'compute':function(_0x101298,_0x3fc540){const _0x520ec6=_0xb8326;for(var _0x21081a,_0x29d10a=this[_0x520ec6(0x2d7)],_0x3ad575=_0x29d10a[_0x520ec6(0x377)][_0x520ec6(0x273)](),_0x2f51a7=_0x4aea28[_0x520ec6(0x273)](),_0x3975b5=_0x2f51a7['words'],_0x5e5b93=_0x29d10a['keySize'],_0x4ab86e=_0x29d10a[_0x520ec6(0x343)];_0x3975b5[_0x520ec6(0x3d5)]<_0x5e5b93;){_0x21081a&&_0x3ad575[_0x520ec6(0x2d4)](_0x21081a),_0x21081a=_0x3ad575[_0x520ec6(0x2d4)](_0x101298)['finalize'](_0x3fc540),_0x3ad575['reset']();for(var _0x293217=0x1;_0x293217<_0x4ab86e;_0x293217++)_0x21081a=_0x3ad575[_0x520ec6(0x530)](_0x21081a),_0x3ad575[_0x520ec6(0x19d)]();_0x2f51a7[_0x520ec6(0x502)](_0x21081a);}return _0x2f51a7['sigBytes']=_0x5e5b93*0x4,_0x2f51a7;}});_0x5056bc[_0xb8326(0x46d)]=function(_0x25c804,_0x366407,_0x2f522e){const _0x31b42f=_0xb8326;return _0x9b2908[_0x31b42f(0x273)](_0x2f522e)[_0x31b42f(0x4c6)](_0x25c804,_0x366407);};}()),_0xfc18d2[_0x162800(0x46d)];}));}(Yt)),Yt[_0x142a03(0x173)];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0x5a1262,_0x49cd88){(function(_0x1cd21a,_0x55332c,_0x29674b){const _0x1e6617=_0x284c;_0x5a1262[_0x1e6617(0x173)]=_0x55332c(ue(),Fi());}(Z,function(_0x1818db){_0x1818db['lib']['Cipher']||function(_0x2b741e){const _0x468830=_0x284c;var _0x375d79=_0x1818db,_0x5d7ac3=_0x375d79[_0x468830(0x40d)],_0x334b3a=_0x5d7ac3[_0x468830(0x123)],_0x423662=_0x5d7ac3['WordArray'],_0x2f8711=_0x5d7ac3[_0x468830(0x465)],_0x40db21=_0x375d79[_0x468830(0x1dd)];_0x40db21[_0x468830(0x378)];var _0x42a088=_0x40db21[_0x468830(0x1fa)],_0x227df0=_0x375d79[_0x468830(0x2ff)],_0x209347=_0x227df0[_0x468830(0x46d)],_0x90e00a=_0x5d7ac3[_0x468830(0x2dc)]=_0x2f8711[_0x468830(0x210)]({'cfg':_0x334b3a['extend'](),'createEncryptor':function(_0x525ee2,_0x1c554c){const _0x258f3a=_0x468830;return this[_0x258f3a(0x273)](this[_0x258f3a(0x3b6)],_0x525ee2,_0x1c554c);},'createDecryptor':function(_0x2eeeb1,_0x589fac){const _0x44e585=_0x468830;return this[_0x44e585(0x273)](this[_0x44e585(0x3cd)],_0x2eeeb1,_0x589fac);},'init':function(_0x4646ff,_0x2c4896,_0x5f39e9){const _0x330d16=_0x468830;this[_0x330d16(0x2d7)]=this[_0x330d16(0x2d7)][_0x330d16(0x210)](_0x5f39e9),this[_0x330d16(0x514)]=_0x4646ff,this['_key']=_0x2c4896,this[_0x330d16(0x19d)]();},'reset':function(){const _0x4e8be6=_0x468830;_0x2f8711['reset'][_0x4e8be6(0x2c6)](this),this['_doReset']();},'process':function(_0x1e5245){const _0x26f22a=_0x468830;return this[_0x26f22a(0x32c)](_0x1e5245),this[_0x26f22a(0x1c0)]();},'finalize':function(_0x3b0aa1){const _0x2bc6f6=_0x468830;_0x3b0aa1&&this[_0x2bc6f6(0x32c)](_0x3b0aa1);var _0x2ddc6c=this['_doFinalize']();return _0x2ddc6c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x147074(_0x5a6aa5){const _0x37c077=_0x284c;return typeof _0x5a6aa5==_0x37c077(0x155)?_0x217f01:_0x1e1d9a;}return function(_0xa2ae0a){return{'encrypt':function(_0x1fc9b2,_0x2c461a,_0x1a9b55){const _0x4f454e=_0x284c;return _0x147074(_0x2c461a)[_0x4f454e(0x449)](_0xa2ae0a,_0x1fc9b2,_0x2c461a,_0x1a9b55);},'decrypt':function(_0xa515b3,_0x3cc007,_0x1649bc){const _0x327ee6=_0x284c;return _0x147074(_0x3cc007)[_0x327ee6(0x462)](_0xa2ae0a,_0xa515b3,_0x3cc007,_0x1649bc);}};};}())});_0x5d7ac3['StreamCipher']=_0x90e00a[_0x468830(0x210)]({'_doFinalize':function(){const _0x4d97ce=_0x468830;var _0x118758=this[_0x4d97ce(0x1c0)](!0x0);return _0x118758;},'blockSize':0x1});var _0x3ad049=_0x375d79[_0x468830(0x296)]={},_0x546b49=_0x5d7ac3['BlockCipherMode']=_0x334b3a[_0x468830(0x210)]({'createEncryptor':function(_0x232b95,_0x2dd51f){const _0x22feee=_0x468830;return this[_0x22feee(0x480)][_0x22feee(0x273)](_0x232b95,_0x2dd51f);},'createDecryptor':function(_0x37eb37,_0x13b89a){const _0x197a7b=_0x468830;return this[_0x197a7b(0x18f)][_0x197a7b(0x273)](_0x37eb37,_0x13b89a);},'init':function(_0x2b57ca,_0x43bc8d){const _0x199958=_0x468830;this[_0x199958(0x31b)]=_0x2b57ca,this['_iv']=_0x43bc8d;}}),_0x18a0a9=_0x3ad049['CBC']=(function(){const _0x36becc=_0x468830;var _0x6640a8=_0x546b49[_0x36becc(0x210)]();_0x6640a8[_0x36becc(0x480)]=_0x6640a8[_0x36becc(0x210)]({'processBlock':function(_0x4773a6,_0x567aa7){const _0x4bb544=_0x36becc;var _0x347bdb=this['_cipher'],_0x271ea3=_0x347bdb[_0x4bb544(0x3f3)];_0x5c5bd6[_0x4bb544(0x2c6)](this,_0x4773a6,_0x567aa7,_0x271ea3),_0x347bdb[_0x4bb544(0x3b3)](_0x4773a6,_0x567aa7),this[_0x4bb544(0x35e)]=_0x4773a6[_0x4bb544(0x357)](_0x567aa7,_0x567aa7+_0x271ea3);}}),_0x6640a8[_0x36becc(0x18f)]=_0x6640a8[_0x36becc(0x210)]({'processBlock':function(_0x2d81f5,_0x2dadd5){const _0x53a835=_0x36becc;var _0xd09357=this[_0x53a835(0x31b)],_0x432ea4=_0xd09357[_0x53a835(0x3f3)],_0x1d593e=_0x2d81f5[_0x53a835(0x357)](_0x2dadd5,_0x2dadd5+_0x432ea4);_0xd09357[_0x53a835(0x136)](_0x2d81f5,_0x2dadd5),_0x5c5bd6[_0x53a835(0x2c6)](this,_0x2d81f5,_0x2dadd5,_0x432ea4),this[_0x53a835(0x35e)]=_0x1d593e;}});function _0x5c5bd6(_0xeded06,_0xf0437e,_0x4f420f){const _0x29acdb=_0x36becc;var _0x2dafac,_0xb50130=this[_0x29acdb(0x48e)];_0xb50130?(_0x2dafac=_0xb50130,this[_0x29acdb(0x48e)]=_0x2b741e):_0x2dafac=this[_0x29acdb(0x35e)];for(var _0x1e8192=0x0;_0x1e8192<_0x4f420f;_0x1e8192++)_0xeded06[_0xf0437e+_0x1e8192]^=_0x2dafac[_0x1e8192];}return _0x6640a8;}()),_0x35fe15=_0x375d79[_0x468830(0x13a)]={},_0x53275d=_0x35fe15[_0x468830(0x362)]={'pad':function(_0x2ce87b,_0x23e7d4){const _0x2ac4f5=_0x468830;for(var _0x39b72b=_0x23e7d4*0x4,_0x2c322d=_0x39b72b-_0x2ce87b['sigBytes']%_0x39b72b,_0x30ac44=_0x2c322d<<0x18|_0x2c322d<<0x10|_0x2c322d<<0x8|_0x2c322d,_0x5e9e37=[],_0x48650c=0x0;_0x48650c<_0x2c322d;_0x48650c+=0x4)_0x5e9e37['push'](_0x30ac44);var _0x346555=_0x423662[_0x2ac4f5(0x273)](_0x5e9e37,_0x2c322d);_0x2ce87b['concat'](_0x346555);},'unpad':function(_0x2d3153){const _0x1e11a3=_0x468830;var _0x2d69d3=_0x2d3153['words'][_0x2d3153[_0x1e11a3(0x237)]-0x1>>>0x2]&0xff;_0x2d3153[_0x1e11a3(0x237)]-=_0x2d69d3;}};_0x5d7ac3[_0x468830(0x383)]=_0x90e00a[_0x468830(0x210)]({'cfg':_0x90e00a[_0x468830(0x2d7)][_0x468830(0x210)]({'mode':_0x18a0a9,'padding':_0x53275d}),'reset':function(){const _0x1f4466=_0x468830;var _0x5af53f;_0x90e00a[_0x1f4466(0x19d)][_0x1f4466(0x2c6)](this);var _0x1a2df5=this[_0x1f4466(0x2d7)],_0xb1ffb8=_0x1a2df5['iv'],_0x1381de=_0x1a2df5[_0x1f4466(0x296)];this['_xformMode']==this[_0x1f4466(0x3b6)]?_0x5af53f=_0x1381de['createEncryptor']:(_0x5af53f=_0x1381de[_0x1f4466(0x3d1)],this[_0x1f4466(0x30c)]=0x1),this[_0x1f4466(0x1ec)]&&this[_0x1f4466(0x1ec)][_0x1f4466(0x17f)]==_0x5af53f?this[_0x1f4466(0x1ec)][_0x1f4466(0x293)](this,_0xb1ffb8&&_0xb1ffb8[_0x1f4466(0x172)]):(this[_0x1f4466(0x1ec)]=_0x5af53f[_0x1f4466(0x2c6)](_0x1381de,this,_0xb1ffb8&&_0xb1ffb8['words']),this[_0x1f4466(0x1ec)][_0x1f4466(0x17f)]=_0x5af53f);},'_doProcessBlock':function(_0x5bec8b,_0x2afc68){const _0x16e5d8=_0x468830;this[_0x16e5d8(0x1ec)][_0x16e5d8(0x17d)](_0x5bec8b,_0x2afc68);},'_doFinalize':function(){const _0xab5e09=_0x468830;var _0x140a11,_0x5c9074=this[_0xab5e09(0x2d7)][_0xab5e09(0x2ca)];return this['_xformMode']==this[_0xab5e09(0x3b6)]?(_0x5c9074[_0xab5e09(0x13a)](this[_0xab5e09(0x4e4)],this[_0xab5e09(0x3f3)]),_0x140a11=this['_process'](!0x0)):(_0x140a11=this[_0xab5e09(0x1c0)](!0x0),_0x5c9074[_0xab5e09(0x1fc)](_0x140a11)),_0x140a11;},'blockSize':0x80/0x20});var _0x291502=_0x5d7ac3[_0x468830(0x461)]=_0x334b3a[_0x468830(0x210)]({'init':function(_0x5b57a9){const _0x13ab7f=_0x468830;this[_0x13ab7f(0x52a)](_0x5b57a9);},'toString':function(_0x3754e7){const _0x49f714=_0x468830;return(_0x3754e7||this[_0x49f714(0x134)])[_0x49f714(0x306)](this);}}),_0x265540=_0x375d79[_0x468830(0x3ca)]={},_0x434d2a=_0x265540[_0x468830(0x31d)]={'stringify':function(_0x26e182){const _0x575fb9=_0x468830;var _0x3b098,_0x195e69=_0x26e182['ciphertext'],_0x198f80=_0x26e182[_0x575fb9(0x1bc)];return _0x198f80?_0x3b098=_0x423662[_0x575fb9(0x273)]([0x53616c74,0x65645f5f])[_0x575fb9(0x502)](_0x198f80)[_0x575fb9(0x502)](_0x195e69):_0x3b098=_0x195e69,_0x3b098['toString'](_0x42a088);},'parse':function(_0x11f20f){const _0x345772=_0x468830;var _0x26860d,_0x5789ea=_0x42a088[_0x345772(0x4d2)](_0x11f20f),_0x532b95=_0x5789ea['words'];return _0x532b95[0x0]==0x53616c74&&_0x532b95[0x1]==0x65645f5f&&(_0x26860d=_0x423662['create'](_0x532b95['slice'](0x2,0x4)),_0x532b95[_0x345772(0x3ee)](0x0,0x4),_0x5789ea[_0x345772(0x237)]-=0x10),_0x291502[_0x345772(0x273)]({'ciphertext':_0x5789ea,'salt':_0x26860d});}},_0x1e1d9a=_0x5d7ac3[_0x468830(0x503)]=_0x334b3a[_0x468830(0x210)]({'cfg':_0x334b3a['extend']({'format':_0x434d2a}),'encrypt':function(_0x55d883,_0x2c45fd,_0x4ff4e0,_0x3e14d8){const _0x41fda0=_0x468830;_0x3e14d8=this[_0x41fda0(0x2d7)]['extend'](_0x3e14d8);var _0x20f679=_0x55d883[_0x41fda0(0x16a)](_0x4ff4e0,_0x3e14d8),_0x565979=_0x20f679['finalize'](_0x2c45fd),_0x3ad0bb=_0x20f679['cfg'];return _0x291502[_0x41fda0(0x273)]({'ciphertext':_0x565979,'key':_0x4ff4e0,'iv':_0x3ad0bb['iv'],'algorithm':_0x55d883,'mode':_0x3ad0bb[_0x41fda0(0x296)],'padding':_0x3ad0bb[_0x41fda0(0x2ca)],'blockSize':_0x55d883[_0x41fda0(0x3f3)],'formatter':_0x3e14d8[_0x41fda0(0x3ca)]});},'decrypt':function(_0x36b23a,_0x57b431,_0x26ad07,_0x4b1576){const _0x529c36=_0x468830;_0x4b1576=this['cfg'][_0x529c36(0x210)](_0x4b1576),_0x57b431=this[_0x529c36(0x221)](_0x57b431,_0x4b1576[_0x529c36(0x3ca)]);var _0x357481=_0x36b23a[_0x529c36(0x3d1)](_0x26ad07,_0x4b1576)[_0x529c36(0x530)](_0x57b431['ciphertext']);return _0x357481;},'_parse':function(_0x48de47,_0x109da8){const _0x23cf8b=_0x468830;return typeof _0x48de47==_0x23cf8b(0x155)?_0x109da8[_0x23cf8b(0x4d2)](_0x48de47,this):_0x48de47;}}),_0x4f49c1=_0x375d79['kdf']={},_0x1cb7de=_0x4f49c1['OpenSSL']={'execute':function(_0x5b3562,_0x25d243,_0x4e847c,_0x34cff6,_0x20e14a){const _0x49b4ef=_0x468830;if(_0x34cff6||(_0x34cff6=_0x423662[_0x49b4ef(0x51a)](0x40/0x8)),_0x20e14a)var _0x26c77b=_0x209347['create']({'keySize':_0x25d243+_0x4e847c,'hasher':_0x20e14a})[_0x49b4ef(0x4c6)](_0x5b3562,_0x34cff6);else var _0x26c77b=_0x209347[_0x49b4ef(0x273)]({'keySize':_0x25d243+_0x4e847c})[_0x49b4ef(0x4c6)](_0x5b3562,_0x34cff6);var _0x3f0b2c=_0x423662[_0x49b4ef(0x273)](_0x26c77b['words'][_0x49b4ef(0x357)](_0x25d243),_0x4e847c*0x4);return _0x26c77b[_0x49b4ef(0x237)]=_0x25d243*0x4,_0x291502[_0x49b4ef(0x273)]({'key':_0x26c77b,'iv':_0x3f0b2c,'salt':_0x34cff6});}},_0x217f01=_0x5d7ac3['PasswordBasedCipher']=_0x1e1d9a[_0x468830(0x210)]({'cfg':_0x1e1d9a[_0x468830(0x2d7)][_0x468830(0x210)]({'kdf':_0x1cb7de}),'encrypt':function(_0x37af70,_0x84d030,_0xfd6619,_0x4a0adf){const _0x2f68cc=_0x468830;_0x4a0adf=this['cfg'][_0x2f68cc(0x210)](_0x4a0adf);var _0x390743=_0x4a0adf[_0x2f68cc(0x153)]['execute'](_0xfd6619,_0x37af70[_0x2f68cc(0x2ad)],_0x37af70[_0x2f68cc(0x4db)],_0x4a0adf[_0x2f68cc(0x1bc)],_0x4a0adf[_0x2f68cc(0x377)]);_0x4a0adf['iv']=_0x390743['iv'];var _0x4a052a=_0x1e1d9a[_0x2f68cc(0x449)][_0x2f68cc(0x2c6)](this,_0x37af70,_0x84d030,_0x390743[_0x2f68cc(0x1e3)],_0x4a0adf);return _0x4a052a[_0x2f68cc(0x52a)](_0x390743),_0x4a052a;},'decrypt':function(_0x18d064,_0x347af1,_0x148366,_0x31ba47){const _0x1d66ae=_0x468830;_0x31ba47=this[_0x1d66ae(0x2d7)][_0x1d66ae(0x210)](_0x31ba47),_0x347af1=this['_parse'](_0x347af1,_0x31ba47[_0x1d66ae(0x3ca)]);var _0x2b9989=_0x31ba47[_0x1d66ae(0x153)][_0x1d66ae(0x308)](_0x148366,_0x18d064[_0x1d66ae(0x2ad)],_0x18d064[_0x1d66ae(0x4db)],_0x347af1['salt'],_0x31ba47[_0x1d66ae(0x377)]);_0x31ba47['iv']=_0x2b9989['iv'];var _0x39ce3b=_0x1e1d9a[_0x1d66ae(0x462)][_0x1d66ae(0x2c6)](this,_0x18d064,_0x347af1,_0x2b9989[_0x1d66ae(0x1e3)],_0x31ba47);return _0x39ce3b;}});}();}));}(qt)),qt['exports'];}(function(_0x799be6,_0x509bcc){(function(_0x3b296f,_0x14dd83,_0x9bce99){const _0x45585c=_0x284c;_0x799be6[_0x45585c(0x173)]=_0x14dd83(ue(),Wi(),Va(),Fi(),Vi());}(Z,function(_0x51f368){const _0x1fab6b=_0x284c;return(function(){const _0x4c4fe0=_0x284c;var _0x129787=_0x51f368,_0x3e2bc0=_0x129787['lib'],_0x1e802f=_0x3e2bc0[_0x4c4fe0(0x383)],_0x290420=_0x129787['algo'],_0x474c16=[],_0x28e539=[],_0x2ef000=[],_0x325789=[],_0x4d5fa8=[],_0x53942f=[],_0x70e12=[],_0x274771=[],_0x2a1531=[],_0x1a2ade=[];(function(){for(var _0x538e4c=[],_0x39586c=0x0;_0x39586c<0x100;_0x39586c++)_0x39586c<0x80?_0x538e4c[_0x39586c]=_0x39586c<<0x1:_0x538e4c[_0x39586c]=_0x39586c<<0x1^0x11b;for(var _0x316add=0x0,_0x59ae80=0x0,_0x39586c=0x0;_0x39586c<0x100;_0x39586c++){var _0x4cb7f7=_0x59ae80^_0x59ae80<<0x1^_0x59ae80<<0x2^_0x59ae80<<0x3^_0x59ae80<<0x4;_0x4cb7f7=_0x4cb7f7>>>0x8^_0x4cb7f7&0xff^0x63,_0x474c16[_0x316add]=_0x4cb7f7,_0x28e539[_0x4cb7f7]=_0x316add;var _0x22187d=_0x538e4c[_0x316add],_0x17e31a=_0x538e4c[_0x22187d],_0x55d95a=_0x538e4c[_0x17e31a],_0x499671=_0x538e4c[_0x4cb7f7]*0x101^_0x4cb7f7*0x1010100;_0x2ef000[_0x316add]=_0x499671<<0x18|_0x499671>>>0x8,_0x325789[_0x316add]=_0x499671<<0x10|_0x499671>>>0x10,_0x4d5fa8[_0x316add]=_0x499671<<0x8|_0x499671>>>0x18,_0x53942f[_0x316add]=_0x499671;var _0x499671=_0x55d95a*0x1010101^_0x17e31a*0x10001^_0x22187d*0x101^_0x316add*0x1010100;_0x70e12[_0x4cb7f7]=_0x499671<<0x18|_0x499671>>>0x8,_0x274771[_0x4cb7f7]=_0x499671<<0x10|_0x499671>>>0x10,_0x2a1531[_0x4cb7f7]=_0x499671<<0x8|_0x499671>>>0x18,_0x1a2ade[_0x4cb7f7]=_0x499671,_0x316add?(_0x316add=_0x22187d^_0x538e4c[_0x538e4c[_0x538e4c[_0x55d95a^_0x22187d]]],_0x59ae80^=_0x538e4c[_0x538e4c[_0x59ae80]]):_0x316add=_0x59ae80=0x1;}}());var _0x586a57=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38b369=_0x290420[_0x4c4fe0(0x46f)]=_0x1e802f[_0x4c4fe0(0x210)]({'_doReset':function(){const _0x1a9cbf=_0x4c4fe0;var _0x489178;if(!(this[_0x1a9cbf(0x4c7)]&&this[_0x1a9cbf(0x522)]===this[_0x1a9cbf(0x295)])){for(var _0x241c5d=this['_keyPriorReset']=this[_0x1a9cbf(0x295)],_0x129b85=_0x241c5d[_0x1a9cbf(0x172)],_0x3c8d8d=_0x241c5d[_0x1a9cbf(0x237)]/0x4,_0x100251=this['_nRounds']=_0x3c8d8d+0x6,_0xcb9d19=(_0x100251+0x1)*0x4,_0x28324a=this[_0x1a9cbf(0x2a9)]=[],_0x2e5c50=0x0;_0x2e5c50<_0xcb9d19;_0x2e5c50++)_0x2e5c50<_0x3c8d8d?_0x28324a[_0x2e5c50]=_0x129b85[_0x2e5c50]:(_0x489178=_0x28324a[_0x2e5c50-0x1],_0x2e5c50%_0x3c8d8d?_0x3c8d8d>0x6&&_0x2e5c50%_0x3c8d8d==0x4&&(_0x489178=_0x474c16[_0x489178>>>0x18]<<0x18|_0x474c16[_0x489178>>>0x10&0xff]<<0x10|_0x474c16[_0x489178>>>0x8&0xff]<<0x8|_0x474c16[_0x489178&0xff]):(_0x489178=_0x489178<<0x8|_0x489178>>>0x18,_0x489178=_0x474c16[_0x489178>>>0x18]<<0x18|_0x474c16[_0x489178>>>0x10&0xff]<<0x10|_0x474c16[_0x489178>>>0x8&0xff]<<0x8|_0x474c16[_0x489178&0xff],_0x489178^=_0x586a57[_0x2e5c50/_0x3c8d8d|0x0]<<0x18),_0x28324a[_0x2e5c50]=_0x28324a[_0x2e5c50-_0x3c8d8d]^_0x489178);for(var _0x207c7b=this['_invKeySchedule']=[],_0x4b66c1=0x0;_0x4b66c1<_0xcb9d19;_0x4b66c1++){var _0x2e5c50=_0xcb9d19-_0x4b66c1;if(_0x4b66c1%0x4)var _0x489178=_0x28324a[_0x2e5c50];else var _0x489178=_0x28324a[_0x2e5c50-0x4];_0x4b66c1<0x4||_0x2e5c50<=0x4?_0x207c7b[_0x4b66c1]=_0x489178:_0x207c7b[_0x4b66c1]=_0x70e12[_0x474c16[_0x489178>>>0x18]]^_0x274771[_0x474c16[_0x489178>>>0x10&0xff]]^_0x2a1531[_0x474c16[_0x489178>>>0x8&0xff]]^_0x1a2ade[_0x474c16[_0x489178&0xff]];}}},'encryptBlock':function(_0xfa5334,_0x5258dd){const _0x33c047=_0x4c4fe0;this[_0x33c047(0x3a9)](_0xfa5334,_0x5258dd,this['_keySchedule'],_0x2ef000,_0x325789,_0x4d5fa8,_0x53942f,_0x474c16);},'decryptBlock':function(_0x27fda0,_0x4f0fa2){const _0x264a7b=_0x4c4fe0;var _0x548db2=_0x27fda0[_0x4f0fa2+0x1];_0x27fda0[_0x4f0fa2+0x1]=_0x27fda0[_0x4f0fa2+0x3],_0x27fda0[_0x4f0fa2+0x3]=_0x548db2,this['_doCryptBlock'](_0x27fda0,_0x4f0fa2,this[_0x264a7b(0x38b)],_0x70e12,_0x274771,_0x2a1531,_0x1a2ade,_0x28e539);var _0x548db2=_0x27fda0[_0x4f0fa2+0x1];_0x27fda0[_0x4f0fa2+0x1]=_0x27fda0[_0x4f0fa2+0x3],_0x27fda0[_0x4f0fa2+0x3]=_0x548db2;},'_doCryptBlock':function(_0x5756bf,_0x902b3f,_0x16ed47,_0x3ee82b,_0x20dc9b,_0x291396,_0x47eabb,_0x57e178){for(var _0x337fb8=this['_nRounds'],_0x21b3ed=_0x5756bf[_0x902b3f]^_0x16ed47[0x0],_0x443049=_0x5756bf[_0x902b3f+0x1]^_0x16ed47[0x1],_0x2a06c9=_0x5756bf[_0x902b3f+0x2]^_0x16ed47[0x2],_0x57affc=_0x5756bf[_0x902b3f+0x3]^_0x16ed47[0x3],_0x59e596=0x4,_0x1e35c0=0x1;_0x1e35c0<_0x337fb8;_0x1e35c0++){var _0xfde55c=_0x3ee82b[_0x21b3ed>>>0x18]^_0x20dc9b[_0x443049>>>0x10&0xff]^_0x291396[_0x2a06c9>>>0x8&0xff]^_0x47eabb[_0x57affc&0xff]^_0x16ed47[_0x59e596++],_0x3a0752=_0x3ee82b[_0x443049>>>0x18]^_0x20dc9b[_0x2a06c9>>>0x10&0xff]^_0x291396[_0x57affc>>>0x8&0xff]^_0x47eabb[_0x21b3ed&0xff]^_0x16ed47[_0x59e596++],_0x38307a=_0x3ee82b[_0x2a06c9>>>0x18]^_0x20dc9b[_0x57affc>>>0x10&0xff]^_0x291396[_0x21b3ed>>>0x8&0xff]^_0x47eabb[_0x443049&0xff]^_0x16ed47[_0x59e596++],_0x40fe89=_0x3ee82b[_0x57affc>>>0x18]^_0x20dc9b[_0x21b3ed>>>0x10&0xff]^_0x291396[_0x443049>>>0x8&0xff]^_0x47eabb[_0x2a06c9&0xff]^_0x16ed47[_0x59e596++];_0x21b3ed=_0xfde55c,_0x443049=_0x3a0752,_0x2a06c9=_0x38307a,_0x57affc=_0x40fe89;}var _0xfde55c=(_0x57e178[_0x21b3ed>>>0x18]<<0x18|_0x57e178[_0x443049>>>0x10&0xff]<<0x10|_0x57e178[_0x2a06c9>>>0x8&0xff]<<0x8|_0x57e178[_0x57affc&0xff])^_0x16ed47[_0x59e596++],_0x3a0752=(_0x57e178[_0x443049>>>0x18]<<0x18|_0x57e178[_0x2a06c9>>>0x10&0xff]<<0x10|_0x57e178[_0x57affc>>>0x8&0xff]<<0x8|_0x57e178[_0x21b3ed&0xff])^_0x16ed47[_0x59e596++],_0x38307a=(_0x57e178[_0x2a06c9>>>0x18]<<0x18|_0x57e178[_0x57affc>>>0x10&0xff]<<0x10|_0x57e178[_0x21b3ed>>>0x8&0xff]<<0x8|_0x57e178[_0x443049&0xff])^_0x16ed47[_0x59e596++],_0x40fe89=(_0x57e178[_0x57affc>>>0x18]<<0x18|_0x57e178[_0x21b3ed>>>0x10&0xff]<<0x10|_0x57e178[_0x443049>>>0x8&0xff]<<0x8|_0x57e178[_0x2a06c9&0xff])^_0x16ed47[_0x59e596++];_0x5756bf[_0x902b3f]=_0xfde55c,_0x5756bf[_0x902b3f+0x1]=_0x3a0752,_0x5756bf[_0x902b3f+0x2]=_0x38307a,_0x5756bf[_0x902b3f+0x3]=_0x40fe89;},'keySize':0x100/0x20});_0x129787[_0x4c4fe0(0x46f)]=_0x1e802f[_0x4c4fe0(0x30e)](_0x38b369);}()),_0x51f368[_0x1fab6b(0x46f)];}));}(ki));var Ka=ki[_0xc8d6e8(0x173)];const za=at(Ka);var qa=Wi();const ii=at(qa);var Gi={'exports':{}};(function(_0x237d45,_0x8c5ed){(function(_0xd0f7d1,_0x280d18){const _0x34a478=_0x284c;_0x237d45[_0x34a478(0x173)]=_0x280d18(ue());}(Z,function(_0x927a50){const _0x50be1d=_0x284c;return _0x927a50[_0x50be1d(0x1dd)][_0x50be1d(0x378)];}));}(Gi));var Xa=Gi['exports'];const Ja=at(Xa);var Yi={'exports':{}};(function(_0x5c805c,_0x5e796b){(function(_0x26d492,_0x36a000){const _0x17a4e6=_0x284c;_0x5c805c[_0x17a4e6(0x173)]=_0x36a000(ue());}(Z,function(_0x5f0788){const _0x291f79=_0x284c;return(function(){const _0x3ab91e=_0x284c;if(typeof ArrayBuffer==_0x3ab91e(0x361)){var _0x2b1a55=_0x5f0788,_0x154192=_0x2b1a55[_0x3ab91e(0x40d)],_0x21f998=_0x154192[_0x3ab91e(0x33c)],_0x3e94c0=_0x21f998[_0x3ab91e(0x293)],_0x390359=_0x21f998[_0x3ab91e(0x293)]=function(_0x5979af){const _0x6e2b10=_0x3ab91e;if(_0x5979af instanceof ArrayBuffer&&(_0x5979af=new Uint8Array(_0x5979af)),(_0x5979af instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5979af instanceof Uint8ClampedArray||_0x5979af instanceof Int16Array||_0x5979af instanceof Uint16Array||_0x5979af instanceof Int32Array||_0x5979af instanceof Uint32Array||_0x5979af instanceof Float32Array||_0x5979af instanceof Float64Array)&&(_0x5979af=new Uint8Array(_0x5979af[_0x6e2b10(0x434)],_0x5979af[_0x6e2b10(0x226)],_0x5979af[_0x6e2b10(0x519)])),_0x5979af instanceof Uint8Array){for(var _0x9cb056=_0x5979af[_0x6e2b10(0x519)],_0x489585=[],_0x8f0ecc=0x0;_0x8f0ecc<_0x9cb056;_0x8f0ecc++)_0x489585[_0x8f0ecc>>>0x2]|=_0x5979af[_0x8f0ecc]<<0x18-_0x8f0ecc%0x4*0x8;_0x3e94c0[_0x6e2b10(0x2c6)](this,_0x489585,_0x9cb056);}else _0x3e94c0['apply'](this,arguments);};_0x390359[_0x3ab91e(0x2f9)]=_0x21f998;}}()),_0x5f0788[_0x291f79(0x40d)][_0x291f79(0x33c)];}));}(Yi));var Za=Yi[_0xc8d6e8(0x173)];const Qa=at(Za);var Ki={'exports':{}};(function(_0x379be0,_0x4538bb){(function(_0x4bcccd,_0x4fe202,_0x2c8427){const _0x39133e=_0x284c;_0x379be0[_0x39133e(0x173)]=_0x4fe202(ue(),Vi());}(Z,function(_0xe279e9){const _0x29a050=_0x284c;return _0xe279e9[_0x29a050(0x13a)][_0x29a050(0x2cb)]={'pad':function(){},'unpad':function(){}},_0xe279e9[_0x29a050(0x13a)]['NoPadding'];}));}(Ki));var ec=Ki['exports'];const tc=at(ec);function sc(_0x39310f,_0x32d115){const _0x267dec=_0xc8d6e8,_0x129a6d=_0x32d115-_0x39310f[_0x267dec(0x3d5)]%_0x32d115,_0x4fb704=String[_0x267dec(0x376)](_0x129a6d)[_0x267dec(0x4fd)](_0x129a6d);return _0x39310f+_0x4fb704;}function ic(_0x5c73a8,_0xae9c67){const _0x25e3bf=_0xc8d6e8,_0x2ab456=Qa[_0x25e3bf(0x51a)](0x10),_0x4e51ce=sc(_0x5c73a8,0x10),_0x4190ab=za[_0x25e3bf(0x449)](Ja['parse'](_0x4e51ce),ii[_0x25e3bf(0x4d2)](_0xae9c67),{'iv':_0x2ab456,'padding':tc});return _0x2ab456[_0x25e3bf(0x502)](_0x4190ab[_0x25e3bf(0x38a)])[_0x25e3bf(0x41c)](ii);}function nc(){const _0x160d6a=_0xc8d6e8,_0x39cb3f=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x39cb3f){const _0x1c16f0={'time':Math[_0x160d6a(0x187)](Date[_0x160d6a(0x21f)]()/0x3e8),'domain':location['hostname']};return ic(JSON[_0x160d6a(0x306)](_0x1c16f0),_0x39cb3f);}}var rc=Object[_0xc8d6e8(0x17a)],oc=Object['getOwnPropertyDescriptor'],ac=(_0x4e29dd,_0x51aa50,_0xde1651,_0x5a06e4)=>{const _0xee51e=_0xc8d6e8;for(var _0x3980b3=_0x5a06e4>0x1?void 0x0:_0x5a06e4?oc(_0x51aa50,_0xde1651):_0x51aa50,_0x130d5b=_0x4e29dd[_0xee51e(0x3d5)]-0x1,_0xbf656c;_0x130d5b>=0x0;_0x130d5b--)(_0xbf656c=_0x4e29dd[_0x130d5b])&&(_0x3980b3=(_0x5a06e4?_0xbf656c(_0x51aa50,_0xde1651,_0x3980b3):_0xbf656c(_0x3980b3))||_0x3980b3);return _0x5a06e4&&_0x3980b3&&rc(_0x51aa50,_0xde1651,_0x3980b3),_0x3980b3;},cc=(_0x2f7cc1,_0x56ddfa)=>(_0x58fbf1,_0x1eb23a)=>_0x56ddfa(_0x58fbf1,_0x1eb23a,_0x2f7cc1);let bt=class{constructor(_0x4a060f){const _0x50e22e=_0xc8d6e8;this['_httpService']=_0x4a060f,this[_0x50e22e(0x1ce)]();}['_initRequestHeader'](){const _0x1aeba0=_0xc8d6e8;this[_0x1aeba0(0x127)][_0x1aeba0(0x231)]({'interceptor':(_0x576cb4,_0x54de6b)=>{const _0x4c3359=_0x1aeba0,_0x42b441=_0x576cb4[_0x4c3359(0x2d2)],_0x2ea67d=nc();return _0x2ea67d&&_0x42b441['set']('x-univer-host',_0x2ea67d),_0x54de6b(_0x576cb4);}});}};bt=ac([cc(0x0,_0x13f971(_0x5874d1))],bt);var hc=Object['defineProperty'],lc=Object['getOwnPropertyDescriptor'],_c=(_0x2e2d8c,_0x482699,_0x2bfa40,_0x5c483f)=>{const _0xe38f87=_0xc8d6e8;for(var _0xe77c27=_0x5c483f>0x1?void 0x0:_0x5c483f?lc(_0x482699,_0x2bfa40):_0x482699,_0x2ed8b4=_0x2e2d8c[_0xe38f87(0x3d5)]-0x1,_0x1f3df3;_0x2ed8b4>=0x0;_0x2ed8b4--)(_0x1f3df3=_0x2e2d8c[_0x2ed8b4])&&(_0xe77c27=(_0x5c483f?_0x1f3df3(_0x482699,_0x2bfa40,_0xe77c27):_0x1f3df3(_0xe77c27))||_0xe77c27);return _0x5c483f&&_0xe77c27&&hc(_0x482699,_0x2bfa40,_0xe77c27),_0xe77c27;},Xt=(_0x3968b5,_0x509d9e)=>(_0x186e89,_0x2ab36c)=>_0x509d9e(_0x186e89,_0x2ab36c,_0x3968b5);const uc=[_0xc8d6e8(0x219),'image/jpeg',_0xc8d6e8(0x2aa),_0xc8d6e8(0x31a),_0xc8d6e8(0x18e)],dc=0x5*0x400*0x400,fc=_0xc8d6e8(0x373),vc=_0xc8d6e8(0x414),mc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',pc='/universer-api/file/{fileID}/sign-url';let hs=class{constructor(_0xa7e8aa,_0x37d028,_0x9a71a4){const _0x311777=_0xc8d6e8;g(this,_0x311777(0x24a),0x0),g(this,_0x311777(0x1b6),new _0x378360()),g(this,_0x311777(0x13f),this[_0x311777(0x1b6)]),g(this,'_imageSourceCache',new Map()),(this['_httpService']=_0xa7e8aa,this['_configService']=_0x37d028,this['_univerInstanceService']=_0x9a71a4);}[_0xc8d6e8(0x4c9)](_0x4470ed){const _0x175411=_0xc8d6e8;this['_waitCount']=_0x4470ed,this['_change$'][_0x175411(0x3f0)](_0x4470ed);}[_0xc8d6e8(0x212)](_0x230790,_0x131ccd){const _0x10a93e=_0xc8d6e8;if(_0x131ccd===_0x47413a[_0x10a93e(0x26a)]){const _0x1811d8=new Image();return _0x1811d8[_0x10a93e(0x40e)]=_0x230790,_0x1811d8;}return this[_0x10a93e(0x41d)][_0x10a93e(0x2c2)](_0x230790);}[_0xc8d6e8(0x33b)](_0x491a62,_0x370141,_0x21b121){const _0x5e5718=_0xc8d6e8;_0x370141===_0x47413a['BASE64']||_0x21b121==null||this[_0x5e5718(0x41d)][_0x5e5718(0x21c)](_0x491a62,_0x21b121);}async[_0xc8d6e8(0x30a)](_0x2275e1){const _0x364080=_0xc8d6e8;try{const _0x129465=this[_0x364080(0x50c)](this[_0x364080(0x320)](),''+_0x2275e1),_0x13fc44=(await this[_0x364080(0x127)][_0x364080(0x2c2)](_0x129465))[_0x364080(0x366)];if(_0x13fc44[_0x364080(0x398)]&&_0x13fc44[_0x364080(0x398)][_0x364080(0x53e)]===Ri['OK']){const _0x48462e=new URL(_0x13fc44[_0x364080(0x532)],this['_getDownloadEndpointURL']())[_0x364080(0x41c)]();return Promise[_0x364080(0x43c)](_0x48462e);}return Promise[_0x364080(0x403)](_0x13fc44[_0x364080(0x398)]);}catch(_0x51e4cb){return Promise[_0x364080(0x403)](_0x51e4cb);}}async[_0xc8d6e8(0x4b9)](_0x31fd20){const _0x266e0c=_0xc8d6e8;let _0x32daa4='';if(!uc[_0x266e0c(0x28a)](_0x31fd20['type']))return this['_decreaseWaiting'](),Promise[_0x266e0c(0x403)](new Error(_0x12da05['ERROR_IMAGE_TYPE']));if(_0x31fd20['size']>dc)return this[_0x266e0c(0x140)](),Promise['reject'](new Error(_0x12da05[_0x266e0c(0x374)]));try{const _0x3d3f39=new FormData();_0x3d3f39[_0x266e0c(0x1e8)](_0x266e0c(0x4bd),_0x31fd20);const _0xac9ed0=this[_0x266e0c(0x2c7)][_0x266e0c(0x385)](),_0x41d268=_0xac9ed0==null?void 0x0:_0xac9ed0[_0x266e0c(0x4a7)]();if(!_0x41d268)throw new Error(_0x266e0c(0x289));const _0x347a0=this[_0x266e0c(0x324)]()+'?size='+_0x31fd20['size']['toString']()+_0x266e0c(0x3b4)+Oi[_0x266e0c(0x175)]+_0x266e0c(0x35d)+encodeURIComponent(_0x41d268),_0x4b2e80=await(await fetch(_0x347a0,{'method':_0x266e0c(0x25f),'body':_0x3d3f39}))[_0x266e0c(0x400)]();if(typeof _0x4b2e80['FileId']!=_0x266e0c(0x155))return this[_0x266e0c(0x140)](),Promise[_0x266e0c(0x403)](new Error(_0x12da05[_0x266e0c(0x47b)]));_0x32daa4=_0x4b2e80[_0x266e0c(0x445)];}catch{return this['_decreaseWaiting'](),Promise[_0x266e0c(0x403)](new Error(_0x12da05[_0x266e0c(0x47b)]));}return new Promise((_0x20776f,_0x18c40)=>{const _0x54b261=_0x266e0c,_0x28fbb7=new FileReader();_0x28fbb7[_0x54b261(0x482)](_0x31fd20),_0x28fbb7[_0x54b261(0x36e)]=_0x151b1a=>{const _0x49e066=_0x54b261;var _0xf00b9f;const _0x1c5daf=(_0xf00b9f=_0x151b1a[_0x49e066(0x33a)])==null?void 0x0:_0xf00b9f['result'];if(_0x1c5daf==null){this[_0x49e066(0x140)](),_0x18c40(new Error(_0x12da05[_0x49e066(0x47b)]));return;}const _0x1f2001=_0x4ef2fc[_0x49e066(0x347)](0x6);_0x20776f({'imageId':_0x1f2001,'imageSourceType':_0x47413a[_0x49e066(0x513)],'source':_0x32daa4,'base64Cache':_0x1c5daf,'status':_0x12da05[_0x49e066(0x46b)]}),this[_0x49e066(0x140)]();};});}[_0xc8d6e8(0x324)](){const _0x3399d0=_0xc8d6e8;var _0x48aa04,_0x4ca3f3;const _0x58a1ca=this[_0x3399d0(0x23d)][_0x3399d0(0x2ac)](fc),_0x58f883=this[_0x3399d0(0x23d)]['getConfig'](te);return(_0x4ca3f3=(_0x48aa04=_0x58f883==null?void 0x0:_0x58f883[_0x3399d0(0x138)])!=null?_0x48aa04:_0x58a1ca)!=null?_0x4ca3f3:vc;}[_0xc8d6e8(0x320)](){const _0x14f1c3=_0xc8d6e8;var _0x8fa2bc,_0x19e23a;const _0x33ce0e=this[_0x14f1c3(0x23d)][_0x14f1c3(0x2ac)](mc),_0x1b5b5d=this[_0x14f1c3(0x23d)][_0x14f1c3(0x2ac)](te);return(_0x19e23a=(_0x8fa2bc=_0x1b5b5d==null?void 0x0:_0x1b5b5d[_0x14f1c3(0x225)])!=null?_0x8fa2bc:_0x33ce0e)!=null?_0x19e23a:pc;}[_0xc8d6e8(0x4ff)](){const _0x4af873=_0xc8d6e8;var _0x1b999b;const _0x18704d=this['_configService'][_0x4af873(0x2ac)](te);return(_0x1b999b=_0x18704d==null?void 0x0:_0x18704d['downloadEndpointUrl'])!=null?_0x1b999b:location['origin'];}[_0xc8d6e8(0x50c)](_0x4821e7,_0x4ea695){const _0xa25ca6=_0xc8d6e8;return _0x4821e7['replace'](_0xa25ca6(0x4f0),_0x4ea695);}[_0xc8d6e8(0x140)](){const _0x2c4462=_0xc8d6e8;this[_0x2c4462(0x24a)]-=0x1,this[_0x2c4462(0x1b6)][_0x2c4462(0x3f0)](this[_0x2c4462(0x24a)]);}};hs=_c([Xt(0x0,_0x13f971(_0x5874d1)),Xt(0x1,_0x450caa),Xt(0x2,_0x13f971(_0x2ddd21))],hs);var gc=Object[_0xc8d6e8(0x17a)],Sc=Object['getOwnPropertyDescriptor'],Ic=(_0x39e254,_0x2ef3ac,_0x442a7f,_0x252ebe)=>{const _0x18bce1=_0xc8d6e8;for(var _0x346f70=_0x252ebe>0x1?void 0x0:_0x252ebe?Sc(_0x2ef3ac,_0x442a7f):_0x2ef3ac,_0x16381f=_0x39e254[_0x18bce1(0x3d5)]-0x1,_0x4fcce1;_0x16381f>=0x0;_0x16381f--)(_0x4fcce1=_0x39e254[_0x16381f])&&(_0x346f70=(_0x252ebe?_0x4fcce1(_0x2ef3ac,_0x442a7f,_0x346f70):_0x4fcce1(_0x346f70))||_0x346f70);return _0x252ebe&&_0x346f70&&gc(_0x2ef3ac,_0x442a7f,_0x346f70),_0x346f70;},Qe=(_0x30c644,_0x23209d)=>(_0x53d32b,_0x2a2954)=>_0x23209d(_0x53d32b,_0x2a2954,_0x30c644);let Tt=class extends _0x2ea33c{constructor(_0x37e337,_0x4c1263,_0x1714a4,_0x146eae,_0x3ce10c){const _0x124b50=_0xc8d6e8;super(),this[_0x124b50(0x360)]=_0x37e337,this[_0x124b50(0x2c7)]=_0x4c1263,this[_0x124b50(0x4f3)]=_0x1714a4,this[_0x124b50(0x485)]=_0x146eae,this[_0x124b50(0x255)]=_0x3ce10c,this[_0x124b50(0x206)](),this['_initCloseConn']();}[_0xc8d6e8(0x1d4)](){const _0x5ed6f1=_0xc8d6e8,_0x4336e4=async _0xe3d30b=>{const _0x3fb0d8=_0x284c;(await this[_0x3fb0d8(0x485)][_0x3fb0d8(0x392)](_0xe3d30b))[_0x3fb0d8(0x157)][_0x3fb0d8(0x236)](_0x474f16(_0x5422bf=>_0x5422bf[_0x3fb0d8(0x411)]===_0x275148[_0x3fb0d8(0x4bc)]),_0x4d3dd9(this['dispose$']))[_0x3fb0d8(0x1ed)](_0x426226=>{const _0xd8a68f=_0x3fb0d8,_0x1c8cb7=_0x426226,{reason:_0x284404}=_0x1c8cb7['data'];this[_0xd8a68f(0x360)]['get'](_0x1902d3)[_0xd8a68f(0x339)]({'type':_0x49b044[_0xd8a68f(0x394)],'content':this[_0xd8a68f(0x255)]['t'](_0xd8a68f(0x3c8))+'('+_0x284404+')'}),this[_0xd8a68f(0x4f3)][_0xd8a68f(0x23e)](new _0x945e06(_0xe3d30b)['id'],!0x1),this[_0xd8a68f(0x485)][_0xd8a68f(0x314)](_0xe3d30b);});};_0x88f83c(this['_univerInstanceService'][_0x5ed6f1(0x1df)](_0x4f645a[_0x5ed6f1(0x50a)]),this[_0x5ed6f1(0x2c7)]['getTypeOfUnitAdded$'](_0x4f645a[_0x5ed6f1(0x3c7)]))[_0x5ed6f1(0x236)](_0x38f68a(_0x23fa2f=>_0x23fa2f[_0x5ed6f1(0x4a7)]()),_0x474f16(_0x54a878=>!_0xf31c8(_0x54a878)),_0x4d3dd9(this[_0x5ed6f1(0x191)]))[_0x5ed6f1(0x1ed)](_0x10b689=>{_0x4336e4(_0x10b689);});}[_0xc8d6e8(0x206)](){const _0x1941b5=_0xc8d6e8,_0x8c5321=async _0x3e4f5c=>{const _0x10e418=_0x284c;(await this[_0x10e418(0x485)][_0x10e418(0x392)](_0x3e4f5c))[_0x10e418(0x157)][_0x10e418(0x236)](_0x474f16(_0x373378=>_0x373378['eventID']===_0x275148['UPDATE_PERMISSION_OBJ']),_0x4d3dd9(this['dispose$']))[_0x10e418(0x1ed)](_0x1742b5=>{const _0x287a92=_0x10e418,_0x3e704=_0x1742b5,{objectId:_0x19f41e}=_0x3e704[_0x287a92(0x464)],_0x4f0abc=this[_0x287a92(0x360)][_0x287a92(0x2c2)](_0x3439c1);_0x19f41e===_0x3e4f5c?_0x4f0abc['initWorkbookPermissionChange'](_0x3e4f5c):_0x4f0abc[_0x287a92(0x335)](_0x3e4f5c,_0x19f41e);});};_0x88f83c(this[_0x1941b5(0x2c7)][_0x1941b5(0x1df)](_0x4f645a['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4f645a[_0x1941b5(0x3c7)]))['pipe'](_0x38f68a(_0x24b720=>_0x24b720[_0x1941b5(0x4a7)]()),_0x474f16(_0x5ae72b=>!_0xf31c8(_0x5ae72b)),_0x4d3dd9(this[_0x1941b5(0x191)]))[_0x1941b5(0x1ed)](_0x486e54=>{_0x8c5321(_0x486e54);});}};Tt=Ic([Qe(0x0,_0x13f971(_0x20e5db)),Qe(0x1,_0x2ddd21),Qe(0x2,_0x1306a2),Qe(0x3,_0x13f971(xe)),Qe(0x4,_0x13f971(_0x8037c0))],Tt);var Cc=Object[_0xc8d6e8(0x17a)],Ec=Object[_0xc8d6e8(0x4d8)],bc=(_0x16f3f,_0x11bfdc,_0x26b559,_0x1605af)=>{for(var _0x1a46ae=_0x1605af>0x1?void 0x0:_0x1605af?Ec(_0x11bfdc,_0x26b559):_0x11bfdc,_0xa316af=_0x16f3f['length']-0x1,_0x17922a;_0xa316af>=0x0;_0xa316af--)(_0x17922a=_0x16f3f[_0xa316af])&&(_0x1a46ae=(_0x1605af?_0x17922a(_0x11bfdc,_0x26b559,_0x1a46ae):_0x17922a(_0x1a46ae))||_0x1a46ae);return _0x1605af&&_0x1a46ae&&Cc(_0x11bfdc,_0x26b559,_0x1a46ae),_0x1a46ae;},ni=(_0x5d665a,_0x5bfd57)=>(_0x245b7d,_0x25b0b7)=>_0x5bfd57(_0x245b7d,_0x25b0b7,_0x5d665a);let ls=class{constructor(_0xa330f3,_0x5c3ae5){const _0x6ff5f9=_0xc8d6e8;this[_0x6ff5f9(0x23d)]=_0xa330f3,this['_httpService']=_0x5c3ae5;}async['getUnitOnRev'](_0x546ea1,_0x599821){const _0x45c8d1=_0xc8d6e8;var _0x538e99;const {unitID:_0x1a0ca5,type:_0x147a85,revision:_0x2210cf=0x0}=_0x599821,_0x496a5d=this['_getSnapshotAPIPrefix']()+'/'+_0x147a85+_0x45c8d1(0x2eb)+_0x1a0ca5+_0x45c8d1(0x40a)+_0x2210cf,_0x10b5af=(await this['_httpService'][_0x45c8d1(0x2c2)](_0x496a5d))[_0x45c8d1(0x366)],_0xd84390=(_0x538e99=_0x10b5af[_0x45c8d1(0x25a)])==null?void 0x0:_0x538e99[_0x45c8d1(0x533)];if(_0xd84390){const _0x53475a=_0xd84390==null?void 0x0:_0xd84390[_0x45c8d1(0x28f)],_0x1196c6=_0x194d7a['encode'](_0x5b63d7(_0x53475a));_0xd84390['originalMeta']=_0x1196c6,Object[_0x45c8d1(0x35c)](_0xd84390['sheets'])['forEach'](([,_0x5440e8])=>{const _0x35694a=_0x45c8d1,_0x55da50=_0x5440e8[_0x35694a(0x28f)],_0x4a1eb0=_0x194d7a[_0x35694a(0x4f6)](_0x5b63d7(_0x55da50));_0x5440e8[_0x35694a(0x28f)]=_0x4a1eb0;});}return _0x10b5af;}async[_0xc8d6e8(0x2ee)](_0x3f73c7,_0x3430a0){const _0x520328=_0xc8d6e8,{unitID:_0x11b134,type:_0x59be85,blockID:_0x577fac}=_0x3430a0,_0x16080e=this['_getAPIPrefix']()+'/'+_0x59be85+_0x520328(0x2eb)+_0x11b134+_0x520328(0x1aa)+_0x577fac;return(await this['_httpService'][_0x520328(0x2c2)](_0x16080e))['body'];}async[_0xc8d6e8(0x3dc)](_0x3e0bea,_0x6f50bc){const _0x20c1d6=_0xc8d6e8,{unitID:_0x416f62,type:_0x571af9,blockID:_0x477fb2}=_0x6f50bc,_0x3b520e=this['_getAPIPrefix']()+_0x20c1d6(0x1aa)+_0x571af9+'/unit/'+_0x416f62+_0x20c1d6(0x1aa)+_0x477fb2;return(await this[_0x20c1d6(0x127)]['get'](_0x3b520e))[_0x20c1d6(0x366)];}async[_0xc8d6e8(0x3c2)](_0x3812ba,_0x24a179){const _0x4164f7=_0xc8d6e8,{unitID:_0x239cd8,type:_0x141b99,from:_0x5aabe7,to:_0x3d2a74}=_0x24a179,_0x4303c3=this['_getAPIPrefix']()+'/'+_0x141b99+_0x4164f7(0x2eb)+_0x239cd8+_0x4164f7(0x372)+_0x5aabe7+_0x4164f7(0x49e)+_0x3d2a74;return(await this['_httpService']['get'](_0x4303c3))[_0x4164f7(0x366)];}[_0xc8d6e8(0x51b)](){const _0xdb26a1=_0xc8d6e8;var _0x2f3d89;return(_0x2f3d89=this[_0xdb26a1(0x23d)][_0xdb26a1(0x2ac)](lr))!=null?_0x2f3d89:this['_getAPIPrefix']();}[_0xc8d6e8(0x242)](){const _0x3a4f4d=_0xc8d6e8;var _0x636df5,_0x58dde6;const _0x25bf98=this[_0x3a4f4d(0x23d)][_0x3a4f4d(0x2ac)](cr),_0x52a644=this['_configService'][_0x3a4f4d(0x2ac)](te);return(_0x58dde6=(_0x636df5=_0x52a644==null?void 0x0:_0x52a644['snapshotServerUrl'])!=null?_0x636df5:_0x25bf98)!=null?_0x58dde6:hr;}async['getResourcesRequest'](_0x430142,_0xc3fbe1){const _0x56580f=_0xc8d6e8,_0x2431cf=_0x56580f(0x481)+_0xc3fbe1[_0x56580f(0x4aa)]+'/unit/'+_0xc3fbe1[_0x56580f(0x17c)]+_0x56580f(0x2fe);return(await this[_0x56580f(0x127)][_0x56580f(0x2c2)](_0x2431cf,{'params':{'resourceId':JSON[_0x56580f(0x306)](_0xc3fbe1['resourceIDs'])}}))[_0x56580f(0x366)];}[_0xc8d6e8(0x338)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xc8d6e8(0x220)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xc8d6e8(0x201)](){const _0x3e3b11=_0xc8d6e8;throw new Error(_0x3e3b11(0x425));}[_0xc8d6e8(0x14b)](){const _0x342789=_0xc8d6e8;throw new Error(_0x342789(0x425));}['getLatestCsReqIdBySid'](){const _0x542c8c=_0xc8d6e8;throw new Error(_0x542c8c(0x425));}};ls=bc([ni(0x0,_0x450caa),ni(0x1,_0x13f971(_0x5874d1))],ls);var Tc=Object[_0xc8d6e8(0x17a)],Rc=Object[_0xc8d6e8(0x4d8)],Oc=(_0x224345,_0x44c5ae,_0x56f34,_0x12acc5)=>{for(var _0x2e9a22=_0x12acc5>0x1?void 0x0:_0x12acc5?Rc(_0x44c5ae,_0x56f34):_0x44c5ae,_0x3a04d4=_0x224345['length']-0x1,_0x10402e;_0x3a04d4>=0x0;_0x3a04d4--)(_0x10402e=_0x224345[_0x3a04d4])&&(_0x2e9a22=(_0x12acc5?_0x10402e(_0x44c5ae,_0x56f34,_0x2e9a22):_0x10402e(_0x2e9a22))||_0x2e9a22);return _0x12acc5&&_0x2e9a22&&Tc(_0x44c5ae,_0x56f34,_0x2e9a22),_0x2e9a22;},et=(_0xcf02f,_0x4f48ee)=>(_0x38bf6c,_0x5c4a9a)=>_0x4f48ee(_0x38bf6c,_0x5c4a9a,_0xcf02f);let _s=class extends _0x44ea44{constructor(_0x52474b,_0x297eba,_0x252656,_0x712d51,_0x1309e6){const _0x46e314=_0xc8d6e8;super(_0x52474b,_0x297eba,_0x252656),this[_0x46e314(0x196)]=_0x712d51,this[_0x46e314(0x355)]=_0x1309e6;}[_0xc8d6e8(0x1be)](_0x1d035f,_0x22f455){const _0x354191=_0xc8d6e8,_0x565e9f=this[_0x354191(0x344)](_0x1d035f);if(_0x565e9f)try{const _0x2bb878=this['_transformStack'](_0x565e9f,_0x22f455);this[_0x354191(0x13e)](_0x1d035f,_0x2bb878);}catch(_0x109843){this[_0x354191(0x355)][_0x354191(0x398)](_0x354191(0x239),_0x109843),this[_0x354191(0x3c3)](_0x1d035f);}const _0x1cceee=this[_0x354191(0x395)](_0x1d035f);if(_0x1cceee)try{const _0xc4968d=this[_0x354191(0x4c4)](_0x1cceee,_0x22f455);this[_0x354191(0x337)](_0x1d035f,_0xc4968d);}catch(_0x4173d8){this[_0x354191(0x355)][_0x354191(0x398)](_0x4173d8),this[_0x354191(0x418)](_0x1d035f);}}['_clearUndo'](_0x2a9338){const _0x19cc57=_0xc8d6e8,_0xa76e36=this['_getUndoStack'](_0x2a9338);_0xa76e36&&(_0xa76e36[_0x19cc57(0x3d5)]=0x0,this['_updateStatus']());}[_0xc8d6e8(0x418)](_0x3ce857){const _0x5680df=_0xc8d6e8,_0x3f4df1=this[_0x5680df(0x395)](_0x3ce857);_0x3f4df1&&(_0x3f4df1[_0x5680df(0x3d5)]=0x0,this[_0x5680df(0x328)]());}[_0xc8d6e8(0x13e)](_0x4e074c,_0x101f8d){const _0x1c9ea2=_0xc8d6e8;this[_0x1c9ea2(0x29d)]['set'](_0x4e074c,_0x101f8d),this['_updateStatus']();}['_substituteRedoStack'](_0x211d71,_0x530b0c){const _0x5ab2b8=_0xc8d6e8;this[_0x5ab2b8(0x53d)]['set'](_0x211d71,_0x530b0c),this['_updateStatus']();}[_0xc8d6e8(0x4c4)](_0x392298,_0xfc46fe){const _0x1acbc5=_0xc8d6e8,_0x58cf24=[];let _0x3bad68=_0xfc46fe,_0x5f3c20=_0xfc46fe;for(let _0x695930=_0x392298[_0x1acbc5(0x3d5)]-0x1;_0x695930>=0x0;_0x695930--){const {unitID:_0x2c432a,undoMutations:_0x4ad54d,redoMutations:_0x279a86}=_0x392298[_0x695930],_0x914a06=this[_0x1acbc5(0x196)]['transformMutationsWithChangeset'](_0x3bad68,_0x4ad54d),_0x361e24=this[_0x1acbc5(0x196)]['transformMutationsWithChangeset'](_0x5f3c20,_0x279a86);if(_0x434de5(_0x914a06)||_0x434de5(_0x361e24)){this[_0x1acbc5(0x355)][_0x1acbc5(0x398)]('[CollaborationUndoRedoService]',_0x1acbc5(0x2ae),_0x914a06,_0x361e24);break;}_0x3bad68=_0x914a06[_0x1acbc5(0x1ba)],_0x5f3c20=_0x361e24[_0x1acbc5(0x1ba)],_0x58cf24[_0x1acbc5(0x183)]({'unitID':_0x2c432a,'undoMutations':_0x914a06['m2Prime'],'redoMutations':_0x361e24[_0x1acbc5(0x535)]});}return _0x58cf24[_0x1acbc5(0x51e)]();}};_s=Oc([et(0x0,_0x2ddd21),et(0x1,_0x4171ed),et(0x2,_0x295091),et(0x3,_0x59efa9),et(0x4,_0x410e45)],_s);class yc extends _0x2ea33c{constructor(){const _0x3a9646=_0xc8d6e8;super(),g(this,_0x3a9646(0x32e)),this[_0x3a9646(0x32e)]=_0x4ee00c(window,_0x3a9646(0x301))[_0x3a9646(0x236)](_0x6a5096(this['dispose$']),_0x207368(0x1),_0x35afd6(void 0x0));}[_0xc8d6e8(0x33f)](_0x3f2983,_0x9ca9cc,_0x38b6f9=!0x1){const _0x13ce18=_0xc8d6e8,_0x4d9a34=new URL(window[_0x13ce18(0x507)]['href']);_0x4d9a34['searchParams'][_0x13ce18(0x21c)](_0x3f2983,_0x9ca9cc),_0x38b6f9?window[_0x13ce18(0x37d)][_0x13ce18(0x18a)]('','',_0x4d9a34[_0x13ce18(0x41c)]()):window['history'][_0x13ce18(0x1ea)]('','',_0x4d9a34['toString']());}[_0xc8d6e8(0x422)](_0xcff43a,_0x472edd=!0x1){const _0x207223=_0xc8d6e8,_0xf9a5ba=new URL(window[_0x207223(0x507)][_0x207223(0x30f)]);_0xf9a5ba[_0x207223(0x12c)][_0x207223(0x2b0)](_0xcff43a),_0x472edd?window[_0x207223(0x37d)][_0x207223(0x18a)]('','',_0xf9a5ba[_0x207223(0x41c)]()):window[_0x207223(0x37d)][_0x207223(0x1ea)]('','',_0xf9a5ba[_0x207223(0x41c)]());}[_0xc8d6e8(0x311)](_0x5d32bc){const _0x5644dd=_0xc8d6e8;var _0x5fa6c5;return(_0x5fa6c5=new URL(window[_0x5644dd(0x507)]['href'])[_0x5644dd(0x12c)]['get'](_0x5d32bc))!=null?_0x5fa6c5:void 0x0;}}var zi=Object['defineProperty'],wc=Object['getOwnPropertyDescriptor'],Dc=(_0x105733,_0x1c892d,_0xfac924)=>_0x1c892d in _0x105733?zi(_0x105733,_0x1c892d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfac924}):_0x105733[_0x1c892d]=_0xfac924,Pc=(_0x4caeda,_0x2a8318,_0x433ea8,_0x487391)=>{const _0x4cd4f6=_0xc8d6e8;for(var _0x3c7920=_0x487391>0x1?void 0x0:_0x487391?wc(_0x2a8318,_0x433ea8):_0x2a8318,_0x160b11=_0x4caeda[_0x4cd4f6(0x3d5)]-0x1,_0x88323b;_0x160b11>=0x0;_0x160b11--)(_0x88323b=_0x4caeda[_0x160b11])&&(_0x3c7920=(_0x487391?_0x88323b(_0x2a8318,_0x433ea8,_0x3c7920):_0x88323b(_0x3c7920))||_0x3c7920);return _0x487391&&_0x3c7920&&zi(_0x2a8318,_0x433ea8,_0x3c7920),_0x3c7920;},lt=(_0x5485b3,_0x24b818)=>(_0x294f53,_0x172732)=>_0x24b818(_0x294f53,_0x172732,_0x5485b3),Uc=(_0xbeaee6,_0x3d53fd,_0x1add88)=>Dc(_0xbeaee6,_0x3d53fd+'',_0x1add88);const Nc=_0xc8d6e8(0x487);let us=class extends _0x1ec059{constructor(_0x5e1aff=Or,_0x1c2d04,_0x47bcd6,_0x58368f,_0x53b738){const _0x2cb5cf=_0xc8d6e8;super(),this['_config']=_0x5e1aff,this[_0x2cb5cf(0x355)]=_0x1c2d04,this[_0x2cb5cf(0x3ce)]=_0x47bcd6,this[_0x2cb5cf(0x360)]=_0x58368f,this['_configService']=_0x53b738;const {..._0x4831f3}=this[_0x2cb5cf(0x24d)];this[_0x2cb5cf(0x23d)][_0x2cb5cf(0x346)](te,_0x4831f3);}['onStarting'](){const _0x46de80=_0xc8d6e8;this[_0x46de80(0x454)](),this[_0x46de80(0x305)]();}[_0xc8d6e8(0x323)](){const _0x3a836d=_0xc8d6e8;_0x2d98b1(this[_0x3a836d(0x360)],[[Ct]]);}[_0xc8d6e8(0x1a8)](){const _0x1ff4ac=_0xc8d6e8;this[_0x1ff4ac(0x22b)]();}[_0xc8d6e8(0x454)](){const _0x8c6820=_0xc8d6e8;var _0x49b188,_0x887d4e,_0x3077be,_0x3064ca;this[_0x8c6820(0x360)][_0x8c6820(0x3eb)](_0x2925fd)&&this[_0x8c6820(0x355)]['error'](_0x8c6820(0x2d6),_0x8c6820(0x3cb));const _0xf4cd96=[[_0x2925fd,{'useClass':_s}],[xe],[bs],[Bi,{'useClass':yc}],[Me],[q],[_0x338344],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[yi,{'useClass':(_0x887d4e=(_0x49b188=this[_0x8c6820(0x24d)])==null?void 0x0:_0x49b188['socketService'])!=null?_0x887d4e:es}],[_0x3701ce,{'useClass':ls}],[_0xf062e,{'useClass':cs}],[_0x362557,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x3077be=this[_0x8c6820(0x24d)])!=null&&_0x3077be[_0x8c6820(0x470)]&&_0xf4cd96[_0x8c6820(0x183)]([Rt,{'useClass':oo}]),_0x366bdc(this[_0x8c6820(0x360)],_0x439703(_0xf4cd96,(_0x3064ca=this[_0x8c6820(0x24d)])==null?void 0x0:_0x3064ca[_0x8c6820(0x1c2)]));}['_registerRenderDependencies'](){const _0x4260d3=_0xc8d6e8;this[_0x4260d3(0x43e)](this[_0x4260d3(0x3ce)][_0x4260d3(0x170)](_0x4f645a[_0x4260d3(0x3c7)],[os])),this[_0x4260d3(0x43e)](this['_renderManagerService'][_0x4260d3(0x170)](_0x4f645a['UNIVER_SHEET'],[as]));}[_0xc8d6e8(0x305)](){const _0x49f3fb=_0xc8d6e8;var _0x3fa9fe,_0x4b444c;this[_0x49f3fb(0x360)][_0x49f3fb(0x2c2)](_0x5874d1)[_0x49f3fb(0x231)]({'priority':0x14,'interceptor':_0x5af1b4({'maxParallel':0x6})}),(_0x3fa9fe=this[_0x49f3fb(0x24d)])!=null&&_0x3fa9fe[_0x49f3fb(0x47a)]||this[_0x49f3fb(0x360)][_0x49f3fb(0x2c2)](q)['disableLocalCache'](),(_0x4b444c=this[_0x49f3fb(0x24d)])!=null&&_0x4b444c['enableAuthServer']&&_0x2d98b1(this[_0x49f3fb(0x360)],[[Et]]),_0x2d98b1(this['_injector'],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Uc(us,_0xc8d6e8(0x28b),Nc),us=Pc([_0x13bf02(_0x3b7cf5,_0x2c8070),lt(0x1,_0x410e45),lt(0x2,_0x272410),lt(0x3,_0x13f971(_0x20e5db)),lt(0x4,_0x450caa)],us);export{ka as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Er as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,xe as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ea as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,vr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,yi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Ir as LOCAL_CACHE_INTERVAL_KEY,Tr as LOGIN_URL_KEY,q as LocalCacheService,Me as MemberService,gr as RETRY_CONNECTING_MAX_COUNT_KEY,Jc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Jo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,wr as serializeCombRequest};