@univerjs-pro/collaboration-client 0.4.2-nightly.202411091134 → 0.5.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x354c00=_0x33b4;(function(_0x464a1b,_0x4ad8b3){const _0x1a92d1=_0x33b4,_0x5ae58a=_0x464a1b();while(!![]){try{const _0x493776=-parseInt(_0x1a92d1(0x4f8))/0x1*(-parseInt(_0x1a92d1(0x237))/0x2)+-parseInt(_0x1a92d1(0x357))/0x3+parseInt(_0x1a92d1(0x32e))/0x4+parseInt(_0x1a92d1(0x36b))/0x5+parseInt(_0x1a92d1(0x387))/0x6+-parseInt(_0x1a92d1(0x4c7))/0x7*(-parseInt(_0x1a92d1(0x521))/0x8)+-parseInt(_0x1a92d1(0x2ac))/0x9;if(_0x493776===_0x4ad8b3)break;else _0x5ae58a['push'](_0x5ae58a['shift']());}catch(_0x1aa5c1){_0x5ae58a['push'](_0x5ae58a['shift']());}}}(_0x2f9d,0x2ed68));var qi=Object[_0x354c00(0x3cf)],Xi=(_0xfb2a1e,_0x638690,_0x19ee0d)=>_0x638690 in _0xfb2a1e?qi(_0xfb2a1e,_0x638690,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19ee0d}):_0xfb2a1e[_0x638690]=_0x19ee0d,g=(_0x297c10,_0x37e373,_0x29341f)=>Xi(_0x297c10,typeof _0x37e373!='symbol'?_0x37e373+'':_0x37e373,_0x29341f);import{createIdentifier as _0x1d937b,Inject as _0x1727eb,Disposable as _0x1cb1cd,DisposableCollection as _0x44e580,toDisposable as _0x48b865,IConfigService as _0x250a8d,ILogService as _0x3b4016,UserManagerService as _0x11a762,UniverInstanceType as _0x208af7,IUniverInstanceService as _0x48d976,LocaleService as _0x382d24,Optional as _0x213697,RxDisposable as _0x1bd493,Injector as _0x5d0612,Tools as _0x4127e3,ILocalStorageService as _0xea98c6,Rectangle as _0x10dcad,ICommandService as _0xfbfaad,DOC_RANGE_TYPE as _0x31810f,JSONX as _0x2f0114,CommandType as _0x1814f1,IPermissionService as _0x121e54,IUndoRedoService as _0x107280,sequenceExecute as _0x131a5d,debounce as _0x3cf277,COLORS as _0x3d216b,ColorKit as _0x3ee1d4,ThemeService as _0x45a9b5,fromEventSubject as _0x5dc8db,useDependency as _0x38e1d3,connectInjector as _0x45e1ea,Workbook as _0x1b5e66,isInternalEditorID as _0x16f910,LocalUndoRedoService as _0x32659e,IContextService as _0x4d0f4d,DependentOn as _0x335d7c,Plugin as _0x58cc57,touchDependencies as _0x167bff,IAuthzIoService as _0x2602c6,registerDependencies as _0x1982ee,mergeOverrideWithDependencies as _0xb2abd5}from'@univerjs/core';import{Subject as _0x3189d9,merge as _0x32fe1c,takeUntil as _0x144dfb,BehaviorSubject as _0x5ea788,distinctUntilChanged as _0x197f58,fromEvent as _0x2ddc8b,ReplaySubject as _0x133d1d,take as _0x491b6c,map as _0x147fd2,shareReplay as _0x3f5b54,of as _0x517049,debounceTime as _0x1d2149,filter as _0x3de249,switchMap as _0x32daf9,combineLatest as _0x26ee51,concatMap as _0x4a0d9c,mapTo as _0x3a17d4}from'rxjs';import{map as _0x416fe6,take as _0x217ea4,filter as _0x34bcfb,delay as _0x1a5bdc,throttleTime as _0x466658,takeUntil as _0x53e684,switchMap as _0x203a58}from'rxjs/operators';import{MessageType as _0x3960e0,Tooltip as _0x3e0db8}from'@univerjs/design';import{IBeforeCloseService as _0x169eb0,IMessageService as _0x35026c,INotificationService as _0x49927c,useObservable as _0x253487,BuiltInUIPart as _0x22c053,IUIPartsService as _0x17b17c}from'@univerjs/ui';import{HTTPService as _0x4e8dbf,WebSocketService as _0x4fed41,MergeInterceptorFactory as _0x542720,HTTPRequest as _0x79519,UniverNetworkPlugin as _0x573469,ThresholdInterceptorFactory as _0x407e02}from'@univerjs/network';import{CollaborationEvent as _0x5fb817,parseChangesetToProtocol as _0x4d7eb0,ISnapshotServerService as _0x5f0191,isTransformMutationFailure as _0x17dd13,isTransformMutationsWithChangesetSuccess as _0x295e25,ITransformService as _0xe30adb,RevisionService as _0x27820f,mapDocumentTypeToUniverType as _0x1ee155,isTransformChangesetsSuccess as _0x2a9c67,CompressMutationService as _0x19d90b,parseProtocolChangeset as _0xccb1bb,SnapshotService as _0x1644f2,textEncoder as _0x33b47e,b64DecodeUnicode as _0x1d5b0f,isTransformMutationsWithChangesetFailure as _0x57658d,UniverCollaborationPlugin as _0x3e0fbc}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x48fa6d}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x2f9898,DocStateChangeManagerService as _0x1578ad,NodePositionConvertToCursor as _0x183683,NodePositionConvertToRectRange as _0x4f5085,TEXT_RANGE_LAYER_INDEX as _0x3ac314,SetDocZoomRatioOperation as _0x21a036}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0xfd201e,SetSelectionsOperation as _0x558a1a,InsertSheetMutation as _0x15c0ac,EmptyMutation as _0x5d1831,WorkbookEditablePermission as _0x18c2b1,RefRangeService as _0x427b6f,EffectRefRangId as _0x5d8ed2,handleIRemoveRow as _0x48b028,handleIRemoveCol as _0x2964d0,handleMoveRange as _0x8704d,handleInsertRow as _0x5b2a5a,handleInsertRangeMoveRight as _0x51681e,handleInsertRangeMoveDown as _0xb9b604,handleInsertCol as _0x329a98,handleDeleteRangeMoveUp as _0x5f49ac,handleDeleteRangeMoveLeft as _0x58650a,runRefRangeMutations as _0x447711,SetWorksheetActivateCommand as _0x4f7e31}from'@univerjs/sheets';import{IRenderManagerService as _0xf0df93,Shape as _0x361298,Rect as _0x4d9978,getColor as _0x376e65,RegularPolygon as _0x351e9f,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4b6802,Vector2 as _0x1e515e}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x15c40f,RichTextEditingMutation as _0x2e83de,SetTextSelectionsOperation as _0x259a8e,DocSkeletonManagerService as _0x2cdfc6}from'@univerjs/docs';import{ImageSourceType as _0x422438,ImageUploadStatusType as _0xb4c80f,IImageIoService as _0x4405e1}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x17ae33,serializeRangeWithSheet as _0x11daff}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x17de71,VIEWPORT_KEY as _0x1bae0e,getCoordByCell as _0x452ad9,getSheetObject as _0x462d92,SheetPermissionInitController as _0x31aae9}from'@univerjs/sheets-ui';import _0x2c8d7a,{forwardRef as _0x448ef5,useRef as _0x143c61,createElement as _0x826a7b,useCallback as _0x26490b}from'react';import{IRemoteInstanceService as _0x2d92e8}from'@univerjs/rpc';const cr=_0x354c00(0x1de),hr='/universer-api/snapshot',lr=_0x354c00(0x4d4),Xc=_0x354c00(0x20d),_r=0x7d0,ur=_0x354c00(0x453),dr=_0x354c00(0x1d2),fr=_0x354c00(0x164),vr=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,mr=0x4e20,pr=_0x354c00(0x18a),gr=0x3,Sr=_0x354c00(0x2fa),Ir=0x3e8,Cr=_0x354c00(0x2e5),Er='/universer-api/comb',br=_0x354c00(0x480),Tr=_0x354c00(0x269);var Ri=(_0x16cc08=>(_0x16cc08[_0x16cc08[_0x354c00(0x198)]=0x0]=_0x354c00(0x198),_0x16cc08[_0x16cc08['OK']=0x1]='OK',_0x16cc08[_0x16cc08[_0x354c00(0x17f)]=0x2]=_0x354c00(0x17f),_0x16cc08[_0x16cc08[_0x354c00(0x2ba)]=0x3]='PERMISSION_DENIED',_0x16cc08[_0x16cc08[_0x354c00(0x499)]=0x4]='NOT_FOUND',_0x16cc08[_0x16cc08[_0x354c00(0x35a)]=0x5]=_0x354c00(0x35a),_0x16cc08[_0x16cc08[_0x354c00(0x36c)]=0x6]=_0x354c00(0x36c),_0x16cc08[_0x16cc08[_0x354c00(0x54e)]=0x7]=_0x354c00(0x54e),_0x16cc08[_0x16cc08['TOO_MANY_REQUESTS']=0x8]=_0x354c00(0x304),_0x16cc08[_0x16cc08['COMPLETION_FINISHED']=0x9]=_0x354c00(0x213),_0x16cc08[_0x16cc08['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x354c00(0x1ec),_0x16cc08[_0x16cc08['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x16cc08[_0x16cc08[_0x354c00(0x2f6)]=0x1772]=_0x354c00(0x2f6),_0x16cc08[_0x16cc08[_0x354c00(0x42b)]=0x1773]=_0x354c00(0x42b),_0x16cc08[_0x16cc08['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x16cc08[_0x16cc08[_0x354c00(0x41e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x16cc08[_0x16cc08[_0x354c00(0x21a)]=0x1b5b]=_0x354c00(0x21a),_0x16cc08[_0x16cc08[_0x354c00(0x4de)]=0x1b5c]=_0x354c00(0x4de),_0x16cc08[_0x16cc08[_0x354c00(0x296)]=0x1b5d]=_0x354c00(0x296),_0x16cc08[_0x16cc08['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x16cc08[_0x16cc08[_0x354c00(0x380)]=0x2329]=_0x354c00(0x380),_0x16cc08[_0x16cc08['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x354c00(0x180),_0x16cc08[_0x16cc08[_0x354c00(0x1dd)]=0x232b]=_0x354c00(0x1dd),_0x16cc08[_0x16cc08[_0x354c00(0x157)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x16cc08[_0x16cc08[_0x354c00(0x41f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x16cc08[_0x16cc08[_0x354c00(0x457)]=0x2711]=_0x354c00(0x457),_0x16cc08[_0x16cc08[_0x354c00(0x417)]=0x2712]=_0x354c00(0x417),_0x16cc08[_0x16cc08[_0x354c00(0x44e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x16cc08[_0x16cc08['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x354c00(0x395),_0x16cc08[_0x16cc08[_0x354c00(0x342)]=-0x1]=_0x354c00(0x342),_0x16cc08))(Ri||{}),ce=(_0x57b40a=>(_0x57b40a[_0x57b40a[_0x354c00(0x50b)]=0x0]=_0x354c00(0x50b),_0x57b40a[_0x57b40a[_0x354c00(0x461)]=0x1]=_0x354c00(0x461),_0x57b40a[_0x57b40a[_0x354c00(0x1c5)]=0x2]='UNIVER_SHEET',_0x57b40a[_0x57b40a['UNIVER_SLIDE']=0x3]=_0x354c00(0x288),_0x57b40a[_0x57b40a['UNIVER_PROJECT']=0x4]=_0x354c00(0x2d7),_0x57b40a[_0x57b40a['UNRECOGNIZED']=-0x1]=_0x354c00(0x342),_0x57b40a))(ce||{}),W=(_0x523ba1=>(_0x523ba1[_0x523ba1[_0x354c00(0x549)]=0x0]=_0x354c00(0x549),_0x523ba1[_0x523ba1[_0x354c00(0x423)]=0x1]='HELLO',_0x523ba1[_0x523ba1[_0x354c00(0x208)]=0x2]=_0x354c00(0x208),_0x523ba1[_0x523ba1['LEAVE']=0x3]='LEAVE',_0x523ba1[_0x523ba1[_0x354c00(0x4e0)]=0x4]=_0x354c00(0x4e0),_0x523ba1[_0x523ba1[_0x354c00(0x476)]=0x5]=_0x354c00(0x476),_0x523ba1[_0x523ba1[_0x354c00(0x529)]=0x6]='RECV',_0x523ba1[_0x523ba1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x523ba1))(W||{}),Is=(_0x4dcddf=>(_0x4dcddf[_0x4dcddf[_0x354c00(0x1f9)]=0x0]=_0x354c00(0x1f9),_0x4dcddf[_0x4dcddf['OK']=0x1]='OK',_0x4dcddf[_0x4dcddf['FAIL']=0x2]=_0x354c00(0x399),_0x4dcddf[_0x4dcddf[_0x354c00(0x342)]=-0x1]=_0x354c00(0x342),_0x4dcddf))(Is||{}),yi=(_0x35b3cc=>(_0x35b3cc[_0x35b3cc[_0x354c00(0x228)]=0x0]='Undefined',_0x35b3cc[_0x35b3cc[_0x354c00(0x3c3)]=0x1]=_0x354c00(0x3c3),_0x35b3cc[_0x35b3cc[_0x354c00(0x28d)]=0x2]=_0x354c00(0x28d),_0x35b3cc[_0x35b3cc['UnitEmbedded']=0x3]=_0x354c00(0x1d7),_0x35b3cc[_0x35b3cc[_0x354c00(0x34a)]=0x4]=_0x354c00(0x34a),_0x35b3cc[_0x35b3cc['UNRECOGNIZED']=-0x1]=_0x354c00(0x342),_0x35b3cc))(yi||{});const ie=_0x354c00(0x1c1),Rr={};function yr(_0x411ca5){const _0x2a4c76=_0x354c00;var _0x31d6c6,_0x2bc6ea,_0xc568ae,_0x2e1243,_0xa1cfd9;const _0x3216a9=_0x411ca5['data'],_0x3c55a4=JSON['parse'](_0x3216a9);switch(_0x3c55a4[_0x2a4c76(0x23c)]){case W[_0x2a4c76(0x476)]:case W['HELLO']:{const _0x16568c=_0x3c55a4['infoRsp'];return{..._0x3c55a4,'data':_0x16568c,'cmd':_0x3c55a4['cmd']};}case W[_0x2a4c76(0x208)]:{const _0x2a3838=_0x3c55a4[_0x2a4c76(0x1e7)];return{..._0x3c55a4,'data':_0x2a3838,'cmd':_0x3c55a4['cmd']};}case W[_0x2a4c76(0x529)]:{const _0x58d24a=_0x3c55a4[_0x2a4c76(0x432)];switch(_0x58d24a[_0x2a4c76(0x338)]){case _0x5fb817[_0x2a4c76(0x3c6)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0x31d6c6=_0x58d24a[_0x2a4c76(0x384)])==null?void 0x0:_0x31d6c6['cs']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x28e)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0x2bc6ea=_0x58d24a[_0x2a4c76(0x52f)])==null?void 0x0:_0x2bc6ea['cs']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x406)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0xc568ae=_0x58d24a[_0x2a4c76(0x177)])==null?void 0x0:_0xc568ae['cs']},'cmd':_0x3c55a4['cmd']};case _0x5fb817[_0x2a4c76(0x18b)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0x2e1243=_0x58d24a[_0x2a4c76(0x50f)])==null?void 0x0:_0x2e1243['cs']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817['CHANGESET_SHOULD_RETRY']:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0xa1cfd9=_0x58d24a[_0x2a4c76(0x543)])==null?void 0x0:_0xa1cfd9['cs']},'cmd':_0x3c55a4['cmd']};case _0x5fb817[_0x2a4c76(0x267)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a[_0x2a4c76(0x356)]},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x409)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a[_0x2a4c76(0x3ff)]},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817['USERS_LEAVE']:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['leaveEvent']},'cmd':_0x3c55a4['cmd']};case _0x5fb817[_0x2a4c76(0x50d)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['liveShareNewHost']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x332)]:case _0x5fb817[_0x2a4c76(0x3c4)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a[_0x2a4c76(0x14b)]},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x44a)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a[_0x2a4c76(0x497)]},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x4a1)]:return{..._0x3c55a4,'data':_0x58d24a,'cmd':_0x3c55a4['cmd']};case _0x5fb817[_0x2a4c76(0x3a6)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['commentUpdateEvent']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817['UPDATE_PERMISSION_OBJ']:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['updatePermissionObjEvent']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x3de)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['shouldCloseConn']},'cmd':_0x3c55a4['cmd']};default:return _0x3c55a4;}}default:return _0x3c55a4;}}function Or(_0x3aa723){const _0x377d8b=_0x354c00;switch(_0x3aa723[_0x377d8b(0x23c)]){case W[_0x377d8b(0x476)]:case W[_0x377d8b(0x423)]:return JSON[_0x377d8b(0x2d5)]({'cmd':_0x3aa723[_0x377d8b(0x23c)],'routeKey':_0x3aa723[_0x377d8b(0x318)]});case W[_0x377d8b(0x4e0)]:{let _0x87b1c;switch(_0x3aa723[_0x377d8b(0x3df)]['eventID']){case _0x5fb817['UPDATE_CURSOR']:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x267)],'updateCursorEvent':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x44b)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x44b)],'leaveEvent':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x409)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x409)],'joinEvent':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x50d)]:{_0x87b1c={'eventID':_0x5fb817['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x3c4)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x3c4)],'liveShareOperation':_0x3aa723[_0x377d8b(0x3df)]['data']};break;}case _0x5fb817['LIVESHARE_TERMINATE']:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x44a)],'liveShareTerminate':_0x3aa723['data']['data']};break;}case _0x5fb817[_0x377d8b(0x255)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x255)],'liveShareRequestHost':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x332)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x332)]};break;}default:_0x87b1c={'eventID':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x338)]};}return JSON[_0x377d8b(0x2d5)]({'cmd':_0x3aa723[_0x377d8b(0x23c)],'routeKey':_0x3aa723[_0x377d8b(0x318)],'collaMsg':_0x87b1c});}case W[_0x377d8b(0x208)]:return JSON[_0x377d8b(0x2d5)]({'cmd':_0x3aa723['cmd'],'routeKey':_0x3aa723[_0x377d8b(0x318)],'joinReq':_0x3aa723[_0x377d8b(0x3df)]});case W[_0x377d8b(0x1ae)]:return JSON[_0x377d8b(0x2d5)]({'cmd':_0x3aa723[_0x377d8b(0x23c)],'routeKey':_0x3aa723[_0x377d8b(0x318)],'leaveReq':_0x3aa723[_0x377d8b(0x3df)]});default:throw new Error(_0x377d8b(0x25c));}}var wr=Object['defineProperty'],Dr=Object[_0x354c00(0x20e)],Pr=(_0x28eaea,_0x592ebd,_0x5e343e,_0x8f7dda)=>{for(var _0x161a3a=_0x8f7dda>0x1?void 0x0:_0x8f7dda?Dr(_0x592ebd,_0x5e343e):_0x592ebd,_0x21d8a2=_0x28eaea['length']-0x1,_0x45d1f8;_0x21d8a2>=0x0;_0x21d8a2--)(_0x45d1f8=_0x28eaea[_0x21d8a2])&&(_0x161a3a=(_0x8f7dda?_0x45d1f8(_0x592ebd,_0x5e343e,_0x161a3a):_0x45d1f8(_0x161a3a))||_0x161a3a);return _0x8f7dda&&_0x161a3a&&wr(_0x592ebd,_0x5e343e,_0x161a3a),_0x161a3a;},qe=(_0x71de94,_0x91441)=>(_0x530fb6,_0x118d98)=>_0x91441(_0x530fb6,_0x118d98,_0x71de94);const Oi=_0x1d937b(_0x354c00(0x37d));function Ur(_0x264689,_0x3c037f,_0x2921e5){const _0x39edb5=_0x354c00;return _0x264689+'/'+_0x3c037f+_0x39edb5(0x1ed)+_0x2921e5+_0x39edb5(0x1a9);}let es=class extends _0x1cb1cd{constructor(_0x5ed63b,_0x314ba9,_0x2dabbd,_0x4424bf,_0x22b63c){const _0x1b8573=_0x354c00;super(),this[_0x1b8573(0x28a)]=_0x5ed63b,this[_0x1b8573(0x524)]=_0x314ba9,this[_0x1b8573(0x53b)]=_0x2dabbd,this[_0x1b8573(0x3b6)]=_0x4424bf,this['_snapshotServerService']=_0x22b63c;}['createSocket'](_0x35316d){const _0x1be8c7=_0x354c00,_0x42e719=this[_0x1be8c7(0x524)][_0x1be8c7(0x1e9)](_0x35316d);if(!_0x42e719)throw new Error(_0x1be8c7(0x38a));const _0x46f553=new _0x44e580(),_0x494758=new _0x3189d9();_0x46f553[_0x1be8c7(0x214)](_0x42e719[_0x1be8c7(0x1f6)]['subscribe'](_0x4b203d=>_0x494758[_0x1be8c7(0x2df)](_0x4b203d))),_0x46f553[_0x1be8c7(0x214)](_0x48b865(()=>_0x494758[_0x1be8c7(0x367)]()));const _0x29d382=new _0x3189d9();_0x46f553['add'](_0x42e719[_0x1be8c7(0x561)][_0x1be8c7(0x51f)](_0x5d4d7e=>_0x29d382['next'](_0x5d4d7e))),_0x46f553[_0x1be8c7(0x214)](_0x48b865(()=>_0x29d382[_0x1be8c7(0x367)]()));const _0x5473d4=new _0x3189d9();_0x46f553[_0x1be8c7(0x214)](_0x42e719[_0x1be8c7(0x2b1)][_0x1be8c7(0x51f)](_0xbe192d=>{const _0x132746=yr(_0xbe192d);_0x5473d4['next'](_0x132746);})),_0x46f553['add'](_0x48b865(()=>_0x5473d4['complete']()));let _0xddc7fc;const _0xf2078f=()=>{const _0x59f3d3=_0x1be8c7;_0x29d382[_0x59f3d3(0x2df)](new Event(_0x59f3d3(0x46a))),_0x494758['next'](new CloseEvent(_0x59f3d3(0x46a))),_0xddc7fc['close']();};return _0xddc7fc={'memberID':'','close$':_0x494758[_0x1be8c7(0x516)](),'error$':_0x29d382['asObservable'](),'open$':_0x42e719[_0x1be8c7(0x465)],'message$':_0x5473d4[_0x1be8c7(0x516)](),'send':_0x506705=>{const _0x8b0f21=_0x1be8c7;if(_0x506705['cmd']===W[_0x8b0f21(0x4e0)]){if(_0x506705[_0x8b0f21(0x3df)][_0x8b0f21(0x338)]===_0x5fb817[_0x8b0f21(0x3f5)]){this['_submitChangeset'](_0xddc7fc,_0x506705[_0x8b0f21(0x3df)])['catch'](_0x5c80a3=>{this['_logService']['error'](_0x5c80a3),_0xf2078f();});return;}if(_0x506705['data']['eventID']===_0x5fb817[_0x8b0f21(0x143)]){const _0x1d36e3=_0x506705[_0x8b0f21(0x3df)];this[_0x8b0f21(0x4aa)](_0x1d36e3)['then'](_0x27ffd3=>{const _0x211233=_0x8b0f21;_0x5473d4[_0x211233(0x2df)]({'cmd':W[_0x211233(0x529)],'code':Is['OK'],'routeKey':_0x1d36e3[_0x211233(0x3df)][_0x211233(0x207)],'routeType':'','data':{'eventID':_0x5fb817[_0x211233(0x53f)],'data':{'changesets':_0x27ffd3}}});})[_0x8b0f21(0x185)](_0x584d30=>{const _0x151943=_0x8b0f21;this[_0x151943(0x3b6)][_0x151943(0x2f1)](_0x584d30),_0xf2078f();});return;}}_0x42e719['send'](Or(_0x506705));},'close':()=>{const _0x16a458=_0x1be8c7;_0x42e719[_0x16a458(0x4ea)](),_0x46f553[_0x16a458(0x4d7)]();}},_0xddc7fc;}async[_0x354c00(0x1f4)](_0x4a7908,_0x16904c){const _0x17481a=_0x354c00;var _0x577317,_0x188e61;const {unitType:_0xacbc42,unitID:_0x2891a0,changeset:_0x276352}=_0x16904c[_0x17481a(0x3df)],_0x508459={'unitID':_0x2891a0,'memberID':_0x4a7908['memberID'],'type':_0xacbc42,'changeset':_0x4d7eb0(_0x276352)},_0x256558=this[_0x17481a(0x53b)]['getConfig'](Cr),_0x1c2d32=this['_configService'][_0x17481a(0x246)](ie),_0x2b49eb=Ur((_0x188e61=(_0x577317=_0x1c2d32==null?void 0x0:_0x1c2d32['collabSubmitChangesetUrl'])!=null?_0x577317:_0x256558)!=null?_0x188e61:Er,_0xacbc42,_0x2891a0);try{await this['_http'][_0x17481a(0x3f9)](_0x2b49eb,{'body':_0x508459});}catch(_0x210d15){throw this[_0x17481a(0x3b6)][_0x17481a(0x2f1)](_0x17481a(0x560),'submit\x20changeset\x20error!'),_0x210d15;}}async[_0x354c00(0x4aa)](_0x207648){const _0x37e01a=_0x354c00,{unitID:_0x159716,from:_0x4fb344,to:_0x303517,unitType:_0x4dae48}=_0x207648[_0x37e01a(0x3df)];return(await this[_0x37e01a(0x29f)][_0x37e01a(0x161)]({'metadata':void 0x0},{'unitID':_0x159716,'type':_0x4dae48,'from':_0x4fb344,'to':_0x303517}))[_0x37e01a(0x20b)];}};es=Pr([qe(0x0,_0x1727eb(_0x4e8dbf)),qe(0x1,_0x1727eb(_0x4fed41)),qe(0x2,_0x250a8d),qe(0x3,_0x3b4016),qe(0x4,_0x5f0191)],es);const Nr=_0x354c00(0x46c);function Ar(_0x537a2f){const _0x2a3005=_0x354c00;return JSON[_0x2a3005(0x2d5)](_0x537a2f)['length'];}class wi{constructor(){const _0x18a3b2=_0x354c00;g(this,_0x18a3b2(0x1c4),new _0x3189d9()),g(this,_0x18a3b2(0x526),this[_0x18a3b2(0x1c4)][_0x18a3b2(0x516)]());}[_0x354c00(0x354)](_0x565c8c){const _0x21cffa=_0x354c00;this[_0x21cffa(0x1c4)][_0x21cffa(0x2df)](_0x565c8c);}}var Mr=Object[_0x354c00(0x3cf)],xr=Object['getOwnPropertyDescriptor'],Lr=(_0x285776,_0x33a303,_0x669d35,_0x23b04e)=>{const _0x390d09=_0x354c00;for(var _0x16f081=_0x23b04e>0x1?void 0x0:_0x23b04e?xr(_0x33a303,_0x669d35):_0x33a303,_0x2c2c52=_0x285776[_0x390d09(0x2a0)]-0x1,_0xa99ae5;_0x2c2c52>=0x0;_0x2c2c52--)(_0xa99ae5=_0x285776[_0x2c2c52])&&(_0x16f081=(_0x23b04e?_0xa99ae5(_0x33a303,_0x669d35,_0x16f081):_0xa99ae5(_0x16f081))||_0x16f081);return _0x23b04e&&_0x16f081&&Mr(_0x33a303,_0x669d35,_0x16f081),_0x16f081;},Hs=(_0x455dab,_0x3550f9)=>(_0x24efe7,_0x56729d)=>_0x3550f9(_0x24efe7,_0x56729d,_0x455dab);function _0x33b4(_0x52f4f8,_0x240ace){const _0x2f9db3=_0x2f9d();return _0x33b4=function(_0x33b407,_0xb7d04f){_0x33b407=_0x33b407-0x141;let _0x297fb0=_0x2f9db3[_0x33b407];return _0x297fb0;},_0x33b4(_0x52f4f8,_0x240ace);}let Ne=class extends _0x1cb1cd{constructor(_0xa4e2b,_0x261db0){const _0x413a84=_0x354c00;super(),g(this,_0x413a84(0x206),new Map()),(this[_0x413a84(0x429)]=_0xa4e2b,this[_0x413a84(0x4da)]=_0x261db0,this[_0x413a84(0x181)](_0x48b865(_0x32fe1c(this[_0x413a84(0x429)][_0x413a84(0x364)](_0x208af7['UNIVER_SHEET'])['pipe'](_0x416fe6(_0x172b7f=>_0x172b7f[_0x413a84(0x191)]())),this[_0x413a84(0x429)][_0x413a84(0x364)](_0x208af7[_0x413a84(0x461)])[_0x413a84(0x43d)](_0x416fe6(_0x5d9326=>_0x5d9326[_0x413a84(0x191)]())),this[_0x413a84(0x429)]['getTypeOfUnitDisposed$'](_0x208af7[_0x413a84(0x288)])[_0x413a84(0x43d)](_0x416fe6(_0x1acc6e=>_0x1acc6e['getUnitId']())))[_0x413a84(0x51f)](_0x1c5847=>this[_0x413a84(0x148)](_0x1c5847)))));}[_0x354c00(0x2c6)](_0xe1da02){const _0x34d363=_0x354c00;this['_userManagerService'][_0x34d363(0x2c6)](_0xe1da02);}[_0x354c00(0x3ba)](){const _0x5a69de=_0x354c00;return this['_userManagerService'][_0x5a69de(0x3ba)]();}[_0x354c00(0x4a0)](_0x55362f,_0x5232b4){const _0x14b8db=_0x354c00;let _0x1fb402=this[_0x14b8db(0x206)][_0x14b8db(0x291)](_0x55362f);_0x1fb402||(_0x1fb402=new $r(),this[_0x14b8db(0x206)][_0x14b8db(0x244)](_0x55362f,_0x1fb402)),_0x1fb402[_0x14b8db(0x4a0)](_0x5232b4);}[_0x354c00(0x43b)](_0x5a248d,_0x58ea05){const _0x7b6da1=_0x354c00,_0xd23c56=this[_0x7b6da1(0x206)][_0x7b6da1(0x291)](_0x5a248d);_0xd23c56&&_0xd23c56[_0x7b6da1(0x43b)](_0x58ea05);}['getRoom'](_0x4c9c04){const _0xfbd9ad=_0x354c00;return this[_0xfbd9ad(0x206)][_0xfbd9ad(0x291)](_0x4c9c04);}[_0x354c00(0x24b)](_0x482a25,_0x46cf3b){const _0x40d1ac=_0x354c00,_0x5a9336=this['_roomMembers'][_0x40d1ac(0x291)](_0x482a25);if(_0x5a9336)return _0x5a9336[_0x40d1ac(0x24b)](_0x46cf3b);}[_0x354c00(0x148)](_0x12e79a){const _0x257ff3=_0x354c00,_0x3b6b52=this[_0x257ff3(0x206)]['get'](_0x12e79a);_0x3b6b52&&(_0x3b6b52[_0x257ff3(0x4d7)](),this[_0x257ff3(0x206)][_0x257ff3(0x361)](_0x12e79a));}[_0x354c00(0x4d7)](){const _0x482155=_0x354c00;this[_0x482155(0x206)]['forEach'](_0x4069e0=>_0x4069e0[_0x482155(0x4d7)]()),this[_0x482155(0x206)][_0x482155(0x16d)]();}};Ne=Lr([Hs(0x0,_0x48d976),Hs(0x1,_0x1727eb(_0x11a762))],Ne);class $r extends _0x1cb1cd{constructor(){const _0x2c9962=_0x354c00;super(...arguments),g(this,_0x2c9962(0x1bf),new Map());}[_0x354c00(0x4d7)](){const _0xe3faf7=_0x354c00;this[_0xe3faf7(0x1bf)]['clear']();}[_0x354c00(0x4a0)](_0x178fe3){const _0x4822ba=_0x354c00;this[_0x4822ba(0x1bf)][_0x4822ba(0x244)](_0x178fe3['memberID'],_0x178fe3);}[_0x354c00(0x43b)](_0x4049eb){this['_members']['delete'](_0x4049eb);}[_0x354c00(0x24b)](_0x2b45cf){const _0x5e3447=_0x354c00;return this['_members'][_0x5e3447(0x291)](_0x2b45cf);}[_0x354c00(0x1b5)](){const _0x15d097=_0x354c00;return Array[_0x15d097(0x29a)](this[_0x15d097(0x1bf)][_0x15d097(0x211)]());}}var Hr=Object['defineProperty'],jr=Object['getOwnPropertyDescriptor'],Br=(_0x31d0ec,_0x328774,_0x220322,_0x5d86bd)=>{for(var _0xe1d4b6=_0x5d86bd>0x1?void 0x0:_0x5d86bd?jr(_0x328774,_0x220322):_0x328774,_0x5bd073=_0x31d0ec['length']-0x1,_0x24d1ce;_0x5bd073>=0x0;_0x5bd073--)(_0x24d1ce=_0x31d0ec[_0x5bd073])&&(_0xe1d4b6=(_0x5d86bd?_0x24d1ce(_0x328774,_0x220322,_0xe1d4b6):_0x24d1ce(_0xe1d4b6))||_0xe1d4b6);return _0x5d86bd&&_0xe1d4b6&&Hr(_0x328774,_0x220322,_0xe1d4b6),_0xe1d4b6;},Ee=(_0x5b55b0,_0x110593)=>(_0x25ce61,_0x120faa)=>_0x110593(_0x25ce61,_0x120faa,_0x5b55b0),ve=(_0x844a5c=>(_0x844a5c[_0x844a5c[_0x354c00(0x410)]=0x0]='IDLE',_0x844a5c[_0x844a5c[_0x354c00(0x307)]=0x1]='JOINING',_0x844a5c[_0x844a5c[_0x354c00(0x4eb)]=0x2]=_0x354c00(0x4eb),_0x844a5c[_0x844a5c['ONLINE']=0x3]=_0x354c00(0x29c),_0x844a5c))(ve||{});let ts=class extends _0x1bd493{constructor(_0x49082d,_0x26dd8e,_0x4465bd,_0x12ef4a,_0x565614,_0x5d9bd8,_0x435215,_0x176d71,_0x5a83db,_0xff6c84){const _0x45b310=_0x354c00;super(),g(this,_0x45b310(0x3af),new _0x5ea788(0x0)),g(this,_0x45b310(0x528),this['_sessionStatus$'][_0x45b310(0x516)]()),g(this,_0x45b310(0x398),new _0x3189d9()),g(this,_0x45b310(0x467),this[_0x45b310(0x398)][_0x45b310(0x516)]()),g(this,_0x45b310(0x174)),g(this,'_socketMessageSubscription'),g(this,_0x45b310(0x4c6)),g(this,_0x45b310(0x3a1),!0x1),g(this,_0x45b310(0x556),null),(this[_0x45b310(0x359)]=_0x49082d,this[_0x45b310(0x3b6)]=_0x4465bd,this[_0x45b310(0x27c)]=_0x12ef4a,this[_0x45b310(0x221)]=_0x565614,this[_0x45b310(0x53b)]=_0x5d9bd8,this['_localeService']=_0x435215,this[_0x45b310(0x390)]=_0x176d71,this[_0x45b310(0x323)]=_0x5a83db,this[_0x45b310(0x27b)]=_0xff6c84,this[_0x45b310(0x3a1)]=!!this[_0x45b310(0x27b)],_0x26dd8e[_0x45b310(0x43d)](_0x144dfb(this[_0x45b310(0x14d)]))[_0x45b310(0x51f)](_0x8c4df0=>{const _0x182c18=_0x45b310;var _0x22ddf4;typeof _0x8c4df0>'u'||(this[_0x182c18(0x174)]=_0x8c4df0,_0x8c4df0?(this[_0x182c18(0x51b)](_0x8c4df0),this[_0x182c18(0x484)]=_0x8c4df0[_0x182c18(0x2b1)][_0x182c18(0x51f)](_0x2be55a=>{const _0x206725=_0x182c18;_0x2be55a[_0x206725(0x318)]===this[_0x206725(0x359)]&&this[_0x206725(0x4c2)](_0x2be55a);})):(this[_0x182c18(0x1cf)](),this[_0x182c18(0x3af)][_0x182c18(0x2df)](0x2),(_0x22ddf4=this['_socketMessageSubscription'])==null||_0x22ddf4[_0x182c18(0x4fa)](),this['_socketMessageSubscription']=null));}),this[_0x45b310(0x181)](this['_beforeCloseService'][_0x45b310(0x38f)](()=>{const _0x111140=_0x45b310;var _0x1de31c;(_0x1de31c=this[_0x111140(0x174)])==null||_0x1de31c['send']({'cmd':W[_0x111140(0x1ae)],'data':{'roomID':this[_0x111140(0x359)]}});})));}get[_0x354c00(0x1a1)](){const _0x56f6ac=_0x354c00;return this[_0x56f6ac(0x3af)][_0x56f6ac(0x156)]();}['getMemberID'](){const _0xdc4fe=_0x354c00;var _0x1ed93c,_0x42bde4;return(_0x42bde4=(_0x1ed93c=this[_0xdc4fe(0x174)])==null?void 0x0:_0x1ed93c['memberID'])!=null?_0x42bde4:null;}[_0x354c00(0x4d7)](){const _0x145192=_0x354c00;super[_0x145192(0x4d7)](),this[_0x145192(0x14d)][_0x145192(0x2df)](),this['dispose$']['complete']();}[_0x354c00(0x4ea)](){const _0x2a0a2a=_0x354c00;var _0x1cdb10,_0xf184f7;this[_0x2a0a2a(0x1cf)](),(_0x1cdb10=this['_socket'])==null||_0x1cdb10['send']({'cmd':W[_0x2a0a2a(0x1ae)],'data':{'roomID':this['_unitID']}}),(_0xf184f7=this[_0x2a0a2a(0x174)])==null||_0xf184f7[_0x2a0a2a(0x4ea)](),this['_event$'][_0x2a0a2a(0x367)](),this['_sessionStatus$'][_0x2a0a2a(0x367)](),this['dispose']();}['_onCombEvent'](_0x246dfe){const _0x33e7e9=_0x354c00;_0x246dfe['cmd']===W[_0x33e7e9(0x208)]?this[_0x33e7e9(0x537)](_0x246dfe):_0x246dfe['cmd']===W[_0x33e7e9(0x529)]&&this[_0x33e7e9(0x19f)](_0x246dfe);}[_0x354c00(0x51b)](_0x2980aa){const _0x1fd137=_0x354c00;this[_0x1fd137(0x3af)][_0x1fd137(0x2df)](0x1),_0x2980aa[_0x1fd137(0x2da)]({'cmd':W[_0x1fd137(0x208)],'routeKey':this[_0x1fd137(0x359)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x354c00(0x537)](_0x3f29ea){const _0xad0699=_0x354c00;var _0x4a7df7;if(_0x3f29ea[_0xad0699(0x4b9)]===Is[_0xad0699(0x399)]){this[_0xad0699(0x221)][_0xad0699(0x24e)]({'type':_0x3960e0[_0xad0699(0x435)],'content':this['_localeService']['t'](_0xad0699(0x18f))}),this['_sessionStatus$']['next'](0x2);return;}this[_0xad0699(0x3af)][_0xad0699(0x2df)](0x3);const _0x44c4f1=(_0x4a7df7=_0x3f29ea[_0xad0699(0x3df)][_0xad0699(0x31d)][this[_0xad0699(0x359)]])==null?void 0x0:_0x4a7df7[_0xad0699(0x19d)];_0x44c4f1&&_0x44c4f1[_0xad0699(0x3f0)](_0x1b8472=>this[_0xad0699(0x390)][_0xad0699(0x4a0)](this['_unitID'],_0x1b8472));}[_0x354c00(0x19f)](_0x5e7711){const _0x1b6e87=_0x354c00;try{const _0x275d7a=_0x5e7711['data'];switch(_0x275d7a[_0x1b6e87(0x338)]){case _0x5fb817[_0x1b6e87(0x409)]:this[_0x1b6e87(0x320)](_0x275d7a),this[_0x1b6e87(0x398)][_0x1b6e87(0x2df)](_0x275d7a);break;case _0x5fb817['USERS_LEAVE']:this[_0x1b6e87(0x21f)](_0x275d7a),this[_0x1b6e87(0x398)][_0x1b6e87(0x2df)](_0x275d7a);break;case _0x5fb817[_0x1b6e87(0x28e)]:case _0x5fb817[_0x1b6e87(0x205)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$']['next'](_0x275d7a);break;case _0x5fb817[_0x1b6e87(0x4a1)]:this[_0x1b6e87(0x3b6)][_0x1b6e87(0x2f1)](_0x1b6e87(0x55e)+JSON[_0x1b6e87(0x2d5)](_0x275d7a)),this[_0x1b6e87(0x398)]['next'](_0x275d7a);break;case _0x5fb817[_0x1b6e87(0x3a6)]:this[_0x1b6e87(0x323)][_0x1b6e87(0x354)](_0x275d7a['data']),this[_0x1b6e87(0x398)]['next'](_0x275d7a);break;default:this[_0x1b6e87(0x398)]['next'](_0x275d7a);}}catch(_0x15999d){this[_0x1b6e87(0x3b6)][_0x1b6e87(0x2f1)](_0x15999d,_0x5e7711);}}[_0x354c00(0x320)](_0x3a3199){const _0x958a9f=_0x354c00;this[_0x958a9f(0x390)]['updateMember'](this[_0x958a9f(0x359)],_0x3a3199[_0x958a9f(0x3df)]);}[_0x354c00(0x21f)](_0x1d00fc){const _0x723ddb=_0x354c00;this[_0x723ddb(0x390)][_0x723ddb(0x43b)](this['_unitID'],_0x1d00fc[_0x723ddb(0x3df)]['memberID']);}async[_0x354c00(0x2da)](_0x3943b8,_0x207d3c){const _0x45ca45=_0x354c00;if(this[_0x45ca45(0x1a1)]!==0x3||!this['_socket'])throw new Error(_0x45ca45(0x179));try{_0x3943b8[_0x45ca45(0x338)]===_0x5fb817[_0x45ca45(0x3f5)]&&(this[_0x45ca45(0x51a)](),this[_0x45ca45(0x1be)](_0x3943b8)),this[_0x45ca45(0x174)][_0x45ca45(0x2da)]({'cmd':W[_0x45ca45(0x4e0)],'routeKey':_0x207d3c,'routeType':'','data':_0x3943b8});}catch(_0x787df){this[_0x45ca45(0x3b6)][_0x45ca45(0x2f1)](_0x787df);}}['_scheduleCollaborationTimeoutTimer'](){const _0x2a6de3=_0x354c00;var _0x45b54a;this[_0x2a6de3(0x4c6)]=window['setTimeout'](()=>{const _0x55595a=_0x2a6de3;this[_0x55595a(0x4c6)]=null,this['_messageService']['show']({'type':_0x3960e0[_0x55595a(0x154)],'content':this[_0x55595a(0x31f)]['t'](_0x55595a(0x442))});},(_0x45b54a=this[_0x2a6de3(0x53b)][_0x2a6de3(0x246)](bi))!=null?_0x45b54a:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x5ad695=_0x354c00;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5ad695(0x4c6)]),this[_0x5ad695(0x4c6)]=null);}[_0x354c00(0x1be)](_0x1b4e22){const _0x2617ae=_0x354c00;if(!this[_0x2617ae(0x3a1)])return;const {data:_0xcca793}=_0x1b4e22,{unitID:_0x41e90c,changeset:_0x320996}=_0xcca793,{mutations:_0x14ba92,type:_0x5222db}=_0x320996;this[_0x2617ae(0x556)]={'unitId':_0x41e90c,'type':_0x5222db,'startTime':performance[_0x2617ae(0x250)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x14ba92)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x1de25c=_0x354c00;if(this[_0x1de25c(0x3a1)]){if(!this[_0x1de25c(0x556)]){this[_0x1de25c(0x3b6)][_0x1de25c(0x2f1)](_0x1de25c(0x560),_0x1de25c(0x439));return;}this[_0x1de25c(0x556)][_0x1de25c(0x4c3)]=performance[_0x1de25c(0x250)](),this[_0x1de25c(0x556)][_0x1de25c(0x3ea)]=this['_telemetryInfo'][_0x1de25c(0x4c3)]-this[_0x1de25c(0x556)][_0x1de25c(0x3e2)],this['_telemetryService'][_0x1de25c(0x20a)](Nr,this[_0x1de25c(0x556)]),this[_0x1de25c(0x556)]=null;}}[_0x354c00(0x1cf)](){this['_telemetryInfo']=null;}};ts=Br([Ee(0x2,_0x3b4016),Ee(0x3,_0x169eb0),Ee(0x4,_0x35026c),Ee(0x5,_0x250a8d),Ee(0x6,_0x1727eb(_0x382d24)),Ee(0x7,_0x1727eb(Ne)),Ee(0x8,_0x1727eb(wi)),Ee(0x9,_0x213697(_0x48fa6d))],ts);var kr=Object['defineProperty'],Wr=Object[_0x354c00(0x20e)],Fr=(_0x3e3204,_0x3284b2,_0x3df662,_0x4dd595)=>{const _0x4f8066=_0x354c00;for(var _0x545fd1=_0x4dd595>0x1?void 0x0:_0x4dd595?Wr(_0x3284b2,_0x3df662):_0x3284b2,_0x3bf120=_0x3e3204[_0x4f8066(0x2a0)]-0x1,_0x377e95;_0x3bf120>=0x0;_0x3bf120--)(_0x377e95=_0x3e3204[_0x3bf120])&&(_0x545fd1=(_0x4dd595?_0x377e95(_0x3284b2,_0x3df662,_0x545fd1):_0x377e95(_0x545fd1))||_0x545fd1);return _0x4dd595&&_0x545fd1&&kr(_0x3284b2,_0x3df662,_0x545fd1),_0x545fd1;},je=(_0x1d4d5a,_0x41b6b5)=>(_0x461eaa,_0x47462e)=>_0x41b6b5(_0x461eaa,_0x47462e,_0x1d4d5a);let Ae=class extends _0x1cb1cd{constructor(_0x38a189,_0x4b2454,_0x3d33a0,_0x19ad4e,_0x39434a,_0x1522cc){const _0x5a3527=_0x354c00;super(),g(this,_0x5a3527(0x259),new _0x5ea788(void 0x0)),g(this,'socket$',this[_0x5a3527(0x259)][_0x5a3527(0x516)]()),g(this,_0x5a3527(0x2e9),null),g(this,_0x5a3527(0x4bd),new Map()),g(this,_0x5a3527(0x38e),new _0x5ea788(ve['IDLE'])),g(this,_0x5a3527(0x215),this[_0x5a3527(0x38e)][_0x5a3527(0x516)]()),g(this,_0x5a3527(0x382),!0x1),g(this,_0x5a3527(0x344)),g(this,_0x5a3527(0x448),0x0),g(this,_0x5a3527(0x4ce)),g(this,'_timeoutTimer'),(this[_0x5a3527(0x199)]=_0x38a189,this[_0x5a3527(0x31f)]=_0x4b2454,this[_0x5a3527(0x221)]=_0x3d33a0,this[_0x5a3527(0x3b6)]=_0x19ad4e,this[_0x5a3527(0x53b)]=_0x39434a,this[_0x5a3527(0x37e)]=_0x1522cc,this[_0x5a3527(0x2f8)]());}get[_0x354c00(0x174)](){const _0x58807f=_0x354c00;return this[_0x58807f(0x259)][_0x58807f(0x156)]();}[_0x354c00(0x2f8)](){const _0x35b289=_0x354c00;this[_0x35b289(0x481)](),this[_0x35b289(0x43e)]();}[_0x354c00(0x4d7)](){const _0x1aac63=_0x354c00;super[_0x1aac63(0x4d7)](),this['_sessions'][_0x1aac63(0x3f0)](_0x13e872=>_0x13e872[_0x1aac63(0x4d7)]()),this[_0x1aac63(0x4bd)][_0x1aac63(0x16d)](),this[_0x1aac63(0x38e)][_0x1aac63(0x367)]();}async['requireSession'](_0x53ec05){const _0x29f2ac=_0x354c00;if(this[_0x29f2ac(0x4bd)][_0x29f2ac(0x272)](_0x53ec05))return this[_0x29f2ac(0x4bd)][_0x29f2ac(0x291)](_0x53ec05);this[_0x29f2ac(0x4ff)]();const _0x56944d=this[_0x29f2ac(0x199)]['createInstance'](ts,_0x53ec05,this[_0x29f2ac(0x259)]['asObservable']());return this[_0x29f2ac(0x4bd)]['set'](_0x53ec05,_0x56944d),_0x56944d;}[_0x354c00(0x52a)](_0x276a52){const _0x288f81=_0x354c00;var _0x2eff25;const _0x3d80fc=this[_0x288f81(0x4bd)][_0x288f81(0x291)](_0x276a52);_0x3d80fc&&(this[_0x288f81(0x4bd)][_0x288f81(0x361)](_0x276a52),_0x3d80fc['close']()),this[_0x288f81(0x4bd)][_0x288f81(0x1e0)]||(_0x2eff25=this[_0x288f81(0x174)])==null||_0x2eff25[_0x288f81(0x4ea)]();}['reconnect'](){const _0x11ead0=_0x354c00;this[_0x11ead0(0x448)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x11ead0(0x344)]),this[_0x11ead0(0x344)]=null),this[_0x11ead0(0x27e)]();}[_0x354c00(0x1b3)](){const _0x3a6ee4=_0x354c00;var _0x279dff,_0x214eea;const _0x218208=this[_0x3a6ee4(0x53b)][_0x3a6ee4(0x246)](ur),_0x3a306b=this[_0x3a6ee4(0x53b)][_0x3a6ee4(0x246)](ie),_0x1e2f65=(_0x214eea=(_0x279dff=_0x3a306b==null?void 0x0:_0x3a306b[_0x3a6ee4(0x2f2)])!=null?_0x279dff:_0x218208)!=null?_0x214eea:dr,_0x1babbe=this[_0x3a6ee4(0x37e)][_0x3a6ee4(0x1e9)](_0x1e2f65);return this[_0x3a6ee4(0x2e9)]=_0x1babbe,_0x1babbe;}[_0x354c00(0x4ff)](){const _0x29304a=_0x354c00;var _0x376cbc,_0x4011d5;try{const _0x1ba366=(_0x4011d5=(_0x376cbc=this['_socket'])!=null?_0x376cbc:this[_0x29304a(0x2e9)])!=null?_0x4011d5:this[_0x29304a(0x1b3)]();if(_0x1ba366){const _0x4c8806=_0x1ba366[_0x29304a(0x2da)];_0x1ba366[_0x29304a(0x2da)]=_0x23a69c=>(this[_0x29304a(0x209)](),_0x4c8806[_0x29304a(0x3ee)](_0x1ba366,[_0x23a69c])),_0x1ba366[_0x29304a(0x2b1)][_0x29304a(0x51f)](_0x28e852=>this['_onMessage'](_0x1ba366,_0x28e852)),_0x1ba366[_0x29304a(0x561)][_0x29304a(0x43d)](_0x217ea4(0x1))[_0x29304a(0x51f)](_0x1af21e=>this['_logService'][_0x29304a(0x2f1)]('[CollaborationSessionService]:\x20socket\x20error',_0x1af21e)),_0x1ba366[_0x29304a(0x465)][_0x29304a(0x43d)](_0x217ea4(0x1))[_0x29304a(0x51f)](()=>{const _0x1376cc=_0x29304a;this[_0x1376cc(0x3cb)](_0x1ba366);}),_0x1ba366['close$'][_0x29304a(0x43d)](_0x217ea4(0x1))[_0x29304a(0x51f)](_0x2a8263=>{const _0x59f91e=_0x29304a;this[_0x59f91e(0x3b6)][_0x59f91e(0x4c5)](_0x59f91e(0x4b6),_0x59f91e(0x3a9),_0x2a8263),this[_0x59f91e(0x4e2)]();});}}catch(_0x23b475){this['_logService'][_0x29304a(0x2f1)](_0x23b475),this['_onConnectionFailed']();}}[_0x354c00(0x3cb)](_0x3a1fc9){const _0x4f37d8=_0x354c00;this[_0x4f37d8(0x3b6)]['debug'](_0x4f37d8(0x4b6),_0x4f37d8(0x245)),_0x3a1fc9[_0x4f37d8(0x2da)]({'cmd':W['HELLO']}),this['_rescheduleHeartbeat']();}[_0x354c00(0x481)](){const _0x1c7d53=_0x354c00;window[_0x1c7d53(0x1b9)](_0x1c7d53(0x26e),()=>this[_0x1c7d53(0x336)]());}[_0x354c00(0x336)](){const _0x1c4716=_0x354c00;this[_0x1c4716(0x382)]=!0x1,this['_candidateSocket']=null,this[_0x1c4716(0x38e)]['next'](ve[_0x1c4716(0x4eb)]),this[_0x1c4716(0x259)][_0x1c4716(0x2df)](null),this[_0x1c4716(0x26a)](),this[_0x1c4716(0x40e)]();}[_0x354c00(0x4e2)](){const _0x2104c7=_0x354c00;var _0x3a9d0e;this['_onOffline'](),this[_0x2104c7(0x448)]<((_0x3a9d0e=this[_0x2104c7(0x53b)]['getConfig'](pr))!=null?_0x3a9d0e:gr)?(this[_0x2104c7(0x221)][_0x2104c7(0x24e)]({'key':'collaboration-session-retry','type':_0x3960e0['Warning'],'content':this[_0x2104c7(0x31f)]['t'](_0x2104c7(0x160))}),this['_tryReconnect']()):this[_0x2104c7(0x221)][_0x2104c7(0x24e)]({'key':'collaboration-session-retry','type':_0x3960e0[_0x2104c7(0x154)],'content':this[_0x2104c7(0x31f)]['t'](_0x2104c7(0x421))});}[_0x354c00(0x43e)](){const _0xc4da2e=_0x354c00,_0x3d9173=()=>{const _0x1266af=_0x33b4;this[_0x1266af(0x174)]||this[_0x1266af(0x4d8)]();},_0x20ed3a=()=>{const _0x453b12=_0x33b4;this['_socket']||document[_0x453b12(0x4d0)]===_0x453b12(0x2c1)||this[_0x453b12(0x4d8)]();};window[_0xc4da2e(0x1b9)](_0xc4da2e(0x19b),_0x3d9173),document[_0xc4da2e(0x1b9)]('visibilitychange',_0x20ed3a);}[_0x354c00(0x27e)](){const _0x2783b4=_0x354c00;var _0x3c666e;const _0x414542=this[_0x2783b4(0x448)],_0x9c6b7c=this['_configService'][_0x2783b4(0x246)](ie),_0x254306=_0x414542===0x0?0x0:((_0x3c666e=_0x9c6b7c==null?void 0x0:_0x9c6b7c[_0x2783b4(0x363)])!=null?_0x3c666e:mr)*0x2**_0x414542;this[_0x2783b4(0x344)]=window[_0x2783b4(0x510)](()=>{const _0x1bf428=_0x2783b4;clearTimeout(this[_0x1bf428(0x344)]),this[_0x1bf428(0x344)]=null,this['_tryEnsureSocket']();},_0x254306),this[_0x2783b4(0x448)]+=0x1;}[_0x354c00(0x55f)](_0x1fc9d6,_0x482ca6){const _0x2d14cf=_0x354c00,{cmd:_0x153e3}=_0x482ca6;_0x153e3===W[_0x2d14cf(0x423)]&&!this['_socketReady']&&(_0x1fc9d6[_0x2d14cf(0x418)]=_0x482ca6['data'][_0x2d14cf(0x418)],this[_0x2d14cf(0x259)][_0x2d14cf(0x2df)](_0x1fc9d6),this[_0x2d14cf(0x38e)][_0x2d14cf(0x2df)](ve[_0x2d14cf(0x29c)]),this['_socketReady']=!0x0,this[_0x2d14cf(0x2e9)]=null),_0x153e3===W['HEARTBEAT']&&this[_0x2d14cf(0x26a)](),this[_0x2d14cf(0x209)]();}[_0x354c00(0x209)](){const _0x5ae410=_0x354c00;var _0x6c1ef3;this[_0x5ae410(0x40e)](),this[_0x5ae410(0x4ce)]=window[_0x5ae410(0x510)](()=>this['_sendHeartbeat'](),(_0x6c1ef3=this[_0x5ae410(0x53b)][_0x5ae410(0x246)](fr))!=null?_0x6c1ef3:vr);}[_0x354c00(0x392)](){const _0x2e7042=_0x354c00;this[_0x2e7042(0x174)][_0x2e7042(0x2da)]({'cmd':W[_0x2e7042(0x476)]}),this[_0x2e7042(0x239)]();}[_0x354c00(0x239)](){const _0x5bf2cd=_0x354c00;var _0x10c9d1;this[_0x5bf2cd(0x16f)]=window[_0x5bf2cd(0x510)](()=>this[_0x5bf2cd(0x4e2)](),(_0x10c9d1=this[_0x5bf2cd(0x53b)]['getConfig'](bi))!=null?_0x10c9d1:Ti);}[_0x354c00(0x40e)](){const _0xdf069=_0x354c00;this[_0xdf069(0x4ce)]!=null&&(clearTimeout(this[_0xdf069(0x4ce)]),this[_0xdf069(0x4ce)]=null);}[_0x354c00(0x26a)](){const _0x48c4b0=_0x354c00;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x48c4b0(0x16f)]),this[_0x48c4b0(0x16f)]=null);}};Ae=Fr([je(0x0,_0x1727eb(_0x5d0612)),je(0x1,_0x1727eb(_0x382d24)),je(0x2,_0x35026c),je(0x3,_0x3b4016),je(0x4,_0x250a8d),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x354c00(0x301)]((i+0x100)[_0x354c00(0x3d1)](0x10)[_0x354c00(0x475)](0x1));function Vr(_0x230ad6,_0x10f3a7=0x0){return(Y[_0x230ad6[_0x10f3a7+0x0]]+Y[_0x230ad6[_0x10f3a7+0x1]]+Y[_0x230ad6[_0x10f3a7+0x2]]+Y[_0x230ad6[_0x10f3a7+0x3]]+'-'+Y[_0x230ad6[_0x10f3a7+0x4]]+Y[_0x230ad6[_0x10f3a7+0x5]]+'-'+Y[_0x230ad6[_0x10f3a7+0x6]]+Y[_0x230ad6[_0x10f3a7+0x7]]+'-'+Y[_0x230ad6[_0x10f3a7+0x8]]+Y[_0x230ad6[_0x10f3a7+0x9]]+'-'+Y[_0x230ad6[_0x10f3a7+0xa]]+Y[_0x230ad6[_0x10f3a7+0xb]]+Y[_0x230ad6[_0x10f3a7+0xc]]+Y[_0x230ad6[_0x10f3a7+0xd]]+Y[_0x230ad6[_0x10f3a7+0xe]]+Y[_0x230ad6[_0x10f3a7+0xf]])['toLowerCase']();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x3ea694=_0x354c00;if(!Nt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x3ea694(0x28f));Nt=crypto[_0x3ea694(0x3c5)][_0x3ea694(0x302)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x354c00(0x302)](crypto),js={'randomUUID':Kr};function zr(_0x6eb7c5,_0x44abd6,_0x6158dc){const _0x494d38=_0x354c00;if(js[_0x494d38(0x2c5)]&&!_0x44abd6&&!_0x6eb7c5)return js[_0x494d38(0x2c5)]();_0x6eb7c5=_0x6eb7c5||{};const _0x2161b5=_0x6eb7c5['random']||(_0x6eb7c5[_0x494d38(0x309)]||Yr)();return _0x2161b5[0x6]=_0x2161b5[0x6]&0xf|0x40,_0x2161b5[0x8]=_0x2161b5[0x8]&0x3f|0x80,Vr(_0x2161b5);}var qr=Object[_0x354c00(0x3cf)],Xr=Object[_0x354c00(0x20e)],Jr=(_0x39a23d,_0x33aa4b,_0x5195c7,_0x435386)=>{const _0x39021b=_0x354c00;for(var _0x46c4a4=_0x435386>0x1?void 0x0:_0x435386?Xr(_0x33aa4b,_0x5195c7):_0x33aa4b,_0x491e3c=_0x39a23d[_0x39021b(0x2a0)]-0x1,_0x4e90d5;_0x491e3c>=0x0;_0x491e3c--)(_0x4e90d5=_0x39a23d[_0x491e3c])&&(_0x46c4a4=(_0x435386?_0x4e90d5(_0x33aa4b,_0x5195c7,_0x46c4a4):_0x4e90d5(_0x46c4a4))||_0x46c4a4);return _0x435386&&_0x46c4a4&&qr(_0x33aa4b,_0x5195c7,_0x46c4a4),_0x46c4a4;},At=(_0x50afc1,_0x44450f)=>(_0x21e16b,_0x25c36e)=>_0x44450f(_0x21e16b,_0x25c36e,_0x50afc1);let ft=class{constructor(_0x3e4c39,_0x243be8,_0x691c98){const _0x4b04fb=_0x354c00;this[_0x4b04fb(0x199)]=_0x3e4c39,this['_transformService']=_0x243be8,this[_0x4b04fb(0x473)]=_0x691c98;}[_0x354c00(0x425)](_0x3e6c8d){const _0x418f82=_0x354c00;this[_0x418f82(0x1b6)](_0x3e6c8d),this[_0x418f82(0x4f0)](_0x3e6c8d);}[_0x354c00(0x347)](_0x58dac6){const _0x5c08c7=_0x354c00,{unitID:_0x457f3f}=_0x58dac6,_0x12f773=this[_0x5c08c7(0x473)][_0x5c08c7(0x3d8)](_0x457f3f)['with'](_0x2f9898),{redoCache:_0x112881}=_0x12f773[_0x5c08c7(0x235)]();if(_0x112881[_0x5c08c7(0x2a0)]===0x0)return _0x58dac6;let _0x80d40d=_0x4127e3['deepClone'](_0x58dac6[_0x5c08c7(0x24d)][0x0]);for(let _0x31d227=0x0;_0x31d227<_0x112881[_0x5c08c7(0x2a0)];_0x31d227++){const _0x3fe39d={'id':_0x5c08c7(0x35d),'params':{..._0x112881[_0x31d227]}},_0x41f689=this[_0x5c08c7(0x329)][_0x5c08c7(0x2e0)](_0x80d40d,_0x3fe39d,!0x1);if(_0x17dd13(_0x41f689))throw _0x41f689['error'];_0x80d40d=_0x41f689[_0x5c08c7(0x411)];}return{..._0x4127e3[_0x5c08c7(0x31c)](_0x58dac6),'mutations':[_0x80d40d]};}[_0x354c00(0x1b6)](_0x56f431){const _0x3edbdc=_0x354c00,{unitID:_0x59c12c}=_0x56f431,_0x71bec3=this[_0x3edbdc(0x473)]['getRenderById'](_0x59c12c)[_0x3edbdc(0x503)](_0x2f9898),{undoCache:_0x17181e,redoCache:_0x590076}=_0x71bec3['getUndoRedoMutationParamsCache']();if(_0x17181e[_0x3edbdc(0x2a0)]===0x0||_0x590076['length']===0x0)return;const _0x75902d=[],_0x2a813b=[];let _0x3b765d=_0x4127e3[_0x3edbdc(0x31c)](_0x56f431['mutations'][0x0]),_0x27b00d=_0x4127e3['deepClone'](_0x56f431[_0x3edbdc(0x24d)][0x0]);for(let _0x195e78=_0x17181e[_0x3edbdc(0x2a0)]-0x1;_0x195e78>=0x0;_0x195e78--){const _0x539adc={'id':_0x3edbdc(0x35d),'params':{..._0x17181e[_0x195e78]}},_0x532bb8={'id':_0x3edbdc(0x35d),'params':{..._0x590076[_0x195e78]}},_0x168d88=this[_0x3edbdc(0x329)][_0x3edbdc(0x2e0)](_0x3b765d,_0x539adc,!0x1),_0x53d87f=this[_0x3edbdc(0x329)]['transformMutation'](_0x27b00d,_0x532bb8,!0x1);if(_0x17dd13(_0x168d88))throw _0x168d88[_0x3edbdc(0x2f1)];if(_0x17dd13(_0x53d87f))throw _0x53d87f[_0x3edbdc(0x2f1)];_0x75902d[_0x3edbdc(0x405)](_0x168d88['m2Prime'][_0x3edbdc(0x220)]),_0x2a813b['unshift'](_0x53d87f['m2Prime'][_0x3edbdc(0x220)]),_0x3b765d=_0x168d88[_0x3edbdc(0x411)],_0x27b00d=_0x53d87f[_0x3edbdc(0x411)];}_0x71bec3[_0x3edbdc(0x455)]({'undoCache':_0x75902d,'redoCache':_0x2a813b});}[_0x354c00(0x4f0)](_0x3f9413){const _0x3bd555=_0x354c00,{unitID:_0x16ce6e}=_0x3f9413,_0x404918=this['_renderManagerService'][_0x3bd555(0x3d8)](_0x16ce6e)[_0x3bd555(0x503)](_0x2f9898),_0x286f1c=_0x404918[_0x3bd555(0x488)]();if(_0x286f1c==null)return;const _0x587c96=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f9413[_0x3bd555(0x207)],'actions':null,'textRanges':[_0x286f1c]}}],_0x5bfb72=this[_0x3bd555(0x329)][_0x3bd555(0x219)](_0x3f9413,_0x587c96);if(!_0x295e25(_0x5bfb72))throw _0x5bfb72['error'];const _0x445610=_0x5bfb72[_0x3bd555(0x1b1)][0x0][_0x3bd555(0x220)]['textRanges'];Array[_0x3bd555(0x345)](_0x445610)&&_0x445610[_0x3bd555(0x2a0)]&&_0x404918['setActiveRange'](_0x445610[0x0]);}};ft=Jr([At(0x0,_0x1727eb(_0x5d0612)),At(0x1,_0xe30adb),At(0x2,_0xf0df93)],ft);var Zr=Object['defineProperty'],Qr=Object['getOwnPropertyDescriptor'],eo=(_0xed35e9,_0x4b3a90,_0x391f03,_0x2ac2c9)=>{for(var _0x473fa8=_0x2ac2c9>0x1?void 0x0:_0x2ac2c9?Qr(_0x4b3a90,_0x391f03):_0x4b3a90,_0x21ffc5=_0xed35e9['length']-0x1,_0x13e798;_0x21ffc5>=0x0;_0x21ffc5--)(_0x13e798=_0xed35e9[_0x21ffc5])&&(_0x473fa8=(_0x2ac2c9?_0x13e798(_0x4b3a90,_0x391f03,_0x473fa8):_0x13e798(_0x473fa8))||_0x473fa8);return _0x2ac2c9&&_0x473fa8&&Zr(_0x4b3a90,_0x391f03,_0x473fa8),_0x473fa8;},Xe=(_0x134ade,_0x11daa0)=>(_0x2b57ad,_0x317798)=>_0x11daa0(_0x2b57ad,_0x317798,_0x134ade);let q=class extends _0x1cb1cd{constructor(_0x2d1e82,_0x77430b,_0x29b3c9,_0xe58b62,_0x50cdbe){const _0x5712d4=_0x354c00;super(),g(this,_0x5712d4(0x381),new Map()),g(this,_0x5712d4(0x4e3),new Map()),g(this,_0x5712d4(0x3e4),!0x1),(this['_configService']=_0x2d1e82,this[_0x5712d4(0x4e1)]=_0x77430b,this[_0x5712d4(0x27c)]=_0x29b3c9,this['_localeService']=_0xe58b62,this[_0x5712d4(0x46f)]=_0x50cdbe,this[_0x5712d4(0x2e1)]());}[_0x354c00(0x412)](){const _0x59d5f1=_0x354c00;this[_0x59d5f1(0x3e4)]=!0x0;}[_0x354c00(0x298)](){const _0x8e027b=_0x354c00;this[_0x8e027b(0x3e4)]=!0x1;}['dispose'](){const _0x5b6c6f=_0x354c00;this[_0x5b6c6f(0x274)]()[_0x5b6c6f(0x1e4)](()=>super[_0x5b6c6f(0x4d7)]());}async[_0x354c00(0x4b8)](_0x505adc){const _0x133354=_0x354c00;return this['_disabled']?null:this[_0x133354(0x4e1)][_0x133354(0x2f7)](Bs(_0x505adc));}async['saveOfflineData'](_0x1139d0,_0x2b66cc){const _0x3b7e7a=_0x354c00;return!!this[_0x3b7e7a(0x4e1)][_0x3b7e7a(0x1d4)](_0x1139d0,_0x2b66cc);}[_0x354c00(0x47d)](_0xeb8c92,_0x159cdf,_0x620f63,_0x48e6cc){const _0x316a36=_0x354c00,_0xba17be=this[_0x316a36(0x46f)][_0x316a36(0x2cd)](_0xeb8c92);this['_cachedData'][_0x316a36(0x244)](_0xeb8c92,{'unitID':_0xeb8c92,'type':_0x159cdf,'awaitingChangeset':_0x620f63,'mutations':_0x48e6cc,'rev':_0xba17be}),this['_saveTaskMap'][_0x316a36(0x272)](_0xeb8c92)||this[_0x316a36(0x4ab)](_0xeb8c92);}[_0x354c00(0x4ab)](_0x442685){const _0x515696=_0x354c00,_0x1c938e=this[_0x515696(0x4ad)]();_0x1c938e===0x0?this[_0x515696(0x505)](_0x442685):this['_saveTaskMap']['set'](_0x442685,setTimeout(()=>this[_0x515696(0x505)](_0x442685),_0x1c938e));}['_getSaveTimeout'](){const _0x51ce3f=_0x354c00;var _0x4c6da3;return(_0x4c6da3=this['_configService'][_0x51ce3f(0x246)](Sr))!=null?_0x4c6da3:Ir;}[_0x354c00(0x505)](_0x4cb3e6){const _0x48610b=_0x354c00,_0x312f77=this[_0x48610b(0x4e3)][_0x48610b(0x291)](_0x4cb3e6);return _0x312f77!==void 0x0&&window[_0x48610b(0x303)](_0x312f77),this[_0x48610b(0x4e1)][_0x48610b(0x1d4)](Bs(_0x4cb3e6),this[_0x48610b(0x381)][_0x48610b(0x291)](_0x4cb3e6))[_0x48610b(0x1e4)](()=>this['_saveTaskMap'][_0x48610b(0x361)](_0x4cb3e6));}async[_0x354c00(0x274)](){const _0x26fc9c=_0x354c00,_0x21a2c0=[];this[_0x26fc9c(0x4e3)][_0x26fc9c(0x3f0)]((_0x3a742b,_0x2e66f3)=>{const _0x45f45f=_0x26fc9c;window[_0x45f45f(0x303)](_0x3a742b),_0x21a2c0[_0x45f45f(0x301)](this[_0x45f45f(0x505)](_0x2e66f3)[_0x45f45f(0x1e4)](()=>{const _0x70bbec=_0x45f45f;this['_saveTaskMap'][_0x70bbec(0x361)](_0x2e66f3);}));}),await Promise[_0x26fc9c(0x2f3)](_0x21a2c0);}[_0x354c00(0x2e1)](){const _0x3b0648=_0x354c00;this[_0x3b0648(0x181)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x4d5f22=_0x3b0648;if(this['_saveTaskMap'][_0x4d5f22(0x1e0)])return this[_0x4d5f22(0x31f)]['t'](_0x4d5f22(0x2d9));}));}};q=eo([Xe(0x0,_0x250a8d),Xe(0x1,_0xea98c6),Xe(0x2,_0x169eb0),Xe(0x3,_0x1727eb(_0x382d24)),Xe(0x4,_0x1727eb(_0x27820f))],q);function Bs(_0x105fc7){const _0x73bd5f=_0x354c00;return _0x73bd5f(0x36e)+_0x105fc7;}function _0x2f9d(){const _0xad74c9=['extend','[CollaborationSessionService]','_handleEvent','loadOfflineData','code','onCommandExecuted','_cursors','/-/object/list','_sessions','getActiveSheet','getViewport','HmacMD5','appendMutation','_onCombEvent','stopTime','createEncryptor','debug','_collaborationTimeoutTimer','1737169WhVTxJ','_docSkeleton','collaboration.closeRoom','onSyncEditingCollabCursor','FileId','state$','actions','_sendHeartbeatTimer','init','visibilityState','_docStateChangeManagerService','objects','reqId','SNAPSHOT_URL_KEY','tag','[FetchMissState]','dispose','reconnect','_refreshCollabCursors','_userManagerService','_substituteUndoStack','userID','ref','APPLY_PERMISSION_DENIED','_onCursorDelete','INGEST','_localStorageService','_onConnectionFailed','_saveTaskMap','...','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','map','_transformIMECache','_document','_drawRectRange','close','OFFLINE','json','HEADER_MENU','_hash','Pkcs7','_transformPreviousActiveRange','requireSession','pad','body','synced','sendChangesetTimeout','_transformHistoryAndStateStack','objectType','46708ENNvBY','_compressMutationService','unsubscribe','_getUploadFileURL','_clearOtherTimers','getUnhiddenWorksheets','_collabSessionService','_tryEnsureSocket','InsertRangeMoveDownCommandId','Base64','_resendTimeout','with','_transformStateCache','_saveCache','_ENC_XFORM_MODE','_getDownloadEndpointURL','black','fillRule','_getAPIPrefixPath','UNIVER_UNKNOWN','_ensureSubject','LIVESHARE_NEW_HOST','downloadEndpointUrl','csRejEvent','setTimeout','reset','buffer','_session','_onCursorUpdate','_initDependencies','asObservable','CONFLICT','collabStatus.synced','makeDirty','_scheduleCollaborationTimeoutTimer','_joinRoom','[PendingState]:\x20received\x20acknowledgement.','_anchor','_parse','subscribe','ERROR_EXCEED_SIZE','8bZKkAB','onRemoteAck','skeleton','_ws','[CollaborationUndoRedoService]','commentUpdate$','findNodePositionByCharIndex','sessionStatus$','RECV','closeSession','mixIn','[UniverCollaborationClientPlugin]','whenReady','_exhaustRemoteChangesetQueue','csAckEvent','failed\x20to\x20apply\x20missed\x20changesets!','startRow','setAlpha','newValue','c1Prime','localeService','_init','_onJoinRoomEvent','getCurrentUnitForType','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','on-line-single','_configService','RemoveRowCommandId','_changesetReqId','setShowComponents','PSEUDO_FETCH_MISSING_RESULT','_updateLocalCursor','_sheetSkeletonManagerService','\x20in\x20_schedule.','csShouldRetryEvent','restore','getResourcesRequest','equals','pushState','url(#on-line-single_clip0_910_349)','UNKNOWN_CMD','_sender','collaborators','_handleLeaveEvent','_docSyncEditingCollabCursorService','INVALID_ARGUMENT','univer-online-status','_getRedoStack','url','fill','_loadDoc','_heartbeatTimer','unload','_telemetryInfo','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onload','\x20to\x20','_assignedColors','/universer-api/stream/file/upload','BlockCipher','ReactCurrentOwner','save\x20fail\x20reason\x20is\x20','_onMessage','[CollaborationSession]','error$','location','abs','FETCH_MISSING','closePath','getDocRanges','range','_transitionLocked','_removeRoom','addImageSourceCache','isActive','liveShareOperation','COMPRESS_MUTATION_SEND','dispose$','NOT_COLLAB','_prevBlock','selections','RECT','originalMeta','_replaceFileID','Error','getMemberID','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','_getAPIPrefix','reduce','status','collab-text-anchor-','_onRemoteChangeset','_append','getUnitOnRev','onMouseMove','session.will-retry','fetchMissingChangesets','_minBufferSize','currentSkeleton$','HEARTBEAT_INTERVAL','&assign=','snapshot','SUCCUSS','/allowed','getUnit','fromCollab','assign','_collabCursorState$','clear','_transformUndoredo','_timeoutTimer','WordArray','_scheduleTimestamp','_initCommandExecutedListener','colorChannel1','_socket','number','_isPermissionRej','newCsEvent','socketService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','AWAITING','selection','react.fragment','purple300','moveTo','INTERNAL_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','disposeWithMe','conflict.content','endRow','replaceDocRanges','catch','sheetID','path','UniverIcon','_startCollaboration','RETRY_CONNECTING_MAX_COUNT','CHANGESET_REJ','transformChangesets','fetch_missing','storage','session.room-full','transformByState','getUnitId','update','encodeURIComponent','_textBubble','authzUrl','signUrlServerUrl','prototype','UNDEFINED','_injector','off-line-single_clip0_910_343','online','_change$','members','confirm','_onRecvEvent','href','sessionStatus','image/jpeg','_iv','_transformStack','string','call','[OfflineState]:\x20received\x20changeset.','_undoStacks','/new_changes','#fff','hide','_executeRemoteChangeset','/role','LEAVE','_getLoginPath','_unlockTransition','m2Prime','AWAITING_WITH_PENDING','_createSocket','OpenSSL','getAllMembers','_transformUndoRedoStack','_iKey','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','addEventListener','_queuedRemoteChangesets','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','for','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_startTelemetryCollaborationNewChangeset','_members','onlineStatusIcon','collaboration-client.config','setConfig','_showConflictNotification','_commentUpdate$','UNIVER_SHEET','split','_hideTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','resend','mode','searchParams','floor','_collaborationController','sigBytes','_throwTelemetryCollaborationNewChangeset','Unknown\x20user','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ws://127.0.0.1:8000/universer-api/comb/connect','min','setItem','enableSingleActiveInstanceLock','deleteCollaborator','UnitEmbedded','getAncestorScale','resize','_range','saveSnapshot','includes','LICENSE_IMPORT_SIZE_EXCEEDED','SNAPSHOT_SERVER_URL_KEY','salt','size','/rev/','_localCacheService','blockSize','then','jsx','transform','joinRsp','patch','createSocket','_entities','workbook','CHANGESET_REVISION_CONFILICT','/unit/','subscribeEvent','MoveRangeCommandId','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','onTransformIME','getSheetBySheetId','_docTransformSelectionsService','_submitChangeset','onTransformChange$','close$','_backgroundColor','createDecryptor','UNKNOWN_CODE','_removeCollabCursors','parse','_scheduleClearOtherTimer','textRanges','rev','UPDATE_PERMISSION_OBJ','_sendingTimer','clamp','clone','_id','_getSendChangesetTimeout','CHANGESET_SHOULD_RETRY','_roomMembers','unitID','JOIN','_rescheduleHeartbeat','capture','changesets','cursorInfo$','SEND_CHANGESET_TIMEOUT','getOwnPropertyDescriptor','currentTheme$','getStateCache','values','?size=','COMPLETION_FINISHED','add','status$','_onRemoteACK','[DataLoaderController]','[OfflineState]:\x20received\x20rejection.','transformMutationsWithChangeset','APPLY_REVISION_CONFILICT','_handler','_toggleOnline','/universer-api/file/{fileID}/sign-url','_draw','_onUserLeave','params','_messageService','current','DEFAULT_FILE_NAME','keySize','getUnitStatus$','onRendered','_resendWithTimeout','Undefined','Malformed\x20UTF-8\x20data','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_updateState','lib','div','setWaitCount','_getSignURL','enc','Latin1','pluginName','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','transformStack\x20failed!','getUndoRedoMutationParamsCache','url(#$1','16bIlRHn','getSheetId','_waitForHeartbeatResponse','reverse','getImage','cmd','red300','_createHelper','responseType','sheetId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','algo','registerHTTPInterceptor','set','socket\x20open.','getConfig','displayName','fetchThroughInterceptors','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Hasher','getMember','session','mutations','show','formatter','now','random','_updateLocalCache','none','_colorIndex','LIVESHARE_REQUEST_HOST','SYNCED','text','collab-rect-range-','_socket$','Encryptor','_pendingMutations','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_context','_key','indexOf','type','clearInterval','_clearRedo','padding','isPermissionRej','onMissedChangesetFetched','registerComponent','UPDATE_CURSOR','execute','/universer-api/oidc/authpage','_clearTimeoutTimer','engine','_replayCachedMutations','_initUnitPermissionChange','offline','roles','finalize','_unitOnClients','has','decryptBlock','exhaustSavingTask','_getCurrentRevision','name','_awaitingChangeset','batchAllowed','format','attrs','_telemetryService','_beforeCloseService','[PendingState]:\x20received\x20rejection.','_tryReconnect','Utf8','_redoStacks','jsxs','compose','\x0aAfter:\x20','Decryptor','redoState','_updateURLWithCurrentState','subUnitId','UNIVER_SLIDE','_updateCollabCursors','_http','permission.content','_docSkeletonManagerService','HttpExport','CHANGESET_ACK','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_state','get','_render','&source=','baseRev','onMissingChangesets','APPLY_DUPLICATED','_lastPointer','enableLocalCache','_collaborationSessionService','from','_instanceService','ONLINE','sid','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_snapshotServerService','length','Error\x20on\x20receiving\x20event','COMPRESS_MUTATION_APPLY','BlockCipherMode','Base','_toggleOffline','_hover','top','[CollaborationState]:\x20apply\x20error!','onTransformRemoteChangesetByIMECache','_keyPriorReset','/resources','9534915dviXiG','PasswordBasedCipher','?url=','hasOwnProperty','defIds','message$','startColumn','RemoveColCommandId','_collabCursorController','unknown','$super','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_setupSubUnitSync','loadSheet','PERMISSION_DENIED','filter','encode','getOffsetConfig','listRoles','getInterceptPoints','_keySchedule','hidden','_type','_waitCount','TEXT','randomUUID','setCurrentUser','requestParams','registerRenderModule','unit','_clearLocalCache','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMiss','getCurrentRevOfUnit','_send','round','rgba(255,\x20255,\x20255,\x200.01)','svg','/block/','onTransformState','FETCH_MISS','stringify','focused$','UNIVER_PROJECT','_uiPartsService','collaboration-client.offline-data-not-saved','send','hasher','{fileID}','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onlyLocal','next','transformMutation','_setupBeforeClosingHandler','children','_transformRemoteChangesetByStateCache','collabStatus.fetchMiss','COLLAB_SUBMIT_CHANGESET_URL','getVpScrollXYInfoByPosToVp','_getScale','onReady','_candidateSocket','AES','_getUndoStack','trim','react.element','_imageSourceCache','_clearUndo','image/gif','error','collabWebSocketUrl','all','setInterval','onTransformRemoteChangesetByStateCache','SNAPSHOT_HAS_BEEN_REMOVED','getItem','_initEventListeners','urlChange$','LOCAL_CACHE_INTERVAL','_getAnchorBounding','UUID','_refRangeService','_process','setParam','collab-text-range-','push','bind','clearTimeout','TOO_MANY_REQUESTS','file','_syncEditingCollabCursorService','JOINING','list','rng','objectID','measureText','append','/universer-api/authz','_checkMissing','[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.','target','lineTo','save','ciphertext','state','unitId','addObject','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','routeKey','getTypeOfUnitAdded$','/object/','_anchorDot','deepClone','roomInfos','_registerDependencies','_localeService','_onUserJoin','_data','_getSnapshotAPIPrefix','_commentService','compute','getOwnPropertySymbols','charCodeAt','translate(.97)','_cursorShapes','_transformService','getCurrentSelections','fillText','replaceState','unitId\x20is\x20not\x20found','1458368nFTAYG','not_collab','PENDING','origin','LIVESHARE_FETCH_OPERATIONS','row','x-univer-host','_hovered','_onOffline','width','eventID','beginPath','triggerDblclick','_color','words','withCredentials','interceptor','initWorkbookPermissionChange','awaiting','reject','UNRECOGNIZED','NoPadding','_retryConnectingTimer','isArray','roomMembers','transformRemoteChangeset','createInstance','ranges','UnitSnapshot','/fetchmissing?from=','CBC','enableOfflineEditing','evenodd','url(#off-line-single_clip0_910_343)','POST','getUniverSheetInstance','_eventUnsubscribe','collaboratorID','onCommentUpdate','fillStyle','updateCursorEvent','310404MxBOsv','_loadSheet','_unitID','UNAUTHENTICATED','defs','disposeUnit','doc.mutation.rich-text-editing','transformUndoRedo','contains','_getCtorByUniverType','delete','max','retryConnectingInterval','getTypeOfUnitDisposed$','executeCommand','_acknowledgedAwaitingChangeset','complete','bottom','onlineStatusTitle','charAt','975280PoEFGO','ALREADY_EXISTS','&to=','unit-cache-','OnLineSingle','_nRounds','_hasher','ERROR_IMAGE','OTHER_CLIENTS_EDITING','onlineStatus','_transformRemoteChangesetByIMECache','Univer','univer-pro.collaboration-client.single-active-unit-service','1em','SerializableCipher','unpad','_applyRemoteChangeset','_doFinalize','univer-pro.collaboration-client-socket-service','_socketService','_collaborationPaused','LICENSE_MAX_UNITS_EXCEEDED','_cachedData','_socketReady','/object','permissionRejEvent','_snapshotService','currentColor','1039632YjVHbu','default','clipPath','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','column','_undoRedoService','syncEditingCollabCursor','_status$','registerOnClose','_memberService','onPointerLeave$','_sendHeartbeat','onRemoteRetry','pauseCollaboration','YUUMI_SUBSCRIPTION_NOT_FOUND','_cursorInfo$','_roomMembers$','_event$','FAIL','Cipher','_scene','_updateSubUnitFromURLParams','_createHandler','cfg','VIEW_MAIN','BASE64','_shouldReportTelemetry','on-line-single_clip0_910_349','_handleHover','override','snapshotServerUrl','COMMENT_UPDATE','allowed','_colorAssignService','socket\x20close','objectActions','use','collabStatus.offline','OffLineSingle','HMAC','_sessionStatus$','getCollabEntity','_state$','className','_httpService','createCollaborator','_handleJoinEvent','_logService','BufferedBlockAlgorithm','setStateCache','icon','getCurrentUser','splice','decrypt','listCollaborators','arc','_name','randomBytes','readAsDataURL','_decreaseWaiting','HttpImport','LIVESHARE_OPERATION','getRandomValues','PERMISSION_REJ','getFocusedUnit','enableAuthServer','pending','collabStatus.syncing','_onConnectionOpen','cursorInfo','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','M0\x200H16V16H0z','defineProperty','#FFF','toString','Could\x20not\x20dynamically\x20require\x20\x22','univerjs-icon\x20univerjs-icon-','_oKey','object','_substituteRedoStack','_HTTPService','getRenderById','_entityInit$','getCollabEntity$','ERROR_IMAGE_TYPE','startsWith','kdf','SHOULD_CLOSE_CONN','data','_lockTransition','_selfUnitIDs','startTime','saveSheetBlock','_disabled','/-/object/-/batch_allowed','change$','_initStatusComponent','__Key__','_removeClearOtherTimer','duration','_clearScheduledTask','function','_labelPosition','apply','_onLocalMutation','forEach','_doCryptBlock','_reverseMap','color','assignAColorForMemberID','SUBMIT_CHANGESET','revision','create','_startDocCollabCursor','post','getSheetBlock','_schedule','_commandService','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','auth.needGotoLoginAlert','joinEvent','getUnitType','MD5','encrypt','_online','toggleOnline','unshift','NEW_CHANGESETS','univer-online-status-title','_urlService','USERS_ENTER','[SyncedState]:\x20received\x20acknowledgement.','_xformMode','crypto','onPointerEnter$','_clearHeartbeatTimer','replace','IDLE','m1Prime','disableLocalCache','_initMergeInterceptor','_cipher','_notificationService','collaboration.single-unit.warning','YUUMI_URL_COL_OUT_OF_RANGE','memberID','getRangePointData','popstate','collabStatus.conflict','drawWith','_initResize','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_DISTRO_REJECTED','_initRequestHeader','session.connection-failed','getWorkbookSelections','HELLO','generateRandomId','transformIMECache','InsertRowCommandId','ivSize','_docTransformIMECacheService','_univerInstanceService','_unitStatus','ENSURE_SNAPSHOT_EXECUTION','_transformSelections','getSkeleton','_changesetSessionId','_initCloseConn','getLatestCsReqIdBySid','univer-online','collaMsg','_initStatusListener','saveImage','Warning','collabCursorState$','MUTATION','__esModule','telemetry\x20info\x20is\x20not\x20initialized','copyFileMeta','removeMember','_nDataBytes','pipe','_listenToOnlineEvent','_doProcessBlock','_createInitialStateImpl','undoState','session.collaboration-timeout','_map','_cursor','setShapeProps','toggleOffline','_config','_retryCount','_createHmacHelper','LIVESHARE_TERMINATE','USERS_LEAVE','_themeService','_drawTextRange','YUUMI_RATE_OVER_LIMIT','_disableEditing','_permissionService','_createInitialState','addObjects','COLLAB_WEB_SOCKET_URL','_drawAnchor','setUndoRedoMutationParamsCache','transformSelections','YUUMI_UNABLE_LOAD_URL','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','verdancy600','image/bmp','_remoteChangesetQueue','labelPosition','\x20-\x20','xlink:href','key','_startSheetCollabCursor','UNIVER_DOC','find','_docTransformStateCacheService','_registerRenderDependencies','open$','msCrypto','event$','idSuffix','history','connection\x20error','_shapes','collaboration_new_changeset','awaitingChangeset','SHA1','_revisionService','_resendTimer','loginUrlKey','registerRefRange','_renderManagerService','_singleActiveUnitService','slice','HEARTBEAT','FromArray','[CollaborationEntity]','hovered','onTransformSelections','getParam','onRemoteRej','updateOfflineData','onSendChangeset','_mode','LOGIN_URL_KEY','_listenToOfflineEvent','_onFetchMissResult','getCurrent','_socketMessageSubscription','univer-online-status-icon','EXCHANGE_SIGN_URL_SERVER_URL_KEY','defaultProps','getActiveRange','_handleHeartbeatEvent','transformStateCache','title','_incrementRevisionNumber','toRgbString','getRelativeToViewportCoord','_DEC_XFORM_MODE','flatMap','awaiting_with_pending','Hex','endColumn','height','\x0aCurrent:\x20','getCollabCursors$','liveShareNewHost','_getMergeRange','NOT_FOUND','every','_updateStatus','subunit','ceil','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','editing\x20status\x20changed\x20to','updateMember','MSG_FOR_ERROR','updatePermissionPoint','concat','0\x200\x2016\x2016','_onRemoteRetry','exports','conflict','HmacSHA1','onRemoteChangeset','_fetchMissChangesets','_scheduleSaving','sheets','_getSaveTimeout','_getSheetObject','EvpKDF','sin','_onConflict','fetching\x20missing\x20changesets\x20from\x20','_scheduleHeartbeat','/collaborator'];_0x2f9d=function(){return _0xad74c9;};return _0x2f9d();}var to=Object[_0x354c00(0x3cf)],so=Object[_0x354c00(0x20e)],io=(_0xf0f0b4,_0x521277,_0x3d1ec4,_0x4155f1)=>{const _0x137a9f=_0x354c00;for(var _0x5ac432=_0x4155f1>0x1?void 0x0:_0x4155f1?so(_0x521277,_0x3d1ec4):_0x521277,_0x167b17=_0xf0f0b4[_0x137a9f(0x2a0)]-0x1,_0x106cb0;_0x167b17>=0x0;_0x167b17--)(_0x106cb0=_0xf0f0b4[_0x167b17])&&(_0x5ac432=(_0x4155f1?_0x106cb0(_0x521277,_0x3d1ec4,_0x5ac432):_0x106cb0(_0x5ac432))||_0x5ac432);return _0x4155f1&&_0x5ac432&&to(_0x521277,_0x3d1ec4,_0x5ac432),_0x5ac432;},Mt=(_0x3d0578,_0x48ce7e)=>(_0x5311a4,_0x1cfca1)=>_0x48ce7e(_0x5311a4,_0x1cfca1,_0x3d0578);function no(_0x10b2d8){const _0x256272=_0x354c00,{unitID:_0x582a54,mutations:_0xc70403}=_0x10b2d8;return{'unitId':_0x582a54,'subUnitId':_0xc70403[0x0][_0x256272(0x220)][_0x256272(0x287)]};}let vt=class{constructor(_0x19848d,_0x5bf574,_0x17f913){const _0xd3343f=_0x354c00;this['_injector']=_0x19848d,this[_0xd3343f(0x329)]=_0x5bf574,this['_instanceService']=_0x17f913;}[_0x354c00(0x456)](_0x253f6a){const _0x7f583a=_0x354c00;var _0x51e6f6,_0x3a2d01,_0x517a3f,_0x4b6d71;const _0x257e35=this['_injector']['get'](_0xfd201e),{unitId:_0x3495b5,subUnitId:_0xb12ecc}=no(_0x253f6a),_0x4d78ce=_0x257e35[_0x7f583a(0x422)](_0x3495b5)[_0x7f583a(0x32a)](),_0x54f24=(_0x3a2d01=(_0x51e6f6=this[_0x7f583a(0x29b)][_0x7f583a(0x169)](_0x3495b5))==null?void 0x0:_0x51e6f6[_0x7f583a(0x4be)]())==null?void 0x0:_0x3a2d01[_0x7f583a(0x238)]();if(_0x4d78ce[_0x7f583a(0x2a0)]===0x0||!_0x3495b5||!_0xb12ecc)return;const _0x3dc17e=[{'id':_0x558a1a['id'],'params':{'unitId':_0x3495b5,'subUnitId':_0x54f24,'selections':_0x4127e3['deepClone'](_0x4d78ce)}}],_0x15377e=this[_0x7f583a(0x329)]['transformMutationsWithChangeset'](_0x253f6a,_0x3dc17e);if(!_0x295e25(_0x15377e))throw _0x15377e[_0x7f583a(0x2f1)];const _0x1e756b=(_0x4b6d71=(_0x517a3f=_0x15377e[_0x7f583a(0x1b1)][0x0])==null?void 0x0:_0x517a3f['params'])==null?void 0x0:_0x4b6d71[_0x7f583a(0x150)];if(Array['isArray'](_0x1e756b)&&_0x1e756b['length']){if(_0x1e756b[_0x7f583a(0x2a0)]===_0x3dc17e[0x0][_0x7f583a(0x220)]['selections'][_0x7f583a(0x2a0)]&&_0x1e756b[_0x7f583a(0x49a)]((_0x295e04,_0x3bdb87)=>_0x10dcad[_0x7f583a(0x546)](_0x295e04[_0x7f583a(0x146)],_0x3dc17e[0x0]['params'][_0x7f583a(0x150)][_0x3bdb87][_0x7f583a(0x146)])))return;this[_0x7f583a(0x199)][_0x7f583a(0x291)](_0xfbfaad)['executeCommand'](_0x558a1a['id'],{'unitId':_0x3495b5,'subUnitId':_0x54f24,'selections':_0x1e756b});}}};vt=io([Mt(0x0,_0x1727eb(_0x5d0612)),Mt(0x1,_0xe30adb),Mt(0x2,_0x48d976)],vt);const Rt=_0x1d937b(_0x354c00(0x377));var Di=(_0x4ff384=>(_0x4ff384[_0x4ff384['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4ff384[_0x4ff384[_0x354c00(0x373)]=0x1]=_0x354c00(0x373),_0x4ff384))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class ro extends _0x1cb1cd{constructor(){const _0x181375=_0x354c00;super(),g(this,_0x181375(0x203),_0x4127e3[_0x181375(0x424)]()),g(this,_0x181375(0x3e1),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,_0x181375(0x4fc),new Map()),g(this,'_unitStatus',new Map()),this[_0x181375(0x536)]();}['dispose'](){const _0x191163=_0x354c00;super['dispose'](),this[_0x191163(0x4fc)][_0x191163(0x3f0)]((_0xea0884,_0x5d52a3)=>this[_0x191163(0x3e9)](_0x5d52a3)),this[_0x191163(0x554)]&&window[_0x191163(0x261)](this[_0x191163(0x554)]);}[_0x354c00(0x225)](_0x53b569){const _0x23a86d=_0x354c00;return this[_0x23a86d(0x50c)](_0x53b569)[_0x23a86d(0x43d)](_0x197f58());}['editingUnit'](_0x246a59){const _0x2cfd6c=_0x354c00;this[_0x2cfd6c(0x3e1)][_0x2cfd6c(0x1e0)]===0x0&&this[_0x2cfd6c(0x4b3)](),this[_0x2cfd6c(0x3e1)][_0x2cfd6c(0x214)](_0x246a59),this[_0x2cfd6c(0x2ce)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x246a59],'isForwarded':!0x1});}[_0x354c00(0x35c)](_0x297d0a){const _0x2fb5d4=_0x354c00;this[_0x2fb5d4(0x3e1)][_0x2fb5d4(0x361)](_0x297d0a),this['_selfUnitIDs'][_0x2fb5d4(0x1e0)]===0x0&&this['_heartbeatTimer']&&window[_0x2fb5d4(0x261)](this[_0x2fb5d4(0x554)]);}[_0x354c00(0x536)](){const _0x2eb9bb=_0x354c00;this[_0x2eb9bb(0x181)](_0x48b865(_0x2ddc8b(window,_0x2eb9bb(0x18e))[_0x2eb9bb(0x51f)](_0x394aa3=>{const _0x288aa6=_0x2eb9bb;if(_0x394aa3[_0x288aa6(0x45f)]!==Ws||!_0x394aa3[_0x288aa6(0x533)])return;const _0x4e6e01=JSON[_0x288aa6(0x1fb)](_0x394aa3[_0x288aa6(0x533)]);this[_0x288aa6(0x4b7)](_0x4e6e01);}))),window[_0x2eb9bb(0x1b9)](_0x2eb9bb(0x555),()=>this['_send']({'type':0x1,'memberID':this[_0x2eb9bb(0x203)],'unitIDs':Array[_0x2eb9bb(0x29a)](this[_0x2eb9bb(0x3e1)])}));}[_0x354c00(0x4b7)](_0xbba6e2){const _0x1cc1bc=_0x354c00;switch(_0xbba6e2[_0x1cc1bc(0x260)]){case 0x0:this[_0x1cc1bc(0x3b5)](_0xbba6e2);break;case 0x1:this[_0x1cc1bc(0x54c)](_0xbba6e2);break;case 0x2:this['_handleHeartbeatEvent'](_0xbba6e2);break;}}[_0x354c00(0x3b5)](_0x2b7c3b){const _0x351c53=_0x354c00,{unitIDs:_0x9ee138,memberID:_0xc8c2cb,isForwarded:_0x72f798}=_0x2b7c3b;_0x9ee138['forEach'](_0x980356=>{const _0x13e65d=_0x33b4;if(!_0x72f798&&this['_unitOnClients'][_0x13e65d(0x272)](_0x980356)&&this[_0x13e65d(0x50c)](_0x980356)[_0x13e65d(0x2df)](0x1),!this['_unitOnClients'][_0x13e65d(0x272)](_0x980356)||!this[_0x13e65d(0x271)][_0x13e65d(0x291)](_0x980356)[_0x13e65d(0x272)](_0xc8c2cb)){const _0x42150e=this[_0x13e65d(0x271)][_0x13e65d(0x291)](_0x980356)||new Set();_0x42150e[_0x13e65d(0x214)](_0xc8c2cb),this[_0x13e65d(0x271)][_0x13e65d(0x244)](_0x980356,_0x42150e),this[_0x13e65d(0x1fc)](_0xc8c2cb);}}),_0x72f798||this[_0x351c53(0x2ce)]({'type':0x0,'memberID':this[_0x351c53(0x203)],'unitIDs':[...this[_0x351c53(0x3e1)]],'isForwarded':!0x0});}[_0x354c00(0x1fc)](_0x14db4a){const _0x35d84b=_0x354c00;this['_removeClearOtherTimer'](_0x14db4a);const _0x310a42=window[_0x35d84b(0x510)](()=>{const _0x445350=_0x35d84b;this[_0x445350(0x271)][_0x445350(0x3f0)](_0x2a1f79=>{const _0x35719e=_0x445350;_0x2a1f79[_0x35719e(0x361)](_0x14db4a);});},ks*0x2);this[_0x35d84b(0x4fc)][_0x35d84b(0x244)](_0x14db4a,_0x310a42);}[_0x354c00(0x3e9)](_0x5af96e){const _0x551135=_0x354c00;if(this[_0x551135(0x4fc)][_0x551135(0x272)](_0x5af96e)){const _0x30e3ca=this[_0x551135(0x4fc)][_0x551135(0x291)](_0x5af96e);_0x30e3ca&&window['clearTimeout'](_0x30e3ca),this[_0x551135(0x4fc)][_0x551135(0x244)](_0x5af96e,null);}}['_handleLeaveEvent'](_0x20fa98){const {memberID:_0x1ed566,unitIDs:_0x5a96b3}=_0x20fa98;_0x5a96b3['forEach'](_0x158c99=>{const _0x4c0683=_0x33b4;var _0x75a1f2;const _0x429aaf=this[_0x4c0683(0x271)][_0x4c0683(0x291)](_0x158c99);_0x429aaf&&(_0x429aaf[_0x4c0683(0x361)](_0x1ed566),(_0x75a1f2=this['_ensureSubject'](_0x158c99))==null||_0x75a1f2['next'](_0x429aaf[_0x4c0683(0x1e0)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x1ed566);}[_0x354c00(0x489)](_0x5a4d9c){const _0x3e6813=_0x354c00;this[_0x3e6813(0x1fc)](_0x5a4d9c[_0x3e6813(0x418)]);}[_0x354c00(0x2ce)](_0x3a8169){const _0x2ae24e=_0x354c00;localStorage[_0x2ae24e(0x1d4)](Ws,JSON[_0x2ae24e(0x2d5)](_0x3a8169));}['_scheduleHeartbeat'](){const _0x48830b=_0x354c00;this[_0x48830b(0x554)]=window[_0x48830b(0x2f4)](()=>{const _0xba4eb9=_0x48830b;this[_0xba4eb9(0x2ce)]({'type':0x2,'memberID':this[_0xba4eb9(0x203)]});},ks);}[_0x354c00(0x50c)](_0x1a1402){const _0x2e6af9=_0x354c00;return this[_0x2e6af9(0x42a)][_0x2e6af9(0x272)](_0x1a1402)||this[_0x2e6af9(0x42a)][_0x2e6af9(0x244)](_0x1a1402,new _0x5ea788(0x0)),this[_0x2e6af9(0x42a)][_0x2e6af9(0x291)](_0x1a1402);}}var oo=Object[_0x354c00(0x3cf)],ao=Object[_0x354c00(0x20e)],co=(_0x5a1b09,_0x53d025,_0x31a5dd,_0x179015)=>{const _0x2c8d8e=_0x354c00;for(var _0x19c521=_0x179015>0x1?void 0x0:_0x179015?ao(_0x53d025,_0x31a5dd):_0x53d025,_0x394201=_0x5a1b09[_0x2c8d8e(0x2a0)]-0x1,_0x2eb759;_0x394201>=0x0;_0x394201--)(_0x2eb759=_0x5a1b09[_0x394201])&&(_0x19c521=(_0x179015?_0x2eb759(_0x53d025,_0x31a5dd,_0x19c521):_0x2eb759(_0x19c521))||_0x19c521);return _0x179015&&_0x19c521&&oo(_0x53d025,_0x31a5dd,_0x19c521),_0x19c521;},xt=(_0x2eeef7,_0x49b3db)=>(_0x565946,_0x4c0544)=>_0x49b3db(_0x565946,_0x4c0544,_0x2eeef7);let mt=class{constructor(_0x374fc9,_0x8b8441,_0x24f476){const _0x1f3d76=_0x354c00;this[_0x1f3d76(0x199)]=_0x374fc9,this[_0x1f3d76(0x329)]=_0x8b8441,this[_0x1f3d76(0x4d1)]=_0x24f476;}['transformStateCache'](_0x1b6687){const _0x2968da=_0x354c00;this[_0x2968da(0x4f6)](_0x1b6687);}['transformRemoteChangeset'](_0x122a9d){const _0x37bf94=_0x354c00,{unitID:_0xbab496}=_0x122a9d,{collaboration:_0x58c849}=this[_0x37bf94(0x4d1)][_0x37bf94(0x210)](_0xbab496);if(_0x58c849[_0x37bf94(0x2a0)]===0x0)return _0x122a9d;let _0x28ac62=_0x4127e3[_0x37bf94(0x31c)](_0x122a9d['mutations'][0x0]);for(let _0x2fc8f9=0x0;_0x2fc8f9<_0x58c849[_0x37bf94(0x2a0)];_0x2fc8f9++){const _0x181eb6={'id':_0x37bf94(0x35d),'params':{'unitId':_0x58c849[_0x2fc8f9][_0x37bf94(0x315)],..._0x58c849[_0x2fc8f9][_0x37bf94(0x285)]}},_0x485bcb=this[_0x37bf94(0x329)][_0x37bf94(0x2e0)](_0x28ac62,_0x181eb6,!0x1);if(_0x17dd13(_0x485bcb))throw _0x485bcb[_0x37bf94(0x2f1)];_0x28ac62=_0x485bcb['m1Prime'];}return{..._0x4127e3[_0x37bf94(0x31c)](_0x122a9d),'mutations':[_0x28ac62]};}['_transformHistoryAndStateStack'](_0x48c014){const _0x11fdcd=_0x354c00,{unitID:_0x4f4edc}=_0x48c014,{history:_0x5dda48,collaboration:_0x5c28fd}=this[_0x11fdcd(0x4d1)]['getStateCache'](_0x4f4edc);if(_0x5dda48[_0x11fdcd(0x2a0)]===0x0&&_0x5c28fd['length']===0x0)return;const _0x202335=[],_0xc564c6=[];let _0x548a36=_0x4127e3[_0x11fdcd(0x31c)](_0x48c014[_0x11fdcd(0x24d)][0x0]),_0x19ae19=_0x4127e3[_0x11fdcd(0x31c)](_0x48c014[_0x11fdcd(0x24d)][0x0]);for(let _0x57b05f=_0x5dda48['length']-0x1;_0x57b05f>=0x0;_0x57b05f--){const _0x5987f1={'id':_0x11fdcd(0x35d),'params':{'unitId':_0x5dda48[_0x57b05f][_0x11fdcd(0x315)],..._0x5dda48[_0x57b05f]['undoState']}},_0x12426d={'id':_0x11fdcd(0x35d),'params':{'unitId':_0x5dda48[_0x57b05f]['unitId'],..._0x5dda48[_0x57b05f]['redoState']}},_0x2cce01=this[_0x11fdcd(0x329)]['transformMutation'](_0x548a36,_0x5987f1,!0x1),_0x4453cd=this['_transformService'][_0x11fdcd(0x2e0)](_0x19ae19,_0x12426d,!0x1);if(_0x17dd13(_0x2cce01))throw _0x2cce01['error'];if(_0x17dd13(_0x4453cd))throw _0x4453cd[_0x11fdcd(0x2f1)];_0x202335[_0x11fdcd(0x405)]({..._0x5dda48[_0x57b05f],'undoState':_0x2cce01['m2Prime']['params'],'redoState':_0x4453cd['m2Prime'][_0x11fdcd(0x220)]}),_0x548a36=_0x2cce01[_0x11fdcd(0x411)],_0x19ae19=_0x4453cd[_0x11fdcd(0x411)];}_0x548a36=_0x4127e3[_0x11fdcd(0x31c)](_0x48c014[_0x11fdcd(0x24d)][0x0]),_0x19ae19=_0x4127e3[_0x11fdcd(0x31c)](_0x48c014[_0x11fdcd(0x24d)][0x0]);for(let _0x45aee8=_0x5c28fd[_0x11fdcd(0x2a0)]-0x1;_0x45aee8>=0x0;_0x45aee8--){const _0x29cacf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c28fd[_0x45aee8][_0x11fdcd(0x315)],..._0x5c28fd[_0x45aee8][_0x11fdcd(0x441)]}},_0x2da15e={'id':_0x11fdcd(0x35d),'params':{'unitId':_0x5c28fd[_0x45aee8]['unitId'],..._0x5c28fd[_0x45aee8][_0x11fdcd(0x285)]}},_0x288e61=this[_0x11fdcd(0x329)][_0x11fdcd(0x2e0)](_0x548a36,_0x29cacf,!0x1),_0x381a46=this['_transformService'][_0x11fdcd(0x2e0)](_0x19ae19,_0x2da15e,!0x1);if(_0x17dd13(_0x288e61))throw _0x288e61['error'];if(_0x17dd13(_0x381a46))throw _0x381a46[_0x11fdcd(0x2f1)];_0xc564c6['unshift']({..._0x5c28fd[_0x45aee8],'undoState':_0x288e61[_0x11fdcd(0x1b1)][_0x11fdcd(0x220)],'redoState':_0x381a46['m2Prime'][_0x11fdcd(0x220)]}),_0x548a36=_0x288e61['m1Prime'],_0x19ae19=_0x381a46['m1Prime'];}this[_0x11fdcd(0x4d1)][_0x11fdcd(0x3b8)](_0x4f4edc,{'history':_0x202335,'collaboration':_0xc564c6});}};mt=co([xt(0x0,_0x1727eb(_0x5d0612)),xt(0x1,_0xe30adb),xt(0x2,_0x1727eb(_0x1578ad))],mt);function Pi(_0x9a25ad){const _0x1bbf64=_0x354c00;let _0x1fe614='';for(const _0x5f274b of _0x9a25ad){const {startOffset:_0x50ce7d,endOffset:_0x4eec47,isActive:_0x38286c,rangeType:_0x48bb74,segmentId:_0x35ca2f,segmentPage:_0x423f5c}=_0x5f274b;_0x1fe614[_0x1bbf64(0x2a0)]&&(_0x1fe614+=','),_0x1fe614+=_0x50ce7d+':'+_0x4eec47+':'+(_0x38286c?'1':'0')+':'+_0x48bb74+':'+_0x35ca2f+':'+_0x423f5c;}return _0x1fe614;}function ho(_0x4d2160){const _0x49b511=_0x354c00,_0x540048=_0x4d2160[_0x49b511(0x1c6)](','),_0x583496=[];for(const _0x303911 of _0x540048){const [_0x58dea3,_0x2b7b9d,_0x173aa5,_0x1dfc55,_0x2894ec,_0x3c945c]=_0x303911['split'](':');_0x583496[_0x49b511(0x301)]({'startOffset':Number(_0x58dea3),'endOffset':Number(_0x2b7b9d),'collapsed':_0x58dea3===_0x2b7b9d,'isActive':_0x173aa5==='1','rangeType':_0x1dfc55===_0x31810f[_0x49b511(0x2c4)]?_0x31810f['TEXT']:_0x31810f['RECT'],'segmentId':typeof _0x2894ec==_0x49b511(0x1a5)?String(_0x2894ec):'','segmentPage':Number(_0x3c945c!=null?_0x3c945c:-0x1)});}return _0x583496['some'](_0x5c9c47=>_0x5c9c47[_0x49b511(0x14a)])||(_0x583496[0x0][_0x49b511(0x14a)]=!0x0),_0x583496;}class Cs extends _0x1bd493{constructor(){const _0x13c2b2=_0x354c00;super(...arguments),g(this,_0x13c2b2(0x16c),new _0x5ea788(null)),g(this,_0x13c2b2(0x436),this[_0x13c2b2(0x16c)]['asObservable']());}[_0x354c00(0x38d)](_0x1be722){const _0x4dce9b=_0x354c00,{unitID:_0x44512c,memberID:_0x52ffd8,textRanges:_0x2acb5f}=_0x1be722,_0x3b841f=Pi(_0x2acb5f);if(_0x3b841f==='')return;const _0x353b54={'unitID':_0x44512c,'memberID':_0x52ffd8,'selection':_0x3b841f};this[_0x4dce9b(0x16c)][_0x4dce9b(0x2df)](_0x353b54);}}var lo=Object[_0x354c00(0x3cf)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x3da4ab,_0x4dcbcf,_0x38308c,_0x40f52f)=>{const _0x5b9c73=_0x354c00;for(var _0x561804=_0x40f52f>0x1?void 0x0:_0x40f52f?_o(_0x4dcbcf,_0x38308c):_0x4dcbcf,_0x362d6b=_0x3da4ab[_0x5b9c73(0x2a0)]-0x1,_0x5743d7;_0x362d6b>=0x0;_0x362d6b--)(_0x5743d7=_0x3da4ab[_0x362d6b])&&(_0x561804=(_0x40f52f?_0x5743d7(_0x4dcbcf,_0x38308c,_0x561804):_0x5743d7(_0x561804))||_0x561804);return _0x40f52f&&_0x561804&&lo(_0x4dcbcf,_0x38308c,_0x561804),_0x561804;},Fs=(_0x9dcf6b,_0x1f56ae)=>(_0x4cf532,_0x42218d)=>_0x1f56ae(_0x4cf532,_0x42218d,_0x9dcf6b);let pt=class{constructor(_0x1b59b0,_0x219093){const _0x6bf3f=_0x354c00;this[_0x6bf3f(0x199)]=_0x1b59b0,this['_transformService']=_0x219093;}[_0x354c00(0x456)](_0x481490){const _0x36f7b8=_0x354c00;var _0x3138e7;const _0x3712df=this[_0x36f7b8(0x199)][_0x36f7b8(0x291)](_0x15c40f),_0x1e8bf5=(_0x3138e7=_0x3712df[_0x36f7b8(0x145)]())!=null?_0x3138e7:[];if(_0x1e8bf5[_0x36f7b8(0x2a0)]===0x0)return;const _0x346be8=_0x481490[_0x36f7b8(0x207)],_0x365c85=[{'id':_0x36f7b8(0x35d),'params':{'unitId':_0x346be8,'actions':null,'textRanges':_0x1e8bf5}}],_0xc02666=this['_transformService'][_0x36f7b8(0x219)](_0x481490,_0x365c85);if(!_0x295e25(_0xc02666))throw _0xc02666[_0x36f7b8(0x2f1)];const _0x872a4f=_0xc02666['m2Prime'][0x0][_0x36f7b8(0x220)][_0x36f7b8(0x1fd)];Array[_0x36f7b8(0x345)](_0x872a4f)&&_0x872a4f['length']&&_0x3712df[_0x36f7b8(0x184)](_0x872a4f,{'unitId':_0x346be8,'subUnitId':_0x346be8},!0x1);}};pt=uo([Fs(0x0,_0x1727eb(_0x5d0612)),Fs(0x1,_0xe30adb)],pt);const fo=new Set([_0x15c0ac['id']]);function Vs(_0x1791e7,_0x12ff26,_0x15c9d7,_0x222309,_0x4726d5){const _0x265b4f=_0x354c00;var _0x10f790,_0x38b83a,_0x255554,_0xe929ce;const _0x41fdf7=[];for(const _0x101dc8 of _0x1791e7)if(fo[_0x265b4f(0x272)](_0x101dc8['id'])){if(_0x41fdf7[_0x265b4f(0x2a0)]>0x0)break;_0x41fdf7[_0x265b4f(0x301)](_0x101dc8);break;}else _0x41fdf7[_0x265b4f(0x301)](_0x101dc8);const _0x20c6e3=(_0x38b83a=(_0x10f790=_0x4726d5[_0x265b4f(0x3ba)]())==null?void 0x0:_0x10f790[_0x265b4f(0x4dc)])!=null?_0x38b83a:'unknown',_0x35a3a3=(_0xe929ce=(_0x255554=_0x4726d5[_0x265b4f(0x3ba)]())==null?void 0x0:_0x255554[_0x265b4f(0x418)])!=null?_0xe929ce:_0x265b4f(0x2b5);return{'changeset':{'unitID':_0x12ff26,'type':_0x1ee155(_0x15c9d7[_0x265b4f(0x400)](_0x12ff26)),'baseRev':_0x222309[_0x265b4f(0x2cd)](_0x12ff26),'revision':0x0,'userID':_0x20c6e3,'memberID':_0x35a3a3,'mutations':_0x41fdf7},'pendingMutations':_0x1791e7[_0x265b4f(0x475)](_0x41fdf7[_0x265b4f(0x2a0)])};}function vo(_0x3dfd61,_0x42def3,_0x3509c8,_0x39658c,_0xbc287e){const _0x471213=_0x354c00;var _0x505026,_0x19e2da,_0x729b51,_0x9c9c35;const _0x2a250f=[_0x3dfd61[_0x471213(0x159)]((_0x548660,_0x23fb85)=>{const _0xe070cb=_0x471213;var _0x52a993;const {id:_0x285474}=_0x548660,{id:_0x1ef5db,type:_0x21031d}=_0x23fb85,_0x1b25f=(_0x52a993=_0x548660[_0xe070cb(0x220)])!=null?_0x52a993:{'actions':null},_0x101719=_0x23fb85[_0xe070cb(0x220)];if(_0x285474&&_0x285474!==_0x1ef5db)throw new Error(_0xe070cb(0x1bd)+_0x285474+_0xe070cb(0x45d)+_0x1ef5db+'.');return{..._0x548660,'id':_0x1ef5db,'type':_0x21031d,'params':{'unitId':_0x101719[_0xe070cb(0x315)],'textRanges':_0x101719[_0xe070cb(0x1fd)],'actions':_0x2f0114[_0xe070cb(0x282)](_0x1b25f[_0xe070cb(0x4cd)],_0x101719[_0xe070cb(0x4cd)])}};},{})],_0x471219=(_0x19e2da=(_0x505026=_0xbc287e[_0x471213(0x3ba)]())==null?void 0x0:_0x505026[_0x471213(0x4dc)])!=null?_0x19e2da:_0x471213(0x2b5),_0x402644=(_0x9c9c35=(_0x729b51=_0xbc287e['getCurrentUser']())==null?void 0x0:_0x729b51[_0x471213(0x418)])!=null?_0x9c9c35:'unknown';return{'changeset':{'unitID':_0x42def3,'type':_0x1ee155(_0x3509c8['getUnitType'](_0x42def3)),'baseRev':_0x39658c[_0x471213(0x2cd)](_0x42def3),'revision':0x0,'userID':_0x471219,'memberID':_0x402644,'mutations':_0x2a250f},'pendingMutations':[]};}function Ui(_0x5222dd,_0x4b1814){const _0x2db9f3=_0x354c00,_0x39665d=new _0x133d1d(0x1);return setTimeout(()=>_0x39665d['next'](_0x4b1814),_0x5222dd),_0x39665d[_0x2db9f3(0x516)]()['pipe'](_0x491b6c(0x1));}const mo={'id':_0x5d1831['id'],'type':_0x1814f1['MUTATION'],'params':{}};var po=Object[_0x354c00(0x3cf)],go=Object[_0x354c00(0x20e)],Le=(_0x1b54e2,_0x556154,_0x499a46,_0xf3a23a)=>{for(var _0x22ecc3=_0xf3a23a>0x1?void 0x0:_0xf3a23a?go(_0x556154,_0x499a46):_0x556154,_0x4a0913=_0x1b54e2['length']-0x1,_0x32f49f;_0x4a0913>=0x0;_0x4a0913--)(_0x32f49f=_0x1b54e2[_0x4a0913])&&(_0x22ecc3=(_0xf3a23a?_0x32f49f(_0x556154,_0x499a46,_0x22ecc3):_0x32f49f(_0x22ecc3))||_0x22ecc3);return _0xf3a23a&&_0x22ecc3&&po(_0x556154,_0x499a46,_0x22ecc3),_0x22ecc3;},A=(_0x598b4c,_0x3355d8)=>(_0x304da3,_0x3fbd39)=>_0x3355d8(_0x304da3,_0x3fbd39,_0x598b4c),J=(_0x327679=>(_0x327679[_0x354c00(0x14e)]=_0x354c00(0x32f),_0x327679[_0x354c00(0x256)]='synced',_0x327679[_0x354c00(0x330)]=_0x354c00(0x3c9),_0x327679[_0x354c00(0x17a)]='awaiting',_0x327679[_0x354c00(0x1b2)]='awaiting_with_pending',_0x327679[_0x354c00(0x2d4)]=_0x354c00(0x18d),_0x327679[_0x354c00(0x517)]=_0x354c00(0x4a7),_0x327679[_0x354c00(0x4eb)]=_0x354c00(0x26e),_0x327679))(J||{});const Ni=0xea60;class $e{constructor(_0x47cdbe,_0x4b3245,_0x5436f8,_0x4bfd6f,_0x1500fe,_0x1f6eff,_0x33fa1d,_0x5e015d,_0x5483eb){const _0x6a954c=_0x354c00;g(this,_0x6a954c(0x277),null),g(this,_0x6a954c(0x25b),[]),(this[_0x6a954c(0x207)]=_0x47cdbe,this[_0x6a954c(0x260)]=_0x4b3245,this[_0x6a954c(0x21b)]=_0x1500fe,this[_0x6a954c(0x3fc)]=_0x1f6eff,this[_0x6a954c(0x38c)]=_0x33fa1d,this[_0x6a954c(0x46f)]=_0x5e015d,this[_0x6a954c(0x1e2)]=_0x5483eb,this['_awaitingChangeset']=_0x5436f8,this[_0x6a954c(0x25b)]=_0x4bfd6f);}['_checkMissing'](_0x52aff2){const _0x5497d5=_0x354c00,_0x49f881=this[_0x5497d5(0x46f)][_0x5497d5(0x2cd)](this[_0x5497d5(0x207)]);return _0x52aff2[_0x5497d5(0x3f6)]>_0x49f881+0x1?(this['_handler'][_0x5497d5(0x295)]({'from':_0x49f881,'to':_0x52aff2[_0x5497d5(0x3f6)]-0x1}),!0x0):!0x1;}[_0x354c00(0x16e)](_0x37cecb){const _0x2cefd0=_0x354c00;this['_undoRedoService']['transformUndoRedo'](this[_0x2cefd0(0x207)],_0x37cecb);}[_0x354c00(0x42c)](_0x373c12){const _0x3009aa=_0x354c00;var _0xef8774,_0x34b977;(_0x34b977=(_0xef8774=this[_0x3009aa(0x21b)])[_0x3009aa(0x47a)])==null||_0x34b977[_0x3009aa(0x1a6)](_0xef8774,_0x373c12);}[_0x354c00(0x4e7)](_0x1cfa4f){const _0x16e750=_0x354c00;var _0x3bdeb1,_0x58f46f;return(_0x58f46f=(_0x3bdeb1=this[_0x16e750(0x21b)])['onTransformIME'])==null?void 0x0:_0x58f46f[_0x16e750(0x1a6)](_0x3bdeb1,_0x1cfa4f);}[_0x354c00(0x504)](_0x3e6e72){const _0x29d918=_0x354c00;var _0x121588,_0x38693f;return(_0x38693f=(_0x121588=this['_handler'])[_0x29d918(0x2d3)])==null?void 0x0:_0x38693f[_0x29d918(0x1a6)](_0x121588,_0x3e6e72);}[_0x354c00(0x375)](_0x57916f){const _0x49869c=_0x354c00;var _0x3ef645,_0x4b5594,_0x9dd662;return(_0x9dd662=(_0x4b5594=(_0x3ef645=this[_0x49869c(0x21b)])[_0x49869c(0x2a9)])==null?void 0x0:_0x4b5594[_0x49869c(0x1a6)](_0x3ef645,_0x57916f))!=null?_0x9dd662:_0x57916f;}[_0x354c00(0x2e3)](_0x25ef71){const _0x2b1046=_0x354c00;var _0x5ca974,_0x15b5f1,_0x5dc99c;return(_0x5dc99c=(_0x15b5f1=(_0x5ca974=this[_0x2b1046(0x21b)])[_0x2b1046(0x2f5)])==null?void 0x0:_0x15b5f1[_0x2b1046(0x1a6)](_0x5ca974,_0x25ef71))!=null?_0x5dc99c:_0x25ef71;}['_syncEditingCollabCursor'](_0x514a7f){const _0x44e319=_0x354c00;var _0x23015e,_0x53e893;if(this[_0x44e319(0x260)]===ce[_0x44e319(0x461)]){const {unitID:_0x209425,mutations:_0x38e5a8,memberID:_0x476fb1}=_0x514a7f,_0x579558=_0x38e5a8[0x0]['params'][_0x44e319(0x1fd)];Array[_0x44e319(0x345)](_0x579558)&&_0x579558[_0x44e319(0x2a0)]>0x0&&((_0x53e893=(_0x23015e=this[_0x44e319(0x21b)])[_0x44e319(0x4ca)])==null||_0x53e893[_0x44e319(0x1a6)](_0x23015e,{'unitID':_0x209425,'memberID':_0x476fb1,'textRanges':_0x579558}));}}[_0x354c00(0x252)](){const _0x44d067=_0x354c00;this[_0x44d067(0x1e2)]['updateOfflineData'](this[_0x44d067(0x207)],this[_0x44d067(0x260)],this[_0x44d067(0x277)],this[_0x44d067(0x25b)]);}['_getCurrentRevision'](){const _0x4445f8=_0x354c00;return this[_0x4445f8(0x46f)][_0x4445f8(0x2cd)](this['unitID']);}['_incrementRevisionNumber'](){const _0x96a361=_0x354c00;this[_0x96a361(0x46f)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x1a11e4){const _0x29a790=_0x354c00;var _0x3367ba;let _0x4af735=this[_0x29a790(0x375)](_0x1a11e4);_0x4af735=this[_0x29a790(0x2e3)](_0x4af735);const _0x391605=_0x131a5d(_0x4af735[_0x29a790(0x24d)],this[_0x29a790(0x3fc)],{'fromCollab':!0x0});if(!_0x391605['result'])throw _0x391605[_0x29a790(0x2f1)]instanceof Error?_0x391605[_0x29a790(0x2f1)]:new Error((_0x3367ba=_0x391605[_0x29a790(0x2f1)])!=null?_0x3367ba:_0x29a790(0x2a8));this['_transformIMECache'](_0x4af735),this['_transformStateCache'](_0x4af735),this[_0x29a790(0x16e)](_0x1a11e4),this['_transformSelections'](_0x4af735),this['_syncEditingCollabCursor'](_0x4af735),this[_0x29a790(0x48c)]();}}let Fe=class extends $e{constructor(_0x573f91,_0xf61b26,_0x306829,_0xc5030f,_0x3c4e8c,_0x1fd2a8,_0x348283,_0x15d2b2,_0x27dad0,_0x21c666){const _0x4ce946=_0x354c00;super(_0x573f91,_0xf61b26,null,[],_0x306829,_0x15d2b2,_0x348283,_0xc5030f,_0x3c4e8c),g(this,'status',_0x4ce946(0x4f4)),(this[_0x4ce946(0x199)]=_0x1fd2a8,this[_0x4ce946(0x3b6)]=_0x27dad0,this[_0x4ce946(0x329)]=_0x21c666);}[_0x354c00(0x4c1)](_0x2703ea){const _0x236196=_0x354c00,_0x12ee69=this[_0x236196(0x199)]['createInstance'](pe,this['unitID'],this['type'],[_0x2703ea],this[_0x236196(0x21b)]);return _0x12ee69['_schedule'](),_0x12ee69[_0x236196(0x252)](),_0x12ee69;}[_0x354c00(0x4a9)](_0x3f14b0){const _0x33467b=_0x354c00;if(this['_checkMissing'](_0x3f14b0))return this[_0x33467b(0x199)][_0x33467b(0x348)](he,this['unitID'],this['type'],null,[],null,[_0x3f14b0],this[_0x33467b(0x21b)]);try{const _0x3c1355=this[_0x33467b(0x329)][_0x33467b(0x219)](_0x3f14b0,[mo]);if(_0x295e25(_0x3c1355)){const {c1Prime:_0x5aa5e8}=_0x3c1355;return this['_executeRemoteChangeset'](_0x5aa5e8),this;}throw _0x3c1355[_0x33467b(0x2f1)];}catch(_0x27fe0d){return this[_0x33467b(0x3b6)][_0x33467b(0x2f1)](_0x27fe0d),this[_0x33467b(0x4b1)](!0x1);}}[_0x354c00(0x4b1)](_0x2de70a){const _0x35409a=_0x354c00;return this['_injector'][_0x35409a(0x348)](Re,this[_0x35409a(0x207)],this[_0x35409a(0x260)],null,[],this[_0x35409a(0x21b)],_0x2de70a);}['onRemoteAck'](){const _0x4390b6=_0x354c00;throw new Error(_0x4390b6(0x40a));}[_0x354c00(0x47c)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x354c00(0x393)](){return this;}[_0x354c00(0x446)](){const _0x32f22c=_0x354c00;return this[_0x32f22c(0x199)][_0x32f22c(0x348)](ye,this['unitID'],this['type'],null,[],this[_0x32f22c(0x21b)]);}[_0x354c00(0x404)](){return this;}['resend'](){const _0x3d8248=_0x354c00;throw new Error(_0x3d8248(0x49e));}[_0x354c00(0x2cc)](){const _0x3048b4=_0x354c00,_0x3fb0c0=this[_0x3048b4(0x46f)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x3048b4(0x21b)]['onMissingChangesets']({'from':_0x3fb0c0,'to':0x0}),this[_0x3048b4(0x199)][_0x3048b4(0x348)](he,this[_0x3048b4(0x207)],this[_0x3048b4(0x260)],null,[],null,[],this[_0x3048b4(0x21b)]);}};Fe=Le([A(0x3,_0x1727eb(_0x27820f)),A(0x4,_0x1727eb(q)),A(0x5,_0x1727eb(_0x5d0612)),A(0x6,_0x107280),A(0x7,_0xfbfaad),A(0x8,_0x3b4016),A(0x9,_0xe30adb)],Fe);let pe=class extends $e{constructor(_0x3e865a,_0x1f53e4,_0x4c81ca,_0x48e9f,_0x4ae49b,_0x3857e5,_0x2d6616,_0x3144fc,_0x558543,_0x5384a2,_0x593350,_0x4918ef,_0x5ab4dc,_0x212b97){const _0x1287d6=_0x354c00;super(_0x3e865a,_0x1f53e4,null,_0x4c81ca,_0x48e9f,_0x5384a2,_0x212b97,_0x3857e5,_0x2d6616),g(this,_0x1287d6(0x15a),_0x1287d6(0x3c9)),g(this,_0x1287d6(0x171),null),g(this,'_sendingTimer',null),(this[_0x1287d6(0x199)]=_0x4ae49b,this[_0x1287d6(0x390)]=_0x3144fc,this[_0x1287d6(0x3b6)]=_0x558543,this[_0x1287d6(0x53b)]=_0x593350,this[_0x1287d6(0x329)]=_0x4918ef,this[_0x1287d6(0x429)]=_0x5ab4dc);}[_0x354c00(0x4c1)](_0x309416){const _0x7f2d78=_0x354c00;return this[_0x7f2d78(0x25b)][_0x7f2d78(0x301)](_0x309416),this[_0x7f2d78(0x252)](),this;}[_0x354c00(0x4a9)](_0x2fedfe){const _0x491e06=_0x354c00;if(this[_0x491e06(0x30e)](_0x2fedfe))return this['_clearScheduledTask'](),this[_0x491e06(0x199)]['createInstance'](he,this[_0x491e06(0x207)],this[_0x491e06(0x260)],null,this[_0x491e06(0x25b)],null,[_0x2fedfe],this[_0x491e06(0x21b)]);try{const _0x1ef1a9=this['_transformService']['transformMutationsWithChangeset'](_0x2fedfe,this[_0x491e06(0x25b)]);if(_0x295e25(_0x1ef1a9)){const {c1Prime:_0x1de50e,m2Prime:_0x422157}=_0x1ef1a9;this[_0x491e06(0x1ac)](_0x1de50e);const _0x4cffc5=this['_injector'][_0x491e06(0x348)](pe,this[_0x491e06(0x207)],this[_0x491e06(0x260)],_0x422157,this['_handler']);return this[_0x491e06(0x3eb)](),_0x4cffc5[_0x491e06(0x3fb)](this['_scheduleTimestamp']?Math[_0x491e06(0x362)](0x0,new Date()['getTime']()-this[_0x491e06(0x171)]):this['_getSendChangesetTimeout']()),_0x4cffc5;}throw _0x1ef1a9[_0x491e06(0x2f1)];}catch(_0x5c7ab5){return this['_logService'][_0x491e06(0x2f1)](_0x5c7ab5),this[_0x491e06(0x4b1)](!0x1);}}[_0x354c00(0x522)](){const _0xe4a30=_0x354c00;throw new Error(_0xe4a30(0x51c));}[_0x354c00(0x47c)](){const _0x3a771c=_0x354c00;throw new Error(_0x3a771c(0x27d));}[_0x354c00(0x393)](){return this;}['toggleOffline'](){const _0x179fab=_0x354c00;return this[_0x179fab(0x3eb)](),this[_0x179fab(0x199)][_0x179fab(0x348)](ye,this[_0x179fab(0x207)],this[_0x179fab(0x260)],null,this['_pendingMutations'],this['_handler']);}[_0x354c00(0x404)](){return this;}[_0x354c00(0x3fb)](_0x34289c){const _0x359819=_0x354c00,_0x440541=_0x34289c!=null?_0x34289c:this[_0x359819(0x204)]();this['_scheduleTimestamp']=new Date()['getTime'](),this['_sendingTimer']=window[_0x359819(0x510)](()=>{const _0x17f4cd=_0x359819;this[_0x17f4cd(0x3eb)]();let _0x23a006=null;switch(this[_0x17f4cd(0x260)]){case ce[_0x17f4cd(0x1c5)]:{_0x23a006=Vs(this[_0x17f4cd(0x25b)],this['unitID'],this[_0x17f4cd(0x429)],this[_0x17f4cd(0x46f)],this[_0x17f4cd(0x390)]);break;}case ce[_0x17f4cd(0x461)]:{this[_0x17f4cd(0x25b)]['every'](_0x148497=>_0x148497['id']===_0x2e83de['id'])?_0x23a006=vo(this[_0x17f4cd(0x25b)],this['unitID'],this[_0x17f4cd(0x429)],this[_0x17f4cd(0x46f)],this['_memberService']):_0x23a006=Vs(this[_0x17f4cd(0x25b)],this[_0x17f4cd(0x207)],this[_0x17f4cd(0x429)],this[_0x17f4cd(0x46f)],this['_memberService']);break;}default:throw new Error(_0x17f4cd(0x249)+this[_0x17f4cd(0x260)]+_0x17f4cd(0x542));}const {changeset:_0x5008c7,pendingMutations:_0x13d0d2}=_0x23a006;this[_0x17f4cd(0x21b)][_0x17f4cd(0x47e)](_0x5008c7);const _0x496f28=_0x13d0d2['length']?this[_0x17f4cd(0x199)][_0x17f4cd(0x348)](ge,this[_0x17f4cd(0x207)],this['type'],_0x5008c7,_0x13d0d2,this[_0x17f4cd(0x21b)],void 0x0):this['_injector'][_0x17f4cd(0x348)](Te,this[_0x17f4cd(0x207)],this[_0x17f4cd(0x260)],_0x5008c7,this[_0x17f4cd(0x21b)]);_0x496f28[_0x17f4cd(0x252)](),this[_0x17f4cd(0x21b)]['onStateChange'](this,_0x496f28);},_0x440541);}[_0x354c00(0x204)](){const _0x314ddd=_0x354c00;var _0x396eba;const _0x6531cf=this['_configService']['getConfig'](ie);return(_0x396eba=_0x6531cf==null?void 0x0:_0x6531cf[_0x314ddd(0x4f5)])!=null?_0x396eba:_r;}[_0x354c00(0x1c9)](){const _0x78c2cb=_0x354c00;throw new Error(_0x78c2cb(0x1bb));}['_clearScheduledTask'](){const _0x4fc203=_0x354c00;this[_0x4fc203(0x200)]!=null&&(clearTimeout(this[_0x4fc203(0x200)]),this[_0x4fc203(0x200)]=null);}[_0x354c00(0x4b1)](_0xfc95fa){const _0xe8781c=_0x354c00;return this[_0xe8781c(0x3eb)](),this[_0xe8781c(0x199)][_0xe8781c(0x348)](Re,this[_0xe8781c(0x207)],this[_0xe8781c(0x260)],null,this[_0xe8781c(0x25b)],this[_0xe8781c(0x21b)],_0xfc95fa);}};pe=Le([A(0x4,_0x1727eb(_0x5d0612)),A(0x5,_0x1727eb(_0x27820f)),A(0x6,_0x1727eb(q)),A(0x7,_0x1727eb(Ne)),A(0x8,_0x3b4016),A(0x9,_0xfbfaad),A(0xa,_0x250a8d),A(0xb,_0xe30adb),A(0xc,_0x48d976),A(0xd,_0x107280)],pe);let Te=class extends $e{constructor(_0x50de1a,_0x3d1ef6,_0x120b5e,_0x1f9e0f,_0x7c4c43,_0x4371ca,_0xf9723b,_0x38d8a7,_0x156467,_0x2e1992,_0x3190f1){const _0x103e2f=_0x354c00;super(_0x50de1a,_0x3d1ef6,_0x120b5e,[],_0x1f9e0f,_0x38d8a7,_0x3190f1,_0x4371ca,_0xf9723b),g(this,_0x103e2f(0x15a),_0x103e2f(0x340)),g(this,_0x103e2f(0x502),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this['_injector']=_0x7c4c43,this[_0x103e2f(0x3b6)]=_0x156467,this[_0x103e2f(0x329)]=_0x2e1992);}['appendMutation'](_0x118c06){const _0x192cc4=_0x354c00;this[_0x192cc4(0x3eb)]();const _0x41ecc8=this['_injector'][_0x192cc4(0x348)](ge,this[_0x192cc4(0x207)],this[_0x192cc4(0x260)],this[_0x192cc4(0x277)],[_0x118c06],this[_0x192cc4(0x21b)],this['_resendTimer']);return _0x41ecc8['_updateLocalCache'](),_0x41ecc8;}[_0x354c00(0x4a9)](_0x157745){const _0x4a5ea0=_0x354c00;if(this[_0x4a5ea0(0x30e)](_0x157745))return this['_clearScheduledTask'](),this[_0x4a5ea0(0x199)][_0x4a5ea0(0x348)](he,this[_0x4a5ea0(0x207)],this[_0x4a5ea0(0x260)],this['_awaitingChangeset'],[],null,[_0x157745],this[_0x4a5ea0(0x21b)]);try{const _0x5dc81e=this[_0x4a5ea0(0x329)][_0x4a5ea0(0x18c)]([_0x157745],[this['_awaitingChangeset']],!0x1);if(_0x2a9c67(_0x5dc81e)){const {c1Prime:_0x3e2193,c2Prime:_0x14c9ab}=_0x5dc81e;this[_0x4a5ea0(0x1ac)](_0x3e2193[0x0]),_0x14c9ab[0x0][_0x4a5ea0(0x294)]=this[_0x4a5ea0(0x275)](),this[_0x4a5ea0(0x3eb)]();const _0x385605=this[_0x4a5ea0(0x199)][_0x4a5ea0(0x348)](Te,this[_0x4a5ea0(0x207)],this[_0x4a5ea0(0x260)],_0x14c9ab[0x0],this[_0x4a5ea0(0x21b)]);return _0x385605[_0x4a5ea0(0x252)](),_0x385605;}return this[_0x4a5ea0(0x4b1)](!0x1);}catch(_0x3f9a4d){return this[_0x4a5ea0(0x3b6)]['error'](_0x3f9a4d),this['_onConflict'](!0x1);}}[_0x354c00(0x522)](_0xfecb55){const _0x420682=_0x354c00;this[_0x420682(0x3eb)]();const _0x20992a=this[_0x420682(0x46f)][_0x420682(0x2cd)](this[_0x420682(0x207)]);if(_0xfecb55['revision']<_0x20992a-0x1)return this;if(this['_checkMissing'](_0xfecb55))return this[_0x420682(0x199)][_0x420682(0x348)](he,this[_0x420682(0x207)],this[_0x420682(0x260)],null,[],this[_0x420682(0x277)],[],this[_0x420682(0x21b)]);this[_0x420682(0x48c)]();const _0x38ddbe=this[_0x420682(0x199)][_0x420682(0x348)](Fe,this[_0x420682(0x207)],this[_0x420682(0x260)],this[_0x420682(0x21b)]);return _0x38ddbe['_updateLocalCache'](),_0x38ddbe;}[_0x354c00(0x47c)](_0x420ad7){const _0x210221=_0x354c00;return this[_0x210221(0x4b1)](!!(_0x420ad7!=null&&_0x420ad7[_0x210221(0x264)]));}[_0x354c00(0x393)](_0x28890f){const _0x5d819c=_0x354c00;return this[_0x5d819c(0x502)]>Ni?this['toggleOffline']():(this[_0x5d819c(0x470)]=Ui(this[_0x5d819c(0x502)],{'timeout':this[_0x5d819c(0x502)],'reqId':_0x28890f[_0x5d819c(0x4d3)]}),this[_0x5d819c(0x54a)]=this['_resendTimer'][_0x5d819c(0x51f)](({reqId:_0x3d5a5b,timeout:_0x1fd582})=>{this['_resendWithTimeout'](_0x3d5a5b,_0x1fd582);}),this);}['toggleOffline'](){const _0x42ed4a=_0x354c00;return this[_0x42ed4a(0x3eb)](),this[_0x42ed4a(0x199)]['createInstance'](ye,this[_0x42ed4a(0x207)],this[_0x42ed4a(0x260)],this[_0x42ed4a(0x277)],[],this['_handler']);}[_0x354c00(0x404)](){return this;}[_0x354c00(0x1c9)](){const _0x52024c=_0x354c00;this[_0x52024c(0x21b)][_0x52024c(0x47e)](this[_0x52024c(0x277)]);}[_0x354c00(0x4b1)](_0x34b2d5){const _0x39cc49=_0x354c00;return this[_0x39cc49(0x3eb)](),this[_0x39cc49(0x199)]['createInstance'](Re,this[_0x39cc49(0x207)],this[_0x39cc49(0x260)],this[_0x39cc49(0x277)],[],this['_handler'],_0x34b2d5);}[_0x354c00(0x227)](_0x25ea07,_0x5eb153){const _0x266ce2=_0x354c00;var _0x4b488e;_0x25ea07===((_0x4b488e=this['_awaitingChangeset'])==null?void 0x0:_0x4b488e[_0x266ce2(0x4d3)])&&(this[_0x266ce2(0x1c9)](),this[_0x266ce2(0x502)]=_0x5eb153===0x0?0x3e8:_0x5eb153*0x2);}[_0x354c00(0x3eb)](){const _0x5e35dd=_0x354c00;var _0x1f401a;(_0x1f401a=this['_sender'])==null||_0x1f401a[_0x5e35dd(0x4fa)](),this[_0x5e35dd(0x502)]=0x0;}};Te=Le([A(0x4,_0x1727eb(_0x5d0612)),A(0x5,_0x1727eb(_0x27820f)),A(0x6,_0x1727eb(q)),A(0x7,_0xfbfaad),A(0x8,_0x3b4016),A(0x9,_0xe30adb),A(0xa,_0x107280)],Te);let ge=class extends $e{constructor(_0x2362b3,_0x113175,_0x23ccc3,_0x240f36,_0x39dc6f,_0x3dda0b,_0x11574f,_0x5c86ea,_0x377a24,_0x4292bc,_0x4be3a8,_0x2afafa,_0xacb728){const _0x5a439c=_0x354c00;super(_0x2362b3,_0x113175,_0x23ccc3,_0x240f36,_0x39dc6f,_0x4292bc,_0xacb728,_0x5c86ea,_0x377a24),g(this,'status',_0x5a439c(0x491)),g(this,_0x5a439c(0x502),0x0),g(this,_0x5a439c(0x470)),g(this,_0x5a439c(0x54a)),(this['_injector']=_0x11574f,this[_0x5a439c(0x3b6)]=_0x4be3a8,this[_0x5a439c(0x329)]=_0x2afafa,_0x3dda0b&&(this[_0x5a439c(0x470)]=_0x3dda0b,this[_0x5a439c(0x54a)]=this[_0x5a439c(0x470)][_0x5a439c(0x51f)](({reqId:_0x535ad2,timeout:_0x3361c8})=>{this['_resendWithTimeout'](_0x535ad2,_0x3361c8);})));}[_0x354c00(0x4c1)](_0x21e964){const _0x1e460d=_0x354c00;return this[_0x1e460d(0x25b)][_0x1e460d(0x301)](_0x21e964),this;}[_0x354c00(0x4a9)](_0x4b0778){const _0x38577e=_0x354c00;if(this[_0x38577e(0x30e)](_0x4b0778))return this['_clearScheduledTask'](),this[_0x38577e(0x199)]['createInstance'](he,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x38577e(0x25b)],null,[_0x4b0778],this[_0x38577e(0x21b)]);try{const _0x5aea74=this[_0x38577e(0x329)][_0x38577e(0x18c)]([_0x4b0778],[this['_awaitingChangeset']],!0x1);if(_0x2a9c67(_0x5aea74)){const {c1Prime:_0x4e2836,c2Prime:_0x57cc85}=_0x5aea74,_0x2cd4f8=this[_0x38577e(0x329)][_0x38577e(0x219)](_0x4e2836[0x0],this[_0x38577e(0x25b)]);if(_0x295e25(_0x2cd4f8)){const {c1Prime:_0x1fe811,m2Prime:_0x4da783}=_0x2cd4f8;return this[_0x38577e(0x1ac)](_0x1fe811),_0x57cc85[0x0][_0x38577e(0x294)]=this[_0x38577e(0x275)](),this[_0x38577e(0x3eb)](),this[_0x38577e(0x199)][_0x38577e(0x348)](ge,this['unitID'],this[_0x38577e(0x260)],_0x57cc85[0x0],_0x4da783,this[_0x38577e(0x21b)],void 0x0);}throw _0x2cd4f8[_0x38577e(0x2f1)];}throw _0x5aea74[_0x38577e(0x2f1)];}catch(_0x4a9255){return this['_logService'][_0x38577e(0x2f1)](_0x4a9255),this[_0x38577e(0x4b1)](!0x1);}}[_0x354c00(0x522)](_0x8a5deb){const _0x177b63=_0x354c00;if(this['_clearScheduledTask'](),this[_0x177b63(0x30e)](_0x8a5deb))return this[_0x177b63(0x199)][_0x177b63(0x348)](he,this[_0x177b63(0x207)],this['type'],null,this[_0x177b63(0x25b)],this[_0x177b63(0x277)],[],this['_handler']);this[_0x177b63(0x48c)]();const _0x19c40a=this['_injector']['createInstance'](pe,this[_0x177b63(0x207)],this[_0x177b63(0x260)],this[_0x177b63(0x25b)],this[_0x177b63(0x21b)]);return _0x19c40a[_0x177b63(0x3fb)](),_0x19c40a[_0x177b63(0x252)](),_0x19c40a;}[_0x354c00(0x47c)](_0x1a33d1){const _0x283d57=_0x354c00;return this[_0x283d57(0x4b1)](!!(_0x1a33d1!=null&&_0x1a33d1[_0x283d57(0x264)]));}[_0x354c00(0x393)](_0x12d96f){const _0x43755b=_0x354c00;return this[_0x43755b(0x502)]>Ni?this[_0x43755b(0x446)]():(this[_0x43755b(0x470)]=Ui(this[_0x43755b(0x502)],{'timeout':this[_0x43755b(0x502)],'reqId':_0x12d96f[_0x43755b(0x4d3)]}),this[_0x43755b(0x54a)]=this[_0x43755b(0x470)][_0x43755b(0x51f)](({reqId:_0x3da336,timeout:_0x3404be})=>{const _0xb155ef=_0x43755b;this[_0xb155ef(0x227)](_0x3da336,_0x3404be);}),this);}[_0x354c00(0x446)](){const _0x2f47c3=_0x354c00;return this['_clearScheduledTask'](),this[_0x2f47c3(0x199)][_0x2f47c3(0x348)](ye,this[_0x2f47c3(0x207)],this[_0x2f47c3(0x260)],this[_0x2f47c3(0x277)],this['_pendingMutations'],this[_0x2f47c3(0x21b)]);}[_0x354c00(0x404)](){return this;}[_0x354c00(0x1c9)](){const _0x57e3a8=_0x354c00;this[_0x57e3a8(0x21b)][_0x57e3a8(0x47e)](this['_awaitingChangeset']);}[_0x354c00(0x4b1)](_0x58549c){const _0x44c5ce=_0x354c00;return this['_clearScheduledTask'](),this['_injector'][_0x44c5ce(0x348)](Re,this['unitID'],this[_0x44c5ce(0x260)],null,this[_0x44c5ce(0x25b)],this[_0x44c5ce(0x21b)],_0x58549c);}[_0x354c00(0x227)](_0x2fc367,_0x52a400){const _0x2b02f9=_0x354c00;var _0x45fef8;_0x2fc367===((_0x45fef8=this[_0x2b02f9(0x277)])==null?void 0x0:_0x45fef8[_0x2b02f9(0x4d3)])&&(this['resend'](),this['_resendTimeout']=_0x52a400===0x0?0x3e8:_0x52a400*0x2);}['_clearScheduledTask'](){const _0x3aa1f6=_0x354c00;var _0x3af59c;(_0x3af59c=this[_0x3aa1f6(0x54a)])==null||_0x3af59c[_0x3aa1f6(0x4fa)](),this[_0x3aa1f6(0x502)]=0x0;}};ge=Le([A(0x6,_0x1727eb(_0x5d0612)),A(0x7,_0x1727eb(_0x27820f)),A(0x8,_0x1727eb(q)),A(0x9,_0xfbfaad),A(0xa,_0x3b4016),A(0xb,_0xe30adb),A(0xc,_0x107280)],ge);let Re=class extends $e{constructor(_0x462433,_0x4f2f2c,_0x2aea58,_0x49b27d,_0x5d45cb,_0x534d2a=!0x1,_0x568444,_0x8046f9,_0x5b7781,_0x166059,_0x1ad7bb,_0x4af8b5,_0x5002c6){const _0x384468=_0x354c00;super(_0x462433,_0x4f2f2c,_0x2aea58,_0x49b27d,_0x5d45cb,_0x8046f9,_0x5b7781,_0x1ad7bb,_0x166059),g(this,_0x384468(0x15a),_0x384468(0x4a7)),(this[_0x384468(0x176)]=_0x534d2a,this['_permissionService']=_0x568444,this['_localeService']=_0x4af8b5,this[_0x384468(0x415)]=_0x5002c6,this['_showConflictNotification'](),this[_0x384468(0x2ca)](),this[_0x384468(0x44f)]());}[_0x354c00(0x4c1)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x354c00(0x47c)](){return this;}[_0x354c00(0x393)](){return this;}[_0x354c00(0x446)](){return this;}[_0x354c00(0x404)](){return this;}[_0x354c00(0x1c9)](){const _0x591544=_0x354c00;throw new Error(_0x591544(0x2cb));}['_clearLocalCache'](){const _0x3ebf7d=_0x354c00;this['_localCacheService']['updateOfflineData'](this[_0x3ebf7d(0x207)],this[_0x3ebf7d(0x260)],null,[]);}[_0x354c00(0x1c3)](){const _0x3eab8a=_0x354c00;this['_isPermissionRej']?this['_notificationService'][_0x3eab8a(0x24e)]({'title':this[_0x3eab8a(0x31f)]['t']('permission.title'),'content':this[_0x3eab8a(0x31f)]['t'](_0x3eab8a(0x28b)),'type':'error','duration':0x0}):this[_0x3eab8a(0x415)]['show']({'title':this[_0x3eab8a(0x31f)]['t']('conflict.title'),'content':this['_localeService']['t'](_0x3eab8a(0x182)),'type':_0x3eab8a(0x2f1),'duration':0x0});}[_0x354c00(0x44f)](){const _0x50a364=_0x354c00;this['_permissionService'][_0x50a364(0x4a2)](new _0x18c2b1(this[_0x50a364(0x207)])['id'],!0x1);}};Re=Le([A(0x6,_0x1727eb(_0x121e54)),A(0x7,_0xfbfaad),A(0x8,_0x107280),A(0x9,_0x1727eb(q)),A(0xa,_0x1727eb(_0x27820f)),A(0xb,_0x1727eb(_0x382d24)),A(0xc,_0x49927c)],Re);let ye=class extends $e{constructor(_0x17bdc2,_0x4a369d,_0x1febab,_0xc38308,_0x124d8c,_0x18cf68,_0x3aba68,_0x5d1a6f,_0x2bee85,_0xfa7bed){const _0x5012dc=_0x354c00;super(_0x17bdc2,_0x4a369d,_0x1febab,_0xc38308,_0x124d8c,_0x2bee85,_0xfa7bed,_0x3aba68,_0x5d1a6f),g(this,_0x5012dc(0x15a),_0x5012dc(0x26e)),this[_0x5012dc(0x199)]=_0x18cf68;}[_0x354c00(0x4c1)](_0x46d1a){const _0x9c766f=_0x354c00;return this[_0x9c766f(0x25b)]['push'](_0x46d1a),this[_0x9c766f(0x252)](),this;}[_0x354c00(0x4a9)](_0x59c773){const _0x51c204=_0x354c00;throw new Error(_0x51c204(0x1a7));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x354c00(0x47c)](){const _0x3cf362=_0x354c00;throw new Error(_0x3cf362(0x218));}[_0x354c00(0x393)](){return this;}[_0x354c00(0x446)](){return this;}['toggleOnline'](){const _0x432155=_0x354c00,{_injector:_0x17c8db,_pendingMutations:_0x22c046,_awaitingChangeset:_0x41efef,unitID:_0xfbe463,_handler:_0x5019a4,type:_0x59d9f2}=this,_0x87f86=Ai(_0x17c8db,_0xfbe463,_0x59d9f2,_0x41efef,_0x22c046,_0x5019a4);return _0x87f86 instanceof pe?_0x87f86['_schedule']():(_0x87f86 instanceof ge||_0x87f86 instanceof Te)&&_0x87f86[_0x432155(0x1c9)](),_0x87f86;}[_0x354c00(0x1c9)](){const _0x209901=_0x354c00;throw new Error(_0x209901(0x233));}};ye=Le([A(0x5,_0x1727eb(_0x5d0612)),A(0x6,_0x1727eb(_0x27820f)),A(0x7,_0x1727eb(q)),A(0x8,_0xfbfaad),A(0x9,_0x107280)],ye);let he=class extends $e{constructor(_0x2ccc92,_0x172273,_0x5c0531,_0x5c72ec,_0x239c12,_0x19277d,_0x5a4c41,_0x3a112b,_0x4c769c,_0x29b162,_0x2f6dd0,_0x434b76,_0x497463,_0x380b2d){const _0x5f18c3=_0x354c00;super(_0x2ccc92,_0x172273,_0x5c0531,_0x5c72ec,_0x5a4c41,_0x434b76,_0x497463,_0x4c769c,_0x29b162),g(this,_0x5f18c3(0x15a),_0x5f18c3(0x18d)),(this[_0x5f18c3(0x366)]=_0x239c12,this[_0x5f18c3(0x1ba)]=_0x19277d,this[_0x5f18c3(0x199)]=_0x3a112b,this[_0x5f18c3(0x3b6)]=_0x2f6dd0,this[_0x5f18c3(0x329)]=_0x380b2d);}[_0x354c00(0x265)](_0x4edb6a){const _0x1de83b=_0x354c00;try{const _0x2fddd6=[..._0x4edb6a,...this[_0x1de83b(0x1ba)]],_0x157c22=[this[_0x1de83b(0x277)]||this[_0x1de83b(0x366)]][_0x1de83b(0x2bb)](_0x42a996=>!!_0x42a996);let _0xd6ac59,_0x22ea60;if(_0x157c22[_0x1de83b(0x2a0)]){const _0x115182=this['_transformService']['transformChangesets'](_0x2fddd6,_0x157c22,!0x1);if(!_0x2a9c67(_0x115182))throw _0x115182[_0x1de83b(0x2f1)];_0xd6ac59=_0x115182['c1Prime'],_0x22ea60=_0x115182['c2Prime'];}else _0xd6ac59=_0x2fddd6,_0x22ea60=[];let _0x31c013=this[_0x1de83b(0x25b)];_0xd6ac59[_0x1de83b(0x3f0)](_0x4fb5ad=>{const _0x1d4a0c=_0x1de83b;let _0x420f9e;if(_0x31c013[_0x1d4a0c(0x2a0)]){const _0x2d78d6=this['_transformService'][_0x1d4a0c(0x219)](_0x4fb5ad,_0x31c013);if(!_0x295e25(_0x2d78d6))throw _0x2d78d6[_0x1d4a0c(0x2f1)];_0x420f9e=_0x2d78d6['c1Prime'],_0x31c013=_0x2d78d6[_0x1d4a0c(0x1b1)];}else _0x420f9e=_0x4fb5ad;this[_0x1d4a0c(0x1ac)](_0x420f9e);}),this[_0x1de83b(0x366)]&&this[_0x1de83b(0x48c)](),this[_0x1de83b(0x277)]&&_0x22ea60[_0x1de83b(0x2a0)]&&(_0x22ea60[0x0][_0x1de83b(0x294)]=this[_0x1de83b(0x275)]());let _0x1bff45;if(this[_0x1de83b(0x277)]&&_0x31c013[_0x1de83b(0x2a0)]!==0x0)_0x1bff45=this[_0x1de83b(0x199)][_0x1de83b(0x348)](ge,this['unitID'],this[_0x1de83b(0x260)],_0x22ea60[0x0],_0x31c013,this[_0x1de83b(0x21b)],void 0x0);else{if(this[_0x1de83b(0x277)]&&_0x31c013['length']===0x0)_0x22ea60[0x0][_0x1de83b(0x294)]=this[_0x1de83b(0x275)](),_0x1bff45=this[_0x1de83b(0x199)][_0x1de83b(0x348)](Te,this[_0x1de83b(0x207)],this['type'],_0x22ea60[0x0],this['_handler']);else{if(_0x31c013[_0x1de83b(0x2a0)]!==0x0){const _0x2d271c=this[_0x1de83b(0x199)][_0x1de83b(0x348)](pe,this[_0x1de83b(0x207)],this[_0x1de83b(0x260)],_0x31c013,this[_0x1de83b(0x21b)]);_0x2d271c[_0x1de83b(0x3fb)](),_0x1bff45=_0x2d271c;}else _0x1bff45=this[_0x1de83b(0x199)][_0x1de83b(0x348)](Fe,this[_0x1de83b(0x207)],this['type'],this[_0x1de83b(0x21b)]);}}return _0x1bff45[_0x1de83b(0x252)](),_0x1bff45;}catch(_0x29717b){return this['_logService'][_0x1de83b(0x2f1)](_0x1de83b(0x4d6),_0x1de83b(0x530),_0x29717b),this[_0x1de83b(0x199)][_0x1de83b(0x348)](Re,this['unitID'],this[_0x1de83b(0x260)],this[_0x1de83b(0x277)],this['_pendingMutations'],this[_0x1de83b(0x21b)],!0x1);}}['resend'](){const _0x51b5a3=_0x354c00;throw new Error(_0x51b5a3(0x557));}[_0x354c00(0x4c1)](_0x1bd384){const _0x1a2046=_0x354c00;return this['_pendingMutations'][_0x1a2046(0x301)](_0x1bd384),this;}[_0x354c00(0x4a9)](_0x2aa0d9){const _0x4a6878=_0x354c00;return this[_0x4a6878(0x1ba)]['push'](_0x2aa0d9),this;}[_0x354c00(0x522)](_0x1f4023){const _0x6e467=_0x354c00;if(this[_0x6e467(0x277)])return this[_0x6e467(0x366)]=this[_0x6e467(0x277)],this[_0x6e467(0x277)]=null,this;throw new Error(_0x6e467(0x458));}[_0x354c00(0x47c)](_0x2137e2){const _0x175e52=_0x354c00;return this[_0x175e52(0x4b1)](!!(_0x2137e2!=null&&_0x2137e2[_0x175e52(0x264)]));}[_0x354c00(0x393)](){return this;}[_0x354c00(0x446)](){const _0x31386b=_0x354c00;return this[_0x31386b(0x199)][_0x31386b(0x348)](ye,this[_0x31386b(0x207)],this[_0x31386b(0x260)],this[_0x31386b(0x277)],this['_pendingMutations'],this[_0x31386b(0x21b)]);}[_0x354c00(0x404)](){return this;}[_0x354c00(0x4b1)](_0x7a3d61){const _0x6d0bb0=_0x354c00;return this[_0x6d0bb0(0x199)][_0x6d0bb0(0x348)](Re,this[_0x6d0bb0(0x207)],this[_0x6d0bb0(0x260)],this[_0x6d0bb0(0x277)],this[_0x6d0bb0(0x25b)],this['_handler'],_0x7a3d61);}};he=Le([A(0x7,_0x1727eb(_0x5d0612)),A(0x8,_0x1727eb(_0x27820f)),A(0x9,_0x1727eb(q)),A(0xa,_0x3b4016),A(0xb,_0xfbfaad),A(0xc,_0x107280),A(0xd,_0xe30adb)],he);function Ai(_0xf1d960,_0x35e607,_0x5b1d30,_0x5b047e,_0x455130,_0x401483){const _0x347f3c=_0x354c00;return _0x5b047e&&_0x455130[_0x347f3c(0x2a0)]?_0xf1d960[_0x347f3c(0x348)](ge,_0x35e607,_0x5b1d30,_0x5b047e,_0x455130,_0x401483,void 0x0):_0x5b047e?_0xf1d960['createInstance'](Te,_0x35e607,_0x5b1d30,_0x5b047e,_0x401483):_0x455130['length']?_0xf1d960[_0x347f3c(0x348)](pe,_0x35e607,_0x5b1d30,_0x455130,_0x401483):_0xf1d960[_0x347f3c(0x348)](Fe,_0x35e607,_0x5b1d30,_0x401483);}var So=Object[_0x354c00(0x3cf)],Io=Object[_0x354c00(0x20e)],Es=(_0x18eae4,_0x356596,_0x4e2ad6,_0x3ecd4f)=>{for(var _0x25089a=_0x3ecd4f>0x1?void 0x0:_0x3ecd4f?Io(_0x356596,_0x4e2ad6):_0x356596,_0x44776e=_0x18eae4['length']-0x1,_0x473008;_0x44776e>=0x0;_0x44776e--)(_0x473008=_0x18eae4[_0x44776e])&&(_0x25089a=(_0x3ecd4f?_0x473008(_0x356596,_0x4e2ad6,_0x25089a):_0x473008(_0x25089a))||_0x25089a);return _0x3ecd4f&&_0x25089a&&So(_0x356596,_0x4e2ad6,_0x25089a),_0x25089a;},H=(_0x193850,_0x21ce86)=>(_0x26374b,_0x359c8a)=>_0x21ce86(_0x26374b,_0x359c8a,_0x193850);let gt=class extends _0x1bd493{constructor(_0x327605,_0xd281a,_0x119bbf,_0x4221ef,_0x5417d5,_0x575c15,_0x3b2d76,_0x1f7d56,_0x69ce3b,_0x884b7b,_0x352ce3,_0x2a8f35,_0x24d60d){const _0x3caf2f=_0x354c00;super(),g(this,'_state$',new _0x5ea788(null)),g(this,_0x3caf2f(0x4cc),this['_state$'][_0x3caf2f(0x516)]()),g(this,_0x3caf2f(0x290)),g(this,'_collaborationPaused',!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x3caf2f(0x215),this[_0x3caf2f(0x4cc)]['pipe'](_0x147fd2(_0x5c4c67=>_0x5c4c67?_0x5c4c67[_0x3caf2f(0x15a)]:J['OFFLINE']),_0x3f5b54(0x1))),g(this,_0x3caf2f(0x147),!0x1),g(this,_0x3caf2f(0x45b),[]),(this[_0x3caf2f(0x207)]=_0x327605,this[_0x3caf2f(0x24c)]=_0xd281a,this['_type']=_0x119bbf,this[_0x3caf2f(0x199)]=_0x4221ef,this[_0x3caf2f(0x1e2)]=_0x5417d5,this[_0x3caf2f(0x4f9)]=_0x575c15,this['_localeService']=_0x3b2d76,this['_revisionService']=_0x1f7d56,this[_0x3caf2f(0x3b6)]=_0x69ce3b,this[_0x3caf2f(0x3fc)]=_0x884b7b,this[_0x3caf2f(0x221)]=_0x352ce3,this['_permissionService']=_0x2a8f35,this['_singleActiveUnitService']=_0x24d60d);}get[_0x354c00(0x314)](){const _0x5b1e24=_0x354c00;return this[_0x5b1e24(0x290)];}async['init'](){const _0x261ab9=_0x354c00;if(this[_0x261ab9(0x314)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x261ab9(0x536)]();}[_0x354c00(0x394)](){const _0x1eee32=_0x354c00;return this[_0x1eee32(0x37f)]=!0x0,_0x48b865(()=>{const _0x16c7f5=_0x1eee32;this[_0x16c7f5(0x37f)]=!0x1,this[_0x16c7f5(0x52e)]();});}[_0x354c00(0x22b)](_0xbbdd79){const _0x2bed64=_0x354c00;this[_0x2bed64(0x290)]=_0xbbdd79,this[_0x2bed64(0x3b1)]['next'](_0xbbdd79);}async[_0x354c00(0x536)](){const _0x3e3169=_0x354c00;var _0x4799e9;this[_0x3e3169(0x22b)](await this[_0x3e3169(0x451)]()),this[_0x3e3169(0x474)]&&((_0x4799e9=this[_0x3e3169(0x474)])==null||_0x4799e9['editingUnit'](this[_0x3e3169(0x207)]),this[_0x3e3169(0x181)](this[_0x3e3169(0x474)][_0x3e3169(0x225)](this[_0x3e3169(0x207)])[_0x3e3169(0x51f)](_0x3dcf78=>{const _0x241a70=_0x3e3169;this[_0x241a70(0x3b6)][_0x241a70(0x4c5)]('[CollaborationEntity]',_0x241a70(0x49f),_0x3dcf78),_0x3dcf78===Di[_0x241a70(0x373)]?(this[_0x241a70(0x221)][_0x241a70(0x24e)]({'content':this['_localeService']['t'](_0x241a70(0x416)),'type':_0x3960e0[_0x241a70(0x435)]}),this[_0x241a70(0x450)][_0x241a70(0x4a2)](new _0x18c2b1(this[_0x241a70(0x207)])['id'],!0x1),this[_0x241a70(0x450)]['setShowComponents'](!0x1)):(this[_0x241a70(0x450)]['updatePermissionPoint'](new _0x18c2b1(this[_0x241a70(0x207)])['id'],!0x0),this['_permissionService'][_0x241a70(0x53e)](!0x0));})));let _0x2a394a=!0x1;return this['disposeWithMe'](this[_0x3e3169(0x24c)]['sessionStatus$']['subscribe'](_0x14cd24=>{const _0x355632=_0x3e3169;_0x14cd24===ve[_0x355632(0x29c)]?this[_0x355632(0x21c)](_0x2a394a):_0x14cd24===ve['OFFLINE']&&(_0x2a394a=!0x0,this['_toggleOffline']());})),this[_0x3e3169(0x181)](this[_0x3e3169(0x24c)][_0x3e3169(0x467)][_0x3e3169(0x51f)](_0x3bc041=>{const _0x201089=_0x3e3169;try{switch(_0x3bc041[_0x201089(0x338)]){case _0x5fb817['NEW_CHANGESETS']:{this[_0x201089(0x15c)](_0xccb1bb(_0x3bc041['data']));break;}case _0x5fb817['CHANGESET_ACK']:{this[_0x201089(0x216)](_0x3bc041[_0x201089(0x3df)]);break;}case _0x5fb817['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x5fb817[_0x201089(0x205)]:{this['_onRemoteRetry'](_0x3bc041['data']);break;}case _0x5fb817[_0x201089(0x53f)]:{this[_0x201089(0x482)](_0x3bc041['data'][_0x201089(0x20b)][_0x201089(0x4e6)](_0x1d53a6=>_0xccb1bb(_0x1d53a6)));break;}case _0x5fb817[_0x201089(0x3c6)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x44f6c5){throw console[_0x201089(0x2f1)](_0x201089(0x2a1),_0x44f6c5),_0x44f6c5;}})),this[_0x3e3169(0x290)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x354c00(0x3e0)](){const _0x2b2efb=_0x354c00;if(this[_0x2b2efb(0x147)])throw new Error(_0x2b2efb(0x30f));this[_0x2b2efb(0x147)]=!0x0;}[_0x354c00(0x3ef)](_0x533cad){const _0x4bf2f2=_0x354c00;this[_0x4bf2f2(0x3e0)](),this['_updateState'](this[_0x4bf2f2(0x290)][_0x4bf2f2(0x4c1)](_0x533cad)),this[_0x4bf2f2(0x1b0)]();}[_0x354c00(0x15c)](_0x53beec){const _0x42fb2a=_0x354c00;if(!(_0x53beec[_0x42fb2a(0x3f6)]<=this[_0x42fb2a(0x46f)][_0x42fb2a(0x2cd)](this['unitID']))){if(this[_0x42fb2a(0x37f)]){this[_0x42fb2a(0x45b)]['push'](_0x53beec);return;}this[_0x42fb2a(0x37b)](_0x53beec);}}[_0x354c00(0x52e)](){const _0xdba044=_0x354c00;this['_remoteChangesetQueue'][_0xdba044(0x3f0)](_0x33f4f2=>this[_0xdba044(0x37b)](_0x33f4f2)),this[_0xdba044(0x45b)]=[];}[_0x354c00(0x37b)](_0x2f6d77){const _0x3c7710=_0x354c00,_0x48936b=this[_0x3c7710(0x4f9)][_0x3c7710(0x33e)][_0x3c7710(0x248)](this[_0x3c7710(0x4f9)][_0x3c7710(0x33e)][_0x3c7710(0x2bf)]()[_0x3c7710(0x2a2)])(_0x2f6d77[_0x3c7710(0x24d)],null)||_0x2f6d77[_0x3c7710(0x24d)],_0x1ac7d5={..._0x2f6d77,'mutations':_0x48936b};this[_0x3c7710(0x3e0)](),this[_0x3c7710(0x22b)](this[_0x3c7710(0x290)]['onRemoteChangeset'](_0x1ac7d5)),this[_0x3c7710(0x1b0)]();}[_0x354c00(0x216)](_0x1eca14){const _0x1c1737=_0x354c00;this[_0x1c1737(0x3e0)](),this['_updateState'](this[_0x1c1737(0x290)][_0x1c1737(0x522)](_0x1eca14)),this['_unlockTransition']();}['_onRemoteRejected'](_0x1da56e){const _0xf3d695=_0x354c00;this[_0xf3d695(0x3e0)](),this[_0xf3d695(0x22b)](this[_0xf3d695(0x290)][_0xf3d695(0x47c)](_0x1da56e)),this[_0xf3d695(0x1b0)]();}[_0x354c00(0x4a5)](_0x59a815){const _0x1103be=_0x354c00;this['_lockTransition'](),this[_0x1103be(0x22b)](this['_state'][_0x1103be(0x393)](_0x59a815)),this['_unlockTransition']();}[_0x354c00(0x482)](_0x3cf7ce){const _0x4a0353=_0x354c00;if(!(this[_0x4a0353(0x290)]instanceof he))throw new TypeError(_0x4a0353(0x1c8));const _0x1915c7=_0x3cf7ce['map'](_0x120de6=>{const _0x3f7c30=_0x4a0353,_0xcde3f3=this[_0x3f7c30(0x4f9)][_0x3f7c30(0x33e)][_0x3f7c30(0x248)](this[_0x3f7c30(0x4f9)][_0x3f7c30(0x33e)][_0x3f7c30(0x2bf)]()[_0x3f7c30(0x2a2)])(_0x120de6[_0x3f7c30(0x24d)],null)||_0x120de6[_0x3f7c30(0x24d)];return{..._0x120de6,'mutations':_0xcde3f3};});this[_0x4a0353(0x3e0)](),this[_0x4a0353(0x22b)](this[_0x4a0353(0x290)][_0x4a0353(0x265)](_0x1915c7)),this[_0x4a0353(0x1b0)]();}[_0x354c00(0x2a5)](){const _0x448ac5=_0x354c00;this[_0x448ac5(0x3e0)](),this[_0x448ac5(0x22b)](this[_0x448ac5(0x290)][_0x448ac5(0x446)]()),this[_0x448ac5(0x1b0)]();}[_0x354c00(0x21c)](_0x31c4de=!0x1){const _0x6ec1fc=_0x354c00;this[_0x6ec1fc(0x3e0)](),this['_updateState'](this['_state'][_0x6ec1fc(0x404)]()),this[_0x6ec1fc(0x1b0)]();const _0x33382b=this['_state'];_0x31c4de&&_0x33382b instanceof Fe&&(this[_0x6ec1fc(0x3e0)](),this['_updateState'](_0x33382b[_0x6ec1fc(0x2cc)]()),this[_0x6ec1fc(0x1b0)]());}async[_0x354c00(0x451)](){return new Promise(_0x1edd35=>{const _0x33eecb=_0x33b4;this[_0x33eecb(0x24c)]['sessionStatus$'][_0x33eecb(0x43d)](_0x491b6c(0x1))[_0x33eecb(0x51f)](async _0x10187=>{const _0x1c1cb5=_0x33eecb;_0x1edd35(await this[_0x1c1cb5(0x440)](_0x10187===ve[_0x1c1cb5(0x29c)]));});});}[_0x354c00(0x39d)](){const _0x51e24e=_0x354c00,_0x3fb11d=this[_0x51e24e(0x207)];return{'onStateChange':(_0x1cbb08,_0x337e73)=>{const _0x54cfff=_0x51e24e;if(_0x1cbb08!==this[_0x54cfff(0x290)])throw new Error(_0x54cfff(0x1b8)+_0x1cbb08[_0x54cfff(0x15a)]+_0x54cfff(0x283)+_0x337e73[_0x54cfff(0x15a)]+_0x54cfff(0x495)+this[_0x54cfff(0x290)][_0x54cfff(0x15a)]);this[_0x54cfff(0x22b)](_0x337e73);},'onSendChangeset':_0x4c5754=>{const _0x4eab90=_0x51e24e;_0x4c5754['sid']||(_0x4c5754[_0x4eab90(0x29d)]=this[_0x4eab90(0x42e)],_0x4c5754[_0x4eab90(0x4d3)]=++this[_0x4eab90(0x53d)]);const _0x1694c9={'eventID':_0x5fb817[_0x4eab90(0x3f5)],'data':{'unitID':_0x4c5754['unitID'],'unitType':this['_type'],'changeset':_0x4c5754,'memberID':this[_0x4eab90(0x24c)][_0x4eab90(0x155)]()}};this[_0x4eab90(0x24c)][_0x4eab90(0x2da)](_0x1694c9,this[_0x4eab90(0x207)]);},'onMissingChangesets':({from:_0x542edf,to:_0x130a8d})=>{const _0x113b45=_0x51e24e;this['_logService']['debug'](_0x113b45(0x478),_0x113b45(0x4b2)+_0x542edf+_0x113b45(0x559)+_0x130a8d);const _0x229a9d={'eventID':_0x5fb817[_0x113b45(0x143)],'data':{'unitID':_0x3fb11d,'unitType':this[_0x113b45(0x2c2)],'from':_0x542edf,'to':_0x130a8d}};this[_0x113b45(0x24c)]['send'](_0x229a9d,this[_0x113b45(0x207)]);}};}async[_0x354c00(0x440)](_0x7c0b90){const _0x21c88e=_0x354c00;var _0x599d6c,_0xa3e866;const _0x524f23=await this[_0x21c88e(0x1e2)]['loadOfflineData'](this[_0x21c88e(0x207)]),_0x223d5a=(_0x599d6c=_0x524f23==null?void 0x0:_0x524f23[_0x21c88e(0x24d)])!=null?_0x599d6c:[],_0x4238cc=(_0xa3e866=_0x524f23==null?void 0x0:_0x524f23[_0x21c88e(0x46d)])!=null?_0xa3e866:null,_0x3b6594=!!(_0x4238cc!=null&&_0x4238cc[_0x21c88e(0x29d)])&&!!(_0x4238cc!=null&&_0x4238cc[_0x21c88e(0x4d3)]);this[_0x21c88e(0x42e)]=_0x3b6594?_0x4238cc[_0x21c88e(0x29d)]:zr(),this[_0x21c88e(0x53d)]=_0x3b6594?_0x4238cc[_0x21c88e(0x4d3)]:0x0;const _0x59dc39=this[_0x21c88e(0x207)];try{this[_0x21c88e(0x26c)](_0x4238cc,_0x223d5a);}catch(_0x4412e1){this['_logService'][_0x21c88e(0x2f1)](_0x4412e1);}const _0x2a98ad=this[_0x21c88e(0x39d)]();if(_0x7c0b90){const _0x4ead22=Ai(this[_0x21c88e(0x199)],_0x59dc39,this[_0x21c88e(0x2c2)],_0x4238cc,_0x223d5a,_0x2a98ad);return _0x4ead22 instanceof pe?_0x4ead22[_0x21c88e(0x3fb)]():(_0x4ead22 instanceof ge||_0x4ead22 instanceof Te)&&_0x4ead22[_0x21c88e(0x1c9)](),_0x4ead22;}return this['_injector'][_0x21c88e(0x348)](ye,_0x59dc39,this[_0x21c88e(0x2c2)],_0x4238cc,_0x223d5a,_0x2a98ad);}['_replayCachedMutations'](_0x543beb,_0xe6d555){const _0x5cfc14=_0x354c00;var _0x449459,_0x4b05e4;const _0xfdde90=this[_0x5cfc14(0x4f9)][_0x5cfc14(0x33e)][_0x5cfc14(0x248)](this[_0x5cfc14(0x4f9)][_0x5cfc14(0x33e)][_0x5cfc14(0x2bf)]()[_0x5cfc14(0x2a2)]);(_0x449459=_0xfdde90((_0x543beb==null?void 0x0:_0x543beb[_0x5cfc14(0x24d)])||[],null))==null||_0x449459[_0x5cfc14(0x3f0)](_0x1c32af=>this['_commandService'][_0x5cfc14(0x365)](_0x1c32af['id'],_0x1c32af[_0x5cfc14(0x220)])),(_0x4b05e4=_0xfdde90(_0xe6d555||[],null))==null||_0x4b05e4[_0x5cfc14(0x3f0)](_0x26480e=>this[_0x5cfc14(0x3fc)][_0x5cfc14(0x365)](_0x26480e['id'],_0x26480e[_0x5cfc14(0x220)]));}};gt=Es([H(0x3,_0x1727eb(_0x5d0612)),H(0x4,_0x1727eb(q)),H(0x5,_0x1727eb(_0x19d90b)),H(0x6,_0x1727eb(_0x382d24)),H(0x7,_0x1727eb(_0x27820f)),H(0x8,_0x3b4016),H(0x9,_0xfbfaad),H(0xa,_0x35026c),H(0xb,_0x121e54),H(0xc,_0x213697(Rt))],gt);let ss=class extends gt{constructor(_0xa6d56b,_0x55c203,_0x14cf75,_0x1d2767,_0x38cc7d,_0x419c80,_0x4783ae,_0x3f8993,_0x1d2e72,_0x3b87dd,_0x2b23a4,_0x5a7dde,_0x2d6d92,_0x5a7d6d,_0x227734,_0x5ea4ec,_0x1af65a,_0x2e8fe1){const _0x5ae962=_0x354c00;super(_0xa6d56b,_0x14cf75,_0x55c203,_0x1d2767,_0x38cc7d,_0x419c80,_0x4783ae,_0x3f8993,_0x5a7d6d,_0x227734,_0x5ea4ec,_0x1af65a,_0x2e8fe1),this[_0x5ae962(0x207)]=_0xa6d56b,this['type']=_0x55c203,this[_0x5ae962(0x4d1)]=_0x1d2e72,this[_0x5ae962(0x428)]=_0x3b87dd,this[_0x5ae962(0x463)]=_0x2b23a4,this[_0x5ae962(0x1f3)]=_0x5a7dde,this[_0x5ae962(0x54d)]=_0x2d6d92;}[_0x354c00(0x39d)](){const _0x9e38b1=_0x354c00,_0x309e4d=super['_createHandler']();return _0x309e4d[_0x9e38b1(0x1f1)]=_0x57a130=>this[_0x9e38b1(0x428)][_0x9e38b1(0x425)](_0x57a130),_0x309e4d[_0x9e38b1(0x2d3)]=_0x18e2f7=>this[_0x9e38b1(0x463)][_0x9e38b1(0x48a)](_0x18e2f7),_0x309e4d[_0x9e38b1(0x47a)]=_0x409bab=>this['_docTransformSelectionsService'][_0x9e38b1(0x456)](_0x409bab),_0x309e4d['onSyncEditingCollabCursor']=_0x5df273=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5df273),_0x309e4d[_0x9e38b1(0x2a9)]=_0x157912=>this['_docTransformIMECacheService'][_0x9e38b1(0x347)](_0x157912),_0x309e4d[_0x9e38b1(0x2f5)]=_0x21b108=>this[_0x9e38b1(0x463)][_0x9e38b1(0x347)](_0x21b108),_0x309e4d;}async[_0x354c00(0x536)](){const _0x315ed3=_0x354c00,_0x590c0e=await super['_init']();return this[_0x315ed3(0x4d1)]['docStateChange$'][_0x315ed3(0x43d)](_0x144dfb(this['dispose$']))['subscribe'](_0x4d3780=>{const _0x2d2402=_0x315ed3;if(_0x4d3780==null)return;const {unitId:_0xeba6d9,redoState:_0x304f2b,commandId:_0x4e486}=_0x4d3780;if(_0xeba6d9!==this[_0x2d2402(0x207)])return;const _0x4a8087={'id':_0x4e486,'type':_0x1814f1[_0x2d2402(0x437)],'params':{'unitId':_0xeba6d9,'actions':_0x304f2b[_0x2d2402(0x4cd)],'textRanges':null}};this[_0x2d2402(0x3ef)](_0x4a8087);}),_0x590c0e;}};ss=Es([H(0x3,_0x1727eb(_0x5d0612)),H(0x4,_0x1727eb(q)),H(0x5,_0x1727eb(_0x19d90b)),H(0x6,_0x1727eb(_0x382d24)),H(0x7,_0x1727eb(_0x27820f)),H(0x8,_0x1727eb(_0x1578ad)),H(0x9,_0x1727eb(ft)),H(0xa,_0x1727eb(mt)),H(0xb,_0x1727eb(pt)),H(0xc,_0x1727eb(Cs)),H(0xd,_0x3b4016),H(0xe,_0xfbfaad),H(0xf,_0x35026c),H(0x10,_0x121e54),H(0x11,_0x213697(Rt))],ss);let is=class extends gt{constructor(_0x59e7ba,_0x4348ef,_0x42b793,_0x11f22b,_0x1493ba,_0x353625,_0xf7389c,_0xe48c08,_0x4806a9,_0x183ca4,_0x1543f7,_0xd0242e,_0x9ce6f3,_0x14d021){const _0x3c63fe=_0x354c00;super(_0x59e7ba,_0x42b793,_0x4348ef,_0x11f22b,_0x1493ba,_0x353625,_0xf7389c,_0xe48c08,_0x183ca4,_0x1543f7,_0xd0242e,_0x9ce6f3,_0x14d021),this[_0x3c63fe(0x207)]=_0x59e7ba,this[_0x3c63fe(0x260)]=_0x4348ef,this['_sheetTransformSelectionsService']=_0x4806a9;}['_createHandler'](){const _0x984b79=_0x354c00,_0x3103f6=super[_0x984b79(0x39d)]();return _0x3103f6[_0x984b79(0x47a)]=_0x580646=>this['_sheetTransformSelectionsService'][_0x984b79(0x456)](_0x580646),_0x3103f6;}async[_0x354c00(0x536)](){const _0xd4e168=_0x354c00,_0x7d956b=await super[_0xd4e168(0x536)]();return this[_0xd4e168(0x181)](this['_commandService'][_0xd4e168(0x4ba)]((_0x45dedc,_0x4f7943)=>{const _0x3e67d7=_0xd4e168;if(_0x45dedc[_0x3e67d7(0x260)]!==_0x1814f1[_0x3e67d7(0x437)]||_0x4f7943!=null&&_0x4f7943[_0x3e67d7(0x16a)]||_0x4f7943!=null&&_0x4f7943[_0x3e67d7(0x2de)])return;const _0x500fa6=_0x45dedc[_0x3e67d7(0x220)];if((_0x500fa6==null?void 0x0:_0x500fa6[_0x3e67d7(0x315)])!==this[_0x3e67d7(0x207)])return;const _0x51ef4c=_0x45dedc,_0x558102=this['_compressMutationService']['interceptor'][_0x3e67d7(0x248)](this['_compressMutationService'][_0x3e67d7(0x33e)]['getInterceptPoints']()[_0x3e67d7(0x14c)])([_0x51ef4c],null)||[_0x51ef4c];this['_onLocalMutation'](_0x558102[0x0]);})),_0x7d956b;}};is=Es([H(0x3,_0x1727eb(_0x5d0612)),H(0x4,_0x1727eb(q)),H(0x5,_0x1727eb(_0x19d90b)),H(0x6,_0x1727eb(_0x382d24)),H(0x7,_0x1727eb(_0x27820f)),H(0x8,_0x1727eb(vt)),H(0x9,_0x3b4016),H(0xa,_0xfbfaad),H(0xb,_0x35026c),H(0xc,_0x121e54),H(0xd,_0x213697(Rt))],is);var Co=Object[_0x354c00(0x3cf)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x470a3e,_0x55bd12,_0x4f32c2,_0x133e18)=>{const _0x1ac8d3=_0x354c00;for(var _0x7756d7=_0x133e18>0x1?void 0x0:_0x133e18?Eo(_0x55bd12,_0x4f32c2):_0x55bd12,_0x570120=_0x470a3e[_0x1ac8d3(0x2a0)]-0x1,_0x5642e1;_0x570120>=0x0;_0x570120--)(_0x5642e1=_0x470a3e[_0x570120])&&(_0x7756d7=(_0x133e18?_0x5642e1(_0x55bd12,_0x4f32c2,_0x7756d7):_0x5642e1(_0x7756d7))||_0x7756d7);return _0x133e18&&_0x7756d7&&Co(_0x55bd12,_0x4f32c2,_0x7756d7),_0x7756d7;},Lt=(_0x3a5784,_0x4c6cf1)=>(_0xcac7c4,_0xd4a099)=>_0x4c6cf1(_0xcac7c4,_0xd4a099,_0x3a5784);let it=class extends _0x1bd493{constructor(_0x51e9b7,_0xf6f0c9,_0x440938){const _0xf6fc04=_0x354c00;super(),g(this,'_entities',new Map()),g(this,_0xf6fc04(0x3d9),new _0x3189d9()),(this['_injector']=_0x51e9b7,this[_0xf6fc04(0x4fe)]=_0xf6f0c9,this[_0xf6fc04(0x429)]=_0x440938,this[_0xf6fc04(0x536)]());}[_0x354c00(0x4d7)](){const _0x4d8464=_0x354c00;super[_0x4d8464(0x4d7)](),this[_0x4d8464(0x1ea)]['forEach'](_0x5e56fd=>_0x5e56fd[_0x4d8464(0x4d7)]()),this[_0x4d8464(0x1ea)][_0x4d8464(0x16d)]();}[_0x354c00(0x3b0)](_0x543eaa){var _0x12406a;return(_0x12406a=this['_entities']['get'](_0x543eaa))!=null?_0x12406a:null;}[_0x354c00(0x3da)](_0x1369e4){const _0x3e8a1f=_0x354c00,_0x286805=this[_0x3e8a1f(0x3b0)](_0x1369e4);return _0x286805?_0x517049(_0x286805):this['_entityInit$'][_0x3e8a1f(0x43d)](_0x34bcfb(_0x12bad1=>_0x12bad1['unitID']===_0x1369e4));}[_0x354c00(0x536)](){const _0x11127f=_0x354c00;this[_0x11127f(0x429)]['getTypeOfUnitAdded$'](_0x208af7[_0x11127f(0x1c5)])[_0x11127f(0x43d)](_0x144dfb(this[_0x11127f(0x14d)]),_0x1a5bdc(0x10))['subscribe'](async _0x3408da=>{const _0x271447=_0x11127f,_0x2b736a=_0x3408da[_0x271447(0x191)](),_0x34f4ce=await this[_0x271447(0x189)](_0x2b736a,ce[_0x271447(0x1c5)]);this[_0x271447(0x1ea)][_0x271447(0x244)](_0x2b736a,_0x34f4ce);}),this['_univerInstanceService'][_0x11127f(0x319)](_0x208af7[_0x11127f(0x461)])[_0x11127f(0x43d)](_0x144dfb(this[_0x11127f(0x14d)]),_0x1a5bdc(0x10))[_0x11127f(0x43d)](_0x34bcfb(_0x4e59b1=>!_0x4e59b1[_0x11127f(0x191)]()['startsWith']('__')))['subscribe'](async _0x4b8576=>{const _0x3fe9b5=_0x11127f,_0x31417a=_0x4b8576[_0x3fe9b5(0x191)](),_0x2d1de3=await this[_0x3fe9b5(0x189)](_0x31417a,ce['UNIVER_DOC']);this[_0x3fe9b5(0x1ea)][_0x3fe9b5(0x244)](_0x31417a,_0x2d1de3);}),_0x32fe1c(this[_0x11127f(0x429)][_0x11127f(0x364)](_0x208af7[_0x11127f(0x1c5)]),this[_0x11127f(0x429)][_0x11127f(0x364)](_0x208af7[_0x11127f(0x461)]))[_0x11127f(0x43d)](_0x144dfb(this[_0x11127f(0x14d)]))[_0x11127f(0x51f)](_0x339791=>{const _0x6af522=_0x11127f,_0x5198e1=_0x339791[_0x6af522(0x191)](),_0x574286=this[_0x6af522(0x1ea)][_0x6af522(0x291)](_0x5198e1);_0x574286&&(_0x574286[_0x6af522(0x4d7)](),this[_0x6af522(0x1ea)][_0x6af522(0x361)](_0x5198e1));});}async[_0x354c00(0x189)](_0xde4a58,_0x2a96c7){const _0x4c15bc=_0x354c00,_0x8823fb=await this[_0x4c15bc(0x4fe)][_0x4c15bc(0x4f1)](_0xde4a58),_0x2cc012=this[_0x4c15bc(0x199)][_0x4c15bc(0x348)](this['_getCtorByUniverType'](_0x2a96c7),_0xde4a58,_0x2a96c7,_0x8823fb);return await _0x2cc012['init'](),this[_0x4c15bc(0x3d9)]['next'](_0x2cc012),_0x2cc012;}[_0x354c00(0x360)](_0x721a05){const _0x4e573c=_0x354c00;switch(_0x721a05){case ce[_0x4e573c(0x461)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x4e573c(0x2dd)+_0x721a05);}}};it=bo([Lt(0x0,_0x1727eb(_0x5d0612)),Lt(0x1,_0x1727eb(Ae)),Lt(0x2,_0x48d976)],it);const Gs=[_0x354c00(0x17d),'jiqing500',_0x354c00(0x459),_0x354c00(0x23d),'blue400','gold400'];class bs extends _0x1cb1cd{constructor(){const _0x171913=_0x354c00;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x171913(0x254),0x0);}['assignAColorForMemberID'](_0x5d4031){const _0x143032=_0x354c00;if(this[_0x143032(0x55a)][_0x143032(0x272)](_0x5d4031))return this['_assignedColors']['get'](_0x5d4031);const _0x469151=Gs[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%Gs['length'],this[_0x143032(0x55a)]['set'](_0x5d4031,_0x469151),_0x469151;}}var To=Object['defineProperty'],Ro=Object['getOwnPropertyDescriptor'],yo=(_0x396e5b,_0x1f2ce9,_0x59f129,_0x59b7c2)=>{for(var _0x15eb0e=_0x59b7c2>0x1?void 0x0:_0x59b7c2?Ro(_0x1f2ce9,_0x59f129):_0x1f2ce9,_0x507f20=_0x396e5b['length']-0x1,_0x4f7a26;_0x507f20>=0x0;_0x507f20--)(_0x4f7a26=_0x396e5b[_0x507f20])&&(_0x15eb0e=(_0x59b7c2?_0x4f7a26(_0x1f2ce9,_0x59f129,_0x15eb0e):_0x4f7a26(_0x15eb0e))||_0x15eb0e);return _0x59b7c2&&_0x15eb0e&&To(_0x1f2ce9,_0x59f129,_0x15eb0e),_0x15eb0e;},Oe=(_0x1460b6,_0x237fec)=>(_0x3f7455,_0xfcac12)=>_0x237fec(_0x3f7455,_0xfcac12,_0x1460b6);const Oo=0x12c,wo=0x64;let ns=class extends _0x1bd493{constructor(_0x367e8c,_0x158bea,_0x3d63d4,_0x5b951f,_0x2092fa,_0x524ecb,_0x113394,_0x479026,_0x27df9b){const _0x312c94=_0x354c00;super(),g(this,_0x312c94(0x403),!0x1),g(this,_0x312c94(0x536),!0x1),g(this,_0x312c94(0x396),new _0x5ea788(new Map())),g(this,_0x312c94(0x20c),this[_0x312c94(0x396)]['asObservable']()),g(this,_0x312c94(0x397),new _0x5ea788([])),g(this,'roomMembers$',this[_0x312c94(0x397)][_0x312c94(0x43d)](_0x1d2149(Oo))),g(this,_0x312c94(0x540),_0x3cf277(_0x3aa047=>{const _0xdb7a19=_0x312c94,_0x2740ce={'eventID':_0x5fb817[_0xdb7a19(0x267)],'data':{'unitID':this[_0xdb7a19(0x207)],'memberID':this[_0xdb7a19(0x513)][_0xdb7a19(0x155)](),'selection':Pi(_0x3aa047)}};this[_0xdb7a19(0x513)][_0xdb7a19(0x2da)](_0x2740ce,this[_0xdb7a19(0x207)]);},wo)),(this[_0x312c94(0x207)]=_0x367e8c,this[_0x312c94(0x513)]=_0x158bea,this[_0x312c94(0x199)]=_0x3d63d4,this[_0x312c94(0x3a8)]=_0x5b951f,this[_0x312c94(0x390)]=_0x2092fa,this[_0x312c94(0x306)]=_0x524ecb,this['_transformService']=_0x113394,this[_0x312c94(0x429)]=_0x479026,this['_commandService']=_0x27df9b);}get[_0x354c00(0x3cc)](){const _0x5e51ae=_0x354c00;return this['_cursorInfo$'][_0x5e51ae(0x156)]();}get[_0x354c00(0x346)](){const _0x9674b5=_0x354c00;return this[_0x9674b5(0x397)][_0x9674b5(0x156)]();}[_0x354c00(0x4d7)](){const _0x1f6f2a=_0x354c00;super[_0x1f6f2a(0x4d7)](),this[_0x1f6f2a(0x396)][_0x1f6f2a(0x2df)](new Map()),this['_cursorInfo$']['complete'](),this[_0x1f6f2a(0x397)][_0x1f6f2a(0x2df)]([]),this[_0x1f6f2a(0x397)][_0x1f6f2a(0x367)]();}[_0x354c00(0x4cf)](){const _0x5d0451=_0x354c00;this[_0x5d0451(0x536)]||(this[_0x5d0451(0x536)]=!0x0,this[_0x5d0451(0x513)]['sessionStatus$'][_0x5d0451(0x43d)](_0x144dfb(this[_0x5d0451(0x14d)]))[_0x5d0451(0x51f)](_0x45f011=>{const _0x41612d=_0x5d0451;_0x45f011===ve[_0x41612d(0x29c)]?this[_0x41612d(0x21c)]():this[_0x41612d(0x2a5)]();}),this[_0x5d0451(0x513)][_0x5d0451(0x467)][_0x5d0451(0x43d)](_0x144dfb(this[_0x5d0451(0x14d)]))[_0x5d0451(0x51f)](_0x2669fd=>{const _0x247a07=_0x5d0451,_0x10f35b=_0x2669fd[_0x247a07(0x338)];_0x10f35b===_0x5fb817[_0x247a07(0x267)]&&this[_0x247a07(0x514)](_0x2669fd),_0x10f35b===_0x5fb817[_0x247a07(0x44b)]&&this['_onCursorDelete'](_0x2669fd);}),this[_0x5d0451(0x181)](this[_0x5d0451(0x3fc)][_0x5d0451(0x4ba)](_0x39765c=>{const _0x2ba408=_0x5d0451,_0x490e9e=_0x39765c[_0x2ba408(0x220)];_0x490e9e!=null&&this[_0x2ba408(0x403)]&&_0x39765c['id']===_0x259a8e['id']&&_0x490e9e[_0x2ba408(0x315)]===this['unitID']&&_0x490e9e['isEditing']===!0x1&&_0x490e9e[_0x2ba408(0x349)]['length']>0x0&&this[_0x2ba408(0x540)](_0x490e9e[_0x2ba408(0x349)]);})),this[_0x5d0451(0x306)][_0x5d0451(0x436)][_0x5d0451(0x43d)](_0x144dfb(this[_0x5d0451(0x14d)]))[_0x5d0451(0x51f)](_0x29a459=>{const _0x48ec53=_0x5d0451;if((_0x29a459==null?void 0x0:_0x29a459[_0x48ec53(0x207)])!==this[_0x48ec53(0x207)])return;const _0x45c19a={'eventID':_0x5fb817['UPDATE_CURSOR'],'data':_0x29a459};this[_0x48ec53(0x514)](_0x45c19a);}),this[_0x5d0451(0x181)](this[_0x5d0451(0x3fc)][_0x5d0451(0x4ba)](_0x1ab80e=>{const _0x486bd8=_0x5d0451;if(_0x1ab80e[_0x486bd8(0x220)]==null)return;const _0x24f5cf=_0x1ab80e[_0x486bd8(0x220)];if(_0x1ab80e['id']!==_0x2e83de['id']||_0x24f5cf[_0x486bd8(0x315)]!==this[_0x486bd8(0x207)])return;const _0x40078d={'id':_0x486bd8(0x35d),'params':_0x24f5cf},_0x1e36a5=this[_0x486bd8(0x3cc)];for(const [_0x21dd8c,_0x3f976b]of _0x1e36a5){const _0x9820ad={'id':_0x486bd8(0x35d),'params':{'unitId':this[_0x486bd8(0x207)],'actions':null,'textRanges':_0x3f976b[_0x486bd8(0x349)]}},_0x59abb1=this[_0x486bd8(0x329)]['transformMutation'](_0x40078d,_0x9820ad,!0x1);if(_0x17dd13(_0x59abb1))throw _0x59abb1[_0x486bd8(0x2f1)];_0x1e36a5[_0x486bd8(0x244)](_0x21dd8c,{..._0x3f976b,'ranges':_0x59abb1[_0x486bd8(0x1b1)]['params'][_0x486bd8(0x1fd)]});}queueMicrotask(()=>{const _0x52096d=_0x486bd8;this[_0x52096d(0x396)][_0x52096d(0x2df)](_0x1e36a5);});})));}[_0x354c00(0x514)](_0x22304d){const _0x411938=_0x354c00;var _0x3b7de0,_0x648912;const {memberID:_0x836e7,selection:_0x872666}=_0x22304d[_0x411938(0x3df)],_0x3fb631=ho(_0x872666),_0x4f1de6=(_0x648912=(_0x3b7de0=this[_0x411938(0x390)][_0x411938(0x24b)](this[_0x411938(0x207)],_0x836e7))==null?void 0x0:_0x3b7de0[_0x411938(0x276)])!=null?_0x648912:'Unknown\x20user',_0xa2cf50={'color':this[_0x411938(0x3a8)][_0x411938(0x3f4)](_0x836e7),'name':_0x4f1de6,'ranges':_0x3fb631},_0x5da317=this[_0x411938(0x3cc)];_0x5da317[_0x411938(0x244)](_0x836e7,_0xa2cf50),this[_0x411938(0x396)]['next'](_0x5da317);}['_onCursorDelete'](_0x14adc0){const _0x13050a=_0x354c00,{memberID:_0x12555c}=_0x14adc0[_0x13050a(0x3df)],_0x2cc212=this[_0x13050a(0x3cc)];_0x2cc212['delete'](_0x12555c),this['_cursorInfo$']['next'](_0x2cc212);}[_0x354c00(0x21c)](){const _0x445ed1=_0x354c00;var _0x590114;if(this[_0x445ed1(0x403)]=!0x0,((_0x590114=this[_0x445ed1(0x429)][_0x445ed1(0x3c7)]())==null?void 0x0:_0x590114[_0x445ed1(0x191)]())!==this[_0x445ed1(0x207)])return;const _0x122ff9=this[_0x445ed1(0x199)]['get'](_0x15c40f)['getDocRanges']();Array[_0x445ed1(0x345)](_0x122ff9)&&_0x122ff9[_0x445ed1(0x2a0)]>0x0&&this['_updateLocalCursor'](_0x122ff9);}[_0x354c00(0x2a5)](){const _0x1960ee=_0x354c00;this[_0x1960ee(0x403)]=!0x1;}};ns=yo([Oe(0x2,_0x1727eb(_0x5d0612)),Oe(0x3,_0x1727eb(bs)),Oe(0x4,_0x1727eb(Ne)),Oe(0x5,_0x1727eb(Cs)),Oe(0x6,_0xe30adb),Oe(0x7,_0x48d976),Oe(0x8,_0xfbfaad)],ns);var Do=Object[_0x354c00(0x3cf)],Po=Object['getOwnPropertyDescriptor'],Uo=(_0x5d6af1,_0x43e3b7,_0x339dce,_0x21b34b)=>{const _0x239616=_0x354c00;for(var _0x351cf6=_0x21b34b>0x1?void 0x0:_0x21b34b?Po(_0x43e3b7,_0x339dce):_0x43e3b7,_0x2a1208=_0x5d6af1[_0x239616(0x2a0)]-0x1,_0x589bed;_0x2a1208>=0x0;_0x2a1208--)(_0x589bed=_0x5d6af1[_0x2a1208])&&(_0x351cf6=(_0x21b34b?_0x589bed(_0x43e3b7,_0x339dce,_0x351cf6):_0x589bed(_0x351cf6))||_0x351cf6);return _0x21b34b&&_0x351cf6&&Do(_0x43e3b7,_0x339dce,_0x351cf6),_0x351cf6;},Be=(_0x4ec51f,_0x48f9b1)=>(_0x506ab5,_0x57eaf3)=>_0x48f9b1(_0x506ab5,_0x57eaf3,_0x4ec51f);const No=0x12c,Ao=0x64,Mo=()=>{let _0x114f8f=[],_0x1b91c6=!0x1;return _0x3b613b=>{const _0x38dfee=_0x33b4;_0x114f8f[_0x38dfee(0x301)](_0x3b613b),_0x1b91c6||(_0x1b91c6=!0x0,setTimeout(()=>{_0x114f8f['forEach'](_0x38a702=>_0x38a702()),_0x114f8f=[],_0x1b91c6=!0x1;}));};};let rs=class extends _0x1bd493{constructor(_0x288d88,_0x470ae6,_0x2533e3,_0x3f62a2,_0x12d23b,_0x4912a8,_0x3d11f5,_0xb245ac){const _0x4a84f0=_0x354c00;super(),g(this,_0x4a84f0(0x403),!0x1),g(this,_0x4a84f0(0x536),!0x1),g(this,_0x4a84f0(0x396),new _0x5ea788(new Map())),g(this,_0x4a84f0(0x20c),this[_0x4a84f0(0x396)][_0x4a84f0(0x516)]()),g(this,_0x4a84f0(0x397),new _0x5ea788([])),g(this,'roomMembers$',this[_0x4a84f0(0x397)]['pipe'](_0x1d2149(No))),g(this,'_updateLocalCursor',_0x3cf277((_0x262479,_0x3922a7)=>{const _0x4d2483=_0x4a84f0,_0x487123={'eventID':_0x5fb817[_0x4d2483(0x267)],'data':{'unitID':this[_0x4d2483(0x207)],'memberID':this['_session'][_0x4d2483(0x155)](),'selection':_0x11daff(_0x262479,_0x3922a7[_0x4d2483(0x146)])}};this['_session'][_0x4d2483(0x2da)](_0x487123,this['unitID']);},Ao)),(this[_0x4a84f0(0x207)]=_0x288d88,this[_0x4a84f0(0x513)]=_0x470ae6,this[_0x4a84f0(0x199)]=_0x2533e3,this[_0x4a84f0(0x3a8)]=_0x3f62a2,this['_memberService']=_0x12d23b,this['_univerInstanceService']=_0x4912a8,this[_0x4a84f0(0x3fc)]=_0x3d11f5,this[_0x4a84f0(0x2fd)]=_0xb245ac);}get[_0x354c00(0x3cc)](){const _0x165c24=_0x354c00;return this[_0x165c24(0x396)]['getValue']();}get['roomMembers'](){const _0x4f24ac=_0x354c00;return this[_0x4f24ac(0x397)][_0x4f24ac(0x156)]();}[_0x354c00(0x4d7)](){const _0x32ddd7=_0x354c00;super[_0x32ddd7(0x4d7)](),this[_0x32ddd7(0x396)]['next'](new Map()),this[_0x32ddd7(0x396)][_0x32ddd7(0x367)](),this['_roomMembers$'][_0x32ddd7(0x2df)]([]),this[_0x32ddd7(0x397)][_0x32ddd7(0x367)]();}[_0x354c00(0x4cf)](){const _0xa9af88=_0x354c00;this[_0xa9af88(0x536)]||(this[_0xa9af88(0x536)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x144dfb(this[_0xa9af88(0x14d)]))[_0xa9af88(0x51f)](_0x55def9=>{const _0x476cfc=_0xa9af88;_0x55def9===ve[_0x476cfc(0x29c)]?this[_0x476cfc(0x21c)]():this['_toggleOffline']();}),this['_session'][_0xa9af88(0x467)][_0xa9af88(0x43d)](_0x144dfb(this[_0xa9af88(0x14d)]))[_0xa9af88(0x51f)](_0x277aea=>{const _0x2087d4=_0xa9af88,_0x50d85c=_0x277aea[_0x2087d4(0x338)];_0x50d85c===_0x5fb817[_0x2087d4(0x267)]&&this['_onCursorUpdate'](_0x277aea),_0x50d85c===_0x5fb817[_0x2087d4(0x44b)]&&this[_0x2087d4(0x4df)](_0x277aea);}),this['_onRefRangeChange'](),this[_0xa9af88(0x181)](this[_0xa9af88(0x3fc)][_0xa9af88(0x4ba)](_0x59cdc8=>{const _0x1f8549=_0xa9af88;if(this[_0x1f8549(0x403)]&&_0x59cdc8['id']===_0x558a1a['id']&&_0x59cdc8[_0x1f8549(0x220)][_0x1f8549(0x315)]===this['unitID']){const _0x2f2dc3=_0x59cdc8[_0x1f8549(0x220)];this[_0x1f8549(0x540)](_0x2f2dc3[_0x1f8549(0x287)],_0x2f2dc3[_0x1f8549(0x150)][0x0]);}})));}[_0x354c00(0x514)](_0x2be72a){const _0x2f20ac=_0x354c00;var _0x50d711,_0xceb5e9;const {memberID:_0x506c7a,selection:_0x2f4219}=_0x2be72a[_0x2f20ac(0x3df)],{sheetName:_0x161d8b,range:_0x348cdc}=_0x17ae33(_0x2f4219),_0x54547a={'name':(_0xceb5e9=(_0x50d711=this[_0x2f20ac(0x390)][_0x2f20ac(0x24b)](this[_0x2f20ac(0x207)],_0x506c7a))==null?void 0x0:_0x50d711[_0x2f20ac(0x276)])!=null?_0xceb5e9:_0x2f20ac(0x1d0),'range':this[_0x2f20ac(0x498)](_0x161d8b,_0x348cdc),'sheetID':_0x161d8b,'color':this[_0x2f20ac(0x3a8)]['assignAColorForMemberID'](_0x506c7a),'selection':_0x2f4219},_0x2faf39=this[_0x2f20ac(0x3cc)];_0x2faf39[_0x2f20ac(0x244)](_0x506c7a,_0x54547a),this[_0x2f20ac(0x396)][_0x2f20ac(0x2df)](_0x2faf39);}[_0x354c00(0x4df)](_0x33eddf){const _0x2ab705=_0x354c00,{memberID:_0xcd3265}=_0x33eddf['data'],_0x4474f4=this['cursorInfo'];_0x4474f4[_0x2ab705(0x361)](_0xcd3265),this[_0x2ab705(0x396)]['next'](_0x4474f4);}[_0x354c00(0x498)](_0x1e675c,_0x446127){const _0x316bf4=_0x354c00;var _0x2c91a6,_0x55d509;const _0x2f5f9f=(_0x55d509=(_0x2c91a6=this[_0x316bf4(0x429)][_0x316bf4(0x351)](this['unitID']))==null?void 0x0:_0x2c91a6[_0x316bf4(0x1f2)](_0x1e675c))==null?void 0x0:_0x55d509['getMergeData']();return(_0x2f5f9f==null?void 0x0:_0x2f5f9f[_0x316bf4(0x462)](_0x319ed6=>_0x10dcad[_0x316bf4(0x35f)](_0x319ed6,_0x446127)))||_0x446127;}['_onRefRangeChange'](){const _0x6c1192=_0x354c00,_0xb25e3f=new _0x44e580(),_0x268fa4=Mo(),_0x42a01c=()=>{const _0x57f80b=_0x33b4;_0xb25e3f[_0x57f80b(0x4d7)]();const _0x12c6f4=(_0xe1c733,_0x5cceb8,_0x3db264,_0x31e71b)=>{const _0x525790=_0x57f80b;let _0x3059c1=[];switch(_0xe1c733['id']){case _0x5d8ed2['DeleteRangeMoveLeftCommandId']:{_0x3059c1=_0x58650a(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2['DeleteRangeMoveUpCommandId']:{_0x3059c1=_0x5f49ac(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2['InsertColCommandId']:{_0x3059c1=_0x329a98(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x500)]:{_0x3059c1=_0xb9b604(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2['InsertRangeMoveRightCommandId']:{_0x3059c1=_0x51681e(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x426)]:{_0x3059c1=_0x5b2a5a(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x1ef)]:{_0x3059c1=_0x8704d(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x2b3)]:{_0x3059c1=_0x2964d0(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x53c)]:{_0x3059c1=_0x48b028(_0xe1c733,_0x31e71b);break;}}const _0x19eb65=_0x447711(_0x3059c1,_0x31e71b),_0x420153=this[_0x525790(0x3cc)][_0x525790(0x291)](_0x5cceb8);if(_0x420153&&_0x19eb65){const _0x4c34c9={..._0x420153,'range':_0x19eb65};this[_0x525790(0x3cc)][_0x525790(0x244)](_0x5cceb8,_0x4c34c9),_0x268fa4(()=>{const _0x47f9aa=_0x525790,_0x5f2135=this[_0x47f9aa(0x2fd)][_0x47f9aa(0x472)](_0x19eb65,_0x5ad114=>(_0x5f2135[_0x47f9aa(0x4d7)](),_0x12c6f4(_0x5ad114,_0x5cceb8,_0x3db264,_0x19eb65)));_0xb25e3f[_0x47f9aa(0x214)](_0x5f2135);});}return{'redos':[],'undos':[]};};this[_0x57f80b(0x3cc)][_0x57f80b(0x3f0)]((_0x378c8c,_0x3264b5)=>{const _0x5787bb=_0x57f80b,{range:_0x581a3d,sheetID:_0x4d37fb}=_0x378c8c,_0x3410e8=this['_refRangeService']['registerRefRange'](_0x581a3d,_0x39c4be=>(_0x3410e8[_0x5787bb(0x4d7)](),_0x12c6f4(_0x39c4be,_0x3264b5,_0x4d37fb,_0x581a3d)));_0xb25e3f[_0x5787bb(0x214)](_0x3410e8);});};this[_0x6c1192(0x181)](_0x48b865(this['_cursorInfo$'][_0x6c1192(0x51f)](()=>{_0x42a01c();})));}[_0x354c00(0x21c)](){const _0x1dc11c=_0x354c00;var _0x22fb31,_0x59b6c7;if(this[_0x1dc11c(0x403)]=!0x0,((_0x22fb31=this[_0x1dc11c(0x429)][_0x1dc11c(0x3c7)]())==null?void 0x0:_0x22fb31[_0x1dc11c(0x191)]())!==this[_0x1dc11c(0x207)])return;const _0x2fd1f6=(_0x59b6c7=this[_0x1dc11c(0x199)][_0x1dc11c(0x291)](_0xfd201e)[_0x1dc11c(0x32a)]())==null?void 0x0:_0x59b6c7[0x0],_0x2251ca=this[_0x1dc11c(0x429)][_0x1dc11c(0x538)](_0x208af7[_0x1dc11c(0x1c5)])[_0x1dc11c(0x4be)]();_0x2fd1f6&&_0x2251ca&&this['_updateLocalCursor'](_0x2251ca[_0x1dc11c(0x238)](),_0x2fd1f6);}['_toggleOffline'](){const _0x3b680c=_0x354c00;this[_0x3b680c(0x403)]=!0x1;}};rs=Uo([Be(0x2,_0x1727eb(_0x5d0612)),Be(0x3,_0x1727eb(bs)),Be(0x4,_0x1727eb(Ne)),Be(0x5,_0x48d976),Be(0x6,_0xfbfaad),Be(0x7,_0x1727eb(_0x427b6f))],rs);var xo=Object['defineProperty'],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x1f90dd,_0x14c85f,_0x33572f,_0xb060e0)=>{const _0x1a9c57=_0x354c00;for(var _0x44fce5=_0xb060e0>0x1?void 0x0:_0xb060e0?Lo(_0x14c85f,_0x33572f):_0x14c85f,_0x39f881=_0x1f90dd[_0x1a9c57(0x2a0)]-0x1,_0x281745;_0x39f881>=0x0;_0x39f881--)(_0x281745=_0x1f90dd[_0x39f881])&&(_0x44fce5=(_0xb060e0?_0x281745(_0x14c85f,_0x33572f,_0x44fce5):_0x281745(_0x44fce5))||_0x44fce5);return _0xb060e0&&_0x44fce5&&xo(_0x14c85f,_0x33572f,_0x44fce5),_0x44fce5;},$t=(_0x416ece,_0x30632e)=>(_0x35ae07,_0x55bd6f)=>_0x30632e(_0x35ae07,_0x55bd6f,_0x416ece);let Ve=class extends _0x1bd493{constructor(_0x2bce36,_0x2b58c3,_0x2a8021){const _0x24729d=_0x354c00;super(),g(this,_0x24729d(0x1ea),new Map()),g(this,_0x24729d(0x3d9),new _0x3189d9()),(this[_0x24729d(0x429)]=_0x2bce36,this[_0x24729d(0x199)]=_0x2b58c3,this['_collabSessionService']=_0x2a8021,this[_0x24729d(0x536)]());}[_0x354c00(0x4d7)](){const _0x478842=_0x354c00;super[_0x478842(0x4d7)](),this[_0x478842(0x3d9)][_0x478842(0x367)](),this[_0x478842(0x1ea)][_0x478842(0x3f0)](_0x2b34cf=>_0x2b34cf[_0x478842(0x4d7)]());}['getCollabCursors$'](_0x483e57){const _0x29a3b1=_0x354c00;return this[_0x29a3b1(0x1ea)][_0x29a3b1(0x272)](_0x483e57)?this[_0x29a3b1(0x1ea)][_0x29a3b1(0x291)](_0x483e57)['cursorInfo$']:this['_entityInit$'][_0x29a3b1(0x43d)](_0x3de249(_0x2de77d=>_0x2de77d[_0x29a3b1(0x207)]===_0x483e57),_0x32daf9(_0x33a0f1=>_0x33a0f1[_0x29a3b1(0x20c)]));}[_0x354c00(0x536)](){const _0x267504=_0x354c00;this[_0x267504(0x429)]['getTypeOfUnitAdded$'](_0x208af7[_0x267504(0x1c5)])[_0x267504(0x43d)](_0x144dfb(this[_0x267504(0x14d)]))[_0x267504(0x51f)](async _0x2394ed=>{const _0x3e2cc0=_0x267504,_0x2cd65f=_0x2394ed[_0x3e2cc0(0x191)](),_0x590b67=await this['_startSheetCollabCursor'](_0x2cd65f);this[_0x3e2cc0(0x3d9)][_0x3e2cc0(0x2df)](_0x590b67),this['_entities'][_0x3e2cc0(0x244)](_0x2cd65f,_0x590b67);}),this['_univerInstanceService'][_0x267504(0x319)](_0x208af7[_0x267504(0x461)])[_0x267504(0x43d)](_0x144dfb(this[_0x267504(0x14d)]))[_0x267504(0x43d)](_0x3de249(_0x57aff5=>!_0x57aff5['getUnitId']()[_0x267504(0x3dc)]('__')))['subscribe'](async _0x3780a1=>{const _0x1c0c29=_0x267504,_0xd1908=_0x3780a1[_0x1c0c29(0x191)](),_0x32a103=await this['_startDocCollabCursor'](_0xd1908);this[_0x1c0c29(0x3d9)][_0x1c0c29(0x2df)](_0x32a103),this['_entities'][_0x1c0c29(0x244)](_0xd1908,_0x32a103);}),_0x32fe1c(this[_0x267504(0x429)]['getTypeOfUnitDisposed$'](_0x208af7['UNIVER_DOC']),this[_0x267504(0x429)]['getTypeOfUnitDisposed$'](_0x208af7['UNIVER_SHEET']))[_0x267504(0x43d)](_0x144dfb(this[_0x267504(0x14d)]))[_0x267504(0x51f)](_0x41d994=>{const _0x3894a5=_0x267504,_0x4325b3=_0x41d994[_0x3894a5(0x191)](),_0x58b96f=this[_0x3894a5(0x1ea)]['get'](_0x4325b3);_0x58b96f&&(_0x58b96f[_0x3894a5(0x4d7)](),this[_0x3894a5(0x1ea)][_0x3894a5(0x361)](_0x4325b3));});}async[_0x354c00(0x460)](_0x5a372f){const _0x5e6da4=_0x354c00,_0x30c4a5=await this['_collabSessionService'][_0x5e6da4(0x4f1)](_0x5a372f),_0x191730=this['_injector'][_0x5e6da4(0x348)](rs,_0x5a372f,_0x30c4a5);return _0x191730[_0x5e6da4(0x4cf)](),_0x191730;}async[_0x354c00(0x3f8)](_0x4114b9){const _0xd87803=_0x354c00,_0x3f753c=await this['_collabSessionService']['requireSession'](_0x4114b9),_0x25162e=this[_0xd87803(0x199)][_0xd87803(0x348)](ns,_0x4114b9,_0x3f753c);return _0x25162e['init'](),_0x25162e;}};Ve=$o([$t(0x0,_0x48d976),$t(0x1,_0x1727eb(_0x5d0612)),$t(0x2,_0x1727eb(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x5a58d7,_0x28daaa){const _0x38ff38=_0x354c00;let {radius:_0x2aab16,width:_0x47f729,height:_0x4ecdec}=_0x28daaa;_0x2aab16=_0x2aab16!=null?_0x2aab16:0x0,_0x47f729=_0x47f729!=null?_0x47f729:0x1e,_0x4ecdec=_0x4ecdec!=null?_0x4ecdec:0x1e;let _0x157600=0x0,_0x567cb6=0x0,_0x551203=0x0;_0x157600=_0x567cb6=_0x551203=Math['min'](_0x2aab16,_0x47f729/0x2,_0x4ecdec/0x2),_0x5a58d7[_0x38ff38(0x339)](),_0x5a58d7[_0x38ff38(0x17e)](_0x157600,0x0),_0x5a58d7[_0x38ff38(0x311)](_0x47f729-_0x567cb6,0x0),_0x5a58d7[_0x38ff38(0x3be)](_0x47f729-_0x567cb6,_0x567cb6,_0x567cb6,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a58d7[_0x38ff38(0x311)](_0x47f729,_0x4ecdec-_0x551203),_0x5a58d7[_0x38ff38(0x3be)](_0x47f729-_0x551203,_0x4ecdec-_0x551203,_0x551203,0x0,Math['PI']/0x2,!0x1),_0x5a58d7[_0x38ff38(0x311)](0x0,_0x4ecdec),_0x5a58d7[_0x38ff38(0x311)](0x0,_0x157600),_0x5a58d7[_0x38ff38(0x3be)](_0x157600,_0x157600,_0x157600,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a58d7[_0x38ff38(0x144)](),_0x28daaa[_0x38ff38(0x552)]&&(_0x5a58d7[_0x38ff38(0x312)](),_0x5a58d7[_0x38ff38(0x355)]=_0x28daaa[_0x38ff38(0x552)],_0x28daaa[_0x38ff38(0x509)]===_0x38ff38(0x34e)?_0x5a58d7[_0x38ff38(0x552)](_0x38ff38(0x34e)):_0x5a58d7[_0x38ff38(0x552)](),_0x5a58d7[_0x38ff38(0x544)]());}class yt extends _0x361298{constructor(_0x20ea61,_0x307ed6){const _0x3944f3=_0x354c00;super(_0x20ea61,_0x307ed6),g(this,_0x3944f3(0x3f3)),g(this,_0x3944f3(0x257)),(this[_0x3944f3(0x3f3)]=_0x307ed6==null?void 0x0:_0x307ed6[_0x3944f3(0x3f3)],this[_0x3944f3(0x257)]=_0x307ed6==null?void 0x0:_0x307ed6[_0x3944f3(0x257)]);}static[_0x354c00(0x41c)](_0x4466b1,_0x51f3fe){const _0x2e48e8=_0x354c00,{text:_0x41d8d5,color:_0x445fa6}=_0x51f3fe;_0x4466b1[_0x2e48e8(0x312)](),_0x4466b1['font']=_0x2e48e8(0x1d1);const _0x543e5e=_0x4466b1[_0x2e48e8(0x30b)](_0x41d8d5)[_0x2e48e8(0x337)],_0x56b37b=Math['min'](_0x543e5e+0x2*Ht,Ys);jo(_0x4466b1,{'height':nt,'radius':0x4,'width':_0x56b37b,'fill':_0x445fa6,'evented':!0x1}),_0x4466b1[_0x2e48e8(0x355)]=_0x2e48e8(0x3d0);const _0x1a32f8=Ht,_0x139de7=nt-Ho,_0x5ca64a=Ys-0x2*Ht;if(_0x543e5e>_0x5ca64a){let _0x498b35='',_0x222bfa=0x0;for(const _0x31e66e of _0x41d8d5){const _0x4ddfa0=_0x4466b1[_0x2e48e8(0x30b)](_0x31e66e)[_0x2e48e8(0x337)];if(_0x222bfa+_0x4ddfa0<=_0x5ca64a-_0x4466b1[_0x2e48e8(0x30b)](_0x2e48e8(0x4e4))['width'])_0x498b35+=_0x31e66e,_0x222bfa+=_0x4ddfa0;else{_0x498b35+=_0x2e48e8(0x4e4);break;}}_0x4466b1[_0x2e48e8(0x32b)](_0x498b35,_0x1a32f8,_0x139de7);}else _0x4466b1[_0x2e48e8(0x32b)](_0x41d8d5,_0x1a32f8,_0x139de7);_0x4466b1[_0x2e48e8(0x544)]();}[_0x354c00(0x21e)](_0x48c15e){const _0x4b4a2f=_0x354c00;yt[_0x4b4a2f(0x41c)](_0x48c15e,this);}}const jt=_0x354c00(0x15b),Bo=_0x354c00(0x300),ko=_0x354c00(0x258),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x354c00(0x2d0);class Ks{constructor(_0x14f9c3,_0x49de56,_0x5ee661,_0x354b97){const _0xd49fcb=_0x354c00;g(this,'_shapes',[]),g(this,'_anchor',null),g(this,_0xd49fcb(0x194),null),g(this,_0xd49fcb(0x31b),null),g(this,_0xd49fcb(0x1c7),null),g(this,'_eventUnsubscribe',null),(this['_cursor']=_0x14f9c3,this[_0xd49fcb(0x39b)]=_0x49de56,this[_0xd49fcb(0x4c8)]=_0x5ee661,this[_0xd49fcb(0x4e8)]=_0x354b97,this[_0xd49fcb(0x292)]());}set[_0x354c00(0x2a6)](_0x1e5622){const _0x1e90f4=_0x354c00;_0x1e5622?(this['_anchorDot']&&this[_0x1e90f4(0x31b)][_0x1e90f4(0x1ab)](),this['_textBubble']&&this[_0x1e90f4(0x194)][_0x1e90f4(0x24e)]()):(this[_0x1e90f4(0x31b)]&&this[_0x1e90f4(0x31b)][_0x1e90f4(0x24e)](),this['_textBubble']&&this[_0x1e90f4(0x194)][_0x1e90f4(0x1ab)]());}['dispose'](){const _0x2140ea=_0x354c00;for(const _0x49ad66 of this[_0x2140ea(0x46b)])_0x49ad66['dispose']();this['_textBubble']&&this['_textBubble'][_0x2140ea(0x4d7)](),this['_anchorDot']&&this['_anchorDot'][_0x2140ea(0x4d7)](),this[_0x2140ea(0x51d)]&&this[_0x2140ea(0x51d)][_0x2140ea(0x4d7)](),this[_0x2140ea(0x352)]&&this[_0x2140ea(0x352)]();}['_render'](){const _0x3a5048=_0x354c00;var _0x1a2675;const {_docSkeleton:_0x32eda5,_document:_0x43fdf0}=this,{color:_0x300616,name:_0x5bd8c4,ranges:_0x25ef52}=this[_0x3a5048(0x444)],_0x1378e8=_0x43fdf0[_0x3a5048(0x2bd)](),{docsLeft:_0x46b993,docsTop:_0x2bed50}=_0x1378e8,_0x2786db=new _0x183683(_0x1378e8,_0x32eda5);for(const {startOffset:_0x3cba82,endOffset:_0x1295f3,rangeType:_0x10d39d,segmentId:_0x55def2,segmentPage:_0x46dd65,collapsed:_0x426d3f,isActive:_0x51f992}of _0x25ef52){const _0x2f86fb=_0x32eda5[_0x3a5048(0x527)](_0x3cba82,!0x0,_0x55def2,_0x46dd65);let _0xf6ef88=_0x32eda5[_0x3a5048(0x527)](_0x1295f3,!0x0,_0x55def2,_0x46dd65);if(_0xf6ef88==null&&(_0xf6ef88=_0x32eda5[_0x3a5048(0x527)](_0x1295f3-0x1,!0x1,_0x55def2,_0x46dd65)),_0x51f992){const {contentBoxPointGroup:_0x25a43e}=_0x2786db[_0x3a5048(0x419)](_0xf6ef88,_0xf6ef88);if(_0x25a43e[_0x3a5048(0x2a0)]===0x0)continue;this['_drawAnchor'](_0x300616,_0x25a43e,_0x46b993,_0x2bed50,_0x5bd8c4),this[_0x3a5048(0x352)]=this[_0x3a5048(0x3a3)]();}if(_0x2f86fb&&_0xf6ef88){if(_0x10d39d===_0x31810f[_0x3a5048(0x151)]){const _0x4f6369=new _0x4f5085(_0x1378e8,_0x32eda5),{pointGroup:_0x31e69d}=(_0x1a2675=_0x4f6369[_0x3a5048(0x419)](_0x2f86fb,_0xf6ef88))!=null?_0x1a2675:{};if(_0x31e69d==null||_0x31e69d[_0x3a5048(0x2a0)]===0x0)continue;this[_0x3a5048(0x4e9)](_0x300616,_0x31e69d,_0x46b993,_0x2bed50);}else{if(!_0x426d3f){const {borderBoxPointGroup:_0x164494}=_0x2786db[_0x3a5048(0x419)](_0x2f86fb,_0xf6ef88);if(_0x164494[_0x3a5048(0x2a0)]===0x0)continue;this['_drawTextRange'](_0x300616,_0x164494,_0x46b993,_0x2bed50);}}}}}[_0x354c00(0x454)](_0x10772b,_0x1a58fa,_0x25f422,_0x13f863,_0x5924fa){const _0x342dd5=_0x354c00,_0x2cfa31=this[_0x342dd5(0x2fb)](_0x1a58fa),{left:_0x94da4b,top:_0x4a1429,height:_0x569c40}=_0x2cfa31,_0x4b4004=this[_0x342dd5(0x2e7)](),_0x5b744e=Fo/_0x4b4004,_0x3ee81c=new _0x4d9978(jt+_0x4127e3[_0x342dd5(0x424)](Je),{'left':_0x94da4b+_0x25f422-_0x5b744e,'top':_0x4a1429+_0x13f863,'height':_0x569c40,'width':Wo,'fill':_0x10772b||_0x376e65(_0x3d216b[_0x342dd5(0x508)],0x0),'strokeWidth':_0x5b744e,'stroke':Vo,'evented':!0x0});this[_0x342dd5(0x51d)]=_0x3ee81c,this['_scene'][_0x342dd5(0x316)](_0x3ee81c,_0x3ac314);const _0x2b74e4=new _0x4d9978(jt+_0x4127e3['generateRandomId'](Je),{'left':_0x94da4b+_0x25f422-_0x5b744e,'top':_0x4a1429+_0x13f863-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x10772b||_0x376e65(_0x3d216b[_0x342dd5(0x508)],0x0),'strokeWidth':0x0,'stroke':_0x10772b||_0x376e65(_0x3d216b[_0x342dd5(0x508)],0x0),'evented':!0x1});this[_0x342dd5(0x31b)]=_0x2b74e4,this['_scene'][_0x342dd5(0x316)](_0x2b74e4,_0x3ac314);const _0x12c531=new yt(jt+_0x4127e3[_0x342dd5(0x424)](Je),{'left':_0x94da4b+_0x25f422-_0x5b744e,'top':_0x4a1429+_0x13f863-nt,'text':_0x5924fa,'color':_0x10772b});this[_0x342dd5(0x194)]=_0x12c531,this['_scene']['addObject'](_0x12c531,_0x3ac314),this[_0x342dd5(0x2a6)]=!0x1;}[_0x354c00(0x3a3)](){const _0x430699=_0x354c00,_0x1dcca1=this[_0x430699(0x51d)][_0x430699(0x40d)][_0x430699(0x1ee)](()=>{const _0x5f88a8=_0x430699;this[_0x5f88a8(0x2a6)]=!0x0;}),_0x3bc1e2=this[_0x430699(0x51d)][_0x430699(0x391)]['subscribeEvent'](()=>{const _0x45a9d1=_0x430699;this[_0x45a9d1(0x1c7)]&&clearTimeout(this[_0x45a9d1(0x1c7)]),this['_hideTimer']=setTimeout(()=>{const _0x112d51=_0x45a9d1;this[_0x112d51(0x2a6)]=!0x1;},0x7d0);});return()=>{const _0x474867=_0x430699;_0x1dcca1['unsubscribe'](),_0x3bc1e2[_0x474867(0x4fa)]();};}[_0x354c00(0x44d)](_0x1d00b8,_0x18b9e1,_0x577619,_0x4662ec){const _0x48de79=_0x354c00,_0x39b69a=new _0x3ee1d4(_0x1d00b8)[_0x48de79(0x532)](0.2)[_0x48de79(0x48d)](),_0x241fd5=new _0x351e9f(Bo+_0x4127e3['generateRandomId'](Je),{'pointsGroup':_0x18b9e1,'fill':_0x39b69a||_0x376e65(_0x3d216b['black'],0.2),'left':_0x577619,'top':_0x4662ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48de79(0x46b)][_0x48de79(0x301)](_0x241fd5),this[_0x48de79(0x39b)][_0x48de79(0x316)](_0x241fd5,_0x3ac314);}[_0x354c00(0x4e9)](_0x1965cf,_0x30e849,_0x197d45,_0x3cea42){const _0x16d6e7=_0x354c00,_0x1a9a3c=new _0x3ee1d4(_0x1965cf)['setAlpha'](0.2)[_0x16d6e7(0x48d)](),_0x426ec3=new _0x351e9f(ko+_0x4127e3[_0x16d6e7(0x424)](Je),{'pointsGroup':_0x30e849,'fill':_0x1a9a3c||_0x376e65(_0x3d216b[_0x16d6e7(0x508)],0.2),'left':_0x197d45,'top':_0x3cea42,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x16d6e7(0x46b)]['push'](_0x426ec3),this[_0x16d6e7(0x39b)][_0x16d6e7(0x316)](_0x426ec3,_0x3ac314);}[_0x354c00(0x2fb)](_0x423c6d){const _0x2f4d1e=_0x423c6d[0x0],_0x2c3626=_0x2f4d1e[0x0],_0x3d48d8=_0x2f4d1e[0x2],{x:_0x12cb38,y:_0x5a482b}=_0x2c3626,{x:_0x4b5254,y:_0x4f764c}=_0x3d48d8;return{'left':_0x12cb38,'top':_0x5a482b,'width':_0x4b5254-_0x12cb38,'height':_0x4f764c-_0x5a482b};}[_0x354c00(0x2e7)](){const _0x297f8d=_0x354c00,{scaleX:_0x581d0a,scaleY:_0x1dc0ac}=this['_scene'][_0x297f8d(0x1d8)]();return Math[_0x297f8d(0x362)](_0x581d0a,_0x1dc0ac);}}var Go=Object[_0x354c00(0x3cf)],Yo=Object[_0x354c00(0x20e)],Ko=(_0x85a08c,_0x3f719c,_0x216802,_0x48dcde)=>{const _0x20b776=_0x354c00;for(var _0x54e9fd=_0x48dcde>0x1?void 0x0:_0x48dcde?Yo(_0x3f719c,_0x216802):_0x3f719c,_0x67dbbe=_0x85a08c[_0x20b776(0x2a0)]-0x1,_0x1029d5;_0x67dbbe>=0x0;_0x67dbbe--)(_0x1029d5=_0x85a08c[_0x67dbbe])&&(_0x54e9fd=(_0x48dcde?_0x1029d5(_0x3f719c,_0x216802,_0x54e9fd):_0x1029d5(_0x54e9fd))||_0x54e9fd);return _0x48dcde&&_0x54e9fd&&Go(_0x3f719c,_0x216802,_0x54e9fd),_0x54e9fd;},ct=(_0x492531,_0x56cea4)=>(_0x324656,_0x534cea)=>_0x56cea4(_0x324656,_0x534cea,_0x492531);let os=class extends _0x1bd493{constructor(_0x542ee,_0xf3bf20,_0x71fbb1,_0x3f4975,_0x3978dd){const _0x354328=_0x354c00;super(),g(this,_0x354328(0x328),[]),g(this,_0x354328(0x4bb),[]),(this['_context']=_0x542ee,this['_docSkeletonManagerService']=_0xf3bf20,this[_0x354328(0x2b4)]=_0x71fbb1,this[_0x354328(0x3fc)]=_0x3f4975,this[_0x354328(0x44c)]=_0x3978dd,this[_0x354328(0x536)]());}[_0x354c00(0x536)](){const _0x19793=_0x354c00,_0x4a7fb1=this['_context']['unitId'],_0x419d85=this[_0x19793(0x28c)];this[_0x19793(0x181)](_0x26ee51([this[_0x19793(0x2b4)]['getCollabCursors$'](_0x4a7fb1),this[_0x19793(0x44c)][_0x19793(0x20f)]])[_0x19793(0x43d)](_0x416fe6(([_0x24ac40,_0x2f1aa9])=>({'skeleton':_0x419d85[_0x19793(0x42d)](),'cursors':[..._0x24ac40['values']()][_0x19793(0x490)](_0x153695=>({..._0x153695,'color':_0x2f1aa9[_0x153695['color']]}))})))[_0x19793(0x51f)](_0x16edf8=>{const _0x3e439d=_0x19793;if(this['_removeCollabCursors'](),_0x16edf8){const {skeleton:_0x229363,cursors:_0x4adaa1}=_0x16edf8;this[_0x3e439d(0x289)](_0x229363,_0x4adaa1);}})),this[_0x19793(0x41d)](),this[_0x19793(0x172)]();}[_0x354c00(0x289)](_0xa416d9,_0x2af698){const _0x4f5acb=_0x354c00,{scene:_0x17f9bd,mainComponent:_0x23bc68}=this[_0x4f5acb(0x25d)],_0x2e704f=_0x2af698[_0x4f5acb(0x4e6)](_0x18be4c=>new Ks(_0x18be4c,_0x17f9bd,_0xa416d9,_0x23bc68));this[_0x4f5acb(0x328)]=_0x2e704f,this[_0x4f5acb(0x4bb)]=_0x2af698;}[_0x354c00(0x4d9)](){const _0x997223=_0x354c00;this[_0x997223(0x1fa)]();const {scene:_0x51fbfd,mainComponent:_0x30dfa8}=this[_0x997223(0x25d)],_0x279716=this['_docSkeletonManagerService']['getSkeleton'](),_0x174fb5=this[_0x997223(0x4bb)][_0x997223(0x4e6)](_0x34ae0d=>new Ks(_0x34ae0d,_0x51fbfd,_0x279716,_0x30dfa8));this[_0x997223(0x328)]=_0x174fb5;}['_removeCollabCursors'](){const _0x3c678f=_0x354c00;this['_cursorShapes'][_0x3c678f(0x3f0)](_0x9a76d7=>_0x9a76d7[_0x3c678f(0x4d7)]()),this['_cursorShapes']=[];}[_0x354c00(0x172)](){const _0x2a97cf=_0x354c00,_0xaf0172=[_0x21a036['id']];this[_0x2a97cf(0x181)](this[_0x2a97cf(0x3fc)][_0x2a97cf(0x4ba)](_0x22ec54=>{const _0x533bd0=_0x2a97cf;_0xaf0172['includes'](_0x22ec54['id'])&&_0x22ec54[_0x533bd0(0x220)]['unitId']===this[_0x533bd0(0x25d)][_0x533bd0(0x315)]&&this[_0x533bd0(0x4d9)]();}));}[_0x354c00(0x41d)](){const _0x12ee44=_0x354c00;this['disposeWithMe'](_0x5dc8db(this['_context'][_0x12ee44(0x26b)][_0x12ee44(0x1f5)])[_0x12ee44(0x43d)](_0x34bcfb(_0x46bfdf=>_0x46bfdf[_0x12ee44(0x260)]===_0x4b6802[_0x12ee44(0x1d9)]),_0x466658(0x10))[_0x12ee44(0x51f)](()=>{const _0x4bd996=_0x12ee44;this[_0x4bd996(0x4d9)]();}));}};os=Ko([ct(0x1,_0x1727eb(_0x2cdfc6)),ct(0x2,_0x1727eb(Ve)),ct(0x3,_0xfbfaad),ct(0x4,_0x1727eb(_0x45a9b5))],os);const zo=0x1,qo=1.5;class Xo extends _0x361298{constructor(_0x5af5b9,_0x534298){const _0x43ee43=_0x354c00;super(_0x5af5b9,_0x534298),g(this,_0x43ee43(0x33b)),g(this,_0x43ee43(0x335),!0x1),g(this,'_range'),g(this,_0x43ee43(0x3bf),''),g(this,'_labelPosition',_0x43ee43(0x2a7)),g(this,'_backgroundColor'),(_0x534298&&this['setShapeProps'](_0x534298),this[_0x43ee43(0x40d)][_0x43ee43(0x1ee)](()=>this[_0x43ee43(0x445)]({'hovered':!0x0})),this['onPointerLeave$'][_0x43ee43(0x1ee)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x354c00(0x445)](_0xd9c036){const _0x90d2a3=_0x354c00;var _0x2b3e13,_0x2a9259,_0xd41691,_0x7b0493,_0x4167b9,_0x45675b;this[_0x90d2a3(0x33b)]=(_0x2b3e13=_0xd9c036['color'])!=null?_0x2b3e13:this[_0x90d2a3(0x33b)],this[_0x90d2a3(0x335)]=(_0x2a9259=_0xd9c036[_0x90d2a3(0x479)])!=null?_0x2a9259:this[_0x90d2a3(0x335)],this[_0x90d2a3(0x1da)]=(_0xd41691=_0xd9c036[_0x90d2a3(0x146)])!=null?_0xd41691:this['_range'],this[_0x90d2a3(0x3bf)]=(_0x7b0493=_0xd9c036[_0x90d2a3(0x276)])!=null?_0x7b0493:this['_name'],this[_0x90d2a3(0x3ed)]=(_0x4167b9=_0xd9c036[_0x90d2a3(0x45c)])!=null?_0x4167b9:this['_labelPosition'],this[_0x90d2a3(0x1f7)]=(_0x45675b=_0xd9c036['backgroundColor'])!=null?_0x45675b:this['_backgroundColor'],this[_0x90d2a3(0x190)]({'width':_0xd9c036[_0x90d2a3(0x337)],'height':_0xd9c036[_0x90d2a3(0x494)]});}[_0x354c00(0x15f)](_0xeb1d8b){const _0x2aa93e=_0x354c00,{row:_0x333583,column:_0x184d4a}=_0xeb1d8b;if(_0x333583>=this[_0x2aa93e(0x1da)][_0x2aa93e(0x531)]&&_0x333583<=this[_0x2aa93e(0x1da)][_0x2aa93e(0x183)]&&_0x184d4a>=this['_range'][_0x2aa93e(0x2b2)]&&_0x184d4a<=this['_range'][_0x2aa93e(0x493)]){this[_0x2aa93e(0x445)]({'hovered':!0x0});return;}this[_0x2aa93e(0x445)]({'hovered':!0x1});}[_0x354c00(0x33a)](_0x247565){return!0x1;}[_0x354c00(0x21e)](_0x19a395){const _0x1f51b4=_0x354c00;_0x4d9978['drawWith'](_0x19a395,{'width':this[_0x1f51b4(0x337)],'height':this[_0x1f51b4(0x494)],'strokeWidth':qo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1f51b4(0x1f7)]}),this[_0x1f51b4(0x335)]&&(_0x19a395[_0x1f51b4(0x312)](),_0x19a395[_0x1f51b4(0x1e6)](0x1,0x0,0x0,0x1,this[_0x1f51b4(0x337)],this[_0x1f51b4(0x3ed)]===_0x1f51b4(0x368)?0x0:-nt),yt['drawWith'](_0x19a395,{'text':this['_name'],'color':this[_0x1f51b4(0x33b)]}),_0x19a395[_0x1f51b4(0x544)]());}}var Jo=Object['defineProperty'],Zo=Object[_0x354c00(0x20e)],Qo=(_0x298099,_0x2f500c,_0x3a5fc7,_0x250c8b)=>{const _0x4fc1ce=_0x354c00;for(var _0x4a69a9=_0x250c8b>0x1?void 0x0:_0x250c8b?Zo(_0x2f500c,_0x3a5fc7):_0x2f500c,_0x32da11=_0x298099[_0x4fc1ce(0x2a0)]-0x1,_0x1d3789;_0x32da11>=0x0;_0x32da11--)(_0x1d3789=_0x298099[_0x32da11])&&(_0x4a69a9=(_0x250c8b?_0x1d3789(_0x2f500c,_0x3a5fc7,_0x4a69a9):_0x1d3789(_0x4a69a9))||_0x4a69a9);return _0x250c8b&&_0x4a69a9&&Jo(_0x2f500c,_0x3a5fc7,_0x4a69a9),_0x4a69a9;},kt=(_0x42bc13,_0x3da186)=>(_0x1e7e60,_0x9bbf19)=>_0x3da186(_0x1e7e60,_0x9bbf19,_0x42bc13);const ea=0x1389;let as=class extends _0x1bd493{constructor(_0x34776c,_0x1a4bde,_0x2b6eac,_0x315072){const _0x524592=_0x354c00;super(),g(this,_0x524592(0x4bb),new Set()),g(this,'_lastPointer',null),(this[_0x524592(0x25d)]=_0x34776c,this[_0x524592(0x541)]=_0x1a4bde,this[_0x524592(0x2b4)]=_0x2b6eac,this[_0x524592(0x44c)]=_0x315072,this['_init']());}[_0x354c00(0x536)](){const _0x5e8e45=_0x354c00;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5e8e45(0x43d)](_0x53e684(this[_0x5e8e45(0x14d)]),_0x203a58(_0x51fe3c=>{const _0x175fae=_0x5e8e45;if(_0x51fe3c){const _0x1b09cd=_0x51fe3c[_0x175fae(0x240)];return _0x26ee51(this[_0x175fae(0x2b4)][_0x175fae(0x496)](this['_context']['unitId']),this[_0x175fae(0x44c)][_0x175fae(0x20f)])[_0x175fae(0x43d)](_0x416fe6(([_0xe14101,_0xfff2f9])=>{const _0xb0356e=_0x175fae,_0x38f847=new Map();return _0xe14101[_0xb0356e(0x3f0)]((_0x1c6623,_0x5ee7cc)=>{const _0x37421f=_0xb0356e;if(_0x1c6623[_0x37421f(0x186)]===_0x1b09cd){const _0x2f3d8b={..._0x1c6623};_0x2f3d8b[_0x37421f(0x3f3)]=_0xfff2f9[_0x1c6623['color']],_0x38f847[_0x37421f(0x244)](_0x5ee7cc,_0x2f3d8b);}}),{'skeleton':_0x51fe3c,'cursors':_0x38f847};}));}return _0x517049({'skeleton':null,'cursors':new Map()});}))[_0x5e8e45(0x51f)](({skeleton:_0x402b71,cursors:_0x402479})=>{const _0x3d65c8=_0x5e8e45;this['_removeCollabCursors'](),_0x402b71&&this[_0x3d65c8(0x289)](_0x402b71,_0x402479);}),this[_0x5e8e45(0x541)][_0x5e8e45(0x163)][_0x5e8e45(0x51f)](_0x4c1240=>{const _0x19e43d=_0x5e8e45;if(_0x4c1240==null)return;const {skeleton:_0x47f669}=_0x4c1240,{scene:_0x363b6b}=this['_context'];_0x363b6b['onPointerMove$'][_0x19e43d(0x1ee)](_0x3cf277(_0x5079b0=>{const _0x443a21=_0x19e43d;var _0xb742cd,_0xad40f3;const {offsetX:_0x25c2b6,offsetY:_0x15ada1}=_0x5079b0,{x:_0x4a5ef0,y:_0xc87d11}=_0x363b6b[_0x443a21(0x48e)](_0x1e515e[_0x443a21(0x477)]([_0x25c2b6,_0x15ada1])),{scaleX:_0x291f80,scaleY:_0x5a6534}=_0x363b6b['getAncestorScale'](),_0x1c4ff9=_0x363b6b[_0x443a21(0x4bf)](_0x1bae0e[_0x443a21(0x39f)]),_0x2e4f03=_0x363b6b[_0x443a21(0x2e6)](_0x1e515e[_0x443a21(0x477)]([_0x4a5ef0,_0xc87d11]),_0x1c4ff9),_0x2c37d5=_0x47f669['getCellPositionByOffset'](_0x25c2b6,_0x15ada1,_0x291f80,_0x5a6534,_0x2e4f03);((_0xb742cd=this[_0x443a21(0x297)])==null?void 0x0:_0xb742cd[_0x443a21(0x38b)])===_0x2c37d5[_0x443a21(0x38b)]&&((_0xad40f3=this[_0x443a21(0x297)])==null?void 0x0:_0xad40f3[_0x443a21(0x333)])===_0x2c37d5[_0x443a21(0x333)]||this['_cursors'][_0x443a21(0x3f0)](_0x42427a=>{const _0x2edd9f=_0x443a21;_0x42427a[_0x2edd9f(0x15f)](_0x2c37d5);});},0x64));});}[_0x354c00(0x289)](_0x2ad969,_0x8076ef){const _0x1154a3=_0x354c00;var _0x3da850;const _0x1e6451=(_0x3da850=this[_0x1154a3(0x541)][_0x1154a3(0x483)]())==null?void 0x0:_0x3da850[_0x1154a3(0x523)];if(!_0x1e6451)return;const _0x409a98=this['_getSheetObject']();if(!_0x409a98)return;this[_0x1154a3(0x4bb)]['forEach'](_0x17cdca=>{const _0x5afeeb=_0x1154a3;_0x17cdca[_0x5afeeb(0x519)]();});const {scene:_0x10e139}=_0x409a98,_0x516593=ta(Array[_0x1154a3(0x29a)](_0x8076ef[_0x1154a3(0x211)]()))[_0x1154a3(0x4e6)](_0x2aec1a=>{const _0x4effc4=_0x1154a3,{color:_0x3758bd,range:_0x4d2f3d,name:_0x5a13aa,selection:_0x23edc3,sheetID:_0x394935}=_0x2aec1a,{startColumn:_0x1f2625,startRow:_0x2444cb,endColumn:_0xe493f5,endRow:_0x1e8fc4}=_0x4d2f3d,_0xe72347=_0x452ad9(_0x2444cb,_0x1f2625,_0x10e139,_0x1e6451),_0x3c70c7=_0x452ad9(_0x1e8fc4,_0xe493f5,_0x10e139,_0x1e6451),{columnHeaderHeightAndMarginTop:_0x2c4349}=_0x1e6451,{startX:_0x5065b9,startY:_0x597929}=_0xe72347,{endX:_0x131d13,endY:_0x405939}=_0x3c70c7,_0x1a6bd4=_0x131d13-_0x5065b9,_0x221465=_0x405939-_0x597929,_0x9f4d43={'labelPosition':_0x597929-_0x2c4349>=nt?_0x4effc4(0x2a7):_0x4effc4(0x368),'sheetID':_0x394935,'range':_0x4d2f3d,'color':_0x3758bd,'name':_0x5a13aa,'selection':_0x23edc3,'left':_0x5065b9,'top':_0x597929,'width':_0x1a6bd4,'height':_0x221465,'evented':!0x1,'zIndex':ea};return new Xo(_0x5a13aa,_0x9f4d43);});_0x10e139[_0x1154a3(0x452)](_0x516593,zo),this[_0x1154a3(0x4bb)]=new Set(_0x516593);}[_0x354c00(0x1fa)](){const _0x513ac9=_0x354c00;var _0x2b744d;(_0x2b744d=this[_0x513ac9(0x4bb)])==null||_0x2b744d[_0x513ac9(0x3f0)](_0x417fa8=>_0x417fa8[_0x513ac9(0x4d7)]());}[_0x354c00(0x4ae)](){const _0x5ae8c7=_0x354c00;return _0x462d92(this[_0x5ae8c7(0x25d)][_0x5ae8c7(0x2c9)],this[_0x5ae8c7(0x25d)]);}};as=Qo([kt(0x1,_0x1727eb(_0x17de71)),kt(0x2,_0x1727eb(Ve)),kt(0x3,_0x1727eb(_0x45a9b5))],as);function ta(_0x21ed4d){const _0x5a0b2a=_0x354c00,_0x1ab75d=new Map();return _0x21ed4d[_0x5a0b2a(0x3f0)](_0xd97f92=>{const _0x3f514b=_0x5a0b2a;if(_0x1ab75d['has'](_0xd97f92[_0x3f514b(0x17b)])){const _0x1ca72a=_0x1ab75d[_0x3f514b(0x291)](_0xd97f92[_0x3f514b(0x17b)]);_0x1ca72a[_0x3f514b(0x276)]+=',\x20'+_0xd97f92[_0x3f514b(0x276)];}else _0x1ab75d[_0x3f514b(0x244)](_0xd97f92[_0x3f514b(0x17b)],_0xd97f92);}),Array['from'](_0x1ab75d[_0x5a0b2a(0x211)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x2ca9e6){const _0x229918=_0x354c00;return _0x2ca9e6&&_0x2ca9e6[_0x229918(0x438)]&&Object['prototype']['hasOwnProperty'][_0x229918(0x1a6)](_0x2ca9e6,_0x229918(0x388))?_0x2ca9e6[_0x229918(0x388)]:_0x2ca9e6;}var Mi={'exports':{}},Ot={},sa=_0x2c8d7a,ia=Symbol[_0x354c00(0x1bc)](_0x354c00(0x2ed)),na=Symbol['for'](_0x354c00(0x17c)),ra=Object[_0x354c00(0x197)][_0x354c00(0x2af)],oa=sa[_0x354c00(0x4e5)][_0x354c00(0x55d)],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x20876e,_0x3bda7a,_0x1e42b9){const _0x43dff3=_0x354c00;var _0x2e8a66,_0x1b1470={},_0x278904=null,_0x3c9cc3=null;_0x1e42b9!==void 0x0&&(_0x278904=''+_0x1e42b9),_0x3bda7a[_0x43dff3(0x45f)]!==void 0x0&&(_0x278904=''+_0x3bda7a[_0x43dff3(0x45f)]),_0x3bda7a['ref']!==void 0x0&&(_0x3c9cc3=_0x3bda7a[_0x43dff3(0x4dd)]);for(_0x2e8a66 in _0x3bda7a)ra[_0x43dff3(0x1a6)](_0x3bda7a,_0x2e8a66)&&!aa[_0x43dff3(0x2af)](_0x2e8a66)&&(_0x1b1470[_0x2e8a66]=_0x3bda7a[_0x2e8a66]);if(_0x20876e&&_0x20876e['defaultProps']){for(_0x2e8a66 in(_0x3bda7a=_0x20876e[_0x43dff3(0x487)],_0x3bda7a))_0x1b1470[_0x2e8a66]===void 0x0&&(_0x1b1470[_0x2e8a66]=_0x3bda7a[_0x2e8a66]);}return{'$$typeof':ia,'type':_0x20876e,'key':_0x278904,'ref':_0x3c9cc3,'props':_0x1b1470,'_owner':oa[_0x43dff3(0x222)]};}Ot['Fragment']=na,Ot['jsx']=xi,Ot[_0x354c00(0x281)]=xi,Mi[_0x354c00(0x4a6)]=Ot;var we=Mi[_0x354c00(0x4a6)],ee=function(){const _0x1dd3df=_0x354c00;return ee=Object[_0x1dd3df(0x16b)]||function(_0x309728){const _0x1558c3=_0x1dd3df;for(var _0x519c14,_0xb2172a=0x1,_0x440d44=arguments[_0x1558c3(0x2a0)];_0xb2172a<_0x440d44;_0xb2172a++){_0x519c14=arguments[_0xb2172a];for(var _0x55329e in _0x519c14)Object[_0x1558c3(0x197)][_0x1558c3(0x2af)][_0x1558c3(0x1a6)](_0x519c14,_0x55329e)&&(_0x309728[_0x55329e]=_0x519c14[_0x55329e]);}return _0x309728;},ee[_0x1dd3df(0x3ee)](this,arguments);},ca=function(_0x3aab9e,_0x14b0ed){const _0x20a0a3=_0x354c00;var _0x3f62af={};for(var _0x181626 in _0x3aab9e)Object[_0x20a0a3(0x197)][_0x20a0a3(0x2af)][_0x20a0a3(0x1a6)](_0x3aab9e,_0x181626)&&_0x14b0ed[_0x20a0a3(0x25f)](_0x181626)<0x0&&(_0x3f62af[_0x181626]=_0x3aab9e[_0x181626]);if(_0x3aab9e!=null&&typeof Object[_0x20a0a3(0x325)]==_0x20a0a3(0x3ec)){for(var _0x12df9d=0x0,_0x181626=Object['getOwnPropertySymbols'](_0x3aab9e);_0x12df9d<_0x181626[_0x20a0a3(0x2a0)];_0x12df9d++)_0x14b0ed[_0x20a0a3(0x25f)](_0x181626[_0x12df9d])<0x0&&Object[_0x20a0a3(0x197)]['propertyIsEnumerable'][_0x20a0a3(0x1a6)](_0x3aab9e,_0x181626[_0x12df9d])&&(_0x3f62af[_0x181626[_0x12df9d]]=_0x3aab9e[_0x181626[_0x12df9d]]);}return _0x3f62af;},Ts=_0x448ef5(function(_0x574da6,_0x5b460f){const _0x17e275=_0x354c00;var _0x3cd442=_0x574da6[_0x17e275(0x3b9)],_0x4cde61=_0x574da6['id'],_0x1aa194=_0x574da6[_0x17e275(0x3b2)],_0x4b7b03=_0x574da6[_0x17e275(0x4b5)],_0x4a150d=ca(_0x574da6,[_0x17e275(0x3b9),'id','className',_0x17e275(0x4b5)]),_0x31d208=_0x17e275(0x3d3)[_0x17e275(0x4a3)](_0x4cde61,'\x20')['concat'](_0x1aa194||'')[_0x17e275(0x2ec)](),_0x5bd018=_0x143c61('_'[_0x17e275(0x4a3)](_a()));return Li(_0x3cd442,''[_0x17e275(0x4a3)](_0x4cde61),{'defIds':_0x3cd442['defIds'],'idSuffix':_0x5bd018[_0x17e275(0x222)]},ee({'ref':_0x5b460f,'className':_0x31d208},_0x4a150d),_0x4b7b03);});function Li(_0x4cc0f1,_0x1e372e,_0x550289,_0x2a9e7f,_0x4e6e6a){const _0x2f7358=_0x354c00;return _0x826a7b(_0x4cc0f1[_0x2f7358(0x4d5)],ee(ee({'key':_0x1e372e},ha(_0x4cc0f1,_0x550289,_0x4e6e6a)),_0x2a9e7f),(la(_0x4cc0f1,_0x550289)[_0x2f7358(0x2e2)]||[])[_0x2f7358(0x4e6)](function(_0x20c85a,_0x13c4c3){const _0x3f0177=_0x2f7358;return Li(_0x20c85a,''['concat'](_0x1e372e,'-')[_0x3f0177(0x4a3)](_0x4cc0f1['tag'],'-')[_0x3f0177(0x4a3)](_0x13c4c3),_0x550289,void 0x0,_0x4e6e6a);}));}function ha(_0x15309c,_0x4c81c3,_0x4d08a7){const _0x4fd093=_0x354c00;var _0x2e4411=ee({},_0x15309c[_0x4fd093(0x27a)]);_0x4d08a7!=null&&_0x4d08a7['colorChannel1']&&_0x2e4411['fill']===_0x4fd093(0x173)&&(_0x2e4411[_0x4fd093(0x552)]=_0x4d08a7[_0x4fd093(0x173)]);var _0x503d73=_0x4c81c3[_0x4fd093(0x2b0)];return!_0x503d73||_0x503d73[_0x4fd093(0x2a0)]===0x0||(_0x15309c[_0x4fd093(0x4d5)]===_0x4fd093(0x3ab)&&_0x2e4411[_0x4fd093(0x45e)]&&(_0x2e4411[_0x4fd093(0x45e)]=_0x2e4411[_0x4fd093(0x45e)]+_0x4c81c3[_0x4fd093(0x468)]),Object['entries'](_0x2e4411)[_0x4fd093(0x3f0)](function(_0x4f7100){const _0x5ba8b8=_0x4fd093;var _0x18e142=_0x4f7100[0x0],_0x25a195=_0x4f7100[0x1];typeof _0x25a195==_0x5ba8b8(0x1a5)&&(_0x2e4411[_0x18e142]=_0x25a195[_0x5ba8b8(0x40f)](/url\(#(.*)\)/,_0x5ba8b8(0x236)[_0x5ba8b8(0x4a3)](_0x4c81c3[_0x5ba8b8(0x468)],')')));})),_0x2e4411;}function la(_0x3f2816,_0x28ca76){const _0x97cee4=_0x354c00;var _0x43ac8b,_0x44842f=_0x28ca76['defIds'];return!_0x44842f||_0x44842f['length']===0x0?_0x3f2816:_0x3f2816[_0x97cee4(0x4d5)]==='defs'&&(!((_0x43ac8b=_0x3f2816['children'])===null||_0x43ac8b===void 0x0)&&_0x43ac8b[_0x97cee4(0x2a0)])?ee(ee({},_0x3f2816),{'children':_0x3f2816[_0x97cee4(0x2e2)][_0x97cee4(0x4e6)](function(_0x172e64){const _0x125f00=_0x97cee4;return typeof _0x172e64[_0x125f00(0x27a)]['id']==_0x125f00(0x1a5)&&_0x44842f&&_0x44842f[_0x125f00(0x25f)](_0x172e64[_0x125f00(0x27a)]['id'])>-0x1?ee(ee({},_0x172e64),{'attrs':ee(ee({},_0x172e64[_0x125f00(0x27a)]),{'id':_0x172e64[_0x125f00(0x27a)]['id']+_0x28ca76[_0x125f00(0x468)]})}):_0x172e64;})}):_0x3f2816;}function _a(){const _0x1bf0d4=_0x354c00;return Math['random']()[_0x1bf0d4(0x3d1)](0x24)['substring'](0x2,0x8);}Ts[_0x354c00(0x247)]=_0x354c00(0x188);var ua={'tag':_0x354c00(0x2d1),'attrs':{'fill':_0x354c00(0x253),'viewBox':_0x354c00(0x4a4),'width':_0x354c00(0x378),'height':_0x354c00(0x378)},'children':[{'tag':'g','attrs':{'clipPath':_0x354c00(0x34f)},'children':[{'tag':_0x354c00(0x187),'attrs':{'stroke':_0x354c00(0x386),'d':_0x354c00(0x1f0),'strokeLinecap':_0x354c00(0x2cf),'strokeLinejoin':_0x354c00(0x2cf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x354c00(0x389),'attrs':{'id':_0x354c00(0x19a)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x354c00(0x3ce)}}]}]}],'defIds':[_0x354c00(0x19a)]},$i=_0x448ef5(function(_0x1c5b8e,_0xcd36b6){const _0x25d5c9=_0x354c00;return _0x826a7b(Ts,Object[_0x25d5c9(0x16b)]({},_0x1c5b8e,{'id':'off-line-single','ref':_0xcd36b6,'icon':ua}));});$i[_0x354c00(0x247)]=_0x354c00(0x3ad);var da={'tag':_0x354c00(0x2d1),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x354c00(0x378),'height':_0x354c00(0x378)},'children':[{'tag':'g','attrs':{'clipPath':_0x354c00(0x548)},'children':[{'tag':_0x354c00(0x187),'attrs':{'stroke':'currentColor','d':_0x354c00(0x3fd),'strokeLinecap':_0x354c00(0x2cf),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x354c00(0x35b),'attrs':{},'children':[{'tag':_0x354c00(0x389),'attrs':{'id':_0x354c00(0x3a2)},'children':[{'tag':_0x354c00(0x187),'attrs':{'fill':_0x354c00(0x1aa),'d':'M0\x200H16V16H0z','transform':_0x354c00(0x327)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x448ef5(function(_0x55a323,_0x2fe57e){const _0x3c8d30=_0x354c00;return _0x826a7b(Ts,Object[_0x3c8d30(0x16b)]({},_0x55a323,{'id':_0x3c8d30(0x53a),'ref':_0x2fe57e,'icon':da}));});Hi[_0x354c00(0x247)]=_0x354c00(0x36f);function ji(_0x542827){const _0x10e4d6=_0x354c00;var _0x24be66,_0x3e3e93,_0x2400fa='';if(typeof _0x542827==_0x10e4d6(0x1a5)||typeof _0x542827==_0x10e4d6(0x175))_0x2400fa+=_0x542827;else{if(typeof _0x542827==_0x10e4d6(0x3d5)){if(Array[_0x10e4d6(0x345)](_0x542827)){var _0x4c14ea=_0x542827[_0x10e4d6(0x2a0)];for(_0x24be66=0x0;_0x24be66<_0x4c14ea;_0x24be66++)_0x542827[_0x24be66]&&(_0x3e3e93=ji(_0x542827[_0x24be66]))&&(_0x2400fa&&(_0x2400fa+='\x20'),_0x2400fa+=_0x3e3e93);}else{for(_0x3e3e93 in _0x542827)_0x542827[_0x3e3e93]&&(_0x2400fa&&(_0x2400fa+='\x20'),_0x2400fa+=_0x3e3e93);}}}return _0x2400fa;}function fa(){for(var _0x2aae35,_0x1d0104,_0x5382b0=0x0,_0x9a4767='',_0x2c10b0=arguments['length'];_0x5382b0<_0x2c10b0;_0x5382b0++)(_0x2aae35=arguments[_0x5382b0])&&(_0x1d0104=ji(_0x2aae35))&&(_0x9a4767&&(_0x9a4767+='\x20'),_0x9a4767+=_0x1d0104);return _0x9a4767;}const va=_0x354c00(0x485),ma=_0x354c00(0x407),pa=_0x354c00(0x54f),ga=_0x354c00(0x431),Sa='univer-offline',Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x3a7c47){const _0x5eb39b=_0x354c00;switch(_0x3a7c47){case J[_0x5eb39b(0x4eb)]:return _0x5eb39b(0x3ac);case J[_0x5eb39b(0x517)]:return _0x5eb39b(0x41b);case J[_0x5eb39b(0x2d4)]:return _0x5eb39b(0x2e4);case J[_0x5eb39b(0x14e)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x5eb39b(0x1b2)]:return _0x5eb39b(0x3ca);case J['SYNCED']:case J[_0x5eb39b(0x330)]:return _0x5eb39b(0x518);}}function Ca(_0xa0cac8){const _0x12c5c0=_0x354c00,{status$:_0x334f47}=_0xa0cac8,_0x22394c=_0x253487(_0x334f47,J[_0x12c5c0(0x14e)]),_0x444cb8=_0x38e1d3(_0x382d24),_0x1677ee=_0x38e1d3(Ae),_0x12c4c0=_0x22394c!==J[_0x12c5c0(0x4eb)],_0x28f3f4=_0x444cb8['t'](Ia(_0x22394c)),_0x1e440a=fa(Ze[_0x12c5c0(0x374)],{[Ze[_0x12c5c0(0x19b)]]:_0x12c4c0,[Ze[_0x12c5c0(0x26e)]]:!_0x12c4c0}),_0x5ea5bd=_0x12c4c0?we[_0x12c5c0(0x1e5)](Hi,{}):we['jsx']($i,{}),_0x2a453c=_0x26490b(()=>{const _0xd69166=_0x12c5c0;_0x12c4c0||_0x1677ee[_0xd69166(0x4d8)]();},[_0x12c4c0,_0x1677ee]);function _0x26d398(){const _0x44e5cb=_0x12c5c0;return we['jsxs'](_0x44e5cb(0x22d),{'className':_0x1e440a,'onClick':_0x2a453c,'children':[we[_0x44e5cb(0x1e5)](_0x44e5cb(0x22d),{'className':Ze[_0x44e5cb(0x1c0)],'children':_0x5ea5bd}),we['jsx'](_0x44e5cb(0x22d),{'className':Ze[_0x44e5cb(0x369)],'children':_0x28f3f4})]});}return _0x12c4c0?_0x26d398():we[_0x12c5c0(0x1e5)](_0x3e0db8,{'title':_0x444cb8['t']('collab-client.tooltip.reconnect'),'children':_0x26d398()});}var Ea=Object[_0x354c00(0x3cf)],ba=Object[_0x354c00(0x20e)],Ta=(_0x4da5e4,_0x508cb1,_0x204f1a,_0x2d9e0b)=>{const _0x2c1af2=_0x354c00;for(var _0x35d0fc=_0x2d9e0b>0x1?void 0x0:_0x2d9e0b?ba(_0x508cb1,_0x204f1a):_0x508cb1,_0x3bdb30=_0x4da5e4[_0x2c1af2(0x2a0)]-0x1,_0x3320bb;_0x3bdb30>=0x0;_0x3bdb30--)(_0x3320bb=_0x4da5e4[_0x3bdb30])&&(_0x35d0fc=(_0x2d9e0b?_0x3320bb(_0x508cb1,_0x204f1a,_0x35d0fc):_0x3320bb(_0x35d0fc))||_0x35d0fc);return _0x2d9e0b&&_0x35d0fc&&Ea(_0x508cb1,_0x204f1a,_0x35d0fc),_0x35d0fc;},ht=(_0x3ad6e9,_0x5641ad)=>(_0x42fa3c,_0x37d702)=>_0x5641ad(_0x42fa3c,_0x37d702,_0x3ad6e9);let St=class extends _0x1cb1cd{constructor(_0x5b649b,_0x30c390,_0x421702,_0x4149b4){const _0x25c911=_0x354c00;super(),g(this,_0x25c911(0x38e),new _0x5ea788(J[_0x25c911(0x14e)])),(this['_univerInstanceService']=_0x5b649b,this['_uiPartsService']=_0x30c390,this[_0x25c911(0x199)]=_0x421702,this[_0x25c911(0x1cd)]=_0x4149b4,this[_0x25c911(0x3e7)](),this[_0x25c911(0x433)]());}[_0x354c00(0x433)](){const _0x4c3d2c=_0x354c00;this[_0x4c3d2c(0x181)](this[_0x4c3d2c(0x429)][_0x4c3d2c(0x2d6)][_0x4c3d2c(0x43d)](_0x32daf9(()=>{const _0x4928e4=_0x4c3d2c,_0x466302=this['_univerInstanceService'][_0x4928e4(0x3c7)]();return _0x466302?this['_collaborationController'][_0x4928e4(0x3da)](_0x466302[_0x4928e4(0x191)]()):_0x517049(null);}),_0x32daf9(_0x58bb2d=>_0x58bb2d?_0x58bb2d['status$']:_0x517049(J[_0x4c3d2c(0x14e)])))[_0x4c3d2c(0x51f)](_0x983d7a=>{const _0x55bb21=_0x4c3d2c;this[_0x55bb21(0x38e)][_0x55bb21(0x2df)](_0x983d7a);}));}[_0x354c00(0x3e7)](){const _0x17bea1=_0x354c00;this[_0x17bea1(0x181)](this[_0x17bea1(0x2d8)][_0x17bea1(0x266)](_0x22c053[_0x17bea1(0x4ed)],()=>_0x45e1ea(Ra({'status$':this[_0x17bea1(0x38e)][_0x17bea1(0x516)]()}),this[_0x17bea1(0x199)])));}};St=Ta([ht(0x0,_0x48d976),ht(0x1,_0x17b17c),ht(0x2,_0x1727eb(_0x5d0612)),ht(0x3,_0x1727eb(it))],St);function Ra(_0x1eaf8e){const {status$:_0x38bfc8}=_0x1eaf8e;return function(){const _0x588cda=_0x33b4;return we[_0x588cda(0x1e5)](Ca,{'status$':_0x38bfc8});};}const Bi=_0x1d937b('uni.network.url-service');var ya=Object[_0x354c00(0x3cf)],Oa=Object['getOwnPropertyDescriptor'],wa=(_0x400af3,_0x1b5532,_0x7b4f5d,_0x3863b8)=>{const _0x599c1a=_0x354c00;for(var _0x182198=_0x3863b8>0x1?void 0x0:_0x3863b8?Oa(_0x1b5532,_0x7b4f5d):_0x1b5532,_0x2ac0e3=_0x400af3[_0x599c1a(0x2a0)]-0x1,_0x59f17a;_0x2ac0e3>=0x0;_0x2ac0e3--)(_0x59f17a=_0x400af3[_0x2ac0e3])&&(_0x182198=(_0x3863b8?_0x59f17a(_0x1b5532,_0x7b4f5d,_0x182198):_0x59f17a(_0x182198))||_0x182198);return _0x3863b8&&_0x182198&&ya(_0x1b5532,_0x7b4f5d,_0x182198),_0x182198;},ke=(_0x5141a6,_0x1a7d1b)=>(_0x136a04,_0x50260c)=>_0x1a7d1b(_0x136a04,_0x50260c,_0x5141a6);let It=class extends _0x1bd493{constructor(_0x2fd97a,_0xc57e62,_0x5a0fca,_0x2d6be3,_0x7d89d4,_0x1493ed){const _0x3385d3=_0x354c00;super(),this['_urlService']=_0x2fd97a,this['_logService']=_0xc57e62,this[_0x3385d3(0x3fc)]=_0x5a0fca,this['_localCacheService']=_0x2d6be3,this['_snapshotService']=_0x7d89d4,_0x1493ed?_0x1493ed==null||_0x1493ed[_0x3385d3(0x52d)]()[_0x3385d3(0x1e4)](()=>this[_0x3385d3(0x536)]()):(this[_0x3385d3(0x3b6)][_0x3385d3(0x4c5)](_0x3385d3(0x217),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3385d3(0x536)]());}async[_0x354c00(0x536)](){const _0x183295=_0x354c00,_0x224340=this['_urlService']['getParam'](_0x183295(0x2c9)),_0x55118d=this['_urlService'][_0x183295(0x47b)](_0x183295(0x260));if(!_0x224340||!_0x55118d){this[_0x183295(0x3b6)][_0x183295(0x4c5)](_0x183295(0x217),_0x183295(0x539));return;}switch(Number(_0x55118d)){case ce[_0x183295(0x1c5)]:{const _0x3a3684=await this[_0x183295(0x358)](_0x224340);this['_setupSubUnitSync'](_0x3a3684);break;}case ce[_0x183295(0x461)]:{await this[_0x183295(0x553)](_0x224340);break;}default:{this[_0x183295(0x3b6)]['error'](_0x183295(0x217),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x354c00(0x2b8)](_0x423173){const _0x5482a6=_0x354c00;await this['_updateSubUnitFromURLParams'](_0x423173),_0x423173['activeSheet$'][_0x5482a6(0x43d)](_0x144dfb(this[_0x5482a6(0x14d)]))['subscribe'](_0x9a17be=>{_0x9a17be&&this['_updateURLWithCurrentState'](_0x9a17be);}),this['_urlService'][_0x5482a6(0x2f9)][_0x5482a6(0x43d)](_0x144dfb(this[_0x5482a6(0x14d)]))[_0x5482a6(0x51f)](()=>this[_0x5482a6(0x39c)](_0x423173));}[_0x354c00(0x286)](_0x5a5250,_0x59bf4e=!0x1){const _0x362107=_0x354c00,_0x4a799f=this[_0x362107(0x408)][_0x362107(0x47b)](_0x362107(0x49c));_0x5a5250['getSheetId']()!==_0x4a799f&&this['_urlService'][_0x362107(0x2ff)](_0x362107(0x49c),_0x5a5250['getSheetId'](),_0x59bf4e);}async['_updateSubUnitFromURLParams'](_0x491cd4){const _0x4a2a03=_0x354c00;var _0x257ba1;const _0x1ee273=this[_0x4a2a03(0x408)]['getParam']('subunit');if(!_0x1ee273||!_0x491cd4[_0x4a2a03(0x1f2)](_0x1ee273)){const _0x3f57bb=_0x491cd4[_0x4a2a03(0x4fd)]()[0x0],_0x255c71=_0x491cd4[_0x4a2a03(0x1f2)](_0x3f57bb);if(!_0x255c71)return;this['_updateURLWithCurrentState'](_0x255c71,!0x0),await this['_commandService'][_0x4a2a03(0x365)](_0x4f7e31['id'],{'unitId':_0x491cd4[_0x4a2a03(0x191)](),'subUnitId':_0x3f57bb});return;}((_0x257ba1=_0x491cd4[_0x4a2a03(0x4be)]())==null?void 0x0:_0x257ba1[_0x4a2a03(0x238)]())!==_0x1ee273&&await this['_commandService'][_0x4a2a03(0x365)](_0x4f7e31['id'],{'unitId':_0x491cd4['getUnitId'](),'subUnitId':_0x1ee273});}async[_0x354c00(0x358)](_0xb43c83){const _0x5842c3=_0x354c00;let _0x50ee36=0x0;const _0x27a1d5=await this['_localCacheService'][_0x5842c3(0x4b8)](_0xb43c83);return _0x27a1d5&&(_0x27a1d5[_0x5842c3(0x46d)]||_0x27a1d5[_0x5842c3(0x24d)][_0x5842c3(0x2a0)]!==0x0)&&(_0x50ee36=_0x27a1d5[_0x5842c3(0x1fe)]),_0x50ee36===0x0&&this[_0x5842c3(0x3b6)]['debug'](_0x5842c3(0x217),_0x5842c3(0x3cd)),this[_0x5842c3(0x385)][_0x5842c3(0x2b9)](_0xb43c83,_0x50ee36);}async['_loadDoc'](_0x67d091){const _0x588e53=_0x354c00;let _0x17dae7=0x0;const _0x4c7256=await this[_0x588e53(0x1e2)][_0x588e53(0x4b8)](_0x67d091);return _0x4c7256&&(_0x4c7256['awaitingChangeset']||_0x4c7256[_0x588e53(0x24d)][_0x588e53(0x2a0)]!==0x0)&&(_0x17dae7=_0x4c7256['rev']),_0x17dae7===0x0&&this[_0x588e53(0x3b6)]['debug']('[DataLoaderController]',_0x588e53(0x3cd)),this[_0x588e53(0x385)]['loadDoc'](_0x67d091,_0x17dae7);}};It=wa([ke(0x0,Bi),ke(0x1,_0x3b4016),ke(0x2,_0xfbfaad),ke(0x3,_0x1727eb(q)),ke(0x4,_0x1727eb(_0x1644f2)),ke(0x5,_0x213697(_0x2d92e8))],It);var Da=Object['defineProperty'],Pa=Object[_0x354c00(0x20e)],Ua=(_0x35d082,_0x54ae28,_0x278542,_0x1a7c33)=>{for(var _0x2d9ba0=_0x1a7c33>0x1?void 0x0:_0x1a7c33?Pa(_0x54ae28,_0x278542):_0x54ae28,_0xa690c9=_0x35d082['length']-0x1,_0x16ed41;_0xa690c9>=0x0;_0xa690c9--)(_0x16ed41=_0x35d082[_0xa690c9])&&(_0x2d9ba0=(_0x1a7c33?_0x16ed41(_0x54ae28,_0x278542,_0x2d9ba0):_0x16ed41(_0x2d9ba0))||_0x2d9ba0);return _0x1a7c33&&_0x2d9ba0&&Da(_0x54ae28,_0x278542,_0x2d9ba0),_0x2d9ba0;},zs=(_0x598d90,_0x1862f3)=>(_0x3475a0,_0x3c0a28)=>_0x1862f3(_0x3475a0,_0x3c0a28,_0x598d90);const Na=_0x354c00(0x223),Aa=_0x354c00(0x376);let Ct=class extends _0x1cb1cd{constructor(_0x168d10,_0x240a9e){const _0x5e3812=_0x354c00;super(),this['_univerInstanceService']=_0x168d10,this[_0x5e3812(0x53b)]=_0x240a9e,this[_0x5e3812(0x536)]();}['_init'](){const _0x377dfc=_0x354c00;this[_0x377dfc(0x181)](this[_0x377dfc(0x429)]['focused$'][_0x377dfc(0x51f)](()=>{const _0x3a39a1=_0x377dfc;var _0x2ab2e1;const _0x3056c6=this['_univerInstanceService'][_0x3a39a1(0x3c7)]();let _0x337bd9=(_0x2ab2e1=this['_configService'][_0x3a39a1(0x246)](Na))!=null?_0x2ab2e1:Aa;_0x3056c6 instanceof _0x1b5e66&&(_0x337bd9=_0x3056c6['name']),document[_0x3a39a1(0x48b)]=_0x337bd9;}));}};Ct=Ua([zs(0x0,_0x48d976),zs(0x1,_0x250a8d)],Ct);var Ma=Object[_0x354c00(0x3cf)],xa=Object[_0x354c00(0x20e)],La=(_0x3205cb,_0x314182,_0x1e722c,_0x29e401)=>{const _0x5ed559=_0x354c00;for(var _0x54c6fc=_0x29e401>0x1?void 0x0:_0x29e401?xa(_0x314182,_0x1e722c):_0x314182,_0x5601f5=_0x3205cb[_0x5ed559(0x2a0)]-0x1,_0x1a819e;_0x5601f5>=0x0;_0x5601f5--)(_0x1a819e=_0x3205cb[_0x5601f5])&&(_0x54c6fc=(_0x29e401?_0x1a819e(_0x314182,_0x1e722c,_0x54c6fc):_0x1a819e(_0x54c6fc))||_0x54c6fc);return _0x29e401&&_0x54c6fc&&Ma(_0x314182,_0x1e722c,_0x54c6fc),_0x54c6fc;},Wt=(_0x149bd7,_0x535371)=>(_0x3d0e58,_0x1f0ce4)=>_0x535371(_0x3d0e58,_0x1f0ce4,_0x149bd7);let Et=class{constructor(_0x3bce09,_0x2881f2,_0x19240a){const _0x2c3ee3=_0x354c00;this[_0x2c3ee3(0x53b)]=_0x3bce09,this[_0x2c3ee3(0x3b3)]=_0x2881f2,this['localeService']=_0x19240a,this[_0x2c3ee3(0x4cf)]();}[_0x354c00(0x4cf)](){const _0x1c5aff=_0x354c00;this[_0x1c5aff(0x3b3)][_0x1c5aff(0x243)]({'priority':0x1,'interceptor':(_0x36ff95,_0x1e99a0)=>_0x1e99a0(_0x36ff95)['pipe'](_0x4a0d9c(async _0x44a393=>{const _0x3ba3c4=_0x1c5aff,_0x57b56a=_0x44a393;if(_0x57b56a['status']===0x191&&window[_0x3ba3c4(0x19e)](this[_0x3ba3c4(0x535)]['t'](_0x3ba3c4(0x3fe)))){const _0xcdb36f=window[_0x3ba3c4(0x193)](window[_0x3ba3c4(0x141)]['href']);window[_0x3ba3c4(0x141)][_0x3ba3c4(0x1a0)]=this[_0x3ba3c4(0x1af)]()+_0x3ba3c4(0x2ae)+_0xcdb36f;}return _0x57b56a;}))});}[_0x354c00(0x1af)](){const _0x425b80=_0x354c00;var _0x35afd2,_0xa93fb5;const _0x55bc49=this['_configService'][_0x425b80(0x246)](br),_0x18b14b=this[_0x425b80(0x53b)][_0x425b80(0x246)](ie);return(_0xa93fb5=(_0x35afd2=_0x18b14b==null?void 0x0:_0x18b14b[_0x425b80(0x471)])!=null?_0x35afd2:_0x55bc49)!=null?_0xa93fb5:Tr;}};Et=La([Wt(0x0,_0x250a8d),Wt(0x1,_0x1727eb(_0x4e8dbf)),Wt(0x2,_0x1727eb(_0x382d24))],Et);var $a=Object[_0x354c00(0x3cf)],Ha=Object['getOwnPropertyDescriptor'],ja=(_0x8891fb,_0x10723b,_0x384ce0,_0x251cb5)=>{const _0xad7bd9=_0x354c00;for(var _0x38e721=_0x251cb5>0x1?void 0x0:_0x251cb5?Ha(_0x10723b,_0x384ce0):_0x10723b,_0x426bee=_0x8891fb[_0xad7bd9(0x2a0)]-0x1,_0x30b87e;_0x426bee>=0x0;_0x426bee--)(_0x30b87e=_0x8891fb[_0x426bee])&&(_0x38e721=(_0x251cb5?_0x30b87e(_0x10723b,_0x384ce0,_0x38e721):_0x30b87e(_0x38e721))||_0x38e721);return _0x251cb5&&_0x38e721&&$a(_0x10723b,_0x384ce0,_0x38e721),_0x38e721;},qs=(_0x5e8c65,_0x4545f6)=>(_0x581a18,_0xdbd03a)=>_0x4545f6(_0x581a18,_0xdbd03a,_0x5e8c65);const Ba='AUTHZ_URL_KEY',ka=_0x354c00(0x30d);let cs=class extends _0x1cb1cd{constructor(_0x177347,_0x29a054){const _0x1f64c3=_0x354c00;super(),this[_0x1f64c3(0x3d7)]=_0x177347,this[_0x1f64c3(0x53b)]=_0x29a054,this['_initMergeInterceptor']();}[_0x354c00(0x413)](){const _0x37b267=_0x354c00,_0x520c5f=this;this[_0x37b267(0x181)](this[_0x37b267(0x3d7)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x542720({'isMatch'(_0x11920d){const _0x268e6d=_0x37b267;var _0x2e20fe;if(_0x11920d['method']===_0x268e6d(0x350)&&((_0x2e20fe=_0x11920d[_0x268e6d(0x2c7)])!=null&&_0x2e20fe[_0x268e6d(0x4f3)])){const {objectID:_0x1bf4b2,objectType:_0x5c2bd6}=_0x11920d[_0x268e6d(0x2c7)][_0x268e6d(0x4f3)]||{};if(!_0x1bf4b2||_0x5c2bd6===void 0x0)return!0x1;const _0x4919c0=_0x520c5f[_0x268e6d(0x50a)]()+'/'+_0x5c2bd6+'/object/'+_0x1bf4b2+_0x268e6d(0x168);if(_0x11920d[_0x268e6d(0x551)]===_0x4919c0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x53cdac){const _0x229173=_0x37b267;var _0x585932;return(_0x585932=_0x53cdac[_0x229173(0x2c7)])==null?void 0x0:_0x585932[_0x229173(0x4f3)];},'mergeParamsToRequest'(_0x58a312,_0x10bca8){const _0x333283=_0x37b267,_0x33da8b=_0x520c5f[_0x333283(0x50a)]()+_0x333283(0x3e5),_0xc9f381=_0x58a312[_0x333283(0x159)]((_0x4213b8,_0x4f92cc)=>{const _0x4bec9c=_0x333283,{unitID:_0x4e970f,objectID:_0x24e38a,objectType:_0x5dc16c,actions:_0x79cad1}=_0x4f92cc;return _0x4213b8[_0x4e970f]||(_0x4213b8[_0x4e970f]={}),_0x4213b8[_0x4e970f][_0x24e38a]||(_0x4213b8[_0x4e970f][_0x24e38a]={'objectID':_0x24e38a,'objectType':_0x5dc16c,'actions':[]}),_0x4213b8[_0x4e970f][_0x24e38a]['actions'][_0x4bec9c(0x301)](..._0x79cad1),_0x4213b8;},{}),_0x50cad8=[];for(const _0x557115 in _0xc9f381)for(const _0x3b6f94 in _0xc9f381[_0x557115]){const {actions:_0x382c97,objectType:_0x6be16c}=_0xc9f381[_0x557115][_0x3b6f94],_0x239f4c=[...new Set(_0x382c97)];_0x50cad8[_0x333283(0x301)]({'unitID':_0x557115,'objectID':_0x3b6f94,'objectType':_0x6be16c,'actions':_0x239f4c});}return new _0x79519(_0x333283(0x350),_0x33da8b,{'headers':_0x10bca8['headers'],'withCredentials':_0x10bca8[_0x333283(0x33d)],'responseType':_0x10bca8[_0x333283(0x23f)],'body':{'requests':_0x50cad8}});}},{'distributeResult'(_0x5b14cc,_0x1814f7){const {objectActions:_0x34708f}=_0x5b14cc;return _0x1814f7['map'](_0x595de8=>{const _0xd4d4cf=_0x33b4,{unitID:_0x1eb2f2,objectID:_0x3603c7,actions:_0x3f6a98}=_0x595de8,_0x20b67b=_0x34708f[_0xd4d4cf(0x462)](_0x4389f9=>_0x4389f9[_0xd4d4cf(0x207)]===_0x1eb2f2&&_0x4389f9[_0xd4d4cf(0x30a)]===_0x3603c7),_0x130a90=_0x3f6a98[_0xd4d4cf(0x4e6)](_0x9b88e9=>_0x20b67b==null?void 0x0:_0x20b67b['actions'][_0xd4d4cf(0x462)](_0x285371=>_0x285371['action']===_0x9b88e9))[_0xd4d4cf(0x2bb)](_0xcb0e7a=>!!_0xcb0e7a);return{'config':_0x595de8,'result':{'actions':_0x130a90,'error':_0x5b14cc[_0xd4d4cf(0x2f1)]}};});}})}));}['_getAPIPrefixPath'](){const _0x34b393=_0x354c00;var _0x1157a8,_0x59dc8a;const _0x47bc2f=this['_configService']['getConfig'](Ba),_0x16713e=this['_configService'][_0x34b393(0x246)](ie);return(_0x59dc8a=(_0x1157a8=_0x16713e==null?void 0x0:_0x16713e[_0x34b393(0x195)])!=null?_0x1157a8:_0x47bc2f)!=null?_0x59dc8a:ka;}async[_0x354c00(0x3f7)](_0x2ae711){const _0x436364=_0x354c00,_0x5bf71b=this[_0x436364(0x50a)]()+'/'+_0x2ae711[_0x436364(0x4f7)]+_0x436364(0x383);return(await this[_0x436364(0x3d7)][_0x436364(0x3f9)](_0x5bf71b,{'body':_0x2ae711}))[_0x436364(0x4f3)][_0x436364(0x30a)]||'';}async[_0x354c00(0x308)](_0x4e8594){const _0x3b45ac=_0x354c00,_0x59b7ac=this[_0x3b45ac(0x50a)]()+_0x3b45ac(0x4bc);return(await this[_0x3b45ac(0x3d7)]['post'](_0x59b7ac,{'body':_0x4e8594}))[_0x3b45ac(0x4f3)][_0x3b45ac(0x4d2)];}async[_0x354c00(0x192)](_0x177f9c){const _0x56ad61=_0x354c00,_0x4df4b0=this[_0x56ad61(0x50a)]()+'/'+_0x177f9c[_0x56ad61(0x4f7)]+_0x56ad61(0x31a)+_0x177f9c['objectID'];await this[_0x56ad61(0x3d7)]['put'](_0x4df4b0,{'body':_0x177f9c});}async[_0x354c00(0x3a7)](_0x503ae6){const _0x348adb=_0x354c00,_0xfa716e=this[_0x348adb(0x50a)]()+'/'+_0x503ae6[_0x348adb(0x4f7)]+_0x348adb(0x31a)+_0x503ae6[_0x348adb(0x30a)]+_0x348adb(0x168);return(await this['_HTTPService'][_0x348adb(0x3f9)](_0xfa716e,{'body':_0x503ae6}))[_0x348adb(0x4f3)][_0x348adb(0x4cd)];}async[_0x354c00(0x278)](_0x3d4f5e){const _0x3830bc=_0x354c00,_0x4582f0=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x3830bc(0x3d7)][_0x3830bc(0x3f9)](_0x4582f0,{'body':{'requests':_0x3d4f5e}}))[_0x3830bc(0x4f3)][_0x3830bc(0x3aa)];}async[_0x354c00(0x2be)](_0x358d7a){const _0x5c5e98=_0x354c00,_0x1b6483=this['_getAPIPrefixPath']()+'/'+_0x358d7a[_0x5c5e98(0x4f7)]+_0x5c5e98(0x1ad),_0x4336ce=await this[_0x5c5e98(0x3d7)][_0x5c5e98(0x3f9)](_0x1b6483,{'body':_0x358d7a});return{'roles':_0x4336ce[_0x5c5e98(0x4f3)][_0x5c5e98(0x26f)],'actions':_0x4336ce['body'][_0x5c5e98(0x4cd)]};}async[_0x354c00(0x1d6)](_0xaa6021){const _0x288995=_0x354c00,_0x549722=this[_0x288995(0x50a)]()+_0x288995(0x4b4);await this['_HTTPService'][_0x288995(0x361)](_0x549722,{'params':{'collaboratorID':_0xaa6021[_0x288995(0x353)],'objectID':_0xaa6021[_0x288995(0x30a)],'unitID':_0xaa6021[_0x288995(0x207)]}});}async['updateCollaborator'](_0x7d0c79){const _0x44e8fd=_0x354c00,_0x39bcde=this['_getAPIPrefixPath']()+_0x44e8fd(0x4b4);await this[_0x44e8fd(0x3d7)][_0x44e8fd(0x1e8)](_0x39bcde,{'body':_0x7d0c79});}async[_0x354c00(0x3b4)](_0x371da4){const _0x6d53ed=_0x354c00,_0x6c105d=this[_0x6d53ed(0x50a)]()+_0x6d53ed(0x4b4);await this[_0x6d53ed(0x3d7)][_0x6d53ed(0x3f9)](_0x6c105d,{'body':_0x371da4});}async[_0x354c00(0x3bd)](_0x2bcca8){const _0x3e6b14=_0x354c00,_0x22422f=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x3e6b14(0x3d7)][_0x3e6b14(0x291)](_0x22422f,{'params':{'objectID':_0x2bcca8[_0x3e6b14(0x30a)],'unitID':_0x2bcca8['unitID']}}))['body'][_0x3e6b14(0x54b)];}async['putCollaborators'](_0x210616){const _0x5752ef=_0x354c00,_0x3a969e=this[_0x5752ef(0x50a)]()+_0x5752ef(0x4b4);await this[_0x5752ef(0x3d7)]['put'](_0x3a969e,{'body':_0x210616});}};cs=ja([qs(0x0,_0x1727eb(_0x4e8dbf)),qs(0x1,_0x1727eb(_0x250a8d))],cs);var ki={'exports':{}};function Wa(_0x3db460){const _0xa73bce=_0x354c00;throw new Error(_0xa73bce(0x3d2)+_0x3db460+_0xa73bce(0x2b7));}var Ft={'exports':{}},Xs;function ue(){const _0x4d843b=_0x354c00;return Xs||(Xs=0x1,function(_0x38a112,_0x42bd42){(function(_0x3d3976,_0x24fd8f){const _0x307f37=_0x33b4;_0x38a112[_0x307f37(0x4a6)]=_0x24fd8f();}(Z,function(){var _0x16c8d8=_0x16c8d8||function(_0x2429fd,_0x1c0f13){const _0x1e6ff2=_0x33b4;var _0x52b3b2;if(typeof window<'u'&&window['crypto']&&(_0x52b3b2=window[_0x1e6ff2(0x40c)]),typeof self<'u'&&self[_0x1e6ff2(0x40c)]&&(_0x52b3b2=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1e6ff2(0x40c)]&&(_0x52b3b2=globalThis['crypto']),!_0x52b3b2&&typeof window<'u'&&window[_0x1e6ff2(0x466)]&&(_0x52b3b2=window[_0x1e6ff2(0x466)]),!_0x52b3b2&&typeof Z<'u'&&Z['crypto']&&(_0x52b3b2=Z[_0x1e6ff2(0x40c)]),!_0x52b3b2&&typeof Wa==_0x1e6ff2(0x3ec))try{_0x52b3b2=require(_0x1e6ff2(0x40c));}catch{}var _0x1b4f55=function(){const _0x1c0556=_0x1e6ff2;if(_0x52b3b2){if(typeof _0x52b3b2[_0x1c0556(0x3c5)]==_0x1c0556(0x3ec))try{return _0x52b3b2[_0x1c0556(0x3c5)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x52b3b2['randomBytes']=='function')try{return _0x52b3b2[_0x1c0556(0x3c0)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3dd336=Object[_0x1e6ff2(0x3f7)]||(function(){function _0x45096f(){}return function(_0x2f6dc2){const _0x1095a0=_0x33b4;var _0x286425;return _0x45096f[_0x1095a0(0x197)]=_0x2f6dc2,_0x286425=new _0x45096f(),_0x45096f[_0x1095a0(0x197)]=null,_0x286425;};}()),_0x3c551f={},_0x2d7d4b=_0x3c551f[_0x1e6ff2(0x22c)]={},_0x3eaa9e=_0x2d7d4b[_0x1e6ff2(0x2a4)]=(function(){return{'extend':function(_0x597852){const _0x5171e4=_0x33b4;var _0x4b4691=_0x3dd336(this);return _0x597852&&_0x4b4691[_0x5171e4(0x52b)](_0x597852),(!_0x4b4691[_0x5171e4(0x2af)](_0x5171e4(0x4cf))||this[_0x5171e4(0x4cf)]===_0x4b4691[_0x5171e4(0x4cf)])&&(_0x4b4691[_0x5171e4(0x4cf)]=function(){const _0x35e286=_0x5171e4;_0x4b4691[_0x35e286(0x2b6)][_0x35e286(0x4cf)]['apply'](this,arguments);}),_0x4b4691[_0x5171e4(0x4cf)][_0x5171e4(0x197)]=_0x4b4691,_0x4b4691[_0x5171e4(0x2b6)]=this,_0x4b4691;},'create':function(){const _0xcb8754=_0x33b4;var _0x2126ec=this['extend']();return _0x2126ec[_0xcb8754(0x4cf)][_0xcb8754(0x3ee)](_0x2126ec,arguments),_0x2126ec;},'init':function(){},'mixIn':function(_0x16e085){const _0x565e9a=_0x33b4;for(var _0x206edf in _0x16e085)_0x16e085[_0x565e9a(0x2af)](_0x206edf)&&(this[_0x206edf]=_0x16e085[_0x206edf]);_0x16e085[_0x565e9a(0x2af)](_0x565e9a(0x3d1))&&(this['toString']=_0x16e085[_0x565e9a(0x3d1)]);},'clone':function(){const _0xa4e40d=_0x33b4;return this[_0xa4e40d(0x4cf)][_0xa4e40d(0x197)]['extend'](this);}};}()),_0x4ad325=_0x2d7d4b['WordArray']=_0x3eaa9e[_0x1e6ff2(0x4b5)]({'init':function(_0x3757f1,_0x3ae747){const _0x1f6514=_0x1e6ff2;_0x3757f1=this[_0x1f6514(0x33c)]=_0x3757f1||[],_0x3ae747!=_0x1c0f13?this[_0x1f6514(0x1ce)]=_0x3ae747:this[_0x1f6514(0x1ce)]=_0x3757f1[_0x1f6514(0x2a0)]*0x4;},'toString':function(_0x393e31){const _0x1ff7c1=_0x1e6ff2;return(_0x393e31||_0x4334e2)[_0x1ff7c1(0x2d5)](this);},'concat':function(_0x34d1e4){const _0x2c270f=_0x1e6ff2;var _0x273d05=this[_0x2c270f(0x33c)],_0x1a713c=_0x34d1e4[_0x2c270f(0x33c)],_0x279b7e=this[_0x2c270f(0x1ce)],_0x31497d=_0x34d1e4[_0x2c270f(0x1ce)];if(this[_0x2c270f(0x201)](),_0x279b7e%0x4)for(var _0x19d185=0x0;_0x19d185<_0x31497d;_0x19d185++){var _0x2f876a=_0x1a713c[_0x19d185>>>0x2]>>>0x18-_0x19d185%0x4*0x8&0xff;_0x273d05[_0x279b7e+_0x19d185>>>0x2]|=_0x2f876a<<0x18-(_0x279b7e+_0x19d185)%0x4*0x8;}else{for(var _0x5afcfa=0x0;_0x5afcfa<_0x31497d;_0x5afcfa+=0x4)_0x273d05[_0x279b7e+_0x5afcfa>>>0x2]=_0x1a713c[_0x5afcfa>>>0x2];}return this[_0x2c270f(0x1ce)]+=_0x31497d,this;},'clamp':function(){const _0x3e2e28=_0x1e6ff2;var _0xe8ec68=this[_0x3e2e28(0x33c)],_0x573a35=this['sigBytes'];_0xe8ec68[_0x573a35>>>0x2]&=0xffffffff<<0x20-_0x573a35%0x4*0x8,_0xe8ec68[_0x3e2e28(0x2a0)]=_0x2429fd['ceil'](_0x573a35/0x4);},'clone':function(){const _0x518e7f=_0x1e6ff2;var _0x3c082d=_0x3eaa9e[_0x518e7f(0x202)][_0x518e7f(0x1a6)](this);return _0x3c082d['words']=this['words'][_0x518e7f(0x475)](0x0),_0x3c082d;},'random':function(_0x4cd00d){const _0xe2dd23=_0x1e6ff2;for(var _0x3804a7=[],_0x254d75=0x0;_0x254d75<_0x4cd00d;_0x254d75+=0x4)_0x3804a7[_0xe2dd23(0x301)](_0x1b4f55());return new _0x4ad325[(_0xe2dd23(0x4cf))](_0x3804a7,_0x4cd00d);}}),_0x34e1cb=_0x3c551f[_0x1e6ff2(0x230)]={},_0x4334e2=_0x34e1cb[_0x1e6ff2(0x492)]={'stringify':function(_0x13839a){const _0x350075=_0x1e6ff2;for(var _0x46d006=_0x13839a['words'],_0x179f48=_0x13839a[_0x350075(0x1ce)],_0x1649ea=[],_0x10792b=0x0;_0x10792b<_0x179f48;_0x10792b++){var _0x5b2ba7=_0x46d006[_0x10792b>>>0x2]>>>0x18-_0x10792b%0x4*0x8&0xff;_0x1649ea[_0x350075(0x301)]((_0x5b2ba7>>>0x4)[_0x350075(0x3d1)](0x10)),_0x1649ea[_0x350075(0x301)]((_0x5b2ba7&0xf)[_0x350075(0x3d1)](0x10));}return _0x1649ea['join']('');},'parse':function(_0x2c1eae){const _0x4b7b1e=_0x1e6ff2;for(var _0x11bd93=_0x2c1eae[_0x4b7b1e(0x2a0)],_0x428cf5=[],_0x5aae19=0x0;_0x5aae19<_0x11bd93;_0x5aae19+=0x2)_0x428cf5[_0x5aae19>>>0x3]|=parseInt(_0x2c1eae['substr'](_0x5aae19,0x2),0x10)<<0x18-_0x5aae19%0x8*0x4;return new _0x4ad325['init'](_0x428cf5,_0x11bd93/0x2);}},_0x169fc8=_0x34e1cb[_0x1e6ff2(0x231)]={'stringify':function(_0x41f2a5){const _0x14087a=_0x1e6ff2;for(var _0x4911a3=_0x41f2a5[_0x14087a(0x33c)],_0x20cedd=_0x41f2a5[_0x14087a(0x1ce)],_0x521662=[],_0x1e67d1=0x0;_0x1e67d1<_0x20cedd;_0x1e67d1++){var _0xcaa3c1=_0x4911a3[_0x1e67d1>>>0x2]>>>0x18-_0x1e67d1%0x4*0x8&0xff;_0x521662['push'](String['fromCharCode'](_0xcaa3c1));}return _0x521662['join']('');},'parse':function(_0x1d29b5){const _0x5f410b=_0x1e6ff2;for(var _0xea20fe=_0x1d29b5['length'],_0x552501=[],_0x269589=0x0;_0x269589<_0xea20fe;_0x269589++)_0x552501[_0x269589>>>0x2]|=(_0x1d29b5[_0x5f410b(0x326)](_0x269589)&0xff)<<0x18-_0x269589%0x4*0x8;return new _0x4ad325[(_0x5f410b(0x4cf))](_0x552501,_0xea20fe);}},_0x56bfd0=_0x34e1cb[_0x1e6ff2(0x27f)]={'stringify':function(_0xfa0917){const _0x21a2c8=_0x1e6ff2;try{return decodeURIComponent(escape(_0x169fc8['stringify'](_0xfa0917)));}catch{throw new Error(_0x21a2c8(0x229));}},'parse':function(_0x8c1547){const _0x1bd0ee=_0x1e6ff2;return _0x169fc8[_0x1bd0ee(0x1fb)](unescape(encodeURIComponent(_0x8c1547)));}},_0x421737=_0x2d7d4b[_0x1e6ff2(0x3b7)]=_0x3eaa9e[_0x1e6ff2(0x4b5)]({'reset':function(){const _0x32d452=_0x1e6ff2;this[_0x32d452(0x321)]=new _0x4ad325[(_0x32d452(0x4cf))](),this['_nDataBytes']=0x0;},'_append':function(_0x428fb5){const _0x41b3e8=_0x1e6ff2;typeof _0x428fb5==_0x41b3e8(0x1a5)&&(_0x428fb5=_0x56bfd0['parse'](_0x428fb5)),this['_data'][_0x41b3e8(0x4a3)](_0x428fb5),this[_0x41b3e8(0x43c)]+=_0x428fb5[_0x41b3e8(0x1ce)];},'_process':function(_0x59b732){const _0x3a4055=_0x1e6ff2;var _0xc12ed0,_0x759e9=this[_0x3a4055(0x321)],_0x1620e1=_0x759e9['words'],_0x3114b6=_0x759e9[_0x3a4055(0x1ce)],_0xe173d6=this[_0x3a4055(0x1e3)],_0x530f04=_0xe173d6*0x4,_0x3b25b9=_0x3114b6/_0x530f04;_0x59b732?_0x3b25b9=_0x2429fd[_0x3a4055(0x49d)](_0x3b25b9):_0x3b25b9=_0x2429fd[_0x3a4055(0x362)]((_0x3b25b9|0x0)-this[_0x3a4055(0x162)],0x0);var _0xd900c8=_0x3b25b9*_0xe173d6,_0x178075=_0x2429fd[_0x3a4055(0x1d3)](_0xd900c8*0x4,_0x3114b6);if(_0xd900c8){for(var _0x46ebe9=0x0;_0x46ebe9<_0xd900c8;_0x46ebe9+=_0xe173d6)this[_0x3a4055(0x43f)](_0x1620e1,_0x46ebe9);_0xc12ed0=_0x1620e1[_0x3a4055(0x3bb)](0x0,_0xd900c8),_0x759e9['sigBytes']-=_0x178075;}return new _0x4ad325[(_0x3a4055(0x4cf))](_0xc12ed0,_0x178075);},'clone':function(){const _0x25e9a2=_0x1e6ff2;var _0xd19741=_0x3eaa9e[_0x25e9a2(0x202)][_0x25e9a2(0x1a6)](this);return _0xd19741[_0x25e9a2(0x321)]=this['_data'][_0x25e9a2(0x202)](),_0xd19741;},'_minBufferSize':0x0});_0x2d7d4b[_0x1e6ff2(0x24a)]=_0x421737[_0x1e6ff2(0x4b5)]({'cfg':_0x3eaa9e['extend'](),'init':function(_0x3c09ea){const _0xee8072=_0x1e6ff2;this[_0xee8072(0x39e)]=this[_0xee8072(0x39e)][_0xee8072(0x4b5)](_0x3c09ea),this[_0xee8072(0x511)]();},'reset':function(){const _0x3d531d=_0x1e6ff2;_0x421737[_0x3d531d(0x511)][_0x3d531d(0x1a6)](this),this['_doReset']();},'update':function(_0x124712){const _0x5e7fb6=_0x1e6ff2;return this[_0x5e7fb6(0x15d)](_0x124712),this['_process'](),this;},'finalize':function(_0x234139){const _0x4e6461=_0x1e6ff2;_0x234139&&this[_0x4e6461(0x15d)](_0x234139);var _0x9e6f57=this['_doFinalize']();return _0x9e6f57;},'blockSize':0x10,'_createHelper':function(_0x50fe12){return function(_0x3143e4,_0x407b8a){const _0x319591=_0x33b4;return new _0x50fe12[(_0x319591(0x4cf))](_0x407b8a)[_0x319591(0x270)](_0x3143e4);};},'_createHmacHelper':function(_0x262b59){return function(_0x5d23ea,_0x79e49c){const _0x1b94c9=_0x33b4;return new _0x3d7efc[(_0x1b94c9(0x3ae))][(_0x1b94c9(0x4cf))](_0x262b59,_0x79e49c)['finalize'](_0x5d23ea);};}});var _0x3d7efc=_0x3c551f[_0x1e6ff2(0x242)]={};return _0x3c551f;}(Math);return _0x16c8d8;}));}(Ft)),Ft[_0x4d843b(0x4a6)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x19e048,_0xc7ac0){(function(_0x59d21b,_0x1a1938){_0x19e048['exports']=_0x1a1938(ue());}(Z,function(_0xecbc13){const _0x1b166f=_0x33b4;return(function(){const _0x67b179=_0x33b4;var _0x38d673=_0xecbc13,_0x1a0b19=_0x38d673[_0x67b179(0x22c)],_0x40a482=_0x1a0b19[_0x67b179(0x170)],_0x4fd3c5=_0x38d673[_0x67b179(0x230)];_0x4fd3c5[_0x67b179(0x501)]={'stringify':function(_0x130bcb){const _0x3315d3=_0x67b179;var _0x4e76f2=_0x130bcb[_0x3315d3(0x33c)],_0x52159e=_0x130bcb['sigBytes'],_0x1fae4a=this[_0x3315d3(0x443)];_0x130bcb[_0x3315d3(0x201)]();for(var _0x374d62=[],_0x16e9cb=0x0;_0x16e9cb<_0x52159e;_0x16e9cb+=0x3)for(var _0x438bf6=_0x4e76f2[_0x16e9cb>>>0x2]>>>0x18-_0x16e9cb%0x4*0x8&0xff,_0x51b2d0=_0x4e76f2[_0x16e9cb+0x1>>>0x2]>>>0x18-(_0x16e9cb+0x1)%0x4*0x8&0xff,_0x240941=_0x4e76f2[_0x16e9cb+0x2>>>0x2]>>>0x18-(_0x16e9cb+0x2)%0x4*0x8&0xff,_0x43c8ed=_0x438bf6<<0x10|_0x51b2d0<<0x8|_0x240941,_0x506ca0=0x0;_0x506ca0<0x4&&_0x16e9cb+_0x506ca0*0.75<_0x52159e;_0x506ca0++)_0x374d62[_0x3315d3(0x301)](_0x1fae4a['charAt'](_0x43c8ed>>>0x6*(0x3-_0x506ca0)&0x3f));var _0x5017e9=_0x1fae4a[_0x3315d3(0x36a)](0x40);if(_0x5017e9){for(;_0x374d62['length']%0x4;)_0x374d62[_0x3315d3(0x301)](_0x5017e9);}return _0x374d62['join']('');},'parse':function(_0x4ea48b){const _0x16d555=_0x67b179;var _0x5982c9=_0x4ea48b['length'],_0x155fd3=this['_map'],_0x14a199=this[_0x16d555(0x3f2)];if(!_0x14a199){_0x14a199=this[_0x16d555(0x3f2)]=[];for(var _0x10290f=0x0;_0x10290f<_0x155fd3['length'];_0x10290f++)_0x14a199[_0x155fd3[_0x16d555(0x326)](_0x10290f)]=_0x10290f;}var _0x461d80=_0x155fd3[_0x16d555(0x36a)](0x40);if(_0x461d80){var _0x1f0b22=_0x4ea48b[_0x16d555(0x25f)](_0x461d80);_0x1f0b22!==-0x1&&(_0x5982c9=_0x1f0b22);}return _0x12300b(_0x4ea48b,_0x5982c9,_0x14a199);},'_map':_0x67b179(0x29e)};function _0x12300b(_0x18d6ae,_0x36cdae,_0x2d5610){const _0x229017=_0x67b179;for(var _0x277804=[],_0x5a316b=0x0,_0x299c1a=0x0;_0x299c1a<_0x36cdae;_0x299c1a++)if(_0x299c1a%0x4){var _0x30b50b=_0x2d5610[_0x18d6ae[_0x229017(0x326)](_0x299c1a-0x1)]<<_0x299c1a%0x4*0x2,_0x29a6fc=_0x2d5610[_0x18d6ae[_0x229017(0x326)](_0x299c1a)]>>>0x6-_0x299c1a%0x4*0x2,_0x2ad904=_0x30b50b|_0x29a6fc;_0x277804[_0x5a316b>>>0x2]|=_0x2ad904<<0x18-_0x5a316b%0x4*0x8,_0x5a316b++;}return _0x40a482[_0x229017(0x3f7)](_0x277804,_0x5a316b);}}()),_0xecbc13[_0x1b166f(0x230)][_0x1b166f(0x501)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x558eed=_0x354c00;return Zs||(Zs=0x1,function(_0x55a2a9,_0x59e57f){(function(_0x569a9d,_0x4802e7){const _0x4d182b=_0x33b4;_0x55a2a9[_0x4d182b(0x4a6)]=_0x4802e7(ue());}(Z,function(_0x4a9266){return function(_0x28e238){const _0x23c2c5=_0x33b4;var _0x5b5a45=_0x4a9266,_0x21b08a=_0x5b5a45[_0x23c2c5(0x22c)],_0x4a8937=_0x21b08a['WordArray'],_0x12da73=_0x21b08a[_0x23c2c5(0x24a)],_0x47c9b2=_0x5b5a45[_0x23c2c5(0x242)],_0x3a3a5e=[];(function(){const _0x5182e4=_0x23c2c5;for(var _0xce57b1=0x0;_0xce57b1<0x40;_0xce57b1++)_0x3a3a5e[_0xce57b1]=_0x28e238[_0x5182e4(0x142)](_0x28e238[_0x5182e4(0x4b0)](_0xce57b1+0x1))*0x100000000|0x0;}());var _0x122d31=_0x47c9b2[_0x23c2c5(0x401)]=_0x12da73[_0x23c2c5(0x4b5)]({'_doReset':function(){const _0xb36b7b=_0x23c2c5;this[_0xb36b7b(0x4ee)]=new _0x4a8937[(_0xb36b7b(0x4cf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x250b56,_0x596a01){const _0x8429d6=_0x23c2c5;for(var _0x582416=0x0;_0x582416<0x10;_0x582416++){var _0x59e55d=_0x596a01+_0x582416,_0x459063=_0x250b56[_0x59e55d];_0x250b56[_0x59e55d]=(_0x459063<<0x8|_0x459063>>>0x18)&0xff00ff|(_0x459063<<0x18|_0x459063>>>0x8)&0xff00ff00;}var _0xa04745=this['_hash'][_0x8429d6(0x33c)],_0x58e5f8=_0x250b56[_0x596a01+0x0],_0x326dd7=_0x250b56[_0x596a01+0x1],_0x47231e=_0x250b56[_0x596a01+0x2],_0x4862bb=_0x250b56[_0x596a01+0x3],_0x230354=_0x250b56[_0x596a01+0x4],_0x4a8091=_0x250b56[_0x596a01+0x5],_0x3fa3ba=_0x250b56[_0x596a01+0x6],_0x78a930=_0x250b56[_0x596a01+0x7],_0x5782ba=_0x250b56[_0x596a01+0x8],_0x4ae3e5=_0x250b56[_0x596a01+0x9],_0x3f3e3d=_0x250b56[_0x596a01+0xa],_0x3991b3=_0x250b56[_0x596a01+0xb],_0x18ab89=_0x250b56[_0x596a01+0xc],_0x3067be=_0x250b56[_0x596a01+0xd],_0x5d3cd2=_0x250b56[_0x596a01+0xe],_0x4e826d=_0x250b56[_0x596a01+0xf],_0xcfd5ee=_0xa04745[0x0],_0x11e725=_0xa04745[0x1],_0x3ca560=_0xa04745[0x2],_0xcd0034=_0xa04745[0x3];_0xcfd5ee=_0x429a08(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x58e5f8,0x7,_0x3a3a5e[0x0]),_0xcd0034=_0x429a08(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x326dd7,0xc,_0x3a3a5e[0x1]),_0x3ca560=_0x429a08(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x47231e,0x11,_0x3a3a5e[0x2]),_0x11e725=_0x429a08(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x4862bb,0x16,_0x3a3a5e[0x3]),_0xcfd5ee=_0x429a08(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x230354,0x7,_0x3a3a5e[0x4]),_0xcd0034=_0x429a08(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x4a8091,0xc,_0x3a3a5e[0x5]),_0x3ca560=_0x429a08(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3fa3ba,0x11,_0x3a3a5e[0x6]),_0x11e725=_0x429a08(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x78a930,0x16,_0x3a3a5e[0x7]),_0xcfd5ee=_0x429a08(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x5782ba,0x7,_0x3a3a5e[0x8]),_0xcd0034=_0x429a08(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x4ae3e5,0xc,_0x3a3a5e[0x9]),_0x3ca560=_0x429a08(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3f3e3d,0x11,_0x3a3a5e[0xa]),_0x11e725=_0x429a08(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x3991b3,0x16,_0x3a3a5e[0xb]),_0xcfd5ee=_0x429a08(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x18ab89,0x7,_0x3a3a5e[0xc]),_0xcd0034=_0x429a08(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x3067be,0xc,_0x3a3a5e[0xd]),_0x3ca560=_0x429a08(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x5d3cd2,0x11,_0x3a3a5e[0xe]),_0x11e725=_0x429a08(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x4e826d,0x16,_0x3a3a5e[0xf]),_0xcfd5ee=_0x382560(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x326dd7,0x5,_0x3a3a5e[0x10]),_0xcd0034=_0x382560(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x3fa3ba,0x9,_0x3a3a5e[0x11]),_0x3ca560=_0x382560(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3991b3,0xe,_0x3a3a5e[0x12]),_0x11e725=_0x382560(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x58e5f8,0x14,_0x3a3a5e[0x13]),_0xcfd5ee=_0x382560(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x4a8091,0x5,_0x3a3a5e[0x14]),_0xcd0034=_0x382560(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x3f3e3d,0x9,_0x3a3a5e[0x15]),_0x3ca560=_0x382560(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x4e826d,0xe,_0x3a3a5e[0x16]),_0x11e725=_0x382560(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x230354,0x14,_0x3a3a5e[0x17]),_0xcfd5ee=_0x382560(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x4ae3e5,0x5,_0x3a3a5e[0x18]),_0xcd0034=_0x382560(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x5d3cd2,0x9,_0x3a3a5e[0x19]),_0x3ca560=_0x382560(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x4862bb,0xe,_0x3a3a5e[0x1a]),_0x11e725=_0x382560(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x5782ba,0x14,_0x3a3a5e[0x1b]),_0xcfd5ee=_0x382560(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x3067be,0x5,_0x3a3a5e[0x1c]),_0xcd0034=_0x382560(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x47231e,0x9,_0x3a3a5e[0x1d]),_0x3ca560=_0x382560(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x78a930,0xe,_0x3a3a5e[0x1e]),_0x11e725=_0x382560(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x18ab89,0x14,_0x3a3a5e[0x1f]),_0xcfd5ee=_0x2aa528(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x4a8091,0x4,_0x3a3a5e[0x20]),_0xcd0034=_0x2aa528(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x5782ba,0xb,_0x3a3a5e[0x21]),_0x3ca560=_0x2aa528(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3991b3,0x10,_0x3a3a5e[0x22]),_0x11e725=_0x2aa528(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x5d3cd2,0x17,_0x3a3a5e[0x23]),_0xcfd5ee=_0x2aa528(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x326dd7,0x4,_0x3a3a5e[0x24]),_0xcd0034=_0x2aa528(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x230354,0xb,_0x3a3a5e[0x25]),_0x3ca560=_0x2aa528(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x78a930,0x10,_0x3a3a5e[0x26]),_0x11e725=_0x2aa528(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x3f3e3d,0x17,_0x3a3a5e[0x27]),_0xcfd5ee=_0x2aa528(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x3067be,0x4,_0x3a3a5e[0x28]),_0xcd0034=_0x2aa528(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x58e5f8,0xb,_0x3a3a5e[0x29]),_0x3ca560=_0x2aa528(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x4862bb,0x10,_0x3a3a5e[0x2a]),_0x11e725=_0x2aa528(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x3fa3ba,0x17,_0x3a3a5e[0x2b]),_0xcfd5ee=_0x2aa528(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x4ae3e5,0x4,_0x3a3a5e[0x2c]),_0xcd0034=_0x2aa528(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x18ab89,0xb,_0x3a3a5e[0x2d]),_0x3ca560=_0x2aa528(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x4e826d,0x10,_0x3a3a5e[0x2e]),_0x11e725=_0x2aa528(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x47231e,0x17,_0x3a3a5e[0x2f]),_0xcfd5ee=_0x5ee0cc(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x58e5f8,0x6,_0x3a3a5e[0x30]),_0xcd0034=_0x5ee0cc(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x78a930,0xa,_0x3a3a5e[0x31]),_0x3ca560=_0x5ee0cc(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x5d3cd2,0xf,_0x3a3a5e[0x32]),_0x11e725=_0x5ee0cc(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x4a8091,0x15,_0x3a3a5e[0x33]),_0xcfd5ee=_0x5ee0cc(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x18ab89,0x6,_0x3a3a5e[0x34]),_0xcd0034=_0x5ee0cc(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x4862bb,0xa,_0x3a3a5e[0x35]),_0x3ca560=_0x5ee0cc(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3f3e3d,0xf,_0x3a3a5e[0x36]),_0x11e725=_0x5ee0cc(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x326dd7,0x15,_0x3a3a5e[0x37]),_0xcfd5ee=_0x5ee0cc(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x5782ba,0x6,_0x3a3a5e[0x38]),_0xcd0034=_0x5ee0cc(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x4e826d,0xa,_0x3a3a5e[0x39]),_0x3ca560=_0x5ee0cc(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3fa3ba,0xf,_0x3a3a5e[0x3a]),_0x11e725=_0x5ee0cc(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x3067be,0x15,_0x3a3a5e[0x3b]),_0xcfd5ee=_0x5ee0cc(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x230354,0x6,_0x3a3a5e[0x3c]),_0xcd0034=_0x5ee0cc(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x3991b3,0xa,_0x3a3a5e[0x3d]),_0x3ca560=_0x5ee0cc(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x47231e,0xf,_0x3a3a5e[0x3e]),_0x11e725=_0x5ee0cc(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x4ae3e5,0x15,_0x3a3a5e[0x3f]),_0xa04745[0x0]=_0xa04745[0x0]+_0xcfd5ee|0x0,_0xa04745[0x1]=_0xa04745[0x1]+_0x11e725|0x0,_0xa04745[0x2]=_0xa04745[0x2]+_0x3ca560|0x0,_0xa04745[0x3]=_0xa04745[0x3]+_0xcd0034|0x0;},'_doFinalize':function(){const _0x5ba597=_0x23c2c5;var _0x5715e8=this[_0x5ba597(0x321)],_0x33f95c=_0x5715e8[_0x5ba597(0x33c)],_0x1e8322=this[_0x5ba597(0x43c)]*0x8,_0x343448=_0x5715e8[_0x5ba597(0x1ce)]*0x8;_0x33f95c[_0x343448>>>0x5]|=0x80<<0x18-_0x343448%0x20;var _0xdd9e58=_0x28e238['floor'](_0x1e8322/0x100000000),_0x4c8f97=_0x1e8322;_0x33f95c[(_0x343448+0x40>>>0x9<<0x4)+0xf]=(_0xdd9e58<<0x8|_0xdd9e58>>>0x18)&0xff00ff|(_0xdd9e58<<0x18|_0xdd9e58>>>0x8)&0xff00ff00,_0x33f95c[(_0x343448+0x40>>>0x9<<0x4)+0xe]=(_0x4c8f97<<0x8|_0x4c8f97>>>0x18)&0xff00ff|(_0x4c8f97<<0x18|_0x4c8f97>>>0x8)&0xff00ff00,_0x5715e8['sigBytes']=(_0x33f95c[_0x5ba597(0x2a0)]+0x1)*0x4,this[_0x5ba597(0x2fe)]();for(var _0x370673=this[_0x5ba597(0x4ee)],_0x33b606=_0x370673['words'],_0x136399=0x0;_0x136399<0x4;_0x136399++){var _0x51f4d6=_0x33b606[_0x136399];_0x33b606[_0x136399]=(_0x51f4d6<<0x8|_0x51f4d6>>>0x18)&0xff00ff|(_0x51f4d6<<0x18|_0x51f4d6>>>0x8)&0xff00ff00;}return _0x370673;},'clone':function(){const _0x4ff4b5=_0x23c2c5;var _0x3f29f5=_0x12da73['clone']['call'](this);return _0x3f29f5[_0x4ff4b5(0x4ee)]=this[_0x4ff4b5(0x4ee)]['clone'](),_0x3f29f5;}});function _0x429a08(_0xc639b3,_0x50298b,_0x59c800,_0x50bdfa,_0x30bffb,_0x1ab391,_0x5b5828){var _0x124317=_0xc639b3+(_0x50298b&_0x59c800|~_0x50298b&_0x50bdfa)+_0x30bffb+_0x5b5828;return(_0x124317<<_0x1ab391|_0x124317>>>0x20-_0x1ab391)+_0x50298b;}function _0x382560(_0x41be3b,_0x2d9039,_0x31dc90,_0xedd590,_0x505ce2,_0x744343,_0x3cd7f0){var _0x4d7401=_0x41be3b+(_0x2d9039&_0xedd590|_0x31dc90&~_0xedd590)+_0x505ce2+_0x3cd7f0;return(_0x4d7401<<_0x744343|_0x4d7401>>>0x20-_0x744343)+_0x2d9039;}function _0x2aa528(_0x5801dc,_0x21f620,_0x5cf080,_0x3c74a6,_0x4904f7,_0x23dc0a,_0x350597){var _0x273555=_0x5801dc+(_0x21f620^_0x5cf080^_0x3c74a6)+_0x4904f7+_0x350597;return(_0x273555<<_0x23dc0a|_0x273555>>>0x20-_0x23dc0a)+_0x21f620;}function _0x5ee0cc(_0x22375a,_0x28cfe7,_0x56a85b,_0x473373,_0x3f2bb9,_0x4da9a3,_0x3b9217){var _0x511935=_0x22375a+(_0x56a85b^(_0x28cfe7|~_0x473373))+_0x3f2bb9+_0x3b9217;return(_0x511935<<_0x4da9a3|_0x511935>>>0x20-_0x4da9a3)+_0x28cfe7;}_0x5b5a45[_0x23c2c5(0x401)]=_0x12da73[_0x23c2c5(0x23e)](_0x122d31),_0x5b5a45[_0x23c2c5(0x4c0)]=_0x12da73[_0x23c2c5(0x449)](_0x122d31);}(Math),_0x4a9266['MD5'];}));}(Gt)),Gt[_0x558eed(0x4a6)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x530790=_0x354c00;return Qs||(Qs=0x1,function(_0x204cc8,_0x44154e){(function(_0x29f196,_0x563f66){const _0x46232e=_0x33b4;_0x204cc8[_0x46232e(0x4a6)]=_0x563f66(ue());}(Z,function(_0x309658){const _0x2339c6=_0x33b4;return(function(){const _0x46cae9=_0x33b4;var _0x4e5dff=_0x309658,_0x464e34=_0x4e5dff[_0x46cae9(0x22c)],_0x40ee66=_0x464e34[_0x46cae9(0x170)],_0x31857a=_0x464e34[_0x46cae9(0x24a)],_0x1ee2fc=_0x4e5dff[_0x46cae9(0x242)],_0x3f2433=[],_0x2efa06=_0x1ee2fc[_0x46cae9(0x46e)]=_0x31857a['extend']({'_doReset':function(){const _0x2b9bd0=_0x46cae9;this['_hash']=new _0x40ee66[(_0x2b9bd0(0x4cf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x15ded5,_0x1cdaba){const _0x33beee=_0x46cae9;for(var _0xc1b58a=this[_0x33beee(0x4ee)][_0x33beee(0x33c)],_0x4cced9=_0xc1b58a[0x0],_0xed0d09=_0xc1b58a[0x1],_0x114122=_0xc1b58a[0x2],_0x4493d7=_0xc1b58a[0x3],_0x3a6ce8=_0xc1b58a[0x4],_0x28a83e=0x0;_0x28a83e<0x50;_0x28a83e++){if(_0x28a83e<0x10)_0x3f2433[_0x28a83e]=_0x15ded5[_0x1cdaba+_0x28a83e]|0x0;else{var _0x3b7baa=_0x3f2433[_0x28a83e-0x3]^_0x3f2433[_0x28a83e-0x8]^_0x3f2433[_0x28a83e-0xe]^_0x3f2433[_0x28a83e-0x10];_0x3f2433[_0x28a83e]=_0x3b7baa<<0x1|_0x3b7baa>>>0x1f;}var _0x346e56=(_0x4cced9<<0x5|_0x4cced9>>>0x1b)+_0x3a6ce8+_0x3f2433[_0x28a83e];_0x28a83e<0x14?_0x346e56+=(_0xed0d09&_0x114122|~_0xed0d09&_0x4493d7)+0x5a827999:_0x28a83e<0x28?_0x346e56+=(_0xed0d09^_0x114122^_0x4493d7)+0x6ed9eba1:_0x28a83e<0x3c?_0x346e56+=(_0xed0d09&_0x114122|_0xed0d09&_0x4493d7|_0x114122&_0x4493d7)-0x70e44324:_0x346e56+=(_0xed0d09^_0x114122^_0x4493d7)-0x359d3e2a,_0x3a6ce8=_0x4493d7,_0x4493d7=_0x114122,_0x114122=_0xed0d09<<0x1e|_0xed0d09>>>0x2,_0xed0d09=_0x4cced9,_0x4cced9=_0x346e56;}_0xc1b58a[0x0]=_0xc1b58a[0x0]+_0x4cced9|0x0,_0xc1b58a[0x1]=_0xc1b58a[0x1]+_0xed0d09|0x0,_0xc1b58a[0x2]=_0xc1b58a[0x2]+_0x114122|0x0,_0xc1b58a[0x3]=_0xc1b58a[0x3]+_0x4493d7|0x0,_0xc1b58a[0x4]=_0xc1b58a[0x4]+_0x3a6ce8|0x0;},'_doFinalize':function(){const _0x27f0c1=_0x46cae9;var _0x487fe5=this[_0x27f0c1(0x321)],_0x1c2ee7=_0x487fe5[_0x27f0c1(0x33c)],_0x3a08c4=this[_0x27f0c1(0x43c)]*0x8,_0x396772=_0x487fe5[_0x27f0c1(0x1ce)]*0x8;return _0x1c2ee7[_0x396772>>>0x5]|=0x80<<0x18-_0x396772%0x20,_0x1c2ee7[(_0x396772+0x40>>>0x9<<0x4)+0xe]=Math[_0x27f0c1(0x1cc)](_0x3a08c4/0x100000000),_0x1c2ee7[(_0x396772+0x40>>>0x9<<0x4)+0xf]=_0x3a08c4,_0x487fe5[_0x27f0c1(0x1ce)]=_0x1c2ee7['length']*0x4,this[_0x27f0c1(0x2fe)](),this[_0x27f0c1(0x4ee)];},'clone':function(){const _0x5d55b8=_0x46cae9;var _0x453992=_0x31857a[_0x5d55b8(0x202)]['call'](this);return _0x453992[_0x5d55b8(0x4ee)]=this[_0x5d55b8(0x4ee)]['clone'](),_0x453992;}});_0x4e5dff['SHA1']=_0x31857a[_0x46cae9(0x23e)](_0x2efa06),_0x4e5dff[_0x46cae9(0x4a8)]=_0x31857a[_0x46cae9(0x449)](_0x2efa06);}()),_0x309658[_0x2339c6(0x46e)];}));}(Kt)),Kt[_0x530790(0x4a6)];}var zt={'exports':{}},ei;function Ga(){const _0x59610a=_0x354c00;return ei||(ei=0x1,function(_0x4500fe,_0x5d39a6){(function(_0x3ea429,_0xe75192){const _0x4ee2dd=_0x33b4;_0x4500fe[_0x4ee2dd(0x4a6)]=_0xe75192(ue());}(Z,function(_0x562ba9){(function(){const _0x3c3e30=_0x33b4;var _0x19368f=_0x562ba9,_0x35296c=_0x19368f[_0x3c3e30(0x22c)],_0x11d294=_0x35296c[_0x3c3e30(0x2a4)],_0x4223ce=_0x19368f['enc'],_0x34c025=_0x4223ce['Utf8'],_0x2e4e49=_0x19368f[_0x3c3e30(0x242)];_0x2e4e49[_0x3c3e30(0x3ae)]=_0x11d294[_0x3c3e30(0x4b5)]({'init':function(_0x5377ae,_0x2d9e06){const _0x54ff00=_0x3c3e30;_0x5377ae=this[_0x54ff00(0x371)]=new _0x5377ae['init'](),typeof _0x2d9e06==_0x54ff00(0x1a5)&&(_0x2d9e06=_0x34c025['parse'](_0x2d9e06));var _0x59ea9e=_0x5377ae[_0x54ff00(0x1e3)],_0x32a99c=_0x59ea9e*0x4;_0x2d9e06[_0x54ff00(0x1ce)]>_0x32a99c&&(_0x2d9e06=_0x5377ae[_0x54ff00(0x270)](_0x2d9e06)),_0x2d9e06[_0x54ff00(0x201)]();for(var _0x3e9365=this[_0x54ff00(0x3d4)]=_0x2d9e06[_0x54ff00(0x202)](),_0x4f11bc=this[_0x54ff00(0x1b7)]=_0x2d9e06['clone'](),_0x44069d=_0x3e9365['words'],_0x499244=_0x4f11bc[_0x54ff00(0x33c)],_0x4b5c87=0x0;_0x4b5c87<_0x59ea9e;_0x4b5c87++)_0x44069d[_0x4b5c87]^=0x5c5c5c5c,_0x499244[_0x4b5c87]^=0x36363636;_0x3e9365['sigBytes']=_0x4f11bc['sigBytes']=_0x32a99c,this[_0x54ff00(0x511)]();},'reset':function(){const _0x491ac1=_0x3c3e30;var _0x82cc1c=this[_0x491ac1(0x371)];_0x82cc1c[_0x491ac1(0x511)](),_0x82cc1c[_0x491ac1(0x192)](this[_0x491ac1(0x1b7)]);},'update':function(_0x11aef2){const _0x219c6d=_0x3c3e30;return this[_0x219c6d(0x371)][_0x219c6d(0x192)](_0x11aef2),this;},'finalize':function(_0x2b52e4){const _0x338922=_0x3c3e30;var _0x47ca13=this[_0x338922(0x371)],_0x1b6282=_0x47ca13['finalize'](_0x2b52e4);_0x47ca13['reset']();var _0x549584=_0x47ca13[_0x338922(0x270)](this[_0x338922(0x3d4)][_0x338922(0x202)]()['concat'](_0x1b6282));return _0x549584;}});}());}));}(zt)),zt[_0x59610a(0x4a6)];}var ti;function Fi(){const _0x32681f=_0x354c00;return ti||(ti=0x1,function(_0x3ced2a,_0x5096ae){(function(_0x53c776,_0x114b07,_0x5d03a1){const _0x1a5335=_0x33b4;_0x3ced2a[_0x1a5335(0x4a6)]=_0x114b07(ue(),Va(),Ga());}(Z,function(_0x180241){const _0x1099e2=_0x33b4;return(function(){const _0x1dd5fc=_0x33b4;var _0x288c83=_0x180241,_0x8c3564=_0x288c83['lib'],_0x1dfc05=_0x8c3564[_0x1dd5fc(0x2a4)],_0x17875d=_0x8c3564[_0x1dd5fc(0x170)],_0x27b894=_0x288c83['algo'],_0x17cc05=_0x27b894[_0x1dd5fc(0x401)],_0xc1d60e=_0x27b894[_0x1dd5fc(0x4af)]=_0x1dfc05[_0x1dd5fc(0x4b5)]({'cfg':_0x1dfc05[_0x1dd5fc(0x4b5)]({'keySize':0x80/0x20,'hasher':_0x17cc05,'iterations':0x1}),'init':function(_0x7b906e){const _0x2454e4=_0x1dd5fc;this[_0x2454e4(0x39e)]=this[_0x2454e4(0x39e)][_0x2454e4(0x4b5)](_0x7b906e);},'compute':function(_0x191006,_0x23bc3f){const _0x523dba=_0x1dd5fc;for(var _0x53ef0a,_0x33829c=this[_0x523dba(0x39e)],_0x1fdcc0=_0x33829c[_0x523dba(0x2db)][_0x523dba(0x3f7)](),_0x48095c=_0x17875d['create'](),_0xa651bd=_0x48095c[_0x523dba(0x33c)],_0x5dae74=_0x33829c[_0x523dba(0x224)],_0x533480=_0x33829c['iterations'];_0xa651bd[_0x523dba(0x2a0)]<_0x5dae74;){_0x53ef0a&&_0x1fdcc0[_0x523dba(0x192)](_0x53ef0a),_0x53ef0a=_0x1fdcc0['update'](_0x191006)[_0x523dba(0x270)](_0x23bc3f),_0x1fdcc0[_0x523dba(0x511)]();for(var _0x309ec9=0x1;_0x309ec9<_0x533480;_0x309ec9++)_0x53ef0a=_0x1fdcc0['finalize'](_0x53ef0a),_0x1fdcc0['reset']();_0x48095c[_0x523dba(0x4a3)](_0x53ef0a);}return _0x48095c[_0x523dba(0x1ce)]=_0x5dae74*0x4,_0x48095c;}});_0x288c83[_0x1dd5fc(0x4af)]=function(_0x50490e,_0x459ad2,_0x1432f5){return _0xc1d60e['create'](_0x1432f5)['compute'](_0x50490e,_0x459ad2);};}()),_0x180241[_0x1099e2(0x4af)];}));}(Yt)),Yt[_0x32681f(0x4a6)];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0xe0f337,_0x31813e){(function(_0x2852d6,_0x28c7f8,_0x5b911b){const _0x209162=_0x33b4;_0xe0f337[_0x209162(0x4a6)]=_0x28c7f8(ue(),Fi());}(Z,function(_0x2c1d4d){const _0x536325=_0x33b4;_0x2c1d4d[_0x536325(0x22c)]['Cipher']||function(_0x40ad6f){const _0x432365=_0x536325;var _0xe511f=_0x2c1d4d,_0x226c0a=_0xe511f[_0x432365(0x22c)],_0x2338ff=_0x226c0a['Base'],_0x248860=_0x226c0a[_0x432365(0x170)],_0x411560=_0x226c0a[_0x432365(0x3b7)],_0x1d8344=_0xe511f[_0x432365(0x230)];_0x1d8344['Utf8'];var _0x48ee6c=_0x1d8344[_0x432365(0x501)],_0x50775b=_0xe511f[_0x432365(0x242)],_0x1c278f=_0x50775b[_0x432365(0x4af)],_0x487b3a=_0x226c0a[_0x432365(0x39a)]=_0x411560['extend']({'cfg':_0x2338ff['extend'](),'createEncryptor':function(_0x32f2e0,_0x30c1c3){return this['create'](this['_ENC_XFORM_MODE'],_0x32f2e0,_0x30c1c3);},'createDecryptor':function(_0x50efe6,_0x32024e){const _0x56c484=_0x432365;return this['create'](this[_0x56c484(0x48f)],_0x50efe6,_0x32024e);},'init':function(_0x405997,_0x3e5e63,_0x326a56){const _0x47dd01=_0x432365;this[_0x47dd01(0x39e)]=this['cfg'][_0x47dd01(0x4b5)](_0x326a56),this[_0x47dd01(0x40b)]=_0x405997,this[_0x47dd01(0x25e)]=_0x3e5e63,this[_0x47dd01(0x511)]();},'reset':function(){const _0x17f702=_0x432365;_0x411560[_0x17f702(0x511)][_0x17f702(0x1a6)](this),this['_doReset']();},'process':function(_0x4e33a1){const _0x12d69d=_0x432365;return this[_0x12d69d(0x15d)](_0x4e33a1),this[_0x12d69d(0x2fe)]();},'finalize':function(_0x527bbf){const _0x54ae4e=_0x432365;_0x527bbf&&this[_0x54ae4e(0x15d)](_0x527bbf);var _0x3c2609=this[_0x54ae4e(0x37c)]();return _0x3c2609;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3fe40c(_0x1286fa){return typeof _0x1286fa=='string'?_0x22f66d:_0x451fc5;}return function(_0x559ee3){return{'encrypt':function(_0xe3dc48,_0x11e7c1,_0x45dbc0){return _0x3fe40c(_0x11e7c1)['encrypt'](_0x559ee3,_0xe3dc48,_0x11e7c1,_0x45dbc0);},'decrypt':function(_0x149f6c,_0x2fae48,_0x466393){return _0x3fe40c(_0x2fae48)['decrypt'](_0x559ee3,_0x149f6c,_0x2fae48,_0x466393);}};};}())});_0x226c0a['StreamCipher']=_0x487b3a[_0x432365(0x4b5)]({'_doFinalize':function(){const _0x216a50=_0x432365;var _0x5bfe09=this[_0x216a50(0x2fe)](!0x0);return _0x5bfe09;},'blockSize':0x1});var _0x1eea4c=_0xe511f['mode']={},_0x389b72=_0x226c0a[_0x432365(0x2a3)]=_0x2338ff[_0x432365(0x4b5)]({'createEncryptor':function(_0x133b5d,_0x3e319a){const _0x2e897e=_0x432365;return this[_0x2e897e(0x25a)][_0x2e897e(0x3f7)](_0x133b5d,_0x3e319a);},'createDecryptor':function(_0x49cb0c,_0x2431e5){const _0x58fd85=_0x432365;return this[_0x58fd85(0x284)][_0x58fd85(0x3f7)](_0x49cb0c,_0x2431e5);},'init':function(_0x4ba312,_0x3319e5){const _0x1d8030=_0x432365;this[_0x1d8030(0x414)]=_0x4ba312,this[_0x1d8030(0x1a3)]=_0x3319e5;}}),_0x472196=_0x1eea4c[_0x432365(0x34c)]=(function(){const _0x283379=_0x432365;var _0x1b7c20=_0x389b72[_0x283379(0x4b5)]();_0x1b7c20[_0x283379(0x25a)]=_0x1b7c20['extend']({'processBlock':function(_0x58c1b4,_0x1730dc){const _0xb58ca6=_0x283379;var _0xeecb01=this[_0xb58ca6(0x414)],_0x256ad8=_0xeecb01[_0xb58ca6(0x1e3)];_0x332e70[_0xb58ca6(0x1a6)](this,_0x58c1b4,_0x1730dc,_0x256ad8),_0xeecb01['encryptBlock'](_0x58c1b4,_0x1730dc),this[_0xb58ca6(0x14f)]=_0x58c1b4[_0xb58ca6(0x475)](_0x1730dc,_0x1730dc+_0x256ad8);}}),_0x1b7c20[_0x283379(0x284)]=_0x1b7c20['extend']({'processBlock':function(_0x22753e,_0x3b2aea){const _0x548de0=_0x283379;var _0x5d1f6f=this[_0x548de0(0x414)],_0x3b948a=_0x5d1f6f[_0x548de0(0x1e3)],_0x2292f8=_0x22753e[_0x548de0(0x475)](_0x3b2aea,_0x3b2aea+_0x3b948a);_0x5d1f6f[_0x548de0(0x273)](_0x22753e,_0x3b2aea),_0x332e70[_0x548de0(0x1a6)](this,_0x22753e,_0x3b2aea,_0x3b948a),this[_0x548de0(0x14f)]=_0x2292f8;}});function _0x332e70(_0x45c489,_0x1b74e4,_0x5e25f4){const _0x112437=_0x283379;var _0x41e669,_0x59b22b=this[_0x112437(0x1a3)];_0x59b22b?(_0x41e669=_0x59b22b,this[_0x112437(0x1a3)]=_0x40ad6f):_0x41e669=this[_0x112437(0x14f)];for(var _0xedb69b=0x0;_0xedb69b<_0x5e25f4;_0xedb69b++)_0x45c489[_0x1b74e4+_0xedb69b]^=_0x41e669[_0xedb69b];}return _0x1b7c20;}()),_0x1d7e82=_0xe511f[_0x432365(0x4f2)]={},_0x258057=_0x1d7e82[_0x432365(0x4ef)]={'pad':function(_0x2f4bdc,_0x53bade){const _0x40cb2d=_0x432365;for(var _0x48dcfe=_0x53bade*0x4,_0x4387d5=_0x48dcfe-_0x2f4bdc[_0x40cb2d(0x1ce)]%_0x48dcfe,_0x3797e8=_0x4387d5<<0x18|_0x4387d5<<0x10|_0x4387d5<<0x8|_0x4387d5,_0x430493=[],_0x5c7896=0x0;_0x5c7896<_0x4387d5;_0x5c7896+=0x4)_0x430493[_0x40cb2d(0x301)](_0x3797e8);var _0x5add2d=_0x248860[_0x40cb2d(0x3f7)](_0x430493,_0x4387d5);_0x2f4bdc[_0x40cb2d(0x4a3)](_0x5add2d);},'unpad':function(_0x175380){const _0x1b8cc=_0x432365;var _0x3bb18c=_0x175380[_0x1b8cc(0x33c)][_0x175380[_0x1b8cc(0x1ce)]-0x1>>>0x2]&0xff;_0x175380[_0x1b8cc(0x1ce)]-=_0x3bb18c;}};_0x226c0a[_0x432365(0x55c)]=_0x487b3a[_0x432365(0x4b5)]({'cfg':_0x487b3a['cfg']['extend']({'mode':_0x472196,'padding':_0x258057}),'reset':function(){const _0x50d352=_0x432365;var _0x11c704;_0x487b3a[_0x50d352(0x511)][_0x50d352(0x1a6)](this);var _0xbeefc2=this[_0x50d352(0x39e)],_0x19db5c=_0xbeefc2['iv'],_0x37c4d7=_0xbeefc2['mode'];this[_0x50d352(0x40b)]==this[_0x50d352(0x506)]?_0x11c704=_0x37c4d7['createEncryptor']:(_0x11c704=_0x37c4d7[_0x50d352(0x1f8)],this[_0x50d352(0x162)]=0x1),this[_0x50d352(0x47f)]&&this[_0x50d352(0x47f)]['__creator']==_0x11c704?this[_0x50d352(0x47f)][_0x50d352(0x4cf)](this,_0x19db5c&&_0x19db5c[_0x50d352(0x33c)]):(this[_0x50d352(0x47f)]=_0x11c704[_0x50d352(0x1a6)](_0x37c4d7,this,_0x19db5c&&_0x19db5c[_0x50d352(0x33c)]),this[_0x50d352(0x47f)]['__creator']=_0x11c704);},'_doProcessBlock':function(_0x2ddb63,_0x3e0214){const _0x1dc6be=_0x432365;this[_0x1dc6be(0x47f)]['processBlock'](_0x2ddb63,_0x3e0214);},'_doFinalize':function(){const _0x1e2e97=_0x432365;var _0x105ccf,_0x2c4359=this[_0x1e2e97(0x39e)][_0x1e2e97(0x263)];return this['_xformMode']==this[_0x1e2e97(0x506)]?(_0x2c4359[_0x1e2e97(0x4f2)](this['_data'],this['blockSize']),_0x105ccf=this[_0x1e2e97(0x2fe)](!0x0)):(_0x105ccf=this[_0x1e2e97(0x2fe)](!0x0),_0x2c4359[_0x1e2e97(0x37a)](_0x105ccf)),_0x105ccf;},'blockSize':0x80/0x20});var _0x33a19c=_0x226c0a['CipherParams']=_0x2338ff[_0x432365(0x4b5)]({'init':function(_0x3caa35){this['mixIn'](_0x3caa35);},'toString':function(_0x26ba06){const _0x8c918f=_0x432365;return(_0x26ba06||this[_0x8c918f(0x24f)])[_0x8c918f(0x2d5)](this);}}),_0x3b7e45=_0xe511f[_0x432365(0x279)]={},_0x2abdb1=_0x3b7e45[_0x432365(0x1b4)]={'stringify':function(_0x535d43){const _0x427740=_0x432365;var _0x5b7d60,_0x1c806f=_0x535d43[_0x427740(0x313)],_0x40d87c=_0x535d43[_0x427740(0x1df)];return _0x40d87c?_0x5b7d60=_0x248860['create']([0x53616c74,0x65645f5f])[_0x427740(0x4a3)](_0x40d87c)[_0x427740(0x4a3)](_0x1c806f):_0x5b7d60=_0x1c806f,_0x5b7d60[_0x427740(0x3d1)](_0x48ee6c);},'parse':function(_0x156875){const _0x3fe764=_0x432365;var _0x4fed00,_0x59c3ff=_0x48ee6c['parse'](_0x156875),_0x146b8d=_0x59c3ff[_0x3fe764(0x33c)];return _0x146b8d[0x0]==0x53616c74&&_0x146b8d[0x1]==0x65645f5f&&(_0x4fed00=_0x248860[_0x3fe764(0x3f7)](_0x146b8d[_0x3fe764(0x475)](0x2,0x4)),_0x146b8d[_0x3fe764(0x3bb)](0x0,0x4),_0x59c3ff[_0x3fe764(0x1ce)]-=0x10),_0x33a19c['create']({'ciphertext':_0x59c3ff,'salt':_0x4fed00});}},_0x451fc5=_0x226c0a[_0x432365(0x379)]=_0x2338ff['extend']({'cfg':_0x2338ff[_0x432365(0x4b5)]({'format':_0x2abdb1}),'encrypt':function(_0x3cad07,_0x2c3222,_0x9d5b94,_0x29efba){const _0x3ff080=_0x432365;_0x29efba=this[_0x3ff080(0x39e)][_0x3ff080(0x4b5)](_0x29efba);var _0x3d2ea9=_0x3cad07[_0x3ff080(0x4c4)](_0x9d5b94,_0x29efba),_0x267223=_0x3d2ea9['finalize'](_0x2c3222),_0x44813e=_0x3d2ea9['cfg'];return _0x33a19c[_0x3ff080(0x3f7)]({'ciphertext':_0x267223,'key':_0x9d5b94,'iv':_0x44813e['iv'],'algorithm':_0x3cad07,'mode':_0x44813e[_0x3ff080(0x1ca)],'padding':_0x44813e[_0x3ff080(0x263)],'blockSize':_0x3cad07[_0x3ff080(0x1e3)],'formatter':_0x29efba[_0x3ff080(0x279)]});},'decrypt':function(_0x2dac98,_0x4e3701,_0x34318c,_0x142330){const _0x4193fc=_0x432365;_0x142330=this['cfg'][_0x4193fc(0x4b5)](_0x142330),_0x4e3701=this['_parse'](_0x4e3701,_0x142330[_0x4193fc(0x279)]);var _0x14114a=_0x2dac98['createDecryptor'](_0x34318c,_0x142330)[_0x4193fc(0x270)](_0x4e3701['ciphertext']);return _0x14114a;},'_parse':function(_0x5e789f,_0x23b363){const _0x2091e1=_0x432365;return typeof _0x5e789f==_0x2091e1(0x1a5)?_0x23b363['parse'](_0x5e789f,this):_0x5e789f;}}),_0x13a413=_0xe511f[_0x432365(0x3dd)]={},_0x471e05=_0x13a413[_0x432365(0x1b4)]={'execute':function(_0x1ce413,_0x1e3ee4,_0x2a11bc,_0x29c2aa,_0x3dd593){const _0x199d22=_0x432365;if(_0x29c2aa||(_0x29c2aa=_0x248860[_0x199d22(0x251)](0x40/0x8)),_0x3dd593)var _0x287138=_0x1c278f['create']({'keySize':_0x1e3ee4+_0x2a11bc,'hasher':_0x3dd593})[_0x199d22(0x324)](_0x1ce413,_0x29c2aa);else var _0x287138=_0x1c278f[_0x199d22(0x3f7)]({'keySize':_0x1e3ee4+_0x2a11bc})['compute'](_0x1ce413,_0x29c2aa);var _0x952eb8=_0x248860[_0x199d22(0x3f7)](_0x287138[_0x199d22(0x33c)][_0x199d22(0x475)](_0x1e3ee4),_0x2a11bc*0x4);return _0x287138[_0x199d22(0x1ce)]=_0x1e3ee4*0x4,_0x33a19c[_0x199d22(0x3f7)]({'key':_0x287138,'iv':_0x952eb8,'salt':_0x29c2aa});}},_0x22f66d=_0x226c0a[_0x432365(0x2ad)]=_0x451fc5[_0x432365(0x4b5)]({'cfg':_0x451fc5[_0x432365(0x39e)][_0x432365(0x4b5)]({'kdf':_0x471e05}),'encrypt':function(_0x51294d,_0x17f2b6,_0x11ebce,_0x1735e3){const _0x2fb42f=_0x432365;_0x1735e3=this[_0x2fb42f(0x39e)]['extend'](_0x1735e3);var _0x4d7907=_0x1735e3[_0x2fb42f(0x3dd)][_0x2fb42f(0x268)](_0x11ebce,_0x51294d[_0x2fb42f(0x224)],_0x51294d[_0x2fb42f(0x427)],_0x1735e3[_0x2fb42f(0x1df)],_0x1735e3['hasher']);_0x1735e3['iv']=_0x4d7907['iv'];var _0x4b49d2=_0x451fc5[_0x2fb42f(0x402)][_0x2fb42f(0x1a6)](this,_0x51294d,_0x17f2b6,_0x4d7907[_0x2fb42f(0x45f)],_0x1735e3);return _0x4b49d2[_0x2fb42f(0x52b)](_0x4d7907),_0x4b49d2;},'decrypt':function(_0x3761ca,_0x42e21b,_0x5dea3e,_0x201d5b){const _0x1632cc=_0x432365;_0x201d5b=this['cfg'][_0x1632cc(0x4b5)](_0x201d5b),_0x42e21b=this[_0x1632cc(0x51e)](_0x42e21b,_0x201d5b[_0x1632cc(0x279)]);var _0xab35b3=_0x201d5b[_0x1632cc(0x3dd)][_0x1632cc(0x268)](_0x5dea3e,_0x3761ca[_0x1632cc(0x224)],_0x3761ca[_0x1632cc(0x427)],_0x42e21b[_0x1632cc(0x1df)],_0x201d5b[_0x1632cc(0x2db)]);_0x201d5b['iv']=_0xab35b3['iv'];var _0x170d49=_0x451fc5[_0x1632cc(0x3bc)][_0x1632cc(0x1a6)](this,_0x3761ca,_0x42e21b,_0xab35b3[_0x1632cc(0x45f)],_0x201d5b);return _0x170d49;}});}();}));}(qt)),qt['exports'];}(function(_0x2b7342,_0xf56fb){(function(_0x350ef1,_0x3dadcb,_0x4fe626){_0x2b7342['exports']=_0x3dadcb(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x189048){const _0x19db39=_0x33b4;return(function(){const _0x26c090=_0x33b4;var _0x61871f=_0x189048,_0x3d8a65=_0x61871f[_0x26c090(0x22c)],_0x3a3538=_0x3d8a65[_0x26c090(0x55c)],_0x2fbba9=_0x61871f[_0x26c090(0x242)],_0x5d4752=[],_0x2b3240=[],_0x430a2c=[],_0x2139ee=[],_0x2c7f70=[],_0x1099a6=[],_0x50c837=[],_0x5e22f1=[],_0x15536b=[],_0x5c3009=[];(function(){for(var _0x10b9b1=[],_0x53ddd9=0x0;_0x53ddd9<0x100;_0x53ddd9++)_0x53ddd9<0x80?_0x10b9b1[_0x53ddd9]=_0x53ddd9<<0x1:_0x10b9b1[_0x53ddd9]=_0x53ddd9<<0x1^0x11b;for(var _0x48ba6c=0x0,_0x280ff=0x0,_0x53ddd9=0x0;_0x53ddd9<0x100;_0x53ddd9++){var _0x2bcd83=_0x280ff^_0x280ff<<0x1^_0x280ff<<0x2^_0x280ff<<0x3^_0x280ff<<0x4;_0x2bcd83=_0x2bcd83>>>0x8^_0x2bcd83&0xff^0x63,_0x5d4752[_0x48ba6c]=_0x2bcd83,_0x2b3240[_0x2bcd83]=_0x48ba6c;var _0x45e3de=_0x10b9b1[_0x48ba6c],_0x4a6056=_0x10b9b1[_0x45e3de],_0x4adbd5=_0x10b9b1[_0x4a6056],_0x17fe67=_0x10b9b1[_0x2bcd83]*0x101^_0x2bcd83*0x1010100;_0x430a2c[_0x48ba6c]=_0x17fe67<<0x18|_0x17fe67>>>0x8,_0x2139ee[_0x48ba6c]=_0x17fe67<<0x10|_0x17fe67>>>0x10,_0x2c7f70[_0x48ba6c]=_0x17fe67<<0x8|_0x17fe67>>>0x18,_0x1099a6[_0x48ba6c]=_0x17fe67;var _0x17fe67=_0x4adbd5*0x1010101^_0x4a6056*0x10001^_0x45e3de*0x101^_0x48ba6c*0x1010100;_0x50c837[_0x2bcd83]=_0x17fe67<<0x18|_0x17fe67>>>0x8,_0x5e22f1[_0x2bcd83]=_0x17fe67<<0x10|_0x17fe67>>>0x10,_0x15536b[_0x2bcd83]=_0x17fe67<<0x8|_0x17fe67>>>0x18,_0x5c3009[_0x2bcd83]=_0x17fe67,_0x48ba6c?(_0x48ba6c=_0x45e3de^_0x10b9b1[_0x10b9b1[_0x10b9b1[_0x4adbd5^_0x45e3de]]],_0x280ff^=_0x10b9b1[_0x10b9b1[_0x280ff]]):_0x48ba6c=_0x280ff=0x1;}}());var _0x1e00b4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x43c452=_0x2fbba9[_0x26c090(0x2ea)]=_0x3a3538[_0x26c090(0x4b5)]({'_doReset':function(){const _0x4ce733=_0x26c090;var _0x43c611;if(!(this['_nRounds']&&this[_0x4ce733(0x2aa)]===this[_0x4ce733(0x25e)])){for(var _0x4bb8bb=this['_keyPriorReset']=this['_key'],_0x4a5452=_0x4bb8bb[_0x4ce733(0x33c)],_0x4e1c21=_0x4bb8bb[_0x4ce733(0x1ce)]/0x4,_0x234f0f=this[_0x4ce733(0x370)]=_0x4e1c21+0x6,_0x53c66b=(_0x234f0f+0x1)*0x4,_0x1ad576=this[_0x4ce733(0x2c0)]=[],_0x5f2000=0x0;_0x5f2000<_0x53c66b;_0x5f2000++)_0x5f2000<_0x4e1c21?_0x1ad576[_0x5f2000]=_0x4a5452[_0x5f2000]:(_0x43c611=_0x1ad576[_0x5f2000-0x1],_0x5f2000%_0x4e1c21?_0x4e1c21>0x6&&_0x5f2000%_0x4e1c21==0x4&&(_0x43c611=_0x5d4752[_0x43c611>>>0x18]<<0x18|_0x5d4752[_0x43c611>>>0x10&0xff]<<0x10|_0x5d4752[_0x43c611>>>0x8&0xff]<<0x8|_0x5d4752[_0x43c611&0xff]):(_0x43c611=_0x43c611<<0x8|_0x43c611>>>0x18,_0x43c611=_0x5d4752[_0x43c611>>>0x18]<<0x18|_0x5d4752[_0x43c611>>>0x10&0xff]<<0x10|_0x5d4752[_0x43c611>>>0x8&0xff]<<0x8|_0x5d4752[_0x43c611&0xff],_0x43c611^=_0x1e00b4[_0x5f2000/_0x4e1c21|0x0]<<0x18),_0x1ad576[_0x5f2000]=_0x1ad576[_0x5f2000-_0x4e1c21]^_0x43c611);for(var _0x4a98ee=this['_invKeySchedule']=[],_0x528e9c=0x0;_0x528e9c<_0x53c66b;_0x528e9c++){var _0x5f2000=_0x53c66b-_0x528e9c;if(_0x528e9c%0x4)var _0x43c611=_0x1ad576[_0x5f2000];else var _0x43c611=_0x1ad576[_0x5f2000-0x4];_0x528e9c<0x4||_0x5f2000<=0x4?_0x4a98ee[_0x528e9c]=_0x43c611:_0x4a98ee[_0x528e9c]=_0x50c837[_0x5d4752[_0x43c611>>>0x18]]^_0x5e22f1[_0x5d4752[_0x43c611>>>0x10&0xff]]^_0x15536b[_0x5d4752[_0x43c611>>>0x8&0xff]]^_0x5c3009[_0x5d4752[_0x43c611&0xff]];}}},'encryptBlock':function(_0x31cce8,_0x930dfa){const _0xf1616a=_0x26c090;this[_0xf1616a(0x3f1)](_0x31cce8,_0x930dfa,this[_0xf1616a(0x2c0)],_0x430a2c,_0x2139ee,_0x2c7f70,_0x1099a6,_0x5d4752);},'decryptBlock':function(_0x453761,_0x20ecbd){const _0x527dd0=_0x26c090;var _0x50abf3=_0x453761[_0x20ecbd+0x1];_0x453761[_0x20ecbd+0x1]=_0x453761[_0x20ecbd+0x3],_0x453761[_0x20ecbd+0x3]=_0x50abf3,this[_0x527dd0(0x3f1)](_0x453761,_0x20ecbd,this['_invKeySchedule'],_0x50c837,_0x5e22f1,_0x15536b,_0x5c3009,_0x2b3240);var _0x50abf3=_0x453761[_0x20ecbd+0x1];_0x453761[_0x20ecbd+0x1]=_0x453761[_0x20ecbd+0x3],_0x453761[_0x20ecbd+0x3]=_0x50abf3;},'_doCryptBlock':function(_0x1f5587,_0x375075,_0x30154f,_0x469c06,_0x52c594,_0x2fbee0,_0x12f202,_0x12a50b){const _0x47d8e0=_0x26c090;for(var _0x5c3411=this[_0x47d8e0(0x370)],_0x559376=_0x1f5587[_0x375075]^_0x30154f[0x0],_0x48d80e=_0x1f5587[_0x375075+0x1]^_0x30154f[0x1],_0x25bf93=_0x1f5587[_0x375075+0x2]^_0x30154f[0x2],_0x75699f=_0x1f5587[_0x375075+0x3]^_0x30154f[0x3],_0x4c1d35=0x4,_0x541555=0x1;_0x541555<_0x5c3411;_0x541555++){var _0x2f5134=_0x469c06[_0x559376>>>0x18]^_0x52c594[_0x48d80e>>>0x10&0xff]^_0x2fbee0[_0x25bf93>>>0x8&0xff]^_0x12f202[_0x75699f&0xff]^_0x30154f[_0x4c1d35++],_0x439026=_0x469c06[_0x48d80e>>>0x18]^_0x52c594[_0x25bf93>>>0x10&0xff]^_0x2fbee0[_0x75699f>>>0x8&0xff]^_0x12f202[_0x559376&0xff]^_0x30154f[_0x4c1d35++],_0x541770=_0x469c06[_0x25bf93>>>0x18]^_0x52c594[_0x75699f>>>0x10&0xff]^_0x2fbee0[_0x559376>>>0x8&0xff]^_0x12f202[_0x48d80e&0xff]^_0x30154f[_0x4c1d35++],_0x10462e=_0x469c06[_0x75699f>>>0x18]^_0x52c594[_0x559376>>>0x10&0xff]^_0x2fbee0[_0x48d80e>>>0x8&0xff]^_0x12f202[_0x25bf93&0xff]^_0x30154f[_0x4c1d35++];_0x559376=_0x2f5134,_0x48d80e=_0x439026,_0x25bf93=_0x541770,_0x75699f=_0x10462e;}var _0x2f5134=(_0x12a50b[_0x559376>>>0x18]<<0x18|_0x12a50b[_0x48d80e>>>0x10&0xff]<<0x10|_0x12a50b[_0x25bf93>>>0x8&0xff]<<0x8|_0x12a50b[_0x75699f&0xff])^_0x30154f[_0x4c1d35++],_0x439026=(_0x12a50b[_0x48d80e>>>0x18]<<0x18|_0x12a50b[_0x25bf93>>>0x10&0xff]<<0x10|_0x12a50b[_0x75699f>>>0x8&0xff]<<0x8|_0x12a50b[_0x559376&0xff])^_0x30154f[_0x4c1d35++],_0x541770=(_0x12a50b[_0x25bf93>>>0x18]<<0x18|_0x12a50b[_0x75699f>>>0x10&0xff]<<0x10|_0x12a50b[_0x559376>>>0x8&0xff]<<0x8|_0x12a50b[_0x48d80e&0xff])^_0x30154f[_0x4c1d35++],_0x10462e=(_0x12a50b[_0x75699f>>>0x18]<<0x18|_0x12a50b[_0x559376>>>0x10&0xff]<<0x10|_0x12a50b[_0x48d80e>>>0x8&0xff]<<0x8|_0x12a50b[_0x25bf93&0xff])^_0x30154f[_0x4c1d35++];_0x1f5587[_0x375075]=_0x2f5134,_0x1f5587[_0x375075+0x1]=_0x439026,_0x1f5587[_0x375075+0x2]=_0x541770,_0x1f5587[_0x375075+0x3]=_0x10462e;},'keySize':0x100/0x20});_0x61871f[_0x26c090(0x2ea)]=_0x3a3538[_0x26c090(0x23e)](_0x43c452);}()),_0x189048[_0x19db39(0x2ea)];}));}(ki));var Ya=ki[_0x354c00(0x4a6)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0xf624ea,_0x481409){(function(_0x2cabc0,_0x49aa0f){const _0x48805d=_0x33b4;_0xf624ea[_0x48805d(0x4a6)]=_0x49aa0f(ue());}(Z,function(_0x4b1720){const _0x2518cb=_0x33b4;return _0x4b1720[_0x2518cb(0x230)][_0x2518cb(0x27f)];}));}(Gi));var qa=Gi[_0x354c00(0x4a6)];const Xa=at(qa);var Yi={'exports':{}};(function(_0xe44b8d,_0x4f74a1){(function(_0x26d5f0,_0x387e9a){const _0x2326d9=_0x33b4;_0xe44b8d[_0x2326d9(0x4a6)]=_0x387e9a(ue());}(Z,function(_0x6ce08b){const _0x54803e=_0x33b4;return(function(){const _0x5dd5cd=_0x33b4;if(typeof ArrayBuffer=='function'){var _0xaa1a42=_0x6ce08b,_0xa034c8=_0xaa1a42['lib'],_0x25a3e4=_0xa034c8['WordArray'],_0x5ef736=_0x25a3e4['init'],_0x4f8a9f=_0x25a3e4[_0x5dd5cd(0x4cf)]=function(_0x2f3ba1){const _0x4cc8df=_0x5dd5cd;if(_0x2f3ba1 instanceof ArrayBuffer&&(_0x2f3ba1=new Uint8Array(_0x2f3ba1)),(_0x2f3ba1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2f3ba1 instanceof Uint8ClampedArray||_0x2f3ba1 instanceof Int16Array||_0x2f3ba1 instanceof Uint16Array||_0x2f3ba1 instanceof Int32Array||_0x2f3ba1 instanceof Uint32Array||_0x2f3ba1 instanceof Float32Array||_0x2f3ba1 instanceof Float64Array)&&(_0x2f3ba1=new Uint8Array(_0x2f3ba1[_0x4cc8df(0x512)],_0x2f3ba1['byteOffset'],_0x2f3ba1['byteLength'])),_0x2f3ba1 instanceof Uint8Array){for(var _0x666b6f=_0x2f3ba1['byteLength'],_0x166e45=[],_0x333b40=0x0;_0x333b40<_0x666b6f;_0x333b40++)_0x166e45[_0x333b40>>>0x2]|=_0x2f3ba1[_0x333b40]<<0x18-_0x333b40%0x4*0x8;_0x5ef736['call'](this,_0x166e45,_0x666b6f);}else _0x5ef736['apply'](this,arguments);};_0x4f8a9f[_0x5dd5cd(0x197)]=_0x25a3e4;}}()),_0x6ce08b[_0x54803e(0x22c)][_0x54803e(0x170)];}));}(Yi));var Ja=Yi[_0x354c00(0x4a6)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x32518c,_0x51a393){(function(_0x29819c,_0x4c4010,_0x34cbfe){_0x32518c['exports']=_0x4c4010(ue(),Vi());}(Z,function(_0x5a4e57){const _0x360141=_0x33b4;return _0x5a4e57['pad'][_0x360141(0x343)]={'pad':function(){},'unpad':function(){}},_0x5a4e57['pad'][_0x360141(0x343)];}));}(Ki));var Qa=Ki[_0x354c00(0x4a6)];const ec=at(Qa);function tc(_0x164750,_0x3e3aec){const _0x515153=_0x354c00,_0x4d32f9=_0x3e3aec-_0x164750[_0x515153(0x2a0)]%_0x3e3aec,_0xba357f=String['fromCharCode'](_0x4d32f9)['repeat'](_0x4d32f9);return _0x164750+_0xba357f;}function sc(_0x37f8b2,_0x57b870){const _0x273cf4=_0x354c00,_0x2f019b=Za[_0x273cf4(0x251)](0x10),_0x49725b=tc(_0x37f8b2,0x10),_0x216a71=Ka[_0x273cf4(0x402)](Xa[_0x273cf4(0x1fb)](_0x49725b),ii[_0x273cf4(0x1fb)](_0x57b870),{'iv':_0x2f019b,'padding':ec});return _0x2f019b[_0x273cf4(0x4a3)](_0x216a71[_0x273cf4(0x313)])[_0x273cf4(0x3d1)](ii);}function ic(){const _0x3f5760=_0x354c00,_0xf90302=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3f5760(0x3e8)];if(_0xf90302){const _0x1bb83b={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return sc(JSON[_0x3f5760(0x2d5)](_0x1bb83b),_0xf90302);}}var nc=Object['defineProperty'],rc=Object['getOwnPropertyDescriptor'],oc=(_0x2106b1,_0x3fe06d,_0x3e53be,_0x133256)=>{const _0xdc4c63=_0x354c00;for(var _0x5e442e=_0x133256>0x1?void 0x0:_0x133256?rc(_0x3fe06d,_0x3e53be):_0x3fe06d,_0x36e6b0=_0x2106b1[_0xdc4c63(0x2a0)]-0x1,_0x4d2fb2;_0x36e6b0>=0x0;_0x36e6b0--)(_0x4d2fb2=_0x2106b1[_0x36e6b0])&&(_0x5e442e=(_0x133256?_0x4d2fb2(_0x3fe06d,_0x3e53be,_0x5e442e):_0x4d2fb2(_0x5e442e))||_0x5e442e);return _0x133256&&_0x5e442e&&nc(_0x3fe06d,_0x3e53be,_0x5e442e),_0x5e442e;},ac=(_0x2e7fc5,_0x265791)=>(_0x19388d,_0x18404a)=>_0x265791(_0x19388d,_0x18404a,_0x2e7fc5);let bt=class{constructor(_0x7e063f){const _0x577114=_0x354c00;this['_httpService']=_0x7e063f,this[_0x577114(0x420)]();}['_initRequestHeader'](){const _0x2c113d=_0x354c00;this[_0x2c113d(0x3b3)]['registerHTTPInterceptor']({'interceptor':(_0x2a25b7,_0x3c279b)=>{const _0x4e0738=_0x2c113d,_0x31ee5e=_0x2a25b7['headers'],_0x615a57=ic();return _0x615a57&&_0x31ee5e[_0x4e0738(0x244)](_0x4e0738(0x334),_0x615a57),_0x3c279b(_0x2a25b7);}});}};bt=oc([ac(0x0,_0x1727eb(_0x4e8dbf))],bt);var cc=Object[_0x354c00(0x3cf)],hc=Object[_0x354c00(0x20e)],lc=(_0xceb89,_0x2bd824,_0x194f6e,_0x2f98aa)=>{const _0x3c2980=_0x354c00;for(var _0x4e2f6e=_0x2f98aa>0x1?void 0x0:_0x2f98aa?hc(_0x2bd824,_0x194f6e):_0x2bd824,_0x5987dc=_0xceb89[_0x3c2980(0x2a0)]-0x1,_0x563a19;_0x5987dc>=0x0;_0x5987dc--)(_0x563a19=_0xceb89[_0x5987dc])&&(_0x4e2f6e=(_0x2f98aa?_0x563a19(_0x2bd824,_0x194f6e,_0x4e2f6e):_0x563a19(_0x4e2f6e))||_0x4e2f6e);return _0x2f98aa&&_0x4e2f6e&&cc(_0x2bd824,_0x194f6e,_0x4e2f6e),_0x4e2f6e;},Xt=(_0xfd28d1,_0x5221f6)=>(_0x2e5fb7,_0x2105b4)=>_0x5221f6(_0x2e5fb7,_0x2105b4,_0xfd28d1);const _c=['image/png',_0x354c00(0x1a2),'image/jpg',_0x354c00(0x2f0),_0x354c00(0x45a)],uc=0x5*0x400*0x400,dc=_0x354c00(0x22a),fc=_0x354c00(0x55b),vc=_0x354c00(0x486),mc=_0x354c00(0x21d);let hs=class{constructor(_0x23a035,_0x17cadb,_0x2a1e1d){const _0x34e1da=_0x354c00;g(this,'_waitCount',0x0),g(this,_0x34e1da(0x19c),new _0x3189d9()),g(this,_0x34e1da(0x3e6),this[_0x34e1da(0x19c)]),g(this,'_imageSourceCache',new Map()),(this[_0x34e1da(0x3b3)]=_0x23a035,this['_configService']=_0x17cadb,this[_0x34e1da(0x429)]=_0x2a1e1d);}[_0x354c00(0x22e)](_0x3913f9){const _0x34edc3=_0x354c00;this[_0x34edc3(0x2c3)]=_0x3913f9,this[_0x34edc3(0x19c)][_0x34edc3(0x2df)](_0x3913f9);}['getImageSourceCache'](_0x32314c,_0x16c11f){const _0x100df4=_0x354c00;if(_0x16c11f===_0x422438[_0x100df4(0x3a0)]){const _0x4b2139=new Image();return _0x4b2139['src']=_0x32314c,_0x4b2139;}return this[_0x100df4(0x2ee)][_0x100df4(0x291)](_0x32314c);}[_0x354c00(0x149)](_0x1cd816,_0x415ec6,_0x221859){const _0x129ff6=_0x354c00;_0x415ec6===_0x422438['BASE64']||_0x221859==null||this[_0x129ff6(0x2ee)][_0x129ff6(0x244)](_0x1cd816,_0x221859);}async[_0x354c00(0x23b)](_0x3a065d){const _0x208bdb=_0x354c00;try{const _0x4e75bb=this['_replaceFileID'](this[_0x208bdb(0x22f)](),''+_0x3a065d),_0x416400=(await this[_0x208bdb(0x3b3)]['get'](_0x4e75bb))[_0x208bdb(0x4f3)];if(_0x416400[_0x208bdb(0x2f1)]&&_0x416400['error']['code']===Ri['OK']){const _0x58fe26=new URL(_0x416400[_0x208bdb(0x551)],this[_0x208bdb(0x507)]())[_0x208bdb(0x3d1)]();return Promise['resolve'](_0x58fe26);}return Promise[_0x208bdb(0x341)](_0x416400[_0x208bdb(0x2f1)]);}catch(_0x22a8ec){return Promise[_0x208bdb(0x341)](_0x22a8ec);}}async[_0x354c00(0x434)](_0x31aaff){const _0x4ffa75=_0x354c00;let _0x6bb3a5='';if(!_c[_0x4ffa75(0x1dc)](_0x31aaff[_0x4ffa75(0x260)]))return this[_0x4ffa75(0x3c2)](),Promise[_0x4ffa75(0x341)](new Error(_0xb4c80f[_0x4ffa75(0x3db)]));if(_0x31aaff[_0x4ffa75(0x1e0)]>uc)return this['_decreaseWaiting'](),Promise[_0x4ffa75(0x341)](new Error(_0xb4c80f[_0x4ffa75(0x520)]));try{const _0x13def7=new FormData();_0x13def7[_0x4ffa75(0x30c)](_0x4ffa75(0x305),_0x31aaff);const _0x2f388e=this['_univerInstanceService'][_0x4ffa75(0x3c7)](),_0x1020e6=_0x2f388e==null?void 0x0:_0x2f388e[_0x4ffa75(0x191)]();if(!_0x1020e6)throw new Error(_0x4ffa75(0x32d));const _0x53be27=this[_0x4ffa75(0x4fb)]()+_0x4ffa75(0x212)+_0x31aaff[_0x4ffa75(0x1e0)]['toString']()+_0x4ffa75(0x293)+yi[_0x4ffa75(0x1d7)]+_0x4ffa75(0x165)+encodeURIComponent(_0x1020e6),_0x1a95cb=await(await fetch(_0x53be27,{'method':_0x4ffa75(0x350),'body':_0x13def7}))[_0x4ffa75(0x4ec)]();if(typeof _0x1a95cb['FileId']!=_0x4ffa75(0x1a5))return this[_0x4ffa75(0x3c2)](),Promise['reject'](new Error(_0xb4c80f[_0x4ffa75(0x372)]));_0x6bb3a5=_0x1a95cb[_0x4ffa75(0x4cb)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xb4c80f[_0x4ffa75(0x372)]));}return new Promise((_0x4c4126,_0x514728)=>{const _0x579c07=_0x4ffa75,_0x33b194=new FileReader();_0x33b194[_0x579c07(0x3c1)](_0x31aaff),_0x33b194[_0x579c07(0x558)]=_0x575195=>{const _0x4f48fc=_0x579c07;var _0x4b88e2;const _0x588e1d=(_0x4b88e2=_0x575195[_0x4f48fc(0x310)])==null?void 0x0:_0x4b88e2['result'];if(_0x588e1d==null){this['_decreaseWaiting'](),_0x514728(new Error(_0xb4c80f[_0x4f48fc(0x372)]));return;}const _0x3a08bd=_0x4127e3[_0x4f48fc(0x424)](0x6);_0x4c4126({'imageId':_0x3a08bd,'imageSourceType':_0x422438[_0x4f48fc(0x2fc)],'source':_0x6bb3a5,'base64Cache':_0x588e1d,'status':_0xb4c80f[_0x4f48fc(0x167)]}),this[_0x4f48fc(0x3c2)]();};});}[_0x354c00(0x4fb)](){const _0x5513e4=_0x354c00;var _0x1fb98c,_0x4f61ef;const _0x581b09=this[_0x5513e4(0x53b)][_0x5513e4(0x246)](dc),_0x4fad8e=this[_0x5513e4(0x53b)][_0x5513e4(0x246)](ie);return(_0x4f61ef=(_0x1fb98c=_0x4fad8e==null?void 0x0:_0x4fad8e['uploadFileServerUrl'])!=null?_0x1fb98c:_0x581b09)!=null?_0x4f61ef:fc;}[_0x354c00(0x22f)](){const _0x6dca3e=_0x354c00;var _0x589878,_0x16a09d;const _0x20a6e5=this[_0x6dca3e(0x53b)][_0x6dca3e(0x246)](vc),_0x22faaf=this[_0x6dca3e(0x53b)][_0x6dca3e(0x246)](ie);return(_0x16a09d=(_0x589878=_0x22faaf==null?void 0x0:_0x22faaf[_0x6dca3e(0x196)])!=null?_0x589878:_0x20a6e5)!=null?_0x16a09d:mc;}[_0x354c00(0x507)](){const _0x37caf7=_0x354c00;var _0xc2b21c;const _0x48bc91=this[_0x37caf7(0x53b)]['getConfig'](ie);return(_0xc2b21c=_0x48bc91==null?void 0x0:_0x48bc91[_0x37caf7(0x50e)])!=null?_0xc2b21c:location[_0x37caf7(0x331)];}[_0x354c00(0x153)](_0x5c27ee,_0x3c7450){const _0x51fa83=_0x354c00;return _0x5c27ee['replace'](_0x51fa83(0x2dc),_0x3c7450);}[_0x354c00(0x3c2)](){const _0x10d5c6=_0x354c00;this[_0x10d5c6(0x2c3)]-=0x1,this[_0x10d5c6(0x19c)][_0x10d5c6(0x2df)](this[_0x10d5c6(0x2c3)]);}};hs=lc([Xt(0x0,_0x1727eb(_0x4e8dbf)),Xt(0x1,_0x250a8d),Xt(0x2,_0x1727eb(_0x48d976))],hs);var pc=Object[_0x354c00(0x3cf)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x408673,_0x228976,_0x191954,_0x3cc546)=>{const _0x871c0b=_0x354c00;for(var _0x4d39dc=_0x3cc546>0x1?void 0x0:_0x3cc546?gc(_0x228976,_0x191954):_0x228976,_0x46e2bc=_0x408673[_0x871c0b(0x2a0)]-0x1,_0x5c9617;_0x46e2bc>=0x0;_0x46e2bc--)(_0x5c9617=_0x408673[_0x46e2bc])&&(_0x4d39dc=(_0x3cc546?_0x5c9617(_0x228976,_0x191954,_0x4d39dc):_0x5c9617(_0x4d39dc))||_0x4d39dc);return _0x3cc546&&_0x4d39dc&&pc(_0x228976,_0x191954,_0x4d39dc),_0x4d39dc;},Qe=(_0x576c1b,_0x19a99b)=>(_0x20d2e9,_0x4dbe09)=>_0x19a99b(_0x20d2e9,_0x4dbe09,_0x576c1b);let Tt=class extends _0x1bd493{constructor(_0x231091,_0x688808,_0x53eb8e,_0x2abf76,_0x447d24){const _0x306d97=_0x354c00;super(),this[_0x306d97(0x199)]=_0x231091,this[_0x306d97(0x429)]=_0x688808,this[_0x306d97(0x450)]=_0x53eb8e,this[_0x306d97(0x299)]=_0x2abf76,this[_0x306d97(0x31f)]=_0x447d24,this[_0x306d97(0x26d)](),this[_0x306d97(0x42f)]();}[_0x354c00(0x42f)](){const _0x87a2f1=_0x354c00,_0x1e1d41=async _0x18d42b=>{const _0x41f5b3=_0x33b4;(await this['_collaborationSessionService'][_0x41f5b3(0x4f1)](_0x18d42b))['event$'][_0x41f5b3(0x43d)](_0x34bcfb(_0x5c9e25=>_0x5c9e25[_0x41f5b3(0x338)]===_0x5fb817['SHOULD_CLOSE_CONN']),_0x53e684(this[_0x41f5b3(0x14d)]))[_0x41f5b3(0x51f)](_0x37b62e=>{const _0x17b3c8=_0x41f5b3,_0x43b4b4=_0x37b62e,{reason:_0x4a45d7}=_0x43b4b4[_0x17b3c8(0x3df)];this['_injector']['get'](_0x35026c)[_0x17b3c8(0x24e)]({'type':_0x3960e0[_0x17b3c8(0x154)],'content':this['_localeService']['t'](_0x17b3c8(0x4c9))+'('+_0x4a45d7+')'}),this[_0x17b3c8(0x450)][_0x17b3c8(0x4a2)](new _0x18c2b1(_0x18d42b)['id'],!0x1),this['_collaborationSessionService'][_0x17b3c8(0x52a)](_0x18d42b);});};_0x32fe1c(this[_0x87a2f1(0x429)][_0x87a2f1(0x319)](_0x208af7[_0x87a2f1(0x1c5)]),this['_univerInstanceService'][_0x87a2f1(0x319)](_0x208af7['UNIVER_DOC']))[_0x87a2f1(0x43d)](_0x416fe6(_0x499e8c=>_0x499e8c[_0x87a2f1(0x191)]()),_0x34bcfb(_0x56dd43=>!_0x16f910(_0x56dd43)),_0x53e684(this[_0x87a2f1(0x14d)]))[_0x87a2f1(0x51f)](_0x518805=>{_0x1e1d41(_0x518805);});}['_initUnitPermissionChange'](){const _0x1f03d2=_0x354c00,_0x4dae05=async _0xbbcf30=>{const _0x4f02df=_0x33b4;(await this[_0x4f02df(0x299)][_0x4f02df(0x4f1)](_0xbbcf30))[_0x4f02df(0x467)][_0x4f02df(0x43d)](_0x34bcfb(_0x19f44b=>_0x19f44b[_0x4f02df(0x338)]===_0x5fb817[_0x4f02df(0x1ff)]),_0x53e684(this[_0x4f02df(0x14d)]))[_0x4f02df(0x51f)](_0x599950=>{const _0x457f78=_0x4f02df,_0x3bb3a8=_0x599950,{objectId:_0xe747a1}=_0x3bb3a8[_0x457f78(0x3df)],_0x583d42=this[_0x457f78(0x199)][_0x457f78(0x291)](_0x31aae9);_0xe747a1===_0xbbcf30?_0x583d42[_0x457f78(0x33f)](_0xbbcf30):_0x583d42['refreshPermission'](_0xbbcf30,_0xe747a1);});};_0x32fe1c(this[_0x1f03d2(0x429)]['getTypeOfUnitAdded$'](_0x208af7[_0x1f03d2(0x1c5)]),this[_0x1f03d2(0x429)]['getTypeOfUnitAdded$'](_0x208af7[_0x1f03d2(0x461)]))['pipe'](_0x416fe6(_0x370b48=>_0x370b48[_0x1f03d2(0x191)]()),_0x34bcfb(_0x4f916a=>!_0x16f910(_0x4f916a)),_0x53e684(this[_0x1f03d2(0x14d)]))['subscribe'](_0x2cc904=>{_0x4dae05(_0x2cc904);});}};Tt=Sc([Qe(0x0,_0x1727eb(_0x5d0612)),Qe(0x1,_0x48d976),Qe(0x2,_0x121e54),Qe(0x3,_0x1727eb(Ae)),Qe(0x4,_0x1727eb(_0x382d24))],Tt);var Ic=Object[_0x354c00(0x3cf)],Cc=Object['getOwnPropertyDescriptor'],Ec=(_0x4cd556,_0x450063,_0x20e582,_0x3db803)=>{const _0x2473e4=_0x354c00;for(var _0xff932a=_0x3db803>0x1?void 0x0:_0x3db803?Cc(_0x450063,_0x20e582):_0x450063,_0x45fccd=_0x4cd556[_0x2473e4(0x2a0)]-0x1,_0x1d3557;_0x45fccd>=0x0;_0x45fccd--)(_0x1d3557=_0x4cd556[_0x45fccd])&&(_0xff932a=(_0x3db803?_0x1d3557(_0x450063,_0x20e582,_0xff932a):_0x1d3557(_0xff932a))||_0xff932a);return _0x3db803&&_0xff932a&&Ic(_0x450063,_0x20e582,_0xff932a),_0xff932a;},ni=(_0x2dfc7d,_0x3d8ab9)=>(_0x25c338,_0x2e3a6f)=>_0x3d8ab9(_0x25c338,_0x2e3a6f,_0x2dfc7d);let ls=class{constructor(_0x3ce69,_0x24ad07){const _0x2d2c80=_0x354c00;this[_0x2d2c80(0x53b)]=_0x3ce69,this[_0x2d2c80(0x3b3)]=_0x24ad07;}async[_0x354c00(0x15e)](_0x4610ec,_0x12df52){const _0x784834=_0x354c00;var _0x587812;const {unitID:_0x4c00e0,type:_0x3d7cf9,revision:_0x497d2e=0x0}=_0x12df52,_0x2b59ac=this[_0x784834(0x322)]()+'/'+_0x3d7cf9+'/unit/'+_0x4c00e0+_0x784834(0x1e1)+_0x497d2e,_0x460edd=(await this[_0x784834(0x3b3)][_0x784834(0x291)](_0x2b59ac))[_0x784834(0x4f3)],_0x550bad=(_0x587812=_0x460edd[_0x784834(0x166)])==null?void 0x0:_0x587812[_0x784834(0x1eb)];if(_0x550bad){const _0x28a300=_0x550bad==null?void 0x0:_0x550bad[_0x784834(0x152)],_0x45992f=_0x33b47e[_0x784834(0x2bc)](_0x1d5b0f(_0x28a300));_0x550bad[_0x784834(0x152)]=_0x45992f,Object['entries'](_0x550bad[_0x784834(0x4ac)])[_0x784834(0x3f0)](([,_0x1a042f])=>{const _0x343fff=_0x784834,_0x36485f=_0x1a042f[_0x343fff(0x152)],_0x53c01a=_0x33b47e['encode'](_0x1d5b0f(_0x36485f));_0x1a042f[_0x343fff(0x152)]=_0x53c01a;});}return _0x460edd;}async[_0x354c00(0x3fa)](_0x531196,_0x400729){const _0x234e37=_0x354c00,{unitID:_0x15b9d3,type:_0x3942ff,blockID:_0x57a14b}=_0x400729,_0x5f4941=this[_0x234e37(0x158)]()+'/'+_0x3942ff+_0x234e37(0x1ed)+_0x15b9d3+'/block/'+_0x57a14b;return(await this[_0x234e37(0x3b3)][_0x234e37(0x291)](_0x5f4941))[_0x234e37(0x4f3)];}async['getDeserializedSheetBlock'](_0x3e03d6,_0x38d8c2){const _0x27b2d5=_0x354c00,{unitID:_0x40cc02,type:_0x26c88e,blockID:_0x31e74c}=_0x38d8c2,_0x310435=this['_getAPIPrefix']()+_0x27b2d5(0x2d2)+_0x26c88e+_0x27b2d5(0x1ed)+_0x40cc02+_0x27b2d5(0x2d2)+_0x31e74c;return(await this[_0x27b2d5(0x3b3)]['get'](_0x310435))[_0x27b2d5(0x4f3)];}async[_0x354c00(0x161)](_0x300ebe,_0x50e413){const _0x176ce1=_0x354c00,{unitID:_0xdb4c4e,type:_0x5dce22,from:_0x534c8,to:_0x3d9c86}=_0x50e413,_0x5eb1b0=this[_0x176ce1(0x158)]()+'/'+_0x5dce22+_0x176ce1(0x1ed)+_0xdb4c4e+_0x176ce1(0x34b)+_0x534c8+_0x176ce1(0x36d)+_0x3d9c86;return(await this[_0x176ce1(0x3b3)][_0x176ce1(0x291)](_0x5eb1b0))['body'];}[_0x354c00(0x322)](){const _0x38cc9f=_0x354c00;var _0x38850a;return(_0x38850a=this['_configService'][_0x38cc9f(0x246)](lr))!=null?_0x38850a:this[_0x38cc9f(0x158)]();}[_0x354c00(0x158)](){const _0x4db02a=_0x354c00;var _0x55fabe,_0x519425;const _0xb071c6=this[_0x4db02a(0x53b)]['getConfig'](cr),_0x19cc10=this[_0x4db02a(0x53b)][_0x4db02a(0x246)](ie);return(_0x519425=(_0x55fabe=_0x19cc10==null?void 0x0:_0x19cc10[_0x4db02a(0x3a5)])!=null?_0x55fabe:_0xb071c6)!=null?_0x519425:hr;}async[_0x354c00(0x545)](_0x62830b,_0x2d7d5a){const _0x584bcf=_0x354c00,_0x201648='/universer-api/snapshot/'+_0x2d7d5a[_0x584bcf(0x260)]+_0x584bcf(0x1ed)+_0x2d7d5a[_0x584bcf(0x207)]+_0x584bcf(0x2ab);return(await this[_0x584bcf(0x3b3)][_0x584bcf(0x291)](_0x201648,{'params':{'resourceId':JSON[_0x584bcf(0x2d5)](_0x2d7d5a['resourceIDs'])}}))[_0x584bcf(0x4f3)];}[_0x354c00(0x1db)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x354c00(0x3e3)](){const _0x5cc876=_0x354c00;throw new Error(_0x5cc876(0x317));}['saveChangeset'](){const _0x486329=_0x354c00;throw new Error(_0x486329(0x317));}[_0x354c00(0x43a)](){const _0x49ca92=_0x354c00;throw new Error(_0x49ca92(0x317));}[_0x354c00(0x430)](){const _0x798b52=_0x354c00;throw new Error(_0x798b52(0x317));}};ls=Ec([ni(0x0,_0x250a8d),ni(0x1,_0x1727eb(_0x4e8dbf))],ls);var bc=Object[_0x354c00(0x3cf)],Tc=Object['getOwnPropertyDescriptor'],Rc=(_0x461f7c,_0x1b643f,_0x289228,_0x30cf09)=>{for(var _0x9ce920=_0x30cf09>0x1?void 0x0:_0x30cf09?Tc(_0x1b643f,_0x289228):_0x1b643f,_0x101935=_0x461f7c['length']-0x1,_0x2f9429;_0x101935>=0x0;_0x101935--)(_0x2f9429=_0x461f7c[_0x101935])&&(_0x9ce920=(_0x30cf09?_0x2f9429(_0x1b643f,_0x289228,_0x9ce920):_0x2f9429(_0x9ce920))||_0x9ce920);return _0x30cf09&&_0x9ce920&&bc(_0x1b643f,_0x289228,_0x9ce920),_0x9ce920;},et=(_0x1db134,_0x4fe4bd)=>(_0x2f72e3,_0x5893a7)=>_0x4fe4bd(_0x2f72e3,_0x5893a7,_0x1db134);let _s=class extends _0x32659e{constructor(_0x1edf50,_0x2b7dcc,_0x27f669,_0x48877e,_0x3da819){const _0x5864b2=_0x354c00;super(_0x1edf50,_0x2b7dcc,_0x27f669),this[_0x5864b2(0x329)]=_0x48877e,this['_logService']=_0x3da819;}[_0x354c00(0x35e)](_0x298f4c,_0x3e86dd){const _0x3464f9=_0x354c00,_0x1cd668=this[_0x3464f9(0x2eb)](_0x298f4c);if(_0x1cd668)try{const _0x3b385c=this[_0x3464f9(0x1a4)](_0x1cd668,_0x3e86dd);this[_0x3464f9(0x4db)](_0x298f4c,_0x3b385c);}catch(_0x461e49){this[_0x3464f9(0x3b6)][_0x3464f9(0x2f1)](_0x3464f9(0x525),_0x461e49),this[_0x3464f9(0x2ef)](_0x298f4c);}const _0x2b97ac=this[_0x3464f9(0x550)](_0x298f4c);if(_0x2b97ac)try{const _0x249b05=this[_0x3464f9(0x1a4)](_0x2b97ac,_0x3e86dd);this[_0x3464f9(0x3d6)](_0x298f4c,_0x249b05);}catch(_0x6bb5f6){this[_0x3464f9(0x3b6)][_0x3464f9(0x2f1)](_0x6bb5f6),this['_clearRedo'](_0x298f4c);}}[_0x354c00(0x2ef)](_0x3013c9){const _0x176498=_0x354c00,_0x4d6d38=this['_getUndoStack'](_0x3013c9);_0x4d6d38&&(_0x4d6d38[_0x176498(0x2a0)]=0x0,this[_0x176498(0x49b)]());}[_0x354c00(0x262)](_0x2a76cb){const _0x4dbc05=_0x354c00,_0x360025=this[_0x4dbc05(0x550)](_0x2a76cb);_0x360025&&(_0x360025['length']=0x0,this['_updateStatus']());}[_0x354c00(0x4db)](_0x252fd7,_0x450b87){const _0x5cc9e1=_0x354c00;this[_0x5cc9e1(0x1a8)][_0x5cc9e1(0x244)](_0x252fd7,_0x450b87),this[_0x5cc9e1(0x49b)]();}[_0x354c00(0x3d6)](_0x4e3128,_0x326e77){const _0x2812ee=_0x354c00;this[_0x2812ee(0x280)][_0x2812ee(0x244)](_0x4e3128,_0x326e77),this[_0x2812ee(0x49b)]();}[_0x354c00(0x1a4)](_0x3abdc4,_0x1305f1){const _0x469a15=_0x354c00,_0x5ae434=[];let _0x3be4c1=_0x1305f1,_0xbf2c02=_0x1305f1;for(let _0x297584=_0x3abdc4[_0x469a15(0x2a0)]-0x1;_0x297584>=0x0;_0x297584--){const {unitID:_0x1ed5be,undoMutations:_0x1a5e3e,redoMutations:_0x52c68e}=_0x3abdc4[_0x297584],_0x59c42d=this[_0x469a15(0x329)][_0x469a15(0x219)](_0x3be4c1,_0x1a5e3e),_0xe54c55=this[_0x469a15(0x329)]['transformMutationsWithChangeset'](_0xbf2c02,_0x52c68e);if(_0x57658d(_0x59c42d)||_0x57658d(_0xe54c55)){this['_logService'][_0x469a15(0x2f1)](_0x469a15(0x525),_0x469a15(0x234),_0x59c42d,_0xe54c55);break;}_0x3be4c1=_0x59c42d[_0x469a15(0x534)],_0xbf2c02=_0xe54c55['c1Prime'],_0x5ae434[_0x469a15(0x301)]({'unitID':_0x1ed5be,'undoMutations':_0x59c42d[_0x469a15(0x1b1)],'redoMutations':_0xe54c55[_0x469a15(0x1b1)]});}return _0x5ae434[_0x469a15(0x23a)]();}};_s=Rc([et(0x0,_0x48d976),et(0x1,_0xfbfaad),et(0x2,_0x4d0f4d),et(0x3,_0xe30adb),et(0x4,_0x3b4016)],_s);class yc extends _0x1bd493{constructor(){const _0x411c22=_0x354c00;super(),g(this,_0x411c22(0x2f9)),this[_0x411c22(0x2f9)]=_0x2ddc8b(window,_0x411c22(0x41a))[_0x411c22(0x43d)](_0x144dfb(this[_0x411c22(0x14d)]),_0x3f5b54(0x1),_0x3a17d4(void 0x0));}[_0x354c00(0x2ff)](_0x539d3a,_0x2a6a1f,_0x4016f8=!0x1){const _0x12da83=_0x354c00,_0x52a0be=new URL(window[_0x12da83(0x141)][_0x12da83(0x1a0)]);_0x52a0be[_0x12da83(0x1cb)][_0x12da83(0x244)](_0x539d3a,_0x2a6a1f),_0x4016f8?window[_0x12da83(0x469)][_0x12da83(0x32c)]('','',_0x52a0be[_0x12da83(0x3d1)]()):window[_0x12da83(0x469)][_0x12da83(0x547)]('','',_0x52a0be[_0x12da83(0x3d1)]());}['removeParam'](_0x4540d3,_0x41b227=!0x1){const _0x1cabc2=_0x354c00,_0x12ed6c=new URL(window[_0x1cabc2(0x141)]['href']);_0x12ed6c['searchParams'][_0x1cabc2(0x361)](_0x4540d3),_0x41b227?window[_0x1cabc2(0x469)][_0x1cabc2(0x32c)]('','',_0x12ed6c[_0x1cabc2(0x3d1)]()):window[_0x1cabc2(0x469)]['pushState']('','',_0x12ed6c[_0x1cabc2(0x3d1)]());}[_0x354c00(0x47b)](_0x589c1c){const _0x47ade5=_0x354c00;var _0x58dd68;return(_0x58dd68=new URL(window[_0x47ade5(0x141)][_0x47ade5(0x1a0)])[_0x47ade5(0x1cb)]['get'](_0x589c1c))!=null?_0x58dd68:void 0x0;}}var zi=Object[_0x354c00(0x3cf)],Oc=Object[_0x354c00(0x20e)],wc=(_0x1458e8,_0x345a4a,_0x526757)=>_0x345a4a in _0x1458e8?zi(_0x1458e8,_0x345a4a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x526757}):_0x1458e8[_0x345a4a]=_0x526757,Dc=(_0x1cbd55,_0x4c4bd1,_0x47e3fb,_0x27555c)=>{const _0x36c3d1=_0x354c00;for(var _0x1b11fc=_0x27555c>0x1?void 0x0:_0x27555c?Oc(_0x4c4bd1,_0x47e3fb):_0x4c4bd1,_0x524564=_0x1cbd55[_0x36c3d1(0x2a0)]-0x1,_0x234510;_0x524564>=0x0;_0x524564--)(_0x234510=_0x1cbd55[_0x524564])&&(_0x1b11fc=(_0x27555c?_0x234510(_0x4c4bd1,_0x47e3fb,_0x1b11fc):_0x234510(_0x1b11fc))||_0x1b11fc);return _0x27555c&&_0x1b11fc&&zi(_0x4c4bd1,_0x47e3fb,_0x1b11fc),_0x1b11fc;},lt=(_0x4c01cd,_0x3c1bb8)=>(_0x2ae020,_0x1ec0e2)=>_0x3c1bb8(_0x2ae020,_0x1ec0e2,_0x4c01cd),Pc=(_0x43df89,_0x626ea9,_0x32cb5f)=>wc(_0x43df89,_0x626ea9+'',_0x32cb5f);const Uc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x58cc57{constructor(_0x139dd5=Rr,_0x3bebb2,_0x965a6b,_0x6194e1,_0xd9af65){const _0x45e493=_0x354c00;super(),this[_0x45e493(0x447)]=_0x139dd5,this[_0x45e493(0x3b6)]=_0x3bebb2,this['_renderManagerService']=_0x965a6b,this[_0x45e493(0x199)]=_0x6194e1,this[_0x45e493(0x53b)]=_0xd9af65;const {..._0x1aff9c}=this[_0x45e493(0x447)];this['_configService'][_0x45e493(0x1c2)](ie,_0x1aff9c);}['onStarting'](){const _0x15f694=_0x354c00;this[_0x15f694(0x31e)](),this['_initDependencies']();}[_0x354c00(0x2e8)](){const _0x230810=_0x354c00;_0x167bff(this[_0x230810(0x199)],[[Ct]]);}[_0x354c00(0x226)](){const _0x27009f=_0x354c00;this[_0x27009f(0x464)]();}[_0x354c00(0x31e)](){const _0x549b26=_0x354c00;var _0x4df46e,_0x2c9bf8,_0x1c24b5,_0x57b090;this[_0x549b26(0x199)][_0x549b26(0x272)](_0x107280)&&this[_0x549b26(0x3b6)][_0x549b26(0x2f1)](_0x549b26(0x52c),_0x549b26(0x241));const _0x3a9716=[[_0x107280,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x4fed41],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x2c9bf8=(_0x4df46e=this['_config'])==null?void 0x0:_0x4df46e[_0x549b26(0x178)])!=null?_0x2c9bf8:es}],[_0x5f0191,{'useClass':ls}],[_0x2602c6,{'useClass':cs}],[_0x4405e1,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x1c24b5=this[_0x549b26(0x447)])!=null&&_0x1c24b5[_0x549b26(0x1d5)]&&_0x3a9716[_0x549b26(0x301)]([Rt,{'useClass':ro}]),_0x1982ee(this['_injector'],_0xb2abd5(_0x3a9716,(_0x57b090=this[_0x549b26(0x447)])==null?void 0x0:_0x57b090[_0x549b26(0x3a4)]));}[_0x354c00(0x464)](){const _0x4440f3=_0x354c00;this[_0x4440f3(0x181)](this[_0x4440f3(0x473)][_0x4440f3(0x2c8)](_0x208af7[_0x4440f3(0x461)],[os])),this[_0x4440f3(0x181)](this['_renderManagerService'][_0x4440f3(0x2c8)](_0x208af7[_0x4440f3(0x1c5)],[as]));}[_0x354c00(0x515)](){const _0x51d65a=_0x354c00;var _0x10418e,_0x3400d7;this[_0x51d65a(0x199)][_0x51d65a(0x291)](_0x4e8dbf)[_0x51d65a(0x243)]({'priority':0x14,'interceptor':_0x407e02({'maxParallel':0x6})}),(_0x10418e=this['_config'])!=null&&_0x10418e[_0x51d65a(0x34d)]||this[_0x51d65a(0x199)][_0x51d65a(0x291)](q)[_0x51d65a(0x412)](),(_0x3400d7=this[_0x51d65a(0x447)])!=null&&_0x3400d7[_0x51d65a(0x3c8)]&&_0x167bff(this[_0x51d65a(0x199)],[[Et]]),_0x167bff(this[_0x51d65a(0x199)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,_0x354c00(0x232),Uc),us=Dc([_0x335d7c(_0x3e0fbc,_0x573469),lt(0x1,_0x3b4016),lt(0x2,_0xf0df93),lt(0x3,_0x1727eb(_0x5d0612)),lt(0x4,_0x250a8d)],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 _0x5bb7a4=_0x4081;(function(_0x24ad8d,_0xcf6b8){const _0xba6a5a=_0x4081,_0x4b30d0=_0x24ad8d();while(!![]){try{const _0x57ba32=-parseInt(_0xba6a5a(0x20e))/0x1*(-parseInt(_0xba6a5a(0x548))/0x2)+parseInt(_0xba6a5a(0x1c6))/0x3*(-parseInt(_0xba6a5a(0x207))/0x4)+parseInt(_0xba6a5a(0x190))/0x5*(-parseInt(_0xba6a5a(0x2d3))/0x6)+-parseInt(_0xba6a5a(0x483))/0x7+parseInt(_0xba6a5a(0x1db))/0x8+parseInt(_0xba6a5a(0x1fe))/0x9*(parseInt(_0xba6a5a(0x2d1))/0xa)+parseInt(_0xba6a5a(0x459))/0xb*(parseInt(_0xba6a5a(0x412))/0xc);if(_0x57ba32===_0xcf6b8)break;else _0x4b30d0['push'](_0x4b30d0['shift']());}catch(_0x1fc0c4){_0x4b30d0['push'](_0x4b30d0['shift']());}}}(_0x27da,0x99a97));var qi=Object['defineProperty'],Xi=(_0x192793,_0x3e93ca,_0x225043)=>_0x3e93ca in _0x192793?qi(_0x192793,_0x3e93ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x225043}):_0x192793[_0x3e93ca]=_0x225043,g=(_0x2e7815,_0x4ea96c,_0x124536)=>Xi(_0x2e7815,typeof _0x4ea96c!=_0x5bb7a4(0x477)?_0x4ea96c+'':_0x4ea96c,_0x124536);import{createIdentifier as _0x5ce9a5,Inject as _0x22a3e1,Disposable as _0x1caa36,DisposableCollection as _0x4e3306,toDisposable as _0x7884da,IConfigService as _0x2bb536,ILogService as _0x3efec9,UserManagerService as _0x28e0a3,UniverInstanceType as _0x10a997,IUniverInstanceService as _0x2e0534,LocaleService as _0x1fdc1b,Optional as _0x4f55bd,RxDisposable as _0x177a9e,Injector as _0x4c5160,Tools as _0x41d014,ILocalStorageService as _0x21f678,Rectangle as _0x49e4db,ICommandService as _0x1e58f0,DOC_RANGE_TYPE as _0x569c02,JSONX as _0x22592d,CommandType as _0x5bf26c,IPermissionService as _0x59e41b,IUndoRedoService as _0x131129,sequenceExecute as _0x9b12cf,debounce as _0x47386f,COLORS as _0x593100,ColorKit as _0x589dec,ThemeService as _0x58be32,fromEventSubject as _0x3a7a27,useDependency as _0xe664fe,connectInjector as _0x3048e7,Workbook as _0x31b79d,isInternalEditorID as _0x503b7a,LocalUndoRedoService as _0x26edca,IContextService as _0x6af9eb,DependentOn as _0x5008eb,Plugin as _0x1a3f69,touchDependencies as _0x3fa01f,IAuthzIoService as _0x2eb585,registerDependencies as _0x60d00f,mergeOverrideWithDependencies as _0x2c766a}from'@univerjs/core';import{Subject as _0x1b179a,merge as _0x4e4735,takeUntil as _0x52fa59,BehaviorSubject as _0x348a88,distinctUntilChanged as _0x2abb77,fromEvent as _0x565a18,ReplaySubject as _0x5c726e,take as _0x35f71d,map as _0x5809a7,shareReplay as _0x3f1879,of as _0x52cb6f,debounceTime as _0x12cfe4,filter as _0x3cb187,switchMap as _0x1e3e59,combineLatest as _0x4753e6,concatMap as _0x2d7fb7,mapTo as _0x287b5c}from'rxjs';import{map as _0x17141f,take as _0x4b07d5,filter as _0x5a0a20,delay as _0x1ce989,throttleTime as _0x3fef40,takeUntil as _0x216286,switchMap as _0x58ad60}from'rxjs/operators';import{MessageType as _0x3417d7,Tooltip as _0x4f930e}from'@univerjs/design';import{IBeforeCloseService as _0x3e0747,IMessageService as _0x38087f,INotificationService as _0x387815,useObservable as _0x3b686f,BuiltInUIPart as _0x5b1713,IUIPartsService as _0x2cb103}from'@univerjs/ui';import{HTTPService as _0x41156a,WebSocketService as _0x1275f8,MergeInterceptorFactory as _0xc40197,HTTPRequest as _0x3b9e80,UniverNetworkPlugin as _0x2fc5f3,ThresholdInterceptorFactory as _0x15339e}from'@univerjs/network';import{CollaborationEvent as _0x45d469,parseChangesetToProtocol as _0x2f96b4,ISnapshotServerService as _0x5bc59d,isTransformMutationFailure as _0x35b5b8,isTransformMutationsWithChangesetSuccess as _0x5f43ea,ITransformService as _0x2db4c4,RevisionService as _0x25150b,mapDocumentTypeToUniverType as _0x32a7fd,isTransformChangesetsSuccess as _0x3e05e4,CompressMutationService as _0x4b6791,parseProtocolChangeset as _0x34525f,SnapshotService as _0x2b1acd,textEncoder as _0x1a843b,b64DecodeUnicode as _0x286b30,isTransformMutationsWithChangesetFailure as _0x2a2494,UniverCollaborationPlugin as _0x1956e2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1b6586}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x4a315f,DocStateChangeManagerService as _0x1b1fa1,NodePositionConvertToCursor as _0x1e2d34,NodePositionConvertToRectRange as _0x2b0059,TEXT_RANGE_LAYER_INDEX as _0x417fa9,SetDocZoomRatioOperation as _0x595dd4}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x11487d,SetSelectionsOperation as _0x544c74,InsertSheetMutation as _0x2dfe93,EmptyMutation as _0x224c7f,WorkbookEditablePermission as _0x272dbd,RefRangeService as _0x180f23,EffectRefRangId as _0x34bde3,handleIRemoveRow as _0x399794,handleIRemoveCol as _0x74bb6c,handleMoveRange as _0x20726c,handleInsertRow as _0x5120ad,handleInsertRangeMoveRight as _0x3995ec,handleInsertRangeMoveDown as _0x595791,handleInsertCol as _0x490fbf,handleDeleteRangeMoveUp as _0xc12035,handleDeleteRangeMoveLeft as _0xd913ed,runRefRangeMutations as _0x4ea810,SetWorksheetActivateCommand as _0x3d9171}from'@univerjs/sheets';import{IRenderManagerService as _0x31d8f9,Shape as _0x4b8d3f,Rect as _0x4214fc,getColor as _0x140980,RegularPolygon as _0x18606b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2c9396,Vector2 as _0x3af8ad}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x4ce6e6,RichTextEditingMutation as _0x185e84,SetTextSelectionsOperation as _0x10288c,DocSkeletonManagerService as _0x386ab1}from'@univerjs/docs';import{ImageSourceType as _0x40ad48,ImageUploadStatusType as _0x1d459e,IImageIoService as _0x23cc94}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x231961,serializeRangeWithSheet as _0x5cd454}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x328715,VIEWPORT_KEY as _0x4bafe5,getCoordByCell as _0x5a0e3d,getSheetObject as _0x1d2c70,SheetPermissionInitController as _0x496cb9}from'@univerjs/sheets-ui';import _0x3fd601,{forwardRef as _0x5ecf43,useRef as _0x37367c,createElement as _0x438628,useCallback as _0x1f3798}from'react';import{IRemoteInstanceService as _0xfc52d5}from'@univerjs/rpc';const cr=_0x5bb7a4(0x195),hr=_0x5bb7a4(0x4c5),lr=_0x5bb7a4(0x3c3),Xc=_0x5bb7a4(0x552),_r=0x7d0,ur=_0x5bb7a4(0x1dc),dr=_0x5bb7a4(0x361),fr='HEARTBEAT_INTERVAL',vr=0x7530,bi=_0x5bb7a4(0x337),Ti=0x4e20,mr=0x4e20,pr=_0x5bb7a4(0x55c),gr=0x3,Sr=_0x5bb7a4(0x451),Ir=0x3e8,Cr=_0x5bb7a4(0x255),Er='/universer-api/comb',br=_0x5bb7a4(0x372),Tr=_0x5bb7a4(0x43c);var Ri=(_0x43d28d=>(_0x43d28d[_0x43d28d[_0x5bb7a4(0x225)]=0x0]=_0x5bb7a4(0x225),_0x43d28d[_0x43d28d['OK']=0x1]='OK',_0x43d28d[_0x43d28d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x43d28d[_0x43d28d[_0x5bb7a4(0x403)]=0x3]=_0x5bb7a4(0x403),_0x43d28d[_0x43d28d[_0x5bb7a4(0x33b)]=0x4]=_0x5bb7a4(0x33b),_0x43d28d[_0x43d28d['UNAUTHENTICATED']=0x5]=_0x5bb7a4(0x2ce),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ab)]=0x6]='ALREADY_EXISTS',_0x43d28d[_0x43d28d['INVALID_ARGUMENT']=0x7]=_0x5bb7a4(0x365),_0x43d28d[_0x43d28d[_0x5bb7a4(0x554)]=0x8]=_0x5bb7a4(0x554),_0x43d28d[_0x43d28d[_0x5bb7a4(0x468)]=0x9]=_0x5bb7a4(0x468),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ae)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x43d28d[_0x43d28d[_0x5bb7a4(0x3a9)]=0x1771]=_0x5bb7a4(0x3a9),_0x43d28d[_0x43d28d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5bb7a4(0x1f0),_0x43d28d[_0x43d28d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x43d28d[_0x43d28d[_0x5bb7a4(0x46a)]=0x1b59]=_0x5bb7a4(0x46a),_0x43d28d[_0x43d28d[_0x5bb7a4(0x564)]=0x1b5a]=_0x5bb7a4(0x564),_0x43d28d[_0x43d28d[_0x5bb7a4(0x4dc)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x43d28d[_0x43d28d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5bb7a4(0x219),_0x43d28d[_0x43d28d[_0x5bb7a4(0x289)]=0x1b5d]=_0x5bb7a4(0x289),_0x43d28d[_0x43d28d[_0x5bb7a4(0x298)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x43d28d[_0x43d28d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5bb7a4(0x507),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ec)]=0x232a]=_0x5bb7a4(0x3ec),_0x43d28d[_0x43d28d[_0x5bb7a4(0x45e)]=0x232b]=_0x5bb7a4(0x45e),_0x43d28d[_0x43d28d[_0x5bb7a4(0x55f)]=0x232c]=_0x5bb7a4(0x55f),_0x43d28d[_0x43d28d[_0x5bb7a4(0x51b)]=0x232d]=_0x5bb7a4(0x51b),_0x43d28d[_0x43d28d[_0x5bb7a4(0x345)]=0x2711]=_0x5bb7a4(0x345),_0x43d28d[_0x43d28d[_0x5bb7a4(0x573)]=0x2712]=_0x5bb7a4(0x573),_0x43d28d[_0x43d28d[_0x5bb7a4(0x549)]=0x2713]=_0x5bb7a4(0x549),_0x43d28d[_0x43d28d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5bb7a4(0x4bf),_0x43d28d[_0x43d28d[_0x5bb7a4(0x31e)]=-0x1]=_0x5bb7a4(0x31e),_0x43d28d))(Ri||{}),ce=(_0xd0b78b=>(_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4ec)]=0x0]=_0x5bb7a4(0x4ec),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x172)]=0x1]=_0x5bb7a4(0x172),_0xd0b78b[_0xd0b78b['UNIVER_SHEET']=0x2]=_0x5bb7a4(0x55b),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4b3)]=0x3]=_0x5bb7a4(0x4b3),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4c7)]=0x4]='UNIVER_PROJECT',_0xd0b78b[_0xd0b78b['UNRECOGNIZED']=-0x1]=_0x5bb7a4(0x31e),_0xd0b78b))(ce||{}),W=(_0x1f2de3=>(_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x204)]=0x0]=_0x5bb7a4(0x204),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x183)]=0x1]=_0x5bb7a4(0x183),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x542)]=0x2]=_0x5bb7a4(0x542),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x2a7)]=0x3]=_0x5bb7a4(0x2a7),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x200)]=0x4]=_0x5bb7a4(0x200),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x238)]=0x5]=_0x5bb7a4(0x238),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x297)]=0x6]=_0x5bb7a4(0x297),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x31e)]=-0x1]='UNRECOGNIZED',_0x1f2de3))(W||{}),Is=(_0x58dddf=>(_0x58dddf[_0x58dddf['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x58dddf[_0x58dddf['OK']=0x1]='OK',_0x58dddf[_0x58dddf[_0x5bb7a4(0x526)]=0x2]='FAIL',_0x58dddf[_0x58dddf[_0x5bb7a4(0x31e)]=-0x1]='UNRECOGNIZED',_0x58dddf))(Is||{}),yi=(_0x137d45=>(_0x137d45[_0x137d45[_0x5bb7a4(0x2e9)]=0x0]=_0x5bb7a4(0x2e9),_0x137d45[_0x137d45[_0x5bb7a4(0x197)]=0x1]='HttpImport',_0x137d45[_0x137d45[_0x5bb7a4(0x502)]=0x2]=_0x5bb7a4(0x502),_0x137d45[_0x137d45['UnitEmbedded']=0x3]=_0x5bb7a4(0x48f),_0x137d45[_0x137d45[_0x5bb7a4(0x54b)]=0x4]=_0x5bb7a4(0x54b),_0x137d45[_0x137d45[_0x5bb7a4(0x31e)]=-0x1]=_0x5bb7a4(0x31e),_0x137d45))(yi||{});const ie=_0x5bb7a4(0x1f9),Rr={};function yr(_0x45b5c9){const _0x293a22=_0x5bb7a4;var _0x301a87,_0xc1dc28,_0x2d495b,_0x56dfea,_0x5eb7b5;const _0x1c293a=_0x45b5c9['data'],_0x54c316=JSON[_0x293a22(0x57c)](_0x1c293a);switch(_0x54c316[_0x293a22(0x4d5)]){case W[_0x293a22(0x238)]:case W[_0x293a22(0x183)]:{const _0x316f46=_0x54c316[_0x293a22(0x51e)];return{..._0x54c316,'data':_0x316f46,'cmd':_0x54c316[_0x293a22(0x4d5)]};}case W[_0x293a22(0x542)]:{const _0x8b589f=_0x54c316[_0x293a22(0x3f9)];return{..._0x54c316,'data':_0x8b589f,'cmd':_0x54c316[_0x293a22(0x4d5)]};}case W[_0x293a22(0x297)]:{const _0x282169=_0x54c316[_0x293a22(0x21a)];switch(_0x282169['eventID']){case _0x45d469[_0x293a22(0x4fb)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x301a87=_0x282169[_0x293a22(0x3ba)])==null?void 0x0:_0x301a87['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x4a7)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0xc1dc28=_0x282169['csAckEvent'])==null?void 0x0:_0xc1dc28['cs']},'cmd':_0x54c316['cmd']};case _0x45d469[_0x293a22(0x4df)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x2d495b=_0x282169['newCsEvent'])==null?void 0x0:_0x2d495b['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x35b)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x56dfea=_0x282169[_0x293a22(0x469)])==null?void 0x0:_0x56dfea['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x259)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x5eb7b5=_0x282169[_0x293a22(0x3d5)])==null?void 0x0:_0x5eb7b5['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['UPDATE_CURSOR']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['updateCursorEvent']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x2a5)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x4b7)]},'cmd':_0x54c316['cmd']};case _0x45d469['USERS_LEAVE']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x4cd)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x31f)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x29e)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['LIVESHARE_FETCH_OPERATIONS']:case _0x45d469[_0x293a22(0x38c)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x49b)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['LIVESHARE_TERMINATE']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['liveShareNewHost']},'cmd':_0x54c316['cmd']};case _0x45d469[_0x293a22(0x407)]:return{..._0x54c316,'data':_0x282169,'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x34d)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x36f)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x508)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['updatePermissionObjEvent']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x413)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x398)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};default:return _0x54c316;}}default:return _0x54c316;}}function Or(_0x1b8bfc){const _0x16d4be=_0x5bb7a4;switch(_0x1b8bfc[_0x16d4be(0x4d5)]){case W['HEARTBEAT']:case W[_0x16d4be(0x183)]:return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)]});case W[_0x16d4be(0x200)]:{let _0xaa41cc;switch(_0x1b8bfc[_0x16d4be(0x2d5)]['eventID']){case _0x45d469[_0x16d4be(0x2cd)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x2cd)],'updateCursorEvent':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x489)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x489)],'leaveEvent':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x2a5)]:{_0xaa41cc={'eventID':_0x45d469['USERS_ENTER'],'joinEvent':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469['LIVESHARE_NEW_HOST']:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x31f)],'liveShareNewHost':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x38c)]:{_0xaa41cc={'eventID':_0x45d469['LIVESHARE_OPERATION'],'liveShareOperation':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x41d)]:{_0xaa41cc={'eventID':_0x45d469['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x2ed)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x2ed)],'liveShareRequestHost':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x43b)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x43b)]};break;}default:_0xaa41cc={'eventID':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x479)]};}return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'collaMsg':_0xaa41cc});}case W[_0x16d4be(0x542)]:return JSON['stringify']({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'joinReq':_0x1b8bfc[_0x16d4be(0x2d5)]});case W['LEAVE']:return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc['cmd'],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'leaveReq':_0x1b8bfc[_0x16d4be(0x2d5)]});default:throw new Error(_0x16d4be(0x1f7));}}var wr=Object['defineProperty'],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x2af9ec,_0x503585,_0x193e92,_0x583e94)=>{for(var _0x5c4c97=_0x583e94>0x1?void 0x0:_0x583e94?Dr(_0x503585,_0x193e92):_0x503585,_0x24b214=_0x2af9ec['length']-0x1,_0x131704;_0x24b214>=0x0;_0x24b214--)(_0x131704=_0x2af9ec[_0x24b214])&&(_0x5c4c97=(_0x583e94?_0x131704(_0x503585,_0x193e92,_0x5c4c97):_0x131704(_0x5c4c97))||_0x5c4c97);return _0x583e94&&_0x5c4c97&&wr(_0x503585,_0x193e92,_0x5c4c97),_0x5c4c97;},qe=(_0x18d833,_0x224e85)=>(_0x398617,_0x2a8f6b)=>_0x224e85(_0x398617,_0x2a8f6b,_0x18d833);const Oi=_0x5ce9a5(_0x5bb7a4(0x373));function Ur(_0x21a3ea,_0x5b1eda,_0x33f15d){return _0x21a3ea+'/'+_0x5b1eda+'/unit/'+_0x33f15d+'/new_changes';}let es=class extends _0x1caa36{constructor(_0x3f7db1,_0x11cd42,_0x5f0f47,_0x31a7c7,_0x45534a){const _0x165338=_0x5bb7a4;super(),this[_0x165338(0x582)]=_0x3f7db1,this[_0x165338(0x561)]=_0x11cd42,this[_0x165338(0x23e)]=_0x5f0f47,this[_0x165338(0x26e)]=_0x31a7c7,this['_snapshotServerService']=_0x45534a;}[_0x5bb7a4(0x343)](_0x3842d8){const _0x222f56=_0x5bb7a4,_0x2e5251=this[_0x222f56(0x561)][_0x222f56(0x343)](_0x3842d8);if(!_0x2e5251)throw new Error(_0x222f56(0x3c1));const _0x1ef4af=new _0x4e3306(),_0x5a5ea7=new _0x1b179a();_0x1ef4af[_0x222f56(0x570)](_0x2e5251[_0x222f56(0x339)][_0x222f56(0x519)](_0xc5f3d8=>_0x5a5ea7[_0x222f56(0x3ff)](_0xc5f3d8))),_0x1ef4af['add'](_0x7884da(()=>_0x5a5ea7[_0x222f56(0x313)]()));const _0x4b837d=new _0x1b179a();_0x1ef4af[_0x222f56(0x570)](_0x2e5251[_0x222f56(0x277)][_0x222f56(0x519)](_0x9e3923=>_0x4b837d[_0x222f56(0x3ff)](_0x9e3923))),_0x1ef4af[_0x222f56(0x570)](_0x7884da(()=>_0x4b837d[_0x222f56(0x313)]()));const _0xbe5845=new _0x1b179a();_0x1ef4af['add'](_0x2e5251[_0x222f56(0x35f)][_0x222f56(0x519)](_0x2c4738=>{const _0x5e9fcd=_0x222f56,_0x505236=yr(_0x2c4738);_0xbe5845[_0x5e9fcd(0x3ff)](_0x505236);})),_0x1ef4af[_0x222f56(0x570)](_0x7884da(()=>_0xbe5845['complete']()));let _0x5522e3;const _0xac8b45=()=>{const _0x49efe9=_0x222f56;_0x4b837d[_0x49efe9(0x3ff)](new Event(_0x49efe9(0x248))),_0x5a5ea7[_0x49efe9(0x3ff)](new CloseEvent(_0x49efe9(0x248))),_0x5522e3[_0x49efe9(0x27a)]();};return _0x5522e3={'memberID':'','close$':_0x5a5ea7[_0x222f56(0x1a6)](),'error$':_0x4b837d[_0x222f56(0x1a6)](),'open$':_0x2e5251[_0x222f56(0x3eb)],'message$':_0xbe5845['asObservable'](),'send':_0x5c30bb=>{const _0x4cb4a0=_0x222f56;if(_0x5c30bb[_0x4cb4a0(0x4d5)]===W['INGEST']){if(_0x5c30bb['data'][_0x4cb4a0(0x479)]===_0x45d469[_0x4cb4a0(0x1b5)]){this[_0x4cb4a0(0x34c)](_0x5522e3,_0x5c30bb[_0x4cb4a0(0x2d5)])[_0x4cb4a0(0x220)](_0x5eefa1=>{const _0x2e5234=_0x4cb4a0;this['_logService'][_0x2e5234(0x17b)](_0x5eefa1),_0xac8b45();});return;}if(_0x5c30bb['data'][_0x4cb4a0(0x479)]===_0x45d469['FETCH_MISSING']){const _0x5becb3=_0x5c30bb['data'];this[_0x4cb4a0(0x48c)](_0x5becb3)[_0x4cb4a0(0x40e)](_0x444026=>{_0xbe5845['next']({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x5becb3['data']['unitID'],'routeType':'','data':{'eventID':_0x45d469['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x444026}}});})[_0x4cb4a0(0x220)](_0x18526b=>{const _0x33ba8f=_0x4cb4a0;this['_logService'][_0x33ba8f(0x17b)](_0x18526b),_0xac8b45();});return;}}_0x2e5251[_0x4cb4a0(0x45a)](Or(_0x5c30bb));},'close':()=>{const _0x589395=_0x222f56;_0x2e5251[_0x589395(0x27a)](),_0x1ef4af[_0x589395(0x4d2)]();}},_0x5522e3;}async['_submitChangeset'](_0x3c4dec,_0xd0d49e){const _0x5c1faa=_0x5bb7a4;var _0x5e5b50,_0x33428b;const {unitType:_0x596e6b,unitID:_0x6f1d1c,changeset:_0x29e5a9}=_0xd0d49e[_0x5c1faa(0x2d5)],_0x5a30d4={'unitID':_0x6f1d1c,'memberID':_0x3c4dec[_0x5c1faa(0x2a3)],'type':_0x596e6b,'changeset':_0x2f96b4(_0x29e5a9)},_0x271cb0=this['_configService'][_0x5c1faa(0x447)](Cr),_0x6722dc=this[_0x5c1faa(0x23e)][_0x5c1faa(0x447)](ie),_0x398d6f=Ur((_0x33428b=(_0x5e5b50=_0x6722dc==null?void 0x0:_0x6722dc[_0x5c1faa(0x347)])!=null?_0x5e5b50:_0x271cb0)!=null?_0x33428b:Er,_0x596e6b,_0x6f1d1c);try{await this['_http'][_0x5c1faa(0x495)](_0x398d6f,{'body':_0x5a30d4});}catch(_0x37e2c9){throw this[_0x5c1faa(0x26e)]['error'](_0x5c1faa(0x424),_0x5c1faa(0x2f7)),_0x37e2c9;}}async[_0x5bb7a4(0x48c)](_0x9fd737){const _0x3585dd=_0x5bb7a4,{unitID:_0xe4f67c,from:_0x9ded1c,to:_0x4bfc52,unitType:_0x2b9766}=_0x9fd737[_0x3585dd(0x2d5)];return(await this[_0x3585dd(0x505)][_0x3585dd(0x2b8)]({'metadata':void 0x0},{'unitID':_0xe4f67c,'type':_0x2b9766,'from':_0x9ded1c,'to':_0x4bfc52}))['changesets'];}};es=Pr([qe(0x0,_0x22a3e1(_0x41156a)),qe(0x1,_0x22a3e1(_0x1275f8)),qe(0x2,_0x2bb536),qe(0x3,_0x3efec9),qe(0x4,_0x5bc59d)],es);const Nr=_0x5bb7a4(0x164);function Ar(_0x125ef8){const _0x5b8b4b=_0x5bb7a4;return JSON['stringify'](_0x125ef8)[_0x5b8b4b(0x282)];}class wi{constructor(){const _0x2d5d47=_0x5bb7a4;g(this,_0x2d5d47(0x379),new _0x1b179a()),g(this,_0x2d5d47(0x17d),this[_0x2d5d47(0x379)]['asObservable']());}['onCommentUpdate'](_0x40ddb6){const _0x9f38a=_0x5bb7a4;this[_0x9f38a(0x379)][_0x9f38a(0x3ff)](_0x40ddb6);}}var Mr=Object[_0x5bb7a4(0x42b)],xr=Object[_0x5bb7a4(0x4e4)],Lr=(_0x166916,_0x3f83b3,_0x5c8a40,_0x34f32d)=>{const _0x3fb2c7=_0x5bb7a4;for(var _0x4bdfb5=_0x34f32d>0x1?void 0x0:_0x34f32d?xr(_0x3f83b3,_0x5c8a40):_0x3f83b3,_0x2c04d0=_0x166916[_0x3fb2c7(0x282)]-0x1,_0x18f6f8;_0x2c04d0>=0x0;_0x2c04d0--)(_0x18f6f8=_0x166916[_0x2c04d0])&&(_0x4bdfb5=(_0x34f32d?_0x18f6f8(_0x3f83b3,_0x5c8a40,_0x4bdfb5):_0x18f6f8(_0x4bdfb5))||_0x4bdfb5);return _0x34f32d&&_0x4bdfb5&&Mr(_0x3f83b3,_0x5c8a40,_0x4bdfb5),_0x4bdfb5;},Hs=(_0x234824,_0x2c1906)=>(_0x9e5ff0,_0x5be919)=>_0x2c1906(_0x9e5ff0,_0x5be919,_0x234824);let Ne=class extends _0x1caa36{constructor(_0x4041c0,_0x1d3af4){const _0x1ddaa9=_0x5bb7a4;super(),g(this,_0x1ddaa9(0x1df),new Map()),(this[_0x1ddaa9(0x21d)]=_0x4041c0,this[_0x1ddaa9(0x556)]=_0x1d3af4,this[_0x1ddaa9(0x368)](_0x7884da(_0x4e4735(this[_0x1ddaa9(0x21d)]['getTypeOfUnitDisposed$'](_0x10a997[_0x1ddaa9(0x55b)])[_0x1ddaa9(0x3f1)](_0x17141f(_0x510a53=>_0x510a53[_0x1ddaa9(0x322)]())),this[_0x1ddaa9(0x21d)][_0x1ddaa9(0x39a)](_0x10a997[_0x1ddaa9(0x172)])['pipe'](_0x17141f(_0x23e96c=>_0x23e96c[_0x1ddaa9(0x322)]())),this[_0x1ddaa9(0x21d)][_0x1ddaa9(0x39a)](_0x10a997[_0x1ddaa9(0x4b3)])[_0x1ddaa9(0x3f1)](_0x17141f(_0x33d5a3=>_0x33d5a3[_0x1ddaa9(0x322)]())))[_0x1ddaa9(0x519)](_0x529546=>this[_0x1ddaa9(0x562)](_0x529546)))));}['setCurrentUser'](_0x54e57a){const _0x4ff021=_0x5bb7a4;this['_userManagerService'][_0x4ff021(0x4fc)](_0x54e57a);}['getCurrentUser'](){const _0x3d0d1c=_0x5bb7a4;return this['_userManagerService'][_0x3d0d1c(0x3b9)]();}[_0x5bb7a4(0x4b2)](_0x43a481,_0x51081b){const _0x282152=_0x5bb7a4;let _0x3963ac=this[_0x282152(0x1df)][_0x282152(0x4f7)](_0x43a481);_0x3963ac||(_0x3963ac=new $r(),this['_roomMembers']['set'](_0x43a481,_0x3963ac)),_0x3963ac[_0x282152(0x4b2)](_0x51081b);}[_0x5bb7a4(0x4e6)](_0x235ecd,_0x36149c){const _0x5b020d=_0x5bb7a4,_0x87bb2c=this['_roomMembers'][_0x5b020d(0x4f7)](_0x235ecd);_0x87bb2c&&_0x87bb2c[_0x5b020d(0x4e6)](_0x36149c);}[_0x5bb7a4(0x2dd)](_0x4578d5){const _0x4ea8f1=_0x5bb7a4;return this[_0x4ea8f1(0x1df)][_0x4ea8f1(0x4f7)](_0x4578d5);}[_0x5bb7a4(0x25d)](_0x2b11ec,_0x306cdc){const _0x589b74=_0x5bb7a4,_0x47c14e=this['_roomMembers'][_0x589b74(0x4f7)](_0x2b11ec);if(_0x47c14e)return _0x47c14e[_0x589b74(0x25d)](_0x306cdc);}['_removeRoom'](_0x3626f5){const _0x4b4934=_0x5bb7a4,_0x3f1463=this['_roomMembers'][_0x4b4934(0x4f7)](_0x3626f5);_0x3f1463&&(_0x3f1463[_0x4b4934(0x4d2)](),this[_0x4b4934(0x1df)][_0x4b4934(0x3d8)](_0x3626f5));}[_0x5bb7a4(0x4d2)](){const _0x32964=_0x5bb7a4;this['_roomMembers'][_0x32964(0x312)](_0xad9e2b=>_0xad9e2b[_0x32964(0x4d2)]()),this[_0x32964(0x1df)]['clear']();}};Ne=Lr([Hs(0x0,_0x2e0534),Hs(0x1,_0x22a3e1(_0x28e0a3))],Ne);class $r extends _0x1caa36{constructor(){const _0x153be1=_0x5bb7a4;super(...arguments),g(this,_0x153be1(0x3dc),new Map());}[_0x5bb7a4(0x4d2)](){const _0x563cef=_0x5bb7a4;this[_0x563cef(0x3dc)]['clear']();}['updateMember'](_0x450c04){const _0x2c63e6=_0x5bb7a4;this[_0x2c63e6(0x3dc)][_0x2c63e6(0x441)](_0x450c04['memberID'],_0x450c04);}[_0x5bb7a4(0x4e6)](_0x23d7b7){const _0x5f2e65=_0x5bb7a4;this[_0x5f2e65(0x3dc)][_0x5f2e65(0x3d8)](_0x23d7b7);}[_0x5bb7a4(0x25d)](_0x1f3cbb){const _0x52b494=_0x5bb7a4;return this[_0x52b494(0x3dc)][_0x52b494(0x4f7)](_0x1f3cbb);}[_0x5bb7a4(0x26c)](){const _0xef2a60=_0x5bb7a4;return Array['from'](this[_0xef2a60(0x3dc)]['values']());}}var Hr=Object[_0x5bb7a4(0x42b)],jr=Object[_0x5bb7a4(0x4e4)],Br=(_0x279aac,_0x22af43,_0x25ec3f,_0x5bc6c6)=>{const _0xab57fe=_0x5bb7a4;for(var _0x2e6c4a=_0x5bc6c6>0x1?void 0x0:_0x5bc6c6?jr(_0x22af43,_0x25ec3f):_0x22af43,_0x577116=_0x279aac[_0xab57fe(0x282)]-0x1,_0x58410e;_0x577116>=0x0;_0x577116--)(_0x58410e=_0x279aac[_0x577116])&&(_0x2e6c4a=(_0x5bc6c6?_0x58410e(_0x22af43,_0x25ec3f,_0x2e6c4a):_0x58410e(_0x2e6c4a))||_0x2e6c4a);return _0x5bc6c6&&_0x2e6c4a&&Hr(_0x22af43,_0x25ec3f,_0x2e6c4a),_0x2e6c4a;},Ee=(_0xe69baf,_0x174681)=>(_0x4626ce,_0x29deb5)=>_0x174681(_0x4626ce,_0x29deb5,_0xe69baf),ve=(_0x4c6797=>(_0x4c6797[_0x4c6797['IDLE']=0x0]=_0x5bb7a4(0x444),_0x4c6797[_0x4c6797[_0x5bb7a4(0x213)]=0x1]='JOINING',_0x4c6797[_0x4c6797[_0x5bb7a4(0x23a)]=0x2]=_0x5bb7a4(0x23a),_0x4c6797[_0x4c6797[_0x5bb7a4(0x3e1)]=0x3]=_0x5bb7a4(0x3e1),_0x4c6797))(ve||{});let ts=class extends _0x177a9e{constructor(_0x443a38,_0x59999f,_0x351334,_0xd6b63c,_0x124e88,_0x1825d1,_0x2b890b,_0x64aa01,_0x34d8f9,_0x3f7885){const _0x556193=_0x5bb7a4;super(),g(this,_0x556193(0x20f),new _0x348a88(0x0)),g(this,_0x556193(0x17e),this['_sessionStatus$']['asObservable']()),g(this,_0x556193(0x57d),new _0x1b179a()),g(this,'event$',this['_event$'][_0x556193(0x1a6)]()),g(this,_0x556193(0x323)),g(this,_0x556193(0x417)),g(this,_0x556193(0x301)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x556193(0x1b1),null),(this[_0x556193(0x2ba)]=_0x443a38,this['_logService']=_0x351334,this[_0x556193(0x414)]=_0xd6b63c,this[_0x556193(0x2a2)]=_0x124e88,this['_configService']=_0x1825d1,this[_0x556193(0x4ab)]=_0x2b890b,this[_0x556193(0x49f)]=_0x64aa01,this[_0x556193(0x54a)]=_0x34d8f9,this[_0x556193(0x18c)]=_0x3f7885,this[_0x556193(0x512)]=!!this[_0x556193(0x18c)],_0x59999f[_0x556193(0x3f1)](_0x52fa59(this[_0x556193(0x492)]))[_0x556193(0x519)](_0x10b0a1=>{const _0x11055d=_0x556193;var _0x7f969d;typeof _0x10b0a1>'u'||(this[_0x11055d(0x323)]=_0x10b0a1,_0x10b0a1?(this[_0x11055d(0x3b3)](_0x10b0a1),this[_0x11055d(0x417)]=_0x10b0a1[_0x11055d(0x35f)]['subscribe'](_0x460e62=>{const _0x43ccac=_0x11055d;_0x460e62['routeKey']===this[_0x43ccac(0x2ba)]&&this[_0x43ccac(0x497)](_0x460e62);})):(this[_0x11055d(0x3f0)](),this['_sessionStatus$'][_0x11055d(0x3ff)](0x2),(_0x7f969d=this['_socketMessageSubscription'])==null||_0x7f969d[_0x11055d(0x1e1)](),this[_0x11055d(0x417)]=null));}),this[_0x556193(0x368)](this[_0x556193(0x414)][_0x556193(0x1f2)](()=>{const _0x281e81=_0x556193;var _0x1e7cdc;(_0x1e7cdc=this[_0x281e81(0x323)])==null||_0x1e7cdc[_0x281e81(0x45a)]({'cmd':W[_0x281e81(0x2a7)],'data':{'roomID':this[_0x281e81(0x2ba)]}});})));}get[_0x5bb7a4(0x397)](){const _0x2cc569=_0x5bb7a4;return this['_sessionStatus$'][_0x2cc569(0x43d)]();}[_0x5bb7a4(0x494)](){var _0x18d281,_0x1f1544;return(_0x1f1544=(_0x18d281=this['_socket'])==null?void 0x0:_0x18d281['memberID'])!=null?_0x1f1544:null;}[_0x5bb7a4(0x4d2)](){const _0x3b4175=_0x5bb7a4;super[_0x3b4175(0x4d2)](),this['dispose$'][_0x3b4175(0x3ff)](),this['dispose$']['complete']();}[_0x5bb7a4(0x27a)](){const _0x171949=_0x5bb7a4;var _0x3473f1,_0x4278f4;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3473f1=this['_socket'])==null||_0x3473f1[_0x171949(0x45a)]({'cmd':W[_0x171949(0x2a7)],'data':{'roomID':this[_0x171949(0x2ba)]}}),(_0x4278f4=this['_socket'])==null||_0x4278f4[_0x171949(0x27a)](),this['_event$'][_0x171949(0x313)](),this[_0x171949(0x20f)][_0x171949(0x313)](),this[_0x171949(0x4d2)]();}['_onCombEvent'](_0x1bd2ec){const _0x11557e=_0x5bb7a4;_0x1bd2ec[_0x11557e(0x4d5)]===W['JOIN']?this[_0x11557e(0x518)](_0x1bd2ec):_0x1bd2ec[_0x11557e(0x4d5)]===W[_0x11557e(0x297)]&&this['_onRecvEvent'](_0x1bd2ec);}[_0x5bb7a4(0x3b3)](_0x202c1a){const _0x2e8b46=_0x5bb7a4;this[_0x2e8b46(0x20f)][_0x2e8b46(0x3ff)](0x1),_0x202c1a[_0x2e8b46(0x45a)]({'cmd':W[_0x2e8b46(0x542)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2e8b46(0x2ba)]}]}});}['_onJoinRoomEvent'](_0x5477f0){const _0x19fedf=_0x5bb7a4;var _0x3f50ed;if(_0x5477f0[_0x19fedf(0x4bd)]===Is[_0x19fedf(0x526)]){this[_0x19fedf(0x2a2)][_0x19fedf(0x18e)]({'type':_0x3417d7[_0x19fedf(0x2ad)],'content':this[_0x19fedf(0x4ab)]['t'](_0x19fedf(0x1cd))}),this[_0x19fedf(0x20f)][_0x19fedf(0x3ff)](0x2);return;}this['_sessionStatus$'][_0x19fedf(0x3ff)](0x3);const _0x21a3d2=(_0x3f50ed=_0x5477f0['data']['roomInfos'][this[_0x19fedf(0x2ba)]])==null?void 0x0:_0x3f50ed[_0x19fedf(0x2cc)];_0x21a3d2&&_0x21a3d2[_0x19fedf(0x312)](_0x5a95f1=>this[_0x19fedf(0x49f)][_0x19fedf(0x4b2)](this[_0x19fedf(0x2ba)],_0x5a95f1));}[_0x5bb7a4(0x2a1)](_0x459d77){const _0x5c07f2=_0x5bb7a4;try{const _0x34bcf0=_0x459d77[_0x5c07f2(0x2d5)];switch(_0x34bcf0[_0x5c07f2(0x479)]){case _0x45d469[_0x5c07f2(0x2a5)]:this[_0x5c07f2(0x33a)](_0x34bcf0),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469['USERS_LEAVE']:this[_0x5c07f2(0x38d)](_0x34bcf0),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x4a7)]:case _0x45d469[_0x5c07f2(0x259)]:this[_0x5c07f2(0x32e)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x407)]:this[_0x5c07f2(0x26e)][_0x5c07f2(0x17b)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5c07f2(0x303)](_0x34bcf0)),this['_event$']['next'](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x34d)]:this[_0x5c07f2(0x54a)][_0x5c07f2(0x461)](_0x34bcf0['data']),this['_event$']['next'](_0x34bcf0);break;default:this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);}}catch(_0x5ba8f5){this[_0x5c07f2(0x26e)][_0x5c07f2(0x17b)](_0x5ba8f5,_0x459d77);}}[_0x5bb7a4(0x33a)](_0x186756){const _0x2c9692=_0x5bb7a4;this['_memberService'][_0x2c9692(0x4b2)](this[_0x2c9692(0x2ba)],_0x186756[_0x2c9692(0x2d5)]);}[_0x5bb7a4(0x38d)](_0x43ecf5){const _0x49962c=_0x5bb7a4;this[_0x49962c(0x49f)][_0x49962c(0x4e6)](this[_0x49962c(0x2ba)],_0x43ecf5['data'][_0x49962c(0x2a3)]);}async['send'](_0x1da07e,_0x3f4b6f){const _0x34586b=_0x5bb7a4;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x34586b(0x533));try{_0x1da07e[_0x34586b(0x479)]===_0x45d469[_0x34586b(0x1b5)]&&(this[_0x34586b(0x24e)](),this[_0x34586b(0x51c)](_0x1da07e)),this['_socket'][_0x34586b(0x45a)]({'cmd':W[_0x34586b(0x200)],'routeKey':_0x3f4b6f,'routeType':'','data':_0x1da07e});}catch(_0x53d4b5){this[_0x34586b(0x26e)][_0x34586b(0x17b)](_0x53d4b5);}}[_0x5bb7a4(0x24e)](){const _0xb2f595=_0x5bb7a4;var _0x4caac5;this['_collaborationTimeoutTimer']=window[_0xb2f595(0x273)](()=>{const _0x62e03=_0xb2f595;this[_0x62e03(0x301)]=null,this['_messageService'][_0x62e03(0x18e)]({'type':_0x3417d7['Error'],'content':this[_0x62e03(0x4ab)]['t'](_0x62e03(0x3e8))});},(_0x4caac5=this[_0xb2f595(0x23e)]['getConfig'](bi))!=null?_0x4caac5:Ti);}[_0x5bb7a4(0x42a)](){const _0x4cadcd=_0x5bb7a4;this[_0x4cadcd(0x301)]&&(clearTimeout(this[_0x4cadcd(0x301)]),this[_0x4cadcd(0x301)]=null);}[_0x5bb7a4(0x51c)](_0x488b6c){const _0x477b73=_0x5bb7a4;if(!this[_0x477b73(0x512)])return;const {data:_0x2eae5a}=_0x488b6c,{unitID:_0x253247,changeset:_0x4232be}=_0x2eae5a,{mutations:_0x18bc7b,type:_0x4e9058}=_0x4232be;this['_telemetryInfo']={'unitId':_0x253247,'type':_0x4e9058,'startTime':performance[_0x477b73(0x3d2)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x18bc7b)};}[_0x5bb7a4(0x32e)](){const _0x93b3c9=_0x5bb7a4;if(this[_0x93b3c9(0x512)]){if(!this[_0x93b3c9(0x1b1)]){this['_logService'][_0x93b3c9(0x17b)](_0x93b3c9(0x424),_0x93b3c9(0x377));return;}this[_0x93b3c9(0x1b1)][_0x93b3c9(0x25b)]=performance[_0x93b3c9(0x3d2)](),this['_telemetryInfo'][_0x93b3c9(0x286)]=this[_0x93b3c9(0x1b1)][_0x93b3c9(0x25b)]-this[_0x93b3c9(0x1b1)][_0x93b3c9(0x22c)],this['_telemetryService'][_0x93b3c9(0x22f)](Nr,this[_0x93b3c9(0x1b1)]),this[_0x93b3c9(0x1b1)]=null;}}[_0x5bb7a4(0x3f0)](){const _0x7998b5=_0x5bb7a4;this[_0x7998b5(0x1b1)]=null;}};ts=Br([Ee(0x2,_0x3efec9),Ee(0x3,_0x3e0747),Ee(0x4,_0x38087f),Ee(0x5,_0x2bb536),Ee(0x6,_0x22a3e1(_0x1fdc1b)),Ee(0x7,_0x22a3e1(Ne)),Ee(0x8,_0x22a3e1(wi)),Ee(0x9,_0x4f55bd(_0x1b6586))],ts);var kr=Object[_0x5bb7a4(0x42b)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x49ca9f,_0x303c04,_0x17328e,_0x2bedb6)=>{const _0x56e0dd=_0x5bb7a4;for(var _0x24b59e=_0x2bedb6>0x1?void 0x0:_0x2bedb6?Wr(_0x303c04,_0x17328e):_0x303c04,_0x12d93e=_0x49ca9f[_0x56e0dd(0x282)]-0x1,_0x22e60c;_0x12d93e>=0x0;_0x12d93e--)(_0x22e60c=_0x49ca9f[_0x12d93e])&&(_0x24b59e=(_0x2bedb6?_0x22e60c(_0x303c04,_0x17328e,_0x24b59e):_0x22e60c(_0x24b59e))||_0x24b59e);return _0x2bedb6&&_0x24b59e&&kr(_0x303c04,_0x17328e,_0x24b59e),_0x24b59e;},je=(_0x8540b2,_0x3bd3c9)=>(_0x13305f,_0x5a6791)=>_0x3bd3c9(_0x13305f,_0x5a6791,_0x8540b2);let Ae=class extends _0x1caa36{constructor(_0x872892,_0x3f660e,_0x470a38,_0x1c35bb,_0x3fbfa8,_0x4392f7){const _0x52c720=_0x5bb7a4;super(),g(this,_0x52c720(0x27d),new _0x348a88(void 0x0)),g(this,_0x52c720(0x1ad),this[_0x52c720(0x27d)]['asObservable']()),g(this,_0x52c720(0x553),null),g(this,_0x52c720(0x446),new Map()),g(this,_0x52c720(0x281),new _0x348a88(ve[_0x52c720(0x444)])),g(this,_0x52c720(0x1ba),this[_0x52c720(0x281)][_0x52c720(0x1a6)]()),g(this,_0x52c720(0x33d),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x52c720(0x24b),0x0),g(this,_0x52c720(0x1d3)),g(this,_0x52c720(0x239)),(this['_injector']=_0x872892,this[_0x52c720(0x4ab)]=_0x3f660e,this[_0x52c720(0x2a2)]=_0x470a38,this[_0x52c720(0x26e)]=_0x1c35bb,this['_configService']=_0x3fbfa8,this['_socketService']=_0x4392f7,this[_0x52c720(0x20a)]());}get[_0x5bb7a4(0x323)](){return this['_socket$']['getValue']();}[_0x5bb7a4(0x20a)](){const _0x4f2913=_0x5bb7a4;this['_listenToOfflineEvent'](),this[_0x4f2913(0x1af)]();}[_0x5bb7a4(0x4d2)](){const _0x575502=_0x5bb7a4;super['dispose'](),this[_0x575502(0x446)][_0x575502(0x312)](_0x5abe7d=>_0x5abe7d[_0x575502(0x4d2)]()),this['_sessions'][_0x575502(0x395)](),this[_0x575502(0x281)][_0x575502(0x313)]();}async['requireSession'](_0x271f7b){const _0x33c085=_0x5bb7a4;if(this[_0x33c085(0x446)][_0x33c085(0x2e6)](_0x271f7b))return this[_0x33c085(0x446)][_0x33c085(0x4f7)](_0x271f7b);this['_tryEnsureSocket']();const _0x45b18f=this[_0x33c085(0x338)]['createInstance'](ts,_0x271f7b,this[_0x33c085(0x27d)][_0x33c085(0x1a6)]());return this[_0x33c085(0x446)][_0x33c085(0x441)](_0x271f7b,_0x45b18f),_0x45b18f;}[_0x5bb7a4(0x165)](_0x5d3450){const _0x265746=_0x5bb7a4;var _0x811c8e;const _0x52c9b4=this[_0x265746(0x446)][_0x265746(0x4f7)](_0x5d3450);_0x52c9b4&&(this['_sessions']['delete'](_0x5d3450),_0x52c9b4[_0x265746(0x27a)]()),this[_0x265746(0x446)]['size']||(_0x811c8e=this['_socket'])==null||_0x811c8e[_0x265746(0x27a)]();}['reconnect'](){const _0x958ae6=_0x5bb7a4;this[_0x958ae6(0x24b)]=0x0,this[_0x958ae6(0x279)]!=null&&(clearTimeout(this[_0x958ae6(0x279)]),this[_0x958ae6(0x279)]=null),this[_0x958ae6(0x280)]();}[_0x5bb7a4(0x218)](){const _0x5a75f2=_0x5bb7a4;var _0x105158,_0x23d12f;const _0x210852=this[_0x5a75f2(0x23e)][_0x5a75f2(0x447)](ur),_0x48e8c6=this[_0x5a75f2(0x23e)][_0x5a75f2(0x447)](ie),_0x45a566=(_0x23d12f=(_0x105158=_0x48e8c6==null?void 0x0:_0x48e8c6[_0x5a75f2(0x56c)])!=null?_0x105158:_0x210852)!=null?_0x23d12f:dr,_0x5c0b89=this[_0x5a75f2(0x19e)][_0x5a75f2(0x343)](_0x45a566);return this[_0x5a75f2(0x553)]=_0x5c0b89,_0x5c0b89;}[_0x5bb7a4(0x1e2)](){const _0x320533=_0x5bb7a4;var _0x2c0234,_0x240689;try{const _0x46b346=(_0x240689=(_0x2c0234=this[_0x320533(0x323)])!=null?_0x2c0234:this['_candidateSocket'])!=null?_0x240689:this[_0x320533(0x218)]();if(_0x46b346){const _0x38af31=_0x46b346[_0x320533(0x45a)];_0x46b346[_0x320533(0x45a)]=_0x3b4638=>(this[_0x320533(0x20d)](),_0x38af31['apply'](_0x46b346,[_0x3b4638])),_0x46b346[_0x320533(0x35f)][_0x320533(0x519)](_0x284c32=>this[_0x320533(0x2f0)](_0x46b346,_0x284c32)),_0x46b346['error$']['pipe'](_0x4b07d5(0x1))['subscribe'](_0x22ea0b=>this[_0x320533(0x26e)][_0x320533(0x17b)](_0x320533(0x528),_0x22ea0b)),_0x46b346[_0x320533(0x3eb)][_0x320533(0x3f1)](_0x4b07d5(0x1))[_0x320533(0x519)](()=>{const _0x59db01=_0x320533;this[_0x59db01(0x3e0)](_0x46b346);}),_0x46b346[_0x320533(0x339)][_0x320533(0x3f1)](_0x4b07d5(0x1))['subscribe'](_0x48044a=>{const _0x1cbae5=_0x320533;this['_logService']['debug'](_0x1cbae5(0x358),_0x1cbae5(0x425),_0x48044a),this[_0x1cbae5(0x1ef)]();});}}catch(_0x1ff35a){this['_logService'][_0x320533(0x17b)](_0x1ff35a),this[_0x320533(0x1ef)]();}}[_0x5bb7a4(0x3e0)](_0x530472){const _0x54c0f5=_0x5bb7a4;this['_logService'][_0x54c0f5(0x23c)](_0x54c0f5(0x358),_0x54c0f5(0x3bd)),_0x530472['send']({'cmd':W[_0x54c0f5(0x183)]}),this[_0x54c0f5(0x20d)]();}['_listenToOfflineEvent'](){const _0x494d0c=_0x5bb7a4;window['addEventListener'](_0x494d0c(0x4ed),()=>this[_0x494d0c(0x4b6)]());}[_0x5bb7a4(0x4b6)](){const _0x259b59=_0x5bb7a4;this[_0x259b59(0x33d)]=!0x1,this['_candidateSocket']=null,this[_0x259b59(0x281)]['next'](ve['OFFLINE']),this['_socket$'][_0x259b59(0x3ff)](null),this[_0x259b59(0x344)](),this[_0x259b59(0x296)]();}[_0x5bb7a4(0x1ef)](){const _0x52d390=_0x5bb7a4;var _0x4478e8;this[_0x52d390(0x4b6)](),this['_retryCount']<((_0x4478e8=this[_0x52d390(0x23e)][_0x52d390(0x447)](pr))!=null?_0x4478e8:gr)?(this['_messageService'][_0x52d390(0x18e)]({'key':'collaboration-session-retry','type':_0x3417d7[_0x52d390(0x2ad)],'content':this[_0x52d390(0x4ab)]['t'](_0x52d390(0x4a8))}),this[_0x52d390(0x280)]()):this['_messageService'][_0x52d390(0x18e)]({'key':_0x52d390(0x482),'type':_0x3417d7[_0x52d390(0x3cb)],'content':this[_0x52d390(0x4ab)]['t'](_0x52d390(0x46e))});}['_listenToOnlineEvent'](){const _0x37d8dd=_0x5bb7a4,_0x215f85=()=>{const _0x2f840d=_0x4081;this[_0x2f840d(0x323)]||this[_0x2f840d(0x328)]();},_0x22f093=()=>{const _0x1dc8d9=_0x4081;this[_0x1dc8d9(0x323)]||document[_0x1dc8d9(0x47b)]===_0x1dc8d9(0x2a8)||this['reconnect']();};window[_0x37d8dd(0x2ab)]('online',_0x215f85),document[_0x37d8dd(0x2ab)](_0x37d8dd(0x1f1),_0x22f093);}['_tryReconnect'](){const _0x54ae29=_0x5bb7a4;var _0x1c523d;const _0x5485fe=this[_0x54ae29(0x24b)],_0x68232a=this['_configService'][_0x54ae29(0x447)](ie),_0x410898=_0x5485fe===0x0?0x0:((_0x1c523d=_0x68232a==null?void 0x0:_0x68232a[_0x54ae29(0x306)])!=null?_0x1c523d:mr)*0x2**_0x5485fe;this[_0x54ae29(0x279)]=window['setTimeout'](()=>{const _0x3edfe7=_0x54ae29;clearTimeout(this[_0x3edfe7(0x279)]),this[_0x3edfe7(0x279)]=null,this['_tryEnsureSocket']();},_0x410898),this[_0x54ae29(0x24b)]+=0x1;}[_0x5bb7a4(0x2f0)](_0x41cf33,_0x4539b1){const _0xcb3279=_0x5bb7a4,{cmd:_0xa1399a}=_0x4539b1;_0xa1399a===W[_0xcb3279(0x183)]&&!this['_socketReady']&&(_0x41cf33[_0xcb3279(0x2a3)]=_0x4539b1[_0xcb3279(0x2d5)][_0xcb3279(0x2a3)],this['_socket$'][_0xcb3279(0x3ff)](_0x41cf33),this[_0xcb3279(0x281)][_0xcb3279(0x3ff)](ve['ONLINE']),this[_0xcb3279(0x33d)]=!0x0,this[_0xcb3279(0x553)]=null),_0xa1399a===W['HEARTBEAT']&&this[_0xcb3279(0x344)](),this['_rescheduleHeartbeat']();}[_0x5bb7a4(0x20d)](){const _0x9ea9a5=_0x5bb7a4;var _0x565efe;this[_0x9ea9a5(0x296)](),this['_sendHeartbeatTimer']=window[_0x9ea9a5(0x273)](()=>this[_0x9ea9a5(0x2e0)](),(_0x565efe=this[_0x9ea9a5(0x23e)][_0x9ea9a5(0x447)](fr))!=null?_0x565efe:vr);}[_0x5bb7a4(0x2e0)](){const _0x3f47ab=_0x5bb7a4;this['_socket'][_0x3f47ab(0x45a)]({'cmd':W['HEARTBEAT']}),this[_0x3f47ab(0x1a9)]();}[_0x5bb7a4(0x1a9)](){const _0x3de223=_0x5bb7a4;var _0x52a84c;this[_0x3de223(0x239)]=window[_0x3de223(0x273)](()=>this[_0x3de223(0x1ef)](),(_0x52a84c=this[_0x3de223(0x23e)][_0x3de223(0x447)](bi))!=null?_0x52a84c:Ti);}[_0x5bb7a4(0x296)](){const _0x103a15=_0x5bb7a4;this[_0x103a15(0x1d3)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x5bb7a4(0x344)](){const _0x57554c=_0x5bb7a4;this[_0x57554c(0x239)]!=null&&(clearTimeout(this[_0x57554c(0x239)]),this[_0x57554c(0x239)]=null);}};Ae=Fr([je(0x0,_0x22a3e1(_0x4c5160)),je(0x1,_0x22a3e1(_0x1fdc1b)),je(0x2,_0x38087f),je(0x3,_0x3efec9),je(0x4,_0x2bb536),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x5bb7a4(0x433)]((i+0x100)[_0x5bb7a4(0x2e5)](0x10)[_0x5bb7a4(0x3e2)](0x1));function Vr(_0x165e12,_0x5805ca=0x0){const _0x189db9=_0x5bb7a4;return(Y[_0x165e12[_0x5805ca+0x0]]+Y[_0x165e12[_0x5805ca+0x1]]+Y[_0x165e12[_0x5805ca+0x2]]+Y[_0x165e12[_0x5805ca+0x3]]+'-'+Y[_0x165e12[_0x5805ca+0x4]]+Y[_0x165e12[_0x5805ca+0x5]]+'-'+Y[_0x165e12[_0x5805ca+0x6]]+Y[_0x165e12[_0x5805ca+0x7]]+'-'+Y[_0x165e12[_0x5805ca+0x8]]+Y[_0x165e12[_0x5805ca+0x9]]+'-'+Y[_0x165e12[_0x5805ca+0xa]]+Y[_0x165e12[_0x5805ca+0xb]]+Y[_0x165e12[_0x5805ca+0xc]]+Y[_0x165e12[_0x5805ca+0xd]]+Y[_0x165e12[_0x5805ca+0xe]]+Y[_0x165e12[_0x5805ca+0xf]])[_0x189db9(0x163)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x52dc0b=_0x5bb7a4;if(!Nt){if(typeof crypto>'u'||!crypto[_0x52dc0b(0x342)])throw new Error(_0x52dc0b(0x39e));Nt=crypto[_0x52dc0b(0x342)]['bind'](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x5bb7a4(0x3ef)](crypto),js={'randomUUID':Kr};function zr(_0x3e344f,_0x2f2b14,_0x52a307){const _0x5e4eae=_0x5bb7a4;if(js[_0x5e4eae(0x335)]&&!_0x2f2b14&&!_0x3e344f)return js[_0x5e4eae(0x335)]();_0x3e344f=_0x3e344f||{};const _0x33e9d1=_0x3e344f[_0x5e4eae(0x453)]||(_0x3e344f[_0x5e4eae(0x2e1)]||Yr)();return _0x33e9d1[0x6]=_0x33e9d1[0x6]&0xf|0x40,_0x33e9d1[0x8]=_0x33e9d1[0x8]&0x3f|0x80,Vr(_0x33e9d1);}var qr=Object['defineProperty'],Xr=Object[_0x5bb7a4(0x4e4)],Jr=(_0x37e58d,_0x16ee5a,_0x2c5d8b,_0x3ea139)=>{const _0x34035e=_0x5bb7a4;for(var _0x4c1fd3=_0x3ea139>0x1?void 0x0:_0x3ea139?Xr(_0x16ee5a,_0x2c5d8b):_0x16ee5a,_0x99d74d=_0x37e58d[_0x34035e(0x282)]-0x1,_0x215e77;_0x99d74d>=0x0;_0x99d74d--)(_0x215e77=_0x37e58d[_0x99d74d])&&(_0x4c1fd3=(_0x3ea139?_0x215e77(_0x16ee5a,_0x2c5d8b,_0x4c1fd3):_0x215e77(_0x4c1fd3))||_0x4c1fd3);return _0x3ea139&&_0x4c1fd3&&qr(_0x16ee5a,_0x2c5d8b,_0x4c1fd3),_0x4c1fd3;},At=(_0x185651,_0xa4d28)=>(_0x3e906d,_0x5784f0)=>_0xa4d28(_0x3e906d,_0x5784f0,_0x185651);let ft=class{constructor(_0x5d79f2,_0x20e8aa,_0x477005){const _0x26cdf1=_0x5bb7a4;this[_0x26cdf1(0x338)]=_0x5d79f2,this[_0x26cdf1(0x1c5)]=_0x20e8aa,this[_0x26cdf1(0x262)]=_0x477005;}['transformIMECache'](_0x9d1624){const _0x20cc54=_0x5bb7a4;this['_transformUndoRedoStack'](_0x9d1624),this[_0x20cc54(0x1d9)](_0x9d1624);}['transformRemoteChangeset'](_0x23f3bf){const _0x3a6777=_0x5bb7a4,{unitID:_0x4bdd38}=_0x23f3bf,_0x380cc9=this[_0x3a6777(0x262)][_0x3a6777(0x177)](_0x4bdd38)[_0x3a6777(0x47c)](_0x4a315f),{redoCache:_0x2c2687}=_0x380cc9[_0x3a6777(0x222)]();if(_0x2c2687[_0x3a6777(0x282)]===0x0)return _0x23f3bf;let _0x1fbfe0=_0x41d014[_0x3a6777(0x1d2)](_0x23f3bf[_0x3a6777(0x47f)][0x0]);for(let _0x3a297a=0x0;_0x3a297a<_0x2c2687[_0x3a6777(0x282)];_0x3a297a++){const _0x1aec67={'id':_0x3a6777(0x557),'params':{..._0x2c2687[_0x3a297a]}},_0x4d467c=this[_0x3a6777(0x1c5)][_0x3a6777(0x4f0)](_0x1fbfe0,_0x1aec67,!0x1);if(_0x35b5b8(_0x4d467c))throw _0x4d467c[_0x3a6777(0x17b)];_0x1fbfe0=_0x4d467c[_0x3a6777(0x40a)];}return{..._0x41d014['deepClone'](_0x23f3bf),'mutations':[_0x1fbfe0]};}[_0x5bb7a4(0x1a4)](_0x396b6b){const _0x5e7f68=_0x5bb7a4,{unitID:_0x58840e}=_0x396b6b,_0x172e6a=this['_renderManagerService'][_0x5e7f68(0x177)](_0x58840e)['with'](_0x4a315f),{undoCache:_0x4d517b,redoCache:_0x1b1c91}=_0x172e6a[_0x5e7f68(0x222)]();if(_0x4d517b[_0x5e7f68(0x282)]===0x0||_0x1b1c91['length']===0x0)return;const _0xe93a36=[],_0x5efcee=[];let _0x458b92=_0x41d014[_0x5e7f68(0x1d2)](_0x396b6b['mutations'][0x0]),_0x1d9cd0=_0x41d014[_0x5e7f68(0x1d2)](_0x396b6b['mutations'][0x0]);for(let _0x8edd88=_0x4d517b['length']-0x1;_0x8edd88>=0x0;_0x8edd88--){const _0xfb9827={'id':_0x5e7f68(0x557),'params':{..._0x4d517b[_0x8edd88]}},_0x1ca1b2={'id':_0x5e7f68(0x557),'params':{..._0x1b1c91[_0x8edd88]}},_0x36c076=this[_0x5e7f68(0x1c5)][_0x5e7f68(0x4f0)](_0x458b92,_0xfb9827,!0x1),_0x5c1669=this[_0x5e7f68(0x1c5)][_0x5e7f68(0x4f0)](_0x1d9cd0,_0x1ca1b2,!0x1);if(_0x35b5b8(_0x36c076))throw _0x36c076['error'];if(_0x35b5b8(_0x5c1669))throw _0x5c1669[_0x5e7f68(0x17b)];_0xe93a36[_0x5e7f68(0x32b)](_0x36c076[_0x5e7f68(0x4d6)]['params']),_0x5efcee[_0x5e7f68(0x32b)](_0x5c1669[_0x5e7f68(0x4d6)]['params']),_0x458b92=_0x36c076[_0x5e7f68(0x40a)],_0x1d9cd0=_0x5c1669[_0x5e7f68(0x40a)];}_0x172e6a['setUndoRedoMutationParamsCache']({'undoCache':_0xe93a36,'redoCache':_0x5efcee});}[_0x5bb7a4(0x1d9)](_0x161188){const _0x5179b0=_0x5bb7a4,{unitID:_0x78b57b}=_0x161188,_0x24fba6=this['_renderManagerService']['getRenderById'](_0x78b57b)[_0x5179b0(0x47c)](_0x4a315f),_0x23fc7c=_0x24fba6[_0x5179b0(0x341)]();if(_0x23fc7c==null)return;const _0x54ba53=[{'id':_0x5179b0(0x557),'params':{'unitId':_0x161188[_0x5179b0(0x4c4)],'actions':null,'textRanges':[_0x23fc7c]}}],_0x553464=this[_0x5179b0(0x1c5)]['transformMutationsWithChangeset'](_0x161188,_0x54ba53);if(!_0x5f43ea(_0x553464))throw _0x553464['error'];const _0x3b9ad3=_0x553464[_0x5179b0(0x4d6)][0x0][_0x5179b0(0x3d9)]['textRanges'];Array[_0x5179b0(0x2f4)](_0x3b9ad3)&&_0x3b9ad3[_0x5179b0(0x282)]&&_0x24fba6[_0x5179b0(0x2b6)](_0x3b9ad3[0x0]);}};ft=Jr([At(0x0,_0x22a3e1(_0x4c5160)),At(0x1,_0x2db4c4),At(0x2,_0x31d8f9)],ft);var Zr=Object[_0x5bb7a4(0x42b)],Qr=Object[_0x5bb7a4(0x4e4)],eo=(_0x1415a8,_0x566779,_0x301e25,_0x26a44f)=>{const _0x2d4861=_0x5bb7a4;for(var _0x157122=_0x26a44f>0x1?void 0x0:_0x26a44f?Qr(_0x566779,_0x301e25):_0x566779,_0x5a585c=_0x1415a8[_0x2d4861(0x282)]-0x1,_0x37826c;_0x5a585c>=0x0;_0x5a585c--)(_0x37826c=_0x1415a8[_0x5a585c])&&(_0x157122=(_0x26a44f?_0x37826c(_0x566779,_0x301e25,_0x157122):_0x37826c(_0x157122))||_0x157122);return _0x26a44f&&_0x157122&&Zr(_0x566779,_0x301e25,_0x157122),_0x157122;},Xe=(_0x24928f,_0x47d195)=>(_0x30d281,_0x41dbc6)=>_0x47d195(_0x30d281,_0x41dbc6,_0x24928f);let q=class extends _0x1caa36{constructor(_0xdf690c,_0x84f84d,_0x37f2f1,_0x2067bc,_0x2e91ec){const _0x535338=_0x5bb7a4;super(),g(this,_0x535338(0x36a),new Map()),g(this,_0x535338(0x2f2),new Map()),g(this,_0x535338(0x318),!0x1),(this[_0x535338(0x23e)]=_0xdf690c,this[_0x535338(0x27f)]=_0x84f84d,this['_beforeCloseService']=_0x37f2f1,this['_localeService']=_0x2067bc,this['_revisionService']=_0x2e91ec,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5bb7a4(0x3ca)](){this['_disabled']=!0x1;}[_0x5bb7a4(0x4d2)](){const _0x4b4066=_0x5bb7a4;this[_0x4b4066(0x550)]()[_0x4b4066(0x40e)](()=>super[_0x4b4066(0x4d2)]());}async['loadOfflineData'](_0x341984){const _0x558e66=_0x5bb7a4;return this[_0x558e66(0x318)]?null:this[_0x558e66(0x27f)][_0x558e66(0x400)](Bs(_0x341984));}async[_0x5bb7a4(0x16a)](_0x1cd4e5,_0x1bb653){const _0x4bb3df=_0x5bb7a4;return!!this[_0x4bb3df(0x27f)]['setItem'](_0x1cd4e5,_0x1bb653);}[_0x5bb7a4(0x21f)](_0x4647fa,_0x44a4f7,_0x30e7b7,_0x10ef7f){const _0x594952=_0x5bb7a4,_0x2fac64=this[_0x594952(0x54c)][_0x594952(0x3f5)](_0x4647fa);this[_0x594952(0x36a)][_0x594952(0x441)](_0x4647fa,{'unitID':_0x4647fa,'type':_0x44a4f7,'awaitingChangeset':_0x30e7b7,'mutations':_0x10ef7f,'rev':_0x2fac64}),this[_0x594952(0x2f2)][_0x594952(0x2e6)](_0x4647fa)||this['_scheduleSaving'](_0x4647fa);}[_0x5bb7a4(0x576)](_0x144e0c){const _0x10d236=_0x5bb7a4,_0x492f2f=this[_0x10d236(0x2ef)]();_0x492f2f===0x0?this[_0x10d236(0x3a2)](_0x144e0c):this[_0x10d236(0x2f2)][_0x10d236(0x441)](_0x144e0c,setTimeout(()=>this[_0x10d236(0x3a2)](_0x144e0c),_0x492f2f));}[_0x5bb7a4(0x2ef)](){const _0x2a567d=_0x5bb7a4;var _0x57fb1d;return(_0x57fb1d=this[_0x2a567d(0x23e)][_0x2a567d(0x447)](Sr))!=null?_0x57fb1d:Ir;}[_0x5bb7a4(0x3a2)](_0xf9d184){const _0x1b9cae=_0x5bb7a4,_0x50d843=this[_0x1b9cae(0x2f2)][_0x1b9cae(0x4f7)](_0xf9d184);return _0x50d843!==void 0x0&&window['clearTimeout'](_0x50d843),this['_localStorageService'][_0x1b9cae(0x411)](Bs(_0xf9d184),this[_0x1b9cae(0x36a)][_0x1b9cae(0x4f7)](_0xf9d184))[_0x1b9cae(0x40e)](()=>this[_0x1b9cae(0x2f2)][_0x1b9cae(0x3d8)](_0xf9d184));}async[_0x5bb7a4(0x550)](){const _0x592891=_0x5bb7a4,_0x3c6052=[];this[_0x592891(0x2f2)]['forEach']((_0x30afc7,_0x4e4298)=>{const _0x13be5e=_0x592891;window['clearTimeout'](_0x30afc7),_0x3c6052[_0x13be5e(0x433)](this['_saveCache'](_0x4e4298)[_0x13be5e(0x40e)](()=>{const _0x23f3c1=_0x13be5e;this[_0x23f3c1(0x2f2)][_0x23f3c1(0x3d8)](_0x4e4298);}));}),await Promise[_0x592891(0x231)](_0x3c6052);}[_0x5bb7a4(0x4e2)](){const _0x3955c4=_0x5bb7a4;this[_0x3955c4(0x368)](this[_0x3955c4(0x414)]['registerBeforeClose'](()=>{const _0x1bf112=_0x3955c4;if(this['_saveTaskMap'][_0x1bf112(0x35a)])return this[_0x1bf112(0x4ab)]['t'](_0x1bf112(0x17c));}));}};q=eo([Xe(0x0,_0x2bb536),Xe(0x1,_0x21f678),Xe(0x2,_0x3e0747),Xe(0x3,_0x22a3e1(_0x1fdc1b)),Xe(0x4,_0x22a3e1(_0x25150b))],q);function Bs(_0x259c3d){const _0x3648b6=_0x5bb7a4;return _0x3648b6(0x1ce)+_0x259c3d;}var to=Object[_0x5bb7a4(0x42b)],so=Object[_0x5bb7a4(0x4e4)],io=(_0x4a9d00,_0x3f95b7,_0xc67a32,_0x7e6241)=>{const _0x255234=_0x5bb7a4;for(var _0x1ced74=_0x7e6241>0x1?void 0x0:_0x7e6241?so(_0x3f95b7,_0xc67a32):_0x3f95b7,_0x561c76=_0x4a9d00[_0x255234(0x282)]-0x1,_0x1021f2;_0x561c76>=0x0;_0x561c76--)(_0x1021f2=_0x4a9d00[_0x561c76])&&(_0x1ced74=(_0x7e6241?_0x1021f2(_0x3f95b7,_0xc67a32,_0x1ced74):_0x1021f2(_0x1ced74))||_0x1ced74);return _0x7e6241&&_0x1ced74&&to(_0x3f95b7,_0xc67a32,_0x1ced74),_0x1ced74;},Mt=(_0x335613,_0x1f12ef)=>(_0x30fbcb,_0x4161b0)=>_0x1f12ef(_0x30fbcb,_0x4161b0,_0x335613);function no(_0x4a6464){const _0x1c7fc1=_0x5bb7a4,{unitID:_0x536e85,mutations:_0x4864bb}=_0x4a6464;return{'unitId':_0x536e85,'subUnitId':_0x4864bb[0x0][_0x1c7fc1(0x3d9)][_0x1c7fc1(0x1c9)]};}let vt=class{constructor(_0x3177d2,_0x558287,_0x54aa83){const _0x45bcb7=_0x5bb7a4;this[_0x45bcb7(0x338)]=_0x3177d2,this['_transformService']=_0x558287,this['_instanceService']=_0x54aa83;}[_0x5bb7a4(0x1a5)](_0x4d254d){const _0x5df2dd=_0x5bb7a4;var _0x400cf8,_0x6fdd09,_0x32dc67,_0x2424db;const _0x3785e5=this['_injector'][_0x5df2dd(0x4f7)](_0x11487d),{unitId:_0x1b6ad7,subUnitId:_0x30f9a0}=no(_0x4d254d),_0x24c8f9=_0x3785e5[_0x5df2dd(0x3a3)](_0x1b6ad7)[_0x5df2dd(0x171)](),_0x205ddc=(_0x6fdd09=(_0x400cf8=this[_0x5df2dd(0x194)][_0x5df2dd(0x406)](_0x1b6ad7))==null?void 0x0:_0x400cf8[_0x5df2dd(0x475)]())==null?void 0x0:_0x6fdd09['getSheetId']();if(_0x24c8f9[_0x5df2dd(0x282)]===0x0||!_0x1b6ad7||!_0x30f9a0)return;const _0x5bb8c2=[{'id':_0x544c74['id'],'params':{'unitId':_0x1b6ad7,'subUnitId':_0x205ddc,'selections':_0x41d014[_0x5df2dd(0x1d2)](_0x24c8f9)}}],_0x3054f4=this[_0x5df2dd(0x1c5)][_0x5df2dd(0x428)](_0x4d254d,_0x5bb8c2);if(!_0x5f43ea(_0x3054f4))throw _0x3054f4[_0x5df2dd(0x17b)];const _0x46e6d0=(_0x2424db=(_0x32dc67=_0x3054f4[_0x5df2dd(0x4d6)][0x0])==null?void 0x0:_0x32dc67['params'])==null?void 0x0:_0x2424db[_0x5df2dd(0x45d)];if(Array[_0x5df2dd(0x2f4)](_0x46e6d0)&&_0x46e6d0['length']){if(_0x46e6d0[_0x5df2dd(0x282)]===_0x5bb8c2[0x0][_0x5df2dd(0x3d9)][_0x5df2dd(0x45d)]['length']&&_0x46e6d0[_0x5df2dd(0x371)]((_0x5b98e2,_0x5cad59)=>_0x49e4db[_0x5df2dd(0x485)](_0x5b98e2[_0x5df2dd(0x2da)],_0x5bb8c2[0x0][_0x5df2dd(0x3d9)][_0x5df2dd(0x45d)][_0x5cad59][_0x5df2dd(0x2da)])))return;this['_injector'][_0x5df2dd(0x4f7)](_0x1e58f0)['executeCommand'](_0x544c74['id'],{'unitId':_0x1b6ad7,'subUnitId':_0x205ddc,'selections':_0x46e6d0});}}};vt=io([Mt(0x0,_0x22a3e1(_0x4c5160)),Mt(0x1,_0x2db4c4),Mt(0x2,_0x2e0534)],vt);const Rt=_0x5ce9a5('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x2632d8=>(_0x2632d8[_0x2632d8[_0x5bb7a4(0x1ee)]=0x0]=_0x5bb7a4(0x1ee),_0x2632d8[_0x2632d8['OTHER_CLIENTS_EDITING']=0x1]=_0x5bb7a4(0x1c1),_0x2632d8))(Di||{});const ks=0x7530,Ws=_0x5bb7a4(0x22e);class ro extends _0x1caa36{constructor(){const _0x4ca5a5=_0x5bb7a4;super(),g(this,'_id',_0x41d014[_0x4ca5a5(0x4d1)]()),g(this,'_selfUnitIDs',new Set()),g(this,'_unitOnClients',new Map()),g(this,_0x4ca5a5(0x367),null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0x4ca5a5(0x515)]();}[_0x5bb7a4(0x4d2)](){const _0x1b9cfc=_0x5bb7a4;super[_0x1b9cfc(0x4d2)](),this['_clearOtherTimers']['forEach']((_0x5607ad,_0x415a54)=>this[_0x1b9cfc(0x276)](_0x415a54)),this[_0x1b9cfc(0x367)]&&window[_0x1b9cfc(0x537)](this[_0x1b9cfc(0x367)]);}['getUnitStatus$'](_0x2b3f2c){const _0x6fea81=_0x5bb7a4;return this['_ensureSubject'](_0x2b3f2c)[_0x6fea81(0x3f1)](_0x2abb77());}['editingUnit'](_0x8b6095){const _0x114b05=_0x5bb7a4;this[_0x114b05(0x257)][_0x114b05(0x35a)]===0x0&&this[_0x114b05(0x2f9)](),this[_0x114b05(0x257)]['add'](_0x8b6095),this[_0x114b05(0x1c7)]({'type':0x0,'memberID':this[_0x114b05(0x452)],'unitIDs':[_0x8b6095],'isForwarded':!0x1});}['disposeUnit'](_0x1989f9){const _0x24efdd=_0x5bb7a4;this[_0x24efdd(0x257)][_0x24efdd(0x3d8)](_0x1989f9),this[_0x24efdd(0x257)][_0x24efdd(0x35a)]===0x0&&this[_0x24efdd(0x367)]&&window[_0x24efdd(0x537)](this['_heartbeatTimer']);}['_init'](){const _0x4fb89a=_0x5bb7a4;this[_0x4fb89a(0x368)](_0x7884da(_0x565a18(window,_0x4fb89a(0x3a5))[_0x4fb89a(0x519)](_0x1b1e28=>{const _0x317661=_0x4fb89a;if(_0x1b1e28[_0x317661(0x275)]!==Ws||!_0x1b1e28['newValue'])return;const _0x2ba492=JSON[_0x317661(0x57c)](_0x1b1e28[_0x317661(0x182)]);this[_0x317661(0x3bb)](_0x2ba492);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x4fb89a(0x452)],'unitIDs':Array['from'](this[_0x4fb89a(0x257)])}));}[_0x5bb7a4(0x3bb)](_0x411ea0){const _0x55d2a2=_0x5bb7a4;switch(_0x411ea0[_0x55d2a2(0x27e)]){case 0x0:this['_handleJoinEvent'](_0x411ea0);break;case 0x1:this[_0x55d2a2(0x1b4)](_0x411ea0);break;case 0x2:this[_0x55d2a2(0x383)](_0x411ea0);break;}}[_0x5bb7a4(0x340)](_0x1795ae){const _0x2da1a9=_0x5bb7a4,{unitIDs:_0x4626a6,memberID:_0x1bf1e7,isForwarded:_0x583ddf}=_0x1795ae;_0x4626a6['forEach'](_0x337ff9=>{const _0x273ba8=_0x4081;if(!_0x583ddf&&this[_0x273ba8(0x2f6)][_0x273ba8(0x2e6)](_0x337ff9)&&this['_ensureSubject'](_0x337ff9)['next'](0x1),!this[_0x273ba8(0x2f6)]['has'](_0x337ff9)||!this[_0x273ba8(0x2f6)][_0x273ba8(0x4f7)](_0x337ff9)['has'](_0x1bf1e7)){const _0x16f3ec=this[_0x273ba8(0x2f6)][_0x273ba8(0x4f7)](_0x337ff9)||new Set();_0x16f3ec[_0x273ba8(0x570)](_0x1bf1e7),this[_0x273ba8(0x2f6)][_0x273ba8(0x441)](_0x337ff9,_0x16f3ec),this[_0x273ba8(0x4b9)](_0x1bf1e7);}}),_0x583ddf||this[_0x2da1a9(0x1c7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2da1a9(0x257)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3a9414){const _0x58548f=_0x5bb7a4;this[_0x58548f(0x276)](_0x3a9414);const _0x4f5c91=window[_0x58548f(0x273)](()=>{const _0x1e234a=_0x58548f;this[_0x1e234a(0x2f6)][_0x1e234a(0x312)](_0x3a29f3=>{const _0xfdfbee=_0x1e234a;_0x3a29f3[_0xfdfbee(0x3d8)](_0x3a9414);});},ks*0x2);this[_0x58548f(0x355)]['set'](_0x3a9414,_0x4f5c91);}['_removeClearOtherTimer'](_0x3663a4){const _0x5105be=_0x5bb7a4;if(this[_0x5105be(0x355)]['has'](_0x3663a4)){const _0xa85783=this[_0x5105be(0x355)][_0x5105be(0x4f7)](_0x3663a4);_0xa85783&&window['clearTimeout'](_0xa85783),this[_0x5105be(0x355)][_0x5105be(0x441)](_0x3663a4,null);}}['_handleLeaveEvent'](_0x514da3){const _0x40a656=_0x5bb7a4,{memberID:_0x33df26,unitIDs:_0x118a30}=_0x514da3;_0x118a30[_0x40a656(0x312)](_0xe713bd=>{const _0x4ff75c=_0x40a656;var _0x13cf83;const _0x43b8dc=this[_0x4ff75c(0x2f6)][_0x4ff75c(0x4f7)](_0xe713bd);_0x43b8dc&&(_0x43b8dc[_0x4ff75c(0x3d8)](_0x33df26),(_0x13cf83=this[_0x4ff75c(0x51d)](_0xe713bd))==null||_0x13cf83[_0x4ff75c(0x3ff)](_0x43b8dc[_0x4ff75c(0x35a)]===0x0?0x0:0x1));}),this[_0x40a656(0x276)](_0x33df26);}['_handleHeartbeatEvent'](_0x2b2a5b){const _0x442df8=_0x5bb7a4;this['_scheduleClearOtherTimer'](_0x2b2a5b[_0x442df8(0x2a3)]);}[_0x5bb7a4(0x1c7)](_0x5119e0){const _0x84a86c=_0x5bb7a4;localStorage[_0x84a86c(0x411)](Ws,JSON[_0x84a86c(0x303)](_0x5119e0));}[_0x5bb7a4(0x2f9)](){const _0x4d207e=_0x5bb7a4;this[_0x4d207e(0x367)]=window[_0x4d207e(0x215)](()=>{const _0x1deb54=_0x4d207e;this[_0x1deb54(0x1c7)]({'type':0x2,'memberID':this[_0x1deb54(0x452)]});},ks);}[_0x5bb7a4(0x51d)](_0x351e5d){const _0x5305e1=_0x5bb7a4;return this[_0x5305e1(0x427)][_0x5305e1(0x2e6)](_0x351e5d)||this['_unitStatus'][_0x5305e1(0x441)](_0x351e5d,new _0x348a88(0x0)),this['_unitStatus'][_0x5305e1(0x4f7)](_0x351e5d);}}var oo=Object[_0x5bb7a4(0x42b)],ao=Object['getOwnPropertyDescriptor'],co=(_0x113839,_0x283493,_0x275afd,_0x38ae04)=>{const _0x50e246=_0x5bb7a4;for(var _0x4d26c8=_0x38ae04>0x1?void 0x0:_0x38ae04?ao(_0x283493,_0x275afd):_0x283493,_0x32ba13=_0x113839[_0x50e246(0x282)]-0x1,_0x2c1fc2;_0x32ba13>=0x0;_0x32ba13--)(_0x2c1fc2=_0x113839[_0x32ba13])&&(_0x4d26c8=(_0x38ae04?_0x2c1fc2(_0x283493,_0x275afd,_0x4d26c8):_0x2c1fc2(_0x4d26c8))||_0x4d26c8);return _0x38ae04&&_0x4d26c8&&oo(_0x283493,_0x275afd,_0x4d26c8),_0x4d26c8;},xt=(_0x28c068,_0x114171)=>(_0x2280b8,_0x2b4842)=>_0x114171(_0x2280b8,_0x2b4842,_0x28c068);let mt=class{constructor(_0x15834c,_0x1e64de,_0x433256){const _0x3d186a=_0x5bb7a4;this[_0x3d186a(0x338)]=_0x15834c,this[_0x3d186a(0x1c5)]=_0x1e64de,this['_docStateChangeManagerService']=_0x433256;}[_0x5bb7a4(0x302)](_0x2e88ef){const _0x38a62b=_0x5bb7a4;this[_0x38a62b(0x37b)](_0x2e88ef);}['transformRemoteChangeset'](_0x51599d){const _0x17b33e=_0x5bb7a4,{unitID:_0x12f027}=_0x51599d,{collaboration:_0x25bd68}=this[_0x17b33e(0x4de)][_0x17b33e(0x31a)](_0x12f027);if(_0x25bd68[_0x17b33e(0x282)]===0x0)return _0x51599d;let _0x367bb1=_0x41d014[_0x17b33e(0x1d2)](_0x51599d[_0x17b33e(0x47f)][0x0]);for(let _0x5e723f=0x0;_0x5e723f<_0x25bd68[_0x17b33e(0x282)];_0x5e723f++){const _0x245a8b={'id':_0x17b33e(0x557),'params':{'unitId':_0x25bd68[_0x5e723f][_0x17b33e(0x55d)],..._0x25bd68[_0x5e723f][_0x17b33e(0x1bf)]}},_0x208c70=this['_transformService'][_0x17b33e(0x4f0)](_0x367bb1,_0x245a8b,!0x1);if(_0x35b5b8(_0x208c70))throw _0x208c70['error'];_0x367bb1=_0x208c70[_0x17b33e(0x40a)];}return{..._0x41d014[_0x17b33e(0x1d2)](_0x51599d),'mutations':[_0x367bb1]};}[_0x5bb7a4(0x37b)](_0x4479b8){const _0x4b8aa7=_0x5bb7a4,{unitID:_0x195b9c}=_0x4479b8,{history:_0xe91dbf,collaboration:_0x58cab9}=this['_docStateChangeManagerService'][_0x4b8aa7(0x31a)](_0x195b9c);if(_0xe91dbf[_0x4b8aa7(0x282)]===0x0&&_0x58cab9[_0x4b8aa7(0x282)]===0x0)return;const _0x88a30d=[],_0x483d0c=[];let _0x509bf1=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8['mutations'][0x0]),_0x51a9d3=_0x41d014['deepClone'](_0x4479b8[_0x4b8aa7(0x47f)][0x0]);for(let _0x5b2141=_0xe91dbf[_0x4b8aa7(0x282)]-0x1;_0x5b2141>=0x0;_0x5b2141--){const _0x2be9f6={'id':_0x4b8aa7(0x557),'params':{'unitId':_0xe91dbf[_0x5b2141][_0x4b8aa7(0x55d)],..._0xe91dbf[_0x5b2141][_0x4b8aa7(0x4b1)]}},_0x2024e2={'id':_0x4b8aa7(0x557),'params':{'unitId':_0xe91dbf[_0x5b2141][_0x4b8aa7(0x55d)],..._0xe91dbf[_0x5b2141][_0x4b8aa7(0x1bf)]}},_0x3f3ffa=this[_0x4b8aa7(0x1c5)]['transformMutation'](_0x509bf1,_0x2be9f6,!0x1),_0x9769f1=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x51a9d3,_0x2024e2,!0x1);if(_0x35b5b8(_0x3f3ffa))throw _0x3f3ffa[_0x4b8aa7(0x17b)];if(_0x35b5b8(_0x9769f1))throw _0x9769f1['error'];_0x88a30d[_0x4b8aa7(0x32b)]({..._0xe91dbf[_0x5b2141],'undoState':_0x3f3ffa[_0x4b8aa7(0x4d6)]['params'],'redoState':_0x9769f1[_0x4b8aa7(0x4d6)]['params']}),_0x509bf1=_0x3f3ffa['m1Prime'],_0x51a9d3=_0x9769f1[_0x4b8aa7(0x40a)];}_0x509bf1=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8[_0x4b8aa7(0x47f)][0x0]),_0x51a9d3=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8[_0x4b8aa7(0x47f)][0x0]);for(let _0x5194d1=_0x58cab9['length']-0x1;_0x5194d1>=0x0;_0x5194d1--){const _0x1f5684={'id':_0x4b8aa7(0x557),'params':{'unitId':_0x58cab9[_0x5194d1][_0x4b8aa7(0x55d)],..._0x58cab9[_0x5194d1]['undoState']}},_0xc275a7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58cab9[_0x5194d1][_0x4b8aa7(0x55d)],..._0x58cab9[_0x5194d1][_0x4b8aa7(0x1bf)]}},_0x1b97a3=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x509bf1,_0x1f5684,!0x1),_0x236200=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x51a9d3,_0xc275a7,!0x1);if(_0x35b5b8(_0x1b97a3))throw _0x1b97a3[_0x4b8aa7(0x17b)];if(_0x35b5b8(_0x236200))throw _0x236200['error'];_0x483d0c['unshift']({..._0x58cab9[_0x5194d1],'undoState':_0x1b97a3[_0x4b8aa7(0x4d6)][_0x4b8aa7(0x3d9)],'redoState':_0x236200[_0x4b8aa7(0x4d6)]['params']}),_0x509bf1=_0x1b97a3[_0x4b8aa7(0x40a)],_0x51a9d3=_0x236200[_0x4b8aa7(0x40a)];}this[_0x4b8aa7(0x4de)][_0x4b8aa7(0x32c)](_0x195b9c,{'history':_0x88a30d,'collaboration':_0x483d0c});}};mt=co([xt(0x0,_0x22a3e1(_0x4c5160)),xt(0x1,_0x2db4c4),xt(0x2,_0x22a3e1(_0x1b1fa1))],mt);function Pi(_0x50187b){const _0x514634=_0x5bb7a4;let _0x211ad6='';for(const _0x4e3710 of _0x50187b){const {startOffset:_0x2f6ed5,endOffset:_0x36e5d8,isActive:_0x24043b,rangeType:_0x215c58,segmentId:_0x48d285,segmentPage:_0x4e51fe}=_0x4e3710;_0x211ad6[_0x514634(0x282)]&&(_0x211ad6+=','),_0x211ad6+=_0x2f6ed5+':'+_0x36e5d8+':'+(_0x24043b?'1':'0')+':'+_0x215c58+':'+_0x48d285+':'+_0x4e51fe;}return _0x211ad6;}function ho(_0x568644){const _0x5e64b3=_0x5bb7a4,_0x564df5=_0x568644[_0x5e64b3(0x19d)](','),_0xe56c1d=[];for(const _0x11d6b9 of _0x564df5){const [_0x3eb31e,_0x62c7c4,_0x3187a,_0x2bd807,_0x22b1e1,_0x25dfeb]=_0x11d6b9[_0x5e64b3(0x19d)](':');_0xe56c1d[_0x5e64b3(0x433)]({'startOffset':Number(_0x3eb31e),'endOffset':Number(_0x62c7c4),'collapsed':_0x3eb31e===_0x62c7c4,'isActive':_0x3187a==='1','rangeType':_0x2bd807===_0x569c02[_0x5e64b3(0x211)]?_0x569c02['TEXT']:_0x569c02['RECT'],'segmentId':typeof _0x22b1e1==_0x5e64b3(0x40c)?String(_0x22b1e1):'','segmentPage':Number(_0x25dfeb!=null?_0x25dfeb:-0x1)});}return _0xe56c1d[_0x5e64b3(0x22b)](_0x117789=>_0x117789[_0x5e64b3(0x3d6)])||(_0xe56c1d[0x0][_0x5e64b3(0x3d6)]=!0x0),_0xe56c1d;}class Cs extends _0x177a9e{constructor(){const _0x2a1dff=_0x5bb7a4;super(...arguments),g(this,'_collabCursorState$',new _0x348a88(null)),g(this,_0x2a1dff(0x3e3),this[_0x2a1dff(0x480)][_0x2a1dff(0x1a6)]());}[_0x5bb7a4(0x4be)](_0x54428e){const _0x157282=_0x5bb7a4,{unitID:_0x16f811,memberID:_0x1946b7,textRanges:_0x4aa854}=_0x54428e,_0xf1c90a=Pi(_0x4aa854);if(_0xf1c90a==='')return;const _0xb9a56e={'unitID':_0x16f811,'memberID':_0x1946b7,'selection':_0xf1c90a};this[_0x157282(0x480)][_0x157282(0x3ff)](_0xb9a56e);}}var lo=Object[_0x5bb7a4(0x42b)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x55459c,_0x75ba39,_0x2de080,_0x2fa0fe)=>{const _0x13a3a1=_0x5bb7a4;for(var _0x44f906=_0x2fa0fe>0x1?void 0x0:_0x2fa0fe?_o(_0x75ba39,_0x2de080):_0x75ba39,_0xbb16=_0x55459c[_0x13a3a1(0x282)]-0x1,_0x5eb527;_0xbb16>=0x0;_0xbb16--)(_0x5eb527=_0x55459c[_0xbb16])&&(_0x44f906=(_0x2fa0fe?_0x5eb527(_0x75ba39,_0x2de080,_0x44f906):_0x5eb527(_0x44f906))||_0x44f906);return _0x2fa0fe&&_0x44f906&&lo(_0x75ba39,_0x2de080,_0x44f906),_0x44f906;},Fs=(_0x17adf6,_0x369d93)=>(_0xc17ed5,_0x5a1493)=>_0x369d93(_0xc17ed5,_0x5a1493,_0x17adf6);let pt=class{constructor(_0x120943,_0x705f1a){const _0x54007c=_0x5bb7a4;this[_0x54007c(0x338)]=_0x120943,this[_0x54007c(0x1c5)]=_0x705f1a;}[_0x5bb7a4(0x1a5)](_0x284dc0){const _0x34e9ce=_0x5bb7a4;var _0x5c9fdd;const _0x2b1cbe=this[_0x34e9ce(0x338)][_0x34e9ce(0x4f7)](_0x4ce6e6),_0x5c49b4=(_0x5c9fdd=_0x2b1cbe[_0x34e9ce(0x1c3)]())!=null?_0x5c9fdd:[];if(_0x5c49b4[_0x34e9ce(0x282)]===0x0)return;const _0x2b573a=_0x284dc0[_0x34e9ce(0x4c4)],_0x187a0a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b573a,'actions':null,'textRanges':_0x5c49b4}}],_0x7ea6f6=this['_transformService'][_0x34e9ce(0x428)](_0x284dc0,_0x187a0a);if(!_0x5f43ea(_0x7ea6f6))throw _0x7ea6f6[_0x34e9ce(0x17b)];const _0x1e81ce=_0x7ea6f6[_0x34e9ce(0x4d6)][0x0][_0x34e9ce(0x3d9)][_0x34e9ce(0x2a0)];Array[_0x34e9ce(0x2f4)](_0x1e81ce)&&_0x1e81ce[_0x34e9ce(0x282)]&&_0x2b1cbe[_0x34e9ce(0x2b5)](_0x1e81ce,{'unitId':_0x2b573a,'subUnitId':_0x2b573a},!0x1);}};pt=uo([Fs(0x0,_0x22a3e1(_0x4c5160)),Fs(0x1,_0x2db4c4)],pt);const fo=new Set([_0x2dfe93['id']]);function Vs(_0x1c67c8,_0x2c67d0,_0x46ada1,_0x43d1d8,_0x5bce87){const _0x148b45=_0x5bb7a4;var _0x234556,_0x13e3e0,_0x232e2c,_0x3ee699;const _0x66ae3d=[];for(const _0x430568 of _0x1c67c8)if(fo[_0x148b45(0x2e6)](_0x430568['id'])){if(_0x66ae3d[_0x148b45(0x282)]>0x0)break;_0x66ae3d[_0x148b45(0x433)](_0x430568);break;}else _0x66ae3d['push'](_0x430568);const _0x599c79=(_0x13e3e0=(_0x234556=_0x5bce87[_0x148b45(0x3b9)]())==null?void 0x0:_0x234556[_0x148b45(0x1e3)])!=null?_0x13e3e0:_0x148b45(0x329),_0x59d302=(_0x3ee699=(_0x232e2c=_0x5bce87['getCurrentUser']())==null?void 0x0:_0x232e2c[_0x148b45(0x2a3)])!=null?_0x3ee699:_0x148b45(0x329);return{'changeset':{'unitID':_0x2c67d0,'type':_0x32a7fd(_0x46ada1[_0x148b45(0x17f)](_0x2c67d0)),'baseRev':_0x43d1d8[_0x148b45(0x3f5)](_0x2c67d0),'revision':0x0,'userID':_0x599c79,'memberID':_0x59d302,'mutations':_0x66ae3d},'pendingMutations':_0x1c67c8[_0x148b45(0x3e2)](_0x66ae3d['length'])};}function vo(_0x300272,_0x4b0e30,_0x567380,_0x4f79bc,_0x3e5545){const _0x57d0b0=_0x5bb7a4;var _0x13740f,_0x3ec54a,_0x94178f,_0x3ef86e;const _0x5a9e7f=[_0x300272['reduce']((_0x34a7e0,_0x333702)=>{const _0x3854ed=_0x4081;var _0x34d3b8;const {id:_0x36fada}=_0x34a7e0,{id:_0x691a51,type:_0x35674a}=_0x333702,_0x7dfc7d=(_0x34d3b8=_0x34a7e0[_0x3854ed(0x3d9)])!=null?_0x34d3b8:{'actions':null},_0x325670=_0x333702[_0x3854ed(0x3d9)];if(_0x36fada&&_0x36fada!==_0x691a51)throw new Error(_0x3854ed(0x3a7)+_0x36fada+_0x3854ed(0x47d)+_0x691a51+'.');return{..._0x34a7e0,'id':_0x691a51,'type':_0x35674a,'params':{'unitId':_0x325670['unitId'],'textRanges':_0x325670[_0x3854ed(0x2a0)],'actions':_0x22592d[_0x3854ed(0x310)](_0x7dfc7d['actions'],_0x325670[_0x3854ed(0x37d)])}};},{})],_0x20093c=(_0x3ec54a=(_0x13740f=_0x3e5545['getCurrentUser']())==null?void 0x0:_0x13740f[_0x57d0b0(0x1e3)])!=null?_0x3ec54a:_0x57d0b0(0x329),_0x1a77f1=(_0x3ef86e=(_0x94178f=_0x3e5545[_0x57d0b0(0x3b9)]())==null?void 0x0:_0x94178f[_0x57d0b0(0x2a3)])!=null?_0x3ef86e:_0x57d0b0(0x329);return{'changeset':{'unitID':_0x4b0e30,'type':_0x32a7fd(_0x567380[_0x57d0b0(0x17f)](_0x4b0e30)),'baseRev':_0x4f79bc[_0x57d0b0(0x3f5)](_0x4b0e30),'revision':0x0,'userID':_0x20093c,'memberID':_0x1a77f1,'mutations':_0x5a9e7f},'pendingMutations':[]};}function Ui(_0x21d06c,_0xd49d08){const _0x3986cc=_0x5bb7a4,_0x72621f=new _0x5c726e(0x1);return setTimeout(()=>_0x72621f[_0x3986cc(0x3ff)](_0xd49d08),_0x21d06c),_0x72621f['asObservable']()['pipe'](_0x35f71d(0x1));}const mo={'id':_0x224c7f['id'],'type':_0x5bf26c[_0x5bb7a4(0x233)],'params':{}};var po=Object[_0x5bb7a4(0x42b)],go=Object[_0x5bb7a4(0x4e4)],Le=(_0x39e3d9,_0x3bab2d,_0x493e90,_0x380eef)=>{const _0x536c19=_0x5bb7a4;for(var _0x206a79=_0x380eef>0x1?void 0x0:_0x380eef?go(_0x3bab2d,_0x493e90):_0x3bab2d,_0x24da5c=_0x39e3d9[_0x536c19(0x282)]-0x1,_0xb7e8ac;_0x24da5c>=0x0;_0x24da5c--)(_0xb7e8ac=_0x39e3d9[_0x24da5c])&&(_0x206a79=(_0x380eef?_0xb7e8ac(_0x3bab2d,_0x493e90,_0x206a79):_0xb7e8ac(_0x206a79))||_0x206a79);return _0x380eef&&_0x206a79&&po(_0x3bab2d,_0x493e90,_0x206a79),_0x206a79;},A=(_0x59c37d,_0x3109bd)=>(_0x25270e,_0x1a00d4)=>_0x3109bd(_0x25270e,_0x1a00d4,_0x59c37d),J=(_0x30e597=>(_0x30e597[_0x5bb7a4(0x410)]='not_collab',_0x30e597[_0x5bb7a4(0x50e)]='synced',_0x30e597[_0x5bb7a4(0x4e8)]=_0x5bb7a4(0x28b),_0x30e597[_0x5bb7a4(0x2f3)]=_0x5bb7a4(0x31b),_0x30e597[_0x5bb7a4(0x256)]=_0x5bb7a4(0x2ca),_0x30e597[_0x5bb7a4(0x40b)]='fetch_missing',_0x30e597[_0x5bb7a4(0x287)]=_0x5bb7a4(0x438),_0x30e597[_0x5bb7a4(0x23a)]=_0x5bb7a4(0x4ed),_0x30e597))(J||{});const Ni=0xea60;class $e{constructor(_0xbedce3,_0x676562,_0x20e717,_0x42272f,_0x565360,_0x2719e8,_0x5063c9,_0x141868,_0x129906){const _0x477211=_0x5bb7a4;g(this,'_awaitingChangeset',null),g(this,'_pendingMutations',[]),(this[_0x477211(0x4c4)]=_0xbedce3,this[_0x477211(0x27e)]=_0x676562,this[_0x477211(0x29c)]=_0x565360,this[_0x477211(0x53f)]=_0x2719e8,this[_0x477211(0x4bc)]=_0x5063c9,this[_0x477211(0x54c)]=_0x141868,this[_0x477211(0x46d)]=_0x129906,this[_0x477211(0x364)]=_0x20e717,this['_pendingMutations']=_0x42272f);}['_checkMissing'](_0x4a96d0){const _0x4b5f85=_0x5bb7a4,_0xcde877=this['_revisionService'][_0x4b5f85(0x3f5)](this['unitID']);return _0x4a96d0['revision']>_0xcde877+0x1?(this['_handler'][_0x4b5f85(0x46b)]({'from':_0xcde877,'to':_0x4a96d0['revision']-0x1}),!0x0):!0x1;}[_0x5bb7a4(0x35e)](_0x567601){const _0x53cd8d=_0x5bb7a4;this[_0x53cd8d(0x4bc)]['transformUndoRedo'](this[_0x53cd8d(0x4c4)],_0x567601);}['_transformSelections'](_0x168b85){const _0x31c330=_0x5bb7a4;var _0x2c7084,_0x3a3b1f;(_0x3a3b1f=(_0x2c7084=this[_0x31c330(0x29c)])[_0x31c330(0x432)])==null||_0x3a3b1f[_0x31c330(0x1f6)](_0x2c7084,_0x168b85);}[_0x5bb7a4(0x16c)](_0x3c1eb9){const _0x35c4d7=_0x5bb7a4;var _0x3ea7df,_0x44a01f;return(_0x44a01f=(_0x3ea7df=this['_handler'])[_0x35c4d7(0x4a5)])==null?void 0x0:_0x44a01f[_0x35c4d7(0x1f6)](_0x3ea7df,_0x3c1eb9);}[_0x5bb7a4(0x242)](_0x2506ab){const _0x233fa4=_0x5bb7a4;var _0x22b4dc,_0x40cadb;return(_0x40cadb=(_0x22b4dc=this[_0x233fa4(0x29c)])[_0x233fa4(0x3e6)])==null?void 0x0:_0x40cadb[_0x233fa4(0x1f6)](_0x22b4dc,_0x2506ab);}[_0x5bb7a4(0x232)](_0x269576){const _0x259131=_0x5bb7a4;var _0x2a1c34,_0x286018,_0x1bfb99;return(_0x1bfb99=(_0x286018=(_0x2a1c34=this[_0x259131(0x29c)])[_0x259131(0x1bd)])==null?void 0x0:_0x286018['call'](_0x2a1c34,_0x269576))!=null?_0x1bfb99:_0x269576;}[_0x5bb7a4(0x22a)](_0xed76b6){const _0x3c6223=_0x5bb7a4;var _0x387da5,_0x4b3b8e,_0x150f51;return(_0x150f51=(_0x4b3b8e=(_0x387da5=this[_0x3c6223(0x29c)])[_0x3c6223(0x25f)])==null?void 0x0:_0x4b3b8e['call'](_0x387da5,_0xed76b6))!=null?_0x150f51:_0xed76b6;}[_0x5bb7a4(0x2f5)](_0x2ba6c2){const _0xa0769d=_0x5bb7a4;var _0x4391e0,_0x35edc9;if(this['type']===ce[_0xa0769d(0x172)]){const {unitID:_0x16675d,mutations:_0x2265c4,memberID:_0x30bd6d}=_0x2ba6c2,_0x2a6593=_0x2265c4[0x0][_0xa0769d(0x3d9)][_0xa0769d(0x2a0)];Array[_0xa0769d(0x2f4)](_0x2a6593)&&_0x2a6593[_0xa0769d(0x282)]>0x0&&((_0x35edc9=(_0x4391e0=this[_0xa0769d(0x29c)])[_0xa0769d(0x559)])==null||_0x35edc9[_0xa0769d(0x1f6)](_0x4391e0,{'unitID':_0x16675d,'memberID':_0x30bd6d,'textRanges':_0x2a6593}));}}['_updateLocalCache'](){const _0x48dd55=_0x5bb7a4;this[_0x48dd55(0x46d)][_0x48dd55(0x21f)](this[_0x48dd55(0x4c4)],this['type'],this[_0x48dd55(0x364)],this[_0x48dd55(0x309)]);}[_0x5bb7a4(0x1eb)](){const _0x44555a=_0x5bb7a4;return this[_0x44555a(0x54c)][_0x44555a(0x3f5)](this[_0x44555a(0x4c4)]);}[_0x5bb7a4(0x283)](){const _0x5c3abb=_0x5bb7a4;this[_0x5c3abb(0x54c)]['incrementRevOfUnit'](this[_0x5c3abb(0x4c4)]);}[_0x5bb7a4(0x541)](_0xb19fb7){const _0x540c90=_0x5bb7a4;var _0xb84850;let _0x5967df=this[_0x540c90(0x232)](_0xb19fb7);_0x5967df=this[_0x540c90(0x22a)](_0x5967df);const _0x256187=_0x9b12cf(_0x5967df[_0x540c90(0x47f)],this[_0x540c90(0x53f)],{'fromCollab':!0x0});if(!_0x256187[_0x540c90(0x1b0)])throw _0x256187[_0x540c90(0x17b)]instanceof Error?_0x256187[_0x540c90(0x17b)]:new Error((_0xb84850=_0x256187[_0x540c90(0x17b)])!=null?_0xb84850:'[CollaborationState]:\x20apply\x20error!');this[_0x540c90(0x16c)](_0x5967df),this[_0x540c90(0x242)](_0x5967df),this[_0x540c90(0x35e)](_0xb19fb7),this[_0x540c90(0x50d)](_0x5967df),this[_0x540c90(0x2f5)](_0x5967df),this[_0x540c90(0x283)]();}}let Fe=class extends $e{constructor(_0x4f9748,_0x5d67f8,_0x176d2c,_0x1bd1f0,_0x4a1f08,_0x49f08d,_0x33f884,_0x2aa533,_0x8f02fd,_0x52ab78){const _0x3b9efe=_0x5bb7a4;super(_0x4f9748,_0x5d67f8,null,[],_0x176d2c,_0x2aa533,_0x33f884,_0x1bd1f0,_0x4a1f08),g(this,'status',_0x3b9efe(0x4b0)),(this[_0x3b9efe(0x338)]=_0x49f08d,this[_0x3b9efe(0x26e)]=_0x8f02fd,this[_0x3b9efe(0x1c5)]=_0x52ab78);}[_0x5bb7a4(0x260)](_0x3e3518){const _0x2d3401=_0x5bb7a4,_0x807bd4=this[_0x2d3401(0x338)][_0x2d3401(0x30c)](pe,this[_0x2d3401(0x4c4)],this[_0x2d3401(0x27e)],[_0x3e3518],this['_handler']);return _0x807bd4[_0x2d3401(0x422)](),_0x807bd4[_0x2d3401(0x4f4)](),_0x807bd4;}[_0x5bb7a4(0x38e)](_0x4d15dc){const _0x8953c2=_0x5bb7a4;if(this[_0x8953c2(0x547)](_0x4d15dc))return this[_0x8953c2(0x338)]['createInstance'](he,this[_0x8953c2(0x4c4)],this[_0x8953c2(0x27e)],null,[],null,[_0x4d15dc],this['_handler']);try{const _0x523e02=this['_transformService'][_0x8953c2(0x428)](_0x4d15dc,[mo]);if(_0x5f43ea(_0x523e02)){const {c1Prime:_0x294cb0}=_0x523e02;return this[_0x8953c2(0x541)](_0x294cb0),this;}throw _0x523e02['error'];}catch(_0x419c10){return this[_0x8953c2(0x26e)][_0x8953c2(0x17b)](_0x419c10),this[_0x8953c2(0x2d2)](!0x1);}}[_0x5bb7a4(0x2d2)](_0x447e87){const _0x52cf8f=_0x5bb7a4;return this[_0x52cf8f(0x338)][_0x52cf8f(0x30c)](Re,this[_0x52cf8f(0x4c4)],this[_0x52cf8f(0x27e)],null,[],this[_0x52cf8f(0x29c)],_0x447e87);}[_0x5bb7a4(0x30e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5bb7a4(0x2eb)](){const _0x139052=_0x5bb7a4;throw new Error(_0x139052(0x3b1));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x214e5b=_0x5bb7a4;return this[_0x214e5b(0x338)][_0x214e5b(0x30c)](ye,this[_0x214e5b(0x4c4)],this[_0x214e5b(0x27e)],null,[],this[_0x214e5b(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}['resend'](){const _0x17a636=_0x5bb7a4;throw new Error(_0x17a636(0x3bf));}[_0x5bb7a4(0x560)](){const _0xce9466=_0x5bb7a4,_0x49d018=this[_0xce9466(0x54c)][_0xce9466(0x3f5)](this[_0xce9466(0x4c4)]);return this[_0xce9466(0x29c)][_0xce9466(0x46b)]({'from':_0x49d018,'to':0x0}),this[_0xce9466(0x338)]['createInstance'](he,this[_0xce9466(0x4c4)],this[_0xce9466(0x27e)],null,[],null,[],this['_handler']);}};Fe=Le([A(0x3,_0x22a3e1(_0x25150b)),A(0x4,_0x22a3e1(q)),A(0x5,_0x22a3e1(_0x4c5160)),A(0x6,_0x131129),A(0x7,_0x1e58f0),A(0x8,_0x3efec9),A(0x9,_0x2db4c4)],Fe);let pe=class extends $e{constructor(_0x3edbf4,_0x4c7db8,_0xa92ce8,_0xbfe2d9,_0x2a829f,_0x5be449,_0x1f75a3,_0xe82d45,_0x5d3c79,_0xaf7289,_0x2a3df2,_0x5238ed,_0xfd9cb1,_0x6ee37d){const _0x3d02de=_0x5bb7a4;super(_0x3edbf4,_0x4c7db8,null,_0xa92ce8,_0xbfe2d9,_0xaf7289,_0x6ee37d,_0x5be449,_0x1f75a3),g(this,_0x3d02de(0x1ff),_0x3d02de(0x28b)),g(this,_0x3d02de(0x39b),null),g(this,'_sendingTimer',null),(this[_0x3d02de(0x338)]=_0x2a829f,this[_0x3d02de(0x49f)]=_0xe82d45,this['_logService']=_0x5d3c79,this[_0x3d02de(0x23e)]=_0x2a3df2,this[_0x3d02de(0x1c5)]=_0x5238ed,this[_0x3d02de(0x21d)]=_0xfd9cb1);}[_0x5bb7a4(0x260)](_0x202ec8){const _0x373919=_0x5bb7a4;return this[_0x373919(0x309)][_0x373919(0x433)](_0x202ec8),this[_0x373919(0x4f4)](),this;}['onRemoteChangeset'](_0x51a5d2){const _0x259bc5=_0x5bb7a4;if(this[_0x259bc5(0x547)](_0x51a5d2))return this[_0x259bc5(0x3c2)](),this[_0x259bc5(0x338)][_0x259bc5(0x30c)](he,this[_0x259bc5(0x4c4)],this[_0x259bc5(0x27e)],null,this[_0x259bc5(0x309)],null,[_0x51a5d2],this[_0x259bc5(0x29c)]);try{const _0x49ad71=this['_transformService'][_0x259bc5(0x428)](_0x51a5d2,this[_0x259bc5(0x309)]);if(_0x5f43ea(_0x49ad71)){const {c1Prime:_0x5ac0dd,m2Prime:_0x32d2a4}=_0x49ad71;this[_0x259bc5(0x541)](_0x5ac0dd);const _0x27caa9=this[_0x259bc5(0x338)][_0x259bc5(0x30c)](pe,this['unitID'],this[_0x259bc5(0x27e)],_0x32d2a4,this[_0x259bc5(0x29c)]);return this[_0x259bc5(0x3c2)](),_0x27caa9[_0x259bc5(0x422)](this[_0x259bc5(0x39b)]?Math['max'](0x0,new Date()[_0x259bc5(0x2c2)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x27caa9;}throw _0x49ad71['error'];}catch(_0x189a2c){return this[_0x259bc5(0x26e)][_0x259bc5(0x17b)](_0x189a2c),this[_0x259bc5(0x2d2)](!0x1);}}[_0x5bb7a4(0x30e)](){const _0x5d1f65=_0x5bb7a4;throw new Error(_0x5d1f65(0x47a));}[_0x5bb7a4(0x2eb)](){const _0x49f3f7=_0x5bb7a4;throw new Error(_0x49f3f7(0x584));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x3cf014=_0x5bb7a4;return this[_0x3cf014(0x3c2)](),this[_0x3cf014(0x338)][_0x3cf014(0x30c)](ye,this[_0x3cf014(0x4c4)],this['type'],null,this[_0x3cf014(0x309)],this[_0x3cf014(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x422)](_0x36393a){const _0x27d283=_0x5bb7a4,_0x12df44=_0x36393a!=null?_0x36393a:this[_0x27d283(0x2be)]();this[_0x27d283(0x39b)]=new Date()[_0x27d283(0x2c2)](),this['_sendingTimer']=window[_0x27d283(0x273)](()=>{const _0x156f0a=_0x27d283;this[_0x156f0a(0x3c2)]();let _0x1af267=null;switch(this['type']){case ce[_0x156f0a(0x55b)]:{_0x1af267=Vs(this[_0x156f0a(0x309)],this[_0x156f0a(0x4c4)],this['_univerInstanceService'],this['_revisionService'],this[_0x156f0a(0x49f)]);break;}case ce['UNIVER_DOC']:{this['_pendingMutations'][_0x156f0a(0x371)](_0x12cb6c=>_0x12cb6c['id']===_0x185e84['id'])?_0x1af267=vo(this['_pendingMutations'],this[_0x156f0a(0x4c4)],this[_0x156f0a(0x21d)],this[_0x156f0a(0x54c)],this[_0x156f0a(0x49f)]):_0x1af267=Vs(this[_0x156f0a(0x309)],this[_0x156f0a(0x4c4)],this[_0x156f0a(0x21d)],this[_0x156f0a(0x54c)],this[_0x156f0a(0x49f)]);break;}default:throw new Error(_0x156f0a(0x17a)+this['type']+_0x156f0a(0x1a2));}const {changeset:_0x4d4613,pendingMutations:_0x5f52ba}=_0x1af267;this[_0x156f0a(0x29c)][_0x156f0a(0x2e8)](_0x4d4613);const _0x5cd02c=_0x5f52ba['length']?this[_0x156f0a(0x338)][_0x156f0a(0x30c)](ge,this['unitID'],this[_0x156f0a(0x27e)],_0x4d4613,_0x5f52ba,this[_0x156f0a(0x29c)],void 0x0):this['_injector'][_0x156f0a(0x30c)](Te,this['unitID'],this[_0x156f0a(0x27e)],_0x4d4613,this[_0x156f0a(0x29c)]);_0x5cd02c[_0x156f0a(0x4f4)](),this[_0x156f0a(0x29c)][_0x156f0a(0x4a0)](this,_0x5cd02c);},_0x12df44);}[_0x5bb7a4(0x2be)](){const _0x5cd9f6=_0x5bb7a4;var _0x53d744;const _0x5c6e95=this[_0x5cd9f6(0x23e)]['getConfig'](ie);return(_0x53d744=_0x5c6e95==null?void 0x0:_0x5c6e95[_0x5cd9f6(0x56a)])!=null?_0x53d744:_r;}['resend'](){const _0x443163=_0x5bb7a4;throw new Error(_0x443163(0x35d));}['_clearScheduledTask'](){const _0x599304=_0x5bb7a4;this['_sendingTimer']!=null&&(clearTimeout(this[_0x599304(0x3e7)]),this['_sendingTimer']=null);}[_0x5bb7a4(0x2d2)](_0x34971f){const _0x26c8c1=_0x5bb7a4;return this[_0x26c8c1(0x3c2)](),this[_0x26c8c1(0x338)]['createInstance'](Re,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x26c8c1(0x29c)],_0x34971f);}};pe=Le([A(0x4,_0x22a3e1(_0x4c5160)),A(0x5,_0x22a3e1(_0x25150b)),A(0x6,_0x22a3e1(q)),A(0x7,_0x22a3e1(Ne)),A(0x8,_0x3efec9),A(0x9,_0x1e58f0),A(0xa,_0x2bb536),A(0xb,_0x2db4c4),A(0xc,_0x2e0534),A(0xd,_0x131129)],pe);let Te=class extends $e{constructor(_0xd7a5d,_0x377c63,_0x24771b,_0x3770a5,_0x12f163,_0x2f880a,_0x2e10bf,_0x1d8b66,_0x47c7ed,_0xdbcfb4,_0x2d7a31){const _0x3e8a7e=_0x5bb7a4;super(_0xd7a5d,_0x377c63,_0x24771b,[],_0x3770a5,_0x1d8b66,_0x2d7a31,_0x2f880a,_0x2e10bf),g(this,_0x3e8a7e(0x1ff),_0x3e8a7e(0x31b)),g(this,_0x3e8a7e(0x54d),0x0),g(this,_0x3e8a7e(0x25e)),g(this,'_sender'),(this['_injector']=_0x12f163,this['_logService']=_0x47c7ed,this[_0x3e8a7e(0x1c5)]=_0xdbcfb4);}[_0x5bb7a4(0x260)](_0x69568c){const _0x5476c3=_0x5bb7a4;this[_0x5476c3(0x3c2)]();const _0x3300d8=this[_0x5476c3(0x338)][_0x5476c3(0x30c)](ge,this[_0x5476c3(0x4c4)],this[_0x5476c3(0x27e)],this[_0x5476c3(0x364)],[_0x69568c],this['_handler'],this[_0x5476c3(0x25e)]);return _0x3300d8[_0x5476c3(0x4f4)](),_0x3300d8;}[_0x5bb7a4(0x38e)](_0x1987ea){const _0x27c8b1=_0x5bb7a4;if(this[_0x27c8b1(0x547)](_0x1987ea))return this[_0x27c8b1(0x3c2)](),this['_injector']['createInstance'](he,this[_0x27c8b1(0x4c4)],this[_0x27c8b1(0x27e)],this[_0x27c8b1(0x364)],[],null,[_0x1987ea],this[_0x27c8b1(0x29c)]);try{const _0x160807=this['_transformService']['transformChangesets']([_0x1987ea],[this['_awaitingChangeset']],!0x1);if(_0x3e05e4(_0x160807)){const {c1Prime:_0xfa7f9b,c2Prime:_0x4bf791}=_0x160807;this[_0x27c8b1(0x541)](_0xfa7f9b[0x0]),_0x4bf791[0x0][_0x27c8b1(0x2b2)]=this[_0x27c8b1(0x1eb)](),this['_clearScheduledTask']();const _0x1670c5=this[_0x27c8b1(0x338)][_0x27c8b1(0x30c)](Te,this[_0x27c8b1(0x4c4)],this['type'],_0x4bf791[0x0],this[_0x27c8b1(0x29c)]);return _0x1670c5[_0x27c8b1(0x4f4)](),_0x1670c5;}return this[_0x27c8b1(0x2d2)](!0x1);}catch(_0x2d1112){return this[_0x27c8b1(0x26e)][_0x27c8b1(0x17b)](_0x2d1112),this['_onConflict'](!0x1);}}[_0x5bb7a4(0x30e)](_0x25cf1f){const _0x40a147=_0x5bb7a4;this['_clearScheduledTask']();const _0x26dcfa=this[_0x40a147(0x54c)][_0x40a147(0x3f5)](this[_0x40a147(0x4c4)]);if(_0x25cf1f[_0x40a147(0x571)]<_0x26dcfa-0x1)return this;if(this[_0x40a147(0x547)](_0x25cf1f))return this[_0x40a147(0x338)][_0x40a147(0x30c)](he,this[_0x40a147(0x4c4)],this[_0x40a147(0x27e)],null,[],this[_0x40a147(0x364)],[],this[_0x40a147(0x29c)]);this['_incrementRevisionNumber']();const _0x31ac54=this[_0x40a147(0x338)][_0x40a147(0x30c)](Fe,this[_0x40a147(0x4c4)],this[_0x40a147(0x27e)],this[_0x40a147(0x29c)]);return _0x31ac54[_0x40a147(0x4f4)](),_0x31ac54;}['onRemoteRej'](_0x321114){const _0x2598f4=_0x5bb7a4;return this[_0x2598f4(0x2d2)](!!(_0x321114!=null&&_0x321114['isPermissionRej']));}[_0x5bb7a4(0x49a)](_0x169954){const _0x4fd35c=_0x5bb7a4;return this[_0x4fd35c(0x54d)]>Ni?this[_0x4fd35c(0x30b)]():(this[_0x4fd35c(0x25e)]=Ui(this[_0x4fd35c(0x54d)],{'timeout':this[_0x4fd35c(0x54d)],'reqId':_0x169954[_0x4fd35c(0x3f6)]}),this[_0x4fd35c(0x292)]=this['_resendTimer'][_0x4fd35c(0x519)](({reqId:_0x558d7e,timeout:_0x5e5afe})=>{const _0x91b3c8=_0x4fd35c;this[_0x91b3c8(0x30a)](_0x558d7e,_0x5e5afe);}),this);}[_0x5bb7a4(0x30b)](){const _0x40d963=_0x5bb7a4;return this[_0x40d963(0x3c2)](),this[_0x40d963(0x338)][_0x40d963(0x30c)](ye,this[_0x40d963(0x4c4)],this[_0x40d963(0x27e)],this[_0x40d963(0x364)],[],this[_0x40d963(0x29c)]);}['toggleOnline'](){return this;}[_0x5bb7a4(0x581)](){const _0x3a0387=_0x5bb7a4;this[_0x3a0387(0x29c)][_0x3a0387(0x2e8)](this['_awaitingChangeset']);}[_0x5bb7a4(0x2d2)](_0x3a1da2){const _0x24aea3=_0x5bb7a4;return this['_clearScheduledTask'](),this[_0x24aea3(0x338)]['createInstance'](Re,this[_0x24aea3(0x4c4)],this[_0x24aea3(0x27e)],this[_0x24aea3(0x364)],[],this[_0x24aea3(0x29c)],_0x3a1da2);}['_resendWithTimeout'](_0x59ff6c,_0x53e340){const _0x3f71be=_0x5bb7a4;var _0x2b0e77;_0x59ff6c===((_0x2b0e77=this[_0x3f71be(0x364)])==null?void 0x0:_0x2b0e77[_0x3f71be(0x3f6)])&&(this[_0x3f71be(0x581)](),this[_0x3f71be(0x54d)]=_0x53e340===0x0?0x3e8:_0x53e340*0x2);}['_clearScheduledTask'](){const _0x592ff3=_0x5bb7a4;var _0x4590d8;(_0x4590d8=this[_0x592ff3(0x292)])==null||_0x4590d8[_0x592ff3(0x1e1)](),this[_0x592ff3(0x54d)]=0x0;}};Te=Le([A(0x4,_0x22a3e1(_0x4c5160)),A(0x5,_0x22a3e1(_0x25150b)),A(0x6,_0x22a3e1(q)),A(0x7,_0x1e58f0),A(0x8,_0x3efec9),A(0x9,_0x2db4c4),A(0xa,_0x131129)],Te);let ge=class extends $e{constructor(_0x1efed3,_0xa8f04c,_0x78e6dc,_0x57e36d,_0x140f71,_0x33fb05,_0x4a2951,_0x29b1bc,_0x1e6dc1,_0x54b23c,_0x403e00,_0x2b4835,_0x1b1bf0){const _0x2fdb6a=_0x5bb7a4;super(_0x1efed3,_0xa8f04c,_0x78e6dc,_0x57e36d,_0x140f71,_0x54b23c,_0x1b1bf0,_0x29b1bc,_0x1e6dc1),g(this,_0x2fdb6a(0x1ff),'awaiting_with_pending'),g(this,_0x2fdb6a(0x54d),0x0),g(this,_0x2fdb6a(0x25e)),g(this,'_sender'),(this[_0x2fdb6a(0x338)]=_0x4a2951,this[_0x2fdb6a(0x26e)]=_0x403e00,this['_transformService']=_0x2b4835,_0x33fb05&&(this['_resendTimer']=_0x33fb05,this[_0x2fdb6a(0x292)]=this[_0x2fdb6a(0x25e)][_0x2fdb6a(0x519)](({reqId:_0x3c6ab7,timeout:_0x4f5e11})=>{this['_resendWithTimeout'](_0x3c6ab7,_0x4f5e11);})));}[_0x5bb7a4(0x260)](_0x301768){const _0xfe3a8b=_0x5bb7a4;return this[_0xfe3a8b(0x309)][_0xfe3a8b(0x433)](_0x301768),this;}[_0x5bb7a4(0x38e)](_0x72562c){const _0x1e74a2=_0x5bb7a4;if(this['_checkMissing'](_0x72562c))return this[_0x1e74a2(0x3c2)](),this[_0x1e74a2(0x338)][_0x1e74a2(0x30c)](he,this[_0x1e74a2(0x4c4)],this[_0x1e74a2(0x27e)],this[_0x1e74a2(0x364)],this[_0x1e74a2(0x309)],null,[_0x72562c],this[_0x1e74a2(0x29c)]);try{const _0x1d67a3=this[_0x1e74a2(0x1c5)][_0x1e74a2(0x472)]([_0x72562c],[this[_0x1e74a2(0x364)]],!0x1);if(_0x3e05e4(_0x1d67a3)){const {c1Prime:_0x14b7c6,c2Prime:_0xad3774}=_0x1d67a3,_0x3d6f1d=this[_0x1e74a2(0x1c5)][_0x1e74a2(0x428)](_0x14b7c6[0x0],this[_0x1e74a2(0x309)]);if(_0x5f43ea(_0x3d6f1d)){const {c1Prime:_0x12b664,m2Prime:_0x447a0d}=_0x3d6f1d;return this['_executeRemoteChangeset'](_0x12b664),_0xad3774[0x0][_0x1e74a2(0x2b2)]=this[_0x1e74a2(0x1eb)](),this[_0x1e74a2(0x3c2)](),this[_0x1e74a2(0x338)][_0x1e74a2(0x30c)](ge,this[_0x1e74a2(0x4c4)],this[_0x1e74a2(0x27e)],_0xad3774[0x0],_0x447a0d,this[_0x1e74a2(0x29c)],void 0x0);}throw _0x3d6f1d[_0x1e74a2(0x17b)];}throw _0x1d67a3['error'];}catch(_0x566f4f){return this[_0x1e74a2(0x26e)][_0x1e74a2(0x17b)](_0x566f4f),this['_onConflict'](!0x1);}}[_0x5bb7a4(0x30e)](_0x1eca74){const _0x35ae03=_0x5bb7a4;if(this[_0x35ae03(0x3c2)](),this[_0x35ae03(0x547)](_0x1eca74))return this[_0x35ae03(0x338)][_0x35ae03(0x30c)](he,this[_0x35ae03(0x4c4)],this['type'],null,this[_0x35ae03(0x309)],this[_0x35ae03(0x364)],[],this[_0x35ae03(0x29c)]);this[_0x35ae03(0x283)]();const _0x5bfdb6=this[_0x35ae03(0x338)][_0x35ae03(0x30c)](pe,this[_0x35ae03(0x4c4)],this[_0x35ae03(0x27e)],this[_0x35ae03(0x309)],this['_handler']);return _0x5bfdb6['_schedule'](),_0x5bfdb6[_0x35ae03(0x4f4)](),_0x5bfdb6;}[_0x5bb7a4(0x2eb)](_0x36ea21){const _0x29fbae=_0x5bb7a4;return this[_0x29fbae(0x2d2)](!!(_0x36ea21!=null&&_0x36ea21[_0x29fbae(0x28d)]));}[_0x5bb7a4(0x49a)](_0x1b1f61){const _0x248e5e=_0x5bb7a4;return this['_resendTimeout']>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this[_0x248e5e(0x54d)],{'timeout':this[_0x248e5e(0x54d)],'reqId':_0x1b1f61[_0x248e5e(0x3f6)]}),this[_0x248e5e(0x292)]=this[_0x248e5e(0x25e)][_0x248e5e(0x519)](({reqId:_0x1f925a,timeout:_0x4cc888})=>{const _0x3e9fcd=_0x248e5e;this[_0x3e9fcd(0x30a)](_0x1f925a,_0x4cc888);}),this);}[_0x5bb7a4(0x30b)](){const _0x122bd1=_0x5bb7a4;return this[_0x122bd1(0x3c2)](),this[_0x122bd1(0x338)][_0x122bd1(0x30c)](ye,this[_0x122bd1(0x4c4)],this[_0x122bd1(0x27e)],this[_0x122bd1(0x364)],this[_0x122bd1(0x309)],this['_handler']);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x581)](){const _0x3b7fcd=_0x5bb7a4;this[_0x3b7fcd(0x29c)][_0x3b7fcd(0x2e8)](this['_awaitingChangeset']);}[_0x5bb7a4(0x2d2)](_0x132ae9){const _0x50f015=_0x5bb7a4;return this['_clearScheduledTask'](),this[_0x50f015(0x338)][_0x50f015(0x30c)](Re,this['unitID'],this[_0x50f015(0x27e)],null,this[_0x50f015(0x309)],this[_0x50f015(0x29c)],_0x132ae9);}[_0x5bb7a4(0x30a)](_0x57b0a2,_0x3f0182){const _0x3350d6=_0x5bb7a4;var _0x9d4fff;_0x57b0a2===((_0x9d4fff=this['_awaitingChangeset'])==null?void 0x0:_0x9d4fff[_0x3350d6(0x3f6)])&&(this[_0x3350d6(0x581)](),this['_resendTimeout']=_0x3f0182===0x0?0x3e8:_0x3f0182*0x2);}[_0x5bb7a4(0x3c2)](){const _0x27d76d=_0x5bb7a4;var _0x650e85;(_0x650e85=this['_sender'])==null||_0x650e85[_0x27d76d(0x1e1)](),this[_0x27d76d(0x54d)]=0x0;}};ge=Le([A(0x6,_0x22a3e1(_0x4c5160)),A(0x7,_0x22a3e1(_0x25150b)),A(0x8,_0x22a3e1(q)),A(0x9,_0x1e58f0),A(0xa,_0x3efec9),A(0xb,_0x2db4c4),A(0xc,_0x131129)],ge);let Re=class extends $e{constructor(_0x8d974a,_0x22ab48,_0x3638ba,_0x5aece5,_0x5e3b90,_0x4bd0c7=!0x1,_0x518759,_0x466762,_0xf49c70,_0x1e5061,_0x467672,_0x5c8895,_0x3cdaa3){const _0x539ea5=_0x5bb7a4;super(_0x8d974a,_0x22ab48,_0x3638ba,_0x5aece5,_0x5e3b90,_0x466762,_0xf49c70,_0x467672,_0x1e5061),g(this,_0x539ea5(0x1ff),'conflict'),(this[_0x539ea5(0x1ec)]=_0x4bd0c7,this[_0x539ea5(0x167)]=_0x518759,this[_0x539ea5(0x4ab)]=_0x5c8895,this[_0x539ea5(0x4da)]=_0x3cdaa3,this[_0x539ea5(0x389)](),this[_0x539ea5(0x234)](),this[_0x539ea5(0x3af)]());}[_0x5bb7a4(0x260)](){return this;}['onRemoteChangeset'](){return this;}[_0x5bb7a4(0x30e)](){return this;}[_0x5bb7a4(0x2eb)](){return this;}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){return this;}[_0x5bb7a4(0x387)](){return this;}['resend'](){const _0x354ef0=_0x5bb7a4;throw new Error(_0x354ef0(0x212));}['_clearLocalCache'](){const _0x253b7a=_0x5bb7a4;this[_0x253b7a(0x46d)]['updateOfflineData'](this[_0x253b7a(0x4c4)],this[_0x253b7a(0x27e)],null,[]);}[_0x5bb7a4(0x389)](){const _0x1c1f4b=_0x5bb7a4;this[_0x1c1f4b(0x1ec)]?this[_0x1c1f4b(0x4da)]['show']({'title':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x314)),'content':this['_localeService']['t'](_0x1c1f4b(0x456)),'type':'error','duration':0x0}):this[_0x1c1f4b(0x4da)][_0x1c1f4b(0x18e)]({'title':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x393)),'content':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x34e)),'type':_0x1c1f4b(0x17b),'duration':0x0});}[_0x5bb7a4(0x3af)](){const _0x2b215a=_0x5bb7a4;this['_permissionService'][_0x2b215a(0x3fc)](new _0x272dbd(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x22a3e1(_0x59e41b)),A(0x7,_0x1e58f0),A(0x8,_0x131129),A(0x9,_0x22a3e1(q)),A(0xa,_0x22a3e1(_0x25150b)),A(0xb,_0x22a3e1(_0x1fdc1b)),A(0xc,_0x387815)],Re);let ye=class extends $e{constructor(_0x5e356e,_0xbc2114,_0x42e877,_0xb80c0,_0x5b4f23,_0x13cc31,_0x12fffc,_0x25bcff,_0x467798,_0x2cdc0b){const _0x3f1d94=_0x5bb7a4;super(_0x5e356e,_0xbc2114,_0x42e877,_0xb80c0,_0x5b4f23,_0x467798,_0x2cdc0b,_0x12fffc,_0x25bcff),g(this,'status',_0x3f1d94(0x4ed)),this['_injector']=_0x13cc31;}['appendMutation'](_0x31e539){const _0x5b284c=_0x5bb7a4;return this[_0x5b284c(0x309)]['push'](_0x31e539),this[_0x5b284c(0x4f4)](),this;}[_0x5bb7a4(0x38e)](_0xdec1b0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x4a1ed2=_0x5bb7a4;throw new Error(_0x4a1ed2(0x4f9));}[_0x5bb7a4(0x2eb)](){const _0x1e4f56=_0x5bb7a4;throw new Error(_0x1e4f56(0x2fd));}[_0x5bb7a4(0x49a)](){return this;}[_0x5bb7a4(0x30b)](){return this;}[_0x5bb7a4(0x387)](){const _0x4104cd=_0x5bb7a4,{_injector:_0x418423,_pendingMutations:_0x47887d,_awaitingChangeset:_0xe9d61d,unitID:_0x302f6a,_handler:_0x4c5b9b,type:_0x5627b5}=this,_0x7c122e=Ai(_0x418423,_0x302f6a,_0x5627b5,_0xe9d61d,_0x47887d,_0x4c5b9b);return _0x7c122e instanceof pe?_0x7c122e[_0x4104cd(0x422)]():(_0x7c122e instanceof ge||_0x7c122e instanceof Te)&&_0x7c122e[_0x4104cd(0x581)](),_0x7c122e;}[_0x5bb7a4(0x581)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x22a3e1(_0x4c5160)),A(0x6,_0x22a3e1(_0x25150b)),A(0x7,_0x22a3e1(q)),A(0x8,_0x1e58f0),A(0x9,_0x131129)],ye);let he=class extends $e{constructor(_0x36923c,_0x4f8976,_0x195090,_0x3c7a2b,_0xc069cd,_0x38a866,_0x3f1034,_0x4db5cd,_0x1d03dd,_0x52c7c1,_0xdbc544,_0x195b54,_0x7bcfa,_0x446d75){const _0x2100fd=_0x5bb7a4;super(_0x36923c,_0x4f8976,_0x195090,_0x3c7a2b,_0x3f1034,_0x195b54,_0x7bcfa,_0x1d03dd,_0x52c7c1),g(this,'status',_0x2100fd(0x4d8)),(this[_0x2100fd(0x566)]=_0xc069cd,this[_0x2100fd(0x291)]=_0x38a866,this[_0x2100fd(0x338)]=_0x4db5cd,this[_0x2100fd(0x26e)]=_0xdbc544,this['_transformService']=_0x446d75);}[_0x5bb7a4(0x4cf)](_0x5be906){const _0x12ebe6=_0x5bb7a4;try{const _0x30a8c0=[..._0x5be906,...this[_0x12ebe6(0x291)]],_0x2f1467=[this[_0x12ebe6(0x364)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x1ab752=>!!_0x1ab752);let _0x55b5d0,_0xc57d46;if(_0x2f1467[_0x12ebe6(0x282)]){const _0x5f5ddd=this[_0x12ebe6(0x1c5)][_0x12ebe6(0x472)](_0x30a8c0,_0x2f1467,!0x1);if(!_0x3e05e4(_0x5f5ddd))throw _0x5f5ddd[_0x12ebe6(0x17b)];_0x55b5d0=_0x5f5ddd['c1Prime'],_0xc57d46=_0x5f5ddd[_0x12ebe6(0x49d)];}else _0x55b5d0=_0x30a8c0,_0xc57d46=[];let _0x23d9e8=this['_pendingMutations'];_0x55b5d0[_0x12ebe6(0x312)](_0x5a1869=>{const _0x17e6a3=_0x12ebe6;let _0x146be5;if(_0x23d9e8[_0x17e6a3(0x282)]){const _0x220a1e=this[_0x17e6a3(0x1c5)][_0x17e6a3(0x428)](_0x5a1869,_0x23d9e8);if(!_0x5f43ea(_0x220a1e))throw _0x220a1e[_0x17e6a3(0x17b)];_0x146be5=_0x220a1e[_0x17e6a3(0x4a1)],_0x23d9e8=_0x220a1e[_0x17e6a3(0x4d6)];}else _0x146be5=_0x5a1869;this[_0x17e6a3(0x541)](_0x146be5);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0xc57d46[_0x12ebe6(0x282)]&&(_0xc57d46[0x0][_0x12ebe6(0x2b2)]=this[_0x12ebe6(0x1eb)]());let _0x5b872f;if(this[_0x12ebe6(0x364)]&&_0x23d9e8[_0x12ebe6(0x282)]!==0x0)_0x5b872f=this['_injector']['createInstance'](ge,this[_0x12ebe6(0x4c4)],this[_0x12ebe6(0x27e)],_0xc57d46[0x0],_0x23d9e8,this[_0x12ebe6(0x29c)],void 0x0);else{if(this[_0x12ebe6(0x364)]&&_0x23d9e8['length']===0x0)_0xc57d46[0x0][_0x12ebe6(0x2b2)]=this[_0x12ebe6(0x1eb)](),_0x5b872f=this[_0x12ebe6(0x338)][_0x12ebe6(0x30c)](Te,this['unitID'],this['type'],_0xc57d46[0x0],this[_0x12ebe6(0x29c)]);else{if(_0x23d9e8[_0x12ebe6(0x282)]!==0x0){const _0x3ea7ba=this['_injector'][_0x12ebe6(0x30c)](pe,this[_0x12ebe6(0x4c4)],this['type'],_0x23d9e8,this[_0x12ebe6(0x29c)]);_0x3ea7ba['_schedule'](),_0x5b872f=_0x3ea7ba;}else _0x5b872f=this['_injector'][_0x12ebe6(0x30c)](Fe,this[_0x12ebe6(0x4c4)],this['type'],this[_0x12ebe6(0x29c)]);}}return _0x5b872f[_0x12ebe6(0x4f4)](),_0x5b872f;}catch(_0x41e514){return this[_0x12ebe6(0x26e)]['error'](_0x12ebe6(0x2c6),_0x12ebe6(0x1cf),_0x41e514),this[_0x12ebe6(0x338)][_0x12ebe6(0x30c)](Re,this['unitID'],this[_0x12ebe6(0x27e)],this[_0x12ebe6(0x364)],this['_pendingMutations'],this[_0x12ebe6(0x29c)],!0x1);}}[_0x5bb7a4(0x581)](){const _0x3fc346=_0x5bb7a4;throw new Error(_0x3fc346(0x1fd));}[_0x5bb7a4(0x260)](_0x5e8762){const _0x59791a=_0x5bb7a4;return this[_0x59791a(0x309)][_0x59791a(0x433)](_0x5e8762),this;}[_0x5bb7a4(0x38e)](_0x15eb19){const _0x5e6bd5=_0x5bb7a4;return this[_0x5e6bd5(0x291)][_0x5e6bd5(0x433)](_0x15eb19),this;}[_0x5bb7a4(0x30e)](_0xef15d2){const _0x2ce8a4=_0x5bb7a4;if(this[_0x2ce8a4(0x364)])return this[_0x2ce8a4(0x566)]=this[_0x2ce8a4(0x364)],this[_0x2ce8a4(0x364)]=null,this;throw new Error(_0x2ce8a4(0x191));}[_0x5bb7a4(0x2eb)](_0x11e2ff){const _0x5d14e0=_0x5bb7a4;return this['_onConflict'](!!(_0x11e2ff!=null&&_0x11e2ff[_0x5d14e0(0x28d)]));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x15d5a6=_0x5bb7a4;return this[_0x15d5a6(0x338)][_0x15d5a6(0x30c)](ye,this[_0x15d5a6(0x4c4)],this[_0x15d5a6(0x27e)],this[_0x15d5a6(0x364)],this[_0x15d5a6(0x309)],this[_0x15d5a6(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x2d2)](_0x2675c1){const _0x583757=_0x5bb7a4;return this[_0x583757(0x338)][_0x583757(0x30c)](Re,this[_0x583757(0x4c4)],this[_0x583757(0x27e)],this[_0x583757(0x364)],this['_pendingMutations'],this[_0x583757(0x29c)],_0x2675c1);}};he=Le([A(0x7,_0x22a3e1(_0x4c5160)),A(0x8,_0x22a3e1(_0x25150b)),A(0x9,_0x22a3e1(q)),A(0xa,_0x3efec9),A(0xb,_0x1e58f0),A(0xc,_0x131129),A(0xd,_0x2db4c4)],he);function Ai(_0x81ed17,_0x3d6861,_0x10f9f5,_0x376e2e,_0x42bdb2,_0x58c084){const _0x50ce90=_0x5bb7a4;return _0x376e2e&&_0x42bdb2['length']?_0x81ed17[_0x50ce90(0x30c)](ge,_0x3d6861,_0x10f9f5,_0x376e2e,_0x42bdb2,_0x58c084,void 0x0):_0x376e2e?_0x81ed17[_0x50ce90(0x30c)](Te,_0x3d6861,_0x10f9f5,_0x376e2e,_0x58c084):_0x42bdb2[_0x50ce90(0x282)]?_0x81ed17[_0x50ce90(0x30c)](pe,_0x3d6861,_0x10f9f5,_0x42bdb2,_0x58c084):_0x81ed17[_0x50ce90(0x30c)](Fe,_0x3d6861,_0x10f9f5,_0x58c084);}var So=Object[_0x5bb7a4(0x42b)],Io=Object[_0x5bb7a4(0x4e4)],Es=(_0x4eb9a6,_0x1b1258,_0x4d71fd,_0x2de747)=>{const _0x1ae23a=_0x5bb7a4;for(var _0x39f262=_0x2de747>0x1?void 0x0:_0x2de747?Io(_0x1b1258,_0x4d71fd):_0x1b1258,_0x34c82e=_0x4eb9a6[_0x1ae23a(0x282)]-0x1,_0x231a0e;_0x34c82e>=0x0;_0x34c82e--)(_0x231a0e=_0x4eb9a6[_0x34c82e])&&(_0x39f262=(_0x2de747?_0x231a0e(_0x1b1258,_0x4d71fd,_0x39f262):_0x231a0e(_0x39f262))||_0x39f262);return _0x2de747&&_0x39f262&&So(_0x1b1258,_0x4d71fd,_0x39f262),_0x39f262;},H=(_0x177942,_0x402868)=>(_0x428581,_0x30817b)=>_0x402868(_0x428581,_0x30817b,_0x177942);let gt=class extends _0x177a9e{constructor(_0xff4696,_0x1133ae,_0x53d813,_0x4eba08,_0x247423,_0x26a6ca,_0x3f87da,_0x78ea06,_0x57d1b4,_0xdbdae9,_0x317c37,_0x4edc4,_0x3891a6){const _0x5b4ba2=_0x5bb7a4;super(),g(this,_0x5b4ba2(0x227),new _0x348a88(null)),g(this,_0x5b4ba2(0x40f),this['_state$']['asObservable']()),g(this,_0x5b4ba2(0x3fa)),g(this,_0x5b4ba2(0x4a4),!0x1),g(this,_0x5b4ba2(0x4e7),''),g(this,'_changesetReqId',0x0),g(this,_0x5b4ba2(0x1ba),this[_0x5b4ba2(0x40f)][_0x5b4ba2(0x3f1)](_0x5809a7(_0x314e26=>_0x314e26?_0x314e26[_0x5b4ba2(0x1ff)]:J['OFFLINE']),_0x3f1879(0x1))),g(this,_0x5b4ba2(0x4f8),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x5b4ba2(0x4c4)]=_0xff4696,this['session']=_0x1133ae,this[_0x5b4ba2(0x3a6)]=_0x53d813,this['_injector']=_0x4eba08,this[_0x5b4ba2(0x46d)]=_0x247423,this[_0x5b4ba2(0x421)]=_0x26a6ca,this['_localeService']=_0x3f87da,this[_0x5b4ba2(0x54c)]=_0x78ea06,this[_0x5b4ba2(0x26e)]=_0x57d1b4,this[_0x5b4ba2(0x53f)]=_0xdbdae9,this['_messageService']=_0x317c37,this['_permissionService']=_0x4edc4,this[_0x5b4ba2(0x41a)]=_0x3891a6);}get[_0x5bb7a4(0x2fa)](){const _0x1ef88f=_0x5bb7a4;return this[_0x1ef88f(0x3fa)];}async[_0x5bb7a4(0x1d6)](){const _0x5c1ee0=_0x5bb7a4;if(this[_0x5c1ee0(0x2fa)])throw new Error(_0x5c1ee0(0x1d8));await this[_0x5c1ee0(0x515)]();}[_0x5bb7a4(0x569)](){return this['_collaborationPaused']=!0x0,_0x7884da(()=>{const _0x1dd9a2=_0x4081;this[_0x1dd9a2(0x4a4)]=!0x1,this[_0x1dd9a2(0x43a)]();});}[_0x5bb7a4(0x263)](_0x339089){const _0x19af28=_0x5bb7a4;this[_0x19af28(0x3fa)]=_0x339089,this['_state$']['next'](_0x339089);}async['_init'](){const _0x2a4409=_0x5bb7a4;var _0xfc5c22;this[_0x2a4409(0x263)](await this[_0x2a4409(0x294)]()),this[_0x2a4409(0x41a)]&&((_0xfc5c22=this[_0x2a4409(0x41a)])==null||_0xfc5c22[_0x2a4409(0x30d)](this[_0x2a4409(0x4c4)]),this[_0x2a4409(0x368)](this[_0x2a4409(0x41a)][_0x2a4409(0x23b)](this['unitID'])[_0x2a4409(0x519)](_0x4f0e6b=>{const _0x159848=_0x2a4409;this[_0x159848(0x26e)][_0x159848(0x23c)](_0x159848(0x501),'editing\x20status\x20changed\x20to',_0x4f0e6b),_0x4f0e6b===Di['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x159848(0x18e)]({'content':this[_0x159848(0x4ab)]['t'](_0x159848(0x416)),'type':_0x3417d7[_0x159848(0x2ad)]}),this[_0x159848(0x167)]['updatePermissionPoint'](new _0x272dbd(this[_0x159848(0x4c4)])['id'],!0x1),this[_0x159848(0x167)][_0x159848(0x3bc)](!0x1)):(this['_permissionService'][_0x159848(0x3fc)](new _0x272dbd(this[_0x159848(0x4c4)])['id'],!0x0),this[_0x159848(0x167)][_0x159848(0x3bc)](!0x0));})));let _0x3fe2b1=!0x1;return this[_0x2a4409(0x368)](this[_0x2a4409(0x457)][_0x2a4409(0x17e)][_0x2a4409(0x519)](_0x5f34ae=>{const _0x20eb1e=_0x2a4409;_0x5f34ae===ve[_0x20eb1e(0x3e1)]?this[_0x20eb1e(0x55e)](_0x3fe2b1):_0x5f34ae===ve['OFFLINE']&&(_0x3fe2b1=!0x0,this['_toggleOffline']());})),this[_0x2a4409(0x368)](this[_0x2a4409(0x457)][_0x2a4409(0x3e4)]['subscribe'](_0x2cad80=>{const _0x152af0=_0x2a4409;try{switch(_0x2cad80[_0x152af0(0x479)]){case _0x45d469[_0x152af0(0x4df)]:{this['_onRemoteChangeset'](_0x34525f(_0x2cad80['data']));break;}case _0x45d469[_0x152af0(0x4a7)]:{this['_onRemoteACK'](_0x2cad80['data']);break;}case _0x45d469['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x45d469[_0x152af0(0x259)]:{this[_0x152af0(0x374)](_0x2cad80['data']);break;}case _0x45d469[_0x152af0(0x2c8)]:{this['_onFetchMissResult'](_0x2cad80['data'][_0x152af0(0x50c)][_0x152af0(0x2c9)](_0x3cfa75=>_0x34525f(_0x3cfa75)));break;}case _0x45d469[_0x152af0(0x4fb)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x22d164){throw console[_0x152af0(0x17b)](_0x152af0(0x52c),_0x22d164),_0x22d164;}})),this[_0x2a4409(0x3fa)];}[_0x5bb7a4(0x402)](){const _0x37d657=_0x5bb7a4;this[_0x37d657(0x4f8)]=!0x1;}[_0x5bb7a4(0x216)](){const _0x44d8a2=_0x5bb7a4;if(this['_transitionLocked'])throw new Error(_0x44d8a2(0x43f));this[_0x44d8a2(0x4f8)]=!0x0;}[_0x5bb7a4(0x3fd)](_0x2fc6bb){const _0x6804d5=_0x5bb7a4;this['_lockTransition'](),this[_0x6804d5(0x263)](this[_0x6804d5(0x3fa)][_0x6804d5(0x260)](_0x2fc6bb)),this[_0x6804d5(0x402)]();}[_0x5bb7a4(0x506)](_0x3eeb1b){const _0x3f7bbd=_0x5bb7a4;if(!(_0x3eeb1b[_0x3f7bbd(0x571)]<=this[_0x3f7bbd(0x54c)][_0x3f7bbd(0x3f5)](this[_0x3f7bbd(0x4c4)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3f7bbd(0x433)](_0x3eeb1b);return;}this[_0x3f7bbd(0x1f5)](_0x3eeb1b);}}[_0x5bb7a4(0x43a)](){const _0x2fc1d1=_0x5bb7a4;this[_0x2fc1d1(0x42e)]['forEach'](_0x12987a=>this[_0x2fc1d1(0x1f5)](_0x12987a)),this[_0x2fc1d1(0x42e)]=[];}[_0x5bb7a4(0x1f5)](_0x1f594f){const _0x419737=_0x5bb7a4,_0x2ec486=this[_0x419737(0x421)][_0x419737(0x455)]['fetchThroughInterceptors'](this[_0x419737(0x421)][_0x419737(0x455)][_0x419737(0x330)]()['COMPRESS_MUTATION_APPLY'])(_0x1f594f['mutations'],null)||_0x1f594f['mutations'],_0xb3e089={..._0x1f594f,'mutations':_0x2ec486};this[_0x419737(0x216)](),this[_0x419737(0x263)](this[_0x419737(0x3fa)][_0x419737(0x38e)](_0xb3e089)),this['_unlockTransition']();}['_onRemoteACK'](_0x295fb8){const _0x25aaf7=_0x5bb7a4;this[_0x25aaf7(0x216)](),this[_0x25aaf7(0x263)](this['_state'][_0x25aaf7(0x30e)](_0x295fb8)),this[_0x25aaf7(0x402)]();}[_0x5bb7a4(0x3e9)](_0x3fa7d4){const _0x3c1875=_0x5bb7a4;this[_0x3c1875(0x216)](),this[_0x3c1875(0x263)](this['_state'][_0x3c1875(0x2eb)](_0x3fa7d4)),this['_unlockTransition']();}[_0x5bb7a4(0x374)](_0x23c2bc){const _0x397ca9=_0x5bb7a4;this[_0x397ca9(0x216)](),this[_0x397ca9(0x263)](this['_state']['onRemoteRetry'](_0x23c2bc)),this[_0x397ca9(0x402)]();}[_0x5bb7a4(0x37e)](_0x490256){const _0xb168e2=_0x5bb7a4;if(!(this[_0xb168e2(0x3fa)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x44992d=_0x490256[_0xb168e2(0x2c9)](_0x2fcd10=>{const _0x17fad2=_0xb168e2,_0x5b23a8=this[_0x17fad2(0x421)][_0x17fad2(0x455)]['fetchThroughInterceptors'](this[_0x17fad2(0x421)][_0x17fad2(0x455)][_0x17fad2(0x330)]()[_0x17fad2(0x4ac)])(_0x2fcd10[_0x17fad2(0x47f)],null)||_0x2fcd10[_0x17fad2(0x47f)];return{..._0x2fcd10,'mutations':_0x5b23a8};});this[_0xb168e2(0x216)](),this[_0xb168e2(0x263)](this[_0xb168e2(0x3fa)][_0xb168e2(0x4cf)](_0x44992d)),this[_0xb168e2(0x402)]();}['_toggleOffline'](){const _0xe1f5dc=_0x5bb7a4;this[_0xe1f5dc(0x216)](),this[_0xe1f5dc(0x263)](this['_state']['toggleOffline']()),this[_0xe1f5dc(0x402)]();}[_0x5bb7a4(0x55e)](_0x2de8d3=!0x1){const _0x16c7a3=_0x5bb7a4;this['_lockTransition'](),this[_0x16c7a3(0x263)](this['_state'][_0x16c7a3(0x387)]()),this[_0x16c7a3(0x402)]();const _0x1500ab=this[_0x16c7a3(0x3fa)];_0x2de8d3&&_0x1500ab instanceof Fe&&(this[_0x16c7a3(0x216)](),this[_0x16c7a3(0x263)](_0x1500ab[_0x16c7a3(0x560)]()),this['_unlockTransition']());}async[_0x5bb7a4(0x294)](){return new Promise(_0x3161ff=>{const _0x53703d=_0x4081;this['session'][_0x53703d(0x17e)]['pipe'](_0x35f71d(0x1))[_0x53703d(0x519)](async _0x360166=>{_0x3161ff(await this['_createInitialStateImpl'](_0x360166===ve['ONLINE']));});});}[_0x5bb7a4(0x4ef)](){const _0x44952b=_0x5bb7a4,_0x437e16=this[_0x44952b(0x4c4)];return{'onStateChange':(_0x249c57,_0x992ecd)=>{const _0x3bf766=_0x44952b;if(_0x249c57!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x249c57['status']+_0x3bf766(0x2d8)+_0x992ecd[_0x3bf766(0x1ff)]+_0x3bf766(0x168)+this[_0x3bf766(0x3fa)][_0x3bf766(0x1ff)]);this[_0x3bf766(0x263)](_0x992ecd);},'onSendChangeset':_0x513d0e=>{const _0x192ff3=_0x44952b;_0x513d0e[_0x192ff3(0x3dd)]||(_0x513d0e[_0x192ff3(0x3dd)]=this[_0x192ff3(0x4e7)],_0x513d0e[_0x192ff3(0x3f6)]=++this[_0x192ff3(0x437)]);const _0x1c3336={'eventID':_0x45d469['SUBMIT_CHANGESET'],'data':{'unitID':_0x513d0e[_0x192ff3(0x4c4)],'unitType':this[_0x192ff3(0x3a6)],'changeset':_0x513d0e,'memberID':this[_0x192ff3(0x457)][_0x192ff3(0x494)]()}};this[_0x192ff3(0x457)][_0x192ff3(0x45a)](_0x1c3336,this[_0x192ff3(0x4c4)]);},'onMissingChangesets':({from:_0x156357,to:_0x1f2b25})=>{const _0x563da9=_0x44952b;this[_0x563da9(0x26e)][_0x563da9(0x23c)](_0x563da9(0x501),_0x563da9(0x3ea)+_0x156357+_0x563da9(0x223)+_0x1f2b25);const _0x930275={'eventID':_0x45d469[_0x563da9(0x3ce)],'data':{'unitID':_0x437e16,'unitType':this[_0x563da9(0x3a6)],'from':_0x156357,'to':_0x1f2b25}};this['session'][_0x563da9(0x45a)](_0x930275,this[_0x563da9(0x4c4)]);}};}async[_0x5bb7a4(0x351)](_0x20b170){const _0x3274b4=_0x5bb7a4;var _0x4e6d63,_0x25b9db;const _0x17d3dc=await this['_localCacheService']['loadOfflineData'](this[_0x3274b4(0x4c4)]),_0x2b7cf6=(_0x4e6d63=_0x17d3dc==null?void 0x0:_0x17d3dc[_0x3274b4(0x47f)])!=null?_0x4e6d63:[],_0x1f541f=(_0x25b9db=_0x17d3dc==null?void 0x0:_0x17d3dc[_0x3274b4(0x25a)])!=null?_0x25b9db:null,_0x5e3e6e=!!(_0x1f541f!=null&&_0x1f541f['sid'])&&!!(_0x1f541f!=null&&_0x1f541f['reqId']);this[_0x3274b4(0x4e7)]=_0x5e3e6e?_0x1f541f[_0x3274b4(0x3dd)]:zr(),this['_changesetReqId']=_0x5e3e6e?_0x1f541f['reqId']:0x0;const _0x124076=this['unitID'];try{this[_0x3274b4(0x1ac)](_0x1f541f,_0x2b7cf6);}catch(_0x476b65){this[_0x3274b4(0x26e)][_0x3274b4(0x17b)](_0x476b65);}const _0x3244b9=this['_createHandler']();if(_0x20b170){const _0x3ccf52=Ai(this[_0x3274b4(0x338)],_0x124076,this[_0x3274b4(0x3a6)],_0x1f541f,_0x2b7cf6,_0x3244b9);return _0x3ccf52 instanceof pe?_0x3ccf52[_0x3274b4(0x422)]():(_0x3ccf52 instanceof ge||_0x3ccf52 instanceof Te)&&_0x3ccf52[_0x3274b4(0x581)](),_0x3ccf52;}return this['_injector']['createInstance'](ye,_0x124076,this[_0x3274b4(0x3a6)],_0x1f541f,_0x2b7cf6,_0x3244b9);}[_0x5bb7a4(0x1ac)](_0x2a8d1e,_0x4c5f1b){const _0x2f84bc=_0x5bb7a4;var _0x5f118e,_0x2433ea;const _0x333718=this['_compressMutationService'][_0x2f84bc(0x455)][_0x2f84bc(0x4fa)](this['_compressMutationService'][_0x2f84bc(0x455)][_0x2f84bc(0x330)]()['COMPRESS_MUTATION_APPLY']);(_0x5f118e=_0x333718((_0x2a8d1e==null?void 0x0:_0x2a8d1e[_0x2f84bc(0x47f)])||[],null))==null||_0x5f118e['forEach'](_0x9dd3f9=>this[_0x2f84bc(0x53f)]['executeCommand'](_0x9dd3f9['id'],_0x9dd3f9[_0x2f84bc(0x3d9)])),(_0x2433ea=_0x333718(_0x4c5f1b||[],null))==null||_0x2433ea[_0x2f84bc(0x312)](_0x253b93=>this['_commandService']['executeCommand'](_0x253b93['id'],_0x253b93[_0x2f84bc(0x3d9)]));}};gt=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x3efec9),H(0x9,_0x1e58f0),H(0xa,_0x38087f),H(0xb,_0x59e41b),H(0xc,_0x4f55bd(Rt))],gt);let ss=class extends gt{constructor(_0x3ca7e8,_0x41da10,_0x48c4bc,_0x1545ad,_0x54ca39,_0x133a9f,_0x2cea2b,_0x5f017f,_0x1d1cbe,_0x4e866e,_0x3076c6,_0x19cd28,_0x4489f2,_0x1aae28,_0x2c2a92,_0x1e3831,_0x5757f1,_0x5893ed){const _0x207e78=_0x5bb7a4;super(_0x3ca7e8,_0x48c4bc,_0x41da10,_0x1545ad,_0x54ca39,_0x133a9f,_0x2cea2b,_0x5f017f,_0x1aae28,_0x2c2a92,_0x1e3831,_0x5757f1,_0x5893ed),this[_0x207e78(0x4c4)]=_0x3ca7e8,this['type']=_0x41da10,this['_docStateChangeManagerService']=_0x1d1cbe,this[_0x207e78(0x360)]=_0x4e866e,this[_0x207e78(0x3d3)]=_0x3076c6,this[_0x207e78(0x36b)]=_0x19cd28,this[_0x207e78(0x491)]=_0x4489f2;}[_0x5bb7a4(0x4ef)](){const _0x496213=_0x5bb7a4,_0x4b906c=super[_0x496213(0x4ef)]();return _0x4b906c[_0x496213(0x4a5)]=_0x3af37e=>this[_0x496213(0x360)]['transformIMECache'](_0x3af37e),_0x4b906c['onTransformState']=_0x4ab242=>this[_0x496213(0x3d3)]['transformStateCache'](_0x4ab242),_0x4b906c[_0x496213(0x432)]=_0x9d45f9=>this[_0x496213(0x36b)]['transformSelections'](_0x9d45f9),_0x4b906c[_0x496213(0x559)]=_0x54fa55=>this[_0x496213(0x491)][_0x496213(0x4be)](_0x54fa55),_0x4b906c[_0x496213(0x1bd)]=_0x11465c=>this[_0x496213(0x360)][_0x496213(0x465)](_0x11465c),_0x4b906c[_0x496213(0x25f)]=_0x466ab7=>this[_0x496213(0x3d3)]['transformRemoteChangeset'](_0x466ab7),_0x4b906c;}async['_init'](){const _0x3c5a92=_0x5bb7a4,_0x121276=await super['_init']();return this[_0x3c5a92(0x4de)][_0x3c5a92(0x462)][_0x3c5a92(0x3f1)](_0x52fa59(this[_0x3c5a92(0x492)]))[_0x3c5a92(0x519)](_0x182eda=>{const _0xfefdac=_0x3c5a92;if(_0x182eda==null)return;const {unitId:_0x256e07,redoState:_0x102894,commandId:_0x2bff1d}=_0x182eda;if(_0x256e07!==this[_0xfefdac(0x4c4)])return;const _0x469098={'id':_0x2bff1d,'type':_0x5bf26c[_0xfefdac(0x233)],'params':{'unitId':_0x256e07,'actions':_0x102894[_0xfefdac(0x37d)],'textRanges':null}};this[_0xfefdac(0x3fd)](_0x469098);}),_0x121276;}};ss=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x22a3e1(_0x1b1fa1)),H(0x9,_0x22a3e1(ft)),H(0xa,_0x22a3e1(mt)),H(0xb,_0x22a3e1(pt)),H(0xc,_0x22a3e1(Cs)),H(0xd,_0x3efec9),H(0xe,_0x1e58f0),H(0xf,_0x38087f),H(0x10,_0x59e41b),H(0x11,_0x4f55bd(Rt))],ss);let is=class extends gt{constructor(_0x16a136,_0x5806d9,_0x1667f7,_0x39083f,_0x11c235,_0x157703,_0x1d73f9,_0x2bb8fa,_0x3033fb,_0x57aae5,_0x26942d,_0x175078,_0x4a3092,_0x53c827){const _0x49f276=_0x5bb7a4;super(_0x16a136,_0x1667f7,_0x5806d9,_0x39083f,_0x11c235,_0x157703,_0x1d73f9,_0x2bb8fa,_0x57aae5,_0x26942d,_0x175078,_0x4a3092,_0x53c827),this['unitID']=_0x16a136,this[_0x49f276(0x27e)]=_0x5806d9,this[_0x49f276(0x1a0)]=_0x3033fb;}[_0x5bb7a4(0x4ef)](){const _0x5017b5=_0x5bb7a4,_0x583849=super[_0x5017b5(0x4ef)]();return _0x583849[_0x5017b5(0x432)]=_0x2217a1=>this[_0x5017b5(0x1a0)][_0x5017b5(0x1a5)](_0x2217a1),_0x583849;}async[_0x5bb7a4(0x515)](){const _0x234f88=_0x5bb7a4,_0x4084f6=await super[_0x234f88(0x515)]();return this[_0x234f88(0x368)](this[_0x234f88(0x53f)][_0x234f88(0x498)]((_0x4961f4,_0xe6d680)=>{const _0x67853b=_0x234f88;if(_0x4961f4[_0x67853b(0x27e)]!==_0x5bf26c[_0x67853b(0x233)]||_0xe6d680!=null&&_0xe6d680['fromCollab']||_0xe6d680!=null&&_0xe6d680[_0x67853b(0x33f)])return;const _0x5ef1af=_0x4961f4[_0x67853b(0x3d9)];if((_0x5ef1af==null?void 0x0:_0x5ef1af[_0x67853b(0x55d)])!==this[_0x67853b(0x4c4)])return;const _0x3de7e2=_0x4961f4,_0x299f08=this[_0x67853b(0x421)][_0x67853b(0x455)]['fetchThroughInterceptors'](this[_0x67853b(0x421)][_0x67853b(0x455)][_0x67853b(0x330)]()[_0x67853b(0x201)])([_0x3de7e2],null)||[_0x3de7e2];this['_onLocalMutation'](_0x299f08[0x0]);})),_0x4084f6;}};is=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x22a3e1(vt)),H(0x9,_0x3efec9),H(0xa,_0x1e58f0),H(0xb,_0x38087f),H(0xc,_0x59e41b),H(0xd,_0x4f55bd(Rt))],is);var Co=Object[_0x5bb7a4(0x42b)],Eo=Object[_0x5bb7a4(0x4e4)],bo=(_0x1d82e9,_0x38bc05,_0x82a321,_0xafdaf9)=>{for(var _0x979d59=_0xafdaf9>0x1?void 0x0:_0xafdaf9?Eo(_0x38bc05,_0x82a321):_0x38bc05,_0x43c627=_0x1d82e9['length']-0x1,_0x38010b;_0x43c627>=0x0;_0x43c627--)(_0x38010b=_0x1d82e9[_0x43c627])&&(_0x979d59=(_0xafdaf9?_0x38010b(_0x38bc05,_0x82a321,_0x979d59):_0x38010b(_0x979d59))||_0x979d59);return _0xafdaf9&&_0x979d59&&Co(_0x38bc05,_0x82a321,_0x979d59),_0x979d59;},Lt=(_0x1aec3d,_0x55ce4c)=>(_0x5f088e,_0x436ada)=>_0x55ce4c(_0x5f088e,_0x436ada,_0x1aec3d);let it=class extends _0x177a9e{constructor(_0x349cca,_0x4637f4,_0x4a2e79){const _0x20a1d7=_0x5bb7a4;super(),g(this,_0x20a1d7(0x37a),new Map()),g(this,_0x20a1d7(0x3b4),new _0x1b179a()),(this[_0x20a1d7(0x338)]=_0x349cca,this[_0x20a1d7(0x575)]=_0x4637f4,this[_0x20a1d7(0x21d)]=_0x4a2e79,this[_0x20a1d7(0x515)]());}[_0x5bb7a4(0x4d2)](){const _0xedcab4=_0x5bb7a4;super[_0xedcab4(0x4d2)](),this[_0xedcab4(0x37a)]['forEach'](_0x37e41f=>_0x37e41f['dispose']()),this[_0xedcab4(0x37a)][_0xedcab4(0x395)]();}[_0x5bb7a4(0x2c5)](_0xae0cb8){const _0x13cfb5=_0x5bb7a4;var _0x3dd4b3;return(_0x3dd4b3=this[_0x13cfb5(0x37a)]['get'](_0xae0cb8))!=null?_0x3dd4b3:null;}[_0x5bb7a4(0x42f)](_0x1577f0){const _0x10bda5=_0x5bb7a4,_0x3bc605=this[_0x10bda5(0x2c5)](_0x1577f0);return _0x3bc605?_0x52cb6f(_0x3bc605):this['_entityInit$']['pipe'](_0x5a0a20(_0x7690ee=>_0x7690ee['unitID']===_0x1577f0));}[_0x5bb7a4(0x515)](){const _0x18b898=_0x5bb7a4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10a997[_0x18b898(0x55b)])['pipe'](_0x52fa59(this[_0x18b898(0x492)]),_0x1ce989(0x10))[_0x18b898(0x519)](async _0xaff156=>{const _0x156112=_0x18b898,_0x9e85d1=_0xaff156[_0x156112(0x322)](),_0x52e061=await this[_0x156112(0x567)](_0x9e85d1,ce[_0x156112(0x55b)]);this['_entities'][_0x156112(0x441)](_0x9e85d1,_0x52e061);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10a997['UNIVER_DOC'])[_0x18b898(0x3f1)](_0x52fa59(this[_0x18b898(0x492)]),_0x1ce989(0x10))['pipe'](_0x5a0a20(_0x15fd4a=>!_0x15fd4a[_0x18b898(0x322)]()[_0x18b898(0x418)]('__')))[_0x18b898(0x519)](async _0x3cf8d1=>{const _0x54da12=_0x18b898,_0x5d3405=_0x3cf8d1[_0x54da12(0x322)](),_0xa133cb=await this['_startCollaboration'](_0x5d3405,ce[_0x54da12(0x172)]);this['_entities'][_0x54da12(0x441)](_0x5d3405,_0xa133cb);}),_0x4e4735(this[_0x18b898(0x21d)]['getTypeOfUnitDisposed$'](_0x10a997[_0x18b898(0x55b)]),this[_0x18b898(0x21d)][_0x18b898(0x39a)](_0x10a997[_0x18b898(0x172)]))[_0x18b898(0x3f1)](_0x52fa59(this[_0x18b898(0x492)]))[_0x18b898(0x519)](_0x3e6054=>{const _0x2bdedc=_0x18b898,_0x3019e4=_0x3e6054[_0x2bdedc(0x322)](),_0x3e53b6=this[_0x2bdedc(0x37a)]['get'](_0x3019e4);_0x3e53b6&&(_0x3e53b6[_0x2bdedc(0x4d2)](),this[_0x2bdedc(0x37a)][_0x2bdedc(0x3d8)](_0x3019e4));});}async[_0x5bb7a4(0x567)](_0x1b9919,_0x5dad69){const _0x32d7d8=_0x5bb7a4,_0x53c271=await this[_0x32d7d8(0x575)]['requireSession'](_0x1b9919),_0x359c04=this[_0x32d7d8(0x338)][_0x32d7d8(0x30c)](this[_0x32d7d8(0x2fe)](_0x5dad69),_0x1b9919,_0x5dad69,_0x53c271);return await _0x359c04['init'](),this[_0x32d7d8(0x3b4)][_0x32d7d8(0x3ff)](_0x359c04),_0x359c04;}[_0x5bb7a4(0x2fe)](_0x3451af){const _0x127d0c=_0x5bb7a4;switch(_0x3451af){case ce[_0x127d0c(0x172)]:return ss;case ce[_0x127d0c(0x55b)]:return is;default:throw new Error(_0x127d0c(0x19b)+_0x3451af);}}};it=bo([Lt(0x0,_0x22a3e1(_0x4c5160)),Lt(0x1,_0x22a3e1(Ae)),Lt(0x2,_0x2e0534)],it);const Gs=[_0x5bb7a4(0x3f4),_0x5bb7a4(0x4f2),'verdancy600',_0x5bb7a4(0x3c0),_0x5bb7a4(0x176),_0x5bb7a4(0x4bb)];class bs extends _0x1caa36{constructor(){const _0x578e57=_0x5bb7a4;super(...arguments),g(this,_0x578e57(0x2ee),new Map()),g(this,_0x578e57(0x56d),0x0);}[_0x5bb7a4(0x2cf)](_0x8da148){const _0x44271f=_0x5bb7a4;if(this[_0x44271f(0x2ee)][_0x44271f(0x2e6)](_0x8da148))return this[_0x44271f(0x2ee)]['get'](_0x8da148);const _0x5bbaed=Gs[this[_0x44271f(0x56d)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Gs[_0x44271f(0x282)],this[_0x44271f(0x2ee)][_0x44271f(0x441)](_0x8da148,_0x5bbaed),_0x5bbaed;}}var To=Object[_0x5bb7a4(0x42b)],Ro=Object[_0x5bb7a4(0x4e4)],yo=(_0x1e03c5,_0x5b38dc,_0x5075a7,_0x5c70ff)=>{const _0x387061=_0x5bb7a4;for(var _0x3c73fe=_0x5c70ff>0x1?void 0x0:_0x5c70ff?Ro(_0x5b38dc,_0x5075a7):_0x5b38dc,_0x125efd=_0x1e03c5[_0x387061(0x282)]-0x1,_0x27f605;_0x125efd>=0x0;_0x125efd--)(_0x27f605=_0x1e03c5[_0x125efd])&&(_0x3c73fe=(_0x5c70ff?_0x27f605(_0x5b38dc,_0x5075a7,_0x3c73fe):_0x27f605(_0x3c73fe))||_0x3c73fe);return _0x5c70ff&&_0x3c73fe&&To(_0x5b38dc,_0x5075a7,_0x3c73fe),_0x3c73fe;},Oe=(_0x5bd12c,_0x58aff3)=>(_0xe4761c,_0x2f81f1)=>_0x58aff3(_0xe4761c,_0x2f81f1,_0x5bd12c);const Oo=0x12c,wo=0x64;let ns=class extends _0x177a9e{constructor(_0x519625,_0x53814a,_0x2894b9,_0x5d336e,_0x497b88,_0x3da8ff,_0x4e8d6e,_0x14c337,_0x2caffb){const _0x350e99=_0x5bb7a4;super(),g(this,_0x350e99(0x2e3),!0x1),g(this,_0x350e99(0x515),!0x1),g(this,_0x350e99(0x299),new _0x348a88(new Map())),g(this,_0x350e99(0x52f),this[_0x350e99(0x299)][_0x350e99(0x1a6)]()),g(this,_0x350e99(0x208),new _0x348a88([])),g(this,_0x350e99(0x32f),this['_roomMembers$'][_0x350e99(0x3f1)](_0x12cfe4(Oo))),g(this,_0x350e99(0x2ff),_0x47386f(_0x21ff96=>{const _0x457ff5=_0x350e99,_0x4db5a8={'eventID':_0x45d469[_0x457ff5(0x2cd)],'data':{'unitID':this[_0x457ff5(0x4c4)],'memberID':this['_session']['getMemberID'](),'selection':Pi(_0x21ff96)}};this[_0x457ff5(0x42d)][_0x457ff5(0x45a)](_0x4db5a8,this[_0x457ff5(0x4c4)]);},wo)),(this[_0x350e99(0x4c4)]=_0x519625,this[_0x350e99(0x42d)]=_0x53814a,this[_0x350e99(0x338)]=_0x2894b9,this['_colorAssignService']=_0x5d336e,this['_memberService']=_0x497b88,this[_0x350e99(0x532)]=_0x3da8ff,this[_0x350e99(0x1c5)]=_0x4e8d6e,this[_0x350e99(0x21d)]=_0x14c337,this[_0x350e99(0x53f)]=_0x2caffb);}get[_0x5bb7a4(0x466)](){const _0x25896e=_0x5bb7a4;return this[_0x25896e(0x299)][_0x25896e(0x43d)]();}get[_0x5bb7a4(0x18b)](){const _0x1f52bb=_0x5bb7a4;return this[_0x1f52bb(0x208)][_0x1f52bb(0x43d)]();}[_0x5bb7a4(0x4d2)](){const _0x508ad6=_0x5bb7a4;super[_0x508ad6(0x4d2)](),this[_0x508ad6(0x299)][_0x508ad6(0x3ff)](new Map()),this[_0x508ad6(0x299)][_0x508ad6(0x313)](),this[_0x508ad6(0x208)]['next']([]),this['_roomMembers$'][_0x508ad6(0x313)]();}[_0x5bb7a4(0x1d6)](){const _0x5d96c4=_0x5bb7a4;this[_0x5d96c4(0x515)]||(this['_init']=!0x0,this[_0x5d96c4(0x42d)][_0x5d96c4(0x17e)]['pipe'](_0x52fa59(this['dispose$']))[_0x5d96c4(0x519)](_0x3c92ab=>{const _0x22fd49=_0x5d96c4;_0x3c92ab===ve[_0x22fd49(0x3e1)]?this[_0x22fd49(0x55e)]():this[_0x22fd49(0x534)]();}),this[_0x5d96c4(0x42d)]['event$']['pipe'](_0x52fa59(this[_0x5d96c4(0x492)]))[_0x5d96c4(0x519)](_0x5ac665=>{const _0x52a46d=_0x5d96c4,_0x1d23a8=_0x5ac665[_0x52a46d(0x479)];_0x1d23a8===_0x45d469[_0x52a46d(0x2cd)]&&this[_0x52a46d(0x170)](_0x5ac665),_0x1d23a8===_0x45d469[_0x52a46d(0x489)]&&this[_0x52a46d(0x272)](_0x5ac665);}),this[_0x5d96c4(0x368)](this[_0x5d96c4(0x53f)][_0x5d96c4(0x498)](_0x148ab9=>{const _0x3440ac=_0x5d96c4,_0x13e6a0=_0x148ab9[_0x3440ac(0x3d9)];_0x13e6a0!=null&&this['_online']&&_0x148ab9['id']===_0x10288c['id']&&_0x13e6a0[_0x3440ac(0x55d)]===this[_0x3440ac(0x4c4)]&&_0x13e6a0[_0x3440ac(0x4b5)]===!0x1&&_0x13e6a0[_0x3440ac(0x56e)][_0x3440ac(0x282)]>0x0&&this[_0x3440ac(0x2ff)](_0x13e6a0[_0x3440ac(0x56e)]);})),this[_0x5d96c4(0x532)]['collabCursorState$'][_0x5d96c4(0x3f1)](_0x52fa59(this[_0x5d96c4(0x492)]))['subscribe'](_0x1cd075=>{const _0x51d6d1=_0x5d96c4;if((_0x1cd075==null?void 0x0:_0x1cd075['unitID'])!==this[_0x51d6d1(0x4c4)])return;const _0x92d1b7={'eventID':_0x45d469[_0x51d6d1(0x2cd)],'data':_0x1cd075};this[_0x51d6d1(0x170)](_0x92d1b7);}),this[_0x5d96c4(0x368)](this[_0x5d96c4(0x53f)][_0x5d96c4(0x498)](_0x262267=>{const _0x14c85c=_0x5d96c4;if(_0x262267[_0x14c85c(0x3d9)]==null)return;const _0x4b1bef=_0x262267[_0x14c85c(0x3d9)];if(_0x262267['id']!==_0x185e84['id']||_0x4b1bef[_0x14c85c(0x55d)]!==this['unitID'])return;const _0x27df98={'id':'doc.mutation.rich-text-editing','params':_0x4b1bef},_0x3ff98b=this[_0x14c85c(0x466)];for(const [_0x396d77,_0x695cf1]of _0x3ff98b){const _0x18efa6={'id':_0x14c85c(0x557),'params':{'unitId':this[_0x14c85c(0x4c4)],'actions':null,'textRanges':_0x695cf1[_0x14c85c(0x56e)]}},_0x24e3f2=this[_0x14c85c(0x1c5)][_0x14c85c(0x4f0)](_0x27df98,_0x18efa6,!0x1);if(_0x35b5b8(_0x24e3f2))throw _0x24e3f2[_0x14c85c(0x17b)];_0x3ff98b[_0x14c85c(0x441)](_0x396d77,{..._0x695cf1,'ranges':_0x24e3f2[_0x14c85c(0x4d6)][_0x14c85c(0x3d9)][_0x14c85c(0x2a0)]});}queueMicrotask(()=>{const _0x4202ed=_0x14c85c;this[_0x4202ed(0x299)][_0x4202ed(0x3ff)](_0x3ff98b);});})));}['_onCursorUpdate'](_0x290ab2){const _0x43a34b=_0x5bb7a4;var _0x36ae1f,_0x1b5706;const {memberID:_0xca9b28,selection:_0x4bb6a8}=_0x290ab2[_0x43a34b(0x2d5)],_0x2cab56=ho(_0x4bb6a8),_0x4349b8=(_0x1b5706=(_0x36ae1f=this[_0x43a34b(0x49f)][_0x43a34b(0x25d)](this[_0x43a34b(0x4c4)],_0xca9b28))==null?void 0x0:_0x36ae1f[_0x43a34b(0x408)])!=null?_0x1b5706:'Unknown\x20user',_0xe9bf6e={'color':this[_0x43a34b(0x517)][_0x43a34b(0x2cf)](_0xca9b28),'name':_0x4349b8,'ranges':_0x2cab56},_0x245ece=this['cursorInfo'];_0x245ece[_0x43a34b(0x441)](_0xca9b28,_0xe9bf6e),this[_0x43a34b(0x299)][_0x43a34b(0x3ff)](_0x245ece);}['_onCursorDelete'](_0x5d9099){const _0x406697=_0x5bb7a4,{memberID:_0x5619ee}=_0x5d9099['data'],_0x1bb646=this[_0x406697(0x466)];_0x1bb646[_0x406697(0x3d8)](_0x5619ee),this[_0x406697(0x299)][_0x406697(0x3ff)](_0x1bb646);}[_0x5bb7a4(0x55e)](){const _0x257d77=_0x5bb7a4;var _0x30c90f;if(this[_0x257d77(0x2e3)]=!0x0,((_0x30c90f=this['_univerInstanceService'][_0x257d77(0x1dd)]())==null?void 0x0:_0x30c90f[_0x257d77(0x322)]())!==this[_0x257d77(0x4c4)])return;const _0x221339=this['_injector'][_0x257d77(0x4f7)](_0x4ce6e6)[_0x257d77(0x1c3)]();Array[_0x257d77(0x2f4)](_0x221339)&&_0x221339[_0x257d77(0x282)]>0x0&&this['_updateLocalCursor'](_0x221339);}[_0x5bb7a4(0x534)](){this['_online']=!0x1;}};ns=yo([Oe(0x2,_0x22a3e1(_0x4c5160)),Oe(0x3,_0x22a3e1(bs)),Oe(0x4,_0x22a3e1(Ne)),Oe(0x5,_0x22a3e1(Cs)),Oe(0x6,_0x2db4c4),Oe(0x7,_0x2e0534),Oe(0x8,_0x1e58f0)],ns);var Do=Object[_0x5bb7a4(0x42b)],Po=Object[_0x5bb7a4(0x4e4)],Uo=(_0xb957ce,_0x286a69,_0x36d0f5,_0x32b840)=>{const _0xb57c65=_0x5bb7a4;for(var _0x5c396c=_0x32b840>0x1?void 0x0:_0x32b840?Po(_0x286a69,_0x36d0f5):_0x286a69,_0x4c2d14=_0xb957ce[_0xb57c65(0x282)]-0x1,_0x27c021;_0x4c2d14>=0x0;_0x4c2d14--)(_0x27c021=_0xb957ce[_0x4c2d14])&&(_0x5c396c=(_0x32b840?_0x27c021(_0x286a69,_0x36d0f5,_0x5c396c):_0x27c021(_0x5c396c))||_0x5c396c);return _0x32b840&&_0x5c396c&&Do(_0x286a69,_0x36d0f5,_0x5c396c),_0x5c396c;},Be=(_0x44b6f1,_0x27ce8c)=>(_0x1493d6,_0x1f5274)=>_0x27ce8c(_0x1493d6,_0x1f5274,_0x44b6f1);const No=0x12c,Ao=0x64,Mo=()=>{let _0x442d41=[],_0x97be62=!0x1;return _0x1f35df=>{_0x442d41['push'](_0x1f35df),_0x97be62||(_0x97be62=!0x0,setTimeout(()=>{const _0x2f8f2a=_0x4081;_0x442d41[_0x2f8f2a(0x312)](_0x5dd382=>_0x5dd382()),_0x442d41=[],_0x97be62=!0x1;}));};};let rs=class extends _0x177a9e{constructor(_0x1c9140,_0x30f821,_0x19101a,_0x402c06,_0x4e7f1c,_0x83eccb,_0x35a41f,_0x45a503){const _0x70bef8=_0x5bb7a4;super(),g(this,_0x70bef8(0x2e3),!0x1),g(this,_0x70bef8(0x515),!0x1),g(this,'_cursorInfo$',new _0x348a88(new Map())),g(this,_0x70bef8(0x52f),this[_0x70bef8(0x299)]['asObservable']()),g(this,_0x70bef8(0x208),new _0x348a88([])),g(this,_0x70bef8(0x32f),this[_0x70bef8(0x208)][_0x70bef8(0x3f1)](_0x12cfe4(No))),g(this,_0x70bef8(0x2ff),_0x47386f((_0x4cb4df,_0x4782a8)=>{const _0x13fa09=_0x70bef8,_0x41cd4c={'eventID':_0x45d469['UPDATE_CURSOR'],'data':{'unitID':this[_0x13fa09(0x4c4)],'memberID':this[_0x13fa09(0x42d)]['getMemberID'](),'selection':_0x5cd454(_0x4cb4df,_0x4782a8[_0x13fa09(0x2da)])}};this['_session'][_0x13fa09(0x45a)](_0x41cd4c,this[_0x13fa09(0x4c4)]);},Ao)),(this['unitID']=_0x1c9140,this['_session']=_0x30f821,this[_0x70bef8(0x338)]=_0x19101a,this['_colorAssignService']=_0x402c06,this[_0x70bef8(0x49f)]=_0x4e7f1c,this['_univerInstanceService']=_0x83eccb,this['_commandService']=_0x35a41f,this[_0x70bef8(0x4db)]=_0x45a503);}get[_0x5bb7a4(0x466)](){const _0x3ab7be=_0x5bb7a4;return this['_cursorInfo$'][_0x3ab7be(0x43d)]();}get[_0x5bb7a4(0x18b)](){const _0x57a218=_0x5bb7a4;return this[_0x57a218(0x208)]['getValue']();}[_0x5bb7a4(0x4d2)](){const _0x4f1b96=_0x5bb7a4;super[_0x4f1b96(0x4d2)](),this[_0x4f1b96(0x299)][_0x4f1b96(0x3ff)](new Map()),this[_0x4f1b96(0x299)]['complete'](),this[_0x4f1b96(0x208)]['next']([]),this['_roomMembers$'][_0x4f1b96(0x313)]();}['init'](){const _0x13f09b=_0x5bb7a4;this['_init']||(this[_0x13f09b(0x515)]=!0x0,this[_0x13f09b(0x42d)]['sessionStatus$'][_0x13f09b(0x3f1)](_0x52fa59(this[_0x13f09b(0x492)]))['subscribe'](_0x35075b=>{const _0x1ba2db=_0x13f09b;_0x35075b===ve[_0x1ba2db(0x3e1)]?this[_0x1ba2db(0x55e)]():this[_0x1ba2db(0x534)]();}),this[_0x13f09b(0x42d)][_0x13f09b(0x3e4)]['pipe'](_0x52fa59(this[_0x13f09b(0x492)]))[_0x13f09b(0x519)](_0x5b261c=>{const _0x497afe=_0x13f09b,_0x3ba498=_0x5b261c['eventID'];_0x3ba498===_0x45d469[_0x497afe(0x2cd)]&&this[_0x497afe(0x170)](_0x5b261c),_0x3ba498===_0x45d469[_0x497afe(0x489)]&&this[_0x497afe(0x272)](_0x5b261c);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x13f09b(0x53f)]['onCommandExecuted'](_0x5e33d0=>{const _0xd39a2a=_0x13f09b;if(this[_0xd39a2a(0x2e3)]&&_0x5e33d0['id']===_0x544c74['id']&&_0x5e33d0[_0xd39a2a(0x3d9)][_0xd39a2a(0x55d)]===this['unitID']){const _0x39587a=_0x5e33d0[_0xd39a2a(0x3d9)];this[_0xd39a2a(0x2ff)](_0x39587a[_0xd39a2a(0x1c9)],_0x39587a['selections'][0x0]);}})));}[_0x5bb7a4(0x170)](_0x7f30f0){const _0x785518=_0x5bb7a4;var _0x4fb886,_0x26046;const {memberID:_0x4449c0,selection:_0x59f94f}=_0x7f30f0[_0x785518(0x2d5)],{sheetName:_0x424bb2,range:_0x2a23e8}=_0x231961(_0x59f94f),_0x4f9707={'name':(_0x26046=(_0x4fb886=this[_0x785518(0x49f)]['getMember'](this['unitID'],_0x4449c0))==null?void 0x0:_0x4fb886[_0x785518(0x408)])!=null?_0x26046:_0x785518(0x4fe),'range':this[_0x785518(0x46f)](_0x424bb2,_0x2a23e8),'sheetID':_0x424bb2,'color':this[_0x785518(0x517)][_0x785518(0x2cf)](_0x4449c0),'selection':_0x59f94f},_0x556828=this['cursorInfo'];_0x556828['set'](_0x4449c0,_0x4f9707),this[_0x785518(0x299)][_0x785518(0x3ff)](_0x556828);}[_0x5bb7a4(0x272)](_0x5c1b8c){const _0x143edc=_0x5bb7a4,{memberID:_0x142b96}=_0x5c1b8c['data'],_0x565f30=this[_0x143edc(0x466)];_0x565f30[_0x143edc(0x3d8)](_0x142b96),this[_0x143edc(0x299)][_0x143edc(0x3ff)](_0x565f30);}[_0x5bb7a4(0x46f)](_0x729cec,_0x492fe0){const _0x23c6dc=_0x5bb7a4;var _0xcf8860,_0x3dfe9c;const _0x380b9f=(_0x3dfe9c=(_0xcf8860=this[_0x23c6dc(0x21d)][_0x23c6dc(0x44c)](this['unitID']))==null?void 0x0:_0xcf8860['getSheetBySheetId'](_0x729cec))==null?void 0x0:_0x3dfe9c['getMergeData']();return(_0x380b9f==null?void 0x0:_0x380b9f['find'](_0x1a9712=>_0x49e4db[_0x23c6dc(0x2b3)](_0x1a9712,_0x492fe0)))||_0x492fe0;}[_0x5bb7a4(0x270)](){const _0x39c6bb=_0x5bb7a4,_0x103aab=new _0x4e3306(),_0x10ef5b=Mo(),_0x3cb06e=()=>{const _0xcfb336=_0x4081;_0x103aab['dispose']();const _0x2f8ceb=(_0x51e58b,_0x8dd2b6,_0x12fc89,_0x443f4d)=>{const _0x40b97c=_0x4081;let _0x3109f1=[];switch(_0x51e58b['id']){case _0x34bde3[_0x40b97c(0x53d)]:{_0x3109f1=_0xd913ed(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x1e5)]:{_0x3109f1=_0xc12035(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x230)]:{_0x3109f1=_0x490fbf(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x476)]:{_0x3109f1=_0x595791(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x311)]:{_0x3109f1=_0x3995ec(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x543)]:{_0x3109f1=_0x5120ad(_0x51e58b,_0x443f4d);break;}case _0x34bde3['MoveRangeCommandId']:{_0x3109f1=_0x20726c(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x445)]:{_0x3109f1=_0x74bb6c(_0x51e58b,_0x443f4d);break;}case _0x34bde3['RemoveRowCommandId']:{_0x3109f1=_0x399794(_0x51e58b,_0x443f4d);break;}}const _0x409f86=_0x4ea810(_0x3109f1,_0x443f4d),_0x3ca028=this[_0x40b97c(0x466)][_0x40b97c(0x4f7)](_0x8dd2b6);if(_0x3ca028&&_0x409f86){const _0x53474c={..._0x3ca028,'range':_0x409f86};this[_0x40b97c(0x466)][_0x40b97c(0x441)](_0x8dd2b6,_0x53474c),_0x10ef5b(()=>{const _0x1dd6e0=_0x40b97c,_0x4f1ae0=this['_refRangeService'][_0x1dd6e0(0x308)](_0x409f86,_0x519ebf=>(_0x4f1ae0[_0x1dd6e0(0x4d2)](),_0x2f8ceb(_0x519ebf,_0x8dd2b6,_0x12fc89,_0x409f86)));_0x103aab['add'](_0x4f1ae0);});}return{'redos':[],'undos':[]};};this[_0xcfb336(0x466)]['forEach']((_0x449fb5,_0x4b0f8c)=>{const _0x241f22=_0xcfb336,{range:_0x38e2c9,sheetID:_0x511393}=_0x449fb5,_0x7a8492=this[_0x241f22(0x4db)][_0x241f22(0x308)](_0x38e2c9,_0x37c86c=>(_0x7a8492[_0x241f22(0x4d2)](),_0x2f8ceb(_0x37c86c,_0x4b0f8c,_0x511393,_0x38e2c9)));_0x103aab[_0x241f22(0x570)](_0x7a8492);});};this[_0x39c6bb(0x368)](_0x7884da(this['_cursorInfo$']['subscribe'](()=>{_0x3cb06e();})));}[_0x5bb7a4(0x55e)](){const _0x1027f2=_0x5bb7a4;var _0x34939a,_0x5b23d5;if(this[_0x1027f2(0x2e3)]=!0x0,((_0x34939a=this[_0x1027f2(0x21d)][_0x1027f2(0x1dd)]())==null?void 0x0:_0x34939a['getUnitId']())!==this[_0x1027f2(0x4c4)])return;const _0x33530f=(_0x5b23d5=this['_injector']['get'](_0x11487d)[_0x1027f2(0x171)]())==null?void 0x0:_0x5b23d5[0x0],_0x1725db=this[_0x1027f2(0x21d)][_0x1027f2(0x583)](_0x10a997['UNIVER_SHEET'])['getActiveSheet']();_0x33530f&&_0x1725db&&this[_0x1027f2(0x2ff)](_0x1725db[_0x1027f2(0x192)](),_0x33530f);}[_0x5bb7a4(0x534)](){const _0x5e6986=_0x5bb7a4;this[_0x5e6986(0x2e3)]=!0x1;}};rs=Uo([Be(0x2,_0x22a3e1(_0x4c5160)),Be(0x3,_0x22a3e1(bs)),Be(0x4,_0x22a3e1(Ne)),Be(0x5,_0x2e0534),Be(0x6,_0x1e58f0),Be(0x7,_0x22a3e1(_0x180f23))],rs);var xo=Object[_0x5bb7a4(0x42b)],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x3dfd0b,_0x438922,_0x1a56b7,_0x3691a5)=>{const _0xf01ec0=_0x5bb7a4;for(var _0x390958=_0x3691a5>0x1?void 0x0:_0x3691a5?Lo(_0x438922,_0x1a56b7):_0x438922,_0x3acb40=_0x3dfd0b[_0xf01ec0(0x282)]-0x1,_0x3d92af;_0x3acb40>=0x0;_0x3acb40--)(_0x3d92af=_0x3dfd0b[_0x3acb40])&&(_0x390958=(_0x3691a5?_0x3d92af(_0x438922,_0x1a56b7,_0x390958):_0x3d92af(_0x390958))||_0x390958);return _0x3691a5&&_0x390958&&xo(_0x438922,_0x1a56b7,_0x390958),_0x390958;},$t=(_0x3d6510,_0x379f8f)=>(_0x28b568,_0x3dbfb8)=>_0x379f8f(_0x28b568,_0x3dbfb8,_0x3d6510);let Ve=class extends _0x177a9e{constructor(_0x25ebef,_0x20ec97,_0x30d000){const _0x2db7f7=_0x5bb7a4;super(),g(this,_0x2db7f7(0x37a),new Map()),g(this,'_entityInit$',new _0x1b179a()),(this[_0x2db7f7(0x21d)]=_0x25ebef,this[_0x2db7f7(0x338)]=_0x20ec97,this[_0x2db7f7(0x575)]=_0x30d000,this[_0x2db7f7(0x515)]());}[_0x5bb7a4(0x4d2)](){const _0x15ad81=_0x5bb7a4;super['dispose'](),this[_0x15ad81(0x3b4)][_0x15ad81(0x313)](),this[_0x15ad81(0x37a)][_0x15ad81(0x312)](_0x389025=>_0x389025[_0x15ad81(0x4d2)]());}['getCollabCursors$'](_0x42924e){const _0x5cf9c4=_0x5bb7a4;return this['_entities'][_0x5cf9c4(0x2e6)](_0x42924e)?this['_entities']['get'](_0x42924e)['cursorInfo$']:this[_0x5cf9c4(0x3b4)][_0x5cf9c4(0x3f1)](_0x3cb187(_0x571329=>_0x571329['unitID']===_0x42924e),_0x1e3e59(_0x363fc7=>_0x363fc7[_0x5cf9c4(0x52f)]));}[_0x5bb7a4(0x515)](){const _0x34d04c=_0x5bb7a4;this[_0x34d04c(0x21d)][_0x34d04c(0x4aa)](_0x10a997['UNIVER_SHEET'])[_0x34d04c(0x3f1)](_0x52fa59(this[_0x34d04c(0x492)]))[_0x34d04c(0x519)](async _0x15947d=>{const _0x1bd17c=_0x34d04c,_0x48e654=_0x15947d['getUnitId'](),_0x16584a=await this[_0x1bd17c(0x4c3)](_0x48e654);this[_0x1bd17c(0x3b4)][_0x1bd17c(0x3ff)](_0x16584a),this[_0x1bd17c(0x37a)][_0x1bd17c(0x441)](_0x48e654,_0x16584a);}),this[_0x34d04c(0x21d)][_0x34d04c(0x4aa)](_0x10a997[_0x34d04c(0x172)])[_0x34d04c(0x3f1)](_0x52fa59(this['dispose$']))[_0x34d04c(0x3f1)](_0x3cb187(_0xca1fba=>!_0xca1fba[_0x34d04c(0x322)]()[_0x34d04c(0x418)]('__')))[_0x34d04c(0x519)](async _0x40b74c=>{const _0x39d475=_0x34d04c,_0x4668c7=_0x40b74c[_0x39d475(0x322)](),_0x52892d=await this[_0x39d475(0x474)](_0x4668c7);this[_0x39d475(0x3b4)][_0x39d475(0x3ff)](_0x52892d),this[_0x39d475(0x37a)]['set'](_0x4668c7,_0x52892d);}),_0x4e4735(this['_univerInstanceService'][_0x34d04c(0x39a)](_0x10a997[_0x34d04c(0x172)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x10a997[_0x34d04c(0x55b)]))['pipe'](_0x52fa59(this[_0x34d04c(0x492)]))[_0x34d04c(0x519)](_0x4210f3=>{const _0x2f9c8d=_0x34d04c,_0x4f2f7e=_0x4210f3[_0x2f9c8d(0x322)](),_0x4a03a1=this['_entities'][_0x2f9c8d(0x4f7)](_0x4f2f7e);_0x4a03a1&&(_0x4a03a1[_0x2f9c8d(0x4d2)](),this[_0x2f9c8d(0x37a)][_0x2f9c8d(0x3d8)](_0x4f2f7e));});}async['_startSheetCollabCursor'](_0x23395f){const _0x1b5474=_0x5bb7a4,_0x23de9f=await this[_0x1b5474(0x575)]['requireSession'](_0x23395f),_0x1dd677=this[_0x1b5474(0x338)][_0x1b5474(0x30c)](rs,_0x23395f,_0x23de9f);return _0x1dd677['init'](),_0x1dd677;}async['_startDocCollabCursor'](_0x2afd6a){const _0x2920ba=_0x5bb7a4,_0x2fd856=await this[_0x2920ba(0x575)][_0x2920ba(0x2c7)](_0x2afd6a),_0x324109=this[_0x2920ba(0x338)][_0x2920ba(0x30c)](ns,_0x2afd6a,_0x2fd856);return _0x324109[_0x2920ba(0x1d6)](),_0x324109;}};Ve=$o([$t(0x0,_0x2e0534),$t(0x1,_0x22a3e1(_0x4c5160)),$t(0x2,_0x22a3e1(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x3913c0,_0x5ba156){const _0x869cc5=_0x5bb7a4;let {radius:_0x1bcf54,width:_0x18f252,height:_0xf50ddb}=_0x5ba156;_0x1bcf54=_0x1bcf54!=null?_0x1bcf54:0x0,_0x18f252=_0x18f252!=null?_0x18f252:0x1e,_0xf50ddb=_0xf50ddb!=null?_0xf50ddb:0x1e;let _0x1ce913=0x0,_0x25036f=0x0,_0x499977=0x0;_0x1ce913=_0x25036f=_0x499977=Math[_0x869cc5(0x443)](_0x1bcf54,_0x18f252/0x2,_0xf50ddb/0x2),_0x3913c0[_0x869cc5(0x336)](),_0x3913c0[_0x869cc5(0x4d4)](_0x1ce913,0x0),_0x3913c0[_0x869cc5(0x463)](_0x18f252-_0x25036f,0x0),_0x3913c0[_0x869cc5(0x449)](_0x18f252-_0x25036f,_0x25036f,_0x25036f,Math['PI']*0x3/0x2,0x0,!0x1),_0x3913c0[_0x869cc5(0x463)](_0x18f252,_0xf50ddb-_0x499977),_0x3913c0['arc'](_0x18f252-_0x499977,_0xf50ddb-_0x499977,_0x499977,0x0,Math['PI']/0x2,!0x1),_0x3913c0[_0x869cc5(0x463)](0x0,_0xf50ddb),_0x3913c0[_0x869cc5(0x463)](0x0,_0x1ce913),_0x3913c0[_0x869cc5(0x449)](_0x1ce913,_0x1ce913,_0x1ce913,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3913c0[_0x869cc5(0x3f2)](),_0x5ba156['fill']&&(_0x3913c0[_0x869cc5(0x33e)](),_0x3913c0[_0x869cc5(0x434)]=_0x5ba156[_0x869cc5(0x31c)],_0x5ba156[_0x869cc5(0x385)]===_0x869cc5(0x4ea)?_0x3913c0[_0x869cc5(0x31c)](_0x869cc5(0x4ea)):_0x3913c0[_0x869cc5(0x31c)](),_0x3913c0[_0x869cc5(0x574)]());}class yt extends _0x4b8d3f{constructor(_0x4a0347,_0x537e57){const _0xaeffb4=_0x5bb7a4;super(_0x4a0347,_0x537e57),g(this,_0xaeffb4(0x203)),g(this,_0xaeffb4(0x353)),(this['color']=_0x537e57==null?void 0x0:_0x537e57[_0xaeffb4(0x203)],this['text']=_0x537e57==null?void 0x0:_0x537e57[_0xaeffb4(0x353)]);}static[_0x5bb7a4(0x202)](_0xeeb684,_0x62adbf){const _0x95e8df=_0x5bb7a4,{text:_0x54a123,color:_0x476cda}=_0x62adbf;_0xeeb684[_0x95e8df(0x33e)](),_0xeeb684[_0x95e8df(0x3db)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xf8a811=_0xeeb684[_0x95e8df(0x38a)](_0x54a123)['width'],_0x337eb6=Math[_0x95e8df(0x443)](_0xf8a811+0x2*Ht,Ys);jo(_0xeeb684,{'height':nt,'radius':0x4,'width':_0x337eb6,'fill':_0x476cda,'evented':!0x1}),_0xeeb684[_0x95e8df(0x434)]=_0x95e8df(0x250);const _0x24fe7c=Ht,_0x75454b=nt-Ho,_0x214369=Ys-0x2*Ht;if(_0xf8a811>_0x214369){let _0x4a1f1f='',_0x2c0145=0x0;for(const _0x2270dd of _0x54a123){const _0x116813=_0xeeb684[_0x95e8df(0x38a)](_0x2270dd)['width'];if(_0x2c0145+_0x116813<=_0x214369-_0xeeb684[_0x95e8df(0x38a)](_0x95e8df(0x254))['width'])_0x4a1f1f+=_0x2270dd,_0x2c0145+=_0x116813;else{_0x4a1f1f+=_0x95e8df(0x254);break;}}_0xeeb684[_0x95e8df(0x1de)](_0x4a1f1f,_0x24fe7c,_0x75454b);}else _0xeeb684['fillText'](_0x54a123,_0x24fe7c,_0x75454b);_0xeeb684[_0x95e8df(0x574)]();}[_0x5bb7a4(0x3c7)](_0x414f40){yt['drawWith'](_0x414f40,this);}}const jt=_0x5bb7a4(0x53c),Bo='collab-text-range-',ko=_0x5bb7a4(0x4fd),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x5bb7a4(0x2de);class Ks{constructor(_0x5d0310,_0x5f10ef,_0x3512b1,_0x265d12){const _0x167a7e=_0x5bb7a4;g(this,_0x167a7e(0x381),[]),g(this,_0x167a7e(0x4c6),null),g(this,_0x167a7e(0x473),null),g(this,_0x167a7e(0x51f),null),g(this,'_hideTimer',null),g(this,'_eventUnsubscribe',null),(this[_0x167a7e(0x2b9)]=_0x5d0310,this[_0x167a7e(0x4d0)]=_0x5f10ef,this['_docSkeleton']=_0x3512b1,this['_document']=_0x265d12,this[_0x167a7e(0x21b)]());}set[_0x5bb7a4(0x363)](_0x1d85b4){const _0x4dc5cf=_0x5bb7a4;_0x1d85b4?(this[_0x4dc5cf(0x51f)]&&this[_0x4dc5cf(0x51f)]['hide'](),this[_0x4dc5cf(0x473)]&&this['_textBubble'][_0x4dc5cf(0x18e)]()):(this[_0x4dc5cf(0x51f)]&&this[_0x4dc5cf(0x51f)][_0x4dc5cf(0x18e)](),this[_0x4dc5cf(0x473)]&&this[_0x4dc5cf(0x473)]['hide']());}[_0x5bb7a4(0x4d2)](){const _0x10a3a9=_0x5bb7a4;for(const _0x4e227c of this[_0x10a3a9(0x381)])_0x4e227c[_0x10a3a9(0x4d2)]();this[_0x10a3a9(0x473)]&&this[_0x10a3a9(0x473)]['dispose'](),this[_0x10a3a9(0x51f)]&&this[_0x10a3a9(0x51f)][_0x10a3a9(0x4d2)](),this['_anchor']&&this[_0x10a3a9(0x4c6)][_0x10a3a9(0x4d2)](),this[_0x10a3a9(0x530)]&&this[_0x10a3a9(0x530)]();}[_0x5bb7a4(0x21b)](){const _0x5ce196=_0x5bb7a4;var _0x3c3304;const {_docSkeleton:_0x38a756,_document:_0x5c57d0}=this,{color:_0x530b50,name:_0x1babbc,ranges:_0x2cfdf3}=this[_0x5ce196(0x2b9)],_0x4b5f87=_0x5c57d0[_0x5ce196(0x1a7)](),{docsLeft:_0x3aba6d,docsTop:_0x1494ca}=_0x4b5f87,_0x402c4c=new _0x1e2d34(_0x4b5f87,_0x38a756);for(const {startOffset:_0x2d93b5,endOffset:_0x1fa160,rangeType:_0x2bd11b,segmentId:_0x42ba0e,segmentPage:_0x43dc4a,collapsed:_0x39951b,isActive:_0x102b7f}of _0x2cfdf3){const _0x56f8f7=_0x38a756['findNodePositionByCharIndex'](_0x2d93b5,!0x0,_0x42ba0e,_0x43dc4a);let _0xcd1851=_0x38a756[_0x5ce196(0x199)](_0x1fa160,!0x0,_0x42ba0e,_0x43dc4a);if(_0xcd1851==null&&(_0xcd1851=_0x38a756[_0x5ce196(0x199)](_0x1fa160-0x1,!0x1,_0x42ba0e,_0x43dc4a)),_0x102b7f){const {contentBoxPointGroup:_0x146e60}=_0x402c4c['getRangePointData'](_0xcd1851,_0xcd1851);if(_0x146e60[_0x5ce196(0x282)]===0x0)continue;this[_0x5ce196(0x4b4)](_0x530b50,_0x146e60,_0x3aba6d,_0x1494ca,_0x1babbc),this[_0x5ce196(0x530)]=this[_0x5ce196(0x46c)]();}if(_0x56f8f7&&_0xcd1851){if(_0x2bd11b===_0x569c02[_0x5ce196(0x503)]){const _0x2e8197=new _0x2b0059(_0x4b5f87,_0x38a756),{pointGroup:_0x2bef27}=(_0x3c3304=_0x2e8197[_0x5ce196(0x486)](_0x56f8f7,_0xcd1851))!=null?_0x3c3304:{};if(_0x2bef27==null||_0x2bef27[_0x5ce196(0x282)]===0x0)continue;this[_0x5ce196(0x4d7)](_0x530b50,_0x2bef27,_0x3aba6d,_0x1494ca);}else{if(!_0x39951b){const {borderBoxPointGroup:_0x262f4b}=_0x402c4c['getRangePointData'](_0x56f8f7,_0xcd1851);if(_0x262f4b[_0x5ce196(0x282)]===0x0)continue;this['_drawTextRange'](_0x530b50,_0x262f4b,_0x3aba6d,_0x1494ca);}}}}}[_0x5bb7a4(0x4b4)](_0xb77195,_0x12a0e2,_0x2c4945,_0x5942c5,_0x5b3215){const _0x75c254=_0x5bb7a4,_0x362d6b=this[_0x75c254(0x514)](_0x12a0e2),{left:_0xd25268,top:_0x41018a,height:_0x48ea1b}=_0x362d6b,_0x8115ae=this['_getScale'](),_0x5bb250=Fo/_0x8115ae,_0x5bd119=new _0x4214fc(jt+_0x41d014[_0x75c254(0x4d1)](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5,'height':_0x48ea1b,'width':Wo,'fill':_0xb77195||_0x140980(_0x593100[_0x75c254(0x1c2)],0x0),'strokeWidth':_0x5bb250,'stroke':Vo,'evented':!0x0});this[_0x75c254(0x4c6)]=_0x5bd119,this[_0x75c254(0x4d0)]['addObject'](_0x5bd119,_0x417fa9);const _0x445739=new _0x4214fc(jt+_0x41d014['generateRandomId'](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5-Bt/0x2,'height':Bt,'width':Bt,'fill':_0xb77195||_0x140980(_0x593100[_0x75c254(0x1c2)],0x0),'strokeWidth':0x0,'stroke':_0xb77195||_0x140980(_0x593100['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x445739,this['_scene'][_0x75c254(0x45b)](_0x445739,_0x417fa9);const _0x1ec620=new yt(jt+_0x41d014['generateRandomId'](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5-nt,'text':_0x5b3215,'color':_0xb77195});this[_0x75c254(0x473)]=_0x1ec620,this[_0x75c254(0x4d0)][_0x75c254(0x45b)](_0x1ec620,_0x417fa9),this['_hover']=!0x1;}[_0x5bb7a4(0x46c)](){const _0x52149c=_0x5bb7a4,_0x15ad9f=this['_anchor'][_0x52149c(0x26a)][_0x52149c(0x3b2)](()=>{const _0x62338c=_0x52149c;this[_0x62338c(0x363)]=!0x0;}),_0x4e478b=this[_0x52149c(0x4c6)][_0x52149c(0x33c)][_0x52149c(0x3b2)](()=>{const _0x2b812b=_0x52149c;this[_0x2b812b(0x2f8)]&&clearTimeout(this[_0x2b812b(0x2f8)]),this[_0x2b812b(0x2f8)]=setTimeout(()=>{const _0x23d42d=_0x2b812b;this[_0x23d42d(0x363)]=!0x1;},0x7d0);});return()=>{const _0x2a8a60=_0x52149c;_0x15ad9f[_0x2a8a60(0x1e1)](),_0x4e478b[_0x2a8a60(0x1e1)]();};}[_0x5bb7a4(0x228)](_0x10526e,_0x410434,_0x208d52,_0xc9503b){const _0x542d38=_0x5bb7a4,_0x1892b8=new _0x589dec(_0x10526e)['setAlpha'](0.2)[_0x542d38(0x3cd)](),_0x32c9bf=new _0x18606b(Bo+_0x41d014[_0x542d38(0x4d1)](Je),{'pointsGroup':_0x410434,'fill':_0x1892b8||_0x140980(_0x593100[_0x542d38(0x1c2)],0.2),'left':_0x208d52,'top':_0xc9503b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x542d38(0x381)][_0x542d38(0x433)](_0x32c9bf),this[_0x542d38(0x4d0)][_0x542d38(0x45b)](_0x32c9bf,_0x417fa9);}[_0x5bb7a4(0x4d7)](_0x2256d4,_0x206c4e,_0x32457f,_0x5035a1){const _0x487485=_0x5bb7a4,_0x3dc950=new _0x589dec(_0x2256d4)[_0x487485(0x350)](0.2)[_0x487485(0x3cd)](),_0x3de543=new _0x18606b(ko+_0x41d014[_0x487485(0x4d1)](Je),{'pointsGroup':_0x206c4e,'fill':_0x3dc950||_0x140980(_0x593100[_0x487485(0x1c2)],0.2),'left':_0x32457f,'top':_0x5035a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x487485(0x381)][_0x487485(0x433)](_0x3de543),this[_0x487485(0x4d0)][_0x487485(0x45b)](_0x3de543,_0x417fa9);}[_0x5bb7a4(0x514)](_0x37d692){const _0x361f39=_0x37d692[0x0],_0x343179=_0x361f39[0x0],_0x2cbee5=_0x361f39[0x2],{x:_0x3ae4ee,y:_0xa6928f}=_0x343179,{x:_0xfc65c4,y:_0x53e145}=_0x2cbee5;return{'left':_0x3ae4ee,'top':_0xa6928f,'width':_0xfc65c4-_0x3ae4ee,'height':_0x53e145-_0xa6928f};}[_0x5bb7a4(0x25c)](){const _0x3ad69c=_0x5bb7a4,{scaleX:_0x4e94ce,scaleY:_0x55bc90}=this['_scene'][_0x3ad69c(0x1c0)]();return Math[_0x3ad69c(0x173)](_0x4e94ce,_0x55bc90);}}var Go=Object['defineProperty'],Yo=Object[_0x5bb7a4(0x4e4)],Ko=(_0xf18326,_0x572cb6,_0x303802,_0x757047)=>{for(var _0x5a1c5f=_0x757047>0x1?void 0x0:_0x757047?Yo(_0x572cb6,_0x303802):_0x572cb6,_0x507f21=_0xf18326['length']-0x1,_0x5fef69;_0x507f21>=0x0;_0x507f21--)(_0x5fef69=_0xf18326[_0x507f21])&&(_0x5a1c5f=(_0x757047?_0x5fef69(_0x572cb6,_0x303802,_0x5a1c5f):_0x5fef69(_0x5a1c5f))||_0x5a1c5f);return _0x757047&&_0x5a1c5f&&Go(_0x572cb6,_0x303802,_0x5a1c5f),_0x5a1c5f;},ct=(_0x4d096b,_0x5c7fbe)=>(_0x5a4b0d,_0x56d7d0)=>_0x5c7fbe(_0x5a4b0d,_0x56d7d0,_0x4d096b);let os=class extends _0x177a9e{constructor(_0x503d59,_0x4f60e0,_0x1fdcd7,_0x210a56,_0x122f26){const _0x2dfb0f=_0x5bb7a4;super(),g(this,_0x2dfb0f(0x44a),[]),g(this,'_cursors',[]),(this[_0x2dfb0f(0x265)]=_0x503d59,this[_0x2dfb0f(0x4ee)]=_0x4f60e0,this[_0x2dfb0f(0x334)]=_0x1fdcd7,this[_0x2dfb0f(0x53f)]=_0x210a56,this[_0x2dfb0f(0x2b0)]=_0x122f26,this[_0x2dfb0f(0x515)]());}[_0x5bb7a4(0x515)](){const _0x281e9e=_0x5bb7a4,_0x14d274=this['_context']['unitId'],_0x4ce9ab=this[_0x281e9e(0x4ee)];this[_0x281e9e(0x368)](_0x4753e6([this['_collabCursorController']['getCollabCursors$'](_0x14d274),this[_0x281e9e(0x2b0)][_0x281e9e(0x356)]])[_0x281e9e(0x3f1)](_0x17141f(([_0x3350ca,_0x393eaa])=>({'skeleton':_0x4ce9ab['getSkeleton'](),'cursors':[..._0x3350ca[_0x281e9e(0x2d6)]()][_0x281e9e(0x401)](_0x2598b6=>({..._0x2598b6,'color':_0x393eaa[_0x2598b6[_0x281e9e(0x203)]]}))})))[_0x281e9e(0x519)](_0x410027=>{const _0x414021=_0x281e9e;if(this[_0x414021(0x2ec)](),_0x410027){const {skeleton:_0x403dfb,cursors:_0x5363e3}=_0x410027;this[_0x414021(0x52a)](_0x403dfb,_0x5363e3);}})),this[_0x281e9e(0x45c)](),this[_0x281e9e(0x354)]();}[_0x5bb7a4(0x52a)](_0x2294e2,_0x5c3f10){const _0x299820=_0x5bb7a4,{scene:_0x4c1995,mainComponent:_0x149da9}=this[_0x299820(0x265)],_0x550d15=_0x5c3f10[_0x299820(0x2c9)](_0x317935=>new Ks(_0x317935,_0x4c1995,_0x2294e2,_0x149da9));this[_0x299820(0x44a)]=_0x550d15,this['_cursors']=_0x5c3f10;}[_0x5bb7a4(0x488)](){const _0x213620=_0x5bb7a4;this[_0x213620(0x2ec)]();const {scene:_0x5a0d98,mainComponent:_0x5f3117}=this[_0x213620(0x265)],_0x978b86=this['_docSkeletonManagerService'][_0x213620(0x535)](),_0x7d98d9=this['_cursors']['map'](_0x1d9a98=>new Ks(_0x1d9a98,_0x5a0d98,_0x978b86,_0x5f3117));this[_0x213620(0x44a)]=_0x7d98d9;}['_removeCollabCursors'](){const _0x20e201=_0x5bb7a4;this[_0x20e201(0x44a)][_0x20e201(0x312)](_0xf68f90=>_0xf68f90[_0x20e201(0x4d2)]()),this[_0x20e201(0x44a)]=[];}[_0x5bb7a4(0x354)](){const _0x12bed0=_0x5bb7a4,_0x876d84=[_0x595dd4['id']];this[_0x12bed0(0x368)](this['_commandService'][_0x12bed0(0x498)](_0x3bc9dc=>{const _0xc2519a=_0x12bed0;_0x876d84[_0xc2519a(0x21c)](_0x3bc9dc['id'])&&_0x3bc9dc[_0xc2519a(0x3d9)][_0xc2519a(0x55d)]===this[_0xc2519a(0x265)][_0xc2519a(0x55d)]&&this[_0xc2519a(0x488)]();}));}[_0x5bb7a4(0x45c)](){const _0x32da2d=_0x5bb7a4;this[_0x32da2d(0x368)](_0x3a7a27(this[_0x32da2d(0x265)][_0x32da2d(0x48d)][_0x32da2d(0x3d7)])[_0x32da2d(0x3f1)](_0x5a0a20(_0x39d97f=>_0x39d97f['type']===_0x2c9396['resize']),_0x3fef40(0x10))[_0x32da2d(0x519)](()=>{const _0x3ab375=_0x32da2d;this[_0x3ab375(0x488)]();}));}};os=Ko([ct(0x1,_0x22a3e1(_0x386ab1)),ct(0x2,_0x22a3e1(Ve)),ct(0x3,_0x1e58f0),ct(0x4,_0x22a3e1(_0x58be32))],os);const zo=0x1,qo=1.5;class Xo extends _0x4b8d3f{constructor(_0xa6a5a3,_0x3f913b){const _0x1ad06b=_0x5bb7a4;super(_0xa6a5a3,_0x3f913b),g(this,_0x1ad06b(0x4e3)),g(this,'_hovered',!0x1),g(this,_0x1ad06b(0x2d4)),g(this,'_name',''),g(this,_0x1ad06b(0x278),'top'),g(this,_0x1ad06b(0x2ea)),(_0x3f913b&&this[_0x1ad06b(0x357)](_0x3f913b),this[_0x1ad06b(0x26a)][_0x1ad06b(0x3b2)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x1ad06b(0x3b2)](()=>this[_0x1ad06b(0x357)]({'hovered':!0x1})));}[_0x5bb7a4(0x357)](_0x356795){const _0x48bd70=_0x5bb7a4;var _0x7acc20,_0x1b4949,_0x5dfa44,_0x2e45d2,_0x576bfa,_0x5504f7;this[_0x48bd70(0x4e3)]=(_0x7acc20=_0x356795[_0x48bd70(0x203)])!=null?_0x7acc20:this['_color'],this[_0x48bd70(0x2d9)]=(_0x1b4949=_0x356795[_0x48bd70(0x3b7)])!=null?_0x1b4949:this['_hovered'],this['_range']=(_0x5dfa44=_0x356795[_0x48bd70(0x2da)])!=null?_0x5dfa44:this['_range'],this[_0x48bd70(0x527)]=(_0x2e45d2=_0x356795[_0x48bd70(0x408)])!=null?_0x2e45d2:this[_0x48bd70(0x527)],this[_0x48bd70(0x278)]=(_0x576bfa=_0x356795['labelPosition'])!=null?_0x576bfa:this[_0x48bd70(0x278)],this['_backgroundColor']=(_0x5504f7=_0x356795[_0x48bd70(0x244)])!=null?_0x5504f7:this[_0x48bd70(0x2ea)],this['transformByState']({'width':_0x356795[_0x48bd70(0x1ea)],'height':_0x356795[_0x48bd70(0x38f)]});}[_0x5bb7a4(0x32a)](_0x389391){const _0x4f7103=_0x5bb7a4,{row:_0x9f3475,column:_0x15d5cc}=_0x389391;if(_0x9f3475>=this['_range']['startRow']&&_0x9f3475<=this[_0x4f7103(0x2d4)]['endRow']&&_0x15d5cc>=this[_0x4f7103(0x2d4)][_0x4f7103(0x249)]&&_0x15d5cc<=this[_0x4f7103(0x2d4)][_0x4f7103(0x290)]){this[_0x4f7103(0x357)]({'hovered':!0x0});return;}this[_0x4f7103(0x357)]({'hovered':!0x1});}[_0x5bb7a4(0x3ed)](_0x49b6c1){return!0x1;}['_draw'](_0x3cc42a){const _0x588a1e=_0x5bb7a4;_0x4214fc[_0x588a1e(0x202)](_0x3cc42a,{'width':this['width'],'height':this[_0x588a1e(0x38f)],'strokeWidth':qo,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x588a1e(0x2d9)]&&(_0x3cc42a['save'](),_0x3cc42a['transform'](0x1,0x0,0x0,0x1,this[_0x588a1e(0x1ea)],this['_labelPosition']===_0x588a1e(0x1aa)?0x0:-nt),yt[_0x588a1e(0x202)](_0x3cc42a,{'text':this[_0x588a1e(0x527)],'color':this[_0x588a1e(0x4e3)]}),_0x3cc42a['restore']());}}var Jo=Object['defineProperty'],Zo=Object[_0x5bb7a4(0x4e4)],Qo=(_0x1f9582,_0x1980f6,_0x5304f7,_0x31bfe5)=>{const _0x6fdabd=_0x5bb7a4;for(var _0x4e053f=_0x31bfe5>0x1?void 0x0:_0x31bfe5?Zo(_0x1980f6,_0x5304f7):_0x1980f6,_0x1a85ab=_0x1f9582[_0x6fdabd(0x282)]-0x1,_0x2da638;_0x1a85ab>=0x0;_0x1a85ab--)(_0x2da638=_0x1f9582[_0x1a85ab])&&(_0x4e053f=(_0x31bfe5?_0x2da638(_0x1980f6,_0x5304f7,_0x4e053f):_0x2da638(_0x4e053f))||_0x4e053f);return _0x31bfe5&&_0x4e053f&&Jo(_0x1980f6,_0x5304f7,_0x4e053f),_0x4e053f;},kt=(_0x27ddcd,_0x5ef171)=>(_0x4bd639,_0x2b76ee)=>_0x5ef171(_0x4bd639,_0x2b76ee,_0x27ddcd);const ea=0x1389;let as=class extends _0x177a9e{constructor(_0x2a7c4f,_0x1bf540,_0x5f0fad,_0x346ef4){const _0x428baa=_0x5bb7a4;super(),g(this,_0x428baa(0x1cc),new Set()),g(this,'_lastPointer',null),(this[_0x428baa(0x265)]=_0x2a7c4f,this[_0x428baa(0x1e9)]=_0x1bf540,this['_collabCursorController']=_0x5f0fad,this[_0x428baa(0x2b0)]=_0x346ef4,this[_0x428baa(0x515)]());}[_0x5bb7a4(0x515)](){const _0x2b0769=_0x5bb7a4;this[_0x2b0769(0x1e9)][_0x2b0769(0x436)]['pipe'](_0x216286(this[_0x2b0769(0x492)]),_0x58ad60(_0x1abddb=>{const _0x1afc96=_0x2b0769;if(_0x1abddb){const _0xff6a8f=_0x1abddb['sheetId'];return _0x4753e6(this['_collabCursorController'][_0x1afc96(0x198)](this[_0x1afc96(0x265)]['unitId']),this[_0x1afc96(0x2b0)][_0x1afc96(0x356)])[_0x1afc96(0x3f1)](_0x17141f(([_0x18fd07,_0x424239])=>{const _0x5d8696=_0x1afc96,_0x49b68d=new Map();return _0x18fd07[_0x5d8696(0x312)]((_0x90ead4,_0x5cea7b)=>{const _0x5336dc=_0x5d8696;if(_0x90ead4[_0x5336dc(0x326)]===_0xff6a8f){const _0x4ff1ee={..._0x90ead4};_0x4ff1ee[_0x5336dc(0x203)]=_0x424239[_0x90ead4[_0x5336dc(0x203)]],_0x49b68d[_0x5336dc(0x441)](_0x5cea7b,_0x4ff1ee);}}),{'skeleton':_0x1abddb,'cursors':_0x49b68d};}));}return _0x52cb6f({'skeleton':null,'cursors':new Map()});}))[_0x2b0769(0x519)](({skeleton:_0x463c8b,cursors:_0xc1fa53})=>{const _0x496807=_0x2b0769;this[_0x496807(0x2ec)](),_0x463c8b&&this[_0x496807(0x52a)](_0x463c8b,_0xc1fa53);}),this[_0x2b0769(0x1e9)][_0x2b0769(0x436)][_0x2b0769(0x519)](_0x1d71cc=>{const _0x2811b1=_0x2b0769;if(_0x1d71cc==null)return;const {skeleton:_0x41f81e}=_0x1d71cc,{scene:_0x10c8a6}=this[_0x2811b1(0x265)];_0x10c8a6[_0x2811b1(0x565)][_0x2811b1(0x3b2)](_0x47386f(_0x4f9e43=>{const _0x1cb191=_0x2811b1;var _0xc66290,_0x533132;const {offsetX:_0x299efb,offsetY:_0x15b925}=_0x4f9e43,{x:_0x3591d8,y:_0x4efcdf}=_0x10c8a6[_0x1cb191(0x31d)](_0x3af8ad[_0x1cb191(0x20b)]([_0x299efb,_0x15b925])),{scaleX:_0x89457d,scaleY:_0x4e107f}=_0x10c8a6[_0x1cb191(0x1c0)](),_0x36197b=_0x10c8a6[_0x1cb191(0x20c)](_0x4bafe5[_0x1cb191(0x4cb)]),_0x5b1455=_0x10c8a6[_0x1cb191(0x3df)](_0x3af8ad['FromArray']([_0x3591d8,_0x4efcdf]),_0x36197b),_0x2d000b=_0x41f81e[_0x1cb191(0x3cf)](_0x299efb,_0x15b925,_0x89457d,_0x4e107f,_0x5b1455);((_0xc66290=this[_0x1cb191(0x4d9)])==null?void 0x0:_0xc66290[_0x1cb191(0x396)])===_0x2d000b[_0x1cb191(0x396)]&&((_0x533132=this[_0x1cb191(0x4d9)])==null?void 0x0:_0x533132[_0x1cb191(0x53e)])===_0x2d000b[_0x1cb191(0x53e)]||this[_0x1cb191(0x1cc)]['forEach'](_0x2fff86=>{_0x2fff86['onMouseMove'](_0x2d000b);});},0x64));});}['_updateCollabCursors'](_0x1de0e6,_0x367334){const _0xdabc75=_0x5bb7a4;var _0x3dacef;const _0x283ea9=(_0x3dacef=this[_0xdabc75(0x1e9)]['getCurrent']())==null?void 0x0:_0x3dacef['skeleton'];if(!_0x283ea9)return;const _0x4377ea=this['_getSheetObject']();if(!_0x4377ea)return;this[_0xdabc75(0x1cc)]['forEach'](_0x340c38=>{const _0x2d7e0a=_0xdabc75;_0x340c38[_0x2d7e0a(0x44b)]();});const {scene:_0x3ae7ca}=_0x4377ea,_0x31cc2c=ta(Array[_0xdabc75(0x348)](_0x367334['values']()))[_0xdabc75(0x2c9)](_0x510c4a=>{const _0xad36a1=_0xdabc75,{color:_0x41b5ee,range:_0x449d1a,name:_0x58104b,selection:_0x2c382d,sheetID:_0x311a43}=_0x510c4a,{startColumn:_0x1c9e43,startRow:_0xa5f115,endColumn:_0x2eb382,endRow:_0x391a32}=_0x449d1a,_0x97121a=_0x5a0e3d(_0xa5f115,_0x1c9e43,_0x3ae7ca,_0x283ea9),_0x473595=_0x5a0e3d(_0x391a32,_0x2eb382,_0x3ae7ca,_0x283ea9),{columnHeaderHeightAndMarginTop:_0x4e1168}=_0x283ea9,{startX:_0x3a6319,startY:_0x19b4d7}=_0x97121a,{endX:_0xc67a61,endY:_0x1b2e27}=_0x473595,_0x2076ba=_0xc67a61-_0x3a6319,_0x450ede=_0x1b2e27-_0x19b4d7,_0xc95cd9={'labelPosition':_0x19b4d7-_0x4e1168>=nt?_0xad36a1(0x235):_0xad36a1(0x1aa),'sheetID':_0x311a43,'range':_0x449d1a,'color':_0x41b5ee,'name':_0x58104b,'selection':_0x2c382d,'left':_0x3a6319,'top':_0x19b4d7,'width':_0x2076ba,'height':_0x450ede,'evented':!0x1,'zIndex':ea};return new Xo(_0x58104b,_0xc95cd9);});_0x3ae7ca[_0xdabc75(0x1c8)](_0x31cc2c,zo),this[_0xdabc75(0x1cc)]=new Set(_0x31cc2c);}['_removeCollabCursors'](){const _0x8fe7c9=_0x5bb7a4;var _0x143fe2;(_0x143fe2=this[_0x8fe7c9(0x1cc)])==null||_0x143fe2[_0x8fe7c9(0x312)](_0x2d340b=>_0x2d340b[_0x8fe7c9(0x4d2)]());}[_0x5bb7a4(0x370)](){const _0x4ea631=_0x5bb7a4;return _0x1d2c70(this[_0x4ea631(0x265)][_0x4ea631(0x243)],this[_0x4ea631(0x265)]);}};as=Qo([kt(0x1,_0x22a3e1(_0x328715)),kt(0x2,_0x22a3e1(Ve)),kt(0x3,_0x22a3e1(_0x58be32))],as);function ta(_0x40e28a){const _0x5626f3=new Map();return _0x40e28a['forEach'](_0x589af5=>{const _0x573b8f=_0x4081;if(_0x5626f3['has'](_0x589af5[_0x573b8f(0x24a)])){const _0x1a96d1=_0x5626f3[_0x573b8f(0x4f7)](_0x589af5[_0x573b8f(0x24a)]);_0x1a96d1[_0x573b8f(0x408)]+=',\x20'+_0x589af5[_0x573b8f(0x408)];}else _0x5626f3[_0x573b8f(0x441)](_0x589af5['selection'],_0x589af5);}),Array['from'](_0x5626f3['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x2154fa){const _0x1e9693=_0x5bb7a4;return _0x2154fa&&_0x2154fa[_0x1e9693(0x206)]&&Object[_0x1e9693(0x423)]['hasOwnProperty']['call'](_0x2154fa,'default')?_0x2154fa[_0x1e9693(0x458)]:_0x2154fa;}var Mi={'exports':{}},Ot={},sa=_0x3fd601,ia=Symbol[_0x5bb7a4(0x2b1)](_0x5bb7a4(0x41e)),na=Symbol['for'](_0x5bb7a4(0x317)),ra=Object[_0x5bb7a4(0x423)][_0x5bb7a4(0x440)],oa=sa[_0x5bb7a4(0x3a0)]['ReactCurrentOwner'],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4081(_0x914906,_0x47fb9a){const _0x27da31=_0x27da();return _0x4081=function(_0x408197,_0x1a5ddf){_0x408197=_0x408197-0x163;let _0x5cf0f7=_0x27da31[_0x408197];return _0x5cf0f7;},_0x4081(_0x914906,_0x47fb9a);}function xi(_0x2275c3,_0x24211e,_0xc86925){const _0x8de65b=_0x5bb7a4;var _0x3157a0,_0x572745={},_0x588a4f=null,_0x47ef96=null;_0xc86925!==void 0x0&&(_0x588a4f=''+_0xc86925),_0x24211e[_0x8de65b(0x275)]!==void 0x0&&(_0x588a4f=''+_0x24211e['key']),_0x24211e[_0x8de65b(0x3a8)]!==void 0x0&&(_0x47ef96=_0x24211e[_0x8de65b(0x3a8)]);for(_0x3157a0 in _0x24211e)ra[_0x8de65b(0x1f6)](_0x24211e,_0x3157a0)&&!aa[_0x8de65b(0x440)](_0x3157a0)&&(_0x572745[_0x3157a0]=_0x24211e[_0x3157a0]);if(_0x2275c3&&_0x2275c3[_0x8de65b(0x346)]){for(_0x3157a0 in(_0x24211e=_0x2275c3['defaultProps'],_0x24211e))_0x572745[_0x3157a0]===void 0x0&&(_0x572745[_0x3157a0]=_0x24211e[_0x3157a0]);}return{'$$typeof':ia,'type':_0x2275c3,'key':_0x588a4f,'ref':_0x47ef96,'props':_0x572745,'_owner':oa[_0x8de65b(0x51a)]};}Ot[_0x5bb7a4(0x1d7)]=na,Ot[_0x5bb7a4(0x2fc)]=xi,Ot[_0x5bb7a4(0x28f)]=xi,Mi[_0x5bb7a4(0x236)]=Ot;var we=Mi['exports'],ee=function(){const _0xb8d2e4=_0x5bb7a4;return ee=Object['assign']||function(_0x19c61c){const _0x333a9d=_0x4081;for(var _0x4aa01a,_0x12c265=0x1,_0x16c363=arguments[_0x333a9d(0x282)];_0x12c265<_0x16c363;_0x12c265++){_0x4aa01a=arguments[_0x12c265];for(var _0x2aac17 in _0x4aa01a)Object[_0x333a9d(0x423)][_0x333a9d(0x440)][_0x333a9d(0x1f6)](_0x4aa01a,_0x2aac17)&&(_0x19c61c[_0x2aac17]=_0x4aa01a[_0x2aac17]);}return _0x19c61c;},ee[_0xb8d2e4(0x568)](this,arguments);},ca=function(_0x16d1c1,_0x54c826){const _0x4b2a6f=_0x5bb7a4;var _0x223824={};for(var _0x31bf36 in _0x16d1c1)Object[_0x4b2a6f(0x423)][_0x4b2a6f(0x440)][_0x4b2a6f(0x1f6)](_0x16d1c1,_0x31bf36)&&_0x54c826[_0x4b2a6f(0x41f)](_0x31bf36)<0x0&&(_0x223824[_0x31bf36]=_0x16d1c1[_0x31bf36]);if(_0x16d1c1!=null&&typeof Object['getOwnPropertySymbols']==_0x4b2a6f(0x4b8)){for(var _0x1e5156=0x0,_0x31bf36=Object[_0x4b2a6f(0x404)](_0x16d1c1);_0x1e5156<_0x31bf36['length'];_0x1e5156++)_0x54c826['indexOf'](_0x31bf36[_0x1e5156])<0x0&&Object['prototype'][_0x4b2a6f(0x499)][_0x4b2a6f(0x1f6)](_0x16d1c1,_0x31bf36[_0x1e5156])&&(_0x223824[_0x31bf36[_0x1e5156]]=_0x16d1c1[_0x31bf36[_0x1e5156]]);}return _0x223824;},Ts=_0x5ecf43(function(_0x1ddc40,_0x43b0c2){const _0xad23e0=_0x5bb7a4;var _0x5d28c5=_0x1ddc40[_0xad23e0(0x37c)],_0x1ee06b=_0x1ddc40['id'],_0xe5ef59=_0x1ddc40[_0xad23e0(0x375)],_0xeddec2=_0x1ddc40[_0xad23e0(0x187)],_0x461f45=ca(_0x1ddc40,[_0xad23e0(0x37c),'id',_0xad23e0(0x375),_0xad23e0(0x187)]),_0x706c0e='univerjs-icon\x20univerjs-icon-'[_0xad23e0(0x196)](_0x1ee06b,'\x20')[_0xad23e0(0x196)](_0xe5ef59||'')['trim'](),_0x7e2bf1=_0x37367c('_'[_0xad23e0(0x196)](_a()));return Li(_0x5d28c5,''[_0xad23e0(0x196)](_0x1ee06b),{'defIds':_0x5d28c5[_0xad23e0(0x563)],'idSuffix':_0x7e2bf1[_0xad23e0(0x51a)]},ee({'ref':_0x43b0c2,'className':_0x706c0e},_0x461f45),_0xeddec2);});function Li(_0x2b54ed,_0x52661d,_0x17e91e,_0x525d15,_0x101f34){const _0x3a17ba=_0x5bb7a4;return _0x438628(_0x2b54ed[_0x3a17ba(0x266)],ee(ee({'key':_0x52661d},ha(_0x2b54ed,_0x17e91e,_0x101f34)),_0x525d15),(la(_0x2b54ed,_0x17e91e)[_0x3a17ba(0x4e1)]||[])[_0x3a17ba(0x2c9)](function(_0x59ac71,_0x212c34){const _0x454abf=_0x3a17ba;return Li(_0x59ac71,''[_0x454abf(0x196)](_0x52661d,'-')['concat'](_0x2b54ed['tag'],'-')[_0x454abf(0x196)](_0x212c34),_0x17e91e,void 0x0,_0x101f34);}));}function ha(_0x1aab5c,_0x483250,_0xd2ea14){const _0x1eda34=_0x5bb7a4;var _0x43c9d3=ee({},_0x1aab5c['attrs']);_0xd2ea14!=null&&_0xd2ea14[_0x1eda34(0x4e9)]&&_0x43c9d3[_0x1eda34(0x31c)]===_0x1eda34(0x4e9)&&(_0x43c9d3['fill']=_0xd2ea14[_0x1eda34(0x4e9)]);var _0x1e27c6=_0x483250[_0x1eda34(0x563)];return!_0x1e27c6||_0x1e27c6[_0x1eda34(0x282)]===0x0||(_0x1aab5c[_0x1eda34(0x266)]==='use'&&_0x43c9d3[_0x1eda34(0x4af)]&&(_0x43c9d3[_0x1eda34(0x4af)]=_0x43c9d3[_0x1eda34(0x4af)]+_0x483250[_0x1eda34(0x1b2)]),Object[_0x1eda34(0x420)](_0x43c9d3)['forEach'](function(_0x1f9a1d){const _0x4394d6=_0x1eda34;var _0xd76ecd=_0x1f9a1d[0x0],_0x19c8f4=_0x1f9a1d[0x1];typeof _0x19c8f4==_0x4394d6(0x40c)&&(_0x43c9d3[_0xd76ecd]=_0x19c8f4[_0x4394d6(0x464)](/url\(#(.*)\)/,_0x4394d6(0x41b)[_0x4394d6(0x196)](_0x483250[_0x4394d6(0x1b2)],')')));})),_0x43c9d3;}function la(_0x4fd75b,_0x1e111e){const _0x21bee2=_0x5bb7a4;var _0x192017,_0x4906ea=_0x1e111e[_0x21bee2(0x563)];return!_0x4906ea||_0x4906ea['length']===0x0?_0x4fd75b:_0x4fd75b[_0x21bee2(0x266)]==='defs'&&(!((_0x192017=_0x4fd75b[_0x21bee2(0x4e1)])===null||_0x192017===void 0x0)&&_0x192017[_0x21bee2(0x282)])?ee(ee({},_0x4fd75b),{'children':_0x4fd75b[_0x21bee2(0x4e1)][_0x21bee2(0x2c9)](function(_0x4ab114){const _0x598800=_0x21bee2;return typeof _0x4ab114['attrs']['id']==_0x598800(0x40c)&&_0x4906ea&&_0x4906ea[_0x598800(0x41f)](_0x4ab114[_0x598800(0x4ce)]['id'])>-0x1?ee(ee({},_0x4ab114),{'attrs':ee(ee({},_0x4ab114[_0x598800(0x4ce)]),{'id':_0x4ab114[_0x598800(0x4ce)]['id']+_0x1e111e[_0x598800(0x1b2)]})}):_0x4ab114;})}):_0x4fd75b;}function _a(){const _0xf87ae6=_0x5bb7a4;return Math[_0xf87ae6(0x453)]()[_0xf87ae6(0x2e5)](0x24)[_0xf87ae6(0x4c8)](0x2,0x8);}Ts['displayName']=_0x5bb7a4(0x166);var ua={'tag':'svg','attrs':{'fill':'none','viewBox':_0x5bb7a4(0x4e5),'width':'1em','height':_0x5bb7a4(0x467)},'children':[{'tag':'g','attrs':{'clipPath':_0x5bb7a4(0x22d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5bb7a4(0x56b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5bb7a4(0x3de),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x5bb7a4(0x2a4),'d':_0x5bb7a4(0x1e4)}}]}]}],'defIds':['off-line-single_clip0_910_343']},$i=_0x5ecf43(function(_0x38344f,_0x5af1c9){const _0xef1f58=_0x5bb7a4;return _0x438628(Ts,Object['assign']({},_0x38344f,{'id':_0xef1f58(0x478),'ref':_0x5af1c9,'icon':ua}));});$i[_0x5bb7a4(0x493)]=_0x5bb7a4(0x333);var da={'tag':'svg','attrs':{'fill':_0x5bb7a4(0x1e6),'viewBox':_0x5bb7a4(0x26b),'width':_0x5bb7a4(0x467),'height':_0x5bb7a4(0x467)},'children':[{'tag':'g','attrs':{'clipPath':_0x5bb7a4(0x3c5)},'children':[{'tag':_0x5bb7a4(0x327),'attrs':{'stroke':_0x5bb7a4(0x2e7),'d':_0x5bb7a4(0x388),'strokeLinecap':'round','strokeLinejoin':_0x5bb7a4(0x3fe),'strokeWidth':1.2}}]},{'tag':_0x5bb7a4(0x484),'attrs':{},'children':[{'tag':_0x5bb7a4(0x3de),'attrs':{'id':_0x5bb7a4(0x500)},'children':[{'tag':_0x5bb7a4(0x327),'attrs':{'fill':_0x5bb7a4(0x2a4),'d':_0x5bb7a4(0x1e4),'transform':_0x5bb7a4(0x35c)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x5ecf43(function(_0x1bceb9,_0x26d5cb){const _0x16be8e=_0x5bb7a4;return _0x438628(Ts,Object[_0x16be8e(0x1a1)]({},_0x1bceb9,{'id':_0x16be8e(0x1ae),'ref':_0x26d5cb,'icon':da}));});Hi[_0x5bb7a4(0x493)]=_0x5bb7a4(0x1da);function ji(_0x208658){const _0x1a10a9=_0x5bb7a4;var _0x37935d,_0x4bc55f,_0x208756='';if(typeof _0x208658==_0x1a10a9(0x40c)||typeof _0x208658==_0x1a10a9(0x2fb))_0x208756+=_0x208658;else{if(typeof _0x208658==_0x1a10a9(0x4a3)){if(Array[_0x1a10a9(0x2f4)](_0x208658)){var _0x40580e=_0x208658[_0x1a10a9(0x282)];for(_0x37935d=0x0;_0x37935d<_0x40580e;_0x37935d++)_0x208658[_0x37935d]&&(_0x4bc55f=ji(_0x208658[_0x37935d]))&&(_0x208756&&(_0x208756+='\x20'),_0x208756+=_0x4bc55f);}else{for(_0x4bc55f in _0x208658)_0x208658[_0x4bc55f]&&(_0x208756&&(_0x208756+='\x20'),_0x208756+=_0x4bc55f);}}}return _0x208756;}function fa(){for(var _0x342903,_0x195980,_0x38a75f=0x0,_0x257654='',_0xbcf8bb=arguments['length'];_0x38a75f<_0xbcf8bb;_0x38a75f++)(_0x342903=arguments[_0x38a75f])&&(_0x195980=ji(_0x342903))&&(_0x257654&&(_0x257654+='\x20'),_0x257654+=_0x195980);return _0x257654;}const va=_0x5bb7a4(0x18f),ma=_0x5bb7a4(0x1d1),pa=_0x5bb7a4(0x56f),ga='univer-online',Sa=_0x5bb7a4(0x261),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x328188){const _0x34e287=_0x5bb7a4;switch(_0x328188){case J[_0x34e287(0x23a)]:return _0x34e287(0x32d);case J[_0x34e287(0x287)]:return'collabStatus.conflict';case J[_0x34e287(0x40b)]:return _0x34e287(0x41c);case J['NOT_COLLAB']:return _0x34e287(0x470);case J[_0x34e287(0x2f3)]:case J[_0x34e287(0x256)]:return _0x34e287(0x185);case J[_0x34e287(0x50e)]:case J['PENDING']:return _0x34e287(0x28c);}}function Ca(_0x324751){const _0x1f906d=_0x5bb7a4,{status$:_0x2fb4fd}=_0x324751,_0x35432d=_0x3b686f(_0x2fb4fd,J['NOT_COLLAB']),_0x33eac8=_0xe664fe(_0x1fdc1b),_0xb4f404=_0xe664fe(Ae),_0x55a547=_0x35432d!==J[_0x1f906d(0x23a)],_0x27ae9c=_0x33eac8['t'](Ia(_0x35432d)),_0x1aede2=fa(Ze[_0x1f906d(0x221)],{[Ze[_0x1f906d(0x26d)]]:_0x55a547,[Ze['offline']]:!_0x55a547}),_0x29971f=_0x55a547?we[_0x1f906d(0x2fc)](Hi,{}):we[_0x1f906d(0x2fc)]($i,{}),_0x2047d=_0x1f3798(()=>{_0x55a547||_0xb4f404['reconnect']();},[_0x55a547,_0xb4f404]);function _0x23919d(){const _0x7af87a=_0x1f906d;return we[_0x7af87a(0x28f)]('div',{'className':_0x1aede2,'onClick':_0x2047d,'children':[we[_0x7af87a(0x2fc)](_0x7af87a(0x28e),{'className':Ze[_0x7af87a(0x4c2)],'children':_0x29971f}),we['jsx'](_0x7af87a(0x28e),{'className':Ze[_0x7af87a(0x321)],'children':_0x27ae9c})]});}return _0x55a547?_0x23919d():we[_0x1f906d(0x2fc)](_0x4f930e,{'title':_0x33eac8['t'](_0x1f906d(0x1e8)),'children':_0x23919d()});}var Ea=Object[_0x5bb7a4(0x42b)],ba=Object[_0x5bb7a4(0x4e4)],Ta=(_0x245122,_0x1d38d9,_0x19deda,_0x2c19f6)=>{const _0x5d4d8a=_0x5bb7a4;for(var _0x361528=_0x2c19f6>0x1?void 0x0:_0x2c19f6?ba(_0x1d38d9,_0x19deda):_0x1d38d9,_0x46f6c9=_0x245122[_0x5d4d8a(0x282)]-0x1,_0x521453;_0x46f6c9>=0x0;_0x46f6c9--)(_0x521453=_0x245122[_0x46f6c9])&&(_0x361528=(_0x2c19f6?_0x521453(_0x1d38d9,_0x19deda,_0x361528):_0x521453(_0x361528))||_0x361528);return _0x2c19f6&&_0x361528&&Ea(_0x1d38d9,_0x19deda,_0x361528),_0x361528;},ht=(_0x51812c,_0x5a060f)=>(_0x365065,_0x52414b)=>_0x5a060f(_0x365065,_0x52414b,_0x51812c);let St=class extends _0x1caa36{constructor(_0x1a6489,_0xaba21b,_0x291629,_0x4dfdfd){const _0x294a65=_0x5bb7a4;super(),g(this,_0x294a65(0x281),new _0x348a88(J[_0x294a65(0x410)])),(this[_0x294a65(0x21d)]=_0x1a6489,this[_0x294a65(0x47e)]=_0xaba21b,this['_injector']=_0x291629,this[_0x294a65(0x471)]=_0x4dfdfd,this[_0x294a65(0x1cb)](),this['_initStatusListener']());}[_0x5bb7a4(0x4f3)](){const _0x2bbbd4=_0x5bb7a4;this[_0x2bbbd4(0x368)](this['_univerInstanceService']['focused$'][_0x2bbbd4(0x3f1)](_0x1e3e59(()=>{const _0xa6a18d=_0x2bbbd4,_0x51f6e0=this[_0xa6a18d(0x21d)][_0xa6a18d(0x1dd)]();return _0x51f6e0?this[_0xa6a18d(0x471)][_0xa6a18d(0x42f)](_0x51f6e0[_0xa6a18d(0x322)]()):_0x52cb6f(null);}),_0x1e3e59(_0x485493=>_0x485493?_0x485493['status$']:_0x52cb6f(J['NOT_COLLAB'])))[_0x2bbbd4(0x519)](_0x56d5c6=>{const _0x374e07=_0x2bbbd4;this[_0x374e07(0x281)][_0x374e07(0x3ff)](_0x56d5c6);}));}['_initStatusComponent'](){const _0x495557=_0x5bb7a4;this['disposeWithMe'](this[_0x495557(0x47e)]['registerComponent'](_0x5b1713[_0x495557(0x539)],()=>_0x3048e7(Ra({'status$':this[_0x495557(0x281)][_0x495557(0x1a6)]()}),this[_0x495557(0x338)])));}};St=Ta([ht(0x0,_0x2e0534),ht(0x1,_0x2cb103),ht(0x2,_0x22a3e1(_0x4c5160)),ht(0x3,_0x22a3e1(it))],St);function Ra(_0x15b711){const {status$:_0x26a141}=_0x15b711;return function(){return we['jsx'](Ca,{'status$':_0x26a141});};}const Bi=_0x5ce9a5('uni.network.url-service');var ya=Object[_0x5bb7a4(0x42b)],Oa=Object[_0x5bb7a4(0x4e4)],wa=(_0x41be83,_0x48acb7,_0x7c0ee7,_0x5bac1d)=>{const _0x3acb84=_0x5bb7a4;for(var _0x1c9aee=_0x5bac1d>0x1?void 0x0:_0x5bac1d?Oa(_0x48acb7,_0x7c0ee7):_0x48acb7,_0x3ab693=_0x41be83[_0x3acb84(0x282)]-0x1,_0x3b73fb;_0x3ab693>=0x0;_0x3ab693--)(_0x3b73fb=_0x41be83[_0x3ab693])&&(_0x1c9aee=(_0x5bac1d?_0x3b73fb(_0x48acb7,_0x7c0ee7,_0x1c9aee):_0x3b73fb(_0x1c9aee))||_0x1c9aee);return _0x5bac1d&&_0x1c9aee&&ya(_0x48acb7,_0x7c0ee7,_0x1c9aee),_0x1c9aee;},ke=(_0x3d4f4e,_0x54a35f)=>(_0x4448bc,_0x3141d6)=>_0x54a35f(_0x4448bc,_0x3141d6,_0x3d4f4e);let It=class extends _0x177a9e{constructor(_0x312bf0,_0xd155f6,_0x1c27cc,_0x2651c1,_0x38f438,_0x146be8){const _0x1d1980=_0x5bb7a4;super(),this[_0x1d1980(0x538)]=_0x312bf0,this[_0x1d1980(0x26e)]=_0xd155f6,this[_0x1d1980(0x53f)]=_0x1c27cc,this[_0x1d1980(0x46d)]=_0x2651c1,this[_0x1d1980(0x496)]=_0x38f438,_0x146be8?_0x146be8==null||_0x146be8['whenReady']()[_0x1d1980(0x40e)](()=>this[_0x1d1980(0x515)]()):(this[_0x1d1980(0x26e)][_0x1d1980(0x23c)](_0x1d1980(0x392),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x5bb7a4(0x515)](){const _0x5e03f0=_0x5bb7a4,_0x97d4ce=this[_0x5e03f0(0x538)][_0x5e03f0(0x325)](_0x5e03f0(0x243)),_0x24a475=this['_urlService'][_0x5e03f0(0x325)](_0x5e03f0(0x27e));if(!_0x97d4ce||!_0x24a475){this['_logService']['debug'](_0x5e03f0(0x392),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x24a475)){case ce[_0x5e03f0(0x55b)]:{const _0xf7e357=await this['_loadSheet'](_0x97d4ce);this[_0x5e03f0(0x271)](_0xf7e357);break;}case ce[_0x5e03f0(0x172)]:{await this[_0x5e03f0(0x1f3)](_0x97d4ce);break;}default:{this[_0x5e03f0(0x26e)][_0x5e03f0(0x17b)](_0x5e03f0(0x392),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5bb7a4(0x271)](_0x3252fc){const _0x318ad6=_0x5bb7a4;await this['_updateSubUnitFromURLParams'](_0x3252fc),_0x3252fc['activeSheet$']['pipe'](_0x52fa59(this[_0x318ad6(0x492)]))[_0x318ad6(0x519)](_0x29751a=>{const _0x5c1819=_0x318ad6;_0x29751a&&this[_0x5c1819(0x545)](_0x29751a);}),this[_0x318ad6(0x538)]['urlChange$'][_0x318ad6(0x3f1)](_0x52fa59(this[_0x318ad6(0x492)]))[_0x318ad6(0x519)](()=>this[_0x318ad6(0x2e4)](_0x3252fc));}[_0x5bb7a4(0x545)](_0x14d637,_0x17864f=!0x1){const _0x45f904=_0x5bb7a4,_0x2e555e=this[_0x45f904(0x538)]['getParam'](_0x45f904(0x1a8));_0x14d637[_0x45f904(0x192)]()!==_0x2e555e&&this['_urlService'][_0x45f904(0x53b)](_0x45f904(0x1a8),_0x14d637[_0x45f904(0x192)](),_0x17864f);}async[_0x5bb7a4(0x2e4)](_0x12ef4b){const _0x19557a=_0x5bb7a4;var _0x5e649c;const _0x11552d=this[_0x19557a(0x538)][_0x19557a(0x325)](_0x19557a(0x1a8));if(!_0x11552d||!_0x12ef4b['getSheetBySheetId'](_0x11552d)){const _0x5314e0=_0x12ef4b[_0x19557a(0x2af)]()[0x0],_0x3693c4=_0x12ef4b[_0x19557a(0x29a)](_0x5314e0);if(!_0x3693c4)return;this[_0x19557a(0x545)](_0x3693c4,!0x0),await this['_commandService'][_0x19557a(0x175)](_0x3d9171['id'],{'unitId':_0x12ef4b[_0x19557a(0x322)](),'subUnitId':_0x5314e0});return;}((_0x5e649c=_0x12ef4b[_0x19557a(0x475)]())==null?void 0x0:_0x5e649c[_0x19557a(0x192)]())!==_0x11552d&&await this[_0x19557a(0x53f)][_0x19557a(0x175)](_0x3d9171['id'],{'unitId':_0x12ef4b[_0x19557a(0x322)](),'subUnitId':_0x11552d});}async['_loadSheet'](_0x30016c){const _0x818c30=_0x5bb7a4;let _0x3641ae=0x0;const _0x3d950f=await this[_0x818c30(0x46d)]['loadOfflineData'](_0x30016c);return _0x3d950f&&(_0x3d950f[_0x818c30(0x25a)]||_0x3d950f[_0x818c30(0x47f)][_0x818c30(0x282)]!==0x0)&&(_0x3641ae=_0x3d950f[_0x818c30(0x4eb)]),_0x3641ae===0x0&&this[_0x818c30(0x26e)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x818c30(0x496)]['loadSheet'](_0x30016c,_0x3641ae);}async[_0x5bb7a4(0x1f3)](_0x29e89a){const _0xe63997=_0x5bb7a4;let _0x260042=0x0;const _0x19d9b0=await this[_0xe63997(0x46d)][_0xe63997(0x426)](_0x29e89a);return _0x19d9b0&&(_0x19d9b0['awaitingChangeset']||_0x19d9b0[_0xe63997(0x47f)][_0xe63997(0x282)]!==0x0)&&(_0x260042=_0x19d9b0['rev']),_0x260042===0x0&&this[_0xe63997(0x26e)][_0xe63997(0x23c)](_0xe63997(0x392),_0xe63997(0x384)),this[_0xe63997(0x496)]['loadDoc'](_0x29e89a,_0x260042);}};It=wa([ke(0x0,Bi),ke(0x1,_0x3efec9),ke(0x2,_0x1e58f0),ke(0x3,_0x22a3e1(q)),ke(0x4,_0x22a3e1(_0x2b1acd)),ke(0x5,_0x4f55bd(_0xfc52d5))],It);var Da=Object[_0x5bb7a4(0x42b)],Pa=Object[_0x5bb7a4(0x4e4)],Ua=(_0x1add72,_0x3e9b5b,_0x1a46ff,_0x373fdc)=>{const _0x393be7=_0x5bb7a4;for(var _0xe3420=_0x373fdc>0x1?void 0x0:_0x373fdc?Pa(_0x3e9b5b,_0x1a46ff):_0x3e9b5b,_0xd2fe25=_0x1add72[_0x393be7(0x282)]-0x1,_0x5afad9;_0xd2fe25>=0x0;_0xd2fe25--)(_0x5afad9=_0x1add72[_0xd2fe25])&&(_0xe3420=(_0x373fdc?_0x5afad9(_0x3e9b5b,_0x1a46ff,_0xe3420):_0x5afad9(_0xe3420))||_0xe3420);return _0x373fdc&&_0xe3420&&Da(_0x3e9b5b,_0x1a46ff,_0xe3420),_0xe3420;},zs=(_0xf8d69a,_0x461190)=>(_0x40bdad,_0x231055)=>_0x461190(_0x40bdad,_0x231055,_0xf8d69a);const Na='DEFAULT_FILE_NAME',Aa=_0x5bb7a4(0x30f);let Ct=class extends _0x1caa36{constructor(_0x5a5fa5,_0x42acab){const _0x1f3eb0=_0x5bb7a4;super(),this[_0x1f3eb0(0x21d)]=_0x5a5fa5,this[_0x1f3eb0(0x23e)]=_0x42acab,this[_0x1f3eb0(0x515)]();}[_0x5bb7a4(0x515)](){const _0x3eb6a2=_0x5bb7a4;this[_0x3eb6a2(0x368)](this[_0x3eb6a2(0x21d)][_0x3eb6a2(0x274)][_0x3eb6a2(0x519)](()=>{const _0x44f0df=_0x3eb6a2;var _0x5f3cac;const _0x4ae9e7=this['_univerInstanceService'][_0x44f0df(0x1dd)]();let _0xca8668=(_0x5f3cac=this[_0x44f0df(0x23e)]['getConfig'](Na))!=null?_0x5f3cac:Aa;_0x4ae9e7 instanceof _0x31b79d&&(_0xca8668=_0x4ae9e7[_0x44f0df(0x408)]),document['title']=_0xca8668;}));}};Ct=Ua([zs(0x0,_0x2e0534),zs(0x1,_0x2bb536)],Ct);var Ma=Object[_0x5bb7a4(0x42b)],xa=Object[_0x5bb7a4(0x4e4)],La=(_0x426133,_0x28ad6f,_0x5a475c,_0x273172)=>{const _0x48d52c=_0x5bb7a4;for(var _0x22752e=_0x273172>0x1?void 0x0:_0x273172?xa(_0x28ad6f,_0x5a475c):_0x28ad6f,_0x3856d4=_0x426133[_0x48d52c(0x282)]-0x1,_0x47c441;_0x3856d4>=0x0;_0x3856d4--)(_0x47c441=_0x426133[_0x3856d4])&&(_0x22752e=(_0x273172?_0x47c441(_0x28ad6f,_0x5a475c,_0x22752e):_0x47c441(_0x22752e))||_0x22752e);return _0x273172&&_0x22752e&&Ma(_0x28ad6f,_0x5a475c,_0x22752e),_0x22752e;},Wt=(_0x5a37f1,_0x39c6b9)=>(_0x3aaa1b,_0x208050)=>_0x39c6b9(_0x3aaa1b,_0x208050,_0x5a37f1);let Et=class{constructor(_0x31f852,_0x5a1ca5,_0x1b2ff4){const _0x3aca2e=_0x5bb7a4;this[_0x3aca2e(0x23e)]=_0x31f852,this[_0x3aca2e(0x1be)]=_0x5a1ca5,this['localeService']=_0x1b2ff4,this['init']();}['init'](){const _0x15617e=_0x5bb7a4;this[_0x15617e(0x1be)][_0x15617e(0x4a6)]({'priority':0x1,'interceptor':(_0x239818,_0x475168)=>_0x475168(_0x239818)['pipe'](_0x2d7fb7(async _0x3f2204=>{const _0x5a5c6a=_0x15617e,_0x2675ee=_0x3f2204;if(_0x2675ee[_0x5a5c6a(0x1ff)]===0x191&&window[_0x5a5c6a(0x43e)](this[_0x5a5c6a(0x28a)]['t']('auth.needGotoLoginAlert'))){const _0x364b1c=window['encodeURIComponent'](window[_0x5a5c6a(0x521)][_0x5a5c6a(0x50b)]);window['location']['href']=this['_getLoginPath']()+_0x5a5c6a(0x2c1)+_0x364b1c;}return _0x2675ee;}))});}['_getLoginPath'](){const _0x268dd5=_0x5bb7a4;var _0x4e0cdd,_0x2a05bd;const _0x22188f=this[_0x268dd5(0x23e)][_0x268dd5(0x447)](br),_0xf46d8f=this[_0x268dd5(0x23e)]['getConfig'](ie);return(_0x2a05bd=(_0x4e0cdd=_0xf46d8f==null?void 0x0:_0xf46d8f['loginUrlKey'])!=null?_0x4e0cdd:_0x22188f)!=null?_0x2a05bd:Tr;}};Et=La([Wt(0x0,_0x2bb536),Wt(0x1,_0x22a3e1(_0x41156a)),Wt(0x2,_0x22a3e1(_0x1fdc1b))],Et);var $a=Object[_0x5bb7a4(0x42b)],Ha=Object[_0x5bb7a4(0x4e4)],ja=(_0x2111b7,_0x16440d,_0x2e75c9,_0x12aaa0)=>{const _0x55371d=_0x5bb7a4;for(var _0x15ba77=_0x12aaa0>0x1?void 0x0:_0x12aaa0?Ha(_0x16440d,_0x2e75c9):_0x16440d,_0x20e23d=_0x2111b7[_0x55371d(0x282)]-0x1,_0x283311;_0x20e23d>=0x0;_0x20e23d--)(_0x283311=_0x2111b7[_0x20e23d])&&(_0x15ba77=(_0x12aaa0?_0x283311(_0x16440d,_0x2e75c9,_0x15ba77):_0x283311(_0x15ba77))||_0x15ba77);return _0x12aaa0&&_0x15ba77&&$a(_0x16440d,_0x2e75c9,_0x15ba77),_0x15ba77;},qs=(_0xe54d84,_0x2fec05)=>(_0x81f98c,_0x13f49e)=>_0x2fec05(_0x81f98c,_0x13f49e,_0xe54d84);const Ba=_0x5bb7a4(0x305),ka=_0x5bb7a4(0x57a);let cs=class extends _0x1caa36{constructor(_0x337e3f,_0xeeed76){const _0x3e1c8d=_0x5bb7a4;super(),this[_0x3e1c8d(0x415)]=_0x337e3f,this[_0x3e1c8d(0x23e)]=_0xeeed76,this[_0x3e1c8d(0x184)]();}[_0x5bb7a4(0x184)](){const _0x3d21bb=_0x5bb7a4,_0x5455dc=this;this[_0x3d21bb(0x368)](this[_0x3d21bb(0x415)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xc40197({'isMatch'(_0x640954){const _0x798292=_0x3d21bb;var _0x4d5d2e;if(_0x640954[_0x798292(0x38b)]===_0x798292(0x2bf)&&((_0x4d5d2e=_0x640954[_0x798292(0x1bb)])!=null&&_0x4d5d2e[_0x798292(0x1ab)])){const {objectID:_0x18af39,objectType:_0x28d99d}=_0x640954[_0x798292(0x1bb)]['body']||{};if(!_0x18af39||_0x28d99d===void 0x0)return!0x1;const _0x4d61de=_0x5455dc[_0x798292(0x546)]()+'/'+_0x28d99d+_0x798292(0x29f)+_0x18af39+_0x798292(0x4ba);if(_0x640954[_0x798292(0x217)]===_0x4d61de)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x36a6fa){const _0x150d85=_0x3d21bb;var _0x1fbbc1;return(_0x1fbbc1=_0x36a6fa[_0x150d85(0x1bb)])==null?void 0x0:_0x1fbbc1[_0x150d85(0x1ab)];},'mergeParamsToRequest'(_0xa9c753,_0x4de8f0){const _0x4f24ed=_0x3d21bb,_0x353d66=_0x5455dc[_0x4f24ed(0x546)]()+_0x4f24ed(0x39c),_0xa44dd4=_0xa9c753['reduce']((_0x1080f5,_0x448fb7)=>{const _0x52ea56=_0x4f24ed,{unitID:_0x4656b3,objectID:_0x19cb45,objectType:_0x2696e9,actions:_0x537407}=_0x448fb7;return _0x1080f5[_0x4656b3]||(_0x1080f5[_0x4656b3]={}),_0x1080f5[_0x4656b3][_0x19cb45]||(_0x1080f5[_0x4656b3][_0x19cb45]={'objectID':_0x19cb45,'objectType':_0x2696e9,'actions':[]}),_0x1080f5[_0x4656b3][_0x19cb45][_0x52ea56(0x37d)]['push'](..._0x537407),_0x1080f5;},{}),_0x21eb5f=[];for(const _0x4dad5f in _0xa44dd4)for(const _0x95cf28 in _0xa44dd4[_0x4dad5f]){const {actions:_0xdbfcda,objectType:_0xa3ff60}=_0xa44dd4[_0x4dad5f][_0x95cf28],_0x43eb54=[...new Set(_0xdbfcda)];_0x21eb5f[_0x4f24ed(0x433)]({'unitID':_0x4dad5f,'objectID':_0x95cf28,'objectType':_0xa3ff60,'actions':_0x43eb54});}return new _0x3b9e80(_0x4f24ed(0x2bf),_0x353d66,{'headers':_0x4de8f0[_0x4f24ed(0x210)],'withCredentials':_0x4de8f0[_0x4f24ed(0x2db)],'responseType':_0x4de8f0[_0x4f24ed(0x2a6)],'body':{'requests':_0x21eb5f}});}},{'distributeResult'(_0x58ff1d,_0x7ead0d){const _0xc2a64d=_0x3d21bb,{objectActions:_0x4b9114}=_0x58ff1d;return _0x7ead0d[_0xc2a64d(0x2c9)](_0x2ef88e=>{const _0xde6e8=_0xc2a64d,{unitID:_0x1143bf,objectID:_0x2346e5,actions:_0x3f6e45}=_0x2ef88e,_0x4bde05=_0x4b9114[_0xde6e8(0x1e7)](_0x486a50=>_0x486a50[_0xde6e8(0x4c4)]===_0x1143bf&&_0x486a50[_0xde6e8(0x52b)]===_0x2346e5),_0x59ce76=_0x3f6e45['map'](_0x17143a=>_0x4bde05==null?void 0x0:_0x4bde05[_0xde6e8(0x37d)][_0xde6e8(0x1e7)](_0x3b3b4a=>_0x3b3b4a['action']===_0x17143a))['filter'](_0x2aaa0b=>!!_0x2aaa0b);return{'config':_0x2ef88e,'result':{'actions':_0x59ce76,'error':_0x58ff1d['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x3a9d26=_0x5bb7a4;var _0x21bb7b,_0x2ac0b5;const _0x457aae=this[_0x3a9d26(0x23e)]['getConfig'](Ba),_0x2c24e4=this['_configService'][_0x3a9d26(0x447)](ie);return(_0x2ac0b5=(_0x21bb7b=_0x2c24e4==null?void 0x0:_0x2c24e4[_0x3a9d26(0x366)])!=null?_0x21bb7b:_0x457aae)!=null?_0x2ac0b5:ka;}async['create'](_0x305cf6){const _0x57bcb3=_0x5bb7a4,_0xe8ef05=this[_0x57bcb3(0x546)]()+'/'+_0x305cf6[_0x57bcb3(0x320)]+'/object';return(await this[_0x57bcb3(0x415)][_0x57bcb3(0x495)](_0xe8ef05,{'body':_0x305cf6}))[_0x57bcb3(0x1ab)]['objectID']||'';}async['list'](_0x2d8a0a){const _0x8ff8f3=_0x5bb7a4,_0x31fe88=this['_getAPIPrefixPath']()+_0x8ff8f3(0x4c9);return(await this[_0x8ff8f3(0x415)]['post'](_0x31fe88,{'body':_0x2d8a0a}))[_0x8ff8f3(0x1ab)][_0x8ff8f3(0x448)];}async[_0x5bb7a4(0x3c9)](_0x444a4f){const _0x333a63=_0x5bb7a4,_0x3e3d77=this[_0x333a63(0x546)]()+'/'+_0x444a4f[_0x333a63(0x320)]+_0x333a63(0x29f)+_0x444a4f[_0x333a63(0x52b)];await this[_0x333a63(0x415)][_0x333a63(0x3f3)](_0x3e3d77,{'body':_0x444a4f});}async['allowed'](_0x1f6b9d){const _0x37a3a7=_0x5bb7a4,_0x16caf8=this[_0x37a3a7(0x546)]()+'/'+_0x1f6b9d[_0x37a3a7(0x320)]+'/object/'+_0x1f6b9d[_0x37a3a7(0x52b)]+_0x37a3a7(0x4ba);return(await this[_0x37a3a7(0x415)][_0x37a3a7(0x495)](_0x16caf8,{'body':_0x1f6b9d}))[_0x37a3a7(0x1ab)][_0x37a3a7(0x37d)];}async[_0x5bb7a4(0x4ca)](_0x32e4a1){const _0x46b205=_0x5bb7a4,_0x410a4c=this[_0x46b205(0x546)]()+_0x46b205(0x39c);return(await this[_0x46b205(0x415)][_0x46b205(0x495)](_0x410a4c,{'body':{'requests':_0x32e4a1}}))[_0x46b205(0x1ab)][_0x46b205(0x295)];}async[_0x5bb7a4(0x349)](_0xf6412f){const _0x1620a1=_0x5bb7a4,_0x4a21be=this[_0x1620a1(0x546)]()+'/'+_0xf6412f[_0x1620a1(0x320)]+_0x1620a1(0x246),_0x805b4e=await this[_0x1620a1(0x415)][_0x1620a1(0x495)](_0x4a21be,{'body':_0xf6412f});return{'roles':_0x805b4e['body'][_0x1620a1(0x24f)],'actions':_0x805b4e[_0x1620a1(0x1ab)]['actions']};}async['deleteCollaborator'](_0x287395){const _0x2ca896=_0x5bb7a4,_0x42bd94=this['_getAPIPrefixPath']()+_0x2ca896(0x205);await this['_HTTPService']['delete'](_0x42bd94,{'params':{'collaboratorID':_0x287395[_0x2ca896(0x4f1)],'objectID':_0x287395[_0x2ca896(0x52b)],'unitID':_0x287395[_0x2ca896(0x4c4)]}});}async[_0x5bb7a4(0x1d5)](_0x4d1e98){const _0x52027d=_0x5bb7a4,_0x19f9da=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x52027d(0x415)][_0x52027d(0x419)](_0x19f9da,{'body':_0x4d1e98});}async['createCollaborator'](_0x13a6d4){const _0x178549=_0x5bb7a4,_0x154dde=this[_0x178549(0x546)]()+'/collaborator';await this['_HTTPService'][_0x178549(0x495)](_0x154dde,{'body':_0x13a6d4});}async['listCollaborators'](_0x398699){const _0x296dbf=_0x5bb7a4,_0x595da9=this['_getAPIPrefixPath']()+_0x296dbf(0x205);return(await this[_0x296dbf(0x415)][_0x296dbf(0x4f7)](_0x595da9,{'params':{'objectID':_0x398699[_0x296dbf(0x52b)],'unitID':_0x398699[_0x296dbf(0x4c4)]}}))[_0x296dbf(0x1ab)][_0x296dbf(0x251)];}async['putCollaborators'](_0x268da8){const _0x3e7fe9=_0x5bb7a4,_0xeca651=this[_0x3e7fe9(0x546)]()+_0x3e7fe9(0x205);await this[_0x3e7fe9(0x415)][_0x3e7fe9(0x3f3)](_0xeca651,{'body':_0x268da8});}};cs=ja([qs(0x0,_0x22a3e1(_0x41156a)),qs(0x1,_0x22a3e1(_0x2bb536))],cs);var ki={'exports':{}};function Wa(_0x3c7511){const _0x4dc6ca=_0x5bb7a4;throw new Error(_0x4dc6ca(0x1ca)+_0x3c7511+_0x4dc6ca(0x37f));}var Ft={'exports':{}},Xs;function ue(){return Xs||(Xs=0x1,function(_0x475529,_0x1dd709){(function(_0x529364,_0x2f6882){const _0x2a22dc=_0x4081;_0x475529[_0x2a22dc(0x236)]=_0x2f6882();}(Z,function(){var _0x42a0db=_0x42a0db||function(_0x553ddd,_0x3dde1c){const _0x3f3660=_0x4081;var _0x5bdb32;if(typeof window<'u'&&window['crypto']&&(_0x5bdb32=window[_0x3f3660(0x577)]),typeof self<'u'&&self[_0x3f3660(0x577)]&&(_0x5bdb32=self[_0x3f3660(0x577)]),typeof globalThis<'u'&&globalThis[_0x3f3660(0x577)]&&(_0x5bdb32=globalThis[_0x3f3660(0x577)]),!_0x5bdb32&&typeof window<'u'&&window[_0x3f3660(0x193)]&&(_0x5bdb32=window[_0x3f3660(0x193)]),!_0x5bdb32&&typeof Z<'u'&&Z['crypto']&&(_0x5bdb32=Z['crypto']),!_0x5bdb32&&typeof Wa==_0x3f3660(0x4b8))try{_0x5bdb32=require(_0x3f3660(0x577));}catch{}var _0x57d27c=function(){const _0x4aa3ee=_0x3f3660;if(_0x5bdb32){if(typeof _0x5bdb32[_0x4aa3ee(0x342)]==_0x4aa3ee(0x4b8))try{return _0x5bdb32[_0x4aa3ee(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bdb32[_0x4aa3ee(0x2dc)]==_0x4aa3ee(0x4b8))try{return _0x5bdb32[_0x4aa3ee(0x2dc)](0x4)[_0x4aa3ee(0x511)]();}catch{}}throw new Error(_0x4aa3ee(0x55a));},_0x744bbb=Object[_0x3f3660(0x54f)]||(function(){function _0x273570(){}return function(_0x4ef8b4){const _0x3b5fd4=_0x4081;var _0x3a9735;return _0x273570[_0x3b5fd4(0x423)]=_0x4ef8b4,_0x3a9735=new _0x273570(),_0x273570['prototype']=null,_0x3a9735;};}()),_0x1ce432={},_0x3657fd=_0x1ce432[_0x3f3660(0x2f1)]={},_0x320273=_0x3657fd['Base']=(function(){return{'extend':function(_0x310a09){const _0x511be7=_0x4081;var _0x166e0d=_0x744bbb(this);return _0x310a09&&_0x166e0d['mixIn'](_0x310a09),(!_0x166e0d[_0x511be7(0x440)](_0x511be7(0x1d6))||this[_0x511be7(0x1d6)]===_0x166e0d[_0x511be7(0x1d6)])&&(_0x166e0d['init']=function(){_0x166e0d['$super']['init']['apply'](this,arguments);}),_0x166e0d['init'][_0x511be7(0x423)]=_0x166e0d,_0x166e0d[_0x511be7(0x4f6)]=this,_0x166e0d;},'create':function(){const _0x2ed2e9=_0x4081;var _0x23e75c=this[_0x2ed2e9(0x187)]();return _0x23e75c[_0x2ed2e9(0x1d6)][_0x2ed2e9(0x568)](_0x23e75c,arguments),_0x23e75c;},'init':function(){},'mixIn':function(_0x2ec74c){const _0x267f35=_0x4081;for(var _0x3fcc75 in _0x2ec74c)_0x2ec74c[_0x267f35(0x440)](_0x3fcc75)&&(this[_0x3fcc75]=_0x2ec74c[_0x3fcc75]);_0x2ec74c[_0x267f35(0x440)]('toString')&&(this[_0x267f35(0x2e5)]=_0x2ec74c[_0x267f35(0x2e5)]);},'clone':function(){const _0x5d1d4e=_0x4081;return this[_0x5d1d4e(0x1d6)][_0x5d1d4e(0x423)][_0x5d1d4e(0x187)](this);}};}()),_0x4e6877=_0x3657fd[_0x3f3660(0x1b3)]=_0x320273[_0x3f3660(0x187)]({'init':function(_0x5ce309,_0x4a96c9){const _0x5135ba=_0x3f3660;_0x5ce309=this[_0x5135ba(0x1fa)]=_0x5ce309||[],_0x4a96c9!=_0x3dde1c?this['sigBytes']=_0x4a96c9:this[_0x5135ba(0x3ad)]=_0x5ce309['length']*0x4;},'toString':function(_0x4d4d81){const _0x287310=_0x3f3660;return(_0x4d4d81||_0x330813)[_0x287310(0x303)](this);},'concat':function(_0x471f07){const _0x120df4=_0x3f3660;var _0x356d82=this[_0x120df4(0x1fa)],_0xe53259=_0x471f07[_0x120df4(0x1fa)],_0x3c1272=this['sigBytes'],_0x3d0f54=_0x471f07[_0x120df4(0x3ad)];if(this['clamp'](),_0x3c1272%0x4)for(var _0x184cff=0x0;_0x184cff<_0x3d0f54;_0x184cff++){var _0x688a5b=_0xe53259[_0x184cff>>>0x2]>>>0x18-_0x184cff%0x4*0x8&0xff;_0x356d82[_0x3c1272+_0x184cff>>>0x2]|=_0x688a5b<<0x18-(_0x3c1272+_0x184cff)%0x4*0x8;}else{for(var _0x473517=0x0;_0x473517<_0x3d0f54;_0x473517+=0x4)_0x356d82[_0x3c1272+_0x473517>>>0x2]=_0xe53259[_0x473517>>>0x2];}return this['sigBytes']+=_0x3d0f54,this;},'clamp':function(){const _0x204520=_0x3f3660;var _0x40211a=this[_0x204520(0x1fa)],_0x4d5e8d=this['sigBytes'];_0x40211a[_0x4d5e8d>>>0x2]&=0xffffffff<<0x20-_0x4d5e8d%0x4*0x8,_0x40211a[_0x204520(0x282)]=_0x553ddd[_0x204520(0x247)](_0x4d5e8d/0x4);},'clone':function(){const _0xcfd7a0=_0x3f3660;var _0x3c7123=_0x320273[_0xcfd7a0(0x431)][_0xcfd7a0(0x1f6)](this);return _0x3c7123['words']=this[_0xcfd7a0(0x1fa)]['slice'](0x0),_0x3c7123;},'random':function(_0x5cc9d1){const _0x1df3fa=_0x3f3660;for(var _0x1cca56=[],_0x23cb62=0x0;_0x23cb62<_0x5cc9d1;_0x23cb62+=0x4)_0x1cca56[_0x1df3fa(0x433)](_0x57d27c());return new _0x4e6877[(_0x1df3fa(0x1d6))](_0x1cca56,_0x5cc9d1);}}),_0x1e927c=_0x1ce432[_0x3f3660(0x522)]={},_0x330813=_0x1e927c[_0x3f3660(0x2ac)]={'stringify':function(_0xc040df){const _0x1cd01a=_0x3f3660;for(var _0x55998e=_0xc040df['words'],_0x5f411b=_0xc040df[_0x1cd01a(0x3ad)],_0x2a36d1=[],_0x245523=0x0;_0x245523<_0x5f411b;_0x245523++){var _0x43acc7=_0x55998e[_0x245523>>>0x2]>>>0x18-_0x245523%0x4*0x8&0xff;_0x2a36d1['push']((_0x43acc7>>>0x4)[_0x1cd01a(0x2e5)](0x10)),_0x2a36d1['push']((_0x43acc7&0xf)[_0x1cd01a(0x2e5)](0x10));}return _0x2a36d1[_0x1cd01a(0x258)]('');},'parse':function(_0x384969){const _0x15f8af=_0x3f3660;for(var _0x104c36=_0x384969[_0x15f8af(0x282)],_0x263113=[],_0x3d46c8=0x0;_0x3d46c8<_0x104c36;_0x3d46c8+=0x2)_0x263113[_0x3d46c8>>>0x3]|=parseInt(_0x384969['substr'](_0x3d46c8,0x2),0x10)<<0x18-_0x3d46c8%0x8*0x4;return new _0x4e6877[(_0x15f8af(0x1d6))](_0x263113,_0x104c36/0x2);}},_0x63663a=_0x1e927c[_0x3f3660(0x3c4)]={'stringify':function(_0x393ee3){const _0x154597=_0x3f3660;for(var _0x37797b=_0x393ee3[_0x154597(0x1fa)],_0x1cffa9=_0x393ee3[_0x154597(0x3ad)],_0xe9f584=[],_0x45807a=0x0;_0x45807a<_0x1cffa9;_0x45807a++){var _0x3e223b=_0x37797b[_0x45807a>>>0x2]>>>0x18-_0x45807a%0x4*0x8&0xff;_0xe9f584[_0x154597(0x433)](String[_0x154597(0x224)](_0x3e223b));}return _0xe9f584[_0x154597(0x258)]('');},'parse':function(_0x4f3bc6){const _0x4c7f63=_0x3f3660;for(var _0x33398a=_0x4f3bc6[_0x4c7f63(0x282)],_0x27ad43=[],_0x3bd8b8=0x0;_0x3bd8b8<_0x33398a;_0x3bd8b8++)_0x27ad43[_0x3bd8b8>>>0x2]|=(_0x4f3bc6[_0x4c7f63(0x4d3)](_0x3bd8b8)&0xff)<<0x18-_0x3bd8b8%0x4*0x8;return new _0x4e6877[(_0x4c7f63(0x1d6))](_0x27ad43,_0x33398a);}},_0x644e59=_0x1e927c['Utf8']={'stringify':function(_0x4c82a5){const _0x296e17=_0x3f3660;try{return decodeURIComponent(escape(_0x63663a[_0x296e17(0x303)](_0x4c82a5)));}catch{throw new Error(_0x296e17(0x3d0));}},'parse':function(_0x57158c){const _0x5d907f=_0x3f3660;return _0x63663a[_0x5d907f(0x57c)](unescape(encodeURIComponent(_0x57158c)));}},_0x4805f6=_0x3657fd[_0x3f3660(0x1b8)]=_0x320273['extend']({'reset':function(){const _0x120692=_0x3f3660;this['_data']=new _0x4e6877[(_0x120692(0x1d6))](),this['_nDataBytes']=0x0;},'_append':function(_0x5c4718){const _0x515456=_0x3f3660;typeof _0x5c4718==_0x515456(0x40c)&&(_0x5c4718=_0x644e59['parse'](_0x5c4718)),this['_data'][_0x515456(0x196)](_0x5c4718),this[_0x515456(0x3b8)]+=_0x5c4718[_0x515456(0x3ad)];},'_process':function(_0xa9cc5e){const _0x33af1b=_0x3f3660;var _0x2d2944,_0x4c488a=this[_0x33af1b(0x2a9)],_0x3f7730=_0x4c488a[_0x33af1b(0x1fa)],_0x3c1f29=_0x4c488a[_0x33af1b(0x3ad)],_0x10d0c4=this['blockSize'],_0x400adb=_0x10d0c4*0x4,_0x246ccb=_0x3c1f29/_0x400adb;_0xa9cc5e?_0x246ccb=_0x553ddd[_0x33af1b(0x247)](_0x246ccb):_0x246ccb=_0x553ddd[_0x33af1b(0x173)]((_0x246ccb|0x0)-this[_0x33af1b(0x1bc)],0x0);var _0x1f2413=_0x246ccb*_0x10d0c4,_0x189699=_0x553ddd[_0x33af1b(0x443)](_0x1f2413*0x4,_0x3c1f29);if(_0x1f2413){for(var _0x3980d2=0x0;_0x3980d2<_0x1f2413;_0x3980d2+=_0x10d0c4)this[_0x33af1b(0x54e)](_0x3f7730,_0x3980d2);_0x2d2944=_0x3f7730['splice'](0x0,_0x1f2413),_0x4c488a[_0x33af1b(0x3ad)]-=_0x189699;}return new _0x4e6877['init'](_0x2d2944,_0x189699);},'clone':function(){const _0x3ee1a6=_0x3f3660;var _0x5e7362=_0x320273[_0x3ee1a6(0x431)][_0x3ee1a6(0x1f6)](this);return _0x5e7362[_0x3ee1a6(0x2a9)]=this[_0x3ee1a6(0x2a9)][_0x3ee1a6(0x431)](),_0x5e7362;},'_minBufferSize':0x0});_0x3657fd['Hasher']=_0x4805f6['extend']({'cfg':_0x320273[_0x3f3660(0x187)](),'init':function(_0x378782){const _0x197361=_0x3f3660;this[_0x197361(0x181)]=this[_0x197361(0x181)][_0x197361(0x187)](_0x378782),this[_0x197361(0x2d7)]();},'reset':function(){const _0x228b50=_0x3f3660;_0x4805f6[_0x228b50(0x2d7)][_0x228b50(0x1f6)](this),this[_0x228b50(0x1c4)]();},'update':function(_0x5d5be8){const _0x377fb1=_0x3f3660;return this[_0x377fb1(0x362)](_0x5d5be8),this[_0x377fb1(0x16f)](),this;},'finalize':function(_0x4297c3){const _0xbe482c=_0x3f3660;_0x4297c3&&this['_append'](_0x4297c3);var _0x4886d8=this[_0xbe482c(0x555)]();return _0x4886d8;},'blockSize':0x10,'_createHelper':function(_0x4df4eb){return function(_0x1d9d21,_0x225419){const _0x195f3e=_0x4081;return new _0x4df4eb['init'](_0x225419)[_0x195f3e(0x2e2)](_0x1d9d21);};},'_createHmacHelper':function(_0x934465){return function(_0xf62b4f,_0x27967b){const _0x4b7fda=_0x4081;return new _0xc8f321[(_0x4b7fda(0x44e))][(_0x4b7fda(0x1d6))](_0x934465,_0x27967b)[_0x4b7fda(0x2e2)](_0xf62b4f);};}});var _0xc8f321=_0x1ce432[_0x3f3660(0x44d)]={};return _0x1ce432;}(Math);return _0x42a0db;}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Wi(){const _0x1e6bd5=_0x5bb7a4;return Js||(Js=0x1,function(_0x4ae74d,_0x324aad){(function(_0x478283,_0x232ec){const _0x43abd9=_0x4081;_0x4ae74d[_0x43abd9(0x236)]=_0x232ec(ue());}(Z,function(_0x1aed71){return(function(){const _0x2537cc=_0x4081;var _0x73af1f=_0x1aed71,_0x2449d0=_0x73af1f[_0x2537cc(0x2f1)],_0x573999=_0x2449d0[_0x2537cc(0x1b3)],_0x5aaa1f=_0x73af1f[_0x2537cc(0x522)];_0x5aaa1f['Base64']={'stringify':function(_0x31176c){const _0x5a217a=_0x2537cc;var _0x5b240b=_0x31176c[_0x5a217a(0x1fa)],_0x25fc4e=_0x31176c[_0x5a217a(0x3ad)],_0x32e068=this['_map'];_0x31176c[_0x5a217a(0x551)]();for(var _0x5e98f5=[],_0x5b88a7=0x0;_0x5b88a7<_0x25fc4e;_0x5b88a7+=0x3)for(var _0x4ee2cb=_0x5b240b[_0x5b88a7>>>0x2]>>>0x18-_0x5b88a7%0x4*0x8&0xff,_0x4b534e=_0x5b240b[_0x5b88a7+0x1>>>0x2]>>>0x18-(_0x5b88a7+0x1)%0x4*0x8&0xff,_0x122313=_0x5b240b[_0x5b88a7+0x2>>>0x2]>>>0x18-(_0x5b88a7+0x2)%0x4*0x8&0xff,_0x2858d0=_0x4ee2cb<<0x10|_0x4b534e<<0x8|_0x122313,_0x576349=0x0;_0x576349<0x4&&_0x5b88a7+_0x576349*0.75<_0x25fc4e;_0x576349++)_0x5e98f5[_0x5a217a(0x433)](_0x32e068['charAt'](_0x2858d0>>>0x6*(0x3-_0x576349)&0x3f));var _0x17fd68=_0x32e068['charAt'](0x40);if(_0x17fd68){for(;_0x5e98f5[_0x5a217a(0x282)]%0x4;)_0x5e98f5[_0x5a217a(0x433)](_0x17fd68);}return _0x5e98f5[_0x5a217a(0x258)]('');},'parse':function(_0x2ddb63){const _0x417b75=_0x2537cc;var _0x268dfe=_0x2ddb63[_0x417b75(0x282)],_0x133e93=this[_0x417b75(0x390)],_0xca00ef=this[_0x417b75(0x523)];if(!_0xca00ef){_0xca00ef=this[_0x417b75(0x523)]=[];for(var _0xf51d00=0x0;_0xf51d00<_0x133e93[_0x417b75(0x282)];_0xf51d00++)_0xca00ef[_0x133e93[_0x417b75(0x4d3)](_0xf51d00)]=_0xf51d00;}var _0x5effbb=_0x133e93[_0x417b75(0x504)](0x40);if(_0x5effbb){var _0x34f945=_0x2ddb63[_0x417b75(0x41f)](_0x5effbb);_0x34f945!==-0x1&&(_0x268dfe=_0x34f945);}return _0x307960(_0x2ddb63,_0x268dfe,_0xca00ef);},'_map':_0x2537cc(0x36d)};function _0x307960(_0x263ac5,_0x5341f4,_0xe3d65c){const _0x46b28b=_0x2537cc;for(var _0x4be8d7=[],_0x355cad=0x0,_0x5e5108=0x0;_0x5e5108<_0x5341f4;_0x5e5108++)if(_0x5e5108%0x4){var _0x5be495=_0xe3d65c[_0x263ac5[_0x46b28b(0x4d3)](_0x5e5108-0x1)]<<_0x5e5108%0x4*0x2,_0x56b987=_0xe3d65c[_0x263ac5[_0x46b28b(0x4d3)](_0x5e5108)]>>>0x6-_0x5e5108%0x4*0x2,_0x469f36=_0x5be495|_0x56b987;_0x4be8d7[_0x355cad>>>0x2]|=_0x469f36<<0x18-_0x355cad%0x4*0x8,_0x355cad++;}return _0x573999[_0x46b28b(0x54f)](_0x4be8d7,_0x355cad);}}()),_0x1aed71['enc']['Base64'];}));}(Vt)),Vt[_0x1e6bd5(0x236)];}var Gt={'exports':{}},Zs;function Fa(){const _0x1304f2=_0x5bb7a4;return Zs||(Zs=0x1,function(_0x154387,_0x4cd16a){(function(_0x2fec58,_0x40d5d3){_0x154387['exports']=_0x40d5d3(ue());}(Z,function(_0x435eac){const _0x4f102=_0x4081;return function(_0x1cd82b){const _0x460f07=_0x4081;var _0x2482fc=_0x435eac,_0x1db649=_0x2482fc[_0x460f07(0x2f1)],_0x50b064=_0x1db649[_0x460f07(0x1b3)],_0x271e0e=_0x1db649[_0x460f07(0x332)],_0x325cb2=_0x2482fc[_0x460f07(0x44d)],_0x1e0010=[];(function(){const _0x4507d7=_0x460f07;for(var _0x3eff33=0x0;_0x3eff33<0x40;_0x3eff33++)_0x1e0010[_0x3eff33]=_0x1cd82b[_0x4507d7(0x399)](_0x1cd82b[_0x4507d7(0x524)](_0x3eff33+0x1))*0x100000000|0x0;}());var _0x47b07f=_0x325cb2[_0x460f07(0x36c)]=_0x271e0e[_0x460f07(0x187)]({'_doReset':function(){const _0x1bb6a9=_0x460f07;this[_0x1bb6a9(0x53a)]=new _0x50b064[(_0x1bb6a9(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x57b406,_0x4cd6ae){const _0x200976=_0x460f07;for(var _0x1b37bd=0x0;_0x1b37bd<0x10;_0x1b37bd++){var _0x5379d3=_0x4cd6ae+_0x1b37bd,_0x2c7a1d=_0x57b406[_0x5379d3];_0x57b406[_0x5379d3]=(_0x2c7a1d<<0x8|_0x2c7a1d>>>0x18)&0xff00ff|(_0x2c7a1d<<0x18|_0x2c7a1d>>>0x8)&0xff00ff00;}var _0x5321ca=this[_0x200976(0x53a)][_0x200976(0x1fa)],_0x4755f2=_0x57b406[_0x4cd6ae+0x0],_0x1a4fd3=_0x57b406[_0x4cd6ae+0x1],_0x408d3b=_0x57b406[_0x4cd6ae+0x2],_0x203499=_0x57b406[_0x4cd6ae+0x3],_0x3156fe=_0x57b406[_0x4cd6ae+0x4],_0x3f3fbd=_0x57b406[_0x4cd6ae+0x5],_0x3e56ea=_0x57b406[_0x4cd6ae+0x6],_0x3a2c2a=_0x57b406[_0x4cd6ae+0x7],_0x295878=_0x57b406[_0x4cd6ae+0x8],_0x4572b7=_0x57b406[_0x4cd6ae+0x9],_0x712aab=_0x57b406[_0x4cd6ae+0xa],_0x236529=_0x57b406[_0x4cd6ae+0xb],_0x277708=_0x57b406[_0x4cd6ae+0xc],_0x1a31a1=_0x57b406[_0x4cd6ae+0xd],_0x7c0474=_0x57b406[_0x4cd6ae+0xe],_0x24d0b8=_0x57b406[_0x4cd6ae+0xf],_0x656c41=_0x5321ca[0x0],_0x570d6d=_0x5321ca[0x1],_0x2e07a0=_0x5321ca[0x2],_0x233209=_0x5321ca[0x3];_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4755f2,0x7,_0x1e0010[0x0]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x1a4fd3,0xc,_0x1e0010[0x1]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x408d3b,0x11,_0x1e0010[0x2]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x203499,0x16,_0x1e0010[0x3]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3156fe,0x7,_0x1e0010[0x4]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3f3fbd,0xc,_0x1e0010[0x5]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3e56ea,0x11,_0x1e0010[0x6]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3a2c2a,0x16,_0x1e0010[0x7]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x295878,0x7,_0x1e0010[0x8]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x4572b7,0xc,_0x1e0010[0x9]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x712aab,0x11,_0x1e0010[0xa]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x236529,0x16,_0x1e0010[0xb]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x277708,0x7,_0x1e0010[0xc]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x1a31a1,0xc,_0x1e0010[0xd]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x7c0474,0x11,_0x1e0010[0xe]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x24d0b8,0x16,_0x1e0010[0xf]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a4fd3,0x5,_0x1e0010[0x10]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3e56ea,0x9,_0x1e0010[0x11]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x236529,0xe,_0x1e0010[0x12]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x4755f2,0x14,_0x1e0010[0x13]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3f3fbd,0x5,_0x1e0010[0x14]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x712aab,0x9,_0x1e0010[0x15]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x24d0b8,0xe,_0x1e0010[0x16]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3156fe,0x14,_0x1e0010[0x17]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4572b7,0x5,_0x1e0010[0x18]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x7c0474,0x9,_0x1e0010[0x19]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x203499,0xe,_0x1e0010[0x1a]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x295878,0x14,_0x1e0010[0x1b]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a31a1,0x5,_0x1e0010[0x1c]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x408d3b,0x9,_0x1e0010[0x1d]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3a2c2a,0xe,_0x1e0010[0x1e]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x277708,0x14,_0x1e0010[0x1f]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3f3fbd,0x4,_0x1e0010[0x20]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x295878,0xb,_0x1e0010[0x21]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x236529,0x10,_0x1e0010[0x22]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x7c0474,0x17,_0x1e0010[0x23]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a4fd3,0x4,_0x1e0010[0x24]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3156fe,0xb,_0x1e0010[0x25]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3a2c2a,0x10,_0x1e0010[0x26]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x712aab,0x17,_0x1e0010[0x27]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a31a1,0x4,_0x1e0010[0x28]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x4755f2,0xb,_0x1e0010[0x29]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x203499,0x10,_0x1e0010[0x2a]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3e56ea,0x17,_0x1e0010[0x2b]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4572b7,0x4,_0x1e0010[0x2c]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x277708,0xb,_0x1e0010[0x2d]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x24d0b8,0x10,_0x1e0010[0x2e]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x408d3b,0x17,_0x1e0010[0x2f]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4755f2,0x6,_0x1e0010[0x30]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3a2c2a,0xa,_0x1e0010[0x31]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x7c0474,0xf,_0x1e0010[0x32]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3f3fbd,0x15,_0x1e0010[0x33]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x277708,0x6,_0x1e0010[0x34]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x203499,0xa,_0x1e0010[0x35]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x712aab,0xf,_0x1e0010[0x36]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x1a4fd3,0x15,_0x1e0010[0x37]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x295878,0x6,_0x1e0010[0x38]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x24d0b8,0xa,_0x1e0010[0x39]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3e56ea,0xf,_0x1e0010[0x3a]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x1a31a1,0x15,_0x1e0010[0x3b]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3156fe,0x6,_0x1e0010[0x3c]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x236529,0xa,_0x1e0010[0x3d]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x408d3b,0xf,_0x1e0010[0x3e]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x4572b7,0x15,_0x1e0010[0x3f]),_0x5321ca[0x0]=_0x5321ca[0x0]+_0x656c41|0x0,_0x5321ca[0x1]=_0x5321ca[0x1]+_0x570d6d|0x0,_0x5321ca[0x2]=_0x5321ca[0x2]+_0x2e07a0|0x0,_0x5321ca[0x3]=_0x5321ca[0x3]+_0x233209|0x0;},'_doFinalize':function(){const _0x5b1b40=_0x460f07;var _0x5ea5fa=this[_0x5b1b40(0x2a9)],_0x195aae=_0x5ea5fa['words'],_0x202fd9=this[_0x5b1b40(0x3b8)]*0x8,_0x3499b1=_0x5ea5fa[_0x5b1b40(0x3ad)]*0x8;_0x195aae[_0x3499b1>>>0x5]|=0x80<<0x18-_0x3499b1%0x20;var _0x397acd=_0x1cd82b[_0x5b1b40(0x23d)](_0x202fd9/0x100000000),_0x44f647=_0x202fd9;_0x195aae[(_0x3499b1+0x40>>>0x9<<0x4)+0xf]=(_0x397acd<<0x8|_0x397acd>>>0x18)&0xff00ff|(_0x397acd<<0x18|_0x397acd>>>0x8)&0xff00ff00,_0x195aae[(_0x3499b1+0x40>>>0x9<<0x4)+0xe]=(_0x44f647<<0x8|_0x44f647>>>0x18)&0xff00ff|(_0x44f647<<0x18|_0x44f647>>>0x8)&0xff00ff00,_0x5ea5fa[_0x5b1b40(0x3ad)]=(_0x195aae[_0x5b1b40(0x282)]+0x1)*0x4,this[_0x5b1b40(0x16f)]();for(var _0x44cea8=this['_hash'],_0x653a70=_0x44cea8[_0x5b1b40(0x1fa)],_0xc07b7c=0x0;_0xc07b7c<0x4;_0xc07b7c++){var _0x3ab5a4=_0x653a70[_0xc07b7c];_0x653a70[_0xc07b7c]=(_0x3ab5a4<<0x8|_0x3ab5a4>>>0x18)&0xff00ff|(_0x3ab5a4<<0x18|_0x3ab5a4>>>0x8)&0xff00ff00;}return _0x44cea8;},'clone':function(){const _0x3294e0=_0x460f07;var _0x5ef8bd=_0x271e0e[_0x3294e0(0x431)][_0x3294e0(0x1f6)](this);return _0x5ef8bd[_0x3294e0(0x53a)]=this[_0x3294e0(0x53a)][_0x3294e0(0x431)](),_0x5ef8bd;}});function _0x309cdc(_0x33d2be,_0x18cd00,_0x7fddb5,_0x126dbc,_0x1f7106,_0x5f0dc7,_0xabb8f6){var _0x389a48=_0x33d2be+(_0x18cd00&_0x7fddb5|~_0x18cd00&_0x126dbc)+_0x1f7106+_0xabb8f6;return(_0x389a48<<_0x5f0dc7|_0x389a48>>>0x20-_0x5f0dc7)+_0x18cd00;}function _0x233504(_0x57b570,_0x4f99db,_0x4899a8,_0x6fd66c,_0x758dea,_0x44424c,_0x550c21){var _0x5d3dac=_0x57b570+(_0x4f99db&_0x6fd66c|_0x4899a8&~_0x6fd66c)+_0x758dea+_0x550c21;return(_0x5d3dac<<_0x44424c|_0x5d3dac>>>0x20-_0x44424c)+_0x4f99db;}function _0x95bde1(_0x2490c5,_0x4afa55,_0x253341,_0xa54636,_0x5b9907,_0x1636d2,_0x28b665){var _0x425369=_0x2490c5+(_0x4afa55^_0x253341^_0xa54636)+_0x5b9907+_0x28b665;return(_0x425369<<_0x1636d2|_0x425369>>>0x20-_0x1636d2)+_0x4afa55;}function _0x56fb36(_0x758b2e,_0x5ba7a8,_0x1ac8ec,_0x2fb69d,_0x40a75b,_0x250dc2,_0x17b1e4){var _0x4b2a2f=_0x758b2e+(_0x1ac8ec^(_0x5ba7a8|~_0x2fb69d))+_0x40a75b+_0x17b1e4;return(_0x4b2a2f<<_0x250dc2|_0x4b2a2f>>>0x20-_0x250dc2)+_0x5ba7a8;}_0x2482fc[_0x460f07(0x36c)]=_0x271e0e[_0x460f07(0x3ee)](_0x47b07f),_0x2482fc[_0x460f07(0x285)]=_0x271e0e[_0x460f07(0x1d4)](_0x47b07f);}(Math),_0x435eac[_0x4f102(0x36c)];}));}(Gt)),Gt[_0x1304f2(0x236)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x6db3bd=_0x5bb7a4;return Qs||(Qs=0x1,function(_0x852991,_0x1a54bc){(function(_0x2c4a02,_0x6cd65d){_0x852991['exports']=_0x6cd65d(ue());}(Z,function(_0x583dab){return(function(){const _0x53f76b=_0x4081;var _0x42c67f=_0x583dab,_0x47f734=_0x42c67f[_0x53f76b(0x2f1)],_0x22efd6=_0x47f734[_0x53f76b(0x1b3)],_0xdb4653=_0x47f734[_0x53f76b(0x332)],_0x46f210=_0x42c67f[_0x53f76b(0x44d)],_0x3819ee=[],_0x4c7df2=_0x46f210[_0x53f76b(0x3b6)]=_0xdb4653[_0x53f76b(0x187)]({'_doReset':function(){const _0x571169=_0x53f76b;this[_0x571169(0x53a)]=new _0x22efd6[(_0x571169(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1c2222,_0x2315c6){const _0x4787d4=_0x53f76b;for(var _0x460f63=this[_0x4787d4(0x53a)]['words'],_0x5de972=_0x460f63[0x0],_0x259246=_0x460f63[0x1],_0x57f3d3=_0x460f63[0x2],_0xae7b73=_0x460f63[0x3],_0x131855=_0x460f63[0x4],_0x4dfc1a=0x0;_0x4dfc1a<0x50;_0x4dfc1a++){if(_0x4dfc1a<0x10)_0x3819ee[_0x4dfc1a]=_0x1c2222[_0x2315c6+_0x4dfc1a]|0x0;else{var _0x19e6f7=_0x3819ee[_0x4dfc1a-0x3]^_0x3819ee[_0x4dfc1a-0x8]^_0x3819ee[_0x4dfc1a-0xe]^_0x3819ee[_0x4dfc1a-0x10];_0x3819ee[_0x4dfc1a]=_0x19e6f7<<0x1|_0x19e6f7>>>0x1f;}var _0x1e0bfd=(_0x5de972<<0x5|_0x5de972>>>0x1b)+_0x131855+_0x3819ee[_0x4dfc1a];_0x4dfc1a<0x14?_0x1e0bfd+=(_0x259246&_0x57f3d3|~_0x259246&_0xae7b73)+0x5a827999:_0x4dfc1a<0x28?_0x1e0bfd+=(_0x259246^_0x57f3d3^_0xae7b73)+0x6ed9eba1:_0x4dfc1a<0x3c?_0x1e0bfd+=(_0x259246&_0x57f3d3|_0x259246&_0xae7b73|_0x57f3d3&_0xae7b73)-0x70e44324:_0x1e0bfd+=(_0x259246^_0x57f3d3^_0xae7b73)-0x359d3e2a,_0x131855=_0xae7b73,_0xae7b73=_0x57f3d3,_0x57f3d3=_0x259246<<0x1e|_0x259246>>>0x2,_0x259246=_0x5de972,_0x5de972=_0x1e0bfd;}_0x460f63[0x0]=_0x460f63[0x0]+_0x5de972|0x0,_0x460f63[0x1]=_0x460f63[0x1]+_0x259246|0x0,_0x460f63[0x2]=_0x460f63[0x2]+_0x57f3d3|0x0,_0x460f63[0x3]=_0x460f63[0x3]+_0xae7b73|0x0,_0x460f63[0x4]=_0x460f63[0x4]+_0x131855|0x0;},'_doFinalize':function(){const _0x24ac59=_0x53f76b;var _0x12c5bc=this[_0x24ac59(0x2a9)],_0x404c19=_0x12c5bc[_0x24ac59(0x1fa)],_0x1009ed=this['_nDataBytes']*0x8,_0x351e16=_0x12c5bc[_0x24ac59(0x3ad)]*0x8;return _0x404c19[_0x351e16>>>0x5]|=0x80<<0x18-_0x351e16%0x20,_0x404c19[(_0x351e16+0x40>>>0x9<<0x4)+0xe]=Math[_0x24ac59(0x23d)](_0x1009ed/0x100000000),_0x404c19[(_0x351e16+0x40>>>0x9<<0x4)+0xf]=_0x1009ed,_0x12c5bc[_0x24ac59(0x3ad)]=_0x404c19[_0x24ac59(0x282)]*0x4,this[_0x24ac59(0x16f)](),this[_0x24ac59(0x53a)];},'clone':function(){const _0x1963fc=_0x53f76b;var _0x2fb258=_0xdb4653['clone']['call'](this);return _0x2fb258[_0x1963fc(0x53a)]=this[_0x1963fc(0x53a)]['clone'](),_0x2fb258;}});_0x42c67f[_0x53f76b(0x3b6)]=_0xdb4653[_0x53f76b(0x3ee)](_0x4c7df2),_0x42c67f[_0x53f76b(0x531)]=_0xdb4653['_createHmacHelper'](_0x4c7df2);}()),_0x583dab['SHA1'];}));}(Kt)),Kt[_0x6db3bd(0x236)];}var zt={'exports':{}},ei;function Ga(){const _0xe0163e=_0x5bb7a4;return ei||(ei=0x1,function(_0x489453,_0x22f44e){(function(_0x2b8707,_0x446318){_0x489453['exports']=_0x446318(ue());}(Z,function(_0x25ea10){(function(){const _0x14d214=_0x4081;var _0x17c8a5=_0x25ea10,_0x5f4e9a=_0x17c8a5['lib'],_0x25ab74=_0x5f4e9a[_0x14d214(0x429)],_0x4554a3=_0x17c8a5[_0x14d214(0x522)],_0x361017=_0x4554a3[_0x14d214(0x331)],_0x5cd2e7=_0x17c8a5[_0x14d214(0x44d)];_0x5cd2e7['HMAC']=_0x25ab74[_0x14d214(0x187)]({'init':function(_0x213746,_0x3788a3){const _0x431feb=_0x14d214;_0x213746=this['_hasher']=new _0x213746[(_0x431feb(0x1d6))](),typeof _0x3788a3==_0x431feb(0x40c)&&(_0x3788a3=_0x361017[_0x431feb(0x57c)](_0x3788a3));var _0x39effd=_0x213746[_0x431feb(0x2c0)],_0x4c9226=_0x39effd*0x4;_0x3788a3['sigBytes']>_0x4c9226&&(_0x3788a3=_0x213746[_0x431feb(0x2e2)](_0x3788a3)),_0x3788a3[_0x431feb(0x551)]();for(var _0x3fdf05=this[_0x431feb(0x245)]=_0x3788a3[_0x431feb(0x431)](),_0xbf870d=this[_0x431feb(0x16d)]=_0x3788a3[_0x431feb(0x431)](),_0x12b72c=_0x3fdf05[_0x431feb(0x1fa)],_0x6ab7=_0xbf870d['words'],_0x13577d=0x0;_0x13577d<_0x39effd;_0x13577d++)_0x12b72c[_0x13577d]^=0x5c5c5c5c,_0x6ab7[_0x13577d]^=0x36363636;_0x3fdf05[_0x431feb(0x3ad)]=_0xbf870d['sigBytes']=_0x4c9226,this[_0x431feb(0x2d7)]();},'reset':function(){const _0xe9d616=_0x14d214;var _0x3daf79=this['_hasher'];_0x3daf79[_0xe9d616(0x2d7)](),_0x3daf79[_0xe9d616(0x3c9)](this[_0xe9d616(0x16d)]);},'update':function(_0x146ff3){const _0x277624=_0x14d214;return this['_hasher'][_0x277624(0x3c9)](_0x146ff3),this;},'finalize':function(_0x2b6cd3){const _0x25d959=_0x14d214;var _0x3497a8=this['_hasher'],_0x102c0=_0x3497a8['finalize'](_0x2b6cd3);_0x3497a8[_0x25d959(0x2d7)]();var _0x2cdb62=_0x3497a8[_0x25d959(0x2e2)](this['_oKey'][_0x25d959(0x431)]()[_0x25d959(0x196)](_0x102c0));return _0x2cdb62;}});}());}));}(zt)),zt[_0xe0163e(0x236)];}var ti;function Fi(){return ti||(ti=0x1,function(_0x31ee37,_0x3f2963){(function(_0xa06b0,_0x51f637,_0x1abac8){_0x31ee37['exports']=_0x51f637(ue(),Va(),Ga());}(Z,function(_0x48e2c1){return(function(){const _0x508f32=_0x4081;var _0x5c8d6b=_0x48e2c1,_0x21c4e0=_0x5c8d6b[_0x508f32(0x2f1)],_0x4e2bf4=_0x21c4e0[_0x508f32(0x429)],_0x4760e9=_0x21c4e0[_0x508f32(0x1b3)],_0x849efc=_0x5c8d6b[_0x508f32(0x44d)],_0x14b2ec=_0x849efc[_0x508f32(0x36c)],_0x4d7d11=_0x849efc['EvpKDF']=_0x4e2bf4['extend']({'cfg':_0x4e2bf4['extend']({'keySize':0x80/0x20,'hasher':_0x14b2ec,'iterations':0x1}),'init':function(_0x2d44bf){const _0x334f8b=_0x508f32;this['cfg']=this[_0x334f8b(0x181)][_0x334f8b(0x187)](_0x2d44bf);},'compute':function(_0x3a87d4,_0x5bac6e){const _0x11f0c0=_0x508f32;for(var _0x446f20,_0x599349=this[_0x11f0c0(0x181)],_0x199c95=_0x599349[_0x11f0c0(0x45f)][_0x11f0c0(0x54f)](),_0x2c7ffd=_0x4760e9[_0x11f0c0(0x54f)](),_0x54fb62=_0x2c7ffd['words'],_0x186150=_0x599349['keySize'],_0x3ab258=_0x599349[_0x11f0c0(0x1d0)];_0x54fb62[_0x11f0c0(0x282)]<_0x186150;){_0x446f20&&_0x199c95['update'](_0x446f20),_0x446f20=_0x199c95[_0x11f0c0(0x3c9)](_0x3a87d4)[_0x11f0c0(0x2e2)](_0x5bac6e),_0x199c95[_0x11f0c0(0x2d7)]();for(var _0x1bb496=0x1;_0x1bb496<_0x3ab258;_0x1bb496++)_0x446f20=_0x199c95[_0x11f0c0(0x2e2)](_0x446f20),_0x199c95['reset']();_0x2c7ffd[_0x11f0c0(0x196)](_0x446f20);}return _0x2c7ffd[_0x11f0c0(0x3ad)]=_0x186150*0x4,_0x2c7ffd;}});_0x5c8d6b['EvpKDF']=function(_0x1744f2,_0x109db0,_0x28d11f){const _0x219853=_0x508f32;return _0x4d7d11[_0x219853(0x54f)](_0x28d11f)['compute'](_0x1744f2,_0x109db0);};}()),_0x48e2c1['EvpKDF'];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0x225d35,_0x1fab56){(function(_0xddb8a3,_0xebdf5b,_0xf76766){const _0x3ca7f9=_0x4081;_0x225d35[_0x3ca7f9(0x236)]=_0xebdf5b(ue(),Fi());}(Z,function(_0x42cb16){const _0x1dd064=_0x4081;_0x42cb16['lib'][_0x1dd064(0x442)]||function(_0x5b7b97){const _0x2f2bb6=_0x1dd064;var _0x55ef83=_0x42cb16,_0x44cca4=_0x55ef83['lib'],_0x431a67=_0x44cca4[_0x2f2bb6(0x429)],_0x26fdbd=_0x44cca4['WordArray'],_0x9c453e=_0x44cca4[_0x2f2bb6(0x1b8)],_0x3b80a3=_0x55ef83[_0x2f2bb6(0x522)];_0x3b80a3['Utf8'];var _0x1d703f=_0x3b80a3[_0x2f2bb6(0x1fc)],_0x46df86=_0x55ef83['algo'],_0x5f44b6=_0x46df86[_0x2f2bb6(0x34b)],_0x15c5f1=_0x44cca4[_0x2f2bb6(0x442)]=_0x9c453e[_0x2f2bb6(0x187)]({'cfg':_0x431a67[_0x2f2bb6(0x187)](),'createEncryptor':function(_0x5e3615,_0x51a2e2){const _0x3e20fb=_0x2f2bb6;return this[_0x3e20fb(0x54f)](this[_0x3e20fb(0x529)],_0x5e3615,_0x51a2e2);},'createDecryptor':function(_0x52f101,_0x33eed1){return this['create'](this['_DEC_XFORM_MODE'],_0x52f101,_0x33eed1);},'init':function(_0x39bea6,_0x401027,_0x4d1f92){const _0x1c13d8=_0x2f2bb6;this[_0x1c13d8(0x181)]=this['cfg'][_0x1c13d8(0x187)](_0x4d1f92),this['_xformMode']=_0x39bea6,this[_0x1c13d8(0x24d)]=_0x401027,this['reset']();},'reset':function(){const _0x123161=_0x2f2bb6;_0x9c453e[_0x123161(0x2d7)]['call'](this),this[_0x123161(0x1c4)]();},'process':function(_0x2cd3a1){const _0x4c8f6b=_0x2f2bb6;return this[_0x4c8f6b(0x362)](_0x2cd3a1),this[_0x4c8f6b(0x16f)]();},'finalize':function(_0x454914){const _0x574d26=_0x2f2bb6;_0x454914&&this[_0x574d26(0x362)](_0x454914);var _0x20a64f=this[_0x574d26(0x555)]();return _0x20a64f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x20b599(_0x26cee0){const _0x43cd19=_0x4081;return typeof _0x26cee0==_0x43cd19(0x40c)?_0x2735c5:_0x4543a7;}return function(_0x53b697){return{'encrypt':function(_0x36c94b,_0x458863,_0x102411){return _0x20b599(_0x458863)['encrypt'](_0x53b697,_0x36c94b,_0x458863,_0x102411);},'decrypt':function(_0x9f01ee,_0x5abc96,_0x263375){const _0x360809=_0x4081;return _0x20b599(_0x5abc96)[_0x360809(0x27b)](_0x53b697,_0x9f01ee,_0x5abc96,_0x263375);}};};}())});_0x44cca4[_0x2f2bb6(0x4c0)]=_0x15c5f1[_0x2f2bb6(0x187)]({'_doFinalize':function(){const _0x4b4045=_0x2f2bb6;var _0xd47c86=this[_0x4b4045(0x16f)](!0x0);return _0xd47c86;},'blockSize':0x1});var _0x151d9f=_0x55ef83['mode']={},_0x1d4696=_0x44cca4[_0x2f2bb6(0x178)]=_0x431a67[_0x2f2bb6(0x187)]({'createEncryptor':function(_0x1c3de8,_0x560a9d){const _0x5662be=_0x2f2bb6;return this[_0x5662be(0x52e)][_0x5662be(0x54f)](_0x1c3de8,_0x560a9d);},'createDecryptor':function(_0x54c9f9,_0x395209){const _0x3b5c57=_0x2f2bb6;return this[_0x3b5c57(0x21e)][_0x3b5c57(0x54f)](_0x54c9f9,_0x395209);},'init':function(_0x32d6a1,_0x5f1d73){const _0x4ca9a1=_0x2f2bb6;this[_0x4ca9a1(0x378)]=_0x32d6a1,this[_0x4ca9a1(0x544)]=_0x5f1d73;}}),_0x42dfa5=_0x151d9f[_0x2f2bb6(0x4e0)]=(function(){const _0x18ae57=_0x2f2bb6;var _0x2f684f=_0x1d4696[_0x18ae57(0x187)]();_0x2f684f[_0x18ae57(0x52e)]=_0x2f684f[_0x18ae57(0x187)]({'processBlock':function(_0x62ad3,_0x2f7d18){const _0xb9f9e8=_0x18ae57;var _0x611256=this[_0xb9f9e8(0x378)],_0x4eb647=_0x611256[_0xb9f9e8(0x2c0)];_0x264633[_0xb9f9e8(0x1f6)](this,_0x62ad3,_0x2f7d18,_0x4eb647),_0x611256[_0xb9f9e8(0x188)](_0x62ad3,_0x2f7d18),this['_prevBlock']=_0x62ad3[_0xb9f9e8(0x3e2)](_0x2f7d18,_0x2f7d18+_0x4eb647);}}),_0x2f684f['Decryptor']=_0x2f684f[_0x18ae57(0x187)]({'processBlock':function(_0x3ad08c,_0xf6610a){const _0x28bb48=_0x18ae57;var _0x2f10b8=this[_0x28bb48(0x378)],_0x2a90c4=_0x2f10b8[_0x28bb48(0x2c0)],_0x1aa2bc=_0x3ad08c[_0x28bb48(0x3e2)](_0xf6610a,_0xf6610a+_0x2a90c4);_0x2f10b8[_0x28bb48(0x460)](_0x3ad08c,_0xf6610a),_0x264633[_0x28bb48(0x1f6)](this,_0x3ad08c,_0xf6610a,_0x2a90c4),this[_0x28bb48(0x169)]=_0x1aa2bc;}});function _0x264633(_0x189367,_0x501d7e,_0x2c8c0c){const _0x407ba8=_0x18ae57;var _0x568f4,_0x19dc4a=this['_iv'];_0x19dc4a?(_0x568f4=_0x19dc4a,this[_0x407ba8(0x544)]=_0x5b7b97):_0x568f4=this[_0x407ba8(0x169)];for(var _0x511654=0x0;_0x511654<_0x2c8c0c;_0x511654++)_0x189367[_0x501d7e+_0x511654]^=_0x568f4[_0x511654];}return _0x2f684f;}()),_0x496ac2=_0x55ef83['pad']={},_0x25c0f3=_0x496ac2[_0x2f2bb6(0x1ed)]={'pad':function(_0x53a1e6,_0x46f8a0){const _0x19e944=_0x2f2bb6;for(var _0x5919f9=_0x46f8a0*0x4,_0x2742d5=_0x5919f9-_0x53a1e6[_0x19e944(0x3ad)]%_0x5919f9,_0x1837e6=_0x2742d5<<0x18|_0x2742d5<<0x10|_0x2742d5<<0x8|_0x2742d5,_0x54c90a=[],_0x3fb44b=0x0;_0x3fb44b<_0x2742d5;_0x3fb44b+=0x4)_0x54c90a[_0x19e944(0x433)](_0x1837e6);var _0x948b2=_0x26fdbd['create'](_0x54c90a,_0x2742d5);_0x53a1e6[_0x19e944(0x196)](_0x948b2);},'unpad':function(_0xd0d498){const _0x402793=_0x2f2bb6;var _0x526a16=_0xd0d498[_0x402793(0x1fa)][_0xd0d498[_0x402793(0x3ad)]-0x1>>>0x2]&0xff;_0xd0d498[_0x402793(0x3ad)]-=_0x526a16;}};_0x44cca4[_0x2f2bb6(0x516)]=_0x15c5f1[_0x2f2bb6(0x187)]({'cfg':_0x15c5f1[_0x2f2bb6(0x181)][_0x2f2bb6(0x187)]({'mode':_0x42dfa5,'padding':_0x25c0f3}),'reset':function(){const _0x5f1b46=_0x2f2bb6;var _0x52601d;_0x15c5f1['reset'][_0x5f1b46(0x1f6)](this);var _0x1e653e=this[_0x5f1b46(0x181)],_0x194541=_0x1e653e['iv'],_0x5336c7=_0x1e653e[_0x5f1b46(0x490)];this['_xformMode']==this[_0x5f1b46(0x529)]?_0x52601d=_0x5336c7[_0x5f1b46(0x34a)]:(_0x52601d=_0x5336c7['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x5f1b46(0x580)][_0x5f1b46(0x439)]==_0x52601d?this['_mode'][_0x5f1b46(0x1d6)](this,_0x194541&&_0x194541['words']):(this[_0x5f1b46(0x580)]=_0x52601d['call'](_0x5336c7,this,_0x194541&&_0x194541[_0x5f1b46(0x1fa)]),this['_mode'][_0x5f1b46(0x439)]=_0x52601d);},'_doProcessBlock':function(_0x28e229,_0x4d6495){const _0x594ff2=_0x2f2bb6;this[_0x594ff2(0x580)][_0x594ff2(0x50f)](_0x28e229,_0x4d6495);},'_doFinalize':function(){const _0x1eb9ed=_0x2f2bb6;var _0x37da27,_0x4bfa8b=this[_0x1eb9ed(0x181)][_0x1eb9ed(0x4cc)];return this[_0x1eb9ed(0x241)]==this[_0x1eb9ed(0x529)]?(_0x4bfa8b[_0x1eb9ed(0x57e)](this[_0x1eb9ed(0x2a9)],this[_0x1eb9ed(0x2c0)]),_0x37da27=this['_process'](!0x0)):(_0x37da27=this[_0x1eb9ed(0x16f)](!0x0),_0x4bfa8b['unpad'](_0x37da27)),_0x37da27;},'blockSize':0x80/0x20});var _0xd75394=_0x44cca4['CipherParams']=_0x431a67[_0x2f2bb6(0x187)]({'init':function(_0x29caf6){const _0x2156e9=_0x2f2bb6;this[_0x2156e9(0x3a4)](_0x29caf6);},'toString':function(_0x40123d){return(_0x40123d||this['formatter'])['stringify'](this);}}),_0x2283bf=_0x55ef83[_0x2f2bb6(0x27c)]={},_0x1f9474=_0x2283bf[_0x2f2bb6(0x3aa)]={'stringify':function(_0x5df56e){const _0x601f9c=_0x2f2bb6;var _0x4022b7,_0x39736a=_0x5df56e[_0x601f9c(0x2bc)],_0x4383ec=_0x5df56e['salt'];return _0x4383ec?_0x4022b7=_0x26fdbd['create']([0x53616c74,0x65645f5f])['concat'](_0x4383ec)[_0x601f9c(0x196)](_0x39736a):_0x4022b7=_0x39736a,_0x4022b7[_0x601f9c(0x2e5)](_0x1d703f);},'parse':function(_0x596176){const _0x4e2c5a=_0x2f2bb6;var _0x50120e,_0x230d37=_0x1d703f[_0x4e2c5a(0x57c)](_0x596176),_0x1932ef=_0x230d37[_0x4e2c5a(0x1fa)];return _0x1932ef[0x0]==0x53616c74&&_0x1932ef[0x1]==0x65645f5f&&(_0x50120e=_0x26fdbd[_0x4e2c5a(0x54f)](_0x1932ef[_0x4e2c5a(0x3e2)](0x2,0x4)),_0x1932ef[_0x4e2c5a(0x307)](0x0,0x4),_0x230d37[_0x4e2c5a(0x3ad)]-=0x10),_0xd75394[_0x4e2c5a(0x54f)]({'ciphertext':_0x230d37,'salt':_0x50120e});}},_0x4543a7=_0x44cca4[_0x2f2bb6(0x3a1)]=_0x431a67[_0x2f2bb6(0x187)]({'cfg':_0x431a67[_0x2f2bb6(0x187)]({'format':_0x1f9474}),'encrypt':function(_0xb5696a,_0x179787,_0x18f2a5,_0x2b5118){const _0x503023=_0x2f2bb6;_0x2b5118=this['cfg'][_0x503023(0x187)](_0x2b5118);var _0x38600b=_0xb5696a[_0x503023(0x34a)](_0x18f2a5,_0x2b5118),_0x53810c=_0x38600b[_0x503023(0x2e2)](_0x179787),_0x37e88f=_0x38600b[_0x503023(0x181)];return _0xd75394[_0x503023(0x54f)]({'ciphertext':_0x53810c,'key':_0x18f2a5,'iv':_0x37e88f['iv'],'algorithm':_0xb5696a,'mode':_0x37e88f[_0x503023(0x490)],'padding':_0x37e88f[_0x503023(0x4cc)],'blockSize':_0xb5696a['blockSize'],'formatter':_0x2b5118[_0x503023(0x27c)]});},'decrypt':function(_0x90976d,_0x169170,_0x43e81f,_0x18cb40){const _0x16df18=_0x2f2bb6;_0x18cb40=this[_0x16df18(0x181)][_0x16df18(0x187)](_0x18cb40),_0x169170=this[_0x16df18(0x4f5)](_0x169170,_0x18cb40['format']);var _0x13f654=_0x90976d[_0x16df18(0x430)](_0x43e81f,_0x18cb40)[_0x16df18(0x2e2)](_0x169170[_0x16df18(0x2bc)]);return _0x13f654;},'_parse':function(_0x353665,_0x51dc39){const _0x3d35a1=_0x2f2bb6;return typeof _0x353665==_0x3d35a1(0x40c)?_0x51dc39[_0x3d35a1(0x57c)](_0x353665,this):_0x353665;}}),_0x1868f3=_0x55ef83[_0x2f2bb6(0x1a3)]={},_0x390967=_0x1868f3['OpenSSL']={'execute':function(_0xbb6769,_0x5d4f35,_0x1e9d21,_0x4d8ea9,_0x36d8a4){const _0x1761b2=_0x2f2bb6;if(_0x4d8ea9||(_0x4d8ea9=_0x26fdbd[_0x1761b2(0x453)](0x40/0x8)),_0x36d8a4)var _0x385a09=_0x5f44b6['create']({'keySize':_0x5d4f35+_0x1e9d21,'hasher':_0x36d8a4})[_0x1761b2(0x3fb)](_0xbb6769,_0x4d8ea9);else var _0x385a09=_0x5f44b6[_0x1761b2(0x54f)]({'keySize':_0x5d4f35+_0x1e9d21})[_0x1761b2(0x3fb)](_0xbb6769,_0x4d8ea9);var _0x37c85c=_0x26fdbd[_0x1761b2(0x54f)](_0x385a09[_0x1761b2(0x1fa)][_0x1761b2(0x3e2)](_0x5d4f35),_0x1e9d21*0x4);return _0x385a09['sigBytes']=_0x5d4f35*0x4,_0xd75394['create']({'key':_0x385a09,'iv':_0x37c85c,'salt':_0x4d8ea9});}},_0x2735c5=_0x44cca4[_0x2f2bb6(0x4a9)]=_0x4543a7[_0x2f2bb6(0x187)]({'cfg':_0x4543a7[_0x2f2bb6(0x181)][_0x2f2bb6(0x187)]({'kdf':_0x390967}),'encrypt':function(_0x3fdfb5,_0x2e9fb5,_0x314b84,_0x2e718d){const _0x784017=_0x2f2bb6;_0x2e718d=this[_0x784017(0x181)][_0x784017(0x187)](_0x2e718d);var _0x5844dc=_0x2e718d[_0x784017(0x1a3)][_0x784017(0x1f4)](_0x314b84,_0x3fdfb5[_0x784017(0x4dd)],_0x3fdfb5[_0x784017(0x3da)],_0x2e718d['salt'],_0x2e718d[_0x784017(0x45f)]);_0x2e718d['iv']=_0x5844dc['iv'];var _0x22b585=_0x4543a7[_0x784017(0x26f)][_0x784017(0x1f6)](this,_0x3fdfb5,_0x2e9fb5,_0x5844dc[_0x784017(0x275)],_0x2e718d);return _0x22b585[_0x784017(0x3a4)](_0x5844dc),_0x22b585;},'decrypt':function(_0x497b42,_0x38643d,_0x952065,_0x53ccb6){const _0x5ac3da=_0x2f2bb6;_0x53ccb6=this[_0x5ac3da(0x181)]['extend'](_0x53ccb6),_0x38643d=this[_0x5ac3da(0x4f5)](_0x38643d,_0x53ccb6[_0x5ac3da(0x27c)]);var _0x4bac45=_0x53ccb6[_0x5ac3da(0x1a3)][_0x5ac3da(0x1f4)](_0x952065,_0x497b42[_0x5ac3da(0x4dd)],_0x497b42[_0x5ac3da(0x3da)],_0x38643d[_0x5ac3da(0x293)],_0x53ccb6[_0x5ac3da(0x45f)]);_0x53ccb6['iv']=_0x4bac45['iv'];var _0x2a680b=_0x4543a7[_0x5ac3da(0x27b)][_0x5ac3da(0x1f6)](this,_0x497b42,_0x38643d,_0x4bac45[_0x5ac3da(0x275)],_0x53ccb6);return _0x2a680b;}});}();}));}(qt)),qt['exports'];}(function(_0x3c6fe6,_0xe65eab){(function(_0x107372,_0x278fa7,_0x2a742d){const _0xda62d9=_0x4081;_0x3c6fe6[_0xda62d9(0x236)]=_0x278fa7(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x5d40c2){const _0x59a048=_0x4081;return(function(){const _0x49c0cb=_0x4081;var _0x348ae9=_0x5d40c2,_0x1740f7=_0x348ae9[_0x49c0cb(0x2f1)],_0x1f88cb=_0x1740f7[_0x49c0cb(0x516)],_0x5d024e=_0x348ae9['algo'],_0x1cdb38=[],_0x34183d=[],_0x1c7153=[],_0x56a2fa=[],_0xf5150=[],_0x4f87a0=[],_0x43b877=[],_0x18e1f6=[],_0x5c6ace=[],_0x35991=[];(function(){for(var _0x1d58b7=[],_0x49e2a8=0x0;_0x49e2a8<0x100;_0x49e2a8++)_0x49e2a8<0x80?_0x1d58b7[_0x49e2a8]=_0x49e2a8<<0x1:_0x1d58b7[_0x49e2a8]=_0x49e2a8<<0x1^0x11b;for(var _0x4b15c5=0x0,_0x533ece=0x0,_0x49e2a8=0x0;_0x49e2a8<0x100;_0x49e2a8++){var _0x5184e0=_0x533ece^_0x533ece<<0x1^_0x533ece<<0x2^_0x533ece<<0x3^_0x533ece<<0x4;_0x5184e0=_0x5184e0>>>0x8^_0x5184e0&0xff^0x63,_0x1cdb38[_0x4b15c5]=_0x5184e0,_0x34183d[_0x5184e0]=_0x4b15c5;var _0x12226b=_0x1d58b7[_0x4b15c5],_0x14a85d=_0x1d58b7[_0x12226b],_0x976c54=_0x1d58b7[_0x14a85d],_0x23afb7=_0x1d58b7[_0x5184e0]*0x101^_0x5184e0*0x1010100;_0x1c7153[_0x4b15c5]=_0x23afb7<<0x18|_0x23afb7>>>0x8,_0x56a2fa[_0x4b15c5]=_0x23afb7<<0x10|_0x23afb7>>>0x10,_0xf5150[_0x4b15c5]=_0x23afb7<<0x8|_0x23afb7>>>0x18,_0x4f87a0[_0x4b15c5]=_0x23afb7;var _0x23afb7=_0x976c54*0x1010101^_0x14a85d*0x10001^_0x12226b*0x101^_0x4b15c5*0x1010100;_0x43b877[_0x5184e0]=_0x23afb7<<0x18|_0x23afb7>>>0x8,_0x18e1f6[_0x5184e0]=_0x23afb7<<0x10|_0x23afb7>>>0x10,_0x5c6ace[_0x5184e0]=_0x23afb7<<0x8|_0x23afb7>>>0x18,_0x35991[_0x5184e0]=_0x23afb7,_0x4b15c5?(_0x4b15c5=_0x12226b^_0x1d58b7[_0x1d58b7[_0x1d58b7[_0x976c54^_0x12226b]]],_0x533ece^=_0x1d58b7[_0x1d58b7[_0x533ece]]):_0x4b15c5=_0x533ece=0x1;}}());var _0x4424c4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5aad3c=_0x5d024e[_0x49c0cb(0x2c4)]=_0x1f88cb['extend']({'_doReset':function(){const _0x2d806f=_0x49c0cb;var _0x5e7691;if(!(this[_0x2d806f(0x2b7)]&&this['_keyPriorReset']===this[_0x2d806f(0x24d)])){for(var _0x418715=this[_0x2d806f(0x380)]=this[_0x2d806f(0x24d)],_0x450d95=_0x418715[_0x2d806f(0x1fa)],_0xd8ca1e=_0x418715['sigBytes']/0x4,_0x183b03=this[_0x2d806f(0x2b7)]=_0xd8ca1e+0x6,_0x2a9e2d=(_0x183b03+0x1)*0x4,_0x292d44=this[_0x2d806f(0x3d1)]=[],_0x1ab74d=0x0;_0x1ab74d<_0x2a9e2d;_0x1ab74d++)_0x1ab74d<_0xd8ca1e?_0x292d44[_0x1ab74d]=_0x450d95[_0x1ab74d]:(_0x5e7691=_0x292d44[_0x1ab74d-0x1],_0x1ab74d%_0xd8ca1e?_0xd8ca1e>0x6&&_0x1ab74d%_0xd8ca1e==0x4&&(_0x5e7691=_0x1cdb38[_0x5e7691>>>0x18]<<0x18|_0x1cdb38[_0x5e7691>>>0x10&0xff]<<0x10|_0x1cdb38[_0x5e7691>>>0x8&0xff]<<0x8|_0x1cdb38[_0x5e7691&0xff]):(_0x5e7691=_0x5e7691<<0x8|_0x5e7691>>>0x18,_0x5e7691=_0x1cdb38[_0x5e7691>>>0x18]<<0x18|_0x1cdb38[_0x5e7691>>>0x10&0xff]<<0x10|_0x1cdb38[_0x5e7691>>>0x8&0xff]<<0x8|_0x1cdb38[_0x5e7691&0xff],_0x5e7691^=_0x4424c4[_0x1ab74d/_0xd8ca1e|0x0]<<0x18),_0x292d44[_0x1ab74d]=_0x292d44[_0x1ab74d-_0xd8ca1e]^_0x5e7691);for(var _0x1b0842=this['_invKeySchedule']=[],_0xee9b2c=0x0;_0xee9b2c<_0x2a9e2d;_0xee9b2c++){var _0x1ab74d=_0x2a9e2d-_0xee9b2c;if(_0xee9b2c%0x4)var _0x5e7691=_0x292d44[_0x1ab74d];else var _0x5e7691=_0x292d44[_0x1ab74d-0x4];_0xee9b2c<0x4||_0x1ab74d<=0x4?_0x1b0842[_0xee9b2c]=_0x5e7691:_0x1b0842[_0xee9b2c]=_0x43b877[_0x1cdb38[_0x5e7691>>>0x18]]^_0x18e1f6[_0x1cdb38[_0x5e7691>>>0x10&0xff]]^_0x5c6ace[_0x1cdb38[_0x5e7691>>>0x8&0xff]]^_0x35991[_0x1cdb38[_0x5e7691&0xff]];}}},'encryptBlock':function(_0xd06df1,_0x410d84){const _0x71e8f7=_0x49c0cb;this['_doCryptBlock'](_0xd06df1,_0x410d84,this[_0x71e8f7(0x3d1)],_0x1c7153,_0x56a2fa,_0xf5150,_0x4f87a0,_0x1cdb38);},'decryptBlock':function(_0x22eb82,_0xcacd52){const _0x4ce6d9=_0x49c0cb;var _0x2c4ecd=_0x22eb82[_0xcacd52+0x1];_0x22eb82[_0xcacd52+0x1]=_0x22eb82[_0xcacd52+0x3],_0x22eb82[_0xcacd52+0x3]=_0x2c4ecd,this[_0x4ce6d9(0x34f)](_0x22eb82,_0xcacd52,this[_0x4ce6d9(0x369)],_0x43b877,_0x18e1f6,_0x5c6ace,_0x35991,_0x34183d);var _0x2c4ecd=_0x22eb82[_0xcacd52+0x1];_0x22eb82[_0xcacd52+0x1]=_0x22eb82[_0xcacd52+0x3],_0x22eb82[_0xcacd52+0x3]=_0x2c4ecd;},'_doCryptBlock':function(_0x296970,_0x44a3c0,_0xf85c06,_0xa19b6,_0x3dec56,_0x29678d,_0x396775,_0x125520){const _0x2d8305=_0x49c0cb;for(var _0x25f32c=this[_0x2d8305(0x2b7)],_0x4d7b01=_0x296970[_0x44a3c0]^_0xf85c06[0x0],_0x2ab42e=_0x296970[_0x44a3c0+0x1]^_0xf85c06[0x1],_0x118026=_0x296970[_0x44a3c0+0x2]^_0xf85c06[0x2],_0x548b6a=_0x296970[_0x44a3c0+0x3]^_0xf85c06[0x3],_0x17514f=0x4,_0x2b3bf6=0x1;_0x2b3bf6<_0x25f32c;_0x2b3bf6++){var _0x220d9f=_0xa19b6[_0x4d7b01>>>0x18]^_0x3dec56[_0x2ab42e>>>0x10&0xff]^_0x29678d[_0x118026>>>0x8&0xff]^_0x396775[_0x548b6a&0xff]^_0xf85c06[_0x17514f++],_0x14794f=_0xa19b6[_0x2ab42e>>>0x18]^_0x3dec56[_0x118026>>>0x10&0xff]^_0x29678d[_0x548b6a>>>0x8&0xff]^_0x396775[_0x4d7b01&0xff]^_0xf85c06[_0x17514f++],_0x5e0db8=_0xa19b6[_0x118026>>>0x18]^_0x3dec56[_0x548b6a>>>0x10&0xff]^_0x29678d[_0x4d7b01>>>0x8&0xff]^_0x396775[_0x2ab42e&0xff]^_0xf85c06[_0x17514f++],_0x3fe4f5=_0xa19b6[_0x548b6a>>>0x18]^_0x3dec56[_0x4d7b01>>>0x10&0xff]^_0x29678d[_0x2ab42e>>>0x8&0xff]^_0x396775[_0x118026&0xff]^_0xf85c06[_0x17514f++];_0x4d7b01=_0x220d9f,_0x2ab42e=_0x14794f,_0x118026=_0x5e0db8,_0x548b6a=_0x3fe4f5;}var _0x220d9f=(_0x125520[_0x4d7b01>>>0x18]<<0x18|_0x125520[_0x2ab42e>>>0x10&0xff]<<0x10|_0x125520[_0x118026>>>0x8&0xff]<<0x8|_0x125520[_0x548b6a&0xff])^_0xf85c06[_0x17514f++],_0x14794f=(_0x125520[_0x2ab42e>>>0x18]<<0x18|_0x125520[_0x118026>>>0x10&0xff]<<0x10|_0x125520[_0x548b6a>>>0x8&0xff]<<0x8|_0x125520[_0x4d7b01&0xff])^_0xf85c06[_0x17514f++],_0x5e0db8=(_0x125520[_0x118026>>>0x18]<<0x18|_0x125520[_0x548b6a>>>0x10&0xff]<<0x10|_0x125520[_0x4d7b01>>>0x8&0xff]<<0x8|_0x125520[_0x2ab42e&0xff])^_0xf85c06[_0x17514f++],_0x3fe4f5=(_0x125520[_0x548b6a>>>0x18]<<0x18|_0x125520[_0x4d7b01>>>0x10&0xff]<<0x10|_0x125520[_0x2ab42e>>>0x8&0xff]<<0x8|_0x125520[_0x118026&0xff])^_0xf85c06[_0x17514f++];_0x296970[_0x44a3c0]=_0x220d9f,_0x296970[_0x44a3c0+0x1]=_0x14794f,_0x296970[_0x44a3c0+0x2]=_0x5e0db8,_0x296970[_0x44a3c0+0x3]=_0x3fe4f5;},'keySize':0x100/0x20});_0x348ae9[_0x49c0cb(0x2c4)]=_0x1f88cb[_0x49c0cb(0x3ee)](_0x5aad3c);}()),_0x5d40c2[_0x59a048(0x2c4)];}));}(ki));var Ya=ki[_0x5bb7a4(0x236)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x44b7b9,_0x37df8a){(function(_0x55a35a,_0x1173dd){const _0x239f9a=_0x4081;_0x44b7b9[_0x239f9a(0x236)]=_0x1173dd(ue());}(Z,function(_0x57819e){return _0x57819e['enc']['Utf8'];}));}(Gi));var qa=Gi[_0x5bb7a4(0x236)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x215e92,_0x1c5792){(function(_0x2d2c8d,_0x12fd4e){const _0x204f59=_0x4081;_0x215e92[_0x204f59(0x236)]=_0x12fd4e(ue());}(Z,function(_0x35f3b9){const _0x4785f0=_0x4081;return(function(){const _0x374518=_0x4081;if(typeof ArrayBuffer==_0x374518(0x4b8)){var _0x10b2f9=_0x35f3b9,_0x5bff3a=_0x10b2f9['lib'],_0x1d925c=_0x5bff3a[_0x374518(0x1b3)],_0x25cc5d=_0x1d925c[_0x374518(0x1d6)],_0x7d0f0a=_0x1d925c[_0x374518(0x1d6)]=function(_0x47e372){const _0x16af44=_0x374518;if(_0x47e372 instanceof ArrayBuffer&&(_0x47e372=new Uint8Array(_0x47e372)),(_0x47e372 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x47e372 instanceof Uint8ClampedArray||_0x47e372 instanceof Int16Array||_0x47e372 instanceof Uint16Array||_0x47e372 instanceof Int32Array||_0x47e372 instanceof Uint32Array||_0x47e372 instanceof Float32Array||_0x47e372 instanceof Float64Array)&&(_0x47e372=new Uint8Array(_0x47e372[_0x16af44(0x57b)],_0x47e372[_0x16af44(0x2bd)],_0x47e372[_0x16af44(0x4ff)])),_0x47e372 instanceof Uint8Array){for(var _0xa0fcf8=_0x47e372['byteLength'],_0x2c2afd=[],_0x31d4e6=0x0;_0x31d4e6<_0xa0fcf8;_0x31d4e6++)_0x2c2afd[_0x31d4e6>>>0x2]|=_0x47e372[_0x31d4e6]<<0x18-_0x31d4e6%0x4*0x8;_0x25cc5d[_0x16af44(0x1f6)](this,_0x2c2afd,_0xa0fcf8);}else _0x25cc5d[_0x16af44(0x568)](this,arguments);};_0x7d0f0a['prototype']=_0x1d925c;}}()),_0x35f3b9['lib'][_0x4785f0(0x1b3)];}));}(Yi));var Ja=Yi['exports'];const Za=at(Ja);var Ki={'exports':{}};(function(_0x218af6,_0x9d0c7d){(function(_0x5eedf1,_0x1cf7fd,_0x10ae64){const _0x485ec0=_0x4081;_0x218af6[_0x485ec0(0x236)]=_0x1cf7fd(ue(),Vi());}(Z,function(_0x574897){const _0x3c4e59=_0x4081;return _0x574897[_0x3c4e59(0x57e)][_0x3c4e59(0x540)]={'pad':function(){},'unpad':function(){}},_0x574897[_0x3c4e59(0x57e)][_0x3c4e59(0x540)];}));}(Ki));var Qa=Ki[_0x5bb7a4(0x236)];const ec=at(Qa);function tc(_0x56c7f3,_0x1766a6){const _0x452570=_0x5bb7a4,_0x441abd=_0x1766a6-_0x56c7f3[_0x452570(0x282)]%_0x1766a6,_0x55b041=String[_0x452570(0x224)](_0x441abd)[_0x452570(0x39f)](_0x441abd);return _0x56c7f3+_0x55b041;}function sc(_0x4e54d2,_0x4825e2){const _0x484f86=_0x5bb7a4,_0x2ab157=Za['random'](0x10),_0x92660a=tc(_0x4e54d2,0x10),_0x243094=Ka['encrypt'](Xa[_0x484f86(0x57c)](_0x92660a),ii['parse'](_0x4825e2),{'iv':_0x2ab157,'padding':ec});return _0x2ab157[_0x484f86(0x196)](_0x243094[_0x484f86(0x2bc)])['toString'](ii);}function ic(){const _0x36e961=_0x5bb7a4,_0x34b503=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x34b503){const _0x5db3ee={'time':Math[_0x36e961(0x23d)](Date[_0x36e961(0x3d2)]()/0x3e8),'domain':location[_0x36e961(0x186)]};return sc(JSON[_0x36e961(0x303)](_0x5db3ee),_0x34b503);}}var nc=Object[_0x5bb7a4(0x42b)],rc=Object[_0x5bb7a4(0x4e4)],oc=(_0x3a5ca1,_0x19b160,_0x2e0749,_0x5089c9)=>{const _0x3bfc22=_0x5bb7a4;for(var _0x3b88ee=_0x5089c9>0x1?void 0x0:_0x5089c9?rc(_0x19b160,_0x2e0749):_0x19b160,_0x288fbf=_0x3a5ca1[_0x3bfc22(0x282)]-0x1,_0x102361;_0x288fbf>=0x0;_0x288fbf--)(_0x102361=_0x3a5ca1[_0x288fbf])&&(_0x3b88ee=(_0x5089c9?_0x102361(_0x19b160,_0x2e0749,_0x3b88ee):_0x102361(_0x3b88ee))||_0x3b88ee);return _0x5089c9&&_0x3b88ee&&nc(_0x19b160,_0x2e0749,_0x3b88ee),_0x3b88ee;},ac=(_0x2f5fd6,_0x1c3eda)=>(_0x460f5c,_0x48ab30)=>_0x1c3eda(_0x460f5c,_0x48ab30,_0x2f5fd6);let bt=class{constructor(_0x3fad23){const _0x20a47a=_0x5bb7a4;this[_0x20a47a(0x1be)]=_0x3fad23,this[_0x20a47a(0x42c)]();}['_initRequestHeader'](){const _0x3e7be3=_0x5bb7a4;this['_httpService'][_0x3e7be3(0x4a6)]({'interceptor':(_0x393f84,_0x9532ce)=>{const _0x543f9b=_0x3e7be3,_0x199a1a=_0x393f84['headers'],_0x558402=ic();return _0x558402&&_0x199a1a[_0x543f9b(0x441)](_0x543f9b(0x189),_0x558402),_0x9532ce(_0x393f84);}});}};bt=oc([ac(0x0,_0x22a3e1(_0x41156a))],bt);var cc=Object[_0x5bb7a4(0x42b)],hc=Object[_0x5bb7a4(0x4e4)],lc=(_0x8a3ca4,_0x15b08e,_0x297682,_0x1d28de)=>{const _0x214d8a=_0x5bb7a4;for(var _0x323a33=_0x1d28de>0x1?void 0x0:_0x1d28de?hc(_0x15b08e,_0x297682):_0x15b08e,_0x3a129a=_0x8a3ca4[_0x214d8a(0x282)]-0x1,_0x421024;_0x3a129a>=0x0;_0x3a129a--)(_0x421024=_0x8a3ca4[_0x3a129a])&&(_0x323a33=(_0x1d28de?_0x421024(_0x15b08e,_0x297682,_0x323a33):_0x421024(_0x323a33))||_0x323a33);return _0x1d28de&&_0x323a33&&cc(_0x15b08e,_0x297682,_0x323a33),_0x323a33;},Xt=(_0x59524a,_0x378327)=>(_0x3ad4d4,_0x289978)=>_0x378327(_0x3ad4d4,_0x289978,_0x59524a);const _c=[_0x5bb7a4(0x510),_0x5bb7a4(0x300),_0x5bb7a4(0x3f7),_0x5bb7a4(0x316),_0x5bb7a4(0x454)],uc=0x5*0x400*0x400,dc=_0x5bb7a4(0x435),fc=_0x5bb7a4(0x2c3),vc=_0x5bb7a4(0x36e),mc=_0x5bb7a4(0x16b);let hs=class{constructor(_0x475602,_0x16abbe,_0x587f99){const _0x22d446=_0x5bb7a4;g(this,_0x22d446(0x3ac),0x0),g(this,_0x22d446(0x2bb),new _0x1b179a()),g(this,_0x22d446(0x1fb),this[_0x22d446(0x2bb)]),g(this,_0x22d446(0x1e0),new Map()),(this[_0x22d446(0x1be)]=_0x475602,this[_0x22d446(0x23e)]=_0x16abbe,this['_univerInstanceService']=_0x587f99);}[_0x5bb7a4(0x572)](_0x37dea6){const _0x2ef9df=_0x5bb7a4;this['_waitCount']=_0x37dea6,this[_0x2ef9df(0x2bb)][_0x2ef9df(0x3ff)](_0x37dea6);}[_0x5bb7a4(0x4c1)](_0x5227b7,_0x27d765){const _0xfd9165=_0x5bb7a4;if(_0x27d765===_0x40ad48[_0xfd9165(0x39d)]){const _0x5d74d5=new Image();return _0x5d74d5[_0xfd9165(0x3b5)]=_0x5227b7,_0x5d74d5;}return this['_imageSourceCache'][_0xfd9165(0x4f7)](_0x5227b7);}[_0x5bb7a4(0x284)](_0x19997c,_0x976905,_0x5b20c8){const _0x50eb18=_0x5bb7a4;_0x976905===_0x40ad48[_0x50eb18(0x39d)]||_0x5b20c8==null||this[_0x50eb18(0x1e0)][_0x50eb18(0x441)](_0x19997c,_0x5b20c8);}async['getImage'](_0x53cf9b){const _0x1c858c=_0x5bb7a4;try{const _0x3795af=this[_0x1c858c(0x578)](this[_0x1c858c(0x4a2)](),''+_0x53cf9b),_0x206edd=(await this['_httpService'][_0x1c858c(0x4f7)](_0x3795af))['body'];if(_0x206edd[_0x1c858c(0x17b)]&&_0x206edd[_0x1c858c(0x17b)][_0x1c858c(0x4bd)]===Ri['OK']){const _0x18b0aa=new URL(_0x206edd[_0x1c858c(0x217)],this[_0x1c858c(0x304)]())[_0x1c858c(0x2e5)]();return Promise['resolve'](_0x18b0aa);}return Promise[_0x1c858c(0x288)](_0x206edd[_0x1c858c(0x17b)]);}catch(_0x2c87e8){return Promise['reject'](_0x2c87e8);}}async[_0x5bb7a4(0x2aa)](_0xf51e61){const _0x6e61c8=_0x5bb7a4;let _0x450d75='';if(!_c['includes'](_0xf51e61[_0x6e61c8(0x27e)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1d459e['ERROR_IMAGE_TYPE']));if(_0xf51e61[_0x6e61c8(0x35a)]>uc)return this[_0x6e61c8(0x487)](),Promise['reject'](new Error(_0x1d459e[_0x6e61c8(0x2b4)]));try{const _0x14c5b6=new FormData();_0x14c5b6[_0x6e61c8(0x391)]('file',_0xf51e61);const _0x3a790d=this[_0x6e61c8(0x21d)][_0x6e61c8(0x1dd)](),_0x284b7e=_0x3a790d==null?void 0x0:_0x3a790d[_0x6e61c8(0x322)]();if(!_0x284b7e)throw new Error(_0x6e61c8(0x252));const _0x14b4e9=this[_0x6e61c8(0x18d)]()+_0x6e61c8(0x253)+_0xf51e61[_0x6e61c8(0x35a)]['toString']()+_0x6e61c8(0x179)+yi[_0x6e61c8(0x48f)]+_0x6e61c8(0x209)+encodeURIComponent(_0x284b7e),_0x16339e=await(await fetch(_0x14b4e9,{'method':_0x6e61c8(0x2bf),'body':_0x14c5b6}))['json']();if(typeof _0x16339e[_0x6e61c8(0x352)]!=_0x6e61c8(0x40c))return this[_0x6e61c8(0x487)](),Promise['reject'](new Error(_0x1d459e[_0x6e61c8(0x3c6)]));_0x450d75=_0x16339e[_0x6e61c8(0x352)];}catch{return this[_0x6e61c8(0x487)](),Promise[_0x6e61c8(0x288)](new Error(_0x1d459e['ERROR_IMAGE']));}return new Promise((_0x25de52,_0x425521)=>{const _0x391fc8=_0x6e61c8,_0x365283=new FileReader();_0x365283[_0x391fc8(0x3c8)](_0xf51e61),_0x365283[_0x391fc8(0x264)]=_0x5ee3fb=>{const _0x128924=_0x391fc8;var _0x40ed4e;const _0x5079b9=(_0x40ed4e=_0x5ee3fb['target'])==null?void 0x0:_0x40ed4e[_0x128924(0x1b0)];if(_0x5079b9==null){this[_0x128924(0x487)](),_0x425521(new Error(_0x1d459e['ERROR_IMAGE']));return;}const _0x443ebe=_0x41d014[_0x128924(0x4d1)](0x6);_0x25de52({'imageId':_0x443ebe,'imageSourceType':_0x40ad48['UUID'],'source':_0x450d75,'base64Cache':_0x5079b9,'status':_0x1d459e[_0x128924(0x450)]}),this[_0x128924(0x487)]();};});}['_getUploadFileURL'](){const _0x26b021=_0x5bb7a4;var _0x2088c3,_0x3cdc04;const _0x147e5e=this['_configService'][_0x26b021(0x447)](dc),_0x1c0821=this[_0x26b021(0x23e)][_0x26b021(0x447)](ie);return(_0x3cdc04=(_0x2088c3=_0x1c0821==null?void 0x0:_0x1c0821['uploadFileServerUrl'])!=null?_0x2088c3:_0x147e5e)!=null?_0x3cdc04:fc;}['_getSignURL'](){const _0x329947=_0x5bb7a4;var _0x441826,_0x1d291f;const _0x18f882=this['_configService'][_0x329947(0x447)](vc),_0x914ec2=this[_0x329947(0x23e)][_0x329947(0x447)](ie);return(_0x1d291f=(_0x441826=_0x914ec2==null?void 0x0:_0x914ec2['signUrlServerUrl'])!=null?_0x441826:_0x18f882)!=null?_0x1d291f:mc;}['_getDownloadEndpointURL'](){const _0x3496b3=_0x5bb7a4;var _0x4672cd;const _0x145273=this[_0x3496b3(0x23e)][_0x3496b3(0x447)](ie);return(_0x4672cd=_0x145273==null?void 0x0:_0x145273[_0x3496b3(0x509)])!=null?_0x4672cd:location[_0x3496b3(0x525)];}[_0x5bb7a4(0x578)](_0x42129e,_0x337105){const _0x194a76=_0x5bb7a4;return _0x42129e['replace'](_0x194a76(0x44f),_0x337105);}[_0x5bb7a4(0x487)](){const _0x4b6188=_0x5bb7a4;this[_0x4b6188(0x3ac)]-=0x1,this[_0x4b6188(0x2bb)][_0x4b6188(0x3ff)](this[_0x4b6188(0x3ac)]);}};hs=lc([Xt(0x0,_0x22a3e1(_0x41156a)),Xt(0x1,_0x2bb536),Xt(0x2,_0x22a3e1(_0x2e0534))],hs);var pc=Object['defineProperty'],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x386d11,_0xd35466,_0x241309,_0x1b15b3)=>{for(var _0x30c828=_0x1b15b3>0x1?void 0x0:_0x1b15b3?gc(_0xd35466,_0x241309):_0xd35466,_0x6eb0c9=_0x386d11['length']-0x1,_0x9043a6;_0x6eb0c9>=0x0;_0x6eb0c9--)(_0x9043a6=_0x386d11[_0x6eb0c9])&&(_0x30c828=(_0x1b15b3?_0x9043a6(_0xd35466,_0x241309,_0x30c828):_0x9043a6(_0x30c828))||_0x30c828);return _0x1b15b3&&_0x30c828&&pc(_0xd35466,_0x241309,_0x30c828),_0x30c828;},Qe=(_0x5f00ae,_0xf1392f)=>(_0x7947b3,_0x379677)=>_0xf1392f(_0x7947b3,_0x379677,_0x5f00ae);let Tt=class extends _0x177a9e{constructor(_0x5f16f0,_0x3a1f03,_0x76bdf1,_0x472bda,_0x5e8d6c){const _0xdda2d8=_0x5bb7a4;super(),this[_0xdda2d8(0x338)]=_0x5f16f0,this['_univerInstanceService']=_0x3a1f03,this['_permissionService']=_0x76bdf1,this[_0xdda2d8(0x29b)]=_0x472bda,this[_0xdda2d8(0x4ab)]=_0x5e8d6c,this[_0xdda2d8(0x2d0)](),this[_0xdda2d8(0x513)]();}[_0x5bb7a4(0x513)](){const _0x1e1e6a=_0x5bb7a4,_0x24f0fc=async _0x1e8fda=>{const _0x4c2a8a=_0x4081;(await this['_collaborationSessionService'][_0x4c2a8a(0x2c7)](_0x1e8fda))[_0x4c2a8a(0x3e4)][_0x4c2a8a(0x3f1)](_0x5a0a20(_0x54f8e0=>_0x54f8e0[_0x4c2a8a(0x479)]===_0x45d469[_0x4c2a8a(0x413)]),_0x216286(this[_0x4c2a8a(0x492)]))['subscribe'](_0x208c67=>{const _0x3d9651=_0x4c2a8a,_0x4ce0fb=_0x208c67,{reason:_0x27c71f}=_0x4ce0fb['data'];this['_injector'][_0x3d9651(0x4f7)](_0x38087f)[_0x3d9651(0x18e)]({'type':_0x3417d7[_0x3d9651(0x3cb)],'content':this[_0x3d9651(0x4ab)]['t'](_0x3d9651(0x3f8))+'('+_0x27c71f+')'}),this[_0x3d9651(0x167)][_0x3d9651(0x3fc)](new _0x272dbd(_0x1e8fda)['id'],!0x1),this[_0x3d9651(0x29b)][_0x3d9651(0x165)](_0x1e8fda);});};_0x4e4735(this[_0x1e1e6a(0x21d)][_0x1e1e6a(0x4aa)](_0x10a997['UNIVER_SHEET']),this[_0x1e1e6a(0x21d)][_0x1e1e6a(0x4aa)](_0x10a997[_0x1e1e6a(0x172)]))[_0x1e1e6a(0x3f1)](_0x17141f(_0x1feb9f=>_0x1feb9f['getUnitId']()),_0x5a0a20(_0x40404f=>!_0x503b7a(_0x40404f)),_0x216286(this[_0x1e1e6a(0x492)]))[_0x1e1e6a(0x519)](_0x4e4962=>{_0x24f0fc(_0x4e4962);});}[_0x5bb7a4(0x2d0)](){const _0x294c57=_0x5bb7a4,_0x704bc8=async _0xa01953=>{const _0x58e53e=_0x4081;(await this[_0x58e53e(0x29b)][_0x58e53e(0x2c7)](_0xa01953))['event$'][_0x58e53e(0x3f1)](_0x5a0a20(_0x1626c7=>_0x1626c7[_0x58e53e(0x479)]===_0x45d469['UPDATE_PERMISSION_OBJ']),_0x216286(this[_0x58e53e(0x492)]))['subscribe'](_0x1eafa5=>{const _0x546d1b=_0x58e53e,_0x8f561b=_0x1eafa5,{objectId:_0x2d5de4}=_0x8f561b[_0x546d1b(0x2d5)],_0x2053c2=this[_0x546d1b(0x338)][_0x546d1b(0x4f7)](_0x496cb9);_0x2d5de4===_0xa01953?_0x2053c2[_0x546d1b(0x2df)](_0xa01953):_0x2053c2[_0x546d1b(0x324)](_0xa01953,_0x2d5de4);});};_0x4e4735(this[_0x294c57(0x21d)][_0x294c57(0x4aa)](_0x10a997['UNIVER_SHEET']),this[_0x294c57(0x21d)][_0x294c57(0x4aa)](_0x10a997[_0x294c57(0x172)]))[_0x294c57(0x3f1)](_0x17141f(_0x3fe619=>_0x3fe619[_0x294c57(0x322)]()),_0x5a0a20(_0x599710=>!_0x503b7a(_0x599710)),_0x216286(this[_0x294c57(0x492)]))['subscribe'](_0x548f91=>{_0x704bc8(_0x548f91);});}};Tt=Sc([Qe(0x0,_0x22a3e1(_0x4c5160)),Qe(0x1,_0x2e0534),Qe(0x2,_0x59e41b),Qe(0x3,_0x22a3e1(Ae)),Qe(0x4,_0x22a3e1(_0x1fdc1b))],Tt);var Ic=Object['defineProperty'],Cc=Object[_0x5bb7a4(0x4e4)],Ec=(_0x4184dc,_0x177743,_0x1087e6,_0x4218e9)=>{const _0x2a0b17=_0x5bb7a4;for(var _0x4d9cf8=_0x4218e9>0x1?void 0x0:_0x4218e9?Cc(_0x177743,_0x1087e6):_0x177743,_0x4abbfa=_0x4184dc[_0x2a0b17(0x282)]-0x1,_0x33b4ef;_0x4abbfa>=0x0;_0x4abbfa--)(_0x33b4ef=_0x4184dc[_0x4abbfa])&&(_0x4d9cf8=(_0x4218e9?_0x33b4ef(_0x177743,_0x1087e6,_0x4d9cf8):_0x33b4ef(_0x4d9cf8))||_0x4d9cf8);return _0x4218e9&&_0x4d9cf8&&Ic(_0x177743,_0x1087e6,_0x4d9cf8),_0x4d9cf8;},ni=(_0x433cb9,_0x162526)=>(_0xbd3340,_0x3a6994)=>_0x162526(_0xbd3340,_0x3a6994,_0x433cb9);let ls=class{constructor(_0x2ca354,_0x3eee8f){const _0x130a7f=_0x5bb7a4;this[_0x130a7f(0x23e)]=_0x2ca354,this[_0x130a7f(0x1be)]=_0x3eee8f;}async[_0x5bb7a4(0x481)](_0x1ad7c6,_0x41f102){const _0x180cc6=_0x5bb7a4;var _0x176004;const {unitID:_0xe46b31,type:_0x567bc2,revision:_0x5cd4c0=0x0}=_0x41f102,_0x39452d=this['_getSnapshotAPIPrefix']()+'/'+_0x567bc2+'/unit/'+_0xe46b31+_0x180cc6(0x1f8)+_0x5cd4c0,_0x13d9c2=(await this[_0x180cc6(0x1be)][_0x180cc6(0x4f7)](_0x39452d))['body'],_0xdf2817=(_0x176004=_0x13d9c2[_0x180cc6(0x49c)])==null?void 0x0:_0x176004[_0x180cc6(0x2cb)];if(_0xdf2817){const _0x514ca5=_0xdf2817==null?void 0x0:_0xdf2817[_0x180cc6(0x405)],_0x130e09=_0x1a843b['encode'](_0x286b30(_0x514ca5));_0xdf2817[_0x180cc6(0x405)]=_0x130e09,Object[_0x180cc6(0x420)](_0xdf2817['sheets'])[_0x180cc6(0x312)](([,_0x340201])=>{const _0x3c8831=_0x180cc6,_0x865ecd=_0x340201[_0x3c8831(0x405)],_0x215f3b=_0x1a843b[_0x3c8831(0x226)](_0x286b30(_0x865ecd));_0x340201[_0x3c8831(0x405)]=_0x215f3b;});}return _0x13d9c2;}async[_0x5bb7a4(0x50a)](_0x53dd63,_0x25793d){const _0x1d866f=_0x5bb7a4,{unitID:_0x283a74,type:_0x4de57f,blockID:_0x4f5538}=_0x25793d,_0x23d2a8=this['_getAPIPrefix']()+'/'+_0x4de57f+_0x1d866f(0x19a)+_0x283a74+_0x1d866f(0x237)+_0x4f5538;return(await this[_0x1d866f(0x1be)][_0x1d866f(0x4f7)](_0x23d2a8))[_0x1d866f(0x1ab)];}async[_0x5bb7a4(0x382)](_0x140bd5,_0x42b9aa){const _0x15eb72=_0x5bb7a4,{unitID:_0x16dce6,type:_0xf22e84,blockID:_0x26afcd}=_0x42b9aa,_0x393c82=this[_0x15eb72(0x48e)]()+_0x15eb72(0x237)+_0xf22e84+_0x15eb72(0x19a)+_0x16dce6+_0x15eb72(0x237)+_0x26afcd;return(await this['_httpService'][_0x15eb72(0x4f7)](_0x393c82))[_0x15eb72(0x1ab)];}async[_0x5bb7a4(0x2b8)](_0x48880e,_0x1d3008){const _0x5b37e3=_0x5bb7a4,{unitID:_0x3db179,type:_0x1aaeb3,from:_0x3690af,to:_0x20603a}=_0x1d3008,_0x4e82aa=this[_0x5b37e3(0x48e)]()+'/'+_0x1aaeb3+_0x5b37e3(0x19a)+_0x3db179+_0x5b37e3(0x24c)+_0x3690af+'&to='+_0x20603a;return(await this[_0x5b37e3(0x1be)]['get'](_0x4e82aa))[_0x5b37e3(0x1ab)];}[_0x5bb7a4(0x3b0)](){const _0x22086d=_0x5bb7a4;var _0x1ed1d7;return(_0x1ed1d7=this[_0x22086d(0x23e)]['getConfig'](lr))!=null?_0x1ed1d7:this[_0x22086d(0x48e)]();}[_0x5bb7a4(0x48e)](){const _0x32e109=_0x5bb7a4;var _0x954e6,_0x3b8095;const _0x58f87d=this[_0x32e109(0x23e)]['getConfig'](cr),_0x338a3f=this['_configService'][_0x32e109(0x447)](ie);return(_0x3b8095=(_0x954e6=_0x338a3f==null?void 0x0:_0x338a3f[_0x32e109(0x174)])!=null?_0x954e6:_0x58f87d)!=null?_0x3b8095:hr;}async[_0x5bb7a4(0x536)](_0x3268b8,_0x2eeb63){const _0x1ec566=_0x5bb7a4,_0x44af61=_0x1ec566(0x268)+_0x2eeb63['type']+_0x1ec566(0x19a)+_0x2eeb63[_0x1ec566(0x4c4)]+_0x1ec566(0x19c);return(await this[_0x1ec566(0x1be)]['get'](_0x44af61,{'params':{'resourceId':JSON[_0x1ec566(0x303)](_0x2eeb63[_0x1ec566(0x52d)])}}))[_0x1ec566(0x1ab)];}['saveSnapshot'](){const _0x37cd7f=_0x5bb7a4;throw new Error(_0x37cd7f(0x23f));}[_0x5bb7a4(0x3e5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bb7a4(0x1b9)](){const _0x4ee8d3=_0x5bb7a4;throw new Error(_0x4ee8d3(0x23f));}[_0x5bb7a4(0x48b)](){const _0x558fa4=_0x5bb7a4;throw new Error(_0x558fa4(0x23f));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=Ec([ni(0x0,_0x2bb536),ni(0x1,_0x22a3e1(_0x41156a))],ls);function _0x27da(){const _0x164b1c=['_changesetReqId','conflict','__creator','_exhaustRemoteChangesetQueue','LIVESHARE_FETCH_OPERATIONS','/universer-api/oidc/authpage','getValue','confirm','[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.','hasOwnProperty','set','Cipher','min','IDLE','RemoveColCommandId','_sessions','getConfig','objects','arc','_cursorShapes','makeDirty','getUniverSheetInstance','algo','HMAC','{fileID}','SUCCUSS','LOCAL_CACHE_INTERVAL','_id','random','image/bmp','interceptor','permission.content','session','default','1117897seqvgL','send','addObject','_initResize','selections','LICENSE_IMPORT_SIZE_EXCEEDED','hasher','decryptBlock','onCommentUpdate','docStateChange$','lineTo','replace','transformRemoteChangeset','cursorInfo','1em','COMPLETION_FINISHED','csRejEvent','APPLY_REJECT','onMissingChangesets','_handleHover','_localCacheService','session.connection-failed','_getMergeRange','collabStatus.notCollab','_collaborationController','transformChangesets','_textBubble','_startDocCollabCursor','getActiveSheet','InsertRangeMoveDownCommandId','symbol','off-line-single','eventID','[PendingState]:\x20received\x20acknowledgement.','visibilityState','with','\x20-\x20','_uiPartsService','mutations','_collabCursorState$','getUnitOnRev','collaboration-session-retry','3202997vyPSdz','defs','equals','getRangePointData','_decreaseWaiting','_refreshCollabCursors','USERS_LEAVE','[CollaborationUndoRedoService]','copyFileMeta','_fetchMissChangesets','engine','_getAPIPrefix','UnitEmbedded','mode','_docSyncEditingCollabCursorService','dispose$','displayName','getMemberID','post','_snapshotService','_onCombEvent','onCommandExecuted','propertyIsEnumerable','onRemoteRetry','liveShareOperation','snapshot','c2Prime','_clearUndo','_memberService','onStateChange','c1Prime','_getSignURL','object','_collaborationPaused','onTransformIME','registerHTTPInterceptor','CHANGESET_ACK','session.will-retry','PasswordBasedCipher','getTypeOfUnitAdded$','_localeService','COMPRESS_MUTATION_APPLY','_getUndoStack','_updateStatus','xlink:href','synced','undoState','updateMember','UNIVER_SLIDE','_drawAnchor','isEditing','_onOffline','joinEvent','function','_scheduleClearOtherTimer','/allowed','gold400','_undoRedoService','code','syncEditingCollabCursor','YUUMI_SUBSCRIPTION_NOT_FOUND','StreamCipher','getImageSourceCache','onlineStatusIcon','_startSheetCollabCursor','unitID','/universer-api/snapshot','_anchor','UNIVER_PROJECT','substring','/-/object/list','batchAllowed','VIEW_MAIN','padding','leaveEvent','attrs','onMissedChangesetFetched','_scene','generateRandomId','dispose','charCodeAt','moveTo','cmd','m2Prime','_drawRectRange','fetch_missing','_lastPointer','_notificationService','_refRangeService','APPLY_REVISION_CONFILICT','keySize','_docStateChangeManagerService','NEW_CHANGESETS','CBC','children','_setupBeforeClosingHandler','_color','getOwnPropertyDescriptor','0\x200\x2016\x2016','removeMember','_changesetSessionId','PENDING','colorChannel1','evenodd','rev','UNIVER_UNKNOWN','offline','_docSkeletonManagerService','_createHandler','transformMutation','collaboratorID','jiqing500','_initStatusListener','_updateLocalCache','_parse','$super','get','_transitionLocked','[OfflineState]:\x20received\x20acknowledgement.','fetchThroughInterceptors','PERMISSION_REJ','setCurrentUser','collab-rect-range-','Unknown\x20user','byteLength','on-line-single_clip0_910_349','[CollaborationEntity]','HttpExport','RECT','charAt','_snapshotServerService','_onRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','UPDATE_PERMISSION_OBJ','downloadEndpointUrl','getSheetBlock','href','changesets','_transformSelections','SYNCED','processBlock','image/png','readInt32LE','_shouldReportTelemetry','_initCloseConn','_getAnchorBounding','_init','BlockCipher','_colorAssignService','_onJoinRoomEvent','subscribe','current','LICENSE_DISTRO_REJECTED','_startTelemetryCollaborationNewChangeset','_ensureSubject','infoRsp','_anchorDot','_initDependencies','location','enc','_reverseMap','sin','origin','FAIL','_name','[CollaborationSessionService]:\x20socket\x20error','_ENC_XFORM_MODE','_updateCollabCursors','objectID','Error\x20on\x20receiving\x20event','resourceIDs','Encryptor','cursorInfo$','_eventUnsubscribe','HmacSHA1','_syncEditingCollabCursorService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_toggleOffline','getSkeleton','getResourcesRequest','clearInterval','_urlService','HEADER_MENU','_hash','setParam','collab-text-anchor-','DeleteRangeMoveLeftCommandId','row','_commandService','NoPadding','_executeRemoteChangeset','JOIN','InsertRowCommandId','_iv','_updateURLWithCurrentState','_getAPIPrefixPath','_checkMissing','8wKAvKt','YUUMI_RATE_OVER_LIMIT','_commentService','UnitSnapshot','_revisionService','_resendTimeout','_doProcessBlock','create','exhaustSavingTask','clamp','SEND_CHANGESET_TIMEOUT','_candidateSocket','TOO_MANY_REQUESTS','_doFinalize','_userManagerService','doc.mutation.rich-text-editing','onStarting','onSyncEditingCollabCursor','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNIVER_SHEET','RETRY_CONNECTING_MAX_COUNT','unitId','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','fetchMiss','_ws','_removeRoom','defIds','APPLY_NON_SEQUENTIAL_REVISION','onPointerMove$','_acknowledgedAwaitingChangeset','_startCollaboration','apply','pauseCollaboration','sendChangesetTimeout','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','collabWebSocketUrl','_colorIndex','ranges','univer-online-status','add','revision','setWaitCount','YUUMI_URL_COL_OUT_OF_RANGE','restore','_collabSessionService','_scheduleSaving','crypto','_replaceFileID','_config','/universer-api/authz','buffer','parse','_event$','pad','onReady','_mode','resend','_http','getCurrentUnitForType','[PendingState]:\x20received\x20rejection.','toLowerCase','collaboration_new_changeset','closeSession','UniverIcon','_permissionService','\x0aCurrent:\x20','_prevBlock','saveOfflineData','/universer-api/file/{fileID}/sign-url','_transformIMECache','_iKey','_undoStacks','_process','_onCursorUpdate','getCurrentSelections','UNIVER_DOC','max','snapshotServerUrl','executeCommand','blue400','getRenderById','BlockCipherMode','&source=','[PendingState]:\x20unhandled\x20univer\x20type:\x20','error','collaboration-client.offline-data-not-saved','commentUpdate$','sessionStatus$','getUnitType','_redoStacks','cfg','newValue','HELLO','_initMergeInterceptor','collabStatus.syncing','hostname','extend','encryptBlock','x-univer-host','socketService','roomMembers','_telemetryService','_getUploadFileURL','show','univer-online-status-icon','35YGkQbB','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getSheetId','msCrypto','_instanceService','SNAPSHOT_SERVER_URL_KEY','concat','HttpImport','getCollabCursors$','findNodePositionByCharIndex','/unit/','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/resources','split','_socketService','searchParams','_sheetTransformSelectionsService','assign','\x20in\x20_schedule.','kdf','_transformUndoRedoStack','transformSelections','asObservable','getOffsetConfig','subunit','_waitForHeartbeatResponse','bottom','body','_replayCachedMutations','socket$','on-line-single','_listenToOnlineEvent','result','_telemetryInfo','idSuffix','WordArray','_handleLeaveEvent','SUBMIT_CHANGESET','override','_substituteUndoStack','BufferedBlockAlgorithm','saveChangeset','status$','requestParams','_minBufferSize','onTransformRemoteChangesetByIMECache','_httpService','redoState','getAncestorScale','OTHER_CLIENTS_EDITING','black','getDocRanges','_doReset','_transformService','7725xXbYgZ','_send','addObjects','subUnitId','Could\x20not\x20dynamically\x20require\x20\x22','_initStatusComponent','_cursors','session.room-full','unit-cache-','failed\x20to\x20apply\x20missed\x20changesets!','iterations','univer-online-status-title','deepClone','_sendHeartbeatTimer','_createHmacHelper','updateCollaborator','init','Fragment','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_transformPreviousActiveRange','OnLineSingle','308536Irzfao','COLLAB_WEB_SOCKET_URL','getFocusedUnit','fillText','_roomMembers','_imageSourceCache','unsubscribe','_tryEnsureSocket','userID','M0\x200H16V16H0z','DeleteRangeMoveUpCommandId','none','find','collab-client.tooltip.reconnect','_sheetSkeletonManagerService','width','_getCurrentRevision','_isPermissionRej','Pkcs7','NO_OTHER_CLIENTS_EDITING','_onConnectionFailed','SNAPSHOT_HAS_BEEN_REMOVED','visibilitychange','registerOnClose','_loadDoc','execute','_applyRemoteChangeset','call','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/rev/','collaboration-client.config','words','change$','Base64','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','9tLtwhW','status','INGEST','COMPRESS_MUTATION_SEND','drawWith','color','UNKNOWN_CMD','/collaborator','__esModule','232RuIhjN','_roomMembers$','&assign=','_initEventListeners','FromArray','getViewport','_rescheduleHeartbeat','141041LBqNaQ','_sessionStatus$','headers','TEXT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','JOINING','onRendered','setInterval','_lockTransition','url','_createSocket','APPLY_PERMISSION_DENIED','collaMsg','_render','includes','_univerInstanceService','Decryptor','updateOfflineData','catch','onlineStatus','getUndoRedoMutationParamsCache','\x20to\x20','fromCharCode','UNDEFINED','encode','_state$','_drawTextRange','_clearRedo','_transformRemoteChangesetByStateCache','some','startTime','url(#off-line-single_clip0_910_343)','ACTIVE_UNIT_EVENT_CHANNEL','capture','InsertColCommandId','all','_transformRemoteChangesetByIMECache','MUTATION','_clearLocalCache','top','exports','/block/','HEARTBEAT','_timeoutTimer','OFFLINE','getUnitStatus$','debug','floor','_configService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_substituteRedoStack','_xformMode','_transformStateCache','unit','backgroundColor','_oKey','/role','ceil','connection\x20error','startColumn','selection','_retryCount','/fetchmissing?from=','_key','_scheduleCollaborationTimeoutTimer','roles','#FFF','collaborators','unitId\x20is\x20not\x20found','?size=','...','COLLAB_SUBMIT_CHANGESET_URL','AWAITING_WITH_PENDING','_selfUnitIDs','join','CHANGESET_SHOULD_RETRY','awaitingChangeset','stopTime','_getScale','getMember','_resendTimer','onTransformRemoteChangesetByStateCache','appendMutation','univer-offline','_renderManagerService','_updateState','onload','_context','tag','_registerDependencies','/universer-api/snapshot/','_transformStack','onPointerEnter$','0\x200\x2017\x2016','getAllMembers','online','_logService','encrypt','_onRefRangeChange','_setupSubUnitSync','_onCursorDelete','setTimeout','focused$','key','_removeClearOtherTimer','error$','_labelPosition','_retryConnectingTimer','close','decrypt','format','_socket$','type','_localStorageService','_tryReconnect','_status$','length','_incrementRevisionNumber','addImageSourceCache','HmacMD5','duration','CONFLICT','reject','APPLY_DUPLICATED','localeService','pending','collabStatus.synced','isPermissionRej','div','jsxs','endColumn','_queuedRemoteChangesets','_sender','salt','_createInitialState','objectActions','_clearHeartbeatTimer','RECV','CONNECTOR_DATA_TOO_LARGE','_cursorInfo$','getSheetBySheetId','_collaborationSessionService','_handler','_getRedoStack','liveShareNewHost','/object/','textRanges','_onRecvEvent','_messageService','memberID','#fff','USERS_ENTER','responseType','LEAVE','hidden','_data','saveImage','addEventListener','Hex','Warning','routeKey','getUnhiddenWorksheets','_themeService','for','baseRev','contains','ERROR_EXCEED_SIZE','replaceDocRanges','setActiveRange','_nRounds','fetchMissingChangesets','_cursor','_unitID','_change$','ciphertext','byteOffset','_getSendChangesetTimeout','POST','blockSize','?url=','getTime','/universer-api/stream/file/upload','AES','getCollabEntity','[FetchMissState]','requireSession','PSEUDO_FETCH_MISSING_RESULT','map','awaiting_with_pending','workbook','members','UPDATE_CURSOR','UNAUTHENTICATED','assignAColorForMemberID','_initUnitPermissionChange','6098330bROpSk','_onConflict','415182dGHSDP','_range','data','values','reset','\x0aAfter:\x20','_hovered','range','withCredentials','randomBytes','getRoom','rgba(255,\x20255,\x20255,\x200.01)','initWorkbookPermissionChange','_sendHeartbeat','rng','finalize','_online','_updateSubUnitFromURLParams','toString','has','currentColor','onSendChangeset','Undefined','_backgroundColor','onRemoteRej','_removeCollabCursors','LIVESHARE_REQUEST_HOST','_assignedColors','_getSaveTimeout','_onMessage','lib','_saveTaskMap','AWAITING','isArray','_syncEditingCollabCursor','_unitOnClients','submit\x20changeset\x20error!','_hideTimer','_scheduleHeartbeat','state','number','jsx','[OfflineState]:\x20received\x20rejection.','_getCtorByUniverType','_updateLocalCursor','image/jpeg','_collaborationTimeoutTimer','transformStateCache','stringify','_getDownloadEndpointURL','AUTHZ_URL_KEY','retryConnectingInterval','splice','registerRefRange','_pendingMutations','_resendWithTimeout','toggleOffline','createInstance','editingUnit','onRemoteAck','Univer','compose','InsertRangeMoveRightCommandId','forEach','complete','permission.title','replaceState','image/gif','react.fragment','_disabled','enableAuthServer','getStateCache','awaiting','fill','getRelativeToViewportCoord','UNRECOGNIZED','LIVESHARE_NEW_HOST','objectType','onlineStatusTitle','getUnitId','_socket','refreshPermission','getParam','sheetID','path','reconnect','unknown','onMouseMove','unshift','setStateCache','collabStatus.offline','_stopTelemetryCollaborationNewChangeset','roomMembers$','getInterceptPoints','Utf8','Hasher','OffLineSingle','_collabCursorController','randomUUID','beginPath','HEARTBEAT_TIMEOUT','_injector','close$','_onUserJoin','NOT_FOUND','onPointerLeave$','_socketReady','save','onlyLocal','_handleJoinEvent','getActiveRange','getRandomValues','createSocket','_clearTimeoutTimer','YUUMI_UNABLE_LOAD_URL','defaultProps','collabSubmitChangesetUrl','from','listRoles','createEncryptor','EvpKDF','_submitChangeset','COMMENT_UPDATE','conflict.content','_doCryptBlock','setAlpha','_createInitialStateImpl','FileId','text','_initCommandExecutedListener','_clearOtherTimers','currentTheme$','setShapeProps','[CollaborationSessionService]','enableSingleActiveInstanceLock','size','CHANGESET_REJ','translate(.97)','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoredo','message$','_docTransformIMECacheService','ws://127.0.0.1:8000/universer-api/comb/connect','_append','_hover','_awaitingChangeset','INVALID_ARGUMENT','authzUrl','_heartbeatTimer','disposeWithMe','_invKeySchedule','_cachedData','_docTransformSelectionsService','MD5','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','EXCHANGE_SIGN_URL_SERVER_URL_KEY','commentUpdateEvent','_getSheetObject','every','LOGIN_URL_KEY','univer-pro.collaboration-client-socket-service','_onRemoteRetry','className','registerRenderModule','telemetry\x20info\x20is\x20not\x20initialized','_cipher','_commentUpdate$','_entities','_transformHistoryAndStateStack','icon','actions','_onFetchMissResult','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_keyPriorReset','_shapes','getDeserializedSheetBlock','_handleHeartbeatEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','fillRule','setConfig','toggleOnline','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','_showConflictNotification','measureText','method','LIVESHARE_OPERATION','_onUserLeave','onRemoteChangeset','height','_map','append','[DataLoaderController]','conflict.title','enableOfflineEditing','clear','column','sessionStatus','shouldCloseConn','abs','getTypeOfUnitDisposed$','_scheduleTimestamp','/-/object/-/batch_allowed','BASE64','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','repeat','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','SerializableCipher','_saveCache','getWorkbookSelections','mixIn','storage','_type','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','ref','SNAPSHOT_INVALID_SNAPSHOT','OpenSSL','ALREADY_EXISTS','_waitCount','sigBytes','CHANGESET_REVISION_CONFILICT','_disableEditing','_getSnapshotAPIPrefix','[SyncedState]:\x20received\x20rejection.','subscribeEvent','_joinRoom','_entityInit$','src','SHA1','hovered','_nDataBytes','getCurrentUser','permissionRejEvent','_handleEvent','setShowComponents','socket\x20open.','transformStack\x20failed!','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','red300','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_clearScheduledTask','SNAPSHOT_URL_KEY','Latin1','url(#on-line-single_clip0_910_349)','ERROR_IMAGE','_draw','readAsDataURL','update','enableLocalCache','Error','history','toRgbString','FETCH_MISSING','getCellPositionByOffset','Malformed\x20UTF-8\x20data','_keySchedule','now','_docTransformStateCacheService','pushState','csShouldRetryEvent','isActive','onTransformChange$','delete','params','ivSize','font','_members','sid','clipPath','getVpScrollXYInfoByPosToVp','_onConnectionOpen','ONLINE','slice','collabCursorState$','event$','saveSheetBlock','onTransformState','_sendingTimer','session.collaboration-timeout','_onRemoteRejected','fetching\x20missing\x20changesets\x20from\x20','open$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','triggerDblclick','_createHelper','bind','_throwTelemetryCollaborationNewChangeset','pipe','closePath','put','purple300','getCurrentRevOfUnit','reqId','image/jpg','collaboration.closeRoom','joinRsp','_state','compute','updatePermissionPoint','_onLocalMutation','round','next','getItem','flatMap','_unlockTransition','PERMISSION_DENIED','getOwnPropertySymbols','originalMeta','getUnit','MSG_FOR_ERROR','name','disableLocalCache','m1Prime','FETCH_MISS','string','_registerRenderDependencies','then','state$','NOT_COLLAB','setItem','60xAUrRe','SHOULD_CLOSE_CONN','_beforeCloseService','_HTTPService','collaboration.single-unit.warning','_socketMessageSubscription','startsWith','patch','_singleActiveUnitService','url(#$1','collabStatus.fetchMiss','LIVESHARE_TERMINATE','react.element','indexOf','entries','_compressMutationService','_schedule','prototype','[CollaborationSession]','socket\x20close','loadOfflineData','_unitStatus','transformMutationsWithChangeset','Base','_clearCollaborationTimeoutTimer','defineProperty','_initRequestHeader','_session','_remoteChangesetQueue','getCollabEntity$','createDecryptor','clone','onTransformSelections','push','fillStyle','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','currentSkeleton$'];_0x27da=function(){return _0x164b1c;};return _0x27da();}var bc=Object['defineProperty'],Tc=Object[_0x5bb7a4(0x4e4)],Rc=(_0x35f703,_0x498c92,_0x5d4a1e,_0x1fc3e8)=>{const _0x294557=_0x5bb7a4;for(var _0x5ce33a=_0x1fc3e8>0x1?void 0x0:_0x1fc3e8?Tc(_0x498c92,_0x5d4a1e):_0x498c92,_0x1fdff8=_0x35f703[_0x294557(0x282)]-0x1,_0x212648;_0x1fdff8>=0x0;_0x1fdff8--)(_0x212648=_0x35f703[_0x1fdff8])&&(_0x5ce33a=(_0x1fc3e8?_0x212648(_0x498c92,_0x5d4a1e,_0x5ce33a):_0x212648(_0x5ce33a))||_0x5ce33a);return _0x1fc3e8&&_0x5ce33a&&bc(_0x498c92,_0x5d4a1e,_0x5ce33a),_0x5ce33a;},et=(_0x4eeb34,_0x34c0ae)=>(_0x24bda2,_0xc320a2)=>_0x34c0ae(_0x24bda2,_0xc320a2,_0x4eeb34);let _s=class extends _0x26edca{constructor(_0x3d144d,_0x2b453b,_0x40e0a4,_0x121d72,_0x1ef676){const _0x4e9a4a=_0x5bb7a4;super(_0x3d144d,_0x2b453b,_0x40e0a4),this[_0x4e9a4a(0x1c5)]=_0x121d72,this[_0x4e9a4a(0x26e)]=_0x1ef676;}['transformUndoRedo'](_0x4679e5,_0x3d43f4){const _0x2fe294=_0x5bb7a4,_0x56ed23=this[_0x2fe294(0x4ad)](_0x4679e5);if(_0x56ed23)try{const _0x475a4a=this[_0x2fe294(0x269)](_0x56ed23,_0x3d43f4);this[_0x2fe294(0x1b7)](_0x4679e5,_0x475a4a);}catch(_0x4bc14d){this[_0x2fe294(0x26e)][_0x2fe294(0x17b)]('[CollaborationUndoRedoService]',_0x4bc14d),this['_clearUndo'](_0x4679e5);}const _0x26e55d=this[_0x2fe294(0x29d)](_0x4679e5);if(_0x26e55d)try{const _0x311bb4=this[_0x2fe294(0x269)](_0x26e55d,_0x3d43f4);this[_0x2fe294(0x240)](_0x4679e5,_0x311bb4);}catch(_0x3d0dfa){this[_0x2fe294(0x26e)]['error'](_0x3d0dfa),this[_0x2fe294(0x229)](_0x4679e5);}}[_0x5bb7a4(0x49e)](_0x379088){const _0x455075=_0x5bb7a4,_0x28bcac=this[_0x455075(0x4ad)](_0x379088);_0x28bcac&&(_0x28bcac['length']=0x0,this[_0x455075(0x4ae)]());}['_clearRedo'](_0x14b302){const _0x4e3ba7=_0x5bb7a4,_0x4e0102=this[_0x4e3ba7(0x29d)](_0x14b302);_0x4e0102&&(_0x4e0102[_0x4e3ba7(0x282)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x241f06,_0x2f0053){const _0x2abb5f=_0x5bb7a4;this[_0x2abb5f(0x16e)]['set'](_0x241f06,_0x2f0053),this[_0x2abb5f(0x4ae)]();}[_0x5bb7a4(0x240)](_0x3fd12f,_0x3e98ac){const _0x29af58=_0x5bb7a4;this[_0x29af58(0x180)][_0x29af58(0x441)](_0x3fd12f,_0x3e98ac),this[_0x29af58(0x4ae)]();}[_0x5bb7a4(0x269)](_0x2b71a5,_0x47dace){const _0x246f55=_0x5bb7a4,_0x1f6947=[];let _0x158986=_0x47dace,_0x3390ff=_0x47dace;for(let _0x1cf358=_0x2b71a5[_0x246f55(0x282)]-0x1;_0x1cf358>=0x0;_0x1cf358--){const {unitID:_0x51bdb3,undoMutations:_0x1fa29e,redoMutations:_0x1dd9d5}=_0x2b71a5[_0x1cf358],_0x1b6953=this['_transformService'][_0x246f55(0x428)](_0x158986,_0x1fa29e),_0x4b357c=this[_0x246f55(0x1c5)][_0x246f55(0x428)](_0x3390ff,_0x1dd9d5);if(_0x2a2494(_0x1b6953)||_0x2a2494(_0x4b357c)){this[_0x246f55(0x26e)][_0x246f55(0x17b)](_0x246f55(0x48a),_0x246f55(0x3be),_0x1b6953,_0x4b357c);break;}_0x158986=_0x1b6953['c1Prime'],_0x3390ff=_0x4b357c[_0x246f55(0x4a1)],_0x1f6947[_0x246f55(0x433)]({'unitID':_0x51bdb3,'undoMutations':_0x1b6953[_0x246f55(0x4d6)],'redoMutations':_0x4b357c[_0x246f55(0x4d6)]});}return _0x1f6947['reverse']();}};_s=Rc([et(0x0,_0x2e0534),et(0x1,_0x1e58f0),et(0x2,_0x6af9eb),et(0x3,_0x2db4c4),et(0x4,_0x3efec9)],_s);class yc extends _0x177a9e{constructor(){const _0x4176fd=_0x5bb7a4;super(),g(this,'urlChange$'),this['urlChange$']=_0x565a18(window,'popstate')[_0x4176fd(0x3f1)](_0x52fa59(this[_0x4176fd(0x492)]),_0x3f1879(0x1),_0x287b5c(void 0x0));}['setParam'](_0x59f095,_0x3a4473,_0x54170f=!0x1){const _0x115f06=_0x5bb7a4,_0x2890e1=new URL(window[_0x115f06(0x521)][_0x115f06(0x50b)]);_0x2890e1[_0x115f06(0x19f)]['set'](_0x59f095,_0x3a4473),_0x54170f?window[_0x115f06(0x3cc)][_0x115f06(0x315)]('','',_0x2890e1[_0x115f06(0x2e5)]()):window[_0x115f06(0x3cc)][_0x115f06(0x3d4)]('','',_0x2890e1[_0x115f06(0x2e5)]());}['removeParam'](_0x54dbb0,_0x2154d4=!0x1){const _0x10cbf8=_0x5bb7a4,_0x11bfda=new URL(window[_0x10cbf8(0x521)][_0x10cbf8(0x50b)]);_0x11bfda[_0x10cbf8(0x19f)][_0x10cbf8(0x3d8)](_0x54dbb0),_0x2154d4?window[_0x10cbf8(0x3cc)][_0x10cbf8(0x315)]('','',_0x11bfda['toString']()):window[_0x10cbf8(0x3cc)][_0x10cbf8(0x3d4)]('','',_0x11bfda[_0x10cbf8(0x2e5)]());}['getParam'](_0x3aba6c){const _0x5dd888=_0x5bb7a4;var _0x285717;return(_0x285717=new URL(window['location'][_0x5dd888(0x50b)])[_0x5dd888(0x19f)][_0x5dd888(0x4f7)](_0x3aba6c))!=null?_0x285717:void 0x0;}}var zi=Object[_0x5bb7a4(0x42b)],Oc=Object[_0x5bb7a4(0x4e4)],wc=(_0x4bdc06,_0x21979c,_0x4cb3a5)=>_0x21979c in _0x4bdc06?zi(_0x4bdc06,_0x21979c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cb3a5}):_0x4bdc06[_0x21979c]=_0x4cb3a5,Dc=(_0x258765,_0x3cb8f0,_0x5c61ef,_0x7df504)=>{const _0x144bd7=_0x5bb7a4;for(var _0x5889bd=_0x7df504>0x1?void 0x0:_0x7df504?Oc(_0x3cb8f0,_0x5c61ef):_0x3cb8f0,_0x252a14=_0x258765[_0x144bd7(0x282)]-0x1,_0x5869be;_0x252a14>=0x0;_0x252a14--)(_0x5869be=_0x258765[_0x252a14])&&(_0x5889bd=(_0x7df504?_0x5869be(_0x3cb8f0,_0x5c61ef,_0x5889bd):_0x5869be(_0x5889bd))||_0x5889bd);return _0x7df504&&_0x5889bd&&zi(_0x3cb8f0,_0x5c61ef,_0x5889bd),_0x5889bd;},lt=(_0x1e8c8a,_0x1bd5ea)=>(_0x5ce7e7,_0x1001d8)=>_0x1bd5ea(_0x5ce7e7,_0x1001d8,_0x1e8c8a),Pc=(_0xb303a9,_0x99dd6,_0x3bfc20)=>wc(_0xb303a9,_0x99dd6+'',_0x3bfc20);const Uc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x1a3f69{constructor(_0x8b1473=Rr,_0x4f19e5,_0x1ccf76,_0x1cb2b8,_0x517dfc){const _0x39322f=_0x5bb7a4;super(),this[_0x39322f(0x579)]=_0x8b1473,this[_0x39322f(0x26e)]=_0x4f19e5,this[_0x39322f(0x262)]=_0x1ccf76,this['_injector']=_0x1cb2b8,this[_0x39322f(0x23e)]=_0x517dfc;const {..._0x28a46b}=this['_config'];this[_0x39322f(0x23e)][_0x39322f(0x386)](ie,_0x28a46b);}[_0x5bb7a4(0x558)](){const _0x5c3d4d=_0x5bb7a4;this[_0x5c3d4d(0x267)](),this[_0x5c3d4d(0x520)]();}[_0x5bb7a4(0x57f)](){_0x3fa01f(this['_injector'],[[Ct]]);}[_0x5bb7a4(0x214)](){this['_registerRenderDependencies']();}[_0x5bb7a4(0x267)](){const _0x38f93c=_0x5bb7a4;var _0x41ed6b,_0x5b784f,_0x35fd16,_0x5e212f;this[_0x38f93c(0x338)][_0x38f93c(0x2e6)](_0x131129)&&this[_0x38f93c(0x26e)][_0x38f93c(0x17b)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1fcd21=[[_0x131129,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x1275f8],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x5b784f=(_0x41ed6b=this[_0x38f93c(0x579)])==null?void 0x0:_0x41ed6b[_0x38f93c(0x18a)])!=null?_0x5b784f:es}],[_0x5bc59d,{'useClass':ls}],[_0x2eb585,{'useClass':cs}],[_0x23cc94,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x35fd16=this[_0x38f93c(0x579)])!=null&&_0x35fd16[_0x38f93c(0x359)]&&_0x1fcd21[_0x38f93c(0x433)]([Rt,{'useClass':ro}]),_0x60d00f(this[_0x38f93c(0x338)],_0x2c766a(_0x1fcd21,(_0x5e212f=this[_0x38f93c(0x579)])==null?void 0x0:_0x5e212f[_0x38f93c(0x1b6)]));}[_0x5bb7a4(0x40d)](){const _0x538072=_0x5bb7a4;this[_0x538072(0x368)](this[_0x538072(0x262)][_0x538072(0x376)](_0x10a997['UNIVER_DOC'],[os])),this[_0x538072(0x368)](this[_0x538072(0x262)][_0x538072(0x376)](_0x10a997['UNIVER_SHEET'],[as]));}[_0x5bb7a4(0x520)](){const _0x43c46b=_0x5bb7a4;var _0x45ecf2,_0x2715ba;this['_injector']['get'](_0x41156a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x15339e({'maxParallel':0x6})}),(_0x45ecf2=this[_0x43c46b(0x579)])!=null&&_0x45ecf2[_0x43c46b(0x394)]||this[_0x43c46b(0x338)][_0x43c46b(0x4f7)](q)[_0x43c46b(0x409)](),(_0x2715ba=this[_0x43c46b(0x579)])!=null&&_0x2715ba[_0x43c46b(0x319)]&&_0x3fa01f(this[_0x43c46b(0x338)],[[Et]]),_0x3fa01f(this['_injector'],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,'pluginName',Uc),us=Dc([_0x5008eb(_0x1956e2,_0x2fc5f3),lt(0x1,_0x3efec9),lt(0x2,_0x31d8f9),lt(0x3,_0x22a3e1(_0x4c5160)),lt(0x4,_0x2bb536)],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};
|