@univerjs-pro/collaboration-client 0.5.0-nightly.202411291606 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/locale/zh-CN.d.ts +4 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +7 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x112848=_0x5808;(function(_0x356b66,_0x563a9c){const _0x151b14=_0x5808,_0x5f4193=_0x356b66();while(!![]){try{const _0x41170e=-parseInt(_0x151b14(0x428))/0x1+-parseInt(_0x151b14(0x4ef))/0x2*(parseInt(_0x151b14(0x58a))/0x3)+parseInt(_0x151b14(0x2a7))/0x4*(-parseInt(_0x151b14(0x340))/0x5)+-parseInt(_0x151b14(0x59b))/0x6+parseInt(_0x151b14(0x342))/0x7+-parseInt(_0x151b14(0x2d8))/0x8+parseInt(_0x151b14(0x53b))/0x9;if(_0x41170e===_0x563a9c)break;else _0x5f4193['push'](_0x5f4193['shift']());}catch(_0x4947bc){_0x5f4193['push'](_0x5f4193['shift']());}}}(_0x1893,0xe0904));var ar=Object[_0x112848(0x47b)],cr=(_0x4e84c8,_0x17b80b,_0x456941)=>_0x17b80b in _0x4e84c8?ar(_0x4e84c8,_0x17b80b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x456941}):_0x4e84c8[_0x17b80b]=_0x456941,g=(_0x5091cc,_0x4d9f7d,_0xa42e8f)=>cr(_0x5091cc,typeof _0x4d9f7d!=_0x112848(0x414)?_0x4d9f7d+'':_0x4d9f7d,_0xa42e8f);import{createIdentifier as _0x20e782,Inject as _0xa52f76,Disposable as _0x5c0223,DisposableCollection as _0x518f78,toDisposable as _0x1eb786,IConfigService as _0x11a6c7,ILogService as _0x5268cc,UserManagerService as _0x518073,UniverInstanceType as _0x3f1ceb,IUniverInstanceService as _0x1efafe,LocaleService as _0x316ab9,Optional as _0x2fcc7a,RxDisposable as _0x40c6c0,Injector as _0x2e5136,Tools as _0x5a9c5d,ILocalStorageService as _0x41275d,Rectangle as _0x430de4,ICommandService as _0x18a422,DOC_RANGE_TYPE as _0x1c1637,JSONX as _0x14548d,CommandType as _0x4ffeff,IPermissionService as _0x5607d9,IUndoRedoService as _0x196f01,sequenceExecute as _0x5b8778,debounce as _0x5d2740,COLORS as _0xb724fd,ColorKit as _0x182947,ThemeService as _0x1205f5,fromEventSubject as _0x25214b,useDependency as _0x2cfe22,connectInjector as _0x39ed40,Workbook as _0x25ce1f,MentionType as _0x2674d4,isInternalEditorID as _0x84653,LocalUndoRedoService as _0x1e5d78,IContextService as _0x4854c6,DependentOn as _0x2515dd,Plugin as _0x1eea30,touchDependencies as _0xf829bb,IAuthzIoService as _0x2cb575,IMentionIOService as _0x18bcf1,registerDependencies as _0x12d3f3,mergeOverrideWithDependencies as _0x5f51db}from'@univerjs/core';import{Subject as _0x37f3d3,merge as _0x566afd,takeUntil as _0xb4b5bf,BehaviorSubject as _0x1c751f,distinctUntilChanged as _0x1a2e52,fromEvent as _0x3a7923,ReplaySubject as _0x12eb08,take as _0x54b287,map as _0x396b6b,shareReplay as _0x4f483e,of as _0x3856a9,debounceTime as _0x2d6759,filter as _0x2e0ab5,switchMap as _0x305d56,combineLatest as _0x398699,concatMap as _0x7c024f,mapTo as _0x3cfafd}from'rxjs';import{map as _0x338263,take as _0x5237ca,filter as _0x4c7b7d,delay as _0x4a1906,throttleTime as _0x1755d1,takeUntil as _0x5b0372,switchMap as _0x4cc5c2}from'rxjs/operators';import{MessageType as _0x52ad10,Tooltip as _0x4eb3b3}from'@univerjs/design';import{HTTPService as _0xf832d4,WebSocketService as _0x380994,MergeInterceptorFactory as _0x4156b0,HTTPRequest as _0x3f6815,UniverNetworkPlugin as _0x40f020,ThresholdInterceptorFactory as _0x3a8cf9}from'@univerjs/network';import{IBeforeCloseService as _0x320b69,IMessageService as _0x1a4116,INotificationService as _0x30ba66,useObservable as _0x43ce4d,BuiltInUIPart as _0x4e8e5b,IUIPartsService as _0x66005c}from'@univerjs/ui';import{CollaborationEvent as _0x18493d,parseChangesetToProtocol as _0x4be9dd,ISnapshotServerService as _0x43ae5e,isTransformMutationFailure as _0xf61c00,isTransformMutationsWithChangesetSuccess as _0x4f22a8,ITransformService as _0x6c5e45,RevisionService as _0x340bb0,mapDocumentTypeToUniverType as _0x1fbe40,isTransformChangesetsSuccess as _0x288a08,CompressMutationService as _0x56bdcd,parseProtocolChangeset as _0x231171,SnapshotService as _0x17912e,textEncoder as _0x127662,b64DecodeUnicode as _0x57f395,isTransformMutationsWithChangesetFailure as _0xc4ef8c,UniverCollaborationPlugin as _0x1e483b}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x31cd31}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x20b394,RichTextEditingMutation as _0x32f6eb,SetTextSelectionsOperation as _0x31e913,DocSkeletonManagerService as _0x5ba5a1}from'@univerjs/docs';import{DocIMEInputManagerService as _0x331906,DocStateChangeManagerService as _0x40c526,IDocClipboardService as _0x3d16a8,NodePositionConvertToCursor as _0x1313ee,NodePositionConvertToRectRange as _0x163ef7,TEXT_RANGE_LAYER_INDEX as _0x184e3f,SetDocZoomRatioOperation as _0x262271}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x52a1cd,SetSelectionsOperation as _0x2f7f98,InsertSheetMutation as _0x227484,EmptyMutation as _0x595980,WorkbookEditablePermission as _0x1454cb,RefRangeService as _0x253623,EffectRefRangId as _0x2ce5bc,handleIRemoveRow as _0x4892c8,handleIRemoveCol as _0x1752ab,handleMoveRange as _0x32961c,handleInsertRow as _0x21e619,handleInsertRangeMoveRight as _0xcc17e9,handleInsertRangeMoveDown as _0x1d517f,handleInsertCol as _0x4479f2,handleDeleteRangeMoveUp as _0x4c2872,handleDeleteRangeMoveLeft as _0x5edb52,runRefRangeMutations as _0x3899c2,SetWorksheetActivateCommand as _0x1a52ba}from'@univerjs/sheets';import{IRenderManagerService as _0x457d35,Shape as _0x426011,Rect as _0x2bdb9c,getColor as _0x7a80fe,RegularPolygon as _0x10f4f6,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x20b791,Vector2 as _0x456d3c,SHEET_VIEWPORT_KEY as _0x3ab83e}from'@univerjs/engine-render';import{IImageIoService as _0x2c6ece,ImageSourceType as _0x9c5fb,ImageUploadStatusType as _0x550762}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x1b4ef8,serializeRangeWithSheet as _0x2f1193}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x54a0b0,getCoordByCell as _0x54af00,getSheetObject as _0x1bd3b5,SheetPermissionInitController as _0x43faf2}from'@univerjs/sheets-ui';import _0x282e13,{forwardRef as _0x234df0,useRef as _0x482462,createElement as _0x7a3241,useCallback as _0xe5146e}from'react';import{IRemoteInstanceService as _0x1f5375}from'@univerjs/rpc';const Cn=_0x112848(0x2f9),En=_0x112848(0x3f6),bn=_0x112848(0x49f),yh=_0x112848(0x2dd),Tn=0x7d0,Rn=_0x112848(0x5c9),On=_0x112848(0x4ba),yn=_0x112848(0x536),wn=_0x112848(0x510),Dn=0x7530,Bi=_0x112848(0x408),ki=0x4e20,Pn=0x4e20,Un='RETRY_CONNECTING_MAX_COUNT',Nn=0x3,An=_0x112848(0x5d7),Mn=0x3e8,xn=_0x112848(0x5d8),Ln=_0x112848(0x29a),$n=_0x112848(0x3d3),Hn=_0x112848(0x596);var Wi=(_0x5bcc93=>(_0x5bcc93[_0x5bcc93['UNDEFINED']=0x0]=_0x112848(0x50c),_0x5bcc93[_0x5bcc93['OK']=0x1]='OK',_0x5bcc93[_0x5bcc93['INTERNAL_ERROR']=0x2]=_0x112848(0x309),_0x5bcc93[_0x5bcc93['PERMISSION_DENIED']=0x3]=_0x112848(0x36b),_0x5bcc93[_0x5bcc93[_0x112848(0x44b)]=0x4]=_0x112848(0x44b),_0x5bcc93[_0x5bcc93[_0x112848(0x4e3)]=0x5]=_0x112848(0x4e3),_0x5bcc93[_0x5bcc93[_0x112848(0x60c)]=0x6]=_0x112848(0x60c),_0x5bcc93[_0x5bcc93[_0x112848(0x5cd)]=0x7]='INVALID_ARGUMENT',_0x5bcc93[_0x5bcc93['TOO_MANY_REQUESTS']=0x8]=_0x112848(0x308),_0x5bcc93[_0x5bcc93['COMPLETION_FINISHED']=0x9]=_0x112848(0x556),_0x5bcc93[_0x5bcc93['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x112848(0x293),_0x5bcc93[_0x5bcc93[_0x112848(0x25e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5bcc93[_0x5bcc93['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5bcc93[_0x5bcc93['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5bcc93[_0x5bcc93[_0x112848(0x2ea)]=0x1b59]=_0x112848(0x2ea),_0x5bcc93[_0x5bcc93[_0x112848(0x30f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5bcc93[_0x5bcc93['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5bcc93[_0x5bcc93['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x112848(0x3f3),_0x5bcc93[_0x5bcc93['APPLY_DUPLICATED']=0x1b5d]=_0x112848(0x375),_0x5bcc93[_0x5bcc93[_0x112848(0x421)]=0x1f41]=_0x112848(0x421),_0x5bcc93[_0x5bcc93[_0x112848(0x5e6)]=0x2329]=_0x112848(0x5e6),_0x5bcc93[_0x5bcc93[_0x112848(0x2ca)]=0x232a]=_0x112848(0x2ca),_0x5bcc93[_0x5bcc93[_0x112848(0x2f5)]=0x232b]=_0x112848(0x2f5),_0x5bcc93[_0x5bcc93[_0x112848(0x4b6)]=0x232c]=_0x112848(0x4b6),_0x5bcc93[_0x5bcc93[_0x112848(0x4a0)]=0x232d]=_0x112848(0x4a0),_0x5bcc93[_0x5bcc93[_0x112848(0x50f)]=0x2711]=_0x112848(0x50f),_0x5bcc93[_0x5bcc93[_0x112848(0x1f7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5bcc93[_0x5bcc93['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x112848(0x223),_0x5bcc93[_0x5bcc93[_0x112848(0x55b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5bcc93[_0x5bcc93[_0x112848(0x2d2)]=-0x1]=_0x112848(0x2d2),_0x5bcc93))(Wi||{}),ae=(_0x76a25c=>(_0x76a25c[_0x76a25c[_0x112848(0x318)]=0x0]=_0x112848(0x318),_0x76a25c[_0x76a25c[_0x112848(0x538)]=0x1]='UNIVER_DOC',_0x76a25c[_0x76a25c[_0x112848(0x3f0)]=0x2]=_0x112848(0x3f0),_0x76a25c[_0x76a25c[_0x112848(0x3ae)]=0x3]=_0x112848(0x3ae),_0x76a25c[_0x76a25c[_0x112848(0x494)]=0x4]=_0x112848(0x494),_0x76a25c[_0x76a25c[_0x112848(0x2d2)]=-0x1]=_0x112848(0x2d2),_0x76a25c))(ae||{}),W=(_0x25a828=>(_0x25a828[_0x25a828[_0x112848(0x5ad)]=0x0]=_0x112848(0x5ad),_0x25a828[_0x25a828[_0x112848(0x54c)]=0x1]='HELLO',_0x25a828[_0x25a828[_0x112848(0x25c)]=0x2]=_0x112848(0x25c),_0x25a828[_0x25a828['LEAVE']=0x3]=_0x112848(0x592),_0x25a828[_0x25a828['INGEST']=0x4]='INGEST',_0x25a828[_0x25a828['HEARTBEAT']=0x5]=_0x112848(0x3cc),_0x25a828[_0x25a828[_0x112848(0x4b7)]=0x6]=_0x112848(0x4b7),_0x25a828[_0x25a828['UNRECOGNIZED']=-0x1]=_0x112848(0x2d2),_0x25a828))(W||{}),ws=(_0x59e428=>(_0x59e428[_0x59e428['UNKNOWN_CODE']=0x0]=_0x112848(0x249),_0x59e428[_0x59e428['OK']=0x1]='OK',_0x59e428[_0x59e428[_0x112848(0x21a)]=0x2]=_0x112848(0x21a),_0x59e428[_0x59e428['JOIN_ROOM_FULL']=0x3e9]=_0x112848(0x51e),_0x59e428[_0x59e428[_0x112848(0x4a1)]=0x3ea]=_0x112848(0x4a1),_0x59e428[_0x59e428['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x59e428))(ws||{}),Fi=(_0xf0db37=>(_0xf0db37[_0xf0db37[_0x112848(0x264)]=0x0]=_0x112848(0x264),_0xf0db37[_0xf0db37[_0x112848(0x3cf)]=0x1]='HttpImport',_0xf0db37[_0xf0db37[_0x112848(0x366)]=0x2]=_0x112848(0x366),_0xf0db37[_0xf0db37[_0x112848(0x5a3)]=0x3]=_0x112848(0x5a3),_0xf0db37[_0xf0db37[_0x112848(0x605)]=0x4]=_0x112848(0x605),_0xf0db37[_0xf0db37[_0x112848(0x2d2)]=-0x1]=_0x112848(0x2d2),_0xf0db37))(Fi||{});const Q=_0x112848(0x24f),jn={};function Bn(_0x226d9a){const _0x7b7a13=_0x112848;var _0x21fc47,_0x406542,_0x3e3321,_0xa52455,_0x523ed5;const _0x3426ee=_0x226d9a[_0x7b7a13(0x600)],_0x49e912=JSON[_0x7b7a13(0x2e6)](_0x3426ee);switch(_0x49e912[_0x7b7a13(0x242)]){case W[_0x7b7a13(0x3cc)]:case W[_0x7b7a13(0x54c)]:{const _0x3c15d0=_0x49e912[_0x7b7a13(0x287)];return{..._0x49e912,'data':_0x3c15d0,'cmd':_0x49e912[_0x7b7a13(0x242)]};}case W[_0x7b7a13(0x25c)]:{const _0x4ff31b=_0x49e912[_0x7b7a13(0x526)];return{..._0x49e912,'data':_0x4ff31b,'cmd':_0x49e912['cmd']};}case W[_0x7b7a13(0x4b7)]:{const _0x28e4d8=_0x49e912[_0x7b7a13(0x4c7)];switch(_0x28e4d8[_0x7b7a13(0x585)]){case _0x18493d['PERMISSION_REJ']:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0x21fc47=_0x28e4d8[_0x7b7a13(0x55d)])==null?void 0x0:_0x21fc47['cs']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d['CHANGESET_ACK']:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0x406542=_0x28e4d8[_0x7b7a13(0x447)])==null?void 0x0:_0x406542['cs']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d['NEW_CHANGESETS']:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0x3e3321=_0x28e4d8['newCsEvent'])==null?void 0x0:_0x3e3321['cs']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x46a)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0xa52455=_0x28e4d8[_0x7b7a13(0x5e2)])==null?void 0x0:_0xa52455['cs']},'cmd':_0x49e912['cmd']};case _0x18493d['CHANGESET_SHOULD_RETRY']:return{..._0x49e912,'data':{..._0x28e4d8,'data':(_0x523ed5=_0x28e4d8[_0x7b7a13(0x2e9)])==null?void 0x0:_0x523ed5['cs']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x407)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x27f)]},'cmd':_0x49e912['cmd']};case _0x18493d['USERS_ENTER']:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x4c4)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x5ee)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x46c)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x1fa)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8['liveShareNewHost']},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x31c)]:case _0x18493d[_0x7b7a13(0x2ed)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x3ee)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x1fc)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x569)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d['MSG_FOR_ERROR']:return{..._0x49e912,'data':_0x28e4d8,'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x52e)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x505)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x5f1)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x20a)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};case _0x18493d[_0x7b7a13(0x5d5)]:return{..._0x49e912,'data':{..._0x28e4d8,'data':_0x28e4d8[_0x7b7a13(0x201)]},'cmd':_0x49e912[_0x7b7a13(0x242)]};default:return _0x49e912;}}default:return _0x49e912;}}function kn(_0x5465d5){const _0x24d356=_0x112848;switch(_0x5465d5[_0x24d356(0x242)]){case W[_0x24d356(0x3cc)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x5465d5[_0x24d356(0x242)],'routeKey':_0x5465d5[_0x24d356(0x29f)]});case W[_0x24d356(0x5ce)]:{let _0x4af51c;switch(_0x5465d5[_0x24d356(0x600)][_0x24d356(0x585)]){case _0x18493d[_0x24d356(0x407)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x407)],'updateCursorEvent':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d['USERS_LEAVE']:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x5ee)],'leaveEvent':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d[_0x24d356(0x2e8)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x2e8)],'joinEvent':_0x5465d5['data'][_0x24d356(0x600)]};break;}case _0x18493d['LIVESHARE_NEW_HOST']:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x1fa)],'liveShareNewHost':_0x5465d5['data']['data']};break;}case _0x18493d[_0x24d356(0x2ed)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x2ed)],'liveShareOperation':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d[_0x24d356(0x1fc)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x1fc)],'liveShareTerminate':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d[_0x24d356(0x49e)]:{_0x4af51c={'eventID':_0x18493d['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x600)]};break;}case _0x18493d[_0x24d356(0x31c)]:{_0x4af51c={'eventID':_0x18493d[_0x24d356(0x31c)]};break;}default:_0x4af51c={'eventID':_0x5465d5[_0x24d356(0x600)][_0x24d356(0x585)]};}return JSON[_0x24d356(0x2f0)]({'cmd':_0x5465d5[_0x24d356(0x242)],'routeKey':_0x5465d5['routeKey'],'collaMsg':_0x4af51c});}case W['JOIN']:return JSON[_0x24d356(0x2f0)]({'cmd':_0x5465d5[_0x24d356(0x242)],'routeKey':_0x5465d5['routeKey'],'joinReq':_0x5465d5[_0x24d356(0x600)]});case W['LEAVE']:return JSON[_0x24d356(0x2f0)]({'cmd':_0x5465d5['cmd'],'routeKey':_0x5465d5[_0x24d356(0x29f)],'leaveReq':_0x5465d5[_0x24d356(0x600)]});default:throw new Error(_0x24d356(0x32f));}}var Wn=Object[_0x112848(0x47b)],Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x2ea69b,_0x293f74,_0x41c54e,_0x4d1494)=>{for(var _0x1bbb86=_0x4d1494>0x1?void 0x0:_0x4d1494?Fn(_0x293f74,_0x41c54e):_0x293f74,_0x2c159=_0x2ea69b['length']-0x1,_0x4af08b;_0x2c159>=0x0;_0x2c159--)(_0x4af08b=_0x2ea69b[_0x2c159])&&(_0x1bbb86=(_0x4d1494?_0x4af08b(_0x293f74,_0x41c54e,_0x1bbb86):_0x4af08b(_0x1bbb86))||_0x1bbb86);return _0x4d1494&&_0x1bbb86&&Wn(_0x293f74,_0x41c54e,_0x1bbb86),_0x1bbb86;},qe=(_0x4cc90d,_0x218ba7)=>(_0x25bac8,_0x3d643b)=>_0x218ba7(_0x25bac8,_0x3d643b,_0x4cc90d);const Vi=_0x20e782(_0x112848(0x4a5));function Gn(_0x4aa2cf,_0x57c17c,_0x4d1bd5){const _0x3eea6f=_0x112848;return _0x4aa2cf+'/'+_0x57c17c+_0x3eea6f(0x42b)+_0x4d1bd5+_0x3eea6f(0x334);}let as=class extends _0x5c0223{constructor(_0x4ba766,_0x46eaae,_0x3a7157,_0x42a208,_0x13b85b){const _0x2ea81a=_0x112848;super(),this[_0x2ea81a(0x5c1)]=_0x4ba766,this[_0x2ea81a(0x4a4)]=_0x46eaae,this[_0x2ea81a(0x3bf)]=_0x3a7157,this[_0x2ea81a(0x2bf)]=_0x42a208,this[_0x2ea81a(0x597)]=_0x13b85b;}[_0x112848(0x34f)](_0x2420c7){const _0x11c111=_0x112848,_0x2e0417=this['_ws'][_0x11c111(0x34f)](_0x2420c7);if(!_0x2e0417)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2432d3=new _0x518f78(),_0xb9236b=new _0x37f3d3();_0x2432d3[_0x11c111(0x278)](_0x2e0417[_0x11c111(0x61a)]['subscribe'](_0x1fd2be=>_0xb9236b[_0x11c111(0x53a)](_0x1fd2be))),_0x2432d3[_0x11c111(0x278)](_0x1eb786(()=>_0xb9236b[_0x11c111(0x38e)]()));const _0x47f68f=new _0x37f3d3();_0x2432d3['add'](_0x2e0417['error$'][_0x11c111(0x4f8)](_0x2f1538=>_0x47f68f['next'](_0x2f1538))),_0x2432d3[_0x11c111(0x278)](_0x1eb786(()=>_0x47f68f[_0x11c111(0x38e)]()));const _0x2ffeb4=new _0x37f3d3();_0x2432d3[_0x11c111(0x278)](_0x2e0417[_0x11c111(0x463)]['subscribe'](_0x921709=>{const _0xd78b80=Bn(_0x921709);_0x2ffeb4['next'](_0xd78b80);})),_0x2432d3[_0x11c111(0x278)](_0x1eb786(()=>_0x2ffeb4[_0x11c111(0x38e)]()));let _0x487712;const _0x576520=()=>{const _0x9c57f8=_0x11c111;_0x47f68f[_0x9c57f8(0x53a)](new Event('connection\x20error')),_0xb9236b['next'](new CloseEvent(_0x9c57f8(0x21b))),_0x487712['close']();};return _0x487712={'memberID':'','close$':_0xb9236b[_0x11c111(0x606)](),'error$':_0x47f68f[_0x11c111(0x606)](),'open$':_0x2e0417[_0x11c111(0x362)],'message$':_0x2ffeb4[_0x11c111(0x606)](),'send':_0x400a9f=>{const _0x5f173e=_0x11c111;if(_0x400a9f['cmd']===W['INGEST']){if(_0x400a9f['data'][_0x5f173e(0x585)]===_0x18493d[_0x5f173e(0x37f)]){this[_0x5f173e(0x237)](_0x487712,_0x400a9f[_0x5f173e(0x600)])[_0x5f173e(0x32b)](_0x2b6217=>{const _0xbd10e4=_0x5f173e;this[_0xbd10e4(0x2bf)][_0xbd10e4(0x3b9)](_0x2b6217),_0x576520();});return;}if(_0x400a9f['data']['eventID']===_0x18493d[_0x5f173e(0x215)]){const _0x4f2bfd=_0x400a9f[_0x5f173e(0x600)];this[_0x5f173e(0x413)](_0x4f2bfd)[_0x5f173e(0x4bb)](_0x5342ee=>{const _0x2f29e8=_0x5f173e;_0x2ffeb4[_0x2f29e8(0x53a)]({'cmd':W[_0x2f29e8(0x4b7)],'code':ws['OK'],'routeKey':_0x4f2bfd[_0x2f29e8(0x600)][_0x2f29e8(0x5e0)],'routeType':'','data':{'eventID':_0x18493d[_0x2f29e8(0x23a)],'data':{'changesets':_0x5342ee}}});})[_0x5f173e(0x32b)](_0x12212d=>{const _0x13bb85=_0x5f173e;this['_logService'][_0x13bb85(0x3b9)](_0x12212d),_0x576520();});return;}}_0x2e0417[_0x5f173e(0x523)](kn(_0x400a9f));},'close':()=>{const _0x579dde=_0x11c111;_0x2e0417[_0x579dde(0x4ae)](),_0x2432d3['dispose']();}},_0x487712;}async[_0x112848(0x237)](_0x492973,_0x4cf3fb){const _0x279e88=_0x112848;var _0x144dc1,_0x463c79;const {unitType:_0x1d4b77,unitID:_0x12c775,changeset:_0x303e36}=_0x4cf3fb[_0x279e88(0x600)],_0x4bc543={'unitID':_0x12c775,'memberID':_0x492973[_0x279e88(0x54b)],'type':_0x1d4b77,'changeset':_0x4be9dd(_0x303e36)},_0x1e8204=this[_0x279e88(0x3bf)][_0x279e88(0x496)](xn),_0x3b2df3=this['_configService']['getConfig'](Q),_0x17f451=Gn((_0x463c79=(_0x144dc1=_0x3b2df3==null?void 0x0:_0x3b2df3[_0x279e88(0x384)])!=null?_0x144dc1:_0x1e8204)!=null?_0x463c79:Ln,_0x1d4b77,_0x12c775);try{await this[_0x279e88(0x5c1)][_0x279e88(0x368)](_0x17f451,{'body':_0x4bc543});}catch(_0x2cebca){throw this['_logService']['error'](_0x279e88(0x470),_0x279e88(0x60a)),_0x2cebca;}}async[_0x112848(0x413)](_0xe5fa){const _0x214452=_0x112848,{unitID:_0x540418,from:_0x39210d,to:_0x414153,unitType:_0x4664b4}=_0xe5fa[_0x214452(0x600)];return(await this[_0x214452(0x597)][_0x214452(0x28d)]({'metadata':void 0x0},{'unitID':_0x540418,'type':_0x4664b4,'from':_0x39210d,'to':_0x414153}))[_0x214452(0x247)];}};as=Vn([qe(0x0,_0xa52f76(_0xf832d4)),qe(0x1,_0xa52f76(_0x380994)),qe(0x2,_0x11a6c7),qe(0x3,_0x5268cc),qe(0x4,_0x43ae5e)],as);const Yn=_0x112848(0x431);function Kn(_0x354f1f){const _0xa2b68e=_0x112848;return JSON[_0xa2b68e(0x2f0)](_0x354f1f)[_0xa2b68e(0x2c7)];}class Gi{constructor(){const _0x8edd13=_0x112848;g(this,_0x8edd13(0x437),new _0x37f3d3()),g(this,_0x8edd13(0x2f3),this[_0x8edd13(0x437)][_0x8edd13(0x606)]());}[_0x112848(0x561)](_0xe08edd){const _0xa084b2=_0x112848;this['_commentUpdate$'][_0xa084b2(0x53a)](_0xe08edd);}}var qn=Object[_0x112848(0x47b)],zn=Object[_0x112848(0x331)],Xn=(_0x475896,_0x227127,_0x12a9fb,_0x2c4c7e)=>{for(var _0xb13e6c=_0x2c4c7e>0x1?void 0x0:_0x2c4c7e?zn(_0x227127,_0x12a9fb):_0x227127,_0x14d3d0=_0x475896['length']-0x1,_0x49018f;_0x14d3d0>=0x0;_0x14d3d0--)(_0x49018f=_0x475896[_0x14d3d0])&&(_0xb13e6c=(_0x2c4c7e?_0x49018f(_0x227127,_0x12a9fb,_0xb13e6c):_0x49018f(_0xb13e6c))||_0xb13e6c);return _0x2c4c7e&&_0xb13e6c&&qn(_0x227127,_0x12a9fb,_0xb13e6c),_0xb13e6c;},Ks=(_0x3d9381,_0x3686a0)=>(_0x2c552b,_0x4718e1)=>_0x3686a0(_0x2c552b,_0x4718e1,_0x3d9381);let Ae=class extends _0x5c0223{constructor(_0x21352c,_0x478ebb){const _0x46e20c=_0x112848;super(),g(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x21352c,this[_0x46e20c(0x23d)]=_0x478ebb,this[_0x46e20c(0x29e)](_0x1eb786(_0x566afd(this[_0x46e20c(0x3ad)][_0x46e20c(0x524)](_0x3f1ceb[_0x46e20c(0x3f0)])[_0x46e20c(0x529)](_0x338263(_0xfbd414=>_0xfbd414[_0x46e20c(0x579)]())),this[_0x46e20c(0x3ad)][_0x46e20c(0x524)](_0x3f1ceb[_0x46e20c(0x538)])[_0x46e20c(0x529)](_0x338263(_0x4a626b=>_0x4a626b[_0x46e20c(0x579)]())),this['_univerInstanceService'][_0x46e20c(0x524)](_0x3f1ceb[_0x46e20c(0x3ae)])['pipe'](_0x338263(_0x2689b3=>_0x2689b3['getUnitId']())))[_0x46e20c(0x4f8)](_0x1b0df1=>this['_removeRoom'](_0x1b0df1)))));}[_0x112848(0x3e6)](_0x3ef039){const _0x395f32=_0x112848;this['_userManagerService'][_0x395f32(0x3e6)](_0x3ef039);}['getCurrentUser'](){const _0xd8816e=_0x112848;return this[_0xd8816e(0x23d)][_0xd8816e(0x35f)]();}[_0x112848(0x357)](_0x1652b4,_0x94ebfe){const _0x10ace3=_0x112848;let _0x584467=this[_0x10ace3(0x2c5)][_0x10ace3(0x4cd)](_0x1652b4);_0x584467||(_0x584467=new Jn(),this[_0x10ace3(0x2c5)][_0x10ace3(0x2ab)](_0x1652b4,_0x584467)),_0x584467[_0x10ace3(0x357)](_0x94ebfe);}[_0x112848(0x56f)](_0x3e3aeb,_0x37dba0){const _0x15ade8=_0x112848,_0x5b0a29=this[_0x15ade8(0x2c5)][_0x15ade8(0x4cd)](_0x3e3aeb);_0x5b0a29&&_0x5b0a29['removeMember'](_0x37dba0);}[_0x112848(0x212)](_0x472969){const _0x1f9a29=_0x112848;return this[_0x1f9a29(0x2c5)][_0x1f9a29(0x4cd)](_0x472969);}[_0x112848(0x4fb)](_0x3fc284,_0x40e130){const _0x35928c=_0x112848,_0x39f652=this['_roomMembers'][_0x35928c(0x4cd)](_0x3fc284);if(_0x39f652)return _0x39f652[_0x35928c(0x4fb)](_0x40e130);}[_0x112848(0x2b1)](_0x529671){const _0x3a1cfd=_0x112848,_0x179d3e=this[_0x3a1cfd(0x2c5)]['get'](_0x529671);_0x179d3e&&(_0x179d3e[_0x3a1cfd(0x298)](),this['_roomMembers']['delete'](_0x529671));}[_0x112848(0x298)](){const _0x22c854=_0x112848;this[_0x22c854(0x2c5)]['forEach'](_0x16ca53=>_0x16ca53['dispose']()),this[_0x22c854(0x2c5)][_0x22c854(0x5a9)]();}};Ae=Xn([Ks(0x0,_0x1efafe),Ks(0x1,_0xa52f76(_0x518073))],Ae);class Jn extends _0x5c0223{constructor(){const _0xf9198a=_0x112848;super(...arguments),g(this,_0xf9198a(0x40e),new Map());}[_0x112848(0x298)](){const _0x26fb7a=_0x112848;this['_members'][_0x26fb7a(0x5a9)]();}[_0x112848(0x357)](_0x219979){const _0x3eae6b=_0x112848;this[_0x3eae6b(0x40e)][_0x3eae6b(0x2ab)](_0x219979[_0x3eae6b(0x54b)],_0x219979);}[_0x112848(0x56f)](_0xae120a){const _0x374959=_0x112848;this[_0x374959(0x40e)][_0x374959(0x37b)](_0xae120a);}[_0x112848(0x4fb)](_0x14cbc2){const _0x557890=_0x112848;return this[_0x557890(0x40e)][_0x557890(0x4cd)](_0x14cbc2);}[_0x112848(0x26b)](){const _0xaec006=_0x112848;return Array[_0xaec006(0x38c)](this[_0xaec006(0x40e)][_0xaec006(0x27c)]());}}var Zn=Object[_0x112848(0x47b)],Qn=Object['getOwnPropertyDescriptor'],eo=(_0xded0c9,_0x47dc2e,_0x3ac60e,_0x330b38)=>{const _0x23ba94=_0x112848;for(var _0x1150ae=_0x330b38>0x1?void 0x0:_0x330b38?Qn(_0x47dc2e,_0x3ac60e):_0x47dc2e,_0x295b40=_0xded0c9[_0x23ba94(0x2c7)]-0x1,_0xa49e96;_0x295b40>=0x0;_0x295b40--)(_0xa49e96=_0xded0c9[_0x295b40])&&(_0x1150ae=(_0x330b38?_0xa49e96(_0x47dc2e,_0x3ac60e,_0x1150ae):_0xa49e96(_0x1150ae))||_0x1150ae);return _0x330b38&&_0x1150ae&&Zn(_0x47dc2e,_0x3ac60e,_0x1150ae),_0x1150ae;},Ee=(_0x5cb136,_0x5716c9)=>(_0x2ac677,_0x413195)=>_0x5716c9(_0x2ac677,_0x413195,_0x5cb136),fe=(_0x531b6f=>(_0x531b6f[_0x531b6f[_0x112848(0x52c)]=0x0]=_0x112848(0x52c),_0x531b6f[_0x531b6f['JOINING']=0x1]=_0x112848(0x3af),_0x531b6f[_0x531b6f[_0x112848(0x2c9)]=0x2]=_0x112848(0x2c9),_0x531b6f[_0x531b6f[_0x112848(0x4e2)]=0x3]=_0x112848(0x4e2),_0x531b6f))(fe||{});let cs=class extends _0x40c6c0{constructor(_0x3c8a18,_0x4e037b,_0x40fd50,_0x1b793d,_0x2f507d,_0x390bf7,_0x1d0e7b,_0x38a5a3,_0x4398c9,_0x49e5d8){const _0x1fa610=_0x112848;super(),g(this,'_sessionStatus$',new _0x1c751f(0x0)),g(this,_0x1fa610(0x29d),this[_0x1fa610(0x37a)][_0x1fa610(0x606)]()),g(this,'_event$',new _0x37f3d3()),g(this,_0x1fa610(0x4fa),this[_0x1fa610(0x2a1)][_0x1fa610(0x606)]()),g(this,_0x1fa610(0x511)),g(this,_0x1fa610(0x59d)),g(this,_0x1fa610(0x245)),g(this,_0x1fa610(0x580),!0x1),g(this,_0x1fa610(0x45e),null),(this[_0x1fa610(0x327)]=_0x3c8a18,this[_0x1fa610(0x2bf)]=_0x40fd50,this[_0x1fa610(0x604)]=_0x1b793d,this[_0x1fa610(0x611)]=_0x2f507d,this[_0x1fa610(0x3bf)]=_0x390bf7,this['_localeService']=_0x1d0e7b,this[_0x1fa610(0x4ca)]=_0x38a5a3,this[_0x1fa610(0x3ce)]=_0x4398c9,this[_0x1fa610(0x5de)]=_0x49e5d8,this[_0x1fa610(0x580)]=!!this[_0x1fa610(0x5de)],_0x4e037b[_0x1fa610(0x529)](_0xb4b5bf(this['dispose$']))[_0x1fa610(0x4f8)](_0x3f02e1=>{const _0xfcb114=_0x1fa610;var _0x3e7ee8;typeof _0x3f02e1>'u'||(this[_0xfcb114(0x511)]=_0x3f02e1,_0x3f02e1?(this['_joinRoom'](_0x3f02e1),this[_0xfcb114(0x59d)]=_0x3f02e1[_0xfcb114(0x463)][_0xfcb114(0x4f8)](_0x2dc4c9=>{const _0x397489=_0xfcb114;_0x2dc4c9[_0x397489(0x29f)]===this['_unitID']&&this[_0x397489(0x562)](_0x2dc4c9);})):(this[_0xfcb114(0x5a8)](),this[_0xfcb114(0x37a)][_0xfcb114(0x53a)](0x2),(_0x3e7ee8=this[_0xfcb114(0x59d)])==null||_0x3e7ee8[_0xfcb114(0x1f8)](),this[_0xfcb114(0x59d)]=null));}),this[_0x1fa610(0x29e)](this['_beforeCloseService'][_0x1fa610(0x34d)](()=>{const _0x560850=_0x1fa610;var _0xe117db;(_0xe117db=this['_socket'])==null||_0xe117db[_0x560850(0x523)]({'cmd':W[_0x560850(0x592)],'data':{'roomID':this[_0x560850(0x327)]}});})));}get[_0x112848(0x565)](){const _0x5a57e1=_0x112848;return this[_0x5a57e1(0x37a)][_0x5a57e1(0x2b0)]();}[_0x112848(0x22d)](){const _0x506e22=_0x112848;var _0x3c5976,_0x2d585c;return(_0x2d585c=(_0x3c5976=this['_socket'])==null?void 0x0:_0x3c5976[_0x506e22(0x54b)])!=null?_0x2d585c:null;}[_0x112848(0x298)](){const _0x1ab014=_0x112848;super[_0x1ab014(0x298)](),this[_0x1ab014(0x204)][_0x1ab014(0x53a)](),this['dispose$'][_0x1ab014(0x38e)]();}[_0x112848(0x4ae)](){const _0xee68ab=_0x112848;var _0x3f4595,_0x51cc35;this[_0xee68ab(0x5a8)](),(_0x3f4595=this[_0xee68ab(0x511)])==null||_0x3f4595[_0xee68ab(0x523)]({'cmd':W[_0xee68ab(0x592)],'data':{'roomID':this[_0xee68ab(0x327)]}}),(_0x51cc35=this[_0xee68ab(0x511)])==null||_0x51cc35[_0xee68ab(0x4ae)](),this[_0xee68ab(0x2a1)][_0xee68ab(0x38e)](),this[_0xee68ab(0x37a)]['complete'](),this['dispose']();}['_onCombEvent'](_0x5995aa){const _0x15e514=_0x112848;_0x5995aa[_0x15e514(0x242)]===W[_0x15e514(0x25c)]?this['_onJoinRoomEvent'](_0x5995aa):_0x5995aa[_0x15e514(0x242)]===W[_0x15e514(0x4b7)]&&this[_0x15e514(0x4eb)](_0x5995aa);}[_0x112848(0x4b8)](_0x15ad18){const _0xce653=_0x112848;this[_0xce653(0x37a)][_0xce653(0x53a)](0x1),_0x15ad18[_0xce653(0x523)]({'cmd':W[_0xce653(0x25c)],'routeKey':this[_0xce653(0x327)],'routeType':'','data':{'rooms':[{'roomID':this[_0xce653(0x327)]}]}});}[_0x112848(0x514)](_0x54afec){const _0x4424f0=_0x112848;var _0x2e3f40;if(_0x54afec[_0x4424f0(0x3d7)]===ws[_0x4424f0(0x21a)]){this[_0x4424f0(0x611)][_0x4424f0(0x501)]({'type':_0x52ad10['Warning'],'content':this[_0x4424f0(0x491)]['t'](_0x4424f0(0x40c))}),this[_0x4424f0(0x37a)][_0x4424f0(0x53a)](0x2);return;}this[_0x4424f0(0x37a)][_0x4424f0(0x53a)](0x3);const _0x3fa524=(_0x2e3f40=_0x54afec['data'][_0x4424f0(0x4d7)][this[_0x4424f0(0x327)]])==null?void 0x0:_0x2e3f40[_0x4424f0(0x1f1)];_0x3fa524&&_0x3fa524[_0x4424f0(0x209)](_0x5515a7=>this['_memberService'][_0x4424f0(0x357)](this[_0x4424f0(0x327)],_0x5515a7));}['_onRecvEvent'](_0x1e7a21){const _0x5f5936=_0x112848;try{const _0x14247b=_0x1e7a21[_0x5f5936(0x600)];switch(_0x14247b[_0x5f5936(0x585)]){case _0x18493d[_0x5f5936(0x2e8)]:this[_0x5f5936(0x3d4)](_0x14247b),this[_0x5f5936(0x2a1)]['next'](_0x14247b);break;case _0x18493d['USERS_LEAVE']:this['_onUserLeave'](_0x14247b),this[_0x5f5936(0x2a1)][_0x5f5936(0x53a)](_0x14247b);break;case _0x18493d[_0x5f5936(0x3a1)]:case _0x18493d[_0x5f5936(0x56b)]:this[_0x5f5936(0x3f1)](),this[_0x5f5936(0x355)](),this['_event$']['next'](_0x14247b);break;case _0x18493d[_0x5f5936(0x5fa)]:this[_0x5f5936(0x2bf)][_0x5f5936(0x3b9)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5f5936(0x2f0)](_0x14247b)),this['_event$'][_0x5f5936(0x53a)](_0x14247b);break;case _0x18493d[_0x5f5936(0x52e)]:this[_0x5f5936(0x3ce)][_0x5f5936(0x561)](_0x14247b[_0x5f5936(0x600)]),this[_0x5f5936(0x2a1)][_0x5f5936(0x53a)](_0x14247b);break;default:this[_0x5f5936(0x2a1)][_0x5f5936(0x53a)](_0x14247b);}}catch(_0x58d8f7){this[_0x5f5936(0x2bf)][_0x5f5936(0x3b9)](_0x58d8f7,_0x1e7a21);}}['_onUserJoin'](_0x436a25){const _0x501baf=_0x112848;this['_memberService'][_0x501baf(0x357)](this['_unitID'],_0x436a25[_0x501baf(0x600)]);}[_0x112848(0x516)](_0x5602ba){const _0x24efb5=_0x112848;this[_0x24efb5(0x4ca)]['removeMember'](this[_0x24efb5(0x327)],_0x5602ba[_0x24efb5(0x600)][_0x24efb5(0x54b)]);}async[_0x112848(0x523)](_0x5e02e0,_0x47c5f1){const _0x264fa4=_0x112848;if(this[_0x264fa4(0x565)]!==0x3||!this[_0x264fa4(0x511)])throw new Error(_0x264fa4(0x60d));try{_0x5e02e0['eventID']===_0x18493d[_0x264fa4(0x37f)]&&(this[_0x264fa4(0x233)](),this[_0x264fa4(0x41b)](_0x5e02e0)),this[_0x264fa4(0x511)][_0x264fa4(0x523)]({'cmd':W[_0x264fa4(0x5ce)],'routeKey':_0x47c5f1,'routeType':'','data':_0x5e02e0});}catch(_0x9d756e){this[_0x264fa4(0x2bf)][_0x264fa4(0x3b9)](_0x9d756e);}}[_0x112848(0x233)](){const _0x97f67=_0x112848;var _0x248048;this[_0x97f67(0x245)]=window[_0x97f67(0x360)](()=>{const _0x33f349=_0x97f67;this[_0x33f349(0x245)]=null,this[_0x33f349(0x611)][_0x33f349(0x501)]({'type':_0x52ad10[_0x33f349(0x202)],'content':this[_0x33f349(0x491)]['t'](_0x33f349(0x387))});},(_0x248048=this[_0x97f67(0x3bf)][_0x97f67(0x496)](Bi))!=null?_0x248048:ki);}['_clearCollaborationTimeoutTimer'](){const _0x396f09=_0x112848;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x396f09(0x245)]),this[_0x396f09(0x245)]=null);}[_0x112848(0x41b)](_0x2f8c55){const _0x7fe2c6=_0x112848;if(!this[_0x7fe2c6(0x580)])return;const {data:_0x4ccb1b}=_0x2f8c55,{unitID:_0x451741,changeset:_0x461e76}=_0x4ccb1b,{mutations:_0x298345,type:_0x37ebad}=_0x461e76;this[_0x7fe2c6(0x45e)]={'unitId':_0x451741,'type':_0x37ebad,'startTime':performance[_0x7fe2c6(0x500)](),'stopTime':0x0,'duration':0x0,'size':Kn(_0x298345)};}[_0x112848(0x3f1)](){const _0x4b9da6=_0x112848;if(this[_0x4b9da6(0x580)]){if(!this[_0x4b9da6(0x45e)]){this['_logService'][_0x4b9da6(0x3b9)](_0x4b9da6(0x470),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4b9da6(0x45e)][_0x4b9da6(0x5fb)]=performance[_0x4b9da6(0x500)](),this[_0x4b9da6(0x45e)][_0x4b9da6(0x47d)]=this['_telemetryInfo'][_0x4b9da6(0x5fb)]-this[_0x4b9da6(0x45e)][_0x4b9da6(0x33c)],this['_telemetryService'][_0x4b9da6(0x51b)](Yn,this['_telemetryInfo']),this[_0x4b9da6(0x45e)]=null;}}[_0x112848(0x5a8)](){const _0x95c943=_0x112848;this[_0x95c943(0x45e)]=null;}};cs=eo([Ee(0x2,_0x5268cc),Ee(0x3,_0x320b69),Ee(0x4,_0x1a4116),Ee(0x5,_0x11a6c7),Ee(0x6,_0xa52f76(_0x316ab9)),Ee(0x7,_0xa52f76(Ae)),Ee(0x8,_0xa52f76(Gi)),Ee(0x9,_0x2fcc7a(_0x31cd31))],cs);var to=Object['defineProperty'],so=Object['getOwnPropertyDescriptor'],io=(_0x47566c,_0x9bf756,_0x1efc2,_0x40d109)=>{for(var _0x81c59c=_0x40d109>0x1?void 0x0:_0x40d109?so(_0x9bf756,_0x1efc2):_0x9bf756,_0x5b5a81=_0x47566c['length']-0x1,_0x5b65c7;_0x5b5a81>=0x0;_0x5b5a81--)(_0x5b65c7=_0x47566c[_0x5b5a81])&&(_0x81c59c=(_0x40d109?_0x5b65c7(_0x9bf756,_0x1efc2,_0x81c59c):_0x5b65c7(_0x81c59c))||_0x81c59c);return _0x40d109&&_0x81c59c&&to(_0x9bf756,_0x1efc2,_0x81c59c),_0x81c59c;},ye=(_0x4a81e4,_0x6f4b63)=>(_0x5736dc,_0x1dcdad)=>_0x6f4b63(_0x5736dc,_0x1dcdad,_0x4a81e4);let Me=class extends _0x5c0223{constructor(_0x5376ae,_0xfca04,_0x646a80,_0x1d9fc8,_0x59d58f,_0xe2d497,_0xeaf316){const _0x40f912=_0x112848;super(),g(this,_0x40f912(0x282),new _0x1c751f(void 0x0)),g(this,'socket$',this[_0x40f912(0x282)][_0x40f912(0x606)]()),g(this,_0x40f912(0x253),null),g(this,_0x40f912(0x38d),new Map()),g(this,_0x40f912(0x3ec),new _0x1c751f(fe['IDLE'])),g(this,_0x40f912(0x603),this[_0x40f912(0x3ec)]['asObservable']()),g(this,_0x40f912(0x232),!0x1),g(this,_0x40f912(0x352)),g(this,'_retryCount',0x0),g(this,_0x40f912(0x3d6)),g(this,_0x40f912(0x296)),(this['_injector']=_0x5376ae,this[_0x40f912(0x491)]=_0xfca04,this[_0x40f912(0x611)]=_0x646a80,this[_0x40f912(0x2bf)]=_0x1d9fc8,this['_configService']=_0x59d58f,this[_0x40f912(0x5b5)]=_0xe2d497,this['_httpService']=_0xeaf316,this[_0x40f912(0x568)]());}get['_socket'](){const _0xeb65c6=_0x112848;return this[_0xeb65c6(0x282)][_0xeb65c6(0x2b0)]();}[_0x112848(0x568)](){const _0x57014d=_0x112848;this[_0x57014d(0x4ee)](),this['_listenToOnlineEvent']();}[_0x112848(0x298)](){const _0x3f84f8=_0x112848;super['dispose'](),this[_0x3f84f8(0x38d)][_0x3f84f8(0x209)](_0x5eb885=>_0x5eb885[_0x3f84f8(0x298)]()),this[_0x3f84f8(0x38d)]['clear'](),this[_0x3f84f8(0x3ec)][_0x3f84f8(0x38e)]();}async[_0x112848(0x351)](_0x6d35d3){const _0x6c7930=_0x112848;if(this[_0x6c7930(0x38d)]['has'](_0x6d35d3))return this['_sessions']['get'](_0x6d35d3);this[_0x6c7930(0x539)]();const _0x45e66c=this['_injector'][_0x6c7930(0x4d8)](cs,_0x6d35d3,this[_0x6c7930(0x282)]['asObservable']());return this[_0x6c7930(0x38d)][_0x6c7930(0x2ab)](_0x6d35d3,_0x45e66c),_0x45e66c;}[_0x112848(0x4a9)](_0x52fdad){const _0x1649db=_0x112848;var _0x2058e;const _0x103978=this[_0x1649db(0x38d)][_0x1649db(0x4cd)](_0x52fdad);_0x103978&&(this['_sessions']['delete'](_0x52fdad),_0x103978[_0x1649db(0x4ae)]()),this['_sessions'][_0x1649db(0x307)]||(_0x2058e=this['_socket'])==null||_0x2058e[_0x1649db(0x4ae)]();}[_0x112848(0x4b1)](){const _0x54f0d7=_0x112848;this[_0x54f0d7(0x5f0)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x54f0d7(0x352)]),this[_0x54f0d7(0x352)]=null),this[_0x54f0d7(0x396)]();}async[_0x112848(0x49c)](){const _0x382441=_0x112848;var _0x44d897,_0x52d0da,_0x2ee5ad;const _0x48dfd3=this['_configService'][_0x382441(0x496)](Q),_0x32aaf9=(_0x44d897=_0x48dfd3==null?void 0x0:_0x48dfd3['wsSessionTicketUrl'])!=null?_0x44d897:yn;return(_0x2ee5ad=(_0x52d0da=(await this['_httpService'][_0x382441(0x4cd)](_0x32aaf9,{'headers':{'Content-Type':'application/json'}}))[_0x382441(0x321)])==null?void 0x0:_0x52d0da['ticket'])!=null?_0x2ee5ad:'';}[_0x112848(0x54a)](_0x3920b2){const _0x3c53bb=_0x112848;var _0x4296b1,_0x32e796;const _0xbfbf2e=this[_0x3c53bb(0x3bf)][_0x3c53bb(0x496)](Rn),_0x415df1=this[_0x3c53bb(0x3bf)]['getConfig'](Q),_0x2e1708=(_0x32e796=(_0x4296b1=_0x415df1==null?void 0x0:_0x415df1['collabWebSocketUrl'])!=null?_0x4296b1:_0xbfbf2e)!=null?_0x32e796:On,_0x2802a5=new URL(_0x2e1708,window[_0x3c53bb(0x51a)]['origin']);return _0x2802a5[_0x3c53bb(0x3a0)][_0x3c53bb(0x2ab)](_0x3c53bb(0x5a7),_0x3920b2),_0x2802a5[_0x3c53bb(0x27e)]();}async[_0x112848(0x499)](){const _0x1a24c0=_0x112848,_0x62b198=await this[_0x1a24c0(0x49c)](),_0x1f0a75=this['_createSocketURL'](_0x62b198),_0x44aa3b=this[_0x1a24c0(0x5b5)][_0x1a24c0(0x34f)](_0x1f0a75);return this['_candidateSocket']=_0x44aa3b,_0x44aa3b;}async[_0x112848(0x539)](){const _0x26529d=_0x112848;var _0x1bd66e,_0x40a6f1;try{const _0x43d5b5=(_0x40a6f1=(_0x1bd66e=this[_0x26529d(0x511)])!=null?_0x1bd66e:this['_candidateSocket'])!=null?_0x40a6f1:await this[_0x26529d(0x499)]();if(_0x43d5b5){const _0x19e529=_0x43d5b5[_0x26529d(0x523)];_0x43d5b5[_0x26529d(0x523)]=_0x13ec90=>(this[_0x26529d(0x495)](),_0x19e529[_0x26529d(0x290)](_0x43d5b5,[_0x13ec90])),_0x43d5b5[_0x26529d(0x463)]['subscribe'](_0x3a9871=>this[_0x26529d(0x3e7)](_0x43d5b5,_0x3a9871)),_0x43d5b5['error$']['pipe'](_0x5237ca(0x1))[_0x26529d(0x4f8)](_0x1db075=>this[_0x26529d(0x2bf)][_0x26529d(0x3b9)](_0x26529d(0x20b),_0x1db075)),_0x43d5b5[_0x26529d(0x362)][_0x26529d(0x529)](_0x5237ca(0x1))[_0x26529d(0x4f8)](()=>{const _0x3a2dd4=_0x26529d;this[_0x3a2dd4(0x2ad)](_0x43d5b5);}),_0x43d5b5[_0x26529d(0x61a)]['pipe'](_0x5237ca(0x1))[_0x26529d(0x4f8)](_0x2ec0ac=>{const _0x741637=_0x26529d;this[_0x741637(0x2bf)][_0x741637(0x234)](_0x741637(0x1f6),_0x741637(0x3b0),_0x2ec0ac),this['_onConnectionFailed']();});}}catch(_0x3dcfc5){this[_0x26529d(0x2bf)][_0x26529d(0x3b9)](_0x3dcfc5),this[_0x26529d(0x3e8)]();}}['_onConnectionOpen'](_0x26e45d){const _0x4c1b7e=_0x112848;this[_0x4c1b7e(0x2bf)][_0x4c1b7e(0x234)](_0x4c1b7e(0x1f6),'socket\x20open.'),_0x26e45d[_0x4c1b7e(0x523)]({'cmd':W[_0x4c1b7e(0x54c)]}),this['_rescheduleHeartbeat']();}[_0x112848(0x4ee)](){const _0x2631f5=_0x112848;window[_0x2631f5(0x356)](_0x2631f5(0x462),()=>this[_0x2631f5(0x3d5)]());}[_0x112848(0x3d5)](){const _0x4c3483=_0x112848;this[_0x4c3483(0x232)]=!0x1,this[_0x4c3483(0x253)]=null,this['_status$'][_0x4c3483(0x53a)](fe['OFFLINE']),this[_0x4c3483(0x282)]['next'](null),this[_0x4c3483(0x2d3)](),this['_clearHeartbeatTimer']();}[_0x112848(0x3e8)](){const _0x3ecb8d=_0x112848;var _0x12ff44;this[_0x3ecb8d(0x3d5)](),this['_retryCount']<((_0x12ff44=this[_0x3ecb8d(0x3bf)]['getConfig'](Un))!=null?_0x12ff44:Nn)?(this[_0x3ecb8d(0x611)][_0x3ecb8d(0x501)]({'key':_0x3ecb8d(0x433),'type':_0x52ad10['Warning'],'content':this['_localeService']['t'](_0x3ecb8d(0x221))}),this[_0x3ecb8d(0x396)]()):this[_0x3ecb8d(0x611)][_0x3ecb8d(0x501)]({'key':_0x3ecb8d(0x433),'type':_0x52ad10[_0x3ecb8d(0x202)],'content':this[_0x3ecb8d(0x491)]['t'](_0x3ecb8d(0x5da))});}[_0x112848(0x3b8)](){const _0x2cd82c=_0x112848,_0x3fad3b=()=>{const _0x1f8194=_0x5808;this['_socket']||this[_0x1f8194(0x4b1)]();},_0x4b4e89=()=>{const _0x74759a=_0x5808;this['_socket']||document[_0x74759a(0x486)]===_0x74759a(0x2bb)||this['reconnect']();};window['addEventListener'](_0x2cd82c(0x365),_0x3fad3b),document['addEventListener']('visibilitychange',_0x4b4e89);}[_0x112848(0x396)](){const _0x1b93dc=_0x112848;var _0x3ac112;const _0xfdf7e3=this[_0x1b93dc(0x5f0)],_0x351ed5=this[_0x1b93dc(0x3bf)][_0x1b93dc(0x496)](Q),_0x4d5a1c=_0xfdf7e3===0x0?0x0:((_0x3ac112=_0x351ed5==null?void 0x0:_0x351ed5[_0x1b93dc(0x35e)])!=null?_0x3ac112:Pn)*0x2**_0xfdf7e3;this[_0x1b93dc(0x352)]=window[_0x1b93dc(0x360)](()=>{const _0x9ab840=_0x1b93dc;clearTimeout(this[_0x9ab840(0x352)]),this[_0x9ab840(0x352)]=null,this[_0x9ab840(0x539)]();},_0x4d5a1c),this[_0x1b93dc(0x5f0)]+=0x1;}['_onMessage'](_0x22165f,_0x4099ba){const _0x875dd=_0x112848,{cmd:_0x3f6fa8}=_0x4099ba;_0x3f6fa8===W[_0x875dd(0x54c)]&&!this['_socketReady']&&(_0x22165f[_0x875dd(0x54b)]=_0x4099ba['data'][_0x875dd(0x54b)],this[_0x875dd(0x282)][_0x875dd(0x53a)](_0x22165f),this['_status$'][_0x875dd(0x53a)](fe['ONLINE']),this[_0x875dd(0x232)]=!0x0,this[_0x875dd(0x253)]=null),_0x3f6fa8===W['HEARTBEAT']&&this[_0x875dd(0x2d3)](),this[_0x875dd(0x495)]();}[_0x112848(0x495)](){const _0x52e356=_0x112848;var _0x2db55a;this[_0x52e356(0x268)](),this['_sendHeartbeatTimer']=window[_0x52e356(0x360)](()=>this[_0x52e356(0x4e4)](),(_0x2db55a=this[_0x52e356(0x3bf)][_0x52e356(0x496)](wn))!=null?_0x2db55a:Dn);}[_0x112848(0x4e4)](){const _0x2cc383=_0x112848;this[_0x2cc383(0x511)]['send']({'cmd':W['HEARTBEAT']}),this[_0x2cc383(0x243)]();}['_waitForHeartbeatResponse'](){const _0x27d86a=_0x112848;var _0x2c4d2d;this[_0x27d86a(0x296)]=window[_0x27d86a(0x360)](()=>this[_0x27d86a(0x3e8)](),(_0x2c4d2d=this['_configService']['getConfig'](Bi))!=null?_0x2c4d2d:ki);}['_clearHeartbeatTimer'](){const _0xb27961=_0x112848;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0xb27961(0x3d6)]),this[_0xb27961(0x3d6)]=null);}['_clearTimeoutTimer'](){const _0x59f858=_0x112848;this[_0x59f858(0x296)]!=null&&(clearTimeout(this[_0x59f858(0x296)]),this['_timeoutTimer']=null);}};Me=io([ye(0x0,_0xa52f76(_0x2e5136)),ye(0x1,_0xa52f76(_0x316ab9)),ye(0x2,_0x1a4116),ye(0x3,_0x5268cc),ye(0x4,_0x11a6c7),ye(0x5,Vi),ye(0x6,_0xa52f76(_0xf832d4))],Me);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x112848(0x27e)](0x10)[_0x112848(0x225)](0x1));function ro(_0x45128b,_0x317a03=0x0){return(Y[_0x45128b[_0x317a03+0x0]]+Y[_0x45128b[_0x317a03+0x1]]+Y[_0x45128b[_0x317a03+0x2]]+Y[_0x45128b[_0x317a03+0x3]]+'-'+Y[_0x45128b[_0x317a03+0x4]]+Y[_0x45128b[_0x317a03+0x5]]+'-'+Y[_0x45128b[_0x317a03+0x6]]+Y[_0x45128b[_0x317a03+0x7]]+'-'+Y[_0x45128b[_0x317a03+0x8]]+Y[_0x45128b[_0x317a03+0x9]]+'-'+Y[_0x45128b[_0x317a03+0xa]]+Y[_0x45128b[_0x317a03+0xb]]+Y[_0x45128b[_0x317a03+0xc]]+Y[_0x45128b[_0x317a03+0xd]]+Y[_0x45128b[_0x317a03+0xe]]+Y[_0x45128b[_0x317a03+0xf]])['toLowerCase']();}let Vt;const no=new Uint8Array(0x10);function oo(){const _0x25362e=_0x112848;if(!Vt){if(typeof crypto>'u'||!crypto[_0x25362e(0x497)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Vt=crypto[_0x25362e(0x497)][_0x25362e(0x60b)](crypto);}return Vt(no);}const ao=typeof crypto<'u'&&crypto[_0x112848(0x36a)]&&crypto[_0x112848(0x36a)]['bind'](crypto),qs={'randomUUID':ao};function co(_0x4210c9,_0x45841a,_0x87383c){const _0x3ee8f0=_0x112848;if(qs[_0x3ee8f0(0x36a)]&&!_0x45841a&&!_0x4210c9)return qs[_0x3ee8f0(0x36a)]();_0x4210c9=_0x4210c9||{};const _0x21bfd5=_0x4210c9[_0x3ee8f0(0x312)]||(_0x4210c9[_0x3ee8f0(0x338)]||oo)();return _0x21bfd5[0x6]=_0x21bfd5[0x6]&0xf|0x40,_0x21bfd5[0x8]=_0x21bfd5[0x8]&0x3f|0x80,ro(_0x21bfd5);}var ho=Object['defineProperty'],lo=Object[_0x112848(0x331)],_o=(_0x28afbf,_0x5307f9,_0x5f3921,_0x48dad2)=>{const _0x489c6f=_0x112848;for(var _0x90c109=_0x48dad2>0x1?void 0x0:_0x48dad2?lo(_0x5307f9,_0x5f3921):_0x5307f9,_0xbd6636=_0x28afbf[_0x489c6f(0x2c7)]-0x1,_0x385019;_0xbd6636>=0x0;_0xbd6636--)(_0x385019=_0x28afbf[_0xbd6636])&&(_0x90c109=(_0x48dad2?_0x385019(_0x5307f9,_0x5f3921,_0x90c109):_0x385019(_0x90c109))||_0x90c109);return _0x48dad2&&_0x90c109&&ho(_0x5307f9,_0x5f3921,_0x90c109),_0x90c109;},Gt=(_0x488a32,_0xe45679)=>(_0x1f54ba,_0x28003d)=>_0xe45679(_0x1f54ba,_0x28003d,_0x488a32);let Ot=class{constructor(_0x10d825,_0x3a55c7,_0x443bbc){const _0x45f438=_0x112848;this[_0x45f438(0x382)]=_0x10d825,this['_transformService']=_0x3a55c7,this['_renderManagerService']=_0x443bbc;}[_0x112848(0x5e1)](_0x1a6afa){const _0x574a96=_0x112848;this[_0x574a96(0x25f)](_0x1a6afa),this[_0x574a96(0x276)](_0x1a6afa);}['transformRemoteChangeset'](_0x5b9eeb){const _0x3bd1e1=_0x112848,{unitID:_0x4e535d}=_0x5b9eeb,_0x2ea551=this[_0x3bd1e1(0x38a)][_0x3bd1e1(0x281)](_0x4e535d)[_0x3bd1e1(0x4d5)](_0x331906),{redoCache:_0x2c893a}=_0x2ea551['getUndoRedoMutationParamsCache']();if(_0x2c893a[_0x3bd1e1(0x2c7)]===0x0)return _0x5b9eeb;let _0x585097=_0x5a9c5d[_0x3bd1e1(0x300)](_0x5b9eeb[_0x3bd1e1(0x3c0)][0x0]);for(let _0x462809=0x0;_0x462809<_0x2c893a[_0x3bd1e1(0x2c7)];_0x462809++){const _0x5627a0={'id':_0x3bd1e1(0x3be),'params':{..._0x2c893a[_0x462809]}},_0x5581e7=this[_0x3bd1e1(0x59f)][_0x3bd1e1(0x450)](_0x585097,_0x5627a0,!0x1);if(_0xf61c00(_0x5581e7))throw _0x5581e7[_0x3bd1e1(0x3b9)];_0x585097=_0x5581e7[_0x3bd1e1(0x427)];}return{..._0x5a9c5d[_0x3bd1e1(0x300)](_0x5b9eeb),'mutations':[_0x585097]};}['_transformUndoRedoStack'](_0x3f8dd4){const _0x162cc3=_0x112848,{unitID:_0x34c8c2}=_0x3f8dd4,_0x3f01e6=this[_0x162cc3(0x38a)]['getRenderById'](_0x34c8c2)[_0x162cc3(0x4d5)](_0x331906),{undoCache:_0x519c00,redoCache:_0x2184eb}=_0x3f01e6[_0x162cc3(0x485)]();if(_0x519c00[_0x162cc3(0x2c7)]===0x0||_0x2184eb[_0x162cc3(0x2c7)]===0x0)return;const _0x382199=[],_0x3fbcde=[];let _0x139895=_0x5a9c5d[_0x162cc3(0x300)](_0x3f8dd4[_0x162cc3(0x3c0)][0x0]),_0x3c9d18=_0x5a9c5d[_0x162cc3(0x300)](_0x3f8dd4['mutations'][0x0]);for(let _0x2104de=_0x519c00[_0x162cc3(0x2c7)]-0x1;_0x2104de>=0x0;_0x2104de--){const _0x41c565={'id':_0x162cc3(0x3be),'params':{..._0x519c00[_0x2104de]}},_0x3b5c05={'id':'doc.mutation.rich-text-editing','params':{..._0x2184eb[_0x2104de]}},_0x2b8f29=this[_0x162cc3(0x59f)][_0x162cc3(0x450)](_0x139895,_0x41c565,!0x1),_0x4b9ff0=this[_0x162cc3(0x59f)][_0x162cc3(0x450)](_0x3c9d18,_0x3b5c05,!0x1);if(_0xf61c00(_0x2b8f29))throw _0x2b8f29[_0x162cc3(0x3b9)];if(_0xf61c00(_0x4b9ff0))throw _0x4b9ff0['error'];_0x382199[_0x162cc3(0x333)](_0x2b8f29[_0x162cc3(0x553)][_0x162cc3(0x256)]),_0x3fbcde[_0x162cc3(0x333)](_0x4b9ff0[_0x162cc3(0x553)]['params']),_0x139895=_0x2b8f29['m1Prime'],_0x3c9d18=_0x4b9ff0[_0x162cc3(0x427)];}_0x3f01e6['setUndoRedoMutationParamsCache']({'undoCache':_0x382199,'redoCache':_0x3fbcde});}[_0x112848(0x276)](_0x4e02e6){const _0x22cafd=_0x112848,{unitID:_0x43c794}=_0x4e02e6,_0x3ed6fd=this['_renderManagerService'][_0x22cafd(0x281)](_0x43c794)[_0x22cafd(0x4d5)](_0x331906),_0x493a73=_0x3ed6fd[_0x22cafd(0x4c6)]();if(_0x493a73==null)return;const _0x2fb367=[{'id':_0x22cafd(0x3be),'params':{'unitId':_0x4e02e6[_0x22cafd(0x5e0)],'actions':null,'textRanges':[_0x493a73]}}],_0x4a51bd=this[_0x22cafd(0x59f)][_0x22cafd(0x284)](_0x4e02e6,_0x2fb367);if(!_0x4f22a8(_0x4a51bd))throw _0x4a51bd[_0x22cafd(0x3b9)];const _0x4982d7=_0x4a51bd['m2Prime'][0x0]['params']['textRanges'];Array[_0x22cafd(0x5f9)](_0x4982d7)&&_0x4982d7[_0x22cafd(0x2c7)]&&_0x3ed6fd[_0x22cafd(0x323)](_0x4982d7[0x0]);}};Ot=_o([Gt(0x0,_0xa52f76(_0x2e5136)),Gt(0x1,_0x6c5e45),Gt(0x2,_0x457d35)],Ot);var uo=Object['defineProperty'],fo=Object[_0x112848(0x331)],vo=(_0x3ae6d7,_0xe894d8,_0x157414,_0x165b4d)=>{const _0xdbaefd=_0x112848;for(var _0x506c29=_0x165b4d>0x1?void 0x0:_0x165b4d?fo(_0xe894d8,_0x157414):_0xe894d8,_0x21e2e9=_0x3ae6d7[_0xdbaefd(0x2c7)]-0x1,_0x16d325;_0x21e2e9>=0x0;_0x21e2e9--)(_0x16d325=_0x3ae6d7[_0x21e2e9])&&(_0x506c29=(_0x165b4d?_0x16d325(_0xe894d8,_0x157414,_0x506c29):_0x16d325(_0x506c29))||_0x506c29);return _0x165b4d&&_0x506c29&&uo(_0xe894d8,_0x157414,_0x506c29),_0x506c29;},ze=(_0x165cde,_0x42d8e1)=>(_0x5c0ba9,_0x442f4e)=>_0x42d8e1(_0x5c0ba9,_0x442f4e,_0x165cde);let z=class extends _0x5c0223{constructor(_0x42e882,_0x2eb742,_0x2e7869,_0x2ab5aa,_0x23e572){const _0x4f1c79=_0x112848;super(),g(this,'_cachedData',new Map()),g(this,_0x4f1c79(0x2af),new Map()),g(this,'_disabled',!0x1),(this[_0x4f1c79(0x3bf)]=_0x42e882,this['_localStorageService']=_0x2eb742,this[_0x4f1c79(0x604)]=_0x2e7869,this['_localeService']=_0x2ab5aa,this[_0x4f1c79(0x410)]=_0x23e572,this['_setupBeforeClosingHandler']());}[_0x112848(0x39b)](){const _0x4ecea6=_0x112848;this[_0x4ecea6(0x469)]=!0x0;}[_0x112848(0x4e7)](){const _0x10e59e=_0x112848;this[_0x10e59e(0x469)]=!0x1;}[_0x112848(0x298)](){const _0x36d0b1=_0x112848;this[_0x36d0b1(0x614)]()['then'](()=>super[_0x36d0b1(0x298)]());}async['loadOfflineData'](_0x269bae){const _0x2e033a=_0x112848;return this[_0x2e033a(0x469)]?null:this[_0x2e033a(0x5d4)]['getItem'](zs(_0x269bae));}async[_0x112848(0x294)](_0xf0f253,_0x1c7140){const _0x358282=_0x112848;return!!this[_0x358282(0x5d4)][_0x358282(0x385)](_0xf0f253,_0x1c7140);}[_0x112848(0x601)](_0x429a77,_0x1e101e,_0x4cc16f,_0xdd3fed){const _0x9c1090=_0x112848,_0xfaf604=this[_0x9c1090(0x410)]['getCurrentRevOfUnit'](_0x429a77);this[_0x9c1090(0x47e)][_0x9c1090(0x2ab)](_0x429a77,{'unitID':_0x429a77,'type':_0x1e101e,'awaitingChangeset':_0x4cc16f,'mutations':_0xdd3fed,'rev':_0xfaf604}),this['_saveTaskMap'][_0x9c1090(0x543)](_0x429a77)||this['_scheduleSaving'](_0x429a77);}[_0x112848(0x3dc)](_0x4c015c){const _0x557456=_0x112848,_0x52f373=this[_0x557456(0x5dd)]();_0x52f373===0x0?this['_saveCache'](_0x4c015c):this['_saveTaskMap'][_0x557456(0x2ab)](_0x4c015c,setTimeout(()=>this[_0x557456(0x530)](_0x4c015c),_0x52f373));}['_getSaveTimeout'](){const _0x2ea1e3=_0x112848;var _0x3c92a5;return(_0x3c92a5=this['_configService'][_0x2ea1e3(0x496)](An))!=null?_0x3c92a5:Mn;}[_0x112848(0x530)](_0x2cacd0){const _0x31594a=_0x112848,_0x26cfb7=this[_0x31594a(0x2af)][_0x31594a(0x4cd)](_0x2cacd0);return _0x26cfb7!==void 0x0&&window[_0x31594a(0x587)](_0x26cfb7),this['_localStorageService'][_0x31594a(0x385)](zs(_0x2cacd0),this[_0x31594a(0x47e)][_0x31594a(0x4cd)](_0x2cacd0))[_0x31594a(0x4bb)](()=>this[_0x31594a(0x2af)][_0x31594a(0x37b)](_0x2cacd0));}async[_0x112848(0x614)](){const _0x4cffd2=_0x112848,_0x151aad=[];this[_0x4cffd2(0x2af)]['forEach']((_0x1f1f28,_0x5b61f0)=>{const _0x26c686=_0x4cffd2;window[_0x26c686(0x587)](_0x1f1f28),_0x151aad[_0x26c686(0x2aa)](this[_0x26c686(0x530)](_0x5b61f0)[_0x26c686(0x4bb)](()=>{const _0x5f2b51=_0x26c686;this[_0x5f2b51(0x2af)][_0x5f2b51(0x37b)](_0x5b61f0);}));}),await Promise[_0x4cffd2(0x411)](_0x151aad);}['_setupBeforeClosingHandler'](){const _0x1e4cbf=_0x112848;this['disposeWithMe'](this[_0x1e4cbf(0x604)][_0x1e4cbf(0x552)](()=>{const _0x475d57=_0x1e4cbf;if(this[_0x475d57(0x2af)]['size'])return this[_0x475d57(0x491)]['t']('collaboration-client.offline-data-not-saved');}));}};z=vo([ze(0x0,_0x11a6c7),ze(0x1,_0x41275d),ze(0x2,_0x320b69),ze(0x3,_0xa52f76(_0x316ab9)),ze(0x4,_0xa52f76(_0x340bb0))],z);function zs(_0x2fbb99){const _0x30092d=_0x112848;return _0x30092d(0x47c)+_0x2fbb99;}var po=Object[_0x112848(0x47b)],mo=Object[_0x112848(0x331)],go=(_0x259445,_0x2e527b,_0x55654c,_0x551674)=>{for(var _0x2b6f4b=_0x551674>0x1?void 0x0:_0x551674?mo(_0x2e527b,_0x55654c):_0x2e527b,_0x25e187=_0x259445['length']-0x1,_0x65570d;_0x25e187>=0x0;_0x25e187--)(_0x65570d=_0x259445[_0x25e187])&&(_0x2b6f4b=(_0x551674?_0x65570d(_0x2e527b,_0x55654c,_0x2b6f4b):_0x65570d(_0x2b6f4b))||_0x2b6f4b);return _0x551674&&_0x2b6f4b&&po(_0x2e527b,_0x55654c,_0x2b6f4b),_0x2b6f4b;},Yt=(_0x45decb,_0x55c803)=>(_0x28ddac,_0x420ca2)=>_0x55c803(_0x28ddac,_0x420ca2,_0x45decb);function So(_0x485f8a){const _0x440101=_0x112848,{unitID:_0x1a714c,mutations:_0x3d4d5e}=_0x485f8a;return{'unitId':_0x1a714c,'subUnitId':_0x3d4d5e[0x0][_0x440101(0x256)][_0x440101(0x4b2)]};}let yt=class{constructor(_0x595e69,_0x485d2b,_0x3a4296){const _0x1cbd78=_0x112848;this['_injector']=_0x595e69,this[_0x1cbd78(0x59f)]=_0x485d2b,this[_0x1cbd78(0x574)]=_0x3a4296;}['transformSelections'](_0x33af5c){const _0x5c6fb9=_0x112848;var _0x32e18c,_0x291054,_0x185783,_0x2f72dd;const _0x567770=this[_0x5c6fb9(0x382)][_0x5c6fb9(0x4cd)](_0x52a1cd),{unitId:_0x256944,subUnitId:_0x40d70e}=So(_0x33af5c),_0x507ce7=_0x567770[_0x5c6fb9(0x402)](_0x256944)[_0x5c6fb9(0x3e4)](),_0x2eff3c=(_0x291054=(_0x32e18c=this[_0x5c6fb9(0x574)][_0x5c6fb9(0x56c)](_0x256944))==null?void 0x0:_0x32e18c[_0x5c6fb9(0x3a3)]())==null?void 0x0:_0x291054['getSheetId']();if(_0x507ce7[_0x5c6fb9(0x2c7)]===0x0||!_0x256944||!_0x40d70e)return;const _0x7b0dd6=[{'id':_0x2f7f98['id'],'params':{'unitId':_0x256944,'subUnitId':_0x2eff3c,'selections':_0x5a9c5d[_0x5c6fb9(0x300)](_0x507ce7)}}],_0x115fed=this[_0x5c6fb9(0x59f)][_0x5c6fb9(0x284)](_0x33af5c,_0x7b0dd6);if(!_0x4f22a8(_0x115fed))throw _0x115fed[_0x5c6fb9(0x3b9)];const _0x582a52=(_0x2f72dd=(_0x185783=_0x115fed[_0x5c6fb9(0x553)][0x0])==null?void 0x0:_0x185783[_0x5c6fb9(0x256)])==null?void 0x0:_0x2f72dd[_0x5c6fb9(0x4ac)];if(Array[_0x5c6fb9(0x5f9)](_0x582a52)&&_0x582a52[_0x5c6fb9(0x2c7)]){if(_0x582a52['length']===_0x7b0dd6[0x0]['params']['selections'][_0x5c6fb9(0x2c7)]&&_0x582a52[_0x5c6fb9(0x2f4)]((_0x5a82e4,_0x185076)=>_0x430de4[_0x5c6fb9(0x613)](_0x5a82e4[_0x5c6fb9(0x3b6)],_0x7b0dd6[0x0][_0x5c6fb9(0x256)][_0x5c6fb9(0x4ac)][_0x185076][_0x5c6fb9(0x3b6)])))return;this['_injector'][_0x5c6fb9(0x4cd)](_0x18a422)[_0x5c6fb9(0x283)](_0x2f7f98['id'],{'unitId':_0x256944,'subUnitId':_0x2eff3c,'selections':_0x582a52});}}};yt=go([Yt(0x0,_0xa52f76(_0x2e5136)),Yt(0x1,_0x6c5e45),Yt(0x2,_0x1efafe)],yt);const Ht=_0x20e782('univer-pro.collaboration-client.single-active-unit-service');var Yi=(_0x4e5cc4=>(_0x4e5cc4[_0x4e5cc4[_0x112848(0x370)]=0x0]=_0x112848(0x370),_0x4e5cc4[_0x4e5cc4[_0x112848(0x36e)]=0x1]='OTHER_CLIENTS_EDITING',_0x4e5cc4))(Yi||{});const Xs=0x7530,Js='ACTIVE_UNIT_EVENT_CHANNEL';class Io extends _0x5c0223{constructor(){const _0x3ab1f5=_0x112848;super(),g(this,'_id',_0x5a9c5d[_0x3ab1f5(0x3db)]()),g(this,_0x3ab1f5(0x22e),new Set()),g(this,_0x3ab1f5(0x4ea),new Map()),g(this,_0x3ab1f5(0x44c),null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0x3ab1f5(0x52b)]();}[_0x112848(0x298)](){const _0x5ab8e2=_0x112848;super[_0x5ab8e2(0x298)](),this[_0x5ab8e2(0x3b3)][_0x5ab8e2(0x209)]((_0x3ddd7b,_0x157035)=>this[_0x5ab8e2(0x286)](_0x157035)),this['_heartbeatTimer']&&window[_0x5ab8e2(0x224)](this[_0x5ab8e2(0x44c)]);}[_0x112848(0x288)](_0x2c3773){const _0x51de6f=_0x112848;return this[_0x51de6f(0x2a5)](_0x2c3773)[_0x51de6f(0x529)](_0x1a2e52());}[_0x112848(0x392)](_0x3ef97a){const _0x1d8951=_0x112848;this[_0x1d8951(0x22e)][_0x1d8951(0x307)]===0x0&&this[_0x1d8951(0x41e)](),this[_0x1d8951(0x22e)][_0x1d8951(0x278)](_0x3ef97a),this[_0x1d8951(0x320)]({'type':0x0,'memberID':this[_0x1d8951(0x602)],'unitIDs':[_0x3ef97a],'isForwarded':!0x1});}[_0x112848(0x4d2)](_0x3a17ff){const _0x38e224=_0x112848;this[_0x38e224(0x22e)][_0x38e224(0x37b)](_0x3a17ff),this['_selfUnitIDs'][_0x38e224(0x307)]===0x0&&this[_0x38e224(0x44c)]&&window[_0x38e224(0x224)](this[_0x38e224(0x44c)]);}['_init'](){const _0x5afd6d=_0x112848;this['disposeWithMe'](_0x1eb786(_0x3a7923(window,'storage')[_0x5afd6d(0x4f8)](_0x2f6890=>{const _0x3c81e3=_0x5afd6d;if(_0x2f6890['key']!==Js||!_0x2f6890[_0x3c81e3(0x315)])return;const _0x4bdcd4=JSON[_0x3c81e3(0x2e6)](_0x2f6890[_0x3c81e3(0x315)]);this['_handleEvent'](_0x4bdcd4);}))),window['addEventListener']('unload',()=>this[_0x5afd6d(0x320)]({'type':0x1,'memberID':this[_0x5afd6d(0x602)],'unitIDs':Array[_0x5afd6d(0x38c)](this[_0x5afd6d(0x22e)])}));}[_0x112848(0x1fb)](_0x1af651){const _0x5d18db=_0x112848;switch(_0x1af651['type']){case 0x0:this['_handleJoinEvent'](_0x1af651);break;case 0x1:this[_0x5d18db(0x2f7)](_0x1af651);break;case 0x2:this[_0x5d18db(0x236)](_0x1af651);break;}}['_handleJoinEvent'](_0x31c4cb){const _0x50a077=_0x112848,{unitIDs:_0x1d6e4c,memberID:_0x17eff5,isForwarded:_0x159bac}=_0x31c4cb;_0x1d6e4c[_0x50a077(0x209)](_0x4ae2a6=>{const _0x5a7c1c=_0x50a077;if(!_0x159bac&&this[_0x5a7c1c(0x4ea)][_0x5a7c1c(0x543)](_0x4ae2a6)&&this[_0x5a7c1c(0x2a5)](_0x4ae2a6)[_0x5a7c1c(0x53a)](0x1),!this[_0x5a7c1c(0x4ea)][_0x5a7c1c(0x543)](_0x4ae2a6)||!this['_unitOnClients'][_0x5a7c1c(0x4cd)](_0x4ae2a6)['has'](_0x17eff5)){const _0x5337a8=this['_unitOnClients']['get'](_0x4ae2a6)||new Set();_0x5337a8[_0x5a7c1c(0x278)](_0x17eff5),this['_unitOnClients'][_0x5a7c1c(0x2ab)](_0x4ae2a6,_0x5337a8),this[_0x5a7c1c(0x5aa)](_0x17eff5);}}),_0x159bac||this[_0x50a077(0x320)]({'type':0x0,'memberID':this[_0x50a077(0x602)],'unitIDs':[...this[_0x50a077(0x22e)]],'isForwarded':!0x0});}[_0x112848(0x5aa)](_0x492799){const _0x2bed3d=_0x112848;this[_0x2bed3d(0x286)](_0x492799);const _0x406311=window['setTimeout'](()=>{const _0x43011a=_0x2bed3d;this[_0x43011a(0x4ea)][_0x43011a(0x209)](_0x4d74ed=>{const _0x46e75a=_0x43011a;_0x4d74ed[_0x46e75a(0x37b)](_0x492799);});},Xs*0x2);this[_0x2bed3d(0x3b3)][_0x2bed3d(0x2ab)](_0x492799,_0x406311);}[_0x112848(0x286)](_0x51eb5c){const _0x39bd97=_0x112848;if(this[_0x39bd97(0x3b3)][_0x39bd97(0x543)](_0x51eb5c)){const _0x5267cb=this['_clearOtherTimers']['get'](_0x51eb5c);_0x5267cb&&window[_0x39bd97(0x587)](_0x5267cb),this[_0x39bd97(0x3b3)][_0x39bd97(0x2ab)](_0x51eb5c,null);}}['_handleLeaveEvent'](_0x310653){const _0x3a3611=_0x112848,{memberID:_0x446d9f,unitIDs:_0x9764ff}=_0x310653;_0x9764ff[_0x3a3611(0x209)](_0x425b7a=>{const _0xf85116=_0x3a3611;var _0x1ebc59;const _0x47845b=this[_0xf85116(0x4ea)][_0xf85116(0x4cd)](_0x425b7a);_0x47845b&&(_0x47845b['delete'](_0x446d9f),(_0x1ebc59=this[_0xf85116(0x2a5)](_0x425b7a))==null||_0x1ebc59[_0xf85116(0x53a)](_0x47845b['size']===0x0?0x0:0x1));}),this[_0x3a3611(0x286)](_0x446d9f);}[_0x112848(0x236)](_0x5e47f2){const _0x2511c9=_0x112848;this['_scheduleClearOtherTimer'](_0x5e47f2[_0x2511c9(0x54b)]);}['_send'](_0x35b709){const _0x26838d=_0x112848;localStorage['setItem'](Js,JSON[_0x26838d(0x2f0)](_0x35b709));}['_scheduleHeartbeat'](){const _0xce904=_0x112848;this[_0xce904(0x44c)]=window[_0xce904(0x364)](()=>{const _0x4e3f17=_0xce904;this[_0x4e3f17(0x320)]({'type':0x2,'memberID':this[_0x4e3f17(0x602)]});},Xs);}[_0x112848(0x2a5)](_0x438d0d){const _0x246db0=_0x112848;return this[_0x246db0(0x479)]['has'](_0x438d0d)||this['_unitStatus'][_0x246db0(0x2ab)](_0x438d0d,new _0x1c751f(0x0)),this['_unitStatus'][_0x246db0(0x4cd)](_0x438d0d);}}var Co=Object[_0x112848(0x47b)],Eo=Object[_0x112848(0x331)],bo=(_0x502c53,_0x46ea07,_0x2da054,_0x56e0b8)=>{const _0x3daad3=_0x112848;for(var _0x3f6540=_0x56e0b8>0x1?void 0x0:_0x56e0b8?Eo(_0x46ea07,_0x2da054):_0x46ea07,_0x28df03=_0x502c53[_0x3daad3(0x2c7)]-0x1,_0x45edd0;_0x28df03>=0x0;_0x28df03--)(_0x45edd0=_0x502c53[_0x28df03])&&(_0x3f6540=(_0x56e0b8?_0x45edd0(_0x46ea07,_0x2da054,_0x3f6540):_0x45edd0(_0x3f6540))||_0x3f6540);return _0x56e0b8&&_0x3f6540&&Co(_0x46ea07,_0x2da054,_0x3f6540),_0x3f6540;},Kt=(_0x5a6a40,_0x3db331)=>(_0x54156c,_0xb9e3f2)=>_0x3db331(_0x54156c,_0xb9e3f2,_0x5a6a40);let wt=class{constructor(_0x52bf1e,_0x41df81,_0x434ca5){const _0x2e2741=_0x112848;this[_0x2e2741(0x382)]=_0x52bf1e,this['_transformService']=_0x41df81,this['_docStateChangeManagerService']=_0x434ca5;}[_0x112848(0x4dc)](_0x491434){const _0x224b48=_0x112848;this[_0x224b48(0x30b)](_0x491434);}['transformRemoteChangeset'](_0x3b1fc4){const _0x5c5b5f=_0x112848,{unitID:_0xd1a7e}=_0x3b1fc4,{collaboration:_0x4cc91e}=this[_0x5c5b5f(0x4aa)]['getStateCache'](_0xd1a7e);if(_0x4cc91e['length']===0x0)return _0x3b1fc4;let _0x41af8d=_0x5a9c5d[_0x5c5b5f(0x300)](_0x3b1fc4['mutations'][0x0]);for(let _0x14e9d0=0x0;_0x14e9d0<_0x4cc91e[_0x5c5b5f(0x2c7)];_0x14e9d0++){const _0x280b92={'id':_0x5c5b5f(0x3be),'params':{'unitId':_0x4cc91e[_0x14e9d0][_0x5c5b5f(0x261)],..._0x4cc91e[_0x14e9d0][_0x5c5b5f(0x2f2)]}},_0x189ca5=this[_0x5c5b5f(0x59f)][_0x5c5b5f(0x450)](_0x41af8d,_0x280b92,!0x1);if(_0xf61c00(_0x189ca5))throw _0x189ca5[_0x5c5b5f(0x3b9)];_0x41af8d=_0x189ca5[_0x5c5b5f(0x427)];}return{..._0x5a9c5d[_0x5c5b5f(0x300)](_0x3b1fc4),'mutations':[_0x41af8d]};}[_0x112848(0x30b)](_0x1f5ec7){const _0x3623d9=_0x112848,{unitID:_0x28c0af}=_0x1f5ec7,{history:_0x5d4af6,collaboration:_0xf9f5f2}=this[_0x3623d9(0x4aa)][_0x3623d9(0x5e5)](_0x28c0af);if(_0x5d4af6[_0x3623d9(0x2c7)]===0x0&&_0xf9f5f2[_0x3623d9(0x2c7)]===0x0)return;const _0x517cbd=[],_0xb82850=[];let _0x259adb=_0x5a9c5d[_0x3623d9(0x300)](_0x1f5ec7[_0x3623d9(0x3c0)][0x0]),_0x4840b6=_0x5a9c5d[_0x3623d9(0x300)](_0x1f5ec7[_0x3623d9(0x3c0)][0x0]);for(let _0x32f847=_0x5d4af6['length']-0x1;_0x32f847>=0x0;_0x32f847--){const _0x31696f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5d4af6[_0x32f847]['unitId'],..._0x5d4af6[_0x32f847][_0x3623d9(0x5b7)]}},_0x5c82d4={'id':_0x3623d9(0x3be),'params':{'unitId':_0x5d4af6[_0x32f847][_0x3623d9(0x261)],..._0x5d4af6[_0x32f847][_0x3623d9(0x2f2)]}},_0x486523=this[_0x3623d9(0x59f)]['transformMutation'](_0x259adb,_0x31696f,!0x1),_0x360682=this[_0x3623d9(0x59f)][_0x3623d9(0x450)](_0x4840b6,_0x5c82d4,!0x1);if(_0xf61c00(_0x486523))throw _0x486523[_0x3623d9(0x3b9)];if(_0xf61c00(_0x360682))throw _0x360682['error'];_0x517cbd[_0x3623d9(0x333)]({..._0x5d4af6[_0x32f847],'undoState':_0x486523[_0x3623d9(0x553)][_0x3623d9(0x256)],'redoState':_0x360682[_0x3623d9(0x553)][_0x3623d9(0x256)]}),_0x259adb=_0x486523[_0x3623d9(0x427)],_0x4840b6=_0x360682[_0x3623d9(0x427)];}_0x259adb=_0x5a9c5d[_0x3623d9(0x300)](_0x1f5ec7[_0x3623d9(0x3c0)][0x0]),_0x4840b6=_0x5a9c5d['deepClone'](_0x1f5ec7['mutations'][0x0]);for(let _0xbb571=_0xf9f5f2[_0x3623d9(0x2c7)]-0x1;_0xbb571>=0x0;_0xbb571--){const _0xb98068={'id':_0x3623d9(0x3be),'params':{'unitId':_0xf9f5f2[_0xbb571][_0x3623d9(0x261)],..._0xf9f5f2[_0xbb571][_0x3623d9(0x5b7)]}},_0x152eb5={'id':_0x3623d9(0x3be),'params':{'unitId':_0xf9f5f2[_0xbb571][_0x3623d9(0x261)],..._0xf9f5f2[_0xbb571][_0x3623d9(0x2f2)]}},_0x3c4c31=this[_0x3623d9(0x59f)][_0x3623d9(0x450)](_0x259adb,_0xb98068,!0x1),_0x367c6c=this['_transformService']['transformMutation'](_0x4840b6,_0x152eb5,!0x1);if(_0xf61c00(_0x3c4c31))throw _0x3c4c31[_0x3623d9(0x3b9)];if(_0xf61c00(_0x367c6c))throw _0x367c6c[_0x3623d9(0x3b9)];_0xb82850[_0x3623d9(0x333)]({..._0xf9f5f2[_0xbb571],'undoState':_0x3c4c31[_0x3623d9(0x553)][_0x3623d9(0x256)],'redoState':_0x367c6c[_0x3623d9(0x553)][_0x3623d9(0x256)]}),_0x259adb=_0x3c4c31[_0x3623d9(0x427)],_0x4840b6=_0x367c6c[_0x3623d9(0x427)];}this[_0x3623d9(0x4aa)][_0x3623d9(0x313)](_0x28c0af,{'history':_0x517cbd,'collaboration':_0xb82850});}};wt=bo([Kt(0x0,_0xa52f76(_0x2e5136)),Kt(0x1,_0x6c5e45),Kt(0x2,_0xa52f76(_0x40c526))],wt);function Ki(_0x316541){const _0x5071b4=_0x112848;let _0x204539='';for(const _0x4976ea of _0x316541){const {startOffset:_0x5c354a,endOffset:_0x131b5a,isActive:_0x1af8ab,rangeType:_0x9f53dc,segmentId:_0x484e35,segmentPage:_0x54db67}=_0x4976ea;_0x204539[_0x5071b4(0x2c7)]&&(_0x204539+=','),_0x204539+=_0x5c354a+':'+_0x131b5a+':'+(_0x1af8ab?'1':'0')+':'+_0x9f53dc+':'+_0x484e35+':'+_0x54db67;}return _0x204539;}function To(_0x51174d){const _0x2a6b55=_0x112848,_0x409078=_0x51174d['split'](','),_0x59e9ce=[];for(const _0x18242a of _0x409078){const [_0x4e62a1,_0x6c41e3,_0x31946a,_0x3c3dd3,_0x511313,_0x3176f4]=_0x18242a[_0x2a6b55(0x513)](':');_0x59e9ce[_0x2a6b55(0x2aa)]({'startOffset':Number(_0x4e62a1),'endOffset':Number(_0x6c41e3),'collapsed':_0x4e62a1===_0x6c41e3,'isActive':_0x31946a==='1','rangeType':_0x3c3dd3===_0x1c1637[_0x2a6b55(0x59e)]?_0x1c1637['TEXT']:_0x1c1637[_0x2a6b55(0x34a)],'segmentId':typeof _0x511313==_0x2a6b55(0x458)?String(_0x511313):'','segmentPage':Number(_0x3176f4!=null?_0x3176f4:-0x1)});}return _0x59e9ce[_0x2a6b55(0x5f5)](_0x517ba3=>_0x517ba3['isActive'])||(_0x59e9ce[0x0][_0x2a6b55(0x317)]=!0x0),_0x59e9ce;}class Ds extends _0x40c6c0{constructor(){const _0x3c6984=_0x112848;super(...arguments),g(this,'_collabCursorState$',new _0x1c751f(null)),g(this,_0x3c6984(0x60f),this[_0x3c6984(0x44e)][_0x3c6984(0x606)]());}[_0x112848(0x24b)](_0x520ee5){const _0x1d9e68=_0x112848,{unitID:_0x24a819,memberID:_0x1399a9,textRanges:_0x16648d}=_0x520ee5,_0x1cc581=Ki(_0x16648d);if(_0x1cc581==='')return;const _0x3bc007={'unitID':_0x24a819,'memberID':_0x1399a9,'selection':_0x1cc581};this[_0x1d9e68(0x44e)][_0x1d9e68(0x53a)](_0x3bc007);}}var Ro=Object['defineProperty'],Oo=Object['getOwnPropertyDescriptor'],yo=(_0x1eb2ad,_0x5f560a,_0x53811f,_0x103990)=>{const _0x22e6d0=_0x112848;for(var _0x217792=_0x103990>0x1?void 0x0:_0x103990?Oo(_0x5f560a,_0x53811f):_0x5f560a,_0x1e37d4=_0x1eb2ad[_0x22e6d0(0x2c7)]-0x1,_0xc604b3;_0x1e37d4>=0x0;_0x1e37d4--)(_0xc604b3=_0x1eb2ad[_0x1e37d4])&&(_0x217792=(_0x103990?_0xc604b3(_0x5f560a,_0x53811f,_0x217792):_0xc604b3(_0x217792))||_0x217792);return _0x103990&&_0x217792&&Ro(_0x5f560a,_0x53811f,_0x217792),_0x217792;},Zs=(_0x9261c7,_0x10d9b0)=>(_0x55279,_0x5dc544)=>_0x10d9b0(_0x55279,_0x5dc544,_0x9261c7);let Dt=class{constructor(_0x35df12,_0x34ea72){const _0x11df48=_0x112848;this[_0x11df48(0x382)]=_0x35df12,this['_transformService']=_0x34ea72;}[_0x112848(0x51d)](_0x13ff98){const _0x5f30dc=_0x112848;var _0x385b85;const _0x4278c1=this[_0x5f30dc(0x382)][_0x5f30dc(0x4cd)](_0x20b394),_0x3aaf7b=(_0x385b85=_0x4278c1[_0x5f30dc(0x415)]())!=null?_0x385b85:[];if(_0x3aaf7b[_0x5f30dc(0x2c7)]===0x0)return;const _0xd44e68=_0x13ff98[_0x5f30dc(0x5e0)],_0x5f1a01=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd44e68,'actions':null,'textRanges':_0x3aaf7b}}],_0xf9cbba=this['_transformService'][_0x5f30dc(0x284)](_0x13ff98,_0x5f1a01);if(!_0x4f22a8(_0xf9cbba))throw _0xf9cbba[_0x5f30dc(0x3b9)];const _0x62131e=_0xf9cbba[_0x5f30dc(0x553)][0x0][_0x5f30dc(0x256)][_0x5f30dc(0x259)];Array[_0x5f30dc(0x5f9)](_0x62131e)&&_0x62131e[_0x5f30dc(0x2c7)]&&_0x4278c1['replaceDocRanges'](_0x62131e,{'unitId':_0xd44e68,'subUnitId':_0xd44e68},!0x1);}};Dt=yo([Zs(0x0,_0xa52f76(_0x2e5136)),Zs(0x1,_0x6c5e45)],Dt);const wo=new Set([_0x227484['id']]);function Qs(_0x2a8567,_0x546a07,_0x3f7c4a,_0x54d6e1,_0x1e20f6){const _0x1218e1=_0x112848;var _0x2998fc,_0x212135,_0x38808a,_0x4dd6b1;const _0x21f44a=[];for(const _0x28db9f of _0x2a8567)if(wo[_0x1218e1(0x543)](_0x28db9f['id'])){if(_0x21f44a[_0x1218e1(0x2c7)]>0x0)break;_0x21f44a[_0x1218e1(0x2aa)](_0x28db9f);break;}else _0x21f44a['push'](_0x28db9f);const _0x385255=(_0x212135=(_0x2998fc=_0x1e20f6[_0x1218e1(0x35f)]())==null?void 0x0:_0x2998fc[_0x1218e1(0x455)])!=null?_0x212135:_0x1218e1(0x394),_0xf51b1e=(_0x4dd6b1=(_0x38808a=_0x1e20f6['getCurrentUser']())==null?void 0x0:_0x38808a[_0x1218e1(0x54b)])!=null?_0x4dd6b1:'unknown';return{'changeset':{'unitID':_0x546a07,'type':_0x1fbe40(_0x3f7c4a['getUnitType'](_0x546a07)),'baseRev':_0x54d6e1[_0x1218e1(0x404)](_0x546a07),'revision':0x0,'userID':_0x385255,'memberID':_0xf51b1e,'mutations':_0x21f44a},'pendingMutations':_0x2a8567[_0x1218e1(0x225)](_0x21f44a['length'])};}function Do(_0x3cf429,_0x1eebe6,_0x2ee5cf,_0x4989e4,_0x2dd217){const _0x2ea52d=_0x112848;var _0x535629,_0x21ec99,_0x4d8812,_0xe08332;const _0x2c89dc=[_0x3cf429[_0x2ea52d(0x456)]((_0xd25924,_0x4f7772)=>{const _0x40ae15=_0x2ea52d;var _0x175448;const {id:_0x2705c6}=_0xd25924,{id:_0x4a7aa2,type:_0x5d8c27}=_0x4f7772,_0x57100e=(_0x175448=_0xd25924[_0x40ae15(0x256)])!=null?_0x175448:{'actions':null},_0xb88ad8=_0x4f7772[_0x40ae15(0x256)];if(_0x2705c6&&_0x2705c6!==_0x4a7aa2)throw new Error(_0x40ae15(0x483)+_0x2705c6+_0x40ae15(0x3b4)+_0x4a7aa2+'.');return{..._0xd25924,'id':_0x4a7aa2,'type':_0x5d8c27,'params':{'unitId':_0xb88ad8['unitId'],'textRanges':_0xb88ad8['textRanges'],'actions':_0x14548d[_0x40ae15(0x2d7)](_0x57100e[_0x40ae15(0x35b)],_0xb88ad8[_0x40ae15(0x35b)])}};},{})],_0x30ffdc=(_0x21ec99=(_0x535629=_0x2dd217[_0x2ea52d(0x35f)]())==null?void 0x0:_0x535629[_0x2ea52d(0x455)])!=null?_0x21ec99:'unknown',_0x1cec09=(_0xe08332=(_0x4d8812=_0x2dd217[_0x2ea52d(0x35f)]())==null?void 0x0:_0x4d8812[_0x2ea52d(0x54b)])!=null?_0xe08332:_0x2ea52d(0x394);return{'changeset':{'unitID':_0x1eebe6,'type':_0x1fbe40(_0x2ee5cf['getUnitType'](_0x1eebe6)),'baseRev':_0x4989e4[_0x2ea52d(0x404)](_0x1eebe6),'revision':0x0,'userID':_0x30ffdc,'memberID':_0x1cec09,'mutations':_0x2c89dc},'pendingMutations':[]};}function qi(_0xdf739d,_0x2ab7e0){const _0x3fc6cf=_0x112848,_0x1fe485=new _0x12eb08(0x1);return setTimeout(()=>_0x1fe485['next'](_0x2ab7e0),_0xdf739d),_0x1fe485[_0x3fc6cf(0x606)]()['pipe'](_0x54b287(0x1));}const Po={'id':_0x595980['id'],'type':_0x4ffeff[_0x112848(0x49b)],'params':{}};var Uo=Object[_0x112848(0x47b)],No=Object[_0x112848(0x331)],Le=(_0xc5e361,_0x8e02a4,_0x3b3059,_0x31261f)=>{const _0x55c135=_0x112848;for(var _0x537a12=_0x31261f>0x1?void 0x0:_0x31261f?No(_0x8e02a4,_0x3b3059):_0x8e02a4,_0x4b057e=_0xc5e361[_0x55c135(0x2c7)]-0x1,_0xebfb8d;_0x4b057e>=0x0;_0x4b057e--)(_0xebfb8d=_0xc5e361[_0x4b057e])&&(_0x537a12=(_0x31261f?_0xebfb8d(_0x8e02a4,_0x3b3059,_0x537a12):_0xebfb8d(_0x537a12))||_0x537a12);return _0x31261f&&_0x537a12&&Uo(_0x8e02a4,_0x3b3059,_0x537a12),_0x537a12;},A=(_0x2bcf3e,_0x599a82)=>(_0x2ceb3a,_0x44b67a)=>_0x599a82(_0x2ceb3a,_0x44b67a,_0x2bcf3e),J=(_0x544b40=>(_0x544b40['NOT_COLLAB']=_0x112848(0x50e),_0x544b40[_0x112848(0x426)]='synced',_0x544b40[_0x112848(0x2ce)]=_0x112848(0x22c),_0x544b40[_0x112848(0x336)]=_0x112848(0x4c1),_0x544b40['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x544b40['FETCH_MISS']=_0x112848(0x449),_0x544b40[_0x112848(0x57d)]=_0x112848(0x2c0),_0x544b40['OFFLINE']=_0x112848(0x462),_0x544b40))(J||{});const zi=0xea60;class $e{constructor(_0x1575cd,_0x58a26c,_0x2f233f,_0x4ce360,_0x2592ad,_0x67048c,_0x324cec,_0x2228b7,_0x3757e6){const _0x2a78c1=_0x112848;g(this,_0x2a78c1(0x445),null),g(this,'_pendingMutations',[]),(this['unitID']=_0x1575cd,this[_0x2a78c1(0x5b1)]=_0x58a26c,this[_0x2a78c1(0x32e)]=_0x2592ad,this[_0x2a78c1(0x4f1)]=_0x67048c,this[_0x2a78c1(0x598)]=_0x324cec,this[_0x2a78c1(0x410)]=_0x2228b7,this[_0x2a78c1(0x3fa)]=_0x3757e6,this[_0x2a78c1(0x445)]=_0x2f233f,this[_0x2a78c1(0x46d)]=_0x4ce360);}[_0x112848(0x359)](_0x281742){const _0x110571=_0x112848,_0x5d44f9=this[_0x110571(0x410)][_0x110571(0x404)](this[_0x110571(0x5e0)]);return _0x281742[_0x110571(0x5e4)]>_0x5d44f9+0x1?(this[_0x110571(0x32e)]['onMissingChangesets']({'from':_0x5d44f9,'to':_0x281742['revision']-0x1}),!0x0):!0x1;}[_0x112848(0x416)](_0x1dacf3){const _0x13bcbc=_0x112848;this[_0x13bcbc(0x598)]['transformUndoRedo'](this[_0x13bcbc(0x5e0)],_0x1dacf3);}[_0x112848(0x383)](_0x435453){const _0xf1d441=_0x112848;var _0x1b6bda,_0x18cae7;(_0x18cae7=(_0x1b6bda=this[_0xf1d441(0x32e)])[_0xf1d441(0x258)])==null||_0x18cae7[_0xf1d441(0x32c)](_0x1b6bda,_0x435453);}[_0x112848(0x528)](_0x452913){const _0x14022f=_0x112848;var _0x433550,_0x1e0ba8;return(_0x1e0ba8=(_0x433550=this[_0x14022f(0x32e)])['onTransformIME'])==null?void 0x0:_0x1e0ba8[_0x14022f(0x32c)](_0x433550,_0x452913);}[_0x112848(0x41c)](_0x4bf11c){const _0x217a49=_0x112848;var _0x4fca92,_0x5879ce;return(_0x5879ce=(_0x4fca92=this[_0x217a49(0x32e)])['onTransformState'])==null?void 0x0:_0x5879ce['call'](_0x4fca92,_0x4bf11c);}[_0x112848(0x573)](_0x385221){const _0x4b878a=_0x112848;var _0xe64ee3,_0xc600c3,_0x2ab3cc;return(_0x2ab3cc=(_0xc600c3=(_0xe64ee3=this[_0x4b878a(0x32e)])[_0x4b878a(0x435)])==null?void 0x0:_0xc600c3[_0x4b878a(0x32c)](_0xe64ee3,_0x385221))!=null?_0x2ab3cc:_0x385221;}[_0x112848(0x4f2)](_0x345cde){const _0x3870ab=_0x112848;var _0x420f7c,_0x12630c,_0x393a50;return(_0x393a50=(_0x12630c=(_0x420f7c=this[_0x3870ab(0x32e)])[_0x3870ab(0x5c7)])==null?void 0x0:_0x12630c[_0x3870ab(0x32c)](_0x420f7c,_0x345cde))!=null?_0x393a50:_0x345cde;}['_syncEditingCollabCursor'](_0x493abc){const _0x48ba83=_0x112848;var _0x4e9759,_0x2a27b0;if(this['type']===ae[_0x48ba83(0x538)]){const {unitID:_0x3830ba,mutations:_0x1cfeb4,memberID:_0x2156da}=_0x493abc,_0x5b6195=_0x1cfeb4[0x0][_0x48ba83(0x256)][_0x48ba83(0x259)];Array[_0x48ba83(0x5f9)](_0x5b6195)&&_0x5b6195[_0x48ba83(0x2c7)]>0x0&&((_0x2a27b0=(_0x4e9759=this[_0x48ba83(0x32e)])[_0x48ba83(0x4de)])==null||_0x2a27b0[_0x48ba83(0x32c)](_0x4e9759,{'unitID':_0x3830ba,'memberID':_0x2156da,'textRanges':_0x5b6195}));}}[_0x112848(0x5d1)](){const _0x9170f8=_0x112848;this['_localCacheService'][_0x9170f8(0x601)](this[_0x9170f8(0x5e0)],this['type'],this[_0x9170f8(0x445)],this[_0x9170f8(0x46d)]);}[_0x112848(0x5c3)](){const _0xbe9918=_0x112848;return this[_0xbe9918(0x410)][_0xbe9918(0x404)](this[_0xbe9918(0x5e0)]);}[_0x112848(0x271)](){const _0x5e1aae=_0x112848;this['_revisionService'][_0x5e1aae(0x2fd)](this[_0x5e1aae(0x5e0)]);}[_0x112848(0x4e6)](_0x5b5c9f){const _0x6401ac=_0x112848;var _0x8a3f66;let _0x4a7a78=this['_transformRemoteChangesetByIMECache'](_0x5b5c9f);_0x4a7a78=this[_0x6401ac(0x4f2)](_0x4a7a78);const _0x302a93=_0x5b8778(_0x4a7a78['mutations'],this[_0x6401ac(0x4f1)],{'fromCollab':!0x0});if(!_0x302a93[_0x6401ac(0x567)])throw _0x302a93[_0x6401ac(0x3b9)]instanceof Error?_0x302a93[_0x6401ac(0x3b9)]:new Error((_0x8a3f66=_0x302a93[_0x6401ac(0x3b9)])!=null?_0x8a3f66:_0x6401ac(0x5cc));this[_0x6401ac(0x528)](_0x4a7a78),this[_0x6401ac(0x41c)](_0x4a7a78),this[_0x6401ac(0x416)](_0x5b5c9f),this['_transformSelections'](_0x4a7a78),this[_0x6401ac(0x2f8)](_0x4a7a78),this[_0x6401ac(0x271)]();}}let We=class extends $e{constructor(_0x19028c,_0x2bbfb9,_0x502b11,_0x2325b0,_0x5c4389,_0x741332,_0x19a0d0,_0x24a84e,_0x5c80d7,_0x616aa7){const _0x955151=_0x112848;super(_0x19028c,_0x2bbfb9,null,[],_0x502b11,_0x24a84e,_0x19a0d0,_0x2325b0,_0x5c4389),g(this,_0x955151(0x5ea),_0x955151(0x29c)),(this['_injector']=_0x741332,this['_logService']=_0x5c80d7,this[_0x955151(0x59f)]=_0x616aa7);}['appendMutation'](_0x73681d){const _0x56823=_0x112848,_0x47e594=this[_0x56823(0x382)][_0x56823(0x4d8)](pe,this['unitID'],this[_0x56823(0x5b1)],[_0x73681d],this[_0x56823(0x32e)]);return _0x47e594['_schedule'](),_0x47e594[_0x56823(0x5d1)](),_0x47e594;}[_0x112848(0x208)](_0x4af0e1){const _0x160dd0=_0x112848;if(this[_0x160dd0(0x359)](_0x4af0e1))return this[_0x160dd0(0x382)][_0x160dd0(0x4d8)](ce,this[_0x160dd0(0x5e0)],this[_0x160dd0(0x5b1)],null,[],null,[_0x4af0e1],this[_0x160dd0(0x32e)]);try{const _0x4d3577=this[_0x160dd0(0x59f)][_0x160dd0(0x284)](_0x4af0e1,[Po]);if(_0x4f22a8(_0x4d3577)){const {c1Prime:_0x5d9c1f}=_0x4d3577;return this['_executeRemoteChangeset'](_0x5d9c1f),this;}throw _0x4d3577[_0x160dd0(0x3b9)];}catch(_0x15a054){return this['_logService'][_0x160dd0(0x3b9)](_0x15a054),this['_onConflict'](!0x1);}}['_onConflict'](_0x41a57a){const _0x304c4e=_0x112848;return this['_injector'][_0x304c4e(0x4d8)](Re,this[_0x304c4e(0x5e0)],this['type'],null,[],this[_0x304c4e(0x32e)],_0x41a57a);}[_0x112848(0x3d9)](){const _0x1d5c1f=_0x112848;throw new Error(_0x1d5c1f(0x4bd));}[_0x112848(0x265)](){const _0x2ef7df=_0x112848;throw new Error(_0x2ef7df(0x468));}[_0x112848(0x275)](){return this;}[_0x112848(0x4f3)](){const _0x3e5174=_0x112848;return this['_injector'][_0x3e5174(0x4d8)](Oe,this[_0x3e5174(0x5e0)],this[_0x3e5174(0x5b1)],null,[],this['_handler']);}[_0x112848(0x57f)](){return this;}[_0x112848(0x5ac)](){const _0x4e2c33=_0x112848;throw new Error(_0x4e2c33(0x373));}[_0x112848(0x25d)](){const _0xfe8b39=_0x112848,_0x580c47=this['_revisionService']['getCurrentRevOfUnit'](this[_0xfe8b39(0x5e0)]);return this[_0xfe8b39(0x32e)][_0xfe8b39(0x2f6)]({'from':_0x580c47,'to':0x0}),this['_injector'][_0xfe8b39(0x4d8)](ce,this[_0xfe8b39(0x5e0)],this[_0xfe8b39(0x5b1)],null,[],null,[],this[_0xfe8b39(0x32e)]);}};We=Le([A(0x3,_0xa52f76(_0x340bb0)),A(0x4,_0xa52f76(z)),A(0x5,_0xa52f76(_0x2e5136)),A(0x6,_0x196f01),A(0x7,_0x18a422),A(0x8,_0x5268cc),A(0x9,_0x6c5e45)],We);let pe=class extends $e{constructor(_0x2a6fdb,_0x38b6ac,_0x2dddeb,_0x29bf0a,_0x43da0f,_0x56d156,_0x44c97b,_0x1081ba,_0x664539,_0xdc7f17,_0x24baaa,_0xf46174,_0x26206e,_0x1207e4){const _0x1bb1b4=_0x112848;super(_0x2a6fdb,_0x38b6ac,null,_0x2dddeb,_0x29bf0a,_0xdc7f17,_0x1207e4,_0x56d156,_0x44c97b),g(this,_0x1bb1b4(0x5ea),_0x1bb1b4(0x22c)),g(this,'_scheduleTimestamp',null),g(this,_0x1bb1b4(0x473),null),(this['_injector']=_0x43da0f,this[_0x1bb1b4(0x4ca)]=_0x1081ba,this[_0x1bb1b4(0x2bf)]=_0x664539,this[_0x1bb1b4(0x3bf)]=_0x24baaa,this['_transformService']=_0xf46174,this[_0x1bb1b4(0x3ad)]=_0x26206e);}[_0x112848(0x3de)](_0x4c8844){const _0x5843ea=_0x112848;return this[_0x5843ea(0x46d)][_0x5843ea(0x2aa)](_0x4c8844),this[_0x5843ea(0x5d1)](),this;}[_0x112848(0x208)](_0x3f7953){const _0x402ac5=_0x112848;if(this[_0x402ac5(0x359)](_0x3f7953))return this['_clearScheduledTask'](),this[_0x402ac5(0x382)]['createInstance'](ce,this[_0x402ac5(0x5e0)],this[_0x402ac5(0x5b1)],null,this['_pendingMutations'],null,[_0x3f7953],this[_0x402ac5(0x32e)]);try{const _0x454301=this[_0x402ac5(0x59f)][_0x402ac5(0x284)](_0x3f7953,this[_0x402ac5(0x46d)]);if(_0x4f22a8(_0x454301)){const {c1Prime:_0x1ca4e6,m2Prime:_0x47f29d}=_0x454301;this[_0x402ac5(0x4e6)](_0x1ca4e6);const _0xed382c=this['_injector'][_0x402ac5(0x4d8)](pe,this[_0x402ac5(0x5e0)],this[_0x402ac5(0x5b1)],_0x47f29d,this['_handler']);return this[_0x402ac5(0x250)](),_0xed382c['_schedule'](this['_scheduleTimestamp']?Math[_0x402ac5(0x21f)](0x0,new Date()[_0x402ac5(0x5cf)]()-this[_0x402ac5(0x35c)]):this[_0x402ac5(0x2b9)]()),_0xed382c;}throw _0x454301[_0x402ac5(0x3b9)];}catch(_0x377cb1){return this['_logService'][_0x402ac5(0x3b9)](_0x377cb1),this['_onConflict'](!0x1);}}[_0x112848(0x3d9)](){const _0x55052e=_0x112848;throw new Error(_0x55052e(0x582));}[_0x112848(0x265)](){const _0xda98d8=_0x112848;throw new Error(_0xda98d8(0x618));}[_0x112848(0x275)](){return this;}[_0x112848(0x4f3)](){const _0x1839b7=_0x112848;return this[_0x1839b7(0x250)](),this[_0x1839b7(0x382)][_0x1839b7(0x4d8)](Oe,this[_0x1839b7(0x5e0)],this[_0x1839b7(0x5b1)],null,this[_0x1839b7(0x46d)],this['_handler']);}['toggleOnline'](){return this;}[_0x112848(0x285)](_0xef2486){const _0x3a7a31=_0x112848,_0x47e6d8=_0xef2486!=null?_0xef2486:this[_0x3a7a31(0x2b9)]();this[_0x3a7a31(0x35c)]=new Date()[_0x3a7a31(0x5cf)](),this[_0x3a7a31(0x473)]=window[_0x3a7a31(0x360)](()=>{const _0x509bdd=_0x3a7a31;this[_0x509bdd(0x250)]();let _0x38b357=null;switch(this['type']){case ae[_0x509bdd(0x3f0)]:{_0x38b357=Qs(this['_pendingMutations'],this[_0x509bdd(0x5e0)],this[_0x509bdd(0x3ad)],this['_revisionService'],this['_memberService']);break;}case ae[_0x509bdd(0x538)]:{this[_0x509bdd(0x46d)][_0x509bdd(0x2f4)](_0x30f721=>_0x30f721['id']===_0x32f6eb['id'])?_0x38b357=Do(this[_0x509bdd(0x46d)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x38b357=Qs(this[_0x509bdd(0x46d)],this[_0x509bdd(0x5e0)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x509bdd(0x5b1)]+'\x20in\x20_schedule.');}const {changeset:_0x459f24,pendingMutations:_0x4b4de8}=_0x38b357;this[_0x509bdd(0x32e)][_0x509bdd(0x5c5)](_0x459f24);const _0x41525b=_0x4b4de8[_0x509bdd(0x2c7)]?this[_0x509bdd(0x382)][_0x509bdd(0x4d8)](me,this['unitID'],this[_0x509bdd(0x5b1)],_0x459f24,_0x4b4de8,this[_0x509bdd(0x32e)],void 0x0):this[_0x509bdd(0x382)][_0x509bdd(0x4d8)](Te,this[_0x509bdd(0x5e0)],this[_0x509bdd(0x5b1)],_0x459f24,this[_0x509bdd(0x32e)]);_0x41525b[_0x509bdd(0x5d1)](),this[_0x509bdd(0x32e)][_0x509bdd(0x403)](this,_0x41525b);},_0x47e6d8);}[_0x112848(0x2b9)](){const _0x4c7b57=_0x112848;var _0x26da05;const _0x5a4814=this[_0x4c7b57(0x3bf)][_0x4c7b57(0x496)](Q);return(_0x26da05=_0x5a4814==null?void 0x0:_0x5a4814[_0x4c7b57(0x306)])!=null?_0x26da05:Tn;}[_0x112848(0x5ac)](){const _0x58ac96=_0x112848;throw new Error(_0x58ac96(0x211));}['_clearScheduledTask'](){const _0x57d0f3=_0x112848;this[_0x57d0f3(0x473)]!=null&&(clearTimeout(this[_0x57d0f3(0x473)]),this[_0x57d0f3(0x473)]=null);}[_0x112848(0x559)](_0x131b73){const _0x17a0bd=_0x112848;return this[_0x17a0bd(0x250)](),this[_0x17a0bd(0x382)][_0x17a0bd(0x4d8)](Re,this[_0x17a0bd(0x5e0)],this[_0x17a0bd(0x5b1)],null,this[_0x17a0bd(0x46d)],this[_0x17a0bd(0x32e)],_0x131b73);}};pe=Le([A(0x4,_0xa52f76(_0x2e5136)),A(0x5,_0xa52f76(_0x340bb0)),A(0x6,_0xa52f76(z)),A(0x7,_0xa52f76(Ae)),A(0x8,_0x5268cc),A(0x9,_0x18a422),A(0xa,_0x11a6c7),A(0xb,_0x6c5e45),A(0xc,_0x1efafe),A(0xd,_0x196f01)],pe);let Te=class extends $e{constructor(_0xa84f4e,_0x6f6dd3,_0x357787,_0x4d2a5c,_0x18a31f,_0x28d602,_0x4eeda3,_0x542c06,_0x5799fb,_0x3eab89,_0x22e58f){const _0x459bc3=_0x112848;super(_0xa84f4e,_0x6f6dd3,_0x357787,[],_0x4d2a5c,_0x542c06,_0x22e58f,_0x28d602,_0x4eeda3),g(this,_0x459bc3(0x5ea),_0x459bc3(0x4c1)),g(this,_0x459bc3(0x466),0x0),g(this,'_resendTimer'),g(this,_0x459bc3(0x205)),(this['_injector']=_0x18a31f,this[_0x459bc3(0x2bf)]=_0x5799fb,this[_0x459bc3(0x59f)]=_0x3eab89);}[_0x112848(0x3de)](_0x229f14){const _0x110b18=_0x112848;this[_0x110b18(0x250)]();const _0x39b8be=this[_0x110b18(0x382)]['createInstance'](me,this[_0x110b18(0x5e0)],this[_0x110b18(0x5b1)],this['_awaitingChangeset'],[_0x229f14],this[_0x110b18(0x32e)],this['_resendTimer']);return _0x39b8be[_0x110b18(0x5d1)](),_0x39b8be;}[_0x112848(0x208)](_0x158d05){const _0x17995a=_0x112848;if(this[_0x17995a(0x359)](_0x158d05))return this[_0x17995a(0x250)](),this[_0x17995a(0x382)][_0x17995a(0x4d8)](ce,this[_0x17995a(0x5e0)],this[_0x17995a(0x5b1)],this[_0x17995a(0x445)],[],null,[_0x158d05],this[_0x17995a(0x32e)]);try{const _0x403fb1=this[_0x17995a(0x59f)][_0x17995a(0x31f)]([_0x158d05],[this['_awaitingChangeset']],!0x1);if(_0x288a08(_0x403fb1)){const {c1Prime:_0xee89fc,c2Prime:_0x4ee00f}=_0x403fb1;this[_0x17995a(0x4e6)](_0xee89fc[0x0]),_0x4ee00f[0x0][_0x17995a(0x43b)]=this[_0x17995a(0x5c3)](),this[_0x17995a(0x250)]();const _0x4e4f6f=this[_0x17995a(0x382)][_0x17995a(0x4d8)](Te,this[_0x17995a(0x5e0)],this['type'],_0x4ee00f[0x0],this[_0x17995a(0x32e)]);return _0x4e4f6f[_0x17995a(0x5d1)](),_0x4e4f6f;}return this['_onConflict'](!0x1);}catch(_0x49c29e){return this[_0x17995a(0x2bf)][_0x17995a(0x3b9)](_0x49c29e),this[_0x17995a(0x559)](!0x1);}}[_0x112848(0x3d9)](_0x5d8432){const _0x3147f2=_0x112848;this[_0x3147f2(0x250)]();const _0x165042=this[_0x3147f2(0x410)]['getCurrentRevOfUnit'](this['unitID']);if(_0x5d8432[_0x3147f2(0x5e4)]<_0x165042-0x1)return this;if(this[_0x3147f2(0x359)](_0x5d8432))return this[_0x3147f2(0x382)]['createInstance'](ce,this[_0x3147f2(0x5e0)],this[_0x3147f2(0x5b1)],null,[],this['_awaitingChangeset'],[],this[_0x3147f2(0x32e)]);this['_incrementRevisionNumber']();const _0x54f040=this[_0x3147f2(0x382)][_0x3147f2(0x4d8)](We,this[_0x3147f2(0x5e0)],this[_0x3147f2(0x5b1)],this[_0x3147f2(0x32e)]);return _0x54f040[_0x3147f2(0x5d1)](),_0x54f040;}['onRemoteRej'](_0xccb2e6){const _0x495ff9=_0x112848;return this[_0x495ff9(0x559)](!!(_0xccb2e6!=null&&_0xccb2e6[_0x495ff9(0x3a4)]));}[_0x112848(0x275)](_0x2b83d6){const _0x34687d=_0x112848;return this['_resendTimeout']>zi?this[_0x34687d(0x4f3)]():(this['_resendTimer']=qi(this['_resendTimeout'],{'timeout':this[_0x34687d(0x466)],'reqId':_0x2b83d6[_0x34687d(0x5f7)]}),this['_sender']=this[_0x34687d(0x3b7)][_0x34687d(0x4f8)](({reqId:_0x3cfd46,timeout:_0x3bdeac})=>{const _0x1acec5=_0x34687d;this[_0x1acec5(0x3cd)](_0x3cfd46,_0x3bdeac);}),this);}[_0x112848(0x4f3)](){const _0x4d629e=_0x112848;return this[_0x4d629e(0x250)](),this['_injector']['createInstance'](Oe,this['unitID'],this[_0x4d629e(0x5b1)],this[_0x4d629e(0x445)],[],this[_0x4d629e(0x32e)]);}[_0x112848(0x57f)](){return this;}['resend'](){const _0x242377=_0x112848;this[_0x242377(0x32e)][_0x242377(0x5c5)](this[_0x242377(0x445)]);}[_0x112848(0x559)](_0x56404b){const _0x175be1=_0x112848;return this[_0x175be1(0x250)](),this[_0x175be1(0x382)][_0x175be1(0x4d8)](Re,this['unitID'],this[_0x175be1(0x5b1)],this['_awaitingChangeset'],[],this['_handler'],_0x56404b);}['_resendWithTimeout'](_0x3039fc,_0x362a4a){const _0x3657cf=_0x112848;var _0x2fbf02;_0x3039fc===((_0x2fbf02=this['_awaitingChangeset'])==null?void 0x0:_0x2fbf02[_0x3657cf(0x5f7)])&&(this[_0x3657cf(0x5ac)](),this[_0x3657cf(0x466)]=_0x362a4a===0x0?0x3e8:_0x362a4a*0x2);}[_0x112848(0x250)](){const _0xe34cec=_0x112848;var _0x56f6cc;(_0x56f6cc=this[_0xe34cec(0x205)])==null||_0x56f6cc[_0xe34cec(0x1f8)](),this[_0xe34cec(0x466)]=0x0;}};Te=Le([A(0x4,_0xa52f76(_0x2e5136)),A(0x5,_0xa52f76(_0x340bb0)),A(0x6,_0xa52f76(z)),A(0x7,_0x18a422),A(0x8,_0x5268cc),A(0x9,_0x6c5e45),A(0xa,_0x196f01)],Te);let me=class extends $e{constructor(_0x2d9e33,_0x2b4233,_0x2cf323,_0x138d3b,_0x333cb6,_0x5b6f5b,_0x1e5cb2,_0x90c4ea,_0x18a87f,_0x4b235f,_0x4f5714,_0x141564,_0x5956c0){const _0x74c6ef=_0x112848;super(_0x2d9e33,_0x2b4233,_0x2cf323,_0x138d3b,_0x333cb6,_0x4b235f,_0x5956c0,_0x90c4ea,_0x18a87f),g(this,_0x74c6ef(0x5ea),_0x74c6ef(0x48e)),g(this,_0x74c6ef(0x466),0x0),g(this,_0x74c6ef(0x3b7)),g(this,_0x74c6ef(0x205)),(this[_0x74c6ef(0x382)]=_0x1e5cb2,this['_logService']=_0x4f5714,this['_transformService']=_0x141564,_0x5b6f5b&&(this['_resendTimer']=_0x5b6f5b,this[_0x74c6ef(0x205)]=this[_0x74c6ef(0x3b7)][_0x74c6ef(0x4f8)](({reqId:_0x41467e,timeout:_0x18082c})=>{const _0x5a61ac=_0x74c6ef;this[_0x5a61ac(0x3cd)](_0x41467e,_0x18082c);})));}['appendMutation'](_0x598148){const _0x469a79=_0x112848;return this[_0x469a79(0x46d)][_0x469a79(0x2aa)](_0x598148),this;}[_0x112848(0x208)](_0x9ffe92){const _0x252fe9=_0x112848;if(this[_0x252fe9(0x359)](_0x9ffe92))return this['_clearScheduledTask'](),this['_injector'][_0x252fe9(0x4d8)](ce,this[_0x252fe9(0x5e0)],this[_0x252fe9(0x5b1)],this['_awaitingChangeset'],this[_0x252fe9(0x46d)],null,[_0x9ffe92],this[_0x252fe9(0x32e)]);try{const _0x23e7ff=this[_0x252fe9(0x59f)][_0x252fe9(0x31f)]([_0x9ffe92],[this['_awaitingChangeset']],!0x1);if(_0x288a08(_0x23e7ff)){const {c1Prime:_0x53cac6,c2Prime:_0x39439b}=_0x23e7ff,_0x638dad=this['_transformService']['transformMutationsWithChangeset'](_0x53cac6[0x0],this['_pendingMutations']);if(_0x4f22a8(_0x638dad)){const {c1Prime:_0x2254b7,m2Prime:_0x5da248}=_0x638dad;return this[_0x252fe9(0x4e6)](_0x2254b7),_0x39439b[0x0]['baseRev']=this[_0x252fe9(0x5c3)](),this[_0x252fe9(0x250)](),this['_injector'][_0x252fe9(0x4d8)](me,this[_0x252fe9(0x5e0)],this[_0x252fe9(0x5b1)],_0x39439b[0x0],_0x5da248,this[_0x252fe9(0x32e)],void 0x0);}throw _0x638dad[_0x252fe9(0x3b9)];}throw _0x23e7ff['error'];}catch(_0xf6af32){return this[_0x252fe9(0x2bf)][_0x252fe9(0x3b9)](_0xf6af32),this[_0x252fe9(0x559)](!0x1);}}[_0x112848(0x3d9)](_0x4cd351){const _0x3dd49e=_0x112848;if(this[_0x3dd49e(0x250)](),this['_checkMissing'](_0x4cd351))return this['_injector'][_0x3dd49e(0x4d8)](ce,this[_0x3dd49e(0x5e0)],this[_0x3dd49e(0x5b1)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x3dd49e(0x32e)]);this[_0x3dd49e(0x271)]();const _0x58dd67=this[_0x3dd49e(0x382)]['createInstance'](pe,this[_0x3dd49e(0x5e0)],this[_0x3dd49e(0x5b1)],this[_0x3dd49e(0x46d)],this[_0x3dd49e(0x32e)]);return _0x58dd67[_0x3dd49e(0x285)](),_0x58dd67['_updateLocalCache'](),_0x58dd67;}[_0x112848(0x265)](_0x523186){const _0x36973a=_0x112848;return this[_0x36973a(0x559)](!!(_0x523186!=null&&_0x523186['isPermissionRej']));}[_0x112848(0x275)](_0x3d3cc5){const _0x240ed1=_0x112848;return this[_0x240ed1(0x466)]>zi?this['toggleOffline']():(this['_resendTimer']=qi(this['_resendTimeout'],{'timeout':this[_0x240ed1(0x466)],'reqId':_0x3d3cc5[_0x240ed1(0x5f7)]}),this[_0x240ed1(0x205)]=this[_0x240ed1(0x3b7)][_0x240ed1(0x4f8)](({reqId:_0x40c5d3,timeout:_0x1d4751})=>{const _0x442584=_0x240ed1;this[_0x442584(0x3cd)](_0x40c5d3,_0x1d4751);}),this);}[_0x112848(0x4f3)](){const _0x5aa161=_0x112848;return this['_clearScheduledTask'](),this[_0x5aa161(0x382)][_0x5aa161(0x4d8)](Oe,this[_0x5aa161(0x5e0)],this[_0x5aa161(0x5b1)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x5aa161(0x32e)]);}[_0x112848(0x57f)](){return this;}[_0x112848(0x5ac)](){const _0x1073f2=_0x112848;this[_0x1073f2(0x32e)][_0x1073f2(0x5c5)](this[_0x1073f2(0x445)]);}[_0x112848(0x559)](_0x52c347){const _0xc92ca7=_0x112848;return this[_0xc92ca7(0x250)](),this[_0xc92ca7(0x382)][_0xc92ca7(0x4d8)](Re,this['unitID'],this[_0xc92ca7(0x5b1)],null,this[_0xc92ca7(0x46d)],this[_0xc92ca7(0x32e)],_0x52c347);}[_0x112848(0x3cd)](_0x171196,_0x391add){const _0x126d26=_0x112848;var _0x9a7ae;_0x171196===((_0x9a7ae=this['_awaitingChangeset'])==null?void 0x0:_0x9a7ae['reqId'])&&(this['resend'](),this[_0x126d26(0x466)]=_0x391add===0x0?0x3e8:_0x391add*0x2);}[_0x112848(0x250)](){const _0x268019=_0x112848;var _0x1f20d4;(_0x1f20d4=this[_0x268019(0x205)])==null||_0x1f20d4[_0x268019(0x1f8)](),this[_0x268019(0x466)]=0x0;}};me=Le([A(0x6,_0xa52f76(_0x2e5136)),A(0x7,_0xa52f76(_0x340bb0)),A(0x8,_0xa52f76(z)),A(0x9,_0x18a422),A(0xa,_0x5268cc),A(0xb,_0x6c5e45),A(0xc,_0x196f01)],me);let Re=class extends $e{constructor(_0xfd9c27,_0x110e66,_0x3cdd38,_0x26623e,_0xf8a8d1,_0xf364bc=!0x1,_0x35ad86,_0x26b9a7,_0x202a94,_0x350c03,_0x3f3f63,_0x53ba42,_0x351424){const _0x2068ca=_0x112848;super(_0xfd9c27,_0x110e66,_0x3cdd38,_0x26623e,_0xf8a8d1,_0x26b9a7,_0x202a94,_0x3f3f63,_0x350c03),g(this,_0x2068ca(0x5ea),_0x2068ca(0x2c0)),(this[_0x2068ca(0x226)]=_0xf364bc,this[_0x2068ca(0x52f)]=_0x35ad86,this[_0x2068ca(0x491)]=_0x53ba42,this['_notificationService']=_0x351424,this[_0x2068ca(0x471)](),this['_clearLocalCache'](),this[_0x2068ca(0x21c)]());}[_0x112848(0x3de)](){return this;}[_0x112848(0x208)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x112848(0x275)](){return this;}[_0x112848(0x4f3)](){return this;}[_0x112848(0x57f)](){return this;}[_0x112848(0x5ac)](){const _0x5488fe=_0x112848;throw new Error(_0x5488fe(0x395));}['_clearLocalCache'](){const _0x122910=_0x112848;this['_localCacheService'][_0x122910(0x601)](this[_0x122910(0x5e0)],this[_0x122910(0x5b1)],null,[]);}[_0x112848(0x471)](){const _0x5620e5=_0x112848;this[_0x5620e5(0x226)]?this['_notificationService'][_0x5620e5(0x501)]({'title':this[_0x5620e5(0x491)]['t'](_0x5620e5(0x57a)),'content':this[_0x5620e5(0x491)]['t'](_0x5620e5(0x452)),'type':_0x5620e5(0x3b9),'duration':0x0}):this['_notificationService'][_0x5620e5(0x501)]({'title':this[_0x5620e5(0x491)]['t'](_0x5620e5(0x5dc)),'content':this[_0x5620e5(0x491)]['t'](_0x5620e5(0x2fc)),'type':_0x5620e5(0x3b9),'duration':0x0});}[_0x112848(0x21c)](){const _0x17c451=_0x112848;this[_0x17c451(0x52f)][_0x17c451(0x615)](new _0x1454cb(this[_0x17c451(0x5e0)])['id'],!0x1);}};Re=Le([A(0x6,_0xa52f76(_0x5607d9)),A(0x7,_0x18a422),A(0x8,_0x196f01),A(0x9,_0xa52f76(z)),A(0xa,_0xa52f76(_0x340bb0)),A(0xb,_0xa52f76(_0x316ab9)),A(0xc,_0x30ba66)],Re);let Oe=class extends $e{constructor(_0x1cebbb,_0x1c2b9f,_0x15afde,_0x373f79,_0x1f80a9,_0x4384b6,_0x2704f4,_0x3ff997,_0x1ebfcc,_0x22407d){const _0x38a706=_0x112848;super(_0x1cebbb,_0x1c2b9f,_0x15afde,_0x373f79,_0x1f80a9,_0x1ebfcc,_0x22407d,_0x2704f4,_0x3ff997),g(this,_0x38a706(0x5ea),_0x38a706(0x462)),this[_0x38a706(0x382)]=_0x4384b6;}['appendMutation'](_0x2aed6a){const _0x11b2a4=_0x112848;return this[_0x11b2a4(0x46d)]['push'](_0x2aed6a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1eacce){const _0x1b8923=_0x112848;throw new Error(_0x1b8923(0x3ac));}[_0x112848(0x3d9)](){const _0x32cbde=_0x112848;throw new Error(_0x32cbde(0x2bc));}[_0x112848(0x265)](){const _0x3b0e6a=_0x112848;throw new Error(_0x3b0e6a(0x4db));}[_0x112848(0x275)](){return this;}[_0x112848(0x4f3)](){return this;}[_0x112848(0x57f)](){const _0x53b99c=_0x112848,{_injector:_0x2ea5e2,_pendingMutations:_0x1454bd,_awaitingChangeset:_0x23861b,unitID:_0x135177,_handler:_0x5d82d0,type:_0x4516c0}=this,_0x445039=Xi(_0x2ea5e2,_0x135177,_0x4516c0,_0x23861b,_0x1454bd,_0x5d82d0);return _0x445039 instanceof pe?_0x445039[_0x53b99c(0x285)]():(_0x445039 instanceof me||_0x445039 instanceof Te)&&_0x445039[_0x53b99c(0x5ac)](),_0x445039;}[_0x112848(0x5ac)](){const _0xe5e56=_0x112848;throw new Error(_0xe5e56(0x280));}};Oe=Le([A(0x5,_0xa52f76(_0x2e5136)),A(0x6,_0xa52f76(_0x340bb0)),A(0x7,_0xa52f76(z)),A(0x8,_0x18a422),A(0x9,_0x196f01)],Oe);let ce=class extends $e{constructor(_0x3a7f98,_0x2f3650,_0x493283,_0x534124,_0x463d53,_0x1b804a,_0x231709,_0x15bdec,_0x548527,_0x4609fb,_0x4692bd,_0x19e113,_0x225fbb,_0x58a309){const _0x2f20a8=_0x112848;super(_0x3a7f98,_0x2f3650,_0x493283,_0x534124,_0x231709,_0x19e113,_0x225fbb,_0x548527,_0x4609fb),g(this,_0x2f20a8(0x5ea),_0x2f20a8(0x449)),(this['_acknowledgedAwaitingChangeset']=_0x463d53,this[_0x2f20a8(0x20f)]=_0x1b804a,this['_injector']=_0x15bdec,this['_logService']=_0x4692bd,this[_0x2f20a8(0x59f)]=_0x58a309);}[_0x112848(0x4b9)](_0x3cc9f4){const _0x262640=_0x112848;try{const _0x2cd22b=[..._0x3cc9f4,...this[_0x262640(0x20f)]],_0x1dfb83=[this[_0x262640(0x445)]||this[_0x262640(0x53f)]][_0x262640(0x482)](_0x36faf5=>!!_0x36faf5);let _0x2c0299,_0x348a24;if(_0x1dfb83[_0x262640(0x2c7)]){const _0x56e1ca=this[_0x262640(0x59f)][_0x262640(0x31f)](_0x2cd22b,_0x1dfb83,!0x1);if(!_0x288a08(_0x56e1ca))throw _0x56e1ca[_0x262640(0x3b9)];_0x2c0299=_0x56e1ca[_0x262640(0x2c8)],_0x348a24=_0x56e1ca[_0x262640(0x2b3)];}else _0x2c0299=_0x2cd22b,_0x348a24=[];let _0x501ecf=this[_0x262640(0x46d)];_0x2c0299[_0x262640(0x209)](_0x27d297=>{const _0x15a9b6=_0x262640;let _0x49cdd7;if(_0x501ecf[_0x15a9b6(0x2c7)]){const _0x2cd7d6=this['_transformService']['transformMutationsWithChangeset'](_0x27d297,_0x501ecf);if(!_0x4f22a8(_0x2cd7d6))throw _0x2cd7d6[_0x15a9b6(0x3b9)];_0x49cdd7=_0x2cd7d6[_0x15a9b6(0x2c8)],_0x501ecf=_0x2cd7d6[_0x15a9b6(0x553)];}else _0x49cdd7=_0x27d297;this[_0x15a9b6(0x4e6)](_0x49cdd7);}),this[_0x262640(0x53f)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x348a24['length']&&(_0x348a24[0x0][_0x262640(0x43b)]=this['_getCurrentRevision']());let _0x33cd78;if(this[_0x262640(0x445)]&&_0x501ecf[_0x262640(0x2c7)]!==0x0)_0x33cd78=this[_0x262640(0x382)]['createInstance'](me,this['unitID'],this[_0x262640(0x5b1)],_0x348a24[0x0],_0x501ecf,this[_0x262640(0x32e)],void 0x0);else{if(this[_0x262640(0x445)]&&_0x501ecf['length']===0x0)_0x348a24[0x0][_0x262640(0x43b)]=this[_0x262640(0x5c3)](),_0x33cd78=this[_0x262640(0x382)][_0x262640(0x4d8)](Te,this[_0x262640(0x5e0)],this[_0x262640(0x5b1)],_0x348a24[0x0],this['_handler']);else{if(_0x501ecf['length']!==0x0){const _0x445c09=this[_0x262640(0x382)][_0x262640(0x4d8)](pe,this[_0x262640(0x5e0)],this['type'],_0x501ecf,this[_0x262640(0x32e)]);_0x445c09[_0x262640(0x285)](),_0x33cd78=_0x445c09;}else _0x33cd78=this['_injector'][_0x262640(0x4d8)](We,this[_0x262640(0x5e0)],this[_0x262640(0x5b1)],this[_0x262640(0x32e)]);}}return _0x33cd78[_0x262640(0x5d1)](),_0x33cd78;}catch(_0xc3c13e){return this[_0x262640(0x2bf)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0xc3c13e),this[_0x262640(0x382)][_0x262640(0x4d8)](Re,this[_0x262640(0x5e0)],this[_0x262640(0x5b1)],this[_0x262640(0x445)],this[_0x262640(0x46d)],this[_0x262640(0x32e)],!0x1);}}[_0x112848(0x5ac)](){const _0x26fa9d=_0x112848;throw new Error(_0x26fa9d(0x348));}['appendMutation'](_0x190f19){const _0x8e253d=_0x112848;return this[_0x8e253d(0x46d)][_0x8e253d(0x2aa)](_0x190f19),this;}['onRemoteChangeset'](_0x3b4e08){const _0x637462=_0x112848;return this['_queuedRemoteChangesets'][_0x637462(0x2aa)](_0x3b4e08),this;}[_0x112848(0x3d9)](_0x71aabc){const _0x4706fa=_0x112848;if(this['_awaitingChangeset'])return this[_0x4706fa(0x53f)]=this[_0x4706fa(0x445)],this['_awaitingChangeset']=null,this;throw new Error(_0x4706fa(0x58b));}[_0x112848(0x265)](_0x33c957){const _0x5eecd2=_0x112848;return this[_0x5eecd2(0x559)](!!(_0x33c957!=null&&_0x33c957[_0x5eecd2(0x3a4)]));}['onRemoteRetry'](){return this;}[_0x112848(0x4f3)](){const _0x11dbbf=_0x112848;return this[_0x11dbbf(0x382)][_0x11dbbf(0x4d8)](Oe,this[_0x11dbbf(0x5e0)],this['type'],this[_0x11dbbf(0x445)],this[_0x11dbbf(0x46d)],this[_0x11dbbf(0x32e)]);}[_0x112848(0x57f)](){return this;}[_0x112848(0x559)](_0x14b7bd){const _0x3317fe=_0x112848;return this[_0x3317fe(0x382)][_0x3317fe(0x4d8)](Re,this[_0x3317fe(0x5e0)],this[_0x3317fe(0x5b1)],this[_0x3317fe(0x445)],this['_pendingMutations'],this[_0x3317fe(0x32e)],_0x14b7bd);}};ce=Le([A(0x7,_0xa52f76(_0x2e5136)),A(0x8,_0xa52f76(_0x340bb0)),A(0x9,_0xa52f76(z)),A(0xa,_0x5268cc),A(0xb,_0x18a422),A(0xc,_0x196f01),A(0xd,_0x6c5e45)],ce);function Xi(_0x256236,_0x53e2ae,_0x52128,_0x4ae8fc,_0x271c24,_0x3264a0){const _0x39aacc=_0x112848;return _0x4ae8fc&&_0x271c24[_0x39aacc(0x2c7)]?_0x256236[_0x39aacc(0x4d8)](me,_0x53e2ae,_0x52128,_0x4ae8fc,_0x271c24,_0x3264a0,void 0x0):_0x4ae8fc?_0x256236[_0x39aacc(0x4d8)](Te,_0x53e2ae,_0x52128,_0x4ae8fc,_0x3264a0):_0x271c24[_0x39aacc(0x2c7)]?_0x256236[_0x39aacc(0x4d8)](pe,_0x53e2ae,_0x52128,_0x271c24,_0x3264a0):_0x256236[_0x39aacc(0x4d8)](We,_0x53e2ae,_0x52128,_0x3264a0);}var Ao=Object[_0x112848(0x47b)],Mo=Object[_0x112848(0x331)],Ps=(_0x386261,_0x54f7d2,_0x538390,_0x227ab0)=>{const _0x32690c=_0x112848;for(var _0x25d6a0=_0x227ab0>0x1?void 0x0:_0x227ab0?Mo(_0x54f7d2,_0x538390):_0x54f7d2,_0x20916a=_0x386261[_0x32690c(0x2c7)]-0x1,_0x684984;_0x20916a>=0x0;_0x20916a--)(_0x684984=_0x386261[_0x20916a])&&(_0x25d6a0=(_0x227ab0?_0x684984(_0x54f7d2,_0x538390,_0x25d6a0):_0x684984(_0x25d6a0))||_0x25d6a0);return _0x227ab0&&_0x25d6a0&&Ao(_0x54f7d2,_0x538390,_0x25d6a0),_0x25d6a0;},H=(_0x545cfc,_0x187e95)=>(_0x5df04a,_0x5e815d)=>_0x187e95(_0x5df04a,_0x5e815d,_0x545cfc);let Pt=class extends _0x40c6c0{constructor(_0x198eb3,_0x34dfae,_0x148162,_0x499523,_0x26668d,_0x42765a,_0xe757b8,_0x3e890c,_0x4e5865,_0x4a4a9d,_0xc7b955,_0x3251ba,_0xb3e7cb){const _0xd88041=_0x112848;super(),g(this,_0xd88041(0x430),new _0x1c751f(null)),g(this,_0xd88041(0x589),this[_0xd88041(0x430)][_0xd88041(0x606)]()),g(this,_0xd88041(0x374)),g(this,_0xd88041(0x4d6),!0x1),g(this,_0xd88041(0x3a6),''),g(this,'_changesetReqId',0x0),g(this,'status$',this[_0xd88041(0x589)][_0xd88041(0x529)](_0x396b6b(_0x27b338=>_0x27b338?_0x27b338[_0xd88041(0x5ea)]:J['OFFLINE']),_0x4f483e(0x1))),g(this,_0xd88041(0x1f3),!0x1),g(this,_0xd88041(0x37e),[]),(this[_0xd88041(0x5e0)]=_0x198eb3,this[_0xd88041(0x5a2)]=_0x34dfae,this[_0xd88041(0x248)]=_0x148162,this[_0xd88041(0x382)]=_0x499523,this[_0xd88041(0x3fa)]=_0x26668d,this[_0xd88041(0x4dd)]=_0x42765a,this[_0xd88041(0x491)]=_0xe757b8,this['_revisionService']=_0x3e890c,this['_logService']=_0x4e5865,this[_0xd88041(0x4f1)]=_0x4a4a9d,this[_0xd88041(0x611)]=_0xc7b955,this[_0xd88041(0x52f)]=_0x3251ba,this[_0xd88041(0x3bb)]=_0xb3e7cb);}get['state'](){const _0x215daa=_0x112848;return this[_0x215daa(0x374)];}async[_0x112848(0x460)](){const _0x5d0b1b=_0x112848;if(this[_0x5d0b1b(0x2fa)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5d0b1b(0x52b)]();}[_0x112848(0x52d)](){const _0xd69eb2=_0x112848;return this[_0xd69eb2(0x4d6)]=!0x0,_0x1eb786(()=>{const _0x458602=_0xd69eb2;this[_0x458602(0x4d6)]=!0x1,this[_0x458602(0x4f0)]();});}[_0x112848(0x572)](_0x5e68ea){const _0x5e90f9=_0x112848;this[_0x5e90f9(0x374)]=_0x5e68ea,this[_0x5e90f9(0x430)][_0x5e90f9(0x53a)](_0x5e68ea);}async[_0x112848(0x52b)](){const _0x3d1622=_0x112848;var _0x1205b;this[_0x3d1622(0x572)](await this['_createInitialState']()),this[_0x3d1622(0x3bb)]&&((_0x1205b=this[_0x3d1622(0x3bb)])==null||_0x1205b[_0x3d1622(0x392)](this[_0x3d1622(0x5e0)]),this[_0x3d1622(0x29e)](this[_0x3d1622(0x3bb)]['getUnitStatus$'](this[_0x3d1622(0x5e0)])[_0x3d1622(0x4f8)](_0x3df2da=>{const _0x3c420e=_0x3d1622;this[_0x3c420e(0x2bf)][_0x3c420e(0x234)](_0x3c420e(0x4a6),_0x3c420e(0x4be),_0x3df2da),_0x3df2da===Yi[_0x3c420e(0x36e)]?(this['_messageService']['show']({'content':this[_0x3c420e(0x491)]['t'](_0x3c420e(0x30a)),'type':_0x52ad10[_0x3c420e(0x350)]}),this['_permissionService']['updatePermissionPoint'](new _0x1454cb(this[_0x3c420e(0x5e0)])['id'],!0x1),this[_0x3c420e(0x52f)][_0x3c420e(0x5d3)](!0x1)):(this[_0x3c420e(0x52f)]['updatePermissionPoint'](new _0x1454cb(this['unitID'])['id'],!0x0),this[_0x3c420e(0x52f)][_0x3c420e(0x5d3)](!0x0));})));let _0x29e57b=!0x1;return this[_0x3d1622(0x29e)](this[_0x3d1622(0x5a2)][_0x3d1622(0x29d)][_0x3d1622(0x4f8)](_0x7f456a=>{const _0x1cbeae=_0x3d1622;_0x7f456a===fe['ONLINE']?this['_toggleOnline'](_0x29e57b):_0x7f456a===fe[_0x1cbeae(0x2c9)]&&(_0x29e57b=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x3d1622(0x5a2)]['event$']['subscribe'](_0x3579ca=>{const _0x3f4f6b=_0x3d1622;try{switch(_0x3579ca[_0x3f4f6b(0x585)]){case _0x18493d['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x231171(_0x3579ca[_0x3f4f6b(0x600)]));break;}case _0x18493d[_0x3f4f6b(0x3a1)]:{this['_onRemoteACK'](_0x3579ca[_0x3f4f6b(0x600)]);break;}case _0x18493d[_0x3f4f6b(0x46a)]:{this['_onRemoteRejected']();break;}case _0x18493d['CHANGESET_SHOULD_RETRY']:{this[_0x3f4f6b(0x4b3)](_0x3579ca[_0x3f4f6b(0x600)]);break;}case _0x18493d[_0x3f4f6b(0x23a)]:{this[_0x3f4f6b(0x4d9)](_0x3579ca[_0x3f4f6b(0x600)][_0x3f4f6b(0x247)][_0x3f4f6b(0x400)](_0x2ff610=>_0x231171(_0x2ff610)));break;}case _0x18493d['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x337c37){throw console[_0x3f4f6b(0x3b9)](_0x3f4f6b(0x22f),_0x337c37),_0x337c37;}})),this[_0x3d1622(0x374)];}[_0x112848(0x4e5)](){this['_transitionLocked']=!0x1;}[_0x112848(0x52a)](){const _0x5bfe9d=_0x112848;if(this[_0x5bfe9d(0x1f3)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x5bfe9d(0x1f3)]=!0x0;}[_0x112848(0x2e0)](_0x36c178){const _0x2a8043=_0x112848;this[_0x2a8043(0x52a)](),this[_0x2a8043(0x572)](this[_0x2a8043(0x374)]['appendMutation'](_0x36c178)),this[_0x2a8043(0x4e5)]();}[_0x112848(0x472)](_0x4ea2d0){const _0x5b3363=_0x112848;if(!(_0x4ea2d0[_0x5b3363(0x5e4)]<=this[_0x5b3363(0x410)][_0x5b3363(0x404)](this[_0x5b3363(0x5e0)]))){if(this[_0x5b3363(0x4d6)]){this[_0x5b3363(0x37e)][_0x5b3363(0x2aa)](_0x4ea2d0);return;}this[_0x5b3363(0x45b)](_0x4ea2d0);}}['_exhaustRemoteChangesetQueue'](){const _0x5eab90=_0x112848;this[_0x5eab90(0x37e)][_0x5eab90(0x209)](_0x39985f=>this['_applyRemoteChangeset'](_0x39985f)),this[_0x5eab90(0x37e)]=[];}[_0x112848(0x45b)](_0x404230){const _0x3aa142=_0x112848,_0x36a588=this[_0x3aa142(0x4dd)][_0x3aa142(0x5ab)][_0x3aa142(0x4d4)](this[_0x3aa142(0x4dd)][_0x3aa142(0x5ab)][_0x3aa142(0x5b8)]()[_0x3aa142(0x436)])(_0x404230[_0x3aa142(0x3c0)],null)||_0x404230['mutations'],_0xf2e8a={..._0x404230,'mutations':_0x36a588};this[_0x3aa142(0x52a)](),this[_0x3aa142(0x572)](this['_state'][_0x3aa142(0x208)](_0xf2e8a)),this[_0x3aa142(0x4e5)]();}[_0x112848(0x3c4)](_0x45d803){const _0x352bb0=_0x112848;this['_lockTransition'](),this['_updateState'](this[_0x352bb0(0x374)]['onRemoteAck'](_0x45d803)),this['_unlockTransition']();}[_0x112848(0x29b)](_0x371d90){const _0x5280ee=_0x112848;this[_0x5280ee(0x52a)](),this['_updateState'](this[_0x5280ee(0x374)][_0x5280ee(0x265)](_0x371d90)),this[_0x5280ee(0x4e5)]();}['_onRemoteRetry'](_0x184616){const _0xb03629=_0x112848;this[_0xb03629(0x52a)](),this[_0xb03629(0x572)](this[_0xb03629(0x374)][_0xb03629(0x275)](_0x184616)),this['_unlockTransition']();}[_0x112848(0x4d9)](_0x2b95bb){const _0x58ce6e=_0x112848;if(!(this[_0x58ce6e(0x374)]instanceof ce))throw new TypeError(_0x58ce6e(0x23e));const _0x405687=_0x2b95bb[_0x58ce6e(0x400)](_0x138285=>{const _0xf0488f=_0x58ce6e,_0x5bbae8=this[_0xf0488f(0x4dd)][_0xf0488f(0x5ab)]['fetchThroughInterceptors'](this[_0xf0488f(0x4dd)]['interceptor'][_0xf0488f(0x5b8)]()[_0xf0488f(0x436)])(_0x138285['mutations'],null)||_0x138285[_0xf0488f(0x3c0)];return{..._0x138285,'mutations':_0x5bbae8};});this[_0x58ce6e(0x52a)](),this['_updateState'](this['_state'][_0x58ce6e(0x4b9)](_0x405687)),this[_0x58ce6e(0x4e5)]();}['_toggleOffline'](){const _0x34e6a2=_0x112848;this[_0x34e6a2(0x52a)](),this[_0x34e6a2(0x572)](this[_0x34e6a2(0x374)][_0x34e6a2(0x4f3)]()),this[_0x34e6a2(0x4e5)]();}[_0x112848(0x2da)](_0x34de55=!0x1){const _0x534dae=_0x112848;this[_0x534dae(0x52a)](),this[_0x534dae(0x572)](this[_0x534dae(0x374)][_0x534dae(0x57f)]()),this['_unlockTransition']();const _0x30feab=this['_state'];_0x34de55&&_0x30feab instanceof We&&(this[_0x534dae(0x52a)](),this['_updateState'](_0x30feab[_0x534dae(0x25d)]()),this['_unlockTransition']());}async[_0x112848(0x558)](){return new Promise(_0xa44e48=>{const _0x1f92b0=_0x5808;this[_0x1f92b0(0x5a2)]['sessionStatus$'][_0x1f92b0(0x529)](_0x54b287(0x1))['subscribe'](async _0x558533=>{const _0x26e55b=_0x1f92b0;_0xa44e48(await this[_0x26e55b(0x2ac)](_0x558533===fe[_0x26e55b(0x4e2)]));});});}[_0x112848(0x5a6)](){const _0x7a3bb3=_0x112848,_0xd4607d=this[_0x7a3bb3(0x5e0)];return{'onStateChange':(_0x10af81,_0x5ad8fe)=>{const _0x5a8e80=_0x7a3bb3;if(_0x10af81!==this[_0x5a8e80(0x374)])throw new Error(_0x5a8e80(0x272)+_0x10af81[_0x5a8e80(0x5ea)]+'\x0aAfter:\x20'+_0x5ad8fe[_0x5a8e80(0x5ea)]+'\x0aCurrent:\x20'+this[_0x5a8e80(0x374)][_0x5a8e80(0x5ea)]);this[_0x5a8e80(0x572)](_0x5ad8fe);},'onSendChangeset':_0x3c0202=>{const _0x5affe0=_0x7a3bb3;_0x3c0202[_0x5affe0(0x551)]||(_0x3c0202[_0x5affe0(0x551)]=this['_changesetSessionId'],_0x3c0202[_0x5affe0(0x5f7)]=++this[_0x5affe0(0x3b2)]);const _0x11be55={'eventID':_0x18493d['SUBMIT_CHANGESET'],'data':{'unitID':_0x3c0202['unitID'],'unitType':this['_type'],'changeset':_0x3c0202,'memberID':this[_0x5affe0(0x5a2)][_0x5affe0(0x22d)]()}};this['session'][_0x5affe0(0x523)](_0x11be55,this['unitID']);},'onMissingChangesets':({from:_0x53b3a3,to:_0xb7e061})=>{const _0x59d83f=_0x7a3bb3;this[_0x59d83f(0x2bf)]['debug'](_0x59d83f(0x4a6),_0x59d83f(0x4e8)+_0x53b3a3+_0x59d83f(0x58c)+_0xb7e061);const _0xf8a8ac={'eventID':_0x18493d[_0x59d83f(0x215)],'data':{'unitID':_0xd4607d,'unitType':this[_0x59d83f(0x248)],'from':_0x53b3a3,'to':_0xb7e061}};this[_0x59d83f(0x5a2)][_0x59d83f(0x523)](_0xf8a8ac,this[_0x59d83f(0x5e0)]);}};}async['_createInitialStateImpl'](_0x4ea719){const _0x179bad=_0x112848;var _0x1b5539,_0x665bee;const _0x4df64d=await this[_0x179bad(0x3fa)][_0x179bad(0x444)](this[_0x179bad(0x5e0)]),_0x381aa3=(_0x1b5539=_0x4df64d==null?void 0x0:_0x4df64d['mutations'])!=null?_0x1b5539:[],_0xac1a29=(_0x665bee=_0x4df64d==null?void 0x0:_0x4df64d[_0x179bad(0x330)])!=null?_0x665bee:null,_0x350d97=!!(_0xac1a29!=null&&_0xac1a29['sid'])&&!!(_0xac1a29!=null&&_0xac1a29[_0x179bad(0x5f7)]);this['_changesetSessionId']=_0x350d97?_0xac1a29[_0x179bad(0x551)]:co(),this['_changesetReqId']=_0x350d97?_0xac1a29[_0x179bad(0x5f7)]:0x0;const _0x314884=this[_0x179bad(0x5e0)];try{this[_0x179bad(0x1f9)](_0xac1a29,_0x381aa3);}catch(_0x426313){this[_0x179bad(0x2bf)][_0x179bad(0x3b9)](_0x426313);}const _0x4384ed=this[_0x179bad(0x5a6)]();if(_0x4ea719){const _0x4ece7c=Xi(this[_0x179bad(0x382)],_0x314884,this[_0x179bad(0x248)],_0xac1a29,_0x381aa3,_0x4384ed);return _0x4ece7c instanceof pe?_0x4ece7c[_0x179bad(0x285)]():(_0x4ece7c instanceof me||_0x4ece7c instanceof Te)&&_0x4ece7c[_0x179bad(0x5ac)](),_0x4ece7c;}return this[_0x179bad(0x382)][_0x179bad(0x4d8)](Oe,_0x314884,this['_type'],_0xac1a29,_0x381aa3,_0x4384ed);}['_replayCachedMutations'](_0xd7fbf4,_0x1bd309){const _0x31820d=_0x112848;var _0x36598b,_0x744920;const _0x444b44=this['_compressMutationService'][_0x31820d(0x5ab)][_0x31820d(0x4d4)](this[_0x31820d(0x4dd)][_0x31820d(0x5ab)][_0x31820d(0x5b8)]()[_0x31820d(0x436)]);(_0x36598b=_0x444b44((_0xd7fbf4==null?void 0x0:_0xd7fbf4[_0x31820d(0x3c0)])||[],null))==null||_0x36598b[_0x31820d(0x209)](_0x2a2a3a=>this[_0x31820d(0x4f1)][_0x31820d(0x283)](_0x2a2a3a['id'],_0x2a2a3a[_0x31820d(0x256)])),(_0x744920=_0x444b44(_0x1bd309||[],null))==null||_0x744920['forEach'](_0xc64cca=>this[_0x31820d(0x4f1)]['executeCommand'](_0xc64cca['id'],_0xc64cca[_0x31820d(0x256)]));}};Pt=Ps([H(0x3,_0xa52f76(_0x2e5136)),H(0x4,_0xa52f76(z)),H(0x5,_0xa52f76(_0x56bdcd)),H(0x6,_0xa52f76(_0x316ab9)),H(0x7,_0xa52f76(_0x340bb0)),H(0x8,_0x5268cc),H(0x9,_0x18a422),H(0xa,_0x1a4116),H(0xb,_0x5607d9),H(0xc,_0x2fcc7a(Ht))],Pt);let hs=class extends Pt{constructor(_0x288370,_0x293680,_0x1f87e8,_0x15edff,_0x3515e8,_0x13bea9,_0x13b455,_0x39c3b7,_0x33b425,_0x38cf65,_0x55769b,_0xbd56b,_0x4ab44a,_0x171528,_0x3fb298,_0x183f6c,_0x1b56a0,_0x5ece02){const _0x2efab7=_0x112848;super(_0x288370,_0x1f87e8,_0x293680,_0x15edff,_0x3515e8,_0x13bea9,_0x13b455,_0x39c3b7,_0x171528,_0x3fb298,_0x183f6c,_0x1b56a0,_0x5ece02),this[_0x2efab7(0x5e0)]=_0x288370,this[_0x2efab7(0x5b1)]=_0x293680,this[_0x2efab7(0x4aa)]=_0x33b425,this[_0x2efab7(0x5bd)]=_0x38cf65,this[_0x2efab7(0x28a)]=_0x55769b,this['_docTransformSelectionsService']=_0xbd56b,this[_0x2efab7(0x607)]=_0x4ab44a;}[_0x112848(0x5a6)](){const _0x4c6898=_0x112848,_0x56376f=super[_0x4c6898(0x5a6)]();return _0x56376f[_0x4c6898(0x2ee)]=_0x29923d=>this[_0x4c6898(0x5bd)]['transformIMECache'](_0x29923d),_0x56376f[_0x4c6898(0x487)]=_0x407a6b=>this[_0x4c6898(0x28a)][_0x4c6898(0x4dc)](_0x407a6b),_0x56376f[_0x4c6898(0x258)]=_0x354c37=>this[_0x4c6898(0x3d1)]['transformSelections'](_0x354c37),_0x56376f[_0x4c6898(0x4de)]=_0x232f38=>this['_docSyncEditingCollabCursorService'][_0x4c6898(0x24b)](_0x232f38),_0x56376f['onTransformRemoteChangesetByIMECache']=_0x10c837=>this[_0x4c6898(0x5bd)][_0x4c6898(0x325)](_0x10c837),_0x56376f[_0x4c6898(0x5c7)]=_0x28e84a=>this[_0x4c6898(0x28a)][_0x4c6898(0x325)](_0x28e84a),_0x56376f;}async[_0x112848(0x52b)](){const _0x3cf5b0=_0x112848,_0x51f50a=await super[_0x3cf5b0(0x52b)]();return this['disposeWithMe'](this[_0x3cf5b0(0x4aa)][_0x3cf5b0(0x251)][_0x3cf5b0(0x529)](_0xb4b5bf(this[_0x3cf5b0(0x204)]))[_0x3cf5b0(0x4f8)](_0x2f3a34=>{const _0x43486d=_0x3cf5b0;if(_0x2f3a34==null)return;const {unitId:_0x5a3f4e,redoState:_0x14634e,commandId:_0x519e5b}=_0x2f3a34;if(_0x5a3f4e!==this[_0x43486d(0x5e0)])return;const _0x230be1={'id':_0x519e5b,'type':_0x4ffeff['MUTATION'],'params':{'unitId':_0x5a3f4e,'actions':_0x14634e['actions'],'textRanges':null}};this[_0x43486d(0x2e0)](_0x230be1);})),this[_0x3cf5b0(0x29e)](this[_0x3cf5b0(0x4f1)][_0x3cf5b0(0x2ef)]((_0x117718,_0x2ec065)=>{const _0x3f35b9=_0x3cf5b0;if(_0x117718[_0x3f35b9(0x5b1)]!==_0x4ffeff[_0x3f35b9(0x49b)]||_0x2ec065!=null&&_0x2ec065[_0x3f35b9(0x506)]||_0x2ec065!=null&&_0x2ec065[_0x3f35b9(0x345)]||_0x117718['id']===_0x32f6eb['id'])return;const _0x449bdf=_0x117718[_0x3f35b9(0x256)];if((_0x449bdf==null?void 0x0:_0x449bdf[_0x3f35b9(0x261)])!==this[_0x3f35b9(0x5e0)])return;const _0x402dea=_0x117718,_0x1c312c=this[_0x3f35b9(0x4dd)][_0x3f35b9(0x5ab)]['fetchThroughInterceptors'](this[_0x3f35b9(0x4dd)][_0x3f35b9(0x5ab)][_0x3f35b9(0x5b8)]()['COMPRESS_MUTATION_SEND'])([_0x402dea],null)||[_0x402dea];this[_0x3f35b9(0x2e0)](_0x1c312c[0x0]);})),_0x51f50a;}};hs=Ps([H(0x3,_0xa52f76(_0x2e5136)),H(0x4,_0xa52f76(z)),H(0x5,_0xa52f76(_0x56bdcd)),H(0x6,_0xa52f76(_0x316ab9)),H(0x7,_0xa52f76(_0x340bb0)),H(0x8,_0xa52f76(_0x40c526)),H(0x9,_0xa52f76(Ot)),H(0xa,_0xa52f76(wt)),H(0xb,_0xa52f76(Dt)),H(0xc,_0xa52f76(Ds)),H(0xd,_0x5268cc),H(0xe,_0x18a422),H(0xf,_0x1a4116),H(0x10,_0x5607d9),H(0x11,_0x2fcc7a(Ht))],hs);let ls=class extends Pt{constructor(_0x177ac1,_0x594bbc,_0x3e6097,_0x1ab8c5,_0x442985,_0x11ae46,_0x276f33,_0x52bfce,_0x290ad0,_0x56a19f,_0x242257,_0x2a31c8,_0x1ff468,_0x30683a){super(_0x177ac1,_0x3e6097,_0x594bbc,_0x1ab8c5,_0x442985,_0x11ae46,_0x276f33,_0x52bfce,_0x56a19f,_0x242257,_0x2a31c8,_0x1ff468,_0x30683a),this['unitID']=_0x177ac1,this['type']=_0x594bbc,this['_sheetTransformSelectionsService']=_0x290ad0;}[_0x112848(0x5a6)](){const _0x599cea=_0x112848,_0x342c28=super[_0x599cea(0x5a6)]();return _0x342c28[_0x599cea(0x258)]=_0x45fc1e=>this[_0x599cea(0x341)]['transformSelections'](_0x45fc1e),_0x342c28;}async[_0x112848(0x52b)](){const _0x601ea5=_0x112848,_0x3eb915=await super['_init']();return this['disposeWithMe'](this[_0x601ea5(0x4f1)]['onCommandExecuted']((_0x591e98,_0x181b84)=>{const _0x282475=_0x601ea5;if(_0x591e98[_0x282475(0x5b1)]!==_0x4ffeff[_0x282475(0x49b)]||_0x181b84!=null&&_0x181b84[_0x282475(0x506)]||_0x181b84!=null&&_0x181b84[_0x282475(0x345)])return;const _0x2d1503=_0x591e98[_0x282475(0x256)];if((_0x2d1503==null?void 0x0:_0x2d1503[_0x282475(0x261)])!==this[_0x282475(0x5e0)])return;const _0x41230e=_0x591e98,_0x2c6944=this['_compressMutationService']['interceptor'][_0x282475(0x4d4)](this['_compressMutationService'][_0x282475(0x5ab)][_0x282475(0x5b8)]()[_0x282475(0x20d)])([_0x41230e],null)||[_0x41230e];this[_0x282475(0x2e0)](_0x2c6944[0x0]);})),_0x3eb915;}};ls=Ps([H(0x3,_0xa52f76(_0x2e5136)),H(0x4,_0xa52f76(z)),H(0x5,_0xa52f76(_0x56bdcd)),H(0x6,_0xa52f76(_0x316ab9)),H(0x7,_0xa52f76(_0x340bb0)),H(0x8,_0xa52f76(yt)),H(0x9,_0x5268cc),H(0xa,_0x18a422),H(0xb,_0x1a4116),H(0xc,_0x5607d9),H(0xd,_0x2fcc7a(Ht))],ls);var xo=Object[_0x112848(0x47b)],Lo=Object[_0x112848(0x331)],$o=(_0x10ce9c,_0xf1b1d2,_0x18becf,_0x50c311)=>{const _0x33fbbf=_0x112848;for(var _0x1c7f60=_0x50c311>0x1?void 0x0:_0x50c311?Lo(_0xf1b1d2,_0x18becf):_0xf1b1d2,_0x3b0adb=_0x10ce9c[_0x33fbbf(0x2c7)]-0x1,_0x3c5155;_0x3b0adb>=0x0;_0x3b0adb--)(_0x3c5155=_0x10ce9c[_0x3b0adb])&&(_0x1c7f60=(_0x50c311?_0x3c5155(_0xf1b1d2,_0x18becf,_0x1c7f60):_0x3c5155(_0x1c7f60))||_0x1c7f60);return _0x50c311&&_0x1c7f60&&xo(_0xf1b1d2,_0x18becf,_0x1c7f60),_0x1c7f60;},qt=(_0x588586,_0x3ec7ea)=>(_0x347541,_0x30acc4)=>_0x3ec7ea(_0x347541,_0x30acc4,_0x588586);let it=class extends _0x40c6c0{constructor(_0x409153,_0xece5d,_0x4b55f0){const _0x1e25cc=_0x112848;super(),g(this,_0x1e25cc(0x3a2),new Map()),g(this,_0x1e25cc(0x23c),new _0x37f3d3()),(this[_0x1e25cc(0x382)]=_0x409153,this[_0x1e25cc(0x2b2)]=_0xece5d,this[_0x1e25cc(0x3ad)]=_0x4b55f0,this['_init']());}[_0x112848(0x298)](){const _0x1cdff6=_0x112848;super[_0x1cdff6(0x298)](),this[_0x1cdff6(0x3a2)][_0x1cdff6(0x209)](_0x4e1687=>_0x4e1687[_0x1cdff6(0x298)]()),this[_0x1cdff6(0x3a2)][_0x1cdff6(0x5a9)]();}[_0x112848(0x39f)](_0x69ca5f){const _0xc39b2b=_0x112848;var _0x5bfe5a;return(_0x5bfe5a=this[_0xc39b2b(0x3a2)][_0xc39b2b(0x4cd)](_0x69ca5f))!=null?_0x5bfe5a:null;}[_0x112848(0x5a0)](_0x233e79){const _0x4fee14=_0x112848,_0x2991f2=this[_0x4fee14(0x39f)](_0x233e79);return _0x2991f2?_0x3856a9(_0x2991f2):this[_0x4fee14(0x23c)][_0x4fee14(0x529)](_0x4c7b7d(_0x433406=>_0x433406[_0x4fee14(0x5e0)]===_0x233e79));}[_0x112848(0x52b)](){const _0x4ca4c7=_0x112848;this[_0x4ca4c7(0x3ad)]['getTypeOfUnitAdded$'](_0x3f1ceb[_0x4ca4c7(0x3f0)])[_0x4ca4c7(0x529)](_0xb4b5bf(this[_0x4ca4c7(0x204)]),_0x4a1906(0x10))[_0x4ca4c7(0x4f8)](async _0x41c1d8=>{const _0x3c3f0d=_0x4ca4c7,_0x429d23=_0x41c1d8['getUnitId'](),_0x2bbb92=await this['_startCollaboration'](_0x429d23,ae[_0x3c3f0d(0x3f0)]);this[_0x3c3f0d(0x3a2)][_0x3c3f0d(0x2ab)](_0x429d23,_0x2bbb92);}),this[_0x4ca4c7(0x3ad)][_0x4ca4c7(0x571)](_0x3f1ceb[_0x4ca4c7(0x538)])[_0x4ca4c7(0x529)](_0xb4b5bf(this['dispose$']),_0x4a1906(0x10))[_0x4ca4c7(0x529)](_0x4c7b7d(_0xdeba28=>!_0xdeba28['getUnitId']()[_0x4ca4c7(0x441)]('__')))[_0x4ca4c7(0x4f8)](async _0x389dd8=>{const _0x3ad2f0=_0x4ca4c7,_0xf04ab5=_0x389dd8['getUnitId'](),_0x247e70=await this[_0x3ad2f0(0x3ea)](_0xf04ab5,ae['UNIVER_DOC']);this[_0x3ad2f0(0x3a2)][_0x3ad2f0(0x2ab)](_0xf04ab5,_0x247e70);}),_0x566afd(this['_univerInstanceService'][_0x4ca4c7(0x524)](_0x3f1ceb[_0x4ca4c7(0x3f0)]),this[_0x4ca4c7(0x3ad)][_0x4ca4c7(0x524)](_0x3f1ceb[_0x4ca4c7(0x538)]))['pipe'](_0xb4b5bf(this[_0x4ca4c7(0x204)]))[_0x4ca4c7(0x4f8)](_0x2c77ff=>{const _0x2cd79a=_0x4ca4c7,_0x451a2d=_0x2c77ff[_0x2cd79a(0x579)](),_0x51db73=this['_entities']['get'](_0x451a2d);_0x51db73&&(_0x51db73[_0x2cd79a(0x298)](),this[_0x2cd79a(0x3a2)]['delete'](_0x451a2d));});}async[_0x112848(0x3ea)](_0x7bd627,_0x427b49){const _0x5e13ef=_0x112848,_0x35c54b=await this[_0x5e13ef(0x2b2)][_0x5e13ef(0x351)](_0x7bd627),_0x30d8b1=this[_0x5e13ef(0x382)]['createInstance'](this[_0x5e13ef(0x23b)](_0x427b49),_0x7bd627,_0x427b49,_0x35c54b);return await _0x30d8b1[_0x5e13ef(0x460)](),this[_0x5e13ef(0x23c)][_0x5e13ef(0x53a)](_0x30d8b1),_0x30d8b1;}[_0x112848(0x23b)](_0x2984bb){const _0x5642c9=_0x112848;switch(_0x2984bb){case ae[_0x5642c9(0x538)]:return hs;case ae[_0x5642c9(0x3f0)]:return ls;default:throw new Error(_0x5642c9(0x508)+_0x2984bb);}}};it=$o([qt(0x0,_0xa52f76(_0x2e5136)),qt(0x1,_0xa52f76(Me)),qt(0x2,_0x1efafe)],it);var Ho=Object[_0x112848(0x47b)],jo=Object[_0x112848(0x331)],Bo=(_0x4806b7,_0x5e1ab4,_0x2151a5,_0x3446b5)=>{const _0x528d33=_0x112848;for(var _0x80d2af=_0x3446b5>0x1?void 0x0:_0x3446b5?jo(_0x5e1ab4,_0x2151a5):_0x5e1ab4,_0x81f8b5=_0x4806b7[_0x528d33(0x2c7)]-0x1,_0xd4375c;_0x81f8b5>=0x0;_0x81f8b5--)(_0xd4375c=_0x4806b7[_0x81f8b5])&&(_0x80d2af=(_0x3446b5?_0xd4375c(_0x5e1ab4,_0x2151a5,_0x80d2af):_0xd4375c(_0x80d2af))||_0x80d2af);return _0x3446b5&&_0x80d2af&&Ho(_0x5e1ab4,_0x2151a5,_0x80d2af),_0x80d2af;},ei=(_0xaae417,_0x2958c8)=>(_0x418570,_0x4c07c0)=>_0x2958c8(_0x418570,_0x4c07c0,_0xaae417);let Ut=class extends _0x40c6c0{constructor(_0x5505de,_0x4ee7e6){const _0xa8d8c5=_0x112848;super(),this[_0xa8d8c5(0x42f)]=_0x5505de,this[_0xa8d8c5(0x33e)]=_0x4ee7e6,this['_init']();}[_0x112848(0x52b)](){const _0x1bd3ad=_0x112848,_0x5726ee=this;this[_0x1bd3ad(0x29e)](this[_0x1bd3ad(0x42f)][_0x1bd3ad(0x423)]({'onBeforePasteImage':async _0x38c974=>{const _0x26573a=_0x1bd3ad,_0x1509d2=await _0x5726ee['_imageIoService'][_0x26573a(0x54e)](_0x38c974);return _0x1509d2?{'source':_0x1509d2[_0x26573a(0x48a)],'imageSourceType':_0x1509d2['imageSourceType']}:null;}}));}};Ut=Bo([ei(0x0,_0x3d16a8),ei(0x1,_0x2c6ece)],Ut);const ti=[_0x112848(0x3da),_0x112848(0x43e),_0x112848(0x27d),_0x112848(0x60e),_0x112848(0x55a),_0x112848(0x424)];class Us extends _0x5c0223{constructor(){const _0x27399d=_0x112848;super(...arguments),g(this,_0x27399d(0x389),new Map()),g(this,_0x27399d(0x608),0x0);}[_0x112848(0x289)](_0x4e56f7){const _0x289f85=_0x112848;if(this[_0x289f85(0x389)][_0x289f85(0x543)](_0x4e56f7))return this[_0x289f85(0x389)][_0x289f85(0x4cd)](_0x4e56f7);const _0x4d02c1=ti[this[_0x289f85(0x608)]];return this['_colorIndex']=(this[_0x289f85(0x608)]+0x1)%ti[_0x289f85(0x2c7)],this[_0x289f85(0x389)]['set'](_0x4e56f7,_0x4d02c1),_0x4d02c1;}}var ko=Object['defineProperty'],Wo=Object[_0x112848(0x331)],Fo=(_0xba0b19,_0x1d83c1,_0x179b69,_0x250bd0)=>{const _0x351c93=_0x112848;for(var _0xac6e6f=_0x250bd0>0x1?void 0x0:_0x250bd0?Wo(_0x1d83c1,_0x179b69):_0x1d83c1,_0x1a7aa2=_0xba0b19[_0x351c93(0x2c7)]-0x1,_0x339857;_0x1a7aa2>=0x0;_0x1a7aa2--)(_0x339857=_0xba0b19[_0x1a7aa2])&&(_0xac6e6f=(_0x250bd0?_0x339857(_0x1d83c1,_0x179b69,_0xac6e6f):_0x339857(_0xac6e6f))||_0xac6e6f);return _0x250bd0&&_0xac6e6f&&ko(_0x1d83c1,_0x179b69,_0xac6e6f),_0xac6e6f;},we=(_0x498180,_0x45892d)=>(_0x4c6859,_0x1700ec)=>_0x45892d(_0x4c6859,_0x1700ec,_0x498180);const Vo=0x12c,Go=0x64;let _s=class extends _0x40c6c0{constructor(_0x3063ce,_0x16a9b4,_0x45aa11,_0x11be60,_0x2eda28,_0x73bed9,_0x185570,_0x1e48ab,_0x162515){const _0x1e72ee=_0x112848;super(),g(this,'_online',!0x1),g(this,_0x1e72ee(0x52b),!0x1),g(this,_0x1e72ee(0x45c),new _0x1c751f(new Map())),g(this,_0x1e72ee(0x244),this['_cursorInfo$']['asObservable']()),g(this,_0x1e72ee(0x279),new _0x1c751f([])),g(this,'roomMembers$',this[_0x1e72ee(0x279)][_0x1e72ee(0x529)](_0x2d6759(Vo))),g(this,_0x1e72ee(0x566),_0x5d2740(_0x1b9fde=>{const _0x17e05b=_0x1e72ee,_0x8980bb={'eventID':_0x18493d['UPDATE_CURSOR'],'data':{'unitID':this[_0x17e05b(0x5e0)],'memberID':this[_0x17e05b(0x2c2)][_0x17e05b(0x22d)](),'selection':Ki(_0x1b9fde)}};this[_0x17e05b(0x2c2)][_0x17e05b(0x523)](_0x8980bb,this[_0x17e05b(0x5e0)]);},Go)),(this['unitID']=_0x3063ce,this['_session']=_0x16a9b4,this[_0x1e72ee(0x382)]=_0x45aa11,this[_0x1e72ee(0x425)]=_0x11be60,this['_memberService']=_0x2eda28,this[_0x1e72ee(0x5bf)]=_0x73bed9,this[_0x1e72ee(0x59f)]=_0x185570,this[_0x1e72ee(0x3ad)]=_0x1e48ab,this[_0x1e72ee(0x4f1)]=_0x162515);}get[_0x112848(0x24e)](){const _0x1a0bee=_0x112848;return this[_0x1a0bee(0x45c)][_0x1a0bee(0x2b0)]();}get[_0x112848(0x590)](){const _0x16c580=_0x112848;return this['_roomMembers$'][_0x16c580(0x2b0)]();}[_0x112848(0x298)](){const _0x27fed8=_0x112848;super[_0x27fed8(0x298)](),this['_cursorInfo$'][_0x27fed8(0x53a)](new Map()),this[_0x27fed8(0x45c)]['complete'](),this[_0x27fed8(0x279)]['next']([]),this[_0x27fed8(0x279)]['complete']();}[_0x112848(0x460)](){const _0x3112cf=_0x112848;this[_0x3112cf(0x52b)]||(this[_0x3112cf(0x52b)]=!0x0,this['_session']['sessionStatus$'][_0x3112cf(0x529)](_0xb4b5bf(this[_0x3112cf(0x204)]))[_0x3112cf(0x4f8)](_0x1010be=>{const _0x20f08b=_0x3112cf;_0x1010be===fe[_0x20f08b(0x4e2)]?this[_0x20f08b(0x2da)]():this[_0x20f08b(0x533)]();}),this[_0x3112cf(0x2c2)][_0x3112cf(0x4fa)][_0x3112cf(0x529)](_0xb4b5bf(this[_0x3112cf(0x204)]))[_0x3112cf(0x4f8)](_0x1915ae=>{const _0x305723=_0x3112cf,_0x4ad3fb=_0x1915ae[_0x305723(0x585)];_0x4ad3fb===_0x18493d['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1915ae),_0x4ad3fb===_0x18493d[_0x305723(0x5ee)]&&this[_0x305723(0x337)](_0x1915ae);}),this[_0x3112cf(0x29e)](this[_0x3112cf(0x4f1)]['onCommandExecuted'](_0x4c6a1b=>{const _0x11ca88=_0x3112cf,_0x4939f7=_0x4c6a1b[_0x11ca88(0x256)];_0x4939f7!=null&&this[_0x11ca88(0x432)]&&_0x4c6a1b['id']===_0x31e913['id']&&_0x4939f7[_0x11ca88(0x261)]===this[_0x11ca88(0x5e0)]&&_0x4939f7['isEditing']===!0x1&&_0x4939f7['ranges'][_0x11ca88(0x2c7)]>0x0&&this[_0x11ca88(0x566)](_0x4939f7[_0x11ca88(0x4a3)]);})),this[_0x3112cf(0x5bf)]['collabCursorState$'][_0x3112cf(0x529)](_0xb4b5bf(this[_0x3112cf(0x204)]))[_0x3112cf(0x4f8)](_0x4b1af5=>{const _0x6f5cb6=_0x3112cf;if((_0x4b1af5==null?void 0x0:_0x4b1af5[_0x6f5cb6(0x5e0)])!==this[_0x6f5cb6(0x5e0)])return;const _0x24a107={'eventID':_0x18493d['UPDATE_CURSOR'],'data':_0x4b1af5};this[_0x6f5cb6(0x218)](_0x24a107);}),this[_0x3112cf(0x29e)](this[_0x3112cf(0x4f1)]['onCommandExecuted'](_0x2f853=>{const _0x37f6d1=_0x3112cf;if(_0x2f853[_0x37f6d1(0x256)]==null)return;const _0x1ae375=_0x2f853[_0x37f6d1(0x256)];if(_0x2f853['id']!==_0x32f6eb['id']||_0x1ae375[_0x37f6d1(0x261)]!==this[_0x37f6d1(0x5e0)])return;const _0x2921f3={'id':'doc.mutation.rich-text-editing','params':_0x1ae375},_0xc1546c=this['cursorInfo'];for(const [_0x398bab,_0x399c59]of _0xc1546c){const _0x4dcdd2={'id':_0x37f6d1(0x3be),'params':{'unitId':this[_0x37f6d1(0x5e0)],'actions':null,'textRanges':_0x399c59[_0x37f6d1(0x4a3)]}},_0x202d6d=this['_transformService'][_0x37f6d1(0x450)](_0x2921f3,_0x4dcdd2,!0x1);if(_0xf61c00(_0x202d6d))throw _0x202d6d[_0x37f6d1(0x3b9)];_0xc1546c[_0x37f6d1(0x2ab)](_0x398bab,{..._0x399c59,'ranges':_0x202d6d['m2Prime'][_0x37f6d1(0x256)][_0x37f6d1(0x259)]});}queueMicrotask(()=>{const _0x17efd6=_0x37f6d1;this[_0x17efd6(0x45c)][_0x17efd6(0x53a)](_0xc1546c);});})));}[_0x112848(0x218)](_0x2449d1){const _0x3b5423=_0x112848;var _0x5ee622,_0x56d276;const {memberID:_0x181fb3,selection:_0x4f1685}=_0x2449d1[_0x3b5423(0x600)],_0x4f4a30=To(_0x4f1685),_0x456b69=(_0x56d276=(_0x5ee622=this[_0x3b5423(0x4ca)][_0x3b5423(0x4fb)](this[_0x3b5423(0x5e0)],_0x181fb3))==null?void 0x0:_0x5ee622['name'])!=null?_0x56d276:_0x3b5423(0x32a),_0x4b9993={'color':this[_0x3b5423(0x425)][_0x3b5423(0x289)](_0x181fb3),'name':_0x456b69,'ranges':_0x4f4a30},_0x19c0d9=this[_0x3b5423(0x24e)];_0x19c0d9[_0x3b5423(0x2ab)](_0x181fb3,_0x4b9993),this[_0x3b5423(0x45c)][_0x3b5423(0x53a)](_0x19c0d9);}[_0x112848(0x337)](_0x3654e9){const _0x5383bd=_0x112848,{memberID:_0x20064f}=_0x3654e9['data'],_0x428f99=this[_0x5383bd(0x24e)];_0x428f99[_0x5383bd(0x37b)](_0x20064f),this[_0x5383bd(0x45c)][_0x5383bd(0x53a)](_0x428f99);}['_toggleOnline'](){const _0x312a9b=_0x112848;var _0x47b3c3;if(this['_online']=!0x0,((_0x47b3c3=this[_0x312a9b(0x3ad)]['getFocusedUnit']())==null?void 0x0:_0x47b3c3['getUnitId']())!==this[_0x312a9b(0x5e0)])return;const _0x5b6e98=this[_0x312a9b(0x382)]['get'](_0x20b394)[_0x312a9b(0x415)]();Array[_0x312a9b(0x5f9)](_0x5b6e98)&&_0x5b6e98[_0x312a9b(0x2c7)]>0x0&&this[_0x312a9b(0x566)](_0x5b6e98);}[_0x112848(0x533)](){const _0x33f455=_0x112848;this[_0x33f455(0x432)]=!0x1;}};_s=Fo([we(0x2,_0xa52f76(_0x2e5136)),we(0x3,_0xa52f76(Us)),we(0x4,_0xa52f76(Ae)),we(0x5,_0xa52f76(Ds)),we(0x6,_0x6c5e45),we(0x7,_0x1efafe),we(0x8,_0x18a422)],_s);var Yo=Object[_0x112848(0x47b)],Ko=Object[_0x112848(0x331)],qo=(_0x538559,_0x305c3a,_0x317ada,_0x2ac08c)=>{const _0x392644=_0x112848;for(var _0x509f99=_0x2ac08c>0x1?void 0x0:_0x2ac08c?Ko(_0x305c3a,_0x317ada):_0x305c3a,_0x39e645=_0x538559[_0x392644(0x2c7)]-0x1,_0xd2c70d;_0x39e645>=0x0;_0x39e645--)(_0xd2c70d=_0x538559[_0x39e645])&&(_0x509f99=(_0x2ac08c?_0xd2c70d(_0x305c3a,_0x317ada,_0x509f99):_0xd2c70d(_0x509f99))||_0x509f99);return _0x2ac08c&&_0x509f99&&Yo(_0x305c3a,_0x317ada,_0x509f99),_0x509f99;},je=(_0x20ffa0,_0x13925a)=>(_0x493294,_0x34bcd2)=>_0x13925a(_0x493294,_0x34bcd2,_0x20ffa0);const zo=0x12c,Xo=0x64,Jo=()=>{let _0x1391d1=[],_0x2ead85=!0x1;return _0x16b2a7=>{const _0x23a843=_0x5808;_0x1391d1[_0x23a843(0x2aa)](_0x16b2a7),_0x2ead85||(_0x2ead85=!0x0,setTimeout(()=>{const _0xc3b49b=_0x23a843;_0x1391d1[_0xc3b49b(0x209)](_0x115ef3=>_0x115ef3()),_0x1391d1=[],_0x2ead85=!0x1;}));};};let us=class extends _0x40c6c0{constructor(_0x495e22,_0x502180,_0x1d79a4,_0x4132c0,_0x286dda,_0x435adf,_0x14a310,_0x264c17){const _0x380004=_0x112848;super(),g(this,_0x380004(0x432),!0x1),g(this,_0x380004(0x52b),!0x1),g(this,'_cursorInfo$',new _0x1c751f(new Map())),g(this,_0x380004(0x244),this[_0x380004(0x45c)][_0x380004(0x606)]()),g(this,_0x380004(0x279),new _0x1c751f([])),g(this,_0x380004(0x1ef),this[_0x380004(0x279)][_0x380004(0x529)](_0x2d6759(zo))),g(this,_0x380004(0x566),_0x5d2740((_0x51e102,_0x28b6ac)=>{const _0x3b876f=_0x380004,_0xe3676c={'eventID':_0x18493d[_0x3b876f(0x407)],'data':{'unitID':this['unitID'],'memberID':this[_0x3b876f(0x2c2)]['getMemberID'](),'selection':_0x2f1193(_0x51e102,_0x28b6ac[_0x3b876f(0x3b6)])}};this[_0x3b876f(0x2c2)][_0x3b876f(0x523)](_0xe3676c,this[_0x3b876f(0x5e0)]);},Xo)),(this[_0x380004(0x5e0)]=_0x495e22,this[_0x380004(0x2c2)]=_0x502180,this[_0x380004(0x382)]=_0x1d79a4,this['_colorAssignService']=_0x4132c0,this[_0x380004(0x4ca)]=_0x286dda,this[_0x380004(0x3ad)]=_0x435adf,this['_commandService']=_0x14a310,this[_0x380004(0x507)]=_0x264c17);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x112848(0x590)](){const _0x22eb07=_0x112848;return this[_0x22eb07(0x279)][_0x22eb07(0x2b0)]();}[_0x112848(0x298)](){const _0xcb43bf=_0x112848;super[_0xcb43bf(0x298)](),this['_cursorInfo$'][_0xcb43bf(0x53a)](new Map()),this['_cursorInfo$'][_0xcb43bf(0x38e)](),this[_0xcb43bf(0x279)][_0xcb43bf(0x53a)]([]),this[_0xcb43bf(0x279)]['complete']();}[_0x112848(0x460)](){const _0x4f23be=_0x112848;this[_0x4f23be(0x52b)]||(this[_0x4f23be(0x52b)]=!0x0,this[_0x4f23be(0x2c2)][_0x4f23be(0x29d)][_0x4f23be(0x529)](_0xb4b5bf(this['dispose$']))[_0x4f23be(0x4f8)](_0x1cb2e1=>{const _0x1d82fd=_0x4f23be;_0x1cb2e1===fe[_0x1d82fd(0x4e2)]?this[_0x1d82fd(0x2da)]():this[_0x1d82fd(0x533)]();}),this['_session'][_0x4f23be(0x4fa)]['pipe'](_0xb4b5bf(this[_0x4f23be(0x204)]))[_0x4f23be(0x4f8)](_0x262042=>{const _0x35ceea=_0x4f23be,_0x59cda0=_0x262042[_0x35ceea(0x585)];_0x59cda0===_0x18493d[_0x35ceea(0x407)]&&this[_0x35ceea(0x218)](_0x262042),_0x59cda0===_0x18493d['USERS_LEAVE']&&this[_0x35ceea(0x337)](_0x262042);}),this[_0x4f23be(0x4b5)](),this[_0x4f23be(0x29e)](this[_0x4f23be(0x4f1)][_0x4f23be(0x2ef)](_0xb17173=>{const _0xafaacd=_0x4f23be;if(this[_0xafaacd(0x432)]&&_0xb17173['id']===_0x2f7f98['id']&&_0xb17173[_0xafaacd(0x256)][_0xafaacd(0x261)]===this['unitID']){const _0x5adc28=_0xb17173['params'];this[_0xafaacd(0x566)](_0x5adc28[_0xafaacd(0x4b2)],_0x5adc28[_0xafaacd(0x4ac)][0x0]);}})));}['_onCursorUpdate'](_0x375788){const _0x55307d=_0x112848;var _0x410317,_0x2a13fc;const {memberID:_0x516fd2,selection:_0x1ac007}=_0x375788[_0x55307d(0x600)],{sheetName:_0x268cfa,range:_0x32f46d}=_0x1b4ef8(_0x1ac007),_0x366812={'name':(_0x2a13fc=(_0x410317=this[_0x55307d(0x4ca)]['getMember'](this[_0x55307d(0x5e0)],_0x516fd2))==null?void 0x0:_0x410317[_0x55307d(0x353)])!=null?_0x2a13fc:'Unknown\x20user','range':this[_0x55307d(0x270)](_0x268cfa,_0x32f46d),'sheetID':_0x268cfa,'color':this[_0x55307d(0x425)][_0x55307d(0x289)](_0x516fd2),'selection':_0x1ac007},_0x1045b8=this[_0x55307d(0x24e)];_0x1045b8[_0x55307d(0x2ab)](_0x516fd2,_0x366812),this[_0x55307d(0x45c)][_0x55307d(0x53a)](_0x1045b8);}[_0x112848(0x337)](_0x1b5585){const _0x57089d=_0x112848,{memberID:_0x50b772}=_0x1b5585[_0x57089d(0x600)],_0x5071ca=this[_0x57089d(0x24e)];_0x5071ca[_0x57089d(0x37b)](_0x50b772),this['_cursorInfo$'][_0x57089d(0x53a)](_0x5071ca);}[_0x112848(0x270)](_0x3e53dd,_0x5e2f85){const _0x4bac0b=_0x112848;var _0x18c3be,_0x48ff4b;const _0x2a0ebe=(_0x48ff4b=(_0x18c3be=this[_0x4bac0b(0x3ad)][_0x4bac0b(0x545)](this[_0x4bac0b(0x5e0)]))==null?void 0x0:_0x18c3be[_0x4bac0b(0x5b0)](_0x3e53dd))==null?void 0x0:_0x48ff4b[_0x4bac0b(0x5ff)]();return(_0x2a0ebe==null?void 0x0:_0x2a0ebe[_0x4bac0b(0x361)](_0x54915f=>_0x430de4[_0x4bac0b(0x440)](_0x54915f,_0x5e2f85)))||_0x5e2f85;}[_0x112848(0x4b5)](){const _0xb818cb=_0x112848,_0x2d6054=new _0x518f78(),_0x4a787d=Jo(),_0xd0b161=()=>{const _0x2f607b=_0x5808;_0x2d6054[_0x2f607b(0x298)]();const _0xb28a00=(_0x58de53,_0x1e0744,_0x278d36,_0x519580)=>{const _0x16bb05=_0x2f607b;let _0x374487=[];switch(_0x58de53['id']){case _0x2ce5bc[_0x16bb05(0x5c0)]:{_0x374487=_0x5edb52(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x461)]:{_0x374487=_0x4c2872(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x299)]:{_0x374487=_0x4479f2(_0x58de53,_0x519580);break;}case _0x2ce5bc['InsertRangeMoveDownCommandId']:{_0x374487=_0x1d517f(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x3a7)]:{_0x374487=_0xcc17e9(_0x58de53,_0x519580);break;}case _0x2ce5bc['InsertRowCommandId']:{_0x374487=_0x21e619(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x229)]:{_0x374487=_0x32961c(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x3e0)]:{_0x374487=_0x1752ab(_0x58de53,_0x519580);break;}case _0x2ce5bc[_0x16bb05(0x595)]:{_0x374487=_0x4892c8(_0x58de53,_0x519580);break;}}const _0x17bb4a=_0x3899c2(_0x374487,_0x519580),_0x44804f=this[_0x16bb05(0x24e)]['get'](_0x1e0744);if(_0x44804f&&_0x17bb4a){const _0x4d2c9e={..._0x44804f,'range':_0x17bb4a};this['cursorInfo']['set'](_0x1e0744,_0x4d2c9e),_0x4a787d(()=>{const _0x45e28a=_0x16bb05,_0x3c945e=this['_refRangeService'][_0x45e28a(0x3a5)](_0x17bb4a,_0x4026a7=>(_0x3c945e[_0x45e28a(0x298)](),_0xb28a00(_0x4026a7,_0x1e0744,_0x278d36,_0x17bb4a)));_0x2d6054[_0x45e28a(0x278)](_0x3c945e);});}return{'redos':[],'undos':[]};};this[_0x2f607b(0x24e)][_0x2f607b(0x209)]((_0x54f9fb,_0x1bda9e)=>{const _0x28e019=_0x2f607b,{range:_0x300748,sheetID:_0x190678}=_0x54f9fb,_0x3faeef=this[_0x28e019(0x507)][_0x28e019(0x3a5)](_0x300748,_0x320672=>(_0x3faeef['dispose'](),_0xb28a00(_0x320672,_0x1bda9e,_0x190678,_0x300748)));_0x2d6054[_0x28e019(0x278)](_0x3faeef);});};this['disposeWithMe'](_0x1eb786(this[_0xb818cb(0x45c)][_0xb818cb(0x4f8)](()=>{_0xd0b161();})));}[_0x112848(0x2da)](){const _0x5a84c9=_0x112848;var _0x3f8932,_0x146086;if(this[_0x5a84c9(0x432)]=!0x0,((_0x3f8932=this[_0x5a84c9(0x3ad)][_0x5a84c9(0x377)]())==null?void 0x0:_0x3f8932['getUnitId']())!==this['unitID'])return;const _0x5cd0a4=(_0x146086=this['_injector'][_0x5a84c9(0x4cd)](_0x52a1cd)[_0x5a84c9(0x3e4)]())==null?void 0x0:_0x146086[0x0],_0x5f34ee=this[_0x5a84c9(0x3ad)][_0x5a84c9(0x35a)](_0x3f1ceb[_0x5a84c9(0x3f0)])[_0x5a84c9(0x3a3)]();_0x5cd0a4&&_0x5f34ee&&this[_0x5a84c9(0x566)](_0x5f34ee['getSheetId'](),_0x5cd0a4);}['_toggleOffline'](){const _0x5ef2bf=_0x112848;this[_0x5ef2bf(0x432)]=!0x1;}};us=qo([je(0x2,_0xa52f76(_0x2e5136)),je(0x3,_0xa52f76(Us)),je(0x4,_0xa52f76(Ae)),je(0x5,_0x1efafe),je(0x6,_0x18a422),je(0x7,_0xa52f76(_0x253623))],us);var Zo=Object[_0x112848(0x47b)],Qo=Object[_0x112848(0x331)],ea=(_0x4e5bf2,_0x434717,_0x3268b0,_0x289e7c)=>{const _0x23e329=_0x112848;for(var _0x3e2867=_0x289e7c>0x1?void 0x0:_0x289e7c?Qo(_0x434717,_0x3268b0):_0x434717,_0x36e11a=_0x4e5bf2[_0x23e329(0x2c7)]-0x1,_0x132f75;_0x36e11a>=0x0;_0x36e11a--)(_0x132f75=_0x4e5bf2[_0x36e11a])&&(_0x3e2867=(_0x289e7c?_0x132f75(_0x434717,_0x3268b0,_0x3e2867):_0x132f75(_0x3e2867))||_0x3e2867);return _0x289e7c&&_0x3e2867&&Zo(_0x434717,_0x3268b0,_0x3e2867),_0x3e2867;},zt=(_0xefa306,_0x405c87)=>(_0x465d63,_0x34ce87)=>_0x405c87(_0x465d63,_0x34ce87,_0xefa306);let Fe=class extends _0x40c6c0{constructor(_0x329ef7,_0x7c0c56,_0x5bda66){const _0xbdfddf=_0x112848;super(),g(this,_0xbdfddf(0x3a2),new Map()),g(this,_0xbdfddf(0x23c),new _0x37f3d3()),(this[_0xbdfddf(0x3ad)]=_0x329ef7,this[_0xbdfddf(0x382)]=_0x7c0c56,this[_0xbdfddf(0x2b2)]=_0x5bda66,this[_0xbdfddf(0x52b)]());}['dispose'](){const _0x3228a6=_0x112848;super['dispose'](),this['_entityInit$']['complete'](),this[_0x3228a6(0x3a2)]['forEach'](_0xde345e=>_0xde345e['dispose']());}[_0x112848(0x4c3)](_0x40f848){const _0x2eb392=_0x112848;return this['_entities'][_0x2eb392(0x543)](_0x40f848)?this[_0x2eb392(0x3a2)]['get'](_0x40f848)[_0x2eb392(0x244)]:this[_0x2eb392(0x23c)][_0x2eb392(0x529)](_0x2e0ab5(_0xb99f44=>_0xb99f44['unitID']===_0x40f848),_0x305d56(_0xf646d7=>_0xf646d7['cursorInfo$']));}[_0x112848(0x52b)](){const _0x2582b8=_0x112848;this[_0x2582b8(0x3ad)]['getTypeOfUnitAdded$'](_0x3f1ceb[_0x2582b8(0x3f0)])['pipe'](_0xb4b5bf(this['dispose$']))['subscribe'](async _0x4992ec=>{const _0x14d830=_0x2582b8,_0x19bb72=_0x4992ec[_0x14d830(0x579)](),_0x5c6b00=await this[_0x14d830(0x397)](_0x19bb72);this[_0x14d830(0x23c)]['next'](_0x5c6b00),this['_entities']['set'](_0x19bb72,_0x5c6b00);}),this[_0x2582b8(0x3ad)][_0x2582b8(0x571)](_0x3f1ceb[_0x2582b8(0x538)])[_0x2582b8(0x529)](_0xb4b5bf(this[_0x2582b8(0x204)]))[_0x2582b8(0x529)](_0x2e0ab5(_0x4bec2c=>!_0x4bec2c['getUnitId']()['startsWith']('__')))['subscribe'](async _0x9a47ba=>{const _0x17471f=_0x2582b8,_0x56ad91=_0x9a47ba[_0x17471f(0x579)](),_0x14120c=await this['_startDocCollabCursor'](_0x56ad91);this[_0x17471f(0x23c)][_0x17471f(0x53a)](_0x14120c),this[_0x17471f(0x3a2)][_0x17471f(0x2ab)](_0x56ad91,_0x14120c);}),_0x566afd(this['_univerInstanceService'][_0x2582b8(0x524)](_0x3f1ceb[_0x2582b8(0x538)]),this[_0x2582b8(0x3ad)]['getTypeOfUnitDisposed$'](_0x3f1ceb[_0x2582b8(0x3f0)]))['pipe'](_0xb4b5bf(this[_0x2582b8(0x204)]))[_0x2582b8(0x4f8)](_0x3a3b3a=>{const _0x3313da=_0x2582b8,_0x16d73e=_0x3a3b3a['getUnitId'](),_0x47634a=this[_0x3313da(0x3a2)][_0x3313da(0x4cd)](_0x16d73e);_0x47634a&&(_0x47634a['dispose'](),this[_0x3313da(0x3a2)][_0x3313da(0x37b)](_0x16d73e));});}async[_0x112848(0x397)](_0x2fb09f){const _0x560277=_0x112848,_0x3fdb5a=await this[_0x560277(0x2b2)][_0x560277(0x351)](_0x2fb09f),_0x36f6f3=this['_injector']['createInstance'](us,_0x2fb09f,_0x3fdb5a);return _0x36f6f3['init'](),_0x36f6f3;}async['_startDocCollabCursor'](_0x4950ff){const _0x539b7c=_0x112848,_0x3b124d=await this[_0x539b7c(0x2b2)][_0x539b7c(0x351)](_0x4950ff),_0x352042=this['_injector'][_0x539b7c(0x4d8)](_s,_0x4950ff,_0x3b124d);return _0x352042[_0x539b7c(0x460)](),_0x352042;}};Fe=ea([zt(0x0,_0x1efafe),zt(0x1,_0xa52f76(_0x2e5136)),zt(0x2,_0xa52f76(Me))],Fe);const rt=0x14,si=0xc8,Xt=0x4,ta=0x5;function sa(_0x4bc9f9,_0x380f66){const _0x56e8f8=_0x112848;let {radius:_0x15c153,width:_0x28ffef,height:_0xee5cb8}=_0x380f66;_0x15c153=_0x15c153!=null?_0x15c153:0x0,_0x28ffef=_0x28ffef!=null?_0x28ffef:0x1e,_0xee5cb8=_0xee5cb8!=null?_0xee5cb8:0x1e;let _0x5686ee=0x0,_0x412fcc=0x0,_0x51db1e=0x0;_0x5686ee=_0x412fcc=_0x51db1e=Math[_0x56e8f8(0x59a)](_0x15c153,_0x28ffef/0x2,_0xee5cb8/0x2),_0x4bc9f9[_0x56e8f8(0x266)](),_0x4bc9f9[_0x56e8f8(0x502)](_0x5686ee,0x0),_0x4bc9f9[_0x56e8f8(0x1ff)](_0x28ffef-_0x412fcc,0x0),_0x4bc9f9['arc'](_0x28ffef-_0x412fcc,_0x412fcc,_0x412fcc,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bc9f9[_0x56e8f8(0x1ff)](_0x28ffef,_0xee5cb8-_0x51db1e),_0x4bc9f9[_0x56e8f8(0x518)](_0x28ffef-_0x51db1e,_0xee5cb8-_0x51db1e,_0x51db1e,0x0,Math['PI']/0x2,!0x1),_0x4bc9f9['lineTo'](0x0,_0xee5cb8),_0x4bc9f9[_0x56e8f8(0x1ff)](0x0,_0x5686ee),_0x4bc9f9[_0x56e8f8(0x518)](_0x5686ee,_0x5686ee,_0x5686ee,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bc9f9['closePath'](),_0x380f66[_0x56e8f8(0x255)]&&(_0x4bc9f9[_0x56e8f8(0x586)](),_0x4bc9f9['fillStyle']=_0x380f66['fill'],_0x380f66['fillRule']===_0x56e8f8(0x616)?_0x4bc9f9[_0x56e8f8(0x255)](_0x56e8f8(0x616)):_0x4bc9f9[_0x56e8f8(0x255)](),_0x4bc9f9[_0x56e8f8(0x2b5)]());}class jt extends _0x426011{constructor(_0x4f615e,_0x4736b0){const _0x5aefee=_0x112848;super(_0x4f615e,_0x4736b0),g(this,_0x5aefee(0x406)),g(this,_0x5aefee(0x3df)),(this[_0x5aefee(0x406)]=_0x4736b0==null?void 0x0:_0x4736b0[_0x5aefee(0x406)],this['text']=_0x4736b0==null?void 0x0:_0x4736b0[_0x5aefee(0x3df)]);}static[_0x112848(0x254)](_0x241f4d,_0x517c42){const _0x542fba=_0x112848,{text:_0x359fc4,color:_0x11d84c}=_0x517c42;_0x241f4d['save'](),_0x241f4d[_0x542fba(0x301)]=_0x542fba(0x4d3);const _0x377497=_0x241f4d[_0x542fba(0x5d9)](_0x359fc4)[_0x542fba(0x422)],_0x211d67=Math[_0x542fba(0x59a)](_0x377497+0x2*Xt,si);sa(_0x241f4d,{'height':rt,'radius':0x4,'width':_0x211d67,'fill':_0x11d84c,'evented':!0x1}),_0x241f4d[_0x542fba(0x391)]=_0x542fba(0x5f4);const _0x3cf1f1=Xt,_0x25393d=rt-ta,_0x26a10f=si-0x2*Xt;if(_0x377497>_0x26a10f){let _0x5ab178='',_0x369cad=0x0;for(const _0x58300d of _0x359fc4){const _0x353777=_0x241f4d['measureText'](_0x58300d)['width'];if(_0x369cad+_0x353777<=_0x26a10f-_0x241f4d[_0x542fba(0x5d9)](_0x542fba(0x37d))[_0x542fba(0x422)])_0x5ab178+=_0x58300d,_0x369cad+=_0x353777;else{_0x5ab178+=_0x542fba(0x37d);break;}}_0x241f4d[_0x542fba(0x542)](_0x5ab178,_0x3cf1f1,_0x25393d);}else _0x241f4d[_0x542fba(0x542)](_0x359fc4,_0x3cf1f1,_0x25393d);_0x241f4d[_0x542fba(0x2b5)]();}[_0x112848(0x61d)](_0x1593e1){jt['drawWith'](_0x1593e1,this);}}const Jt=_0x112848(0x4cb),ia='collab-text-range-',ra=_0x112848(0x405),Xe=0x6,na=1.5,Zt=0x4,oa=1.5,aa=_0x112848(0x305);class ii{constructor(_0x49e191,_0x3139be,_0x3283a8,_0x1c1d74){const _0x1eac0e=_0x112848;g(this,'_shapes',[]),g(this,_0x1eac0e(0x5f3),null),g(this,'_textBubble',null),g(this,_0x1eac0e(0x4c5),null),g(this,_0x1eac0e(0x3ca),null),g(this,_0x1eac0e(0x58d),null),(this[_0x1eac0e(0x227)]=_0x49e191,this[_0x1eac0e(0x21e)]=_0x3139be,this[_0x1eac0e(0x26e)]=_0x3283a8,this[_0x1eac0e(0x343)]=_0x1c1d74,this[_0x1eac0e(0x3bc)]());}set[_0x112848(0x34e)](_0x495f5d){const _0x543e77=_0x112848;_0x495f5d?(this['_anchorDot']&&this[_0x543e77(0x4c5)][_0x543e77(0x5d6)](),this[_0x543e77(0x31d)]&&this[_0x543e77(0x31d)][_0x543e77(0x501)]()):(this[_0x543e77(0x4c5)]&&this[_0x543e77(0x4c5)][_0x543e77(0x501)](),this[_0x543e77(0x31d)]&&this[_0x543e77(0x31d)][_0x543e77(0x5d6)]());}[_0x112848(0x298)](){const _0x441b87=_0x112848;for(const _0x437a4a of this['_shapes'])_0x437a4a[_0x441b87(0x298)]();this[_0x441b87(0x31d)]&&this[_0x441b87(0x31d)][_0x441b87(0x298)](),this[_0x441b87(0x4c5)]&&this['_anchorDot'][_0x441b87(0x298)](),this['_anchor']&&this[_0x441b87(0x5f3)][_0x441b87(0x298)](),this[_0x441b87(0x58d)]&&this[_0x441b87(0x58d)]();}[_0x112848(0x3bc)](){const _0x46ea0c=_0x112848;var _0x580391;const {_docSkeleton:_0xf37cf6,_document:_0x433fb1}=this,{color:_0x589518,name:_0x481826,ranges:_0x54cee2}=this[_0x46ea0c(0x227)],_0x38796b=_0x433fb1[_0x46ea0c(0x4b4)](),{docsLeft:_0x506b82,docsTop:_0xad0b95}=_0x38796b,_0x417a6a=new _0x1313ee(_0x38796b,_0xf37cf6);for(const {startOffset:_0x5f2aca,endOffset:_0x518997,rangeType:_0x587a05,segmentId:_0x2299bf,segmentPage:_0x27551f,collapsed:_0x451247,isActive:_0x56d275}of _0x54cee2){const _0x1c3b74=_0xf37cf6[_0x46ea0c(0x4fd)](_0x5f2aca,!0x0,_0x2299bf,_0x27551f);let _0x2b8bb0=_0xf37cf6[_0x46ea0c(0x4fd)](_0x518997,!0x0,_0x2299bf,_0x27551f);if(_0x2b8bb0==null&&(_0x2b8bb0=_0xf37cf6[_0x46ea0c(0x4fd)](_0x518997-0x1,!0x1,_0x2299bf,_0x27551f)),_0x56d275){const {contentBoxPointGroup:_0x218b1d}=_0x417a6a['getRangePointData'](_0x2b8bb0,_0x2b8bb0);if(_0x218b1d[_0x46ea0c(0x2c7)]===0x0)continue;this[_0x46ea0c(0x386)](_0x589518,_0x218b1d,_0x506b82,_0xad0b95,_0x481826),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x1c3b74&&_0x2b8bb0){if(_0x587a05===_0x1c1637[_0x46ea0c(0x34a)]){const _0x3a5cd6=new _0x163ef7(_0x38796b,_0xf37cf6),{pointGroup:_0x19b092}=(_0x580391=_0x3a5cd6['getRangePointData'](_0x1c3b74,_0x2b8bb0))!=null?_0x580391:{};if(_0x19b092==null||_0x19b092[_0x46ea0c(0x2c7)]===0x0)continue;this[_0x46ea0c(0x230)](_0x589518,_0x19b092,_0x506b82,_0xad0b95);}else{if(!_0x451247){const {borderBoxPointGroup:_0x1aaaad}=_0x417a6a['getRangePointData'](_0x1c3b74,_0x2b8bb0);if(_0x1aaaad[_0x46ea0c(0x2c7)]===0x0)continue;this[_0x46ea0c(0x5bb)](_0x589518,_0x1aaaad,_0x506b82,_0xad0b95);}}}}}[_0x112848(0x386)](_0x59317b,_0xa9d29d,_0x14a81d,_0x24441a,_0x20b853){const _0x34edd9=_0x112848,_0x2456e2=this['_getAnchorBounding'](_0xa9d29d),{left:_0x1bab9c,top:_0x11b27b,height:_0x45111f}=_0x2456e2,_0x4a55f2=this['_getScale'](),_0x117984=oa/_0x4a55f2,_0x175d09=new _0x2bdb9c(Jt+_0x5a9c5d['generateRandomId'](Xe),{'left':_0x1bab9c+_0x14a81d-_0x117984,'top':_0x11b27b+_0x24441a,'height':_0x45111f,'width':na,'fill':_0x59317b||_0x7a80fe(_0xb724fd[_0x34edd9(0x2eb)],0x0),'strokeWidth':_0x117984,'stroke':aa,'evented':!0x0});this[_0x34edd9(0x5f3)]=_0x175d09,this[_0x34edd9(0x21e)]['addObject'](_0x175d09,_0x184e3f);const _0x48e7a1=new _0x2bdb9c(Jt+_0x5a9c5d[_0x34edd9(0x3db)](Xe),{'left':_0x1bab9c+_0x14a81d-_0x117984,'top':_0x11b27b+_0x24441a-Zt/0x2,'height':Zt,'width':Zt,'fill':_0x59317b||_0x7a80fe(_0xb724fd['black'],0x0),'strokeWidth':0x0,'stroke':_0x59317b||_0x7a80fe(_0xb724fd[_0x34edd9(0x2eb)],0x0),'evented':!0x1});this[_0x34edd9(0x4c5)]=_0x48e7a1,this[_0x34edd9(0x21e)][_0x34edd9(0x4f6)](_0x48e7a1,_0x184e3f);const _0x1e9798=new jt(Jt+_0x5a9c5d['generateRandomId'](Xe),{'left':_0x1bab9c+_0x14a81d-_0x117984,'top':_0x11b27b+_0x24441a-rt,'text':_0x20b853,'color':_0x59317b});this['_textBubble']=_0x1e9798,this[_0x34edd9(0x21e)][_0x34edd9(0x4f6)](_0x1e9798,_0x184e3f),this['_hover']=!0x1;}['_handleHover'](){const _0x27a517=_0x112848,_0xb24d3=this[_0x27a517(0x5f3)][_0x27a517(0x564)][_0x27a517(0x354)](()=>{this['_hover']=!0x0;}),_0x6c5664=this[_0x27a517(0x5f3)][_0x27a517(0x56a)][_0x27a517(0x354)](()=>{const _0x12ad83=_0x27a517;this[_0x12ad83(0x3ca)]&&clearTimeout(this[_0x12ad83(0x3ca)]),this[_0x12ad83(0x3ca)]=setTimeout(()=>{const _0x1fb898=_0x12ad83;this[_0x1fb898(0x34e)]=!0x1;},0x7d0);});return()=>{const _0x24168e=_0x27a517;_0xb24d3[_0x24168e(0x1f8)](),_0x6c5664[_0x24168e(0x1f8)]();};}[_0x112848(0x5bb)](_0x275f72,_0x55f9ab,_0x3a67ed,_0x18104e){const _0x5792c3=_0x112848,_0x337e7b=new _0x182947(_0x275f72)[_0x5792c3(0x5a4)](0.2)[_0x5792c3(0x5c8)](),_0xf2623d=new _0x10f4f6(ia+_0x5a9c5d[_0x5792c3(0x3db)](Xe),{'pointsGroup':_0x55f9ab,'fill':_0x337e7b||_0x7a80fe(_0xb724fd[_0x5792c3(0x2eb)],0.2),'left':_0x3a67ed,'top':_0x18104e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5792c3(0x5d2)][_0x5792c3(0x2aa)](_0xf2623d),this[_0x5792c3(0x21e)][_0x5792c3(0x4f6)](_0xf2623d,_0x184e3f);}['_drawRectRange'](_0x30a3a4,_0x1c68f5,_0x528f3d,_0x3ff89a){const _0x347e14=_0x112848,_0x105c6f=new _0x182947(_0x30a3a4)[_0x347e14(0x5a4)](0.2)[_0x347e14(0x5c8)](),_0x3cca48=new _0x10f4f6(ra+_0x5a9c5d['generateRandomId'](Xe),{'pointsGroup':_0x1c68f5,'fill':_0x105c6f||_0x7a80fe(_0xb724fd[_0x347e14(0x2eb)],0.2),'left':_0x528f3d,'top':_0x3ff89a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x347e14(0x5d2)][_0x347e14(0x2aa)](_0x3cca48),this['_scene']['addObject'](_0x3cca48,_0x184e3f);}[_0x112848(0x210)](_0x25710c){const _0x450582=_0x25710c[0x0],_0x542356=_0x450582[0x0],_0x525cb0=_0x450582[0x2],{x:_0x541da1,y:_0xdfc79d}=_0x542356,{x:_0x2e9b6f,y:_0x44e29d}=_0x525cb0;return{'left':_0x541da1,'top':_0xdfc79d,'width':_0x2e9b6f-_0x541da1,'height':_0x44e29d-_0xdfc79d};}[_0x112848(0x2db)](){const _0x236fb4=_0x112848,{scaleX:_0x526277,scaleY:_0x1b399d}=this[_0x236fb4(0x21e)][_0x236fb4(0x45d)]();return Math[_0x236fb4(0x21f)](_0x526277,_0x1b399d);}}var ca=Object[_0x112848(0x47b)],ha=Object[_0x112848(0x331)],la=(_0x3c1bd7,_0x2caa85,_0x2479a9,_0x2c8785)=>{const _0x39eb83=_0x112848;for(var _0x4c1675=_0x2c8785>0x1?void 0x0:_0x2c8785?ha(_0x2caa85,_0x2479a9):_0x2caa85,_0x387bc0=_0x3c1bd7[_0x39eb83(0x2c7)]-0x1,_0x1a4225;_0x387bc0>=0x0;_0x387bc0--)(_0x1a4225=_0x3c1bd7[_0x387bc0])&&(_0x4c1675=(_0x2c8785?_0x1a4225(_0x2caa85,_0x2479a9,_0x4c1675):_0x1a4225(_0x4c1675))||_0x4c1675);return _0x2c8785&&_0x4c1675&&ca(_0x2caa85,_0x2479a9,_0x4c1675),_0x4c1675;},ct=(_0x30769e,_0x31566a)=>(_0x21f296,_0x38e24c)=>_0x31566a(_0x21f296,_0x38e24c,_0x30769e);let ds=class extends _0x40c6c0{constructor(_0x1810bb,_0x4d387d,_0x879f3d,_0x57fe60,_0x34302d){const _0x1e7d59=_0x112848;super(),g(this,'_cursorShapes',[]),g(this,_0x1e7d59(0x55c),[]),(this[_0x1e7d59(0x38f)]=_0x1810bb,this[_0x1e7d59(0x4cc)]=_0x4d387d,this[_0x1e7d59(0x58e)]=_0x879f3d,this[_0x1e7d59(0x4f1)]=_0x57fe60,this['_themeService']=_0x34302d,this['_init']());}['_init'](){const _0x4fe322=_0x112848,_0x8c8abc=this[_0x4fe322(0x38f)][_0x4fe322(0x261)],_0x3f2bbb=this[_0x4fe322(0x4cc)];this[_0x4fe322(0x29e)](_0x398699([this[_0x4fe322(0x58e)][_0x4fe322(0x4c3)](_0x8c8abc),this['_themeService']['currentTheme$']])['pipe'](_0x338263(([_0x335e6b,_0x27dbaf])=>({'skeleton':_0x3f2bbb[_0x4fe322(0x207)](),'cursors':[..._0x335e6b['values']()]['flatMap'](_0xadd14b=>({..._0xadd14b,'color':_0x27dbaf[_0xadd14b[_0x4fe322(0x406)]]}))})))[_0x4fe322(0x4f8)](_0x2fd29d=>{const _0x3777b=_0x4fe322;if(this[_0x3777b(0x417)](),_0x2fd29d){const {skeleton:_0x1c3f00,cursors:_0x187a79}=_0x2fd29d;this[_0x3777b(0x446)](_0x1c3f00,_0x187a79);}})),this[_0x4fe322(0x512)](),this[_0x4fe322(0x554)]();}[_0x112848(0x446)](_0x22df7f,_0x2fd89e){const _0x4172ce=_0x112848,{scene:_0x45722c,mainComponent:_0x51e315}=this[_0x4172ce(0x38f)],_0x145835=_0x2fd89e[_0x4172ce(0x400)](_0x4a8023=>new ii(_0x4a8023,_0x45722c,_0x22df7f,_0x51e315));this['_cursorShapes']=_0x145835,this['_cursors']=_0x2fd89e;}[_0x112848(0x583)](){const _0x971c5e=_0x112848;this[_0x971c5e(0x417)]();const {scene:_0x415a03,mainComponent:_0x5e97aa}=this[_0x971c5e(0x38f)],_0x22b173=this[_0x971c5e(0x4cc)][_0x971c5e(0x207)](),_0x154038=this['_cursors'][_0x971c5e(0x400)](_0xa74e4f=>new ii(_0xa74e4f,_0x415a03,_0x22b173,_0x5e97aa));this[_0x971c5e(0x27a)]=_0x154038;}[_0x112848(0x417)](){const _0x308697=_0x112848;this['_cursorShapes']['forEach'](_0x5d8f2f=>_0x5d8f2f[_0x308697(0x298)]()),this[_0x308697(0x27a)]=[];}['_initCommandExecutedListener'](){const _0x3e8c6d=_0x112848,_0xc3f8a=[_0x262271['id']];this['disposeWithMe'](this[_0x3e8c6d(0x4f1)][_0x3e8c6d(0x2ef)](_0x297a21=>{const _0x539b3d=_0x3e8c6d;_0xc3f8a[_0x539b3d(0x3c5)](_0x297a21['id'])&&_0x297a21[_0x539b3d(0x256)][_0x539b3d(0x261)]===this[_0x539b3d(0x38f)][_0x539b3d(0x261)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x10d4a4=_0x112848;this[_0x10d4a4(0x29e)](_0x25214b(this[_0x10d4a4(0x38f)]['engine'][_0x10d4a4(0x42e)])[_0x10d4a4(0x529)](_0x4c7b7d(_0x5226f5=>_0x5226f5[_0x10d4a4(0x5b1)]===_0x20b791['resize']),_0x1755d1(0x10))['subscribe'](()=>{const _0x305341=_0x10d4a4;this[_0x305341(0x583)]();}));}};ds=la([ct(0x1,_0xa52f76(_0x5ba5a1)),ct(0x2,_0xa52f76(Fe)),ct(0x3,_0x18a422),ct(0x4,_0xa52f76(_0x1205f5))],ds);const _a=0x1,ua=1.5;class da extends _0x426011{constructor(_0x4bd281,_0x337139){const _0x568af4=_0x112848;super(_0x4bd281,_0x337139),g(this,'_color'),g(this,_0x568af4(0x504),!0x1),g(this,_0x568af4(0x490)),g(this,_0x568af4(0x4fe),''),g(this,_0x568af4(0x4f4),_0x568af4(0x56e)),g(this,_0x568af4(0x2df)),(_0x337139&&this[_0x568af4(0x612)](_0x337139),this[_0x568af4(0x564)][_0x568af4(0x354)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x568af4(0x56a)][_0x568af4(0x354)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3e1b0c){const _0x4e9dc5=_0x112848;var _0x304b18,_0x4e03a2,_0x5d54b3,_0x4b7a4f,_0x4fee0f,_0x242ce4;this[_0x4e9dc5(0x4c9)]=(_0x304b18=_0x3e1b0c[_0x4e9dc5(0x406)])!=null?_0x304b18:this[_0x4e9dc5(0x4c9)],this[_0x4e9dc5(0x504)]=(_0x4e03a2=_0x3e1b0c[_0x4e9dc5(0x464)])!=null?_0x4e03a2:this['_hovered'],this[_0x4e9dc5(0x490)]=(_0x5d54b3=_0x3e1b0c[_0x4e9dc5(0x3b6)])!=null?_0x5d54b3:this[_0x4e9dc5(0x490)],this[_0x4e9dc5(0x4fe)]=(_0x4b7a4f=_0x3e1b0c[_0x4e9dc5(0x353)])!=null?_0x4b7a4f:this[_0x4e9dc5(0x4fe)],this[_0x4e9dc5(0x4f4)]=(_0x4fee0f=_0x3e1b0c[_0x4e9dc5(0x4e1)])!=null?_0x4fee0f:this[_0x4e9dc5(0x4f4)],this[_0x4e9dc5(0x2df)]=(_0x242ce4=_0x3e1b0c[_0x4e9dc5(0x228)])!=null?_0x242ce4:this[_0x4e9dc5(0x2df)],this[_0x4e9dc5(0x58f)]({'width':_0x3e1b0c[_0x4e9dc5(0x422)],'height':_0x3e1b0c['height']});}[_0x112848(0x492)](_0x3d8dd9){const _0x39a60e=_0x112848,{row:_0x58aa36,column:_0x1aae7e}=_0x3d8dd9;if(_0x58aa36>=this[_0x39a60e(0x490)][_0x39a60e(0x2fe)]&&_0x58aa36<=this[_0x39a60e(0x490)][_0x39a60e(0x2d1)]&&_0x1aae7e>=this[_0x39a60e(0x490)]['startColumn']&&_0x1aae7e<=this['_range'][_0x39a60e(0x28c)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x39a60e(0x612)]({'hovered':!0x1});}[_0x112848(0x2c1)](_0x3aa174){return!0x1;}[_0x112848(0x61d)](_0x442d96){const _0x56c63a=_0x112848;_0x2bdb9c[_0x56c63a(0x254)](_0x442d96,{'width':this[_0x56c63a(0x422)],'height':this[_0x56c63a(0x2b7)],'strokeWidth':ua,'stroke':this[_0x56c63a(0x4c9)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x56c63a(0x504)]&&(_0x442d96[_0x56c63a(0x586)](),_0x442d96[_0x56c63a(0x49a)](0x1,0x0,0x0,0x1,this[_0x56c63a(0x422)],this[_0x56c63a(0x4f4)]===_0x56c63a(0x35d)?0x0:-rt),jt[_0x56c63a(0x254)](_0x442d96,{'text':this['_name'],'color':this['_color']}),_0x442d96[_0x56c63a(0x2b5)]());}}var fa=Object[_0x112848(0x47b)],va=Object[_0x112848(0x331)],pa=(_0x20c15a,_0x520577,_0x1551fe,_0x2433d6)=>{const _0x4a7839=_0x112848;for(var _0x377b58=_0x2433d6>0x1?void 0x0:_0x2433d6?va(_0x520577,_0x1551fe):_0x520577,_0x32a4f1=_0x20c15a[_0x4a7839(0x2c7)]-0x1,_0x5ccc17;_0x32a4f1>=0x0;_0x32a4f1--)(_0x5ccc17=_0x20c15a[_0x32a4f1])&&(_0x377b58=(_0x2433d6?_0x5ccc17(_0x520577,_0x1551fe,_0x377b58):_0x5ccc17(_0x377b58))||_0x377b58);return _0x2433d6&&_0x377b58&&fa(_0x520577,_0x1551fe,_0x377b58),_0x377b58;},Qt=(_0x1726ca,_0xb26f09)=>(_0x4e8104,_0x2db9e7)=>_0xb26f09(_0x4e8104,_0x2db9e7,_0x1726ca);const ma=0x1389;let fs=class extends _0x40c6c0{constructor(_0x5b6681,_0x2e2bf5,_0x20c7fd,_0x3c97e3){const _0x482c09=_0x112848;super(),g(this,'_cursors',new Set()),g(this,_0x482c09(0x420),null),(this[_0x482c09(0x38f)]=_0x5b6681,this[_0x482c09(0x273)]=_0x2e2bf5,this[_0x482c09(0x58e)]=_0x20c7fd,this[_0x482c09(0x2fb)]=_0x3c97e3,this[_0x482c09(0x52b)]());}[_0x112848(0x52b)](){const _0x3a7414=_0x112848;this[_0x3a7414(0x273)][_0x3a7414(0x311)][_0x3a7414(0x529)](_0x5b0372(this[_0x3a7414(0x204)]),_0x4cc5c2(_0x4e71f7=>{const _0x34dc35=_0x3a7414;if(_0x4e71f7){const _0x5a8b3a=_0x4e71f7['sheetId'];return _0x398699(this['_collabCursorController'][_0x34dc35(0x4c3)](this[_0x34dc35(0x38f)][_0x34dc35(0x261)]),this[_0x34dc35(0x2fb)][_0x34dc35(0x5db)])[_0x34dc35(0x529)](_0x338263(([_0x592b48,_0x2388ad])=>{const _0x550fbc=_0x34dc35,_0x564faa=new Map();return _0x592b48[_0x550fbc(0x209)]((_0x4f85fb,_0x5a45a6)=>{const _0x70a895=_0x550fbc;if(_0x4f85fb[_0x70a895(0x438)]===_0x5a8b3a){const _0x44c7cc={..._0x4f85fb};_0x44c7cc[_0x70a895(0x406)]=_0x2388ad[_0x4f85fb[_0x70a895(0x406)]],_0x564faa[_0x70a895(0x2ab)](_0x5a45a6,_0x44c7cc);}}),{'skeleton':_0x4e71f7,'cursors':_0x564faa};}));}return _0x3856a9({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x51793f,cursors:_0x5223b2})=>{const _0x1b5ae6=_0x3a7414;this['_removeCollabCursors'](),_0x51793f&&this[_0x1b5ae6(0x446)](_0x51793f,_0x5223b2);}),this[_0x3a7414(0x273)][_0x3a7414(0x311)][_0x3a7414(0x4f8)](_0x16df5f=>{const _0xa63335=_0x3a7414;if(_0x16df5f==null)return;const {skeleton:_0x11f39f}=_0x16df5f,{scene:_0x17037b}=this[_0xa63335(0x38f)];_0x17037b[_0xa63335(0x1f0)][_0xa63335(0x354)](_0x5d2740(_0x4f0d03=>{const _0x4e26cb=_0xa63335;var _0x4119ef,_0x4310ef;const {offsetX:_0x3ff550,offsetY:_0x73883d}=_0x4f0d03,{x:_0xb591a3,y:_0x4cb352}=_0x17037b[_0x4e26cb(0x527)](_0x456d3c[_0x4e26cb(0x26d)]([_0x3ff550,_0x73883d])),{scaleX:_0x2a585d,scaleY:_0x42fe1a}=_0x17037b[_0x4e26cb(0x45d)](),_0x11843a=_0x17037b[_0x4e26cb(0x206)](_0x3ab83e[_0x4e26cb(0x319)]),_0xb48c07=_0x17037b[_0x4e26cb(0x2ba)](_0x456d3c[_0x4e26cb(0x26d)]([_0xb591a3,_0x4cb352]),_0x11843a),_0x4f6a2c=_0x11f39f['getCellPositionByOffset'](_0x3ff550,_0x73883d,_0x2a585d,_0x42fe1a,_0xb48c07);((_0x4119ef=this[_0x4e26cb(0x420)])==null?void 0x0:_0x4119ef['column'])===_0x4f6a2c[_0x4e26cb(0x349)]&&((_0x4310ef=this[_0x4e26cb(0x420)])==null?void 0x0:_0x4310ef['row'])===_0x4f6a2c[_0x4e26cb(0x43f)]||this[_0x4e26cb(0x55c)]['forEach'](_0x545696=>{const _0x69a510=_0x4e26cb;_0x545696[_0x69a510(0x492)](_0x4f6a2c);});},0x64));});}[_0x112848(0x446)](_0x300288,_0x2403d1){const _0x1063c1=_0x112848;var _0x78c3d0;const _0x14487d=(_0x78c3d0=this[_0x1063c1(0x273)][_0x1063c1(0x346)]())==null?void 0x0:_0x78c3d0['skeleton'];if(!_0x14487d)return;const _0x3699ee=this['_getSheetObject']();if(!_0x3699ee)return;this['_cursors'][_0x1063c1(0x209)](_0x216e34=>{const _0x49092d=_0x1063c1;_0x216e34[_0x49092d(0x2a0)]();});const {scene:_0x410041}=_0x3699ee,_0x286560=ga(Array[_0x1063c1(0x38c)](_0x2403d1[_0x1063c1(0x27c)]()))[_0x1063c1(0x400)](_0x516e84=>{const _0x5ae49e=_0x1063c1,{color:_0x39b4ee,range:_0x579042,name:_0x44def4,selection:_0x587958,sheetID:_0x308f00}=_0x516e84,{startColumn:_0xd900e1,startRow:_0x187e68,endColumn:_0x54e7b8,endRow:_0x39bbb3}=_0x579042,_0x11e1c7=_0x54af00(_0x187e68,_0xd900e1,_0x410041,_0x14487d),_0x21d071=_0x54af00(_0x39bbb3,_0x54e7b8,_0x410041,_0x14487d),{columnHeaderHeightAndMarginTop:_0x302287}=_0x14487d,{startX:_0x3b85a7,startY:_0x219f7c}=_0x11e1c7,{endX:_0x2da826,endY:_0x2485d9}=_0x21d071,_0x265f26=_0x2da826-_0x3b85a7,_0x2563b2=_0x2485d9-_0x219f7c,_0x18701d={'labelPosition':_0x219f7c-_0x302287>=rt?_0x5ae49e(0x56e):'bottom','sheetID':_0x308f00,'range':_0x579042,'color':_0x39b4ee,'name':_0x44def4,'selection':_0x587958,'left':_0x3b85a7,'top':_0x219f7c,'width':_0x265f26,'height':_0x2563b2,'evented':!0x1,'zIndex':ma};return new da(_0x44def4,_0x18701d);});_0x410041[_0x1063c1(0x262)](_0x286560,_a),this[_0x1063c1(0x55c)]=new Set(_0x286560);}['_removeCollabCursors'](){const _0x495791=_0x112848;var _0x58083e;(_0x58083e=this[_0x495791(0x55c)])==null||_0x58083e['forEach'](_0x7a440b=>_0x7a440b[_0x495791(0x298)]());}[_0x112848(0x304)](){const _0x7f6bee=_0x112848;return _0x1bd3b5(this[_0x7f6bee(0x38f)][_0x7f6bee(0x5eb)],this[_0x7f6bee(0x38f)]);}};fs=pa([Qt(0x1,_0xa52f76(_0x54a0b0)),Qt(0x2,_0xa52f76(Fe)),Qt(0x3,_0xa52f76(_0x1205f5))],fs);function ga(_0x2ec9d2){const _0x54ed35=_0x112848,_0x4e67f0=new Map();return _0x2ec9d2[_0x54ed35(0x209)](_0x24c4c9=>{const _0x173184=_0x54ed35;if(_0x4e67f0[_0x173184(0x543)](_0x24c4c9[_0x173184(0x40d)])){const _0xb86868=_0x4e67f0[_0x173184(0x4cd)](_0x24c4c9['selection']);_0xb86868[_0x173184(0x353)]+=',\x20'+_0x24c4c9[_0x173184(0x353)];}else _0x4e67f0[_0x173184(0x2ab)](_0x24c4c9['selection'],_0x24c4c9);}),Array['from'](_0x4e67f0['values']());}var es=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x29b2e9){const _0x19bddc=_0x112848;return _0x29b2e9&&_0x29b2e9[_0x19bddc(0x3e9)]&&Object[_0x19bddc(0x36f)][_0x19bddc(0x575)][_0x19bddc(0x32c)](_0x29b2e9,_0x19bddc(0x547))?_0x29b2e9[_0x19bddc(0x547)]:_0x29b2e9;}var ts={'exports':{}},Je={},ri;function Sa(){const _0x5ad30e=_0x112848;if(ri)return Je;ri=0x1;var _0x512370=_0x282e13,_0xfdd2c0=Symbol[_0x5ad30e(0x57c)](_0x5ad30e(0x3f4)),_0x2eecfe=Symbol[_0x5ad30e(0x57c)](_0x5ad30e(0x269)),_0x297501=Object[_0x5ad30e(0x36f)]['hasOwnProperty'],_0x3e31ee=_0x512370[_0x5ad30e(0x3a8)][_0x5ad30e(0x5f2)],_0x1b6b4a={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4f9b86(_0x56ccc9,_0x1e1c1a,_0x49e274){const _0x426fb5=_0x5ad30e;var _0x4724d7,_0x420486={},_0xb20bce=null,_0x4c53b3=null;_0x49e274!==void 0x0&&(_0xb20bce=''+_0x49e274),_0x1e1c1a[_0x426fb5(0x27b)]!==void 0x0&&(_0xb20bce=''+_0x1e1c1a[_0x426fb5(0x27b)]),_0x1e1c1a[_0x426fb5(0x578)]!==void 0x0&&(_0x4c53b3=_0x1e1c1a[_0x426fb5(0x578)]);for(_0x4724d7 in _0x1e1c1a)_0x297501[_0x426fb5(0x32c)](_0x1e1c1a,_0x4724d7)&&!_0x1b6b4a[_0x426fb5(0x575)](_0x4724d7)&&(_0x420486[_0x4724d7]=_0x1e1c1a[_0x4724d7]);if(_0x56ccc9&&_0x56ccc9[_0x426fb5(0x3b5)]){for(_0x4724d7 in(_0x1e1c1a=_0x56ccc9['defaultProps'],_0x1e1c1a))_0x420486[_0x4724d7]===void 0x0&&(_0x420486[_0x4724d7]=_0x1e1c1a[_0x4724d7]);}return{'$$typeof':_0xfdd2c0,'type':_0x56ccc9,'key':_0xb20bce,'ref':_0x4c53b3,'props':_0x420486,'_owner':_0x3e31ee['current']};}return Je[_0x5ad30e(0x41f)]=_0x2eecfe,Je[_0x5ad30e(0x3e2)]=_0x4f9b86,Je[_0x5ad30e(0x379)]=_0x4f9b86,Je;}var ni;function Ia(){const _0x1ef787=_0x112848;return ni||(ni=0x1,ts['exports']=Sa()),ts[_0x1ef787(0x23f)];}var De=Ia(),te=function(){const _0x703554=_0x112848;return te=Object[_0x703554(0x5ba)]||function(_0xf88d95){const _0x57bdec=_0x703554;for(var _0x2dfa2a,_0xecef31=0x1,_0x3c13e7=arguments[_0x57bdec(0x2c7)];_0xecef31<_0x3c13e7;_0xecef31++){_0x2dfa2a=arguments[_0xecef31];for(var _0x4445e1 in _0x2dfa2a)Object['prototype'][_0x57bdec(0x575)][_0x57bdec(0x32c)](_0x2dfa2a,_0x4445e1)&&(_0xf88d95[_0x4445e1]=_0x2dfa2a[_0x4445e1]);}return _0xf88d95;},te[_0x703554(0x290)](this,arguments);},Ca=function(_0x3e9638,_0x570b41){const _0x111dd2=_0x112848;var _0x1d6cf4={};for(var _0x2512d4 in _0x3e9638)Object[_0x111dd2(0x36f)][_0x111dd2(0x575)]['call'](_0x3e9638,_0x2512d4)&&_0x570b41[_0x111dd2(0x4ab)](_0x2512d4)<0x0&&(_0x1d6cf4[_0x2512d4]=_0x3e9638[_0x2512d4]);if(_0x3e9638!=null&&typeof Object[_0x111dd2(0x42c)]==_0x111dd2(0x4ce)){for(var _0xc68a8c=0x0,_0x2512d4=Object[_0x111dd2(0x42c)](_0x3e9638);_0xc68a8c<_0x2512d4[_0x111dd2(0x2c7)];_0xc68a8c++)_0x570b41[_0x111dd2(0x4ab)](_0x2512d4[_0xc68a8c])<0x0&&Object[_0x111dd2(0x36f)][_0x111dd2(0x3f8)][_0x111dd2(0x32c)](_0x3e9638,_0x2512d4[_0xc68a8c])&&(_0x1d6cf4[_0x2512d4[_0xc68a8c]]=_0x3e9638[_0x2512d4[_0xc68a8c]]);}return _0x1d6cf4;},Ns=_0x234df0(function(_0x2e750d,_0x2186d0){const _0x90cb08=_0x112848;var _0x2eb1ee=_0x2e750d[_0x90cb08(0x5be)],_0x1e2972=_0x2e750d['id'],_0x52c868=_0x2e750d[_0x90cb08(0x5ef)],_0x3cc1b8=_0x2e750d['extend'],_0x4aab3d=Ca(_0x2e750d,['icon','id',_0x90cb08(0x5ef),'extend']),_0x3d4eb4='univerjs-icon\x20univerjs-icon-'[_0x90cb08(0x480)](_0x1e2972,'\x20')[_0x90cb08(0x480)](_0x52c868||'')[_0x90cb08(0x4a7)](),_0x370b15=_0x482462('_'[_0x90cb08(0x480)](Ta()));return Ji(_0x2eb1ee,''[_0x90cb08(0x480)](_0x1e2972),{'defIds':_0x2eb1ee['defIds'],'idSuffix':_0x370b15[_0x90cb08(0x3f2)]},te({'ref':_0x2186d0,'className':_0x3d4eb4},_0x4aab3d),_0x3cc1b8);});function Ji(_0x241120,_0x1f17c3,_0x72f5f6,_0x80a97d,_0x509e02){const _0x1efe80=_0x112848;return _0x7a3241(_0x241120[_0x1efe80(0x2ff)],te(te({'key':_0x1f17c3},Ea(_0x241120,_0x72f5f6,_0x509e02)),_0x80a97d),(ba(_0x241120,_0x72f5f6)[_0x1efe80(0x53d)]||[])[_0x1efe80(0x400)](function(_0x48b568,_0x44d7af){const _0x5e18ee=_0x1efe80;return Ji(_0x48b568,''[_0x5e18ee(0x480)](_0x1f17c3,'-')[_0x5e18ee(0x480)](_0x241120[_0x5e18ee(0x2ff)],'-')[_0x5e18ee(0x480)](_0x44d7af),_0x72f5f6,void 0x0,_0x509e02);}));}function Ea(_0x427996,_0x5e0214,_0x139b5b){const _0x59de77=_0x112848;var _0x5785a3=te({},_0x427996[_0x59de77(0x34b)]);_0x139b5b!=null&&_0x139b5b['colorChannel1']&&_0x5785a3[_0x59de77(0x255)]===_0x59de77(0x46e)&&(_0x5785a3[_0x59de77(0x255)]=_0x139b5b[_0x59de77(0x46e)]);var _0x1ae575=_0x5e0214[_0x59de77(0x2e2)];return!_0x1ae575||_0x1ae575[_0x59de77(0x2c7)]===0x0||(_0x427996[_0x59de77(0x2ff)]===_0x59de77(0x49d)&&_0x5785a3[_0x59de77(0x493)]&&(_0x5785a3[_0x59de77(0x493)]=_0x5785a3[_0x59de77(0x493)]+_0x5e0214[_0x59de77(0x576)]),Object[_0x59de77(0x2f1)](_0x5785a3)[_0x59de77(0x209)](function(_0x4e4eb0){const _0x4f33b5=_0x59de77;var _0x48cb0c=_0x4e4eb0[0x0],_0x1dd100=_0x4e4eb0[0x1];typeof _0x1dd100==_0x4f33b5(0x458)&&(_0x5785a3[_0x48cb0c]=_0x1dd100[_0x4f33b5(0x1f2)](/url\(#(.*)\)/,_0x4f33b5(0x339)[_0x4f33b5(0x480)](_0x5e0214[_0x4f33b5(0x576)],')')));})),_0x5785a3;}function ba(_0x374265,_0x4b60dd){const _0x491e7c=_0x112848;var _0x2739fd,_0x2b760f=_0x4b60dd[_0x491e7c(0x2e2)];return!_0x2b760f||_0x2b760f[_0x491e7c(0x2c7)]===0x0?_0x374265:_0x374265['tag']==='defs'&&(!((_0x2739fd=_0x374265['children'])===null||_0x2739fd===void 0x0)&&_0x2739fd['length'])?te(te({},_0x374265),{'children':_0x374265['children'][_0x491e7c(0x400)](function(_0x20fd1a){const _0x130895=_0x491e7c;return typeof _0x20fd1a['attrs']['id']==_0x130895(0x458)&&_0x2b760f&&_0x2b760f['indexOf'](_0x20fd1a[_0x130895(0x34b)]['id'])>-0x1?te(te({},_0x20fd1a),{'attrs':te(te({},_0x20fd1a[_0x130895(0x34b)]),{'id':_0x20fd1a['attrs']['id']+_0x4b60dd[_0x130895(0x576)]})}):_0x20fd1a;})}):_0x374265;}function Ta(){const _0x280d08=_0x112848;return Math[_0x280d08(0x312)]()[_0x280d08(0x27e)](0x24)[_0x280d08(0x39c)](0x2,0x8);}Ns[_0x112848(0x2e4)]='UniverIcon';var Ra={'tag':_0x112848(0x41d),'attrs':{'fill':_0x112848(0x3c1),'viewBox':_0x112848(0x448),'width':_0x112848(0x537),'height':_0x112848(0x537)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x112848(0x24c),'strokeLinecap':_0x112848(0x4d1),'strokeLinejoin':_0x112848(0x4d1),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x112848(0x316),'attrs':{'id':_0x112848(0x335)},'children':[{'tag':_0x112848(0x509),'attrs':{'fill':_0x112848(0x220),'d':_0x112848(0x418)}}]}]}],'defIds':[_0x112848(0x335)]},Zi=_0x234df0(function(_0x253056,_0x3ea732){return _0x7a3241(Ns,Object['assign']({},_0x253056,{'id':'off-line-single','ref':_0x3ea732,'icon':Ra}));});Zi[_0x112848(0x2e4)]=_0x112848(0x44a);var Oa={'tag':'svg','attrs':{'fill':_0x112848(0x3c1),'viewBox':_0x112848(0x439),'width':'1em','height':_0x112848(0x537)},'children':[{'tag':'g','attrs':{'clipPath':_0x112848(0x217)},'children':[{'tag':_0x112848(0x509),'attrs':{'stroke':'currentColor','d':_0x112848(0x246),'strokeLinecap':_0x112848(0x4d1),'strokeLinejoin':_0x112848(0x4d1),'strokeWidth':1.2}}]},{'tag':_0x112848(0x369),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x112848(0x5cb)},'children':[{'tag':_0x112848(0x509),'attrs':{'fill':'#fff','d':_0x112848(0x418),'transform':'translate(.97)'}}]}]}],'defIds':[_0x112848(0x5cb)]},Qi=_0x234df0(function(_0x2ac196,_0x4d42c6){const _0x150a64=_0x112848;return _0x7a3241(Ns,Object[_0x150a64(0x5ba)]({},_0x2ac196,{'id':_0x150a64(0x3e1),'ref':_0x4d42c6,'icon':Oa}));});Qi['displayName']='OnLineSingle';function er(_0x15385){const _0x76eda1=_0x112848;var _0x49e23d,_0x20c269,_0xb5d35a='';if(typeof _0x15385==_0x76eda1(0x458)||typeof _0x15385==_0x76eda1(0x467))_0xb5d35a+=_0x15385;else{if(typeof _0x15385==_0x76eda1(0x214)){if(Array[_0x76eda1(0x5f9)](_0x15385)){var _0x353fc5=_0x15385['length'];for(_0x49e23d=0x0;_0x49e23d<_0x353fc5;_0x49e23d++)_0x15385[_0x49e23d]&&(_0x20c269=er(_0x15385[_0x49e23d]))&&(_0xb5d35a&&(_0xb5d35a+='\x20'),_0xb5d35a+=_0x20c269);}else{for(_0x20c269 in _0x15385)_0x15385[_0x20c269]&&(_0xb5d35a&&(_0xb5d35a+='\x20'),_0xb5d35a+=_0x20c269);}}}return _0xb5d35a;}function ya(){const _0x1ba3a6=_0x112848;for(var _0x584310,_0x29a8ba,_0x1fe33c=0x0,_0xe5d767='',_0x3babab=arguments[_0x1ba3a6(0x2c7)];_0x1fe33c<_0x3babab;_0x1fe33c++)(_0x584310=arguments[_0x1fe33c])&&(_0x29a8ba=er(_0x584310))&&(_0xe5d767&&(_0xe5d767+='\x20'),_0xe5d767+=_0x29a8ba);return _0xe5d767;}const wa=_0x112848(0x570),Da=_0x112848(0x474),Pa=_0x112848(0x548),Ua=_0x112848(0x3aa),Na=_0x112848(0x522),Ze={'onlineStatusIcon':wa,'onlineStatusTitle':Da,'onlineStatus':Pa,'online':Ua,'offline':Na};function Aa(_0x4cd989){const _0x59ba45=_0x112848;switch(_0x4cd989){case J['OFFLINE']:return _0x59ba45(0x3f7);case J[_0x59ba45(0x57d)]:return'collabStatus.conflict';case J[_0x59ba45(0x295)]:return _0x59ba45(0x3bd);case J[_0x59ba45(0x4bc)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x59ba45(0x476)]:return _0x59ba45(0x36d);case J[_0x59ba45(0x426)]:case J[_0x59ba45(0x2ce)]:return _0x59ba45(0x454);}}function Ma(_0xe212e0){const _0x2c7e8f=_0x112848,{status$:_0x4e3580}=_0xe212e0,_0x5bf520=_0x43ce4d(_0x4e3580,J[_0x2c7e8f(0x4bc)]),_0x256851=_0x2cfe22(_0x316ab9),_0x1419d3=_0x2cfe22(Me),_0x4d0c4f=_0x5bf520!==J[_0x2c7e8f(0x2c9)],_0x211f22=_0x256851['t'](Aa(_0x5bf520)),_0x15c424=ya(Ze[_0x2c7e8f(0x619)],{[Ze['online']]:_0x4d0c4f,[Ze['offline']]:!_0x4d0c4f}),_0x400e62=_0x4d0c4f?De[_0x2c7e8f(0x3e2)](Qi,{}):De[_0x2c7e8f(0x3e2)](Zi,{}),_0x378b3f=_0xe5146e(()=>{const _0x11e966=_0x2c7e8f;_0x4d0c4f||_0x1419d3[_0x11e966(0x4b1)]();},[_0x4d0c4f,_0x1419d3]);function _0x3eb9e0(){const _0x363893=_0x2c7e8f;return De[_0x363893(0x379)]('div',{'className':_0x15c424,'onClick':_0x378b3f,'children':[De[_0x363893(0x3e2)](_0x363893(0x31a),{'className':Ze[_0x363893(0x5af)],'children':_0x400e62}),De[_0x363893(0x3e2)](_0x363893(0x31a),{'className':Ze[_0x363893(0x610)],'children':_0x211f22})]});}return _0x4d0c4f?_0x3eb9e0():De[_0x2c7e8f(0x3e2)](_0x4eb3b3,{'title':_0x256851['t'](_0x2c7e8f(0x2de)),'children':_0x3eb9e0()});}var xa=Object['defineProperty'],La=Object['getOwnPropertyDescriptor'],$a=(_0x5dad0d,_0x2b0ab2,_0x162ac5,_0x3e1fe6)=>{const _0x2e5e5b=_0x112848;for(var _0x4be432=_0x3e1fe6>0x1?void 0x0:_0x3e1fe6?La(_0x2b0ab2,_0x162ac5):_0x2b0ab2,_0x51f200=_0x5dad0d[_0x2e5e5b(0x2c7)]-0x1,_0x41184e;_0x51f200>=0x0;_0x51f200--)(_0x41184e=_0x5dad0d[_0x51f200])&&(_0x4be432=(_0x3e1fe6?_0x41184e(_0x2b0ab2,_0x162ac5,_0x4be432):_0x41184e(_0x4be432))||_0x4be432);return _0x3e1fe6&&_0x4be432&&xa(_0x2b0ab2,_0x162ac5,_0x4be432),_0x4be432;},ht=(_0x151031,_0x1556b1)=>(_0x5420e4,_0x2831d8)=>_0x1556b1(_0x5420e4,_0x2831d8,_0x151031);let Nt=class extends _0x5c0223{constructor(_0x5dc5b3,_0x74562b,_0x3874b9,_0xbaacf7){const _0x5e25f4=_0x112848;super(),g(this,'_status$',new _0x1c751f(J[_0x5e25f4(0x4bc)])),(this['_univerInstanceService']=_0x5dc5b3,this[_0x5e25f4(0x521)]=_0x74562b,this[_0x5e25f4(0x382)]=_0x3874b9,this[_0x5e25f4(0x34c)]=_0xbaacf7,this[_0x5e25f4(0x2a2)](),this['_initStatusListener']());}[_0x112848(0x409)](){const _0x488441=_0x112848;this[_0x488441(0x29e)](this[_0x488441(0x3ad)]['focused$'][_0x488441(0x529)](_0x305d56(()=>{const _0x32205d=_0x488441,_0x2cebda=this['_univerInstanceService'][_0x32205d(0x377)]();return _0x2cebda?this[_0x32205d(0x34c)][_0x32205d(0x5a0)](_0x2cebda[_0x32205d(0x579)]()):_0x3856a9(null);}),_0x305d56(_0x19db3e=>_0x19db3e?_0x19db3e[_0x488441(0x603)]:_0x3856a9(J['NOT_COLLAB'])))[_0x488441(0x4f8)](_0x4a229b=>{const _0xca201e=_0x488441;this['_status$'][_0xca201e(0x53a)](_0x4a229b);}));}[_0x112848(0x2a2)](){const _0x2b5ef1=_0x112848;this[_0x2b5ef1(0x29e)](this[_0x2b5ef1(0x521)][_0x2b5ef1(0x5a1)](_0x4e8e5b[_0x2b5ef1(0x5b9)],()=>_0x39ed40(Ha({'status$':this['_status$']['asObservable']()}),this[_0x2b5ef1(0x382)])));}};Nt=$a([ht(0x0,_0x1efafe),ht(0x1,_0x66005c),ht(0x2,_0xa52f76(_0x2e5136)),ht(0x3,_0xa52f76(it))],Nt);function Ha(_0xa5b62){const {status$:_0x2244c6}=_0xa5b62;return function(){const _0x514c74=_0x5808;return De[_0x514c74(0x3e2)](Ma,{'status$':_0x2244c6});};}const tr=_0x20e782(_0x112848(0x31e));var ja=Object[_0x112848(0x47b)],Ba=Object[_0x112848(0x331)],ka=(_0x3ca766,_0x4a34e6,_0x36f0cb,_0x56602c)=>{const _0x3aeffd=_0x112848;for(var _0x66c91d=_0x56602c>0x1?void 0x0:_0x56602c?Ba(_0x4a34e6,_0x36f0cb):_0x4a34e6,_0x23a963=_0x3ca766[_0x3aeffd(0x2c7)]-0x1,_0x386534;_0x23a963>=0x0;_0x23a963--)(_0x386534=_0x3ca766[_0x23a963])&&(_0x66c91d=(_0x56602c?_0x386534(_0x4a34e6,_0x36f0cb,_0x66c91d):_0x386534(_0x66c91d))||_0x66c91d);return _0x56602c&&_0x66c91d&&ja(_0x4a34e6,_0x36f0cb,_0x66c91d),_0x66c91d;},Be=(_0x453356,_0x2f01cb)=>(_0x5d336f,_0x1cbdd8)=>_0x2f01cb(_0x5d336f,_0x1cbdd8,_0x453356);let At=class extends _0x40c6c0{constructor(_0x1c7b11,_0x5852a9,_0x1aae06,_0x1ef7d,_0x313ba8,_0x50bff6){const _0x2684e5=_0x112848;super(),this[_0x2684e5(0x443)]=_0x1c7b11,this[_0x2684e5(0x2bf)]=_0x5852a9,this[_0x2684e5(0x4f1)]=_0x1aae06,this[_0x2684e5(0x3fa)]=_0x1ef7d,this['_snapshotService']=_0x313ba8,_0x50bff6?_0x50bff6==null||_0x50bff6[_0x2684e5(0x2c4)]()['then'](()=>this[_0x2684e5(0x52b)]()):(this[_0x2684e5(0x2bf)][_0x2684e5(0x234)](_0x2684e5(0x5c6),_0x2684e5(0x498)),this[_0x2684e5(0x52b)]());}async[_0x112848(0x52b)](){const _0x275038=_0x112848,_0x18012c=this['_urlService']['getParam'](_0x275038(0x5eb)),_0x5999a9=this[_0x275038(0x443)][_0x275038(0x5e8)](_0x275038(0x5b1));if(!_0x18012c||!_0x5999a9){this[_0x275038(0x2bf)][_0x275038(0x234)](_0x275038(0x5c6),_0x275038(0x4ad));return;}switch(Number(_0x5999a9)){case ae[_0x275038(0x3f0)]:{const _0x398385=await this[_0x275038(0x61c)](_0x18012c);this['_setupSubUnitSync'](_0x398385);break;}case ae[_0x275038(0x538)]:{await this['_loadDoc'](_0x18012c);break;}default:{this[_0x275038(0x2bf)][_0x275038(0x3b9)](_0x275038(0x5c6),_0x275038(0x46f));break;}}}async[_0x112848(0x401)](_0x1dec33){const _0x16ae97=_0x112848;await this['_updateSubUnitFromURLParams'](_0x1dec33),_0x1dec33[_0x16ae97(0x442)][_0x16ae97(0x529)](_0xb4b5bf(this[_0x16ae97(0x204)]))['subscribe'](_0x3184fa=>{const _0x562110=_0x16ae97;_0x3184fa&&this[_0x562110(0x4da)](_0x3184fa);}),this[_0x16ae97(0x443)][_0x16ae97(0x2a3)][_0x16ae97(0x529)](_0xb4b5bf(this['dispose$']))[_0x16ae97(0x4f8)](()=>this['_updateSubUnitFromURLParams'](_0x1dec33));}[_0x112848(0x4da)](_0x95334b,_0xd5e616=!0x1){const _0x346677=_0x112848,_0x4dcc4c=this[_0x346677(0x443)][_0x346677(0x5e8)](_0x346677(0x2dc));_0x95334b[_0x346677(0x451)]()!==_0x4dcc4c&&this[_0x346677(0x443)][_0x346677(0x477)](_0x346677(0x2dc),_0x95334b[_0x346677(0x451)](),_0xd5e616);}async[_0x112848(0x55f)](_0x1e08af){const _0xdbc221=_0x112848;var _0x3ebc59;const _0x5e4ff9=this['_urlService'][_0xdbc221(0x5e8)]('subunit');if(!_0x5e4ff9||!_0x1e08af[_0xdbc221(0x5b0)](_0x5e4ff9)){const _0x3cea2b=_0x1e08af['getUnhiddenWorksheets']()[0x0],_0x3723ad=_0x1e08af[_0xdbc221(0x5b0)](_0x3cea2b);if(!_0x3723ad)return;this[_0xdbc221(0x4da)](_0x3723ad,!0x0),await this[_0xdbc221(0x4f1)][_0xdbc221(0x283)](_0x1a52ba['id'],{'unitId':_0x1e08af['getUnitId'](),'subUnitId':_0x3cea2b});return;}((_0x3ebc59=_0x1e08af[_0xdbc221(0x3a3)]())==null?void 0x0:_0x3ebc59[_0xdbc221(0x451)]())!==_0x5e4ff9&&await this[_0xdbc221(0x4f1)][_0xdbc221(0x283)](_0x1a52ba['id'],{'unitId':_0x1e08af[_0xdbc221(0x579)](),'subUnitId':_0x5e4ff9});}async[_0x112848(0x61c)](_0xb951fd){const _0x1466c5=_0x112848;let _0x6a1e31=0x0;const _0x38f14a=await this[_0x1466c5(0x3fa)][_0x1466c5(0x444)](_0xb951fd);return _0x38f14a&&(_0x38f14a[_0x1466c5(0x330)]||_0x38f14a[_0x1466c5(0x3c0)][_0x1466c5(0x2c7)]!==0x0)&&(_0x6a1e31=_0x38f14a[_0x1466c5(0x478)]),_0x6a1e31===0x0&&this[_0x1466c5(0x2bf)][_0x1466c5(0x234)](_0x1466c5(0x5c6),_0x1466c5(0x519)),this[_0x1466c5(0x26c)]['loadSheet'](_0xb951fd,_0x6a1e31);}async[_0x112848(0x2e7)](_0x5cbbf9){const _0x5e48a9=_0x112848;let _0x25ca8b=0x0;const _0x40b260=await this[_0x5e48a9(0x3fa)][_0x5e48a9(0x444)](_0x5cbbf9);return _0x40b260&&(_0x40b260[_0x5e48a9(0x330)]||_0x40b260['mutations']['length']!==0x0)&&(_0x25ca8b=_0x40b260['rev']),_0x25ca8b===0x0&&this[_0x5e48a9(0x2bf)]['debug']('[DataLoaderController]',_0x5e48a9(0x519)),this['_snapshotService'][_0x5e48a9(0x381)](_0x5cbbf9,_0x25ca8b);}};At=ka([Be(0x0,tr),Be(0x1,_0x5268cc),Be(0x2,_0x18a422),Be(0x3,_0xa52f76(z)),Be(0x4,_0xa52f76(_0x17912e)),Be(0x5,_0x2fcc7a(_0x1f5375))],At);var Wa=Object[_0x112848(0x47b)],Fa=Object[_0x112848(0x331)],Va=(_0x272268,_0x4c5403,_0x471009,_0x837e39)=>{const _0x47dcaa=_0x112848;for(var _0x29c0d1=_0x837e39>0x1?void 0x0:_0x837e39?Fa(_0x4c5403,_0x471009):_0x4c5403,_0x5bebfe=_0x272268[_0x47dcaa(0x2c7)]-0x1,_0xd73bcc;_0x5bebfe>=0x0;_0x5bebfe--)(_0xd73bcc=_0x272268[_0x5bebfe])&&(_0x29c0d1=(_0x837e39?_0xd73bcc(_0x4c5403,_0x471009,_0x29c0d1):_0xd73bcc(_0x29c0d1))||_0x29c0d1);return _0x837e39&&_0x29c0d1&&Wa(_0x4c5403,_0x471009,_0x29c0d1),_0x29c0d1;},oi=(_0x3a37bf,_0x240d9e)=>(_0x3245b6,_0x41325e)=>_0x240d9e(_0x3245b6,_0x41325e,_0x3a37bf);const Ga=_0x112848(0x47f),Ya='Univer';let Mt=class extends _0x5c0223{constructor(_0x9a7107,_0x57228d){const _0x3ebb24=_0x112848;super(),this['_univerInstanceService']=_0x9a7107,this['_configService']=_0x57228d,this[_0x3ebb24(0x52b)]();}['_init'](){const _0x50d638=_0x112848;this[_0x50d638(0x29e)](this['_univerInstanceService'][_0x50d638(0x5fe)][_0x50d638(0x4f8)](()=>{const _0x2f24d1=_0x50d638;var _0x144c2c;const _0xc3833d=this['_univerInstanceService'][_0x2f24d1(0x377)]();let _0x357ad2=(_0x144c2c=this[_0x2f24d1(0x3bf)]['getConfig'](Ga))!=null?_0x144c2c:Ya;_0xc3833d instanceof _0x25ce1f&&(_0x357ad2=_0xc3833d[_0x2f24d1(0x353)]),document[_0x2f24d1(0x544)]=_0x357ad2;}));}};Mt=Va([oi(0x0,_0x1efafe),oi(0x1,_0x11a6c7)],Mt);var Ka=Object[_0x112848(0x47b)],qa=Object[_0x112848(0x331)],za=(_0x1581c6,_0x5b80d0,_0x28a166,_0x20e3ae)=>{const _0x23d164=_0x112848;for(var _0xdaf783=_0x20e3ae>0x1?void 0x0:_0x20e3ae?qa(_0x5b80d0,_0x28a166):_0x5b80d0,_0x49df0d=_0x1581c6[_0x23d164(0x2c7)]-0x1,_0x221e7f;_0x49df0d>=0x0;_0x49df0d--)(_0x221e7f=_0x1581c6[_0x49df0d])&&(_0xdaf783=(_0x20e3ae?_0x221e7f(_0x5b80d0,_0x28a166,_0xdaf783):_0x221e7f(_0xdaf783))||_0xdaf783);return _0x20e3ae&&_0xdaf783&&Ka(_0x5b80d0,_0x28a166,_0xdaf783),_0xdaf783;},ss=(_0x2951e0,_0x2b1f78)=>(_0x3137ab,_0x13f8a8)=>_0x2b1f78(_0x3137ab,_0x13f8a8,_0x2951e0);let xt=class{constructor(_0x4ed9e3,_0x5b0160,_0xc6ebec){const _0x261a3d=_0x112848;this['_configService']=_0x4ed9e3,this[_0x261a3d(0x216)]=_0x5b0160,this[_0x261a3d(0x563)]=_0xc6ebec,this['init']();}['init'](){const _0x12650b=_0x112848;this[_0x12650b(0x216)][_0x12650b(0x43c)]({'priority':0x1,'interceptor':(_0x56d1a7,_0x222274)=>_0x222274(_0x56d1a7)['pipe'](_0x7c024f(async _0x273d8b=>{const _0x5e3225=_0x12650b,_0x648275=_0x273d8b;if(_0x648275[_0x5e3225(0x5ea)]===0x191&&window[_0x5e3225(0x260)](this[_0x5e3225(0x563)]['t']('auth.needGotoLoginAlert'))){const _0x14234c=window['encodeURIComponent'](window[_0x5e3225(0x51a)][_0x5e3225(0x326)]);window[_0x5e3225(0x51a)][_0x5e3225(0x326)]=this[_0x5e3225(0x5b3)]()+_0x5e3225(0x453)+_0x14234c;}return _0x648275;}))});}[_0x112848(0x5b3)](){const _0x10305e=_0x112848;var _0x5d1b1e,_0x2ecd13;const _0x352217=this[_0x10305e(0x3bf)][_0x10305e(0x496)]($n),_0x149fa6=this['_configService'][_0x10305e(0x496)](Q);return(_0x2ecd13=(_0x5d1b1e=_0x149fa6==null?void 0x0:_0x149fa6['loginUrlKey'])!=null?_0x5d1b1e:_0x352217)!=null?_0x2ecd13:Hn;}};xt=za([ss(0x0,_0x11a6c7),ss(0x1,_0xa52f76(_0xf832d4)),ss(0x2,_0xa52f76(_0x316ab9))],xt);var Xa=Object['defineProperty'],Ja=Object['getOwnPropertyDescriptor'],Za=(_0x2d230b,_0x299f3d,_0x1abd33,_0x1e9f0d)=>{const _0x13df11=_0x112848;for(var _0x108ca0=_0x1e9f0d>0x1?void 0x0:_0x1e9f0d?Ja(_0x299f3d,_0x1abd33):_0x299f3d,_0x39935c=_0x2d230b[_0x13df11(0x2c7)]-0x1,_0x3d0a91;_0x39935c>=0x0;_0x39935c--)(_0x3d0a91=_0x2d230b[_0x39935c])&&(_0x108ca0=(_0x1e9f0d?_0x3d0a91(_0x299f3d,_0x1abd33,_0x108ca0):_0x3d0a91(_0x108ca0))||_0x108ca0);return _0x1e9f0d&&_0x108ca0&&Xa(_0x299f3d,_0x1abd33,_0x108ca0),_0x108ca0;},ai=(_0x1b3947,_0x50b106)=>(_0x464f91,_0x178806)=>_0x50b106(_0x464f91,_0x178806,_0x1b3947);const sr=_0x112848(0x26f),Qa='/universer-api/authz';let vs=class extends _0x5c0223{constructor(_0x35acb3,_0x382815){const _0x216ed0=_0x112848;super(),this['_HTTPService']=_0x35acb3,this['_configService']=_0x382815,this[_0x216ed0(0x314)]();}[_0x112848(0x314)](){const _0x135455=_0x112848,_0x46c1d5=this;this['disposeWithMe'](this[_0x135455(0x46b)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x4156b0({'isMatch'(_0x38cf71){const _0x17f915=_0x135455;var _0x2b724;if(_0x38cf71[_0x17f915(0x5ae)]===_0x17f915(0x48b)&&((_0x2b724=_0x38cf71['requestParams'])!=null&&_0x2b724[_0x17f915(0x321)])){const {objectID:_0x5dbd44,objectType:_0x2ab36f}=_0x38cf71[_0x17f915(0x22b)][_0x17f915(0x321)]||{};if(!_0x5dbd44||_0x2ab36f===void 0x0)return!0x1;const _0x2b653c=_0x46c1d5[_0x17f915(0x2c6)]()+'/'+_0x2ab36f+'/object/'+_0x5dbd44+_0x17f915(0x344);if(_0x38cf71[_0x17f915(0x3dd)]===_0x2b653c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x52a333){const _0x2d4476=_0x135455;var _0x4ef8f6;return(_0x4ef8f6=_0x52a333['requestParams'])==null?void 0x0:_0x4ef8f6[_0x2d4476(0x321)];},'mergeParamsToRequest'(_0x27462e,_0x105264){const _0x290cf1=_0x135455,_0x22649e=_0x46c1d5[_0x290cf1(0x2c6)]()+_0x290cf1(0x48c),_0x1f7841=_0x27462e[_0x290cf1(0x456)]((_0x3f8ca0,_0x112307)=>{const _0x387e48=_0x290cf1,{unitID:_0x5bc235,objectID:_0xa88350,objectType:_0x4f2620,actions:_0x3a1537}=_0x112307;return _0x3f8ca0[_0x5bc235]||(_0x3f8ca0[_0x5bc235]={}),_0x3f8ca0[_0x5bc235][_0xa88350]||(_0x3f8ca0[_0x5bc235][_0xa88350]={'objectID':_0xa88350,'objectType':_0x4f2620,'actions':[]}),_0x3f8ca0[_0x5bc235][_0xa88350][_0x387e48(0x35b)][_0x387e48(0x2aa)](..._0x3a1537),_0x3f8ca0;},{}),_0x370d91=[];for(const _0x6a3a13 in _0x1f7841)for(const _0x279261 in _0x1f7841[_0x6a3a13]){const {actions:_0x232000,objectType:_0x4937ce}=_0x1f7841[_0x6a3a13][_0x279261],_0x527da6=[...new Set(_0x232000)];_0x370d91[_0x290cf1(0x2aa)]({'unitID':_0x6a3a13,'objectID':_0x279261,'objectType':_0x4937ce,'actions':_0x527da6});}return new _0x3f6815(_0x290cf1(0x48b),_0x22649e,{'headers':_0x105264[_0x290cf1(0x21d)],'withCredentials':_0x105264[_0x290cf1(0x412)],'responseType':_0x105264['responseType'],'body':{'requests':_0x370d91}});}},{'distributeResult'(_0xb9cb53,_0x3880db){const _0x25e8b6=_0x135455,{objectActions:_0x214a79}=_0xb9cb53;return _0x3880db[_0x25e8b6(0x400)](_0x1c05f4=>{const _0x5ea827=_0x25e8b6,{unitID:_0xe46f63,objectID:_0x9e89a0,actions:_0x4f7e2a}=_0x1c05f4,_0x27284e=_0x214a79['find'](_0x4a23d3=>_0x4a23d3['unitID']===_0xe46f63&&_0x4a23d3[_0x5ea827(0x5b4)]===_0x9e89a0),_0x52d7c9=_0x4f7e2a[_0x5ea827(0x400)](_0xed44ee=>_0x27284e==null?void 0x0:_0x27284e[_0x5ea827(0x35b)][_0x5ea827(0x361)](_0x3cda30=>_0x3cda30[_0x5ea827(0x5e7)]===_0xed44ee))[_0x5ea827(0x482)](_0x2a20db=>!!_0x2a20db);return{'config':_0x1c05f4,'result':{'actions':_0x52d7c9,'error':_0xb9cb53['error']}};});}})}));}[_0x112848(0x2c6)](){const _0xad517=_0x112848;var _0x29a80f,_0x24c639;const _0x468408=this[_0xad517(0x3bf)][_0xad517(0x496)](sr),_0x1aaab0=this[_0xad517(0x3bf)][_0xad517(0x496)](Q);return(_0x24c639=(_0x29a80f=_0x1aaab0==null?void 0x0:_0x1aaab0['authzUrl'])!=null?_0x29a80f:_0x468408)!=null?_0x24c639:Qa;}async[_0x112848(0x398)](_0x24f0da){const _0x3e2947=_0x112848,_0x58b1d7=this['_getAPIPrefixPath']()+'/'+_0x24f0da['objectType']+_0x3e2947(0x302);return(await this[_0x3e2947(0x46b)]['post'](_0x58b1d7,{'body':_0x24f0da}))[_0x3e2947(0x321)][_0x3e2947(0x5b4)]||'';}async[_0x112848(0x48f)](_0x515a1e){const _0x55e4b3=_0x112848,_0x289702=this[_0x55e4b3(0x2c6)]()+_0x55e4b3(0x213);return(await this['_HTTPService']['post'](_0x289702,{'body':_0x515a1e}))['body'][_0x55e4b3(0x434)];}async['update'](_0x2ef710){const _0x3a53a5=_0x112848,_0x1b4191=this[_0x3a53a5(0x2c6)]()+'/'+_0x2ef710[_0x3a53a5(0x47a)]+_0x3a53a5(0x24a)+_0x2ef710[_0x3a53a5(0x5b4)];await this[_0x3a53a5(0x46b)][_0x3a53a5(0x3c7)](_0x1b4191,{'body':_0x2ef710});}async['allowed'](_0x4b372d){const _0x3c1b04=_0x112848,_0x3feb97=this[_0x3c1b04(0x2c6)]()+'/'+_0x4b372d[_0x3c1b04(0x47a)]+_0x3c1b04(0x24a)+_0x4b372d[_0x3c1b04(0x5b4)]+_0x3c1b04(0x344);return(await this['_HTTPService'][_0x3c1b04(0x368)](_0x3feb97,{'body':_0x4b372d}))[_0x3c1b04(0x321)][_0x3c1b04(0x35b)];}async[_0x112848(0x42d)](_0x15cade){const _0x24670e=_0x112848,_0x143a64=this[_0x24670e(0x2c6)]()+_0x24670e(0x48c);return(await this[_0x24670e(0x46b)][_0x24670e(0x368)](_0x143a64,{'body':{'requests':_0x15cade}}))[_0x24670e(0x321)][_0x24670e(0x367)];}async[_0x112848(0x54f)](_0x3f84eb){const _0x1e93cd=_0x112848,_0x1dad91=this['_getAPIPrefixPath']()+'/'+_0x3f84eb[_0x1e93cd(0x47a)]+_0x1e93cd(0x222),_0x236d3f=await this['_HTTPService'][_0x1e93cd(0x368)](_0x1dad91,{'body':_0x3f84eb});return{'roles':_0x236d3f[_0x1e93cd(0x321)]['roles'],'actions':_0x236d3f['body']['actions']};}async[_0x112848(0x3ba)](_0x112148){const _0x18a4b2=_0x112848,_0x4ce821=this[_0x18a4b2(0x2c6)]()+_0x18a4b2(0x584);await this[_0x18a4b2(0x46b)][_0x18a4b2(0x37b)](_0x4ce821,{'params':{'collaboratorID':_0x112148[_0x18a4b2(0x24d)],'objectID':_0x112148[_0x18a4b2(0x5b4)],'unitID':_0x112148[_0x18a4b2(0x5e0)]}});}async['updateCollaborator'](_0xac7294){const _0x4884cc=_0x112848,_0x27506f=this[_0x4884cc(0x2c6)]()+_0x4884cc(0x584);await this[_0x4884cc(0x46b)][_0x4884cc(0x2be)](_0x27506f,{'body':_0xac7294});}async[_0x112848(0x5d0)](_0x21e0ad){const _0x5b646c=_0x112848,_0x89ede7=this['_getAPIPrefixPath']()+_0x5b646c(0x584);await this[_0x5b646c(0x46b)][_0x5b646c(0x368)](_0x89ede7,{'body':_0x21e0ad});}async['listCollaborators'](_0xd4b47d){const _0x5d281c=_0x112848,_0x172514=this[_0x5d281c(0x2c6)]()+'/collaborator';return(await this[_0x5d281c(0x46b)]['get'](_0x172514,{'params':{'objectID':_0xd4b47d[_0x5d281c(0x5b4)],'unitID':_0xd4b47d['unitID']}}))[_0x5d281c(0x321)][_0x5d281c(0x376)];}async['putCollaborators'](_0x2e2a84){const _0x82c852=_0x112848,_0x3b7fb3=this[_0x82c852(0x2c6)]()+'/collaborator';await this['_HTTPService'][_0x82c852(0x3c7)](_0x3b7fb3,{'body':_0x2e2a84});}};vs=Za([ai(0x0,_0xa52f76(_0xf832d4)),ai(0x1,_0xa52f76(_0x11a6c7))],vs);var ut={'exports':{}};function ec(_0x5289be){const _0x761986=_0x112848;throw new Error(_0x761986(0x3fc)+_0x5289be+_0x761986(0x257));}var dt={'exports':{}},tc=dt[_0x112848(0x23f)],ci;function _e(){const _0x34154d=_0x112848;return ci||(ci=0x1,function(_0x5e7c10,_0x72a06){(function(_0x4e7dd5,_0x4e607b){const _0x460310=_0x5808;_0x5e7c10[_0x460310(0x23f)]=_0x4e607b();}(tc,function(){var _0x5aa3c1=_0x5aa3c1||function(_0x3c85f1,_0x36a646){const _0x16e9ea=_0x5808;var _0x6b9a5d;if(typeof window<'u'&&window[_0x16e9ea(0x609)]&&(_0x6b9a5d=window['crypto']),typeof self<'u'&&self[_0x16e9ea(0x609)]&&(_0x6b9a5d=self[_0x16e9ea(0x609)]),typeof globalThis<'u'&&globalThis[_0x16e9ea(0x609)]&&(_0x6b9a5d=globalThis[_0x16e9ea(0x609)]),!_0x6b9a5d&&typeof window<'u'&&window[_0x16e9ea(0x2cd)]&&(_0x6b9a5d=window['msCrypto']),!_0x6b9a5d&&typeof es<'u'&&es['crypto']&&(_0x6b9a5d=es[_0x16e9ea(0x609)]),!_0x6b9a5d&&typeof ec==_0x16e9ea(0x4ce))try{_0x6b9a5d=require(_0x16e9ea(0x609));}catch{}var _0x305228=function(){const _0x45d578=_0x16e9ea;if(_0x6b9a5d){if(typeof _0x6b9a5d[_0x45d578(0x497)]==_0x45d578(0x4ce))try{return _0x6b9a5d['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x6b9a5d['randomBytes']=='function')try{return _0x6b9a5d[_0x45d578(0x4bf)](0x4)[_0x45d578(0x541)]();}catch{}}throw new Error(_0x45d578(0x599));},_0x2befe0=Object[_0x16e9ea(0x398)]||(function(){function _0x2ba464(){}return function(_0x2a352e){const _0x39f0b4=_0x5808;var _0x24de64;return _0x2ba464[_0x39f0b4(0x36f)]=_0x2a352e,_0x24de64=new _0x2ba464(),_0x2ba464[_0x39f0b4(0x36f)]=null,_0x24de64;};}()),_0x363f01={},_0x34f248=_0x363f01[_0x16e9ea(0x560)]={},_0x48e57d=_0x34f248[_0x16e9ea(0x549)]=(function(){return{'extend':function(_0x1f4002){const _0x4cd775=_0x5808;var _0x152dfc=_0x2befe0(this);return _0x1f4002&&_0x152dfc[_0x4cd775(0x591)](_0x1f4002),(!_0x152dfc[_0x4cd775(0x575)]('init')||this[_0x4cd775(0x460)]===_0x152dfc[_0x4cd775(0x460)])&&(_0x152dfc['init']=function(){const _0x146142=_0x4cd775;_0x152dfc['$super']['init'][_0x146142(0x290)](this,arguments);}),_0x152dfc['init'][_0x4cd775(0x36f)]=_0x152dfc,_0x152dfc[_0x4cd775(0x4fc)]=this,_0x152dfc;},'create':function(){const _0x29938e=_0x5808;var _0x44b5ee=this[_0x29938e(0x378)]();return _0x44b5ee[_0x29938e(0x460)][_0x29938e(0x290)](_0x44b5ee,arguments),_0x44b5ee;},'init':function(){},'mixIn':function(_0x4d8ffe){const _0x5d0d1c=_0x5808;for(var _0x3cc6d8 in _0x4d8ffe)_0x4d8ffe[_0x5d0d1c(0x575)](_0x3cc6d8)&&(this[_0x3cc6d8]=_0x4d8ffe[_0x3cc6d8]);_0x4d8ffe[_0x5d0d1c(0x575)](_0x5d0d1c(0x27e))&&(this[_0x5d0d1c(0x27e)]=_0x4d8ffe['toString']);},'clone':function(){const _0x582d9e=_0x5808;return this[_0x582d9e(0x460)][_0x582d9e(0x36f)][_0x582d9e(0x378)](this);}};}()),_0x26bf69=_0x34f248['WordArray']=_0x48e57d[_0x16e9ea(0x378)]({'init':function(_0x3063af,_0x464929){const _0x2f7a9c=_0x16e9ea;_0x3063af=this[_0x2f7a9c(0x2b4)]=_0x3063af||[],_0x464929!=_0x36a646?this[_0x2f7a9c(0x390)]=_0x464929:this[_0x2f7a9c(0x390)]=_0x3063af['length']*0x4;},'toString':function(_0x511998){const _0x1838c0=_0x16e9ea;return(_0x511998||_0x57541c)[_0x1838c0(0x2f0)](this);},'concat':function(_0x1c6f0b){const _0xbbc759=_0x16e9ea;var _0x46a671=this[_0xbbc759(0x2b4)],_0x2b65e5=_0x1c6f0b['words'],_0x483b96=this[_0xbbc759(0x390)],_0x8ce1a1=_0x1c6f0b[_0xbbc759(0x390)];if(this['clamp'](),_0x483b96%0x4)for(var _0x1704d6=0x0;_0x1704d6<_0x8ce1a1;_0x1704d6++){var _0x89b16a=_0x2b65e5[_0x1704d6>>>0x2]>>>0x18-_0x1704d6%0x4*0x8&0xff;_0x46a671[_0x483b96+_0x1704d6>>>0x2]|=_0x89b16a<<0x18-(_0x483b96+_0x1704d6)%0x4*0x8;}else{for(var _0x34b91c=0x0;_0x34b91c<_0x8ce1a1;_0x34b91c+=0x4)_0x46a671[_0x483b96+_0x34b91c>>>0x2]=_0x2b65e5[_0x34b91c>>>0x2];}return this[_0xbbc759(0x390)]+=_0x8ce1a1,this;},'clamp':function(){const _0x40cc40=_0x16e9ea;var _0x50bf78=this[_0x40cc40(0x2b4)],_0x3befc6=this[_0x40cc40(0x390)];_0x50bf78[_0x3befc6>>>0x2]&=0xffffffff<<0x20-_0x3befc6%0x4*0x8,_0x50bf78[_0x40cc40(0x2c7)]=_0x3c85f1[_0x40cc40(0x2ec)](_0x3befc6/0x4);},'clone':function(){const _0x6791=_0x16e9ea;var _0x2ff1d7=_0x48e57d[_0x6791(0x40b)][_0x6791(0x32c)](this);return _0x2ff1d7['words']=this['words']['slice'](0x0),_0x2ff1d7;},'random':function(_0x59994d){const _0x4eb3c7=_0x16e9ea;for(var _0x5d1e2e=[],_0x3e5b3c=0x0;_0x3e5b3c<_0x59994d;_0x3e5b3c+=0x4)_0x5d1e2e[_0x4eb3c7(0x2aa)](_0x305228());return new _0x26bf69[(_0x4eb3c7(0x460))](_0x5d1e2e,_0x59994d);}}),_0x3670eb=_0x363f01[_0x16e9ea(0x2ae)]={},_0x57541c=_0x3670eb[_0x16e9ea(0x241)]={'stringify':function(_0x343c91){const _0x162c0b=_0x16e9ea;for(var _0x31ade8=_0x343c91[_0x162c0b(0x2b4)],_0x80118b=_0x343c91[_0x162c0b(0x390)],_0xc34fe0=[],_0x2e85a2=0x0;_0x2e85a2<_0x80118b;_0x2e85a2++){var _0x3c5dbd=_0x31ade8[_0x2e85a2>>>0x2]>>>0x18-_0x2e85a2%0x4*0x8&0xff;_0xc34fe0[_0x162c0b(0x2aa)]((_0x3c5dbd>>>0x4)[_0x162c0b(0x27e)](0x10)),_0xc34fe0['push']((_0x3c5dbd&0xf)[_0x162c0b(0x27e)](0x10));}return _0xc34fe0[_0x162c0b(0x517)]('');},'parse':function(_0xdc44f0){const _0x133c3f=_0x16e9ea;for(var _0x3f26dc=_0xdc44f0[_0x133c3f(0x2c7)],_0x37f8af=[],_0x518de2=0x0;_0x518de2<_0x3f26dc;_0x518de2+=0x2)_0x37f8af[_0x518de2>>>0x3]|=parseInt(_0xdc44f0[_0x133c3f(0x2b6)](_0x518de2,0x2),0x10)<<0x18-_0x518de2%0x8*0x4;return new _0x26bf69[(_0x133c3f(0x460))](_0x37f8af,_0x3f26dc/0x2);}},_0x2a6d1c=_0x3670eb['Latin1']={'stringify':function(_0x3bebd4){const _0x349d69=_0x16e9ea;for(var _0x4f9694=_0x3bebd4[_0x349d69(0x2b4)],_0x5a7f5e=_0x3bebd4[_0x349d69(0x390)],_0xc5a461=[],_0x4bb9ea=0x0;_0x4bb9ea<_0x5a7f5e;_0x4bb9ea++){var _0x28ccd2=_0x4f9694[_0x4bb9ea>>>0x2]>>>0x18-_0x4bb9ea%0x4*0x8&0xff;_0xc5a461['push'](String[_0x349d69(0x3ab)](_0x28ccd2));}return _0xc5a461['join']('');},'parse':function(_0x377178){const _0x3cffa1=_0x16e9ea;for(var _0x333eef=_0x377178[_0x3cffa1(0x2c7)],_0x1625aa=[],_0x581676=0x0;_0x581676<_0x333eef;_0x581676++)_0x1625aa[_0x581676>>>0x2]|=(_0x377178['charCodeAt'](_0x581676)&0xff)<<0x18-_0x581676%0x4*0x8;return new _0x26bf69[(_0x3cffa1(0x460))](_0x1625aa,_0x333eef);}},_0x420926=_0x3670eb[_0x16e9ea(0x2cc)]={'stringify':function(_0x26316b){const _0x150451=_0x16e9ea;try{return decodeURIComponent(escape(_0x2a6d1c[_0x150451(0x2f0)](_0x26316b)));}catch{throw new Error(_0x150451(0x5ed));}},'parse':function(_0x3a81fd){return _0x2a6d1c['parse'](unescape(encodeURIComponent(_0x3a81fd)));}},_0x11f5ca=_0x34f248[_0x16e9ea(0x363)]=_0x48e57d['extend']({'reset':function(){const _0x101dd4=_0x16e9ea;this[_0x101dd4(0x371)]=new _0x26bf69[(_0x101dd4(0x460))](),this[_0x101dd4(0x5e3)]=0x0;},'_append':function(_0x1c4c5e){const _0xc5f49b=_0x16e9ea;typeof _0x1c4c5e==_0xc5f49b(0x458)&&(_0x1c4c5e=_0x420926['parse'](_0x1c4c5e)),this['_data']['concat'](_0x1c4c5e),this[_0xc5f49b(0x5e3)]+=_0x1c4c5e[_0xc5f49b(0x390)];},'_process':function(_0x3b409b){const _0x5d4569=_0x16e9ea;var _0xd9d090,_0x51d0d2=this['_data'],_0x20bf9d=_0x51d0d2['words'],_0x45cadb=_0x51d0d2['sigBytes'],_0x176701=this['blockSize'],_0x35b671=_0x176701*0x4,_0x289ff7=_0x45cadb/_0x35b671;_0x3b409b?_0x289ff7=_0x3c85f1[_0x5d4569(0x2ec)](_0x289ff7):_0x289ff7=_0x3c85f1[_0x5d4569(0x21f)]((_0x289ff7|0x0)-this[_0x5d4569(0x5fc)],0x0);var _0x2feb68=_0x289ff7*_0x176701,_0x308149=_0x3c85f1['min'](_0x2feb68*0x4,_0x45cadb);if(_0x2feb68){for(var _0x2feaae=0x0;_0x2feaae<_0x2feb68;_0x2feaae+=_0x176701)this[_0x5d4569(0x380)](_0x20bf9d,_0x2feaae);_0xd9d090=_0x20bf9d['splice'](0x0,_0x2feb68),_0x51d0d2[_0x5d4569(0x390)]-=_0x308149;}return new _0x26bf69[(_0x5d4569(0x460))](_0xd9d090,_0x308149);},'clone':function(){const _0x2c6158=_0x16e9ea;var _0x726004=_0x48e57d['clone']['call'](this);return _0x726004[_0x2c6158(0x371)]=this[_0x2c6158(0x371)][_0x2c6158(0x40b)](),_0x726004;},'_minBufferSize':0x0});_0x34f248['Hasher']=_0x11f5ca[_0x16e9ea(0x378)]({'cfg':_0x48e57d[_0x16e9ea(0x378)](),'init':function(_0xc030e4){const _0x26fc72=_0x16e9ea;this[_0x26fc72(0x4ed)]=this[_0x26fc72(0x4ed)][_0x26fc72(0x378)](_0xc030e4),this[_0x26fc72(0x546)]();},'reset':function(){const _0xb87a04=_0x16e9ea;_0x11f5ca[_0xb87a04(0x546)][_0xb87a04(0x32c)](this),this[_0xb87a04(0x540)]();},'update':function(_0x312388){const _0x352420=_0x16e9ea;return this[_0x352420(0x3c2)](_0x312388),this[_0x352420(0x489)](),this;},'finalize':function(_0x43e4d4){const _0x22680f=_0x16e9ea;_0x43e4d4&&this[_0x22680f(0x3c2)](_0x43e4d4);var _0x259da8=this['_doFinalize']();return _0x259da8;},'blockSize':0x10,'_createHelper':function(_0x6e09d3){return function(_0x4e70a9,_0x47e3c0){const _0x425ce8=_0x5808;return new _0x6e09d3[(_0x425ce8(0x460))](_0x47e3c0)[_0x425ce8(0x3fb)](_0x4e70a9);};},'_createHmacHelper':function(_0x529432){return function(_0x355de0,_0x2596e9){const _0x2b5e86=_0x5808;return new _0x4e6d14['HMAC'][(_0x2b5e86(0x460))](_0x529432,_0x2596e9)[_0x2b5e86(0x3fb)](_0x355de0);};}});var _0x4e6d14=_0x363f01['algo']={};return _0x363f01;}(Math);return _0x5aa3c1;}));}(dt)),dt[_0x34154d(0x23f)];}var ft={'exports':{}},sc=ft[_0x112848(0x23f)],hi;function ir(){const _0x3f9f21=_0x112848;return hi||(hi=0x1,function(_0x4c09b7,_0x319f3e){(function(_0x37d81f,_0x6929a0){const _0x3b99b2=_0x5808;_0x4c09b7[_0x3b99b2(0x23f)]=_0x6929a0(_e());}(sc,function(_0x5a22ab){const _0x45f749=_0x5808;return(function(){const _0x95e207=_0x5808;var _0x84c7f7=_0x5a22ab,_0x216d3b=_0x84c7f7['lib'],_0x5f286c=_0x216d3b[_0x95e207(0x531)],_0x27df82=_0x84c7f7[_0x95e207(0x2ae)];_0x27df82[_0x95e207(0x33f)]={'stringify':function(_0x43d745){const _0x3efe80=_0x95e207;var _0x4b9a09=_0x43d745[_0x3efe80(0x2b4)],_0x37b0f1=_0x43d745[_0x3efe80(0x390)],_0x1aac8c=this[_0x3efe80(0x332)];_0x43d745[_0x3efe80(0x399)]();for(var _0x46d967=[],_0x260142=0x0;_0x260142<_0x37b0f1;_0x260142+=0x3)for(var _0x17d2ab=_0x4b9a09[_0x260142>>>0x2]>>>0x18-_0x260142%0x4*0x8&0xff,_0x45f59e=_0x4b9a09[_0x260142+0x1>>>0x2]>>>0x18-(_0x260142+0x1)%0x4*0x8&0xff,_0x1f38c1=_0x4b9a09[_0x260142+0x2>>>0x2]>>>0x18-(_0x260142+0x2)%0x4*0x8&0xff,_0x2d6472=_0x17d2ab<<0x10|_0x45f59e<<0x8|_0x1f38c1,_0x1dde66=0x0;_0x1dde66<0x4&&_0x260142+_0x1dde66*0.75<_0x37b0f1;_0x1dde66++)_0x46d967[_0x3efe80(0x2aa)](_0x1aac8c[_0x3efe80(0x324)](_0x2d6472>>>0x6*(0x3-_0x1dde66)&0x3f));var _0x2942c7=_0x1aac8c['charAt'](0x40);if(_0x2942c7){for(;_0x46d967[_0x3efe80(0x2c7)]%0x4;)_0x46d967[_0x3efe80(0x2aa)](_0x2942c7);}return _0x46d967[_0x3efe80(0x517)]('');},'parse':function(_0x46aea0){const _0x402817=_0x95e207;var _0x34c559=_0x46aea0[_0x402817(0x2c7)],_0xce622=this[_0x402817(0x332)],_0x5dcebc=this[_0x402817(0x238)];if(!_0x5dcebc){_0x5dcebc=this['_reverseMap']=[];for(var _0x2c5eae=0x0;_0x2c5eae<_0xce622['length'];_0x2c5eae++)_0x5dcebc[_0xce622['charCodeAt'](_0x2c5eae)]=_0x2c5eae;}var _0x4d2eda=_0xce622[_0x402817(0x324)](0x40);if(_0x4d2eda){var _0x1ba36a=_0x46aea0[_0x402817(0x4ab)](_0x4d2eda);_0x1ba36a!==-0x1&&(_0x34c559=_0x1ba36a);}return _0x410c4c(_0x46aea0,_0x34c559,_0x5dcebc);},'_map':_0x95e207(0x267)};function _0x410c4c(_0xb6b5bf,_0x52fff8,_0x4e124d){const _0x38d65c=_0x95e207;for(var _0x891daa=[],_0x5d5995=0x0,_0x1bb4f4=0x0;_0x1bb4f4<_0x52fff8;_0x1bb4f4++)if(_0x1bb4f4%0x4){var _0x2a1dd2=_0x4e124d[_0xb6b5bf[_0x38d65c(0x577)](_0x1bb4f4-0x1)]<<_0x1bb4f4%0x4*0x2,_0x4fb802=_0x4e124d[_0xb6b5bf[_0x38d65c(0x577)](_0x1bb4f4)]>>>0x6-_0x1bb4f4%0x4*0x2,_0x4224cd=_0x2a1dd2|_0x4fb802;_0x891daa[_0x5d5995>>>0x2]|=_0x4224cd<<0x18-_0x5d5995%0x4*0x8,_0x5d5995++;}return _0x5f286c[_0x38d65c(0x398)](_0x891daa,_0x5d5995);}}()),_0x5a22ab[_0x45f749(0x2ae)][_0x45f749(0x33f)];}));}(ft)),ft[_0x3f9f21(0x23f)];}var vt={'exports':{}},ic=vt[_0x112848(0x23f)],li;function rc(){const _0x398914=_0x112848;return li||(li=0x1,function(_0x253ca7,_0x14e195){(function(_0x327b27,_0x3cffa0){const _0x5c7143=_0x5808;_0x253ca7[_0x5c7143(0x23f)]=_0x3cffa0(_e());}(ic,function(_0x11af37){const _0x3a6aaf=_0x5808;return function(_0x221cdc){const _0x548dff=_0x5808;var _0x58097b=_0x11af37,_0x5ebbfe=_0x58097b[_0x548dff(0x560)],_0x378de4=_0x5ebbfe['WordArray'],_0x3b4a08=_0x5ebbfe['Hasher'],_0x350c1c=_0x58097b[_0x548dff(0x30d)],_0x55ab2=[];(function(){const _0x436d26=_0x548dff;for(var _0x3d73aa=0x0;_0x3d73aa<0x40;_0x3d73aa++)_0x55ab2[_0x3d73aa]=_0x221cdc[_0x436d26(0x30c)](_0x221cdc['sin'](_0x3d73aa+0x1))*0x100000000|0x0;}());var _0x4a1229=_0x350c1c[_0x548dff(0x534)]=_0x3b4a08[_0x548dff(0x378)]({'_doReset':function(){const _0x5e8f6d=_0x548dff;this[_0x5e8f6d(0x475)]=new _0x378de4[(_0x5e8f6d(0x460))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x29b4e7,_0x3ccae6){const _0x214648=_0x548dff;for(var _0x29b12f=0x0;_0x29b12f<0x10;_0x29b12f++){var _0xc45e9a=_0x3ccae6+_0x29b12f,_0x22d3a2=_0x29b4e7[_0xc45e9a];_0x29b4e7[_0xc45e9a]=(_0x22d3a2<<0x8|_0x22d3a2>>>0x18)&0xff00ff|(_0x22d3a2<<0x18|_0x22d3a2>>>0x8)&0xff00ff00;}var _0x17ec02=this[_0x214648(0x475)][_0x214648(0x2b4)],_0x3906f8=_0x29b4e7[_0x3ccae6+0x0],_0x7d22de=_0x29b4e7[_0x3ccae6+0x1],_0x52fd76=_0x29b4e7[_0x3ccae6+0x2],_0x4102fc=_0x29b4e7[_0x3ccae6+0x3],_0x240d8a=_0x29b4e7[_0x3ccae6+0x4],_0x2d64c4=_0x29b4e7[_0x3ccae6+0x5],_0x3d4bce=_0x29b4e7[_0x3ccae6+0x6],_0xebb445=_0x29b4e7[_0x3ccae6+0x7],_0x591f40=_0x29b4e7[_0x3ccae6+0x8],_0x159630=_0x29b4e7[_0x3ccae6+0x9],_0x170915=_0x29b4e7[_0x3ccae6+0xa],_0x42ae3f=_0x29b4e7[_0x3ccae6+0xb],_0x59bbd0=_0x29b4e7[_0x3ccae6+0xc],_0x1711cb=_0x29b4e7[_0x3ccae6+0xd],_0x30dbee=_0x29b4e7[_0x3ccae6+0xe],_0x51b191=_0x29b4e7[_0x3ccae6+0xf],_0x39abf1=_0x17ec02[0x0],_0x469188=_0x17ec02[0x1],_0x5c8169=_0x17ec02[0x2],_0x765432=_0x17ec02[0x3];_0x39abf1=_0x327977(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x3906f8,0x7,_0x55ab2[0x0]),_0x765432=_0x327977(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x7d22de,0xc,_0x55ab2[0x1]),_0x5c8169=_0x327977(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x52fd76,0x11,_0x55ab2[0x2]),_0x469188=_0x327977(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x4102fc,0x16,_0x55ab2[0x3]),_0x39abf1=_0x327977(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x240d8a,0x7,_0x55ab2[0x4]),_0x765432=_0x327977(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x2d64c4,0xc,_0x55ab2[0x5]),_0x5c8169=_0x327977(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x3d4bce,0x11,_0x55ab2[0x6]),_0x469188=_0x327977(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0xebb445,0x16,_0x55ab2[0x7]),_0x39abf1=_0x327977(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x591f40,0x7,_0x55ab2[0x8]),_0x765432=_0x327977(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x159630,0xc,_0x55ab2[0x9]),_0x5c8169=_0x327977(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x170915,0x11,_0x55ab2[0xa]),_0x469188=_0x327977(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x42ae3f,0x16,_0x55ab2[0xb]),_0x39abf1=_0x327977(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x59bbd0,0x7,_0x55ab2[0xc]),_0x765432=_0x327977(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x1711cb,0xc,_0x55ab2[0xd]),_0x5c8169=_0x327977(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x30dbee,0x11,_0x55ab2[0xe]),_0x469188=_0x327977(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x51b191,0x16,_0x55ab2[0xf]),_0x39abf1=_0x430752(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x7d22de,0x5,_0x55ab2[0x10]),_0x765432=_0x430752(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x3d4bce,0x9,_0x55ab2[0x11]),_0x5c8169=_0x430752(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x42ae3f,0xe,_0x55ab2[0x12]),_0x469188=_0x430752(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x3906f8,0x14,_0x55ab2[0x13]),_0x39abf1=_0x430752(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x2d64c4,0x5,_0x55ab2[0x14]),_0x765432=_0x430752(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x170915,0x9,_0x55ab2[0x15]),_0x5c8169=_0x430752(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x51b191,0xe,_0x55ab2[0x16]),_0x469188=_0x430752(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x240d8a,0x14,_0x55ab2[0x17]),_0x39abf1=_0x430752(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x159630,0x5,_0x55ab2[0x18]),_0x765432=_0x430752(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x30dbee,0x9,_0x55ab2[0x19]),_0x5c8169=_0x430752(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x4102fc,0xe,_0x55ab2[0x1a]),_0x469188=_0x430752(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x591f40,0x14,_0x55ab2[0x1b]),_0x39abf1=_0x430752(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x1711cb,0x5,_0x55ab2[0x1c]),_0x765432=_0x430752(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x52fd76,0x9,_0x55ab2[0x1d]),_0x5c8169=_0x430752(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0xebb445,0xe,_0x55ab2[0x1e]),_0x469188=_0x430752(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x59bbd0,0x14,_0x55ab2[0x1f]),_0x39abf1=_0x3a4555(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x2d64c4,0x4,_0x55ab2[0x20]),_0x765432=_0x3a4555(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x591f40,0xb,_0x55ab2[0x21]),_0x5c8169=_0x3a4555(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x42ae3f,0x10,_0x55ab2[0x22]),_0x469188=_0x3a4555(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x30dbee,0x17,_0x55ab2[0x23]),_0x39abf1=_0x3a4555(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x7d22de,0x4,_0x55ab2[0x24]),_0x765432=_0x3a4555(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x240d8a,0xb,_0x55ab2[0x25]),_0x5c8169=_0x3a4555(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0xebb445,0x10,_0x55ab2[0x26]),_0x469188=_0x3a4555(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x170915,0x17,_0x55ab2[0x27]),_0x39abf1=_0x3a4555(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x1711cb,0x4,_0x55ab2[0x28]),_0x765432=_0x3a4555(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x3906f8,0xb,_0x55ab2[0x29]),_0x5c8169=_0x3a4555(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x4102fc,0x10,_0x55ab2[0x2a]),_0x469188=_0x3a4555(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x3d4bce,0x17,_0x55ab2[0x2b]),_0x39abf1=_0x3a4555(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x159630,0x4,_0x55ab2[0x2c]),_0x765432=_0x3a4555(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x59bbd0,0xb,_0x55ab2[0x2d]),_0x5c8169=_0x3a4555(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x51b191,0x10,_0x55ab2[0x2e]),_0x469188=_0x3a4555(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x52fd76,0x17,_0x55ab2[0x2f]),_0x39abf1=_0x1e8525(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x3906f8,0x6,_0x55ab2[0x30]),_0x765432=_0x1e8525(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0xebb445,0xa,_0x55ab2[0x31]),_0x5c8169=_0x1e8525(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x30dbee,0xf,_0x55ab2[0x32]),_0x469188=_0x1e8525(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x2d64c4,0x15,_0x55ab2[0x33]),_0x39abf1=_0x1e8525(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x59bbd0,0x6,_0x55ab2[0x34]),_0x765432=_0x1e8525(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x4102fc,0xa,_0x55ab2[0x35]),_0x5c8169=_0x1e8525(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x170915,0xf,_0x55ab2[0x36]),_0x469188=_0x1e8525(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x7d22de,0x15,_0x55ab2[0x37]),_0x39abf1=_0x1e8525(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x591f40,0x6,_0x55ab2[0x38]),_0x765432=_0x1e8525(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x51b191,0xa,_0x55ab2[0x39]),_0x5c8169=_0x1e8525(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x3d4bce,0xf,_0x55ab2[0x3a]),_0x469188=_0x1e8525(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x1711cb,0x15,_0x55ab2[0x3b]),_0x39abf1=_0x1e8525(_0x39abf1,_0x469188,_0x5c8169,_0x765432,_0x240d8a,0x6,_0x55ab2[0x3c]),_0x765432=_0x1e8525(_0x765432,_0x39abf1,_0x469188,_0x5c8169,_0x42ae3f,0xa,_0x55ab2[0x3d]),_0x5c8169=_0x1e8525(_0x5c8169,_0x765432,_0x39abf1,_0x469188,_0x52fd76,0xf,_0x55ab2[0x3e]),_0x469188=_0x1e8525(_0x469188,_0x5c8169,_0x765432,_0x39abf1,_0x159630,0x15,_0x55ab2[0x3f]),_0x17ec02[0x0]=_0x17ec02[0x0]+_0x39abf1|0x0,_0x17ec02[0x1]=_0x17ec02[0x1]+_0x469188|0x0,_0x17ec02[0x2]=_0x17ec02[0x2]+_0x5c8169|0x0,_0x17ec02[0x3]=_0x17ec02[0x3]+_0x765432|0x0;},'_doFinalize':function(){const _0xf5738b=_0x548dff;var _0x46a7d5=this[_0xf5738b(0x371)],_0x322131=_0x46a7d5[_0xf5738b(0x2b4)],_0x12bfe5=this[_0xf5738b(0x5e3)]*0x8,_0x620824=_0x46a7d5[_0xf5738b(0x390)]*0x8;_0x322131[_0x620824>>>0x5]|=0x80<<0x18-_0x620824%0x20;var _0x39d617=_0x221cdc[_0xf5738b(0x30e)](_0x12bfe5/0x100000000),_0x5c86b6=_0x12bfe5;_0x322131[(_0x620824+0x40>>>0x9<<0x4)+0xf]=(_0x39d617<<0x8|_0x39d617>>>0x18)&0xff00ff|(_0x39d617<<0x18|_0x39d617>>>0x8)&0xff00ff00,_0x322131[(_0x620824+0x40>>>0x9<<0x4)+0xe]=(_0x5c86b6<<0x8|_0x5c86b6>>>0x18)&0xff00ff|(_0x5c86b6<<0x18|_0x5c86b6>>>0x8)&0xff00ff00,_0x46a7d5[_0xf5738b(0x390)]=(_0x322131['length']+0x1)*0x4,this[_0xf5738b(0x489)]();for(var _0x10a8fd=this[_0xf5738b(0x475)],_0x2d08f2=_0x10a8fd[_0xf5738b(0x2b4)],_0x155ef5=0x0;_0x155ef5<0x4;_0x155ef5++){var _0x26eb0f=_0x2d08f2[_0x155ef5];_0x2d08f2[_0x155ef5]=(_0x26eb0f<<0x8|_0x26eb0f>>>0x18)&0xff00ff|(_0x26eb0f<<0x18|_0x26eb0f>>>0x8)&0xff00ff00;}return _0x10a8fd;},'clone':function(){const _0x537a5b=_0x548dff;var _0x3c1093=_0x3b4a08[_0x537a5b(0x40b)][_0x537a5b(0x32c)](this);return _0x3c1093[_0x537a5b(0x475)]=this['_hash'][_0x537a5b(0x40b)](),_0x3c1093;}});function _0x327977(_0x282f4e,_0x1a7b4c,_0x513b69,_0x322ebc,_0x44acbf,_0x19d692,_0x12f2e2){var _0x3937c3=_0x282f4e+(_0x1a7b4c&_0x513b69|~_0x1a7b4c&_0x322ebc)+_0x44acbf+_0x12f2e2;return(_0x3937c3<<_0x19d692|_0x3937c3>>>0x20-_0x19d692)+_0x1a7b4c;}function _0x430752(_0x3120a9,_0x2b8b60,_0x4ec647,_0x9f2a1,_0x49c1f9,_0x5d7376,_0x2fc8a9){var _0x17032a=_0x3120a9+(_0x2b8b60&_0x9f2a1|_0x4ec647&~_0x9f2a1)+_0x49c1f9+_0x2fc8a9;return(_0x17032a<<_0x5d7376|_0x17032a>>>0x20-_0x5d7376)+_0x2b8b60;}function _0x3a4555(_0x56e17b,_0x395be2,_0xf37ff5,_0x18d0ae,_0x5f33ce,_0x150d71,_0x421b2c){var _0x2233ad=_0x56e17b+(_0x395be2^_0xf37ff5^_0x18d0ae)+_0x5f33ce+_0x421b2c;return(_0x2233ad<<_0x150d71|_0x2233ad>>>0x20-_0x150d71)+_0x395be2;}function _0x1e8525(_0x397a07,_0xf1b9ce,_0xd251a5,_0x4c0ccf,_0x28e339,_0x21e71d,_0x2507b4){var _0x8f95dc=_0x397a07+(_0xd251a5^(_0xf1b9ce|~_0x4c0ccf))+_0x28e339+_0x2507b4;return(_0x8f95dc<<_0x21e71d|_0x8f95dc>>>0x20-_0x21e71d)+_0xf1b9ce;}_0x58097b[_0x548dff(0x534)]=_0x3b4a08['_createHelper'](_0x4a1229),_0x58097b['HmacMD5']=_0x3b4a08[_0x548dff(0x358)](_0x4a1229);}(Math),_0x11af37[_0x3a6aaf(0x534)];}));}(vt)),vt[_0x398914(0x23f)];}var pt={'exports':{}},mt={'exports':{}},nc=mt[_0x112848(0x23f)],_i;function oc(){return _i||(_i=0x1,function(_0x4044dd,_0x1cce94){(function(_0xbc526b,_0x367a2d){const _0x453a43=_0x5808;_0x4044dd[_0x453a43(0x23f)]=_0x367a2d(_e());}(nc,function(_0x351446){return(function(){const _0x4431ae=_0x5808;var _0x36da19=_0x351446,_0x17f9ae=_0x36da19[_0x4431ae(0x560)],_0x2c8d7f=_0x17f9ae[_0x4431ae(0x531)],_0x219099=_0x17f9ae[_0x4431ae(0x2c3)],_0x469e4e=_0x36da19[_0x4431ae(0x30d)],_0x4f10a6=[],_0x1d11cc=_0x469e4e[_0x4431ae(0x57b)]=_0x219099[_0x4431ae(0x378)]({'_doReset':function(){const _0x5ecbc2=_0x4431ae;this[_0x5ecbc2(0x475)]=new _0x2c8d7f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1b6a65,_0x1b81fc){const _0x4a8249=_0x4431ae;for(var _0x1016a8=this[_0x4a8249(0x475)]['words'],_0x16f2e8=_0x1016a8[0x0],_0x173e2d=_0x1016a8[0x1],_0x144e41=_0x1016a8[0x2],_0x3919d1=_0x1016a8[0x3],_0x4f9183=_0x1016a8[0x4],_0x2c1333=0x0;_0x2c1333<0x50;_0x2c1333++){if(_0x2c1333<0x10)_0x4f10a6[_0x2c1333]=_0x1b6a65[_0x1b81fc+_0x2c1333]|0x0;else{var _0xf29139=_0x4f10a6[_0x2c1333-0x3]^_0x4f10a6[_0x2c1333-0x8]^_0x4f10a6[_0x2c1333-0xe]^_0x4f10a6[_0x2c1333-0x10];_0x4f10a6[_0x2c1333]=_0xf29139<<0x1|_0xf29139>>>0x1f;}var _0x21bcf5=(_0x16f2e8<<0x5|_0x16f2e8>>>0x1b)+_0x4f9183+_0x4f10a6[_0x2c1333];_0x2c1333<0x14?_0x21bcf5+=(_0x173e2d&_0x144e41|~_0x173e2d&_0x3919d1)+0x5a827999:_0x2c1333<0x28?_0x21bcf5+=(_0x173e2d^_0x144e41^_0x3919d1)+0x6ed9eba1:_0x2c1333<0x3c?_0x21bcf5+=(_0x173e2d&_0x144e41|_0x173e2d&_0x3919d1|_0x144e41&_0x3919d1)-0x70e44324:_0x21bcf5+=(_0x173e2d^_0x144e41^_0x3919d1)-0x359d3e2a,_0x4f9183=_0x3919d1,_0x3919d1=_0x144e41,_0x144e41=_0x173e2d<<0x1e|_0x173e2d>>>0x2,_0x173e2d=_0x16f2e8,_0x16f2e8=_0x21bcf5;}_0x1016a8[0x0]=_0x1016a8[0x0]+_0x16f2e8|0x0,_0x1016a8[0x1]=_0x1016a8[0x1]+_0x173e2d|0x0,_0x1016a8[0x2]=_0x1016a8[0x2]+_0x144e41|0x0,_0x1016a8[0x3]=_0x1016a8[0x3]+_0x3919d1|0x0,_0x1016a8[0x4]=_0x1016a8[0x4]+_0x4f9183|0x0;},'_doFinalize':function(){const _0x5d8a10=_0x4431ae;var _0x2ba1fa=this[_0x5d8a10(0x371)],_0xa5958a=_0x2ba1fa[_0x5d8a10(0x2b4)],_0x2b97c4=this['_nDataBytes']*0x8,_0xf4cf8e=_0x2ba1fa[_0x5d8a10(0x390)]*0x8;return _0xa5958a[_0xf4cf8e>>>0x5]|=0x80<<0x18-_0xf4cf8e%0x20,_0xa5958a[(_0xf4cf8e+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2b97c4/0x100000000),_0xa5958a[(_0xf4cf8e+0x40>>>0x9<<0x4)+0xf]=_0x2b97c4,_0x2ba1fa[_0x5d8a10(0x390)]=_0xa5958a[_0x5d8a10(0x2c7)]*0x4,this[_0x5d8a10(0x489)](),this[_0x5d8a10(0x475)];},'clone':function(){const _0xfd6ca7=_0x4431ae;var _0x364df5=_0x219099[_0xfd6ca7(0x40b)][_0xfd6ca7(0x32c)](this);return _0x364df5['_hash']=this[_0xfd6ca7(0x475)]['clone'](),_0x364df5;}});_0x36da19[_0x4431ae(0x57b)]=_0x219099['_createHelper'](_0x1d11cc),_0x36da19[_0x4431ae(0x59c)]=_0x219099['_createHmacHelper'](_0x1d11cc);}()),_0x351446['SHA1'];}));}(mt)),mt['exports'];}var gt={'exports':{}},ac=gt[_0x112848(0x23f)],ui;function cc(){const _0xbf56b3=_0x112848;return ui||(ui=0x1,function(_0x699e30,_0x503ae5){(function(_0x43e769,_0x37d00b){const _0x56ebec=_0x5808;_0x699e30[_0x56ebec(0x23f)]=_0x37d00b(_e());}(ac,function(_0x42aea0){(function(){const _0x18ee19=_0x5808;var _0x588eb1=_0x42aea0,_0x341d6b=_0x588eb1[_0x18ee19(0x560)],_0x410f57=_0x341d6b[_0x18ee19(0x549)],_0x11a3c2=_0x588eb1['enc'],_0x44bcdd=_0x11a3c2[_0x18ee19(0x2cc)],_0x223651=_0x588eb1['algo'];_0x223651[_0x18ee19(0x4af)]=_0x410f57[_0x18ee19(0x378)]({'init':function(_0x1119d8,_0x273e03){const _0x177583=_0x18ee19;_0x1119d8=this[_0x177583(0x4df)]=new _0x1119d8[(_0x177583(0x460))](),typeof _0x273e03==_0x177583(0x458)&&(_0x273e03=_0x44bcdd[_0x177583(0x2e6)](_0x273e03));var _0x20d96e=_0x1119d8[_0x177583(0x3d2)],_0x2c1b56=_0x20d96e*0x4;_0x273e03[_0x177583(0x390)]>_0x2c1b56&&(_0x273e03=_0x1119d8['finalize'](_0x273e03)),_0x273e03[_0x177583(0x399)]();for(var _0x5a2c5c=this[_0x177583(0x3f9)]=_0x273e03[_0x177583(0x40b)](),_0x365df3=this['_iKey']=_0x273e03['clone'](),_0x2b9104=_0x5a2c5c['words'],_0x76da73=_0x365df3['words'],_0x3a292c=0x0;_0x3a292c<_0x20d96e;_0x3a292c++)_0x2b9104[_0x3a292c]^=0x5c5c5c5c,_0x76da73[_0x3a292c]^=0x36363636;_0x5a2c5c['sigBytes']=_0x365df3[_0x177583(0x390)]=_0x2c1b56,this[_0x177583(0x546)]();},'reset':function(){const _0x4176b7=_0x18ee19;var _0x13c4d7=this['_hasher'];_0x13c4d7[_0x4176b7(0x546)](),_0x13c4d7[_0x4176b7(0x5b6)](this[_0x4176b7(0x393)]);},'update':function(_0x494d29){const _0x31efea=_0x18ee19;return this[_0x31efea(0x4df)][_0x31efea(0x5b6)](_0x494d29),this;},'finalize':function(_0x44481b){const _0x111c78=_0x18ee19;var _0x4911a9=this[_0x111c78(0x4df)],_0x1abca6=_0x4911a9[_0x111c78(0x3fb)](_0x44481b);_0x4911a9[_0x111c78(0x546)]();var _0xe51f45=_0x4911a9[_0x111c78(0x3fb)](this[_0x111c78(0x3f9)][_0x111c78(0x40b)]()[_0x111c78(0x480)](_0x1abca6));return _0xe51f45;}});}());}));}(gt)),gt[_0xbf56b3(0x23f)];}var hc=pt[_0x112848(0x23f)],di;function rr(){const _0x32d878=_0x112848;return di||(di=0x1,function(_0x4b6e81,_0x2dee17){(function(_0x5e50c9,_0x38c0f8,_0x5a249c){_0x4b6e81['exports']=_0x38c0f8(_e(),oc(),cc());}(hc,function(_0x5b2022){return(function(){const _0x523bdb=_0x5808;var _0x70d98d=_0x5b2022,_0x40ad2d=_0x70d98d[_0x523bdb(0x560)],_0x5abf11=_0x40ad2d['Base'],_0x577dd5=_0x40ad2d['WordArray'],_0x2c7b03=_0x70d98d[_0x523bdb(0x30d)],_0x5fde38=_0x2c7b03[_0x523bdb(0x534)],_0x4ccf79=_0x2c7b03[_0x523bdb(0x525)]=_0x5abf11[_0x523bdb(0x378)]({'cfg':_0x5abf11[_0x523bdb(0x378)]({'keySize':0x80/0x20,'hasher':_0x5fde38,'iterations':0x1}),'init':function(_0x49d466){const _0x43a4e3=_0x523bdb;this[_0x43a4e3(0x4ed)]=this[_0x43a4e3(0x4ed)][_0x43a4e3(0x378)](_0x49d466);},'compute':function(_0x5eee8b,_0x1ebcb0){const _0x56e4d6=_0x523bdb;for(var _0x1a47e9,_0xf3f9bc=this[_0x56e4d6(0x4ed)],_0x4acd28=_0xf3f9bc[_0x56e4d6(0x291)][_0x56e4d6(0x398)](),_0x558d3a=_0x577dd5['create'](),_0x58312d=_0x558d3a[_0x56e4d6(0x2b4)],_0x12ca7d=_0xf3f9bc[_0x56e4d6(0x4ff)],_0x3eeea1=_0xf3f9bc['iterations'];_0x58312d[_0x56e4d6(0x2c7)]<_0x12ca7d;){_0x1a47e9&&_0x4acd28[_0x56e4d6(0x5b6)](_0x1a47e9),_0x1a47e9=_0x4acd28['update'](_0x5eee8b)[_0x56e4d6(0x3fb)](_0x1ebcb0),_0x4acd28[_0x56e4d6(0x546)]();for(var _0x40f562=0x1;_0x40f562<_0x3eeea1;_0x40f562++)_0x1a47e9=_0x4acd28[_0x56e4d6(0x3fb)](_0x1a47e9),_0x4acd28[_0x56e4d6(0x546)]();_0x558d3a[_0x56e4d6(0x480)](_0x1a47e9);}return _0x558d3a[_0x56e4d6(0x390)]=_0x12ca7d*0x4,_0x558d3a;}});_0x70d98d[_0x523bdb(0x525)]=function(_0x21bc8d,_0xed62f1,_0x3e2860){const _0x2757cb=_0x523bdb;return _0x4ccf79[_0x2757cb(0x398)](_0x3e2860)[_0x2757cb(0x2d0)](_0x21bc8d,_0xed62f1);};}()),_0x5b2022['EvpKDF'];}));}(pt)),pt[_0x32d878(0x23f)];}var St={'exports':{}},lc=St[_0x112848(0x23f)],fi;function nr(){const _0x4c620f=_0x112848;return fi||(fi=0x1,function(_0x162817,_0x384624){(function(_0xcd5694,_0x2740c7,_0x59cff4){const _0xd710ef=_0x5808;_0x162817[_0xd710ef(0x23f)]=_0x2740c7(_e(),rr());}(lc,function(_0x1df53e){const _0x49eca1=_0x5808;_0x1df53e[_0x49eca1(0x560)]['Cipher']||function(_0x30e478){const _0xcc6b18=_0x49eca1;var _0x3af9dc=_0x1df53e,_0x1e60a4=_0x3af9dc[_0xcc6b18(0x560)],_0x322d83=_0x1e60a4[_0xcc6b18(0x549)],_0x4ef5d1=_0x1e60a4[_0xcc6b18(0x531)],_0xbce495=_0x1e60a4[_0xcc6b18(0x363)],_0x32d03e=_0x3af9dc[_0xcc6b18(0x2ae)];_0x32d03e['Utf8'];var _0x112954=_0x32d03e[_0xcc6b18(0x33f)],_0x4a26d2=_0x3af9dc[_0xcc6b18(0x30d)],_0x37f2da=_0x4a26d2[_0xcc6b18(0x525)],_0x3aff36=_0x1e60a4[_0xcc6b18(0x55e)]=_0xbce495[_0xcc6b18(0x378)]({'cfg':_0x322d83[_0xcc6b18(0x378)](),'createEncryptor':function(_0x52747a,_0x355008){const _0x38ab34=_0xcc6b18;return this[_0x38ab34(0x398)](this[_0x38ab34(0x520)],_0x52747a,_0x355008);},'createDecryptor':function(_0x482676,_0x224ba7){const _0x37d561=_0xcc6b18;return this[_0x37d561(0x398)](this['_DEC_XFORM_MODE'],_0x482676,_0x224ba7);},'init':function(_0x24653c,_0x5e0d9f,_0x4d6ca9){const _0x5dd1cb=_0xcc6b18;this[_0x5dd1cb(0x4ed)]=this[_0x5dd1cb(0x4ed)]['extend'](_0x4d6ca9),this['_xformMode']=_0x24653c,this[_0x5dd1cb(0x2d6)]=_0x5e0d9f,this[_0x5dd1cb(0x546)]();},'reset':function(){const _0x53ed2e=_0xcc6b18;_0xbce495[_0x53ed2e(0x546)][_0x53ed2e(0x32c)](this),this[_0x53ed2e(0x540)]();},'process':function(_0x2f1234){const _0x5df5a4=_0xcc6b18;return this[_0x5df5a4(0x3c2)](_0x2f1234),this['_process']();},'finalize':function(_0x2c0075){const _0x3219a1=_0xcc6b18;_0x2c0075&&this[_0x3219a1(0x3c2)](_0x2c0075);var _0x3bcbef=this[_0x3219a1(0x54d)]();return _0x3bcbef;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3924c6(_0x4c2656){const _0x58d0d6=_0x5808;return typeof _0x4c2656==_0x58d0d6(0x458)?_0xc50894:_0x339726;}return function(_0x5bd462){return{'encrypt':function(_0x3df7ca,_0xa25cce,_0x521166){const _0x3b569f=_0x5808;return _0x3924c6(_0xa25cce)[_0x3b569f(0x310)](_0x5bd462,_0x3df7ca,_0xa25cce,_0x521166);},'decrypt':function(_0x37f6f1,_0xd46b09,_0x558ab8){const _0x2dbf82=_0x5808;return _0x3924c6(_0xd46b09)[_0x2dbf82(0x322)](_0x5bd462,_0x37f6f1,_0xd46b09,_0x558ab8);}};};}())});_0x1e60a4['StreamCipher']=_0x3aff36[_0xcc6b18(0x378)]({'_doFinalize':function(){const _0x9180bf=_0xcc6b18;var _0x49ac65=this[_0x9180bf(0x489)](!0x0);return _0x49ac65;},'blockSize':0x1});var _0x7f7763=_0x3af9dc[_0xcc6b18(0x3d8)]={},_0x32273b=_0x1e60a4[_0xcc6b18(0x2d4)]=_0x322d83['extend']({'createEncryptor':function(_0x19016b,_0x41de9e){const _0x4ab847=_0xcc6b18;return this['Encryptor'][_0x4ab847(0x398)](_0x19016b,_0x41de9e);},'createDecryptor':function(_0x43b920,_0x5ef593){const _0x362340=_0xcc6b18;return this['Decryptor'][_0x362340(0x398)](_0x43b920,_0x5ef593);},'init':function(_0x41539c,_0x556b58){const _0x75441b=_0xcc6b18;this[_0x75441b(0x2a4)]=_0x41539c,this['_iv']=_0x556b58;}}),_0x14dd17=_0x7f7763[_0xcc6b18(0x3c3)]=(function(){const _0x4d4f12=_0xcc6b18;var _0x29a93f=_0x32273b[_0x4d4f12(0x378)]();_0x29a93f[_0x4d4f12(0x42a)]=_0x29a93f[_0x4d4f12(0x378)]({'processBlock':function(_0x423ee8,_0x29bb52){const _0x347cea=_0x4d4f12;var _0x1c92de=this[_0x347cea(0x2a4)],_0x199a5b=_0x1c92de['blockSize'];_0x2d77ae['call'](this,_0x423ee8,_0x29bb52,_0x199a5b),_0x1c92de[_0x347cea(0x328)](_0x423ee8,_0x29bb52),this[_0x347cea(0x3a9)]=_0x423ee8['slice'](_0x29bb52,_0x29bb52+_0x199a5b);}}),_0x29a93f[_0x4d4f12(0x5f6)]=_0x29a93f['extend']({'processBlock':function(_0x2c9e02,_0x3276ba){const _0x45ff08=_0x4d4f12;var _0x2a61f1=this[_0x45ff08(0x2a4)],_0x37beb7=_0x2a61f1[_0x45ff08(0x3d2)],_0x31b188=_0x2c9e02[_0x45ff08(0x225)](_0x3276ba,_0x3276ba+_0x37beb7);_0x2a61f1[_0x45ff08(0x3f5)](_0x2c9e02,_0x3276ba),_0x2d77ae['call'](this,_0x2c9e02,_0x3276ba,_0x37beb7),this[_0x45ff08(0x3a9)]=_0x31b188;}});function _0x2d77ae(_0xf30429,_0x34bc62,_0x5b7d49){const _0x27d0d3=_0x4d4f12;var _0x48a752,_0x4b7de6=this[_0x27d0d3(0x3ef)];_0x4b7de6?(_0x48a752=_0x4b7de6,this[_0x27d0d3(0x3ef)]=_0x30e478):_0x48a752=this['_prevBlock'];for(var _0x792622=0x0;_0x792622<_0x5b7d49;_0x792622++)_0xf30429[_0x34bc62+_0x792622]^=_0x48a752[_0x792622];}return _0x29a93f;}()),_0x590a5f=_0x3af9dc['pad']={},_0x36edc3=_0x590a5f['Pkcs7']={'pad':function(_0xdb9268,_0x438838){const _0x54b590=_0xcc6b18;for(var _0x4a1599=_0x438838*0x4,_0x128b16=_0x4a1599-_0xdb9268[_0x54b590(0x390)]%_0x4a1599,_0x2b8c61=_0x128b16<<0x18|_0x128b16<<0x10|_0x128b16<<0x8|_0x128b16,_0x10b85a=[],_0x48f15c=0x0;_0x48f15c<_0x128b16;_0x48f15c+=0x4)_0x10b85a[_0x54b590(0x2aa)](_0x2b8c61);var _0x585180=_0x4ef5d1[_0x54b590(0x398)](_0x10b85a,_0x128b16);_0xdb9268[_0x54b590(0x480)](_0x585180);},'unpad':function(_0x524ecb){const _0x39586e=_0xcc6b18;var _0xc3017a=_0x524ecb['words'][_0x524ecb[_0x39586e(0x390)]-0x1>>>0x2]&0xff;_0x524ecb['sigBytes']-=_0xc3017a;}};_0x1e60a4['BlockCipher']=_0x3aff36[_0xcc6b18(0x378)]({'cfg':_0x3aff36[_0xcc6b18(0x4ed)][_0xcc6b18(0x378)]({'mode':_0x14dd17,'padding':_0x36edc3}),'reset':function(){const _0x5146e4=_0xcc6b18;var _0x198760;_0x3aff36[_0x5146e4(0x546)]['call'](this);var _0x13fd1e=this[_0x5146e4(0x4ed)],_0x3caf55=_0x13fd1e['iv'],_0x2d4483=_0x13fd1e[_0x5146e4(0x3d8)];this[_0x5146e4(0x5a5)]==this[_0x5146e4(0x520)]?_0x198760=_0x2d4483[_0x5146e4(0x3c6)]:(_0x198760=_0x2d4483[_0x5146e4(0x277)],this[_0x5146e4(0x5fc)]=0x1),this[_0x5146e4(0x3e3)]&&this[_0x5146e4(0x3e3)][_0x5146e4(0x1fe)]==_0x198760?this[_0x5146e4(0x3e3)][_0x5146e4(0x460)](this,_0x3caf55&&_0x3caf55[_0x5146e4(0x2b4)]):(this[_0x5146e4(0x3e3)]=_0x198760[_0x5146e4(0x32c)](_0x2d4483,this,_0x3caf55&&_0x3caf55['words']),this['_mode'][_0x5146e4(0x1fe)]=_0x198760);},'_doProcessBlock':function(_0x24fbe5,_0x1d909e){const _0x4d3ccd=_0xcc6b18;this[_0x4d3ccd(0x3e3)]['processBlock'](_0x24fbe5,_0x1d909e);},'_doFinalize':function(){const _0x20e25c=_0xcc6b18;var _0x3f9833,_0x48732=this[_0x20e25c(0x4ed)][_0x20e25c(0x2cb)];return this[_0x20e25c(0x5a5)]==this['_ENC_XFORM_MODE']?(_0x48732[_0x20e25c(0x3ff)](this[_0x20e25c(0x371)],this[_0x20e25c(0x3d2)]),_0x3f9833=this['_process'](!0x0)):(_0x3f9833=this['_process'](!0x0),_0x48732[_0x20e25c(0x3eb)](_0x3f9833)),_0x3f9833;},'blockSize':0x80/0x20});var _0x3dab96=_0x1e60a4['CipherParams']=_0x322d83['extend']({'init':function(_0x4d7d00){const _0x34bcae=_0xcc6b18;this[_0x34bcae(0x591)](_0x4d7d00);},'toString':function(_0xacf312){const _0x53c82a=_0xcc6b18;return(_0xacf312||this[_0x53c82a(0x581)])[_0x53c82a(0x2f0)](this);}}),_0x286bae=_0x3af9dc[_0xcc6b18(0x33d)]={},_0x17de23=_0x286bae[_0xcc6b18(0x419)]={'stringify':function(_0x4c81a7){const _0x1a763c=_0xcc6b18;var _0x21c4b6,_0x3ce7d9=_0x4c81a7[_0x1a763c(0x45f)],_0x3bd8dc=_0x4c81a7['salt'];return _0x3bd8dc?_0x21c4b6=_0x4ef5d1[_0x1a763c(0x398)]([0x53616c74,0x65645f5f])[_0x1a763c(0x480)](_0x3bd8dc)['concat'](_0x3ce7d9):_0x21c4b6=_0x3ce7d9,_0x21c4b6[_0x1a763c(0x27e)](_0x112954);},'parse':function(_0x22f0bc){const _0x3dd8ac=_0xcc6b18;var _0x126b65,_0x2782b9=_0x112954['parse'](_0x22f0bc),_0x3806c2=_0x2782b9[_0x3dd8ac(0x2b4)];return _0x3806c2[0x0]==0x53616c74&&_0x3806c2[0x1]==0x65645f5f&&(_0x126b65=_0x4ef5d1[_0x3dd8ac(0x398)](_0x3806c2[_0x3dd8ac(0x225)](0x2,0x4)),_0x3806c2[_0x3dd8ac(0x4f7)](0x0,0x4),_0x2782b9[_0x3dd8ac(0x390)]-=0x10),_0x3dab96['create']({'ciphertext':_0x2782b9,'salt':_0x126b65});}},_0x339726=_0x1e60a4[_0xcc6b18(0x1fd)]=_0x322d83[_0xcc6b18(0x378)]({'cfg':_0x322d83[_0xcc6b18(0x378)]({'format':_0x17de23}),'encrypt':function(_0x4d1b5e,_0x5056b8,_0x372654,_0x5b19aa){const _0x318a69=_0xcc6b18;_0x5b19aa=this['cfg']['extend'](_0x5b19aa);var _0x468225=_0x4d1b5e['createEncryptor'](_0x372654,_0x5b19aa),_0x212fe3=_0x468225['finalize'](_0x5056b8),_0x526491=_0x468225[_0x318a69(0x4ed)];return _0x3dab96[_0x318a69(0x398)]({'ciphertext':_0x212fe3,'key':_0x372654,'iv':_0x526491['iv'],'algorithm':_0x4d1b5e,'mode':_0x526491[_0x318a69(0x3d8)],'padding':_0x526491[_0x318a69(0x2cb)],'blockSize':_0x4d1b5e[_0x318a69(0x3d2)],'formatter':_0x5b19aa['format']});},'decrypt':function(_0x26f530,_0x35bcbc,_0x3b3af6,_0xe2e4c1){const _0x1dd4f6=_0xcc6b18;_0xe2e4c1=this[_0x1dd4f6(0x4ed)][_0x1dd4f6(0x378)](_0xe2e4c1),_0x35bcbc=this[_0x1dd4f6(0x43d)](_0x35bcbc,_0xe2e4c1['format']);var _0x2eaa85=_0x26f530[_0x1dd4f6(0x277)](_0x3b3af6,_0xe2e4c1)[_0x1dd4f6(0x3fb)](_0x35bcbc[_0x1dd4f6(0x45f)]);return _0x2eaa85;},'_parse':function(_0x3760dc,_0x4f5d55){const _0x155c42=_0xcc6b18;return typeof _0x3760dc==_0x155c42(0x458)?_0x4f5d55[_0x155c42(0x2e6)](_0x3760dc,this):_0x3760dc;}}),_0x5667ce=_0x3af9dc['kdf']={},_0x2995b7=_0x5667ce[_0xcc6b18(0x419)]={'execute':function(_0x342da5,_0x5ee413,_0x18fb77,_0x578368,_0x5279df){const _0x23d0a8=_0xcc6b18;if(_0x578368||(_0x578368=_0x4ef5d1[_0x23d0a8(0x312)](0x40/0x8)),_0x5279df)var _0x5ed034=_0x37f2da[_0x23d0a8(0x398)]({'keySize':_0x5ee413+_0x18fb77,'hasher':_0x5279df})['compute'](_0x342da5,_0x578368);else var _0x5ed034=_0x37f2da['create']({'keySize':_0x5ee413+_0x18fb77})['compute'](_0x342da5,_0x578368);var _0x31dc02=_0x4ef5d1[_0x23d0a8(0x398)](_0x5ed034[_0x23d0a8(0x2b4)][_0x23d0a8(0x225)](_0x5ee413),_0x18fb77*0x4);return _0x5ed034[_0x23d0a8(0x390)]=_0x5ee413*0x4,_0x3dab96[_0x23d0a8(0x398)]({'key':_0x5ed034,'iv':_0x31dc02,'salt':_0x578368});}},_0xc50894=_0x1e60a4[_0xcc6b18(0x303)]=_0x339726[_0xcc6b18(0x378)]({'cfg':_0x339726['cfg'][_0xcc6b18(0x378)]({'kdf':_0x2995b7}),'encrypt':function(_0x3ba8bb,_0x2ad156,_0x569a4b,_0x49d322){const _0x4b8082=_0xcc6b18;_0x49d322=this[_0x4b8082(0x4ed)][_0x4b8082(0x378)](_0x49d322);var _0x56fc07=_0x49d322[_0x4b8082(0x555)][_0x4b8082(0x48d)](_0x569a4b,_0x3ba8bb[_0x4b8082(0x4ff)],_0x3ba8bb[_0x4b8082(0x22a)],_0x49d322[_0x4b8082(0x44d)],_0x49d322[_0x4b8082(0x291)]);_0x49d322['iv']=_0x56fc07['iv'];var _0xb4add8=_0x339726[_0x4b8082(0x310)]['call'](this,_0x3ba8bb,_0x2ad156,_0x56fc07[_0x4b8082(0x27b)],_0x49d322);return _0xb4add8[_0x4b8082(0x591)](_0x56fc07),_0xb4add8;},'decrypt':function(_0x154232,_0x2b156a,_0x353b15,_0x23c65b){const _0x36ed6d=_0xcc6b18;_0x23c65b=this[_0x36ed6d(0x4ed)][_0x36ed6d(0x378)](_0x23c65b),_0x2b156a=this[_0x36ed6d(0x43d)](_0x2b156a,_0x23c65b[_0x36ed6d(0x33d)]);var _0x4df019=_0x23c65b[_0x36ed6d(0x555)][_0x36ed6d(0x48d)](_0x353b15,_0x154232[_0x36ed6d(0x4ff)],_0x154232[_0x36ed6d(0x22a)],_0x2b156a[_0x36ed6d(0x44d)],_0x23c65b['hasher']);_0x23c65b['iv']=_0x4df019['iv'];var _0x32bb73=_0x339726[_0x36ed6d(0x322)][_0x36ed6d(0x32c)](this,_0x154232,_0x2b156a,_0x4df019[_0x36ed6d(0x27b)],_0x23c65b);return _0x32bb73;}});}();}));}(St)),St[_0x4c620f(0x23f)];}var _c=ut['exports'],vi;function uc(){const _0x304306=_0x112848;return vi||(vi=0x1,function(_0x157666,_0x34a12a){(function(_0x398e2f,_0x212164,_0x550acb){const _0x27323b=_0x5808;_0x157666[_0x27323b(0x23f)]=_0x212164(_e(),ir(),rc(),rr(),nr());}(_c,function(_0x165190){const _0xd26cdb=_0x5808;return(function(){const _0x2f39ab=_0x5808;var _0x1b0b0f=_0x165190,_0x461a73=_0x1b0b0f['lib'],_0x3f62cb=_0x461a73['BlockCipher'],_0x2dfa75=_0x1b0b0f[_0x2f39ab(0x30d)],_0x446a86=[],_0x5b7a54=[],_0x5757d4=[],_0xc5123b=[],_0x5c6fb3=[],_0x4542d8=[],_0x32362d=[],_0x5d41ee=[],_0x334759=[],_0x4699ae=[];(function(){for(var _0x42434d=[],_0xffbd8f=0x0;_0xffbd8f<0x100;_0xffbd8f++)_0xffbd8f<0x80?_0x42434d[_0xffbd8f]=_0xffbd8f<<0x1:_0x42434d[_0xffbd8f]=_0xffbd8f<<0x1^0x11b;for(var _0x1e9f09=0x0,_0x4c0285=0x0,_0xffbd8f=0x0;_0xffbd8f<0x100;_0xffbd8f++){var _0x423f6e=_0x4c0285^_0x4c0285<<0x1^_0x4c0285<<0x2^_0x4c0285<<0x3^_0x4c0285<<0x4;_0x423f6e=_0x423f6e>>>0x8^_0x423f6e&0xff^0x63,_0x446a86[_0x1e9f09]=_0x423f6e,_0x5b7a54[_0x423f6e]=_0x1e9f09;var _0x112f3b=_0x42434d[_0x1e9f09],_0x9accd4=_0x42434d[_0x112f3b],_0x9145a6=_0x42434d[_0x9accd4],_0x3f7bc9=_0x42434d[_0x423f6e]*0x101^_0x423f6e*0x1010100;_0x5757d4[_0x1e9f09]=_0x3f7bc9<<0x18|_0x3f7bc9>>>0x8,_0xc5123b[_0x1e9f09]=_0x3f7bc9<<0x10|_0x3f7bc9>>>0x10,_0x5c6fb3[_0x1e9f09]=_0x3f7bc9<<0x8|_0x3f7bc9>>>0x18,_0x4542d8[_0x1e9f09]=_0x3f7bc9;var _0x3f7bc9=_0x9145a6*0x1010101^_0x9accd4*0x10001^_0x112f3b*0x101^_0x1e9f09*0x1010100;_0x32362d[_0x423f6e]=_0x3f7bc9<<0x18|_0x3f7bc9>>>0x8,_0x5d41ee[_0x423f6e]=_0x3f7bc9<<0x10|_0x3f7bc9>>>0x10,_0x334759[_0x423f6e]=_0x3f7bc9<<0x8|_0x3f7bc9>>>0x18,_0x4699ae[_0x423f6e]=_0x3f7bc9,_0x1e9f09?(_0x1e9f09=_0x112f3b^_0x42434d[_0x42434d[_0x42434d[_0x9145a6^_0x112f3b]]],_0x4c0285^=_0x42434d[_0x42434d[_0x4c0285]]):_0x1e9f09=_0x4c0285=0x1;}}());var _0x1a805f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1acd11=_0x2dfa75['AES']=_0x3f62cb[_0x2f39ab(0x378)]({'_doReset':function(){const _0xe3dc4=_0x2f39ab;var _0x3bec32;if(!(this[_0xe3dc4(0x37c)]&&this[_0xe3dc4(0x4f9)]===this['_key'])){for(var _0xf8e973=this[_0xe3dc4(0x4f9)]=this['_key'],_0x3b1013=_0xf8e973['words'],_0x36eca9=_0xf8e973['sigBytes']/0x4,_0x243eb3=this[_0xe3dc4(0x37c)]=_0x36eca9+0x6,_0x3c8320=(_0x243eb3+0x1)*0x4,_0x34fb5d=this[_0xe3dc4(0x617)]=[],_0x4e02bd=0x0;_0x4e02bd<_0x3c8320;_0x4e02bd++)_0x4e02bd<_0x36eca9?_0x34fb5d[_0x4e02bd]=_0x3b1013[_0x4e02bd]:(_0x3bec32=_0x34fb5d[_0x4e02bd-0x1],_0x4e02bd%_0x36eca9?_0x36eca9>0x6&&_0x4e02bd%_0x36eca9==0x4&&(_0x3bec32=_0x446a86[_0x3bec32>>>0x18]<<0x18|_0x446a86[_0x3bec32>>>0x10&0xff]<<0x10|_0x446a86[_0x3bec32>>>0x8&0xff]<<0x8|_0x446a86[_0x3bec32&0xff]):(_0x3bec32=_0x3bec32<<0x8|_0x3bec32>>>0x18,_0x3bec32=_0x446a86[_0x3bec32>>>0x18]<<0x18|_0x446a86[_0x3bec32>>>0x10&0xff]<<0x10|_0x446a86[_0x3bec32>>>0x8&0xff]<<0x8|_0x446a86[_0x3bec32&0xff],_0x3bec32^=_0x1a805f[_0x4e02bd/_0x36eca9|0x0]<<0x18),_0x34fb5d[_0x4e02bd]=_0x34fb5d[_0x4e02bd-_0x36eca9]^_0x3bec32);for(var _0x30f472=this[_0xe3dc4(0x2bd)]=[],_0xe78f6e=0x0;_0xe78f6e<_0x3c8320;_0xe78f6e++){var _0x4e02bd=_0x3c8320-_0xe78f6e;if(_0xe78f6e%0x4)var _0x3bec32=_0x34fb5d[_0x4e02bd];else var _0x3bec32=_0x34fb5d[_0x4e02bd-0x4];_0xe78f6e<0x4||_0x4e02bd<=0x4?_0x30f472[_0xe78f6e]=_0x3bec32:_0x30f472[_0xe78f6e]=_0x32362d[_0x446a86[_0x3bec32>>>0x18]]^_0x5d41ee[_0x446a86[_0x3bec32>>>0x10&0xff]]^_0x334759[_0x446a86[_0x3bec32>>>0x8&0xff]]^_0x4699ae[_0x446a86[_0x3bec32&0xff]];}}},'encryptBlock':function(_0x4f6744,_0x388f2d){const _0xd82140=_0x2f39ab;this[_0xd82140(0x2e3)](_0x4f6744,_0x388f2d,this[_0xd82140(0x617)],_0x5757d4,_0xc5123b,_0x5c6fb3,_0x4542d8,_0x446a86);},'decryptBlock':function(_0x1abccf,_0x1c85ac){const _0x89df08=_0x2f39ab;var _0x425484=_0x1abccf[_0x1c85ac+0x1];_0x1abccf[_0x1c85ac+0x1]=_0x1abccf[_0x1c85ac+0x3],_0x1abccf[_0x1c85ac+0x3]=_0x425484,this[_0x89df08(0x2e3)](_0x1abccf,_0x1c85ac,this[_0x89df08(0x2bd)],_0x32362d,_0x5d41ee,_0x334759,_0x4699ae,_0x5b7a54);var _0x425484=_0x1abccf[_0x1c85ac+0x1];_0x1abccf[_0x1c85ac+0x1]=_0x1abccf[_0x1c85ac+0x3],_0x1abccf[_0x1c85ac+0x3]=_0x425484;},'_doCryptBlock':function(_0x3605b9,_0x26b6f1,_0x216ea0,_0x479966,_0x56df53,_0x5b626d,_0x21c9f1,_0x149410){const _0x311137=_0x2f39ab;for(var _0x3240c4=this[_0x311137(0x37c)],_0x54d4cb=_0x3605b9[_0x26b6f1]^_0x216ea0[0x0],_0x170b2b=_0x3605b9[_0x26b6f1+0x1]^_0x216ea0[0x1],_0xed7b49=_0x3605b9[_0x26b6f1+0x2]^_0x216ea0[0x2],_0x5945f0=_0x3605b9[_0x26b6f1+0x3]^_0x216ea0[0x3],_0x5838a9=0x4,_0x35782d=0x1;_0x35782d<_0x3240c4;_0x35782d++){var _0x4e71f0=_0x479966[_0x54d4cb>>>0x18]^_0x56df53[_0x170b2b>>>0x10&0xff]^_0x5b626d[_0xed7b49>>>0x8&0xff]^_0x21c9f1[_0x5945f0&0xff]^_0x216ea0[_0x5838a9++],_0x472812=_0x479966[_0x170b2b>>>0x18]^_0x56df53[_0xed7b49>>>0x10&0xff]^_0x5b626d[_0x5945f0>>>0x8&0xff]^_0x21c9f1[_0x54d4cb&0xff]^_0x216ea0[_0x5838a9++],_0x4ab506=_0x479966[_0xed7b49>>>0x18]^_0x56df53[_0x5945f0>>>0x10&0xff]^_0x5b626d[_0x54d4cb>>>0x8&0xff]^_0x21c9f1[_0x170b2b&0xff]^_0x216ea0[_0x5838a9++],_0x30259b=_0x479966[_0x5945f0>>>0x18]^_0x56df53[_0x54d4cb>>>0x10&0xff]^_0x5b626d[_0x170b2b>>>0x8&0xff]^_0x21c9f1[_0xed7b49&0xff]^_0x216ea0[_0x5838a9++];_0x54d4cb=_0x4e71f0,_0x170b2b=_0x472812,_0xed7b49=_0x4ab506,_0x5945f0=_0x30259b;}var _0x4e71f0=(_0x149410[_0x54d4cb>>>0x18]<<0x18|_0x149410[_0x170b2b>>>0x10&0xff]<<0x10|_0x149410[_0xed7b49>>>0x8&0xff]<<0x8|_0x149410[_0x5945f0&0xff])^_0x216ea0[_0x5838a9++],_0x472812=(_0x149410[_0x170b2b>>>0x18]<<0x18|_0x149410[_0xed7b49>>>0x10&0xff]<<0x10|_0x149410[_0x5945f0>>>0x8&0xff]<<0x8|_0x149410[_0x54d4cb&0xff])^_0x216ea0[_0x5838a9++],_0x4ab506=(_0x149410[_0xed7b49>>>0x18]<<0x18|_0x149410[_0x5945f0>>>0x10&0xff]<<0x10|_0x149410[_0x54d4cb>>>0x8&0xff]<<0x8|_0x149410[_0x170b2b&0xff])^_0x216ea0[_0x5838a9++],_0x30259b=(_0x149410[_0x5945f0>>>0x18]<<0x18|_0x149410[_0x54d4cb>>>0x10&0xff]<<0x10|_0x149410[_0x170b2b>>>0x8&0xff]<<0x8|_0x149410[_0xed7b49&0xff])^_0x216ea0[_0x5838a9++];_0x3605b9[_0x26b6f1]=_0x4e71f0,_0x3605b9[_0x26b6f1+0x1]=_0x472812,_0x3605b9[_0x26b6f1+0x2]=_0x4ab506,_0x3605b9[_0x26b6f1+0x3]=_0x30259b;},'keySize':0x100/0x20});_0x1b0b0f[_0x2f39ab(0x3fd)]=_0x3f62cb[_0x2f39ab(0x4cf)](_0x1acd11);}()),_0x165190[_0xd26cdb(0x3fd)];}));}(ut)),ut[_0x304306(0x23f)];}var dc=uc();const fc=at(dc);var vc=ir();const pi=at(vc);var It={'exports':{}},pc=It[_0x112848(0x23f)],mi;function mc(){const _0x43f21f=_0x112848;return mi||(mi=0x1,function(_0x4166e1,_0x1717aa){(function(_0x1942f6,_0x4710a7){const _0x10ab23=_0x5808;_0x4166e1[_0x10ab23(0x23f)]=_0x4710a7(_e());}(pc,function(_0x3486a9){const _0x3cd411=_0x5808;return _0x3486a9[_0x3cd411(0x2ae)]['Utf8'];}));}(It)),It[_0x43f21f(0x23f)];}var gc=mc();const Sc=at(gc);var Ct={'exports':{}},Ic=Ct[_0x112848(0x23f)],gi;function Cc(){const _0x142b9c=_0x112848;return gi||(gi=0x1,function(_0x419f5b,_0x4d51d7){(function(_0x7cb5bc,_0x52df21){const _0x31379f=_0x5808;_0x419f5b[_0x31379f(0x23f)]=_0x52df21(_e());}(Ic,function(_0x4a7f49){const _0xcb7520=_0x5808;return(function(){const _0x2546f2=_0x5808;if(typeof ArrayBuffer==_0x2546f2(0x4ce)){var _0x2ff5a3=_0x4a7f49,_0x462590=_0x2ff5a3[_0x2546f2(0x560)],_0x58ae1e=_0x462590[_0x2546f2(0x531)],_0x53761a=_0x58ae1e[_0x2546f2(0x460)],_0x572c5b=_0x58ae1e[_0x2546f2(0x460)]=function(_0x2ea671){const _0x397dfd=_0x2546f2;if(_0x2ea671 instanceof ArrayBuffer&&(_0x2ea671=new Uint8Array(_0x2ea671)),(_0x2ea671 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2ea671 instanceof Uint8ClampedArray||_0x2ea671 instanceof Int16Array||_0x2ea671 instanceof Uint16Array||_0x2ea671 instanceof Int32Array||_0x2ea671 instanceof Uint32Array||_0x2ea671 instanceof Float32Array||_0x2ea671 instanceof Float64Array)&&(_0x2ea671=new Uint8Array(_0x2ea671['buffer'],_0x2ea671[_0x397dfd(0x488)],_0x2ea671['byteLength'])),_0x2ea671 instanceof Uint8Array){for(var _0x73427a=_0x2ea671['byteLength'],_0x1516c4=[],_0x411680=0x0;_0x411680<_0x73427a;_0x411680++)_0x1516c4[_0x411680>>>0x2]|=_0x2ea671[_0x411680]<<0x18-_0x411680%0x4*0x8;_0x53761a[_0x397dfd(0x32c)](this,_0x1516c4,_0x73427a);}else _0x53761a[_0x397dfd(0x290)](this,arguments);};_0x572c5b[_0x2546f2(0x36f)]=_0x58ae1e;}}()),_0x4a7f49[_0xcb7520(0x560)][_0xcb7520(0x531)];}));}(Ct)),Ct[_0x142b9c(0x23f)];}var Ec=Cc();const bc=at(Ec);var Et={'exports':{}},Tc=Et[_0x112848(0x23f)],Si;function Rc(){return Si||(Si=0x1,function(_0x396169,_0x3bdbee){(function(_0xddecd9,_0x5dce89,_0x5d2c26){const _0x1c76eb=_0x5808;_0x396169[_0x1c76eb(0x23f)]=_0x5dce89(_e(),nr());}(Tc,function(_0x47b4e4){const _0x2ff31a=_0x5808;return _0x47b4e4[_0x2ff31a(0x3ff)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x47b4e4[_0x2ff31a(0x3ff)][_0x2ff31a(0x3cb)];}));}(Et)),Et['exports'];}var Oc=Rc();const yc=at(Oc);function wc(_0x1e634a,_0x409ab4){const _0x117ace=_0x409ab4-_0x1e634a['length']%_0x409ab4,_0x1d465b=String['fromCharCode'](_0x117ace)['repeat'](_0x117ace);return _0x1e634a+_0x1d465b;}function Dc(_0x117b87,_0x4a28ef){const _0x34eeba=_0x112848,_0x2082ce=bc[_0x34eeba(0x312)](0x10),_0x5492b9=wc(_0x117b87,0x10),_0x204530=fc[_0x34eeba(0x310)](Sc[_0x34eeba(0x2e6)](_0x5492b9),pi['parse'](_0x4a28ef),{'iv':_0x2082ce,'padding':yc});return _0x2082ce[_0x34eeba(0x480)](_0x204530['ciphertext'])[_0x34eeba(0x27e)](pi);}function Pc(){const _0x14098a=_0x112848,_0x4fe448=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x4fe448){const _0x37a4bd={'time':Math[_0x14098a(0x30e)](Date[_0x14098a(0x500)]()/0x3e8),'domain':location['hostname']};return Dc(JSON[_0x14098a(0x2f0)](_0x37a4bd),_0x4fe448);}}var Uc=Object[_0x112848(0x47b)],Nc=Object['getOwnPropertyDescriptor'],Ac=(_0x1725b3,_0x2288a1,_0x3da2d0,_0x52ca29)=>{const _0x5c28e3=_0x112848;for(var _0x3226ca=_0x52ca29>0x1?void 0x0:_0x52ca29?Nc(_0x2288a1,_0x3da2d0):_0x2288a1,_0x46e254=_0x1725b3[_0x5c28e3(0x2c7)]-0x1,_0x59d6c0;_0x46e254>=0x0;_0x46e254--)(_0x59d6c0=_0x1725b3[_0x46e254])&&(_0x3226ca=(_0x52ca29?_0x59d6c0(_0x2288a1,_0x3da2d0,_0x3226ca):_0x59d6c0(_0x3226ca))||_0x3226ca);return _0x52ca29&&_0x3226ca&&Uc(_0x2288a1,_0x3da2d0,_0x3226ca),_0x3226ca;},Mc=(_0x38c30d,_0x233ffa)=>(_0x50f665,_0x4ff8ee)=>_0x233ffa(_0x50f665,_0x4ff8ee,_0x38c30d);let Lt=class{constructor(_0xb76a1f){this['_httpService']=_0xb76a1f,this['_initRequestHeader']();}[_0x112848(0x53c)](){const _0x4c814d=_0x112848;this['_httpService'][_0x4c814d(0x43c)]({'interceptor':(_0x5bf61c,_0x1214d7)=>{const _0x5c2ce1=_0x4c814d,_0x4ff0e3=_0x5bf61c['headers'],_0x4b92c1=Pc();return _0x4b92c1&&_0x4ff0e3['set'](_0x5c2ce1(0x4a2),_0x4b92c1),_0x1214d7(_0x5bf61c);}});}};Lt=Ac([Mc(0x0,_0xa52f76(_0xf832d4))],Lt);var xc=Object[_0x112848(0x47b)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x5c66ff,_0x11c1e4,_0x36a3fe,_0x3a2d2c)=>{for(var _0x361a80=_0x3a2d2c>0x1?void 0x0:_0x3a2d2c?Lc(_0x11c1e4,_0x36a3fe):_0x11c1e4,_0x1edfb2=_0x5c66ff['length']-0x1,_0x294ff7;_0x1edfb2>=0x0;_0x1edfb2--)(_0x294ff7=_0x5c66ff[_0x1edfb2])&&(_0x361a80=(_0x3a2d2c?_0x294ff7(_0x11c1e4,_0x36a3fe,_0x361a80):_0x294ff7(_0x361a80))||_0x361a80);return _0x3a2d2c&&_0x361a80&&xc(_0x11c1e4,_0x36a3fe,_0x361a80),_0x361a80;},is=(_0x52305c,_0x2888ea)=>(_0x1ea620,_0x3342d3)=>_0x2888ea(_0x1ea620,_0x3342d3,_0x52305c);const Hc=[_0x112848(0x3d0),_0x112848(0x4c0),_0x112848(0x5fd),_0x112848(0x57e),_0x112848(0x372)],jc=0x5*0x400*0x400,Bc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',kc=_0x112848(0x388),Wc=_0x112848(0x36c),Fc='/universer-api/file/{fileID}/sign-url';let ps=class{constructor(_0x211841,_0x4361b3,_0x3435b8){const _0x2a63fa=_0x112848;g(this,_0x2a63fa(0x5e9),0x0),g(this,_0x2a63fa(0x4c2),new _0x37f3d3()),g(this,_0x2a63fa(0x4d0),this[_0x2a63fa(0x4c2)]),g(this,'_imageSourceCache',new Map()),(this[_0x2a63fa(0x216)]=_0x211841,this['_configService']=_0x4361b3,this[_0x2a63fa(0x3ad)]=_0x3435b8);}[_0x112848(0x239)](_0x1bee41){const _0x3e910b=_0x112848;this['_waitCount']=_0x1bee41,this[_0x3e910b(0x4c2)][_0x3e910b(0x53a)](_0x1bee41);}[_0x112848(0x347)](_0x16de20,_0xbcd12f){const _0x49bcd7=_0x112848;if(_0xbcd12f===_0x9c5fb['BASE64']){const _0x22c3ed=new Image();return _0x22c3ed['src']=_0x16de20,_0x22c3ed;}return this[_0x49bcd7(0x38b)][_0x49bcd7(0x4cd)](_0x16de20);}[_0x112848(0x4a8)](_0x2053ec,_0x28bcf5,_0x576432){const _0x3d996e=_0x112848;_0x28bcf5===_0x9c5fb[_0x3d996e(0x2cf)]||_0x576432==null||this['_imageSourceCache'][_0x3d996e(0x2ab)](_0x2053ec,_0x576432);}async['getImage'](_0x228445){const _0xdf67b0=_0x112848;try{const _0x539364=this[_0xdf67b0(0x2a8)](this['_getSignURL'](),''+_0x228445),_0x5bb417=(await this[_0xdf67b0(0x216)][_0xdf67b0(0x4cd)](_0x539364))['body'];if(_0x5bb417['error']&&_0x5bb417[_0xdf67b0(0x3b9)][_0xdf67b0(0x3d7)]===Wi['OK']){const _0x14d78e=new URL(_0x5bb417[_0xdf67b0(0x3dd)],this[_0xdf67b0(0x5f8)]())[_0xdf67b0(0x27e)]();return Promise['resolve'](_0x14d78e);}return Promise[_0xdf67b0(0x5c4)](_0x5bb417['error']);}catch(_0x194ac5){return Promise['reject'](_0x194ac5);}}async[_0x112848(0x54e)](_0x1f1bb9){const _0x2ffae9=_0x112848;let _0x2b016d='';if(!Hc[_0x2ffae9(0x3c5)](_0x1f1bb9[_0x2ffae9(0x5b1)]))return this[_0x2ffae9(0x429)](),Promise[_0x2ffae9(0x5c4)](new Error(_0x550762[_0x2ffae9(0x5bc)]));if(_0x1f1bb9[_0x2ffae9(0x307)]>jc)return this['_decreaseWaiting'](),Promise[_0x2ffae9(0x5c4)](new Error(_0x550762[_0x2ffae9(0x44f)]));try{const _0x2ff024=new FormData();_0x2ff024[_0x2ffae9(0x51c)](_0x2ffae9(0x3fe),_0x1f1bb9);const _0x38574d=this[_0x2ffae9(0x3ad)][_0x2ffae9(0x377)](),_0x598979=_0x38574d==null?void 0x0:_0x38574d[_0x2ffae9(0x579)]();if(!_0x598979)throw new Error(_0x2ffae9(0x33b));const _0x1070e4=this[_0x2ffae9(0x51f)]()+'?size='+_0x1f1bb9[_0x2ffae9(0x307)][_0x2ffae9(0x27e)]()+'&source='+Fi[_0x2ffae9(0x5a3)]+_0x2ffae9(0x40f)+encodeURIComponent(_0x598979),_0x36aa28=await(await fetch(_0x1070e4,{'method':'POST','body':_0x2ff024}))['json']();if(typeof _0x36aa28['FileId']!=_0x2ffae9(0x458))return this[_0x2ffae9(0x429)](),Promise[_0x2ffae9(0x5c4)](new Error(_0x550762[_0x2ffae9(0x5ec)]));_0x2b016d=_0x36aa28[_0x2ffae9(0x32d)];}catch{return this[_0x2ffae9(0x429)](),Promise[_0x2ffae9(0x5c4)](new Error(_0x550762['ERROR_IMAGE']));}return new Promise((_0x346ad6,_0x3d1f4e)=>{const _0x32ea9e=_0x2ffae9,_0x207e66=new FileReader();_0x207e66[_0x32ea9e(0x41a)](_0x1f1bb9),_0x207e66['onload']=_0x1a6b9f=>{const _0x5f5416=_0x32ea9e;var _0x316dd9;const _0x33210f=(_0x316dd9=_0x1a6b9f[_0x5f5416(0x3e5)])==null?void 0x0:_0x316dd9[_0x5f5416(0x567)];if(_0x33210f==null){this[_0x5f5416(0x429)](),_0x3d1f4e(new Error(_0x550762['ERROR_IMAGE']));return;}const _0x1d1946=_0x5a9c5d[_0x5f5416(0x3db)](0x6);_0x346ad6({'imageId':_0x1d1946,'imageSourceType':_0x9c5fb[_0x5f5416(0x235)],'source':_0x2b016d,'base64Cache':_0x33210f,'status':_0x550762[_0x5f5416(0x4ec)]}),this[_0x5f5416(0x429)]();};});}[_0x112848(0x51f)](){const _0x3a1f22=_0x112848;var _0x2a6620,_0x2245d1;const _0xfe5c33=this[_0x3a1f22(0x3bf)][_0x3a1f22(0x496)](Bc),_0x1fbbb7=this[_0x3a1f22(0x3bf)][_0x3a1f22(0x496)](Q);return(_0x2245d1=(_0x2a6620=_0x1fbbb7==null?void 0x0:_0x1fbbb7[_0x3a1f22(0x2a9)])!=null?_0x2a6620:_0xfe5c33)!=null?_0x2245d1:kc;}[_0x112848(0x56d)](){const _0x11fe47=_0x112848;var _0x42d842,_0x5f24e9;const _0x320c9f=this[_0x11fe47(0x3bf)]['getConfig'](Wc),_0x5539c1=this['_configService'][_0x11fe47(0x496)](Q);return(_0x5f24e9=(_0x42d842=_0x5539c1==null?void 0x0:_0x5539c1[_0x11fe47(0x550)])!=null?_0x42d842:_0x320c9f)!=null?_0x5f24e9:Fc;}[_0x112848(0x5f8)](){const _0xdf458f=_0x112848;var _0x2d7425;const _0x141acb=this[_0xdf458f(0x3bf)]['getConfig'](Q);return(_0x2d7425=_0x141acb==null?void 0x0:_0x141acb[_0xdf458f(0x200)])!=null?_0x2d7425:location[_0xdf458f(0x5b2)];}[_0x112848(0x2a8)](_0x163d67,_0x246987){const _0x2640d3=_0x112848;return _0x163d67[_0x2640d3(0x1f2)](_0x2640d3(0x465),_0x246987);}[_0x112848(0x429)](){const _0xb60ad4=_0x112848;this[_0xb60ad4(0x5e9)]-=0x1,this[_0xb60ad4(0x4c2)][_0xb60ad4(0x53a)](this[_0xb60ad4(0x5e9)]);}};ps=$c([is(0x0,_0xa52f76(_0xf832d4)),is(0x1,_0x11a6c7),is(0x2,_0xa52f76(_0x1efafe))],ps);var Vc=Object[_0x112848(0x47b)],Gc=Object[_0x112848(0x331)],Yc=(_0x20c528,_0xcaa22,_0x145c97,_0x24597f)=>{const _0x3620e9=_0x112848;for(var _0x5bb698=_0x24597f>0x1?void 0x0:_0x24597f?Gc(_0xcaa22,_0x145c97):_0xcaa22,_0x319f7e=_0x20c528[_0x3620e9(0x2c7)]-0x1,_0x421732;_0x319f7e>=0x0;_0x319f7e--)(_0x421732=_0x20c528[_0x319f7e])&&(_0x5bb698=(_0x24597f?_0x421732(_0xcaa22,_0x145c97,_0x5bb698):_0x421732(_0x5bb698))||_0x5bb698);return _0x24597f&&_0x5bb698&&Vc(_0xcaa22,_0x145c97,_0x5bb698),_0x5bb698;},Ii=(_0x4d40cb,_0x19223b)=>(_0x39b800,_0x35e68f)=>_0x19223b(_0x39b800,_0x35e68f,_0x4d40cb);const Kc='/universer-api/authz';let ms=class{constructor(_0x27d755,_0x37968b){const _0x73e7a8=_0x112848;this['_configService']=_0x27d755,this[_0x73e7a8(0x46b)]=_0x37968b;}['_getAPIPrefixPath'](){const _0x422b95=_0x112848;var _0x4e25c4,_0xe49673;const _0x38b86d=this[_0x422b95(0x3bf)][_0x422b95(0x496)](sr),_0x5fd495=this['_configService'][_0x422b95(0x496)](Q);return(_0xe49673=(_0x4e25c4=_0x5fd495==null?void 0x0:_0x5fd495[_0x422b95(0x3c8)])!=null?_0x4e25c4:_0x38b86d)!=null?_0xe49673:Kc;}async[_0x112848(0x48f)](_0x19cc87){const _0x49957e=_0x112848,_0x398e1b=this[_0x49957e(0x2c6)]()+_0x49957e(0x584);return{'list':[{'title':_0x49957e(0x25a),'mentions':(await this['_HTTPService']['get'](_0x398e1b,{'params':{'objectID':_0x19cc87[_0x49957e(0x261)],'unitID':_0x19cc87[_0x49957e(0x261)]}}))['body'][_0x49957e(0x376)][_0x49957e(0x400)](_0x47abf3=>({'objectId':_0x47abf3['id'],'name':_0x47abf3[_0x49957e(0x2d5)][_0x49957e(0x353)],'metadata':{'icon':_0x47abf3[_0x49957e(0x2d5)]['avatar']},'label':_0x47abf3['subject']['name'],'objectType':_0x2674d4[_0x49957e(0x45a)]})),'metadata':{},'type':_0x2674d4[_0x49957e(0x45a)]}]};}};ms=Yc([Ii(0x0,_0xa52f76(_0x11a6c7)),Ii(0x1,_0xa52f76(_0xf832d4))],ms);var qc=Object['defineProperty'],zc=Object[_0x112848(0x331)],Xc=(_0x223342,_0x52d100,_0x159cd4,_0x4ea28c)=>{for(var _0x20be01=_0x4ea28c>0x1?void 0x0:_0x4ea28c?zc(_0x52d100,_0x159cd4):_0x52d100,_0x12babd=_0x223342['length']-0x1,_0x31a774;_0x12babd>=0x0;_0x12babd--)(_0x31a774=_0x223342[_0x12babd])&&(_0x20be01=(_0x4ea28c?_0x31a774(_0x52d100,_0x159cd4,_0x20be01):_0x31a774(_0x20be01))||_0x20be01);return _0x4ea28c&&_0x20be01&&qc(_0x52d100,_0x159cd4,_0x20be01),_0x20be01;},Qe=(_0x307f21,_0x3391a6)=>(_0x37d36a,_0x57e26b)=>_0x3391a6(_0x37d36a,_0x57e26b,_0x307f21);let $t=class extends _0x40c6c0{constructor(_0xe25e41,_0x1097f1,_0x416847,_0x3a27f1,_0x2c2128){const _0x2981d3=_0x112848;super(),this[_0x2981d3(0x382)]=_0xe25e41,this[_0x2981d3(0x3ad)]=_0x1097f1,this[_0x2981d3(0x52f)]=_0x416847,this['_collaborationSessionService']=_0x3a27f1,this[_0x2981d3(0x491)]=_0x2c2128,this[_0x2981d3(0x3c9)](),this[_0x2981d3(0x61b)]();}['_initCloseConn'](){const _0x3ba543=_0x112848,_0x3504a9=async _0x3ee76b=>{const _0x196476=_0x5808;(await this[_0x196476(0x3ed)][_0x196476(0x351)](_0x3ee76b))[_0x196476(0x4fa)]['pipe'](_0x4c7b7d(_0x91c996=>_0x91c996[_0x196476(0x585)]===_0x18493d['SHOULD_CLOSE_CONN']),_0x5b0372(this[_0x196476(0x204)]))[_0x196476(0x4f8)](_0x4abeeb=>{const _0x2d3bf8=_0x196476,_0x1383ca=_0x4abeeb,{reason:_0x13165d}=_0x1383ca[_0x2d3bf8(0x600)];this['_injector'][_0x2d3bf8(0x4cd)](_0x1a4116)[_0x2d3bf8(0x501)]({'type':_0x52ad10[_0x2d3bf8(0x202)],'content':this[_0x2d3bf8(0x491)]['t'](_0x2d3bf8(0x459))+'('+_0x13165d+')'}),this[_0x2d3bf8(0x52f)][_0x2d3bf8(0x615)](new _0x1454cb(_0x3ee76b)['id'],!0x1),this[_0x2d3bf8(0x3ed)]['closeSession'](_0x3ee76b);});};_0x566afd(this[_0x3ba543(0x3ad)]['getTypeOfUnitAdded$'](_0x3f1ceb['UNIVER_SHEET']),this[_0x3ba543(0x3ad)][_0x3ba543(0x571)](_0x3f1ceb[_0x3ba543(0x538)]))[_0x3ba543(0x529)](_0x338263(_0x4ea2b0=>_0x4ea2b0[_0x3ba543(0x579)]()),_0x4c7b7d(_0x1b021e=>!_0x84653(_0x1b021e)),_0x5b0372(this['dispose$']))[_0x3ba543(0x4f8)](_0x4db41c=>{_0x3504a9(_0x4db41c);});}[_0x112848(0x3c9)](){const _0x54170a=_0x112848,_0x23306f=async _0x44f35b=>{const _0x1ca708=_0x5808;(await this[_0x1ca708(0x3ed)]['requireSession'](_0x44f35b))[_0x1ca708(0x4fa)][_0x1ca708(0x529)](_0x4c7b7d(_0x57b112=>_0x57b112['eventID']===_0x18493d[_0x1ca708(0x5f1)]),_0x5b0372(this[_0x1ca708(0x204)]))[_0x1ca708(0x4f8)](_0x3972ad=>{const _0x38f8cf=_0x1ca708,_0xe6b842=_0x3972ad,{objectId:_0x1a3bbe}=_0xe6b842[_0x38f8cf(0x600)],_0x49fe08=this['_injector'][_0x38f8cf(0x4cd)](_0x43faf2);_0x1a3bbe===_0x44f35b?_0x49fe08[_0x38f8cf(0x1f4)](_0x44f35b):_0x49fe08[_0x38f8cf(0x588)](_0x44f35b,_0x1a3bbe);});};_0x566afd(this[_0x54170a(0x3ad)]['getTypeOfUnitAdded$'](_0x3f1ceb[_0x54170a(0x3f0)]),this['_univerInstanceService'][_0x54170a(0x571)](_0x3f1ceb[_0x54170a(0x538)]))[_0x54170a(0x529)](_0x338263(_0x5ec4a5=>_0x5ec4a5[_0x54170a(0x579)]()),_0x4c7b7d(_0x34b702=>!_0x84653(_0x34b702)),_0x5b0372(this[_0x54170a(0x204)]))[_0x54170a(0x4f8)](_0x4d7ed3=>{_0x23306f(_0x4d7ed3);});}};function _0x5808(_0x3e20f3,_0x5abf38){const _0x189321=_0x1893();return _0x5808=function(_0x5808b2,_0x3cfe48){_0x5808b2=_0x5808b2-0x1ef;let _0x133be0=_0x189321[_0x5808b2];return _0x133be0;},_0x5808(_0x3e20f3,_0x5abf38);}function _0x1893(){const _0x476b6f=['_refreshCollabCursors','/collaborator','eventID','save','clearTimeout','refreshPermission','state$','414jnKTyo','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','\x20to\x20','_eventUnsubscribe','_collabCursorController','transformByState','roomMembers','mixIn','LEAVE','copyFileMeta','removeParam','RemoveRowCommandId','/universer-api/oidc/authpage','_snapshotServerService','_undoRedoService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','min','7596684lCgszK','HmacSHA1','_socketMessageSubscription','TEXT','_transformService','getCollabEntity$','registerComponent','session','UnitEmbedded','setAlpha','_xformMode','_createHandler','sessionTicket','_throwTelemetryCollaborationNewChangeset','clear','_scheduleClearOtherTimer','interceptor','resend','UNKNOWN_CMD','method','onlineStatusIcon','getSheetBySheetId','type','origin','_getLoginPath','objectID','_socketService','update','undoState','getInterceptPoints','HEADER_MENU','assign','_drawTextRange','ERROR_IMAGE_TYPE','_docTransformIMECacheService','icon','_syncEditingCollabCursorService','DeleteRangeMoveLeftCommandId','_http','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getCurrentRevision','reject','onSendChangeset','[DataLoaderController]','onTransformRemoteChangesetByStateCache','toRgbString','COLLAB_WEB_SOCKET_URL','history','on-line-single_clip0_910_349','[CollaborationState]:\x20apply\x20error!','INVALID_ARGUMENT','INGEST','getTime','createCollaborator','_updateLocalCache','_shapes','setShowComponents','_localStorageService','SHOULD_CLOSE_CONN','hide','LOCAL_CACHE_INTERVAL','COLLAB_SUBMIT_CHANGESET_URL','measureText','session.connection-failed','currentTheme$','conflict.title','_getSaveTimeout','_telemetryService','getSnapshotAPIPath','unitID','transformIMECache','csRejEvent','_nDataBytes','revision','getStateCache','LICENSE_MAX_UNITS_EXCEEDED','action','getParam','_waitCount','status','unit','ERROR_IMAGE','Malformed\x20UTF-8\x20data','USERS_LEAVE','className','_retryCount','UPDATE_PERMISSION_OBJ','ReactCurrentOwner','_anchor','#FFF','some','Decryptor','reqId','_getDownloadEndpointURL','isArray','MSG_FOR_ERROR','stopTime','_minBufferSize','image/jpg','focused$','getMergeData','data','updateOfflineData','_id','status$','_beforeCloseService','UnitSnapshot','asObservable','_docSyncEditingCollabCursorService','_colorIndex','crypto','submit\x20changeset\x20error!','bind','ALREADY_EXISTS','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','red300','collabCursorState$','onlineStatusTitle','_messageService','setShapeProps','equals','exhaustSavingTask','updatePermissionPoint','evenodd','_keySchedule','[PendingState]:\x20received\x20rejection.','onlineStatus','close$','_initCloseConn','_loadSheet','_draw','roomMembers$','onPointerMove$','members','replace','_transitionLocked','initWorkbookPermissionChange','saveSnapshot','[CollaborationSessionService]','YUUMI_URL_COL_OUT_OF_RANGE','unsubscribe','_replayCachedMutations','LIVESHARE_NEW_HOST','_handleEvent','LIVESHARE_TERMINATE','SerializableCipher','__creator','lineTo','downloadEndpointUrl','shouldCloseConn','Error','&to=','dispose$','_sender','getViewport','getSkeleton','onRemoteChangeset','forEach','updatePermissionObjEvent','[CollaborationSessionService]:\x20socket\x20error','snapshot','COMPRESS_MUTATION_SEND','/block/','_queuedRemoteChangesets','_getAnchorBounding','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getRoom','/-/object/list','object','FETCH_MISSING','_httpService','url(#on-line-single_clip0_910_349)','_onCursorUpdate','getDeserializedSheetBlock','FAIL','connection\x20error','_disableEditing','headers','_scene','max','#fff','session.will-retry','/role','YUUMI_RATE_OVER_LIMIT','clearInterval','slice','_isPermissionRej','_cursor','backgroundColor','MoveRangeCommandId','ivSize','requestParams','pending','getMemberID','_selfUnitIDs','Error\x20on\x20receiving\x20event','_drawRectRange','registerRenderModule','_socketReady','_scheduleCollaborationTimeoutTimer','debug','UUID','_handleHeartbeatEvent','_submitChangeset','_reverseMap','setWaitCount','PSEUDO_FETCH_MISSING_RESULT','_getCtorByUniverType','_entityInit$','_userManagerService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','exports','socketService','Hex','cmd','_waitForHeartbeatResponse','cursorInfo$','_collaborationTimeoutTimer','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','changesets','_type','UNKNOWN_CODE','/object/','syncEditingCollabCursor','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','collaboratorID','cursorInfo','collaboration-client.config','_clearScheduledTask','docStateChange$','saveChangeset','_candidateSocket','drawWith','fill','params','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onTransformSelections','textRanges','People','pluginName','JOIN','fetchMiss','SNAPSHOT_INVALID_SNAPSHOT','_transformUndoRedoStack','confirm','unitId','addObjects','resourceIDs','Undefined','onRemoteRej','beginPath','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_clearHeartbeatTimer','react.fragment','onReady','getAllMembers','_snapshotService','FromArray','_docSkeleton','AUTHZ_URL_KEY','_getMergeRange','_incrementRevisionNumber','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sheetSkeletonManagerService','_initDependencies','onRemoteRetry','_transformPreviousActiveRange','createDecryptor','add','_roomMembers$','_cursorShapes','key','values','verdancy600','toString','updateCursorEvent','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getRenderById','_socket$','executeCommand','transformMutationsWithChangeset','_schedule','_removeClearOtherTimer','infoRsp','getUnitStatus$','assignAColorForMemberID','_docTransformStateCacheService','_getRedoStack','endColumn','fetchMissingChangesets','replaceState','[CollaborationUndoRedoService]','apply','hasher','pushState','CHANGESET_REVISION_CONFILICT','saveOfflineData','FETCH_MISS','_timeoutTimer','_updateStatus','dispose','InsertColCommandId','/universer-api/comb','_onRemoteRejected','synced','sessionStatus$','disposeWithMe','routeKey','makeDirty','_event$','_initStatusComponent','urlChange$','_cipher','_ensureSubject','_getUndoStack','6580772bdocTy','_replaceFileID','uploadFileServerUrl','push','set','_createInitialStateImpl','_onConnectionOpen','enc','_saveTaskMap','getValue','_removeRoom','_collabSessionService','c2Prime','words','restore','substr','height','onStarting','_getSendChangesetTimeout','getVpScrollXYInfoByPosToVp','hidden','[OfflineState]:\x20received\x20acknowledgement.','_invKeySchedule','patch','_logService','conflict','triggerDblclick','_session','Hasher','whenReady','_roomMembers','_getAPIPrefixPath','length','c1Prime','OFFLINE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','padding','Utf8','msCrypto','PENDING','BASE64','compute','endRow','UNRECOGNIZED','_clearTimeoutTimer','BlockCipherMode','subject','_key','compose','11726768NIiJXz','getUnitOnRev','_toggleOnline','_getScale','subunit','SEND_CHANGESET_TIMEOUT','collab-client.tooltip.reconnect','_backgroundColor','_onLocalMutation','/universer-api/snapshot/','defIds','_doCryptBlock','displayName','_transformStack','parse','_loadDoc','USERS_ENTER','csShouldRetryEvent','APPLY_REJECT','black','ceil','LIVESHARE_OPERATION','onTransformIME','onCommandExecuted','stringify','entries','redoState','commentUpdate$','every','LICENSE_IMPORT_SIZE_EXCEEDED','onMissingChangesets','_handleLeaveEvent','_syncEditingCollabCursor','SNAPSHOT_SERVER_URL_KEY','state','_themeService','conflict.content','incrementRevOfUnit','startRow','tag','deepClone','font','/object','PasswordBasedCipher','_getSheetObject','rgba(255,\x20255,\x20255,\x200.01)','sendChangesetTimeout','size','TOO_MANY_REQUESTS','INTERNAL_ERROR','collaboration.single-unit.warning','_transformHistoryAndStateStack','abs','algo','floor','APPLY_NON_SEQUENTIAL_REVISION','encrypt','currentSkeleton$','random','setStateCache','_initMergeInterceptor','newValue','clipPath','isActive','UNIVER_UNKNOWN','VIEW_MAIN','div','_registerDependencies','LIVESHARE_FETCH_OPERATIONS','_textBubble','uni.network.url-service','transformChangesets','_send','body','decrypt','setActiveRange','charAt','transformRemoteChangeset','href','_unitID','encryptBlock','enableOfflineEditing','Unknown\x20user','catch','call','FileId','_handler','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','awaitingChangeset','getOwnPropertyDescriptor','_map','unshift','/new_changes','off-line-single_clip0_910_343','AWAITING','_onCursorDelete','rng','url(#$1','transformStack\x20failed!','unitId\x20is\x20not\x20found','startTime','format','_imageIoService','Base64','5irzMsv','_sheetTransformSelectionsService','4322619NCEErH','_document','/allowed','onlyLocal','getCurrent','getImageSourceCache','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','column','RECT','attrs','_collaborationController','registerOnClose','_hover','createSocket','Warning','requireSession','_retryConnectingTimer','name','subscribeEvent','_clearCollaborationTimeoutTimer','addEventListener','updateMember','_createHmacHelper','_checkMissing','getCurrentUnitForType','actions','_scheduleTimestamp','bottom','retryConnectingInterval','getCurrentUser','setTimeout','find','open$','BufferedBlockAlgorithm','setInterval','online','HttpExport','objectActions','post','defs','randomUUID','PERMISSION_DENIED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','collabStatus.syncing','OTHER_CLIENTS_EDITING','prototype','NO_OTHER_CLIENTS_EDITING','_data','image/bmp','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_state','APPLY_DUPLICATED','collaborators','getFocusedUnit','extend','jsxs','_sessionStatus$','delete','_nRounds','...','_remoteChangesetQueue','SUBMIT_CHANGESET','_doProcessBlock','loadDoc','_injector','_transformSelections','collabSubmitChangesetUrl','setItem','_drawAnchor','session.collaboration-timeout','/universer-api/stream/file/upload','_assignedColors','_renderManagerService','_imageSourceCache','from','_sessions','complete','_context','sigBytes','fillStyle','editingUnit','_iKey','unknown','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_tryReconnect','_startSheetCollabCursor','create','clamp','popstate','disableLocalCache','substring','encode','enableSingleActiveInstanceLock','getCollabEntity','searchParams','CHANGESET_ACK','_entities','getActiveSheet','isPermissionRej','registerRefRange','_changesetSessionId','InsertRangeMoveRightCommandId','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_prevBlock','univer-online','fromCharCode','[OfflineState]:\x20received\x20changeset.','_univerInstanceService','UNIVER_SLIDE','JOINING','socket\x20close','getResourcesRequest','_changesetReqId','_clearOtherTimers','\x20-\x20','defaultProps','range','_resendTimer','_listenToOnlineEvent','error','deleteCollaborator','_singleActiveUnitService','_render','collabStatus.fetchMiss','doc.mutation.rich-text-editing','_configService','mutations','none','_append','CBC','_onRemoteACK','includes','createEncryptor','put','authzUrl','_initUnitPermissionChange','_hideTimer','NoPadding','HEARTBEAT','_resendWithTimeout','_commentService','HttpImport','image/png','_docTransformSelectionsService','blockSize','LOGIN_URL_KEY','_onUserJoin','_onOffline','_sendHeartbeatTimer','code','mode','onRemoteAck','purple300','generateRandomId','_scheduleSaving','url','appendMutation','text','RemoveColCommandId','on-line-single','jsx','_mode','getCurrentSelections','target','setCurrentUser','_onMessage','_onConnectionFailed','__esModule','_startCollaboration','unpad','_status$','_collaborationSessionService','liveShareOperation','_iv','UNIVER_SHEET','_stopTelemetryCollaborationNewChangeset','current','APPLY_PERMISSION_DENIED','react.element','decryptBlock','/universer-api/snapshot','collabStatus.offline','propertyIsEnumerable','_oKey','_localCacheService','finalize','Could\x20not\x20dynamically\x20require\x20\x22','AES','file','pad','map','_setupSubUnitSync','getWorkbookSelections','onStateChange','getCurrentRevOfUnit','collab-rect-range-','color','UPDATE_CURSOR','HEARTBEAT_TIMEOUT','_initStatusListener','reverse','clone','session.room-full','selection','_members','&assign=','_revisionService','all','withCredentials','_fetchMissChangesets','symbol','getDocRanges','_transformUndoredo','_removeCollabCursors','M0\x200H16V16H0z','OpenSSL','readAsDataURL','_startTelemetryCollaborationNewChangeset','_transformStateCache','svg','_scheduleHeartbeat','Fragment','_lastPointer','CONNECTOR_DATA_TOO_LARGE','width','addClipboardHook','gold400','_colorAssignService','SYNCED','m1Prime','254129CbauIz','_decreaseWaiting','Encryptor','/unit/','getOwnPropertySymbols','batchAllowed','onTransformChange$','_docClipboardService','_state$','collaboration_new_changeset','_online','collaboration-session-retry','objects','onTransformRemoteChangesetByIMECache','COMPRESS_MUTATION_APPLY','_commentUpdate$','sheetID','0\x200\x2017\x2016','sheets','baseRev','registerHTTPInterceptor','_parse','jiqing500','row','contains','startsWith','activeSheet$','_urlService','loadOfflineData','_awaitingChangeset','_updateCollabCursors','csAckEvent','0\x200\x2016\x2016','fetch_missing','OffLineSingle','NOT_FOUND','_heartbeatTimer','salt','_collabCursorState$','ERROR_EXCEED_SIZE','transformMutation','getSheetId','permission.content','?url=','collabStatus.synced','userID','reduce','_clearUndo','string','collaboration.closeRoom','PERSON','_applyRemoteChangeset','_cursorInfo$','getAncestorScale','_telemetryInfo','ciphertext','init','DeleteRangeMoveUpCommandId','offline','message$','hovered','{fileID}','_resendTimeout','number','[SyncedState]:\x20received\x20rejection.','_disabled','CHANGESET_REJ','_HTTPService','leaveEvent','_pendingMutations','colorChannel1','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSession]','_showConflictNotification','_onRemoteChangeset','_sendingTimer','univer-online-status-title','_hash','AWAITING_WITH_PENDING','setParam','rev','_unitStatus','objectType','defineProperty','unit-cache-','duration','_cachedData','DEFAULT_FILE_NAME','concat','_substituteUndoStack','filter','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[UniverCollaborationClientPlugin]','getUndoRedoMutationParamsCache','visibilityState','onTransformState','byteOffset','_process','source','POST','/-/object/-/batch_allowed','execute','awaiting_with_pending','list','_range','_localeService','onMouseMove','xlink:href','UNIVER_PROJECT','_rescheduleHeartbeat','getConfig','getRandomValues','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_createSocket','transform','MUTATION','_getSessionTicket','use','LIVESHARE_REQUEST_HOST','SNAPSHOT_URL_KEY','LICENSE_DISTRO_REJECTED','JOIN_ROOM_NOT_ALLOWED','x-univer-host','ranges','_ws','univer-pro.collaboration-client-socket-service','[CollaborationEntity]','trim','addImageSourceCache','closeSession','_docStateChangeManagerService','indexOf','selections','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','close','HMAC','transformUndoRedo','reconnect','subUnitId','_onRemoteRetry','getOffsetConfig','_onRefRangeChange','LICENSE_EXPORT_SIZE_EXCEEDED','RECV','_joinRoom','onMissedChangesetFetched','ws://127.0.0.1:8000/universer-api/comb/connect','then','NOT_COLLAB','[SyncedState]:\x20received\x20acknowledgement.','editing\x20status\x20changed\x20to','randomBytes','image/jpeg','awaiting','_change$','getCollabCursors$','joinEvent','_anchorDot','getActiveRange','collaMsg','setConfig','_color','_memberService','collab-text-anchor-','_docSkeletonManagerService','get','function','_createHelper','change$','round','disposeUnit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','fetchThroughInterceptors','with','_collaborationPaused','roomInfos','createInstance','_onFetchMissResult','_updateURLWithCurrentState','[OfflineState]:\x20received\x20rejection.','transformStateCache','_compressMutationService','onSyncEditingCollabCursor','_hasher','_getAPIPrefix','labelPosition','ONLINE','UNAUTHENTICATED','_sendHeartbeat','_unlockTransition','_executeRemoteChangeset','enableLocalCache','fetching\x20missing\x20changesets\x20from\x20','_clearRedo','_unitOnClients','_onRecvEvent','SUCCUSS','cfg','_listenToOfflineEvent','5004jeNiua','_exhaustRemoteChangesetQueue','_commandService','_transformRemoteChangesetByStateCache','toggleOffline','_labelPosition','getLatestCsReqIdBySid','addObject','splice','subscribe','_keyPriorReset','event$','getMember','$super','findNodePositionByCharIndex','_name','keySize','now','show','moveTo','_registerRenderDependencies','_hovered','commentUpdateEvent','fromCollab','_refRangeService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','path','/fetchmissing?from=','snapshotServerUrl','UNDEFINED','_config','not_collab','YUUMI_UNABLE_LOAD_URL','HEARTBEAT_INTERVAL','_socket','_initResize','split','_onJoinRoomEvent','getSheetBlock','_onUserLeave','join','arc','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','location','capture','append','transformSelections','JOIN_ROOM_FULL','_getUploadFileURL','_ENC_XFORM_MODE','_uiPartsService','univer-offline','send','getTypeOfUnitDisposed$','EvpKDF','joinRsp','getRelativeToViewportCoord','_transformIMECache','pipe','_lockTransition','_init','IDLE','pauseCollaboration','COMMENT_UPDATE','_permissionService','_saveCache','WordArray','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_toggleOffline','MD5','/rev/','/universer-api/user/session-ticket','1em','UNIVER_DOC','_tryEnsureSocket','next','47509677QvVFWS','_initRequestHeader','children','onRendered','_acknowledgedAwaitingChangeset','_doReset','readInt32LE','fillText','has','title','getUniverSheetInstance','reset','default','univer-online-status','Base','_createSocketURL','memberID','HELLO','_doFinalize','saveImage','listRoles','signUrlServerUrl','sid','registerBeforeClose','m2Prime','_initCommandExecutedListener','kdf','COMPLETION_FINISHED','originalMeta','_createInitialState','_onConflict','blue400','YUUMI_SUBSCRIPTION_NOT_FOUND','_cursors','permissionRejEvent','Cipher','_updateSubUnitFromURLParams','lib','onCommentUpdate','_onCombEvent','localeService','onPointerEnter$','sessionStatus','_updateLocalCursor','result','_initEventListeners','liveShareNewHost','onPointerLeave$','CHANGESET_SHOULD_RETRY','getUnit','_getSignURL','top','removeMember','univer-online-status-icon','getTypeOfUnitAdded$','_updateState','_transformRemoteChangesetByIMECache','_instanceService','hasOwnProperty','idSuffix','charCodeAt','ref','getUnitId','permission.title','SHA1','for','CONFLICT','image/gif','toggleOnline','_shouldReportTelemetry','formatter','[PendingState]:\x20received\x20acknowledgement.'];_0x1893=function(){return _0x476b6f;};return _0x1893();}$t=Xc([Qe(0x0,_0xa52f76(_0x2e5136)),Qe(0x1,_0x1efafe),Qe(0x2,_0x5607d9),Qe(0x3,_0xa52f76(Me)),Qe(0x4,_0xa52f76(_0x316ab9))],$t);var Jc=Object['defineProperty'],Zc=Object[_0x112848(0x331)],Qc=(_0x41f04a,_0x175819,_0x2e623e,_0x12e7d8)=>{const _0x445e3a=_0x112848;for(var _0xecba85=_0x12e7d8>0x1?void 0x0:_0x12e7d8?Zc(_0x175819,_0x2e623e):_0x175819,_0x497b5c=_0x41f04a[_0x445e3a(0x2c7)]-0x1,_0x4a9d62;_0x497b5c>=0x0;_0x497b5c--)(_0x4a9d62=_0x41f04a[_0x497b5c])&&(_0xecba85=(_0x12e7d8?_0x4a9d62(_0x175819,_0x2e623e,_0xecba85):_0x4a9d62(_0xecba85))||_0xecba85);return _0x12e7d8&&_0xecba85&&Jc(_0x175819,_0x2e623e,_0xecba85),_0xecba85;},Ci=(_0x2e7ccb,_0x13d3c8)=>(_0x18ba4e,_0x24ca2a)=>_0x13d3c8(_0x18ba4e,_0x24ca2a,_0x2e7ccb);let gs=class{constructor(_0x3e0ef8,_0x4dbe1b){const _0x361d1d=_0x112848;this[_0x361d1d(0x3bf)]=_0x3e0ef8,this[_0x361d1d(0x216)]=_0x4dbe1b;}async[_0x112848(0x2d9)](_0x540c40,_0x372954){const _0x1f15f6=_0x112848;var _0x35a253;const {unitID:_0x2fa2c0,type:_0x2d313e,revision:_0xc3af79=0x0}=_0x372954,_0x3b07fd=this[_0x1f15f6(0x5df)]()+'/'+_0x2d313e+_0x1f15f6(0x42b)+_0x2fa2c0+_0x1f15f6(0x535)+_0xc3af79,_0x380aad=(await this[_0x1f15f6(0x216)][_0x1f15f6(0x4cd)](_0x3b07fd))[_0x1f15f6(0x321)],_0x4e0f82=(_0x35a253=_0x380aad[_0x1f15f6(0x20c)])==null?void 0x0:_0x35a253['workbook'];if(_0x4e0f82){const _0x131824=_0x4e0f82==null?void 0x0:_0x4e0f82[_0x1f15f6(0x557)],_0x2d2ced=_0x127662[_0x1f15f6(0x39d)](_0x57f395(_0x131824));_0x4e0f82[_0x1f15f6(0x557)]=_0x2d2ced,Object[_0x1f15f6(0x2f1)](_0x4e0f82[_0x1f15f6(0x43a)])[_0x1f15f6(0x209)](([,_0x4f4893])=>{const _0x949376=_0x1f15f6,_0x26640e=_0x4f4893[_0x949376(0x557)],_0x38a186=_0x127662['encode'](_0x57f395(_0x26640e));_0x4f4893[_0x949376(0x557)]=_0x38a186;});}return _0x380aad;}async[_0x112848(0x515)](_0x42b328,_0x536ed4){const _0x4060c3=_0x112848,{unitID:_0x4ca12f,type:_0x57806b,blockID:_0x9d1ea6}=_0x536ed4,_0x5bd249=this[_0x4060c3(0x4e0)]()+'/'+_0x57806b+_0x4060c3(0x42b)+_0x4ca12f+_0x4060c3(0x20e)+_0x9d1ea6;return(await this[_0x4060c3(0x216)][_0x4060c3(0x4cd)](_0x5bd249))[_0x4060c3(0x321)];}async[_0x112848(0x219)](_0x3f2fa2,_0x27fce8){const _0x42b16b=_0x112848,{unitID:_0x1a6930,type:_0x1a8ffa,blockID:_0x7eeb81}=_0x27fce8,_0x4ed934=this[_0x42b16b(0x4e0)]()+'/block/'+_0x1a8ffa+_0x42b16b(0x42b)+_0x1a6930+_0x42b16b(0x20e)+_0x7eeb81;return(await this[_0x42b16b(0x216)]['get'](_0x4ed934))[_0x42b16b(0x321)];}async[_0x112848(0x28d)](_0x2d198e,_0x5a9655){const _0x1b403b=_0x112848,{unitID:_0x3994e4,type:_0x4f6bea,from:_0x5756de,to:_0x3193ea}=_0x5a9655,_0x204ae2=this[_0x1b403b(0x4e0)]()+'/'+_0x4f6bea+'/unit/'+_0x3994e4+_0x1b403b(0x50a)+_0x5756de+_0x1b403b(0x203)+_0x3193ea;return(await this[_0x1b403b(0x216)][_0x1b403b(0x4cd)](_0x204ae2))[_0x1b403b(0x321)];}['getSnapshotAPIPath'](){const _0x30abab=_0x112848;var _0x3154b7;return(_0x3154b7=this[_0x30abab(0x3bf)]['getConfig'](bn))!=null?_0x3154b7:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x4aae39=_0x112848;var _0x4370c4,_0xf77f11;const _0x439bc9=this[_0x4aae39(0x3bf)][_0x4aae39(0x496)](Cn),_0x933be7=this['_configService'][_0x4aae39(0x496)](Q);return(_0xf77f11=(_0x4370c4=_0x933be7==null?void 0x0:_0x933be7[_0x4aae39(0x50b)])!=null?_0x4370c4:_0x439bc9)!=null?_0xf77f11:En;}async[_0x112848(0x3b1)](_0x1ae104,_0xd69ba8){const _0x165f68=_0x112848,_0x1d1433=_0x165f68(0x2e1)+_0xd69ba8[_0x165f68(0x5b1)]+_0x165f68(0x42b)+_0xd69ba8[_0x165f68(0x5e0)]+'/resources';return(await this['_httpService'][_0x165f68(0x4cd)](_0x1d1433,{'params':{'resourceId':JSON[_0x165f68(0x2f0)](_0xd69ba8[_0x165f68(0x263)])}}))[_0x165f68(0x321)];}[_0x112848(0x1f5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x112848(0x252)](){const _0x3502cc=_0x112848;throw new Error(_0x3502cc(0x5c2));}[_0x112848(0x593)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x112848(0x4f5)](){const _0x11a742=_0x112848;throw new Error(_0x11a742(0x5c2));}};gs=Qc([Ci(0x0,_0x11a6c7),Ci(0x1,_0xa52f76(_0xf832d4))],gs);var eh=Object[_0x112848(0x47b)],th=Object[_0x112848(0x331)],sh=(_0x486c90,_0x12fea9,_0x17ed31,_0x166a6d)=>{const _0x266784=_0x112848;for(var _0xd05e75=_0x166a6d>0x1?void 0x0:_0x166a6d?th(_0x12fea9,_0x17ed31):_0x12fea9,_0x28ec97=_0x486c90[_0x266784(0x2c7)]-0x1,_0x4fe815;_0x28ec97>=0x0;_0x28ec97--)(_0x4fe815=_0x486c90[_0x28ec97])&&(_0xd05e75=(_0x166a6d?_0x4fe815(_0x12fea9,_0x17ed31,_0xd05e75):_0x4fe815(_0xd05e75))||_0xd05e75);return _0x166a6d&&_0xd05e75&&eh(_0x12fea9,_0x17ed31,_0xd05e75),_0xd05e75;},et=(_0x59adbf,_0x4e896d)=>(_0x5852a7,_0x258449)=>_0x4e896d(_0x5852a7,_0x258449,_0x59adbf);let Ss=class extends _0x1e5d78{constructor(_0x337e83,_0x36ad8a,_0x563634,_0x2634d5,_0x58a638){const _0x34fde0=_0x112848;super(_0x337e83,_0x36ad8a,_0x563634),this[_0x34fde0(0x59f)]=_0x2634d5,this[_0x34fde0(0x2bf)]=_0x58a638;}[_0x112848(0x4b0)](_0x5d04e8,_0x516509){const _0x6be8f8=_0x112848,_0x134b13=this[_0x6be8f8(0x2a6)](_0x5d04e8);if(_0x134b13)try{const _0x53358a=this[_0x6be8f8(0x2e5)](_0x134b13,_0x516509);this[_0x6be8f8(0x481)](_0x5d04e8,_0x53358a);}catch(_0x6de947){this[_0x6be8f8(0x2bf)]['error'](_0x6be8f8(0x28f),_0x6de947),this[_0x6be8f8(0x457)](_0x5d04e8);}const _0xd61ec7=this[_0x6be8f8(0x28b)](_0x5d04e8);if(_0xd61ec7)try{const _0x4a926a=this[_0x6be8f8(0x2e5)](_0xd61ec7,_0x516509);this['_substituteRedoStack'](_0x5d04e8,_0x4a926a);}catch(_0xf20f1d){this['_logService'][_0x6be8f8(0x3b9)](_0xf20f1d),this[_0x6be8f8(0x4e9)](_0x5d04e8);}}['_clearUndo'](_0x28f167){const _0x5cfc18=_0x112848,_0x58000a=this['_getUndoStack'](_0x28f167);_0x58000a&&(_0x58000a['length']=0x0,this[_0x5cfc18(0x297)]());}[_0x112848(0x4e9)](_0x4f8519){const _0x5086a7=_0x112848,_0x3e22d8=this[_0x5086a7(0x28b)](_0x4f8519);_0x3e22d8&&(_0x3e22d8['length']=0x0,this[_0x5086a7(0x297)]());}[_0x112848(0x481)](_0x644715,_0x91736){const _0x2aa2ed=_0x112848;this['_undoStacks'][_0x2aa2ed(0x2ab)](_0x644715,_0x91736),this['_updateStatus']();}['_substituteRedoStack'](_0x471dbb,_0x59c99d){const _0x4b5b3c=_0x112848;this['_redoStacks']['set'](_0x471dbb,_0x59c99d),this[_0x4b5b3c(0x297)]();}['_transformStack'](_0x1b0146,_0x34a84d){const _0x5cf534=_0x112848,_0x40f839=[];let _0x220cba=_0x34a84d,_0x19f76b=_0x34a84d;for(let _0x4aea6e=_0x1b0146[_0x5cf534(0x2c7)]-0x1;_0x4aea6e>=0x0;_0x4aea6e--){const {unitID:_0x4f454f,undoMutations:_0x57a476,redoMutations:_0x26fb12}=_0x1b0146[_0x4aea6e],_0x3d98fa=this[_0x5cf534(0x59f)][_0x5cf534(0x284)](_0x220cba,_0x57a476),_0x2261df=this[_0x5cf534(0x59f)][_0x5cf534(0x284)](_0x19f76b,_0x26fb12);if(_0xc4ef8c(_0x3d98fa)||_0xc4ef8c(_0x2261df)){this[_0x5cf534(0x2bf)][_0x5cf534(0x3b9)]('[CollaborationUndoRedoService]',_0x5cf534(0x33a),_0x3d98fa,_0x2261df);break;}_0x220cba=_0x3d98fa['c1Prime'],_0x19f76b=_0x2261df['c1Prime'],_0x40f839[_0x5cf534(0x2aa)]({'unitID':_0x4f454f,'undoMutations':_0x3d98fa[_0x5cf534(0x553)],'redoMutations':_0x2261df[_0x5cf534(0x553)]});}return _0x40f839[_0x5cf534(0x40a)]();}};Ss=sh([et(0x0,_0x1efafe),et(0x1,_0x18a422),et(0x2,_0x4854c6),et(0x3,_0x6c5e45),et(0x4,_0x5268cc)],Ss);class ih extends _0x40c6c0{constructor(){const _0x50608e=_0x112848;super(),g(this,_0x50608e(0x2a3)),this['urlChange$']=_0x3a7923(window,_0x50608e(0x39a))[_0x50608e(0x529)](_0xb4b5bf(this[_0x50608e(0x204)]),_0x4f483e(0x1),_0x3cfafd(void 0x0));}['setParam'](_0x5dae4f,_0xcb1bdb,_0x58db75=!0x1){const _0x18fd66=_0x112848,_0x611a3=new URL(window['location']['href']);_0x611a3[_0x18fd66(0x3a0)][_0x18fd66(0x2ab)](_0x5dae4f,_0xcb1bdb),_0x58db75?window[_0x18fd66(0x5ca)][_0x18fd66(0x28e)]('','',_0x611a3['toString']()):window['history'][_0x18fd66(0x292)]('','',_0x611a3[_0x18fd66(0x27e)]());}[_0x112848(0x594)](_0x4bea92,_0x1c74dc=!0x1){const _0x1eef1a=_0x112848,_0x491f1f=new URL(window['location']['href']);_0x491f1f[_0x1eef1a(0x3a0)][_0x1eef1a(0x37b)](_0x4bea92),_0x1c74dc?window[_0x1eef1a(0x5ca)][_0x1eef1a(0x28e)]('','',_0x491f1f['toString']()):window['history']['pushState']('','',_0x491f1f[_0x1eef1a(0x27e)]());}[_0x112848(0x5e8)](_0x2f45a5){const _0x1d7e7a=_0x112848;var _0x314afd;return(_0x314afd=new URL(window[_0x1d7e7a(0x51a)]['href'])[_0x1d7e7a(0x3a0)][_0x1d7e7a(0x4cd)](_0x2f45a5))!=null?_0x314afd:void 0x0;}}var or=Object[_0x112848(0x47b)],rh=Object[_0x112848(0x331)],nh=(_0x426676,_0x3dbe21,_0x3248c7)=>_0x3dbe21 in _0x426676?or(_0x426676,_0x3dbe21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3248c7}):_0x426676[_0x3dbe21]=_0x3248c7,oh=(_0x406187,_0x299e93,_0x219bfc,_0x2591db)=>{const _0x52a996=_0x112848;for(var _0x26968d=_0x2591db>0x1?void 0x0:_0x2591db?rh(_0x299e93,_0x219bfc):_0x299e93,_0x531fca=_0x406187[_0x52a996(0x2c7)]-0x1,_0x415f8e;_0x531fca>=0x0;_0x531fca--)(_0x415f8e=_0x406187[_0x531fca])&&(_0x26968d=(_0x2591db?_0x415f8e(_0x299e93,_0x219bfc,_0x26968d):_0x415f8e(_0x26968d))||_0x26968d);return _0x2591db&&_0x26968d&&or(_0x299e93,_0x219bfc,_0x26968d),_0x26968d;},lt=(_0x2ec6f8,_0x584f8e)=>(_0x4ed807,_0x3c2ea4)=>_0x584f8e(_0x4ed807,_0x3c2ea4,_0x2ec6f8),ah=(_0x4a324d,_0x1f2a37,_0x366028)=>nh(_0x4a324d,_0x1f2a37+'',_0x366028);const ch='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Is=class extends _0x1eea30{constructor(_0x461256=jn,_0x45a028,_0x470ae6,_0x5e3807,_0x3475ee){const _0x5d8acb=_0x112848;super(),this[_0x5d8acb(0x50d)]=_0x461256,this[_0x5d8acb(0x2bf)]=_0x45a028,this[_0x5d8acb(0x38a)]=_0x470ae6,this['_injector']=_0x5e3807,this['_configService']=_0x3475ee;const {..._0x3ddad9}=this[_0x5d8acb(0x50d)];this['_configService'][_0x5d8acb(0x4c8)](Q,_0x3ddad9);}[_0x112848(0x2b8)](){const _0x2e25a9=_0x112848;this['_registerDependencies'](),this[_0x2e25a9(0x274)]();}[_0x112848(0x26a)](){const _0x41c15=_0x112848;_0xf829bb(this[_0x41c15(0x382)],[[Mt],[Ut]]);}[_0x112848(0x53e)](){this['_registerRenderDependencies']();}[_0x112848(0x31b)](){const _0x196157=_0x112848;var _0x35c36d,_0x37d4b5,_0x46965b,_0x42bfeb;this[_0x196157(0x382)][_0x196157(0x543)](_0x196f01)&&this[_0x196157(0x2bf)][_0x196157(0x3b9)](_0x196157(0x484),_0x196157(0x532));const _0x5ae4fc=[[_0x196f01,{'useClass':Ss}],[Me],[Us],[tr,{'useClass':ih}],[Ae],[z],[_0x380994],[yt],[Dt],[Ot],[wt],[Ds],[xt],[Lt],[Gi],[$t],[Vi,{'useClass':(_0x37d4b5=(_0x35c36d=this[_0x196157(0x50d)])==null?void 0x0:_0x35c36d[_0x196157(0x240)])!=null?_0x37d4b5:as}],[_0x43ae5e,{'useClass':gs}],[_0x2cb575,{'useClass':vs}],[_0x2c6ece,{'useClass':ps}],[_0x18bcf1,{'useClass':ms}],[it],[At],[Nt],[Mt],[Fe],[Ut]];(_0x46965b=this[_0x196157(0x50d)])!=null&&_0x46965b[_0x196157(0x39e)]&&_0x5ae4fc['push']([Ht,{'useClass':Io}]),_0x12d3f3(this[_0x196157(0x382)],_0x5f51db(_0x5ae4fc,(_0x42bfeb=this[_0x196157(0x50d)])==null?void 0x0:_0x42bfeb['override']));}[_0x112848(0x503)](){const _0x1d153f=_0x112848;this['disposeWithMe'](this[_0x1d153f(0x38a)][_0x1d153f(0x231)](_0x3f1ceb[_0x1d153f(0x538)],[ds])),this[_0x1d153f(0x29e)](this[_0x1d153f(0x38a)][_0x1d153f(0x231)](_0x3f1ceb[_0x1d153f(0x3f0)],[fs]));}[_0x112848(0x274)](){const _0x505046=_0x112848;var _0xea0bdb,_0x580a48;this[_0x505046(0x382)][_0x505046(0x4cd)](_0xf832d4)[_0x505046(0x43c)]({'priority':0x14,'interceptor':_0x3a8cf9({'maxParallel':0x6})}),(_0xea0bdb=this[_0x505046(0x50d)])!=null&&_0xea0bdb[_0x505046(0x329)]||this[_0x505046(0x382)]['get'](z)[_0x505046(0x39b)](),(_0x580a48=this[_0x505046(0x50d)])!=null&&_0x580a48['enableAuthServer']&&_0xf829bb(this['_injector'],[[xt]]),_0xf829bb(this['_injector'],[[Lt],[Fe],[At],[it],[Nt],[$t]]);}};ah(Is,_0x112848(0x25b),ch),Is=oh([_0x2515dd(_0x1e483b,_0x40f020),lt(0x1,_0x5268cc),lt(0x2,_0x457d35),lt(0x3,_0xa52f76(_0x2e5136)),lt(0x4,_0x11a6c7)],Is);export{sr as AUTHZ_URL_KEY,vs as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,xn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,Pt as CollaborationEntity,cs as CollaborationSession,Me as CollaborationSessionService,as as CollaborationSocketService,J as CollaborationStatus,Ma as CollaborationStatusDisplay,ps as CollabrationImageIoService,Gi as CommentService,At as DataLoaderController,Nt as DesktopCollaborationStatusDisplayController,hs as DocCollaborationEntity,wn as HEARTBEAT_INTERVAL_KEY,Bi as HEARTBEAT_TIMEOUT_KEY,Vi as ICollaborationSocketService,tr as IURLService,An as LOCAL_CACHE_INTERVAL_KEY,$n as LOGIN_URL_KEY,z as LocalCacheService,Ae as MemberService,ms as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,yh as SEND_CHANGESET_TIMEOUT_KEY,Cn as SNAPSHOT_SERVER_URL_KEY,bn as SNAPSHOT_URL_KEY,fe as SessionStatus,da as SheetCollabCursorShape,ls as SheetCollaborationEntity,gs as SnapshotServerOverHTTPService,Is as UniverCollaborationClientPlugin,ih as WebURLService,Bn as deserializeToCombResponse,kn as serializeCombRequest};
|
1
|
+
const _0x30c112=_0x2ebf;(function(_0x2cf957,_0x290d74){const _0x2d12f0=_0x2ebf,_0xf5c538=_0x2cf957();while(!![]){try{const _0x330223=-parseInt(_0x2d12f0(0x385))/0x1*(parseInt(_0x2d12f0(0x30b))/0x2)+-parseInt(_0x2d12f0(0x1e2))/0x3+parseInt(_0x2d12f0(0x2e7))/0x4*(parseInt(_0x2d12f0(0x40e))/0x5)+-parseInt(_0x2d12f0(0x40a))/0x6+-parseInt(_0x2d12f0(0x341))/0x7+-parseInt(_0x2d12f0(0x485))/0x8+parseInt(_0x2d12f0(0x30d))/0x9*(parseInt(_0x2d12f0(0x488))/0xa);if(_0x330223===_0x290d74)break;else _0xf5c538['push'](_0xf5c538['shift']());}catch(_0x231630){_0xf5c538['push'](_0xf5c538['shift']());}}}(_0x3021,0x1eda6));var cr=Object[_0x30c112(0x28e)],hr=(_0x50784d,_0x105d23,_0x18fd62)=>_0x105d23 in _0x50784d?cr(_0x50784d,_0x105d23,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18fd62}):_0x50784d[_0x105d23]=_0x18fd62,g=(_0x2cd495,_0x23cb72,_0x19f72f)=>hr(_0x2cd495,typeof _0x23cb72!=_0x30c112(0x3a5)?_0x23cb72+'':_0x23cb72,_0x19f72f);import{createIdentifier as _0x87a6a4,Inject as _0x1273b4,Disposable as _0x2ea306,DisposableCollection as _0x1978af,toDisposable as _0x7e08d2,IConfigService as _0x4d1776,ILogService as _0x164f73,UserManagerService as _0x497e75,UniverInstanceType as _0x11a8a2,IUniverInstanceService as _0x1d1a83,LocaleService as _0x582404,Optional as _0xe30079,RxDisposable as _0x43d55d,Injector as _0x3c8419,Tools as _0x4c6645,ILocalStorageService as _0x2c87d9,Rectangle as _0x2a8e41,ICommandService as _0x3364ad,DOC_RANGE_TYPE as _0x5780a0,JSONX as _0x2e8611,CommandType as _0x2d21ee,IPermissionService as _0x4a5194,IUndoRedoService as _0x603285,sequenceExecute as _0x49ac66,debounce as _0x1f48d8,COLORS as _0x4a2600,ColorKit as _0x19a4a0,ThemeService as _0x2ccbc7,fromEventSubject as _0x568d39,useDependency as _0x4d30aa,connectInjector as _0x28fceb,Workbook as _0x560d36,MentionType as _0x2dddf1,isInternalEditorID as _0x32fb48,LocalUndoRedoService as _0xb09a2c,IContextService as _0x5c23fd,DependentOn as _0x1480db,Plugin as _0x197194,touchDependencies as _0x2c0e53,IAuthzIoService as _0x3254e7,IMentionIOService as _0x57e999,registerDependencies as _0x26569a,mergeOverrideWithDependencies as _0x306d11}from'@univerjs/core';import{Subject as _0x58011a,merge as _0x3c419a,takeUntil as _0x4d1973,BehaviorSubject as _0x15cd68,distinctUntilChanged as _0x194fec,fromEvent as _0x1700cb,ReplaySubject as _0x51b1e0,take as _0x4828e4,map as _0x31e10f,shareReplay as _0x1ee9d9,of as _0x4e4949,debounceTime as _0x12f726,filter as _0x52ffaa,switchMap as _0x387fda,combineLatest as _0x3fb531,concatMap as _0x33819c,mapTo as _0x42e3d4}from'rxjs';import{map as _0x1864e2,take as _0x126867,filter as _0x210123,delay as _0x2cb4ed,throttleTime as _0x27d0bb,takeUntil as _0x585a8a,switchMap as _0x120e33}from'rxjs/operators';import{MessageType as _0x41d1f0,Tooltip as _0x1aa639}from'@univerjs/design';import{HTTPService as _0x259d97,WebSocketService as _0x10c7f1,MergeInterceptorFactory as _0x1478dc,HTTPRequest as _0x1aa034,UniverNetworkPlugin as _0x279cc7,ThresholdInterceptorFactory as _0x4e8127}from'@univerjs/network';import{IBeforeCloseService as _0x31d20c,IMessageService as _0x56e1bc,INotificationService as _0x45c7b7,useObservable as _0x215925,BuiltInUIPart as _0x2c1a69,IUIPartsService as _0x2a8e8c}from'@univerjs/ui';import{CollaborationEvent as _0x1b96b7,parseChangesetToProtocol as _0x545f13,ISnapshotServerService as _0x1745f9,isTransformMutationFailure as _0x33b0d8,isTransformMutationsWithChangesetSuccess as _0x12ed98,ITransformService as _0xf205f5,RevisionService as _0x5239ac,mapDocumentTypeToUniverType as _0x3cb35c,isTransformChangesetsSuccess as _0x675846,CompressMutationService as _0x401e2b,parseProtocolChangeset as _0x17330c,SnapshotService as _0x5ad125,textEncoder as _0x4339d2,b64DecodeUnicode as _0x443e00,isTransformMutationsWithChangesetFailure as _0x330507,UniverCollaborationPlugin as _0xd9ebf8}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xb3e496}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x4cb2f3,RichTextEditingMutation as _0x34173f,SetTextSelectionsOperation as _0x29a654,DocSkeletonManagerService as _0x397d26}from'@univerjs/docs';import{DocIMEInputManagerService as _0x2f1d3f,DocStateChangeManagerService as _0xd60329,IDocClipboardService as _0x41ae5b,NodePositionConvertToCursor as _0x496366,NodePositionConvertToRectRange as _0x56115f,TEXT_RANGE_LAYER_INDEX as _0x21d2a5,SetDocZoomRatioOperation as _0x16ccdd}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2bf4e8,SetSelectionsOperation as _0x2d1427,InsertSheetMutation as _0x5b5bbd,EmptyMutation as _0x5cdb92,WorkbookEditablePermission as _0x1acc3d,RefRangeService as _0x2902d3,EffectRefRangId as _0x1c676e,handleIRemoveRow as _0x4920d8,handleIRemoveCol as _0x3ee756,handleMoveRange as _0x3ce231,handleInsertRow as _0x4b2bf2,handleInsertRangeMoveRight as _0xc9ce6c,handleInsertRangeMoveDown as _0x523489,handleInsertCol as _0x33c079,handleDeleteRangeMoveUp as _0x3d5f70,handleDeleteRangeMoveLeft as _0xf9f43c,runRefRangeMutations as _0x3302a3,SetWorksheetActivateCommand as _0x1d2b26}from'@univerjs/sheets';import{IRenderManagerService as _0x87c24b,Shape as _0x59eb56,Rect as _0x2ca74a,getColor as _0x219487,RegularPolygon as _0x376a5e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x432ceb,Vector2 as _0x5ef010,SHEET_VIEWPORT_KEY as _0x4e2d98}from'@univerjs/engine-render';function _0x2ebf(_0x344500,_0x3b3020){const _0x30211d=_0x3021();return _0x2ebf=function(_0x2ebf42,_0x192e02){_0x2ebf42=_0x2ebf42-0x84;let _0x181d46=_0x30211d[_0x2ebf42];return _0x181d46;},_0x2ebf(_0x344500,_0x3b3020);}import{IImageIoService as _0x4cbe92,ImageSourceType as _0x15bdd2,ImageUploadStatusType as _0x23ab42}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x11dba6,serializeRangeWithSheet as _0x1e9fee}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x9c126f,getCoordByCell as _0x107ed1,getSheetObject as _0x126d2d,SheetPermissionInitController as _0x1b4740}from'@univerjs/sheets-ui';import _0xe9f461,{forwardRef as _0x4283e7,useRef as _0x58dadc,createElement as _0x28db3f,useCallback as _0x6d999}from'react';import{IRemoteInstanceService as _0x2f6c41}from'@univerjs/rpc';const En=_0x30c112(0x276),bn=_0x30c112(0x301),Tn='SNAPSHOT_URL_KEY',wh=_0x30c112(0x3bd),Rn=0x7d0,On=_0x30c112(0x17b),yn=_0x30c112(0x323),wn=_0x30c112(0x431),Dn=_0x30c112(0x2c8),Pn=0x7530,ki=_0x30c112(0x429),Wi=0x4e20,Nn=0x4e20,Un=_0x30c112(0x479),An=0x3,Mn=_0x30c112(0x406),xn=0x3e8,Ln='COLLAB_SUBMIT_CHANGESET_URL',$n=_0x30c112(0x24f),Hn='LOGIN_URL_KEY',jn='/universer-api/oidc/authpage';var Fi=(_0x2df36a=>(_0x2df36a[_0x2df36a['UNDEFINED']=0x0]=_0x30c112(0x29b),_0x2df36a[_0x2df36a['OK']=0x1]='OK',_0x2df36a[_0x2df36a[_0x30c112(0x2d2)]=0x2]=_0x30c112(0x2d2),_0x2df36a[_0x2df36a[_0x30c112(0x398)]=0x3]=_0x30c112(0x398),_0x2df36a[_0x2df36a[_0x30c112(0x366)]=0x4]=_0x30c112(0x366),_0x2df36a[_0x2df36a['UNAUTHENTICATED']=0x5]=_0x30c112(0x278),_0x2df36a[_0x2df36a[_0x30c112(0x1aa)]=0x6]=_0x30c112(0x1aa),_0x2df36a[_0x2df36a['INVALID_ARGUMENT']=0x7]=_0x30c112(0x465),_0x2df36a[_0x2df36a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2df36a[_0x2df36a[_0x30c112(0x8d)]=0x9]='COMPLETION_FINISHED',_0x2df36a[_0x2df36a[_0x30c112(0x3ed)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2df36a[_0x2df36a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x30c112(0x1be),_0x2df36a[_0x2df36a[_0x30c112(0x2db)]=0x1772]=_0x30c112(0x2db),_0x2df36a[_0x2df36a[_0x30c112(0x1ea)]=0x1773]=_0x30c112(0x1ea),_0x2df36a[_0x2df36a[_0x30c112(0x495)]=0x1b59]=_0x30c112(0x495),_0x2df36a[_0x2df36a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x30c112(0x459),_0x2df36a[_0x2df36a[_0x30c112(0xdc)]=0x1b5b]=_0x30c112(0xdc),_0x2df36a[_0x2df36a[_0x30c112(0xce)]=0x1b5c]=_0x30c112(0xce),_0x2df36a[_0x2df36a[_0x30c112(0x43b)]=0x1b5d]=_0x30c112(0x43b),_0x2df36a[_0x2df36a[_0x30c112(0x437)]=0x1f41]=_0x30c112(0x437),_0x2df36a[_0x2df36a[_0x30c112(0xd1)]=0x2329]=_0x30c112(0xd1),_0x2df36a[_0x2df36a[_0x30c112(0x364)]=0x232a]=_0x30c112(0x364),_0x2df36a[_0x2df36a[_0x30c112(0x85)]=0x232b]=_0x30c112(0x85),_0x2df36a[_0x2df36a[_0x30c112(0x46d)]=0x232c]=_0x30c112(0x46d),_0x2df36a[_0x2df36a[_0x30c112(0x90)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2df36a[_0x2df36a[_0x30c112(0x148)]=0x2711]=_0x30c112(0x148),_0x2df36a[_0x2df36a[_0x30c112(0x2ea)]=0x2712]=_0x30c112(0x2ea),_0x2df36a[_0x2df36a[_0x30c112(0x340)]=0x2713]=_0x30c112(0x340),_0x2df36a[_0x2df36a[_0x30c112(0x327)]=0x2714]=_0x30c112(0x327),_0x2df36a[_0x2df36a[_0x30c112(0x1a4)]=-0x1]=_0x30c112(0x1a4),_0x2df36a))(Fi||{}),ae=(_0x20584f=>(_0x20584f[_0x20584f[_0x30c112(0x190)]=0x0]='UNIVER_UNKNOWN',_0x20584f[_0x20584f['UNIVER_DOC']=0x1]=_0x30c112(0x1d7),_0x20584f[_0x20584f['UNIVER_SHEET']=0x2]=_0x30c112(0x335),_0x20584f[_0x20584f['UNIVER_SLIDE']=0x3]=_0x30c112(0x37f),_0x20584f[_0x20584f[_0x30c112(0x44e)]=0x4]=_0x30c112(0x44e),_0x20584f[_0x20584f[_0x30c112(0x1a4)]=-0x1]='UNRECOGNIZED',_0x20584f))(ae||{}),W=(_0x4e6b82=>(_0x4e6b82[_0x4e6b82['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x4e6b82[_0x4e6b82[_0x30c112(0x1b8)]=0x1]='HELLO',_0x4e6b82[_0x4e6b82[_0x30c112(0x145)]=0x2]=_0x30c112(0x145),_0x4e6b82[_0x4e6b82[_0x30c112(0x32b)]=0x3]='LEAVE',_0x4e6b82[_0x4e6b82['INGEST']=0x4]='INGEST',_0x4e6b82[_0x4e6b82[_0x30c112(0x2a8)]=0x5]=_0x30c112(0x2a8),_0x4e6b82[_0x4e6b82['RECV']=0x6]=_0x30c112(0x261),_0x4e6b82[_0x4e6b82[_0x30c112(0x1a4)]=-0x1]=_0x30c112(0x1a4),_0x4e6b82))(W||{}),Pe=(_0x25fa32=>(_0x25fa32[_0x25fa32[_0x30c112(0x2e8)]=0x0]=_0x30c112(0x2e8),_0x25fa32[_0x25fa32['OK']=0x1]='OK',_0x25fa32[_0x25fa32['FAIL']=0x2]=_0x30c112(0x2ef),_0x25fa32[_0x25fa32[_0x30c112(0x91)]=0x3e9]='JOIN_ROOM_FULL',_0x25fa32[_0x25fa32['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x30c112(0x101),_0x25fa32[_0x25fa32[_0x30c112(0x3b3)]=0x3eb]=_0x30c112(0x3b3),_0x25fa32[_0x25fa32[_0x30c112(0x8a)]=0x3ec]=_0x30c112(0x8a),_0x25fa32[_0x25fa32[_0x30c112(0x1a4)]=-0x1]=_0x30c112(0x1a4),_0x25fa32))(Pe||{}),Vi=(_0xa2cd8e=>(_0xa2cd8e[_0xa2cd8e['Undefined']=0x0]=_0x30c112(0x3e3),_0xa2cd8e[_0xa2cd8e['HttpImport']=0x1]=_0x30c112(0x218),_0xa2cd8e[_0xa2cd8e['HttpExport']=0x2]=_0x30c112(0x379),_0xa2cd8e[_0xa2cd8e['UnitEmbedded']=0x3]=_0x30c112(0x2c1),_0xa2cd8e[_0xa2cd8e['UnitSnapshot']=0x4]=_0x30c112(0x403),_0xa2cd8e[_0xa2cd8e[_0x30c112(0x1a4)]=-0x1]=_0x30c112(0x1a4),_0xa2cd8e))(Vi||{});const Q=_0x30c112(0x42f),Bn={};function kn(_0x536ac8){const _0x1dcb6c=_0x30c112;var _0x3d7886,_0x400607,_0x53d852,_0x10f510,_0x58128f;const _0x4d4ffb=_0x536ac8['data'],_0x4dc74a=JSON[_0x1dcb6c(0x173)](_0x4d4ffb);switch(_0x4dc74a['cmd']){case W['HEARTBEAT']:case W[_0x1dcb6c(0x1b8)]:{const _0x54db82=_0x4dc74a['infoRsp'];return{..._0x4dc74a,'data':_0x54db82,'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};}case W['JOIN']:{const _0x20634e=_0x4dc74a[_0x1dcb6c(0x216)];return{..._0x4dc74a,'data':_0x20634e,'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};}case W[_0x1dcb6c(0x261)]:{const _0x1c404a=_0x4dc74a['collaMsg'];switch(_0x1c404a[_0x1dcb6c(0x39d)]){case _0x1b96b7[_0x1dcb6c(0x474)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x3d7886=_0x1c404a[_0x1dcb6c(0x273)])==null?void 0x0:_0x3d7886['cs']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x126)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x400607=_0x1c404a[_0x1dcb6c(0x47a)])==null?void 0x0:_0x400607['cs']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x3ae)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x53d852=_0x1c404a[_0x1dcb6c(0x13a)])==null?void 0x0:_0x53d852['cs']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x181)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x10f510=_0x1c404a[_0x1dcb6c(0x360)])==null?void 0x0:_0x10f510['cs']},'cmd':_0x4dc74a['cmd']};case _0x1b96b7[_0x1dcb6c(0x35b)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x58128f=_0x1c404a['csShouldRetryEvent'])==null?void 0x0:_0x58128f['cs']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x18f)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x448)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7['USERS_ENTER']:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x1ba)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0xf4)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a['leaveEvent']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7['LIVESHARE_NEW_HOST']:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x3cb)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0xb9)]:case _0x1b96b7[_0x1dcb6c(0x12d)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x33b)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7['LIVESHARE_TERMINATE']:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x3cb)]},'cmd':_0x4dc74a['cmd']};case _0x1b96b7[_0x1dcb6c(0x2fe)]:return{..._0x4dc74a,'data':_0x1c404a,'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x168)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a['commentUpdateEvent']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0xb3)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x1d0)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x17e)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x373)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};default:return _0x4dc74a;}}default:return _0x4dc74a;}}function Wn(_0x47c554){const _0x3ebae8=_0x30c112;switch(_0x47c554['cmd']){case W[_0x3ebae8(0x2a8)]:case W[_0x3ebae8(0x1b8)]:return JSON['stringify']({'cmd':_0x47c554[_0x3ebae8(0x11f)],'routeKey':_0x47c554[_0x3ebae8(0x2b4)]});case W[_0x3ebae8(0x1b6)]:{let _0x141282;switch(_0x47c554['data']['eventID']){case _0x1b96b7[_0x3ebae8(0x18f)]:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0x18f)],'updateCursorEvent':_0x47c554['data']['data']};break;}case _0x1b96b7[_0x3ebae8(0xf4)]:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0xf4)],'leaveEvent':_0x47c554['data']['data']};break;}case _0x1b96b7['USERS_ENTER']:{_0x141282={'eventID':_0x1b96b7['USERS_ENTER'],'joinEvent':_0x47c554['data'][_0x3ebae8(0x28d)]};break;}case _0x1b96b7[_0x3ebae8(0x324)]:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0x324)],'liveShareNewHost':_0x47c554[_0x3ebae8(0x28d)][_0x3ebae8(0x28d)]};break;}case _0x1b96b7[_0x3ebae8(0x12d)]:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0x12d)],'liveShareOperation':_0x47c554[_0x3ebae8(0x28d)][_0x3ebae8(0x28d)]};break;}case _0x1b96b7['LIVESHARE_TERMINATE']:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0x333)],'liveShareTerminate':_0x47c554['data'][_0x3ebae8(0x28d)]};break;}case _0x1b96b7['LIVESHARE_REQUEST_HOST']:{_0x141282={'eventID':_0x1b96b7['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x47c554['data'][_0x3ebae8(0x28d)]};break;}case _0x1b96b7[_0x3ebae8(0xb9)]:{_0x141282={'eventID':_0x1b96b7['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x141282={'eventID':_0x47c554[_0x3ebae8(0x28d)][_0x3ebae8(0x39d)]};}return JSON[_0x3ebae8(0x19d)]({'cmd':_0x47c554['cmd'],'routeKey':_0x47c554['routeKey'],'collaMsg':_0x141282});}case W[_0x3ebae8(0x145)]:return JSON[_0x3ebae8(0x19d)]({'cmd':_0x47c554['cmd'],'routeKey':_0x47c554[_0x3ebae8(0x2b4)],'joinReq':_0x47c554[_0x3ebae8(0x28d)]});case W[_0x3ebae8(0x32b)]:return JSON[_0x3ebae8(0x19d)]({'cmd':_0x47c554['cmd'],'routeKey':_0x47c554[_0x3ebae8(0x2b4)],'leaveReq':_0x47c554[_0x3ebae8(0x28d)]});default:throw new Error(_0x3ebae8(0x13b));}}var Fn=Object[_0x30c112(0x28e)],Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x1aaaf5,_0x1cfb23,_0x3ea0a4,_0x49f101)=>{const _0x4f5c33=_0x30c112;for(var _0x421033=_0x49f101>0x1?void 0x0:_0x49f101?Vn(_0x1cfb23,_0x3ea0a4):_0x1cfb23,_0x5f5cdb=_0x1aaaf5[_0x4f5c33(0xd3)]-0x1,_0x3ac84f;_0x5f5cdb>=0x0;_0x5f5cdb--)(_0x3ac84f=_0x1aaaf5[_0x5f5cdb])&&(_0x421033=(_0x49f101?_0x3ac84f(_0x1cfb23,_0x3ea0a4,_0x421033):_0x3ac84f(_0x421033))||_0x421033);return _0x49f101&&_0x421033&&Fn(_0x1cfb23,_0x3ea0a4,_0x421033),_0x421033;},ze=(_0x1d0c2d,_0x4915a1)=>(_0x54efb0,_0x1d78a5)=>_0x4915a1(_0x54efb0,_0x1d78a5,_0x1d0c2d);const Gi=_0x87a6a4(_0x30c112(0x3fb));function Yn(_0x5ce2ef,_0x37ff59,_0x3a1cb1){return _0x5ce2ef+'/'+_0x37ff59+'/unit/'+_0x3a1cb1+'/new_changes';}let cs=class extends _0x2ea306{constructor(_0xc27083,_0x7c531b,_0x1d11f3,_0x3840e9,_0x34b59c){const _0x2b22a4=_0x30c112;super(),this[_0x2b22a4(0x13c)]=_0xc27083,this[_0x2b22a4(0x19a)]=_0x7c531b,this[_0x2b22a4(0x42c)]=_0x1d11f3,this[_0x2b22a4(0x123)]=_0x3840e9,this[_0x2b22a4(0x45b)]=_0x34b59c;}[_0x30c112(0x1f8)](_0x4913af){const _0x4b8ce6=_0x30c112,_0x2a9043=this[_0x4b8ce6(0x19a)][_0x4b8ce6(0x1f8)](_0x4913af);if(!_0x2a9043)throw new Error(_0x4b8ce6(0x2df));const _0x5e9766=new _0x1978af(),_0x551ea7=new _0x58011a();_0x5e9766[_0x4b8ce6(0x1c0)](_0x2a9043[_0x4b8ce6(0x3b4)][_0x4b8ce6(0x196)](_0x5887de=>_0x551ea7['next'](_0x5887de))),_0x5e9766['add'](_0x7e08d2(()=>_0x551ea7['complete']()));const _0x18feec=new _0x58011a();_0x5e9766[_0x4b8ce6(0x1c0)](_0x2a9043['error$']['subscribe'](_0x3110e8=>_0x18feec[_0x4b8ce6(0x26d)](_0x3110e8))),_0x5e9766[_0x4b8ce6(0x1c0)](_0x7e08d2(()=>_0x18feec['complete']()));const _0x100f62=new _0x58011a();_0x5e9766[_0x4b8ce6(0x1c0)](_0x2a9043['message$'][_0x4b8ce6(0x196)](_0x1e86a0=>{const _0x472260=_0x4b8ce6,_0x1620bb=kn(_0x1e86a0);_0x100f62[_0x472260(0x26d)](_0x1620bb);})),_0x5e9766[_0x4b8ce6(0x1c0)](_0x7e08d2(()=>_0x100f62[_0x4b8ce6(0x2e0)]()));let _0x2045d0;const _0x272f13=()=>{const _0x7611cc=_0x4b8ce6;_0x18feec[_0x7611cc(0x26d)](new Event(_0x7611cc(0xb7))),_0x551ea7[_0x7611cc(0x26d)](new CloseEvent(_0x7611cc(0xb7))),_0x2045d0[_0x7611cc(0x3ef)]();};return _0x2045d0={'memberID':'','close$':_0x551ea7['asObservable'](),'error$':_0x18feec[_0x4b8ce6(0x36c)](),'open$':_0x2a9043['open$'],'message$':_0x100f62[_0x4b8ce6(0x36c)](),'send':_0x149c1e=>{const _0x2bdbe4=_0x4b8ce6;if(_0x149c1e['cmd']===W[_0x2bdbe4(0x1b6)]){if(_0x149c1e[_0x2bdbe4(0x28d)][_0x2bdbe4(0x39d)]===_0x1b96b7[_0x2bdbe4(0x211)]){this[_0x2bdbe4(0x166)](_0x2045d0,_0x149c1e['data'])['catch'](_0x2b38d2=>{const _0x27f1f5=_0x2bdbe4;this[_0x27f1f5(0x123)][_0x27f1f5(0x3de)](_0x2b38d2),_0x272f13();});return;}if(_0x149c1e[_0x2bdbe4(0x28d)][_0x2bdbe4(0x39d)]===_0x1b96b7[_0x2bdbe4(0x369)]){const _0x1c1d24=_0x149c1e['data'];this[_0x2bdbe4(0x3dd)](_0x1c1d24)[_0x2bdbe4(0x41b)](_0xb66b99=>{const _0x24d084=_0x2bdbe4;_0x100f62[_0x24d084(0x26d)]({'cmd':W['RECV'],'code':Pe['OK'],'routeKey':_0x1c1d24[_0x24d084(0x28d)]['unitID'],'routeType':'','data':{'eventID':_0x1b96b7[_0x24d084(0x3ba)],'data':{'changesets':_0xb66b99}}});})['catch'](_0xbed966=>{this['_logService']['error'](_0xbed966),_0x272f13();});return;}}_0x2a9043['send'](Wn(_0x149c1e));},'close':()=>{_0x2a9043['close'](),_0x5e9766['dispose']();}},_0x2045d0;}async['_submitChangeset'](_0x595e94,_0x246acd){const _0x30d429=_0x30c112;var _0x1c2148,_0x47c84c;const {unitType:_0x5b6b2f,unitID:_0x4ae848,changeset:_0x30285c}=_0x246acd[_0x30d429(0x28d)],_0x1493e9={'unitID':_0x4ae848,'memberID':_0x595e94[_0x30d429(0x27a)],'type':_0x5b6b2f,'changeset':_0x545f13(_0x30285c)},_0x873b44=this[_0x30d429(0x42c)]['getConfig'](Ln),_0x3d6d39=this[_0x30d429(0x42c)][_0x30d429(0x116)](Q),_0x2cb89c=Yn((_0x47c84c=(_0x1c2148=_0x3d6d39==null?void 0x0:_0x3d6d39['collabSubmitChangesetUrl'])!=null?_0x1c2148:_0x873b44)!=null?_0x47c84c:$n,_0x5b6b2f,_0x4ae848);try{await this[_0x30d429(0x13c)][_0x30d429(0x46e)](_0x2cb89c,{'body':_0x1493e9});}catch(_0x3fbe09){throw this[_0x30d429(0x123)]['error'](_0x30d429(0x470),_0x30d429(0x3cd)),_0x3fbe09;}}async[_0x30c112(0x3dd)](_0x2ff817){const {unitID:_0x5b4471,from:_0x5e28f0,to:_0x1d679a,unitType:_0x4c67cd}=_0x2ff817['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5b4471,'type':_0x4c67cd,'from':_0x5e28f0,'to':_0x1d679a}))['changesets'];}};cs=Gn([ze(0x0,_0x1273b4(_0x259d97)),ze(0x1,_0x1273b4(_0x10c7f1)),ze(0x2,_0x4d1776),ze(0x3,_0x164f73),ze(0x4,_0x1745f9)],cs);const Kn='collaboration_new_changeset';function qn(_0xc6f642){const _0x3aeecc=_0x30c112;return JSON[_0x3aeecc(0x19d)](_0xc6f642)[_0x3aeecc(0xd3)];}class Yi{constructor(){const _0x1fdb21=_0x30c112;g(this,_0x1fdb21(0x367),new _0x58011a()),g(this,_0x1fdb21(0x46a),this['_commentUpdate$'][_0x1fdb21(0x36c)]());}['onCommentUpdate'](_0x4f2d40){const _0x1aebcd=_0x30c112;this[_0x1aebcd(0x367)][_0x1aebcd(0x26d)](_0x4f2d40);}}var zn=Object[_0x30c112(0x28e)],Xn=Object[_0x30c112(0x1e3)],Jn=(_0x37ed24,_0x4dc687,_0x302d0b,_0x208312)=>{for(var _0x34553d=_0x208312>0x1?void 0x0:_0x208312?Xn(_0x4dc687,_0x302d0b):_0x4dc687,_0x4834b4=_0x37ed24['length']-0x1,_0x1c074a;_0x4834b4>=0x0;_0x4834b4--)(_0x1c074a=_0x37ed24[_0x4834b4])&&(_0x34553d=(_0x208312?_0x1c074a(_0x4dc687,_0x302d0b,_0x34553d):_0x1c074a(_0x34553d))||_0x34553d);return _0x208312&&_0x34553d&&zn(_0x4dc687,_0x302d0b,_0x34553d),_0x34553d;},Ks=(_0x4d3960,_0x1b4a8c)=>(_0x22bb82,_0x29b08e)=>_0x1b4a8c(_0x22bb82,_0x29b08e,_0x4d3960);let Me=class extends _0x2ea306{constructor(_0x4e2e43,_0xd42761){const _0x573a03=_0x30c112;super(),g(this,_0x573a03(0x115),new Map()),(this['_univerInstanceService']=_0x4e2e43,this[_0x573a03(0xcb)]=_0xd42761,this[_0x573a03(0x12b)](_0x7e08d2(_0x3c419a(this[_0x573a03(0x187)][_0x573a03(0x2ad)](_0x11a8a2[_0x573a03(0x335)])[_0x573a03(0x27c)](_0x1864e2(_0x18a59d=>_0x18a59d[_0x573a03(0x480)]())),this['_univerInstanceService'][_0x573a03(0x2ad)](_0x11a8a2['UNIVER_DOC'])[_0x573a03(0x27c)](_0x1864e2(_0x14162e=>_0x14162e[_0x573a03(0x480)]())),this[_0x573a03(0x187)][_0x573a03(0x2ad)](_0x11a8a2[_0x573a03(0x37f)])[_0x573a03(0x27c)](_0x1864e2(_0x2a320f=>_0x2a320f[_0x573a03(0x480)]())))[_0x573a03(0x196)](_0x1dc599=>this[_0x573a03(0x11e)](_0x1dc599)))));}[_0x30c112(0x206)](_0x1c4b66){const _0x56a0e1=_0x30c112;this[_0x56a0e1(0xcb)][_0x56a0e1(0x206)](_0x1c4b66);}[_0x30c112(0x31d)](){const _0x2b8152=_0x30c112;return this[_0x2b8152(0xcb)][_0x2b8152(0x31d)]();}[_0x30c112(0x3b7)](_0x4118ce,_0x134531){const _0x4af945=_0x30c112;let _0x41c639=this[_0x4af945(0x115)][_0x4af945(0x3f6)](_0x4118ce);_0x41c639||(_0x41c639=new Zn(),this[_0x4af945(0x115)]['set'](_0x4118ce,_0x41c639)),_0x41c639[_0x4af945(0x3b7)](_0x134531);}[_0x30c112(0x2a2)](_0xc991ee,_0x1bf704){const _0x71b5d0=_0x30c112,_0x42e153=this[_0x71b5d0(0x115)][_0x71b5d0(0x3f6)](_0xc991ee);_0x42e153&&_0x42e153['removeMember'](_0x1bf704);}[_0x30c112(0x40b)](_0x374530){const _0x1520f1=_0x30c112;return this['_roomMembers'][_0x1520f1(0x3f6)](_0x374530);}[_0x30c112(0x226)](_0x522a64,_0x46ec24){const _0x36a9df=_0x30c112,_0x300031=this[_0x36a9df(0x115)][_0x36a9df(0x3f6)](_0x522a64);if(_0x300031)return _0x300031[_0x36a9df(0x226)](_0x46ec24);}[_0x30c112(0x11e)](_0x204ee9){const _0x3ca463=_0x30c112,_0x418c42=this[_0x3ca463(0x115)][_0x3ca463(0x3f6)](_0x204ee9);_0x418c42&&(_0x418c42[_0x3ca463(0xc9)](),this[_0x3ca463(0x115)]['delete'](_0x204ee9));}[_0x30c112(0xc9)](){const _0x2ab855=_0x30c112;this['_roomMembers'][_0x2ab855(0x241)](_0x1f6bed=>_0x1f6bed[_0x2ab855(0xc9)]()),this['_roomMembers']['clear']();}};Me=Jn([Ks(0x0,_0x1d1a83),Ks(0x1,_0x1273b4(_0x497e75))],Me);class Zn extends _0x2ea306{constructor(){const _0x314aac=_0x30c112;super(...arguments),g(this,_0x314aac(0x325),new Map());}[_0x30c112(0xc9)](){const _0x20eab9=_0x30c112;this[_0x20eab9(0x325)][_0x20eab9(0x1ca)]();}[_0x30c112(0x3b7)](_0x1238fd){const _0x4f26e8=_0x30c112;this[_0x4f26e8(0x325)][_0x4f26e8(0x34b)](_0x1238fd[_0x4f26e8(0x27a)],_0x1238fd);}[_0x30c112(0x2a2)](_0x3be162){const _0x385521=_0x30c112;this['_members'][_0x385521(0x26a)](_0x3be162);}[_0x30c112(0x226)](_0x2a4fae){const _0x550e90=_0x30c112;return this['_members'][_0x550e90(0x3f6)](_0x2a4fae);}[_0x30c112(0xe2)](){const _0xb0b044=_0x30c112;return Array['from'](this[_0xb0b044(0x325)]['values']());}}var Qn=Object['defineProperty'],eo=Object[_0x30c112(0x1e3)],to=(_0x4249d3,_0x1be23e,_0x3b6808,_0x313e5b)=>{const _0x267838=_0x30c112;for(var _0x5b4abf=_0x313e5b>0x1?void 0x0:_0x313e5b?eo(_0x1be23e,_0x3b6808):_0x1be23e,_0x3a9885=_0x4249d3[_0x267838(0xd3)]-0x1,_0xe508c5;_0x3a9885>=0x0;_0x3a9885--)(_0xe508c5=_0x4249d3[_0x3a9885])&&(_0x5b4abf=(_0x313e5b?_0xe508c5(_0x1be23e,_0x3b6808,_0x5b4abf):_0xe508c5(_0x5b4abf))||_0x5b4abf);return _0x313e5b&&_0x5b4abf&&Qn(_0x1be23e,_0x3b6808,_0x5b4abf),_0x5b4abf;},Ee=(_0x2cdcb8,_0x1adf7d)=>(_0x379a59,_0x5aaac3)=>_0x1adf7d(_0x379a59,_0x5aaac3,_0x2cdcb8),fe=(_0x3ae140=>(_0x3ae140[_0x3ae140[_0x30c112(0x421)]=0x0]='IDLE',_0x3ae140[_0x3ae140['JOINING']=0x1]=_0x30c112(0x197),_0x3ae140[_0x3ae140[_0x30c112(0x371)]=0x2]='OFFLINE',_0x3ae140[_0x3ae140[_0x30c112(0x2f6)]=0x3]='ONLINE',_0x3ae140))(fe||{});const qs={[Pe['FAIL']]:'session.join-failed',[Pe[_0x30c112(0x91)]]:_0x30c112(0x225),[Pe['JOIN_ROOM_NOT_EXISTS']]:_0x30c112(0x381),[Pe[_0x30c112(0x3b3)]]:_0x30c112(0x303),[Pe[_0x30c112(0x8a)]]:_0x30c112(0x2d6)};let hs=class extends _0x43d55d{constructor(_0x3d0eda,_0x1989f9,_0x52e11a,_0x561350,_0xa5edf8,_0x4ba7eb,_0x1d217d,_0x11d3ba,_0x48eaf5,_0x55e3b5){const _0x338668=_0x30c112;super(),g(this,_0x338668(0x402),new _0x15cd68(0x0)),g(this,_0x338668(0x28c),this['_sessionStatus$'][_0x338668(0x36c)]()),g(this,_0x338668(0x424),new _0x58011a()),g(this,_0x338668(0x208),this[_0x338668(0x424)]['asObservable']()),g(this,_0x338668(0x1de)),g(this,'_socketMessageSubscription'),g(this,_0x338668(0x414)),g(this,_0x338668(0x3c7),!0x1),g(this,_0x338668(0x149),null),(this['_unitID']=_0x3d0eda,this['_logService']=_0x52e11a,this[_0x338668(0x147)]=_0x561350,this[_0x338668(0x1d2)]=_0xa5edf8,this[_0x338668(0x42c)]=_0x4ba7eb,this[_0x338668(0x362)]=_0x1d217d,this[_0x338668(0x294)]=_0x11d3ba,this['_commentService']=_0x48eaf5,this['_telemetryService']=_0x55e3b5,this['_shouldReportTelemetry']=!!this[_0x338668(0x345)],_0x1989f9[_0x338668(0x27c)](_0x4d1973(this['dispose$']))[_0x338668(0x196)](_0x2ca98c=>{const _0x5020ef=_0x338668;var _0x3d7608;typeof _0x2ca98c>'u'||(this['_socket']=_0x2ca98c,_0x2ca98c?(this[_0x5020ef(0x44b)](_0x2ca98c),this[_0x5020ef(0x232)]=_0x2ca98c['message$']['subscribe'](_0x1e3b1a=>{const _0x2995b4=_0x5020ef;_0x1e3b1a[_0x2995b4(0x2b4)]===this[_0x2995b4(0x15f)]&&this[_0x2995b4(0x443)](_0x1e3b1a);})):(this[_0x5020ef(0x15d)](),this['_sessionStatus$'][_0x5020ef(0x26d)](0x2),(_0x3d7608=this[_0x5020ef(0x232)])==null||_0x3d7608['unsubscribe'](),this[_0x5020ef(0x232)]=null));}),this[_0x338668(0x12b)](this[_0x338668(0x147)][_0x338668(0x1f6)](()=>{const _0xafc757=_0x338668;var _0x4f0ccb;(_0x4f0ccb=this[_0xafc757(0x1de)])==null||_0x4f0ccb[_0xafc757(0x3ee)]({'cmd':W[_0xafc757(0x32b)],'data':{'roomID':this[_0xafc757(0x15f)]}});})));}get[_0x30c112(0x35d)](){return this['_sessionStatus$']['getValue']();}[_0x30c112(0x88)](){const _0x5dd58a=_0x30c112;var _0x32d331,_0x48984a;return(_0x48984a=(_0x32d331=this['_socket'])==null?void 0x0:_0x32d331[_0x5dd58a(0x27a)])!=null?_0x48984a:null;}['dispose'](){const _0x127132=_0x30c112;super['dispose'](),this['dispose$'][_0x127132(0x26d)](),this[_0x127132(0x3e7)]['complete']();}[_0x30c112(0x3ef)](){const _0x5b946e=_0x30c112;var _0x59fbf1,_0x4c064b;this[_0x5b946e(0x15d)](),(_0x59fbf1=this['_socket'])==null||_0x59fbf1[_0x5b946e(0x3ee)]({'cmd':W[_0x5b946e(0x32b)],'data':{'roomID':this['_unitID']}}),(_0x4c064b=this['_socket'])==null||_0x4c064b[_0x5b946e(0x3ef)](),this['_event$']['complete'](),this[_0x5b946e(0x402)][_0x5b946e(0x2e0)](),this['dispose']();}['_onCombEvent'](_0x4c360d){const _0x37c6d4=_0x30c112;_0x4c360d['cmd']===W[_0x37c6d4(0x145)]?this[_0x37c6d4(0x213)](_0x4c360d):_0x4c360d[_0x37c6d4(0x11f)]===W[_0x37c6d4(0x261)]&&this[_0x37c6d4(0x2e3)](_0x4c360d);}[_0x30c112(0x44b)](_0x22a009){const _0x51f7c1=_0x30c112;this['_sessionStatus$']['next'](0x1),_0x22a009[_0x51f7c1(0x3ee)]({'cmd':W[_0x51f7c1(0x145)],'routeKey':this[_0x51f7c1(0x15f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x51f7c1(0x15f)]}]}});}[_0x30c112(0x213)](_0x13f77d){const _0x3d799d=_0x30c112;var _0x5b8859;if(_0x13f77d['code']in qs){this['_messageService']['show']({'type':_0x41d1f0['Warning'],'content':this['_localeService']['t'](qs[_0x13f77d[_0x3d799d(0x4a1)]])}),this[_0x3d799d(0x402)][_0x3d799d(0x26d)](0x2);return;}this[_0x3d799d(0x402)][_0x3d799d(0x26d)](0x3);const _0x403fe3=(_0x5b8859=_0x13f77d[_0x3d799d(0x28d)]['roomInfos'][this[_0x3d799d(0x15f)]])==null?void 0x0:_0x5b8859[_0x3d799d(0x452)];_0x403fe3&&_0x403fe3[_0x3d799d(0x241)](_0x5a01f3=>this[_0x3d799d(0x294)][_0x3d799d(0x3b7)](this['_unitID'],_0x5a01f3));}[_0x30c112(0x2e3)](_0x432681){const _0x55b03b=_0x30c112;try{const _0x5934c3=_0x432681[_0x55b03b(0x28d)];switch(_0x5934c3[_0x55b03b(0x39d)]){case _0x1b96b7['USERS_ENTER']:this[_0x55b03b(0xf0)](_0x5934c3),this[_0x55b03b(0x424)][_0x55b03b(0x26d)](_0x5934c3);break;case _0x1b96b7[_0x55b03b(0xf4)]:this[_0x55b03b(0x2fc)](_0x5934c3),this[_0x55b03b(0x424)][_0x55b03b(0x26d)](_0x5934c3);break;case _0x1b96b7[_0x55b03b(0x126)]:case _0x1b96b7[_0x55b03b(0x35b)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x55b03b(0x37b)](),this[_0x55b03b(0x424)][_0x55b03b(0x26d)](_0x5934c3);break;case _0x1b96b7[_0x55b03b(0x2fe)]:this['_logService'][_0x55b03b(0x3de)](_0x55b03b(0x204)+JSON[_0x55b03b(0x19d)](_0x5934c3)),this[_0x55b03b(0x424)][_0x55b03b(0x26d)](_0x5934c3);break;case _0x1b96b7[_0x55b03b(0x168)]:this[_0x55b03b(0x3dc)][_0x55b03b(0x221)](_0x5934c3['data']),this['_event$'][_0x55b03b(0x26d)](_0x5934c3);break;default:this[_0x55b03b(0x424)]['next'](_0x5934c3);}}catch(_0x126e38){this[_0x55b03b(0x123)][_0x55b03b(0x3de)](_0x126e38,_0x432681);}}[_0x30c112(0xf0)](_0xa23379){const _0x296bff=_0x30c112;this['_memberService'][_0x296bff(0x3b7)](this[_0x296bff(0x15f)],_0xa23379[_0x296bff(0x28d)]);}[_0x30c112(0x2fc)](_0x1aced8){const _0xe82aef=_0x30c112;this[_0xe82aef(0x294)]['removeMember'](this[_0xe82aef(0x15f)],_0x1aced8['data']['memberID']);}async[_0x30c112(0x3ee)](_0x4daa6a,_0x1534bf){const _0xa598e3=_0x30c112;if(this[_0xa598e3(0x35d)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4daa6a[_0xa598e3(0x39d)]===_0x1b96b7['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xa598e3(0x108)](_0x4daa6a)),this[_0xa598e3(0x1de)]['send']({'cmd':W['INGEST'],'routeKey':_0x1534bf,'routeType':'','data':_0x4daa6a});}catch(_0xbbf7ea){this[_0xa598e3(0x123)][_0xa598e3(0x3de)](_0xbbf7ea);}}[_0x30c112(0x249)](){const _0xa3481b=_0x30c112;var _0x41b8da;this['_collaborationTimeoutTimer']=window[_0xa3481b(0x2ac)](()=>{const _0x305eb8=_0xa3481b;this['_collaborationTimeoutTimer']=null,this[_0x305eb8(0x1d2)][_0x305eb8(0x3f0)]({'type':_0x41d1f0[_0x305eb8(0xca)],'content':this[_0x305eb8(0x362)]['t'](_0x305eb8(0x1e8))});},(_0x41b8da=this[_0xa3481b(0x42c)][_0xa3481b(0x116)](ki))!=null?_0x41b8da:Wi);}[_0x30c112(0x37b)](){const _0x59737d=_0x30c112;this[_0x59737d(0x414)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x30a558){const _0x25faf4=_0x30c112;if(!this['_shouldReportTelemetry'])return;const {data:_0x140f90}=_0x30a558,{unitID:_0x364522,changeset:_0x1c6c59}=_0x140f90,{mutations:_0x13d97b,type:_0x345750}=_0x1c6c59;this[_0x25faf4(0x149)]={'unitId':_0x364522,'type':_0x345750,'startTime':performance[_0x25faf4(0x189)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x13d97b)};}[_0x30c112(0x2e4)](){const _0x382302=_0x30c112;if(this[_0x382302(0x3c7)]){if(!this[_0x382302(0x149)]){this[_0x382302(0x123)]['error'](_0x382302(0x470),_0x382302(0x46b));return;}this['_telemetryInfo']['stopTime']=performance[_0x382302(0x189)](),this[_0x382302(0x149)]['duration']=this['_telemetryInfo'][_0x382302(0x194)]-this['_telemetryInfo'][_0x382302(0xc7)],this[_0x382302(0x345)][_0x382302(0x8e)](Kn,this[_0x382302(0x149)]),this['_telemetryInfo']=null;}}[_0x30c112(0x15d)](){const _0x3617f1=_0x30c112;this[_0x3617f1(0x149)]=null;}};hs=to([Ee(0x2,_0x164f73),Ee(0x3,_0x31d20c),Ee(0x4,_0x56e1bc),Ee(0x5,_0x4d1776),Ee(0x6,_0x1273b4(_0x582404)),Ee(0x7,_0x1273b4(Me)),Ee(0x8,_0x1273b4(Yi)),Ee(0x9,_0xe30079(_0xb3e496))],hs);var so=Object[_0x30c112(0x28e)],io=Object[_0x30c112(0x1e3)],ro=(_0x478256,_0x41b7f2,_0x353d53,_0x4ccf73)=>{for(var _0x36eee0=_0x4ccf73>0x1?void 0x0:_0x4ccf73?io(_0x41b7f2,_0x353d53):_0x41b7f2,_0x3d42a9=_0x478256['length']-0x1,_0x283436;_0x3d42a9>=0x0;_0x3d42a9--)(_0x283436=_0x478256[_0x3d42a9])&&(_0x36eee0=(_0x4ccf73?_0x283436(_0x41b7f2,_0x353d53,_0x36eee0):_0x283436(_0x36eee0))||_0x36eee0);return _0x4ccf73&&_0x36eee0&&so(_0x41b7f2,_0x353d53,_0x36eee0),_0x36eee0;},ye=(_0x1f4afb,_0x642565)=>(_0x5c140c,_0x2ea222)=>_0x642565(_0x5c140c,_0x2ea222,_0x1f4afb);let xe=class extends _0x2ea306{constructor(_0x282b2b,_0x314417,_0x449e94,_0x54ab1c,_0xb63e03,_0x4f1f06,_0xb3ee11){const _0x313619=_0x30c112;super(),g(this,'_socket$',new _0x15cd68(void 0x0)),g(this,_0x313619(0x33e),this['_socket$'][_0x313619(0x36c)]()),g(this,_0x313619(0x451),null),g(this,_0x313619(0x1d8),new Map()),g(this,_0x313619(0xbc),new _0x15cd68(fe[_0x313619(0x421)])),g(this,_0x313619(0x2e9),this['_status$']['asObservable']()),g(this,_0x313619(0x2bd),!0x1),g(this,_0x313619(0xd5)),g(this,_0x313619(0x2f2),0x0),g(this,_0x313619(0x401)),g(this,'_timeoutTimer'),(this[_0x313619(0x13e)]=_0x282b2b,this['_localeService']=_0x314417,this['_messageService']=_0x449e94,this['_logService']=_0x54ab1c,this['_configService']=_0xb63e03,this[_0x313619(0x3ec)]=_0x4f1f06,this[_0x313619(0x159)]=_0xb3ee11,this[_0x313619(0x1f4)]());}get['_socket'](){return this['_socket$']['getValue']();}[_0x30c112(0x1f4)](){const _0x999d88=_0x30c112;this['_listenToOfflineEvent'](),this[_0x999d88(0x291)]();}[_0x30c112(0xc9)](){const _0x6b0318=_0x30c112;super[_0x6b0318(0xc9)](),this[_0x6b0318(0x1d8)]['forEach'](_0x1d0bc7=>_0x1d0bc7[_0x6b0318(0xc9)]()),this[_0x6b0318(0x1d8)]['clear'](),this[_0x6b0318(0xbc)][_0x6b0318(0x2e0)]();}async[_0x30c112(0x288)](_0x523cd6){const _0xe8f0f5=_0x30c112;if(this[_0xe8f0f5(0x1d8)][_0xe8f0f5(0x120)](_0x523cd6))return this[_0xe8f0f5(0x1d8)][_0xe8f0f5(0x3f6)](_0x523cd6);this[_0xe8f0f5(0x155)]();const _0x47e5ae=this[_0xe8f0f5(0x13e)]['createInstance'](hs,_0x523cd6,this[_0xe8f0f5(0x27f)][_0xe8f0f5(0x36c)]());return this[_0xe8f0f5(0x1d8)][_0xe8f0f5(0x34b)](_0x523cd6,_0x47e5ae),_0x47e5ae;}['closeSession'](_0x2d10ed){const _0x26c935=_0x30c112;var _0x5303d2;const _0x2a4384=this[_0x26c935(0x1d8)]['get'](_0x2d10ed);_0x2a4384&&(this['_sessions'][_0x26c935(0x26a)](_0x2d10ed),_0x2a4384[_0x26c935(0x3ef)]()),this[_0x26c935(0x1d8)][_0x26c935(0x150)]||(_0x5303d2=this[_0x26c935(0x1de)])==null||_0x5303d2[_0x26c935(0x3ef)]();}[_0x30c112(0x14c)](){const _0x28c878=_0x30c112;this[_0x28c878(0x2f2)]=0x0,this[_0x28c878(0xd5)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x28c878(0x183)]();}async['_getSessionTicket'](){const _0x174015=_0x30c112;var _0x4f3b6e,_0x55bc1f,_0x26be2a;const _0xa37c07=this['_configService']['getConfig'](Q),_0x37a4c5=(_0x4f3b6e=_0xa37c07==null?void 0x0:_0xa37c07[_0x174015(0x314)])!=null?_0x4f3b6e:wn;return(_0x26be2a=(_0x55bc1f=(await this[_0x174015(0x159)][_0x174015(0x3f6)](_0x37a4c5,{'headers':{'Content-Type':'application/json'}}))[_0x174015(0x2f0)])==null?void 0x0:_0x55bc1f[_0x174015(0x1e6)])!=null?_0x26be2a:'';}[_0x30c112(0x1d5)](_0x1014cf){const _0x3200df=_0x30c112;var _0x256f4f,_0x2d4be2;const _0x3ad8a6=this['_configService']['getConfig'](On),_0x408f2a=this['_configService'][_0x3200df(0x116)](Q),_0x5a53dd=(_0x2d4be2=(_0x256f4f=_0x408f2a==null?void 0x0:_0x408f2a[_0x3200df(0x2e2)])!=null?_0x256f4f:_0x3ad8a6)!=null?_0x2d4be2:yn,_0x3f0a4d=new URL(_0x5a53dd,window['location']['origin']);return _0x3f0a4d[_0x3200df(0x162)][_0x3200df(0x34b)](_0x3200df(0xa4),_0x1014cf),_0x3f0a4d[_0x3200df(0x1ae)]();}async[_0x30c112(0x48e)](){const _0xbeb3ba=_0x30c112,_0xc650bb=await this[_0xbeb3ba(0x382)](),_0x30afaa=this[_0xbeb3ba(0x1d5)](_0xc650bb),_0xea24b7=this[_0xbeb3ba(0x3ec)][_0xbeb3ba(0x1f8)](_0x30afaa);return this[_0xbeb3ba(0x451)]=_0xea24b7,_0xea24b7;}async[_0x30c112(0x155)](){const _0x57bef7=_0x30c112;var _0x4c634e,_0x126a02;try{const _0x1bdacd=(_0x126a02=(_0x4c634e=this[_0x57bef7(0x1de)])!=null?_0x4c634e:this[_0x57bef7(0x451)])!=null?_0x126a02:await this[_0x57bef7(0x48e)]();if(_0x1bdacd){const _0x25a479=_0x1bdacd[_0x57bef7(0x3ee)];_0x1bdacd[_0x57bef7(0x3ee)]=_0x2a9627=>(this[_0x57bef7(0x41c)](),_0x25a479[_0x57bef7(0x2a1)](_0x1bdacd,[_0x2a9627])),_0x1bdacd[_0x57bef7(0x282)][_0x57bef7(0x196)](_0x336d55=>this[_0x57bef7(0x1dd)](_0x1bdacd,_0x336d55)),_0x1bdacd['error$'][_0x57bef7(0x27c)](_0x126867(0x1))[_0x57bef7(0x196)](_0x3f17bd=>this[_0x57bef7(0x123)][_0x57bef7(0x3de)](_0x57bef7(0x43e),_0x3f17bd)),_0x1bdacd[_0x57bef7(0x329)][_0x57bef7(0x27c)](_0x126867(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x1bdacd);}),_0x1bdacd[_0x57bef7(0x3b4)][_0x57bef7(0x27c)](_0x126867(0x1))[_0x57bef7(0x196)](_0x41104a=>{const _0x597ecf=_0x57bef7;this[_0x597ecf(0x123)]['debug'](_0x597ecf(0x44d),_0x597ecf(0x269),_0x41104a),this[_0x597ecf(0x49c)]();});}}catch(_0x52ded6){this['_logService'][_0x57bef7(0x3de)](_0x52ded6),this[_0x57bef7(0x49c)]();}}['_onConnectionOpen'](_0x4506fe){const _0x23f75f=_0x30c112;this[_0x23f75f(0x123)][_0x23f75f(0x19b)](_0x23f75f(0x44d),'socket\x20open.'),_0x4506fe['send']({'cmd':W[_0x23f75f(0x1b8)]}),this['_rescheduleHeartbeat']();}['_listenToOfflineEvent'](){const _0xf7178b=_0x30c112;window[_0xf7178b(0x29a)]('offline',()=>this[_0xf7178b(0x2b6)]());}['_onOffline'](){const _0x2217fe=_0x30c112;this[_0x2217fe(0x2bd)]=!0x1,this[_0x2217fe(0x451)]=null,this[_0x2217fe(0xbc)][_0x2217fe(0x26d)](fe[_0x2217fe(0x371)]),this[_0x2217fe(0x27f)][_0x2217fe(0x26d)](null),this[_0x2217fe(0x2ba)](),this[_0x2217fe(0x484)]();}[_0x30c112(0x49c)](){const _0x40d1ac=_0x30c112;var _0x11c559;this[_0x40d1ac(0x2b6)](),this[_0x40d1ac(0x2f2)]<((_0x11c559=this[_0x40d1ac(0x42c)]['getConfig'](Un))!=null?_0x11c559:An)?(this[_0x40d1ac(0x1d2)][_0x40d1ac(0x3f0)]({'key':_0x40d1ac(0xdf),'type':_0x41d1f0['Warning'],'content':this[_0x40d1ac(0x362)]['t'](_0x40d1ac(0x11c))}),this[_0x40d1ac(0x183)]()):this[_0x40d1ac(0x1d2)][_0x40d1ac(0x3f0)]({'key':_0x40d1ac(0xdf),'type':_0x41d1f0[_0x40d1ac(0xca)],'content':this[_0x40d1ac(0x362)]['t'](_0x40d1ac(0x44a))});}[_0x30c112(0x291)](){const _0x28dbbb=_0x30c112,_0x119c32=()=>{const _0x36528f=_0x2ebf;this['_socket']||this[_0x36528f(0x14c)]();},_0x9c57d5=()=>{const _0x42b7de=_0x2ebf;this[_0x42b7de(0x1de)]||document[_0x42b7de(0x110)]===_0x42b7de(0x238)||this[_0x42b7de(0x14c)]();};window[_0x28dbbb(0x29a)](_0x28dbbb(0x129),_0x119c32),document[_0x28dbbb(0x29a)](_0x28dbbb(0x28a),_0x9c57d5);}['_tryReconnect'](){const _0x5c4849=_0x30c112;var _0x3156f5;const _0xde0711=this[_0x5c4849(0x2f2)],_0x3d5282=this[_0x5c4849(0x42c)][_0x5c4849(0x116)](Q),_0x3ef5ac=_0xde0711===0x0?0x0:((_0x3156f5=_0x3d5282==null?void 0x0:_0x3d5282[_0x5c4849(0x2c7)])!=null?_0x3156f5:Nn)*0x2**_0xde0711;this[_0x5c4849(0xd5)]=window['setTimeout'](()=>{const _0x4c3fa5=_0x5c4849;clearTimeout(this[_0x4c3fa5(0xd5)]),this[_0x4c3fa5(0xd5)]=null,this[_0x4c3fa5(0x155)]();},_0x3ef5ac),this[_0x5c4849(0x2f2)]+=0x1;}[_0x30c112(0x1dd)](_0x169172,_0x43d5ac){const _0x2add12=_0x30c112,{cmd:_0x418dc2}=_0x43d5ac;_0x418dc2===W['HELLO']&&!this[_0x2add12(0x2bd)]&&(_0x169172[_0x2add12(0x27a)]=_0x43d5ac['data'][_0x2add12(0x27a)],this[_0x2add12(0x27f)]['next'](_0x169172),this['_status$'][_0x2add12(0x26d)](fe[_0x2add12(0x2f6)]),this[_0x2add12(0x2bd)]=!0x0,this[_0x2add12(0x451)]=null),_0x418dc2===W[_0x2add12(0x2a8)]&&this[_0x2add12(0x2ba)](),this[_0x2add12(0x41c)]();}[_0x30c112(0x41c)](){const _0x3ea913=_0x30c112;var _0x4d85b4;this[_0x3ea913(0x484)](),this['_sendHeartbeatTimer']=window[_0x3ea913(0x2ac)](()=>this[_0x3ea913(0x483)](),(_0x4d85b4=this[_0x3ea913(0x42c)][_0x3ea913(0x116)](Dn))!=null?_0x4d85b4:Pn);}[_0x30c112(0x483)](){const _0x49b569=_0x30c112;this[_0x49b569(0x1de)]['send']({'cmd':W[_0x49b569(0x2a8)]}),this[_0x49b569(0x3b2)]();}[_0x30c112(0x3b2)](){const _0xef6e59=_0x30c112;var _0x50102c;this['_timeoutTimer']=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x50102c=this[_0xef6e59(0x42c)]['getConfig'](ki))!=null?_0x50102c:Wi);}[_0x30c112(0x484)](){const _0x466d53=_0x30c112;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x466d53(0x401)]=null);}['_clearTimeoutTimer'](){const _0x293cf2=_0x30c112;this[_0x293cf2(0x43f)]!=null&&(clearTimeout(this[_0x293cf2(0x43f)]),this['_timeoutTimer']=null);}};xe=ro([ye(0x0,_0x1273b4(_0x3c8419)),ye(0x1,_0x1273b4(_0x582404)),ye(0x2,_0x56e1bc),ye(0x3,_0x164f73),ye(0x4,_0x4d1776),ye(0x5,Gi),ye(0x6,_0x1273b4(_0x259d97))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x30c112(0x1ae)](0x10)['slice'](0x1));function no(_0x3ddb30,_0x2058b8=0x0){const _0x289542=_0x30c112;return(Y[_0x3ddb30[_0x2058b8+0x0]]+Y[_0x3ddb30[_0x2058b8+0x1]]+Y[_0x3ddb30[_0x2058b8+0x2]]+Y[_0x3ddb30[_0x2058b8+0x3]]+'-'+Y[_0x3ddb30[_0x2058b8+0x4]]+Y[_0x3ddb30[_0x2058b8+0x5]]+'-'+Y[_0x3ddb30[_0x2058b8+0x6]]+Y[_0x3ddb30[_0x2058b8+0x7]]+'-'+Y[_0x3ddb30[_0x2058b8+0x8]]+Y[_0x3ddb30[_0x2058b8+0x9]]+'-'+Y[_0x3ddb30[_0x2058b8+0xa]]+Y[_0x3ddb30[_0x2058b8+0xb]]+Y[_0x3ddb30[_0x2058b8+0xc]]+Y[_0x3ddb30[_0x2058b8+0xd]]+Y[_0x3ddb30[_0x2058b8+0xe]]+Y[_0x3ddb30[_0x2058b8+0xf]])[_0x289542(0x14a)]();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x43aa02=_0x30c112;if(!Gt){if(typeof crypto>'u'||!crypto[_0x43aa02(0x2f1)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Gt=crypto['getRandomValues']['bind'](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x30c112(0x425)]&&crypto[_0x30c112(0x425)][_0x30c112(0x472)](crypto),zs={'randomUUID':co};function ho(_0x112244,_0x1a4ca8,_0x3b07a3){const _0xe68ff2=_0x30c112;if(zs[_0xe68ff2(0x425)]&&!_0x1a4ca8&&!_0x112244)return zs[_0xe68ff2(0x425)]();_0x112244=_0x112244||{};const _0x20b554=_0x112244[_0xe68ff2(0x1b7)]||(_0x112244[_0xe68ff2(0x32f)]||ao)();return _0x20b554[0x6]=_0x20b554[0x6]&0xf|0x40,_0x20b554[0x8]=_0x20b554[0x8]&0x3f|0x80,no(_0x20b554);}var lo=Object['defineProperty'],_o=Object[_0x30c112(0x1e3)],uo=(_0x35270a,_0x25f02e,_0x2920e6,_0x2b8ebf)=>{const _0x298770=_0x30c112;for(var _0x2c7d19=_0x2b8ebf>0x1?void 0x0:_0x2b8ebf?_o(_0x25f02e,_0x2920e6):_0x25f02e,_0x1fc1db=_0x35270a[_0x298770(0xd3)]-0x1,_0x1f3250;_0x1fc1db>=0x0;_0x1fc1db--)(_0x1f3250=_0x35270a[_0x1fc1db])&&(_0x2c7d19=(_0x2b8ebf?_0x1f3250(_0x25f02e,_0x2920e6,_0x2c7d19):_0x1f3250(_0x2c7d19))||_0x2c7d19);return _0x2b8ebf&&_0x2c7d19&&lo(_0x25f02e,_0x2920e6,_0x2c7d19),_0x2c7d19;},Yt=(_0x3a8dfc,_0x5f06ea)=>(_0x522bc6,_0x2488c1)=>_0x5f06ea(_0x522bc6,_0x2488c1,_0x3a8dfc);let yt=class{constructor(_0x279c8b,_0x22b426,_0x3cb905){const _0x29945e=_0x30c112;this[_0x29945e(0x13e)]=_0x279c8b,this[_0x29945e(0x3b9)]=_0x22b426,this[_0x29945e(0x444)]=_0x3cb905;}[_0x30c112(0xfd)](_0x352dbe){const _0x251849=_0x30c112;this['_transformUndoRedoStack'](_0x352dbe),this[_0x251849(0x270)](_0x352dbe);}[_0x30c112(0x1a5)](_0x2ea34b){const _0x4fda53=_0x30c112,{unitID:_0x4c3077}=_0x2ea34b,_0x464260=this[_0x4fda53(0x444)]['getRenderById'](_0x4c3077)[_0x4fda53(0xab)](_0x2f1d3f),{redoCache:_0x1ef9de}=_0x464260[_0x4fda53(0x3b6)]();if(_0x1ef9de[_0x4fda53(0xd3)]===0x0)return _0x2ea34b;let _0xace60a=_0x4c6645[_0x4fda53(0x264)](_0x2ea34b[_0x4fda53(0xa0)][0x0]);for(let _0x500a21=0x0;_0x500a21<_0x1ef9de[_0x4fda53(0xd3)];_0x500a21++){const _0x7b8160={'id':_0x4fda53(0x285),'params':{..._0x1ef9de[_0x500a21]}},_0x42964b=this[_0x4fda53(0x3b9)][_0x4fda53(0x423)](_0xace60a,_0x7b8160,!0x1);if(_0x33b0d8(_0x42964b))throw _0x42964b[_0x4fda53(0x3de)];_0xace60a=_0x42964b[_0x4fda53(0x3d2)];}return{..._0x4c6645[_0x4fda53(0x264)](_0x2ea34b),'mutations':[_0xace60a]};}['_transformUndoRedoStack'](_0x2fe2c5){const _0x8f0fe2=_0x30c112,{unitID:_0x34fbac}=_0x2fe2c5,_0x538078=this[_0x8f0fe2(0x444)][_0x8f0fe2(0x209)](_0x34fbac)[_0x8f0fe2(0xab)](_0x2f1d3f),{undoCache:_0x600734,redoCache:_0x4e7cab}=_0x538078[_0x8f0fe2(0x3b6)]();if(_0x600734[_0x8f0fe2(0xd3)]===0x0||_0x4e7cab[_0x8f0fe2(0xd3)]===0x0)return;const _0x4b7369=[],_0x1198aa=[];let _0x5ff189=_0x4c6645[_0x8f0fe2(0x264)](_0x2fe2c5[_0x8f0fe2(0xa0)][0x0]),_0x58cd04=_0x4c6645[_0x8f0fe2(0x264)](_0x2fe2c5[_0x8f0fe2(0xa0)][0x0]);for(let _0x486343=_0x600734['length']-0x1;_0x486343>=0x0;_0x486343--){const _0x5229c2={'id':_0x8f0fe2(0x285),'params':{..._0x600734[_0x486343]}},_0x5a9fba={'id':_0x8f0fe2(0x285),'params':{..._0x4e7cab[_0x486343]}},_0x11c3cf=this[_0x8f0fe2(0x3b9)][_0x8f0fe2(0x423)](_0x5ff189,_0x5229c2,!0x1),_0x5d8320=this[_0x8f0fe2(0x3b9)][_0x8f0fe2(0x423)](_0x58cd04,_0x5a9fba,!0x1);if(_0x33b0d8(_0x11c3cf))throw _0x11c3cf[_0x8f0fe2(0x3de)];if(_0x33b0d8(_0x5d8320))throw _0x5d8320[_0x8f0fe2(0x3de)];_0x4b7369[_0x8f0fe2(0x2ec)](_0x11c3cf[_0x8f0fe2(0x27d)][_0x8f0fe2(0x1d4)]),_0x1198aa[_0x8f0fe2(0x2ec)](_0x5d8320[_0x8f0fe2(0x27d)]['params']),_0x5ff189=_0x11c3cf[_0x8f0fe2(0x3d2)],_0x58cd04=_0x5d8320['m1Prime'];}_0x538078[_0x8f0fe2(0x28f)]({'undoCache':_0x4b7369,'redoCache':_0x1198aa});}[_0x30c112(0x270)](_0x56dbda){const _0x4eec68=_0x30c112,{unitID:_0x40cb2b}=_0x56dbda,_0x8834a1=this[_0x4eec68(0x444)]['getRenderById'](_0x40cb2b)[_0x4eec68(0xab)](_0x2f1d3f),_0x48b3c3=_0x8834a1[_0x4eec68(0x22f)]();if(_0x48b3c3==null)return;const _0x89ad93=[{'id':_0x4eec68(0x285),'params':{'unitId':_0x56dbda['unitID'],'actions':null,'textRanges':[_0x48b3c3]}}],_0x43a321=this[_0x4eec68(0x3b9)][_0x4eec68(0x334)](_0x56dbda,_0x89ad93);if(!_0x12ed98(_0x43a321))throw _0x43a321[_0x4eec68(0x3de)];const _0x23b0e2=_0x43a321[_0x4eec68(0x27d)][0x0][_0x4eec68(0x1d4)]['textRanges'];Array[_0x4eec68(0x1f7)](_0x23b0e2)&&_0x23b0e2[_0x4eec68(0xd3)]&&_0x8834a1[_0x4eec68(0x295)](_0x23b0e2[0x0]);}};yt=uo([Yt(0x0,_0x1273b4(_0x3c8419)),Yt(0x1,_0xf205f5),Yt(0x2,_0x87c24b)],yt);var fo=Object['defineProperty'],vo=Object[_0x30c112(0x1e3)],po=(_0x44c1f0,_0x46659f,_0x5cb64c,_0x46a49b)=>{for(var _0x39d9fe=_0x46a49b>0x1?void 0x0:_0x46a49b?vo(_0x46659f,_0x5cb64c):_0x46659f,_0x4f4f7f=_0x44c1f0['length']-0x1,_0x5d74f4;_0x4f4f7f>=0x0;_0x4f4f7f--)(_0x5d74f4=_0x44c1f0[_0x4f4f7f])&&(_0x39d9fe=(_0x46a49b?_0x5d74f4(_0x46659f,_0x5cb64c,_0x39d9fe):_0x5d74f4(_0x39d9fe))||_0x39d9fe);return _0x46a49b&&_0x39d9fe&&fo(_0x46659f,_0x5cb64c,_0x39d9fe),_0x39d9fe;},Xe=(_0x216403,_0x3ae354)=>(_0x1900d4,_0x19e0b4)=>_0x3ae354(_0x1900d4,_0x19e0b4,_0x216403);let z=class extends _0x2ea306{constructor(_0x2c8d52,_0x467e35,_0x497e8f,_0xfd3a5c,_0x207113){const _0x3c7a39=_0x30c112;super(),g(this,_0x3c7a39(0x10d),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x3c7a39(0x2a3),!0x1),(this[_0x3c7a39(0x42c)]=_0x2c8d52,this[_0x3c7a39(0x219)]=_0x467e35,this[_0x3c7a39(0x147)]=_0x497e8f,this[_0x3c7a39(0x362)]=_0xfd3a5c,this[_0x3c7a39(0x2af)]=_0x207113,this[_0x3c7a39(0x436)]());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x30c112(0x3d5)](){this['_disabled']=!0x1;}['dispose'](){const _0x2e6cbf=_0x30c112;this[_0x2e6cbf(0x11d)]()['then'](()=>super[_0x2e6cbf(0xc9)]());}async['loadOfflineData'](_0x1369da){const _0x1fb61d=_0x30c112;return this[_0x1fb61d(0x2a3)]?null:this[_0x1fb61d(0x219)]['getItem'](Xs(_0x1369da));}async['saveOfflineData'](_0x426144,_0x29942d){const _0x5f1293=_0x30c112;return!!this[_0x5f1293(0x219)]['setItem'](_0x426144,_0x29942d);}[_0x30c112(0x3d3)](_0x3d7d02,_0x184318,_0x4f2204,_0x528a3a){const _0x4f87e0=_0x30c112,_0x37524c=this[_0x4f87e0(0x2af)]['getCurrentRevOfUnit'](_0x3d7d02);this[_0x4f87e0(0x10d)][_0x4f87e0(0x34b)](_0x3d7d02,{'unitID':_0x3d7d02,'type':_0x184318,'awaitingChangeset':_0x4f2204,'mutations':_0x528a3a,'rev':_0x37524c}),this[_0x4f87e0(0x486)][_0x4f87e0(0x120)](_0x3d7d02)||this['_scheduleSaving'](_0x3d7d02);}[_0x30c112(0x210)](_0x58498d){const _0x50b655=_0x30c112,_0x171e99=this['_getSaveTimeout']();_0x171e99===0x0?this[_0x50b655(0x1a7)](_0x58498d):this[_0x50b655(0x486)][_0x50b655(0x34b)](_0x58498d,setTimeout(()=>this[_0x50b655(0x1a7)](_0x58498d),_0x171e99));}['_getSaveTimeout'](){const _0x3fb792=_0x30c112;var _0x3ef1f9;return(_0x3ef1f9=this['_configService'][_0x3fb792(0x116)](Mn))!=null?_0x3ef1f9:xn;}[_0x30c112(0x1a7)](_0x10edd9){const _0x19dba1=_0x30c112,_0x4de7e6=this[_0x19dba1(0x486)][_0x19dba1(0x3f6)](_0x10edd9);return _0x4de7e6!==void 0x0&&window[_0x19dba1(0x184)](_0x4de7e6),this[_0x19dba1(0x219)][_0x19dba1(0x23f)](Xs(_0x10edd9),this['_cachedData'][_0x19dba1(0x3f6)](_0x10edd9))[_0x19dba1(0x41b)](()=>this['_saveTaskMap'][_0x19dba1(0x26a)](_0x10edd9));}async['exhaustSavingTask'](){const _0x3017cf=_0x30c112,_0x29bf9a=[];this[_0x3017cf(0x486)][_0x3017cf(0x241)]((_0x5b5db0,_0x2e155b)=>{const _0x5bc654=_0x3017cf;window[_0x5bc654(0x184)](_0x5b5db0),_0x29bf9a[_0x5bc654(0xd6)](this['_saveCache'](_0x2e155b)[_0x5bc654(0x41b)](()=>{const _0x26911b=_0x5bc654;this[_0x26911b(0x486)][_0x26911b(0x26a)](_0x2e155b);}));}),await Promise[_0x3017cf(0x18d)](_0x29bf9a);}[_0x30c112(0x436)](){const _0x1c1095=_0x30c112;this['disposeWithMe'](this[_0x1c1095(0x147)][_0x1c1095(0x174)](()=>{const _0x5c5638=_0x1c1095;if(this[_0x5c5638(0x486)][_0x5c5638(0x150)])return this['_localeService']['t'](_0x5c5638(0x492));}));}};z=po([Xe(0x0,_0x4d1776),Xe(0x1,_0x2c87d9),Xe(0x2,_0x31d20c),Xe(0x3,_0x1273b4(_0x582404)),Xe(0x4,_0x1273b4(_0x5239ac))],z);function Xs(_0x2f13f3){const _0x2d2d26=_0x30c112;return _0x2d2d26(0x330)+_0x2f13f3;}var mo=Object[_0x30c112(0x28e)],go=Object[_0x30c112(0x1e3)],So=(_0x1aed4b,_0x5932de,_0x1093d1,_0x21b8fe)=>{const _0x459a73=_0x30c112;for(var _0x289046=_0x21b8fe>0x1?void 0x0:_0x21b8fe?go(_0x5932de,_0x1093d1):_0x5932de,_0x12c972=_0x1aed4b[_0x459a73(0xd3)]-0x1,_0x3cc377;_0x12c972>=0x0;_0x12c972--)(_0x3cc377=_0x1aed4b[_0x12c972])&&(_0x289046=(_0x21b8fe?_0x3cc377(_0x5932de,_0x1093d1,_0x289046):_0x3cc377(_0x289046))||_0x289046);return _0x21b8fe&&_0x289046&&mo(_0x5932de,_0x1093d1,_0x289046),_0x289046;},Kt=(_0x1c92e8,_0x33a05c)=>(_0x16ad5,_0xd4af22)=>_0x33a05c(_0x16ad5,_0xd4af22,_0x1c92e8);function Io(_0x522d07){const _0x4edb11=_0x30c112,{unitID:_0x2af135,mutations:_0x493fcb}=_0x522d07;return{'unitId':_0x2af135,'subUnitId':_0x493fcb[0x0][_0x4edb11(0x1d4)][_0x4edb11(0x1eb)]};}let wt=class{constructor(_0x45721d,_0x5cec46,_0x1161ec){const _0x201fb6=_0x30c112;this[_0x201fb6(0x13e)]=_0x45721d,this[_0x201fb6(0x3b9)]=_0x5cec46,this[_0x201fb6(0x3c4)]=_0x1161ec;}[_0x30c112(0x312)](_0x49eb78){const _0xe178bb=_0x30c112;var _0x381661,_0x12e94b,_0x12f8ce,_0x532bb0;const _0x3d17a8=this[_0xe178bb(0x13e)]['get'](_0x2bf4e8),{unitId:_0x3c4815,subUnitId:_0x256ccb}=Io(_0x49eb78),_0x4221a5=_0x3d17a8[_0xe178bb(0x349)](_0x3c4815)[_0xe178bb(0x457)](),_0x25f4aa=(_0x12e94b=(_0x381661=this[_0xe178bb(0x3c4)][_0xe178bb(0x40f)](_0x3c4815))==null?void 0x0:_0x381661[_0xe178bb(0x416)]())==null?void 0x0:_0x12e94b[_0xe178bb(0x396)]();if(_0x4221a5[_0xe178bb(0xd3)]===0x0||!_0x3c4815||!_0x256ccb)return;const _0x1b1384=[{'id':_0x2d1427['id'],'params':{'unitId':_0x3c4815,'subUnitId':_0x25f4aa,'selections':_0x4c6645[_0xe178bb(0x264)](_0x4221a5)}}],_0x5c20a9=this[_0xe178bb(0x3b9)][_0xe178bb(0x334)](_0x49eb78,_0x1b1384);if(!_0x12ed98(_0x5c20a9))throw _0x5c20a9[_0xe178bb(0x3de)];const _0x1c2aca=(_0x532bb0=(_0x12f8ce=_0x5c20a9['m2Prime'][0x0])==null?void 0x0:_0x12f8ce[_0xe178bb(0x1d4)])==null?void 0x0:_0x532bb0[_0xe178bb(0x357)];if(Array[_0xe178bb(0x1f7)](_0x1c2aca)&&_0x1c2aca[_0xe178bb(0xd3)]){if(_0x1c2aca[_0xe178bb(0xd3)]===_0x1b1384[0x0][_0xe178bb(0x1d4)][_0xe178bb(0x357)][_0xe178bb(0xd3)]&&_0x1c2aca[_0xe178bb(0x48b)]((_0x78964f,_0x377536)=>_0x2a8e41[_0xe178bb(0x195)](_0x78964f[_0xe178bb(0xe5)],_0x1b1384[0x0][_0xe178bb(0x1d4)][_0xe178bb(0x357)][_0x377536][_0xe178bb(0xe5)])))return;this[_0xe178bb(0x13e)][_0xe178bb(0x3f6)](_0x3364ad)[_0xe178bb(0x15e)](_0x2d1427['id'],{'unitId':_0x3c4815,'subUnitId':_0x25f4aa,'selections':_0x1c2aca});}}};wt=So([Kt(0x0,_0x1273b4(_0x3c8419)),Kt(0x1,_0xf205f5),Kt(0x2,_0x1d1a83)],wt);const jt=_0x87a6a4('univer-pro.collaboration-client.single-active-unit-service');var Ki=(_0x4ec3c8=>(_0x4ec3c8[_0x4ec3c8['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x30c112(0x20b),_0x4ec3c8[_0x4ec3c8[_0x30c112(0x2dd)]=0x1]=_0x30c112(0x2dd),_0x4ec3c8))(Ki||{});const Js=0x7530,Zs=_0x30c112(0x27e);class Co extends _0x2ea306{constructor(){const _0x30f23b=_0x30c112;super(),g(this,_0x30f23b(0x311),_0x4c6645[_0x30f23b(0x1f5)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x30f23b(0xa2),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x30f23b(0x48f),new Map()),g(this,_0x30f23b(0x92),new Map()),this[_0x30f23b(0x38c)]();}[_0x30c112(0xc9)](){const _0x5e4b85=_0x30c112;super[_0x5e4b85(0xc9)](),this['_clearOtherTimers'][_0x5e4b85(0x241)]((_0x5aa562,_0x297d80)=>this[_0x5e4b85(0x47c)](_0x297d80)),this[_0x5e4b85(0x347)]&&window[_0x5e4b85(0x361)](this[_0x5e4b85(0x347)]);}[_0x30c112(0x207)](_0x5842f6){const _0x59a4cd=_0x30c112;return this[_0x59a4cd(0x1fb)](_0x5842f6)[_0x59a4cd(0x27c)](_0x194fec());}[_0x30c112(0x100)](_0x1693d1){const _0x191386=_0x30c112;this[_0x191386(0x1a8)][_0x191386(0x150)]===0x0&&this['_scheduleHeartbeat'](),this[_0x191386(0x1a8)][_0x191386(0x1c0)](_0x1693d1),this[_0x191386(0xcf)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1693d1],'isForwarded':!0x1});}[_0x30c112(0x139)](_0x1a3d9b){const _0x279bfc=_0x30c112;this[_0x279bfc(0x1a8)][_0x279bfc(0x26a)](_0x1a3d9b),this[_0x279bfc(0x1a8)][_0x279bfc(0x150)]===0x0&&this['_heartbeatTimer']&&window[_0x279bfc(0x361)](this[_0x279bfc(0x347)]);}[_0x30c112(0x38c)](){const _0x182669=_0x30c112;this[_0x182669(0x12b)](_0x7e08d2(_0x1700cb(window,_0x182669(0x1c1))[_0x182669(0x196)](_0x111962=>{const _0x5998db=_0x182669;if(_0x111962[_0x5998db(0x3bc)]!==Zs||!_0x111962[_0x5998db(0x12f)])return;const _0x377d33=JSON[_0x5998db(0x173)](_0x111962['newValue']);this['_handleEvent'](_0x377d33);}))),window[_0x182669(0x29a)](_0x182669(0x39e),()=>this['_send']({'type':0x1,'memberID':this[_0x182669(0x311)],'unitIDs':Array[_0x182669(0xba)](this[_0x182669(0x1a8)])}));}[_0x30c112(0x2d5)](_0x3c0230){const _0x2b665d=_0x30c112;switch(_0x3c0230['type']){case 0x0:this[_0x2b665d(0x434)](_0x3c0230);break;case 0x1:this[_0x2b665d(0x1c5)](_0x3c0230);break;case 0x2:this[_0x2b665d(0x25b)](_0x3c0230);break;}}['_handleJoinEvent'](_0x32c192){const _0xc9aa4f=_0x30c112,{unitIDs:_0x26eb85,memberID:_0x1455ff,isForwarded:_0x12b7e6}=_0x32c192;_0x26eb85[_0xc9aa4f(0x241)](_0x449653=>{const _0x44e132=_0xc9aa4f;if(!_0x12b7e6&&this[_0x44e132(0xa2)][_0x44e132(0x120)](_0x449653)&&this[_0x44e132(0x1fb)](_0x449653)['next'](0x1),!this[_0x44e132(0xa2)]['has'](_0x449653)||!this['_unitOnClients'][_0x44e132(0x3f6)](_0x449653)[_0x44e132(0x120)](_0x1455ff)){const _0xd346d1=this['_unitOnClients']['get'](_0x449653)||new Set();_0xd346d1[_0x44e132(0x1c0)](_0x1455ff),this[_0x44e132(0xa2)][_0x44e132(0x34b)](_0x449653,_0xd346d1),this[_0x44e132(0x134)](_0x1455ff);}}),_0x12b7e6||this[_0xc9aa4f(0xcf)]({'type':0x0,'memberID':this[_0xc9aa4f(0x311)],'unitIDs':[...this[_0xc9aa4f(0x1a8)]],'isForwarded':!0x0});}[_0x30c112(0x134)](_0x271b4b){const _0x1de51e=_0x30c112;this['_removeClearOtherTimer'](_0x271b4b);const _0x343b2e=window[_0x1de51e(0x2ac)](()=>{const _0x34a0d1=_0x1de51e;this[_0x34a0d1(0xa2)]['forEach'](_0x468b54=>{_0x468b54['delete'](_0x271b4b);});},Js*0x2);this['_clearOtherTimers']['set'](_0x271b4b,_0x343b2e);}[_0x30c112(0x47c)](_0x2f967c){const _0x332360=_0x30c112;if(this[_0x332360(0x48f)][_0x332360(0x120)](_0x2f967c)){const _0x4e4bbe=this[_0x332360(0x48f)][_0x332360(0x3f6)](_0x2f967c);_0x4e4bbe&&window[_0x332360(0x184)](_0x4e4bbe),this[_0x332360(0x48f)]['set'](_0x2f967c,null);}}['_handleLeaveEvent'](_0x4af088){const _0x1db813=_0x30c112,{memberID:_0x133761,unitIDs:_0x335997}=_0x4af088;_0x335997['forEach'](_0x335783=>{const _0xa3fc64=_0x2ebf;var _0x216656;const _0x2e0a4b=this[_0xa3fc64(0xa2)][_0xa3fc64(0x3f6)](_0x335783);_0x2e0a4b&&(_0x2e0a4b[_0xa3fc64(0x26a)](_0x133761),(_0x216656=this[_0xa3fc64(0x1fb)](_0x335783))==null||_0x216656['next'](_0x2e0a4b['size']===0x0?0x0:0x1));}),this[_0x1db813(0x47c)](_0x133761);}['_handleHeartbeatEvent'](_0x4e129c){const _0x33cd2=_0x30c112;this[_0x33cd2(0x134)](_0x4e129c[_0x33cd2(0x27a)]);}[_0x30c112(0xcf)](_0x5a3590){const _0x1b4bf5=_0x30c112;localStorage[_0x1b4bf5(0x23f)](Zs,JSON[_0x1b4bf5(0x19d)](_0x5a3590));}[_0x30c112(0x24c)](){const _0x3ac5b1=_0x30c112;this['_heartbeatTimer']=window[_0x3ac5b1(0x3fe)](()=>{const _0x28682f=_0x3ac5b1;this[_0x28682f(0xcf)]({'type':0x2,'memberID':this[_0x28682f(0x311)]});},Js);}[_0x30c112(0x1fb)](_0x19707e){const _0x5ee674=_0x30c112;return this[_0x5ee674(0x92)]['has'](_0x19707e)||this[_0x5ee674(0x92)][_0x5ee674(0x34b)](_0x19707e,new _0x15cd68(0x0)),this[_0x5ee674(0x92)][_0x5ee674(0x3f6)](_0x19707e);}}var Eo=Object[_0x30c112(0x28e)],bo=Object[_0x30c112(0x1e3)],To=(_0x10c694,_0x154875,_0x5f2351,_0x5739d3)=>{const _0xb2dcb4=_0x30c112;for(var _0x2051b6=_0x5739d3>0x1?void 0x0:_0x5739d3?bo(_0x154875,_0x5f2351):_0x154875,_0x2289e6=_0x10c694[_0xb2dcb4(0xd3)]-0x1,_0x225637;_0x2289e6>=0x0;_0x2289e6--)(_0x225637=_0x10c694[_0x2289e6])&&(_0x2051b6=(_0x5739d3?_0x225637(_0x154875,_0x5f2351,_0x2051b6):_0x225637(_0x2051b6))||_0x2051b6);return _0x5739d3&&_0x2051b6&&Eo(_0x154875,_0x5f2351,_0x2051b6),_0x2051b6;},qt=(_0x24ae63,_0x2bd851)=>(_0x5e23,_0x2a4078)=>_0x2bd851(_0x5e23,_0x2a4078,_0x24ae63);let Dt=class{constructor(_0x79900b,_0x19bc0d,_0x39e517){const _0x361f37=_0x30c112;this[_0x361f37(0x13e)]=_0x79900b,this['_transformService']=_0x19bc0d,this[_0x361f37(0xa9)]=_0x39e517;}[_0x30c112(0x1e5)](_0x29aad8){this['_transformHistoryAndStateStack'](_0x29aad8);}['transformRemoteChangeset'](_0x1ec521){const _0x54f584=_0x30c112,{unitID:_0xd66a30}=_0x1ec521,{collaboration:_0x248747}=this[_0x54f584(0xa9)][_0x54f584(0x29c)](_0xd66a30);if(_0x248747[_0x54f584(0xd3)]===0x0)return _0x1ec521;let _0x581c37=_0x4c6645[_0x54f584(0x264)](_0x1ec521[_0x54f584(0xa0)][0x0]);for(let _0x4654ec=0x0;_0x4654ec<_0x248747[_0x54f584(0xd3)];_0x4654ec++){const _0x3789ed={'id':_0x54f584(0x285),'params':{'unitId':_0x248747[_0x4654ec][_0x54f584(0x2d3)],..._0x248747[_0x4654ec][_0x54f584(0x30a)]}},_0x10ce3f=this[_0x54f584(0x3b9)][_0x54f584(0x423)](_0x581c37,_0x3789ed,!0x1);if(_0x33b0d8(_0x10ce3f))throw _0x10ce3f[_0x54f584(0x3de)];_0x581c37=_0x10ce3f[_0x54f584(0x3d2)];}return{..._0x4c6645['deepClone'](_0x1ec521),'mutations':[_0x581c37]};}['_transformHistoryAndStateStack'](_0x375f60){const _0x49d147=_0x30c112,{unitID:_0x521b52}=_0x375f60,{history:_0x69cb10,collaboration:_0xd729dc}=this[_0x49d147(0xa9)][_0x49d147(0x29c)](_0x521b52);if(_0x69cb10['length']===0x0&&_0xd729dc[_0x49d147(0xd3)]===0x0)return;const _0x34aa62=[],_0x34dc16=[];let _0x194891=_0x4c6645[_0x49d147(0x264)](_0x375f60[_0x49d147(0xa0)][0x0]),_0xcd4231=_0x4c6645[_0x49d147(0x264)](_0x375f60[_0x49d147(0xa0)][0x0]);for(let _0x14091c=_0x69cb10[_0x49d147(0xd3)]-0x1;_0x14091c>=0x0;_0x14091c--){const _0x2ba737={'id':_0x49d147(0x285),'params':{'unitId':_0x69cb10[_0x14091c][_0x49d147(0x2d3)],..._0x69cb10[_0x14091c][_0x49d147(0x165)]}},_0x3e82b3={'id':_0x49d147(0x285),'params':{'unitId':_0x69cb10[_0x14091c][_0x49d147(0x2d3)],..._0x69cb10[_0x14091c][_0x49d147(0x30a)]}},_0x3fe70f=this[_0x49d147(0x3b9)]['transformMutation'](_0x194891,_0x2ba737,!0x1),_0x322391=this['_transformService'][_0x49d147(0x423)](_0xcd4231,_0x3e82b3,!0x1);if(_0x33b0d8(_0x3fe70f))throw _0x3fe70f[_0x49d147(0x3de)];if(_0x33b0d8(_0x322391))throw _0x322391[_0x49d147(0x3de)];_0x34aa62[_0x49d147(0x2ec)]({..._0x69cb10[_0x14091c],'undoState':_0x3fe70f[_0x49d147(0x27d)][_0x49d147(0x1d4)],'redoState':_0x322391[_0x49d147(0x27d)]['params']}),_0x194891=_0x3fe70f[_0x49d147(0x3d2)],_0xcd4231=_0x322391[_0x49d147(0x3d2)];}_0x194891=_0x4c6645[_0x49d147(0x264)](_0x375f60[_0x49d147(0xa0)][0x0]),_0xcd4231=_0x4c6645['deepClone'](_0x375f60[_0x49d147(0xa0)][0x0]);for(let _0x18d12c=_0xd729dc[_0x49d147(0xd3)]-0x1;_0x18d12c>=0x0;_0x18d12c--){const _0x574b3a={'id':_0x49d147(0x285),'params':{'unitId':_0xd729dc[_0x18d12c][_0x49d147(0x2d3)],..._0xd729dc[_0x18d12c][_0x49d147(0x165)]}},_0x4cd3c8={'id':_0x49d147(0x285),'params':{'unitId':_0xd729dc[_0x18d12c][_0x49d147(0x2d3)],..._0xd729dc[_0x18d12c][_0x49d147(0x30a)]}},_0x3b0cbb=this['_transformService']['transformMutation'](_0x194891,_0x574b3a,!0x1),_0x2a4171=this[_0x49d147(0x3b9)][_0x49d147(0x423)](_0xcd4231,_0x4cd3c8,!0x1);if(_0x33b0d8(_0x3b0cbb))throw _0x3b0cbb[_0x49d147(0x3de)];if(_0x33b0d8(_0x2a4171))throw _0x2a4171[_0x49d147(0x3de)];_0x34dc16[_0x49d147(0x2ec)]({..._0xd729dc[_0x18d12c],'undoState':_0x3b0cbb[_0x49d147(0x27d)]['params'],'redoState':_0x2a4171[_0x49d147(0x27d)][_0x49d147(0x1d4)]}),_0x194891=_0x3b0cbb[_0x49d147(0x3d2)],_0xcd4231=_0x2a4171['m1Prime'];}this[_0x49d147(0xa9)][_0x49d147(0x2e5)](_0x521b52,{'history':_0x34aa62,'collaboration':_0x34dc16});}};Dt=To([qt(0x0,_0x1273b4(_0x3c8419)),qt(0x1,_0xf205f5),qt(0x2,_0x1273b4(_0xd60329))],Dt);function qi(_0x38a620){const _0x32389e=_0x30c112;let _0x282c08='';for(const _0x52732a of _0x38a620){const {startOffset:_0x300a6c,endOffset:_0x2d6257,isActive:_0x10ace7,rangeType:_0xe55947,segmentId:_0xae9c59,segmentPage:_0x58af25}=_0x52732a;_0x282c08[_0x32389e(0xd3)]&&(_0x282c08+=','),_0x282c08+=_0x300a6c+':'+_0x2d6257+':'+(_0x10ace7?'1':'0')+':'+_0xe55947+':'+_0xae9c59+':'+_0x58af25;}return _0x282c08;}function Ro(_0x2537cd){const _0x1636b3=_0x30c112,_0x3e7296=_0x2537cd[_0x1636b3(0x49e)](','),_0x1096b3=[];for(const _0x30c0cc of _0x3e7296){const [_0x42017b,_0x4f0ca9,_0x16e1bc,_0x3740b0,_0x29b0fd,_0x5a2dfe]=_0x30c0cc[_0x1636b3(0x49e)](':');_0x1096b3['push']({'startOffset':Number(_0x42017b),'endOffset':Number(_0x4f0ca9),'collapsed':_0x42017b===_0x4f0ca9,'isActive':_0x16e1bc==='1','rangeType':_0x3740b0===_0x5780a0['TEXT']?_0x5780a0[_0x1636b3(0x177)]:_0x5780a0[_0x1636b3(0x26b)],'segmentId':typeof _0x29b0fd=='string'?String(_0x29b0fd):'','segmentPage':Number(_0x5a2dfe!=null?_0x5a2dfe:-0x1)});}return _0x1096b3[_0x1636b3(0x408)](_0x4dc125=>_0x4dc125[_0x1636b3(0x21d)])||(_0x1096b3[0x0][_0x1636b3(0x21d)]=!0x0),_0x1096b3;}class Ds extends _0x43d55d{constructor(){const _0x242013=_0x30c112;super(...arguments),g(this,'_collabCursorState$',new _0x15cd68(null)),g(this,_0x242013(0x3aa),this['_collabCursorState$'][_0x242013(0x36c)]());}['syncEditingCollabCursor'](_0xc17f03){const _0x1d7047=_0x30c112,{unitID:_0x19fb19,memberID:_0x18cc6f,textRanges:_0x2d2504}=_0xc17f03,_0x28cff2=qi(_0x2d2504);if(_0x28cff2==='')return;const _0x434203={'unitID':_0x19fb19,'memberID':_0x18cc6f,'selection':_0x28cff2};this[_0x1d7047(0x3f5)][_0x1d7047(0x26d)](_0x434203);}}var Oo=Object[_0x30c112(0x28e)],yo=Object[_0x30c112(0x1e3)],wo=(_0x444072,_0x3a3082,_0x118121,_0x4d6367)=>{const _0x405cfe=_0x30c112;for(var _0x19cb27=_0x4d6367>0x1?void 0x0:_0x4d6367?yo(_0x3a3082,_0x118121):_0x3a3082,_0x45ba1a=_0x444072[_0x405cfe(0xd3)]-0x1,_0xfff2d0;_0x45ba1a>=0x0;_0x45ba1a--)(_0xfff2d0=_0x444072[_0x45ba1a])&&(_0x19cb27=(_0x4d6367?_0xfff2d0(_0x3a3082,_0x118121,_0x19cb27):_0xfff2d0(_0x19cb27))||_0x19cb27);return _0x4d6367&&_0x19cb27&&Oo(_0x3a3082,_0x118121,_0x19cb27),_0x19cb27;},Qs=(_0x141ffe,_0x5a0bf0)=>(_0x696635,_0x58ac07)=>_0x5a0bf0(_0x696635,_0x58ac07,_0x141ffe);let Pt=class{constructor(_0x181ec5,_0x5d229d){const _0x26f076=_0x30c112;this[_0x26f076(0x13e)]=_0x181ec5,this[_0x26f076(0x3b9)]=_0x5d229d;}[_0x30c112(0x312)](_0x41fb4b){const _0x484bb4=_0x30c112;var _0xc30d15;const _0x45b930=this[_0x484bb4(0x13e)]['get'](_0x4cb2f3),_0x10bc12=(_0xc30d15=_0x45b930['getDocRanges']())!=null?_0xc30d15:[];if(_0x10bc12['length']===0x0)return;const _0x265bd5=_0x41fb4b['unitID'],_0x45465d=[{'id':_0x484bb4(0x285),'params':{'unitId':_0x265bd5,'actions':null,'textRanges':_0x10bc12}}],_0x20a233=this[_0x484bb4(0x3b9)][_0x484bb4(0x334)](_0x41fb4b,_0x45465d);if(!_0x12ed98(_0x20a233))throw _0x20a233[_0x484bb4(0x3de)];const _0x5c05b3=_0x20a233[_0x484bb4(0x27d)][0x0][_0x484bb4(0x1d4)][_0x484bb4(0x310)];Array['isArray'](_0x5c05b3)&&_0x5c05b3[_0x484bb4(0xd3)]&&_0x45b930['replaceDocRanges'](_0x5c05b3,{'unitId':_0x265bd5,'subUnitId':_0x265bd5},!0x1);}};Pt=wo([Qs(0x0,_0x1273b4(_0x3c8419)),Qs(0x1,_0xf205f5)],Pt);const Do=new Set([_0x5b5bbd['id']]);function ei(_0x349d77,_0x326d8d,_0x1184e4,_0x198586,_0x57fe59){const _0x170746=_0x30c112;var _0x298506,_0x45aea3,_0xbebe75,_0x5a127e;const _0x28a3d7=[];for(const _0x8a749d of _0x349d77)if(Do[_0x170746(0x120)](_0x8a749d['id'])){if(_0x28a3d7['length']>0x0)break;_0x28a3d7[_0x170746(0xd6)](_0x8a749d);break;}else _0x28a3d7[_0x170746(0xd6)](_0x8a749d);const _0x2b3aad=(_0x45aea3=(_0x298506=_0x57fe59['getCurrentUser']())==null?void 0x0:_0x298506[_0x170746(0x3c9)])!=null?_0x45aea3:_0x170746(0x392),_0x50905c=(_0x5a127e=(_0xbebe75=_0x57fe59[_0x170746(0x31d)]())==null?void 0x0:_0xbebe75[_0x170746(0x27a)])!=null?_0x5a127e:_0x170746(0x392);return{'changeset':{'unitID':_0x326d8d,'type':_0x3cb35c(_0x1184e4[_0x170746(0x31f)](_0x326d8d)),'baseRev':_0x198586[_0x170746(0x308)](_0x326d8d),'revision':0x0,'userID':_0x2b3aad,'memberID':_0x50905c,'mutations':_0x28a3d7},'pendingMutations':_0x349d77[_0x170746(0x2fa)](_0x28a3d7[_0x170746(0xd3)])};}function Po(_0x379759,_0x59e0ae,_0x2d6510,_0x4ea66f,_0x28c02d){const _0x31c99f=_0x30c112;var _0x5ecba8,_0x2bbc29,_0x2132c6,_0xd7e1c;const _0xbb5acd=[_0x379759[_0x31c99f(0x2d9)]((_0x1b3327,_0x569660)=>{const _0xa38717=_0x31c99f;var _0x2cd020;const {id:_0x457bbc}=_0x1b3327,{id:_0x1f7d38,type:_0xcf3ac}=_0x569660,_0x4a6906=(_0x2cd020=_0x1b3327['params'])!=null?_0x2cd020:{'actions':null},_0x2be6c7=_0x569660[_0xa38717(0x1d4)];if(_0x457bbc&&_0x457bbc!==_0x1f7d38)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x457bbc+_0xa38717(0x478)+_0x1f7d38+'.');return{..._0x1b3327,'id':_0x1f7d38,'type':_0xcf3ac,'params':{'unitId':_0x2be6c7[_0xa38717(0x2d3)],'textRanges':_0x2be6c7['textRanges'],'actions':_0x2e8611[_0xa38717(0x18b)](_0x4a6906[_0xa38717(0x365)],_0x2be6c7[_0xa38717(0x365)])}};},{})],_0x545981=(_0x2bbc29=(_0x5ecba8=_0x28c02d[_0x31c99f(0x31d)]())==null?void 0x0:_0x5ecba8[_0x31c99f(0x3c9)])!=null?_0x2bbc29:'unknown',_0x1f46e2=(_0xd7e1c=(_0x2132c6=_0x28c02d[_0x31c99f(0x31d)]())==null?void 0x0:_0x2132c6[_0x31c99f(0x27a)])!=null?_0xd7e1c:_0x31c99f(0x392);return{'changeset':{'unitID':_0x59e0ae,'type':_0x3cb35c(_0x2d6510[_0x31c99f(0x31f)](_0x59e0ae)),'baseRev':_0x4ea66f[_0x31c99f(0x308)](_0x59e0ae),'revision':0x0,'userID':_0x545981,'memberID':_0x1f46e2,'mutations':_0xbb5acd},'pendingMutations':[]};}function zi(_0x4b2389,_0x2c2270){const _0x13b49e=_0x30c112,_0x509177=new _0x51b1e0(0x1);return setTimeout(()=>_0x509177[_0x13b49e(0x26d)](_0x2c2270),_0x4b2389),_0x509177['asObservable']()[_0x13b49e(0x27c)](_0x4828e4(0x1));}const No={'id':_0x5cdb92['id'],'type':_0x2d21ee[_0x30c112(0x243)],'params':{}};var Uo=Object[_0x30c112(0x28e)],Ao=Object[_0x30c112(0x1e3)],$e=(_0x50aaf4,_0x468131,_0x1cadac,_0x3071de)=>{const _0x58be14=_0x30c112;for(var _0x4f223e=_0x3071de>0x1?void 0x0:_0x3071de?Ao(_0x468131,_0x1cadac):_0x468131,_0x2b237a=_0x50aaf4[_0x58be14(0xd3)]-0x1,_0x57eab4;_0x2b237a>=0x0;_0x2b237a--)(_0x57eab4=_0x50aaf4[_0x2b237a])&&(_0x4f223e=(_0x3071de?_0x57eab4(_0x468131,_0x1cadac,_0x4f223e):_0x57eab4(_0x4f223e))||_0x4f223e);return _0x3071de&&_0x4f223e&&Uo(_0x468131,_0x1cadac,_0x4f223e),_0x4f223e;},A=(_0x5cc46c,_0x222e7f)=>(_0x3a646f,_0x36047d)=>_0x222e7f(_0x3a646f,_0x36047d,_0x5cc46c),J=(_0x58d1ae=>(_0x58d1ae[_0x30c112(0x456)]=_0x30c112(0x3df),_0x58d1ae[_0x30c112(0x3a2)]=_0x30c112(0x122),_0x58d1ae['PENDING']='pending',_0x58d1ae[_0x30c112(0x3ca)]=_0x30c112(0x359),_0x58d1ae['AWAITING_WITH_PENDING']=_0x30c112(0x135),_0x58d1ae['FETCH_MISS']='fetch_missing',_0x58d1ae['CONFLICT']=_0x30c112(0x46c),_0x58d1ae[_0x30c112(0x371)]=_0x30c112(0x2f9),_0x58d1ae))(J||{});const Xi=0xea60;class He{constructor(_0x16c8b3,_0x35b475,_0x1b34ef,_0x5b3dd2,_0x58496a,_0x33738b,_0x2297c4,_0x8b7273,_0x49379f){const _0x99e89e=_0x30c112;g(this,_0x99e89e(0x467),null),g(this,_0x99e89e(0x131),[]),(this[_0x99e89e(0x499)]=_0x16c8b3,this[_0x99e89e(0x2a5)]=_0x35b475,this['_handler']=_0x58496a,this[_0x99e89e(0x118)]=_0x33738b,this[_0x99e89e(0x2eb)]=_0x2297c4,this[_0x99e89e(0x2af)]=_0x8b7273,this[_0x99e89e(0x17a)]=_0x49379f,this[_0x99e89e(0x467)]=_0x1b34ef,this['_pendingMutations']=_0x5b3dd2);}[_0x30c112(0x460)](_0x180dcd){const _0x53cfe1=_0x30c112,_0x167d25=this[_0x53cfe1(0x2af)][_0x53cfe1(0x308)](this['unitID']);return _0x180dcd['revision']>_0x167d25+0x1?(this['_handler'][_0x53cfe1(0x317)]({'from':_0x167d25,'to':_0x180dcd['revision']-0x1}),!0x0):!0x1;}[_0x30c112(0x3c8)](_0x3f4fa1){const _0x415291=_0x30c112;this[_0x415291(0x2eb)][_0x415291(0x376)](this[_0x415291(0x499)],_0x3f4fa1);}['_transformSelections'](_0x51430c){const _0x32686c=_0x30c112;var _0x35047e,_0x131e6d;(_0x131e6d=(_0x35047e=this[_0x32686c(0x354)])[_0x32686c(0x47b)])==null||_0x131e6d[_0x32686c(0xb6)](_0x35047e,_0x51430c);}['_transformIMECache'](_0x5a1ac2){const _0x5dfa9f=_0x30c112;var _0x512bc5,_0x197440;return(_0x197440=(_0x512bc5=this['_handler'])[_0x5dfa9f(0x9c)])==null?void 0x0:_0x197440[_0x5dfa9f(0xb6)](_0x512bc5,_0x5a1ac2);}[_0x30c112(0x2c9)](_0xd5b9be){const _0x40b264=_0x30c112;var _0x56c6ef,_0x3287d3;return(_0x3287d3=(_0x56c6ef=this[_0x40b264(0x354)])[_0x40b264(0x289)])==null?void 0x0:_0x3287d3['call'](_0x56c6ef,_0xd5b9be);}[_0x30c112(0x19e)](_0x77c291){const _0x49222c=_0x30c112;var _0x1e9598,_0x38b41d,_0x394ae0;return(_0x394ae0=(_0x38b41d=(_0x1e9598=this[_0x49222c(0x354)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x38b41d[_0x49222c(0xb6)](_0x1e9598,_0x77c291))!=null?_0x394ae0:_0x77c291;}[_0x30c112(0x497)](_0x29ea41){const _0x15d6fd=_0x30c112;var _0x2cc45e,_0x1d7717,_0x3c048a;return(_0x3c048a=(_0x1d7717=(_0x2cc45e=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1d7717[_0x15d6fd(0xb6)](_0x2cc45e,_0x29ea41))!=null?_0x3c048a:_0x29ea41;}[_0x30c112(0xea)](_0xb191b9){const _0x5dac8f=_0x30c112;var _0x5becdc,_0x1663c7;if(this['type']===ae[_0x5dac8f(0x1d7)]){const {unitID:_0x4a5c05,mutations:_0xd73c1a,memberID:_0x2e0450}=_0xb191b9,_0x33e4cd=_0xd73c1a[0x0][_0x5dac8f(0x1d4)]['textRanges'];Array[_0x5dac8f(0x1f7)](_0x33e4cd)&&_0x33e4cd[_0x5dac8f(0xd3)]>0x0&&((_0x1663c7=(_0x5becdc=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x1663c7[_0x5dac8f(0xb6)](_0x5becdc,{'unitID':_0x4a5c05,'memberID':_0x2e0450,'textRanges':_0x33e4cd}));}}[_0x30c112(0x11a)](){const _0x53d6d4=_0x30c112;this[_0x53d6d4(0x17a)][_0x53d6d4(0x3d3)](this[_0x53d6d4(0x499)],this[_0x53d6d4(0x2a5)],this[_0x53d6d4(0x467)],this[_0x53d6d4(0x131)]);}['_getCurrentRevision'](){const _0x11efda=_0x30c112;return this['_revisionService'][_0x11efda(0x308)](this[_0x11efda(0x499)]);}[_0x30c112(0x48c)](){const _0x4f6d7e=_0x30c112;this[_0x4f6d7e(0x2af)][_0x4f6d7e(0x11b)](this[_0x4f6d7e(0x499)]);}['_executeRemoteChangeset'](_0x46507e){const _0x3638aa=_0x30c112;var _0x543661;let _0x249b69=this[_0x3638aa(0x19e)](_0x46507e);_0x249b69=this[_0x3638aa(0x497)](_0x249b69);const _0x5f196b=_0x49ac66(_0x249b69['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x5f196b[_0x3638aa(0x20d)])throw _0x5f196b[_0x3638aa(0x3de)]instanceof Error?_0x5f196b['error']:new Error((_0x543661=_0x5f196b[_0x3638aa(0x3de)])!=null?_0x543661:_0x3638aa(0x256));this['_transformIMECache'](_0x249b69),this[_0x3638aa(0x2c9)](_0x249b69),this['_transformUndoredo'](_0x46507e),this[_0x3638aa(0x383)](_0x249b69),this['_syncEditingCollabCursor'](_0x249b69),this['_incrementRevisionNumber']();}}let Fe=class extends He{constructor(_0x11bd83,_0x86bb75,_0x56f208,_0x40fad0,_0x438fc4,_0x1b5245,_0x96a8d0,_0x342733,_0x780666,_0x2083f7){const _0x16c94e=_0x30c112;super(_0x11bd83,_0x86bb75,null,[],_0x56f208,_0x342733,_0x96a8d0,_0x40fad0,_0x438fc4),g(this,_0x16c94e(0x463),_0x16c94e(0x122)),(this[_0x16c94e(0x13e)]=_0x1b5245,this[_0x16c94e(0x123)]=_0x780666,this[_0x16c94e(0x3b9)]=_0x2083f7);}['appendMutation'](_0x2da4a3){const _0x5f1dd6=_0x30c112,_0x1ab1c7=this['_injector'][_0x5f1dd6(0x375)](pe,this[_0x5f1dd6(0x499)],this['type'],[_0x2da4a3],this[_0x5f1dd6(0x354)]);return _0x1ab1c7[_0x5f1dd6(0x1b2)](),_0x1ab1c7['_updateLocalCache'](),_0x1ab1c7;}[_0x30c112(0x306)](_0x4897e7){const _0x276cd2=_0x30c112;if(this['_checkMissing'](_0x4897e7))return this[_0x276cd2(0x13e)][_0x276cd2(0x375)](ce,this['unitID'],this[_0x276cd2(0x2a5)],null,[],null,[_0x4897e7],this[_0x276cd2(0x354)]);try{const _0x580811=this[_0x276cd2(0x3b9)]['transformMutationsWithChangeset'](_0x4897e7,[No]);if(_0x12ed98(_0x580811)){const {c1Prime:_0x11ef7a}=_0x580811;return this[_0x276cd2(0x27b)](_0x11ef7a),this;}throw _0x580811[_0x276cd2(0x3de)];}catch(_0x10774c){return this[_0x276cd2(0x123)][_0x276cd2(0x3de)](_0x10774c),this[_0x276cd2(0x151)](!0x1);}}['_onConflict'](_0x58b5c5){const _0x11910d=_0x30c112;return this['_injector']['createInstance'](Re,this[_0x11910d(0x499)],this[_0x11910d(0x2a5)],null,[],this[_0x11910d(0x354)],_0x58b5c5);}[_0x30c112(0x287)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x30c112(0xed)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x30c112(0x2f5)](){return this;}[_0x30c112(0xb1)](){const _0x2f7b8c=_0x30c112;return this['_injector']['createInstance'](Oe,this[_0x2f7b8c(0x499)],this['type'],null,[],this['_handler']);}[_0x30c112(0x487)](){return this;}[_0x30c112(0x29d)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x117043=_0x30c112,_0x47be86=this[_0x117043(0x2af)][_0x117043(0x308)](this[_0x117043(0x499)]);return this[_0x117043(0x354)][_0x117043(0x317)]({'from':_0x47be86,'to':0x0}),this[_0x117043(0x13e)][_0x117043(0x375)](ce,this[_0x117043(0x499)],this['type'],null,[],null,[],this[_0x117043(0x354)]);}};Fe=$e([A(0x3,_0x1273b4(_0x5239ac)),A(0x4,_0x1273b4(z)),A(0x5,_0x1273b4(_0x3c8419)),A(0x6,_0x603285),A(0x7,_0x3364ad),A(0x8,_0x164f73),A(0x9,_0xf205f5)],Fe);let pe=class extends He{constructor(_0xafba12,_0x45759c,_0x1e8e23,_0x5ec1f8,_0x409f1b,_0x44de9e,_0x2bef84,_0x322f8d,_0x307e9c,_0x4eaf47,_0x45500d,_0x309381,_0x2f5971,_0x5c1372){const _0x4ef2ed=_0x30c112;super(_0xafba12,_0x45759c,null,_0x1e8e23,_0x5ec1f8,_0x4eaf47,_0x5c1372,_0x44de9e,_0x2bef84),g(this,_0x4ef2ed(0x463),'pending'),g(this,_0x4ef2ed(0x426),null),g(this,'_sendingTimer',null),(this['_injector']=_0x409f1b,this[_0x4ef2ed(0x294)]=_0x322f8d,this[_0x4ef2ed(0x123)]=_0x307e9c,this[_0x4ef2ed(0x42c)]=_0x45500d,this['_transformService']=_0x309381,this[_0x4ef2ed(0x187)]=_0x2f5971);}[_0x30c112(0x432)](_0xbb4c00){const _0x1f7b26=_0x30c112;return this[_0x1f7b26(0x131)][_0x1f7b26(0xd6)](_0xbb4c00),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x409867){const _0x1f7dad=_0x30c112;if(this[_0x1f7dad(0x460)](_0x409867))return this[_0x1f7dad(0x157)](),this['_injector']['createInstance'](ce,this[_0x1f7dad(0x499)],this['type'],null,this[_0x1f7dad(0x131)],null,[_0x409867],this['_handler']);try{const _0x2c2902=this['_transformService'][_0x1f7dad(0x334)](_0x409867,this[_0x1f7dad(0x131)]);if(_0x12ed98(_0x2c2902)){const {c1Prime:_0x44e8fc,m2Prime:_0x3a15ef}=_0x2c2902;this[_0x1f7dad(0x27b)](_0x44e8fc);const _0x356850=this[_0x1f7dad(0x13e)][_0x1f7dad(0x375)](pe,this[_0x1f7dad(0x499)],this[_0x1f7dad(0x2a5)],_0x3a15ef,this[_0x1f7dad(0x354)]);return this[_0x1f7dad(0x157)](),_0x356850['_schedule'](this[_0x1f7dad(0x426)]?Math[_0x1f7dad(0x10f)](0x0,new Date()[_0x1f7dad(0xe0)]()-this['_scheduleTimestamp']):this[_0x1f7dad(0x1e0)]()),_0x356850;}throw _0x2c2902[_0x1f7dad(0x3de)];}catch(_0x18fe22){return this[_0x1f7dad(0x123)][_0x1f7dad(0x3de)](_0x18fe22),this['_onConflict'](!0x1);}}[_0x30c112(0x287)](){const _0xd50949=_0x30c112;throw new Error(_0xd50949(0x1fe));}['onRemoteRej'](){const _0x415c71=_0x30c112;throw new Error(_0x415c71(0x2c0));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x33e913=_0x30c112;return this[_0x33e913(0x157)](),this['_injector']['createInstance'](Oe,this[_0x33e913(0x499)],this['type'],null,this[_0x33e913(0x131)],this[_0x33e913(0x354)]);}[_0x30c112(0x487)](){return this;}['_schedule'](_0x39e5a1){const _0x400be6=_0x30c112,_0x3704a1=_0x39e5a1!=null?_0x39e5a1:this['_getSendChangesetTimeout']();this[_0x400be6(0x426)]=new Date()[_0x400be6(0xe0)](),this[_0x400be6(0x16a)]=window[_0x400be6(0x2ac)](()=>{const _0x1a821c=_0x400be6;this[_0x1a821c(0x157)]();let _0x3b87b7=null;switch(this['type']){case ae[_0x1a821c(0x335)]:{_0x3b87b7=ei(this[_0x1a821c(0x131)],this[_0x1a821c(0x499)],this[_0x1a821c(0x187)],this[_0x1a821c(0x2af)],this['_memberService']);break;}case ae['UNIVER_DOC']:{this[_0x1a821c(0x131)][_0x1a821c(0x48b)](_0x4ea84b=>_0x4ea84b['id']===_0x34173f['id'])?_0x3b87b7=Po(this['_pendingMutations'],this['unitID'],this[_0x1a821c(0x187)],this[_0x1a821c(0x2af)],this[_0x1a821c(0x294)]):_0x3b87b7=ei(this['_pendingMutations'],this[_0x1a821c(0x499)],this[_0x1a821c(0x187)],this[_0x1a821c(0x2af)],this['_memberService']);break;}default:throw new Error(_0x1a821c(0xc5)+this['type']+_0x1a821c(0x293));}const {changeset:_0x11bb3a,pendingMutations:_0x1a9c04}=_0x3b87b7;this[_0x1a821c(0x354)][_0x1a821c(0x172)](_0x11bb3a);const _0x456fa9=_0x1a9c04[_0x1a821c(0xd3)]?this[_0x1a821c(0x13e)]['createInstance'](me,this[_0x1a821c(0x499)],this['type'],_0x11bb3a,_0x1a9c04,this[_0x1a821c(0x354)],void 0x0):this[_0x1a821c(0x13e)][_0x1a821c(0x375)](Te,this[_0x1a821c(0x499)],this[_0x1a821c(0x2a5)],_0x11bb3a,this[_0x1a821c(0x354)]);_0x456fa9[_0x1a821c(0x11a)](),this[_0x1a821c(0x354)][_0x1a821c(0x21b)](this,_0x456fa9);},_0x3704a1);}[_0x30c112(0x1e0)](){const _0x4df488=_0x30c112;var _0x31abfb;const _0x35f3e1=this[_0x4df488(0x42c)]['getConfig'](Q);return(_0x31abfb=_0x35f3e1==null?void 0x0:_0x35f3e1[_0x4df488(0x86)])!=null?_0x31abfb:Rn;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x51adc1=_0x30c112;this[_0x51adc1(0x16a)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x51adc1(0x16a)]=null);}['_onConflict'](_0x4de018){const _0xcd18b2=_0x30c112;return this[_0xcd18b2(0x157)](),this[_0xcd18b2(0x13e)][_0xcd18b2(0x375)](Re,this[_0xcd18b2(0x499)],this[_0xcd18b2(0x2a5)],null,this['_pendingMutations'],this['_handler'],_0x4de018);}};pe=$e([A(0x4,_0x1273b4(_0x3c8419)),A(0x5,_0x1273b4(_0x5239ac)),A(0x6,_0x1273b4(z)),A(0x7,_0x1273b4(Me)),A(0x8,_0x164f73),A(0x9,_0x3364ad),A(0xa,_0x4d1776),A(0xb,_0xf205f5),A(0xc,_0x1d1a83),A(0xd,_0x603285)],pe);let Te=class extends He{constructor(_0x5d0e24,_0x8f3df4,_0x26aa93,_0x1cac52,_0x442ad4,_0x42122f,_0x13b8d6,_0x2abc5b,_0x4c4bd0,_0x4ed7b2,_0x3e9684){const _0x7ac701=_0x30c112;super(_0x5d0e24,_0x8f3df4,_0x26aa93,[],_0x1cac52,_0x2abc5b,_0x3e9684,_0x42122f,_0x13b8d6),g(this,_0x7ac701(0x463),_0x7ac701(0x359)),g(this,_0x7ac701(0x298),0x0),g(this,_0x7ac701(0x2c3)),g(this,_0x7ac701(0xfe)),(this[_0x7ac701(0x13e)]=_0x442ad4,this[_0x7ac701(0x123)]=_0x4c4bd0,this['_transformService']=_0x4ed7b2);}[_0x30c112(0x432)](_0x196b34){const _0x3e5880=_0x30c112;this[_0x3e5880(0x157)]();const _0x576865=this[_0x3e5880(0x13e)]['createInstance'](me,this['unitID'],this[_0x3e5880(0x2a5)],this[_0x3e5880(0x467)],[_0x196b34],this[_0x3e5880(0x354)],this[_0x3e5880(0x2c3)]);return _0x576865[_0x3e5880(0x11a)](),_0x576865;}[_0x30c112(0x306)](_0x2678b8){const _0x3f9a31=_0x30c112;if(this[_0x3f9a31(0x460)](_0x2678b8))return this[_0x3f9a31(0x157)](),this[_0x3f9a31(0x13e)][_0x3f9a31(0x375)](ce,this[_0x3f9a31(0x499)],this['type'],this[_0x3f9a31(0x467)],[],null,[_0x2678b8],this[_0x3f9a31(0x354)]);try{const _0x4e09d4=this['_transformService'][_0x3f9a31(0x380)]([_0x2678b8],[this['_awaitingChangeset']],!0x1);if(_0x675846(_0x4e09d4)){const {c1Prime:_0x41f8aa,c2Prime:_0xc7f7da}=_0x4e09d4;this[_0x3f9a31(0x27b)](_0x41f8aa[0x0]),_0xc7f7da[0x0][_0x3f9a31(0x1cf)]=this[_0x3f9a31(0x281)](),this[_0x3f9a31(0x157)]();const _0x2d3a39=this[_0x3f9a31(0x13e)][_0x3f9a31(0x375)](Te,this[_0x3f9a31(0x499)],this[_0x3f9a31(0x2a5)],_0xc7f7da[0x0],this[_0x3f9a31(0x354)]);return _0x2d3a39[_0x3f9a31(0x11a)](),_0x2d3a39;}return this['_onConflict'](!0x1);}catch(_0x4094f5){return this['_logService']['error'](_0x4094f5),this[_0x3f9a31(0x151)](!0x1);}}['onRemoteAck'](_0x489d6b){const _0x1cb053=_0x30c112;this['_clearScheduledTask']();const _0xb356c8=this[_0x1cb053(0x2af)][_0x1cb053(0x308)](this[_0x1cb053(0x499)]);if(_0x489d6b[_0x1cb053(0x1a3)]<_0xb356c8-0x1)return this;if(this[_0x1cb053(0x460)](_0x489d6b))return this[_0x1cb053(0x13e)][_0x1cb053(0x375)](ce,this[_0x1cb053(0x499)],this[_0x1cb053(0x2a5)],null,[],this[_0x1cb053(0x467)],[],this['_handler']);this[_0x1cb053(0x48c)]();const _0x409d93=this['_injector']['createInstance'](Fe,this[_0x1cb053(0x499)],this[_0x1cb053(0x2a5)],this[_0x1cb053(0x354)]);return _0x409d93['_updateLocalCache'](),_0x409d93;}[_0x30c112(0xed)](_0x1ca378){const _0x343d99=_0x30c112;return this[_0x343d99(0x151)](!!(_0x1ca378!=null&&_0x1ca378[_0x343d99(0x38b)]));}[_0x30c112(0x2f5)](_0x2b660e){const _0x1fb1e2=_0x30c112;return this['_resendTimeout']>Xi?this[_0x1fb1e2(0xb1)]():(this['_resendTimer']=zi(this['_resendTimeout'],{'timeout':this[_0x1fb1e2(0x298)],'reqId':_0x2b660e[_0x1fb1e2(0x2c4)]}),this[_0x1fb1e2(0xfe)]=this[_0x1fb1e2(0x2c3)][_0x1fb1e2(0x196)](({reqId:_0x48f95d,timeout:_0x6d3047})=>{this['_resendWithTimeout'](_0x48f95d,_0x6d3047);}),this);}['toggleOffline'](){const _0x48d788=_0x30c112;return this['_clearScheduledTask'](),this[_0x48d788(0x13e)][_0x48d788(0x375)](Oe,this[_0x48d788(0x499)],this[_0x48d788(0x2a5)],this[_0x48d788(0x467)],[],this[_0x48d788(0x354)]);}[_0x30c112(0x487)](){return this;}[_0x30c112(0x29d)](){const _0x12ae67=_0x30c112;this[_0x12ae67(0x354)][_0x12ae67(0x172)](this[_0x12ae67(0x467)]);}[_0x30c112(0x151)](_0x29fde0){const _0x3d58aa=_0x30c112;return this['_clearScheduledTask'](),this[_0x3d58aa(0x13e)]['createInstance'](Re,this['unitID'],this[_0x3d58aa(0x2a5)],this['_awaitingChangeset'],[],this['_handler'],_0x29fde0);}[_0x30c112(0x319)](_0x46fe94,_0x23eaf3){const _0x16db91=_0x30c112;var _0x143960;_0x46fe94===((_0x143960=this[_0x16db91(0x467)])==null?void 0x0:_0x143960['reqId'])&&(this[_0x16db91(0x29d)](),this[_0x16db91(0x298)]=_0x23eaf3===0x0?0x3e8:_0x23eaf3*0x2);}[_0x30c112(0x157)](){const _0x150b2a=_0x30c112;var _0x6f792;(_0x6f792=this[_0x150b2a(0xfe)])==null||_0x6f792[_0x150b2a(0x98)](),this[_0x150b2a(0x298)]=0x0;}};Te=$e([A(0x4,_0x1273b4(_0x3c8419)),A(0x5,_0x1273b4(_0x5239ac)),A(0x6,_0x1273b4(z)),A(0x7,_0x3364ad),A(0x8,_0x164f73),A(0x9,_0xf205f5),A(0xa,_0x603285)],Te);let me=class extends He{constructor(_0x212a46,_0x3db7fc,_0x354d4c,_0x1f4867,_0x529eb1,_0x4567fd,_0x3c9faa,_0x3bf345,_0x2ea8b5,_0x183914,_0x1aee1b,_0x1f3c9b,_0x28ce55){const _0x40d41e=_0x30c112;super(_0x212a46,_0x3db7fc,_0x354d4c,_0x1f4867,_0x529eb1,_0x183914,_0x28ce55,_0x3bf345,_0x2ea8b5),g(this,'status','awaiting_with_pending'),g(this,_0x40d41e(0x298),0x0),g(this,'_resendTimer'),g(this,_0x40d41e(0xfe)),(this[_0x40d41e(0x13e)]=_0x3c9faa,this[_0x40d41e(0x123)]=_0x1aee1b,this[_0x40d41e(0x3b9)]=_0x1f3c9b,_0x4567fd&&(this[_0x40d41e(0x2c3)]=_0x4567fd,this[_0x40d41e(0xfe)]=this[_0x40d41e(0x2c3)][_0x40d41e(0x196)](({reqId:_0x50a241,timeout:_0x8afed5})=>{const _0x5b04e5=_0x40d41e;this[_0x5b04e5(0x319)](_0x50a241,_0x8afed5);})));}[_0x30c112(0x432)](_0x1f3444){const _0xb4b513=_0x30c112;return this['_pendingMutations'][_0xb4b513(0xd6)](_0x1f3444),this;}[_0x30c112(0x306)](_0x500de1){const _0x46f526=_0x30c112;if(this[_0x46f526(0x460)](_0x500de1))return this[_0x46f526(0x157)](),this[_0x46f526(0x13e)][_0x46f526(0x375)](ce,this[_0x46f526(0x499)],this[_0x46f526(0x2a5)],this[_0x46f526(0x467)],this[_0x46f526(0x131)],null,[_0x500de1],this[_0x46f526(0x354)]);try{const _0x59a9d4=this[_0x46f526(0x3b9)][_0x46f526(0x380)]([_0x500de1],[this[_0x46f526(0x467)]],!0x1);if(_0x675846(_0x59a9d4)){const {c1Prime:_0x1e6b5f,c2Prime:_0x9ff073}=_0x59a9d4,_0x49a904=this[_0x46f526(0x3b9)]['transformMutationsWithChangeset'](_0x1e6b5f[0x0],this['_pendingMutations']);if(_0x12ed98(_0x49a904)){const {c1Prime:_0x55a4d7,m2Prime:_0x7405e1}=_0x49a904;return this['_executeRemoteChangeset'](_0x55a4d7),_0x9ff073[0x0][_0x46f526(0x1cf)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x46f526(0x13e)][_0x46f526(0x375)](me,this[_0x46f526(0x499)],this[_0x46f526(0x2a5)],_0x9ff073[0x0],_0x7405e1,this[_0x46f526(0x354)],void 0x0);}throw _0x49a904[_0x46f526(0x3de)];}throw _0x59a9d4['error'];}catch(_0x1810ec){return this[_0x46f526(0x123)][_0x46f526(0x3de)](_0x1810ec),this[_0x46f526(0x151)](!0x1);}}[_0x30c112(0x287)](_0x136a43){const _0x3b4210=_0x30c112;if(this[_0x3b4210(0x157)](),this[_0x3b4210(0x460)](_0x136a43))return this[_0x3b4210(0x13e)]['createInstance'](ce,this[_0x3b4210(0x499)],this[_0x3b4210(0x2a5)],null,this[_0x3b4210(0x131)],this[_0x3b4210(0x467)],[],this[_0x3b4210(0x354)]);this[_0x3b4210(0x48c)]();const _0x21b8ca=this[_0x3b4210(0x13e)][_0x3b4210(0x375)](pe,this[_0x3b4210(0x499)],this[_0x3b4210(0x2a5)],this[_0x3b4210(0x131)],this['_handler']);return _0x21b8ca[_0x3b4210(0x1b2)](),_0x21b8ca[_0x3b4210(0x11a)](),_0x21b8ca;}[_0x30c112(0xed)](_0x59f6d3){const _0x2923e6=_0x30c112;return this[_0x2923e6(0x151)](!!(_0x59f6d3!=null&&_0x59f6d3[_0x2923e6(0x38b)]));}[_0x30c112(0x2f5)](_0x1d6200){const _0x504908=_0x30c112;return this[_0x504908(0x298)]>Xi?this['toggleOffline']():(this[_0x504908(0x2c3)]=zi(this[_0x504908(0x298)],{'timeout':this[_0x504908(0x298)],'reqId':_0x1d6200['reqId']}),this[_0x504908(0xfe)]=this[_0x504908(0x2c3)][_0x504908(0x196)](({reqId:_0x485b48,timeout:_0x3f53b7})=>{const _0x54e6af=_0x504908;this[_0x54e6af(0x319)](_0x485b48,_0x3f53b7);}),this);}['toggleOffline'](){const _0x26c5d5=_0x30c112;return this[_0x26c5d5(0x157)](),this[_0x26c5d5(0x13e)]['createInstance'](Oe,this[_0x26c5d5(0x499)],this[_0x26c5d5(0x2a5)],this[_0x26c5d5(0x467)],this['_pendingMutations'],this[_0x26c5d5(0x354)]);}['toggleOnline'](){return this;}[_0x30c112(0x29d)](){const _0x3649dd=_0x30c112;this[_0x3649dd(0x354)][_0x3649dd(0x172)](this[_0x3649dd(0x467)]);}[_0x30c112(0x151)](_0x3c3f16){const _0x4817a4=_0x30c112;return this[_0x4817a4(0x157)](),this[_0x4817a4(0x13e)][_0x4817a4(0x375)](Re,this[_0x4817a4(0x499)],this[_0x4817a4(0x2a5)],null,this[_0x4817a4(0x131)],this['_handler'],_0x3c3f16);}[_0x30c112(0x319)](_0x2c0068,_0x6a5501){const _0x5324d3=_0x30c112;var _0x543d04;_0x2c0068===((_0x543d04=this[_0x5324d3(0x467)])==null?void 0x0:_0x543d04[_0x5324d3(0x2c4)])&&(this['resend'](),this['_resendTimeout']=_0x6a5501===0x0?0x3e8:_0x6a5501*0x2);}[_0x30c112(0x157)](){const _0x33d311=_0x30c112;var _0x566304;(_0x566304=this[_0x33d311(0xfe)])==null||_0x566304[_0x33d311(0x98)](),this[_0x33d311(0x298)]=0x0;}};me=$e([A(0x6,_0x1273b4(_0x3c8419)),A(0x7,_0x1273b4(_0x5239ac)),A(0x8,_0x1273b4(z)),A(0x9,_0x3364ad),A(0xa,_0x164f73),A(0xb,_0xf205f5),A(0xc,_0x603285)],me);let Re=class extends He{constructor(_0x1f888f,_0x479cf3,_0x26b535,_0x361022,_0x1f2925,_0x398d4c=!0x1,_0x18eb0c,_0xc67088,_0x4a9c1b,_0x324403,_0x3069f7,_0x52a7cf,_0x291906){const _0x76b8c0=_0x30c112;super(_0x1f888f,_0x479cf3,_0x26b535,_0x361022,_0x1f2925,_0xc67088,_0x4a9c1b,_0x3069f7,_0x324403),g(this,'status','conflict'),(this[_0x76b8c0(0xbd)]=_0x398d4c,this[_0x76b8c0(0x350)]=_0x18eb0c,this['_localeService']=_0x52a7cf,this[_0x76b8c0(0x473)]=_0x291906,this[_0x76b8c0(0x9e)](),this[_0x76b8c0(0x140)](),this[_0x76b8c0(0x214)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x30c112(0x287)](){return this;}['onRemoteRej'](){return this;}[_0x30c112(0x2f5)](){return this;}[_0x30c112(0xb1)](){return this;}[_0x30c112(0x487)](){return this;}[_0x30c112(0x29d)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x4cb1c3=_0x30c112;this[_0x4cb1c3(0x17a)][_0x4cb1c3(0x3d3)](this[_0x4cb1c3(0x499)],this[_0x4cb1c3(0x2a5)],null,[]);}[_0x30c112(0x9e)](){const _0x2986c4=_0x30c112;this['_isPermissionRej']?this[_0x2986c4(0x473)][_0x2986c4(0x3f0)]({'title':this[_0x2986c4(0x362)]['t'](_0x2986c4(0xa3)),'content':this['_localeService']['t'](_0x2986c4(0x2ce)),'type':_0x2986c4(0x3de),'duration':0x0}):this['_notificationService'][_0x2986c4(0x3f0)]({'title':this[_0x2986c4(0x362)]['t'](_0x2986c4(0x490)),'content':this[_0x2986c4(0x362)]['t'](_0x2986c4(0x2a4)),'type':_0x2986c4(0x3de),'duration':0x0});}[_0x30c112(0x214)](){const _0x2f904d=_0x30c112;this[_0x2f904d(0x350)]['updatePermissionPoint'](new _0x1acc3d(this['unitID'])['id'],!0x1);}};Re=$e([A(0x6,_0x1273b4(_0x4a5194)),A(0x7,_0x3364ad),A(0x8,_0x603285),A(0x9,_0x1273b4(z)),A(0xa,_0x1273b4(_0x5239ac)),A(0xb,_0x1273b4(_0x582404)),A(0xc,_0x45c7b7)],Re);let Oe=class extends He{constructor(_0x3a8216,_0x515339,_0x1a971a,_0x403c1b,_0x13dd5b,_0x162ef9,_0x7a380b,_0x24f4fc,_0x199e58,_0x15c4b4){const _0x366848=_0x30c112;super(_0x3a8216,_0x515339,_0x1a971a,_0x403c1b,_0x13dd5b,_0x199e58,_0x15c4b4,_0x7a380b,_0x24f4fc),g(this,_0x366848(0x463),'offline'),this[_0x366848(0x13e)]=_0x162ef9;}[_0x30c112(0x432)](_0x32f9eb){const _0x3c0bc8=_0x30c112;return this[_0x3c0bc8(0x131)][_0x3c0bc8(0xd6)](_0x32f9eb),this[_0x3c0bc8(0x11a)](),this;}['onRemoteChangeset'](_0x2d8c38){const _0x43f367=_0x30c112;throw new Error(_0x43f367(0x247));}[_0x30c112(0x287)](){const _0x532b00=_0x30c112;throw new Error(_0x532b00(0x454));}[_0x30c112(0xed)](){const _0x488e25=_0x30c112;throw new Error(_0x488e25(0x2f7));}[_0x30c112(0x2f5)](){return this;}[_0x30c112(0xb1)](){return this;}['toggleOnline'](){const _0x32f3c6=_0x30c112,{_injector:_0xe7687e,_pendingMutations:_0x2e00de,_awaitingChangeset:_0x5d59da,unitID:_0x52475c,_handler:_0x521d14,type:_0x2fbc8e}=this,_0x9c812d=Ji(_0xe7687e,_0x52475c,_0x2fbc8e,_0x5d59da,_0x2e00de,_0x521d14);return _0x9c812d instanceof pe?_0x9c812d['_schedule']():(_0x9c812d instanceof me||_0x9c812d instanceof Te)&&_0x9c812d[_0x32f3c6(0x29d)](),_0x9c812d;}[_0x30c112(0x29d)](){const _0x327c70=_0x30c112;throw new Error(_0x327c70(0x447));}};Oe=$e([A(0x5,_0x1273b4(_0x3c8419)),A(0x6,_0x1273b4(_0x5239ac)),A(0x7,_0x1273b4(z)),A(0x8,_0x3364ad),A(0x9,_0x603285)],Oe);let ce=class extends He{constructor(_0xb331e7,_0x27c322,_0x1a07f1,_0x199f48,_0x7fe97f,_0xc924cc,_0x1d03bc,_0x2d4882,_0x4094ae,_0x2f04f6,_0x14bdbf,_0x10d607,_0x17c671,_0x26919c){const _0x1cb1a2=_0x30c112;super(_0xb331e7,_0x27c322,_0x1a07f1,_0x199f48,_0x1d03bc,_0x10d607,_0x17c671,_0x4094ae,_0x2f04f6),g(this,_0x1cb1a2(0x463),_0x1cb1a2(0x351)),(this[_0x1cb1a2(0x455)]=_0x7fe97f,this[_0x1cb1a2(0x176)]=_0xc924cc,this[_0x1cb1a2(0x13e)]=_0x2d4882,this[_0x1cb1a2(0x123)]=_0x14bdbf,this[_0x1cb1a2(0x3b9)]=_0x26919c);}[_0x30c112(0xe3)](_0x76a472){const _0x202412=_0x30c112;try{const _0x54ad98=[..._0x76a472,...this[_0x202412(0x176)]],_0x191a33=[this[_0x202412(0x467)]||this[_0x202412(0x455)]][_0x202412(0x235)](_0x1b381e=>!!_0x1b381e);let _0x15689c,_0x63788e;if(_0x191a33['length']){const _0x2e6991=this[_0x202412(0x3b9)][_0x202412(0x380)](_0x54ad98,_0x191a33,!0x1);if(!_0x675846(_0x2e6991))throw _0x2e6991[_0x202412(0x3de)];_0x15689c=_0x2e6991[_0x202412(0x31c)],_0x63788e=_0x2e6991[_0x202412(0x212)];}else _0x15689c=_0x54ad98,_0x63788e=[];let _0x2874b3=this[_0x202412(0x131)];_0x15689c[_0x202412(0x241)](_0x59b369=>{const _0x39dcaa=_0x202412;let _0x40c4fa;if(_0x2874b3[_0x39dcaa(0xd3)]){const _0xe115ed=this[_0x39dcaa(0x3b9)][_0x39dcaa(0x334)](_0x59b369,_0x2874b3);if(!_0x12ed98(_0xe115ed))throw _0xe115ed['error'];_0x40c4fa=_0xe115ed[_0x39dcaa(0x31c)],_0x2874b3=_0xe115ed[_0x39dcaa(0x27d)];}else _0x40c4fa=_0x59b369;this[_0x39dcaa(0x27b)](_0x40c4fa);}),this[_0x202412(0x455)]&&this[_0x202412(0x48c)](),this[_0x202412(0x467)]&&_0x63788e[_0x202412(0xd3)]&&(_0x63788e[0x0][_0x202412(0x1cf)]=this['_getCurrentRevision']());let _0x1c1344;if(this['_awaitingChangeset']&&_0x2874b3[_0x202412(0xd3)]!==0x0)_0x1c1344=this[_0x202412(0x13e)][_0x202412(0x375)](me,this[_0x202412(0x499)],this['type'],_0x63788e[0x0],_0x2874b3,this[_0x202412(0x354)],void 0x0);else{if(this[_0x202412(0x467)]&&_0x2874b3[_0x202412(0xd3)]===0x0)_0x63788e[0x0]['baseRev']=this[_0x202412(0x281)](),_0x1c1344=this['_injector'][_0x202412(0x375)](Te,this['unitID'],this[_0x202412(0x2a5)],_0x63788e[0x0],this[_0x202412(0x354)]);else{if(_0x2874b3[_0x202412(0xd3)]!==0x0){const _0x56b125=this[_0x202412(0x13e)][_0x202412(0x375)](pe,this[_0x202412(0x499)],this[_0x202412(0x2a5)],_0x2874b3,this[_0x202412(0x354)]);_0x56b125[_0x202412(0x1b2)](),_0x1c1344=_0x56b125;}else _0x1c1344=this[_0x202412(0x13e)][_0x202412(0x375)](Fe,this[_0x202412(0x499)],this[_0x202412(0x2a5)],this[_0x202412(0x354)]);}}return _0x1c1344[_0x202412(0x11a)](),_0x1c1344;}catch(_0x241d72){return this[_0x202412(0x123)][_0x202412(0x3de)](_0x202412(0x3d8),_0x202412(0x2cd),_0x241d72),this[_0x202412(0x13e)][_0x202412(0x375)](Re,this[_0x202412(0x499)],this[_0x202412(0x2a5)],this['_awaitingChangeset'],this[_0x202412(0x131)],this[_0x202412(0x354)],!0x1);}}[_0x30c112(0x29d)](){const _0x477ba2=_0x30c112;throw new Error(_0x477ba2(0x1c8));}[_0x30c112(0x432)](_0x369f73){const _0x503ebd=_0x30c112;return this[_0x503ebd(0x131)][_0x503ebd(0xd6)](_0x369f73),this;}[_0x30c112(0x306)](_0x57ac31){const _0x254653=_0x30c112;return this[_0x254653(0x176)][_0x254653(0xd6)](_0x57ac31),this;}[_0x30c112(0x287)](_0x80420c){const _0x224fb0=_0x30c112;if(this[_0x224fb0(0x467)])return this[_0x224fb0(0x455)]=this[_0x224fb0(0x467)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x30c112(0xed)](_0x5f2f80){const _0x16cd4d=_0x30c112;return this[_0x16cd4d(0x151)](!!(_0x5f2f80!=null&&_0x5f2f80['isPermissionRej']));}[_0x30c112(0x2f5)](){return this;}[_0x30c112(0xb1)](){const _0x3a3926=_0x30c112;return this['_injector']['createInstance'](Oe,this[_0x3a3926(0x499)],this[_0x3a3926(0x2a5)],this[_0x3a3926(0x467)],this[_0x3a3926(0x131)],this['_handler']);}[_0x30c112(0x487)](){return this;}[_0x30c112(0x151)](_0x26c9f7){const _0x343cbb=_0x30c112;return this['_injector']['createInstance'](Re,this[_0x343cbb(0x499)],this[_0x343cbb(0x2a5)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x343cbb(0x354)],_0x26c9f7);}};ce=$e([A(0x7,_0x1273b4(_0x3c8419)),A(0x8,_0x1273b4(_0x5239ac)),A(0x9,_0x1273b4(z)),A(0xa,_0x164f73),A(0xb,_0x3364ad),A(0xc,_0x603285),A(0xd,_0xf205f5)],ce);function Ji(_0x3db452,_0x4c5955,_0x223c45,_0x4963d7,_0x13b566,_0x1bc1cb){const _0x13d9ba=_0x30c112;return _0x4963d7&&_0x13b566[_0x13d9ba(0xd3)]?_0x3db452[_0x13d9ba(0x375)](me,_0x4c5955,_0x223c45,_0x4963d7,_0x13b566,_0x1bc1cb,void 0x0):_0x4963d7?_0x3db452[_0x13d9ba(0x375)](Te,_0x4c5955,_0x223c45,_0x4963d7,_0x1bc1cb):_0x13b566['length']?_0x3db452[_0x13d9ba(0x375)](pe,_0x4c5955,_0x223c45,_0x13b566,_0x1bc1cb):_0x3db452[_0x13d9ba(0x375)](Fe,_0x4c5955,_0x223c45,_0x1bc1cb);}var Mo=Object[_0x30c112(0x28e)],xo=Object['getOwnPropertyDescriptor'],Ps=(_0x4fde11,_0x87395,_0x4894e3,_0x3dc6b4)=>{const _0x3d2eca=_0x30c112;for(var _0x384b12=_0x3dc6b4>0x1?void 0x0:_0x3dc6b4?xo(_0x87395,_0x4894e3):_0x87395,_0x4b5033=_0x4fde11[_0x3d2eca(0xd3)]-0x1,_0x109ee1;_0x4b5033>=0x0;_0x4b5033--)(_0x109ee1=_0x4fde11[_0x4b5033])&&(_0x384b12=(_0x3dc6b4?_0x109ee1(_0x87395,_0x4894e3,_0x384b12):_0x109ee1(_0x384b12))||_0x384b12);return _0x3dc6b4&&_0x384b12&&Mo(_0x87395,_0x4894e3,_0x384b12),_0x384b12;},H=(_0x26c18d,_0x139e5d)=>(_0xa29458,_0x278397)=>_0x139e5d(_0xa29458,_0x278397,_0x26c18d);let Nt=class extends _0x43d55d{constructor(_0x14a3e7,_0x1c05a8,_0x5a4c5c,_0xbee994,_0x1f2878,_0x59d000,_0x42f472,_0x1d42af,_0xa5c237,_0x45c8b3,_0x125220,_0x41c92d,_0x4eec32){const _0x1acc82=_0x30c112;super(),g(this,_0x1acc82(0x34a),new _0x15cd68(null)),g(this,_0x1acc82(0x21c),this[_0x1acc82(0x34a)][_0x1acc82(0x36c)]()),g(this,_0x1acc82(0x38d)),g(this,_0x1acc82(0x387),!0x1),g(this,_0x1acc82(0x386),''),g(this,_0x1acc82(0x2d8),0x0),g(this,_0x1acc82(0x2e9),this['state$'][_0x1acc82(0x27c)](_0x31e10f(_0x2c5738=>_0x2c5738?_0x2c5738['status']:J[_0x1acc82(0x371)]),_0x1ee9d9(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x1acc82(0x428),[]),(this[_0x1acc82(0x499)]=_0x14a3e7,this[_0x1acc82(0x1c7)]=_0x1c05a8,this[_0x1acc82(0x23b)]=_0x5a4c5c,this['_injector']=_0xbee994,this['_localCacheService']=_0x1f2878,this[_0x1acc82(0x1ad)]=_0x59d000,this[_0x1acc82(0x362)]=_0x42f472,this['_revisionService']=_0x1d42af,this[_0x1acc82(0x123)]=_0xa5c237,this[_0x1acc82(0x118)]=_0x45c8b3,this[_0x1acc82(0x1d2)]=_0x125220,this[_0x1acc82(0x350)]=_0x41c92d,this['_singleActiveUnitService']=_0x4eec32);}get[_0x30c112(0x430)](){const _0x3d602e=_0x30c112;return this[_0x3d602e(0x38d)];}async['init'](){const _0x3026ca=_0x30c112;if(this[_0x3026ca(0x430)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3026ca(0x38c)]();}[_0x30c112(0x441)](){const _0x12427a=_0x30c112;return this[_0x12427a(0x387)]=!0x0,_0x7e08d2(()=>{const _0x250e94=_0x12427a;this[_0x250e94(0x387)]=!0x1,this[_0x250e94(0x1f1)]();});}[_0x30c112(0xc0)](_0x2a3b4e){const _0x5526ab=_0x30c112;this[_0x5526ab(0x38d)]=_0x2a3b4e,this[_0x5526ab(0x34a)][_0x5526ab(0x26d)](_0x2a3b4e);}async[_0x30c112(0x38c)](){const _0x1c9025=_0x30c112;var _0x4b3dfa;this[_0x1c9025(0xc0)](await this[_0x1c9025(0x2cb)]()),this[_0x1c9025(0x161)]&&((_0x4b3dfa=this['_singleActiveUnitService'])==null||_0x4b3dfa['editingUnit'](this['unitID']),this[_0x1c9025(0x12b)](this[_0x1c9025(0x161)]['getUnitStatus$'](this[_0x1c9025(0x499)])[_0x1c9025(0x196)](_0x4c801d=>{const _0x642be9=_0x1c9025;this[_0x642be9(0x123)][_0x642be9(0x19b)]('[CollaborationEntity]',_0x642be9(0x20e),_0x4c801d),_0x4c801d===Ki[_0x642be9(0x2dd)]?(this[_0x642be9(0x1d2)][_0x642be9(0x3f0)]({'content':this[_0x642be9(0x362)]['t'](_0x642be9(0x284)),'type':_0x41d1f0['Warning']}),this[_0x642be9(0x350)][_0x642be9(0x242)](new _0x1acc3d(this['unitID'])['id'],!0x1),this[_0x642be9(0x350)][_0x642be9(0x9b)](!0x1)):(this[_0x642be9(0x350)][_0x642be9(0x242)](new _0x1acc3d(this[_0x642be9(0x499)])['id'],!0x0),this[_0x642be9(0x350)]['setShowComponents'](!0x0));})));let _0x2bc516=!0x1;return this[_0x1c9025(0x12b)](this[_0x1c9025(0x1c7)][_0x1c9025(0x28c)][_0x1c9025(0x196)](_0x33c4c6=>{const _0xe8f8c=_0x1c9025;_0x33c4c6===fe['ONLINE']?this[_0xe8f8c(0x24d)](_0x2bc516):_0x33c4c6===fe[_0xe8f8c(0x371)]&&(_0x2bc516=!0x0,this[_0xe8f8c(0x94)]());})),this['disposeWithMe'](this[_0x1c9025(0x1c7)][_0x1c9025(0x208)][_0x1c9025(0x196)](_0x4a8dbe=>{const _0xbc5c2e=_0x1c9025;try{switch(_0x4a8dbe['eventID']){case _0x1b96b7[_0xbc5c2e(0x3ae)]:{this[_0xbc5c2e(0x109)](_0x17330c(_0x4a8dbe[_0xbc5c2e(0x28d)]));break;}case _0x1b96b7[_0xbc5c2e(0x126)]:{this[_0xbc5c2e(0x446)](_0x4a8dbe['data']);break;}case _0x1b96b7['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x1b96b7['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x4a8dbe['data']);break;}case _0x1b96b7['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xbc5c2e(0x97)](_0x4a8dbe['data'][_0xbc5c2e(0xf8)][_0xbc5c2e(0x1a2)](_0x10ed95=>_0x17330c(_0x10ed95)));break;}case _0x1b96b7['PERMISSION_REJ']:this[_0xbc5c2e(0x21a)]({'isPermissionRej':!0x0});}}catch(_0x1887ef){throw console['error'](_0xbc5c2e(0x322),_0x1887ef),_0x1887ef;}})),this[_0x1c9025(0x38d)];}['_unlockTransition'](){const _0x46553d=_0x30c112;this[_0x46553d(0x15c)]=!0x1;}['_lockTransition'](){const _0x42ba6a=_0x30c112;if(this[_0x42ba6a(0x15c)])throw new Error(_0x42ba6a(0x3d7));this[_0x42ba6a(0x15c)]=!0x0;}['_onLocalMutation'](_0x12b4eb){const _0x3a2953=_0x30c112;this[_0x3a2953(0x23d)](),this[_0x3a2953(0xc0)](this[_0x3a2953(0x38d)][_0x3a2953(0x432)](_0x12b4eb)),this[_0x3a2953(0x494)]();}[_0x30c112(0x109)](_0x31c583){const _0x5b39c0=_0x30c112;if(!(_0x31c583[_0x5b39c0(0x1a3)]<=this[_0x5b39c0(0x2af)][_0x5b39c0(0x308)](this[_0x5b39c0(0x499)]))){if(this[_0x5b39c0(0x387)]){this[_0x5b39c0(0x428)][_0x5b39c0(0xd6)](_0x31c583);return;}this[_0x5b39c0(0x419)](_0x31c583);}}[_0x30c112(0x1f1)](){const _0x298830=_0x30c112;this['_remoteChangesetQueue'][_0x298830(0x241)](_0x37efed=>this[_0x298830(0x419)](_0x37efed)),this[_0x298830(0x428)]=[];}[_0x30c112(0x419)](_0x4b6ae9){const _0x40e54d=_0x30c112,_0x23afbd=this[_0x40e54d(0x1ad)][_0x40e54d(0x239)]['fetchThroughInterceptors'](this[_0x40e54d(0x1ad)][_0x40e54d(0x239)][_0x40e54d(0x84)]()[_0x40e54d(0xd0)])(_0x4b6ae9[_0x40e54d(0xa0)],null)||_0x4b6ae9['mutations'],_0x472637={..._0x4b6ae9,'mutations':_0x23afbd};this['_lockTransition'](),this['_updateState'](this['_state'][_0x40e54d(0x306)](_0x472637)),this[_0x40e54d(0x494)]();}[_0x30c112(0x446)](_0x5876fd){const _0x54dec0=_0x30c112;this[_0x54dec0(0x23d)](),this[_0x54dec0(0xc0)](this['_state']['onRemoteAck'](_0x5876fd)),this['_unlockTransition']();}[_0x30c112(0x21a)](_0x10be63){const _0x48a124=_0x30c112;this['_lockTransition'](),this[_0x48a124(0xc0)](this[_0x48a124(0x38d)][_0x48a124(0xed)](_0x10be63)),this[_0x48a124(0x494)]();}[_0x30c112(0x1ab)](_0x5ad465){const _0xdcc200=_0x30c112;this['_lockTransition'](),this['_updateState'](this[_0xdcc200(0x38d)][_0xdcc200(0x2f5)](_0x5ad465)),this['_unlockTransition']();}[_0x30c112(0x97)](_0x4f4092){const _0xafc032=_0x30c112;if(!(this['_state']instanceof ce))throw new TypeError(_0xafc032(0x106));const _0x37ef60=_0x4f4092[_0xafc032(0x1a2)](_0x49cab8=>{const _0x6d986a=_0xafc032,_0x57bc17=this['_compressMutationService'][_0x6d986a(0x239)][_0x6d986a(0x318)](this[_0x6d986a(0x1ad)][_0x6d986a(0x239)][_0x6d986a(0x84)]()[_0x6d986a(0xd0)])(_0x49cab8[_0x6d986a(0xa0)],null)||_0x49cab8[_0x6d986a(0xa0)];return{..._0x49cab8,'mutations':_0x57bc17};});this['_lockTransition'](),this[_0xafc032(0xc0)](this[_0xafc032(0x38d)][_0xafc032(0xe3)](_0x37ef60)),this['_unlockTransition']();}['_toggleOffline'](){const _0x150d43=_0x30c112;this[_0x150d43(0x23d)](),this[_0x150d43(0xc0)](this[_0x150d43(0x38d)][_0x150d43(0xb1)]()),this['_unlockTransition']();}[_0x30c112(0x24d)](_0x5c2b67=!0x1){const _0x115aa3=_0x30c112;this['_lockTransition'](),this['_updateState'](this[_0x115aa3(0x38d)][_0x115aa3(0x487)]()),this['_unlockTransition']();const _0x2ff62e=this[_0x115aa3(0x38d)];_0x5c2b67&&_0x2ff62e instanceof Fe&&(this[_0x115aa3(0x23d)](),this['_updateState'](_0x2ff62e[_0x115aa3(0x2dc)]()),this[_0x115aa3(0x494)]());}async[_0x30c112(0x2cb)](){return new Promise(_0x5f19da=>{const _0x3b896d=_0x2ebf;this['session'][_0x3b896d(0x28c)][_0x3b896d(0x27c)](_0x4828e4(0x1))[_0x3b896d(0x196)](async _0x3fb369=>{const _0x5cfe7b=_0x3b896d;_0x5f19da(await this[_0x5cfe7b(0x389)](_0x3fb369===fe[_0x5cfe7b(0x2f6)]));});});}[_0x30c112(0x202)](){const _0x36a795=_0x30c112,_0x1f5df1=this[_0x36a795(0x499)];return{'onStateChange':(_0x58e8d3,_0x554b70)=>{const _0x237152=_0x36a795;if(_0x58e8d3!==this[_0x237152(0x38d)])throw new Error(_0x237152(0x3ac)+_0x58e8d3[_0x237152(0x463)]+'\x0aAfter:\x20'+_0x554b70[_0x237152(0x463)]+_0x237152(0x1bf)+this[_0x237152(0x38d)][_0x237152(0x463)]);this['_updateState'](_0x554b70);},'onSendChangeset':_0x32ccb3=>{const _0x523e78=_0x36a795;_0x32ccb3['sid']||(_0x32ccb3[_0x523e78(0x47d)]=this['_changesetSessionId'],_0x32ccb3[_0x523e78(0x2c4)]=++this[_0x523e78(0x2d8)]);const _0xdaf06c={'eventID':_0x1b96b7[_0x523e78(0x211)],'data':{'unitID':_0x32ccb3[_0x523e78(0x499)],'unitType':this[_0x523e78(0x23b)],'changeset':_0x32ccb3,'memberID':this[_0x523e78(0x1c7)][_0x523e78(0x88)]()}};this['session'][_0x523e78(0x3ee)](_0xdaf06c,this['unitID']);},'onMissingChangesets':({from:_0x3b7e1e,to:_0x439549})=>{const _0x556818=_0x36a795;this[_0x556818(0x123)]['debug'](_0x556818(0x133),'fetching\x20missing\x20changesets\x20from\x20'+_0x3b7e1e+_0x556818(0x3e1)+_0x439549);const _0x33e30e={'eventID':_0x1b96b7[_0x556818(0x369)],'data':{'unitID':_0x1f5df1,'unitType':this[_0x556818(0x23b)],'from':_0x3b7e1e,'to':_0x439549}};this[_0x556818(0x1c7)]['send'](_0x33e30e,this['unitID']);}};}async[_0x30c112(0x389)](_0x3d9664){const _0x3df395=_0x30c112;var _0x193ef7,_0x11f9d8;const _0x30a868=await this[_0x3df395(0x17a)][_0x3df395(0x3db)](this[_0x3df395(0x499)]),_0x2679fa=(_0x193ef7=_0x30a868==null?void 0x0:_0x30a868[_0x3df395(0xa0)])!=null?_0x193ef7:[],_0x18ce41=(_0x11f9d8=_0x30a868==null?void 0x0:_0x30a868[_0x3df395(0x17c)])!=null?_0x11f9d8:null,_0x7e9f7b=!!(_0x18ce41!=null&&_0x18ce41[_0x3df395(0x47d)])&&!!(_0x18ce41!=null&&_0x18ce41[_0x3df395(0x2c4)]);this[_0x3df395(0x386)]=_0x7e9f7b?_0x18ce41[_0x3df395(0x47d)]:ho(),this[_0x3df395(0x2d8)]=_0x7e9f7b?_0x18ce41[_0x3df395(0x2c4)]:0x0;const _0xf4cb75=this[_0x3df395(0x499)];try{this['_replayCachedMutations'](_0x18ce41,_0x2679fa);}catch(_0x4dcc59){this[_0x3df395(0x123)][_0x3df395(0x3de)](_0x4dcc59);}const _0x528e40=this[_0x3df395(0x202)]();if(_0x3d9664){const _0x44262b=Ji(this[_0x3df395(0x13e)],_0xf4cb75,this[_0x3df395(0x23b)],_0x18ce41,_0x2679fa,_0x528e40);return _0x44262b instanceof pe?_0x44262b[_0x3df395(0x1b2)]():(_0x44262b instanceof me||_0x44262b instanceof Te)&&_0x44262b[_0x3df395(0x29d)](),_0x44262b;}return this[_0x3df395(0x13e)]['createInstance'](Oe,_0xf4cb75,this[_0x3df395(0x23b)],_0x18ce41,_0x2679fa,_0x528e40);}[_0x30c112(0x2c6)](_0x23f2da,_0xf213c8){const _0x116b25=_0x30c112;var _0x4f8ad8,_0x5bbfdc;const _0x38f366=this[_0x116b25(0x1ad)][_0x116b25(0x239)][_0x116b25(0x318)](this[_0x116b25(0x1ad)][_0x116b25(0x239)][_0x116b25(0x84)]()[_0x116b25(0xd0)]);(_0x4f8ad8=_0x38f366((_0x23f2da==null?void 0x0:_0x23f2da[_0x116b25(0xa0)])||[],null))==null||_0x4f8ad8['forEach'](_0x32a5fc=>this['_commandService'][_0x116b25(0x15e)](_0x32a5fc['id'],_0x32a5fc[_0x116b25(0x1d4)])),(_0x5bbfdc=_0x38f366(_0xf213c8||[],null))==null||_0x5bbfdc[_0x116b25(0x241)](_0x11fb8c=>this[_0x116b25(0x118)][_0x116b25(0x15e)](_0x11fb8c['id'],_0x11fb8c[_0x116b25(0x1d4)]));}};Nt=Ps([H(0x3,_0x1273b4(_0x3c8419)),H(0x4,_0x1273b4(z)),H(0x5,_0x1273b4(_0x401e2b)),H(0x6,_0x1273b4(_0x582404)),H(0x7,_0x1273b4(_0x5239ac)),H(0x8,_0x164f73),H(0x9,_0x3364ad),H(0xa,_0x56e1bc),H(0xb,_0x4a5194),H(0xc,_0xe30079(jt))],Nt);let ls=class extends Nt{constructor(_0x2c3107,_0x22afdb,_0x4258ec,_0x3ac9a9,_0x256f0c,_0x144e06,_0xe31bc2,_0x5c96a7,_0x4c8b0b,_0x5620af,_0x4974e8,_0x26941c,_0x418b59,_0x5de5b4,_0x533838,_0x16083c,_0x25cdb0,_0x26712e){const _0x9972da=_0x30c112;super(_0x2c3107,_0x4258ec,_0x22afdb,_0x3ac9a9,_0x256f0c,_0x144e06,_0xe31bc2,_0x5c96a7,_0x5de5b4,_0x533838,_0x16083c,_0x25cdb0,_0x26712e),this['unitID']=_0x2c3107,this[_0x9972da(0x2a5)]=_0x22afdb,this[_0x9972da(0xa9)]=_0x4c8b0b,this['_docTransformIMECacheService']=_0x5620af,this[_0x9972da(0x114)]=_0x4974e8,this[_0x9972da(0x35f)]=_0x26941c,this['_docSyncEditingCollabCursorService']=_0x418b59;}['_createHandler'](){const _0x57ac3a=_0x30c112,_0x195c1a=super[_0x57ac3a(0x202)]();return _0x195c1a['onTransformIME']=_0x57f0c6=>this[_0x57ac3a(0xcd)][_0x57ac3a(0xfd)](_0x57f0c6),_0x195c1a[_0x57ac3a(0x289)]=_0x2d52cb=>this[_0x57ac3a(0x114)][_0x57ac3a(0x1e5)](_0x2d52cb),_0x195c1a[_0x57ac3a(0x47b)]=_0x495198=>this[_0x57ac3a(0x35f)][_0x57ac3a(0x312)](_0x495198),_0x195c1a[_0x57ac3a(0x1f3)]=_0x1f4524=>this['_docSyncEditingCollabCursorService'][_0x57ac3a(0x407)](_0x1f4524),_0x195c1a['onTransformRemoteChangesetByIMECache']=_0x894ce2=>this[_0x57ac3a(0xcd)]['transformRemoteChangeset'](_0x894ce2),_0x195c1a[_0x57ac3a(0x1a1)]=_0x73b5d0=>this['_docTransformStateCacheService'][_0x57ac3a(0x1a5)](_0x73b5d0),_0x195c1a;}async[_0x30c112(0x38c)](){const _0x5d64b6=_0x30c112,_0x189d74=await super['_init']();return this[_0x5d64b6(0x12b)](this[_0x5d64b6(0xa9)][_0x5d64b6(0x3a8)][_0x5d64b6(0x27c)](_0x4d1973(this[_0x5d64b6(0x3e7)]))['subscribe'](_0x437456=>{const _0x2ce455=_0x5d64b6;if(_0x437456==null)return;const {unitId:_0x50bf9d,redoState:_0x413bef,commandId:_0x57a140}=_0x437456;if(_0x50bf9d!==this[_0x2ce455(0x499)])return;const _0x343cc4={'id':_0x57a140,'type':_0x2d21ee['MUTATION'],'params':{'unitId':_0x50bf9d,'actions':_0x413bef[_0x2ce455(0x365)],'textRanges':null}};this[_0x2ce455(0x372)](_0x343cc4);})),this[_0x5d64b6(0x12b)](this[_0x5d64b6(0x118)][_0x5d64b6(0x482)]((_0x18eb76,_0x517ed9)=>{const _0x106428=_0x5d64b6;if(_0x18eb76['type']!==_0x2d21ee[_0x106428(0x243)]||_0x517ed9!=null&&_0x517ed9[_0x106428(0x33a)]||_0x517ed9!=null&&_0x517ed9[_0x106428(0x3eb)]||_0x18eb76['id']===_0x34173f['id'])return;const _0x596a13=_0x18eb76['params'];if((_0x596a13==null?void 0x0:_0x596a13[_0x106428(0x2d3)])!==this['unitID'])return;const _0x32bf26=_0x18eb76,_0xfd9e35=this[_0x106428(0x1ad)][_0x106428(0x239)][_0x106428(0x318)](this[_0x106428(0x1ad)][_0x106428(0x239)][_0x106428(0x84)]()[_0x106428(0xaa)])([_0x32bf26],null)||[_0x32bf26];this[_0x106428(0x372)](_0xfd9e35[0x0]);})),_0x189d74;}};ls=Ps([H(0x3,_0x1273b4(_0x3c8419)),H(0x4,_0x1273b4(z)),H(0x5,_0x1273b4(_0x401e2b)),H(0x6,_0x1273b4(_0x582404)),H(0x7,_0x1273b4(_0x5239ac)),H(0x8,_0x1273b4(_0xd60329)),H(0x9,_0x1273b4(yt)),H(0xa,_0x1273b4(Dt)),H(0xb,_0x1273b4(Pt)),H(0xc,_0x1273b4(Ds)),H(0xd,_0x164f73),H(0xe,_0x3364ad),H(0xf,_0x56e1bc),H(0x10,_0x4a5194),H(0x11,_0xe30079(jt))],ls);let _s=class extends Nt{constructor(_0x1086ba,_0xd1345e,_0x49094c,_0x39d1cf,_0x315652,_0x1448de,_0x2bcaed,_0x3a388e,_0x34fa0b,_0x50d43c,_0xc8ae73,_0x4037b3,_0x2b29af,_0x24a96e){const _0x3520e0=_0x30c112;super(_0x1086ba,_0x49094c,_0xd1345e,_0x39d1cf,_0x315652,_0x1448de,_0x2bcaed,_0x3a388e,_0x50d43c,_0xc8ae73,_0x4037b3,_0x2b29af,_0x24a96e),this[_0x3520e0(0x499)]=_0x1086ba,this[_0x3520e0(0x2a5)]=_0xd1345e,this[_0x3520e0(0x20a)]=_0x34fa0b;}[_0x30c112(0x202)](){const _0x21114a=_0x30c112,_0x35a245=super['_createHandler']();return _0x35a245[_0x21114a(0x47b)]=_0x5ab643=>this['_sheetTransformSelectionsService']['transformSelections'](_0x5ab643),_0x35a245;}async[_0x30c112(0x38c)](){const _0x120363=_0x30c112,_0x1c46d0=await super[_0x120363(0x38c)]();return this['disposeWithMe'](this[_0x120363(0x118)][_0x120363(0x482)]((_0x534ada,_0x2aa8bb)=>{const _0x92c93=_0x120363;if(_0x534ada[_0x92c93(0x2a5)]!==_0x2d21ee[_0x92c93(0x243)]||_0x2aa8bb!=null&&_0x2aa8bb[_0x92c93(0x33a)]||_0x2aa8bb!=null&&_0x2aa8bb[_0x92c93(0x3eb)])return;const _0xb81743=_0x534ada['params'];if((_0xb81743==null?void 0x0:_0xb81743[_0x92c93(0x2d3)])!==this['unitID'])return;const _0x4bdb69=_0x534ada,_0x5d7b1f=this[_0x92c93(0x1ad)][_0x92c93(0x239)][_0x92c93(0x318)](this['_compressMutationService'][_0x92c93(0x239)][_0x92c93(0x84)]()[_0x92c93(0xaa)])([_0x4bdb69],null)||[_0x4bdb69];this[_0x92c93(0x372)](_0x5d7b1f[0x0]);})),_0x1c46d0;}};_s=Ps([H(0x3,_0x1273b4(_0x3c8419)),H(0x4,_0x1273b4(z)),H(0x5,_0x1273b4(_0x401e2b)),H(0x6,_0x1273b4(_0x582404)),H(0x7,_0x1273b4(_0x5239ac)),H(0x8,_0x1273b4(wt)),H(0x9,_0x164f73),H(0xa,_0x3364ad),H(0xb,_0x56e1bc),H(0xc,_0x4a5194),H(0xd,_0xe30079(jt))],_s);var Lo=Object['defineProperty'],$o=Object[_0x30c112(0x1e3)],Ho=(_0x1815cc,_0x2293ea,_0x2aa5e2,_0x160d4a)=>{const _0x4f18bf=_0x30c112;for(var _0x32607f=_0x160d4a>0x1?void 0x0:_0x160d4a?$o(_0x2293ea,_0x2aa5e2):_0x2293ea,_0x322717=_0x1815cc[_0x4f18bf(0xd3)]-0x1,_0x3b20b7;_0x322717>=0x0;_0x322717--)(_0x3b20b7=_0x1815cc[_0x322717])&&(_0x32607f=(_0x160d4a?_0x3b20b7(_0x2293ea,_0x2aa5e2,_0x32607f):_0x3b20b7(_0x32607f))||_0x32607f);return _0x160d4a&&_0x32607f&&Lo(_0x2293ea,_0x2aa5e2,_0x32607f),_0x32607f;},zt=(_0x29471b,_0x5e772c)=>(_0x568df9,_0x5f5037)=>_0x5e772c(_0x568df9,_0x5f5037,_0x29471b);let rt=class extends _0x43d55d{constructor(_0x131049,_0x52e016,_0xafaddc){const _0x1cede2=_0x30c112;super(),g(this,_0x1cede2(0x2a9),new Map()),g(this,_0x1cede2(0x95),new _0x58011a()),(this[_0x1cede2(0x13e)]=_0x131049,this['_collabSessionService']=_0x52e016,this[_0x1cede2(0x187)]=_0xafaddc,this['_init']());}[_0x30c112(0xc9)](){const _0x5c513d=_0x30c112;super[_0x5c513d(0xc9)](),this[_0x5c513d(0x2a9)][_0x5c513d(0x241)](_0x19d3bc=>_0x19d3bc[_0x5c513d(0xc9)]()),this['_entities']['clear']();}[_0x30c112(0x1ce)](_0x3aa911){const _0x5c63e2=_0x30c112;var _0x243598;return(_0x243598=this['_entities'][_0x5c63e2(0x3f6)](_0x3aa911))!=null?_0x243598:null;}['getCollabEntity$'](_0x1a310a){const _0x5d0438=_0x30c112,_0x5d846b=this[_0x5d0438(0x1ce)](_0x1a310a);return _0x5d846b?_0x4e4949(_0x5d846b):this[_0x5d0438(0x95)][_0x5d0438(0x27c)](_0x210123(_0x6585b4=>_0x6585b4[_0x5d0438(0x499)]===_0x1a310a));}[_0x30c112(0x38c)](){const _0x4b21e5=_0x30c112;this['_univerInstanceService'][_0x4b21e5(0xa1)](_0x11a8a2[_0x4b21e5(0x335)])[_0x4b21e5(0x27c)](_0x4d1973(this['dispose$']),_0x2cb4ed(0x10))['subscribe'](async _0x3d1b9e=>{const _0x2412c1=_0x4b21e5,_0x27d393=_0x3d1b9e[_0x2412c1(0x480)](),_0xac36c1=await this[_0x2412c1(0x42b)](_0x27d393,ae['UNIVER_SHEET']);this[_0x2412c1(0x2a9)][_0x2412c1(0x34b)](_0x27d393,_0xac36c1);}),this[_0x4b21e5(0x187)][_0x4b21e5(0xa1)](_0x11a8a2[_0x4b21e5(0x1d7)])['pipe'](_0x4d1973(this[_0x4b21e5(0x3e7)]),_0x2cb4ed(0x10))[_0x4b21e5(0x27c)](_0x210123(_0xa4d104=>!_0xa4d104[_0x4b21e5(0x480)]()[_0x4b21e5(0x2cf)]('__')))[_0x4b21e5(0x196)](async _0x4ab009=>{const _0x19285f=_0x4b21e5,_0x41039e=_0x4ab009['getUnitId'](),_0x4d34a9=await this[_0x19285f(0x42b)](_0x41039e,ae[_0x19285f(0x1d7)]);this['_entities'][_0x19285f(0x34b)](_0x41039e,_0x4d34a9);}),_0x3c419a(this[_0x4b21e5(0x187)][_0x4b21e5(0x2ad)](_0x11a8a2[_0x4b21e5(0x335)]),this[_0x4b21e5(0x187)][_0x4b21e5(0x2ad)](_0x11a8a2['UNIVER_DOC']))[_0x4b21e5(0x27c)](_0x4d1973(this[_0x4b21e5(0x3e7)]))['subscribe'](_0x15420c=>{const _0x94f7f0=_0x4b21e5,_0xde7210=_0x15420c[_0x94f7f0(0x480)](),_0x1bb60d=this[_0x94f7f0(0x2a9)][_0x94f7f0(0x3f6)](_0xde7210);_0x1bb60d&&(_0x1bb60d[_0x94f7f0(0xc9)](),this[_0x94f7f0(0x2a9)][_0x94f7f0(0x26a)](_0xde7210));});}async[_0x30c112(0x42b)](_0x371449,_0x4cb213){const _0x3f9a7c=_0x30c112,_0x173aca=await this[_0x3f9a7c(0x3b8)]['requireSession'](_0x371449),_0x1a4fda=this['_injector'][_0x3f9a7c(0x375)](this['_getCtorByUniverType'](_0x4cb213),_0x371449,_0x4cb213,_0x173aca);return await _0x1a4fda[_0x3f9a7c(0x427)](),this[_0x3f9a7c(0x95)]['next'](_0x1a4fda),_0x1a4fda;}[_0x30c112(0x370)](_0x43b431){const _0x2c4328=_0x30c112;switch(_0x43b431){case ae[_0x2c4328(0x1d7)]:return ls;case ae[_0x2c4328(0x335)]:return _s;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x43b431);}}};rt=Ho([zt(0x0,_0x1273b4(_0x3c8419)),zt(0x1,_0x1273b4(xe)),zt(0x2,_0x1d1a83)],rt);var jo=Object['defineProperty'],Bo=Object[_0x30c112(0x1e3)],ko=(_0x534059,_0x2f49a6,_0x4fbc71,_0x2bf4ce)=>{const _0x1dbfcb=_0x30c112;for(var _0x53d7d2=_0x2bf4ce>0x1?void 0x0:_0x2bf4ce?Bo(_0x2f49a6,_0x4fbc71):_0x2f49a6,_0x568757=_0x534059[_0x1dbfcb(0xd3)]-0x1,_0xc57682;_0x568757>=0x0;_0x568757--)(_0xc57682=_0x534059[_0x568757])&&(_0x53d7d2=(_0x2bf4ce?_0xc57682(_0x2f49a6,_0x4fbc71,_0x53d7d2):_0xc57682(_0x53d7d2))||_0x53d7d2);return _0x2bf4ce&&_0x53d7d2&&jo(_0x2f49a6,_0x4fbc71,_0x53d7d2),_0x53d7d2;},ti=(_0x4ccb7a,_0x431517)=>(_0x212ae0,_0x1dfce0)=>_0x431517(_0x212ae0,_0x1dfce0,_0x4ccb7a);let Ut=class extends _0x43d55d{constructor(_0x342bec,_0x256f86){const _0x70f9c4=_0x30c112;super(),this[_0x70f9c4(0x14d)]=_0x342bec,this[_0x70f9c4(0x3bf)]=_0x256f86,this[_0x70f9c4(0x38c)]();}[_0x30c112(0x38c)](){const _0x22e1e2=_0x30c112,_0x555f22=this;this['disposeWithMe'](this['_docClipboardService'][_0x22e1e2(0x230)]({'onBeforePasteImage':async _0x384fdd=>{const _0xc1d71e=_0x22e1e2,_0x114d32=await _0x555f22[_0xc1d71e(0x3bf)][_0xc1d71e(0x3b1)](_0x384fdd);return _0x114d32?{'source':_0x114d32['source'],'imageSourceType':_0x114d32['imageSourceType']}:null;}}));}};Ut=ko([ti(0x0,_0x41ae5b),ti(0x1,_0x4cbe92)],Ut);const si=[_0x30c112(0x2f3),_0x30c112(0x400),'verdancy600',_0x30c112(0x471),_0x30c112(0x185),_0x30c112(0x412)];class Ns extends _0x2ea306{constructor(){const _0x5a1cb8=_0x30c112;super(...arguments),g(this,_0x5a1cb8(0x38a),new Map()),g(this,_0x5a1cb8(0x339),0x0);}[_0x30c112(0x8c)](_0x1f322e){const _0x556d51=_0x30c112;if(this[_0x556d51(0x38a)][_0x556d51(0x120)](_0x1f322e))return this[_0x556d51(0x38a)]['get'](_0x1f322e);const _0x1482da=si[this[_0x556d51(0x339)]];return this[_0x556d51(0x339)]=(this['_colorIndex']+0x1)%si['length'],this['_assignedColors'][_0x556d51(0x34b)](_0x1f322e,_0x1482da),_0x1482da;}}var Wo=Object[_0x30c112(0x28e)],Fo=Object[_0x30c112(0x1e3)],Vo=(_0x17d9e4,_0x51dc1a,_0x3a932f,_0x3cb854)=>{const _0x516e61=_0x30c112;for(var _0x1c44c4=_0x3cb854>0x1?void 0x0:_0x3cb854?Fo(_0x51dc1a,_0x3a932f):_0x51dc1a,_0x20010a=_0x17d9e4[_0x516e61(0xd3)]-0x1,_0x4c8ba9;_0x20010a>=0x0;_0x20010a--)(_0x4c8ba9=_0x17d9e4[_0x20010a])&&(_0x1c44c4=(_0x3cb854?_0x4c8ba9(_0x51dc1a,_0x3a932f,_0x1c44c4):_0x4c8ba9(_0x1c44c4))||_0x1c44c4);return _0x3cb854&&_0x1c44c4&&Wo(_0x51dc1a,_0x3a932f,_0x1c44c4),_0x1c44c4;},we=(_0x1ba833,_0x60c8d6)=>(_0x378ded,_0x5af669)=>_0x60c8d6(_0x378ded,_0x5af669,_0x1ba833);const Go=0x12c,Yo=0x64;let us=class extends _0x43d55d{constructor(_0x27d0b7,_0x432e6d,_0x5daf08,_0x5203b6,_0x565f33,_0x1d022d,_0x392630,_0x47faf4,_0x52dde5){const _0x229b54=_0x30c112;super(),g(this,_0x229b54(0x248),!0x1),g(this,_0x229b54(0x38c),!0x1),g(this,'_cursorInfo$',new _0x15cd68(new Map())),g(this,_0x229b54(0x1fc),this[_0x229b54(0x99)][_0x229b54(0x36c)]()),g(this,'_roomMembers$',new _0x15cd68([])),g(this,_0x229b54(0xbe),this[_0x229b54(0x186)][_0x229b54(0x27c)](_0x12f726(Go))),g(this,_0x229b54(0x89),_0x1f48d8(_0x3b9de8=>{const _0xdb0a70=_0x229b54,_0x347573={'eventID':_0x1b96b7[_0xdb0a70(0x18f)],'data':{'unitID':this['unitID'],'memberID':this[_0xdb0a70(0x39c)][_0xdb0a70(0x88)](),'selection':qi(_0x3b9de8)}};this['_session']['send'](_0x347573,this[_0xdb0a70(0x499)]);},Yo)),(this[_0x229b54(0x499)]=_0x27d0b7,this[_0x229b54(0x39c)]=_0x432e6d,this[_0x229b54(0x13e)]=_0x5daf08,this[_0x229b54(0x316)]=_0x5203b6,this[_0x229b54(0x294)]=_0x565f33,this[_0x229b54(0x1ef)]=_0x1d022d,this['_transformService']=_0x392630,this['_univerInstanceService']=_0x47faf4,this[_0x229b54(0x118)]=_0x52dde5);}get[_0x30c112(0xf3)](){const _0x19f7e4=_0x30c112;return this[_0x19f7e4(0x99)][_0x19f7e4(0x3af)]();}get[_0x30c112(0x422)](){const _0x4ac8ca=_0x30c112;return this[_0x4ac8ca(0x186)][_0x4ac8ca(0x3af)]();}['dispose'](){const _0x11e493=_0x30c112;super[_0x11e493(0xc9)](),this[_0x11e493(0x99)][_0x11e493(0x26d)](new Map()),this[_0x11e493(0x99)][_0x11e493(0x2e0)](),this[_0x11e493(0x186)][_0x11e493(0x26d)]([]),this['_roomMembers$'][_0x11e493(0x2e0)]();}[_0x30c112(0x427)](){const _0x6dbcdc=_0x30c112;this[_0x6dbcdc(0x38c)]||(this[_0x6dbcdc(0x38c)]=!0x0,this['_session'][_0x6dbcdc(0x28c)][_0x6dbcdc(0x27c)](_0x4d1973(this[_0x6dbcdc(0x3e7)]))[_0x6dbcdc(0x196)](_0x4cc814=>{const _0x5d09fe=_0x6dbcdc;_0x4cc814===fe[_0x5d09fe(0x2f6)]?this[_0x5d09fe(0x24d)]():this[_0x5d09fe(0x94)]();}),this[_0x6dbcdc(0x39c)][_0x6dbcdc(0x208)]['pipe'](_0x4d1973(this[_0x6dbcdc(0x3e7)]))['subscribe'](_0x49ccde=>{const _0x22ead5=_0x6dbcdc,_0x1e0270=_0x49ccde['eventID'];_0x1e0270===_0x1b96b7[_0x22ead5(0x18f)]&&this[_0x22ead5(0x35a)](_0x49ccde),_0x1e0270===_0x1b96b7[_0x22ead5(0xf4)]&&this['_onCursorDelete'](_0x49ccde);}),this['disposeWithMe'](this[_0x6dbcdc(0x118)]['onCommandExecuted'](_0x3d28d0=>{const _0x554a58=_0x6dbcdc,_0x28905f=_0x3d28d0[_0x554a58(0x1d4)];_0x28905f!=null&&this[_0x554a58(0x248)]&&_0x3d28d0['id']===_0x29a654['id']&&_0x28905f['unitId']===this[_0x554a58(0x499)]&&_0x28905f[_0x554a58(0x31b)]===!0x1&&_0x28905f[_0x554a58(0xbf)]['length']>0x0&&this[_0x554a58(0x89)](_0x28905f[_0x554a58(0xbf)]);})),this[_0x6dbcdc(0x1ef)][_0x6dbcdc(0x3aa)]['pipe'](_0x4d1973(this['dispose$']))['subscribe'](_0x58de33=>{const _0x1e9129=_0x6dbcdc;if((_0x58de33==null?void 0x0:_0x58de33[_0x1e9129(0x499)])!==this[_0x1e9129(0x499)])return;const _0x40c2e6={'eventID':_0x1b96b7['UPDATE_CURSOR'],'data':_0x58de33};this[_0x1e9129(0x35a)](_0x40c2e6);}),this[_0x6dbcdc(0x12b)](this[_0x6dbcdc(0x118)][_0x6dbcdc(0x482)](_0x1b091d=>{const _0x15b980=_0x6dbcdc;if(_0x1b091d[_0x15b980(0x1d4)]==null)return;const _0x58ec6f=_0x1b091d['params'];if(_0x1b091d['id']!==_0x34173f['id']||_0x58ec6f['unitId']!==this['unitID'])return;const _0x1f88eb={'id':_0x15b980(0x285),'params':_0x58ec6f},_0x337a40=this[_0x15b980(0xf3)];for(const [_0x5ae3dd,_0x3e4aa3]of _0x337a40){const _0x3df6fa={'id':_0x15b980(0x285),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3e4aa3[_0x15b980(0xbf)]}},_0x3e6528=this['_transformService']['transformMutation'](_0x1f88eb,_0x3df6fa,!0x1);if(_0x33b0d8(_0x3e6528))throw _0x3e6528[_0x15b980(0x3de)];_0x337a40[_0x15b980(0x34b)](_0x5ae3dd,{..._0x3e4aa3,'ranges':_0x3e6528[_0x15b980(0x27d)][_0x15b980(0x1d4)][_0x15b980(0x310)]});}queueMicrotask(()=>{const _0x48bab0=_0x15b980;this[_0x48bab0(0x99)][_0x48bab0(0x26d)](_0x337a40);});})));}['_onCursorUpdate'](_0x4f3879){const _0x489f8b=_0x30c112;var _0xa1e9c0,_0x231b0c;const {memberID:_0x519c5e,selection:_0x477bfd}=_0x4f3879[_0x489f8b(0x28d)],_0x4fd0dc=Ro(_0x477bfd),_0x23cc59=(_0x231b0c=(_0xa1e9c0=this[_0x489f8b(0x294)][_0x489f8b(0x226)](this[_0x489f8b(0x499)],_0x519c5e))==null?void 0x0:_0xa1e9c0[_0x489f8b(0x3ab)])!=null?_0x231b0c:_0x489f8b(0x266),_0x2dd74c={'color':this[_0x489f8b(0x316)][_0x489f8b(0x8c)](_0x519c5e),'name':_0x23cc59,'ranges':_0x4fd0dc},_0x2433a2=this[_0x489f8b(0xf3)];_0x2433a2['set'](_0x519c5e,_0x2dd74c),this[_0x489f8b(0x99)][_0x489f8b(0x26d)](_0x2433a2);}['_onCursorDelete'](_0x428e6d){const _0x45896c=_0x30c112,{memberID:_0x2c55cc}=_0x428e6d[_0x45896c(0x28d)],_0x355ccd=this[_0x45896c(0xf3)];_0x355ccd[_0x45896c(0x26a)](_0x2c55cc),this['_cursorInfo$'][_0x45896c(0x26d)](_0x355ccd);}[_0x30c112(0x24d)](){const _0x47e05a=_0x30c112;var _0x44e934;if(this[_0x47e05a(0x248)]=!0x0,((_0x44e934=this[_0x47e05a(0x187)][_0x47e05a(0x142)]())==null?void 0x0:_0x44e934[_0x47e05a(0x480)]())!==this['unitID'])return;const _0xd8477a=this['_injector'][_0x47e05a(0x3f6)](_0x4cb2f3)[_0x47e05a(0xa6)]();Array[_0x47e05a(0x1f7)](_0xd8477a)&&_0xd8477a[_0x47e05a(0xd3)]>0x0&&this[_0x47e05a(0x89)](_0xd8477a);}[_0x30c112(0x94)](){const _0x4b4ca5=_0x30c112;this[_0x4b4ca5(0x248)]=!0x1;}};us=Vo([we(0x2,_0x1273b4(_0x3c8419)),we(0x3,_0x1273b4(Ns)),we(0x4,_0x1273b4(Me)),we(0x5,_0x1273b4(Ds)),we(0x6,_0xf205f5),we(0x7,_0x1d1a83),we(0x8,_0x3364ad)],us);var Ko=Object[_0x30c112(0x28e)],qo=Object[_0x30c112(0x1e3)],zo=(_0x16d782,_0x454e7f,_0x4a80a9,_0x21e5a4)=>{const _0x4878a6=_0x30c112;for(var _0x43f32d=_0x21e5a4>0x1?void 0x0:_0x21e5a4?qo(_0x454e7f,_0x4a80a9):_0x454e7f,_0x2c5c48=_0x16d782[_0x4878a6(0xd3)]-0x1,_0x5811be;_0x2c5c48>=0x0;_0x2c5c48--)(_0x5811be=_0x16d782[_0x2c5c48])&&(_0x43f32d=(_0x21e5a4?_0x5811be(_0x454e7f,_0x4a80a9,_0x43f32d):_0x5811be(_0x43f32d))||_0x43f32d);return _0x21e5a4&&_0x43f32d&&Ko(_0x454e7f,_0x4a80a9,_0x43f32d),_0x43f32d;},Be=(_0x3cb887,_0x24eacc)=>(_0x4fefe2,_0x221f5f)=>_0x24eacc(_0x4fefe2,_0x221f5f,_0x3cb887);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0xc9a6a3=[],_0x2c0179=!0x1;return _0x46dbd1=>{const _0x1ebac4=_0x2ebf;_0xc9a6a3[_0x1ebac4(0xd6)](_0x46dbd1),_0x2c0179||(_0x2c0179=!0x0,setTimeout(()=>{const _0x168d78=_0x1ebac4;_0xc9a6a3[_0x168d78(0x241)](_0x3e2a5a=>_0x3e2a5a()),_0xc9a6a3=[],_0x2c0179=!0x1;}));};};let ds=class extends _0x43d55d{constructor(_0x3e9b54,_0x57c64f,_0xc4ce62,_0x5926ff,_0x3cfce3,_0x28e9b8,_0x4ee842,_0x2678fc){const _0x22a1f9=_0x30c112;super(),g(this,_0x22a1f9(0x248),!0x1),g(this,_0x22a1f9(0x38c),!0x1),g(this,_0x22a1f9(0x99),new _0x15cd68(new Map())),g(this,_0x22a1f9(0x1fc),this[_0x22a1f9(0x99)]['asObservable']()),g(this,_0x22a1f9(0x186),new _0x15cd68([])),g(this,_0x22a1f9(0xbe),this[_0x22a1f9(0x186)][_0x22a1f9(0x27c)](_0x12f726(Xo))),g(this,_0x22a1f9(0x89),_0x1f48d8((_0x222bfa,_0x503a05)=>{const _0x1ecba1=_0x22a1f9,_0x3a0692={'eventID':_0x1b96b7[_0x1ecba1(0x18f)],'data':{'unitID':this[_0x1ecba1(0x499)],'memberID':this[_0x1ecba1(0x39c)]['getMemberID'](),'selection':_0x1e9fee(_0x222bfa,_0x503a05[_0x1ecba1(0xe5)])}};this['_session']['send'](_0x3a0692,this[_0x1ecba1(0x499)]);},Jo)),(this['unitID']=_0x3e9b54,this['_session']=_0x57c64f,this['_injector']=_0xc4ce62,this[_0x22a1f9(0x316)]=_0x5926ff,this[_0x22a1f9(0x294)]=_0x3cfce3,this[_0x22a1f9(0x187)]=_0x28e9b8,this['_commandService']=_0x4ee842,this[_0x22a1f9(0x2d7)]=_0x2678fc);}get[_0x30c112(0xf3)](){const _0x474131=_0x30c112;return this[_0x474131(0x99)]['getValue']();}get['roomMembers'](){const _0x5532a1=_0x30c112;return this[_0x5532a1(0x186)][_0x5532a1(0x3af)]();}[_0x30c112(0xc9)](){const _0x27fd5d=_0x30c112;super[_0x27fd5d(0xc9)](),this[_0x27fd5d(0x99)]['next'](new Map()),this[_0x27fd5d(0x99)][_0x27fd5d(0x2e0)](),this[_0x27fd5d(0x186)][_0x27fd5d(0x26d)]([]),this[_0x27fd5d(0x186)][_0x27fd5d(0x2e0)]();}[_0x30c112(0x427)](){const _0x2fe6f6=_0x30c112;this[_0x2fe6f6(0x38c)]||(this['_init']=!0x0,this[_0x2fe6f6(0x39c)][_0x2fe6f6(0x28c)][_0x2fe6f6(0x27c)](_0x4d1973(this['dispose$']))[_0x2fe6f6(0x196)](_0x3f5e97=>{const _0x143084=_0x2fe6f6;_0x3f5e97===fe[_0x143084(0x2f6)]?this[_0x143084(0x24d)]():this[_0x143084(0x94)]();}),this[_0x2fe6f6(0x39c)]['event$']['pipe'](_0x4d1973(this[_0x2fe6f6(0x3e7)]))['subscribe'](_0x538a3c=>{const _0x240c5f=_0x2fe6f6,_0x2f4bd2=_0x538a3c['eventID'];_0x2f4bd2===_0x1b96b7[_0x240c5f(0x18f)]&&this[_0x240c5f(0x35a)](_0x538a3c),_0x2f4bd2===_0x1b96b7['USERS_LEAVE']&&this[_0x240c5f(0x3b5)](_0x538a3c);}),this[_0x2fe6f6(0x442)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x428059=>{const _0x2213c0=_0x2fe6f6;if(this[_0x2213c0(0x248)]&&_0x428059['id']===_0x2d1427['id']&&_0x428059['params']['unitId']===this[_0x2213c0(0x499)]){const _0xaae510=_0x428059[_0x2213c0(0x1d4)];this['_updateLocalCursor'](_0xaae510['subUnitId'],_0xaae510[_0x2213c0(0x357)][0x0]);}})));}[_0x30c112(0x35a)](_0x37229c){const _0x7875ba=_0x30c112;var _0x324154,_0xfe30e;const {memberID:_0xe199f7,selection:_0x4853c4}=_0x37229c[_0x7875ba(0x28d)],{sheetName:_0x2fb49d,range:_0x61f2bf}=_0x11dba6(_0x4853c4),_0x52ed2f={'name':(_0xfe30e=(_0x324154=this[_0x7875ba(0x294)]['getMember'](this[_0x7875ba(0x499)],_0xe199f7))==null?void 0x0:_0x324154[_0x7875ba(0x3ab)])!=null?_0xfe30e:_0x7875ba(0x266),'range':this[_0x7875ba(0xbb)](_0x2fb49d,_0x61f2bf),'sheetID':_0x2fb49d,'color':this[_0x7875ba(0x316)][_0x7875ba(0x8c)](_0xe199f7),'selection':_0x4853c4},_0x1732ac=this[_0x7875ba(0xf3)];_0x1732ac['set'](_0xe199f7,_0x52ed2f),this['_cursorInfo$'][_0x7875ba(0x26d)](_0x1732ac);}[_0x30c112(0x3b5)](_0xd8d768){const _0x241655=_0x30c112,{memberID:_0x427b5e}=_0xd8d768[_0x241655(0x28d)],_0x5ced1b=this[_0x241655(0xf3)];_0x5ced1b[_0x241655(0x26a)](_0x427b5e),this['_cursorInfo$'][_0x241655(0x26d)](_0x5ced1b);}[_0x30c112(0xbb)](_0x9ce5b0,_0x82da64){const _0x41a492=_0x30c112;var _0x2f2622,_0x16f13f;const _0x217693=(_0x16f13f=(_0x2f2622=this[_0x41a492(0x187)][_0x41a492(0x2f4)](this[_0x41a492(0x499)]))==null?void 0x0:_0x2f2622['getSheetBySheetId'](_0x9ce5b0))==null?void 0x0:_0x16f13f[_0x41a492(0x405)]();return(_0x217693==null?void 0x0:_0x217693[_0x41a492(0x1a9)](_0x11abfe=>_0x2a8e41[_0x41a492(0x2be)](_0x11abfe,_0x82da64)))||_0x82da64;}[_0x30c112(0x442)](){const _0x3d15b2=_0x30c112,_0x38359e=new _0x1978af(),_0x34d201=Zo(),_0x50f0be=()=>{const _0x439f2f=_0x2ebf;_0x38359e['dispose']();const _0x289099=(_0x3311dc,_0x5082c7,_0x35e0bf,_0x556e7c)=>{const _0x21007b=_0x2ebf;let _0x1eaf2d=[];switch(_0x3311dc['id']){case _0x1c676e[_0x21007b(0x22c)]:{_0x1eaf2d=_0xf9f43c(_0x3311dc,_0x556e7c);break;}case _0x1c676e['DeleteRangeMoveUpCommandId']:{_0x1eaf2d=_0x3d5f70(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0x313)]:{_0x1eaf2d=_0x33c079(_0x3311dc,_0x556e7c);break;}case _0x1c676e['InsertRangeMoveDownCommandId']:{_0x1eaf2d=_0x523489(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0xcc)]:{_0x1eaf2d=_0xc9ce6c(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0x36d)]:{_0x1eaf2d=_0x4b2bf2(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0x3c6)]:{_0x1eaf2d=_0x3ce231(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0xc8)]:{_0x1eaf2d=_0x3ee756(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0xb0)]:{_0x1eaf2d=_0x4920d8(_0x3311dc,_0x556e7c);break;}}const _0x123bf9=_0x3302a3(_0x1eaf2d,_0x556e7c),_0x5dcd0f=this[_0x21007b(0xf3)][_0x21007b(0x3f6)](_0x5082c7);if(_0x5dcd0f&&_0x123bf9){const _0x2c54f7={..._0x5dcd0f,'range':_0x123bf9};this[_0x21007b(0xf3)][_0x21007b(0x34b)](_0x5082c7,_0x2c54f7),_0x34d201(()=>{const _0x392b71=_0x21007b,_0x48463d=this[_0x392b71(0x2d7)][_0x392b71(0x336)](_0x123bf9,_0x45f472=>(_0x48463d['dispose'](),_0x289099(_0x45f472,_0x5082c7,_0x35e0bf,_0x123bf9)));_0x38359e['add'](_0x48463d);});}return{'redos':[],'undos':[]};};this[_0x439f2f(0xf3)][_0x439f2f(0x241)]((_0x13dc39,_0x126a4a)=>{const _0xdf840=_0x439f2f,{range:_0x231e2e,sheetID:_0x18275a}=_0x13dc39,_0x1cf3fd=this[_0xdf840(0x2d7)]['registerRefRange'](_0x231e2e,_0x5273a0=>(_0x1cf3fd[_0xdf840(0xc9)](),_0x289099(_0x5273a0,_0x126a4a,_0x18275a,_0x231e2e)));_0x38359e[_0xdf840(0x1c0)](_0x1cf3fd);});};this[_0x3d15b2(0x12b)](_0x7e08d2(this[_0x3d15b2(0x99)]['subscribe'](()=>{_0x50f0be();})));}[_0x30c112(0x24d)](){const _0x12ab27=_0x30c112;var _0x458594,_0x37e9a3;if(this[_0x12ab27(0x248)]=!0x0,((_0x458594=this['_univerInstanceService'][_0x12ab27(0x142)]())==null?void 0x0:_0x458594[_0x12ab27(0x480)]())!==this[_0x12ab27(0x499)])return;const _0x412c37=(_0x37e9a3=this['_injector']['get'](_0x2bf4e8)[_0x12ab27(0x457)]())==null?void 0x0:_0x37e9a3[0x0],_0x4f6803=this[_0x12ab27(0x187)][_0x12ab27(0x34f)](_0x11a8a2[_0x12ab27(0x335)])[_0x12ab27(0x416)]();_0x412c37&&_0x4f6803&&this['_updateLocalCursor'](_0x4f6803[_0x12ab27(0x396)](),_0x412c37);}[_0x30c112(0x94)](){this['_online']=!0x1;}};ds=zo([Be(0x2,_0x1273b4(_0x3c8419)),Be(0x3,_0x1273b4(Ns)),Be(0x4,_0x1273b4(Me)),Be(0x5,_0x1d1a83),Be(0x6,_0x3364ad),Be(0x7,_0x1273b4(_0x2902d3))],ds);var Qo=Object[_0x30c112(0x28e)],ea=Object[_0x30c112(0x1e3)],ta=(_0x2673e6,_0x3be680,_0x23ee41,_0x1dbd35)=>{const _0x37cbc3=_0x30c112;for(var _0x3373c9=_0x1dbd35>0x1?void 0x0:_0x1dbd35?ea(_0x3be680,_0x23ee41):_0x3be680,_0x498057=_0x2673e6[_0x37cbc3(0xd3)]-0x1,_0x232fbc;_0x498057>=0x0;_0x498057--)(_0x232fbc=_0x2673e6[_0x498057])&&(_0x3373c9=(_0x1dbd35?_0x232fbc(_0x3be680,_0x23ee41,_0x3373c9):_0x232fbc(_0x3373c9))||_0x3373c9);return _0x1dbd35&&_0x3373c9&&Qo(_0x3be680,_0x23ee41,_0x3373c9),_0x3373c9;},Xt=(_0x4cb0b8,_0x1c9f7c)=>(_0x3b4ffb,_0x5147a7)=>_0x1c9f7c(_0x3b4ffb,_0x5147a7,_0x4cb0b8);let Ve=class extends _0x43d55d{constructor(_0x3fa5d1,_0xdc86f7,_0xd8ab6f){const _0x57d7ff=_0x30c112;super(),g(this,_0x57d7ff(0x2a9),new Map()),g(this,'_entityInit$',new _0x58011a()),(this[_0x57d7ff(0x187)]=_0x3fa5d1,this[_0x57d7ff(0x13e)]=_0xdc86f7,this[_0x57d7ff(0x3b8)]=_0xd8ab6f,this[_0x57d7ff(0x38c)]());}[_0x30c112(0xc9)](){const _0x116900=_0x30c112;super[_0x116900(0xc9)](),this[_0x116900(0x95)][_0x116900(0x2e0)](),this[_0x116900(0x2a9)]['forEach'](_0x575f74=>_0x575f74[_0x116900(0xc9)]());}[_0x30c112(0x346)](_0x3063b6){const _0x1469df=_0x30c112;return this[_0x1469df(0x2a9)][_0x1469df(0x120)](_0x3063b6)?this[_0x1469df(0x2a9)][_0x1469df(0x3f6)](_0x3063b6)[_0x1469df(0x1fc)]:this['_entityInit$']['pipe'](_0x52ffaa(_0x4593fb=>_0x4593fb[_0x1469df(0x499)]===_0x3063b6),_0x387fda(_0x1b4a3e=>_0x1b4a3e[_0x1469df(0x1fc)]));}['_init'](){const _0x3ee944=_0x30c112;this[_0x3ee944(0x187)]['getTypeOfUnitAdded$'](_0x11a8a2[_0x3ee944(0x335)])[_0x3ee944(0x27c)](_0x4d1973(this[_0x3ee944(0x3e7)]))[_0x3ee944(0x196)](async _0x558786=>{const _0x1bb98c=_0x3ee944,_0x29d8cc=_0x558786[_0x1bb98c(0x480)](),_0x3db261=await this['_startSheetCollabCursor'](_0x29d8cc);this[_0x1bb98c(0x95)]['next'](_0x3db261),this[_0x1bb98c(0x2a9)][_0x1bb98c(0x34b)](_0x29d8cc,_0x3db261);}),this['_univerInstanceService'][_0x3ee944(0xa1)](_0x11a8a2[_0x3ee944(0x1d7)])['pipe'](_0x4d1973(this[_0x3ee944(0x3e7)]))[_0x3ee944(0x27c)](_0x52ffaa(_0x50b84a=>!_0x50b84a['getUnitId']()[_0x3ee944(0x2cf)]('__')))['subscribe'](async _0x42d75e=>{const _0xa070ac=_0x3ee944,_0x1ea2c3=_0x42d75e[_0xa070ac(0x480)](),_0x903a6f=await this[_0xa070ac(0x42a)](_0x1ea2c3);this[_0xa070ac(0x95)]['next'](_0x903a6f),this[_0xa070ac(0x2a9)]['set'](_0x1ea2c3,_0x903a6f);}),_0x3c419a(this[_0x3ee944(0x187)][_0x3ee944(0x2ad)](_0x11a8a2[_0x3ee944(0x1d7)]),this[_0x3ee944(0x187)][_0x3ee944(0x2ad)](_0x11a8a2['UNIVER_SHEET']))['pipe'](_0x4d1973(this['dispose$']))[_0x3ee944(0x196)](_0x4a99e0=>{const _0x2bb22f=_0x3ee944,_0x45fcae=_0x4a99e0[_0x2bb22f(0x480)](),_0x15299f=this[_0x2bb22f(0x2a9)][_0x2bb22f(0x3f6)](_0x45fcae);_0x15299f&&(_0x15299f['dispose'](),this[_0x2bb22f(0x2a9)][_0x2bb22f(0x26a)](_0x45fcae));});}async[_0x30c112(0x25a)](_0x4d8f21){const _0x443618=_0x30c112,_0x4fc224=await this[_0x443618(0x3b8)][_0x443618(0x288)](_0x4d8f21),_0x21fdfd=this[_0x443618(0x13e)][_0x443618(0x375)](ds,_0x4d8f21,_0x4fc224);return _0x21fdfd[_0x443618(0x427)](),_0x21fdfd;}async[_0x30c112(0x42a)](_0x45082e){const _0xb9bbbe=_0x30c112,_0x4f2d77=await this[_0xb9bbbe(0x3b8)][_0xb9bbbe(0x288)](_0x45082e),_0x196bf7=this['_injector'][_0xb9bbbe(0x375)](us,_0x45082e,_0x4f2d77);return _0x196bf7['init'](),_0x196bf7;}};Ve=ta([Xt(0x0,_0x1d1a83),Xt(0x1,_0x1273b4(_0x3c8419)),Xt(0x2,_0x1273b4(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x3f5c6c,_0x438741){const _0x331973=_0x30c112;let {radius:_0x2a1dba,width:_0x3c8259,height:_0x41a95f}=_0x438741;_0x2a1dba=_0x2a1dba!=null?_0x2a1dba:0x0,_0x3c8259=_0x3c8259!=null?_0x3c8259:0x1e,_0x41a95f=_0x41a95f!=null?_0x41a95f:0x1e;let _0x57a31f=0x0,_0xdb32c4=0x0,_0xd635cc=0x0;_0x57a31f=_0xdb32c4=_0xd635cc=Math[_0x331973(0x275)](_0x2a1dba,_0x3c8259/0x2,_0x41a95f/0x2),_0x3f5c6c['beginPath'](),_0x3f5c6c['moveTo'](_0x57a31f,0x0),_0x3f5c6c['lineTo'](_0x3c8259-_0xdb32c4,0x0),_0x3f5c6c[_0x331973(0x16f)](_0x3c8259-_0xdb32c4,_0xdb32c4,_0xdb32c4,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f5c6c['lineTo'](_0x3c8259,_0x41a95f-_0xd635cc),_0x3f5c6c[_0x331973(0x16f)](_0x3c8259-_0xd635cc,_0x41a95f-_0xd635cc,_0xd635cc,0x0,Math['PI']/0x2,!0x1),_0x3f5c6c['lineTo'](0x0,_0x41a95f),_0x3f5c6c[_0x331973(0x24e)](0x0,_0x57a31f),_0x3f5c6c[_0x331973(0x16f)](_0x57a31f,_0x57a31f,_0x57a31f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f5c6c['closePath'](),_0x438741[_0x331973(0x24b)]&&(_0x3f5c6c['save'](),_0x3f5c6c['fillStyle']=_0x438741[_0x331973(0x24b)],_0x438741['fillRule']===_0x331973(0x481)?_0x3f5c6c[_0x331973(0x24b)](_0x331973(0x481)):_0x3f5c6c[_0x331973(0x24b)](),_0x3f5c6c[_0x331973(0x315)]());}class Bt extends _0x59eb56{constructor(_0x311e93,_0x20aeba){const _0x3ad041=_0x30c112;super(_0x311e93,_0x20aeba),g(this,_0x3ad041(0x1b1)),g(this,_0x3ad041(0x3ff)),(this[_0x3ad041(0x1b1)]=_0x20aeba==null?void 0x0:_0x20aeba[_0x3ad041(0x1b1)],this['text']=_0x20aeba==null?void 0x0:_0x20aeba[_0x3ad041(0x3ff)]);}static[_0x30c112(0xdb)](_0x3d2ca7,_0x2a7130){const _0x308e33=_0x30c112,{text:_0x2d439c,color:_0x5ac8ba}=_0x2a7130;_0x3d2ca7[_0x308e33(0x33c)](),_0x3d2ca7[_0x308e33(0x152)]=_0x308e33(0x153);const _0x2a66a4=_0x3d2ca7[_0x308e33(0x229)](_0x2d439c)[_0x308e33(0x39f)],_0x371539=Math[_0x308e33(0x275)](_0x2a66a4+0x2*Jt,ii);ia(_0x3d2ca7,{'height':nt,'radius':0x4,'width':_0x371539,'fill':_0x5ac8ba,'evented':!0x1}),_0x3d2ca7['fillStyle']=_0x308e33(0x47f);const _0xe44452=Jt,_0x513076=nt-sa,_0x2558f4=ii-0x2*Jt;if(_0x2a66a4>_0x2558f4){let _0x59ad86='',_0x41f2f9=0x0;for(const _0x59ef58 of _0x2d439c){const _0xf169b1=_0x3d2ca7[_0x308e33(0x229)](_0x59ef58)[_0x308e33(0x39f)];if(_0x41f2f9+_0xf169b1<=_0x2558f4-_0x3d2ca7[_0x308e33(0x229)]('...')['width'])_0x59ad86+=_0x59ef58,_0x41f2f9+=_0xf169b1;else{_0x59ad86+=_0x308e33(0xe1);break;}}_0x3d2ca7['fillText'](_0x59ad86,_0xe44452,_0x513076);}else _0x3d2ca7[_0x308e33(0x49f)](_0x2d439c,_0xe44452,_0x513076);_0x3d2ca7[_0x308e33(0x315)]();}[_0x30c112(0x439)](_0x97e42d){const _0x1311ab=_0x30c112;Bt[_0x1311ab(0xdb)](_0x97e42d,this);}}const Zt='collab-text-anchor-',ra=_0x30c112(0x22d),na=_0x30c112(0x164),Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca='rgba(255,\x20255,\x20255,\x200.01)';class ri{constructor(_0x540ed6,_0x2e20ad,_0x251970,_0x358176){const _0x3b2aa3=_0x30c112;g(this,_0x3b2aa3(0x3f2),[]),g(this,_0x3b2aa3(0x20c),null),g(this,_0x3b2aa3(0x26e),null),g(this,_0x3b2aa3(0x23e),null),g(this,'_hideTimer',null),g(this,_0x3b2aa3(0x170),null),(this[_0x3b2aa3(0x466)]=_0x540ed6,this['_scene']=_0x2e20ad,this[_0x3b2aa3(0x141)]=_0x251970,this[_0x3b2aa3(0x464)]=_0x358176,this[_0x3b2aa3(0x410)]());}set[_0x30c112(0x138)](_0x2a1917){const _0x1bb44e=_0x30c112;_0x2a1917?(this[_0x1bb44e(0x23e)]&&this[_0x1bb44e(0x23e)][_0x1bb44e(0x1cb)](),this[_0x1bb44e(0x26e)]&&this['_textBubble'][_0x1bb44e(0x3f0)]()):(this[_0x1bb44e(0x23e)]&&this[_0x1bb44e(0x23e)][_0x1bb44e(0x3f0)](),this[_0x1bb44e(0x26e)]&&this[_0x1bb44e(0x26e)][_0x1bb44e(0x1cb)]());}[_0x30c112(0xc9)](){const _0x45e0e5=_0x30c112;for(const _0x5d5e3f of this[_0x45e0e5(0x3f2)])_0x5d5e3f[_0x45e0e5(0xc9)]();this[_0x45e0e5(0x26e)]&&this[_0x45e0e5(0x26e)][_0x45e0e5(0xc9)](),this[_0x45e0e5(0x23e)]&&this[_0x45e0e5(0x23e)]['dispose'](),this[_0x45e0e5(0x20c)]&&this['_anchor'][_0x45e0e5(0xc9)](),this[_0x45e0e5(0x170)]&&this['_eventUnsubscribe']();}['_render'](){const _0x5e8127=_0x30c112;var _0x376098;const {_docSkeleton:_0x1c57d2,_document:_0x17275d}=this,{color:_0xdd99f7,name:_0x59bd51,ranges:_0x51669b}=this[_0x5e8127(0x466)],_0x4c38d7=_0x17275d[_0x5e8127(0x1c6)](),{docsLeft:_0x1625eb,docsTop:_0x27b050}=_0x4c38d7,_0x2490da=new _0x496366(_0x4c38d7,_0x1c57d2);for(const {startOffset:_0x681ccb,endOffset:_0x5c315c,rangeType:_0x4d28d2,segmentId:_0xcec278,segmentPage:_0x571901,collapsed:_0x5c8f48,isActive:_0x537a98}of _0x51669b){const _0x55f972=_0x1c57d2[_0x5e8127(0xfa)](_0x681ccb,!0x0,_0xcec278,_0x571901);let _0x402034=_0x1c57d2[_0x5e8127(0xfa)](_0x5c315c,!0x0,_0xcec278,_0x571901);if(_0x402034==null&&(_0x402034=_0x1c57d2[_0x5e8127(0xfa)](_0x5c315c-0x1,!0x1,_0xcec278,_0x571901)),_0x537a98){const {contentBoxPointGroup:_0x22939b}=_0x2490da[_0x5e8127(0x2a6)](_0x402034,_0x402034);if(_0x22939b['length']===0x0)continue;this[_0x5e8127(0x399)](_0xdd99f7,_0x22939b,_0x1625eb,_0x27b050,_0x59bd51),this[_0x5e8127(0x170)]=this[_0x5e8127(0x263)]();}if(_0x55f972&&_0x402034){if(_0x4d28d2===_0x5780a0[_0x5e8127(0x26b)]){const _0x56c1ac=new _0x56115f(_0x4c38d7,_0x1c57d2),{pointGroup:_0x280b57}=(_0x376098=_0x56c1ac[_0x5e8127(0x2a6)](_0x55f972,_0x402034))!=null?_0x376098:{};if(_0x280b57==null||_0x280b57[_0x5e8127(0xd3)]===0x0)continue;this[_0x5e8127(0x262)](_0xdd99f7,_0x280b57,_0x1625eb,_0x27b050);}else{if(!_0x5c8f48){const {borderBoxPointGroup:_0x5d63e2}=_0x2490da['getRangePointData'](_0x55f972,_0x402034);if(_0x5d63e2[_0x5e8127(0xd3)]===0x0)continue;this[_0x5e8127(0x2ae)](_0xdd99f7,_0x5d63e2,_0x1625eb,_0x27b050);}}}}}['_drawAnchor'](_0x1ed69a,_0x287d42,_0x4de977,_0x3e157b,_0x23eee0){const _0x5e5314=_0x30c112,_0x13edc4=this['_getAnchorBounding'](_0x287d42),{left:_0x326bf3,top:_0x32167a,height:_0x594a2d}=_0x13edc4,_0x10d816=this[_0x5e5314(0x1dc)](),_0x550829=aa/_0x10d816,_0x780b7e=new _0x2ca74a(Zt+_0x4c6645[_0x5e5314(0x1f5)](Je),{'left':_0x326bf3+_0x4de977-_0x550829,'top':_0x32167a+_0x3e157b,'height':_0x594a2d,'width':oa,'fill':_0x1ed69a||_0x219487(_0x4a2600[_0x5e5314(0xa7)],0x0),'strokeWidth':_0x550829,'stroke':ca,'evented':!0x0});this['_anchor']=_0x780b7e,this[_0x5e5314(0x1d3)][_0x5e5314(0x37d)](_0x780b7e,_0x21d2a5);const _0x2b701e=new _0x2ca74a(Zt+_0x4c6645['generateRandomId'](Je),{'left':_0x326bf3+_0x4de977-_0x550829,'top':_0x32167a+_0x3e157b-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x1ed69a||_0x219487(_0x4a2600[_0x5e5314(0xa7)],0x0),'strokeWidth':0x0,'stroke':_0x1ed69a||_0x219487(_0x4a2600[_0x5e5314(0xa7)],0x0),'evented':!0x1});this[_0x5e5314(0x23e)]=_0x2b701e,this[_0x5e5314(0x1d3)]['addObject'](_0x2b701e,_0x21d2a5);const _0x29d79d=new Bt(Zt+_0x4c6645['generateRandomId'](Je),{'left':_0x326bf3+_0x4de977-_0x550829,'top':_0x32167a+_0x3e157b-nt,'text':_0x23eee0,'color':_0x1ed69a});this[_0x5e5314(0x26e)]=_0x29d79d,this[_0x5e5314(0x1d3)]['addObject'](_0x29d79d,_0x21d2a5),this[_0x5e5314(0x138)]=!0x1;}['_handleHover'](){const _0x59f2fb=_0x30c112,_0x46defd=this[_0x59f2fb(0x20c)][_0x59f2fb(0x252)]['subscribeEvent'](()=>{const _0x18099a=_0x59f2fb;this[_0x18099a(0x138)]=!0x0;}),_0x1a0ab1=this['_anchor']['onPointerLeave$'][_0x59f2fb(0x3ce)](()=>{const _0x4aa92c=_0x59f2fb;this[_0x4aa92c(0x3cf)]&&clearTimeout(this[_0x4aa92c(0x3cf)]),this['_hideTimer']=setTimeout(()=>{const _0x2e12ec=_0x4aa92c;this[_0x2e12ec(0x138)]=!0x1;},0x7d0);});return()=>{const _0x1796fb=_0x59f2fb;_0x46defd[_0x1796fb(0x98)](),_0x1a0ab1['unsubscribe']();};}[_0x30c112(0x2ae)](_0x2a007e,_0x18c601,_0x3a412c,_0x5b36f8){const _0xa4d2d=_0x30c112,_0x2bbb99=new _0x19a4a0(_0x2a007e)[_0xa4d2d(0x19f)](0.2)[_0xa4d2d(0xd7)](),_0x1a0ea9=new _0x376a5e(ra+_0x4c6645[_0xa4d2d(0x1f5)](Je),{'pointsGroup':_0x18c601,'fill':_0x2bbb99||_0x219487(_0x4a2600['black'],0.2),'left':_0x3a412c,'top':_0x5b36f8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa4d2d(0x3f2)][_0xa4d2d(0xd6)](_0x1a0ea9),this['_scene']['addObject'](_0x1a0ea9,_0x21d2a5);}[_0x30c112(0x262)](_0x52d656,_0x2bf8dc,_0x4d6a5a,_0x3f6d7d){const _0x10626f=_0x30c112,_0x17e64b=new _0x19a4a0(_0x52d656)[_0x10626f(0x19f)](0.2)[_0x10626f(0xd7)](),_0x2565d3=new _0x376a5e(na+_0x4c6645[_0x10626f(0x1f5)](Je),{'pointsGroup':_0x2bf8dc,'fill':_0x17e64b||_0x219487(_0x4a2600[_0x10626f(0xa7)],0.2),'left':_0x4d6a5a,'top':_0x3f6d7d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x10626f(0xd6)](_0x2565d3),this[_0x10626f(0x1d3)][_0x10626f(0x37d)](_0x2565d3,_0x21d2a5);}[_0x30c112(0x46f)](_0x13be19){const _0x26f7c5=_0x13be19[0x0],_0x5a1de3=_0x26f7c5[0x0],_0x3d1660=_0x26f7c5[0x2],{x:_0x531b3e,y:_0xbd225a}=_0x5a1de3,{x:_0x8f8918,y:_0x309aff}=_0x3d1660;return{'left':_0x531b3e,'top':_0xbd225a,'width':_0x8f8918-_0x531b3e,'height':_0x309aff-_0xbd225a};}[_0x30c112(0x1dc)](){const _0x7e4ece=_0x30c112,{scaleX:_0x112fdf,scaleY:_0x22db40}=this['_scene'][_0x7e4ece(0x32d)]();return Math[_0x7e4ece(0x10f)](_0x112fdf,_0x22db40);}}var ha=Object[_0x30c112(0x28e)],la=Object[_0x30c112(0x1e3)],_a=(_0x54ced2,_0x512b6b,_0x46e71e,_0x53036b)=>{const _0x334d85=_0x30c112;for(var _0x4d1052=_0x53036b>0x1?void 0x0:_0x53036b?la(_0x512b6b,_0x46e71e):_0x512b6b,_0x10270f=_0x54ced2[_0x334d85(0xd3)]-0x1,_0x45b666;_0x10270f>=0x0;_0x10270f--)(_0x45b666=_0x54ced2[_0x10270f])&&(_0x4d1052=(_0x53036b?_0x45b666(_0x512b6b,_0x46e71e,_0x4d1052):_0x45b666(_0x4d1052))||_0x4d1052);return _0x53036b&&_0x4d1052&&ha(_0x512b6b,_0x46e71e,_0x4d1052),_0x4d1052;},ht=(_0x166f5a,_0x91f656)=>(_0x4912b2,_0x55a8)=>_0x91f656(_0x4912b2,_0x55a8,_0x166f5a);let fs=class extends _0x43d55d{constructor(_0x367380,_0x5b0ba9,_0x35bbcc,_0x47a669,_0x4a5593){const _0x25ef30=_0x30c112;super(),g(this,_0x25ef30(0x409),[]),g(this,_0x25ef30(0x17d),[]),(this[_0x25ef30(0x274)]=_0x367380,this['_docSkeletonManagerService']=_0x5b0ba9,this[_0x25ef30(0x397)]=_0x35bbcc,this['_commandService']=_0x47a669,this[_0x25ef30(0x255)]=_0x4a5593,this[_0x25ef30(0x38c)]());}[_0x30c112(0x38c)](){const _0x572de9=_0x30c112,_0x58573d=this[_0x572de9(0x274)]['unitId'],_0x4e0ed6=this['_docSkeletonManagerService'];this[_0x572de9(0x12b)](_0x3fb531([this[_0x572de9(0x397)][_0x572de9(0x346)](_0x58573d),this[_0x572de9(0x255)][_0x572de9(0x304)]])[_0x572de9(0x27c)](_0x1864e2(([_0x72d9cb,_0x2dba9b])=>({'skeleton':_0x4e0ed6['getSkeleton'](),'cursors':[..._0x72d9cb[_0x572de9(0x130)]()][_0x572de9(0x45e)](_0x44698e=>({..._0x44698e,'color':_0x2dba9b[_0x44698e[_0x572de9(0x1b1)]]}))})))[_0x572de9(0x196)](_0x3e76a5=>{const _0xae30b7=_0x572de9;if(this[_0xae30b7(0x328)](),_0x3e76a5){const {skeleton:_0x172f45,cursors:_0x48866d}=_0x3e76a5;this[_0xae30b7(0x21e)](_0x172f45,_0x48866d);}})),this[_0x572de9(0x96)](),this[_0x572de9(0x9d)]();}[_0x30c112(0x21e)](_0x2dbcf3,_0x1770a2){const _0xdda0f=_0x30c112,{scene:_0x3525e3,mainComponent:_0x458af2}=this['_context'],_0x57fb12=_0x1770a2[_0xdda0f(0x1a2)](_0x4e5519=>new ri(_0x4e5519,_0x3525e3,_0x2dbcf3,_0x458af2));this['_cursorShapes']=_0x57fb12,this['_cursors']=_0x1770a2;}['_refreshCollabCursors'](){const _0x37fc04=_0x30c112;this[_0x37fc04(0x328)]();const {scene:_0x27d56a,mainComponent:_0x107903}=this[_0x37fc04(0x274)],_0x5199f6=this[_0x37fc04(0xc6)][_0x37fc04(0x1f9)](),_0x59d46f=this[_0x37fc04(0x17d)]['map'](_0x45edc2=>new ri(_0x45edc2,_0x27d56a,_0x5199f6,_0x107903));this['_cursorShapes']=_0x59d46f;}[_0x30c112(0x328)](){const _0x259db9=_0x30c112;this[_0x259db9(0x409)][_0x259db9(0x241)](_0x1ed004=>_0x1ed004[_0x259db9(0xc9)]()),this[_0x259db9(0x409)]=[];}[_0x30c112(0x9d)](){const _0x127500=_0x30c112,_0x517d76=[_0x16ccdd['id']];this[_0x127500(0x12b)](this[_0x127500(0x118)]['onCommandExecuted'](_0x4b216a=>{const _0x528266=_0x127500;_0x517d76['includes'](_0x4b216a['id'])&&_0x4b216a[_0x528266(0x1d4)][_0x528266(0x2d3)]===this[_0x528266(0x274)][_0x528266(0x2d3)]&&this['_refreshCollabCursors']();}));}[_0x30c112(0x96)](){const _0x2892bd=_0x30c112;this[_0x2892bd(0x12b)](_0x568d39(this[_0x2892bd(0x274)][_0x2892bd(0x36b)][_0x2892bd(0x25d)])['pipe'](_0x210123(_0x2bffce=>_0x2bffce[_0x2892bd(0x2a5)]===_0x432ceb[_0x2892bd(0x259)]),_0x27d0bb(0x10))[_0x2892bd(0x196)](()=>{this['_refreshCollabCursors']();}));}};fs=_a([ht(0x1,_0x1273b4(_0x397d26)),ht(0x2,_0x1273b4(Ve)),ht(0x3,_0x3364ad),ht(0x4,_0x1273b4(_0x2ccbc7))],fs);const ua=0x1,da=1.5;class fa extends _0x59eb56{constructor(_0x29853b,_0xa8f637){const _0x862b71=_0x30c112;super(_0x29853b,_0xa8f637),g(this,_0x862b71(0x404)),g(this,_0x862b71(0x461),!0x1),g(this,_0x862b71(0xf2)),g(this,_0x862b71(0x279),''),g(this,_0x862b71(0x136),_0x862b71(0x3a7)),g(this,_0x862b71(0x40c)),(_0xa8f637&&this[_0x862b71(0x3a0)](_0xa8f637),this[_0x862b71(0x252)]['subscribeEvent'](()=>this[_0x862b71(0x3a0)]({'hovered':!0x0})),this['onPointerLeave$'][_0x862b71(0x3ce)](()=>this[_0x862b71(0x3a0)]({'hovered':!0x1})));}[_0x30c112(0x3a0)](_0x292bb0){const _0x1816b6=_0x30c112;var _0x477b73,_0x11920c,_0x4c2f4c,_0x25343a,_0x1a195d,_0xbf62de;this['_color']=(_0x477b73=_0x292bb0['color'])!=null?_0x477b73:this[_0x1816b6(0x404)],this[_0x1816b6(0x461)]=(_0x11920c=_0x292bb0[_0x1816b6(0x3a4)])!=null?_0x11920c:this['_hovered'],this[_0x1816b6(0xf2)]=(_0x4c2f4c=_0x292bb0['range'])!=null?_0x4c2f4c:this['_range'],this[_0x1816b6(0x279)]=(_0x25343a=_0x292bb0[_0x1816b6(0x3ab)])!=null?_0x25343a:this[_0x1816b6(0x279)],this[_0x1816b6(0x136)]=(_0x1a195d=_0x292bb0[_0x1816b6(0x146)])!=null?_0x1a195d:this[_0x1816b6(0x136)],this[_0x1816b6(0x40c)]=(_0xbf62de=_0x292bb0[_0x1816b6(0x13d)])!=null?_0xbf62de:this[_0x1816b6(0x40c)],this[_0x1816b6(0x3d4)]({'width':_0x292bb0[_0x1816b6(0x39f)],'height':_0x292bb0[_0x1816b6(0x223)]});}[_0x30c112(0x102)](_0x535e70){const _0x1bcb11=_0x30c112,{row:_0x6e1531,column:_0xd31afe}=_0x535e70;if(_0x6e1531>=this[_0x1bcb11(0xf2)]['startRow']&&_0x6e1531<=this[_0x1bcb11(0xf2)][_0x1bcb11(0x200)]&&_0xd31afe>=this[_0x1bcb11(0xf2)][_0x1bcb11(0x2aa)]&&_0xd31afe<=this[_0x1bcb11(0xf2)][_0x1bcb11(0x31e)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1bcb11(0x3a0)]({'hovered':!0x1});}[_0x30c112(0x475)](_0x133898){return!0x1;}['_draw'](_0x2d0a2c){const _0x18c1ea=_0x30c112;_0x2ca74a['drawWith'](_0x2d0a2c,{'width':this[_0x18c1ea(0x39f)],'height':this['height'],'strokeWidth':da,'stroke':this[_0x18c1ea(0x404)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x18c1ea(0x461)]&&(_0x2d0a2c['save'](),_0x2d0a2c[_0x18c1ea(0x2ff)](0x1,0x0,0x0,0x1,this[_0x18c1ea(0x39f)],this[_0x18c1ea(0x136)]===_0x18c1ea(0x30c)?0x0:-nt),Bt[_0x18c1ea(0xdb)](_0x2d0a2c,{'text':this[_0x18c1ea(0x279)],'color':this[_0x18c1ea(0x404)]}),_0x2d0a2c['restore']());}}var va=Object['defineProperty'],pa=Object['getOwnPropertyDescriptor'],ma=(_0x3c8745,_0x5edb8c,_0x1ed50c,_0x5515e9)=>{for(var _0x609ff9=_0x5515e9>0x1?void 0x0:_0x5515e9?pa(_0x5edb8c,_0x1ed50c):_0x5edb8c,_0x407335=_0x3c8745['length']-0x1,_0x2cbb69;_0x407335>=0x0;_0x407335--)(_0x2cbb69=_0x3c8745[_0x407335])&&(_0x609ff9=(_0x5515e9?_0x2cbb69(_0x5edb8c,_0x1ed50c,_0x609ff9):_0x2cbb69(_0x609ff9))||_0x609ff9);return _0x5515e9&&_0x609ff9&&va(_0x5edb8c,_0x1ed50c,_0x609ff9),_0x609ff9;},es=(_0x38d0df,_0x6387ad)=>(_0x328956,_0xcb24ba)=>_0x6387ad(_0x328956,_0xcb24ba,_0x38d0df);const ga=0x1389;let vs=class extends _0x43d55d{constructor(_0xfa5ec3,_0x285928,_0x34d9f7,_0x3a3f04){const _0x1567aa=_0x30c112;super(),g(this,_0x1567aa(0x17d),new Set()),g(this,_0x1567aa(0x1b4),null),(this[_0x1567aa(0x274)]=_0xfa5ec3,this[_0x1567aa(0x23a)]=_0x285928,this[_0x1567aa(0x397)]=_0x34d9f7,this[_0x1567aa(0x255)]=_0x3a3f04,this[_0x1567aa(0x38c)]());}[_0x30c112(0x38c)](){const _0x3b49de=_0x30c112;this[_0x3b49de(0x23a)]['currentSkeleton$'][_0x3b49de(0x27c)](_0x585a8a(this[_0x3b49de(0x3e7)]),_0x120e33(_0x4cb6db=>{const _0x3bb8e0=_0x3b49de;if(_0x4cb6db){const _0x4dda08=_0x4cb6db[_0x3bb8e0(0x45a)];return _0x3fb531(this[_0x3bb8e0(0x397)][_0x3bb8e0(0x346)](this[_0x3bb8e0(0x274)][_0x3bb8e0(0x2d3)]),this['_themeService'][_0x3bb8e0(0x304)])[_0x3bb8e0(0x27c)](_0x1864e2(([_0x5721b5,_0x77f6c3])=>{const _0x1fa422=new Map();return _0x5721b5['forEach']((_0x829887,_0x11339e)=>{const _0x16687f=_0x2ebf;if(_0x829887[_0x16687f(0x253)]===_0x4dda08){const _0x3c99f3={..._0x829887};_0x3c99f3[_0x16687f(0x1b1)]=_0x77f6c3[_0x829887['color']],_0x1fa422[_0x16687f(0x34b)](_0x11339e,_0x3c99f3);}}),{'skeleton':_0x4cb6db,'cursors':_0x1fa422};}));}return _0x4e4949({'skeleton':null,'cursors':new Map()});}))[_0x3b49de(0x196)](({skeleton:_0xb8afbf,cursors:_0x349571})=>{const _0x4acc2c=_0x3b49de;this['_removeCollabCursors'](),_0xb8afbf&&this[_0x4acc2c(0x21e)](_0xb8afbf,_0x349571);}),this[_0x3b49de(0x23a)]['currentSkeleton$'][_0x3b49de(0x196)](_0x3c630a=>{const _0x484770=_0x3b49de;if(_0x3c630a==null)return;const {skeleton:_0x3ec60f}=_0x3c630a,{scene:_0xfe2a7d}=this[_0x484770(0x274)];_0xfe2a7d['onPointerMove$'][_0x484770(0x3ce)](_0x1f48d8(_0x1dd1fa=>{const _0x4c7278=_0x484770;var _0x10df84,_0x110c62;const {offsetX:_0x41d6be,offsetY:_0xb7908b}=_0x1dd1fa,{x:_0x4a0718,y:_0x6ca47}=_0xfe2a7d['getRelativeToViewportCoord'](_0x5ef010[_0x4c7278(0x48a)]([_0x41d6be,_0xb7908b])),{scaleX:_0x5df5dc,scaleY:_0x2022b6}=_0xfe2a7d[_0x4c7278(0x32d)](),_0x329356=_0xfe2a7d['getViewport'](_0x4e2d98[_0x4c7278(0x258)]),_0x972b2d=_0xfe2a7d[_0x4c7278(0x203)](_0x5ef010[_0x4c7278(0x48a)]([_0x4a0718,_0x6ca47]),_0x329356),_0x8b0f0d=_0x3ec60f[_0x4c7278(0x3e5)](_0x41d6be,_0xb7908b,_0x5df5dc,_0x2022b6,_0x972b2d);((_0x10df84=this['_lastPointer'])==null?void 0x0:_0x10df84['column'])===_0x8b0f0d['column']&&((_0x110c62=this[_0x4c7278(0x1b4)])==null?void 0x0:_0x110c62[_0x4c7278(0x45f)])===_0x8b0f0d[_0x4c7278(0x45f)]||this['_cursors'][_0x4c7278(0x241)](_0x447ca8=>{const _0x25930d=_0x4c7278;_0x447ca8[_0x25930d(0x102)](_0x8b0f0d);});},0x64));});}[_0x30c112(0x21e)](_0x1709c3,_0x3493d9){const _0x4ab5f8=_0x30c112;var _0x2c6505;const _0x12f18c=(_0x2c6505=this[_0x4ab5f8(0x23a)][_0x4ab5f8(0x2bb)]())==null?void 0x0:_0x2c6505[_0x4ab5f8(0x1cd)];if(!_0x12f18c)return;const _0x39114f=this[_0x4ab5f8(0x9a)]();if(!_0x39114f)return;this['_cursors'][_0x4ab5f8(0x241)](_0x1e65c6=>{const _0x49fb41=_0x4ab5f8;_0x1e65c6[_0x49fb41(0x3a3)]();});const {scene:_0x38f338}=_0x39114f,_0x50aca8=Sa(Array[_0x4ab5f8(0xba)](_0x3493d9[_0x4ab5f8(0x130)]()))[_0x4ab5f8(0x1a2)](_0x1b9ccc=>{const _0x2dfaee=_0x4ab5f8,{color:_0x55465f,range:_0x8d389a,name:_0x56f90a,selection:_0x24628d,sheetID:_0x5120c1}=_0x1b9ccc,{startColumn:_0x20110e,startRow:_0x572eb7,endColumn:_0x152aa0,endRow:_0xd63f04}=_0x8d389a,_0x4d788b=_0x107ed1(_0x572eb7,_0x20110e,_0x38f338,_0x12f18c),_0x3b8dbf=_0x107ed1(_0xd63f04,_0x152aa0,_0x38f338,_0x12f18c),{columnHeaderHeightAndMarginTop:_0x503ac4}=_0x12f18c,{startX:_0x5892fd,startY:_0x4dbdb4}=_0x4d788b,{endX:_0x463408,endY:_0xd95697}=_0x3b8dbf,_0x358d49=_0x463408-_0x5892fd,_0x917946=_0xd95697-_0x4dbdb4,_0xdd256f={'labelPosition':_0x4dbdb4-_0x503ac4>=nt?_0x2dfaee(0x3a7):'bottom','sheetID':_0x5120c1,'range':_0x8d389a,'color':_0x55465f,'name':_0x56f90a,'selection':_0x24628d,'left':_0x5892fd,'top':_0x4dbdb4,'width':_0x358d49,'height':_0x917946,'evented':!0x1,'zIndex':ga};return new fa(_0x56f90a,_0xdd256f);});_0x38f338[_0x4ab5f8(0x476)](_0x50aca8,ua),this['_cursors']=new Set(_0x50aca8);}[_0x30c112(0x328)](){const _0xe77e6f=_0x30c112;var _0x2fb0ff;(_0x2fb0ff=this['_cursors'])==null||_0x2fb0ff['forEach'](_0x2a109c=>_0x2a109c[_0xe77e6f(0xc9)]());}[_0x30c112(0x9a)](){const _0x5578d2=_0x30c112;return _0x126d2d(this[_0x5578d2(0x274)]['unit'],this[_0x5578d2(0x274)]);}};vs=ma([es(0x1,_0x1273b4(_0x9c126f)),es(0x2,_0x1273b4(Ve)),es(0x3,_0x1273b4(_0x2ccbc7))],vs);function Sa(_0x25c725){const _0x4294e4=_0x30c112,_0x1d2616=new Map();return _0x25c725[_0x4294e4(0x241)](_0x3dff28=>{const _0x1058d4=_0x4294e4;if(_0x1d2616[_0x1058d4(0x120)](_0x3dff28[_0x1058d4(0x1c3)])){const _0x19a267=_0x1d2616['get'](_0x3dff28['selection']);_0x19a267[_0x1058d4(0x3ab)]+=',\x20'+_0x3dff28[_0x1058d4(0x3ab)];}else _0x1d2616[_0x1058d4(0x34b)](_0x3dff28[_0x1058d4(0x1c3)],_0x3dff28);}),Array[_0x4294e4(0xba)](_0x1d2616[_0x4294e4(0x130)]());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x4dfe21){const _0x36e988=_0x30c112;return _0x4dfe21&&_0x4dfe21[_0x36e988(0xac)]&&Object[_0x36e988(0x107)][_0x36e988(0x3f1)][_0x36e988(0xb6)](_0x4dfe21,_0x36e988(0x35c))?_0x4dfe21[_0x36e988(0x35c)]:_0x4dfe21;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x50e60a=_0x30c112;if(ni)return Ze;ni=0x1;var _0x506a63=_0xe9f461,_0x2f3dd6=Symbol[_0x50e60a(0x378)]('react.element'),_0x52152f=Symbol[_0x50e60a(0x378)]('react.fragment'),_0x56f9f7=Object['prototype'][_0x50e60a(0x3f1)],_0x54287c=_0x506a63[_0x50e60a(0x2e6)][_0x50e60a(0x338)],_0xcb2a5d={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x34df33(_0x55dc73,_0x256fd3,_0x1ea632){const _0x58cd8c=_0x50e60a;var _0x42cb2f,_0x4f3d32={},_0x1a2afc=null,_0x52efb6=null;_0x1ea632!==void 0x0&&(_0x1a2afc=''+_0x1ea632),_0x256fd3[_0x58cd8c(0x3bc)]!==void 0x0&&(_0x1a2afc=''+_0x256fd3[_0x58cd8c(0x3bc)]),_0x256fd3[_0x58cd8c(0x1d9)]!==void 0x0&&(_0x52efb6=_0x256fd3[_0x58cd8c(0x1d9)]);for(_0x42cb2f in _0x256fd3)_0x56f9f7[_0x58cd8c(0xb6)](_0x256fd3,_0x42cb2f)&&!_0xcb2a5d[_0x58cd8c(0x3f1)](_0x42cb2f)&&(_0x4f3d32[_0x42cb2f]=_0x256fd3[_0x42cb2f]);if(_0x55dc73&&_0x55dc73['defaultProps']){for(_0x42cb2f in(_0x256fd3=_0x55dc73[_0x58cd8c(0x342)],_0x256fd3))_0x4f3d32[_0x42cb2f]===void 0x0&&(_0x4f3d32[_0x42cb2f]=_0x256fd3[_0x42cb2f]);}return{'$$typeof':_0x2f3dd6,'type':_0x55dc73,'key':_0x1a2afc,'ref':_0x52efb6,'props':_0x4f3d32,'_owner':_0x54287c[_0x58cd8c(0x417)]};}return Ze['Fragment']=_0x52152f,Ze['jsx']=_0x34df33,Ze[_0x50e60a(0x1a0)]=_0x34df33,Ze;}var oi;function Ca(){const _0x29d430=_0x30c112;return oi||(oi=0x1,ss[_0x29d430(0x3a1)]=Ia()),ss[_0x29d430(0x3a1)];}var De=Ca(),te=function(){const _0x256c6d=_0x30c112;return te=Object['assign']||function(_0x74a117){const _0x5342b0=_0x2ebf;for(var _0x3fb229,_0x319010=0x1,_0x25cccb=arguments[_0x5342b0(0xd3)];_0x319010<_0x25cccb;_0x319010++){_0x3fb229=arguments[_0x319010];for(var _0x2e3fad in _0x3fb229)Object[_0x5342b0(0x107)]['hasOwnProperty'][_0x5342b0(0xb6)](_0x3fb229,_0x2e3fad)&&(_0x74a117[_0x2e3fad]=_0x3fb229[_0x2e3fad]);}return _0x74a117;},te[_0x256c6d(0x2a1)](this,arguments);},Ea=function(_0x43fce5,_0x4a59f2){const _0x4f690c=_0x30c112;var _0xad11e6={};for(var _0x38720c in _0x43fce5)Object[_0x4f690c(0x107)][_0x4f690c(0x3f1)]['call'](_0x43fce5,_0x38720c)&&_0x4a59f2[_0x4f690c(0x105)](_0x38720c)<0x0&&(_0xad11e6[_0x38720c]=_0x43fce5[_0x38720c]);if(_0x43fce5!=null&&typeof Object['getOwnPropertySymbols']==_0x4f690c(0x42e)){for(var _0x1085ba=0x0,_0x38720c=Object['getOwnPropertySymbols'](_0x43fce5);_0x1085ba<_0x38720c[_0x4f690c(0xd3)];_0x1085ba++)_0x4a59f2[_0x4f690c(0x105)](_0x38720c[_0x1085ba])<0x0&&Object[_0x4f690c(0x107)]['propertyIsEnumerable'][_0x4f690c(0xb6)](_0x43fce5,_0x38720c[_0x1085ba])&&(_0xad11e6[_0x38720c[_0x1085ba]]=_0x43fce5[_0x38720c[_0x1085ba]]);}return _0xad11e6;},Us=_0x4283e7(function(_0x1f13b0,_0x4492c4){const _0x418592=_0x30c112;var _0x429f09=_0x1f13b0[_0x418592(0x458)],_0x3ca15f=_0x1f13b0['id'],_0x46acf4=_0x1f13b0[_0x418592(0x296)],_0x147f63=_0x1f13b0[_0x418592(0x377)],_0x474512=Ea(_0x1f13b0,[_0x418592(0x458),'id','className',_0x418592(0x377)]),_0x40d900=_0x418592(0x1d6)[_0x418592(0x388)](_0x3ca15f,'\x20')[_0x418592(0x388)](_0x46acf4||'')['trim'](),_0x474a17=_0x58dadc('_'[_0x418592(0x388)](Ra()));return Zi(_0x429f09,''[_0x418592(0x388)](_0x3ca15f),{'defIds':_0x429f09[_0x418592(0x119)],'idSuffix':_0x474a17['current']},te({'ref':_0x4492c4,'className':_0x40d900},_0x474512),_0x147f63);});function Zi(_0xe5bcb8,_0xd0cc56,_0x214afc,_0x5c12d4,_0x550d29){const _0x4db82b=_0x30c112;return _0x28db3f(_0xe5bcb8[_0x4db82b(0x33f)],te(te({'key':_0xd0cc56},ba(_0xe5bcb8,_0x214afc,_0x550d29)),_0x5c12d4),(Ta(_0xe5bcb8,_0x214afc)['children']||[])[_0x4db82b(0x1a2)](function(_0x257f84,_0x5dfea6){const _0x37f44e=_0x4db82b;return Zi(_0x257f84,''['concat'](_0xd0cc56,'-')[_0x37f44e(0x388)](_0xe5bcb8[_0x37f44e(0x33f)],'-')[_0x37f44e(0x388)](_0x5dfea6),_0x214afc,void 0x0,_0x550d29);}));}function ba(_0x18dcaa,_0x81a891,_0x2aaf3b){const _0x27e095=_0x30c112;var _0x3c3b1d=te({},_0x18dcaa[_0x27e095(0x3fd)]);_0x2aaf3b!=null&&_0x2aaf3b['colorChannel1']&&_0x3c3b1d['fill']===_0x27e095(0x374)&&(_0x3c3b1d['fill']=_0x2aaf3b[_0x27e095(0x374)]);var _0x44a31f=_0x81a891[_0x27e095(0x119)];return!_0x44a31f||_0x44a31f[_0x27e095(0xd3)]===0x0||(_0x18dcaa['tag']===_0x27e095(0x16b)&&_0x3c3b1d['xlink:href']&&(_0x3c3b1d[_0x27e095(0x87)]=_0x3c3b1d['xlink:href']+_0x81a891['idSuffix']),Object[_0x27e095(0x191)](_0x3c3b1d)[_0x27e095(0x241)](function(_0x2a8f51){const _0x2c4b6c=_0x27e095;var _0x49e603=_0x2a8f51[0x0],_0x4939e2=_0x2a8f51[0x1];typeof _0x4939e2=='string'&&(_0x3c3b1d[_0x49e603]=_0x4939e2[_0x2c4b6c(0x1ed)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x81a891[_0x2c4b6c(0x2a0)],')')));})),_0x3c3b1d;}function Ta(_0x3b9951,_0x818fd7){const _0x4e1d9f=_0x30c112;var _0x23048f,_0x5202b1=_0x818fd7[_0x4e1d9f(0x119)];return!_0x5202b1||_0x5202b1[_0x4e1d9f(0xd3)]===0x0?_0x3b9951:_0x3b9951[_0x4e1d9f(0x33f)]===_0x4e1d9f(0x3c3)&&(!((_0x23048f=_0x3b9951['children'])===null||_0x23048f===void 0x0)&&_0x23048f[_0x4e1d9f(0xd3)])?te(te({},_0x3b9951),{'children':_0x3b9951[_0x4e1d9f(0x1e1)][_0x4e1d9f(0x1a2)](function(_0x4ef29a){const _0x12c13b=_0x4e1d9f;return typeof _0x4ef29a[_0x12c13b(0x3fd)]['id']==_0x12c13b(0x3e8)&&_0x5202b1&&_0x5202b1[_0x12c13b(0x105)](_0x4ef29a[_0x12c13b(0x3fd)]['id'])>-0x1?te(te({},_0x4ef29a),{'attrs':te(te({},_0x4ef29a[_0x12c13b(0x3fd)]),{'id':_0x4ef29a['attrs']['id']+_0x818fd7[_0x12c13b(0x2a0)]})}):_0x4ef29a;})}):_0x3b9951;}function Ra(){const _0xf6b474=_0x30c112;return Math['random']()['toString'](0x24)[_0xf6b474(0x277)](0x2,0x8);}Us['displayName']=_0x30c112(0x2b1);var Oa={'tag':_0x30c112(0x326),'attrs':{'fill':_0x30c112(0xc1),'viewBox':_0x30c112(0x25c),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x30c112(0xf5)},'children':[{'tag':_0x30c112(0x3bb),'attrs':{'stroke':'currentColor','d':_0x30c112(0x391),'strokeLinecap':_0x30c112(0x2fb),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x30c112(0x3c3),'attrs':{},'children':[{'tag':_0x30c112(0x228),'attrs':{'id':_0x30c112(0x309)},'children':[{'tag':_0x30c112(0x3bb),'attrs':{'fill':_0x30c112(0x205),'d':_0x30c112(0x39b)}}]}]}],'defIds':[_0x30c112(0x309)]},Qi=_0x4283e7(function(_0xf007fd,_0x635757){const _0x27bb05=_0x30c112;return _0x28db3f(Us,Object['assign']({},_0xf007fd,{'id':_0x27bb05(0x413),'ref':_0x635757,'icon':Oa}));});Qi['displayName']='OffLineSingle';var ya={'tag':_0x30c112(0x326),'attrs':{'fill':_0x30c112(0xc1),'viewBox':_0x30c112(0x3d1),'width':_0x30c112(0x45c),'height':_0x30c112(0x45c)},'children':[{'tag':'g','attrs':{'clipPath':_0x30c112(0xd8)},'children':[{'tag':_0x30c112(0x3bb),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x30c112(0x2fb),'strokeLinejoin':_0x30c112(0x2fb),'strokeWidth':1.2}}]},{'tag':_0x30c112(0x3c3),'attrs':{},'children':[{'tag':_0x30c112(0x228),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x30c112(0x3bb),'attrs':{'fill':_0x30c112(0x205),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},er=_0x4283e7(function(_0x3147e2,_0x42b217){const _0x2c45b8=_0x30c112;return _0x28db3f(Us,Object[_0x2c45b8(0x489)]({},_0x3147e2,{'id':_0x2c45b8(0xf9),'ref':_0x42b217,'icon':ya}));});er[_0x30c112(0x254)]=_0x30c112(0xd4);function tr(_0x6a1ba){const _0x5c5066=_0x30c112;var _0xa0d53e,_0x10d76e,_0x2763ab='';if(typeof _0x6a1ba==_0x5c5066(0x3e8)||typeof _0x6a1ba==_0x5c5066(0x16e))_0x2763ab+=_0x6a1ba;else{if(typeof _0x6a1ba==_0x5c5066(0x358)){if(Array[_0x5c5066(0x1f7)](_0x6a1ba)){var _0x38067a=_0x6a1ba[_0x5c5066(0xd3)];for(_0xa0d53e=0x0;_0xa0d53e<_0x38067a;_0xa0d53e++)_0x6a1ba[_0xa0d53e]&&(_0x10d76e=tr(_0x6a1ba[_0xa0d53e]))&&(_0x2763ab&&(_0x2763ab+='\x20'),_0x2763ab+=_0x10d76e);}else{for(_0x10d76e in _0x6a1ba)_0x6a1ba[_0x10d76e]&&(_0x2763ab&&(_0x2763ab+='\x20'),_0x2763ab+=_0x10d76e);}}}return _0x2763ab;}function wa(){const _0x2cf45f=_0x30c112;for(var _0x54ee9f,_0x16fe9e,_0xf40d47=0x0,_0x4609c1='',_0x35e2cf=arguments[_0x2cf45f(0xd3)];_0xf40d47<_0x35e2cf;_0xf40d47++)(_0x54ee9f=arguments[_0xf40d47])&&(_0x16fe9e=tr(_0x54ee9f))&&(_0x4609c1&&(_0x4609c1+='\x20'),_0x4609c1+=_0x16fe9e);return _0x4609c1;}const Da=_0x30c112(0x368),Pa=_0x30c112(0x498),Na='univer-online-status',Ua=_0x30c112(0x3ad),Aa=_0x30c112(0x8b),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x4bbd95){const _0x2f7af1=_0x30c112;switch(_0x4bbd95){case J[_0x2f7af1(0x371)]:return'collabStatus.offline';case J['CONFLICT']:return _0x2f7af1(0x12c);case J[_0x2f7af1(0x1cc)]:return'collabStatus.fetchMiss';case J[_0x2f7af1(0x456)]:return _0x2f7af1(0x127);case J['AWAITING']:case J[_0x2f7af1(0xe6)]:return _0x2f7af1(0x237);case J['SYNCED']:case J[_0x2f7af1(0x10e)]:return'collabStatus.synced';}}function xa(_0x521432){const _0x9572c=_0x30c112,{status$:_0x43d419}=_0x521432,_0x3bea82=_0x215925(_0x43d419,J[_0x9572c(0x456)]),_0x3cda1d=_0x4d30aa(_0x582404),_0x333537=_0x4d30aa(xe),_0x14367b=_0x3bea82!==J['OFFLINE'],_0x32a3ad=_0x3cda1d['t'](Ma(_0x3bea82)),_0x68aeff=wa(Qe[_0x9572c(0xe7)],{[Qe['online']]:_0x14367b,[Qe['offline']]:!_0x14367b}),_0x462e45=_0x14367b?De[_0x9572c(0x320)](er,{}):De[_0x9572c(0x320)](Qi,{}),_0x52f989=_0x6d999(()=>{const _0x470b8d=_0x9572c;_0x14367b||_0x333537[_0x470b8d(0x14c)]();},[_0x14367b,_0x333537]);function _0xa3dad3(){const _0x51e856=_0x9572c;return De[_0x51e856(0x1a0)](_0x51e856(0xee),{'className':_0x68aeff,'onClick':_0x52f989,'children':[De[_0x51e856(0x320)]('div',{'className':Qe['onlineStatusIcon'],'children':_0x462e45}),De[_0x51e856(0x320)]('div',{'className':Qe[_0x51e856(0x25f)],'children':_0x32a3ad})]});}return _0x14367b?_0xa3dad3():De[_0x9572c(0x320)](_0x1aa639,{'title':_0x3cda1d['t'](_0x9572c(0x36f)),'children':_0xa3dad3()});}var La=Object[_0x30c112(0x28e)],$a=Object['getOwnPropertyDescriptor'],Ha=(_0x323486,_0x203e03,_0x233a33,_0x26b5a6)=>{const _0x3c1200=_0x30c112;for(var _0x1a7bc1=_0x26b5a6>0x1?void 0x0:_0x26b5a6?$a(_0x203e03,_0x233a33):_0x203e03,_0x19e4e0=_0x323486[_0x3c1200(0xd3)]-0x1,_0x54c3db;_0x19e4e0>=0x0;_0x19e4e0--)(_0x54c3db=_0x323486[_0x19e4e0])&&(_0x1a7bc1=(_0x26b5a6?_0x54c3db(_0x203e03,_0x233a33,_0x1a7bc1):_0x54c3db(_0x1a7bc1))||_0x1a7bc1);return _0x26b5a6&&_0x1a7bc1&&La(_0x203e03,_0x233a33,_0x1a7bc1),_0x1a7bc1;},lt=(_0xc7affd,_0x56507f)=>(_0x31590d,_0xd0b59)=>_0x56507f(_0x31590d,_0xd0b59,_0xc7affd);let At=class extends _0x2ea306{constructor(_0x5c5e4f,_0x5c7e5d,_0x539dda,_0x20b5f2){const _0x2e486=_0x30c112;super(),g(this,_0x2e486(0xbc),new _0x15cd68(J[_0x2e486(0x456)])),(this[_0x2e486(0x187)]=_0x5c5e4f,this['_uiPartsService']=_0x5c7e5d,this[_0x2e486(0x13e)]=_0x539dda,this[_0x2e486(0x33d)]=_0x20b5f2,this['_initStatusComponent'](),this[_0x2e486(0x104)]());}[_0x30c112(0x104)](){const _0x1f461b=_0x30c112;this[_0x1f461b(0x12b)](this['_univerInstanceService']['focused$']['pipe'](_0x387fda(()=>{const _0x5739bf=_0x1f461b,_0x2b92d7=this['_univerInstanceService'][_0x5739bf(0x142)]();return _0x2b92d7?this[_0x5739bf(0x33d)][_0x5739bf(0x17f)](_0x2b92d7[_0x5739bf(0x480)]()):_0x4e4949(null);}),_0x387fda(_0x5d7201=>_0x5d7201?_0x5d7201[_0x1f461b(0x2e9)]:_0x4e4949(J['NOT_COLLAB'])))[_0x1f461b(0x196)](_0xd8e09e=>{const _0x4b4840=_0x1f461b;this[_0x4b4840(0xbc)][_0x4b4840(0x26d)](_0xd8e09e);}));}['_initStatusComponent'](){const _0x352fe0=_0x30c112;this[_0x352fe0(0x12b)](this[_0x352fe0(0x302)][_0x352fe0(0x337)](_0x2c1a69[_0x352fe0(0xb8)],()=>_0x28fceb(ja({'status$':this['_status$']['asObservable']()}),this[_0x352fe0(0x13e)])));}};At=Ha([lt(0x0,_0x1d1a83),lt(0x1,_0x2a8e8c),lt(0x2,_0x1273b4(_0x3c8419)),lt(0x3,_0x1273b4(rt))],At);function ja(_0x4f6cd5){const {status$:_0x4a5048}=_0x4f6cd5;return function(){const _0x51e4be=_0x2ebf;return De[_0x51e4be(0x320)](xa,{'status$':_0x4a5048});};}const sr=_0x87a6a4('uni.network.url-service');var Ba=Object[_0x30c112(0x28e)],ka=Object['getOwnPropertyDescriptor'],Wa=(_0x179edb,_0x4a0511,_0x4366ce,_0x30a184)=>{const _0x2d040b=_0x30c112;for(var _0x42a2f7=_0x30a184>0x1?void 0x0:_0x30a184?ka(_0x4a0511,_0x4366ce):_0x4a0511,_0x35209d=_0x179edb[_0x2d040b(0xd3)]-0x1,_0x4902f7;_0x35209d>=0x0;_0x35209d--)(_0x4902f7=_0x179edb[_0x35209d])&&(_0x42a2f7=(_0x30a184?_0x4902f7(_0x4a0511,_0x4366ce,_0x42a2f7):_0x4902f7(_0x42a2f7))||_0x42a2f7);return _0x30a184&&_0x42a2f7&&Ba(_0x4a0511,_0x4366ce,_0x42a2f7),_0x42a2f7;},ke=(_0x128f84,_0x29a993)=>(_0x5c0804,_0x361b6c)=>_0x29a993(_0x5c0804,_0x361b6c,_0x128f84);let Mt=class extends _0x43d55d{constructor(_0x41bd89,_0x3e10c5,_0x278ca7,_0x41d53e,_0x256cd6,_0x46f923){const _0x257389=_0x30c112;super(),this[_0x257389(0x44c)]=_0x41bd89,this[_0x257389(0x123)]=_0x3e10c5,this[_0x257389(0x118)]=_0x278ca7,this[_0x257389(0x17a)]=_0x41d53e,this['_snapshotService']=_0x256cd6,_0x46f923?_0x46f923==null||_0x46f923[_0x257389(0x198)]()['then'](()=>this['_init']()):(this[_0x257389(0x123)][_0x257389(0x19b)](_0x257389(0x14f),_0x257389(0x2bf)),this[_0x257389(0x38c)]());}async[_0x30c112(0x38c)](){const _0x17014d=_0x30c112,_0x449081=this[_0x17014d(0x44c)]['getParam'](_0x17014d(0xb2)),_0x1788f8=this[_0x17014d(0x44c)][_0x17014d(0x2c2)](_0x17014d(0x2a5));if(!_0x449081||!_0x1788f8){this[_0x17014d(0x123)][_0x17014d(0x19b)](_0x17014d(0x14f),_0x17014d(0xad));return;}switch(Number(_0x1788f8)){case ae[_0x17014d(0x335)]:{const _0x3d39b2=await this[_0x17014d(0x2d1)](_0x449081);this[_0x17014d(0x21f)](_0x3d39b2);break;}case ae[_0x17014d(0x1d7)]:{await this[_0x17014d(0x240)](_0x449081);break;}default:{this[_0x17014d(0x123)][_0x17014d(0x3de)](_0x17014d(0x14f),_0x17014d(0xf7));break;}}}async[_0x30c112(0x21f)](_0x296b56){const _0x7441f3=_0x30c112;await this[_0x7441f3(0x22e)](_0x296b56),_0x296b56[_0x7441f3(0x1ec)]['pipe'](_0x4d1973(this[_0x7441f3(0x3e7)]))['subscribe'](_0x2d2b09=>{const _0x2e7cee=_0x7441f3;_0x2d2b09&&this[_0x2e7cee(0x160)](_0x2d2b09);}),this[_0x7441f3(0x44c)][_0x7441f3(0x343)][_0x7441f3(0x27c)](_0x4d1973(this[_0x7441f3(0x3e7)]))[_0x7441f3(0x196)](()=>this['_updateSubUnitFromURLParams'](_0x296b56));}[_0x30c112(0x160)](_0x22c195,_0x5979aa=!0x1){const _0x1a3d21=_0x30c112,_0x29e608=this[_0x1a3d21(0x44c)][_0x1a3d21(0x2c2)](_0x1a3d21(0x28b));_0x22c195[_0x1a3d21(0x396)]()!==_0x29e608&&this[_0x1a3d21(0x44c)]['setParam'](_0x1a3d21(0x28b),_0x22c195[_0x1a3d21(0x396)](),_0x5979aa);}async['_updateSubUnitFromURLParams'](_0x43fa40){const _0x47b46c=_0x30c112;var _0x56cfba;const _0x2175c5=this[_0x47b46c(0x44c)][_0x47b46c(0x2c2)](_0x47b46c(0x28b));if(!_0x2175c5||!_0x43fa40[_0x47b46c(0x29f)](_0x2175c5)){const _0x5a7a65=_0x43fa40[_0x47b46c(0x35e)]()[0x0],_0x1c8a1f=_0x43fa40[_0x47b46c(0x29f)](_0x5a7a65);if(!_0x1c8a1f)return;this[_0x47b46c(0x160)](_0x1c8a1f,!0x0),await this[_0x47b46c(0x118)][_0x47b46c(0x15e)](_0x1d2b26['id'],{'unitId':_0x43fa40['getUnitId'](),'subUnitId':_0x5a7a65});return;}((_0x56cfba=_0x43fa40[_0x47b46c(0x416)]())==null?void 0x0:_0x56cfba[_0x47b46c(0x396)]())!==_0x2175c5&&await this[_0x47b46c(0x118)]['executeCommand'](_0x1d2b26['id'],{'unitId':_0x43fa40[_0x47b46c(0x480)](),'subUnitId':_0x2175c5});}async[_0x30c112(0x2d1)](_0x1cf49e){const _0x2173dc=_0x30c112;let _0xd9070e=0x0;const _0xda64fc=await this[_0x2173dc(0x17a)]['loadOfflineData'](_0x1cf49e);return _0xda64fc&&(_0xda64fc['awaitingChangeset']||_0xda64fc[_0x2173dc(0xa0)]['length']!==0x0)&&(_0xd9070e=_0xda64fc[_0x2173dc(0x41f)]),_0xd9070e===0x0&&this[_0x2173dc(0x123)][_0x2173dc(0x19b)](_0x2173dc(0x14f),_0x2173dc(0x26f)),this['_snapshotService']['loadSheet'](_0x1cf49e,_0xd9070e);}async[_0x30c112(0x240)](_0x2240e5){const _0x413844=_0x30c112;let _0x4cd6e8=0x0;const _0xe54fb1=await this[_0x413844(0x17a)]['loadOfflineData'](_0x2240e5);return _0xe54fb1&&(_0xe54fb1[_0x413844(0x17c)]||_0xe54fb1[_0x413844(0xa0)][_0x413844(0xd3)]!==0x0)&&(_0x4cd6e8=_0xe54fb1[_0x413844(0x41f)]),_0x4cd6e8===0x0&&this[_0x413844(0x123)][_0x413844(0x19b)]('[DataLoaderController]',_0x413844(0x26f)),this['_snapshotService'][_0x413844(0x180)](_0x2240e5,_0x4cd6e8);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0x164f73),ke(0x2,_0x3364ad),ke(0x3,_0x1273b4(z)),ke(0x4,_0x1273b4(_0x5ad125)),ke(0x5,_0xe30079(_0x2f6c41))],Mt);var Fa=Object['defineProperty'],Va=Object[_0x30c112(0x1e3)],Ga=(_0x27d53f,_0x1a8f23,_0x510961,_0x51f34d)=>{const _0xa813ce=_0x30c112;for(var _0x4b99b2=_0x51f34d>0x1?void 0x0:_0x51f34d?Va(_0x1a8f23,_0x510961):_0x1a8f23,_0x23fe18=_0x27d53f[_0xa813ce(0xd3)]-0x1,_0x17766e;_0x23fe18>=0x0;_0x23fe18--)(_0x17766e=_0x27d53f[_0x23fe18])&&(_0x4b99b2=(_0x51f34d?_0x17766e(_0x1a8f23,_0x510961,_0x4b99b2):_0x17766e(_0x4b99b2))||_0x4b99b2);return _0x51f34d&&_0x4b99b2&&Fa(_0x1a8f23,_0x510961,_0x4b99b2),_0x4b99b2;},ai=(_0x20ad5a,_0x582228)=>(_0x3cba2e,_0x23bb30)=>_0x582228(_0x3cba2e,_0x23bb30,_0x20ad5a);const Ya=_0x30c112(0x332),Ka=_0x30c112(0xb4);let xt=class extends _0x2ea306{constructor(_0x1eda89,_0x326edf){const _0x12810f=_0x30c112;super(),this[_0x12810f(0x187)]=_0x1eda89,this['_configService']=_0x326edf,this[_0x12810f(0x38c)]();}['_init'](){const _0x5afa22=_0x30c112;this[_0x5afa22(0x12b)](this[_0x5afa22(0x187)][_0x5afa22(0x297)][_0x5afa22(0x196)](()=>{const _0x509867=_0x5afa22;var _0x132d81;const _0x5cf298=this[_0x509867(0x187)][_0x509867(0x142)]();let _0x51b298=(_0x132d81=this[_0x509867(0x42c)][_0x509867(0x116)](Ya))!=null?_0x132d81:Ka;_0x5cf298 instanceof _0x560d36&&(_0x51b298=_0x5cf298[_0x509867(0x3ab)]),document[_0x509867(0x2ca)]=_0x51b298;}));}};xt=Ga([ai(0x0,_0x1d1a83),ai(0x1,_0x4d1776)],xt);var qa=Object[_0x30c112(0x28e)],za=Object[_0x30c112(0x1e3)],Xa=(_0x160ed5,_0x2fa6b3,_0x5076d,_0x2fa9ec)=>{for(var _0xb05010=_0x2fa9ec>0x1?void 0x0:_0x2fa9ec?za(_0x2fa6b3,_0x5076d):_0x2fa6b3,_0x615dc2=_0x160ed5['length']-0x1,_0x4244a1;_0x615dc2>=0x0;_0x615dc2--)(_0x4244a1=_0x160ed5[_0x615dc2])&&(_0xb05010=(_0x2fa9ec?_0x4244a1(_0x2fa6b3,_0x5076d,_0xb05010):_0x4244a1(_0xb05010))||_0xb05010);return _0x2fa9ec&&_0xb05010&&qa(_0x2fa6b3,_0x5076d,_0xb05010),_0xb05010;},is=(_0x3283b5,_0x4447f5)=>(_0x69a2b8,_0x47c4ce)=>_0x4447f5(_0x69a2b8,_0x47c4ce,_0x3283b5);let Lt=class{constructor(_0x2a4c25,_0x5e71cb,_0x2db406){const _0x4c79b6=_0x30c112;this[_0x4c79b6(0x42c)]=_0x2a4c25,this[_0x4c79b6(0x159)]=_0x5e71cb,this[_0x4c79b6(0x267)]=_0x2db406,this[_0x4c79b6(0x427)]();}['init'](){const _0x476e29=_0x30c112;this[_0x476e29(0x159)][_0x476e29(0xf6)]({'priority':0x1,'interceptor':(_0x149202,_0x15e91f)=>_0x15e91f(_0x149202)['pipe'](_0x33819c(async _0x48d052=>{const _0x423a45=_0x476e29,_0x342846=_0x48d052;if(_0x342846[_0x423a45(0x463)]===0x191&&window[_0x423a45(0x1c2)](this[_0x423a45(0x267)]['t'](_0x423a45(0x353)))){const _0x291649=window[_0x423a45(0x39a)](window[_0x423a45(0x321)][_0x423a45(0x477)]);window[_0x423a45(0x321)]['href']=this[_0x423a45(0xec)]()+_0x423a45(0x1bb)+_0x291649;}return _0x342846;}))});}['_getLoginPath'](){const _0x307d25=_0x30c112;var _0x43f19a,_0x437136;const _0x35cd14=this[_0x307d25(0x42c)][_0x307d25(0x116)](Hn),_0x32b7ca=this['_configService'][_0x307d25(0x116)](Q);return(_0x437136=(_0x43f19a=_0x32b7ca==null?void 0x0:_0x32b7ca[_0x307d25(0x178)])!=null?_0x43f19a:_0x35cd14)!=null?_0x437136:jn;}};Lt=Xa([is(0x0,_0x4d1776),is(0x1,_0x1273b4(_0x259d97)),is(0x2,_0x1273b4(_0x582404))],Lt);var Ja=Object['defineProperty'],Za=Object[_0x30c112(0x1e3)],Qa=(_0x272dee,_0x2da54d,_0xe28cf6,_0x2923e0)=>{for(var _0x36a5f4=_0x2923e0>0x1?void 0x0:_0x2923e0?Za(_0x2da54d,_0xe28cf6):_0x2da54d,_0x527cf9=_0x272dee['length']-0x1,_0xe142e1;_0x527cf9>=0x0;_0x527cf9--)(_0xe142e1=_0x272dee[_0x527cf9])&&(_0x36a5f4=(_0x2923e0?_0xe142e1(_0x2da54d,_0xe28cf6,_0x36a5f4):_0xe142e1(_0x36a5f4))||_0x36a5f4);return _0x2923e0&&_0x36a5f4&&Ja(_0x2da54d,_0xe28cf6,_0x36a5f4),_0x36a5f4;},ci=(_0x48eccc,_0x37acc9)=>(_0x113af0,_0xd4c3d6)=>_0x37acc9(_0x113af0,_0xd4c3d6,_0x48eccc);const ir=_0x30c112(0x1e4),ec=_0x30c112(0x1bd);let ps=class extends _0x2ea306{constructor(_0x12f92e,_0x4d3f47){const _0x264768=_0x30c112;super(),this[_0x264768(0x1bc)]=_0x12f92e,this['_configService']=_0x4d3f47,this[_0x264768(0x469)]();}[_0x30c112(0x469)](){const _0x4710bf=_0x30c112,_0x2e7f14=this;this[_0x4710bf(0x12b)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x1478dc({'isMatch'(_0x2dc1a7){const _0x3b9695=_0x4710bf;var _0x424b61;if(_0x2dc1a7[_0x3b9695(0x415)]==='POST'&&((_0x424b61=_0x2dc1a7[_0x3b9695(0x299)])!=null&&_0x424b61[_0x3b9695(0x2f0)])){const {objectID:_0x25163c,objectType:_0x2fd912}=_0x2dc1a7[_0x3b9695(0x299)]['body']||{};if(!_0x25163c||_0x2fd912===void 0x0)return!0x1;const _0x42d6e8=_0x2e7f14[_0x3b9695(0x1ac)]()+'/'+_0x2fd912+'/object/'+_0x25163c+_0x3b9695(0x435);if(_0x2dc1a7[_0x3b9695(0xda)]===_0x42d6e8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x162854){const _0x543b67=_0x4710bf;var _0x231995;return(_0x231995=_0x162854['requestParams'])==null?void 0x0:_0x231995[_0x543b67(0x2f0)];},'mergeParamsToRequest'(_0x187dad,_0x41d17c){const _0x6d45ec=_0x4710bf,_0x5ce1df=_0x2e7f14[_0x6d45ec(0x1ac)]()+'/-/object/-/batch_allowed',_0x2441a5=_0x187dad['reduce']((_0x354a21,_0x3f4576)=>{const _0x1ebadf=_0x6d45ec,{unitID:_0xba65c8,objectID:_0x5b5ffe,objectType:_0x10bd61,actions:_0x56816a}=_0x3f4576;return _0x354a21[_0xba65c8]||(_0x354a21[_0xba65c8]={}),_0x354a21[_0xba65c8][_0x5b5ffe]||(_0x354a21[_0xba65c8][_0x5b5ffe]={'objectID':_0x5b5ffe,'objectType':_0x10bd61,'actions':[]}),_0x354a21[_0xba65c8][_0x5b5ffe][_0x1ebadf(0x365)]['push'](..._0x56816a),_0x354a21;},{}),_0x59f5c8=[];for(const _0x2cddb2 in _0x2441a5)for(const _0x31354e in _0x2441a5[_0x2cddb2]){const {actions:_0x11ba0e,objectType:_0x37cf69}=_0x2441a5[_0x2cddb2][_0x31354e],_0x134861=[...new Set(_0x11ba0e)];_0x59f5c8[_0x6d45ec(0xd6)]({'unitID':_0x2cddb2,'objectID':_0x31354e,'objectType':_0x37cf69,'actions':_0x134861});}return new _0x1aa034(_0x6d45ec(0x1f2),_0x5ce1df,{'headers':_0x41d17c[_0x6d45ec(0x2ee)],'withCredentials':_0x41d17c[_0x6d45ec(0x25e)],'responseType':_0x41d17c[_0x6d45ec(0x10b)],'body':{'requests':_0x59f5c8}});}},{'distributeResult'(_0x41db11,_0x29cd11){const _0x1ccf9d=_0x4710bf,{objectActions:_0x48d979}=_0x41db11;return _0x29cd11[_0x1ccf9d(0x1a2)](_0x41ebc7=>{const _0x1bb567=_0x1ccf9d,{unitID:_0x468c36,objectID:_0x3764a3,actions:_0x290b3c}=_0x41ebc7,_0x4fcaa8=_0x48d979[_0x1bb567(0x1a9)](_0x1b03f4=>_0x1b03f4[_0x1bb567(0x499)]===_0x468c36&&_0x1b03f4[_0x1bb567(0x18e)]===_0x3764a3),_0x388ef5=_0x290b3c[_0x1bb567(0x1a2)](_0x3da48f=>_0x4fcaa8==null?void 0x0:_0x4fcaa8['actions']['find'](_0x5661d7=>_0x5661d7[_0x1bb567(0x137)]===_0x3da48f))[_0x1bb567(0x235)](_0x49e290=>!!_0x49e290);return{'config':_0x41ebc7,'result':{'actions':_0x388ef5,'error':_0x41db11[_0x1bb567(0x3de)]}};});}})}));}[_0x30c112(0x1ac)](){const _0x5bcd36=_0x30c112;var _0x336731,_0x18ba88;const _0x3d5e68=this['_configService'][_0x5bcd36(0x116)](ir),_0x17d786=this['_configService'][_0x5bcd36(0x116)](Q);return(_0x18ba88=(_0x336731=_0x17d786==null?void 0x0:_0x17d786['authzUrl'])!=null?_0x336731:_0x3d5e68)!=null?_0x18ba88:ec;}async[_0x30c112(0x121)](_0x4f807d){const _0x345552=_0x30c112,_0x5bc202=this[_0x345552(0x1ac)]()+'/'+_0x4f807d[_0x345552(0x12e)]+_0x345552(0x352);return(await this[_0x345552(0x1bc)][_0x345552(0x46e)](_0x5bc202,{'body':_0x4f807d}))[_0x345552(0x2f0)][_0x345552(0x18e)]||'';}async[_0x30c112(0x390)](_0x316f2c){const _0x6d70f=_0x30c112,_0x279835=this[_0x6d70f(0x1ac)]()+_0x6d70f(0x348);return(await this[_0x6d70f(0x1bc)][_0x6d70f(0x46e)](_0x279835,{'body':_0x316f2c}))[_0x6d70f(0x2f0)][_0x6d70f(0xa5)];}async[_0x30c112(0x227)](_0x59d79d){const _0x3bc4b8=_0x30c112,_0xa39166=this[_0x3bc4b8(0x1ac)]()+'/'+_0x59d79d[_0x3bc4b8(0x12e)]+_0x3bc4b8(0x47e)+_0x59d79d[_0x3bc4b8(0x18e)];await this[_0x3bc4b8(0x1bc)][_0x3bc4b8(0x496)](_0xa39166,{'body':_0x59d79d});}async[_0x30c112(0x2a7)](_0x4c996d){const _0x59f8b9=_0x30c112,_0x210c2a=this[_0x59f8b9(0x1ac)]()+'/'+_0x4c996d[_0x59f8b9(0x12e)]+_0x59f8b9(0x47e)+_0x4c996d[_0x59f8b9(0x18e)]+_0x59f8b9(0x435);return(await this[_0x59f8b9(0x1bc)][_0x59f8b9(0x46e)](_0x210c2a,{'body':_0x4c996d}))['body'][_0x59f8b9(0x365)];}async[_0x30c112(0x154)](_0x27fe24){const _0x74f744=_0x30c112,_0x59f4c2=this[_0x74f744(0x1ac)]()+'/-/object/-/batch_allowed';return(await this[_0x74f744(0x1bc)][_0x74f744(0x46e)](_0x59f4c2,{'body':{'requests':_0x27fe24}}))['body'][_0x74f744(0x3a6)];}async['listRoles'](_0x551d76){const _0x129155=_0x30c112,_0x414ffe=this[_0x129155(0x1ac)]()+'/'+_0x551d76[_0x129155(0x12e)]+_0x129155(0x244),_0xbf4a49=await this['_HTTPService'][_0x129155(0x46e)](_0x414ffe,{'body':_0x551d76});return{'roles':_0xbf4a49[_0x129155(0x2f0)][_0x129155(0x3ea)],'actions':_0xbf4a49['body'][_0x129155(0x365)]};}async[_0x30c112(0xff)](_0x3c8b4a){const _0x322343=_0x30c112,_0x20236c=this[_0x322343(0x1ac)]()+_0x322343(0x15a);await this['_HTTPService'][_0x322343(0x26a)](_0x20236c,{'params':{'collaboratorID':_0x3c8b4a['collaboratorID'],'objectID':_0x3c8b4a[_0x322343(0x18e)],'unitID':_0x3c8b4a[_0x322343(0x499)]}});}async[_0x30c112(0x175)](_0xc0b045){const _0x156857=_0x30c112,_0x609260=this[_0x156857(0x1ac)]()+'/collaborator';await this[_0x156857(0x1bc)][_0x156857(0x32a)](_0x609260,{'body':_0xc0b045});}async[_0x30c112(0x283)](_0x1f3c57){const _0x4bc727=_0x30c112,_0x161089=this[_0x4bc727(0x1ac)]()+_0x4bc727(0x15a);await this[_0x4bc727(0x1bc)][_0x4bc727(0x46e)](_0x161089,{'body':_0x1f3c57});}async[_0x30c112(0x215)](_0x238a84){const _0x381e2c=_0x30c112,_0x5aad9b=this['_getAPIPrefixPath']()+_0x381e2c(0x15a);return(await this[_0x381e2c(0x1bc)][_0x381e2c(0x3f6)](_0x5aad9b,{'params':{'objectID':_0x238a84[_0x381e2c(0x18e)],'unitID':_0x238a84[_0x381e2c(0x499)]}}))[_0x381e2c(0x2f0)][_0x381e2c(0x268)];}async['putCollaborators'](_0x2022f7){const _0x1aa2fd=_0x30c112,_0x3a8173=this['_getAPIPrefixPath']()+_0x1aa2fd(0x15a);await this[_0x1aa2fd(0x1bc)][_0x1aa2fd(0x496)](_0x3a8173,{'body':_0x2022f7});}};ps=Qa([ci(0x0,_0x1273b4(_0x259d97)),ci(0x1,_0x1273b4(_0x4d1776))],ps);var dt={'exports':{}};function tc(_0xc50311){const _0x286f82=_0x30c112;throw new Error(_0x286f82(0x26c)+_0xc50311+_0x286f82(0x36a));}var ft={'exports':{}},sc=ft[_0x30c112(0x3a1)],hi;function _e(){const _0x5c49a4=_0x30c112;return hi||(hi=0x1,function(_0x224187,_0x2ee495){(function(_0x1467c3,_0x3adf84){_0x224187['exports']=_0x3adf84();}(sc,function(){var _0x259f53=_0x259f53||function(_0x19f973,_0x33b51e){const _0x4f3508=_0x2ebf;var _0xa21de5;if(typeof window<'u'&&window[_0x4f3508(0x3f3)]&&(_0xa21de5=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xa21de5=self[_0x4f3508(0x3f3)]),typeof globalThis<'u'&&globalThis[_0x4f3508(0x3f3)]&&(_0xa21de5=globalThis[_0x4f3508(0x3f3)]),!_0xa21de5&&typeof window<'u'&&window['msCrypto']&&(_0xa21de5=window[_0x4f3508(0x42d)]),!_0xa21de5&&typeof ts<'u'&&ts['crypto']&&(_0xa21de5=ts['crypto']),!_0xa21de5&&typeof tc=='function')try{_0xa21de5=require(_0x4f3508(0x3f3));}catch{}var _0x42c465=function(){const _0x1370d1=_0x4f3508;if(_0xa21de5){if(typeof _0xa21de5[_0x1370d1(0x2f1)]==_0x1370d1(0x42e))try{return _0xa21de5[_0x1370d1(0x2f1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xa21de5[_0x1370d1(0x192)]==_0x1370d1(0x42e))try{return _0xa21de5['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1370d1(0x3b0));},_0x12e5f5=Object[_0x4f3508(0x121)]||(function(){function _0x27907d(){}return function(_0x452893){const _0x4d7b6e=_0x2ebf;var _0x265a2f;return _0x27907d['prototype']=_0x452893,_0x265a2f=new _0x27907d(),_0x27907d[_0x4d7b6e(0x107)]=null,_0x265a2f;};}()),_0x205ca6={},_0x3a900e=_0x205ca6[_0x4f3508(0x3d0)]={},_0x4def09=_0x3a900e['Base']=(function(){return{'extend':function(_0x1c6f99){const _0x214764=_0x2ebf;var _0x4e6b6e=_0x12e5f5(this);return _0x1c6f99&&_0x4e6b6e['mixIn'](_0x1c6f99),(!_0x4e6b6e[_0x214764(0x3f1)]('init')||this['init']===_0x4e6b6e['init'])&&(_0x4e6b6e['init']=function(){const _0x5549cc=_0x214764;_0x4e6b6e['$super'][_0x5549cc(0x427)][_0x5549cc(0x2a1)](this,arguments);}),_0x4e6b6e['init']['prototype']=_0x4e6b6e,_0x4e6b6e['$super']=this,_0x4e6b6e;},'create':function(){const _0x433f78=_0x2ebf;var _0x555f1d=this[_0x433f78(0x377)]();return _0x555f1d['init']['apply'](_0x555f1d,arguments),_0x555f1d;},'init':function(){},'mixIn':function(_0x249329){const _0x15d252=_0x2ebf;for(var _0x4d9f3f in _0x249329)_0x249329['hasOwnProperty'](_0x4d9f3f)&&(this[_0x4d9f3f]=_0x249329[_0x4d9f3f]);_0x249329[_0x15d252(0x3f1)]('toString')&&(this['toString']=_0x249329[_0x15d252(0x1ae)]);},'clone':function(){const _0x5216a6=_0x2ebf;return this[_0x5216a6(0x427)][_0x5216a6(0x107)]['extend'](this);}};}()),_0x14a038=_0x3a900e[_0x4f3508(0xae)]=_0x4def09[_0x4f3508(0x377)]({'init':function(_0x2fbdd8,_0x5c22b3){const _0x21f460=_0x4f3508;_0x2fbdd8=this[_0x21f460(0x193)]=_0x2fbdd8||[],_0x5c22b3!=_0x33b51e?this[_0x21f460(0x18a)]=_0x5c22b3:this[_0x21f460(0x18a)]=_0x2fbdd8[_0x21f460(0xd3)]*0x4;},'toString':function(_0x360e9f){const _0x41d697=_0x4f3508;return(_0x360e9f||_0x3131dd)[_0x41d697(0x19d)](this);},'concat':function(_0x1a5f27){const _0x5d1e68=_0x4f3508;var _0x82ae32=this[_0x5d1e68(0x193)],_0x3e7245=_0x1a5f27[_0x5d1e68(0x193)],_0x4f0a20=this[_0x5d1e68(0x18a)],_0x3ee3c7=_0x1a5f27['sigBytes'];if(this['clamp'](),_0x4f0a20%0x4)for(var _0x509ef5=0x0;_0x509ef5<_0x3ee3c7;_0x509ef5++){var _0x30c74a=_0x3e7245[_0x509ef5>>>0x2]>>>0x18-_0x509ef5%0x4*0x8&0xff;_0x82ae32[_0x4f0a20+_0x509ef5>>>0x2]|=_0x30c74a<<0x18-(_0x4f0a20+_0x509ef5)%0x4*0x8;}else{for(var _0x4e6db6=0x0;_0x4e6db6<_0x3ee3c7;_0x4e6db6+=0x4)_0x82ae32[_0x4f0a20+_0x4e6db6>>>0x2]=_0x3e7245[_0x4e6db6>>>0x2];}return this['sigBytes']+=_0x3ee3c7,this;},'clamp':function(){const _0x1a0ed2=_0x4f3508;var _0x3983f1=this['words'],_0x154fd3=this[_0x1a0ed2(0x18a)];_0x3983f1[_0x154fd3>>>0x2]&=0xffffffff<<0x20-_0x154fd3%0x4*0x8,_0x3983f1[_0x1a0ed2(0xd3)]=_0x19f973['ceil'](_0x154fd3/0x4);},'clone':function(){const _0x397b2d=_0x4f3508;var _0x53bf09=_0x4def09['clone']['call'](this);return _0x53bf09['words']=this['words'][_0x397b2d(0x2fa)](0x0),_0x53bf09;},'random':function(_0x21c157){const _0x146041=_0x4f3508;for(var _0x183439=[],_0x52224b=0x0;_0x52224b<_0x21c157;_0x52224b+=0x4)_0x183439[_0x146041(0xd6)](_0x42c465());return new _0x14a038[(_0x146041(0x427))](_0x183439,_0x21c157);}}),_0x1e2e03=_0x205ca6[_0x4f3508(0x188)]={},_0x3131dd=_0x1e2e03[_0x4f3508(0x453)]={'stringify':function(_0x1afd24){const _0x354de8=_0x4f3508;for(var _0x48ecbf=_0x1afd24['words'],_0x285ea3=_0x1afd24['sigBytes'],_0x2b77fd=[],_0x66cc91=0x0;_0x66cc91<_0x285ea3;_0x66cc91++){var _0x1c8dc3=_0x48ecbf[_0x66cc91>>>0x2]>>>0x18-_0x66cc91%0x4*0x8&0xff;_0x2b77fd['push']((_0x1c8dc3>>>0x4)[_0x354de8(0x1ae)](0x10)),_0x2b77fd[_0x354de8(0xd6)]((_0x1c8dc3&0xf)[_0x354de8(0x1ae)](0x10));}return _0x2b77fd[_0x354de8(0x179)]('');},'parse':function(_0x534231){for(var _0x44de8a=_0x534231['length'],_0x16c7d8=[],_0x1fff5d=0x0;_0x1fff5d<_0x44de8a;_0x1fff5d+=0x2)_0x16c7d8[_0x1fff5d>>>0x3]|=parseInt(_0x534231['substr'](_0x1fff5d,0x2),0x10)<<0x18-_0x1fff5d%0x8*0x4;return new _0x14a038['init'](_0x16c7d8,_0x44de8a/0x2);}},_0x1a168f=_0x1e2e03[_0x4f3508(0x41a)]={'stringify':function(_0x18015f){const _0x270203=_0x4f3508;for(var _0x1fa884=_0x18015f['words'],_0x21a485=_0x18015f[_0x270203(0x18a)],_0xef1cc6=[],_0x1cb21d=0x0;_0x1cb21d<_0x21a485;_0x1cb21d++){var _0x45696f=_0x1fa884[_0x1cb21d>>>0x2]>>>0x18-_0x1cb21d%0x4*0x8&0xff;_0xef1cc6['push'](String['fromCharCode'](_0x45696f));}return _0xef1cc6[_0x270203(0x179)]('');},'parse':function(_0x274ba9){const _0x34dd18=_0x4f3508;for(var _0x24bf01=_0x274ba9[_0x34dd18(0xd3)],_0x1c78b6=[],_0x287d59=0x0;_0x287d59<_0x24bf01;_0x287d59++)_0x1c78b6[_0x287d59>>>0x2]|=(_0x274ba9[_0x34dd18(0x1b5)](_0x287d59)&0xff)<<0x18-_0x287d59%0x4*0x8;return new _0x14a038[(_0x34dd18(0x427))](_0x1c78b6,_0x24bf01);}},_0x54e91f=_0x1e2e03[_0x4f3508(0x32c)]={'stringify':function(_0x57ae1b){const _0x224b59=_0x4f3508;try{return decodeURIComponent(escape(_0x1a168f[_0x224b59(0x19d)](_0x57ae1b)));}catch{throw new Error(_0x224b59(0x300));}},'parse':function(_0x3fedb9){const _0x3dd3c6=_0x4f3508;return _0x1a168f[_0x3dd3c6(0x173)](unescape(encodeURIComponent(_0x3fedb9)));}},_0xd60a60=_0x3a900e[_0x4f3508(0x29e)]=_0x4def09[_0x4f3508(0x377)]({'reset':function(){const _0x4e8d56=_0x4f3508;this[_0x4e8d56(0x3c0)]=new _0x14a038[(_0x4e8d56(0x427))](),this['_nDataBytes']=0x0;},'_append':function(_0x5eab67){const _0x14f9a4=_0x4f3508;typeof _0x5eab67==_0x14f9a4(0x3e8)&&(_0x5eab67=_0x54e91f[_0x14f9a4(0x173)](_0x5eab67)),this[_0x14f9a4(0x3c0)][_0x14f9a4(0x388)](_0x5eab67),this['_nDataBytes']+=_0x5eab67['sigBytes'];},'_process':function(_0x1eba32){const _0x2772c5=_0x4f3508;var _0x49993a,_0x88b7b4=this[_0x2772c5(0x3c0)],_0x591b58=_0x88b7b4[_0x2772c5(0x193)],_0x497ba8=_0x88b7b4['sigBytes'],_0x10ef79=this[_0x2772c5(0x117)],_0x280ff9=_0x10ef79*0x4,_0xfe9a5c=_0x497ba8/_0x280ff9;_0x1eba32?_0xfe9a5c=_0x19f973[_0x2772c5(0x251)](_0xfe9a5c):_0xfe9a5c=_0x19f973[_0x2772c5(0x10f)]((_0xfe9a5c|0x0)-this[_0x2772c5(0x22b)],0x0);var _0x4d364d=_0xfe9a5c*_0x10ef79,_0x5b9687=_0x19f973[_0x2772c5(0x275)](_0x4d364d*0x4,_0x497ba8);if(_0x4d364d){for(var _0x49b453=0x0;_0x49b453<_0x4d364d;_0x49b453+=_0x10ef79)this['_doProcessBlock'](_0x591b58,_0x49b453);_0x49993a=_0x591b58[_0x2772c5(0x112)](0x0,_0x4d364d),_0x88b7b4[_0x2772c5(0x18a)]-=_0x5b9687;}return new _0x14a038[(_0x2772c5(0x427))](_0x49993a,_0x5b9687);},'clone':function(){const _0x4d4126=_0x4f3508;var _0x226d9d=_0x4def09[_0x4d4126(0x307)][_0x4d4126(0xb6)](this);return _0x226d9d[_0x4d4126(0x3c0)]=this[_0x4d4126(0x3c0)][_0x4d4126(0x307)](),_0x226d9d;},'_minBufferSize':0x0});_0x3a900e['Hasher']=_0xd60a60['extend']({'cfg':_0x4def09[_0x4f3508(0x377)](),'init':function(_0x2276ca){const _0x17183b=_0x4f3508;this[_0x17183b(0xf1)]=this[_0x17183b(0xf1)]['extend'](_0x2276ca),this[_0x17183b(0x3f9)]();},'reset':function(){const _0x18bcaf=_0x4f3508;_0xd60a60[_0x18bcaf(0x3f9)]['call'](this),this[_0x18bcaf(0x420)]();},'update':function(_0x24b515){const _0x52a8b4=_0x4f3508;return this[_0x52a8b4(0x3c5)](_0x24b515),this[_0x52a8b4(0x450)](),this;},'finalize':function(_0x4ffc4c){const _0x13695a=_0x4f3508;_0x4ffc4c&&this[_0x13695a(0x3c5)](_0x4ffc4c);var _0x10dd2c=this['_doFinalize']();return _0x10dd2c;},'blockSize':0x10,'_createHelper':function(_0x7d295b){return function(_0x212d0c,_0x28a632){const _0x3b461c=_0x2ebf;return new _0x7d295b[(_0x3b461c(0x427))](_0x28a632)[_0x3b461c(0x344)](_0x212d0c);};},'_createHmacHelper':function(_0x34fb82){return function(_0xdf0254,_0xe06588){const _0x4d030c=_0x2ebf;return new _0x5d8a04[(_0x4d030c(0x2b3))][(_0x4d030c(0x427))](_0x34fb82,_0xe06588)[_0x4d030c(0x344)](_0xdf0254);};}});var _0x5d8a04=_0x205ca6['algo']={};return _0x205ca6;}(Math);return _0x259f53;}));}(ft)),ft[_0x5c49a4(0x3a1)];}var vt={'exports':{}},ic=vt[_0x30c112(0x3a1)],li;function rr(){const _0x299600=_0x30c112;return li||(li=0x1,function(_0x2b6618,_0x3c58f0){(function(_0x388b6d,_0x4f24c8){const _0x1be1c5=_0x2ebf;_0x2b6618[_0x1be1c5(0x3a1)]=_0x4f24c8(_e());}(ic,function(_0x3eb134){const _0x2d7adf=_0x2ebf;return(function(){const _0x5ebd1c=_0x2ebf;var _0x5e861a=_0x3eb134,_0x19f324=_0x5e861a[_0x5ebd1c(0x3d0)],_0x591039=_0x19f324[_0x5ebd1c(0xae)],_0x36df3e=_0x5e861a[_0x5ebd1c(0x188)];_0x36df3e[_0x5ebd1c(0x440)]={'stringify':function(_0x133a2e){const _0x4e8572=_0x5ebd1c;var _0x2df560=_0x133a2e[_0x4e8572(0x193)],_0x41e8ad=_0x133a2e[_0x4e8572(0x18a)],_0x462460=this['_map'];_0x133a2e['clamp']();for(var _0x4aca13=[],_0x5d9e24=0x0;_0x5d9e24<_0x41e8ad;_0x5d9e24+=0x3)for(var _0x4d79ed=_0x2df560[_0x5d9e24>>>0x2]>>>0x18-_0x5d9e24%0x4*0x8&0xff,_0x198398=_0x2df560[_0x5d9e24+0x1>>>0x2]>>>0x18-(_0x5d9e24+0x1)%0x4*0x8&0xff,_0x56f41f=_0x2df560[_0x5d9e24+0x2>>>0x2]>>>0x18-(_0x5d9e24+0x2)%0x4*0x8&0xff,_0x43181=_0x4d79ed<<0x10|_0x198398<<0x8|_0x56f41f,_0x4880f7=0x0;_0x4880f7<0x4&&_0x5d9e24+_0x4880f7*0.75<_0x41e8ad;_0x4880f7++)_0x4aca13[_0x4e8572(0xd6)](_0x462460[_0x4e8572(0x3e0)](_0x43181>>>0x6*(0x3-_0x4880f7)&0x3f));var _0x190063=_0x462460[_0x4e8572(0x3e0)](0x40);if(_0x190063){for(;_0x4aca13[_0x4e8572(0xd3)]%0x4;)_0x4aca13[_0x4e8572(0xd6)](_0x190063);}return _0x4aca13[_0x4e8572(0x179)]('');},'parse':function(_0x2dfd54){const _0x29cac1=_0x5ebd1c;var _0x25ab89=_0x2dfd54[_0x29cac1(0xd3)],_0x5d94a4=this[_0x29cac1(0x1c4)],_0x1ef4ff=this[_0x29cac1(0x3fc)];if(!_0x1ef4ff){_0x1ef4ff=this[_0x29cac1(0x3fc)]=[];for(var _0x3bd875=0x0;_0x3bd875<_0x5d94a4[_0x29cac1(0xd3)];_0x3bd875++)_0x1ef4ff[_0x5d94a4[_0x29cac1(0x1b5)](_0x3bd875)]=_0x3bd875;}var _0x5eb031=_0x5d94a4[_0x29cac1(0x3e0)](0x40);if(_0x5eb031){var _0x2fa16c=_0x2dfd54[_0x29cac1(0x105)](_0x5eb031);_0x2fa16c!==-0x1&&(_0x25ab89=_0x2fa16c);}return _0x6378e(_0x2dfd54,_0x25ab89,_0x1ef4ff);},'_map':_0x5ebd1c(0x1da)};function _0x6378e(_0x54c93a,_0x418af6,_0x5395df){const _0x3e8724=_0x5ebd1c;for(var _0x540b72=[],_0x34bb7b=0x0,_0x471ccf=0x0;_0x471ccf<_0x418af6;_0x471ccf++)if(_0x471ccf%0x4){var _0x33a132=_0x5395df[_0x54c93a['charCodeAt'](_0x471ccf-0x1)]<<_0x471ccf%0x4*0x2,_0x11efe4=_0x5395df[_0x54c93a['charCodeAt'](_0x471ccf)]>>>0x6-_0x471ccf%0x4*0x2,_0x41c803=_0x33a132|_0x11efe4;_0x540b72[_0x34bb7b>>>0x2]|=_0x41c803<<0x18-_0x34bb7b%0x4*0x8,_0x34bb7b++;}return _0x591039[_0x3e8724(0x121)](_0x540b72,_0x34bb7b);}}()),_0x3eb134[_0x2d7adf(0x188)][_0x2d7adf(0x440)];}));}(vt)),vt[_0x299600(0x3a1)];}var pt={'exports':{}},rc=pt[_0x30c112(0x3a1)],_i;function nc(){const _0x11bdf0=_0x30c112;return _i||(_i=0x1,function(_0x47a821,_0x5628bf){(function(_0x2ec935,_0x386664){const _0x15c13c=_0x2ebf;_0x47a821[_0x15c13c(0x3a1)]=_0x386664(_e());}(rc,function(_0x39aa6d){const _0x579700=_0x2ebf;return function(_0x4c1562){const _0x311b60=_0x2ebf;var _0x54ef22=_0x39aa6d,_0x4d304f=_0x54ef22['lib'],_0x14ad8c=_0x4d304f['WordArray'],_0x102679=_0x4d304f[_0x311b60(0x2b0)],_0x1c0162=_0x54ef22[_0x311b60(0x292)],_0x1f1977=[];(function(){const _0x5ae1a0=_0x311b60;for(var _0x58b38d=0x0;_0x58b38d<0x40;_0x58b38d++)_0x1f1977[_0x58b38d]=_0x4c1562[_0x5ae1a0(0x49b)](_0x4c1562['sin'](_0x58b38d+0x1))*0x100000000|0x0;}());var _0x4b75ae=_0x1c0162[_0x311b60(0x2b7)]=_0x102679[_0x311b60(0x377)]({'_doReset':function(){const _0x24bc85=_0x311b60;this['_hash']=new _0x14ad8c[(_0x24bc85(0x427))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x387b72,_0x20dc31){const _0x2c7536=_0x311b60;for(var _0x272411=0x0;_0x272411<0x10;_0x272411++){var _0x4e12ae=_0x20dc31+_0x272411,_0x7e1ef0=_0x387b72[_0x4e12ae];_0x387b72[_0x4e12ae]=(_0x7e1ef0<<0x8|_0x7e1ef0>>>0x18)&0xff00ff|(_0x7e1ef0<<0x18|_0x7e1ef0>>>0x8)&0xff00ff00;}var _0x533e96=this[_0x2c7536(0x16c)][_0x2c7536(0x193)],_0x511fa9=_0x387b72[_0x20dc31+0x0],_0x7f139f=_0x387b72[_0x20dc31+0x1],_0x1e695f=_0x387b72[_0x20dc31+0x2],_0xcda019=_0x387b72[_0x20dc31+0x3],_0x4449b2=_0x387b72[_0x20dc31+0x4],_0x7178ff=_0x387b72[_0x20dc31+0x5],_0x1ef5b7=_0x387b72[_0x20dc31+0x6],_0x194031=_0x387b72[_0x20dc31+0x7],_0x4ddc9a=_0x387b72[_0x20dc31+0x8],_0x5bcb21=_0x387b72[_0x20dc31+0x9],_0xadf2e8=_0x387b72[_0x20dc31+0xa],_0x4403f6=_0x387b72[_0x20dc31+0xb],_0x1047c4=_0x387b72[_0x20dc31+0xc],_0x3173f7=_0x387b72[_0x20dc31+0xd],_0x3dfaaf=_0x387b72[_0x20dc31+0xe],_0x3d8492=_0x387b72[_0x20dc31+0xf],_0x50c28a=_0x533e96[0x0],_0x3c29ee=_0x533e96[0x1],_0x116d88=_0x533e96[0x2],_0x2fdbef=_0x533e96[0x3];_0x50c28a=_0x53f8c5(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x511fa9,0x7,_0x1f1977[0x0]),_0x2fdbef=_0x53f8c5(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x7f139f,0xc,_0x1f1977[0x1]),_0x116d88=_0x53f8c5(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x1e695f,0x11,_0x1f1977[0x2]),_0x3c29ee=_0x53f8c5(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0xcda019,0x16,_0x1f1977[0x3]),_0x50c28a=_0x53f8c5(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x4449b2,0x7,_0x1f1977[0x4]),_0x2fdbef=_0x53f8c5(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x7178ff,0xc,_0x1f1977[0x5]),_0x116d88=_0x53f8c5(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x1ef5b7,0x11,_0x1f1977[0x6]),_0x3c29ee=_0x53f8c5(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x194031,0x16,_0x1f1977[0x7]),_0x50c28a=_0x53f8c5(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x4ddc9a,0x7,_0x1f1977[0x8]),_0x2fdbef=_0x53f8c5(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x5bcb21,0xc,_0x1f1977[0x9]),_0x116d88=_0x53f8c5(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0xadf2e8,0x11,_0x1f1977[0xa]),_0x3c29ee=_0x53f8c5(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x4403f6,0x16,_0x1f1977[0xb]),_0x50c28a=_0x53f8c5(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x1047c4,0x7,_0x1f1977[0xc]),_0x2fdbef=_0x53f8c5(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x3173f7,0xc,_0x1f1977[0xd]),_0x116d88=_0x53f8c5(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x3dfaaf,0x11,_0x1f1977[0xe]),_0x3c29ee=_0x53f8c5(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x3d8492,0x16,_0x1f1977[0xf]),_0x50c28a=_0x3a05c9(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x7f139f,0x5,_0x1f1977[0x10]),_0x2fdbef=_0x3a05c9(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x1ef5b7,0x9,_0x1f1977[0x11]),_0x116d88=_0x3a05c9(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x4403f6,0xe,_0x1f1977[0x12]),_0x3c29ee=_0x3a05c9(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x511fa9,0x14,_0x1f1977[0x13]),_0x50c28a=_0x3a05c9(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x7178ff,0x5,_0x1f1977[0x14]),_0x2fdbef=_0x3a05c9(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0xadf2e8,0x9,_0x1f1977[0x15]),_0x116d88=_0x3a05c9(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x3d8492,0xe,_0x1f1977[0x16]),_0x3c29ee=_0x3a05c9(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x4449b2,0x14,_0x1f1977[0x17]),_0x50c28a=_0x3a05c9(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x5bcb21,0x5,_0x1f1977[0x18]),_0x2fdbef=_0x3a05c9(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x3dfaaf,0x9,_0x1f1977[0x19]),_0x116d88=_0x3a05c9(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0xcda019,0xe,_0x1f1977[0x1a]),_0x3c29ee=_0x3a05c9(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x4ddc9a,0x14,_0x1f1977[0x1b]),_0x50c28a=_0x3a05c9(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x3173f7,0x5,_0x1f1977[0x1c]),_0x2fdbef=_0x3a05c9(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x1e695f,0x9,_0x1f1977[0x1d]),_0x116d88=_0x3a05c9(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x194031,0xe,_0x1f1977[0x1e]),_0x3c29ee=_0x3a05c9(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x1047c4,0x14,_0x1f1977[0x1f]),_0x50c28a=_0x48a51d(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x7178ff,0x4,_0x1f1977[0x20]),_0x2fdbef=_0x48a51d(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x4ddc9a,0xb,_0x1f1977[0x21]),_0x116d88=_0x48a51d(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x4403f6,0x10,_0x1f1977[0x22]),_0x3c29ee=_0x48a51d(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x3dfaaf,0x17,_0x1f1977[0x23]),_0x50c28a=_0x48a51d(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x7f139f,0x4,_0x1f1977[0x24]),_0x2fdbef=_0x48a51d(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x4449b2,0xb,_0x1f1977[0x25]),_0x116d88=_0x48a51d(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x194031,0x10,_0x1f1977[0x26]),_0x3c29ee=_0x48a51d(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0xadf2e8,0x17,_0x1f1977[0x27]),_0x50c28a=_0x48a51d(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x3173f7,0x4,_0x1f1977[0x28]),_0x2fdbef=_0x48a51d(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x511fa9,0xb,_0x1f1977[0x29]),_0x116d88=_0x48a51d(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0xcda019,0x10,_0x1f1977[0x2a]),_0x3c29ee=_0x48a51d(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x1ef5b7,0x17,_0x1f1977[0x2b]),_0x50c28a=_0x48a51d(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x5bcb21,0x4,_0x1f1977[0x2c]),_0x2fdbef=_0x48a51d(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x1047c4,0xb,_0x1f1977[0x2d]),_0x116d88=_0x48a51d(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x3d8492,0x10,_0x1f1977[0x2e]),_0x3c29ee=_0x48a51d(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x1e695f,0x17,_0x1f1977[0x2f]),_0x50c28a=_0x1de00c(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x511fa9,0x6,_0x1f1977[0x30]),_0x2fdbef=_0x1de00c(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x194031,0xa,_0x1f1977[0x31]),_0x116d88=_0x1de00c(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x3dfaaf,0xf,_0x1f1977[0x32]),_0x3c29ee=_0x1de00c(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x7178ff,0x15,_0x1f1977[0x33]),_0x50c28a=_0x1de00c(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x1047c4,0x6,_0x1f1977[0x34]),_0x2fdbef=_0x1de00c(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0xcda019,0xa,_0x1f1977[0x35]),_0x116d88=_0x1de00c(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0xadf2e8,0xf,_0x1f1977[0x36]),_0x3c29ee=_0x1de00c(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x7f139f,0x15,_0x1f1977[0x37]),_0x50c28a=_0x1de00c(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x4ddc9a,0x6,_0x1f1977[0x38]),_0x2fdbef=_0x1de00c(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x3d8492,0xa,_0x1f1977[0x39]),_0x116d88=_0x1de00c(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x1ef5b7,0xf,_0x1f1977[0x3a]),_0x3c29ee=_0x1de00c(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x3173f7,0x15,_0x1f1977[0x3b]),_0x50c28a=_0x1de00c(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x4449b2,0x6,_0x1f1977[0x3c]),_0x2fdbef=_0x1de00c(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x4403f6,0xa,_0x1f1977[0x3d]),_0x116d88=_0x1de00c(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x1e695f,0xf,_0x1f1977[0x3e]),_0x3c29ee=_0x1de00c(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x5bcb21,0x15,_0x1f1977[0x3f]),_0x533e96[0x0]=_0x533e96[0x0]+_0x50c28a|0x0,_0x533e96[0x1]=_0x533e96[0x1]+_0x3c29ee|0x0,_0x533e96[0x2]=_0x533e96[0x2]+_0x116d88|0x0,_0x533e96[0x3]=_0x533e96[0x3]+_0x2fdbef|0x0;},'_doFinalize':function(){const _0x14db88=_0x311b60;var _0x1710b3=this[_0x14db88(0x3c0)],_0x24216b=_0x1710b3['words'],_0x5c09ba=this[_0x14db88(0x433)]*0x8,_0x5bd6ee=_0x1710b3[_0x14db88(0x18a)]*0x8;_0x24216b[_0x5bd6ee>>>0x5]|=0x80<<0x18-_0x5bd6ee%0x20;var _0x4cad6a=_0x4c1562[_0x14db88(0x3f8)](_0x5c09ba/0x100000000),_0x2b1801=_0x5c09ba;_0x24216b[(_0x5bd6ee+0x40>>>0x9<<0x4)+0xf]=(_0x4cad6a<<0x8|_0x4cad6a>>>0x18)&0xff00ff|(_0x4cad6a<<0x18|_0x4cad6a>>>0x8)&0xff00ff00,_0x24216b[(_0x5bd6ee+0x40>>>0x9<<0x4)+0xe]=(_0x2b1801<<0x8|_0x2b1801>>>0x18)&0xff00ff|(_0x2b1801<<0x18|_0x2b1801>>>0x8)&0xff00ff00,_0x1710b3[_0x14db88(0x18a)]=(_0x24216b[_0x14db88(0xd3)]+0x1)*0x4,this[_0x14db88(0x450)]();for(var _0x34a558=this['_hash'],_0x19ebbb=_0x34a558['words'],_0x25a117=0x0;_0x25a117<0x4;_0x25a117++){var _0x1556d2=_0x19ebbb[_0x25a117];_0x19ebbb[_0x25a117]=(_0x1556d2<<0x8|_0x1556d2>>>0x18)&0xff00ff|(_0x1556d2<<0x18|_0x1556d2>>>0x8)&0xff00ff00;}return _0x34a558;},'clone':function(){const _0xb99bb2=_0x311b60;var _0x5f0818=_0x102679[_0xb99bb2(0x307)][_0xb99bb2(0xb6)](this);return _0x5f0818[_0xb99bb2(0x16c)]=this[_0xb99bb2(0x16c)][_0xb99bb2(0x307)](),_0x5f0818;}});function _0x53f8c5(_0x327e69,_0x44c799,_0x4f43a6,_0x1d9130,_0x5ccc46,_0x2f7823,_0x11f732){var _0x2ef987=_0x327e69+(_0x44c799&_0x4f43a6|~_0x44c799&_0x1d9130)+_0x5ccc46+_0x11f732;return(_0x2ef987<<_0x2f7823|_0x2ef987>>>0x20-_0x2f7823)+_0x44c799;}function _0x3a05c9(_0x3a7fb2,_0x29d032,_0x362808,_0x57b474,_0x18464c,_0xa1f8d5,_0x14ebb9){var _0x53d9aa=_0x3a7fb2+(_0x29d032&_0x57b474|_0x362808&~_0x57b474)+_0x18464c+_0x14ebb9;return(_0x53d9aa<<_0xa1f8d5|_0x53d9aa>>>0x20-_0xa1f8d5)+_0x29d032;}function _0x48a51d(_0x3f8218,_0x3e5f7d,_0x478ee8,_0x535531,_0x398227,_0x21a8d7,_0x3eddff){var _0x25909f=_0x3f8218+(_0x3e5f7d^_0x478ee8^_0x535531)+_0x398227+_0x3eddff;return(_0x25909f<<_0x21a8d7|_0x25909f>>>0x20-_0x21a8d7)+_0x3e5f7d;}function _0x1de00c(_0x456064,_0x1ba07c,_0x2a73d4,_0x275b3e,_0x4d7968,_0x319eb0,_0x3bac52){var _0x307baf=_0x456064+(_0x2a73d4^(_0x1ba07c|~_0x275b3e))+_0x4d7968+_0x3bac52;return(_0x307baf<<_0x319eb0|_0x307baf>>>0x20-_0x319eb0)+_0x1ba07c;}_0x54ef22[_0x311b60(0x2b7)]=_0x102679[_0x311b60(0x1b3)](_0x4b75ae),_0x54ef22[_0x311b60(0x356)]=_0x102679[_0x311b60(0xc2)](_0x4b75ae);}(Math),_0x39aa6d[_0x579700(0x2b7)];}));}(pt)),pt[_0x11bdf0(0x3a1)];}var mt={'exports':{}},gt={'exports':{}},oc=gt[_0x30c112(0x3a1)],ui;function _0x3021(){const _0x54cf42=['object','awaiting','_onCursorUpdate','CHANGESET_SHOULD_RETRY','default','sessionStatus','getUnhiddenWorksheets','_docTransformSelectionsService','csRejEvent','clearInterval','_localeService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','actions','NOT_FOUND','_commentUpdate$','univer-online-status-icon','FETCH_MISSING','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','engine','asObservable','InsertRowCommandId','hostname','collab-client.tooltip.reconnect','_getCtorByUniverType','OFFLINE','_onLocalMutation','shouldCloseConn','colorChannel1','createInstance','transformUndoRedo','extend','for','HttpExport','replaceState','_clearCollaborationTimeoutTimer','createEncryptor','addObject','sheets','UNIVER_SLIDE','transformChangesets','session.room-not-exists','_getSessionTicket','_transformSelections','_prevBlock','745RVqSHw','_changesetSessionId','_collaborationPaused','concat','_createInitialStateImpl','_assignedColors','isPermissionRej','_init','_state','saveChangeset','createDecryptor','list','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','unknown','format','history','closeSession','getSheetId','_collabCursorController','PERMISSION_DENIED','_drawAnchor','encodeURIComponent','M0\x200H16V16H0z','_session','eventID','unload','width','setShapeProps','exports','SYNCED','makeDirty','hovered','symbol','objectActions','top','docStateChange$','SHA1','collabCursorState$','name','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','univer-online','NEW_CHANGESETS','getValue','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','saveImage','_waitForHeartbeatResponse','JOIN_ROOM_PERMISSION_DENIED','close$','_onCursorDelete','getUndoRedoMutationParamsCache','updateMember','_collabSessionService','_transformService','PSEUDO_FETCH_MISSING_RESULT','path','key','SEND_CHANGESET_TIMEOUT','_registerDependencies','_imageIoService','_data','popstate','_hasher','defs','_instanceService','_append','MoveRangeCommandId','_shouldReportTelemetry','_transformUndoredo','userID','AWAITING','liveShareNewHost','[UniverCollaborationClientPlugin]','submit\x20changeset\x20error!','subscribeEvent','_hideTimer','lib','0\x200\x2017\x2016','m1Prime','updateOfflineData','transformByState','enableLocalCache','override','[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.','[FetchMissState]','_mode','_parse','loadOfflineData','_commentService','_fetchMissChangesets','error','not_collab','charAt','\x20to\x20','&source=','Undefined','_getUndoStack','getCellPositionByOffset','_keyPriorReset','dispose$','string','_invKeySchedule','roles','onlyLocal','_socketService','CHANGESET_REVISION_CONFILICT','send','close','show','hasOwnProperty','_shapes','crypto','_getRedoStack','_collabCursorState$','get','/universer-api/file/{fileID}/sign-url','floor','reset','transformStack\x20failed!','univer-pro.collaboration-client-socket-service','_reverseMap','attrs','setInterval','text','jiqing500','_sendHeartbeatTimer','_sessionStatus$','UnitSnapshot','_color','getMergeData','LOCAL_CACHE_INTERVAL','syncEditingCollabCursor','some','_cursorShapes','1278294SlRguq','getRoom','_backgroundColor','Encryptor','68570pERgil','getUnit','_render','originalMeta','gold400','off-line-single','_collaborationTimeoutTimer','method','getActiveSheet','current','BASE64','_applyRemoteChangeset','Latin1','then','_rescheduleHeartbeat','getSheetBlock','enableOfflineEditing','rev','_doReset','IDLE','roomMembers','transformMutation','_event$','randomUUID','_scheduleTimestamp','init','_remoteChangesetQueue','HEARTBEAT_TIMEOUT','_startDocCollabCursor','_startCollaboration','_configService','msCrypto','function','collaboration-client.config','state','/universer-api/user/session-ticket','appendMutation','_nDataBytes','_handleJoinEvent','/allowed','_setupBeforeClosingHandler','CONNECTOR_DATA_TOO_LARGE','ciphertext','_draw','StreamCipher','APPLY_DUPLICATED','_keySchedule','unpad','[CollaborationSessionService]:\x20socket\x20error','_timeoutTimer','Base64','pauseCollaboration','_onRefRangeChange','_onCombEvent','_renderManagerService','onload','_onRemoteACK','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCursorEvent','_undoStacks','session.connection-failed','_joinRoom','_urlService','[CollaborationSessionService]','UNIVER_PROJECT','_substituteRedoStack','_process','_candidateSocket','members','Hex','[OfflineState]:\x20received\x20acknowledgement.','_acknowledgedAwaitingChangeset','NOT_COLLAB','getCurrentSelections','icon','APPLY_NON_SEQUENTIAL_REVISION','sheetId','_snapshotServerService','1em','src','flatMap','row','_checkMissing','_hovered','_getUploadFileURL','status','_document','INVALID_ARGUMENT','_cursor','_awaitingChangeset','padding','_initMergeInterceptor','commentUpdate$','telemetry\x20info\x20is\x20not\x20initialized','conflict','LICENSE_EXPORT_SIZE_EXCEEDED','post','_getAnchorBounding','[CollaborationSession]','red300','bind','_notificationService','PERMISSION_REJ','triggerDblclick','addObjects','href','\x20-\x20','RETRY_CONNECTING_MAX_COUNT','csAckEvent','onTransformSelections','_removeClearOtherTimer','sid','/object/','#FFF','getUnitId','evenodd','onCommandExecuted','_sendHeartbeat','_clearHeartbeatTimer','502288WFPlks','_saveTaskMap','toggleOnline','1224330fYCjqb','assign','FromArray','every','_incrementRevisionNumber','hasher','_createSocket','_clearOtherTimers','conflict.title','reject','collaboration-client.offline-data-not-saved','fetchMissingChangesets','_unlockTransition','APPLY_REJECT','put','_transformRemoteChangesetByStateCache','univer-online-status-title','unitID','clamp','abs','_onConnectionFailed','_doFinalize','split','fillText','onStarting','code','socketService','image/png','getInterceptPoints','LICENSE_IMPORT_SIZE_EXCEEDED','sendChangesetTimeout','xlink:href','getMemberID','_updateLocalCursor','GLOBAL_ROOMS_CNT_EXCEEDS','univer-offline','assignAColorForMemberID','COMPLETION_FINISHED','capture','_config','LICENSE_DISTRO_REJECTED','JOIN_ROOM_FULL','_unitStatus','unitId\x20is\x20not\x20found','_toggleOffline','_entityInit$','_initResize','_onFetchMissResult','unsubscribe','_cursorInfo$','_getSheetObject','setShowComponents','onTransformIME','_initCommandExecutedListener','_showConflictNotification','_updateStatus','mutations','getTypeOfUnitAdded$','_unitOnClients','permission.title','sessionTicket','objects','getDocRanges','black','?size=','_docStateChangeManagerService','COMPRESS_MUTATION_SEND','with','__esModule','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','WordArray','Decryptor','RemoveRowCommandId','toggleOffline','unit','UPDATE_PERMISSION_OBJ','Univer','saveSheetBlock','call','connection\x20error','HEADER_MENU','LIVESHARE_FETCH_OPERATIONS','from','_getMergeRange','_status$','_isPermissionRej','roomMembers$','ranges','_updateState','none','_createHmacHelper','_clearUndo','/fetchmissing?from=','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_docSkeletonManagerService','startTime','RemoveColCommandId','dispose','Error','_userManagerService','InsertRangeMoveRightCommandId','_docTransformIMECacheService','APPLY_PERMISSION_DENIED','_send','COMPRESS_MUTATION_APPLY','LICENSE_MAX_UNITS_EXCEEDED','BlockCipher','length','OnLineSingle','_retryConnectingTimer','push','toRgbString','url(#on-line-single_clip0_910_349)','removeParam','url','drawWith','APPLY_REVISION_CONFILICT','_replaceFileID','salt','collaboration-session-retry','getTime','...','getAllMembers','onMissedChangesetFetched','execute','range','AWAITING_WITH_PENDING','onlineStatus','enableAuthServer','_transformStack','_syncEditingCollabCursor','_imageSourceCache','_getLoginPath','onRemoteRej','div','registerRenderModule','_onUserJoin','cfg','_range','cursorInfo','USERS_LEAVE','url(#off-line-single_clip0_910_343)','registerHTTPInterceptor','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','changesets','on-line-single','findNodePositionByCharIndex','ERROR_IMAGE_TYPE','/unit/','transformIMECache','_sender','deleteCollaborator','editingUnit','JOIN_ROOM_NOT_EXISTS','onMouseMove','_ENC_XFORM_MODE','_initStatusListener','indexOf','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','prototype','_startTelemetryCollaborationNewChangeset','_onRemoteChangeset','_initCloseConn','responseType','&assign=','_cachedData','PENDING','max','visibilityState','/block/','splice','_collaborationSessionService','_docTransformStateCacheService','_roomMembers','getConfig','blockSize','_commandService','defIds','_updateLocalCache','incrementRevOfUnit','session.will-retry','exhaustSavingTask','_removeRoom','cmd','has','create','synced','_logService','_change$','image/jpeg','CHANGESET_ACK','collabStatus.notCollab','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','online','pad','disposeWithMe','collabStatus.conflict','LIVESHARE_OPERATION','objectType','newValue','values','_pendingMutations','/universer-api/stream/file/upload','[CollaborationEntity]','_scheduleClearOtherTimer','awaiting_with_pending','_labelPosition','action','_hover','disposeUnit','newCsEvent','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_http','backgroundColor','_injector','workbook','_clearLocalCache','_docSkeleton','getFocusedUnit','resourceIDs','&to=','JOIN','labelPosition','_beforeCloseService','YUUMI_UNABLE_LOAD_URL','_telemetryInfo','toLowerCase','onRendered','reconnect','_docClipboardService','_initUnitPermissionChange','[DataLoaderController]','size','_onConflict','font','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','batchAllowed','_tryEnsureSocket','PasswordBasedCipher','_clearScheduledTask','mode','_httpService','/collaborator','_registerRenderDependencies','_transitionLocked','_throwTelemetryCollaborationNewChangeset','executeCommand','_unitID','_updateURLWithCurrentState','_singleActiveUnitService','searchParams','byteLength','collab-rect-range-','undoState','_submitChangeset','_substituteUndoStack','COMMENT_UPDATE','compute','_sendingTimer','use','_hash','_initDependencies','number','arc','_eventUnsubscribe','_waitCount','onSendChangeset','parse','registerBeforeClose','updateCollaborator','_queuedRemoteChangesets','TEXT','loginUrlKey','join','_localCacheService','COLLAB_WEB_SOCKET_URL','awaitingChangeset','_cursors','SHOULD_CLOSE_CONN','getCollabEntity$','loadDoc','CHANGESET_REJ','Base','_tryReconnect','clearTimeout','blue400','_roomMembers$','_univerInstanceService','enc','now','sigBytes','compose','_cipher','all','objectID','UPDATE_CURSOR','UNIVER_UNKNOWN','entries','randomBytes','words','stopTime','equals','subscribe','JOINING','whenReady','enableSingleActiveInstanceLock','_ws','debug','[CollaborationUndoRedoService]','stringify','_transformRemoteChangesetByIMECache','setAlpha','jsxs','onTransformRemoteChangesetByStateCache','map','revision','UNRECOGNIZED','transformRemoteChangeset','{fileID}','_saveCache','_selfUnitIDs','find','ALREADY_EXISTS','_onRemoteRetry','_getAPIPrefixPath','_compressMutationService','toString','refreshPermission','getImageSourceCache','color','_schedule','_createHelper','_lastPointer','charCodeAt','INGEST','random','HELLO','addImageSourceCache','joinEvent','?url=','_HTTPService','/universer-api/authz','SNAPSHOT_INVALID_SNAPSHOT','\x0aCurrent:\x20','add','storage','confirm','selection','_map','_handleLeaveEvent','getOffsetConfig','session','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','readAsDataURL','clear','hide','FETCH_MISS','skeleton','getCollabEntity','baseRev','updatePermissionObjEvent','_iv','_messageService','_scene','params','_createSocketURL','univerjs-icon\x20univerjs-icon-','UNIVER_DOC','_sessions','ref','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decrypt','_getScale','_onMessage','_socket','copyFileMeta','_getSendChangesetTimeout','children','492966OSyfmu','getOwnPropertyDescriptor','AUTHZ_URL_KEY','transformStateCache','ticket','onReady','session.collaboration-timeout','NoPadding','ENSURE_SNAPSHOT_EXECUTION','subUnitId','activeSheet$','replace','EvpKDF','_syncEditingCollabCursorService','buffer','_exhaustRemoteChangesetQueue','POST','onSyncEditingCollabCursor','_initEventListeners','generateRandomId','registerOnClose','isArray','createSocket','getSkeleton','image/gif','_ensureSubject','cursorInfo$','SUCCUSS','[PendingState]:\x20received\x20acknowledgement.','kdf','endRow','origin','_createHandler','getVpScrollXYInfoByPosToVp','save\x20fail\x20reason\x20is\x20','#fff','setCurrentUser','getUnitStatus$','event$','getRenderById','_sheetTransformSelectionsService','NO_OTHER_CLIENTS_EDITING','_anchor','result','editing\x20status\x20changed\x20to','authzUrl','_scheduleSaving','SUBMIT_CHANGESET','c2Prime','_onJoinRoomEvent','_disableEditing','listCollaborators','joinRsp','json','HttpImport','_localStorageService','_onRemoteRejected','onStateChange','state$','isActive','_updateCollabCursors','_setupSubUnitSync','Cipher','onCommentUpdate','_xformMode','height','CBC','session.room-full','getMember','update','clipPath','measureText','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_minBufferSize','DeleteRangeMoveLeftCommandId','collab-text-range-','_updateSubUnitFromURLParams','getActiveRange','addClipboardHook','setWaitCount','_socketMessageSubscription','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_DEC_XFORM_MODE','filter','_nRounds','collabStatus.syncing','hidden','interceptor','_sheetSkeletonManagerService','_type','AES','_lockTransition','_anchorDot','setItem','_loadDoc','forEach','updatePermissionPoint','MUTATION','/role','disableLocalCache','UUID','[OfflineState]:\x20received\x20changeset.','_online','_scheduleCollaborationTimeoutTimer','_key','fill','_scheduleHeartbeat','_toggleOnline','lineTo','/universer-api/comb','_clearRedo','ceil','onPointerEnter$','sheetID','displayName','_themeService','[CollaborationState]:\x20apply\x20error!','snapshotServerUrl','VIEW_MAIN','resize','_startSheetCollabCursor','_handleHeartbeatEvent','0\x200\x2016\x2016','onTransformChange$','withCredentials','onlineStatusTitle','_oKey','RECV','_drawRectRange','_handleHover','deepClone','_doCryptBlock','Unknown\x20user','localeService','collaborators','socket\x20close','delete','RECT','Could\x20not\x20dynamically\x20require\x20\x22','next','_textBubble','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_transformPreviousActiveRange','target','append','permissionRejEvent','_context','min','SNAPSHOT_SERVER_URL_KEY','substring','UNAUTHENTICATED','_name','memberID','_executeRemoteChangeset','pipe','m2Prime','ACTIVE_UNIT_EVENT_CHANNEL','_socket$','_getDownloadEndpointURL','_getCurrentRevision','message$','createCollaborator','collaboration.single-unit.warning','doc.mutation.rich-text-editing','People','onRemoteAck','requireSession','onTransformState','visibilitychange','subunit','sessionStatus$','data','defineProperty','setUndoRedoMutationParamsCache','ivSize','_listenToOnlineEvent','algo','\x20in\x20_schedule.','_memberService','setActiveRange','className','focused$','_resendTimeout','requestParams','addEventListener','UNDEFINED','getStateCache','resend','BufferedBlockAlgorithm','getSheetBySheetId','idSuffix','apply','removeMember','_disabled','conflict.content','type','getRangePointData','allowed','HEARTBEAT','_entities','startColumn','processBlock','setTimeout','getTypeOfUnitDisposed$','_drawTextRange','_revisionService','Hasher','UniverIcon','BlockCipherMode','HMAC','routeKey','/universer-api/snapshot/','_onOffline','MD5','keySize','subject','_clearTimeoutTimer','getCurrent','fromCharCode','_socketReady','contains','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[PendingState]:\x20received\x20rejection.','UnitEmbedded','getParam','_resendTimer','reqId','ERROR_IMAGE','_replayCachedMutations','retryConnectingInterval','HEARTBEAT_INTERVAL','_transformStateCache','title','_createInitialState','OpenSSL','failed\x20to\x20apply\x20missed\x20changesets!','permission.content','startsWith','_getAPIPrefix','_loadSheet','INTERNAL_ERROR','unitId','_iKey','_handleEvent','session.room-cnt-exceeds','_refRangeService','_changesetReqId','reduce','mixIn','SNAPSHOT_HAS_BEEN_REMOVED','fetchMiss','OTHER_CLIENTS_EDITING','uploadFileServerUrl','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','complete','iterations','collabWebSocketUrl','_onRecvEvent','_stopTelemetryCollaborationNewChangeset','setStateCache','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','68encAKt','UNKNOWN_CODE','status$','YUUMI_URL_COL_OUT_OF_RANGE','_undoRedoService','unshift','encode','headers','FAIL','body','getRandomValues','_retryCount','purple300','getUniverSheetInstance','onRemoteRetry','ONLINE','[OfflineState]:\x20received\x20rejection.','_initRequestHeader','offline','slice','round','_onUserLeave','downloadEndpointUrl','MSG_FOR_ERROR','transform','Malformed\x20UTF-8\x20data','/universer-api/snapshot','_uiPartsService','session.room-permission-denied','currentTheme$','encryptBlock','onRemoteChangeset','clone','getCurrentRevOfUnit','off-line-single_clip0_910_343','redoState','598vaMbDQ','bottom','45cMvCza','encrypt','/rev/','textRanges','_id','transformSelections','InsertColCommandId','wsSessionTicketUrl','restore','_colorAssignService','onMissingChangesets','fetchThroughInterceptors','_resendWithTimeout','setParam','isEditing','c1Prime','getCurrentUser','endColumn','getUnitType','jsx','location','Error\x20on\x20receiving\x20event','ws://127.0.0.1:8000/universer-api/comb/connect','LIVESHARE_NEW_HOST','_members','svg','YUUMI_SUBSCRIPTION_NOT_FOUND','_removeCollabCursors','open$','patch','LEAVE','Utf8','getAncestorScale','_decreaseWaiting','rng','unit-cache-','reverse','DEFAULT_FILE_NAME','LIVESHARE_TERMINATE','transformMutationsWithChangeset','UNIVER_SHEET','registerRefRange','registerComponent','ReactCurrentOwner','_colorIndex','fromCollab','liveShareOperation','save','_collaborationController','socket$','tag','YUUMI_RATE_OVER_LIMIT','392119mkgaSz','defaultProps','urlChange$','finalize','_telemetryService','getCollabCursors$','_heartbeatTimer','/-/object/list','getWorkbookSelections','_state$','set','__creator','collaboration.closeRoom','pluginName','getCurrentUnitForType','_permissionService','fetch_missing','/object','auth.needGotoLoginAlert','_handler','repeat','HmacMD5','selections'];_0x3021=function(){return _0x54cf42;};return _0x3021();}function ac(){const _0x279c33=_0x30c112;return ui||(ui=0x1,function(_0xeaa160,_0x2c94e1){(function(_0x25ec6f,_0x2d21eb){const _0x42a6fb=_0x2ebf;_0xeaa160[_0x42a6fb(0x3a1)]=_0x2d21eb(_e());}(oc,function(_0x51bb31){const _0x5ed612=_0x2ebf;return(function(){const _0x189831=_0x2ebf;var _0x2d7857=_0x51bb31,_0x2bbf75=_0x2d7857[_0x189831(0x3d0)],_0xf224f9=_0x2bbf75[_0x189831(0xae)],_0x4d3893=_0x2bbf75[_0x189831(0x2b0)],_0x499951=_0x2d7857[_0x189831(0x292)],_0x3fc992=[],_0x3a2469=_0x499951[_0x189831(0x3a9)]=_0x4d3893[_0x189831(0x377)]({'_doReset':function(){const _0xcafc0b=_0x189831;this[_0xcafc0b(0x16c)]=new _0xf224f9[(_0xcafc0b(0x427))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3205de,_0x34e8ff){const _0x559ccb=_0x189831;for(var _0x18f0c2=this['_hash'][_0x559ccb(0x193)],_0x4e6f56=_0x18f0c2[0x0],_0xe58c4b=_0x18f0c2[0x1],_0x276b14=_0x18f0c2[0x2],_0x17e07e=_0x18f0c2[0x3],_0x285889=_0x18f0c2[0x4],_0x637f09=0x0;_0x637f09<0x50;_0x637f09++){if(_0x637f09<0x10)_0x3fc992[_0x637f09]=_0x3205de[_0x34e8ff+_0x637f09]|0x0;else{var _0x43d782=_0x3fc992[_0x637f09-0x3]^_0x3fc992[_0x637f09-0x8]^_0x3fc992[_0x637f09-0xe]^_0x3fc992[_0x637f09-0x10];_0x3fc992[_0x637f09]=_0x43d782<<0x1|_0x43d782>>>0x1f;}var _0x4b1fe4=(_0x4e6f56<<0x5|_0x4e6f56>>>0x1b)+_0x285889+_0x3fc992[_0x637f09];_0x637f09<0x14?_0x4b1fe4+=(_0xe58c4b&_0x276b14|~_0xe58c4b&_0x17e07e)+0x5a827999:_0x637f09<0x28?_0x4b1fe4+=(_0xe58c4b^_0x276b14^_0x17e07e)+0x6ed9eba1:_0x637f09<0x3c?_0x4b1fe4+=(_0xe58c4b&_0x276b14|_0xe58c4b&_0x17e07e|_0x276b14&_0x17e07e)-0x70e44324:_0x4b1fe4+=(_0xe58c4b^_0x276b14^_0x17e07e)-0x359d3e2a,_0x285889=_0x17e07e,_0x17e07e=_0x276b14,_0x276b14=_0xe58c4b<<0x1e|_0xe58c4b>>>0x2,_0xe58c4b=_0x4e6f56,_0x4e6f56=_0x4b1fe4;}_0x18f0c2[0x0]=_0x18f0c2[0x0]+_0x4e6f56|0x0,_0x18f0c2[0x1]=_0x18f0c2[0x1]+_0xe58c4b|0x0,_0x18f0c2[0x2]=_0x18f0c2[0x2]+_0x276b14|0x0,_0x18f0c2[0x3]=_0x18f0c2[0x3]+_0x17e07e|0x0,_0x18f0c2[0x4]=_0x18f0c2[0x4]+_0x285889|0x0;},'_doFinalize':function(){const _0x5d4a5e=_0x189831;var _0x15397b=this[_0x5d4a5e(0x3c0)],_0x541f7c=_0x15397b['words'],_0x1e72d9=this['_nDataBytes']*0x8,_0x60b9aa=_0x15397b[_0x5d4a5e(0x18a)]*0x8;return _0x541f7c[_0x60b9aa>>>0x5]|=0x80<<0x18-_0x60b9aa%0x20,_0x541f7c[(_0x60b9aa+0x40>>>0x9<<0x4)+0xe]=Math[_0x5d4a5e(0x3f8)](_0x1e72d9/0x100000000),_0x541f7c[(_0x60b9aa+0x40>>>0x9<<0x4)+0xf]=_0x1e72d9,_0x15397b[_0x5d4a5e(0x18a)]=_0x541f7c['length']*0x4,this['_process'](),this[_0x5d4a5e(0x16c)];},'clone':function(){const _0x3deda3=_0x189831;var _0x226ac9=_0x4d3893[_0x3deda3(0x307)][_0x3deda3(0xb6)](this);return _0x226ac9[_0x3deda3(0x16c)]=this[_0x3deda3(0x16c)][_0x3deda3(0x307)](),_0x226ac9;}});_0x2d7857['SHA1']=_0x4d3893[_0x189831(0x1b3)](_0x3a2469),_0x2d7857['HmacSHA1']=_0x4d3893[_0x189831(0xc2)](_0x3a2469);}()),_0x51bb31[_0x5ed612(0x3a9)];}));}(gt)),gt[_0x279c33(0x3a1)];}var St={'exports':{}},cc=St[_0x30c112(0x3a1)],di;function hc(){const _0x29e855=_0x30c112;return di||(di=0x1,function(_0x24f101,_0x96a457){(function(_0x5529fe,_0x49daee){const _0x4f3aca=_0x2ebf;_0x24f101[_0x4f3aca(0x3a1)]=_0x49daee(_e());}(cc,function(_0x57fd81){(function(){const _0x47ef26=_0x2ebf;var _0x53381a=_0x57fd81,_0x5cbcdd=_0x53381a['lib'],_0x1a45df=_0x5cbcdd[_0x47ef26(0x182)],_0x232a55=_0x53381a[_0x47ef26(0x188)],_0x3b2c2e=_0x232a55[_0x47ef26(0x32c)],_0x20b559=_0x53381a[_0x47ef26(0x292)];_0x20b559[_0x47ef26(0x2b3)]=_0x1a45df[_0x47ef26(0x377)]({'init':function(_0x9d0fd3,_0x1913e1){const _0x414c9b=_0x47ef26;_0x9d0fd3=this[_0x414c9b(0x3c2)]=new _0x9d0fd3[(_0x414c9b(0x427))](),typeof _0x1913e1==_0x414c9b(0x3e8)&&(_0x1913e1=_0x3b2c2e['parse'](_0x1913e1));var _0x847e37=_0x9d0fd3['blockSize'],_0x58d1ea=_0x847e37*0x4;_0x1913e1[_0x414c9b(0x18a)]>_0x58d1ea&&(_0x1913e1=_0x9d0fd3[_0x414c9b(0x344)](_0x1913e1)),_0x1913e1[_0x414c9b(0x49a)]();for(var _0x1e05b6=this[_0x414c9b(0x260)]=_0x1913e1['clone'](),_0x593892=this[_0x414c9b(0x2d4)]=_0x1913e1[_0x414c9b(0x307)](),_0x467e6f=_0x1e05b6['words'],_0x476265=_0x593892[_0x414c9b(0x193)],_0x4f1cf4=0x0;_0x4f1cf4<_0x847e37;_0x4f1cf4++)_0x467e6f[_0x4f1cf4]^=0x5c5c5c5c,_0x476265[_0x4f1cf4]^=0x36363636;_0x1e05b6[_0x414c9b(0x18a)]=_0x593892['sigBytes']=_0x58d1ea,this[_0x414c9b(0x3f9)]();},'reset':function(){const _0x305696=_0x47ef26;var _0x24272b=this[_0x305696(0x3c2)];_0x24272b[_0x305696(0x3f9)](),_0x24272b[_0x305696(0x227)](this[_0x305696(0x2d4)]);},'update':function(_0x53a742){const _0x364ffe=_0x47ef26;return this[_0x364ffe(0x3c2)][_0x364ffe(0x227)](_0x53a742),this;},'finalize':function(_0x20e1ac){const _0x4b8a04=_0x47ef26;var _0x38fd40=this[_0x4b8a04(0x3c2)],_0x567946=_0x38fd40[_0x4b8a04(0x344)](_0x20e1ac);_0x38fd40[_0x4b8a04(0x3f9)]();var _0x4f555d=_0x38fd40[_0x4b8a04(0x344)](this[_0x4b8a04(0x260)]['clone']()['concat'](_0x567946));return _0x4f555d;}});}());}));}(St)),St[_0x29e855(0x3a1)];}var lc=mt[_0x30c112(0x3a1)],fi;function nr(){return fi||(fi=0x1,function(_0x442b74,_0x4cd3d6){(function(_0x3fa308,_0x280183,_0x36c6e5){const _0x5ce391=_0x2ebf;_0x442b74[_0x5ce391(0x3a1)]=_0x280183(_e(),ac(),hc());}(lc,function(_0x11c293){const _0x260094=_0x2ebf;return(function(){const _0x1ef09e=_0x2ebf;var _0x1585f6=_0x11c293,_0x13f739=_0x1585f6[_0x1ef09e(0x3d0)],_0x18b775=_0x13f739['Base'],_0x34e694=_0x13f739[_0x1ef09e(0xae)],_0x429a06=_0x1585f6[_0x1ef09e(0x292)],_0x5dcf2b=_0x429a06[_0x1ef09e(0x2b7)],_0x388277=_0x429a06[_0x1ef09e(0x1ee)]=_0x18b775['extend']({'cfg':_0x18b775['extend']({'keySize':0x80/0x20,'hasher':_0x5dcf2b,'iterations':0x1}),'init':function(_0x1b5365){const _0x1e5653=_0x1ef09e;this[_0x1e5653(0xf1)]=this[_0x1e5653(0xf1)][_0x1e5653(0x377)](_0x1b5365);},'compute':function(_0x43187d,_0x399751){const _0x15c997=_0x1ef09e;for(var _0xa044ce,_0x431a0d=this[_0x15c997(0xf1)],_0x31b882=_0x431a0d[_0x15c997(0x48d)][_0x15c997(0x121)](),_0x1bdee8=_0x34e694[_0x15c997(0x121)](),_0x31e041=_0x1bdee8[_0x15c997(0x193)],_0x37b9b5=_0x431a0d[_0x15c997(0x2b8)],_0x3f84d6=_0x431a0d[_0x15c997(0x2e1)];_0x31e041[_0x15c997(0xd3)]<_0x37b9b5;){_0xa044ce&&_0x31b882[_0x15c997(0x227)](_0xa044ce),_0xa044ce=_0x31b882[_0x15c997(0x227)](_0x43187d)[_0x15c997(0x344)](_0x399751),_0x31b882[_0x15c997(0x3f9)]();for(var _0x46141a=0x1;_0x46141a<_0x3f84d6;_0x46141a++)_0xa044ce=_0x31b882['finalize'](_0xa044ce),_0x31b882['reset']();_0x1bdee8[_0x15c997(0x388)](_0xa044ce);}return _0x1bdee8[_0x15c997(0x18a)]=_0x37b9b5*0x4,_0x1bdee8;}});_0x1585f6[_0x1ef09e(0x1ee)]=function(_0xda3cd3,_0x51f8ec,_0x4bddcb){return _0x388277['create'](_0x4bddcb)['compute'](_0xda3cd3,_0x51f8ec);};}()),_0x11c293[_0x260094(0x1ee)];}));}(mt)),mt['exports'];}var It={'exports':{}},_c=It[_0x30c112(0x3a1)],vi;function or(){const _0x522ed5=_0x30c112;return vi||(vi=0x1,function(_0xab4e44,_0x1df143){(function(_0x1ef707,_0x7bf731,_0x486447){const _0x2bed7d=_0x2ebf;_0xab4e44[_0x2bed7d(0x3a1)]=_0x7bf731(_e(),nr());}(_c,function(_0x20d95a){const _0xe9c7fa=_0x2ebf;_0x20d95a[_0xe9c7fa(0x3d0)][_0xe9c7fa(0x220)]||function(_0xce87f6){const _0x5d5303=_0xe9c7fa;var _0x25710c=_0x20d95a,_0x5593c4=_0x25710c['lib'],_0x22822c=_0x5593c4['Base'],_0x4fd288=_0x5593c4[_0x5d5303(0xae)],_0x5d0a9f=_0x5593c4[_0x5d5303(0x29e)],_0x6f97ae=_0x25710c[_0x5d5303(0x188)];_0x6f97ae[_0x5d5303(0x32c)];var _0x166957=_0x6f97ae[_0x5d5303(0x440)],_0x501827=_0x25710c[_0x5d5303(0x292)],_0x2c0876=_0x501827['EvpKDF'],_0x55f4e6=_0x5593c4[_0x5d5303(0x220)]=_0x5d0a9f[_0x5d5303(0x377)]({'cfg':_0x22822c[_0x5d5303(0x377)](),'createEncryptor':function(_0x362fcf,_0x10236a){const _0x4dbf0c=_0x5d5303;return this['create'](this[_0x4dbf0c(0x103)],_0x362fcf,_0x10236a);},'createDecryptor':function(_0x6c980,_0x14d47c){const _0x45ee8c=_0x5d5303;return this[_0x45ee8c(0x121)](this[_0x45ee8c(0x234)],_0x6c980,_0x14d47c);},'init':function(_0x16ea72,_0x2edb3b,_0x5b734b){const _0x4a509b=_0x5d5303;this[_0x4a509b(0xf1)]=this[_0x4a509b(0xf1)][_0x4a509b(0x377)](_0x5b734b),this['_xformMode']=_0x16ea72,this[_0x4a509b(0x24a)]=_0x2edb3b,this[_0x4a509b(0x3f9)]();},'reset':function(){const _0x17ee3b=_0x5d5303;_0x5d0a9f[_0x17ee3b(0x3f9)][_0x17ee3b(0xb6)](this),this[_0x17ee3b(0x420)]();},'process':function(_0x316bcf){const _0x12591f=_0x5d5303;return this[_0x12591f(0x3c5)](_0x316bcf),this[_0x12591f(0x450)]();},'finalize':function(_0x479cf6){const _0x54a43e=_0x5d5303;_0x479cf6&&this[_0x54a43e(0x3c5)](_0x479cf6);var _0x33a947=this[_0x54a43e(0x49d)]();return _0x33a947;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x554904(_0x1b2c07){return typeof _0x1b2c07=='string'?_0xb2693c:_0x4419d1;}return function(_0x40ee9e){return{'encrypt':function(_0x85b0a3,_0x1d8f8b,_0xac4b56){const _0x275114=_0x2ebf;return _0x554904(_0x1d8f8b)[_0x275114(0x30e)](_0x40ee9e,_0x85b0a3,_0x1d8f8b,_0xac4b56);},'decrypt':function(_0x4a9af9,_0xb3c82d,_0x17db05){const _0x564839=_0x2ebf;return _0x554904(_0xb3c82d)[_0x564839(0x1db)](_0x40ee9e,_0x4a9af9,_0xb3c82d,_0x17db05);}};};}())});_0x5593c4[_0x5d5303(0x43a)]=_0x55f4e6['extend']({'_doFinalize':function(){var _0x26b71a=this['_process'](!0x0);return _0x26b71a;},'blockSize':0x1});var _0x453c7d=_0x25710c[_0x5d5303(0x158)]={},_0x1c3f46=_0x5593c4[_0x5d5303(0x2b2)]=_0x22822c[_0x5d5303(0x377)]({'createEncryptor':function(_0x3f3a1c,_0x54426e){const _0x3995a8=_0x5d5303;return this['Encryptor'][_0x3995a8(0x121)](_0x3f3a1c,_0x54426e);},'createDecryptor':function(_0x1b4a9b,_0x36645e){const _0x1abd78=_0x5d5303;return this[_0x1abd78(0xaf)][_0x1abd78(0x121)](_0x1b4a9b,_0x36645e);},'init':function(_0x2f4e0b,_0x3dc908){const _0x5c930e=_0x5d5303;this[_0x5c930e(0x18c)]=_0x2f4e0b,this[_0x5c930e(0x1d1)]=_0x3dc908;}}),_0xf75956=_0x453c7d[_0x5d5303(0x224)]=(function(){const _0x5be27f=_0x5d5303;var _0x3c54cf=_0x1c3f46[_0x5be27f(0x377)]();_0x3c54cf[_0x5be27f(0x40d)]=_0x3c54cf[_0x5be27f(0x377)]({'processBlock':function(_0x468feb,_0x4d412a){const _0x37f1f5=_0x5be27f;var _0x596f64=this[_0x37f1f5(0x18c)],_0x1b3a37=_0x596f64[_0x37f1f5(0x117)];_0x33dff0[_0x37f1f5(0xb6)](this,_0x468feb,_0x4d412a,_0x1b3a37),_0x596f64[_0x37f1f5(0x305)](_0x468feb,_0x4d412a),this['_prevBlock']=_0x468feb[_0x37f1f5(0x2fa)](_0x4d412a,_0x4d412a+_0x1b3a37);}}),_0x3c54cf['Decryptor']=_0x3c54cf[_0x5be27f(0x377)]({'processBlock':function(_0x36d26f,_0x189ce7){const _0x5bc46f=_0x5be27f;var _0x46f6b7=this[_0x5bc46f(0x18c)],_0x316e22=_0x46f6b7[_0x5bc46f(0x117)],_0x5a70cc=_0x36d26f[_0x5bc46f(0x2fa)](_0x189ce7,_0x189ce7+_0x316e22);_0x46f6b7['decryptBlock'](_0x36d26f,_0x189ce7),_0x33dff0[_0x5bc46f(0xb6)](this,_0x36d26f,_0x189ce7,_0x316e22),this[_0x5bc46f(0x384)]=_0x5a70cc;}});function _0x33dff0(_0x4632e3,_0x32d7e2,_0x1d3f4e){const _0xd49453=_0x5be27f;var _0x4df5e9,_0x3891e5=this[_0xd49453(0x1d1)];_0x3891e5?(_0x4df5e9=_0x3891e5,this[_0xd49453(0x1d1)]=_0xce87f6):_0x4df5e9=this[_0xd49453(0x384)];for(var _0x4e8ca8=0x0;_0x4e8ca8<_0x1d3f4e;_0x4e8ca8++)_0x4632e3[_0x32d7e2+_0x4e8ca8]^=_0x4df5e9[_0x4e8ca8];}return _0x3c54cf;}()),_0x5136b2=_0x25710c[_0x5d5303(0x12a)]={},_0x49782b=_0x5136b2['Pkcs7']={'pad':function(_0xb4323,_0xa5a2dc){const _0x3ae26f=_0x5d5303;for(var _0x11790c=_0xa5a2dc*0x4,_0xb1e08=_0x11790c-_0xb4323['sigBytes']%_0x11790c,_0x4a0b59=_0xb1e08<<0x18|_0xb1e08<<0x10|_0xb1e08<<0x8|_0xb1e08,_0x29ec92=[],_0x11b43f=0x0;_0x11b43f<_0xb1e08;_0x11b43f+=0x4)_0x29ec92[_0x3ae26f(0xd6)](_0x4a0b59);var _0x1fc832=_0x4fd288[_0x3ae26f(0x121)](_0x29ec92,_0xb1e08);_0xb4323['concat'](_0x1fc832);},'unpad':function(_0x3846f6){const _0xca8830=_0x5d5303;var _0x3a5c9e=_0x3846f6[_0xca8830(0x193)][_0x3846f6[_0xca8830(0x18a)]-0x1>>>0x2]&0xff;_0x3846f6[_0xca8830(0x18a)]-=_0x3a5c9e;}};_0x5593c4[_0x5d5303(0xd2)]=_0x55f4e6[_0x5d5303(0x377)]({'cfg':_0x55f4e6['cfg'][_0x5d5303(0x377)]({'mode':_0xf75956,'padding':_0x49782b}),'reset':function(){const _0x562257=_0x5d5303;var _0x57da97;_0x55f4e6[_0x562257(0x3f9)][_0x562257(0xb6)](this);var _0x5c4711=this[_0x562257(0xf1)],_0x3cd8c4=_0x5c4711['iv'],_0x1cee1f=_0x5c4711[_0x562257(0x158)];this['_xformMode']==this[_0x562257(0x103)]?_0x57da97=_0x1cee1f[_0x562257(0x37c)]:(_0x57da97=_0x1cee1f[_0x562257(0x38f)],this[_0x562257(0x22b)]=0x1),this[_0x562257(0x3d9)]&&this[_0x562257(0x3d9)]['__creator']==_0x57da97?this[_0x562257(0x3d9)][_0x562257(0x427)](this,_0x3cd8c4&&_0x3cd8c4[_0x562257(0x193)]):(this[_0x562257(0x3d9)]=_0x57da97['call'](_0x1cee1f,this,_0x3cd8c4&&_0x3cd8c4['words']),this[_0x562257(0x3d9)][_0x562257(0x34c)]=_0x57da97);},'_doProcessBlock':function(_0x5588e5,_0x29e7cd){const _0x2f8df7=_0x5d5303;this['_mode'][_0x2f8df7(0x2ab)](_0x5588e5,_0x29e7cd);},'_doFinalize':function(){const _0xc69437=_0x5d5303;var _0x107029,_0x53c039=this['cfg']['padding'];return this[_0xc69437(0x222)]==this['_ENC_XFORM_MODE']?(_0x53c039[_0xc69437(0x12a)](this['_data'],this[_0xc69437(0x117)]),_0x107029=this[_0xc69437(0x450)](!0x0)):(_0x107029=this['_process'](!0x0),_0x53c039[_0xc69437(0x43d)](_0x107029)),_0x107029;},'blockSize':0x80/0x20});var _0x12ed11=_0x5593c4['CipherParams']=_0x22822c[_0x5d5303(0x377)]({'init':function(_0x488464){const _0x2511c0=_0x5d5303;this[_0x2511c0(0x2da)](_0x488464);},'toString':function(_0x27630d){return(_0x27630d||this['formatter'])['stringify'](this);}}),_0x4aeb44=_0x25710c[_0x5d5303(0x393)]={},_0x2a4f6e=_0x4aeb44[_0x5d5303(0x2cc)]={'stringify':function(_0x1d27e6){const _0x25f5a0=_0x5d5303;var _0xa65ac3,_0x4f43d7=_0x1d27e6['ciphertext'],_0x1349d2=_0x1d27e6['salt'];return _0x1349d2?_0xa65ac3=_0x4fd288['create']([0x53616c74,0x65645f5f])[_0x25f5a0(0x388)](_0x1349d2)[_0x25f5a0(0x388)](_0x4f43d7):_0xa65ac3=_0x4f43d7,_0xa65ac3['toString'](_0x166957);},'parse':function(_0x42f1fc){const _0x3a2a6a=_0x5d5303;var _0x4a30c8,_0x57c4ca=_0x166957[_0x3a2a6a(0x173)](_0x42f1fc),_0x5edf94=_0x57c4ca[_0x3a2a6a(0x193)];return _0x5edf94[0x0]==0x53616c74&&_0x5edf94[0x1]==0x65645f5f&&(_0x4a30c8=_0x4fd288[_0x3a2a6a(0x121)](_0x5edf94[_0x3a2a6a(0x2fa)](0x2,0x4)),_0x5edf94['splice'](0x0,0x4),_0x57c4ca[_0x3a2a6a(0x18a)]-=0x10),_0x12ed11['create']({'ciphertext':_0x57c4ca,'salt':_0x4a30c8});}},_0x4419d1=_0x5593c4['SerializableCipher']=_0x22822c[_0x5d5303(0x377)]({'cfg':_0x22822c[_0x5d5303(0x377)]({'format':_0x2a4f6e}),'encrypt':function(_0x159969,_0x13b92f,_0x59a1c6,_0x326ddc){const _0x4b7efd=_0x5d5303;_0x326ddc=this['cfg']['extend'](_0x326ddc);var _0xbe56a6=_0x159969[_0x4b7efd(0x37c)](_0x59a1c6,_0x326ddc),_0x51f380=_0xbe56a6[_0x4b7efd(0x344)](_0x13b92f),_0x525fb2=_0xbe56a6[_0x4b7efd(0xf1)];return _0x12ed11['create']({'ciphertext':_0x51f380,'key':_0x59a1c6,'iv':_0x525fb2['iv'],'algorithm':_0x159969,'mode':_0x525fb2[_0x4b7efd(0x158)],'padding':_0x525fb2[_0x4b7efd(0x468)],'blockSize':_0x159969[_0x4b7efd(0x117)],'formatter':_0x326ddc['format']});},'decrypt':function(_0x1dedad,_0x3fa55e,_0x4d4686,_0x4030dc){const _0x182f0b=_0x5d5303;_0x4030dc=this[_0x182f0b(0xf1)][_0x182f0b(0x377)](_0x4030dc),_0x3fa55e=this[_0x182f0b(0x3da)](_0x3fa55e,_0x4030dc[_0x182f0b(0x393)]);var _0x10a6c1=_0x1dedad['createDecryptor'](_0x4d4686,_0x4030dc)[_0x182f0b(0x344)](_0x3fa55e['ciphertext']);return _0x10a6c1;},'_parse':function(_0x12a0fc,_0x43100e){return typeof _0x12a0fc=='string'?_0x43100e['parse'](_0x12a0fc,this):_0x12a0fc;}}),_0x595a92=_0x25710c[_0x5d5303(0x1ff)]={},_0x117008=_0x595a92[_0x5d5303(0x2cc)]={'execute':function(_0x2e3c26,_0x2e6d73,_0x1cbb7e,_0x3afee1,_0x7a611a){const _0x55c8fd=_0x5d5303;if(_0x3afee1||(_0x3afee1=_0x4fd288[_0x55c8fd(0x1b7)](0x40/0x8)),_0x7a611a)var _0x414b58=_0x2c0876[_0x55c8fd(0x121)]({'keySize':_0x2e6d73+_0x1cbb7e,'hasher':_0x7a611a})[_0x55c8fd(0x169)](_0x2e3c26,_0x3afee1);else var _0x414b58=_0x2c0876[_0x55c8fd(0x121)]({'keySize':_0x2e6d73+_0x1cbb7e})[_0x55c8fd(0x169)](_0x2e3c26,_0x3afee1);var _0x7b25a0=_0x4fd288['create'](_0x414b58[_0x55c8fd(0x193)][_0x55c8fd(0x2fa)](_0x2e6d73),_0x1cbb7e*0x4);return _0x414b58[_0x55c8fd(0x18a)]=_0x2e6d73*0x4,_0x12ed11['create']({'key':_0x414b58,'iv':_0x7b25a0,'salt':_0x3afee1});}},_0xb2693c=_0x5593c4[_0x5d5303(0x156)]=_0x4419d1[_0x5d5303(0x377)]({'cfg':_0x4419d1[_0x5d5303(0xf1)][_0x5d5303(0x377)]({'kdf':_0x117008}),'encrypt':function(_0x55a223,_0x3c99cf,_0x312f5a,_0x120b24){const _0x3a81dd=_0x5d5303;_0x120b24=this[_0x3a81dd(0xf1)][_0x3a81dd(0x377)](_0x120b24);var _0x518a1a=_0x120b24[_0x3a81dd(0x1ff)][_0x3a81dd(0xe4)](_0x312f5a,_0x55a223[_0x3a81dd(0x2b8)],_0x55a223[_0x3a81dd(0x290)],_0x120b24[_0x3a81dd(0xde)],_0x120b24[_0x3a81dd(0x48d)]);_0x120b24['iv']=_0x518a1a['iv'];var _0x45ee68=_0x4419d1[_0x3a81dd(0x30e)][_0x3a81dd(0xb6)](this,_0x55a223,_0x3c99cf,_0x518a1a[_0x3a81dd(0x3bc)],_0x120b24);return _0x45ee68[_0x3a81dd(0x2da)](_0x518a1a),_0x45ee68;},'decrypt':function(_0x2a71bb,_0x2d977d,_0x42f552,_0x136402){const _0x299c19=_0x5d5303;_0x136402=this[_0x299c19(0xf1)][_0x299c19(0x377)](_0x136402),_0x2d977d=this[_0x299c19(0x3da)](_0x2d977d,_0x136402[_0x299c19(0x393)]);var _0x57ab7c=_0x136402[_0x299c19(0x1ff)]['execute'](_0x42f552,_0x2a71bb[_0x299c19(0x2b8)],_0x2a71bb['ivSize'],_0x2d977d[_0x299c19(0xde)],_0x136402['hasher']);_0x136402['iv']=_0x57ab7c['iv'];var _0x77d6ab=_0x4419d1[_0x299c19(0x1db)][_0x299c19(0xb6)](this,_0x2a71bb,_0x2d977d,_0x57ab7c[_0x299c19(0x3bc)],_0x136402);return _0x77d6ab;}});}();}));}(It)),It[_0x522ed5(0x3a1)];}var uc=dt[_0x30c112(0x3a1)],pi;function dc(){const _0x5266cb=_0x30c112;return pi||(pi=0x1,function(_0x5d2163,_0x593442){(function(_0xa85f72,_0x6c29d,_0x22029b){const _0x1a41d0=_0x2ebf;_0x5d2163[_0x1a41d0(0x3a1)]=_0x6c29d(_e(),rr(),nc(),nr(),or());}(uc,function(_0x1e1ef8){const _0x1f7305=_0x2ebf;return(function(){const _0x3dd4a4=_0x2ebf;var _0x143a9a=_0x1e1ef8,_0x57a3b2=_0x143a9a[_0x3dd4a4(0x3d0)],_0xd45620=_0x57a3b2[_0x3dd4a4(0xd2)],_0x32c93b=_0x143a9a[_0x3dd4a4(0x292)],_0x1fc3bf=[],_0x999109=[],_0x362cee=[],_0x5e0327=[],_0x245a27=[],_0x1efdb6=[],_0x5af0dd=[],_0x4b2107=[],_0x5836a0=[],_0x382086=[];(function(){for(var _0xd9f01=[],_0x54ae84=0x0;_0x54ae84<0x100;_0x54ae84++)_0x54ae84<0x80?_0xd9f01[_0x54ae84]=_0x54ae84<<0x1:_0xd9f01[_0x54ae84]=_0x54ae84<<0x1^0x11b;for(var _0x41ebde=0x0,_0x50376d=0x0,_0x54ae84=0x0;_0x54ae84<0x100;_0x54ae84++){var _0x5e02c8=_0x50376d^_0x50376d<<0x1^_0x50376d<<0x2^_0x50376d<<0x3^_0x50376d<<0x4;_0x5e02c8=_0x5e02c8>>>0x8^_0x5e02c8&0xff^0x63,_0x1fc3bf[_0x41ebde]=_0x5e02c8,_0x999109[_0x5e02c8]=_0x41ebde;var _0x3b5904=_0xd9f01[_0x41ebde],_0x518d19=_0xd9f01[_0x3b5904],_0x14b862=_0xd9f01[_0x518d19],_0x11a072=_0xd9f01[_0x5e02c8]*0x101^_0x5e02c8*0x1010100;_0x362cee[_0x41ebde]=_0x11a072<<0x18|_0x11a072>>>0x8,_0x5e0327[_0x41ebde]=_0x11a072<<0x10|_0x11a072>>>0x10,_0x245a27[_0x41ebde]=_0x11a072<<0x8|_0x11a072>>>0x18,_0x1efdb6[_0x41ebde]=_0x11a072;var _0x11a072=_0x14b862*0x1010101^_0x518d19*0x10001^_0x3b5904*0x101^_0x41ebde*0x1010100;_0x5af0dd[_0x5e02c8]=_0x11a072<<0x18|_0x11a072>>>0x8,_0x4b2107[_0x5e02c8]=_0x11a072<<0x10|_0x11a072>>>0x10,_0x5836a0[_0x5e02c8]=_0x11a072<<0x8|_0x11a072>>>0x18,_0x382086[_0x5e02c8]=_0x11a072,_0x41ebde?(_0x41ebde=_0x3b5904^_0xd9f01[_0xd9f01[_0xd9f01[_0x14b862^_0x3b5904]]],_0x50376d^=_0xd9f01[_0xd9f01[_0x50376d]]):_0x41ebde=_0x50376d=0x1;}}());var _0x43a0ab=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1a6707=_0x32c93b[_0x3dd4a4(0x23c)]=_0xd45620[_0x3dd4a4(0x377)]({'_doReset':function(){const _0x3c5324=_0x3dd4a4;var _0x4c7f92;if(!(this['_nRounds']&&this[_0x3c5324(0x3e6)]===this[_0x3c5324(0x24a)])){for(var _0x23423a=this[_0x3c5324(0x3e6)]=this[_0x3c5324(0x24a)],_0x30d18e=_0x23423a['words'],_0x49cc76=_0x23423a[_0x3c5324(0x18a)]/0x4,_0x46a9d9=this[_0x3c5324(0x236)]=_0x49cc76+0x6,_0x41a9fc=(_0x46a9d9+0x1)*0x4,_0x63dd90=this['_keySchedule']=[],_0xb22f1b=0x0;_0xb22f1b<_0x41a9fc;_0xb22f1b++)_0xb22f1b<_0x49cc76?_0x63dd90[_0xb22f1b]=_0x30d18e[_0xb22f1b]:(_0x4c7f92=_0x63dd90[_0xb22f1b-0x1],_0xb22f1b%_0x49cc76?_0x49cc76>0x6&&_0xb22f1b%_0x49cc76==0x4&&(_0x4c7f92=_0x1fc3bf[_0x4c7f92>>>0x18]<<0x18|_0x1fc3bf[_0x4c7f92>>>0x10&0xff]<<0x10|_0x1fc3bf[_0x4c7f92>>>0x8&0xff]<<0x8|_0x1fc3bf[_0x4c7f92&0xff]):(_0x4c7f92=_0x4c7f92<<0x8|_0x4c7f92>>>0x18,_0x4c7f92=_0x1fc3bf[_0x4c7f92>>>0x18]<<0x18|_0x1fc3bf[_0x4c7f92>>>0x10&0xff]<<0x10|_0x1fc3bf[_0x4c7f92>>>0x8&0xff]<<0x8|_0x1fc3bf[_0x4c7f92&0xff],_0x4c7f92^=_0x43a0ab[_0xb22f1b/_0x49cc76|0x0]<<0x18),_0x63dd90[_0xb22f1b]=_0x63dd90[_0xb22f1b-_0x49cc76]^_0x4c7f92);for(var _0x1dab1d=this[_0x3c5324(0x3e9)]=[],_0xe90ee4=0x0;_0xe90ee4<_0x41a9fc;_0xe90ee4++){var _0xb22f1b=_0x41a9fc-_0xe90ee4;if(_0xe90ee4%0x4)var _0x4c7f92=_0x63dd90[_0xb22f1b];else var _0x4c7f92=_0x63dd90[_0xb22f1b-0x4];_0xe90ee4<0x4||_0xb22f1b<=0x4?_0x1dab1d[_0xe90ee4]=_0x4c7f92:_0x1dab1d[_0xe90ee4]=_0x5af0dd[_0x1fc3bf[_0x4c7f92>>>0x18]]^_0x4b2107[_0x1fc3bf[_0x4c7f92>>>0x10&0xff]]^_0x5836a0[_0x1fc3bf[_0x4c7f92>>>0x8&0xff]]^_0x382086[_0x1fc3bf[_0x4c7f92&0xff]];}}},'encryptBlock':function(_0x5bf5c6,_0x18515e){const _0x4accfa=_0x3dd4a4;this[_0x4accfa(0x265)](_0x5bf5c6,_0x18515e,this[_0x4accfa(0x43c)],_0x362cee,_0x5e0327,_0x245a27,_0x1efdb6,_0x1fc3bf);},'decryptBlock':function(_0x472e74,_0x507ede){const _0x5a603a=_0x3dd4a4;var _0x5ec6fd=_0x472e74[_0x507ede+0x1];_0x472e74[_0x507ede+0x1]=_0x472e74[_0x507ede+0x3],_0x472e74[_0x507ede+0x3]=_0x5ec6fd,this['_doCryptBlock'](_0x472e74,_0x507ede,this[_0x5a603a(0x3e9)],_0x5af0dd,_0x4b2107,_0x5836a0,_0x382086,_0x999109);var _0x5ec6fd=_0x472e74[_0x507ede+0x1];_0x472e74[_0x507ede+0x1]=_0x472e74[_0x507ede+0x3],_0x472e74[_0x507ede+0x3]=_0x5ec6fd;},'_doCryptBlock':function(_0x4a6118,_0x5c9d55,_0x3a4eaf,_0x9ff188,_0x4856ec,_0x3db379,_0x417492,_0x46e41e){for(var _0x5ac5a3=this['_nRounds'],_0x1262e6=_0x4a6118[_0x5c9d55]^_0x3a4eaf[0x0],_0x4abbdd=_0x4a6118[_0x5c9d55+0x1]^_0x3a4eaf[0x1],_0x289bf8=_0x4a6118[_0x5c9d55+0x2]^_0x3a4eaf[0x2],_0xdd7833=_0x4a6118[_0x5c9d55+0x3]^_0x3a4eaf[0x3],_0x246250=0x4,_0x10a8e5=0x1;_0x10a8e5<_0x5ac5a3;_0x10a8e5++){var _0x3fb96e=_0x9ff188[_0x1262e6>>>0x18]^_0x4856ec[_0x4abbdd>>>0x10&0xff]^_0x3db379[_0x289bf8>>>0x8&0xff]^_0x417492[_0xdd7833&0xff]^_0x3a4eaf[_0x246250++],_0xe3319f=_0x9ff188[_0x4abbdd>>>0x18]^_0x4856ec[_0x289bf8>>>0x10&0xff]^_0x3db379[_0xdd7833>>>0x8&0xff]^_0x417492[_0x1262e6&0xff]^_0x3a4eaf[_0x246250++],_0x5105ae=_0x9ff188[_0x289bf8>>>0x18]^_0x4856ec[_0xdd7833>>>0x10&0xff]^_0x3db379[_0x1262e6>>>0x8&0xff]^_0x417492[_0x4abbdd&0xff]^_0x3a4eaf[_0x246250++],_0x7ff149=_0x9ff188[_0xdd7833>>>0x18]^_0x4856ec[_0x1262e6>>>0x10&0xff]^_0x3db379[_0x4abbdd>>>0x8&0xff]^_0x417492[_0x289bf8&0xff]^_0x3a4eaf[_0x246250++];_0x1262e6=_0x3fb96e,_0x4abbdd=_0xe3319f,_0x289bf8=_0x5105ae,_0xdd7833=_0x7ff149;}var _0x3fb96e=(_0x46e41e[_0x1262e6>>>0x18]<<0x18|_0x46e41e[_0x4abbdd>>>0x10&0xff]<<0x10|_0x46e41e[_0x289bf8>>>0x8&0xff]<<0x8|_0x46e41e[_0xdd7833&0xff])^_0x3a4eaf[_0x246250++],_0xe3319f=(_0x46e41e[_0x4abbdd>>>0x18]<<0x18|_0x46e41e[_0x289bf8>>>0x10&0xff]<<0x10|_0x46e41e[_0xdd7833>>>0x8&0xff]<<0x8|_0x46e41e[_0x1262e6&0xff])^_0x3a4eaf[_0x246250++],_0x5105ae=(_0x46e41e[_0x289bf8>>>0x18]<<0x18|_0x46e41e[_0xdd7833>>>0x10&0xff]<<0x10|_0x46e41e[_0x1262e6>>>0x8&0xff]<<0x8|_0x46e41e[_0x4abbdd&0xff])^_0x3a4eaf[_0x246250++],_0x7ff149=(_0x46e41e[_0xdd7833>>>0x18]<<0x18|_0x46e41e[_0x1262e6>>>0x10&0xff]<<0x10|_0x46e41e[_0x4abbdd>>>0x8&0xff]<<0x8|_0x46e41e[_0x289bf8&0xff])^_0x3a4eaf[_0x246250++];_0x4a6118[_0x5c9d55]=_0x3fb96e,_0x4a6118[_0x5c9d55+0x1]=_0xe3319f,_0x4a6118[_0x5c9d55+0x2]=_0x5105ae,_0x4a6118[_0x5c9d55+0x3]=_0x7ff149;},'keySize':0x100/0x20});_0x143a9a[_0x3dd4a4(0x23c)]=_0xd45620[_0x3dd4a4(0x1b3)](_0x1a6707);}()),_0x1e1ef8[_0x1f7305(0x23c)];}));}(dt)),dt[_0x5266cb(0x3a1)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct['exports'],gi;function gc(){return gi||(gi=0x1,function(_0x5810cd,_0x5aded1){(function(_0x57cdae,_0x5295d4){const _0x2adb22=_0x2ebf;_0x5810cd[_0x2adb22(0x3a1)]=_0x5295d4(_e());}(mc,function(_0x5346a3){const _0x1a7d08=_0x2ebf;return _0x5346a3[_0x1a7d08(0x188)]['Utf8'];}));}(Ct)),Ct['exports'];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et['exports'],Si;function Ec(){const _0x41457e=_0x30c112;return Si||(Si=0x1,function(_0x1a01ae,_0x5643ed){(function(_0x3219d2,_0x470e8c){const _0x488c7b=_0x2ebf;_0x1a01ae[_0x488c7b(0x3a1)]=_0x470e8c(_e());}(Cc,function(_0x32d290){const _0x4e36db=_0x2ebf;return(function(){const _0xfdb154=_0x2ebf;if(typeof ArrayBuffer==_0xfdb154(0x42e)){var _0x18ecae=_0x32d290,_0x2755f8=_0x18ecae['lib'],_0xb37dc9=_0x2755f8[_0xfdb154(0xae)],_0x13a0ca=_0xb37dc9[_0xfdb154(0x427)],_0x19ba92=_0xb37dc9['init']=function(_0xeebcf6){const _0x1bfde8=_0xfdb154;if(_0xeebcf6 instanceof ArrayBuffer&&(_0xeebcf6=new Uint8Array(_0xeebcf6)),(_0xeebcf6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xeebcf6 instanceof Uint8ClampedArray||_0xeebcf6 instanceof Int16Array||_0xeebcf6 instanceof Uint16Array||_0xeebcf6 instanceof Int32Array||_0xeebcf6 instanceof Uint32Array||_0xeebcf6 instanceof Float32Array||_0xeebcf6 instanceof Float64Array)&&(_0xeebcf6=new Uint8Array(_0xeebcf6[_0x1bfde8(0x1f0)],_0xeebcf6['byteOffset'],_0xeebcf6[_0x1bfde8(0x163)])),_0xeebcf6 instanceof Uint8Array){for(var _0x3cd1c8=_0xeebcf6[_0x1bfde8(0x163)],_0x519f56=[],_0x5c26d7=0x0;_0x5c26d7<_0x3cd1c8;_0x5c26d7++)_0x519f56[_0x5c26d7>>>0x2]|=_0xeebcf6[_0x5c26d7]<<0x18-_0x5c26d7%0x4*0x8;_0x13a0ca[_0x1bfde8(0xb6)](this,_0x519f56,_0x3cd1c8);}else _0x13a0ca[_0x1bfde8(0x2a1)](this,arguments);};_0x19ba92['prototype']=_0xb37dc9;}}()),_0x32d290['lib'][_0x4e36db(0xae)];}));}(Et)),Et[_0x41457e(0x3a1)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x30c112(0x3a1)],Ii;function Oc(){const _0x5cb828=_0x30c112;return Ii||(Ii=0x1,function(_0x4a083b,_0x546c92){(function(_0x35969d,_0x4acfe5,_0x280b49){const _0x34c52e=_0x2ebf;_0x4a083b[_0x34c52e(0x3a1)]=_0x4acfe5(_e(),or());}(Rc,function(_0x1284a4){const _0xca6004=_0x2ebf;return _0x1284a4[_0xca6004(0x12a)][_0xca6004(0x1e9)]={'pad':function(){},'unpad':function(){}},_0x1284a4[_0xca6004(0x12a)][_0xca6004(0x1e9)];}));}(bt)),bt[_0x5cb828(0x3a1)];}var yc=Oc();const wc=ct(yc);function Dc(_0x26c87e,_0x44ccd1){const _0x50fdb9=_0x30c112,_0x3e2f9c=_0x44ccd1-_0x26c87e[_0x50fdb9(0xd3)]%_0x44ccd1,_0x41b7eb=String[_0x50fdb9(0x2bc)](_0x3e2f9c)[_0x50fdb9(0x355)](_0x3e2f9c);return _0x26c87e+_0x41b7eb;}function Pc(_0x2a0e94,_0xd65a3d){const _0x5275d0=_0x30c112,_0x3aa2ad=Tc[_0x5275d0(0x1b7)](0x10),_0x189228=Dc(_0x2a0e94,0x10),_0x3d1cba=vc[_0x5275d0(0x30e)](Ic[_0x5275d0(0x173)](_0x189228),mi[_0x5275d0(0x173)](_0xd65a3d),{'iv':_0x3aa2ad,'padding':wc});return _0x3aa2ad['concat'](_0x3d1cba[_0x5275d0(0x438)])[_0x5275d0(0x1ae)](mi);}function Nc(){const _0x166eab=_0x30c112,_0x14320b=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x14320b){const _0x506147={'time':Math[_0x166eab(0x3f8)](Date[_0x166eab(0x189)]()/0x3e8),'domain':location[_0x166eab(0x36e)]};return Pc(JSON['stringify'](_0x506147),_0x14320b);}}var Uc=Object[_0x30c112(0x28e)],Ac=Object[_0x30c112(0x1e3)],Mc=(_0x10e028,_0x5b8fef,_0x2d6c52,_0x2f578c)=>{const _0x5b6e19=_0x30c112;for(var _0x2cb1c9=_0x2f578c>0x1?void 0x0:_0x2f578c?Ac(_0x5b8fef,_0x2d6c52):_0x5b8fef,_0x1df827=_0x10e028[_0x5b6e19(0xd3)]-0x1,_0x414239;_0x1df827>=0x0;_0x1df827--)(_0x414239=_0x10e028[_0x1df827])&&(_0x2cb1c9=(_0x2f578c?_0x414239(_0x5b8fef,_0x2d6c52,_0x2cb1c9):_0x414239(_0x2cb1c9))||_0x2cb1c9);return _0x2f578c&&_0x2cb1c9&&Uc(_0x5b8fef,_0x2d6c52,_0x2cb1c9),_0x2cb1c9;},xc=(_0x367e35,_0x372632)=>(_0x292ff1,_0x144cd1)=>_0x372632(_0x292ff1,_0x144cd1,_0x367e35);let $t=class{constructor(_0x4c8608){const _0x2eff29=_0x30c112;this[_0x2eff29(0x159)]=_0x4c8608,this['_initRequestHeader']();}[_0x30c112(0x2f8)](){const _0x45c7ec=_0x30c112;this[_0x45c7ec(0x159)][_0x45c7ec(0xf6)]({'interceptor':(_0x2fa5e7,_0x3ec502)=>{const _0x5c2c98=_0x45c7ec,_0x161444=_0x2fa5e7[_0x5c2c98(0x2ee)],_0x17444e=Nc();return _0x17444e&&_0x161444['set']('x-univer-host',_0x17444e),_0x3ec502(_0x2fa5e7);}});}};$t=Mc([xc(0x0,_0x1273b4(_0x259d97))],$t);var Lc=Object['defineProperty'],$c=Object[_0x30c112(0x1e3)],Hc=(_0x395598,_0x3ec144,_0xa0b800,_0x3c973a)=>{const _0x3ef6d0=_0x30c112;for(var _0x50d212=_0x3c973a>0x1?void 0x0:_0x3c973a?$c(_0x3ec144,_0xa0b800):_0x3ec144,_0x1d8bd6=_0x395598[_0x3ef6d0(0xd3)]-0x1,_0x43041e;_0x1d8bd6>=0x0;_0x1d8bd6--)(_0x43041e=_0x395598[_0x1d8bd6])&&(_0x50d212=(_0x3c973a?_0x43041e(_0x3ec144,_0xa0b800,_0x50d212):_0x43041e(_0x50d212))||_0x50d212);return _0x3c973a&&_0x50d212&&Lc(_0x3ec144,_0xa0b800,_0x50d212),_0x50d212;},rs=(_0x3ee403,_0x4b9e67)=>(_0x5d7312,_0x1c27d4)=>_0x4b9e67(_0x5d7312,_0x1c27d4,_0x3ee403);const jc=[_0x30c112(0x4a3),_0x30c112(0x125),'image/jpg',_0x30c112(0x1fa),'image/bmp'],Bc=0x5*0x400*0x400,kc=_0x30c112(0x22a),Wc=_0x30c112(0x132),Fc=_0x30c112(0x233),Vc=_0x30c112(0x3f7);let ms=class{constructor(_0x337af6,_0x2f99a7,_0x4dd203){const _0x1ff6cd=_0x30c112;g(this,'_waitCount',0x0),g(this,_0x1ff6cd(0x124),new _0x58011a()),g(this,'change$',this[_0x1ff6cd(0x124)]),g(this,'_imageSourceCache',new Map()),(this[_0x1ff6cd(0x159)]=_0x337af6,this[_0x1ff6cd(0x42c)]=_0x2f99a7,this[_0x1ff6cd(0x187)]=_0x4dd203);}[_0x30c112(0x231)](_0x5c1160){const _0x57a1c1=_0x30c112;this[_0x57a1c1(0x171)]=_0x5c1160,this[_0x57a1c1(0x124)][_0x57a1c1(0x26d)](_0x5c1160);}[_0x30c112(0x1b0)](_0x1a1e42,_0x29f7a8){const _0x2340dd=_0x30c112;if(_0x29f7a8===_0x15bdd2[_0x2340dd(0x418)]){const _0x20f4cb=new Image();return _0x20f4cb[_0x2340dd(0x45d)]=_0x1a1e42,_0x20f4cb;}return this[_0x2340dd(0xeb)][_0x2340dd(0x3f6)](_0x1a1e42);}[_0x30c112(0x1b9)](_0x3c4c52,_0x337e2d,_0x1a066b){const _0x2ff046=_0x30c112;_0x337e2d===_0x15bdd2['BASE64']||_0x1a066b==null||this['_imageSourceCache'][_0x2ff046(0x34b)](_0x3c4c52,_0x1a066b);}async['getImage'](_0x1a08f2){const _0x2dce91=_0x30c112;try{const _0x5a13aa=this[_0x2dce91(0xdd)](this['_getSignURL'](),''+_0x1a08f2),_0x2c9b1=(await this[_0x2dce91(0x159)][_0x2dce91(0x3f6)](_0x5a13aa))['body'];if(_0x2c9b1[_0x2dce91(0x3de)]&&_0x2c9b1['error']['code']===Fi['OK']){const _0x2edf5d=new URL(_0x2c9b1['url'],this[_0x2dce91(0x280)]())[_0x2dce91(0x1ae)]();return Promise['resolve'](_0x2edf5d);}return Promise[_0x2dce91(0x491)](_0x2c9b1[_0x2dce91(0x3de)]);}catch(_0x72812b){return Promise[_0x2dce91(0x491)](_0x72812b);}}async[_0x30c112(0x3b1)](_0x1e4d97){const _0x174f10=_0x30c112;let _0x568f14='';if(!jc['includes'](_0x1e4d97[_0x174f10(0x2a5)]))return this[_0x174f10(0x32e)](),Promise[_0x174f10(0x491)](new Error(_0x23ab42[_0x174f10(0xfb)]));if(_0x1e4d97[_0x174f10(0x150)]>Bc)return this[_0x174f10(0x32e)](),Promise[_0x174f10(0x491)](new Error(_0x23ab42['ERROR_EXCEED_SIZE']));try{const _0x495670=new FormData();_0x495670[_0x174f10(0x272)]('file',_0x1e4d97);const _0x183a59=this[_0x174f10(0x187)][_0x174f10(0x142)](),_0x58f59a=_0x183a59==null?void 0x0:_0x183a59[_0x174f10(0x480)]();if(!_0x58f59a)throw new Error(_0x174f10(0x93));const _0x1c2fc1=this[_0x174f10(0x462)]()+_0x174f10(0xa8)+_0x1e4d97['size']['toString']()+_0x174f10(0x3e2)+Vi[_0x174f10(0x2c1)]+_0x174f10(0x10c)+encodeURIComponent(_0x58f59a),_0x286de1=await(await fetch(_0x1c2fc1,{'method':'POST','body':_0x495670}))[_0x174f10(0x217)]();if(typeof _0x286de1['FileId']!=_0x174f10(0x3e8))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x23ab42[_0x174f10(0x2c5)]));_0x568f14=_0x286de1['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x174f10(0x491)](new Error(_0x23ab42[_0x174f10(0x2c5)]));}return new Promise((_0x2f16c1,_0x4f12b1)=>{const _0x4fc207=_0x174f10,_0xc4de1d=new FileReader();_0xc4de1d[_0x4fc207(0x1c9)](_0x1e4d97),_0xc4de1d[_0x4fc207(0x445)]=_0x52f633=>{const _0x1b1fa8=_0x4fc207;var _0xddf970;const _0x652ff6=(_0xddf970=_0x52f633[_0x1b1fa8(0x271)])==null?void 0x0:_0xddf970[_0x1b1fa8(0x20d)];if(_0x652ff6==null){this[_0x1b1fa8(0x32e)](),_0x4f12b1(new Error(_0x23ab42[_0x1b1fa8(0x2c5)]));return;}const _0x2fd52b=_0x4c6645[_0x1b1fa8(0x1f5)](0x6);_0x2f16c1({'imageId':_0x2fd52b,'imageSourceType':_0x15bdd2[_0x1b1fa8(0x246)],'source':_0x568f14,'base64Cache':_0x652ff6,'status':_0x23ab42[_0x1b1fa8(0x1fd)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x229eee=_0x30c112;var _0x1f1b0e,_0x258f1d;const _0x42fa04=this[_0x229eee(0x42c)][_0x229eee(0x116)](kc),_0x5b1a1a=this[_0x229eee(0x42c)][_0x229eee(0x116)](Q);return(_0x258f1d=(_0x1f1b0e=_0x5b1a1a==null?void 0x0:_0x5b1a1a[_0x229eee(0x2de)])!=null?_0x1f1b0e:_0x42fa04)!=null?_0x258f1d:Wc;}['_getSignURL'](){const _0x2fb2a5=_0x30c112;var _0xe510dc,_0x154145;const _0x5b07e8=this['_configService'][_0x2fb2a5(0x116)](Fc),_0x1f603b=this[_0x2fb2a5(0x42c)][_0x2fb2a5(0x116)](Q);return(_0x154145=(_0xe510dc=_0x1f603b==null?void 0x0:_0x1f603b['signUrlServerUrl'])!=null?_0xe510dc:_0x5b07e8)!=null?_0x154145:Vc;}['_getDownloadEndpointURL'](){const _0x206856=_0x30c112;var _0x137597;const _0x18a236=this['_configService'][_0x206856(0x116)](Q);return(_0x137597=_0x18a236==null?void 0x0:_0x18a236[_0x206856(0x2fd)])!=null?_0x137597:location[_0x206856(0x201)];}['_replaceFileID'](_0x492dcd,_0x368092){const _0x51cf57=_0x30c112;return _0x492dcd[_0x51cf57(0x1ed)](_0x51cf57(0x1a6),_0x368092);}[_0x30c112(0x32e)](){const _0x626705=_0x30c112;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x626705(0x171)]);}};ms=Hc([rs(0x0,_0x1273b4(_0x259d97)),rs(0x1,_0x4d1776),rs(0x2,_0x1273b4(_0x1d1a83))],ms);var Gc=Object[_0x30c112(0x28e)],Yc=Object['getOwnPropertyDescriptor'],Kc=(_0x22e20b,_0x21f878,_0x4a3594,_0x3dcabc)=>{const _0x2aaf0c=_0x30c112;for(var _0xa18ebd=_0x3dcabc>0x1?void 0x0:_0x3dcabc?Yc(_0x21f878,_0x4a3594):_0x21f878,_0x59a8a7=_0x22e20b[_0x2aaf0c(0xd3)]-0x1,_0x35dcb4;_0x59a8a7>=0x0;_0x59a8a7--)(_0x35dcb4=_0x22e20b[_0x59a8a7])&&(_0xa18ebd=(_0x3dcabc?_0x35dcb4(_0x21f878,_0x4a3594,_0xa18ebd):_0x35dcb4(_0xa18ebd))||_0xa18ebd);return _0x3dcabc&&_0xa18ebd&&Gc(_0x21f878,_0x4a3594,_0xa18ebd),_0xa18ebd;},Ci=(_0x212f79,_0x4db976)=>(_0x4049c0,_0x43e2f5)=>_0x4db976(_0x4049c0,_0x43e2f5,_0x212f79);const qc=_0x30c112(0x1bd);let gs=class{constructor(_0x46ecc0,_0x1dd0aa){const _0x3033f0=_0x30c112;this[_0x3033f0(0x42c)]=_0x46ecc0,this[_0x3033f0(0x1bc)]=_0x1dd0aa;}[_0x30c112(0x1ac)](){const _0x53f103=_0x30c112;var _0x430111,_0x471c60;const _0x37bc1e=this[_0x53f103(0x42c)][_0x53f103(0x116)](ir),_0x13a816=this[_0x53f103(0x42c)][_0x53f103(0x116)](Q);return(_0x471c60=(_0x430111=_0x13a816==null?void 0x0:_0x13a816[_0x53f103(0x20f)])!=null?_0x430111:_0x37bc1e)!=null?_0x471c60:qc;}async['list'](_0x59c87e){const _0x4d9124=_0x30c112,_0x38040b=this['_getAPIPrefixPath']()+_0x4d9124(0x15a);return{'list':[{'title':_0x4d9124(0x286),'mentions':(await this[_0x4d9124(0x1bc)][_0x4d9124(0x3f6)](_0x38040b,{'params':{'objectID':_0x59c87e[_0x4d9124(0x2d3)],'unitID':_0x59c87e[_0x4d9124(0x2d3)]}}))['body'][_0x4d9124(0x268)]['map'](_0x105293=>({'objectId':_0x105293['id'],'name':_0x105293[_0x4d9124(0x2b9)]['name'],'metadata':{'icon':_0x105293[_0x4d9124(0x2b9)]['avatar']},'label':_0x105293[_0x4d9124(0x2b9)][_0x4d9124(0x3ab)],'objectType':_0x2dddf1['PERSON']})),'metadata':{},'type':_0x2dddf1['PERSON']}]};}};gs=Kc([Ci(0x0,_0x1273b4(_0x4d1776)),Ci(0x1,_0x1273b4(_0x259d97))],gs);var zc=Object[_0x30c112(0x28e)],Xc=Object[_0x30c112(0x1e3)],Jc=(_0x1814b8,_0x5e8319,_0x2dcaf5,_0x3c7495)=>{const _0x2eea42=_0x30c112;for(var _0x1b96d2=_0x3c7495>0x1?void 0x0:_0x3c7495?Xc(_0x5e8319,_0x2dcaf5):_0x5e8319,_0x345c0e=_0x1814b8[_0x2eea42(0xd3)]-0x1,_0x541fd0;_0x345c0e>=0x0;_0x345c0e--)(_0x541fd0=_0x1814b8[_0x345c0e])&&(_0x1b96d2=(_0x3c7495?_0x541fd0(_0x5e8319,_0x2dcaf5,_0x1b96d2):_0x541fd0(_0x1b96d2))||_0x1b96d2);return _0x3c7495&&_0x1b96d2&&zc(_0x5e8319,_0x2dcaf5,_0x1b96d2),_0x1b96d2;},et=(_0x2b9654,_0x179947)=>(_0xa47014,_0x5d2201)=>_0x179947(_0xa47014,_0x5d2201,_0x2b9654);let Ht=class extends _0x43d55d{constructor(_0x394c78,_0x24bf7a,_0x30a74a,_0x893672,_0xe1f5f5){const _0x51ec9f=_0x30c112;super(),this[_0x51ec9f(0x13e)]=_0x394c78,this['_univerInstanceService']=_0x24bf7a,this['_permissionService']=_0x30a74a,this[_0x51ec9f(0x113)]=_0x893672,this[_0x51ec9f(0x362)]=_0xe1f5f5,this[_0x51ec9f(0x14e)](),this[_0x51ec9f(0x10a)]();}[_0x30c112(0x10a)](){const _0x2f176f=_0x30c112,_0x4f2565=async _0x1a9833=>{const _0x396d5b=_0x2ebf;(await this[_0x396d5b(0x113)]['requireSession'](_0x1a9833))['event$'][_0x396d5b(0x27c)](_0x210123(_0x30c779=>_0x30c779[_0x396d5b(0x39d)]===_0x1b96b7[_0x396d5b(0x17e)]),_0x585a8a(this[_0x396d5b(0x3e7)]))['subscribe'](_0x867d90=>{const _0x168c5b=_0x396d5b,_0x70db8e=_0x867d90,{reason:_0x34b9e6}=_0x70db8e['data'];this[_0x168c5b(0x13e)]['get'](_0x56e1bc)[_0x168c5b(0x3f0)]({'type':_0x41d1f0[_0x168c5b(0xca)],'content':this[_0x168c5b(0x362)]['t'](_0x168c5b(0x34d))+'('+_0x34b9e6+')'}),this['_permissionService'][_0x168c5b(0x242)](new _0x1acc3d(_0x1a9833)['id'],!0x1),this['_collaborationSessionService'][_0x168c5b(0x395)](_0x1a9833);});};_0x3c419a(this[_0x2f176f(0x187)][_0x2f176f(0xa1)](_0x11a8a2[_0x2f176f(0x335)]),this[_0x2f176f(0x187)][_0x2f176f(0xa1)](_0x11a8a2['UNIVER_DOC']))[_0x2f176f(0x27c)](_0x1864e2(_0x13cdc9=>_0x13cdc9[_0x2f176f(0x480)]()),_0x210123(_0xa4286d=>!_0x32fb48(_0xa4286d)),_0x585a8a(this[_0x2f176f(0x3e7)]))['subscribe'](_0x2ee0aa=>{_0x4f2565(_0x2ee0aa);});}[_0x30c112(0x14e)](){const _0x19846c=_0x30c112,_0x117697=async _0x16b0c9=>{const _0x1a2b66=_0x2ebf;(await this[_0x1a2b66(0x113)][_0x1a2b66(0x288)](_0x16b0c9))[_0x1a2b66(0x208)]['pipe'](_0x210123(_0x42ace7=>_0x42ace7[_0x1a2b66(0x39d)]===_0x1b96b7['UPDATE_PERMISSION_OBJ']),_0x585a8a(this[_0x1a2b66(0x3e7)]))[_0x1a2b66(0x196)](_0xc7adc8=>{const _0x2b6337=_0x1a2b66,_0x526fc7=_0xc7adc8,{objectId:_0x26c312}=_0x526fc7[_0x2b6337(0x28d)],_0x5c039e=this[_0x2b6337(0x13e)][_0x2b6337(0x3f6)](_0x1b4740);_0x26c312===_0x16b0c9?_0x5c039e['initWorkbookPermissionChange'](_0x16b0c9):_0x5c039e[_0x2b6337(0x1af)](_0x16b0c9,_0x26c312);});};_0x3c419a(this[_0x19846c(0x187)][_0x19846c(0xa1)](_0x11a8a2['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11a8a2['UNIVER_DOC']))[_0x19846c(0x27c)](_0x1864e2(_0x328c8f=>_0x328c8f[_0x19846c(0x480)]()),_0x210123(_0x2f7d63=>!_0x32fb48(_0x2f7d63)),_0x585a8a(this[_0x19846c(0x3e7)]))[_0x19846c(0x196)](_0x152fcc=>{_0x117697(_0x152fcc);});}};Ht=Jc([et(0x0,_0x1273b4(_0x3c8419)),et(0x1,_0x1d1a83),et(0x2,_0x4a5194),et(0x3,_0x1273b4(xe)),et(0x4,_0x1273b4(_0x582404))],Ht);var Zc=Object[_0x30c112(0x28e)],Qc=Object[_0x30c112(0x1e3)],eh=(_0x5bcd8b,_0x14fc48,_0x106202,_0x3786f0)=>{const _0x30da18=_0x30c112;for(var _0x2ba2cb=_0x3786f0>0x1?void 0x0:_0x3786f0?Qc(_0x14fc48,_0x106202):_0x14fc48,_0x16c665=_0x5bcd8b[_0x30da18(0xd3)]-0x1,_0x506f08;_0x16c665>=0x0;_0x16c665--)(_0x506f08=_0x5bcd8b[_0x16c665])&&(_0x2ba2cb=(_0x3786f0?_0x506f08(_0x14fc48,_0x106202,_0x2ba2cb):_0x506f08(_0x2ba2cb))||_0x2ba2cb);return _0x3786f0&&_0x2ba2cb&&Zc(_0x14fc48,_0x106202,_0x2ba2cb),_0x2ba2cb;},Ei=(_0x45ca9d,_0x2edb72)=>(_0x3acb20,_0x2c7344)=>_0x2edb72(_0x3acb20,_0x2c7344,_0x45ca9d);let Ss=class{constructor(_0x5d67c0,_0x4a6505){const _0x1b200f=_0x30c112;this[_0x1b200f(0x42c)]=_0x5d67c0,this[_0x1b200f(0x159)]=_0x4a6505;}async['getUnitOnRev'](_0x15cde9,_0x350e55){const _0x5c36a4=_0x30c112;var _0x3bdf8e;const {unitID:_0x34ad52,type:_0x49cf96,revision:_0xcc5a59=0x0}=_0x350e55,_0x1e600c=this['getSnapshotAPIPath']()+'/'+_0x49cf96+_0x5c36a4(0xfc)+_0x34ad52+_0x5c36a4(0x30f)+_0xcc5a59,_0x16c5ae=(await this[_0x5c36a4(0x159)][_0x5c36a4(0x3f6)](_0x1e600c))[_0x5c36a4(0x2f0)],_0x43ce8c=(_0x3bdf8e=_0x16c5ae['snapshot'])==null?void 0x0:_0x3bdf8e[_0x5c36a4(0x13f)];if(_0x43ce8c){const _0x301209=_0x43ce8c==null?void 0x0:_0x43ce8c[_0x5c36a4(0x411)],_0x2ef873=_0x4339d2['encode'](_0x443e00(_0x301209));_0x43ce8c[_0x5c36a4(0x411)]=_0x2ef873,Object[_0x5c36a4(0x191)](_0x43ce8c[_0x5c36a4(0x37e)])[_0x5c36a4(0x241)](([,_0x5dca0e])=>{const _0x13f465=_0x5c36a4,_0x54f636=_0x5dca0e[_0x13f465(0x411)],_0x3824b0=_0x4339d2[_0x13f465(0x2ed)](_0x443e00(_0x54f636));_0x5dca0e[_0x13f465(0x411)]=_0x3824b0;});}return _0x16c5ae;}async[_0x30c112(0x41d)](_0x3cb6f6,_0x892197){const _0x47c160=_0x30c112,{unitID:_0x144169,type:_0x1d9981,blockID:_0x49e2d8}=_0x892197,_0x29d43a=this[_0x47c160(0x2d0)]()+'/'+_0x1d9981+_0x47c160(0xfc)+_0x144169+'/block/'+_0x49e2d8;return(await this[_0x47c160(0x159)][_0x47c160(0x3f6)](_0x29d43a))[_0x47c160(0x2f0)];}async['getDeserializedSheetBlock'](_0x20e044,_0x48b455){const _0x4612c8=_0x30c112,{unitID:_0x38dea3,type:_0x348a5d,blockID:_0x54b214}=_0x48b455,_0x4135d2=this[_0x4612c8(0x2d0)]()+'/block/'+_0x348a5d+'/unit/'+_0x38dea3+_0x4612c8(0x111)+_0x54b214;return(await this[_0x4612c8(0x159)][_0x4612c8(0x3f6)](_0x4135d2))[_0x4612c8(0x2f0)];}async[_0x30c112(0x493)](_0x22eace,_0x1cf798){const _0x562a2e=_0x30c112,{unitID:_0x48b647,type:_0x3c969a,from:_0x377e60,to:_0x3cec73}=_0x1cf798,_0x9fd2c2=this['_getAPIPrefix']()+'/'+_0x3c969a+_0x562a2e(0xfc)+_0x48b647+_0x562a2e(0xc4)+_0x377e60+_0x562a2e(0x144)+_0x3cec73;return(await this['_httpService'][_0x562a2e(0x3f6)](_0x9fd2c2))['body'];}['getSnapshotAPIPath'](){const _0x16a903=_0x30c112;var _0x57ccd8;return(_0x57ccd8=this[_0x16a903(0x42c)][_0x16a903(0x116)](Tn))!=null?_0x57ccd8:this[_0x16a903(0x2d0)]();}[_0x30c112(0x2d0)](){const _0xfaf264=_0x30c112;var _0x358fd7,_0xc57a7d;const _0xcf1458=this[_0xfaf264(0x42c)]['getConfig'](En),_0x3d36db=this[_0xfaf264(0x42c)][_0xfaf264(0x116)](Q);return(_0xc57a7d=(_0x358fd7=_0x3d36db==null?void 0x0:_0x3d36db[_0xfaf264(0x257)])!=null?_0x358fd7:_0xcf1458)!=null?_0xc57a7d:bn;}async['getResourcesRequest'](_0x531eac,_0x6b12ba){const _0x505770=_0x30c112,_0x5eb97f=_0x505770(0x2b5)+_0x6b12ba['type']+_0x505770(0xfc)+_0x6b12ba[_0x505770(0x499)]+'/resources';return(await this[_0x505770(0x159)]['get'](_0x5eb97f,{'params':{'resourceId':JSON[_0x505770(0x19d)](_0x6b12ba[_0x505770(0x143)])}}))[_0x505770(0x2f0)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30c112(0xb5)](){const _0x1a142d=_0x30c112;throw new Error(_0x1a142d(0x128));}[_0x30c112(0x38e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30c112(0x1df)](){const _0x35a96e=_0x30c112;throw new Error(_0x35a96e(0x128));}['getLatestCsReqIdBySid'](){const _0x396a02=_0x30c112;throw new Error(_0x396a02(0x128));}};Ss=eh([Ei(0x0,_0x4d1776),Ei(0x1,_0x1273b4(_0x259d97))],Ss);var th=Object[_0x30c112(0x28e)],sh=Object[_0x30c112(0x1e3)],ih=(_0x543138,_0x5c3234,_0x53200b,_0xd4562f)=>{const _0x526b1a=_0x30c112;for(var _0x572e96=_0xd4562f>0x1?void 0x0:_0xd4562f?sh(_0x5c3234,_0x53200b):_0x5c3234,_0x17e928=_0x543138[_0x526b1a(0xd3)]-0x1,_0xdc7a6a;_0x17e928>=0x0;_0x17e928--)(_0xdc7a6a=_0x543138[_0x17e928])&&(_0x572e96=(_0xd4562f?_0xdc7a6a(_0x5c3234,_0x53200b,_0x572e96):_0xdc7a6a(_0x572e96))||_0x572e96);return _0xd4562f&&_0x572e96&&th(_0x5c3234,_0x53200b,_0x572e96),_0x572e96;},tt=(_0x3f2f62,_0x551dea)=>(_0xfa01b,_0x39f8df)=>_0x551dea(_0xfa01b,_0x39f8df,_0x3f2f62);let Is=class extends _0xb09a2c{constructor(_0xb220ec,_0x166ff8,_0x37be06,_0xf45361,_0x50d899){const _0x3ade2a=_0x30c112;super(_0xb220ec,_0x166ff8,_0x37be06),this[_0x3ade2a(0x3b9)]=_0xf45361,this[_0x3ade2a(0x123)]=_0x50d899;}[_0x30c112(0x376)](_0x4eaac9,_0x62967e){const _0x40fda6=_0x30c112,_0x3b0f14=this[_0x40fda6(0x3e4)](_0x4eaac9);if(_0x3b0f14)try{const _0x199906=this[_0x40fda6(0xe9)](_0x3b0f14,_0x62967e);this['_substituteUndoStack'](_0x4eaac9,_0x199906);}catch(_0x17e1e6){this[_0x40fda6(0x123)]['error'](_0x40fda6(0x19c),_0x17e1e6),this[_0x40fda6(0xc3)](_0x4eaac9);}const _0x3f99c8=this[_0x40fda6(0x3f4)](_0x4eaac9);if(_0x3f99c8)try{const _0x3a6ead=this[_0x40fda6(0xe9)](_0x3f99c8,_0x62967e);this[_0x40fda6(0x44f)](_0x4eaac9,_0x3a6ead);}catch(_0x279c7f){this[_0x40fda6(0x123)][_0x40fda6(0x3de)](_0x279c7f),this[_0x40fda6(0x250)](_0x4eaac9);}}[_0x30c112(0xc3)](_0x220867){const _0x4341d6=_0x30c112,_0x4ec111=this[_0x4341d6(0x3e4)](_0x220867);_0x4ec111&&(_0x4ec111[_0x4341d6(0xd3)]=0x0,this[_0x4341d6(0x9f)]());}[_0x30c112(0x250)](_0x44f706){const _0x1ad264=_0x30c112,_0x5a9813=this['_getRedoStack'](_0x44f706);_0x5a9813&&(_0x5a9813[_0x1ad264(0xd3)]=0x0,this[_0x1ad264(0x9f)]());}[_0x30c112(0x167)](_0x258d0a,_0x560b59){const _0x2b9547=_0x30c112;this[_0x2b9547(0x449)][_0x2b9547(0x34b)](_0x258d0a,_0x560b59),this[_0x2b9547(0x9f)]();}['_substituteRedoStack'](_0xf85a5a,_0x484da8){const _0xb7b7e5=_0x30c112;this['_redoStacks'][_0xb7b7e5(0x34b)](_0xf85a5a,_0x484da8),this[_0xb7b7e5(0x9f)]();}['_transformStack'](_0x198002,_0x84c3fb){const _0x5bbde6=_0x30c112,_0x2384ca=[];let _0x249cb6=_0x84c3fb,_0x4b523d=_0x84c3fb;for(let _0x1d5d9a=_0x198002['length']-0x1;_0x1d5d9a>=0x0;_0x1d5d9a--){const {unitID:_0x5f1211,undoMutations:_0x5ddb81,redoMutations:_0x57440b}=_0x198002[_0x1d5d9a],_0x5330c3=this[_0x5bbde6(0x3b9)][_0x5bbde6(0x334)](_0x249cb6,_0x5ddb81),_0x54433b=this['_transformService'][_0x5bbde6(0x334)](_0x4b523d,_0x57440b);if(_0x330507(_0x5330c3)||_0x330507(_0x54433b)){this['_logService'][_0x5bbde6(0x3de)](_0x5bbde6(0x19c),_0x5bbde6(0x3fa),_0x5330c3,_0x54433b);break;}_0x249cb6=_0x5330c3['c1Prime'],_0x4b523d=_0x54433b['c1Prime'],_0x2384ca[_0x5bbde6(0xd6)]({'unitID':_0x5f1211,'undoMutations':_0x5330c3[_0x5bbde6(0x27d)],'redoMutations':_0x54433b[_0x5bbde6(0x27d)]});}return _0x2384ca[_0x5bbde6(0x331)]();}};Is=ih([tt(0x0,_0x1d1a83),tt(0x1,_0x3364ad),tt(0x2,_0x5c23fd),tt(0x3,_0xf205f5),tt(0x4,_0x164f73)],Is);class rh extends _0x43d55d{constructor(){const _0x4a6c6d=_0x30c112;super(),g(this,_0x4a6c6d(0x343)),this[_0x4a6c6d(0x343)]=_0x1700cb(window,_0x4a6c6d(0x3c1))[_0x4a6c6d(0x27c)](_0x4d1973(this[_0x4a6c6d(0x3e7)]),_0x1ee9d9(0x1),_0x42e3d4(void 0x0));}[_0x30c112(0x31a)](_0x1a15c5,_0xd8fab2,_0x746b89=!0x1){const _0xb9c606=_0x30c112,_0x5afd6b=new URL(window[_0xb9c606(0x321)][_0xb9c606(0x477)]);_0x5afd6b[_0xb9c606(0x162)][_0xb9c606(0x34b)](_0x1a15c5,_0xd8fab2),_0x746b89?window[_0xb9c606(0x394)][_0xb9c606(0x37a)]('','',_0x5afd6b[_0xb9c606(0x1ae)]()):window[_0xb9c606(0x394)]['pushState']('','',_0x5afd6b['toString']());}[_0x30c112(0xd9)](_0x31137b,_0x22901b=!0x1){const _0x3d3e7f=_0x30c112,_0x1b44f5=new URL(window[_0x3d3e7f(0x321)]['href']);_0x1b44f5['searchParams']['delete'](_0x31137b),_0x22901b?window[_0x3d3e7f(0x394)][_0x3d3e7f(0x37a)]('','',_0x1b44f5['toString']()):window[_0x3d3e7f(0x394)]['pushState']('','',_0x1b44f5[_0x3d3e7f(0x1ae)]());}[_0x30c112(0x2c2)](_0x432d2f){const _0x151cbd=_0x30c112;var _0x32904d;return(_0x32904d=new URL(window[_0x151cbd(0x321)][_0x151cbd(0x477)])['searchParams'][_0x151cbd(0x3f6)](_0x432d2f))!=null?_0x32904d:void 0x0;}}var ar=Object[_0x30c112(0x28e)],nh=Object[_0x30c112(0x1e3)],oh=(_0x203615,_0x55b8c6,_0x4a594e)=>_0x55b8c6 in _0x203615?ar(_0x203615,_0x55b8c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a594e}):_0x203615[_0x55b8c6]=_0x4a594e,ah=(_0x47c49c,_0x32b9a3,_0x3fc451,_0x1bd10b)=>{const _0x295fa0=_0x30c112;for(var _0x3859c9=_0x1bd10b>0x1?void 0x0:_0x1bd10b?nh(_0x32b9a3,_0x3fc451):_0x32b9a3,_0x38f48b=_0x47c49c[_0x295fa0(0xd3)]-0x1,_0x5e64be;_0x38f48b>=0x0;_0x38f48b--)(_0x5e64be=_0x47c49c[_0x38f48b])&&(_0x3859c9=(_0x1bd10b?_0x5e64be(_0x32b9a3,_0x3fc451,_0x3859c9):_0x5e64be(_0x3859c9))||_0x3859c9);return _0x1bd10b&&_0x3859c9&&ar(_0x32b9a3,_0x3fc451,_0x3859c9),_0x3859c9;},_t=(_0x29a0be,_0x51963f)=>(_0xb95897,_0x41da7f)=>_0x51963f(_0xb95897,_0x41da7f,_0x29a0be),ch=(_0x5524bc,_0x10f707,_0x52602a)=>oh(_0x5524bc,_0x10f707+'',_0x52602a);const hh='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Cs=class extends _0x197194{constructor(_0x473436=Bn,_0x82c8fc,_0x404338,_0x26a842,_0x5df3de){const _0x43125a=_0x30c112;super(),this[_0x43125a(0x8f)]=_0x473436,this['_logService']=_0x82c8fc,this[_0x43125a(0x444)]=_0x404338,this[_0x43125a(0x13e)]=_0x26a842,this[_0x43125a(0x42c)]=_0x5df3de;const {..._0x158b9f}=this[_0x43125a(0x8f)];this[_0x43125a(0x42c)]['setConfig'](Q,_0x158b9f);}[_0x30c112(0x4a0)](){const _0x102faf=_0x30c112;this[_0x102faf(0x3be)](),this[_0x102faf(0x16d)]();}[_0x30c112(0x1e7)](){_0x2c0e53(this['_injector'],[[xt],[Ut]]);}[_0x30c112(0x14b)](){this['_registerRenderDependencies']();}[_0x30c112(0x3be)](){const _0x3c3232=_0x30c112;var _0x3ca490,_0x4a17f7,_0x2a5a02,_0x227e18;this[_0x3c3232(0x13e)][_0x3c3232(0x120)](_0x603285)&&this['_logService'][_0x3c3232(0x3de)](_0x3c3232(0x3cc),_0x3c3232(0x363));const _0x19e2ac=[[_0x603285,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x10c7f1],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x4a17f7=(_0x3ca490=this['_config'])==null?void 0x0:_0x3ca490[_0x3c3232(0x4a2)])!=null?_0x4a17f7:cs}],[_0x1745f9,{'useClass':Ss}],[_0x3254e7,{'useClass':ps}],[_0x4cbe92,{'useClass':ms}],[_0x57e999,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x2a5a02=this[_0x3c3232(0x8f)])!=null&&_0x2a5a02[_0x3c3232(0x199)]&&_0x19e2ac[_0x3c3232(0xd6)]([jt,{'useClass':Co}]),_0x26569a(this[_0x3c3232(0x13e)],_0x306d11(_0x19e2ac,(_0x227e18=this[_0x3c3232(0x8f)])==null?void 0x0:_0x227e18[_0x3c3232(0x3d6)]));}[_0x30c112(0x15b)](){const _0x4e70e6=_0x30c112;this[_0x4e70e6(0x12b)](this['_renderManagerService'][_0x4e70e6(0xef)](_0x11a8a2[_0x4e70e6(0x1d7)],[fs])),this[_0x4e70e6(0x12b)](this[_0x4e70e6(0x444)][_0x4e70e6(0xef)](_0x11a8a2[_0x4e70e6(0x335)],[vs]));}['_initDependencies'](){const _0x2e614f=_0x30c112;var _0x237ab9,_0x21e3ab;this[_0x2e614f(0x13e)]['get'](_0x259d97)[_0x2e614f(0xf6)]({'priority':0x14,'interceptor':_0x4e8127({'maxParallel':0x6})}),(_0x237ab9=this[_0x2e614f(0x8f)])!=null&&_0x237ab9[_0x2e614f(0x41e)]||this[_0x2e614f(0x13e)]['get'](z)[_0x2e614f(0x245)](),(_0x21e3ab=this[_0x2e614f(0x8f)])!=null&&_0x21e3ab[_0x2e614f(0xe8)]&&_0x2c0e53(this[_0x2e614f(0x13e)],[[Lt]]),_0x2c0e53(this[_0x2e614f(0x13e)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x30c112(0x34e),hh),Cs=ah([_0x1480db(_0xd9ebf8,_0x279cc7),_t(0x1,_0x164f73),_t(0x2,_0x87c24b),_t(0x3,_0x1273b4(_0x3c8419)),_t(0x4,_0x4d1776)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
|