@univerjs-pro/collaboration-client 0.5.0-nightly.202411101605 → 0.5.0-nightly.202411120616

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 _0x3f2ec9=_0x1414;(function(_0xeaa943,_0x4c2336){const _0x4663f7=_0x1414,_0x37648a=_0xeaa943();while(!![]){try{const _0x37d7ca=parseInt(_0x4663f7(0x4f8))/0x1+-parseInt(_0x4663f7(0x209))/0x2+-parseInt(_0x4663f7(0x520))/0x3*(parseInt(_0x4663f7(0x518))/0x4)+-parseInt(_0x4663f7(0x22b))/0x5+-parseInt(_0x4663f7(0x30f))/0x6+-parseInt(_0x4663f7(0x265))/0x7*(parseInt(_0x4663f7(0x4e0))/0x8)+-parseInt(_0x4663f7(0x331))/0x9*(-parseInt(_0x4663f7(0x451))/0xa);if(_0x37d7ca===_0x4c2336)break;else _0x37648a['push'](_0x37648a['shift']());}catch(_0x1a46bb){_0x37648a['push'](_0x37648a['shift']());}}}(_0x27e6,0xc0b69));var qi=Object['defineProperty'],Xi=(_0x38ba27,_0x87cc08,_0x4c9d84)=>_0x87cc08 in _0x38ba27?qi(_0x38ba27,_0x87cc08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c9d84}):_0x38ba27[_0x87cc08]=_0x4c9d84,g=(_0x102499,_0x1f0d00,_0x520c11)=>Xi(_0x102499,typeof _0x1f0d00!=_0x3f2ec9(0x3c1)?_0x1f0d00+'':_0x1f0d00,_0x520c11);import{createIdentifier as _0x229333,Inject as _0x127ed5,Disposable as _0x4bee31,DisposableCollection as _0x133ebf,toDisposable as _0x5d23c9,IConfigService as _0x5293d7,ILogService as _0x2a6a1c,UserManagerService as _0x2c4acc,UniverInstanceType as _0x1a8690,IUniverInstanceService as _0x4c4975,LocaleService as _0x4d6b84,Optional as _0x5c4d06,RxDisposable as _0x404743,Injector as _0x846a04,Tools as _0x109dec,ILocalStorageService as _0x249ce2,Rectangle as _0x4460be,ICommandService as _0x49a021,DOC_RANGE_TYPE as _0x5dc937,JSONX as _0x29a830,CommandType as _0x2597e7,IPermissionService as _0x178a2e,IUndoRedoService as _0x42df5e,sequenceExecute as _0x5e47e9,debounce as _0x58d671,COLORS as _0xc90d79,ColorKit as _0x1d6dd2,ThemeService as _0x164d1f,fromEventSubject as _0x132b42,useDependency as _0x167d10,connectInjector as _0x26398f,Workbook as _0x17fe54,isInternalEditorID as _0x93faba,LocalUndoRedoService as _0x568c65,IContextService as _0x4f5466,DependentOn as _0x5d40c8,Plugin as _0x2dcc71,touchDependencies as _0x1ab21b,IAuthzIoService as _0x491f3b,registerDependencies as _0x199895,mergeOverrideWithDependencies as _0x14a5de}from'@univerjs/core';import{Subject as _0xf004ca,merge as _0x54a5bf,takeUntil as _0x54e638,BehaviorSubject as _0x286de7,distinctUntilChanged as _0x585caa,fromEvent as _0x61e8c9,ReplaySubject as _0x49284b,take as _0x1f972f,map as _0xfcb617,shareReplay as _0xdc22d3,of as _0x2a9475,debounceTime as _0xa82325,filter as _0x33100e,switchMap as _0x20c82a,combineLatest as _0xf1dda2,concatMap as _0x2062d4,mapTo as _0x533c60}from'rxjs';import{map as _0x4f8f29,take as _0xe36e8c,filter as _0x2d77f8,delay as _0x1882f0,throttleTime as _0x102e6d,takeUntil as _0x40998a,switchMap as _0x39728f}from'rxjs/operators';import{MessageType as _0x196a0e,Tooltip as _0x175b19}from'@univerjs/design';import{IBeforeCloseService as _0x42b0b0,IMessageService as _0x79bb7b,INotificationService as _0x3a3e53,useObservable as _0x458a38,BuiltInUIPart as _0x290b7d,IUIPartsService as _0x38c0b8}from'@univerjs/ui';import{HTTPService as _0x1d93b0,WebSocketService as _0x18b495,MergeInterceptorFactory as _0x1dbafd,HTTPRequest as _0x651888,UniverNetworkPlugin as _0x291685,ThresholdInterceptorFactory as _0x527fac}from'@univerjs/network';import{CollaborationEvent as _0x371f1e,parseChangesetToProtocol as _0x125e13,ISnapshotServerService as _0x32dd62,isTransformMutationFailure as _0x1d55d1,isTransformMutationsWithChangesetSuccess as _0x678508,ITransformService as _0x1ba0e0,RevisionService as _0x5633d8,mapDocumentTypeToUniverType as _0x54ef7c,isTransformChangesetsSuccess as _0x213587,CompressMutationService as _0x2e95e0,parseProtocolChangeset as _0x39ab7f,SnapshotService as _0x155fc0,textEncoder as _0x1f0543,b64DecodeUnicode as _0x56d3fc,isTransformMutationsWithChangesetFailure as _0x1fb670,UniverCollaborationPlugin as _0x33b951}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5a864f}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x467f19,DocStateChangeManagerService as _0x2813e4,NodePositionConvertToCursor as _0x17e8b6,NodePositionConvertToRectRange as _0x4753f0,TEXT_RANGE_LAYER_INDEX as _0x31dbf7,SetDocZoomRatioOperation as _0x5456c4}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3c5a27,SetSelectionsOperation as _0x57bc2c,InsertSheetMutation as _0x43bbdd,EmptyMutation as _0x181cd4,WorkbookEditablePermission as _0x4ea9fe,RefRangeService as _0x4ded6e,EffectRefRangId as _0x28cf41,handleIRemoveRow as _0x3a8c75,handleIRemoveCol as _0xf4c67b,handleMoveRange as _0x4a2b4b,handleInsertRow as _0x4b6f8f,handleInsertRangeMoveRight as _0x2f62b8,handleInsertRangeMoveDown as _0x36d87a,handleInsertCol as _0xcfcaf1,handleDeleteRangeMoveUp as _0x5272d2,handleDeleteRangeMoveLeft as _0x4fca05,runRefRangeMutations as _0x5c5021,SetWorksheetActivateCommand as _0x1942c4}from'@univerjs/sheets';import{IRenderManagerService as _0x249704,Shape as _0x53dc57,Rect as _0xe2e41c,getColor as _0xa01f1e,RegularPolygon as _0x5d55f4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4b2d3b,Vector2 as _0x4ad19}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x36c4dd,RichTextEditingMutation as _0x6aa10a,SetTextSelectionsOperation as _0x14c8d9,DocSkeletonManagerService as _0x8b6d29}from'@univerjs/docs';import{ImageSourceType as _0x9e0632,ImageUploadStatusType as _0x4bc378,IImageIoService as _0x52bb2a}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x583805,serializeRangeWithSheet as _0x874bec}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x51efae,VIEWPORT_KEY as _0x32c443,getCoordByCell as _0x216880,getSheetObject as _0x37efe0,SheetPermissionInitController as _0x7d20a1}from'@univerjs/sheets-ui';import _0x24121a,{forwardRef as _0x2f556d,useRef as _0x12decf,createElement as _0x3acef7,useCallback as _0x44f3c3}from'react';import{IRemoteInstanceService as _0xa1253}from'@univerjs/rpc';const cr='SNAPSHOT_SERVER_URL_KEY',hr=_0x3f2ec9(0x3eb),lr=_0x3f2ec9(0x48f),Xc=_0x3f2ec9(0x226),_r=0x7d0,ur=_0x3f2ec9(0x2b1),dr=_0x3f2ec9(0x583),fr='HEARTBEAT_INTERVAL',vr=0x7530,bi=_0x3f2ec9(0x3d0),Ti=0x4e20,mr=0x4e20,pr=_0x3f2ec9(0x1c9),gr=0x3,Sr=_0x3f2ec9(0x50c),Ir=0x3e8,Cr='COLLAB_SUBMIT_CHANGESET_URL',Er=_0x3f2ec9(0x493),br=_0x3f2ec9(0x2e5),Tr=_0x3f2ec9(0x28e);var Ri=(_0x5f250d=>(_0x5f250d[_0x5f250d['UNDEFINED']=0x0]=_0x3f2ec9(0x1df),_0x5f250d[_0x5f250d['OK']=0x1]='OK',_0x5f250d[_0x5f250d[_0x3f2ec9(0x407)]=0x2]=_0x3f2ec9(0x407),_0x5f250d[_0x5f250d['PERMISSION_DENIED']=0x3]=_0x3f2ec9(0x211),_0x5f250d[_0x5f250d[_0x3f2ec9(0x4d6)]=0x4]=_0x3f2ec9(0x4d6),_0x5f250d[_0x5f250d[_0x3f2ec9(0x4a4)]=0x5]='UNAUTHENTICATED',_0x5f250d[_0x5f250d[_0x3f2ec9(0x2ce)]=0x6]='ALREADY_EXISTS',_0x5f250d[_0x5f250d[_0x3f2ec9(0x559)]=0x7]='INVALID_ARGUMENT',_0x5f250d[_0x5f250d[_0x3f2ec9(0x361)]=0x8]=_0x3f2ec9(0x361),_0x5f250d[_0x5f250d[_0x3f2ec9(0x22e)]=0x9]=_0x3f2ec9(0x22e),_0x5f250d[_0x5f250d[_0x3f2ec9(0x5c0)]=0x1389]=_0x3f2ec9(0x5c0),_0x5f250d[_0x5f250d[_0x3f2ec9(0x3e1)]=0x1771]=_0x3f2ec9(0x3e1),_0x5f250d[_0x5f250d[_0x3f2ec9(0x47f)]=0x1772]=_0x3f2ec9(0x47f),_0x5f250d[_0x5f250d[_0x3f2ec9(0x52b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5f250d[_0x5f250d[_0x3f2ec9(0x242)]=0x1b59]=_0x3f2ec9(0x242),_0x5f250d[_0x5f250d[_0x3f2ec9(0x393)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5f250d[_0x5f250d[_0x3f2ec9(0x474)]=0x1b5b]=_0x3f2ec9(0x474),_0x5f250d[_0x5f250d[_0x3f2ec9(0x49e)]=0x1b5c]=_0x3f2ec9(0x49e),_0x5f250d[_0x5f250d[_0x3f2ec9(0x1fe)]=0x1b5d]=_0x3f2ec9(0x1fe),_0x5f250d[_0x5f250d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3f2ec9(0x358),_0x5f250d[_0x5f250d[_0x3f2ec9(0x4d4)]=0x2329]=_0x3f2ec9(0x4d4),_0x5f250d[_0x5f250d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3f2ec9(0x472),_0x5f250d[_0x5f250d[_0x3f2ec9(0x50d)]=0x232b]=_0x3f2ec9(0x50d),_0x5f250d[_0x5f250d[_0x3f2ec9(0x3ef)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5f250d[_0x5f250d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3f2ec9(0x2dc),_0x5f250d[_0x5f250d[_0x3f2ec9(0x33c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5f250d[_0x5f250d[_0x3f2ec9(0x5b1)]=0x2712]=_0x3f2ec9(0x5b1),_0x5f250d[_0x5f250d[_0x3f2ec9(0x584)]=0x2713]=_0x3f2ec9(0x584),_0x5f250d[_0x5f250d[_0x3f2ec9(0x305)]=0x2714]=_0x3f2ec9(0x305),_0x5f250d[_0x5f250d[_0x3f2ec9(0x4af)]=-0x1]=_0x3f2ec9(0x4af),_0x5f250d))(Ri||{}),ce=(_0xed0b65=>(_0xed0b65[_0xed0b65[_0x3f2ec9(0x25e)]=0x0]=_0x3f2ec9(0x25e),_0xed0b65[_0xed0b65[_0x3f2ec9(0x32a)]=0x1]=_0x3f2ec9(0x32a),_0xed0b65[_0xed0b65[_0x3f2ec9(0x54f)]=0x2]='UNIVER_SHEET',_0xed0b65[_0xed0b65[_0x3f2ec9(0x3f9)]=0x3]=_0x3f2ec9(0x3f9),_0xed0b65[_0xed0b65['UNIVER_PROJECT']=0x4]=_0x3f2ec9(0x2b0),_0xed0b65[_0xed0b65[_0x3f2ec9(0x4af)]=-0x1]='UNRECOGNIZED',_0xed0b65))(ce||{}),W=(_0x19515f=>(_0x19515f[_0x19515f[_0x3f2ec9(0x530)]=0x0]=_0x3f2ec9(0x530),_0x19515f[_0x19515f['HELLO']=0x1]=_0x3f2ec9(0x345),_0x19515f[_0x19515f[_0x3f2ec9(0x27d)]=0x2]=_0x3f2ec9(0x27d),_0x19515f[_0x19515f[_0x3f2ec9(0x284)]=0x3]='LEAVE',_0x19515f[_0x19515f[_0x3f2ec9(0x2a8)]=0x4]=_0x3f2ec9(0x2a8),_0x19515f[_0x19515f[_0x3f2ec9(0x4f6)]=0x5]=_0x3f2ec9(0x4f6),_0x19515f[_0x19515f[_0x3f2ec9(0x2cc)]=0x6]=_0x3f2ec9(0x2cc),_0x19515f[_0x19515f[_0x3f2ec9(0x4af)]=-0x1]='UNRECOGNIZED',_0x19515f))(W||{}),Is=(_0x9b753b=>(_0x9b753b[_0x9b753b['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x9b753b[_0x9b753b['OK']=0x1]='OK',_0x9b753b[_0x9b753b['FAIL']=0x2]='FAIL',_0x9b753b[_0x9b753b['UNRECOGNIZED']=-0x1]=_0x3f2ec9(0x4af),_0x9b753b))(Is||{}),yi=(_0x397549=>(_0x397549[_0x397549[_0x3f2ec9(0x4dd)]=0x0]=_0x3f2ec9(0x4dd),_0x397549[_0x397549['HttpImport']=0x1]='HttpImport',_0x397549[_0x397549[_0x3f2ec9(0x34f)]=0x2]=_0x3f2ec9(0x34f),_0x397549[_0x397549[_0x3f2ec9(0x3c8)]=0x3]='UnitEmbedded',_0x397549[_0x397549[_0x3f2ec9(0x1f4)]=0x4]=_0x3f2ec9(0x1f4),_0x397549[_0x397549[_0x3f2ec9(0x4af)]=-0x1]=_0x3f2ec9(0x4af),_0x397549))(yi||{});const ie=_0x3f2ec9(0x403),Rr={};function yr(_0x332cf5){const _0x3f2edb=_0x3f2ec9;var _0x475cec,_0x39efdc,_0x1f2855,_0x2cd3c5,_0x15e75e;const _0x278e31=_0x332cf5['data'],_0x5165f1=JSON[_0x3f2edb(0x224)](_0x278e31);switch(_0x5165f1[_0x3f2edb(0x1e2)]){case W[_0x3f2edb(0x4f6)]:case W[_0x3f2edb(0x345)]:{const _0x54d95e=_0x5165f1['infoRsp'];return{..._0x5165f1,'data':_0x54d95e,'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};}case W[_0x3f2edb(0x27d)]:{const _0x92df3f=_0x5165f1[_0x3f2edb(0x36e)];return{..._0x5165f1,'data':_0x92df3f,'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};}case W[_0x3f2edb(0x2cc)]:{const _0x269247=_0x5165f1[_0x3f2edb(0x3b1)];switch(_0x269247[_0x3f2edb(0x56b)]){case _0x371f1e[_0x3f2edb(0x292)]:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x475cec=_0x269247[_0x3f2edb(0x4a1)])==null?void 0x0:_0x475cec['cs']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['CHANGESET_ACK']:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x39efdc=_0x269247[_0x3f2edb(0x577)])==null?void 0x0:_0x39efdc['cs']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['NEW_CHANGESETS']:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x1f2855=_0x269247[_0x3f2edb(0x457)])==null?void 0x0:_0x1f2855['cs']},'cmd':_0x5165f1['cmd']};case _0x371f1e['CHANGESET_REJ']:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x2cd3c5=_0x269247[_0x3f2edb(0x327)])==null?void 0x0:_0x2cd3c5['cs']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x39f)]:return{..._0x5165f1,'data':{..._0x269247,'data':(_0x15e75e=_0x269247[_0x3f2edb(0x244)])==null?void 0x0:_0x15e75e['cs']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['UPDATE_CURSOR']:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x2b9)]},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['USERS_ENTER']:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x3d8)]},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x5d0)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247['leaveEvent']},'cmd':_0x5165f1['cmd']};case _0x371f1e['LIVESHARE_NEW_HOST']:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247['liveShareNewHost']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x479)]:case _0x371f1e[_0x3f2edb(0x405)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x1eb)]},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x300)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247['liveShareNewHost']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['MSG_FOR_ERROR']:return{..._0x5165f1,'data':_0x269247,'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e['COMMENT_UPDATE']:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x43d)]},'cmd':_0x5165f1['cmd']};case _0x371f1e[_0x3f2edb(0x5a7)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247['updatePermissionObjEvent']},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};case _0x371f1e[_0x3f2edb(0x4cf)]:return{..._0x5165f1,'data':{..._0x269247,'data':_0x269247[_0x3f2edb(0x384)]},'cmd':_0x5165f1[_0x3f2edb(0x1e2)]};default:return _0x5165f1;}}default:return _0x5165f1;}}function Or(_0x966014){const _0x5d3299=_0x3f2ec9;switch(_0x966014[_0x5d3299(0x1e2)]){case W[_0x5d3299(0x4f6)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x966014['cmd'],'routeKey':_0x966014['routeKey']});case W['INGEST']:{let _0x4e4e71;switch(_0x966014['data'][_0x5d3299(0x56b)]){case _0x371f1e['UPDATE_CURSOR']:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x217)],'updateCursorEvent':_0x966014[_0x5d3299(0x399)][_0x5d3299(0x399)]};break;}case _0x371f1e[_0x5d3299(0x5d0)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x5d0)],'leaveEvent':_0x966014[_0x5d3299(0x399)][_0x5d3299(0x399)]};break;}case _0x371f1e[_0x5d3299(0x54d)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x54d)],'joinEvent':_0x966014['data']['data']};break;}case _0x371f1e[_0x5d3299(0x4fa)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x4fa)],'liveShareNewHost':_0x966014['data']['data']};break;}case _0x371f1e['LIVESHARE_OPERATION']:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x405)],'liveShareOperation':_0x966014[_0x5d3299(0x399)]['data']};break;}case _0x371f1e[_0x5d3299(0x300)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x300)],'liveShareTerminate':_0x966014['data']['data']};break;}case _0x371f1e[_0x5d3299(0x372)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x372)],'liveShareRequestHost':_0x966014['data']['data']};break;}case _0x371f1e[_0x5d3299(0x479)]:{_0x4e4e71={'eventID':_0x371f1e[_0x5d3299(0x479)]};break;}default:_0x4e4e71={'eventID':_0x966014[_0x5d3299(0x399)]['eventID']};}return JSON[_0x5d3299(0x5a1)]({'cmd':_0x966014['cmd'],'routeKey':_0x966014[_0x5d3299(0x4a3)],'collaMsg':_0x4e4e71});}case W['JOIN']:return JSON[_0x5d3299(0x5a1)]({'cmd':_0x966014[_0x5d3299(0x1e2)],'routeKey':_0x966014[_0x5d3299(0x4a3)],'joinReq':_0x966014[_0x5d3299(0x399)]});case W[_0x5d3299(0x284)]:return JSON['stringify']({'cmd':_0x966014[_0x5d3299(0x1e2)],'routeKey':_0x966014[_0x5d3299(0x4a3)],'leaveReq':_0x966014[_0x5d3299(0x399)]});default:throw new Error(_0x5d3299(0x3d7));}}var wr=Object[_0x3f2ec9(0x323)],Dr=Object[_0x3f2ec9(0x318)],Pr=(_0x35a002,_0x4de683,_0x343602,_0x393c12)=>{const _0xf5f400=_0x3f2ec9;for(var _0xb342c3=_0x393c12>0x1?void 0x0:_0x393c12?Dr(_0x4de683,_0x343602):_0x4de683,_0x36851b=_0x35a002[_0xf5f400(0x3a7)]-0x1,_0x4cd1af;_0x36851b>=0x0;_0x36851b--)(_0x4cd1af=_0x35a002[_0x36851b])&&(_0xb342c3=(_0x393c12?_0x4cd1af(_0x4de683,_0x343602,_0xb342c3):_0x4cd1af(_0xb342c3))||_0xb342c3);return _0x393c12&&_0xb342c3&&wr(_0x4de683,_0x343602,_0xb342c3),_0xb342c3;},qe=(_0xf062d0,_0x5490ea)=>(_0x755a53,_0x26be19)=>_0x5490ea(_0x755a53,_0x26be19,_0xf062d0);const Oi=_0x229333(_0x3f2ec9(0x33e));function Ur(_0x11bc1f,_0x73253c,_0x1aaf16){const _0x2feb9a=_0x3f2ec9;return _0x11bc1f+'/'+_0x73253c+_0x2feb9a(0x3d3)+_0x1aaf16+_0x2feb9a(0x21d);}let es=class extends _0x4bee31{constructor(_0x2b1b8a,_0x1df65d,_0x590972,_0x306362,_0x4f7a1e){const _0x599b63=_0x3f2ec9;super(),this[_0x599b63(0x418)]=_0x2b1b8a,this[_0x599b63(0x1d8)]=_0x1df65d,this[_0x599b63(0x5b4)]=_0x590972,this[_0x599b63(0x42f)]=_0x306362,this[_0x599b63(0x4a7)]=_0x4f7a1e;}[_0x3f2ec9(0x330)](_0x3ffb46){const _0x4555f4=_0x3f2ec9,_0x3fa17e=this[_0x4555f4(0x1d8)][_0x4555f4(0x330)](_0x3ffb46);if(!_0x3fa17e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2d3640=new _0x133ebf(),_0x2323e7=new _0xf004ca();_0x2d3640[_0x4555f4(0x304)](_0x3fa17e[_0x4555f4(0x302)]['subscribe'](_0x486a15=>_0x2323e7[_0x4555f4(0x3f5)](_0x486a15))),_0x2d3640[_0x4555f4(0x304)](_0x5d23c9(()=>_0x2323e7[_0x4555f4(0x492)]()));const _0x4bcde6=new _0xf004ca();_0x2d3640[_0x4555f4(0x304)](_0x3fa17e['error$'][_0x4555f4(0x27a)](_0x1378b1=>_0x4bcde6[_0x4555f4(0x3f5)](_0x1378b1))),_0x2d3640[_0x4555f4(0x304)](_0x5d23c9(()=>_0x4bcde6['complete']()));const _0x5c8203=new _0xf004ca();_0x2d3640[_0x4555f4(0x304)](_0x3fa17e['message$'][_0x4555f4(0x27a)](_0x51dc52=>{const _0x583a2e=_0x4555f4,_0x4d2919=yr(_0x51dc52);_0x5c8203[_0x583a2e(0x3f5)](_0x4d2919);})),_0x2d3640[_0x4555f4(0x304)](_0x5d23c9(()=>_0x5c8203['complete']()));let _0x3eb83b;const _0x33f704=()=>{const _0x16e10c=_0x4555f4;_0x4bcde6[_0x16e10c(0x3f5)](new Event(_0x16e10c(0x2c7))),_0x2323e7[_0x16e10c(0x3f5)](new CloseEvent('connection\x20error')),_0x3eb83b[_0x16e10c(0x2c3)]();};return _0x3eb83b={'memberID':'','close$':_0x2323e7['asObservable'](),'error$':_0x4bcde6[_0x4555f4(0x5d2)](),'open$':_0x3fa17e[_0x4555f4(0x5c1)],'message$':_0x5c8203[_0x4555f4(0x5d2)](),'send':_0x287732=>{const _0x5bcc96=_0x4555f4;if(_0x287732[_0x5bcc96(0x1e2)]===W[_0x5bcc96(0x2a8)]){if(_0x287732[_0x5bcc96(0x399)][_0x5bcc96(0x56b)]===_0x371f1e['SUBMIT_CHANGESET']){this[_0x5bcc96(0x450)](_0x3eb83b,_0x287732[_0x5bcc96(0x399)])['catch'](_0x1cb638=>{const _0x22932d=_0x5bcc96;this[_0x22932d(0x42f)][_0x22932d(0x3b5)](_0x1cb638),_0x33f704();});return;}if(_0x287732['data']['eventID']===_0x371f1e[_0x5bcc96(0x374)]){const _0x173d0e=_0x287732[_0x5bcc96(0x399)];this[_0x5bcc96(0x334)](_0x173d0e)[_0x5bcc96(0x33f)](_0xa06a44=>{const _0x5c5431=_0x5bcc96;_0x5c8203[_0x5c5431(0x3f5)]({'cmd':W[_0x5c5431(0x2cc)],'code':Is['OK'],'routeKey':_0x173d0e[_0x5c5431(0x399)][_0x5c5431(0x350)],'routeType':'','data':{'eventID':_0x371f1e[_0x5c5431(0x290)],'data':{'changesets':_0xa06a44}}});})[_0x5bcc96(0x1c8)](_0x5b829b=>{const _0x562530=_0x5bcc96;this[_0x562530(0x42f)][_0x562530(0x3b5)](_0x5b829b),_0x33f704();});return;}}_0x3fa17e[_0x5bcc96(0x446)](Or(_0x287732));},'close':()=>{const _0x38ebb6=_0x4555f4;_0x3fa17e[_0x38ebb6(0x2c3)](),_0x2d3640['dispose']();}},_0x3eb83b;}async[_0x3f2ec9(0x450)](_0x3ef735,_0xdc1b0d){const _0x41fd14=_0x3f2ec9;var _0xba37d1,_0xda286a;const {unitType:_0x199d2a,unitID:_0x584565,changeset:_0x45e9a9}=_0xdc1b0d[_0x41fd14(0x399)],_0xd89f4={'unitID':_0x584565,'memberID':_0x3ef735['memberID'],'type':_0x199d2a,'changeset':_0x125e13(_0x45e9a9)},_0x460079=this[_0x41fd14(0x5b4)][_0x41fd14(0x4d2)](Cr),_0x3830ed=this[_0x41fd14(0x5b4)]['getConfig'](ie),_0x21eda3=Ur((_0xda286a=(_0xba37d1=_0x3830ed==null?void 0x0:_0x3830ed[_0x41fd14(0x1dc)])!=null?_0xba37d1:_0x460079)!=null?_0xda286a:Er,_0x199d2a,_0x584565);try{await this['_http'][_0x41fd14(0x527)](_0x21eda3,{'body':_0xd89f4});}catch(_0x271939){throw this[_0x41fd14(0x42f)][_0x41fd14(0x3b5)]('[CollaborationSession]',_0x41fd14(0x40e)),_0x271939;}}async['_fetchMissChangesets'](_0x44f3f3){const _0x351c62=_0x3f2ec9,{unitID:_0x216369,from:_0x5ee05c,to:_0x515904,unitType:_0x27d2bc}=_0x44f3f3[_0x351c62(0x399)];return(await this[_0x351c62(0x4a7)][_0x351c62(0x3fb)]({'metadata':void 0x0},{'unitID':_0x216369,'type':_0x27d2bc,'from':_0x5ee05c,'to':_0x515904}))[_0x351c62(0x44e)];}};es=Pr([qe(0x0,_0x127ed5(_0x1d93b0)),qe(0x1,_0x127ed5(_0x18b495)),qe(0x2,_0x5293d7),qe(0x3,_0x2a6a1c),qe(0x4,_0x32dd62)],es);const Nr=_0x3f2ec9(0x521);function _0x1414(_0x2ec3b9,_0x33c08f){const _0x27e698=_0x27e6();return _0x1414=function(_0x141451,_0x5c9a70){_0x141451=_0x141451-0x1bc;let _0x34e79c=_0x27e698[_0x141451];return _0x34e79c;},_0x1414(_0x2ec3b9,_0x33c08f);}function Ar(_0x3f3ac7){const _0x2f392e=_0x3f2ec9;return JSON[_0x2f392e(0x5a1)](_0x3f3ac7)[_0x2f392e(0x3a7)];}class wi{constructor(){const _0x2a00e8=_0x3f2ec9;g(this,'_commentUpdate$',new _0xf004ca()),g(this,_0x2a00e8(0x56a),this[_0x2a00e8(0x4aa)][_0x2a00e8(0x5d2)]());}['onCommentUpdate'](_0x39d8e8){const _0x46bf6b=_0x3f2ec9;this[_0x46bf6b(0x4aa)][_0x46bf6b(0x3f5)](_0x39d8e8);}}var Mr=Object[_0x3f2ec9(0x323)],xr=Object[_0x3f2ec9(0x318)],Lr=(_0x2e5314,_0x52ecd0,_0x41c6d8,_0x13fa3b)=>{for(var _0xe89d7d=_0x13fa3b>0x1?void 0x0:_0x13fa3b?xr(_0x52ecd0,_0x41c6d8):_0x52ecd0,_0x1a5354=_0x2e5314['length']-0x1,_0x2c1969;_0x1a5354>=0x0;_0x1a5354--)(_0x2c1969=_0x2e5314[_0x1a5354])&&(_0xe89d7d=(_0x13fa3b?_0x2c1969(_0x52ecd0,_0x41c6d8,_0xe89d7d):_0x2c1969(_0xe89d7d))||_0xe89d7d);return _0x13fa3b&&_0xe89d7d&&Mr(_0x52ecd0,_0x41c6d8,_0xe89d7d),_0xe89d7d;},Hs=(_0x4dbe78,_0x49d3eb)=>(_0x4f4f67,_0x52a38c)=>_0x49d3eb(_0x4f4f67,_0x52a38c,_0x4dbe78);let Ne=class extends _0x4bee31{constructor(_0x47f287,_0x14babd){const _0x36438b=_0x3f2ec9;super(),g(this,'_roomMembers',new Map()),(this[_0x36438b(0x590)]=_0x47f287,this[_0x36438b(0x54b)]=_0x14babd,this[_0x36438b(0x324)](_0x5d23c9(_0x54a5bf(this[_0x36438b(0x590)][_0x36438b(0x31d)](_0x1a8690[_0x36438b(0x54f)])[_0x36438b(0x3c4)](_0x4f8f29(_0x4d504b=>_0x4d504b[_0x36438b(0x461)]())),this[_0x36438b(0x590)][_0x36438b(0x31d)](_0x1a8690[_0x36438b(0x32a)])[_0x36438b(0x3c4)](_0x4f8f29(_0x3c098d=>_0x3c098d[_0x36438b(0x461)]())),this[_0x36438b(0x590)][_0x36438b(0x31d)](_0x1a8690[_0x36438b(0x3f9)])[_0x36438b(0x3c4)](_0x4f8f29(_0x374dcf=>_0x374dcf['getUnitId']())))[_0x36438b(0x27a)](_0x12bf00=>this[_0x36438b(0x4b0)](_0x12bf00)))));}[_0x3f2ec9(0x2ab)](_0x18d3ac){const _0x524264=_0x3f2ec9;this['_userManagerService'][_0x524264(0x2ab)](_0x18d3ac);}[_0x3f2ec9(0x555)](){const _0x3ec15d=_0x3f2ec9;return this[_0x3ec15d(0x54b)][_0x3ec15d(0x555)]();}[_0x3f2ec9(0x3ab)](_0x496a9c,_0x531c59){const _0x11fef7=_0x3f2ec9;let _0x1438e9=this[_0x11fef7(0x25c)][_0x11fef7(0x333)](_0x496a9c);_0x1438e9||(_0x1438e9=new $r(),this[_0x11fef7(0x25c)][_0x11fef7(0x250)](_0x496a9c,_0x1438e9)),_0x1438e9['updateMember'](_0x531c59);}[_0x3f2ec9(0x2ea)](_0x8ea8e8,_0x219c27){const _0x2b231b=_0x3f2ec9,_0x43ec45=this[_0x2b231b(0x25c)][_0x2b231b(0x333)](_0x8ea8e8);_0x43ec45&&_0x43ec45[_0x2b231b(0x2ea)](_0x219c27);}[_0x3f2ec9(0x340)](_0x10b548){const _0x175a7e=_0x3f2ec9;return this[_0x175a7e(0x25c)]['get'](_0x10b548);}[_0x3f2ec9(0x44b)](_0x135aa5,_0x15daaf){const _0x9d3e01=_0x3f2ec9,_0x4b9200=this[_0x9d3e01(0x25c)][_0x9d3e01(0x333)](_0x135aa5);if(_0x4b9200)return _0x4b9200['getMember'](_0x15daaf);}[_0x3f2ec9(0x4b0)](_0x390eb2){const _0x154d65=_0x3f2ec9,_0x3d4a75=this['_roomMembers'][_0x154d65(0x333)](_0x390eb2);_0x3d4a75&&(_0x3d4a75[_0x154d65(0x385)](),this[_0x154d65(0x25c)][_0x154d65(0x1c4)](_0x390eb2));}[_0x3f2ec9(0x385)](){const _0x5c15a4=_0x3f2ec9;this[_0x5c15a4(0x25c)][_0x5c15a4(0x346)](_0x136d5d=>_0x136d5d[_0x5c15a4(0x385)]()),this[_0x5c15a4(0x25c)]['clear']();}};Ne=Lr([Hs(0x0,_0x4c4975),Hs(0x1,_0x127ed5(_0x2c4acc))],Ne);class $r extends _0x4bee31{constructor(){const _0x475106=_0x3f2ec9;super(...arguments),g(this,_0x475106(0x4da),new Map());}[_0x3f2ec9(0x385)](){const _0x4ea1fa=_0x3f2ec9;this[_0x4ea1fa(0x4da)][_0x4ea1fa(0x367)]();}[_0x3f2ec9(0x3ab)](_0x5aa975){const _0x1bbf63=_0x3f2ec9;this[_0x1bbf63(0x4da)][_0x1bbf63(0x250)](_0x5aa975[_0x1bbf63(0x3b6)],_0x5aa975);}[_0x3f2ec9(0x2ea)](_0x3b6954){const _0x3f86a9=_0x3f2ec9;this[_0x3f86a9(0x4da)][_0x3f86a9(0x1c4)](_0x3b6954);}[_0x3f2ec9(0x44b)](_0x473868){const _0x2959a2=_0x3f2ec9;return this[_0x2959a2(0x4da)][_0x2959a2(0x333)](_0x473868);}['getAllMembers'](){const _0x5a6305=_0x3f2ec9;return Array[_0x5a6305(0x424)](this['_members']['values']());}}var Hr=Object[_0x3f2ec9(0x323)],jr=Object[_0x3f2ec9(0x318)],Br=(_0x172d17,_0x23578f,_0x2bb7dd,_0x26a443)=>{const _0x48660d=_0x3f2ec9;for(var _0xd5ea3e=_0x26a443>0x1?void 0x0:_0x26a443?jr(_0x23578f,_0x2bb7dd):_0x23578f,_0x5ebbf7=_0x172d17[_0x48660d(0x3a7)]-0x1,_0x162623;_0x5ebbf7>=0x0;_0x5ebbf7--)(_0x162623=_0x172d17[_0x5ebbf7])&&(_0xd5ea3e=(_0x26a443?_0x162623(_0x23578f,_0x2bb7dd,_0xd5ea3e):_0x162623(_0xd5ea3e))||_0xd5ea3e);return _0x26a443&&_0xd5ea3e&&Hr(_0x23578f,_0x2bb7dd,_0xd5ea3e),_0xd5ea3e;},Ee=(_0x27023e,_0x84d1ab)=>(_0x24f6c4,_0x528086)=>_0x84d1ab(_0x24f6c4,_0x528086,_0x27023e),ve=(_0x2454b2=>(_0x2454b2[_0x2454b2[_0x3f2ec9(0x436)]=0x0]=_0x3f2ec9(0x436),_0x2454b2[_0x2454b2['JOINING']=0x1]=_0x3f2ec9(0x510),_0x2454b2[_0x2454b2[_0x3f2ec9(0x377)]=0x2]=_0x3f2ec9(0x377),_0x2454b2[_0x2454b2[_0x3f2ec9(0x34a)]=0x3]=_0x3f2ec9(0x34a),_0x2454b2))(ve||{});let ts=class extends _0x404743{constructor(_0x47a20c,_0x27516f,_0x24dfd3,_0x53843f,_0x3a4f4f,_0x1fa4bd,_0x308a76,_0xde9c9e,_0x473950,_0x2732f6){const _0x5400c2=_0x3f2ec9;super(),g(this,_0x5400c2(0x2a9),new _0x286de7(0x0)),g(this,_0x5400c2(0x4b4),this[_0x5400c2(0x2a9)]['asObservable']()),g(this,_0x5400c2(0x219),new _0xf004ca()),g(this,_0x5400c2(0x34d),this[_0x5400c2(0x219)][_0x5400c2(0x5d2)]()),g(this,_0x5400c2(0x1dd)),g(this,_0x5400c2(0x1e8)),g(this,_0x5400c2(0x441)),g(this,_0x5400c2(0x52c),!0x1),g(this,'_telemetryInfo',null),(this[_0x5400c2(0x316)]=_0x47a20c,this[_0x5400c2(0x42f)]=_0x24dfd3,this['_beforeCloseService']=_0x53843f,this[_0x5400c2(0x2b6)]=_0x3a4f4f,this[_0x5400c2(0x5b4)]=_0x1fa4bd,this[_0x5400c2(0x311)]=_0x308a76,this[_0x5400c2(0x444)]=_0xde9c9e,this[_0x5400c2(0x480)]=_0x473950,this[_0x5400c2(0x2aa)]=_0x2732f6,this[_0x5400c2(0x52c)]=!!this[_0x5400c2(0x2aa)],_0x27516f[_0x5400c2(0x3c4)](_0x54e638(this[_0x5400c2(0x3e8)]))[_0x5400c2(0x27a)](_0x13e351=>{const _0x780d15=_0x5400c2;var _0x43cdf6;typeof _0x13e351>'u'||(this[_0x780d15(0x1dd)]=_0x13e351,_0x13e351?(this[_0x780d15(0x3bc)](_0x13e351),this[_0x780d15(0x1e8)]=_0x13e351[_0x780d15(0x592)][_0x780d15(0x27a)](_0xcb6f29=>{const _0x897970=_0x780d15;_0xcb6f29[_0x897970(0x4a3)]===this[_0x897970(0x316)]&&this['_onCombEvent'](_0xcb6f29);})):(this[_0x780d15(0x20a)](),this[_0x780d15(0x2a9)][_0x780d15(0x3f5)](0x2),(_0x43cdf6=this[_0x780d15(0x1e8)])==null||_0x43cdf6[_0x780d15(0x4bb)](),this[_0x780d15(0x1e8)]=null));}),this[_0x5400c2(0x324)](this[_0x5400c2(0x2eb)][_0x5400c2(0x53a)](()=>{const _0x3dad66=_0x5400c2;var _0x3c5a82;(_0x3c5a82=this[_0x3dad66(0x1dd)])==null||_0x3c5a82[_0x3dad66(0x446)]({'cmd':W[_0x3dad66(0x284)],'data':{'roomID':this[_0x3dad66(0x316)]}});})));}get[_0x3f2ec9(0x237)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){const _0x4faba8=_0x3f2ec9;var _0x29b718,_0x2672ad;return(_0x2672ad=(_0x29b718=this[_0x4faba8(0x1dd)])==null?void 0x0:_0x29b718[_0x4faba8(0x3b6)])!=null?_0x2672ad:null;}[_0x3f2ec9(0x385)](){const _0x43323b=_0x3f2ec9;super[_0x43323b(0x385)](),this['dispose$'][_0x43323b(0x3f5)](),this['dispose$'][_0x43323b(0x492)]();}['close'](){const _0x5bcb00=_0x3f2ec9;var _0x4c7062,_0x2bbad8;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4c7062=this['_socket'])==null||_0x4c7062[_0x5bcb00(0x446)]({'cmd':W[_0x5bcb00(0x284)],'data':{'roomID':this['_unitID']}}),(_0x2bbad8=this[_0x5bcb00(0x1dd)])==null||_0x2bbad8[_0x5bcb00(0x2c3)](),this[_0x5bcb00(0x219)]['complete'](),this[_0x5bcb00(0x2a9)][_0x5bcb00(0x492)](),this['dispose']();}[_0x3f2ec9(0x24f)](_0x446468){const _0x235a74=_0x3f2ec9;_0x446468[_0x235a74(0x1e2)]===W[_0x235a74(0x27d)]?this[_0x235a74(0x360)](_0x446468):_0x446468[_0x235a74(0x1e2)]===W[_0x235a74(0x2cc)]&&this[_0x235a74(0x50b)](_0x446468);}[_0x3f2ec9(0x3bc)](_0x506694){const _0x2fd023=_0x3f2ec9;this[_0x2fd023(0x2a9)][_0x2fd023(0x3f5)](0x1),_0x506694[_0x2fd023(0x446)]({'cmd':W[_0x2fd023(0x27d)],'routeKey':this[_0x2fd023(0x316)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2fd023(0x316)]}]}});}[_0x3f2ec9(0x360)](_0x23322d){const _0x7af484=_0x3f2ec9;var _0x1a3421;if(_0x23322d[_0x7af484(0x366)]===Is['FAIL']){this['_messageService'][_0x7af484(0x59d)]({'type':_0x196a0e['Warning'],'content':this['_localeService']['t'](_0x7af484(0x2de))}),this[_0x7af484(0x2a9)][_0x7af484(0x3f5)](0x2);return;}this['_sessionStatus$'][_0x7af484(0x3f5)](0x3);const _0x529316=(_0x1a3421=_0x23322d[_0x7af484(0x399)]['roomInfos'][this[_0x7af484(0x316)]])==null?void 0x0:_0x1a3421['members'];_0x529316&&_0x529316[_0x7af484(0x346)](_0x3e55ca=>this[_0x7af484(0x444)][_0x7af484(0x3ab)](this[_0x7af484(0x316)],_0x3e55ca));}[_0x3f2ec9(0x50b)](_0x44f476){const _0x3eeb29=_0x3f2ec9;try{const _0x5346a1=_0x44f476['data'];switch(_0x5346a1['eventID']){case _0x371f1e['USERS_ENTER']:this[_0x3eeb29(0x294)](_0x5346a1),this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);break;case _0x371f1e[_0x3eeb29(0x5d0)]:this['_onUserLeave'](_0x5346a1),this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);break;case _0x371f1e[_0x3eeb29(0x254)]:case _0x371f1e['CHANGESET_SHOULD_RETRY']:this[_0x3eeb29(0x546)](),this[_0x3eeb29(0x307)](),this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);break;case _0x371f1e['MSG_FOR_ERROR']:this[_0x3eeb29(0x42f)][_0x3eeb29(0x3b5)](_0x3eeb29(0x4c0)+JSON[_0x3eeb29(0x5a1)](_0x5346a1)),this[_0x3eeb29(0x219)]['next'](_0x5346a1);break;case _0x371f1e[_0x3eeb29(0x28f)]:this['_commentService'][_0x3eeb29(0x419)](_0x5346a1[_0x3eeb29(0x399)]),this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);break;default:this[_0x3eeb29(0x219)][_0x3eeb29(0x3f5)](_0x5346a1);}}catch(_0x4e9018){this[_0x3eeb29(0x42f)][_0x3eeb29(0x3b5)](_0x4e9018,_0x44f476);}}[_0x3f2ec9(0x294)](_0x129ad2){const _0x2f2b6a=_0x3f2ec9;this[_0x2f2b6a(0x444)][_0x2f2b6a(0x3ab)](this[_0x2f2b6a(0x316)],_0x129ad2[_0x2f2b6a(0x399)]);}[_0x3f2ec9(0x26c)](_0x366511){const _0xb6a86d=_0x3f2ec9;this['_memberService'][_0xb6a86d(0x2ea)](this[_0xb6a86d(0x316)],_0x366511[_0xb6a86d(0x399)][_0xb6a86d(0x3b6)]);}async[_0x3f2ec9(0x446)](_0x2a6df8,_0xa6f6c4){const _0x789d76=_0x3f2ec9;if(this['sessionStatus']!==0x3||!this[_0x789d76(0x1dd)])throw new Error(_0x789d76(0x218));try{_0x2a6df8[_0x789d76(0x56b)]===_0x371f1e[_0x789d76(0x39e)]&&(this[_0x789d76(0x36c)](),this[_0x789d76(0x511)](_0x2a6df8)),this[_0x789d76(0x1dd)][_0x789d76(0x446)]({'cmd':W[_0x789d76(0x2a8)],'routeKey':_0xa6f6c4,'routeType':'','data':_0x2a6df8});}catch(_0x13e9d6){this['_logService'][_0x789d76(0x3b5)](_0x13e9d6);}}[_0x3f2ec9(0x36c)](){const _0x1af6d9=_0x3f2ec9;var _0x3ec938;this[_0x1af6d9(0x441)]=window[_0x1af6d9(0x222)](()=>{const _0x5e3ce3=_0x1af6d9;this[_0x5e3ce3(0x441)]=null,this[_0x5e3ce3(0x2b6)][_0x5e3ce3(0x59d)]({'type':_0x196a0e['Error'],'content':this[_0x5e3ce3(0x311)]['t'](_0x5e3ce3(0x38b))});},(_0x3ec938=this[_0x1af6d9(0x5b4)]['getConfig'](bi))!=null?_0x3ec938:Ti);}[_0x3f2ec9(0x307)](){const _0x3578a9=_0x3f2ec9;this[_0x3578a9(0x441)]&&(clearTimeout(this[_0x3578a9(0x441)]),this[_0x3578a9(0x441)]=null);}[_0x3f2ec9(0x511)](_0x6542f8){const _0xe587eb=_0x3f2ec9;if(!this[_0xe587eb(0x52c)])return;const {data:_0x3e2294}=_0x6542f8,{unitID:_0x278ea9,changeset:_0x46c422}=_0x3e2294,{mutations:_0xc9fa83,type:_0x16f8ef}=_0x46c422;this[_0xe587eb(0x4f0)]={'unitId':_0x278ea9,'type':_0x16f8ef,'startTime':performance[_0xe587eb(0x54e)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0xc9fa83)};}[_0x3f2ec9(0x546)](){const _0x52a233=_0x3f2ec9;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x52a233(0x42f)][_0x52a233(0x3b5)](_0x52a233(0x523),_0x52a233(0x232));return;}this['_telemetryInfo']['stopTime']=performance[_0x52a233(0x54e)](),this[_0x52a233(0x4f0)][_0x52a233(0x287)]=this['_telemetryInfo'][_0x52a233(0x430)]-this['_telemetryInfo'][_0x52a233(0x29a)],this[_0x52a233(0x2aa)]['capture'](Nr,this[_0x52a233(0x4f0)]),this[_0x52a233(0x4f0)]=null;}}[_0x3f2ec9(0x20a)](){const _0x2aeed7=_0x3f2ec9;this[_0x2aeed7(0x4f0)]=null;}};ts=Br([Ee(0x2,_0x2a6a1c),Ee(0x3,_0x42b0b0),Ee(0x4,_0x79bb7b),Ee(0x5,_0x5293d7),Ee(0x6,_0x127ed5(_0x4d6b84)),Ee(0x7,_0x127ed5(Ne)),Ee(0x8,_0x127ed5(wi)),Ee(0x9,_0x5c4d06(_0x5a864f))],ts);var kr=Object['defineProperty'],Wr=Object[_0x3f2ec9(0x318)],Fr=(_0xb88769,_0x114966,_0x1e61a8,_0x2acc05)=>{for(var _0x23c3f9=_0x2acc05>0x1?void 0x0:_0x2acc05?Wr(_0x114966,_0x1e61a8):_0x114966,_0x1a81c1=_0xb88769['length']-0x1,_0x40b85f;_0x1a81c1>=0x0;_0x1a81c1--)(_0x40b85f=_0xb88769[_0x1a81c1])&&(_0x23c3f9=(_0x2acc05?_0x40b85f(_0x114966,_0x1e61a8,_0x23c3f9):_0x40b85f(_0x23c3f9))||_0x23c3f9);return _0x2acc05&&_0x23c3f9&&kr(_0x114966,_0x1e61a8,_0x23c3f9),_0x23c3f9;},je=(_0x4fc008,_0x13005f)=>(_0x26072b,_0x1657b1)=>_0x13005f(_0x26072b,_0x1657b1,_0x4fc008);let Ae=class extends _0x4bee31{constructor(_0x198ef8,_0x420020,_0x612c6e,_0x25351e,_0x2fa9b5,_0x4b0c58){const _0x2526a1=_0x3f2ec9;super(),g(this,_0x2526a1(0x4a5),new _0x286de7(void 0x0)),g(this,'socket$',this[_0x2526a1(0x4a5)][_0x2526a1(0x5d2)]()),g(this,_0x2526a1(0x4a9),null),g(this,_0x2526a1(0x230),new Map()),g(this,_0x2526a1(0x1e5),new _0x286de7(ve[_0x2526a1(0x436)])),g(this,_0x2526a1(0x23d),this[_0x2526a1(0x1e5)][_0x2526a1(0x5d2)]()),g(this,_0x2526a1(0x4c5),!0x1),g(this,_0x2526a1(0x3aa)),g(this,_0x2526a1(0x484),0x0),g(this,'_sendHeartbeatTimer'),g(this,'_timeoutTimer'),(this[_0x2526a1(0x469)]=_0x198ef8,this[_0x2526a1(0x311)]=_0x420020,this[_0x2526a1(0x2b6)]=_0x612c6e,this[_0x2526a1(0x42f)]=_0x25351e,this[_0x2526a1(0x5b4)]=_0x2fa9b5,this['_socketService']=_0x4b0c58,this['_initEventListeners']());}get['_socket'](){const _0xef5d1b=_0x3f2ec9;return this['_socket$'][_0xef5d1b(0x31b)]();}['_initEventListeners'](){const _0x190555=_0x3f2ec9;this[_0x190555(0x231)](),this[_0x190555(0x566)]();}[_0x3f2ec9(0x385)](){const _0x1ee9e3=_0x3f2ec9;super[_0x1ee9e3(0x385)](),this['_sessions'][_0x1ee9e3(0x346)](_0x3224b3=>_0x3224b3['dispose']()),this[_0x1ee9e3(0x230)][_0x1ee9e3(0x367)](),this[_0x1ee9e3(0x1e5)]['complete']();}async[_0x3f2ec9(0x58e)](_0x5bde7c){const _0x12cb57=_0x3f2ec9;if(this['_sessions']['has'](_0x5bde7c))return this[_0x12cb57(0x230)]['get'](_0x5bde7c);this[_0x12cb57(0x256)]();const _0x40e141=this[_0x12cb57(0x469)]['createInstance'](ts,_0x5bde7c,this[_0x12cb57(0x4a5)][_0x12cb57(0x5d2)]());return this[_0x12cb57(0x230)][_0x12cb57(0x250)](_0x5bde7c,_0x40e141),_0x40e141;}[_0x3f2ec9(0x370)](_0x56e546){const _0x1c6ee8=_0x3f2ec9;var _0x1cc976;const _0x36195b=this[_0x1c6ee8(0x230)][_0x1c6ee8(0x333)](_0x56e546);_0x36195b&&(this[_0x1c6ee8(0x230)][_0x1c6ee8(0x1c4)](_0x56e546),_0x36195b['close']()),this['_sessions']['size']||(_0x1cc976=this['_socket'])==null||_0x1cc976[_0x1c6ee8(0x2c3)]();}[_0x3f2ec9(0x519)](){const _0x287471=_0x3f2ec9;this[_0x287471(0x484)]=0x0,this[_0x287471(0x3aa)]!=null&&(clearTimeout(this[_0x287471(0x3aa)]),this[_0x287471(0x3aa)]=null),this['_tryReconnect']();}[_0x3f2ec9(0x3c5)](){const _0x4e092a=_0x3f2ec9;var _0x5c169c,_0x204279;const _0x3711a5=this[_0x4e092a(0x5b4)][_0x4e092a(0x4d2)](ur),_0x58faee=this[_0x4e092a(0x5b4)][_0x4e092a(0x4d2)](ie),_0x1a51f9=(_0x204279=(_0x5c169c=_0x58faee==null?void 0x0:_0x58faee[_0x4e092a(0x413)])!=null?_0x5c169c:_0x3711a5)!=null?_0x204279:dr,_0xcea616=this[_0x4e092a(0x2d3)]['createSocket'](_0x1a51f9);return this['_candidateSocket']=_0xcea616,_0xcea616;}['_tryEnsureSocket'](){const _0x4e51c9=_0x3f2ec9;var _0x2244f1,_0x1a2b1d;try{const _0x24af18=(_0x1a2b1d=(_0x2244f1=this[_0x4e51c9(0x1dd)])!=null?_0x2244f1:this[_0x4e51c9(0x4a9)])!=null?_0x1a2b1d:this[_0x4e51c9(0x3c5)]();if(_0x24af18){const _0xff2075=_0x24af18[_0x4e51c9(0x446)];_0x24af18[_0x4e51c9(0x446)]=_0xba118a=>(this[_0x4e51c9(0x30b)](),_0xff2075[_0x4e51c9(0x437)](_0x24af18,[_0xba118a])),_0x24af18[_0x4e51c9(0x592)][_0x4e51c9(0x27a)](_0x4df359=>this[_0x4e51c9(0x5cc)](_0x24af18,_0x4df359)),_0x24af18['error$'][_0x4e51c9(0x3c4)](_0xe36e8c(0x1))[_0x4e51c9(0x27a)](_0x5dc4e3=>this['_logService'][_0x4e51c9(0x3b5)]('[CollaborationSessionService]:\x20socket\x20error',_0x5dc4e3)),_0x24af18[_0x4e51c9(0x5c1)]['pipe'](_0xe36e8c(0x1))[_0x4e51c9(0x27a)](()=>{const _0x94cba7=_0x4e51c9;this[_0x94cba7(0x4e3)](_0x24af18);}),_0x24af18['close$'][_0x4e51c9(0x3c4)](_0xe36e8c(0x1))[_0x4e51c9(0x27a)](_0x49c9e5=>{const _0x531684=_0x4e51c9;this[_0x531684(0x42f)][_0x531684(0x59b)](_0x531684(0x537),_0x531684(0x558),_0x49c9e5),this[_0x531684(0x200)]();});}}catch(_0x1514eb){this[_0x4e51c9(0x42f)][_0x4e51c9(0x3b5)](_0x1514eb),this['_onConnectionFailed']();}}[_0x3f2ec9(0x4e3)](_0x55d8b8){const _0x419ed2=_0x3f2ec9;this[_0x419ed2(0x42f)][_0x419ed2(0x59b)](_0x419ed2(0x537),'socket\x20open.'),_0x55d8b8['send']({'cmd':W[_0x419ed2(0x345)]}),this['_rescheduleHeartbeat']();}[_0x3f2ec9(0x231)](){const _0x4be94c=_0x3f2ec9;window[_0x4be94c(0x337)](_0x4be94c(0x37f),()=>this[_0x4be94c(0x285)]());}['_onOffline'](){const _0x38e735=_0x3f2ec9;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x38e735(0x3f5)](ve[_0x38e735(0x377)]),this['_socket$'][_0x38e735(0x3f5)](null),this[_0x38e735(0x5b6)](),this[_0x38e735(0x491)]();}[_0x3f2ec9(0x200)](){const _0x317f2f=_0x3f2ec9;var _0x115637;this[_0x317f2f(0x285)](),this[_0x317f2f(0x484)]<((_0x115637=this[_0x317f2f(0x5b4)][_0x317f2f(0x4d2)](pr))!=null?_0x115637:gr)?(this[_0x317f2f(0x2b6)]['show']({'key':_0x317f2f(0x4d0),'type':_0x196a0e[_0x317f2f(0x5d3)],'content':this['_localeService']['t'](_0x317f2f(0x44a))}),this[_0x317f2f(0x2a3)]()):this[_0x317f2f(0x2b6)]['show']({'key':_0x317f2f(0x4d0),'type':_0x196a0e[_0x317f2f(0x2be)],'content':this['_localeService']['t'](_0x317f2f(0x2bc))});}['_listenToOnlineEvent'](){const _0x3aa032=_0x3f2ec9,_0x3b31fa=()=>{const _0x1b04a2=_0x1414;this[_0x1b04a2(0x1dd)]||this[_0x1b04a2(0x519)]();},_0x3cdcb0=()=>{const _0x375920=_0x1414;this[_0x375920(0x1dd)]||document[_0x375920(0x31c)]===_0x375920(0x20c)||this[_0x375920(0x519)]();};window[_0x3aa032(0x337)]('online',_0x3b31fa),document['addEventListener']('visibilitychange',_0x3cdcb0);}[_0x3f2ec9(0x2a3)](){const _0x27f421=_0x3f2ec9;var _0x3fe930;const _0x1fd40e=this[_0x27f421(0x484)],_0x2584dd=this['_configService'][_0x27f421(0x4d2)](ie),_0x181e92=_0x1fd40e===0x0?0x0:((_0x3fe930=_0x2584dd==null?void 0x0:_0x2584dd[_0x27f421(0x1f7)])!=null?_0x3fe930:mr)*0x2**_0x1fd40e;this[_0x27f421(0x3aa)]=window[_0x27f421(0x222)](()=>{const _0x390bfe=_0x27f421;clearTimeout(this[_0x390bfe(0x3aa)]),this[_0x390bfe(0x3aa)]=null,this[_0x390bfe(0x256)]();},_0x181e92),this['_retryCount']+=0x1;}[_0x3f2ec9(0x5cc)](_0x37ac82,_0x3a9759){const _0x50ca79=_0x3f2ec9,{cmd:_0x7d2255}=_0x3a9759;_0x7d2255===W['HELLO']&&!this['_socketReady']&&(_0x37ac82[_0x50ca79(0x3b6)]=_0x3a9759[_0x50ca79(0x399)]['memberID'],this[_0x50ca79(0x4a5)]['next'](_0x37ac82),this['_status$']['next'](ve[_0x50ca79(0x34a)]),this[_0x50ca79(0x4c5)]=!0x0,this[_0x50ca79(0x4a9)]=null),_0x7d2255===W['HEARTBEAT']&&this[_0x50ca79(0x5b6)](),this[_0x50ca79(0x30b)]();}[_0x3f2ec9(0x30b)](){const _0x3b6544=_0x3f2ec9;var _0x466b73;this['_clearHeartbeatTimer'](),this[_0x3b6544(0x315)]=window[_0x3b6544(0x222)](()=>this['_sendHeartbeat'](),(_0x466b73=this[_0x3b6544(0x5b4)][_0x3b6544(0x4d2)](fr))!=null?_0x466b73:vr);}[_0x3f2ec9(0x58a)](){const _0x3b1250=_0x3f2ec9;this[_0x3b1250(0x1dd)][_0x3b1250(0x446)]({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x3f2ec9(0x52f)](){const _0x3d182e=_0x3f2ec9;var _0x593273;this[_0x3d182e(0x1d0)]=window[_0x3d182e(0x222)](()=>this['_onConnectionFailed'](),(_0x593273=this['_configService'][_0x3d182e(0x4d2)](bi))!=null?_0x593273:Ti);}[_0x3f2ec9(0x491)](){const _0x26f350=_0x3f2ec9;this[_0x26f350(0x315)]!=null&&(clearTimeout(this[_0x26f350(0x315)]),this['_sendHeartbeatTimer']=null);}[_0x3f2ec9(0x5b6)](){const _0x3d5866=_0x3f2ec9;this[_0x3d5866(0x1d0)]!=null&&(clearTimeout(this[_0x3d5866(0x1d0)]),this[_0x3d5866(0x1d0)]=null);}};Ae=Fr([je(0x0,_0x127ed5(_0x846a04)),je(0x1,_0x127ed5(_0x4d6b84)),je(0x2,_0x79bb7b),je(0x3,_0x2a6a1c),je(0x4,_0x5293d7),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x3f2ec9(0x496)]((i+0x100)['toString'](0x10)[_0x3f2ec9(0x43e)](0x1));function Vr(_0x36ad45,_0x493f8a=0x0){const _0x132460=_0x3f2ec9;return(Y[_0x36ad45[_0x493f8a+0x0]]+Y[_0x36ad45[_0x493f8a+0x1]]+Y[_0x36ad45[_0x493f8a+0x2]]+Y[_0x36ad45[_0x493f8a+0x3]]+'-'+Y[_0x36ad45[_0x493f8a+0x4]]+Y[_0x36ad45[_0x493f8a+0x5]]+'-'+Y[_0x36ad45[_0x493f8a+0x6]]+Y[_0x36ad45[_0x493f8a+0x7]]+'-'+Y[_0x36ad45[_0x493f8a+0x8]]+Y[_0x36ad45[_0x493f8a+0x9]]+'-'+Y[_0x36ad45[_0x493f8a+0xa]]+Y[_0x36ad45[_0x493f8a+0xb]]+Y[_0x36ad45[_0x493f8a+0xc]]+Y[_0x36ad45[_0x493f8a+0xd]]+Y[_0x36ad45[_0x493f8a+0xe]]+Y[_0x36ad45[_0x493f8a+0xf]])[_0x132460(0x344)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x305431=_0x3f2ec9;if(!Nt){if(typeof crypto>'u'||!crypto[_0x305431(0x50f)])throw new Error(_0x305431(0x2b2));Nt=crypto[_0x305431(0x50f)][_0x305431(0x5d9)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x3f2ec9(0x5d9)](crypto),js={'randomUUID':Kr};function zr(_0x29b1fe,_0x30cef6,_0x1b6928){const _0x341191=_0x3f2ec9;if(js[_0x341191(0x41c)]&&!_0x30cef6&&!_0x29b1fe)return js['randomUUID']();_0x29b1fe=_0x29b1fe||{};const _0x53726c=_0x29b1fe[_0x341191(0x35b)]||(_0x29b1fe[_0x341191(0x3e3)]||Yr)();return _0x53726c[0x6]=_0x53726c[0x6]&0xf|0x40,_0x53726c[0x8]=_0x53726c[0x8]&0x3f|0x80,Vr(_0x53726c);}var qr=Object[_0x3f2ec9(0x323)],Xr=Object[_0x3f2ec9(0x318)],Jr=(_0x39eb24,_0x88fd1,_0xac69f2,_0x3ca28a)=>{const _0x19e4a2=_0x3f2ec9;for(var _0x3876c9=_0x3ca28a>0x1?void 0x0:_0x3ca28a?Xr(_0x88fd1,_0xac69f2):_0x88fd1,_0x4dac9c=_0x39eb24[_0x19e4a2(0x3a7)]-0x1,_0x40bafd;_0x4dac9c>=0x0;_0x4dac9c--)(_0x40bafd=_0x39eb24[_0x4dac9c])&&(_0x3876c9=(_0x3ca28a?_0x40bafd(_0x88fd1,_0xac69f2,_0x3876c9):_0x40bafd(_0x3876c9))||_0x3876c9);return _0x3ca28a&&_0x3876c9&&qr(_0x88fd1,_0xac69f2,_0x3876c9),_0x3876c9;},At=(_0x40f4a6,_0x4948aa)=>(_0x4a79fe,_0x134c30)=>_0x4948aa(_0x4a79fe,_0x134c30,_0x40f4a6);let ft=class{constructor(_0x5bba00,_0x25cd26,_0x1a47c4){const _0x4ff41b=_0x3f2ec9;this[_0x4ff41b(0x469)]=_0x5bba00,this[_0x4ff41b(0x251)]=_0x25cd26,this[_0x4ff41b(0x4b9)]=_0x1a47c4;}['transformIMECache'](_0x4536a1){const _0x6f6541=_0x3f2ec9;this[_0x6f6541(0x2f5)](_0x4536a1),this[_0x6f6541(0x3ee)](_0x4536a1);}[_0x3f2ec9(0x281)](_0x21fef0){const _0x5dd799=_0x3f2ec9,{unitID:_0x50d379}=_0x21fef0,_0xc324bb=this[_0x5dd799(0x4b9)]['getRenderById'](_0x50d379)[_0x5dd799(0x2af)](_0x467f19),{redoCache:_0x4c663c}=_0xc324bb[_0x5dd799(0x588)]();if(_0x4c663c[_0x5dd799(0x3a7)]===0x0)return _0x21fef0;let _0x47c22d=_0x109dec['deepClone'](_0x21fef0[_0x5dd799(0x3e6)][0x0]);for(let _0x238172=0x0;_0x238172<_0x4c663c['length'];_0x238172++){const _0x29e29f={'id':_0x5dd799(0x1f0),'params':{..._0x4c663c[_0x238172]}},_0x5b40b1=this[_0x5dd799(0x251)][_0x5dd799(0x401)](_0x47c22d,_0x29e29f,!0x1);if(_0x1d55d1(_0x5b40b1))throw _0x5b40b1[_0x5dd799(0x3b5)];_0x47c22d=_0x5b40b1[_0x5dd799(0x37e)];}return{..._0x109dec['deepClone'](_0x21fef0),'mutations':[_0x47c22d]};}[_0x3f2ec9(0x2f5)](_0x408769){const _0x3f6c62=_0x3f2ec9,{unitID:_0x4bf3f7}=_0x408769,_0x3303d7=this[_0x3f6c62(0x4b9)][_0x3f6c62(0x3f4)](_0x4bf3f7)[_0x3f6c62(0x2af)](_0x467f19),{undoCache:_0x40ddc5,redoCache:_0x21307d}=_0x3303d7[_0x3f6c62(0x588)]();if(_0x40ddc5[_0x3f6c62(0x3a7)]===0x0||_0x21307d['length']===0x0)return;const _0x3035f4=[],_0x207a02=[];let _0x32c141=_0x109dec[_0x3f6c62(0x3ff)](_0x408769[_0x3f6c62(0x3e6)][0x0]),_0x53e033=_0x109dec[_0x3f6c62(0x3ff)](_0x408769['mutations'][0x0]);for(let _0x470e8b=_0x40ddc5['length']-0x1;_0x470e8b>=0x0;_0x470e8b--){const _0x5677f2={'id':_0x3f6c62(0x1f0),'params':{..._0x40ddc5[_0x470e8b]}},_0xd1057a={'id':_0x3f6c62(0x1f0),'params':{..._0x21307d[_0x470e8b]}},_0x512ef6=this[_0x3f6c62(0x251)][_0x3f6c62(0x401)](_0x32c141,_0x5677f2,!0x1),_0x362f64=this[_0x3f6c62(0x251)][_0x3f6c62(0x401)](_0x53e033,_0xd1057a,!0x1);if(_0x1d55d1(_0x512ef6))throw _0x512ef6['error'];if(_0x1d55d1(_0x362f64))throw _0x362f64['error'];_0x3035f4[_0x3f6c62(0x4f2)](_0x512ef6[_0x3f6c62(0x38c)][_0x3f6c62(0x562)]),_0x207a02[_0x3f6c62(0x4f2)](_0x362f64[_0x3f6c62(0x38c)]['params']),_0x32c141=_0x512ef6['m1Prime'],_0x53e033=_0x362f64[_0x3f6c62(0x37e)];}_0x3303d7[_0x3f6c62(0x4a6)]({'undoCache':_0x3035f4,'redoCache':_0x207a02});}[_0x3f2ec9(0x3ee)](_0x268643){const _0x33c34c=_0x3f2ec9,{unitID:_0x216a5e}=_0x268643,_0x5a4c68=this[_0x33c34c(0x4b9)]['getRenderById'](_0x216a5e)[_0x33c34c(0x2af)](_0x467f19),_0x262ad1=_0x5a4c68[_0x33c34c(0x595)]();if(_0x262ad1==null)return;const _0x473488=[{'id':_0x33c34c(0x1f0),'params':{'unitId':_0x268643[_0x33c34c(0x350)],'actions':null,'textRanges':[_0x262ad1]}}],_0x48bb29=this['_transformService'][_0x33c34c(0x336)](_0x268643,_0x473488);if(!_0x678508(_0x48bb29))throw _0x48bb29[_0x33c34c(0x3b5)];const _0x1f2311=_0x48bb29['m2Prime'][0x0]['params']['textRanges'];Array[_0x33c34c(0x3a5)](_0x1f2311)&&_0x1f2311['length']&&_0x5a4c68[_0x33c34c(0x1cd)](_0x1f2311[0x0]);}};ft=Jr([At(0x0,_0x127ed5(_0x846a04)),At(0x1,_0x1ba0e0),At(0x2,_0x249704)],ft);var Zr=Object['defineProperty'],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x1637d2,_0x30def2,_0x265802,_0x1d6d5d)=>{const _0x1f26fd=_0x3f2ec9;for(var _0x455e03=_0x1d6d5d>0x1?void 0x0:_0x1d6d5d?Qr(_0x30def2,_0x265802):_0x30def2,_0x41e6a4=_0x1637d2[_0x1f26fd(0x3a7)]-0x1,_0x5d32e4;_0x41e6a4>=0x0;_0x41e6a4--)(_0x5d32e4=_0x1637d2[_0x41e6a4])&&(_0x455e03=(_0x1d6d5d?_0x5d32e4(_0x30def2,_0x265802,_0x455e03):_0x5d32e4(_0x455e03))||_0x455e03);return _0x1d6d5d&&_0x455e03&&Zr(_0x30def2,_0x265802,_0x455e03),_0x455e03;},Xe=(_0x529114,_0x19f52a)=>(_0x46fcc1,_0x4247a5)=>_0x19f52a(_0x46fcc1,_0x4247a5,_0x529114);let q=class extends _0x4bee31{constructor(_0x568118,_0x13f8c0,_0x39ee78,_0x428a31,_0x11ab39){const _0x5e23b9=_0x3f2ec9;super(),g(this,_0x5e23b9(0x225),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x5e23b9(0x270),!0x1),(this[_0x5e23b9(0x5b4)]=_0x568118,this[_0x5e23b9(0x433)]=_0x13f8c0,this[_0x5e23b9(0x2eb)]=_0x39ee78,this['_localeService']=_0x428a31,this[_0x5e23b9(0x2f8)]=_0x11ab39,this[_0x5e23b9(0x5ad)]());}[_0x3f2ec9(0x35f)](){const _0x37f1d5=_0x3f2ec9;this[_0x37f1d5(0x270)]=!0x0;}[_0x3f2ec9(0x514)](){const _0x20c8b1=_0x3f2ec9;this[_0x20c8b1(0x270)]=!0x1;}[_0x3f2ec9(0x385)](){const _0x419558=_0x3f2ec9;this[_0x419558(0x55f)]()[_0x419558(0x33f)](()=>super[_0x419558(0x385)]());}async['loadOfflineData'](_0x5ea4d0){const _0x4d7199=_0x3f2ec9;return this[_0x4d7199(0x270)]?null:this[_0x4d7199(0x433)][_0x4d7199(0x5ac)](Bs(_0x5ea4d0));}async[_0x3f2ec9(0x4e1)](_0x50fcac,_0x498627){const _0x1d7df8=_0x3f2ec9;return!!this[_0x1d7df8(0x433)]['setItem'](_0x50fcac,_0x498627);}[_0x3f2ec9(0x368)](_0xed5f52,_0x51a158,_0x949b95,_0xc314ac){const _0x2b77d8=_0x3f2ec9,_0xe6e592=this['_revisionService'][_0x2b77d8(0x51a)](_0xed5f52);this[_0x2b77d8(0x225)][_0x2b77d8(0x250)](_0xed5f52,{'unitID':_0xed5f52,'type':_0x51a158,'awaitingChangeset':_0x949b95,'mutations':_0xc314ac,'rev':_0xe6e592}),this[_0x2b77d8(0x2f9)][_0x2b77d8(0x25f)](_0xed5f52)||this['_scheduleSaving'](_0xed5f52);}[_0x3f2ec9(0x5aa)](_0x5b4f27){const _0x1dc248=_0x3f2ec9,_0x458185=this[_0x1dc248(0x386)]();_0x458185===0x0?this[_0x1dc248(0x3d4)](_0x5b4f27):this[_0x1dc248(0x2f9)][_0x1dc248(0x250)](_0x5b4f27,setTimeout(()=>this[_0x1dc248(0x3d4)](_0x5b4f27),_0x458185));}['_getSaveTimeout'](){const _0x3e56b0=_0x3f2ec9;var _0x55310a;return(_0x55310a=this[_0x3e56b0(0x5b4)][_0x3e56b0(0x4d2)](Sr))!=null?_0x55310a:Ir;}[_0x3f2ec9(0x3d4)](_0x232901){const _0x4134a3=_0x3f2ec9,_0x1bf4e5=this[_0x4134a3(0x2f9)]['get'](_0x232901);return _0x1bf4e5!==void 0x0&&window['clearTimeout'](_0x1bf4e5),this['_localStorageService'][_0x4134a3(0x34c)](Bs(_0x232901),this[_0x4134a3(0x225)][_0x4134a3(0x333)](_0x232901))[_0x4134a3(0x33f)](()=>this[_0x4134a3(0x2f9)]['delete'](_0x232901));}async[_0x3f2ec9(0x55f)](){const _0x2ee166=_0x3f2ec9,_0x52b90c=[];this[_0x2ee166(0x2f9)][_0x2ee166(0x346)]((_0x1192d4,_0x1bc7de)=>{const _0x2ca45e=_0x2ee166;window[_0x2ca45e(0x46c)](_0x1192d4),_0x52b90c[_0x2ca45e(0x496)](this['_saveCache'](_0x1bc7de)['then'](()=>{const _0x114fed=_0x2ca45e;this[_0x114fed(0x2f9)][_0x114fed(0x1c4)](_0x1bc7de);}));}),await Promise[_0x2ee166(0x5ba)](_0x52b90c);}['_setupBeforeClosingHandler'](){const _0x4fda3e=_0x3f2ec9;this[_0x4fda3e(0x324)](this[_0x4fda3e(0x2eb)]['registerBeforeClose'](()=>{const _0x2743b1=_0x4fda3e;if(this[_0x2743b1(0x2f9)][_0x2743b1(0x258)])return this[_0x2743b1(0x311)]['t'](_0x2743b1(0x3b2));}));}};q=eo([Xe(0x0,_0x5293d7),Xe(0x1,_0x249ce2),Xe(0x2,_0x42b0b0),Xe(0x3,_0x127ed5(_0x4d6b84)),Xe(0x4,_0x127ed5(_0x5633d8))],q);function Bs(_0x4017e5){const _0x32362a=_0x3f2ec9;return _0x32362a(0x1bc)+_0x4017e5;}var to=Object['defineProperty'],so=Object[_0x3f2ec9(0x318)],io=(_0x4d1b52,_0x35fcd4,_0x9b5872,_0x1a67bc)=>{const _0x1c9a0f=_0x3f2ec9;for(var _0x4fc2c7=_0x1a67bc>0x1?void 0x0:_0x1a67bc?so(_0x35fcd4,_0x9b5872):_0x35fcd4,_0x5d0713=_0x4d1b52[_0x1c9a0f(0x3a7)]-0x1,_0x2866e8;_0x5d0713>=0x0;_0x5d0713--)(_0x2866e8=_0x4d1b52[_0x5d0713])&&(_0x4fc2c7=(_0x1a67bc?_0x2866e8(_0x35fcd4,_0x9b5872,_0x4fc2c7):_0x2866e8(_0x4fc2c7))||_0x4fc2c7);return _0x1a67bc&&_0x4fc2c7&&to(_0x35fcd4,_0x9b5872,_0x4fc2c7),_0x4fc2c7;},Mt=(_0x3c91ab,_0x5b8c33)=>(_0x26f197,_0x28cf23)=>_0x5b8c33(_0x26f197,_0x28cf23,_0x3c91ab);function no(_0x4f152f){const _0x213aaf=_0x3f2ec9,{unitID:_0x2c594b,mutations:_0xddaa3d}=_0x4f152f;return{'unitId':_0x2c594b,'subUnitId':_0xddaa3d[0x0][_0x213aaf(0x562)][_0x213aaf(0x411)]};}let vt=class{constructor(_0x3ff781,_0x7d8466,_0x33cf62){const _0x2745e6=_0x3f2ec9;this['_injector']=_0x3ff781,this[_0x2745e6(0x251)]=_0x7d8466,this[_0x2745e6(0x1f1)]=_0x33cf62;}['transformSelections'](_0x4be907){const _0xb44ae=_0x3f2ec9;var _0x212f32,_0x451895,_0x2323e0,_0x3a10e0;const _0x43f697=this[_0xb44ae(0x469)][_0xb44ae(0x333)](_0x3c5a27),{unitId:_0x7129ae,subUnitId:_0x52d260}=no(_0x4be907),_0x2a6030=_0x43f697['getWorkbookSelections'](_0x7129ae)[_0xb44ae(0x53b)](),_0x504e53=(_0x451895=(_0x212f32=this[_0xb44ae(0x1f1)][_0xb44ae(0x32d)](_0x7129ae))==null?void 0x0:_0x212f32[_0xb44ae(0x567)]())==null?void 0x0:_0x451895[_0xb44ae(0x3fa)]();if(_0x2a6030[_0xb44ae(0x3a7)]===0x0||!_0x7129ae||!_0x52d260)return;const _0x5725e9=[{'id':_0x57bc2c['id'],'params':{'unitId':_0x7129ae,'subUnitId':_0x504e53,'selections':_0x109dec['deepClone'](_0x2a6030)}}],_0x3c5928=this['_transformService'][_0xb44ae(0x336)](_0x4be907,_0x5725e9);if(!_0x678508(_0x3c5928))throw _0x3c5928[_0xb44ae(0x3b5)];const _0x294be8=(_0x3a10e0=(_0x2323e0=_0x3c5928[_0xb44ae(0x38c)][0x0])==null?void 0x0:_0x2323e0[_0xb44ae(0x562)])==null?void 0x0:_0x3a10e0[_0xb44ae(0x4ed)];if(Array['isArray'](_0x294be8)&&_0x294be8[_0xb44ae(0x3a7)]){if(_0x294be8['length']===_0x5725e9[0x0][_0xb44ae(0x562)][_0xb44ae(0x4ed)][_0xb44ae(0x3a7)]&&_0x294be8[_0xb44ae(0x4fe)]((_0xf67c30,_0x18a50c)=>_0x4460be['equals'](_0xf67c30[_0xb44ae(0x4eb)],_0x5725e9[0x0][_0xb44ae(0x562)]['selections'][_0x18a50c]['range'])))return;this[_0xb44ae(0x469)][_0xb44ae(0x333)](_0x49a021)[_0xb44ae(0x1d2)](_0x57bc2c['id'],{'unitId':_0x7129ae,'subUnitId':_0x504e53,'selections':_0x294be8});}}};vt=io([Mt(0x0,_0x127ed5(_0x846a04)),Mt(0x1,_0x1ba0e0),Mt(0x2,_0x4c4975)],vt);const Rt=_0x229333('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x14e143=>(_0x14e143[_0x14e143['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x14e143[_0x14e143[_0x3f2ec9(0x277)]=0x1]=_0x3f2ec9(0x277),_0x14e143))(Di||{});const ks=0x7530,Ws=_0x3f2ec9(0x35e);class ro extends _0x4bee31{constructor(){const _0x5f464a=_0x3f2ec9;super(),g(this,'_id',_0x109dec['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x5f464a(0x1c0),new Map()),g(this,_0x5f464a(0x21f),null),g(this,_0x5f464a(0x355),new Map()),g(this,_0x5f464a(0x4b3),new Map()),this[_0x5f464a(0x51f)]();}[_0x3f2ec9(0x385)](){const _0x3244d8=_0x3f2ec9;super[_0x3244d8(0x385)](),this['_clearOtherTimers'][_0x3244d8(0x346)]((_0xda5ddf,_0x5a518a)=>this[_0x3244d8(0x487)](_0x5a518a)),this[_0x3244d8(0x21f)]&&window[_0x3244d8(0x4f3)](this[_0x3244d8(0x21f)]);}[_0x3f2ec9(0x362)](_0x14462d){const _0x2f0203=_0x3f2ec9;return this[_0x2f0203(0x4ad)](_0x14462d)['pipe'](_0x585caa());}['editingUnit'](_0x72a507){const _0x1cecf1=_0x3f2ec9;this[_0x1cecf1(0x1e9)][_0x1cecf1(0x258)]===0x0&&this[_0x1cecf1(0x5be)](),this['_selfUnitIDs']['add'](_0x72a507),this[_0x1cecf1(0x569)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x72a507],'isForwarded':!0x1});}[_0x3f2ec9(0x36d)](_0x1f0fd0){const _0x3ad9d6=_0x3f2ec9;this[_0x3ad9d6(0x1e9)][_0x3ad9d6(0x1c4)](_0x1f0fd0),this['_selfUnitIDs'][_0x3ad9d6(0x258)]===0x0&&this[_0x3ad9d6(0x21f)]&&window['clearInterval'](this[_0x3ad9d6(0x21f)]);}[_0x3f2ec9(0x51f)](){const _0x1a9619=_0x3f2ec9;this[_0x1a9619(0x324)](_0x5d23c9(_0x61e8c9(window,'storage')[_0x1a9619(0x27a)](_0x3336e4=>{const _0x2cdb2e=_0x1a9619;if(_0x3336e4[_0x2cdb2e(0x425)]!==Ws||!_0x3336e4['newValue'])return;const _0x332428=JSON[_0x2cdb2e(0x224)](_0x3336e4[_0x2cdb2e(0x328)]);this[_0x2cdb2e(0x275)](_0x332428);}))),window[_0x1a9619(0x337)](_0x1a9619(0x365),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1a9619(0x424)](this[_0x1a9619(0x1e9)])}));}[_0x3f2ec9(0x275)](_0x2c4668){const _0x281a94=_0x3f2ec9;switch(_0x2c4668['type']){case 0x0:this[_0x281a94(0x44f)](_0x2c4668);break;case 0x1:this[_0x281a94(0x24a)](_0x2c4668);break;case 0x2:this[_0x281a94(0x59a)](_0x2c4668);break;}}[_0x3f2ec9(0x44f)](_0x557f99){const _0x57e560=_0x3f2ec9,{unitIDs:_0x5aa7c0,memberID:_0x2fc82e,isForwarded:_0x1b82be}=_0x557f99;_0x5aa7c0[_0x57e560(0x346)](_0x539225=>{const _0x48f2e4=_0x57e560;if(!_0x1b82be&&this['_unitOnClients']['has'](_0x539225)&&this[_0x48f2e4(0x4ad)](_0x539225)['next'](0x1),!this['_unitOnClients'][_0x48f2e4(0x25f)](_0x539225)||!this[_0x48f2e4(0x1c0)][_0x48f2e4(0x333)](_0x539225)['has'](_0x2fc82e)){const _0x3d88ed=this[_0x48f2e4(0x1c0)][_0x48f2e4(0x333)](_0x539225)||new Set();_0x3d88ed[_0x48f2e4(0x304)](_0x2fc82e),this[_0x48f2e4(0x1c0)][_0x48f2e4(0x250)](_0x539225,_0x3d88ed),this['_scheduleClearOtherTimer'](_0x2fc82e);}}),_0x1b82be||this[_0x57e560(0x569)]({'type':0x0,'memberID':this[_0x57e560(0x246)],'unitIDs':[...this[_0x57e560(0x1e9)]],'isForwarded':!0x0});}[_0x3f2ec9(0x2b8)](_0x2dc481){const _0x3d60bb=_0x3f2ec9;this[_0x3d60bb(0x487)](_0x2dc481);const _0x3deadc=window[_0x3d60bb(0x222)](()=>{const _0x30cae9=_0x3d60bb;this['_unitOnClients'][_0x30cae9(0x346)](_0x542d13=>{const _0x5d39c9=_0x30cae9;_0x542d13[_0x5d39c9(0x1c4)](_0x2dc481);});},ks*0x2);this[_0x3d60bb(0x355)][_0x3d60bb(0x250)](_0x2dc481,_0x3deadc);}[_0x3f2ec9(0x487)](_0x10be00){const _0x2209e3=_0x3f2ec9;if(this[_0x2209e3(0x355)][_0x2209e3(0x25f)](_0x10be00)){const _0x2e06bd=this['_clearOtherTimers'][_0x2209e3(0x333)](_0x10be00);_0x2e06bd&&window[_0x2209e3(0x46c)](_0x2e06bd),this[_0x2209e3(0x355)][_0x2209e3(0x250)](_0x10be00,null);}}[_0x3f2ec9(0x24a)](_0x52b8d3){const _0x179d46=_0x3f2ec9,{memberID:_0x5c8f35,unitIDs:_0x385423}=_0x52b8d3;_0x385423['forEach'](_0x2fd608=>{const _0x19137f=_0x1414;var _0x265111;const _0x5e1308=this[_0x19137f(0x1c0)][_0x19137f(0x333)](_0x2fd608);_0x5e1308&&(_0x5e1308[_0x19137f(0x1c4)](_0x5c8f35),(_0x265111=this['_ensureSubject'](_0x2fd608))==null||_0x265111[_0x19137f(0x3f5)](_0x5e1308[_0x19137f(0x258)]===0x0?0x0:0x1));}),this[_0x179d46(0x487)](_0x5c8f35);}[_0x3f2ec9(0x59a)](_0x537d90){this['_scheduleClearOtherTimer'](_0x537d90['memberID']);}[_0x3f2ec9(0x569)](_0x11ee67){const _0x14e068=_0x3f2ec9;localStorage[_0x14e068(0x34c)](Ws,JSON[_0x14e068(0x5a1)](_0x11ee67));}[_0x3f2ec9(0x5be)](){const _0x181347=_0x3f2ec9;this['_heartbeatTimer']=window[_0x181347(0x227)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},ks);}[_0x3f2ec9(0x4ad)](_0x352321){const _0x667a41=_0x3f2ec9;return this[_0x667a41(0x4b3)][_0x667a41(0x25f)](_0x352321)||this[_0x667a41(0x4b3)][_0x667a41(0x250)](_0x352321,new _0x286de7(0x0)),this[_0x667a41(0x4b3)][_0x667a41(0x333)](_0x352321);}}var oo=Object[_0x3f2ec9(0x323)],ao=Object[_0x3f2ec9(0x318)],co=(_0x2071c,_0x2b76f9,_0x1cc97a,_0x4a1aa8)=>{const _0x5e3d7a=_0x3f2ec9;for(var _0x518fb4=_0x4a1aa8>0x1?void 0x0:_0x4a1aa8?ao(_0x2b76f9,_0x1cc97a):_0x2b76f9,_0x5cac4d=_0x2071c[_0x5e3d7a(0x3a7)]-0x1,_0x539765;_0x5cac4d>=0x0;_0x5cac4d--)(_0x539765=_0x2071c[_0x5cac4d])&&(_0x518fb4=(_0x4a1aa8?_0x539765(_0x2b76f9,_0x1cc97a,_0x518fb4):_0x539765(_0x518fb4))||_0x518fb4);return _0x4a1aa8&&_0x518fb4&&oo(_0x2b76f9,_0x1cc97a,_0x518fb4),_0x518fb4;},xt=(_0x4459ec,_0x44f2fc)=>(_0x20b45c,_0xf826ed)=>_0x44f2fc(_0x20b45c,_0xf826ed,_0x4459ec);let mt=class{constructor(_0x48e834,_0x408ca2,_0x2c85f2){const _0x5dda33=_0x3f2ec9;this['_injector']=_0x48e834,this[_0x5dda33(0x251)]=_0x408ca2,this[_0x5dda33(0x1c5)]=_0x2c85f2;}[_0x3f2ec9(0x5a0)](_0x36e577){this['_transformHistoryAndStateStack'](_0x36e577);}['transformRemoteChangeset'](_0x4d198a){const _0x470580=_0x3f2ec9,{unitID:_0x3f0430}=_0x4d198a,{collaboration:_0x40aa31}=this[_0x470580(0x1c5)][_0x470580(0x5c3)](_0x3f0430);if(_0x40aa31['length']===0x0)return _0x4d198a;let _0x2c36d6=_0x109dec[_0x470580(0x3ff)](_0x4d198a[_0x470580(0x3e6)][0x0]);for(let _0x38895e=0x0;_0x38895e<_0x40aa31[_0x470580(0x3a7)];_0x38895e++){const _0x3526db={'id':_0x470580(0x1f0),'params':{'unitId':_0x40aa31[_0x38895e][_0x470580(0x423)],..._0x40aa31[_0x38895e][_0x470580(0x4fc)]}},_0xb3ecec=this[_0x470580(0x251)][_0x470580(0x401)](_0x2c36d6,_0x3526db,!0x1);if(_0x1d55d1(_0xb3ecec))throw _0xb3ecec[_0x470580(0x3b5)];_0x2c36d6=_0xb3ecec[_0x470580(0x37e)];}return{..._0x109dec[_0x470580(0x3ff)](_0x4d198a),'mutations':[_0x2c36d6]};}[_0x3f2ec9(0x4b1)](_0x423055){const _0x4fd26c=_0x3f2ec9,{unitID:_0x4aa1d6}=_0x423055,{history:_0x4ff558,collaboration:_0x5743c4}=this['_docStateChangeManagerService'][_0x4fd26c(0x5c3)](_0x4aa1d6);if(_0x4ff558['length']===0x0&&_0x5743c4[_0x4fd26c(0x3a7)]===0x0)return;const _0x363c7b=[],_0x2e0671=[];let _0x39233c=_0x109dec['deepClone'](_0x423055[_0x4fd26c(0x3e6)][0x0]),_0x2c7cbf=_0x109dec[_0x4fd26c(0x3ff)](_0x423055[_0x4fd26c(0x3e6)][0x0]);for(let _0x1e085d=_0x4ff558['length']-0x1;_0x1e085d>=0x0;_0x1e085d--){const _0x2ca60f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ff558[_0x1e085d][_0x4fd26c(0x423)],..._0x4ff558[_0x1e085d][_0x4fd26c(0x488)]}},_0x2e5631={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ff558[_0x1e085d][_0x4fd26c(0x423)],..._0x4ff558[_0x1e085d][_0x4fd26c(0x4fc)]}},_0x2b3932=this['_transformService'][_0x4fd26c(0x401)](_0x39233c,_0x2ca60f,!0x1),_0x197cf3=this['_transformService'][_0x4fd26c(0x401)](_0x2c7cbf,_0x2e5631,!0x1);if(_0x1d55d1(_0x2b3932))throw _0x2b3932[_0x4fd26c(0x3b5)];if(_0x1d55d1(_0x197cf3))throw _0x197cf3[_0x4fd26c(0x3b5)];_0x363c7b['unshift']({..._0x4ff558[_0x1e085d],'undoState':_0x2b3932['m2Prime'][_0x4fd26c(0x562)],'redoState':_0x197cf3[_0x4fd26c(0x38c)][_0x4fd26c(0x562)]}),_0x39233c=_0x2b3932['m1Prime'],_0x2c7cbf=_0x197cf3['m1Prime'];}_0x39233c=_0x109dec[_0x4fd26c(0x3ff)](_0x423055[_0x4fd26c(0x3e6)][0x0]),_0x2c7cbf=_0x109dec[_0x4fd26c(0x3ff)](_0x423055['mutations'][0x0]);for(let _0x78a8b1=_0x5743c4[_0x4fd26c(0x3a7)]-0x1;_0x78a8b1>=0x0;_0x78a8b1--){const _0x28025a={'id':_0x4fd26c(0x1f0),'params':{'unitId':_0x5743c4[_0x78a8b1][_0x4fd26c(0x423)],..._0x5743c4[_0x78a8b1][_0x4fd26c(0x488)]}},_0x46cff9={'id':_0x4fd26c(0x1f0),'params':{'unitId':_0x5743c4[_0x78a8b1][_0x4fd26c(0x423)],..._0x5743c4[_0x78a8b1]['redoState']}},_0x176877=this[_0x4fd26c(0x251)]['transformMutation'](_0x39233c,_0x28025a,!0x1),_0x594e18=this[_0x4fd26c(0x251)][_0x4fd26c(0x401)](_0x2c7cbf,_0x46cff9,!0x1);if(_0x1d55d1(_0x176877))throw _0x176877[_0x4fd26c(0x3b5)];if(_0x1d55d1(_0x594e18))throw _0x594e18[_0x4fd26c(0x3b5)];_0x2e0671[_0x4fd26c(0x4f2)]({..._0x5743c4[_0x78a8b1],'undoState':_0x176877[_0x4fd26c(0x38c)][_0x4fd26c(0x562)],'redoState':_0x594e18[_0x4fd26c(0x38c)]['params']}),_0x39233c=_0x176877[_0x4fd26c(0x37e)],_0x2c7cbf=_0x594e18[_0x4fd26c(0x37e)];}this[_0x4fd26c(0x1c5)][_0x4fd26c(0x236)](_0x4aa1d6,{'history':_0x363c7b,'collaboration':_0x2e0671});}};mt=co([xt(0x0,_0x127ed5(_0x846a04)),xt(0x1,_0x1ba0e0),xt(0x2,_0x127ed5(_0x2813e4))],mt);function Pi(_0x25657e){const _0x2170a4=_0x3f2ec9;let _0x59879f='';for(const _0x592e46 of _0x25657e){const {startOffset:_0x54066e,endOffset:_0x19af17,isActive:_0x178e57,rangeType:_0x3e2b09,segmentId:_0x238da8,segmentPage:_0x49a96a}=_0x592e46;_0x59879f[_0x2170a4(0x3a7)]&&(_0x59879f+=','),_0x59879f+=_0x54066e+':'+_0x19af17+':'+(_0x178e57?'1':'0')+':'+_0x3e2b09+':'+_0x238da8+':'+_0x49a96a;}return _0x59879f;}function ho(_0x4ab79f){const _0xc05ed2=_0x3f2ec9,_0x5ef2d3=_0x4ab79f[_0xc05ed2(0x541)](','),_0x5d4fa9=[];for(const _0x11a086 of _0x5ef2d3){const [_0x1626bb,_0x400653,_0x41453b,_0xb8e7cb,_0x20e471,_0xac3d8f]=_0x11a086[_0xc05ed2(0x541)](':');_0x5d4fa9['push']({'startOffset':Number(_0x1626bb),'endOffset':Number(_0x400653),'collapsed':_0x1626bb===_0x400653,'isActive':_0x41453b==='1','rangeType':_0xb8e7cb===_0x5dc937[_0xc05ed2(0x5a2)]?_0x5dc937[_0xc05ed2(0x5a2)]:_0x5dc937[_0xc05ed2(0x447)],'segmentId':typeof _0x20e471==_0xc05ed2(0x506)?String(_0x20e471):'','segmentPage':Number(_0xac3d8f!=null?_0xac3d8f:-0x1)});}return _0x5d4fa9['some'](_0x5479dd=>_0x5479dd[_0xc05ed2(0x51e)])||(_0x5d4fa9[0x0][_0xc05ed2(0x51e)]=!0x0),_0x5d4fa9;}class Cs extends _0x404743{constructor(){const _0x2b01ff=_0x3f2ec9;super(...arguments),g(this,_0x2b01ff(0x1cf),new _0x286de7(null)),g(this,_0x2b01ff(0x524),this['_collabCursorState$'][_0x2b01ff(0x5d2)]());}['syncEditingCollabCursor'](_0x29da57){const _0x166b55=_0x3f2ec9,{unitID:_0x1c183b,memberID:_0x5e39f5,textRanges:_0xb7fcf8}=_0x29da57,_0x2a9ea4=Pi(_0xb7fcf8);if(_0x2a9ea4==='')return;const _0x18474e={'unitID':_0x1c183b,'memberID':_0x5e39f5,'selection':_0x2a9ea4};this[_0x166b55(0x1cf)]['next'](_0x18474e);}}var lo=Object[_0x3f2ec9(0x323)],_o=Object[_0x3f2ec9(0x318)],uo=(_0xb69bd1,_0x1df194,_0x34fc7e,_0x3fba31)=>{for(var _0x465819=_0x3fba31>0x1?void 0x0:_0x3fba31?_o(_0x1df194,_0x34fc7e):_0x1df194,_0x38cfde=_0xb69bd1['length']-0x1,_0x4fc384;_0x38cfde>=0x0;_0x38cfde--)(_0x4fc384=_0xb69bd1[_0x38cfde])&&(_0x465819=(_0x3fba31?_0x4fc384(_0x1df194,_0x34fc7e,_0x465819):_0x4fc384(_0x465819))||_0x465819);return _0x3fba31&&_0x465819&&lo(_0x1df194,_0x34fc7e,_0x465819),_0x465819;},Fs=(_0x26fbba,_0x5dbc82)=>(_0x10fd5a,_0xd5886f)=>_0x5dbc82(_0x10fd5a,_0xd5886f,_0x26fbba);let pt=class{constructor(_0x5c44ce,_0x1e50a2){const _0x26a071=_0x3f2ec9;this[_0x26a071(0x469)]=_0x5c44ce,this[_0x26a071(0x251)]=_0x1e50a2;}[_0x3f2ec9(0x234)](_0x8e0b8f){const _0x53cca9=_0x3f2ec9;var _0x50594f;const _0x466884=this['_injector'][_0x53cca9(0x333)](_0x36c4dd),_0x24b6cc=(_0x50594f=_0x466884['getDocRanges']())!=null?_0x50594f:[];if(_0x24b6cc[_0x53cca9(0x3a7)]===0x0)return;const _0x2693b5=_0x8e0b8f[_0x53cca9(0x350)],_0x59cfff=[{'id':_0x53cca9(0x1f0),'params':{'unitId':_0x2693b5,'actions':null,'textRanges':_0x24b6cc}}],_0x5afbdf=this['_transformService']['transformMutationsWithChangeset'](_0x8e0b8f,_0x59cfff);if(!_0x678508(_0x5afbdf))throw _0x5afbdf[_0x53cca9(0x3b5)];const _0x269017=_0x5afbdf[_0x53cca9(0x38c)][0x0][_0x53cca9(0x562)][_0x53cca9(0x2ac)];Array[_0x53cca9(0x3a5)](_0x269017)&&_0x269017[_0x53cca9(0x3a7)]&&_0x466884[_0x53cca9(0x56e)](_0x269017,{'unitId':_0x2693b5,'subUnitId':_0x2693b5},!0x1);}};pt=uo([Fs(0x0,_0x127ed5(_0x846a04)),Fs(0x1,_0x1ba0e0)],pt);const fo=new Set([_0x43bbdd['id']]);function Vs(_0x21561b,_0x1c718b,_0x107441,_0x453415,_0x5ac0f4){const _0x5dda64=_0x3f2ec9;var _0x464469,_0x1b5abb,_0x265961,_0x584fb7;const _0x397c3d=[];for(const _0x10092e of _0x21561b)if(fo[_0x5dda64(0x25f)](_0x10092e['id'])){if(_0x397c3d[_0x5dda64(0x3a7)]>0x0)break;_0x397c3d[_0x5dda64(0x496)](_0x10092e);break;}else _0x397c3d[_0x5dda64(0x496)](_0x10092e);const _0x3ee379=(_0x1b5abb=(_0x464469=_0x5ac0f4[_0x5dda64(0x555)]())==null?void 0x0:_0x464469[_0x5dda64(0x319)])!=null?_0x1b5abb:'unknown',_0x1e71de=(_0x584fb7=(_0x265961=_0x5ac0f4[_0x5dda64(0x555)]())==null?void 0x0:_0x265961['memberID'])!=null?_0x584fb7:'unknown';return{'changeset':{'unitID':_0x1c718b,'type':_0x54ef7c(_0x107441[_0x5dda64(0x247)](_0x1c718b)),'baseRev':_0x453415['getCurrentRevOfUnit'](_0x1c718b),'revision':0x0,'userID':_0x3ee379,'memberID':_0x1e71de,'mutations':_0x397c3d},'pendingMutations':_0x21561b[_0x5dda64(0x43e)](_0x397c3d[_0x5dda64(0x3a7)])};}function vo(_0x5396d,_0x517056,_0x3f634f,_0x4d1d7e,_0x3566bb){const _0xc9d889=_0x3f2ec9;var _0x49a717,_0x5d9433,_0xa431bd,_0x344f82;const _0x4098bc=[_0x5396d[_0xc9d889(0x228)]((_0x2b8f94,_0x3325c6)=>{const _0x1aefb1=_0xc9d889;var _0xa6089b;const {id:_0x8c4f64}=_0x2b8f94,{id:_0x43e620,type:_0x3ed2c5}=_0x3325c6,_0xd6d892=(_0xa6089b=_0x2b8f94[_0x1aefb1(0x562)])!=null?_0xa6089b:{'actions':null},_0x48cfd5=_0x3325c6[_0x1aefb1(0x562)];if(_0x8c4f64&&_0x8c4f64!==_0x43e620)throw new Error(_0x1aefb1(0x341)+_0x8c4f64+_0x1aefb1(0x3f7)+_0x43e620+'.');return{..._0x2b8f94,'id':_0x43e620,'type':_0x3ed2c5,'params':{'unitId':_0x48cfd5['unitId'],'textRanges':_0x48cfd5[_0x1aefb1(0x2ac)],'actions':_0x29a830[_0x1aefb1(0x24c)](_0xd6d892[_0x1aefb1(0x489)],_0x48cfd5[_0x1aefb1(0x489)])}};},{})],_0x34125d=(_0x5d9433=(_0x49a717=_0x3566bb[_0xc9d889(0x555)]())==null?void 0x0:_0x49a717[_0xc9d889(0x319)])!=null?_0x5d9433:'unknown',_0x383adc=(_0x344f82=(_0xa431bd=_0x3566bb[_0xc9d889(0x555)]())==null?void 0x0:_0xa431bd[_0xc9d889(0x3b6)])!=null?_0x344f82:_0xc9d889(0x55c);return{'changeset':{'unitID':_0x517056,'type':_0x54ef7c(_0x3f634f[_0xc9d889(0x247)](_0x517056)),'baseRev':_0x4d1d7e[_0xc9d889(0x51a)](_0x517056),'revision':0x0,'userID':_0x34125d,'memberID':_0x383adc,'mutations':_0x4098bc},'pendingMutations':[]};}function Ui(_0x37ced6,_0x1f5aaa){const _0x4dd615=_0x3f2ec9,_0x5be64c=new _0x49284b(0x1);return setTimeout(()=>_0x5be64c[_0x4dd615(0x3f5)](_0x1f5aaa),_0x37ced6),_0x5be64c['asObservable']()[_0x4dd615(0x3c4)](_0x1f972f(0x1));}const mo={'id':_0x181cd4['id'],'type':_0x2597e7[_0x3f2ec9(0x5af)],'params':{}};var po=Object['defineProperty'],go=Object[_0x3f2ec9(0x318)],Le=(_0x191a7a,_0x28301d,_0x4bba6a,_0x2d796f)=>{const _0x446e53=_0x3f2ec9;for(var _0xfcf613=_0x2d796f>0x1?void 0x0:_0x2d796f?go(_0x28301d,_0x4bba6a):_0x28301d,_0x1d80c6=_0x191a7a[_0x446e53(0x3a7)]-0x1,_0x505c54;_0x1d80c6>=0x0;_0x1d80c6--)(_0x505c54=_0x191a7a[_0x1d80c6])&&(_0xfcf613=(_0x2d796f?_0x505c54(_0x28301d,_0x4bba6a,_0xfcf613):_0x505c54(_0xfcf613))||_0xfcf613);return _0x2d796f&&_0xfcf613&&po(_0x28301d,_0x4bba6a,_0xfcf613),_0xfcf613;},A=(_0x902a75,_0x276a38)=>(_0x2e6fe3,_0x536bd9)=>_0x276a38(_0x2e6fe3,_0x536bd9,_0x902a75),J=(_0x579ff2=>(_0x579ff2['NOT_COLLAB']='not_collab',_0x579ff2[_0x3f2ec9(0x364)]=_0x3f2ec9(0x1e4),_0x579ff2['PENDING']=_0x3f2ec9(0x2b4),_0x579ff2[_0x3f2ec9(0x38f)]=_0x3f2ec9(0x4bd),_0x579ff2[_0x3f2ec9(0x534)]=_0x3f2ec9(0x4d8),_0x579ff2[_0x3f2ec9(0x35a)]=_0x3f2ec9(0x4dc),_0x579ff2['CONFLICT']=_0x3f2ec9(0x23c),_0x579ff2['OFFLINE']=_0x3f2ec9(0x37f),_0x579ff2))(J||{});const Ni=0xea60;class $e{constructor(_0x3ff3f0,_0xd9eabe,_0x9b2747,_0x43723f,_0x540915,_0x474c50,_0x1312b2,_0x34b9e2,_0x38d25d){const _0x488c2c=_0x3f2ec9;g(this,_0x488c2c(0x4c6),null),g(this,_0x488c2c(0x52a),[]),(this[_0x488c2c(0x350)]=_0x3ff3f0,this[_0x488c2c(0x4e4)]=_0xd9eabe,this[_0x488c2c(0x4ab)]=_0x540915,this['_commandService']=_0x474c50,this[_0x488c2c(0x40f)]=_0x1312b2,this[_0x488c2c(0x2f8)]=_0x34b9e2,this['_localCacheService']=_0x38d25d,this[_0x488c2c(0x4c6)]=_0x9b2747,this['_pendingMutations']=_0x43723f);}[_0x3f2ec9(0x2cf)](_0x4d1ae7){const _0x46fdc0=_0x3f2ec9,_0x3614a6=this[_0x46fdc0(0x2f8)][_0x46fdc0(0x51a)](this[_0x46fdc0(0x350)]);return _0x4d1ae7[_0x46fdc0(0x2d8)]>_0x3614a6+0x1?(this[_0x46fdc0(0x4ab)][_0x46fdc0(0x3c6)]({'from':_0x3614a6,'to':_0x4d1ae7[_0x46fdc0(0x2d8)]-0x1}),!0x0):!0x1;}[_0x3f2ec9(0x5c6)](_0x551c9f){const _0x5a32f5=_0x3f2ec9;this[_0x5a32f5(0x40f)][_0x5a32f5(0x599)](this[_0x5a32f5(0x350)],_0x551c9f);}[_0x3f2ec9(0x3da)](_0x48a547){const _0x42b3ee=_0x3f2ec9;var _0x454053,_0x38b088;(_0x38b088=(_0x454053=this[_0x42b3ee(0x4ab)])['onTransformSelections'])==null||_0x38b088[_0x42b3ee(0x570)](_0x454053,_0x48a547);}[_0x3f2ec9(0x415)](_0x5db6ac){const _0x18feb5=_0x3f2ec9;var _0x2779cb,_0x51b2dd;return(_0x51b2dd=(_0x2779cb=this[_0x18feb5(0x4ab)])[_0x18feb5(0x4e8)])==null?void 0x0:_0x51b2dd[_0x18feb5(0x570)](_0x2779cb,_0x5db6ac);}[_0x3f2ec9(0x24b)](_0x2666cf){const _0x430c5b=_0x3f2ec9;var _0x76bafd,_0x2f7d27;return(_0x2f7d27=(_0x76bafd=this[_0x430c5b(0x4ab)])[_0x430c5b(0x39a)])==null?void 0x0:_0x2f7d27[_0x430c5b(0x570)](_0x76bafd,_0x2666cf);}['_transformRemoteChangesetByIMECache'](_0x340360){const _0x119e0e=_0x3f2ec9;var _0x1d94a6,_0x69f766,_0x4ab146;return(_0x4ab146=(_0x69f766=(_0x1d94a6=this[_0x119e0e(0x4ab)])[_0x119e0e(0x3fc)])==null?void 0x0:_0x69f766[_0x119e0e(0x570)](_0x1d94a6,_0x340360))!=null?_0x4ab146:_0x340360;}[_0x3f2ec9(0x206)](_0x5d917a){const _0x3948e9=_0x3f2ec9;var _0x5eab48,_0xc4d106,_0x1b3e2d;return(_0x1b3e2d=(_0xc4d106=(_0x5eab48=this[_0x3948e9(0x4ab)])[_0x3948e9(0x32b)])==null?void 0x0:_0xc4d106[_0x3948e9(0x570)](_0x5eab48,_0x5d917a))!=null?_0x1b3e2d:_0x5d917a;}[_0x3f2ec9(0x2b3)](_0x181df9){const _0x69d752=_0x3f2ec9;var _0x20c79a,_0x2d446b;if(this[_0x69d752(0x4e4)]===ce['UNIVER_DOC']){const {unitID:_0x425ed3,mutations:_0x5d90c0,memberID:_0xfbdfff}=_0x181df9,_0x3798c1=_0x5d90c0[0x0][_0x69d752(0x562)][_0x69d752(0x2ac)];Array['isArray'](_0x3798c1)&&_0x3798c1['length']>0x0&&((_0x2d446b=(_0x20c79a=this[_0x69d752(0x4ab)])[_0x69d752(0x313)])==null||_0x2d446b[_0x69d752(0x570)](_0x20c79a,{'unitID':_0x425ed3,'memberID':_0xfbdfff,'textRanges':_0x3798c1}));}}[_0x3f2ec9(0x26e)](){const _0x23a650=_0x3f2ec9;this[_0x23a650(0x485)][_0x23a650(0x368)](this[_0x23a650(0x350)],this['type'],this[_0x23a650(0x4c6)],this[_0x23a650(0x52a)]);}['_getCurrentRevision'](){const _0x3977d9=_0x3f2ec9;return this[_0x3977d9(0x2f8)][_0x3977d9(0x51a)](this[_0x3977d9(0x350)]);}['_incrementRevisionNumber'](){const _0x5d8efa=_0x3f2ec9;this[_0x5d8efa(0x2f8)][_0x5d8efa(0x3b7)](this[_0x5d8efa(0x350)]);}[_0x3f2ec9(0x46d)](_0x52b7e8){const _0x45f577=_0x3f2ec9;var _0x4cdf9b;let _0x3b5864=this[_0x45f577(0x3ac)](_0x52b7e8);_0x3b5864=this[_0x45f577(0x206)](_0x3b5864);const _0x4c77f3=_0x5e47e9(_0x3b5864[_0x45f577(0x3e6)],this[_0x45f577(0x39b)],{'fromCollab':!0x0});if(!_0x4c77f3['result'])throw _0x4c77f3[_0x45f577(0x3b5)]instanceof Error?_0x4c77f3['error']:new Error((_0x4cdf9b=_0x4c77f3[_0x45f577(0x3b5)])!=null?_0x4cdf9b:_0x45f577(0x3d1));this[_0x45f577(0x415)](_0x3b5864),this[_0x45f577(0x24b)](_0x3b5864),this[_0x45f577(0x5c6)](_0x52b7e8),this['_transformSelections'](_0x3b5864),this[_0x45f577(0x2b3)](_0x3b5864),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x15304d,_0x5cd618,_0x5202e3,_0x526809,_0x1f68a9,_0x3480a0,_0x2fd3fe,_0x3715bc,_0x343ebc,_0x5c704d){const _0x54329c=_0x3f2ec9;super(_0x15304d,_0x5cd618,null,[],_0x5202e3,_0x3715bc,_0x2fd3fe,_0x526809,_0x1f68a9),g(this,_0x54329c(0x288),_0x54329c(0x1e4)),(this['_injector']=_0x3480a0,this['_logService']=_0x343ebc,this[_0x54329c(0x251)]=_0x5c704d);}[_0x3f2ec9(0x4bf)](_0x463ee1){const _0x30609a=_0x3f2ec9,_0x2ac51f=this[_0x30609a(0x469)][_0x30609a(0x262)](pe,this['unitID'],this[_0x30609a(0x4e4)],[_0x463ee1],this[_0x30609a(0x4ab)]);return _0x2ac51f[_0x30609a(0x5b3)](),_0x2ac51f[_0x30609a(0x26e)](),_0x2ac51f;}[_0x3f2ec9(0x1c6)](_0x2764de){const _0x5a3439=_0x3f2ec9;if(this[_0x5a3439(0x2cf)](_0x2764de))return this[_0x5a3439(0x469)][_0x5a3439(0x262)](he,this['unitID'],this['type'],null,[],null,[_0x2764de],this[_0x5a3439(0x4ab)]);try{const _0x1af537=this[_0x5a3439(0x251)][_0x5a3439(0x336)](_0x2764de,[mo]);if(_0x678508(_0x1af537)){const {c1Prime:_0x41b7d1}=_0x1af537;return this[_0x5a3439(0x46d)](_0x41b7d1),this;}throw _0x1af537[_0x5a3439(0x3b5)];}catch(_0x5658e8){return this[_0x5a3439(0x42f)][_0x5a3439(0x3b5)](_0x5658e8),this[_0x5a3439(0x37b)](!0x1);}}[_0x3f2ec9(0x37b)](_0x4a1c53){const _0x312f50=_0x3f2ec9;return this[_0x312f50(0x469)]['createInstance'](Re,this[_0x312f50(0x350)],this[_0x312f50(0x4e4)],null,[],this['_handler'],_0x4a1c53);}['onRemoteAck'](){const _0x3db1ae=_0x3f2ec9;throw new Error(_0x3db1ae(0x235));}[_0x3f2ec9(0x53c)](){const _0x48a442=_0x3f2ec9;throw new Error(_0x48a442(0x4c4));}[_0x3f2ec9(0x4d7)](){return this;}[_0x3f2ec9(0x509)](){const _0xafacad=_0x3f2ec9;return this[_0xafacad(0x469)][_0xafacad(0x262)](ye,this[_0xafacad(0x350)],this[_0xafacad(0x4e4)],null,[],this[_0xafacad(0x4ab)]);}[_0x3f2ec9(0x26a)](){return this;}['resend'](){const _0x57915a=_0x3f2ec9;throw new Error(_0x57915a(0x353));}['fetchMiss'](){const _0x1d3d39=_0x3f2ec9,_0x2641ab=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1d3d39(0x350)]);return this['_handler'][_0x1d3d39(0x3c6)]({'from':_0x2641ab,'to':0x0}),this['_injector'][_0x1d3d39(0x262)](he,this[_0x1d3d39(0x350)],this['type'],null,[],null,[],this[_0x1d3d39(0x4ab)]);}};Fe=Le([A(0x3,_0x127ed5(_0x5633d8)),A(0x4,_0x127ed5(q)),A(0x5,_0x127ed5(_0x846a04)),A(0x6,_0x42df5e),A(0x7,_0x49a021),A(0x8,_0x2a6a1c),A(0x9,_0x1ba0e0)],Fe);let pe=class extends $e{constructor(_0x22013d,_0x24d3ce,_0xe5667d,_0x2e6d9c,_0x441f76,_0x1f82a2,_0x12f78f,_0x4444fd,_0x5cdc92,_0x58bab7,_0x468474,_0x14ed58,_0x177590,_0x1ee6d4){const _0x150201=_0x3f2ec9;super(_0x22013d,_0x24d3ce,null,_0xe5667d,_0x2e6d9c,_0x58bab7,_0x1ee6d4,_0x1f82a2,_0x12f78f),g(this,_0x150201(0x288),_0x150201(0x2b4)),g(this,'_scheduleTimestamp',null),g(this,'_sendingTimer',null),(this[_0x150201(0x469)]=_0x441f76,this['_memberService']=_0x4444fd,this['_logService']=_0x5cdc92,this[_0x150201(0x5b4)]=_0x468474,this[_0x150201(0x251)]=_0x14ed58,this[_0x150201(0x590)]=_0x177590);}['appendMutation'](_0x1f0328){const _0x12b77f=_0x3f2ec9;return this[_0x12b77f(0x52a)][_0x12b77f(0x496)](_0x1f0328),this[_0x12b77f(0x26e)](),this;}[_0x3f2ec9(0x1c6)](_0x2abc2c){const _0x1ff518=_0x3f2ec9;if(this[_0x1ff518(0x2cf)](_0x2abc2c))return this[_0x1ff518(0x1ed)](),this[_0x1ff518(0x469)][_0x1ff518(0x262)](he,this[_0x1ff518(0x350)],this[_0x1ff518(0x4e4)],null,this[_0x1ff518(0x52a)],null,[_0x2abc2c],this[_0x1ff518(0x4ab)]);try{const _0x2af8de=this[_0x1ff518(0x251)][_0x1ff518(0x336)](_0x2abc2c,this[_0x1ff518(0x52a)]);if(_0x678508(_0x2af8de)){const {c1Prime:_0x3724d7,m2Prime:_0x3f558e}=_0x2af8de;this[_0x1ff518(0x46d)](_0x3724d7);const _0x549601=this[_0x1ff518(0x469)][_0x1ff518(0x262)](pe,this[_0x1ff518(0x350)],this[_0x1ff518(0x4e4)],_0x3f558e,this[_0x1ff518(0x4ab)]);return this['_clearScheduledTask'](),_0x549601[_0x1ff518(0x5b3)](this[_0x1ff518(0x20b)]?Math[_0x1ff518(0x34b)](0x0,new Date()['getTime']()-this[_0x1ff518(0x20b)]):this[_0x1ff518(0x579)]()),_0x549601;}throw _0x2af8de['error'];}catch(_0x125b25){return this[_0x1ff518(0x42f)][_0x1ff518(0x3b5)](_0x125b25),this[_0x1ff518(0x37b)](!0x1);}}[_0x3f2ec9(0x2fe)](){const _0xcc22d=_0x3f2ec9;throw new Error(_0xcc22d(0x50e));}[_0x3f2ec9(0x53c)](){const _0x1d4f38=_0x3f2ec9;throw new Error(_0x1d4f38(0x2d6));}['onRemoteRetry'](){return this;}[_0x3f2ec9(0x509)](){const _0x373d6e=_0x3f2ec9;return this['_clearScheduledTask'](),this[_0x373d6e(0x469)][_0x373d6e(0x262)](ye,this['unitID'],this[_0x373d6e(0x4e4)],null,this[_0x373d6e(0x52a)],this['_handler']);}[_0x3f2ec9(0x26a)](){return this;}['_schedule'](_0x1bb1da){const _0x4e64b6=_0x3f2ec9,_0x5b40d4=_0x1bb1da!=null?_0x1bb1da:this[_0x4e64b6(0x579)]();this[_0x4e64b6(0x20b)]=new Date()['getTime'](),this['_sendingTimer']=window[_0x4e64b6(0x222)](()=>{const _0x1bdfad=_0x4e64b6;this['_clearScheduledTask']();let _0x299d00=null;switch(this[_0x1bdfad(0x4e4)]){case ce[_0x1bdfad(0x54f)]:{_0x299d00=Vs(this[_0x1bdfad(0x52a)],this[_0x1bdfad(0x350)],this['_univerInstanceService'],this['_revisionService'],this[_0x1bdfad(0x444)]);break;}case ce['UNIVER_DOC']:{this[_0x1bdfad(0x52a)][_0x1bdfad(0x4fe)](_0x6e5e67=>_0x6e5e67['id']===_0x6aa10a['id'])?_0x299d00=vo(this[_0x1bdfad(0x52a)],this['unitID'],this[_0x1bdfad(0x590)],this[_0x1bdfad(0x2f8)],this[_0x1bdfad(0x444)]):_0x299d00=Vs(this[_0x1bdfad(0x52a)],this[_0x1bdfad(0x350)],this[_0x1bdfad(0x590)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x1bdfad(0x3d9)+this[_0x1bdfad(0x4e4)]+_0x1bdfad(0x3f8));}const {changeset:_0x2ac447,pendingMutations:_0x51b70c}=_0x299d00;this[_0x1bdfad(0x4ab)][_0x1bdfad(0x387)](_0x2ac447);const _0x538db2=_0x51b70c[_0x1bdfad(0x3a7)]?this['_injector']['createInstance'](ge,this[_0x1bdfad(0x350)],this[_0x1bdfad(0x4e4)],_0x2ac447,_0x51b70c,this[_0x1bdfad(0x4ab)],void 0x0):this[_0x1bdfad(0x469)][_0x1bdfad(0x262)](Te,this['unitID'],this[_0x1bdfad(0x4e4)],_0x2ac447,this[_0x1bdfad(0x4ab)]);_0x538db2[_0x1bdfad(0x26e)](),this[_0x1bdfad(0x4ab)]['onStateChange'](this,_0x538db2);},_0x5b40d4);}[_0x3f2ec9(0x579)](){const _0x8da721=_0x3f2ec9;var _0x3424ed;const _0x1ee3d5=this[_0x8da721(0x5b4)][_0x8da721(0x4d2)](ie);return(_0x3424ed=_0x1ee3d5==null?void 0x0:_0x1ee3d5['sendChangesetTimeout'])!=null?_0x3424ed:_r;}[_0x3f2ec9(0x1cc)](){const _0x5312d8=_0x3f2ec9;throw new Error(_0x5312d8(0x2a4));}[_0x3f2ec9(0x1ed)](){const _0x254be3=_0x3f2ec9;this[_0x254be3(0x4fd)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x254be3(0x4fd)]=null);}[_0x3f2ec9(0x37b)](_0x15af87){const _0x49e6c7=_0x3f2ec9;return this[_0x49e6c7(0x1ed)](),this['_injector'][_0x49e6c7(0x262)](Re,this[_0x49e6c7(0x350)],this[_0x49e6c7(0x4e4)],null,this[_0x49e6c7(0x52a)],this[_0x49e6c7(0x4ab)],_0x15af87);}};pe=Le([A(0x4,_0x127ed5(_0x846a04)),A(0x5,_0x127ed5(_0x5633d8)),A(0x6,_0x127ed5(q)),A(0x7,_0x127ed5(Ne)),A(0x8,_0x2a6a1c),A(0x9,_0x49a021),A(0xa,_0x5293d7),A(0xb,_0x1ba0e0),A(0xc,_0x4c4975),A(0xd,_0x42df5e)],pe);let Te=class extends $e{constructor(_0x11789b,_0x55ab39,_0x14efee,_0x27d3df,_0xeb8dfd,_0x13d980,_0x5c58f2,_0x3c6718,_0x4439fc,_0x22e8c0,_0x51e1c4){const _0x47d194=_0x3f2ec9;super(_0x11789b,_0x55ab39,_0x14efee,[],_0x27d3df,_0x3c6718,_0x51e1c4,_0x13d980,_0x5c58f2),g(this,_0x47d194(0x288),'awaiting'),g(this,_0x47d194(0x4be),0x0),g(this,_0x47d194(0x2e4)),g(this,_0x47d194(0x2a2)),(this[_0x47d194(0x469)]=_0xeb8dfd,this[_0x47d194(0x42f)]=_0x4439fc,this[_0x47d194(0x251)]=_0x22e8c0);}[_0x3f2ec9(0x4bf)](_0x48dfb3){const _0xd4a982=_0x3f2ec9;this[_0xd4a982(0x1ed)]();const _0xe7c6ba=this['_injector']['createInstance'](ge,this[_0xd4a982(0x350)],this[_0xd4a982(0x4e4)],this[_0xd4a982(0x4c6)],[_0x48dfb3],this[_0xd4a982(0x4ab)],this[_0xd4a982(0x2e4)]);return _0xe7c6ba[_0xd4a982(0x26e)](),_0xe7c6ba;}[_0x3f2ec9(0x1c6)](_0x48b8aa){const _0x116afd=_0x3f2ec9;if(this[_0x116afd(0x2cf)](_0x48b8aa))return this[_0x116afd(0x1ed)](),this[_0x116afd(0x469)][_0x116afd(0x262)](he,this[_0x116afd(0x350)],this[_0x116afd(0x4e4)],this[_0x116afd(0x4c6)],[],null,[_0x48b8aa],this['_handler']);try{const _0x2dee8c=this[_0x116afd(0x251)][_0x116afd(0x4e7)]([_0x48b8aa],[this[_0x116afd(0x4c6)]],!0x1);if(_0x213587(_0x2dee8c)){const {c1Prime:_0x3aec28,c2Prime:_0x15ec0f}=_0x2dee8c;this[_0x116afd(0x46d)](_0x3aec28[0x0]),_0x15ec0f[0x0][_0x116afd(0x4cb)]=this[_0x116afd(0x2cd)](),this[_0x116afd(0x1ed)]();const _0x528970=this[_0x116afd(0x469)][_0x116afd(0x262)](Te,this[_0x116afd(0x350)],this['type'],_0x15ec0f[0x0],this[_0x116afd(0x4ab)]);return _0x528970[_0x116afd(0x26e)](),_0x528970;}return this[_0x116afd(0x37b)](!0x1);}catch(_0x2cf686){return this['_logService'][_0x116afd(0x3b5)](_0x2cf686),this[_0x116afd(0x37b)](!0x1);}}[_0x3f2ec9(0x2fe)](_0x3dc683){const _0x24021d=_0x3f2ec9;this['_clearScheduledTask']();const _0x27a4f6=this[_0x24021d(0x2f8)][_0x24021d(0x51a)](this['unitID']);if(_0x3dc683[_0x24021d(0x2d8)]<_0x27a4f6-0x1)return this;if(this[_0x24021d(0x2cf)](_0x3dc683))return this[_0x24021d(0x469)][_0x24021d(0x262)](he,this[_0x24021d(0x350)],this[_0x24021d(0x4e4)],null,[],this['_awaitingChangeset'],[],this[_0x24021d(0x4ab)]);this[_0x24021d(0x1e7)]();const _0x3f81d1=this[_0x24021d(0x469)][_0x24021d(0x262)](Fe,this[_0x24021d(0x350)],this[_0x24021d(0x4e4)],this[_0x24021d(0x4ab)]);return _0x3f81d1[_0x24021d(0x26e)](),_0x3f81d1;}[_0x3f2ec9(0x53c)](_0x21f809){const _0x2cef9c=_0x3f2ec9;return this[_0x2cef9c(0x37b)](!!(_0x21f809!=null&&_0x21f809[_0x2cef9c(0x5c2)]));}[_0x3f2ec9(0x4d7)](_0x557e80){const _0x45bf81=_0x3f2ec9;return this['_resendTimeout']>Ni?this[_0x45bf81(0x509)]():(this[_0x45bf81(0x2e4)]=Ui(this[_0x45bf81(0x4be)],{'timeout':this['_resendTimeout'],'reqId':_0x557e80[_0x45bf81(0x3cb)]}),this[_0x45bf81(0x2a2)]=this[_0x45bf81(0x2e4)][_0x45bf81(0x27a)](({reqId:_0x1160c1,timeout:_0x414455})=>{const _0x3729cd=_0x45bf81;this[_0x3729cd(0x201)](_0x1160c1,_0x414455);}),this);}[_0x3f2ec9(0x509)](){const _0x52aa07=_0x3f2ec9;return this['_clearScheduledTask'](),this[_0x52aa07(0x469)][_0x52aa07(0x262)](ye,this[_0x52aa07(0x350)],this[_0x52aa07(0x4e4)],this[_0x52aa07(0x4c6)],[],this[_0x52aa07(0x4ab)]);}['toggleOnline'](){return this;}[_0x3f2ec9(0x1cc)](){const _0x2a3d21=_0x3f2ec9;this[_0x2a3d21(0x4ab)][_0x2a3d21(0x387)](this['_awaitingChangeset']);}[_0x3f2ec9(0x37b)](_0xef1633){const _0x5bdb1a=_0x3f2ec9;return this[_0x5bdb1a(0x1ed)](),this['_injector'][_0x5bdb1a(0x262)](Re,this[_0x5bdb1a(0x350)],this['type'],this[_0x5bdb1a(0x4c6)],[],this['_handler'],_0xef1633);}[_0x3f2ec9(0x201)](_0x5ccd23,_0xb3012a){const _0x3958e5=_0x3f2ec9;var _0x72f31e;_0x5ccd23===((_0x72f31e=this['_awaitingChangeset'])==null?void 0x0:_0x72f31e[_0x3958e5(0x3cb)])&&(this[_0x3958e5(0x1cc)](),this[_0x3958e5(0x4be)]=_0xb3012a===0x0?0x3e8:_0xb3012a*0x2);}[_0x3f2ec9(0x1ed)](){const _0x5376e4=_0x3f2ec9;var _0x46fb39;(_0x46fb39=this[_0x5376e4(0x2a2)])==null||_0x46fb39[_0x5376e4(0x4bb)](),this[_0x5376e4(0x4be)]=0x0;}};Te=Le([A(0x4,_0x127ed5(_0x846a04)),A(0x5,_0x127ed5(_0x5633d8)),A(0x6,_0x127ed5(q)),A(0x7,_0x49a021),A(0x8,_0x2a6a1c),A(0x9,_0x1ba0e0),A(0xa,_0x42df5e)],Te);let ge=class extends $e{constructor(_0xe9c8b0,_0x110bf4,_0x1526fa,_0x28941f,_0x3c72dc,_0x3aa61a,_0x504f6d,_0x5f1638,_0x56fd97,_0x2c692d,_0x58b2e0,_0x1bce8b,_0x4004af){const _0x57bd26=_0x3f2ec9;super(_0xe9c8b0,_0x110bf4,_0x1526fa,_0x28941f,_0x3c72dc,_0x2c692d,_0x4004af,_0x5f1638,_0x56fd97),g(this,_0x57bd26(0x288),_0x57bd26(0x4d8)),g(this,_0x57bd26(0x4be),0x0),g(this,_0x57bd26(0x2e4)),g(this,'_sender'),(this[_0x57bd26(0x469)]=_0x504f6d,this[_0x57bd26(0x42f)]=_0x58b2e0,this[_0x57bd26(0x251)]=_0x1bce8b,_0x3aa61a&&(this[_0x57bd26(0x2e4)]=_0x3aa61a,this['_sender']=this[_0x57bd26(0x2e4)][_0x57bd26(0x27a)](({reqId:_0xd1dcc6,timeout:_0xb79b31})=>{const _0x1c1cf7=_0x57bd26;this[_0x1c1cf7(0x201)](_0xd1dcc6,_0xb79b31);})));}['appendMutation'](_0x480215){const _0x1ac5c2=_0x3f2ec9;return this['_pendingMutations'][_0x1ac5c2(0x496)](_0x480215),this;}['onRemoteChangeset'](_0x247f5b){const _0x535445=_0x3f2ec9;if(this['_checkMissing'](_0x247f5b))return this[_0x535445(0x1ed)](),this[_0x535445(0x469)][_0x535445(0x262)](he,this['unitID'],this[_0x535445(0x4e4)],this['_awaitingChangeset'],this[_0x535445(0x52a)],null,[_0x247f5b],this[_0x535445(0x4ab)]);try{const _0x445817=this[_0x535445(0x251)][_0x535445(0x4e7)]([_0x247f5b],[this['_awaitingChangeset']],!0x1);if(_0x213587(_0x445817)){const {c1Prime:_0x2d626a,c2Prime:_0x483cee}=_0x445817,_0x4393f2=this[_0x535445(0x251)][_0x535445(0x336)](_0x2d626a[0x0],this[_0x535445(0x52a)]);if(_0x678508(_0x4393f2)){const {c1Prime:_0x425107,m2Prime:_0x1bb31e}=_0x4393f2;return this[_0x535445(0x46d)](_0x425107),_0x483cee[0x0][_0x535445(0x4cb)]=this[_0x535445(0x2cd)](),this['_clearScheduledTask'](),this[_0x535445(0x469)][_0x535445(0x262)](ge,this[_0x535445(0x350)],this['type'],_0x483cee[0x0],_0x1bb31e,this[_0x535445(0x4ab)],void 0x0);}throw _0x4393f2[_0x535445(0x3b5)];}throw _0x445817[_0x535445(0x3b5)];}catch(_0x509d9d){return this[_0x535445(0x42f)][_0x535445(0x3b5)](_0x509d9d),this[_0x535445(0x37b)](!0x1);}}['onRemoteAck'](_0x15c111){const _0x5c33c9=_0x3f2ec9;if(this[_0x5c33c9(0x1ed)](),this[_0x5c33c9(0x2cf)](_0x15c111))return this[_0x5c33c9(0x469)][_0x5c33c9(0x262)](he,this[_0x5c33c9(0x350)],this[_0x5c33c9(0x4e4)],null,this['_pendingMutations'],this[_0x5c33c9(0x4c6)],[],this[_0x5c33c9(0x4ab)]);this[_0x5c33c9(0x1e7)]();const _0x25a49f=this[_0x5c33c9(0x469)]['createInstance'](pe,this[_0x5c33c9(0x350)],this['type'],this[_0x5c33c9(0x52a)],this['_handler']);return _0x25a49f[_0x5c33c9(0x5b3)](),_0x25a49f['_updateLocalCache'](),_0x25a49f;}[_0x3f2ec9(0x53c)](_0x5429bd){const _0x1fbb6f=_0x3f2ec9;return this[_0x1fbb6f(0x37b)](!!(_0x5429bd!=null&&_0x5429bd[_0x1fbb6f(0x5c2)]));}['onRemoteRetry'](_0x139eb6){const _0x4c564f=_0x3f2ec9;return this['_resendTimeout']>Ni?this[_0x4c564f(0x509)]():(this[_0x4c564f(0x2e4)]=Ui(this[_0x4c564f(0x4be)],{'timeout':this[_0x4c564f(0x4be)],'reqId':_0x139eb6[_0x4c564f(0x3cb)]}),this[_0x4c564f(0x2a2)]=this[_0x4c564f(0x2e4)][_0x4c564f(0x27a)](({reqId:_0x1a0f92,timeout:_0x3b624c})=>{const _0xcd6117=_0x4c564f;this[_0xcd6117(0x201)](_0x1a0f92,_0x3b624c);}),this);}[_0x3f2ec9(0x509)](){const _0x2d7235=_0x3f2ec9;return this['_clearScheduledTask'](),this[_0x2d7235(0x469)][_0x2d7235(0x262)](ye,this['unitID'],this[_0x2d7235(0x4e4)],this[_0x2d7235(0x4c6)],this['_pendingMutations'],this[_0x2d7235(0x4ab)]);}[_0x3f2ec9(0x26a)](){return this;}[_0x3f2ec9(0x1cc)](){const _0xd671bc=_0x3f2ec9;this[_0xd671bc(0x4ab)][_0xd671bc(0x387)](this['_awaitingChangeset']);}[_0x3f2ec9(0x37b)](_0x34d783){const _0xcd9a2d=_0x3f2ec9;return this['_clearScheduledTask'](),this['_injector'][_0xcd9a2d(0x262)](Re,this[_0xcd9a2d(0x350)],this[_0xcd9a2d(0x4e4)],null,this[_0xcd9a2d(0x52a)],this[_0xcd9a2d(0x4ab)],_0x34d783);}[_0x3f2ec9(0x201)](_0x3c2cc8,_0x11e4a6){const _0xa253af=_0x3f2ec9;var _0x36b9cb;_0x3c2cc8===((_0x36b9cb=this['_awaitingChangeset'])==null?void 0x0:_0x36b9cb[_0xa253af(0x3cb)])&&(this[_0xa253af(0x1cc)](),this[_0xa253af(0x4be)]=_0x11e4a6===0x0?0x3e8:_0x11e4a6*0x2);}[_0x3f2ec9(0x1ed)](){const _0x38e71b=_0x3f2ec9;var _0x48e611;(_0x48e611=this[_0x38e71b(0x2a2)])==null||_0x48e611['unsubscribe'](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x127ed5(_0x846a04)),A(0x7,_0x127ed5(_0x5633d8)),A(0x8,_0x127ed5(q)),A(0x9,_0x49a021),A(0xa,_0x2a6a1c),A(0xb,_0x1ba0e0),A(0xc,_0x42df5e)],ge);let Re=class extends $e{constructor(_0x41a26d,_0xc2a417,_0x5af5b6,_0x10d57d,_0x197cca,_0x25cb80=!0x1,_0x951242,_0x304ddd,_0x51eac2,_0x1a66a0,_0x5e80cc,_0x52e4e5,_0x2029d8){const _0xa563c3=_0x3f2ec9;super(_0x41a26d,_0xc2a417,_0x5af5b6,_0x10d57d,_0x197cca,_0x304ddd,_0x51eac2,_0x5e80cc,_0x1a66a0),g(this,_0xa563c3(0x288),_0xa563c3(0x23c)),(this[_0xa563c3(0x1c1)]=_0x25cb80,this[_0xa563c3(0x2ff)]=_0x951242,this[_0xa563c3(0x311)]=_0x52e4e5,this[_0xa563c3(0x4ac)]=_0x2029d8,this[_0xa563c3(0x4c8)](),this[_0xa563c3(0x525)](),this[_0xa563c3(0x29c)]());}['appendMutation'](){return this;}[_0x3f2ec9(0x1c6)](){return this;}['onRemoteAck'](){return this;}[_0x3f2ec9(0x53c)](){return this;}['onRemoteRetry'](){return this;}[_0x3f2ec9(0x509)](){return this;}[_0x3f2ec9(0x26a)](){return this;}[_0x3f2ec9(0x1cc)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x18d594=_0x3f2ec9;this[_0x18d594(0x485)]['updateOfflineData'](this[_0x18d594(0x350)],this['type'],null,[]);}[_0x3f2ec9(0x4c8)](){const _0x52f31d=_0x3f2ec9;this[_0x52f31d(0x1c1)]?this['_notificationService'][_0x52f31d(0x59d)]({'title':this[_0x52f31d(0x311)]['t'](_0x52f31d(0x2e1)),'content':this[_0x52f31d(0x311)]['t'](_0x52f31d(0x2df)),'type':_0x52f31d(0x3b5),'duration':0x0}):this['_notificationService'][_0x52f31d(0x59d)]({'title':this[_0x52f31d(0x311)]['t']('conflict.title'),'content':this[_0x52f31d(0x311)]['t']('conflict.content'),'type':_0x52f31d(0x3b5),'duration':0x0});}[_0x3f2ec9(0x29c)](){const _0x57bdb5=_0x3f2ec9;this[_0x57bdb5(0x2ff)][_0x57bdb5(0x41e)](new _0x4ea9fe(this[_0x57bdb5(0x350)])['id'],!0x1);}};Re=Le([A(0x6,_0x127ed5(_0x178a2e)),A(0x7,_0x49a021),A(0x8,_0x42df5e),A(0x9,_0x127ed5(q)),A(0xa,_0x127ed5(_0x5633d8)),A(0xb,_0x127ed5(_0x4d6b84)),A(0xc,_0x3a3e53)],Re);let ye=class extends $e{constructor(_0x2d9d07,_0x5d0cb5,_0x2f69e2,_0x25bba4,_0x3674fa,_0x3cd050,_0x3fb4f,_0x48d4fc,_0x46ad8a,_0x1d3641){const _0x35ca72=_0x3f2ec9;super(_0x2d9d07,_0x5d0cb5,_0x2f69e2,_0x25bba4,_0x3674fa,_0x46ad8a,_0x1d3641,_0x3fb4f,_0x48d4fc),g(this,_0x35ca72(0x288),'offline'),this[_0x35ca72(0x469)]=_0x3cd050;}[_0x3f2ec9(0x4bf)](_0x46e001){const _0x1648f2=_0x3f2ec9;return this['_pendingMutations'][_0x1648f2(0x496)](_0x46e001),this['_updateLocalCache'](),this;}[_0x3f2ec9(0x1c6)](_0xc2b6b7){const _0x15a7fe=_0x3f2ec9;throw new Error(_0x15a7fe(0x356));}[_0x3f2ec9(0x2fe)](){const _0x262446=_0x3f2ec9;throw new Error(_0x262446(0x412));}['onRemoteRej'](){const _0x1c4cce=_0x3f2ec9;throw new Error(_0x1c4cce(0x310));}[_0x3f2ec9(0x4d7)](){return this;}[_0x3f2ec9(0x509)](){return this;}[_0x3f2ec9(0x26a)](){const {_injector:_0x2ab4b9,_pendingMutations:_0x537650,_awaitingChangeset:_0x423aff,unitID:_0x8cc26d,_handler:_0x35b50c,type:_0x5a67c0}=this,_0xaa2d27=Ai(_0x2ab4b9,_0x8cc26d,_0x5a67c0,_0x423aff,_0x537650,_0x35b50c);return _0xaa2d27 instanceof pe?_0xaa2d27['_schedule']():(_0xaa2d27 instanceof ge||_0xaa2d27 instanceof Te)&&_0xaa2d27['resend'](),_0xaa2d27;}[_0x3f2ec9(0x1cc)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x127ed5(_0x846a04)),A(0x6,_0x127ed5(_0x5633d8)),A(0x7,_0x127ed5(q)),A(0x8,_0x49a021),A(0x9,_0x42df5e)],ye);let he=class extends $e{constructor(_0x26cd03,_0xdf8e49,_0x133f74,_0x28880b,_0x7903bc,_0x4febfc,_0x14b827,_0x37a5e7,_0x1a7d7b,_0x26fa56,_0x5e677f,_0xa9f0ae,_0x4d3fec,_0x42c855){const _0x530239=_0x3f2ec9;super(_0x26cd03,_0xdf8e49,_0x133f74,_0x28880b,_0x14b827,_0xa9f0ae,_0x4d3fec,_0x1a7d7b,_0x26fa56),g(this,_0x530239(0x288),_0x530239(0x4dc)),(this['_acknowledgedAwaitingChangeset']=_0x7903bc,this[_0x530239(0x544)]=_0x4febfc,this['_injector']=_0x37a5e7,this[_0x530239(0x42f)]=_0x5e677f,this[_0x530239(0x251)]=_0x42c855);}[_0x3f2ec9(0x45b)](_0x417aac){const _0x11a5d1=_0x3f2ec9;try{const _0x44bc46=[..._0x417aac,...this[_0x11a5d1(0x544)]],_0x528f98=[this[_0x11a5d1(0x4c6)]||this[_0x11a5d1(0x398)]][_0x11a5d1(0x30c)](_0x304064=>!!_0x304064);let _0x410265,_0x34a96e;if(_0x528f98[_0x11a5d1(0x3a7)]){const _0x2cc1b5=this[_0x11a5d1(0x251)][_0x11a5d1(0x4e7)](_0x44bc46,_0x528f98,!0x1);if(!_0x213587(_0x2cc1b5))throw _0x2cc1b5[_0x11a5d1(0x3b5)];_0x410265=_0x2cc1b5[_0x11a5d1(0x3a0)],_0x34a96e=_0x2cc1b5[_0x11a5d1(0x3b8)];}else _0x410265=_0x44bc46,_0x34a96e=[];let _0xe6ff1c=this[_0x11a5d1(0x52a)];_0x410265[_0x11a5d1(0x346)](_0x323dd9=>{const _0x4c8260=_0x11a5d1;let _0x51e6d2;if(_0xe6ff1c[_0x4c8260(0x3a7)]){const _0x374ff4=this[_0x4c8260(0x251)]['transformMutationsWithChangeset'](_0x323dd9,_0xe6ff1c);if(!_0x678508(_0x374ff4))throw _0x374ff4[_0x4c8260(0x3b5)];_0x51e6d2=_0x374ff4[_0x4c8260(0x3a0)],_0xe6ff1c=_0x374ff4[_0x4c8260(0x38c)];}else _0x51e6d2=_0x323dd9;this['_executeRemoteChangeset'](_0x51e6d2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x11a5d1(0x1e7)](),this[_0x11a5d1(0x4c6)]&&_0x34a96e[_0x11a5d1(0x3a7)]&&(_0x34a96e[0x0][_0x11a5d1(0x4cb)]=this['_getCurrentRevision']());let _0x3c944e;if(this[_0x11a5d1(0x4c6)]&&_0xe6ff1c[_0x11a5d1(0x3a7)]!==0x0)_0x3c944e=this[_0x11a5d1(0x469)]['createInstance'](ge,this[_0x11a5d1(0x350)],this['type'],_0x34a96e[0x0],_0xe6ff1c,this[_0x11a5d1(0x4ab)],void 0x0);else{if(this[_0x11a5d1(0x4c6)]&&_0xe6ff1c[_0x11a5d1(0x3a7)]===0x0)_0x34a96e[0x0][_0x11a5d1(0x4cb)]=this['_getCurrentRevision'](),_0x3c944e=this[_0x11a5d1(0x469)][_0x11a5d1(0x262)](Te,this[_0x11a5d1(0x350)],this[_0x11a5d1(0x4e4)],_0x34a96e[0x0],this[_0x11a5d1(0x4ab)]);else{if(_0xe6ff1c['length']!==0x0){const _0x2929e4=this[_0x11a5d1(0x469)][_0x11a5d1(0x262)](pe,this[_0x11a5d1(0x350)],this['type'],_0xe6ff1c,this[_0x11a5d1(0x4ab)]);_0x2929e4[_0x11a5d1(0x5b3)](),_0x3c944e=_0x2929e4;}else _0x3c944e=this[_0x11a5d1(0x469)]['createInstance'](Fe,this[_0x11a5d1(0x350)],this[_0x11a5d1(0x4e4)],this[_0x11a5d1(0x4ab)]);}}return _0x3c944e[_0x11a5d1(0x26e)](),_0x3c944e;}catch(_0x29bbed){return this[_0x11a5d1(0x42f)][_0x11a5d1(0x3b5)]('[FetchMissState]',_0x11a5d1(0x2b7),_0x29bbed),this[_0x11a5d1(0x469)][_0x11a5d1(0x262)](Re,this[_0x11a5d1(0x350)],this[_0x11a5d1(0x4e4)],this[_0x11a5d1(0x4c6)],this[_0x11a5d1(0x52a)],this[_0x11a5d1(0x4ab)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3f2ec9(0x4bf)](_0x1e1750){const _0x23a385=_0x3f2ec9;return this[_0x23a385(0x52a)][_0x23a385(0x496)](_0x1e1750),this;}[_0x3f2ec9(0x1c6)](_0x594c72){const _0x89b66b=_0x3f2ec9;return this[_0x89b66b(0x544)]['push'](_0x594c72),this;}[_0x3f2ec9(0x2fe)](_0x4164c7){const _0x5a8f5f=_0x3f2ec9;if(this[_0x5a8f5f(0x4c6)])return this[_0x5a8f5f(0x398)]=this[_0x5a8f5f(0x4c6)],this['_awaitingChangeset']=null,this;throw new Error(_0x5a8f5f(0x547));}[_0x3f2ec9(0x53c)](_0x3d7236){const _0x2c2b79=_0x3f2ec9;return this[_0x2c2b79(0x37b)](!!(_0x3d7236!=null&&_0x3d7236[_0x2c2b79(0x5c2)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x4364a5=_0x3f2ec9;return this[_0x4364a5(0x469)][_0x4364a5(0x262)](ye,this[_0x4364a5(0x350)],this['type'],this[_0x4364a5(0x4c6)],this[_0x4364a5(0x52a)],this[_0x4364a5(0x4ab)]);}[_0x3f2ec9(0x26a)](){return this;}[_0x3f2ec9(0x37b)](_0x2edb4f){const _0x34fecf=_0x3f2ec9;return this[_0x34fecf(0x469)]['createInstance'](Re,this[_0x34fecf(0x350)],this[_0x34fecf(0x4e4)],this[_0x34fecf(0x4c6)],this[_0x34fecf(0x52a)],this[_0x34fecf(0x4ab)],_0x2edb4f);}};he=Le([A(0x7,_0x127ed5(_0x846a04)),A(0x8,_0x127ed5(_0x5633d8)),A(0x9,_0x127ed5(q)),A(0xa,_0x2a6a1c),A(0xb,_0x49a021),A(0xc,_0x42df5e),A(0xd,_0x1ba0e0)],he);function Ai(_0xc782bd,_0x35aeff,_0x37e051,_0xcc2cd0,_0x4a40f5,_0x4311f6){const _0x1dac15=_0x3f2ec9;return _0xcc2cd0&&_0x4a40f5[_0x1dac15(0x3a7)]?_0xc782bd[_0x1dac15(0x262)](ge,_0x35aeff,_0x37e051,_0xcc2cd0,_0x4a40f5,_0x4311f6,void 0x0):_0xcc2cd0?_0xc782bd[_0x1dac15(0x262)](Te,_0x35aeff,_0x37e051,_0xcc2cd0,_0x4311f6):_0x4a40f5['length']?_0xc782bd[_0x1dac15(0x262)](pe,_0x35aeff,_0x37e051,_0x4a40f5,_0x4311f6):_0xc782bd[_0x1dac15(0x262)](Fe,_0x35aeff,_0x37e051,_0x4311f6);}var So=Object['defineProperty'],Io=Object['getOwnPropertyDescriptor'],Es=(_0x35d96d,_0x904dbc,_0x3ef83e,_0x360de1)=>{const _0x1539d9=_0x3f2ec9;for(var _0x38cba0=_0x360de1>0x1?void 0x0:_0x360de1?Io(_0x904dbc,_0x3ef83e):_0x904dbc,_0x57ecb4=_0x35d96d[_0x1539d9(0x3a7)]-0x1,_0x4bc229;_0x57ecb4>=0x0;_0x57ecb4--)(_0x4bc229=_0x35d96d[_0x57ecb4])&&(_0x38cba0=(_0x360de1?_0x4bc229(_0x904dbc,_0x3ef83e,_0x38cba0):_0x4bc229(_0x38cba0))||_0x38cba0);return _0x360de1&&_0x38cba0&&So(_0x904dbc,_0x3ef83e,_0x38cba0),_0x38cba0;},H=(_0x141ce9,_0x18580c)=>(_0x1a26db,_0x1b3759)=>_0x18580c(_0x1a26db,_0x1b3759,_0x141ce9);let gt=class extends _0x404743{constructor(_0x22bdf0,_0x33a912,_0x57b607,_0x48ebf7,_0xeb1d18,_0x550c03,_0x59a229,_0x41f9d5,_0x568731,_0xb2b895,_0x115af7,_0x5b3de9,_0x5633ae){const _0x5eae4d=_0x3f2ec9;super(),g(this,'_state$',new _0x286de7(null)),g(this,_0x5eae4d(0x3e0),this[_0x5eae4d(0x2ee)][_0x5eae4d(0x5d2)]()),g(this,_0x5eae4d(0x1c2)),g(this,_0x5eae4d(0x309),!0x1),g(this,_0x5eae4d(0x214),''),g(this,_0x5eae4d(0x274),0x0),g(this,'status$',this['state$'][_0x5eae4d(0x3c4)](_0xfcb617(_0x3a67f9=>_0x3a67f9?_0x3a67f9['status']:J[_0x5eae4d(0x377)]),_0xdc22d3(0x1))),g(this,_0x5eae4d(0x383),!0x1),g(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x22bdf0,this[_0x5eae4d(0x574)]=_0x33a912,this['_type']=_0x57b607,this[_0x5eae4d(0x469)]=_0x48ebf7,this[_0x5eae4d(0x485)]=_0xeb1d18,this['_compressMutationService']=_0x550c03,this[_0x5eae4d(0x311)]=_0x59a229,this[_0x5eae4d(0x2f8)]=_0x41f9d5,this[_0x5eae4d(0x42f)]=_0x568731,this[_0x5eae4d(0x39b)]=_0xb2b895,this[_0x5eae4d(0x2b6)]=_0x115af7,this[_0x5eae4d(0x2ff)]=_0x5b3de9,this[_0x5eae4d(0x596)]=_0x5633ae);}get[_0x3f2ec9(0x408)](){const _0x288d7c=_0x3f2ec9;return this[_0x288d7c(0x1c2)];}async[_0x3f2ec9(0x282)](){const _0x54663a=_0x3f2ec9;if(this[_0x54663a(0x408)])throw new Error(_0x54663a(0x223));await this[_0x54663a(0x51f)]();}[_0x3f2ec9(0x2dd)](){const _0x195b15=_0x3f2ec9;return this[_0x195b15(0x309)]=!0x0,_0x5d23c9(()=>{const _0x15229d=_0x195b15;this[_0x15229d(0x309)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3f2ec9(0x55b)](_0x128f99){const _0x4e0928=_0x3f2ec9;this[_0x4e0928(0x1c2)]=_0x128f99,this[_0x4e0928(0x2ee)][_0x4e0928(0x3f5)](_0x128f99);}async[_0x3f2ec9(0x51f)](){const _0x42127d=_0x3f2ec9;var _0x121cbc;this[_0x42127d(0x55b)](await this[_0x42127d(0x286)]()),this[_0x42127d(0x596)]&&((_0x121cbc=this[_0x42127d(0x596)])==null||_0x121cbc['editingUnit'](this[_0x42127d(0x350)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x42127d(0x362)](this[_0x42127d(0x350)])['subscribe'](_0x456ef7=>{const _0x2152c3=_0x42127d;this['_logService'][_0x2152c3(0x59b)](_0x2152c3(0x25d),_0x2152c3(0x25a),_0x456ef7),_0x456ef7===Di[_0x2152c3(0x277)]?(this[_0x2152c3(0x2b6)]['show']({'content':this[_0x2152c3(0x311)]['t'](_0x2152c3(0x4f4)),'type':_0x196a0e[_0x2152c3(0x5d3)]}),this[_0x2152c3(0x2ff)][_0x2152c3(0x41e)](new _0x4ea9fe(this['unitID'])['id'],!0x1),this['_permissionService'][_0x2152c3(0x3f1)](!0x1)):(this[_0x2152c3(0x2ff)][_0x2152c3(0x41e)](new _0x4ea9fe(this['unitID'])['id'],!0x0),this[_0x2152c3(0x2ff)][_0x2152c3(0x3f1)](!0x0));})));let _0x502991=!0x1;return this['disposeWithMe'](this['session'][_0x42127d(0x4b4)][_0x42127d(0x27a)](_0x665e79=>{const _0x362727=_0x42127d;_0x665e79===ve['ONLINE']?this[_0x362727(0x38a)](_0x502991):_0x665e79===ve['OFFLINE']&&(_0x502991=!0x0,this[_0x362727(0x2e9)]());})),this[_0x42127d(0x324)](this[_0x42127d(0x574)][_0x42127d(0x34d)][_0x42127d(0x27a)](_0x17f90a=>{const _0x4d0673=_0x42127d;try{switch(_0x17f90a[_0x4d0673(0x56b)]){case _0x371f1e[_0x4d0673(0x2d7)]:{this[_0x4d0673(0x5d1)](_0x39ab7f(_0x17f90a[_0x4d0673(0x399)]));break;}case _0x371f1e[_0x4d0673(0x254)]:{this['_onRemoteACK'](_0x17f90a[_0x4d0673(0x399)]);break;}case _0x371f1e[_0x4d0673(0x553)]:{this['_onRemoteRejected']();break;}case _0x371f1e['CHANGESET_SHOULD_RETRY']:{this[_0x4d0673(0x576)](_0x17f90a[_0x4d0673(0x399)]);break;}case _0x371f1e[_0x4d0673(0x290)]:{this['_onFetchMissResult'](_0x17f90a[_0x4d0673(0x399)]['changesets'][_0x4d0673(0x26f)](_0x31b869=>_0x39ab7f(_0x31b869)));break;}case _0x371f1e[_0x4d0673(0x292)]:this[_0x4d0673(0x3d2)]({'isPermissionRej':!0x0});}}catch(_0x51a80c){throw console[_0x4d0673(0x3b5)](_0x4d0673(0x4a8),_0x51a80c),_0x51a80c;}})),this[_0x42127d(0x1c2)];}['_unlockTransition'](){const _0x3cd562=_0x3f2ec9;this[_0x3cd562(0x383)]=!0x1;}[_0x3f2ec9(0x260)](){const _0x3dc7f9=_0x3f2ec9;if(this[_0x3dc7f9(0x383)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x2aef6c){const _0x200bf4=_0x3f2ec9;this[_0x200bf4(0x260)](),this['_updateState'](this[_0x200bf4(0x1c2)][_0x200bf4(0x4bf)](_0x2aef6c)),this[_0x200bf4(0x26d)]();}['_onRemoteChangeset'](_0x2c079b){const _0x38fc14=_0x3f2ec9;if(!(_0x2c079b[_0x38fc14(0x2d8)]<=this['_revisionService'][_0x38fc14(0x51a)](this[_0x38fc14(0x350)]))){if(this[_0x38fc14(0x309)]){this[_0x38fc14(0x1ca)][_0x38fc14(0x496)](_0x2c079b);return;}this['_applyRemoteChangeset'](_0x2c079b);}}[_0x3f2ec9(0x2c1)](){const _0x56c13a=_0x3f2ec9;this[_0x56c13a(0x1ca)]['forEach'](_0x296f85=>this[_0x56c13a(0x476)](_0x296f85)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x202bd1){const _0xd07d73=_0x3f2ec9,_0x27411b=this[_0xd07d73(0x349)][_0xd07d73(0x431)][_0xd07d73(0x466)](this[_0xd07d73(0x349)][_0xd07d73(0x431)][_0xd07d73(0x5d6)]()['COMPRESS_MUTATION_APPLY'])(_0x202bd1[_0xd07d73(0x3e6)],null)||_0x202bd1['mutations'],_0x43ecd9={..._0x202bd1,'mutations':_0x27411b};this[_0xd07d73(0x260)](),this['_updateState'](this[_0xd07d73(0x1c2)][_0xd07d73(0x1c6)](_0x43ecd9)),this['_unlockTransition']();}[_0x3f2ec9(0x1f5)](_0x465af6){const _0x13b8b5=_0x3f2ec9;this[_0x13b8b5(0x260)](),this['_updateState'](this['_state'][_0x13b8b5(0x2fe)](_0x465af6)),this[_0x13b8b5(0x26d)]();}[_0x3f2ec9(0x3d2)](_0x174125){const _0x18697a=_0x3f2ec9;this[_0x18697a(0x260)](),this[_0x18697a(0x55b)](this[_0x18697a(0x1c2)][_0x18697a(0x53c)](_0x174125)),this[_0x18697a(0x26d)]();}['_onRemoteRetry'](_0x453f44){const _0x14e2f6=_0x3f2ec9;this[_0x14e2f6(0x260)](),this[_0x14e2f6(0x55b)](this[_0x14e2f6(0x1c2)][_0x14e2f6(0x4d7)](_0x453f44)),this[_0x14e2f6(0x26d)]();}[_0x3f2ec9(0x4ec)](_0x3a1f73){const _0x514518=_0x3f2ec9;if(!(this[_0x514518(0x1c2)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x771ef6=_0x3a1f73[_0x514518(0x26f)](_0x61d66=>{const _0x4c3f5f=_0x514518,_0x333213=this[_0x4c3f5f(0x349)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x4c3f5f(0x431)]['getInterceptPoints']()[_0x4c3f5f(0x1f2)])(_0x61d66[_0x4c3f5f(0x3e6)],null)||_0x61d66[_0x4c3f5f(0x3e6)];return{..._0x61d66,'mutations':_0x333213};});this[_0x514518(0x260)](),this[_0x514518(0x55b)](this['_state'][_0x514518(0x45b)](_0x771ef6)),this[_0x514518(0x26d)]();}[_0x3f2ec9(0x2e9)](){const _0x3625a6=_0x3f2ec9;this[_0x3625a6(0x260)](),this[_0x3625a6(0x55b)](this[_0x3625a6(0x1c2)][_0x3625a6(0x509)]()),this[_0x3625a6(0x26d)]();}[_0x3f2ec9(0x38a)](_0x3bf9ee=!0x1){const _0x4d49ab=_0x3f2ec9;this[_0x4d49ab(0x260)](),this['_updateState'](this[_0x4d49ab(0x1c2)][_0x4d49ab(0x26a)]()),this[_0x4d49ab(0x26d)]();const _0x4625f0=this['_state'];_0x3bf9ee&&_0x4625f0 instanceof Fe&&(this['_lockTransition'](),this[_0x4d49ab(0x55b)](_0x4625f0[_0x4d49ab(0x467)]()),this[_0x4d49ab(0x26d)]());}async[_0x3f2ec9(0x286)](){return new Promise(_0x5353a9=>{const _0x1d9ed0=_0x1414;this[_0x1d9ed0(0x574)][_0x1d9ed0(0x4b4)][_0x1d9ed0(0x3c4)](_0x1f972f(0x1))[_0x1d9ed0(0x27a)](async _0x648f7d=>{const _0x4509cf=_0x1d9ed0;_0x5353a9(await this[_0x4509cf(0x27b)](_0x648f7d===ve['ONLINE']));});});}[_0x3f2ec9(0x475)](){const _0x2f47e3=_0x3f2ec9,_0x293d74=this[_0x2f47e3(0x350)];return{'onStateChange':(_0x2e5399,_0x5e56a5)=>{const _0x1d67a4=_0x2f47e3;if(_0x2e5399!==this['_state'])throw new Error(_0x1d67a4(0x4e6)+_0x2e5399[_0x1d67a4(0x288)]+_0x1d67a4(0x32f)+_0x5e56a5['status']+'\x0aCurrent:\x20'+this['_state'][_0x1d67a4(0x288)]);this[_0x1d67a4(0x55b)](_0x5e56a5);},'onSendChangeset':_0x256d72=>{const _0x5bdc49=_0x2f47e3;_0x256d72[_0x5bdc49(0x5c9)]||(_0x256d72[_0x5bdc49(0x5c9)]=this['_changesetSessionId'],_0x256d72[_0x5bdc49(0x3cb)]=++this[_0x5bdc49(0x274)]);const _0x1eccf4={'eventID':_0x371f1e['SUBMIT_CHANGESET'],'data':{'unitID':_0x256d72['unitID'],'unitType':this[_0x5bdc49(0x531)],'changeset':_0x256d72,'memberID':this[_0x5bdc49(0x574)][_0x5bdc49(0x526)]()}};this['session'][_0x5bdc49(0x446)](_0x1eccf4,this[_0x5bdc49(0x350)]);},'onMissingChangesets':({from:_0xba6ef8,to:_0x2d3c0})=>{const _0x16c138=_0x2f47e3;this[_0x16c138(0x42f)][_0x16c138(0x59b)](_0x16c138(0x25d),_0x16c138(0x4b5)+_0xba6ef8+_0x16c138(0x342)+_0x2d3c0);const _0xe9800a={'eventID':_0x371f1e['FETCH_MISSING'],'data':{'unitID':_0x293d74,'unitType':this[_0x16c138(0x531)],'from':_0xba6ef8,'to':_0x2d3c0}};this[_0x16c138(0x574)]['send'](_0xe9800a,this[_0x16c138(0x350)]);}};}async[_0x3f2ec9(0x27b)](_0x257237){const _0x5b4d83=_0x3f2ec9;var _0x1f1b0b,_0x458c2a;const _0x6c2f6e=await this[_0x5b4d83(0x485)][_0x5b4d83(0x53d)](this[_0x5b4d83(0x350)]),_0x238bf0=(_0x1f1b0b=_0x6c2f6e==null?void 0x0:_0x6c2f6e['mutations'])!=null?_0x1f1b0b:[],_0x3f09d0=(_0x458c2a=_0x6c2f6e==null?void 0x0:_0x6c2f6e[_0x5b4d83(0x3cf)])!=null?_0x458c2a:null,_0x108ff4=!!(_0x3f09d0!=null&&_0x3f09d0[_0x5b4d83(0x5c9)])&&!!(_0x3f09d0!=null&&_0x3f09d0[_0x5b4d83(0x3cb)]);this[_0x5b4d83(0x214)]=_0x108ff4?_0x3f09d0[_0x5b4d83(0x5c9)]:zr(),this[_0x5b4d83(0x274)]=_0x108ff4?_0x3f09d0['reqId']:0x0;const _0x1ba59c=this[_0x5b4d83(0x350)];try{this['_replayCachedMutations'](_0x3f09d0,_0x238bf0);}catch(_0x114d65){this[_0x5b4d83(0x42f)][_0x5b4d83(0x3b5)](_0x114d65);}const _0x3b4edd=this[_0x5b4d83(0x475)]();if(_0x257237){const _0x38321f=Ai(this[_0x5b4d83(0x469)],_0x1ba59c,this[_0x5b4d83(0x531)],_0x3f09d0,_0x238bf0,_0x3b4edd);return _0x38321f instanceof pe?_0x38321f[_0x5b4d83(0x5b3)]():(_0x38321f instanceof ge||_0x38321f instanceof Te)&&_0x38321f[_0x5b4d83(0x1cc)](),_0x38321f;}return this[_0x5b4d83(0x469)][_0x5b4d83(0x262)](ye,_0x1ba59c,this['_type'],_0x3f09d0,_0x238bf0,_0x3b4edd);}[_0x3f2ec9(0x427)](_0x296c7a,_0x4382b6){const _0x39c67a=_0x3f2ec9;var _0x1b2e7d,_0x31f5ee;const _0x40212b=this[_0x39c67a(0x349)][_0x39c67a(0x431)][_0x39c67a(0x466)](this['_compressMutationService'][_0x39c67a(0x431)][_0x39c67a(0x5d6)]()['COMPRESS_MUTATION_APPLY']);(_0x1b2e7d=_0x40212b((_0x296c7a==null?void 0x0:_0x296c7a[_0x39c67a(0x3e6)])||[],null))==null||_0x1b2e7d[_0x39c67a(0x346)](_0x2500eb=>this['_commandService'][_0x39c67a(0x1d2)](_0x2500eb['id'],_0x2500eb['params'])),(_0x31f5ee=_0x40212b(_0x4382b6||[],null))==null||_0x31f5ee[_0x39c67a(0x346)](_0x4f60be=>this[_0x39c67a(0x39b)][_0x39c67a(0x1d2)](_0x4f60be['id'],_0x4f60be[_0x39c67a(0x562)]));}};gt=Es([H(0x3,_0x127ed5(_0x846a04)),H(0x4,_0x127ed5(q)),H(0x5,_0x127ed5(_0x2e95e0)),H(0x6,_0x127ed5(_0x4d6b84)),H(0x7,_0x127ed5(_0x5633d8)),H(0x8,_0x2a6a1c),H(0x9,_0x49a021),H(0xa,_0x79bb7b),H(0xb,_0x178a2e),H(0xc,_0x5c4d06(Rt))],gt);let ss=class extends gt{constructor(_0x234a6a,_0xcd047e,_0x536a72,_0xf85ff,_0x2e7d4f,_0x4c2b79,_0x1c0ef8,_0x313b35,_0x11c6d9,_0x436968,_0x1fdda6,_0x1924d2,_0x28ce23,_0x35f6b2,_0x5532a0,_0x1482ff,_0x273896,_0x290984){const _0x5882bf=_0x3f2ec9;super(_0x234a6a,_0x536a72,_0xcd047e,_0xf85ff,_0x2e7d4f,_0x4c2b79,_0x1c0ef8,_0x313b35,_0x35f6b2,_0x5532a0,_0x1482ff,_0x273896,_0x290984),this[_0x5882bf(0x350)]=_0x234a6a,this[_0x5882bf(0x4e4)]=_0xcd047e,this['_docStateChangeManagerService']=_0x11c6d9,this[_0x5882bf(0x512)]=_0x436968,this[_0x5882bf(0x41a)]=_0x1fdda6,this[_0x5882bf(0x572)]=_0x1924d2,this[_0x5882bf(0x276)]=_0x28ce23;}['_createHandler'](){const _0x3d4ad1=_0x3f2ec9,_0x4c0dfa=super[_0x3d4ad1(0x475)]();return _0x4c0dfa[_0x3d4ad1(0x4e8)]=_0x14f1ae=>this['_docTransformIMECacheService'][_0x3d4ad1(0x4de)](_0x14f1ae),_0x4c0dfa[_0x3d4ad1(0x39a)]=_0x23d1b6=>this[_0x3d4ad1(0x41a)][_0x3d4ad1(0x5a0)](_0x23d1b6),_0x4c0dfa[_0x3d4ad1(0x3df)]=_0x3326a3=>this[_0x3d4ad1(0x572)]['transformSelections'](_0x3326a3),_0x4c0dfa[_0x3d4ad1(0x313)]=_0x996803=>this['_docSyncEditingCollabCursorService'][_0x3d4ad1(0x4d1)](_0x996803),_0x4c0dfa[_0x3d4ad1(0x3fc)]=_0x3edbf1=>this[_0x3d4ad1(0x512)][_0x3d4ad1(0x281)](_0x3edbf1),_0x4c0dfa[_0x3d4ad1(0x32b)]=_0x122284=>this[_0x3d4ad1(0x41a)]['transformRemoteChangeset'](_0x122284),_0x4c0dfa;}async[_0x3f2ec9(0x51f)](){const _0x374e68=_0x3f2ec9,_0x5be6b6=await super[_0x374e68(0x51f)]();return this[_0x374e68(0x1c5)]['docStateChange$'][_0x374e68(0x3c4)](_0x54e638(this[_0x374e68(0x3e8)]))[_0x374e68(0x27a)](_0x2f42d2=>{const _0x3f7069=_0x374e68;if(_0x2f42d2==null)return;const {unitId:_0x3be17d,redoState:_0x485b3d,commandId:_0x4a870c}=_0x2f42d2;if(_0x3be17d!==this[_0x3f7069(0x350)])return;const _0xfa2856={'id':_0x4a870c,'type':_0x2597e7[_0x3f7069(0x5af)],'params':{'unitId':_0x3be17d,'actions':_0x485b3d[_0x3f7069(0x489)],'textRanges':null}};this[_0x3f7069(0x1f3)](_0xfa2856);}),_0x5be6b6;}};ss=Es([H(0x3,_0x127ed5(_0x846a04)),H(0x4,_0x127ed5(q)),H(0x5,_0x127ed5(_0x2e95e0)),H(0x6,_0x127ed5(_0x4d6b84)),H(0x7,_0x127ed5(_0x5633d8)),H(0x8,_0x127ed5(_0x2813e4)),H(0x9,_0x127ed5(ft)),H(0xa,_0x127ed5(mt)),H(0xb,_0x127ed5(pt)),H(0xc,_0x127ed5(Cs)),H(0xd,_0x2a6a1c),H(0xe,_0x49a021),H(0xf,_0x79bb7b),H(0x10,_0x178a2e),H(0x11,_0x5c4d06(Rt))],ss);let is=class extends gt{constructor(_0xe863a6,_0x1cbc9a,_0x2508d4,_0x5d8807,_0x23817e,_0x5d97f2,_0x54e8,_0x6f5eb,_0x431c49,_0x142d32,_0x4a305c,_0x1a5b8f,_0x1d6167,_0x5ec6b3){const _0x1f6a8f=_0x3f2ec9;super(_0xe863a6,_0x2508d4,_0x1cbc9a,_0x5d8807,_0x23817e,_0x5d97f2,_0x54e8,_0x6f5eb,_0x142d32,_0x4a305c,_0x1a5b8f,_0x1d6167,_0x5ec6b3),this[_0x1f6a8f(0x350)]=_0xe863a6,this[_0x1f6a8f(0x4e4)]=_0x1cbc9a,this[_0x1f6a8f(0x5bd)]=_0x431c49;}['_createHandler'](){const _0x166222=_0x3f2ec9,_0xa79e48=super[_0x166222(0x475)]();return _0xa79e48[_0x166222(0x3df)]=_0x4eb287=>this[_0x166222(0x5bd)][_0x166222(0x234)](_0x4eb287),_0xa79e48;}async[_0x3f2ec9(0x51f)](){const _0x5d09bc=_0x3f2ec9,_0x5c000d=await super[_0x5d09bc(0x51f)]();return this[_0x5d09bc(0x324)](this[_0x5d09bc(0x39b)][_0x5d09bc(0x21e)]((_0x256182,_0x3b338d)=>{const _0x1e5578=_0x5d09bc;if(_0x256182['type']!==_0x2597e7[_0x1e5578(0x5af)]||_0x3b338d!=null&&_0x3b338d[_0x1e5578(0x501)]||_0x3b338d!=null&&_0x3b338d[_0x1e5578(0x404)])return;const _0x44182d=_0x256182[_0x1e5578(0x562)];if((_0x44182d==null?void 0x0:_0x44182d['unitId'])!==this['unitID'])return;const _0x2fb3d5=_0x256182,_0x1cc9ef=this[_0x1e5578(0x349)][_0x1e5578(0x431)]['fetchThroughInterceptors'](this[_0x1e5578(0x349)][_0x1e5578(0x431)]['getInterceptPoints']()[_0x1e5578(0x215)])([_0x2fb3d5],null)||[_0x2fb3d5];this['_onLocalMutation'](_0x1cc9ef[0x0]);})),_0x5c000d;}};is=Es([H(0x3,_0x127ed5(_0x846a04)),H(0x4,_0x127ed5(q)),H(0x5,_0x127ed5(_0x2e95e0)),H(0x6,_0x127ed5(_0x4d6b84)),H(0x7,_0x127ed5(_0x5633d8)),H(0x8,_0x127ed5(vt)),H(0x9,_0x2a6a1c),H(0xa,_0x49a021),H(0xb,_0x79bb7b),H(0xc,_0x178a2e),H(0xd,_0x5c4d06(Rt))],is);var Co=Object[_0x3f2ec9(0x323)],Eo=Object[_0x3f2ec9(0x318)],bo=(_0x3897e6,_0x1ded14,_0x555545,_0x21e8cd)=>{const _0x5a5d3f=_0x3f2ec9;for(var _0x5e07c7=_0x21e8cd>0x1?void 0x0:_0x21e8cd?Eo(_0x1ded14,_0x555545):_0x1ded14,_0x483fdd=_0x3897e6[_0x5a5d3f(0x3a7)]-0x1,_0x19ed1d;_0x483fdd>=0x0;_0x483fdd--)(_0x19ed1d=_0x3897e6[_0x483fdd])&&(_0x5e07c7=(_0x21e8cd?_0x19ed1d(_0x1ded14,_0x555545,_0x5e07c7):_0x19ed1d(_0x5e07c7))||_0x5e07c7);return _0x21e8cd&&_0x5e07c7&&Co(_0x1ded14,_0x555545,_0x5e07c7),_0x5e07c7;},Lt=(_0x478a58,_0x23a82a)=>(_0x4955d4,_0x3c7842)=>_0x23a82a(_0x4955d4,_0x3c7842,_0x478a58);let it=class extends _0x404743{constructor(_0x464dca,_0x293026,_0x1ee7a0){const _0x12d61e=_0x3f2ec9;super(),g(this,_0x12d61e(0x4b8),new Map()),g(this,_0x12d61e(0x5bb),new _0xf004ca()),(this[_0x12d61e(0x469)]=_0x464dca,this['_collabSessionService']=_0x293026,this[_0x12d61e(0x590)]=_0x1ee7a0,this[_0x12d61e(0x51f)]());}['dispose'](){const _0x4bacb2=_0x3f2ec9;super[_0x4bacb2(0x385)](),this['_entities']['forEach'](_0x84137d=>_0x84137d['dispose']()),this[_0x4bacb2(0x4b8)][_0x4bacb2(0x367)]();}[_0x3f2ec9(0x5c7)](_0x324025){const _0x3c3996=_0x3f2ec9;var _0xf767cb;return(_0xf767cb=this['_entities'][_0x3c3996(0x333)](_0x324025))!=null?_0xf767cb:null;}[_0x3f2ec9(0x382)](_0x46489f){const _0x4ba5d6=_0x3f2ec9,_0x2aae6e=this[_0x4ba5d6(0x5c7)](_0x46489f);return _0x2aae6e?_0x2a9475(_0x2aae6e):this[_0x4ba5d6(0x5bb)]['pipe'](_0x2d77f8(_0x55d24f=>_0x55d24f[_0x4ba5d6(0x350)]===_0x46489f));}['_init'](){const _0x5f32e4=_0x3f2ec9;this[_0x5f32e4(0x590)][_0x5f32e4(0x57b)](_0x1a8690[_0x5f32e4(0x54f)])['pipe'](_0x54e638(this[_0x5f32e4(0x3e8)]),_0x1882f0(0x10))[_0x5f32e4(0x27a)](async _0xc795c3=>{const _0xa66213=_0x5f32e4,_0x257350=_0xc795c3[_0xa66213(0x461)](),_0x1e5ea4=await this['_startCollaboration'](_0x257350,ce[_0xa66213(0x54f)]);this['_entities']['set'](_0x257350,_0x1e5ea4);}),this[_0x5f32e4(0x590)][_0x5f32e4(0x57b)](_0x1a8690[_0x5f32e4(0x32a)])[_0x5f32e4(0x3c4)](_0x54e638(this[_0x5f32e4(0x3e8)]),_0x1882f0(0x10))[_0x5f32e4(0x3c4)](_0x2d77f8(_0x551888=>!_0x551888[_0x5f32e4(0x461)]()[_0x5f32e4(0x4db)]('__')))['subscribe'](async _0x4d9bd3=>{const _0x4e01eb=_0x5f32e4,_0x370346=_0x4d9bd3[_0x4e01eb(0x461)](),_0x2572a9=await this[_0x4e01eb(0x33a)](_0x370346,ce[_0x4e01eb(0x32a)]);this[_0x4e01eb(0x4b8)][_0x4e01eb(0x250)](_0x370346,_0x2572a9);}),_0x54a5bf(this[_0x5f32e4(0x590)][_0x5f32e4(0x31d)](_0x1a8690[_0x5f32e4(0x54f)]),this[_0x5f32e4(0x590)]['getTypeOfUnitDisposed$'](_0x1a8690[_0x5f32e4(0x32a)]))[_0x5f32e4(0x3c4)](_0x54e638(this[_0x5f32e4(0x3e8)]))['subscribe'](_0x5c63c9=>{const _0x4878c6=_0x5f32e4,_0x2946c6=_0x5c63c9[_0x4878c6(0x461)](),_0x528491=this['_entities']['get'](_0x2946c6);_0x528491&&(_0x528491[_0x4878c6(0x385)](),this[_0x4878c6(0x4b8)][_0x4878c6(0x1c4)](_0x2946c6));});}async[_0x3f2ec9(0x33a)](_0xb88e84,_0x4f35b7){const _0x309cc9=_0x3f2ec9,_0x192059=await this[_0x309cc9(0x2db)][_0x309cc9(0x58e)](_0xb88e84),_0x418b09=this[_0x309cc9(0x469)][_0x309cc9(0x262)](this['_getCtorByUniverType'](_0x4f35b7),_0xb88e84,_0x4f35b7,_0x192059);return await _0x418b09[_0x309cc9(0x282)](),this['_entityInit$'][_0x309cc9(0x3f5)](_0x418b09),_0x418b09;}[_0x3f2ec9(0x2fb)](_0x5d5c79){const _0x442cab=_0x3f2ec9;switch(_0x5d5c79){case ce[_0x442cab(0x32a)]:return ss;case ce[_0x442cab(0x54f)]:return is;default:throw new Error(_0x442cab(0x257)+_0x5d5c79);}}};it=bo([Lt(0x0,_0x127ed5(_0x846a04)),Lt(0x1,_0x127ed5(Ae)),Lt(0x2,_0x4c4975)],it);const Gs=[_0x3f2ec9(0x3e2),_0x3f2ec9(0x266),'verdancy600',_0x3f2ec9(0x5c8),_0x3f2ec9(0x2f3),_0x3f2ec9(0x23e)];class bs extends _0x4bee31{constructor(){const _0xa5d1ad=_0x3f2ec9;super(...arguments),g(this,_0xa5d1ad(0x4e9),new Map()),g(this,_0xa5d1ad(0x1ff),0x0);}[_0x3f2ec9(0x56c)](_0x59d207){const _0x456e0e=_0x3f2ec9;if(this['_assignedColors'][_0x456e0e(0x25f)](_0x59d207))return this[_0x456e0e(0x4e9)][_0x456e0e(0x333)](_0x59d207);const _0x2ce6c3=Gs[this[_0x456e0e(0x1ff)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Gs[_0x456e0e(0x3a7)],this[_0x456e0e(0x4e9)]['set'](_0x59d207,_0x2ce6c3),_0x2ce6c3;}}var To=Object[_0x3f2ec9(0x323)],Ro=Object['getOwnPropertyDescriptor'],yo=(_0x436e37,_0x47470d,_0x4e130d,_0x46a018)=>{const _0x21179b=_0x3f2ec9;for(var _0x68b9ef=_0x46a018>0x1?void 0x0:_0x46a018?Ro(_0x47470d,_0x4e130d):_0x47470d,_0x13c6f9=_0x436e37[_0x21179b(0x3a7)]-0x1,_0x187807;_0x13c6f9>=0x0;_0x13c6f9--)(_0x187807=_0x436e37[_0x13c6f9])&&(_0x68b9ef=(_0x46a018?_0x187807(_0x47470d,_0x4e130d,_0x68b9ef):_0x187807(_0x68b9ef))||_0x68b9ef);return _0x46a018&&_0x68b9ef&&To(_0x47470d,_0x4e130d,_0x68b9ef),_0x68b9ef;},Oe=(_0x22866d,_0xc61082)=>(_0x420d4c,_0x175117)=>_0xc61082(_0x420d4c,_0x175117,_0x22866d);const Oo=0x12c,wo=0x64;function _0x27e6(){const _0x25ea8f=['_doReset','focused$','SNAPSHOT_HAS_BEEN_REMOVED','_commentService','_substituteRedoStack','lineTo','PasswordBasedCipher','_retryCount','_localCacheService','compute','_removeClearOtherTimer','undoState','actions','row','onMouseMove','...','none','collabStatus.syncing','SNAPSHOT_URL_KEY','getCollabCursors$','_clearHeartbeatTimer','complete','/universer-api/comb','repeat','FileId','push','?size=','withCredentials','_setupSubUnitSync','entries','abs','registerComponent','_DEC_XFORM_MODE','APPLY_PERMISSION_DENIED','makeDirty','_hover','permissionRejEvent','exports','routeKey','UNAUTHENTICATED','_socket$','setUndoRedoMutationParamsCache','_snapshotServerService','Error\x20on\x20receiving\x20event','_candidateSocket','_commentUpdate$','_handler','_notificationService','_ensureSubject','addObject','UNRECOGNIZED','_removeRoom','_transformHistoryAndStateStack','onPointerEnter$','_unitStatus','sessionStatus$','fetching\x20missing\x20changesets\x20from\x20','roomMembers$','Utf8','_entities','_renderManagerService','listCollaborators','unsubscribe','subunit','awaiting','_resendTimeout','appendMutation','save\x20fail\x20reason\x20is\x20','_initStatusListener','StreamCipher','/universer-api/stream/file/upload','[SyncedState]:\x20received\x20rejection.','_socketReady','_awaitingChangeset','DeleteRangeMoveUpCommandId','_showConflictNotification','[DataLoaderController]','_config','baseRev','addImageSourceCache','currentSkeleton$','_refRangeService','SHOULD_CLOSE_CONN','collaboration-session-retry','syncEditingCollabCursor','getConfig','getSheetBySheetId','LICENSE_MAX_UNITS_EXCEEDED','moveTo','NOT_FOUND','onRemoteRetry','awaiting_with_pending','_ENC_XFORM_MODE','_members','startsWith','fetch_missing','Undefined','transformIMECache','registerRefRange','14024JvPKuX','saveOfflineData','registerHTTPInterceptor','_onConnectionOpen','type','decrypt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','transformChangesets','onTransformIME','_assignedColors','_getRedoStack','range','_onFetchMissResult','selections','number','clipPath','_telemetryInfo','[UniverCollaborationClientPlugin]','unshift','clearInterval','collaboration.single-unit.warning','_initResize','HEARTBEAT','hovered','1198913SRXxnm','_getAPIPrefix','LIVESHARE_NEW_HOST','0\x200\x2016\x2016','redoState','_sendingTimer','every','_HTTPService','attrs','fromCollab','getSheetBlock','findNodePositionByCharIndex','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','endRow','string','sheetID','splice','toggleOffline','_initRequestHeader','_onRecvEvent','LOCAL_CACHE_INTERVAL','LICENSE_IMPORT_SIZE_EXCEEDED','[PendingState]:\x20received\x20acknowledgement.','getRandomValues','JOINING','_startTelemetryCollaborationNewChangeset','_docTransformIMECacheService','className','enableLocalCache','pad','_name','deleteCollaborator','12cmdaVe','reconnect','getCurrentRevOfUnit','getParam','_colorAssignService','padding','isActive','_init','237933VRxQWq','collaboration_new_changeset','objectType','[CollaborationSession]','collabCursorState$','_clearLocalCache','getMemberID','post','objects','__Key__','_pendingMutations','ENSURE_SNAPSHOT_EXECUTION','_shouldReportTelemetry','setWaitCount','/role','_waitForHeartbeatResponse','UNKNOWN_CMD','_type','trim','name','AWAITING_WITH_PENDING','_uiPartsService','setShapeProps','[CollaborationSessionService]','_cursorShapes','_initUnitPermissionChange','registerOnClose','getCurrentSelections','onRemoteRej','loadOfflineData','_anchor','_process','0\x200\x2017\x2016','split','_nDataBytes','/collaborator','_queuedRemoteChangesets','_invKeySchedule','_stopTelemetryCollaborationNewChangeset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getFocusedUnit','charCodeAt','cursorInfo$','_userManagerService','getRelativeToViewportCoord','USERS_ENTER','now','UNIVER_SHEET','getDeserializedSheetBlock','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','__creator','CHANGESET_REJ','_doCryptBlock','getCurrentUser','OffLineSingle','_cursors','socket\x20close','INVALID_ARGUMENT','idSuffix','_updateState','unknown','setConfig','values','exhaustSavingTask','/object','/-/object/-/batch_allowed','params','_replaceFileID','_removeCollabCursors','_online','_listenToOnlineEvent','getActiveSheet','_hideTimer','_send','commentUpdate$','eventID','assignAColorForMemberID','_session','replaceDocRanges','_eventUnsubscribe','call','top','_docTransformSelectionsService','_onRefRangeChange','session','pushState','_onRemoteRetry','csAckEvent','_updateStatus','_getSendChangesetTimeout','ERROR_IMAGE_TYPE','getTypeOfUnitAdded$','urlChange$','/allowed','body','off-line-single_clip0_910_343','join','onload','url','ws://127.0.0.1:8000/universer-api/comb/connect','YUUMI_RATE_OVER_LIMIT','_doProcessBlock','[CollaborationUndoRedoService]','AES','getUndoRedoMutationParamsCache','resourceIDs','_sendHeartbeat','saveSheetBlock','_getScale','encode','requireSession','BlockCipher','_univerInstanceService','_textBubble','message$','UniverIcon','_clearUndo','getActiveRange','_singleActiveUnitService','listRoles','_cipher','transformUndoRedo','_handleHeartbeatEvent','debug','createCollaborator','show','Cipher','find','transformStateCache','stringify','TEXT','collabStatus.synced','objectID','height','fillStyle','UPDATE_PERMISSION_OBJ','_doFinalize','HEADER_MENU','_scheduleSaving','isEditing','getItem','_setupBeforeClosingHandler','currentColor','MUTATION','_refreshCollabCursors','YUUMI_URL_COL_OUT_OF_RANGE','words','_schedule','_configService','signUrlServerUrl','_clearTimeoutTimer','_getAnchorBounding','replaceState','jsx','all','_entityInit$','Unknown\x20user','_sheetTransformSelectionsService','_scheduleHeartbeat','/block/','CHANGESET_REVISION_CONFILICT','open$','isPermissionRej','getStateCache','DeleteRangeMoveLeftCommandId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformUndoredo','getCollabEntity','red300','sid','_hash','blockSize','_onMessage','_decreaseWaiting','children','path','USERS_LEAVE','_onRemoteChangeset','asObservable','Warning','ciphertext','toString','getInterceptPoints','_iKey','randomBytes','bind','_getDownloadEndpointURL','unit-cache-','color','font','updateCollaborator','_unitOnClients','_isPermissionRej','_state','fillText','delete','_docStateChangeManagerService','onRemoteChangeset','format','catch','RETRY_CONNECTING_MAX_COUNT','_remoteChangesetQueue','activeSheet$','resend','setActiveRange','socketService','_collabCursorState$','_timeoutTimer','measureText','executeCommand','_xformMode','location','_updateLocalCursor','beginPath','on-line-single_clip0_910_349','_ws','_keyPriorReset','hostname','defs','collabSubmitChangesetUrl','_socket','image/jpg','UNDEFINED','SHA1','_onCursorDelete','cmd','url(#off-line-single_clip0_910_343)','synced','_status$','prototype','_incrementRevisionNumber','_socketMessageSubscription','_selfUnitIDs','loadDoc','liveShareOperation','Decryptor','_clearScheduledTask','copyFileMeta','_waitCount','doc.mutation.rich-text-editing','_instanceService','COMPRESS_MUTATION_APPLY','_onLocalMutation','UnitSnapshot','_onRemoteACK','createDecryptor','retryConnectingInterval','_drawTextRange','_scene','getLatestCsReqIdBySid','collaboratorID','width','_snapshotService','APPLY_DUPLICATED','_colorIndex','_onConnectionFailed','_resendWithTimeout','for','RemoveColCommandId','_color','svg','_transformRemoteChangesetByStateCache','loadSheet','_cursorInfo$','2465050tTlbbf','_throwTelemetryCollaborationNewChangeset','_scheduleTimestamp','hidden','_imageSourceCache','#FFF','Could\x20not\x20dynamically\x20require\x20\x22','Malformed\x20UTF-8\x20data','PERMISSION_DENIED','_getAPIPrefixPath','MD5','_changesetSessionId','COMPRESS_MUTATION_SEND','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','UPDATE_CURSOR','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_event$','onReady','onlineStatusIcon','downloadEndpointUrl','/new_changes','onCommandExecuted','_heartbeatTimer','_getUploadFileURL','salt','setTimeout','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','parse','_cachedData','SEND_CHANGESET_TIMEOUT','setInterval','reduce','_registerDependencies','mode','6396760doifnc','InsertRowCommandId','onTransformChange$','COMPLETION_FINISHED','_collaborationController','_sessions','_listenToOfflineEvent','telemetry\x20info\x20is\x20not\x20initialized','localeService','transformSelections','[SyncedState]:\x20received\x20acknowledgement.','setStateCache','sessionStatus','__esModule','use','ERROR_IMAGE','getUnhiddenWorksheets','conflict','status$','gold400','contains','_initCommandExecutedListener','_initCloseConn','APPLY_REJECT','ref','csShouldRetryEvent','keySize','_id','getUnitType','image/png','_initStatusComponent','_handleLeaveEvent','_transformStateCache','compose','clone','_mode','_onCombEvent','set','_transformService','#fff','collab-client.tooltip.reconnect','CHANGESET_ACK','reverse','_tryEnsureSocket','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','size','_createHmacHelper','editing\x20status\x20changed\x20to','sigBytes','_roomMembers','[CollaborationEntity]','UNIVER_UNKNOWN','has','_lockTransition','byteOffset','createInstance','_reverseMap','_loadSheet','2849WUGzXG','jiqing500','hasher','evenodd','requestParams','toggleOnline','getRangePointData','_onUserLeave','_unlockTransition','_updateLocalCache','map','_disabled','round','reject','getCellPositionByOffset','_changesetReqId','_handleEvent','_docSyncEditingCollabCursorService','OTHER_CLIENTS_EDITING','_loadDoc','InsertColCommandId','subscribe','_createInitialStateImpl','history','JOIN','off-line-single','getVpScrollXYInfoByPosToVp','generateRandomId','transformRemoteChangeset','init','/fetchmissing?from=','LEAVE','_onOffline','_createInitialState','duration','status','sheets','append','resize','byteLength','authzUrl','/universer-api/oidc/authpage','COMMENT_UPDATE','PSEUDO_FETCH_MISSING_RESULT','_startSheetCollabCursor','PERMISSION_REJ','/universer-api/authz','_onUserJoin','loginUrlKey','update','BlockCipherMode','getUnitOnRev','OnLineSingle','startTime','univer-offline','_disableEditing','collaboration.closeRoom','startRow','colorChannel1','hide','encodeURIComponent','_sender','_tryReconnect','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','readAsDataURL','restore','_render','INGEST','_sessionStatus$','_telemetryService','setCurrentUser','textRanges','target','put','with','UNIVER_PROJECT','COLLAB_WEB_SOCKET_URL','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_syncEditingCollabCursor','pending','href','_messageService','failed\x20to\x20apply\x20missed\x20changesets!','_scheduleClearOtherTimer','updateCursorEvent','subscribeEvent','includes','session.connection-failed','onlineStatusTitle','Error','_urlService','pluginName','_exhaustRemoteChangesetQueue','getSkeleton','close','collab-rect-range-','_cursor','InsertRangeMoveDownCommandId','connection\x20error','&source=','ranges','roomMembers','Base64','RECV','_getCurrentRevision','ALREADY_EXISTS','_checkMissing','getImageSourceCache','Base','reset','_socketService','_oKey','text','[PendingState]:\x20received\x20rejection.','NEW_CHANGESETS','revision','Latin1','_updateCollabCursors','_collabSessionService','LICENSE_DISTRO_REJECTED','pauseCollaboration','session.room-full','permission.content','extend','permission.title','_httpService','encrypt','_resendTimer','LOGIN_URL_KEY','univer-online-status-title','ERROR_EXCEED_SIZE','collabStatus.notCollab','_toggleOffline','removeMember','_beforeCloseService','resolve','HMAC','_state$','EvpKDF','setParam','_context','?url=','blue400','x-univer-host','_transformUndoRedoStack','FromArray','_minBufferSize','_revisionService','_saveTaskMap','src','_getCtorByUniverType','_updateURLWithCurrentState','unitId\x20is\x20not\x20found','onRemoteAck','_permissionService','LIVESHARE_TERMINATE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','close$','BufferedBlockAlgorithm','add','YUUMI_SUBSCRIPTION_NOT_FOUND','/universer-api/snapshot/','_clearCollaborationTimeoutTimer','rgba(255,\x20255,\x20255,\x200.01)','_collaborationPaused','min','_rescheduleHeartbeat','filter','_transformStack','bottom','5972820kSqZfa','[OfflineState]:\x20received\x20rejection.','_localeService','_hovered','onSyncEditingCollabCursor','getCurrent','_sendHeartbeatTimer','_unitID','getAncestorScale','getOwnPropertyDescriptor','userID','_data','getValue','visibilityState','getTypeOfUnitDisposed$','processBlock','tag','_iv','univer-online-status','fill','defineProperty','disposeWithMe','_getMergeRange','defaultProps','csRejEvent','newValue','clamp','UNIVER_DOC','onTransformRemoteChangesetByStateCache','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getUnit','RemoveRowCommandId','\x0aAfter:\x20','createSocket','42723RSNlBP','_handleHover','get','_fetchMissChangesets','floor','transformMutationsWithChangeset','addEventListener','registerRenderModule','Pkcs7','_startCollaboration','algo','YUUMI_UNABLE_LOAD_URL','PENDING','univer-pro.collaboration-client-socket-service','then','getRoom','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','\x20to\x20','headers','toLowerCase','HELLO','forEach','/rev/','snapshotServerUrl','_compressMutationService','ONLINE','max','setItem','event$','Hasher','HttpExport','unitID','_registerRenderDependencies','_drawRectRange','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ivSize','_clearOtherTimers','[OfflineState]:\x20received\x20changeset.','endColumn','CONNECTOR_DATA_TOO_LARGE','ceil','FETCH_MISS','random','collabStatus.fetchMiss','VIEW_MAIN','ACTIVE_UNIT_EVENT_CHANNEL','disableLocalCache','_onJoinRoomEvent','TOO_MANY_REQUESTS','getUnitStatus$','_backgroundColor','SYNCED','unload','code','clear','updateOfflineData','_anchorDot','startColumn','getOwnPropertySymbols','_scheduleCollaborationTimeoutTimer','disposeUnit','joinRsp','_docSkeleton','closeSession','div','LIVESHARE_REQUEST_HOST','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','FETCH_MISSING','msCrypto','closePath','OFFLINE','_startDocCollabCursor','react.element','_lastPointer','_onConflict','on-line-single','_onCursorUpdate','m1Prime','offline','displayName','getViewport','getCollabEntity$','_transitionLocked','shouldCloseConn','dispose','_getSaveTimeout','onSendChangeset','M0\x200H16V16H0z','_collaborationSessionService','_toggleOnline','session.collaboration-timeout','m2Prime','result','crypto','AWAITING','/-/object/list','image/gif','_document','APPLY_NON_SEQUENTIAL_REVISION','_range','getCurrentUnitForType','univerjs-icon\x20univerjs-icon-','url(#on-line-single_clip0_910_349)','_acknowledgedAwaitingChangeset','data','onTransformState','_commandService','change$','_getUndoStack','SUBMIT_CHANGESET','CHANGESET_SHOULD_RETRY','c1Prime','_themeService','_sheetSkeletonManagerService','_redoStacks','toRgbString','isArray','_shapes','length','replace','black','_retryConnectingTimer','updateMember','_transformRemoteChangesetByIMECache','indexOf','confirm','hasOwnProperty','formatter','collaMsg','collaboration-client.offline-data-not-saved','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','error','memberID','incrementRevOfUnit','c2Prime','NOT_COLLAB','_change$','enableSingleActiveInstanceLock','_joinRoom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','image/jpeg','icon','DEFAULT_FILE_NAME','symbol','snapshot','_hasher','pipe','_createSocket','onMissingChangesets','POST','UnitEmbedded','putCollaborators','UUID','reqId','AUTHZ_URL_KEY','_substituteUndoStack','url(#$1','awaitingChangeset','HEARTBEAT_TIMEOUT','[CollaborationState]:\x20apply\x20error!','_onRemoteRejected','/unit/','_saveCache','jsxs','decryptBlock','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','joinEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_transformSelections','finalize','assign','_append','arc','onTransformSelections','state$','SNAPSHOT_INVALID_SNAPSHOT','purple300','rng','skeleton','enableAuthServer','mutations','WordArray','dispose$','Hex','_labelPosition','/universer-api/snapshot','_roomMembers$','unit','_transformPreviousActiveRange','LICENSE_EXPORT_SIZE_EXCEEDED','InsertRangeMoveRightCommandId','setShowComponents','substr','refreshPermission','getRenderById','next','propertyIsEnumerable','\x20-\x20','\x20in\x20_schedule.','UNIVER_SLIDE','getSheetId','fetchMissingChangesets','onTransformRemoteChangesetByIMECache','create','1em','deepClone','xlink:href','transformMutation','createEncryptor','collaboration-client.config','onlyLocal','LIVESHARE_OPERATION','_draw','INTERNAL_ERROR','state','whenReady','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','lib','drawWith','Encryptor','submit\x20changeset\x20error!','_undoRedoService','enc','subUnitId','[OfflineState]:\x20received\x20acknowledgement.','collabWebSocketUrl','addObjects','_transformIMECache','function','_initMergeInterceptor','_http','onCommentUpdate','_docTransformStateCacheService','onlineStatus','randomUUID','uploadFileServerUrl','updatePermissionPoint','_keySchedule','_getSignURL','onRendered','column','unitId','from','key','action','_replayCachedMutations','getMergeData','cfg','engine','_collabCursorController','saveChangeset','save','encryptBlock','_logService','stopTime','interceptor','_getSheetObject','_localStorageService','react.fragment','override','IDLE','apply','_docSkeletonManagerService','OpenSSL','labelPosition','_getSnapshotAPIPrefix','_nRounds','commentUpdateEvent','slice','charAt','originalMeta','_collaborationTimeoutTimer','&assign=','cursorInfo','_memberService','searchParams','send','RECT','concat','responseType','session.will-retry','getMember','defIds','HmacMD5','changesets','_handleJoinEvent','_submitChangeset','8530XVcYfk','univer-online','selection','onPointerLeave$','currentTheme$','patch','newCsEvent','_updateSubUnitFromURLParams','SUCCUSS','mixIn','onMissedChangesetFetched','kdf','CBC','rev','fromCharCode','current','getUnitId','setAlpha','_initDependencies','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','_syncEditingCollabCursorService','fetchThroughInterceptors','fetchMiss','translate(.97)','_injector','_key','list','clearTimeout','_executeRemoteChangeset','_prevBlock','_clearRedo','object','collabStatus.conflict','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','$super','APPLY_REVISION_CONFILICT','_createHandler','_applyRemoteChangeset','/universer-api/file/{fileID}/sign-url','BASE64','LIVESHARE_FETCH_OPERATIONS','_createHelper','CONFLICT','default'];_0x27e6=function(){return _0x25ea8f;};return _0x27e6();}let ns=class extends _0x404743{constructor(_0x5c69b1,_0x4b0a8b,_0x4da223,_0x248740,_0x182387,_0x599d4b,_0x1c7994,_0x482047,_0x2b30f7){const _0x14f97f=_0x3f2ec9;super(),g(this,_0x14f97f(0x565),!0x1),g(this,'_init',!0x1),g(this,_0x14f97f(0x208),new _0x286de7(new Map())),g(this,'cursorInfo$',this['_cursorInfo$'][_0x14f97f(0x5d2)]()),g(this,_0x14f97f(0x3ec),new _0x286de7([])),g(this,_0x14f97f(0x4b6),this[_0x14f97f(0x3ec)]['pipe'](_0xa82325(Oo))),g(this,_0x14f97f(0x1d5),_0x58d671(_0x3edadf=>{const _0x1b1fbb=_0x14f97f,_0x29a78c={'eventID':_0x371f1e[_0x1b1fbb(0x217)],'data':{'unitID':this[_0x1b1fbb(0x350)],'memberID':this[_0x1b1fbb(0x56d)][_0x1b1fbb(0x526)](),'selection':Pi(_0x3edadf)}};this[_0x1b1fbb(0x56d)][_0x1b1fbb(0x446)](_0x29a78c,this['unitID']);},wo)),(this[_0x14f97f(0x350)]=_0x5c69b1,this[_0x14f97f(0x56d)]=_0x4b0a8b,this['_injector']=_0x4da223,this['_colorAssignService']=_0x248740,this[_0x14f97f(0x444)]=_0x182387,this[_0x14f97f(0x465)]=_0x599d4b,this['_transformService']=_0x1c7994,this['_univerInstanceService']=_0x482047,this[_0x14f97f(0x39b)]=_0x2b30f7);}get[_0x3f2ec9(0x443)](){const _0x27a4b9=_0x3f2ec9;return this[_0x27a4b9(0x208)][_0x27a4b9(0x31b)]();}get['roomMembers'](){const _0x41a644=_0x3f2ec9;return this[_0x41a644(0x3ec)][_0x41a644(0x31b)]();}[_0x3f2ec9(0x385)](){const _0x29c3d3=_0x3f2ec9;super[_0x29c3d3(0x385)](),this[_0x29c3d3(0x208)][_0x29c3d3(0x3f5)](new Map()),this[_0x29c3d3(0x208)][_0x29c3d3(0x492)](),this['_roomMembers$'][_0x29c3d3(0x3f5)]([]),this['_roomMembers$'][_0x29c3d3(0x492)]();}[_0x3f2ec9(0x282)](){const _0x19c21=_0x3f2ec9;this[_0x19c21(0x51f)]||(this['_init']=!0x0,this['_session'][_0x19c21(0x4b4)][_0x19c21(0x3c4)](_0x54e638(this[_0x19c21(0x3e8)]))[_0x19c21(0x27a)](_0x1a4450=>{const _0x23ee4a=_0x19c21;_0x1a4450===ve['ONLINE']?this['_toggleOnline']():this[_0x23ee4a(0x2e9)]();}),this['_session'][_0x19c21(0x34d)]['pipe'](_0x54e638(this[_0x19c21(0x3e8)]))[_0x19c21(0x27a)](_0x1f7c70=>{const _0x37a857=_0x19c21,_0x158d65=_0x1f7c70[_0x37a857(0x56b)];_0x158d65===_0x371f1e[_0x37a857(0x217)]&&this[_0x37a857(0x37d)](_0x1f7c70),_0x158d65===_0x371f1e[_0x37a857(0x5d0)]&&this[_0x37a857(0x1e1)](_0x1f7c70);}),this[_0x19c21(0x324)](this['_commandService'][_0x19c21(0x21e)](_0x2ab120=>{const _0x3e7ce2=_0x19c21,_0x2aeb8d=_0x2ab120['params'];_0x2aeb8d!=null&&this[_0x3e7ce2(0x565)]&&_0x2ab120['id']===_0x14c8d9['id']&&_0x2aeb8d[_0x3e7ce2(0x423)]===this[_0x3e7ce2(0x350)]&&_0x2aeb8d[_0x3e7ce2(0x5ab)]===!0x1&&_0x2aeb8d[_0x3e7ce2(0x2c9)][_0x3e7ce2(0x3a7)]>0x0&&this[_0x3e7ce2(0x1d5)](_0x2aeb8d[_0x3e7ce2(0x2c9)]);})),this[_0x19c21(0x465)]['collabCursorState$'][_0x19c21(0x3c4)](_0x54e638(this[_0x19c21(0x3e8)]))[_0x19c21(0x27a)](_0x2ea97d=>{const _0x44ca2b=_0x19c21;if((_0x2ea97d==null?void 0x0:_0x2ea97d[_0x44ca2b(0x350)])!==this[_0x44ca2b(0x350)])return;const _0x4d0fbd={'eventID':_0x371f1e[_0x44ca2b(0x217)],'data':_0x2ea97d};this['_onCursorUpdate'](_0x4d0fbd);}),this[_0x19c21(0x324)](this[_0x19c21(0x39b)][_0x19c21(0x21e)](_0xddd2f6=>{const _0x318cdf=_0x19c21;if(_0xddd2f6[_0x318cdf(0x562)]==null)return;const _0x539394=_0xddd2f6['params'];if(_0xddd2f6['id']!==_0x6aa10a['id']||_0x539394[_0x318cdf(0x423)]!==this['unitID'])return;const _0xb289e9={'id':_0x318cdf(0x1f0),'params':_0x539394},_0x16b90e=this[_0x318cdf(0x443)];for(const [_0x16073b,_0x50747e]of _0x16b90e){const _0x1dae29={'id':_0x318cdf(0x1f0),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x50747e['ranges']}},_0x3477f7=this[_0x318cdf(0x251)][_0x318cdf(0x401)](_0xb289e9,_0x1dae29,!0x1);if(_0x1d55d1(_0x3477f7))throw _0x3477f7[_0x318cdf(0x3b5)];_0x16b90e[_0x318cdf(0x250)](_0x16073b,{..._0x50747e,'ranges':_0x3477f7[_0x318cdf(0x38c)][_0x318cdf(0x562)]['textRanges']});}queueMicrotask(()=>{const _0x44e350=_0x318cdf;this[_0x44e350(0x208)][_0x44e350(0x3f5)](_0x16b90e);});})));}['_onCursorUpdate'](_0x5d9cbf){const _0x41e2ea=_0x3f2ec9;var _0x3ab1ad,_0x5ed7da;const {memberID:_0x5b0086,selection:_0x24a419}=_0x5d9cbf[_0x41e2ea(0x399)],_0x3dc6de=ho(_0x24a419),_0xf65fec=(_0x5ed7da=(_0x3ab1ad=this[_0x41e2ea(0x444)][_0x41e2ea(0x44b)](this[_0x41e2ea(0x350)],_0x5b0086))==null?void 0x0:_0x3ab1ad['name'])!=null?_0x5ed7da:_0x41e2ea(0x5bc),_0x3ac770={'color':this[_0x41e2ea(0x51c)][_0x41e2ea(0x56c)](_0x5b0086),'name':_0xf65fec,'ranges':_0x3dc6de},_0x4ee1a3=this[_0x41e2ea(0x443)];_0x4ee1a3[_0x41e2ea(0x250)](_0x5b0086,_0x3ac770),this[_0x41e2ea(0x208)][_0x41e2ea(0x3f5)](_0x4ee1a3);}[_0x3f2ec9(0x1e1)](_0xeebab3){const _0x438222=_0x3f2ec9,{memberID:_0x5d152a}=_0xeebab3[_0x438222(0x399)],_0x43592c=this['cursorInfo'];_0x43592c[_0x438222(0x1c4)](_0x5d152a),this[_0x438222(0x208)][_0x438222(0x3f5)](_0x43592c);}[_0x3f2ec9(0x38a)](){const _0x351381=_0x3f2ec9;var _0x1a883c;if(this[_0x351381(0x565)]=!0x0,((_0x1a883c=this[_0x351381(0x590)][_0x351381(0x548)]())==null?void 0x0:_0x1a883c[_0x351381(0x461)]())!==this[_0x351381(0x350)])return;const _0x35e4fb=this[_0x351381(0x469)][_0x351381(0x333)](_0x36c4dd)['getDocRanges']();Array[_0x351381(0x3a5)](_0x35e4fb)&&_0x35e4fb['length']>0x0&&this['_updateLocalCursor'](_0x35e4fb);}[_0x3f2ec9(0x2e9)](){const _0x102a30=_0x3f2ec9;this[_0x102a30(0x565)]=!0x1;}};ns=yo([Oe(0x2,_0x127ed5(_0x846a04)),Oe(0x3,_0x127ed5(bs)),Oe(0x4,_0x127ed5(Ne)),Oe(0x5,_0x127ed5(Cs)),Oe(0x6,_0x1ba0e0),Oe(0x7,_0x4c4975),Oe(0x8,_0x49a021)],ns);var Do=Object[_0x3f2ec9(0x323)],Po=Object[_0x3f2ec9(0x318)],Uo=(_0x1de457,_0x46d16e,_0x2ae4f0,_0x8d76d8)=>{const _0x54c546=_0x3f2ec9;for(var _0x214d37=_0x8d76d8>0x1?void 0x0:_0x8d76d8?Po(_0x46d16e,_0x2ae4f0):_0x46d16e,_0x3f37a7=_0x1de457[_0x54c546(0x3a7)]-0x1,_0x497aab;_0x3f37a7>=0x0;_0x3f37a7--)(_0x497aab=_0x1de457[_0x3f37a7])&&(_0x214d37=(_0x8d76d8?_0x497aab(_0x46d16e,_0x2ae4f0,_0x214d37):_0x497aab(_0x214d37))||_0x214d37);return _0x8d76d8&&_0x214d37&&Do(_0x46d16e,_0x2ae4f0,_0x214d37),_0x214d37;},Be=(_0x45f7bf,_0x4eedcd)=>(_0x2407a4,_0x49f8c6)=>_0x4eedcd(_0x2407a4,_0x49f8c6,_0x45f7bf);const No=0x12c,Ao=0x64,Mo=()=>{let _0x3bd4fe=[],_0x6f4689=!0x1;return _0x2e7a13=>{const _0x2763a3=_0x1414;_0x3bd4fe[_0x2763a3(0x496)](_0x2e7a13),_0x6f4689||(_0x6f4689=!0x0,setTimeout(()=>{const _0x3ead00=_0x2763a3;_0x3bd4fe[_0x3ead00(0x346)](_0x47a0e2=>_0x47a0e2()),_0x3bd4fe=[],_0x6f4689=!0x1;}));};};let rs=class extends _0x404743{constructor(_0x3f22c9,_0x21275b,_0x2408df,_0x17d9ab,_0x1e824b,_0x1fafbe,_0xb6f861,_0x2bc554){const _0x445f51=_0x3f2ec9;super(),g(this,_0x445f51(0x565),!0x1),g(this,_0x445f51(0x51f),!0x1),g(this,_0x445f51(0x208),new _0x286de7(new Map())),g(this,_0x445f51(0x54a),this[_0x445f51(0x208)][_0x445f51(0x5d2)]()),g(this,_0x445f51(0x3ec),new _0x286de7([])),g(this,_0x445f51(0x4b6),this['_roomMembers$'][_0x445f51(0x3c4)](_0xa82325(No))),g(this,_0x445f51(0x1d5),_0x58d671((_0xf6757a,_0x3f3d33)=>{const _0x4c515a=_0x445f51,_0x2bc044={'eventID':_0x371f1e[_0x4c515a(0x217)],'data':{'unitID':this[_0x4c515a(0x350)],'memberID':this[_0x4c515a(0x56d)][_0x4c515a(0x526)](),'selection':_0x874bec(_0xf6757a,_0x3f3d33[_0x4c515a(0x4eb)])}};this[_0x4c515a(0x56d)][_0x4c515a(0x446)](_0x2bc044,this[_0x4c515a(0x350)]);},Ao)),(this[_0x445f51(0x350)]=_0x3f22c9,this[_0x445f51(0x56d)]=_0x21275b,this[_0x445f51(0x469)]=_0x2408df,this[_0x445f51(0x51c)]=_0x17d9ab,this[_0x445f51(0x444)]=_0x1e824b,this['_univerInstanceService']=_0x1fafbe,this['_commandService']=_0xb6f861,this[_0x445f51(0x4ce)]=_0x2bc554);}get[_0x3f2ec9(0x443)](){const _0x552987=_0x3f2ec9;return this[_0x552987(0x208)]['getValue']();}get[_0x3f2ec9(0x2ca)](){const _0x43b0c0=_0x3f2ec9;return this[_0x43b0c0(0x3ec)]['getValue']();}[_0x3f2ec9(0x385)](){const _0x2ff5bb=_0x3f2ec9;super[_0x2ff5bb(0x385)](),this[_0x2ff5bb(0x208)][_0x2ff5bb(0x3f5)](new Map()),this[_0x2ff5bb(0x208)][_0x2ff5bb(0x492)](),this['_roomMembers$'][_0x2ff5bb(0x3f5)]([]),this[_0x2ff5bb(0x3ec)][_0x2ff5bb(0x492)]();}['init'](){const _0x20c48b=_0x3f2ec9;this['_init']||(this[_0x20c48b(0x51f)]=!0x0,this[_0x20c48b(0x56d)][_0x20c48b(0x4b4)]['pipe'](_0x54e638(this['dispose$']))[_0x20c48b(0x27a)](_0xdd9401=>{const _0x55dec0=_0x20c48b;_0xdd9401===ve['ONLINE']?this['_toggleOnline']():this[_0x55dec0(0x2e9)]();}),this['_session'][_0x20c48b(0x34d)][_0x20c48b(0x3c4)](_0x54e638(this['dispose$']))[_0x20c48b(0x27a)](_0x56af19=>{const _0x5a4015=_0x20c48b,_0x3158c1=_0x56af19[_0x5a4015(0x56b)];_0x3158c1===_0x371f1e[_0x5a4015(0x217)]&&this[_0x5a4015(0x37d)](_0x56af19),_0x3158c1===_0x371f1e['USERS_LEAVE']&&this['_onCursorDelete'](_0x56af19);}),this[_0x20c48b(0x573)](),this['disposeWithMe'](this['_commandService'][_0x20c48b(0x21e)](_0x24131=>{const _0x21033e=_0x20c48b;if(this[_0x21033e(0x565)]&&_0x24131['id']===_0x57bc2c['id']&&_0x24131[_0x21033e(0x562)][_0x21033e(0x423)]===this[_0x21033e(0x350)]){const _0x1ae38d=_0x24131[_0x21033e(0x562)];this[_0x21033e(0x1d5)](_0x1ae38d[_0x21033e(0x411)],_0x1ae38d[_0x21033e(0x4ed)][0x0]);}})));}[_0x3f2ec9(0x37d)](_0x1381b2){const _0x362a30=_0x3f2ec9;var _0x55a2ac,_0x528abe;const {memberID:_0x1a85a8,selection:_0x565fd0}=_0x1381b2[_0x362a30(0x399)],{sheetName:_0xb406eb,range:_0x54d777}=_0x583805(_0x565fd0),_0x45fc03={'name':(_0x528abe=(_0x55a2ac=this[_0x362a30(0x444)][_0x362a30(0x44b)](this[_0x362a30(0x350)],_0x1a85a8))==null?void 0x0:_0x55a2ac[_0x362a30(0x533)])!=null?_0x528abe:_0x362a30(0x5bc),'range':this[_0x362a30(0x325)](_0xb406eb,_0x54d777),'sheetID':_0xb406eb,'color':this[_0x362a30(0x51c)]['assignAColorForMemberID'](_0x1a85a8),'selection':_0x565fd0},_0x228d55=this[_0x362a30(0x443)];_0x228d55[_0x362a30(0x250)](_0x1a85a8,_0x45fc03),this[_0x362a30(0x208)][_0x362a30(0x3f5)](_0x228d55);}[_0x3f2ec9(0x1e1)](_0xf8901f){const _0x53449c=_0x3f2ec9,{memberID:_0x5cc9af}=_0xf8901f['data'],_0x5c9a40=this['cursorInfo'];_0x5c9a40[_0x53449c(0x1c4)](_0x5cc9af),this[_0x53449c(0x208)][_0x53449c(0x3f5)](_0x5c9a40);}[_0x3f2ec9(0x325)](_0x4836e7,_0x18a4dc){const _0x2e2d4c=_0x3f2ec9;var _0x129b2a,_0x509c69;const _0x36aeea=(_0x509c69=(_0x129b2a=this[_0x2e2d4c(0x590)]['getUniverSheetInstance'](this[_0x2e2d4c(0x350)]))==null?void 0x0:_0x129b2a['getSheetBySheetId'](_0x4836e7))==null?void 0x0:_0x509c69[_0x2e2d4c(0x428)]();return(_0x36aeea==null?void 0x0:_0x36aeea[_0x2e2d4c(0x59f)](_0x1922a6=>_0x4460be[_0x2e2d4c(0x23f)](_0x1922a6,_0x18a4dc)))||_0x18a4dc;}['_onRefRangeChange'](){const _0x8c2c8c=_0x3f2ec9,_0x4d1a4e=new _0x133ebf(),_0x13f64a=Mo(),_0x4509b4=()=>{const _0x543de2=_0x1414;_0x4d1a4e[_0x543de2(0x385)]();const _0x22fc2f=(_0x44107b,_0x39d620,_0x27d1f7,_0x14c962)=>{const _0x398cc5=_0x543de2;let _0x3d708b=[];switch(_0x44107b['id']){case _0x28cf41[_0x398cc5(0x5c4)]:{_0x3d708b=_0x4fca05(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x4c7)]:{_0x3d708b=_0x5272d2(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x279)]:{_0x3d708b=_0xcfcaf1(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x2c6)]:{_0x3d708b=_0x36d87a(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x3f0)]:{_0x3d708b=_0x2f62b8(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x22c)]:{_0x3d708b=_0x4b6f8f(_0x44107b,_0x14c962);break;}case _0x28cf41['MoveRangeCommandId']:{_0x3d708b=_0x4a2b4b(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x203)]:{_0x3d708b=_0xf4c67b(_0x44107b,_0x14c962);break;}case _0x28cf41[_0x398cc5(0x32e)]:{_0x3d708b=_0x3a8c75(_0x44107b,_0x14c962);break;}}const _0x57b7fa=_0x5c5021(_0x3d708b,_0x14c962),_0x25b986=this[_0x398cc5(0x443)][_0x398cc5(0x333)](_0x39d620);if(_0x25b986&&_0x57b7fa){const _0x49d650={..._0x25b986,'range':_0x57b7fa};this[_0x398cc5(0x443)]['set'](_0x39d620,_0x49d650),_0x13f64a(()=>{const _0x43665b=_0x398cc5,_0x4c158a=this[_0x43665b(0x4ce)]['registerRefRange'](_0x57b7fa,_0x3b30fe=>(_0x4c158a[_0x43665b(0x385)](),_0x22fc2f(_0x3b30fe,_0x39d620,_0x27d1f7,_0x57b7fa)));_0x4d1a4e[_0x43665b(0x304)](_0x4c158a);});}return{'redos':[],'undos':[]};};this[_0x543de2(0x443)]['forEach']((_0x546270,_0x1671c5)=>{const _0x2f05eb=_0x543de2,{range:_0x509fec,sheetID:_0x1dd62a}=_0x546270,_0x818337=this[_0x2f05eb(0x4ce)][_0x2f05eb(0x4df)](_0x509fec,_0x5b74b5=>(_0x818337[_0x2f05eb(0x385)](),_0x22fc2f(_0x5b74b5,_0x1671c5,_0x1dd62a,_0x509fec)));_0x4d1a4e[_0x2f05eb(0x304)](_0x818337);});};this[_0x8c2c8c(0x324)](_0x5d23c9(this[_0x8c2c8c(0x208)][_0x8c2c8c(0x27a)](()=>{_0x4509b4();})));}[_0x3f2ec9(0x38a)](){const _0x232d89=_0x3f2ec9;var _0x36eb63,_0xf9ce03;if(this[_0x232d89(0x565)]=!0x0,((_0x36eb63=this[_0x232d89(0x590)][_0x232d89(0x548)]())==null?void 0x0:_0x36eb63[_0x232d89(0x461)]())!==this['unitID'])return;const _0x4c94fd=(_0xf9ce03=this[_0x232d89(0x469)][_0x232d89(0x333)](_0x3c5a27)[_0x232d89(0x53b)]())==null?void 0x0:_0xf9ce03[0x0],_0x3ce571=this[_0x232d89(0x590)][_0x232d89(0x395)](_0x1a8690[_0x232d89(0x54f)])[_0x232d89(0x567)]();_0x4c94fd&&_0x3ce571&&this[_0x232d89(0x1d5)](_0x3ce571[_0x232d89(0x3fa)](),_0x4c94fd);}[_0x3f2ec9(0x2e9)](){const _0x9b8a62=_0x3f2ec9;this[_0x9b8a62(0x565)]=!0x1;}};rs=Uo([Be(0x2,_0x127ed5(_0x846a04)),Be(0x3,_0x127ed5(bs)),Be(0x4,_0x127ed5(Ne)),Be(0x5,_0x4c4975),Be(0x6,_0x49a021),Be(0x7,_0x127ed5(_0x4ded6e))],rs);var xo=Object['defineProperty'],Lo=Object[_0x3f2ec9(0x318)],$o=(_0xb8c934,_0x38ef8e,_0x3824e4,_0x528e88)=>{const _0x378689=_0x3f2ec9;for(var _0x132051=_0x528e88>0x1?void 0x0:_0x528e88?Lo(_0x38ef8e,_0x3824e4):_0x38ef8e,_0x53a147=_0xb8c934[_0x378689(0x3a7)]-0x1,_0x5a9ed4;_0x53a147>=0x0;_0x53a147--)(_0x5a9ed4=_0xb8c934[_0x53a147])&&(_0x132051=(_0x528e88?_0x5a9ed4(_0x38ef8e,_0x3824e4,_0x132051):_0x5a9ed4(_0x132051))||_0x132051);return _0x528e88&&_0x132051&&xo(_0x38ef8e,_0x3824e4,_0x132051),_0x132051;},$t=(_0x11ca2a,_0x1bd0cc)=>(_0x1826dd,_0xd74aae)=>_0x1bd0cc(_0x1826dd,_0xd74aae,_0x11ca2a);let Ve=class extends _0x404743{constructor(_0x2d54e4,_0x14a87d,_0x58170d){const _0x4b80f4=_0x3f2ec9;super(),g(this,_0x4b80f4(0x4b8),new Map()),g(this,_0x4b80f4(0x5bb),new _0xf004ca()),(this['_univerInstanceService']=_0x2d54e4,this['_injector']=_0x14a87d,this['_collabSessionService']=_0x58170d,this[_0x4b80f4(0x51f)]());}[_0x3f2ec9(0x385)](){const _0x99f213=_0x3f2ec9;super['dispose'](),this[_0x99f213(0x5bb)][_0x99f213(0x492)](),this[_0x99f213(0x4b8)][_0x99f213(0x346)](_0x243d91=>_0x243d91[_0x99f213(0x385)]());}[_0x3f2ec9(0x490)](_0x5e3b14){const _0x3c7458=_0x3f2ec9;return this[_0x3c7458(0x4b8)]['has'](_0x5e3b14)?this[_0x3c7458(0x4b8)][_0x3c7458(0x333)](_0x5e3b14)[_0x3c7458(0x54a)]:this[_0x3c7458(0x5bb)][_0x3c7458(0x3c4)](_0x33100e(_0x57b6ca=>_0x57b6ca[_0x3c7458(0x350)]===_0x5e3b14),_0x20c82a(_0x4e01a1=>_0x4e01a1[_0x3c7458(0x54a)]));}['_init'](){const _0x5811c5=_0x3f2ec9;this['_univerInstanceService'][_0x5811c5(0x57b)](_0x1a8690[_0x5811c5(0x54f)])['pipe'](_0x54e638(this[_0x5811c5(0x3e8)]))[_0x5811c5(0x27a)](async _0x9da03a=>{const _0x455fcc=_0x5811c5,_0x5b31e8=_0x9da03a[_0x455fcc(0x461)](),_0x17b16c=await this[_0x455fcc(0x291)](_0x5b31e8);this[_0x455fcc(0x5bb)][_0x455fcc(0x3f5)](_0x17b16c),this['_entities'][_0x455fcc(0x250)](_0x5b31e8,_0x17b16c);}),this[_0x5811c5(0x590)][_0x5811c5(0x57b)](_0x1a8690[_0x5811c5(0x32a)])[_0x5811c5(0x3c4)](_0x54e638(this[_0x5811c5(0x3e8)]))['pipe'](_0x33100e(_0xcfa703=>!_0xcfa703[_0x5811c5(0x461)]()['startsWith']('__')))[_0x5811c5(0x27a)](async _0x104c9b=>{const _0x4b44d3=_0x5811c5,_0xd038b7=_0x104c9b[_0x4b44d3(0x461)](),_0x4eb150=await this[_0x4b44d3(0x378)](_0xd038b7);this[_0x4b44d3(0x5bb)][_0x4b44d3(0x3f5)](_0x4eb150),this[_0x4b44d3(0x4b8)][_0x4b44d3(0x250)](_0xd038b7,_0x4eb150);}),_0x54a5bf(this[_0x5811c5(0x590)][_0x5811c5(0x31d)](_0x1a8690['UNIVER_DOC']),this[_0x5811c5(0x590)][_0x5811c5(0x31d)](_0x1a8690['UNIVER_SHEET']))['pipe'](_0x54e638(this[_0x5811c5(0x3e8)]))[_0x5811c5(0x27a)](_0x30fecb=>{const _0x7f1e4=_0x5811c5,_0x3d1539=_0x30fecb['getUnitId'](),_0x750052=this[_0x7f1e4(0x4b8)][_0x7f1e4(0x333)](_0x3d1539);_0x750052&&(_0x750052[_0x7f1e4(0x385)](),this[_0x7f1e4(0x4b8)][_0x7f1e4(0x1c4)](_0x3d1539));});}async[_0x3f2ec9(0x291)](_0x467682){const _0x28d94a=_0x3f2ec9,_0x2adda9=await this[_0x28d94a(0x2db)]['requireSession'](_0x467682),_0x1470af=this['_injector'][_0x28d94a(0x262)](rs,_0x467682,_0x2adda9);return _0x1470af['init'](),_0x1470af;}async[_0x3f2ec9(0x378)](_0x391534){const _0x3b53e0=_0x3f2ec9,_0x23b3e9=await this[_0x3b53e0(0x2db)][_0x3b53e0(0x58e)](_0x391534),_0x391143=this[_0x3b53e0(0x469)][_0x3b53e0(0x262)](ns,_0x391534,_0x23b3e9);return _0x391143['init'](),_0x391143;}};Ve=$o([$t(0x0,_0x4c4975),$t(0x1,_0x127ed5(_0x846a04)),$t(0x2,_0x127ed5(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x2bd191,_0x4019f8){const _0x498fe3=_0x3f2ec9;let {radius:_0x5d6e15,width:_0x4555a5,height:_0x4316a4}=_0x4019f8;_0x5d6e15=_0x5d6e15!=null?_0x5d6e15:0x0,_0x4555a5=_0x4555a5!=null?_0x4555a5:0x1e,_0x4316a4=_0x4316a4!=null?_0x4316a4:0x1e;let _0x5f0184=0x0,_0x4ee7e5=0x0,_0x1cb703=0x0;_0x5f0184=_0x4ee7e5=_0x1cb703=Math[_0x498fe3(0x30a)](_0x5d6e15,_0x4555a5/0x2,_0x4316a4/0x2),_0x2bd191[_0x498fe3(0x1d6)](),_0x2bd191[_0x498fe3(0x4d5)](_0x5f0184,0x0),_0x2bd191[_0x498fe3(0x482)](_0x4555a5-_0x4ee7e5,0x0),_0x2bd191[_0x498fe3(0x3de)](_0x4555a5-_0x4ee7e5,_0x4ee7e5,_0x4ee7e5,Math['PI']*0x3/0x2,0x0,!0x1),_0x2bd191[_0x498fe3(0x482)](_0x4555a5,_0x4316a4-_0x1cb703),_0x2bd191[_0x498fe3(0x3de)](_0x4555a5-_0x1cb703,_0x4316a4-_0x1cb703,_0x1cb703,0x0,Math['PI']/0x2,!0x1),_0x2bd191[_0x498fe3(0x482)](0x0,_0x4316a4),_0x2bd191['lineTo'](0x0,_0x5f0184),_0x2bd191['arc'](_0x5f0184,_0x5f0184,_0x5f0184,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2bd191[_0x498fe3(0x376)](),_0x4019f8[_0x498fe3(0x322)]&&(_0x2bd191[_0x498fe3(0x42d)](),_0x2bd191[_0x498fe3(0x5a6)]=_0x4019f8['fill'],_0x4019f8['fillRule']===_0x498fe3(0x268)?_0x2bd191[_0x498fe3(0x322)](_0x498fe3(0x268)):_0x2bd191[_0x498fe3(0x322)](),_0x2bd191[_0x498fe3(0x2a6)]());}class yt extends _0x53dc57{constructor(_0x53e8cb,_0x264cf0){const _0x1fe01d=_0x3f2ec9;super(_0x53e8cb,_0x264cf0),g(this,_0x1fe01d(0x1bd)),g(this,_0x1fe01d(0x2d5)),(this[_0x1fe01d(0x1bd)]=_0x264cf0==null?void 0x0:_0x264cf0[_0x1fe01d(0x1bd)],this[_0x1fe01d(0x2d5)]=_0x264cf0==null?void 0x0:_0x264cf0[_0x1fe01d(0x2d5)]);}static[_0x3f2ec9(0x40c)](_0x16a613,_0x556bee){const _0xa0346f=_0x3f2ec9,{text:_0x705715,color:_0x2c8be3}=_0x556bee;_0x16a613[_0xa0346f(0x42d)](),_0x16a613[_0xa0346f(0x1be)]=_0xa0346f(0x5c5);const _0xf4ef52=_0x16a613[_0xa0346f(0x1d1)](_0x705715)[_0xa0346f(0x1fc)],_0x1b3560=Math['min'](_0xf4ef52+0x2*Ht,Ys);jo(_0x16a613,{'height':nt,'radius':0x4,'width':_0x1b3560,'fill':_0x2c8be3,'evented':!0x1}),_0x16a613[_0xa0346f(0x5a6)]=_0xa0346f(0x20e);const _0x3c84f6=Ht,_0x527740=nt-Ho,_0x3a8399=Ys-0x2*Ht;if(_0xf4ef52>_0x3a8399){let _0x1b6b90='',_0x511849=0x0;for(const _0x1b2177 of _0x705715){const _0x12447c=_0x16a613[_0xa0346f(0x1d1)](_0x1b2177)[_0xa0346f(0x1fc)];if(_0x511849+_0x12447c<=_0x3a8399-_0x16a613[_0xa0346f(0x1d1)]('...')[_0xa0346f(0x1fc)])_0x1b6b90+=_0x1b2177,_0x511849+=_0x12447c;else{_0x1b6b90+=_0xa0346f(0x48c);break;}}_0x16a613[_0xa0346f(0x1c3)](_0x1b6b90,_0x3c84f6,_0x527740);}else _0x16a613[_0xa0346f(0x1c3)](_0x705715,_0x3c84f6,_0x527740);_0x16a613['restore']();}['_draw'](_0x432d5a){const _0xda2e95=_0x3f2ec9;yt[_0xda2e95(0x40c)](_0x432d5a,this);}}const jt='collab-text-anchor-',Bo='collab-text-range-',ko=_0x3f2ec9(0x2c4),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x3f2ec9(0x308);class Ks{constructor(_0x1512d0,_0x161404,_0xfc00a9,_0x681310){const _0x12eea5=_0x3f2ec9;g(this,_0x12eea5(0x3a6),[]),g(this,_0x12eea5(0x53e),null),g(this,_0x12eea5(0x591),null),g(this,_0x12eea5(0x369),null),g(this,_0x12eea5(0x568),null),g(this,_0x12eea5(0x56f),null),(this[_0x12eea5(0x2c5)]=_0x1512d0,this[_0x12eea5(0x1f9)]=_0x161404,this[_0x12eea5(0x36f)]=_0xfc00a9,this[_0x12eea5(0x392)]=_0x681310,this[_0x12eea5(0x2a7)]());}set['_hover'](_0xee244){const _0x21c68c=_0x3f2ec9;_0xee244?(this[_0x21c68c(0x369)]&&this[_0x21c68c(0x369)][_0x21c68c(0x2a0)](),this[_0x21c68c(0x591)]&&this[_0x21c68c(0x591)][_0x21c68c(0x59d)]()):(this['_anchorDot']&&this['_anchorDot'][_0x21c68c(0x59d)](),this[_0x21c68c(0x591)]&&this[_0x21c68c(0x591)][_0x21c68c(0x2a0)]());}[_0x3f2ec9(0x385)](){const _0x293de0=_0x3f2ec9;for(const _0x20b70a of this['_shapes'])_0x20b70a['dispose']();this[_0x293de0(0x591)]&&this[_0x293de0(0x591)][_0x293de0(0x385)](),this[_0x293de0(0x369)]&&this[_0x293de0(0x369)][_0x293de0(0x385)](),this['_anchor']&&this[_0x293de0(0x53e)][_0x293de0(0x385)](),this[_0x293de0(0x56f)]&&this[_0x293de0(0x56f)]();}[_0x3f2ec9(0x2a7)](){const _0x339631=_0x3f2ec9;var _0x550908;const {_docSkeleton:_0x3ea442,_document:_0x4bef24}=this,{color:_0x51d59b,name:_0x155154,ranges:_0x200a24}=this['_cursor'],_0x4e34cb=_0x4bef24['getOffsetConfig'](),{docsLeft:_0x199d21,docsTop:_0x315d77}=_0x4e34cb,_0x2a02dc=new _0x17e8b6(_0x4e34cb,_0x3ea442);for(const {startOffset:_0x364495,endOffset:_0x31741a,rangeType:_0x33ee36,segmentId:_0x238851,segmentPage:_0x5c9d33,collapsed:_0x30d362,isActive:_0x22a617}of _0x200a24){const _0x19ec3e=_0x3ea442[_0x339631(0x503)](_0x364495,!0x0,_0x238851,_0x5c9d33);let _0x15bbb1=_0x3ea442[_0x339631(0x503)](_0x31741a,!0x0,_0x238851,_0x5c9d33);if(_0x15bbb1==null&&(_0x15bbb1=_0x3ea442[_0x339631(0x503)](_0x31741a-0x1,!0x1,_0x238851,_0x5c9d33)),_0x22a617){const {contentBoxPointGroup:_0x72bbbf}=_0x2a02dc[_0x339631(0x26b)](_0x15bbb1,_0x15bbb1);if(_0x72bbbf[_0x339631(0x3a7)]===0x0)continue;this['_drawAnchor'](_0x51d59b,_0x72bbbf,_0x199d21,_0x315d77,_0x155154),this['_eventUnsubscribe']=this[_0x339631(0x332)]();}if(_0x19ec3e&&_0x15bbb1){if(_0x33ee36===_0x5dc937['RECT']){const _0x7fe731=new _0x4753f0(_0x4e34cb,_0x3ea442),{pointGroup:_0x59f4b3}=(_0x550908=_0x7fe731[_0x339631(0x26b)](_0x19ec3e,_0x15bbb1))!=null?_0x550908:{};if(_0x59f4b3==null||_0x59f4b3[_0x339631(0x3a7)]===0x0)continue;this[_0x339631(0x352)](_0x51d59b,_0x59f4b3,_0x199d21,_0x315d77);}else{if(!_0x30d362){const {borderBoxPointGroup:_0xccc64d}=_0x2a02dc[_0x339631(0x26b)](_0x19ec3e,_0x15bbb1);if(_0xccc64d[_0x339631(0x3a7)]===0x0)continue;this[_0x339631(0x1f8)](_0x51d59b,_0xccc64d,_0x199d21,_0x315d77);}}}}}['_drawAnchor'](_0x4cc6f9,_0x4f3d03,_0x586c91,_0x50ab41,_0x27ddc2){const _0x194719=_0x3f2ec9,_0x35625d=this['_getAnchorBounding'](_0x4f3d03),{left:_0xbf5727,top:_0x48ed80,height:_0x473789}=_0x35625d,_0x47652b=this['_getScale'](),_0x10342b=Fo/_0x47652b,_0x26fbfa=new _0xe2e41c(jt+_0x109dec[_0x194719(0x280)](Je),{'left':_0xbf5727+_0x586c91-_0x10342b,'top':_0x48ed80+_0x50ab41,'height':_0x473789,'width':Wo,'fill':_0x4cc6f9||_0xa01f1e(_0xc90d79[_0x194719(0x3a9)],0x0),'strokeWidth':_0x10342b,'stroke':Vo,'evented':!0x0});this['_anchor']=_0x26fbfa,this[_0x194719(0x1f9)][_0x194719(0x4ae)](_0x26fbfa,_0x31dbf7);const _0x16874c=new _0xe2e41c(jt+_0x109dec[_0x194719(0x280)](Je),{'left':_0xbf5727+_0x586c91-_0x10342b,'top':_0x48ed80+_0x50ab41-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x4cc6f9||_0xa01f1e(_0xc90d79[_0x194719(0x3a9)],0x0),'strokeWidth':0x0,'stroke':_0x4cc6f9||_0xa01f1e(_0xc90d79[_0x194719(0x3a9)],0x0),'evented':!0x1});this[_0x194719(0x369)]=_0x16874c,this[_0x194719(0x1f9)][_0x194719(0x4ae)](_0x16874c,_0x31dbf7);const _0x2e3487=new yt(jt+_0x109dec['generateRandomId'](Je),{'left':_0xbf5727+_0x586c91-_0x10342b,'top':_0x48ed80+_0x50ab41-nt,'text':_0x27ddc2,'color':_0x4cc6f9});this[_0x194719(0x591)]=_0x2e3487,this['_scene'][_0x194719(0x4ae)](_0x2e3487,_0x31dbf7),this[_0x194719(0x4a0)]=!0x1;}[_0x3f2ec9(0x332)](){const _0x2f9a9a=_0x3f2ec9,_0x38f21b=this[_0x2f9a9a(0x53e)][_0x2f9a9a(0x4b2)][_0x2f9a9a(0x2ba)](()=>{const _0x41ec69=_0x2f9a9a;this[_0x41ec69(0x4a0)]=!0x0;}),_0x354a94=this['_anchor'][_0x2f9a9a(0x454)]['subscribeEvent'](()=>{const _0x522a81=_0x2f9a9a;this['_hideTimer']&&clearTimeout(this[_0x522a81(0x568)]),this[_0x522a81(0x568)]=setTimeout(()=>{const _0x3ff0d6=_0x522a81;this[_0x3ff0d6(0x4a0)]=!0x1;},0x7d0);});return()=>{const _0x293ddf=_0x2f9a9a;_0x38f21b['unsubscribe'](),_0x354a94[_0x293ddf(0x4bb)]();};}[_0x3f2ec9(0x1f8)](_0x12001c,_0x432ab5,_0xefd3de,_0x3691ae){const _0x468556=_0x3f2ec9,_0x42bf49=new _0x1d6dd2(_0x12001c)['setAlpha'](0.2)['toRgbString'](),_0x535865=new _0x5d55f4(Bo+_0x109dec[_0x468556(0x280)](Je),{'pointsGroup':_0x432ab5,'fill':_0x42bf49||_0xa01f1e(_0xc90d79[_0x468556(0x3a9)],0.2),'left':_0xefd3de,'top':_0x3691ae,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x468556(0x3a6)][_0x468556(0x496)](_0x535865),this[_0x468556(0x1f9)][_0x468556(0x4ae)](_0x535865,_0x31dbf7);}[_0x3f2ec9(0x352)](_0x3dfa30,_0x5f4903,_0x291a94,_0x562eb9){const _0x151cdd=_0x3f2ec9,_0x60271e=new _0x1d6dd2(_0x3dfa30)[_0x151cdd(0x462)](0.2)[_0x151cdd(0x3a4)](),_0x55ce5d=new _0x5d55f4(ko+_0x109dec[_0x151cdd(0x280)](Je),{'pointsGroup':_0x5f4903,'fill':_0x60271e||_0xa01f1e(_0xc90d79['black'],0.2),'left':_0x291a94,'top':_0x562eb9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x151cdd(0x3a6)][_0x151cdd(0x496)](_0x55ce5d),this['_scene'][_0x151cdd(0x4ae)](_0x55ce5d,_0x31dbf7);}[_0x3f2ec9(0x5b7)](_0x41f761){const _0x4fe2c3=_0x41f761[0x0],_0x3ff405=_0x4fe2c3[0x0],_0x2701ba=_0x4fe2c3[0x2],{x:_0x1b7fd2,y:_0x59cb6a}=_0x3ff405,{x:_0x51a402,y:_0x554312}=_0x2701ba;return{'left':_0x1b7fd2,'top':_0x59cb6a,'width':_0x51a402-_0x1b7fd2,'height':_0x554312-_0x59cb6a};}[_0x3f2ec9(0x58c)](){const _0x2e787b=_0x3f2ec9,{scaleX:_0x5ab3cf,scaleY:_0x50b2c7}=this['_scene'][_0x2e787b(0x317)]();return Math[_0x2e787b(0x34b)](_0x5ab3cf,_0x50b2c7);}}var Go=Object['defineProperty'],Yo=Object['getOwnPropertyDescriptor'],Ko=(_0x2274bc,_0x484209,_0x3713e4,_0x5561b8)=>{const _0x621a03=_0x3f2ec9;for(var _0x4daada=_0x5561b8>0x1?void 0x0:_0x5561b8?Yo(_0x484209,_0x3713e4):_0x484209,_0x3e4d60=_0x2274bc[_0x621a03(0x3a7)]-0x1,_0x338c07;_0x3e4d60>=0x0;_0x3e4d60--)(_0x338c07=_0x2274bc[_0x3e4d60])&&(_0x4daada=(_0x5561b8?_0x338c07(_0x484209,_0x3713e4,_0x4daada):_0x338c07(_0x4daada))||_0x4daada);return _0x5561b8&&_0x4daada&&Go(_0x484209,_0x3713e4,_0x4daada),_0x4daada;},ct=(_0xa7923c,_0x59e335)=>(_0x54ef59,_0x128545)=>_0x59e335(_0x54ef59,_0x128545,_0xa7923c);let os=class extends _0x404743{constructor(_0x536cb1,_0x24f028,_0xcc4056,_0x358334,_0x3f5269){const _0x14e005=_0x3f2ec9;super(),g(this,_0x14e005(0x538),[]),g(this,_0x14e005(0x557),[]),(this['_context']=_0x536cb1,this['_docSkeletonManagerService']=_0x24f028,this[_0x14e005(0x42b)]=_0xcc4056,this[_0x14e005(0x39b)]=_0x358334,this[_0x14e005(0x3a1)]=_0x3f5269,this[_0x14e005(0x51f)]());}[_0x3f2ec9(0x51f)](){const _0x49eb7d=_0x3f2ec9,_0x1e05d5=this[_0x49eb7d(0x2f1)][_0x49eb7d(0x423)],_0x250200=this[_0x49eb7d(0x438)];this[_0x49eb7d(0x324)](_0xf1dda2([this[_0x49eb7d(0x42b)][_0x49eb7d(0x490)](_0x1e05d5),this[_0x49eb7d(0x3a1)]['currentTheme$']])[_0x49eb7d(0x3c4)](_0x4f8f29(([_0x32ca69,_0x3f4f7d])=>({'skeleton':_0x250200[_0x49eb7d(0x2c2)](),'cursors':[..._0x32ca69['values']()]['flatMap'](_0x41726d=>({..._0x41726d,'color':_0x3f4f7d[_0x41726d[_0x49eb7d(0x1bd)]]}))})))[_0x49eb7d(0x27a)](_0x11e97d=>{const _0x41f1fb=_0x49eb7d;if(this[_0x41f1fb(0x564)](),_0x11e97d){const {skeleton:_0x4f6587,cursors:_0x61f23c}=_0x11e97d;this[_0x41f1fb(0x2da)](_0x4f6587,_0x61f23c);}})),this['_initResize'](),this[_0x49eb7d(0x240)]();}[_0x3f2ec9(0x2da)](_0x386f31,_0x2d25c8){const _0xa81707=_0x3f2ec9,{scene:_0x5aee26,mainComponent:_0x5cf58a}=this[_0xa81707(0x2f1)],_0xa204f=_0x2d25c8[_0xa81707(0x26f)](_0x274a7b=>new Ks(_0x274a7b,_0x5aee26,_0x386f31,_0x5cf58a));this['_cursorShapes']=_0xa204f,this['_cursors']=_0x2d25c8;}[_0x3f2ec9(0x5b0)](){const _0x2b0217=_0x3f2ec9;this['_removeCollabCursors']();const {scene:_0x4d4509,mainComponent:_0x125a8b}=this[_0x2b0217(0x2f1)],_0x414eb6=this[_0x2b0217(0x438)][_0x2b0217(0x2c2)](),_0x4d679a=this[_0x2b0217(0x557)][_0x2b0217(0x26f)](_0x295824=>new Ks(_0x295824,_0x4d4509,_0x414eb6,_0x125a8b));this[_0x2b0217(0x538)]=_0x4d679a;}[_0x3f2ec9(0x564)](){const _0x4ab3f4=_0x3f2ec9;this[_0x4ab3f4(0x538)][_0x4ab3f4(0x346)](_0x4adbb2=>_0x4adbb2[_0x4ab3f4(0x385)]()),this['_cursorShapes']=[];}[_0x3f2ec9(0x240)](){const _0x4d3ce7=_0x3f2ec9,_0xb53176=[_0x5456c4['id']];this[_0x4d3ce7(0x324)](this[_0x4d3ce7(0x39b)]['onCommandExecuted'](_0x3b61c2=>{const _0x17f729=_0x4d3ce7;_0xb53176[_0x17f729(0x2bb)](_0x3b61c2['id'])&&_0x3b61c2[_0x17f729(0x562)][_0x17f729(0x423)]===this[_0x17f729(0x2f1)][_0x17f729(0x423)]&&this[_0x17f729(0x5b0)]();}));}[_0x3f2ec9(0x4f5)](){const _0x2131b5=_0x3f2ec9;this[_0x2131b5(0x324)](_0x132b42(this[_0x2131b5(0x2f1)][_0x2131b5(0x42a)][_0x2131b5(0x22d)])['pipe'](_0x2d77f8(_0x5ccae5=>_0x5ccae5[_0x2131b5(0x4e4)]===_0x4b2d3b[_0x2131b5(0x28b)]),_0x102e6d(0x10))[_0x2131b5(0x27a)](()=>{this['_refreshCollabCursors']();}));}};os=Ko([ct(0x1,_0x127ed5(_0x8b6d29)),ct(0x2,_0x127ed5(Ve)),ct(0x3,_0x49a021),ct(0x4,_0x127ed5(_0x164d1f))],os);const zo=0x1,qo=1.5;class Xo extends _0x53dc57{constructor(_0x5d97fd,_0x4ff0e8){const _0x58a8e9=_0x3f2ec9;super(_0x5d97fd,_0x4ff0e8),g(this,_0x58a8e9(0x204)),g(this,_0x58a8e9(0x312),!0x1),g(this,_0x58a8e9(0x394)),g(this,_0x58a8e9(0x516),''),g(this,_0x58a8e9(0x3ea),_0x58a8e9(0x571)),g(this,_0x58a8e9(0x363)),(_0x4ff0e8&&this[_0x58a8e9(0x536)](_0x4ff0e8),this['onPointerEnter$'][_0x58a8e9(0x2ba)](()=>this[_0x58a8e9(0x536)]({'hovered':!0x0})),this['onPointerLeave$'][_0x58a8e9(0x2ba)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3f2ec9(0x536)](_0x44db65){const _0x38d74a=_0x3f2ec9;var _0x5b05bb,_0x5affc1,_0x1ecbc9,_0x1e1abe,_0x5cffe3,_0x25116b;this[_0x38d74a(0x204)]=(_0x5b05bb=_0x44db65[_0x38d74a(0x1bd)])!=null?_0x5b05bb:this[_0x38d74a(0x204)],this[_0x38d74a(0x312)]=(_0x5affc1=_0x44db65[_0x38d74a(0x4f7)])!=null?_0x5affc1:this[_0x38d74a(0x312)],this[_0x38d74a(0x394)]=(_0x1ecbc9=_0x44db65['range'])!=null?_0x1ecbc9:this[_0x38d74a(0x394)],this['_name']=(_0x1e1abe=_0x44db65[_0x38d74a(0x533)])!=null?_0x1e1abe:this[_0x38d74a(0x516)],this[_0x38d74a(0x3ea)]=(_0x5cffe3=_0x44db65[_0x38d74a(0x43a)])!=null?_0x5cffe3:this['_labelPosition'],this['_backgroundColor']=(_0x25116b=_0x44db65['backgroundColor'])!=null?_0x25116b:this[_0x38d74a(0x363)],this['transformByState']({'width':_0x44db65[_0x38d74a(0x1fc)],'height':_0x44db65[_0x38d74a(0x5a5)]});}[_0x3f2ec9(0x48b)](_0x40293a){const _0x52f8e5=_0x3f2ec9,{row:_0x15c7e7,column:_0x414d5c}=_0x40293a;if(_0x15c7e7>=this[_0x52f8e5(0x394)][_0x52f8e5(0x29e)]&&_0x15c7e7<=this[_0x52f8e5(0x394)][_0x52f8e5(0x505)]&&_0x414d5c>=this[_0x52f8e5(0x394)][_0x52f8e5(0x36a)]&&_0x414d5c<=this[_0x52f8e5(0x394)][_0x52f8e5(0x357)]){this[_0x52f8e5(0x536)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4b9678){return!0x1;}[_0x3f2ec9(0x406)](_0x28b1ae){const _0x46f526=_0x3f2ec9;_0xe2e41c[_0x46f526(0x40c)](_0x28b1ae,{'width':this[_0x46f526(0x1fc)],'height':this['height'],'strokeWidth':qo,'stroke':this[_0x46f526(0x204)],'evented':!0x1,'fill':this[_0x46f526(0x363)]}),this[_0x46f526(0x312)]&&(_0x28b1ae['save'](),_0x28b1ae['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-nt),yt[_0x46f526(0x40c)](_0x28b1ae,{'text':this['_name'],'color':this[_0x46f526(0x204)]}),_0x28b1ae[_0x46f526(0x2a6)]());}}var Jo=Object['defineProperty'],Zo=Object[_0x3f2ec9(0x318)],Qo=(_0x15b608,_0x55f32b,_0x606ca2,_0x57294b)=>{const _0x6c348=_0x3f2ec9;for(var _0x1ea599=_0x57294b>0x1?void 0x0:_0x57294b?Zo(_0x55f32b,_0x606ca2):_0x55f32b,_0x390d76=_0x15b608[_0x6c348(0x3a7)]-0x1,_0x2dda30;_0x390d76>=0x0;_0x390d76--)(_0x2dda30=_0x15b608[_0x390d76])&&(_0x1ea599=(_0x57294b?_0x2dda30(_0x55f32b,_0x606ca2,_0x1ea599):_0x2dda30(_0x1ea599))||_0x1ea599);return _0x57294b&&_0x1ea599&&Jo(_0x55f32b,_0x606ca2,_0x1ea599),_0x1ea599;},kt=(_0x28aac6,_0x5d309c)=>(_0x22737f,_0x35685e)=>_0x5d309c(_0x22737f,_0x35685e,_0x28aac6);const ea=0x1389;let as=class extends _0x404743{constructor(_0x32f357,_0x51d9d5,_0x179e5e,_0x549dc6){const _0x41bf11=_0x3f2ec9;super(),g(this,_0x41bf11(0x557),new Set()),g(this,'_lastPointer',null),(this[_0x41bf11(0x2f1)]=_0x32f357,this[_0x41bf11(0x3a2)]=_0x51d9d5,this[_0x41bf11(0x42b)]=_0x179e5e,this[_0x41bf11(0x3a1)]=_0x549dc6,this[_0x41bf11(0x51f)]());}['_init'](){const _0x4a850d=_0x3f2ec9;this['_sheetSkeletonManagerService'][_0x4a850d(0x4cd)][_0x4a850d(0x3c4)](_0x40998a(this[_0x4a850d(0x3e8)]),_0x39728f(_0x58aae7=>{const _0x1efb3f=_0x4a850d;if(_0x58aae7){const _0x1257e4=_0x58aae7['sheetId'];return _0xf1dda2(this[_0x1efb3f(0x42b)][_0x1efb3f(0x490)](this[_0x1efb3f(0x2f1)][_0x1efb3f(0x423)]),this[_0x1efb3f(0x3a1)][_0x1efb3f(0x455)])[_0x1efb3f(0x3c4)](_0x4f8f29(([_0x9c5d47,_0x325000])=>{const _0x56752a=new Map();return _0x9c5d47['forEach']((_0x1d3a58,_0x1c2ed1)=>{const _0x4cf16e=_0x1414;if(_0x1d3a58[_0x4cf16e(0x507)]===_0x1257e4){const _0x5ed26f={..._0x1d3a58};_0x5ed26f['color']=_0x325000[_0x1d3a58['color']],_0x56752a[_0x4cf16e(0x250)](_0x1c2ed1,_0x5ed26f);}}),{'skeleton':_0x58aae7,'cursors':_0x56752a};}));}return _0x2a9475({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xdc2bfd,cursors:_0x361664})=>{this['_removeCollabCursors'](),_0xdc2bfd&&this['_updateCollabCursors'](_0xdc2bfd,_0x361664);}),this[_0x4a850d(0x3a2)][_0x4a850d(0x4cd)][_0x4a850d(0x27a)](_0x392a73=>{const _0x53d561=_0x4a850d;if(_0x392a73==null)return;const {skeleton:_0x57c67b}=_0x392a73,{scene:_0x21cbc2}=this[_0x53d561(0x2f1)];_0x21cbc2['onPointerMove$'][_0x53d561(0x2ba)](_0x58d671(_0x2cf1a3=>{const _0x1dbdbc=_0x53d561;var _0x4658c1,_0x23d0f0;const {offsetX:_0x5b9b62,offsetY:_0x1a0028}=_0x2cf1a3,{x:_0xeae687,y:_0x25cf58}=_0x21cbc2[_0x1dbdbc(0x54c)](_0x4ad19[_0x1dbdbc(0x2f6)]([_0x5b9b62,_0x1a0028])),{scaleX:_0x3671e2,scaleY:_0x4e2338}=_0x21cbc2['getAncestorScale'](),_0x21f99a=_0x21cbc2[_0x1dbdbc(0x381)](_0x32c443[_0x1dbdbc(0x35d)]),_0x17477b=_0x21cbc2[_0x1dbdbc(0x27f)](_0x4ad19['FromArray']([_0xeae687,_0x25cf58]),_0x21f99a),_0x1270d8=_0x57c67b[_0x1dbdbc(0x273)](_0x5b9b62,_0x1a0028,_0x3671e2,_0x4e2338,_0x17477b);((_0x4658c1=this['_lastPointer'])==null?void 0x0:_0x4658c1[_0x1dbdbc(0x422)])===_0x1270d8[_0x1dbdbc(0x422)]&&((_0x23d0f0=this[_0x1dbdbc(0x37a)])==null?void 0x0:_0x23d0f0['row'])===_0x1270d8[_0x1dbdbc(0x48a)]||this['_cursors'][_0x1dbdbc(0x346)](_0x45ba21=>{_0x45ba21['onMouseMove'](_0x1270d8);});},0x64));});}[_0x3f2ec9(0x2da)](_0x390e9b,_0x2225d4){const _0x21eff2=_0x3f2ec9;var _0x33a493;const _0x1553b3=(_0x33a493=this[_0x21eff2(0x3a2)][_0x21eff2(0x314)]())==null?void 0x0:_0x33a493[_0x21eff2(0x3e4)];if(!_0x1553b3)return;const _0x67164f=this['_getSheetObject']();if(!_0x67164f)return;this[_0x21eff2(0x557)][_0x21eff2(0x346)](_0x448804=>{const _0x739d66=_0x21eff2;_0x448804[_0x739d66(0x49f)]();});const {scene:_0x1e5c3d}=_0x67164f,_0xed528e=ta(Array['from'](_0x2225d4[_0x21eff2(0x55e)]()))[_0x21eff2(0x26f)](_0x5a03c8=>{const _0x161dc6=_0x21eff2,{color:_0x39ea1a,range:_0x368b28,name:_0x355381,selection:_0x155832,sheetID:_0x16c5f6}=_0x5a03c8,{startColumn:_0x18d04b,startRow:_0x52f93e,endColumn:_0x210cdf,endRow:_0x5dd738}=_0x368b28,_0x212df1=_0x216880(_0x52f93e,_0x18d04b,_0x1e5c3d,_0x1553b3),_0x4bc8ea=_0x216880(_0x5dd738,_0x210cdf,_0x1e5c3d,_0x1553b3),{columnHeaderHeightAndMarginTop:_0x569c82}=_0x1553b3,{startX:_0x469770,startY:_0x1c4960}=_0x212df1,{endX:_0x1f2ea1,endY:_0xefba18}=_0x4bc8ea,_0x557de1=_0x1f2ea1-_0x469770,_0x24949b=_0xefba18-_0x1c4960,_0x11a169={'labelPosition':_0x1c4960-_0x569c82>=nt?'top':_0x161dc6(0x30e),'sheetID':_0x16c5f6,'range':_0x368b28,'color':_0x39ea1a,'name':_0x355381,'selection':_0x155832,'left':_0x469770,'top':_0x1c4960,'width':_0x557de1,'height':_0x24949b,'evented':!0x1,'zIndex':ea};return new Xo(_0x355381,_0x11a169);});_0x1e5c3d[_0x21eff2(0x414)](_0xed528e,zo),this[_0x21eff2(0x557)]=new Set(_0xed528e);}[_0x3f2ec9(0x564)](){const _0x2ff0c8=_0x3f2ec9;var _0x836f38;(_0x836f38=this[_0x2ff0c8(0x557)])==null||_0x836f38[_0x2ff0c8(0x346)](_0x4c3d4e=>_0x4c3d4e[_0x2ff0c8(0x385)]());}[_0x3f2ec9(0x432)](){const _0x20920a=_0x3f2ec9;return _0x37efe0(this[_0x20920a(0x2f1)][_0x20920a(0x3ed)],this[_0x20920a(0x2f1)]);}};as=Qo([kt(0x1,_0x127ed5(_0x51efae)),kt(0x2,_0x127ed5(Ve)),kt(0x3,_0x127ed5(_0x164d1f))],as);function ta(_0x1d7571){const _0x43234b=_0x3f2ec9,_0x27f4f6=new Map();return _0x1d7571[_0x43234b(0x346)](_0x541208=>{const _0x32a19c=_0x43234b;if(_0x27f4f6[_0x32a19c(0x25f)](_0x541208[_0x32a19c(0x453)])){const _0x400372=_0x27f4f6[_0x32a19c(0x333)](_0x541208[_0x32a19c(0x453)]);_0x400372[_0x32a19c(0x533)]+=',\x20'+_0x541208['name'];}else _0x27f4f6['set'](_0x541208['selection'],_0x541208);}),Array[_0x43234b(0x424)](_0x27f4f6[_0x43234b(0x55e)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x195045){const _0x34f4cd=_0x3f2ec9;return _0x195045&&_0x195045[_0x34f4cd(0x238)]&&Object['prototype'][_0x34f4cd(0x3af)][_0x34f4cd(0x570)](_0x195045,'default')?_0x195045[_0x34f4cd(0x47c)]:_0x195045;}var Mi={'exports':{}},Ot={},sa=_0x24121a,ia=Symbol[_0x3f2ec9(0x202)](_0x3f2ec9(0x379)),na=Symbol[_0x3f2ec9(0x202)](_0x3f2ec9(0x434)),ra=Object[_0x3f2ec9(0x1e6)][_0x3f2ec9(0x3af)],oa=sa[_0x3f2ec9(0x216)]['ReactCurrentOwner'],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x5d3071,_0x63f670,_0x4fcb1c){const _0x2df7e8=_0x3f2ec9;var _0x14a6e9,_0x51d5d7={},_0x1b51b7=null,_0x591d8e=null;_0x4fcb1c!==void 0x0&&(_0x1b51b7=''+_0x4fcb1c),_0x63f670[_0x2df7e8(0x425)]!==void 0x0&&(_0x1b51b7=''+_0x63f670[_0x2df7e8(0x425)]),_0x63f670[_0x2df7e8(0x243)]!==void 0x0&&(_0x591d8e=_0x63f670[_0x2df7e8(0x243)]);for(_0x14a6e9 in _0x63f670)ra[_0x2df7e8(0x570)](_0x63f670,_0x14a6e9)&&!aa['hasOwnProperty'](_0x14a6e9)&&(_0x51d5d7[_0x14a6e9]=_0x63f670[_0x14a6e9]);if(_0x5d3071&&_0x5d3071['defaultProps']){for(_0x14a6e9 in(_0x63f670=_0x5d3071[_0x2df7e8(0x326)],_0x63f670))_0x51d5d7[_0x14a6e9]===void 0x0&&(_0x51d5d7[_0x14a6e9]=_0x63f670[_0x14a6e9]);}return{'$$typeof':ia,'type':_0x5d3071,'key':_0x1b51b7,'ref':_0x591d8e,'props':_0x51d5d7,'_owner':oa['current']};}Ot['Fragment']=na,Ot[_0x3f2ec9(0x5b9)]=xi,Ot[_0x3f2ec9(0x3d5)]=xi,Mi[_0x3f2ec9(0x4a2)]=Ot;var we=Mi['exports'],ee=function(){const _0x593c53=_0x3f2ec9;return ee=Object[_0x593c53(0x3dc)]||function(_0x24e166){const _0x43c4e6=_0x593c53;for(var _0x4fc931,_0x3acf65=0x1,_0xb2ce4d=arguments[_0x43c4e6(0x3a7)];_0x3acf65<_0xb2ce4d;_0x3acf65++){_0x4fc931=arguments[_0x3acf65];for(var _0x1f18b9 in _0x4fc931)Object[_0x43c4e6(0x1e6)][_0x43c4e6(0x3af)][_0x43c4e6(0x570)](_0x4fc931,_0x1f18b9)&&(_0x24e166[_0x1f18b9]=_0x4fc931[_0x1f18b9]);}return _0x24e166;},ee[_0x593c53(0x437)](this,arguments);},ca=function(_0x16af58,_0xf996cc){const _0x58c612=_0x3f2ec9;var _0x351240={};for(var _0x23071a in _0x16af58)Object[_0x58c612(0x1e6)]['hasOwnProperty'][_0x58c612(0x570)](_0x16af58,_0x23071a)&&_0xf996cc['indexOf'](_0x23071a)<0x0&&(_0x351240[_0x23071a]=_0x16af58[_0x23071a]);if(_0x16af58!=null&&typeof Object[_0x58c612(0x36b)]==_0x58c612(0x416)){for(var _0x19c098=0x0,_0x23071a=Object['getOwnPropertySymbols'](_0x16af58);_0x19c098<_0x23071a[_0x58c612(0x3a7)];_0x19c098++)_0xf996cc[_0x58c612(0x3ad)](_0x23071a[_0x19c098])<0x0&&Object['prototype'][_0x58c612(0x3f6)][_0x58c612(0x570)](_0x16af58,_0x23071a[_0x19c098])&&(_0x351240[_0x23071a[_0x19c098]]=_0x16af58[_0x23071a[_0x19c098]]);}return _0x351240;},Ts=_0x2f556d(function(_0x2ce4b2,_0x42d676){const _0xaaa369=_0x3f2ec9;var _0x4dad97=_0x2ce4b2[_0xaaa369(0x3bf)],_0x370784=_0x2ce4b2['id'],_0x5211c2=_0x2ce4b2[_0xaaa369(0x513)],_0x567b06=_0x2ce4b2[_0xaaa369(0x2e0)],_0x28ba89=ca(_0x2ce4b2,[_0xaaa369(0x3bf),'id',_0xaaa369(0x513),'extend']),_0x321fa8=_0xaaa369(0x396)[_0xaaa369(0x448)](_0x370784,'\x20')[_0xaaa369(0x448)](_0x5211c2||'')[_0xaaa369(0x532)](),_0x58b835=_0x12decf('_'[_0xaaa369(0x448)](_a()));return Li(_0x4dad97,''[_0xaaa369(0x448)](_0x370784),{'defIds':_0x4dad97[_0xaaa369(0x44c)],'idSuffix':_0x58b835[_0xaaa369(0x460)]},ee({'ref':_0x42d676,'className':_0x321fa8},_0x28ba89),_0x567b06);});function Li(_0xc5600d,_0x1d19d8,_0x40b3c7,_0x59edf9,_0x4e0064){const _0x625425=_0x3f2ec9;return _0x3acef7(_0xc5600d[_0x625425(0x31f)],ee(ee({'key':_0x1d19d8},ha(_0xc5600d,_0x40b3c7,_0x4e0064)),_0x59edf9),(la(_0xc5600d,_0x40b3c7)[_0x625425(0x5ce)]||[])[_0x625425(0x26f)](function(_0x55fefe,_0x272b79){const _0x250054=_0x625425;return Li(_0x55fefe,''[_0x250054(0x448)](_0x1d19d8,'-')[_0x250054(0x448)](_0xc5600d[_0x250054(0x31f)],'-')[_0x250054(0x448)](_0x272b79),_0x40b3c7,void 0x0,_0x4e0064);}));}function ha(_0x12c31c,_0x4de0de,_0x39aa62){const _0x4b1064=_0x3f2ec9;var _0x936567=ee({},_0x12c31c['attrs']);_0x39aa62!=null&&_0x39aa62[_0x4b1064(0x29f)]&&_0x936567[_0x4b1064(0x322)]===_0x4b1064(0x29f)&&(_0x936567[_0x4b1064(0x322)]=_0x39aa62[_0x4b1064(0x29f)]);var _0x5e5c03=_0x4de0de['defIds'];return!_0x5e5c03||_0x5e5c03[_0x4b1064(0x3a7)]===0x0||(_0x12c31c['tag']===_0x4b1064(0x239)&&_0x936567['xlink:href']&&(_0x936567[_0x4b1064(0x400)]=_0x936567[_0x4b1064(0x400)]+_0x4de0de['idSuffix']),Object[_0x4b1064(0x49a)](_0x936567)[_0x4b1064(0x346)](function(_0x4ceecc){const _0x5614cd=_0x4b1064;var _0x2504b6=_0x4ceecc[0x0],_0x22ac36=_0x4ceecc[0x1];typeof _0x22ac36==_0x5614cd(0x506)&&(_0x936567[_0x2504b6]=_0x22ac36[_0x5614cd(0x3a8)](/url\(#(.*)\)/,_0x5614cd(0x3ce)['concat'](_0x4de0de[_0x5614cd(0x55a)],')')));})),_0x936567;}function la(_0x1e08e5,_0x526b91){const _0x3d62a5=_0x3f2ec9;var _0x2b809f,_0x556b0f=_0x526b91[_0x3d62a5(0x44c)];return!_0x556b0f||_0x556b0f['length']===0x0?_0x1e08e5:_0x1e08e5[_0x3d62a5(0x31f)]===_0x3d62a5(0x1db)&&(!((_0x2b809f=_0x1e08e5['children'])===null||_0x2b809f===void 0x0)&&_0x2b809f['length'])?ee(ee({},_0x1e08e5),{'children':_0x1e08e5[_0x3d62a5(0x5ce)][_0x3d62a5(0x26f)](function(_0x3bc2b7){const _0x52c78e=_0x3d62a5;return typeof _0x3bc2b7[_0x52c78e(0x500)]['id']==_0x52c78e(0x506)&&_0x556b0f&&_0x556b0f[_0x52c78e(0x3ad)](_0x3bc2b7['attrs']['id'])>-0x1?ee(ee({},_0x3bc2b7),{'attrs':ee(ee({},_0x3bc2b7[_0x52c78e(0x500)]),{'id':_0x3bc2b7[_0x52c78e(0x500)]['id']+_0x526b91['idSuffix']})}):_0x3bc2b7;})}):_0x1e08e5;}function _a(){const _0x54895c=_0x3f2ec9;return Math[_0x54895c(0x35b)]()[_0x54895c(0x5d5)](0x24)['substring'](0x2,0x8);}Ts[_0x3f2ec9(0x380)]=_0x3f2ec9(0x593);var ua={'tag':_0x3f2ec9(0x205),'attrs':{'fill':_0x3f2ec9(0x48d),'viewBox':_0x3f2ec9(0x4fb),'width':'1em','height':_0x3f2ec9(0x3fe)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f2ec9(0x1e3)},'children':[{'tag':_0x3f2ec9(0x5cf),'attrs':{'stroke':'currentColor','d':_0x3f2ec9(0x40a),'strokeLinecap':_0x3f2ec9(0x271),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3f2ec9(0x4ef),'attrs':{'id':_0x3f2ec9(0x57f)},'children':[{'tag':_0x3f2ec9(0x5cf),'attrs':{'fill':_0x3f2ec9(0x252),'d':_0x3f2ec9(0x388)}}]}]}],'defIds':[_0x3f2ec9(0x57f)]},$i=_0x2f556d(function(_0xc2987c,_0x26dc00){const _0x56dd9f=_0x3f2ec9;return _0x3acef7(Ts,Object[_0x56dd9f(0x3dc)]({},_0xc2987c,{'id':_0x56dd9f(0x27e),'ref':_0x26dc00,'icon':ua}));});$i[_0x3f2ec9(0x380)]=_0x3f2ec9(0x556);var da={'tag':_0x3f2ec9(0x205),'attrs':{'fill':_0x3f2ec9(0x48d),'viewBox':_0x3f2ec9(0x540),'width':_0x3f2ec9(0x3fe),'height':_0x3f2ec9(0x3fe)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f2ec9(0x397)},'children':[{'tag':'path','attrs':{'stroke':_0x3f2ec9(0x5ae),'d':_0x3f2ec9(0x464),'strokeLinecap':'round','strokeLinejoin':_0x3f2ec9(0x271),'strokeWidth':1.2}}]},{'tag':_0x3f2ec9(0x1db),'attrs':{},'children':[{'tag':_0x3f2ec9(0x4ef),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x3f2ec9(0x252),'d':_0x3f2ec9(0x388),'transform':_0x3f2ec9(0x468)}}]}]}],'defIds':[_0x3f2ec9(0x1d7)]},Hi=_0x2f556d(function(_0x4e0fa3,_0x37e0ce){const _0x34f07b=_0x3f2ec9;return _0x3acef7(Ts,Object['assign']({},_0x4e0fa3,{'id':_0x34f07b(0x37c),'ref':_0x37e0ce,'icon':da}));});Hi[_0x3f2ec9(0x380)]=_0x3f2ec9(0x299);function ji(_0xe7d849){const _0x56329c=_0x3f2ec9;var _0x3ab018,_0x25b56a,_0x32f483='';if(typeof _0xe7d849=='string'||typeof _0xe7d849==_0x56329c(0x4ee))_0x32f483+=_0xe7d849;else{if(typeof _0xe7d849==_0x56329c(0x470)){if(Array['isArray'](_0xe7d849)){var _0x444042=_0xe7d849[_0x56329c(0x3a7)];for(_0x3ab018=0x0;_0x3ab018<_0x444042;_0x3ab018++)_0xe7d849[_0x3ab018]&&(_0x25b56a=ji(_0xe7d849[_0x3ab018]))&&(_0x32f483&&(_0x32f483+='\x20'),_0x32f483+=_0x25b56a);}else{for(_0x25b56a in _0xe7d849)_0xe7d849[_0x25b56a]&&(_0x32f483&&(_0x32f483+='\x20'),_0x32f483+=_0x25b56a);}}}return _0x32f483;}function fa(){const _0x1ab620=_0x3f2ec9;for(var _0x2a02e6,_0x18a909,_0x9ae62d=0x0,_0x326554='',_0x5ac71a=arguments[_0x1ab620(0x3a7)];_0x9ae62d<_0x5ac71a;_0x9ae62d++)(_0x2a02e6=arguments[_0x9ae62d])&&(_0x18a909=ji(_0x2a02e6))&&(_0x326554&&(_0x326554+='\x20'),_0x326554+=_0x18a909);return _0x326554;}const va='univer-online-status-icon',ma=_0x3f2ec9(0x2e6),pa=_0x3f2ec9(0x321),ga=_0x3f2ec9(0x452),Sa=_0x3f2ec9(0x29b),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x39224e){const _0x390ca3=_0x3f2ec9;switch(_0x39224e){case J[_0x390ca3(0x377)]:return'collabStatus.offline';case J[_0x390ca3(0x47b)]:return _0x390ca3(0x471);case J['FETCH_MISS']:return _0x390ca3(0x35c);case J[_0x390ca3(0x3b9)]:return _0x390ca3(0x2e8);case J[_0x390ca3(0x38f)]:case J[_0x390ca3(0x534)]:return _0x390ca3(0x48e);case J[_0x390ca3(0x364)]:case J[_0x390ca3(0x33d)]:return _0x390ca3(0x5a3);}}function Ca(_0x3b9528){const _0x3603c9=_0x3f2ec9,{status$:_0x143e9c}=_0x3b9528,_0xb9073=_0x458a38(_0x143e9c,J[_0x3603c9(0x3b9)]),_0x1c2e75=_0x167d10(_0x4d6b84),_0x160cae=_0x167d10(Ae),_0x3ebf4e=_0xb9073!==J['OFFLINE'],_0xcdd246=_0x1c2e75['t'](Ia(_0xb9073)),_0xd89caa=fa(Ze[_0x3603c9(0x41b)],{[Ze['online']]:_0x3ebf4e,[Ze[_0x3603c9(0x37f)]]:!_0x3ebf4e}),_0x611a1a=_0x3ebf4e?we['jsx'](Hi,{}):we[_0x3603c9(0x5b9)]($i,{}),_0x47056e=_0x44f3c3(()=>{_0x3ebf4e||_0x160cae['reconnect']();},[_0x3ebf4e,_0x160cae]);function _0x2331bb(){const _0x3eab52=_0x3603c9;return we[_0x3eab52(0x3d5)](_0x3eab52(0x371),{'className':_0xd89caa,'onClick':_0x47056e,'children':[we[_0x3eab52(0x5b9)]('div',{'className':Ze[_0x3eab52(0x21b)],'children':_0x611a1a}),we[_0x3eab52(0x5b9)](_0x3eab52(0x371),{'className':Ze[_0x3eab52(0x2bd)],'children':_0xcdd246})]});}return _0x3ebf4e?_0x2331bb():we[_0x3603c9(0x5b9)](_0x175b19,{'title':_0x1c2e75['t'](_0x3603c9(0x253)),'children':_0x2331bb()});}var Ea=Object[_0x3f2ec9(0x323)],ba=Object['getOwnPropertyDescriptor'],Ta=(_0x14f8cc,_0x93b93c,_0x3f7017,_0xe461fe)=>{const _0xbee950=_0x3f2ec9;for(var _0x408faf=_0xe461fe>0x1?void 0x0:_0xe461fe?ba(_0x93b93c,_0x3f7017):_0x93b93c,_0x16b505=_0x14f8cc[_0xbee950(0x3a7)]-0x1,_0x12fcfa;_0x16b505>=0x0;_0x16b505--)(_0x12fcfa=_0x14f8cc[_0x16b505])&&(_0x408faf=(_0xe461fe?_0x12fcfa(_0x93b93c,_0x3f7017,_0x408faf):_0x12fcfa(_0x408faf))||_0x408faf);return _0xe461fe&&_0x408faf&&Ea(_0x93b93c,_0x3f7017,_0x408faf),_0x408faf;},ht=(_0x31e3ee,_0x5158e3)=>(_0x2080ed,_0x51486c)=>_0x5158e3(_0x2080ed,_0x51486c,_0x31e3ee);let St=class extends _0x4bee31{constructor(_0x2db39f,_0x1d9c58,_0x29c45e,_0x78d11b){const _0x4bdffe=_0x3f2ec9;super(),g(this,_0x4bdffe(0x1e5),new _0x286de7(J[_0x4bdffe(0x3b9)])),(this[_0x4bdffe(0x590)]=_0x2db39f,this[_0x4bdffe(0x535)]=_0x1d9c58,this['_injector']=_0x29c45e,this[_0x4bdffe(0x22f)]=_0x78d11b,this[_0x4bdffe(0x249)](),this[_0x4bdffe(0x4c1)]());}[_0x3f2ec9(0x4c1)](){const _0x290c80=_0x3f2ec9;this[_0x290c80(0x324)](this[_0x290c80(0x590)][_0x290c80(0x47e)][_0x290c80(0x3c4)](_0x20c82a(()=>{const _0x163e8f=_0x290c80,_0x4c9170=this[_0x163e8f(0x590)]['getFocusedUnit']();return _0x4c9170?this[_0x163e8f(0x22f)]['getCollabEntity$'](_0x4c9170['getUnitId']()):_0x2a9475(null);}),_0x20c82a(_0x377d7b=>_0x377d7b?_0x377d7b[_0x290c80(0x23d)]:_0x2a9475(J[_0x290c80(0x3b9)])))['subscribe'](_0x5bb42c=>{const _0x1af960=_0x290c80;this[_0x1af960(0x1e5)]['next'](_0x5bb42c);}));}[_0x3f2ec9(0x249)](){const _0x172c55=_0x3f2ec9;this[_0x172c55(0x324)](this['_uiPartsService'][_0x172c55(0x49c)](_0x290b7d[_0x172c55(0x5a9)],()=>_0x26398f(Ra({'status$':this[_0x172c55(0x1e5)][_0x172c55(0x5d2)]()}),this[_0x172c55(0x469)])));}};St=Ta([ht(0x0,_0x4c4975),ht(0x1,_0x38c0b8),ht(0x2,_0x127ed5(_0x846a04)),ht(0x3,_0x127ed5(it))],St);function Ra(_0x56da32){const {status$:_0x70814f}=_0x56da32;return function(){const _0x346c13=_0x1414;return we[_0x346c13(0x5b9)](Ca,{'status$':_0x70814f});};}const Bi=_0x229333('uni.network.url-service');var ya=Object[_0x3f2ec9(0x323)],Oa=Object['getOwnPropertyDescriptor'],wa=(_0x2d5c7c,_0x41d155,_0x4ab0ef,_0x738a3a)=>{for(var _0xc27416=_0x738a3a>0x1?void 0x0:_0x738a3a?Oa(_0x41d155,_0x4ab0ef):_0x41d155,_0x5a1d43=_0x2d5c7c['length']-0x1,_0xe3857b;_0x5a1d43>=0x0;_0x5a1d43--)(_0xe3857b=_0x2d5c7c[_0x5a1d43])&&(_0xc27416=(_0x738a3a?_0xe3857b(_0x41d155,_0x4ab0ef,_0xc27416):_0xe3857b(_0xc27416))||_0xc27416);return _0x738a3a&&_0xc27416&&ya(_0x41d155,_0x4ab0ef,_0xc27416),_0xc27416;},ke=(_0x22d87f,_0x4fe071)=>(_0x252d41,_0x4c7934)=>_0x4fe071(_0x252d41,_0x4c7934,_0x22d87f);let It=class extends _0x404743{constructor(_0x4e1ce0,_0x24bcfb,_0x3e2795,_0x5ac43f,_0x42ea74,_0x434520){const _0x1cd85d=_0x3f2ec9;super(),this['_urlService']=_0x4e1ce0,this[_0x1cd85d(0x42f)]=_0x24bcfb,this[_0x1cd85d(0x39b)]=_0x3e2795,this['_localCacheService']=_0x5ac43f,this[_0x1cd85d(0x1fd)]=_0x42ea74,_0x434520?_0x434520==null||_0x434520[_0x1cd85d(0x409)]()[_0x1cd85d(0x33f)](()=>this[_0x1cd85d(0x51f)]()):(this[_0x1cd85d(0x42f)][_0x1cd85d(0x59b)](_0x1cd85d(0x4c9),_0x1cd85d(0x301)),this[_0x1cd85d(0x51f)]());}async[_0x3f2ec9(0x51f)](){const _0x455c96=_0x3f2ec9,_0x26e627=this['_urlService'][_0x455c96(0x51b)]('unit'),_0x5cbe4f=this[_0x455c96(0x2bf)][_0x455c96(0x51b)](_0x455c96(0x4e4));if(!_0x26e627||!_0x5cbe4f){this[_0x455c96(0x42f)][_0x455c96(0x59b)](_0x455c96(0x4c9),_0x455c96(0x3bd));return;}switch(Number(_0x5cbe4f)){case ce[_0x455c96(0x54f)]:{const _0xa5c34b=await this[_0x455c96(0x264)](_0x26e627);this[_0x455c96(0x499)](_0xa5c34b);break;}case ce['UNIVER_DOC']:{await this[_0x455c96(0x278)](_0x26e627);break;}default:{this['_logService'][_0x455c96(0x3b5)](_0x455c96(0x4c9),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x3f2ec9(0x499)](_0x47cf8d){const _0x421681=_0x3f2ec9;await this[_0x421681(0x458)](_0x47cf8d),_0x47cf8d[_0x421681(0x1cb)]['pipe'](_0x54e638(this['dispose$']))[_0x421681(0x27a)](_0x97b7b8=>{const _0xe0364e=_0x421681;_0x97b7b8&&this[_0xe0364e(0x2fc)](_0x97b7b8);}),this[_0x421681(0x2bf)][_0x421681(0x57c)]['pipe'](_0x54e638(this[_0x421681(0x3e8)]))[_0x421681(0x27a)](()=>this[_0x421681(0x458)](_0x47cf8d));}[_0x3f2ec9(0x2fc)](_0x29e40a,_0x527e3c=!0x1){const _0x8e828=_0x3f2ec9,_0xdc9b42=this[_0x8e828(0x2bf)][_0x8e828(0x51b)]('subunit');_0x29e40a[_0x8e828(0x3fa)]()!==_0xdc9b42&&this[_0x8e828(0x2bf)]['setParam'](_0x8e828(0x4bc),_0x29e40a['getSheetId'](),_0x527e3c);}async[_0x3f2ec9(0x458)](_0x43419a){const _0x44168a=_0x3f2ec9;var _0x4fed40;const _0x379292=this[_0x44168a(0x2bf)][_0x44168a(0x51b)](_0x44168a(0x4bc));if(!_0x379292||!_0x43419a[_0x44168a(0x4d3)](_0x379292)){const _0x47af77=_0x43419a[_0x44168a(0x23b)]()[0x0],_0x103db1=_0x43419a[_0x44168a(0x4d3)](_0x47af77);if(!_0x103db1)return;this[_0x44168a(0x2fc)](_0x103db1,!0x0),await this[_0x44168a(0x39b)][_0x44168a(0x1d2)](_0x1942c4['id'],{'unitId':_0x43419a[_0x44168a(0x461)](),'subUnitId':_0x47af77});return;}((_0x4fed40=_0x43419a['getActiveSheet']())==null?void 0x0:_0x4fed40[_0x44168a(0x3fa)]())!==_0x379292&&await this[_0x44168a(0x39b)][_0x44168a(0x1d2)](_0x1942c4['id'],{'unitId':_0x43419a['getUnitId'](),'subUnitId':_0x379292});}async[_0x3f2ec9(0x264)](_0xd29ac9){const _0x1eb6db=_0x3f2ec9;let _0x2dd34f=0x0;const _0x17aa0b=await this[_0x1eb6db(0x485)][_0x1eb6db(0x53d)](_0xd29ac9);return _0x17aa0b&&(_0x17aa0b[_0x1eb6db(0x3cf)]||_0x17aa0b[_0x1eb6db(0x3e6)][_0x1eb6db(0x3a7)]!==0x0)&&(_0x2dd34f=_0x17aa0b['rev']),_0x2dd34f===0x0&&this[_0x1eb6db(0x42f)][_0x1eb6db(0x59b)](_0x1eb6db(0x4c9),_0x1eb6db(0x3b4)),this[_0x1eb6db(0x1fd)][_0x1eb6db(0x207)](_0xd29ac9,_0x2dd34f);}async[_0x3f2ec9(0x278)](_0x23e95e){const _0x17aec4=_0x3f2ec9;let _0x5d7e0a=0x0;const _0x3fd221=await this[_0x17aec4(0x485)][_0x17aec4(0x53d)](_0x23e95e);return _0x3fd221&&(_0x3fd221[_0x17aec4(0x3cf)]||_0x3fd221['mutations']['length']!==0x0)&&(_0x5d7e0a=_0x3fd221[_0x17aec4(0x45e)]),_0x5d7e0a===0x0&&this[_0x17aec4(0x42f)][_0x17aec4(0x59b)](_0x17aec4(0x4c9),_0x17aec4(0x3b4)),this[_0x17aec4(0x1fd)][_0x17aec4(0x1ea)](_0x23e95e,_0x5d7e0a);}};It=wa([ke(0x0,Bi),ke(0x1,_0x2a6a1c),ke(0x2,_0x49a021),ke(0x3,_0x127ed5(q)),ke(0x4,_0x127ed5(_0x155fc0)),ke(0x5,_0x5c4d06(_0xa1253))],It);var Da=Object[_0x3f2ec9(0x323)],Pa=Object[_0x3f2ec9(0x318)],Ua=(_0x11b0ff,_0x2a7d60,_0x76e4c4,_0x117744)=>{const _0x3230ff=_0x3f2ec9;for(var _0xf4e65=_0x117744>0x1?void 0x0:_0x117744?Pa(_0x2a7d60,_0x76e4c4):_0x2a7d60,_0x223d52=_0x11b0ff[_0x3230ff(0x3a7)]-0x1,_0x50eb99;_0x223d52>=0x0;_0x223d52--)(_0x50eb99=_0x11b0ff[_0x223d52])&&(_0xf4e65=(_0x117744?_0x50eb99(_0x2a7d60,_0x76e4c4,_0xf4e65):_0x50eb99(_0xf4e65))||_0xf4e65);return _0x117744&&_0xf4e65&&Da(_0x2a7d60,_0x76e4c4,_0xf4e65),_0xf4e65;},zs=(_0x1eec0c,_0x2940d5)=>(_0x57103c,_0x9de9f9)=>_0x2940d5(_0x57103c,_0x9de9f9,_0x1eec0c);const Na=_0x3f2ec9(0x3c0),Aa='Univer';let Ct=class extends _0x4bee31{constructor(_0x85f456,_0x6a3edd){const _0xf1e019=_0x3f2ec9;super(),this[_0xf1e019(0x590)]=_0x85f456,this[_0xf1e019(0x5b4)]=_0x6a3edd,this[_0xf1e019(0x51f)]();}[_0x3f2ec9(0x51f)](){const _0x12a2ca=_0x3f2ec9;this[_0x12a2ca(0x324)](this['_univerInstanceService']['focused$'][_0x12a2ca(0x27a)](()=>{const _0x5bc4de=_0x12a2ca;var _0xf051b7;const _0x4eca06=this[_0x5bc4de(0x590)][_0x5bc4de(0x548)]();let _0x1923f2=(_0xf051b7=this[_0x5bc4de(0x5b4)][_0x5bc4de(0x4d2)](Na))!=null?_0xf051b7:Aa;_0x4eca06 instanceof _0x17fe54&&(_0x1923f2=_0x4eca06[_0x5bc4de(0x533)]),document['title']=_0x1923f2;}));}};Ct=Ua([zs(0x0,_0x4c4975),zs(0x1,_0x5293d7)],Ct);var Ma=Object[_0x3f2ec9(0x323)],xa=Object[_0x3f2ec9(0x318)],La=(_0x41d97a,_0x3ee115,_0x561a50,_0x41b379)=>{const _0x100348=_0x3f2ec9;for(var _0x11260a=_0x41b379>0x1?void 0x0:_0x41b379?xa(_0x3ee115,_0x561a50):_0x3ee115,_0x5515cf=_0x41d97a[_0x100348(0x3a7)]-0x1,_0x3ae489;_0x5515cf>=0x0;_0x5515cf--)(_0x3ae489=_0x41d97a[_0x5515cf])&&(_0x11260a=(_0x41b379?_0x3ae489(_0x3ee115,_0x561a50,_0x11260a):_0x3ae489(_0x11260a))||_0x11260a);return _0x41b379&&_0x11260a&&Ma(_0x3ee115,_0x561a50,_0x11260a),_0x11260a;},Wt=(_0x1b54c0,_0x2ae3d3)=>(_0x1ca300,_0x24cab0)=>_0x2ae3d3(_0x1ca300,_0x24cab0,_0x1b54c0);let Et=class{constructor(_0x3dcaf9,_0x33d270,_0x3d5398){const _0x11fb75=_0x3f2ec9;this['_configService']=_0x3dcaf9,this[_0x11fb75(0x2e2)]=_0x33d270,this[_0x11fb75(0x233)]=_0x3d5398,this[_0x11fb75(0x282)]();}[_0x3f2ec9(0x282)](){const _0x17cfb7=_0x3f2ec9;this[_0x17cfb7(0x2e2)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xf23332,_0x33856e)=>_0x33856e(_0xf23332)[_0x17cfb7(0x3c4)](_0x2062d4(async _0x4ce3ad=>{const _0x593de6=_0x17cfb7,_0x575bec=_0x4ce3ad;if(_0x575bec['status']===0x191&&window[_0x593de6(0x3ae)](this[_0x593de6(0x233)]['t']('auth.needGotoLoginAlert'))){const _0x6262a6=window[_0x593de6(0x2a1)](window['location']['href']);window['location'][_0x593de6(0x2b5)]=this['_getLoginPath']()+_0x593de6(0x2f2)+_0x6262a6;}return _0x575bec;}))});}['_getLoginPath'](){const _0x55936c=_0x3f2ec9;var _0x2973ca,_0x10e867;const _0x3080fd=this[_0x55936c(0x5b4)][_0x55936c(0x4d2)](br),_0x2c14fc=this['_configService'][_0x55936c(0x4d2)](ie);return(_0x10e867=(_0x2973ca=_0x2c14fc==null?void 0x0:_0x2c14fc[_0x55936c(0x295)])!=null?_0x2973ca:_0x3080fd)!=null?_0x10e867:Tr;}};Et=La([Wt(0x0,_0x5293d7),Wt(0x1,_0x127ed5(_0x1d93b0)),Wt(0x2,_0x127ed5(_0x4d6b84))],Et);var $a=Object[_0x3f2ec9(0x323)],Ha=Object[_0x3f2ec9(0x318)],ja=(_0x6d86be,_0x20fb97,_0x2c853c,_0x3e19d1)=>{for(var _0x359ec2=_0x3e19d1>0x1?void 0x0:_0x3e19d1?Ha(_0x20fb97,_0x2c853c):_0x20fb97,_0x3c4756=_0x6d86be['length']-0x1,_0x5c0cdd;_0x3c4756>=0x0;_0x3c4756--)(_0x5c0cdd=_0x6d86be[_0x3c4756])&&(_0x359ec2=(_0x3e19d1?_0x5c0cdd(_0x20fb97,_0x2c853c,_0x359ec2):_0x5c0cdd(_0x359ec2))||_0x359ec2);return _0x3e19d1&&_0x359ec2&&$a(_0x20fb97,_0x2c853c,_0x359ec2),_0x359ec2;},qs=(_0x3beb04,_0x2ae3d0)=>(_0x21cda4,_0xe7265f)=>_0x2ae3d0(_0x21cda4,_0xe7265f,_0x3beb04);const Ba=_0x3f2ec9(0x3cc),ka=_0x3f2ec9(0x293);let cs=class extends _0x4bee31{constructor(_0x1c85a0,_0x353f0d){const _0x18fcb4=_0x3f2ec9;super(),this[_0x18fcb4(0x4ff)]=_0x1c85a0,this[_0x18fcb4(0x5b4)]=_0x353f0d,this[_0x18fcb4(0x417)]();}[_0x3f2ec9(0x417)](){const _0x8dad37=_0x3f2ec9,_0x204d86=this;this[_0x8dad37(0x324)](this[_0x8dad37(0x4ff)][_0x8dad37(0x4e2)]({'priority':0x3e7,'interceptor':_0x1dbafd({'isMatch'(_0x4b72e8){const _0x3279c6=_0x8dad37;var _0xfacb91;if(_0x4b72e8['method']===_0x3279c6(0x3c7)&&((_0xfacb91=_0x4b72e8['requestParams'])!=null&&_0xfacb91[_0x3279c6(0x57e)])){const {objectID:_0x30da34,objectType:_0x15d120}=_0x4b72e8['requestParams'][_0x3279c6(0x57e)]||{};if(!_0x30da34||_0x15d120===void 0x0)return!0x1;const _0x2d2d28=_0x204d86[_0x3279c6(0x212)]()+'/'+_0x15d120+'/object/'+_0x30da34+_0x3279c6(0x57d);if(_0x4b72e8[_0x3279c6(0x582)]===_0x2d2d28)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xfe1cae){const _0x5ea94c=_0x8dad37;var _0x5792ca;return(_0x5792ca=_0xfe1cae[_0x5ea94c(0x269)])==null?void 0x0:_0x5792ca[_0x5ea94c(0x57e)];},'mergeParamsToRequest'(_0x2d9c66,_0x298427){const _0x36b5e9=_0x8dad37,_0x57fa8b=_0x204d86[_0x36b5e9(0x212)]()+_0x36b5e9(0x561),_0x2e6036=_0x2d9c66[_0x36b5e9(0x228)]((_0xe7cc79,_0x44d7de)=>{const _0x36dd85=_0x36b5e9,{unitID:_0x147754,objectID:_0x39839e,objectType:_0x707c6a,actions:_0x45fa70}=_0x44d7de;return _0xe7cc79[_0x147754]||(_0xe7cc79[_0x147754]={}),_0xe7cc79[_0x147754][_0x39839e]||(_0xe7cc79[_0x147754][_0x39839e]={'objectID':_0x39839e,'objectType':_0x707c6a,'actions':[]}),_0xe7cc79[_0x147754][_0x39839e][_0x36dd85(0x489)][_0x36dd85(0x496)](..._0x45fa70),_0xe7cc79;},{}),_0x4c7933=[];for(const _0x11d69a in _0x2e6036)for(const _0x116b9a in _0x2e6036[_0x11d69a]){const {actions:_0xf82223,objectType:_0x2ecfbb}=_0x2e6036[_0x11d69a][_0x116b9a],_0x4f0853=[...new Set(_0xf82223)];_0x4c7933['push']({'unitID':_0x11d69a,'objectID':_0x116b9a,'objectType':_0x2ecfbb,'actions':_0x4f0853});}return new _0x651888(_0x36b5e9(0x3c7),_0x57fa8b,{'headers':_0x298427[_0x36b5e9(0x343)],'withCredentials':_0x298427[_0x36b5e9(0x498)],'responseType':_0x298427[_0x36b5e9(0x449)],'body':{'requests':_0x4c7933}});}},{'distributeResult'(_0x2b877a,_0x4d05ce){const _0x411b4f=_0x8dad37,{objectActions:_0x1585dd}=_0x2b877a;return _0x4d05ce[_0x411b4f(0x26f)](_0x2e397c=>{const _0x4eab93=_0x411b4f,{unitID:_0x50f1b5,objectID:_0x4474b2,actions:_0x48fb6f}=_0x2e397c,_0x458c47=_0x1585dd[_0x4eab93(0x59f)](_0x5bde62=>_0x5bde62[_0x4eab93(0x350)]===_0x50f1b5&&_0x5bde62['objectID']===_0x4474b2),_0x2f1db5=_0x48fb6f[_0x4eab93(0x26f)](_0x5c0b8b=>_0x458c47==null?void 0x0:_0x458c47[_0x4eab93(0x489)]['find'](_0x3d829f=>_0x3d829f[_0x4eab93(0x426)]===_0x5c0b8b))['filter'](_0x2515d9=>!!_0x2515d9);return{'config':_0x2e397c,'result':{'actions':_0x2f1db5,'error':_0x2b877a['error']}};});}})}));}['_getAPIPrefixPath'](){const _0xda133=_0x3f2ec9;var _0x205e9e,_0x328f96;const _0x22a437=this[_0xda133(0x5b4)][_0xda133(0x4d2)](Ba),_0x438ec2=this[_0xda133(0x5b4)][_0xda133(0x4d2)](ie);return(_0x328f96=(_0x205e9e=_0x438ec2==null?void 0x0:_0x438ec2[_0xda133(0x28d)])!=null?_0x205e9e:_0x22a437)!=null?_0x328f96:ka;}async[_0x3f2ec9(0x3fd)](_0x5ab2cd){const _0x46444c=_0x3f2ec9,_0x160f1a=this[_0x46444c(0x212)]()+'/'+_0x5ab2cd['objectType']+_0x46444c(0x560);return(await this['_HTTPService'][_0x46444c(0x527)](_0x160f1a,{'body':_0x5ab2cd}))[_0x46444c(0x57e)][_0x46444c(0x5a4)]||'';}async[_0x3f2ec9(0x46b)](_0x829210){const _0x4eb2ec=_0x3f2ec9,_0x1b48fc=this[_0x4eb2ec(0x212)]()+_0x4eb2ec(0x390);return(await this[_0x4eb2ec(0x4ff)]['post'](_0x1b48fc,{'body':_0x829210}))[_0x4eb2ec(0x57e)][_0x4eb2ec(0x528)];}async[_0x3f2ec9(0x296)](_0x54f79e){const _0x54fedf=_0x3f2ec9,_0x3fd49f=this[_0x54fedf(0x212)]()+'/'+_0x54f79e['objectType']+'/object/'+_0x54f79e[_0x54fedf(0x5a4)];await this[_0x54fedf(0x4ff)][_0x54fedf(0x2ae)](_0x3fd49f,{'body':_0x54f79e});}async['allowed'](_0x773f1a){const _0x2518be=_0x3f2ec9,_0x4767fb=this[_0x2518be(0x212)]()+'/'+_0x773f1a[_0x2518be(0x522)]+'/object/'+_0x773f1a['objectID']+_0x2518be(0x57d);return(await this[_0x2518be(0x4ff)]['post'](_0x4767fb,{'body':_0x773f1a}))['body'][_0x2518be(0x489)];}async['batchAllowed'](_0xfd0f64){const _0x260280=_0x3f2ec9,_0x28a06d=this[_0x260280(0x212)]()+'/-/object/-/batch_allowed';return(await this[_0x260280(0x4ff)][_0x260280(0x527)](_0x28a06d,{'body':{'requests':_0xfd0f64}}))[_0x260280(0x57e)]['objectActions'];}async[_0x3f2ec9(0x597)](_0x2d06e7){const _0x4ec3ca=_0x3f2ec9,_0x3c2157=this['_getAPIPrefixPath']()+'/'+_0x2d06e7['objectType']+_0x4ec3ca(0x52e),_0x18e8cb=await this[_0x4ec3ca(0x4ff)][_0x4ec3ca(0x527)](_0x3c2157,{'body':_0x2d06e7});return{'roles':_0x18e8cb[_0x4ec3ca(0x57e)]['roles'],'actions':_0x18e8cb[_0x4ec3ca(0x57e)][_0x4ec3ca(0x489)]};}async[_0x3f2ec9(0x517)](_0x255b56){const _0x540fb7=_0x3f2ec9,_0x39103b=this['_getAPIPrefixPath']()+_0x540fb7(0x543);await this['_HTTPService'][_0x540fb7(0x1c4)](_0x39103b,{'params':{'collaboratorID':_0x255b56[_0x540fb7(0x1fb)],'objectID':_0x255b56[_0x540fb7(0x5a4)],'unitID':_0x255b56[_0x540fb7(0x350)]}});}async[_0x3f2ec9(0x1bf)](_0x1877c4){const _0x5ce86b=_0x3f2ec9,_0x2174a9=this[_0x5ce86b(0x212)]()+_0x5ce86b(0x543);await this['_HTTPService'][_0x5ce86b(0x456)](_0x2174a9,{'body':_0x1877c4});}async[_0x3f2ec9(0x59c)](_0x4a9eec){const _0x57ee1f=_0x3f2ec9,_0x20a4f7=this[_0x57ee1f(0x212)]()+'/collaborator';await this[_0x57ee1f(0x4ff)][_0x57ee1f(0x527)](_0x20a4f7,{'body':_0x4a9eec});}async[_0x3f2ec9(0x4ba)](_0x214f24){const _0x11a2f7=_0x3f2ec9,_0x1cab43=this[_0x11a2f7(0x212)]()+_0x11a2f7(0x543);return(await this[_0x11a2f7(0x4ff)][_0x11a2f7(0x333)](_0x1cab43,{'params':{'objectID':_0x214f24[_0x11a2f7(0x5a4)],'unitID':_0x214f24['unitID']}}))[_0x11a2f7(0x57e)]['collaborators'];}async[_0x3f2ec9(0x3c9)](_0x417559){const _0x537a6b=_0x3f2ec9,_0x8a11=this[_0x537a6b(0x212)]()+_0x537a6b(0x543);await this[_0x537a6b(0x4ff)][_0x537a6b(0x2ae)](_0x8a11,{'body':_0x417559});}};cs=ja([qs(0x0,_0x127ed5(_0x1d93b0)),qs(0x1,_0x127ed5(_0x5293d7))],cs);var ki={'exports':{}};function Wa(_0x20f427){const _0x31b72c=_0x3f2ec9;throw new Error(_0x31b72c(0x20f)+_0x20f427+_0x31b72c(0x551));}var Ft={'exports':{}},Xs;function ue(){const _0xedd49b=_0x3f2ec9;return Xs||(Xs=0x1,function(_0x514a15,_0x5a692a){(function(_0x3966cc,_0xd54d93){const _0x4de33d=_0x1414;_0x514a15[_0x4de33d(0x4a2)]=_0xd54d93();}(Z,function(){var _0xce0d7e=_0xce0d7e||function(_0xc34bb2,_0x4e42d6){const _0x5d6095=_0x1414;var _0x5a9b9c;if(typeof window<'u'&&window[_0x5d6095(0x38e)]&&(_0x5a9b9c=window['crypto']),typeof self<'u'&&self[_0x5d6095(0x38e)]&&(_0x5a9b9c=self[_0x5d6095(0x38e)]),typeof globalThis<'u'&&globalThis[_0x5d6095(0x38e)]&&(_0x5a9b9c=globalThis['crypto']),!_0x5a9b9c&&typeof window<'u'&&window[_0x5d6095(0x375)]&&(_0x5a9b9c=window[_0x5d6095(0x375)]),!_0x5a9b9c&&typeof Z<'u'&&Z[_0x5d6095(0x38e)]&&(_0x5a9b9c=Z[_0x5d6095(0x38e)]),!_0x5a9b9c&&typeof Wa=='function')try{_0x5a9b9c=require(_0x5d6095(0x38e));}catch{}var _0x2f3b44=function(){const _0x53f9b8=_0x5d6095;if(_0x5a9b9c){if(typeof _0x5a9b9c[_0x53f9b8(0x50f)]=='function')try{return _0x5a9b9c[_0x53f9b8(0x50f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5a9b9c[_0x53f9b8(0x5d8)]==_0x53f9b8(0x416))try{return _0x5a9b9c['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x53f9b8(0x373));},_0x2d8c46=Object[_0x5d6095(0x3fd)]||(function(){function _0x4dcace(){}return function(_0x4bdc2d){const _0x82fde7=_0x1414;var _0x1d05d5;return _0x4dcace['prototype']=_0x4bdc2d,_0x1d05d5=new _0x4dcace(),_0x4dcace[_0x82fde7(0x1e6)]=null,_0x1d05d5;};}()),_0x260c74={},_0x1ea3e6=_0x260c74[_0x5d6095(0x40b)]={},_0x252c35=_0x1ea3e6[_0x5d6095(0x2d1)]=(function(){return{'extend':function(_0x19c7e5){const _0x254cff=_0x1414;var _0x1d9db7=_0x2d8c46(this);return _0x19c7e5&&_0x1d9db7[_0x254cff(0x45a)](_0x19c7e5),(!_0x1d9db7[_0x254cff(0x3af)](_0x254cff(0x282))||this[_0x254cff(0x282)]===_0x1d9db7['init'])&&(_0x1d9db7['init']=function(){const _0xaf802a=_0x254cff;_0x1d9db7[_0xaf802a(0x473)]['init'][_0xaf802a(0x437)](this,arguments);}),_0x1d9db7[_0x254cff(0x282)][_0x254cff(0x1e6)]=_0x1d9db7,_0x1d9db7[_0x254cff(0x473)]=this,_0x1d9db7;},'create':function(){const _0x453111=_0x1414;var _0xb9c54e=this[_0x453111(0x2e0)]();return _0xb9c54e['init']['apply'](_0xb9c54e,arguments),_0xb9c54e;},'init':function(){},'mixIn':function(_0x1d8385){const _0xeebe5e=_0x1414;for(var _0x53fa6d in _0x1d8385)_0x1d8385['hasOwnProperty'](_0x53fa6d)&&(this[_0x53fa6d]=_0x1d8385[_0x53fa6d]);_0x1d8385[_0xeebe5e(0x3af)](_0xeebe5e(0x5d5))&&(this[_0xeebe5e(0x5d5)]=_0x1d8385[_0xeebe5e(0x5d5)]);},'clone':function(){const _0x4af381=_0x1414;return this[_0x4af381(0x282)][_0x4af381(0x1e6)][_0x4af381(0x2e0)](this);}};}()),_0x3a4025=_0x1ea3e6['WordArray']=_0x252c35[_0x5d6095(0x2e0)]({'init':function(_0x1e10ef,_0x58f951){const _0x31c10f=_0x5d6095;_0x1e10ef=this[_0x31c10f(0x5b2)]=_0x1e10ef||[],_0x58f951!=_0x4e42d6?this['sigBytes']=_0x58f951:this['sigBytes']=_0x1e10ef[_0x31c10f(0x3a7)]*0x4;},'toString':function(_0x35fd35){const _0x2d70c6=_0x5d6095;return(_0x35fd35||_0x469aad)[_0x2d70c6(0x5a1)](this);},'concat':function(_0x1b35c7){const _0x2913ae=_0x5d6095;var _0x15a990=this[_0x2913ae(0x5b2)],_0x2506bb=_0x1b35c7['words'],_0x4da1f3=this['sigBytes'],_0x296201=_0x1b35c7[_0x2913ae(0x25b)];if(this[_0x2913ae(0x329)](),_0x4da1f3%0x4)for(var _0x238e12=0x0;_0x238e12<_0x296201;_0x238e12++){var _0x21602a=_0x2506bb[_0x238e12>>>0x2]>>>0x18-_0x238e12%0x4*0x8&0xff;_0x15a990[_0x4da1f3+_0x238e12>>>0x2]|=_0x21602a<<0x18-(_0x4da1f3+_0x238e12)%0x4*0x8;}else{for(var _0x324981=0x0;_0x324981<_0x296201;_0x324981+=0x4)_0x15a990[_0x4da1f3+_0x324981>>>0x2]=_0x2506bb[_0x324981>>>0x2];}return this[_0x2913ae(0x25b)]+=_0x296201,this;},'clamp':function(){const _0x4e6668=_0x5d6095;var _0x4dc80d=this['words'],_0x5d4e39=this[_0x4e6668(0x25b)];_0x4dc80d[_0x5d4e39>>>0x2]&=0xffffffff<<0x20-_0x5d4e39%0x4*0x8,_0x4dc80d['length']=_0xc34bb2[_0x4e6668(0x359)](_0x5d4e39/0x4);},'clone':function(){const _0x3c1568=_0x5d6095;var _0x42794d=_0x252c35[_0x3c1568(0x24d)]['call'](this);return _0x42794d['words']=this['words'][_0x3c1568(0x43e)](0x0),_0x42794d;},'random':function(_0x4f5726){const _0x251dc8=_0x5d6095;for(var _0x2c12fe=[],_0x4b4ebd=0x0;_0x4b4ebd<_0x4f5726;_0x4b4ebd+=0x4)_0x2c12fe[_0x251dc8(0x496)](_0x2f3b44());return new _0x3a4025['init'](_0x2c12fe,_0x4f5726);}}),_0x30e37c=_0x260c74['enc']={},_0x469aad=_0x30e37c[_0x5d6095(0x3e9)]={'stringify':function(_0x4892ff){const _0x27c911=_0x5d6095;for(var _0x58ab2d=_0x4892ff[_0x27c911(0x5b2)],_0x1574f2=_0x4892ff[_0x27c911(0x25b)],_0x2ca31a=[],_0x605592=0x0;_0x605592<_0x1574f2;_0x605592++){var _0xbb5a92=_0x58ab2d[_0x605592>>>0x2]>>>0x18-_0x605592%0x4*0x8&0xff;_0x2ca31a[_0x27c911(0x496)]((_0xbb5a92>>>0x4)['toString'](0x10)),_0x2ca31a[_0x27c911(0x496)]((_0xbb5a92&0xf)['toString'](0x10));}return _0x2ca31a[_0x27c911(0x580)]('');},'parse':function(_0x4c7223){const _0x537129=_0x5d6095;for(var _0x4baa55=_0x4c7223[_0x537129(0x3a7)],_0x120778=[],_0x5dca6e=0x0;_0x5dca6e<_0x4baa55;_0x5dca6e+=0x2)_0x120778[_0x5dca6e>>>0x3]|=parseInt(_0x4c7223[_0x537129(0x3f2)](_0x5dca6e,0x2),0x10)<<0x18-_0x5dca6e%0x8*0x4;return new _0x3a4025['init'](_0x120778,_0x4baa55/0x2);}},_0x4082f4=_0x30e37c[_0x5d6095(0x2d9)]={'stringify':function(_0x3a4719){const _0x5f6658=_0x5d6095;for(var _0x4519ae=_0x3a4719['words'],_0x507e9c=_0x3a4719[_0x5f6658(0x25b)],_0x4765b7=[],_0x307355=0x0;_0x307355<_0x507e9c;_0x307355++){var _0x213765=_0x4519ae[_0x307355>>>0x2]>>>0x18-_0x307355%0x4*0x8&0xff;_0x4765b7[_0x5f6658(0x496)](String[_0x5f6658(0x45f)](_0x213765));}return _0x4765b7[_0x5f6658(0x580)]('');},'parse':function(_0x4ead90){const _0x6a8fbf=_0x5d6095;for(var _0x162524=_0x4ead90[_0x6a8fbf(0x3a7)],_0x199c18=[],_0x44f68a=0x0;_0x44f68a<_0x162524;_0x44f68a++)_0x199c18[_0x44f68a>>>0x2]|=(_0x4ead90[_0x6a8fbf(0x549)](_0x44f68a)&0xff)<<0x18-_0x44f68a%0x4*0x8;return new _0x3a4025[(_0x6a8fbf(0x282))](_0x199c18,_0x162524);}},_0x5c05cf=_0x30e37c[_0x5d6095(0x4b7)]={'stringify':function(_0x5838dc){const _0x2d5f3f=_0x5d6095;try{return decodeURIComponent(escape(_0x4082f4['stringify'](_0x5838dc)));}catch{throw new Error(_0x2d5f3f(0x210));}},'parse':function(_0x1fd143){const _0x19fe09=_0x5d6095;return _0x4082f4[_0x19fe09(0x224)](unescape(encodeURIComponent(_0x1fd143)));}},_0x59c51d=_0x1ea3e6['BufferedBlockAlgorithm']=_0x252c35[_0x5d6095(0x2e0)]({'reset':function(){const _0xf8ff86=_0x5d6095;this[_0xf8ff86(0x31a)]=new _0x3a4025['init'](),this[_0xf8ff86(0x542)]=0x0;},'_append':function(_0x3b528e){const _0x11dbf7=_0x5d6095;typeof _0x3b528e=='string'&&(_0x3b528e=_0x5c05cf[_0x11dbf7(0x224)](_0x3b528e)),this[_0x11dbf7(0x31a)][_0x11dbf7(0x448)](_0x3b528e),this[_0x11dbf7(0x542)]+=_0x3b528e['sigBytes'];},'_process':function(_0x1e623e){const _0x1acc59=_0x5d6095;var _0x30f766,_0x451768=this['_data'],_0x5de3c1=_0x451768[_0x1acc59(0x5b2)],_0x56c27a=_0x451768['sigBytes'],_0x380ab1=this[_0x1acc59(0x5cb)],_0x420ef1=_0x380ab1*0x4,_0x3f919b=_0x56c27a/_0x420ef1;_0x1e623e?_0x3f919b=_0xc34bb2['ceil'](_0x3f919b):_0x3f919b=_0xc34bb2[_0x1acc59(0x34b)]((_0x3f919b|0x0)-this[_0x1acc59(0x2f7)],0x0);var _0x3ed0b3=_0x3f919b*_0x380ab1,_0x2b692c=_0xc34bb2[_0x1acc59(0x30a)](_0x3ed0b3*0x4,_0x56c27a);if(_0x3ed0b3){for(var _0x31256f=0x0;_0x31256f<_0x3ed0b3;_0x31256f+=_0x380ab1)this[_0x1acc59(0x585)](_0x5de3c1,_0x31256f);_0x30f766=_0x5de3c1[_0x1acc59(0x508)](0x0,_0x3ed0b3),_0x451768[_0x1acc59(0x25b)]-=_0x2b692c;}return new _0x3a4025[(_0x1acc59(0x282))](_0x30f766,_0x2b692c);},'clone':function(){const _0x38cbaf=_0x5d6095;var _0x49d29b=_0x252c35[_0x38cbaf(0x24d)][_0x38cbaf(0x570)](this);return _0x49d29b['_data']=this[_0x38cbaf(0x31a)][_0x38cbaf(0x24d)](),_0x49d29b;},'_minBufferSize':0x0});_0x1ea3e6['Hasher']=_0x59c51d[_0x5d6095(0x2e0)]({'cfg':_0x252c35[_0x5d6095(0x2e0)](),'init':function(_0x1f219b){const _0xdb757b=_0x5d6095;this[_0xdb757b(0x429)]=this[_0xdb757b(0x429)][_0xdb757b(0x2e0)](_0x1f219b),this[_0xdb757b(0x2d2)]();},'reset':function(){const _0x4e6102=_0x5d6095;_0x59c51d[_0x4e6102(0x2d2)]['call'](this),this[_0x4e6102(0x47d)]();},'update':function(_0x5a4e65){const _0xce8794=_0x5d6095;return this[_0xce8794(0x3dd)](_0x5a4e65),this[_0xce8794(0x53f)](),this;},'finalize':function(_0x3459be){const _0x126bc8=_0x5d6095;_0x3459be&&this['_append'](_0x3459be);var _0x4c506c=this[_0x126bc8(0x5a8)]();return _0x4c506c;},'blockSize':0x10,'_createHelper':function(_0x43baf9){return function(_0x5c11b0,_0x2cd27c){const _0x34037d=_0x1414;return new _0x43baf9[(_0x34037d(0x282))](_0x2cd27c)[_0x34037d(0x3db)](_0x5c11b0);};},'_createHmacHelper':function(_0x34b341){return function(_0x379963,_0x49ef53){const _0x34af74=_0x1414;return new _0x13daf3[(_0x34af74(0x2ed))][(_0x34af74(0x282))](_0x34b341,_0x49ef53)['finalize'](_0x379963);};}});var _0x13daf3=_0x260c74[_0x5d6095(0x33b)]={};return _0x260c74;}(Math);return _0xce0d7e;}));}(Ft)),Ft[_0xedd49b(0x4a2)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x5ad6ce,_0x46da0f){(function(_0x3a2f41,_0x2236d6){const _0x44116d=_0x1414;_0x5ad6ce[_0x44116d(0x4a2)]=_0x2236d6(ue());}(Z,function(_0x3356c5){const _0x5433ea=_0x1414;return(function(){const _0x57453d=_0x1414;var _0x4b2774=_0x3356c5,_0x27b75b=_0x4b2774['lib'],_0x3674c2=_0x27b75b['WordArray'],_0x508a9f=_0x4b2774[_0x57453d(0x410)];_0x508a9f[_0x57453d(0x2cb)]={'stringify':function(_0xf9f4ef){const _0x2d9b24=_0x57453d;var _0x444b2a=_0xf9f4ef[_0x2d9b24(0x5b2)],_0x338d30=_0xf9f4ef[_0x2d9b24(0x25b)],_0x2bdac5=this['_map'];_0xf9f4ef[_0x2d9b24(0x329)]();for(var _0x109324=[],_0x49c220=0x0;_0x49c220<_0x338d30;_0x49c220+=0x3)for(var _0x19d00b=_0x444b2a[_0x49c220>>>0x2]>>>0x18-_0x49c220%0x4*0x8&0xff,_0x4765b4=_0x444b2a[_0x49c220+0x1>>>0x2]>>>0x18-(_0x49c220+0x1)%0x4*0x8&0xff,_0x5d72f5=_0x444b2a[_0x49c220+0x2>>>0x2]>>>0x18-(_0x49c220+0x2)%0x4*0x8&0xff,_0x268a3a=_0x19d00b<<0x10|_0x4765b4<<0x8|_0x5d72f5,_0x5d300a=0x0;_0x5d300a<0x4&&_0x49c220+_0x5d300a*0.75<_0x338d30;_0x5d300a++)_0x109324[_0x2d9b24(0x496)](_0x2bdac5['charAt'](_0x268a3a>>>0x6*(0x3-_0x5d300a)&0x3f));var _0x15c1d3=_0x2bdac5[_0x2d9b24(0x43f)](0x40);if(_0x15c1d3){for(;_0x109324[_0x2d9b24(0x3a7)]%0x4;)_0x109324[_0x2d9b24(0x496)](_0x15c1d3);}return _0x109324['join']('');},'parse':function(_0x46c723){const _0x473680=_0x57453d;var _0x4b3cdc=_0x46c723[_0x473680(0x3a7)],_0x36472e=this['_map'],_0x418f63=this[_0x473680(0x263)];if(!_0x418f63){_0x418f63=this[_0x473680(0x263)]=[];for(var _0x489811=0x0;_0x489811<_0x36472e[_0x473680(0x3a7)];_0x489811++)_0x418f63[_0x36472e['charCodeAt'](_0x489811)]=_0x489811;}var _0x58500e=_0x36472e[_0x473680(0x43f)](0x40);if(_0x58500e){var _0x15133e=_0x46c723[_0x473680(0x3ad)](_0x58500e);_0x15133e!==-0x1&&(_0x4b3cdc=_0x15133e);}return _0x1c8d24(_0x46c723,_0x4b3cdc,_0x418f63);},'_map':_0x57453d(0x32c)};function _0x1c8d24(_0x153acb,_0x4735bd,_0x491052){const _0x452acc=_0x57453d;for(var _0x375248=[],_0x5aba0b=0x0,_0x19b712=0x0;_0x19b712<_0x4735bd;_0x19b712++)if(_0x19b712%0x4){var _0x7735e9=_0x491052[_0x153acb[_0x452acc(0x549)](_0x19b712-0x1)]<<_0x19b712%0x4*0x2,_0x462714=_0x491052[_0x153acb[_0x452acc(0x549)](_0x19b712)]>>>0x6-_0x19b712%0x4*0x2,_0x543b7e=_0x7735e9|_0x462714;_0x375248[_0x5aba0b>>>0x2]|=_0x543b7e<<0x18-_0x5aba0b%0x4*0x8,_0x5aba0b++;}return _0x3674c2[_0x452acc(0x3fd)](_0x375248,_0x5aba0b);}}()),_0x3356c5[_0x5433ea(0x410)][_0x5433ea(0x2cb)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x57c81c=_0x3f2ec9;return Zs||(Zs=0x1,function(_0x3b6c7f,_0x103bcc){(function(_0x1f314f,_0x48d0c7){const _0x427b88=_0x1414;_0x3b6c7f[_0x427b88(0x4a2)]=_0x48d0c7(ue());}(Z,function(_0x3c7e1f){const _0x1e21c0=_0x1414;return function(_0x157594){const _0x42a33e=_0x1414;var _0x2bcca3=_0x3c7e1f,_0x48f7c1=_0x2bcca3[_0x42a33e(0x40b)],_0x441434=_0x48f7c1['WordArray'],_0x5980b7=_0x48f7c1[_0x42a33e(0x34e)],_0x3a58f7=_0x2bcca3[_0x42a33e(0x33b)],_0x49341d=[];(function(){const _0x229d4d=_0x42a33e;for(var _0x346229=0x0;_0x346229<0x40;_0x346229++)_0x49341d[_0x346229]=_0x157594[_0x229d4d(0x49b)](_0x157594['sin'](_0x346229+0x1))*0x100000000|0x0;}());var _0x423264=_0x3a58f7[_0x42a33e(0x213)]=_0x5980b7[_0x42a33e(0x2e0)]({'_doReset':function(){const _0xe04020=_0x42a33e;this[_0xe04020(0x5ca)]=new _0x441434['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x47dcc8,_0x3d8ea9){const _0x45a758=_0x42a33e;for(var _0x328b8f=0x0;_0x328b8f<0x10;_0x328b8f++){var _0x3de43e=_0x3d8ea9+_0x328b8f,_0x254d05=_0x47dcc8[_0x3de43e];_0x47dcc8[_0x3de43e]=(_0x254d05<<0x8|_0x254d05>>>0x18)&0xff00ff|(_0x254d05<<0x18|_0x254d05>>>0x8)&0xff00ff00;}var _0x32ab42=this[_0x45a758(0x5ca)][_0x45a758(0x5b2)],_0xd119f9=_0x47dcc8[_0x3d8ea9+0x0],_0x1474a7=_0x47dcc8[_0x3d8ea9+0x1],_0x1dfba4=_0x47dcc8[_0x3d8ea9+0x2],_0x4d5643=_0x47dcc8[_0x3d8ea9+0x3],_0x3c6081=_0x47dcc8[_0x3d8ea9+0x4],_0x599c75=_0x47dcc8[_0x3d8ea9+0x5],_0x1de120=_0x47dcc8[_0x3d8ea9+0x6],_0x3433fa=_0x47dcc8[_0x3d8ea9+0x7],_0x4728f0=_0x47dcc8[_0x3d8ea9+0x8],_0x162537=_0x47dcc8[_0x3d8ea9+0x9],_0x4d27a9=_0x47dcc8[_0x3d8ea9+0xa],_0x41ada6=_0x47dcc8[_0x3d8ea9+0xb],_0x428d77=_0x47dcc8[_0x3d8ea9+0xc],_0x2413b4=_0x47dcc8[_0x3d8ea9+0xd],_0x36c023=_0x47dcc8[_0x3d8ea9+0xe],_0x16e251=_0x47dcc8[_0x3d8ea9+0xf],_0xe5d4a5=_0x32ab42[0x0],_0x155b31=_0x32ab42[0x1],_0x33d916=_0x32ab42[0x2],_0x1cad14=_0x32ab42[0x3];_0xe5d4a5=_0x560e4f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0xd119f9,0x7,_0x49341d[0x0]),_0x1cad14=_0x560e4f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x1474a7,0xc,_0x49341d[0x1]),_0x33d916=_0x560e4f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x1dfba4,0x11,_0x49341d[0x2]),_0x155b31=_0x560e4f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x4d5643,0x16,_0x49341d[0x3]),_0xe5d4a5=_0x560e4f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x3c6081,0x7,_0x49341d[0x4]),_0x1cad14=_0x560e4f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x599c75,0xc,_0x49341d[0x5]),_0x33d916=_0x560e4f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x1de120,0x11,_0x49341d[0x6]),_0x155b31=_0x560e4f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x3433fa,0x16,_0x49341d[0x7]),_0xe5d4a5=_0x560e4f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x4728f0,0x7,_0x49341d[0x8]),_0x1cad14=_0x560e4f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x162537,0xc,_0x49341d[0x9]),_0x33d916=_0x560e4f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x4d27a9,0x11,_0x49341d[0xa]),_0x155b31=_0x560e4f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x41ada6,0x16,_0x49341d[0xb]),_0xe5d4a5=_0x560e4f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x428d77,0x7,_0x49341d[0xc]),_0x1cad14=_0x560e4f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x2413b4,0xc,_0x49341d[0xd]),_0x33d916=_0x560e4f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x36c023,0x11,_0x49341d[0xe]),_0x155b31=_0x560e4f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x16e251,0x16,_0x49341d[0xf]),_0xe5d4a5=_0x442c4b(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x1474a7,0x5,_0x49341d[0x10]),_0x1cad14=_0x442c4b(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x1de120,0x9,_0x49341d[0x11]),_0x33d916=_0x442c4b(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x41ada6,0xe,_0x49341d[0x12]),_0x155b31=_0x442c4b(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0xd119f9,0x14,_0x49341d[0x13]),_0xe5d4a5=_0x442c4b(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x599c75,0x5,_0x49341d[0x14]),_0x1cad14=_0x442c4b(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x4d27a9,0x9,_0x49341d[0x15]),_0x33d916=_0x442c4b(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x16e251,0xe,_0x49341d[0x16]),_0x155b31=_0x442c4b(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x3c6081,0x14,_0x49341d[0x17]),_0xe5d4a5=_0x442c4b(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x162537,0x5,_0x49341d[0x18]),_0x1cad14=_0x442c4b(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x36c023,0x9,_0x49341d[0x19]),_0x33d916=_0x442c4b(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x4d5643,0xe,_0x49341d[0x1a]),_0x155b31=_0x442c4b(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x4728f0,0x14,_0x49341d[0x1b]),_0xe5d4a5=_0x442c4b(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x2413b4,0x5,_0x49341d[0x1c]),_0x1cad14=_0x442c4b(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x1dfba4,0x9,_0x49341d[0x1d]),_0x33d916=_0x442c4b(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x3433fa,0xe,_0x49341d[0x1e]),_0x155b31=_0x442c4b(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x428d77,0x14,_0x49341d[0x1f]),_0xe5d4a5=_0x42487f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x599c75,0x4,_0x49341d[0x20]),_0x1cad14=_0x42487f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x4728f0,0xb,_0x49341d[0x21]),_0x33d916=_0x42487f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x41ada6,0x10,_0x49341d[0x22]),_0x155b31=_0x42487f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x36c023,0x17,_0x49341d[0x23]),_0xe5d4a5=_0x42487f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x1474a7,0x4,_0x49341d[0x24]),_0x1cad14=_0x42487f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x3c6081,0xb,_0x49341d[0x25]),_0x33d916=_0x42487f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x3433fa,0x10,_0x49341d[0x26]),_0x155b31=_0x42487f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x4d27a9,0x17,_0x49341d[0x27]),_0xe5d4a5=_0x42487f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x2413b4,0x4,_0x49341d[0x28]),_0x1cad14=_0x42487f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0xd119f9,0xb,_0x49341d[0x29]),_0x33d916=_0x42487f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x4d5643,0x10,_0x49341d[0x2a]),_0x155b31=_0x42487f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x1de120,0x17,_0x49341d[0x2b]),_0xe5d4a5=_0x42487f(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x162537,0x4,_0x49341d[0x2c]),_0x1cad14=_0x42487f(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x428d77,0xb,_0x49341d[0x2d]),_0x33d916=_0x42487f(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x16e251,0x10,_0x49341d[0x2e]),_0x155b31=_0x42487f(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x1dfba4,0x17,_0x49341d[0x2f]),_0xe5d4a5=_0x201db3(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0xd119f9,0x6,_0x49341d[0x30]),_0x1cad14=_0x201db3(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x3433fa,0xa,_0x49341d[0x31]),_0x33d916=_0x201db3(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x36c023,0xf,_0x49341d[0x32]),_0x155b31=_0x201db3(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x599c75,0x15,_0x49341d[0x33]),_0xe5d4a5=_0x201db3(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x428d77,0x6,_0x49341d[0x34]),_0x1cad14=_0x201db3(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x4d5643,0xa,_0x49341d[0x35]),_0x33d916=_0x201db3(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x4d27a9,0xf,_0x49341d[0x36]),_0x155b31=_0x201db3(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x1474a7,0x15,_0x49341d[0x37]),_0xe5d4a5=_0x201db3(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x4728f0,0x6,_0x49341d[0x38]),_0x1cad14=_0x201db3(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x16e251,0xa,_0x49341d[0x39]),_0x33d916=_0x201db3(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x1de120,0xf,_0x49341d[0x3a]),_0x155b31=_0x201db3(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x2413b4,0x15,_0x49341d[0x3b]),_0xe5d4a5=_0x201db3(_0xe5d4a5,_0x155b31,_0x33d916,_0x1cad14,_0x3c6081,0x6,_0x49341d[0x3c]),_0x1cad14=_0x201db3(_0x1cad14,_0xe5d4a5,_0x155b31,_0x33d916,_0x41ada6,0xa,_0x49341d[0x3d]),_0x33d916=_0x201db3(_0x33d916,_0x1cad14,_0xe5d4a5,_0x155b31,_0x1dfba4,0xf,_0x49341d[0x3e]),_0x155b31=_0x201db3(_0x155b31,_0x33d916,_0x1cad14,_0xe5d4a5,_0x162537,0x15,_0x49341d[0x3f]),_0x32ab42[0x0]=_0x32ab42[0x0]+_0xe5d4a5|0x0,_0x32ab42[0x1]=_0x32ab42[0x1]+_0x155b31|0x0,_0x32ab42[0x2]=_0x32ab42[0x2]+_0x33d916|0x0,_0x32ab42[0x3]=_0x32ab42[0x3]+_0x1cad14|0x0;},'_doFinalize':function(){const _0x459179=_0x42a33e;var _0x353a01=this[_0x459179(0x31a)],_0x5da34b=_0x353a01[_0x459179(0x5b2)],_0xe6c3b0=this[_0x459179(0x542)]*0x8,_0x475866=_0x353a01['sigBytes']*0x8;_0x5da34b[_0x475866>>>0x5]|=0x80<<0x18-_0x475866%0x20;var _0x145985=_0x157594['floor'](_0xe6c3b0/0x100000000),_0x252494=_0xe6c3b0;_0x5da34b[(_0x475866+0x40>>>0x9<<0x4)+0xf]=(_0x145985<<0x8|_0x145985>>>0x18)&0xff00ff|(_0x145985<<0x18|_0x145985>>>0x8)&0xff00ff00,_0x5da34b[(_0x475866+0x40>>>0x9<<0x4)+0xe]=(_0x252494<<0x8|_0x252494>>>0x18)&0xff00ff|(_0x252494<<0x18|_0x252494>>>0x8)&0xff00ff00,_0x353a01['sigBytes']=(_0x5da34b[_0x459179(0x3a7)]+0x1)*0x4,this[_0x459179(0x53f)]();for(var _0x1da7ba=this[_0x459179(0x5ca)],_0x1a0c5c=_0x1da7ba['words'],_0x36b76d=0x0;_0x36b76d<0x4;_0x36b76d++){var _0x17a61c=_0x1a0c5c[_0x36b76d];_0x1a0c5c[_0x36b76d]=(_0x17a61c<<0x8|_0x17a61c>>>0x18)&0xff00ff|(_0x17a61c<<0x18|_0x17a61c>>>0x8)&0xff00ff00;}return _0x1da7ba;},'clone':function(){const _0xe3f254=_0x42a33e;var _0x5289a2=_0x5980b7[_0xe3f254(0x24d)][_0xe3f254(0x570)](this);return _0x5289a2[_0xe3f254(0x5ca)]=this[_0xe3f254(0x5ca)][_0xe3f254(0x24d)](),_0x5289a2;}});function _0x560e4f(_0x233521,_0x10c579,_0x3dd96d,_0x8a1000,_0x2d15d5,_0x270552,_0x4dc553){var _0x13eca6=_0x233521+(_0x10c579&_0x3dd96d|~_0x10c579&_0x8a1000)+_0x2d15d5+_0x4dc553;return(_0x13eca6<<_0x270552|_0x13eca6>>>0x20-_0x270552)+_0x10c579;}function _0x442c4b(_0x128ce5,_0x2c50b7,_0x3bcf34,_0x4f68e3,_0x3b43d4,_0x3be1c7,_0x4c1298){var _0x490fe9=_0x128ce5+(_0x2c50b7&_0x4f68e3|_0x3bcf34&~_0x4f68e3)+_0x3b43d4+_0x4c1298;return(_0x490fe9<<_0x3be1c7|_0x490fe9>>>0x20-_0x3be1c7)+_0x2c50b7;}function _0x42487f(_0x7ac1dd,_0x3298b7,_0x5d786b,_0x391042,_0x34e775,_0x3d22e2,_0xe40e4d){var _0x1d1672=_0x7ac1dd+(_0x3298b7^_0x5d786b^_0x391042)+_0x34e775+_0xe40e4d;return(_0x1d1672<<_0x3d22e2|_0x1d1672>>>0x20-_0x3d22e2)+_0x3298b7;}function _0x201db3(_0x4f89a1,_0x2ece16,_0x432ed3,_0x18ab1f,_0x32de56,_0x4fbbd7,_0x4fee72){var _0x3435b9=_0x4f89a1+(_0x432ed3^(_0x2ece16|~_0x18ab1f))+_0x32de56+_0x4fee72;return(_0x3435b9<<_0x4fbbd7|_0x3435b9>>>0x20-_0x4fbbd7)+_0x2ece16;}_0x2bcca3[_0x42a33e(0x213)]=_0x5980b7['_createHelper'](_0x423264),_0x2bcca3[_0x42a33e(0x44d)]=_0x5980b7[_0x42a33e(0x259)](_0x423264);}(Math),_0x3c7e1f[_0x1e21c0(0x213)];}));}(Gt)),Gt[_0x57c81c(0x4a2)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x58018a=_0x3f2ec9;return Qs||(Qs=0x1,function(_0x25aedb,_0xd4eca){(function(_0x32891d,_0x4d9438){const _0x12f868=_0x1414;_0x25aedb[_0x12f868(0x4a2)]=_0x4d9438(ue());}(Z,function(_0x2705b6){const _0x11b01d=_0x1414;return(function(){const _0x4c3cb3=_0x1414;var _0x3ffb43=_0x2705b6,_0x4370fe=_0x3ffb43[_0x4c3cb3(0x40b)],_0x34d0c8=_0x4370fe[_0x4c3cb3(0x3e7)],_0x536038=_0x4370fe['Hasher'],_0x5d5653=_0x3ffb43[_0x4c3cb3(0x33b)],_0x36a91c=[],_0x212754=_0x5d5653[_0x4c3cb3(0x1e0)]=_0x536038['extend']({'_doReset':function(){const _0x5df9f3=_0x4c3cb3;this[_0x5df9f3(0x5ca)]=new _0x34d0c8[(_0x5df9f3(0x282))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1a3499,_0x22fdd4){const _0xbfe438=_0x4c3cb3;for(var _0xd801ae=this[_0xbfe438(0x5ca)][_0xbfe438(0x5b2)],_0x23f4bd=_0xd801ae[0x0],_0x2c576a=_0xd801ae[0x1],_0x13f740=_0xd801ae[0x2],_0x2a4a7f=_0xd801ae[0x3],_0x5e9280=_0xd801ae[0x4],_0x279212=0x0;_0x279212<0x50;_0x279212++){if(_0x279212<0x10)_0x36a91c[_0x279212]=_0x1a3499[_0x22fdd4+_0x279212]|0x0;else{var _0x3dafea=_0x36a91c[_0x279212-0x3]^_0x36a91c[_0x279212-0x8]^_0x36a91c[_0x279212-0xe]^_0x36a91c[_0x279212-0x10];_0x36a91c[_0x279212]=_0x3dafea<<0x1|_0x3dafea>>>0x1f;}var _0x4c43b7=(_0x23f4bd<<0x5|_0x23f4bd>>>0x1b)+_0x5e9280+_0x36a91c[_0x279212];_0x279212<0x14?_0x4c43b7+=(_0x2c576a&_0x13f740|~_0x2c576a&_0x2a4a7f)+0x5a827999:_0x279212<0x28?_0x4c43b7+=(_0x2c576a^_0x13f740^_0x2a4a7f)+0x6ed9eba1:_0x279212<0x3c?_0x4c43b7+=(_0x2c576a&_0x13f740|_0x2c576a&_0x2a4a7f|_0x13f740&_0x2a4a7f)-0x70e44324:_0x4c43b7+=(_0x2c576a^_0x13f740^_0x2a4a7f)-0x359d3e2a,_0x5e9280=_0x2a4a7f,_0x2a4a7f=_0x13f740,_0x13f740=_0x2c576a<<0x1e|_0x2c576a>>>0x2,_0x2c576a=_0x23f4bd,_0x23f4bd=_0x4c43b7;}_0xd801ae[0x0]=_0xd801ae[0x0]+_0x23f4bd|0x0,_0xd801ae[0x1]=_0xd801ae[0x1]+_0x2c576a|0x0,_0xd801ae[0x2]=_0xd801ae[0x2]+_0x13f740|0x0,_0xd801ae[0x3]=_0xd801ae[0x3]+_0x2a4a7f|0x0,_0xd801ae[0x4]=_0xd801ae[0x4]+_0x5e9280|0x0;},'_doFinalize':function(){const _0x28a898=_0x4c3cb3;var _0x27b67c=this[_0x28a898(0x31a)],_0x461f68=_0x27b67c[_0x28a898(0x5b2)],_0x59545a=this[_0x28a898(0x542)]*0x8,_0x56082f=_0x27b67c[_0x28a898(0x25b)]*0x8;return _0x461f68[_0x56082f>>>0x5]|=0x80<<0x18-_0x56082f%0x20,_0x461f68[(_0x56082f+0x40>>>0x9<<0x4)+0xe]=Math[_0x28a898(0x335)](_0x59545a/0x100000000),_0x461f68[(_0x56082f+0x40>>>0x9<<0x4)+0xf]=_0x59545a,_0x27b67c[_0x28a898(0x25b)]=_0x461f68[_0x28a898(0x3a7)]*0x4,this[_0x28a898(0x53f)](),this['_hash'];},'clone':function(){const _0xf1144d=_0x4c3cb3;var _0x2c1ea0=_0x536038[_0xf1144d(0x24d)][_0xf1144d(0x570)](this);return _0x2c1ea0['_hash']=this[_0xf1144d(0x5ca)][_0xf1144d(0x24d)](),_0x2c1ea0;}});_0x3ffb43[_0x4c3cb3(0x1e0)]=_0x536038['_createHelper'](_0x212754),_0x3ffb43['HmacSHA1']=_0x536038['_createHmacHelper'](_0x212754);}()),_0x2705b6[_0x11b01d(0x1e0)];}));}(Kt)),Kt[_0x58018a(0x4a2)];}var zt={'exports':{}},ei;function Ga(){const _0x41df07=_0x3f2ec9;return ei||(ei=0x1,function(_0x57db9a,_0x523bd5){(function(_0x5bfbc1,_0x4101a2){const _0x46b777=_0x1414;_0x57db9a[_0x46b777(0x4a2)]=_0x4101a2(ue());}(Z,function(_0x4ec432){(function(){const _0x43c701=_0x1414;var _0x2cdb2f=_0x4ec432,_0x3e5014=_0x2cdb2f[_0x43c701(0x40b)],_0xdc91ad=_0x3e5014[_0x43c701(0x2d1)],_0x4ae0a2=_0x2cdb2f[_0x43c701(0x410)],_0x4c2b26=_0x4ae0a2['Utf8'],_0x498d62=_0x2cdb2f[_0x43c701(0x33b)];_0x498d62[_0x43c701(0x2ed)]=_0xdc91ad[_0x43c701(0x2e0)]({'init':function(_0x4a3d20,_0xab3665){const _0x193592=_0x43c701;_0x4a3d20=this[_0x193592(0x3c3)]=new _0x4a3d20[(_0x193592(0x282))](),typeof _0xab3665=='string'&&(_0xab3665=_0x4c2b26[_0x193592(0x224)](_0xab3665));var _0x398494=_0x4a3d20[_0x193592(0x5cb)],_0xff7b15=_0x398494*0x4;_0xab3665[_0x193592(0x25b)]>_0xff7b15&&(_0xab3665=_0x4a3d20[_0x193592(0x3db)](_0xab3665)),_0xab3665[_0x193592(0x329)]();for(var _0x14cb70=this[_0x193592(0x2d4)]=_0xab3665['clone'](),_0x5651fc=this[_0x193592(0x5d7)]=_0xab3665[_0x193592(0x24d)](),_0x85f3ca=_0x14cb70[_0x193592(0x5b2)],_0x5cd86c=_0x5651fc[_0x193592(0x5b2)],_0x3e5049=0x0;_0x3e5049<_0x398494;_0x3e5049++)_0x85f3ca[_0x3e5049]^=0x5c5c5c5c,_0x5cd86c[_0x3e5049]^=0x36363636;_0x14cb70[_0x193592(0x25b)]=_0x5651fc[_0x193592(0x25b)]=_0xff7b15,this[_0x193592(0x2d2)]();},'reset':function(){const _0x120160=_0x43c701;var _0x448e9f=this[_0x120160(0x3c3)];_0x448e9f['reset'](),_0x448e9f['update'](this['_iKey']);},'update':function(_0x5f0cc1){const _0x5a84dc=_0x43c701;return this[_0x5a84dc(0x3c3)][_0x5a84dc(0x296)](_0x5f0cc1),this;},'finalize':function(_0x629260){const _0x38e82a=_0x43c701;var _0x4a2635=this[_0x38e82a(0x3c3)],_0x4e9087=_0x4a2635[_0x38e82a(0x3db)](_0x629260);_0x4a2635[_0x38e82a(0x2d2)]();var _0x2c3346=_0x4a2635['finalize'](this[_0x38e82a(0x2d4)][_0x38e82a(0x24d)]()['concat'](_0x4e9087));return _0x2c3346;}});}());}));}(zt)),zt[_0x41df07(0x4a2)];}var ti;function Fi(){const _0x40b1a2=_0x3f2ec9;return ti||(ti=0x1,function(_0x22fdb7,_0x392f32){(function(_0x28558c,_0xf707ee,_0x1c9a21){_0x22fdb7['exports']=_0xf707ee(ue(),Va(),Ga());}(Z,function(_0x487219){return(function(){const _0x798bbe=_0x1414;var _0x2eca73=_0x487219,_0x5afd26=_0x2eca73[_0x798bbe(0x40b)],_0x24fba0=_0x5afd26[_0x798bbe(0x2d1)],_0x4f116a=_0x5afd26[_0x798bbe(0x3e7)],_0x220c79=_0x2eca73['algo'],_0x5e1c18=_0x220c79[_0x798bbe(0x213)],_0x295795=_0x220c79[_0x798bbe(0x2ef)]=_0x24fba0[_0x798bbe(0x2e0)]({'cfg':_0x24fba0[_0x798bbe(0x2e0)]({'keySize':0x80/0x20,'hasher':_0x5e1c18,'iterations':0x1}),'init':function(_0x1bbfaf){const _0x5a897b=_0x798bbe;this['cfg']=this[_0x5a897b(0x429)][_0x5a897b(0x2e0)](_0x1bbfaf);},'compute':function(_0x608a93,_0x449762){const _0x4d63fe=_0x798bbe;for(var _0x1dc483,_0x51afff=this[_0x4d63fe(0x429)],_0x42c353=_0x51afff[_0x4d63fe(0x267)][_0x4d63fe(0x3fd)](),_0x4fae82=_0x4f116a[_0x4d63fe(0x3fd)](),_0x3aacc5=_0x4fae82['words'],_0x16ed91=_0x51afff[_0x4d63fe(0x245)],_0x41a191=_0x51afff['iterations'];_0x3aacc5[_0x4d63fe(0x3a7)]<_0x16ed91;){_0x1dc483&&_0x42c353[_0x4d63fe(0x296)](_0x1dc483),_0x1dc483=_0x42c353[_0x4d63fe(0x296)](_0x608a93)[_0x4d63fe(0x3db)](_0x449762),_0x42c353[_0x4d63fe(0x2d2)]();for(var _0x5804d6=0x1;_0x5804d6<_0x41a191;_0x5804d6++)_0x1dc483=_0x42c353[_0x4d63fe(0x3db)](_0x1dc483),_0x42c353[_0x4d63fe(0x2d2)]();_0x4fae82[_0x4d63fe(0x448)](_0x1dc483);}return _0x4fae82[_0x4d63fe(0x25b)]=_0x16ed91*0x4,_0x4fae82;}});_0x2eca73[_0x798bbe(0x2ef)]=function(_0x1c17e2,_0x5fad91,_0x5d9c49){const _0x25f53e=_0x798bbe;return _0x295795[_0x25f53e(0x3fd)](_0x5d9c49)[_0x25f53e(0x486)](_0x1c17e2,_0x5fad91);};}()),_0x487219['EvpKDF'];}));}(Yt)),Yt[_0x40b1a2(0x4a2)];}var qt={'exports':{}},si;function Vi(){const _0x5e91f4=_0x3f2ec9;return si||(si=0x1,function(_0x288edb,_0x30771c){(function(_0x175dae,_0x357ce5,_0x402b9d){const _0x45df0e=_0x1414;_0x288edb[_0x45df0e(0x4a2)]=_0x357ce5(ue(),Fi());}(Z,function(_0x20c94a){const _0x34cd01=_0x1414;_0x20c94a['lib'][_0x34cd01(0x59e)]||function(_0x3c3716){const _0x491638=_0x34cd01;var _0x2be3c0=_0x20c94a,_0x4fdd69=_0x2be3c0[_0x491638(0x40b)],_0x5d1056=_0x4fdd69['Base'],_0x2d4359=_0x4fdd69['WordArray'],_0x4fbac9=_0x4fdd69[_0x491638(0x303)],_0x53a1ce=_0x2be3c0['enc'];_0x53a1ce[_0x491638(0x4b7)];var _0x2a66c3=_0x53a1ce[_0x491638(0x2cb)],_0x33d39f=_0x2be3c0[_0x491638(0x33b)],_0x2730a8=_0x33d39f['EvpKDF'],_0x1e313c=_0x4fdd69[_0x491638(0x59e)]=_0x4fbac9[_0x491638(0x2e0)]({'cfg':_0x5d1056[_0x491638(0x2e0)](),'createEncryptor':function(_0x17aee2,_0x5325ef){const _0x1e622b=_0x491638;return this[_0x1e622b(0x3fd)](this[_0x1e622b(0x4d9)],_0x17aee2,_0x5325ef);},'createDecryptor':function(_0x1c9511,_0x7ee14e){const _0x5abcde=_0x491638;return this[_0x5abcde(0x3fd)](this[_0x5abcde(0x49d)],_0x1c9511,_0x7ee14e);},'init':function(_0x1e7af7,_0x3655c1,_0x426588){const _0x40f305=_0x491638;this[_0x40f305(0x429)]=this[_0x40f305(0x429)]['extend'](_0x426588),this[_0x40f305(0x1d3)]=_0x1e7af7,this[_0x40f305(0x46a)]=_0x3655c1,this[_0x40f305(0x2d2)]();},'reset':function(){const _0x1cbe25=_0x491638;_0x4fbac9[_0x1cbe25(0x2d2)][_0x1cbe25(0x570)](this),this['_doReset']();},'process':function(_0x3b4521){const _0x11e9b6=_0x491638;return this['_append'](_0x3b4521),this[_0x11e9b6(0x53f)]();},'finalize':function(_0x5976bd){const _0x45cae1=_0x491638;_0x5976bd&&this[_0x45cae1(0x3dd)](_0x5976bd);var _0x1876b2=this['_doFinalize']();return _0x1876b2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa62546(_0x4666b1){const _0xd94f73=_0x1414;return typeof _0x4666b1==_0xd94f73(0x506)?_0x215ac1:_0x29db89;}return function(_0x40c824){return{'encrypt':function(_0x287909,_0x17283d,_0x2258fd){const _0x59e898=_0x1414;return _0xa62546(_0x17283d)[_0x59e898(0x2e3)](_0x40c824,_0x287909,_0x17283d,_0x2258fd);},'decrypt':function(_0x4288f9,_0x6d1b25,_0x5317fb){const _0x146250=_0x1414;return _0xa62546(_0x6d1b25)[_0x146250(0x4e5)](_0x40c824,_0x4288f9,_0x6d1b25,_0x5317fb);}};};}())});_0x4fdd69[_0x491638(0x4c2)]=_0x1e313c[_0x491638(0x2e0)]({'_doFinalize':function(){const _0x1a254c=_0x491638;var _0x14dbc5=this[_0x1a254c(0x53f)](!0x0);return _0x14dbc5;},'blockSize':0x1});var _0x52865d=_0x2be3c0['mode']={},_0x4ca678=_0x4fdd69[_0x491638(0x297)]=_0x5d1056[_0x491638(0x2e0)]({'createEncryptor':function(_0x3e7562,_0x5555b8){const _0x4ac592=_0x491638;return this[_0x4ac592(0x40d)][_0x4ac592(0x3fd)](_0x3e7562,_0x5555b8);},'createDecryptor':function(_0x26a0fe,_0x3a633b){const _0x42a816=_0x491638;return this[_0x42a816(0x1ec)][_0x42a816(0x3fd)](_0x26a0fe,_0x3a633b);},'init':function(_0x569b20,_0x1f2e42){const _0x505671=_0x491638;this[_0x505671(0x598)]=_0x569b20,this[_0x505671(0x320)]=_0x1f2e42;}}),_0x307838=_0x52865d[_0x491638(0x45d)]=(function(){const _0x8f8f60=_0x491638;var _0x8ed7e9=_0x4ca678['extend']();_0x8ed7e9[_0x8f8f60(0x40d)]=_0x8ed7e9['extend']({'processBlock':function(_0x142ba6,_0x2c465c){const _0x4c81c3=_0x8f8f60;var _0x5ed322=this[_0x4c81c3(0x598)],_0xdef98=_0x5ed322[_0x4c81c3(0x5cb)];_0x4ff6d1[_0x4c81c3(0x570)](this,_0x142ba6,_0x2c465c,_0xdef98),_0x5ed322[_0x4c81c3(0x42e)](_0x142ba6,_0x2c465c),this[_0x4c81c3(0x46e)]=_0x142ba6[_0x4c81c3(0x43e)](_0x2c465c,_0x2c465c+_0xdef98);}}),_0x8ed7e9[_0x8f8f60(0x1ec)]=_0x8ed7e9[_0x8f8f60(0x2e0)]({'processBlock':function(_0x2b40d3,_0xe0eab6){const _0x3644a5=_0x8f8f60;var _0x8807f4=this[_0x3644a5(0x598)],_0xb70f88=_0x8807f4['blockSize'],_0x38d8bb=_0x2b40d3[_0x3644a5(0x43e)](_0xe0eab6,_0xe0eab6+_0xb70f88);_0x8807f4[_0x3644a5(0x3d6)](_0x2b40d3,_0xe0eab6),_0x4ff6d1[_0x3644a5(0x570)](this,_0x2b40d3,_0xe0eab6,_0xb70f88),this[_0x3644a5(0x46e)]=_0x38d8bb;}});function _0x4ff6d1(_0x45bc37,_0x5b00b5,_0x27ae5f){const _0x319e05=_0x8f8f60;var _0x45f475,_0x1cbbec=this[_0x319e05(0x320)];_0x1cbbec?(_0x45f475=_0x1cbbec,this['_iv']=_0x3c3716):_0x45f475=this[_0x319e05(0x46e)];for(var _0x2b820f=0x0;_0x2b820f<_0x27ae5f;_0x2b820f++)_0x45bc37[_0x5b00b5+_0x2b820f]^=_0x45f475[_0x2b820f];}return _0x8ed7e9;}()),_0x306123=_0x2be3c0[_0x491638(0x515)]={},_0x34c575=_0x306123[_0x491638(0x339)]={'pad':function(_0x383dc8,_0x40a1d7){const _0x2d953d=_0x491638;for(var _0x1d6b5e=_0x40a1d7*0x4,_0xff6340=_0x1d6b5e-_0x383dc8[_0x2d953d(0x25b)]%_0x1d6b5e,_0x7754b9=_0xff6340<<0x18|_0xff6340<<0x10|_0xff6340<<0x8|_0xff6340,_0x30dbd5=[],_0x397e19=0x0;_0x397e19<_0xff6340;_0x397e19+=0x4)_0x30dbd5[_0x2d953d(0x496)](_0x7754b9);var _0x5ff14a=_0x2d4359[_0x2d953d(0x3fd)](_0x30dbd5,_0xff6340);_0x383dc8['concat'](_0x5ff14a);},'unpad':function(_0xde53a7){const _0x3b8baa=_0x491638;var _0x2f52d6=_0xde53a7[_0x3b8baa(0x5b2)][_0xde53a7[_0x3b8baa(0x25b)]-0x1>>>0x2]&0xff;_0xde53a7['sigBytes']-=_0x2f52d6;}};_0x4fdd69['BlockCipher']=_0x1e313c['extend']({'cfg':_0x1e313c[_0x491638(0x429)]['extend']({'mode':_0x307838,'padding':_0x34c575}),'reset':function(){const _0x55c6f2=_0x491638;var _0x3003f5;_0x1e313c[_0x55c6f2(0x2d2)]['call'](this);var _0x5d3ff3=this[_0x55c6f2(0x429)],_0x4de140=_0x5d3ff3['iv'],_0x27cde5=_0x5d3ff3[_0x55c6f2(0x22a)];this[_0x55c6f2(0x1d3)]==this[_0x55c6f2(0x4d9)]?_0x3003f5=_0x27cde5[_0x55c6f2(0x402)]:(_0x3003f5=_0x27cde5['createDecryptor'],this['_minBufferSize']=0x1),this[_0x55c6f2(0x24e)]&&this[_0x55c6f2(0x24e)][_0x55c6f2(0x552)]==_0x3003f5?this[_0x55c6f2(0x24e)][_0x55c6f2(0x282)](this,_0x4de140&&_0x4de140[_0x55c6f2(0x5b2)]):(this[_0x55c6f2(0x24e)]=_0x3003f5['call'](_0x27cde5,this,_0x4de140&&_0x4de140[_0x55c6f2(0x5b2)]),this[_0x55c6f2(0x24e)]['__creator']=_0x3003f5);},'_doProcessBlock':function(_0x4f55b7,_0x2ef061){const _0x596cfa=_0x491638;this[_0x596cfa(0x24e)][_0x596cfa(0x31e)](_0x4f55b7,_0x2ef061);},'_doFinalize':function(){const _0x59953c=_0x491638;var _0x524175,_0x4bc05d=this['cfg'][_0x59953c(0x51d)];return this[_0x59953c(0x1d3)]==this[_0x59953c(0x4d9)]?(_0x4bc05d[_0x59953c(0x515)](this[_0x59953c(0x31a)],this[_0x59953c(0x5cb)]),_0x524175=this[_0x59953c(0x53f)](!0x0)):(_0x524175=this[_0x59953c(0x53f)](!0x0),_0x4bc05d['unpad'](_0x524175)),_0x524175;},'blockSize':0x80/0x20});var _0x38702d=_0x4fdd69['CipherParams']=_0x5d1056[_0x491638(0x2e0)]({'init':function(_0xdda199){this['mixIn'](_0xdda199);},'toString':function(_0x521636){const _0x497a18=_0x491638;return(_0x521636||this[_0x497a18(0x3b0)])[_0x497a18(0x5a1)](this);}}),_0x24cdc9=_0x2be3c0[_0x491638(0x1c7)]={},_0x9bb996=_0x24cdc9[_0x491638(0x439)]={'stringify':function(_0x1c041a){const _0x50cb2d=_0x491638;var _0x4a0b1e,_0x26b589=_0x1c041a[_0x50cb2d(0x5d4)],_0x4e74c6=_0x1c041a[_0x50cb2d(0x221)];return _0x4e74c6?_0x4a0b1e=_0x2d4359['create']([0x53616c74,0x65645f5f])['concat'](_0x4e74c6)['concat'](_0x26b589):_0x4a0b1e=_0x26b589,_0x4a0b1e['toString'](_0x2a66c3);},'parse':function(_0x222802){const _0x58eba9=_0x491638;var _0x152421,_0x41bd68=_0x2a66c3['parse'](_0x222802),_0x1fd0a8=_0x41bd68['words'];return _0x1fd0a8[0x0]==0x53616c74&&_0x1fd0a8[0x1]==0x65645f5f&&(_0x152421=_0x2d4359[_0x58eba9(0x3fd)](_0x1fd0a8['slice'](0x2,0x4)),_0x1fd0a8[_0x58eba9(0x508)](0x0,0x4),_0x41bd68[_0x58eba9(0x25b)]-=0x10),_0x38702d[_0x58eba9(0x3fd)]({'ciphertext':_0x41bd68,'salt':_0x152421});}},_0x29db89=_0x4fdd69['SerializableCipher']=_0x5d1056['extend']({'cfg':_0x5d1056[_0x491638(0x2e0)]({'format':_0x9bb996}),'encrypt':function(_0x184c65,_0x34f0ca,_0x2f3053,_0x13912d){const _0x5039f2=_0x491638;_0x13912d=this[_0x5039f2(0x429)]['extend'](_0x13912d);var _0x4c39da=_0x184c65[_0x5039f2(0x402)](_0x2f3053,_0x13912d),_0x6bdecc=_0x4c39da[_0x5039f2(0x3db)](_0x34f0ca),_0x1c0f09=_0x4c39da[_0x5039f2(0x429)];return _0x38702d['create']({'ciphertext':_0x6bdecc,'key':_0x2f3053,'iv':_0x1c0f09['iv'],'algorithm':_0x184c65,'mode':_0x1c0f09[_0x5039f2(0x22a)],'padding':_0x1c0f09['padding'],'blockSize':_0x184c65[_0x5039f2(0x5cb)],'formatter':_0x13912d[_0x5039f2(0x1c7)]});},'decrypt':function(_0x2c615e,_0x29e709,_0x4fbf35,_0x2c4bd7){const _0x275038=_0x491638;_0x2c4bd7=this[_0x275038(0x429)][_0x275038(0x2e0)](_0x2c4bd7),_0x29e709=this['_parse'](_0x29e709,_0x2c4bd7[_0x275038(0x1c7)]);var _0xf32bbc=_0x2c615e[_0x275038(0x1f6)](_0x4fbf35,_0x2c4bd7)['finalize'](_0x29e709[_0x275038(0x5d4)]);return _0xf32bbc;},'_parse':function(_0x120660,_0x4d23ff){return typeof _0x120660=='string'?_0x4d23ff['parse'](_0x120660,this):_0x120660;}}),_0x2fafec=_0x2be3c0[_0x491638(0x45c)]={},_0x7c9b21=_0x2fafec[_0x491638(0x439)]={'execute':function(_0x572541,_0x4dac93,_0x1354cd,_0x1676d7,_0x1e091e){const _0x2f7788=_0x491638;if(_0x1676d7||(_0x1676d7=_0x2d4359[_0x2f7788(0x35b)](0x40/0x8)),_0x1e091e)var _0x481437=_0x2730a8[_0x2f7788(0x3fd)]({'keySize':_0x4dac93+_0x1354cd,'hasher':_0x1e091e})[_0x2f7788(0x486)](_0x572541,_0x1676d7);else var _0x481437=_0x2730a8['create']({'keySize':_0x4dac93+_0x1354cd})[_0x2f7788(0x486)](_0x572541,_0x1676d7);var _0x12ad76=_0x2d4359[_0x2f7788(0x3fd)](_0x481437[_0x2f7788(0x5b2)][_0x2f7788(0x43e)](_0x4dac93),_0x1354cd*0x4);return _0x481437[_0x2f7788(0x25b)]=_0x4dac93*0x4,_0x38702d[_0x2f7788(0x3fd)]({'key':_0x481437,'iv':_0x12ad76,'salt':_0x1676d7});}},_0x215ac1=_0x4fdd69[_0x491638(0x483)]=_0x29db89[_0x491638(0x2e0)]({'cfg':_0x29db89['cfg'][_0x491638(0x2e0)]({'kdf':_0x7c9b21}),'encrypt':function(_0x4cdbae,_0x2f2979,_0x16e2ae,_0x4e7459){const _0x2df160=_0x491638;_0x4e7459=this[_0x2df160(0x429)]['extend'](_0x4e7459);var _0x502b33=_0x4e7459[_0x2df160(0x45c)]['execute'](_0x16e2ae,_0x4cdbae[_0x2df160(0x245)],_0x4cdbae[_0x2df160(0x354)],_0x4e7459[_0x2df160(0x221)],_0x4e7459[_0x2df160(0x267)]);_0x4e7459['iv']=_0x502b33['iv'];var _0x26a855=_0x29db89[_0x2df160(0x2e3)][_0x2df160(0x570)](this,_0x4cdbae,_0x2f2979,_0x502b33[_0x2df160(0x425)],_0x4e7459);return _0x26a855[_0x2df160(0x45a)](_0x502b33),_0x26a855;},'decrypt':function(_0x1c65c9,_0x546939,_0x3f4452,_0x5daae3){const _0x35c5d3=_0x491638;_0x5daae3=this[_0x35c5d3(0x429)][_0x35c5d3(0x2e0)](_0x5daae3),_0x546939=this['_parse'](_0x546939,_0x5daae3[_0x35c5d3(0x1c7)]);var _0x9cc6f6=_0x5daae3[_0x35c5d3(0x45c)]['execute'](_0x3f4452,_0x1c65c9['keySize'],_0x1c65c9[_0x35c5d3(0x354)],_0x546939[_0x35c5d3(0x221)],_0x5daae3[_0x35c5d3(0x267)]);_0x5daae3['iv']=_0x9cc6f6['iv'];var _0x380c34=_0x29db89[_0x35c5d3(0x4e5)][_0x35c5d3(0x570)](this,_0x1c65c9,_0x546939,_0x9cc6f6[_0x35c5d3(0x425)],_0x5daae3);return _0x380c34;}});}();}));}(qt)),qt[_0x5e91f4(0x4a2)];}(function(_0xb27875,_0x181d42){(function(_0x5385b5,_0x132134,_0x4586d4){_0xb27875['exports']=_0x132134(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x4b71e1){const _0x1f0896=_0x1414;return(function(){const _0x385926=_0x1414;var _0x12513c=_0x4b71e1,_0x2335b8=_0x12513c['lib'],_0xb3d8c9=_0x2335b8[_0x385926(0x58f)],_0x3f0eae=_0x12513c['algo'],_0x2eb360=[],_0x2825ad=[],_0x1b6ed0=[],_0x29b9e7=[],_0x1da067=[],_0xd1ebbf=[],_0x896173=[],_0x28fb45=[],_0x41257d=[],_0x27ec7c=[];(function(){for(var _0x3d3188=[],_0x215c96=0x0;_0x215c96<0x100;_0x215c96++)_0x215c96<0x80?_0x3d3188[_0x215c96]=_0x215c96<<0x1:_0x3d3188[_0x215c96]=_0x215c96<<0x1^0x11b;for(var _0x2556c1=0x0,_0x191626=0x0,_0x215c96=0x0;_0x215c96<0x100;_0x215c96++){var _0x1092fa=_0x191626^_0x191626<<0x1^_0x191626<<0x2^_0x191626<<0x3^_0x191626<<0x4;_0x1092fa=_0x1092fa>>>0x8^_0x1092fa&0xff^0x63,_0x2eb360[_0x2556c1]=_0x1092fa,_0x2825ad[_0x1092fa]=_0x2556c1;var _0x2785c2=_0x3d3188[_0x2556c1],_0x53de01=_0x3d3188[_0x2785c2],_0x1dc7e0=_0x3d3188[_0x53de01],_0x36bfb5=_0x3d3188[_0x1092fa]*0x101^_0x1092fa*0x1010100;_0x1b6ed0[_0x2556c1]=_0x36bfb5<<0x18|_0x36bfb5>>>0x8,_0x29b9e7[_0x2556c1]=_0x36bfb5<<0x10|_0x36bfb5>>>0x10,_0x1da067[_0x2556c1]=_0x36bfb5<<0x8|_0x36bfb5>>>0x18,_0xd1ebbf[_0x2556c1]=_0x36bfb5;var _0x36bfb5=_0x1dc7e0*0x1010101^_0x53de01*0x10001^_0x2785c2*0x101^_0x2556c1*0x1010100;_0x896173[_0x1092fa]=_0x36bfb5<<0x18|_0x36bfb5>>>0x8,_0x28fb45[_0x1092fa]=_0x36bfb5<<0x10|_0x36bfb5>>>0x10,_0x41257d[_0x1092fa]=_0x36bfb5<<0x8|_0x36bfb5>>>0x18,_0x27ec7c[_0x1092fa]=_0x36bfb5,_0x2556c1?(_0x2556c1=_0x2785c2^_0x3d3188[_0x3d3188[_0x3d3188[_0x1dc7e0^_0x2785c2]]],_0x191626^=_0x3d3188[_0x3d3188[_0x191626]]):_0x2556c1=_0x191626=0x1;}}());var _0xa06014=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x229f8e=_0x3f0eae[_0x385926(0x587)]=_0xb3d8c9['extend']({'_doReset':function(){const _0x4560a2=_0x385926;var _0x5aeb23;if(!(this[_0x4560a2(0x43c)]&&this[_0x4560a2(0x1d9)]===this[_0x4560a2(0x46a)])){for(var _0x39a96b=this[_0x4560a2(0x1d9)]=this[_0x4560a2(0x46a)],_0x244889=_0x39a96b[_0x4560a2(0x5b2)],_0x23d6e7=_0x39a96b[_0x4560a2(0x25b)]/0x4,_0x19132f=this[_0x4560a2(0x43c)]=_0x23d6e7+0x6,_0x2b9c2f=(_0x19132f+0x1)*0x4,_0x3f2693=this[_0x4560a2(0x41f)]=[],_0x41a3e1=0x0;_0x41a3e1<_0x2b9c2f;_0x41a3e1++)_0x41a3e1<_0x23d6e7?_0x3f2693[_0x41a3e1]=_0x244889[_0x41a3e1]:(_0x5aeb23=_0x3f2693[_0x41a3e1-0x1],_0x41a3e1%_0x23d6e7?_0x23d6e7>0x6&&_0x41a3e1%_0x23d6e7==0x4&&(_0x5aeb23=_0x2eb360[_0x5aeb23>>>0x18]<<0x18|_0x2eb360[_0x5aeb23>>>0x10&0xff]<<0x10|_0x2eb360[_0x5aeb23>>>0x8&0xff]<<0x8|_0x2eb360[_0x5aeb23&0xff]):(_0x5aeb23=_0x5aeb23<<0x8|_0x5aeb23>>>0x18,_0x5aeb23=_0x2eb360[_0x5aeb23>>>0x18]<<0x18|_0x2eb360[_0x5aeb23>>>0x10&0xff]<<0x10|_0x2eb360[_0x5aeb23>>>0x8&0xff]<<0x8|_0x2eb360[_0x5aeb23&0xff],_0x5aeb23^=_0xa06014[_0x41a3e1/_0x23d6e7|0x0]<<0x18),_0x3f2693[_0x41a3e1]=_0x3f2693[_0x41a3e1-_0x23d6e7]^_0x5aeb23);for(var _0x1d6af6=this[_0x4560a2(0x545)]=[],_0x16c70a=0x0;_0x16c70a<_0x2b9c2f;_0x16c70a++){var _0x41a3e1=_0x2b9c2f-_0x16c70a;if(_0x16c70a%0x4)var _0x5aeb23=_0x3f2693[_0x41a3e1];else var _0x5aeb23=_0x3f2693[_0x41a3e1-0x4];_0x16c70a<0x4||_0x41a3e1<=0x4?_0x1d6af6[_0x16c70a]=_0x5aeb23:_0x1d6af6[_0x16c70a]=_0x896173[_0x2eb360[_0x5aeb23>>>0x18]]^_0x28fb45[_0x2eb360[_0x5aeb23>>>0x10&0xff]]^_0x41257d[_0x2eb360[_0x5aeb23>>>0x8&0xff]]^_0x27ec7c[_0x2eb360[_0x5aeb23&0xff]];}}},'encryptBlock':function(_0x3e9d6c,_0x1cda01){this['_doCryptBlock'](_0x3e9d6c,_0x1cda01,this['_keySchedule'],_0x1b6ed0,_0x29b9e7,_0x1da067,_0xd1ebbf,_0x2eb360);},'decryptBlock':function(_0x3f4588,_0xf209e0){const _0x24df23=_0x385926;var _0x32e62f=_0x3f4588[_0xf209e0+0x1];_0x3f4588[_0xf209e0+0x1]=_0x3f4588[_0xf209e0+0x3],_0x3f4588[_0xf209e0+0x3]=_0x32e62f,this[_0x24df23(0x554)](_0x3f4588,_0xf209e0,this[_0x24df23(0x545)],_0x896173,_0x28fb45,_0x41257d,_0x27ec7c,_0x2825ad);var _0x32e62f=_0x3f4588[_0xf209e0+0x1];_0x3f4588[_0xf209e0+0x1]=_0x3f4588[_0xf209e0+0x3],_0x3f4588[_0xf209e0+0x3]=_0x32e62f;},'_doCryptBlock':function(_0x521509,_0x5ab48f,_0x225db3,_0x44ed8f,_0x4181c0,_0x1bc741,_0x10166c,_0x4b5242){const _0x40336e=_0x385926;for(var _0x2755e8=this[_0x40336e(0x43c)],_0x117cd6=_0x521509[_0x5ab48f]^_0x225db3[0x0],_0x1c443e=_0x521509[_0x5ab48f+0x1]^_0x225db3[0x1],_0x17b536=_0x521509[_0x5ab48f+0x2]^_0x225db3[0x2],_0x1d174b=_0x521509[_0x5ab48f+0x3]^_0x225db3[0x3],_0x4b24f9=0x4,_0x432131=0x1;_0x432131<_0x2755e8;_0x432131++){var _0x6384c1=_0x44ed8f[_0x117cd6>>>0x18]^_0x4181c0[_0x1c443e>>>0x10&0xff]^_0x1bc741[_0x17b536>>>0x8&0xff]^_0x10166c[_0x1d174b&0xff]^_0x225db3[_0x4b24f9++],_0x920981=_0x44ed8f[_0x1c443e>>>0x18]^_0x4181c0[_0x17b536>>>0x10&0xff]^_0x1bc741[_0x1d174b>>>0x8&0xff]^_0x10166c[_0x117cd6&0xff]^_0x225db3[_0x4b24f9++],_0x2683da=_0x44ed8f[_0x17b536>>>0x18]^_0x4181c0[_0x1d174b>>>0x10&0xff]^_0x1bc741[_0x117cd6>>>0x8&0xff]^_0x10166c[_0x1c443e&0xff]^_0x225db3[_0x4b24f9++],_0x5d0a8b=_0x44ed8f[_0x1d174b>>>0x18]^_0x4181c0[_0x117cd6>>>0x10&0xff]^_0x1bc741[_0x1c443e>>>0x8&0xff]^_0x10166c[_0x17b536&0xff]^_0x225db3[_0x4b24f9++];_0x117cd6=_0x6384c1,_0x1c443e=_0x920981,_0x17b536=_0x2683da,_0x1d174b=_0x5d0a8b;}var _0x6384c1=(_0x4b5242[_0x117cd6>>>0x18]<<0x18|_0x4b5242[_0x1c443e>>>0x10&0xff]<<0x10|_0x4b5242[_0x17b536>>>0x8&0xff]<<0x8|_0x4b5242[_0x1d174b&0xff])^_0x225db3[_0x4b24f9++],_0x920981=(_0x4b5242[_0x1c443e>>>0x18]<<0x18|_0x4b5242[_0x17b536>>>0x10&0xff]<<0x10|_0x4b5242[_0x1d174b>>>0x8&0xff]<<0x8|_0x4b5242[_0x117cd6&0xff])^_0x225db3[_0x4b24f9++],_0x2683da=(_0x4b5242[_0x17b536>>>0x18]<<0x18|_0x4b5242[_0x1d174b>>>0x10&0xff]<<0x10|_0x4b5242[_0x117cd6>>>0x8&0xff]<<0x8|_0x4b5242[_0x1c443e&0xff])^_0x225db3[_0x4b24f9++],_0x5d0a8b=(_0x4b5242[_0x1d174b>>>0x18]<<0x18|_0x4b5242[_0x117cd6>>>0x10&0xff]<<0x10|_0x4b5242[_0x1c443e>>>0x8&0xff]<<0x8|_0x4b5242[_0x17b536&0xff])^_0x225db3[_0x4b24f9++];_0x521509[_0x5ab48f]=_0x6384c1,_0x521509[_0x5ab48f+0x1]=_0x920981,_0x521509[_0x5ab48f+0x2]=_0x2683da,_0x521509[_0x5ab48f+0x3]=_0x5d0a8b;},'keySize':0x100/0x20});_0x12513c['AES']=_0xb3d8c9[_0x385926(0x47a)](_0x229f8e);}()),_0x4b71e1[_0x1f0896(0x587)];}));}(ki));var Ya=ki['exports'];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x2fd536,_0x328606){(function(_0x13a687,_0x16f4e5){const _0x51bc34=_0x1414;_0x2fd536[_0x51bc34(0x4a2)]=_0x16f4e5(ue());}(Z,function(_0xdd4375){const _0x49bf1e=_0x1414;return _0xdd4375[_0x49bf1e(0x410)]['Utf8'];}));}(Gi));var qa=Gi['exports'];const Xa=at(qa);var Yi={'exports':{}};(function(_0x394de8,_0x3c42b5){(function(_0x363cbc,_0x10d812){const _0x59c4f1=_0x1414;_0x394de8[_0x59c4f1(0x4a2)]=_0x10d812(ue());}(Z,function(_0x182a9f){const _0x17f590=_0x1414;return(function(){const _0x57da46=_0x1414;if(typeof ArrayBuffer==_0x57da46(0x416)){var _0x278630=_0x182a9f,_0x85966c=_0x278630['lib'],_0x3c132c=_0x85966c['WordArray'],_0x2061dd=_0x3c132c[_0x57da46(0x282)],_0x54b03f=_0x3c132c[_0x57da46(0x282)]=function(_0x575b9f){const _0x2b84ad=_0x57da46;if(_0x575b9f instanceof ArrayBuffer&&(_0x575b9f=new Uint8Array(_0x575b9f)),(_0x575b9f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x575b9f instanceof Uint8ClampedArray||_0x575b9f instanceof Int16Array||_0x575b9f instanceof Uint16Array||_0x575b9f instanceof Int32Array||_0x575b9f instanceof Uint32Array||_0x575b9f instanceof Float32Array||_0x575b9f instanceof Float64Array)&&(_0x575b9f=new Uint8Array(_0x575b9f['buffer'],_0x575b9f[_0x2b84ad(0x261)],_0x575b9f[_0x2b84ad(0x28c)])),_0x575b9f instanceof Uint8Array){for(var _0x559791=_0x575b9f[_0x2b84ad(0x28c)],_0x945dff=[],_0x5abbf1=0x0;_0x5abbf1<_0x559791;_0x5abbf1++)_0x945dff[_0x5abbf1>>>0x2]|=_0x575b9f[_0x5abbf1]<<0x18-_0x5abbf1%0x4*0x8;_0x2061dd[_0x2b84ad(0x570)](this,_0x945dff,_0x559791);}else _0x2061dd[_0x2b84ad(0x437)](this,arguments);};_0x54b03f[_0x57da46(0x1e6)]=_0x3c132c;}}()),_0x182a9f[_0x17f590(0x40b)][_0x17f590(0x3e7)];}));}(Yi));var Ja=Yi[_0x3f2ec9(0x4a2)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x2fcce2,_0x45ba69){(function(_0x3bf477,_0x1a83af,_0x4d6bf6){_0x2fcce2['exports']=_0x1a83af(ue(),Vi());}(Z,function(_0x4c9415){const _0x126416=_0x1414;return _0x4c9415[_0x126416(0x515)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4c9415[_0x126416(0x515)]['NoPadding'];}));}(Ki));var Qa=Ki[_0x3f2ec9(0x4a2)];const ec=at(Qa);function tc(_0x361bd0,_0x88c9cb){const _0x289ccf=_0x3f2ec9,_0x4e3b80=_0x88c9cb-_0x361bd0[_0x289ccf(0x3a7)]%_0x88c9cb,_0x11dca2=String[_0x289ccf(0x45f)](_0x4e3b80)[_0x289ccf(0x494)](_0x4e3b80);return _0x361bd0+_0x11dca2;}function sc(_0x5c1689,_0x51fbde){const _0x2ec705=_0x3f2ec9,_0x30f922=Za['random'](0x10),_0x1ca782=tc(_0x5c1689,0x10),_0x52dd16=Ka[_0x2ec705(0x2e3)](Xa[_0x2ec705(0x224)](_0x1ca782),ii[_0x2ec705(0x224)](_0x51fbde),{'iv':_0x30f922,'padding':ec});return _0x30f922['concat'](_0x52dd16[_0x2ec705(0x5d4)])[_0x2ec705(0x5d5)](ii);}function ic(){const _0x10f823=_0x3f2ec9,_0x366041=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x10f823(0x529)];if(_0x366041){const _0x4f6ddc={'time':Math[_0x10f823(0x335)](Date[_0x10f823(0x54e)]()/0x3e8),'domain':location[_0x10f823(0x1da)]};return sc(JSON[_0x10f823(0x5a1)](_0x4f6ddc),_0x366041);}}var nc=Object['defineProperty'],rc=Object[_0x3f2ec9(0x318)],oc=(_0xd281dd,_0x12746d,_0x1f6a1e,_0x379201)=>{for(var _0x55f54c=_0x379201>0x1?void 0x0:_0x379201?rc(_0x12746d,_0x1f6a1e):_0x12746d,_0xa70e27=_0xd281dd['length']-0x1,_0x472698;_0xa70e27>=0x0;_0xa70e27--)(_0x472698=_0xd281dd[_0xa70e27])&&(_0x55f54c=(_0x379201?_0x472698(_0x12746d,_0x1f6a1e,_0x55f54c):_0x472698(_0x55f54c))||_0x55f54c);return _0x379201&&_0x55f54c&&nc(_0x12746d,_0x1f6a1e,_0x55f54c),_0x55f54c;},ac=(_0x530573,_0x45c350)=>(_0x53e633,_0x365271)=>_0x45c350(_0x53e633,_0x365271,_0x530573);let bt=class{constructor(_0x43cbbe){const _0x285f03=_0x3f2ec9;this['_httpService']=_0x43cbbe,this[_0x285f03(0x50a)]();}['_initRequestHeader'](){const _0x10fc21=_0x3f2ec9;this[_0x10fc21(0x2e2)][_0x10fc21(0x4e2)]({'interceptor':(_0x8f4596,_0x76b6dd)=>{const _0x38a250=_0x10fc21,_0x55285d=_0x8f4596[_0x38a250(0x343)],_0x1191a7=ic();return _0x1191a7&&_0x55285d[_0x38a250(0x250)](_0x38a250(0x2f4),_0x1191a7),_0x76b6dd(_0x8f4596);}});}};bt=oc([ac(0x0,_0x127ed5(_0x1d93b0))],bt);var cc=Object['defineProperty'],hc=Object[_0x3f2ec9(0x318)],lc=(_0x18b2db,_0x45f2a7,_0x40254e,_0x4b308a)=>{for(var _0x41fec9=_0x4b308a>0x1?void 0x0:_0x4b308a?hc(_0x45f2a7,_0x40254e):_0x45f2a7,_0x3fa13b=_0x18b2db['length']-0x1,_0x484d5c;_0x3fa13b>=0x0;_0x3fa13b--)(_0x484d5c=_0x18b2db[_0x3fa13b])&&(_0x41fec9=(_0x4b308a?_0x484d5c(_0x45f2a7,_0x40254e,_0x41fec9):_0x484d5c(_0x41fec9))||_0x41fec9);return _0x4b308a&&_0x41fec9&&cc(_0x45f2a7,_0x40254e,_0x41fec9),_0x41fec9;},Xt=(_0x2f2ec4,_0x4b7e3f)=>(_0x495a17,_0x4fcb72)=>_0x4b7e3f(_0x495a17,_0x4fcb72,_0x2f2ec4);const _c=[_0x3f2ec9(0x248),_0x3f2ec9(0x3be),_0x3f2ec9(0x1de),_0x3f2ec9(0x391),'image/bmp'],uc=0x5*0x400*0x400,dc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',fc=_0x3f2ec9(0x4c3),vc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',mc=_0x3f2ec9(0x477);let hs=class{constructor(_0x39b263,_0x4289ab,_0x381002){const _0xbdaf5f=_0x3f2ec9;g(this,_0xbdaf5f(0x1ef),0x0),g(this,_0xbdaf5f(0x3ba),new _0xf004ca()),g(this,_0xbdaf5f(0x39c),this[_0xbdaf5f(0x3ba)]),g(this,'_imageSourceCache',new Map()),(this[_0xbdaf5f(0x2e2)]=_0x39b263,this[_0xbdaf5f(0x5b4)]=_0x4289ab,this[_0xbdaf5f(0x590)]=_0x381002);}[_0x3f2ec9(0x52d)](_0x970e22){const _0x397211=_0x3f2ec9;this[_0x397211(0x1ef)]=_0x970e22,this['_change$']['next'](_0x970e22);}[_0x3f2ec9(0x2d0)](_0x4d6b1c,_0x18b38c){const _0x3d059a=_0x3f2ec9;if(_0x18b38c===_0x9e0632[_0x3d059a(0x478)]){const _0x1e3679=new Image();return _0x1e3679[_0x3d059a(0x2fa)]=_0x4d6b1c,_0x1e3679;}return this[_0x3d059a(0x20d)][_0x3d059a(0x333)](_0x4d6b1c);}[_0x3f2ec9(0x4cc)](_0x44edfb,_0x493c64,_0x2744ba){const _0x5de09c=_0x3f2ec9;_0x493c64===_0x9e0632[_0x5de09c(0x478)]||_0x2744ba==null||this['_imageSourceCache']['set'](_0x44edfb,_0x2744ba);}async['getImage'](_0x138150){const _0x3b661e=_0x3f2ec9;try{const _0x5e06a2=this[_0x3b661e(0x563)](this[_0x3b661e(0x420)](),''+_0x138150),_0x19cc42=(await this[_0x3b661e(0x2e2)]['get'](_0x5e06a2))['body'];if(_0x19cc42['error']&&_0x19cc42[_0x3b661e(0x3b5)][_0x3b661e(0x366)]===Ri['OK']){const _0x51955b=new URL(_0x19cc42['url'],this[_0x3b661e(0x5da)]())[_0x3b661e(0x5d5)]();return Promise[_0x3b661e(0x2ec)](_0x51955b);}return Promise[_0x3b661e(0x272)](_0x19cc42['error']);}catch(_0x39fe39){return Promise[_0x3b661e(0x272)](_0x39fe39);}}async['saveImage'](_0xbc0091){const _0x18905c=_0x3f2ec9;let _0x7c6b34='';if(!_c[_0x18905c(0x2bb)](_0xbc0091[_0x18905c(0x4e4)]))return this[_0x18905c(0x5cd)](),Promise[_0x18905c(0x272)](new Error(_0x4bc378[_0x18905c(0x57a)]));if(_0xbc0091[_0x18905c(0x258)]>uc)return this['_decreaseWaiting'](),Promise[_0x18905c(0x272)](new Error(_0x4bc378[_0x18905c(0x2e7)]));try{const _0x5645fc=new FormData();_0x5645fc[_0x18905c(0x28a)]('file',_0xbc0091);const _0x40bce6=this[_0x18905c(0x590)]['getFocusedUnit'](),_0x46da80=_0x40bce6==null?void 0x0:_0x40bce6[_0x18905c(0x461)]();if(!_0x46da80)throw new Error(_0x18905c(0x2fd));const _0x924360=this[_0x18905c(0x220)]()+_0x18905c(0x497)+_0xbc0091[_0x18905c(0x258)][_0x18905c(0x5d5)]()+_0x18905c(0x2c8)+yi[_0x18905c(0x3c8)]+_0x18905c(0x442)+encodeURIComponent(_0x46da80),_0x3dc315=await(await fetch(_0x924360,{'method':'POST','body':_0x5645fc}))['json']();if(typeof _0x3dc315[_0x18905c(0x495)]!='string')return this[_0x18905c(0x5cd)](),Promise['reject'](new Error(_0x4bc378['ERROR_IMAGE']));_0x7c6b34=_0x3dc315[_0x18905c(0x495)];}catch{return this[_0x18905c(0x5cd)](),Promise[_0x18905c(0x272)](new Error(_0x4bc378['ERROR_IMAGE']));}return new Promise((_0x342199,_0x1921ab)=>{const _0x286414=_0x18905c,_0xf1ea27=new FileReader();_0xf1ea27[_0x286414(0x2a5)](_0xbc0091),_0xf1ea27[_0x286414(0x581)]=_0x51ecc6=>{const _0x5e9f93=_0x286414;var _0x377d39;const _0x221cd2=(_0x377d39=_0x51ecc6[_0x5e9f93(0x2ad)])==null?void 0x0:_0x377d39[_0x5e9f93(0x38d)];if(_0x221cd2==null){this[_0x5e9f93(0x5cd)](),_0x1921ab(new Error(_0x4bc378[_0x5e9f93(0x23a)]));return;}const _0x1ba9df=_0x109dec[_0x5e9f93(0x280)](0x6);_0x342199({'imageId':_0x1ba9df,'imageSourceType':_0x9e0632[_0x5e9f93(0x3ca)],'source':_0x7c6b34,'base64Cache':_0x221cd2,'status':_0x4bc378[_0x5e9f93(0x459)]}),this[_0x5e9f93(0x5cd)]();};});}['_getUploadFileURL'](){const _0x5a9363=_0x3f2ec9;var _0x957eba,_0x519871;const _0xe3b516=this[_0x5a9363(0x5b4)][_0x5a9363(0x4d2)](dc),_0x3d412f=this[_0x5a9363(0x5b4)]['getConfig'](ie);return(_0x519871=(_0x957eba=_0x3d412f==null?void 0x0:_0x3d412f[_0x5a9363(0x41d)])!=null?_0x957eba:_0xe3b516)!=null?_0x519871:fc;}[_0x3f2ec9(0x420)](){const _0x5840fe=_0x3f2ec9;var _0x54f23c,_0x79f88b;const _0xccd022=this[_0x5840fe(0x5b4)][_0x5840fe(0x4d2)](vc),_0x58775a=this[_0x5840fe(0x5b4)][_0x5840fe(0x4d2)](ie);return(_0x79f88b=(_0x54f23c=_0x58775a==null?void 0x0:_0x58775a[_0x5840fe(0x5b5)])!=null?_0x54f23c:_0xccd022)!=null?_0x79f88b:mc;}[_0x3f2ec9(0x5da)](){const _0x5816fb=_0x3f2ec9;var _0x31ef62;const _0x39c5b6=this[_0x5816fb(0x5b4)]['getConfig'](ie);return(_0x31ef62=_0x39c5b6==null?void 0x0:_0x39c5b6[_0x5816fb(0x21c)])!=null?_0x31ef62:location['origin'];}['_replaceFileID'](_0x15a411,_0x232446){const _0x431b98=_0x3f2ec9;return _0x15a411[_0x431b98(0x3a8)]('{fileID}',_0x232446);}[_0x3f2ec9(0x5cd)](){const _0x2d88f9=_0x3f2ec9;this[_0x2d88f9(0x1ef)]-=0x1,this[_0x2d88f9(0x3ba)][_0x2d88f9(0x3f5)](this[_0x2d88f9(0x1ef)]);}};hs=lc([Xt(0x0,_0x127ed5(_0x1d93b0)),Xt(0x1,_0x5293d7),Xt(0x2,_0x127ed5(_0x4c4975))],hs);var pc=Object[_0x3f2ec9(0x323)],gc=Object[_0x3f2ec9(0x318)],Sc=(_0x4b8fe2,_0x2b057d,_0x3000fe,_0x2bb8c6)=>{const _0x189ff7=_0x3f2ec9;for(var _0x2eed73=_0x2bb8c6>0x1?void 0x0:_0x2bb8c6?gc(_0x2b057d,_0x3000fe):_0x2b057d,_0x585cca=_0x4b8fe2[_0x189ff7(0x3a7)]-0x1,_0x2e9e55;_0x585cca>=0x0;_0x585cca--)(_0x2e9e55=_0x4b8fe2[_0x585cca])&&(_0x2eed73=(_0x2bb8c6?_0x2e9e55(_0x2b057d,_0x3000fe,_0x2eed73):_0x2e9e55(_0x2eed73))||_0x2eed73);return _0x2bb8c6&&_0x2eed73&&pc(_0x2b057d,_0x3000fe,_0x2eed73),_0x2eed73;},Qe=(_0x5ba4f8,_0x24bd55)=>(_0x286705,_0x207d8c)=>_0x24bd55(_0x286705,_0x207d8c,_0x5ba4f8);let Tt=class extends _0x404743{constructor(_0x46dd82,_0x300578,_0xf6509b,_0x4ea9cb,_0x584254){const _0x22f439=_0x3f2ec9;super(),this[_0x22f439(0x469)]=_0x46dd82,this[_0x22f439(0x590)]=_0x300578,this[_0x22f439(0x2ff)]=_0xf6509b,this[_0x22f439(0x389)]=_0x4ea9cb,this[_0x22f439(0x311)]=_0x584254,this[_0x22f439(0x539)](),this[_0x22f439(0x241)]();}['_initCloseConn'](){const _0x5753d8=_0x3f2ec9,_0x27ddb2=async _0x44c6a1=>{const _0x1fc9d2=_0x1414;(await this['_collaborationSessionService']['requireSession'](_0x44c6a1))[_0x1fc9d2(0x34d)][_0x1fc9d2(0x3c4)](_0x2d77f8(_0x582303=>_0x582303[_0x1fc9d2(0x56b)]===_0x371f1e[_0x1fc9d2(0x4cf)]),_0x40998a(this[_0x1fc9d2(0x3e8)]))[_0x1fc9d2(0x27a)](_0x43f706=>{const _0x5d4306=_0x1fc9d2,_0x168b89=_0x43f706,{reason:_0x4d5fa9}=_0x168b89[_0x5d4306(0x399)];this[_0x5d4306(0x469)]['get'](_0x79bb7b)[_0x5d4306(0x59d)]({'type':_0x196a0e[_0x5d4306(0x2be)],'content':this['_localeService']['t'](_0x5d4306(0x29d))+'('+_0x4d5fa9+')'}),this[_0x5d4306(0x2ff)]['updatePermissionPoint'](new _0x4ea9fe(_0x44c6a1)['id'],!0x1),this['_collaborationSessionService'][_0x5d4306(0x370)](_0x44c6a1);});};_0x54a5bf(this[_0x5753d8(0x590)][_0x5753d8(0x57b)](_0x1a8690[_0x5753d8(0x54f)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1a8690[_0x5753d8(0x32a)]))[_0x5753d8(0x3c4)](_0x4f8f29(_0x299a91=>_0x299a91[_0x5753d8(0x461)]()),_0x2d77f8(_0x1775c0=>!_0x93faba(_0x1775c0)),_0x40998a(this[_0x5753d8(0x3e8)]))[_0x5753d8(0x27a)](_0x5df437=>{_0x27ddb2(_0x5df437);});}[_0x3f2ec9(0x539)](){const _0x1a0164=_0x3f2ec9,_0x48d6df=async _0x412899=>{const _0x3b6435=_0x1414;(await this[_0x3b6435(0x389)]['requireSession'](_0x412899))[_0x3b6435(0x34d)][_0x3b6435(0x3c4)](_0x2d77f8(_0x2b68f6=>_0x2b68f6['eventID']===_0x371f1e[_0x3b6435(0x5a7)]),_0x40998a(this[_0x3b6435(0x3e8)]))[_0x3b6435(0x27a)](_0x560cdd=>{const _0x2e8cd1=_0x3b6435,_0xdba9b8=_0x560cdd,{objectId:_0x4cf6c7}=_0xdba9b8[_0x2e8cd1(0x399)],_0x2770bd=this[_0x2e8cd1(0x469)][_0x2e8cd1(0x333)](_0x7d20a1);_0x4cf6c7===_0x412899?_0x2770bd['initWorkbookPermissionChange'](_0x412899):_0x2770bd[_0x2e8cd1(0x3f3)](_0x412899,_0x4cf6c7);});};_0x54a5bf(this[_0x1a0164(0x590)][_0x1a0164(0x57b)](_0x1a8690['UNIVER_SHEET']),this[_0x1a0164(0x590)][_0x1a0164(0x57b)](_0x1a8690[_0x1a0164(0x32a)]))[_0x1a0164(0x3c4)](_0x4f8f29(_0x1ff5db=>_0x1ff5db['getUnitId']()),_0x2d77f8(_0x123559=>!_0x93faba(_0x123559)),_0x40998a(this[_0x1a0164(0x3e8)]))[_0x1a0164(0x27a)](_0x3644cc=>{_0x48d6df(_0x3644cc);});}};Tt=Sc([Qe(0x0,_0x127ed5(_0x846a04)),Qe(0x1,_0x4c4975),Qe(0x2,_0x178a2e),Qe(0x3,_0x127ed5(Ae)),Qe(0x4,_0x127ed5(_0x4d6b84))],Tt);var Ic=Object['defineProperty'],Cc=Object['getOwnPropertyDescriptor'],Ec=(_0x274c4e,_0x2d01ea,_0x1103ca,_0x30881b)=>{for(var _0x347ce7=_0x30881b>0x1?void 0x0:_0x30881b?Cc(_0x2d01ea,_0x1103ca):_0x2d01ea,_0x21a7dc=_0x274c4e['length']-0x1,_0x177ae6;_0x21a7dc>=0x0;_0x21a7dc--)(_0x177ae6=_0x274c4e[_0x21a7dc])&&(_0x347ce7=(_0x30881b?_0x177ae6(_0x2d01ea,_0x1103ca,_0x347ce7):_0x177ae6(_0x347ce7))||_0x347ce7);return _0x30881b&&_0x347ce7&&Ic(_0x2d01ea,_0x1103ca,_0x347ce7),_0x347ce7;},ni=(_0x1827fb,_0x49c6e8)=>(_0x2ca9de,_0x203e1a)=>_0x49c6e8(_0x2ca9de,_0x203e1a,_0x1827fb);let ls=class{constructor(_0x5e3739,_0x5e1434){const _0x5b07c4=_0x3f2ec9;this[_0x5b07c4(0x5b4)]=_0x5e3739,this['_httpService']=_0x5e1434;}async[_0x3f2ec9(0x298)](_0x26efdc,_0x3a7a4d){const _0x38c708=_0x3f2ec9;var _0x282b88;const {unitID:_0x51411d,type:_0x207a78,revision:_0x503ff0=0x0}=_0x3a7a4d,_0x3368c0=this['_getSnapshotAPIPrefix']()+'/'+_0x207a78+_0x38c708(0x3d3)+_0x51411d+_0x38c708(0x347)+_0x503ff0,_0x24b8a2=(await this[_0x38c708(0x2e2)]['get'](_0x3368c0))['body'],_0x59fa9b=(_0x282b88=_0x24b8a2[_0x38c708(0x3c2)])==null?void 0x0:_0x282b88['workbook'];if(_0x59fa9b){const _0x4e8c8d=_0x59fa9b==null?void 0x0:_0x59fa9b[_0x38c708(0x440)],_0x5b0560=_0x1f0543[_0x38c708(0x58d)](_0x56d3fc(_0x4e8c8d));_0x59fa9b[_0x38c708(0x440)]=_0x5b0560,Object[_0x38c708(0x49a)](_0x59fa9b[_0x38c708(0x289)])['forEach'](([,_0x487e2d])=>{const _0x24a6d5=_0x38c708,_0xdf48f=_0x487e2d[_0x24a6d5(0x440)],_0x78d7ab=_0x1f0543[_0x24a6d5(0x58d)](_0x56d3fc(_0xdf48f));_0x487e2d[_0x24a6d5(0x440)]=_0x78d7ab;});}return _0x24b8a2;}async[_0x3f2ec9(0x502)](_0xa3236d,_0x4484e6){const _0x356487=_0x3f2ec9,{unitID:_0x26edd7,type:_0x2bbe34,blockID:_0x212263}=_0x4484e6,_0x14e99c=this['_getAPIPrefix']()+'/'+_0x2bbe34+_0x356487(0x3d3)+_0x26edd7+'/block/'+_0x212263;return(await this[_0x356487(0x2e2)][_0x356487(0x333)](_0x14e99c))[_0x356487(0x57e)];}async[_0x3f2ec9(0x550)](_0xbf8213,_0x4b97e6){const _0x2a43dd=_0x3f2ec9,{unitID:_0x3fd391,type:_0x4e9573,blockID:_0x42872e}=_0x4b97e6,_0x55522a=this[_0x2a43dd(0x4f9)]()+_0x2a43dd(0x5bf)+_0x4e9573+'/unit/'+_0x3fd391+_0x2a43dd(0x5bf)+_0x42872e;return(await this[_0x2a43dd(0x2e2)][_0x2a43dd(0x333)](_0x55522a))['body'];}async[_0x3f2ec9(0x3fb)](_0x3095a3,_0x1ff1ea){const _0x526a5a=_0x3f2ec9,{unitID:_0xbc6128,type:_0x2b702f,from:_0x361762,to:_0x498b24}=_0x1ff1ea,_0x17f30c=this[_0x526a5a(0x4f9)]()+'/'+_0x2b702f+_0x526a5a(0x3d3)+_0xbc6128+_0x526a5a(0x283)+_0x361762+'&to='+_0x498b24;return(await this['_httpService'][_0x526a5a(0x333)](_0x17f30c))['body'];}[_0x3f2ec9(0x43b)](){const _0x4643f4=_0x3f2ec9;var _0x4f110f;return(_0x4f110f=this[_0x4643f4(0x5b4)][_0x4643f4(0x4d2)](lr))!=null?_0x4f110f:this['_getAPIPrefix']();}[_0x3f2ec9(0x4f9)](){const _0x517e9c=_0x3f2ec9;var _0x2d14d9,_0x422da5;const _0x287f40=this['_configService'][_0x517e9c(0x4d2)](cr),_0x43e161=this[_0x517e9c(0x5b4)][_0x517e9c(0x4d2)](ie);return(_0x422da5=(_0x2d14d9=_0x43e161==null?void 0x0:_0x43e161[_0x517e9c(0x348)])!=null?_0x2d14d9:_0x287f40)!=null?_0x422da5:hr;}async['getResourcesRequest'](_0x7ae5c7,_0x1762d0){const _0x1df8a6=_0x3f2ec9,_0x3fea93=_0x1df8a6(0x306)+_0x1762d0[_0x1df8a6(0x4e4)]+_0x1df8a6(0x3d3)+_0x1762d0['unitID']+'/resources';return(await this[_0x1df8a6(0x2e2)][_0x1df8a6(0x333)](_0x3fea93,{'params':{'resourceId':JSON[_0x1df8a6(0x5a1)](_0x1762d0[_0x1df8a6(0x589)])}}))['body'];}['saveSnapshot'](){const _0x60d5f4=_0x3f2ec9;throw new Error(_0x60d5f4(0x504));}[_0x3f2ec9(0x58b)](){const _0xf1a0d3=_0x3f2ec9;throw new Error(_0xf1a0d3(0x504));}[_0x3f2ec9(0x42c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f2ec9(0x1ee)](){const _0x1596a9=_0x3f2ec9;throw new Error(_0x1596a9(0x504));}[_0x3f2ec9(0x1fa)](){const _0x382abc=_0x3f2ec9;throw new Error(_0x382abc(0x504));}};ls=Ec([ni(0x0,_0x5293d7),ni(0x1,_0x127ed5(_0x1d93b0))],ls);var bc=Object['defineProperty'],Tc=Object['getOwnPropertyDescriptor'],Rc=(_0x28ad08,_0x518a86,_0x134a32,_0x2b5caf)=>{const _0xebfe31=_0x3f2ec9;for(var _0x2c65d2=_0x2b5caf>0x1?void 0x0:_0x2b5caf?Tc(_0x518a86,_0x134a32):_0x518a86,_0x452ae4=_0x28ad08[_0xebfe31(0x3a7)]-0x1,_0x24ebf0;_0x452ae4>=0x0;_0x452ae4--)(_0x24ebf0=_0x28ad08[_0x452ae4])&&(_0x2c65d2=(_0x2b5caf?_0x24ebf0(_0x518a86,_0x134a32,_0x2c65d2):_0x24ebf0(_0x2c65d2))||_0x2c65d2);return _0x2b5caf&&_0x2c65d2&&bc(_0x518a86,_0x134a32,_0x2c65d2),_0x2c65d2;},et=(_0x3d1769,_0x3586a2)=>(_0x57efe5,_0x5d6e41)=>_0x3586a2(_0x57efe5,_0x5d6e41,_0x3d1769);let _s=class extends _0x568c65{constructor(_0x2e1a71,_0x38940e,_0x4a2e9e,_0x22147b,_0x56dcf8){const _0x165b32=_0x3f2ec9;super(_0x2e1a71,_0x38940e,_0x4a2e9e),this[_0x165b32(0x251)]=_0x22147b,this['_logService']=_0x56dcf8;}['transformUndoRedo'](_0x4581e0,_0xc64e6b){const _0x3d476c=_0x3f2ec9,_0x45ebe1=this[_0x3d476c(0x39d)](_0x4581e0);if(_0x45ebe1)try{const _0x8779e0=this[_0x3d476c(0x30d)](_0x45ebe1,_0xc64e6b);this[_0x3d476c(0x3cd)](_0x4581e0,_0x8779e0);}catch(_0x38a6d3){this[_0x3d476c(0x42f)][_0x3d476c(0x3b5)](_0x3d476c(0x586),_0x38a6d3),this[_0x3d476c(0x594)](_0x4581e0);}const _0x4f5a98=this[_0x3d476c(0x4ea)](_0x4581e0);if(_0x4f5a98)try{const _0x1d039a=this['_transformStack'](_0x4f5a98,_0xc64e6b);this[_0x3d476c(0x481)](_0x4581e0,_0x1d039a);}catch(_0x51a722){this[_0x3d476c(0x42f)][_0x3d476c(0x3b5)](_0x51a722),this[_0x3d476c(0x46f)](_0x4581e0);}}[_0x3f2ec9(0x594)](_0x4bd78b){const _0x4caa02=_0x3f2ec9,_0x16a981=this[_0x4caa02(0x39d)](_0x4bd78b);_0x16a981&&(_0x16a981[_0x4caa02(0x3a7)]=0x0,this[_0x4caa02(0x578)]());}[_0x3f2ec9(0x46f)](_0x317730){const _0x23aadf=_0x3f2ec9,_0x5a8df6=this[_0x23aadf(0x4ea)](_0x317730);_0x5a8df6&&(_0x5a8df6[_0x23aadf(0x3a7)]=0x0,this[_0x23aadf(0x578)]());}[_0x3f2ec9(0x3cd)](_0x5800af,_0x38e214){const _0xa910dd=_0x3f2ec9;this['_undoStacks'][_0xa910dd(0x250)](_0x5800af,_0x38e214),this['_updateStatus']();}[_0x3f2ec9(0x481)](_0x59e68a,_0x325ca5){const _0x58c5ad=_0x3f2ec9;this[_0x58c5ad(0x3a3)][_0x58c5ad(0x250)](_0x59e68a,_0x325ca5),this[_0x58c5ad(0x578)]();}[_0x3f2ec9(0x30d)](_0x168898,_0x29b8d0){const _0x1fe832=_0x3f2ec9,_0x116968=[];let _0x224196=_0x29b8d0,_0x3b874b=_0x29b8d0;for(let _0xcee849=_0x168898[_0x1fe832(0x3a7)]-0x1;_0xcee849>=0x0;_0xcee849--){const {unitID:_0x1b78e1,undoMutations:_0x2d684a,redoMutations:_0x311b84}=_0x168898[_0xcee849],_0x439164=this[_0x1fe832(0x251)]['transformMutationsWithChangeset'](_0x224196,_0x2d684a),_0x395ef0=this['_transformService'][_0x1fe832(0x336)](_0x3b874b,_0x311b84);if(_0x1fb670(_0x439164)||_0x1fb670(_0x395ef0)){this['_logService'][_0x1fe832(0x3b5)](_0x1fe832(0x586),'transformStack\x20failed!',_0x439164,_0x395ef0);break;}_0x224196=_0x439164['c1Prime'],_0x3b874b=_0x395ef0[_0x1fe832(0x3a0)],_0x116968[_0x1fe832(0x496)]({'unitID':_0x1b78e1,'undoMutations':_0x439164['m2Prime'],'redoMutations':_0x395ef0[_0x1fe832(0x38c)]});}return _0x116968[_0x1fe832(0x255)]();}};_s=Rc([et(0x0,_0x4c4975),et(0x1,_0x49a021),et(0x2,_0x4f5466),et(0x3,_0x1ba0e0),et(0x4,_0x2a6a1c)],_s);class yc extends _0x404743{constructor(){const _0x17cbed=_0x3f2ec9;super(),g(this,_0x17cbed(0x57c)),this[_0x17cbed(0x57c)]=_0x61e8c9(window,'popstate')[_0x17cbed(0x3c4)](_0x54e638(this['dispose$']),_0xdc22d3(0x1),_0x533c60(void 0x0));}[_0x3f2ec9(0x2f0)](_0x5f367d,_0x3462e0,_0xb6b0b3=!0x1){const _0x3f3ad6=_0x3f2ec9,_0x464f44=new URL(window[_0x3f3ad6(0x1d4)][_0x3f3ad6(0x2b5)]);_0x464f44['searchParams'][_0x3f3ad6(0x250)](_0x5f367d,_0x3462e0),_0xb6b0b3?window[_0x3f3ad6(0x27c)]['replaceState']('','',_0x464f44['toString']()):window[_0x3f3ad6(0x27c)][_0x3f3ad6(0x575)]('','',_0x464f44['toString']());}['removeParam'](_0x26aa02,_0x202d23=!0x1){const _0x4f4e40=_0x3f2ec9,_0x2defda=new URL(window[_0x4f4e40(0x1d4)][_0x4f4e40(0x2b5)]);_0x2defda[_0x4f4e40(0x445)][_0x4f4e40(0x1c4)](_0x26aa02),_0x202d23?window[_0x4f4e40(0x27c)][_0x4f4e40(0x5b8)]('','',_0x2defda[_0x4f4e40(0x5d5)]()):window[_0x4f4e40(0x27c)][_0x4f4e40(0x575)]('','',_0x2defda[_0x4f4e40(0x5d5)]());}[_0x3f2ec9(0x51b)](_0x1e799b){const _0x2a77e3=_0x3f2ec9;var _0x4e2a02;return(_0x4e2a02=new URL(window[_0x2a77e3(0x1d4)][_0x2a77e3(0x2b5)])['searchParams'][_0x2a77e3(0x333)](_0x1e799b))!=null?_0x4e2a02:void 0x0;}}var zi=Object['defineProperty'],Oc=Object['getOwnPropertyDescriptor'],wc=(_0x25c12c,_0x2b6c83,_0x2b2f97)=>_0x2b6c83 in _0x25c12c?zi(_0x25c12c,_0x2b6c83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b2f97}):_0x25c12c[_0x2b6c83]=_0x2b2f97,Dc=(_0x4bbf72,_0x31577d,_0x25f02b,_0x5e6771)=>{const _0x3b3a7b=_0x3f2ec9;for(var _0x49ed8=_0x5e6771>0x1?void 0x0:_0x5e6771?Oc(_0x31577d,_0x25f02b):_0x31577d,_0x4a0f93=_0x4bbf72[_0x3b3a7b(0x3a7)]-0x1,_0x2e4eaf;_0x4a0f93>=0x0;_0x4a0f93--)(_0x2e4eaf=_0x4bbf72[_0x4a0f93])&&(_0x49ed8=(_0x5e6771?_0x2e4eaf(_0x31577d,_0x25f02b,_0x49ed8):_0x2e4eaf(_0x49ed8))||_0x49ed8);return _0x5e6771&&_0x49ed8&&zi(_0x31577d,_0x25f02b,_0x49ed8),_0x49ed8;},lt=(_0x79fa41,_0x152d28)=>(_0x28d04b,_0xe11b1a)=>_0x152d28(_0x28d04b,_0xe11b1a,_0x79fa41),Pc=(_0x2fc9b9,_0x30007f,_0x3b88b1)=>wc(_0x2fc9b9,_0x30007f+'',_0x3b88b1);const Uc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x2dcc71{constructor(_0x31add5=Rr,_0x23cb41,_0x768f37,_0x34ffa8,_0x5f0262){const _0x16eb39=_0x3f2ec9;super(),this['_config']=_0x31add5,this[_0x16eb39(0x42f)]=_0x23cb41,this['_renderManagerService']=_0x768f37,this[_0x16eb39(0x469)]=_0x34ffa8,this[_0x16eb39(0x5b4)]=_0x5f0262;const {..._0x4f8c35}=this[_0x16eb39(0x4ca)];this[_0x16eb39(0x5b4)][_0x16eb39(0x55d)](ie,_0x4f8c35);}['onStarting'](){const _0x1aa3bf=_0x3f2ec9;this['_registerDependencies'](),this[_0x1aa3bf(0x463)]();}[_0x3f2ec9(0x21a)](){const _0x35cef0=_0x3f2ec9;_0x1ab21b(this[_0x35cef0(0x469)],[[Ct]]);}[_0x3f2ec9(0x421)](){this['_registerRenderDependencies']();}[_0x3f2ec9(0x229)](){const _0x289897=_0x3f2ec9;var _0x1bfd5c,_0x84495c,_0x5ceec1,_0x398356;this[_0x289897(0x469)]['has'](_0x42df5e)&&this[_0x289897(0x42f)][_0x289897(0x3b5)](_0x289897(0x4f1),_0x289897(0x3b3));const _0x481b33=[[_0x42df5e,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x18b495],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x84495c=(_0x1bfd5c=this['_config'])==null?void 0x0:_0x1bfd5c[_0x289897(0x1ce)])!=null?_0x84495c:es}],[_0x32dd62,{'useClass':ls}],[_0x491f3b,{'useClass':cs}],[_0x52bb2a,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x5ceec1=this[_0x289897(0x4ca)])!=null&&_0x5ceec1[_0x289897(0x3bb)]&&_0x481b33[_0x289897(0x496)]([Rt,{'useClass':ro}]),_0x199895(this['_injector'],_0x14a5de(_0x481b33,(_0x398356=this[_0x289897(0x4ca)])==null?void 0x0:_0x398356[_0x289897(0x435)]));}[_0x3f2ec9(0x351)](){const _0x5a2aaf=_0x3f2ec9;this[_0x5a2aaf(0x324)](this[_0x5a2aaf(0x4b9)]['registerRenderModule'](_0x1a8690[_0x5a2aaf(0x32a)],[os])),this[_0x5a2aaf(0x324)](this[_0x5a2aaf(0x4b9)][_0x5a2aaf(0x338)](_0x1a8690['UNIVER_SHEET'],[as]));}[_0x3f2ec9(0x463)](){const _0x4778aa=_0x3f2ec9;var _0x55ecf2,_0x448e30;this[_0x4778aa(0x469)][_0x4778aa(0x333)](_0x1d93b0)[_0x4778aa(0x4e2)]({'priority':0x14,'interceptor':_0x527fac({'maxParallel':0x6})}),(_0x55ecf2=this[_0x4778aa(0x4ca)])!=null&&_0x55ecf2['enableOfflineEditing']||this[_0x4778aa(0x469)][_0x4778aa(0x333)](q)[_0x4778aa(0x35f)](),(_0x448e30=this['_config'])!=null&&_0x448e30[_0x4778aa(0x3e5)]&&_0x1ab21b(this[_0x4778aa(0x469)],[[Et]]),_0x1ab21b(this[_0x4778aa(0x469)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,_0x3f2ec9(0x2c0),Uc),us=Dc([_0x5d40c8(_0x33b951,_0x291685),lt(0x1,_0x2a6a1c),lt(0x2,_0x249704),lt(0x3,_0x127ed5(_0x846a04)),lt(0x4,_0x5293d7)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};
1
+ const _0xf37888=_0x136c;(function(_0xa94db3,_0x423779){const _0x4e4261=_0x136c,_0x4841f6=_0xa94db3();while(!![]){try{const _0x1d94b5=-parseInt(_0x4e4261(0x1bd))/0x1+-parseInt(_0x4e4261(0x29e))/0x2*(parseInt(_0x4e4261(0x3f5))/0x3)+parseInt(_0x4e4261(0x2f7))/0x4*(parseInt(_0x4e4261(0x193))/0x5)+parseInt(_0x4e4261(0x3ac))/0x6+-parseInt(_0x4e4261(0x300))/0x7*(parseInt(_0x4e4261(0x34a))/0x8)+parseInt(_0x4e4261(0x444))/0x9+-parseInt(_0x4e4261(0x246))/0xa;if(_0x1d94b5===_0x423779)break;else _0x4841f6['push'](_0x4841f6['shift']());}catch(_0x29fa80){_0x4841f6['push'](_0x4841f6['shift']());}}}(_0xc3a6,0x5f845));var qi=Object[_0xf37888(0x320)],Xi=(_0x14249b,_0xc88a6,_0x2d3fdb)=>_0xc88a6 in _0x14249b?qi(_0x14249b,_0xc88a6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d3fdb}):_0x14249b[_0xc88a6]=_0x2d3fdb,g=(_0x4d7119,_0x1ccb48,_0x5d9f8b)=>Xi(_0x4d7119,typeof _0x1ccb48!=_0xf37888(0x28f)?_0x1ccb48+'':_0x1ccb48,_0x5d9f8b);import{createIdentifier as _0x11a95d,Inject as _0x39c8b8,Disposable as _0xb54fec,DisposableCollection as _0x241f26,toDisposable as _0x5b8af0,IConfigService as _0x45a6b3,ILogService as _0x399eca,UserManagerService as _0xc3f0d8,UniverInstanceType as _0x42608e,IUniverInstanceService as _0x6b8e83,LocaleService as _0x50f35b,Optional as _0x174482,RxDisposable as _0x3c16d2,Injector as _0x2fd08f,Tools as _0x5d7755,ILocalStorageService as _0x4f5ce1,Rectangle as _0x3bc9a8,ICommandService as _0x48fc43,DOC_RANGE_TYPE as _0x3b2ca6,JSONX as _0x1fe550,CommandType as _0x357ec8,IPermissionService as _0x19df2d,IUndoRedoService as _0x46b156,sequenceExecute as _0x18d035,debounce as _0x4bf9ba,COLORS as _0x197df6,ColorKit as _0xd157f,ThemeService as _0x1d0ffa,fromEventSubject as _0x153a49,useDependency as _0x5d0a14,connectInjector as _0x31c12e,Workbook as _0x400c08,isInternalEditorID as _0x59fd1a,LocalUndoRedoService as _0x4a62a2,IContextService as _0x1b23d4,DependentOn as _0x1c29a2,Plugin as _0x7a55e0,touchDependencies as _0x5f3d41,IAuthzIoService as _0xb968ca,registerDependencies as _0x1e42a3,mergeOverrideWithDependencies as _0x208ba0}from'@univerjs/core';import{Subject as _0x382230,merge as _0x45ad1c,takeUntil as _0x1825a9,BehaviorSubject as _0x7465ad,distinctUntilChanged as _0x7d7043,fromEvent as _0x5ea6fd,ReplaySubject as _0x56e22a,take as _0x5f06ad,map as _0x1af8db,shareReplay as _0xac7976,of as _0x5ac583,debounceTime as _0x2edddb,filter as _0x14383b,switchMap as _0x784c53,combineLatest as _0x42f291,concatMap as _0x1240df,mapTo as _0x20444c}from'rxjs';import{map as _0x5ba592,take as _0xf9885d,filter as _0x2d7a63,delay as _0x207ed1,throttleTime as _0x1b38bd,takeUntil as _0xf05386,switchMap as _0x380453}from'rxjs/operators';import{MessageType as _0x30a0d6,Tooltip as _0x542c0a}from'@univerjs/design';import{IBeforeCloseService as _0x1e394f,IMessageService as _0xffafbc,INotificationService as _0x5158a3,useObservable as _0x26f539,BuiltInUIPart as _0x31b17c,IUIPartsService as _0x1c0ace}from'@univerjs/ui';import{HTTPService as _0xf3436a,WebSocketService as _0x1827c1,MergeInterceptorFactory as _0x5d3d7a,HTTPRequest as _0x3738a7,UniverNetworkPlugin as _0x4caaee,ThresholdInterceptorFactory as _0x8c39a4}from'@univerjs/network';import{CollaborationEvent as _0x3c3869,parseChangesetToProtocol as _0x539718,ISnapshotServerService as _0x5f2fc3,isTransformMutationFailure as _0xfceaae,isTransformMutationsWithChangesetSuccess as _0x2de823,ITransformService as _0x36ceed,RevisionService as _0x304c49,mapDocumentTypeToUniverType as _0x5ab887,isTransformChangesetsSuccess as _0x56533c,CompressMutationService as _0x78bcc3,parseProtocolChangeset as _0x411b74,SnapshotService as _0x19a3ab,textEncoder as _0x4821ce,b64DecodeUnicode as _0x1925e3,isTransformMutationsWithChangesetFailure as _0x40847e,UniverCollaborationPlugin as _0x4a89ea}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5a8609}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x1ee80f,DocStateChangeManagerService as _0x3b95d5,NodePositionConvertToCursor as _0x45cbb8,NodePositionConvertToRectRange as _0x14dcc5,TEXT_RANGE_LAYER_INDEX as _0x2a8154,SetDocZoomRatioOperation as _0x3212df}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2ff3ec,SetSelectionsOperation as _0x455bea,InsertSheetMutation as _0x4ef24f,EmptyMutation as _0x59dd9d,WorkbookEditablePermission as _0x57c2ed,RefRangeService as _0x34f847,EffectRefRangId as _0x393a47,handleIRemoveRow as _0x52d0b5,handleIRemoveCol as _0x5d6597,handleMoveRange as _0x204fc1,handleInsertRow as _0xae5700,handleInsertRangeMoveRight as _0x2723eb,handleInsertRangeMoveDown as _0x59b66c,handleInsertCol as _0x53232e,handleDeleteRangeMoveUp as _0xb8cee4,handleDeleteRangeMoveLeft as _0xc0b2af,runRefRangeMutations as _0x4681f0,SetWorksheetActivateCommand as _0x4fb117}from'@univerjs/sheets';import{IRenderManagerService as _0x4e7ca1,Shape as _0x20c0e5,Rect as _0x53b95b,getColor as _0x1403d6,RegularPolygon as _0x4d7468,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2bfb82,Vector2 as _0x5d97fd}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x17cd7b,RichTextEditingMutation as _0x216675,SetTextSelectionsOperation as _0x4cbea3,DocSkeletonManagerService as _0x511bb7}from'@univerjs/docs';import{ImageSourceType as _0x4b9ffc,ImageUploadStatusType as _0x3da702,IImageIoService as _0x548da5}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x213db1,serializeRangeWithSheet as _0x30ad03}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4ee0f9,VIEWPORT_KEY as _0xc2d531,getCoordByCell as _0x7b28d2,getSheetObject as _0xd198a1,SheetPermissionInitController as _0x3ee48e}from'@univerjs/sheets-ui';import _0x5101ec,{forwardRef as _0x11c4ff,useRef as _0x360e34,createElement as _0x517cae,useCallback as _0x31a143}from'react';import{IRemoteInstanceService as _0x480e23}from'@univerjs/rpc';const cr=_0xf37888(0x37e),hr=_0xf37888(0x2e8),lr='SNAPSHOT_URL_KEY',Xc=_0xf37888(0x17e),_r=0x7d0,ur=_0xf37888(0x3bc),dr=_0xf37888(0x4c9),fr=_0xf37888(0x27c),vr=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,mr=0x4e20,pr='RETRY_CONNECTING_MAX_COUNT',gr=0x3,Sr=_0xf37888(0x478),Ir=0x3e8,Cr=_0xf37888(0x410),Er=_0xf37888(0x2f4),br='LOGIN_URL_KEY',Tr=_0xf37888(0x3ea);var Ri=(_0x2a3009=>(_0x2a3009[_0x2a3009[_0xf37888(0x479)]=0x0]=_0xf37888(0x479),_0x2a3009[_0x2a3009['OK']=0x1]='OK',_0x2a3009[_0x2a3009['INTERNAL_ERROR']=0x2]=_0xf37888(0x149),_0x2a3009[_0x2a3009['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2a3009[_0x2a3009[_0xf37888(0x2b3)]=0x4]='NOT_FOUND',_0x2a3009[_0x2a3009[_0xf37888(0x2ec)]=0x5]='UNAUTHENTICATED',_0x2a3009[_0x2a3009[_0xf37888(0x3cc)]=0x6]='ALREADY_EXISTS',_0x2a3009[_0x2a3009[_0xf37888(0x1ca)]=0x7]=_0xf37888(0x1ca),_0x2a3009[_0x2a3009['TOO_MANY_REQUESTS']=0x8]=_0xf37888(0x3ca),_0x2a3009[_0x2a3009[_0xf37888(0x23e)]=0x9]='COMPLETION_FINISHED',_0x2a3009[_0x2a3009[_0xf37888(0x4a8)]=0x1389]=_0xf37888(0x4a8),_0x2a3009[_0x2a3009[_0xf37888(0x225)]=0x1771]=_0xf37888(0x225),_0x2a3009[_0x2a3009['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xf37888(0x39d),_0x2a3009[_0x2a3009[_0xf37888(0x509)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2a3009[_0x2a3009[_0xf37888(0x1a9)]=0x1b59]=_0xf37888(0x1a9),_0x2a3009[_0x2a3009[_0xf37888(0x3f8)]=0x1b5a]=_0xf37888(0x3f8),_0x2a3009[_0x2a3009[_0xf37888(0x272)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2a3009[_0x2a3009[_0xf37888(0x2bc)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2a3009[_0x2a3009[_0xf37888(0x39f)]=0x1b5d]=_0xf37888(0x39f),_0x2a3009[_0x2a3009[_0xf37888(0x1ae)]=0x1f41]=_0xf37888(0x1ae),_0x2a3009[_0x2a3009[_0xf37888(0x318)]=0x2329]=_0xf37888(0x318),_0x2a3009[_0x2a3009[_0xf37888(0x160)]=0x232a]=_0xf37888(0x160),_0x2a3009[_0x2a3009[_0xf37888(0x219)]=0x232b]=_0xf37888(0x219),_0x2a3009[_0x2a3009[_0xf37888(0x157)]=0x232c]=_0xf37888(0x157),_0x2a3009[_0x2a3009['LICENSE_DISTRO_REJECTED']=0x232d]=_0xf37888(0x216),_0x2a3009[_0x2a3009[_0xf37888(0x2c4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2a3009[_0x2a3009['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xf37888(0x24d),_0x2a3009[_0x2a3009[_0xf37888(0x381)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a3009[_0x2a3009[_0xf37888(0x2d5)]=0x2714]=_0xf37888(0x2d5),_0x2a3009[_0x2a3009[_0xf37888(0x504)]=-0x1]=_0xf37888(0x504),_0x2a3009))(Ri||{}),ce=(_0x900bdc=>(_0x900bdc[_0x900bdc[_0xf37888(0x1ff)]=0x0]=_0xf37888(0x1ff),_0x900bdc[_0x900bdc['UNIVER_DOC']=0x1]=_0xf37888(0x1c1),_0x900bdc[_0x900bdc[_0xf37888(0x19a)]=0x2]='UNIVER_SHEET',_0x900bdc[_0x900bdc[_0xf37888(0x3e5)]=0x3]=_0xf37888(0x3e5),_0x900bdc[_0x900bdc[_0xf37888(0x29b)]=0x4]=_0xf37888(0x29b),_0x900bdc[_0x900bdc[_0xf37888(0x504)]=-0x1]=_0xf37888(0x504),_0x900bdc))(ce||{}),W=(_0x16f8e7=>(_0x16f8e7[_0x16f8e7['UNKNOWN_CMD']=0x0]=_0xf37888(0x357),_0x16f8e7[_0x16f8e7[_0xf37888(0x42e)]=0x1]='HELLO',_0x16f8e7[_0x16f8e7['JOIN']=0x2]='JOIN',_0x16f8e7[_0x16f8e7['LEAVE']=0x3]=_0xf37888(0x4c7),_0x16f8e7[_0x16f8e7['INGEST']=0x4]=_0xf37888(0x393),_0x16f8e7[_0x16f8e7[_0xf37888(0x1c7)]=0x5]='HEARTBEAT',_0x16f8e7[_0x16f8e7[_0xf37888(0x2e7)]=0x6]='RECV',_0x16f8e7[_0x16f8e7['UNRECOGNIZED']=-0x1]=_0xf37888(0x504),_0x16f8e7))(W||{}),Is=(_0x1c874f=>(_0x1c874f[_0x1c874f[_0xf37888(0x30a)]=0x0]=_0xf37888(0x30a),_0x1c874f[_0x1c874f['OK']=0x1]='OK',_0x1c874f[_0x1c874f[_0xf37888(0x18b)]=0x2]=_0xf37888(0x18b),_0x1c874f[_0x1c874f[_0xf37888(0x504)]=-0x1]=_0xf37888(0x504),_0x1c874f))(Is||{}),yi=(_0x1015d6=>(_0x1015d6[_0x1015d6['Undefined']=0x0]=_0xf37888(0x2ae),_0x1015d6[_0x1015d6[_0xf37888(0x426)]=0x1]=_0xf37888(0x426),_0x1015d6[_0x1015d6[_0xf37888(0x1a3)]=0x2]='HttpExport',_0x1015d6[_0x1015d6[_0xf37888(0x49e)]=0x3]=_0xf37888(0x49e),_0x1015d6[_0x1015d6[_0xf37888(0x3bd)]=0x4]=_0xf37888(0x3bd),_0x1015d6[_0x1015d6['UNRECOGNIZED']=-0x1]=_0xf37888(0x504),_0x1015d6))(yi||{});const ie=_0xf37888(0x242),Rr={};function yr(_0x2d384b){const _0x102f7a=_0xf37888;var _0x2a72c5,_0x19def3,_0x5ce383,_0x5180ee,_0x2ed2f4;const _0x584c58=_0x2d384b[_0x102f7a(0x1cc)],_0x13d4b9=JSON[_0x102f7a(0x2e9)](_0x584c58);switch(_0x13d4b9[_0x102f7a(0x180)]){case W[_0x102f7a(0x1c7)]:case W['HELLO']:{const _0x7d5259=_0x13d4b9[_0x102f7a(0x286)];return{..._0x13d4b9,'data':_0x7d5259,'cmd':_0x13d4b9['cmd']};}case W[_0x102f7a(0x2c2)]:{const _0x5aa2e1=_0x13d4b9[_0x102f7a(0x4fe)];return{..._0x13d4b9,'data':_0x5aa2e1,'cmd':_0x13d4b9[_0x102f7a(0x180)]};}case W[_0x102f7a(0x2e7)]:{const _0x603bd7=_0x13d4b9[_0x102f7a(0x4ca)];switch(_0x603bd7['eventID']){case _0x3c3869[_0x102f7a(0x271)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x2a72c5=_0x603bd7['permissionRejEvent'])==null?void 0x0:_0x2a72c5['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x309)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x19def3=_0x603bd7['csAckEvent'])==null?void 0x0:_0x19def3['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x3ce)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x5ce383=_0x603bd7['newCsEvent'])==null?void 0x0:_0x5ce383['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869['CHANGESET_REJ']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x5180ee=_0x603bd7[_0x102f7a(0x206)])==null?void 0x0:_0x5180ee['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x37f)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x2ed2f4=_0x603bd7['csShouldRetryEvent'])==null?void 0x0:_0x2ed2f4['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x494)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x1e7)]},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869['USERS_ENTER']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x50f)]},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869['USERS_LEAVE']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x1e6)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869['LIVESHARE_NEW_HOST']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x121)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869[_0x102f7a(0x244)]:case _0x3c3869[_0x102f7a(0x419)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x4aa)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869[_0x102f7a(0x462)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x121)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869['MSG_FOR_ERROR']:return{..._0x13d4b9,'data':_0x603bd7,'cmd':_0x13d4b9['cmd']};case _0x3c3869['COMMENT_UPDATE']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x21d)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869[_0x102f7a(0x2ff)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x4f6)]},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x131)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x268)]},'cmd':_0x13d4b9['cmd']};default:return _0x13d4b9;}}default:return _0x13d4b9;}}function Or(_0x456d46){const _0x5221cc=_0xf37888;switch(_0x456d46['cmd']){case W['HEARTBEAT']:case W[_0x5221cc(0x42e)]:return JSON[_0x5221cc(0x387)]({'cmd':_0x456d46[_0x5221cc(0x180)],'routeKey':_0x456d46['routeKey']});case W['INGEST']:{let _0x49b378;switch(_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x214)]){case _0x3c3869['UPDATE_CURSOR']:{_0x49b378={'eventID':_0x3c3869['UPDATE_CURSOR'],'updateCursorEvent':_0x456d46[_0x5221cc(0x1cc)]['data']};break;}case _0x3c3869[_0x5221cc(0x3c2)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x3c2)],'leaveEvent':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x170)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x170)],'joinEvent':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x377)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x377)],'liveShareNewHost':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x419)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x419)],'liveShareOperation':_0x456d46['data']['data']};break;}case _0x3c3869[_0x5221cc(0x462)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x462)],'liveShareTerminate':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x477)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x477)],'liveShareRequestHost':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869['LIVESHARE_FETCH_OPERATIONS']:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x244)]};break;}default:_0x49b378={'eventID':_0x456d46['data'][_0x5221cc(0x214)]};}return JSON[_0x5221cc(0x387)]({'cmd':_0x456d46['cmd'],'routeKey':_0x456d46[_0x5221cc(0x379)],'collaMsg':_0x49b378});}case W[_0x5221cc(0x2c2)]:return JSON['stringify']({'cmd':_0x456d46[_0x5221cc(0x180)],'routeKey':_0x456d46[_0x5221cc(0x379)],'joinReq':_0x456d46['data']});case W[_0x5221cc(0x4c7)]:return JSON[_0x5221cc(0x387)]({'cmd':_0x456d46['cmd'],'routeKey':_0x456d46['routeKey'],'leaveReq':_0x456d46['data']});default:throw new Error(_0x5221cc(0x4bc));}}var wr=Object[_0xf37888(0x320)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x14417d,_0x5502df,_0x57e6e8,_0x444db7)=>{const _0x327984=_0xf37888;for(var _0x41daa0=_0x444db7>0x1?void 0x0:_0x444db7?Dr(_0x5502df,_0x57e6e8):_0x5502df,_0x5e9101=_0x14417d[_0x327984(0x42c)]-0x1,_0x4b41bf;_0x5e9101>=0x0;_0x5e9101--)(_0x4b41bf=_0x14417d[_0x5e9101])&&(_0x41daa0=(_0x444db7?_0x4b41bf(_0x5502df,_0x57e6e8,_0x41daa0):_0x4b41bf(_0x41daa0))||_0x41daa0);return _0x444db7&&_0x41daa0&&wr(_0x5502df,_0x57e6e8,_0x41daa0),_0x41daa0;},qe=(_0x9ecdcb,_0x4ce94f)=>(_0x344bb3,_0x4c30e5)=>_0x4ce94f(_0x344bb3,_0x4c30e5,_0x9ecdcb);const Oi=_0x11a95d('univer-pro.collaboration-client-socket-service');function Ur(_0x178e6c,_0x28769,_0xcaf87){const _0x32981e=_0xf37888;return _0x178e6c+'/'+_0x28769+_0x32981e(0x4cb)+_0xcaf87+'/new_changes';}let es=class extends _0xb54fec{constructor(_0xa139e8,_0x2993f7,_0x1e74dc,_0x4bd698,_0x351102){const _0x19e734=_0xf37888;super(),this[_0x19e734(0x40b)]=_0xa139e8,this['_ws']=_0x2993f7,this[_0x19e734(0x1f2)]=_0x1e74dc,this[_0x19e734(0x2c3)]=_0x4bd698,this[_0x19e734(0x1c5)]=_0x351102;}[_0xf37888(0x4fb)](_0x2dbd6e){const _0x29053a=_0xf37888,_0x1574e2=this['_ws'][_0x29053a(0x4fb)](_0x2dbd6e);if(!_0x1574e2)throw new Error(_0x29053a(0x135));const _0x224202=new _0x241f26(),_0x4429d3=new _0x382230();_0x224202[_0x29053a(0x389)](_0x1574e2[_0x29053a(0x45f)][_0x29053a(0x236)](_0x3ed68d=>_0x4429d3[_0x29053a(0x2d2)](_0x3ed68d))),_0x224202[_0x29053a(0x389)](_0x5b8af0(()=>_0x4429d3[_0x29053a(0x12e)]()));const _0xbff510=new _0x382230();_0x224202[_0x29053a(0x389)](_0x1574e2[_0x29053a(0x497)][_0x29053a(0x236)](_0x2bfbeb=>_0xbff510[_0x29053a(0x2d2)](_0x2bfbeb))),_0x224202[_0x29053a(0x389)](_0x5b8af0(()=>_0xbff510['complete']()));const _0x4745cd=new _0x382230();_0x224202[_0x29053a(0x389)](_0x1574e2[_0x29053a(0x12b)][_0x29053a(0x236)](_0x23c4d3=>{const _0x17c8f9=_0x29053a,_0x1c9c67=yr(_0x23c4d3);_0x4745cd[_0x17c8f9(0x2d2)](_0x1c9c67);})),_0x224202['add'](_0x5b8af0(()=>_0x4745cd[_0x29053a(0x12e)]()));let _0x522b42;const _0x46135c=()=>{const _0x1a6749=_0x29053a;_0xbff510['next'](new Event(_0x1a6749(0x18a))),_0x4429d3[_0x1a6749(0x2d2)](new CloseEvent('connection\x20error')),_0x522b42[_0x1a6749(0x137)]();};return _0x522b42={'memberID':'','close$':_0x4429d3[_0x29053a(0x2cf)](),'error$':_0xbff510[_0x29053a(0x2cf)](),'open$':_0x1574e2[_0x29053a(0x11b)],'message$':_0x4745cd[_0x29053a(0x2cf)](),'send':_0x7a9e4d=>{const _0xc91710=_0x29053a;if(_0x7a9e4d[_0xc91710(0x180)]===W['INGEST']){if(_0x7a9e4d[_0xc91710(0x1cc)][_0xc91710(0x214)]===_0x3c3869[_0xc91710(0x1f3)]){this[_0xc91710(0x207)](_0x522b42,_0x7a9e4d[_0xc91710(0x1cc)])['catch'](_0x375810=>{const _0x5534c9=_0xc91710;this[_0x5534c9(0x2c3)][_0x5534c9(0x329)](_0x375810),_0x46135c();});return;}if(_0x7a9e4d['data'][_0xc91710(0x214)]===_0x3c3869[_0xc91710(0x44f)]){const _0x2a998b=_0x7a9e4d[_0xc91710(0x1cc)];this['_fetchMissChangesets'](_0x2a998b)[_0xc91710(0x1ed)](_0x31b637=>{const _0x4d081a=_0xc91710;_0x4745cd[_0x4d081a(0x2d2)]({'cmd':W[_0x4d081a(0x2e7)],'code':Is['OK'],'routeKey':_0x2a998b[_0x4d081a(0x1cc)]['unitID'],'routeType':'','data':{'eventID':_0x3c3869[_0x4d081a(0x11d)],'data':{'changesets':_0x31b637}}});})[_0xc91710(0x489)](_0x3d9b96=>{const _0x3c11b3=_0xc91710;this[_0x3c11b3(0x2c3)][_0x3c11b3(0x329)](_0x3d9b96),_0x46135c();});return;}}_0x1574e2['send'](Or(_0x7a9e4d));},'close':()=>{const _0x4d635f=_0x29053a;_0x1574e2['close'](),_0x224202[_0x4d635f(0x4d5)]();}},_0x522b42;}async[_0xf37888(0x207)](_0x25f23c,_0x413ce1){const _0x206c63=_0xf37888;var _0x351dff,_0x8bfe70;const {unitType:_0x2d2d16,unitID:_0x16ed32,changeset:_0x111b99}=_0x413ce1[_0x206c63(0x1cc)],_0x19f5aa={'unitID':_0x16ed32,'memberID':_0x25f23c[_0x206c63(0x498)],'type':_0x2d2d16,'changeset':_0x539718(_0x111b99)},_0x268ef1=this['_configService'][_0x206c63(0x37a)](Cr),_0x2df54b=this['_configService'][_0x206c63(0x37a)](ie),_0x13bb0a=Ur((_0x8bfe70=(_0x351dff=_0x2df54b==null?void 0x0:_0x2df54b[_0x206c63(0x407)])!=null?_0x351dff:_0x268ef1)!=null?_0x8bfe70:Er,_0x2d2d16,_0x16ed32);try{await this['_http'][_0x206c63(0x141)](_0x13bb0a,{'body':_0x19f5aa});}catch(_0xc9a6ca){throw this[_0x206c63(0x2c3)]['error']('[CollaborationSession]',_0x206c63(0x1f1)),_0xc9a6ca;}}async[_0xf37888(0x3e9)](_0xb705bd){const _0x522477=_0xf37888,{unitID:_0x45f4ec,from:_0x1a7225,to:_0x439e5b,unitType:_0xe41a02}=_0xb705bd[_0x522477(0x1cc)];return(await this[_0x522477(0x1c5)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x45f4ec,'type':_0xe41a02,'from':_0x1a7225,'to':_0x439e5b}))['changesets'];}};es=Pr([qe(0x0,_0x39c8b8(_0xf3436a)),qe(0x1,_0x39c8b8(_0x1827c1)),qe(0x2,_0x45a6b3),qe(0x3,_0x399eca),qe(0x4,_0x5f2fc3)],es);const Nr='collaboration_new_changeset';function Ar(_0x51a09c){const _0x22fed5=_0xf37888;return JSON[_0x22fed5(0x387)](_0x51a09c)[_0x22fed5(0x42c)];}class wi{constructor(){const _0x4b7d9b=_0xf37888;g(this,_0x4b7d9b(0x50e),new _0x382230()),g(this,'commentUpdate$',this[_0x4b7d9b(0x50e)][_0x4b7d9b(0x2cf)]());}['onCommentUpdate'](_0x1d4a88){const _0x59d262=_0xf37888;this[_0x59d262(0x50e)][_0x59d262(0x2d2)](_0x1d4a88);}}var Mr=Object[_0xf37888(0x320)],xr=Object['getOwnPropertyDescriptor'],Lr=(_0x16bba5,_0x3f57d5,_0x3ad258,_0x8fbbcf)=>{const _0x3b45f2=_0xf37888;for(var _0x17c604=_0x8fbbcf>0x1?void 0x0:_0x8fbbcf?xr(_0x3f57d5,_0x3ad258):_0x3f57d5,_0x4dd04d=_0x16bba5[_0x3b45f2(0x42c)]-0x1,_0x1b25c4;_0x4dd04d>=0x0;_0x4dd04d--)(_0x1b25c4=_0x16bba5[_0x4dd04d])&&(_0x17c604=(_0x8fbbcf?_0x1b25c4(_0x3f57d5,_0x3ad258,_0x17c604):_0x1b25c4(_0x17c604))||_0x17c604);return _0x8fbbcf&&_0x17c604&&Mr(_0x3f57d5,_0x3ad258,_0x17c604),_0x17c604;},Hs=(_0x2556c1,_0x1e5f56)=>(_0x4992d6,_0x2a7add)=>_0x1e5f56(_0x4992d6,_0x2a7add,_0x2556c1);let Ne=class extends _0xb54fec{constructor(_0x395ee9,_0x3338a6){const _0x47114d=_0xf37888;super(),g(this,'_roomMembers',new Map()),(this[_0x47114d(0x1c2)]=_0x395ee9,this[_0x47114d(0x34f)]=_0x3338a6,this[_0x47114d(0x3ec)](_0x5b8af0(_0x45ad1c(this[_0x47114d(0x1c2)]['getTypeOfUnitDisposed$'](_0x42608e['UNIVER_SHEET'])['pipe'](_0x5ba592(_0x6c4bdd=>_0x6c4bdd[_0x47114d(0x1a4)]())),this[_0x47114d(0x1c2)][_0x47114d(0x465)](_0x42608e[_0x47114d(0x1c1)])[_0x47114d(0x3bf)](_0x5ba592(_0x3bad8b=>_0x3bad8b[_0x47114d(0x1a4)]())),this[_0x47114d(0x1c2)][_0x47114d(0x465)](_0x42608e['UNIVER_SLIDE'])['pipe'](_0x5ba592(_0x44db19=>_0x44db19[_0x47114d(0x1a4)]())))[_0x47114d(0x236)](_0x56ac85=>this[_0x47114d(0x31a)](_0x56ac85)))));}[_0xf37888(0x2a1)](_0x5ab48f){const _0x199dc8=_0xf37888;this['_userManagerService'][_0x199dc8(0x2a1)](_0x5ab48f);}[_0xf37888(0x2a0)](){const _0x337491=_0xf37888;return this[_0x337491(0x34f)][_0x337491(0x2a0)]();}[_0xf37888(0x1cb)](_0x2f89a5,_0x66bb3c){const _0x83a2cb=_0xf37888;let _0x14fed7=this['_roomMembers'][_0x83a2cb(0x166)](_0x2f89a5);_0x14fed7||(_0x14fed7=new $r(),this['_roomMembers']['set'](_0x2f89a5,_0x14fed7)),_0x14fed7[_0x83a2cb(0x1cb)](_0x66bb3c);}[_0xf37888(0x204)](_0x211465,_0x530f3a){const _0x22c676=_0xf37888,_0x2dbc22=this[_0x22c676(0x23b)]['get'](_0x211465);_0x2dbc22&&_0x2dbc22[_0x22c676(0x204)](_0x530f3a);}[_0xf37888(0x488)](_0x48cf7a){const _0x178e9d=_0xf37888;return this[_0x178e9d(0x23b)][_0x178e9d(0x166)](_0x48cf7a);}['getMember'](_0xcf2c61,_0x46790c){const _0x2259f1=_0xf37888,_0x1ecc87=this[_0x2259f1(0x23b)][_0x2259f1(0x166)](_0xcf2c61);if(_0x1ecc87)return _0x1ecc87[_0x2259f1(0x208)](_0x46790c);}[_0xf37888(0x31a)](_0x4530af){const _0x260c41=_0xf37888,_0x24a7fe=this[_0x260c41(0x23b)]['get'](_0x4530af);_0x24a7fe&&(_0x24a7fe['dispose'](),this[_0x260c41(0x23b)]['delete'](_0x4530af));}['dispose'](){const _0x50b3c4=_0xf37888;this[_0x50b3c4(0x23b)][_0x50b3c4(0x321)](_0x1037b7=>_0x1037b7['dispose']()),this[_0x50b3c4(0x23b)][_0x50b3c4(0x415)]();}};Ne=Lr([Hs(0x0,_0x6b8e83),Hs(0x1,_0x39c8b8(_0xc3f0d8))],Ne);class $r extends _0xb54fec{constructor(){const _0xf031f6=_0xf37888;super(...arguments),g(this,_0xf031f6(0x120),new Map());}[_0xf37888(0x4d5)](){const _0x71593b=_0xf37888;this[_0x71593b(0x120)]['clear']();}['updateMember'](_0x32d5ab){const _0xe952f7=_0xf37888;this[_0xe952f7(0x120)][_0xe952f7(0x1ec)](_0x32d5ab[_0xe952f7(0x498)],_0x32d5ab);}['removeMember'](_0x94c88a){const _0xcf70b9=_0xf37888;this[_0xcf70b9(0x120)]['delete'](_0x94c88a);}[_0xf37888(0x208)](_0x2214e4){const _0x438778=_0xf37888;return this[_0x438778(0x120)]['get'](_0x2214e4);}[_0xf37888(0x21b)](){const _0x39b135=_0xf37888;return Array[_0x39b135(0x123)](this[_0x39b135(0x120)][_0x39b135(0x317)]());}}var Hr=Object[_0xf37888(0x320)],jr=Object[_0xf37888(0x26b)],Br=(_0x32c0e6,_0x13115d,_0x34e686,_0xa4957a)=>{for(var _0x38cf1a=_0xa4957a>0x1?void 0x0:_0xa4957a?jr(_0x13115d,_0x34e686):_0x13115d,_0xb77bfe=_0x32c0e6['length']-0x1,_0x2c15a6;_0xb77bfe>=0x0;_0xb77bfe--)(_0x2c15a6=_0x32c0e6[_0xb77bfe])&&(_0x38cf1a=(_0xa4957a?_0x2c15a6(_0x13115d,_0x34e686,_0x38cf1a):_0x2c15a6(_0x38cf1a))||_0x38cf1a);return _0xa4957a&&_0x38cf1a&&Hr(_0x13115d,_0x34e686,_0x38cf1a),_0x38cf1a;},Ee=(_0x21d844,_0x52dc9f)=>(_0x57f98c,_0x563010)=>_0x52dc9f(_0x57f98c,_0x563010,_0x21d844),ve=(_0x441a2b=>(_0x441a2b[_0x441a2b[_0xf37888(0x13a)]=0x0]='IDLE',_0x441a2b[_0x441a2b[_0xf37888(0x356)]=0x1]='JOINING',_0x441a2b[_0x441a2b[_0xf37888(0x33c)]=0x2]=_0xf37888(0x33c),_0x441a2b[_0x441a2b[_0xf37888(0x312)]=0x3]=_0xf37888(0x312),_0x441a2b))(ve||{});let ts=class extends _0x3c16d2{constructor(_0xd00612,_0xca24ec,_0x30e278,_0x1a3ac3,_0x223dab,_0x2324fe,_0x1d272c,_0x290526,_0x562832,_0x395e0c){const _0x49e2a0=_0xf37888;super(),g(this,_0x49e2a0(0x1fe),new _0x7465ad(0x0)),g(this,_0x49e2a0(0x3e3),this['_sessionStatus$'][_0x49e2a0(0x2cf)]()),g(this,_0x49e2a0(0x3e8),new _0x382230()),g(this,_0x49e2a0(0x3c5),this['_event$'][_0x49e2a0(0x2cf)]()),g(this,_0x49e2a0(0x223)),g(this,'_socketMessageSubscription'),g(this,_0x49e2a0(0x4b1)),g(this,_0x49e2a0(0x402),!0x1),g(this,'_telemetryInfo',null),(this[_0x49e2a0(0x145)]=_0xd00612,this[_0x49e2a0(0x2c3)]=_0x30e278,this[_0x49e2a0(0x291)]=_0x1a3ac3,this[_0x49e2a0(0x3a9)]=_0x223dab,this['_configService']=_0x2324fe,this[_0x49e2a0(0x428)]=_0x1d272c,this[_0x49e2a0(0x1d0)]=_0x290526,this[_0x49e2a0(0x3aa)]=_0x562832,this['_telemetryService']=_0x395e0c,this[_0x49e2a0(0x402)]=!!this[_0x49e2a0(0x382)],_0xca24ec[_0x49e2a0(0x3bf)](_0x1825a9(this[_0x49e2a0(0x118)]))[_0x49e2a0(0x236)](_0x289c73=>{const _0x23934a=_0x49e2a0;var _0x543272;typeof _0x289c73>'u'||(this[_0x23934a(0x223)]=_0x289c73,_0x289c73?(this[_0x23934a(0x116)](_0x289c73),this[_0x23934a(0x273)]=_0x289c73[_0x23934a(0x12b)]['subscribe'](_0x124403=>{const _0x25f8df=_0x23934a;_0x124403[_0x25f8df(0x379)]===this[_0x25f8df(0x145)]&&this[_0x25f8df(0x420)](_0x124403);})):(this[_0x23934a(0x3be)](),this[_0x23934a(0x1fe)][_0x23934a(0x2d2)](0x2),(_0x543272=this['_socketMessageSubscription'])==null||_0x543272[_0x23934a(0x308)](),this[_0x23934a(0x273)]=null));}),this[_0x49e2a0(0x3ec)](this['_beforeCloseService']['registerOnClose'](()=>{const _0x2c9375=_0x49e2a0;var _0x6f0df5;(_0x6f0df5=this['_socket'])==null||_0x6f0df5[_0x2c9375(0x512)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x2c9375(0x145)]}});})));}get[_0xf37888(0x1b7)](){return this['_sessionStatus$']['getValue']();}[_0xf37888(0x440)](){var _0x79c2b8,_0x262fb4;return(_0x262fb4=(_0x79c2b8=this['_socket'])==null?void 0x0:_0x79c2b8['memberID'])!=null?_0x262fb4:null;}[_0xf37888(0x4d5)](){const _0x14db51=_0xf37888;super['dispose'](),this[_0x14db51(0x118)][_0x14db51(0x2d2)](),this[_0x14db51(0x118)][_0x14db51(0x12e)]();}[_0xf37888(0x137)](){const _0x367063=_0xf37888;var _0x46b9e9,_0x1ba3bc;this['_throwTelemetryCollaborationNewChangeset'](),(_0x46b9e9=this[_0x367063(0x223)])==null||_0x46b9e9['send']({'cmd':W[_0x367063(0x4c7)],'data':{'roomID':this[_0x367063(0x145)]}}),(_0x1ba3bc=this[_0x367063(0x223)])==null||_0x1ba3bc[_0x367063(0x137)](),this[_0x367063(0x3e8)][_0x367063(0x12e)](),this['_sessionStatus$'][_0x367063(0x12e)](),this[_0x367063(0x4d5)]();}[_0xf37888(0x420)](_0x17bcc1){const _0x18361b=_0xf37888;_0x17bcc1[_0x18361b(0x180)]===W['JOIN']?this[_0x18361b(0x10d)](_0x17bcc1):_0x17bcc1['cmd']===W[_0x18361b(0x2e7)]&&this['_onRecvEvent'](_0x17bcc1);}[_0xf37888(0x116)](_0x33e1af){const _0x182c4c=_0xf37888;this[_0x182c4c(0x1fe)][_0x182c4c(0x2d2)](0x1),_0x33e1af[_0x182c4c(0x512)]({'cmd':W['JOIN'],'routeKey':this[_0x182c4c(0x145)],'routeType':'','data':{'rooms':[{'roomID':this[_0x182c4c(0x145)]}]}});}[_0xf37888(0x10d)](_0x2499a3){const _0x22568c=_0xf37888;var _0x512aa1;if(_0x2499a3[_0x22568c(0x266)]===Is[_0x22568c(0x18b)]){this[_0x22568c(0x3a9)]['show']({'type':_0x30a0d6['Warning'],'content':this[_0x22568c(0x428)]['t'](_0x22568c(0x126))}),this['_sessionStatus$'][_0x22568c(0x2d2)](0x2);return;}this['_sessionStatus$'][_0x22568c(0x2d2)](0x3);const _0x2a9e8c=(_0x512aa1=_0x2499a3[_0x22568c(0x1cc)][_0x22568c(0x278)][this[_0x22568c(0x145)]])==null?void 0x0:_0x512aa1[_0x22568c(0x175)];_0x2a9e8c&&_0x2a9e8c[_0x22568c(0x321)](_0x1c364d=>this['_memberService'][_0x22568c(0x1cb)](this[_0x22568c(0x145)],_0x1c364d));}['_onRecvEvent'](_0x12f98e){const _0x31d173=_0xf37888;try{const _0x4ac4ee=_0x12f98e['data'];switch(_0x4ac4ee[_0x31d173(0x214)]){case _0x3c3869[_0x31d173(0x170)]:this['_onUserJoin'](_0x4ac4ee),this['_event$']['next'](_0x4ac4ee);break;case _0x3c3869[_0x31d173(0x3c2)]:this[_0x31d173(0x133)](_0x4ac4ee),this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);break;case _0x3c3869[_0x31d173(0x309)]:case _0x3c3869[_0x31d173(0x37f)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x31d173(0x296)](),this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);break;case _0x3c3869[_0x31d173(0x445)]:this['_logService'][_0x31d173(0x329)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x4ac4ee)),this[_0x31d173(0x3e8)]['next'](_0x4ac4ee);break;case _0x3c3869['COMMENT_UPDATE']:this['_commentService'][_0x31d173(0x2a8)](_0x4ac4ee[_0x31d173(0x1cc)]),this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);break;default:this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);}}catch(_0x5b8f0c){this[_0x31d173(0x2c3)]['error'](_0x5b8f0c,_0x12f98e);}}['_onUserJoin'](_0x14e139){const _0x26a086=_0xf37888;this[_0x26a086(0x1d0)][_0x26a086(0x1cb)](this[_0x26a086(0x145)],_0x14e139[_0x26a086(0x1cc)]);}[_0xf37888(0x133)](_0x5dda7a){const _0x612278=_0xf37888;this['_memberService'][_0x612278(0x204)](this[_0x612278(0x145)],_0x5dda7a[_0x612278(0x1cc)][_0x612278(0x498)]);}async[_0xf37888(0x512)](_0x2be4a2,_0xa28601){const _0x125f0f=_0xf37888;if(this[_0x125f0f(0x1b7)]!==0x3||!this[_0x125f0f(0x223)])throw new Error(_0x125f0f(0x411));try{_0x2be4a2['eventID']===_0x3c3869['SUBMIT_CHANGESET']&&(this[_0x125f0f(0x229)](),this[_0x125f0f(0x210)](_0x2be4a2)),this[_0x125f0f(0x223)][_0x125f0f(0x512)]({'cmd':W[_0x125f0f(0x393)],'routeKey':_0xa28601,'routeType':'','data':_0x2be4a2});}catch(_0xa93f01){this[_0x125f0f(0x2c3)][_0x125f0f(0x329)](_0xa93f01);}}[_0xf37888(0x229)](){const _0x8e06a9=_0xf37888;var _0x4fd344;this[_0x8e06a9(0x4b1)]=window[_0x8e06a9(0x486)](()=>{const _0x45a778=_0x8e06a9;this[_0x45a778(0x4b1)]=null,this[_0x45a778(0x3a9)][_0x45a778(0x228)]({'type':_0x30a0d6[_0x45a778(0x45d)],'content':this[_0x45a778(0x428)]['t'](_0x45a778(0x283))});},(_0x4fd344=this['_configService'][_0x8e06a9(0x37a)](bi))!=null?_0x4fd344:Ti);}[_0xf37888(0x296)](){const _0x2ea754=_0xf37888;this[_0x2ea754(0x4b1)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2ea754(0x4b1)]=null);}[_0xf37888(0x210)](_0x59e1b3){const _0x862733=_0xf37888;if(!this[_0x862733(0x402)])return;const {data:_0x24e181}=_0x59e1b3,{unitID:_0x2fbd1a,changeset:_0x5d9454}=_0x24e181,{mutations:_0x12b4da,type:_0x37d81f}=_0x5d9454;this[_0x862733(0x496)]={'unitId':_0x2fbd1a,'type':_0x37d81f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x12b4da)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x5397f5=_0xf37888;if(this[_0x5397f5(0x402)]){if(!this[_0x5397f5(0x496)]){this['_logService'][_0x5397f5(0x329)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x5397f5(0x496)][_0x5397f5(0x16f)]=performance[_0x5397f5(0x41e)](),this[_0x5397f5(0x496)]['duration']=this[_0x5397f5(0x496)]['stopTime']-this[_0x5397f5(0x496)][_0x5397f5(0x2f0)],this[_0x5397f5(0x382)]['capture'](Nr,this[_0x5397f5(0x496)]),this[_0x5397f5(0x496)]=null;}}[_0xf37888(0x3be)](){const _0x478877=_0xf37888;this[_0x478877(0x496)]=null;}};ts=Br([Ee(0x2,_0x399eca),Ee(0x3,_0x1e394f),Ee(0x4,_0xffafbc),Ee(0x5,_0x45a6b3),Ee(0x6,_0x39c8b8(_0x50f35b)),Ee(0x7,_0x39c8b8(Ne)),Ee(0x8,_0x39c8b8(wi)),Ee(0x9,_0x174482(_0x5a8609))],ts);var kr=Object[_0xf37888(0x320)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x182db0,_0x58cf4e,_0x22b8b7,_0x47f8b5)=>{const _0x4397ef=_0xf37888;for(var _0x41ac82=_0x47f8b5>0x1?void 0x0:_0x47f8b5?Wr(_0x58cf4e,_0x22b8b7):_0x58cf4e,_0x489af4=_0x182db0[_0x4397ef(0x42c)]-0x1,_0x2a9f75;_0x489af4>=0x0;_0x489af4--)(_0x2a9f75=_0x182db0[_0x489af4])&&(_0x41ac82=(_0x47f8b5?_0x2a9f75(_0x58cf4e,_0x22b8b7,_0x41ac82):_0x2a9f75(_0x41ac82))||_0x41ac82);return _0x47f8b5&&_0x41ac82&&kr(_0x58cf4e,_0x22b8b7,_0x41ac82),_0x41ac82;},je=(_0x1d748b,_0x1e5996)=>(_0x563472,_0x5a18d6)=>_0x1e5996(_0x563472,_0x5a18d6,_0x1d748b);let Ae=class extends _0xb54fec{constructor(_0x474a30,_0x4ab738,_0x5119c3,_0x4a756f,_0x2c9737,_0x459436){const _0x52557d=_0xf37888;super(),g(this,_0x52557d(0x2d0),new _0x7465ad(void 0x0)),g(this,'socket$',this['_socket$']['asObservable']()),g(this,_0x52557d(0x176),null),g(this,_0x52557d(0x287),new Map()),g(this,_0x52557d(0x18e),new _0x7465ad(ve[_0x52557d(0x13a)])),g(this,_0x52557d(0x263),this['_status$'][_0x52557d(0x2cf)]()),g(this,_0x52557d(0x115),!0x1),g(this,_0x52557d(0x467)),g(this,'_retryCount',0x0),g(this,_0x52557d(0x4f2)),g(this,_0x52557d(0x24e)),(this[_0x52557d(0x43d)]=_0x474a30,this['_localeService']=_0x4ab738,this[_0x52557d(0x3a9)]=_0x5119c3,this[_0x52557d(0x2c3)]=_0x4a756f,this[_0x52557d(0x1f2)]=_0x2c9737,this['_socketService']=_0x459436,this['_initEventListeners']());}get['_socket'](){const _0x225f2c=_0xf37888;return this[_0x225f2c(0x2d0)][_0x225f2c(0x1aa)]();}['_initEventListeners'](){const _0x1846f3=_0xf37888;this[_0x1846f3(0x289)](),this[_0x1846f3(0x456)]();}[_0xf37888(0x4d5)](){const _0x45a09f=_0xf37888;super[_0x45a09f(0x4d5)](),this[_0x45a09f(0x287)]['forEach'](_0x4cab81=>_0x4cab81[_0x45a09f(0x4d5)]()),this[_0x45a09f(0x287)]['clear'](),this[_0x45a09f(0x18e)]['complete']();}async[_0xf37888(0x4f0)](_0x18c4d9){const _0x425c99=_0xf37888;if(this['_sessions']['has'](_0x18c4d9))return this['_sessions'][_0x425c99(0x166)](_0x18c4d9);this[_0x425c99(0x4c2)]();const _0x5539f9=this[_0x425c99(0x43d)][_0x425c99(0x3d0)](ts,_0x18c4d9,this['_socket$'][_0x425c99(0x2cf)]());return this[_0x425c99(0x287)][_0x425c99(0x1ec)](_0x18c4d9,_0x5539f9),_0x5539f9;}[_0xf37888(0x38f)](_0x28ce30){const _0x5ba6d8=_0xf37888;var _0x4d6128;const _0x4afd37=this[_0x5ba6d8(0x287)][_0x5ba6d8(0x166)](_0x28ce30);_0x4afd37&&(this[_0x5ba6d8(0x287)][_0x5ba6d8(0x3ab)](_0x28ce30),_0x4afd37['close']()),this[_0x5ba6d8(0x287)][_0x5ba6d8(0x189)]||(_0x4d6128=this['_socket'])==null||_0x4d6128[_0x5ba6d8(0x137)]();}[_0xf37888(0x3cd)](){const _0x49b2bc=_0xf37888;this[_0x49b2bc(0x295)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x49b2bc(0x467)]=null),this[_0x49b2bc(0x151)]();}[_0xf37888(0x1d5)](){const _0x1068cd=_0xf37888;var _0x41a29c,_0x213040;const _0x496a40=this[_0x1068cd(0x1f2)][_0x1068cd(0x37a)](ur),_0x19e418=this[_0x1068cd(0x1f2)]['getConfig'](ie),_0x599291=(_0x213040=(_0x41a29c=_0x19e418==null?void 0x0:_0x19e418[_0x1068cd(0x114)])!=null?_0x41a29c:_0x496a40)!=null?_0x213040:dr,_0x54d8ed=this['_socketService'][_0x1068cd(0x4fb)](_0x599291);return this[_0x1068cd(0x176)]=_0x54d8ed,_0x54d8ed;}[_0xf37888(0x4c2)](){const _0x335069=_0xf37888;var _0x34ada7,_0x8c7b65;try{const _0x120a53=(_0x8c7b65=(_0x34ada7=this[_0x335069(0x223)])!=null?_0x34ada7:this[_0x335069(0x176)])!=null?_0x8c7b65:this[_0x335069(0x1d5)]();if(_0x120a53){const _0x3fc139=_0x120a53[_0x335069(0x512)];_0x120a53[_0x335069(0x512)]=_0x2b85f2=>(this[_0x335069(0x400)](),_0x3fc139['apply'](_0x120a53,[_0x2b85f2])),_0x120a53['message$'][_0x335069(0x236)](_0x45511b=>this[_0x335069(0x1b1)](_0x120a53,_0x45511b)),_0x120a53[_0x335069(0x497)]['pipe'](_0xf9885d(0x1))[_0x335069(0x236)](_0x28b741=>this[_0x335069(0x2c3)][_0x335069(0x329)](_0x335069(0x17c),_0x28b741)),_0x120a53[_0x335069(0x11b)][_0x335069(0x3bf)](_0xf9885d(0x1))[_0x335069(0x236)](()=>{const _0x34fa95=_0x335069;this[_0x34fa95(0x21e)](_0x120a53);}),_0x120a53[_0x335069(0x45f)][_0x335069(0x3bf)](_0xf9885d(0x1))[_0x335069(0x236)](_0x5a8fbb=>{const _0x7f8817=_0x335069;this['_logService'][_0x7f8817(0x13c)](_0x7f8817(0x260),'socket\x20close',_0x5a8fbb),this[_0x7f8817(0x454)]();});}}catch(_0x57af49){this[_0x335069(0x2c3)][_0x335069(0x329)](_0x57af49),this[_0x335069(0x454)]();}}[_0xf37888(0x21e)](_0x6d5758){const _0x541115=_0xf37888;this[_0x541115(0x2c3)][_0x541115(0x13c)](_0x541115(0x260),'socket\x20open.'),_0x6d5758[_0x541115(0x512)]({'cmd':W[_0x541115(0x42e)]}),this[_0x541115(0x400)]();}[_0xf37888(0x289)](){const _0x40b10c=_0xf37888;window[_0x40b10c(0x453)]('offline',()=>this['_onOffline']());}['_onOffline'](){const _0x402c31=_0xf37888;this[_0x402c31(0x115)]=!0x1,this['_candidateSocket']=null,this[_0x402c31(0x18e)][_0x402c31(0x2d2)](ve[_0x402c31(0x33c)]),this[_0x402c31(0x2d0)]['next'](null),this[_0x402c31(0x3a1)](),this[_0x402c31(0x178)]();}[_0xf37888(0x454)](){const _0x4d4716=_0xf37888;var _0x29460d;this['_onOffline'](),this['_retryCount']<((_0x29460d=this[_0x4d4716(0x1f2)]['getConfig'](pr))!=null?_0x29460d:gr)?(this['_messageService']['show']({'key':_0x4d4716(0x1cd),'type':_0x30a0d6[_0x4d4716(0x22f)],'content':this[_0x4d4716(0x428)]['t'](_0x4d4716(0x3a8))}),this['_tryReconnect']()):this[_0x4d4716(0x3a9)][_0x4d4716(0x228)]({'key':_0x4d4716(0x1cd),'type':_0x30a0d6[_0x4d4716(0x45d)],'content':this['_localeService']['t'](_0x4d4716(0x18d))});}[_0xf37888(0x456)](){const _0x42b25f=_0xf37888,_0x1e51ea=()=>{const _0x39488d=_0x136c;this[_0x39488d(0x223)]||this[_0x39488d(0x3cd)]();},_0xb11a33=()=>{const _0x211dda=_0x136c;this[_0x211dda(0x223)]||document[_0x211dda(0x1af)]===_0x211dda(0x41c)||this[_0x211dda(0x3cd)]();};window[_0x42b25f(0x453)]('online',_0x1e51ea),document[_0x42b25f(0x453)]('visibilitychange',_0xb11a33);}['_tryReconnect'](){const _0x51acee=_0xf37888;var _0x2e1ead;const _0x332b9c=this['_retryCount'],_0x4fee95=this[_0x51acee(0x1f2)][_0x51acee(0x37a)](ie),_0x2f1f25=_0x332b9c===0x0?0x0:((_0x2e1ead=_0x4fee95==null?void 0x0:_0x4fee95[_0x51acee(0x491)])!=null?_0x2e1ead:mr)*0x2**_0x332b9c;this[_0x51acee(0x467)]=window['setTimeout'](()=>{const _0x4bcf84=_0x51acee;clearTimeout(this['_retryConnectingTimer']),this[_0x4bcf84(0x467)]=null,this[_0x4bcf84(0x4c2)]();},_0x2f1f25),this['_retryCount']+=0x1;}[_0xf37888(0x1b1)](_0x1d8122,_0x36a487){const _0x4208a0=_0xf37888,{cmd:_0x27fde9}=_0x36a487;_0x27fde9===W[_0x4208a0(0x42e)]&&!this['_socketReady']&&(_0x1d8122[_0x4208a0(0x498)]=_0x36a487['data'][_0x4208a0(0x498)],this['_socket$'][_0x4208a0(0x2d2)](_0x1d8122),this['_status$'][_0x4208a0(0x2d2)](ve[_0x4208a0(0x312)]),this[_0x4208a0(0x115)]=!0x0,this[_0x4208a0(0x176)]=null),_0x27fde9===W[_0x4208a0(0x1c7)]&&this[_0x4208a0(0x3a1)](),this[_0x4208a0(0x400)]();}[_0xf37888(0x400)](){const _0x2779a8=_0xf37888;var _0x4d0a25;this[_0x2779a8(0x178)](),this[_0x2779a8(0x4f2)]=window[_0x2779a8(0x486)](()=>this[_0x2779a8(0x252)](),(_0x4d0a25=this[_0x2779a8(0x1f2)]['getConfig'](fr))!=null?_0x4d0a25:vr);}[_0xf37888(0x252)](){const _0x3ab3a1=_0xf37888;this[_0x3ab3a1(0x223)][_0x3ab3a1(0x512)]({'cmd':W[_0x3ab3a1(0x1c7)]}),this[_0x3ab3a1(0x261)]();}[_0xf37888(0x261)](){const _0x4e55c9=_0xf37888;var _0x20c1e1;this[_0x4e55c9(0x24e)]=window[_0x4e55c9(0x486)](()=>this[_0x4e55c9(0x454)](),(_0x20c1e1=this[_0x4e55c9(0x1f2)]['getConfig'](bi))!=null?_0x20c1e1:Ti);}[_0xf37888(0x178)](){const _0x57903c=_0xf37888;this[_0x57903c(0x4f2)]!=null&&(clearTimeout(this[_0x57903c(0x4f2)]),this['_sendHeartbeatTimer']=null);}[_0xf37888(0x3a1)](){const _0x5ba6e0=_0xf37888;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5ba6e0(0x24e)]=null);}};Ae=Fr([je(0x0,_0x39c8b8(_0x2fd08f)),je(0x1,_0x39c8b8(_0x50f35b)),je(0x2,_0xffafbc),je(0x3,_0x399eca),je(0x4,_0x45a6b3),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0xf37888(0x270)]((i+0x100)[_0xf37888(0x492)](0x10)[_0xf37888(0x3cb)](0x1));function Vr(_0x1d28f0,_0x2b9dde=0x0){const _0x296bdc=_0xf37888;return(Y[_0x1d28f0[_0x2b9dde+0x0]]+Y[_0x1d28f0[_0x2b9dde+0x1]]+Y[_0x1d28f0[_0x2b9dde+0x2]]+Y[_0x1d28f0[_0x2b9dde+0x3]]+'-'+Y[_0x1d28f0[_0x2b9dde+0x4]]+Y[_0x1d28f0[_0x2b9dde+0x5]]+'-'+Y[_0x1d28f0[_0x2b9dde+0x6]]+Y[_0x1d28f0[_0x2b9dde+0x7]]+'-'+Y[_0x1d28f0[_0x2b9dde+0x8]]+Y[_0x1d28f0[_0x2b9dde+0x9]]+'-'+Y[_0x1d28f0[_0x2b9dde+0xa]]+Y[_0x1d28f0[_0x2b9dde+0xb]]+Y[_0x1d28f0[_0x2b9dde+0xc]]+Y[_0x1d28f0[_0x2b9dde+0xd]]+Y[_0x1d28f0[_0x2b9dde+0xe]]+Y[_0x1d28f0[_0x2b9dde+0xf]])[_0x296bdc(0x4a4)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0xa1e9ae=_0xf37888;if(!Nt){if(typeof crypto>'u'||!crypto[_0xa1e9ae(0x232)])throw new Error(_0xa1e9ae(0x1e5));Nt=crypto['getRandomValues']['bind'](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto[_0xf37888(0x2c0)]&&crypto[_0xf37888(0x2c0)]['bind'](crypto),js={'randomUUID':Kr};function zr(_0x51b278,_0x5742f3,_0x52fd44){const _0x22a971=_0xf37888;if(js['randomUUID']&&!_0x5742f3&&!_0x51b278)return js[_0x22a971(0x2c0)]();_0x51b278=_0x51b278||{};const _0xd1344b=_0x51b278[_0x22a971(0x226)]||(_0x51b278[_0x22a971(0x49d)]||Yr)();return _0xd1344b[0x6]=_0xd1344b[0x6]&0xf|0x40,_0xd1344b[0x8]=_0xd1344b[0x8]&0x3f|0x80,Vr(_0xd1344b);}var qr=Object['defineProperty'],Xr=Object[_0xf37888(0x26b)],Jr=(_0x2efee8,_0x21a6ac,_0x47e58b,_0xdf884e)=>{const _0x406431=_0xf37888;for(var _0x14f212=_0xdf884e>0x1?void 0x0:_0xdf884e?Xr(_0x21a6ac,_0x47e58b):_0x21a6ac,_0x20d8c5=_0x2efee8[_0x406431(0x42c)]-0x1,_0x377bb2;_0x20d8c5>=0x0;_0x20d8c5--)(_0x377bb2=_0x2efee8[_0x20d8c5])&&(_0x14f212=(_0xdf884e?_0x377bb2(_0x21a6ac,_0x47e58b,_0x14f212):_0x377bb2(_0x14f212))||_0x14f212);return _0xdf884e&&_0x14f212&&qr(_0x21a6ac,_0x47e58b,_0x14f212),_0x14f212;},At=(_0x3736cb,_0x5a2454)=>(_0x1a18f1,_0x24fadd)=>_0x5a2454(_0x1a18f1,_0x24fadd,_0x3736cb);let ft=class{constructor(_0x30f25d,_0x374560,_0x320cb8){const _0x64c5cb=_0xf37888;this[_0x64c5cb(0x43d)]=_0x30f25d,this[_0x64c5cb(0x310)]=_0x374560,this[_0x64c5cb(0x1b5)]=_0x320cb8;}[_0xf37888(0x30b)](_0x3c4dfd){const _0x2c8d54=_0xf37888;this['_transformUndoRedoStack'](_0x3c4dfd),this[_0x2c8d54(0x2be)](_0x3c4dfd);}[_0xf37888(0x423)](_0x2c7c68){const _0x5c6c83=_0xf37888,{unitID:_0xd2129b}=_0x2c7c68,_0x15da21=this[_0x5c6c83(0x1b5)]['getRenderById'](_0xd2129b)['with'](_0x1ee80f),{redoCache:_0x444dcd}=_0x15da21['getUndoRedoMutationParamsCache']();if(_0x444dcd[_0x5c6c83(0x42c)]===0x0)return _0x2c7c68;let _0x131b48=_0x5d7755[_0x5c6c83(0x1ea)](_0x2c7c68[_0x5c6c83(0x372)][0x0]);for(let _0xb7b8f0=0x0;_0xb7b8f0<_0x444dcd[_0x5c6c83(0x42c)];_0xb7b8f0++){const _0x315e7f={'id':_0x5c6c83(0x1a5),'params':{..._0x444dcd[_0xb7b8f0]}},_0x235a21=this['_transformService'][_0x5c6c83(0x1b8)](_0x131b48,_0x315e7f,!0x1);if(_0xfceaae(_0x235a21))throw _0x235a21['error'];_0x131b48=_0x235a21[_0x5c6c83(0x36b)];}return{..._0x5d7755[_0x5c6c83(0x1ea)](_0x2c7c68),'mutations':[_0x131b48]};}['_transformUndoRedoStack'](_0x48645d){const _0x5d47eb=_0xf37888,{unitID:_0x29b427}=_0x48645d,_0x2f8e8c=this[_0x5d47eb(0x1b5)][_0x5d47eb(0x46d)](_0x29b427)['with'](_0x1ee80f),{undoCache:_0x3a1494,redoCache:_0x4fa7e5}=_0x2f8e8c[_0x5d47eb(0x267)]();if(_0x3a1494['length']===0x0||_0x4fa7e5['length']===0x0)return;const _0x3d0075=[],_0x43ada0=[];let _0x5545cf=_0x5d7755[_0x5d47eb(0x1ea)](_0x48645d['mutations'][0x0]),_0x20c010=_0x5d7755['deepClone'](_0x48645d['mutations'][0x0]);for(let _0x481508=_0x3a1494['length']-0x1;_0x481508>=0x0;_0x481508--){const _0x28c541={'id':_0x5d47eb(0x1a5),'params':{..._0x3a1494[_0x481508]}},_0x127ce5={'id':_0x5d47eb(0x1a5),'params':{..._0x4fa7e5[_0x481508]}},_0x40d1ce=this[_0x5d47eb(0x310)][_0x5d47eb(0x1b8)](_0x5545cf,_0x28c541,!0x1),_0x3789fb=this[_0x5d47eb(0x310)][_0x5d47eb(0x1b8)](_0x20c010,_0x127ce5,!0x1);if(_0xfceaae(_0x40d1ce))throw _0x40d1ce[_0x5d47eb(0x329)];if(_0xfceaae(_0x3789fb))throw _0x3789fb[_0x5d47eb(0x329)];_0x3d0075[_0x5d47eb(0x46c)](_0x40d1ce[_0x5d47eb(0x44b)][_0x5d47eb(0x274)]),_0x43ada0[_0x5d47eb(0x46c)](_0x3789fb[_0x5d47eb(0x44b)][_0x5d47eb(0x274)]),_0x5545cf=_0x40d1ce[_0x5d47eb(0x36b)],_0x20c010=_0x3789fb['m1Prime'];}_0x2f8e8c[_0x5d47eb(0x4a6)]({'undoCache':_0x3d0075,'redoCache':_0x43ada0});}['_transformPreviousActiveRange'](_0x1821f1){const _0x322eef=_0xf37888,{unitID:_0x409cad}=_0x1821f1,_0x3b3868=this[_0x322eef(0x1b5)][_0x322eef(0x46d)](_0x409cad)[_0x322eef(0x2f6)](_0x1ee80f),_0x40fc50=_0x3b3868[_0x322eef(0x2c5)]();if(_0x40fc50==null)return;const _0x3cee09=[{'id':_0x322eef(0x1a5),'params':{'unitId':_0x1821f1['unitID'],'actions':null,'textRanges':[_0x40fc50]}}],_0x59c592=this[_0x322eef(0x310)][_0x322eef(0x134)](_0x1821f1,_0x3cee09);if(!_0x2de823(_0x59c592))throw _0x59c592[_0x322eef(0x329)];const _0x16bf48=_0x59c592['m2Prime'][0x0]['params']['textRanges'];Array[_0x322eef(0x255)](_0x16bf48)&&_0x16bf48['length']&&_0x3b3868[_0x322eef(0x2fb)](_0x16bf48[0x0]);}};ft=Jr([At(0x0,_0x39c8b8(_0x2fd08f)),At(0x1,_0x36ceed),At(0x2,_0x4e7ca1)],ft);var Zr=Object['defineProperty'],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x239746,_0x541419,_0x2902ab,_0x5788f5)=>{const _0x43cf28=_0xf37888;for(var _0xf8d472=_0x5788f5>0x1?void 0x0:_0x5788f5?Qr(_0x541419,_0x2902ab):_0x541419,_0x1c6fd5=_0x239746[_0x43cf28(0x42c)]-0x1,_0x294c7e;_0x1c6fd5>=0x0;_0x1c6fd5--)(_0x294c7e=_0x239746[_0x1c6fd5])&&(_0xf8d472=(_0x5788f5?_0x294c7e(_0x541419,_0x2902ab,_0xf8d472):_0x294c7e(_0xf8d472))||_0xf8d472);return _0x5788f5&&_0xf8d472&&Zr(_0x541419,_0x2902ab,_0xf8d472),_0xf8d472;},Xe=(_0x40acf4,_0x5e8f11)=>(_0x54aa00,_0x99de38)=>_0x5e8f11(_0x54aa00,_0x99de38,_0x40acf4);let q=class extends _0xb54fec{constructor(_0x73765c,_0x662ac3,_0x24a704,_0x1efddb,_0x4eefa1){const _0x1f8707=_0xf37888;super(),g(this,_0x1f8707(0x17d),new Map()),g(this,'_saveTaskMap',new Map()),g(this,'_disabled',!0x1),(this[_0x1f8707(0x1f2)]=_0x73765c,this[_0x1f8707(0x4d8)]=_0x662ac3,this[_0x1f8707(0x291)]=_0x24a704,this[_0x1f8707(0x428)]=_0x1efddb,this[_0x1f8707(0x437)]=_0x4eefa1,this[_0x1f8707(0x1dd)]());}[_0xf37888(0x3a7)](){this['_disabled']=!0x0;}[_0xf37888(0x4ce)](){const _0x425b0c=_0xf37888;this[_0x425b0c(0x234)]=!0x1;}[_0xf37888(0x4d5)](){const _0x365a8a=_0xf37888;this['exhaustSavingTask']()['then'](()=>super[_0x365a8a(0x4d5)]());}async['loadOfflineData'](_0x2d5cc4){const _0x5c0b00=_0xf37888;return this['_disabled']?null:this[_0x5c0b00(0x4d8)][_0x5c0b00(0x1f0)](Bs(_0x2d5cc4));}async[_0xf37888(0x194)](_0x104f66,_0x21b96b){const _0x4b82c7=_0xf37888;return!!this[_0x4b82c7(0x4d8)][_0x4b82c7(0x4b8)](_0x104f66,_0x21b96b);}[_0xf37888(0x22b)](_0x145e3a,_0xd8db9f,_0x31fa54,_0x45f314){const _0x269314=_0xf37888,_0x28c2eb=this[_0x269314(0x437)][_0x269314(0x4c3)](_0x145e3a);this[_0x269314(0x17d)][_0x269314(0x1ec)](_0x145e3a,{'unitID':_0x145e3a,'type':_0xd8db9f,'awaitingChangeset':_0x31fa54,'mutations':_0x45f314,'rev':_0x28c2eb}),this[_0x269314(0x47c)][_0x269314(0x4af)](_0x145e3a)||this[_0x269314(0x325)](_0x145e3a);}['_scheduleSaving'](_0x1022cc){const _0x155e4d=_0xf37888,_0x2c0d55=this[_0x155e4d(0x2bd)]();_0x2c0d55===0x0?this[_0x155e4d(0x16c)](_0x1022cc):this[_0x155e4d(0x47c)][_0x155e4d(0x1ec)](_0x1022cc,setTimeout(()=>this['_saveCache'](_0x1022cc),_0x2c0d55));}[_0xf37888(0x2bd)](){const _0x45373d=_0xf37888;var _0xdf686f;return(_0xdf686f=this[_0x45373d(0x1f2)][_0x45373d(0x37a)](Sr))!=null?_0xdf686f:Ir;}[_0xf37888(0x16c)](_0x350de2){const _0x5c3d15=_0xf37888,_0x1ddd0e=this['_saveTaskMap'][_0x5c3d15(0x166)](_0x350de2);return _0x1ddd0e!==void 0x0&&window[_0x5c3d15(0x13f)](_0x1ddd0e),this[_0x5c3d15(0x4d8)]['setItem'](Bs(_0x350de2),this[_0x5c3d15(0x17d)][_0x5c3d15(0x166)](_0x350de2))[_0x5c3d15(0x1ed)](()=>this[_0x5c3d15(0x47c)][_0x5c3d15(0x3ab)](_0x350de2));}async['exhaustSavingTask'](){const _0x49be1a=[];this['_saveTaskMap']['forEach']((_0xd4702d,_0x5c1e7b)=>{const _0x3a751e=_0x136c;window['clearTimeout'](_0xd4702d),_0x49be1a[_0x3a751e(0x270)](this[_0x3a751e(0x16c)](_0x5c1e7b)[_0x3a751e(0x1ed)](()=>{const _0x3128be=_0x3a751e;this[_0x3128be(0x47c)][_0x3128be(0x3ab)](_0x5c1e7b);}));}),await Promise['all'](_0x49be1a);}[_0xf37888(0x1dd)](){const _0x425bf1=_0xf37888;this[_0x425bf1(0x3ec)](this['_beforeCloseService'][_0x425bf1(0x351)](()=>{const _0x54aa57=_0x425bf1;if(this['_saveTaskMap'][_0x54aa57(0x189)])return this[_0x54aa57(0x428)]['t']('collaboration-client.offline-data-not-saved');}));}};q=eo([Xe(0x0,_0x45a6b3),Xe(0x1,_0x4f5ce1),Xe(0x2,_0x1e394f),Xe(0x3,_0x39c8b8(_0x50f35b)),Xe(0x4,_0x39c8b8(_0x304c49))],q);function Bs(_0x147b30){const _0xd4cea0=_0xf37888;return _0xd4cea0(0x32b)+_0x147b30;}var to=Object[_0xf37888(0x320)],so=Object[_0xf37888(0x26b)],io=(_0xfdb552,_0x67ae64,_0x48949d,_0x3ad777)=>{for(var _0x5aace7=_0x3ad777>0x1?void 0x0:_0x3ad777?so(_0x67ae64,_0x48949d):_0x67ae64,_0x4f0cc7=_0xfdb552['length']-0x1,_0x57a557;_0x4f0cc7>=0x0;_0x4f0cc7--)(_0x57a557=_0xfdb552[_0x4f0cc7])&&(_0x5aace7=(_0x3ad777?_0x57a557(_0x67ae64,_0x48949d,_0x5aace7):_0x57a557(_0x5aace7))||_0x5aace7);return _0x3ad777&&_0x5aace7&&to(_0x67ae64,_0x48949d,_0x5aace7),_0x5aace7;},Mt=(_0x2e700e,_0x4807a0)=>(_0x3eaa1c,_0x5ce090)=>_0x4807a0(_0x3eaa1c,_0x5ce090,_0x2e700e);function no(_0x55fad2){const _0x29aba7=_0xf37888,{unitID:_0x29dadc,mutations:_0x572cd6}=_0x55fad2;return{'unitId':_0x29dadc,'subUnitId':_0x572cd6[0x0][_0x29aba7(0x274)][_0x29aba7(0x24a)]};}let vt=class{constructor(_0x2fcb22,_0x57efba,_0x3cc029){const _0x42867a=_0xf37888;this['_injector']=_0x2fcb22,this[_0x42867a(0x310)]=_0x57efba,this['_instanceService']=_0x3cc029;}[_0xf37888(0x2c1)](_0x3dadf8){const _0x40c75d=_0xf37888;var _0x52cdca,_0x680aa0,_0x37ad2b,_0x3273cc;const _0x3027da=this['_injector']['get'](_0x2ff3ec),{unitId:_0x354531,subUnitId:_0x392f5e}=no(_0x3dadf8),_0x416ec0=_0x3027da[_0x40c75d(0x3c1)](_0x354531)['getCurrentSelections'](),_0x5dc47c=(_0x680aa0=(_0x52cdca=this[_0x40c75d(0x202)][_0x40c75d(0x30e)](_0x354531))==null?void 0x0:_0x52cdca[_0x40c75d(0x14f)]())==null?void 0x0:_0x680aa0[_0x40c75d(0x370)]();if(_0x416ec0[_0x40c75d(0x42c)]===0x0||!_0x354531||!_0x392f5e)return;const _0x4d9a7f=[{'id':_0x455bea['id'],'params':{'unitId':_0x354531,'subUnitId':_0x5dc47c,'selections':_0x5d7755[_0x40c75d(0x1ea)](_0x416ec0)}}],_0x4b4933=this[_0x40c75d(0x310)][_0x40c75d(0x134)](_0x3dadf8,_0x4d9a7f);if(!_0x2de823(_0x4b4933))throw _0x4b4933[_0x40c75d(0x329)];const _0x27244b=(_0x3273cc=(_0x37ad2b=_0x4b4933[_0x40c75d(0x44b)][0x0])==null?void 0x0:_0x37ad2b[_0x40c75d(0x274)])==null?void 0x0:_0x3273cc[_0x40c75d(0x3fb)];if(Array[_0x40c75d(0x255)](_0x27244b)&&_0x27244b[_0x40c75d(0x42c)]){if(_0x27244b['length']===_0x4d9a7f[0x0]['params'][_0x40c75d(0x3fb)][_0x40c75d(0x42c)]&&_0x27244b[_0x40c75d(0x195)]((_0x41b4a0,_0x1cf99a)=>_0x3bc9a8[_0x40c75d(0x142)](_0x41b4a0[_0x40c75d(0x3f9)],_0x4d9a7f[0x0]['params'][_0x40c75d(0x3fb)][_0x1cf99a][_0x40c75d(0x3f9)])))return;this['_injector'][_0x40c75d(0x166)](_0x48fc43)[_0x40c75d(0x163)](_0x455bea['id'],{'unitId':_0x354531,'subUnitId':_0x5dc47c,'selections':_0x27244b});}}};vt=io([Mt(0x0,_0x39c8b8(_0x2fd08f)),Mt(0x1,_0x36ceed),Mt(0x2,_0x6b8e83)],vt);const Rt=_0x11a95d('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x2462cb=>(_0x2462cb[_0x2462cb[_0xf37888(0x334)]=0x0]=_0xf37888(0x334),_0x2462cb[_0x2462cb['OTHER_CLIENTS_EDITING']=0x1]=_0xf37888(0x280),_0x2462cb))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class ro extends _0xb54fec{constructor(){const _0x41b157=_0xf37888;super(),g(this,'_id',_0x5d7755[_0x41b157(0x44e)]()),g(this,_0x41b157(0x4de),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,_0x41b157(0x25a),new Map()),g(this,_0x41b157(0x466),new Map()),this[_0x41b157(0x406)]();}['dispose'](){const _0x1e065b=_0xf37888;super[_0x1e065b(0x4d5)](),this[_0x1e065b(0x25a)][_0x1e065b(0x321)]((_0x59726f,_0xb720fd)=>this[_0x1e065b(0x4cc)](_0xb720fd)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x1e065b(0x182)]);}[_0xf37888(0x3e4)](_0x344c2f){const _0x215de6=_0xf37888;return this[_0x215de6(0x347)](_0x344c2f)[_0x215de6(0x3bf)](_0x7d7043());}[_0xf37888(0x1f8)](_0x47facc){const _0x433403=_0xf37888;this[_0x433403(0x4de)][_0x433403(0x189)]===0x0&&this[_0x433403(0x32e)](),this[_0x433403(0x4de)][_0x433403(0x389)](_0x47facc),this[_0x433403(0x4e0)]({'type':0x0,'memberID':this[_0x433403(0x503)],'unitIDs':[_0x47facc],'isForwarded':!0x1});}['disposeUnit'](_0x148046){const _0x47604a=_0xf37888;this[_0x47604a(0x4de)][_0x47604a(0x3ab)](_0x148046),this[_0x47604a(0x4de)][_0x47604a(0x189)]===0x0&&this[_0x47604a(0x182)]&&window[_0x47604a(0x330)](this['_heartbeatTimer']);}[_0xf37888(0x406)](){const _0x2b29a9=_0xf37888;this[_0x2b29a9(0x3ec)](_0x5b8af0(_0x5ea6fd(window,_0x2b29a9(0x37d))[_0x2b29a9(0x236)](_0xba5eda=>{const _0x128cf4=_0x2b29a9;if(_0xba5eda[_0x128cf4(0x335)]!==Ws||!_0xba5eda['newValue'])return;const _0x588b14=JSON[_0x128cf4(0x2e9)](_0xba5eda['newValue']);this[_0x128cf4(0x164)](_0x588b14);}))),window['addEventListener'](_0x2b29a9(0x20a),()=>this[_0x2b29a9(0x4e0)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2b29a9(0x123)](this['_selfUnitIDs'])}));}[_0xf37888(0x164)](_0x194d0e){const _0x788c82=_0xf37888;switch(_0x194d0e[_0x788c82(0x1fd)]){case 0x0:this[_0x788c82(0x39c)](_0x194d0e);break;case 0x1:this[_0x788c82(0x348)](_0x194d0e);break;case 0x2:this[_0x788c82(0x3da)](_0x194d0e);break;}}['_handleJoinEvent'](_0xe2640b){const _0x586436=_0xf37888,{unitIDs:_0x4f0278,memberID:_0x5bd9f9,isForwarded:_0x51dd2b}=_0xe2640b;_0x4f0278[_0x586436(0x321)](_0x28a442=>{const _0x5b7438=_0x586436;if(!_0x51dd2b&&this[_0x5b7438(0x2de)][_0x5b7438(0x4af)](_0x28a442)&&this['_ensureSubject'](_0x28a442)['next'](0x1),!this[_0x5b7438(0x2de)][_0x5b7438(0x4af)](_0x28a442)||!this[_0x5b7438(0x2de)][_0x5b7438(0x166)](_0x28a442)[_0x5b7438(0x4af)](_0x5bd9f9)){const _0xd45264=this[_0x5b7438(0x2de)][_0x5b7438(0x166)](_0x28a442)||new Set();_0xd45264[_0x5b7438(0x389)](_0x5bd9f9),this[_0x5b7438(0x2de)]['set'](_0x28a442,_0xd45264),this[_0x5b7438(0x1e4)](_0x5bd9f9);}}),_0x51dd2b||this[_0x586436(0x4e0)]({'type':0x0,'memberID':this[_0x586436(0x503)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xf37888(0x1e4)](_0x35d79d){const _0x30454f=_0xf37888;this[_0x30454f(0x4cc)](_0x35d79d);const _0x193fd1=window['setTimeout'](()=>{const _0x5a7186=_0x30454f;this[_0x5a7186(0x2de)][_0x5a7186(0x321)](_0x422565=>{const _0x1ac828=_0x5a7186;_0x422565[_0x1ac828(0x3ab)](_0x35d79d);});},ks*0x2);this[_0x30454f(0x25a)]['set'](_0x35d79d,_0x193fd1);}[_0xf37888(0x4cc)](_0x254858){const _0x3c829f=_0xf37888;if(this[_0x3c829f(0x25a)][_0x3c829f(0x4af)](_0x254858)){const _0x43a50e=this['_clearOtherTimers']['get'](_0x254858);_0x43a50e&&window[_0x3c829f(0x13f)](_0x43a50e),this[_0x3c829f(0x25a)]['set'](_0x254858,null);}}[_0xf37888(0x348)](_0x273b43){const _0x58dbaa=_0xf37888,{memberID:_0x2ee493,unitIDs:_0x3bc9da}=_0x273b43;_0x3bc9da[_0x58dbaa(0x321)](_0x4464da=>{const _0x2ed70e=_0x58dbaa;var _0x11971f;const _0x5a65e8=this['_unitOnClients']['get'](_0x4464da);_0x5a65e8&&(_0x5a65e8[_0x2ed70e(0x3ab)](_0x2ee493),(_0x11971f=this[_0x2ed70e(0x347)](_0x4464da))==null||_0x11971f['next'](_0x5a65e8['size']===0x0?0x0:0x1));}),this[_0x58dbaa(0x4cc)](_0x2ee493);}[_0xf37888(0x3da)](_0x317bd7){const _0xd701b7=_0xf37888;this[_0xd701b7(0x1e4)](_0x317bd7['memberID']);}[_0xf37888(0x4e0)](_0x3af05f){const _0x1215b7=_0xf37888;localStorage[_0x1215b7(0x4b8)](Ws,JSON[_0x1215b7(0x387)](_0x3af05f));}[_0xf37888(0x32e)](){const _0x1ec7a6=_0xf37888;this[_0x1ec7a6(0x182)]=window[_0x1ec7a6(0x276)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},ks);}['_ensureSubject'](_0x6d34ab){const _0x520598=_0xf37888;return this[_0x520598(0x466)][_0x520598(0x4af)](_0x6d34ab)||this['_unitStatus'][_0x520598(0x1ec)](_0x6d34ab,new _0x7465ad(0x0)),this['_unitStatus']['get'](_0x6d34ab);}}var oo=Object[_0xf37888(0x320)],ao=Object[_0xf37888(0x26b)],co=(_0x552c10,_0xb358fc,_0x41fd49,_0x5986de)=>{const _0x55b511=_0xf37888;for(var _0x35a4c1=_0x5986de>0x1?void 0x0:_0x5986de?ao(_0xb358fc,_0x41fd49):_0xb358fc,_0x58bedf=_0x552c10[_0x55b511(0x42c)]-0x1,_0x22feab;_0x58bedf>=0x0;_0x58bedf--)(_0x22feab=_0x552c10[_0x58bedf])&&(_0x35a4c1=(_0x5986de?_0x22feab(_0xb358fc,_0x41fd49,_0x35a4c1):_0x22feab(_0x35a4c1))||_0x35a4c1);return _0x5986de&&_0x35a4c1&&oo(_0xb358fc,_0x41fd49,_0x35a4c1),_0x35a4c1;},xt=(_0x2bfef2,_0x353309)=>(_0x5dfdb7,_0x46e3d0)=>_0x353309(_0x5dfdb7,_0x46e3d0,_0x2bfef2);let mt=class{constructor(_0x165413,_0x1f3f0b,_0x70b6f5){const _0x29d577=_0xf37888;this[_0x29d577(0x43d)]=_0x165413,this['_transformService']=_0x1f3f0b,this[_0x29d577(0x1ce)]=_0x70b6f5;}[_0xf37888(0x20e)](_0x238e65){const _0x55154b=_0xf37888;this[_0x55154b(0x47a)](_0x238e65);}['transformRemoteChangeset'](_0x145501){const _0x32eb4b=_0xf37888,{unitID:_0x428237}=_0x145501,{collaboration:_0x4c10bc}=this[_0x32eb4b(0x1ce)]['getStateCache'](_0x428237);if(_0x4c10bc[_0x32eb4b(0x42c)]===0x0)return _0x145501;let _0x3c6469=_0x5d7755['deepClone'](_0x145501[_0x32eb4b(0x372)][0x0]);for(let _0x219740=0x0;_0x219740<_0x4c10bc[_0x32eb4b(0x42c)];_0x219740++){const _0xf8fc17={'id':_0x32eb4b(0x1a5),'params':{'unitId':_0x4c10bc[_0x219740]['unitId'],..._0x4c10bc[_0x219740][_0x32eb4b(0x3d9)]}},_0xf2366d=this[_0x32eb4b(0x310)][_0x32eb4b(0x1b8)](_0x3c6469,_0xf8fc17,!0x1);if(_0xfceaae(_0xf2366d))throw _0xf2366d[_0x32eb4b(0x329)];_0x3c6469=_0xf2366d[_0x32eb4b(0x36b)];}return{..._0x5d7755[_0x32eb4b(0x1ea)](_0x145501),'mutations':[_0x3c6469]};}[_0xf37888(0x47a)](_0x5de8ed){const _0x1a5b1b=_0xf37888,{unitID:_0x587770}=_0x5de8ed,{history:_0x191e31,collaboration:_0x12ff61}=this[_0x1a5b1b(0x1ce)][_0x1a5b1b(0x339)](_0x587770);if(_0x191e31[_0x1a5b1b(0x42c)]===0x0&&_0x12ff61[_0x1a5b1b(0x42c)]===0x0)return;const _0x380045=[],_0x221ae3=[];let _0x36a037=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed[_0x1a5b1b(0x372)][0x0]),_0x4449d9=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed[_0x1a5b1b(0x372)][0x0]);for(let _0x306820=_0x191e31[_0x1a5b1b(0x42c)]-0x1;_0x306820>=0x0;_0x306820--){const _0x592f38={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x191e31[_0x306820][_0x1a5b1b(0x442)],..._0x191e31[_0x306820][_0x1a5b1b(0x4f1)]}},_0xf267f3={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x191e31[_0x306820]['unitId'],..._0x191e31[_0x306820][_0x1a5b1b(0x3d9)]}},_0x1822a9=this[_0x1a5b1b(0x310)][_0x1a5b1b(0x1b8)](_0x36a037,_0x592f38,!0x1),_0x140542=this[_0x1a5b1b(0x310)][_0x1a5b1b(0x1b8)](_0x4449d9,_0xf267f3,!0x1);if(_0xfceaae(_0x1822a9))throw _0x1822a9[_0x1a5b1b(0x329)];if(_0xfceaae(_0x140542))throw _0x140542[_0x1a5b1b(0x329)];_0x380045['unshift']({..._0x191e31[_0x306820],'undoState':_0x1822a9[_0x1a5b1b(0x44b)][_0x1a5b1b(0x274)],'redoState':_0x140542['m2Prime'][_0x1a5b1b(0x274)]}),_0x36a037=_0x1822a9[_0x1a5b1b(0x36b)],_0x4449d9=_0x140542['m1Prime'];}_0x36a037=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed[_0x1a5b1b(0x372)][0x0]),_0x4449d9=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed['mutations'][0x0]);for(let _0x58d5fe=_0x12ff61[_0x1a5b1b(0x42c)]-0x1;_0x58d5fe>=0x0;_0x58d5fe--){const _0x862e52={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x12ff61[_0x58d5fe]['unitId'],..._0x12ff61[_0x58d5fe]['undoState']}},_0x188ec3={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x12ff61[_0x58d5fe]['unitId'],..._0x12ff61[_0x58d5fe][_0x1a5b1b(0x3d9)]}},_0x308e78=this['_transformService'][_0x1a5b1b(0x1b8)](_0x36a037,_0x862e52,!0x1),_0x390f72=this['_transformService'][_0x1a5b1b(0x1b8)](_0x4449d9,_0x188ec3,!0x1);if(_0xfceaae(_0x308e78))throw _0x308e78['error'];if(_0xfceaae(_0x390f72))throw _0x390f72[_0x1a5b1b(0x329)];_0x221ae3[_0x1a5b1b(0x46c)]({..._0x12ff61[_0x58d5fe],'undoState':_0x308e78[_0x1a5b1b(0x44b)][_0x1a5b1b(0x274)],'redoState':_0x390f72[_0x1a5b1b(0x44b)][_0x1a5b1b(0x274)]}),_0x36a037=_0x308e78[_0x1a5b1b(0x36b)],_0x4449d9=_0x390f72[_0x1a5b1b(0x36b)];}this[_0x1a5b1b(0x1ce)]['setStateCache'](_0x587770,{'history':_0x380045,'collaboration':_0x221ae3});}};mt=co([xt(0x0,_0x39c8b8(_0x2fd08f)),xt(0x1,_0x36ceed),xt(0x2,_0x39c8b8(_0x3b95d5))],mt);function Pi(_0x341e6d){let _0x533490='';for(const _0x38fd46 of _0x341e6d){const {startOffset:_0x37af8e,endOffset:_0x55a254,isActive:_0x511ab1,rangeType:_0x5c284f,segmentId:_0xe9e271,segmentPage:_0x26bc52}=_0x38fd46;_0x533490['length']&&(_0x533490+=','),_0x533490+=_0x37af8e+':'+_0x55a254+':'+(_0x511ab1?'1':'0')+':'+_0x5c284f+':'+_0xe9e271+':'+_0x26bc52;}return _0x533490;}function ho(_0x5822bd){const _0x3cfcfb=_0xf37888,_0x43a043=_0x5822bd[_0x3cfcfb(0x127)](','),_0xd1e159=[];for(const _0x53614e of _0x43a043){const [_0x50a6d7,_0x18260f,_0x3acc5b,_0xf0cb28,_0x4bc67a,_0x5d3dfd]=_0x53614e[_0x3cfcfb(0x127)](':');_0xd1e159[_0x3cfcfb(0x270)]({'startOffset':Number(_0x50a6d7),'endOffset':Number(_0x18260f),'collapsed':_0x50a6d7===_0x18260f,'isActive':_0x3acc5b==='1','rangeType':_0xf0cb28===_0x3b2ca6[_0x3cfcfb(0x40c)]?_0x3b2ca6[_0x3cfcfb(0x40c)]:_0x3b2ca6[_0x3cfcfb(0x282)],'segmentId':typeof _0x4bc67a==_0x3cfcfb(0x384)?String(_0x4bc67a):'','segmentPage':Number(_0x5d3dfd!=null?_0x5d3dfd:-0x1)});}return _0xd1e159[_0x3cfcfb(0x413)](_0x4495e9=>_0x4495e9[_0x3cfcfb(0x438)])||(_0xd1e159[0x0][_0x3cfcfb(0x438)]=!0x0),_0xd1e159;}class Cs extends _0x3c16d2{constructor(){const _0x55d77b=_0xf37888;super(...arguments),g(this,_0x55d77b(0x366),new _0x7465ad(null)),g(this,'collabCursorState$',this[_0x55d77b(0x366)]['asObservable']());}[_0xf37888(0x39e)](_0x5c9ed9){const {unitID:_0xe2aa60,memberID:_0x4037a1,textRanges:_0x1eb79b}=_0x5c9ed9,_0x481384=Pi(_0x1eb79b);if(_0x481384==='')return;const _0x48caa4={'unitID':_0xe2aa60,'memberID':_0x4037a1,'selection':_0x481384};this['_collabCursorState$']['next'](_0x48caa4);}}var lo=Object['defineProperty'],_o=Object[_0xf37888(0x26b)],uo=(_0x2a8dc6,_0x40d5f6,_0xed5c8b,_0x18c01c)=>{const _0x3bc4e7=_0xf37888;for(var _0x163c01=_0x18c01c>0x1?void 0x0:_0x18c01c?_o(_0x40d5f6,_0xed5c8b):_0x40d5f6,_0x35aa69=_0x2a8dc6[_0x3bc4e7(0x42c)]-0x1,_0x2287bf;_0x35aa69>=0x0;_0x35aa69--)(_0x2287bf=_0x2a8dc6[_0x35aa69])&&(_0x163c01=(_0x18c01c?_0x2287bf(_0x40d5f6,_0xed5c8b,_0x163c01):_0x2287bf(_0x163c01))||_0x163c01);return _0x18c01c&&_0x163c01&&lo(_0x40d5f6,_0xed5c8b,_0x163c01),_0x163c01;},Fs=(_0x2cd93a,_0x258625)=>(_0x3c460b,_0x239eca)=>_0x258625(_0x3c460b,_0x239eca,_0x2cd93a);let pt=class{constructor(_0x49e85a,_0x2a48d8){const _0x13a080=_0xf37888;this['_injector']=_0x49e85a,this[_0x13a080(0x310)]=_0x2a48d8;}[_0xf37888(0x2c1)](_0x55fb2a){const _0x574cff=_0xf37888;var _0x3c2b70;const _0x384252=this[_0x574cff(0x43d)][_0x574cff(0x166)](_0x17cd7b),_0x2b8655=(_0x3c2b70=_0x384252[_0x574cff(0x2fd)]())!=null?_0x3c2b70:[];if(_0x2b8655[_0x574cff(0x42c)]===0x0)return;const _0x16e517=_0x55fb2a['unitID'],_0x2a11ab=[{'id':_0x574cff(0x1a5),'params':{'unitId':_0x16e517,'actions':null,'textRanges':_0x2b8655}}],_0x4fa375=this['_transformService'][_0x574cff(0x134)](_0x55fb2a,_0x2a11ab);if(!_0x2de823(_0x4fa375))throw _0x4fa375[_0x574cff(0x329)];const _0xabdc11=_0x4fa375[_0x574cff(0x44b)][0x0][_0x574cff(0x274)][_0x574cff(0x485)];Array[_0x574cff(0x255)](_0xabdc11)&&_0xabdc11['length']&&_0x384252[_0x574cff(0x35c)](_0xabdc11,{'unitId':_0x16e517,'subUnitId':_0x16e517},!0x1);}};pt=uo([Fs(0x0,_0x39c8b8(_0x2fd08f)),Fs(0x1,_0x36ceed)],pt);const fo=new Set([_0x4ef24f['id']]);function Vs(_0x529897,_0x254a6e,_0x2c0270,_0x1b1c96,_0x4c29f6){const _0x2bde8a=_0xf37888;var _0x11adf9,_0x258233,_0x3d0bc1,_0x410a0e;const _0x4c4146=[];for(const _0x34f518 of _0x529897)if(fo['has'](_0x34f518['id'])){if(_0x4c4146['length']>0x0)break;_0x4c4146[_0x2bde8a(0x270)](_0x34f518);break;}else _0x4c4146['push'](_0x34f518);const _0x35744d=(_0x258233=(_0x11adf9=_0x4c29f6[_0x2bde8a(0x2a0)]())==null?void 0x0:_0x11adf9[_0x2bde8a(0x1b4)])!=null?_0x258233:_0x2bde8a(0x418),_0x2d0649=(_0x410a0e=(_0x3d0bc1=_0x4c29f6['getCurrentUser']())==null?void 0x0:_0x3d0bc1[_0x2bde8a(0x498)])!=null?_0x410a0e:_0x2bde8a(0x418);return{'changeset':{'unitID':_0x254a6e,'type':_0x5ab887(_0x2c0270['getUnitType'](_0x254a6e)),'baseRev':_0x1b1c96[_0x2bde8a(0x4c3)](_0x254a6e),'revision':0x0,'userID':_0x35744d,'memberID':_0x2d0649,'mutations':_0x4c4146},'pendingMutations':_0x529897[_0x2bde8a(0x3cb)](_0x4c4146[_0x2bde8a(0x42c)])};}function vo(_0x3358f6,_0x472363,_0x230c48,_0x40f328,_0x510434){const _0x7dd74f=_0xf37888;var _0x104472,_0x3ad8f5,_0x2477a4,_0x20d2cc;const _0x4fc9ce=[_0x3358f6[_0x7dd74f(0x3b8)]((_0x192fe0,_0x4498ed)=>{const _0x5e330f=_0x7dd74f;var _0x20900f;const {id:_0x416c52}=_0x192fe0,{id:_0x147bd5,type:_0x1dcdac}=_0x4498ed,_0x105785=(_0x20900f=_0x192fe0[_0x5e330f(0x274)])!=null?_0x20900f:{'actions':null},_0x42c879=_0x4498ed[_0x5e330f(0x274)];if(_0x416c52&&_0x416c52!==_0x147bd5)throw new Error(_0x5e330f(0x3f3)+_0x416c52+'\x20-\x20'+_0x147bd5+'.');return{..._0x192fe0,'id':_0x147bd5,'type':_0x1dcdac,'params':{'unitId':_0x42c879['unitId'],'textRanges':_0x42c879['textRanges'],'actions':_0x1fe550[_0x5e330f(0x111)](_0x105785[_0x5e330f(0x2fc)],_0x42c879['actions'])}};},{})],_0x2a5276=(_0x3ad8f5=(_0x104472=_0x510434[_0x7dd74f(0x2a0)]())==null?void 0x0:_0x104472[_0x7dd74f(0x1b4)])!=null?_0x3ad8f5:_0x7dd74f(0x418),_0x5820bb=(_0x20d2cc=(_0x2477a4=_0x510434[_0x7dd74f(0x2a0)]())==null?void 0x0:_0x2477a4['memberID'])!=null?_0x20d2cc:_0x7dd74f(0x418);return{'changeset':{'unitID':_0x472363,'type':_0x5ab887(_0x230c48['getUnitType'](_0x472363)),'baseRev':_0x40f328[_0x7dd74f(0x4c3)](_0x472363),'revision':0x0,'userID':_0x2a5276,'memberID':_0x5820bb,'mutations':_0x4fc9ce},'pendingMutations':[]};}function Ui(_0x5e2aeb,_0x39b59c){const _0x220c86=_0xf37888,_0x4fb267=new _0x56e22a(0x1);return setTimeout(()=>_0x4fb267[_0x220c86(0x2d2)](_0x39b59c),_0x5e2aeb),_0x4fb267['asObservable']()['pipe'](_0x5f06ad(0x1));}const mo={'id':_0x59dd9d['id'],'type':_0x357ec8[_0xf37888(0x1de)],'params':{}};var po=Object[_0xf37888(0x320)],go=Object['getOwnPropertyDescriptor'],Le=(_0x4ed62b,_0x9a81a5,_0x1b2a89,_0x65bd6a)=>{const _0x56e74f=_0xf37888;for(var _0x10f3eb=_0x65bd6a>0x1?void 0x0:_0x65bd6a?go(_0x9a81a5,_0x1b2a89):_0x9a81a5,_0x31d4b5=_0x4ed62b[_0x56e74f(0x42c)]-0x1,_0x4446a1;_0x31d4b5>=0x0;_0x31d4b5--)(_0x4446a1=_0x4ed62b[_0x31d4b5])&&(_0x10f3eb=(_0x65bd6a?_0x4446a1(_0x9a81a5,_0x1b2a89,_0x10f3eb):_0x4446a1(_0x10f3eb))||_0x10f3eb);return _0x65bd6a&&_0x10f3eb&&po(_0x9a81a5,_0x1b2a89,_0x10f3eb),_0x10f3eb;},A=(_0x5e7ff0,_0x4dc10b)=>(_0x54084c,_0x37e209)=>_0x4dc10b(_0x54084c,_0x37e209,_0x5e7ff0),J=(_0x2fb840=>(_0x2fb840[_0xf37888(0x4ea)]=_0xf37888(0x1f6),_0x2fb840[_0xf37888(0x4cf)]=_0xf37888(0x2d6),_0x2fb840[_0xf37888(0x240)]=_0xf37888(0x153),_0x2fb840[_0xf37888(0x48a)]=_0xf37888(0x441),_0x2fb840['AWAITING_WITH_PENDING']=_0xf37888(0x27a),_0x2fb840[_0xf37888(0x3c0)]='fetch_missing',_0x2fb840['CONFLICT']='conflict',_0x2fb840['OFFLINE']='offline',_0x2fb840))(J||{});const Ni=0xea60;class $e{constructor(_0x3bff70,_0x36b180,_0x1623d2,_0x1d665c,_0x26d28e,_0x41f69b,_0x4c6534,_0x3b29b5,_0x241d10){const _0x555535=_0xf37888;g(this,_0x555535(0x19f),null),g(this,'_pendingMutations',[]),(this[_0x555535(0x24f)]=_0x3bff70,this[_0x555535(0x1fd)]=_0x36b180,this[_0x555535(0x132)]=_0x26d28e,this[_0x555535(0x1fb)]=_0x41f69b,this[_0x555535(0x2ed)]=_0x4c6534,this[_0x555535(0x437)]=_0x3b29b5,this[_0x555535(0x324)]=_0x241d10,this['_awaitingChangeset']=_0x1623d2,this[_0x555535(0x431)]=_0x1d665c);}[_0xf37888(0x3f4)](_0x4e3826){const _0x417c6c=_0xf37888,_0x4c5c2e=this[_0x417c6c(0x437)]['getCurrentRevOfUnit'](this[_0x417c6c(0x24f)]);return _0x4e3826[_0x417c6c(0x4fc)]>_0x4c5c2e+0x1?(this['_handler'][_0x417c6c(0x12d)]({'from':_0x4c5c2e,'to':_0x4e3826[_0x417c6c(0x4fc)]-0x1}),!0x0):!0x1;}[_0xf37888(0x374)](_0x4a8c5e){const _0x5ddd8d=_0xf37888;this['_undoRedoService'][_0x5ddd8d(0x446)](this[_0x5ddd8d(0x24f)],_0x4a8c5e);}[_0xf37888(0x18f)](_0x2a0268){const _0x47a170=_0xf37888;var _0x46616e,_0x384ea0;(_0x384ea0=(_0x46616e=this[_0x47a170(0x132)])[_0x47a170(0x380)])==null||_0x384ea0[_0x47a170(0x3b7)](_0x46616e,_0x2a0268);}['_transformIMECache'](_0x29c5d4){const _0x496656=_0xf37888;var _0x157210,_0x49226e;return(_0x49226e=(_0x157210=this['_handler'])[_0x496656(0x371)])==null?void 0x0:_0x49226e[_0x496656(0x3b7)](_0x157210,_0x29c5d4);}[_0xf37888(0x2db)](_0x4137cc){const _0xaf903c=_0xf37888;var _0x3f0f12,_0x51cb21;return(_0x51cb21=(_0x3f0f12=this['_handler'])[_0xaf903c(0x376)])==null?void 0x0:_0x51cb21[_0xaf903c(0x3b7)](_0x3f0f12,_0x4137cc);}[_0xf37888(0x22e)](_0x52acd0){const _0x279cd0=_0xf37888;var _0x15c9c0,_0x46e373,_0xd8fd78;return(_0xd8fd78=(_0x46e373=(_0x15c9c0=this[_0x279cd0(0x132)])[_0x279cd0(0x3a5)])==null?void 0x0:_0x46e373[_0x279cd0(0x3b7)](_0x15c9c0,_0x52acd0))!=null?_0xd8fd78:_0x52acd0;}['_transformRemoteChangesetByStateCache'](_0x2f4a5c){const _0x437136=_0xf37888;var _0x3a6395,_0x5e2eeb,_0x538072;return(_0x538072=(_0x5e2eeb=(_0x3a6395=this[_0x437136(0x132)])[_0x437136(0x42f)])==null?void 0x0:_0x5e2eeb[_0x437136(0x3b7)](_0x3a6395,_0x2f4a5c))!=null?_0x538072:_0x2f4a5c;}[_0xf37888(0x452)](_0x24810e){const _0x1d13a3=_0xf37888;var _0x4b4056,_0x329979;if(this[_0x1d13a3(0x1fd)]===ce['UNIVER_DOC']){const {unitID:_0x52f666,mutations:_0x2b7ad5,memberID:_0x42e3db}=_0x24810e,_0x21fe4d=_0x2b7ad5[0x0][_0x1d13a3(0x274)][_0x1d13a3(0x485)];Array[_0x1d13a3(0x255)](_0x21fe4d)&&_0x21fe4d['length']>0x0&&((_0x329979=(_0x4b4056=this[_0x1d13a3(0x132)])[_0x1d13a3(0x506)])==null||_0x329979['call'](_0x4b4056,{'unitID':_0x52f666,'memberID':_0x42e3db,'textRanges':_0x21fe4d}));}}[_0xf37888(0x1be)](){const _0x5d4c56=_0xf37888;this['_localCacheService']['updateOfflineData'](this[_0x5d4c56(0x24f)],this[_0x5d4c56(0x1fd)],this[_0x5d4c56(0x19f)],this[_0x5d4c56(0x431)]);}[_0xf37888(0x26a)](){const _0x306e5e=_0xf37888;return this[_0x306e5e(0x437)][_0x306e5e(0x4c3)](this[_0x306e5e(0x24f)]);}[_0xf37888(0x2e3)](){const _0x294661=_0xf37888;this[_0x294661(0x437)][_0x294661(0x28c)](this['unitID']);}['_executeRemoteChangeset'](_0x187059){const _0x5f0e78=_0xf37888;var _0xc54f1a;let _0x2ebded=this[_0x5f0e78(0x22e)](_0x187059);_0x2ebded=this[_0x5f0e78(0x435)](_0x2ebded);const _0x580516=_0x18d035(_0x2ebded[_0x5f0e78(0x372)],this[_0x5f0e78(0x1fb)],{'fromCollab':!0x0});if(!_0x580516['result'])throw _0x580516[_0x5f0e78(0x329)]instanceof Error?_0x580516['error']:new Error((_0xc54f1a=_0x580516['error'])!=null?_0xc54f1a:'[CollaborationState]:\x20apply\x20error!');this[_0x5f0e78(0x43b)](_0x2ebded),this['_transformStateCache'](_0x2ebded),this[_0x5f0e78(0x374)](_0x187059),this[_0x5f0e78(0x18f)](_0x2ebded),this[_0x5f0e78(0x452)](_0x2ebded),this[_0x5f0e78(0x2e3)]();}}function _0xc3a6(){const _0x52e75f=['_userManagerService','onPointerLeave$','registerBeforeClose','verdancy600','byteLength','BlockCipherMode','_initDependencies','JOINING','UNKNOWN_CMD','MD5','_loadDoc','setAlpha','patch','replaceDocRanges','url','_showConflictNotification','FromArray','#fff','method','localeService','roles','none','collaborators','_collabCursorState$','_resendTimer','_getSnapshotAPIPrefix','_color','onRemoteRetry','m1Prime','/object','_cursor','_roomMembers$','ceil','getSheetId','onTransformIME','mutations','create','_transformUndoredo','_getAPIPrefix','onTransformState','LIVESHARE_NEW_HOST','closePath','routeKey','getConfig','onStarting','_context','storage','SNAPSHOT_SERVER_URL_KEY','CHANGESET_SHOULD_RETRY','onTransformSelections','YUUMI_RATE_OVER_LIMIT','_telemetryService','PasswordBasedCipher','string','_cursors','COMPRESS_MUTATION_SEND','stringify','focused$','add','_process','_change$','labelPosition','onMouseMove','_state','closeSession','cursorInfo','_updateURLWithCurrentState','_toggleOffline','INGEST','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getInterceptPoints','objects','_entityInit$','red300','M0\x200H16V16H0z','c2Prime','measureText','_handleJoinEvent','SNAPSHOT_HAS_BEEN_REMOVED','syncEditingCollabCursor','APPLY_DUPLICATED','objectID','_clearTimeoutTimer','InsertRangeMoveDownCommandId','InsertColCommandId','HmacMD5','onTransformRemoteChangesetByIMECache','_replayCachedMutations','disableLocalCache','session.will-retry','_messageService','_commentService','delete','1124310FgvHum','_getLoginPath','hasOwnProperty','_ENC_XFORM_MODE','getCollabCursors$','reject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','findNodePositionByCharIndex','concat','/-/object/-/batch_allowed','onTransformChange$','call','reduce','toggleOffline','deleteCollaborator','assignAColorForMemberID','COLLAB_WEB_SOCKET_URL','UnitSnapshot','_throwTelemetryCollaborationNewChangeset','pipe','FETCH_MISS','getWorkbookSelections','USERS_LEAVE','editing\x20status\x20changed\x20to','_entities','event$','_changesetReqId','sheets','responseType','cursorInfo$','TOO_MANY_REQUESTS','slice','ALREADY_EXISTS','reconnect','NEW_CHANGESETS','_startSheetCollabCursor','createInstance','headers','_drawRectRange','colorChannel1','originalMeta','_nRounds','_hash','addObject','docStateChange$','redoState','_handleHeartbeatEvent','onRemoteAck','defaultProps','_hovered','rev','_substituteRedoStack','searchParams','Decryptor','unpad','sessionStatus$','getUnitStatus$','UNIVER_SLIDE','_createHandler','conflict.content','_event$','_fetchMissChangesets','/universer-api/oidc/authpage','CBC','disposeWithMe','_cipher','_updateCollabCursors','_sheetTransformSelectionsService','_refreshCollabCursors','_getSheetObject','HmacSHA1','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_checkMissing','22023HHnRQI','createEncryptor','propertyIsEnumerable','APPLY_NON_SEQUENTIAL_REVISION','range','_textBubble','selections','_sendingTimer','_cursorShapes','_iv','COMPRESS_MUTATION_APPLY','_rescheduleHeartbeat','subscribeEvent','_shouldReportTelemetry','Base','collab-text-range-','_colorIndex','_init','collabSubmitChangesetUrl','triggerDblclick','listRoles','setShowComponents','_http','TEXT','transformByState','loadOfflineData','_getSendChangesetTimeout','COLLAB_SUBMIT_CHANGESET_URL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','salt','some','\x0aCurrent:\x20','clear','gold400','endRow','unknown','LIVESHARE_OPERATION','univer-online','map','hidden','makeDirty','now','byteOffset','_onCombEvent','confirm','fetchMissingChangesets','transformRemoteChangeset','formatter','_anchorDot','HttpImport','repeat','_localeService','session','BlockCipher','initWorkbookPermissionChange','length','appendMutation','HELLO','onTransformRemoteChangesetByStateCache','save','_pendingMutations','_removeCollabCursors','reset','DeleteRangeMoveUpCommandId','_transformRemoteChangesetByStateCache','resend','_revisionService','isActive','ref','_getRedoStack','_transformIMECache','defs','_injector','execute','_exhaustRemoteChangesetQueue','getMemberID','awaiting','unitId','purple300','2355309mNZfUM','MSG_FOR_ERROR','transformUndoRedo','listCollaborators','msCrypto','fillRule','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','m2Prime','_updateStatus','blockSize','generateRandomId','FETCH_MISSING','_anchor','_resendTimeout','_syncEditingCollabCursor','addEventListener','_onConnectionFailed','_backgroundColor','_listenToOnlineEvent','EvpKDF','registerComponent','_startDocCollabCursor','_createHmacHelper','column','getViewport','Error','ranges','close$','ERROR_IMAGE','text','LIVESHARE_TERMINATE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getSheetBlock','getTypeOfUnitDisposed$','_unitStatus','_retryConnectingTimer','_labelPosition','update','hide','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','unshift','getRenderById','sid','onRemoteRej','clone','_lockTransition','_config','image/png','getRangePointData','ciphertext','put','LIVESHARE_REQUEST_HOST','LOCAL_CACHE_INTERVAL','UNDEFINED','_transformHistoryAndStateStack','enableOfflineEditing','_saveTaskMap','/object/','__esModule','_collabSessionService','_onRemoteACK','Pkcs7','origin','_undoStacks','ivSize','textRanges','setTimeout','onMissedChangesetFetched','getRoom','catch','AWAITING','collabStatus.notCollab','_singleActiveUnitService','OpenSSL','randomBytes','_doCryptBlock','className','retryConnectingInterval','toString','getTypeOfUnitAdded$','UPDATE_CURSOR','NoPadding','_telemetryInfo','error$','memberID','_iKey','getDeserializedSheetBlock','interceptor','onlineStatusTitle','rng','UnitEmbedded','onReady','_getCtorByUniverType','status','fill','AES','toLowerCase','_assignedColors','setUndoRedoMutationParamsCache','image/bmp','CHANGESET_REVISION_CONFILICT','collaboration.single-unit.warning','liveShareOperation','ERROR_IMAGE_TYPE','_updateLocalCursor','_decreaseWaiting','changesets','has','find','_collaborationTimeoutTimer','_permissionService','HEADER_MENU','filter','fillStyle','image/jpeg','url(#$1','setItem','_render','flatMap','_scene','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collab-rect-range-','&source=','exports','sin','replaceState','_tryEnsureSocket','getCurrentRevOfUnit','/universer-api/authz','uni.network.url-service','_HTTPService','LEAVE','downloadEndpointUrl','ws://127.0.0.1:8000/universer-api/comb/connect','collaMsg','/unit/','_removeClearOtherTimer','_initCloseConn','enableLocalCache','SYNCED','for','backgroundColor','_remoteChangesetQueue','univerjs-icon\x20univerjs-icon-','getUnhiddenWorksheets','dispose','getCellPositionByOffset','BASE64','_localStorageService','substr','allowed','baseRev','Utf8','sendChangesetTimeout','_selfUnitIDs','_reverseMap','_send','height','onCommandExecuted','permission.content','copyFileMeta','encode','isEditing','getUniverSheetInstance','withCredentials','_range','NOT_COLLAB','react.fragment','[PendingState]:\x20received\x20rejection.','AUTHZ_URL_KEY','image/gif','lineTo','requireSession','undoState','_sendHeartbeatTimer','_createInitialStateImpl','conflict','_refRangeService','updatePermissionObjEvent','defIds','CONFLICT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','action','createSocket','revision','_draw','joinRsp','#FFF','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','registerHTTPInterceptor','sigBytes','_id','UNRECOGNIZED','_collaborationPaused','onSyncEditingCollabCursor','round','/resources','ENSURE_SNAPSHOT_EXECUTION','onload','padding','registerRenderModule','apply','_commentUpdate$','joinEvent','default','_mode','send','_onRemoteRejected','_type','color','tag','drawWith','_onJoinRoomEvent','init','change$','sheetID','compose','_imageSourceCache','_getUploadFileURL','collabWebSocketUrl','_socketReady','_joinRoom','hovered','dispose$','[UniverCollaborationClientPlugin]','file','open$','getTime','PSEUDO_FETCH_MISSING_RESULT','keySize','_parse','_members','liveShareNewHost','floor','from','_key','_hover','session.room-full','split','collab-client.tooltip.reconnect','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','loadSheet','message$','collaboratorID','onMissingChangesets','complete','on-line-single','fromCharCode','SHOULD_CLOSE_CONN','_handler','_onUserLeave','transformMutationsWithChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','selection','close','_createInitialState','readAsDataURL','IDLE','encrypt','debug','iterations','getImageSourceCache','clearTimeout','_isPermissionRej','post','equals','_clearRedo','_getAPIPrefixPath','_unitID','snapshotServerUrl','setShapeProps','_cursorInfo$','INTERNAL_ERROR','socketService','_initRequestHeader','_colorAssignService','div','name','getActiveSheet','_toggleOnline','_tryReconnect','jsxs','pending','&assign=','_syncEditingCollabCursorService','/block/','LICENSE_EXPORT_SIZE_EXCEEDED','_append','_session','getCollabEntity$','CipherParams','_transitionLocked','processBlock','_nDataBytes','_onCursorDelete','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','fromCollab','pauseCollaboration','executeCommand','_handleEvent','history','get','fetching\x20missing\x20changesets\x20from\x20','unitId\x20is\x20not\x20found','_httpService','StreamCipher','target','_saveCache','prototype','_themeService','stopTime','USERS_ENTER','onlineStatus','collabCursorState$','batchAllowed','fetchThroughInterceptors','members','_candidateSocket','Cipher','_clearHeartbeatTimer','1em','resourceIDs','collabStatus.syncing','[CollaborationSessionService]:\x20socket\x20error','_cachedData','SEND_CHANGESET_TIMEOUT','currentColor','cmd','onPointerMove$','_heartbeatTimer','roomMembers$','_name','mixIn','collabStatus.offline','SHA1','transformChangesets','size','connection\x20error','FAIL','_getAnchorBounding','session.connection-failed','_status$','_transformSelections','getParam','pushState','off-line-single','10JFmclm','saveOfflineData','every','saveSheetBlock','[OfflineState]:\x20received\x20changeset.','/allowed','updateCollaborator','UNIVER_SHEET','_executeRemoteChangeset','_eventUnsubscribe','?url=','c1Prime','_awaitingChangeset','splice','_initCommandExecutedListener','0\x200\x2016\x2016','HttpExport','getUnitId','doc.mutation.rich-text-editing','getImage','currentSkeleton$','getCurrent','APPLY_REJECT','getValue','{fileID}','fetch_missing','json','CONNECTOR_DATA_TOO_LARGE','visibilityState','substring','_onMessage','algo','...','userID','_renderManagerService','Encryptor','sessionStatus','transformMutation','_applyRemoteChangeset','OnLineSingle','_unlockTransition','function','280911ollIac','_updateLocalCache','collab-text-anchor-','univer-online-status-title','UNIVER_DOC','_univerInstanceService','_onRemoteRetry','_getSignURL','_snapshotServerService','top','HEARTBEAT','enableSingleActiveInstanceLock','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','INVALID_ARGUMENT','updateMember','data','collaboration-session-retry','_docStateChangeManagerService','univer-offline','_memberService','isPermissionRej','onStateChange','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_docTransformIMECacheService','_createSocket','endColumn','_sheetSkeletonManagerService','putCollaborators','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_registerRenderDependencies','/universer-api/file/{fileID}/sign-url','_getScale','_setupBeforeClosingHandler','MUTATION','charCodeAt','_docTransformStateCacheService','collabStatus.fetchMiss','attrs','saveSnapshot','_scheduleClearOtherTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','leaveEvent','updateCursorEvent','_doFinalize','object','deepClone','indexOf','set','then','_handleHover','join','getItem','submit\x20changeset\x20error!','_configService','SUBMIT_CHANGESET','Base64','lib','not_collab','currentTheme$','editingUnit','trim','Hasher','_commandService','charAt','type','_sessionStatus$','UNIVER_UNKNOWN','_minBufferSize','/collaborator','_instanceService','_getDownloadEndpointURL','removeMember','location','csRejEvent','_submitChangeset','getMember','row','unload','jsx','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','moveTo','transformStateCache','/-/object/list','_startTelemetryCollaborationNewChangeset','toggleOnline','_clearLocalCache','Unknown\x20user','eventID','replace','LICENSE_DISTRO_REJECTED','entries','clamp','LICENSE_IMPORT_SIZE_EXCEEDED','x-univer-host','getAllMembers','objectType','commentUpdateEvent','_onConnectionOpen','_registerDependencies','UNIVER_COLLABORATION_CLIENT_PLUGIN','saveImage','HMAC','_socket','removeParam','SNAPSHOT_INVALID_SNAPSHOT','random','requestParams','show','_scheduleCollaborationTimeoutTimer','urlChange$','updateOfflineData','fetchMiss','finalize','_transformRemoteChangesetByIMECache','Warning','svg','\x20in\x20_schedule.','getRandomValues','words','_disabled','SUCCUSS','subscribe','_urlService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','createDecryptor','_roomMembers','authzUrl','objectActions','COMPLETION_FINISHED','_scheduleTimestamp','PENDING','use','collaboration-client.config','_substituteUndoStack','LIVESHARE_FETCH_OPERATIONS','_initMergeInterceptor','1668350lAVhcI','_collaborationController','UUID','append','subUnitId','_lastPointer','addImageSourceCache','YUUMI_URL_COL_OUT_OF_RANGE','_timeoutTimer','unitID','_shapes','body','_sendHeartbeat','uploadFileServerUrl','_transformStack','isArray','min','_notificationService','includes','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_clearOtherTimers','cfg','SerializableCipher','_changesetSessionId','ERROR_EXCEED_SIZE','&to=','[CollaborationSessionService]','_waitForHeartbeatResponse','reqId','status$','_map','_updateSubUnitFromURLParams','code','getUndoRedoMutationParamsCache','shouldCloseConn','crypto','_getCurrentRevision','getOwnPropertyDescriptor','_uiPartsService','getAncestorScale','InsertRowCommandId','failed\x20to\x20apply\x20missed\x20changesets!','push','PERMISSION_REJ','APPLY_REVISION_CONFILICT','_socketMessageSubscription','params','_getUndoStack','setInterval','_data','roomInfos','_onLocalMutation','awaiting_with_pending','children','HEARTBEAT_INTERVAL','idSuffix','_onConflict','transform','OTHER_CLIENTS_EDITING','src','RECT','session.collaboration-timeout','_clearScheduledTask','UniverIcon','infoRsp','_sessions','_hideTimer','_listenToOfflineEvent','evenodd','_keyPriorReset','incrementRevOfUnit','loginUrlKey','_online','symbol','WordArray','_beforeCloseService','jiqing500','getLatestCsReqIdBySid','_onFetchMissResult','_retryCount','_clearCollaborationTimeoutTimer','_waitCount','online','_collaborationSessionService','engine','UNIVER_PROJECT','_sender','pad','50vKnvPK','[OfflineState]:\x20received\x20rejection.','getCurrentUser','setCurrentUser','Univer','ReactCurrentOwner','_onRefRangeChange','_startCollaboration','Fragment','\x0aAfter:\x20','onCommentUpdate','hostname','collabStatus.synced','_compressMutationService','_onCursorUpdate','toRgbString','Undefined','result','_doReset','__creator','collaboration.closeRoom','NOT_FOUND','black','blue400','awaitingChangeset','href','[CollaborationEntity]','state$','_collabCursorController','roomMembers','APPLY_PERMISSION_DENIED','_getSaveTimeout','_transformPreviousActiveRange','RemoveColCommandId','randomUUID','transformSelections','JOIN','_logService','YUUMI_UNABLE_LOAD_URL','getActiveRange','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','offline','_invKeySchedule','getSkeleton','whenReady','_docSkeletonManagerService','_getMergeRange','width','/universer-api/snapshot/','asObservable','_socket$','/universer-api/stream/file/upload','next','getOffsetConfig','_keySchedule','YUUMI_SUBSCRIPTION_NOT_FOUND','synced','off-line-single_clip0_910_343','displayName','max','auth.needGotoLoginAlert','_transformStateCache','Malformed\x20UTF-8\x20data','restore','_unitOnClients','_schedule','Latin1','[FetchMissState]','_drawAnchor','_incrementRevisionNumber','format','state','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','RECV','/universer-api/snapshot','parse','path','_createHelper','UNAUTHENTICATED','_undoRedoService','refreshPermission','Could\x20not\x20dynamically\x20require\x20\x22','startTime','registerRefRange','getFocusedUnit','_queuedRemoteChangesets','/universer-api/comb','POST','with','1248232IkrVuk','bottom','onPointerEnter$','popstate','setActiveRange','actions','getDocRanges','decrypt','UPDATE_PERMISSION_OBJ','2982JDXWhl','mode','AWAITING_WITH_PENDING','arc','xlink:href','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','0\x200\x2017\x2016','icon','unsubscribe','CHANGESET_ACK','UNKNOWN_CODE','transformIMECache','assign','_updateState','getUnit','fillText','_transformService','_initStatusListener','ONLINE','sheetId','on-line-single_clip0_910_349','onlineStatusIcon','addObjects','values','LICENSE_MAX_UNITS_EXCEEDED','abs','_removeRoom','_docSkeleton','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','hasher','_docSyncEditingCollabCursorService','updatePermissionPoint','defineProperty','forEach','_disableEditing','subunit','_localCacheService','_scheduleSaving','_acknowledgedAwaitingChangeset','extend','_setupSubUnitSync','error','collabStatus.conflict','unit-cache-','getCurrentUnitForType','[DataLoaderController]','_scheduleHeartbeat','_state$','clearInterval','getSheetBySheetId','kdf','[CollaborationUndoRedoService]','NO_OTHER_CLIENTS_EDITING','key','compute','_hasher','onRemoteChangeset','getStateCache','[SyncedState]:\x20received\x20acknowledgement.','_replaceFileID','OFFLINE','_oKey','_snapshotService','_clearUndo','_resendWithTimeout','setParam','getCollabEntity','enc','_initResize','CHANGESET_REJ','transformStack\x20failed!','_ensureSubject','_handleLeaveEvent','$super','952CAduZK','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onSendChangeset','startsWith','buffer'];_0xc3a6=function(){return _0x52e75f;};return _0xc3a6();}let Fe=class extends $e{constructor(_0x70f402,_0x447f99,_0xe27224,_0x575bd9,_0x52b049,_0x239a37,_0x59a582,_0x19d3d6,_0xcd2e5,_0x3549be){const _0x19d8ce=_0xf37888;super(_0x70f402,_0x447f99,null,[],_0xe27224,_0x19d3d6,_0x59a582,_0x575bd9,_0x52b049),g(this,'status','synced'),(this[_0x19d8ce(0x43d)]=_0x239a37,this[_0x19d8ce(0x2c3)]=_0xcd2e5,this[_0x19d8ce(0x310)]=_0x3549be);}[_0xf37888(0x42d)](_0x39854){const _0x1f11b9=_0xf37888,_0x19830c=this[_0x1f11b9(0x43d)][_0x1f11b9(0x3d0)](pe,this[_0x1f11b9(0x24f)],this[_0x1f11b9(0x1fd)],[_0x39854],this[_0x1f11b9(0x132)]);return _0x19830c['_schedule'](),_0x19830c[_0x1f11b9(0x1be)](),_0x19830c;}['onRemoteChangeset'](_0x448987){const _0x227b1e=_0xf37888;if(this[_0x227b1e(0x3f4)](_0x448987))return this[_0x227b1e(0x43d)][_0x227b1e(0x3d0)](he,this[_0x227b1e(0x24f)],this['type'],null,[],null,[_0x448987],this['_handler']);try{const _0x1d3fca=this[_0x227b1e(0x310)]['transformMutationsWithChangeset'](_0x448987,[mo]);if(_0x2de823(_0x1d3fca)){const {c1Prime:_0x362663}=_0x1d3fca;return this[_0x227b1e(0x19b)](_0x362663),this;}throw _0x1d3fca[_0x227b1e(0x329)];}catch(_0x1019e3){return this[_0x227b1e(0x2c3)][_0x227b1e(0x329)](_0x1019e3),this['_onConflict'](!0x1);}}[_0xf37888(0x27e)](_0x1dcb78){const _0x144f18=_0xf37888;return this[_0x144f18(0x43d)]['createInstance'](Re,this[_0x144f18(0x24f)],this[_0x144f18(0x1fd)],null,[],this[_0x144f18(0x132)],_0x1dcb78);}[_0xf37888(0x3db)](){const _0x2f9448=_0xf37888;throw new Error(_0x2f9448(0x33a));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){const _0x2227ae=_0xf37888;return this['_injector'][_0x2227ae(0x3d0)](ye,this[_0x2227ae(0x24f)],this[_0x2227ae(0x1fd)],null,[],this[_0x2227ae(0x132)]);}[_0xf37888(0x211)](){return this;}['resend'](){const _0x11febe=_0xf37888;throw new Error(_0x11febe(0x1c9));}[_0xf37888(0x22c)](){const _0x5f41fb=_0xf37888,_0xd064f0=this[_0x5f41fb(0x437)][_0x5f41fb(0x4c3)](this[_0x5f41fb(0x24f)]);return this[_0x5f41fb(0x132)]['onMissingChangesets']({'from':_0xd064f0,'to':0x0}),this[_0x5f41fb(0x43d)]['createInstance'](he,this[_0x5f41fb(0x24f)],this[_0x5f41fb(0x1fd)],null,[],null,[],this['_handler']);}};Fe=Le([A(0x3,_0x39c8b8(_0x304c49)),A(0x4,_0x39c8b8(q)),A(0x5,_0x39c8b8(_0x2fd08f)),A(0x6,_0x46b156),A(0x7,_0x48fc43),A(0x8,_0x399eca),A(0x9,_0x36ceed)],Fe);let pe=class extends $e{constructor(_0x211ebb,_0x9ff2f9,_0x3b12b1,_0x5dbc86,_0x5f49a2,_0x13101b,_0x338bba,_0x3d0c94,_0x3eabba,_0x22ad7e,_0x2eeb10,_0x4a75ae,_0x463a9e,_0x12e783){const _0x510603=_0xf37888;super(_0x211ebb,_0x9ff2f9,null,_0x3b12b1,_0x5dbc86,_0x22ad7e,_0x12e783,_0x13101b,_0x338bba),g(this,_0x510603(0x4a1),'pending'),g(this,_0x510603(0x23f),null),g(this,_0x510603(0x3fc),null),(this['_injector']=_0x5f49a2,this['_memberService']=_0x3d0c94,this[_0x510603(0x2c3)]=_0x3eabba,this['_configService']=_0x2eeb10,this['_transformService']=_0x4a75ae,this[_0x510603(0x1c2)]=_0x463a9e);}['appendMutation'](_0x283d5a){const _0xdbb9cf=_0xf37888;return this['_pendingMutations']['push'](_0x283d5a),this[_0xdbb9cf(0x1be)](),this;}[_0xf37888(0x338)](_0x6b8d64){const _0x211508=_0xf37888;if(this['_checkMissing'](_0x6b8d64))return this['_clearScheduledTask'](),this[_0x211508(0x43d)][_0x211508(0x3d0)](he,this[_0x211508(0x24f)],this[_0x211508(0x1fd)],null,this['_pendingMutations'],null,[_0x6b8d64],this[_0x211508(0x132)]);try{const _0x427cad=this[_0x211508(0x310)][_0x211508(0x134)](_0x6b8d64,this['_pendingMutations']);if(_0x2de823(_0x427cad)){const {c1Prime:_0x25e730,m2Prime:_0x4d46aa}=_0x427cad;this[_0x211508(0x19b)](_0x25e730);const _0x19dec1=this[_0x211508(0x43d)]['createInstance'](pe,this[_0x211508(0x24f)],this[_0x211508(0x1fd)],_0x4d46aa,this[_0x211508(0x132)]);return this[_0x211508(0x284)](),_0x19dec1[_0x211508(0x2df)](this[_0x211508(0x23f)]?Math['max'](0x0,new Date()[_0x211508(0x11c)]()-this[_0x211508(0x23f)]):this['_getSendChangesetTimeout']()),_0x19dec1;}throw _0x427cad[_0x211508(0x329)];}catch(_0x301545){return this[_0x211508(0x2c3)][_0x211508(0x329)](_0x301545),this['_onConflict'](!0x1);}}[_0xf37888(0x3db)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3b3484=_0xf37888;throw new Error(_0x3b3484(0x4ec));}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){const _0x8d4195=_0xf37888;return this[_0x8d4195(0x284)](),this['_injector'][_0x8d4195(0x3d0)](ye,this[_0x8d4195(0x24f)],this[_0x8d4195(0x1fd)],null,this[_0x8d4195(0x431)],this[_0x8d4195(0x132)]);}[_0xf37888(0x211)](){return this;}[_0xf37888(0x2df)](_0x647213){const _0x4526e4=_0xf37888,_0x5666b1=_0x647213!=null?_0x647213:this[_0x4526e4(0x40f)]();this[_0x4526e4(0x23f)]=new Date()[_0x4526e4(0x11c)](),this[_0x4526e4(0x3fc)]=window[_0x4526e4(0x486)](()=>{const _0x3124e1=_0x4526e4;this[_0x3124e1(0x284)]();let _0x2394f2=null;switch(this[_0x3124e1(0x1fd)]){case ce[_0x3124e1(0x19a)]:{_0x2394f2=Vs(this[_0x3124e1(0x431)],this['unitID'],this[_0x3124e1(0x1c2)],this[_0x3124e1(0x437)],this['_memberService']);break;}case ce[_0x3124e1(0x1c1)]:{this[_0x3124e1(0x431)][_0x3124e1(0x195)](_0x47408a=>_0x47408a['id']===_0x216675['id'])?_0x2394f2=vo(this[_0x3124e1(0x431)],this[_0x3124e1(0x24f)],this[_0x3124e1(0x1c2)],this['_revisionService'],this[_0x3124e1(0x1d0)]):_0x2394f2=Vs(this[_0x3124e1(0x431)],this[_0x3124e1(0x24f)],this[_0x3124e1(0x1c2)],this[_0x3124e1(0x437)],this['_memberService']);break;}default:throw new Error(_0x3124e1(0x394)+this[_0x3124e1(0x1fd)]+_0x3124e1(0x231));}const {changeset:_0x66bd2,pendingMutations:_0x4e843f}=_0x2394f2;this[_0x3124e1(0x132)]['onSendChangeset'](_0x66bd2);const _0xa4a968=_0x4e843f['length']?this[_0x3124e1(0x43d)][_0x3124e1(0x3d0)](ge,this[_0x3124e1(0x24f)],this[_0x3124e1(0x1fd)],_0x66bd2,_0x4e843f,this[_0x3124e1(0x132)],void 0x0):this[_0x3124e1(0x43d)][_0x3124e1(0x3d0)](Te,this[_0x3124e1(0x24f)],this['type'],_0x66bd2,this['_handler']);_0xa4a968[_0x3124e1(0x1be)](),this[_0x3124e1(0x132)][_0x3124e1(0x1d2)](this,_0xa4a968);},_0x5666b1);}[_0xf37888(0x40f)](){const _0x2a1132=_0xf37888;var _0x4f1b68;const _0x3efce8=this[_0x2a1132(0x1f2)][_0x2a1132(0x37a)](ie);return(_0x4f1b68=_0x3efce8==null?void 0x0:_0x3efce8[_0x2a1132(0x4dd)])!=null?_0x4f1b68:_r;}[_0xf37888(0x436)](){const _0x40674d=_0xf37888;throw new Error(_0x40674d(0x500));}[_0xf37888(0x284)](){const _0x44583b=_0xf37888;this[_0x44583b(0x3fc)]!=null&&(clearTimeout(this[_0x44583b(0x3fc)]),this[_0x44583b(0x3fc)]=null);}[_0xf37888(0x27e)](_0x215173){const _0x329a6b=_0xf37888;return this[_0x329a6b(0x284)](),this[_0x329a6b(0x43d)][_0x329a6b(0x3d0)](Re,this[_0x329a6b(0x24f)],this[_0x329a6b(0x1fd)],null,this[_0x329a6b(0x431)],this['_handler'],_0x215173);}};pe=Le([A(0x4,_0x39c8b8(_0x2fd08f)),A(0x5,_0x39c8b8(_0x304c49)),A(0x6,_0x39c8b8(q)),A(0x7,_0x39c8b8(Ne)),A(0x8,_0x399eca),A(0x9,_0x48fc43),A(0xa,_0x45a6b3),A(0xb,_0x36ceed),A(0xc,_0x6b8e83),A(0xd,_0x46b156)],pe);let Te=class extends $e{constructor(_0x74be91,_0x5abf1e,_0x2e8129,_0x3b9ce0,_0x4559b7,_0x443afd,_0x58bb00,_0x320ad1,_0x472740,_0x137eeb,_0x3630c9){const _0x355ebd=_0xf37888;super(_0x74be91,_0x5abf1e,_0x2e8129,[],_0x3b9ce0,_0x320ad1,_0x3630c9,_0x443afd,_0x58bb00),g(this,'status','awaiting'),g(this,'_resendTimeout',0x0),g(this,_0x355ebd(0x367)),g(this,'_sender'),(this[_0x355ebd(0x43d)]=_0x4559b7,this[_0x355ebd(0x2c3)]=_0x472740,this['_transformService']=_0x137eeb);}[_0xf37888(0x42d)](_0x18c25e){const _0x5c6bc5=_0xf37888;this[_0x5c6bc5(0x284)]();const _0x4cbac5=this['_injector'][_0x5c6bc5(0x3d0)](ge,this['unitID'],this[_0x5c6bc5(0x1fd)],this[_0x5c6bc5(0x19f)],[_0x18c25e],this[_0x5c6bc5(0x132)],this[_0x5c6bc5(0x367)]);return _0x4cbac5[_0x5c6bc5(0x1be)](),_0x4cbac5;}[_0xf37888(0x338)](_0x5d2830){const _0x1343e9=_0xf37888;if(this[_0x1343e9(0x3f4)](_0x5d2830))return this['_clearScheduledTask'](),this[_0x1343e9(0x43d)][_0x1343e9(0x3d0)](he,this[_0x1343e9(0x24f)],this[_0x1343e9(0x1fd)],this[_0x1343e9(0x19f)],[],null,[_0x5d2830],this['_handler']);try{const _0x28828c=this[_0x1343e9(0x310)][_0x1343e9(0x188)]([_0x5d2830],[this['_awaitingChangeset']],!0x1);if(_0x56533c(_0x28828c)){const {c1Prime:_0x37ec85,c2Prime:_0x3ced03}=_0x28828c;this[_0x1343e9(0x19b)](_0x37ec85[0x0]),_0x3ced03[0x0]['baseRev']=this[_0x1343e9(0x26a)](),this['_clearScheduledTask']();const _0x11d9cb=this[_0x1343e9(0x43d)][_0x1343e9(0x3d0)](Te,this['unitID'],this[_0x1343e9(0x1fd)],_0x3ced03[0x0],this[_0x1343e9(0x132)]);return _0x11d9cb[_0x1343e9(0x1be)](),_0x11d9cb;}return this[_0x1343e9(0x27e)](!0x1);}catch(_0x3d8b9c){return this['_logService']['error'](_0x3d8b9c),this[_0x1343e9(0x27e)](!0x1);}}['onRemoteAck'](_0x3ff62a){const _0x10ec1d=_0xf37888;this[_0x10ec1d(0x284)]();const _0x53e6a9=this[_0x10ec1d(0x437)]['getCurrentRevOfUnit'](this[_0x10ec1d(0x24f)]);if(_0x3ff62a[_0x10ec1d(0x4fc)]<_0x53e6a9-0x1)return this;if(this[_0x10ec1d(0x3f4)](_0x3ff62a))return this['_injector'][_0x10ec1d(0x3d0)](he,this[_0x10ec1d(0x24f)],this['type'],null,[],this[_0x10ec1d(0x19f)],[],this[_0x10ec1d(0x132)]);this[_0x10ec1d(0x2e3)]();const _0x4890b0=this[_0x10ec1d(0x43d)][_0x10ec1d(0x3d0)](Fe,this[_0x10ec1d(0x24f)],this['type'],this[_0x10ec1d(0x132)]);return _0x4890b0[_0x10ec1d(0x1be)](),_0x4890b0;}['onRemoteRej'](_0x4c5376){const _0x43a8d6=_0xf37888;return this[_0x43a8d6(0x27e)](!!(_0x4c5376!=null&&_0x4c5376[_0x43a8d6(0x1d1)]));}[_0xf37888(0x36a)](_0x455fef){const _0x34ea9a=_0xf37888;return this[_0x34ea9a(0x451)]>Ni?this[_0x34ea9a(0x3b9)]():(this[_0x34ea9a(0x367)]=Ui(this['_resendTimeout'],{'timeout':this[_0x34ea9a(0x451)],'reqId':_0x455fef['reqId']}),this[_0x34ea9a(0x29c)]=this[_0x34ea9a(0x367)][_0x34ea9a(0x236)](({reqId:_0x370a15,timeout:_0x19e098})=>{const _0x1ff6d9=_0x34ea9a;this[_0x1ff6d9(0x340)](_0x370a15,_0x19e098);}),this);}['toggleOffline'](){const _0x50cc03=_0xf37888;return this[_0x50cc03(0x284)](),this[_0x50cc03(0x43d)][_0x50cc03(0x3d0)](ye,this[_0x50cc03(0x24f)],this[_0x50cc03(0x1fd)],this['_awaitingChangeset'],[],this[_0x50cc03(0x132)]);}['toggleOnline'](){return this;}['resend'](){const _0x45bd11=_0xf37888;this[_0x45bd11(0x132)][_0x45bd11(0x34c)](this[_0x45bd11(0x19f)]);}['_onConflict'](_0x48b5b3){const _0x33e8b0=_0xf37888;return this[_0x33e8b0(0x284)](),this[_0x33e8b0(0x43d)][_0x33e8b0(0x3d0)](Re,this[_0x33e8b0(0x24f)],this[_0x33e8b0(0x1fd)],this[_0x33e8b0(0x19f)],[],this['_handler'],_0x48b5b3);}['_resendWithTimeout'](_0xdb6817,_0x4085f1){const _0x49c6ea=_0xf37888;var _0x14f8ee;_0xdb6817===((_0x14f8ee=this[_0x49c6ea(0x19f)])==null?void 0x0:_0x14f8ee[_0x49c6ea(0x262)])&&(this['resend'](),this['_resendTimeout']=_0x4085f1===0x0?0x3e8:_0x4085f1*0x2);}[_0xf37888(0x284)](){const _0x2784a9=_0xf37888;var _0x5c1c58;(_0x5c1c58=this[_0x2784a9(0x29c)])==null||_0x5c1c58['unsubscribe'](),this[_0x2784a9(0x451)]=0x0;}};Te=Le([A(0x4,_0x39c8b8(_0x2fd08f)),A(0x5,_0x39c8b8(_0x304c49)),A(0x6,_0x39c8b8(q)),A(0x7,_0x48fc43),A(0x8,_0x399eca),A(0x9,_0x36ceed),A(0xa,_0x46b156)],Te);let ge=class extends $e{constructor(_0x1d4c8d,_0x4dae98,_0x87c354,_0x49ef95,_0x53aee7,_0x50053f,_0x22da54,_0x414f80,_0x51ed46,_0x83e4a1,_0x186de3,_0x132768,_0x2b0a4f){const _0x289eeb=_0xf37888;super(_0x1d4c8d,_0x4dae98,_0x87c354,_0x49ef95,_0x53aee7,_0x83e4a1,_0x2b0a4f,_0x414f80,_0x51ed46),g(this,_0x289eeb(0x4a1),_0x289eeb(0x27a)),g(this,_0x289eeb(0x451),0x0),g(this,_0x289eeb(0x367)),g(this,_0x289eeb(0x29c)),(this[_0x289eeb(0x43d)]=_0x22da54,this[_0x289eeb(0x2c3)]=_0x186de3,this[_0x289eeb(0x310)]=_0x132768,_0x50053f&&(this[_0x289eeb(0x367)]=_0x50053f,this[_0x289eeb(0x29c)]=this[_0x289eeb(0x367)][_0x289eeb(0x236)](({reqId:_0x4498fb,timeout:_0x31f0cb})=>{const _0x112258=_0x289eeb;this[_0x112258(0x340)](_0x4498fb,_0x31f0cb);})));}[_0xf37888(0x42d)](_0xa842fe){const _0x10d0fe=_0xf37888;return this[_0x10d0fe(0x431)][_0x10d0fe(0x270)](_0xa842fe),this;}[_0xf37888(0x338)](_0x298c3e){const _0x5667ef=_0xf37888;if(this[_0x5667ef(0x3f4)](_0x298c3e))return this['_clearScheduledTask'](),this[_0x5667ef(0x43d)][_0x5667ef(0x3d0)](he,this[_0x5667ef(0x24f)],this[_0x5667ef(0x1fd)],this[_0x5667ef(0x19f)],this[_0x5667ef(0x431)],null,[_0x298c3e],this[_0x5667ef(0x132)]);try{const _0x14cbec=this[_0x5667ef(0x310)][_0x5667ef(0x188)]([_0x298c3e],[this[_0x5667ef(0x19f)]],!0x1);if(_0x56533c(_0x14cbec)){const {c1Prime:_0x5ab9d4,c2Prime:_0x22f6bf}=_0x14cbec,_0x22f238=this[_0x5667ef(0x310)]['transformMutationsWithChangeset'](_0x5ab9d4[0x0],this[_0x5667ef(0x431)]);if(_0x2de823(_0x22f238)){const {c1Prime:_0x474376,m2Prime:_0x502788}=_0x22f238;return this['_executeRemoteChangeset'](_0x474376),_0x22f6bf[0x0][_0x5667ef(0x4db)]=this[_0x5667ef(0x26a)](),this['_clearScheduledTask'](),this['_injector'][_0x5667ef(0x3d0)](ge,this[_0x5667ef(0x24f)],this[_0x5667ef(0x1fd)],_0x22f6bf[0x0],_0x502788,this[_0x5667ef(0x132)],void 0x0);}throw _0x22f238[_0x5667ef(0x329)];}throw _0x14cbec[_0x5667ef(0x329)];}catch(_0x5e32e4){return this[_0x5667ef(0x2c3)][_0x5667ef(0x329)](_0x5e32e4),this[_0x5667ef(0x27e)](!0x1);}}[_0xf37888(0x3db)](_0x2c5680){const _0x3ebe09=_0xf37888;if(this[_0x3ebe09(0x284)](),this[_0x3ebe09(0x3f4)](_0x2c5680))return this[_0x3ebe09(0x43d)][_0x3ebe09(0x3d0)](he,this[_0x3ebe09(0x24f)],this['type'],null,this[_0x3ebe09(0x431)],this[_0x3ebe09(0x19f)],[],this[_0x3ebe09(0x132)]);this[_0x3ebe09(0x2e3)]();const _0x4c56fc=this['_injector']['createInstance'](pe,this[_0x3ebe09(0x24f)],this[_0x3ebe09(0x1fd)],this[_0x3ebe09(0x431)],this[_0x3ebe09(0x132)]);return _0x4c56fc[_0x3ebe09(0x2df)](),_0x4c56fc['_updateLocalCache'](),_0x4c56fc;}['onRemoteRej'](_0x35f726){const _0x1ca4f4=_0xf37888;return this['_onConflict'](!!(_0x35f726!=null&&_0x35f726[_0x1ca4f4(0x1d1)]));}[_0xf37888(0x36a)](_0x5433e6){const _0x5ed2e5=_0xf37888;return this[_0x5ed2e5(0x451)]>Ni?this[_0x5ed2e5(0x3b9)]():(this[_0x5ed2e5(0x367)]=Ui(this[_0x5ed2e5(0x451)],{'timeout':this[_0x5ed2e5(0x451)],'reqId':_0x5433e6[_0x5ed2e5(0x262)]}),this[_0x5ed2e5(0x29c)]=this[_0x5ed2e5(0x367)][_0x5ed2e5(0x236)](({reqId:_0x499830,timeout:_0x23b07c})=>{const _0xe92610=_0x5ed2e5;this[_0xe92610(0x340)](_0x499830,_0x23b07c);}),this);}[_0xf37888(0x3b9)](){const _0x1206e7=_0xf37888;return this['_clearScheduledTask'](),this[_0x1206e7(0x43d)][_0x1206e7(0x3d0)](ye,this[_0x1206e7(0x24f)],this[_0x1206e7(0x1fd)],this[_0x1206e7(0x19f)],this[_0x1206e7(0x431)],this['_handler']);}['toggleOnline'](){return this;}[_0xf37888(0x436)](){const _0x5ebb18=_0xf37888;this[_0x5ebb18(0x132)][_0x5ebb18(0x34c)](this[_0x5ebb18(0x19f)]);}[_0xf37888(0x27e)](_0x1083be){const _0x369e3b=_0xf37888;return this[_0x369e3b(0x284)](),this[_0x369e3b(0x43d)][_0x369e3b(0x3d0)](Re,this[_0x369e3b(0x24f)],this['type'],null,this[_0x369e3b(0x431)],this['_handler'],_0x1083be);}[_0xf37888(0x340)](_0x343b82,_0x2dd2d2){const _0x3049b2=_0xf37888;var _0x274b86;_0x343b82===((_0x274b86=this[_0x3049b2(0x19f)])==null?void 0x0:_0x274b86[_0x3049b2(0x262)])&&(this['resend'](),this[_0x3049b2(0x451)]=_0x2dd2d2===0x0?0x3e8:_0x2dd2d2*0x2);}[_0xf37888(0x284)](){const _0x527304=_0xf37888;var _0x25ea6d;(_0x25ea6d=this[_0x527304(0x29c)])==null||_0x25ea6d[_0x527304(0x308)](),this[_0x527304(0x451)]=0x0;}};ge=Le([A(0x6,_0x39c8b8(_0x2fd08f)),A(0x7,_0x39c8b8(_0x304c49)),A(0x8,_0x39c8b8(q)),A(0x9,_0x48fc43),A(0xa,_0x399eca),A(0xb,_0x36ceed),A(0xc,_0x46b156)],ge);let Re=class extends $e{constructor(_0x2029c4,_0x3f2d9b,_0xc14c3a,_0x391f49,_0x301945,_0x14be6c=!0x1,_0x480f06,_0x590c0f,_0x3dbb99,_0x4cb38f,_0x4ab47b,_0x285cdb,_0x28edb2){const _0x56e45b=_0xf37888;super(_0x2029c4,_0x3f2d9b,_0xc14c3a,_0x391f49,_0x301945,_0x590c0f,_0x3dbb99,_0x4ab47b,_0x4cb38f),g(this,_0x56e45b(0x4a1),_0x56e45b(0x4f4)),(this['_isPermissionRej']=_0x14be6c,this[_0x56e45b(0x4b2)]=_0x480f06,this[_0x56e45b(0x428)]=_0x285cdb,this[_0x56e45b(0x257)]=_0x28edb2,this[_0x56e45b(0x35e)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0xf37888(0x42d)](){return this;}[_0xf37888(0x338)](){return this;}[_0xf37888(0x3db)](){return this;}[_0xf37888(0x46f)](){return this;}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){return this;}[_0xf37888(0x211)](){return this;}[_0xf37888(0x436)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf37888(0x212)](){const _0x4bb4b5=_0xf37888;this[_0x4bb4b5(0x324)][_0x4bb4b5(0x22b)](this['unitID'],this[_0x4bb4b5(0x1fd)],null,[]);}[_0xf37888(0x35e)](){const _0x17e427=_0xf37888;this[_0x17e427(0x140)]?this[_0x17e427(0x257)][_0x17e427(0x228)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x17e427(0x4e3)),'type':_0x17e427(0x329),'duration':0x0}):this[_0x17e427(0x257)][_0x17e427(0x228)]({'title':this[_0x17e427(0x428)]['t']('conflict.title'),'content':this[_0x17e427(0x428)]['t'](_0x17e427(0x3e7)),'type':'error','duration':0x0});}[_0xf37888(0x322)](){const _0x113e8b=_0xf37888;this[_0x113e8b(0x4b2)][_0x113e8b(0x31f)](new _0x57c2ed(this[_0x113e8b(0x24f)])['id'],!0x1);}};Re=Le([A(0x6,_0x39c8b8(_0x19df2d)),A(0x7,_0x48fc43),A(0x8,_0x46b156),A(0x9,_0x39c8b8(q)),A(0xa,_0x39c8b8(_0x304c49)),A(0xb,_0x39c8b8(_0x50f35b)),A(0xc,_0x5158a3)],Re);let ye=class extends $e{constructor(_0x333174,_0x1e7f77,_0x360911,_0x266d89,_0x4749d0,_0x4d5b73,_0x3a2a69,_0x39ff56,_0x2ad4e7,_0x47f9a9){const _0x2cd564=_0xf37888;super(_0x333174,_0x1e7f77,_0x360911,_0x266d89,_0x4749d0,_0x2ad4e7,_0x47f9a9,_0x3a2a69,_0x39ff56),g(this,_0x2cd564(0x4a1),_0x2cd564(0x2c7)),this['_injector']=_0x4d5b73;}[_0xf37888(0x42d)](_0xa3efa4){const _0x44b31b=_0xf37888;return this[_0x44b31b(0x431)][_0x44b31b(0x270)](_0xa3efa4),this['_updateLocalCache'](),this;}[_0xf37888(0x338)](_0x2429dc){const _0x510a06=_0xf37888;throw new Error(_0x510a06(0x197));}[_0xf37888(0x3db)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xf37888(0x46f)](){const _0x29f9e4=_0xf37888;throw new Error(_0x29f9e4(0x29f));}[_0xf37888(0x36a)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0xe78119=_0xf37888,{_injector:_0x1b4f95,_pendingMutations:_0x48dab0,_awaitingChangeset:_0x3c7e23,unitID:_0x3e97d6,_handler:_0x54d318,type:_0x4aa685}=this,_0x378f98=Ai(_0x1b4f95,_0x3e97d6,_0x4aa685,_0x3c7e23,_0x48dab0,_0x54d318);return _0x378f98 instanceof pe?_0x378f98[_0xe78119(0x2df)]():(_0x378f98 instanceof ge||_0x378f98 instanceof Te)&&_0x378f98[_0xe78119(0x436)](),_0x378f98;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x39c8b8(_0x2fd08f)),A(0x6,_0x39c8b8(_0x304c49)),A(0x7,_0x39c8b8(q)),A(0x8,_0x48fc43),A(0x9,_0x46b156)],ye);let he=class extends $e{constructor(_0x375a72,_0x4d10c2,_0x3ef4c5,_0x1ef9c0,_0x129268,_0x1a521e,_0x13d40f,_0xa368c6,_0x410656,_0x2a60a1,_0x1cf6cb,_0x22cc37,_0x20219a,_0xcc5fff){const _0x4b8e0e=_0xf37888;super(_0x375a72,_0x4d10c2,_0x3ef4c5,_0x1ef9c0,_0x13d40f,_0x22cc37,_0x20219a,_0x410656,_0x2a60a1),g(this,'status',_0x4b8e0e(0x1ac)),(this[_0x4b8e0e(0x326)]=_0x129268,this[_0x4b8e0e(0x2f3)]=_0x1a521e,this[_0x4b8e0e(0x43d)]=_0xa368c6,this[_0x4b8e0e(0x2c3)]=_0x1cf6cb,this[_0x4b8e0e(0x310)]=_0xcc5fff);}[_0xf37888(0x487)](_0x1baaae){const _0x39c5d9=_0xf37888;try{const _0xa632c7=[..._0x1baaae,...this['_queuedRemoteChangesets']],_0x344a95=[this[_0x39c5d9(0x19f)]||this[_0x39c5d9(0x326)]][_0x39c5d9(0x4b4)](_0x383a42=>!!_0x383a42);let _0x5cabb6,_0x51946b;if(_0x344a95['length']){const _0x2a667d=this['_transformService']['transformChangesets'](_0xa632c7,_0x344a95,!0x1);if(!_0x56533c(_0x2a667d))throw _0x2a667d[_0x39c5d9(0x329)];_0x5cabb6=_0x2a667d[_0x39c5d9(0x19e)],_0x51946b=_0x2a667d[_0x39c5d9(0x39a)];}else _0x5cabb6=_0xa632c7,_0x51946b=[];let _0x2b8bc4=this[_0x39c5d9(0x431)];_0x5cabb6[_0x39c5d9(0x321)](_0x5a0df9=>{const _0x4263d8=_0x39c5d9;let _0x238607;if(_0x2b8bc4['length']){const _0x55ace1=this[_0x4263d8(0x310)][_0x4263d8(0x134)](_0x5a0df9,_0x2b8bc4);if(!_0x2de823(_0x55ace1))throw _0x55ace1['error'];_0x238607=_0x55ace1[_0x4263d8(0x19e)],_0x2b8bc4=_0x55ace1[_0x4263d8(0x44b)];}else _0x238607=_0x5a0df9;this[_0x4263d8(0x19b)](_0x238607);}),this[_0x39c5d9(0x326)]&&this[_0x39c5d9(0x2e3)](),this['_awaitingChangeset']&&_0x51946b[_0x39c5d9(0x42c)]&&(_0x51946b[0x0][_0x39c5d9(0x4db)]=this[_0x39c5d9(0x26a)]());let _0x3afa60;if(this['_awaitingChangeset']&&_0x2b8bc4['length']!==0x0)_0x3afa60=this[_0x39c5d9(0x43d)][_0x39c5d9(0x3d0)](ge,this[_0x39c5d9(0x24f)],this[_0x39c5d9(0x1fd)],_0x51946b[0x0],_0x2b8bc4,this[_0x39c5d9(0x132)],void 0x0);else{if(this[_0x39c5d9(0x19f)]&&_0x2b8bc4[_0x39c5d9(0x42c)]===0x0)_0x51946b[0x0][_0x39c5d9(0x4db)]=this['_getCurrentRevision'](),_0x3afa60=this[_0x39c5d9(0x43d)][_0x39c5d9(0x3d0)](Te,this['unitID'],this[_0x39c5d9(0x1fd)],_0x51946b[0x0],this[_0x39c5d9(0x132)]);else{if(_0x2b8bc4[_0x39c5d9(0x42c)]!==0x0){const _0x12ee0d=this[_0x39c5d9(0x43d)][_0x39c5d9(0x3d0)](pe,this[_0x39c5d9(0x24f)],this['type'],_0x2b8bc4,this[_0x39c5d9(0x132)]);_0x12ee0d['_schedule'](),_0x3afa60=_0x12ee0d;}else _0x3afa60=this['_injector'][_0x39c5d9(0x3d0)](Fe,this[_0x39c5d9(0x24f)],this[_0x39c5d9(0x1fd)],this[_0x39c5d9(0x132)]);}}return _0x3afa60[_0x39c5d9(0x1be)](),_0x3afa60;}catch(_0x590211){return this[_0x39c5d9(0x2c3)][_0x39c5d9(0x329)](_0x39c5d9(0x2e1),_0x39c5d9(0x26f),_0x590211),this[_0x39c5d9(0x43d)]['createInstance'](Re,this[_0x39c5d9(0x24f)],this[_0x39c5d9(0x1fd)],this['_awaitingChangeset'],this[_0x39c5d9(0x431)],this[_0x39c5d9(0x132)],!0x1);}}[_0xf37888(0x436)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf37888(0x42d)](_0x5b90ad){const _0x34bf29=_0xf37888;return this[_0x34bf29(0x431)][_0x34bf29(0x270)](_0x5b90ad),this;}[_0xf37888(0x338)](_0x291659){const _0x554c2d=_0xf37888;return this[_0x554c2d(0x2f3)][_0x554c2d(0x270)](_0x291659),this;}[_0xf37888(0x3db)](_0x396bfe){const _0x32676a=_0xf37888;if(this[_0x32676a(0x19f)])return this[_0x32676a(0x326)]=this['_awaitingChangeset'],this[_0x32676a(0x19f)]=null,this;throw new Error(_0x32676a(0x34b));}['onRemoteRej'](_0x498df9){const _0x56de70=_0xf37888;return this[_0x56de70(0x27e)](!!(_0x498df9!=null&&_0x498df9[_0x56de70(0x1d1)]));}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){const _0x144509=_0xf37888;return this['_injector'][_0x144509(0x3d0)](ye,this[_0x144509(0x24f)],this['type'],this['_awaitingChangeset'],this[_0x144509(0x431)],this['_handler']);}[_0xf37888(0x211)](){return this;}[_0xf37888(0x27e)](_0x3f1376){const _0x24c64b=_0xf37888;return this['_injector'][_0x24c64b(0x3d0)](Re,this[_0x24c64b(0x24f)],this[_0x24c64b(0x1fd)],this[_0x24c64b(0x19f)],this['_pendingMutations'],this[_0x24c64b(0x132)],_0x3f1376);}};he=Le([A(0x7,_0x39c8b8(_0x2fd08f)),A(0x8,_0x39c8b8(_0x304c49)),A(0x9,_0x39c8b8(q)),A(0xa,_0x399eca),A(0xb,_0x48fc43),A(0xc,_0x46b156),A(0xd,_0x36ceed)],he);function Ai(_0x3336d7,_0x2301dc,_0x49b1a3,_0x3636c8,_0x252fb2,_0x22758c){const _0x435b86=_0xf37888;return _0x3636c8&&_0x252fb2[_0x435b86(0x42c)]?_0x3336d7['createInstance'](ge,_0x2301dc,_0x49b1a3,_0x3636c8,_0x252fb2,_0x22758c,void 0x0):_0x3636c8?_0x3336d7['createInstance'](Te,_0x2301dc,_0x49b1a3,_0x3636c8,_0x22758c):_0x252fb2[_0x435b86(0x42c)]?_0x3336d7[_0x435b86(0x3d0)](pe,_0x2301dc,_0x49b1a3,_0x252fb2,_0x22758c):_0x3336d7[_0x435b86(0x3d0)](Fe,_0x2301dc,_0x49b1a3,_0x22758c);}var So=Object['defineProperty'],Io=Object[_0xf37888(0x26b)],Es=(_0x32f30b,_0x2d9939,_0x229055,_0x171b22)=>{const _0x546702=_0xf37888;for(var _0x5df276=_0x171b22>0x1?void 0x0:_0x171b22?Io(_0x2d9939,_0x229055):_0x2d9939,_0x37014f=_0x32f30b[_0x546702(0x42c)]-0x1,_0x48d84f;_0x37014f>=0x0;_0x37014f--)(_0x48d84f=_0x32f30b[_0x37014f])&&(_0x5df276=(_0x171b22?_0x48d84f(_0x2d9939,_0x229055,_0x5df276):_0x48d84f(_0x5df276))||_0x5df276);return _0x171b22&&_0x5df276&&So(_0x2d9939,_0x229055,_0x5df276),_0x5df276;},H=(_0x48a2e4,_0x30dfeb)=>(_0xeb67e8,_0x1cc93d)=>_0x30dfeb(_0xeb67e8,_0x1cc93d,_0x48a2e4);let gt=class extends _0x3c16d2{constructor(_0x5adce2,_0x186ea6,_0x30bf7c,_0x429947,_0x22562b,_0x3a9968,_0x2107e7,_0x3deb68,_0x37cb02,_0x590246,_0xf92d87,_0x3f096d,_0x91c4f){const _0x2aed07=_0xf37888;super(),g(this,_0x2aed07(0x32f),new _0x7465ad(null)),g(this,_0x2aed07(0x2b9),this[_0x2aed07(0x32f)][_0x2aed07(0x2cf)]()),g(this,_0x2aed07(0x38e)),g(this,_0x2aed07(0x505),!0x1),g(this,'_changesetSessionId',''),g(this,_0x2aed07(0x3c6),0x0),g(this,_0x2aed07(0x263),this[_0x2aed07(0x2b9)][_0x2aed07(0x3bf)](_0x1af8db(_0x11fade=>_0x11fade?_0x11fade[_0x2aed07(0x4a1)]:J['OFFLINE']),_0xac7976(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x2aed07(0x4d2),[]),(this['unitID']=_0x5adce2,this['session']=_0x186ea6,this['_type']=_0x30bf7c,this[_0x2aed07(0x43d)]=_0x429947,this[_0x2aed07(0x324)]=_0x22562b,this['_compressMutationService']=_0x3a9968,this[_0x2aed07(0x428)]=_0x2107e7,this['_revisionService']=_0x3deb68,this[_0x2aed07(0x2c3)]=_0x37cb02,this[_0x2aed07(0x1fb)]=_0x590246,this[_0x2aed07(0x3a9)]=_0xf92d87,this[_0x2aed07(0x4b2)]=_0x3f096d,this[_0x2aed07(0x48c)]=_0x91c4f);}get[_0xf37888(0x2e5)](){return this['_state'];}async['init'](){const _0x2f7ef8=_0xf37888;if(this[_0x2f7ef8(0x2e5)])throw new Error(_0x2f7ef8(0x1d3));await this['_init']();}[_0xf37888(0x162)](){const _0x5f2ad8=_0xf37888;return this[_0x5f2ad8(0x505)]=!0x0,_0x5b8af0(()=>{const _0x3a1106=_0x5f2ad8;this[_0x3a1106(0x505)]=!0x1,this[_0x3a1106(0x43f)]();});}[_0xf37888(0x30d)](_0x449920){const _0x3d7072=_0xf37888;this[_0x3d7072(0x38e)]=_0x449920,this['_state$']['next'](_0x449920);}async[_0xf37888(0x406)](){const _0x36541d=_0xf37888;var _0x5c4ee6;this[_0x36541d(0x30d)](await this[_0x36541d(0x138)]()),this[_0x36541d(0x48c)]&&((_0x5c4ee6=this['_singleActiveUnitService'])==null||_0x5c4ee6[_0x36541d(0x1f8)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x36541d(0x3e4)](this[_0x36541d(0x24f)])[_0x36541d(0x236)](_0x4d5802=>{const _0x1088e0=_0x36541d;this['_logService']['debug'](_0x1088e0(0x2b8),_0x1088e0(0x3c3),_0x4d5802),_0x4d5802===Di[_0x1088e0(0x280)]?(this['_messageService']['show']({'content':this[_0x1088e0(0x428)]['t'](_0x1088e0(0x4a9)),'type':_0x30a0d6[_0x1088e0(0x22f)]}),this[_0x1088e0(0x4b2)][_0x1088e0(0x31f)](new _0x57c2ed(this['unitID'])['id'],!0x1),this[_0x1088e0(0x4b2)][_0x1088e0(0x40a)](!0x1)):(this[_0x1088e0(0x4b2)][_0x1088e0(0x31f)](new _0x57c2ed(this[_0x1088e0(0x24f)])['id'],!0x0),this[_0x1088e0(0x4b2)][_0x1088e0(0x40a)](!0x0));})));let _0x1abe28=!0x1;return this['disposeWithMe'](this[_0x36541d(0x429)][_0x36541d(0x3e3)][_0x36541d(0x236)](_0x16ccf9=>{const _0x303f20=_0x36541d;_0x16ccf9===ve[_0x303f20(0x312)]?this['_toggleOnline'](_0x1abe28):_0x16ccf9===ve[_0x303f20(0x33c)]&&(_0x1abe28=!0x0,this['_toggleOffline']());})),this[_0x36541d(0x3ec)](this[_0x36541d(0x429)][_0x36541d(0x3c5)][_0x36541d(0x236)](_0x185298=>{const _0x4638bc=_0x36541d;try{switch(_0x185298[_0x4638bc(0x214)]){case _0x3c3869[_0x4638bc(0x3ce)]:{this['_onRemoteChangeset'](_0x411b74(_0x185298[_0x4638bc(0x1cc)]));break;}case _0x3c3869[_0x4638bc(0x309)]:{this[_0x4638bc(0x480)](_0x185298['data']);break;}case _0x3c3869[_0x4638bc(0x345)]:{this[_0x4638bc(0x513)]();break;}case _0x3c3869['CHANGESET_SHOULD_RETRY']:{this[_0x4638bc(0x1c3)](_0x185298[_0x4638bc(0x1cc)]);break;}case _0x3c3869[_0x4638bc(0x11d)]:{this[_0x4638bc(0x294)](_0x185298[_0x4638bc(0x1cc)][_0x4638bc(0x4ae)][_0x4638bc(0x41b)](_0x40737b=>_0x411b74(_0x40737b)));break;}case _0x3c3869['PERMISSION_REJ']:this[_0x4638bc(0x513)]({'isPermissionRej':!0x0});}}catch(_0x156271){throw console[_0x4638bc(0x329)]('Error\x20on\x20receiving\x20event',_0x156271),_0x156271;}})),this[_0x36541d(0x38e)];}[_0xf37888(0x1bb)](){const _0xa4a429=_0xf37888;this[_0xa4a429(0x15c)]=!0x1;}[_0xf37888(0x471)](){const _0x5778ac=_0xf37888;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x5778ac(0x15c)]=!0x0;}['_onLocalMutation'](_0x4a9a81){const _0x17c789=_0xf37888;this['_lockTransition'](),this[_0x17c789(0x30d)](this['_state'][_0x17c789(0x42d)](_0x4a9a81)),this[_0x17c789(0x1bb)]();}['_onRemoteChangeset'](_0x111f17){const _0x33526e=_0xf37888;if(!(_0x111f17[_0x33526e(0x4fc)]<=this[_0x33526e(0x437)]['getCurrentRevOfUnit'](this['unitID']))){if(this['_collaborationPaused']){this[_0x33526e(0x4d2)]['push'](_0x111f17);return;}this[_0x33526e(0x1b9)](_0x111f17);}}[_0xf37888(0x43f)](){const _0x577423=_0xf37888;this[_0x577423(0x4d2)][_0x577423(0x321)](_0x5b4bc3=>this[_0x577423(0x1b9)](_0x5b4bc3)),this[_0x577423(0x4d2)]=[];}[_0xf37888(0x1b9)](_0xb51458){const _0x503b29=_0xf37888,_0x3f9ef9=this[_0x503b29(0x2ab)][_0x503b29(0x49b)][_0x503b29(0x174)](this[_0x503b29(0x2ab)][_0x503b29(0x49b)][_0x503b29(0x395)]()['COMPRESS_MUTATION_APPLY'])(_0xb51458[_0x503b29(0x372)],null)||_0xb51458[_0x503b29(0x372)],_0x554673={..._0xb51458,'mutations':_0x3f9ef9};this[_0x503b29(0x471)](),this[_0x503b29(0x30d)](this[_0x503b29(0x38e)][_0x503b29(0x338)](_0x554673)),this[_0x503b29(0x1bb)]();}[_0xf37888(0x480)](_0x5426c6){const _0x1c7fc3=_0xf37888;this[_0x1c7fc3(0x471)](),this[_0x1c7fc3(0x30d)](this[_0x1c7fc3(0x38e)][_0x1c7fc3(0x3db)](_0x5426c6)),this[_0x1c7fc3(0x1bb)]();}[_0xf37888(0x513)](_0x2688f6){const _0x4160ab=_0xf37888;this[_0x4160ab(0x471)](),this[_0x4160ab(0x30d)](this[_0x4160ab(0x38e)]['onRemoteRej'](_0x2688f6)),this[_0x4160ab(0x1bb)]();}[_0xf37888(0x1c3)](_0x149f59){const _0x517159=_0xf37888;this['_lockTransition'](),this[_0x517159(0x30d)](this[_0x517159(0x38e)][_0x517159(0x36a)](_0x149f59)),this[_0x517159(0x1bb)]();}[_0xf37888(0x294)](_0x484665){const _0x53d968=_0xf37888;if(!(this[_0x53d968(0x38e)]instanceof he))throw new TypeError(_0x53d968(0x31c));const _0x5a3720=_0x484665[_0x53d968(0x41b)](_0x402946=>{const _0x39d29e=_0x53d968,_0x3e3833=this[_0x39d29e(0x2ab)][_0x39d29e(0x49b)][_0x39d29e(0x174)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x39d29e(0x3ff)])(_0x402946['mutations'],null)||_0x402946[_0x39d29e(0x372)];return{..._0x402946,'mutations':_0x3e3833};});this['_lockTransition'](),this[_0x53d968(0x30d)](this[_0x53d968(0x38e)][_0x53d968(0x487)](_0x5a3720)),this['_unlockTransition']();}[_0xf37888(0x392)](){const _0x4f2335=_0xf37888;this[_0x4f2335(0x471)](),this['_updateState'](this['_state'][_0x4f2335(0x3b9)]()),this['_unlockTransition']();}[_0xf37888(0x150)](_0x130021=!0x1){const _0x2830ea=_0xf37888;this[_0x2830ea(0x471)](),this['_updateState'](this['_state'][_0x2830ea(0x211)]()),this['_unlockTransition']();const _0x154b91=this[_0x2830ea(0x38e)];_0x130021&&_0x154b91 instanceof Fe&&(this['_lockTransition'](),this['_updateState'](_0x154b91[_0x2830ea(0x22c)]()),this[_0x2830ea(0x1bb)]());}async[_0xf37888(0x138)](){return new Promise(_0x2303a0=>{const _0x398ee5=_0x136c;this['session'][_0x398ee5(0x3e3)][_0x398ee5(0x3bf)](_0x5f06ad(0x1))['subscribe'](async _0x4458d2=>{const _0x573057=_0x398ee5;_0x2303a0(await this[_0x573057(0x4f3)](_0x4458d2===ve[_0x573057(0x312)]));});});}[_0xf37888(0x3e6)](){const _0x27174b=_0xf37888,_0x4cad0a=this[_0x27174b(0x24f)];return{'onStateChange':(_0x1c4e49,_0x1883dc)=>{const _0x2728d6=_0x27174b;if(_0x1c4e49!==this[_0x2728d6(0x38e)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1c4e49['status']+_0x2728d6(0x2a7)+_0x1883dc['status']+_0x2728d6(0x414)+this[_0x2728d6(0x38e)][_0x2728d6(0x4a1)]);this[_0x2728d6(0x30d)](_0x1883dc);},'onSendChangeset':_0x4ddc57=>{const _0x4491dd=_0x27174b;_0x4ddc57[_0x4491dd(0x46e)]||(_0x4ddc57[_0x4491dd(0x46e)]=this[_0x4491dd(0x25d)],_0x4ddc57[_0x4491dd(0x262)]=++this[_0x4491dd(0x3c6)]);const _0x49291e={'eventID':_0x3c3869[_0x4491dd(0x1f3)],'data':{'unitID':_0x4ddc57[_0x4491dd(0x24f)],'unitType':this[_0x4491dd(0x514)],'changeset':_0x4ddc57,'memberID':this[_0x4491dd(0x429)]['getMemberID']()}};this[_0x4491dd(0x429)][_0x4491dd(0x512)](_0x49291e,this[_0x4491dd(0x24f)]);},'onMissingChangesets':({from:_0x312282,to:_0x297953})=>{const _0x3f9e69=_0x27174b;this[_0x3f9e69(0x2c3)][_0x3f9e69(0x13c)](_0x3f9e69(0x2b8),_0x3f9e69(0x167)+_0x312282+'\x20to\x20'+_0x297953);const _0xde8e79={'eventID':_0x3c3869[_0x3f9e69(0x44f)],'data':{'unitID':_0x4cad0a,'unitType':this[_0x3f9e69(0x514)],'from':_0x312282,'to':_0x297953}};this[_0x3f9e69(0x429)][_0x3f9e69(0x512)](_0xde8e79,this['unitID']);}};}async['_createInitialStateImpl'](_0x426c36){const _0x17a1f0=_0xf37888;var _0x5a588c,_0x3c2ef5;const _0x43971b=await this['_localCacheService'][_0x17a1f0(0x40e)](this[_0x17a1f0(0x24f)]),_0x42a188=(_0x5a588c=_0x43971b==null?void 0x0:_0x43971b['mutations'])!=null?_0x5a588c:[],_0x2b4b77=(_0x3c2ef5=_0x43971b==null?void 0x0:_0x43971b[_0x17a1f0(0x2b6)])!=null?_0x3c2ef5:null,_0x15f864=!!(_0x2b4b77!=null&&_0x2b4b77[_0x17a1f0(0x46e)])&&!!(_0x2b4b77!=null&&_0x2b4b77['reqId']);this[_0x17a1f0(0x25d)]=_0x15f864?_0x2b4b77[_0x17a1f0(0x46e)]:zr(),this[_0x17a1f0(0x3c6)]=_0x15f864?_0x2b4b77['reqId']:0x0;const _0x1a5c76=this[_0x17a1f0(0x24f)];try{this[_0x17a1f0(0x3a6)](_0x2b4b77,_0x42a188);}catch(_0xf3890a){this[_0x17a1f0(0x2c3)][_0x17a1f0(0x329)](_0xf3890a);}const _0x2a524a=this[_0x17a1f0(0x3e6)]();if(_0x426c36){const _0x204342=Ai(this['_injector'],_0x1a5c76,this[_0x17a1f0(0x514)],_0x2b4b77,_0x42a188,_0x2a524a);return _0x204342 instanceof pe?_0x204342[_0x17a1f0(0x2df)]():(_0x204342 instanceof ge||_0x204342 instanceof Te)&&_0x204342['resend'](),_0x204342;}return this[_0x17a1f0(0x43d)][_0x17a1f0(0x3d0)](ye,_0x1a5c76,this['_type'],_0x2b4b77,_0x42a188,_0x2a524a);}[_0xf37888(0x3a6)](_0x26eb3b,_0x16ed00){const _0x3c4c54=_0xf37888;var _0x150e9c,_0x4867c5;const _0xf02e34=this[_0x3c4c54(0x2ab)][_0x3c4c54(0x49b)][_0x3c4c54(0x174)](this['_compressMutationService'][_0x3c4c54(0x49b)][_0x3c4c54(0x395)]()[_0x3c4c54(0x3ff)]);(_0x150e9c=_0xf02e34((_0x26eb3b==null?void 0x0:_0x26eb3b[_0x3c4c54(0x372)])||[],null))==null||_0x150e9c[_0x3c4c54(0x321)](_0x31d3e7=>this[_0x3c4c54(0x1fb)]['executeCommand'](_0x31d3e7['id'],_0x31d3e7[_0x3c4c54(0x274)])),(_0x4867c5=_0xf02e34(_0x16ed00||[],null))==null||_0x4867c5[_0x3c4c54(0x321)](_0xfa6f68=>this['_commandService']['executeCommand'](_0xfa6f68['id'],_0xfa6f68[_0x3c4c54(0x274)]));}};gt=Es([H(0x3,_0x39c8b8(_0x2fd08f)),H(0x4,_0x39c8b8(q)),H(0x5,_0x39c8b8(_0x78bcc3)),H(0x6,_0x39c8b8(_0x50f35b)),H(0x7,_0x39c8b8(_0x304c49)),H(0x8,_0x399eca),H(0x9,_0x48fc43),H(0xa,_0xffafbc),H(0xb,_0x19df2d),H(0xc,_0x174482(Rt))],gt);let ss=class extends gt{constructor(_0x182175,_0x2ffb9a,_0x4df09d,_0x251218,_0x41f49a,_0x1a3bcd,_0x3cefac,_0x414a70,_0x4e9450,_0x4bdeba,_0x524a8f,_0x25dd37,_0x1ab093,_0x104f8d,_0x490a96,_0x2cb77b,_0x551ce5,_0x2209bd){const _0x3cbd48=_0xf37888;super(_0x182175,_0x4df09d,_0x2ffb9a,_0x251218,_0x41f49a,_0x1a3bcd,_0x3cefac,_0x414a70,_0x104f8d,_0x490a96,_0x2cb77b,_0x551ce5,_0x2209bd),this[_0x3cbd48(0x24f)]=_0x182175,this[_0x3cbd48(0x1fd)]=_0x2ffb9a,this['_docStateChangeManagerService']=_0x4e9450,this['_docTransformIMECacheService']=_0x4bdeba,this['_docTransformStateCacheService']=_0x524a8f,this['_docTransformSelectionsService']=_0x25dd37,this[_0x3cbd48(0x31e)]=_0x1ab093;}[_0xf37888(0x3e6)](){const _0x85309f=_0xf37888,_0x1184df=super[_0x85309f(0x3e6)]();return _0x1184df[_0x85309f(0x371)]=_0x4fac7a=>this[_0x85309f(0x1d4)][_0x85309f(0x30b)](_0x4fac7a),_0x1184df[_0x85309f(0x376)]=_0x16dbf1=>this['_docTransformStateCacheService'][_0x85309f(0x20e)](_0x16dbf1),_0x1184df[_0x85309f(0x380)]=_0x7d1f6d=>this['_docTransformSelectionsService'][_0x85309f(0x2c1)](_0x7d1f6d),_0x1184df[_0x85309f(0x506)]=_0x2870cb=>this['_docSyncEditingCollabCursorService'][_0x85309f(0x39e)](_0x2870cb),_0x1184df['onTransformRemoteChangesetByIMECache']=_0xa33172=>this[_0x85309f(0x1d4)][_0x85309f(0x423)](_0xa33172),_0x1184df[_0x85309f(0x42f)]=_0x3d7032=>this[_0x85309f(0x1e0)][_0x85309f(0x423)](_0x3d7032),_0x1184df;}async[_0xf37888(0x406)](){const _0x594d02=_0xf37888,_0x15b562=await super['_init']();return this[_0x594d02(0x1ce)][_0x594d02(0x3d8)][_0x594d02(0x3bf)](_0x1825a9(this['dispose$']))[_0x594d02(0x236)](_0x4be8d5=>{const _0x291ce4=_0x594d02;if(_0x4be8d5==null)return;const {unitId:_0x5ea167,redoState:_0x2e96d4,commandId:_0x3869e1}=_0x4be8d5;if(_0x5ea167!==this[_0x291ce4(0x24f)])return;const _0x5450cc={'id':_0x3869e1,'type':_0x357ec8[_0x291ce4(0x1de)],'params':{'unitId':_0x5ea167,'actions':_0x2e96d4[_0x291ce4(0x2fc)],'textRanges':null}};this[_0x291ce4(0x279)](_0x5450cc);}),_0x15b562;}};ss=Es([H(0x3,_0x39c8b8(_0x2fd08f)),H(0x4,_0x39c8b8(q)),H(0x5,_0x39c8b8(_0x78bcc3)),H(0x6,_0x39c8b8(_0x50f35b)),H(0x7,_0x39c8b8(_0x304c49)),H(0x8,_0x39c8b8(_0x3b95d5)),H(0x9,_0x39c8b8(ft)),H(0xa,_0x39c8b8(mt)),H(0xb,_0x39c8b8(pt)),H(0xc,_0x39c8b8(Cs)),H(0xd,_0x399eca),H(0xe,_0x48fc43),H(0xf,_0xffafbc),H(0x10,_0x19df2d),H(0x11,_0x174482(Rt))],ss);let is=class extends gt{constructor(_0x464dbe,_0x2fbf7a,_0x5b6b49,_0x4f4a38,_0x184280,_0x22efb2,_0x966aa6,_0x46276f,_0x35fa8d,_0x2f9d54,_0x325292,_0x159f96,_0x264c29,_0x4adc06){const _0x2e2d4d=_0xf37888;super(_0x464dbe,_0x5b6b49,_0x2fbf7a,_0x4f4a38,_0x184280,_0x22efb2,_0x966aa6,_0x46276f,_0x2f9d54,_0x325292,_0x159f96,_0x264c29,_0x4adc06),this[_0x2e2d4d(0x24f)]=_0x464dbe,this[_0x2e2d4d(0x1fd)]=_0x2fbf7a,this[_0x2e2d4d(0x3ef)]=_0x35fa8d;}[_0xf37888(0x3e6)](){const _0x55d65b=_0xf37888,_0x4bb546=super[_0x55d65b(0x3e6)]();return _0x4bb546[_0x55d65b(0x380)]=_0x3bf5c9=>this[_0x55d65b(0x3ef)][_0x55d65b(0x2c1)](_0x3bf5c9),_0x4bb546;}async[_0xf37888(0x406)](){const _0x1e974d=_0xf37888,_0x12d531=await super[_0x1e974d(0x406)]();return this[_0x1e974d(0x3ec)](this[_0x1e974d(0x1fb)][_0x1e974d(0x4e2)]((_0x28849d,_0x463674)=>{const _0x3bca48=_0x1e974d;if(_0x28849d[_0x3bca48(0x1fd)]!==_0x357ec8['MUTATION']||_0x463674!=null&&_0x463674[_0x3bca48(0x161)]||_0x463674!=null&&_0x463674['onlyLocal'])return;const _0x58ef2e=_0x28849d[_0x3bca48(0x274)];if((_0x58ef2e==null?void 0x0:_0x58ef2e['unitId'])!==this[_0x3bca48(0x24f)])return;const _0x1e0bdd=_0x28849d,_0x477477=this[_0x3bca48(0x2ab)][_0x3bca48(0x49b)][_0x3bca48(0x174)](this[_0x3bca48(0x2ab)][_0x3bca48(0x49b)][_0x3bca48(0x395)]()[_0x3bca48(0x386)])([_0x1e0bdd],null)||[_0x1e0bdd];this[_0x3bca48(0x279)](_0x477477[0x0]);})),_0x12d531;}};is=Es([H(0x3,_0x39c8b8(_0x2fd08f)),H(0x4,_0x39c8b8(q)),H(0x5,_0x39c8b8(_0x78bcc3)),H(0x6,_0x39c8b8(_0x50f35b)),H(0x7,_0x39c8b8(_0x304c49)),H(0x8,_0x39c8b8(vt)),H(0x9,_0x399eca),H(0xa,_0x48fc43),H(0xb,_0xffafbc),H(0xc,_0x19df2d),H(0xd,_0x174482(Rt))],is);var Co=Object[_0xf37888(0x320)],Eo=Object[_0xf37888(0x26b)],bo=(_0x3c5ef7,_0x1700c1,_0x345948,_0x3a198f)=>{const _0x588d6c=_0xf37888;for(var _0x281513=_0x3a198f>0x1?void 0x0:_0x3a198f?Eo(_0x1700c1,_0x345948):_0x1700c1,_0xb5a6a9=_0x3c5ef7[_0x588d6c(0x42c)]-0x1,_0x13081f;_0xb5a6a9>=0x0;_0xb5a6a9--)(_0x13081f=_0x3c5ef7[_0xb5a6a9])&&(_0x281513=(_0x3a198f?_0x13081f(_0x1700c1,_0x345948,_0x281513):_0x13081f(_0x281513))||_0x281513);return _0x3a198f&&_0x281513&&Co(_0x1700c1,_0x345948,_0x281513),_0x281513;},Lt=(_0x231f69,_0x4fc6cd)=>(_0x5d8f67,_0x251130)=>_0x4fc6cd(_0x5d8f67,_0x251130,_0x231f69);let it=class extends _0x3c16d2{constructor(_0x10a728,_0x10973a,_0x3465a8){const _0x4b5b9d=_0xf37888;super(),g(this,_0x4b5b9d(0x3c4),new Map()),g(this,_0x4b5b9d(0x397),new _0x382230()),(this['_injector']=_0x10a728,this[_0x4b5b9d(0x47f)]=_0x10973a,this[_0x4b5b9d(0x1c2)]=_0x3465a8,this['_init']());}['dispose'](){const _0x14f6a8=_0xf37888;super[_0x14f6a8(0x4d5)](),this[_0x14f6a8(0x3c4)][_0x14f6a8(0x321)](_0x1c6053=>_0x1c6053[_0x14f6a8(0x4d5)]()),this[_0x14f6a8(0x3c4)][_0x14f6a8(0x415)]();}['getCollabEntity'](_0x246761){const _0x18b5d7=_0xf37888;var _0xf4399c;return(_0xf4399c=this['_entities'][_0x18b5d7(0x166)](_0x246761))!=null?_0xf4399c:null;}[_0xf37888(0x15a)](_0x2acf60){const _0x5c45f5=_0xf37888,_0x5dbb04=this[_0x5c45f5(0x342)](_0x2acf60);return _0x5dbb04?_0x5ac583(_0x5dbb04):this['_entityInit$'][_0x5c45f5(0x3bf)](_0x2d7a63(_0x695051=>_0x695051[_0x5c45f5(0x24f)]===_0x2acf60));}[_0xf37888(0x406)](){const _0xc79ab9=_0xf37888;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42608e[_0xc79ab9(0x19a)])[_0xc79ab9(0x3bf)](_0x1825a9(this['dispose$']),_0x207ed1(0x10))[_0xc79ab9(0x236)](async _0x3186d1=>{const _0x540974=_0xc79ab9,_0x5b248a=_0x3186d1['getUnitId'](),_0x2b66f1=await this[_0x540974(0x2a5)](_0x5b248a,ce[_0x540974(0x19a)]);this[_0x540974(0x3c4)][_0x540974(0x1ec)](_0x5b248a,_0x2b66f1);}),this[_0xc79ab9(0x1c2)][_0xc79ab9(0x493)](_0x42608e['UNIVER_DOC'])[_0xc79ab9(0x3bf)](_0x1825a9(this[_0xc79ab9(0x118)]),_0x207ed1(0x10))[_0xc79ab9(0x3bf)](_0x2d7a63(_0x533c75=>!_0x533c75[_0xc79ab9(0x1a4)]()[_0xc79ab9(0x34d)]('__')))[_0xc79ab9(0x236)](async _0xb7ded=>{const _0xf2f320=_0xc79ab9,_0x4338cf=_0xb7ded[_0xf2f320(0x1a4)](),_0x5692bb=await this['_startCollaboration'](_0x4338cf,ce[_0xf2f320(0x1c1)]);this['_entities']['set'](_0x4338cf,_0x5692bb);}),_0x45ad1c(this['_univerInstanceService'][_0xc79ab9(0x465)](_0x42608e['UNIVER_SHEET']),this[_0xc79ab9(0x1c2)][_0xc79ab9(0x465)](_0x42608e['UNIVER_DOC']))[_0xc79ab9(0x3bf)](_0x1825a9(this[_0xc79ab9(0x118)]))[_0xc79ab9(0x236)](_0x27219f=>{const _0x4d940d=_0xc79ab9,_0x18b2d0=_0x27219f[_0x4d940d(0x1a4)](),_0x441360=this[_0x4d940d(0x3c4)][_0x4d940d(0x166)](_0x18b2d0);_0x441360&&(_0x441360[_0x4d940d(0x4d5)](),this[_0x4d940d(0x3c4)][_0x4d940d(0x3ab)](_0x18b2d0));});}async['_startCollaboration'](_0x2edf34,_0x102b34){const _0x2503c8=_0xf37888,_0x4d1b4f=await this[_0x2503c8(0x47f)][_0x2503c8(0x4f0)](_0x2edf34),_0xf0f604=this[_0x2503c8(0x43d)][_0x2503c8(0x3d0)](this[_0x2503c8(0x4a0)](_0x102b34),_0x2edf34,_0x102b34,_0x4d1b4f);return await _0xf0f604['init'](),this[_0x2503c8(0x397)]['next'](_0xf0f604),_0xf0f604;}[_0xf37888(0x4a0)](_0xbfd30c){const _0x191f11=_0xf37888;switch(_0xbfd30c){case ce[_0x191f11(0x1c1)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x191f11(0x46b)+_0xbfd30c);}}};it=bo([Lt(0x0,_0x39c8b8(_0x2fd08f)),Lt(0x1,_0x39c8b8(Ae)),Lt(0x2,_0x6b8e83)],it);const Gs=[_0xf37888(0x443),_0xf37888(0x292),_0xf37888(0x352),_0xf37888(0x398),_0xf37888(0x2b5),_0xf37888(0x416)];class bs extends _0xb54fec{constructor(){const _0x4dde15=_0xf37888;super(...arguments),g(this,_0x4dde15(0x4a5),new Map()),g(this,_0x4dde15(0x405),0x0);}[_0xf37888(0x3bb)](_0x355df0){const _0x632c03=_0xf37888;if(this[_0x632c03(0x4a5)][_0x632c03(0x4af)](_0x355df0))return this[_0x632c03(0x4a5)][_0x632c03(0x166)](_0x355df0);const _0x69d3cc=Gs[this[_0x632c03(0x405)]];return this['_colorIndex']=(this[_0x632c03(0x405)]+0x1)%Gs[_0x632c03(0x42c)],this[_0x632c03(0x4a5)]['set'](_0x355df0,_0x69d3cc),_0x69d3cc;}}var To=Object[_0xf37888(0x320)],Ro=Object[_0xf37888(0x26b)],yo=(_0x21b4a1,_0x23efa3,_0x1cae2c,_0x9093e5)=>{const _0x26c04a=_0xf37888;for(var _0x35790e=_0x9093e5>0x1?void 0x0:_0x9093e5?Ro(_0x23efa3,_0x1cae2c):_0x23efa3,_0x3988e4=_0x21b4a1[_0x26c04a(0x42c)]-0x1,_0x1fe6bb;_0x3988e4>=0x0;_0x3988e4--)(_0x1fe6bb=_0x21b4a1[_0x3988e4])&&(_0x35790e=(_0x9093e5?_0x1fe6bb(_0x23efa3,_0x1cae2c,_0x35790e):_0x1fe6bb(_0x35790e))||_0x35790e);return _0x9093e5&&_0x35790e&&To(_0x23efa3,_0x1cae2c,_0x35790e),_0x35790e;},Oe=(_0x1f9ab5,_0x1e5686)=>(_0x35a1a5,_0x4cfd24)=>_0x1e5686(_0x35a1a5,_0x4cfd24,_0x1f9ab5);const Oo=0x12c,wo=0x64;let ns=class extends _0x3c16d2{constructor(_0x31734f,_0x37f1c9,_0x311b4e,_0x25070e,_0x2fa7f2,_0x4fcedc,_0x26cc5a,_0x8ac0b1,_0x596f8e){const _0x2d71d2=_0xf37888;super(),g(this,'_online',!0x1),g(this,_0x2d71d2(0x406),!0x1),g(this,_0x2d71d2(0x148),new _0x7465ad(new Map())),g(this,_0x2d71d2(0x3c9),this[_0x2d71d2(0x148)][_0x2d71d2(0x2cf)]()),g(this,_0x2d71d2(0x36e),new _0x7465ad([])),g(this,'roomMembers$',this['_roomMembers$'][_0x2d71d2(0x3bf)](_0x2edddb(Oo))),g(this,_0x2d71d2(0x4ac),_0x4bf9ba(_0x41c397=>{const _0x1ec082=_0x2d71d2,_0x17217b={'eventID':_0x3c3869[_0x1ec082(0x494)],'data':{'unitID':this[_0x1ec082(0x24f)],'memberID':this[_0x1ec082(0x159)]['getMemberID'](),'selection':Pi(_0x41c397)}};this[_0x1ec082(0x159)][_0x1ec082(0x512)](_0x17217b,this[_0x1ec082(0x24f)]);},wo)),(this[_0x2d71d2(0x24f)]=_0x31734f,this[_0x2d71d2(0x159)]=_0x37f1c9,this['_injector']=_0x311b4e,this[_0x2d71d2(0x14c)]=_0x25070e,this[_0x2d71d2(0x1d0)]=_0x2fa7f2,this[_0x2d71d2(0x155)]=_0x4fcedc,this[_0x2d71d2(0x310)]=_0x26cc5a,this[_0x2d71d2(0x1c2)]=_0x8ac0b1,this[_0x2d71d2(0x1fb)]=_0x596f8e);}get['cursorInfo'](){const _0x5280c3=_0xf37888;return this['_cursorInfo$'][_0x5280c3(0x1aa)]();}get[_0xf37888(0x2bb)](){const _0x5a7c87=_0xf37888;return this[_0x5a7c87(0x36e)][_0x5a7c87(0x1aa)]();}[_0xf37888(0x4d5)](){const _0x198eee=_0xf37888;super['dispose'](),this['_cursorInfo$'][_0x198eee(0x2d2)](new Map()),this[_0x198eee(0x148)]['complete'](),this['_roomMembers$'][_0x198eee(0x2d2)]([]),this[_0x198eee(0x36e)][_0x198eee(0x12e)]();}[_0xf37888(0x10e)](){const _0x1ac161=_0xf37888;this['_init']||(this[_0x1ac161(0x406)]=!0x0,this[_0x1ac161(0x159)][_0x1ac161(0x3e3)][_0x1ac161(0x3bf)](_0x1825a9(this[_0x1ac161(0x118)]))['subscribe'](_0x5975ec=>{const _0x2d680b=_0x1ac161;_0x5975ec===ve[_0x2d680b(0x312)]?this[_0x2d680b(0x150)]():this[_0x2d680b(0x392)]();}),this['_session'][_0x1ac161(0x3c5)][_0x1ac161(0x3bf)](_0x1825a9(this[_0x1ac161(0x118)]))[_0x1ac161(0x236)](_0x1b5195=>{const _0x26141d=_0x1ac161,_0x304a86=_0x1b5195[_0x26141d(0x214)];_0x304a86===_0x3c3869['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1b5195),_0x304a86===_0x3c3869[_0x26141d(0x3c2)]&&this[_0x26141d(0x15f)](_0x1b5195);}),this[_0x1ac161(0x3ec)](this[_0x1ac161(0x1fb)]['onCommandExecuted'](_0x52c033=>{const _0x2bc3ad=_0x1ac161,_0xfde7ae=_0x52c033[_0x2bc3ad(0x274)];_0xfde7ae!=null&&this[_0x2bc3ad(0x28e)]&&_0x52c033['id']===_0x4cbea3['id']&&_0xfde7ae['unitId']===this['unitID']&&_0xfde7ae[_0x2bc3ad(0x4e6)]===!0x1&&_0xfde7ae[_0x2bc3ad(0x45e)][_0x2bc3ad(0x42c)]>0x0&&this[_0x2bc3ad(0x4ac)](_0xfde7ae[_0x2bc3ad(0x45e)]);})),this[_0x1ac161(0x155)][_0x1ac161(0x172)]['pipe'](_0x1825a9(this[_0x1ac161(0x118)]))[_0x1ac161(0x236)](_0x38a06c=>{const _0x1f2e66=_0x1ac161;if((_0x38a06c==null?void 0x0:_0x38a06c[_0x1f2e66(0x24f)])!==this[_0x1f2e66(0x24f)])return;const _0x37c180={'eventID':_0x3c3869[_0x1f2e66(0x494)],'data':_0x38a06c};this['_onCursorUpdate'](_0x37c180);}),this[_0x1ac161(0x3ec)](this[_0x1ac161(0x1fb)][_0x1ac161(0x4e2)](_0x516fa0=>{const _0x138a58=_0x1ac161;if(_0x516fa0[_0x138a58(0x274)]==null)return;const _0x566f8d=_0x516fa0[_0x138a58(0x274)];if(_0x516fa0['id']!==_0x216675['id']||_0x566f8d['unitId']!==this[_0x138a58(0x24f)])return;const _0x672d7f={'id':_0x138a58(0x1a5),'params':_0x566f8d},_0x4395af=this[_0x138a58(0x390)];for(const [_0x322903,_0x202ba6]of _0x4395af){const _0x174404={'id':_0x138a58(0x1a5),'params':{'unitId':this[_0x138a58(0x24f)],'actions':null,'textRanges':_0x202ba6['ranges']}},_0x770d6b=this['_transformService']['transformMutation'](_0x672d7f,_0x174404,!0x1);if(_0xfceaae(_0x770d6b))throw _0x770d6b['error'];_0x4395af[_0x138a58(0x1ec)](_0x322903,{..._0x202ba6,'ranges':_0x770d6b['m2Prime'][_0x138a58(0x274)][_0x138a58(0x485)]});}queueMicrotask(()=>{const _0x40f142=_0x138a58;this[_0x40f142(0x148)][_0x40f142(0x2d2)](_0x4395af);});})));}[_0xf37888(0x2ac)](_0x25fd65){const _0x237921=_0xf37888;var _0x1b5caf,_0x422333;const {memberID:_0x25381e,selection:_0x2241c1}=_0x25fd65[_0x237921(0x1cc)],_0x1202d2=ho(_0x2241c1),_0x57230e=(_0x422333=(_0x1b5caf=this['_memberService'][_0x237921(0x208)](this['unitID'],_0x25381e))==null?void 0x0:_0x1b5caf[_0x237921(0x14e)])!=null?_0x422333:'Unknown\x20user',_0x2edfea={'color':this[_0x237921(0x14c)][_0x237921(0x3bb)](_0x25381e),'name':_0x57230e,'ranges':_0x1202d2},_0x93ec7c=this[_0x237921(0x390)];_0x93ec7c[_0x237921(0x1ec)](_0x25381e,_0x2edfea),this['_cursorInfo$']['next'](_0x93ec7c);}[_0xf37888(0x15f)](_0x11b27f){const _0x53ad41=_0xf37888,{memberID:_0xeedb9d}=_0x11b27f[_0x53ad41(0x1cc)],_0x377064=this[_0x53ad41(0x390)];_0x377064[_0x53ad41(0x3ab)](_0xeedb9d),this[_0x53ad41(0x148)][_0x53ad41(0x2d2)](_0x377064);}[_0xf37888(0x150)](){const _0x414feb=_0xf37888;var _0x504c61;if(this[_0x414feb(0x28e)]=!0x0,((_0x504c61=this[_0x414feb(0x1c2)][_0x414feb(0x2f2)]())==null?void 0x0:_0x504c61['getUnitId']())!==this['unitID'])return;const _0x55bc58=this[_0x414feb(0x43d)]['get'](_0x17cd7b)[_0x414feb(0x2fd)]();Array['isArray'](_0x55bc58)&&_0x55bc58[_0x414feb(0x42c)]>0x0&&this[_0x414feb(0x4ac)](_0x55bc58);}[_0xf37888(0x392)](){this['_online']=!0x1;}};ns=yo([Oe(0x2,_0x39c8b8(_0x2fd08f)),Oe(0x3,_0x39c8b8(bs)),Oe(0x4,_0x39c8b8(Ne)),Oe(0x5,_0x39c8b8(Cs)),Oe(0x6,_0x36ceed),Oe(0x7,_0x6b8e83),Oe(0x8,_0x48fc43)],ns);var Do=Object[_0xf37888(0x320)],Po=Object['getOwnPropertyDescriptor'],Uo=(_0xc8f0a2,_0x399e3,_0x261c86,_0x164401)=>{const _0x36abd1=_0xf37888;for(var _0x5b16c1=_0x164401>0x1?void 0x0:_0x164401?Po(_0x399e3,_0x261c86):_0x399e3,_0x5dabaa=_0xc8f0a2[_0x36abd1(0x42c)]-0x1,_0x29f71b;_0x5dabaa>=0x0;_0x5dabaa--)(_0x29f71b=_0xc8f0a2[_0x5dabaa])&&(_0x5b16c1=(_0x164401?_0x29f71b(_0x399e3,_0x261c86,_0x5b16c1):_0x29f71b(_0x5b16c1))||_0x5b16c1);return _0x164401&&_0x5b16c1&&Do(_0x399e3,_0x261c86,_0x5b16c1),_0x5b16c1;},Be=(_0x5a5e83,_0x32b088)=>(_0x179288,_0xc57c41)=>_0x32b088(_0x179288,_0xc57c41,_0x5a5e83);const No=0x12c,Ao=0x64,Mo=()=>{let _0xcee33f=[],_0x1a1134=!0x1;return _0x188ce0=>{const _0x1368e9=_0x136c;_0xcee33f[_0x1368e9(0x270)](_0x188ce0),_0x1a1134||(_0x1a1134=!0x0,setTimeout(()=>{const _0x303767=_0x1368e9;_0xcee33f[_0x303767(0x321)](_0x4de1e7=>_0x4de1e7()),_0xcee33f=[],_0x1a1134=!0x1;}));};};let rs=class extends _0x3c16d2{constructor(_0x1b60f5,_0x42aae2,_0x554abf,_0x1fb196,_0x5ba236,_0x47ba85,_0xd714bd,_0x30eddc){const _0x1f489c=_0xf37888;super(),g(this,'_online',!0x1),g(this,_0x1f489c(0x406),!0x1),g(this,_0x1f489c(0x148),new _0x7465ad(new Map())),g(this,_0x1f489c(0x3c9),this[_0x1f489c(0x148)][_0x1f489c(0x2cf)]()),g(this,_0x1f489c(0x36e),new _0x7465ad([])),g(this,_0x1f489c(0x183),this['_roomMembers$'][_0x1f489c(0x3bf)](_0x2edddb(No))),g(this,_0x1f489c(0x4ac),_0x4bf9ba((_0x4b6418,_0xd20cf2)=>{const _0x169124=_0x1f489c,_0x3f35ab={'eventID':_0x3c3869[_0x169124(0x494)],'data':{'unitID':this['unitID'],'memberID':this[_0x169124(0x159)][_0x169124(0x440)](),'selection':_0x30ad03(_0x4b6418,_0xd20cf2[_0x169124(0x3f9)])}};this[_0x169124(0x159)][_0x169124(0x512)](_0x3f35ab,this[_0x169124(0x24f)]);},Ao)),(this[_0x1f489c(0x24f)]=_0x1b60f5,this[_0x1f489c(0x159)]=_0x42aae2,this[_0x1f489c(0x43d)]=_0x554abf,this[_0x1f489c(0x14c)]=_0x1fb196,this[_0x1f489c(0x1d0)]=_0x5ba236,this[_0x1f489c(0x1c2)]=_0x47ba85,this['_commandService']=_0xd714bd,this[_0x1f489c(0x4f5)]=_0x30eddc);}get[_0xf37888(0x390)](){const _0x4ba10e=_0xf37888;return this[_0x4ba10e(0x148)][_0x4ba10e(0x1aa)]();}get[_0xf37888(0x2bb)](){const _0xf81d7a=_0xf37888;return this[_0xf81d7a(0x36e)]['getValue']();}[_0xf37888(0x4d5)](){const _0x33e6ed=_0xf37888;super[_0x33e6ed(0x4d5)](),this['_cursorInfo$'][_0x33e6ed(0x2d2)](new Map()),this[_0x33e6ed(0x148)][_0x33e6ed(0x12e)](),this[_0x33e6ed(0x36e)]['next']([]),this[_0x33e6ed(0x36e)][_0x33e6ed(0x12e)]();}[_0xf37888(0x10e)](){const _0x3802de=_0xf37888;this[_0x3802de(0x406)]||(this[_0x3802de(0x406)]=!0x0,this[_0x3802de(0x159)]['sessionStatus$'][_0x3802de(0x3bf)](_0x1825a9(this['dispose$']))[_0x3802de(0x236)](_0x1bc186=>{const _0x5cae75=_0x3802de;_0x1bc186===ve[_0x5cae75(0x312)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3802de(0x159)]['event$']['pipe'](_0x1825a9(this['dispose$']))[_0x3802de(0x236)](_0x29e001=>{const _0x4a1335=_0x3802de,_0x43be2a=_0x29e001[_0x4a1335(0x214)];_0x43be2a===_0x3c3869['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x29e001),_0x43be2a===_0x3c3869[_0x4a1335(0x3c2)]&&this[_0x4a1335(0x15f)](_0x29e001);}),this['_onRefRangeChange'](),this[_0x3802de(0x3ec)](this[_0x3802de(0x1fb)][_0x3802de(0x4e2)](_0x44b1c9=>{const _0x148a6c=_0x3802de;if(this[_0x148a6c(0x28e)]&&_0x44b1c9['id']===_0x455bea['id']&&_0x44b1c9[_0x148a6c(0x274)][_0x148a6c(0x442)]===this[_0x148a6c(0x24f)]){const _0x495635=_0x44b1c9['params'];this[_0x148a6c(0x4ac)](_0x495635[_0x148a6c(0x24a)],_0x495635[_0x148a6c(0x3fb)][0x0]);}})));}[_0xf37888(0x2ac)](_0x306e5b){const _0x2a906b=_0xf37888;var _0x49425c,_0x4e3c7d;const {memberID:_0x1d0940,selection:_0x43ca06}=_0x306e5b[_0x2a906b(0x1cc)],{sheetName:_0x6772fc,range:_0x117ceb}=_0x213db1(_0x43ca06),_0x286c37={'name':(_0x4e3c7d=(_0x49425c=this['_memberService'][_0x2a906b(0x208)](this[_0x2a906b(0x24f)],_0x1d0940))==null?void 0x0:_0x49425c['name'])!=null?_0x4e3c7d:_0x2a906b(0x213),'range':this[_0x2a906b(0x2cc)](_0x6772fc,_0x117ceb),'sheetID':_0x6772fc,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1d0940),'selection':_0x43ca06},_0x1d5d3e=this[_0x2a906b(0x390)];_0x1d5d3e[_0x2a906b(0x1ec)](_0x1d0940,_0x286c37),this[_0x2a906b(0x148)][_0x2a906b(0x2d2)](_0x1d5d3e);}['_onCursorDelete'](_0x4f7ed6){const _0x196bee=_0xf37888,{memberID:_0x439ce9}=_0x4f7ed6['data'],_0x33e576=this[_0x196bee(0x390)];_0x33e576[_0x196bee(0x3ab)](_0x439ce9),this[_0x196bee(0x148)][_0x196bee(0x2d2)](_0x33e576);}[_0xf37888(0x2cc)](_0x5b6c8e,_0x33f4ab){const _0x2ace4b=_0xf37888;var _0x375caf,_0x4232a6;const _0x57b7b0=(_0x4232a6=(_0x375caf=this[_0x2ace4b(0x1c2)][_0x2ace4b(0x4e7)](this[_0x2ace4b(0x24f)]))==null?void 0x0:_0x375caf[_0x2ace4b(0x331)](_0x5b6c8e))==null?void 0x0:_0x4232a6['getMergeData']();return(_0x57b7b0==null?void 0x0:_0x57b7b0[_0x2ace4b(0x4b0)](_0x4303dd=>_0x3bc9a8['contains'](_0x4303dd,_0x33f4ab)))||_0x33f4ab;}[_0xf37888(0x2a4)](){const _0x4c41d3=_0xf37888,_0x282689=new _0x241f26(),_0x5043ca=Mo(),_0x24f608=()=>{const _0x535d48=_0x136c;_0x282689[_0x535d48(0x4d5)]();const _0x16aced=(_0x175558,_0x4c2c08,_0x32208f,_0x3819f0)=>{const _0x624f32=_0x535d48;let _0x1d7b59=[];switch(_0x175558['id']){case _0x393a47['DeleteRangeMoveLeftCommandId']:{_0x1d7b59=_0xc0b2af(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x434)]:{_0x1d7b59=_0xb8cee4(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x3a3)]:{_0x1d7b59=_0x53232e(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x3a2)]:{_0x1d7b59=_0x59b66c(_0x175558,_0x3819f0);break;}case _0x393a47['InsertRangeMoveRightCommandId']:{_0x1d7b59=_0x2723eb(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x26e)]:{_0x1d7b59=_0xae5700(_0x175558,_0x3819f0);break;}case _0x393a47['MoveRangeCommandId']:{_0x1d7b59=_0x204fc1(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x2bf)]:{_0x1d7b59=_0x5d6597(_0x175558,_0x3819f0);break;}case _0x393a47['RemoveRowCommandId']:{_0x1d7b59=_0x52d0b5(_0x175558,_0x3819f0);break;}}const _0x86bb54=_0x4681f0(_0x1d7b59,_0x3819f0),_0x2001a0=this[_0x624f32(0x390)]['get'](_0x4c2c08);if(_0x2001a0&&_0x86bb54){const _0x575eb0={..._0x2001a0,'range':_0x86bb54};this[_0x624f32(0x390)][_0x624f32(0x1ec)](_0x4c2c08,_0x575eb0),_0x5043ca(()=>{const _0x3380c0=_0x624f32,_0x2eabb4=this[_0x3380c0(0x4f5)][_0x3380c0(0x2f1)](_0x86bb54,_0x1eaf20=>(_0x2eabb4[_0x3380c0(0x4d5)](),_0x16aced(_0x1eaf20,_0x4c2c08,_0x32208f,_0x86bb54)));_0x282689['add'](_0x2eabb4);});}return{'redos':[],'undos':[]};};this[_0x535d48(0x390)][_0x535d48(0x321)]((_0x137c31,_0x16b045)=>{const _0x47e946=_0x535d48,{range:_0x9cf924,sheetID:_0xccc131}=_0x137c31,_0x5141e7=this[_0x47e946(0x4f5)][_0x47e946(0x2f1)](_0x9cf924,_0x477816=>(_0x5141e7['dispose'](),_0x16aced(_0x477816,_0x16b045,_0xccc131,_0x9cf924)));_0x282689[_0x47e946(0x389)](_0x5141e7);});};this[_0x4c41d3(0x3ec)](_0x5b8af0(this['_cursorInfo$'][_0x4c41d3(0x236)](()=>{_0x24f608();})));}[_0xf37888(0x150)](){const _0x3a6fa7=_0xf37888;var _0x2e366f,_0x163795;if(this[_0x3a6fa7(0x28e)]=!0x0,((_0x2e366f=this['_univerInstanceService'][_0x3a6fa7(0x2f2)]())==null?void 0x0:_0x2e366f[_0x3a6fa7(0x1a4)]())!==this[_0x3a6fa7(0x24f)])return;const _0x56776a=(_0x163795=this[_0x3a6fa7(0x43d)][_0x3a6fa7(0x166)](_0x2ff3ec)['getCurrentSelections']())==null?void 0x0:_0x163795[0x0],_0x2ec63e=this[_0x3a6fa7(0x1c2)][_0x3a6fa7(0x32c)](_0x42608e[_0x3a6fa7(0x19a)])[_0x3a6fa7(0x14f)]();_0x56776a&&_0x2ec63e&&this[_0x3a6fa7(0x4ac)](_0x2ec63e[_0x3a6fa7(0x370)](),_0x56776a);}['_toggleOffline'](){const _0x328edd=_0xf37888;this[_0x328edd(0x28e)]=!0x1;}};rs=Uo([Be(0x2,_0x39c8b8(_0x2fd08f)),Be(0x3,_0x39c8b8(bs)),Be(0x4,_0x39c8b8(Ne)),Be(0x5,_0x6b8e83),Be(0x6,_0x48fc43),Be(0x7,_0x39c8b8(_0x34f847))],rs);var xo=Object[_0xf37888(0x320)],Lo=Object[_0xf37888(0x26b)],$o=(_0x389b9a,_0xe876b7,_0x6e3c27,_0x3651aa)=>{for(var _0x161590=_0x3651aa>0x1?void 0x0:_0x3651aa?Lo(_0xe876b7,_0x6e3c27):_0xe876b7,_0x545201=_0x389b9a['length']-0x1,_0xcf8185;_0x545201>=0x0;_0x545201--)(_0xcf8185=_0x389b9a[_0x545201])&&(_0x161590=(_0x3651aa?_0xcf8185(_0xe876b7,_0x6e3c27,_0x161590):_0xcf8185(_0x161590))||_0x161590);return _0x3651aa&&_0x161590&&xo(_0xe876b7,_0x6e3c27,_0x161590),_0x161590;},$t=(_0x2da47b,_0x2ccb07)=>(_0x5daad6,_0xc956c0)=>_0x2ccb07(_0x5daad6,_0xc956c0,_0x2da47b);let Ve=class extends _0x3c16d2{constructor(_0x464ee7,_0x48ce05,_0x38f3a0){const _0x5447d1=_0xf37888;super(),g(this,'_entities',new Map()),g(this,_0x5447d1(0x397),new _0x382230()),(this[_0x5447d1(0x1c2)]=_0x464ee7,this[_0x5447d1(0x43d)]=_0x48ce05,this[_0x5447d1(0x47f)]=_0x38f3a0,this[_0x5447d1(0x406)]());}[_0xf37888(0x4d5)](){const _0x1e2176=_0xf37888;super[_0x1e2176(0x4d5)](),this[_0x1e2176(0x397)]['complete'](),this[_0x1e2176(0x3c4)]['forEach'](_0x22d9bc=>_0x22d9bc[_0x1e2176(0x4d5)]());}[_0xf37888(0x3b0)](_0x4b2da4){const _0x1872e6=_0xf37888;return this[_0x1872e6(0x3c4)][_0x1872e6(0x4af)](_0x4b2da4)?this[_0x1872e6(0x3c4)][_0x1872e6(0x166)](_0x4b2da4)[_0x1872e6(0x3c9)]:this[_0x1872e6(0x397)][_0x1872e6(0x3bf)](_0x14383b(_0x52d315=>_0x52d315[_0x1872e6(0x24f)]===_0x4b2da4),_0x784c53(_0xef58de=>_0xef58de['cursorInfo$']));}[_0xf37888(0x406)](){const _0x1db1c9=_0xf37888;this['_univerInstanceService'][_0x1db1c9(0x493)](_0x42608e[_0x1db1c9(0x19a)])['pipe'](_0x1825a9(this['dispose$']))[_0x1db1c9(0x236)](async _0x200c9f=>{const _0x25163a=_0x1db1c9,_0xb9a49b=_0x200c9f['getUnitId'](),_0x349ef7=await this[_0x25163a(0x3cf)](_0xb9a49b);this[_0x25163a(0x397)][_0x25163a(0x2d2)](_0x349ef7),this[_0x25163a(0x3c4)][_0x25163a(0x1ec)](_0xb9a49b,_0x349ef7);}),this[_0x1db1c9(0x1c2)][_0x1db1c9(0x493)](_0x42608e['UNIVER_DOC'])[_0x1db1c9(0x3bf)](_0x1825a9(this['dispose$']))[_0x1db1c9(0x3bf)](_0x14383b(_0x4c5445=>!_0x4c5445[_0x1db1c9(0x1a4)]()[_0x1db1c9(0x34d)]('__')))[_0x1db1c9(0x236)](async _0x5d377f=>{const _0x152b68=_0x1db1c9,_0x48618d=_0x5d377f['getUnitId'](),_0x3fc9c7=await this[_0x152b68(0x459)](_0x48618d);this['_entityInit$'][_0x152b68(0x2d2)](_0x3fc9c7),this[_0x152b68(0x3c4)]['set'](_0x48618d,_0x3fc9c7);}),_0x45ad1c(this[_0x1db1c9(0x1c2)][_0x1db1c9(0x465)](_0x42608e['UNIVER_DOC']),this[_0x1db1c9(0x1c2)][_0x1db1c9(0x465)](_0x42608e['UNIVER_SHEET']))[_0x1db1c9(0x3bf)](_0x1825a9(this[_0x1db1c9(0x118)]))[_0x1db1c9(0x236)](_0x1d714a=>{const _0x23bc8b=_0x1db1c9,_0x94734b=_0x1d714a[_0x23bc8b(0x1a4)](),_0x6eae8=this[_0x23bc8b(0x3c4)][_0x23bc8b(0x166)](_0x94734b);_0x6eae8&&(_0x6eae8[_0x23bc8b(0x4d5)](),this[_0x23bc8b(0x3c4)]['delete'](_0x94734b));});}async[_0xf37888(0x3cf)](_0x27ab4d){const _0x1119ff=_0xf37888,_0x1bdcd9=await this[_0x1119ff(0x47f)][_0x1119ff(0x4f0)](_0x27ab4d),_0x4d26c9=this['_injector'][_0x1119ff(0x3d0)](rs,_0x27ab4d,_0x1bdcd9);return _0x4d26c9[_0x1119ff(0x10e)](),_0x4d26c9;}async['_startDocCollabCursor'](_0x372609){const _0x587cb0=_0xf37888,_0x4cd5d4=await this[_0x587cb0(0x47f)][_0x587cb0(0x4f0)](_0x372609),_0x4a552e=this[_0x587cb0(0x43d)][_0x587cb0(0x3d0)](ns,_0x372609,_0x4cd5d4);return _0x4a552e['init'](),_0x4a552e;}};Ve=$o([$t(0x0,_0x6b8e83),$t(0x1,_0x39c8b8(_0x2fd08f)),$t(0x2,_0x39c8b8(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x36aea9,_0x4cdd95){const _0x37f884=_0xf37888;let {radius:_0x548544,width:_0x30ee9f,height:_0x2bb4a5}=_0x4cdd95;_0x548544=_0x548544!=null?_0x548544:0x0,_0x30ee9f=_0x30ee9f!=null?_0x30ee9f:0x1e,_0x2bb4a5=_0x2bb4a5!=null?_0x2bb4a5:0x1e;let _0x4caa12=0x0,_0x1bdf6d=0x0,_0x36bbbf=0x0;_0x4caa12=_0x1bdf6d=_0x36bbbf=Math[_0x37f884(0x256)](_0x548544,_0x30ee9f/0x2,_0x2bb4a5/0x2),_0x36aea9['beginPath'](),_0x36aea9[_0x37f884(0x20d)](_0x4caa12,0x0),_0x36aea9['lineTo'](_0x30ee9f-_0x1bdf6d,0x0),_0x36aea9[_0x37f884(0x303)](_0x30ee9f-_0x1bdf6d,_0x1bdf6d,_0x1bdf6d,Math['PI']*0x3/0x2,0x0,!0x1),_0x36aea9[_0x37f884(0x4ef)](_0x30ee9f,_0x2bb4a5-_0x36bbbf),_0x36aea9[_0x37f884(0x303)](_0x30ee9f-_0x36bbbf,_0x2bb4a5-_0x36bbbf,_0x36bbbf,0x0,Math['PI']/0x2,!0x1),_0x36aea9[_0x37f884(0x4ef)](0x0,_0x2bb4a5),_0x36aea9[_0x37f884(0x4ef)](0x0,_0x4caa12),_0x36aea9[_0x37f884(0x303)](_0x4caa12,_0x4caa12,_0x4caa12,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36aea9[_0x37f884(0x378)](),_0x4cdd95['fill']&&(_0x36aea9[_0x37f884(0x430)](),_0x36aea9[_0x37f884(0x4b5)]=_0x4cdd95[_0x37f884(0x4a2)],_0x4cdd95[_0x37f884(0x449)]==='evenodd'?_0x36aea9[_0x37f884(0x4a2)](_0x37f884(0x28a)):_0x36aea9['fill'](),_0x36aea9[_0x37f884(0x2dd)]());}class yt extends _0x20c0e5{constructor(_0x5cb2bc,_0x3337a3){const _0x20ce2e=_0xf37888;super(_0x5cb2bc,_0x3337a3),g(this,_0x20ce2e(0x10a)),g(this,_0x20ce2e(0x461)),(this[_0x20ce2e(0x10a)]=_0x3337a3==null?void 0x0:_0x3337a3[_0x20ce2e(0x10a)],this['text']=_0x3337a3==null?void 0x0:_0x3337a3[_0x20ce2e(0x461)]);}static['drawWith'](_0x5277af,_0x11dff3){const _0x9ed4ea=_0xf37888,{text:_0x2d1405,color:_0x16c21f}=_0x11dff3;_0x5277af[_0x9ed4ea(0x430)](),_0x5277af['font']=_0x9ed4ea(0x463);const _0x39790d=_0x5277af[_0x9ed4ea(0x39b)](_0x2d1405)[_0x9ed4ea(0x2cd)],_0x43d584=Math['min'](_0x39790d+0x2*Ht,Ys);jo(_0x5277af,{'height':nt,'radius':0x4,'width':_0x43d584,'fill':_0x16c21f,'evented':!0x1}),_0x5277af[_0x9ed4ea(0x4b5)]=_0x9ed4ea(0x4ff);const _0x5c640d=Ht,_0x3b0c4b=nt-Ho,_0x5466a9=Ys-0x2*Ht;if(_0x39790d>_0x5466a9){let _0x4afd6a='',_0x1e986a=0x0;for(const _0x338420 of _0x2d1405){const _0x5d32f6=_0x5277af[_0x9ed4ea(0x39b)](_0x338420)[_0x9ed4ea(0x2cd)];if(_0x1e986a+_0x5d32f6<=_0x5466a9-_0x5277af[_0x9ed4ea(0x39b)](_0x9ed4ea(0x1b3))['width'])_0x4afd6a+=_0x338420,_0x1e986a+=_0x5d32f6;else{_0x4afd6a+=_0x9ed4ea(0x1b3);break;}}_0x5277af[_0x9ed4ea(0x30f)](_0x4afd6a,_0x5c640d,_0x3b0c4b);}else _0x5277af[_0x9ed4ea(0x30f)](_0x2d1405,_0x5c640d,_0x3b0c4b);_0x5277af[_0x9ed4ea(0x2dd)]();}[_0xf37888(0x4fd)](_0xceab52){const _0x251f81=_0xf37888;yt[_0x251f81(0x10c)](_0xceab52,this);}}const jt=_0xf37888(0x1bf),Bo=_0xf37888(0x404),ko=_0xf37888(0x4bd),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo='rgba(255,\x20255,\x20255,\x200.01)';class Ks{constructor(_0x27ef7a,_0x5cb10b,_0x5a1aec,_0x2156b9){const _0x521413=_0xf37888;g(this,_0x521413(0x250),[]),g(this,_0x521413(0x450),null),g(this,_0x521413(0x3fa),null),g(this,_0x521413(0x425),null),g(this,'_hideTimer',null),g(this,_0x521413(0x19c),null),(this[_0x521413(0x36d)]=_0x27ef7a,this['_scene']=_0x5cb10b,this[_0x521413(0x31b)]=_0x5a1aec,this['_document']=_0x2156b9,this[_0x521413(0x4b9)]());}set[_0xf37888(0x125)](_0x5bf1c2){const _0x4f846e=_0xf37888;_0x5bf1c2?(this[_0x4f846e(0x425)]&&this[_0x4f846e(0x425)][_0x4f846e(0x46a)](),this[_0x4f846e(0x3fa)]&&this[_0x4f846e(0x3fa)][_0x4f846e(0x228)]()):(this[_0x4f846e(0x425)]&&this[_0x4f846e(0x425)][_0x4f846e(0x228)](),this['_textBubble']&&this[_0x4f846e(0x3fa)][_0x4f846e(0x46a)]());}['dispose'](){const _0x34bf60=_0xf37888;for(const _0x2d691c of this[_0x34bf60(0x250)])_0x2d691c[_0x34bf60(0x4d5)]();this[_0x34bf60(0x3fa)]&&this[_0x34bf60(0x3fa)]['dispose'](),this[_0x34bf60(0x425)]&&this[_0x34bf60(0x425)][_0x34bf60(0x4d5)](),this[_0x34bf60(0x450)]&&this[_0x34bf60(0x450)][_0x34bf60(0x4d5)](),this[_0x34bf60(0x19c)]&&this['_eventUnsubscribe']();}[_0xf37888(0x4b9)](){const _0x421b16=_0xf37888;var _0x562e97;const {_docSkeleton:_0x65de8c,_document:_0x379435}=this,{color:_0x23448f,name:_0x4986c1,ranges:_0x5b1446}=this[_0x421b16(0x36d)],_0x2078ed=_0x379435[_0x421b16(0x2d3)](),{docsLeft:_0xb5f4d1,docsTop:_0x89fbf5}=_0x2078ed,_0x38c7f3=new _0x45cbb8(_0x2078ed,_0x65de8c);for(const {startOffset:_0x16d4cb,endOffset:_0x8aa99d,rangeType:_0x5e0fa2,segmentId:_0x4b0865,segmentPage:_0x2f23ab,collapsed:_0x278707,isActive:_0x2aff57}of _0x5b1446){const _0x250179=_0x65de8c[_0x421b16(0x3b3)](_0x16d4cb,!0x0,_0x4b0865,_0x2f23ab);let _0xe04f59=_0x65de8c[_0x421b16(0x3b3)](_0x8aa99d,!0x0,_0x4b0865,_0x2f23ab);if(_0xe04f59==null&&(_0xe04f59=_0x65de8c['findNodePositionByCharIndex'](_0x8aa99d-0x1,!0x1,_0x4b0865,_0x2f23ab)),_0x2aff57){const {contentBoxPointGroup:_0x407499}=_0x38c7f3['getRangePointData'](_0xe04f59,_0xe04f59);if(_0x407499['length']===0x0)continue;this[_0x421b16(0x2e2)](_0x23448f,_0x407499,_0xb5f4d1,_0x89fbf5,_0x4986c1),this[_0x421b16(0x19c)]=this[_0x421b16(0x1ee)]();}if(_0x250179&&_0xe04f59){if(_0x5e0fa2===_0x3b2ca6[_0x421b16(0x282)]){const _0x1e97fc=new _0x14dcc5(_0x2078ed,_0x65de8c),{pointGroup:_0x28a1ae}=(_0x562e97=_0x1e97fc[_0x421b16(0x474)](_0x250179,_0xe04f59))!=null?_0x562e97:{};if(_0x28a1ae==null||_0x28a1ae['length']===0x0)continue;this[_0x421b16(0x3d2)](_0x23448f,_0x28a1ae,_0xb5f4d1,_0x89fbf5);}else{if(!_0x278707){const {borderBoxPointGroup:_0xe89705}=_0x38c7f3[_0x421b16(0x474)](_0x250179,_0xe04f59);if(_0xe89705['length']===0x0)continue;this['_drawTextRange'](_0x23448f,_0xe89705,_0xb5f4d1,_0x89fbf5);}}}}}[_0xf37888(0x2e2)](_0x4f1ebb,_0x5afd47,_0x5b891d,_0x1f9823,_0x1e3367){const _0x472a73=_0xf37888,_0x1fd7e0=this[_0x472a73(0x18c)](_0x5afd47),{left:_0x57b352,top:_0x405377,height:_0x47bb54}=_0x1fd7e0,_0x60a225=this[_0x472a73(0x1dc)](),_0x38d8d4=Fo/_0x60a225,_0x4c4f7c=new _0x53b95b(jt+_0x5d7755[_0x472a73(0x44e)](Je),{'left':_0x57b352+_0x5b891d-_0x38d8d4,'top':_0x405377+_0x1f9823,'height':_0x47bb54,'width':Wo,'fill':_0x4f1ebb||_0x1403d6(_0x197df6[_0x472a73(0x2b4)],0x0),'strokeWidth':_0x38d8d4,'stroke':Vo,'evented':!0x0});this[_0x472a73(0x450)]=_0x4c4f7c,this[_0x472a73(0x4bb)][_0x472a73(0x3d7)](_0x4c4f7c,_0x2a8154);const _0x56ed50=new _0x53b95b(jt+_0x5d7755[_0x472a73(0x44e)](Je),{'left':_0x57b352+_0x5b891d-_0x38d8d4,'top':_0x405377+_0x1f9823-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x4f1ebb||_0x1403d6(_0x197df6[_0x472a73(0x2b4)],0x0),'strokeWidth':0x0,'stroke':_0x4f1ebb||_0x1403d6(_0x197df6[_0x472a73(0x2b4)],0x0),'evented':!0x1});this[_0x472a73(0x425)]=_0x56ed50,this[_0x472a73(0x4bb)][_0x472a73(0x3d7)](_0x56ed50,_0x2a8154);const _0x41cd7e=new yt(jt+_0x5d7755[_0x472a73(0x44e)](Je),{'left':_0x57b352+_0x5b891d-_0x38d8d4,'top':_0x405377+_0x1f9823-nt,'text':_0x1e3367,'color':_0x4f1ebb});this[_0x472a73(0x3fa)]=_0x41cd7e,this[_0x472a73(0x4bb)][_0x472a73(0x3d7)](_0x41cd7e,_0x2a8154),this[_0x472a73(0x125)]=!0x1;}[_0xf37888(0x1ee)](){const _0x4e23e2=_0xf37888,_0x210c37=this[_0x4e23e2(0x450)][_0x4e23e2(0x2f9)][_0x4e23e2(0x401)](()=>{this['_hover']=!0x0;}),_0x40e044=this[_0x4e23e2(0x450)][_0x4e23e2(0x350)][_0x4e23e2(0x401)](()=>{const _0x265994=_0x4e23e2;this[_0x265994(0x288)]&&clearTimeout(this['_hideTimer']),this[_0x265994(0x288)]=setTimeout(()=>{const _0x537692=_0x265994;this[_0x537692(0x125)]=!0x1;},0x7d0);});return()=>{_0x210c37['unsubscribe'](),_0x40e044['unsubscribe']();};}['_drawTextRange'](_0xebb6fc,_0x13b75e,_0x515c2a,_0xd239d8){const _0x855a4b=_0xf37888,_0x8f66ea=new _0xd157f(_0xebb6fc)[_0x855a4b(0x35a)](0.2)[_0x855a4b(0x2ad)](),_0x21cd8f=new _0x4d7468(Bo+_0x5d7755[_0x855a4b(0x44e)](Je),{'pointsGroup':_0x13b75e,'fill':_0x8f66ea||_0x1403d6(_0x197df6[_0x855a4b(0x2b4)],0.2),'left':_0x515c2a,'top':_0xd239d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x855a4b(0x250)]['push'](_0x21cd8f),this[_0x855a4b(0x4bb)][_0x855a4b(0x3d7)](_0x21cd8f,_0x2a8154);}[_0xf37888(0x3d2)](_0xdb4799,_0x42733d,_0x3fc049,_0x2b0447){const _0x413495=_0xf37888,_0x5468d7=new _0xd157f(_0xdb4799)['setAlpha'](0.2)[_0x413495(0x2ad)](),_0x2ca696=new _0x4d7468(ko+_0x5d7755[_0x413495(0x44e)](Je),{'pointsGroup':_0x42733d,'fill':_0x5468d7||_0x1403d6(_0x197df6['black'],0.2),'left':_0x3fc049,'top':_0x2b0447,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x413495(0x250)][_0x413495(0x270)](_0x2ca696),this[_0x413495(0x4bb)][_0x413495(0x3d7)](_0x2ca696,_0x2a8154);}[_0xf37888(0x18c)](_0x3695a5){const _0x3fb2be=_0x3695a5[0x0],_0x4f5941=_0x3fb2be[0x0],_0x346e7d=_0x3fb2be[0x2],{x:_0x2d1066,y:_0x4e0f95}=_0x4f5941,{x:_0x3acb42,y:_0xee508c}=_0x346e7d;return{'left':_0x2d1066,'top':_0x4e0f95,'width':_0x3acb42-_0x2d1066,'height':_0xee508c-_0x4e0f95};}[_0xf37888(0x1dc)](){const _0x5b41a8=_0xf37888,{scaleX:_0x802c49,scaleY:_0x36f618}=this[_0x5b41a8(0x4bb)]['getAncestorScale']();return Math['max'](_0x802c49,_0x36f618);}}var Go=Object[_0xf37888(0x320)],Yo=Object[_0xf37888(0x26b)],Ko=(_0x2808ae,_0x59a007,_0x7b5468,_0x2bd484)=>{for(var _0x5c0f11=_0x2bd484>0x1?void 0x0:_0x2bd484?Yo(_0x59a007,_0x7b5468):_0x59a007,_0x10dbaa=_0x2808ae['length']-0x1,_0x198add;_0x10dbaa>=0x0;_0x10dbaa--)(_0x198add=_0x2808ae[_0x10dbaa])&&(_0x5c0f11=(_0x2bd484?_0x198add(_0x59a007,_0x7b5468,_0x5c0f11):_0x198add(_0x5c0f11))||_0x5c0f11);return _0x2bd484&&_0x5c0f11&&Go(_0x59a007,_0x7b5468,_0x5c0f11),_0x5c0f11;},ct=(_0x20131d,_0x5586c1)=>(_0x1984d2,_0x173461)=>_0x5586c1(_0x1984d2,_0x173461,_0x20131d);let os=class extends _0x3c16d2{constructor(_0x48b1a1,_0x4591c5,_0x4584e2,_0xb17394,_0x5a65ca){const _0x750c11=_0xf37888;super(),g(this,_0x750c11(0x3fd),[]),g(this,_0x750c11(0x385),[]),(this[_0x750c11(0x37c)]=_0x48b1a1,this[_0x750c11(0x2cb)]=_0x4591c5,this['_collabCursorController']=_0x4584e2,this[_0x750c11(0x1fb)]=_0xb17394,this['_themeService']=_0x5a65ca,this['_init']());}[_0xf37888(0x406)](){const _0x2848a4=_0xf37888,_0x43607b=this['_context'][_0x2848a4(0x442)],_0x5cb2d4=this[_0x2848a4(0x2cb)];this[_0x2848a4(0x3ec)](_0x42f291([this[_0x2848a4(0x2ba)][_0x2848a4(0x3b0)](_0x43607b),this[_0x2848a4(0x16e)]['currentTheme$']])[_0x2848a4(0x3bf)](_0x5ba592(([_0x2dfdf9,_0x5d6bc7])=>({'skeleton':_0x5cb2d4[_0x2848a4(0x2c9)](),'cursors':[..._0x2dfdf9[_0x2848a4(0x317)]()][_0x2848a4(0x4ba)](_0x2dea0a=>({..._0x2dea0a,'color':_0x5d6bc7[_0x2dea0a['color']]}))})))[_0x2848a4(0x236)](_0x1417d7=>{if(this['_removeCollabCursors'](),_0x1417d7){const {skeleton:_0x57308a,cursors:_0xc2f40a}=_0x1417d7;this['_updateCollabCursors'](_0x57308a,_0xc2f40a);}})),this[_0x2848a4(0x344)](),this[_0x2848a4(0x1a1)]();}[_0xf37888(0x3ee)](_0x509f80,_0x166916){const _0x18db5e=_0xf37888,{scene:_0x4ce91f,mainComponent:_0x58018a}=this[_0x18db5e(0x37c)],_0x2ebcae=_0x166916['map'](_0x5c5d4d=>new Ks(_0x5c5d4d,_0x4ce91f,_0x509f80,_0x58018a));this['_cursorShapes']=_0x2ebcae,this['_cursors']=_0x166916;}[_0xf37888(0x3f0)](){const _0x2d00c8=_0xf37888;this[_0x2d00c8(0x432)]();const {scene:_0x2c2ded,mainComponent:_0x59f1f9}=this[_0x2d00c8(0x37c)],_0x293e5d=this[_0x2d00c8(0x2cb)]['getSkeleton'](),_0x1f0ae2=this[_0x2d00c8(0x385)]['map'](_0x573b29=>new Ks(_0x573b29,_0x2c2ded,_0x293e5d,_0x59f1f9));this[_0x2d00c8(0x3fd)]=_0x1f0ae2;}[_0xf37888(0x432)](){const _0x5ac179=_0xf37888;this[_0x5ac179(0x3fd)][_0x5ac179(0x321)](_0x178a0c=>_0x178a0c[_0x5ac179(0x4d5)]()),this[_0x5ac179(0x3fd)]=[];}['_initCommandExecutedListener'](){const _0x3069f0=_0xf37888,_0x9440ab=[_0x3212df['id']];this['disposeWithMe'](this['_commandService'][_0x3069f0(0x4e2)](_0x3c35e5=>{const _0x3652c3=_0x3069f0;_0x9440ab[_0x3652c3(0x258)](_0x3c35e5['id'])&&_0x3c35e5['params']['unitId']===this[_0x3652c3(0x37c)]['unitId']&&this[_0x3652c3(0x3f0)]();}));}['_initResize'](){const _0x240ad9=_0xf37888;this[_0x240ad9(0x3ec)](_0x153a49(this[_0x240ad9(0x37c)][_0x240ad9(0x29a)][_0x240ad9(0x3b6)])[_0x240ad9(0x3bf)](_0x2d7a63(_0x41524d=>_0x41524d[_0x240ad9(0x1fd)]===_0x2bfb82['resize']),_0x1b38bd(0x10))[_0x240ad9(0x236)](()=>{const _0x268c17=_0x240ad9;this[_0x268c17(0x3f0)]();}));}};os=Ko([ct(0x1,_0x39c8b8(_0x511bb7)),ct(0x2,_0x39c8b8(Ve)),ct(0x3,_0x48fc43),ct(0x4,_0x39c8b8(_0x1d0ffa))],os);const zo=0x1,qo=1.5;class Xo extends _0x20c0e5{constructor(_0x1cb595,_0x2446b0){const _0x2407e1=_0xf37888;super(_0x1cb595,_0x2446b0),g(this,_0x2407e1(0x369)),g(this,_0x2407e1(0x3dd),!0x1),g(this,_0x2407e1(0x4e9)),g(this,'_name',''),g(this,_0x2407e1(0x468),'top'),g(this,_0x2407e1(0x455)),(_0x2446b0&&this[_0x2407e1(0x147)](_0x2446b0),this[_0x2407e1(0x2f9)]['subscribeEvent'](()=>this[_0x2407e1(0x147)]({'hovered':!0x0})),this[_0x2407e1(0x350)][_0x2407e1(0x401)](()=>this[_0x2407e1(0x147)]({'hovered':!0x1})));}[_0xf37888(0x147)](_0x41b4c1){const _0x1fbb3d=_0xf37888;var _0x320ab4,_0x16930f,_0x111099,_0x1715b9,_0x325ccb,_0x4cef42;this[_0x1fbb3d(0x369)]=(_0x320ab4=_0x41b4c1[_0x1fbb3d(0x10a)])!=null?_0x320ab4:this[_0x1fbb3d(0x369)],this['_hovered']=(_0x16930f=_0x41b4c1[_0x1fbb3d(0x117)])!=null?_0x16930f:this[_0x1fbb3d(0x3dd)],this[_0x1fbb3d(0x4e9)]=(_0x111099=_0x41b4c1[_0x1fbb3d(0x3f9)])!=null?_0x111099:this['_range'],this[_0x1fbb3d(0x184)]=(_0x1715b9=_0x41b4c1['name'])!=null?_0x1715b9:this[_0x1fbb3d(0x184)],this[_0x1fbb3d(0x468)]=(_0x325ccb=_0x41b4c1[_0x1fbb3d(0x38c)])!=null?_0x325ccb:this[_0x1fbb3d(0x468)],this[_0x1fbb3d(0x455)]=(_0x4cef42=_0x41b4c1[_0x1fbb3d(0x4d1)])!=null?_0x4cef42:this[_0x1fbb3d(0x455)],this[_0x1fbb3d(0x40d)]({'width':_0x41b4c1[_0x1fbb3d(0x2cd)],'height':_0x41b4c1[_0x1fbb3d(0x4e1)]});}[_0xf37888(0x38d)](_0x28fc2e){const _0x420dce=_0xf37888,{row:_0x6fc681,column:_0x33c14b}=_0x28fc2e;if(_0x6fc681>=this['_range']['startRow']&&_0x6fc681<=this[_0x420dce(0x4e9)][_0x420dce(0x417)]&&_0x33c14b>=this[_0x420dce(0x4e9)]['startColumn']&&_0x33c14b<=this[_0x420dce(0x4e9)][_0x420dce(0x1d6)]){this[_0x420dce(0x147)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xf37888(0x408)](_0x2ae673){return!0x1;}[_0xf37888(0x4fd)](_0xc6321f){const _0x4a3e3a=_0xf37888;_0x53b95b[_0x4a3e3a(0x10c)](_0xc6321f,{'width':this[_0x4a3e3a(0x2cd)],'height':this[_0x4a3e3a(0x4e1)],'strokeWidth':qo,'stroke':this[_0x4a3e3a(0x369)],'evented':!0x1,'fill':this[_0x4a3e3a(0x455)]}),this[_0x4a3e3a(0x3dd)]&&(_0xc6321f[_0x4a3e3a(0x430)](),_0xc6321f[_0x4a3e3a(0x27f)](0x1,0x0,0x0,0x1,this[_0x4a3e3a(0x2cd)],this['_labelPosition']===_0x4a3e3a(0x2f8)?0x0:-nt),yt[_0x4a3e3a(0x10c)](_0xc6321f,{'text':this['_name'],'color':this[_0x4a3e3a(0x369)]}),_0xc6321f[_0x4a3e3a(0x2dd)]());}}var Jo=Object['defineProperty'],Zo=Object[_0xf37888(0x26b)],Qo=(_0x26e792,_0x1a12a9,_0x5489d0,_0x4d692c)=>{const _0x384dda=_0xf37888;for(var _0x5ccb8a=_0x4d692c>0x1?void 0x0:_0x4d692c?Zo(_0x1a12a9,_0x5489d0):_0x1a12a9,_0xa9c3e0=_0x26e792[_0x384dda(0x42c)]-0x1,_0x4fe250;_0xa9c3e0>=0x0;_0xa9c3e0--)(_0x4fe250=_0x26e792[_0xa9c3e0])&&(_0x5ccb8a=(_0x4d692c?_0x4fe250(_0x1a12a9,_0x5489d0,_0x5ccb8a):_0x4fe250(_0x5ccb8a))||_0x5ccb8a);return _0x4d692c&&_0x5ccb8a&&Jo(_0x1a12a9,_0x5489d0,_0x5ccb8a),_0x5ccb8a;},kt=(_0x244316,_0x1c8ae8)=>(_0x348ba2,_0x40a95f)=>_0x1c8ae8(_0x348ba2,_0x40a95f,_0x244316);const ea=0x1389;let as=class extends _0x3c16d2{constructor(_0x2b9982,_0x211b32,_0x10a078,_0x5bfde5){const _0x5b37db=_0xf37888;super(),g(this,_0x5b37db(0x385),new Set()),g(this,_0x5b37db(0x24b),null),(this[_0x5b37db(0x37c)]=_0x2b9982,this[_0x5b37db(0x1d7)]=_0x211b32,this[_0x5b37db(0x2ba)]=_0x10a078,this[_0x5b37db(0x16e)]=_0x5bfde5,this[_0x5b37db(0x406)]());}[_0xf37888(0x406)](){const _0x3f4b5f=_0xf37888;this[_0x3f4b5f(0x1d7)]['currentSkeleton$'][_0x3f4b5f(0x3bf)](_0xf05386(this[_0x3f4b5f(0x118)]),_0x380453(_0x57d434=>{const _0xe06ee1=_0x3f4b5f;if(_0x57d434){const _0x172800=_0x57d434[_0xe06ee1(0x313)];return _0x42f291(this[_0xe06ee1(0x2ba)]['getCollabCursors$'](this[_0xe06ee1(0x37c)]['unitId']),this[_0xe06ee1(0x16e)][_0xe06ee1(0x1f7)])['pipe'](_0x5ba592(([_0x22b98e,_0x16c02f])=>{const _0x450b12=_0xe06ee1,_0x287955=new Map();return _0x22b98e[_0x450b12(0x321)]((_0x435c2e,_0x4ea949)=>{const _0x5b908d=_0x450b12;if(_0x435c2e[_0x5b908d(0x110)]===_0x172800){const _0x2d0697={..._0x435c2e};_0x2d0697[_0x5b908d(0x10a)]=_0x16c02f[_0x435c2e[_0x5b908d(0x10a)]],_0x287955[_0x5b908d(0x1ec)](_0x4ea949,_0x2d0697);}}),{'skeleton':_0x57d434,'cursors':_0x287955};}));}return _0x5ac583({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x34c501,cursors:_0x6e21e0})=>{const _0x3981a2=_0x3f4b5f;this[_0x3981a2(0x432)](),_0x34c501&&this['_updateCollabCursors'](_0x34c501,_0x6e21e0);}),this[_0x3f4b5f(0x1d7)][_0x3f4b5f(0x1a7)][_0x3f4b5f(0x236)](_0xa5d702=>{const _0x58424f=_0x3f4b5f;if(_0xa5d702==null)return;const {skeleton:_0x27116c}=_0xa5d702,{scene:_0x57df4d}=this[_0x58424f(0x37c)];_0x57df4d[_0x58424f(0x181)][_0x58424f(0x401)](_0x4bf9ba(_0x31d06a=>{const _0x1bfd03=_0x58424f;var _0x4a4dc8,_0x6d1ee0;const {offsetX:_0x3858c9,offsetY:_0x2369d0}=_0x31d06a,{x:_0x3f8e1d,y:_0x61a9d5}=_0x57df4d['getRelativeToViewportCoord'](_0x5d97fd['FromArray']([_0x3858c9,_0x2369d0])),{scaleX:_0x2d8dc5,scaleY:_0x31410a}=_0x57df4d[_0x1bfd03(0x26d)](),_0x465319=_0x57df4d[_0x1bfd03(0x45c)](_0xc2d531['VIEW_MAIN']),_0x2f0d3b=_0x57df4d['getVpScrollXYInfoByPosToVp'](_0x5d97fd[_0x1bfd03(0x35f)]([_0x3f8e1d,_0x61a9d5]),_0x465319),_0x274bb4=_0x27116c[_0x1bfd03(0x4d6)](_0x3858c9,_0x2369d0,_0x2d8dc5,_0x31410a,_0x2f0d3b);((_0x4a4dc8=this[_0x1bfd03(0x24b)])==null?void 0x0:_0x4a4dc8[_0x1bfd03(0x45b)])===_0x274bb4[_0x1bfd03(0x45b)]&&((_0x6d1ee0=this[_0x1bfd03(0x24b)])==null?void 0x0:_0x6d1ee0['row'])===_0x274bb4[_0x1bfd03(0x209)]||this['_cursors'][_0x1bfd03(0x321)](_0xfe963d=>{const _0x338057=_0x1bfd03;_0xfe963d[_0x338057(0x38d)](_0x274bb4);});},0x64));});}[_0xf37888(0x3ee)](_0x53b3b9,_0x29bdd4){const _0x228fd6=_0xf37888;var _0x398aa2;const _0x1da4a2=(_0x398aa2=this[_0x228fd6(0x1d7)][_0x228fd6(0x1a8)]())==null?void 0x0:_0x398aa2['skeleton'];if(!_0x1da4a2)return;const _0x464007=this[_0x228fd6(0x3f1)]();if(!_0x464007)return;this[_0x228fd6(0x385)]['forEach'](_0x2e0ba9=>{const _0x144220=_0x228fd6;_0x2e0ba9[_0x144220(0x41d)]();});const {scene:_0x4847ac}=_0x464007,_0x11e2e6=ta(Array[_0x228fd6(0x123)](_0x29bdd4[_0x228fd6(0x317)]()))['map'](_0x199c93=>{const _0x31f49d=_0x228fd6,{color:_0x438205,range:_0x384f9d,name:_0x5e5d39,selection:_0xa45666,sheetID:_0x41f033}=_0x199c93,{startColumn:_0xb1df71,startRow:_0x4c4a65,endColumn:_0x1b137d,endRow:_0x4d55a4}=_0x384f9d,_0x146544=_0x7b28d2(_0x4c4a65,_0xb1df71,_0x4847ac,_0x1da4a2),_0x9ba75e=_0x7b28d2(_0x4d55a4,_0x1b137d,_0x4847ac,_0x1da4a2),{columnHeaderHeightAndMarginTop:_0x5000af}=_0x1da4a2,{startX:_0x352d98,startY:_0x2a7d1f}=_0x146544,{endX:_0x31b3ef,endY:_0x24c803}=_0x9ba75e,_0x18daee=_0x31b3ef-_0x352d98,_0x13d058=_0x24c803-_0x2a7d1f,_0x573e66={'labelPosition':_0x2a7d1f-_0x5000af>=nt?_0x31f49d(0x1c6):_0x31f49d(0x2f8),'sheetID':_0x41f033,'range':_0x384f9d,'color':_0x438205,'name':_0x5e5d39,'selection':_0xa45666,'left':_0x352d98,'top':_0x2a7d1f,'width':_0x18daee,'height':_0x13d058,'evented':!0x1,'zIndex':ea};return new Xo(_0x5e5d39,_0x573e66);});_0x4847ac[_0x228fd6(0x316)](_0x11e2e6,zo),this[_0x228fd6(0x385)]=new Set(_0x11e2e6);}[_0xf37888(0x432)](){const _0x377b19=_0xf37888;var _0x533fed;(_0x533fed=this[_0x377b19(0x385)])==null||_0x533fed[_0x377b19(0x321)](_0x30ca0e=>_0x30ca0e[_0x377b19(0x4d5)]());}['_getSheetObject'](){const _0x4abe4b=_0xf37888;return _0xd198a1(this[_0x4abe4b(0x37c)]['unit'],this['_context']);}};as=Qo([kt(0x1,_0x39c8b8(_0x4ee0f9)),kt(0x2,_0x39c8b8(Ve)),kt(0x3,_0x39c8b8(_0x1d0ffa))],as);function ta(_0x59bbb9){const _0x2d1daa=_0xf37888,_0x507e9b=new Map();return _0x59bbb9['forEach'](_0x3199ea=>{const _0x100fc1=_0x136c;if(_0x507e9b[_0x100fc1(0x4af)](_0x3199ea[_0x100fc1(0x136)])){const _0x15b8b8=_0x507e9b[_0x100fc1(0x166)](_0x3199ea[_0x100fc1(0x136)]);_0x15b8b8[_0x100fc1(0x14e)]+=',\x20'+_0x3199ea['name'];}else _0x507e9b[_0x100fc1(0x1ec)](_0x3199ea['selection'],_0x3199ea);}),Array[_0x2d1daa(0x123)](_0x507e9b['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x189afd){const _0x181c60=_0xf37888;return _0x189afd&&_0x189afd[_0x181c60(0x47e)]&&Object[_0x181c60(0x16d)][_0x181c60(0x3ae)][_0x181c60(0x3b7)](_0x189afd,'default')?_0x189afd[_0x181c60(0x510)]:_0x189afd;}var Mi={'exports':{}},Ot={},sa=_0x5101ec,ia=Symbol[_0xf37888(0x4d0)]('react.element'),na=Symbol['for'](_0xf37888(0x4eb)),ra=Object[_0xf37888(0x16d)][_0xf37888(0x3ae)],oa=sa[_0xf37888(0x129)][_0xf37888(0x2a3)],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x1c67a6,_0x1535fd,_0x180de5){const _0x12d128=_0xf37888;var _0x1cdfdf,_0x1af783={},_0x28d853=null,_0x2c186d=null;_0x180de5!==void 0x0&&(_0x28d853=''+_0x180de5),_0x1535fd[_0x12d128(0x335)]!==void 0x0&&(_0x28d853=''+_0x1535fd[_0x12d128(0x335)]),_0x1535fd[_0x12d128(0x439)]!==void 0x0&&(_0x2c186d=_0x1535fd[_0x12d128(0x439)]);for(_0x1cdfdf in _0x1535fd)ra[_0x12d128(0x3b7)](_0x1535fd,_0x1cdfdf)&&!aa[_0x12d128(0x3ae)](_0x1cdfdf)&&(_0x1af783[_0x1cdfdf]=_0x1535fd[_0x1cdfdf]);if(_0x1c67a6&&_0x1c67a6[_0x12d128(0x3dc)]){for(_0x1cdfdf in(_0x1535fd=_0x1c67a6['defaultProps'],_0x1535fd))_0x1af783[_0x1cdfdf]===void 0x0&&(_0x1af783[_0x1cdfdf]=_0x1535fd[_0x1cdfdf]);}return{'$$typeof':ia,'type':_0x1c67a6,'key':_0x28d853,'ref':_0x2c186d,'props':_0x1af783,'_owner':oa['current']};}Ot[_0xf37888(0x2a6)]=na,Ot[_0xf37888(0x20b)]=xi,Ot[_0xf37888(0x152)]=xi,Mi[_0xf37888(0x4bf)]=Ot;var we=Mi['exports'],ee=function(){const _0x8ca1f5=_0xf37888;return ee=Object[_0x8ca1f5(0x30c)]||function(_0x38ef81){const _0x250ceb=_0x8ca1f5;for(var _0x88822b,_0x44345b=0x1,_0x11d839=arguments['length'];_0x44345b<_0x11d839;_0x44345b++){_0x88822b=arguments[_0x44345b];for(var _0x133198 in _0x88822b)Object[_0x250ceb(0x16d)]['hasOwnProperty'][_0x250ceb(0x3b7)](_0x88822b,_0x133198)&&(_0x38ef81[_0x133198]=_0x88822b[_0x133198]);}return _0x38ef81;},ee[_0x8ca1f5(0x50d)](this,arguments);},ca=function(_0x3fe83a,_0x337ad8){const _0x5173ae=_0xf37888;var _0x524008={};for(var _0x21dac2 in _0x3fe83a)Object[_0x5173ae(0x16d)][_0x5173ae(0x3ae)][_0x5173ae(0x3b7)](_0x3fe83a,_0x21dac2)&&_0x337ad8[_0x5173ae(0x1eb)](_0x21dac2)<0x0&&(_0x524008[_0x21dac2]=_0x3fe83a[_0x21dac2]);if(_0x3fe83a!=null&&typeof Object['getOwnPropertySymbols']==_0x5173ae(0x1bc)){for(var _0x5505d6=0x0,_0x21dac2=Object['getOwnPropertySymbols'](_0x3fe83a);_0x5505d6<_0x21dac2[_0x5173ae(0x42c)];_0x5505d6++)_0x337ad8['indexOf'](_0x21dac2[_0x5505d6])<0x0&&Object[_0x5173ae(0x16d)][_0x5173ae(0x3f7)]['call'](_0x3fe83a,_0x21dac2[_0x5505d6])&&(_0x524008[_0x21dac2[_0x5505d6]]=_0x3fe83a[_0x21dac2[_0x5505d6]]);}return _0x524008;},Ts=_0x11c4ff(function(_0x4e4eec,_0x32668e){const _0x33e542=_0xf37888;var _0x4794a8=_0x4e4eec[_0x33e542(0x307)],_0x3d6908=_0x4e4eec['id'],_0x4372a8=_0x4e4eec[_0x33e542(0x490)],_0x547628=_0x4e4eec['extend'],_0x137a31=ca(_0x4e4eec,[_0x33e542(0x307),'id','className','extend']),_0x234ee5=_0x33e542(0x4d3)[_0x33e542(0x3b4)](_0x3d6908,'\x20')[_0x33e542(0x3b4)](_0x4372a8||'')[_0x33e542(0x1f9)](),_0x37d497=_0x360e34('_'[_0x33e542(0x3b4)](_a()));return Li(_0x4794a8,''[_0x33e542(0x3b4)](_0x3d6908),{'defIds':_0x4794a8['defIds'],'idSuffix':_0x37d497['current']},ee({'ref':_0x32668e,'className':_0x234ee5},_0x137a31),_0x547628);});function Li(_0x196448,_0xf61a9b,_0x4e7a82,_0x3de020,_0xfd0681){const _0x5fee26=_0xf37888;return _0x517cae(_0x196448['tag'],ee(ee({'key':_0xf61a9b},ha(_0x196448,_0x4e7a82,_0xfd0681)),_0x3de020),(la(_0x196448,_0x4e7a82)[_0x5fee26(0x27b)]||[])[_0x5fee26(0x41b)](function(_0x1aa7d7,_0x418e2c){const _0x5490d0=_0x5fee26;return Li(_0x1aa7d7,''[_0x5490d0(0x3b4)](_0xf61a9b,'-')[_0x5490d0(0x3b4)](_0x196448[_0x5490d0(0x10b)],'-')['concat'](_0x418e2c),_0x4e7a82,void 0x0,_0xfd0681);}));}function ha(_0x1d69b6,_0x577d49,_0x4f7174){const _0x125bc4=_0xf37888;var _0x22966b=ee({},_0x1d69b6[_0x125bc4(0x1e2)]);_0x4f7174!=null&&_0x4f7174[_0x125bc4(0x3d3)]&&_0x22966b[_0x125bc4(0x4a2)]==='colorChannel1'&&(_0x22966b[_0x125bc4(0x4a2)]=_0x4f7174[_0x125bc4(0x3d3)]);var _0x297a3f=_0x577d49[_0x125bc4(0x4f7)];return!_0x297a3f||_0x297a3f[_0x125bc4(0x42c)]===0x0||(_0x1d69b6[_0x125bc4(0x10b)]===_0x125bc4(0x241)&&_0x22966b[_0x125bc4(0x304)]&&(_0x22966b[_0x125bc4(0x304)]=_0x22966b[_0x125bc4(0x304)]+_0x577d49[_0x125bc4(0x27d)]),Object[_0x125bc4(0x217)](_0x22966b)[_0x125bc4(0x321)](function(_0x43c993){const _0x1144d2=_0x125bc4;var _0x36cbca=_0x43c993[0x0],_0x3ae384=_0x43c993[0x1];typeof _0x3ae384==_0x1144d2(0x384)&&(_0x22966b[_0x36cbca]=_0x3ae384[_0x1144d2(0x215)](/url\(#(.*)\)/,_0x1144d2(0x4b7)['concat'](_0x577d49['idSuffix'],')')));})),_0x22966b;}function la(_0x3fef88,_0x5bac90){const _0x1e3b77=_0xf37888;var _0x532b57,_0x418b94=_0x5bac90[_0x1e3b77(0x4f7)];return!_0x418b94||_0x418b94['length']===0x0?_0x3fef88:_0x3fef88['tag']===_0x1e3b77(0x43c)&&(!((_0x532b57=_0x3fef88['children'])===null||_0x532b57===void 0x0)&&_0x532b57[_0x1e3b77(0x42c)])?ee(ee({},_0x3fef88),{'children':_0x3fef88[_0x1e3b77(0x27b)]['map'](function(_0x52cfbd){const _0x4e0022=_0x1e3b77;return typeof _0x52cfbd[_0x4e0022(0x1e2)]['id']==_0x4e0022(0x384)&&_0x418b94&&_0x418b94['indexOf'](_0x52cfbd[_0x4e0022(0x1e2)]['id'])>-0x1?ee(ee({},_0x52cfbd),{'attrs':ee(ee({},_0x52cfbd[_0x4e0022(0x1e2)]),{'id':_0x52cfbd[_0x4e0022(0x1e2)]['id']+_0x5bac90[_0x4e0022(0x27d)]})}):_0x52cfbd;})}):_0x3fef88;}function _a(){const _0x355e8c=_0xf37888;return Math['random']()[_0x355e8c(0x492)](0x24)[_0x355e8c(0x1b0)](0x2,0x8);}Ts[_0xf37888(0x2d8)]=_0xf37888(0x285);var ua={'tag':_0xf37888(0x230),'attrs':{'fill':_0xf37888(0x364),'viewBox':_0xf37888(0x1a2),'width':'1em','height':_0xf37888(0x179)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'stroke':_0xf37888(0x17f),'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':_0xf37888(0x507),'strokeLinejoin':_0xf37888(0x507),'strokeWidth':1.2}}]},{'tag':_0xf37888(0x43c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xf37888(0x2d7)]},$i=_0x11c4ff(function(_0x34ee5c,_0x46e073){const _0x156f60=_0xf37888;return _0x517cae(Ts,Object[_0x156f60(0x30c)]({},_0x34ee5c,{'id':_0x156f60(0x192),'ref':_0x46e073,'icon':ua}));});$i['displayName']='OffLineSingle';var da={'tag':_0xf37888(0x230),'attrs':{'fill':_0xf37888(0x364),'viewBox':_0xf37888(0x306),'width':_0xf37888(0x179),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'stroke':_0xf37888(0x17f),'d':_0xf37888(0x2e6),'strokeLinecap':_0xf37888(0x507),'strokeLinejoin':_0xf37888(0x507),'strokeWidth':1.2}}]},{'tag':_0xf37888(0x43c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xf37888(0x314)},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'fill':_0xf37888(0x360),'d':_0xf37888(0x399),'transform':'translate(.97)'}}]}]}],'defIds':[_0xf37888(0x314)]},Hi=_0x11c4ff(function(_0x155792,_0x4db751){const _0x5088d9=_0xf37888;return _0x517cae(Ts,Object['assign']({},_0x155792,{'id':_0x5088d9(0x12f),'ref':_0x4db751,'icon':da}));});Hi[_0xf37888(0x2d8)]=_0xf37888(0x1ba);function ji(_0x39514f){const _0x2fcb64=_0xf37888;var _0x3d58e6,_0x41c40e,_0x39ca31='';if(typeof _0x39514f==_0x2fcb64(0x384)||typeof _0x39514f=='number')_0x39ca31+=_0x39514f;else{if(typeof _0x39514f==_0x2fcb64(0x1e9)){if(Array[_0x2fcb64(0x255)](_0x39514f)){var _0x31c662=_0x39514f['length'];for(_0x3d58e6=0x0;_0x3d58e6<_0x31c662;_0x3d58e6++)_0x39514f[_0x3d58e6]&&(_0x41c40e=ji(_0x39514f[_0x3d58e6]))&&(_0x39ca31&&(_0x39ca31+='\x20'),_0x39ca31+=_0x41c40e);}else{for(_0x41c40e in _0x39514f)_0x39514f[_0x41c40e]&&(_0x39ca31&&(_0x39ca31+='\x20'),_0x39ca31+=_0x41c40e);}}}return _0x39ca31;}function fa(){const _0xc46a2b=_0xf37888;for(var _0x6d8796,_0x2a89c3,_0x484636=0x0,_0x1dfb67='',_0x3ead5d=arguments[_0xc46a2b(0x42c)];_0x484636<_0x3ead5d;_0x484636++)(_0x6d8796=arguments[_0x484636])&&(_0x2a89c3=ji(_0x6d8796))&&(_0x1dfb67&&(_0x1dfb67+='\x20'),_0x1dfb67+=_0x2a89c3);return _0x1dfb67;}const va='univer-online-status-icon',ma=_0xf37888(0x1c0),pa='univer-online-status',ga=_0xf37888(0x41a),Sa=_0xf37888(0x1cf),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x23f8ee){const _0xc1d6bf=_0xf37888;switch(_0x23f8ee){case J['OFFLINE']:return _0xc1d6bf(0x186);case J[_0xc1d6bf(0x4f8)]:return _0xc1d6bf(0x32a);case J[_0xc1d6bf(0x3c0)]:return _0xc1d6bf(0x1e1);case J[_0xc1d6bf(0x4ea)]:return _0xc1d6bf(0x48b);case J[_0xc1d6bf(0x48a)]:case J[_0xc1d6bf(0x302)]:return _0xc1d6bf(0x17b);case J[_0xc1d6bf(0x4cf)]:case J[_0xc1d6bf(0x240)]:return _0xc1d6bf(0x2aa);}}function Ca(_0x48ed5f){const _0x38f0d5=_0xf37888,{status$:_0x25a31c}=_0x48ed5f,_0x2e5296=_0x26f539(_0x25a31c,J[_0x38f0d5(0x4ea)]),_0x37ae90=_0x5d0a14(_0x50f35b),_0x283128=_0x5d0a14(Ae),_0x1fe480=_0x2e5296!==J[_0x38f0d5(0x33c)],_0x19a22b=_0x37ae90['t'](Ia(_0x2e5296)),_0x2cf05a=fa(Ze[_0x38f0d5(0x171)],{[Ze[_0x38f0d5(0x298)]]:_0x1fe480,[Ze['offline']]:!_0x1fe480}),_0x3a07e4=_0x1fe480?we['jsx'](Hi,{}):we[_0x38f0d5(0x20b)]($i,{}),_0x287a21=_0x31a143(()=>{const _0x571eb9=_0x38f0d5;_0x1fe480||_0x283128[_0x571eb9(0x3cd)]();},[_0x1fe480,_0x283128]);function _0x28feae(){const _0x2e6fea=_0x38f0d5;return we[_0x2e6fea(0x152)](_0x2e6fea(0x14d),{'className':_0x2cf05a,'onClick':_0x287a21,'children':[we[_0x2e6fea(0x20b)]('div',{'className':Ze[_0x2e6fea(0x315)],'children':_0x3a07e4}),we[_0x2e6fea(0x20b)]('div',{'className':Ze[_0x2e6fea(0x49c)],'children':_0x19a22b})]});}return _0x1fe480?_0x28feae():we[_0x38f0d5(0x20b)](_0x542c0a,{'title':_0x37ae90['t'](_0x38f0d5(0x128)),'children':_0x28feae()});}var Ea=Object[_0xf37888(0x320)],ba=Object[_0xf37888(0x26b)],Ta=(_0x4e2f69,_0xb37e57,_0x24f386,_0x404342)=>{const _0x462af2=_0xf37888;for(var _0x26dad0=_0x404342>0x1?void 0x0:_0x404342?ba(_0xb37e57,_0x24f386):_0xb37e57,_0x21bedf=_0x4e2f69[_0x462af2(0x42c)]-0x1,_0x1b9f39;_0x21bedf>=0x0;_0x21bedf--)(_0x1b9f39=_0x4e2f69[_0x21bedf])&&(_0x26dad0=(_0x404342?_0x1b9f39(_0xb37e57,_0x24f386,_0x26dad0):_0x1b9f39(_0x26dad0))||_0x26dad0);return _0x404342&&_0x26dad0&&Ea(_0xb37e57,_0x24f386,_0x26dad0),_0x26dad0;},ht=(_0x48106d,_0xded0e5)=>(_0x2f67aa,_0xd203ff)=>_0xded0e5(_0x2f67aa,_0xd203ff,_0x48106d);let St=class extends _0xb54fec{constructor(_0x1bcac2,_0x478273,_0x5c6a4f,_0x1cb960){const _0x4ccdb0=_0xf37888;super(),g(this,_0x4ccdb0(0x18e),new _0x7465ad(J['NOT_COLLAB'])),(this[_0x4ccdb0(0x1c2)]=_0x1bcac2,this[_0x4ccdb0(0x26c)]=_0x478273,this['_injector']=_0x5c6a4f,this[_0x4ccdb0(0x247)]=_0x1cb960,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xf37888(0x311)](){const _0x3e5628=_0xf37888;this[_0x3e5628(0x3ec)](this['_univerInstanceService'][_0x3e5628(0x388)][_0x3e5628(0x3bf)](_0x784c53(()=>{const _0x2a5b80=_0x3e5628,_0x1bef92=this['_univerInstanceService']['getFocusedUnit']();return _0x1bef92?this[_0x2a5b80(0x247)][_0x2a5b80(0x15a)](_0x1bef92['getUnitId']()):_0x5ac583(null);}),_0x784c53(_0x4c2ce8=>_0x4c2ce8?_0x4c2ce8['status$']:_0x5ac583(J['NOT_COLLAB'])))[_0x3e5628(0x236)](_0x5717f9=>{const _0x9c7450=_0x3e5628;this[_0x9c7450(0x18e)]['next'](_0x5717f9);}));}['_initStatusComponent'](){const _0x2ed757=_0xf37888;this[_0x2ed757(0x3ec)](this['_uiPartsService'][_0x2ed757(0x458)](_0x31b17c[_0x2ed757(0x4b3)],()=>_0x31c12e(Ra({'status$':this[_0x2ed757(0x18e)][_0x2ed757(0x2cf)]()}),this[_0x2ed757(0x43d)])));}};St=Ta([ht(0x0,_0x6b8e83),ht(0x1,_0x1c0ace),ht(0x2,_0x39c8b8(_0x2fd08f)),ht(0x3,_0x39c8b8(it))],St);function Ra(_0x155a77){const {status$:_0x34b98e}=_0x155a77;return function(){return we['jsx'](Ca,{'status$':_0x34b98e});};}const Bi=_0x11a95d(_0xf37888(0x4c5));var ya=Object[_0xf37888(0x320)],Oa=Object[_0xf37888(0x26b)],wa=(_0x201348,_0x5a16e8,_0x21405b,_0x5739f7)=>{for(var _0x179e3f=_0x5739f7>0x1?void 0x0:_0x5739f7?Oa(_0x5a16e8,_0x21405b):_0x5a16e8,_0x491ff9=_0x201348['length']-0x1,_0x218519;_0x491ff9>=0x0;_0x491ff9--)(_0x218519=_0x201348[_0x491ff9])&&(_0x179e3f=(_0x5739f7?_0x218519(_0x5a16e8,_0x21405b,_0x179e3f):_0x218519(_0x179e3f))||_0x179e3f);return _0x5739f7&&_0x179e3f&&ya(_0x5a16e8,_0x21405b,_0x179e3f),_0x179e3f;},ke=(_0x59f844,_0x1ff9c4)=>(_0x6715c,_0x578740)=>_0x1ff9c4(_0x6715c,_0x578740,_0x59f844);let It=class extends _0x3c16d2{constructor(_0x24de85,_0x4f0e06,_0x3cbfea,_0x183961,_0x490d79,_0x16bbf7){const _0x36a40d=_0xf37888;super(),this[_0x36a40d(0x237)]=_0x24de85,this[_0x36a40d(0x2c3)]=_0x4f0e06,this['_commandService']=_0x3cbfea,this[_0x36a40d(0x324)]=_0x183961,this[_0x36a40d(0x33e)]=_0x490d79,_0x16bbf7?_0x16bbf7==null||_0x16bbf7[_0x36a40d(0x2ca)]()[_0x36a40d(0x1ed)](()=>this[_0x36a40d(0x406)]()):(this[_0x36a40d(0x2c3)][_0x36a40d(0x13c)](_0x36a40d(0x32d),_0x36a40d(0x1d9)),this[_0x36a40d(0x406)]());}async[_0xf37888(0x406)](){const _0x2f7a3f=_0xf37888,_0x1d0109=this[_0x2f7a3f(0x237)][_0x2f7a3f(0x190)]('unit'),_0x492368=this[_0x2f7a3f(0x237)][_0x2f7a3f(0x190)](_0x2f7a3f(0x1fd));if(!_0x1d0109||!_0x492368){this[_0x2f7a3f(0x2c3)][_0x2f7a3f(0x13c)](_0x2f7a3f(0x32d),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x492368)){case ce[_0x2f7a3f(0x19a)]:{const _0x37f9d2=await this['_loadSheet'](_0x1d0109);this[_0x2f7a3f(0x328)](_0x37f9d2);break;}case ce[_0x2f7a3f(0x1c1)]:{await this['_loadDoc'](_0x1d0109);break;}default:{this[_0x2f7a3f(0x2c3)][_0x2f7a3f(0x329)](_0x2f7a3f(0x32d),_0x2f7a3f(0x20c));break;}}}async[_0xf37888(0x328)](_0x543866){const _0x4c938c=_0xf37888;await this['_updateSubUnitFromURLParams'](_0x543866),_0x543866['activeSheet$']['pipe'](_0x1825a9(this[_0x4c938c(0x118)]))[_0x4c938c(0x236)](_0x2de3a5=>{const _0x2375f2=_0x4c938c;_0x2de3a5&&this[_0x2375f2(0x391)](_0x2de3a5);}),this[_0x4c938c(0x237)][_0x4c938c(0x22a)][_0x4c938c(0x3bf)](_0x1825a9(this[_0x4c938c(0x118)]))[_0x4c938c(0x236)](()=>this[_0x4c938c(0x265)](_0x543866));}[_0xf37888(0x391)](_0x6098e2,_0x353eb5=!0x1){const _0x5b9eed=_0xf37888,_0x35260=this[_0x5b9eed(0x237)][_0x5b9eed(0x190)](_0x5b9eed(0x323));_0x6098e2['getSheetId']()!==_0x35260&&this[_0x5b9eed(0x237)]['setParam']('subunit',_0x6098e2['getSheetId'](),_0x353eb5);}async[_0xf37888(0x265)](_0x49e2d1){const _0x1b969e=_0xf37888;var _0x3acc2e;const _0x57b684=this[_0x1b969e(0x237)]['getParam'](_0x1b969e(0x323));if(!_0x57b684||!_0x49e2d1['getSheetBySheetId'](_0x57b684)){const _0x4d8a29=_0x49e2d1[_0x1b969e(0x4d4)]()[0x0],_0x3742d4=_0x49e2d1['getSheetBySheetId'](_0x4d8a29);if(!_0x3742d4)return;this[_0x1b969e(0x391)](_0x3742d4,!0x0),await this[_0x1b969e(0x1fb)][_0x1b969e(0x163)](_0x4fb117['id'],{'unitId':_0x49e2d1['getUnitId'](),'subUnitId':_0x4d8a29});return;}((_0x3acc2e=_0x49e2d1[_0x1b969e(0x14f)]())==null?void 0x0:_0x3acc2e[_0x1b969e(0x370)]())!==_0x57b684&&await this[_0x1b969e(0x1fb)][_0x1b969e(0x163)](_0x4fb117['id'],{'unitId':_0x49e2d1[_0x1b969e(0x1a4)](),'subUnitId':_0x57b684});}async['_loadSheet'](_0x2404f3){const _0x3404f2=_0xf37888;let _0x21843c=0x0;const _0x152faf=await this[_0x3404f2(0x324)]['loadOfflineData'](_0x2404f3);return _0x152faf&&(_0x152faf[_0x3404f2(0x2b6)]||_0x152faf[_0x3404f2(0x372)][_0x3404f2(0x42c)]!==0x0)&&(_0x21843c=_0x152faf[_0x3404f2(0x3de)]),_0x21843c===0x0&&this[_0x3404f2(0x2c3)][_0x3404f2(0x13c)]('[DataLoaderController]',_0x3404f2(0x3b2)),this[_0x3404f2(0x33e)][_0x3404f2(0x12a)](_0x2404f3,_0x21843c);}async[_0xf37888(0x359)](_0x5bcb9e){const _0x303241=_0xf37888;let _0x3a7043=0x0;const _0x2ad6be=await this['_localCacheService']['loadOfflineData'](_0x5bcb9e);return _0x2ad6be&&(_0x2ad6be[_0x303241(0x2b6)]||_0x2ad6be[_0x303241(0x372)][_0x303241(0x42c)]!==0x0)&&(_0x3a7043=_0x2ad6be[_0x303241(0x3de)]),_0x3a7043===0x0&&this[_0x303241(0x2c3)][_0x303241(0x13c)]('[DataLoaderController]',_0x303241(0x3b2)),this[_0x303241(0x33e)]['loadDoc'](_0x5bcb9e,_0x3a7043);}};It=wa([ke(0x0,Bi),ke(0x1,_0x399eca),ke(0x2,_0x48fc43),ke(0x3,_0x39c8b8(q)),ke(0x4,_0x39c8b8(_0x19a3ab)),ke(0x5,_0x174482(_0x480e23))],It);var Da=Object[_0xf37888(0x320)],Pa=Object[_0xf37888(0x26b)],Ua=(_0x207fc8,_0x227033,_0x514a4f,_0x5d4a5e)=>{const _0x3bfdfd=_0xf37888;for(var _0x280d58=_0x5d4a5e>0x1?void 0x0:_0x5d4a5e?Pa(_0x227033,_0x514a4f):_0x227033,_0x51978b=_0x207fc8[_0x3bfdfd(0x42c)]-0x1,_0x33ad6d;_0x51978b>=0x0;_0x51978b--)(_0x33ad6d=_0x207fc8[_0x51978b])&&(_0x280d58=(_0x5d4a5e?_0x33ad6d(_0x227033,_0x514a4f,_0x280d58):_0x33ad6d(_0x280d58))||_0x280d58);return _0x5d4a5e&&_0x280d58&&Da(_0x227033,_0x514a4f,_0x280d58),_0x280d58;},zs=(_0x21070c,_0x1af66b)=>(_0xaa4df1,_0x2a787f)=>_0x1af66b(_0xaa4df1,_0x2a787f,_0x21070c);const Na='DEFAULT_FILE_NAME',Aa=_0xf37888(0x2a2);let Ct=class extends _0xb54fec{constructor(_0x558ad0,_0x5bf2b2){const _0x204f95=_0xf37888;super(),this['_univerInstanceService']=_0x558ad0,this[_0x204f95(0x1f2)]=_0x5bf2b2,this[_0x204f95(0x406)]();}[_0xf37888(0x406)](){const _0x47f59f=_0xf37888;this['disposeWithMe'](this[_0x47f59f(0x1c2)][_0x47f59f(0x388)][_0x47f59f(0x236)](()=>{const _0x27581d=_0x47f59f;var _0x4f7922;const _0x24900f=this[_0x27581d(0x1c2)]['getFocusedUnit']();let _0x116bea=(_0x4f7922=this[_0x27581d(0x1f2)][_0x27581d(0x37a)](Na))!=null?_0x4f7922:Aa;_0x24900f instanceof _0x400c08&&(_0x116bea=_0x24900f[_0x27581d(0x14e)]),document['title']=_0x116bea;}));}};Ct=Ua([zs(0x0,_0x6b8e83),zs(0x1,_0x45a6b3)],Ct);var Ma=Object['defineProperty'],xa=Object[_0xf37888(0x26b)],La=(_0x400391,_0x33a45e,_0xd44e6f,_0x2d7452)=>{for(var _0x19e291=_0x2d7452>0x1?void 0x0:_0x2d7452?xa(_0x33a45e,_0xd44e6f):_0x33a45e,_0x59c276=_0x400391['length']-0x1,_0x5f4a24;_0x59c276>=0x0;_0x59c276--)(_0x5f4a24=_0x400391[_0x59c276])&&(_0x19e291=(_0x2d7452?_0x5f4a24(_0x33a45e,_0xd44e6f,_0x19e291):_0x5f4a24(_0x19e291))||_0x19e291);return _0x2d7452&&_0x19e291&&Ma(_0x33a45e,_0xd44e6f,_0x19e291),_0x19e291;},Wt=(_0x25ac31,_0x3d18aa)=>(_0x323629,_0x17794d)=>_0x3d18aa(_0x323629,_0x17794d,_0x25ac31);let Et=class{constructor(_0x44d9d5,_0x4c080e,_0x462c8f){const _0x155445=_0xf37888;this[_0x155445(0x1f2)]=_0x44d9d5,this[_0x155445(0x169)]=_0x4c080e,this[_0x155445(0x362)]=_0x462c8f,this[_0x155445(0x10e)]();}['init'](){const _0x678d7a=_0xf37888;this[_0x678d7a(0x169)][_0x678d7a(0x501)]({'priority':0x1,'interceptor':(_0xce2d50,_0xbc7ca7)=>_0xbc7ca7(_0xce2d50)[_0x678d7a(0x3bf)](_0x1240df(async _0x3b5b21=>{const _0x2ae3be=_0x678d7a,_0x1a698b=_0x3b5b21;if(_0x1a698b[_0x2ae3be(0x4a1)]===0x191&&window[_0x2ae3be(0x421)](this['localeService']['t'](_0x2ae3be(0x2da)))){const _0x489cab=window['encodeURIComponent'](window[_0x2ae3be(0x205)][_0x2ae3be(0x2b7)]);window[_0x2ae3be(0x205)][_0x2ae3be(0x2b7)]=this[_0x2ae3be(0x3ad)]()+_0x2ae3be(0x19d)+_0x489cab;}return _0x1a698b;}))});}[_0xf37888(0x3ad)](){const _0x18528b=_0xf37888;var _0xac4301,_0xa5ca9f;const _0x8380f2=this[_0x18528b(0x1f2)][_0x18528b(0x37a)](br),_0x1faf3a=this[_0x18528b(0x1f2)][_0x18528b(0x37a)](ie);return(_0xa5ca9f=(_0xac4301=_0x1faf3a==null?void 0x0:_0x1faf3a[_0x18528b(0x28d)])!=null?_0xac4301:_0x8380f2)!=null?_0xa5ca9f:Tr;}};Et=La([Wt(0x0,_0x45a6b3),Wt(0x1,_0x39c8b8(_0xf3436a)),Wt(0x2,_0x39c8b8(_0x50f35b))],Et);var $a=Object[_0xf37888(0x320)],Ha=Object[_0xf37888(0x26b)],ja=(_0x47c6d1,_0x210918,_0x167ded,_0x544de9)=>{const _0x568e7a=_0xf37888;for(var _0x228100=_0x544de9>0x1?void 0x0:_0x544de9?Ha(_0x210918,_0x167ded):_0x210918,_0x3a5cc6=_0x47c6d1[_0x568e7a(0x42c)]-0x1,_0x145efd;_0x3a5cc6>=0x0;_0x3a5cc6--)(_0x145efd=_0x47c6d1[_0x3a5cc6])&&(_0x228100=(_0x544de9?_0x145efd(_0x210918,_0x167ded,_0x228100):_0x145efd(_0x228100))||_0x228100);return _0x544de9&&_0x228100&&$a(_0x210918,_0x167ded,_0x228100),_0x228100;},qs=(_0x7719da,_0x4d25b0)=>(_0xda2bce,_0x5537a6)=>_0x4d25b0(_0xda2bce,_0x5537a6,_0x7719da);const Ba=_0xf37888(0x4ed),ka=_0xf37888(0x4c4);let cs=class extends _0xb54fec{constructor(_0x2a261c,_0xc8803){const _0x89e980=_0xf37888;super(),this[_0x89e980(0x4c6)]=_0x2a261c,this[_0x89e980(0x1f2)]=_0xc8803,this[_0x89e980(0x245)]();}[_0xf37888(0x245)](){const _0x33c735=_0xf37888,_0x2b64a5=this;this[_0x33c735(0x3ec)](this['_HTTPService'][_0x33c735(0x501)]({'priority':0x3e7,'interceptor':_0x5d3d7a({'isMatch'(_0x12cd40){const _0x598dcd=_0x33c735;var _0x227bc2;if(_0x12cd40[_0x598dcd(0x361)]===_0x598dcd(0x2f5)&&((_0x227bc2=_0x12cd40[_0x598dcd(0x227)])!=null&&_0x227bc2['body'])){const {objectID:_0x51873f,objectType:_0x1f66e9}=_0x12cd40['requestParams']['body']||{};if(!_0x51873f||_0x1f66e9===void 0x0)return!0x1;const _0x32acc9=_0x2b64a5['_getAPIPrefixPath']()+'/'+_0x1f66e9+_0x598dcd(0x47d)+_0x51873f+'/allowed';if(_0x12cd40[_0x598dcd(0x35d)]===_0x32acc9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16f245){const _0x24aa6b=_0x33c735;var _0x3cf2ef;return(_0x3cf2ef=_0x16f245['requestParams'])==null?void 0x0:_0x3cf2ef[_0x24aa6b(0x251)];},'mergeParamsToRequest'(_0xdc37f1,_0x135fb9){const _0x43a908=_0x33c735,_0xa9efd7=_0x2b64a5['_getAPIPrefixPath']()+_0x43a908(0x3b5),_0x2aee7f=_0xdc37f1['reduce']((_0x140566,_0x153687)=>{const _0x5f2b94=_0x43a908,{unitID:_0x418fa1,objectID:_0x1ed233,objectType:_0x335906,actions:_0x39e034}=_0x153687;return _0x140566[_0x418fa1]||(_0x140566[_0x418fa1]={}),_0x140566[_0x418fa1][_0x1ed233]||(_0x140566[_0x418fa1][_0x1ed233]={'objectID':_0x1ed233,'objectType':_0x335906,'actions':[]}),_0x140566[_0x418fa1][_0x1ed233][_0x5f2b94(0x2fc)][_0x5f2b94(0x270)](..._0x39e034),_0x140566;},{}),_0x45265f=[];for(const _0x18291e in _0x2aee7f)for(const _0x13a0fa in _0x2aee7f[_0x18291e]){const {actions:_0x216c03,objectType:_0x3747d1}=_0x2aee7f[_0x18291e][_0x13a0fa],_0x5e4efa=[...new Set(_0x216c03)];_0x45265f[_0x43a908(0x270)]({'unitID':_0x18291e,'objectID':_0x13a0fa,'objectType':_0x3747d1,'actions':_0x5e4efa});}return new _0x3738a7(_0x43a908(0x2f5),_0xa9efd7,{'headers':_0x135fb9[_0x43a908(0x3d1)],'withCredentials':_0x135fb9[_0x43a908(0x4e8)],'responseType':_0x135fb9[_0x43a908(0x3c8)],'body':{'requests':_0x45265f}});}},{'distributeResult'(_0x19e02d,_0x5744ec){const _0x536c7d=_0x33c735,{objectActions:_0x518f52}=_0x19e02d;return _0x5744ec[_0x536c7d(0x41b)](_0x2310d9=>{const _0x424d32=_0x536c7d,{unitID:_0xa1cd0b,objectID:_0xae7cfa,actions:_0x56287a}=_0x2310d9,_0x5b3408=_0x518f52[_0x424d32(0x4b0)](_0x55ad22=>_0x55ad22[_0x424d32(0x24f)]===_0xa1cd0b&&_0x55ad22[_0x424d32(0x3a0)]===_0xae7cfa),_0x30df90=_0x56287a[_0x424d32(0x41b)](_0x2dfb0f=>_0x5b3408==null?void 0x0:_0x5b3408[_0x424d32(0x2fc)][_0x424d32(0x4b0)](_0x5a3adc=>_0x5a3adc[_0x424d32(0x4fa)]===_0x2dfb0f))[_0x424d32(0x4b4)](_0x3c9b88=>!!_0x3c9b88);return{'config':_0x2310d9,'result':{'actions':_0x30df90,'error':_0x19e02d[_0x424d32(0x329)]}};});}})}));}[_0xf37888(0x144)](){const _0x5be1e7=_0xf37888;var _0x10cbad,_0x28e394;const _0x4961ef=this[_0x5be1e7(0x1f2)][_0x5be1e7(0x37a)](Ba),_0x3592a3=this[_0x5be1e7(0x1f2)][_0x5be1e7(0x37a)](ie);return(_0x28e394=(_0x10cbad=_0x3592a3==null?void 0x0:_0x3592a3[_0x5be1e7(0x23c)])!=null?_0x10cbad:_0x4961ef)!=null?_0x28e394:ka;}async[_0xf37888(0x373)](_0xcee737){const _0x107ac6=_0xf37888,_0x532007=this['_getAPIPrefixPath']()+'/'+_0xcee737['objectType']+_0x107ac6(0x36c);return(await this[_0x107ac6(0x4c6)][_0x107ac6(0x141)](_0x532007,{'body':_0xcee737}))[_0x107ac6(0x251)][_0x107ac6(0x3a0)]||'';}async['list'](_0x44d9e4){const _0x3483f6=_0xf37888,_0x1b43ec=this['_getAPIPrefixPath']()+_0x3483f6(0x20f);return(await this[_0x3483f6(0x4c6)][_0x3483f6(0x141)](_0x1b43ec,{'body':_0x44d9e4}))[_0x3483f6(0x251)][_0x3483f6(0x396)];}async[_0xf37888(0x469)](_0x282a7b){const _0x366a68=_0xf37888,_0x329c1e=this['_getAPIPrefixPath']()+'/'+_0x282a7b[_0x366a68(0x21c)]+_0x366a68(0x47d)+_0x282a7b[_0x366a68(0x3a0)];await this[_0x366a68(0x4c6)][_0x366a68(0x476)](_0x329c1e,{'body':_0x282a7b});}async[_0xf37888(0x4da)](_0x10099d){const _0xac88ee=_0xf37888,_0x417e59=this['_getAPIPrefixPath']()+'/'+_0x10099d[_0xac88ee(0x21c)]+_0xac88ee(0x47d)+_0x10099d[_0xac88ee(0x3a0)]+_0xac88ee(0x198);return(await this[_0xac88ee(0x4c6)]['post'](_0x417e59,{'body':_0x10099d}))['body'][_0xac88ee(0x2fc)];}async[_0xf37888(0x173)](_0x522c81){const _0x573990=_0xf37888,_0x596937=this[_0x573990(0x144)]()+_0x573990(0x3b5);return(await this['_HTTPService']['post'](_0x596937,{'body':{'requests':_0x522c81}}))['body'][_0x573990(0x23d)];}async[_0xf37888(0x409)](_0x2cd18e){const _0x46fcee=_0xf37888,_0x449bc4=this[_0x46fcee(0x144)]()+'/'+_0x2cd18e[_0x46fcee(0x21c)]+'/role',_0x1fcf20=await this[_0x46fcee(0x4c6)]['post'](_0x449bc4,{'body':_0x2cd18e});return{'roles':_0x1fcf20[_0x46fcee(0x251)][_0x46fcee(0x363)],'actions':_0x1fcf20[_0x46fcee(0x251)]['actions']};}async[_0xf37888(0x3ba)](_0x4c2c23){const _0x47980a=_0xf37888,_0x3374e9=this['_getAPIPrefixPath']()+_0x47980a(0x201);await this[_0x47980a(0x4c6)][_0x47980a(0x3ab)](_0x3374e9,{'params':{'collaboratorID':_0x4c2c23[_0x47980a(0x12c)],'objectID':_0x4c2c23[_0x47980a(0x3a0)],'unitID':_0x4c2c23['unitID']}});}async[_0xf37888(0x199)](_0x3f53fa){const _0xd46668=_0xf37888,_0x4cd14f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xd46668(0x4c6)][_0xd46668(0x35b)](_0x4cd14f,{'body':_0x3f53fa});}async['createCollaborator'](_0x15f4f3){const _0x585ca7=_0xf37888,_0x204520=this[_0x585ca7(0x144)]()+'/collaborator';await this[_0x585ca7(0x4c6)][_0x585ca7(0x141)](_0x204520,{'body':_0x15f4f3});}async[_0xf37888(0x447)](_0x1fc25d){const _0x42671c=_0xf37888,_0x468522=this[_0x42671c(0x144)]()+_0x42671c(0x201);return(await this[_0x42671c(0x4c6)][_0x42671c(0x166)](_0x468522,{'params':{'objectID':_0x1fc25d['objectID'],'unitID':_0x1fc25d[_0x42671c(0x24f)]}}))['body'][_0x42671c(0x365)];}async[_0xf37888(0x1d8)](_0x408a1d){const _0x3b808b=_0xf37888,_0x363369=this[_0x3b808b(0x144)]()+_0x3b808b(0x201);await this['_HTTPService']['put'](_0x363369,{'body':_0x408a1d});}};cs=ja([qs(0x0,_0x39c8b8(_0xf3436a)),qs(0x1,_0x39c8b8(_0x45a6b3))],cs);var ki={'exports':{}};function Wa(_0x411360){const _0x1d1e57=_0xf37888;throw new Error(_0x1d1e57(0x2ef)+_0x411360+_0x1d1e57(0x2c6));}var Ft={'exports':{}},Xs;function ue(){const _0x232aca=_0xf37888;return Xs||(Xs=0x1,function(_0x57a201,_0x562480){(function(_0x553a22,_0x32d51d){const _0x9f71f7=_0x136c;_0x57a201[_0x9f71f7(0x4bf)]=_0x32d51d();}(Z,function(){var _0x409769=_0x409769||function(_0x340872,_0x1027fb){const _0x34b363=_0x136c;var _0x497f4e;if(typeof window<'u'&&window[_0x34b363(0x269)]&&(_0x497f4e=window['crypto']),typeof self<'u'&&self[_0x34b363(0x269)]&&(_0x497f4e=self[_0x34b363(0x269)]),typeof globalThis<'u'&&globalThis[_0x34b363(0x269)]&&(_0x497f4e=globalThis[_0x34b363(0x269)]),!_0x497f4e&&typeof window<'u'&&window[_0x34b363(0x448)]&&(_0x497f4e=window[_0x34b363(0x448)]),!_0x497f4e&&typeof Z<'u'&&Z[_0x34b363(0x269)]&&(_0x497f4e=Z[_0x34b363(0x269)]),!_0x497f4e&&typeof Wa==_0x34b363(0x1bc))try{_0x497f4e=require(_0x34b363(0x269));}catch{}var _0x59c8bb=function(){const _0x53b141=_0x34b363;if(_0x497f4e){if(typeof _0x497f4e[_0x53b141(0x232)]==_0x53b141(0x1bc))try{return _0x497f4e[_0x53b141(0x232)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x497f4e[_0x53b141(0x48e)]==_0x53b141(0x1bc))try{return _0x497f4e['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x53b141(0x238));},_0x2f1b8c=Object['create']||(function(){function _0x489f9c(){}return function(_0x24897e){const _0xe9663f=_0x136c;var _0x571d4a;return _0x489f9c[_0xe9663f(0x16d)]=_0x24897e,_0x571d4a=new _0x489f9c(),_0x489f9c['prototype']=null,_0x571d4a;};}()),_0x5c86e5={},_0x482ff6=_0x5c86e5[_0x34b363(0x1f5)]={},_0x8c5c72=_0x482ff6['Base']=(function(){return{'extend':function(_0x5798a4){const _0x1b75ce=_0x136c;var _0x834a6c=_0x2f1b8c(this);return _0x5798a4&&_0x834a6c[_0x1b75ce(0x185)](_0x5798a4),(!_0x834a6c['hasOwnProperty'](_0x1b75ce(0x10e))||this[_0x1b75ce(0x10e)]===_0x834a6c[_0x1b75ce(0x10e)])&&(_0x834a6c[_0x1b75ce(0x10e)]=function(){const _0x1a4fce=_0x1b75ce;_0x834a6c[_0x1a4fce(0x349)]['init']['apply'](this,arguments);}),_0x834a6c['init'][_0x1b75ce(0x16d)]=_0x834a6c,_0x834a6c[_0x1b75ce(0x349)]=this,_0x834a6c;},'create':function(){const _0x15a955=_0x136c;var _0x229ff3=this[_0x15a955(0x327)]();return _0x229ff3[_0x15a955(0x10e)][_0x15a955(0x50d)](_0x229ff3,arguments),_0x229ff3;},'init':function(){},'mixIn':function(_0x575624){const _0x38d43b=_0x136c;for(var _0x2feb31 in _0x575624)_0x575624[_0x38d43b(0x3ae)](_0x2feb31)&&(this[_0x2feb31]=_0x575624[_0x2feb31]);_0x575624[_0x38d43b(0x3ae)](_0x38d43b(0x492))&&(this[_0x38d43b(0x492)]=_0x575624[_0x38d43b(0x492)]);},'clone':function(){const _0x221c5c=_0x136c;return this[_0x221c5c(0x10e)]['prototype'][_0x221c5c(0x327)](this);}};}()),_0x221ccc=_0x482ff6['WordArray']=_0x8c5c72['extend']({'init':function(_0x240270,_0x4207ba){const _0x11c952=_0x34b363;_0x240270=this[_0x11c952(0x233)]=_0x240270||[],_0x4207ba!=_0x1027fb?this[_0x11c952(0x502)]=_0x4207ba:this['sigBytes']=_0x240270[_0x11c952(0x42c)]*0x4;},'toString':function(_0x31580e){const _0x4c78f9=_0x34b363;return(_0x31580e||_0x50d2a0)[_0x4c78f9(0x387)](this);},'concat':function(_0x5c9e4f){const _0x2ebb32=_0x34b363;var _0x411498=this[_0x2ebb32(0x233)],_0x491f72=_0x5c9e4f['words'],_0x10d77c=this['sigBytes'],_0x4dbed0=_0x5c9e4f['sigBytes'];if(this[_0x2ebb32(0x218)](),_0x10d77c%0x4)for(var _0x50f1e6=0x0;_0x50f1e6<_0x4dbed0;_0x50f1e6++){var _0x217100=_0x491f72[_0x50f1e6>>>0x2]>>>0x18-_0x50f1e6%0x4*0x8&0xff;_0x411498[_0x10d77c+_0x50f1e6>>>0x2]|=_0x217100<<0x18-(_0x10d77c+_0x50f1e6)%0x4*0x8;}else{for(var _0x31c357=0x0;_0x31c357<_0x4dbed0;_0x31c357+=0x4)_0x411498[_0x10d77c+_0x31c357>>>0x2]=_0x491f72[_0x31c357>>>0x2];}return this[_0x2ebb32(0x502)]+=_0x4dbed0,this;},'clamp':function(){const _0x142421=_0x34b363;var _0x3bfe1c=this[_0x142421(0x233)],_0x8fff1b=this['sigBytes'];_0x3bfe1c[_0x8fff1b>>>0x2]&=0xffffffff<<0x20-_0x8fff1b%0x4*0x8,_0x3bfe1c[_0x142421(0x42c)]=_0x340872[_0x142421(0x36f)](_0x8fff1b/0x4);},'clone':function(){const _0x5e3201=_0x34b363;var _0x4ec504=_0x8c5c72[_0x5e3201(0x470)][_0x5e3201(0x3b7)](this);return _0x4ec504[_0x5e3201(0x233)]=this[_0x5e3201(0x233)][_0x5e3201(0x3cb)](0x0),_0x4ec504;},'random':function(_0x3d4fbb){const _0x1479b7=_0x34b363;for(var _0x1e7551=[],_0xe4fecc=0x0;_0xe4fecc<_0x3d4fbb;_0xe4fecc+=0x4)_0x1e7551[_0x1479b7(0x270)](_0x59c8bb());return new _0x221ccc[(_0x1479b7(0x10e))](_0x1e7551,_0x3d4fbb);}}),_0x31694f=_0x5c86e5[_0x34b363(0x343)]={},_0x50d2a0=_0x31694f['Hex']={'stringify':function(_0x34d3b8){const _0x1a073b=_0x34b363;for(var _0x4b7123=_0x34d3b8[_0x1a073b(0x233)],_0x4351a9=_0x34d3b8[_0x1a073b(0x502)],_0x306bca=[],_0x45d2ab=0x0;_0x45d2ab<_0x4351a9;_0x45d2ab++){var _0x13d697=_0x4b7123[_0x45d2ab>>>0x2]>>>0x18-_0x45d2ab%0x4*0x8&0xff;_0x306bca[_0x1a073b(0x270)]((_0x13d697>>>0x4)['toString'](0x10)),_0x306bca[_0x1a073b(0x270)]((_0x13d697&0xf)[_0x1a073b(0x492)](0x10));}return _0x306bca[_0x1a073b(0x1ef)]('');},'parse':function(_0x1b6e21){const _0x5c93d1=_0x34b363;for(var _0x2ec28e=_0x1b6e21[_0x5c93d1(0x42c)],_0x29b71e=[],_0x1dd395=0x0;_0x1dd395<_0x2ec28e;_0x1dd395+=0x2)_0x29b71e[_0x1dd395>>>0x3]|=parseInt(_0x1b6e21[_0x5c93d1(0x4d9)](_0x1dd395,0x2),0x10)<<0x18-_0x1dd395%0x8*0x4;return new _0x221ccc[(_0x5c93d1(0x10e))](_0x29b71e,_0x2ec28e/0x2);}},_0x40c2c8=_0x31694f[_0x34b363(0x2e0)]={'stringify':function(_0x5bca80){const _0x3eae25=_0x34b363;for(var _0x1582ce=_0x5bca80['words'],_0x12959e=_0x5bca80[_0x3eae25(0x502)],_0x21629c=[],_0x504d71=0x0;_0x504d71<_0x12959e;_0x504d71++){var _0x2e1786=_0x1582ce[_0x504d71>>>0x2]>>>0x18-_0x504d71%0x4*0x8&0xff;_0x21629c['push'](String[_0x3eae25(0x130)](_0x2e1786));}return _0x21629c[_0x3eae25(0x1ef)]('');},'parse':function(_0x29346d){const _0x3c1725=_0x34b363;for(var _0x5424a3=_0x29346d[_0x3c1725(0x42c)],_0x45fcdf=[],_0x1a8018=0x0;_0x1a8018<_0x5424a3;_0x1a8018++)_0x45fcdf[_0x1a8018>>>0x2]|=(_0x29346d[_0x3c1725(0x1df)](_0x1a8018)&0xff)<<0x18-_0x1a8018%0x4*0x8;return new _0x221ccc[(_0x3c1725(0x10e))](_0x45fcdf,_0x5424a3);}},_0x5f26b1=_0x31694f['Utf8']={'stringify':function(_0x415dfe){const _0x27a0cb=_0x34b363;try{return decodeURIComponent(escape(_0x40c2c8[_0x27a0cb(0x387)](_0x415dfe)));}catch{throw new Error(_0x27a0cb(0x2dc));}},'parse':function(_0x1da73c){return _0x40c2c8['parse'](unescape(encodeURIComponent(_0x1da73c)));}},_0x4a5fca=_0x482ff6['BufferedBlockAlgorithm']=_0x8c5c72[_0x34b363(0x327)]({'reset':function(){const _0x2b2a40=_0x34b363;this[_0x2b2a40(0x277)]=new _0x221ccc[(_0x2b2a40(0x10e))](),this[_0x2b2a40(0x15e)]=0x0;},'_append':function(_0x2e697d){const _0x167159=_0x34b363;typeof _0x2e697d=='string'&&(_0x2e697d=_0x5f26b1[_0x167159(0x2e9)](_0x2e697d)),this['_data'][_0x167159(0x3b4)](_0x2e697d),this[_0x167159(0x15e)]+=_0x2e697d[_0x167159(0x502)];},'_process':function(_0x5ac58f){const _0x2f44b6=_0x34b363;var _0xe7a8fb,_0x5b4eec=this[_0x2f44b6(0x277)],_0x38a961=_0x5b4eec[_0x2f44b6(0x233)],_0x51cb84=_0x5b4eec['sigBytes'],_0x34ce17=this[_0x2f44b6(0x44d)],_0x4c9c2a=_0x34ce17*0x4,_0x4e1cbe=_0x51cb84/_0x4c9c2a;_0x5ac58f?_0x4e1cbe=_0x340872[_0x2f44b6(0x36f)](_0x4e1cbe):_0x4e1cbe=_0x340872[_0x2f44b6(0x2d9)]((_0x4e1cbe|0x0)-this[_0x2f44b6(0x200)],0x0);var _0x4e2296=_0x4e1cbe*_0x34ce17,_0x5a0c0c=_0x340872[_0x2f44b6(0x256)](_0x4e2296*0x4,_0x51cb84);if(_0x4e2296){for(var _0xe23486=0x0;_0xe23486<_0x4e2296;_0xe23486+=_0x34ce17)this['_doProcessBlock'](_0x38a961,_0xe23486);_0xe7a8fb=_0x38a961[_0x2f44b6(0x1a0)](0x0,_0x4e2296),_0x5b4eec[_0x2f44b6(0x502)]-=_0x5a0c0c;}return new _0x221ccc['init'](_0xe7a8fb,_0x5a0c0c);},'clone':function(){const _0x22dfbc=_0x34b363;var _0x22751b=_0x8c5c72[_0x22dfbc(0x470)][_0x22dfbc(0x3b7)](this);return _0x22751b[_0x22dfbc(0x277)]=this['_data'][_0x22dfbc(0x470)](),_0x22751b;},'_minBufferSize':0x0});_0x482ff6[_0x34b363(0x1fa)]=_0x4a5fca['extend']({'cfg':_0x8c5c72[_0x34b363(0x327)](),'init':function(_0x40e8a4){const _0x19d14e=_0x34b363;this[_0x19d14e(0x25b)]=this[_0x19d14e(0x25b)]['extend'](_0x40e8a4),this['reset']();},'reset':function(){const _0x493914=_0x34b363;_0x4a5fca[_0x493914(0x433)][_0x493914(0x3b7)](this),this[_0x493914(0x2b0)]();},'update':function(_0x1962fa){const _0x358c60=_0x34b363;return this['_append'](_0x1962fa),this[_0x358c60(0x38a)](),this;},'finalize':function(_0x50df86){const _0x4834c3=_0x34b363;_0x50df86&&this['_append'](_0x50df86);var _0xdccda0=this[_0x4834c3(0x1e8)]();return _0xdccda0;},'blockSize':0x10,'_createHelper':function(_0x4dc584){return function(_0xcc1fdb,_0x59b6a1){const _0x15897b=_0x136c;return new _0x4dc584[(_0x15897b(0x10e))](_0x59b6a1)[_0x15897b(0x22d)](_0xcc1fdb);};},'_createHmacHelper':function(_0x538285){return function(_0x8638c0,_0x4e1947){const _0x1a7228=_0x136c;return new _0x2b2334[(_0x1a7228(0x222))][(_0x1a7228(0x10e))](_0x538285,_0x4e1947)[_0x1a7228(0x22d)](_0x8638c0);};}});var _0x2b2334=_0x5c86e5[_0x34b363(0x1b2)]={};return _0x5c86e5;}(Math);return _0x409769;}));}(Ft)),Ft[_0x232aca(0x4bf)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x1cfed1,_0xa656a3){(function(_0x32d02d,_0x36ec76){_0x1cfed1['exports']=_0x36ec76(ue());}(Z,function(_0x312fc6){const _0x5bffff=_0x136c;return(function(){const _0x4e37ec=_0x136c;var _0x32b643=_0x312fc6,_0xf08d05=_0x32b643[_0x4e37ec(0x1f5)],_0x4f8c60=_0xf08d05[_0x4e37ec(0x290)],_0x20ed88=_0x32b643[_0x4e37ec(0x343)];_0x20ed88[_0x4e37ec(0x1f4)]={'stringify':function(_0x2fedc1){const _0x1a917f=_0x4e37ec;var _0x384863=_0x2fedc1[_0x1a917f(0x233)],_0x1abada=_0x2fedc1[_0x1a917f(0x502)],_0x75de3=this[_0x1a917f(0x264)];_0x2fedc1[_0x1a917f(0x218)]();for(var _0x49023c=[],_0x4af49e=0x0;_0x4af49e<_0x1abada;_0x4af49e+=0x3)for(var _0x191948=_0x384863[_0x4af49e>>>0x2]>>>0x18-_0x4af49e%0x4*0x8&0xff,_0x412be3=_0x384863[_0x4af49e+0x1>>>0x2]>>>0x18-(_0x4af49e+0x1)%0x4*0x8&0xff,_0x4f206f=_0x384863[_0x4af49e+0x2>>>0x2]>>>0x18-(_0x4af49e+0x2)%0x4*0x8&0xff,_0x2ce99e=_0x191948<<0x10|_0x412be3<<0x8|_0x4f206f,_0x5c7148=0x0;_0x5c7148<0x4&&_0x4af49e+_0x5c7148*0.75<_0x1abada;_0x5c7148++)_0x49023c[_0x1a917f(0x270)](_0x75de3[_0x1a917f(0x1fc)](_0x2ce99e>>>0x6*(0x3-_0x5c7148)&0x3f));var _0x1d2393=_0x75de3[_0x1a917f(0x1fc)](0x40);if(_0x1d2393){for(;_0x49023c['length']%0x4;)_0x49023c[_0x1a917f(0x270)](_0x1d2393);}return _0x49023c[_0x1a917f(0x1ef)]('');},'parse':function(_0x1135ec){const _0x26c914=_0x4e37ec;var _0x5cca10=_0x1135ec['length'],_0x22dfe5=this[_0x26c914(0x264)],_0x2d3a81=this['_reverseMap'];if(!_0x2d3a81){_0x2d3a81=this[_0x26c914(0x4df)]=[];for(var _0xfe796e=0x0;_0xfe796e<_0x22dfe5[_0x26c914(0x42c)];_0xfe796e++)_0x2d3a81[_0x22dfe5[_0x26c914(0x1df)](_0xfe796e)]=_0xfe796e;}var _0x192b33=_0x22dfe5['charAt'](0x40);if(_0x192b33){var _0x1a7bbb=_0x1135ec[_0x26c914(0x1eb)](_0x192b33);_0x1a7bbb!==-0x1&&(_0x5cca10=_0x1a7bbb);}return _0x3874f5(_0x1135ec,_0x5cca10,_0x2d3a81);},'_map':_0x4e37ec(0x239)};function _0x3874f5(_0x751371,_0x536879,_0x31645a){const _0x564347=_0x4e37ec;for(var _0x115631=[],_0x46a038=0x0,_0x1314f8=0x0;_0x1314f8<_0x536879;_0x1314f8++)if(_0x1314f8%0x4){var _0x22eb57=_0x31645a[_0x751371['charCodeAt'](_0x1314f8-0x1)]<<_0x1314f8%0x4*0x2,_0x35a09f=_0x31645a[_0x751371[_0x564347(0x1df)](_0x1314f8)]>>>0x6-_0x1314f8%0x4*0x2,_0x18fcea=_0x22eb57|_0x35a09f;_0x115631[_0x46a038>>>0x2]|=_0x18fcea<<0x18-_0x46a038%0x4*0x8,_0x46a038++;}return _0x4f8c60[_0x564347(0x373)](_0x115631,_0x46a038);}}()),_0x312fc6[_0x5bffff(0x343)][_0x5bffff(0x1f4)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x2377d8=_0xf37888;return Zs||(Zs=0x1,function(_0x22f671,_0x23e447){(function(_0xbc78a8,_0x5947b0){_0x22f671['exports']=_0x5947b0(ue());}(Z,function(_0x498788){const _0x2b2fb2=_0x136c;return function(_0x21f90c){const _0x5e1f76=_0x136c;var _0x236941=_0x498788,_0x1dd523=_0x236941[_0x5e1f76(0x1f5)],_0x5b6625=_0x1dd523[_0x5e1f76(0x290)],_0x410951=_0x1dd523['Hasher'],_0x4a0e9e=_0x236941[_0x5e1f76(0x1b2)],_0x3a6318=[];(function(){const _0x53f38d=_0x5e1f76;for(var _0x44cd5b=0x0;_0x44cd5b<0x40;_0x44cd5b++)_0x3a6318[_0x44cd5b]=_0x21f90c[_0x53f38d(0x319)](_0x21f90c[_0x53f38d(0x4c0)](_0x44cd5b+0x1))*0x100000000|0x0;}());var _0xa0b7fd=_0x4a0e9e['MD5']=_0x410951[_0x5e1f76(0x327)]({'_doReset':function(){const _0x4e4e27=_0x5e1f76;this[_0x4e4e27(0x3d6)]=new _0x5b6625[(_0x4e4e27(0x10e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2ba2bb,_0x5876d4){const _0x4e16e1=_0x5e1f76;for(var _0x2eda31=0x0;_0x2eda31<0x10;_0x2eda31++){var _0x4fc04e=_0x5876d4+_0x2eda31,_0x870d3c=_0x2ba2bb[_0x4fc04e];_0x2ba2bb[_0x4fc04e]=(_0x870d3c<<0x8|_0x870d3c>>>0x18)&0xff00ff|(_0x870d3c<<0x18|_0x870d3c>>>0x8)&0xff00ff00;}var _0x5d6cfc=this[_0x4e16e1(0x3d6)][_0x4e16e1(0x233)],_0x4f8239=_0x2ba2bb[_0x5876d4+0x0],_0xa2530b=_0x2ba2bb[_0x5876d4+0x1],_0x10a705=_0x2ba2bb[_0x5876d4+0x2],_0x24a1b7=_0x2ba2bb[_0x5876d4+0x3],_0x82be4f=_0x2ba2bb[_0x5876d4+0x4],_0x250b31=_0x2ba2bb[_0x5876d4+0x5],_0x446a7c=_0x2ba2bb[_0x5876d4+0x6],_0x4fa67b=_0x2ba2bb[_0x5876d4+0x7],_0x30cc5e=_0x2ba2bb[_0x5876d4+0x8],_0x44c8a4=_0x2ba2bb[_0x5876d4+0x9],_0xd05d06=_0x2ba2bb[_0x5876d4+0xa],_0x31340d=_0x2ba2bb[_0x5876d4+0xb],_0x541ebe=_0x2ba2bb[_0x5876d4+0xc],_0x18635e=_0x2ba2bb[_0x5876d4+0xd],_0x52573d=_0x2ba2bb[_0x5876d4+0xe],_0x52b5d6=_0x2ba2bb[_0x5876d4+0xf],_0x38f6c9=_0x5d6cfc[0x0],_0x494d75=_0x5d6cfc[0x1],_0x48bfef=_0x5d6cfc[0x2],_0x107b54=_0x5d6cfc[0x3];_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x4f8239,0x7,_0x3a6318[0x0]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0xa2530b,0xc,_0x3a6318[0x1]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x10a705,0x11,_0x3a6318[0x2]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x24a1b7,0x16,_0x3a6318[0x3]),_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x82be4f,0x7,_0x3a6318[0x4]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x250b31,0xc,_0x3a6318[0x5]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x446a7c,0x11,_0x3a6318[0x6]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x4fa67b,0x16,_0x3a6318[0x7]),_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x30cc5e,0x7,_0x3a6318[0x8]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x44c8a4,0xc,_0x3a6318[0x9]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0xd05d06,0x11,_0x3a6318[0xa]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x31340d,0x16,_0x3a6318[0xb]),_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x541ebe,0x7,_0x3a6318[0xc]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x18635e,0xc,_0x3a6318[0xd]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52573d,0x11,_0x3a6318[0xe]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x52b5d6,0x16,_0x3a6318[0xf]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0xa2530b,0x5,_0x3a6318[0x10]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x446a7c,0x9,_0x3a6318[0x11]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x31340d,0xe,_0x3a6318[0x12]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x4f8239,0x14,_0x3a6318[0x13]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x250b31,0x5,_0x3a6318[0x14]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0xd05d06,0x9,_0x3a6318[0x15]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52b5d6,0xe,_0x3a6318[0x16]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x82be4f,0x14,_0x3a6318[0x17]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x44c8a4,0x5,_0x3a6318[0x18]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x52573d,0x9,_0x3a6318[0x19]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x24a1b7,0xe,_0x3a6318[0x1a]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x30cc5e,0x14,_0x3a6318[0x1b]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x18635e,0x5,_0x3a6318[0x1c]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x10a705,0x9,_0x3a6318[0x1d]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x4fa67b,0xe,_0x3a6318[0x1e]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x541ebe,0x14,_0x3a6318[0x1f]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x250b31,0x4,_0x3a6318[0x20]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x30cc5e,0xb,_0x3a6318[0x21]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x31340d,0x10,_0x3a6318[0x22]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x52573d,0x17,_0x3a6318[0x23]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0xa2530b,0x4,_0x3a6318[0x24]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x82be4f,0xb,_0x3a6318[0x25]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x4fa67b,0x10,_0x3a6318[0x26]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0xd05d06,0x17,_0x3a6318[0x27]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x18635e,0x4,_0x3a6318[0x28]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x4f8239,0xb,_0x3a6318[0x29]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x24a1b7,0x10,_0x3a6318[0x2a]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x446a7c,0x17,_0x3a6318[0x2b]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x44c8a4,0x4,_0x3a6318[0x2c]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x541ebe,0xb,_0x3a6318[0x2d]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52b5d6,0x10,_0x3a6318[0x2e]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x10a705,0x17,_0x3a6318[0x2f]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x4f8239,0x6,_0x3a6318[0x30]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x4fa67b,0xa,_0x3a6318[0x31]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52573d,0xf,_0x3a6318[0x32]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x250b31,0x15,_0x3a6318[0x33]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x541ebe,0x6,_0x3a6318[0x34]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x24a1b7,0xa,_0x3a6318[0x35]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0xd05d06,0xf,_0x3a6318[0x36]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0xa2530b,0x15,_0x3a6318[0x37]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x30cc5e,0x6,_0x3a6318[0x38]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x52b5d6,0xa,_0x3a6318[0x39]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x446a7c,0xf,_0x3a6318[0x3a]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x18635e,0x15,_0x3a6318[0x3b]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x82be4f,0x6,_0x3a6318[0x3c]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x31340d,0xa,_0x3a6318[0x3d]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x10a705,0xf,_0x3a6318[0x3e]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x44c8a4,0x15,_0x3a6318[0x3f]),_0x5d6cfc[0x0]=_0x5d6cfc[0x0]+_0x38f6c9|0x0,_0x5d6cfc[0x1]=_0x5d6cfc[0x1]+_0x494d75|0x0,_0x5d6cfc[0x2]=_0x5d6cfc[0x2]+_0x48bfef|0x0,_0x5d6cfc[0x3]=_0x5d6cfc[0x3]+_0x107b54|0x0;},'_doFinalize':function(){const _0x533d57=_0x5e1f76;var _0x351d73=this[_0x533d57(0x277)],_0x41fd93=_0x351d73[_0x533d57(0x233)],_0xf3dbf5=this[_0x533d57(0x15e)]*0x8,_0x242e80=_0x351d73['sigBytes']*0x8;_0x41fd93[_0x242e80>>>0x5]|=0x80<<0x18-_0x242e80%0x20;var _0x5c0e7d=_0x21f90c['floor'](_0xf3dbf5/0x100000000),_0x2290f8=_0xf3dbf5;_0x41fd93[(_0x242e80+0x40>>>0x9<<0x4)+0xf]=(_0x5c0e7d<<0x8|_0x5c0e7d>>>0x18)&0xff00ff|(_0x5c0e7d<<0x18|_0x5c0e7d>>>0x8)&0xff00ff00,_0x41fd93[(_0x242e80+0x40>>>0x9<<0x4)+0xe]=(_0x2290f8<<0x8|_0x2290f8>>>0x18)&0xff00ff|(_0x2290f8<<0x18|_0x2290f8>>>0x8)&0xff00ff00,_0x351d73[_0x533d57(0x502)]=(_0x41fd93['length']+0x1)*0x4,this[_0x533d57(0x38a)]();for(var _0x4a8385=this['_hash'],_0x2bf259=_0x4a8385['words'],_0x408fdc=0x0;_0x408fdc<0x4;_0x408fdc++){var _0x2f6687=_0x2bf259[_0x408fdc];_0x2bf259[_0x408fdc]=(_0x2f6687<<0x8|_0x2f6687>>>0x18)&0xff00ff|(_0x2f6687<<0x18|_0x2f6687>>>0x8)&0xff00ff00;}return _0x4a8385;},'clone':function(){const _0x3b9173=_0x5e1f76;var _0x57187b=_0x410951[_0x3b9173(0x470)][_0x3b9173(0x3b7)](this);return _0x57187b[_0x3b9173(0x3d6)]=this['_hash'][_0x3b9173(0x470)](),_0x57187b;}});function _0x4722b8(_0x4a09c2,_0x5c5552,_0xf5b337,_0xb7b97c,_0x31abc1,_0x38d342,_0x170c29){var _0x23c2d2=_0x4a09c2+(_0x5c5552&_0xf5b337|~_0x5c5552&_0xb7b97c)+_0x31abc1+_0x170c29;return(_0x23c2d2<<_0x38d342|_0x23c2d2>>>0x20-_0x38d342)+_0x5c5552;}function _0x3191c3(_0x23812a,_0x4d1337,_0xe97c4b,_0x30f11a,_0x4cdf9f,_0x38d6e6,_0x59a032){var _0xb0d02a=_0x23812a+(_0x4d1337&_0x30f11a|_0xe97c4b&~_0x30f11a)+_0x4cdf9f+_0x59a032;return(_0xb0d02a<<_0x38d6e6|_0xb0d02a>>>0x20-_0x38d6e6)+_0x4d1337;}function _0x245b4f(_0x299ed0,_0x23ed4f,_0x535bf2,_0x1627dd,_0x2e80ec,_0x5a9c58,_0x2ddb79){var _0x2bccd7=_0x299ed0+(_0x23ed4f^_0x535bf2^_0x1627dd)+_0x2e80ec+_0x2ddb79;return(_0x2bccd7<<_0x5a9c58|_0x2bccd7>>>0x20-_0x5a9c58)+_0x23ed4f;}function _0x131fc2(_0x16b46b,_0x56bd65,_0xf0ff18,_0xac921e,_0x2c001e,_0xe3d147,_0x5be4a1){var _0x3a5f1e=_0x16b46b+(_0xf0ff18^(_0x56bd65|~_0xac921e))+_0x2c001e+_0x5be4a1;return(_0x3a5f1e<<_0xe3d147|_0x3a5f1e>>>0x20-_0xe3d147)+_0x56bd65;}_0x236941[_0x5e1f76(0x358)]=_0x410951['_createHelper'](_0xa0b7fd),_0x236941[_0x5e1f76(0x3a4)]=_0x410951[_0x5e1f76(0x45a)](_0xa0b7fd);}(Math),_0x498788[_0x2b2fb2(0x358)];}));}(Gt)),Gt[_0x2377d8(0x4bf)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x3903f4=_0xf37888;return Qs||(Qs=0x1,function(_0x16db25,_0x5cdb7a){(function(_0x3e5b50,_0x40df8c){const _0xe4f58a=_0x136c;_0x16db25[_0xe4f58a(0x4bf)]=_0x40df8c(ue());}(Z,function(_0x16d70d){const _0x2c2002=_0x136c;return(function(){const _0x5c8084=_0x136c;var _0x5a4309=_0x16d70d,_0x5452de=_0x5a4309[_0x5c8084(0x1f5)],_0x17384b=_0x5452de[_0x5c8084(0x290)],_0x3813d6=_0x5452de[_0x5c8084(0x1fa)],_0x4de8d4=_0x5a4309[_0x5c8084(0x1b2)],_0x294101=[],_0x57d048=_0x4de8d4['SHA1']=_0x3813d6[_0x5c8084(0x327)]({'_doReset':function(){const _0x3d68a2=_0x5c8084;this['_hash']=new _0x17384b[(_0x3d68a2(0x10e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4458cb,_0x1a92b4){const _0xd3efa5=_0x5c8084;for(var _0x417cfd=this[_0xd3efa5(0x3d6)][_0xd3efa5(0x233)],_0xa77a37=_0x417cfd[0x0],_0x24cf12=_0x417cfd[0x1],_0x55473a=_0x417cfd[0x2],_0x2bcc5f=_0x417cfd[0x3],_0x5ec70b=_0x417cfd[0x4],_0x1f42a4=0x0;_0x1f42a4<0x50;_0x1f42a4++){if(_0x1f42a4<0x10)_0x294101[_0x1f42a4]=_0x4458cb[_0x1a92b4+_0x1f42a4]|0x0;else{var _0x323662=_0x294101[_0x1f42a4-0x3]^_0x294101[_0x1f42a4-0x8]^_0x294101[_0x1f42a4-0xe]^_0x294101[_0x1f42a4-0x10];_0x294101[_0x1f42a4]=_0x323662<<0x1|_0x323662>>>0x1f;}var _0xb7e11b=(_0xa77a37<<0x5|_0xa77a37>>>0x1b)+_0x5ec70b+_0x294101[_0x1f42a4];_0x1f42a4<0x14?_0xb7e11b+=(_0x24cf12&_0x55473a|~_0x24cf12&_0x2bcc5f)+0x5a827999:_0x1f42a4<0x28?_0xb7e11b+=(_0x24cf12^_0x55473a^_0x2bcc5f)+0x6ed9eba1:_0x1f42a4<0x3c?_0xb7e11b+=(_0x24cf12&_0x55473a|_0x24cf12&_0x2bcc5f|_0x55473a&_0x2bcc5f)-0x70e44324:_0xb7e11b+=(_0x24cf12^_0x55473a^_0x2bcc5f)-0x359d3e2a,_0x5ec70b=_0x2bcc5f,_0x2bcc5f=_0x55473a,_0x55473a=_0x24cf12<<0x1e|_0x24cf12>>>0x2,_0x24cf12=_0xa77a37,_0xa77a37=_0xb7e11b;}_0x417cfd[0x0]=_0x417cfd[0x0]+_0xa77a37|0x0,_0x417cfd[0x1]=_0x417cfd[0x1]+_0x24cf12|0x0,_0x417cfd[0x2]=_0x417cfd[0x2]+_0x55473a|0x0,_0x417cfd[0x3]=_0x417cfd[0x3]+_0x2bcc5f|0x0,_0x417cfd[0x4]=_0x417cfd[0x4]+_0x5ec70b|0x0;},'_doFinalize':function(){const _0x549a30=_0x5c8084;var _0x4f100d=this['_data'],_0x11e037=_0x4f100d[_0x549a30(0x233)],_0x117f10=this[_0x549a30(0x15e)]*0x8,_0xad8180=_0x4f100d[_0x549a30(0x502)]*0x8;return _0x11e037[_0xad8180>>>0x5]|=0x80<<0x18-_0xad8180%0x20,_0x11e037[(_0xad8180+0x40>>>0x9<<0x4)+0xe]=Math[_0x549a30(0x122)](_0x117f10/0x100000000),_0x11e037[(_0xad8180+0x40>>>0x9<<0x4)+0xf]=_0x117f10,_0x4f100d[_0x549a30(0x502)]=_0x11e037['length']*0x4,this[_0x549a30(0x38a)](),this['_hash'];},'clone':function(){const _0x272226=_0x5c8084;var _0x8e3398=_0x3813d6['clone'][_0x272226(0x3b7)](this);return _0x8e3398[_0x272226(0x3d6)]=this[_0x272226(0x3d6)][_0x272226(0x470)](),_0x8e3398;}});_0x5a4309[_0x5c8084(0x187)]=_0x3813d6[_0x5c8084(0x2eb)](_0x57d048),_0x5a4309[_0x5c8084(0x3f2)]=_0x3813d6['_createHmacHelper'](_0x57d048);}()),_0x16d70d[_0x2c2002(0x187)];}));}(Kt)),Kt[_0x3903f4(0x4bf)];}var zt={'exports':{}},ei;function Ga(){const _0x482ca6=_0xf37888;return ei||(ei=0x1,function(_0x4e3608,_0x2c7101){(function(_0x538371,_0x588911){_0x4e3608['exports']=_0x588911(ue());}(Z,function(_0x276388){(function(){const _0x4e67b1=_0x136c;var _0x25589e=_0x276388,_0x1e34ed=_0x25589e[_0x4e67b1(0x1f5)],_0x1a4d19=_0x1e34ed['Base'],_0xf3fd96=_0x25589e[_0x4e67b1(0x343)],_0x5ec71e=_0xf3fd96[_0x4e67b1(0x4dc)],_0x3007cb=_0x25589e[_0x4e67b1(0x1b2)];_0x3007cb[_0x4e67b1(0x222)]=_0x1a4d19['extend']({'init':function(_0x2b17d9,_0x1a046e){const _0x13f010=_0x4e67b1;_0x2b17d9=this[_0x13f010(0x337)]=new _0x2b17d9[(_0x13f010(0x10e))](),typeof _0x1a046e=='string'&&(_0x1a046e=_0x5ec71e[_0x13f010(0x2e9)](_0x1a046e));var _0x17c7c8=_0x2b17d9[_0x13f010(0x44d)],_0x3856dc=_0x17c7c8*0x4;_0x1a046e['sigBytes']>_0x3856dc&&(_0x1a046e=_0x2b17d9['finalize'](_0x1a046e)),_0x1a046e[_0x13f010(0x218)]();for(var _0x5b7a38=this[_0x13f010(0x33d)]=_0x1a046e[_0x13f010(0x470)](),_0xcff1dd=this[_0x13f010(0x499)]=_0x1a046e[_0x13f010(0x470)](),_0x3d7ee2=_0x5b7a38['words'],_0x5965d5=_0xcff1dd[_0x13f010(0x233)],_0x175031=0x0;_0x175031<_0x17c7c8;_0x175031++)_0x3d7ee2[_0x175031]^=0x5c5c5c5c,_0x5965d5[_0x175031]^=0x36363636;_0x5b7a38[_0x13f010(0x502)]=_0xcff1dd['sigBytes']=_0x3856dc,this[_0x13f010(0x433)]();},'reset':function(){const _0x5475dd=_0x4e67b1;var _0x48abef=this[_0x5475dd(0x337)];_0x48abef[_0x5475dd(0x433)](),_0x48abef['update'](this[_0x5475dd(0x499)]);},'update':function(_0x3b39fa){const _0x24f38=_0x4e67b1;return this[_0x24f38(0x337)][_0x24f38(0x469)](_0x3b39fa),this;},'finalize':function(_0x363b5a){const _0x53f932=_0x4e67b1;var _0x45c85c=this[_0x53f932(0x337)],_0x564670=_0x45c85c[_0x53f932(0x22d)](_0x363b5a);_0x45c85c[_0x53f932(0x433)]();var _0x3862a6=_0x45c85c['finalize'](this[_0x53f932(0x33d)][_0x53f932(0x470)]()[_0x53f932(0x3b4)](_0x564670));return _0x3862a6;}});}());}));}(zt)),zt[_0x482ca6(0x4bf)];}var ti;function Fi(){const _0x44a461=_0xf37888;return ti||(ti=0x1,function(_0x3c0db1,_0xea068d){(function(_0x23ddf1,_0x8ab39b,_0x5e8561){const _0x4c5a4c=_0x136c;_0x3c0db1[_0x4c5a4c(0x4bf)]=_0x8ab39b(ue(),Va(),Ga());}(Z,function(_0x54b175){const _0x2f0a33=_0x136c;return(function(){const _0x1e2bac=_0x136c;var _0x510a64=_0x54b175,_0x585d3b=_0x510a64[_0x1e2bac(0x1f5)],_0x304a2b=_0x585d3b[_0x1e2bac(0x403)],_0xec0689=_0x585d3b['WordArray'],_0x2e672d=_0x510a64[_0x1e2bac(0x1b2)],_0x5f5628=_0x2e672d[_0x1e2bac(0x358)],_0x62f4bf=_0x2e672d['EvpKDF']=_0x304a2b[_0x1e2bac(0x327)]({'cfg':_0x304a2b[_0x1e2bac(0x327)]({'keySize':0x80/0x20,'hasher':_0x5f5628,'iterations':0x1}),'init':function(_0x44da24){const _0x22cf39=_0x1e2bac;this[_0x22cf39(0x25b)]=this[_0x22cf39(0x25b)][_0x22cf39(0x327)](_0x44da24);},'compute':function(_0x363c2e,_0x94755){const _0x152d88=_0x1e2bac;for(var _0x3a3852,_0x106916=this[_0x152d88(0x25b)],_0x2fc410=_0x106916[_0x152d88(0x31d)][_0x152d88(0x373)](),_0xacdb2a=_0xec0689[_0x152d88(0x373)](),_0x48a4e2=_0xacdb2a['words'],_0x12d775=_0x106916[_0x152d88(0x11e)],_0x41051c=_0x106916[_0x152d88(0x13d)];_0x48a4e2[_0x152d88(0x42c)]<_0x12d775;){_0x3a3852&&_0x2fc410[_0x152d88(0x469)](_0x3a3852),_0x3a3852=_0x2fc410['update'](_0x363c2e)['finalize'](_0x94755),_0x2fc410['reset']();for(var _0x505109=0x1;_0x505109<_0x41051c;_0x505109++)_0x3a3852=_0x2fc410['finalize'](_0x3a3852),_0x2fc410[_0x152d88(0x433)]();_0xacdb2a['concat'](_0x3a3852);}return _0xacdb2a[_0x152d88(0x502)]=_0x12d775*0x4,_0xacdb2a;}});_0x510a64[_0x1e2bac(0x457)]=function(_0x444105,_0x2c01de,_0x19c38f){const _0x4a46b2=_0x1e2bac;return _0x62f4bf[_0x4a46b2(0x373)](_0x19c38f)['compute'](_0x444105,_0x2c01de);};}()),_0x54b175[_0x2f0a33(0x457)];}));}(Yt)),Yt[_0x44a461(0x4bf)];}var qt={'exports':{}},si;function Vi(){const _0x4fee42=_0xf37888;return si||(si=0x1,function(_0x1962b0,_0x2bcaad){(function(_0xa06285,_0x4c7189,_0x53be77){const _0x10ebc0=_0x136c;_0x1962b0[_0x10ebc0(0x4bf)]=_0x4c7189(ue(),Fi());}(Z,function(_0x231d58){const _0x4abbe3=_0x136c;_0x231d58[_0x4abbe3(0x1f5)][_0x4abbe3(0x177)]||function(_0x571ab8){const _0x3665ce=_0x4abbe3;var _0x472028=_0x231d58,_0x43517b=_0x472028[_0x3665ce(0x1f5)],_0x3f99d3=_0x43517b[_0x3665ce(0x403)],_0x20a2a6=_0x43517b[_0x3665ce(0x290)],_0x257e07=_0x43517b['BufferedBlockAlgorithm'],_0x38da92=_0x472028[_0x3665ce(0x343)];_0x38da92[_0x3665ce(0x4dc)];var _0x3ac6ef=_0x38da92['Base64'],_0xf202e9=_0x472028[_0x3665ce(0x1b2)],_0x368a0b=_0xf202e9[_0x3665ce(0x457)],_0x50f1f1=_0x43517b[_0x3665ce(0x177)]=_0x257e07[_0x3665ce(0x327)]({'cfg':_0x3f99d3[_0x3665ce(0x327)](),'createEncryptor':function(_0x185b60,_0x497fc9){const _0x5543d7=_0x3665ce;return this[_0x5543d7(0x373)](this[_0x5543d7(0x3af)],_0x185b60,_0x497fc9);},'createDecryptor':function(_0x334129,_0x6cd0fe){const _0x177181=_0x3665ce;return this[_0x177181(0x373)](this['_DEC_XFORM_MODE'],_0x334129,_0x6cd0fe);},'init':function(_0x470665,_0x5ce798,_0x14b3c6){const _0x572dd3=_0x3665ce;this[_0x572dd3(0x25b)]=this[_0x572dd3(0x25b)]['extend'](_0x14b3c6),this['_xformMode']=_0x470665,this[_0x572dd3(0x124)]=_0x5ce798,this[_0x572dd3(0x433)]();},'reset':function(){const _0x5482ae=_0x3665ce;_0x257e07[_0x5482ae(0x433)]['call'](this),this[_0x5482ae(0x2b0)]();},'process':function(_0x2ebc1e){const _0x2dc107=_0x3665ce;return this[_0x2dc107(0x158)](_0x2ebc1e),this['_process']();},'finalize':function(_0x29245e){const _0x846bee=_0x3665ce;_0x29245e&&this[_0x846bee(0x158)](_0x29245e);var _0x1e8b72=this[_0x846bee(0x1e8)]();return _0x1e8b72;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x34914e(_0x309cb0){const _0x1bcd9d=_0x136c;return typeof _0x309cb0==_0x1bcd9d(0x384)?_0x321dca:_0x1590d4;}return function(_0x4a8f49){return{'encrypt':function(_0x17312b,_0x40c878,_0x50c84b){return _0x34914e(_0x40c878)['encrypt'](_0x4a8f49,_0x17312b,_0x40c878,_0x50c84b);},'decrypt':function(_0x355e33,_0x4f3f27,_0x112904){const _0x37c72d=_0x136c;return _0x34914e(_0x4f3f27)[_0x37c72d(0x2fe)](_0x4a8f49,_0x355e33,_0x4f3f27,_0x112904);}};};}())});_0x43517b[_0x3665ce(0x16a)]=_0x50f1f1['extend']({'_doFinalize':function(){const _0x511de8=_0x3665ce;var _0x17f938=this[_0x511de8(0x38a)](!0x0);return _0x17f938;},'blockSize':0x1});var _0x48aca5=_0x472028[_0x3665ce(0x301)]={},_0x4263ae=_0x43517b[_0x3665ce(0x354)]=_0x3f99d3['extend']({'createEncryptor':function(_0x4b6309,_0x1a80a5){const _0xf98439=_0x3665ce;return this['Encryptor'][_0xf98439(0x373)](_0x4b6309,_0x1a80a5);},'createDecryptor':function(_0x2dffc8,_0x3be7ee){const _0x1ddb26=_0x3665ce;return this[_0x1ddb26(0x3e1)][_0x1ddb26(0x373)](_0x2dffc8,_0x3be7ee);},'init':function(_0x11dfa7,_0x7ed1fc){const _0x46b55a=_0x3665ce;this[_0x46b55a(0x3ed)]=_0x11dfa7,this[_0x46b55a(0x3fe)]=_0x7ed1fc;}}),_0x5e0b56=_0x48aca5[_0x3665ce(0x3eb)]=(function(){const _0x28f937=_0x3665ce;var _0x4e23a8=_0x4263ae['extend']();_0x4e23a8[_0x28f937(0x1b6)]=_0x4e23a8[_0x28f937(0x327)]({'processBlock':function(_0x558309,_0x363626){const _0x3fff19=_0x28f937;var _0xdc6c5=this['_cipher'],_0x2d16aa=_0xdc6c5['blockSize'];_0x2cfad0[_0x3fff19(0x3b7)](this,_0x558309,_0x363626,_0x2d16aa),_0xdc6c5['encryptBlock'](_0x558309,_0x363626),this['_prevBlock']=_0x558309[_0x3fff19(0x3cb)](_0x363626,_0x363626+_0x2d16aa);}}),_0x4e23a8[_0x28f937(0x3e1)]=_0x4e23a8[_0x28f937(0x327)]({'processBlock':function(_0x2f6e2f,_0x4d0191){const _0x1cc660=_0x28f937;var _0x138d20=this[_0x1cc660(0x3ed)],_0x453f3e=_0x138d20[_0x1cc660(0x44d)],_0x4632ec=_0x2f6e2f[_0x1cc660(0x3cb)](_0x4d0191,_0x4d0191+_0x453f3e);_0x138d20['decryptBlock'](_0x2f6e2f,_0x4d0191),_0x2cfad0[_0x1cc660(0x3b7)](this,_0x2f6e2f,_0x4d0191,_0x453f3e),this['_prevBlock']=_0x4632ec;}});function _0x2cfad0(_0x4b1515,_0x1d8d01,_0x408973){const _0x9e9afb=_0x28f937;var _0x3b12f5,_0x462881=this[_0x9e9afb(0x3fe)];_0x462881?(_0x3b12f5=_0x462881,this['_iv']=_0x571ab8):_0x3b12f5=this['_prevBlock'];for(var _0x367f9d=0x0;_0x367f9d<_0x408973;_0x367f9d++)_0x4b1515[_0x1d8d01+_0x367f9d]^=_0x3b12f5[_0x367f9d];}return _0x4e23a8;}()),_0xd83589=_0x472028[_0x3665ce(0x29d)]={},_0x42a2f1=_0xd83589[_0x3665ce(0x481)]={'pad':function(_0x5256f5,_0x1984e3){const _0x5360dc=_0x3665ce;for(var _0x700bbd=_0x1984e3*0x4,_0x1ae98d=_0x700bbd-_0x5256f5[_0x5360dc(0x502)]%_0x700bbd,_0xfa28c7=_0x1ae98d<<0x18|_0x1ae98d<<0x10|_0x1ae98d<<0x8|_0x1ae98d,_0x29fda5=[],_0x37ed54=0x0;_0x37ed54<_0x1ae98d;_0x37ed54+=0x4)_0x29fda5[_0x5360dc(0x270)](_0xfa28c7);var _0x390563=_0x20a2a6[_0x5360dc(0x373)](_0x29fda5,_0x1ae98d);_0x5256f5['concat'](_0x390563);},'unpad':function(_0x4fa29d){const _0xb435f1=_0x3665ce;var _0x529c9c=_0x4fa29d[_0xb435f1(0x233)][_0x4fa29d[_0xb435f1(0x502)]-0x1>>>0x2]&0xff;_0x4fa29d[_0xb435f1(0x502)]-=_0x529c9c;}};_0x43517b[_0x3665ce(0x42a)]=_0x50f1f1[_0x3665ce(0x327)]({'cfg':_0x50f1f1[_0x3665ce(0x25b)]['extend']({'mode':_0x5e0b56,'padding':_0x42a2f1}),'reset':function(){const _0x461211=_0x3665ce;var _0x2614df;_0x50f1f1['reset'][_0x461211(0x3b7)](this);var _0x2845c9=this['cfg'],_0x1731de=_0x2845c9['iv'],_0x40075a=_0x2845c9[_0x461211(0x301)];this['_xformMode']==this[_0x461211(0x3af)]?_0x2614df=_0x40075a[_0x461211(0x3f6)]:(_0x2614df=_0x40075a[_0x461211(0x23a)],this[_0x461211(0x200)]=0x1),this['_mode']&&this[_0x461211(0x511)]['__creator']==_0x2614df?this[_0x461211(0x511)][_0x461211(0x10e)](this,_0x1731de&&_0x1731de[_0x461211(0x233)]):(this[_0x461211(0x511)]=_0x2614df[_0x461211(0x3b7)](_0x40075a,this,_0x1731de&&_0x1731de[_0x461211(0x233)]),this[_0x461211(0x511)][_0x461211(0x2b1)]=_0x2614df);},'_doProcessBlock':function(_0x1659b5,_0x45e2de){const _0x14eda9=_0x3665ce;this[_0x14eda9(0x511)][_0x14eda9(0x15d)](_0x1659b5,_0x45e2de);},'_doFinalize':function(){const _0x1c3304=_0x3665ce;var _0xcf309b,_0xc2e041=this[_0x1c3304(0x25b)][_0x1c3304(0x50b)];return this['_xformMode']==this[_0x1c3304(0x3af)]?(_0xc2e041[_0x1c3304(0x29d)](this[_0x1c3304(0x277)],this[_0x1c3304(0x44d)]),_0xcf309b=this['_process'](!0x0)):(_0xcf309b=this['_process'](!0x0),_0xc2e041[_0x1c3304(0x3e2)](_0xcf309b)),_0xcf309b;},'blockSize':0x80/0x20});var _0x42f1ed=_0x43517b[_0x3665ce(0x15b)]=_0x3f99d3[_0x3665ce(0x327)]({'init':function(_0x1f586c){const _0x2ae3ea=_0x3665ce;this[_0x2ae3ea(0x185)](_0x1f586c);},'toString':function(_0x17ce46){const _0x283336=_0x3665ce;return(_0x17ce46||this[_0x283336(0x424)])[_0x283336(0x387)](this);}}),_0x10004a=_0x472028[_0x3665ce(0x2e4)]={},_0x306ca6=_0x10004a[_0x3665ce(0x48d)]={'stringify':function(_0x489d25){const _0x52fcc9=_0x3665ce;var _0x2dd79c,_0x359fd8=_0x489d25['ciphertext'],_0x643fe0=_0x489d25[_0x52fcc9(0x412)];return _0x643fe0?_0x2dd79c=_0x20a2a6[_0x52fcc9(0x373)]([0x53616c74,0x65645f5f])['concat'](_0x643fe0)[_0x52fcc9(0x3b4)](_0x359fd8):_0x2dd79c=_0x359fd8,_0x2dd79c[_0x52fcc9(0x492)](_0x3ac6ef);},'parse':function(_0x5d1841){const _0x367139=_0x3665ce;var _0x2ceebd,_0x1b8b31=_0x3ac6ef[_0x367139(0x2e9)](_0x5d1841),_0x24606c=_0x1b8b31[_0x367139(0x233)];return _0x24606c[0x0]==0x53616c74&&_0x24606c[0x1]==0x65645f5f&&(_0x2ceebd=_0x20a2a6['create'](_0x24606c[_0x367139(0x3cb)](0x2,0x4)),_0x24606c[_0x367139(0x1a0)](0x0,0x4),_0x1b8b31[_0x367139(0x502)]-=0x10),_0x42f1ed[_0x367139(0x373)]({'ciphertext':_0x1b8b31,'salt':_0x2ceebd});}},_0x1590d4=_0x43517b[_0x3665ce(0x25c)]=_0x3f99d3[_0x3665ce(0x327)]({'cfg':_0x3f99d3['extend']({'format':_0x306ca6}),'encrypt':function(_0x38df95,_0x10e1c0,_0xb4d96e,_0x55c780){const _0x135adc=_0x3665ce;_0x55c780=this[_0x135adc(0x25b)][_0x135adc(0x327)](_0x55c780);var _0xb6b03f=_0x38df95[_0x135adc(0x3f6)](_0xb4d96e,_0x55c780),_0x1362c8=_0xb6b03f[_0x135adc(0x22d)](_0x10e1c0),_0x4e6079=_0xb6b03f[_0x135adc(0x25b)];return _0x42f1ed['create']({'ciphertext':_0x1362c8,'key':_0xb4d96e,'iv':_0x4e6079['iv'],'algorithm':_0x38df95,'mode':_0x4e6079[_0x135adc(0x301)],'padding':_0x4e6079[_0x135adc(0x50b)],'blockSize':_0x38df95[_0x135adc(0x44d)],'formatter':_0x55c780[_0x135adc(0x2e4)]});},'decrypt':function(_0xcb4faf,_0xd77a4e,_0x16bdbc,_0x119c19){const _0x278da1=_0x3665ce;_0x119c19=this[_0x278da1(0x25b)]['extend'](_0x119c19),_0xd77a4e=this[_0x278da1(0x11f)](_0xd77a4e,_0x119c19[_0x278da1(0x2e4)]);var _0x30d528=_0xcb4faf['createDecryptor'](_0x16bdbc,_0x119c19)[_0x278da1(0x22d)](_0xd77a4e[_0x278da1(0x475)]);return _0x30d528;},'_parse':function(_0x5bc52e,_0x14f5f8){const _0x4e6766=_0x3665ce;return typeof _0x5bc52e==_0x4e6766(0x384)?_0x14f5f8[_0x4e6766(0x2e9)](_0x5bc52e,this):_0x5bc52e;}}),_0x3b0039=_0x472028[_0x3665ce(0x332)]={},_0x2a3b34=_0x3b0039[_0x3665ce(0x48d)]={'execute':function(_0x1d2541,_0x4f5a36,_0x321ade,_0x1f73b4,_0x273f2b){const _0x4f5ca7=_0x3665ce;if(_0x1f73b4||(_0x1f73b4=_0x20a2a6[_0x4f5ca7(0x226)](0x40/0x8)),_0x273f2b)var _0x3c3c8c=_0x368a0b[_0x4f5ca7(0x373)]({'keySize':_0x4f5a36+_0x321ade,'hasher':_0x273f2b})[_0x4f5ca7(0x336)](_0x1d2541,_0x1f73b4);else var _0x3c3c8c=_0x368a0b[_0x4f5ca7(0x373)]({'keySize':_0x4f5a36+_0x321ade})[_0x4f5ca7(0x336)](_0x1d2541,_0x1f73b4);var _0x585cc4=_0x20a2a6['create'](_0x3c3c8c[_0x4f5ca7(0x233)][_0x4f5ca7(0x3cb)](_0x4f5a36),_0x321ade*0x4);return _0x3c3c8c[_0x4f5ca7(0x502)]=_0x4f5a36*0x4,_0x42f1ed[_0x4f5ca7(0x373)]({'key':_0x3c3c8c,'iv':_0x585cc4,'salt':_0x1f73b4});}},_0x321dca=_0x43517b[_0x3665ce(0x383)]=_0x1590d4['extend']({'cfg':_0x1590d4[_0x3665ce(0x25b)]['extend']({'kdf':_0x2a3b34}),'encrypt':function(_0x1ed991,_0x5c71ac,_0x37867a,_0x216b24){const _0x6f0ecf=_0x3665ce;_0x216b24=this['cfg'][_0x6f0ecf(0x327)](_0x216b24);var _0x50a3ac=_0x216b24['kdf'][_0x6f0ecf(0x43e)](_0x37867a,_0x1ed991['keySize'],_0x1ed991[_0x6f0ecf(0x484)],_0x216b24[_0x6f0ecf(0x412)],_0x216b24[_0x6f0ecf(0x31d)]);_0x216b24['iv']=_0x50a3ac['iv'];var _0x4eb596=_0x1590d4[_0x6f0ecf(0x13b)][_0x6f0ecf(0x3b7)](this,_0x1ed991,_0x5c71ac,_0x50a3ac[_0x6f0ecf(0x335)],_0x216b24);return _0x4eb596[_0x6f0ecf(0x185)](_0x50a3ac),_0x4eb596;},'decrypt':function(_0x1e2c78,_0x3e45d6,_0x1b626d,_0x561720){const _0x30a269=_0x3665ce;_0x561720=this[_0x30a269(0x25b)]['extend'](_0x561720),_0x3e45d6=this['_parse'](_0x3e45d6,_0x561720[_0x30a269(0x2e4)]);var _0x2cfe87=_0x561720[_0x30a269(0x332)][_0x30a269(0x43e)](_0x1b626d,_0x1e2c78[_0x30a269(0x11e)],_0x1e2c78['ivSize'],_0x3e45d6[_0x30a269(0x412)],_0x561720['hasher']);_0x561720['iv']=_0x2cfe87['iv'];var _0x10afa1=_0x1590d4['decrypt'][_0x30a269(0x3b7)](this,_0x1e2c78,_0x3e45d6,_0x2cfe87['key'],_0x561720);return _0x10afa1;}});}();}));}(qt)),qt[_0x4fee42(0x4bf)];}(function(_0xf9f339,_0x40d57b){(function(_0x1dd24f,_0x1e402a,_0x4c87bb){_0xf9f339['exports']=_0x1e402a(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x1c60f4){const _0x843a1e=_0x136c;return(function(){const _0x1a4c78=_0x136c;var _0x4bd960=_0x1c60f4,_0x5e0602=_0x4bd960['lib'],_0x266248=_0x5e0602[_0x1a4c78(0x42a)],_0x4fb5f0=_0x4bd960[_0x1a4c78(0x1b2)],_0x416af0=[],_0x1c0438=[],_0x1de7c1=[],_0x30a85b=[],_0x3df97a=[],_0x7e8d60=[],_0x24482f=[],_0x5477a4=[],_0x5e85cd=[],_0x107227=[];(function(){for(var _0x15cc08=[],_0x2afa19=0x0;_0x2afa19<0x100;_0x2afa19++)_0x2afa19<0x80?_0x15cc08[_0x2afa19]=_0x2afa19<<0x1:_0x15cc08[_0x2afa19]=_0x2afa19<<0x1^0x11b;for(var _0x363248=0x0,_0x3a1a41=0x0,_0x2afa19=0x0;_0x2afa19<0x100;_0x2afa19++){var _0x16dc66=_0x3a1a41^_0x3a1a41<<0x1^_0x3a1a41<<0x2^_0x3a1a41<<0x3^_0x3a1a41<<0x4;_0x16dc66=_0x16dc66>>>0x8^_0x16dc66&0xff^0x63,_0x416af0[_0x363248]=_0x16dc66,_0x1c0438[_0x16dc66]=_0x363248;var _0x4cb151=_0x15cc08[_0x363248],_0x10403f=_0x15cc08[_0x4cb151],_0x2f2aa2=_0x15cc08[_0x10403f],_0x85c5c4=_0x15cc08[_0x16dc66]*0x101^_0x16dc66*0x1010100;_0x1de7c1[_0x363248]=_0x85c5c4<<0x18|_0x85c5c4>>>0x8,_0x30a85b[_0x363248]=_0x85c5c4<<0x10|_0x85c5c4>>>0x10,_0x3df97a[_0x363248]=_0x85c5c4<<0x8|_0x85c5c4>>>0x18,_0x7e8d60[_0x363248]=_0x85c5c4;var _0x85c5c4=_0x2f2aa2*0x1010101^_0x10403f*0x10001^_0x4cb151*0x101^_0x363248*0x1010100;_0x24482f[_0x16dc66]=_0x85c5c4<<0x18|_0x85c5c4>>>0x8,_0x5477a4[_0x16dc66]=_0x85c5c4<<0x10|_0x85c5c4>>>0x10,_0x5e85cd[_0x16dc66]=_0x85c5c4<<0x8|_0x85c5c4>>>0x18,_0x107227[_0x16dc66]=_0x85c5c4,_0x363248?(_0x363248=_0x4cb151^_0x15cc08[_0x15cc08[_0x15cc08[_0x2f2aa2^_0x4cb151]]],_0x3a1a41^=_0x15cc08[_0x15cc08[_0x3a1a41]]):_0x363248=_0x3a1a41=0x1;}}());var _0x2584eb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x28766e=_0x4fb5f0[_0x1a4c78(0x4a3)]=_0x266248[_0x1a4c78(0x327)]({'_doReset':function(){const _0x31024f=_0x1a4c78;var _0x48a309;if(!(this[_0x31024f(0x3d5)]&&this[_0x31024f(0x28b)]===this[_0x31024f(0x124)])){for(var _0x193d6a=this[_0x31024f(0x28b)]=this[_0x31024f(0x124)],_0xdd8b9=_0x193d6a[_0x31024f(0x233)],_0x5d16b3=_0x193d6a[_0x31024f(0x502)]/0x4,_0x3345f0=this[_0x31024f(0x3d5)]=_0x5d16b3+0x6,_0x18ca4c=(_0x3345f0+0x1)*0x4,_0x409ab9=this[_0x31024f(0x2d4)]=[],_0x9b2d35=0x0;_0x9b2d35<_0x18ca4c;_0x9b2d35++)_0x9b2d35<_0x5d16b3?_0x409ab9[_0x9b2d35]=_0xdd8b9[_0x9b2d35]:(_0x48a309=_0x409ab9[_0x9b2d35-0x1],_0x9b2d35%_0x5d16b3?_0x5d16b3>0x6&&_0x9b2d35%_0x5d16b3==0x4&&(_0x48a309=_0x416af0[_0x48a309>>>0x18]<<0x18|_0x416af0[_0x48a309>>>0x10&0xff]<<0x10|_0x416af0[_0x48a309>>>0x8&0xff]<<0x8|_0x416af0[_0x48a309&0xff]):(_0x48a309=_0x48a309<<0x8|_0x48a309>>>0x18,_0x48a309=_0x416af0[_0x48a309>>>0x18]<<0x18|_0x416af0[_0x48a309>>>0x10&0xff]<<0x10|_0x416af0[_0x48a309>>>0x8&0xff]<<0x8|_0x416af0[_0x48a309&0xff],_0x48a309^=_0x2584eb[_0x9b2d35/_0x5d16b3|0x0]<<0x18),_0x409ab9[_0x9b2d35]=_0x409ab9[_0x9b2d35-_0x5d16b3]^_0x48a309);for(var _0x49b304=this[_0x31024f(0x2c8)]=[],_0x2820c8=0x0;_0x2820c8<_0x18ca4c;_0x2820c8++){var _0x9b2d35=_0x18ca4c-_0x2820c8;if(_0x2820c8%0x4)var _0x48a309=_0x409ab9[_0x9b2d35];else var _0x48a309=_0x409ab9[_0x9b2d35-0x4];_0x2820c8<0x4||_0x9b2d35<=0x4?_0x49b304[_0x2820c8]=_0x48a309:_0x49b304[_0x2820c8]=_0x24482f[_0x416af0[_0x48a309>>>0x18]]^_0x5477a4[_0x416af0[_0x48a309>>>0x10&0xff]]^_0x5e85cd[_0x416af0[_0x48a309>>>0x8&0xff]]^_0x107227[_0x416af0[_0x48a309&0xff]];}}},'encryptBlock':function(_0x4c09f2,_0x225737){const _0x426a6f=_0x1a4c78;this[_0x426a6f(0x48f)](_0x4c09f2,_0x225737,this[_0x426a6f(0x2d4)],_0x1de7c1,_0x30a85b,_0x3df97a,_0x7e8d60,_0x416af0);},'decryptBlock':function(_0x43c5bb,_0x34ad43){const _0x37665b=_0x1a4c78;var _0x41043b=_0x43c5bb[_0x34ad43+0x1];_0x43c5bb[_0x34ad43+0x1]=_0x43c5bb[_0x34ad43+0x3],_0x43c5bb[_0x34ad43+0x3]=_0x41043b,this[_0x37665b(0x48f)](_0x43c5bb,_0x34ad43,this['_invKeySchedule'],_0x24482f,_0x5477a4,_0x5e85cd,_0x107227,_0x1c0438);var _0x41043b=_0x43c5bb[_0x34ad43+0x1];_0x43c5bb[_0x34ad43+0x1]=_0x43c5bb[_0x34ad43+0x3],_0x43c5bb[_0x34ad43+0x3]=_0x41043b;},'_doCryptBlock':function(_0x23dd48,_0x5a0f8d,_0x177543,_0x2c9d64,_0x4e6f16,_0x7a6207,_0x137b2b,_0x5d1b58){const _0x3ff5cd=_0x1a4c78;for(var _0x4dbc4a=this[_0x3ff5cd(0x3d5)],_0x14fb93=_0x23dd48[_0x5a0f8d]^_0x177543[0x0],_0x4fb1ed=_0x23dd48[_0x5a0f8d+0x1]^_0x177543[0x1],_0x2eac14=_0x23dd48[_0x5a0f8d+0x2]^_0x177543[0x2],_0x43bb30=_0x23dd48[_0x5a0f8d+0x3]^_0x177543[0x3],_0x1e65eb=0x4,_0x20b728=0x1;_0x20b728<_0x4dbc4a;_0x20b728++){var _0x398382=_0x2c9d64[_0x14fb93>>>0x18]^_0x4e6f16[_0x4fb1ed>>>0x10&0xff]^_0x7a6207[_0x2eac14>>>0x8&0xff]^_0x137b2b[_0x43bb30&0xff]^_0x177543[_0x1e65eb++],_0x4853fa=_0x2c9d64[_0x4fb1ed>>>0x18]^_0x4e6f16[_0x2eac14>>>0x10&0xff]^_0x7a6207[_0x43bb30>>>0x8&0xff]^_0x137b2b[_0x14fb93&0xff]^_0x177543[_0x1e65eb++],_0x58b188=_0x2c9d64[_0x2eac14>>>0x18]^_0x4e6f16[_0x43bb30>>>0x10&0xff]^_0x7a6207[_0x14fb93>>>0x8&0xff]^_0x137b2b[_0x4fb1ed&0xff]^_0x177543[_0x1e65eb++],_0x63ff55=_0x2c9d64[_0x43bb30>>>0x18]^_0x4e6f16[_0x14fb93>>>0x10&0xff]^_0x7a6207[_0x4fb1ed>>>0x8&0xff]^_0x137b2b[_0x2eac14&0xff]^_0x177543[_0x1e65eb++];_0x14fb93=_0x398382,_0x4fb1ed=_0x4853fa,_0x2eac14=_0x58b188,_0x43bb30=_0x63ff55;}var _0x398382=(_0x5d1b58[_0x14fb93>>>0x18]<<0x18|_0x5d1b58[_0x4fb1ed>>>0x10&0xff]<<0x10|_0x5d1b58[_0x2eac14>>>0x8&0xff]<<0x8|_0x5d1b58[_0x43bb30&0xff])^_0x177543[_0x1e65eb++],_0x4853fa=(_0x5d1b58[_0x4fb1ed>>>0x18]<<0x18|_0x5d1b58[_0x2eac14>>>0x10&0xff]<<0x10|_0x5d1b58[_0x43bb30>>>0x8&0xff]<<0x8|_0x5d1b58[_0x14fb93&0xff])^_0x177543[_0x1e65eb++],_0x58b188=(_0x5d1b58[_0x2eac14>>>0x18]<<0x18|_0x5d1b58[_0x43bb30>>>0x10&0xff]<<0x10|_0x5d1b58[_0x14fb93>>>0x8&0xff]<<0x8|_0x5d1b58[_0x4fb1ed&0xff])^_0x177543[_0x1e65eb++],_0x63ff55=(_0x5d1b58[_0x43bb30>>>0x18]<<0x18|_0x5d1b58[_0x14fb93>>>0x10&0xff]<<0x10|_0x5d1b58[_0x4fb1ed>>>0x8&0xff]<<0x8|_0x5d1b58[_0x2eac14&0xff])^_0x177543[_0x1e65eb++];_0x23dd48[_0x5a0f8d]=_0x398382,_0x23dd48[_0x5a0f8d+0x1]=_0x4853fa,_0x23dd48[_0x5a0f8d+0x2]=_0x58b188,_0x23dd48[_0x5a0f8d+0x3]=_0x63ff55;},'keySize':0x100/0x20});_0x4bd960[_0x1a4c78(0x4a3)]=_0x266248[_0x1a4c78(0x2eb)](_0x28766e);}()),_0x1c60f4[_0x843a1e(0x4a3)];}));}(ki));var Ya=ki[_0xf37888(0x4bf)];function _0x136c(_0x425692,_0xa8815c){const _0xc3a6a0=_0xc3a6();return _0x136c=function(_0x136c71,_0x35ce06){_0x136c71=_0x136c71-0x10a;let _0x32f4b4=_0xc3a6a0[_0x136c71];return _0x32f4b4;},_0x136c(_0x425692,_0xa8815c);}const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x4b43c5,_0x2cdfa0){(function(_0x4ee7bf,_0x325acc){const _0x5bc76d=_0x136c;_0x4b43c5[_0x5bc76d(0x4bf)]=_0x325acc(ue());}(Z,function(_0x20a2f3){const _0x7c69cc=_0x136c;return _0x20a2f3[_0x7c69cc(0x343)][_0x7c69cc(0x4dc)];}));}(Gi));var qa=Gi[_0xf37888(0x4bf)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x163cff,_0x3670d9){(function(_0x5135aa,_0x38693c){const _0x257a19=_0x136c;_0x163cff[_0x257a19(0x4bf)]=_0x38693c(ue());}(Z,function(_0x4ee502){const _0xf01531=_0x136c;return(function(){const _0x4c34ba=_0x136c;if(typeof ArrayBuffer==_0x4c34ba(0x1bc)){var _0x15bd98=_0x4ee502,_0x334172=_0x15bd98[_0x4c34ba(0x1f5)],_0x3f47e0=_0x334172[_0x4c34ba(0x290)],_0x27e5de=_0x3f47e0[_0x4c34ba(0x10e)],_0x549f36=_0x3f47e0[_0x4c34ba(0x10e)]=function(_0x39d551){const _0x496561=_0x4c34ba;if(_0x39d551 instanceof ArrayBuffer&&(_0x39d551=new Uint8Array(_0x39d551)),(_0x39d551 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x39d551 instanceof Uint8ClampedArray||_0x39d551 instanceof Int16Array||_0x39d551 instanceof Uint16Array||_0x39d551 instanceof Int32Array||_0x39d551 instanceof Uint32Array||_0x39d551 instanceof Float32Array||_0x39d551 instanceof Float64Array)&&(_0x39d551=new Uint8Array(_0x39d551[_0x496561(0x34e)],_0x39d551[_0x496561(0x41f)],_0x39d551[_0x496561(0x353)])),_0x39d551 instanceof Uint8Array){for(var _0x2a7ba0=_0x39d551[_0x496561(0x353)],_0x1541ad=[],_0x23333f=0x0;_0x23333f<_0x2a7ba0;_0x23333f++)_0x1541ad[_0x23333f>>>0x2]|=_0x39d551[_0x23333f]<<0x18-_0x23333f%0x4*0x8;_0x27e5de[_0x496561(0x3b7)](this,_0x1541ad,_0x2a7ba0);}else _0x27e5de['apply'](this,arguments);};_0x549f36[_0x4c34ba(0x16d)]=_0x3f47e0;}}()),_0x4ee502[_0xf01531(0x1f5)][_0xf01531(0x290)];}));}(Yi));var Ja=Yi[_0xf37888(0x4bf)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x2b7164,_0x59dee5){(function(_0x6ce975,_0x5657e2,_0x216157){const _0x45239a=_0x136c;_0x2b7164[_0x45239a(0x4bf)]=_0x5657e2(ue(),Vi());}(Z,function(_0x267848){const _0x2437a8=_0x136c;return _0x267848['pad'][_0x2437a8(0x495)]={'pad':function(){},'unpad':function(){}},_0x267848['pad'][_0x2437a8(0x495)];}));}(Ki));var Qa=Ki[_0xf37888(0x4bf)];const ec=at(Qa);function tc(_0x5c866,_0x508711){const _0x34ac20=_0xf37888,_0x193ba5=_0x508711-_0x5c866[_0x34ac20(0x42c)]%_0x508711,_0x470001=String[_0x34ac20(0x130)](_0x193ba5)[_0x34ac20(0x427)](_0x193ba5);return _0x5c866+_0x470001;}function sc(_0x3a941c,_0x4ca613){const _0x14aaf3=_0xf37888,_0x585d11=Za['random'](0x10),_0x18362e=tc(_0x3a941c,0x10),_0x592d3b=Ka[_0x14aaf3(0x13b)](Xa['parse'](_0x18362e),ii[_0x14aaf3(0x2e9)](_0x4ca613),{'iv':_0x585d11,'padding':ec});return _0x585d11[_0x14aaf3(0x3b4)](_0x592d3b[_0x14aaf3(0x475)])[_0x14aaf3(0x492)](ii);}function ic(){const _0x967598=_0xf37888,_0x299f87=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x299f87){const _0x439343={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x967598(0x2a9)]};return sc(JSON['stringify'](_0x439343),_0x299f87);}}var nc=Object[_0xf37888(0x320)],rc=Object['getOwnPropertyDescriptor'],oc=(_0x2571fc,_0x24138d,_0x16e217,_0x553d19)=>{const _0x5ddc56=_0xf37888;for(var _0x3cdf4b=_0x553d19>0x1?void 0x0:_0x553d19?rc(_0x24138d,_0x16e217):_0x24138d,_0x14f114=_0x2571fc[_0x5ddc56(0x42c)]-0x1,_0x1dd066;_0x14f114>=0x0;_0x14f114--)(_0x1dd066=_0x2571fc[_0x14f114])&&(_0x3cdf4b=(_0x553d19?_0x1dd066(_0x24138d,_0x16e217,_0x3cdf4b):_0x1dd066(_0x3cdf4b))||_0x3cdf4b);return _0x553d19&&_0x3cdf4b&&nc(_0x24138d,_0x16e217,_0x3cdf4b),_0x3cdf4b;},ac=(_0x12c37e,_0x21882b)=>(_0x12c83f,_0x2cf02f)=>_0x21882b(_0x12c83f,_0x2cf02f,_0x12c37e);let bt=class{constructor(_0x130f7e){const _0x5f2ec1=_0xf37888;this[_0x5f2ec1(0x169)]=_0x130f7e,this[_0x5f2ec1(0x14b)]();}[_0xf37888(0x14b)](){const _0x302a3e=_0xf37888;this[_0x302a3e(0x169)][_0x302a3e(0x501)]({'interceptor':(_0x46fd7e,_0x337bed)=>{const _0x59aeda=_0x302a3e,_0x5edc17=_0x46fd7e[_0x59aeda(0x3d1)],_0x21d5fa=ic();return _0x21d5fa&&_0x5edc17[_0x59aeda(0x1ec)](_0x59aeda(0x21a),_0x21d5fa),_0x337bed(_0x46fd7e);}});}};bt=oc([ac(0x0,_0x39c8b8(_0xf3436a))],bt);var cc=Object[_0xf37888(0x320)],hc=Object['getOwnPropertyDescriptor'],lc=(_0x1a3a0d,_0x2a3459,_0x27f675,_0x276b52)=>{const _0x1bafe8=_0xf37888;for(var _0x1a0bc6=_0x276b52>0x1?void 0x0:_0x276b52?hc(_0x2a3459,_0x27f675):_0x2a3459,_0x23f158=_0x1a3a0d[_0x1bafe8(0x42c)]-0x1,_0x58c8b8;_0x23f158>=0x0;_0x23f158--)(_0x58c8b8=_0x1a3a0d[_0x23f158])&&(_0x1a0bc6=(_0x276b52?_0x58c8b8(_0x2a3459,_0x27f675,_0x1a0bc6):_0x58c8b8(_0x1a0bc6))||_0x1a0bc6);return _0x276b52&&_0x1a0bc6&&cc(_0x2a3459,_0x27f675,_0x1a0bc6),_0x1a0bc6;},Xt=(_0x4ccda3,_0x426380)=>(_0x305c1c,_0x36b2d8)=>_0x426380(_0x305c1c,_0x36b2d8,_0x4ccda3);const _c=[_0xf37888(0x473),_0xf37888(0x4b6),'image/jpg',_0xf37888(0x4ee),_0xf37888(0x4a7)],uc=0x5*0x400*0x400,dc=_0xf37888(0x259),fc=_0xf37888(0x2d1),vc=_0xf37888(0x4f9),mc=_0xf37888(0x1db);let hs=class{constructor(_0x18ec8f,_0x21d7ad,_0x3e739a){const _0x38134=_0xf37888;g(this,_0x38134(0x297),0x0),g(this,_0x38134(0x38b),new _0x382230()),g(this,_0x38134(0x10f),this['_change$']),g(this,_0x38134(0x112),new Map()),(this[_0x38134(0x169)]=_0x18ec8f,this[_0x38134(0x1f2)]=_0x21d7ad,this[_0x38134(0x1c2)]=_0x3e739a);}['setWaitCount'](_0x146a64){const _0x2b4a26=_0xf37888;this[_0x2b4a26(0x297)]=_0x146a64,this[_0x2b4a26(0x38b)][_0x2b4a26(0x2d2)](_0x146a64);}[_0xf37888(0x13e)](_0x232686,_0xb99353){const _0x1b2978=_0xf37888;if(_0xb99353===_0x4b9ffc[_0x1b2978(0x4d7)]){const _0x2de8c1=new Image();return _0x2de8c1[_0x1b2978(0x281)]=_0x232686,_0x2de8c1;}return this[_0x1b2978(0x112)][_0x1b2978(0x166)](_0x232686);}[_0xf37888(0x24c)](_0x1500c7,_0x236f1c,_0x592c91){const _0xfa1ee6=_0xf37888;_0x236f1c===_0x4b9ffc[_0xfa1ee6(0x4d7)]||_0x592c91==null||this['_imageSourceCache'][_0xfa1ee6(0x1ec)](_0x1500c7,_0x592c91);}async[_0xf37888(0x1a6)](_0x210a36){const _0x6b1e9c=_0xf37888;try{const _0x35201b=this[_0x6b1e9c(0x33b)](this[_0x6b1e9c(0x1c4)](),''+_0x210a36),_0x248aae=(await this[_0x6b1e9c(0x169)][_0x6b1e9c(0x166)](_0x35201b))[_0x6b1e9c(0x251)];if(_0x248aae['error']&&_0x248aae[_0x6b1e9c(0x329)]['code']===Ri['OK']){const _0x57011d=new URL(_0x248aae[_0x6b1e9c(0x35d)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x57011d);}return Promise['reject'](_0x248aae[_0x6b1e9c(0x329)]);}catch(_0x1ad26a){return Promise[_0x6b1e9c(0x3b1)](_0x1ad26a);}}async[_0xf37888(0x221)](_0x2cdd67){const _0x5a3596=_0xf37888;let _0x499ba8='';if(!_c[_0x5a3596(0x258)](_0x2cdd67['type']))return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x4ab)]));if(_0x2cdd67[_0x5a3596(0x189)]>uc)return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x25e)]));try{const _0x53d89f=new FormData();_0x53d89f[_0x5a3596(0x249)](_0x5a3596(0x11a),_0x2cdd67);const _0x2a1caa=this[_0x5a3596(0x1c2)][_0x5a3596(0x2f2)](),_0x191041=_0x2a1caa==null?void 0x0:_0x2a1caa[_0x5a3596(0x1a4)]();if(!_0x191041)throw new Error(_0x5a3596(0x168));const _0x53d4be=this['_getUploadFileURL']()+'?size='+_0x2cdd67[_0x5a3596(0x189)][_0x5a3596(0x492)]()+_0x5a3596(0x4be)+yi[_0x5a3596(0x49e)]+_0x5a3596(0x154)+encodeURIComponent(_0x191041),_0x114d18=await(await fetch(_0x53d4be,{'method':_0x5a3596(0x2f5),'body':_0x53d89f}))[_0x5a3596(0x1ad)]();if(typeof _0x114d18['FileId']!=_0x5a3596(0x384))return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x460)]));_0x499ba8=_0x114d18['FileId'];}catch{return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x460)]));}return new Promise((_0x4ae557,_0x4242e1)=>{const _0xc3ba90=_0x5a3596,_0x1e6754=new FileReader();_0x1e6754[_0xc3ba90(0x139)](_0x2cdd67),_0x1e6754[_0xc3ba90(0x50a)]=_0x4c4b25=>{const _0x286a75=_0xc3ba90;var _0x10e591;const _0x32d4fd=(_0x10e591=_0x4c4b25[_0x286a75(0x16b)])==null?void 0x0:_0x10e591[_0x286a75(0x2af)];if(_0x32d4fd==null){this[_0x286a75(0x4ad)](),_0x4242e1(new Error(_0x3da702[_0x286a75(0x460)]));return;}const _0x1b1670=_0x5d7755[_0x286a75(0x44e)](0x6);_0x4ae557({'imageId':_0x1b1670,'imageSourceType':_0x4b9ffc[_0x286a75(0x248)],'source':_0x499ba8,'base64Cache':_0x32d4fd,'status':_0x3da702[_0x286a75(0x235)]}),this[_0x286a75(0x4ad)]();};});}[_0xf37888(0x113)](){const _0x3206a1=_0xf37888;var _0x2bb280,_0xff83fa;const _0x54a511=this[_0x3206a1(0x1f2)][_0x3206a1(0x37a)](dc),_0x3c1282=this[_0x3206a1(0x1f2)][_0x3206a1(0x37a)](ie);return(_0xff83fa=(_0x2bb280=_0x3c1282==null?void 0x0:_0x3c1282[_0x3206a1(0x253)])!=null?_0x2bb280:_0x54a511)!=null?_0xff83fa:fc;}[_0xf37888(0x1c4)](){const _0x11e06d=_0xf37888;var _0x55dfac,_0xd9442f;const _0x116549=this[_0x11e06d(0x1f2)][_0x11e06d(0x37a)](vc),_0x3c72ca=this[_0x11e06d(0x1f2)][_0x11e06d(0x37a)](ie);return(_0xd9442f=(_0x55dfac=_0x3c72ca==null?void 0x0:_0x3c72ca['signUrlServerUrl'])!=null?_0x55dfac:_0x116549)!=null?_0xd9442f:mc;}[_0xf37888(0x203)](){const _0x494230=_0xf37888;var _0x15152b;const _0x3504c2=this[_0x494230(0x1f2)][_0x494230(0x37a)](ie);return(_0x15152b=_0x3504c2==null?void 0x0:_0x3504c2[_0x494230(0x4c8)])!=null?_0x15152b:location[_0x494230(0x482)];}[_0xf37888(0x33b)](_0x333c43,_0x1d78c0){const _0x3937da=_0xf37888;return _0x333c43[_0x3937da(0x215)](_0x3937da(0x1ab),_0x1d78c0);}[_0xf37888(0x4ad)](){const _0x297651=_0xf37888;this[_0x297651(0x297)]-=0x1,this[_0x297651(0x38b)][_0x297651(0x2d2)](this['_waitCount']);}};hs=lc([Xt(0x0,_0x39c8b8(_0xf3436a)),Xt(0x1,_0x45a6b3),Xt(0x2,_0x39c8b8(_0x6b8e83))],hs);var pc=Object[_0xf37888(0x320)],gc=Object[_0xf37888(0x26b)],Sc=(_0xcaeadb,_0x4705c4,_0x46ffd6,_0x16be63)=>{const _0x18d603=_0xf37888;for(var _0xf82764=_0x16be63>0x1?void 0x0:_0x16be63?gc(_0x4705c4,_0x46ffd6):_0x4705c4,_0x1c1eaa=_0xcaeadb[_0x18d603(0x42c)]-0x1,_0x47425b;_0x1c1eaa>=0x0;_0x1c1eaa--)(_0x47425b=_0xcaeadb[_0x1c1eaa])&&(_0xf82764=(_0x16be63?_0x47425b(_0x4705c4,_0x46ffd6,_0xf82764):_0x47425b(_0xf82764))||_0xf82764);return _0x16be63&&_0xf82764&&pc(_0x4705c4,_0x46ffd6,_0xf82764),_0xf82764;},Qe=(_0x22e6da,_0x18f13f)=>(_0x2f0002,_0x67c695)=>_0x18f13f(_0x2f0002,_0x67c695,_0x22e6da);let Tt=class extends _0x3c16d2{constructor(_0x28b54f,_0x2bbbc5,_0x31df84,_0x3bd5e2,_0x23d6ef){const _0x7c1873=_0xf37888;super(),this[_0x7c1873(0x43d)]=_0x28b54f,this[_0x7c1873(0x1c2)]=_0x2bbbc5,this[_0x7c1873(0x4b2)]=_0x31df84,this[_0x7c1873(0x299)]=_0x3bd5e2,this[_0x7c1873(0x428)]=_0x23d6ef,this['_initUnitPermissionChange'](),this[_0x7c1873(0x4cd)]();}[_0xf37888(0x4cd)](){const _0x1d9797=_0xf37888,_0x8a772d=async _0x118e62=>{const _0x308f29=_0x136c;(await this[_0x308f29(0x299)][_0x308f29(0x4f0)](_0x118e62))[_0x308f29(0x3c5)]['pipe'](_0x2d7a63(_0x5bd0f8=>_0x5bd0f8[_0x308f29(0x214)]===_0x3c3869[_0x308f29(0x131)]),_0xf05386(this['dispose$']))[_0x308f29(0x236)](_0x1071c4=>{const _0x30083a=_0x308f29,_0xbc8ca2=_0x1071c4,{reason:_0x16fea9}=_0xbc8ca2[_0x30083a(0x1cc)];this['_injector']['get'](_0xffafbc)[_0x30083a(0x228)]({'type':_0x30a0d6[_0x30083a(0x45d)],'content':this['_localeService']['t'](_0x30083a(0x2b2))+'('+_0x16fea9+')'}),this['_permissionService'][_0x30083a(0x31f)](new _0x57c2ed(_0x118e62)['id'],!0x1),this[_0x30083a(0x299)][_0x30083a(0x38f)](_0x118e62);});};_0x45ad1c(this[_0x1d9797(0x1c2)]['getTypeOfUnitAdded$'](_0x42608e[_0x1d9797(0x19a)]),this[_0x1d9797(0x1c2)]['getTypeOfUnitAdded$'](_0x42608e[_0x1d9797(0x1c1)]))[_0x1d9797(0x3bf)](_0x5ba592(_0x544cfd=>_0x544cfd[_0x1d9797(0x1a4)]()),_0x2d7a63(_0x309678=>!_0x59fd1a(_0x309678)),_0xf05386(this[_0x1d9797(0x118)]))[_0x1d9797(0x236)](_0xfad417=>{_0x8a772d(_0xfad417);});}['_initUnitPermissionChange'](){const _0x3621f8=_0xf37888,_0x369623=async _0x1f1925=>{const _0x25e5c6=_0x136c;(await this[_0x25e5c6(0x299)][_0x25e5c6(0x4f0)](_0x1f1925))[_0x25e5c6(0x3c5)][_0x25e5c6(0x3bf)](_0x2d7a63(_0x167ea6=>_0x167ea6[_0x25e5c6(0x214)]===_0x3c3869['UPDATE_PERMISSION_OBJ']),_0xf05386(this['dispose$']))[_0x25e5c6(0x236)](_0xa60ca8=>{const _0x427630=_0x25e5c6,_0x32a56d=_0xa60ca8,{objectId:_0x1f8302}=_0x32a56d[_0x427630(0x1cc)],_0x4b20f1=this[_0x427630(0x43d)][_0x427630(0x166)](_0x3ee48e);_0x1f8302===_0x1f1925?_0x4b20f1[_0x427630(0x42b)](_0x1f1925):_0x4b20f1[_0x427630(0x2ee)](_0x1f1925,_0x1f8302);});};_0x45ad1c(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42608e['UNIVER_SHEET']),this[_0x3621f8(0x1c2)][_0x3621f8(0x493)](_0x42608e[_0x3621f8(0x1c1)]))[_0x3621f8(0x3bf)](_0x5ba592(_0x23e299=>_0x23e299['getUnitId']()),_0x2d7a63(_0x2b4e63=>!_0x59fd1a(_0x2b4e63)),_0xf05386(this['dispose$']))['subscribe'](_0x2fcfed=>{_0x369623(_0x2fcfed);});}};Tt=Sc([Qe(0x0,_0x39c8b8(_0x2fd08f)),Qe(0x1,_0x6b8e83),Qe(0x2,_0x19df2d),Qe(0x3,_0x39c8b8(Ae)),Qe(0x4,_0x39c8b8(_0x50f35b))],Tt);var Ic=Object['defineProperty'],Cc=Object['getOwnPropertyDescriptor'],Ec=(_0x3f6477,_0x36ceef,_0x512754,_0x2f7805)=>{const _0x317413=_0xf37888;for(var _0x196431=_0x2f7805>0x1?void 0x0:_0x2f7805?Cc(_0x36ceef,_0x512754):_0x36ceef,_0x2fefe0=_0x3f6477[_0x317413(0x42c)]-0x1,_0x49f3e5;_0x2fefe0>=0x0;_0x2fefe0--)(_0x49f3e5=_0x3f6477[_0x2fefe0])&&(_0x196431=(_0x2f7805?_0x49f3e5(_0x36ceef,_0x512754,_0x196431):_0x49f3e5(_0x196431))||_0x196431);return _0x2f7805&&_0x196431&&Ic(_0x36ceef,_0x512754,_0x196431),_0x196431;},ni=(_0x3615a4,_0x5444f7)=>(_0x165b8a,_0x487d2c)=>_0x5444f7(_0x165b8a,_0x487d2c,_0x3615a4);let ls=class{constructor(_0x1cfacd,_0x504b55){const _0x2baa0d=_0xf37888;this['_configService']=_0x1cfacd,this[_0x2baa0d(0x169)]=_0x504b55;}async['getUnitOnRev'](_0x2e1fc6,_0x555c34){const _0x3fdca6=_0xf37888;var _0x5cf273;const {unitID:_0x411ae2,type:_0x2f64b6,revision:_0x450421=0x0}=_0x555c34,_0x53f0da=this[_0x3fdca6(0x368)]()+'/'+_0x2f64b6+'/unit/'+_0x411ae2+'/rev/'+_0x450421,_0xb618cb=(await this['_httpService'][_0x3fdca6(0x166)](_0x53f0da))[_0x3fdca6(0x251)],_0x45c19f=(_0x5cf273=_0xb618cb['snapshot'])==null?void 0x0:_0x5cf273['workbook'];if(_0x45c19f){const _0x267997=_0x45c19f==null?void 0x0:_0x45c19f[_0x3fdca6(0x3d4)],_0x4d88ea=_0x4821ce[_0x3fdca6(0x4e5)](_0x1925e3(_0x267997));_0x45c19f[_0x3fdca6(0x3d4)]=_0x4d88ea,Object[_0x3fdca6(0x217)](_0x45c19f[_0x3fdca6(0x3c7)])[_0x3fdca6(0x321)](([,_0x1c595b])=>{const _0x2050a8=_0x3fdca6,_0x339fe7=_0x1c595b[_0x2050a8(0x3d4)],_0x200f87=_0x4821ce[_0x2050a8(0x4e5)](_0x1925e3(_0x339fe7));_0x1c595b[_0x2050a8(0x3d4)]=_0x200f87;});}return _0xb618cb;}async[_0xf37888(0x464)](_0x25a7e0,_0x43fcf9){const _0x517459=_0xf37888,{unitID:_0x195728,type:_0xedd9ae,blockID:_0x595453}=_0x43fcf9,_0x1f721f=this[_0x517459(0x375)]()+'/'+_0xedd9ae+_0x517459(0x4cb)+_0x195728+_0x517459(0x156)+_0x595453;return(await this[_0x517459(0x169)][_0x517459(0x166)](_0x1f721f))['body'];}async[_0xf37888(0x49a)](_0x1274d0,_0x355753){const _0x431327=_0xf37888,{unitID:_0x52e4b6,type:_0x59851f,blockID:_0x53fb1a}=_0x355753,_0x378313=this[_0x431327(0x375)]()+'/block/'+_0x59851f+'/unit/'+_0x52e4b6+_0x431327(0x156)+_0x53fb1a;return(await this[_0x431327(0x169)][_0x431327(0x166)](_0x378313))[_0x431327(0x251)];}async[_0xf37888(0x422)](_0x1e882b,_0x5c1541){const _0x4d8787=_0xf37888,{unitID:_0x5d92fa,type:_0x15036e,from:_0xbfdcb8,to:_0x3a8355}=_0x5c1541,_0x5e0849=this[_0x4d8787(0x375)]()+'/'+_0x15036e+_0x4d8787(0x4cb)+_0x5d92fa+'/fetchmissing?from='+_0xbfdcb8+_0x4d8787(0x25f)+_0x3a8355;return(await this[_0x4d8787(0x169)]['get'](_0x5e0849))[_0x4d8787(0x251)];}[_0xf37888(0x368)](){const _0x3ab7b1=_0xf37888;var _0x1f4ba3;return(_0x1f4ba3=this['_configService'][_0x3ab7b1(0x37a)](lr))!=null?_0x1f4ba3:this[_0x3ab7b1(0x375)]();}[_0xf37888(0x375)](){const _0x145eb6=_0xf37888;var _0x2e4851,_0x1f60d3;const _0x133cf6=this[_0x145eb6(0x1f2)][_0x145eb6(0x37a)](cr),_0x2083ed=this['_configService'][_0x145eb6(0x37a)](ie);return(_0x1f60d3=(_0x2e4851=_0x2083ed==null?void 0x0:_0x2083ed[_0x145eb6(0x146)])!=null?_0x2e4851:_0x133cf6)!=null?_0x1f60d3:hr;}async['getResourcesRequest'](_0x278c00,_0x32e905){const _0x636c7b=_0xf37888,_0x53e243=_0x636c7b(0x2ce)+_0x32e905[_0x636c7b(0x1fd)]+_0x636c7b(0x4cb)+_0x32e905[_0x636c7b(0x24f)]+_0x636c7b(0x508);return(await this['_httpService']['get'](_0x53e243,{'params':{'resourceId':JSON[_0x636c7b(0x387)](_0x32e905[_0x636c7b(0x17a)])}}))[_0x636c7b(0x251)];}[_0xf37888(0x1e3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf37888(0x196)](){const _0x19ee51=_0xf37888;throw new Error(_0x19ee51(0x305));}['saveChangeset'](){const _0x5ee2fd=_0xf37888;throw new Error(_0x5ee2fd(0x305));}[_0xf37888(0x4e4)](){const _0x12e509=_0xf37888;throw new Error(_0x12e509(0x305));}[_0xf37888(0x293)](){const _0x21bf06=_0xf37888;throw new Error(_0x21bf06(0x305));}};ls=Ec([ni(0x0,_0x45a6b3),ni(0x1,_0x39c8b8(_0xf3436a))],ls);var bc=Object[_0xf37888(0x320)],Tc=Object[_0xf37888(0x26b)],Rc=(_0x1e7733,_0x56ced5,_0x4af483,_0x39515)=>{const _0x154cfe=_0xf37888;for(var _0xb62189=_0x39515>0x1?void 0x0:_0x39515?Tc(_0x56ced5,_0x4af483):_0x56ced5,_0x147194=_0x1e7733[_0x154cfe(0x42c)]-0x1,_0x786ba;_0x147194>=0x0;_0x147194--)(_0x786ba=_0x1e7733[_0x147194])&&(_0xb62189=(_0x39515?_0x786ba(_0x56ced5,_0x4af483,_0xb62189):_0x786ba(_0xb62189))||_0xb62189);return _0x39515&&_0xb62189&&bc(_0x56ced5,_0x4af483,_0xb62189),_0xb62189;},et=(_0xcedc12,_0x40b23f)=>(_0x10a1e6,_0x254c99)=>_0x40b23f(_0x10a1e6,_0x254c99,_0xcedc12);let _s=class extends _0x4a62a2{constructor(_0x96ae70,_0x560a21,_0x50d0e0,_0x2bff3f,_0x436e9f){const _0x33bc84=_0xf37888;super(_0x96ae70,_0x560a21,_0x50d0e0),this[_0x33bc84(0x310)]=_0x2bff3f,this[_0x33bc84(0x2c3)]=_0x436e9f;}[_0xf37888(0x446)](_0x1a56cb,_0x2a845a){const _0x2bfbba=_0xf37888,_0x1d2850=this[_0x2bfbba(0x275)](_0x1a56cb);if(_0x1d2850)try{const _0x34b692=this['_transformStack'](_0x1d2850,_0x2a845a);this[_0x2bfbba(0x243)](_0x1a56cb,_0x34b692);}catch(_0x50bd88){this[_0x2bfbba(0x2c3)][_0x2bfbba(0x329)](_0x2bfbba(0x333),_0x50bd88),this['_clearUndo'](_0x1a56cb);}const _0x154f92=this[_0x2bfbba(0x43a)](_0x1a56cb);if(_0x154f92)try{const _0x4e9fed=this[_0x2bfbba(0x254)](_0x154f92,_0x2a845a);this[_0x2bfbba(0x3df)](_0x1a56cb,_0x4e9fed);}catch(_0x324f1d){this['_logService'][_0x2bfbba(0x329)](_0x324f1d),this[_0x2bfbba(0x143)](_0x1a56cb);}}[_0xf37888(0x33f)](_0xc0966c){const _0x510ebc=_0xf37888,_0x6fac53=this[_0x510ebc(0x275)](_0xc0966c);_0x6fac53&&(_0x6fac53[_0x510ebc(0x42c)]=0x0,this[_0x510ebc(0x44c)]());}['_clearRedo'](_0x553707){const _0x58c156=_0xf37888,_0x438f6a=this[_0x58c156(0x43a)](_0x553707);_0x438f6a&&(_0x438f6a[_0x58c156(0x42c)]=0x0,this[_0x58c156(0x44c)]());}[_0xf37888(0x243)](_0x191744,_0x4862be){const _0x522686=_0xf37888;this[_0x522686(0x483)][_0x522686(0x1ec)](_0x191744,_0x4862be),this[_0x522686(0x44c)]();}[_0xf37888(0x3df)](_0x1c66a1,_0x7d8606){const _0x182636=_0xf37888;this['_redoStacks']['set'](_0x1c66a1,_0x7d8606),this[_0x182636(0x44c)]();}[_0xf37888(0x254)](_0x44fc46,_0xc64898){const _0x1546cf=_0xf37888,_0x152017=[];let _0x52ca46=_0xc64898,_0x4a610f=_0xc64898;for(let _0x2b4c97=_0x44fc46[_0x1546cf(0x42c)]-0x1;_0x2b4c97>=0x0;_0x2b4c97--){const {unitID:_0x398f9a,undoMutations:_0x175c4f,redoMutations:_0x3bdfa7}=_0x44fc46[_0x2b4c97],_0xa45c42=this['_transformService'][_0x1546cf(0x134)](_0x52ca46,_0x175c4f),_0x42eae5=this[_0x1546cf(0x310)][_0x1546cf(0x134)](_0x4a610f,_0x3bdfa7);if(_0x40847e(_0xa45c42)||_0x40847e(_0x42eae5)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x1546cf(0x346),_0xa45c42,_0x42eae5);break;}_0x52ca46=_0xa45c42[_0x1546cf(0x19e)],_0x4a610f=_0x42eae5[_0x1546cf(0x19e)],_0x152017[_0x1546cf(0x270)]({'unitID':_0x398f9a,'undoMutations':_0xa45c42[_0x1546cf(0x44b)],'redoMutations':_0x42eae5[_0x1546cf(0x44b)]});}return _0x152017['reverse']();}};_s=Rc([et(0x0,_0x6b8e83),et(0x1,_0x48fc43),et(0x2,_0x1b23d4),et(0x3,_0x36ceed),et(0x4,_0x399eca)],_s);class yc extends _0x3c16d2{constructor(){const _0x57fd6c=_0xf37888;super(),g(this,_0x57fd6c(0x22a)),this[_0x57fd6c(0x22a)]=_0x5ea6fd(window,_0x57fd6c(0x2fa))['pipe'](_0x1825a9(this['dispose$']),_0xac7976(0x1),_0x20444c(void 0x0));}[_0xf37888(0x341)](_0x37046f,_0x5cdd16,_0x3c1cac=!0x1){const _0xc4630=_0xf37888,_0x323207=new URL(window[_0xc4630(0x205)][_0xc4630(0x2b7)]);_0x323207[_0xc4630(0x3e0)][_0xc4630(0x1ec)](_0x37046f,_0x5cdd16),_0x3c1cac?window['history']['replaceState']('','',_0x323207[_0xc4630(0x492)]()):window['history'][_0xc4630(0x191)]('','',_0x323207[_0xc4630(0x492)]());}[_0xf37888(0x224)](_0x26e23d,_0x16dddf=!0x1){const _0x24b0ca=_0xf37888,_0x81ffa1=new URL(window['location'][_0x24b0ca(0x2b7)]);_0x81ffa1['searchParams'][_0x24b0ca(0x3ab)](_0x26e23d),_0x16dddf?window[_0x24b0ca(0x165)][_0x24b0ca(0x4c1)]('','',_0x81ffa1[_0x24b0ca(0x492)]()):window[_0x24b0ca(0x165)][_0x24b0ca(0x191)]('','',_0x81ffa1[_0x24b0ca(0x492)]());}[_0xf37888(0x190)](_0x2ab6fa){const _0x2f468c=_0xf37888;var _0x3834c6;return(_0x3834c6=new URL(window['location'][_0x2f468c(0x2b7)])['searchParams'][_0x2f468c(0x166)](_0x2ab6fa))!=null?_0x3834c6:void 0x0;}}var zi=Object['defineProperty'],Oc=Object['getOwnPropertyDescriptor'],wc=(_0x5a6cfa,_0x1c11f7,_0x42cdb4)=>_0x1c11f7 in _0x5a6cfa?zi(_0x5a6cfa,_0x1c11f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42cdb4}):_0x5a6cfa[_0x1c11f7]=_0x42cdb4,Dc=(_0x5cff08,_0x17f569,_0x513a45,_0x120956)=>{for(var _0x81db4e=_0x120956>0x1?void 0x0:_0x120956?Oc(_0x17f569,_0x513a45):_0x17f569,_0x42a9f2=_0x5cff08['length']-0x1,_0x7d9344;_0x42a9f2>=0x0;_0x42a9f2--)(_0x7d9344=_0x5cff08[_0x42a9f2])&&(_0x81db4e=(_0x120956?_0x7d9344(_0x17f569,_0x513a45,_0x81db4e):_0x7d9344(_0x81db4e))||_0x81db4e);return _0x120956&&_0x81db4e&&zi(_0x17f569,_0x513a45,_0x81db4e),_0x81db4e;},lt=(_0x2544c2,_0x32b0e1)=>(_0xfc1e98,_0x159796)=>_0x32b0e1(_0xfc1e98,_0x159796,_0x2544c2),Pc=(_0x5199d1,_0x8598cd,_0x309a76)=>wc(_0x5199d1,_0x8598cd+'',_0x309a76);const Uc=_0xf37888(0x220);let us=class extends _0x7a55e0{constructor(_0x226e7d=Rr,_0x525f30,_0xb814a7,_0x3d4084,_0x2a8d36){const _0x4844b9=_0xf37888;super(),this['_config']=_0x226e7d,this['_logService']=_0x525f30,this[_0x4844b9(0x1b5)]=_0xb814a7,this[_0x4844b9(0x43d)]=_0x3d4084,this['_configService']=_0x2a8d36;const {..._0x13d22c}=this['_config'];this[_0x4844b9(0x1f2)]['setConfig'](ie,_0x13d22c);}[_0xf37888(0x37b)](){const _0x395888=_0xf37888;this['_registerDependencies'](),this[_0x395888(0x355)]();}[_0xf37888(0x49f)](){_0x5f3d41(this['_injector'],[[Ct]]);}['onRendered'](){const _0x2624fe=_0xf37888;this[_0x2624fe(0x1da)]();}[_0xf37888(0x21f)](){const _0x4e2824=_0xf37888;var _0x1bd9db,_0x26fc06,_0x1179d8,_0xd94e1c;this[_0x4e2824(0x43d)][_0x4e2824(0x4af)](_0x46b156)&&this[_0x4e2824(0x2c3)][_0x4e2824(0x329)](_0x4e2824(0x119),_0x4e2824(0x44a));const _0x25d9e6=[[_0x46b156,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x1827c1],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x26fc06=(_0x1bd9db=this['_config'])==null?void 0x0:_0x1bd9db[_0x4e2824(0x14a)])!=null?_0x26fc06:es}],[_0x5f2fc3,{'useClass':ls}],[_0xb968ca,{'useClass':cs}],[_0x548da5,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x1179d8=this['_config'])!=null&&_0x1179d8[_0x4e2824(0x1c8)]&&_0x25d9e6[_0x4e2824(0x270)]([Rt,{'useClass':ro}]),_0x1e42a3(this['_injector'],_0x208ba0(_0x25d9e6,(_0xd94e1c=this['_config'])==null?void 0x0:_0xd94e1c['override']));}[_0xf37888(0x1da)](){const _0x4bae3e=_0xf37888;this[_0x4bae3e(0x3ec)](this[_0x4bae3e(0x1b5)][_0x4bae3e(0x50c)](_0x42608e[_0x4bae3e(0x1c1)],[os])),this[_0x4bae3e(0x3ec)](this[_0x4bae3e(0x1b5)][_0x4bae3e(0x50c)](_0x42608e[_0x4bae3e(0x19a)],[as]));}[_0xf37888(0x355)](){const _0x593549=_0xf37888;var _0x159498,_0x2617a2;this[_0x593549(0x43d)][_0x593549(0x166)](_0xf3436a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x8c39a4({'maxParallel':0x6})}),(_0x159498=this['_config'])!=null&&_0x159498[_0x593549(0x47b)]||this['_injector'][_0x593549(0x166)](q)[_0x593549(0x3a7)](),(_0x2617a2=this[_0x593549(0x472)])!=null&&_0x2617a2['enableAuthServer']&&_0x5f3d41(this[_0x593549(0x43d)],[[Et]]),_0x5f3d41(this[_0x593549(0x43d)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,'pluginName',Uc),us=Dc([_0x1c29a2(_0x4a89ea,_0x4caaee),lt(0x1,_0x399eca),lt(0x2,_0x4e7ca1),lt(0x3,_0x39c8b8(_0x2fd08f)),lt(0x4,_0x45a6b3)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};