@univerjs-pro/collaboration-client 0.4.2-nightly.202410310419 → 0.4.2-nightly.202410311606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/es/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x55040e=_0x1c89;(function(_0x522fab,_0x58a525){const _0x51dc45=_0x1c89,_0x12e6e1=_0x522fab();while(!![]){try{const _0x26f03a=parseInt(_0x51dc45(0x322))/0x1+parseInt(_0x51dc45(0x35a))/0x2+parseInt(_0x51dc45(0x55f))/0x3*(parseInt(_0x51dc45(0x1e4))/0x4)+parseInt(_0x51dc45(0x287))/0x5+parseInt(_0x51dc45(0x230))/0x6*(-parseInt(_0x51dc45(0x3dd))/0x7)+parseInt(_0x51dc45(0x304))/0x8+-parseInt(_0x51dc45(0x4da))/0x9*(parseInt(_0x51dc45(0x523))/0xa);if(_0x26f03a===_0x58a525)break;else _0x12e6e1['push'](_0x12e6e1['shift']());}catch(_0xbbedb4){_0x12e6e1['push'](_0x12e6e1['shift']());}}}(_0x59b0,0xe4a0a));var Ki=Object[_0x55040e(0x4df)],zi=(_0x1fbbc9,_0x32a39a,_0x3b172d)=>_0x32a39a in _0x1fbbc9?Ki(_0x1fbbc9,_0x32a39a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b172d}):_0x1fbbc9[_0x32a39a]=_0x3b172d,g=(_0x347c2d,_0x36f72d,_0x57502b)=>zi(_0x347c2d,typeof _0x36f72d!=_0x55040e(0x37a)?_0x36f72d+'':_0x36f72d,_0x57502b);import{createIdentifier as _0x34aab2,Inject as _0xb59c13,Disposable as _0x32aa41,DisposableCollection as _0x5835a2,toDisposable as _0xc23247,IConfigService as _0x1fedc7,ILogService as _0x6916a2,UserManagerService as _0x29d82d,UniverInstanceType as _0x24e86f,IUniverInstanceService as _0x10abd5,LocaleService as _0x5d0578,Optional as _0x31105a,RxDisposable as _0x47772b,Injector as _0x475d43,Tools as _0xada371,ILocalStorageService as _0x24409f,Rectangle as _0x4cd56a,ICommandService as _0x2983df,DOC_RANGE_TYPE as _0x70259c,JSONX as _0xd8462f,CommandType as _0x433970,IPermissionService as _0xffa540,IUndoRedoService as _0x50f1b0,sequenceExecute as _0x574971,debounce as _0xc081a9,COLORS as _0x450be7,ColorKit as _0x47595b,ThemeService as _0x5a8ea1,fromEventSubject as _0x4e3f7c,useDependency as _0x50d38c,connectInjector as _0x4f2b45,Workbook as _0x579778,isInternalEditorID as _0x326eab,LocalUndoRedoService as _0x341424,IContextService as _0x9c5354,DependentOn as _0x3e5806,Plugin as _0x46423b,touchDependencies as _0x49baab,IAuthzIoService as _0x2d8beb,registerDependencies as _0x3aaab8,mergeOverrideWithDependencies as _0x2902a7}from'@univerjs/core';import{Subject as _0x308ed9,merge as _0x3dbb21,takeUntil as _0x589f39,BehaviorSubject as _0x7f65fd,distinctUntilChanged as _0x3027e0,fromEvent as _0x542d7a,ReplaySubject as _0x3b618a,take as _0x31309a,map as _0xd7e00,shareReplay as _0x507dc,of as _0x1c2089,debounceTime as _0x1a585e,filter as _0x2d2fe3,switchMap as _0x15ee08,combineLatest as _0x12b0bc,concatMap as _0x17d64a,mapTo as _0x247358}from'rxjs';import{map as _0x151dda,take as _0x516d59,filter as _0x1fa847,delay as _0x258030,throttleTime as _0xcf2026,takeUntil as _0x384b4a,switchMap as _0x1e32ba}from'rxjs/operators';import{MessageType as _0x4d23e2,Tooltip as _0x1099e0}from'@univerjs/design';import{IBeforeCloseService as _0x3f52b5,IMessageService as _0x204e81,INotificationService as _0x1e023b,useObservable as _0x1cfa5d,BuiltInUIPart as _0x1c26fa,IUIPartsService as _0x1f002f}from'@univerjs/ui';import{HTTPService as _0x32e2ee,WebSocketService as _0x4f4d80,MergeInterceptorFactory as _0x2ee28d,HTTPRequest as _0x56c16f,UniverNetworkPlugin as _0x41fb44,ThresholdInterceptorFactory as _0x516c01}from'@univerjs/network';import{CollaborationEvent as _0x4382cf,parseChangesetToProtocol as _0x1637d9,ISnapshotServerService as _0x24d50d,isTransformMutationFailure as _0x55b38f,isTransformMutationsWithChangesetSuccess as _0x5c817a,ITransformService as _0x3c8669,RevisionService as _0x4db64b,mapDocumentTypeToUniverType as _0x4604e3,isTransformChangesetsSuccess as _0x356879,CompressMutationService as _0x20ba1c,parseProtocolChangeset as _0x243fd9,SnapshotService as _0x10becd,textEncoder as _0x9dad0c,b64DecodeUnicode as _0x408162,isTransformMutationsWithChangesetFailure as _0x4afa5,UniverCollaborationPlugin as _0x334bc4}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4c9a2d}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x2e4cd8,DocStateChangeManagerService as _0x2dd912,NodePositionConvertToCursor as _0x520d03,NodePositionConvertToRectRange as _0x2085f4,TEXT_RANGE_LAYER_INDEX as _0x54f7cc,SetDocZoomRatioOperation as _0x219679}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x43394b,SetSelectionsOperation as _0x2b5e50,InsertSheetMutation as _0x3f6de1,EmptyMutation as _0x175b3b,WorkbookEditablePermission as _0x21a4cb,RefRangeService as _0xaeff9d,EffectRefRangId as _0x1ed202,handleIRemoveRow as _0x3c5577,handleIRemoveCol as _0x473fa6,handleMoveRange as _0xe9e4b9,handleInsertRow as _0x5e6ad4,handleInsertRangeMoveRight as _0x3ab6ab,handleInsertRangeMoveDown as _0x111aeb,handleInsertCol as _0x5e87db,handleDeleteRangeMoveUp as _0x5ba6ba,handleDeleteRangeMoveLeft as _0x577b13,runRefRangeMutations as _0x377e68,SetWorksheetActivateCommand as _0x5d9c59}from'@univerjs/sheets';import{IRenderManagerService as _0x1959be,Shape as _0x53eadf,Rect as _0x40a882,getColor as _0x2e60e7,RegularPolygon as _0x140698,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xf22eac,Vector2 as _0x3805a7}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x1e62ad,RichTextEditingMutation as _0x3f8477,SetTextSelectionsOperation as _0x444124,DocSkeletonManagerService as _0x218b49}from'@univerjs/docs';import{ImageSourceType as _0xfd8cab,ImageUploadStatusType as _0x19586c,IImageIoService as _0x466d70}from'@univerjs/drawing';function _0x1c89(_0x4f0597,_0x13341e){const _0x59b027=_0x59b0();return _0x1c89=function(_0x1c8980,_0x487723){_0x1c8980=_0x1c8980-0x1c1;let _0x319843=_0x59b027[_0x1c8980];return _0x319843;},_0x1c89(_0x4f0597,_0x13341e);}import{deserializeRangeWithSheet as _0x4682a4,serializeRangeWithSheet as _0x10030c}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x59f476,VIEWPORT_KEY as _0x2a8fb7,getCoordByCell as _0x169a18,getSheetObject as _0x78dd1,SheetPermissionInitController as _0x197e7c}from'@univerjs/sheets-ui';import _0x5625db,{forwardRef as _0x3480a1,useRef as _0xb46f77,createElement as _0x3fd77b,useCallback as _0x52f5d2}from'react';import{IRemoteInstanceService as _0x280a26}from'@univerjs/rpc';const rr='SNAPSHOT_SERVER_URL_KEY',or=_0x55040e(0x2d6),ar=_0x55040e(0x320),kc=_0x55040e(0x377),cr=0x7d0,hr='COLLAB_WEB_SOCKET_URL',lr=_0x55040e(0x3ea),_r='HEARTBEAT_INTERVAL',ur=0x7530,bi=_0x55040e(0x362),Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr='LOCAL_CACHE_INTERVAL',pr=0x3e8,gr=_0x55040e(0x266),Sr=_0x55040e(0x4d4),Ir=_0x55040e(0x3de),Cr=_0x55040e(0x285);var Ri=(_0x1b77dd=>(_0x1b77dd[_0x1b77dd['UNDEFINED']=0x0]='UNDEFINED',_0x1b77dd[_0x1b77dd['OK']=0x1]='OK',_0x1b77dd[_0x1b77dd[_0x55040e(0x428)]=0x2]=_0x55040e(0x428),_0x1b77dd[_0x1b77dd['PERMISSION_DENIED']=0x3]=_0x55040e(0x205),_0x1b77dd[_0x1b77dd['NOT_FOUND']=0x4]=_0x55040e(0x374),_0x1b77dd[_0x1b77dd['UNAUTHENTICATED']=0x5]=_0x55040e(0x569),_0x1b77dd[_0x1b77dd[_0x55040e(0x458)]=0x6]=_0x55040e(0x458),_0x1b77dd[_0x1b77dd[_0x55040e(0x581)]=0x7]='INVALID_ARGUMENT',_0x1b77dd[_0x1b77dd[_0x55040e(0x207)]=0x8]=_0x55040e(0x207),_0x1b77dd[_0x1b77dd['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x1b77dd[_0x1b77dd[_0x55040e(0x21d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1b77dd[_0x1b77dd['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1b77dd[_0x1b77dd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x55040e(0x51c),_0x1b77dd[_0x1b77dd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x55040e(0x20b),_0x1b77dd[_0x1b77dd[_0x55040e(0x240)]=0x1b59]='APPLY_REJECT',_0x1b77dd[_0x1b77dd[_0x55040e(0x241)]=0x1b5a]=_0x55040e(0x241),_0x1b77dd[_0x1b77dd[_0x55040e(0x1c3)]=0x1b5b]=_0x55040e(0x1c3),_0x1b77dd[_0x1b77dd['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x55040e(0x526),_0x1b77dd[_0x1b77dd[_0x55040e(0x2e9)]=0x1b5d]='APPLY_DUPLICATED',_0x1b77dd[_0x1b77dd[_0x55040e(0x4bf)]=0x1f41]=_0x55040e(0x4bf),_0x1b77dd[_0x1b77dd[_0x55040e(0x258)]=0x2329]=_0x55040e(0x258),_0x1b77dd[_0x1b77dd[_0x55040e(0x27c)]=0x232a]=_0x55040e(0x27c),_0x1b77dd[_0x1b77dd['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x55040e(0x3e5),_0x1b77dd[_0x1b77dd[_0x55040e(0x5ae)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1b77dd[_0x1b77dd[_0x55040e(0x358)]=0x232d]=_0x55040e(0x358),_0x1b77dd[_0x1b77dd[_0x55040e(0x254)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1b77dd[_0x1b77dd[_0x55040e(0x1ee)]=0x2712]=_0x55040e(0x1ee),_0x1b77dd[_0x1b77dd[_0x55040e(0x518)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1b77dd[_0x1b77dd[_0x55040e(0x418)]=0x2714]=_0x55040e(0x418),_0x1b77dd[_0x1b77dd[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x1b77dd))(Ri||{}),ce=(_0x59e291=>(_0x59e291[_0x59e291['UNIVER_UNKNOWN']=0x0]=_0x55040e(0x341),_0x59e291[_0x59e291[_0x55040e(0x337)]=0x1]=_0x55040e(0x337),_0x59e291[_0x59e291[_0x55040e(0x2b1)]=0x2]=_0x55040e(0x2b1),_0x59e291[_0x59e291['UNIVER_SLIDE']=0x3]=_0x55040e(0x568),_0x59e291[_0x59e291[_0x55040e(0x445)]=0x4]='UNIVER_PROJECT',_0x59e291[_0x59e291[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x59e291))(ce||{}),W=(_0x2b9150=>(_0x2b9150[_0x2b9150['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x2b9150[_0x2b9150[_0x55040e(0x37f)]=0x1]=_0x55040e(0x37f),_0x2b9150[_0x2b9150[_0x55040e(0x58f)]=0x2]='JOIN',_0x2b9150[_0x2b9150[_0x55040e(0x250)]=0x3]=_0x55040e(0x250),_0x2b9150[_0x2b9150[_0x55040e(0x5d4)]=0x4]=_0x55040e(0x5d4),_0x2b9150[_0x2b9150[_0x55040e(0x4c0)]=0x5]=_0x55040e(0x4c0),_0x2b9150[_0x2b9150[_0x55040e(0x4fe)]=0x6]=_0x55040e(0x4fe),_0x2b9150[_0x2b9150[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x2b9150))(W||{}),Is=(_0x557759=>(_0x557759[_0x557759['UNKNOWN_CODE']=0x0]=_0x55040e(0x26c),_0x557759[_0x557759['OK']=0x1]='OK',_0x557759[_0x557759['FAIL']=0x2]=_0x55040e(0x39f),_0x557759[_0x557759[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x557759))(Is||{}),yi=(_0x29f2b7=>(_0x29f2b7[_0x29f2b7['Undefined']=0x0]=_0x55040e(0x2fa),_0x29f2b7[_0x29f2b7[_0x55040e(0x467)]=0x1]='HttpImport',_0x29f2b7[_0x29f2b7['HttpExport']=0x2]='HttpExport',_0x29f2b7[_0x29f2b7[_0x55040e(0x589)]=0x3]=_0x55040e(0x589),_0x29f2b7[_0x29f2b7[_0x55040e(0x385)]=0x4]='UnitSnapshot',_0x29f2b7[_0x29f2b7[_0x55040e(0x237)]=-0x1]=_0x55040e(0x237),_0x29f2b7))(yi||{});const ie=_0x55040e(0x294),Er={};function br(_0x21ae64){const _0x1a5361=_0x55040e;var _0x507ae8,_0x34c398,_0x2b7046,_0x219661,_0x47b2e0;const _0x510060=_0x21ae64['data'],_0x81b9b0=JSON[_0x1a5361(0x46c)](_0x510060);switch(_0x81b9b0[_0x1a5361(0x5bd)]){case W[_0x1a5361(0x4c0)]:case W['HELLO']:{const _0x2f26c4=_0x81b9b0[_0x1a5361(0x4c6)];return{..._0x81b9b0,'data':_0x2f26c4,'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};}case W[_0x1a5361(0x58f)]:{const _0x8fc38e=_0x81b9b0[_0x1a5361(0x58d)];return{..._0x81b9b0,'data':_0x8fc38e,'cmd':_0x81b9b0['cmd']};}case W[_0x1a5361(0x4fe)]:{const _0x3cfa08=_0x81b9b0[_0x1a5361(0x290)];switch(_0x3cfa08[_0x1a5361(0x3ff)]){case _0x4382cf[_0x1a5361(0x29d)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x507ae8=_0x3cfa08[_0x1a5361(0x557)])==null?void 0x0:_0x507ae8['cs']},'cmd':_0x81b9b0['cmd']};case _0x4382cf[_0x1a5361(0x35b)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x34c398=_0x3cfa08[_0x1a5361(0x574)])==null?void 0x0:_0x34c398['cs']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x4dc)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x2b7046=_0x3cfa08['newCsEvent'])==null?void 0x0:_0x2b7046['cs']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x2b9)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x219661=_0x3cfa08[_0x1a5361(0x23b)])==null?void 0x0:_0x219661['cs']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x247)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':(_0x47b2e0=_0x3cfa08[_0x1a5361(0x433)])==null?void 0x0:_0x47b2e0['cs']},'cmd':_0x81b9b0['cmd']};case _0x4382cf['UPDATE_CURSOR']:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x482)]},'cmd':_0x81b9b0['cmd']};case _0x4382cf[_0x1a5361(0x232)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x5b0)]},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x278)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x4c5)]},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf['LIVESHARE_NEW_HOST']:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08['liveShareNewHost']},'cmd':_0x81b9b0['cmd']};case _0x4382cf[_0x1a5361(0x1f1)]:case _0x4382cf[_0x1a5361(0x1c9)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x58e)]},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x43c)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08['liveShareNewHost']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x52d)]:return{..._0x81b9b0,'data':_0x3cfa08,'cmd':_0x81b9b0['cmd']};case _0x4382cf[_0x1a5361(0x36f)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08['commentUpdateEvent']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf[_0x1a5361(0x208)]:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08['updatePermissionObjEvent']},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};case _0x4382cf['SHOULD_CLOSE_CONN']:return{..._0x81b9b0,'data':{..._0x3cfa08,'data':_0x3cfa08[_0x1a5361(0x1d5)]},'cmd':_0x81b9b0[_0x1a5361(0x5bd)]};default:return _0x81b9b0;}}default:return _0x81b9b0;}}function Tr(_0x318d1a){const _0x415e64=_0x55040e;switch(_0x318d1a[_0x415e64(0x5bd)]){case W[_0x415e64(0x4c0)]:case W[_0x415e64(0x37f)]:return JSON[_0x415e64(0x434)]({'cmd':_0x318d1a[_0x415e64(0x5bd)],'routeKey':_0x318d1a[_0x415e64(0x2e7)]});case W[_0x415e64(0x5d4)]:{let _0x4c364a;switch(_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x3ff)]){case _0x4382cf[_0x415e64(0x480)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x480)],'updateCursorEvent':_0x318d1a[_0x415e64(0x44b)]['data']};break;}case _0x4382cf[_0x415e64(0x278)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x278)],'leaveEvent':_0x318d1a['data'][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x232)]:{_0x4c364a={'eventID':_0x4382cf['USERS_ENTER'],'joinEvent':_0x318d1a['data'][_0x415e64(0x44b)]};break;}case _0x4382cf['LIVESHARE_NEW_HOST']:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x2e1)],'liveShareNewHost':_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x1c9)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x1c9)],'liveShareOperation':_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x43c)]:{_0x4c364a={'eventID':_0x4382cf['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x2e5)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x2e5)],'liveShareRequestHost':_0x318d1a[_0x415e64(0x44b)][_0x415e64(0x44b)]};break;}case _0x4382cf[_0x415e64(0x1f1)]:{_0x4c364a={'eventID':_0x4382cf[_0x415e64(0x1f1)]};break;}default:_0x4c364a={'eventID':_0x318d1a['data']['eventID']};}return JSON[_0x415e64(0x434)]({'cmd':_0x318d1a['cmd'],'routeKey':_0x318d1a[_0x415e64(0x2e7)],'collaMsg':_0x4c364a});}case W[_0x415e64(0x58f)]:return JSON[_0x415e64(0x434)]({'cmd':_0x318d1a['cmd'],'routeKey':_0x318d1a[_0x415e64(0x2e7)],'joinReq':_0x318d1a[_0x415e64(0x44b)]});case W['LEAVE']:return JSON[_0x415e64(0x434)]({'cmd':_0x318d1a[_0x415e64(0x5bd)],'routeKey':_0x318d1a['routeKey'],'leaveReq':_0x318d1a[_0x415e64(0x44b)]});default:throw new Error(_0x415e64(0x5ca));}}var Rr=Object[_0x55040e(0x4df)],yr=Object[_0x55040e(0x2ad)],Or=(_0x35da9b,_0x417b61,_0xb463ba,_0x373f11)=>{const _0x4f405c=_0x55040e;for(var _0x4ca5ed=_0x373f11>0x1?void 0x0:_0x373f11?yr(_0x417b61,_0xb463ba):_0x417b61,_0x49782c=_0x35da9b[_0x4f405c(0x41f)]-0x1,_0x442125;_0x49782c>=0x0;_0x49782c--)(_0x442125=_0x35da9b[_0x49782c])&&(_0x4ca5ed=(_0x373f11?_0x442125(_0x417b61,_0xb463ba,_0x4ca5ed):_0x442125(_0x4ca5ed))||_0x4ca5ed);return _0x373f11&&_0x4ca5ed&&Rr(_0x417b61,_0xb463ba,_0x4ca5ed),_0x4ca5ed;},qe=(_0x54e919,_0x193d0d)=>(_0x394797,_0x4bbc35)=>_0x193d0d(_0x394797,_0x4bbc35,_0x54e919);const Oi=_0x34aab2(_0x55040e(0x4c9));function wr(_0x3c6058,_0xdc1a1d,_0x5c7f27){const _0x14fe44=_0x55040e;return _0x3c6058+'/'+_0xdc1a1d+_0x14fe44(0x3c7)+_0x5c7f27+_0x14fe44(0x3df);}let es=class extends _0x32aa41{constructor(_0x4f5e8b,_0x3c91f8,_0x523151,_0x3d524f,_0x40ffdc){const _0x3b3917=_0x55040e;super(),this[_0x3b3917(0x59f)]=_0x4f5e8b,this['_ws']=_0x3c91f8,this[_0x3b3917(0x2b0)]=_0x523151,this['_logService']=_0x3d524f,this[_0x3b3917(0x465)]=_0x40ffdc;}[_0x55040e(0x226)](_0x17a4c4){const _0x277c11=_0x55040e,_0xb11352=this[_0x277c11(0x2f2)]['createSocket'](_0x17a4c4);if(!_0xb11352)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x32934a=new _0x5835a2(),_0x3bf9bb=new _0x308ed9();_0x32934a[_0x277c11(0x47d)](_0xb11352[_0x277c11(0x566)]['subscribe'](_0x7ffad5=>_0x3bf9bb[_0x277c11(0x1ea)](_0x7ffad5))),_0x32934a[_0x277c11(0x47d)](_0xc23247(()=>_0x3bf9bb[_0x277c11(0x512)]()));const _0x347076=new _0x308ed9();_0x32934a['add'](_0xb11352[_0x277c11(0x1d6)][_0x277c11(0x1e2)](_0x3dfed2=>_0x347076[_0x277c11(0x1ea)](_0x3dfed2))),_0x32934a['add'](_0xc23247(()=>_0x347076[_0x277c11(0x512)]()));const _0xdf72bd=new _0x308ed9();_0x32934a['add'](_0xb11352['message$'][_0x277c11(0x1e2)](_0x135203=>{const _0x50f0bd=br(_0x135203);_0xdf72bd['next'](_0x50f0bd);})),_0x32934a[_0x277c11(0x47d)](_0xc23247(()=>_0xdf72bd[_0x277c11(0x512)]()));let _0x4e0a8e;const _0x1854f3=()=>{const _0x2aa247=_0x277c11;_0x347076['next'](new Event('connection\x20error')),_0x3bf9bb[_0x2aa247(0x1ea)](new CloseEvent(_0x2aa247(0x30a))),_0x4e0a8e[_0x2aa247(0x570)]();};return _0x4e0a8e={'memberID':'','close$':_0x3bf9bb[_0x277c11(0x34d)](),'error$':_0x347076[_0x277c11(0x34d)](),'open$':_0xb11352[_0x277c11(0x4d9)],'message$':_0xdf72bd[_0x277c11(0x34d)](),'send':_0x5108f4=>{const _0xbaf4a3=_0x277c11;if(_0x5108f4[_0xbaf4a3(0x5bd)]===W['INGEST']){if(_0x5108f4[_0xbaf4a3(0x44b)][_0xbaf4a3(0x3ff)]===_0x4382cf[_0xbaf4a3(0x5a0)]){this[_0xbaf4a3(0x27d)](_0x4e0a8e,_0x5108f4[_0xbaf4a3(0x44b)])[_0xbaf4a3(0x213)](_0x33c1f4=>{const _0x335ba4=_0xbaf4a3;this[_0x335ba4(0x37d)][_0x335ba4(0x268)](_0x33c1f4),_0x1854f3();});return;}if(_0x5108f4[_0xbaf4a3(0x44b)][_0xbaf4a3(0x3ff)]===_0x4382cf[_0xbaf4a3(0x498)]){const _0x331e55=_0x5108f4[_0xbaf4a3(0x44b)];this[_0xbaf4a3(0x578)](_0x331e55)[_0xbaf4a3(0x4ce)](_0x107e0f=>{const _0x2bc146=_0xbaf4a3;_0xdf72bd[_0x2bc146(0x1ea)]({'cmd':W[_0x2bc146(0x4fe)],'code':Is['OK'],'routeKey':_0x331e55['data'][_0x2bc146(0x54d)],'routeType':'','data':{'eventID':_0x4382cf[_0x2bc146(0x281)],'data':{'changesets':_0x107e0f}}});})[_0xbaf4a3(0x213)](_0x362f1e=>{const _0x169ec5=_0xbaf4a3;this[_0x169ec5(0x37d)][_0x169ec5(0x268)](_0x362f1e),_0x1854f3();});return;}}_0xb11352[_0xbaf4a3(0x4a8)](Tr(_0x5108f4));},'close':()=>{const _0x4ba827=_0x277c11;_0xb11352[_0x4ba827(0x570)](),_0x32934a[_0x4ba827(0x449)]();}},_0x4e0a8e;}async[_0x55040e(0x27d)](_0x5b6af6,_0x200c63){const _0x1562b7=_0x55040e;var _0x43316a,_0x202c87;const {unitType:_0x4afe67,unitID:_0x230253,changeset:_0x372835}=_0x200c63[_0x1562b7(0x44b)],_0x3d6582={'unitID':_0x230253,'memberID':_0x5b6af6[_0x1562b7(0x572)],'type':_0x4afe67,'changeset':_0x1637d9(_0x372835)},_0x17a26e=this['_configService'][_0x1562b7(0x5c3)](gr),_0x39532=this[_0x1562b7(0x2b0)][_0x1562b7(0x5c3)](ie),_0x1b2931=wr((_0x202c87=(_0x43316a=_0x39532==null?void 0x0:_0x39532[_0x1562b7(0x547)])!=null?_0x43316a:_0x17a26e)!=null?_0x202c87:Sr,_0x4afe67,_0x230253);try{await this[_0x1562b7(0x59f)]['post'](_0x1b2931,{'body':_0x3d6582});}catch(_0x37bda5){throw this[_0x1562b7(0x37d)]['error']('[CollaborationSession]',_0x1562b7(0x5aa)),_0x37bda5;}}async[_0x55040e(0x578)](_0xd78577){const _0x2a057f=_0x55040e,{unitID:_0x4bf194,from:_0x439762,to:_0x209de3,unitType:_0x5f3e7c}=_0xd78577[_0x2a057f(0x44b)];return(await this[_0x2a057f(0x465)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4bf194,'type':_0x5f3e7c,'from':_0x439762,'to':_0x209de3}))[_0x2a057f(0x34c)];}};es=Or([qe(0x0,_0xb59c13(_0x32e2ee)),qe(0x1,_0xb59c13(_0x4f4d80)),qe(0x2,_0x1fedc7),qe(0x3,_0x6916a2),qe(0x4,_0x24d50d)],es);const Dr=_0x55040e(0x5a5);function Pr(_0x1068d1){const _0x5b2c0b=_0x55040e;return JSON[_0x5b2c0b(0x434)](_0x1068d1)[_0x5b2c0b(0x41f)];}class wi{constructor(){const _0xeb6982=_0x55040e;g(this,'_commentUpdate$',new _0x308ed9()),g(this,_0xeb6982(0x329),this['_commentUpdate$'][_0xeb6982(0x34d)]());}[_0x55040e(0x546)](_0x493dc5){const _0x44e144=_0x55040e;this[_0x44e144(0x3fa)][_0x44e144(0x1ea)](_0x493dc5);}}var Ur=Object[_0x55040e(0x4df)],Nr=Object[_0x55040e(0x2ad)],Ar=(_0x52719e,_0x579a3c,_0x138a02,_0x48e2b7)=>{for(var _0x23b6f5=_0x48e2b7>0x1?void 0x0:_0x48e2b7?Nr(_0x579a3c,_0x138a02):_0x579a3c,_0x159cb2=_0x52719e['length']-0x1,_0x1dd5be;_0x159cb2>=0x0;_0x159cb2--)(_0x1dd5be=_0x52719e[_0x159cb2])&&(_0x23b6f5=(_0x48e2b7?_0x1dd5be(_0x579a3c,_0x138a02,_0x23b6f5):_0x1dd5be(_0x23b6f5))||_0x23b6f5);return _0x48e2b7&&_0x23b6f5&&Ur(_0x579a3c,_0x138a02,_0x23b6f5),_0x23b6f5;},Hs=(_0x25c2ae,_0x561eac)=>(_0x29c7a9,_0x2f9837)=>_0x561eac(_0x29c7a9,_0x2f9837,_0x25c2ae);let Ne=class extends _0x32aa41{constructor(_0x5f54c0,_0x582e26){const _0x567cbd=_0x55040e;super(),g(this,_0x567cbd(0x4eb),new Map()),(this[_0x567cbd(0x48a)]=_0x5f54c0,this[_0x567cbd(0x37e)]=_0x582e26,this['disposeWithMe'](_0xc23247(_0x3dbb21(this[_0x567cbd(0x48a)][_0x567cbd(0x41b)](_0x24e86f['UNIVER_SHEET'])['pipe'](_0x151dda(_0x5d7628=>_0x5d7628['getUnitId']())),this[_0x567cbd(0x48a)][_0x567cbd(0x41b)](_0x24e86f[_0x567cbd(0x337)])['pipe'](_0x151dda(_0x20e732=>_0x20e732[_0x567cbd(0x4f5)]())),this[_0x567cbd(0x48a)][_0x567cbd(0x41b)](_0x24e86f[_0x567cbd(0x568)])['pipe'](_0x151dda(_0x20f2a4=>_0x20f2a4[_0x567cbd(0x4f5)]())))[_0x567cbd(0x1e2)](_0x288638=>this[_0x567cbd(0x3ae)](_0x288638)))));}[_0x55040e(0x472)](_0x2f1071){const _0x1fa8d1=_0x55040e;this[_0x1fa8d1(0x37e)]['setCurrentUser'](_0x2f1071);}[_0x55040e(0x31a)](){const _0xe94937=_0x55040e;return this['_userManagerService'][_0xe94937(0x31a)]();}[_0x55040e(0x45d)](_0x152b91,_0x583fd6){const _0x30a9be=_0x55040e;let _0x536ea0=this['_roomMembers'][_0x30a9be(0x25c)](_0x152b91);_0x536ea0||(_0x536ea0=new Mr(),this[_0x30a9be(0x4eb)][_0x30a9be(0x333)](_0x152b91,_0x536ea0)),_0x536ea0['updateMember'](_0x583fd6);}['removeMember'](_0x225836,_0x5e7061){const _0x2d93e9=_0x55040e,_0x2fe8dc=this[_0x2d93e9(0x4eb)][_0x2d93e9(0x25c)](_0x225836);_0x2fe8dc&&_0x2fe8dc[_0x2d93e9(0x4b3)](_0x5e7061);}[_0x55040e(0x475)](_0x432e6c){const _0x22beb8=_0x55040e;return this[_0x22beb8(0x4eb)][_0x22beb8(0x25c)](_0x432e6c);}[_0x55040e(0x1fc)](_0x277faa,_0xf9a7d8){const _0x33c451=_0x55040e,_0x388f70=this[_0x33c451(0x4eb)][_0x33c451(0x25c)](_0x277faa);if(_0x388f70)return _0x388f70[_0x33c451(0x1fc)](_0xf9a7d8);}[_0x55040e(0x3ae)](_0x46dace){const _0x13a76a=_0x55040e,_0x18e310=this[_0x13a76a(0x4eb)]['get'](_0x46dace);_0x18e310&&(_0x18e310[_0x13a76a(0x449)](),this['_roomMembers'][_0x13a76a(0x4b5)](_0x46dace));}[_0x55040e(0x449)](){const _0x5b25fa=_0x55040e;this[_0x5b25fa(0x4eb)][_0x5b25fa(0x582)](_0x5387c6=>_0x5387c6[_0x5b25fa(0x449)]()),this[_0x5b25fa(0x4eb)][_0x5b25fa(0x277)]();}};Ne=Ar([Hs(0x0,_0x10abd5),Hs(0x1,_0xb59c13(_0x29d82d))],Ne);class Mr extends _0x32aa41{constructor(){const _0x345949=_0x55040e;super(...arguments),g(this,_0x345949(0x400),new Map());}[_0x55040e(0x449)](){const _0x39be7e=_0x55040e;this[_0x39be7e(0x400)][_0x39be7e(0x277)]();}[_0x55040e(0x45d)](_0x1a075a){const _0xbf9034=_0x55040e;this[_0xbf9034(0x400)][_0xbf9034(0x333)](_0x1a075a[_0xbf9034(0x572)],_0x1a075a);}[_0x55040e(0x4b3)](_0x4b6b77){const _0x49944f=_0x55040e;this[_0x49944f(0x400)][_0x49944f(0x4b5)](_0x4b6b77);}[_0x55040e(0x1fc)](_0x6e9e2c){const _0x3270ac=_0x55040e;return this['_members'][_0x3270ac(0x25c)](_0x6e9e2c);}[_0x55040e(0x50b)](){const _0x186f0a=_0x55040e;return Array[_0x186f0a(0x311)](this[_0x186f0a(0x400)]['values']());}}var xr=Object[_0x55040e(0x4df)],Lr=Object[_0x55040e(0x2ad)],$r=(_0x584dad,_0x212818,_0x502cab,_0x30e182)=>{for(var _0x533c19=_0x30e182>0x1?void 0x0:_0x30e182?Lr(_0x212818,_0x502cab):_0x212818,_0x4f5ddc=_0x584dad['length']-0x1,_0x1eb484;_0x4f5ddc>=0x0;_0x4f5ddc--)(_0x1eb484=_0x584dad[_0x4f5ddc])&&(_0x533c19=(_0x30e182?_0x1eb484(_0x212818,_0x502cab,_0x533c19):_0x1eb484(_0x533c19))||_0x533c19);return _0x30e182&&_0x533c19&&xr(_0x212818,_0x502cab,_0x533c19),_0x533c19;},Ee=(_0x51fedc,_0x16862f)=>(_0x1452fe,_0x2d6600)=>_0x16862f(_0x1452fe,_0x2d6600,_0x51fedc),ve=(_0x212695=>(_0x212695[_0x212695[_0x55040e(0x23a)]=0x0]='IDLE',_0x212695[_0x212695[_0x55040e(0x45e)]=0x1]=_0x55040e(0x45e),_0x212695[_0x212695[_0x55040e(0x4d3)]=0x2]=_0x55040e(0x4d3),_0x212695[_0x212695[_0x55040e(0x1e6)]=0x3]='ONLINE',_0x212695))(ve||{});let ts=class extends _0x47772b{constructor(_0x51c293,_0x3eed50,_0x934053,_0x1244bb,_0x1f5515,_0x5a6a1e,_0x15a641,_0x120e44,_0x379b58,_0x138e35){const _0x328a19=_0x55040e;super(),g(this,_0x328a19(0x2a0),new _0x7f65fd(0x0)),g(this,_0x328a19(0x3ed),this[_0x328a19(0x2a0)][_0x328a19(0x34d)]()),g(this,_0x328a19(0x336),new _0x308ed9()),g(this,_0x328a19(0x4e5),this[_0x328a19(0x336)][_0x328a19(0x34d)]()),g(this,_0x328a19(0x360)),g(this,_0x328a19(0x219)),g(this,_0x328a19(0x48d)),g(this,_0x328a19(0x3c1),!0x1),g(this,'_telemetryInfo',null),(this[_0x328a19(0x40d)]=_0x51c293,this[_0x328a19(0x37d)]=_0x934053,this[_0x328a19(0x471)]=_0x1244bb,this[_0x328a19(0x353)]=_0x1f5515,this['_configService']=_0x5a6a1e,this[_0x328a19(0x376)]=_0x15a641,this[_0x328a19(0x356)]=_0x120e44,this['_commentService']=_0x379b58,this[_0x328a19(0x244)]=_0x138e35,this['_shouldReportTelemetry']=!!this[_0x328a19(0x244)],_0x3eed50[_0x328a19(0x55b)](_0x589f39(this[_0x328a19(0x48c)]))['subscribe'](_0x392cf2=>{const _0xc2995c=_0x328a19;var _0x196537;typeof _0x392cf2>'u'||(this[_0xc2995c(0x360)]=_0x392cf2,_0x392cf2?(this[_0xc2995c(0x5ba)](_0x392cf2),this['_socketMessageSubscription']=_0x392cf2['message$'][_0xc2995c(0x1e2)](_0xc4f3eb=>{const _0x2a7e8c=_0xc2995c;_0xc4f3eb[_0x2a7e8c(0x2e7)]===this[_0x2a7e8c(0x40d)]&&this['_onCombEvent'](_0xc4f3eb);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xc2995c(0x2a0)][_0xc2995c(0x1ea)](0x2),(_0x196537=this['_socketMessageSubscription'])==null||_0x196537[_0xc2995c(0x1e9)](),this[_0xc2995c(0x219)]=null));}),this[_0x328a19(0x33a)](this[_0x328a19(0x471)][_0x328a19(0x2f8)](()=>{const _0x343a5e=_0x328a19;var _0x3350b2;(_0x3350b2=this[_0x343a5e(0x360)])==null||_0x3350b2['send']({'cmd':W[_0x343a5e(0x250)],'data':{'roomID':this[_0x343a5e(0x40d)]}});})));}get['sessionStatus'](){const _0x96a5a3=_0x55040e;return this[_0x96a5a3(0x2a0)][_0x96a5a3(0x1e5)]();}[_0x55040e(0x419)](){const _0xdf8ee=_0x55040e;var _0x26e6c8,_0xd39e9d;return(_0xd39e9d=(_0x26e6c8=this[_0xdf8ee(0x360)])==null?void 0x0:_0x26e6c8[_0xdf8ee(0x572)])!=null?_0xd39e9d:null;}[_0x55040e(0x449)](){const _0x3f6043=_0x55040e;super[_0x3f6043(0x449)](),this['dispose$'][_0x3f6043(0x1ea)](),this['dispose$'][_0x3f6043(0x512)]();}['close'](){const _0x4dd8cf=_0x55040e;var _0x32eaa4,_0x2668fa;this[_0x4dd8cf(0x531)](),(_0x32eaa4=this[_0x4dd8cf(0x360)])==null||_0x32eaa4['send']({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x2668fa=this[_0x4dd8cf(0x360)])==null||_0x2668fa['close'](),this['_event$'][_0x4dd8cf(0x512)](),this[_0x4dd8cf(0x2a0)][_0x4dd8cf(0x512)](),this['dispose']();}[_0x55040e(0x379)](_0xf8a86b){const _0x3acb66=_0x55040e;_0xf8a86b[_0x3acb66(0x5bd)]===W['JOIN']?this[_0x3acb66(0x39e)](_0xf8a86b):_0xf8a86b[_0x3acb66(0x5bd)]===W[_0x3acb66(0x4fe)]&&this[_0x3acb66(0x404)](_0xf8a86b);}[_0x55040e(0x5ba)](_0x3483fe){const _0x4d5abb=_0x55040e;this[_0x4d5abb(0x2a0)][_0x4d5abb(0x1ea)](0x1),_0x3483fe['send']({'cmd':W[_0x4d5abb(0x58f)],'routeKey':this[_0x4d5abb(0x40d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4d5abb(0x40d)]}]}});}['_onJoinRoomEvent'](_0x4e6c8e){const _0x50f29f=_0x55040e;var _0xe609fa;if(_0x4e6c8e[_0x50f29f(0x2c3)]===Is[_0x50f29f(0x39f)]){this[_0x50f29f(0x353)][_0x50f29f(0x2d8)]({'type':_0x4d23e2[_0x50f29f(0x282)],'content':this[_0x50f29f(0x376)]['t']('session.room-full')}),this['_sessionStatus$'][_0x50f29f(0x1ea)](0x2);return;}this[_0x50f29f(0x2a0)]['next'](0x3);const _0x560681=(_0xe609fa=_0x4e6c8e['data'][_0x50f29f(0x24b)][this[_0x50f29f(0x40d)]])==null?void 0x0:_0xe609fa[_0x50f29f(0x4e8)];_0x560681&&_0x560681[_0x50f29f(0x582)](_0x2b48ae=>this['_memberService']['updateMember'](this['_unitID'],_0x2b48ae));}[_0x55040e(0x404)](_0x3156df){const _0x5066e7=_0x55040e;try{const _0x591dc3=_0x3156df['data'];switch(_0x591dc3[_0x5066e7(0x3ff)]){case _0x4382cf[_0x5066e7(0x232)]:this[_0x5066e7(0x308)](_0x591dc3),this[_0x5066e7(0x336)][_0x5066e7(0x1ea)](_0x591dc3);break;case _0x4382cf['USERS_LEAVE']:this[_0x5066e7(0x35e)](_0x591dc3),this['_event$'][_0x5066e7(0x1ea)](_0x591dc3);break;case _0x4382cf['CHANGESET_ACK']:case _0x4382cf[_0x5066e7(0x247)]:this[_0x5066e7(0x3d5)](),this[_0x5066e7(0x54f)](),this[_0x5066e7(0x336)][_0x5066e7(0x1ea)](_0x591dc3);break;case _0x4382cf[_0x5066e7(0x52d)]:this[_0x5066e7(0x37d)][_0x5066e7(0x268)](_0x5066e7(0x313)+JSON[_0x5066e7(0x434)](_0x591dc3)),this['_event$'][_0x5066e7(0x1ea)](_0x591dc3);break;case _0x4382cf[_0x5066e7(0x36f)]:this[_0x5066e7(0x4af)]['onCommentUpdate'](_0x591dc3[_0x5066e7(0x44b)]),this[_0x5066e7(0x336)]['next'](_0x591dc3);break;default:this[_0x5066e7(0x336)][_0x5066e7(0x1ea)](_0x591dc3);}}catch(_0x1435a4){this[_0x5066e7(0x37d)][_0x5066e7(0x268)](_0x1435a4,_0x3156df);}}[_0x55040e(0x308)](_0x2ba30c){const _0x42d999=_0x55040e;this[_0x42d999(0x356)][_0x42d999(0x45d)](this[_0x42d999(0x40d)],_0x2ba30c[_0x42d999(0x44b)]);}[_0x55040e(0x35e)](_0x30544f){const _0x373816=_0x55040e;this['_memberService'][_0x373816(0x4b3)](this[_0x373816(0x40d)],_0x30544f[_0x373816(0x44b)][_0x373816(0x572)]);}async[_0x55040e(0x4a8)](_0x3af264,_0x416c7d){const _0x3e0f5d=_0x55040e;if(this[_0x3e0f5d(0x521)]!==0x3||!this[_0x3e0f5d(0x360)])throw new Error(_0x3e0f5d(0x252));try{_0x3af264[_0x3e0f5d(0x3ff)]===_0x4382cf[_0x3e0f5d(0x5a0)]&&(this[_0x3e0f5d(0x421)](),this['_startTelemetryCollaborationNewChangeset'](_0x3af264)),this['_socket']['send']({'cmd':W[_0x3e0f5d(0x5d4)],'routeKey':_0x416c7d,'routeType':'','data':_0x3af264});}catch(_0xe82b8a){this[_0x3e0f5d(0x37d)]['error'](_0xe82b8a);}}['_scheduleCollaborationTimeoutTimer'](){const _0x3ea4d1=_0x55040e;var _0x4e28d7;this[_0x3ea4d1(0x48d)]=window[_0x3ea4d1(0x3f7)](()=>{const _0x38780a=_0x3ea4d1;this['_collaborationTimeoutTimer']=null,this[_0x38780a(0x353)][_0x38780a(0x2d8)]({'type':_0x4d23e2[_0x38780a(0x369)],'content':this[_0x38780a(0x376)]['t'](_0x38780a(0x45c))});},(_0x4e28d7=this[_0x3ea4d1(0x2b0)][_0x3ea4d1(0x5c3)](bi))!=null?_0x4e28d7:Ti);}[_0x55040e(0x54f)](){const _0x30a9b4=_0x55040e;this[_0x30a9b4(0x48d)]&&(clearTimeout(this[_0x30a9b4(0x48d)]),this['_collaborationTimeoutTimer']=null);}[_0x55040e(0x22e)](_0x31e2d1){const _0x3f41ab=_0x55040e;if(!this['_shouldReportTelemetry'])return;const {data:_0x1750f1}=_0x31e2d1,{unitID:_0x359163,changeset:_0x13dcc8}=_0x1750f1,{mutations:_0x2bc0b2,type:_0x25a20e}=_0x13dcc8;this['_telemetryInfo']={'unitId':_0x359163,'type':_0x25a20e,'startTime':performance[_0x3f41ab(0x352)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x2bc0b2)};}['_stopTelemetryCollaborationNewChangeset'](){const _0xf05c4b=_0x55040e;if(this['_shouldReportTelemetry']){if(!this[_0xf05c4b(0x2c8)]){this[_0xf05c4b(0x37d)][_0xf05c4b(0x268)](_0xf05c4b(0x279),_0xf05c4b(0x55d));return;}this[_0xf05c4b(0x2c8)][_0xf05c4b(0x394)]=performance[_0xf05c4b(0x352)](),this[_0xf05c4b(0x2c8)]['duration']=this[_0xf05c4b(0x2c8)][_0xf05c4b(0x394)]-this[_0xf05c4b(0x2c8)]['startTime'],this[_0xf05c4b(0x244)]['capture'](Dr,this[_0xf05c4b(0x2c8)]),this[_0xf05c4b(0x2c8)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x8f6b44=_0x55040e;this[_0x8f6b44(0x2c8)]=null;}};ts=$r([Ee(0x2,_0x6916a2),Ee(0x3,_0x3f52b5),Ee(0x4,_0x204e81),Ee(0x5,_0x1fedc7),Ee(0x6,_0xb59c13(_0x5d0578)),Ee(0x7,_0xb59c13(Ne)),Ee(0x8,_0xb59c13(wi)),Ee(0x9,_0x31105a(_0x4c9a2d))],ts);var Hr=Object[_0x55040e(0x4df)],jr=Object[_0x55040e(0x2ad)],Br=(_0x190d7d,_0x43d4a6,_0x5ca454,_0x126443)=>{for(var _0x3f58a0=_0x126443>0x1?void 0x0:_0x126443?jr(_0x43d4a6,_0x5ca454):_0x43d4a6,_0x4fe04b=_0x190d7d['length']-0x1,_0x1deec5;_0x4fe04b>=0x0;_0x4fe04b--)(_0x1deec5=_0x190d7d[_0x4fe04b])&&(_0x3f58a0=(_0x126443?_0x1deec5(_0x43d4a6,_0x5ca454,_0x3f58a0):_0x1deec5(_0x3f58a0))||_0x3f58a0);return _0x126443&&_0x3f58a0&&Hr(_0x43d4a6,_0x5ca454,_0x3f58a0),_0x3f58a0;},je=(_0x27fc91,_0x1f6892)=>(_0x203f51,_0x28f1b6)=>_0x1f6892(_0x203f51,_0x28f1b6,_0x27fc91);let Ae=class extends _0x32aa41{constructor(_0x31b8d2,_0xcb2c10,_0x3865aa,_0x55d23c,_0x53147d,_0x16bf80){const _0x338882=_0x55040e;super(),g(this,_0x338882(0x264),new _0x7f65fd(void 0x0)),g(this,_0x338882(0x28f),this[_0x338882(0x264)][_0x338882(0x34d)]()),g(this,_0x338882(0x40b),null),g(this,_0x338882(0x4d7),new Map()),g(this,'_status$',new _0x7f65fd(ve['IDLE'])),g(this,_0x338882(0x21c),this[_0x338882(0x209)][_0x338882(0x34d)]()),g(this,'_socketReady',!0x1),g(this,_0x338882(0x571)),g(this,_0x338882(0x3d8),0x0),g(this,_0x338882(0x596)),g(this,'_timeoutTimer'),(this[_0x338882(0x1c7)]=_0x31b8d2,this[_0x338882(0x376)]=_0xcb2c10,this[_0x338882(0x353)]=_0x3865aa,this[_0x338882(0x37d)]=_0x55d23c,this[_0x338882(0x2b0)]=_0x53147d,this[_0x338882(0x2d4)]=_0x16bf80,this[_0x338882(0x5b5)]());}get[_0x55040e(0x360)](){const _0x3ad247=_0x55040e;return this['_socket$'][_0x3ad247(0x1e5)]();}[_0x55040e(0x5b5)](){const _0x5e9840=_0x55040e;this[_0x5e9840(0x29e)](),this[_0x5e9840(0x5d3)]();}[_0x55040e(0x449)](){const _0x33c6eb=_0x55040e;super['dispose'](),this['_sessions'][_0x33c6eb(0x582)](_0x3d8d0d=>_0x3d8d0d[_0x33c6eb(0x449)]()),this[_0x33c6eb(0x4d7)][_0x33c6eb(0x277)](),this[_0x33c6eb(0x209)][_0x33c6eb(0x512)]();}async[_0x55040e(0x21e)](_0x37d18d){const _0x5744e1=_0x55040e;if(this[_0x5744e1(0x4d7)][_0x5744e1(0x269)](_0x37d18d))return this['_sessions']['get'](_0x37d18d);this[_0x5744e1(0x483)]();const _0x5c87af=this['_injector'][_0x5744e1(0x21f)](ts,_0x37d18d,this['_socket$'][_0x5744e1(0x34d)]());return this[_0x5744e1(0x4d7)]['set'](_0x37d18d,_0x5c87af),_0x5c87af;}['closeSession'](_0x48aacc){const _0x1ee016=_0x55040e;var _0x411fcc;const _0xd57d35=this[_0x1ee016(0x4d7)][_0x1ee016(0x25c)](_0x48aacc);_0xd57d35&&(this[_0x1ee016(0x4d7)][_0x1ee016(0x4b5)](_0x48aacc),_0xd57d35[_0x1ee016(0x570)]()),this[_0x1ee016(0x4d7)][_0x1ee016(0x1f7)]||(_0x411fcc=this[_0x1ee016(0x360)])==null||_0x411fcc['close']();}[_0x55040e(0x2c6)](){const _0x10c46c=_0x55040e;this[_0x10c46c(0x3d8)]=0x0,this[_0x10c46c(0x571)]!=null&&(clearTimeout(this[_0x10c46c(0x571)]),this[_0x10c46c(0x571)]=null),this['_tryReconnect']();}[_0x55040e(0x417)](){const _0x4a54b7=_0x55040e;var _0x4810df,_0xc19c5;const _0x33d778=this[_0x4a54b7(0x2b0)][_0x4a54b7(0x5c3)](hr),_0x464be7=this['_configService'][_0x4a54b7(0x5c3)](ie),_0x317a4c=(_0xc19c5=(_0x4810df=_0x464be7==null?void 0x0:_0x464be7['collabWebSocketUrl'])!=null?_0x4810df:_0x33d778)!=null?_0xc19c5:lr,_0x1f58b4=this['_socketService'][_0x4a54b7(0x226)](_0x317a4c);return this[_0x4a54b7(0x40b)]=_0x1f58b4,_0x1f58b4;}['_tryEnsureSocket'](){const _0x3a08f8=_0x55040e;var _0xcd1d6e,_0x23fc7a;try{const _0x2c9b63=(_0x23fc7a=(_0xcd1d6e=this[_0x3a08f8(0x360)])!=null?_0xcd1d6e:this[_0x3a08f8(0x40b)])!=null?_0x23fc7a:this[_0x3a08f8(0x417)]();if(_0x2c9b63){const _0x404856=_0x2c9b63[_0x3a08f8(0x4a8)];_0x2c9b63[_0x3a08f8(0x4a8)]=_0x37bad2=>(this['_rescheduleHeartbeat'](),_0x404856['apply'](_0x2c9b63,[_0x37bad2])),_0x2c9b63[_0x3a08f8(0x561)][_0x3a08f8(0x1e2)](_0x4d1504=>this[_0x3a08f8(0x4a6)](_0x2c9b63,_0x4d1504)),_0x2c9b63['error$'][_0x3a08f8(0x55b)](_0x516d59(0x1))['subscribe'](_0x4010e0=>this['_logService'][_0x3a08f8(0x268)](_0x3a08f8(0x3f6),_0x4010e0)),_0x2c9b63['open$'][_0x3a08f8(0x55b)](_0x516d59(0x1))[_0x3a08f8(0x1e2)](()=>{const _0x927d28=_0x3a08f8;this[_0x927d28(0x2c7)](_0x2c9b63);}),_0x2c9b63['close$'][_0x3a08f8(0x55b)](_0x516d59(0x1))[_0x3a08f8(0x1e2)](_0x1146f8=>{const _0x1cee51=_0x3a08f8;this[_0x1cee51(0x37d)][_0x1cee51(0x501)](_0x1cee51(0x33f),_0x1cee51(0x4ad),_0x1146f8),this[_0x1cee51(0x2ec)]();});}}catch(_0x364981){this[_0x3a08f8(0x37d)][_0x3a08f8(0x268)](_0x364981),this[_0x3a08f8(0x2ec)]();}}[_0x55040e(0x2c7)](_0x44cce8){const _0x4ca7cb=_0x55040e;this[_0x4ca7cb(0x37d)][_0x4ca7cb(0x501)]('[CollaborationSessionService]',_0x4ca7cb(0x595)),_0x44cce8[_0x4ca7cb(0x4a8)]({'cmd':W[_0x4ca7cb(0x37f)]}),this['_rescheduleHeartbeat']();}[_0x55040e(0x29e)](){const _0x5a2b34=_0x55040e;window[_0x5a2b34(0x2ea)](_0x5a2b34(0x50d),()=>this[_0x5a2b34(0x4f1)]());}[_0x55040e(0x4f1)](){const _0x5158bc=_0x55040e;this['_socketReady']=!0x1,this[_0x5158bc(0x40b)]=null,this['_status$'][_0x5158bc(0x1ea)](ve[_0x5158bc(0x4d3)]),this[_0x5158bc(0x264)][_0x5158bc(0x1ea)](null),this['_clearTimeoutTimer'](),this[_0x5158bc(0x228)]();}[_0x55040e(0x2ec)](){const _0x18b06b=_0x55040e;var _0x5a61ef;this[_0x18b06b(0x4f1)](),this[_0x18b06b(0x3d8)]<((_0x5a61ef=this[_0x18b06b(0x2b0)][_0x18b06b(0x5c3)](fr))!=null?_0x5a61ef:vr)?(this[_0x18b06b(0x353)][_0x18b06b(0x2d8)]({'key':_0x18b06b(0x432),'type':_0x4d23e2[_0x18b06b(0x282)],'content':this[_0x18b06b(0x376)]['t'](_0x18b06b(0x3ac))}),this[_0x18b06b(0x436)]()):this['_messageService'][_0x18b06b(0x2d8)]({'key':_0x18b06b(0x432),'type':_0x4d23e2[_0x18b06b(0x369)],'content':this['_localeService']['t'](_0x18b06b(0x3b4))});}[_0x55040e(0x5d3)](){const _0x15eb37=_0x55040e,_0x4953fa=()=>{const _0xcf7ae=_0x1c89;this[_0xcf7ae(0x360)]||this[_0xcf7ae(0x2c6)]();},_0x3bd957=()=>{const _0x5005f6=_0x1c89;this[_0x5005f6(0x360)]||document[_0x5005f6(0x54b)]===_0x5005f6(0x1ed)||this[_0x5005f6(0x2c6)]();};window[_0x15eb37(0x2ea)](_0x15eb37(0x366),_0x4953fa),document[_0x15eb37(0x2ea)](_0x15eb37(0x305),_0x3bd957);}[_0x55040e(0x436)](){const _0x5851cd=_0x55040e;var _0x1258f7;const _0x37d342=this[_0x5851cd(0x3d8)],_0x2240aa=this[_0x5851cd(0x2b0)][_0x5851cd(0x5c3)](ie),_0x3ad69b=_0x37d342===0x0?0x0:((_0x1258f7=_0x2240aa==null?void 0x0:_0x2240aa['retryConnectingInterval'])!=null?_0x1258f7:dr)*0x2**_0x37d342;this['_retryConnectingTimer']=window[_0x5851cd(0x3f7)](()=>{const _0x2337bc=_0x5851cd;clearTimeout(this[_0x2337bc(0x571)]),this[_0x2337bc(0x571)]=null,this[_0x2337bc(0x483)]();},_0x3ad69b),this['_retryCount']+=0x1;}[_0x55040e(0x4a6)](_0x1d1bf3,_0x58be42){const _0x1fd59a=_0x55040e,{cmd:_0x39d4a2}=_0x58be42;_0x39d4a2===W[_0x1fd59a(0x37f)]&&!this['_socketReady']&&(_0x1d1bf3[_0x1fd59a(0x572)]=_0x58be42[_0x1fd59a(0x44b)]['memberID'],this['_socket$'][_0x1fd59a(0x1ea)](_0x1d1bf3),this[_0x1fd59a(0x209)][_0x1fd59a(0x1ea)](ve[_0x1fd59a(0x1e6)]),this[_0x1fd59a(0x53e)]=!0x0,this[_0x1fd59a(0x40b)]=null),_0x39d4a2===W[_0x1fd59a(0x4c0)]&&this[_0x1fd59a(0x2d0)](),this[_0x1fd59a(0x3be)]();}[_0x55040e(0x3be)](){const _0x47c33c=_0x55040e;var _0x209bd7;this['_clearHeartbeatTimer'](),this[_0x47c33c(0x596)]=window[_0x47c33c(0x3f7)](()=>this[_0x47c33c(0x25a)](),(_0x209bd7=this[_0x47c33c(0x2b0)][_0x47c33c(0x5c3)](_r))!=null?_0x209bd7:ur);}[_0x55040e(0x25a)](){const _0x2e2e1b=_0x55040e;this[_0x2e2e1b(0x360)][_0x2e2e1b(0x4a8)]({'cmd':W[_0x2e2e1b(0x4c0)]}),this['_waitForHeartbeatResponse']();}[_0x55040e(0x3a3)](){const _0x2e4d9d=_0x55040e;var _0x5ad193;this[_0x2e4d9d(0x202)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x5ad193=this[_0x2e4d9d(0x2b0)]['getConfig'](bi))!=null?_0x5ad193:Ti);}[_0x55040e(0x228)](){const _0x85e4c6=_0x55040e;this[_0x85e4c6(0x596)]!=null&&(clearTimeout(this[_0x85e4c6(0x596)]),this[_0x85e4c6(0x596)]=null);}[_0x55040e(0x2d0)](){const _0x1e146e=_0x55040e;this[_0x1e146e(0x202)]!=null&&(clearTimeout(this[_0x1e146e(0x202)]),this['_timeoutTimer']=null);}};Ae=Br([je(0x0,_0xb59c13(_0x475d43)),je(0x1,_0xb59c13(_0x5d0578)),je(0x2,_0x204e81),je(0x3,_0x6916a2),je(0x4,_0x1fedc7),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x55040e(0x5b6)]((Nt+0x100)['toString'](0x10)['slice'](0x1));function kr(_0x306758,_0x3433de=0x0){const _0x10fe3b=_0x55040e;return(Y[_0x306758[_0x3433de+0x0]]+Y[_0x306758[_0x3433de+0x1]]+Y[_0x306758[_0x3433de+0x2]]+Y[_0x306758[_0x3433de+0x3]]+'-'+Y[_0x306758[_0x3433de+0x4]]+Y[_0x306758[_0x3433de+0x5]]+'-'+Y[_0x306758[_0x3433de+0x6]]+Y[_0x306758[_0x3433de+0x7]]+'-'+Y[_0x306758[_0x3433de+0x8]]+Y[_0x306758[_0x3433de+0x9]]+'-'+Y[_0x306758[_0x3433de+0xa]]+Y[_0x306758[_0x3433de+0xb]]+Y[_0x306758[_0x3433de+0xc]]+Y[_0x306758[_0x3433de+0xd]]+Y[_0x306758[_0x3433de+0xe]]+Y[_0x306758[_0x3433de+0xf]])[_0x10fe3b(0x5b4)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x3f1e25=_0x55040e;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x3f1e25(0x2ac)]&&crypto['getRandomValues']['bind'](crypto),!ct))throw new Error(_0x3f1e25(0x535));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x55040e(0x4a4)]&&crypto[_0x55040e(0x4a4)][_0x55040e(0x243)](crypto);const js={'randomUUID':Vr};function Gr(_0x2ad0ff,_0x5e6ed9,_0xc07d95){const _0x32a385=_0x55040e;if(js[_0x32a385(0x4a4)]&&!_0x5e6ed9&&!_0x2ad0ff)return js['randomUUID']();_0x2ad0ff=_0x2ad0ff||{};var _0x4de244=_0x2ad0ff[_0x32a385(0x4e7)]||(_0x2ad0ff['rng']||Fr)();return _0x4de244[0x6]=_0x4de244[0x6]&0xf|0x40,_0x4de244[0x8]=_0x4de244[0x8]&0x3f|0x80,kr(_0x4de244);}var Yr=Object['defineProperty'],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x5efc55,_0x2162ae,_0x107d01,_0x596cbb)=>{const _0x6a386e=_0x55040e;for(var _0x167139=_0x596cbb>0x1?void 0x0:_0x596cbb?Kr(_0x2162ae,_0x107d01):_0x2162ae,_0x25df8a=_0x5efc55[_0x6a386e(0x41f)]-0x1,_0x3450bd;_0x25df8a>=0x0;_0x25df8a--)(_0x3450bd=_0x5efc55[_0x25df8a])&&(_0x167139=(_0x596cbb?_0x3450bd(_0x2162ae,_0x107d01,_0x167139):_0x3450bd(_0x167139))||_0x167139);return _0x596cbb&&_0x167139&&Yr(_0x2162ae,_0x107d01,_0x167139),_0x167139;},At=(_0x3c2301,_0x1db87a)=>(_0x3d16f1,_0x57eff6)=>_0x1db87a(_0x3d16f1,_0x57eff6,_0x3c2301);let vt=class{constructor(_0x3711dc,_0x304fc3,_0x35890d){const _0x4f74d4=_0x55040e;this['_injector']=_0x3711dc,this[_0x4f74d4(0x384)]=_0x304fc3,this[_0x4f74d4(0x55c)]=_0x35890d;}[_0x55040e(0x558)](_0x5b3377){const _0x242d14=_0x55040e;this[_0x242d14(0x387)](_0x5b3377),this[_0x242d14(0x5a9)](_0x5b3377);}[_0x55040e(0x2b2)](_0x5a4c1c){const _0x19f1ea=_0x55040e,{unitID:_0x464f75}=_0x5a4c1c,_0x28ece5=this[_0x19f1ea(0x55c)][_0x19f1ea(0x365)](_0x464f75)[_0x19f1ea(0x45b)](_0x2e4cd8),{redoCache:_0x53a658}=_0x28ece5[_0x19f1ea(0x425)]();if(_0x53a658['length']===0x0)return _0x5a4c1c;let _0x52663c=_0xada371['deepClone'](_0x5a4c1c[_0x19f1ea(0x271)][0x0]);for(let _0x278a87=0x0;_0x278a87<_0x53a658[_0x19f1ea(0x41f)];_0x278a87++){const _0x3b3c2f={'id':'doc.mutation.rich-text-editing','params':{..._0x53a658[_0x278a87]}},_0x2566c6=this[_0x19f1ea(0x384)][_0x19f1ea(0x56c)](_0x52663c,_0x3b3c2f,!0x1);if(_0x55b38f(_0x2566c6))throw _0x2566c6[_0x19f1ea(0x268)];_0x52663c=_0x2566c6[_0x19f1ea(0x478)];}return{..._0xada371[_0x19f1ea(0x3eb)](_0x5a4c1c),'mutations':[_0x52663c]};}[_0x55040e(0x387)](_0x4a0570){const _0xf6e44e=_0x55040e,{unitID:_0x3f9f08}=_0x4a0570,_0x3d239e=this['_renderManagerService'][_0xf6e44e(0x365)](_0x3f9f08)['with'](_0x2e4cd8),{undoCache:_0x5d44e9,redoCache:_0x2492e3}=_0x3d239e[_0xf6e44e(0x425)]();if(_0x5d44e9[_0xf6e44e(0x41f)]===0x0||_0x2492e3[_0xf6e44e(0x41f)]===0x0)return;const _0x5b627b=[],_0x52a713=[];let _0x247497=_0xada371[_0xf6e44e(0x3eb)](_0x4a0570[_0xf6e44e(0x271)][0x0]),_0x43e308=_0xada371[_0xf6e44e(0x3eb)](_0x4a0570[_0xf6e44e(0x271)][0x0]);for(let _0x29e113=_0x5d44e9[_0xf6e44e(0x41f)]-0x1;_0x29e113>=0x0;_0x29e113--){const _0x287f3a={'id':'doc.mutation.rich-text-editing','params':{..._0x5d44e9[_0x29e113]}},_0x1dc4b5={'id':'doc.mutation.rich-text-editing','params':{..._0x2492e3[_0x29e113]}},_0x1aa5ef=this[_0xf6e44e(0x384)]['transformMutation'](_0x247497,_0x287f3a,!0x1),_0x59e214=this[_0xf6e44e(0x384)]['transformMutation'](_0x43e308,_0x1dc4b5,!0x1);if(_0x55b38f(_0x1aa5ef))throw _0x1aa5ef[_0xf6e44e(0x268)];if(_0x55b38f(_0x59e214))throw _0x59e214['error'];_0x5b627b[_0xf6e44e(0x334)](_0x1aa5ef[_0xf6e44e(0x580)][_0xf6e44e(0x593)]),_0x52a713['unshift'](_0x59e214[_0xf6e44e(0x580)][_0xf6e44e(0x593)]),_0x247497=_0x1aa5ef[_0xf6e44e(0x478)],_0x43e308=_0x59e214[_0xf6e44e(0x478)];}_0x3d239e[_0xf6e44e(0x291)]({'undoCache':_0x5b627b,'redoCache':_0x52a713});}[_0x55040e(0x5a9)](_0x18cbb4){const _0x46970a=_0x55040e,{unitID:_0x12f7c9}=_0x18cbb4,_0x13ed11=this[_0x46970a(0x55c)][_0x46970a(0x365)](_0x12f7c9)['with'](_0x2e4cd8),_0x4184ed=_0x13ed11[_0x46970a(0x5ac)]();if(_0x4184ed==null)return;const _0xb37ed8=[{'id':_0x46970a(0x265),'params':{'unitId':_0x18cbb4[_0x46970a(0x54d)],'actions':null,'textRanges':[_0x4184ed]}}],_0x25cb64=this['_transformService'][_0x46970a(0x30e)](_0x18cbb4,_0xb37ed8);if(!_0x5c817a(_0x25cb64))throw _0x25cb64[_0x46970a(0x268)];const _0xe3f79=_0x25cb64[_0x46970a(0x580)][0x0][_0x46970a(0x593)][_0x46970a(0x59b)];Array[_0x46970a(0x3a4)](_0xe3f79)&&_0xe3f79[_0x46970a(0x41f)]&&_0x13ed11['setActiveRange'](_0xe3f79[0x0]);}};vt=zr([At(0x0,_0xb59c13(_0x475d43)),At(0x1,_0x3c8669),At(0x2,_0x1959be)],vt);var qr=Object['defineProperty'],Xr=Object[_0x55040e(0x2ad)],Jr=(_0x5885ca,_0x3d576a,_0x47696d,_0x4b2389)=>{for(var _0x5f0f9e=_0x4b2389>0x1?void 0x0:_0x4b2389?Xr(_0x3d576a,_0x47696d):_0x3d576a,_0x4b47d8=_0x5885ca['length']-0x1,_0x53d335;_0x4b47d8>=0x0;_0x4b47d8--)(_0x53d335=_0x5885ca[_0x4b47d8])&&(_0x5f0f9e=(_0x4b2389?_0x53d335(_0x3d576a,_0x47696d,_0x5f0f9e):_0x53d335(_0x5f0f9e))||_0x5f0f9e);return _0x4b2389&&_0x5f0f9e&&qr(_0x3d576a,_0x47696d,_0x5f0f9e),_0x5f0f9e;},Xe=(_0x31ffed,_0x25d47a)=>(_0x354c64,_0x1c1d6c)=>_0x25d47a(_0x354c64,_0x1c1d6c,_0x31ffed);let q=class extends _0x32aa41{constructor(_0x2c678e,_0x24c375,_0x2cf8f5,_0x3ac6ba,_0xafaa3d){const _0x47f324=_0x55040e;super(),g(this,'_cachedData',new Map()),g(this,_0x47f324(0x22b),new Map()),g(this,_0x47f324(0x357),!0x1),(this['_configService']=_0x2c678e,this['_localStorageService']=_0x24c375,this[_0x47f324(0x471)]=_0x2cf8f5,this['_localeService']=_0x3ac6ba,this[_0x47f324(0x5c9)]=_0xafaa3d,this[_0x47f324(0x245)]());}[_0x55040e(0x503)](){const _0x5e1647=_0x55040e;this[_0x5e1647(0x357)]=!0x0;}[_0x55040e(0x527)](){const _0xabe48a=_0x55040e;this[_0xabe48a(0x357)]=!0x1;}[_0x55040e(0x449)](){const _0x13db20=_0x55040e;this[_0x13db20(0x1d1)]()[_0x13db20(0x4ce)](()=>super[_0x13db20(0x449)]());}async[_0x55040e(0x26d)](_0x6ee810){const _0x530b66=_0x55040e;return this[_0x530b66(0x357)]?null:this[_0x530b66(0x534)][_0x530b66(0x2f3)](Bs(_0x6ee810));}async['saveOfflineData'](_0x3f957d,_0x123452){const _0x59521f=_0x55040e;return!!this['_localStorageService'][_0x59521f(0x4fc)](_0x3f957d,_0x123452);}['updateOfflineData'](_0x46b387,_0x349a53,_0x21e4c7,_0x3ed9a4){const _0x3e08c3=_0x55040e,_0x380b66=this['_revisionService'][_0x3e08c3(0x225)](_0x46b387);this[_0x3e08c3(0x5c0)][_0x3e08c3(0x333)](_0x46b387,{'unitID':_0x46b387,'type':_0x349a53,'awaitingChangeset':_0x21e4c7,'mutations':_0x3ed9a4,'rev':_0x380b66}),this[_0x3e08c3(0x22b)][_0x3e08c3(0x269)](_0x46b387)||this[_0x3e08c3(0x1f3)](_0x46b387);}[_0x55040e(0x1f3)](_0x2e33c9){const _0x47d670=_0x55040e,_0x28647d=this[_0x47d670(0x3fe)]();_0x28647d===0x0?this[_0x47d670(0x3c3)](_0x2e33c9):this['_saveTaskMap'][_0x47d670(0x333)](_0x2e33c9,setTimeout(()=>this['_saveCache'](_0x2e33c9),_0x28647d));}['_getSaveTimeout'](){const _0x1b1c78=_0x55040e;var _0x573ae9;return(_0x573ae9=this[_0x1b1c78(0x2b0)][_0x1b1c78(0x5c3)](mr))!=null?_0x573ae9:pr;}['_saveCache'](_0x33afd1){const _0x1235d5=_0x55040e,_0x530193=this[_0x1235d5(0x22b)][_0x1235d5(0x25c)](_0x33afd1);return _0x530193!==void 0x0&&window[_0x1235d5(0x555)](_0x530193),this[_0x1235d5(0x534)]['setItem'](Bs(_0x33afd1),this['_cachedData'][_0x1235d5(0x25c)](_0x33afd1))[_0x1235d5(0x4ce)](()=>this[_0x1235d5(0x22b)][_0x1235d5(0x4b5)](_0x33afd1));}async['exhaustSavingTask'](){const _0x126589=_0x55040e,_0x51e343=[];this[_0x126589(0x22b)][_0x126589(0x582)]((_0x680982,_0x1d3779)=>{const _0x4b71b2=_0x126589;window[_0x4b71b2(0x555)](_0x680982),_0x51e343['push'](this[_0x4b71b2(0x3c3)](_0x1d3779)[_0x4b71b2(0x4ce)](()=>{const _0x2d1acb=_0x4b71b2;this['_saveTaskMap'][_0x2d1acb(0x4b5)](_0x1d3779);}));}),await Promise[_0x126589(0x424)](_0x51e343);}[_0x55040e(0x245)](){const _0x1322fa=_0x55040e;this[_0x1322fa(0x33a)](this[_0x1322fa(0x471)][_0x1322fa(0x567)](()=>{const _0x48c367=_0x1322fa;if(this[_0x48c367(0x22b)][_0x48c367(0x1f7)])return this[_0x48c367(0x376)]['t'](_0x48c367(0x342));}));}};q=Jr([Xe(0x0,_0x1fedc7),Xe(0x1,_0x24409f),Xe(0x2,_0x3f52b5),Xe(0x3,_0xb59c13(_0x5d0578)),Xe(0x4,_0xb59c13(_0x4db64b))],q);function Bs(_0x42963f){const _0x227248=_0x55040e;return _0x227248(0x48e)+_0x42963f;}var Zr=Object[_0x55040e(0x4df)],Qr=Object[_0x55040e(0x2ad)],eo=(_0x317f23,_0x415983,_0xf40acb,_0x349bbd)=>{for(var _0x1451ce=_0x349bbd>0x1?void 0x0:_0x349bbd?Qr(_0x415983,_0xf40acb):_0x415983,_0x516e3c=_0x317f23['length']-0x1,_0x5ad7fe;_0x516e3c>=0x0;_0x516e3c--)(_0x5ad7fe=_0x317f23[_0x516e3c])&&(_0x1451ce=(_0x349bbd?_0x5ad7fe(_0x415983,_0xf40acb,_0x1451ce):_0x5ad7fe(_0x1451ce))||_0x1451ce);return _0x349bbd&&_0x1451ce&&Zr(_0x415983,_0xf40acb,_0x1451ce),_0x1451ce;},Mt=(_0x443344,_0x40bef0)=>(_0x27c214,_0x1e9316)=>_0x40bef0(_0x27c214,_0x1e9316,_0x443344);function to(_0x54be3b){const _0x8565c5=_0x55040e,{unitID:_0x39f08f,mutations:_0x43ad30}=_0x54be3b;return{'unitId':_0x39f08f,'subUnitId':_0x43ad30[0x0][_0x8565c5(0x593)]['subUnitId']};}let mt=class{constructor(_0x11f670,_0x23e157,_0x51838f){const _0x18fb7c=_0x55040e;this[_0x18fb7c(0x1c7)]=_0x11f670,this[_0x18fb7c(0x384)]=_0x23e157,this[_0x18fb7c(0x485)]=_0x51838f;}[_0x55040e(0x466)](_0x3cd288){const _0x3192df=_0x55040e;var _0x32b2a9,_0x4bf4e6,_0x5b2d0c,_0x34b916;const _0x4aa133=this['_injector'][_0x3192df(0x25c)](_0x43394b),{unitId:_0x1f84e3,subUnitId:_0x245a95}=to(_0x3cd288),_0x27edbd=_0x4aa133['getWorkbookSelections'](_0x1f84e3)[_0x3192df(0x2f6)](),_0x10ea7a=(_0x4bf4e6=(_0x32b2a9=this[_0x3192df(0x485)][_0x3192df(0x468)](_0x1f84e3))==null?void 0x0:_0x32b2a9['getActiveSheet']())==null?void 0x0:_0x4bf4e6['getSheetId']();if(_0x27edbd['length']===0x0||!_0x1f84e3||!_0x245a95)return;const _0x3ff0e6=[{'id':_0x2b5e50['id'],'params':{'unitId':_0x1f84e3,'subUnitId':_0x10ea7a,'selections':_0xada371[_0x3192df(0x3eb)](_0x27edbd)}}],_0x2453fa=this['_transformService'][_0x3192df(0x30e)](_0x3cd288,_0x3ff0e6);if(!_0x5c817a(_0x2453fa))throw _0x2453fa[_0x3192df(0x268)];const _0xc9e4d1=(_0x34b916=(_0x5b2d0c=_0x2453fa['m2Prime'][0x0])==null?void 0x0:_0x5b2d0c[_0x3192df(0x593)])==null?void 0x0:_0x34b916[_0x3192df(0x2f0)];if(Array['isArray'](_0xc9e4d1)&&_0xc9e4d1[_0x3192df(0x41f)]){if(_0xc9e4d1[_0x3192df(0x41f)]===_0x3ff0e6[0x0][_0x3192df(0x593)][_0x3192df(0x2f0)][_0x3192df(0x41f)]&&_0xc9e4d1[_0x3192df(0x517)]((_0x1042b3,_0x5966e1)=>_0x4cd56a['equals'](_0x1042b3[_0x3192df(0x583)],_0x3ff0e6[0x0][_0x3192df(0x593)][_0x3192df(0x2f0)][_0x5966e1]['range'])))return;this[_0x3192df(0x1c7)][_0x3192df(0x25c)](_0x2983df)[_0x3192df(0x4e4)](_0x2b5e50['id'],{'unitId':_0x1f84e3,'subUnitId':_0x10ea7a,'selections':_0xc9e4d1});}}};mt=eo([Mt(0x0,_0xb59c13(_0x475d43)),Mt(0x1,_0x3c8669),Mt(0x2,_0x10abd5)],mt);const yt=_0x34aab2(_0x55040e(0x5b1));var Di=(_0x346953=>(_0x346953[_0x346953[_0x55040e(0x2b7)]=0x0]=_0x55040e(0x2b7),_0x346953[_0x346953['OTHER_CLIENTS_EDITING']=0x1]=_0x55040e(0x34b),_0x346953))(Di||{});const ks=0x7530,Ws=_0x55040e(0x496);class so extends _0x32aa41{constructor(){const _0x23f8ed=_0x55040e;super(),g(this,_0x23f8ed(0x4e6),_0xada371['generateRandomId']()),g(this,_0x23f8ed(0x335),new Set()),g(this,_0x23f8ed(0x5af),new Map()),g(this,_0x23f8ed(0x1cf),null),g(this,'_clearOtherTimers',new Map()),g(this,_0x23f8ed(0x3bc),new Map()),this[_0x23f8ed(0x442)]();}[_0x55040e(0x449)](){const _0x4c07d1=_0x55040e;super[_0x4c07d1(0x449)](),this[_0x4c07d1(0x300)][_0x4c07d1(0x582)]((_0x278f65,_0xbe53fb)=>this[_0x4c07d1(0x368)](_0xbe53fb)),this[_0x4c07d1(0x1cf)]&&window[_0x4c07d1(0x4d6)](this[_0x4c07d1(0x1cf)]);}[_0x55040e(0x22c)](_0x1ce8f0){const _0x51a953=_0x55040e;return this['_ensureSubject'](_0x1ce8f0)[_0x51a953(0x55b)](_0x3027e0());}[_0x55040e(0x1e7)](_0x2fa86f){const _0x5c32d4=_0x55040e;this['_selfUnitIDs'][_0x5c32d4(0x1f7)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5c32d4(0x335)][_0x5c32d4(0x47d)](_0x2fa86f),this[_0x5c32d4(0x45a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2fa86f],'isForwarded':!0x1});}[_0x55040e(0x402)](_0x2fa227){const _0x2fdc02=_0x55040e;this[_0x2fdc02(0x335)][_0x2fdc02(0x4b5)](_0x2fa227),this['_selfUnitIDs'][_0x2fdc02(0x1f7)]===0x0&&this[_0x2fdc02(0x1cf)]&&window[_0x2fdc02(0x4d6)](this['_heartbeatTimer']);}[_0x55040e(0x442)](){const _0xbac549=_0x55040e;this['disposeWithMe'](_0xc23247(_0x542d7a(window,_0xbac549(0x392))[_0xbac549(0x1e2)](_0x580032=>{const _0x1df5b3=_0xbac549;if(_0x580032[_0x1df5b3(0x303)]!==Ws||!_0x580032[_0x1df5b3(0x462)])return;const _0x21eb9f=JSON[_0x1df5b3(0x46c)](_0x580032['newValue']);this[_0x1df5b3(0x4f0)](_0x21eb9f);}))),window['addEventListener'](_0xbac549(0x321),()=>this[_0xbac549(0x45a)]({'type':0x1,'memberID':this[_0xbac549(0x4e6)],'unitIDs':Array[_0xbac549(0x311)](this[_0xbac549(0x335)])}));}[_0x55040e(0x4f0)](_0x1d2117){const _0x572108=_0x55040e;switch(_0x1d2117[_0x572108(0x24f)]){case 0x0:this[_0x572108(0x5cb)](_0x1d2117);break;case 0x1:this['_handleLeaveEvent'](_0x1d2117);break;case 0x2:this[_0x572108(0x50c)](_0x1d2117);break;}}[_0x55040e(0x5cb)](_0x54de9f){const _0x1ecdb4=_0x55040e,{unitIDs:_0x5a8a62,memberID:_0x24e504,isForwarded:_0x408482}=_0x54de9f;_0x5a8a62['forEach'](_0x513da4=>{const _0x5b3ab6=_0x1c89;if(!_0x408482&&this[_0x5b3ab6(0x5af)][_0x5b3ab6(0x269)](_0x513da4)&&this[_0x5b3ab6(0x539)](_0x513da4)[_0x5b3ab6(0x1ea)](0x1),!this[_0x5b3ab6(0x5af)][_0x5b3ab6(0x269)](_0x513da4)||!this[_0x5b3ab6(0x5af)]['get'](_0x513da4)[_0x5b3ab6(0x269)](_0x24e504)){const _0x2b3b6d=this[_0x5b3ab6(0x5af)][_0x5b3ab6(0x25c)](_0x513da4)||new Set();_0x2b3b6d[_0x5b3ab6(0x47d)](_0x24e504),this[_0x5b3ab6(0x5af)][_0x5b3ab6(0x333)](_0x513da4,_0x2b3b6d),this[_0x5b3ab6(0x2f4)](_0x24e504);}}),_0x408482||this[_0x1ecdb4(0x45a)]({'type':0x0,'memberID':this[_0x1ecdb4(0x4e6)],'unitIDs':[...this[_0x1ecdb4(0x335)]],'isForwarded':!0x0});}[_0x55040e(0x2f4)](_0x2376a5){const _0x37e3db=_0x55040e;this[_0x37e3db(0x368)](_0x2376a5);const _0x14ab86=window[_0x37e3db(0x3f7)](()=>{const _0x44ee86=_0x37e3db;this[_0x44ee86(0x5af)][_0x44ee86(0x582)](_0x2685f7=>{_0x2685f7['delete'](_0x2376a5);});},ks*0x2);this[_0x37e3db(0x300)][_0x37e3db(0x333)](_0x2376a5,_0x14ab86);}['_removeClearOtherTimer'](_0x4da6fe){const _0x5077f6=_0x55040e;if(this[_0x5077f6(0x300)]['has'](_0x4da6fe)){const _0x3fda2d=this[_0x5077f6(0x300)][_0x5077f6(0x25c)](_0x4da6fe);_0x3fda2d&&window[_0x5077f6(0x555)](_0x3fda2d),this[_0x5077f6(0x300)][_0x5077f6(0x333)](_0x4da6fe,null);}}[_0x55040e(0x575)](_0x1cbcd0){const _0x2991b7=_0x55040e,{memberID:_0x4c22d8,unitIDs:_0x1fd81e}=_0x1cbcd0;_0x1fd81e[_0x2991b7(0x582)](_0x271a54=>{const _0x5e11ad=_0x2991b7;var _0x34b2a7;const _0x2770d2=this[_0x5e11ad(0x5af)]['get'](_0x271a54);_0x2770d2&&(_0x2770d2[_0x5e11ad(0x4b5)](_0x4c22d8),(_0x34b2a7=this[_0x5e11ad(0x539)](_0x271a54))==null||_0x34b2a7[_0x5e11ad(0x1ea)](_0x2770d2[_0x5e11ad(0x1f7)]===0x0?0x0:0x1));}),this[_0x2991b7(0x368)](_0x4c22d8);}[_0x55040e(0x50c)](_0x30cef2){const _0x5aba9f=_0x55040e;this[_0x5aba9f(0x2f4)](_0x30cef2[_0x5aba9f(0x572)]);}['_send'](_0x4cd42a){const _0x22f0d5=_0x55040e;localStorage[_0x22f0d5(0x4fc)](Ws,JSON['stringify'](_0x4cd42a));}[_0x55040e(0x5cc)](){const _0x3d23ad=_0x55040e;this['_heartbeatTimer']=window[_0x3d23ad(0x55a)](()=>{const _0x451f70=_0x3d23ad;this[_0x451f70(0x45a)]({'type':0x2,'memberID':this[_0x451f70(0x4e6)]});},ks);}[_0x55040e(0x539)](_0x53b07e){const _0x1b7263=_0x55040e;return this[_0x1b7263(0x3bc)]['has'](_0x53b07e)||this['_unitStatus'][_0x1b7263(0x333)](_0x53b07e,new _0x7f65fd(0x0)),this[_0x1b7263(0x3bc)][_0x1b7263(0x25c)](_0x53b07e);}}var io=Object[_0x55040e(0x4df)],no=Object['getOwnPropertyDescriptor'],ro=(_0x5c0176,_0x53e684,_0x44aa6,_0x56ae2c)=>{for(var _0x2d620a=_0x56ae2c>0x1?void 0x0:_0x56ae2c?no(_0x53e684,_0x44aa6):_0x53e684,_0x994bbd=_0x5c0176['length']-0x1,_0x261fd6;_0x994bbd>=0x0;_0x994bbd--)(_0x261fd6=_0x5c0176[_0x994bbd])&&(_0x2d620a=(_0x56ae2c?_0x261fd6(_0x53e684,_0x44aa6,_0x2d620a):_0x261fd6(_0x2d620a))||_0x2d620a);return _0x56ae2c&&_0x2d620a&&io(_0x53e684,_0x44aa6,_0x2d620a),_0x2d620a;},xt=(_0x4030ed,_0x22f47e)=>(_0x465bda,_0xc39445)=>_0x22f47e(_0x465bda,_0xc39445,_0x4030ed);let pt=class{constructor(_0x5a46f8,_0xbb321a,_0x2a7d25){const _0x58ff20=_0x55040e;this[_0x58ff20(0x1c7)]=_0x5a46f8,this[_0x58ff20(0x384)]=_0xbb321a,this['_docStateChangeManagerService']=_0x2a7d25;}[_0x55040e(0x532)](_0x1d7112){this['_transformHistoryAndStateStack'](_0x1d7112);}[_0x55040e(0x2b2)](_0x37e634){const _0x42d178=_0x55040e,{unitID:_0x50651a}=_0x37e634,{collaboration:_0x58fefc}=this[_0x42d178(0x393)][_0x42d178(0x49f)](_0x50651a);if(_0x58fefc['length']===0x0)return _0x37e634;let _0x3a77ed=_0xada371[_0x42d178(0x3eb)](_0x37e634[_0x42d178(0x271)][0x0]);for(let _0x59c015=0x0;_0x59c015<_0x58fefc[_0x42d178(0x41f)];_0x59c015++){const _0x4f72e7={'id':_0x42d178(0x265),'params':{'unitId':_0x58fefc[_0x59c015][_0x42d178(0x292)],..._0x58fefc[_0x59c015]['redoState']}},_0xf8cec1=this['_transformService'][_0x42d178(0x56c)](_0x3a77ed,_0x4f72e7,!0x1);if(_0x55b38f(_0xf8cec1))throw _0xf8cec1[_0x42d178(0x268)];_0x3a77ed=_0xf8cec1['m1Prime'];}return{..._0xada371[_0x42d178(0x3eb)](_0x37e634),'mutations':[_0x3a77ed]};}[_0x55040e(0x529)](_0x515cf6){const _0x51723f=_0x55040e,{unitID:_0xdbab87}=_0x515cf6,{history:_0x3079f6,collaboration:_0x3e83e5}=this['_docStateChangeManagerService']['getStateCache'](_0xdbab87);if(_0x3079f6[_0x51723f(0x41f)]===0x0&&_0x3e83e5[_0x51723f(0x41f)]===0x0)return;const _0x473d14=[],_0xc49e67=[];let _0x17cd41=_0xada371[_0x51723f(0x3eb)](_0x515cf6[_0x51723f(0x271)][0x0]),_0x167124=_0xada371[_0x51723f(0x3eb)](_0x515cf6[_0x51723f(0x271)][0x0]);for(let _0x52bf67=_0x3079f6[_0x51723f(0x41f)]-0x1;_0x52bf67>=0x0;_0x52bf67--){const _0x2c09d3={'id':_0x51723f(0x265),'params':{'unitId':_0x3079f6[_0x52bf67]['unitId'],..._0x3079f6[_0x52bf67][_0x51723f(0x59a)]}},_0x3173cf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3079f6[_0x52bf67]['unitId'],..._0x3079f6[_0x52bf67][_0x51723f(0x1f2)]}},_0x36fbb7=this['_transformService'][_0x51723f(0x56c)](_0x17cd41,_0x2c09d3,!0x1),_0x5d933d=this[_0x51723f(0x384)][_0x51723f(0x56c)](_0x167124,_0x3173cf,!0x1);if(_0x55b38f(_0x36fbb7))throw _0x36fbb7[_0x51723f(0x268)];if(_0x55b38f(_0x5d933d))throw _0x5d933d['error'];_0x473d14[_0x51723f(0x334)]({..._0x3079f6[_0x52bf67],'undoState':_0x36fbb7[_0x51723f(0x580)][_0x51723f(0x593)],'redoState':_0x5d933d['m2Prime'][_0x51723f(0x593)]}),_0x17cd41=_0x36fbb7[_0x51723f(0x478)],_0x167124=_0x5d933d[_0x51723f(0x478)];}_0x17cd41=_0xada371[_0x51723f(0x3eb)](_0x515cf6['mutations'][0x0]),_0x167124=_0xada371['deepClone'](_0x515cf6[_0x51723f(0x271)][0x0]);for(let _0x476f47=_0x3e83e5[_0x51723f(0x41f)]-0x1;_0x476f47>=0x0;_0x476f47--){const _0x85224d={'id':_0x51723f(0x265),'params':{'unitId':_0x3e83e5[_0x476f47][_0x51723f(0x292)],..._0x3e83e5[_0x476f47][_0x51723f(0x59a)]}},_0x54e33b={'id':_0x51723f(0x265),'params':{'unitId':_0x3e83e5[_0x476f47][_0x51723f(0x292)],..._0x3e83e5[_0x476f47][_0x51723f(0x1f2)]}},_0x62db3b=this[_0x51723f(0x384)]['transformMutation'](_0x17cd41,_0x85224d,!0x1),_0x34d66f=this[_0x51723f(0x384)]['transformMutation'](_0x167124,_0x54e33b,!0x1);if(_0x55b38f(_0x62db3b))throw _0x62db3b[_0x51723f(0x268)];if(_0x55b38f(_0x34d66f))throw _0x34d66f['error'];_0xc49e67[_0x51723f(0x334)]({..._0x3e83e5[_0x476f47],'undoState':_0x62db3b[_0x51723f(0x580)]['params'],'redoState':_0x34d66f[_0x51723f(0x580)][_0x51723f(0x593)]}),_0x17cd41=_0x62db3b[_0x51723f(0x478)],_0x167124=_0x34d66f[_0x51723f(0x478)];}this[_0x51723f(0x393)][_0x51723f(0x1db)](_0xdbab87,{'history':_0x473d14,'collaboration':_0xc49e67});}};pt=ro([xt(0x0,_0xb59c13(_0x475d43)),xt(0x1,_0x3c8669),xt(0x2,_0xb59c13(_0x2dd912))],pt);function Pi(_0x9e821c){const _0x5f2c08=_0x55040e;let _0x1c6e43='';for(const _0x4ff165 of _0x9e821c){const {startOffset:_0x4ce190,endOffset:_0x987899,isActive:_0x2f8c1b,rangeType:_0xf2e9e0,segmentId:_0x18cdec,segmentPage:_0x4bea65}=_0x4ff165;_0x1c6e43[_0x5f2c08(0x41f)]&&(_0x1c6e43+=','),_0x1c6e43+=_0x4ce190+':'+_0x987899+':'+(_0x2f8c1b?'1':'0')+':'+_0xf2e9e0+':'+_0x18cdec+':'+_0x4bea65;}return _0x1c6e43;}function oo(_0x14b673){const _0x5b47ac=_0x55040e,_0x5913fa=_0x14b673[_0x5b47ac(0x32f)](','),_0x398dda=[];for(const _0x261bcc of _0x5913fa){const [_0x2f5de6,_0x328840,_0x17b7f6,_0x456edf,_0xc67d56,_0x46fded]=_0x261bcc[_0x5b47ac(0x32f)](':');_0x398dda[_0x5b47ac(0x5b6)]({'startOffset':Number(_0x2f5de6),'endOffset':Number(_0x328840),'collapsed':_0x2f5de6===_0x328840,'isActive':_0x17b7f6==='1','rangeType':_0x456edf===_0x70259c[_0x5b47ac(0x4f8)]?_0x70259c['TEXT']:_0x70259c['RECT'],'segmentId':typeof _0xc67d56==_0x5b47ac(0x54c)?String(_0xc67d56):'','segmentPage':Number(_0x46fded!=null?_0x46fded:-0x1)});}return _0x398dda[_0x5b47ac(0x398)](_0x564411=>_0x564411[_0x5b47ac(0x3b3)])||(_0x398dda[0x0][_0x5b47ac(0x3b3)]=!0x0),_0x398dda;}class Cs extends _0x47772b{constructor(){const _0x4ad99c=_0x55040e;super(...arguments),g(this,_0x4ad99c(0x309),new _0x7f65fd(null)),g(this,_0x4ad99c(0x296),this[_0x4ad99c(0x309)][_0x4ad99c(0x34d)]());}['syncEditingCollabCursor'](_0xbe350e){const _0x1b4a4f=_0x55040e,{unitID:_0x508a69,memberID:_0x26e63e,textRanges:_0x297ac9}=_0xbe350e,_0x420a0a=Pi(_0x297ac9);if(_0x420a0a==='')return;const _0x5cda2e={'unitID':_0x508a69,'memberID':_0x26e63e,'selection':_0x420a0a};this['_collabCursorState$'][_0x1b4a4f(0x1ea)](_0x5cda2e);}}var ao=Object['defineProperty'],co=Object[_0x55040e(0x2ad)],ho=(_0x5dce19,_0x2da479,_0x388c23,_0x1851ff)=>{const _0x149210=_0x55040e;for(var _0x1652e=_0x1851ff>0x1?void 0x0:_0x1851ff?co(_0x2da479,_0x388c23):_0x2da479,_0x3d070c=_0x5dce19[_0x149210(0x41f)]-0x1,_0x51977e;_0x3d070c>=0x0;_0x3d070c--)(_0x51977e=_0x5dce19[_0x3d070c])&&(_0x1652e=(_0x1851ff?_0x51977e(_0x2da479,_0x388c23,_0x1652e):_0x51977e(_0x1652e))||_0x1652e);return _0x1851ff&&_0x1652e&&ao(_0x2da479,_0x388c23,_0x1652e),_0x1652e;},Fs=(_0x4434e9,_0x3d8b50)=>(_0x6f3b9a,_0x25f82b)=>_0x3d8b50(_0x6f3b9a,_0x25f82b,_0x4434e9);let gt=class{constructor(_0x5d5b76,_0x1b5060){const _0x36447b=_0x55040e;this['_injector']=_0x5d5b76,this[_0x36447b(0x384)]=_0x1b5060;}[_0x55040e(0x466)](_0x47039c){const _0x17a88d=_0x55040e;var _0x262c0b;const _0x2b8384=this[_0x17a88d(0x1c7)][_0x17a88d(0x25c)](_0x1e62ad),_0x318f22=(_0x262c0b=_0x2b8384['getDocRanges']())!=null?_0x262c0b:[];if(_0x318f22['length']===0x0)return;const _0x1d3d27=[{'id':_0x17a88d(0x265),'params':{'unitId':_0x47039c[_0x17a88d(0x54d)],'actions':null,'textRanges':_0x318f22}}],_0x1c1009=this[_0x17a88d(0x384)][_0x17a88d(0x30e)](_0x47039c,_0x1d3d27);if(!_0x5c817a(_0x1c1009))throw _0x1c1009[_0x17a88d(0x268)];const _0x42ec62=_0x1c1009[_0x17a88d(0x580)][0x0][_0x17a88d(0x593)][_0x17a88d(0x59b)];Array[_0x17a88d(0x3a4)](_0x42ec62)&&_0x42ec62[_0x17a88d(0x41f)]&&_0x2b8384['replaceTextRanges'](_0x42ec62,!0x1);}};gt=ho([Fs(0x0,_0xb59c13(_0x475d43)),Fs(0x1,_0x3c8669)],gt);const lo=new Set([_0x3f6de1['id']]);function Vs(_0xfa4e25,_0x4be871,_0x1590b4,_0x3d578c,_0x314053){const _0x59e836=_0x55040e;var _0x5ad9a3,_0x1332ab,_0x36d3d7,_0x466151;const _0x22600c=[];for(const _0x304490 of _0xfa4e25)if(lo[_0x59e836(0x269)](_0x304490['id'])){if(_0x22600c[_0x59e836(0x41f)]>0x0)break;_0x22600c[_0x59e836(0x5b6)](_0x304490);break;}else _0x22600c[_0x59e836(0x5b6)](_0x304490);const _0x607a44=(_0x1332ab=(_0x5ad9a3=_0x314053[_0x59e836(0x31a)]())==null?void 0x0:_0x5ad9a3[_0x59e836(0x280)])!=null?_0x1332ab:_0x59e836(0x233),_0x49a53b=(_0x466151=(_0x36d3d7=_0x314053[_0x59e836(0x31a)]())==null?void 0x0:_0x36d3d7[_0x59e836(0x572)])!=null?_0x466151:_0x59e836(0x233);return{'changeset':{'unitID':_0x4be871,'type':_0x4604e3(_0x1590b4[_0x59e836(0x2c1)](_0x4be871)),'baseRev':_0x3d578c['getCurrentRevOfUnit'](_0x4be871),'revision':0x0,'userID':_0x607a44,'memberID':_0x49a53b,'mutations':_0x22600c},'pendingMutations':_0xfa4e25['slice'](_0x22600c[_0x59e836(0x41f)])};}function _o(_0x37edf5,_0x414930,_0x32376e,_0x1f3895,_0x27f0e2){const _0x502e59=_0x55040e;var _0x18a689,_0x4bd3c5,_0x1b9c02,_0x40261a;const _0x669d17=[_0x37edf5[_0x502e59(0x399)]((_0x2ba9c0,_0x5b69ba)=>{const _0x591fea=_0x502e59;var _0x1427fc;const {id:_0x160dc9}=_0x2ba9c0,{id:_0x2e6fe2,type:_0x514338}=_0x5b69ba,_0x1b22d6=(_0x1427fc=_0x2ba9c0[_0x591fea(0x593)])!=null?_0x1427fc:{'actions':null},_0x2ab3e5=_0x5b69ba['params'];if(_0x160dc9&&_0x160dc9!==_0x2e6fe2)throw new Error(_0x591fea(0x38c)+_0x160dc9+_0x591fea(0x1f5)+_0x2e6fe2+'.');return{..._0x2ba9c0,'id':_0x2e6fe2,'type':_0x514338,'params':{'unitId':_0x2ab3e5['unitId'],'textRanges':_0x2ab3e5[_0x591fea(0x59b)],'actions':_0xd8462f['compose'](_0x1b22d6[_0x591fea(0x551)],_0x2ab3e5['actions'])}};},{})],_0x599928=(_0x4bd3c5=(_0x18a689=_0x27f0e2['getCurrentUser']())==null?void 0x0:_0x18a689[_0x502e59(0x280)])!=null?_0x4bd3c5:_0x502e59(0x233),_0x309825=(_0x40261a=(_0x1b9c02=_0x27f0e2[_0x502e59(0x31a)]())==null?void 0x0:_0x1b9c02[_0x502e59(0x572)])!=null?_0x40261a:_0x502e59(0x233);return{'changeset':{'unitID':_0x414930,'type':_0x4604e3(_0x32376e[_0x502e59(0x2c1)](_0x414930)),'baseRev':_0x1f3895[_0x502e59(0x225)](_0x414930),'revision':0x0,'userID':_0x599928,'memberID':_0x309825,'mutations':_0x669d17},'pendingMutations':[]};}function Ui(_0x3affc7,_0x5566c1){const _0x3ddfbe=_0x55040e,_0x5c147e=new _0x3b618a(0x1);return setTimeout(()=>_0x5c147e[_0x3ddfbe(0x1ea)](_0x5566c1),_0x3affc7),_0x5c147e[_0x3ddfbe(0x34d)]()[_0x3ddfbe(0x55b)](_0x31309a(0x1));}const uo={'id':_0x175b3b['id'],'type':_0x433970['MUTATION'],'params':{}};var fo=Object[_0x55040e(0x4df)],vo=Object[_0x55040e(0x2ad)],Le=(_0x55267b,_0x350b12,_0x549a08,_0x3400dc)=>{for(var _0x1aa4b1=_0x3400dc>0x1?void 0x0:_0x3400dc?vo(_0x350b12,_0x549a08):_0x350b12,_0x26270a=_0x55267b['length']-0x1,_0x2bc165;_0x26270a>=0x0;_0x26270a--)(_0x2bc165=_0x55267b[_0x26270a])&&(_0x1aa4b1=(_0x3400dc?_0x2bc165(_0x350b12,_0x549a08,_0x1aa4b1):_0x2bc165(_0x1aa4b1))||_0x1aa4b1);return _0x3400dc&&_0x1aa4b1&&fo(_0x350b12,_0x549a08,_0x1aa4b1),_0x1aa4b1;},A=(_0x56a396,_0x35fccc)=>(_0x229e9c,_0x50bb93)=>_0x35fccc(_0x229e9c,_0x50bb93,_0x56a396),J=(_0x21c7b8=>(_0x21c7b8[_0x55040e(0x594)]='not_collab',_0x21c7b8['SYNCED']=_0x55040e(0x1d8),_0x21c7b8['PENDING']=_0x55040e(0x4d5),_0x21c7b8[_0x55040e(0x259)]=_0x55040e(0x354),_0x21c7b8['AWAITING_WITH_PENDING']=_0x55040e(0x57f),_0x21c7b8[_0x55040e(0x306)]='fetch_missing',_0x21c7b8['CONFLICT']=_0x55040e(0x40f),_0x21c7b8[_0x55040e(0x4d3)]=_0x55040e(0x50d),_0x21c7b8))(J||{});const Ni=0xea60;class $e{constructor(_0x23d4c7,_0x4c2e70,_0x8964e4,_0x3d2f6b,_0x57c32c,_0x4b3256,_0x2602a5,_0x582981,_0x53d33b){const _0x59811a=_0x55040e;g(this,_0x59811a(0x4b9),null),g(this,_0x59811a(0x4d8),[]),(this[_0x59811a(0x54d)]=_0x23d4c7,this[_0x59811a(0x24f)]=_0x4c2e70,this[_0x59811a(0x50f)]=_0x57c32c,this[_0x59811a(0x1e8)]=_0x4b3256,this['_undoRedoService']=_0x2602a5,this[_0x59811a(0x5c9)]=_0x582981,this[_0x59811a(0x528)]=_0x53d33b,this['_awaitingChangeset']=_0x8964e4,this[_0x59811a(0x4d8)]=_0x3d2f6b);}['_checkMissing'](_0x531bbb){const _0x1ea4aa=_0x55040e,_0x975db9=this[_0x1ea4aa(0x5c9)][_0x1ea4aa(0x225)](this[_0x1ea4aa(0x54d)]);return _0x531bbb[_0x1ea4aa(0x4a7)]>_0x975db9+0x1?(this['_handler']['onMissingChangesets']({'from':_0x975db9,'to':_0x531bbb[_0x1ea4aa(0x4a7)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x112840){const _0x42a97f=_0x55040e;this[_0x42a97f(0x323)][_0x42a97f(0x25f)](this['unitID'],_0x112840);}[_0x55040e(0x52c)](_0x2ed159){const _0xbf96a2=_0x55040e;var _0x7f89b,_0x9a0733;(_0x9a0733=(_0x7f89b=this[_0xbf96a2(0x50f)])[_0xbf96a2(0x1cb)])==null||_0x9a0733['call'](_0x7f89b,_0x2ed159);}['_transformIMECache'](_0x3d3c26){const _0x235c36=_0x55040e;var _0x31b697,_0x18dec2;return(_0x18dec2=(_0x31b697=this[_0x235c36(0x50f)])[_0x235c36(0x4c7)])==null?void 0x0:_0x18dec2[_0x235c36(0x477)](_0x31b697,_0x3d3c26);}[_0x55040e(0x459)](_0x318b90){const _0x41d862=_0x55040e;var _0x2a05ba,_0x641e6c;return(_0x641e6c=(_0x2a05ba=this['_handler'])[_0x41d862(0x222)])==null?void 0x0:_0x641e6c[_0x41d862(0x477)](_0x2a05ba,_0x318b90);}[_0x55040e(0x1da)](_0x976d8f){const _0x4dd56e=_0x55040e;var _0x20736f,_0x2c865c,_0x29b89d;return(_0x29b89d=(_0x2c865c=(_0x20736f=this[_0x4dd56e(0x50f)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2c865c[_0x4dd56e(0x477)](_0x20736f,_0x976d8f))!=null?_0x29b89d:_0x976d8f;}[_0x55040e(0x1cd)](_0x150890){const _0x430775=_0x55040e;var _0x2057a3,_0x87ecdb,_0x40bafc;return(_0x40bafc=(_0x87ecdb=(_0x2057a3=this['_handler'])[_0x430775(0x550)])==null?void 0x0:_0x87ecdb[_0x430775(0x477)](_0x2057a3,_0x150890))!=null?_0x40bafc:_0x150890;}[_0x55040e(0x38f)](_0x56a1d3){const _0x274cf9=_0x55040e;var _0x5ea348,_0xda70e2;if(this[_0x274cf9(0x24f)]===ce[_0x274cf9(0x337)]){const {unitID:_0x206f9a,mutations:_0x3a0719,memberID:_0x45ca2e}=_0x56a1d3,_0x5c2620=_0x3a0719[0x0][_0x274cf9(0x593)][_0x274cf9(0x59b)];Array['isArray'](_0x5c2620)&&_0x5c2620['length']>0x0&&((_0xda70e2=(_0x5ea348=this[_0x274cf9(0x50f)])[_0x274cf9(0x408)])==null||_0xda70e2[_0x274cf9(0x477)](_0x5ea348,{'unitID':_0x206f9a,'memberID':_0x45ca2e,'textRanges':_0x5c2620}));}}[_0x55040e(0x599)](){const _0x162f71=_0x55040e;this[_0x162f71(0x528)][_0x162f71(0x3ef)](this[_0x162f71(0x54d)],this[_0x162f71(0x24f)],this[_0x162f71(0x4b9)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x511d67=_0x55040e;return this[_0x511d67(0x5c9)][_0x511d67(0x225)](this[_0x511d67(0x54d)]);}[_0x55040e(0x5a6)](){const _0x5256dd=_0x55040e;this[_0x5256dd(0x5c9)][_0x5256dd(0x36b)](this[_0x5256dd(0x54d)]);}[_0x55040e(0x439)](_0x4a402d){const _0x1d2884=_0x55040e;var _0x48cf89;let _0x5c45b4=this[_0x1d2884(0x1da)](_0x4a402d);_0x5c45b4=this[_0x1d2884(0x1cd)](_0x5c45b4);const _0x4c9d7b=_0x574971(_0x5c45b4['mutations'],this[_0x1d2884(0x1e8)],{'fromCollab':!0x0});if(!_0x4c9d7b[_0x1d2884(0x4fd)])throw _0x4c9d7b[_0x1d2884(0x268)]instanceof Error?_0x4c9d7b['error']:new Error((_0x48cf89=_0x4c9d7b['error'])!=null?_0x48cf89:_0x1d2884(0x3fd));this['_transformIMECache'](_0x5c45b4),this['_transformStateCache'](_0x5c45b4),this['_transformUndoredo'](_0x4a402d),this['_transformSelections'](_0x5c45b4),this[_0x1d2884(0x38f)](_0x5c45b4),this[_0x1d2884(0x5a6)]();}}let Fe=class extends $e{constructor(_0xd6112a,_0x355eb1,_0x3781b6,_0x41cd6c,_0x319ef5,_0x3b4bcb,_0x4a9378,_0x323809,_0x4d6a1b,_0x5f2845){const _0x6e9ebf=_0x55040e;super(_0xd6112a,_0x355eb1,null,[],_0x3781b6,_0x323809,_0x4a9378,_0x41cd6c,_0x319ef5),g(this,_0x6e9ebf(0x3bd),_0x6e9ebf(0x1d8)),(this[_0x6e9ebf(0x1c7)]=_0x3b4bcb,this[_0x6e9ebf(0x37d)]=_0x4d6a1b,this[_0x6e9ebf(0x384)]=_0x5f2845);}[_0x55040e(0x56e)](_0x423b25){const _0x29244a=_0x55040e,_0x2ddbd4=this['_injector']['createInstance'](pe,this[_0x29244a(0x54d)],this[_0x29244a(0x24f)],[_0x423b25],this[_0x29244a(0x50f)]);return _0x2ddbd4['_schedule'](),_0x2ddbd4['_updateLocalCache'](),_0x2ddbd4;}[_0x55040e(0x4e1)](_0x494672){const _0x15e948=_0x55040e;if(this[_0x15e948(0x53f)](_0x494672))return this[_0x15e948(0x1c7)][_0x15e948(0x21f)](he,this[_0x15e948(0x54d)],this[_0x15e948(0x24f)],null,[],null,[_0x494672],this[_0x15e948(0x50f)]);try{const _0x659d8=this['_transformService'][_0x15e948(0x30e)](_0x494672,[uo]);if(_0x5c817a(_0x659d8)){const {c1Prime:_0x13aa21}=_0x659d8;return this[_0x15e948(0x439)](_0x13aa21),this;}throw _0x659d8[_0x15e948(0x268)];}catch(_0x132dc7){return this[_0x15e948(0x37d)][_0x15e948(0x268)](_0x132dc7),this[_0x15e948(0x42d)](!0x1);}}[_0x55040e(0x42d)](_0x4fda3a){const _0x2153d9=_0x55040e;return this[_0x2153d9(0x1c7)]['createInstance'](Re,this[_0x2153d9(0x54d)],this[_0x2153d9(0x24f)],null,[],this[_0x2153d9(0x50f)],_0x4fda3a);}[_0x55040e(0x26f)](){const _0xb2c24b=_0x55040e;throw new Error(_0xb2c24b(0x3b0));}[_0x55040e(0x56f)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){const _0x40090e=_0x55040e;return this['_injector'][_0x40090e(0x21f)](ye,this[_0x40090e(0x54d)],this['type'],null,[],this['_handler']);}[_0x55040e(0x3b6)](){return this;}[_0x55040e(0x346)](){const _0x182247=_0x55040e;throw new Error(_0x182247(0x37c));}[_0x55040e(0x420)](){const _0x29bcb1=_0x55040e,_0x28cc8d=this['_revisionService'][_0x29bcb1(0x225)](this['unitID']);return this['_handler'][_0x29bcb1(0x2e0)]({'from':_0x28cc8d,'to':0x0}),this[_0x29bcb1(0x1c7)]['createInstance'](he,this[_0x29bcb1(0x54d)],this['type'],null,[],null,[],this[_0x29bcb1(0x50f)]);}};Fe=Le([A(0x3,_0xb59c13(_0x4db64b)),A(0x4,_0xb59c13(q)),A(0x5,_0xb59c13(_0x475d43)),A(0x6,_0x50f1b0),A(0x7,_0x2983df),A(0x8,_0x6916a2),A(0x9,_0x3c8669)],Fe);let pe=class extends $e{constructor(_0xee7b58,_0x5ef033,_0x380179,_0x873ec3,_0x34f029,_0x412303,_0x1f0317,_0xde2fe,_0x3ffc54,_0x2c1676,_0x865c76,_0x1cc243,_0x56e1d6,_0x4dda73){const _0x2ac027=_0x55040e;super(_0xee7b58,_0x5ef033,null,_0x380179,_0x873ec3,_0x2c1676,_0x4dda73,_0x412303,_0x1f0317),g(this,'status',_0x2ac027(0x4d5)),g(this,_0x2ac027(0x330),null),g(this,_0x2ac027(0x45f),null),(this[_0x2ac027(0x1c7)]=_0x34f029,this['_memberService']=_0xde2fe,this[_0x2ac027(0x37d)]=_0x3ffc54,this[_0x2ac027(0x2b0)]=_0x865c76,this[_0x2ac027(0x384)]=_0x1cc243,this[_0x2ac027(0x48a)]=_0x56e1d6);}[_0x55040e(0x56e)](_0x3ca802){const _0x38bb99=_0x55040e;return this[_0x38bb99(0x4d8)][_0x38bb99(0x5b6)](_0x3ca802),this[_0x38bb99(0x599)](),this;}['onRemoteChangeset'](_0xea9ea3){const _0x171bbb=_0x55040e;if(this[_0x171bbb(0x53f)](_0xea9ea3))return this['_clearScheduledTask'](),this[_0x171bbb(0x1c7)]['createInstance'](he,this['unitID'],this[_0x171bbb(0x24f)],null,this[_0x171bbb(0x4d8)],null,[_0xea9ea3],this[_0x171bbb(0x50f)]);try{const _0x1b0d7f=this[_0x171bbb(0x384)][_0x171bbb(0x30e)](_0xea9ea3,this[_0x171bbb(0x4d8)]);if(_0x5c817a(_0x1b0d7f)){const {c1Prime:_0x2f724e,m2Prime:_0x4684f9}=_0x1b0d7f;this[_0x171bbb(0x439)](_0x2f724e);const _0x1ed6ec=this[_0x171bbb(0x1c7)][_0x171bbb(0x21f)](pe,this[_0x171bbb(0x54d)],this['type'],_0x4684f9,this['_handler']);return this['_clearScheduledTask'](),_0x1ed6ec[_0x171bbb(0x497)](this['_scheduleTimestamp']?Math[_0x171bbb(0x43d)](0x0,new Date()[_0x171bbb(0x49e)]()-this[_0x171bbb(0x330)]):this[_0x171bbb(0x453)]()),_0x1ed6ec;}throw _0x1b0d7f['error'];}catch(_0x4eaf60){return this[_0x171bbb(0x37d)][_0x171bbb(0x268)](_0x4eaf60),this['_onConflict'](!0x1);}}[_0x55040e(0x26f)](){const _0xebb7da=_0x55040e;throw new Error(_0xebb7da(0x5ab));}[_0x55040e(0x56f)](){const _0x19d1e3=_0x55040e;throw new Error(_0x19d1e3(0x412));}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){const _0x2fbae0=_0x55040e;return this[_0x2fbae0(0x2da)](),this[_0x2fbae0(0x1c7)][_0x2fbae0(0x21f)](ye,this['unitID'],this['type'],null,this[_0x2fbae0(0x4d8)],this[_0x2fbae0(0x50f)]);}['toggleOnline'](){return this;}['_schedule'](_0x12decb){const _0x3f255c=_0x55040e,_0x31677d=_0x12decb!=null?_0x12decb:this[_0x3f255c(0x453)]();this[_0x3f255c(0x330)]=new Date()[_0x3f255c(0x49e)](),this[_0x3f255c(0x45f)]=window['setTimeout'](()=>{const _0x2b2db7=_0x3f255c;this['_clearScheduledTask']();let _0x45197a=null;switch(this['type']){case ce[_0x2b2db7(0x2b1)]:{_0x45197a=Vs(this[_0x2b2db7(0x4d8)],this[_0x2b2db7(0x54d)],this[_0x2b2db7(0x48a)],this['_revisionService'],this[_0x2b2db7(0x356)]);break;}case ce[_0x2b2db7(0x337)]:{this[_0x2b2db7(0x4d8)][_0x2b2db7(0x517)](_0x31d63b=>_0x31d63b['id']===_0x3f8477['id'])?_0x45197a=_o(this['_pendingMutations'],this[_0x2b2db7(0x54d)],this[_0x2b2db7(0x48a)],this[_0x2b2db7(0x5c9)],this[_0x2b2db7(0x356)]):_0x45197a=Vs(this[_0x2b2db7(0x4d8)],this['unitID'],this[_0x2b2db7(0x48a)],this[_0x2b2db7(0x5c9)],this['_memberService']);break;}default:throw new Error(_0x2b2db7(0x4a1)+this[_0x2b2db7(0x24f)]+_0x2b2db7(0x22f));}const {changeset:_0x3d79b9,pendingMutations:_0x5730f9}=_0x45197a;this[_0x2b2db7(0x50f)]['onSendChangeset'](_0x3d79b9);const _0x84768d=_0x5730f9[_0x2b2db7(0x41f)]?this[_0x2b2db7(0x1c7)]['createInstance'](ge,this[_0x2b2db7(0x54d)],this['type'],_0x3d79b9,_0x5730f9,this[_0x2b2db7(0x50f)],void 0x0):this[_0x2b2db7(0x1c7)][_0x2b2db7(0x21f)](Te,this['unitID'],this[_0x2b2db7(0x24f)],_0x3d79b9,this['_handler']);_0x84768d[_0x2b2db7(0x599)](),this[_0x2b2db7(0x50f)][_0x2b2db7(0x239)](this,_0x84768d);},_0x31677d);}[_0x55040e(0x453)](){const _0x3a5563=_0x55040e;var _0x249c86;const _0x3181af=this[_0x3a5563(0x2b0)][_0x3a5563(0x5c3)](ie);return(_0x249c86=_0x3181af==null?void 0x0:_0x3181af['sendChangesetTimeout'])!=null?_0x249c86:cr;}['resend'](){const _0x1fc1f3=_0x55040e;throw new Error(_0x1fc1f3(0x4bc));}['_clearScheduledTask'](){const _0x5ce55d=_0x55040e;this[_0x5ce55d(0x45f)]!=null&&(clearTimeout(this[_0x5ce55d(0x45f)]),this[_0x5ce55d(0x45f)]=null);}[_0x55040e(0x42d)](_0x192e28){const _0x2a0743=_0x55040e;return this[_0x2a0743(0x2da)](),this['_injector'][_0x2a0743(0x21f)](Re,this[_0x2a0743(0x54d)],this[_0x2a0743(0x24f)],null,this[_0x2a0743(0x4d8)],this[_0x2a0743(0x50f)],_0x192e28);}};pe=Le([A(0x4,_0xb59c13(_0x475d43)),A(0x5,_0xb59c13(_0x4db64b)),A(0x6,_0xb59c13(q)),A(0x7,_0xb59c13(Ne)),A(0x8,_0x6916a2),A(0x9,_0x2983df),A(0xa,_0x1fedc7),A(0xb,_0x3c8669),A(0xc,_0x10abd5),A(0xd,_0x50f1b0)],pe);let Te=class extends $e{constructor(_0x1e2e0b,_0x33f26b,_0x1bdb1f,_0x16a9e0,_0x5e9c07,_0xf7d638,_0xa0ac86,_0x9b23e5,_0x49036b,_0x30a41e,_0x548a41){const _0x14df8a=_0x55040e;super(_0x1e2e0b,_0x33f26b,_0x1bdb1f,[],_0x16a9e0,_0x9b23e5,_0x548a41,_0xf7d638,_0xa0ac86),g(this,_0x14df8a(0x3bd),'awaiting'),g(this,'_resendTimeout',0x0),g(this,'_resendTimer'),g(this,_0x14df8a(0x31d)),(this[_0x14df8a(0x1c7)]=_0x5e9c07,this[_0x14df8a(0x37d)]=_0x49036b,this[_0x14df8a(0x384)]=_0x30a41e);}[_0x55040e(0x56e)](_0x23aef5){const _0x3c011f=_0x55040e;this[_0x3c011f(0x2da)]();const _0x190e9e=this[_0x3c011f(0x1c7)]['createInstance'](ge,this['unitID'],this[_0x3c011f(0x24f)],this[_0x3c011f(0x4b9)],[_0x23aef5],this[_0x3c011f(0x50f)],this[_0x3c011f(0x444)]);return _0x190e9e[_0x3c011f(0x599)](),_0x190e9e;}['onRemoteChangeset'](_0x51188b){const _0x3e40a4=_0x55040e;if(this['_checkMissing'](_0x51188b))return this['_clearScheduledTask'](),this[_0x3e40a4(0x1c7)]['createInstance'](he,this[_0x3e40a4(0x54d)],this[_0x3e40a4(0x24f)],this[_0x3e40a4(0x4b9)],[],null,[_0x51188b],this[_0x3e40a4(0x50f)]);try{const _0x3a2625=this['_transformService'][_0x3e40a4(0x339)]([_0x51188b],[this[_0x3e40a4(0x4b9)]],!0x1);if(_0x356879(_0x3a2625)){const {c1Prime:_0x74ea4f,c2Prime:_0x2b4f16}=_0x3a2625;this['_executeRemoteChangeset'](_0x74ea4f[0x0]),_0x2b4f16[0x0][_0x3e40a4(0x3e6)]=this[_0x3e40a4(0x2fe)](),this['_clearScheduledTask']();const _0x3d70ab=this[_0x3e40a4(0x1c7)][_0x3e40a4(0x21f)](Te,this['unitID'],this[_0x3e40a4(0x24f)],_0x2b4f16[0x0],this[_0x3e40a4(0x50f)]);return _0x3d70ab['_updateLocalCache'](),_0x3d70ab;}return this['_onConflict'](!0x1);}catch(_0x5f95d2){return this['_logService']['error'](_0x5f95d2),this['_onConflict'](!0x1);}}[_0x55040e(0x26f)](_0x4e2b59){const _0x2d7c68=_0x55040e;this['_clearScheduledTask']();const _0x14b20d=this[_0x2d7c68(0x5c9)]['getCurrentRevOfUnit'](this[_0x2d7c68(0x54d)]);if(_0x4e2b59[_0x2d7c68(0x4a7)]<_0x14b20d-0x1)return this;if(this['_checkMissing'](_0x4e2b59))return this[_0x2d7c68(0x1c7)][_0x2d7c68(0x21f)](he,this[_0x2d7c68(0x54d)],this[_0x2d7c68(0x24f)],null,[],this[_0x2d7c68(0x4b9)],[],this[_0x2d7c68(0x50f)]);this[_0x2d7c68(0x5a6)]();const _0x50c702=this[_0x2d7c68(0x1c7)][_0x2d7c68(0x21f)](Fe,this[_0x2d7c68(0x54d)],this[_0x2d7c68(0x24f)],this[_0x2d7c68(0x50f)]);return _0x50c702[_0x2d7c68(0x599)](),_0x50c702;}[_0x55040e(0x56f)](_0x4d3de0){const _0xa7eabb=_0x55040e;return this[_0xa7eabb(0x42d)](!!(_0x4d3de0!=null&&_0x4d3de0[_0xa7eabb(0x4f9)]));}[_0x55040e(0x510)](_0x455165){const _0x2fcfef=_0x55040e;return this[_0x2fcfef(0x553)]>Ni?this['toggleOffline']():(this[_0x2fcfef(0x444)]=Ui(this[_0x2fcfef(0x553)],{'timeout':this[_0x2fcfef(0x553)],'reqId':_0x455165[_0x2fcfef(0x4ed)]}),this['_sender']=this[_0x2fcfef(0x444)][_0x2fcfef(0x1e2)](({reqId:_0x3df404,timeout:_0x704b34})=>{this['_resendWithTimeout'](_0x3df404,_0x704b34);}),this);}[_0x55040e(0x564)](){const _0x3bf41f=_0x55040e;return this[_0x3bf41f(0x2da)](),this[_0x3bf41f(0x1c7)][_0x3bf41f(0x21f)](ye,this['unitID'],this[_0x3bf41f(0x24f)],this[_0x3bf41f(0x4b9)],[],this[_0x3bf41f(0x50f)]);}['toggleOnline'](){return this;}[_0x55040e(0x346)](){const _0x1b17e8=_0x55040e;this['_handler'][_0x1b17e8(0x4a9)](this[_0x1b17e8(0x4b9)]);}[_0x55040e(0x42d)](_0x32f78c){const _0x49434d=_0x55040e;return this[_0x49434d(0x2da)](),this[_0x49434d(0x1c7)][_0x49434d(0x21f)](Re,this['unitID'],this[_0x49434d(0x24f)],this['_awaitingChangeset'],[],this[_0x49434d(0x50f)],_0x32f78c);}['_resendWithTimeout'](_0x3495b1,_0x2adba4){const _0x289f44=_0x55040e;var _0x4d9393;_0x3495b1===((_0x4d9393=this[_0x289f44(0x4b9)])==null?void 0x0:_0x4d9393[_0x289f44(0x4ed)])&&(this['resend'](),this[_0x289f44(0x553)]=_0x2adba4===0x0?0x3e8:_0x2adba4*0x2);}[_0x55040e(0x2da)](){const _0x113337=_0x55040e;var _0x279b67;(_0x279b67=this[_0x113337(0x31d)])==null||_0x279b67[_0x113337(0x1e9)](),this[_0x113337(0x553)]=0x0;}};Te=Le([A(0x4,_0xb59c13(_0x475d43)),A(0x5,_0xb59c13(_0x4db64b)),A(0x6,_0xb59c13(q)),A(0x7,_0x2983df),A(0x8,_0x6916a2),A(0x9,_0x3c8669),A(0xa,_0x50f1b0)],Te);let ge=class extends $e{constructor(_0x36ecde,_0x51bfbc,_0x229e04,_0x405bc8,_0x49b82e,_0x54e138,_0xdd8c3c,_0x525974,_0x159ffb,_0x3f1802,_0x282bd0,_0x4760a9,_0x4d0f50){const _0x257503=_0x55040e;super(_0x36ecde,_0x51bfbc,_0x229e04,_0x405bc8,_0x49b82e,_0x3f1802,_0x4d0f50,_0x525974,_0x159ffb),g(this,_0x257503(0x3bd),_0x257503(0x57f)),g(this,'_resendTimeout',0x0),g(this,_0x257503(0x444)),g(this,_0x257503(0x31d)),(this['_injector']=_0xdd8c3c,this[_0x257503(0x37d)]=_0x282bd0,this[_0x257503(0x384)]=_0x4760a9,_0x54e138&&(this[_0x257503(0x444)]=_0x54e138,this[_0x257503(0x31d)]=this['_resendTimer'][_0x257503(0x1e2)](({reqId:_0x5298d6,timeout:_0x1754d0})=>{this['_resendWithTimeout'](_0x5298d6,_0x1754d0);})));}[_0x55040e(0x56e)](_0x285e7e){const _0x5a664b=_0x55040e;return this[_0x5a664b(0x4d8)]['push'](_0x285e7e),this;}[_0x55040e(0x4e1)](_0x1fd57e){const _0x443831=_0x55040e;if(this[_0x443831(0x53f)](_0x1fd57e))return this[_0x443831(0x2da)](),this[_0x443831(0x1c7)]['createInstance'](he,this[_0x443831(0x54d)],this[_0x443831(0x24f)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1fd57e],this['_handler']);try{const _0x36891e=this[_0x443831(0x384)]['transformChangesets']([_0x1fd57e],[this[_0x443831(0x4b9)]],!0x1);if(_0x356879(_0x36891e)){const {c1Prime:_0x26dfcb,c2Prime:_0x38341e}=_0x36891e,_0x4aa6bc=this['_transformService'][_0x443831(0x30e)](_0x26dfcb[0x0],this[_0x443831(0x4d8)]);if(_0x5c817a(_0x4aa6bc)){const {c1Prime:_0x35bd74,m2Prime:_0x568158}=_0x4aa6bc;return this['_executeRemoteChangeset'](_0x35bd74),_0x38341e[0x0]['baseRev']=this[_0x443831(0x2fe)](),this[_0x443831(0x2da)](),this[_0x443831(0x1c7)]['createInstance'](ge,this['unitID'],this[_0x443831(0x24f)],_0x38341e[0x0],_0x568158,this[_0x443831(0x50f)],void 0x0);}throw _0x4aa6bc['error'];}throw _0x36891e[_0x443831(0x268)];}catch(_0x528f5a){return this['_logService'][_0x443831(0x268)](_0x528f5a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1cc9a3){const _0x2f2bc9=_0x55040e;if(this[_0x2f2bc9(0x2da)](),this['_checkMissing'](_0x1cc9a3))return this['_injector']['createInstance'](he,this[_0x2f2bc9(0x54d)],this[_0x2f2bc9(0x24f)],null,this[_0x2f2bc9(0x4d8)],this[_0x2f2bc9(0x4b9)],[],this[_0x2f2bc9(0x50f)]);this[_0x2f2bc9(0x5a6)]();const _0x1a9798=this[_0x2f2bc9(0x1c7)][_0x2f2bc9(0x21f)](pe,this[_0x2f2bc9(0x54d)],this['type'],this['_pendingMutations'],this[_0x2f2bc9(0x50f)]);return _0x1a9798[_0x2f2bc9(0x497)](),_0x1a9798[_0x2f2bc9(0x599)](),_0x1a9798;}[_0x55040e(0x56f)](_0x3020e4){const _0x5e0248=_0x55040e;return this[_0x5e0248(0x42d)](!!(_0x3020e4!=null&&_0x3020e4[_0x5e0248(0x4f9)]));}[_0x55040e(0x510)](_0x35b6b9){const _0x11c2f1=_0x55040e;return this[_0x11c2f1(0x553)]>Ni?this[_0x11c2f1(0x564)]():(this[_0x11c2f1(0x444)]=Ui(this[_0x11c2f1(0x553)],{'timeout':this[_0x11c2f1(0x553)],'reqId':_0x35b6b9[_0x11c2f1(0x4ed)]}),this['_sender']=this[_0x11c2f1(0x444)][_0x11c2f1(0x1e2)](({reqId:_0x581f10,timeout:_0x8de396})=>{const _0x59826b=_0x11c2f1;this[_0x59826b(0x2f1)](_0x581f10,_0x8de396);}),this);}[_0x55040e(0x564)](){const _0x4bacc7=_0x55040e;return this[_0x4bacc7(0x2da)](),this[_0x4bacc7(0x1c7)][_0x4bacc7(0x21f)](ye,this[_0x4bacc7(0x54d)],this[_0x4bacc7(0x24f)],this[_0x4bacc7(0x4b9)],this[_0x4bacc7(0x4d8)],this['_handler']);}[_0x55040e(0x3b6)](){return this;}[_0x55040e(0x346)](){const _0x2d42b7=_0x55040e;this[_0x2d42b7(0x50f)]['onSendChangeset'](this[_0x2d42b7(0x4b9)]);}['_onConflict'](_0x48203d){const _0x248567=_0x55040e;return this[_0x248567(0x2da)](),this[_0x248567(0x1c7)][_0x248567(0x21f)](Re,this['unitID'],this['type'],null,this['_pendingMutations'],this['_handler'],_0x48203d);}[_0x55040e(0x2f1)](_0x4aee3f,_0x5e694c){const _0xdc93c3=_0x55040e;var _0x566cfd;_0x4aee3f===((_0x566cfd=this[_0xdc93c3(0x4b9)])==null?void 0x0:_0x566cfd[_0xdc93c3(0x4ed)])&&(this[_0xdc93c3(0x346)](),this[_0xdc93c3(0x553)]=_0x5e694c===0x0?0x3e8:_0x5e694c*0x2);}['_clearScheduledTask'](){const _0x159817=_0x55040e;var _0x49efdb;(_0x49efdb=this['_sender'])==null||_0x49efdb[_0x159817(0x1e9)](),this[_0x159817(0x553)]=0x0;}};ge=Le([A(0x6,_0xb59c13(_0x475d43)),A(0x7,_0xb59c13(_0x4db64b)),A(0x8,_0xb59c13(q)),A(0x9,_0x2983df),A(0xa,_0x6916a2),A(0xb,_0x3c8669),A(0xc,_0x50f1b0)],ge);let Re=class extends $e{constructor(_0x5fad89,_0x40b699,_0x48d759,_0x3b23c0,_0x1342a2,_0x31e82d=!0x1,_0x25b662,_0x55cc70,_0xb4439a,_0x4007ea,_0x52b0c1,_0x43587f,_0x32d26c){const _0x1668f1=_0x55040e;super(_0x5fad89,_0x40b699,_0x48d759,_0x3b23c0,_0x1342a2,_0x55cc70,_0xb4439a,_0x52b0c1,_0x4007ea),g(this,_0x1668f1(0x3bd),_0x1668f1(0x40f)),(this[_0x1668f1(0x2bd)]=_0x31e82d,this['_permissionService']=_0x25b662,this[_0x1668f1(0x376)]=_0x43587f,this[_0x1668f1(0x29f)]=_0x32d26c,this[_0x1668f1(0x310)](),this['_clearLocalCache'](),this[_0x1668f1(0x2bc)]());}[_0x55040e(0x56e)](){return this;}[_0x55040e(0x4e1)](){return this;}[_0x55040e(0x26f)](){return this;}['onRemoteRej'](){return this;}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){return this;}[_0x55040e(0x3b6)](){return this;}['resend'](){const _0xe600=_0x55040e;throw new Error(_0xe600(0x386));}[_0x55040e(0x44e)](){const _0x1c4e1c=_0x55040e;this['_localCacheService'][_0x1c4e1c(0x3ef)](this[_0x1c4e1c(0x54d)],this[_0x1c4e1c(0x24f)],null,[]);}[_0x55040e(0x310)](){const _0x4de0e0=_0x55040e;this[_0x4de0e0(0x2bd)]?this['_notificationService'][_0x4de0e0(0x2d8)]({'title':this['_localeService']['t'](_0x4de0e0(0x3d1)),'content':this[_0x4de0e0(0x376)]['t'](_0x4de0e0(0x2df)),'type':_0x4de0e0(0x268),'duration':0x0}):this[_0x4de0e0(0x29f)][_0x4de0e0(0x2d8)]({'title':this[_0x4de0e0(0x376)]['t'](_0x4de0e0(0x40c)),'content':this[_0x4de0e0(0x376)]['t'](_0x4de0e0(0x235)),'type':_0x4de0e0(0x268),'duration':0x0});}[_0x55040e(0x2bc)](){const _0x4d3d8f=_0x55040e;this[_0x4d3d8f(0x5a7)][_0x4d3d8f(0x253)](new _0x21a4cb(this[_0x4d3d8f(0x54d)])['id'],!0x1);}};Re=Le([A(0x6,_0xb59c13(_0xffa540)),A(0x7,_0x2983df),A(0x8,_0x50f1b0),A(0x9,_0xb59c13(q)),A(0xa,_0xb59c13(_0x4db64b)),A(0xb,_0xb59c13(_0x5d0578)),A(0xc,_0x1e023b)],Re);let ye=class extends $e{constructor(_0x592481,_0x4f61e2,_0x454665,_0x43a808,_0x29a91e,_0x35853f,_0x244b76,_0x2df045,_0x4366fa,_0x23e542){const _0x232feb=_0x55040e;super(_0x592481,_0x4f61e2,_0x454665,_0x43a808,_0x29a91e,_0x4366fa,_0x23e542,_0x244b76,_0x2df045),g(this,_0x232feb(0x3bd),_0x232feb(0x50d)),this['_injector']=_0x35853f;}[_0x55040e(0x56e)](_0x88e4c5){const _0x5e972c=_0x55040e;return this[_0x5e972c(0x4d8)][_0x5e972c(0x5b6)](_0x88e4c5),this[_0x5e972c(0x599)](),this;}['onRemoteChangeset'](_0x4fdf19){const _0x350294=_0x55040e;throw new Error(_0x350294(0x397));}[_0x55040e(0x26f)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x55040e(0x56f)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){return this;}['toggleOnline'](){const _0x31e5a3=_0x55040e,{_injector:_0x15d9d3,_pendingMutations:_0x2cdee9,_awaitingChangeset:_0x362df5,unitID:_0x5297c0,_handler:_0x1d63b3,type:_0x5d400f}=this,_0x52b6e0=Ai(_0x15d9d3,_0x5297c0,_0x5d400f,_0x362df5,_0x2cdee9,_0x1d63b3);return _0x52b6e0 instanceof pe?_0x52b6e0['_schedule']():(_0x52b6e0 instanceof ge||_0x52b6e0 instanceof Te)&&_0x52b6e0[_0x31e5a3(0x346)](),_0x52b6e0;}[_0x55040e(0x346)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0xb59c13(_0x475d43)),A(0x6,_0xb59c13(_0x4db64b)),A(0x7,_0xb59c13(q)),A(0x8,_0x2983df),A(0x9,_0x50f1b0)],ye);let he=class extends $e{constructor(_0x32df09,_0x8061a1,_0x25d04f,_0x4aaea4,_0x1fdd8e,_0x3bef45,_0xf289e8,_0x5993bf,_0x5e562c,_0x21c9d4,_0xe348a6,_0x3e9514,_0x146c51,_0x46c2fd){const _0x1536ec=_0x55040e;super(_0x32df09,_0x8061a1,_0x25d04f,_0x4aaea4,_0xf289e8,_0x3e9514,_0x146c51,_0x5e562c,_0x21c9d4),g(this,_0x1536ec(0x3bd),_0x1536ec(0x2cc)),(this[_0x1536ec(0x5a4)]=_0x1fdd8e,this[_0x1536ec(0x469)]=_0x3bef45,this[_0x1536ec(0x1c7)]=_0x5993bf,this['_logService']=_0xe348a6,this[_0x1536ec(0x384)]=_0x46c2fd);}[_0x55040e(0x390)](_0x5d0f9f){const _0x5f3cd6=_0x55040e;try{const _0x1d0cd6=[..._0x5d0f9f,...this[_0x5f3cd6(0x469)]],_0x24cfd5=[this[_0x5f3cd6(0x4b9)]||this['_acknowledgedAwaitingChangeset']][_0x5f3cd6(0x275)](_0x4886b9=>!!_0x4886b9);let _0x3bfcf7,_0x110113;if(_0x24cfd5[_0x5f3cd6(0x41f)]){const _0xa5fa16=this['_transformService'][_0x5f3cd6(0x339)](_0x1d0cd6,_0x24cfd5,!0x1);if(!_0x356879(_0xa5fa16))throw _0xa5fa16[_0x5f3cd6(0x268)];_0x3bfcf7=_0xa5fa16[_0x5f3cd6(0x4c2)],_0x110113=_0xa5fa16[_0x5f3cd6(0x326)];}else _0x3bfcf7=_0x1d0cd6,_0x110113=[];let _0x1c30ef=this[_0x5f3cd6(0x4d8)];_0x3bfcf7[_0x5f3cd6(0x582)](_0x5e9945=>{const _0x200dbe=_0x5f3cd6;let _0x11bef0;if(_0x1c30ef['length']){const _0x2ea1a0=this[_0x200dbe(0x384)][_0x200dbe(0x30e)](_0x5e9945,_0x1c30ef);if(!_0x5c817a(_0x2ea1a0))throw _0x2ea1a0[_0x200dbe(0x268)];_0x11bef0=_0x2ea1a0[_0x200dbe(0x4c2)],_0x1c30ef=_0x2ea1a0[_0x200dbe(0x580)];}else _0x11bef0=_0x5e9945;this['_executeRemoteChangeset'](_0x11bef0);}),this[_0x5f3cd6(0x5a4)]&&this[_0x5f3cd6(0x5a6)](),this[_0x5f3cd6(0x4b9)]&&_0x110113[_0x5f3cd6(0x41f)]&&(_0x110113[0x0][_0x5f3cd6(0x3e6)]=this['_getCurrentRevision']());let _0x16cd42;if(this['_awaitingChangeset']&&_0x1c30ef[_0x5f3cd6(0x41f)]!==0x0)_0x16cd42=this[_0x5f3cd6(0x1c7)][_0x5f3cd6(0x21f)](ge,this[_0x5f3cd6(0x54d)],this[_0x5f3cd6(0x24f)],_0x110113[0x0],_0x1c30ef,this[_0x5f3cd6(0x50f)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1c30ef['length']===0x0)_0x110113[0x0]['baseRev']=this[_0x5f3cd6(0x2fe)](),_0x16cd42=this[_0x5f3cd6(0x1c7)][_0x5f3cd6(0x21f)](Te,this[_0x5f3cd6(0x54d)],this[_0x5f3cd6(0x24f)],_0x110113[0x0],this['_handler']);else{if(_0x1c30ef['length']!==0x0){const _0x5d6c0c=this[_0x5f3cd6(0x1c7)]['createInstance'](pe,this[_0x5f3cd6(0x54d)],this[_0x5f3cd6(0x24f)],_0x1c30ef,this[_0x5f3cd6(0x50f)]);_0x5d6c0c[_0x5f3cd6(0x497)](),_0x16cd42=_0x5d6c0c;}else _0x16cd42=this[_0x5f3cd6(0x1c7)]['createInstance'](Fe,this[_0x5f3cd6(0x54d)],this[_0x5f3cd6(0x24f)],this[_0x5f3cd6(0x50f)]);}}return _0x16cd42[_0x5f3cd6(0x599)](),_0x16cd42;}catch(_0x17fab4){return this[_0x5f3cd6(0x37d)]['error'](_0x5f3cd6(0x44c),_0x5f3cd6(0x3f8),_0x17fab4),this[_0x5f3cd6(0x1c7)][_0x5f3cd6(0x21f)](Re,this['unitID'],this[_0x5f3cd6(0x24f)],this[_0x5f3cd6(0x4b9)],this[_0x5f3cd6(0x4d8)],this['_handler'],!0x1);}}['resend'](){const _0x1166e1=_0x55040e;throw new Error(_0x1166e1(0x4cb));}[_0x55040e(0x56e)](_0x3d6317){const _0x4c4bf6=_0x55040e;return this[_0x4c4bf6(0x4d8)][_0x4c4bf6(0x5b6)](_0x3d6317),this;}[_0x55040e(0x4e1)](_0x20e34b){const _0x2b11eb=_0x55040e;return this[_0x2b11eb(0x469)][_0x2b11eb(0x5b6)](_0x20e34b),this;}[_0x55040e(0x26f)](_0x49509e){const _0x40a146=_0x55040e;if(this[_0x40a146(0x4b9)])return this[_0x40a146(0x5a4)]=this[_0x40a146(0x4b9)],this[_0x40a146(0x4b9)]=null,this;throw new Error(_0x40a146(0x234));}['onRemoteRej'](_0xc1e5d3){const _0x18244a=_0x55040e;return this[_0x18244a(0x42d)](!!(_0xc1e5d3!=null&&_0xc1e5d3[_0x18244a(0x4f9)]));}[_0x55040e(0x510)](){return this;}[_0x55040e(0x564)](){const _0x5f2188=_0x55040e;return this[_0x5f2188(0x1c7)]['createInstance'](ye,this[_0x5f2188(0x54d)],this['type'],this[_0x5f2188(0x4b9)],this[_0x5f2188(0x4d8)],this[_0x5f2188(0x50f)]);}[_0x55040e(0x3b6)](){return this;}[_0x55040e(0x42d)](_0x22bea1){const _0xd87eb3=_0x55040e;return this['_injector']['createInstance'](Re,this[_0xd87eb3(0x54d)],this[_0xd87eb3(0x24f)],this[_0xd87eb3(0x4b9)],this[_0xd87eb3(0x4d8)],this[_0xd87eb3(0x50f)],_0x22bea1);}};he=Le([A(0x7,_0xb59c13(_0x475d43)),A(0x8,_0xb59c13(_0x4db64b)),A(0x9,_0xb59c13(q)),A(0xa,_0x6916a2),A(0xb,_0x2983df),A(0xc,_0x50f1b0),A(0xd,_0x3c8669)],he);function Ai(_0xf446f6,_0x488665,_0x509a8f,_0xa07a34,_0x2800c2,_0x16bedb){const _0x492751=_0x55040e;return _0xa07a34&&_0x2800c2['length']?_0xf446f6[_0x492751(0x21f)](ge,_0x488665,_0x509a8f,_0xa07a34,_0x2800c2,_0x16bedb,void 0x0):_0xa07a34?_0xf446f6[_0x492751(0x21f)](Te,_0x488665,_0x509a8f,_0xa07a34,_0x16bedb):_0x2800c2[_0x492751(0x41f)]?_0xf446f6[_0x492751(0x21f)](pe,_0x488665,_0x509a8f,_0x2800c2,_0x16bedb):_0xf446f6[_0x492751(0x21f)](Fe,_0x488665,_0x509a8f,_0x16bedb);}var mo=Object[_0x55040e(0x4df)],po=Object[_0x55040e(0x2ad)],Es=(_0x1e84d8,_0x178362,_0xfc4ef7,_0x39d74b)=>{for(var _0x51a123=_0x39d74b>0x1?void 0x0:_0x39d74b?po(_0x178362,_0xfc4ef7):_0x178362,_0x452c95=_0x1e84d8['length']-0x1,_0x181bac;_0x452c95>=0x0;_0x452c95--)(_0x181bac=_0x1e84d8[_0x452c95])&&(_0x51a123=(_0x39d74b?_0x181bac(_0x178362,_0xfc4ef7,_0x51a123):_0x181bac(_0x51a123))||_0x51a123);return _0x39d74b&&_0x51a123&&mo(_0x178362,_0xfc4ef7,_0x51a123),_0x51a123;},H=(_0x4c09ba,_0x583293)=>(_0x29c6f5,_0x2dd950)=>_0x583293(_0x29c6f5,_0x2dd950,_0x4c09ba);let St=class extends _0x47772b{constructor(_0x4ab98d,_0x556218,_0x5c8e70,_0x30e66f,_0x58ed91,_0x248dcc,_0x3baad9,_0x10ca7a,_0x255acd,_0x63ce32,_0x20e0d0,_0x3ea06c,_0x3b17f5){const _0x14b903=_0x55040e;super(),g(this,'_state$',new _0x7f65fd(null)),g(this,'state$',this[_0x14b903(0x1c4)][_0x14b903(0x34d)]()),g(this,'_state'),g(this,'_collaborationPaused',!0x1),g(this,_0x14b903(0x49c),''),g(this,_0x14b903(0x4ca),0x0),g(this,'status$',this['state$'][_0x14b903(0x55b)](_0xd7e00(_0x2df96b=>_0x2df96b?_0x2df96b['status']:J[_0x14b903(0x4d3)]),_0x507dc(0x1))),g(this,_0x14b903(0x586),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x14b903(0x54d)]=_0x4ab98d,this[_0x14b903(0x59d)]=_0x556218,this[_0x14b903(0x2cf)]=_0x5c8e70,this[_0x14b903(0x1c7)]=_0x30e66f,this['_localCacheService']=_0x58ed91,this[_0x14b903(0x5b3)]=_0x248dcc,this[_0x14b903(0x376)]=_0x3baad9,this['_revisionService']=_0x10ca7a,this[_0x14b903(0x37d)]=_0x255acd,this[_0x14b903(0x1e8)]=_0x63ce32,this['_messageService']=_0x20e0d0,this[_0x14b903(0x5a7)]=_0x3ea06c,this[_0x14b903(0x39b)]=_0x3b17f5);}get['state'](){return this['_state'];}async[_0x55040e(0x5b2)](){const _0x368a21=_0x55040e;if(this['state'])throw new Error(_0x368a21(0x4ff));await this[_0x368a21(0x442)]();}[_0x55040e(0x350)](){const _0x25ed94=_0x55040e;return this[_0x25ed94(0x2ca)]=!0x0,_0xc23247(()=>{const _0x4119ab=_0x25ed94;this[_0x4119ab(0x2ca)]=!0x1,this[_0x4119ab(0x579)]();});}[_0x55040e(0x1f0)](_0x2ce64a){const _0xfbd220=_0x55040e;this[_0xfbd220(0x261)]=_0x2ce64a,this[_0xfbd220(0x1c4)]['next'](_0x2ce64a);}async[_0x55040e(0x442)](){const _0x38bc27=_0x55040e;var _0x41c5cf;this[_0x38bc27(0x1f0)](await this[_0x38bc27(0x3af)]()),this[_0x38bc27(0x39b)]&&((_0x41c5cf=this[_0x38bc27(0x39b)])==null||_0x41c5cf[_0x38bc27(0x1e7)](this[_0x38bc27(0x54d)]),this[_0x38bc27(0x33a)](this[_0x38bc27(0x39b)][_0x38bc27(0x22c)](this[_0x38bc27(0x54d)])[_0x38bc27(0x1e2)](_0x7121cb=>{const _0x33ab10=_0x38bc27;this[_0x33ab10(0x37d)][_0x33ab10(0x501)](_0x33ab10(0x414),_0x33ab10(0x3b8),_0x7121cb),_0x7121cb===Di[_0x33ab10(0x34b)]?(this['_messageService'][_0x33ab10(0x2d8)]({'content':this[_0x33ab10(0x376)]['t']('collaboration.single-unit.warning'),'type':_0x4d23e2[_0x33ab10(0x282)]}),this['_permissionService'][_0x33ab10(0x253)](new _0x21a4cb(this['unitID'])['id'],!0x1),this[_0x33ab10(0x5a7)][_0x33ab10(0x1de)](!0x1)):(this[_0x33ab10(0x5a7)][_0x33ab10(0x253)](new _0x21a4cb(this[_0x33ab10(0x54d)])['id'],!0x0),this[_0x33ab10(0x5a7)][_0x33ab10(0x1de)](!0x0));})));let _0x5c1dd1=!0x1;return this[_0x38bc27(0x33a)](this['session']['sessionStatus$'][_0x38bc27(0x1e2)](_0x295a8b=>{const _0x21a863=_0x38bc27;_0x295a8b===ve['ONLINE']?this[_0x21a863(0x2ae)](_0x5c1dd1):_0x295a8b===ve[_0x21a863(0x4d3)]&&(_0x5c1dd1=!0x0,this['_toggleOffline']());})),this[_0x38bc27(0x33a)](this[_0x38bc27(0x59d)][_0x38bc27(0x4e5)][_0x38bc27(0x1e2)](_0x564c4f=>{const _0x42e49e=_0x38bc27;try{switch(_0x564c4f[_0x42e49e(0x3ff)]){case _0x4382cf['NEW_CHANGESETS']:{this[_0x42e49e(0x286)](_0x243fd9(_0x564c4f[_0x42e49e(0x44b)]));break;}case _0x4382cf[_0x42e49e(0x35b)]:{this['_onRemoteACK'](_0x564c4f[_0x42e49e(0x44b)]);break;}case _0x4382cf[_0x42e49e(0x2b9)]:{this[_0x42e49e(0x460)]();break;}case _0x4382cf[_0x42e49e(0x247)]:{this[_0x42e49e(0x486)](_0x564c4f[_0x42e49e(0x44b)]);break;}case _0x4382cf['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x42e49e(0x42e)](_0x564c4f[_0x42e49e(0x44b)]['changesets'][_0x42e49e(0x34a)](_0x1c6819=>_0x243fd9(_0x1c6819)));break;}case _0x4382cf[_0x42e49e(0x29d)]:this[_0x42e49e(0x460)]({'isPermissionRej':!0x0});}}catch(_0x351478){throw console[_0x42e49e(0x268)](_0x42e49e(0x1f4),_0x351478),_0x351478;}})),this[_0x38bc27(0x261)];}[_0x55040e(0x2c9)](){const _0x78946c=_0x55040e;this[_0x78946c(0x586)]=!0x1;}[_0x55040e(0x33d)](){const _0x32ad91=_0x55040e;if(this[_0x32ad91(0x586)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x55040e(0x3ca)](_0xa27724){const _0x137129=_0x55040e;this[_0x137129(0x33d)](),this[_0x137129(0x1f0)](this[_0x137129(0x261)][_0x137129(0x56e)](_0xa27724)),this['_unlockTransition']();}[_0x55040e(0x286)](_0x44abc0){const _0x64e400=_0x55040e;if(!(_0x44abc0[_0x64e400(0x4a7)]<=this[_0x64e400(0x5c9)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x64e400(0x2ca)]){this[_0x64e400(0x218)][_0x64e400(0x5b6)](_0x44abc0);return;}this[_0x64e400(0x514)](_0x44abc0);}}[_0x55040e(0x579)](){const _0x2853cb=_0x55040e;this[_0x2853cb(0x218)][_0x2853cb(0x582)](_0x17fd8e=>this['_applyRemoteChangeset'](_0x17fd8e)),this[_0x2853cb(0x218)]=[];}[_0x55040e(0x514)](_0x59eb51){const _0x469440=_0x55040e,_0x4cebcb=this['_compressMutationService'][_0x469440(0x3fb)][_0x469440(0x413)](this[_0x469440(0x5b3)][_0x469440(0x3fb)][_0x469440(0x367)]()[_0x469440(0x3d2)])(_0x59eb51[_0x469440(0x271)],null)||_0x59eb51[_0x469440(0x271)],_0x368e7e={..._0x59eb51,'mutations':_0x4cebcb};this[_0x469440(0x33d)](),this['_updateState'](this[_0x469440(0x261)][_0x469440(0x4e1)](_0x368e7e)),this[_0x469440(0x2c9)]();}[_0x55040e(0x4e0)](_0x5ab255){const _0x5f1095=_0x55040e;this['_lockTransition'](),this[_0x5f1095(0x1f0)](this[_0x5f1095(0x261)][_0x5f1095(0x26f)](_0x5ab255)),this['_unlockTransition']();}[_0x55040e(0x460)](_0x3a75d0){const _0x5df4e4=_0x55040e;this[_0x5df4e4(0x33d)](),this['_updateState'](this['_state'][_0x5df4e4(0x56f)](_0x3a75d0)),this['_unlockTransition']();}['_onRemoteRetry'](_0x1eac88){const _0xb74ea1=_0x55040e;this[_0xb74ea1(0x33d)](),this[_0xb74ea1(0x1f0)](this[_0xb74ea1(0x261)][_0xb74ea1(0x510)](_0x1eac88)),this[_0xb74ea1(0x2c9)]();}[_0x55040e(0x42e)](_0x365745){const _0x1c3bca=_0x55040e;if(!(this[_0x1c3bca(0x261)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x35864f=_0x365745[_0x1c3bca(0x34a)](_0x236f9a=>{const _0x31af9a=_0x1c3bca,_0x20caae=this[_0x31af9a(0x5b3)]['interceptor'][_0x31af9a(0x413)](this[_0x31af9a(0x5b3)][_0x31af9a(0x3fb)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x236f9a[_0x31af9a(0x271)],null)||_0x236f9a[_0x31af9a(0x271)];return{..._0x236f9a,'mutations':_0x20caae};});this['_lockTransition'](),this[_0x1c3bca(0x1f0)](this[_0x1c3bca(0x261)]['onMissedChangesetFetched'](_0x35864f)),this[_0x1c3bca(0x2c9)]();}['_toggleOffline'](){const _0x46aa45=_0x55040e;this['_lockTransition'](),this[_0x46aa45(0x1f0)](this[_0x46aa45(0x261)][_0x46aa45(0x564)]()),this[_0x46aa45(0x2c9)]();}['_toggleOnline'](_0x4c4587=!0x1){const _0x3915ca=_0x55040e;this['_lockTransition'](),this[_0x3915ca(0x1f0)](this[_0x3915ca(0x261)]['toggleOnline']()),this[_0x3915ca(0x2c9)]();const _0x191e11=this['_state'];_0x4c4587&&_0x191e11 instanceof Fe&&(this[_0x3915ca(0x33d)](),this[_0x3915ca(0x1f0)](_0x191e11[_0x3915ca(0x420)]()),this['_unlockTransition']());}async[_0x55040e(0x3af)](){return new Promise(_0x4d732a=>{const _0x176da4=_0x1c89;this[_0x176da4(0x59d)]['sessionStatus$']['pipe'](_0x31309a(0x1))[_0x176da4(0x1e2)](async _0x1cbe2f=>{const _0xcd940c=_0x176da4;_0x4d732a(await this['_createInitialStateImpl'](_0x1cbe2f===ve[_0xcd940c(0x1e6)]));});});}['_createHandler'](){const _0x26e04a=_0x55040e,_0x1fa2cd=this[_0x26e04a(0x54d)];return{'onStateChange':(_0x1df05e,_0x41c648)=>{const _0x10a6f9=_0x26e04a;if(_0x1df05e!==this['_state'])throw new Error(_0x10a6f9(0x511)+_0x1df05e[_0x10a6f9(0x3bd)]+_0x10a6f9(0x5c8)+_0x41c648[_0x10a6f9(0x3bd)]+'\x0aCurrent:\x20'+this['_state'][_0x10a6f9(0x3bd)]);this['_updateState'](_0x41c648);},'onSendChangeset':_0x4c0964=>{const _0x113940=_0x26e04a;_0x4c0964[_0x113940(0x4f4)]||(_0x4c0964['sid']=this[_0x113940(0x49c)],_0x4c0964['reqId']=++this[_0x113940(0x4ca)]);const _0x4a8e94={'eventID':_0x4382cf[_0x113940(0x5a0)],'data':{'unitID':_0x4c0964[_0x113940(0x54d)],'unitType':this[_0x113940(0x2cf)],'changeset':_0x4c0964,'memberID':this[_0x113940(0x59d)][_0x113940(0x419)]()}};this[_0x113940(0x59d)][_0x113940(0x4a8)](_0x4a8e94,this['unitID']);},'onMissingChangesets':({from:_0xc278c5,to:_0x20f104})=>{const _0x575328=_0x26e04a;this[_0x575328(0x37d)][_0x575328(0x501)](_0x575328(0x414),_0x575328(0x214)+_0xc278c5+_0x575328(0x51d)+_0x20f104);const _0x4c0b9c={'eventID':_0x4382cf[_0x575328(0x498)],'data':{'unitID':_0x1fa2cd,'unitType':this[_0x575328(0x2cf)],'from':_0xc278c5,'to':_0x20f104}};this['session'][_0x575328(0x4a8)](_0x4c0b9c,this[_0x575328(0x54d)]);}};}async[_0x55040e(0x3c8)](_0x4e0e21){const _0x543dd9=_0x55040e;var _0x13eaa5,_0x30e64a;const _0x56434a=await this[_0x543dd9(0x528)]['loadOfflineData'](this[_0x543dd9(0x54d)]),_0xad299a=(_0x13eaa5=_0x56434a==null?void 0x0:_0x56434a[_0x543dd9(0x271)])!=null?_0x13eaa5:[],_0x1dd045=(_0x30e64a=_0x56434a==null?void 0x0:_0x56434a[_0x543dd9(0x443)])!=null?_0x30e64a:null,_0x4e44c2=!!(_0x1dd045!=null&&_0x1dd045['sid'])&&!!(_0x1dd045!=null&&_0x1dd045[_0x543dd9(0x4ed)]);this[_0x543dd9(0x49c)]=_0x4e44c2?_0x1dd045[_0x543dd9(0x4f4)]:Gr(),this[_0x543dd9(0x4ca)]=_0x4e44c2?_0x1dd045[_0x543dd9(0x4ed)]:0x0;const _0x5e2a43=this['unitID'];try{this[_0x543dd9(0x5bb)](_0x1dd045,_0xad299a);}catch(_0x535f59){this[_0x543dd9(0x37d)][_0x543dd9(0x268)](_0x535f59);}const _0x30a59f=this['_createHandler']();if(_0x4e0e21){const _0x4551ee=Ai(this[_0x543dd9(0x1c7)],_0x5e2a43,this[_0x543dd9(0x2cf)],_0x1dd045,_0xad299a,_0x30a59f);return _0x4551ee instanceof pe?_0x4551ee[_0x543dd9(0x497)]():(_0x4551ee instanceof ge||_0x4551ee instanceof Te)&&_0x4551ee['resend'](),_0x4551ee;}return this[_0x543dd9(0x1c7)]['createInstance'](ye,_0x5e2a43,this[_0x543dd9(0x2cf)],_0x1dd045,_0xad299a,_0x30a59f);}[_0x55040e(0x5bb)](_0x4e3452,_0x409b1d){const _0x44950b=_0x55040e;var _0x59065c,_0x4f2f56;const _0x5bdc9a=this[_0x44950b(0x5b3)][_0x44950b(0x3fb)][_0x44950b(0x413)](this[_0x44950b(0x5b3)][_0x44950b(0x3fb)]['getInterceptPoints']()[_0x44950b(0x3d2)]);(_0x59065c=_0x5bdc9a((_0x4e3452==null?void 0x0:_0x4e3452[_0x44950b(0x271)])||[],null))==null||_0x59065c[_0x44950b(0x582)](_0x225d49=>this[_0x44950b(0x1e8)][_0x44950b(0x4e4)](_0x225d49['id'],_0x225d49['params'])),(_0x4f2f56=_0x5bdc9a(_0x409b1d||[],null))==null||_0x4f2f56['forEach'](_0x29515d=>this['_commandService'][_0x44950b(0x4e4)](_0x29515d['id'],_0x29515d[_0x44950b(0x593)]));}};St=Es([H(0x3,_0xb59c13(_0x475d43)),H(0x4,_0xb59c13(q)),H(0x5,_0xb59c13(_0x20ba1c)),H(0x6,_0xb59c13(_0x5d0578)),H(0x7,_0xb59c13(_0x4db64b)),H(0x8,_0x6916a2),H(0x9,_0x2983df),H(0xa,_0x204e81),H(0xb,_0xffa540),H(0xc,_0x31105a(yt))],St);let ss=class extends St{constructor(_0x102f69,_0x4f0a8b,_0x55ee58,_0x5b8d81,_0x2eedfa,_0x25e63d,_0x8d4b25,_0x1eae1e,_0x5558e0,_0x56bf79,_0x383327,_0x362a7d,_0x5f10ad,_0x5bbd6d,_0x3536a1,_0x315860,_0x392802,_0x157e02){const _0x3c1570=_0x55040e;super(_0x102f69,_0x55ee58,_0x4f0a8b,_0x5b8d81,_0x2eedfa,_0x25e63d,_0x8d4b25,_0x1eae1e,_0x5bbd6d,_0x3536a1,_0x315860,_0x392802,_0x157e02),this[_0x3c1570(0x54d)]=_0x102f69,this[_0x3c1570(0x24f)]=_0x4f0a8b,this['_docStateChangeManagerService']=_0x5558e0,this[_0x3c1570(0x1e3)]=_0x56bf79,this[_0x3c1570(0x5d1)]=_0x383327,this[_0x3c1570(0x4c4)]=_0x362a7d,this[_0x3c1570(0x249)]=_0x5f10ad;}[_0x55040e(0x30d)](){const _0x115340=_0x55040e,_0x32d304=super[_0x115340(0x30d)]();return _0x32d304[_0x115340(0x4c7)]=_0x4ba200=>this[_0x115340(0x1e3)][_0x115340(0x558)](_0x4ba200),_0x32d304[_0x115340(0x222)]=_0x19dd1b=>this[_0x115340(0x5d1)][_0x115340(0x532)](_0x19dd1b),_0x32d304[_0x115340(0x1cb)]=_0x44ec30=>this[_0x115340(0x4c4)][_0x115340(0x466)](_0x44ec30),_0x32d304[_0x115340(0x408)]=_0x5c35ed=>this['_docSyncEditingCollabCursorService'][_0x115340(0x32e)](_0x5c35ed),_0x32d304['onTransformRemoteChangesetByIMECache']=_0xcea4e9=>this[_0x115340(0x1e3)][_0x115340(0x2b2)](_0xcea4e9),_0x32d304['onTransformRemoteChangesetByStateCache']=_0xfed7d7=>this[_0x115340(0x5d1)][_0x115340(0x2b2)](_0xfed7d7),_0x32d304;}async[_0x55040e(0x442)](){const _0x3da8cb=_0x55040e,_0x45c7a5=await super['_init']();return this[_0x3da8cb(0x393)]['docStateChange$'][_0x3da8cb(0x55b)](_0x589f39(this[_0x3da8cb(0x48c)]))[_0x3da8cb(0x1e2)](_0x565975=>{const _0x1640f2=_0x3da8cb;if(_0x565975==null)return;const {unitId:_0x44e497,redoState:_0x1a4ed,commandId:_0xa3a301}=_0x565975;if(_0x44e497!==this[_0x1640f2(0x54d)])return;const _0x2e578b={'id':_0xa3a301,'type':_0x433970[_0x1640f2(0x5b9)],'params':{'unitId':_0x44e497,'actions':_0x1a4ed[_0x1640f2(0x551)],'textRanges':null}};this[_0x1640f2(0x3ca)](_0x2e578b);}),_0x45c7a5;}};ss=Es([H(0x3,_0xb59c13(_0x475d43)),H(0x4,_0xb59c13(q)),H(0x5,_0xb59c13(_0x20ba1c)),H(0x6,_0xb59c13(_0x5d0578)),H(0x7,_0xb59c13(_0x4db64b)),H(0x8,_0xb59c13(_0x2dd912)),H(0x9,_0xb59c13(vt)),H(0xa,_0xb59c13(pt)),H(0xb,_0xb59c13(gt)),H(0xc,_0xb59c13(Cs)),H(0xd,_0x6916a2),H(0xe,_0x2983df),H(0xf,_0x204e81),H(0x10,_0xffa540),H(0x11,_0x31105a(yt))],ss);let is=class extends St{constructor(_0x1fe61b,_0xe1c552,_0x39f715,_0x4d4e78,_0x377ed6,_0x37d27b,_0x3bc766,_0x35fdec,_0x4e7ee0,_0xbc8464,_0x366479,_0x5582a4,_0x252e13,_0x35e171){const _0x1979d5=_0x55040e;super(_0x1fe61b,_0x39f715,_0xe1c552,_0x4d4e78,_0x377ed6,_0x37d27b,_0x3bc766,_0x35fdec,_0xbc8464,_0x366479,_0x5582a4,_0x252e13,_0x35e171),this[_0x1979d5(0x54d)]=_0x1fe61b,this[_0x1979d5(0x24f)]=_0xe1c552,this[_0x1979d5(0x52a)]=_0x4e7ee0;}[_0x55040e(0x30d)](){const _0x346e91=_0x55040e,_0x55e3a0=super[_0x346e91(0x30d)]();return _0x55e3a0[_0x346e91(0x1cb)]=_0xdcfd43=>this['_sheetTransformSelectionsService'][_0x346e91(0x466)](_0xdcfd43),_0x55e3a0;}async[_0x55040e(0x442)](){const _0x2bdc44=_0x55040e,_0x5bea1e=await super[_0x2bdc44(0x442)]();return this[_0x2bdc44(0x33a)](this[_0x2bdc44(0x1e8)][_0x2bdc44(0x3ee)]((_0x45f97a,_0x1cbb1e)=>{const _0x18e204=_0x2bdc44;if(_0x45f97a[_0x18e204(0x24f)]!==_0x433970[_0x18e204(0x5b9)]||_0x1cbb1e!=null&&_0x1cbb1e[_0x18e204(0x2a3)]||_0x1cbb1e!=null&&_0x1cbb1e[_0x18e204(0x1cc)])return;const _0x2709f3=_0x45f97a[_0x18e204(0x593)];if((_0x2709f3==null?void 0x0:_0x2709f3[_0x18e204(0x292)])!==this[_0x18e204(0x54d)])return;const _0x1e9429=_0x45f97a,_0x3022ab=this[_0x18e204(0x5b3)][_0x18e204(0x3fb)][_0x18e204(0x413)](this['_compressMutationService'][_0x18e204(0x3fb)][_0x18e204(0x367)]()[_0x18e204(0x26a)])([_0x1e9429],null)||[_0x1e9429];this[_0x18e204(0x3ca)](_0x3022ab[0x0]);})),_0x5bea1e;}};is=Es([H(0x3,_0xb59c13(_0x475d43)),H(0x4,_0xb59c13(q)),H(0x5,_0xb59c13(_0x20ba1c)),H(0x6,_0xb59c13(_0x5d0578)),H(0x7,_0xb59c13(_0x4db64b)),H(0x8,_0xb59c13(mt)),H(0x9,_0x6916a2),H(0xa,_0x2983df),H(0xb,_0x204e81),H(0xc,_0xffa540),H(0xd,_0x31105a(yt))],is);var go=Object['defineProperty'],So=Object[_0x55040e(0x2ad)],Io=(_0x419f93,_0x5e6829,_0x3b8530,_0x39bbe7)=>{const _0x435768=_0x55040e;for(var _0x3efaaf=_0x39bbe7>0x1?void 0x0:_0x39bbe7?So(_0x5e6829,_0x3b8530):_0x5e6829,_0x59f671=_0x419f93[_0x435768(0x41f)]-0x1,_0x120d05;_0x59f671>=0x0;_0x59f671--)(_0x120d05=_0x419f93[_0x59f671])&&(_0x3efaaf=(_0x39bbe7?_0x120d05(_0x5e6829,_0x3b8530,_0x3efaaf):_0x120d05(_0x3efaaf))||_0x3efaaf);return _0x39bbe7&&_0x3efaaf&&go(_0x5e6829,_0x3b8530,_0x3efaaf),_0x3efaaf;},Lt=(_0xd59cb9,_0x1cd544)=>(_0x2af43,_0x16e345)=>_0x1cd544(_0x2af43,_0x16e345,_0xd59cb9);let it=class extends _0x47772b{constructor(_0x7ce5b4,_0x4a4a5c,_0x284d67){const _0x4fb15f=_0x55040e;super(),g(this,'_entities',new Map()),g(this,_0x4fb15f(0x536),new _0x308ed9()),(this['_injector']=_0x7ce5b4,this[_0x4fb15f(0x3cd)]=_0x4a4a5c,this[_0x4fb15f(0x48a)]=_0x284d67,this[_0x4fb15f(0x442)]());}[_0x55040e(0x449)](){const _0x2d7ca3=_0x55040e;super[_0x2d7ca3(0x449)](),this[_0x2d7ca3(0x317)][_0x2d7ca3(0x582)](_0x793fe6=>_0x793fe6[_0x2d7ca3(0x449)]()),this[_0x2d7ca3(0x317)]['clear']();}['getCollabEntity'](_0x24912e){const _0x3ab37b=_0x55040e;var _0x5222ff;return(_0x5222ff=this[_0x3ab37b(0x317)]['get'](_0x24912e))!=null?_0x5222ff:null;}[_0x55040e(0x1d2)](_0x4b833b){const _0x5e2d29=_0x55040e,_0x2129dc=this[_0x5e2d29(0x396)](_0x4b833b);return _0x2129dc?_0x1c2089(_0x2129dc):this['_entityInit$'][_0x5e2d29(0x55b)](_0x1fa847(_0x108dbb=>_0x108dbb[_0x5e2d29(0x54d)]===_0x4b833b));}[_0x55040e(0x442)](){const _0x1a8f21=_0x55040e;this[_0x1a8f21(0x48a)][_0x1a8f21(0x3ba)](_0x24e86f[_0x1a8f21(0x2b1)])['pipe'](_0x589f39(this[_0x1a8f21(0x48c)]),_0x258030(0x10))[_0x1a8f21(0x1e2)](async _0x5dce4c=>{const _0x429000=_0x1a8f21,_0x20fb3f=_0x5dce4c['getUnitId'](),_0x194c1f=await this['_startCollaboration'](_0x20fb3f,ce[_0x429000(0x2b1)]);this[_0x429000(0x317)][_0x429000(0x333)](_0x20fb3f,_0x194c1f);}),this[_0x1a8f21(0x48a)][_0x1a8f21(0x3ba)](_0x24e86f[_0x1a8f21(0x337)])['pipe'](_0x589f39(this['dispose$']),_0x258030(0x10))[_0x1a8f21(0x55b)](_0x1fa847(_0x5a13da=>!_0x5a13da[_0x1a8f21(0x4f5)]()[_0x1a8f21(0x5c2)]('__')))[_0x1a8f21(0x1e2)](async _0x184532=>{const _0x218e4b=_0x1a8f21,_0x5d6eed=_0x184532[_0x218e4b(0x4f5)](),_0x32b11e=await this[_0x218e4b(0x27a)](_0x5d6eed,ce[_0x218e4b(0x337)]);this[_0x218e4b(0x317)]['set'](_0x5d6eed,_0x32b11e);}),_0x3dbb21(this[_0x1a8f21(0x48a)][_0x1a8f21(0x41b)](_0x24e86f[_0x1a8f21(0x2b1)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x24e86f[_0x1a8f21(0x337)]))['pipe'](_0x589f39(this[_0x1a8f21(0x48c)]))['subscribe'](_0x335c98=>{const _0x366219=_0x1a8f21,_0x101408=_0x335c98[_0x366219(0x4f5)](),_0x2bb56a=this[_0x366219(0x317)]['get'](_0x101408);_0x2bb56a&&(_0x2bb56a[_0x366219(0x449)](),this[_0x366219(0x317)][_0x366219(0x4b5)](_0x101408));});}async['_startCollaboration'](_0x1c04dd,_0x47ab6d){const _0x451cbf=_0x55040e,_0x1a99be=await this[_0x451cbf(0x3cd)][_0x451cbf(0x21e)](_0x1c04dd),_0x3f4958=this[_0x451cbf(0x1c7)][_0x451cbf(0x21f)](this[_0x451cbf(0x2ce)](_0x47ab6d),_0x1c04dd,_0x47ab6d,_0x1a99be);return await _0x3f4958[_0x451cbf(0x5b2)](),this[_0x451cbf(0x536)][_0x451cbf(0x1ea)](_0x3f4958),_0x3f4958;}[_0x55040e(0x2ce)](_0x556da7){const _0x862ef2=_0x55040e;switch(_0x556da7){case ce[_0x862ef2(0x337)]:return ss;case ce[_0x862ef2(0x2b1)]:return is;default:throw new Error(_0x862ef2(0x33e)+_0x556da7);}}};it=Io([Lt(0x0,_0xb59c13(_0x475d43)),Lt(0x1,_0xb59c13(Ae)),Lt(0x2,_0x10abd5)],it);const Gs=[_0x55040e(0x46a),_0x55040e(0x3aa),_0x55040e(0x388),_0x55040e(0x3e8),_0x55040e(0x505),_0x55040e(0x51e)];class bs extends _0x32aa41{constructor(){const _0x566a70=_0x55040e;super(...arguments),g(this,_0x566a70(0x29b),new Map()),g(this,_0x566a70(0x31c),0x0);}['assignAColorForMemberID'](_0x3e7661){const _0x52ddc1=_0x55040e;if(this['_assignedColors'][_0x52ddc1(0x269)](_0x3e7661))return this[_0x52ddc1(0x29b)]['get'](_0x3e7661);const _0x1717e2=Gs[this[_0x52ddc1(0x31c)]];return this[_0x52ddc1(0x31c)]=(this[_0x52ddc1(0x31c)]+0x1)%Gs[_0x52ddc1(0x41f)],this[_0x52ddc1(0x29b)]['set'](_0x3e7661,_0x1717e2),_0x1717e2;}}var Co=Object[_0x55040e(0x4df)],Eo=Object[_0x55040e(0x2ad)],bo=(_0x525b3e,_0x3e2c8e,_0x223499,_0x5ea15b)=>{const _0x4394ab=_0x55040e;for(var _0x3286e1=_0x5ea15b>0x1?void 0x0:_0x5ea15b?Eo(_0x3e2c8e,_0x223499):_0x3e2c8e,_0x551939=_0x525b3e[_0x4394ab(0x41f)]-0x1,_0x2bd10e;_0x551939>=0x0;_0x551939--)(_0x2bd10e=_0x525b3e[_0x551939])&&(_0x3286e1=(_0x5ea15b?_0x2bd10e(_0x3e2c8e,_0x223499,_0x3286e1):_0x2bd10e(_0x3286e1))||_0x3286e1);return _0x5ea15b&&_0x3286e1&&Co(_0x3e2c8e,_0x223499,_0x3286e1),_0x3286e1;},Oe=(_0x4b47bf,_0x2db55c)=>(_0x46bd2e,_0x4db376)=>_0x2db55c(_0x46bd2e,_0x4db376,_0x4b47bf);const To=0x12c,Ro=0x64;let ns=class extends _0x47772b{constructor(_0x133699,_0xa6f73d,_0x1ee436,_0x1f3293,_0x4d5f4e,_0x20a237,_0x3b558b,_0xfb75,_0xfea37){const _0x18c574=_0x55040e;super(),g(this,_0x18c574(0x431),!0x1),g(this,'_init',!0x1),g(this,_0x18c574(0x2ed),new _0x7f65fd(new Map())),g(this,_0x18c574(0x2b3),this['_cursorInfo$'][_0x18c574(0x34d)]()),g(this,_0x18c574(0x327),new _0x7f65fd([])),g(this,_0x18c574(0x267),this[_0x18c574(0x327)][_0x18c574(0x55b)](_0x1a585e(To))),g(this,_0x18c574(0x5c1),_0xc081a9(_0x521568=>{const _0x5a35d1=_0x18c574,_0x4be976={'eventID':_0x4382cf[_0x5a35d1(0x480)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':Pi(_0x521568)}};this[_0x5a35d1(0x1ce)][_0x5a35d1(0x4a8)](_0x4be976,this[_0x5a35d1(0x54d)]);},Ro)),(this['unitID']=_0x133699,this['_session']=_0xa6f73d,this['_injector']=_0x1ee436,this['_colorAssignService']=_0x1f3293,this[_0x18c574(0x356)]=_0x4d5f4e,this[_0x18c574(0x25b)]=_0x20a237,this[_0x18c574(0x384)]=_0x3b558b,this[_0x18c574(0x48a)]=_0xfb75,this[_0x18c574(0x1e8)]=_0xfea37);}get['cursorInfo'](){const _0x23a0d9=_0x55040e;return this[_0x23a0d9(0x2ed)][_0x23a0d9(0x1e5)]();}get[_0x55040e(0x38b)](){const _0x300fd3=_0x55040e;return this[_0x300fd3(0x327)]['getValue']();}[_0x55040e(0x449)](){const _0x5663e5=_0x55040e;super[_0x5663e5(0x449)](),this[_0x5663e5(0x2ed)]['next'](new Map()),this[_0x5663e5(0x2ed)]['complete'](),this[_0x5663e5(0x327)][_0x5663e5(0x1ea)]([]),this['_roomMembers$'][_0x5663e5(0x512)]();}[_0x55040e(0x5b2)](){const _0x50d8c0=_0x55040e;this[_0x50d8c0(0x442)]||(this[_0x50d8c0(0x442)]=!0x0,this[_0x50d8c0(0x1ce)][_0x50d8c0(0x3ed)]['pipe'](_0x589f39(this['dispose$']))[_0x50d8c0(0x1e2)](_0xc06ff3=>{const _0x13c6fd=_0x50d8c0;_0xc06ff3===ve['ONLINE']?this[_0x13c6fd(0x2ae)]():this[_0x13c6fd(0x2d5)]();}),this['_session']['event$'][_0x50d8c0(0x55b)](_0x589f39(this[_0x50d8c0(0x48c)]))[_0x50d8c0(0x1e2)](_0x34c5b0=>{const _0x43824=_0x50d8c0,_0x3c0767=_0x34c5b0['eventID'];_0x3c0767===_0x4382cf[_0x43824(0x480)]&&this['_onCursorUpdate'](_0x34c5b0),_0x3c0767===_0x4382cf[_0x43824(0x278)]&&this['_onCursorDelete'](_0x34c5b0);}),this[_0x50d8c0(0x33a)](this[_0x50d8c0(0x1e8)][_0x50d8c0(0x3ee)](_0x475465=>{const _0x2760cd=_0x50d8c0,_0x379e02=_0x475465[_0x2760cd(0x593)];_0x379e02!=null&&this[_0x2760cd(0x431)]&&_0x475465['id']===_0x444124['id']&&_0x379e02['unitId']===this[_0x2760cd(0x54d)]&&_0x379e02[_0x2760cd(0x3cf)]===!0x1&&_0x379e02[_0x2760cd(0x4d2)][_0x2760cd(0x41f)]>0x0&&this[_0x2760cd(0x5c1)](_0x379e02[_0x2760cd(0x4d2)]);})),this[_0x50d8c0(0x25b)][_0x50d8c0(0x296)][_0x50d8c0(0x55b)](_0x589f39(this[_0x50d8c0(0x48c)]))[_0x50d8c0(0x1e2)](_0x1dd62f=>{const _0x15ba0f=_0x50d8c0;if((_0x1dd62f==null?void 0x0:_0x1dd62f[_0x15ba0f(0x54d)])!==this[_0x15ba0f(0x54d)])return;const _0x30da7e={'eventID':_0x4382cf[_0x15ba0f(0x480)],'data':_0x1dd62f};this['_onCursorUpdate'](_0x30da7e);}),this['disposeWithMe'](this[_0x50d8c0(0x1e8)][_0x50d8c0(0x3ee)](_0x32bf83=>{const _0xfe59a1=_0x50d8c0;if(_0x32bf83['params']==null)return;const _0x3c3b01=_0x32bf83[_0xfe59a1(0x593)];if(_0x32bf83['id']!==_0x3f8477['id']||_0x3c3b01[_0xfe59a1(0x292)]!==this[_0xfe59a1(0x54d)])return;const _0x515ff5={'id':_0xfe59a1(0x265),'params':_0x3c3b01},_0x4d73b2=this[_0xfe59a1(0x2bf)];for(const [_0x196774,_0x247ac2]of _0x4d73b2){const _0x412f9b={'id':_0xfe59a1(0x265),'params':{'unitId':this[_0xfe59a1(0x54d)],'actions':null,'textRanges':_0x247ac2[_0xfe59a1(0x4d2)]}},_0x17d9aa=this[_0xfe59a1(0x384)][_0xfe59a1(0x56c)](_0x515ff5,_0x412f9b,!0x1);if(_0x55b38f(_0x17d9aa))throw _0x17d9aa[_0xfe59a1(0x268)];_0x4d73b2[_0xfe59a1(0x333)](_0x196774,{..._0x247ac2,'ranges':_0x17d9aa['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4d73b2);});})));}[_0x55040e(0x537)](_0x33d0c6){const _0x26e18d=_0x55040e;var _0x59b8f6,_0x3dd1c8;const {memberID:_0x33d4fc,selection:_0x4b53bd}=_0x33d0c6[_0x26e18d(0x44b)],_0x231b4d=oo(_0x4b53bd),_0x305373=(_0x3dd1c8=(_0x59b8f6=this[_0x26e18d(0x356)]['getMember'](this[_0x26e18d(0x54d)],_0x33d4fc))==null?void 0x0:_0x59b8f6[_0x26e18d(0x363)])!=null?_0x3dd1c8:'Unknown\x20user',_0x81bef2={'color':this[_0x26e18d(0x591)][_0x26e18d(0x515)](_0x33d4fc),'name':_0x305373,'ranges':_0x231b4d},_0x5a15fa=this[_0x26e18d(0x2bf)];_0x5a15fa[_0x26e18d(0x333)](_0x33d4fc,_0x81bef2),this[_0x26e18d(0x2ed)]['next'](_0x5a15fa);}['_onCursorDelete'](_0x3cb03e){const _0x3b7f0=_0x55040e,{memberID:_0x2b87dc}=_0x3cb03e[_0x3b7f0(0x44b)],_0x4f48a4=this[_0x3b7f0(0x2bf)];_0x4f48a4[_0x3b7f0(0x4b5)](_0x2b87dc),this[_0x3b7f0(0x2ed)][_0x3b7f0(0x1ea)](_0x4f48a4);}[_0x55040e(0x2ae)](){const _0x4de748=_0x55040e;var _0x4cb6c8;if(this['_online']=!0x0,((_0x4cb6c8=this[_0x4de748(0x48a)][_0x4de748(0x371)]())==null?void 0x0:_0x4cb6c8['getUnitId']())!==this[_0x4de748(0x54d)])return;const _0x336e8d=this[_0x4de748(0x1c7)][_0x4de748(0x25c)](_0x1e62ad)[_0x4de748(0x312)]();Array[_0x4de748(0x3a4)](_0x336e8d)&&_0x336e8d['length']>0x0&&this[_0x4de748(0x5c1)](_0x336e8d);}['_toggleOffline'](){this['_online']=!0x1;}};ns=bo([Oe(0x2,_0xb59c13(_0x475d43)),Oe(0x3,_0xb59c13(bs)),Oe(0x4,_0xb59c13(Ne)),Oe(0x5,_0xb59c13(Cs)),Oe(0x6,_0x3c8669),Oe(0x7,_0x10abd5),Oe(0x8,_0x2983df)],ns);var yo=Object[_0x55040e(0x4df)],Oo=Object[_0x55040e(0x2ad)],wo=(_0x332fbc,_0x4d1a04,_0x3ee5ea,_0x16f145)=>{const _0x1c2253=_0x55040e;for(var _0x26a986=_0x16f145>0x1?void 0x0:_0x16f145?Oo(_0x4d1a04,_0x3ee5ea):_0x4d1a04,_0x408393=_0x332fbc[_0x1c2253(0x41f)]-0x1,_0x247aa3;_0x408393>=0x0;_0x408393--)(_0x247aa3=_0x332fbc[_0x408393])&&(_0x26a986=(_0x16f145?_0x247aa3(_0x4d1a04,_0x3ee5ea,_0x26a986):_0x247aa3(_0x26a986))||_0x26a986);return _0x16f145&&_0x26a986&&yo(_0x4d1a04,_0x3ee5ea,_0x26a986),_0x26a986;},Be=(_0x10f20a,_0x53258a)=>(_0x607562,_0x9ec959)=>_0x53258a(_0x607562,_0x9ec959,_0x10f20a);const Do=0x12c,Po=0x64,Uo=()=>{let _0x3c7512=[],_0x4fe7fd=!0x1;return _0x3348c2=>{const _0x69ffdd=_0x1c89;_0x3c7512[_0x69ffdd(0x5b6)](_0x3348c2),_0x4fe7fd||(_0x4fe7fd=!0x0,setTimeout(()=>{_0x3c7512['forEach'](_0xfc9291=>_0xfc9291()),_0x3c7512=[],_0x4fe7fd=!0x1;}));};};let rs=class extends _0x47772b{constructor(_0x5f396e,_0x20b3eb,_0x7aa0e9,_0x30f80f,_0x12a2f1,_0x38fd9a,_0x1e3bf8,_0x29a7bf){const _0x2063d0=_0x55040e;super(),g(this,_0x2063d0(0x431),!0x1),g(this,_0x2063d0(0x442),!0x1),g(this,_0x2063d0(0x2ed),new _0x7f65fd(new Map())),g(this,_0x2063d0(0x2b3),this[_0x2063d0(0x2ed)][_0x2063d0(0x34d)]()),g(this,_0x2063d0(0x327),new _0x7f65fd([])),g(this,_0x2063d0(0x267),this['_roomMembers$']['pipe'](_0x1a585e(Do))),g(this,_0x2063d0(0x5c1),_0xc081a9((_0x430f2d,_0x427ff7)=>{const _0x231e2e=_0x2063d0,_0x5900f1={'eventID':_0x4382cf[_0x231e2e(0x480)],'data':{'unitID':this[_0x231e2e(0x54d)],'memberID':this[_0x231e2e(0x1ce)][_0x231e2e(0x419)](),'selection':_0x10030c(_0x430f2d,_0x427ff7[_0x231e2e(0x583)])}};this[_0x231e2e(0x1ce)]['send'](_0x5900f1,this[_0x231e2e(0x54d)]);},Po)),(this[_0x2063d0(0x54d)]=_0x5f396e,this[_0x2063d0(0x1ce)]=_0x20b3eb,this['_injector']=_0x7aa0e9,this[_0x2063d0(0x591)]=_0x30f80f,this['_memberService']=_0x12a2f1,this['_univerInstanceService']=_0x38fd9a,this[_0x2063d0(0x1e8)]=_0x1e3bf8,this[_0x2063d0(0x2a9)]=_0x29a7bf);}get[_0x55040e(0x2bf)](){const _0x2bf992=_0x55040e;return this[_0x2bf992(0x2ed)][_0x2bf992(0x1e5)]();}get[_0x55040e(0x38b)](){const _0x35f1ba=_0x55040e;return this[_0x35f1ba(0x327)][_0x35f1ba(0x1e5)]();}['dispose'](){const _0x2b29d9=_0x55040e;super['dispose'](),this[_0x2b29d9(0x2ed)][_0x2b29d9(0x1ea)](new Map()),this[_0x2b29d9(0x2ed)]['complete'](),this[_0x2b29d9(0x327)][_0x2b29d9(0x1ea)]([]),this[_0x2b29d9(0x327)][_0x2b29d9(0x512)]();}['init'](){const _0x397162=_0x55040e;this['_init']||(this['_init']=!0x0,this[_0x397162(0x1ce)]['sessionStatus$']['pipe'](_0x589f39(this['dispose$']))[_0x397162(0x1e2)](_0xdacabd=>{const _0x59c187=_0x397162;_0xdacabd===ve['ONLINE']?this['_toggleOnline']():this[_0x59c187(0x2d5)]();}),this[_0x397162(0x1ce)][_0x397162(0x4e5)]['pipe'](_0x589f39(this[_0x397162(0x48c)]))[_0x397162(0x1e2)](_0x163d6a=>{const _0x2d3a74=_0x397162,_0x2afd24=_0x163d6a[_0x2d3a74(0x3ff)];_0x2afd24===_0x4382cf['UPDATE_CURSOR']&&this[_0x2d3a74(0x537)](_0x163d6a),_0x2afd24===_0x4382cf['USERS_LEAVE']&&this[_0x2d3a74(0x1dc)](_0x163d6a);}),this['_onRefRangeChange'](),this[_0x397162(0x33a)](this[_0x397162(0x1e8)][_0x397162(0x3ee)](_0x2399b6=>{const _0x483ef6=_0x397162;if(this[_0x483ef6(0x431)]&&_0x2399b6['id']===_0x2b5e50['id']&&_0x2399b6['params'][_0x483ef6(0x292)]===this['unitID']){const _0x2285a0=_0x2399b6[_0x483ef6(0x593)];this[_0x483ef6(0x5c1)](_0x2285a0[_0x483ef6(0x1c6)],_0x2285a0[_0x483ef6(0x2f0)][0x0]);}})));}[_0x55040e(0x537)](_0x5f5130){const _0x5307ab=_0x55040e;var _0x2a6790,_0x33d9bb;const {memberID:_0x300790,selection:_0x596423}=_0x5f5130[_0x5307ab(0x44b)],{sheetName:_0x3f3558,range:_0x3fd1c5}=_0x4682a4(_0x596423),_0x4675ed={'name':(_0x33d9bb=(_0x2a6790=this[_0x5307ab(0x356)][_0x5307ab(0x1fc)](this[_0x5307ab(0x54d)],_0x300790))==null?void 0x0:_0x2a6790[_0x5307ab(0x363)])!=null?_0x33d9bb:'Unknown\x20user','range':this[_0x5307ab(0x260)](_0x3f3558,_0x3fd1c5),'sheetID':_0x3f3558,'color':this[_0x5307ab(0x591)][_0x5307ab(0x515)](_0x300790),'selection':_0x596423},_0x4b5dfa=this[_0x5307ab(0x2bf)];_0x4b5dfa['set'](_0x300790,_0x4675ed),this['_cursorInfo$'][_0x5307ab(0x1ea)](_0x4b5dfa);}[_0x55040e(0x1dc)](_0x2fdc5a){const _0x2341a6=_0x55040e,{memberID:_0x4d42d5}=_0x2fdc5a[_0x2341a6(0x44b)],_0x3ae0b6=this[_0x2341a6(0x2bf)];_0x3ae0b6[_0x2341a6(0x4b5)](_0x4d42d5),this['_cursorInfo$'][_0x2341a6(0x1ea)](_0x3ae0b6);}[_0x55040e(0x260)](_0x31920c,_0x407ddf){const _0x2cefe8=_0x55040e;var _0x3776ff,_0x25397f;const _0x3ff294=(_0x25397f=(_0x3776ff=this['_univerInstanceService'][_0x2cefe8(0x490)](this['unitID']))==null?void 0x0:_0x3776ff[_0x2cefe8(0x314)](_0x31920c))==null?void 0x0:_0x25397f[_0x2cefe8(0x5cf)]();return(_0x3ff294==null?void 0x0:_0x3ff294['find'](_0x43369f=>_0x4cd56a[_0x2cefe8(0x53d)](_0x43369f,_0x407ddf)))||_0x407ddf;}[_0x55040e(0x47b)](){const _0x114464=_0x55040e,_0x51650c=new _0x5835a2(),_0x4f9936=Uo(),_0x192463=()=>{const _0x379fb2=_0x1c89;_0x51650c[_0x379fb2(0x449)]();const _0x2a4f95=(_0x4cc997,_0x1ea359,_0x178153,_0x16440d)=>{const _0x34f223=_0x379fb2;let _0x1e8299=[];switch(_0x4cc997['id']){case _0x1ed202['DeleteRangeMoveLeftCommandId']:{_0x1e8299=_0x577b13(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x53c)]:{_0x1e8299=_0x5ba6ba(_0x4cc997,_0x16440d);break;}case _0x1ed202['InsertColCommandId']:{_0x1e8299=_0x5e87db(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x57d)]:{_0x1e8299=_0x111aeb(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x415)]:{_0x1e8299=_0x3ab6ab(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x224)]:{_0x1e8299=_0x5e6ad4(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x21a)]:{_0x1e8299=_0xe9e4b9(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x56a)]:{_0x1e8299=_0x473fa6(_0x4cc997,_0x16440d);break;}case _0x1ed202[_0x34f223(0x28a)]:{_0x1e8299=_0x3c5577(_0x4cc997,_0x16440d);break;}}const _0x1adab4=_0x377e68(_0x1e8299,_0x16440d),_0x2e6ad0=this[_0x34f223(0x2bf)][_0x34f223(0x25c)](_0x1ea359);if(_0x2e6ad0&&_0x1adab4){const _0x314a40={..._0x2e6ad0,'range':_0x1adab4};this[_0x34f223(0x2bf)]['set'](_0x1ea359,_0x314a40),_0x4f9936(()=>{const _0x13f433=_0x34f223,_0x4c1a17=this['_refRangeService'][_0x13f433(0x238)](_0x1adab4,_0x54a257=>(_0x4c1a17['dispose'](),_0x2a4f95(_0x54a257,_0x1ea359,_0x178153,_0x1adab4)));_0x51650c[_0x13f433(0x47d)](_0x4c1a17);});}return{'redos':[],'undos':[]};};this[_0x379fb2(0x2bf)]['forEach']((_0x237372,_0x417881)=>{const _0x43a3fc=_0x379fb2,{range:_0x3f8fad,sheetID:_0x186c03}=_0x237372,_0x4c4158=this[_0x43a3fc(0x2a9)]['registerRefRange'](_0x3f8fad,_0x322c44=>(_0x4c4158[_0x43a3fc(0x449)](),_0x2a4f95(_0x322c44,_0x417881,_0x186c03,_0x3f8fad)));_0x51650c[_0x43a3fc(0x47d)](_0x4c4158);});};this['disposeWithMe'](_0xc23247(this[_0x114464(0x2ed)][_0x114464(0x1e2)](()=>{_0x192463();})));}[_0x55040e(0x2ae)](){const _0x28044a=_0x55040e;var _0x15a67d,_0x54b5da;if(this[_0x28044a(0x431)]=!0x0,((_0x15a67d=this['_univerInstanceService'][_0x28044a(0x371)]())==null?void 0x0:_0x15a67d[_0x28044a(0x4f5)]())!==this[_0x28044a(0x54d)])return;const _0x3af66a=(_0x54b5da=this[_0x28044a(0x1c7)][_0x28044a(0x25c)](_0x43394b)[_0x28044a(0x2f6)]())==null?void 0x0:_0x54b5da[0x0],_0x275247=this[_0x28044a(0x48a)][_0x28044a(0x524)](_0x24e86f[_0x28044a(0x2b1)])[_0x28044a(0x3e7)]();_0x3af66a&&_0x275247&&this['_updateLocalCursor'](_0x275247[_0x28044a(0x513)](),_0x3af66a);}['_toggleOffline'](){this['_online']=!0x1;}};rs=wo([Be(0x2,_0xb59c13(_0x475d43)),Be(0x3,_0xb59c13(bs)),Be(0x4,_0xb59c13(Ne)),Be(0x5,_0x10abd5),Be(0x6,_0x2983df),Be(0x7,_0xb59c13(_0xaeff9d))],rs);var No=Object[_0x55040e(0x4df)],Ao=Object[_0x55040e(0x2ad)],Mo=(_0x54a439,_0x59cb79,_0x3addcb,_0x3f116d)=>{const _0x175895=_0x55040e;for(var _0x1b1e6d=_0x3f116d>0x1?void 0x0:_0x3f116d?Ao(_0x59cb79,_0x3addcb):_0x59cb79,_0x36fa88=_0x54a439[_0x175895(0x41f)]-0x1,_0x2b6089;_0x36fa88>=0x0;_0x36fa88--)(_0x2b6089=_0x54a439[_0x36fa88])&&(_0x1b1e6d=(_0x3f116d?_0x2b6089(_0x59cb79,_0x3addcb,_0x1b1e6d):_0x2b6089(_0x1b1e6d))||_0x1b1e6d);return _0x3f116d&&_0x1b1e6d&&No(_0x59cb79,_0x3addcb,_0x1b1e6d),_0x1b1e6d;},$t=(_0x3282c8,_0xe59b96)=>(_0x2c2d13,_0x552230)=>_0xe59b96(_0x2c2d13,_0x552230,_0x3282c8);let Ve=class extends _0x47772b{constructor(_0x24e80a,_0x15135e,_0x283f76){const _0x4c1b31=_0x55040e;super(),g(this,_0x4c1b31(0x317),new Map()),g(this,_0x4c1b31(0x536),new _0x308ed9()),(this['_univerInstanceService']=_0x24e80a,this[_0x4c1b31(0x1c7)]=_0x15135e,this[_0x4c1b31(0x3cd)]=_0x283f76,this[_0x4c1b31(0x442)]());}[_0x55040e(0x449)](){const _0x264078=_0x55040e;super[_0x264078(0x449)](),this[_0x264078(0x536)][_0x264078(0x512)](),this[_0x264078(0x317)][_0x264078(0x582)](_0x215222=>_0x215222['dispose']());}[_0x55040e(0x4d1)](_0x964b44){const _0x4790ac=_0x55040e;return this[_0x4790ac(0x317)][_0x4790ac(0x269)](_0x964b44)?this[_0x4790ac(0x317)]['get'](_0x964b44)[_0x4790ac(0x2b3)]:this['_entityInit$'][_0x4790ac(0x55b)](_0x2d2fe3(_0x5d2bd6=>_0x5d2bd6[_0x4790ac(0x54d)]===_0x964b44),_0x15ee08(_0x283d58=>_0x283d58[_0x4790ac(0x2b3)]));}[_0x55040e(0x442)](){const _0x365aac=_0x55040e;this[_0x365aac(0x48a)][_0x365aac(0x3ba)](_0x24e86f[_0x365aac(0x2b1)])[_0x365aac(0x55b)](_0x589f39(this[_0x365aac(0x48c)]))['subscribe'](async _0x327965=>{const _0x15ca03=_0x365aac,_0x14578c=_0x327965[_0x15ca03(0x4f5)](),_0x55c9c6=await this[_0x15ca03(0x2aa)](_0x14578c);this[_0x15ca03(0x536)][_0x15ca03(0x1ea)](_0x55c9c6),this['_entities'][_0x15ca03(0x333)](_0x14578c,_0x55c9c6);}),this['_univerInstanceService'][_0x365aac(0x3ba)](_0x24e86f[_0x365aac(0x337)])['pipe'](_0x589f39(this[_0x365aac(0x48c)]))[_0x365aac(0x55b)](_0x2d2fe3(_0x43863f=>!_0x43863f[_0x365aac(0x4f5)]()[_0x365aac(0x5c2)]('__')))[_0x365aac(0x1e2)](async _0x5eeb52=>{const _0x5ca0fb=_0x365aac,_0xcfac04=_0x5eeb52['getUnitId'](),_0x1e8ecc=await this[_0x5ca0fb(0x1ca)](_0xcfac04);this[_0x5ca0fb(0x536)]['next'](_0x1e8ecc),this[_0x5ca0fb(0x317)][_0x5ca0fb(0x333)](_0xcfac04,_0x1e8ecc);}),_0x3dbb21(this[_0x365aac(0x48a)][_0x365aac(0x41b)](_0x24e86f[_0x365aac(0x337)]),this['_univerInstanceService'][_0x365aac(0x41b)](_0x24e86f['UNIVER_SHEET']))[_0x365aac(0x55b)](_0x589f39(this[_0x365aac(0x48c)]))[_0x365aac(0x1e2)](_0x5956b6=>{const _0x17b210=_0x365aac,_0x41a2e1=_0x5956b6['getUnitId'](),_0x2be3bb=this['_entities'][_0x17b210(0x25c)](_0x41a2e1);_0x2be3bb&&(_0x2be3bb[_0x17b210(0x449)](),this['_entities'][_0x17b210(0x4b5)](_0x41a2e1));});}async['_startSheetCollabCursor'](_0x1afedf){const _0x2d5629=_0x55040e,_0x1e40c6=await this[_0x2d5629(0x3cd)][_0x2d5629(0x21e)](_0x1afedf),_0x4d45c8=this[_0x2d5629(0x1c7)][_0x2d5629(0x21f)](rs,_0x1afedf,_0x1e40c6);return _0x4d45c8[_0x2d5629(0x5b2)](),_0x4d45c8;}async[_0x55040e(0x1ca)](_0xe0203f){const _0x122f89=_0x55040e,_0x425af0=await this[_0x122f89(0x3cd)]['requireSession'](_0xe0203f),_0x260928=this[_0x122f89(0x1c7)][_0x122f89(0x21f)](ns,_0xe0203f,_0x425af0);return _0x260928[_0x122f89(0x5b2)](),_0x260928;}};Ve=Mo([$t(0x0,_0x10abd5),$t(0x1,_0xb59c13(_0x475d43)),$t(0x2,_0xb59c13(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x457b74,_0x5b3fa9){const _0x5ccd59=_0x55040e;let {radius:_0xa9ef79,width:_0x539cef,height:_0x2b31f7}=_0x5b3fa9;_0xa9ef79=_0xa9ef79!=null?_0xa9ef79:0x0,_0x539cef=_0x539cef!=null?_0x539cef:0x1e,_0x2b31f7=_0x2b31f7!=null?_0x2b31f7:0x1e;let _0x37e9dd=0x0,_0x59a01b=0x0,_0x265cbf=0x0;_0x37e9dd=_0x59a01b=_0x265cbf=Math[_0x5ccd59(0x4a3)](_0xa9ef79,_0x539cef/0x2,_0x2b31f7/0x2),_0x457b74[_0x5ccd59(0x2d9)](),_0x457b74[_0x5ccd59(0x27b)](_0x37e9dd,0x0),_0x457b74[_0x5ccd59(0x40e)](_0x539cef-_0x59a01b,0x0),_0x457b74[_0x5ccd59(0x25e)](_0x539cef-_0x59a01b,_0x59a01b,_0x59a01b,Math['PI']*0x3/0x2,0x0,!0x1),_0x457b74[_0x5ccd59(0x40e)](_0x539cef,_0x2b31f7-_0x265cbf),_0x457b74['arc'](_0x539cef-_0x265cbf,_0x2b31f7-_0x265cbf,_0x265cbf,0x0,Math['PI']/0x2,!0x1),_0x457b74['lineTo'](0x0,_0x2b31f7),_0x457b74[_0x5ccd59(0x40e)](0x0,_0x37e9dd),_0x457b74[_0x5ccd59(0x25e)](_0x37e9dd,_0x37e9dd,_0x37e9dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x457b74['closePath'](),_0x5b3fa9[_0x5ccd59(0x4ab)]&&(_0x457b74[_0x5ccd59(0x4be)](),_0x457b74[_0x5ccd59(0x461)]=_0x5b3fa9['fill'],_0x5b3fa9[_0x5ccd59(0x4d0)]===_0x5ccd59(0x545)?_0x457b74['fill'](_0x5ccd59(0x545)):_0x457b74['fill'](),_0x457b74['restore']());}class Ot extends _0x53eadf{constructor(_0x504ca5,_0x11fe84){const _0x5eea83=_0x55040e;super(_0x504ca5,_0x11fe84),g(this,_0x5eea83(0x464)),g(this,_0x5eea83(0x395)),(this[_0x5eea83(0x464)]=_0x11fe84==null?void 0x0:_0x11fe84[_0x5eea83(0x464)],this[_0x5eea83(0x395)]=_0x11fe84==null?void 0x0:_0x11fe84[_0x5eea83(0x395)]);}static['drawWith'](_0x3d19f3,_0x2dd0c6){const _0x24d1ff=_0x55040e,{text:_0x25c73e,color:_0x2d7701}=_0x2dd0c6;_0x3d19f3[_0x24d1ff(0x4be)](),_0x3d19f3['font']=_0x24d1ff(0x455);const _0x29a9c7=_0x3d19f3[_0x24d1ff(0x220)](_0x25c73e)['width'],_0x358ee0=Math[_0x24d1ff(0x4a3)](_0x29a9c7+0x2*Ht,Ys);Lo(_0x3d19f3,{'height':nt,'radius':0x4,'width':_0x358ee0,'fill':_0x2d7701,'evented':!0x1}),_0x3d19f3['fillStyle']='#FFF';const _0x115187=Ht,_0x20c9b4=nt-xo,_0x103061=Ys-0x2*Ht;if(_0x29a9c7>_0x103061){let _0x10df89='',_0x5956af=0x0;for(const _0x55c15 of _0x25c73e){const _0x6e1778=_0x3d19f3[_0x24d1ff(0x220)](_0x55c15)[_0x24d1ff(0x416)];if(_0x5956af+_0x6e1778<=_0x103061-_0x3d19f3[_0x24d1ff(0x220)](_0x24d1ff(0x325))['width'])_0x10df89+=_0x55c15,_0x5956af+=_0x6e1778;else{_0x10df89+=_0x24d1ff(0x325);break;}}_0x3d19f3[_0x24d1ff(0x2de)](_0x10df89,_0x115187,_0x20c9b4);}else _0x3d19f3[_0x24d1ff(0x2de)](_0x25c73e,_0x115187,_0x20c9b4);_0x3d19f3[_0x24d1ff(0x251)]();}[_0x55040e(0x491)](_0x40163b){const _0x52f2a8=_0x55040e;Ot[_0x52f2a8(0x44a)](_0x40163b,this);}}const jt=_0x55040e(0x383),$o=_0x55040e(0x5a3),Ho=_0x55040e(0x1c1),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko='rgba(255,\x20255,\x20255,\x200.01)';class Ks{constructor(_0x1679de,_0x128da9,_0xddd5ee,_0x48495e){const _0x3029dc=_0x55040e;g(this,_0x3029dc(0x4de),[]),g(this,_0x3029dc(0x44f),null),g(this,_0x3029dc(0x39c),null),g(this,_0x3029dc(0x373),null),g(this,_0x3029dc(0x1d0),null),g(this,'_eventUnsubscribe',null),(this['_cursor']=_0x1679de,this[_0x3029dc(0x302)]=_0x128da9,this[_0x3029dc(0x59c)]=_0xddd5ee,this[_0x3029dc(0x1ff)]=_0x48495e,this['_render']());}set['_hover'](_0x4e1d00){const _0x5e301b=_0x55040e;_0x4e1d00?(this[_0x5e301b(0x373)]&&this[_0x5e301b(0x373)][_0x5e301b(0x489)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x5e301b(0x373)]&&this[_0x5e301b(0x373)][_0x5e301b(0x2d8)](),this[_0x5e301b(0x39c)]&&this[_0x5e301b(0x39c)][_0x5e301b(0x489)]());}[_0x55040e(0x449)](){const _0x428c91=_0x55040e;for(const _0x41290c of this['_shapes'])_0x41290c['dispose']();this[_0x428c91(0x39c)]&&this[_0x428c91(0x39c)][_0x428c91(0x449)](),this[_0x428c91(0x373)]&&this[_0x428c91(0x373)][_0x428c91(0x449)](),this['_anchor']&&this['_anchor'][_0x428c91(0x449)](),this['_eventUnsubscribe']&&this[_0x428c91(0x53a)]();}[_0x55040e(0x32c)](){const _0x3b154f=_0x55040e;var _0x269415;const {_docSkeleton:_0x4b66f5,_document:_0x3280b5}=this,{color:_0x2d245a,name:_0x8ba619,ranges:_0x1a1179}=this['_cursor'],_0x3533ea=_0x3280b5[_0x3b154f(0x4e9)](),{docsLeft:_0xcafccf,docsTop:_0xa6f2ce}=_0x3533ea,_0x2f832a=new _0x520d03(_0x3533ea,_0x4b66f5);for(const {startOffset:_0x304c71,endOffset:_0x74e9ee,rangeType:_0x6edc36,segmentId:_0x254955,segmentPage:_0x2ea7b2,collapsed:_0x3b92a3,isActive:_0x18c904}of _0x1a1179){const _0xb7c691=_0x4b66f5[_0x3b154f(0x30c)](_0x304c71,!0x0,_0x254955,_0x2ea7b2);let _0x805517=_0x4b66f5[_0x3b154f(0x30c)](_0x74e9ee,!0x0,_0x254955,_0x2ea7b2);if(_0x805517==null&&(_0x805517=_0x4b66f5[_0x3b154f(0x30c)](_0x74e9ee-0x1,!0x1,_0x254955,_0x2ea7b2)),_0x18c904){const {contentBoxPointGroup:_0x52c0d7}=_0x2f832a[_0x3b154f(0x5c7)](_0x805517,_0x805517);if(_0x52c0d7[_0x3b154f(0x41f)]===0x0)continue;this[_0x3b154f(0x47e)](_0x2d245a,_0x52c0d7,_0xcafccf,_0xa6f2ce,_0x8ba619),this[_0x3b154f(0x53a)]=this[_0x3b154f(0x39a)]();}if(!_0x3b92a3&&_0xb7c691&&_0x805517){if(_0x6edc36===_0x70259c[_0x3b154f(0x3a7)]){const _0x362a36=new _0x2085f4(_0x3533ea,_0x4b66f5),{pointGroup:_0x2bf9c9}=(_0x269415=_0x362a36['getRangePointData'](_0xb7c691,_0x805517))!=null?_0x269415:{};if(_0x2bf9c9==null||_0x2bf9c9[_0x3b154f(0x41f)]===0x0)continue;this[_0x3b154f(0x201)](_0x2d245a,_0x2bf9c9,_0xcafccf,_0xa6f2ce);}else{const {borderBoxPointGroup:_0x5a4b7b}=_0x2f832a[_0x3b154f(0x5c7)](_0xb7c691,_0x805517);if(_0x5a4b7b[_0x3b154f(0x41f)]===0x0)continue;this[_0x3b154f(0x24c)](_0x2d245a,_0x5a4b7b,_0xcafccf,_0xa6f2ce);}}}}['_drawAnchor'](_0x326c88,_0x362d28,_0x2cb7b2,_0x860964,_0x24a43f){const _0x1ebca2=_0x55040e,_0x2636ad=this[_0x1ebca2(0x4aa)](_0x362d28),{left:_0x5a0a5a,top:_0x21123d,height:_0x2b3854}=_0x2636ad,_0x1289cd=this['_getScale'](),_0x4878be=Bo/_0x1289cd,_0x2d407d=new _0x40a882(jt+_0xada371[_0x1ebca2(0x4bb)](Je),{'left':_0x5a0a5a+_0x2cb7b2-_0x4878be,'top':_0x21123d+_0x860964,'height':_0x2b3854,'width':jo,'fill':_0x326c88||_0x2e60e7(_0x450be7[_0x1ebca2(0x597)],0x0),'strokeWidth':_0x4878be,'stroke':ko,'evented':!0x0});this['_anchor']=_0x2d407d,this[_0x1ebca2(0x302)][_0x1ebca2(0x59e)](_0x2d407d,_0x54f7cc);const _0x1c2a50=new _0x40a882(jt+_0xada371[_0x1ebca2(0x4bb)](Je),{'left':_0x5a0a5a+_0x2cb7b2-_0x4878be,'top':_0x21123d+_0x860964-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x326c88||_0x2e60e7(_0x450be7['black'],0x0),'strokeWidth':0x0,'stroke':_0x326c88||_0x2e60e7(_0x450be7['black'],0x0),'evented':!0x1});this[_0x1ebca2(0x373)]=_0x1c2a50,this[_0x1ebca2(0x302)][_0x1ebca2(0x59e)](_0x1c2a50,_0x54f7cc);const _0x394b62=new Ot(jt+_0xada371['generateRandomId'](Je),{'left':_0x5a0a5a+_0x2cb7b2-_0x4878be,'top':_0x21123d+_0x860964-nt,'text':_0x24a43f,'color':_0x326c88});this[_0x1ebca2(0x39c)]=_0x394b62,this[_0x1ebca2(0x302)][_0x1ebca2(0x59e)](_0x394b62,_0x54f7cc),this[_0x1ebca2(0x423)]=!0x1;}['_handleHover'](){const _0xf204c0=_0x55040e,_0x24f317=this['_anchor'][_0xf204c0(0x520)][_0xf204c0(0x4b4)](()=>{this['_hover']=!0x0;}),_0x329a01=this[_0xf204c0(0x44f)][_0xf204c0(0x5c4)][_0xf204c0(0x4b4)](()=>{const _0x400125=_0xf204c0;this['_hideTimer']&&clearTimeout(this[_0x400125(0x1d0)]),this[_0x400125(0x1d0)]=setTimeout(()=>{const _0xe99e6d=_0x400125;this[_0xe99e6d(0x423)]=!0x1;},0x7d0);});return()=>{const _0x4ab7de=_0xf204c0;_0x24f317[_0x4ab7de(0x1e9)](),_0x329a01['unsubscribe']();};}[_0x55040e(0x24c)](_0x3c7242,_0x1b0fc9,_0x2082c6,_0x44d67a){const _0x18b38e=_0x55040e,_0xd9beba=new _0x47595b(_0x3c7242)['setAlpha'](0.2)['toRgbString'](),_0x3dccac=new _0x140698($o+_0xada371[_0x18b38e(0x4bb)](Je),{'pointsGroup':_0x1b0fc9,'fill':_0xd9beba||_0x2e60e7(_0x450be7[_0x18b38e(0x597)],0.2),'left':_0x2082c6,'top':_0x44d67a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x18b38e(0x5b6)](_0x3dccac),this['_scene'][_0x18b38e(0x59e)](_0x3dccac,_0x54f7cc);}[_0x55040e(0x201)](_0x57d053,_0x33e500,_0x564b58,_0x467331){const _0x267f33=_0x55040e,_0x2fc882=new _0x47595b(_0x57d053)[_0x267f33(0x378)](0.2)[_0x267f33(0x2a4)](),_0x47b11b=new _0x140698(Ho+_0xada371[_0x267f33(0x4bb)](Je),{'pointsGroup':_0x33e500,'fill':_0x2fc882||_0x2e60e7(_0x450be7['black'],0.2),'left':_0x564b58,'top':_0x467331,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x47b11b),this['_scene'][_0x267f33(0x59e)](_0x47b11b,_0x54f7cc);}['_getAnchorBounding'](_0x222d82){const _0x3e771d=_0x222d82[0x0],_0xc0321e=_0x3e771d[0x0],_0x3a47a9=_0x3e771d[0x2],{x:_0x5e960f,y:_0xc1ef3d}=_0xc0321e,{x:_0x19f11a,y:_0x198bfd}=_0x3a47a9;return{'left':_0x5e960f,'top':_0xc1ef3d,'width':_0x19f11a-_0x5e960f,'height':_0x198bfd-_0xc1ef3d};}[_0x55040e(0x1eb)](){const _0x5846cb=_0x55040e,{scaleX:_0x4a7850,scaleY:_0x327867}=this[_0x5846cb(0x302)]['getAncestorScale']();return Math['max'](_0x4a7850,_0x327867);}}var Wo=Object[_0x55040e(0x4df)],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0x58effd,_0x4295e1,_0x119198,_0x286e05)=>{const _0x4cee1f=_0x55040e;for(var _0x10dd5a=_0x286e05>0x1?void 0x0:_0x286e05?Fo(_0x4295e1,_0x119198):_0x4295e1,_0x2c603d=_0x58effd[_0x4cee1f(0x41f)]-0x1,_0x4d937f;_0x2c603d>=0x0;_0x2c603d--)(_0x4d937f=_0x58effd[_0x2c603d])&&(_0x10dd5a=(_0x286e05?_0x4d937f(_0x4295e1,_0x119198,_0x10dd5a):_0x4d937f(_0x10dd5a))||_0x10dd5a);return _0x286e05&&_0x10dd5a&&Wo(_0x4295e1,_0x119198,_0x10dd5a),_0x10dd5a;},ht=(_0x12ecf1,_0x3efe76)=>(_0x5b4b9b,_0x1eb791)=>_0x3efe76(_0x5b4b9b,_0x1eb791,_0x12ecf1);let os=class extends _0x47772b{constructor(_0x3e489a,_0x34173c,_0x4d3cb3,_0x348d52,_0x5b618c){const _0x9b257f=_0x55040e;super(),g(this,_0x9b257f(0x541),[]),g(this,'_cursors',[]),(this[_0x9b257f(0x584)]=_0x3e489a,this[_0x9b257f(0x57a)]=_0x34173c,this[_0x9b257f(0x283)]=_0x4d3cb3,this[_0x9b257f(0x1e8)]=_0x348d52,this[_0x9b257f(0x54a)]=_0x5b618c,this[_0x9b257f(0x442)]());}[_0x55040e(0x442)](){const _0x32ff14=_0x55040e,_0x357c44=this[_0x32ff14(0x584)][_0x32ff14(0x292)],_0x16ad3c=this[_0x32ff14(0x57a)];this[_0x32ff14(0x33a)](_0x12b0bc([this['_collabCursorController']['getCollabCursors$'](_0x357c44),this[_0x32ff14(0x54a)][_0x32ff14(0x56d)]])[_0x32ff14(0x55b)](_0x151dda(([_0x4db4ad,_0x297207])=>({'skeleton':_0x16ad3c[_0x32ff14(0x554)](),'cursors':[..._0x4db4ad[_0x32ff14(0x3f5)]()][_0x32ff14(0x4f3)](_0x298021=>({..._0x298021,'color':_0x297207[_0x298021[_0x32ff14(0x464)]]}))})))[_0x32ff14(0x1e2)](_0x43791b=>{const _0x2f8f26=_0x32ff14;if(this['_removeCollabCursors'](),_0x43791b){const {skeleton:_0x399300,cursors:_0x3c3a5f}=_0x43791b;this[_0x2f8f26(0x3c4)](_0x399300,_0x3c3a5f);}})),this['_initResize'](),this[_0x32ff14(0x4a5)]();}['_updateCollabCursors'](_0x39980a,_0x27a55a){const _0x301e56=_0x55040e,{scene:_0x3f6198,mainComponent:_0x4bc067}=this[_0x301e56(0x584)],_0x4af40a=_0x27a55a[_0x301e56(0x34a)](_0x2294bd=>new Ks(_0x2294bd,_0x3f6198,_0x39980a,_0x4bc067));this[_0x301e56(0x541)]=_0x4af40a,this[_0x301e56(0x211)]=_0x27a55a;}[_0x55040e(0x509)](){const _0xf3fdd3=_0x55040e;this['_removeCollabCursors']();const {scene:_0x1ff4be,mainComponent:_0x17d287}=this[_0xf3fdd3(0x584)],_0x4f2038=this[_0xf3fdd3(0x57a)][_0xf3fdd3(0x554)](),_0x77b42f=this[_0xf3fdd3(0x211)][_0xf3fdd3(0x34a)](_0x3a7891=>new Ks(_0x3a7891,_0x1ff4be,_0x4f2038,_0x17d287));this['_cursorShapes']=_0x77b42f;}[_0x55040e(0x255)](){const _0x38b5ed=_0x55040e;this['_cursorShapes']['forEach'](_0x32b5d8=>_0x32b5d8[_0x38b5ed(0x449)]()),this[_0x38b5ed(0x541)]=[];}[_0x55040e(0x4a5)](){const _0x310007=_0x55040e,_0xd07cfc=[_0x219679['id']];this[_0x310007(0x33a)](this[_0x310007(0x1e8)][_0x310007(0x3ee)](_0x31e117=>{const _0x407437=_0x310007;_0xd07cfc['includes'](_0x31e117['id'])&&_0x31e117['params'][_0x407437(0x292)]===this['_context']['unitId']&&this[_0x407437(0x509)]();}));}[_0x55040e(0x494)](){const _0x202d8b=_0x55040e;this['disposeWithMe'](_0x4e3f7c(this[_0x202d8b(0x584)][_0x202d8b(0x562)][_0x202d8b(0x32b)])[_0x202d8b(0x55b)](_0x1fa847(_0x4bf3e1=>_0x4bf3e1[_0x202d8b(0x24f)]===_0xf22eac[_0x202d8b(0x2f5)]),_0xcf2026(0x10))['subscribe'](()=>{const _0x5505ec=_0x202d8b;this[_0x5505ec(0x509)]();}));}};os=Vo([ht(0x1,_0xb59c13(_0x218b49)),ht(0x2,_0xb59c13(Ve)),ht(0x3,_0x2983df),ht(0x4,_0xb59c13(_0x5a8ea1))],os);const Go=0x1,Yo=1.5;class Ko extends _0x53eadf{constructor(_0x3639ad,_0x105ec3){const _0x504d3a=_0x55040e;super(_0x3639ad,_0x105ec3),g(this,'_color'),g(this,_0x504d3a(0x2b8),!0x1),g(this,_0x504d3a(0x3f3)),g(this,'_name',''),g(this,'_labelPosition',_0x504d3a(0x585)),g(this,_0x504d3a(0x438)),(_0x105ec3&&this[_0x504d3a(0x29a)](_0x105ec3),this[_0x504d3a(0x520)][_0x504d3a(0x4b4)](()=>this[_0x504d3a(0x29a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x504d3a(0x4b4)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x55040e(0x29a)](_0x5e3f53){const _0x52254f=_0x55040e;var _0xe072a9,_0x3a3fb8,_0x243457,_0x5b8647,_0x1f9e06,_0x199f96;this[_0x52254f(0x375)]=(_0xe072a9=_0x5e3f53[_0x52254f(0x464)])!=null?_0xe072a9:this[_0x52254f(0x375)],this[_0x52254f(0x2b8)]=(_0x3a3fb8=_0x5e3f53['hovered'])!=null?_0x3a3fb8:this['_hovered'],this[_0x52254f(0x3f3)]=(_0x243457=_0x5e3f53['range'])!=null?_0x243457:this[_0x52254f(0x3f3)],this[_0x52254f(0x54e)]=(_0x5b8647=_0x5e3f53[_0x52254f(0x363)])!=null?_0x5b8647:this['_name'],this[_0x52254f(0x3a5)]=(_0x1f9e06=_0x5e3f53[_0x52254f(0x430)])!=null?_0x1f9e06:this[_0x52254f(0x3a5)],this['_backgroundColor']=(_0x199f96=_0x5e3f53[_0x52254f(0x429)])!=null?_0x199f96:this['_backgroundColor'],this[_0x52254f(0x2e3)]({'width':_0x5e3f53['width'],'height':_0x5e3f53[_0x52254f(0x573)]});}[_0x55040e(0x2ab)](_0x23cb37){const _0x41353d=_0x55040e,{row:_0x22427c,column:_0x866820}=_0x23cb37;if(_0x22427c>=this['_range']['startRow']&&_0x22427c<=this[_0x41353d(0x3f3)][_0x41353d(0x500)]&&_0x866820>=this[_0x41353d(0x3f3)][_0x41353d(0x351)]&&_0x866820<=this[_0x41353d(0x3f3)][_0x41353d(0x538)]){this[_0x41353d(0x29a)]({'hovered':!0x0});return;}this[_0x41353d(0x29a)]({'hovered':!0x1});}[_0x55040e(0x30f)](_0x1f676f){return!0x1;}[_0x55040e(0x491)](_0x398e46){const _0x4020a3=_0x55040e;_0x40a882['drawWith'](_0x398e46,{'width':this['width'],'height':this[_0x4020a3(0x573)],'strokeWidth':Yo,'stroke':this[_0x4020a3(0x375)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x398e46[_0x4020a3(0x4be)](),_0x398e46[_0x4020a3(0x343)](0x1,0x0,0x0,0x1,this[_0x4020a3(0x416)],this[_0x4020a3(0x3a5)]==='bottom'?0x0:-nt),Ot['drawWith'](_0x398e46,{'text':this[_0x4020a3(0x54e)],'color':this[_0x4020a3(0x375)]}),_0x398e46[_0x4020a3(0x251)]());}}var zo=Object[_0x55040e(0x4df)],qo=Object[_0x55040e(0x2ad)],Xo=(_0x18da72,_0x4d1445,_0x68a6cb,_0x36e148)=>{const _0x2a6cc2=_0x55040e;for(var _0x5a1d3b=_0x36e148>0x1?void 0x0:_0x36e148?qo(_0x4d1445,_0x68a6cb):_0x4d1445,_0x50201c=_0x18da72[_0x2a6cc2(0x41f)]-0x1,_0x6cdf9c;_0x50201c>=0x0;_0x50201c--)(_0x6cdf9c=_0x18da72[_0x50201c])&&(_0x5a1d3b=(_0x36e148?_0x6cdf9c(_0x4d1445,_0x68a6cb,_0x5a1d3b):_0x6cdf9c(_0x5a1d3b))||_0x5a1d3b);return _0x36e148&&_0x5a1d3b&&zo(_0x4d1445,_0x68a6cb,_0x5a1d3b),_0x5a1d3b;},kt=(_0x340d66,_0xb6f6a3)=>(_0x11babc,_0x42ab4f)=>_0xb6f6a3(_0x11babc,_0x42ab4f,_0x340d66);const Jo=0x1389;let as=class extends _0x47772b{constructor(_0x353e10,_0x8168d3,_0x3df43f,_0x33d2c2){const _0x5bc869=_0x55040e;super(),g(this,_0x5bc869(0x211),new Set()),g(this,'_lastPointer',null),(this[_0x5bc869(0x584)]=_0x353e10,this[_0x5bc869(0x38e)]=_0x8168d3,this['_collabCursorController']=_0x3df43f,this[_0x5bc869(0x54a)]=_0x33d2c2,this['_init']());}[_0x55040e(0x442)](){const _0x2d1c48=_0x55040e;this['_sheetSkeletonManagerService'][_0x2d1c48(0x355)][_0x2d1c48(0x55b)](_0x384b4a(this[_0x2d1c48(0x48c)]),_0x1e32ba(_0x34691f=>{const _0x2c6825=_0x2d1c48;if(_0x34691f){const _0x2b11b7=_0x34691f[_0x2c6825(0x370)];return _0x12b0bc(this[_0x2c6825(0x283)][_0x2c6825(0x4d1)](this[_0x2c6825(0x584)][_0x2c6825(0x292)]),this[_0x2c6825(0x54a)][_0x2c6825(0x56d)])[_0x2c6825(0x55b)](_0x151dda(([_0x4f403e,_0x189ac6])=>{const _0x3c0340=_0x2c6825,_0x28b0ce=new Map();return _0x4f403e[_0x3c0340(0x582)]((_0x4f80ad,_0x46687b)=>{const _0x1cd8a6=_0x3c0340;if(_0x4f80ad[_0x1cd8a6(0x1fb)]===_0x2b11b7){const _0x10c2c6={..._0x4f80ad};_0x10c2c6['color']=_0x189ac6[_0x4f80ad[_0x1cd8a6(0x464)]],_0x28b0ce[_0x1cd8a6(0x333)](_0x46687b,_0x10c2c6);}}),{'skeleton':_0x34691f,'cursors':_0x28b0ce};}));}return _0x1c2089({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2050b4,cursors:_0x550055})=>{const _0x3aa84c=_0x2d1c48;this[_0x3aa84c(0x255)](),_0x2050b4&&this[_0x3aa84c(0x3c4)](_0x2050b4,_0x550055);}),this[_0x2d1c48(0x38e)]['currentSkeleton$'][_0x2d1c48(0x1e2)](_0x2ef3b1=>{const _0x32ef8b=_0x2d1c48;if(_0x2ef3b1==null)return;const {skeleton:_0x43b638}=_0x2ef3b1,{scene:_0x3ed029}=this['_context'];_0x3ed029[_0x32ef8b(0x4b7)][_0x32ef8b(0x4b4)](_0xc081a9(_0x3fe108=>{const _0x40cf05=_0x32ef8b;var _0x49a3bc,_0x1fe838;const {offsetX:_0x53c769,offsetY:_0x2df6cb}=_0x3fe108,{x:_0x3f318c,y:_0x55f00f}=_0x3ed029[_0x40cf05(0x2cd)](_0x3805a7[_0x40cf05(0x49b)]([_0x53c769,_0x2df6cb])),{scaleX:_0x2ba756,scaleY:_0x2ef775}=_0x3ed029[_0x40cf05(0x588)](),_0x4a1705=_0x3ed029[_0x40cf05(0x47f)](_0x2a8fb7[_0x40cf05(0x447)]),_0x370e53=_0x3ed029[_0x40cf05(0x40a)](_0x3805a7[_0x40cf05(0x49b)]([_0x3f318c,_0x55f00f]),_0x4a1705),_0x2dc3ea=_0x43b638[_0x40cf05(0x3b9)](_0x53c769,_0x2df6cb,_0x2ba756,_0x2ef775,_0x370e53);((_0x49a3bc=this[_0x40cf05(0x1d9)])==null?void 0x0:_0x49a3bc[_0x40cf05(0x3bf)])===_0x2dc3ea[_0x40cf05(0x3bf)]&&((_0x1fe838=this[_0x40cf05(0x1d9)])==null?void 0x0:_0x1fe838['row'])===_0x2dc3ea['row']||this[_0x40cf05(0x211)][_0x40cf05(0x582)](_0x136e55=>{_0x136e55['onMouseMove'](_0x2dc3ea);});},0x64));});}[_0x55040e(0x3c4)](_0x4cacb9,_0x550f70){const _0x53d88a=_0x55040e;var _0x29cb62;const _0xafbde2=(_0x29cb62=this[_0x53d88a(0x38e)][_0x53d88a(0x559)]())==null?void 0x0:_0x29cb62['skeleton'];if(!_0xafbde2)return;const _0x5b52e6=this[_0x53d88a(0x57c)]();if(!_0x5b52e6)return;this[_0x53d88a(0x211)][_0x53d88a(0x582)](_0x67d242=>{const _0x397fe1=_0x53d88a;_0x67d242[_0x397fe1(0x361)]();});const {scene:_0x4bc75b}=_0x5b52e6,_0x141dbd=Zo(Array['from'](_0x550f70[_0x53d88a(0x3f5)]()))['map'](_0x5587d8=>{const _0x4289a4=_0x53d88a,{color:_0x368038,range:_0x21ecc0,name:_0x33cd3b,selection:_0x5adaa8,sheetID:_0x3fbc36}=_0x5587d8,{startColumn:_0x5c345a,startRow:_0x418fcc,endColumn:_0x3b6a77,endRow:_0x367ab3}=_0x21ecc0,_0x13ee4f=_0x169a18(_0x418fcc,_0x5c345a,_0x4bc75b,_0xafbde2),_0x5d1e79=_0x169a18(_0x367ab3,_0x3b6a77,_0x4bc75b,_0xafbde2),{columnHeaderHeightAndMarginTop:_0x9e35d2}=_0xafbde2,{startX:_0x71eb7c,startY:_0x341ac7}=_0x13ee4f,{endX:_0x11c11f,endY:_0x258f96}=_0x5d1e79,_0x52a11f=_0x11c11f-_0x71eb7c,_0x19b6af=_0x258f96-_0x341ac7,_0x18a063={'labelPosition':_0x341ac7-_0x9e35d2>=nt?_0x4289a4(0x585):_0x4289a4(0x525),'sheetID':_0x3fbc36,'range':_0x21ecc0,'color':_0x368038,'name':_0x33cd3b,'selection':_0x5adaa8,'left':_0x71eb7c,'top':_0x341ac7,'width':_0x52a11f,'height':_0x19b6af,'evented':!0x1,'zIndex':Jo};return new Ko(_0x33cd3b,_0x18a063);});_0x4bc75b[_0x53d88a(0x435)](_0x141dbd,Go),this['_cursors']=new Set(_0x141dbd);}[_0x55040e(0x255)](){const _0x48db28=_0x55040e;var _0xcc722a;(_0xcc722a=this[_0x48db28(0x211)])==null||_0xcc722a['forEach'](_0xdd2bbb=>_0xdd2bbb[_0x48db28(0x449)]());}['_getSheetObject'](){const _0x3db7d7=_0x55040e;return _0x78dd1(this['_context']['unit'],this[_0x3db7d7(0x584)]);}};as=Xo([kt(0x1,_0xb59c13(_0x59f476)),kt(0x2,_0xb59c13(Ve)),kt(0x3,_0xb59c13(_0x5a8ea1))],as);function Zo(_0x1efa18){const _0x33ce6c=new Map();return _0x1efa18['forEach'](_0x735758=>{const _0x182eb5=_0x1c89;if(_0x33ce6c[_0x182eb5(0x269)](_0x735758[_0x182eb5(0x276)])){const _0x3e6e50=_0x33ce6c[_0x182eb5(0x25c)](_0x735758[_0x182eb5(0x276)]);_0x3e6e50[_0x182eb5(0x363)]+=',\x20'+_0x735758[_0x182eb5(0x363)];}else _0x33ce6c[_0x182eb5(0x333)](_0x735758['selection'],_0x735758);}),Array['from'](_0x33ce6c['values']());}var ee=function(){const _0xa850a9=_0x55040e;return ee=Object['assign']||function(_0x244cae){const _0x4e3abe=_0x1c89;for(var _0x219dd1,_0x1ea238=0x1,_0x971750=arguments[_0x4e3abe(0x41f)];_0x1ea238<_0x971750;_0x1ea238++){_0x219dd1=arguments[_0x1ea238];for(var _0x474375 in _0x219dd1)Object['prototype']['hasOwnProperty'][_0x4e3abe(0x477)](_0x219dd1,_0x474375)&&(_0x244cae[_0x474375]=_0x219dd1[_0x474375]);}return _0x244cae;},ee[_0xa850a9(0x5bc)](this,arguments);},Qo=function(_0x56d754,_0x253262){const _0x4afe22=_0x55040e;var _0x379471={};for(var _0x1f3f32 in _0x56d754)Object[_0x4afe22(0x4ea)][_0x4afe22(0x2be)]['call'](_0x56d754,_0x1f3f32)&&_0x253262[_0x4afe22(0x289)](_0x1f3f32)<0x0&&(_0x379471[_0x1f3f32]=_0x56d754[_0x1f3f32]);if(_0x56d754!=null&&typeof Object[_0x4afe22(0x2c0)]==_0x4afe22(0x519)){for(var _0xe4acef=0x0,_0x1f3f32=Object['getOwnPropertySymbols'](_0x56d754);_0xe4acef<_0x1f3f32[_0x4afe22(0x41f)];_0xe4acef++)_0x253262[_0x4afe22(0x289)](_0x1f3f32[_0xe4acef])<0x0&&Object[_0x4afe22(0x4ea)][_0x4afe22(0x2a1)][_0x4afe22(0x477)](_0x56d754,_0x1f3f32[_0xe4acef])&&(_0x379471[_0x1f3f32[_0xe4acef]]=_0x56d754[_0x1f3f32[_0xe4acef]]);}return _0x379471;},Ts=_0x3480a1(function(_0x38a7a2,_0x243c3d){const _0x4b8a14=_0x55040e;var _0x7587e2=_0x38a7a2['icon'],_0x401eeb=_0x38a7a2['id'],_0x18d779=_0x38a7a2[_0x4b8a14(0x29c)],_0x4565fe=_0x38a7a2['extend'],_0x3dae2c=Qo(_0x38a7a2,['icon','id',_0x4b8a14(0x29c),_0x4b8a14(0x592)]),_0x6266cf=_0x4b8a14(0x33c)[_0x4b8a14(0x4bd)](_0x401eeb,'\x20')[_0x4b8a14(0x4bd)](_0x18d779||'')['trim'](),_0x361769=_0xb46f77('_'[_0x4b8a14(0x4bd)](sa()));return Mi(_0x7587e2,''[_0x4b8a14(0x4bd)](_0x401eeb),{'defIds':_0x7587e2[_0x4b8a14(0x22a)],'idSuffix':_0x361769['current']},ee({'ref':_0x243c3d,'className':_0x6266cf},_0x3dae2c),_0x4565fe);});function Mi(_0x44a000,_0x53ace1,_0x5d4d2f,_0x4ab713,_0x2123fc){const _0x1b91f9=_0x55040e;return _0x3fd77b(_0x44a000[_0x1b91f9(0x1d7)],ee(ee({'key':_0x53ace1},ea(_0x44a000,_0x5d4d2f,_0x2123fc)),_0x4ab713),(ta(_0x44a000,_0x5d4d2f)[_0x1b91f9(0x4f7)]||[])[_0x1b91f9(0x34a)](function(_0x45da5c,_0x4377bd){const _0x3a28b9=_0x1b91f9;return Mi(_0x45da5c,''[_0x3a28b9(0x4bd)](_0x53ace1,'-')[_0x3a28b9(0x4bd)](_0x44a000[_0x3a28b9(0x1d7)],'-')[_0x3a28b9(0x4bd)](_0x4377bd),_0x5d4d2f,void 0x0,_0x2123fc);}));}function ea(_0x484167,_0x137437,_0x2ebb3e){const _0x30c1c5=_0x55040e;var _0x435876=ee({},_0x484167[_0x30c1c5(0x4ec)]);_0x2ebb3e!=null&&_0x2ebb3e[_0x30c1c5(0x4dd)]&&_0x435876[_0x30c1c5(0x4ab)]==='colorChannel1'&&(_0x435876['fill']=_0x2ebb3e[_0x30c1c5(0x4dd)]);var _0x48c7e7=_0x137437[_0x30c1c5(0x22a)];return!_0x48c7e7||_0x48c7e7[_0x30c1c5(0x41f)]===0x0||(_0x484167['tag']===_0x30c1c5(0x507)&&_0x435876[_0x30c1c5(0x441)]&&(_0x435876[_0x30c1c5(0x441)]=_0x435876[_0x30c1c5(0x441)]+_0x137437[_0x30c1c5(0x297)]),Object[_0x30c1c5(0x30b)](_0x435876)[_0x30c1c5(0x582)](function(_0x516330){const _0x10f1e5=_0x30c1c5;var _0x29a084=_0x516330[0x0],_0x206b72=_0x516330[0x1];typeof _0x206b72=='string'&&(_0x435876[_0x29a084]=_0x206b72[_0x10f1e5(0x403)](/url\(#(.*)\)/,_0x10f1e5(0x20f)[_0x10f1e5(0x4bd)](_0x137437[_0x10f1e5(0x297)],')')));})),_0x435876;}function ta(_0x3a8b69,_0x32c004){const _0x53436a=_0x55040e;var _0x48eb3a,_0x183dde=_0x32c004['defIds'];return!_0x183dde||_0x183dde['length']===0x0?_0x3a8b69:_0x3a8b69['tag']===_0x53436a(0x28d)&&(!((_0x48eb3a=_0x3a8b69[_0x53436a(0x4f7)])===null||_0x48eb3a===void 0x0)&&_0x48eb3a[_0x53436a(0x41f)])?ee(ee({},_0x3a8b69),{'children':_0x3a8b69[_0x53436a(0x4f7)]['map'](function(_0x10b11c){const _0x1ae359=_0x53436a;return typeof _0x10b11c['attrs']['id']==_0x1ae359(0x54c)&&_0x183dde&&_0x183dde[_0x1ae359(0x289)](_0x10b11c['attrs']['id'])>-0x1?ee(ee({},_0x10b11c),{'attrs':ee(ee({},_0x10b11c['attrs']),{'id':_0x10b11c['attrs']['id']+_0x32c004['idSuffix']})}):_0x10b11c;})}):_0x3a8b69;}function sa(){const _0x25806b=_0x55040e;return Math[_0x25806b(0x4e7)]()[_0x25806b(0x522)](0x24)[_0x25806b(0x2a5)](0x2,0x8);}Ts[_0x55040e(0x506)]='UniverIcon';var ia={'tag':_0x55040e(0x382),'attrs':{'fill':_0x55040e(0x34f),'viewBox':_0x55040e(0x348),'width':_0x55040e(0x38d),'height':_0x55040e(0x38d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x55040e(0x5b7),'attrs':{'stroke':'currentColor','d':_0x55040e(0x3d9),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x55040e(0x28d),'attrs':{},'children':[{'tag':_0x55040e(0x2d2),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x55040e(0x5b7),'attrs':{'fill':'#fff','d':_0x55040e(0x43a)}}]}]}],'defIds':[_0x55040e(0x4fb)]},xi=_0x3480a1(function(_0x118859,_0x1482be){const _0x58b10a=_0x55040e;return _0x3fd77b(Ts,Object['assign']({},_0x118859,{'id':_0x58b10a(0x41d),'ref':_0x1482be,'icon':ia}));});xi[_0x55040e(0x506)]=_0x55040e(0x411);function _0x59b0(){const _0x57c83b=['hasher','onPointerMove$','saveChangeset','_awaitingChangeset','href','generateRandomId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','concat','save','CONNECTOR_DATA_TOO_LARGE','HEARTBEAT','hostname','c1Prime','padding','_docTransformSelectionsService','leaveEvent','infoRsp','onTransformIME','processBlock','univer-pro.collaboration-client-socket-service','_changesetReqId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','on-line-single','_initStatusComponent','then','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','fillRule','getCollabCursors$','ranges','OFFLINE','/universer-api/comb','pending','clearInterval','_sessions','_pendingMutations','open$','98793wUrbRb','encrypt','NEW_CHANGESETS','colorChannel1','_shapes','defineProperty','_onRemoteACK','onRemoteChangeset','_mode','headers','executeCommand','event$','_id','random','members','getOffsetConfig','prototype','_roomMembers','attrs','reqId','_initMergeInterceptor','_initCloseConn','_handleEvent','_onOffline','replaceState','flatMap','sid','getUnitId','loadSheet','children','TEXT','isPermissionRej','_initDependencies','off-line-single_clip0_910_343','setItem','result','RECV','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','endRow','debug','withCredentials','disableLocalCache','searchParams','blue400','displayName','use','loginUrlKey','_refreshCollabCursors','byteLength','getAllMembers','_handleHeartbeatEvent','offline','listCollaborators','_handler','onRemoteRetry','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','complete','getSheetId','_applyRemoteChangeset','assignAColorForMemberID','_transformStack','every','YUUMI_RATE_OVER_LIMIT','function','_loadSheet','SHA1','SNAPSHOT_HAS_BEEN_REMOVED','\x20to\x20','gold400','_initRequestHeader','onPointerEnter$','sessionStatus','toString','1990OWHpOf','getCurrentUnitForType','bottom','APPLY_PERMISSION_DENIED','enableLocalCache','_localCacheService','_transformHistoryAndStateStack','_sheetTransformSelectionsService','origin','_transformSelections','MSG_FOR_ERROR','_collaborationSessionService','objectType','/rev/','_throwTelemetryCollaborationNewChangeset','transformStateCache','HmacMD5','_localStorageService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_entityInit$','_onCursorUpdate','endColumn','_ensureSubject','_eventUnsubscribe','lib','DeleteRangeMoveUpCommandId','contains','_socketReady','_checkMissing','loadDoc','_cursorShapes','_createHelper','_doReset','history','evenodd','onCommentUpdate','collabSubmitChangesetUrl','setParam','registerRenderModule','_themeService','visibilityState','string','unitID','_name','_clearCollaborationTimeoutTimer','onTransformRemoteChangesetByStateCache','actions','image/gif','_resendTimeout','getSkeleton','clearTimeout','randomBytes','permissionRejEvent','transformIMECache','getCurrent','setInterval','pipe','_renderManagerService','telemetry\x20info\x20is\x20not\x20initialized','FileId','399000Yerbak','HmacSHA1','message$','engine','getDeserializedSheetBlock','toggleOffline','blockSize','close$','registerBeforeClose','UNIVER_SLIDE','UNAUTHENTICATED','RemoveColCommandId','exports','transformMutation','currentTheme$','appendMutation','onRemoteRej','close','_retryConnectingTimer','memberID','height','csAckEvent','_handleLeaveEvent','originalMeta','_nRounds','_fetchMissChangesets','_exhaustRemoteChangesetQueue','_docSkeletonManagerService','collab-client.tooltip.reconnect','_getSheetObject','InsertRangeMoveDownCommandId','decryptBlock','awaiting_with_pending','m2Prime','INVALID_ARGUMENT','forEach','range','_context','top','_transitionLocked','compute','getAncestorScale','UnitEmbedded','PENDING','BufferedBlockAlgorithm','putCollaborators','joinRsp','liveShareOperation','JOIN','Hex','_colorAssignService','extend','params','NOT_COLLAB','socket\x20open.','_sendHeartbeatTimer','black','_hasher','_updateLocalCache','undoState','textRanges','_docSkeleton','session','addObject','_http','SUBMIT_CHANGESET','Univer','_hash','collab-text-range-','_acknowledgedAwaitingChangeset','collaboration_new_changeset','_incrementRevisionNumber','_permissionService','objectID','_transformPreviousActiveRange','submit\x20changeset\x20error!','[PendingState]:\x20received\x20acknowledgement.','getActiveRange','fromCharCode','LICENSE_EXPORT_SIZE_EXCEEDED','_unitOnClients','joinEvent','univer-pro.collaboration-client.single-active-unit-service','init','_compressMutationService','toLowerCase','_initEventListeners','push','path','msCrypto','MUTATION','_joinRoom','_replayCachedMutations','apply','cmd','unit','activeSheet$','_cachedData','_updateLocalCursor','startsWith','getConfig','onPointerLeave$','#fff','SYNCED','getRangePointData','\x0aAfter:\x20','_revisionService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_handleJoinEvent','_scheduleHeartbeat','_redoStacks','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getMergeData','UNIVER_COLLABORATION_CLIENT_PLUGIN','_docTransformStateCacheService','BlockCipher','_listenToOnlineEvent','INGEST','_decreaseWaiting','collab-rect-range-','SUCCUSS','APPLY_REVISION_CONFILICT','_state$','_initUnitPermissionChange','subUnitId','_injector','encodeURIComponent','LIVESHARE_OPERATION','_startDocCollabCursor','onTransformSelections','onlyLocal','_transformRemoteChangesetByStateCache','_session','_heartbeatTimer','_hideTimer','exhaustSavingTask','getCollabEntity$','uploadFileServerUrl','onReady','shouldCloseConn','error$','tag','synced','_lastPointer','_transformRemoteChangesetByIMECache','setStateCache','_onCursorDelete','_HTTPService','setShowComponents','createCollaborator','Utf8','_getAPIPrefixPath','subscribe','_docTransformIMECacheService','20NcOYKj','getValue','ONLINE','editingUnit','_commandService','unsubscribe','next','_getScale','salt','hidden','YUUMI_URL_COL_OUT_OF_RANGE','_doFinalize','_updateState','LIVESHARE_FETCH_OPERATIONS','redoState','_scheduleSaving','Error\x20on\x20receiving\x20event','\x20-\x20','responseType','size','words','setConfig','/resources','sheetID','getMember','_doCryptBlock','listRoles','_document','AES','_drawRectRange','_timeoutTimer','CBC','sigBytes','PERMISSION_DENIED','execute','TOO_MANY_REQUESTS','UPDATE_PERMISSION_OBJ','_status$','finalize','ENSURE_SNAPSHOT_EXECUTION','patch','Base','_urlService','url(#$1','url','_cursors','socketService','catch','fetching\x20missing\x20changesets\x20from\x20','crypto','[DataLoaderController]','popstate','_remoteChangesetQueue','_socketMessageSubscription','MoveRangeCommandId','/allowed','status$','CHANGESET_REVISION_CONFILICT','requireSession','createInstance','measureText','_data','onTransformState','ceil','InsertRowCommandId','getCurrentRevOfUnit','createSocket','clone','_clearHeartbeatTimer','_getDownloadEndpointURL','defIds','_saveTaskMap','getUnitStatus$','_registerRenderDependencies','_startTelemetryCollaborationNewChangeset','\x20in\x20_schedule.','372JziQtW','reset','USERS_ENTER','unknown','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','conflict.content','fetchMissingChangesets','UNRECOGNIZED','registerRefRange','onStateChange','IDLE','csRejEvent','_append','subunit','pushState','setWaitCount','APPLY_REJECT','APPLY_NON_SEQUENTIAL_REVISION','getUnitOnRev','bind','_telemetryService','_setupBeforeClosingHandler','_clearRedo','CHANGESET_SHOULD_RETRY','_xformMode','_docSyncEditingCollabCursorService','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','roomInfos','_drawTextRange','removeParam','sin','type','LEAVE','restore','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','updatePermissionPoint','YUUMI_UNABLE_LOAD_URL','_removeCollabCursors','HMAC','kdf','LICENSE_MAX_UNITS_EXCEEDED','AWAITING','_sendHeartbeat','_syncEditingCollabCursorService','get','EXCHANGE_SIGN_URL_SERVER_URL_KEY','arc','transformUndoRedo','_getMergeRange','_state','round','charCodeAt','_socket$','doc.mutation.rich-text-editing','COLLAB_SUBMIT_CHANGESET_URL','roomMembers$','error','has','COMPRESS_MUTATION_SEND','SerializableCipher','UNKNOWN_CODE','loadOfflineData','encode','onRemoteAck','_substituteUndoStack','mutations','_httpService','algo','_reverseMap','filter','selection','clear','USERS_LEAVE','[CollaborationSession]','_startCollaboration','moveTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_submitChangeset','/block/','_getSnapshotAPIPrefix','userID','PSEUDO_FETCH_MISSING_RESULT','Warning','_collabCursorController','_prevBlock','/universer-api/oidc/authpage','_onRemoteChangeset','4908560ZvTRcl','_undoStacks','indexOf','RemoveRowCommandId','_key','/collaborator','defs','rev','socket$','collaMsg','setUndoRedoMutationParamsCache','unitId','onload','collaboration-client.config','WordArray','collabCursorState$','idSuffix','_snapshotService','onlineStatusIcon','setShapeProps','_assignedColors','className','PERMISSION_REJ','_listenToOfflineEvent','_notificationService','_sessionStatus$','propertyIsEnumerable','_change$','fromCollab','toRgbString','substring','Hasher','_updateURLWithCurrentState','_substituteRedoStack','_refRangeService','_startSheetCollabCursor','onMouseMove','getRandomValues','getOwnPropertyDescriptor','_toggleOnline','urlChange$','_configService','UNIVER_SHEET','transformRemoteChangeset','cursorInfo$','src','_updateStatus','DEFAULT_FILE_NAME','NO_OTHER_CLIENTS_EDITING','_hovered','CHANGESET_REJ','_clearUndo','[UniverCollaborationClientPlugin]','_disableEditing','_isPermissionRej','hasOwnProperty','cursorInfo','getOwnPropertySymbols','getUnitType','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','code','BASE64','registerComponent','reconnect','_onConnectionOpen','_telemetryInfo','_unlockTransition','_collaborationPaused','&assign=','fetch_missing','getRelativeToViewportCoord','_getCtorByUniverType','_type','_clearTimeoutTimer','object','clipPath','_getSignURL','_socketService','_toggleOffline','/universer-api/snapshot','&source=','show','beginPath','_clearScheduledTask','update','collabStatus.notCollab','_keyPriorReset','fillText','permission.content','onMissingChangesets','LIVESHARE_NEW_HOST','body','transformByState','allowed','LIVESHARE_REQUEST_HOST','/object','routeKey','/universer-api/file/{fileID}/sign-url','APPLY_DUPLICATED','addEventListener','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onConnectionFailed','_cursorInfo$','createElement','floor','selections','_resendWithTimeout','_ws','getItem','_scheduleClearOtherTimer','resize','getCurrentSelections','/-/object/-/batch_allowed','registerOnClose','sheets','Undefined','CipherParams','_nDataBytes','_ENC_XFORM_MODE','_getCurrentRevision','collaborators','_clearOtherTimers','collaboratorID','_scene','key','12370920GIadpI','visibilitychange','FETCH_MISS','EvpKDF','_onUserJoin','_collabCursorState$','connection\x20error','entries','findNodePositionByCharIndex','_createHandler','transformMutationsWithChangeset','triggerDblclick','_showConflictNotification','from','getDocRanges','save\x20fail\x20reason\x20is\x20','getSheetBySheetId','ciphertext','target','_entities','default','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','getCurrentUser','_uiPartsService','_colorIndex','_sender','includes','saveSnapshot','SNAPSHOT_URL_KEY','unload','179962wrJeKG','_undoRedoService','localeService','...','c2Prime','_roomMembers$','__esModule','commentUpdate$','translate(.97)','onTransformChange$','_render','abs','syncEditingCollabCursor','split','_scheduleTimestamp','assign','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','set','unshift','_selfUnitIDs','_event$','UNIVER_DOC','onRendered','transformChangesets','disposeWithMe','enableSingleActiveInstanceLock','univerjs-icon\x20univerjs-icon-','_lockTransition','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationSessionService]','pad','UNIVER_UNKNOWN','collaboration-client.offline-data-not-saved','transform','charAt','cfg','resend','slice','0\x200\x2016\x2016','reverse','map','OTHER_CLIENTS_EDITING','changesets','asObservable','/fetchmissing?from=','none','pauseCollaboration','startColumn','now','_messageService','awaiting','currentSkeleton$','_memberService','_disabled','LICENSE_DISTRO_REJECTED','HEADER_MENU','2315320vAMjgB','CHANGESET_ACK','collabStatus.conflict','BlockCipherMode','_onUserLeave','image/jpg','_socket','makeDirty','HEARTBEAT_TIMEOUT','name','_imageSourceCache','getRenderById','online','getInterceptPoints','_removeClearOtherTimer','Error','format','incrementRevOfUnit','_oKey','mode','onStarting','COMMENT_UPDATE','sheetId','getFocusedUnit','collabStatus.offline','_anchorDot','NOT_FOUND','_color','_localeService','SEND_CHANGESET_TIMEOUT','setAlpha','_onCombEvent','symbol','_getUploadFileURL','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_logService','_userManagerService','HELLO','MD5','enc','svg','collab-text-anchor-','_transformService','UnitSnapshot','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoRedoStack','verdancy600','getImageSourceCache','getParam','roomMembers','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','1em','_sheetSkeletonManagerService','_syncEditingCollabCursor','onMissedChangesetFetched','reject','storage','_docStateChangeManagerService','stopTime','text','getCollabEntity','[OfflineState]:\x20received\x20changeset.','some','reduce','_handleHover','_singleActiveUnitService','_textBubble','[CollaborationUndoRedoService]','_onJoinRoomEvent','FAIL','requestParams','copyFileMeta','/universer-api/authz','_waitForHeartbeatResponse','isArray','_labelPosition','addImageSourceCache','RECT','createEncryptor','_iv','jiqing500','uni.network.url-service','session.will-retry','Malformed\x20UTF-8\x20data','_removeRoom','_createInitialState','[SyncedState]:\x20received\x20acknowledgement.','ERROR_IMAGE_TYPE','action','isActive','session.connection-failed','$super','toggleOnline','Could\x20not\x20dynamically\x20require\x20\x22','editing\x20status\x20changed\x20to','getCellPositionByOffset','getTypeOfUnitAdded$','method','_unitStatus','status','_rescheduleHeartbeat','column','Base64','_shouldReportTelemetry','_keySchedule','_saveCache','_updateCollabCursors','put','/object/','/unit/','_createInitialStateImpl','_getLoginPath','_onLocalMutation','ERROR_EXCEED_SIZE','_config','_collabSessionService','_cipher','isEditing','_iKey','permission.title','COMPRESS_MUTATION_APPLY','createDecryptor','OpenSSL','_stopTelemetryCollaborationNewChangeset','_map','_waitCount','_retryCount','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','Latin1','repeat','list','159173VJgvdg','LOGIN_URL_KEY','/new_changes','location','change$','authzUrl','_setupSubUnitSync','_updateSubUnitFromURLParams','LICENSE_IMPORT_SIZE_EXCEEDED','baseRev','getActiveSheet','red300','mixIn','ws://127.0.0.1:8000/universer-api/comb/connect','deepClone','decrypt','sessionStatus$','onCommandExecuted','updateOfflineData','onlineStatus','join','_parse','_range','title','values','[CollaborationSessionService]:\x20socket\x20error','setTimeout','failed\x20to\x20apply\x20missed\x20changesets!','_initStatusListener','_commentUpdate$','interceptor','enableAuthServer','[CollaborationState]:\x20apply\x20error!','_getSaveTimeout','eventID','_members','image/bmp','disposeUnit','replace','_onRecvEvent','Decryptor','unitId\x20is\x20not\x20found','post','onSyncEditingCollabCursor','_createHmacHelper','getVpScrollXYInfoByPosToVp','_candidateSocket','conflict.title','_unitID','lineTo','conflict','transformStack\x20failed!','OffLineSingle','[PendingState]:\x20received\x20rejection.','fetchThroughInterceptors','[CollaborationEntity]','InsertRangeMoveRightCommandId','width','_createSocket','YUUMI_SUBSCRIPTION_NOT_FOUND','getMemberID','?url=','getTypeOfUnitDisposed$','univer-online-status-title','off-line-single','ERROR_IMAGE','length','fetchMiss','_scheduleCollaborationTimeoutTimer','univer-online-status-icon','_hover','all','getUndoRedoMutationParamsCache','_replaceFileID','PasswordBasedCipher','INTERNAL_ERROR','backgroundColor','readInt32LE','find','/universer-api/snapshot/','_onConflict','_onFetchMissResult','_minBufferSize','labelPosition','_online','collaboration-session-retry','csShouldRetryEvent','stringify','addObjects','_tryReconnect','Cipher','_backgroundColor','_executeRemoteChangeset','M0\x200H16V16H0z','0\x200\x2017\x2016','LIVESHARE_TERMINATE','max','_process','_doProcessBlock','saveImage','xlink:href','_init','awaitingChangeset','_resendTimer','UNIVER_PROJECT','AUTHZ_URL_KEY','VIEW_MAIN','refreshPermission','dispose','drawWith','data','[FetchMissState]','image/jpeg','_clearLocalCache','_anchor','div','create','getUnhiddenWorksheets','_getSendChangesetTimeout','_getRedoStack','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','enableOfflineEditing','clamp','ALREADY_EXISTS','_transformStateCache','_send','with','session.collaboration-timeout','updateMember','JOINING','_sendingTimer','_onRemoteRejected','fillStyle','newValue','saveSheetBlock','color','_snapshotServerService','transformSelections','HttpImport','getUnit','_queuedRemoteChangesets','purple300','POST','parse','StreamCipher','_DEC_XFORM_MODE','updateCollaborator','getSheetBlock','_beforeCloseService','setCurrentUser','collabStatus.syncing','registerHTTPInterceptor','getRoom','url(#on-line-single_clip0_910_349)','call','m1Prime','formatter','_invKeySchedule','_onRefRangeChange','roles','add','_drawAnchor','getViewport','UPDATE_CURSOR','_registerDependencies','updateCursorEvent','_tryEnsureSocket','on-line-single_clip0_910_349','_instanceService','_onRemoteRetry','batchAllowed','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','hide','_univerInstanceService','CONFLICT','dispose$','_collaborationTimeoutTimer','unit-cache-','readAsDataURL','getUniverSheetInstance','_draw','image/png','signUrlServerUrl','_initResize','file','ACTIVE_UNIT_EVENT_CHANNEL','_schedule','FETCH_MISSING','workbook','NoPadding','FromArray','_changesetSessionId','onlineStatusTitle','getTime','getStateCache','_getAPIPrefix','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ivSize','min','randomUUID','_initCommandExecutedListener','_onMessage','revision','send','onSendChangeset','_getAnchorBounding','fill','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','socket\x20close','focused$','_commentService','Encryptor','splice','resourceIDs','removeMember','subscribeEvent','delete'];_0x59b0=function(){return _0x57c83b;};return _0x59b0();}var na={'tag':_0x55040e(0x382),'attrs':{'fill':_0x55040e(0x34f),'viewBox':_0x55040e(0x43b),'width':_0x55040e(0x38d),'height':_0x55040e(0x38d)},'children':[{'tag':'g','attrs':{'clipPath':_0x55040e(0x476)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x55040e(0x319),'strokeLinecap':_0x55040e(0x262),'strokeLinejoin':_0x55040e(0x262),'strokeWidth':1.2}}]},{'tag':_0x55040e(0x28d),'attrs':{},'children':[{'tag':_0x55040e(0x2d2),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x55040e(0x5b7),'attrs':{'fill':_0x55040e(0x5c5),'d':_0x55040e(0x43a),'transform':_0x55040e(0x32a)}}]}]}],'defIds':[_0x55040e(0x484)]},Li=_0x3480a1(function(_0x2a2e5e,_0x5dfd){const _0x303a45=_0x55040e;return _0x3fd77b(Ts,Object[_0x303a45(0x331)]({},_0x2a2e5e,{'id':_0x303a45(0x4cc),'ref':_0x5dfd,'icon':na}));});Li[_0x55040e(0x506)]='OnLineSingle';function $i(_0x2cf359){const _0x5b58ba=_0x55040e;var _0xdc191,_0x2ff5eb,_0x1e34c7='';if(typeof _0x2cf359==_0x5b58ba(0x54c)||typeof _0x2cf359=='number')_0x1e34c7+=_0x2cf359;else{if(typeof _0x2cf359==_0x5b58ba(0x2d1)){if(Array[_0x5b58ba(0x3a4)](_0x2cf359)){var _0x43184b=_0x2cf359[_0x5b58ba(0x41f)];for(_0xdc191=0x0;_0xdc191<_0x43184b;_0xdc191++)_0x2cf359[_0xdc191]&&(_0x2ff5eb=$i(_0x2cf359[_0xdc191]))&&(_0x1e34c7&&(_0x1e34c7+='\x20'),_0x1e34c7+=_0x2ff5eb);}else{for(_0x2ff5eb in _0x2cf359)_0x2cf359[_0x2ff5eb]&&(_0x1e34c7&&(_0x1e34c7+='\x20'),_0x1e34c7+=_0x2ff5eb);}}}return _0x1e34c7;}function ra(){const _0x2f68cf=_0x55040e;for(var _0x27f9e8,_0x2582dd,_0x51375a=0x0,_0x5b0522='',_0x2ce6d7=arguments[_0x2f68cf(0x41f)];_0x51375a<_0x2ce6d7;_0x51375a++)(_0x27f9e8=arguments[_0x51375a])&&(_0x2582dd=$i(_0x27f9e8))&&(_0x5b0522&&(_0x5b0522+='\x20'),_0x5b0522+=_0x2582dd);return _0x5b0522;}const oa=_0x55040e(0x422),aa=_0x55040e(0x41c),ca='univer-online-status',ha='univer-online',la='univer-offline',Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x824247){const _0x33d418=_0x55040e;switch(_0x824247){case J[_0x33d418(0x4d3)]:return _0x33d418(0x372);case J[_0x33d418(0x48b)]:return _0x33d418(0x35c);case J[_0x33d418(0x306)]:return'collabStatus.fetchMiss';case J[_0x33d418(0x594)]:return _0x33d418(0x2dc);case J[_0x33d418(0x259)]:case J['AWAITING_WITH_PENDING']:return _0x33d418(0x473);case J[_0x33d418(0x5c6)]:case J[_0x33d418(0x58a)]:return'collabStatus.synced';}}function ua(_0x2ab3c0){const _0x149d26=_0x55040e,{status$:_0x2ed7eb}=_0x2ab3c0,_0x493f66=_0x1cfa5d(_0x2ed7eb,J[_0x149d26(0x594)]),_0x31261b=_0x50d38c(_0x5d0578),_0x47a362=_0x50d38c(Ae),_0x56e846=_0x493f66!==J[_0x149d26(0x4d3)],_0x28735e=_0x31261b['t'](_a(_0x493f66)),_0x5caa28=ra(Ze[_0x149d26(0x3f0)],{[Ze[_0x149d26(0x366)]]:_0x56e846,[Ze['offline']]:!_0x56e846}),_0xe3909f=_0x56e846?_0x5625db[_0x149d26(0x2ee)](Li,null):_0x5625db['createElement'](xi,null),_0x37c375=_0x52f5d2(()=>{_0x56e846||_0x47a362['reconnect']();},[_0x56e846,_0x47a362]);function _0x56879a(){const _0x42a232=_0x149d26;return _0x5625db[_0x42a232(0x2ee)](_0x42a232(0x450),{'className':_0x5caa28,'onClick':_0x37c375},_0x5625db[_0x42a232(0x2ee)]('div',{'className':Ze[_0x42a232(0x299)]},_0xe3909f),_0x5625db[_0x42a232(0x2ee)](_0x42a232(0x450),{'className':Ze[_0x42a232(0x49d)]},_0x28735e));}return _0x56e846?_0x56879a():_0x5625db[_0x149d26(0x2ee)](_0x1099e0,{'title':_0x31261b['t'](_0x149d26(0x57b))},_0x56879a());}var da=Object[_0x55040e(0x4df)],fa=Object[_0x55040e(0x2ad)],va=(_0x43630d,_0x4bc2a7,_0x4769ef,_0x4468e7)=>{const _0x291c2e=_0x55040e;for(var _0x64857c=_0x4468e7>0x1?void 0x0:_0x4468e7?fa(_0x4bc2a7,_0x4769ef):_0x4bc2a7,_0x34dfb=_0x43630d[_0x291c2e(0x41f)]-0x1,_0x52aa21;_0x34dfb>=0x0;_0x34dfb--)(_0x52aa21=_0x43630d[_0x34dfb])&&(_0x64857c=(_0x4468e7?_0x52aa21(_0x4bc2a7,_0x4769ef,_0x64857c):_0x52aa21(_0x64857c))||_0x64857c);return _0x4468e7&&_0x64857c&&da(_0x4bc2a7,_0x4769ef,_0x64857c),_0x64857c;},lt=(_0xd1776d,_0x5596e0)=>(_0x496688,_0x3ebe39)=>_0x5596e0(_0x496688,_0x3ebe39,_0xd1776d);let It=class extends _0x32aa41{constructor(_0x205de8,_0x587645,_0x285ce2,_0x28df42){const _0x4dadf7=_0x55040e;super(),g(this,_0x4dadf7(0x209),new _0x7f65fd(J['NOT_COLLAB'])),(this[_0x4dadf7(0x48a)]=_0x205de8,this['_uiPartsService']=_0x587645,this[_0x4dadf7(0x1c7)]=_0x285ce2,this['_collaborationController']=_0x28df42,this[_0x4dadf7(0x4cd)](),this[_0x4dadf7(0x3f9)]());}[_0x55040e(0x3f9)](){const _0xba92f7=_0x55040e;this[_0xba92f7(0x33a)](this[_0xba92f7(0x48a)]['focused$'][_0xba92f7(0x55b)](_0x15ee08(()=>{const _0x307999=_0xba92f7,_0x49449b=this[_0x307999(0x48a)][_0x307999(0x371)]();return _0x49449b?this['_collaborationController'][_0x307999(0x1d2)](_0x49449b['getUnitId']()):_0x1c2089(null);}),_0x15ee08(_0x55d3f1=>_0x55d3f1?_0x55d3f1[_0xba92f7(0x21c)]:_0x1c2089(J[_0xba92f7(0x594)])))[_0xba92f7(0x1e2)](_0x5617e5=>{const _0x4b3940=_0xba92f7;this[_0x4b3940(0x209)]['next'](_0x5617e5);}));}['_initStatusComponent'](){const _0x2a047b=_0x55040e;this['disposeWithMe'](this[_0x2a047b(0x31b)][_0x2a047b(0x2c5)](_0x1c26fa[_0x2a047b(0x359)],()=>_0x4f2b45(ma({'status$':this[_0x2a047b(0x209)][_0x2a047b(0x34d)]()}),this[_0x2a047b(0x1c7)])));}};It=va([lt(0x0,_0x10abd5),lt(0x1,_0x1f002f),lt(0x2,_0xb59c13(_0x475d43)),lt(0x3,_0xb59c13(it))],It);function ma(_0x2bc2e8){const {status$:_0x33f33a}=_0x2bc2e8;return function(){return _0x5625db['createElement'](ua,{'status$':_0x33f33a});};}const Hi=_0x34aab2(_0x55040e(0x3ab));var pa=Object[_0x55040e(0x4df)],ga=Object[_0x55040e(0x2ad)],Sa=(_0x5dba6a,_0x4f7101,_0x5a502e,_0x31c68e)=>{for(var _0x2db191=_0x31c68e>0x1?void 0x0:_0x31c68e?ga(_0x4f7101,_0x5a502e):_0x4f7101,_0x559801=_0x5dba6a['length']-0x1,_0x352048;_0x559801>=0x0;_0x559801--)(_0x352048=_0x5dba6a[_0x559801])&&(_0x2db191=(_0x31c68e?_0x352048(_0x4f7101,_0x5a502e,_0x2db191):_0x352048(_0x2db191))||_0x2db191);return _0x31c68e&&_0x2db191&&pa(_0x4f7101,_0x5a502e,_0x2db191),_0x2db191;},ke=(_0x12d619,_0x29b870)=>(_0x32f847,_0x5f8009)=>_0x29b870(_0x32f847,_0x5f8009,_0x12d619);let Ct=class extends _0x47772b{constructor(_0x62b88a,_0x277564,_0x1fa66b,_0x42d494,_0x11c165,_0x5729c4){const _0x57c7d6=_0x55040e;super(),this['_urlService']=_0x62b88a,this[_0x57c7d6(0x37d)]=_0x277564,this[_0x57c7d6(0x1e8)]=_0x1fa66b,this[_0x57c7d6(0x528)]=_0x42d494,this[_0x57c7d6(0x298)]=_0x11c165,_0x5729c4?_0x5729c4==null||_0x5729c4['whenReady']()[_0x57c7d6(0x4ce)](()=>this[_0x57c7d6(0x442)]()):(this[_0x57c7d6(0x37d)][_0x57c7d6(0x501)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x57c7d6(0x442)]());}async[_0x55040e(0x442)](){const _0x262fbc=_0x55040e,_0x24fc50=this['_urlService'][_0x262fbc(0x38a)](_0x262fbc(0x5be)),_0x36c4d1=this[_0x262fbc(0x20e)][_0x262fbc(0x38a)](_0x262fbc(0x24f));if(!_0x24fc50||!_0x36c4d1){this['_logService'][_0x262fbc(0x501)](_0x262fbc(0x216),_0x262fbc(0x332));return;}switch(Number(_0x36c4d1)){case ce[_0x262fbc(0x2b1)]:{const _0x1fb1e9=await this[_0x262fbc(0x51a)](_0x24fc50);this[_0x262fbc(0x3e3)](_0x1fb1e9);break;}case ce[_0x262fbc(0x337)]:{await this['_loadDoc'](_0x24fc50);break;}default:{this['_logService'][_0x262fbc(0x268)](_0x262fbc(0x216),_0x262fbc(0x24a));break;}}}async['_setupSubUnitSync'](_0x20e452){const _0x2bbc0c=_0x55040e;await this[_0x2bbc0c(0x3e4)](_0x20e452),_0x20e452[_0x2bbc0c(0x5bf)]['pipe'](_0x589f39(this['dispose$']))[_0x2bbc0c(0x1e2)](_0x4bde7b=>{const _0x117ae5=_0x2bbc0c;_0x4bde7b&&this[_0x117ae5(0x2a7)](_0x4bde7b);}),this[_0x2bbc0c(0x20e)]['urlChange$']['pipe'](_0x589f39(this[_0x2bbc0c(0x48c)]))[_0x2bbc0c(0x1e2)](()=>this[_0x2bbc0c(0x3e4)](_0x20e452));}[_0x55040e(0x2a7)](_0x520e5f,_0xc622a6=!0x1){const _0x308119=_0x55040e,_0xf0d41=this[_0x308119(0x20e)]['getParam'](_0x308119(0x23d));_0x520e5f['getSheetId']()!==_0xf0d41&&this[_0x308119(0x20e)]['setParam']('subunit',_0x520e5f['getSheetId'](),_0xc622a6);}async[_0x55040e(0x3e4)](_0x5b7dc4){const _0x26d85d=_0x55040e;var _0x233062;const _0x2b55eb=this[_0x26d85d(0x20e)][_0x26d85d(0x38a)](_0x26d85d(0x23d));if(!_0x2b55eb||!_0x5b7dc4[_0x26d85d(0x314)](_0x2b55eb)){const _0x57e8e8=_0x5b7dc4[_0x26d85d(0x452)]()[0x0],_0x2a1861=_0x5b7dc4[_0x26d85d(0x314)](_0x57e8e8);if(!_0x2a1861)return;this[_0x26d85d(0x2a7)](_0x2a1861,!0x0),await this[_0x26d85d(0x1e8)][_0x26d85d(0x4e4)](_0x5d9c59['id'],{'unitId':_0x5b7dc4[_0x26d85d(0x4f5)](),'subUnitId':_0x57e8e8});return;}((_0x233062=_0x5b7dc4[_0x26d85d(0x3e7)]())==null?void 0x0:_0x233062[_0x26d85d(0x513)]())!==_0x2b55eb&&await this[_0x26d85d(0x1e8)][_0x26d85d(0x4e4)](_0x5d9c59['id'],{'unitId':_0x5b7dc4[_0x26d85d(0x4f5)](),'subUnitId':_0x2b55eb});}async[_0x55040e(0x51a)](_0x5efade){const _0x579fda=_0x55040e;let _0x1d7091=0x0;const _0x340b1e=await this[_0x579fda(0x528)]['loadOfflineData'](_0x5efade);return _0x340b1e&&(_0x340b1e[_0x579fda(0x443)]||_0x340b1e['mutations'][_0x579fda(0x41f)]!==0x0)&&(_0x1d7091=_0x340b1e[_0x579fda(0x28e)]),_0x1d7091===0x0&&this[_0x579fda(0x37d)]['debug'](_0x579fda(0x216),_0x579fda(0x2eb)),this[_0x579fda(0x298)][_0x579fda(0x4f6)](_0x5efade,_0x1d7091);}async['_loadDoc'](_0x15b7ca){const _0xf45ee6=_0x55040e;let _0x247244=0x0;const _0x54eda6=await this[_0xf45ee6(0x528)][_0xf45ee6(0x26d)](_0x15b7ca);return _0x54eda6&&(_0x54eda6[_0xf45ee6(0x443)]||_0x54eda6[_0xf45ee6(0x271)][_0xf45ee6(0x41f)]!==0x0)&&(_0x247244=_0x54eda6[_0xf45ee6(0x28e)]),_0x247244===0x0&&this[_0xf45ee6(0x37d)][_0xf45ee6(0x501)](_0xf45ee6(0x216),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xf45ee6(0x298)][_0xf45ee6(0x540)](_0x15b7ca,_0x247244);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x6916a2),ke(0x2,_0x2983df),ke(0x3,_0xb59c13(q)),ke(0x4,_0xb59c13(_0x10becd)),ke(0x5,_0x31105a(_0x280a26))],Ct);var Ia=Object[_0x55040e(0x4df)],Ca=Object[_0x55040e(0x2ad)],Ea=(_0xdc4a81,_0x24e292,_0x26fed3,_0x5c3737)=>{const _0x17795c=_0x55040e;for(var _0x4202d6=_0x5c3737>0x1?void 0x0:_0x5c3737?Ca(_0x24e292,_0x26fed3):_0x24e292,_0x2afe6d=_0xdc4a81[_0x17795c(0x41f)]-0x1,_0x382365;_0x2afe6d>=0x0;_0x2afe6d--)(_0x382365=_0xdc4a81[_0x2afe6d])&&(_0x4202d6=(_0x5c3737?_0x382365(_0x24e292,_0x26fed3,_0x4202d6):_0x382365(_0x4202d6))||_0x4202d6);return _0x5c3737&&_0x4202d6&&Ia(_0x24e292,_0x26fed3,_0x4202d6),_0x4202d6;},zs=(_0x34afcf,_0x5aa051)=>(_0x559f58,_0x3ecbd2)=>_0x5aa051(_0x559f58,_0x3ecbd2,_0x34afcf);const ba=_0x55040e(0x2b6),Ta=_0x55040e(0x5a1);let Et=class extends _0x32aa41{constructor(_0x2139a7,_0x30e41b){const _0x567e7c=_0x55040e;super(),this[_0x567e7c(0x48a)]=_0x2139a7,this[_0x567e7c(0x2b0)]=_0x30e41b,this['_init']();}[_0x55040e(0x442)](){const _0x5c85c2=_0x55040e;this[_0x5c85c2(0x33a)](this[_0x5c85c2(0x48a)][_0x5c85c2(0x4ae)]['subscribe'](()=>{const _0xcb34ba=_0x5c85c2;var _0x16b1c6;const _0x4daaac=this[_0xcb34ba(0x48a)]['getFocusedUnit']();let _0x235373=(_0x16b1c6=this['_configService'][_0xcb34ba(0x5c3)](ba))!=null?_0x16b1c6:Ta;_0x4daaac instanceof _0x579778&&(_0x235373=_0x4daaac[_0xcb34ba(0x363)]),document[_0xcb34ba(0x3f4)]=_0x235373;}));}};Et=Ea([zs(0x0,_0x10abd5),zs(0x1,_0x1fedc7)],Et);var Ra=Object[_0x55040e(0x4df)],ya=Object['getOwnPropertyDescriptor'],Oa=(_0x21ef3a,_0x13c56f,_0x5d0017,_0x3b1ed6)=>{const _0x15cbf0=_0x55040e;for(var _0x1bb752=_0x3b1ed6>0x1?void 0x0:_0x3b1ed6?ya(_0x13c56f,_0x5d0017):_0x13c56f,_0x203e3d=_0x21ef3a[_0x15cbf0(0x41f)]-0x1,_0x53da8c;_0x203e3d>=0x0;_0x203e3d--)(_0x53da8c=_0x21ef3a[_0x203e3d])&&(_0x1bb752=(_0x3b1ed6?_0x53da8c(_0x13c56f,_0x5d0017,_0x1bb752):_0x53da8c(_0x1bb752))||_0x1bb752);return _0x3b1ed6&&_0x1bb752&&Ra(_0x13c56f,_0x5d0017,_0x1bb752),_0x1bb752;},Wt=(_0x1086ba,_0x39cee6)=>(_0x5efe9f,_0x5ec727)=>_0x39cee6(_0x5efe9f,_0x5ec727,_0x1086ba);let bt=class{constructor(_0x2599ea,_0x44fa5e,_0x3d651e){const _0x2fe3ca=_0x55040e;this[_0x2fe3ca(0x2b0)]=_0x2599ea,this[_0x2fe3ca(0x272)]=_0x44fa5e,this[_0x2fe3ca(0x324)]=_0x3d651e,this[_0x2fe3ca(0x5b2)]();}[_0x55040e(0x5b2)](){const _0x537ff2=_0x55040e;this[_0x537ff2(0x272)][_0x537ff2(0x474)]({'priority':0x1,'interceptor':(_0x2fa8b0,_0x1b1c59)=>_0x1b1c59(_0x2fa8b0)[_0x537ff2(0x55b)](_0x17d64a(async _0x4bc5ca=>{const _0xee3d5c=_0x537ff2,_0x31da2b=_0x4bc5ca;if(_0x31da2b[_0xee3d5c(0x3bd)]===0x191&&window['confirm'](this[_0xee3d5c(0x324)]['t']('auth.needGotoLoginAlert'))){const _0x224819=window[_0xee3d5c(0x1c8)](window[_0xee3d5c(0x3e0)]['href']);window['location'][_0xee3d5c(0x4ba)]=this['_getLoginPath']()+_0xee3d5c(0x41a)+_0x224819;}return _0x31da2b;}))});}[_0x55040e(0x3c9)](){const _0x2c6977=_0x55040e;var _0x434fd8,_0x5f17f7;const _0x1b231e=this[_0x2c6977(0x2b0)]['getConfig'](Ir),_0x48aabb=this[_0x2c6977(0x2b0)][_0x2c6977(0x5c3)](ie);return(_0x5f17f7=(_0x434fd8=_0x48aabb==null?void 0x0:_0x48aabb[_0x2c6977(0x508)])!=null?_0x434fd8:_0x1b231e)!=null?_0x5f17f7:Cr;}};bt=Oa([Wt(0x0,_0x1fedc7),Wt(0x1,_0xb59c13(_0x32e2ee)),Wt(0x2,_0xb59c13(_0x5d0578))],bt);var wa=Object['defineProperty'],Da=Object[_0x55040e(0x2ad)],Pa=(_0x2ff83b,_0x1a28ad,_0x5a9277,_0x4686f5)=>{const _0x4eecca=_0x55040e;for(var _0x92d4d4=_0x4686f5>0x1?void 0x0:_0x4686f5?Da(_0x1a28ad,_0x5a9277):_0x1a28ad,_0x149896=_0x2ff83b[_0x4eecca(0x41f)]-0x1,_0x4c6f53;_0x149896>=0x0;_0x149896--)(_0x4c6f53=_0x2ff83b[_0x149896])&&(_0x92d4d4=(_0x4686f5?_0x4c6f53(_0x1a28ad,_0x5a9277,_0x92d4d4):_0x4c6f53(_0x92d4d4))||_0x92d4d4);return _0x4686f5&&_0x92d4d4&&wa(_0x1a28ad,_0x5a9277,_0x92d4d4),_0x92d4d4;},qs=(_0x41996c,_0x2d68d1)=>(_0x2687bf,_0x10d09a)=>_0x2d68d1(_0x2687bf,_0x10d09a,_0x41996c);const Ua=_0x55040e(0x446),Na=_0x55040e(0x3a2);let cs=class extends _0x32aa41{constructor(_0x2e9364,_0x463410){const _0xbf2d79=_0x55040e;super(),this[_0xbf2d79(0x1dd)]=_0x2e9364,this['_configService']=_0x463410,this[_0xbf2d79(0x4ee)]();}['_initMergeInterceptor'](){const _0x272429=_0x55040e,_0x475343=this;this[_0x272429(0x33a)](this[_0x272429(0x1dd)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2ee28d({'isMatch'(_0x5ef2fe){const _0x34fa1f=_0x272429;var _0x986d44;if(_0x5ef2fe[_0x34fa1f(0x3bb)]===_0x34fa1f(0x46b)&&((_0x986d44=_0x5ef2fe[_0x34fa1f(0x3a0)])!=null&&_0x986d44[_0x34fa1f(0x2e2)])){const {objectID:_0x46136f,objectType:_0x414ad5}=_0x5ef2fe[_0x34fa1f(0x3a0)][_0x34fa1f(0x2e2)]||{};if(!_0x46136f||_0x414ad5===void 0x0)return!0x1;const _0x1b6fb9=_0x475343[_0x34fa1f(0x1e1)]()+'/'+_0x414ad5+_0x34fa1f(0x3c6)+_0x46136f+_0x34fa1f(0x21b);if(_0x5ef2fe[_0x34fa1f(0x210)]===_0x1b6fb9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2384f7){const _0x3c02ce=_0x272429;var _0x1affd4;return(_0x1affd4=_0x2384f7[_0x3c02ce(0x3a0)])==null?void 0x0:_0x1affd4[_0x3c02ce(0x2e2)];},'mergeParamsToRequest'(_0x4524d1,_0x1f31d6){const _0x1c0506=_0x272429,_0x1d965c=_0x475343[_0x1c0506(0x1e1)]()+_0x1c0506(0x2f7),_0x14fbde=_0x4524d1['reduce']((_0x366c8a,_0x29389f)=>{const _0x43179a=_0x1c0506,{unitID:_0x5acf07,objectID:_0x122d59,objectType:_0x18ab78,actions:_0x280e19}=_0x29389f;return _0x366c8a[_0x5acf07]||(_0x366c8a[_0x5acf07]={}),_0x366c8a[_0x5acf07][_0x122d59]||(_0x366c8a[_0x5acf07][_0x122d59]={'objectID':_0x122d59,'objectType':_0x18ab78,'actions':[]}),_0x366c8a[_0x5acf07][_0x122d59][_0x43179a(0x551)][_0x43179a(0x5b6)](..._0x280e19),_0x366c8a;},{}),_0xc72625=[];for(const _0x5849ed in _0x14fbde)for(const _0x1cf9d5 in _0x14fbde[_0x5849ed]){const {actions:_0x489f2b,objectType:_0x2e73eb}=_0x14fbde[_0x5849ed][_0x1cf9d5],_0xa9fb87=[...new Set(_0x489f2b)];_0xc72625[_0x1c0506(0x5b6)]({'unitID':_0x5849ed,'objectID':_0x1cf9d5,'objectType':_0x2e73eb,'actions':_0xa9fb87});}return new _0x56c16f(_0x1c0506(0x46b),_0x1d965c,{'headers':_0x1f31d6[_0x1c0506(0x4e3)],'withCredentials':_0x1f31d6[_0x1c0506(0x502)],'responseType':_0x1f31d6[_0x1c0506(0x1f6)],'body':{'requests':_0xc72625}});}},{'distributeResult'(_0x1e494f,_0xdf118){const _0x1711b5=_0x272429,{objectActions:_0x518f71}=_0x1e494f;return _0xdf118[_0x1711b5(0x34a)](_0xadc53a=>{const _0x186667=_0x1711b5,{unitID:_0x149c2b,objectID:_0x4c112a,actions:_0x336ed1}=_0xadc53a,_0x53877d=_0x518f71['find'](_0x5e4538=>_0x5e4538[_0x186667(0x54d)]===_0x149c2b&&_0x5e4538['objectID']===_0x4c112a),_0x34fb6f=_0x336ed1['map'](_0x49bdec=>_0x53877d==null?void 0x0:_0x53877d['actions'][_0x186667(0x42b)](_0x5a1607=>_0x5a1607[_0x186667(0x3b2)]===_0x49bdec))[_0x186667(0x275)](_0x5444e1=>!!_0x5444e1);return{'config':_0xadc53a,'result':{'actions':_0x34fb6f,'error':_0x1e494f[_0x186667(0x268)]}};});}})}));}[_0x55040e(0x1e1)](){const _0x173e1d=_0x55040e;var _0x565a48,_0x5ea8f5;const _0x2a47b7=this[_0x173e1d(0x2b0)][_0x173e1d(0x5c3)](Ua),_0x27816a=this['_configService']['getConfig'](ie);return(_0x5ea8f5=(_0x565a48=_0x27816a==null?void 0x0:_0x27816a[_0x173e1d(0x3e2)])!=null?_0x565a48:_0x2a47b7)!=null?_0x5ea8f5:Na;}async[_0x55040e(0x451)](_0x4476c6){const _0x1eedce=_0x55040e,_0x1f2a42=this['_getAPIPrefixPath']()+'/'+_0x4476c6[_0x1eedce(0x52f)]+_0x1eedce(0x2e6);return(await this[_0x1eedce(0x1dd)]['post'](_0x1f2a42,{'body':_0x4476c6}))[_0x1eedce(0x2e2)]['objectID']||'';}async[_0x55040e(0x3dc)](_0x28a6e9){const _0x41ad50=_0x55040e,_0xd8f393=this[_0x41ad50(0x1e1)]()+'/-/object/list';return(await this[_0x41ad50(0x1dd)]['post'](_0xd8f393,{'body':_0x28a6e9}))[_0x41ad50(0x2e2)]['objects'];}async[_0x55040e(0x2db)](_0x103d45){const _0x1f2f92=_0x55040e,_0x13118e=this[_0x1f2f92(0x1e1)]()+'/'+_0x103d45[_0x1f2f92(0x52f)]+_0x1f2f92(0x3c6)+_0x103d45[_0x1f2f92(0x5a8)];await this[_0x1f2f92(0x1dd)][_0x1f2f92(0x3c5)](_0x13118e,{'body':_0x103d45});}async[_0x55040e(0x2e4)](_0x3c5ebb){const _0x3897fb=_0x55040e,_0x116fa5=this[_0x3897fb(0x1e1)]()+'/'+_0x3c5ebb[_0x3897fb(0x52f)]+_0x3897fb(0x3c6)+_0x3c5ebb[_0x3897fb(0x5a8)]+'/allowed';return(await this['_HTTPService']['post'](_0x116fa5,{'body':_0x3c5ebb}))[_0x3897fb(0x2e2)]['actions'];}async[_0x55040e(0x487)](_0x555956){const _0x20148b=_0x55040e,_0x5bfbf4=this[_0x20148b(0x1e1)]()+_0x20148b(0x2f7);return(await this['_HTTPService'][_0x20148b(0x407)](_0x5bfbf4,{'body':{'requests':_0x555956}}))[_0x20148b(0x2e2)]['objectActions'];}async[_0x55040e(0x1fe)](_0x79fc74){const _0x7cf84d=_0x55040e,_0x368f0b=this[_0x7cf84d(0x1e1)]()+'/'+_0x79fc74[_0x7cf84d(0x52f)]+'/role',_0x29bfb8=await this[_0x7cf84d(0x1dd)]['post'](_0x368f0b,{'body':_0x79fc74});return{'roles':_0x29bfb8[_0x7cf84d(0x2e2)][_0x7cf84d(0x47c)],'actions':_0x29bfb8[_0x7cf84d(0x2e2)]['actions']};}async['deleteCollaborator'](_0xb49877){const _0x4aa0c=_0x55040e,_0x140ac8=this[_0x4aa0c(0x1e1)]()+_0x4aa0c(0x28c);await this[_0x4aa0c(0x1dd)][_0x4aa0c(0x4b5)](_0x140ac8,{'params':{'collaboratorID':_0xb49877[_0x4aa0c(0x301)],'objectID':_0xb49877[_0x4aa0c(0x5a8)],'unitID':_0xb49877[_0x4aa0c(0x54d)]}});}async[_0x55040e(0x46f)](_0x3e0ea7){const _0x5b1f91=_0x55040e,_0x1ef916=this[_0x5b1f91(0x1e1)]()+_0x5b1f91(0x28c);await this[_0x5b1f91(0x1dd)][_0x5b1f91(0x20c)](_0x1ef916,{'body':_0x3e0ea7});}async[_0x55040e(0x1df)](_0x33ef77){const _0xd09217=_0x55040e,_0x3376bb=this[_0xd09217(0x1e1)]()+_0xd09217(0x28c);await this[_0xd09217(0x1dd)][_0xd09217(0x407)](_0x3376bb,{'body':_0x33ef77});}async[_0x55040e(0x50e)](_0x4d8557){const _0x6872bd=_0x55040e,_0x5bfdeb=this[_0x6872bd(0x1e1)]()+_0x6872bd(0x28c);return(await this[_0x6872bd(0x1dd)][_0x6872bd(0x25c)](_0x5bfdeb,{'params':{'objectID':_0x4d8557[_0x6872bd(0x5a8)],'unitID':_0x4d8557[_0x6872bd(0x54d)]}}))[_0x6872bd(0x2e2)][_0x6872bd(0x2ff)];}async[_0x55040e(0x58c)](_0x420170){const _0x2e9756=_0x55040e,_0x4402d3=this[_0x2e9756(0x1e1)]()+'/collaborator';await this[_0x2e9756(0x1dd)][_0x2e9756(0x3c5)](_0x4402d3,{'body':_0x420170});}};cs=Pa([qs(0x0,_0xb59c13(_0x32e2ee)),qs(0x1,_0xb59c13(_0x1fedc7))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x591898){const _0x1ca3c4=_0x55040e;return _0x591898&&_0x591898[_0x1ca3c4(0x328)]&&Object[_0x1ca3c4(0x4ea)][_0x1ca3c4(0x2be)][_0x1ca3c4(0x477)](_0x591898,_0x1ca3c4(0x318))?_0x591898[_0x1ca3c4(0x318)]:_0x591898;}var ji={'exports':{}};function Aa(_0x183020){const _0x217202=_0x55040e;throw new Error(_0x217202(0x3b7)+_0x183020+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ft={'exports':{}},Xs;function ue(){return Xs||(Xs=0x1,function(_0x53289f,_0xc01177){(function(_0x1db1f9,_0x2fd07c){_0x53289f['exports']=_0x2fd07c();}(Z,function(){var _0x4cee9f=_0x4cee9f||function(_0x5e1cf1,_0x427642){const _0x342717=_0x1c89;var _0x28463a;if(typeof window<'u'&&window[_0x342717(0x215)]&&(_0x28463a=window[_0x342717(0x215)]),typeof self<'u'&&self[_0x342717(0x215)]&&(_0x28463a=self[_0x342717(0x215)]),typeof globalThis<'u'&&globalThis[_0x342717(0x215)]&&(_0x28463a=globalThis['crypto']),!_0x28463a&&typeof window<'u'&&window[_0x342717(0x5b8)]&&(_0x28463a=window[_0x342717(0x5b8)]),!_0x28463a&&typeof Z<'u'&&Z[_0x342717(0x215)]&&(_0x28463a=Z[_0x342717(0x215)]),!_0x28463a&&typeof Aa==_0x342717(0x519))try{_0x28463a=require(_0x342717(0x215));}catch{}var _0x4ed3a2=function(){const _0x1f8815=_0x342717;if(_0x28463a){if(typeof _0x28463a[_0x1f8815(0x2ac)]=='function')try{return _0x28463a[_0x1f8815(0x2ac)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x28463a[_0x1f8815(0x556)]=='function')try{return _0x28463a['randomBytes'](0x4)[_0x1f8815(0x42a)]();}catch{}}throw new Error(_0x1f8815(0x488));},_0xc32a85=Object[_0x342717(0x451)]||(function(){function _0x235456(){}return function(_0x3429af){const _0x2ea4b9=_0x1c89;var _0x2550df;return _0x235456[_0x2ea4b9(0x4ea)]=_0x3429af,_0x2550df=new _0x235456(),_0x235456['prototype']=null,_0x2550df;};}()),_0x11356f={},_0x4418b6=_0x11356f[_0x342717(0x53b)]={},_0x52d18e=_0x4418b6[_0x342717(0x20d)]=(function(){return{'extend':function(_0x43d936){const _0x3ddd13=_0x1c89;var _0x1a0057=_0xc32a85(this);return _0x43d936&&_0x1a0057[_0x3ddd13(0x3e9)](_0x43d936),(!_0x1a0057[_0x3ddd13(0x2be)](_0x3ddd13(0x5b2))||this[_0x3ddd13(0x5b2)]===_0x1a0057[_0x3ddd13(0x5b2)])&&(_0x1a0057[_0x3ddd13(0x5b2)]=function(){const _0x136320=_0x3ddd13;_0x1a0057[_0x136320(0x3b5)][_0x136320(0x5b2)][_0x136320(0x5bc)](this,arguments);}),_0x1a0057[_0x3ddd13(0x5b2)]['prototype']=_0x1a0057,_0x1a0057[_0x3ddd13(0x3b5)]=this,_0x1a0057;},'create':function(){const _0x57d35a=_0x1c89;var _0xd067a4=this[_0x57d35a(0x592)]();return _0xd067a4[_0x57d35a(0x5b2)][_0x57d35a(0x5bc)](_0xd067a4,arguments),_0xd067a4;},'init':function(){},'mixIn':function(_0x192942){const _0x5c5b4d=_0x1c89;for(var _0x15cc48 in _0x192942)_0x192942[_0x5c5b4d(0x2be)](_0x15cc48)&&(this[_0x15cc48]=_0x192942[_0x15cc48]);_0x192942[_0x5c5b4d(0x2be)]('toString')&&(this[_0x5c5b4d(0x522)]=_0x192942[_0x5c5b4d(0x522)]);},'clone':function(){const _0x11591f=_0x1c89;return this[_0x11591f(0x5b2)][_0x11591f(0x4ea)][_0x11591f(0x592)](this);}};}()),_0x4374ec=_0x4418b6[_0x342717(0x295)]=_0x52d18e[_0x342717(0x592)]({'init':function(_0x13d795,_0x240cce){const _0x52bec6=_0x342717;_0x13d795=this[_0x52bec6(0x1f8)]=_0x13d795||[],_0x240cce!=_0x427642?this[_0x52bec6(0x204)]=_0x240cce:this[_0x52bec6(0x204)]=_0x13d795['length']*0x4;},'toString':function(_0x2813a5){return(_0x2813a5||_0x45020c)['stringify'](this);},'concat':function(_0x21a195){const _0x34885b=_0x342717;var _0x261e5e=this['words'],_0x4993a2=_0x21a195[_0x34885b(0x1f8)],_0x5afb66=this[_0x34885b(0x204)],_0x4f186a=_0x21a195[_0x34885b(0x204)];if(this[_0x34885b(0x457)](),_0x5afb66%0x4)for(var _0x34b7d7=0x0;_0x34b7d7<_0x4f186a;_0x34b7d7++){var _0x5c1799=_0x4993a2[_0x34b7d7>>>0x2]>>>0x18-_0x34b7d7%0x4*0x8&0xff;_0x261e5e[_0x5afb66+_0x34b7d7>>>0x2]|=_0x5c1799<<0x18-(_0x5afb66+_0x34b7d7)%0x4*0x8;}else{for(var _0x1e5180=0x0;_0x1e5180<_0x4f186a;_0x1e5180+=0x4)_0x261e5e[_0x5afb66+_0x1e5180>>>0x2]=_0x4993a2[_0x1e5180>>>0x2];}return this[_0x34885b(0x204)]+=_0x4f186a,this;},'clamp':function(){const _0x269768=_0x342717;var _0x986fce=this['words'],_0x4860c5=this[_0x269768(0x204)];_0x986fce[_0x4860c5>>>0x2]&=0xffffffff<<0x20-_0x4860c5%0x4*0x8,_0x986fce[_0x269768(0x41f)]=_0x5e1cf1[_0x269768(0x223)](_0x4860c5/0x4);},'clone':function(){const _0xe924cb=_0x342717;var _0x31fba6=_0x52d18e['clone'][_0xe924cb(0x477)](this);return _0x31fba6[_0xe924cb(0x1f8)]=this[_0xe924cb(0x1f8)][_0xe924cb(0x347)](0x0),_0x31fba6;},'random':function(_0x166245){const _0x9a201a=_0x342717;for(var _0x22fdb8=[],_0x5a26b0=0x0;_0x5a26b0<_0x166245;_0x5a26b0+=0x4)_0x22fdb8[_0x9a201a(0x5b6)](_0x4ed3a2());return new _0x4374ec['init'](_0x22fdb8,_0x166245);}}),_0x420da7=_0x11356f['enc']={},_0x45020c=_0x420da7[_0x342717(0x590)]={'stringify':function(_0x2883c2){const _0x1dd945=_0x342717;for(var _0x5c9934=_0x2883c2[_0x1dd945(0x1f8)],_0xe04588=_0x2883c2[_0x1dd945(0x204)],_0x29eb9a=[],_0x673939=0x0;_0x673939<_0xe04588;_0x673939++){var _0x292e63=_0x5c9934[_0x673939>>>0x2]>>>0x18-_0x673939%0x4*0x8&0xff;_0x29eb9a[_0x1dd945(0x5b6)]((_0x292e63>>>0x4)['toString'](0x10)),_0x29eb9a[_0x1dd945(0x5b6)]((_0x292e63&0xf)[_0x1dd945(0x522)](0x10));}return _0x29eb9a[_0x1dd945(0x3f1)]('');},'parse':function(_0x4455fb){const _0x56b1cf=_0x342717;for(var _0x531d5a=_0x4455fb[_0x56b1cf(0x41f)],_0x39cbbe=[],_0x3cec0f=0x0;_0x3cec0f<_0x531d5a;_0x3cec0f+=0x2)_0x39cbbe[_0x3cec0f>>>0x3]|=parseInt(_0x4455fb['substr'](_0x3cec0f,0x2),0x10)<<0x18-_0x3cec0f%0x8*0x4;return new _0x4374ec['init'](_0x39cbbe,_0x531d5a/0x2);}},_0x2722e6=_0x420da7[_0x342717(0x3da)]={'stringify':function(_0x14e460){const _0x2edeb7=_0x342717;for(var _0x5868b3=_0x14e460[_0x2edeb7(0x1f8)],_0x402493=_0x14e460[_0x2edeb7(0x204)],_0x2f2c36=[],_0x2b9b42=0x0;_0x2b9b42<_0x402493;_0x2b9b42++){var _0x4f5864=_0x5868b3[_0x2b9b42>>>0x2]>>>0x18-_0x2b9b42%0x4*0x8&0xff;_0x2f2c36[_0x2edeb7(0x5b6)](String['fromCharCode'](_0x4f5864));}return _0x2f2c36[_0x2edeb7(0x3f1)]('');},'parse':function(_0x594d26){const _0xf7cc90=_0x342717;for(var _0x5f3ea4=_0x594d26[_0xf7cc90(0x41f)],_0x38243b=[],_0x389135=0x0;_0x389135<_0x5f3ea4;_0x389135++)_0x38243b[_0x389135>>>0x2]|=(_0x594d26[_0xf7cc90(0x263)](_0x389135)&0xff)<<0x18-_0x389135%0x4*0x8;return new _0x4374ec[(_0xf7cc90(0x5b2))](_0x38243b,_0x5f3ea4);}},_0x50874c=_0x420da7[_0x342717(0x1e0)]={'stringify':function(_0x1384b1){const _0x53b8c0=_0x342717;try{return decodeURIComponent(escape(_0x2722e6[_0x53b8c0(0x434)](_0x1384b1)));}catch{throw new Error(_0x53b8c0(0x3ad));}},'parse':function(_0x1b279f){const _0x46863c=_0x342717;return _0x2722e6[_0x46863c(0x46c)](unescape(encodeURIComponent(_0x1b279f)));}},_0x291196=_0x4418b6[_0x342717(0x58b)]=_0x52d18e[_0x342717(0x592)]({'reset':function(){const _0xf61f6a=_0x342717;this['_data']=new _0x4374ec['init'](),this[_0xf61f6a(0x2fc)]=0x0;},'_append':function(_0x5a247c){const _0x4981c3=_0x342717;typeof _0x5a247c==_0x4981c3(0x54c)&&(_0x5a247c=_0x50874c['parse'](_0x5a247c)),this[_0x4981c3(0x221)]['concat'](_0x5a247c),this[_0x4981c3(0x2fc)]+=_0x5a247c['sigBytes'];},'_process':function(_0x50ecf0){const _0x2f875f=_0x342717;var _0x1f7a4e,_0x439171=this[_0x2f875f(0x221)],_0x15c367=_0x439171[_0x2f875f(0x1f8)],_0x5c14a6=_0x439171[_0x2f875f(0x204)],_0x31045f=this[_0x2f875f(0x565)],_0x30c00c=_0x31045f*0x4,_0x475e74=_0x5c14a6/_0x30c00c;_0x50ecf0?_0x475e74=_0x5e1cf1[_0x2f875f(0x223)](_0x475e74):_0x475e74=_0x5e1cf1[_0x2f875f(0x43d)]((_0x475e74|0x0)-this[_0x2f875f(0x42f)],0x0);var _0x497d75=_0x475e74*_0x31045f,_0x3f476b=_0x5e1cf1[_0x2f875f(0x4a3)](_0x497d75*0x4,_0x5c14a6);if(_0x497d75){for(var _0x4e4053=0x0;_0x4e4053<_0x497d75;_0x4e4053+=_0x31045f)this[_0x2f875f(0x43f)](_0x15c367,_0x4e4053);_0x1f7a4e=_0x15c367[_0x2f875f(0x4b1)](0x0,_0x497d75),_0x439171[_0x2f875f(0x204)]-=_0x3f476b;}return new _0x4374ec[(_0x2f875f(0x5b2))](_0x1f7a4e,_0x3f476b);},'clone':function(){const _0x2f9d14=_0x342717;var _0x3c8e17=_0x52d18e[_0x2f9d14(0x227)][_0x2f9d14(0x477)](this);return _0x3c8e17[_0x2f9d14(0x221)]=this[_0x2f9d14(0x221)][_0x2f9d14(0x227)](),_0x3c8e17;},'_minBufferSize':0x0});_0x4418b6[_0x342717(0x2a6)]=_0x291196['extend']({'cfg':_0x52d18e[_0x342717(0x592)](),'init':function(_0x4f09ee){const _0x2036da=_0x342717;this[_0x2036da(0x345)]=this[_0x2036da(0x345)][_0x2036da(0x592)](_0x4f09ee),this['reset']();},'reset':function(){const _0xe63a43=_0x342717;_0x291196['reset'][_0xe63a43(0x477)](this),this[_0xe63a43(0x543)]();},'update':function(_0x44e613){const _0x655106=_0x342717;return this[_0x655106(0x23c)](_0x44e613),this[_0x655106(0x43e)](),this;},'finalize':function(_0x2000d2){const _0x1467cc=_0x342717;_0x2000d2&&this[_0x1467cc(0x23c)](_0x2000d2);var _0x21c648=this[_0x1467cc(0x1ef)]();return _0x21c648;},'blockSize':0x10,'_createHelper':function(_0x38448b){return function(_0xad1c02,_0x41a4aa){const _0x7ee3ea=_0x1c89;return new _0x38448b[(_0x7ee3ea(0x5b2))](_0x41a4aa)['finalize'](_0xad1c02);};},'_createHmacHelper':function(_0x30b5a2){return function(_0x2ca812,_0x65c083){const _0xfa1f8a=_0x1c89;return new _0xabc305[(_0xfa1f8a(0x256))][(_0xfa1f8a(0x5b2))](_0x30b5a2,_0x65c083)[_0xfa1f8a(0x20a)](_0x2ca812);};}});var _0xabc305=_0x11356f['algo']={};return _0x11356f;}(Math);return _0x4cee9f;}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Bi(){const _0x4100f9=_0x55040e;return Js||(Js=0x1,function(_0x1981d3,_0x317f43){(function(_0x37c2d9,_0x45cf4b){_0x1981d3['exports']=_0x45cf4b(ue());}(Z,function(_0x24e9d3){const _0x239db2=_0x1c89;return(function(){const _0x6eee55=_0x1c89;var _0x68bbe8=_0x24e9d3,_0x53848e=_0x68bbe8[_0x6eee55(0x53b)],_0xa4ff8a=_0x53848e[_0x6eee55(0x295)],_0x4d5e53=_0x68bbe8[_0x6eee55(0x381)];_0x4d5e53[_0x6eee55(0x3c0)]={'stringify':function(_0x261436){const _0x178198=_0x6eee55;var _0x1ceff3=_0x261436['words'],_0x5da3d7=_0x261436[_0x178198(0x204)],_0x58633d=this[_0x178198(0x3d6)];_0x261436[_0x178198(0x457)]();for(var _0x3f283c=[],_0x17a46c=0x0;_0x17a46c<_0x5da3d7;_0x17a46c+=0x3)for(var _0x127840=_0x1ceff3[_0x17a46c>>>0x2]>>>0x18-_0x17a46c%0x4*0x8&0xff,_0x5e3f6e=_0x1ceff3[_0x17a46c+0x1>>>0x2]>>>0x18-(_0x17a46c+0x1)%0x4*0x8&0xff,_0x2ab812=_0x1ceff3[_0x17a46c+0x2>>>0x2]>>>0x18-(_0x17a46c+0x2)%0x4*0x8&0xff,_0x3246f5=_0x127840<<0x10|_0x5e3f6e<<0x8|_0x2ab812,_0x5bd3e4=0x0;_0x5bd3e4<0x4&&_0x17a46c+_0x5bd3e4*0.75<_0x5da3d7;_0x5bd3e4++)_0x3f283c['push'](_0x58633d['charAt'](_0x3246f5>>>0x6*(0x3-_0x5bd3e4)&0x3f));var _0x5b5c08=_0x58633d[_0x178198(0x344)](0x40);if(_0x5b5c08){for(;_0x3f283c['length']%0x4;)_0x3f283c[_0x178198(0x5b6)](_0x5b5c08);}return _0x3f283c[_0x178198(0x3f1)]('');},'parse':function(_0x160989){const _0x33e9db=_0x6eee55;var _0x277fbc=_0x160989['length'],_0x4257c1=this[_0x33e9db(0x3d6)],_0x5afd99=this['_reverseMap'];if(!_0x5afd99){_0x5afd99=this[_0x33e9db(0x274)]=[];for(var _0xcb80f0=0x0;_0xcb80f0<_0x4257c1['length'];_0xcb80f0++)_0x5afd99[_0x4257c1[_0x33e9db(0x263)](_0xcb80f0)]=_0xcb80f0;}var _0x475ac8=_0x4257c1['charAt'](0x40);if(_0x475ac8){var _0x2cdd5f=_0x160989[_0x33e9db(0x289)](_0x475ac8);_0x2cdd5f!==-0x1&&(_0x277fbc=_0x2cdd5f);}return _0x26f985(_0x160989,_0x277fbc,_0x5afd99);},'_map':_0x6eee55(0x4cf)};function _0x26f985(_0x46c86d,_0x3faf0c,_0x16c61e){const _0x591854=_0x6eee55;for(var _0xd9cb95=[],_0x4de85e=0x0,_0x519311=0x0;_0x519311<_0x3faf0c;_0x519311++)if(_0x519311%0x4){var _0xfdedf1=_0x16c61e[_0x46c86d[_0x591854(0x263)](_0x519311-0x1)]<<_0x519311%0x4*0x2,_0x25c819=_0x16c61e[_0x46c86d[_0x591854(0x263)](_0x519311)]>>>0x6-_0x519311%0x4*0x2,_0x263eea=_0xfdedf1|_0x25c819;_0xd9cb95[_0x4de85e>>>0x2]|=_0x263eea<<0x18-_0x4de85e%0x4*0x8,_0x4de85e++;}return _0xa4ff8a[_0x591854(0x451)](_0xd9cb95,_0x4de85e);}}()),_0x24e9d3[_0x239db2(0x381)][_0x239db2(0x3c0)];}));}(Vt)),Vt[_0x4100f9(0x56b)];}var Gt={'exports':{}},Zs;function Ma(){const _0xe52a66=_0x55040e;return Zs||(Zs=0x1,function(_0x25e037,_0x1d88ed){(function(_0x2f5151,_0x1c9b78){_0x25e037['exports']=_0x1c9b78(ue());}(Z,function(_0x2debc3){const _0x10d751=_0x1c89;return function(_0x5dc482){const _0x4d1bea=_0x1c89;var _0x4254ad=_0x2debc3,_0x49b126=_0x4254ad[_0x4d1bea(0x53b)],_0x3f2174=_0x49b126[_0x4d1bea(0x295)],_0x371a92=_0x49b126['Hasher'],_0x1978f7=_0x4254ad[_0x4d1bea(0x273)],_0x1433f4=[];(function(){const _0x1505a1=_0x4d1bea;for(var _0x30f166=0x0;_0x30f166<0x40;_0x30f166++)_0x1433f4[_0x30f166]=_0x5dc482[_0x1505a1(0x32d)](_0x5dc482[_0x1505a1(0x24e)](_0x30f166+0x1))*0x100000000|0x0;}());var _0x366563=_0x1978f7[_0x4d1bea(0x380)]=_0x371a92[_0x4d1bea(0x592)]({'_doReset':function(){const _0x21070b=_0x4d1bea;this[_0x21070b(0x5a2)]=new _0x3f2174['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x59f4cf,_0x22ea72){const _0x4cb3a2=_0x4d1bea;for(var _0x405ea7=0x0;_0x405ea7<0x10;_0x405ea7++){var _0x1518f8=_0x22ea72+_0x405ea7,_0x53d4c5=_0x59f4cf[_0x1518f8];_0x59f4cf[_0x1518f8]=(_0x53d4c5<<0x8|_0x53d4c5>>>0x18)&0xff00ff|(_0x53d4c5<<0x18|_0x53d4c5>>>0x8)&0xff00ff00;}var _0xf92164=this['_hash'][_0x4cb3a2(0x1f8)],_0x1aac95=_0x59f4cf[_0x22ea72+0x0],_0x3510a5=_0x59f4cf[_0x22ea72+0x1],_0x31e677=_0x59f4cf[_0x22ea72+0x2],_0xc7b6ae=_0x59f4cf[_0x22ea72+0x3],_0x3a92d1=_0x59f4cf[_0x22ea72+0x4],_0x5b00fe=_0x59f4cf[_0x22ea72+0x5],_0x22ede9=_0x59f4cf[_0x22ea72+0x6],_0x4b7070=_0x59f4cf[_0x22ea72+0x7],_0x7155a1=_0x59f4cf[_0x22ea72+0x8],_0x5e4af0=_0x59f4cf[_0x22ea72+0x9],_0x5b6ce4=_0x59f4cf[_0x22ea72+0xa],_0x21e341=_0x59f4cf[_0x22ea72+0xb],_0x56be0c=_0x59f4cf[_0x22ea72+0xc],_0x46f017=_0x59f4cf[_0x22ea72+0xd],_0x233a11=_0x59f4cf[_0x22ea72+0xe],_0x50202e=_0x59f4cf[_0x22ea72+0xf],_0x33fa5e=_0xf92164[0x0],_0xfb6e2a=_0xf92164[0x1],_0x10540e=_0xf92164[0x2],_0x409155=_0xf92164[0x3];_0x33fa5e=_0x510d29(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x1aac95,0x7,_0x1433f4[0x0]),_0x409155=_0x510d29(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x3510a5,0xc,_0x1433f4[0x1]),_0x10540e=_0x510d29(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x31e677,0x11,_0x1433f4[0x2]),_0xfb6e2a=_0x510d29(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0xc7b6ae,0x16,_0x1433f4[0x3]),_0x33fa5e=_0x510d29(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x3a92d1,0x7,_0x1433f4[0x4]),_0x409155=_0x510d29(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x5b00fe,0xc,_0x1433f4[0x5]),_0x10540e=_0x510d29(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x22ede9,0x11,_0x1433f4[0x6]),_0xfb6e2a=_0x510d29(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x4b7070,0x16,_0x1433f4[0x7]),_0x33fa5e=_0x510d29(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x7155a1,0x7,_0x1433f4[0x8]),_0x409155=_0x510d29(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x5e4af0,0xc,_0x1433f4[0x9]),_0x10540e=_0x510d29(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x5b6ce4,0x11,_0x1433f4[0xa]),_0xfb6e2a=_0x510d29(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x21e341,0x16,_0x1433f4[0xb]),_0x33fa5e=_0x510d29(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x56be0c,0x7,_0x1433f4[0xc]),_0x409155=_0x510d29(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x46f017,0xc,_0x1433f4[0xd]),_0x10540e=_0x510d29(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x233a11,0x11,_0x1433f4[0xe]),_0xfb6e2a=_0x510d29(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x50202e,0x16,_0x1433f4[0xf]),_0x33fa5e=_0x57b5ff(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x3510a5,0x5,_0x1433f4[0x10]),_0x409155=_0x57b5ff(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x22ede9,0x9,_0x1433f4[0x11]),_0x10540e=_0x57b5ff(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x21e341,0xe,_0x1433f4[0x12]),_0xfb6e2a=_0x57b5ff(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x1aac95,0x14,_0x1433f4[0x13]),_0x33fa5e=_0x57b5ff(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x5b00fe,0x5,_0x1433f4[0x14]),_0x409155=_0x57b5ff(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x5b6ce4,0x9,_0x1433f4[0x15]),_0x10540e=_0x57b5ff(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x50202e,0xe,_0x1433f4[0x16]),_0xfb6e2a=_0x57b5ff(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x3a92d1,0x14,_0x1433f4[0x17]),_0x33fa5e=_0x57b5ff(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x5e4af0,0x5,_0x1433f4[0x18]),_0x409155=_0x57b5ff(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x233a11,0x9,_0x1433f4[0x19]),_0x10540e=_0x57b5ff(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0xc7b6ae,0xe,_0x1433f4[0x1a]),_0xfb6e2a=_0x57b5ff(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x7155a1,0x14,_0x1433f4[0x1b]),_0x33fa5e=_0x57b5ff(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x46f017,0x5,_0x1433f4[0x1c]),_0x409155=_0x57b5ff(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x31e677,0x9,_0x1433f4[0x1d]),_0x10540e=_0x57b5ff(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x4b7070,0xe,_0x1433f4[0x1e]),_0xfb6e2a=_0x57b5ff(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x56be0c,0x14,_0x1433f4[0x1f]),_0x33fa5e=_0x405641(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x5b00fe,0x4,_0x1433f4[0x20]),_0x409155=_0x405641(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x7155a1,0xb,_0x1433f4[0x21]),_0x10540e=_0x405641(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x21e341,0x10,_0x1433f4[0x22]),_0xfb6e2a=_0x405641(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x233a11,0x17,_0x1433f4[0x23]),_0x33fa5e=_0x405641(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x3510a5,0x4,_0x1433f4[0x24]),_0x409155=_0x405641(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x3a92d1,0xb,_0x1433f4[0x25]),_0x10540e=_0x405641(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x4b7070,0x10,_0x1433f4[0x26]),_0xfb6e2a=_0x405641(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x5b6ce4,0x17,_0x1433f4[0x27]),_0x33fa5e=_0x405641(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x46f017,0x4,_0x1433f4[0x28]),_0x409155=_0x405641(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x1aac95,0xb,_0x1433f4[0x29]),_0x10540e=_0x405641(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0xc7b6ae,0x10,_0x1433f4[0x2a]),_0xfb6e2a=_0x405641(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x22ede9,0x17,_0x1433f4[0x2b]),_0x33fa5e=_0x405641(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x5e4af0,0x4,_0x1433f4[0x2c]),_0x409155=_0x405641(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x56be0c,0xb,_0x1433f4[0x2d]),_0x10540e=_0x405641(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x50202e,0x10,_0x1433f4[0x2e]),_0xfb6e2a=_0x405641(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x31e677,0x17,_0x1433f4[0x2f]),_0x33fa5e=_0x52a49b(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x1aac95,0x6,_0x1433f4[0x30]),_0x409155=_0x52a49b(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x4b7070,0xa,_0x1433f4[0x31]),_0x10540e=_0x52a49b(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x233a11,0xf,_0x1433f4[0x32]),_0xfb6e2a=_0x52a49b(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x5b00fe,0x15,_0x1433f4[0x33]),_0x33fa5e=_0x52a49b(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x56be0c,0x6,_0x1433f4[0x34]),_0x409155=_0x52a49b(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0xc7b6ae,0xa,_0x1433f4[0x35]),_0x10540e=_0x52a49b(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x5b6ce4,0xf,_0x1433f4[0x36]),_0xfb6e2a=_0x52a49b(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x3510a5,0x15,_0x1433f4[0x37]),_0x33fa5e=_0x52a49b(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x7155a1,0x6,_0x1433f4[0x38]),_0x409155=_0x52a49b(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x50202e,0xa,_0x1433f4[0x39]),_0x10540e=_0x52a49b(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x22ede9,0xf,_0x1433f4[0x3a]),_0xfb6e2a=_0x52a49b(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x46f017,0x15,_0x1433f4[0x3b]),_0x33fa5e=_0x52a49b(_0x33fa5e,_0xfb6e2a,_0x10540e,_0x409155,_0x3a92d1,0x6,_0x1433f4[0x3c]),_0x409155=_0x52a49b(_0x409155,_0x33fa5e,_0xfb6e2a,_0x10540e,_0x21e341,0xa,_0x1433f4[0x3d]),_0x10540e=_0x52a49b(_0x10540e,_0x409155,_0x33fa5e,_0xfb6e2a,_0x31e677,0xf,_0x1433f4[0x3e]),_0xfb6e2a=_0x52a49b(_0xfb6e2a,_0x10540e,_0x409155,_0x33fa5e,_0x5e4af0,0x15,_0x1433f4[0x3f]),_0xf92164[0x0]=_0xf92164[0x0]+_0x33fa5e|0x0,_0xf92164[0x1]=_0xf92164[0x1]+_0xfb6e2a|0x0,_0xf92164[0x2]=_0xf92164[0x2]+_0x10540e|0x0,_0xf92164[0x3]=_0xf92164[0x3]+_0x409155|0x0;},'_doFinalize':function(){const _0x5a78e8=_0x4d1bea;var _0x5bd882=this[_0x5a78e8(0x221)],_0x4ffb8a=_0x5bd882[_0x5a78e8(0x1f8)],_0x3432a1=this['_nDataBytes']*0x8,_0x28b99d=_0x5bd882[_0x5a78e8(0x204)]*0x8;_0x4ffb8a[_0x28b99d>>>0x5]|=0x80<<0x18-_0x28b99d%0x20;var _0x550207=_0x5dc482[_0x5a78e8(0x2ef)](_0x3432a1/0x100000000),_0x5b723d=_0x3432a1;_0x4ffb8a[(_0x28b99d+0x40>>>0x9<<0x4)+0xf]=(_0x550207<<0x8|_0x550207>>>0x18)&0xff00ff|(_0x550207<<0x18|_0x550207>>>0x8)&0xff00ff00,_0x4ffb8a[(_0x28b99d+0x40>>>0x9<<0x4)+0xe]=(_0x5b723d<<0x8|_0x5b723d>>>0x18)&0xff00ff|(_0x5b723d<<0x18|_0x5b723d>>>0x8)&0xff00ff00,_0x5bd882[_0x5a78e8(0x204)]=(_0x4ffb8a['length']+0x1)*0x4,this[_0x5a78e8(0x43e)]();for(var _0x222798=this['_hash'],_0x2ebe5c=_0x222798[_0x5a78e8(0x1f8)],_0x16f7c7=0x0;_0x16f7c7<0x4;_0x16f7c7++){var _0x3dd5c1=_0x2ebe5c[_0x16f7c7];_0x2ebe5c[_0x16f7c7]=(_0x3dd5c1<<0x8|_0x3dd5c1>>>0x18)&0xff00ff|(_0x3dd5c1<<0x18|_0x3dd5c1>>>0x8)&0xff00ff00;}return _0x222798;},'clone':function(){const _0x1aa69f=_0x4d1bea;var _0x8b2967=_0x371a92[_0x1aa69f(0x227)][_0x1aa69f(0x477)](this);return _0x8b2967[_0x1aa69f(0x5a2)]=this[_0x1aa69f(0x5a2)]['clone'](),_0x8b2967;}});function _0x510d29(_0x15f236,_0x5dc1e9,_0xe2f50,_0x42c41a,_0x4a389b,_0x2934a2,_0x204b92){var _0x4b5a82=_0x15f236+(_0x5dc1e9&_0xe2f50|~_0x5dc1e9&_0x42c41a)+_0x4a389b+_0x204b92;return(_0x4b5a82<<_0x2934a2|_0x4b5a82>>>0x20-_0x2934a2)+_0x5dc1e9;}function _0x57b5ff(_0x512465,_0x2d81d4,_0xa34f3e,_0x13660b,_0x4c7f38,_0x289184,_0x1ea5b5){var _0x50bdd1=_0x512465+(_0x2d81d4&_0x13660b|_0xa34f3e&~_0x13660b)+_0x4c7f38+_0x1ea5b5;return(_0x50bdd1<<_0x289184|_0x50bdd1>>>0x20-_0x289184)+_0x2d81d4;}function _0x405641(_0xc9bc10,_0x9d4c8a,_0x41cc65,_0x1e443b,_0x17846e,_0x2e920d,_0x492179){var _0x3684af=_0xc9bc10+(_0x9d4c8a^_0x41cc65^_0x1e443b)+_0x17846e+_0x492179;return(_0x3684af<<_0x2e920d|_0x3684af>>>0x20-_0x2e920d)+_0x9d4c8a;}function _0x52a49b(_0x3dd423,_0x4a4345,_0x2182fc,_0x3b2771,_0x4c0b78,_0x127e2a,_0x146ca8){var _0x44548e=_0x3dd423+(_0x2182fc^(_0x4a4345|~_0x3b2771))+_0x4c0b78+_0x146ca8;return(_0x44548e<<_0x127e2a|_0x44548e>>>0x20-_0x127e2a)+_0x4a4345;}_0x4254ad[_0x4d1bea(0x380)]=_0x371a92[_0x4d1bea(0x542)](_0x366563),_0x4254ad[_0x4d1bea(0x533)]=_0x371a92[_0x4d1bea(0x409)](_0x366563);}(Math),_0x2debc3[_0x10d751(0x380)];}));}(Gt)),Gt[_0xe52a66(0x56b)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x39d0c7=_0x55040e;return Qs||(Qs=0x1,function(_0x286292,_0xbdac0f){(function(_0x4332ac,_0x1a381f){const _0x35cf53=_0x1c89;_0x286292[_0x35cf53(0x56b)]=_0x1a381f(ue());}(Z,function(_0x55ef61){const _0xb4caa7=_0x1c89;return(function(){const _0x2ca0d8=_0x1c89;var _0x1d81b1=_0x55ef61,_0xcf10df=_0x1d81b1['lib'],_0x4953b8=_0xcf10df['WordArray'],_0x586393=_0xcf10df[_0x2ca0d8(0x2a6)],_0x483740=_0x1d81b1[_0x2ca0d8(0x273)],_0x3f5a21=[],_0x2b401e=_0x483740[_0x2ca0d8(0x51b)]=_0x586393[_0x2ca0d8(0x592)]({'_doReset':function(){const _0x1e982c=_0x2ca0d8;this[_0x1e982c(0x5a2)]=new _0x4953b8[(_0x1e982c(0x5b2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7f33b4,_0x59fdbd){for(var _0x3934d2=this['_hash']['words'],_0x2bf370=_0x3934d2[0x0],_0x25861c=_0x3934d2[0x1],_0x2d13b9=_0x3934d2[0x2],_0x11998b=_0x3934d2[0x3],_0x114600=_0x3934d2[0x4],_0x22257f=0x0;_0x22257f<0x50;_0x22257f++){if(_0x22257f<0x10)_0x3f5a21[_0x22257f]=_0x7f33b4[_0x59fdbd+_0x22257f]|0x0;else{var _0x4d313d=_0x3f5a21[_0x22257f-0x3]^_0x3f5a21[_0x22257f-0x8]^_0x3f5a21[_0x22257f-0xe]^_0x3f5a21[_0x22257f-0x10];_0x3f5a21[_0x22257f]=_0x4d313d<<0x1|_0x4d313d>>>0x1f;}var _0x128771=(_0x2bf370<<0x5|_0x2bf370>>>0x1b)+_0x114600+_0x3f5a21[_0x22257f];_0x22257f<0x14?_0x128771+=(_0x25861c&_0x2d13b9|~_0x25861c&_0x11998b)+0x5a827999:_0x22257f<0x28?_0x128771+=(_0x25861c^_0x2d13b9^_0x11998b)+0x6ed9eba1:_0x22257f<0x3c?_0x128771+=(_0x25861c&_0x2d13b9|_0x25861c&_0x11998b|_0x2d13b9&_0x11998b)-0x70e44324:_0x128771+=(_0x25861c^_0x2d13b9^_0x11998b)-0x359d3e2a,_0x114600=_0x11998b,_0x11998b=_0x2d13b9,_0x2d13b9=_0x25861c<<0x1e|_0x25861c>>>0x2,_0x25861c=_0x2bf370,_0x2bf370=_0x128771;}_0x3934d2[0x0]=_0x3934d2[0x0]+_0x2bf370|0x0,_0x3934d2[0x1]=_0x3934d2[0x1]+_0x25861c|0x0,_0x3934d2[0x2]=_0x3934d2[0x2]+_0x2d13b9|0x0,_0x3934d2[0x3]=_0x3934d2[0x3]+_0x11998b|0x0,_0x3934d2[0x4]=_0x3934d2[0x4]+_0x114600|0x0;},'_doFinalize':function(){const _0x5588f4=_0x2ca0d8;var _0xf0dd37=this[_0x5588f4(0x221)],_0x47b2ad=_0xf0dd37['words'],_0x1a7459=this['_nDataBytes']*0x8,_0x5629be=_0xf0dd37['sigBytes']*0x8;return _0x47b2ad[_0x5629be>>>0x5]|=0x80<<0x18-_0x5629be%0x20,_0x47b2ad[(_0x5629be+0x40>>>0x9<<0x4)+0xe]=Math[_0x5588f4(0x2ef)](_0x1a7459/0x100000000),_0x47b2ad[(_0x5629be+0x40>>>0x9<<0x4)+0xf]=_0x1a7459,_0xf0dd37[_0x5588f4(0x204)]=_0x47b2ad['length']*0x4,this[_0x5588f4(0x43e)](),this['_hash'];},'clone':function(){const _0x570568=_0x2ca0d8;var _0x546479=_0x586393['clone']['call'](this);return _0x546479[_0x570568(0x5a2)]=this[_0x570568(0x5a2)][_0x570568(0x227)](),_0x546479;}});_0x1d81b1['SHA1']=_0x586393['_createHelper'](_0x2b401e),_0x1d81b1[_0x2ca0d8(0x560)]=_0x586393[_0x2ca0d8(0x409)](_0x2b401e);}()),_0x55ef61[_0xb4caa7(0x51b)];}));}(Kt)),Kt[_0x39d0c7(0x56b)];}var zt={'exports':{}},ei;function La(){return ei||(ei=0x1,function(_0x1b656c,_0x3406a2){(function(_0x120aea,_0x52fad2){const _0x1b3bea=_0x1c89;_0x1b656c[_0x1b3bea(0x56b)]=_0x52fad2(ue());}(Z,function(_0x9760ec){(function(){const _0x5e4742=_0x1c89;var _0x4e3ed0=_0x9760ec,_0x4fa68e=_0x4e3ed0[_0x5e4742(0x53b)],_0x509dfb=_0x4fa68e[_0x5e4742(0x20d)],_0x242084=_0x4e3ed0[_0x5e4742(0x381)],_0x3ae5df=_0x242084[_0x5e4742(0x1e0)],_0x201ac9=_0x4e3ed0['algo'];_0x201ac9['HMAC']=_0x509dfb[_0x5e4742(0x592)]({'init':function(_0x579862,_0x5ecd28){const _0x18644f=_0x5e4742;_0x579862=this['_hasher']=new _0x579862['init'](),typeof _0x5ecd28==_0x18644f(0x54c)&&(_0x5ecd28=_0x3ae5df[_0x18644f(0x46c)](_0x5ecd28));var _0x5d6c27=_0x579862[_0x18644f(0x565)],_0x4f0133=_0x5d6c27*0x4;_0x5ecd28[_0x18644f(0x204)]>_0x4f0133&&(_0x5ecd28=_0x579862[_0x18644f(0x20a)](_0x5ecd28)),_0x5ecd28[_0x18644f(0x457)]();for(var _0x1e5ec1=this[_0x18644f(0x36c)]=_0x5ecd28[_0x18644f(0x227)](),_0x296ec8=this['_iKey']=_0x5ecd28[_0x18644f(0x227)](),_0x2115df=_0x1e5ec1['words'],_0x4f41d7=_0x296ec8['words'],_0x2a64c8=0x0;_0x2a64c8<_0x5d6c27;_0x2a64c8++)_0x2115df[_0x2a64c8]^=0x5c5c5c5c,_0x4f41d7[_0x2a64c8]^=0x36363636;_0x1e5ec1[_0x18644f(0x204)]=_0x296ec8[_0x18644f(0x204)]=_0x4f0133,this[_0x18644f(0x231)]();},'reset':function(){const _0x5ab8a3=_0x5e4742;var _0x4e8f48=this[_0x5ab8a3(0x598)];_0x4e8f48[_0x5ab8a3(0x231)](),_0x4e8f48['update'](this[_0x5ab8a3(0x3d0)]);},'update':function(_0x5b8460){const _0x2927ef=_0x5e4742;return this['_hasher'][_0x2927ef(0x2db)](_0x5b8460),this;},'finalize':function(_0x181e3d){const _0x410b43=_0x5e4742;var _0x446657=this[_0x410b43(0x598)],_0x1fbaed=_0x446657['finalize'](_0x181e3d);_0x446657[_0x410b43(0x231)]();var _0x4d5331=_0x446657[_0x410b43(0x20a)](this[_0x410b43(0x36c)][_0x410b43(0x227)]()[_0x410b43(0x4bd)](_0x1fbaed));return _0x4d5331;}});}());}));}(zt)),zt['exports'];}var ti;function ki(){const _0x1a167e=_0x55040e;return ti||(ti=0x1,function(_0x2d1d31,_0x5bc9a9){(function(_0x2b61da,_0x14049c,_0x3f1b1c){const _0x117622=_0x1c89;_0x2d1d31[_0x117622(0x56b)]=_0x14049c(ue(),xa(),La());}(Z,function(_0x192e31){const _0x4adcd9=_0x1c89;return(function(){const _0x3397ce=_0x1c89;var _0x56f93b=_0x192e31,_0x2cffff=_0x56f93b[_0x3397ce(0x53b)],_0x42522d=_0x2cffff[_0x3397ce(0x20d)],_0x617024=_0x2cffff[_0x3397ce(0x295)],_0x4d69d3=_0x56f93b['algo'],_0x17da87=_0x4d69d3['MD5'],_0x27c746=_0x4d69d3[_0x3397ce(0x307)]=_0x42522d[_0x3397ce(0x592)]({'cfg':_0x42522d['extend']({'keySize':0x80/0x20,'hasher':_0x17da87,'iterations':0x1}),'init':function(_0x5a35cd){const _0x43b0c6=_0x3397ce;this[_0x43b0c6(0x345)]=this[_0x43b0c6(0x345)][_0x43b0c6(0x592)](_0x5a35cd);},'compute':function(_0x52730f,_0x5696ce){const _0x431a50=_0x3397ce;for(var _0x55ca52,_0x3f6d2e=this[_0x431a50(0x345)],_0xd28b24=_0x3f6d2e['hasher'][_0x431a50(0x451)](),_0x4e6e8e=_0x617024[_0x431a50(0x451)](),_0x2723e5=_0x4e6e8e[_0x431a50(0x1f8)],_0x303bab=_0x3f6d2e['keySize'],_0x181bd4=_0x3f6d2e['iterations'];_0x2723e5['length']<_0x303bab;){_0x55ca52&&_0xd28b24[_0x431a50(0x2db)](_0x55ca52),_0x55ca52=_0xd28b24[_0x431a50(0x2db)](_0x52730f)[_0x431a50(0x20a)](_0x5696ce),_0xd28b24[_0x431a50(0x231)]();for(var _0x47911c=0x1;_0x47911c<_0x181bd4;_0x47911c++)_0x55ca52=_0xd28b24[_0x431a50(0x20a)](_0x55ca52),_0xd28b24[_0x431a50(0x231)]();_0x4e6e8e[_0x431a50(0x4bd)](_0x55ca52);}return _0x4e6e8e[_0x431a50(0x204)]=_0x303bab*0x4,_0x4e6e8e;}});_0x56f93b['EvpKDF']=function(_0x37eac1,_0x1613b1,_0x1278d9){const _0x86caaf=_0x3397ce;return _0x27c746[_0x86caaf(0x451)](_0x1278d9)[_0x86caaf(0x587)](_0x37eac1,_0x1613b1);};}()),_0x192e31[_0x4adcd9(0x307)];}));}(Yt)),Yt[_0x1a167e(0x56b)];}var qt={'exports':{}},si;function Wi(){const _0x43cdeb=_0x55040e;return si||(si=0x1,function(_0x33bfd1,_0x236f37){(function(_0x985866,_0x96a0d5,_0x5a049d){const _0x43cf21=_0x1c89;_0x33bfd1[_0x43cf21(0x56b)]=_0x96a0d5(ue(),ki());}(Z,function(_0x5c9e5e){const _0x483705=_0x1c89;_0x5c9e5e[_0x483705(0x53b)][_0x483705(0x437)]||function(_0x1e911c){const _0x344896=_0x483705;var _0xb56bd8=_0x5c9e5e,_0x4b61e0=_0xb56bd8[_0x344896(0x53b)],_0x35af8d=_0x4b61e0[_0x344896(0x20d)],_0xa55ae7=_0x4b61e0[_0x344896(0x295)],_0x4c8cd0=_0x4b61e0['BufferedBlockAlgorithm'],_0x80408f=_0xb56bd8[_0x344896(0x381)];_0x80408f[_0x344896(0x1e0)];var _0x24d5e0=_0x80408f[_0x344896(0x3c0)],_0x182021=_0xb56bd8['algo'],_0xa752b9=_0x182021[_0x344896(0x307)],_0x144b76=_0x4b61e0[_0x344896(0x437)]=_0x4c8cd0[_0x344896(0x592)]({'cfg':_0x35af8d[_0x344896(0x592)](),'createEncryptor':function(_0x2981a6,_0x47279a){const _0x4136e4=_0x344896;return this[_0x4136e4(0x451)](this[_0x4136e4(0x2fd)],_0x2981a6,_0x47279a);},'createDecryptor':function(_0xfef7f2,_0x4ecf85){const _0xcd1b9d=_0x344896;return this[_0xcd1b9d(0x451)](this[_0xcd1b9d(0x46e)],_0xfef7f2,_0x4ecf85);},'init':function(_0x19a650,_0x3fc0b9,_0x1db85b){const _0x2a15d7=_0x344896;this[_0x2a15d7(0x345)]=this[_0x2a15d7(0x345)]['extend'](_0x1db85b),this[_0x2a15d7(0x248)]=_0x19a650,this[_0x2a15d7(0x28b)]=_0x3fc0b9,this['reset']();},'reset':function(){const _0x50f3df=_0x344896;_0x4c8cd0[_0x50f3df(0x231)][_0x50f3df(0x477)](this),this[_0x50f3df(0x543)]();},'process':function(_0x55704e){const _0x257067=_0x344896;return this[_0x257067(0x23c)](_0x55704e),this['_process']();},'finalize':function(_0xd44a5d){const _0x3be7df=_0x344896;_0xd44a5d&&this[_0x3be7df(0x23c)](_0xd44a5d);var _0x3a09a2=this[_0x3be7df(0x1ef)]();return _0x3a09a2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2dbc90(_0x357130){const _0x1db1d6=_0x1c89;return typeof _0x357130==_0x1db1d6(0x54c)?_0x2e4618:_0x57fd8d;}return function(_0xfbb203){return{'encrypt':function(_0x37ed04,_0x3d570c,_0x167465){return _0x2dbc90(_0x3d570c)['encrypt'](_0xfbb203,_0x37ed04,_0x3d570c,_0x167465);},'decrypt':function(_0x573609,_0x35d820,_0x492a13){const _0xe2d870=_0x1c89;return _0x2dbc90(_0x35d820)[_0xe2d870(0x3ec)](_0xfbb203,_0x573609,_0x35d820,_0x492a13);}};};}())});_0x4b61e0[_0x344896(0x46d)]=_0x144b76[_0x344896(0x592)]({'_doFinalize':function(){const _0x4fdd09=_0x344896;var _0x9f2a7a=this[_0x4fdd09(0x43e)](!0x0);return _0x9f2a7a;},'blockSize':0x1});var _0x53fa86=_0xb56bd8[_0x344896(0x36d)]={},_0x4bde5c=_0x4b61e0[_0x344896(0x35d)]=_0x35af8d[_0x344896(0x592)]({'createEncryptor':function(_0x2218a4,_0x28cf08){const _0xca8588=_0x344896;return this['Encryptor'][_0xca8588(0x451)](_0x2218a4,_0x28cf08);},'createDecryptor':function(_0x3b99e5,_0x3ac885){const _0x43419f=_0x344896;return this[_0x43419f(0x405)]['create'](_0x3b99e5,_0x3ac885);},'init':function(_0x2b7389,_0x35bfad){const _0x5564d5=_0x344896;this[_0x5564d5(0x3ce)]=_0x2b7389,this[_0x5564d5(0x3a9)]=_0x35bfad;}}),_0x1d80f6=_0x53fa86[_0x344896(0x203)]=(function(){const _0x87671=_0x344896;var _0xa1c031=_0x4bde5c[_0x87671(0x592)]();_0xa1c031[_0x87671(0x4b0)]=_0xa1c031[_0x87671(0x592)]({'processBlock':function(_0x1ccedb,_0x22ef38){const _0x3b7a2d=_0x87671;var _0x2b05a3=this[_0x3b7a2d(0x3ce)],_0x15038e=_0x2b05a3[_0x3b7a2d(0x565)];_0x11fce4[_0x3b7a2d(0x477)](this,_0x1ccedb,_0x22ef38,_0x15038e),_0x2b05a3['encryptBlock'](_0x1ccedb,_0x22ef38),this[_0x3b7a2d(0x284)]=_0x1ccedb['slice'](_0x22ef38,_0x22ef38+_0x15038e);}}),_0xa1c031[_0x87671(0x405)]=_0xa1c031[_0x87671(0x592)]({'processBlock':function(_0x1ca69b,_0x3f6276){const _0xe464fb=_0x87671;var _0x2b54a3=this['_cipher'],_0x5d3b81=_0x2b54a3[_0xe464fb(0x565)],_0x4aee77=_0x1ca69b['slice'](_0x3f6276,_0x3f6276+_0x5d3b81);_0x2b54a3[_0xe464fb(0x57e)](_0x1ca69b,_0x3f6276),_0x11fce4['call'](this,_0x1ca69b,_0x3f6276,_0x5d3b81),this[_0xe464fb(0x284)]=_0x4aee77;}});function _0x11fce4(_0x568718,_0x41cab5,_0xc6a9da){const _0x2de9b6=_0x87671;var _0x33ae9e,_0x1b764b=this[_0x2de9b6(0x3a9)];_0x1b764b?(_0x33ae9e=_0x1b764b,this['_iv']=_0x1e911c):_0x33ae9e=this['_prevBlock'];for(var _0x27fcd9=0x0;_0x27fcd9<_0xc6a9da;_0x27fcd9++)_0x568718[_0x41cab5+_0x27fcd9]^=_0x33ae9e[_0x27fcd9];}return _0xa1c031;}()),_0x4e1bfd=_0xb56bd8['pad']={},_0x2c49d6=_0x4e1bfd['Pkcs7']={'pad':function(_0x38c264,_0x273f06){const _0x99f2e4=_0x344896;for(var _0x313862=_0x273f06*0x4,_0x7fb558=_0x313862-_0x38c264['sigBytes']%_0x313862,_0x27c28=_0x7fb558<<0x18|_0x7fb558<<0x10|_0x7fb558<<0x8|_0x7fb558,_0x38ca20=[],_0x1393e8=0x0;_0x1393e8<_0x7fb558;_0x1393e8+=0x4)_0x38ca20[_0x99f2e4(0x5b6)](_0x27c28);var _0x48d78d=_0xa55ae7['create'](_0x38ca20,_0x7fb558);_0x38c264[_0x99f2e4(0x4bd)](_0x48d78d);},'unpad':function(_0x49cd52){const _0x21a159=_0x344896;var _0x49bb4d=_0x49cd52[_0x21a159(0x1f8)][_0x49cd52[_0x21a159(0x204)]-0x1>>>0x2]&0xff;_0x49cd52['sigBytes']-=_0x49bb4d;}};_0x4b61e0[_0x344896(0x5d2)]=_0x144b76[_0x344896(0x592)]({'cfg':_0x144b76['cfg']['extend']({'mode':_0x1d80f6,'padding':_0x2c49d6}),'reset':function(){const _0x595917=_0x344896;var _0x4409bd;_0x144b76[_0x595917(0x231)][_0x595917(0x477)](this);var _0x354455=this['cfg'],_0x4aeffa=_0x354455['iv'],_0x3f9105=_0x354455[_0x595917(0x36d)];this['_xformMode']==this[_0x595917(0x2fd)]?_0x4409bd=_0x3f9105[_0x595917(0x3a8)]:(_0x4409bd=_0x3f9105[_0x595917(0x3d3)],this[_0x595917(0x42f)]=0x1),this[_0x595917(0x4e2)]&&this[_0x595917(0x4e2)]['__creator']==_0x4409bd?this['_mode'][_0x595917(0x5b2)](this,_0x4aeffa&&_0x4aeffa[_0x595917(0x1f8)]):(this[_0x595917(0x4e2)]=_0x4409bd[_0x595917(0x477)](_0x3f9105,this,_0x4aeffa&&_0x4aeffa[_0x595917(0x1f8)]),this['_mode']['__creator']=_0x4409bd);},'_doProcessBlock':function(_0x3f0247,_0x22c06b){const _0x4fd648=_0x344896;this['_mode'][_0x4fd648(0x4c8)](_0x3f0247,_0x22c06b);},'_doFinalize':function(){const _0xd64498=_0x344896;var _0x44d07c,_0x44f1fb=this[_0xd64498(0x345)]['padding'];return this['_xformMode']==this[_0xd64498(0x2fd)]?(_0x44f1fb['pad'](this[_0xd64498(0x221)],this[_0xd64498(0x565)]),_0x44d07c=this[_0xd64498(0x43e)](!0x0)):(_0x44d07c=this[_0xd64498(0x43e)](!0x0),_0x44f1fb['unpad'](_0x44d07c)),_0x44d07c;},'blockSize':0x80/0x20});var _0x15d6d2=_0x4b61e0[_0x344896(0x2fb)]=_0x35af8d['extend']({'init':function(_0x459990){const _0x430ce4=_0x344896;this[_0x430ce4(0x3e9)](_0x459990);},'toString':function(_0x267b71){const _0xd58b20=_0x344896;return(_0x267b71||this[_0xd58b20(0x479)])[_0xd58b20(0x434)](this);}}),_0x42caeb=_0xb56bd8[_0x344896(0x36a)]={},_0x55228f=_0x42caeb[_0x344896(0x3d4)]={'stringify':function(_0x38471c){const _0x259864=_0x344896;var _0x112a20,_0x435965=_0x38471c['ciphertext'],_0x108299=_0x38471c[_0x259864(0x1ec)];return _0x108299?_0x112a20=_0xa55ae7[_0x259864(0x451)]([0x53616c74,0x65645f5f])[_0x259864(0x4bd)](_0x108299)['concat'](_0x435965):_0x112a20=_0x435965,_0x112a20[_0x259864(0x522)](_0x24d5e0);},'parse':function(_0x1bad5c){const _0x40ac05=_0x344896;var _0x18b903,_0xae0561=_0x24d5e0['parse'](_0x1bad5c),_0x1448ed=_0xae0561[_0x40ac05(0x1f8)];return _0x1448ed[0x0]==0x53616c74&&_0x1448ed[0x1]==0x65645f5f&&(_0x18b903=_0xa55ae7[_0x40ac05(0x451)](_0x1448ed['slice'](0x2,0x4)),_0x1448ed[_0x40ac05(0x4b1)](0x0,0x4),_0xae0561['sigBytes']-=0x10),_0x15d6d2[_0x40ac05(0x451)]({'ciphertext':_0xae0561,'salt':_0x18b903});}},_0x57fd8d=_0x4b61e0[_0x344896(0x26b)]=_0x35af8d['extend']({'cfg':_0x35af8d['extend']({'format':_0x55228f}),'encrypt':function(_0x56c831,_0x587e03,_0x1b8952,_0x308998){const _0x27e5c6=_0x344896;_0x308998=this[_0x27e5c6(0x345)][_0x27e5c6(0x592)](_0x308998);var _0xff2126=_0x56c831[_0x27e5c6(0x3a8)](_0x1b8952,_0x308998),_0x34c41c=_0xff2126[_0x27e5c6(0x20a)](_0x587e03),_0x10e515=_0xff2126[_0x27e5c6(0x345)];return _0x15d6d2['create']({'ciphertext':_0x34c41c,'key':_0x1b8952,'iv':_0x10e515['iv'],'algorithm':_0x56c831,'mode':_0x10e515[_0x27e5c6(0x36d)],'padding':_0x10e515[_0x27e5c6(0x4c3)],'blockSize':_0x56c831[_0x27e5c6(0x565)],'formatter':_0x308998[_0x27e5c6(0x36a)]});},'decrypt':function(_0x379345,_0xf4dd25,_0x414b12,_0x38b437){const _0x42ed2b=_0x344896;_0x38b437=this[_0x42ed2b(0x345)][_0x42ed2b(0x592)](_0x38b437),_0xf4dd25=this[_0x42ed2b(0x3f2)](_0xf4dd25,_0x38b437[_0x42ed2b(0x36a)]);var _0x5e77c7=_0x379345[_0x42ed2b(0x3d3)](_0x414b12,_0x38b437)[_0x42ed2b(0x20a)](_0xf4dd25[_0x42ed2b(0x315)]);return _0x5e77c7;},'_parse':function(_0x43973c,_0x49a8d2){const _0x7fe3b4=_0x344896;return typeof _0x43973c==_0x7fe3b4(0x54c)?_0x49a8d2[_0x7fe3b4(0x46c)](_0x43973c,this):_0x43973c;}}),_0x43cbdd=_0xb56bd8[_0x344896(0x257)]={},_0x2497ca=_0x43cbdd[_0x344896(0x3d4)]={'execute':function(_0x4dead9,_0x336438,_0x4434fd,_0x51d3ec,_0x2c8935){const _0x118d13=_0x344896;if(_0x51d3ec||(_0x51d3ec=_0xa55ae7[_0x118d13(0x4e7)](0x40/0x8)),_0x2c8935)var _0x1f4f3d=_0xa752b9[_0x118d13(0x451)]({'keySize':_0x336438+_0x4434fd,'hasher':_0x2c8935})[_0x118d13(0x587)](_0x4dead9,_0x51d3ec);else var _0x1f4f3d=_0xa752b9['create']({'keySize':_0x336438+_0x4434fd})[_0x118d13(0x587)](_0x4dead9,_0x51d3ec);var _0x5302a5=_0xa55ae7[_0x118d13(0x451)](_0x1f4f3d[_0x118d13(0x1f8)][_0x118d13(0x347)](_0x336438),_0x4434fd*0x4);return _0x1f4f3d[_0x118d13(0x204)]=_0x336438*0x4,_0x15d6d2[_0x118d13(0x451)]({'key':_0x1f4f3d,'iv':_0x5302a5,'salt':_0x51d3ec});}},_0x2e4618=_0x4b61e0[_0x344896(0x427)]=_0x57fd8d[_0x344896(0x592)]({'cfg':_0x57fd8d[_0x344896(0x345)][_0x344896(0x592)]({'kdf':_0x2497ca}),'encrypt':function(_0x190e52,_0x27504d,_0x13286c,_0x2dc38c){const _0x4d80ba=_0x344896;_0x2dc38c=this[_0x4d80ba(0x345)][_0x4d80ba(0x592)](_0x2dc38c);var _0x1beb11=_0x2dc38c[_0x4d80ba(0x257)]['execute'](_0x13286c,_0x190e52['keySize'],_0x190e52[_0x4d80ba(0x4a2)],_0x2dc38c['salt'],_0x2dc38c[_0x4d80ba(0x4b6)]);_0x2dc38c['iv']=_0x1beb11['iv'];var _0x5d0a56=_0x57fd8d[_0x4d80ba(0x4db)]['call'](this,_0x190e52,_0x27504d,_0x1beb11[_0x4d80ba(0x303)],_0x2dc38c);return _0x5d0a56[_0x4d80ba(0x3e9)](_0x1beb11),_0x5d0a56;},'decrypt':function(_0x55e879,_0x3c557a,_0x475e58,_0x45690d){const _0x4a7ee1=_0x344896;_0x45690d=this['cfg'][_0x4a7ee1(0x592)](_0x45690d),_0x3c557a=this[_0x4a7ee1(0x3f2)](_0x3c557a,_0x45690d[_0x4a7ee1(0x36a)]);var _0x327202=_0x45690d[_0x4a7ee1(0x257)][_0x4a7ee1(0x206)](_0x475e58,_0x55e879['keySize'],_0x55e879['ivSize'],_0x3c557a[_0x4a7ee1(0x1ec)],_0x45690d[_0x4a7ee1(0x4b6)]);_0x45690d['iv']=_0x327202['iv'];var _0x2af9b3=_0x57fd8d[_0x4a7ee1(0x3ec)][_0x4a7ee1(0x477)](this,_0x55e879,_0x3c557a,_0x327202[_0x4a7ee1(0x303)],_0x45690d);return _0x2af9b3;}});}();}));}(qt)),qt[_0x43cdeb(0x56b)];}(function(_0x2f1064,_0x4a9ce5){(function(_0x503c1b,_0x174423,_0x4052be){const _0x253220=_0x1c89;_0x2f1064[_0x253220(0x56b)]=_0x174423(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x293c8c){const _0x4bbb35=_0x1c89;return(function(){const _0x1fbb36=_0x1c89;var _0x36e7b9=_0x293c8c,_0x51032c=_0x36e7b9['lib'],_0x4a8d03=_0x51032c['BlockCipher'],_0x121baa=_0x36e7b9[_0x1fbb36(0x273)],_0x5fbd89=[],_0x5506ce=[],_0x34d823=[],_0x1beebd=[],_0x50f961=[],_0x4a44e0=[],_0xe64c08=[],_0x16f6a1=[],_0x5b2c15=[],_0xfc7d9a=[];(function(){for(var _0x521d97=[],_0x32ac14=0x0;_0x32ac14<0x100;_0x32ac14++)_0x32ac14<0x80?_0x521d97[_0x32ac14]=_0x32ac14<<0x1:_0x521d97[_0x32ac14]=_0x32ac14<<0x1^0x11b;for(var _0x5b1390=0x0,_0x2117d2=0x0,_0x32ac14=0x0;_0x32ac14<0x100;_0x32ac14++){var _0xd37c47=_0x2117d2^_0x2117d2<<0x1^_0x2117d2<<0x2^_0x2117d2<<0x3^_0x2117d2<<0x4;_0xd37c47=_0xd37c47>>>0x8^_0xd37c47&0xff^0x63,_0x5fbd89[_0x5b1390]=_0xd37c47,_0x5506ce[_0xd37c47]=_0x5b1390;var _0x5b30b4=_0x521d97[_0x5b1390],_0x3eec9c=_0x521d97[_0x5b30b4],_0x2afedf=_0x521d97[_0x3eec9c],_0xe288ed=_0x521d97[_0xd37c47]*0x101^_0xd37c47*0x1010100;_0x34d823[_0x5b1390]=_0xe288ed<<0x18|_0xe288ed>>>0x8,_0x1beebd[_0x5b1390]=_0xe288ed<<0x10|_0xe288ed>>>0x10,_0x50f961[_0x5b1390]=_0xe288ed<<0x8|_0xe288ed>>>0x18,_0x4a44e0[_0x5b1390]=_0xe288ed;var _0xe288ed=_0x2afedf*0x1010101^_0x3eec9c*0x10001^_0x5b30b4*0x101^_0x5b1390*0x1010100;_0xe64c08[_0xd37c47]=_0xe288ed<<0x18|_0xe288ed>>>0x8,_0x16f6a1[_0xd37c47]=_0xe288ed<<0x10|_0xe288ed>>>0x10,_0x5b2c15[_0xd37c47]=_0xe288ed<<0x8|_0xe288ed>>>0x18,_0xfc7d9a[_0xd37c47]=_0xe288ed,_0x5b1390?(_0x5b1390=_0x5b30b4^_0x521d97[_0x521d97[_0x521d97[_0x2afedf^_0x5b30b4]]],_0x2117d2^=_0x521d97[_0x521d97[_0x2117d2]]):_0x5b1390=_0x2117d2=0x1;}}());var _0x480b29=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5b0538=_0x121baa[_0x1fbb36(0x200)]=_0x4a8d03['extend']({'_doReset':function(){const _0x2ae582=_0x1fbb36;var _0x3fdc05;if(!(this[_0x2ae582(0x577)]&&this[_0x2ae582(0x2dd)]===this['_key'])){for(var _0x12f873=this[_0x2ae582(0x2dd)]=this['_key'],_0x240f21=_0x12f873['words'],_0x40e4b6=_0x12f873[_0x2ae582(0x204)]/0x4,_0x179f60=this['_nRounds']=_0x40e4b6+0x6,_0x3ebeab=(_0x179f60+0x1)*0x4,_0xb14638=this[_0x2ae582(0x3c2)]=[],_0x4051bb=0x0;_0x4051bb<_0x3ebeab;_0x4051bb++)_0x4051bb<_0x40e4b6?_0xb14638[_0x4051bb]=_0x240f21[_0x4051bb]:(_0x3fdc05=_0xb14638[_0x4051bb-0x1],_0x4051bb%_0x40e4b6?_0x40e4b6>0x6&&_0x4051bb%_0x40e4b6==0x4&&(_0x3fdc05=_0x5fbd89[_0x3fdc05>>>0x18]<<0x18|_0x5fbd89[_0x3fdc05>>>0x10&0xff]<<0x10|_0x5fbd89[_0x3fdc05>>>0x8&0xff]<<0x8|_0x5fbd89[_0x3fdc05&0xff]):(_0x3fdc05=_0x3fdc05<<0x8|_0x3fdc05>>>0x18,_0x3fdc05=_0x5fbd89[_0x3fdc05>>>0x18]<<0x18|_0x5fbd89[_0x3fdc05>>>0x10&0xff]<<0x10|_0x5fbd89[_0x3fdc05>>>0x8&0xff]<<0x8|_0x5fbd89[_0x3fdc05&0xff],_0x3fdc05^=_0x480b29[_0x4051bb/_0x40e4b6|0x0]<<0x18),_0xb14638[_0x4051bb]=_0xb14638[_0x4051bb-_0x40e4b6]^_0x3fdc05);for(var _0x2493d3=this[_0x2ae582(0x47a)]=[],_0x43a67f=0x0;_0x43a67f<_0x3ebeab;_0x43a67f++){var _0x4051bb=_0x3ebeab-_0x43a67f;if(_0x43a67f%0x4)var _0x3fdc05=_0xb14638[_0x4051bb];else var _0x3fdc05=_0xb14638[_0x4051bb-0x4];_0x43a67f<0x4||_0x4051bb<=0x4?_0x2493d3[_0x43a67f]=_0x3fdc05:_0x2493d3[_0x43a67f]=_0xe64c08[_0x5fbd89[_0x3fdc05>>>0x18]]^_0x16f6a1[_0x5fbd89[_0x3fdc05>>>0x10&0xff]]^_0x5b2c15[_0x5fbd89[_0x3fdc05>>>0x8&0xff]]^_0xfc7d9a[_0x5fbd89[_0x3fdc05&0xff]];}}},'encryptBlock':function(_0x1ca6a1,_0x8b44ca){const _0x31a50e=_0x1fbb36;this['_doCryptBlock'](_0x1ca6a1,_0x8b44ca,this[_0x31a50e(0x3c2)],_0x34d823,_0x1beebd,_0x50f961,_0x4a44e0,_0x5fbd89);},'decryptBlock':function(_0x505b40,_0x2f6642){const _0x3f05ed=_0x1fbb36;var _0x5531fc=_0x505b40[_0x2f6642+0x1];_0x505b40[_0x2f6642+0x1]=_0x505b40[_0x2f6642+0x3],_0x505b40[_0x2f6642+0x3]=_0x5531fc,this[_0x3f05ed(0x1fd)](_0x505b40,_0x2f6642,this[_0x3f05ed(0x47a)],_0xe64c08,_0x16f6a1,_0x5b2c15,_0xfc7d9a,_0x5506ce);var _0x5531fc=_0x505b40[_0x2f6642+0x1];_0x505b40[_0x2f6642+0x1]=_0x505b40[_0x2f6642+0x3],_0x505b40[_0x2f6642+0x3]=_0x5531fc;},'_doCryptBlock':function(_0x3f00b1,_0x25fd2a,_0x306570,_0x307cb9,_0x328976,_0x19d75c,_0x535dd2,_0x494f64){const _0x21f78f=_0x1fbb36;for(var _0x59d877=this[_0x21f78f(0x577)],_0x3cde79=_0x3f00b1[_0x25fd2a]^_0x306570[0x0],_0x37a44f=_0x3f00b1[_0x25fd2a+0x1]^_0x306570[0x1],_0x139944=_0x3f00b1[_0x25fd2a+0x2]^_0x306570[0x2],_0x16ab28=_0x3f00b1[_0x25fd2a+0x3]^_0x306570[0x3],_0x166600=0x4,_0x88b757=0x1;_0x88b757<_0x59d877;_0x88b757++){var _0x4d3f5d=_0x307cb9[_0x3cde79>>>0x18]^_0x328976[_0x37a44f>>>0x10&0xff]^_0x19d75c[_0x139944>>>0x8&0xff]^_0x535dd2[_0x16ab28&0xff]^_0x306570[_0x166600++],_0x22ad14=_0x307cb9[_0x37a44f>>>0x18]^_0x328976[_0x139944>>>0x10&0xff]^_0x19d75c[_0x16ab28>>>0x8&0xff]^_0x535dd2[_0x3cde79&0xff]^_0x306570[_0x166600++],_0x2c6c39=_0x307cb9[_0x139944>>>0x18]^_0x328976[_0x16ab28>>>0x10&0xff]^_0x19d75c[_0x3cde79>>>0x8&0xff]^_0x535dd2[_0x37a44f&0xff]^_0x306570[_0x166600++],_0x5887cc=_0x307cb9[_0x16ab28>>>0x18]^_0x328976[_0x3cde79>>>0x10&0xff]^_0x19d75c[_0x37a44f>>>0x8&0xff]^_0x535dd2[_0x139944&0xff]^_0x306570[_0x166600++];_0x3cde79=_0x4d3f5d,_0x37a44f=_0x22ad14,_0x139944=_0x2c6c39,_0x16ab28=_0x5887cc;}var _0x4d3f5d=(_0x494f64[_0x3cde79>>>0x18]<<0x18|_0x494f64[_0x37a44f>>>0x10&0xff]<<0x10|_0x494f64[_0x139944>>>0x8&0xff]<<0x8|_0x494f64[_0x16ab28&0xff])^_0x306570[_0x166600++],_0x22ad14=(_0x494f64[_0x37a44f>>>0x18]<<0x18|_0x494f64[_0x139944>>>0x10&0xff]<<0x10|_0x494f64[_0x16ab28>>>0x8&0xff]<<0x8|_0x494f64[_0x3cde79&0xff])^_0x306570[_0x166600++],_0x2c6c39=(_0x494f64[_0x139944>>>0x18]<<0x18|_0x494f64[_0x16ab28>>>0x10&0xff]<<0x10|_0x494f64[_0x3cde79>>>0x8&0xff]<<0x8|_0x494f64[_0x37a44f&0xff])^_0x306570[_0x166600++],_0x5887cc=(_0x494f64[_0x16ab28>>>0x18]<<0x18|_0x494f64[_0x3cde79>>>0x10&0xff]<<0x10|_0x494f64[_0x37a44f>>>0x8&0xff]<<0x8|_0x494f64[_0x139944&0xff])^_0x306570[_0x166600++];_0x3f00b1[_0x25fd2a]=_0x4d3f5d,_0x3f00b1[_0x25fd2a+0x1]=_0x22ad14,_0x3f00b1[_0x25fd2a+0x2]=_0x2c6c39,_0x3f00b1[_0x25fd2a+0x3]=_0x5887cc;},'keySize':0x100/0x20});_0x36e7b9['AES']=_0x4a8d03[_0x1fbb36(0x542)](_0x5b0538);}()),_0x293c8c[_0x4bbb35(0x200)];}));}(ji));var $a=ji[_0x55040e(0x56b)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x174eeb,_0x4f4644){(function(_0x38109c,_0x80cdab){const _0x18c539=_0x1c89;_0x174eeb[_0x18c539(0x56b)]=_0x80cdab(ue());}(Z,function(_0xb411f1){const _0x1c4154=_0x1c89;return _0xb411f1[_0x1c4154(0x381)][_0x1c4154(0x1e0)];}));}(Fi));var Ba=Fi[_0x55040e(0x56b)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x1fc6d8,_0x18b0a4){(function(_0x508985,_0x2543c0){const _0x3e42ac=_0x1c89;_0x1fc6d8[_0x3e42ac(0x56b)]=_0x2543c0(ue());}(Z,function(_0x11b41c){const _0x245873=_0x1c89;return(function(){const _0x1a55a1=_0x1c89;if(typeof ArrayBuffer=='function'){var _0x4f93a9=_0x11b41c,_0x3b2429=_0x4f93a9['lib'],_0x57da7e=_0x3b2429['WordArray'],_0x356618=_0x57da7e[_0x1a55a1(0x5b2)],_0x3118a6=_0x57da7e[_0x1a55a1(0x5b2)]=function(_0x493dde){const _0x4fcce4=_0x1a55a1;if(_0x493dde instanceof ArrayBuffer&&(_0x493dde=new Uint8Array(_0x493dde)),(_0x493dde instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x493dde instanceof Uint8ClampedArray||_0x493dde instanceof Int16Array||_0x493dde instanceof Uint16Array||_0x493dde instanceof Int32Array||_0x493dde instanceof Uint32Array||_0x493dde instanceof Float32Array||_0x493dde instanceof Float64Array)&&(_0x493dde=new Uint8Array(_0x493dde['buffer'],_0x493dde['byteOffset'],_0x493dde[_0x4fcce4(0x50a)])),_0x493dde instanceof Uint8Array){for(var _0x51ac81=_0x493dde[_0x4fcce4(0x50a)],_0x45b6a8=[],_0x4a1b51=0x0;_0x4a1b51<_0x51ac81;_0x4a1b51++)_0x45b6a8[_0x4a1b51>>>0x2]|=_0x493dde[_0x4a1b51]<<0x18-_0x4a1b51%0x4*0x8;_0x356618['call'](this,_0x45b6a8,_0x51ac81);}else _0x356618[_0x4fcce4(0x5bc)](this,arguments);};_0x3118a6[_0x1a55a1(0x4ea)]=_0x57da7e;}}()),_0x11b41c['lib'][_0x245873(0x295)];}));}(Vi));var Wa=Vi['exports'];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x10f0c8,_0x3b701f){(function(_0x176b9a,_0x276101,_0x53b1f8){const _0x392c38=_0x1c89;_0x10f0c8[_0x392c38(0x56b)]=_0x276101(ue(),Wi());}(Z,function(_0x5dd98d){const _0x219e7f=_0x1c89;return _0x5dd98d[_0x219e7f(0x340)][_0x219e7f(0x49a)]={'pad':function(){},'unpad':function(){}},_0x5dd98d[_0x219e7f(0x340)][_0x219e7f(0x49a)];}));}(Gi));var Va=Gi[_0x55040e(0x56b)];const Ga=at(Va);function Ya(_0x4629ea,_0xd90570){const _0x539058=_0x55040e,_0x581c9c=_0xd90570-_0x4629ea['length']%_0xd90570,_0x1846f8=String[_0x539058(0x5ad)](_0x581c9c)[_0x539058(0x3db)](_0x581c9c);return _0x4629ea+_0x1846f8;}function Ka(_0x2a61be,_0x5b2909){const _0xe9074c=_0x55040e,_0x4950db=Fa['random'](0x10),_0x17530f=Ya(_0x2a61be,0x10),_0x2f245d=Ha[_0xe9074c(0x4db)](ka[_0xe9074c(0x46c)](_0x17530f),ii['parse'](_0x5b2909),{'iv':_0x4950db,'padding':Ga});return _0x4950db[_0xe9074c(0x4bd)](_0x2f245d[_0xe9074c(0x315)])['toString'](ii);}function za(){const _0x4d2780=_0x55040e,_0x1f2b08=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x1f2b08){const _0x196e24={'time':Math[_0x4d2780(0x2ef)](Date[_0x4d2780(0x352)]()/0x3e8),'domain':location[_0x4d2780(0x4c1)]};return Ka(JSON[_0x4d2780(0x434)](_0x196e24),_0x1f2b08);}}var qa=Object[_0x55040e(0x4df)],Xa=Object[_0x55040e(0x2ad)],Ja=(_0x5e31c7,_0xea2084,_0x265b86,_0x5e23e4)=>{const _0x17cdfb=_0x55040e;for(var _0x3e0e41=_0x5e23e4>0x1?void 0x0:_0x5e23e4?Xa(_0xea2084,_0x265b86):_0xea2084,_0x2eda7c=_0x5e31c7[_0x17cdfb(0x41f)]-0x1,_0x56b47b;_0x2eda7c>=0x0;_0x2eda7c--)(_0x56b47b=_0x5e31c7[_0x2eda7c])&&(_0x3e0e41=(_0x5e23e4?_0x56b47b(_0xea2084,_0x265b86,_0x3e0e41):_0x56b47b(_0x3e0e41))||_0x3e0e41);return _0x5e23e4&&_0x3e0e41&&qa(_0xea2084,_0x265b86,_0x3e0e41),_0x3e0e41;},Za=(_0x2ed661,_0x493acb)=>(_0x5427cb,_0x74120c)=>_0x493acb(_0x5427cb,_0x74120c,_0x2ed661);let Tt=class{constructor(_0x483789){const _0x20f891=_0x55040e;this[_0x20f891(0x272)]=_0x483789,this[_0x20f891(0x51f)]();}[_0x55040e(0x51f)](){const _0x78d011=_0x55040e;this[_0x78d011(0x272)]['registerHTTPInterceptor']({'interceptor':(_0x799e3e,_0x29c65b)=>{const _0x549741=_0x78d011,_0x5948ba=_0x799e3e[_0x549741(0x4e3)],_0x3bb5cb=za();return _0x3bb5cb&&_0x5948ba[_0x549741(0x333)]('x-univer-host',_0x3bb5cb),_0x29c65b(_0x799e3e);}});}};Tt=Ja([Za(0x0,_0xb59c13(_0x32e2ee))],Tt);var Qa=Object[_0x55040e(0x4df)],ec=Object['getOwnPropertyDescriptor'],tc=(_0x5bedd9,_0x2180fd,_0x558878,_0x6ed8b7)=>{const _0x1e78ff=_0x55040e;for(var _0x2ee670=_0x6ed8b7>0x1?void 0x0:_0x6ed8b7?ec(_0x2180fd,_0x558878):_0x2180fd,_0x59f3ad=_0x5bedd9[_0x1e78ff(0x41f)]-0x1,_0x459dac;_0x59f3ad>=0x0;_0x59f3ad--)(_0x459dac=_0x5bedd9[_0x59f3ad])&&(_0x2ee670=(_0x6ed8b7?_0x459dac(_0x2180fd,_0x558878,_0x2ee670):_0x459dac(_0x2ee670))||_0x2ee670);return _0x6ed8b7&&_0x2ee670&&Qa(_0x2180fd,_0x558878,_0x2ee670),_0x2ee670;},Xt=(_0x502010,_0xb012bd)=>(_0x341f26,_0x568b29)=>_0xb012bd(_0x341f26,_0x568b29,_0x502010);const sc=[_0x55040e(0x492),_0x55040e(0x44d),_0x55040e(0x35f),_0x55040e(0x552),_0x55040e(0x401)],ic=0x5*0x400*0x400,nc=_0x55040e(0x4ac),rc='/universer-api/stream/file/upload',oc=_0x55040e(0x25d),ac=_0x55040e(0x2e8);let hs=class{constructor(_0x1028fb,_0x17f110,_0x45916c){const _0x231099=_0x55040e;g(this,_0x231099(0x3d7),0x0),g(this,_0x231099(0x2a2),new _0x308ed9()),g(this,_0x231099(0x3e1),this['_change$']),g(this,'_imageSourceCache',new Map()),(this[_0x231099(0x272)]=_0x1028fb,this[_0x231099(0x2b0)]=_0x17f110,this['_univerInstanceService']=_0x45916c);}[_0x55040e(0x23f)](_0x37c1a8){const _0x3b4b50=_0x55040e;this[_0x3b4b50(0x3d7)]=_0x37c1a8,this[_0x3b4b50(0x2a2)]['next'](_0x37c1a8);}[_0x55040e(0x389)](_0x1d368b,_0x20bde8){const _0xf76cd1=_0x55040e;if(_0x20bde8===_0xfd8cab[_0xf76cd1(0x2c4)]){const _0x311a78=new Image();return _0x311a78[_0xf76cd1(0x2b4)]=_0x1d368b,_0x311a78;}return this[_0xf76cd1(0x364)][_0xf76cd1(0x25c)](_0x1d368b);}[_0x55040e(0x3a6)](_0x8b01cb,_0x197142,_0x5cede7){const _0x5235fa=_0x55040e;_0x197142===_0xfd8cab[_0x5235fa(0x2c4)]||_0x5cede7==null||this[_0x5235fa(0x364)][_0x5235fa(0x333)](_0x8b01cb,_0x5cede7);}async['getImage'](_0x550b93){const _0x44c4f7=_0x55040e;try{const _0x300977=this['_replaceFileID'](this[_0x44c4f7(0x2d3)](),''+_0x550b93),_0x22b2f1=(await this['_httpService'][_0x44c4f7(0x25c)](_0x300977))[_0x44c4f7(0x2e2)];if(_0x22b2f1[_0x44c4f7(0x268)]&&_0x22b2f1['error'][_0x44c4f7(0x2c3)]===Ri['OK']){const _0x897c7f=new URL(_0x22b2f1['url'],this[_0x44c4f7(0x229)]())['toString']();return Promise['resolve'](_0x897c7f);}return Promise[_0x44c4f7(0x391)](_0x22b2f1[_0x44c4f7(0x268)]);}catch(_0x2ca763){return Promise[_0x44c4f7(0x391)](_0x2ca763);}}async[_0x55040e(0x440)](_0x274e12){const _0x5d6682=_0x55040e;let _0x2c1bcb='';if(!sc[_0x5d6682(0x31e)](_0x274e12[_0x5d6682(0x24f)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x19586c[_0x5d6682(0x3b1)]));if(_0x274e12[_0x5d6682(0x1f7)]>ic)return this[_0x5d6682(0x5d5)](),Promise[_0x5d6682(0x391)](new Error(_0x19586c[_0x5d6682(0x3cb)]));try{const _0x474754=new FormData();_0x474754['append'](_0x5d6682(0x495),_0x274e12);const _0x4e28a8=this[_0x5d6682(0x48a)][_0x5d6682(0x371)](),_0x50a31a=_0x4e28a8==null?void 0x0:_0x4e28a8[_0x5d6682(0x4f5)]();if(!_0x50a31a)throw new Error(_0x5d6682(0x406));const _0x45da40=this[_0x5d6682(0x37b)]()+'?size='+_0x274e12[_0x5d6682(0x1f7)][_0x5d6682(0x522)]()+_0x5d6682(0x2d7)+yi[_0x5d6682(0x589)]+_0x5d6682(0x2cb)+encodeURIComponent(_0x50a31a),_0x3cc856=await(await fetch(_0x45da40,{'method':_0x5d6682(0x46b),'body':_0x474754}))['json']();if(typeof _0x3cc856['FileId']!=_0x5d6682(0x54c))return this[_0x5d6682(0x5d5)](),Promise[_0x5d6682(0x391)](new Error(_0x19586c[_0x5d6682(0x41e)]));_0x2c1bcb=_0x3cc856[_0x5d6682(0x55e)];}catch{return this[_0x5d6682(0x5d5)](),Promise[_0x5d6682(0x391)](new Error(_0x19586c[_0x5d6682(0x41e)]));}return new Promise((_0x27cd46,_0x1c0840)=>{const _0x2105bc=_0x5d6682,_0x143b2a=new FileReader();_0x143b2a[_0x2105bc(0x48f)](_0x274e12),_0x143b2a[_0x2105bc(0x293)]=_0x1541db=>{const _0x227bb7=_0x2105bc;var _0x358117;const _0x498691=(_0x358117=_0x1541db[_0x227bb7(0x316)])==null?void 0x0:_0x358117[_0x227bb7(0x4fd)];if(_0x498691==null){this[_0x227bb7(0x5d5)](),_0x1c0840(new Error(_0x19586c['ERROR_IMAGE']));return;}const _0x1b7b63=_0xada371[_0x227bb7(0x4bb)](0x6);_0x27cd46({'imageId':_0x1b7b63,'imageSourceType':_0xfd8cab['UUID'],'source':_0x2c1bcb,'base64Cache':_0x498691,'status':_0x19586c[_0x227bb7(0x1c2)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0xe13918=_0x55040e;var _0x4e7748,_0x38dcb0;const _0x260997=this[_0xe13918(0x2b0)][_0xe13918(0x5c3)](nc),_0x5d6602=this[_0xe13918(0x2b0)][_0xe13918(0x5c3)](ie);return(_0x38dcb0=(_0x4e7748=_0x5d6602==null?void 0x0:_0x5d6602[_0xe13918(0x1d3)])!=null?_0x4e7748:_0x260997)!=null?_0x38dcb0:rc;}['_getSignURL'](){const _0xdf5882=_0x55040e;var _0x194ad1,_0xf5105d;const _0x1e7e0d=this[_0xdf5882(0x2b0)][_0xdf5882(0x5c3)](oc),_0x4b3c6c=this[_0xdf5882(0x2b0)][_0xdf5882(0x5c3)](ie);return(_0xf5105d=(_0x194ad1=_0x4b3c6c==null?void 0x0:_0x4b3c6c[_0xdf5882(0x493)])!=null?_0x194ad1:_0x1e7e0d)!=null?_0xf5105d:ac;}[_0x55040e(0x229)](){const _0x5b00fb=_0x55040e;var _0x14c56f;const _0x23e227=this[_0x5b00fb(0x2b0)]['getConfig'](ie);return(_0x14c56f=_0x23e227==null?void 0x0:_0x23e227['downloadEndpointUrl'])!=null?_0x14c56f:location[_0x5b00fb(0x52b)];}[_0x55040e(0x426)](_0x50bf32,_0x27ae76){const _0x238654=_0x55040e;return _0x50bf32[_0x238654(0x403)]('{fileID}',_0x27ae76);}[_0x55040e(0x5d5)](){const _0x551c15=_0x55040e;this[_0x551c15(0x3d7)]-=0x1,this['_change$'][_0x551c15(0x1ea)](this['_waitCount']);}};hs=tc([Xt(0x0,_0xb59c13(_0x32e2ee)),Xt(0x1,_0x1fedc7),Xt(0x2,_0xb59c13(_0x10abd5))],hs);var cc=Object['defineProperty'],hc=Object[_0x55040e(0x2ad)],lc=(_0xc04c7e,_0x2d052d,_0x5d7076,_0x57131a)=>{const _0x397e38=_0x55040e;for(var _0xcb2a18=_0x57131a>0x1?void 0x0:_0x57131a?hc(_0x2d052d,_0x5d7076):_0x2d052d,_0x7ad91b=_0xc04c7e[_0x397e38(0x41f)]-0x1,_0x4b941b;_0x7ad91b>=0x0;_0x7ad91b--)(_0x4b941b=_0xc04c7e[_0x7ad91b])&&(_0xcb2a18=(_0x57131a?_0x4b941b(_0x2d052d,_0x5d7076,_0xcb2a18):_0x4b941b(_0xcb2a18))||_0xcb2a18);return _0x57131a&&_0xcb2a18&&cc(_0x2d052d,_0x5d7076,_0xcb2a18),_0xcb2a18;},Qe=(_0x5ef5ae,_0x1768c0)=>(_0x3fdaff,_0x3a54ed)=>_0x1768c0(_0x3fdaff,_0x3a54ed,_0x5ef5ae);let Rt=class extends _0x47772b{constructor(_0x45101b,_0xc6258,_0x50b993,_0x4d9440,_0x15b4c3){const _0xd7ae74=_0x55040e;super(),this[_0xd7ae74(0x1c7)]=_0x45101b,this[_0xd7ae74(0x48a)]=_0xc6258,this[_0xd7ae74(0x5a7)]=_0x50b993,this[_0xd7ae74(0x52e)]=_0x4d9440,this['_localeService']=_0x15b4c3,this[_0xd7ae74(0x1c5)](),this[_0xd7ae74(0x4ef)]();}[_0x55040e(0x4ef)](){const _0x361376=_0x55040e,_0x1ecfa2=async _0x53eab3=>{const _0xdb0caf=_0x1c89;(await this[_0xdb0caf(0x52e)][_0xdb0caf(0x21e)](_0x53eab3))[_0xdb0caf(0x4e5)]['pipe'](_0x1fa847(_0x3194b5=>_0x3194b5[_0xdb0caf(0x3ff)]===_0x4382cf['SHOULD_CLOSE_CONN']),_0x384b4a(this[_0xdb0caf(0x48c)]))[_0xdb0caf(0x1e2)](_0x5bec42=>{const _0x48d15e=_0xdb0caf,_0x5387ec=_0x5bec42,{reason:_0x5837f8}=_0x5387ec['data'];this[_0x48d15e(0x1c7)][_0x48d15e(0x25c)](_0x204e81)[_0x48d15e(0x2d8)]({'type':_0x4d23e2[_0x48d15e(0x369)],'content':this[_0x48d15e(0x376)]['t']('collaboration.closeRoom')+'('+_0x5837f8+')'}),this[_0x48d15e(0x5a7)][_0x48d15e(0x253)](new _0x21a4cb(_0x53eab3)['id'],!0x1),this[_0x48d15e(0x52e)]['closeSession'](_0x53eab3);});};_0x3dbb21(this[_0x361376(0x48a)]['getTypeOfUnitAdded$'](_0x24e86f[_0x361376(0x2b1)]),this[_0x361376(0x48a)][_0x361376(0x3ba)](_0x24e86f['UNIVER_DOC']))['pipe'](_0x151dda(_0x4381f2=>_0x4381f2['getUnitId']()),_0x1fa847(_0x30137a=>!_0x326eab(_0x30137a)),_0x384b4a(this[_0x361376(0x48c)]))[_0x361376(0x1e2)](_0x5185b1=>{_0x1ecfa2(_0x5185b1);});}[_0x55040e(0x1c5)](){const _0x5ec73a=_0x55040e,_0x1b2a77=async _0x25f16b=>{const _0x179dfb=_0x1c89;(await this['_collaborationSessionService'][_0x179dfb(0x21e)](_0x25f16b))['event$'][_0x179dfb(0x55b)](_0x1fa847(_0x57d333=>_0x57d333[_0x179dfb(0x3ff)]===_0x4382cf[_0x179dfb(0x208)]),_0x384b4a(this['dispose$']))['subscribe'](_0x175a68=>{const _0x17f2ae=_0x179dfb,_0x543637=_0x175a68,{objectId:_0x4ef168}=_0x543637[_0x17f2ae(0x44b)],_0x96a013=this[_0x17f2ae(0x1c7)][_0x17f2ae(0x25c)](_0x197e7c);_0x4ef168===_0x25f16b?_0x96a013['initWorkbookPermissionChange'](_0x25f16b):_0x96a013[_0x17f2ae(0x448)](_0x25f16b,_0x4ef168);});};_0x3dbb21(this[_0x5ec73a(0x48a)]['getTypeOfUnitAdded$'](_0x24e86f[_0x5ec73a(0x2b1)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x24e86f['UNIVER_DOC']))[_0x5ec73a(0x55b)](_0x151dda(_0x500bad=>_0x500bad[_0x5ec73a(0x4f5)]()),_0x1fa847(_0x589942=>!_0x326eab(_0x589942)),_0x384b4a(this[_0x5ec73a(0x48c)]))[_0x5ec73a(0x1e2)](_0x3654e9=>{_0x1b2a77(_0x3654e9);});}};Rt=lc([Qe(0x0,_0xb59c13(_0x475d43)),Qe(0x1,_0x10abd5),Qe(0x2,_0xffa540),Qe(0x3,_0xb59c13(Ae)),Qe(0x4,_0xb59c13(_0x5d0578))],Rt);var _c=Object[_0x55040e(0x4df)],uc=Object[_0x55040e(0x2ad)],dc=(_0x21d123,_0x439caf,_0x3af13a,_0x266255)=>{for(var _0x52f023=_0x266255>0x1?void 0x0:_0x266255?uc(_0x439caf,_0x3af13a):_0x439caf,_0x364e70=_0x21d123['length']-0x1,_0xf610c;_0x364e70>=0x0;_0x364e70--)(_0xf610c=_0x21d123[_0x364e70])&&(_0x52f023=(_0x266255?_0xf610c(_0x439caf,_0x3af13a,_0x52f023):_0xf610c(_0x52f023))||_0x52f023);return _0x266255&&_0x52f023&&_c(_0x439caf,_0x3af13a,_0x52f023),_0x52f023;},ni=(_0x1960f9,_0x2ed74d)=>(_0x16d9d2,_0x6cfe91)=>_0x2ed74d(_0x16d9d2,_0x6cfe91,_0x1960f9);let ls=class{constructor(_0x394dab,_0x10bb85){const _0xcbcd58=_0x55040e;this[_0xcbcd58(0x2b0)]=_0x394dab,this[_0xcbcd58(0x272)]=_0x10bb85;}async[_0x55040e(0x242)](_0x219762,_0x4ae4e2){const _0x1df7c9=_0x55040e;var _0x3635d0;const {unitID:_0x409789,type:_0x580496,revision:_0x161f38=0x0}=_0x4ae4e2,_0x217184=this[_0x1df7c9(0x27f)]()+'/'+_0x580496+_0x1df7c9(0x3c7)+_0x409789+_0x1df7c9(0x530)+_0x161f38,_0x60a17=(await this['_httpService']['get'](_0x217184))[_0x1df7c9(0x2e2)],_0x36d71d=(_0x3635d0=_0x60a17['snapshot'])==null?void 0x0:_0x3635d0[_0x1df7c9(0x499)];if(_0x36d71d){const _0x1be2d3=_0x36d71d==null?void 0x0:_0x36d71d[_0x1df7c9(0x576)],_0x1f28aa=_0x9dad0c[_0x1df7c9(0x26e)](_0x408162(_0x1be2d3));_0x36d71d[_0x1df7c9(0x576)]=_0x1f28aa,Object[_0x1df7c9(0x30b)](_0x36d71d[_0x1df7c9(0x2f9)])['forEach'](([,_0x7f908e])=>{const _0x3325b1=_0x1df7c9,_0x47d2f5=_0x7f908e[_0x3325b1(0x576)],_0x3673f2=_0x9dad0c[_0x3325b1(0x26e)](_0x408162(_0x47d2f5));_0x7f908e[_0x3325b1(0x576)]=_0x3673f2;});}return _0x60a17;}async[_0x55040e(0x470)](_0x57e975,_0x36f2b7){const _0x1e83be=_0x55040e,{unitID:_0x2b86fb,type:_0xdc0fd6,blockID:_0x58afd2}=_0x36f2b7,_0x5ad2ca=this['_getAPIPrefix']()+'/'+_0xdc0fd6+_0x1e83be(0x3c7)+_0x2b86fb+'/block/'+_0x58afd2;return(await this[_0x1e83be(0x272)][_0x1e83be(0x25c)](_0x5ad2ca))[_0x1e83be(0x2e2)];}async[_0x55040e(0x563)](_0x5e3fab,_0x5a014c){const _0x5a3f2f=_0x55040e,{unitID:_0x311e59,type:_0x1eaa76,blockID:_0x583faa}=_0x5a014c,_0x9dce06=this[_0x5a3f2f(0x4a0)]()+_0x5a3f2f(0x27e)+_0x1eaa76+_0x5a3f2f(0x3c7)+_0x311e59+'/block/'+_0x583faa;return(await this[_0x5a3f2f(0x272)][_0x5a3f2f(0x25c)](_0x9dce06))[_0x5a3f2f(0x2e2)];}async[_0x55040e(0x236)](_0x28f28e,_0x504abf){const _0x39e33b=_0x55040e,{unitID:_0x25ddeb,type:_0x2c8a13,from:_0x12eee6,to:_0x4eb35d}=_0x504abf,_0x47718c=this[_0x39e33b(0x4a0)]()+'/'+_0x2c8a13+_0x39e33b(0x3c7)+_0x25ddeb+_0x39e33b(0x34e)+_0x12eee6+'&to='+_0x4eb35d;return(await this[_0x39e33b(0x272)][_0x39e33b(0x25c)](_0x47718c))['body'];}['_getSnapshotAPIPrefix'](){const _0x1249b9=_0x55040e;var _0x29c135;return(_0x29c135=this[_0x1249b9(0x2b0)][_0x1249b9(0x5c3)](ar))!=null?_0x29c135:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x5dcd23=_0x55040e;var _0xee32d5,_0x505ad6;const _0x17cdd4=this[_0x5dcd23(0x2b0)][_0x5dcd23(0x5c3)](rr),_0x48b85c=this[_0x5dcd23(0x2b0)][_0x5dcd23(0x5c3)](ie);return(_0x505ad6=(_0xee32d5=_0x48b85c==null?void 0x0:_0x48b85c['snapshotServerUrl'])!=null?_0xee32d5:_0x17cdd4)!=null?_0x505ad6:or;}async['getResourcesRequest'](_0x3bd09a,_0x31ef8d){const _0x49e217=_0x55040e,_0x20e36f=_0x49e217(0x42c)+_0x31ef8d[_0x49e217(0x24f)]+_0x49e217(0x3c7)+_0x31ef8d['unitID']+_0x49e217(0x1fa);return(await this[_0x49e217(0x272)][_0x49e217(0x25c)](_0x20e36f,{'params':{'resourceId':JSON[_0x49e217(0x434)](_0x31ef8d[_0x49e217(0x4b2)])}}))[_0x49e217(0x2e2)];}[_0x55040e(0x31f)](){const _0x691589=_0x55040e;throw new Error(_0x691589(0x5ce));}[_0x55040e(0x463)](){const _0x400ad2=_0x55040e;throw new Error(_0x400ad2(0x5ce));}[_0x55040e(0x4b8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x55040e(0x3a1)](){const _0x2bdcf4=_0x55040e;throw new Error(_0x2bdcf4(0x5ce));}['getLatestCsReqIdBySid'](){const _0x427449=_0x55040e;throw new Error(_0x427449(0x5ce));}};ls=dc([ni(0x0,_0x1fedc7),ni(0x1,_0xb59c13(_0x32e2ee))],ls);var fc=Object['defineProperty'],vc=Object[_0x55040e(0x2ad)],mc=(_0x1699ce,_0x59f4ba,_0x37749c,_0xefeccf)=>{for(var _0x26e45a=_0xefeccf>0x1?void 0x0:_0xefeccf?vc(_0x59f4ba,_0x37749c):_0x59f4ba,_0x44a18d=_0x1699ce['length']-0x1,_0x5716fe;_0x44a18d>=0x0;_0x44a18d--)(_0x5716fe=_0x1699ce[_0x44a18d])&&(_0x26e45a=(_0xefeccf?_0x5716fe(_0x59f4ba,_0x37749c,_0x26e45a):_0x5716fe(_0x26e45a))||_0x26e45a);return _0xefeccf&&_0x26e45a&&fc(_0x59f4ba,_0x37749c,_0x26e45a),_0x26e45a;},et=(_0x350ef1,_0x4f9ec0)=>(_0x520d60,_0x5ea441)=>_0x4f9ec0(_0x520d60,_0x5ea441,_0x350ef1);let _s=class extends _0x341424{constructor(_0x180f8a,_0x4ed9a6,_0x5ce006,_0x3334ec,_0x5a5a22){const _0x283cf3=_0x55040e;super(_0x180f8a,_0x4ed9a6,_0x5ce006),this[_0x283cf3(0x384)]=_0x3334ec,this[_0x283cf3(0x37d)]=_0x5a5a22;}['transformUndoRedo'](_0x4788d9,_0xf5ca7c){const _0xf34243=_0x55040e,_0x433f9c=this['_getUndoStack'](_0x4788d9);if(_0x433f9c)try{const _0x1a4475=this[_0xf34243(0x516)](_0x433f9c,_0xf5ca7c);this[_0xf34243(0x270)](_0x4788d9,_0x1a4475);}catch(_0x50d4ec){this[_0xf34243(0x37d)][_0xf34243(0x268)](_0xf34243(0x39d),_0x50d4ec),this[_0xf34243(0x2ba)](_0x4788d9);}const _0x1bc85c=this[_0xf34243(0x454)](_0x4788d9);if(_0x1bc85c)try{const _0x57004d=this[_0xf34243(0x516)](_0x1bc85c,_0xf5ca7c);this[_0xf34243(0x2a8)](_0x4788d9,_0x57004d);}catch(_0x134e4a){this[_0xf34243(0x37d)][_0xf34243(0x268)](_0x134e4a),this[_0xf34243(0x246)](_0x4788d9);}}['_clearUndo'](_0x38922c){const _0x28804b=_0x55040e,_0x4b42d3=this['_getUndoStack'](_0x38922c);_0x4b42d3&&(_0x4b42d3[_0x28804b(0x41f)]=0x0,this[_0x28804b(0x2b5)]());}[_0x55040e(0x246)](_0xbf4b4f){const _0x44a281=_0x55040e,_0x5f19f3=this[_0x44a281(0x454)](_0xbf4b4f);_0x5f19f3&&(_0x5f19f3['length']=0x0,this[_0x44a281(0x2b5)]());}[_0x55040e(0x270)](_0x6e0950,_0x26bae7){const _0x44f203=_0x55040e;this[_0x44f203(0x288)][_0x44f203(0x333)](_0x6e0950,_0x26bae7),this['_updateStatus']();}[_0x55040e(0x2a8)](_0x47e293,_0x57c8c2){const _0x34d46b=_0x55040e;this[_0x34d46b(0x5cd)][_0x34d46b(0x333)](_0x47e293,_0x57c8c2),this[_0x34d46b(0x2b5)]();}['_transformStack'](_0x2bedeb,_0x14adb1){const _0x1a80f7=_0x55040e,_0x18226a=[];let _0x53a52f=_0x14adb1,_0x4bf9e6=_0x14adb1;for(let _0x501b54=_0x2bedeb[_0x1a80f7(0x41f)]-0x1;_0x501b54>=0x0;_0x501b54--){const {unitID:_0x4190d2,undoMutations:_0x5618e5,redoMutations:_0x3a9d19}=_0x2bedeb[_0x501b54],_0x22f869=this[_0x1a80f7(0x384)]['transformMutationsWithChangeset'](_0x53a52f,_0x5618e5),_0x563865=this[_0x1a80f7(0x384)][_0x1a80f7(0x30e)](_0x4bf9e6,_0x3a9d19);if(_0x4afa5(_0x22f869)||_0x4afa5(_0x563865)){this[_0x1a80f7(0x37d)][_0x1a80f7(0x268)](_0x1a80f7(0x39d),_0x1a80f7(0x410),_0x22f869,_0x563865);break;}_0x53a52f=_0x22f869[_0x1a80f7(0x4c2)],_0x4bf9e6=_0x563865[_0x1a80f7(0x4c2)],_0x18226a['push']({'unitID':_0x4190d2,'undoMutations':_0x22f869[_0x1a80f7(0x580)],'redoMutations':_0x563865[_0x1a80f7(0x580)]});}return _0x18226a[_0x1a80f7(0x349)]();}};_s=mc([et(0x0,_0x10abd5),et(0x1,_0x2983df),et(0x2,_0x9c5354),et(0x3,_0x3c8669),et(0x4,_0x6916a2)],_s);class pc extends _0x47772b{constructor(){const _0x9d6a50=_0x55040e;super(),g(this,_0x9d6a50(0x2af)),this[_0x9d6a50(0x2af)]=_0x542d7a(window,_0x9d6a50(0x217))['pipe'](_0x589f39(this[_0x9d6a50(0x48c)]),_0x507dc(0x1),_0x247358(void 0x0));}[_0x55040e(0x548)](_0x12197a,_0x184c35,_0x53e30e=!0x1){const _0x305e21=_0x55040e,_0x1d7871=new URL(window[_0x305e21(0x3e0)][_0x305e21(0x4ba)]);_0x1d7871[_0x305e21(0x504)][_0x305e21(0x333)](_0x12197a,_0x184c35),_0x53e30e?window[_0x305e21(0x544)][_0x305e21(0x4f2)]('','',_0x1d7871[_0x305e21(0x522)]()):window['history'][_0x305e21(0x23e)]('','',_0x1d7871['toString']());}[_0x55040e(0x24d)](_0x2aad19,_0x2c906d=!0x1){const _0x2038fc=_0x55040e,_0x590d26=new URL(window['location'][_0x2038fc(0x4ba)]);_0x590d26['searchParams'][_0x2038fc(0x4b5)](_0x2aad19),_0x2c906d?window[_0x2038fc(0x544)][_0x2038fc(0x4f2)]('','',_0x590d26[_0x2038fc(0x522)]()):window[_0x2038fc(0x544)]['pushState']('','',_0x590d26['toString']());}[_0x55040e(0x38a)](_0x279a35){const _0x552a99=_0x55040e;var _0x352578;return(_0x352578=new URL(window[_0x552a99(0x3e0)][_0x552a99(0x4ba)])[_0x552a99(0x504)][_0x552a99(0x25c)](_0x279a35))!=null?_0x352578:void 0x0;}}var Yi=Object[_0x55040e(0x4df)],gc=Object[_0x55040e(0x2ad)],Sc=(_0x497517,_0x4fbb83,_0x24b914)=>_0x4fbb83 in _0x497517?Yi(_0x497517,_0x4fbb83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24b914}):_0x497517[_0x4fbb83]=_0x24b914,Ic=(_0x5e8782,_0x25522f,_0x4c78b0,_0x2662e)=>{const _0x2b1b07=_0x55040e;for(var _0x493d40=_0x2662e>0x1?void 0x0:_0x2662e?gc(_0x25522f,_0x4c78b0):_0x25522f,_0xcf3b9a=_0x5e8782[_0x2b1b07(0x41f)]-0x1,_0x4447f7;_0xcf3b9a>=0x0;_0xcf3b9a--)(_0x4447f7=_0x5e8782[_0xcf3b9a])&&(_0x493d40=(_0x2662e?_0x4447f7(_0x25522f,_0x4c78b0,_0x493d40):_0x4447f7(_0x493d40))||_0x493d40);return _0x2662e&&_0x493d40&&Yi(_0x25522f,_0x4c78b0,_0x493d40),_0x493d40;},_t=(_0x5256fd,_0x53e239)=>(_0x20a419,_0x57ee27)=>_0x53e239(_0x20a419,_0x57ee27,_0x5256fd),Cc=(_0x1bd269,_0x5b8b5b,_0x3f7e4d)=>Sc(_0x1bd269,_0x5b8b5b+'',_0x3f7e4d);const Ec=_0x55040e(0x5d0);let us=class extends _0x46423b{constructor(_0x9c6ac0=Er,_0x3b5d95,_0x31c0e1,_0x110708,_0x350eb2){const _0x5a01b9=_0x55040e;super(),this['_config']=_0x9c6ac0,this[_0x5a01b9(0x37d)]=_0x3b5d95,this[_0x5a01b9(0x55c)]=_0x31c0e1,this[_0x5a01b9(0x1c7)]=_0x110708,this[_0x5a01b9(0x2b0)]=_0x350eb2;const {..._0xc1d4e}=this[_0x5a01b9(0x3cc)];this[_0x5a01b9(0x2b0)][_0x5a01b9(0x1f9)](ie,_0xc1d4e);}[_0x55040e(0x36e)](){const _0x3120f5=_0x55040e;this[_0x3120f5(0x481)](),this['_initDependencies']();}[_0x55040e(0x1d4)](){const _0x4fffc2=_0x55040e;_0x49baab(this[_0x4fffc2(0x1c7)],[[Et]]);}[_0x55040e(0x338)](){this['_registerRenderDependencies']();}[_0x55040e(0x481)](){const _0x147c6c=_0x55040e;var _0x1a7743,_0x158b6f,_0x142f61,_0x7cd584;this[_0x147c6c(0x1c7)][_0x147c6c(0x269)](_0x50f1b0)&&this[_0x147c6c(0x37d)][_0x147c6c(0x268)](_0x147c6c(0x2bb),_0x147c6c(0x2c2));const _0x54db02=[[_0x50f1b0,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x4f4d80],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x158b6f=(_0x1a7743=this[_0x147c6c(0x3cc)])==null?void 0x0:_0x1a7743[_0x147c6c(0x212)])!=null?_0x158b6f:es}],[_0x24d50d,{'useClass':ls}],[_0x2d8beb,{'useClass':cs}],[_0x466d70,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x142f61=this['_config'])!=null&&_0x142f61[_0x147c6c(0x33b)]&&_0x54db02[_0x147c6c(0x5b6)]([yt,{'useClass':so}]),_0x3aaab8(this['_injector'],_0x2902a7(_0x54db02,(_0x7cd584=this[_0x147c6c(0x3cc)])==null?void 0x0:_0x7cd584['override']));}[_0x55040e(0x22d)](){const _0x313e5d=_0x55040e;this[_0x313e5d(0x33a)](this[_0x313e5d(0x55c)][_0x313e5d(0x549)](_0x24e86f[_0x313e5d(0x337)],[os])),this[_0x313e5d(0x33a)](this[_0x313e5d(0x55c)][_0x313e5d(0x549)](_0x24e86f[_0x313e5d(0x2b1)],[as]));}[_0x55040e(0x4fa)](){const _0x25f2ee=_0x55040e;var _0x3e33d9,_0x48f3bf;this['_injector'][_0x25f2ee(0x25c)](_0x32e2ee)[_0x25f2ee(0x474)]({'priority':0x14,'interceptor':_0x516c01({'maxParallel':0x6})}),(_0x3e33d9=this[_0x25f2ee(0x3cc)])!=null&&_0x3e33d9[_0x25f2ee(0x456)]||this[_0x25f2ee(0x1c7)][_0x25f2ee(0x25c)](q)['disableLocalCache'](),(_0x48f3bf=this['_config'])!=null&&_0x48f3bf[_0x25f2ee(0x3fc)]&&_0x49baab(this['_injector'],[[bt]]),_0x49baab(this[_0x25f2ee(0x1c7)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,'pluginName',Ec),us=Ic([_0x3e5806(_0x334bc4,_0x41fb44),_t(0x1,_0x6916a2),_t(0x2,_0x1959be),_t(0x3,_0xb59c13(_0x475d43)),_t(0x4,_0x1fedc7)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
|
1
|
+
const _0x29204f=_0x5d6c;(function(_0x20584a,_0x2eeb1e){const _0x8e42c9=_0x5d6c,_0x366114=_0x20584a();while(!![]){try{const _0x2ab545=-parseInt(_0x8e42c9(0x4c9))/0x1+parseInt(_0x8e42c9(0x230))/0x2+parseInt(_0x8e42c9(0x1c2))/0x3*(parseInt(_0x8e42c9(0x363))/0x4)+parseInt(_0x8e42c9(0x33c))/0x5+parseInt(_0x8e42c9(0x192))/0x6+-parseInt(_0x8e42c9(0x591))/0x7*(-parseInt(_0x8e42c9(0x39a))/0x8)+parseInt(_0x8e42c9(0x3cf))/0x9*(-parseInt(_0x8e42c9(0x508))/0xa);if(_0x2ab545===_0x2eeb1e)break;else _0x366114['push'](_0x366114['shift']());}catch(_0x188c4d){_0x366114['push'](_0x366114['shift']());}}}(_0x3441,0xe595e));var Ki=Object[_0x29204f(0x51a)],zi=(_0x4a4eaa,_0x434a4b,_0x2a583c)=>_0x434a4b in _0x4a4eaa?Ki(_0x4a4eaa,_0x434a4b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a583c}):_0x4a4eaa[_0x434a4b]=_0x2a583c,g=(_0x3adf51,_0x5a83f8,_0x20513c)=>zi(_0x3adf51,typeof _0x5a83f8!=_0x29204f(0x2d0)?_0x5a83f8+'':_0x5a83f8,_0x20513c);import{createIdentifier as _0x230979,Inject as _0x31a227,Disposable as _0x2a7347,DisposableCollection as _0x4fd609,toDisposable as _0x239c52,IConfigService as _0x1d1963,ILogService as _0x15baf7,UserManagerService as _0x1fc463,UniverInstanceType as _0x5e8949,IUniverInstanceService as _0x1a11e5,LocaleService as _0x3da7c2,Optional as _0x2fdd6d,RxDisposable as _0x3823d2,Injector as _0x3ada64,Tools as _0x572bca,ILocalStorageService as _0x2662bd,Rectangle as _0x580a72,ICommandService as _0x1f9396,DOC_RANGE_TYPE as _0x362093,JSONX as _0x4da6d4,CommandType as _0x589e31,IPermissionService as _0x532950,IUndoRedoService as _0x2d7dca,sequenceExecute as _0x416da5,debounce as _0x164ec5,COLORS as _0x599565,ColorKit as _0x4393a4,ThemeService as _0x58d887,fromEventSubject as _0x56e5f4,useDependency as _0xdca07e,connectInjector as _0xe78903,Workbook as _0x343a21,isInternalEditorID as _0x157358,LocalUndoRedoService as _0x244295,IContextService as _0x1d65ea,DependentOn as _0x2a0661,Plugin as _0x559f25,touchDependencies as _0x225116,IAuthzIoService as _0x144eae,registerDependencies as _0x59b5ce,mergeOverrideWithDependencies as _0x463d11}from'@univerjs/core';import{Subject as _0x5c0e09,merge as _0x5924a9,takeUntil as _0x4b7102,BehaviorSubject as _0x4d53e2,distinctUntilChanged as _0x50bbac,fromEvent as _0x43007f,ReplaySubject as _0x588c9c,take as _0x34813f,map as _0x48d892,shareReplay as _0x19bdf5,of as _0x13a6f8,debounceTime as _0x2d6658,filter as _0x35e38e,switchMap as _0x481a9a,combineLatest as _0x55b0dc,concatMap as _0x3c2036,mapTo as _0x13df20}from'rxjs';import{map as _0x2057c1,take as _0x3c517f,filter as _0xeba3c2,delay as _0x202ec8,throttleTime as _0x5da6f1,takeUntil as _0xa64c87,switchMap as _0x1a8fcb}from'rxjs/operators';import{MessageType as _0x11c8f7,Tooltip as _0x5abc1a}from'@univerjs/design';import{IBeforeCloseService as _0x391a01,IMessageService as _0x5d8f55,INotificationService as _0x1b321d,useObservable as _0x262485,BuiltInUIPart as _0x28b09b,IUIPartsService as _0x239135}from'@univerjs/ui';import{HTTPService as _0x6042f,WebSocketService as _0x2c6668,MergeInterceptorFactory as _0x817fd0,HTTPRequest as _0x3eebe9,UniverNetworkPlugin as _0x4f0b4e,ThresholdInterceptorFactory as _0x11508f}from'@univerjs/network';import{CollaborationEvent as _0x4bdbff,parseChangesetToProtocol as _0x4e835a,ISnapshotServerService as _0x361c65,isTransformMutationFailure as _0x3a6c5b,isTransformMutationsWithChangesetSuccess as _0x15601c,ITransformService as _0x5f49ec,RevisionService as _0xbf5b42,mapDocumentTypeToUniverType as _0x154b8d,isTransformChangesetsSuccess as _0x557c9b,CompressMutationService as _0x1f61af,parseProtocolChangeset as _0x1c38f8,SnapshotService as _0x1e5978,textEncoder as _0x14238e,b64DecodeUnicode as _0x8f9bda,isTransformMutationsWithChangesetFailure as _0x4656b9,UniverCollaborationPlugin as _0x931006}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3eb98d}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x66bd33,DocStateChangeManagerService as _0x4613da,NodePositionConvertToCursor as _0x5e2d9d,NodePositionConvertToRectRange as _0x32e2ad,TEXT_RANGE_LAYER_INDEX as _0x41121f,SetDocZoomRatioOperation as _0x2a560c}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x4aa850,SetSelectionsOperation as _0xac4f86,InsertSheetMutation as _0xf19ec9,EmptyMutation as _0x7e4c57,WorkbookEditablePermission as _0x1a85fe,RefRangeService as _0x23b58f,EffectRefRangId as _0x33f806,handleIRemoveRow as _0x29aec6,handleIRemoveCol as _0x57d65c,handleMoveRange as _0x41d27b,handleInsertRow as _0x534953,handleInsertRangeMoveRight as _0x164a25,handleInsertRangeMoveDown as _0x32661a,handleInsertCol as _0x467581,handleDeleteRangeMoveUp as _0x2a464d,handleDeleteRangeMoveLeft as _0x514b3c,runRefRangeMutations as _0x2ed175,SetWorksheetActivateCommand as _0x3021b5}from'@univerjs/sheets';import{IRenderManagerService as _0x427763,Shape as _0x58ae8b,Rect as _0x471a33,getColor as _0x13b5bd,RegularPolygon as _0x5cdea5,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x23f0d1,Vector2 as _0x45b5fa}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x53d45e,RichTextEditingMutation as _0x4708ca,SetTextSelectionsOperation as _0xa415ab,DocSkeletonManagerService as _0x13a800}from'@univerjs/docs';import{ImageSourceType as _0x12208b,ImageUploadStatusType as _0x1ae38a,IImageIoService as _0x3d3c63}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x12070d,serializeRangeWithSheet as _0x43633c}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x49cddf,VIEWPORT_KEY as _0x3eef43,getCoordByCell as _0x105712,getSheetObject as _0x8e2227,SheetPermissionInitController as _0x589a77}from'@univerjs/sheets-ui';import _0x2f9e0b,{forwardRef as _0x4aa6cf,useRef as _0x5ed0a5,createElement as _0x40dbfa,useCallback as _0x198b7e}from'react';import{IRemoteInstanceService as _0x541ff8}from'@univerjs/rpc';const rr=_0x29204f(0x3ff),or='/universer-api/snapshot',ar=_0x29204f(0x3af),kc=_0x29204f(0x348),cr=0x7d0,hr='COLLAB_WEB_SOCKET_URL',lr=_0x29204f(0x45c),_r=_0x29204f(0x244),ur=0x7530,bi=_0x29204f(0x566),Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr=_0x29204f(0x239),pr=0x3e8,gr=_0x29204f(0x28c),Sr=_0x29204f(0x1b4),Ir=_0x29204f(0x395),Cr=_0x29204f(0x585);var Ri=(_0x5af8c2=>(_0x5af8c2[_0x5af8c2['UNDEFINED']=0x0]='UNDEFINED',_0x5af8c2[_0x5af8c2['OK']=0x1]='OK',_0x5af8c2[_0x5af8c2[_0x29204f(0x2b5)]=0x2]='INTERNAL_ERROR',_0x5af8c2[_0x5af8c2[_0x29204f(0x1ad)]=0x3]='PERMISSION_DENIED',_0x5af8c2[_0x5af8c2[_0x29204f(0x57f)]=0x4]=_0x29204f(0x57f),_0x5af8c2[_0x5af8c2[_0x29204f(0x2e6)]=0x5]=_0x29204f(0x2e6),_0x5af8c2[_0x5af8c2[_0x29204f(0x2e2)]=0x6]=_0x29204f(0x2e2),_0x5af8c2[_0x5af8c2[_0x29204f(0x556)]=0x7]=_0x29204f(0x556),_0x5af8c2[_0x5af8c2[_0x29204f(0x2ee)]=0x8]='TOO_MANY_REQUESTS',_0x5af8c2[_0x5af8c2[_0x29204f(0x22d)]=0x9]='COMPLETION_FINISHED',_0x5af8c2[_0x5af8c2[_0x29204f(0x24d)]=0x1389]=_0x29204f(0x24d),_0x5af8c2[_0x5af8c2[_0x29204f(0x2fc)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5af8c2[_0x5af8c2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x29204f(0x35a),_0x5af8c2[_0x5af8c2[_0x29204f(0x3db)]=0x1773]=_0x29204f(0x3db),_0x5af8c2[_0x5af8c2['APPLY_REJECT']=0x1b59]=_0x29204f(0x3f0),_0x5af8c2[_0x5af8c2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x29204f(0x2e7),_0x5af8c2[_0x5af8c2[_0x29204f(0x491)]=0x1b5b]=_0x29204f(0x491),_0x5af8c2[_0x5af8c2[_0x29204f(0x51c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5af8c2[_0x5af8c2[_0x29204f(0x3ba)]=0x1b5d]='APPLY_DUPLICATED',_0x5af8c2[_0x5af8c2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x29204f(0x4bd),_0x5af8c2[_0x5af8c2[_0x29204f(0x4a4)]=0x2329]=_0x29204f(0x4a4),_0x5af8c2[_0x5af8c2[_0x29204f(0x1d8)]=0x232a]=_0x29204f(0x1d8),_0x5af8c2[_0x5af8c2[_0x29204f(0x295)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5af8c2[_0x5af8c2[_0x29204f(0x37a)]=0x232c]=_0x29204f(0x37a),_0x5af8c2[_0x5af8c2[_0x29204f(0x354)]=0x232d]=_0x29204f(0x354),_0x5af8c2[_0x5af8c2['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5af8c2[_0x5af8c2[_0x29204f(0x4ed)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5af8c2[_0x5af8c2[_0x29204f(0x1fa)]=0x2713]=_0x29204f(0x1fa),_0x5af8c2[_0x5af8c2[_0x29204f(0x280)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5af8c2[_0x5af8c2[_0x29204f(0x2cc)]=-0x1]=_0x29204f(0x2cc),_0x5af8c2))(Ri||{}),ce=(_0x4a25bb=>(_0x4a25bb[_0x4a25bb[_0x29204f(0x24b)]=0x0]=_0x29204f(0x24b),_0x4a25bb[_0x4a25bb[_0x29204f(0x3e8)]=0x1]='UNIVER_DOC',_0x4a25bb[_0x4a25bb[_0x29204f(0x27e)]=0x2]='UNIVER_SHEET',_0x4a25bb[_0x4a25bb[_0x29204f(0x218)]=0x3]=_0x29204f(0x218),_0x4a25bb[_0x4a25bb[_0x29204f(0x42b)]=0x4]=_0x29204f(0x42b),_0x4a25bb[_0x4a25bb['UNRECOGNIZED']=-0x1]=_0x29204f(0x2cc),_0x4a25bb))(ce||{}),W=(_0x237eab=>(_0x237eab[_0x237eab[_0x29204f(0x31f)]=0x0]=_0x29204f(0x31f),_0x237eab[_0x237eab[_0x29204f(0x3b7)]=0x1]='HELLO',_0x237eab[_0x237eab[_0x29204f(0x481)]=0x2]=_0x29204f(0x481),_0x237eab[_0x237eab[_0x29204f(0x5a2)]=0x3]=_0x29204f(0x5a2),_0x237eab[_0x237eab[_0x29204f(0x278)]=0x4]=_0x29204f(0x278),_0x237eab[_0x237eab[_0x29204f(0x20c)]=0x5]=_0x29204f(0x20c),_0x237eab[_0x237eab[_0x29204f(0x49c)]=0x6]=_0x29204f(0x49c),_0x237eab[_0x237eab[_0x29204f(0x2cc)]=-0x1]=_0x29204f(0x2cc),_0x237eab))(W||{}),Is=(_0x1924e6=>(_0x1924e6[_0x1924e6[_0x29204f(0x3c0)]=0x0]=_0x29204f(0x3c0),_0x1924e6[_0x1924e6['OK']=0x1]='OK',_0x1924e6[_0x1924e6[_0x29204f(0x1f3)]=0x2]=_0x29204f(0x1f3),_0x1924e6[_0x1924e6[_0x29204f(0x2cc)]=-0x1]='UNRECOGNIZED',_0x1924e6))(Is||{}),yi=(_0x57e63f=>(_0x57e63f[_0x57e63f[_0x29204f(0x1e2)]=0x0]=_0x29204f(0x1e2),_0x57e63f[_0x57e63f[_0x29204f(0x532)]=0x1]=_0x29204f(0x532),_0x57e63f[_0x57e63f[_0x29204f(0x332)]=0x2]=_0x29204f(0x332),_0x57e63f[_0x57e63f['UnitEmbedded']=0x3]=_0x29204f(0x59b),_0x57e63f[_0x57e63f[_0x29204f(0x360)]=0x4]=_0x29204f(0x360),_0x57e63f[_0x57e63f[_0x29204f(0x2cc)]=-0x1]=_0x29204f(0x2cc),_0x57e63f))(yi||{});const ie=_0x29204f(0x4d4),Er={};function br(_0x26f478){const _0x2cc70d=_0x29204f;var _0x274ba4,_0x52b408,_0x44af57,_0x215854,_0x1fe78e;const _0x20dd7e=_0x26f478[_0x2cc70d(0x1af)],_0x470660=JSON[_0x2cc70d(0x23a)](_0x20dd7e);switch(_0x470660[_0x2cc70d(0x2c5)]){case W[_0x2cc70d(0x20c)]:case W[_0x2cc70d(0x3b7)]:{const _0x4b3117=_0x470660[_0x2cc70d(0x1b8)];return{..._0x470660,'data':_0x4b3117,'cmd':_0x470660[_0x2cc70d(0x2c5)]};}case W[_0x2cc70d(0x481)]:{const _0x443d40=_0x470660['joinRsp'];return{..._0x470660,'data':_0x443d40,'cmd':_0x470660[_0x2cc70d(0x2c5)]};}case W['RECV']:{const _0x56603c=_0x470660[_0x2cc70d(0x54e)];switch(_0x56603c['eventID']){case _0x4bdbff['PERMISSION_REJ']:return{..._0x470660,'data':{..._0x56603c,'data':(_0x274ba4=_0x56603c['permissionRejEvent'])==null?void 0x0:_0x274ba4['cs']},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff['CHANGESET_ACK']:return{..._0x470660,'data':{..._0x56603c,'data':(_0x52b408=_0x56603c['csAckEvent'])==null?void 0x0:_0x52b408['cs']},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff['NEW_CHANGESETS']:return{..._0x470660,'data':{..._0x56603c,'data':(_0x44af57=_0x56603c[_0x2cc70d(0x2d4)])==null?void 0x0:_0x44af57['cs']},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x580)]:return{..._0x470660,'data':{..._0x56603c,'data':(_0x215854=_0x56603c[_0x2cc70d(0x3c7)])==null?void 0x0:_0x215854['cs']},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x398)]:return{..._0x470660,'data':{..._0x56603c,'data':(_0x1fe78e=_0x56603c[_0x2cc70d(0x50c)])==null?void 0x0:_0x1fe78e['cs']},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x1f7)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x470)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x2e5)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x3cc)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x2e9)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x4b0)]},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x3f7)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x4b9)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x32b)]:case _0x4bdbff['LIVESHARE_OPERATION']:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x2dd)]},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x2ce)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x4b9)]},'cmd':_0x470660['cmd']};case _0x4bdbff[_0x2cc70d(0x1ea)]:return{..._0x470660,'data':_0x56603c,'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x516)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x33a)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x431)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x249)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};case _0x4bdbff[_0x2cc70d(0x23f)]:return{..._0x470660,'data':{..._0x56603c,'data':_0x56603c[_0x2cc70d(0x210)]},'cmd':_0x470660[_0x2cc70d(0x2c5)]};default:return _0x470660;}}default:return _0x470660;}}function Tr(_0xf8e25b){const _0x8d15b7=_0x29204f;switch(_0xf8e25b['cmd']){case W[_0x8d15b7(0x20c)]:case W[_0x8d15b7(0x3b7)]:return JSON['stringify']({'cmd':_0xf8e25b[_0x8d15b7(0x2c5)],'routeKey':_0xf8e25b[_0x8d15b7(0x27d)]});case W[_0x8d15b7(0x278)]:{let _0x5c6545;switch(_0xf8e25b['data'][_0x8d15b7(0x4dd)]){case _0x4bdbff[_0x8d15b7(0x1f7)]:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x1f7)],'updateCursorEvent':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff['USERS_LEAVE']:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x2e9)],'leaveEvent':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff[_0x8d15b7(0x2e5)]:{_0x5c6545={'eventID':_0x4bdbff['USERS_ENTER'],'joinEvent':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff[_0x8d15b7(0x3f7)]:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x3f7)],'liveShareNewHost':_0xf8e25b[_0x8d15b7(0x1af)]['data']};break;}case _0x4bdbff['LIVESHARE_OPERATION']:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x4e9)],'liveShareOperation':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff[_0x8d15b7(0x2ce)]:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x2ce)],'liveShareTerminate':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x1af)]};break;}case _0x4bdbff[_0x8d15b7(0x422)]:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x422)],'liveShareRequestHost':_0xf8e25b[_0x8d15b7(0x1af)]['data']};break;}case _0x4bdbff['LIVESHARE_FETCH_OPERATIONS']:{_0x5c6545={'eventID':_0x4bdbff[_0x8d15b7(0x32b)]};break;}default:_0x5c6545={'eventID':_0xf8e25b[_0x8d15b7(0x1af)][_0x8d15b7(0x4dd)]};}return JSON['stringify']({'cmd':_0xf8e25b[_0x8d15b7(0x2c5)],'routeKey':_0xf8e25b[_0x8d15b7(0x27d)],'collaMsg':_0x5c6545});}case W[_0x8d15b7(0x481)]:return JSON[_0x8d15b7(0x4bf)]({'cmd':_0xf8e25b['cmd'],'routeKey':_0xf8e25b[_0x8d15b7(0x27d)],'joinReq':_0xf8e25b['data']});case W['LEAVE']:return JSON[_0x8d15b7(0x4bf)]({'cmd':_0xf8e25b['cmd'],'routeKey':_0xf8e25b['routeKey'],'leaveReq':_0xf8e25b[_0x8d15b7(0x1af)]});default:throw new Error(_0x8d15b7(0x373));}}var Rr=Object[_0x29204f(0x51a)],yr=Object['getOwnPropertyDescriptor'],Or=(_0x5f047b,_0x339dde,_0x1ae7df,_0xc9fccc)=>{const _0x4f97f6=_0x29204f;for(var _0x1df6fe=_0xc9fccc>0x1?void 0x0:_0xc9fccc?yr(_0x339dde,_0x1ae7df):_0x339dde,_0x9769b7=_0x5f047b[_0x4f97f6(0x2f0)]-0x1,_0xcb759e;_0x9769b7>=0x0;_0x9769b7--)(_0xcb759e=_0x5f047b[_0x9769b7])&&(_0x1df6fe=(_0xc9fccc?_0xcb759e(_0x339dde,_0x1ae7df,_0x1df6fe):_0xcb759e(_0x1df6fe))||_0x1df6fe);return _0xc9fccc&&_0x1df6fe&&Rr(_0x339dde,_0x1ae7df,_0x1df6fe),_0x1df6fe;},qe=(_0x3cbc2c,_0x3260e2)=>(_0x1380ea,_0x1dd63f)=>_0x3260e2(_0x1380ea,_0x1dd63f,_0x3cbc2c);const Oi=_0x230979('univer-pro.collaboration-client-socket-service');function wr(_0x1b0891,_0x5deeca,_0x23884d){const _0x1dfe54=_0x29204f;return _0x1b0891+'/'+_0x5deeca+_0x1dfe54(0x520)+_0x23884d+_0x1dfe54(0x39b);}let es=class extends _0x2a7347{constructor(_0x29d6b1,_0x2cd366,_0x4915ce,_0x159761,_0x1a8acf){const _0x4c981e=_0x29204f;super(),this[_0x4c981e(0x579)]=_0x29d6b1,this[_0x4c981e(0x5a0)]=_0x2cd366,this[_0x4c981e(0x2d6)]=_0x4915ce,this[_0x4c981e(0x1a4)]=_0x159761,this[_0x4c981e(0x29b)]=_0x1a8acf;}['createSocket'](_0xb43f87){const _0x14aa25=_0x29204f,_0x2818b0=this['_ws'][_0x14aa25(0x31d)](_0xb43f87);if(!_0x2818b0)throw new Error(_0x14aa25(0x20b));const _0x4d269a=new _0x4fd609(),_0x5a6f45=new _0x5c0e09();_0x4d269a[_0x14aa25(0x525)](_0x2818b0[_0x14aa25(0x4a9)]['subscribe'](_0x41c545=>_0x5a6f45[_0x14aa25(0x27a)](_0x41c545))),_0x4d269a[_0x14aa25(0x525)](_0x239c52(()=>_0x5a6f45[_0x14aa25(0x1a6)]()));const _0x4415f3=new _0x5c0e09();_0x4d269a[_0x14aa25(0x525)](_0x2818b0[_0x14aa25(0x1dc)][_0x14aa25(0x388)](_0x68130=>_0x4415f3[_0x14aa25(0x27a)](_0x68130))),_0x4d269a['add'](_0x239c52(()=>_0x4415f3[_0x14aa25(0x1a6)]()));const _0x1b97f3=new _0x5c0e09();_0x4d269a['add'](_0x2818b0[_0x14aa25(0x1a3)][_0x14aa25(0x388)](_0x176c54=>{const _0xc6532a=br(_0x176c54);_0x1b97f3['next'](_0xc6532a);})),_0x4d269a[_0x14aa25(0x525)](_0x239c52(()=>_0x1b97f3[_0x14aa25(0x1a6)]()));let _0x2e891e;const _0x2c2fe4=()=>{const _0x59a0d5=_0x14aa25;_0x4415f3[_0x59a0d5(0x27a)](new Event(_0x59a0d5(0x2fd))),_0x5a6f45['next'](new CloseEvent('connection\x20error')),_0x2e891e[_0x59a0d5(0x322)]();};return _0x2e891e={'memberID':'','close$':_0x5a6f45['asObservable'](),'error$':_0x4415f3[_0x14aa25(0x1eb)](),'open$':_0x2818b0[_0x14aa25(0x38a)],'message$':_0x1b97f3[_0x14aa25(0x1eb)](),'send':_0x3e6d02=>{const _0x4ecaf6=_0x14aa25;if(_0x3e6d02['cmd']===W[_0x4ecaf6(0x278)]){if(_0x3e6d02[_0x4ecaf6(0x1af)]['eventID']===_0x4bdbff[_0x4ecaf6(0x4a7)]){this['_submitChangeset'](_0x2e891e,_0x3e6d02[_0x4ecaf6(0x1af)])[_0x4ecaf6(0x43d)](_0x2b6367=>{const _0x456234=_0x4ecaf6;this['_logService'][_0x456234(0x5a3)](_0x2b6367),_0x2c2fe4();});return;}if(_0x3e6d02['data'][_0x4ecaf6(0x4dd)]===_0x4bdbff[_0x4ecaf6(0x343)]){const _0x41167a=_0x3e6d02[_0x4ecaf6(0x1af)];this[_0x4ecaf6(0x31c)](_0x41167a)['then'](_0xbf035d=>{const _0x3a2738=_0x4ecaf6;_0x1b97f3[_0x3a2738(0x27a)]({'cmd':W[_0x3a2738(0x49c)],'code':Is['OK'],'routeKey':_0x41167a[_0x3a2738(0x1af)][_0x3a2738(0x4a6)],'routeType':'','data':{'eventID':_0x4bdbff[_0x3a2738(0x1c4)],'data':{'changesets':_0xbf035d}}});})[_0x4ecaf6(0x43d)](_0x3509b0=>{const _0x151bf7=_0x4ecaf6;this[_0x151bf7(0x1a4)][_0x151bf7(0x5a3)](_0x3509b0),_0x2c2fe4();});return;}}_0x2818b0[_0x4ecaf6(0x2fb)](Tr(_0x3e6d02));},'close':()=>{const _0x110682=_0x14aa25;_0x2818b0[_0x110682(0x322)](),_0x4d269a[_0x110682(0x1db)]();}},_0x2e891e;}async[_0x29204f(0x38e)](_0x14044b,_0x4c8140){const _0x1552db=_0x29204f;var _0x2a0916,_0x49fc56;const {unitType:_0x10a87d,unitID:_0x3cbccd,changeset:_0x38b46d}=_0x4c8140[_0x1552db(0x1af)],_0x32e8e2={'unitID':_0x3cbccd,'memberID':_0x14044b[_0x1552db(0x2f9)],'type':_0x10a87d,'changeset':_0x4e835a(_0x38b46d)},_0xf86641=this['_configService'][_0x1552db(0x4c3)](gr),_0x2d8318=this[_0x1552db(0x2d6)][_0x1552db(0x4c3)](ie),_0x4490ed=wr((_0x49fc56=(_0x2a0916=_0x2d8318==null?void 0x0:_0x2d8318[_0x1552db(0x522)])!=null?_0x2a0916:_0xf86641)!=null?_0x49fc56:Sr,_0x10a87d,_0x3cbccd);try{await this[_0x1552db(0x579)][_0x1552db(0x550)](_0x4490ed,{'body':_0x32e8e2});}catch(_0x1d7870){throw this[_0x1552db(0x1a4)]['error'](_0x1552db(0x434),_0x1552db(0x4d6)),_0x1d7870;}}async[_0x29204f(0x31c)](_0x37b991){const _0xf93d14=_0x29204f,{unitID:_0x182882,from:_0x438d1a,to:_0x3e17a5,unitType:_0x32d1c4}=_0x37b991[_0xf93d14(0x1af)];return(await this['_snapshotServerService'][_0xf93d14(0x53c)]({'metadata':void 0x0},{'unitID':_0x182882,'type':_0x32d1c4,'from':_0x438d1a,'to':_0x3e17a5}))[_0xf93d14(0x3e3)];}};es=Or([qe(0x0,_0x31a227(_0x6042f)),qe(0x1,_0x31a227(_0x2c6668)),qe(0x2,_0x1d1963),qe(0x3,_0x15baf7),qe(0x4,_0x361c65)],es);const Dr=_0x29204f(0x324);function Pr(_0x485df8){const _0x6b7c71=_0x29204f;return JSON[_0x6b7c71(0x4bf)](_0x485df8)[_0x6b7c71(0x2f0)];}class wi{constructor(){const _0x5b9f50=_0x29204f;g(this,'_commentUpdate$',new _0x5c0e09()),g(this,_0x5b9f50(0x4db),this[_0x5b9f50(0x537)][_0x5b9f50(0x1eb)]());}[_0x29204f(0x29e)](_0x50478e){const _0x4db306=_0x29204f;this[_0x4db306(0x537)][_0x4db306(0x27a)](_0x50478e);}}var Ur=Object[_0x29204f(0x51a)],Nr=Object[_0x29204f(0x424)],Ar=(_0x51abbb,_0x3d0d5e,_0x4ded9a,_0x117f68)=>{const _0x352226=_0x29204f;for(var _0x2cffea=_0x117f68>0x1?void 0x0:_0x117f68?Nr(_0x3d0d5e,_0x4ded9a):_0x3d0d5e,_0x44f37b=_0x51abbb[_0x352226(0x2f0)]-0x1,_0x45bb4b;_0x44f37b>=0x0;_0x44f37b--)(_0x45bb4b=_0x51abbb[_0x44f37b])&&(_0x2cffea=(_0x117f68?_0x45bb4b(_0x3d0d5e,_0x4ded9a,_0x2cffea):_0x45bb4b(_0x2cffea))||_0x2cffea);return _0x117f68&&_0x2cffea&&Ur(_0x3d0d5e,_0x4ded9a,_0x2cffea),_0x2cffea;},Hs=(_0x3681c7,_0x4a70e8)=>(_0x176f0e,_0x539c60)=>_0x4a70e8(_0x176f0e,_0x539c60,_0x3681c7);let Ne=class extends _0x2a7347{constructor(_0x45f91a,_0x177778){const _0x2fc11b=_0x29204f;super(),g(this,'_roomMembers',new Map()),(this[_0x2fc11b(0x472)]=_0x45f91a,this[_0x2fc11b(0x510)]=_0x177778,this[_0x2fc11b(0x1ba)](_0x239c52(_0x5924a9(this[_0x2fc11b(0x472)][_0x2fc11b(0x574)](_0x5e8949[_0x2fc11b(0x27e)])[_0x2fc11b(0x457)](_0x2057c1(_0x24dc9a=>_0x24dc9a[_0x2fc11b(0x335)]())),this[_0x2fc11b(0x472)][_0x2fc11b(0x574)](_0x5e8949['UNIVER_DOC'])[_0x2fc11b(0x457)](_0x2057c1(_0x4247c3=>_0x4247c3[_0x2fc11b(0x335)]())),this[_0x2fc11b(0x472)][_0x2fc11b(0x574)](_0x5e8949['UNIVER_SLIDE'])[_0x2fc11b(0x457)](_0x2057c1(_0xc8593c=>_0xc8593c[_0x2fc11b(0x335)]())))[_0x2fc11b(0x388)](_0x393f05=>this['_removeRoom'](_0x393f05)))));}['setCurrentUser'](_0x42d595){const _0x3b14a8=_0x29204f;this['_userManagerService'][_0x3b14a8(0x3d1)](_0x42d595);}[_0x29204f(0x288)](){const _0x13958b=_0x29204f;return this[_0x13958b(0x510)][_0x13958b(0x288)]();}[_0x29204f(0x2ba)](_0x43d47f,_0x307089){const _0x1c4b94=_0x29204f;let _0x485326=this[_0x1c4b94(0x314)][_0x1c4b94(0x19e)](_0x43d47f);_0x485326||(_0x485326=new Mr(),this[_0x1c4b94(0x314)][_0x1c4b94(0x4b7)](_0x43d47f,_0x485326)),_0x485326['updateMember'](_0x307089);}[_0x29204f(0x589)](_0x3e16ac,_0x57cf8c){const _0x4f3f8b=_0x29204f,_0xabddfd=this[_0x4f3f8b(0x314)][_0x4f3f8b(0x19e)](_0x3e16ac);_0xabddfd&&_0xabddfd[_0x4f3f8b(0x589)](_0x57cf8c);}['getRoom'](_0x5d9ced){const _0x2be8ce=_0x29204f;return this[_0x2be8ce(0x314)][_0x2be8ce(0x19e)](_0x5d9ced);}[_0x29204f(0x46b)](_0x4ae65c,_0x935690){const _0x52d151=_0x29204f,_0x5aa550=this[_0x52d151(0x314)][_0x52d151(0x19e)](_0x4ae65c);if(_0x5aa550)return _0x5aa550[_0x52d151(0x46b)](_0x935690);}[_0x29204f(0x35f)](_0x1416f0){const _0x10e700=_0x29204f,_0x8f7ba4=this['_roomMembers']['get'](_0x1416f0);_0x8f7ba4&&(_0x8f7ba4['dispose'](),this[_0x10e700(0x314)][_0x10e700(0x204)](_0x1416f0));}[_0x29204f(0x1db)](){const _0xee5367=_0x29204f;this[_0xee5367(0x314)][_0xee5367(0x4a0)](_0x55d475=>_0x55d475[_0xee5367(0x1db)]()),this[_0xee5367(0x314)][_0xee5367(0x219)]();}};Ne=Ar([Hs(0x0,_0x1a11e5),Hs(0x1,_0x31a227(_0x1fc463))],Ne);class Mr extends _0x2a7347{constructor(){const _0x1b41eb=_0x29204f;super(...arguments),g(this,_0x1b41eb(0x3a0),new Map());}[_0x29204f(0x1db)](){const _0x4dbc0f=_0x29204f;this['_members'][_0x4dbc0f(0x219)]();}['updateMember'](_0x3a7852){const _0x340814=_0x29204f;this[_0x340814(0x3a0)][_0x340814(0x4b7)](_0x3a7852[_0x340814(0x2f9)],_0x3a7852);}['removeMember'](_0x301b3e){const _0x4b62c1=_0x29204f;this[_0x4b62c1(0x3a0)][_0x4b62c1(0x204)](_0x301b3e);}[_0x29204f(0x46b)](_0x47312e){const _0xaa7c6e=_0x29204f;return this['_members'][_0xaa7c6e(0x19e)](_0x47312e);}[_0x29204f(0x3a4)](){const _0x509637=_0x29204f;return Array[_0x509637(0x4c8)](this[_0x509637(0x3a0)][_0x509637(0x593)]());}}var xr=Object['defineProperty'],Lr=Object['getOwnPropertyDescriptor'],$r=(_0x23a045,_0x1b1355,_0x5d2499,_0x472661)=>{const _0x10eb98=_0x29204f;for(var _0x10b389=_0x472661>0x1?void 0x0:_0x472661?Lr(_0x1b1355,_0x5d2499):_0x1b1355,_0x5ae3e1=_0x23a045[_0x10eb98(0x2f0)]-0x1,_0x48ec2a;_0x5ae3e1>=0x0;_0x5ae3e1--)(_0x48ec2a=_0x23a045[_0x5ae3e1])&&(_0x10b389=(_0x472661?_0x48ec2a(_0x1b1355,_0x5d2499,_0x10b389):_0x48ec2a(_0x10b389))||_0x10b389);return _0x472661&&_0x10b389&&xr(_0x1b1355,_0x5d2499,_0x10b389),_0x10b389;},Ee=(_0x4e248c,_0x2b9c0c)=>(_0x3ac6c0,_0x2a6a00)=>_0x2b9c0c(_0x3ac6c0,_0x2a6a00,_0x4e248c),ve=(_0x46d4a1=>(_0x46d4a1[_0x46d4a1[_0x29204f(0x1dd)]=0x0]=_0x29204f(0x1dd),_0x46d4a1[_0x46d4a1[_0x29204f(0x329)]=0x1]='JOINING',_0x46d4a1[_0x46d4a1['OFFLINE']=0x2]=_0x29204f(0x557),_0x46d4a1[_0x46d4a1[_0x29204f(0x576)]=0x3]=_0x29204f(0x576),_0x46d4a1))(ve||{});let ts=class extends _0x3823d2{constructor(_0x5c80ff,_0x1e1316,_0x1cad30,_0x53932b,_0xa5f417,_0x2127bf,_0x35c573,_0x5e56c6,_0xea216c,_0x242569){const _0xb33937=_0x29204f;super(),g(this,_0xb33937(0x250),new _0x4d53e2(0x0)),g(this,'sessionStatus$',this[_0xb33937(0x250)][_0xb33937(0x1eb)]()),g(this,_0xb33937(0x32f),new _0x5c0e09()),g(this,_0xb33937(0x190),this['_event$']['asObservable']()),g(this,'_socket'),g(this,_0xb33937(0x54c)),g(this,'_collaborationTimeoutTimer'),g(this,_0xb33937(0x4d7),!0x1),g(this,_0xb33937(0x3fd),null),(this[_0xb33937(0x233)]=_0x5c80ff,this[_0xb33937(0x1a4)]=_0x1cad30,this[_0xb33937(0x3a3)]=_0x53932b,this[_0xb33937(0x3ca)]=_0xa5f417,this[_0xb33937(0x2d6)]=_0x2127bf,this[_0xb33937(0x1ab)]=_0x35c573,this[_0xb33937(0x1c8)]=_0x5e56c6,this[_0xb33937(0x58d)]=_0xea216c,this[_0xb33937(0x464)]=_0x242569,this[_0xb33937(0x4d7)]=!!this[_0xb33937(0x464)],_0x1e1316[_0xb33937(0x457)](_0x4b7102(this[_0xb33937(0x58b)]))[_0xb33937(0x388)](_0x18bfe3=>{const _0x4f3ed9=_0xb33937;var _0x46e2b2;typeof _0x18bfe3>'u'||(this[_0x4f3ed9(0x328)]=_0x18bfe3,_0x18bfe3?(this['_joinRoom'](_0x18bfe3),this['_socketMessageSubscription']=_0x18bfe3[_0x4f3ed9(0x1a3)][_0x4f3ed9(0x388)](_0x5717d6=>{const _0x3fce32=_0x4f3ed9;_0x5717d6[_0x3fce32(0x27d)]===this[_0x3fce32(0x233)]&&this[_0x3fce32(0x33e)](_0x5717d6);})):(this[_0x4f3ed9(0x429)](),this['_sessionStatus$']['next'](0x2),(_0x46e2b2=this[_0x4f3ed9(0x54c)])==null||_0x46e2b2[_0x4f3ed9(0x2b8)](),this[_0x4f3ed9(0x54c)]=null));}),this['disposeWithMe'](this[_0xb33937(0x3a3)][_0xb33937(0x33d)](()=>{const _0x7df08e=_0xb33937;var _0x1f5184;(_0x1f5184=this['_socket'])==null||_0x1f5184['send']({'cmd':W[_0x7df08e(0x5a2)],'data':{'roomID':this['_unitID']}});})));}get[_0x29204f(0x453)](){const _0x2ea18c=_0x29204f;return this[_0x2ea18c(0x250)][_0x2ea18c(0x432)]();}[_0x29204f(0x315)](){const _0x3f0225=_0x29204f;var _0x538585,_0xdc93d2;return(_0xdc93d2=(_0x538585=this[_0x3f0225(0x328)])==null?void 0x0:_0x538585[_0x3f0225(0x2f9)])!=null?_0xdc93d2:null;}[_0x29204f(0x1db)](){const _0x42207f=_0x29204f;super[_0x42207f(0x1db)](),this[_0x42207f(0x58b)][_0x42207f(0x27a)](),this[_0x42207f(0x58b)]['complete']();}[_0x29204f(0x322)](){const _0x47fe9e=_0x29204f;var _0x55aea7,_0x1bad1e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x55aea7=this['_socket'])==null||_0x55aea7['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x47fe9e(0x233)]}}),(_0x1bad1e=this[_0x47fe9e(0x328)])==null||_0x1bad1e[_0x47fe9e(0x322)](),this[_0x47fe9e(0x32f)]['complete'](),this[_0x47fe9e(0x250)][_0x47fe9e(0x1a6)](),this[_0x47fe9e(0x1db)]();}[_0x29204f(0x33e)](_0x443cf8){const _0x3ea660=_0x29204f;_0x443cf8['cmd']===W[_0x3ea660(0x481)]?this['_onJoinRoomEvent'](_0x443cf8):_0x443cf8[_0x3ea660(0x2c5)]===W[_0x3ea660(0x49c)]&&this[_0x3ea660(0x268)](_0x443cf8);}['_joinRoom'](_0x456190){const _0x9bfb30=_0x29204f;this[_0x9bfb30(0x250)][_0x9bfb30(0x27a)](0x1),_0x456190[_0x9bfb30(0x2fb)]({'cmd':W[_0x9bfb30(0x481)],'routeKey':this[_0x9bfb30(0x233)],'routeType':'','data':{'rooms':[{'roomID':this[_0x9bfb30(0x233)]}]}});}[_0x29204f(0x1ee)](_0x4249db){const _0x3725f3=_0x29204f;var _0x124575;if(_0x4249db['code']===Is['FAIL']){this['_messageService'][_0x3725f3(0x4ad)]({'type':_0x11c8f7[_0x3725f3(0x243)],'content':this[_0x3725f3(0x1ab)]['t'](_0x3725f3(0x42a))}),this[_0x3725f3(0x250)][_0x3725f3(0x27a)](0x2);return;}this[_0x3725f3(0x250)][_0x3725f3(0x27a)](0x3);const _0x2a214d=(_0x124575=_0x4249db[_0x3725f3(0x1af)]['roomInfos'][this[_0x3725f3(0x233)]])==null?void 0x0:_0x124575['members'];_0x2a214d&&_0x2a214d['forEach'](_0x561803=>this[_0x3725f3(0x1c8)][_0x3725f3(0x2ba)](this[_0x3725f3(0x233)],_0x561803));}[_0x29204f(0x268)](_0x5af7fb){const _0x585b01=_0x29204f;try{const _0x26b70b=_0x5af7fb[_0x585b01(0x1af)];switch(_0x26b70b[_0x585b01(0x4dd)]){case _0x4bdbff['USERS_ENTER']:this[_0x585b01(0x202)](_0x26b70b),this['_event$']['next'](_0x26b70b);break;case _0x4bdbff[_0x585b01(0x2e9)]:this[_0x585b01(0x274)](_0x26b70b),this[_0x585b01(0x32f)][_0x585b01(0x27a)](_0x26b70b);break;case _0x4bdbff[_0x585b01(0x1ca)]:case _0x4bdbff[_0x585b01(0x398)]:this[_0x585b01(0x3c3)](),this[_0x585b01(0x22e)](),this[_0x585b01(0x32f)][_0x585b01(0x27a)](_0x26b70b);break;case _0x4bdbff[_0x585b01(0x1ea)]:this['_logService']['error'](_0x585b01(0x2d9)+JSON[_0x585b01(0x4bf)](_0x26b70b)),this[_0x585b01(0x32f)][_0x585b01(0x27a)](_0x26b70b);break;case _0x4bdbff['COMMENT_UPDATE']:this[_0x585b01(0x58d)][_0x585b01(0x29e)](_0x26b70b[_0x585b01(0x1af)]),this[_0x585b01(0x32f)]['next'](_0x26b70b);break;default:this['_event$']['next'](_0x26b70b);}}catch(_0x24d1df){this[_0x585b01(0x1a4)]['error'](_0x24d1df,_0x5af7fb);}}[_0x29204f(0x202)](_0x521922){const _0x2622e5=_0x29204f;this[_0x2622e5(0x1c8)]['updateMember'](this[_0x2622e5(0x233)],_0x521922[_0x2622e5(0x1af)]);}[_0x29204f(0x274)](_0x3281b7){const _0x395510=_0x29204f;this[_0x395510(0x1c8)][_0x395510(0x589)](this[_0x395510(0x233)],_0x3281b7[_0x395510(0x1af)]['memberID']);}async[_0x29204f(0x2fb)](_0x465fc7,_0x5e1580){const _0x36d00e=_0x29204f;if(this[_0x36d00e(0x453)]!==0x3||!this['_socket'])throw new Error(_0x36d00e(0x205));try{_0x465fc7[_0x36d00e(0x4dd)]===_0x4bdbff[_0x36d00e(0x4a7)]&&(this[_0x36d00e(0x511)](),this['_startTelemetryCollaborationNewChangeset'](_0x465fc7)),this[_0x36d00e(0x328)]['send']({'cmd':W['INGEST'],'routeKey':_0x5e1580,'routeType':'','data':_0x465fc7});}catch(_0x210174){this[_0x36d00e(0x1a4)][_0x36d00e(0x5a3)](_0x210174);}}[_0x29204f(0x511)](){const _0x31cff4=_0x29204f;var _0x24c9dc;this['_collaborationTimeoutTimer']=window[_0x31cff4(0x361)](()=>{const _0x51c39d=_0x31cff4;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x51c39d(0x4ad)]({'type':_0x11c8f7[_0x51c39d(0x428)],'content':this[_0x51c39d(0x1ab)]['t'](_0x51c39d(0x4e3))});},(_0x24c9dc=this[_0x31cff4(0x2d6)][_0x31cff4(0x4c3)](bi))!=null?_0x24c9dc:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x437a4a=_0x29204f;this[_0x437a4a(0x44a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x437a4a(0x44a)]=null);}[_0x29204f(0x526)](_0x2975fc){if(!this['_shouldReportTelemetry'])return;const {data:_0x24ae1c}=_0x2975fc,{unitID:_0x36bbd3,changeset:_0x54af62}=_0x24ae1c,{mutations:_0x303abd,type:_0x52eed1}=_0x54af62;this['_telemetryInfo']={'unitId':_0x36bbd3,'type':_0x52eed1,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x303abd)};}[_0x29204f(0x3c3)](){const _0x19d413=_0x29204f;if(this[_0x19d413(0x4d7)]){if(!this[_0x19d413(0x3fd)]){this[_0x19d413(0x1a4)][_0x19d413(0x5a3)](_0x19d413(0x434),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x19d413(0x3fd)][_0x19d413(0x351)]=performance[_0x19d413(0x3f8)](),this[_0x19d413(0x3fd)]['duration']=this[_0x19d413(0x3fd)][_0x19d413(0x351)]-this['_telemetryInfo'][_0x19d413(0x48f)],this[_0x19d413(0x464)]['capture'](Dr,this[_0x19d413(0x3fd)]),this[_0x19d413(0x3fd)]=null;}}[_0x29204f(0x429)](){this['_telemetryInfo']=null;}};ts=$r([Ee(0x2,_0x15baf7),Ee(0x3,_0x391a01),Ee(0x4,_0x5d8f55),Ee(0x5,_0x1d1963),Ee(0x6,_0x31a227(_0x3da7c2)),Ee(0x7,_0x31a227(Ne)),Ee(0x8,_0x31a227(wi)),Ee(0x9,_0x2fdd6d(_0x3eb98d))],ts);var Hr=Object[_0x29204f(0x51a)],jr=Object['getOwnPropertyDescriptor'],Br=(_0x131d2d,_0x49b61a,_0x5289df,_0x20adfb)=>{const _0x347a0d=_0x29204f;for(var _0x153e6f=_0x20adfb>0x1?void 0x0:_0x20adfb?jr(_0x49b61a,_0x5289df):_0x49b61a,_0x5c8d12=_0x131d2d[_0x347a0d(0x2f0)]-0x1,_0x506334;_0x5c8d12>=0x0;_0x5c8d12--)(_0x506334=_0x131d2d[_0x5c8d12])&&(_0x153e6f=(_0x20adfb?_0x506334(_0x49b61a,_0x5289df,_0x153e6f):_0x506334(_0x153e6f))||_0x153e6f);return _0x20adfb&&_0x153e6f&&Hr(_0x49b61a,_0x5289df,_0x153e6f),_0x153e6f;},je=(_0x4c5899,_0x37eb47)=>(_0xe347f8,_0x1e0274)=>_0x37eb47(_0xe347f8,_0x1e0274,_0x4c5899);let Ae=class extends _0x2a7347{constructor(_0x8e7c90,_0x156484,_0x5c5908,_0x388716,_0x430cf3,_0x22b61f){const _0x428aed=_0x29204f;super(),g(this,'_socket$',new _0x4d53e2(void 0x0)),g(this,_0x428aed(0x266),this[_0x428aed(0x2c2)][_0x428aed(0x1eb)]()),g(this,'_candidateSocket',null),g(this,_0x428aed(0x376),new Map()),g(this,'_status$',new _0x4d53e2(ve[_0x428aed(0x1dd)])),g(this,_0x428aed(0x37d),this['_status$'][_0x428aed(0x1eb)]()),g(this,'_socketReady',!0x1),g(this,_0x428aed(0x504)),g(this,_0x428aed(0x42e),0x0),g(this,_0x428aed(0x4e7)),g(this,_0x428aed(0x371)),(this[_0x428aed(0x501)]=_0x8e7c90,this[_0x428aed(0x1ab)]=_0x156484,this[_0x428aed(0x3ca)]=_0x5c5908,this[_0x428aed(0x1a4)]=_0x388716,this[_0x428aed(0x2d6)]=_0x430cf3,this[_0x428aed(0x2b9)]=_0x22b61f,this[_0x428aed(0x471)]());}get[_0x29204f(0x328)](){const _0x4c4508=_0x29204f;return this[_0x4c4508(0x2c2)][_0x4c4508(0x432)]();}[_0x29204f(0x471)](){const _0x599f4e=_0x29204f;this[_0x599f4e(0x203)](),this[_0x599f4e(0x1f0)]();}[_0x29204f(0x1db)](){const _0x5a1536=_0x29204f;super[_0x5a1536(0x1db)](),this[_0x5a1536(0x376)][_0x5a1536(0x4a0)](_0x53834b=>_0x53834b[_0x5a1536(0x1db)]()),this[_0x5a1536(0x376)]['clear'](),this[_0x5a1536(0x325)][_0x5a1536(0x1a6)]();}async[_0x29204f(0x2ea)](_0x289bda){const _0x438040=_0x29204f;if(this[_0x438040(0x376)][_0x438040(0x246)](_0x289bda))return this[_0x438040(0x376)][_0x438040(0x19e)](_0x289bda);this[_0x438040(0x57e)]();const _0x4433a0=this[_0x438040(0x501)][_0x438040(0x49e)](ts,_0x289bda,this[_0x438040(0x2c2)][_0x438040(0x1eb)]());return this['_sessions'][_0x438040(0x4b7)](_0x289bda,_0x4433a0),_0x4433a0;}[_0x29204f(0x1b3)](_0x52486e){const _0x516359=_0x29204f;var _0x2b0b02;const _0x1ed1c2=this[_0x516359(0x376)][_0x516359(0x19e)](_0x52486e);_0x1ed1c2&&(this['_sessions'][_0x516359(0x204)](_0x52486e),_0x1ed1c2[_0x516359(0x322)]()),this['_sessions']['size']||(_0x2b0b02=this['_socket'])==null||_0x2b0b02['close']();}['reconnect'](){const _0x398921=_0x29204f;this[_0x398921(0x42e)]=0x0,this[_0x398921(0x504)]!=null&&(clearTimeout(this[_0x398921(0x504)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}[_0x29204f(0x3d7)](){const _0x438f70=_0x29204f;var _0x3a1247,_0x28c8f0;const _0x44be7f=this['_configService'][_0x438f70(0x4c3)](hr),_0x2d2127=this[_0x438f70(0x2d6)][_0x438f70(0x4c3)](ie),_0x1cf440=(_0x28c8f0=(_0x3a1247=_0x2d2127==null?void 0x0:_0x2d2127['collabWebSocketUrl'])!=null?_0x3a1247:_0x44be7f)!=null?_0x28c8f0:lr,_0x1d62fd=this['_socketService'][_0x438f70(0x31d)](_0x1cf440);return this[_0x438f70(0x1a2)]=_0x1d62fd,_0x1d62fd;}[_0x29204f(0x57e)](){const _0x3cc20a=_0x29204f;var _0x20a813,_0x10bdf8;try{const _0x304f55=(_0x10bdf8=(_0x20a813=this['_socket'])!=null?_0x20a813:this[_0x3cc20a(0x1a2)])!=null?_0x10bdf8:this[_0x3cc20a(0x3d7)]();if(_0x304f55){const _0x1e9b63=_0x304f55['send'];_0x304f55[_0x3cc20a(0x2fb)]=_0xcc23c5=>(this[_0x3cc20a(0x1a9)](),_0x1e9b63[_0x3cc20a(0x304)](_0x304f55,[_0xcc23c5])),_0x304f55[_0x3cc20a(0x1a3)][_0x3cc20a(0x388)](_0x59282e=>this['_onMessage'](_0x304f55,_0x59282e)),_0x304f55[_0x3cc20a(0x1dc)][_0x3cc20a(0x457)](_0x3c517f(0x1))[_0x3cc20a(0x388)](_0x57c63f=>this['_logService'][_0x3cc20a(0x5a3)](_0x3cc20a(0x1c6),_0x57c63f)),_0x304f55[_0x3cc20a(0x38a)][_0x3cc20a(0x457)](_0x3c517f(0x1))[_0x3cc20a(0x388)](()=>{this['_onConnectionOpen'](_0x304f55);}),_0x304f55[_0x3cc20a(0x4a9)][_0x3cc20a(0x457)](_0x3c517f(0x1))[_0x3cc20a(0x388)](_0x5681b5=>{const _0x34879c=_0x3cc20a;this[_0x34879c(0x1a4)][_0x34879c(0x416)]('[CollaborationSessionService]',_0x34879c(0x3d0),_0x5681b5),this[_0x34879c(0x57a)]();});}}catch(_0x2b68e9){this[_0x3cc20a(0x1a4)]['error'](_0x2b68e9),this['_onConnectionFailed']();}}[_0x29204f(0x3a7)](_0x3a6854){const _0x186fe4=_0x29204f;this[_0x186fe4(0x1a4)][_0x186fe4(0x416)](_0x186fe4(0x4f8),'socket\x20open.'),_0x3a6854[_0x186fe4(0x2fb)]({'cmd':W[_0x186fe4(0x3b7)]}),this[_0x186fe4(0x1a9)]();}['_listenToOfflineEvent'](){const _0x29f72f=_0x29204f;window[_0x29f72f(0x281)](_0x29f72f(0x234),()=>this[_0x29f72f(0x452)]());}[_0x29204f(0x452)](){const _0x31c7ad=_0x29204f;this['_socketReady']=!0x1,this[_0x31c7ad(0x1a2)]=null,this[_0x31c7ad(0x325)]['next'](ve[_0x31c7ad(0x557)]),this[_0x31c7ad(0x2c2)][_0x31c7ad(0x27a)](null),this[_0x31c7ad(0x312)](),this[_0x31c7ad(0x4af)]();}['_onConnectionFailed'](){const _0x2dcb54=_0x29204f;var _0x564bc2;this[_0x2dcb54(0x452)](),this['_retryCount']<((_0x564bc2=this['_configService'][_0x2dcb54(0x4c3)](fr))!=null?_0x564bc2:vr)?(this[_0x2dcb54(0x3ca)]['show']({'key':'collaboration-session-retry','type':_0x11c8f7[_0x2dcb54(0x243)],'content':this[_0x2dcb54(0x1ab)]['t']('session.will-retry')}),this[_0x2dcb54(0x338)]()):this[_0x2dcb54(0x3ca)]['show']({'key':_0x2dcb54(0x225),'type':_0x11c8f7['Error'],'content':this[_0x2dcb54(0x1ab)]['t'](_0x2dcb54(0x2d8))});}[_0x29204f(0x1f0)](){const _0x1b0df6=_0x29204f,_0x17bbcb=()=>{const _0x592433=_0x5d6c;this['_socket']||this[_0x592433(0x341)]();},_0x5489c0=()=>{const _0x1751d2=_0x5d6c;this[_0x1751d2(0x328)]||document['visibilityState']===_0x1751d2(0x46c)||this[_0x1751d2(0x341)]();};window[_0x1b0df6(0x281)]('online',_0x17bbcb),document[_0x1b0df6(0x281)](_0x1b0df6(0x4e6),_0x5489c0);}[_0x29204f(0x338)](){const _0x34edd9=_0x29204f;var _0x25b575;const _0x35a1ad=this[_0x34edd9(0x42e)],_0x1d5d62=this[_0x34edd9(0x2d6)][_0x34edd9(0x4c3)](ie),_0x254b5c=_0x35a1ad===0x0?0x0:((_0x25b575=_0x1d5d62==null?void 0x0:_0x1d5d62['retryConnectingInterval'])!=null?_0x25b575:dr)*0x2**_0x35a1ad;this['_retryConnectingTimer']=window[_0x34edd9(0x361)](()=>{const _0x4432af=_0x34edd9;clearTimeout(this['_retryConnectingTimer']),this[_0x4432af(0x504)]=null,this[_0x4432af(0x57e)]();},_0x254b5c),this[_0x34edd9(0x42e)]+=0x1;}[_0x29204f(0x3c1)](_0x44c2bb,_0x455bb2){const _0x3f95ca=_0x29204f,{cmd:_0x5b270c}=_0x455bb2;_0x5b270c===W[_0x3f95ca(0x3b7)]&&!this[_0x3f95ca(0x220)]&&(_0x44c2bb[_0x3f95ca(0x2f9)]=_0x455bb2[_0x3f95ca(0x1af)]['memberID'],this[_0x3f95ca(0x2c2)]['next'](_0x44c2bb),this[_0x3f95ca(0x325)]['next'](ve[_0x3f95ca(0x576)]),this[_0x3f95ca(0x220)]=!0x0,this['_candidateSocket']=null),_0x5b270c===W['HEARTBEAT']&&this[_0x3f95ca(0x312)](),this[_0x3f95ca(0x1a9)]();}['_rescheduleHeartbeat'](){const _0x59f58b=_0x29204f;var _0x13bf3d;this['_clearHeartbeatTimer'](),this[_0x59f58b(0x4e7)]=window[_0x59f58b(0x361)](()=>this[_0x59f58b(0x551)](),(_0x13bf3d=this[_0x59f58b(0x2d6)][_0x59f58b(0x4c3)](_r))!=null?_0x13bf3d:ur);}[_0x29204f(0x551)](){const _0x3af741=_0x29204f;this['_socket'][_0x3af741(0x2fb)]({'cmd':W['HEARTBEAT']}),this[_0x3af741(0x237)]();}[_0x29204f(0x237)](){const _0x898d57=_0x29204f;var _0x248046;this[_0x898d57(0x371)]=window[_0x898d57(0x361)](()=>this[_0x898d57(0x57a)](),(_0x248046=this[_0x898d57(0x2d6)][_0x898d57(0x4c3)](bi))!=null?_0x248046:Ti);}[_0x29204f(0x4af)](){const _0x28e727=_0x29204f;this[_0x28e727(0x4e7)]!=null&&(clearTimeout(this[_0x28e727(0x4e7)]),this['_sendHeartbeatTimer']=null);}[_0x29204f(0x312)](){const _0x298ea3=_0x29204f;this[_0x298ea3(0x371)]!=null&&(clearTimeout(this[_0x298ea3(0x371)]),this[_0x298ea3(0x371)]=null);}};Ae=Br([je(0x0,_0x31a227(_0x3ada64)),je(0x1,_0x31a227(_0x3da7c2)),je(0x2,_0x5d8f55),je(0x3,_0x15baf7),je(0x4,_0x1d1963),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x29204f(0x523)]((Nt+0x100)[_0x29204f(0x1b5)](0x10)['slice'](0x1));function kr(_0x394d18,_0x5baedd=0x0){return(Y[_0x394d18[_0x5baedd+0x0]]+Y[_0x394d18[_0x5baedd+0x1]]+Y[_0x394d18[_0x5baedd+0x2]]+Y[_0x394d18[_0x5baedd+0x3]]+'-'+Y[_0x394d18[_0x5baedd+0x4]]+Y[_0x394d18[_0x5baedd+0x5]]+'-'+Y[_0x394d18[_0x5baedd+0x6]]+Y[_0x394d18[_0x5baedd+0x7]]+'-'+Y[_0x394d18[_0x5baedd+0x8]]+Y[_0x394d18[_0x5baedd+0x9]]+'-'+Y[_0x394d18[_0x5baedd+0xa]]+Y[_0x394d18[_0x5baedd+0xb]]+Y[_0x394d18[_0x5baedd+0xc]]+Y[_0x394d18[_0x5baedd+0xd]]+Y[_0x394d18[_0x5baedd+0xe]]+Y[_0x394d18[_0x5baedd+0xf]])['toLowerCase']();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x45abae=_0x29204f;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x45abae(0x229)]&&crypto['getRandomValues'][_0x45abae(0x1df)](crypto),!ct))throw new Error(_0x45abae(0x53a));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x29204f(0x4fd)][_0x29204f(0x1df)](crypto);const js={'randomUUID':Vr};function Gr(_0x2e4e5f,_0xabf447,_0x21c8da){const _0x5ad579=_0x29204f;if(js[_0x5ad579(0x4fd)]&&!_0xabf447&&!_0x2e4e5f)return js['randomUUID']();_0x2e4e5f=_0x2e4e5f||{};var _0xb0c4df=_0x2e4e5f[_0x5ad579(0x1ac)]||(_0x2e4e5f['rng']||Fr)();return _0xb0c4df[0x6]=_0xb0c4df[0x6]&0xf|0x40,_0xb0c4df[0x8]=_0xb0c4df[0x8]&0x3f|0x80,kr(_0xb0c4df);}var Yr=Object[_0x29204f(0x51a)],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x2650c1,_0x2a1ff1,_0x48881e,_0x262544)=>{const _0x48fc98=_0x29204f;for(var _0x452a67=_0x262544>0x1?void 0x0:_0x262544?Kr(_0x2a1ff1,_0x48881e):_0x2a1ff1,_0xdfec58=_0x2650c1[_0x48fc98(0x2f0)]-0x1,_0x5a8203;_0xdfec58>=0x0;_0xdfec58--)(_0x5a8203=_0x2650c1[_0xdfec58])&&(_0x452a67=(_0x262544?_0x5a8203(_0x2a1ff1,_0x48881e,_0x452a67):_0x5a8203(_0x452a67))||_0x452a67);return _0x262544&&_0x452a67&&Yr(_0x2a1ff1,_0x48881e,_0x452a67),_0x452a67;},At=(_0x8e3f52,_0x30aee7)=>(_0x376739,_0x283b57)=>_0x30aee7(_0x376739,_0x283b57,_0x8e3f52);let vt=class{constructor(_0x3693bb,_0x2dc8cd,_0x488dc7){const _0x52f8af=_0x29204f;this[_0x52f8af(0x501)]=_0x3693bb,this[_0x52f8af(0x4a1)]=_0x2dc8cd,this[_0x52f8af(0x224)]=_0x488dc7;}['transformIMECache'](_0x3f5114){const _0x584fbf=_0x29204f;this[_0x584fbf(0x425)](_0x3f5114),this[_0x584fbf(0x3a9)](_0x3f5114);}[_0x29204f(0x514)](_0x3dad56){const _0x37822a=_0x29204f,{unitID:_0x20f6ac}=_0x3dad56,_0xf5df02=this[_0x37822a(0x224)][_0x37822a(0x596)](_0x20f6ac)[_0x37822a(0x3f4)](_0x66bd33),{redoCache:_0x13d9cf}=_0xf5df02[_0x37822a(0x2ab)]();if(_0x13d9cf[_0x37822a(0x2f0)]===0x0)return _0x3dad56;let _0x532638=_0x572bca[_0x37822a(0x440)](_0x3dad56['mutations'][0x0]);for(let _0x253a62=0x0;_0x253a62<_0x13d9cf[_0x37822a(0x2f0)];_0x253a62++){const _0x3dffc2={'id':'doc.mutation.rich-text-editing','params':{..._0x13d9cf[_0x253a62]}},_0x58e1fb=this[_0x37822a(0x4a1)]['transformMutation'](_0x532638,_0x3dffc2,!0x1);if(_0x3a6c5b(_0x58e1fb))throw _0x58e1fb[_0x37822a(0x5a3)];_0x532638=_0x58e1fb[_0x37822a(0x59d)];}return{..._0x572bca['deepClone'](_0x3dad56),'mutations':[_0x532638]};}[_0x29204f(0x425)](_0x5ca7e9){const _0x448009=_0x29204f,{unitID:_0x3c0336}=_0x5ca7e9,_0x363351=this[_0x448009(0x224)][_0x448009(0x596)](_0x3c0336)[_0x448009(0x3f4)](_0x66bd33),{undoCache:_0x583cbe,redoCache:_0x3a3141}=_0x363351[_0x448009(0x2ab)]();if(_0x583cbe[_0x448009(0x2f0)]===0x0||_0x3a3141[_0x448009(0x2f0)]===0x0)return;const _0x58d142=[],_0x84a699=[];let _0x5434e6=_0x572bca[_0x448009(0x440)](_0x5ca7e9[_0x448009(0x1b7)][0x0]),_0x3850cd=_0x572bca[_0x448009(0x440)](_0x5ca7e9[_0x448009(0x1b7)][0x0]);for(let _0x53d3f2=_0x583cbe[_0x448009(0x2f0)]-0x1;_0x53d3f2>=0x0;_0x53d3f2--){const _0x424c64={'id':_0x448009(0x384),'params':{..._0x583cbe[_0x53d3f2]}},_0x4b94ed={'id':'doc.mutation.rich-text-editing','params':{..._0x3a3141[_0x53d3f2]}},_0x3484e4=this[_0x448009(0x4a1)][_0x448009(0x2fa)](_0x5434e6,_0x424c64,!0x1),_0x512abc=this[_0x448009(0x4a1)][_0x448009(0x2fa)](_0x3850cd,_0x4b94ed,!0x1);if(_0x3a6c5b(_0x3484e4))throw _0x3484e4[_0x448009(0x5a3)];if(_0x3a6c5b(_0x512abc))throw _0x512abc['error'];_0x58d142[_0x448009(0x2df)](_0x3484e4[_0x448009(0x4ee)][_0x448009(0x499)]),_0x84a699[_0x448009(0x2df)](_0x512abc[_0x448009(0x4ee)]['params']),_0x5434e6=_0x3484e4[_0x448009(0x59d)],_0x3850cd=_0x512abc['m1Prime'];}_0x363351[_0x448009(0x404)]({'undoCache':_0x58d142,'redoCache':_0x84a699});}[_0x29204f(0x3a9)](_0x1b2c41){const _0x3440e1=_0x29204f,{unitID:_0x2f7442}=_0x1b2c41,_0x2452b2=this[_0x3440e1(0x224)][_0x3440e1(0x596)](_0x2f7442)['with'](_0x66bd33),_0x39d138=_0x2452b2[_0x3440e1(0x34b)]();if(_0x39d138==null)return;const _0x2b29d7=[{'id':_0x3440e1(0x384),'params':{'unitId':_0x1b2c41[_0x3440e1(0x4a6)],'actions':null,'textRanges':[_0x39d138]}}],_0x5df029=this['_transformService']['transformMutationsWithChangeset'](_0x1b2c41,_0x2b29d7);if(!_0x15601c(_0x5df029))throw _0x5df029['error'];const _0x2d00b1=_0x5df029[_0x3440e1(0x4ee)][0x0][_0x3440e1(0x499)][_0x3440e1(0x45b)];Array[_0x3440e1(0x212)](_0x2d00b1)&&_0x2d00b1[_0x3440e1(0x2f0)]&&_0x2452b2[_0x3440e1(0x477)](_0x2d00b1[0x0]);}};vt=zr([At(0x0,_0x31a227(_0x3ada64)),At(0x1,_0x5f49ec),At(0x2,_0x427763)],vt);var qr=Object[_0x29204f(0x51a)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x4de32d,_0x5f024e,_0x5581ad,_0x53b5d0)=>{for(var _0x1b61bd=_0x53b5d0>0x1?void 0x0:_0x53b5d0?Xr(_0x5f024e,_0x5581ad):_0x5f024e,_0x424006=_0x4de32d['length']-0x1,_0x1ee4f5;_0x424006>=0x0;_0x424006--)(_0x1ee4f5=_0x4de32d[_0x424006])&&(_0x1b61bd=(_0x53b5d0?_0x1ee4f5(_0x5f024e,_0x5581ad,_0x1b61bd):_0x1ee4f5(_0x1b61bd))||_0x1b61bd);return _0x53b5d0&&_0x1b61bd&&qr(_0x5f024e,_0x5581ad,_0x1b61bd),_0x1b61bd;},Xe=(_0x48f57c,_0x1ee9a4)=>(_0xf32a,_0x4e5caf)=>_0x1ee9a4(_0xf32a,_0x4e5caf,_0x48f57c);let q=class extends _0x2a7347{constructor(_0x55a410,_0x3ed32e,_0x11a31f,_0x3fa33e,_0x26f95b){const _0x2041f4=_0x29204f;super(),g(this,_0x2041f4(0x1bf),new Map()),g(this,_0x2041f4(0x29f),new Map()),g(this,'_disabled',!0x1),(this['_configService']=_0x55a410,this[_0x2041f4(0x1cc)]=_0x3ed32e,this['_beforeCloseService']=_0x11a31f,this[_0x2041f4(0x1ab)]=_0x3fa33e,this[_0x2041f4(0x2b7)]=_0x26f95b,this[_0x2041f4(0x370)]());}[_0x29204f(0x578)](){this['_disabled']=!0x0;}[_0x29204f(0x568)](){const _0x38de2f=_0x29204f;this[_0x38de2f(0x3d2)]=!0x1;}[_0x29204f(0x1db)](){const _0x5f5481=_0x29204f;this[_0x5f5481(0x3d5)]()['then'](()=>super[_0x5f5481(0x1db)]());}async[_0x29204f(0x43e)](_0x373fa4){const _0xf2ef73=_0x29204f;return this[_0xf2ef73(0x3d2)]?null:this[_0xf2ef73(0x1cc)][_0xf2ef73(0x306)](Bs(_0x373fa4));}async[_0x29204f(0x1b0)](_0x354eac,_0x75c3ce){const _0x31afc6=_0x29204f;return!!this[_0x31afc6(0x1cc)][_0x31afc6(0x512)](_0x354eac,_0x75c3ce);}[_0x29204f(0x444)](_0x558f74,_0x36f3bc,_0x3b9c55,_0x108679){const _0x17015d=_0x29204f,_0x1ab42d=this[_0x17015d(0x2b7)][_0x17015d(0x362)](_0x558f74);this[_0x17015d(0x1bf)][_0x17015d(0x4b7)](_0x558f74,{'unitID':_0x558f74,'type':_0x36f3bc,'awaitingChangeset':_0x3b9c55,'mutations':_0x108679,'rev':_0x1ab42d}),this[_0x17015d(0x29f)]['has'](_0x558f74)||this[_0x17015d(0x40d)](_0x558f74);}['_scheduleSaving'](_0xb0e4c0){const _0x27e523=_0x29204f,_0x55a6a0=this[_0x27e523(0x55c)]();_0x55a6a0===0x0?this[_0x27e523(0x53f)](_0xb0e4c0):this[_0x27e523(0x29f)][_0x27e523(0x4b7)](_0xb0e4c0,setTimeout(()=>this[_0x27e523(0x53f)](_0xb0e4c0),_0x55a6a0));}[_0x29204f(0x55c)](){const _0x21578c=_0x29204f;var _0x4eec99;return(_0x4eec99=this[_0x21578c(0x2d6)]['getConfig'](mr))!=null?_0x4eec99:pr;}[_0x29204f(0x53f)](_0x1f9c6c){const _0x4ac24d=_0x29204f,_0x283dfd=this[_0x4ac24d(0x29f)]['get'](_0x1f9c6c);return _0x283dfd!==void 0x0&&window[_0x4ac24d(0x276)](_0x283dfd),this[_0x4ac24d(0x1cc)][_0x4ac24d(0x512)](Bs(_0x1f9c6c),this[_0x4ac24d(0x1bf)][_0x4ac24d(0x19e)](_0x1f9c6c))['then'](()=>this[_0x4ac24d(0x29f)][_0x4ac24d(0x204)](_0x1f9c6c));}async[_0x29204f(0x3d5)](){const _0x3f5f59=_0x29204f,_0x50e70e=[];this[_0x3f5f59(0x29f)][_0x3f5f59(0x4a0)]((_0x3626e2,_0x2d8b03)=>{const _0x56cec2=_0x3f5f59;window[_0x56cec2(0x276)](_0x3626e2),_0x50e70e['push'](this[_0x56cec2(0x53f)](_0x2d8b03)[_0x56cec2(0x1f4)](()=>{const _0x524368=_0x56cec2;this['_saveTaskMap'][_0x524368(0x204)](_0x2d8b03);}));}),await Promise['all'](_0x50e70e);}[_0x29204f(0x370)](){const _0x354de7=_0x29204f;this['disposeWithMe'](this[_0x354de7(0x3a3)][_0x354de7(0x4ce)](()=>{const _0x58491d=_0x354de7;if(this[_0x58491d(0x29f)][_0x58491d(0x48a)])return this[_0x58491d(0x1ab)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Jr([Xe(0x0,_0x1d1963),Xe(0x1,_0x2662bd),Xe(0x2,_0x391a01),Xe(0x3,_0x31a227(_0x3da7c2)),Xe(0x4,_0x31a227(_0xbf5b42))],q);function Bs(_0x484748){const _0x4fbee6=_0x29204f;return _0x4fbee6(0x3fc)+_0x484748;}var Zr=Object[_0x29204f(0x51a)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x19c501,_0x4113e9,_0x4d3553,_0x36ac41)=>{const _0xa960b1=_0x29204f;for(var _0x5d7aa8=_0x36ac41>0x1?void 0x0:_0x36ac41?Qr(_0x4113e9,_0x4d3553):_0x4113e9,_0x500a9c=_0x19c501[_0xa960b1(0x2f0)]-0x1,_0x373b81;_0x500a9c>=0x0;_0x500a9c--)(_0x373b81=_0x19c501[_0x500a9c])&&(_0x5d7aa8=(_0x36ac41?_0x373b81(_0x4113e9,_0x4d3553,_0x5d7aa8):_0x373b81(_0x5d7aa8))||_0x5d7aa8);return _0x36ac41&&_0x5d7aa8&&Zr(_0x4113e9,_0x4d3553,_0x5d7aa8),_0x5d7aa8;},Mt=(_0x26a986,_0x24a7ef)=>(_0xd6b429,_0x1d3c26)=>_0x24a7ef(_0xd6b429,_0x1d3c26,_0x26a986);function to(_0x52af13){const _0xd57c04=_0x29204f,{unitID:_0x5b6a17,mutations:_0x5ee7d4}=_0x52af13;return{'unitId':_0x5b6a17,'subUnitId':_0x5ee7d4[0x0][_0xd57c04(0x499)]['subUnitId']};}function _0x3441(){const _0x5050ed=['ws://127.0.0.1:8000/universer-api/comb/connect','_docSyncEditingCollabCursorService','extend','loadSheet','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','icon','isEditing','EvpKDF','_telemetryService','assign','number','_waitCount','Could\x20not\x20dynamically\x20require\x20\x22','Unknown\x20user','resourceIDs','getMember','hidden','verdancy600','_change$','string','updateCursorEvent','_initEventListeners','_univerInstanceService','_transformIMECache','saveSheetBlock','_type','onPointerMove$','setActiveRange','_loadSheet','selections','BlockCipherMode','ciphertext','_doFinalize','_syncEditingCollabCursorService','_docSkeletonManagerService','_clearScheduledTask','_imageSourceCache','JOIN','_HTTPService','fillStyle','_anchorDot','_replaceFileID','_permissionService','encode','_config','MoveRangeCommandId','size','getFocusedUnit','url','moveTo','_cursorInfo$','startTime','endColumn','APPLY_REVISION_CONFILICT','FETCH_MISS','AES','M0\x200H16V16H0z','[SyncedState]:\x20received\x20acknowledgement.','_lastPointer','_transformHistoryAndStateStack','&assign=','params','SUCCUSS','evenodd','RECV','crypto','createInstance','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','forEach','_transformService','_getSendChangesetTimeout','_clearOtherTimers','LICENSE_MAX_UNITS_EXCEEDED','_state','unitID','SUBMIT_CHANGESET','range','close$','mixIn','_handler','_getSheetObject','show','_init','_clearHeartbeatTimer','leaveEvent','getImage','_startDocCollabCursor','unknown','getVpScrollXYInfoByPosToVp','_initUnitPermissionChange','getDocRanges','set','colorChannel1','liveShareNewHost','msCrypto','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_instanceService','CONNECTOR_DATA_TOO_LARGE','top','stringify','_hash','_assignedColors','_compressMutationService','getConfig','pad','getParam','WordArray','buffer','from','962384RRHMFV','_keySchedule','engine','_executeRemoteChangeset','activeSheet$','registerBeforeClose','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','createElement','fill','/collaborator','_append','collaboration-client.config','_queuedRemoteChangesets','submit\x20changeset\x20error!','_shouldReportTelemetry','loginUrlKey','collabStatus.conflict','univer-online-status-title','commentUpdate$','processBlock','eventID','_remoteChangesetQueue','interceptor','createCollaborator','_onLocalMutation','charCodeAt','session.collaboration-timeout','_refreshCollabCursors','_drawRectRange','visibilitychange','_sendHeartbeatTimer','getCellPositionByOffset','LIVESHARE_OPERATION','_snapshotService','resize','collab-rect-range-','YUUMI_URL_COL_OUT_OF_RANGE','m2Prime','toggleOffline','some','byteLength','_createInitialStateImpl','_reverseMap','_undoRedoService','_iKey','getTime','_setupSubUnitSync','[CollaborationSessionService]','Malformed\x20UTF-8\x20data','setInterval','_data','_range','randomUUID','onPointerEnter$','DEFAULT_FILE_NAME','_entities','_injector','compose','\x20-\x20','_retryConnectingTimer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sid','?url=','14770ZjxtXB','/universer-api/authz','_prevBlock','workbook','csShouldRetryEvent','InsertRangeMoveRightCommandId','bottom','getResourcesRequest','_userManagerService','_scheduleCollaborationTimeoutTimer','setItem','drawWith','transformRemoteChangeset','collabStatus.notCollab','COMMENT_UPDATE','onlyLocal','HmacSHA1','permission.title','defineProperty','getSheetBySheetId','APPLY_PERMISSION_DENIED','_minBufferSize','endRow','_handleHeartbeatEvent','/unit/','clone','collabSubmitChangesetUrl','push','setShowComponents','add','_startTelemetryCollaborationNewChangeset','_hovered','iterations','responseType','lineTo','_process','COMPRESS_MUTATION_SEND','getActiveSheet','_replayCachedMutations','onSendChangeset','_exhaustRemoteChangesetQueue','_scheduleHeartbeat','HttpImport','charAt','blockSize','docStateChange$','fetching\x20missing\x20changesets\x20from\x20','_commentUpdate$','Base','conflict.content','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','[PendingState]:\x20received\x20acknowledgement.','fetchMissingChangesets','transformUndoRedo','onTransformSelections','_saveCache','_keyPriorReset','confirm','_xformMode','getTypeOfUnitAdded$','row','/-/object/list','\x0aCurrent:\x20','FileId','univer-online-status-icon','roomMembers$','_collaborationSessionService','batchAllowed','_socketMessageSubscription','ERROR_IMAGE','collaMsg','conflict.title','post','_sendHeartbeat','reqId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[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.','authzUrl','INVALID_ARGUMENT','OFFLINE','onRemoteRetry','prototype','univerjs-icon\x20univerjs-icon-','_iv','_getSaveTimeout','_unitOnClients','onTransformRemoteChangesetByStateCache','_initResize','width','OTHER_CLIENTS_EDITING','pending','_backgroundColor','__creator','_invKeySchedule','HEARTBEAT_TIMEOUT','unpad','enableLocalCache','hostname','reset','_getCtorByUniverType','_registerDependencies','_createHmacHelper','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','#FFF','_onCursorUpdate','_clearLocalCache','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','setShapeProps','getTypeOfUnitDisposed$','_ENC_XFORM_MODE','ONLINE','\x0aAfter:\x20','disableLocalCache','_http','_onConnectionFailed','NEW_CHANGESETS','closePath','replaceState','_tryEnsureSocket','NOT_FOUND','CHANGESET_REJ','_drawAnchor','&source=','_initStatusComponent','generateRandomId','/universer-api/oidc/authpage','startsWith','_awaitingChangeset','createEncryptor','removeMember','readInt32LE','dispose$','exports','_commentService','roomMembers','_themeService','_substituteUndoStack','91TQrEjw','updateCollaborator','values','readAsDataURL','path','getRenderById','searchParams','_doCryptBlock','_initCloseConn','HmacMD5','UnitEmbedded','hide','m1Prime','list','UUID','_ws','resolve','LEAVE','error','_colorIndex','getUnitOnRev','[CollaborationUndoRedoService]','rgba(255,\x20255,\x20255,\x200.01)','event$','getInterceptPoints','7360608XOuyxm','_parse','_redoStacks','init','collabStatus.fetchMiss','enc','clearInterval','_transformRemoteChangesetByIMECache','[OfflineState]:\x20received\x20rejection.','_document','_checkMissing','#fff','get','resend','addObjects','VIEW_MAIN','_candidateSocket','message$','_logService','executeCommand','complete','image/jpeg','_resendTimeout','_rescheduleHeartbeat','whenReady','_localeService','random','PERMISSION_DENIED','_nRounds','data','saveOfflineData','fetch_missing','_refRangeService','closeSession','/universer-api/comb','toString','SYNCED','mutations','infoRsp','getUniverSheetInstance','disposeWithMe','/fetchmissing?from=','createDecryptor','RECT','_removeClearOtherTimer','_cachedData','_disableEditing','putCollaborators','1321701iRWvOS','function','PSEUDO_FETCH_MISSING_RESULT','selection','[CollaborationSessionService]:\x20socket\x20error','every','_memberService','ranges','CHANGESET_ACK','Error\x20on\x20receiving\x20event','_localStorageService','_createInitialState','xlink:href','_unlockTransition','ACTIVE_UNIT_EVENT_CHANNEL','labelPosition','onlineStatus','_colorAssignService','setStateCache','attrs','disposeUnit','_anchor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_pendingMutations','Encryptor','dispose','error$','IDLE','sessionStatus$','bind','[PendingState]:\x20unhandled\x20univer\x20type:\x20','slice','Undefined','format','_scheduleTimestamp','_handleJoinEvent','onlineStatusIcon','getRangePointData','getDeserializedSheetBlock','image/bmp','MSG_FOR_ERROR','asObservable','getCollabEntity','_selfUnitIDs','_onJoinRoomEvent','reject','_listenToOnlineEvent','[SyncedState]:\x20received\x20rejection.','_initMergeInterceptor','FAIL','then','getSkeleton','_entityInit$','UPDATE_CURSOR','_collabCursorController','_sheetTransformSelectionsService','YUUMI_RATE_OVER_LIMIT','unitId','defIds','deleteCollaborator','[DataLoaderController]','objectActions','svg','_heartbeatTimer','_onUserJoin','_listenToOfflineEvent','delete','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','requestParams','_cursor','onPointerLeave$','encodeURIComponent','padding','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','HEARTBEAT','_updateLocalCursor','__Key__','contains','shouldCloseConn','[OfflineState]:\x20received\x20acknowledgement.','isArray','saveImage','decryptBlock','_docTransformSelectionsService','getOffsetConfig','change$','UNIVER_SLIDE','clear','sigBytes','_transformStack','editingUnit','_singleActiveUnitService','_collaborationController','splice','_socketReady','code','json','BufferedBlockAlgorithm','_renderManagerService','collaboration-session-retry','assignAColorForMemberID','_handleHover','state$','getRandomValues','collaboration.single-unit.warning','pushState','_shapes','COMPLETION_FINISHED','_clearCollaborationTimeoutTimer','_resendWithTimeout','1370980CNbzIf','color','registerComponent','_unitID','offline','restore','height','_waitForHeartbeatResponse','getCollabCursors$','LOCAL_CACHE_INTERVAL','parse','incrementRevOfUnit','toggleOnline','NoPadding','transform','SHOULD_CLOSE_CONN','roles','PERMISSION_REJ','isPermissionRej','Warning','HEARTBEAT_INTERVAL','[UniverCollaborationClientPlugin]','has','localeService','getStateCache','updatePermissionObjEvent','split','UNIVER_UNKNOWN','onTransformChange$','CHANGESET_REVISION_CONFILICT','socketService','_color','_sessionStatus$','_hasher','sheetId','_getDownloadEndpointURL','defs','_notificationService','title','hasher','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','text','CipherParams','_DEC_XFORM_MODE','BlockCipher','SHA1','transformStack\x20failed!','_hover','ceil','onload','InsertRowCommandId','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','BASE64','_getScale','socket$','type','_onRecvEvent','body','abs','hovered','execute','name','encrypt','substring','className','_decreaseWaiting','clipPath','_key','_onUserLeave','image/png','clearTimeout','compute','INGEST','filter','next','encryptBlock','formatter','routeKey','UNIVER_SHEET','_session','YUUMI_SUBSCRIPTION_NOT_FOUND','addEventListener','_createHelper','objectID','Decryptor','_uiPartsService','transformIMECache','_incrementRevisionNumber','getCurrentUser','_getLoginPath','byteOffset','SerializableCipher','COLLAB_SUBMIT_CHANGESET_URL','transformMutationsWithChangeset','put','Hasher','_oKey','onRemoteAck','_render','_eventUnsubscribe','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_IMPORT_SIZE_EXCEEDED','FromArray','cursorInfo$','override','_acknowledgedAwaitingChangeset','startColumn','_snapshotServerService','_transformUndoredo','revision','onCommentUpdate','_saveTaskMap','_transformStateCache','_createHandler','0\x200\x2017\x2016','_context','result','_updateLocalCache','x-univer-host','column','randomBytes','listCollaborators','_lockTransition','getUndoRedoMutationParamsCache','_syncEditingCollabCursor','initWorkbookPermissionChange','UniverIcon','_hideTimer','on-line-single_clip0_910_349','getCollabEntity$','_docTransformStateCacheService','_onRemoteRejected','hasOwnProperty','INTERNAL_ERROR','onReady','_revisionService','unsubscribe','_socketService','updateMember','synced','_map','OpenSSL','kdf','sendChangesetTimeout','unload','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socket$','refreshPermission','objectType','cmd','setConfig','syncEditingCollabCursor','update','onTransformIME','_online','_collaborationPaused','UNRECOGNIZED','decrypt','LIVESHARE_TERMINATE','AUTHZ_URL_KEY','symbol','_sheetSkeletonManagerService','getCurrentUnitForType','gold400','newCsEvent','univer-online','_configService','allowed','session.connection-failed','save\x20fail\x20reason\x20is\x20','PENDING','_getMergeRange','onMouseMove','liveShareOperation','url(#$1','unshift','floor','auth.needGotoLoginAlert','ALREADY_EXISTS','_applyRemoteChangeset','permission.content','USERS_ENTER','UNAUTHENTICATED','APPLY_NON_SEQUENTIAL_REVISION','black','USERS_LEAVE','requireSession','triggerDblclick','MUTATION','cursorInfo','TOO_MANY_REQUESTS','currentTheme$','length','onRemoteChangeset','_doReset','transformSelections','awaiting','onMissingChangesets','_docTransformIMECacheService','onRendered','translate(.97)','memberID','transformMutation','send','SNAPSHOT_INVALID_SNAPSHOT','connection\x20error','div','_nDataBytes','origin','_transformSelections','_initRequestHeader','_scene','apply','_transformRemoteChangesetByStateCache','getItem','none','_urlService','round','_draw','transformByState','salt','copyFileMeta','key','sheets','purple300','awaiting_with_pending','_clearTimeoutTimer','_onRemoteRetry','_roomMembers','getMemberID','getSheetId','status','file','_localCacheService','blue400','_getAPIPrefix','_fetchMissChangesets','createSocket','measureText','UNKNOWN_CMD','_ensureSubject','call','close','rev','collaboration_new_changeset','_status$','max','signUrlServerUrl','_socket','JOINING','onSyncEditingCollabCursor','LIVESHARE_FETCH_OPERATIONS','_initStatusListener','url(#on-line-single_clip0_910_349)','/allowed','_event$','_handleEvent','unit','HttpExport','Base64','userID','getUnitId','_clearUndo','setAlpha','_tryReconnect','words','commentUpdateEvent','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','5586305nTHWNU','registerOnClose','_onCombEvent','_updateSubUnitFromURLParams','enableAuthServer','reconnect','_getAPIPrefixPath','FETCH_MISSING','_substituteRedoStack','image/jpg','_roomMembers$','ERROR_EXCEED_SIZE','SEND_CHANGESET_TIMEOUT','_onConflict','awaitingChangeset','getActiveRange','getOwnPropertySymbols','_updateState','_schedule','_collabSessionService','_showConflictNotification','stopTime','_updateCollabCursors','pauseCollaboration','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','collab-client.tooltip.reconnect','toRgbString','default','UNIVER_COLLABORATION_CLIENT_PLUGIN','SNAPSHOT_HAS_BEEN_REMOVED','InsertColCommandId','$super','_onCursorDelete','getUnitType','_removeRoom','UnitSnapshot','setTimeout','getCurrentRevOfUnit','4ovFYnh','_changesetSessionId','c1Prime','findNodePositionByCharIndex','onCommandExecuted','urlChange$','subunit','arc','_registerRenderDependencies','[FetchMissState]','updatePermissionPoint','failed\x20to\x20apply\x20missed\x20changesets!','_labelPosition','_setupBeforeClosingHandler','_timeoutTimer','fetchThroughInterceptors','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onMissedChangesetFetched','setParam','_sessions','{fileID}','_name','pluginName','LICENSE_EXPORT_SIZE_EXCEEDED','font','off-line-single_clip0_910_343','status$','registerRefRange','red300','lib','currentColor','HMAC','concat','doc.mutation.rich-text-editing','/resources','_state$','getUnit','subscribe','_toggleOnline','open$','_changesetReqId','onRemoteRej','subscribeEvent','_submitChangeset','1em','editing\x20status\x20changed\x20to','save','sin','on-line-single','Cipher','LOGIN_URL_KEY','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_mode','CHANGESET_SHOULD_RETRY','Pkcs7','741544yGRDdj','/new_changes','_startCollaboration','join','not_collab','_unitStatus','_members','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','removeParam','_beforeCloseService','getAllMembers','[CollaborationEntity]','AWAITING','_onConnectionOpen','beginPath','_transformPreviousActiveRange','collabStatus.synced','listRoles','propertyIsEnumerable','_textBubble','undoState','SNAPSHOT_URL_KEY','transformChangesets','getRelativeToViewportCoord','_getSnapshotAPIPrefix','skeleton','currentSkeleton$','RemoveRowCommandId','_docStateChangeManagerService','HELLO','redoState','onTransformRemoteChangesetByIMECache','APPLY_DUPLICATED','getUnhiddenWorksheets','ERROR_IMAGE_TYPE','enableSingleActiveInstanceLock','_getRedoStack','focused$','UNKNOWN_CODE','_onMessage','/object','_stopTelemetryCollaborationNewChangeset','getUnitStatus$','TEXT','url(#off-line-single_clip0_910_343)','csRejEvent','_id','create','_messageService','history','joinEvent','algo','replaceTextRanges','16893jaKrrK','socket\x20close','setCurrentUser','_disabled','&to=','_isPermissionRej','exhaustSavingTask','addObject','_createSocket','_collabCursorState$','/universer-api/snapshot/','_commandService','ENSURE_SNAPSHOT_EXECUTION','repeat','trim','idSuffix','_undoStacks','snapshotServerUrl','CONFLICT','find','changesets','registerHTTPInterceptor','newValue','_send','ivSize','UNIVER_DOC','Utf8','getCurrentSelections','_getAnchorBounding','StreamCipher','originalMeta','min','_httpService','APPLY_REJECT','NO_OTHER_CLIENTS_EDITING','_getUploadFileURL','_sendingTimer','with','Latin1','tag','LIVESHARE_NEW_HOST','now','indexOf','fillText','_sender','unit-cache-','_telemetryInfo','popstate','SNAPSHOT_SERVER_URL_KEY','location','keySize','_initDependencies','fromCharCode','setUndoRedoMutationParamsCache','finalize','/rev/','method','mode','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','includes','RemoveColCommandId','clamp','_scheduleSaving','MD5','actions','/-/object/-/batch_allowed','onTransformState','jiqing500','_initCommandExecutedListener','_resendTimer','collab-text-range-','debug','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_getCurrentRevision','headers','cfg','DeleteRangeMoveUpCommandId','_cursorShapes','appendMutation','_toggleOffline','/role','_updateStatus','reduce','LIVESHARE_REQUEST_HOST','conflict','getOwnPropertyDescriptor','_transformUndoRedoStack','uni.network.url-service','replace','Error','_throwTelemetryCollaborationNewChangeset','session.room-full','UNIVER_PROJECT','_scheduleClearOtherTimer','object','_retryCount','_getUndoStack','InsertRangeMoveDownCommandId','UPDATE_PERMISSION_OBJ','getValue','_updateURLWithCurrentState','[CollaborationSession]','_cursors','displayName','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','href','POST','/universer-api/file/{fileID}/sign-url','transformStateCache','map','catch','loadOfflineData','_drawTextRange','deepClone','_loadDoc','NOT_COLLAB','baseRev','updateOfflineData','_getSignURL','COMPRESS_MUTATION_APPLY','src','collaborators','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_collaborationTimeoutTimer','_transitionLocked','fetchMiss','getViewport','isActive','_cipher','reverse','getImageSourceCache','_onOffline','sessionStatus','_docSkeleton','current','equals','pipe','sheetID','session','/object/','textRanges'];_0x3441=function(){return _0x5050ed;};return _0x3441();}let mt=class{constructor(_0x1ce172,_0x1a504e,_0x2c66b9){const _0x252026=_0x29204f;this['_injector']=_0x1ce172,this[_0x252026(0x4a1)]=_0x1a504e,this[_0x252026(0x4bc)]=_0x2c66b9;}[_0x29204f(0x2f3)](_0x3ea60a){const _0xcd5820=_0x29204f;var _0x49a348,_0x295f68,_0x39f10a,_0x1dfb4a;const _0x53dac5=this[_0xcd5820(0x501)][_0xcd5820(0x19e)](_0x4aa850),{unitId:_0x239b44,subUnitId:_0x251bf0}=to(_0x3ea60a),_0xf1caa1=_0x53dac5['getWorkbookSelections'](_0x239b44)[_0xcd5820(0x3ea)](),_0x335fde=(_0x295f68=(_0x49a348=this[_0xcd5820(0x4bc)][_0xcd5820(0x387)](_0x239b44))==null?void 0x0:_0x49a348[_0xcd5820(0x52d)]())==null?void 0x0:_0x295f68[_0xcd5820(0x316)]();if(_0xf1caa1[_0xcd5820(0x2f0)]===0x0||!_0x239b44||!_0x251bf0)return;const _0x2c91af=[{'id':_0xac4f86['id'],'params':{'unitId':_0x239b44,'subUnitId':_0x335fde,'selections':_0x572bca['deepClone'](_0xf1caa1)}}],_0x3a4aea=this[_0xcd5820(0x4a1)][_0xcd5820(0x28d)](_0x3ea60a,_0x2c91af);if(!_0x15601c(_0x3a4aea))throw _0x3a4aea[_0xcd5820(0x5a3)];const _0x15fc7a=(_0x1dfb4a=(_0x39f10a=_0x3a4aea[_0xcd5820(0x4ee)][0x0])==null?void 0x0:_0x39f10a[_0xcd5820(0x499)])==null?void 0x0:_0x1dfb4a[_0xcd5820(0x479)];if(Array[_0xcd5820(0x212)](_0x15fc7a)&&_0x15fc7a[_0xcd5820(0x2f0)]){if(_0x15fc7a[_0xcd5820(0x2f0)]===_0x2c91af[0x0][_0xcd5820(0x499)][_0xcd5820(0x479)][_0xcd5820(0x2f0)]&&_0x15fc7a[_0xcd5820(0x1c7)]((_0x49aae6,_0x30d547)=>_0x580a72[_0xcd5820(0x456)](_0x49aae6['range'],_0x2c91af[0x0]['params'][_0xcd5820(0x479)][_0x30d547][_0xcd5820(0x4a8)])))return;this[_0xcd5820(0x501)][_0xcd5820(0x19e)](_0x1f9396)['executeCommand'](_0xac4f86['id'],{'unitId':_0x239b44,'subUnitId':_0x335fde,'selections':_0x15fc7a});}}};mt=eo([Mt(0x0,_0x31a227(_0x3ada64)),Mt(0x1,_0x5f49ec),Mt(0x2,_0x1a11e5)],mt);const yt=_0x230979('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x16f486=>(_0x16f486[_0x16f486['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x29204f(0x3f1),_0x16f486[_0x16f486[_0x29204f(0x561)]=0x1]=_0x29204f(0x561),_0x16f486))(Di||{});const ks=0x7530,Ws=_0x29204f(0x1d0);class so extends _0x2a7347{constructor(){const _0x210fd2=_0x29204f;super(),g(this,_0x210fd2(0x3c8),_0x572bca[_0x210fd2(0x584)]()),g(this,_0x210fd2(0x1ed),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0x210fd2(0x4ae)]();}[_0x29204f(0x1db)](){const _0x462e82=_0x29204f;super['dispose'](),this[_0x462e82(0x4a3)][_0x462e82(0x4a0)]((_0x50e72f,_0x2d40d5)=>this[_0x462e82(0x1be)](_0x2d40d5)),this[_0x462e82(0x201)]&&window[_0x462e82(0x198)](this[_0x462e82(0x201)]);}[_0x29204f(0x3c4)](_0x533cac){const _0x961f25=_0x29204f;return this[_0x961f25(0x320)](_0x533cac)[_0x961f25(0x457)](_0x50bbac());}[_0x29204f(0x21c)](_0x4f0025){const _0x3f00cb=_0x29204f;this[_0x3f00cb(0x1ed)]['size']===0x0&&this[_0x3f00cb(0x531)](),this[_0x3f00cb(0x1ed)]['add'](_0x4f0025),this[_0x3f00cb(0x3e6)]({'type':0x0,'memberID':this[_0x3f00cb(0x3c8)],'unitIDs':[_0x4f0025],'isForwarded':!0x1});}[_0x29204f(0x1d6)](_0x15dce4){const _0x56eee6=_0x29204f;this[_0x56eee6(0x1ed)][_0x56eee6(0x204)](_0x15dce4),this[_0x56eee6(0x1ed)][_0x56eee6(0x48a)]===0x0&&this['_heartbeatTimer']&&window[_0x56eee6(0x198)](this[_0x56eee6(0x201)]);}[_0x29204f(0x4ae)](){const _0x1895a5=_0x29204f;this[_0x1895a5(0x1ba)](_0x239c52(_0x43007f(window,'storage')[_0x1895a5(0x388)](_0x509448=>{const _0x367f43=_0x1895a5;if(_0x509448[_0x367f43(0x30e)]!==Ws||!_0x509448[_0x367f43(0x3e5)])return;const _0x563a4b=JSON[_0x367f43(0x23a)](_0x509448['newValue']);this[_0x367f43(0x330)](_0x563a4b);}))),window[_0x1895a5(0x281)](_0x1895a5(0x2c0),()=>this['_send']({'type':0x1,'memberID':this[_0x1895a5(0x3c8)],'unitIDs':Array['from'](this[_0x1895a5(0x1ed)])}));}[_0x29204f(0x330)](_0x35be6c){const _0xfab6e3=_0x29204f;switch(_0x35be6c[_0xfab6e3(0x267)]){case 0x0:this[_0xfab6e3(0x1e5)](_0x35be6c);break;case 0x1:this['_handleLeaveEvent'](_0x35be6c);break;case 0x2:this[_0xfab6e3(0x51f)](_0x35be6c);break;}}[_0x29204f(0x1e5)](_0x43fd8f){const _0x5df6b3=_0x29204f,{unitIDs:_0x4dbca2,memberID:_0x2963db,isForwarded:_0x2cbb02}=_0x43fd8f;_0x4dbca2[_0x5df6b3(0x4a0)](_0x1d1cb7=>{const _0x48fd95=_0x5df6b3;if(!_0x2cbb02&&this['_unitOnClients'][_0x48fd95(0x246)](_0x1d1cb7)&&this[_0x48fd95(0x320)](_0x1d1cb7)[_0x48fd95(0x27a)](0x1),!this[_0x48fd95(0x55d)][_0x48fd95(0x246)](_0x1d1cb7)||!this[_0x48fd95(0x55d)][_0x48fd95(0x19e)](_0x1d1cb7)[_0x48fd95(0x246)](_0x2963db)){const _0x4978aa=this[_0x48fd95(0x55d)][_0x48fd95(0x19e)](_0x1d1cb7)||new Set();_0x4978aa[_0x48fd95(0x525)](_0x2963db),this['_unitOnClients'][_0x48fd95(0x4b7)](_0x1d1cb7,_0x4978aa),this[_0x48fd95(0x42c)](_0x2963db);}}),_0x2cbb02||this[_0x5df6b3(0x3e6)]({'type':0x0,'memberID':this[_0x5df6b3(0x3c8)],'unitIDs':[...this[_0x5df6b3(0x1ed)]],'isForwarded':!0x0});}[_0x29204f(0x42c)](_0x436fba){const _0xbacb05=_0x29204f;this[_0xbacb05(0x1be)](_0x436fba);const _0x685dae=window[_0xbacb05(0x361)](()=>{const _0x149fa0=_0xbacb05;this[_0x149fa0(0x55d)][_0x149fa0(0x4a0)](_0x1f6b81=>{const _0x559318=_0x149fa0;_0x1f6b81[_0x559318(0x204)](_0x436fba);});},ks*0x2);this[_0xbacb05(0x4a3)][_0xbacb05(0x4b7)](_0x436fba,_0x685dae);}[_0x29204f(0x1be)](_0x50df52){const _0x10278f=_0x29204f;if(this[_0x10278f(0x4a3)][_0x10278f(0x246)](_0x50df52)){const _0x308500=this['_clearOtherTimers'][_0x10278f(0x19e)](_0x50df52);_0x308500&&window[_0x10278f(0x276)](_0x308500),this[_0x10278f(0x4a3)][_0x10278f(0x4b7)](_0x50df52,null);}}['_handleLeaveEvent'](_0x5e104e){const _0x5ab437=_0x29204f,{memberID:_0xaf0977,unitIDs:_0x2ad056}=_0x5e104e;_0x2ad056[_0x5ab437(0x4a0)](_0x596253=>{const _0x543751=_0x5ab437;var _0x37578c;const _0x54e1ff=this[_0x543751(0x55d)]['get'](_0x596253);_0x54e1ff&&(_0x54e1ff[_0x543751(0x204)](_0xaf0977),(_0x37578c=this[_0x543751(0x320)](_0x596253))==null||_0x37578c[_0x543751(0x27a)](_0x54e1ff[_0x543751(0x48a)]===0x0?0x0:0x1));}),this[_0x5ab437(0x1be)](_0xaf0977);}[_0x29204f(0x51f)](_0x4fd82b){const _0x476dd6=_0x29204f;this[_0x476dd6(0x42c)](_0x4fd82b['memberID']);}['_send'](_0x439434){const _0x21f5c5=_0x29204f;localStorage[_0x21f5c5(0x512)](Ws,JSON[_0x21f5c5(0x4bf)](_0x439434));}['_scheduleHeartbeat'](){const _0x38f796=_0x29204f;this['_heartbeatTimer']=window[_0x38f796(0x4fa)](()=>{const _0x59063b=_0x38f796;this['_send']({'type':0x2,'memberID':this[_0x59063b(0x3c8)]});},ks);}[_0x29204f(0x320)](_0x446f4d){const _0x425f34=_0x29204f;return this[_0x425f34(0x39f)][_0x425f34(0x246)](_0x446f4d)||this[_0x425f34(0x39f)][_0x425f34(0x4b7)](_0x446f4d,new _0x4d53e2(0x0)),this[_0x425f34(0x39f)][_0x425f34(0x19e)](_0x446f4d);}}var io=Object['defineProperty'],no=Object[_0x29204f(0x424)],ro=(_0x499d33,_0x12d2f6,_0x53ab,_0x5e5568)=>{for(var _0x52612c=_0x5e5568>0x1?void 0x0:_0x5e5568?no(_0x12d2f6,_0x53ab):_0x12d2f6,_0x26af6b=_0x499d33['length']-0x1,_0x4fdc42;_0x26af6b>=0x0;_0x26af6b--)(_0x4fdc42=_0x499d33[_0x26af6b])&&(_0x52612c=(_0x5e5568?_0x4fdc42(_0x12d2f6,_0x53ab,_0x52612c):_0x4fdc42(_0x52612c))||_0x52612c);return _0x5e5568&&_0x52612c&&io(_0x12d2f6,_0x53ab,_0x52612c),_0x52612c;},xt=(_0x2bde33,_0x4eedb8)=>(_0x265a22,_0x29f621)=>_0x4eedb8(_0x265a22,_0x29f621,_0x2bde33);let pt=class{constructor(_0x261745,_0x2d4f49,_0x38777a){const _0x4dbc4c=_0x29204f;this['_injector']=_0x261745,this[_0x4dbc4c(0x4a1)]=_0x2d4f49,this[_0x4dbc4c(0x3b6)]=_0x38777a;}['transformStateCache'](_0x5cbb50){const _0x4c81c5=_0x29204f;this[_0x4c81c5(0x497)](_0x5cbb50);}['transformRemoteChangeset'](_0x44f2cc){const _0x3194ad=_0x29204f,{unitID:_0x3ee229}=_0x44f2cc,{collaboration:_0xb3ecaf}=this[_0x3194ad(0x3b6)]['getStateCache'](_0x3ee229);if(_0xb3ecaf[_0x3194ad(0x2f0)]===0x0)return _0x44f2cc;let _0x3d28d3=_0x572bca['deepClone'](_0x44f2cc[_0x3194ad(0x1b7)][0x0]);for(let _0x39de33=0x0;_0x39de33<_0xb3ecaf[_0x3194ad(0x2f0)];_0x39de33++){const _0xf5f9d2={'id':_0x3194ad(0x384),'params':{'unitId':_0xb3ecaf[_0x39de33][_0x3194ad(0x1fb)],..._0xb3ecaf[_0x39de33][_0x3194ad(0x3b8)]}},_0x18b92f=this[_0x3194ad(0x4a1)]['transformMutation'](_0x3d28d3,_0xf5f9d2,!0x1);if(_0x3a6c5b(_0x18b92f))throw _0x18b92f[_0x3194ad(0x5a3)];_0x3d28d3=_0x18b92f['m1Prime'];}return{..._0x572bca[_0x3194ad(0x440)](_0x44f2cc),'mutations':[_0x3d28d3]};}['_transformHistoryAndStateStack'](_0x389d82){const _0x46cb6f=_0x29204f,{unitID:_0x5af948}=_0x389d82,{history:_0x4a279d,collaboration:_0x5bd0fa}=this[_0x46cb6f(0x3b6)][_0x46cb6f(0x248)](_0x5af948);if(_0x4a279d[_0x46cb6f(0x2f0)]===0x0&&_0x5bd0fa[_0x46cb6f(0x2f0)]===0x0)return;const _0x1c556f=[],_0x4d1337=[];let _0x1dde24=_0x572bca[_0x46cb6f(0x440)](_0x389d82['mutations'][0x0]),_0x153b2f=_0x572bca[_0x46cb6f(0x440)](_0x389d82[_0x46cb6f(0x1b7)][0x0]);for(let _0x1752db=_0x4a279d[_0x46cb6f(0x2f0)]-0x1;_0x1752db>=0x0;_0x1752db--){const _0x581b53={'id':_0x46cb6f(0x384),'params':{'unitId':_0x4a279d[_0x1752db]['unitId'],..._0x4a279d[_0x1752db][_0x46cb6f(0x3ae)]}},_0x23a22a={'id':_0x46cb6f(0x384),'params':{'unitId':_0x4a279d[_0x1752db]['unitId'],..._0x4a279d[_0x1752db][_0x46cb6f(0x3b8)]}},_0x20dcf5=this['_transformService'][_0x46cb6f(0x2fa)](_0x1dde24,_0x581b53,!0x1),_0x3c3d73=this[_0x46cb6f(0x4a1)][_0x46cb6f(0x2fa)](_0x153b2f,_0x23a22a,!0x1);if(_0x3a6c5b(_0x20dcf5))throw _0x20dcf5[_0x46cb6f(0x5a3)];if(_0x3a6c5b(_0x3c3d73))throw _0x3c3d73[_0x46cb6f(0x5a3)];_0x1c556f[_0x46cb6f(0x2df)]({..._0x4a279d[_0x1752db],'undoState':_0x20dcf5[_0x46cb6f(0x4ee)][_0x46cb6f(0x499)],'redoState':_0x3c3d73['m2Prime']['params']}),_0x1dde24=_0x20dcf5[_0x46cb6f(0x59d)],_0x153b2f=_0x3c3d73[_0x46cb6f(0x59d)];}_0x1dde24=_0x572bca[_0x46cb6f(0x440)](_0x389d82[_0x46cb6f(0x1b7)][0x0]),_0x153b2f=_0x572bca[_0x46cb6f(0x440)](_0x389d82[_0x46cb6f(0x1b7)][0x0]);for(let _0x44ab21=_0x5bd0fa['length']-0x1;_0x44ab21>=0x0;_0x44ab21--){const _0xb40973={'id':_0x46cb6f(0x384),'params':{'unitId':_0x5bd0fa[_0x44ab21][_0x46cb6f(0x1fb)],..._0x5bd0fa[_0x44ab21]['undoState']}},_0x357d35={'id':_0x46cb6f(0x384),'params':{'unitId':_0x5bd0fa[_0x44ab21]['unitId'],..._0x5bd0fa[_0x44ab21][_0x46cb6f(0x3b8)]}},_0x31cf3d=this[_0x46cb6f(0x4a1)]['transformMutation'](_0x1dde24,_0xb40973,!0x1),_0x3e19fc=this[_0x46cb6f(0x4a1)][_0x46cb6f(0x2fa)](_0x153b2f,_0x357d35,!0x1);if(_0x3a6c5b(_0x31cf3d))throw _0x31cf3d[_0x46cb6f(0x5a3)];if(_0x3a6c5b(_0x3e19fc))throw _0x3e19fc['error'];_0x4d1337[_0x46cb6f(0x2df)]({..._0x5bd0fa[_0x44ab21],'undoState':_0x31cf3d[_0x46cb6f(0x4ee)]['params'],'redoState':_0x3e19fc[_0x46cb6f(0x4ee)][_0x46cb6f(0x499)]}),_0x1dde24=_0x31cf3d['m1Prime'],_0x153b2f=_0x3e19fc[_0x46cb6f(0x59d)];}this[_0x46cb6f(0x3b6)][_0x46cb6f(0x1d4)](_0x5af948,{'history':_0x1c556f,'collaboration':_0x4d1337});}};pt=ro([xt(0x0,_0x31a227(_0x3ada64)),xt(0x1,_0x5f49ec),xt(0x2,_0x31a227(_0x4613da))],pt);function Pi(_0x4ab3ef){const _0x4f9e0e=_0x29204f;let _0xc868fb='';for(const _0x36226a of _0x4ab3ef){const {startOffset:_0x2d3db4,endOffset:_0x4f6908,isActive:_0x404944,rangeType:_0x227b11,segmentId:_0x3899b4,segmentPage:_0xc9a953}=_0x36226a;_0xc868fb[_0x4f9e0e(0x2f0)]&&(_0xc868fb+=','),_0xc868fb+=_0x2d3db4+':'+_0x4f6908+':'+(_0x404944?'1':'0')+':'+_0x227b11+':'+_0x3899b4+':'+_0xc9a953;}return _0xc868fb;}function oo(_0x324dd4){const _0x7e2e19=_0x29204f,_0x1ab5a3=_0x324dd4[_0x7e2e19(0x24a)](','),_0x5830d9=[];for(const _0x26bb37 of _0x1ab5a3){const [_0x25fe92,_0x1e00b0,_0x303d1e,_0x404510,_0x5b8a31,_0x31ce03]=_0x26bb37['split'](':');_0x5830d9[_0x7e2e19(0x523)]({'startOffset':Number(_0x25fe92),'endOffset':Number(_0x1e00b0),'collapsed':_0x25fe92===_0x1e00b0,'isActive':_0x303d1e==='1','rangeType':_0x404510===_0x362093[_0x7e2e19(0x3c5)]?_0x362093[_0x7e2e19(0x3c5)]:_0x362093['RECT'],'segmentId':typeof _0x5b8a31=='string'?String(_0x5b8a31):'','segmentPage':Number(_0x31ce03!=null?_0x31ce03:-0x1)});}return _0x5830d9[_0x7e2e19(0x4f0)](_0x29e2e4=>_0x29e2e4[_0x7e2e19(0x44e)])||(_0x5830d9[0x0][_0x7e2e19(0x44e)]=!0x0),_0x5830d9;}class Cs extends _0x3823d2{constructor(){const _0x196d54=_0x29204f;super(...arguments),g(this,_0x196d54(0x3d8),new _0x4d53e2(null)),g(this,'collabCursorState$',this[_0x196d54(0x3d8)][_0x196d54(0x1eb)]());}['syncEditingCollabCursor'](_0x5ece52){const _0x2106c4=_0x29204f,{unitID:_0xad6bb1,memberID:_0x11de4f,textRanges:_0x5b48cf}=_0x5ece52,_0x50eb9f=Pi(_0x5b48cf);if(_0x50eb9f==='')return;const _0x3b266b={'unitID':_0xad6bb1,'memberID':_0x11de4f,'selection':_0x50eb9f};this['_collabCursorState$'][_0x2106c4(0x27a)](_0x3b266b);}}var ao=Object[_0x29204f(0x51a)],co=Object[_0x29204f(0x424)],ho=(_0x2d8f3c,_0x1c35ac,_0x1e7742,_0x5b50a5)=>{const _0x401d0a=_0x29204f;for(var _0x2f5a96=_0x5b50a5>0x1?void 0x0:_0x5b50a5?co(_0x1c35ac,_0x1e7742):_0x1c35ac,_0x566b05=_0x2d8f3c[_0x401d0a(0x2f0)]-0x1,_0x55c07d;_0x566b05>=0x0;_0x566b05--)(_0x55c07d=_0x2d8f3c[_0x566b05])&&(_0x2f5a96=(_0x5b50a5?_0x55c07d(_0x1c35ac,_0x1e7742,_0x2f5a96):_0x55c07d(_0x2f5a96))||_0x2f5a96);return _0x5b50a5&&_0x2f5a96&&ao(_0x1c35ac,_0x1e7742,_0x2f5a96),_0x2f5a96;},Fs=(_0x57bc1e,_0x47a643)=>(_0x944379,_0x22c3c5)=>_0x47a643(_0x944379,_0x22c3c5,_0x57bc1e);let gt=class{constructor(_0x4ca4bf,_0x5f24c2){const _0x52b7c1=_0x29204f;this['_injector']=_0x4ca4bf,this[_0x52b7c1(0x4a1)]=_0x5f24c2;}[_0x29204f(0x2f3)](_0xd9ac24){const _0x4d0e12=_0x29204f;var _0x44231f;const _0x5aed4f=this[_0x4d0e12(0x501)][_0x4d0e12(0x19e)](_0x53d45e),_0x3f50cb=(_0x44231f=_0x5aed4f[_0x4d0e12(0x4b6)]())!=null?_0x44231f:[];if(_0x3f50cb[_0x4d0e12(0x2f0)]===0x0)return;const _0x231a8d=[{'id':_0x4d0e12(0x384),'params':{'unitId':_0xd9ac24[_0x4d0e12(0x4a6)],'actions':null,'textRanges':_0x3f50cb}}],_0x432373=this[_0x4d0e12(0x4a1)][_0x4d0e12(0x28d)](_0xd9ac24,_0x231a8d);if(!_0x15601c(_0x432373))throw _0x432373[_0x4d0e12(0x5a3)];const _0x57e9dd=_0x432373[_0x4d0e12(0x4ee)][0x0]['params']['textRanges'];Array[_0x4d0e12(0x212)](_0x57e9dd)&&_0x57e9dd[_0x4d0e12(0x2f0)]&&_0x5aed4f[_0x4d0e12(0x3ce)](_0x57e9dd,!0x1);}};gt=ho([Fs(0x0,_0x31a227(_0x3ada64)),Fs(0x1,_0x5f49ec)],gt);const lo=new Set([_0xf19ec9['id']]);function Vs(_0x324e70,_0x43e739,_0x254992,_0x5c856f,_0xd0cc70){const _0x1e5c36=_0x29204f;var _0xe2b519,_0xb6a5d9,_0x50cd82,_0x524b50;const _0x4907dc=[];for(const _0x4c522c of _0x324e70)if(lo[_0x1e5c36(0x246)](_0x4c522c['id'])){if(_0x4907dc[_0x1e5c36(0x2f0)]>0x0)break;_0x4907dc[_0x1e5c36(0x523)](_0x4c522c);break;}else _0x4907dc[_0x1e5c36(0x523)](_0x4c522c);const _0x240843=(_0xb6a5d9=(_0xe2b519=_0xd0cc70[_0x1e5c36(0x288)]())==null?void 0x0:_0xe2b519['userID'])!=null?_0xb6a5d9:_0x1e5c36(0x4b3),_0x1f2cf3=(_0x524b50=(_0x50cd82=_0xd0cc70['getCurrentUser']())==null?void 0x0:_0x50cd82[_0x1e5c36(0x2f9)])!=null?_0x524b50:_0x1e5c36(0x4b3);return{'changeset':{'unitID':_0x43e739,'type':_0x154b8d(_0x254992[_0x1e5c36(0x35e)](_0x43e739)),'baseRev':_0x5c856f[_0x1e5c36(0x362)](_0x43e739),'revision':0x0,'userID':_0x240843,'memberID':_0x1f2cf3,'mutations':_0x4907dc},'pendingMutations':_0x324e70[_0x1e5c36(0x1e1)](_0x4907dc[_0x1e5c36(0x2f0)])};}function _o(_0x20ce84,_0x5f44ab,_0x326221,_0x508cb9,_0x14bbbe){const _0x281cd3=_0x29204f;var _0x10cc15,_0x88f936,_0x137bb7,_0x102dcf;const _0xa56eff=[_0x20ce84[_0x281cd3(0x421)]((_0x88f06,_0x5cbec7)=>{const _0xf48a49=_0x281cd3;var _0x22866c;const {id:_0x10a7b7}=_0x88f06,{id:_0x13bbf3,type:_0x250c4f}=_0x5cbec7,_0x55414e=(_0x22866c=_0x88f06[_0xf48a49(0x499)])!=null?_0x22866c:{'actions':null},_0x3ab822=_0x5cbec7[_0xf48a49(0x499)];if(_0x10a7b7&&_0x10a7b7!==_0x13bbf3)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x10a7b7+_0xf48a49(0x503)+_0x13bbf3+'.');return{..._0x88f06,'id':_0x13bbf3,'type':_0x250c4f,'params':{'unitId':_0x3ab822[_0xf48a49(0x1fb)],'textRanges':_0x3ab822[_0xf48a49(0x45b)],'actions':_0x4da6d4[_0xf48a49(0x502)](_0x55414e[_0xf48a49(0x40f)],_0x3ab822[_0xf48a49(0x40f)])}};},{})],_0x26aec4=(_0x88f936=(_0x10cc15=_0x14bbbe['getCurrentUser']())==null?void 0x0:_0x10cc15[_0x281cd3(0x334)])!=null?_0x88f936:_0x281cd3(0x4b3),_0x214f5f=(_0x102dcf=(_0x137bb7=_0x14bbbe[_0x281cd3(0x288)]())==null?void 0x0:_0x137bb7['memberID'])!=null?_0x102dcf:'unknown';return{'changeset':{'unitID':_0x5f44ab,'type':_0x154b8d(_0x326221[_0x281cd3(0x35e)](_0x5f44ab)),'baseRev':_0x508cb9[_0x281cd3(0x362)](_0x5f44ab),'revision':0x0,'userID':_0x26aec4,'memberID':_0x214f5f,'mutations':_0xa56eff},'pendingMutations':[]};}function Ui(_0x22e812,_0x2ecc0b){const _0x37589e=_0x29204f,_0x236245=new _0x588c9c(0x1);return setTimeout(()=>_0x236245[_0x37589e(0x27a)](_0x2ecc0b),_0x22e812),_0x236245['asObservable']()[_0x37589e(0x457)](_0x34813f(0x1));}const uo={'id':_0x7e4c57['id'],'type':_0x589e31[_0x29204f(0x2ec)],'params':{}};var fo=Object[_0x29204f(0x51a)],vo=Object['getOwnPropertyDescriptor'],Le=(_0x4a1985,_0x2ec481,_0xc158c1,_0x3b428a)=>{const _0x423ea1=_0x29204f;for(var _0x2bdd12=_0x3b428a>0x1?void 0x0:_0x3b428a?vo(_0x2ec481,_0xc158c1):_0x2ec481,_0x1a142a=_0x4a1985[_0x423ea1(0x2f0)]-0x1,_0x66858a;_0x1a142a>=0x0;_0x1a142a--)(_0x66858a=_0x4a1985[_0x1a142a])&&(_0x2bdd12=(_0x3b428a?_0x66858a(_0x2ec481,_0xc158c1,_0x2bdd12):_0x66858a(_0x2bdd12))||_0x2bdd12);return _0x3b428a&&_0x2bdd12&&fo(_0x2ec481,_0xc158c1,_0x2bdd12),_0x2bdd12;},A=(_0xa2a18c,_0x205d1c)=>(_0x4d6f9c,_0x23989d)=>_0x205d1c(_0x4d6f9c,_0x23989d,_0xa2a18c),J=(_0x427bda=>(_0x427bda['NOT_COLLAB']=_0x29204f(0x39e),_0x427bda[_0x29204f(0x1b6)]=_0x29204f(0x2bb),_0x427bda[_0x29204f(0x2da)]=_0x29204f(0x562),_0x427bda[_0x29204f(0x3a6)]=_0x29204f(0x2f4),_0x427bda[_0x29204f(0x355)]=_0x29204f(0x311),_0x427bda[_0x29204f(0x492)]=_0x29204f(0x1b1),_0x427bda[_0x29204f(0x3e1)]=_0x29204f(0x423),_0x427bda[_0x29204f(0x557)]=_0x29204f(0x234),_0x427bda))(J||{});const Ni=0xea60;class $e{constructor(_0x2b2594,_0x15d797,_0xfcef20,_0x43f03c,_0x2d67f4,_0x550251,_0x33c257,_0x14b830,_0xdaafc8){const _0x327773=_0x29204f;g(this,_0x327773(0x587),null),g(this,_0x327773(0x1d9),[]),(this[_0x327773(0x4a6)]=_0x2b2594,this['type']=_0x15d797,this[_0x327773(0x4ab)]=_0x2d67f4,this[_0x327773(0x3da)]=_0x550251,this[_0x327773(0x4f4)]=_0x33c257,this[_0x327773(0x2b7)]=_0x14b830,this[_0x327773(0x319)]=_0xdaafc8,this[_0x327773(0x587)]=_0xfcef20,this['_pendingMutations']=_0x43f03c);}[_0x29204f(0x19c)](_0x1a378b){const _0x5bd90d=_0x29204f,_0xa9081a=this[_0x5bd90d(0x2b7)][_0x5bd90d(0x362)](this[_0x5bd90d(0x4a6)]);return _0x1a378b[_0x5bd90d(0x29d)]>_0xa9081a+0x1?(this['_handler'][_0x5bd90d(0x2f5)]({'from':_0xa9081a,'to':_0x1a378b[_0x5bd90d(0x29d)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x6cb909){const _0x244bd5=_0x29204f;this[_0x244bd5(0x4f4)][_0x244bd5(0x53d)](this[_0x244bd5(0x4a6)],_0x6cb909);}[_0x29204f(0x301)](_0x3fb1f9){const _0xfaeb6c=_0x29204f;var _0x274bcd,_0x7ab107;(_0x7ab107=(_0x274bcd=this['_handler'])[_0xfaeb6c(0x53e)])==null||_0x7ab107[_0xfaeb6c(0x321)](_0x274bcd,_0x3fb1f9);}[_0x29204f(0x473)](_0x3a9e16){const _0x5c28e=_0x29204f;var _0x45a19b,_0x560a17;return(_0x560a17=(_0x45a19b=this['_handler'])[_0x5c28e(0x2c9)])==null?void 0x0:_0x560a17[_0x5c28e(0x321)](_0x45a19b,_0x3a9e16);}[_0x29204f(0x2a0)](_0x3a98e1){const _0xafedc0=_0x29204f;var _0x1cb6d7,_0x278e32;return(_0x278e32=(_0x1cb6d7=this[_0xafedc0(0x4ab)])[_0xafedc0(0x411)])==null?void 0x0:_0x278e32[_0xafedc0(0x321)](_0x1cb6d7,_0x3a98e1);}[_0x29204f(0x199)](_0x454737){const _0x3a4329=_0x29204f;var _0x372984,_0x552d26,_0x179075;return(_0x179075=(_0x552d26=(_0x372984=this[_0x3a4329(0x4ab)])[_0x3a4329(0x3b9)])==null?void 0x0:_0x552d26[_0x3a4329(0x321)](_0x372984,_0x454737))!=null?_0x179075:_0x454737;}[_0x29204f(0x305)](_0x33c1da){const _0x473ee8=_0x29204f;var _0x30b802,_0x2f3075,_0x35a0fc;return(_0x35a0fc=(_0x2f3075=(_0x30b802=this[_0x473ee8(0x4ab)])[_0x473ee8(0x55e)])==null?void 0x0:_0x2f3075[_0x473ee8(0x321)](_0x30b802,_0x33c1da))!=null?_0x35a0fc:_0x33c1da;}[_0x29204f(0x2ac)](_0xcb0dbb){const _0x576447=_0x29204f;var _0x166072,_0x44e356;if(this['type']===ce['UNIVER_DOC']){const {unitID:_0x30b5e8,mutations:_0x125e67,memberID:_0x4504fb}=_0xcb0dbb,_0x79924d=_0x125e67[0x0]['params'][_0x576447(0x45b)];Array[_0x576447(0x212)](_0x79924d)&&_0x79924d[_0x576447(0x2f0)]>0x0&&((_0x44e356=(_0x166072=this[_0x576447(0x4ab)])[_0x576447(0x32a)])==null||_0x44e356[_0x576447(0x321)](_0x166072,{'unitID':_0x30b5e8,'memberID':_0x4504fb,'textRanges':_0x79924d}));}}[_0x29204f(0x2a5)](){const _0x4f7338=_0x29204f;this[_0x4f7338(0x319)][_0x4f7338(0x444)](this[_0x4f7338(0x4a6)],this[_0x4f7338(0x267)],this[_0x4f7338(0x587)],this[_0x4f7338(0x1d9)]);}[_0x29204f(0x418)](){const _0x49f9f5=_0x29204f;return this[_0x49f9f5(0x2b7)][_0x49f9f5(0x362)](this['unitID']);}[_0x29204f(0x287)](){const _0x354846=_0x29204f;this['_revisionService'][_0x354846(0x23b)](this[_0x354846(0x4a6)]);}[_0x29204f(0x4cc)](_0x2d9b98){const _0x3f1edc=_0x29204f;var _0x407374;let _0x529896=this[_0x3f1edc(0x199)](_0x2d9b98);_0x529896=this[_0x3f1edc(0x305)](_0x529896);const _0x2828c4=_0x416da5(_0x529896[_0x3f1edc(0x1b7)],this[_0x3f1edc(0x3da)],{'fromCollab':!0x0});if(!_0x2828c4[_0x3f1edc(0x2a4)])throw _0x2828c4[_0x3f1edc(0x5a3)]instanceof Error?_0x2828c4['error']:new Error((_0x407374=_0x2828c4['error'])!=null?_0x407374:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x529896),this[_0x3f1edc(0x2a0)](_0x529896),this[_0x3f1edc(0x29c)](_0x2d9b98),this['_transformSelections'](_0x529896),this['_syncEditingCollabCursor'](_0x529896),this[_0x3f1edc(0x287)]();}}let Fe=class extends $e{constructor(_0x165971,_0x43c6e1,_0x15a87a,_0x106624,_0x35bb4d,_0x58ee7d,_0x3de607,_0x3e8a12,_0x1b6d7e,_0x349971){const _0x2ba318=_0x29204f;super(_0x165971,_0x43c6e1,null,[],_0x15a87a,_0x3e8a12,_0x3de607,_0x106624,_0x35bb4d),g(this,_0x2ba318(0x317),_0x2ba318(0x2bb)),(this[_0x2ba318(0x501)]=_0x58ee7d,this[_0x2ba318(0x1a4)]=_0x1b6d7e,this['_transformService']=_0x349971);}[_0x29204f(0x41d)](_0x2aa0b5){const _0x5416f4=_0x29204f,_0x4781db=this[_0x5416f4(0x501)][_0x5416f4(0x49e)](pe,this[_0x5416f4(0x4a6)],this[_0x5416f4(0x267)],[_0x2aa0b5],this[_0x5416f4(0x4ab)]);return _0x4781db['_schedule'](),_0x4781db[_0x5416f4(0x2a5)](),_0x4781db;}[_0x29204f(0x2f1)](_0x295b0b){const _0x2f6e06=_0x29204f;if(this[_0x2f6e06(0x19c)](_0x295b0b))return this[_0x2f6e06(0x501)][_0x2f6e06(0x49e)](he,this[_0x2f6e06(0x4a6)],this[_0x2f6e06(0x267)],null,[],null,[_0x295b0b],this[_0x2f6e06(0x4ab)]);try{const _0x5d674b=this[_0x2f6e06(0x4a1)]['transformMutationsWithChangeset'](_0x295b0b,[uo]);if(_0x15601c(_0x5d674b)){const {c1Prime:_0xf54b24}=_0x5d674b;return this[_0x2f6e06(0x4cc)](_0xf54b24),this;}throw _0x5d674b[_0x2f6e06(0x5a3)];}catch(_0x965109){return this[_0x2f6e06(0x1a4)][_0x2f6e06(0x5a3)](_0x965109),this['_onConflict'](!0x1);}}[_0x29204f(0x349)](_0x17f81c){const _0x44d3e0=_0x29204f;return this[_0x44d3e0(0x501)]['createInstance'](Re,this[_0x44d3e0(0x4a6)],this['type'],null,[],this[_0x44d3e0(0x4ab)],_0x17f81c);}[_0x29204f(0x291)](){const _0xc76850=_0x29204f;throw new Error(_0xc76850(0x495));}[_0x29204f(0x38c)](){const _0x205d0a=_0x29204f;throw new Error(_0x205d0a(0x1f1));}[_0x29204f(0x558)](){return this;}[_0x29204f(0x4ef)](){const _0x301f1e=_0x29204f;return this[_0x301f1e(0x501)][_0x301f1e(0x49e)](ye,this[_0x301f1e(0x4a6)],this[_0x301f1e(0x267)],null,[],this['_handler']);}[_0x29204f(0x23c)](){return this;}[_0x29204f(0x19f)](){const _0x4db32b=_0x29204f;throw new Error(_0x4db32b(0x396));}[_0x29204f(0x44c)](){const _0x433115=_0x29204f,_0xe28e08=this[_0x433115(0x2b7)]['getCurrentRevOfUnit'](this[_0x433115(0x4a6)]);return this['_handler'][_0x433115(0x2f5)]({'from':_0xe28e08,'to':0x0}),this[_0x433115(0x501)]['createInstance'](he,this[_0x433115(0x4a6)],this[_0x433115(0x267)],null,[],null,[],this[_0x433115(0x4ab)]);}};Fe=Le([A(0x3,_0x31a227(_0xbf5b42)),A(0x4,_0x31a227(q)),A(0x5,_0x31a227(_0x3ada64)),A(0x6,_0x2d7dca),A(0x7,_0x1f9396),A(0x8,_0x15baf7),A(0x9,_0x5f49ec)],Fe);let pe=class extends $e{constructor(_0x32da8e,_0x39ca43,_0x4ceda8,_0x3cdc37,_0x32782f,_0x298066,_0x287d20,_0xfbdb00,_0x4c12c9,_0x2930a3,_0x137149,_0x5e00e4,_0xb66772,_0x4d6a6f){const _0x517a8b=_0x29204f;super(_0x32da8e,_0x39ca43,null,_0x4ceda8,_0x3cdc37,_0x2930a3,_0x4d6a6f,_0x298066,_0x287d20),g(this,_0x517a8b(0x317),_0x517a8b(0x562)),g(this,'_scheduleTimestamp',null),g(this,_0x517a8b(0x3f3),null),(this[_0x517a8b(0x501)]=_0x32782f,this[_0x517a8b(0x1c8)]=_0xfbdb00,this['_logService']=_0x4c12c9,this[_0x517a8b(0x2d6)]=_0x137149,this[_0x517a8b(0x4a1)]=_0x5e00e4,this[_0x517a8b(0x472)]=_0xb66772);}[_0x29204f(0x41d)](_0x255d61){const _0x168dca=_0x29204f;return this[_0x168dca(0x1d9)][_0x168dca(0x523)](_0x255d61),this['_updateLocalCache'](),this;}[_0x29204f(0x2f1)](_0x395abe){const _0x7e7bc6=_0x29204f;if(this[_0x7e7bc6(0x19c)](_0x395abe))return this[_0x7e7bc6(0x47f)](),this[_0x7e7bc6(0x501)][_0x7e7bc6(0x49e)](he,this['unitID'],this[_0x7e7bc6(0x267)],null,this[_0x7e7bc6(0x1d9)],null,[_0x395abe],this[_0x7e7bc6(0x4ab)]);try{const _0xf7cffe=this[_0x7e7bc6(0x4a1)][_0x7e7bc6(0x28d)](_0x395abe,this[_0x7e7bc6(0x1d9)]);if(_0x15601c(_0xf7cffe)){const {c1Prime:_0x38265c,m2Prime:_0x29b2d1}=_0xf7cffe;this[_0x7e7bc6(0x4cc)](_0x38265c);const _0x1f309d=this['_injector']['createInstance'](pe,this['unitID'],this['type'],_0x29b2d1,this[_0x7e7bc6(0x4ab)]);return this[_0x7e7bc6(0x47f)](),_0x1f309d[_0x7e7bc6(0x34e)](this['_scheduleTimestamp']?Math[_0x7e7bc6(0x326)](0x0,new Date()[_0x7e7bc6(0x4f6)]()-this[_0x7e7bc6(0x1e4)]):this[_0x7e7bc6(0x4a2)]()),_0x1f309d;}throw _0xf7cffe[_0x7e7bc6(0x5a3)];}catch(_0x548bbb){return this[_0x7e7bc6(0x1a4)]['error'](_0x548bbb),this[_0x7e7bc6(0x349)](!0x1);}}[_0x29204f(0x291)](){const _0x127087=_0x29204f;throw new Error(_0x127087(0x53b));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x29204f(0x4ef)](){const _0x107e97=_0x29204f;return this['_clearScheduledTask'](),this[_0x107e97(0x501)]['createInstance'](ye,this[_0x107e97(0x4a6)],this[_0x107e97(0x267)],null,this[_0x107e97(0x1d9)],this[_0x107e97(0x4ab)]);}['toggleOnline'](){return this;}['_schedule'](_0x4bc280){const _0x3bf188=_0x29204f,_0xf6b227=_0x4bc280!=null?_0x4bc280:this[_0x3bf188(0x4a2)]();this[_0x3bf188(0x1e4)]=new Date()[_0x3bf188(0x4f6)](),this['_sendingTimer']=window[_0x3bf188(0x361)](()=>{const _0x314ee5=_0x3bf188;this[_0x314ee5(0x47f)]();let _0x1d12db=null;switch(this[_0x314ee5(0x267)]){case ce[_0x314ee5(0x27e)]:{_0x1d12db=Vs(this[_0x314ee5(0x1d9)],this[_0x314ee5(0x4a6)],this['_univerInstanceService'],this[_0x314ee5(0x2b7)],this['_memberService']);break;}case ce['UNIVER_DOC']:{this[_0x314ee5(0x1d9)][_0x314ee5(0x1c7)](_0x3c9d56=>_0x3c9d56['id']===_0x4708ca['id'])?_0x1d12db=_o(this[_0x314ee5(0x1d9)],this[_0x314ee5(0x4a6)],this[_0x314ee5(0x472)],this[_0x314ee5(0x2b7)],this['_memberService']):_0x1d12db=Vs(this[_0x314ee5(0x1d9)],this[_0x314ee5(0x4a6)],this['_univerInstanceService'],this[_0x314ee5(0x2b7)],this[_0x314ee5(0x1c8)]);break;}default:throw new Error(_0x314ee5(0x1e0)+this[_0x314ee5(0x267)]+'\x20in\x20_schedule.');}const {changeset:_0x29bd6e,pendingMutations:_0x4b4e56}=_0x1d12db;this[_0x314ee5(0x4ab)][_0x314ee5(0x52f)](_0x29bd6e);const _0xf7463b=_0x4b4e56[_0x314ee5(0x2f0)]?this[_0x314ee5(0x501)][_0x314ee5(0x49e)](ge,this[_0x314ee5(0x4a6)],this[_0x314ee5(0x267)],_0x29bd6e,_0x4b4e56,this[_0x314ee5(0x4ab)],void 0x0):this[_0x314ee5(0x501)][_0x314ee5(0x49e)](Te,this[_0x314ee5(0x4a6)],this[_0x314ee5(0x267)],_0x29bd6e,this[_0x314ee5(0x4ab)]);_0xf7463b['_updateLocalCache'](),this[_0x314ee5(0x4ab)]['onStateChange'](this,_0xf7463b);},_0xf6b227);}[_0x29204f(0x4a2)](){const _0x1aca2b=_0x29204f;var _0x15aa7d;const _0x42da0c=this[_0x1aca2b(0x2d6)][_0x1aca2b(0x4c3)](ie);return(_0x15aa7d=_0x42da0c==null?void 0x0:_0x42da0c[_0x1aca2b(0x2bf)])!=null?_0x15aa7d:cr;}[_0x29204f(0x19f)](){const _0x40ee4c=_0x29204f;throw new Error(_0x40ee4c(0x460));}['_clearScheduledTask'](){const _0x14b98c=_0x29204f;this[_0x14b98c(0x3f3)]!=null&&(clearTimeout(this[_0x14b98c(0x3f3)]),this[_0x14b98c(0x3f3)]=null);}['_onConflict'](_0x1884b4){const _0x35c247=_0x29204f;return this[_0x35c247(0x47f)](),this[_0x35c247(0x501)][_0x35c247(0x49e)](Re,this[_0x35c247(0x4a6)],this[_0x35c247(0x267)],null,this['_pendingMutations'],this['_handler'],_0x1884b4);}};pe=Le([A(0x4,_0x31a227(_0x3ada64)),A(0x5,_0x31a227(_0xbf5b42)),A(0x6,_0x31a227(q)),A(0x7,_0x31a227(Ne)),A(0x8,_0x15baf7),A(0x9,_0x1f9396),A(0xa,_0x1d1963),A(0xb,_0x5f49ec),A(0xc,_0x1a11e5),A(0xd,_0x2d7dca)],pe);let Te=class extends $e{constructor(_0x3de7c1,_0x24b609,_0x16f0eb,_0x183a6b,_0x422909,_0x3a5bc9,_0x371daf,_0x570729,_0x50cbee,_0x15eef1,_0x421eb2){const _0x241367=_0x29204f;super(_0x3de7c1,_0x24b609,_0x16f0eb,[],_0x183a6b,_0x570729,_0x421eb2,_0x3a5bc9,_0x371daf),g(this,_0x241367(0x317),_0x241367(0x2f4)),g(this,'_resendTimeout',0x0),g(this,_0x241367(0x414)),g(this,_0x241367(0x3fb)),(this['_injector']=_0x422909,this[_0x241367(0x1a4)]=_0x50cbee,this['_transformService']=_0x15eef1);}[_0x29204f(0x41d)](_0x72d36e){const _0x3031a8=_0x29204f;this[_0x3031a8(0x47f)]();const _0x1f97d0=this[_0x3031a8(0x501)][_0x3031a8(0x49e)](ge,this[_0x3031a8(0x4a6)],this[_0x3031a8(0x267)],this['_awaitingChangeset'],[_0x72d36e],this[_0x3031a8(0x4ab)],this[_0x3031a8(0x414)]);return _0x1f97d0[_0x3031a8(0x2a5)](),_0x1f97d0;}[_0x29204f(0x2f1)](_0x3b0aec){const _0x5d9676=_0x29204f;if(this[_0x5d9676(0x19c)](_0x3b0aec))return this['_clearScheduledTask'](),this[_0x5d9676(0x501)]['createInstance'](he,this[_0x5d9676(0x4a6)],this[_0x5d9676(0x267)],this[_0x5d9676(0x587)],[],null,[_0x3b0aec],this[_0x5d9676(0x4ab)]);try{const _0x51301c=this[_0x5d9676(0x4a1)][_0x5d9676(0x3b0)]([_0x3b0aec],[this['_awaitingChangeset']],!0x1);if(_0x557c9b(_0x51301c)){const {c1Prime:_0x340db0,c2Prime:_0x1d6035}=_0x51301c;this[_0x5d9676(0x4cc)](_0x340db0[0x0]),_0x1d6035[0x0][_0x5d9676(0x443)]=this['_getCurrentRevision'](),this[_0x5d9676(0x47f)]();const _0x321ef7=this[_0x5d9676(0x501)]['createInstance'](Te,this[_0x5d9676(0x4a6)],this['type'],_0x1d6035[0x0],this[_0x5d9676(0x4ab)]);return _0x321ef7['_updateLocalCache'](),_0x321ef7;}return this[_0x5d9676(0x349)](!0x1);}catch(_0x585c24){return this[_0x5d9676(0x1a4)][_0x5d9676(0x5a3)](_0x585c24),this[_0x5d9676(0x349)](!0x1);}}[_0x29204f(0x291)](_0x1eaf84){const _0x437aa3=_0x29204f;this[_0x437aa3(0x47f)]();const _0x4cc3f9=this[_0x437aa3(0x2b7)]['getCurrentRevOfUnit'](this[_0x437aa3(0x4a6)]);if(_0x1eaf84['revision']<_0x4cc3f9-0x1)return this;if(this[_0x437aa3(0x19c)](_0x1eaf84))return this[_0x437aa3(0x501)][_0x437aa3(0x49e)](he,this[_0x437aa3(0x4a6)],this[_0x437aa3(0x267)],null,[],this[_0x437aa3(0x587)],[],this[_0x437aa3(0x4ab)]);this['_incrementRevisionNumber']();const _0x374763=this[_0x437aa3(0x501)]['createInstance'](Fe,this[_0x437aa3(0x4a6)],this['type'],this[_0x437aa3(0x4ab)]);return _0x374763[_0x437aa3(0x2a5)](),_0x374763;}['onRemoteRej'](_0xfe419c){const _0x4e42d2=_0x29204f;return this[_0x4e42d2(0x349)](!!(_0xfe419c!=null&&_0xfe419c[_0x4e42d2(0x242)]));}[_0x29204f(0x558)](_0x5c67a8){const _0x364544=_0x29204f;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0x364544(0x414)]=Ui(this[_0x364544(0x1a8)],{'timeout':this[_0x364544(0x1a8)],'reqId':_0x5c67a8['reqId']}),this['_sender']=this[_0x364544(0x414)][_0x364544(0x388)](({reqId:_0x28a7da,timeout:_0x754e37})=>{const _0x1be2dc=_0x364544;this[_0x1be2dc(0x22f)](_0x28a7da,_0x754e37);}),this);}[_0x29204f(0x4ef)](){const _0x1129dd=_0x29204f;return this[_0x1129dd(0x47f)](),this['_injector'][_0x1129dd(0x49e)](ye,this[_0x1129dd(0x4a6)],this[_0x1129dd(0x267)],this[_0x1129dd(0x587)],[],this[_0x1129dd(0x4ab)]);}['toggleOnline'](){return this;}['resend'](){const _0x1f5664=_0x29204f;this[_0x1f5664(0x4ab)][_0x1f5664(0x52f)](this[_0x1f5664(0x587)]);}['_onConflict'](_0x18e28e){const _0x29e049=_0x29204f;return this['_clearScheduledTask'](),this[_0x29e049(0x501)][_0x29e049(0x49e)](Re,this[_0x29e049(0x4a6)],this[_0x29e049(0x267)],this[_0x29e049(0x587)],[],this['_handler'],_0x18e28e);}['_resendWithTimeout'](_0x109f2e,_0x3b950a){const _0x268481=_0x29204f;var _0x8a7ade;_0x109f2e===((_0x8a7ade=this[_0x268481(0x587)])==null?void 0x0:_0x8a7ade[_0x268481(0x552)])&&(this[_0x268481(0x19f)](),this[_0x268481(0x1a8)]=_0x3b950a===0x0?0x3e8:_0x3b950a*0x2);}[_0x29204f(0x47f)](){const _0x2cfa15=_0x29204f;var _0x42ac00;(_0x42ac00=this[_0x2cfa15(0x3fb)])==null||_0x42ac00[_0x2cfa15(0x2b8)](),this[_0x2cfa15(0x1a8)]=0x0;}};Te=Le([A(0x4,_0x31a227(_0x3ada64)),A(0x5,_0x31a227(_0xbf5b42)),A(0x6,_0x31a227(q)),A(0x7,_0x1f9396),A(0x8,_0x15baf7),A(0x9,_0x5f49ec),A(0xa,_0x2d7dca)],Te);let ge=class extends $e{constructor(_0x25a554,_0x28f4be,_0x3ff24b,_0x475ba6,_0x92b714,_0x574fb9,_0x49805f,_0x4efd8a,_0x1cf387,_0x6fa6a3,_0x4dc222,_0x1fedc5,_0x4474f6){const _0x265bde=_0x29204f;super(_0x25a554,_0x28f4be,_0x3ff24b,_0x475ba6,_0x92b714,_0x6fa6a3,_0x4474f6,_0x4efd8a,_0x1cf387),g(this,_0x265bde(0x317),_0x265bde(0x311)),g(this,'_resendTimeout',0x0),g(this,_0x265bde(0x414)),g(this,_0x265bde(0x3fb)),(this['_injector']=_0x49805f,this['_logService']=_0x4dc222,this['_transformService']=_0x1fedc5,_0x574fb9&&(this[_0x265bde(0x414)]=_0x574fb9,this['_sender']=this[_0x265bde(0x414)]['subscribe'](({reqId:_0xa6f19e,timeout:_0x24d529})=>{const _0x3582ac=_0x265bde;this[_0x3582ac(0x22f)](_0xa6f19e,_0x24d529);})));}[_0x29204f(0x41d)](_0xb7ec7a){const _0x5d44de=_0x29204f;return this[_0x5d44de(0x1d9)]['push'](_0xb7ec7a),this;}[_0x29204f(0x2f1)](_0xdcb92a){const _0x1de4a1=_0x29204f;if(this[_0x1de4a1(0x19c)](_0xdcb92a))return this[_0x1de4a1(0x47f)](),this['_injector'][_0x1de4a1(0x49e)](he,this[_0x1de4a1(0x4a6)],this[_0x1de4a1(0x267)],this[_0x1de4a1(0x587)],this['_pendingMutations'],null,[_0xdcb92a],this[_0x1de4a1(0x4ab)]);try{const _0x37e8ce=this[_0x1de4a1(0x4a1)][_0x1de4a1(0x3b0)]([_0xdcb92a],[this[_0x1de4a1(0x587)]],!0x1);if(_0x557c9b(_0x37e8ce)){const {c1Prime:_0x12d3bd,c2Prime:_0x2aed41}=_0x37e8ce,_0x892a1a=this[_0x1de4a1(0x4a1)][_0x1de4a1(0x28d)](_0x12d3bd[0x0],this['_pendingMutations']);if(_0x15601c(_0x892a1a)){const {c1Prime:_0x4f8d9a,m2Prime:_0x550621}=_0x892a1a;return this[_0x1de4a1(0x4cc)](_0x4f8d9a),_0x2aed41[0x0]['baseRev']=this[_0x1de4a1(0x418)](),this[_0x1de4a1(0x47f)](),this[_0x1de4a1(0x501)]['createInstance'](ge,this[_0x1de4a1(0x4a6)],this[_0x1de4a1(0x267)],_0x2aed41[0x0],_0x550621,this[_0x1de4a1(0x4ab)],void 0x0);}throw _0x892a1a['error'];}throw _0x37e8ce[_0x1de4a1(0x5a3)];}catch(_0x155cf1){return this[_0x1de4a1(0x1a4)][_0x1de4a1(0x5a3)](_0x155cf1),this[_0x1de4a1(0x349)](!0x1);}}[_0x29204f(0x291)](_0x4f4298){const _0x1dfd7c=_0x29204f;if(this['_clearScheduledTask'](),this[_0x1dfd7c(0x19c)](_0x4f4298))return this['_injector']['createInstance'](he,this[_0x1dfd7c(0x4a6)],this[_0x1dfd7c(0x267)],null,this[_0x1dfd7c(0x1d9)],this[_0x1dfd7c(0x587)],[],this[_0x1dfd7c(0x4ab)]);this[_0x1dfd7c(0x287)]();const _0x54c49c=this[_0x1dfd7c(0x501)][_0x1dfd7c(0x49e)](pe,this[_0x1dfd7c(0x4a6)],this[_0x1dfd7c(0x267)],this[_0x1dfd7c(0x1d9)],this[_0x1dfd7c(0x4ab)]);return _0x54c49c[_0x1dfd7c(0x34e)](),_0x54c49c[_0x1dfd7c(0x2a5)](),_0x54c49c;}['onRemoteRej'](_0x3ff5fa){const _0x3b4f22=_0x29204f;return this[_0x3b4f22(0x349)](!!(_0x3ff5fa!=null&&_0x3ff5fa[_0x3b4f22(0x242)]));}[_0x29204f(0x558)](_0x1345a6){const _0x560de2=_0x29204f;return this[_0x560de2(0x1a8)]>Ni?this[_0x560de2(0x4ef)]():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this[_0x560de2(0x1a8)],'reqId':_0x1345a6[_0x560de2(0x552)]}),this[_0x560de2(0x3fb)]=this[_0x560de2(0x414)][_0x560de2(0x388)](({reqId:_0x4fded7,timeout:_0x1d9a78})=>{const _0x230580=_0x560de2;this[_0x230580(0x22f)](_0x4fded7,_0x1d9a78);}),this);}[_0x29204f(0x4ef)](){const _0x2a8600=_0x29204f;return this[_0x2a8600(0x47f)](),this[_0x2a8600(0x501)][_0x2a8600(0x49e)](ye,this[_0x2a8600(0x4a6)],this['type'],this[_0x2a8600(0x587)],this['_pendingMutations'],this[_0x2a8600(0x4ab)]);}['toggleOnline'](){return this;}['resend'](){const _0x31270f=_0x29204f;this[_0x31270f(0x4ab)][_0x31270f(0x52f)](this[_0x31270f(0x587)]);}[_0x29204f(0x349)](_0x486912){const _0x3d7888=_0x29204f;return this[_0x3d7888(0x47f)](),this[_0x3d7888(0x501)][_0x3d7888(0x49e)](Re,this['unitID'],this[_0x3d7888(0x267)],null,this[_0x3d7888(0x1d9)],this['_handler'],_0x486912);}[_0x29204f(0x22f)](_0x30be30,_0x19d366){const _0x5238ad=_0x29204f;var _0x216027;_0x30be30===((_0x216027=this['_awaitingChangeset'])==null?void 0x0:_0x216027['reqId'])&&(this[_0x5238ad(0x19f)](),this['_resendTimeout']=_0x19d366===0x0?0x3e8:_0x19d366*0x2);}[_0x29204f(0x47f)](){const _0x21988f=_0x29204f;var _0x580fe3;(_0x580fe3=this[_0x21988f(0x3fb)])==null||_0x580fe3[_0x21988f(0x2b8)](),this[_0x21988f(0x1a8)]=0x0;}};ge=Le([A(0x6,_0x31a227(_0x3ada64)),A(0x7,_0x31a227(_0xbf5b42)),A(0x8,_0x31a227(q)),A(0x9,_0x1f9396),A(0xa,_0x15baf7),A(0xb,_0x5f49ec),A(0xc,_0x2d7dca)],ge);let Re=class extends $e{constructor(_0x5652a3,_0x378dd5,_0x637716,_0x4b6bea,_0x1f23f1,_0x249646=!0x1,_0x32cb37,_0x36e325,_0x52a2a4,_0x7e1396,_0x3b15bd,_0x2189f0,_0x29b090){const _0x3aa6b1=_0x29204f;super(_0x5652a3,_0x378dd5,_0x637716,_0x4b6bea,_0x1f23f1,_0x36e325,_0x52a2a4,_0x3b15bd,_0x7e1396),g(this,_0x3aa6b1(0x317),_0x3aa6b1(0x423)),(this['_isPermissionRej']=_0x249646,this['_permissionService']=_0x32cb37,this[_0x3aa6b1(0x1ab)]=_0x2189f0,this['_notificationService']=_0x29b090,this[_0x3aa6b1(0x350)](),this['_clearLocalCache'](),this[_0x3aa6b1(0x1c0)]());}[_0x29204f(0x41d)](){return this;}[_0x29204f(0x2f1)](){return this;}[_0x29204f(0x291)](){return this;}[_0x29204f(0x38c)](){return this;}[_0x29204f(0x558)](){return this;}[_0x29204f(0x4ef)](){return this;}[_0x29204f(0x23c)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x29204f(0x571)](){const _0x1c1522=_0x29204f;this['_localCacheService'][_0x1c1522(0x444)](this[_0x1c1522(0x4a6)],this[_0x1c1522(0x267)],null,[]);}['_showConflictNotification'](){const _0x3a45dd=_0x29204f;this[_0x3a45dd(0x3d4)]?this[_0x3a45dd(0x255)][_0x3a45dd(0x4ad)]({'title':this[_0x3a45dd(0x1ab)]['t'](_0x3a45dd(0x519)),'content':this['_localeService']['t'](_0x3a45dd(0x2e4)),'type':_0x3a45dd(0x5a3),'duration':0x0}):this[_0x3a45dd(0x255)][_0x3a45dd(0x4ad)]({'title':this['_localeService']['t'](_0x3a45dd(0x54f)),'content':this[_0x3a45dd(0x1ab)]['t'](_0x3a45dd(0x539)),'type':_0x3a45dd(0x5a3),'duration':0x0});}[_0x29204f(0x1c0)](){const _0x4120fc=_0x29204f;this['_permissionService'][_0x4120fc(0x36d)](new _0x1a85fe(this[_0x4120fc(0x4a6)])['id'],!0x1);}};Re=Le([A(0x6,_0x31a227(_0x532950)),A(0x7,_0x1f9396),A(0x8,_0x2d7dca),A(0x9,_0x31a227(q)),A(0xa,_0x31a227(_0xbf5b42)),A(0xb,_0x31a227(_0x3da7c2)),A(0xc,_0x1b321d)],Re);let ye=class extends $e{constructor(_0x3f88e1,_0x387d9b,_0x280cf5,_0x3b3f49,_0x167c1b,_0x2111ae,_0x455019,_0x125984,_0x52cc44,_0x222dbd){super(_0x3f88e1,_0x387d9b,_0x280cf5,_0x3b3f49,_0x167c1b,_0x52cc44,_0x222dbd,_0x455019,_0x125984),g(this,'status','offline'),this['_injector']=_0x2111ae;}[_0x29204f(0x41d)](_0x450f24){const _0xc2f3df=_0x29204f;return this['_pendingMutations'][_0xc2f3df(0x523)](_0x450f24),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x13da99){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x29204f(0x291)](){const _0x4f6576=_0x29204f;throw new Error(_0x4f6576(0x211));}[_0x29204f(0x38c)](){const _0x2ac3c0=_0x29204f;throw new Error(_0x2ac3c0(0x19a));}[_0x29204f(0x558)](){return this;}[_0x29204f(0x4ef)](){return this;}[_0x29204f(0x23c)](){const _0x2a00ca=_0x29204f,{_injector:_0x19a0be,_pendingMutations:_0x5d4dc0,_awaitingChangeset:_0x5b2082,unitID:_0x2749f2,_handler:_0xa68b6c,type:_0x244ffe}=this,_0x493063=Ai(_0x19a0be,_0x2749f2,_0x244ffe,_0x5b2082,_0x5d4dc0,_0xa68b6c);return _0x493063 instanceof pe?_0x493063[_0x2a00ca(0x34e)]():(_0x493063 instanceof ge||_0x493063 instanceof Te)&&_0x493063[_0x2a00ca(0x19f)](),_0x493063;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x31a227(_0x3ada64)),A(0x6,_0x31a227(_0xbf5b42)),A(0x7,_0x31a227(q)),A(0x8,_0x1f9396),A(0x9,_0x2d7dca)],ye);let he=class extends $e{constructor(_0x307160,_0xafa6f9,_0x1b6c10,_0x35dbc5,_0x243619,_0x675518,_0x5ae713,_0x4eecab,_0x11e10f,_0x597ca0,_0x6a7194,_0x5cd851,_0x3654b1,_0x600a76){const _0x2f4571=_0x29204f;super(_0x307160,_0xafa6f9,_0x1b6c10,_0x35dbc5,_0x5ae713,_0x5cd851,_0x3654b1,_0x11e10f,_0x597ca0),g(this,'status',_0x2f4571(0x1b1)),(this[_0x2f4571(0x299)]=_0x243619,this[_0x2f4571(0x4d5)]=_0x675518,this['_injector']=_0x4eecab,this[_0x2f4571(0x1a4)]=_0x6a7194,this[_0x2f4571(0x4a1)]=_0x600a76);}[_0x29204f(0x374)](_0x5b1303){const _0x4d2397=_0x29204f;try{const _0x325a94=[..._0x5b1303,...this[_0x4d2397(0x4d5)]],_0x5765db=[this['_awaitingChangeset']||this[_0x4d2397(0x299)]][_0x4d2397(0x279)](_0x7d6229=>!!_0x7d6229);let _0x341f8e,_0xf9c394;if(_0x5765db[_0x4d2397(0x2f0)]){const _0x38e8af=this[_0x4d2397(0x4a1)][_0x4d2397(0x3b0)](_0x325a94,_0x5765db,!0x1);if(!_0x557c9b(_0x38e8af))throw _0x38e8af[_0x4d2397(0x5a3)];_0x341f8e=_0x38e8af[_0x4d2397(0x365)],_0xf9c394=_0x38e8af['c2Prime'];}else _0x341f8e=_0x325a94,_0xf9c394=[];let _0x2acb5b=this[_0x4d2397(0x1d9)];_0x341f8e[_0x4d2397(0x4a0)](_0x4ad7a4=>{const _0x55ecb8=_0x4d2397;let _0x4b8b89;if(_0x2acb5b['length']){const _0x1c3dfd=this[_0x55ecb8(0x4a1)][_0x55ecb8(0x28d)](_0x4ad7a4,_0x2acb5b);if(!_0x15601c(_0x1c3dfd))throw _0x1c3dfd[_0x55ecb8(0x5a3)];_0x4b8b89=_0x1c3dfd[_0x55ecb8(0x365)],_0x2acb5b=_0x1c3dfd[_0x55ecb8(0x4ee)];}else _0x4b8b89=_0x4ad7a4;this[_0x55ecb8(0x4cc)](_0x4b8b89);}),this[_0x4d2397(0x299)]&&this[_0x4d2397(0x287)](),this[_0x4d2397(0x587)]&&_0xf9c394['length']&&(_0xf9c394[0x0][_0x4d2397(0x443)]=this[_0x4d2397(0x418)]());let _0x3bc5eb;if(this[_0x4d2397(0x587)]&&_0x2acb5b[_0x4d2397(0x2f0)]!==0x0)_0x3bc5eb=this[_0x4d2397(0x501)][_0x4d2397(0x49e)](ge,this[_0x4d2397(0x4a6)],this['type'],_0xf9c394[0x0],_0x2acb5b,this[_0x4d2397(0x4ab)],void 0x0);else{if(this[_0x4d2397(0x587)]&&_0x2acb5b[_0x4d2397(0x2f0)]===0x0)_0xf9c394[0x0][_0x4d2397(0x443)]=this[_0x4d2397(0x418)](),_0x3bc5eb=this[_0x4d2397(0x501)][_0x4d2397(0x49e)](Te,this[_0x4d2397(0x4a6)],this[_0x4d2397(0x267)],_0xf9c394[0x0],this[_0x4d2397(0x4ab)]);else{if(_0x2acb5b[_0x4d2397(0x2f0)]!==0x0){const _0x13bf4c=this[_0x4d2397(0x501)][_0x4d2397(0x49e)](pe,this[_0x4d2397(0x4a6)],this[_0x4d2397(0x267)],_0x2acb5b,this['_handler']);_0x13bf4c[_0x4d2397(0x34e)](),_0x3bc5eb=_0x13bf4c;}else _0x3bc5eb=this[_0x4d2397(0x501)][_0x4d2397(0x49e)](Fe,this[_0x4d2397(0x4a6)],this['type'],this[_0x4d2397(0x4ab)]);}}return _0x3bc5eb['_updateLocalCache'](),_0x3bc5eb;}catch(_0x39ff1d){return this[_0x4d2397(0x1a4)][_0x4d2397(0x5a3)](_0x4d2397(0x36c),_0x4d2397(0x36e),_0x39ff1d),this[_0x4d2397(0x501)]['createInstance'](Re,this['unitID'],this[_0x4d2397(0x267)],this[_0x4d2397(0x587)],this['_pendingMutations'],this[_0x4d2397(0x4ab)],!0x1);}}[_0x29204f(0x19f)](){const _0x3845f5=_0x29204f;throw new Error(_0x3845f5(0x437));}[_0x29204f(0x41d)](_0x18dce5){const _0xb860dd=_0x29204f;return this[_0xb860dd(0x1d9)]['push'](_0x18dce5),this;}['onRemoteChangeset'](_0x53e440){const _0x1420ee=_0x29204f;return this['_queuedRemoteChangesets'][_0x1420ee(0x523)](_0x53e440),this;}[_0x29204f(0x291)](_0x69b506){const _0x2c4a09=_0x29204f;if(this['_awaitingChangeset'])return this[_0x2c4a09(0x299)]=this['_awaitingChangeset'],this[_0x2c4a09(0x587)]=null,this;throw new Error(_0x2c4a09(0x56e));}[_0x29204f(0x38c)](_0x163463){const _0x3f5434=_0x29204f;return this[_0x3f5434(0x349)](!!(_0x163463!=null&&_0x163463['isPermissionRej']));}[_0x29204f(0x558)](){return this;}[_0x29204f(0x4ef)](){const _0x32f97d=_0x29204f;return this[_0x32f97d(0x501)][_0x32f97d(0x49e)](ye,this[_0x32f97d(0x4a6)],this[_0x32f97d(0x267)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x32f97d(0x4ab)]);}['toggleOnline'](){return this;}[_0x29204f(0x349)](_0x5b3995){const _0x457840=_0x29204f;return this[_0x457840(0x501)][_0x457840(0x49e)](Re,this[_0x457840(0x4a6)],this[_0x457840(0x267)],this[_0x457840(0x587)],this['_pendingMutations'],this['_handler'],_0x5b3995);}};he=Le([A(0x7,_0x31a227(_0x3ada64)),A(0x8,_0x31a227(_0xbf5b42)),A(0x9,_0x31a227(q)),A(0xa,_0x15baf7),A(0xb,_0x1f9396),A(0xc,_0x2d7dca),A(0xd,_0x5f49ec)],he);function Ai(_0x400e40,_0x10e998,_0xe3b329,_0x4684b7,_0x689020,_0x1e8036){const _0x5c3eca=_0x29204f;return _0x4684b7&&_0x689020[_0x5c3eca(0x2f0)]?_0x400e40['createInstance'](ge,_0x10e998,_0xe3b329,_0x4684b7,_0x689020,_0x1e8036,void 0x0):_0x4684b7?_0x400e40['createInstance'](Te,_0x10e998,_0xe3b329,_0x4684b7,_0x1e8036):_0x689020[_0x5c3eca(0x2f0)]?_0x400e40[_0x5c3eca(0x49e)](pe,_0x10e998,_0xe3b329,_0x689020,_0x1e8036):_0x400e40['createInstance'](Fe,_0x10e998,_0xe3b329,_0x1e8036);}var mo=Object[_0x29204f(0x51a)],po=Object[_0x29204f(0x424)],Es=(_0x1d8553,_0x2dde2d,_0x300b0a,_0x2b4252)=>{const _0x54c87b=_0x29204f;for(var _0x3eda5c=_0x2b4252>0x1?void 0x0:_0x2b4252?po(_0x2dde2d,_0x300b0a):_0x2dde2d,_0x2dbf1f=_0x1d8553[_0x54c87b(0x2f0)]-0x1,_0x2e55ab;_0x2dbf1f>=0x0;_0x2dbf1f--)(_0x2e55ab=_0x1d8553[_0x2dbf1f])&&(_0x3eda5c=(_0x2b4252?_0x2e55ab(_0x2dde2d,_0x300b0a,_0x3eda5c):_0x2e55ab(_0x3eda5c))||_0x3eda5c);return _0x2b4252&&_0x3eda5c&&mo(_0x2dde2d,_0x300b0a,_0x3eda5c),_0x3eda5c;},H=(_0x35c623,_0x3124c8)=>(_0x523730,_0x307ce4)=>_0x3124c8(_0x523730,_0x307ce4,_0x35c623);let St=class extends _0x3823d2{constructor(_0x29991d,_0x25509f,_0xacd31,_0x117222,_0x395051,_0xbe6b36,_0x127e66,_0x119764,_0x1b23e2,_0x4c3827,_0xee9b14,_0x259663,_0x23ae54){const _0x4f9927=_0x29204f;super(),g(this,_0x4f9927(0x386),new _0x4d53e2(null)),g(this,_0x4f9927(0x228),this['_state$'][_0x4f9927(0x1eb)]()),g(this,'_state'),g(this,'_collaborationPaused',!0x1),g(this,_0x4f9927(0x364),''),g(this,'_changesetReqId',0x0),g(this,'status$',this[_0x4f9927(0x228)][_0x4f9927(0x457)](_0x48d892(_0x5040e5=>_0x5040e5?_0x5040e5['status']:J[_0x4f9927(0x557)]),_0x19bdf5(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x4f9927(0x4de),[]),(this['unitID']=_0x29991d,this[_0x4f9927(0x459)]=_0x25509f,this[_0x4f9927(0x475)]=_0xacd31,this[_0x4f9927(0x501)]=_0x117222,this[_0x4f9927(0x319)]=_0x395051,this[_0x4f9927(0x4c2)]=_0xbe6b36,this[_0x4f9927(0x1ab)]=_0x127e66,this['_revisionService']=_0x119764,this[_0x4f9927(0x1a4)]=_0x1b23e2,this[_0x4f9927(0x3da)]=_0x4c3827,this['_messageService']=_0xee9b14,this['_permissionService']=_0x259663,this['_singleActiveUnitService']=_0x23ae54);}get['state'](){const _0x587aaf=_0x29204f;return this[_0x587aaf(0x4a5)];}async['init'](){const _0xe5a484=_0x29204f;if(this['state'])throw new Error(_0xe5a484(0x2c1));await this[_0xe5a484(0x4ae)]();}[_0x29204f(0x353)](){const _0x2eaa3c=_0x29204f;return this[_0x2eaa3c(0x2cb)]=!0x0,_0x239c52(()=>{const _0x50fb84=_0x2eaa3c;this[_0x50fb84(0x2cb)]=!0x1,this[_0x50fb84(0x530)]();});}[_0x29204f(0x34d)](_0x4ca9b5){const _0x58a294=_0x29204f;this[_0x58a294(0x4a5)]=_0x4ca9b5,this[_0x58a294(0x386)][_0x58a294(0x27a)](_0x4ca9b5);}async[_0x29204f(0x4ae)](){const _0x3c29e5=_0x29204f;var _0x3e5510;this[_0x3c29e5(0x34d)](await this['_createInitialState']()),this[_0x3c29e5(0x21d)]&&((_0x3e5510=this[_0x3c29e5(0x21d)])==null||_0x3e5510[_0x3c29e5(0x21c)](this[_0x3c29e5(0x4a6)]),this[_0x3c29e5(0x1ba)](this[_0x3c29e5(0x21d)]['getUnitStatus$'](this[_0x3c29e5(0x4a6)])[_0x3c29e5(0x388)](_0x4fc1bf=>{const _0x4bd714=_0x3c29e5;this[_0x4bd714(0x1a4)][_0x4bd714(0x416)](_0x4bd714(0x3a5),_0x4bd714(0x390),_0x4fc1bf),_0x4fc1bf===Di[_0x4bd714(0x561)]?(this[_0x4bd714(0x3ca)]['show']({'content':this[_0x4bd714(0x1ab)]['t'](_0x4bd714(0x22a)),'type':_0x11c8f7[_0x4bd714(0x243)]}),this['_permissionService']['updatePermissionPoint'](new _0x1a85fe(this[_0x4bd714(0x4a6)])['id'],!0x1),this[_0x4bd714(0x486)][_0x4bd714(0x524)](!0x1)):(this[_0x4bd714(0x486)][_0x4bd714(0x36d)](new _0x1a85fe(this[_0x4bd714(0x4a6)])['id'],!0x0),this[_0x4bd714(0x486)][_0x4bd714(0x524)](!0x0));})));let _0xde5224=!0x1;return this['disposeWithMe'](this[_0x3c29e5(0x459)][_0x3c29e5(0x1de)]['subscribe'](_0x5f1236=>{const _0x6e7e2a=_0x3c29e5;_0x5f1236===ve['ONLINE']?this[_0x6e7e2a(0x389)](_0xde5224):_0x5f1236===ve[_0x6e7e2a(0x557)]&&(_0xde5224=!0x0,this[_0x6e7e2a(0x41e)]());})),this[_0x3c29e5(0x1ba)](this[_0x3c29e5(0x459)]['event$'][_0x3c29e5(0x388)](_0x273e42=>{const _0x855aa8=_0x3c29e5;try{switch(_0x273e42[_0x855aa8(0x4dd)]){case _0x4bdbff[_0x855aa8(0x57b)]:{this['_onRemoteChangeset'](_0x1c38f8(_0x273e42[_0x855aa8(0x1af)]));break;}case _0x4bdbff[_0x855aa8(0x1ca)]:{this['_onRemoteACK'](_0x273e42[_0x855aa8(0x1af)]);break;}case _0x4bdbff[_0x855aa8(0x580)]:{this[_0x855aa8(0x2b3)]();break;}case _0x4bdbff[_0x855aa8(0x398)]:{this[_0x855aa8(0x313)](_0x273e42[_0x855aa8(0x1af)]);break;}case _0x4bdbff['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x273e42[_0x855aa8(0x1af)][_0x855aa8(0x3e3)][_0x855aa8(0x43c)](_0x5bc631=>_0x1c38f8(_0x5bc631)));break;}case _0x4bdbff[_0x855aa8(0x241)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x5f4b61){throw console['error'](_0x855aa8(0x1cb),_0x5f4b61),_0x5f4b61;}})),this[_0x3c29e5(0x4a5)];}[_0x29204f(0x1cf)](){const _0x2484df=_0x29204f;this[_0x2484df(0x44b)]=!0x1;}['_lockTransition'](){const _0x5029bb=_0x29204f;if(this[_0x5029bb(0x44b)])throw new Error(_0x5029bb(0x554));this['_transitionLocked']=!0x0;}[_0x29204f(0x4e1)](_0xed63f6){const _0x26cc3d=_0x29204f;this['_lockTransition'](),this['_updateState'](this[_0x26cc3d(0x4a5)]['appendMutation'](_0xed63f6)),this[_0x26cc3d(0x1cf)]();}['_onRemoteChangeset'](_0x411270){const _0x59fd11=_0x29204f;if(!(_0x411270['revision']<=this[_0x59fd11(0x2b7)][_0x59fd11(0x362)](this[_0x59fd11(0x4a6)]))){if(this[_0x59fd11(0x2cb)]){this[_0x59fd11(0x4de)][_0x59fd11(0x523)](_0x411270);return;}this['_applyRemoteChangeset'](_0x411270);}}[_0x29204f(0x530)](){const _0x4be098=_0x29204f;this[_0x4be098(0x4de)][_0x4be098(0x4a0)](_0x25a031=>this[_0x4be098(0x2e3)](_0x25a031)),this[_0x4be098(0x4de)]=[];}['_applyRemoteChangeset'](_0x587f1a){const _0x2103c0=_0x29204f,_0x37f1e9=this['_compressMutationService'][_0x2103c0(0x4df)][_0x2103c0(0x372)](this['_compressMutationService'][_0x2103c0(0x4df)][_0x2103c0(0x191)]()['COMPRESS_MUTATION_APPLY'])(_0x587f1a[_0x2103c0(0x1b7)],null)||_0x587f1a['mutations'],_0x518829={..._0x587f1a,'mutations':_0x37f1e9};this[_0x2103c0(0x2aa)](),this['_updateState'](this[_0x2103c0(0x4a5)]['onRemoteChangeset'](_0x518829)),this[_0x2103c0(0x1cf)]();}['_onRemoteACK'](_0x56906f){const _0x5e9bd6=_0x29204f;this[_0x5e9bd6(0x2aa)](),this[_0x5e9bd6(0x34d)](this[_0x5e9bd6(0x4a5)][_0x5e9bd6(0x291)](_0x56906f)),this['_unlockTransition']();}[_0x29204f(0x2b3)](_0x21ad3d){const _0x44eef6=_0x29204f;this['_lockTransition'](),this[_0x44eef6(0x34d)](this[_0x44eef6(0x4a5)]['onRemoteRej'](_0x21ad3d)),this[_0x44eef6(0x1cf)]();}[_0x29204f(0x313)](_0x3bbe97){const _0x3cd37e=_0x29204f;this['_lockTransition'](),this[_0x3cd37e(0x34d)](this['_state'][_0x3cd37e(0x558)](_0x3bbe97)),this[_0x3cd37e(0x1cf)]();}['_onFetchMissResult'](_0x5bdd72){const _0xe1382b=_0x29204f;if(!(this[_0xe1382b(0x4a5)]instanceof he))throw new TypeError(_0xe1382b(0x258));const _0x1b63a6=_0x5bdd72['map'](_0xfdee75=>{const _0x28dbe1=_0xe1382b,_0x4fcdb6=this['_compressMutationService'][_0x28dbe1(0x4df)][_0x28dbe1(0x372)](this[_0x28dbe1(0x4c2)][_0x28dbe1(0x4df)][_0x28dbe1(0x191)]()[_0x28dbe1(0x446)])(_0xfdee75[_0x28dbe1(0x1b7)],null)||_0xfdee75[_0x28dbe1(0x1b7)];return{..._0xfdee75,'mutations':_0x4fcdb6};});this['_lockTransition'](),this['_updateState'](this[_0xe1382b(0x4a5)][_0xe1382b(0x374)](_0x1b63a6)),this[_0xe1382b(0x1cf)]();}[_0x29204f(0x41e)](){const _0x52dc03=_0x29204f;this[_0x52dc03(0x2aa)](),this['_updateState'](this[_0x52dc03(0x4a5)]['toggleOffline']()),this['_unlockTransition']();}[_0x29204f(0x389)](_0x21f9c3=!0x1){const _0x358402=_0x29204f;this[_0x358402(0x2aa)](),this[_0x358402(0x34d)](this[_0x358402(0x4a5)][_0x358402(0x23c)]()),this[_0x358402(0x1cf)]();const _0x9808fa=this['_state'];_0x21f9c3&&_0x9808fa instanceof Fe&&(this[_0x358402(0x2aa)](),this[_0x358402(0x34d)](_0x9808fa[_0x358402(0x44c)]()),this[_0x358402(0x1cf)]());}async[_0x29204f(0x1cd)](){return new Promise(_0x54c0d2=>{const _0x36a72f=_0x5d6c;this[_0x36a72f(0x459)][_0x36a72f(0x1de)][_0x36a72f(0x457)](_0x34813f(0x1))[_0x36a72f(0x388)](async _0xfa506c=>{_0x54c0d2(await this['_createInitialStateImpl'](_0xfa506c===ve['ONLINE']));});});}[_0x29204f(0x2a1)](){const _0x468030=_0x29204f,_0x2bf71c=this[_0x468030(0x4a6)];return{'onStateChange':(_0x521789,_0x3a7f1f)=>{const _0x30298f=_0x468030;if(_0x521789!==this[_0x30298f(0x4a5)])throw new Error(_0x30298f(0x294)+_0x521789[_0x30298f(0x317)]+_0x30298f(0x577)+_0x3a7f1f['status']+_0x30298f(0x546)+this[_0x30298f(0x4a5)][_0x30298f(0x317)]);this[_0x30298f(0x34d)](_0x3a7f1f);},'onSendChangeset':_0x5de46d=>{const _0x11169c=_0x468030;_0x5de46d['sid']||(_0x5de46d[_0x11169c(0x506)]=this[_0x11169c(0x364)],_0x5de46d[_0x11169c(0x552)]=++this[_0x11169c(0x38b)]);const _0x1f522a={'eventID':_0x4bdbff['SUBMIT_CHANGESET'],'data':{'unitID':_0x5de46d['unitID'],'unitType':this[_0x11169c(0x475)],'changeset':_0x5de46d,'memberID':this[_0x11169c(0x459)][_0x11169c(0x315)]()}};this[_0x11169c(0x459)][_0x11169c(0x2fb)](_0x1f522a,this['unitID']);},'onMissingChangesets':({from:_0x1fba89,to:_0x18a768})=>{const _0x4c758e=_0x468030;this[_0x4c758e(0x1a4)][_0x4c758e(0x416)](_0x4c758e(0x3a5),_0x4c758e(0x536)+_0x1fba89+'\x20to\x20'+_0x18a768);const _0x487550={'eventID':_0x4bdbff[_0x4c758e(0x343)],'data':{'unitID':_0x2bf71c,'unitType':this[_0x4c758e(0x475)],'from':_0x1fba89,'to':_0x18a768}};this[_0x4c758e(0x459)][_0x4c758e(0x2fb)](_0x487550,this['unitID']);}};}async[_0x29204f(0x4f2)](_0x2f793c){const _0x12d060=_0x29204f;var _0x505126,_0x3a3e4f;const _0x4174a0=await this[_0x12d060(0x319)][_0x12d060(0x43e)](this[_0x12d060(0x4a6)]),_0xac5ba4=(_0x505126=_0x4174a0==null?void 0x0:_0x4174a0[_0x12d060(0x1b7)])!=null?_0x505126:[],_0x4db1d0=(_0x3a3e4f=_0x4174a0==null?void 0x0:_0x4174a0['awaitingChangeset'])!=null?_0x3a3e4f:null,_0x1cc05d=!!(_0x4db1d0!=null&&_0x4db1d0['sid'])&&!!(_0x4db1d0!=null&&_0x4db1d0[_0x12d060(0x552)]);this[_0x12d060(0x364)]=_0x1cc05d?_0x4db1d0[_0x12d060(0x506)]:Gr(),this['_changesetReqId']=_0x1cc05d?_0x4db1d0[_0x12d060(0x552)]:0x0;const _0x4f6861=this[_0x12d060(0x4a6)];try{this[_0x12d060(0x52e)](_0x4db1d0,_0xac5ba4);}catch(_0x547270){this['_logService'][_0x12d060(0x5a3)](_0x547270);}const _0x2b92d0=this[_0x12d060(0x2a1)]();if(_0x2f793c){const _0x957593=Ai(this[_0x12d060(0x501)],_0x4f6861,this[_0x12d060(0x475)],_0x4db1d0,_0xac5ba4,_0x2b92d0);return _0x957593 instanceof pe?_0x957593['_schedule']():(_0x957593 instanceof ge||_0x957593 instanceof Te)&&_0x957593[_0x12d060(0x19f)](),_0x957593;}return this['_injector'][_0x12d060(0x49e)](ye,_0x4f6861,this[_0x12d060(0x475)],_0x4db1d0,_0xac5ba4,_0x2b92d0);}[_0x29204f(0x52e)](_0x9400ec,_0x2c541b){const _0x58f62e=_0x29204f;var _0x39427e,_0x543916;const _0x46ba5b=this['_compressMutationService'][_0x58f62e(0x4df)]['fetchThroughInterceptors'](this[_0x58f62e(0x4c2)][_0x58f62e(0x4df)][_0x58f62e(0x191)]()[_0x58f62e(0x446)]);(_0x39427e=_0x46ba5b((_0x9400ec==null?void 0x0:_0x9400ec[_0x58f62e(0x1b7)])||[],null))==null||_0x39427e[_0x58f62e(0x4a0)](_0x52048b=>this['_commandService'][_0x58f62e(0x1a5)](_0x52048b['id'],_0x52048b[_0x58f62e(0x499)])),(_0x543916=_0x46ba5b(_0x2c541b||[],null))==null||_0x543916[_0x58f62e(0x4a0)](_0x4e3ad8=>this[_0x58f62e(0x3da)]['executeCommand'](_0x4e3ad8['id'],_0x4e3ad8[_0x58f62e(0x499)]));}};St=Es([H(0x3,_0x31a227(_0x3ada64)),H(0x4,_0x31a227(q)),H(0x5,_0x31a227(_0x1f61af)),H(0x6,_0x31a227(_0x3da7c2)),H(0x7,_0x31a227(_0xbf5b42)),H(0x8,_0x15baf7),H(0x9,_0x1f9396),H(0xa,_0x5d8f55),H(0xb,_0x532950),H(0xc,_0x2fdd6d(yt))],St);let ss=class extends St{constructor(_0x526a14,_0x2307cc,_0x3aaa93,_0x472e3f,_0x5a2671,_0x597068,_0x2fb97c,_0x3bdf25,_0x1d20bb,_0x5796a1,_0x1afeec,_0x310bca,_0x1d689b,_0x53a28e,_0x38e4e9,_0xc63f0e,_0x97812f,_0x2b67d8){const _0x5235ca=_0x29204f;super(_0x526a14,_0x3aaa93,_0x2307cc,_0x472e3f,_0x5a2671,_0x597068,_0x2fb97c,_0x3bdf25,_0x53a28e,_0x38e4e9,_0xc63f0e,_0x97812f,_0x2b67d8),this[_0x5235ca(0x4a6)]=_0x526a14,this[_0x5235ca(0x267)]=_0x2307cc,this[_0x5235ca(0x3b6)]=_0x1d20bb,this[_0x5235ca(0x2f6)]=_0x5796a1,this[_0x5235ca(0x2b2)]=_0x1afeec,this[_0x5235ca(0x215)]=_0x310bca,this['_docSyncEditingCollabCursorService']=_0x1d689b;}['_createHandler'](){const _0x5b2ffd=_0x29204f,_0x4cae32=super[_0x5b2ffd(0x2a1)]();return _0x4cae32[_0x5b2ffd(0x2c9)]=_0x3a5b3a=>this[_0x5b2ffd(0x2f6)][_0x5b2ffd(0x286)](_0x3a5b3a),_0x4cae32[_0x5b2ffd(0x411)]=_0x19908a=>this[_0x5b2ffd(0x2b2)][_0x5b2ffd(0x43b)](_0x19908a),_0x4cae32[_0x5b2ffd(0x53e)]=_0x100d48=>this[_0x5b2ffd(0x215)]['transformSelections'](_0x100d48),_0x4cae32[_0x5b2ffd(0x32a)]=_0x5b5688=>this[_0x5b2ffd(0x45d)][_0x5b2ffd(0x2c7)](_0x5b5688),_0x4cae32[_0x5b2ffd(0x3b9)]=_0x471162=>this[_0x5b2ffd(0x2f6)][_0x5b2ffd(0x514)](_0x471162),_0x4cae32['onTransformRemoteChangesetByStateCache']=_0x59e000=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x59e000),_0x4cae32;}async[_0x29204f(0x4ae)](){const _0x5e8de7=_0x29204f,_0x5f0e81=await super['_init']();return this[_0x5e8de7(0x3b6)][_0x5e8de7(0x535)][_0x5e8de7(0x457)](_0x4b7102(this[_0x5e8de7(0x58b)]))['subscribe'](_0x314235=>{const _0x35a04d=_0x5e8de7;if(_0x314235==null)return;const {unitId:_0x529314,redoState:_0x51cd5d,commandId:_0x15242a}=_0x314235;if(_0x529314!==this[_0x35a04d(0x4a6)])return;const _0x449fd4={'id':_0x15242a,'type':_0x589e31[_0x35a04d(0x2ec)],'params':{'unitId':_0x529314,'actions':_0x51cd5d[_0x35a04d(0x40f)],'textRanges':null}};this[_0x35a04d(0x4e1)](_0x449fd4);}),_0x5f0e81;}};function _0x5d6c(_0x186b4e,_0x1b0898){const _0x3441de=_0x3441();return _0x5d6c=function(_0x5d6c25,_0x1e8940){_0x5d6c25=_0x5d6c25-0x190;let _0x1aac3d=_0x3441de[_0x5d6c25];return _0x1aac3d;},_0x5d6c(_0x186b4e,_0x1b0898);}ss=Es([H(0x3,_0x31a227(_0x3ada64)),H(0x4,_0x31a227(q)),H(0x5,_0x31a227(_0x1f61af)),H(0x6,_0x31a227(_0x3da7c2)),H(0x7,_0x31a227(_0xbf5b42)),H(0x8,_0x31a227(_0x4613da)),H(0x9,_0x31a227(vt)),H(0xa,_0x31a227(pt)),H(0xb,_0x31a227(gt)),H(0xc,_0x31a227(Cs)),H(0xd,_0x15baf7),H(0xe,_0x1f9396),H(0xf,_0x5d8f55),H(0x10,_0x532950),H(0x11,_0x2fdd6d(yt))],ss);let is=class extends St{constructor(_0xe68345,_0xb5d882,_0x3f0a0c,_0x3d8aa4,_0x2ac82f,_0x53c335,_0x59ae22,_0x354c64,_0x3f6d51,_0x4babac,_0x396f0e,_0x4ee02c,_0x1c099e,_0x3edeae){const _0x12dfc5=_0x29204f;super(_0xe68345,_0x3f0a0c,_0xb5d882,_0x3d8aa4,_0x2ac82f,_0x53c335,_0x59ae22,_0x354c64,_0x4babac,_0x396f0e,_0x4ee02c,_0x1c099e,_0x3edeae),this[_0x12dfc5(0x4a6)]=_0xe68345,this[_0x12dfc5(0x267)]=_0xb5d882,this['_sheetTransformSelectionsService']=_0x3f6d51;}[_0x29204f(0x2a1)](){const _0x225f41=_0x29204f,_0x19887c=super[_0x225f41(0x2a1)]();return _0x19887c[_0x225f41(0x53e)]=_0x4f464f=>this[_0x225f41(0x1f9)][_0x225f41(0x2f3)](_0x4f464f),_0x19887c;}async[_0x29204f(0x4ae)](){const _0x4ce78a=_0x29204f,_0x409fde=await super[_0x4ce78a(0x4ae)]();return this[_0x4ce78a(0x1ba)](this[_0x4ce78a(0x3da)][_0x4ce78a(0x367)]((_0xf5618b,_0x16fbb3)=>{const _0x56f43d=_0x4ce78a;if(_0xf5618b[_0x56f43d(0x267)]!==_0x589e31[_0x56f43d(0x2ec)]||_0x16fbb3!=null&&_0x16fbb3['fromCollab']||_0x16fbb3!=null&&_0x16fbb3[_0x56f43d(0x517)])return;const _0xe62b3e=_0xf5618b['params'];if((_0xe62b3e==null?void 0x0:_0xe62b3e[_0x56f43d(0x1fb)])!==this[_0x56f43d(0x4a6)])return;const _0x4d6416=_0xf5618b,_0x3f81c5=this[_0x56f43d(0x4c2)][_0x56f43d(0x4df)][_0x56f43d(0x372)](this['_compressMutationService'][_0x56f43d(0x4df)][_0x56f43d(0x191)]()[_0x56f43d(0x52c)])([_0x4d6416],null)||[_0x4d6416];this[_0x56f43d(0x4e1)](_0x3f81c5[0x0]);})),_0x409fde;}};is=Es([H(0x3,_0x31a227(_0x3ada64)),H(0x4,_0x31a227(q)),H(0x5,_0x31a227(_0x1f61af)),H(0x6,_0x31a227(_0x3da7c2)),H(0x7,_0x31a227(_0xbf5b42)),H(0x8,_0x31a227(mt)),H(0x9,_0x15baf7),H(0xa,_0x1f9396),H(0xb,_0x5d8f55),H(0xc,_0x532950),H(0xd,_0x2fdd6d(yt))],is);var go=Object[_0x29204f(0x51a)],So=Object[_0x29204f(0x424)],Io=(_0x2b935b,_0x48688b,_0x38c8be,_0x35b940)=>{const _0x35db6b=_0x29204f;for(var _0x586ba1=_0x35b940>0x1?void 0x0:_0x35b940?So(_0x48688b,_0x38c8be):_0x48688b,_0xa64153=_0x2b935b[_0x35db6b(0x2f0)]-0x1,_0x58f526;_0xa64153>=0x0;_0xa64153--)(_0x58f526=_0x2b935b[_0xa64153])&&(_0x586ba1=(_0x35b940?_0x58f526(_0x48688b,_0x38c8be,_0x586ba1):_0x58f526(_0x586ba1))||_0x586ba1);return _0x35b940&&_0x586ba1&&go(_0x48688b,_0x38c8be,_0x586ba1),_0x586ba1;},Lt=(_0x43f444,_0x87f53)=>(_0x5efc01,_0x772449)=>_0x87f53(_0x5efc01,_0x772449,_0x43f444);let it=class extends _0x3823d2{constructor(_0x4f224c,_0x56dad8,_0x443e6d){const _0x3b3f6c=_0x29204f;super(),g(this,'_entities',new Map()),g(this,_0x3b3f6c(0x1f6),new _0x5c0e09()),(this[_0x3b3f6c(0x501)]=_0x4f224c,this['_collabSessionService']=_0x56dad8,this[_0x3b3f6c(0x472)]=_0x443e6d,this['_init']());}[_0x29204f(0x1db)](){const _0xbe7f04=_0x29204f;super[_0xbe7f04(0x1db)](),this[_0xbe7f04(0x500)][_0xbe7f04(0x4a0)](_0x5f0502=>_0x5f0502[_0xbe7f04(0x1db)]()),this[_0xbe7f04(0x500)][_0xbe7f04(0x219)]();}['getCollabEntity'](_0x3c458c){const _0x30c709=_0x29204f;var _0x4ee1c0;return(_0x4ee1c0=this[_0x30c709(0x500)][_0x30c709(0x19e)](_0x3c458c))!=null?_0x4ee1c0:null;}[_0x29204f(0x2b1)](_0x149f1a){const _0x40bd5c=_0x29204f,_0x23fcaf=this[_0x40bd5c(0x1ec)](_0x149f1a);return _0x23fcaf?_0x13a6f8(_0x23fcaf):this[_0x40bd5c(0x1f6)][_0x40bd5c(0x457)](_0xeba3c2(_0x2e3ddf=>_0x2e3ddf['unitID']===_0x149f1a));}[_0x29204f(0x4ae)](){const _0x41adbf=_0x29204f;this[_0x41adbf(0x472)]['getTypeOfUnitAdded$'](_0x5e8949[_0x41adbf(0x27e)])[_0x41adbf(0x457)](_0x4b7102(this[_0x41adbf(0x58b)]),_0x202ec8(0x10))[_0x41adbf(0x388)](async _0x18b0f2=>{const _0x4fdb45=_0x41adbf,_0x44184e=_0x18b0f2['getUnitId'](),_0x56015a=await this[_0x4fdb45(0x39c)](_0x44184e,ce[_0x4fdb45(0x27e)]);this[_0x4fdb45(0x500)][_0x4fdb45(0x4b7)](_0x44184e,_0x56015a);}),this[_0x41adbf(0x472)]['getTypeOfUnitAdded$'](_0x5e8949[_0x41adbf(0x3e8)])[_0x41adbf(0x457)](_0x4b7102(this[_0x41adbf(0x58b)]),_0x202ec8(0x10))['pipe'](_0xeba3c2(_0x5669d0=>!_0x5669d0['getUnitId']()[_0x41adbf(0x586)]('__')))[_0x41adbf(0x388)](async _0x591c5e=>{const _0x4f34cf=_0x41adbf,_0x511161=_0x591c5e[_0x4f34cf(0x335)](),_0x1a5ee6=await this[_0x4f34cf(0x39c)](_0x511161,ce[_0x4f34cf(0x3e8)]);this['_entities'][_0x4f34cf(0x4b7)](_0x511161,_0x1a5ee6);}),_0x5924a9(this[_0x41adbf(0x472)][_0x41adbf(0x574)](_0x5e8949['UNIVER_SHEET']),this['_univerInstanceService'][_0x41adbf(0x574)](_0x5e8949[_0x41adbf(0x3e8)]))[_0x41adbf(0x457)](_0x4b7102(this[_0x41adbf(0x58b)]))[_0x41adbf(0x388)](_0x24f29e=>{const _0x5041e6=_0x41adbf,_0x59bab7=_0x24f29e[_0x5041e6(0x335)](),_0x54ded9=this[_0x5041e6(0x500)][_0x5041e6(0x19e)](_0x59bab7);_0x54ded9&&(_0x54ded9[_0x5041e6(0x1db)](),this['_entities']['delete'](_0x59bab7));});}async[_0x29204f(0x39c)](_0x13b29a,_0x261437){const _0x251053=_0x29204f,_0x161f1d=await this['_collabSessionService'][_0x251053(0x2ea)](_0x13b29a),_0x253089=this[_0x251053(0x501)][_0x251053(0x49e)](this[_0x251053(0x56b)](_0x261437),_0x13b29a,_0x261437,_0x161f1d);return await _0x253089[_0x251053(0x195)](),this['_entityInit$'][_0x251053(0x27a)](_0x253089),_0x253089;}[_0x29204f(0x56b)](_0x182d1b){const _0x7d6b76=_0x29204f;switch(_0x182d1b){case ce['UNIVER_DOC']:return ss;case ce[_0x7d6b76(0x27e)]:return is;default:throw new Error(_0x7d6b76(0x49f)+_0x182d1b);}}};it=Io([Lt(0x0,_0x31a227(_0x3ada64)),Lt(0x1,_0x31a227(Ae)),Lt(0x2,_0x1a11e5)],it);const Gs=[_0x29204f(0x310),_0x29204f(0x412),_0x29204f(0x46d),_0x29204f(0x37f),_0x29204f(0x31a),_0x29204f(0x2d3)];class bs extends _0x2a7347{constructor(){const _0x43c267=_0x29204f;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x43c267(0x5a4),0x0);}[_0x29204f(0x226)](_0xa60db7){const _0x5f4a5f=_0x29204f;if(this[_0x5f4a5f(0x4c1)][_0x5f4a5f(0x246)](_0xa60db7))return this[_0x5f4a5f(0x4c1)][_0x5f4a5f(0x19e)](_0xa60db7);const _0x25784a=Gs[this[_0x5f4a5f(0x5a4)]];return this[_0x5f4a5f(0x5a4)]=(this[_0x5f4a5f(0x5a4)]+0x1)%Gs[_0x5f4a5f(0x2f0)],this[_0x5f4a5f(0x4c1)][_0x5f4a5f(0x4b7)](_0xa60db7,_0x25784a),_0x25784a;}}var Co=Object['defineProperty'],Eo=Object['getOwnPropertyDescriptor'],bo=(_0xf33e2a,_0x10f78a,_0x500af1,_0x563579)=>{const _0x204914=_0x29204f;for(var _0xaf854b=_0x563579>0x1?void 0x0:_0x563579?Eo(_0x10f78a,_0x500af1):_0x10f78a,_0x27f769=_0xf33e2a[_0x204914(0x2f0)]-0x1,_0x3bd123;_0x27f769>=0x0;_0x27f769--)(_0x3bd123=_0xf33e2a[_0x27f769])&&(_0xaf854b=(_0x563579?_0x3bd123(_0x10f78a,_0x500af1,_0xaf854b):_0x3bd123(_0xaf854b))||_0xaf854b);return _0x563579&&_0xaf854b&&Co(_0x10f78a,_0x500af1,_0xaf854b),_0xaf854b;},Oe=(_0x1e6a0d,_0xfbdb8f)=>(_0x3935f3,_0x110bd5)=>_0xfbdb8f(_0x3935f3,_0x110bd5,_0x1e6a0d);const To=0x12c,Ro=0x64;let ns=class extends _0x3823d2{constructor(_0x3e4362,_0x427be5,_0xe009c2,_0x49d825,_0x5e16a5,_0x3a86cf,_0x18f373,_0xf1667f,_0x4a7fe5){const _0x916918=_0x29204f;super(),g(this,_0x916918(0x2ca),!0x1),g(this,_0x916918(0x4ae),!0x1),g(this,'_cursorInfo$',new _0x4d53e2(new Map())),g(this,'cursorInfo$',this[_0x916918(0x48e)][_0x916918(0x1eb)]()),g(this,'_roomMembers$',new _0x4d53e2([])),g(this,_0x916918(0x549),this[_0x916918(0x346)][_0x916918(0x457)](_0x2d6658(To))),g(this,_0x916918(0x20d),_0x164ec5(_0x3d02f6=>{const _0x20ba98=_0x916918,_0x33f124={'eventID':_0x4bdbff[_0x20ba98(0x1f7)],'data':{'unitID':this[_0x20ba98(0x4a6)],'memberID':this[_0x20ba98(0x27f)][_0x20ba98(0x315)](),'selection':Pi(_0x3d02f6)}};this[_0x20ba98(0x27f)][_0x20ba98(0x2fb)](_0x33f124,this[_0x20ba98(0x4a6)]);},Ro)),(this['unitID']=_0x3e4362,this[_0x916918(0x27f)]=_0x427be5,this[_0x916918(0x501)]=_0xe009c2,this[_0x916918(0x1d3)]=_0x49d825,this['_memberService']=_0x5e16a5,this[_0x916918(0x47d)]=_0x3a86cf,this[_0x916918(0x4a1)]=_0x18f373,this[_0x916918(0x472)]=_0xf1667f,this['_commandService']=_0x4a7fe5);}get[_0x29204f(0x2ed)](){const _0x513509=_0x29204f;return this[_0x513509(0x48e)][_0x513509(0x432)]();}get[_0x29204f(0x58e)](){const _0x5e0f7d=_0x29204f;return this['_roomMembers$'][_0x5e0f7d(0x432)]();}['dispose'](){const _0x2cff36=_0x29204f;super[_0x2cff36(0x1db)](),this['_cursorInfo$']['next'](new Map()),this[_0x2cff36(0x48e)][_0x2cff36(0x1a6)](),this['_roomMembers$'][_0x2cff36(0x27a)]([]),this['_roomMembers$'][_0x2cff36(0x1a6)]();}[_0x29204f(0x195)](){const _0xae00f2=_0x29204f;this['_init']||(this[_0xae00f2(0x4ae)]=!0x0,this[_0xae00f2(0x27f)][_0xae00f2(0x1de)][_0xae00f2(0x457)](_0x4b7102(this[_0xae00f2(0x58b)]))['subscribe'](_0x44945b=>{const _0x5b8630=_0xae00f2;_0x44945b===ve[_0x5b8630(0x576)]?this['_toggleOnline']():this[_0x5b8630(0x41e)]();}),this['_session'][_0xae00f2(0x190)]['pipe'](_0x4b7102(this[_0xae00f2(0x58b)]))[_0xae00f2(0x388)](_0x218de7=>{const _0x426e84=_0xae00f2,_0x8b1c55=_0x218de7[_0x426e84(0x4dd)];_0x8b1c55===_0x4bdbff[_0x426e84(0x1f7)]&&this[_0x426e84(0x570)](_0x218de7),_0x8b1c55===_0x4bdbff[_0x426e84(0x2e9)]&&this['_onCursorDelete'](_0x218de7);}),this[_0xae00f2(0x1ba)](this['_commandService'][_0xae00f2(0x367)](_0x323785=>{const _0x36920=_0xae00f2,_0x884660=_0x323785[_0x36920(0x499)];_0x884660!=null&&this[_0x36920(0x2ca)]&&_0x323785['id']===_0xa415ab['id']&&_0x884660[_0x36920(0x1fb)]===this[_0x36920(0x4a6)]&&_0x884660[_0x36920(0x462)]===!0x1&&_0x884660[_0x36920(0x1c9)]['length']>0x0&&this[_0x36920(0x20d)](_0x884660[_0x36920(0x1c9)]);})),this[_0xae00f2(0x47d)]['collabCursorState$'][_0xae00f2(0x457)](_0x4b7102(this['dispose$']))['subscribe'](_0x44be29=>{const _0x5b8eef=_0xae00f2;if((_0x44be29==null?void 0x0:_0x44be29[_0x5b8eef(0x4a6)])!==this['unitID'])return;const _0x5aafb9={'eventID':_0x4bdbff[_0x5b8eef(0x1f7)],'data':_0x44be29};this[_0x5b8eef(0x570)](_0x5aafb9);}),this[_0xae00f2(0x1ba)](this[_0xae00f2(0x3da)]['onCommandExecuted'](_0x494950=>{const _0x463ac2=_0xae00f2;if(_0x494950[_0x463ac2(0x499)]==null)return;const _0x14f54b=_0x494950[_0x463ac2(0x499)];if(_0x494950['id']!==_0x4708ca['id']||_0x14f54b[_0x463ac2(0x1fb)]!==this[_0x463ac2(0x4a6)])return;const _0x393fa5={'id':_0x463ac2(0x384),'params':_0x14f54b},_0x495e92=this[_0x463ac2(0x2ed)];for(const [_0x23ca2a,_0x4db399]of _0x495e92){const _0x4a7a54={'id':_0x463ac2(0x384),'params':{'unitId':this[_0x463ac2(0x4a6)],'actions':null,'textRanges':_0x4db399['ranges']}},_0x41a0ab=this['_transformService'][_0x463ac2(0x2fa)](_0x393fa5,_0x4a7a54,!0x1);if(_0x3a6c5b(_0x41a0ab))throw _0x41a0ab[_0x463ac2(0x5a3)];_0x495e92[_0x463ac2(0x4b7)](_0x23ca2a,{..._0x4db399,'ranges':_0x41a0ab[_0x463ac2(0x4ee)][_0x463ac2(0x499)][_0x463ac2(0x45b)]});}queueMicrotask(()=>{const _0x4dbd49=_0x463ac2;this[_0x4dbd49(0x48e)][_0x4dbd49(0x27a)](_0x495e92);});})));}[_0x29204f(0x570)](_0x5c7c1e){const _0x5827a1=_0x29204f;var _0x47c150,_0x140a11;const {memberID:_0x550db0,selection:_0x30b031}=_0x5c7c1e['data'],_0x2df91a=oo(_0x30b031),_0x4e118b=(_0x140a11=(_0x47c150=this[_0x5827a1(0x1c8)][_0x5827a1(0x46b)](this['unitID'],_0x550db0))==null?void 0x0:_0x47c150['name'])!=null?_0x140a11:_0x5827a1(0x469),_0x30871f={'color':this['_colorAssignService'][_0x5827a1(0x226)](_0x550db0),'name':_0x4e118b,'ranges':_0x2df91a},_0x520f79=this[_0x5827a1(0x2ed)];_0x520f79[_0x5827a1(0x4b7)](_0x550db0,_0x30871f),this['_cursorInfo$']['next'](_0x520f79);}['_onCursorDelete'](_0x162389){const _0x392c6f=_0x29204f,{memberID:_0x5b5d5d}=_0x162389['data'],_0x35bc85=this[_0x392c6f(0x2ed)];_0x35bc85[_0x392c6f(0x204)](_0x5b5d5d),this['_cursorInfo$']['next'](_0x35bc85);}['_toggleOnline'](){const _0x33a4a7=_0x29204f;var _0x214df6;if(this[_0x33a4a7(0x2ca)]=!0x0,((_0x214df6=this['_univerInstanceService'][_0x33a4a7(0x48b)]())==null?void 0x0:_0x214df6[_0x33a4a7(0x335)]())!==this['unitID'])return;const _0x434413=this['_injector'][_0x33a4a7(0x19e)](_0x53d45e)['getDocRanges']();Array[_0x33a4a7(0x212)](_0x434413)&&_0x434413[_0x33a4a7(0x2f0)]>0x0&&this[_0x33a4a7(0x20d)](_0x434413);}[_0x29204f(0x41e)](){const _0x5f2578=_0x29204f;this[_0x5f2578(0x2ca)]=!0x1;}};ns=bo([Oe(0x2,_0x31a227(_0x3ada64)),Oe(0x3,_0x31a227(bs)),Oe(0x4,_0x31a227(Ne)),Oe(0x5,_0x31a227(Cs)),Oe(0x6,_0x5f49ec),Oe(0x7,_0x1a11e5),Oe(0x8,_0x1f9396)],ns);var yo=Object[_0x29204f(0x51a)],Oo=Object[_0x29204f(0x424)],wo=(_0x2323cb,_0x41f0fb,_0x387e68,_0x1c9339)=>{const _0x4603ae=_0x29204f;for(var _0x2844d7=_0x1c9339>0x1?void 0x0:_0x1c9339?Oo(_0x41f0fb,_0x387e68):_0x41f0fb,_0x3e9c6c=_0x2323cb[_0x4603ae(0x2f0)]-0x1,_0x5c7de7;_0x3e9c6c>=0x0;_0x3e9c6c--)(_0x5c7de7=_0x2323cb[_0x3e9c6c])&&(_0x2844d7=(_0x1c9339?_0x5c7de7(_0x41f0fb,_0x387e68,_0x2844d7):_0x5c7de7(_0x2844d7))||_0x2844d7);return _0x1c9339&&_0x2844d7&&yo(_0x41f0fb,_0x387e68,_0x2844d7),_0x2844d7;},Be=(_0x349dcc,_0x3c5b08)=>(_0x3ac7b6,_0x1aec10)=>_0x3c5b08(_0x3ac7b6,_0x1aec10,_0x349dcc);const Do=0x12c,Po=0x64,Uo=()=>{let _0x27ae8b=[],_0x189358=!0x1;return _0x33d156=>{const _0x29ce9a=_0x5d6c;_0x27ae8b[_0x29ce9a(0x523)](_0x33d156),_0x189358||(_0x189358=!0x0,setTimeout(()=>{const _0x77be1b=_0x29ce9a;_0x27ae8b[_0x77be1b(0x4a0)](_0x453419=>_0x453419()),_0x27ae8b=[],_0x189358=!0x1;}));};};let rs=class extends _0x3823d2{constructor(_0x47b3d7,_0x1616b0,_0xf29216,_0x29eb8d,_0x4f15d3,_0x4504e6,_0x176783,_0xcd3dd7){const _0x140eae=_0x29204f;super(),g(this,_0x140eae(0x2ca),!0x1),g(this,_0x140eae(0x4ae),!0x1),g(this,_0x140eae(0x48e),new _0x4d53e2(new Map())),g(this,_0x140eae(0x297),this[_0x140eae(0x48e)][_0x140eae(0x1eb)]()),g(this,_0x140eae(0x346),new _0x4d53e2([])),g(this,'roomMembers$',this[_0x140eae(0x346)][_0x140eae(0x457)](_0x2d6658(Do))),g(this,'_updateLocalCursor',_0x164ec5((_0x26dcf3,_0x5ef63d)=>{const _0x8fd64a=_0x140eae,_0x533257={'eventID':_0x4bdbff[_0x8fd64a(0x1f7)],'data':{'unitID':this[_0x8fd64a(0x4a6)],'memberID':this[_0x8fd64a(0x27f)]['getMemberID'](),'selection':_0x43633c(_0x26dcf3,_0x5ef63d[_0x8fd64a(0x4a8)])}};this[_0x8fd64a(0x27f)][_0x8fd64a(0x2fb)](_0x533257,this['unitID']);},Po)),(this['unitID']=_0x47b3d7,this['_session']=_0x1616b0,this[_0x140eae(0x501)]=_0xf29216,this[_0x140eae(0x1d3)]=_0x29eb8d,this[_0x140eae(0x1c8)]=_0x4f15d3,this[_0x140eae(0x472)]=_0x4504e6,this[_0x140eae(0x3da)]=_0x176783,this[_0x140eae(0x1b2)]=_0xcd3dd7);}get[_0x29204f(0x2ed)](){const _0x42b087=_0x29204f;return this[_0x42b087(0x48e)]['getValue']();}get[_0x29204f(0x58e)](){const _0x13f6e0=_0x29204f;return this[_0x13f6e0(0x346)][_0x13f6e0(0x432)]();}[_0x29204f(0x1db)](){const _0x4b235a=_0x29204f;super[_0x4b235a(0x1db)](),this[_0x4b235a(0x48e)]['next'](new Map()),this[_0x4b235a(0x48e)][_0x4b235a(0x1a6)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x4b235a(0x1a6)]();}[_0x29204f(0x195)](){const _0x23aef4=_0x29204f;this[_0x23aef4(0x4ae)]||(this[_0x23aef4(0x4ae)]=!0x0,this[_0x23aef4(0x27f)]['sessionStatus$']['pipe'](_0x4b7102(this[_0x23aef4(0x58b)]))[_0x23aef4(0x388)](_0x2f74b1=>{const _0x49b5db=_0x23aef4;_0x2f74b1===ve[_0x49b5db(0x576)]?this['_toggleOnline']():this[_0x49b5db(0x41e)]();}),this[_0x23aef4(0x27f)]['event$'][_0x23aef4(0x457)](_0x4b7102(this[_0x23aef4(0x58b)]))[_0x23aef4(0x388)](_0x163bd7=>{const _0x4cbedc=_0x23aef4,_0x36c00d=_0x163bd7[_0x4cbedc(0x4dd)];_0x36c00d===_0x4bdbff[_0x4cbedc(0x1f7)]&&this[_0x4cbedc(0x570)](_0x163bd7),_0x36c00d===_0x4bdbff[_0x4cbedc(0x2e9)]&&this[_0x4cbedc(0x35d)](_0x163bd7);}),this['_onRefRangeChange'](),this[_0x23aef4(0x1ba)](this[_0x23aef4(0x3da)][_0x23aef4(0x367)](_0x1f06dc=>{const _0x14147a=_0x23aef4;if(this['_online']&&_0x1f06dc['id']===_0xac4f86['id']&&_0x1f06dc[_0x14147a(0x499)][_0x14147a(0x1fb)]===this[_0x14147a(0x4a6)]){const _0x20c9e5=_0x1f06dc[_0x14147a(0x499)];this[_0x14147a(0x20d)](_0x20c9e5['subUnitId'],_0x20c9e5[_0x14147a(0x479)][0x0]);}})));}['_onCursorUpdate'](_0x15327e){const _0x1dbcdf=_0x29204f;var _0x133356,_0x24fa9;const {memberID:_0x1355e8,selection:_0x3ffcee}=_0x15327e[_0x1dbcdf(0x1af)],{sheetName:_0xa733ec,range:_0x3dba50}=_0x12070d(_0x3ffcee),_0x506d66={'name':(_0x24fa9=(_0x133356=this[_0x1dbcdf(0x1c8)]['getMember'](this['unitID'],_0x1355e8))==null?void 0x0:_0x133356[_0x1dbcdf(0x26d)])!=null?_0x24fa9:_0x1dbcdf(0x469),'range':this['_getMergeRange'](_0xa733ec,_0x3dba50),'sheetID':_0xa733ec,'color':this[_0x1dbcdf(0x1d3)][_0x1dbcdf(0x226)](_0x1355e8),'selection':_0x3ffcee},_0x25d942=this[_0x1dbcdf(0x2ed)];_0x25d942[_0x1dbcdf(0x4b7)](_0x1355e8,_0x506d66),this[_0x1dbcdf(0x48e)][_0x1dbcdf(0x27a)](_0x25d942);}[_0x29204f(0x35d)](_0x212338){const _0x372045=_0x29204f,{memberID:_0x5eb309}=_0x212338[_0x372045(0x1af)],_0x5eb0f2=this['cursorInfo'];_0x5eb0f2['delete'](_0x5eb309),this['_cursorInfo$']['next'](_0x5eb0f2);}[_0x29204f(0x2db)](_0x1e6f4c,_0x461be4){const _0x413b9a=_0x29204f;var _0x3c24b4,_0x1ae510;const _0x204972=(_0x1ae510=(_0x3c24b4=this[_0x413b9a(0x472)][_0x413b9a(0x1b9)](this[_0x413b9a(0x4a6)]))==null?void 0x0:_0x3c24b4[_0x413b9a(0x51b)](_0x1e6f4c))==null?void 0x0:_0x1ae510['getMergeData']();return(_0x204972==null?void 0x0:_0x204972[_0x413b9a(0x3e2)](_0x2c1b1e=>_0x580a72[_0x413b9a(0x20f)](_0x2c1b1e,_0x461be4)))||_0x461be4;}['_onRefRangeChange'](){const _0x2cba9a=_0x29204f,_0xcda021=new _0x4fd609(),_0x21e546=Uo(),_0x1d1e85=()=>{const _0x202fa0=_0x5d6c;_0xcda021['dispose']();const _0xd76040=(_0xef9c07,_0x218a3d,_0x51f020,_0x48cad2)=>{const _0xc3d753=_0x5d6c;let _0x2b6549=[];switch(_0xef9c07['id']){case _0x33f806['DeleteRangeMoveLeftCommandId']:{_0x2b6549=_0x514b3c(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x41b)]:{_0x2b6549=_0x2a464d(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x35b)]:{_0x2b6549=_0x467581(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x430)]:{_0x2b6549=_0x32661a(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x50d)]:{_0x2b6549=_0x164a25(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x262)]:{_0x2b6549=_0x534953(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x489)]:{_0x2b6549=_0x41d27b(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x40b)]:{_0x2b6549=_0x57d65c(_0xef9c07,_0x48cad2);break;}case _0x33f806[_0xc3d753(0x3b5)]:{_0x2b6549=_0x29aec6(_0xef9c07,_0x48cad2);break;}}const _0x587924=_0x2ed175(_0x2b6549,_0x48cad2),_0x5116b8=this['cursorInfo'][_0xc3d753(0x19e)](_0x218a3d);if(_0x5116b8&&_0x587924){const _0x47ceff={..._0x5116b8,'range':_0x587924};this['cursorInfo']['set'](_0x218a3d,_0x47ceff),_0x21e546(()=>{const _0x50e92a=_0xc3d753,_0x39d586=this[_0x50e92a(0x1b2)][_0x50e92a(0x37e)](_0x587924,_0x126465=>(_0x39d586[_0x50e92a(0x1db)](),_0xd76040(_0x126465,_0x218a3d,_0x51f020,_0x587924)));_0xcda021[_0x50e92a(0x525)](_0x39d586);});}return{'redos':[],'undos':[]};};this[_0x202fa0(0x2ed)][_0x202fa0(0x4a0)]((_0x11ebba,_0x18b70d)=>{const _0x1b3e4c=_0x202fa0,{range:_0x18fd98,sheetID:_0x239a66}=_0x11ebba,_0x589734=this[_0x1b3e4c(0x1b2)][_0x1b3e4c(0x37e)](_0x18fd98,_0x43bf8c=>(_0x589734[_0x1b3e4c(0x1db)](),_0xd76040(_0x43bf8c,_0x18b70d,_0x239a66,_0x18fd98)));_0xcda021[_0x1b3e4c(0x525)](_0x589734);});};this[_0x2cba9a(0x1ba)](_0x239c52(this['_cursorInfo$'][_0x2cba9a(0x388)](()=>{_0x1d1e85();})));}[_0x29204f(0x389)](){const _0x3b8b28=_0x29204f;var _0x4e6528,_0x2edc22;if(this[_0x3b8b28(0x2ca)]=!0x0,((_0x4e6528=this[_0x3b8b28(0x472)][_0x3b8b28(0x48b)]())==null?void 0x0:_0x4e6528[_0x3b8b28(0x335)]())!==this[_0x3b8b28(0x4a6)])return;const _0x20197a=(_0x2edc22=this[_0x3b8b28(0x501)][_0x3b8b28(0x19e)](_0x4aa850)[_0x3b8b28(0x3ea)]())==null?void 0x0:_0x2edc22[0x0],_0x336ede=this[_0x3b8b28(0x472)][_0x3b8b28(0x2d2)](_0x5e8949[_0x3b8b28(0x27e)])[_0x3b8b28(0x52d)]();_0x20197a&&_0x336ede&&this[_0x3b8b28(0x20d)](_0x336ede[_0x3b8b28(0x316)](),_0x20197a);}[_0x29204f(0x41e)](){const _0x283563=_0x29204f;this[_0x283563(0x2ca)]=!0x1;}};rs=wo([Be(0x2,_0x31a227(_0x3ada64)),Be(0x3,_0x31a227(bs)),Be(0x4,_0x31a227(Ne)),Be(0x5,_0x1a11e5),Be(0x6,_0x1f9396),Be(0x7,_0x31a227(_0x23b58f))],rs);var No=Object[_0x29204f(0x51a)],Ao=Object['getOwnPropertyDescriptor'],Mo=(_0x269901,_0x445252,_0x4b6c68,_0x52b28b)=>{const _0x42b999=_0x29204f;for(var _0x5aede2=_0x52b28b>0x1?void 0x0:_0x52b28b?Ao(_0x445252,_0x4b6c68):_0x445252,_0x253438=_0x269901[_0x42b999(0x2f0)]-0x1,_0x3fe240;_0x253438>=0x0;_0x253438--)(_0x3fe240=_0x269901[_0x253438])&&(_0x5aede2=(_0x52b28b?_0x3fe240(_0x445252,_0x4b6c68,_0x5aede2):_0x3fe240(_0x5aede2))||_0x5aede2);return _0x52b28b&&_0x5aede2&&No(_0x445252,_0x4b6c68,_0x5aede2),_0x5aede2;},$t=(_0x173e90,_0x12069f)=>(_0x51d713,_0x44211e)=>_0x12069f(_0x51d713,_0x44211e,_0x173e90);let Ve=class extends _0x3823d2{constructor(_0x53990c,_0x333409,_0xc4d183){const _0x2c44d2=_0x29204f;super(),g(this,_0x2c44d2(0x500),new Map()),g(this,'_entityInit$',new _0x5c0e09()),(this[_0x2c44d2(0x472)]=_0x53990c,this['_injector']=_0x333409,this[_0x2c44d2(0x34f)]=_0xc4d183,this[_0x2c44d2(0x4ae)]());}['dispose'](){const _0x5f346f=_0x29204f;super[_0x5f346f(0x1db)](),this['_entityInit$'][_0x5f346f(0x1a6)](),this[_0x5f346f(0x500)]['forEach'](_0xb8f9b0=>_0xb8f9b0[_0x5f346f(0x1db)]());}['getCollabCursors$'](_0xec815f){const _0x360a40=_0x29204f;return this[_0x360a40(0x500)]['has'](_0xec815f)?this[_0x360a40(0x500)]['get'](_0xec815f)['cursorInfo$']:this[_0x360a40(0x1f6)][_0x360a40(0x457)](_0x35e38e(_0x2f3838=>_0x2f3838[_0x360a40(0x4a6)]===_0xec815f),_0x481a9a(_0x18f435=>_0x18f435['cursorInfo$']));}[_0x29204f(0x4ae)](){const _0x4db968=_0x29204f;this[_0x4db968(0x472)][_0x4db968(0x543)](_0x5e8949['UNIVER_SHEET'])[_0x4db968(0x457)](_0x4b7102(this['dispose$']))[_0x4db968(0x388)](async _0x4ca9cc=>{const _0x27ff96=_0x4db968,_0x8b496a=_0x4ca9cc[_0x27ff96(0x335)](),_0x109689=await this['_startSheetCollabCursor'](_0x8b496a);this[_0x27ff96(0x1f6)][_0x27ff96(0x27a)](_0x109689),this[_0x27ff96(0x500)][_0x27ff96(0x4b7)](_0x8b496a,_0x109689);}),this[_0x4db968(0x472)][_0x4db968(0x543)](_0x5e8949['UNIVER_DOC'])['pipe'](_0x4b7102(this['dispose$']))['pipe'](_0x35e38e(_0x582197=>!_0x582197[_0x4db968(0x335)]()[_0x4db968(0x586)]('__')))['subscribe'](async _0x253ef6=>{const _0x561e42=_0x4db968,_0x489a78=_0x253ef6[_0x561e42(0x335)](),_0x2ff654=await this[_0x561e42(0x4b2)](_0x489a78);this['_entityInit$']['next'](_0x2ff654),this[_0x561e42(0x500)]['set'](_0x489a78,_0x2ff654);}),_0x5924a9(this[_0x4db968(0x472)][_0x4db968(0x574)](_0x5e8949[_0x4db968(0x3e8)]),this[_0x4db968(0x472)][_0x4db968(0x574)](_0x5e8949[_0x4db968(0x27e)]))['pipe'](_0x4b7102(this[_0x4db968(0x58b)]))[_0x4db968(0x388)](_0x51285d=>{const _0x4601de=_0x4db968,_0x5dd369=_0x51285d[_0x4601de(0x335)](),_0x1f107f=this['_entities'][_0x4601de(0x19e)](_0x5dd369);_0x1f107f&&(_0x1f107f[_0x4601de(0x1db)](),this[_0x4601de(0x500)]['delete'](_0x5dd369));});}async['_startSheetCollabCursor'](_0x448088){const _0x4338df=_0x29204f,_0x4b7675=await this[_0x4338df(0x34f)]['requireSession'](_0x448088),_0x44e3cf=this['_injector'][_0x4338df(0x49e)](rs,_0x448088,_0x4b7675);return _0x44e3cf[_0x4338df(0x195)](),_0x44e3cf;}async[_0x29204f(0x4b2)](_0x4e0573){const _0x2150f3=_0x29204f,_0x538a1a=await this['_collabSessionService']['requireSession'](_0x4e0573),_0x1ac53b=this[_0x2150f3(0x501)][_0x2150f3(0x49e)](ns,_0x4e0573,_0x538a1a);return _0x1ac53b[_0x2150f3(0x195)](),_0x1ac53b;}};Ve=Mo([$t(0x0,_0x1a11e5),$t(0x1,_0x31a227(_0x3ada64)),$t(0x2,_0x31a227(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x23bb10,_0x2516d0){const _0x5df333=_0x29204f;let {radius:_0x19ab2a,width:_0x2252e0,height:_0x39d574}=_0x2516d0;_0x19ab2a=_0x19ab2a!=null?_0x19ab2a:0x0,_0x2252e0=_0x2252e0!=null?_0x2252e0:0x1e,_0x39d574=_0x39d574!=null?_0x39d574:0x1e;let _0x2040c0=0x0,_0x56b08b=0x0,_0x43296c=0x0;_0x2040c0=_0x56b08b=_0x43296c=Math[_0x5df333(0x3ee)](_0x19ab2a,_0x2252e0/0x2,_0x39d574/0x2),_0x23bb10[_0x5df333(0x3a8)](),_0x23bb10[_0x5df333(0x48d)](_0x2040c0,0x0),_0x23bb10['lineTo'](_0x2252e0-_0x56b08b,0x0),_0x23bb10[_0x5df333(0x36a)](_0x2252e0-_0x56b08b,_0x56b08b,_0x56b08b,Math['PI']*0x3/0x2,0x0,!0x1),_0x23bb10[_0x5df333(0x52a)](_0x2252e0,_0x39d574-_0x43296c),_0x23bb10['arc'](_0x2252e0-_0x43296c,_0x39d574-_0x43296c,_0x43296c,0x0,Math['PI']/0x2,!0x1),_0x23bb10[_0x5df333(0x52a)](0x0,_0x39d574),_0x23bb10[_0x5df333(0x52a)](0x0,_0x2040c0),_0x23bb10['arc'](_0x2040c0,_0x2040c0,_0x2040c0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x23bb10[_0x5df333(0x57c)](),_0x2516d0[_0x5df333(0x4d1)]&&(_0x23bb10[_0x5df333(0x391)](),_0x23bb10[_0x5df333(0x483)]=_0x2516d0[_0x5df333(0x4d1)],_0x2516d0['fillRule']===_0x5df333(0x49b)?_0x23bb10[_0x5df333(0x4d1)](_0x5df333(0x49b)):_0x23bb10[_0x5df333(0x4d1)](),_0x23bb10['restore']());}class Ot extends _0x58ae8b{constructor(_0x66e4a6,_0x21842f){const _0x301144=_0x29204f;super(_0x66e4a6,_0x21842f),g(this,_0x301144(0x231)),g(this,_0x301144(0x259)),(this['color']=_0x21842f==null?void 0x0:_0x21842f[_0x301144(0x231)],this['text']=_0x21842f==null?void 0x0:_0x21842f['text']);}static['drawWith'](_0x2d1be4,_0x262698){const _0x4e5168=_0x29204f,{text:_0x1ae985,color:_0x252dcb}=_0x262698;_0x2d1be4[_0x4e5168(0x391)](),_0x2d1be4[_0x4e5168(0x37b)]=_0x4e5168(0x553);const _0x140793=_0x2d1be4[_0x4e5168(0x31e)](_0x1ae985)[_0x4e5168(0x560)],_0x111e52=Math[_0x4e5168(0x3ee)](_0x140793+0x2*Ht,Ys);Lo(_0x2d1be4,{'height':nt,'radius':0x4,'width':_0x111e52,'fill':_0x252dcb,'evented':!0x1}),_0x2d1be4[_0x4e5168(0x483)]=_0x4e5168(0x56f);const _0x50e07e=Ht,_0x1a4a95=nt-xo,_0x2f31a3=Ys-0x2*Ht;if(_0x140793>_0x2f31a3){let _0x23576f='',_0x52f303=0x0;for(const _0x48889e of _0x1ae985){const _0x2504ec=_0x2d1be4['measureText'](_0x48889e)['width'];if(_0x52f303+_0x2504ec<=_0x2f31a3-_0x2d1be4[_0x4e5168(0x31e)]('...')['width'])_0x23576f+=_0x48889e,_0x52f303+=_0x2504ec;else{_0x23576f+='...';break;}}_0x2d1be4[_0x4e5168(0x3fa)](_0x23576f,_0x50e07e,_0x1a4a95);}else _0x2d1be4[_0x4e5168(0x3fa)](_0x1ae985,_0x50e07e,_0x1a4a95);_0x2d1be4[_0x4e5168(0x235)]();}[_0x29204f(0x30a)](_0x4518b9){Ot['drawWith'](_0x4518b9,this);}}const jt='collab-text-anchor-',$o=_0x29204f(0x415),Ho=_0x29204f(0x4ec),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x29204f(0x5a7);class Ks{constructor(_0x1ff30a,_0x42e09b,_0x2d3ffa,_0x18dc00){const _0xe91b=_0x29204f;g(this,_0xe91b(0x22c),[]),g(this,'_anchor',null),g(this,_0xe91b(0x3ad),null),g(this,_0xe91b(0x484),null),g(this,_0xe91b(0x2af),null),g(this,_0xe91b(0x293),null),(this['_cursor']=_0x1ff30a,this[_0xe91b(0x303)]=_0x42e09b,this[_0xe91b(0x454)]=_0x2d3ffa,this[_0xe91b(0x19b)]=_0x18dc00,this[_0xe91b(0x292)]());}set[_0x29204f(0x25f)](_0x390a13){const _0x606f5a=_0x29204f;_0x390a13?(this[_0x606f5a(0x484)]&&this[_0x606f5a(0x484)][_0x606f5a(0x59c)](),this['_textBubble']&&this[_0x606f5a(0x3ad)]['show']()):(this[_0x606f5a(0x484)]&&this[_0x606f5a(0x484)][_0x606f5a(0x4ad)](),this['_textBubble']&&this[_0x606f5a(0x3ad)][_0x606f5a(0x59c)]());}['dispose'](){const _0x5f5b75=_0x29204f;for(const _0x270140 of this[_0x5f5b75(0x22c)])_0x270140[_0x5f5b75(0x1db)]();this[_0x5f5b75(0x3ad)]&&this[_0x5f5b75(0x3ad)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x5f5b75(0x1db)](),this[_0x5f5b75(0x1d7)]&&this[_0x5f5b75(0x1d7)]['dispose'](),this[_0x5f5b75(0x293)]&&this[_0x5f5b75(0x293)]();}[_0x29204f(0x292)](){const _0x21e939=_0x29204f;var _0x1b444d;const {_docSkeleton:_0xdaa54d,_document:_0x443a6b}=this,{color:_0x1c9dfb,name:_0x162d4b,ranges:_0x1c4a68}=this[_0x21e939(0x207)],_0x42a5c7=_0x443a6b[_0x21e939(0x216)](),{docsLeft:_0x12a2b5,docsTop:_0x3bdba1}=_0x42a5c7,_0x384953=new _0x5e2d9d(_0x42a5c7,_0xdaa54d);for(const {startOffset:_0x160d33,endOffset:_0x516fd3,rangeType:_0x58123e,segmentId:_0x477dc7,segmentPage:_0x2e289c,collapsed:_0x5aa2f1,isActive:_0x45f5e3}of _0x1c4a68){const _0x38d86b=_0xdaa54d[_0x21e939(0x366)](_0x160d33,!0x0,_0x477dc7,_0x2e289c);let _0x1cdea7=_0xdaa54d[_0x21e939(0x366)](_0x516fd3,!0x0,_0x477dc7,_0x2e289c);if(_0x1cdea7==null&&(_0x1cdea7=_0xdaa54d[_0x21e939(0x366)](_0x516fd3-0x1,!0x1,_0x477dc7,_0x2e289c)),_0x45f5e3){const {contentBoxPointGroup:_0x2e4adc}=_0x384953[_0x21e939(0x1e7)](_0x1cdea7,_0x1cdea7);if(_0x2e4adc[_0x21e939(0x2f0)]===0x0)continue;this[_0x21e939(0x581)](_0x1c9dfb,_0x2e4adc,_0x12a2b5,_0x3bdba1,_0x162d4b),this[_0x21e939(0x293)]=this[_0x21e939(0x227)]();}if(!_0x5aa2f1&&_0x38d86b&&_0x1cdea7){if(_0x58123e===_0x362093[_0x21e939(0x1bd)]){const _0x8639c5=new _0x32e2ad(_0x42a5c7,_0xdaa54d),{pointGroup:_0x3f34be}=(_0x1b444d=_0x8639c5[_0x21e939(0x1e7)](_0x38d86b,_0x1cdea7))!=null?_0x1b444d:{};if(_0x3f34be==null||_0x3f34be[_0x21e939(0x2f0)]===0x0)continue;this[_0x21e939(0x4e5)](_0x1c9dfb,_0x3f34be,_0x12a2b5,_0x3bdba1);}else{const {borderBoxPointGroup:_0x521604}=_0x384953[_0x21e939(0x1e7)](_0x38d86b,_0x1cdea7);if(_0x521604[_0x21e939(0x2f0)]===0x0)continue;this[_0x21e939(0x43f)](_0x1c9dfb,_0x521604,_0x12a2b5,_0x3bdba1);}}}}[_0x29204f(0x581)](_0x25a44b,_0x309221,_0x1926ba,_0x246c2c,_0x1de7a3){const _0x30bd6d=_0x29204f,_0x4e633f=this[_0x30bd6d(0x3eb)](_0x309221),{left:_0x130d79,top:_0x7057dc,height:_0x126912}=_0x4e633f,_0x4f3ef7=this['_getScale'](),_0x18b320=Bo/_0x4f3ef7,_0x1b5fad=new _0x471a33(jt+_0x572bca[_0x30bd6d(0x584)](Je),{'left':_0x130d79+_0x1926ba-_0x18b320,'top':_0x7057dc+_0x246c2c,'height':_0x126912,'width':jo,'fill':_0x25a44b||_0x13b5bd(_0x599565[_0x30bd6d(0x2e8)],0x0),'strokeWidth':_0x18b320,'stroke':ko,'evented':!0x0});this[_0x30bd6d(0x1d7)]=_0x1b5fad,this[_0x30bd6d(0x303)][_0x30bd6d(0x3d6)](_0x1b5fad,_0x41121f);const _0x7ccc7a=new _0x471a33(jt+_0x572bca[_0x30bd6d(0x584)](Je),{'left':_0x130d79+_0x1926ba-_0x18b320,'top':_0x7057dc+_0x246c2c-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x25a44b||_0x13b5bd(_0x599565[_0x30bd6d(0x2e8)],0x0),'strokeWidth':0x0,'stroke':_0x25a44b||_0x13b5bd(_0x599565['black'],0x0),'evented':!0x1});this[_0x30bd6d(0x484)]=_0x7ccc7a,this[_0x30bd6d(0x303)][_0x30bd6d(0x3d6)](_0x7ccc7a,_0x41121f);const _0x2c6729=new Ot(jt+_0x572bca[_0x30bd6d(0x584)](Je),{'left':_0x130d79+_0x1926ba-_0x18b320,'top':_0x7057dc+_0x246c2c-nt,'text':_0x1de7a3,'color':_0x25a44b});this[_0x30bd6d(0x3ad)]=_0x2c6729,this[_0x30bd6d(0x303)][_0x30bd6d(0x3d6)](_0x2c6729,_0x41121f),this['_hover']=!0x1;}[_0x29204f(0x227)](){const _0x2ccd89=_0x29204f,_0x2931f3=this['_anchor'][_0x2ccd89(0x4fe)][_0x2ccd89(0x38d)](()=>{const _0x1134e3=_0x2ccd89;this[_0x1134e3(0x25f)]=!0x0;}),_0x115eeb=this[_0x2ccd89(0x1d7)][_0x2ccd89(0x208)][_0x2ccd89(0x38d)](()=>{const _0x2a7009=_0x2ccd89;this[_0x2a7009(0x2af)]&&clearTimeout(this['_hideTimer']),this[_0x2a7009(0x2af)]=setTimeout(()=>{const _0xd079a5=_0x2a7009;this[_0xd079a5(0x25f)]=!0x1;},0x7d0);});return()=>{const _0x62f95=_0x2ccd89;_0x2931f3[_0x62f95(0x2b8)](),_0x115eeb[_0x62f95(0x2b8)]();};}[_0x29204f(0x43f)](_0x5124e5,_0x2852ca,_0x79ea37,_0xf6b6f){const _0x418a27=_0x29204f,_0x50a5db=new _0x4393a4(_0x5124e5)[_0x418a27(0x337)](0.2)[_0x418a27(0x357)](),_0x3bcf90=new _0x5cdea5($o+_0x572bca[_0x418a27(0x584)](Je),{'pointsGroup':_0x2852ca,'fill':_0x50a5db||_0x13b5bd(_0x599565[_0x418a27(0x2e8)],0.2),'left':_0x79ea37,'top':_0xf6b6f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x418a27(0x22c)][_0x418a27(0x523)](_0x3bcf90),this['_scene'][_0x418a27(0x3d6)](_0x3bcf90,_0x41121f);}['_drawRectRange'](_0x35cfd2,_0x23134a,_0x5c7c53,_0x2c197a){const _0x283e18=_0x29204f,_0x26b72a=new _0x4393a4(_0x35cfd2)[_0x283e18(0x337)](0.2)[_0x283e18(0x357)](),_0x270e4e=new _0x5cdea5(Ho+_0x572bca[_0x283e18(0x584)](Je),{'pointsGroup':_0x23134a,'fill':_0x26b72a||_0x13b5bd(_0x599565[_0x283e18(0x2e8)],0.2),'left':_0x5c7c53,'top':_0x2c197a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x283e18(0x22c)][_0x283e18(0x523)](_0x270e4e),this[_0x283e18(0x303)]['addObject'](_0x270e4e,_0x41121f);}[_0x29204f(0x3eb)](_0x3ed770){const _0x23222c=_0x3ed770[0x0],_0x3ed2bb=_0x23222c[0x0],_0x283623=_0x23222c[0x2],{x:_0x205aa8,y:_0xbbbb0f}=_0x3ed2bb,{x:_0x1f8c48,y:_0x3cf779}=_0x283623;return{'left':_0x205aa8,'top':_0xbbbb0f,'width':_0x1f8c48-_0x205aa8,'height':_0x3cf779-_0xbbbb0f};}[_0x29204f(0x265)](){const _0x3cc19d=_0x29204f,{scaleX:_0x117280,scaleY:_0x3d772b}=this[_0x3cc19d(0x303)]['getAncestorScale']();return Math['max'](_0x117280,_0x3d772b);}}var Wo=Object[_0x29204f(0x51a)],Fo=Object[_0x29204f(0x424)],Vo=(_0x25a9ae,_0x2baaa7,_0x1c4dc8,_0x5397de)=>{const _0x5b8b24=_0x29204f;for(var _0x1aa894=_0x5397de>0x1?void 0x0:_0x5397de?Fo(_0x2baaa7,_0x1c4dc8):_0x2baaa7,_0x325f45=_0x25a9ae[_0x5b8b24(0x2f0)]-0x1,_0x420eb0;_0x325f45>=0x0;_0x325f45--)(_0x420eb0=_0x25a9ae[_0x325f45])&&(_0x1aa894=(_0x5397de?_0x420eb0(_0x2baaa7,_0x1c4dc8,_0x1aa894):_0x420eb0(_0x1aa894))||_0x1aa894);return _0x5397de&&_0x1aa894&&Wo(_0x2baaa7,_0x1c4dc8,_0x1aa894),_0x1aa894;},ht=(_0x40fec7,_0x3c182c)=>(_0x355ec0,_0x532e37)=>_0x3c182c(_0x355ec0,_0x532e37,_0x40fec7);let os=class extends _0x3823d2{constructor(_0x2cbab9,_0x52d28a,_0x15d0e2,_0x453797,_0x178c70){const _0x59c605=_0x29204f;super(),g(this,'_cursorShapes',[]),g(this,_0x59c605(0x435),[]),(this[_0x59c605(0x2a3)]=_0x2cbab9,this[_0x59c605(0x47e)]=_0x52d28a,this[_0x59c605(0x1f8)]=_0x15d0e2,this[_0x59c605(0x3da)]=_0x453797,this[_0x59c605(0x58f)]=_0x178c70,this[_0x59c605(0x4ae)]());}[_0x29204f(0x4ae)](){const _0x5b5bbb=_0x29204f,_0x5dd1fa=this[_0x5b5bbb(0x2a3)]['unitId'],_0x2ee400=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x55b0dc([this[_0x5b5bbb(0x1f8)]['getCollabCursors$'](_0x5dd1fa),this[_0x5b5bbb(0x58f)][_0x5b5bbb(0x2ef)]])[_0x5b5bbb(0x457)](_0x2057c1(([_0x369117,_0x223215])=>({'skeleton':_0x2ee400['getSkeleton'](),'cursors':[..._0x369117[_0x5b5bbb(0x593)]()]['flatMap'](_0x1c80b2=>({..._0x1c80b2,'color':_0x223215[_0x1c80b2[_0x5b5bbb(0x231)]]}))})))['subscribe'](_0x2f2d22=>{const _0x43d758=_0x5b5bbb;if(this['_removeCollabCursors'](),_0x2f2d22){const {skeleton:_0x1ca0c3,cursors:_0xcb73a}=_0x2f2d22;this[_0x43d758(0x352)](_0x1ca0c3,_0xcb73a);}})),this[_0x5b5bbb(0x55f)](),this[_0x5b5bbb(0x413)]();}[_0x29204f(0x352)](_0x3b5c22,_0x3e7524){const _0x228a95=_0x29204f,{scene:_0x44206a,mainComponent:_0x274d4b}=this[_0x228a95(0x2a3)],_0x57e3f7=_0x3e7524[_0x228a95(0x43c)](_0x302403=>new Ks(_0x302403,_0x44206a,_0x3b5c22,_0x274d4b));this['_cursorShapes']=_0x57e3f7,this[_0x228a95(0x435)]=_0x3e7524;}['_refreshCollabCursors'](){const _0x2debae=_0x29204f;this['_removeCollabCursors']();const {scene:_0x419edb,mainComponent:_0x46153a}=this['_context'],_0x311e9a=this[_0x2debae(0x47e)][_0x2debae(0x1f5)](),_0x7ec00d=this['_cursors'][_0x2debae(0x43c)](_0x9b5cbe=>new Ks(_0x9b5cbe,_0x419edb,_0x311e9a,_0x46153a));this[_0x2debae(0x41c)]=_0x7ec00d;}['_removeCollabCursors'](){const _0x4a8263=_0x29204f;this[_0x4a8263(0x41c)][_0x4a8263(0x4a0)](_0x319719=>_0x319719[_0x4a8263(0x1db)]()),this[_0x4a8263(0x41c)]=[];}[_0x29204f(0x413)](){const _0x55b42e=_0x29204f,_0x549f8f=[_0x2a560c['id']];this[_0x55b42e(0x1ba)](this[_0x55b42e(0x3da)]['onCommandExecuted'](_0x5d74a6=>{const _0x4e3707=_0x55b42e;_0x549f8f[_0x4e3707(0x40a)](_0x5d74a6['id'])&&_0x5d74a6[_0x4e3707(0x499)][_0x4e3707(0x1fb)]===this[_0x4e3707(0x2a3)][_0x4e3707(0x1fb)]&&this[_0x4e3707(0x4e4)]();}));}['_initResize'](){const _0x147569=_0x29204f;this[_0x147569(0x1ba)](_0x56e5f4(this[_0x147569(0x2a3)][_0x147569(0x4cb)][_0x147569(0x24c)])[_0x147569(0x457)](_0xeba3c2(_0x4f0d9c=>_0x4f0d9c['type']===_0x23f0d1[_0x147569(0x4eb)]),_0x5da6f1(0x10))[_0x147569(0x388)](()=>{const _0x50811a=_0x147569;this[_0x50811a(0x4e4)]();}));}};os=Vo([ht(0x1,_0x31a227(_0x13a800)),ht(0x2,_0x31a227(Ve)),ht(0x3,_0x1f9396),ht(0x4,_0x31a227(_0x58d887))],os);const Go=0x1,Yo=1.5;class Ko extends _0x58ae8b{constructor(_0x43dfa5,_0x501a1b){const _0x6d1c25=_0x29204f;super(_0x43dfa5,_0x501a1b),g(this,_0x6d1c25(0x24f)),g(this,_0x6d1c25(0x527),!0x1),g(this,_0x6d1c25(0x4fc)),g(this,_0x6d1c25(0x378),''),g(this,_0x6d1c25(0x36f),_0x6d1c25(0x4be)),g(this,_0x6d1c25(0x563)),(_0x501a1b&&this[_0x6d1c25(0x573)](_0x501a1b),this[_0x6d1c25(0x4fe)][_0x6d1c25(0x38d)](()=>this[_0x6d1c25(0x573)]({'hovered':!0x0})),this[_0x6d1c25(0x208)][_0x6d1c25(0x38d)](()=>this[_0x6d1c25(0x573)]({'hovered':!0x1})));}[_0x29204f(0x573)](_0xfaf6e7){const _0x2ba44a=_0x29204f;var _0x12d826,_0xaab806,_0x35041e,_0x4f70e6,_0x385428,_0xdb55e1;this[_0x2ba44a(0x24f)]=(_0x12d826=_0xfaf6e7['color'])!=null?_0x12d826:this['_color'],this[_0x2ba44a(0x527)]=(_0xaab806=_0xfaf6e7[_0x2ba44a(0x26b)])!=null?_0xaab806:this[_0x2ba44a(0x527)],this[_0x2ba44a(0x4fc)]=(_0x35041e=_0xfaf6e7[_0x2ba44a(0x4a8)])!=null?_0x35041e:this[_0x2ba44a(0x4fc)],this[_0x2ba44a(0x378)]=(_0x4f70e6=_0xfaf6e7[_0x2ba44a(0x26d)])!=null?_0x4f70e6:this[_0x2ba44a(0x378)],this[_0x2ba44a(0x36f)]=(_0x385428=_0xfaf6e7[_0x2ba44a(0x1d1)])!=null?_0x385428:this[_0x2ba44a(0x36f)],this[_0x2ba44a(0x563)]=(_0xdb55e1=_0xfaf6e7['backgroundColor'])!=null?_0xdb55e1:this[_0x2ba44a(0x563)],this[_0x2ba44a(0x30b)]({'width':_0xfaf6e7[_0x2ba44a(0x560)],'height':_0xfaf6e7[_0x2ba44a(0x236)]});}[_0x29204f(0x2dc)](_0x547589){const _0xff3d22=_0x29204f,{row:_0x247b3d,column:_0xda044a}=_0x547589;if(_0x247b3d>=this['_range']['startRow']&&_0x247b3d<=this[_0xff3d22(0x4fc)][_0xff3d22(0x51e)]&&_0xda044a>=this[_0xff3d22(0x4fc)][_0xff3d22(0x29a)]&&_0xda044a<=this['_range'][_0xff3d22(0x490)]){this[_0xff3d22(0x573)]({'hovered':!0x0});return;}this[_0xff3d22(0x573)]({'hovered':!0x1});}[_0x29204f(0x2eb)](_0x23cc42){return!0x1;}[_0x29204f(0x30a)](_0x11b5e3){const _0x4ab7dc=_0x29204f;_0x471a33[_0x4ab7dc(0x513)](_0x11b5e3,{'width':this[_0x4ab7dc(0x560)],'height':this[_0x4ab7dc(0x236)],'strokeWidth':Yo,'stroke':this[_0x4ab7dc(0x24f)],'evented':!0x1,'fill':this[_0x4ab7dc(0x563)]}),this[_0x4ab7dc(0x527)]&&(_0x11b5e3[_0x4ab7dc(0x391)](),_0x11b5e3[_0x4ab7dc(0x23e)](0x1,0x0,0x0,0x1,this[_0x4ab7dc(0x560)],this[_0x4ab7dc(0x36f)]===_0x4ab7dc(0x50e)?0x0:-nt),Ot[_0x4ab7dc(0x513)](_0x11b5e3,{'text':this['_name'],'color':this[_0x4ab7dc(0x24f)]}),_0x11b5e3['restore']());}}var zo=Object[_0x29204f(0x51a)],qo=Object[_0x29204f(0x424)],Xo=(_0x1a34c2,_0x13ab67,_0x46b648,_0x1d2678)=>{for(var _0x367c10=_0x1d2678>0x1?void 0x0:_0x1d2678?qo(_0x13ab67,_0x46b648):_0x13ab67,_0x4a4e33=_0x1a34c2['length']-0x1,_0x31cb1f;_0x4a4e33>=0x0;_0x4a4e33--)(_0x31cb1f=_0x1a34c2[_0x4a4e33])&&(_0x367c10=(_0x1d2678?_0x31cb1f(_0x13ab67,_0x46b648,_0x367c10):_0x31cb1f(_0x367c10))||_0x367c10);return _0x1d2678&&_0x367c10&&zo(_0x13ab67,_0x46b648,_0x367c10),_0x367c10;},kt=(_0x5cb0b9,_0x57f0df)=>(_0x2df31f,_0x15d9cb)=>_0x57f0df(_0x2df31f,_0x15d9cb,_0x5cb0b9);const Jo=0x1389;let as=class extends _0x3823d2{constructor(_0x14c360,_0x4c4510,_0x1c161d,_0x1bf53b){const _0x42186f=_0x29204f;super(),g(this,_0x42186f(0x435),new Set()),g(this,_0x42186f(0x496),null),(this[_0x42186f(0x2a3)]=_0x14c360,this[_0x42186f(0x2d1)]=_0x4c4510,this[_0x42186f(0x1f8)]=_0x1c161d,this[_0x42186f(0x58f)]=_0x1bf53b,this[_0x42186f(0x4ae)]());}[_0x29204f(0x4ae)](){const _0x506777=_0x29204f;this[_0x506777(0x2d1)][_0x506777(0x3b4)][_0x506777(0x457)](_0xa64c87(this[_0x506777(0x58b)]),_0x1a8fcb(_0x29edf2=>{const _0x5a2860=_0x506777;if(_0x29edf2){const _0x29f083=_0x29edf2[_0x5a2860(0x252)];return _0x55b0dc(this['_collabCursorController'][_0x5a2860(0x238)](this[_0x5a2860(0x2a3)][_0x5a2860(0x1fb)]),this[_0x5a2860(0x58f)][_0x5a2860(0x2ef)])[_0x5a2860(0x457)](_0x2057c1(([_0x26968c,_0x22e5c3])=>{const _0xf4f7a0=new Map();return _0x26968c['forEach']((_0x39933b,_0x4e59ce)=>{const _0x3506ef=_0x5d6c;if(_0x39933b[_0x3506ef(0x458)]===_0x29f083){const _0x51c323={..._0x39933b};_0x51c323['color']=_0x22e5c3[_0x39933b[_0x3506ef(0x231)]],_0xf4f7a0[_0x3506ef(0x4b7)](_0x4e59ce,_0x51c323);}}),{'skeleton':_0x29edf2,'cursors':_0xf4f7a0};}));}return _0x13a6f8({'skeleton':null,'cursors':new Map()});}))[_0x506777(0x388)](({skeleton:_0x3d452f,cursors:_0x3a4983})=>{const _0x24066c=_0x506777;this['_removeCollabCursors'](),_0x3d452f&&this[_0x24066c(0x352)](_0x3d452f,_0x3a4983);}),this[_0x506777(0x2d1)][_0x506777(0x3b4)]['subscribe'](_0x1956a9=>{const _0x15a97a=_0x506777;if(_0x1956a9==null)return;const {skeleton:_0x132c04}=_0x1956a9,{scene:_0x174a0b}=this[_0x15a97a(0x2a3)];_0x174a0b[_0x15a97a(0x476)][_0x15a97a(0x38d)](_0x164ec5(_0x2e02ca=>{const _0x1f014a=_0x15a97a;var _0x5f571b,_0x15666a;const {offsetX:_0xaea962,offsetY:_0x30be6b}=_0x2e02ca,{x:_0x50083a,y:_0x2e2a19}=_0x174a0b[_0x1f014a(0x3b1)](_0x45b5fa[_0x1f014a(0x296)]([_0xaea962,_0x30be6b])),{scaleX:_0x3056f5,scaleY:_0x4c63f3}=_0x174a0b['getAncestorScale'](),_0x2044c9=_0x174a0b[_0x1f014a(0x44d)](_0x3eef43[_0x1f014a(0x1a1)]),_0x7da898=_0x174a0b[_0x1f014a(0x4b4)](_0x45b5fa[_0x1f014a(0x296)]([_0x50083a,_0x2e2a19]),_0x2044c9),_0x57dba3=_0x132c04[_0x1f014a(0x4e8)](_0xaea962,_0x30be6b,_0x3056f5,_0x4c63f3,_0x7da898);((_0x5f571b=this[_0x1f014a(0x496)])==null?void 0x0:_0x5f571b['column'])===_0x57dba3[_0x1f014a(0x2a7)]&&((_0x15666a=this[_0x1f014a(0x496)])==null?void 0x0:_0x15666a[_0x1f014a(0x544)])===_0x57dba3['row']||this['_cursors'][_0x1f014a(0x4a0)](_0x35f33c=>{const _0x56e528=_0x1f014a;_0x35f33c[_0x56e528(0x2dc)](_0x57dba3);});},0x64));});}[_0x29204f(0x352)](_0x244061,_0x39abf3){const _0x5deb9f=_0x29204f;var _0x4f21c5;const _0x40f909=(_0x4f21c5=this[_0x5deb9f(0x2d1)]['getCurrent']())==null?void 0x0:_0x4f21c5[_0x5deb9f(0x3b3)];if(!_0x40f909)return;const _0x4cdb1d=this[_0x5deb9f(0x4ac)]();if(!_0x4cdb1d)return;this[_0x5deb9f(0x435)][_0x5deb9f(0x4a0)](_0x5ae2ff=>{_0x5ae2ff['makeDirty']();});const {scene:_0x3cc43f}=_0x4cdb1d,_0x53dd46=Zo(Array[_0x5deb9f(0x4c8)](_0x39abf3[_0x5deb9f(0x593)]()))['map'](_0x369f2e=>{const _0x700a85=_0x5deb9f,{color:_0x58b3c5,range:_0xd671da,name:_0x205433,selection:_0x28c566,sheetID:_0xb5f051}=_0x369f2e,{startColumn:_0x5764e0,startRow:_0x27d10e,endColumn:_0x4c6a3f,endRow:_0x307f48}=_0xd671da,_0x3ec24b=_0x105712(_0x27d10e,_0x5764e0,_0x3cc43f,_0x40f909),_0x2a1163=_0x105712(_0x307f48,_0x4c6a3f,_0x3cc43f,_0x40f909),{columnHeaderHeightAndMarginTop:_0x3d7bd6}=_0x40f909,{startX:_0x2ce373,startY:_0xc1616b}=_0x3ec24b,{endX:_0x3f2ce2,endY:_0x5a26aa}=_0x2a1163,_0x2b1014=_0x3f2ce2-_0x2ce373,_0x361116=_0x5a26aa-_0xc1616b,_0x1bc543={'labelPosition':_0xc1616b-_0x3d7bd6>=nt?'top':_0x700a85(0x50e),'sheetID':_0xb5f051,'range':_0xd671da,'color':_0x58b3c5,'name':_0x205433,'selection':_0x28c566,'left':_0x2ce373,'top':_0xc1616b,'width':_0x2b1014,'height':_0x361116,'evented':!0x1,'zIndex':Jo};return new Ko(_0x205433,_0x1bc543);});_0x3cc43f[_0x5deb9f(0x1a0)](_0x53dd46,Go),this[_0x5deb9f(0x435)]=new Set(_0x53dd46);}['_removeCollabCursors'](){const _0x25b9cb=_0x29204f;var _0x18c88f;(_0x18c88f=this[_0x25b9cb(0x435)])==null||_0x18c88f['forEach'](_0x520b7d=>_0x520b7d[_0x25b9cb(0x1db)]());}[_0x29204f(0x4ac)](){const _0x303512=_0x29204f;return _0x8e2227(this[_0x303512(0x2a3)][_0x303512(0x331)],this[_0x303512(0x2a3)]);}};as=Xo([kt(0x1,_0x31a227(_0x49cddf)),kt(0x2,_0x31a227(Ve)),kt(0x3,_0x31a227(_0x58d887))],as);function Zo(_0x24afc7){const _0x7980c8=_0x29204f,_0x1a6b67=new Map();return _0x24afc7[_0x7980c8(0x4a0)](_0x3e2a07=>{const _0x3f62a9=_0x7980c8;if(_0x1a6b67[_0x3f62a9(0x246)](_0x3e2a07[_0x3f62a9(0x1c5)])){const _0x44d99e=_0x1a6b67[_0x3f62a9(0x19e)](_0x3e2a07['selection']);_0x44d99e[_0x3f62a9(0x26d)]+=',\x20'+_0x3e2a07[_0x3f62a9(0x26d)];}else _0x1a6b67['set'](_0x3e2a07[_0x3f62a9(0x1c5)],_0x3e2a07);}),Array[_0x7980c8(0x4c8)](_0x1a6b67[_0x7980c8(0x593)]());}var ee=function(){return ee=Object['assign']||function(_0x21b2b3){const _0x46936d=_0x5d6c;for(var _0xe8fb0,_0x37cb3e=0x1,_0x3557f6=arguments[_0x46936d(0x2f0)];_0x37cb3e<_0x3557f6;_0x37cb3e++){_0xe8fb0=arguments[_0x37cb3e];for(var _0x384878 in _0xe8fb0)Object['prototype'][_0x46936d(0x2b4)][_0x46936d(0x321)](_0xe8fb0,_0x384878)&&(_0x21b2b3[_0x384878]=_0xe8fb0[_0x384878]);}return _0x21b2b3;},ee['apply'](this,arguments);},Qo=function(_0x33fbf3,_0x14a461){const _0x5a34c0=_0x29204f;var _0x31e2b7={};for(var _0xe10b54 in _0x33fbf3)Object[_0x5a34c0(0x559)][_0x5a34c0(0x2b4)]['call'](_0x33fbf3,_0xe10b54)&&_0x14a461[_0x5a34c0(0x3f9)](_0xe10b54)<0x0&&(_0x31e2b7[_0xe10b54]=_0x33fbf3[_0xe10b54]);if(_0x33fbf3!=null&&typeof Object[_0x5a34c0(0x34c)]=='function'){for(var _0x595008=0x0,_0xe10b54=Object[_0x5a34c0(0x34c)](_0x33fbf3);_0x595008<_0xe10b54['length'];_0x595008++)_0x14a461[_0x5a34c0(0x3f9)](_0xe10b54[_0x595008])<0x0&&Object[_0x5a34c0(0x559)][_0x5a34c0(0x3ac)][_0x5a34c0(0x321)](_0x33fbf3,_0xe10b54[_0x595008])&&(_0x31e2b7[_0xe10b54[_0x595008]]=_0x33fbf3[_0xe10b54[_0x595008]]);}return _0x31e2b7;},Ts=_0x4aa6cf(function(_0x10dee8,_0x40a47c){const _0x121cfc=_0x29204f;var _0x2c986d=_0x10dee8[_0x121cfc(0x461)],_0x5bbbc7=_0x10dee8['id'],_0x594123=_0x10dee8[_0x121cfc(0x270)],_0x9285ef=_0x10dee8[_0x121cfc(0x45e)],_0x543fce=Qo(_0x10dee8,['icon','id',_0x121cfc(0x270),_0x121cfc(0x45e)]),_0x251ba4=_0x121cfc(0x55a)['concat'](_0x5bbbc7,'\x20')[_0x121cfc(0x383)](_0x594123||'')[_0x121cfc(0x3dd)](),_0x4dc46b=_0x5ed0a5('_'[_0x121cfc(0x383)](sa()));return Mi(_0x2c986d,''[_0x121cfc(0x383)](_0x5bbbc7),{'defIds':_0x2c986d[_0x121cfc(0x1fc)],'idSuffix':_0x4dc46b[_0x121cfc(0x455)]},ee({'ref':_0x40a47c,'className':_0x251ba4},_0x543fce),_0x9285ef);});function Mi(_0x3c5e38,_0x26e43b,_0x52fc8e,_0x32593a,_0x3f520a){const _0x534524=_0x29204f;return _0x40dbfa(_0x3c5e38[_0x534524(0x3f6)],ee(ee({'key':_0x26e43b},ea(_0x3c5e38,_0x52fc8e,_0x3f520a)),_0x32593a),(ta(_0x3c5e38,_0x52fc8e)['children']||[])[_0x534524(0x43c)](function(_0x55aeb8,_0x5f0722){const _0x485075=_0x534524;return Mi(_0x55aeb8,''[_0x485075(0x383)](_0x26e43b,'-')[_0x485075(0x383)](_0x3c5e38[_0x485075(0x3f6)],'-')[_0x485075(0x383)](_0x5f0722),_0x52fc8e,void 0x0,_0x3f520a);}));}function ea(_0x38c5e2,_0x3b5d1a,_0x1a2e50){const _0x33fff2=_0x29204f;var _0x5a2f40=ee({},_0x38c5e2[_0x33fff2(0x1d5)]);_0x1a2e50!=null&&_0x1a2e50[_0x33fff2(0x4b8)]&&_0x5a2f40[_0x33fff2(0x4d1)]===_0x33fff2(0x4b8)&&(_0x5a2f40[_0x33fff2(0x4d1)]=_0x1a2e50[_0x33fff2(0x4b8)]);var _0x20e509=_0x3b5d1a[_0x33fff2(0x1fc)];return!_0x20e509||_0x20e509[_0x33fff2(0x2f0)]===0x0||(_0x38c5e2[_0x33fff2(0x3f6)]==='use'&&_0x5a2f40[_0x33fff2(0x1ce)]&&(_0x5a2f40[_0x33fff2(0x1ce)]=_0x5a2f40['xlink:href']+_0x3b5d1a[_0x33fff2(0x3de)]),Object['entries'](_0x5a2f40)['forEach'](function(_0x3bb432){const _0x3529c8=_0x33fff2;var _0x5d887d=_0x3bb432[0x0],_0x10cae4=_0x3bb432[0x1];typeof _0x10cae4==_0x3529c8(0x46f)&&(_0x5a2f40[_0x5d887d]=_0x10cae4[_0x3529c8(0x427)](/url\(#(.*)\)/,_0x3529c8(0x2de)[_0x3529c8(0x383)](_0x3b5d1a[_0x3529c8(0x3de)],')')));})),_0x5a2f40;}function ta(_0x4d76af,_0x3850e9){const _0x75285f=_0x29204f;var _0x24af09,_0xa925ff=_0x3850e9[_0x75285f(0x1fc)];return!_0xa925ff||_0xa925ff['length']===0x0?_0x4d76af:_0x4d76af[_0x75285f(0x3f6)]===_0x75285f(0x254)&&(!((_0x24af09=_0x4d76af['children'])===null||_0x24af09===void 0x0)&&_0x24af09[_0x75285f(0x2f0)])?ee(ee({},_0x4d76af),{'children':_0x4d76af['children'][_0x75285f(0x43c)](function(_0xa290dd){const _0x4d6d87=_0x75285f;return typeof _0xa290dd[_0x4d6d87(0x1d5)]['id']=='string'&&_0xa925ff&&_0xa925ff[_0x4d6d87(0x3f9)](_0xa290dd[_0x4d6d87(0x1d5)]['id'])>-0x1?ee(ee({},_0xa290dd),{'attrs':ee(ee({},_0xa290dd[_0x4d6d87(0x1d5)]),{'id':_0xa290dd[_0x4d6d87(0x1d5)]['id']+_0x3850e9[_0x4d6d87(0x3de)]})}):_0xa290dd;})}):_0x4d76af;}function sa(){const _0x377da4=_0x29204f;return Math[_0x377da4(0x1ac)]()['toString'](0x24)[_0x377da4(0x26f)](0x2,0x8);}Ts[_0x29204f(0x436)]=_0x29204f(0x2ae);var ia={'tag':_0x29204f(0x200),'attrs':{'fill':_0x29204f(0x307),'viewBox':'0\x200\x2016\x2016','width':_0x29204f(0x38f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x29204f(0x3c6)},'children':[{'tag':_0x29204f(0x595),'attrs':{'stroke':_0x29204f(0x381),'d':_0x29204f(0x33b),'strokeLinecap':'round','strokeLinejoin':_0x29204f(0x309),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x29204f(0x37c)},'children':[{'tag':'path','attrs':{'fill':_0x29204f(0x19d),'d':_0x29204f(0x494)}}]}]}],'defIds':[_0x29204f(0x37c)]},xi=_0x4aa6cf(function(_0x56f371,_0x14849b){const _0x384cc5=_0x29204f;return _0x40dbfa(Ts,Object[_0x384cc5(0x465)]({},_0x56f371,{'id':'off-line-single','ref':_0x14849b,'icon':ia}));});xi['displayName']='OffLineSingle';var na={'tag':_0x29204f(0x200),'attrs':{'fill':_0x29204f(0x307),'viewBox':_0x29204f(0x2a2),'width':_0x29204f(0x38f),'height':_0x29204f(0x38f)},'children':[{'tag':'g','attrs':{'clipPath':_0x29204f(0x32d)},'children':[{'tag':_0x29204f(0x595),'attrs':{'stroke':'currentColor','d':_0x29204f(0x3a1),'strokeLinecap':'round','strokeLinejoin':_0x29204f(0x309),'strokeWidth':1.2}}]},{'tag':_0x29204f(0x254),'attrs':{},'children':[{'tag':_0x29204f(0x272),'attrs':{'id':_0x29204f(0x2b0)},'children':[{'tag':_0x29204f(0x595),'attrs':{'fill':_0x29204f(0x19d),'d':_0x29204f(0x494),'transform':_0x29204f(0x2f8)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Li=_0x4aa6cf(function(_0x3c2e89,_0x383749){const _0x4e603b=_0x29204f;return _0x40dbfa(Ts,Object[_0x4e603b(0x465)]({},_0x3c2e89,{'id':_0x4e603b(0x393),'ref':_0x383749,'icon':na}));});Li[_0x29204f(0x436)]='OnLineSingle';function $i(_0x491a6d){const _0x452021=_0x29204f;var _0x515d3b,_0x2e3e08,_0x3a5937='';if(typeof _0x491a6d=='string'||typeof _0x491a6d==_0x452021(0x466))_0x3a5937+=_0x491a6d;else{if(typeof _0x491a6d==_0x452021(0x42d)){if(Array[_0x452021(0x212)](_0x491a6d)){var _0xddea9=_0x491a6d[_0x452021(0x2f0)];for(_0x515d3b=0x0;_0x515d3b<_0xddea9;_0x515d3b++)_0x491a6d[_0x515d3b]&&(_0x2e3e08=$i(_0x491a6d[_0x515d3b]))&&(_0x3a5937&&(_0x3a5937+='\x20'),_0x3a5937+=_0x2e3e08);}else{for(_0x2e3e08 in _0x491a6d)_0x491a6d[_0x2e3e08]&&(_0x3a5937&&(_0x3a5937+='\x20'),_0x3a5937+=_0x2e3e08);}}}return _0x3a5937;}function ra(){for(var _0x562268,_0x158778,_0x15c47a=0x0,_0x2470b7='',_0x2a7bf8=arguments['length'];_0x15c47a<_0x2a7bf8;_0x15c47a++)(_0x562268=arguments[_0x15c47a])&&(_0x158778=$i(_0x562268))&&(_0x2470b7&&(_0x2470b7+='\x20'),_0x2470b7+=_0x158778);return _0x2470b7;}const oa=_0x29204f(0x548),aa=_0x29204f(0x4da),ca='univer-online-status',ha=_0x29204f(0x2d5),la='univer-offline',Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x5089a0){const _0xb368a5=_0x29204f;switch(_0x5089a0){case J[_0xb368a5(0x557)]:return'collabStatus.offline';case J[_0xb368a5(0x3e1)]:return _0xb368a5(0x4d9);case J[_0xb368a5(0x492)]:return _0xb368a5(0x196);case J[_0xb368a5(0x442)]:return _0xb368a5(0x515);case J[_0xb368a5(0x3a6)]:case J[_0xb368a5(0x355)]:return'collabStatus.syncing';case J['SYNCED']:case J['PENDING']:return _0xb368a5(0x3aa);}}function ua(_0x408534){const _0x3313ee=_0x29204f,{status$:_0x514a60}=_0x408534,_0x28ccc4=_0x262485(_0x514a60,J['NOT_COLLAB']),_0x350e23=_0xdca07e(_0x3da7c2),_0x2e83a1=_0xdca07e(Ae),_0x81012c=_0x28ccc4!==J[_0x3313ee(0x557)],_0x59c812=_0x350e23['t'](_a(_0x28ccc4)),_0x31e32d=ra(Ze[_0x3313ee(0x1d2)],{[Ze['online']]:_0x81012c,[Ze[_0x3313ee(0x234)]]:!_0x81012c}),_0xa812fa=_0x81012c?_0x2f9e0b[_0x3313ee(0x4d0)](Li,null):_0x2f9e0b[_0x3313ee(0x4d0)](xi,null),_0x5bbad8=_0x198b7e(()=>{const _0x3b5e44=_0x3313ee;_0x81012c||_0x2e83a1[_0x3b5e44(0x341)]();},[_0x81012c,_0x2e83a1]);function _0x21c5fc(){const _0x5471fc=_0x3313ee;return _0x2f9e0b[_0x5471fc(0x4d0)](_0x5471fc(0x2fe),{'className':_0x31e32d,'onClick':_0x5bbad8},_0x2f9e0b['createElement'](_0x5471fc(0x2fe),{'className':Ze[_0x5471fc(0x1e6)]},_0xa812fa),_0x2f9e0b[_0x5471fc(0x4d0)](_0x5471fc(0x2fe),{'className':Ze['onlineStatusTitle']},_0x59c812));}return _0x81012c?_0x21c5fc():_0x2f9e0b['createElement'](_0x5abc1a,{'title':_0x350e23['t'](_0x3313ee(0x356))},_0x21c5fc());}var da=Object['defineProperty'],fa=Object[_0x29204f(0x424)],va=(_0x2bf6f0,_0x3ed487,_0x4d597c,_0x5bcd9e)=>{const _0x19a627=_0x29204f;for(var _0x3ed932=_0x5bcd9e>0x1?void 0x0:_0x5bcd9e?fa(_0x3ed487,_0x4d597c):_0x3ed487,_0x24d59b=_0x2bf6f0[_0x19a627(0x2f0)]-0x1,_0x4cef2f;_0x24d59b>=0x0;_0x24d59b--)(_0x4cef2f=_0x2bf6f0[_0x24d59b])&&(_0x3ed932=(_0x5bcd9e?_0x4cef2f(_0x3ed487,_0x4d597c,_0x3ed932):_0x4cef2f(_0x3ed932))||_0x3ed932);return _0x5bcd9e&&_0x3ed932&&da(_0x3ed487,_0x4d597c,_0x3ed932),_0x3ed932;},lt=(_0x3b5d8f,_0x46eacd)=>(_0x2ae310,_0x5a6db4)=>_0x46eacd(_0x2ae310,_0x5a6db4,_0x3b5d8f);let It=class extends _0x2a7347{constructor(_0x35c295,_0x3c228e,_0x75deec,_0x1b413f){const _0x2a00c5=_0x29204f;super(),g(this,_0x2a00c5(0x325),new _0x4d53e2(J[_0x2a00c5(0x442)])),(this['_univerInstanceService']=_0x35c295,this[_0x2a00c5(0x285)]=_0x3c228e,this[_0x2a00c5(0x501)]=_0x75deec,this[_0x2a00c5(0x21e)]=_0x1b413f,this[_0x2a00c5(0x583)](),this[_0x2a00c5(0x32c)]());}['_initStatusListener'](){const _0x223940=_0x29204f;this[_0x223940(0x1ba)](this[_0x223940(0x472)]['focused$'][_0x223940(0x457)](_0x481a9a(()=>{const _0x3abdbc=_0x223940,_0x3001b1=this[_0x3abdbc(0x472)][_0x3abdbc(0x48b)]();return _0x3001b1?this[_0x3abdbc(0x21e)][_0x3abdbc(0x2b1)](_0x3001b1[_0x3abdbc(0x335)]()):_0x13a6f8(null);}),_0x481a9a(_0x598c73=>_0x598c73?_0x598c73['status$']:_0x13a6f8(J[_0x223940(0x442)])))['subscribe'](_0x429473=>{const _0x4c6c19=_0x223940;this[_0x4c6c19(0x325)][_0x4c6c19(0x27a)](_0x429473);}));}[_0x29204f(0x583)](){const _0x3a5d60=_0x29204f;this[_0x3a5d60(0x1ba)](this[_0x3a5d60(0x285)][_0x3a5d60(0x232)](_0x28b09b['HEADER_MENU'],()=>_0xe78903(ma({'status$':this[_0x3a5d60(0x325)][_0x3a5d60(0x1eb)]()}),this[_0x3a5d60(0x501)])));}};It=va([lt(0x0,_0x1a11e5),lt(0x1,_0x239135),lt(0x2,_0x31a227(_0x3ada64)),lt(0x3,_0x31a227(it))],It);function ma(_0x52ea90){const {status$:_0x22ccb4}=_0x52ea90;return function(){const _0x41b078=_0x5d6c;return _0x2f9e0b[_0x41b078(0x4d0)](ua,{'status$':_0x22ccb4});};}const Hi=_0x230979(_0x29204f(0x426));var pa=Object[_0x29204f(0x51a)],ga=Object[_0x29204f(0x424)],Sa=(_0x43cb66,_0x322a0b,_0x1fd261,_0x203eef)=>{const _0x405b53=_0x29204f;for(var _0x5084d7=_0x203eef>0x1?void 0x0:_0x203eef?ga(_0x322a0b,_0x1fd261):_0x322a0b,_0xc46987=_0x43cb66[_0x405b53(0x2f0)]-0x1,_0x24dc76;_0xc46987>=0x0;_0xc46987--)(_0x24dc76=_0x43cb66[_0xc46987])&&(_0x5084d7=(_0x203eef?_0x24dc76(_0x322a0b,_0x1fd261,_0x5084d7):_0x24dc76(_0x5084d7))||_0x5084d7);return _0x203eef&&_0x5084d7&&pa(_0x322a0b,_0x1fd261,_0x5084d7),_0x5084d7;},ke=(_0x13568f,_0x583e6d)=>(_0x4c1097,_0x12449a)=>_0x583e6d(_0x4c1097,_0x12449a,_0x13568f);let Ct=class extends _0x3823d2{constructor(_0x30ea7c,_0x559bf4,_0x1f3adc,_0x4ed5cf,_0x8b81db,_0x171227){const _0x2f2fbd=_0x29204f;super(),this[_0x2f2fbd(0x308)]=_0x30ea7c,this[_0x2f2fbd(0x1a4)]=_0x559bf4,this[_0x2f2fbd(0x3da)]=_0x1f3adc,this[_0x2f2fbd(0x319)]=_0x4ed5cf,this['_snapshotService']=_0x8b81db,_0x171227?_0x171227==null||_0x171227[_0x2f2fbd(0x1aa)]()[_0x2f2fbd(0x1f4)](()=>this['_init']()):(this[_0x2f2fbd(0x1a4)]['debug'](_0x2f2fbd(0x1fe),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2f2fbd(0x4ae)]());}async[_0x29204f(0x4ae)](){const _0x5515e3=_0x29204f,_0x490e31=this[_0x5515e3(0x308)][_0x5515e3(0x4c5)](_0x5515e3(0x331)),_0x3fd067=this['_urlService']['getParam'](_0x5515e3(0x267));if(!_0x490e31||!_0x3fd067){this[_0x5515e3(0x1a4)]['debug'](_0x5515e3(0x1fe),_0x5515e3(0x409));return;}switch(Number(_0x3fd067)){case ce['UNIVER_SHEET']:{const _0x4c2919=await this[_0x5515e3(0x478)](_0x490e31);this['_setupSubUnitSync'](_0x4c2919);break;}case ce['UNIVER_DOC']:{await this[_0x5515e3(0x441)](_0x490e31);break;}default:{this[_0x5515e3(0x1a4)][_0x5515e3(0x5a3)]('[DataLoaderController]',_0x5515e3(0x263));break;}}}async[_0x29204f(0x4f7)](_0x5ec3da){const _0x4d4812=_0x29204f;await this[_0x4d4812(0x33f)](_0x5ec3da),_0x5ec3da[_0x4d4812(0x4cd)][_0x4d4812(0x457)](_0x4b7102(this[_0x4d4812(0x58b)]))[_0x4d4812(0x388)](_0x41eded=>{const _0x38ca24=_0x4d4812;_0x41eded&&this[_0x38ca24(0x433)](_0x41eded);}),this[_0x4d4812(0x308)][_0x4d4812(0x368)][_0x4d4812(0x457)](_0x4b7102(this[_0x4d4812(0x58b)]))[_0x4d4812(0x388)](()=>this[_0x4d4812(0x33f)](_0x5ec3da));}[_0x29204f(0x433)](_0x44cc63,_0x5e9334=!0x1){const _0x38442a=_0x29204f,_0x320956=this[_0x38442a(0x308)][_0x38442a(0x4c5)](_0x38442a(0x369));_0x44cc63[_0x38442a(0x316)]()!==_0x320956&&this[_0x38442a(0x308)][_0x38442a(0x375)](_0x38442a(0x369),_0x44cc63[_0x38442a(0x316)](),_0x5e9334);}async[_0x29204f(0x33f)](_0xbef545){const _0x25f44c=_0x29204f;var _0x18dba1;const _0x413719=this['_urlService'][_0x25f44c(0x4c5)](_0x25f44c(0x369));if(!_0x413719||!_0xbef545[_0x25f44c(0x51b)](_0x413719)){const _0x59b088=_0xbef545[_0x25f44c(0x3bb)]()[0x0],_0x1acf28=_0xbef545[_0x25f44c(0x51b)](_0x59b088);if(!_0x1acf28)return;this['_updateURLWithCurrentState'](_0x1acf28,!0x0),await this[_0x25f44c(0x3da)][_0x25f44c(0x1a5)](_0x3021b5['id'],{'unitId':_0xbef545[_0x25f44c(0x335)](),'subUnitId':_0x59b088});return;}((_0x18dba1=_0xbef545[_0x25f44c(0x52d)]())==null?void 0x0:_0x18dba1['getSheetId']())!==_0x413719&&await this[_0x25f44c(0x3da)][_0x25f44c(0x1a5)](_0x3021b5['id'],{'unitId':_0xbef545['getUnitId'](),'subUnitId':_0x413719});}async[_0x29204f(0x478)](_0x185c20){const _0x177113=_0x29204f;let _0x1cef2a=0x0;const _0x31157c=await this[_0x177113(0x319)][_0x177113(0x43e)](_0x185c20);return _0x31157c&&(_0x31157c[_0x177113(0x34a)]||_0x31157c['mutations'][_0x177113(0x2f0)]!==0x0)&&(_0x1cef2a=_0x31157c[_0x177113(0x323)]),_0x1cef2a===0x0&&this['_logService']['debug'](_0x177113(0x1fe),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x177113(0x4ea)][_0x177113(0x45f)](_0x185c20,_0x1cef2a);}async[_0x29204f(0x441)](_0x537507){const _0x53edb2=_0x29204f;let _0x3d5b77=0x0;const _0x3e34e8=await this[_0x53edb2(0x319)]['loadOfflineData'](_0x537507);return _0x3e34e8&&(_0x3e34e8[_0x53edb2(0x34a)]||_0x3e34e8[_0x53edb2(0x1b7)][_0x53edb2(0x2f0)]!==0x0)&&(_0x3d5b77=_0x3e34e8[_0x53edb2(0x323)]),_0x3d5b77===0x0&&this[_0x53edb2(0x1a4)]['debug'](_0x53edb2(0x1fe),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x53edb2(0x4ea)]['loadDoc'](_0x537507,_0x3d5b77);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x15baf7),ke(0x2,_0x1f9396),ke(0x3,_0x31a227(q)),ke(0x4,_0x31a227(_0x1e5978)),ke(0x5,_0x2fdd6d(_0x541ff8))],Ct);var Ia=Object[_0x29204f(0x51a)],Ca=Object[_0x29204f(0x424)],Ea=(_0x1ba064,_0x4646f0,_0x225a5d,_0x3e4e7e)=>{const _0x366ba4=_0x29204f;for(var _0x3fb6d8=_0x3e4e7e>0x1?void 0x0:_0x3e4e7e?Ca(_0x4646f0,_0x225a5d):_0x4646f0,_0x25861b=_0x1ba064[_0x366ba4(0x2f0)]-0x1,_0x42e5b4;_0x25861b>=0x0;_0x25861b--)(_0x42e5b4=_0x1ba064[_0x25861b])&&(_0x3fb6d8=(_0x3e4e7e?_0x42e5b4(_0x4646f0,_0x225a5d,_0x3fb6d8):_0x42e5b4(_0x3fb6d8))||_0x3fb6d8);return _0x3e4e7e&&_0x3fb6d8&&Ia(_0x4646f0,_0x225a5d,_0x3fb6d8),_0x3fb6d8;},zs=(_0x351f2e,_0x1241bd)=>(_0x53919a,_0x2d62fe)=>_0x1241bd(_0x53919a,_0x2d62fe,_0x351f2e);const ba=_0x29204f(0x4ff),Ta='Univer';let Et=class extends _0x2a7347{constructor(_0x71c57e,_0x22a464){const _0xbd09cd=_0x29204f;super(),this[_0xbd09cd(0x472)]=_0x71c57e,this[_0xbd09cd(0x2d6)]=_0x22a464,this[_0xbd09cd(0x4ae)]();}[_0x29204f(0x4ae)](){const _0x16e537=_0x29204f;this['disposeWithMe'](this[_0x16e537(0x472)][_0x16e537(0x3bf)][_0x16e537(0x388)](()=>{const _0x138bb3=_0x16e537;var _0x16580e;const _0x5670d3=this['_univerInstanceService'][_0x138bb3(0x48b)]();let _0x54e708=(_0x16580e=this[_0x138bb3(0x2d6)][_0x138bb3(0x4c3)](ba))!=null?_0x16580e:Ta;_0x5670d3 instanceof _0x343a21&&(_0x54e708=_0x5670d3[_0x138bb3(0x26d)]),document[_0x138bb3(0x256)]=_0x54e708;}));}};Et=Ea([zs(0x0,_0x1a11e5),zs(0x1,_0x1d1963)],Et);var Ra=Object[_0x29204f(0x51a)],ya=Object[_0x29204f(0x424)],Oa=(_0x37ae90,_0x149719,_0x57b609,_0x12354f)=>{const _0x538bac=_0x29204f;for(var _0x1b8ba6=_0x12354f>0x1?void 0x0:_0x12354f?ya(_0x149719,_0x57b609):_0x149719,_0x445527=_0x37ae90[_0x538bac(0x2f0)]-0x1,_0x51ff20;_0x445527>=0x0;_0x445527--)(_0x51ff20=_0x37ae90[_0x445527])&&(_0x1b8ba6=(_0x12354f?_0x51ff20(_0x149719,_0x57b609,_0x1b8ba6):_0x51ff20(_0x1b8ba6))||_0x1b8ba6);return _0x12354f&&_0x1b8ba6&&Ra(_0x149719,_0x57b609,_0x1b8ba6),_0x1b8ba6;},Wt=(_0x509f7e,_0x282440)=>(_0x45a4b5,_0x3ff789)=>_0x282440(_0x45a4b5,_0x3ff789,_0x509f7e);let bt=class{constructor(_0x3a560c,_0x8c3033,_0x10cea9){const _0x24ece1=_0x29204f;this[_0x24ece1(0x2d6)]=_0x3a560c,this['_httpService']=_0x8c3033,this[_0x24ece1(0x247)]=_0x10cea9,this[_0x24ece1(0x195)]();}[_0x29204f(0x195)](){const _0x58535d=_0x29204f;this[_0x58535d(0x3ef)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x56cfeb,_0x464b5a)=>_0x464b5a(_0x56cfeb)[_0x58535d(0x457)](_0x3c2036(async _0x1711ea=>{const _0x57a6af=_0x58535d,_0x4c9f7a=_0x1711ea;if(_0x4c9f7a['status']===0x191&&window[_0x57a6af(0x541)](this[_0x57a6af(0x247)]['t'](_0x57a6af(0x2e1)))){const _0x2235d2=window[_0x57a6af(0x209)](window[_0x57a6af(0x400)][_0x57a6af(0x438)]);window[_0x57a6af(0x400)][_0x57a6af(0x438)]=this[_0x57a6af(0x289)]()+_0x57a6af(0x507)+_0x2235d2;}return _0x4c9f7a;}))});}['_getLoginPath'](){const _0x1988eb=_0x29204f;var _0xd3b78f,_0x3a0040;const _0x17dcec=this[_0x1988eb(0x2d6)]['getConfig'](Ir),_0x39565d=this[_0x1988eb(0x2d6)][_0x1988eb(0x4c3)](ie);return(_0x3a0040=(_0xd3b78f=_0x39565d==null?void 0x0:_0x39565d[_0x1988eb(0x4d8)])!=null?_0xd3b78f:_0x17dcec)!=null?_0x3a0040:Cr;}};bt=Oa([Wt(0x0,_0x1d1963),Wt(0x1,_0x31a227(_0x6042f)),Wt(0x2,_0x31a227(_0x3da7c2))],bt);var wa=Object[_0x29204f(0x51a)],Da=Object[_0x29204f(0x424)],Pa=(_0x409087,_0x61b9fc,_0xf1189,_0x6096e5)=>{for(var _0x2a228a=_0x6096e5>0x1?void 0x0:_0x6096e5?Da(_0x61b9fc,_0xf1189):_0x61b9fc,_0x24cbbe=_0x409087['length']-0x1,_0x496fa9;_0x24cbbe>=0x0;_0x24cbbe--)(_0x496fa9=_0x409087[_0x24cbbe])&&(_0x2a228a=(_0x6096e5?_0x496fa9(_0x61b9fc,_0xf1189,_0x2a228a):_0x496fa9(_0x2a228a))||_0x2a228a);return _0x6096e5&&_0x2a228a&&wa(_0x61b9fc,_0xf1189,_0x2a228a),_0x2a228a;},qs=(_0x46889d,_0x543030)=>(_0x4ef620,_0x5e400b)=>_0x543030(_0x4ef620,_0x5e400b,_0x46889d);const Ua=_0x29204f(0x2cf),Na=_0x29204f(0x509);let cs=class extends _0x2a7347{constructor(_0x5eb509,_0x18cdf2){const _0x1be65f=_0x29204f;super(),this[_0x1be65f(0x482)]=_0x5eb509,this[_0x1be65f(0x2d6)]=_0x18cdf2,this[_0x1be65f(0x1f2)]();}[_0x29204f(0x1f2)](){const _0x2e9a05=_0x29204f,_0x206592=this;this['disposeWithMe'](this[_0x2e9a05(0x482)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x817fd0({'isMatch'(_0x913caa){const _0x487053=_0x2e9a05;var _0x2b8e42;if(_0x913caa[_0x487053(0x407)]===_0x487053(0x439)&&((_0x2b8e42=_0x913caa[_0x487053(0x206)])!=null&&_0x2b8e42[_0x487053(0x269)])){const {objectID:_0x1339f1,objectType:_0x2c14a4}=_0x913caa[_0x487053(0x206)][_0x487053(0x269)]||{};if(!_0x1339f1||_0x2c14a4===void 0x0)return!0x1;const _0x5864f2=_0x206592[_0x487053(0x342)]()+'/'+_0x2c14a4+_0x487053(0x45a)+_0x1339f1+_0x487053(0x32e);if(_0x913caa[_0x487053(0x48c)]===_0x5864f2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5daa4e){const _0x4a8d01=_0x2e9a05;var _0x290897;return(_0x290897=_0x5daa4e[_0x4a8d01(0x206)])==null?void 0x0:_0x290897[_0x4a8d01(0x269)];},'mergeParamsToRequest'(_0x24cb6f,_0x1e933d){const _0x213474=_0x2e9a05,_0x45aed7=_0x206592[_0x213474(0x342)]()+'/-/object/-/batch_allowed',_0x4ae4a2=_0x24cb6f[_0x213474(0x421)]((_0xa0bd61,_0x2c03fc)=>{const _0x55638d=_0x213474,{unitID:_0x559d4e,objectID:_0xc629d5,objectType:_0x112186,actions:_0x549982}=_0x2c03fc;return _0xa0bd61[_0x559d4e]||(_0xa0bd61[_0x559d4e]={}),_0xa0bd61[_0x559d4e][_0xc629d5]||(_0xa0bd61[_0x559d4e][_0xc629d5]={'objectID':_0xc629d5,'objectType':_0x112186,'actions':[]}),_0xa0bd61[_0x559d4e][_0xc629d5][_0x55638d(0x40f)]['push'](..._0x549982),_0xa0bd61;},{}),_0x42393f=[];for(const _0x4dcb90 in _0x4ae4a2)for(const _0x40898d in _0x4ae4a2[_0x4dcb90]){const {actions:_0x565654,objectType:_0x368ccf}=_0x4ae4a2[_0x4dcb90][_0x40898d],_0x3898f5=[...new Set(_0x565654)];_0x42393f[_0x213474(0x523)]({'unitID':_0x4dcb90,'objectID':_0x40898d,'objectType':_0x368ccf,'actions':_0x3898f5});}return new _0x3eebe9(_0x213474(0x439),_0x45aed7,{'headers':_0x1e933d[_0x213474(0x419)],'withCredentials':_0x1e933d['withCredentials'],'responseType':_0x1e933d[_0x213474(0x529)],'body':{'requests':_0x42393f}});}},{'distributeResult'(_0x30ca69,_0x16b5eb){const {objectActions:_0x3041c3}=_0x30ca69;return _0x16b5eb['map'](_0x18839a=>{const _0x5d38b4=_0x5d6c,{unitID:_0x2a106d,objectID:_0x145374,actions:_0x5c2957}=_0x18839a,_0x5883fd=_0x3041c3['find'](_0x383790=>_0x383790[_0x5d38b4(0x4a6)]===_0x2a106d&&_0x383790['objectID']===_0x145374),_0x1719bf=_0x5c2957[_0x5d38b4(0x43c)](_0xd3ce9c=>_0x5883fd==null?void 0x0:_0x5883fd[_0x5d38b4(0x40f)]['find'](_0x6e8a59=>_0x6e8a59['action']===_0xd3ce9c))[_0x5d38b4(0x279)](_0x35ee87=>!!_0x35ee87);return{'config':_0x18839a,'result':{'actions':_0x1719bf,'error':_0x30ca69[_0x5d38b4(0x5a3)]}};});}})}));}[_0x29204f(0x342)](){const _0x1a54d3=_0x29204f;var _0x5a2583,_0x2e56bd;const _0x4bd2c7=this['_configService'][_0x1a54d3(0x4c3)](Ua),_0x39b726=this[_0x1a54d3(0x2d6)]['getConfig'](ie);return(_0x2e56bd=(_0x5a2583=_0x39b726==null?void 0x0:_0x39b726[_0x1a54d3(0x555)])!=null?_0x5a2583:_0x4bd2c7)!=null?_0x2e56bd:Na;}async[_0x29204f(0x3c9)](_0x4fa9d1){const _0x232a1f=_0x29204f,_0x5236fc=this[_0x232a1f(0x342)]()+'/'+_0x4fa9d1[_0x232a1f(0x2c4)]+_0x232a1f(0x3c2);return(await this[_0x232a1f(0x482)][_0x232a1f(0x550)](_0x5236fc,{'body':_0x4fa9d1}))[_0x232a1f(0x269)][_0x232a1f(0x283)]||'';}async[_0x29204f(0x59e)](_0x48780f){const _0x523204=_0x29204f,_0x28da31=this[_0x523204(0x342)]()+_0x523204(0x545);return(await this[_0x523204(0x482)][_0x523204(0x550)](_0x28da31,{'body':_0x48780f}))[_0x523204(0x269)]['objects'];}async[_0x29204f(0x2c8)](_0x194ce3){const _0xa8871c=_0x29204f,_0x2470cd=this['_getAPIPrefixPath']()+'/'+_0x194ce3[_0xa8871c(0x2c4)]+_0xa8871c(0x45a)+_0x194ce3[_0xa8871c(0x283)];await this[_0xa8871c(0x482)]['put'](_0x2470cd,{'body':_0x194ce3});}async[_0x29204f(0x2d7)](_0xefbfdb){const _0x4fd728=_0x29204f,_0x584bb6=this[_0x4fd728(0x342)]()+'/'+_0xefbfdb['objectType']+_0x4fd728(0x45a)+_0xefbfdb[_0x4fd728(0x283)]+_0x4fd728(0x32e);return(await this[_0x4fd728(0x482)][_0x4fd728(0x550)](_0x584bb6,{'body':_0xefbfdb}))[_0x4fd728(0x269)]['actions'];}async[_0x29204f(0x54b)](_0x40dfb9){const _0x4391bd=_0x29204f,_0x20647b=this['_getAPIPrefixPath']()+_0x4391bd(0x410);return(await this['_HTTPService'][_0x4391bd(0x550)](_0x20647b,{'body':{'requests':_0x40dfb9}}))[_0x4391bd(0x269)][_0x4391bd(0x1ff)];}async[_0x29204f(0x3ab)](_0x2b38e6){const _0x18a083=_0x29204f,_0x1b0335=this['_getAPIPrefixPath']()+'/'+_0x2b38e6[_0x18a083(0x2c4)]+_0x18a083(0x41f),_0x58dd42=await this[_0x18a083(0x482)][_0x18a083(0x550)](_0x1b0335,{'body':_0x2b38e6});return{'roles':_0x58dd42[_0x18a083(0x269)][_0x18a083(0x240)],'actions':_0x58dd42['body']['actions']};}async[_0x29204f(0x1fd)](_0x240a70){const _0x262afe=_0x29204f,_0x2a7dc3=this[_0x262afe(0x342)]()+_0x262afe(0x4d2);await this[_0x262afe(0x482)][_0x262afe(0x204)](_0x2a7dc3,{'params':{'collaboratorID':_0x240a70['collaboratorID'],'objectID':_0x240a70['objectID'],'unitID':_0x240a70[_0x262afe(0x4a6)]}});}async[_0x29204f(0x592)](_0x56000e){const _0x40e16b=_0x29204f,_0x5333fe=this[_0x40e16b(0x342)]()+_0x40e16b(0x4d2);await this[_0x40e16b(0x482)]['patch'](_0x5333fe,{'body':_0x56000e});}async[_0x29204f(0x4e0)](_0x2ab638){const _0xc7a296=_0x29204f,_0x5509a7=this[_0xc7a296(0x342)]()+_0xc7a296(0x4d2);await this[_0xc7a296(0x482)][_0xc7a296(0x550)](_0x5509a7,{'body':_0x2ab638});}async[_0x29204f(0x2a9)](_0x2cca98){const _0x5d1106=_0x29204f,_0x2b4bb7=this[_0x5d1106(0x342)]()+_0x5d1106(0x4d2);return(await this['_HTTPService'][_0x5d1106(0x19e)](_0x2b4bb7,{'params':{'objectID':_0x2cca98[_0x5d1106(0x283)],'unitID':_0x2cca98[_0x5d1106(0x4a6)]}}))['body'][_0x5d1106(0x448)];}async[_0x29204f(0x1c1)](_0x32697f){const _0x4f2227=_0x29204f,_0x488641=this[_0x4f2227(0x342)]()+'/collaborator';await this[_0x4f2227(0x482)][_0x4f2227(0x28e)](_0x488641,{'body':_0x32697f});}};cs=Pa([qs(0x0,_0x31a227(_0x6042f)),qs(0x1,_0x31a227(_0x1d1963))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x32239a){const _0x13d86c=_0x29204f;return _0x32239a&&_0x32239a['__esModule']&&Object[_0x13d86c(0x559)][_0x13d86c(0x2b4)][_0x13d86c(0x321)](_0x32239a,_0x13d86c(0x358))?_0x32239a[_0x13d86c(0x358)]:_0x32239a;}var ji={'exports':{}};function Aa(_0x108b2a){const _0x24f4c6=_0x29204f;throw new Error(_0x24f4c6(0x468)+_0x108b2a+_0x24f4c6(0x417));}var Ft={'exports':{}},Xs;function ue(){const _0x725856=_0x29204f;return Xs||(Xs=0x1,function(_0x29ad5c,_0x266c6c){(function(_0x31b6bf,_0x545710){const _0x259c01=_0x5d6c;_0x29ad5c[_0x259c01(0x58c)]=_0x545710();}(Z,function(){var _0x54c19a=_0x54c19a||function(_0x22cc1e,_0x472f43){const _0x417231=_0x5d6c;var _0x4217e3;if(typeof window<'u'&&window[_0x417231(0x49d)]&&(_0x4217e3=window[_0x417231(0x49d)]),typeof self<'u'&&self['crypto']&&(_0x4217e3=self['crypto']),typeof globalThis<'u'&&globalThis[_0x417231(0x49d)]&&(_0x4217e3=globalThis[_0x417231(0x49d)]),!_0x4217e3&&typeof window<'u'&&window['msCrypto']&&(_0x4217e3=window[_0x417231(0x4ba)]),!_0x4217e3&&typeof Z<'u'&&Z[_0x417231(0x49d)]&&(_0x4217e3=Z[_0x417231(0x49d)]),!_0x4217e3&&typeof Aa=='function')try{_0x4217e3=require(_0x417231(0x49d));}catch{}var _0x48053c=function(){const _0x309da5=_0x417231;if(_0x4217e3){if(typeof _0x4217e3[_0x309da5(0x229)]=='function')try{return _0x4217e3[_0x309da5(0x229)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4217e3['randomBytes']==_0x309da5(0x1c3))try{return _0x4217e3[_0x309da5(0x2a8)](0x4)[_0x309da5(0x58a)]();}catch{}}throw new Error(_0x309da5(0x4cf));},_0x57b055=Object[_0x417231(0x3c9)]||(function(){function _0x542272(){}return function(_0x1c81ef){const _0xcbfeda=_0x5d6c;var _0x491a38;return _0x542272[_0xcbfeda(0x559)]=_0x1c81ef,_0x491a38=new _0x542272(),_0x542272[_0xcbfeda(0x559)]=null,_0x491a38;};}()),_0x3aa591={},_0x5397e4=_0x3aa591[_0x417231(0x380)]={},_0x4dce77=_0x5397e4[_0x417231(0x538)]=(function(){return{'extend':function(_0x41c621){const _0x535a77=_0x5d6c;var _0x5a97fd=_0x57b055(this);return _0x41c621&&_0x5a97fd[_0x535a77(0x4aa)](_0x41c621),(!_0x5a97fd[_0x535a77(0x2b4)]('init')||this[_0x535a77(0x195)]===_0x5a97fd[_0x535a77(0x195)])&&(_0x5a97fd[_0x535a77(0x195)]=function(){const _0x52e99a=_0x535a77;_0x5a97fd[_0x52e99a(0x35c)][_0x52e99a(0x195)][_0x52e99a(0x304)](this,arguments);}),_0x5a97fd[_0x535a77(0x195)][_0x535a77(0x559)]=_0x5a97fd,_0x5a97fd[_0x535a77(0x35c)]=this,_0x5a97fd;},'create':function(){const _0x4ec6fc=_0x5d6c;var _0x490159=this[_0x4ec6fc(0x45e)]();return _0x490159[_0x4ec6fc(0x195)][_0x4ec6fc(0x304)](_0x490159,arguments),_0x490159;},'init':function(){},'mixIn':function(_0xa5a511){const _0x36ada1=_0x5d6c;for(var _0x439fa5 in _0xa5a511)_0xa5a511['hasOwnProperty'](_0x439fa5)&&(this[_0x439fa5]=_0xa5a511[_0x439fa5]);_0xa5a511[_0x36ada1(0x2b4)](_0x36ada1(0x1b5))&&(this[_0x36ada1(0x1b5)]=_0xa5a511[_0x36ada1(0x1b5)]);},'clone':function(){const _0x1421d9=_0x5d6c;return this[_0x1421d9(0x195)][_0x1421d9(0x559)]['extend'](this);}};}()),_0x105702=_0x5397e4[_0x417231(0x4c6)]=_0x4dce77[_0x417231(0x45e)]({'init':function(_0x3aab2b,_0x462932){const _0x450804=_0x417231;_0x3aab2b=this[_0x450804(0x339)]=_0x3aab2b||[],_0x462932!=_0x472f43?this[_0x450804(0x21a)]=_0x462932:this['sigBytes']=_0x3aab2b[_0x450804(0x2f0)]*0x4;},'toString':function(_0x25a14c){const _0x48bcb2=_0x417231;return(_0x25a14c||_0x15e5f3)[_0x48bcb2(0x4bf)](this);},'concat':function(_0x628306){const _0x3f8186=_0x417231;var _0x1cc2e0=this[_0x3f8186(0x339)],_0x27cd83=_0x628306[_0x3f8186(0x339)],_0x362111=this[_0x3f8186(0x21a)],_0x2e3b89=_0x628306['sigBytes'];if(this[_0x3f8186(0x40c)](),_0x362111%0x4)for(var _0x9e50af=0x0;_0x9e50af<_0x2e3b89;_0x9e50af++){var _0xfe2c5c=_0x27cd83[_0x9e50af>>>0x2]>>>0x18-_0x9e50af%0x4*0x8&0xff;_0x1cc2e0[_0x362111+_0x9e50af>>>0x2]|=_0xfe2c5c<<0x18-(_0x362111+_0x9e50af)%0x4*0x8;}else{for(var _0x4e92f7=0x0;_0x4e92f7<_0x2e3b89;_0x4e92f7+=0x4)_0x1cc2e0[_0x362111+_0x4e92f7>>>0x2]=_0x27cd83[_0x4e92f7>>>0x2];}return this[_0x3f8186(0x21a)]+=_0x2e3b89,this;},'clamp':function(){const _0x173445=_0x417231;var _0x10c9da=this[_0x173445(0x339)],_0x11c0a5=this[_0x173445(0x21a)];_0x10c9da[_0x11c0a5>>>0x2]&=0xffffffff<<0x20-_0x11c0a5%0x4*0x8,_0x10c9da[_0x173445(0x2f0)]=_0x22cc1e[_0x173445(0x260)](_0x11c0a5/0x4);},'clone':function(){const _0x551367=_0x417231;var _0x19eebf=_0x4dce77[_0x551367(0x521)][_0x551367(0x321)](this);return _0x19eebf[_0x551367(0x339)]=this['words']['slice'](0x0),_0x19eebf;},'random':function(_0x58aca1){const _0x50b81e=_0x417231;for(var _0x39c7e6=[],_0x3b1eab=0x0;_0x3b1eab<_0x58aca1;_0x3b1eab+=0x4)_0x39c7e6[_0x50b81e(0x523)](_0x48053c());return new _0x105702[(_0x50b81e(0x195))](_0x39c7e6,_0x58aca1);}}),_0x116f8c=_0x3aa591[_0x417231(0x197)]={},_0x15e5f3=_0x116f8c['Hex']={'stringify':function(_0x33da5a){const _0x42a278=_0x417231;for(var _0x3b3594=_0x33da5a[_0x42a278(0x339)],_0x3b7e26=_0x33da5a[_0x42a278(0x21a)],_0x32fe0d=[],_0xe8a012=0x0;_0xe8a012<_0x3b7e26;_0xe8a012++){var _0x5e1bc9=_0x3b3594[_0xe8a012>>>0x2]>>>0x18-_0xe8a012%0x4*0x8&0xff;_0x32fe0d[_0x42a278(0x523)]((_0x5e1bc9>>>0x4)[_0x42a278(0x1b5)](0x10)),_0x32fe0d['push']((_0x5e1bc9&0xf)[_0x42a278(0x1b5)](0x10));}return _0x32fe0d['join']('');},'parse':function(_0xfd082){const _0x2b3e1c=_0x417231;for(var _0x23200d=_0xfd082['length'],_0x221224=[],_0x328d1c=0x0;_0x328d1c<_0x23200d;_0x328d1c+=0x2)_0x221224[_0x328d1c>>>0x3]|=parseInt(_0xfd082['substr'](_0x328d1c,0x2),0x10)<<0x18-_0x328d1c%0x8*0x4;return new _0x105702[(_0x2b3e1c(0x195))](_0x221224,_0x23200d/0x2);}},_0x51a469=_0x116f8c[_0x417231(0x3f5)]={'stringify':function(_0x4367a3){const _0x4c3caa=_0x417231;for(var _0x58f929=_0x4367a3[_0x4c3caa(0x339)],_0x19b6cc=_0x4367a3[_0x4c3caa(0x21a)],_0x252909=[],_0x27270c=0x0;_0x27270c<_0x19b6cc;_0x27270c++){var _0x4fa6e5=_0x58f929[_0x27270c>>>0x2]>>>0x18-_0x27270c%0x4*0x8&0xff;_0x252909[_0x4c3caa(0x523)](String['fromCharCode'](_0x4fa6e5));}return _0x252909[_0x4c3caa(0x39d)]('');},'parse':function(_0xeaf1de){const _0x515dbd=_0x417231;for(var _0x2d990b=_0xeaf1de[_0x515dbd(0x2f0)],_0x4b2802=[],_0x368b6b=0x0;_0x368b6b<_0x2d990b;_0x368b6b++)_0x4b2802[_0x368b6b>>>0x2]|=(_0xeaf1de[_0x515dbd(0x4e2)](_0x368b6b)&0xff)<<0x18-_0x368b6b%0x4*0x8;return new _0x105702[(_0x515dbd(0x195))](_0x4b2802,_0x2d990b);}},_0x5defe3=_0x116f8c[_0x417231(0x3e9)]={'stringify':function(_0x56dd00){const _0x13e6c3=_0x417231;try{return decodeURIComponent(escape(_0x51a469[_0x13e6c3(0x4bf)](_0x56dd00)));}catch{throw new Error(_0x13e6c3(0x4f9));}},'parse':function(_0x4cc902){return _0x51a469['parse'](unescape(encodeURIComponent(_0x4cc902)));}},_0xb9f55b=_0x5397e4[_0x417231(0x223)]=_0x4dce77[_0x417231(0x45e)]({'reset':function(){const _0x1bcf8a=_0x417231;this[_0x1bcf8a(0x4fb)]=new _0x105702[(_0x1bcf8a(0x195))](),this[_0x1bcf8a(0x2ff)]=0x0;},'_append':function(_0x5153d0){const _0x32ccd5=_0x417231;typeof _0x5153d0==_0x32ccd5(0x46f)&&(_0x5153d0=_0x5defe3[_0x32ccd5(0x23a)](_0x5153d0)),this[_0x32ccd5(0x4fb)][_0x32ccd5(0x383)](_0x5153d0),this['_nDataBytes']+=_0x5153d0[_0x32ccd5(0x21a)];},'_process':function(_0x19ec75){const _0x4dfc59=_0x417231;var _0x31ee1d,_0x58652c=this[_0x4dfc59(0x4fb)],_0x286274=_0x58652c[_0x4dfc59(0x339)],_0x322a63=_0x58652c[_0x4dfc59(0x21a)],_0x5cd096=this['blockSize'],_0x47b19c=_0x5cd096*0x4,_0x4999d1=_0x322a63/_0x47b19c;_0x19ec75?_0x4999d1=_0x22cc1e[_0x4dfc59(0x260)](_0x4999d1):_0x4999d1=_0x22cc1e[_0x4dfc59(0x326)]((_0x4999d1|0x0)-this[_0x4dfc59(0x51d)],0x0);var _0x14d74b=_0x4999d1*_0x5cd096,_0x16aa9e=_0x22cc1e[_0x4dfc59(0x3ee)](_0x14d74b*0x4,_0x322a63);if(_0x14d74b){for(var _0x3d9015=0x0;_0x3d9015<_0x14d74b;_0x3d9015+=_0x5cd096)this['_doProcessBlock'](_0x286274,_0x3d9015);_0x31ee1d=_0x286274[_0x4dfc59(0x21f)](0x0,_0x14d74b),_0x58652c[_0x4dfc59(0x21a)]-=_0x16aa9e;}return new _0x105702[(_0x4dfc59(0x195))](_0x31ee1d,_0x16aa9e);},'clone':function(){const _0x4d745d=_0x417231;var _0x5a68c9=_0x4dce77[_0x4d745d(0x521)][_0x4d745d(0x321)](this);return _0x5a68c9['_data']=this['_data'][_0x4d745d(0x521)](),_0x5a68c9;},'_minBufferSize':0x0});_0x5397e4[_0x417231(0x28f)]=_0xb9f55b[_0x417231(0x45e)]({'cfg':_0x4dce77[_0x417231(0x45e)](),'init':function(_0xd3eca9){const _0x2e7f1c=_0x417231;this['cfg']=this['cfg'][_0x2e7f1c(0x45e)](_0xd3eca9),this[_0x2e7f1c(0x56a)]();},'reset':function(){const _0x3d9d45=_0x417231;_0xb9f55b[_0x3d9d45(0x56a)][_0x3d9d45(0x321)](this),this[_0x3d9d45(0x2f2)]();},'update':function(_0x142b08){const _0x2b4e78=_0x417231;return this[_0x2b4e78(0x4d3)](_0x142b08),this[_0x2b4e78(0x52b)](),this;},'finalize':function(_0x39c418){const _0x1ea6a2=_0x417231;_0x39c418&&this[_0x1ea6a2(0x4d3)](_0x39c418);var _0x22e0f2=this[_0x1ea6a2(0x47c)]();return _0x22e0f2;},'blockSize':0x10,'_createHelper':function(_0x154cd1){return function(_0x38fa81,_0x43cdeb){const _0x1ace6b=_0x5d6c;return new _0x154cd1['init'](_0x43cdeb)[_0x1ace6b(0x405)](_0x38fa81);};},'_createHmacHelper':function(_0x5730d6){return function(_0x25ffb6,_0x4e941e){const _0x146e2f=_0x5d6c;return new _0x441983[(_0x146e2f(0x382))][(_0x146e2f(0x195))](_0x5730d6,_0x4e941e)[_0x146e2f(0x405)](_0x25ffb6);};}});var _0x441983=_0x3aa591[_0x417231(0x3cd)]={};return _0x3aa591;}(Math);return _0x54c19a;}));}(Ft)),Ft[_0x725856(0x58c)];}var Vt={'exports':{}},Js;function Bi(){const _0x9c33f6=_0x29204f;return Js||(Js=0x1,function(_0x37680e,_0x186d3c){(function(_0x37b950,_0x3b562a){const _0xe0a2ff=_0x5d6c;_0x37680e[_0xe0a2ff(0x58c)]=_0x3b562a(ue());}(Z,function(_0x4c1661){const _0x2ee8f9=_0x5d6c;return(function(){const _0x2a6153=_0x5d6c;var _0x38d535=_0x4c1661,_0x1d34fa=_0x38d535['lib'],_0x1a26f9=_0x1d34fa[_0x2a6153(0x4c6)],_0x370eef=_0x38d535['enc'];_0x370eef[_0x2a6153(0x333)]={'stringify':function(_0xb23300){const _0x5a9c64=_0x2a6153;var _0x6237f9=_0xb23300[_0x5a9c64(0x339)],_0x351756=_0xb23300['sigBytes'],_0x4b64d6=this['_map'];_0xb23300['clamp']();for(var _0x3145b8=[],_0xf7e2f8=0x0;_0xf7e2f8<_0x351756;_0xf7e2f8+=0x3)for(var _0xc474ee=_0x6237f9[_0xf7e2f8>>>0x2]>>>0x18-_0xf7e2f8%0x4*0x8&0xff,_0x497871=_0x6237f9[_0xf7e2f8+0x1>>>0x2]>>>0x18-(_0xf7e2f8+0x1)%0x4*0x8&0xff,_0x31b901=_0x6237f9[_0xf7e2f8+0x2>>>0x2]>>>0x18-(_0xf7e2f8+0x2)%0x4*0x8&0xff,_0x55a9f1=_0xc474ee<<0x10|_0x497871<<0x8|_0x31b901,_0x365f48=0x0;_0x365f48<0x4&&_0xf7e2f8+_0x365f48*0.75<_0x351756;_0x365f48++)_0x3145b8[_0x5a9c64(0x523)](_0x4b64d6[_0x5a9c64(0x533)](_0x55a9f1>>>0x6*(0x3-_0x365f48)&0x3f));var _0x4c3dc5=_0x4b64d6['charAt'](0x40);if(_0x4c3dc5){for(;_0x3145b8[_0x5a9c64(0x2f0)]%0x4;)_0x3145b8[_0x5a9c64(0x523)](_0x4c3dc5);}return _0x3145b8[_0x5a9c64(0x39d)]('');},'parse':function(_0x2b84d9){const _0x1e77e0=_0x2a6153;var _0x119ad5=_0x2b84d9['length'],_0x37c619=this[_0x1e77e0(0x2bc)],_0xd24697=this[_0x1e77e0(0x4f3)];if(!_0xd24697){_0xd24697=this[_0x1e77e0(0x4f3)]=[];for(var _0x4f7636=0x0;_0x4f7636<_0x37c619['length'];_0x4f7636++)_0xd24697[_0x37c619[_0x1e77e0(0x4e2)](_0x4f7636)]=_0x4f7636;}var _0xc59942=_0x37c619['charAt'](0x40);if(_0xc59942){var _0x16253d=_0x2b84d9[_0x1e77e0(0x3f9)](_0xc59942);_0x16253d!==-0x1&&(_0x119ad5=_0x16253d);}return _0x3f30de(_0x2b84d9,_0x119ad5,_0xd24697);},'_map':_0x2a6153(0x4bb)};function _0x3f30de(_0x48b458,_0x3369a6,_0x23d9db){const _0x20bf6b=_0x2a6153;for(var _0x5345c4=[],_0x43fd47=0x0,_0x5b0fe4=0x0;_0x5b0fe4<_0x3369a6;_0x5b0fe4++)if(_0x5b0fe4%0x4){var _0x15677a=_0x23d9db[_0x48b458[_0x20bf6b(0x4e2)](_0x5b0fe4-0x1)]<<_0x5b0fe4%0x4*0x2,_0x3e02c8=_0x23d9db[_0x48b458[_0x20bf6b(0x4e2)](_0x5b0fe4)]>>>0x6-_0x5b0fe4%0x4*0x2,_0x498e88=_0x15677a|_0x3e02c8;_0x5345c4[_0x43fd47>>>0x2]|=_0x498e88<<0x18-_0x43fd47%0x4*0x8,_0x43fd47++;}return _0x1a26f9[_0x20bf6b(0x3c9)](_0x5345c4,_0x43fd47);}}()),_0x4c1661[_0x2ee8f9(0x197)]['Base64'];}));}(Vt)),Vt[_0x9c33f6(0x58c)];}var Gt={'exports':{}},Zs;function Ma(){return Zs||(Zs=0x1,function(_0x2654e9,_0x15e574){(function(_0x2ad0a8,_0x2c5280){const _0x1eacab=_0x5d6c;_0x2654e9[_0x1eacab(0x58c)]=_0x2c5280(ue());}(Z,function(_0xd43629){const _0x804650=_0x5d6c;return function(_0x3d34b9){const _0x55c0ac=_0x5d6c;var _0x9b2dac=_0xd43629,_0x16d026=_0x9b2dac[_0x55c0ac(0x380)],_0x2affbc=_0x16d026['WordArray'],_0x5e56d5=_0x16d026['Hasher'],_0x4138f0=_0x9b2dac[_0x55c0ac(0x3cd)],_0x33f63a=[];(function(){const _0x5ff434=_0x55c0ac;for(var _0x3baba6=0x0;_0x3baba6<0x40;_0x3baba6++)_0x33f63a[_0x3baba6]=_0x3d34b9[_0x5ff434(0x26a)](_0x3d34b9[_0x5ff434(0x392)](_0x3baba6+0x1))*0x100000000|0x0;}());var _0x15c410=_0x4138f0[_0x55c0ac(0x40e)]=_0x5e56d5[_0x55c0ac(0x45e)]({'_doReset':function(){const _0x6a6e9f=_0x55c0ac;this[_0x6a6e9f(0x4c0)]=new _0x2affbc['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5d408a,_0x31f2e8){const _0x21325a=_0x55c0ac;for(var _0x343ab9=0x0;_0x343ab9<0x10;_0x343ab9++){var _0x12415b=_0x31f2e8+_0x343ab9,_0x31420d=_0x5d408a[_0x12415b];_0x5d408a[_0x12415b]=(_0x31420d<<0x8|_0x31420d>>>0x18)&0xff00ff|(_0x31420d<<0x18|_0x31420d>>>0x8)&0xff00ff00;}var _0x18e5ea=this[_0x21325a(0x4c0)][_0x21325a(0x339)],_0x245bbc=_0x5d408a[_0x31f2e8+0x0],_0x3994fa=_0x5d408a[_0x31f2e8+0x1],_0x5d0357=_0x5d408a[_0x31f2e8+0x2],_0x2dc97d=_0x5d408a[_0x31f2e8+0x3],_0x14696a=_0x5d408a[_0x31f2e8+0x4],_0x4b9b07=_0x5d408a[_0x31f2e8+0x5],_0x298c99=_0x5d408a[_0x31f2e8+0x6],_0xc95e8c=_0x5d408a[_0x31f2e8+0x7],_0x223ce2=_0x5d408a[_0x31f2e8+0x8],_0xfbcf78=_0x5d408a[_0x31f2e8+0x9],_0x3f18d0=_0x5d408a[_0x31f2e8+0xa],_0x42a3e7=_0x5d408a[_0x31f2e8+0xb],_0xba778e=_0x5d408a[_0x31f2e8+0xc],_0x42e6fd=_0x5d408a[_0x31f2e8+0xd],_0x25f7fb=_0x5d408a[_0x31f2e8+0xe],_0x24a54c=_0x5d408a[_0x31f2e8+0xf],_0x291f1a=_0x18e5ea[0x0],_0xeda955=_0x18e5ea[0x1],_0x37ff6f=_0x18e5ea[0x2],_0x13eb0c=_0x18e5ea[0x3];_0x291f1a=_0x127ff6(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x245bbc,0x7,_0x33f63a[0x0]),_0x13eb0c=_0x127ff6(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x3994fa,0xc,_0x33f63a[0x1]),_0x37ff6f=_0x127ff6(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x5d0357,0x11,_0x33f63a[0x2]),_0xeda955=_0x127ff6(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x2dc97d,0x16,_0x33f63a[0x3]),_0x291f1a=_0x127ff6(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x14696a,0x7,_0x33f63a[0x4]),_0x13eb0c=_0x127ff6(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x4b9b07,0xc,_0x33f63a[0x5]),_0x37ff6f=_0x127ff6(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x298c99,0x11,_0x33f63a[0x6]),_0xeda955=_0x127ff6(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0xc95e8c,0x16,_0x33f63a[0x7]),_0x291f1a=_0x127ff6(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x223ce2,0x7,_0x33f63a[0x8]),_0x13eb0c=_0x127ff6(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0xfbcf78,0xc,_0x33f63a[0x9]),_0x37ff6f=_0x127ff6(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x3f18d0,0x11,_0x33f63a[0xa]),_0xeda955=_0x127ff6(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x42a3e7,0x16,_0x33f63a[0xb]),_0x291f1a=_0x127ff6(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0xba778e,0x7,_0x33f63a[0xc]),_0x13eb0c=_0x127ff6(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x42e6fd,0xc,_0x33f63a[0xd]),_0x37ff6f=_0x127ff6(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x25f7fb,0x11,_0x33f63a[0xe]),_0xeda955=_0x127ff6(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x24a54c,0x16,_0x33f63a[0xf]),_0x291f1a=_0x2945eb(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x3994fa,0x5,_0x33f63a[0x10]),_0x13eb0c=_0x2945eb(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x298c99,0x9,_0x33f63a[0x11]),_0x37ff6f=_0x2945eb(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x42a3e7,0xe,_0x33f63a[0x12]),_0xeda955=_0x2945eb(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x245bbc,0x14,_0x33f63a[0x13]),_0x291f1a=_0x2945eb(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x4b9b07,0x5,_0x33f63a[0x14]),_0x13eb0c=_0x2945eb(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x3f18d0,0x9,_0x33f63a[0x15]),_0x37ff6f=_0x2945eb(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x24a54c,0xe,_0x33f63a[0x16]),_0xeda955=_0x2945eb(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x14696a,0x14,_0x33f63a[0x17]),_0x291f1a=_0x2945eb(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0xfbcf78,0x5,_0x33f63a[0x18]),_0x13eb0c=_0x2945eb(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x25f7fb,0x9,_0x33f63a[0x19]),_0x37ff6f=_0x2945eb(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x2dc97d,0xe,_0x33f63a[0x1a]),_0xeda955=_0x2945eb(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x223ce2,0x14,_0x33f63a[0x1b]),_0x291f1a=_0x2945eb(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x42e6fd,0x5,_0x33f63a[0x1c]),_0x13eb0c=_0x2945eb(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x5d0357,0x9,_0x33f63a[0x1d]),_0x37ff6f=_0x2945eb(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0xc95e8c,0xe,_0x33f63a[0x1e]),_0xeda955=_0x2945eb(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0xba778e,0x14,_0x33f63a[0x1f]),_0x291f1a=_0x48bb0f(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x4b9b07,0x4,_0x33f63a[0x20]),_0x13eb0c=_0x48bb0f(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x223ce2,0xb,_0x33f63a[0x21]),_0x37ff6f=_0x48bb0f(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x42a3e7,0x10,_0x33f63a[0x22]),_0xeda955=_0x48bb0f(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x25f7fb,0x17,_0x33f63a[0x23]),_0x291f1a=_0x48bb0f(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x3994fa,0x4,_0x33f63a[0x24]),_0x13eb0c=_0x48bb0f(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x14696a,0xb,_0x33f63a[0x25]),_0x37ff6f=_0x48bb0f(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0xc95e8c,0x10,_0x33f63a[0x26]),_0xeda955=_0x48bb0f(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x3f18d0,0x17,_0x33f63a[0x27]),_0x291f1a=_0x48bb0f(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x42e6fd,0x4,_0x33f63a[0x28]),_0x13eb0c=_0x48bb0f(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x245bbc,0xb,_0x33f63a[0x29]),_0x37ff6f=_0x48bb0f(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x2dc97d,0x10,_0x33f63a[0x2a]),_0xeda955=_0x48bb0f(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x298c99,0x17,_0x33f63a[0x2b]),_0x291f1a=_0x48bb0f(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0xfbcf78,0x4,_0x33f63a[0x2c]),_0x13eb0c=_0x48bb0f(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0xba778e,0xb,_0x33f63a[0x2d]),_0x37ff6f=_0x48bb0f(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x24a54c,0x10,_0x33f63a[0x2e]),_0xeda955=_0x48bb0f(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x5d0357,0x17,_0x33f63a[0x2f]),_0x291f1a=_0x2601ad(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x245bbc,0x6,_0x33f63a[0x30]),_0x13eb0c=_0x2601ad(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0xc95e8c,0xa,_0x33f63a[0x31]),_0x37ff6f=_0x2601ad(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x25f7fb,0xf,_0x33f63a[0x32]),_0xeda955=_0x2601ad(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x4b9b07,0x15,_0x33f63a[0x33]),_0x291f1a=_0x2601ad(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0xba778e,0x6,_0x33f63a[0x34]),_0x13eb0c=_0x2601ad(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x2dc97d,0xa,_0x33f63a[0x35]),_0x37ff6f=_0x2601ad(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x3f18d0,0xf,_0x33f63a[0x36]),_0xeda955=_0x2601ad(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x3994fa,0x15,_0x33f63a[0x37]),_0x291f1a=_0x2601ad(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x223ce2,0x6,_0x33f63a[0x38]),_0x13eb0c=_0x2601ad(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x24a54c,0xa,_0x33f63a[0x39]),_0x37ff6f=_0x2601ad(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x298c99,0xf,_0x33f63a[0x3a]),_0xeda955=_0x2601ad(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0x42e6fd,0x15,_0x33f63a[0x3b]),_0x291f1a=_0x2601ad(_0x291f1a,_0xeda955,_0x37ff6f,_0x13eb0c,_0x14696a,0x6,_0x33f63a[0x3c]),_0x13eb0c=_0x2601ad(_0x13eb0c,_0x291f1a,_0xeda955,_0x37ff6f,_0x42a3e7,0xa,_0x33f63a[0x3d]),_0x37ff6f=_0x2601ad(_0x37ff6f,_0x13eb0c,_0x291f1a,_0xeda955,_0x5d0357,0xf,_0x33f63a[0x3e]),_0xeda955=_0x2601ad(_0xeda955,_0x37ff6f,_0x13eb0c,_0x291f1a,_0xfbcf78,0x15,_0x33f63a[0x3f]),_0x18e5ea[0x0]=_0x18e5ea[0x0]+_0x291f1a|0x0,_0x18e5ea[0x1]=_0x18e5ea[0x1]+_0xeda955|0x0,_0x18e5ea[0x2]=_0x18e5ea[0x2]+_0x37ff6f|0x0,_0x18e5ea[0x3]=_0x18e5ea[0x3]+_0x13eb0c|0x0;},'_doFinalize':function(){const _0x1a4014=_0x55c0ac;var _0x1bc832=this[_0x1a4014(0x4fb)],_0x4855a8=_0x1bc832[_0x1a4014(0x339)],_0x2bd186=this['_nDataBytes']*0x8,_0x142585=_0x1bc832[_0x1a4014(0x21a)]*0x8;_0x4855a8[_0x142585>>>0x5]|=0x80<<0x18-_0x142585%0x20;var _0x5661e1=_0x3d34b9[_0x1a4014(0x2e0)](_0x2bd186/0x100000000),_0x3e43c5=_0x2bd186;_0x4855a8[(_0x142585+0x40>>>0x9<<0x4)+0xf]=(_0x5661e1<<0x8|_0x5661e1>>>0x18)&0xff00ff|(_0x5661e1<<0x18|_0x5661e1>>>0x8)&0xff00ff00,_0x4855a8[(_0x142585+0x40>>>0x9<<0x4)+0xe]=(_0x3e43c5<<0x8|_0x3e43c5>>>0x18)&0xff00ff|(_0x3e43c5<<0x18|_0x3e43c5>>>0x8)&0xff00ff00,_0x1bc832[_0x1a4014(0x21a)]=(_0x4855a8[_0x1a4014(0x2f0)]+0x1)*0x4,this['_process']();for(var _0xb232b0=this['_hash'],_0x270f08=_0xb232b0[_0x1a4014(0x339)],_0x123559=0x0;_0x123559<0x4;_0x123559++){var _0x2f8be9=_0x270f08[_0x123559];_0x270f08[_0x123559]=(_0x2f8be9<<0x8|_0x2f8be9>>>0x18)&0xff00ff|(_0x2f8be9<<0x18|_0x2f8be9>>>0x8)&0xff00ff00;}return _0xb232b0;},'clone':function(){const _0x466d7d=_0x55c0ac;var _0xc768f1=_0x5e56d5['clone'][_0x466d7d(0x321)](this);return _0xc768f1[_0x466d7d(0x4c0)]=this[_0x466d7d(0x4c0)]['clone'](),_0xc768f1;}});function _0x127ff6(_0x4caaf3,_0xd7b51c,_0x507262,_0x4a3f6b,_0x5951ae,_0x27d080,_0x5876e6){var _0x1afae0=_0x4caaf3+(_0xd7b51c&_0x507262|~_0xd7b51c&_0x4a3f6b)+_0x5951ae+_0x5876e6;return(_0x1afae0<<_0x27d080|_0x1afae0>>>0x20-_0x27d080)+_0xd7b51c;}function _0x2945eb(_0x4bc817,_0x42332f,_0x296589,_0x3bb855,_0x3e944a,_0x250b67,_0x5569b7){var _0x105626=_0x4bc817+(_0x42332f&_0x3bb855|_0x296589&~_0x3bb855)+_0x3e944a+_0x5569b7;return(_0x105626<<_0x250b67|_0x105626>>>0x20-_0x250b67)+_0x42332f;}function _0x48bb0f(_0x3c671e,_0x23f4d0,_0x42d7c9,_0x26a902,_0x68cc06,_0x3657ee,_0x207195){var _0x1202e2=_0x3c671e+(_0x23f4d0^_0x42d7c9^_0x26a902)+_0x68cc06+_0x207195;return(_0x1202e2<<_0x3657ee|_0x1202e2>>>0x20-_0x3657ee)+_0x23f4d0;}function _0x2601ad(_0x670558,_0x58b522,_0x220abb,_0x43a424,_0x296e99,_0x1aa89f,_0x4cc848){var _0x248205=_0x670558+(_0x220abb^(_0x58b522|~_0x43a424))+_0x296e99+_0x4cc848;return(_0x248205<<_0x1aa89f|_0x248205>>>0x20-_0x1aa89f)+_0x58b522;}_0x9b2dac[_0x55c0ac(0x40e)]=_0x5e56d5['_createHelper'](_0x15c410),_0x9b2dac[_0x55c0ac(0x59a)]=_0x5e56d5[_0x55c0ac(0x56d)](_0x15c410);}(Math),_0xd43629[_0x804650(0x40e)];}));}(Gt)),Gt['exports'];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x5322ad=_0x29204f;return Qs||(Qs=0x1,function(_0x46ae01,_0x5db35b){(function(_0x395b94,_0x5699f5){_0x46ae01['exports']=_0x5699f5(ue());}(Z,function(_0x38a124){const _0x10e371=_0x5d6c;return(function(){const _0x4e0154=_0x5d6c;var _0x1a52eb=_0x38a124,_0x2f313b=_0x1a52eb[_0x4e0154(0x380)],_0x417d6a=_0x2f313b[_0x4e0154(0x4c6)],_0x4a2c0c=_0x2f313b[_0x4e0154(0x28f)],_0x254ca0=_0x1a52eb['algo'],_0x191989=[],_0x1c9b37=_0x254ca0[_0x4e0154(0x25d)]=_0x4a2c0c['extend']({'_doReset':function(){const _0x1894f7=_0x4e0154;this[_0x1894f7(0x4c0)]=new _0x417d6a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x138966,_0x58395b){const _0x4e1d29=_0x4e0154;for(var _0x47df7d=this['_hash'][_0x4e1d29(0x339)],_0x21db6c=_0x47df7d[0x0],_0xdfe9fa=_0x47df7d[0x1],_0x22a801=_0x47df7d[0x2],_0x4c4438=_0x47df7d[0x3],_0x426d50=_0x47df7d[0x4],_0x296b84=0x0;_0x296b84<0x50;_0x296b84++){if(_0x296b84<0x10)_0x191989[_0x296b84]=_0x138966[_0x58395b+_0x296b84]|0x0;else{var _0x31e767=_0x191989[_0x296b84-0x3]^_0x191989[_0x296b84-0x8]^_0x191989[_0x296b84-0xe]^_0x191989[_0x296b84-0x10];_0x191989[_0x296b84]=_0x31e767<<0x1|_0x31e767>>>0x1f;}var _0x517622=(_0x21db6c<<0x5|_0x21db6c>>>0x1b)+_0x426d50+_0x191989[_0x296b84];_0x296b84<0x14?_0x517622+=(_0xdfe9fa&_0x22a801|~_0xdfe9fa&_0x4c4438)+0x5a827999:_0x296b84<0x28?_0x517622+=(_0xdfe9fa^_0x22a801^_0x4c4438)+0x6ed9eba1:_0x296b84<0x3c?_0x517622+=(_0xdfe9fa&_0x22a801|_0xdfe9fa&_0x4c4438|_0x22a801&_0x4c4438)-0x70e44324:_0x517622+=(_0xdfe9fa^_0x22a801^_0x4c4438)-0x359d3e2a,_0x426d50=_0x4c4438,_0x4c4438=_0x22a801,_0x22a801=_0xdfe9fa<<0x1e|_0xdfe9fa>>>0x2,_0xdfe9fa=_0x21db6c,_0x21db6c=_0x517622;}_0x47df7d[0x0]=_0x47df7d[0x0]+_0x21db6c|0x0,_0x47df7d[0x1]=_0x47df7d[0x1]+_0xdfe9fa|0x0,_0x47df7d[0x2]=_0x47df7d[0x2]+_0x22a801|0x0,_0x47df7d[0x3]=_0x47df7d[0x3]+_0x4c4438|0x0,_0x47df7d[0x4]=_0x47df7d[0x4]+_0x426d50|0x0;},'_doFinalize':function(){const _0x32c720=_0x4e0154;var _0x34e147=this[_0x32c720(0x4fb)],_0x4d2949=_0x34e147[_0x32c720(0x339)],_0xa2b258=this['_nDataBytes']*0x8,_0x29a6d8=_0x34e147[_0x32c720(0x21a)]*0x8;return _0x4d2949[_0x29a6d8>>>0x5]|=0x80<<0x18-_0x29a6d8%0x20,_0x4d2949[(_0x29a6d8+0x40>>>0x9<<0x4)+0xe]=Math[_0x32c720(0x2e0)](_0xa2b258/0x100000000),_0x4d2949[(_0x29a6d8+0x40>>>0x9<<0x4)+0xf]=_0xa2b258,_0x34e147[_0x32c720(0x21a)]=_0x4d2949['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0xad38b5=_0x4e0154;var _0x376a54=_0x4a2c0c['clone'][_0xad38b5(0x321)](this);return _0x376a54[_0xad38b5(0x4c0)]=this[_0xad38b5(0x4c0)]['clone'](),_0x376a54;}});_0x1a52eb[_0x4e0154(0x25d)]=_0x4a2c0c['_createHelper'](_0x1c9b37),_0x1a52eb[_0x4e0154(0x518)]=_0x4a2c0c[_0x4e0154(0x56d)](_0x1c9b37);}()),_0x38a124[_0x10e371(0x25d)];}));}(Kt)),Kt[_0x5322ad(0x58c)];}var zt={'exports':{}},ei;function La(){const _0xa5f7af=_0x29204f;return ei||(ei=0x1,function(_0x32ea88,_0x44dd0){(function(_0x1f9870,_0x455aff){const _0x2c7005=_0x5d6c;_0x32ea88[_0x2c7005(0x58c)]=_0x455aff(ue());}(Z,function(_0x4eefed){(function(){const _0x276d0f=_0x5d6c;var _0x157d35=_0x4eefed,_0x38328b=_0x157d35[_0x276d0f(0x380)],_0x5cdf3e=_0x38328b['Base'],_0x3f8d09=_0x157d35['enc'],_0x3b2250=_0x3f8d09[_0x276d0f(0x3e9)],_0x5952fe=_0x157d35['algo'];_0x5952fe['HMAC']=_0x5cdf3e['extend']({'init':function(_0xf68ee0,_0x371357){const _0x2583fd=_0x276d0f;_0xf68ee0=this['_hasher']=new _0xf68ee0[(_0x2583fd(0x195))](),typeof _0x371357=='string'&&(_0x371357=_0x3b2250['parse'](_0x371357));var _0x534d46=_0xf68ee0[_0x2583fd(0x534)],_0x57de83=_0x534d46*0x4;_0x371357['sigBytes']>_0x57de83&&(_0x371357=_0xf68ee0[_0x2583fd(0x405)](_0x371357)),_0x371357[_0x2583fd(0x40c)]();for(var _0xdbb63=this[_0x2583fd(0x290)]=_0x371357[_0x2583fd(0x521)](),_0x52a3f7=this[_0x2583fd(0x4f5)]=_0x371357[_0x2583fd(0x521)](),_0x3d1eb0=_0xdbb63['words'],_0x1b5865=_0x52a3f7[_0x2583fd(0x339)],_0x348d53=0x0;_0x348d53<_0x534d46;_0x348d53++)_0x3d1eb0[_0x348d53]^=0x5c5c5c5c,_0x1b5865[_0x348d53]^=0x36363636;_0xdbb63[_0x2583fd(0x21a)]=_0x52a3f7['sigBytes']=_0x57de83,this[_0x2583fd(0x56a)]();},'reset':function(){const _0x22d2ed=_0x276d0f;var _0x37c461=this[_0x22d2ed(0x251)];_0x37c461[_0x22d2ed(0x56a)](),_0x37c461[_0x22d2ed(0x2c8)](this[_0x22d2ed(0x4f5)]);},'update':function(_0x5324ae){return this['_hasher']['update'](_0x5324ae),this;},'finalize':function(_0xc41bbc){const _0x5dd331=_0x276d0f;var _0x5990b2=this['_hasher'],_0x10186f=_0x5990b2['finalize'](_0xc41bbc);_0x5990b2[_0x5dd331(0x56a)]();var _0x50b9c2=_0x5990b2['finalize'](this[_0x5dd331(0x290)][_0x5dd331(0x521)]()['concat'](_0x10186f));return _0x50b9c2;}});}());}));}(zt)),zt[_0xa5f7af(0x58c)];}var ti;function ki(){const _0x155f8c=_0x29204f;return ti||(ti=0x1,function(_0x382edd,_0x53661d){(function(_0x3f2ed,_0x28e0bc,_0x298abd){_0x382edd['exports']=_0x28e0bc(ue(),xa(),La());}(Z,function(_0xef4790){const _0x2eb623=_0x5d6c;return(function(){const _0x37b40e=_0x5d6c;var _0x58384e=_0xef4790,_0x5cb4af=_0x58384e['lib'],_0x2795ef=_0x5cb4af[_0x37b40e(0x538)],_0x41008c=_0x5cb4af['WordArray'],_0xd4034b=_0x58384e[_0x37b40e(0x3cd)],_0x6e0a8a=_0xd4034b[_0x37b40e(0x40e)],_0x1d5328=_0xd4034b[_0x37b40e(0x463)]=_0x2795ef[_0x37b40e(0x45e)]({'cfg':_0x2795ef[_0x37b40e(0x45e)]({'keySize':0x80/0x20,'hasher':_0x6e0a8a,'iterations':0x1}),'init':function(_0x1f7701){const _0x2810e3=_0x37b40e;this['cfg']=this['cfg'][_0x2810e3(0x45e)](_0x1f7701);},'compute':function(_0x4a7208,_0x3ce6cc){const _0x4550c7=_0x37b40e;for(var _0x10020e,_0x29208a=this['cfg'],_0x2a0430=_0x29208a[_0x4550c7(0x257)][_0x4550c7(0x3c9)](),_0x307a6f=_0x41008c[_0x4550c7(0x3c9)](),_0x9f625b=_0x307a6f['words'],_0x40a107=_0x29208a[_0x4550c7(0x401)],_0x5841e8=_0x29208a[_0x4550c7(0x528)];_0x9f625b['length']<_0x40a107;){_0x10020e&&_0x2a0430['update'](_0x10020e),_0x10020e=_0x2a0430[_0x4550c7(0x2c8)](_0x4a7208)[_0x4550c7(0x405)](_0x3ce6cc),_0x2a0430[_0x4550c7(0x56a)]();for(var _0x1b2b60=0x1;_0x1b2b60<_0x5841e8;_0x1b2b60++)_0x10020e=_0x2a0430[_0x4550c7(0x405)](_0x10020e),_0x2a0430[_0x4550c7(0x56a)]();_0x307a6f['concat'](_0x10020e);}return _0x307a6f[_0x4550c7(0x21a)]=_0x40a107*0x4,_0x307a6f;}});_0x58384e[_0x37b40e(0x463)]=function(_0xe427f8,_0x3bbefc,_0x3f4859){const _0x10fbaa=_0x37b40e;return _0x1d5328[_0x10fbaa(0x3c9)](_0x3f4859)[_0x10fbaa(0x277)](_0xe427f8,_0x3bbefc);};}()),_0xef4790[_0x2eb623(0x463)];}));}(Yt)),Yt[_0x155f8c(0x58c)];}var qt={'exports':{}},si;function Wi(){const _0x299d37=_0x29204f;return si||(si=0x1,function(_0xb46582,_0x1235f9){(function(_0x2807a2,_0xaf7c5a,_0x5ea4ff){const _0x4e7f54=_0x5d6c;_0xb46582[_0x4e7f54(0x58c)]=_0xaf7c5a(ue(),ki());}(Z,function(_0x1841e8){const _0x543d17=_0x5d6c;_0x1841e8[_0x543d17(0x380)][_0x543d17(0x394)]||function(_0xac8f3f){const _0x9f5bec=_0x543d17;var _0x42abea=_0x1841e8,_0xaa2e7f=_0x42abea[_0x9f5bec(0x380)],_0x9ce10a=_0xaa2e7f[_0x9f5bec(0x538)],_0x5dfd0a=_0xaa2e7f[_0x9f5bec(0x4c6)],_0x2c5423=_0xaa2e7f[_0x9f5bec(0x223)],_0x5a8d2d=_0x42abea[_0x9f5bec(0x197)];_0x5a8d2d[_0x9f5bec(0x3e9)];var _0x285651=_0x5a8d2d[_0x9f5bec(0x333)],_0x46ccd5=_0x42abea['algo'],_0x58a116=_0x46ccd5[_0x9f5bec(0x463)],_0x1ae2d6=_0xaa2e7f['Cipher']=_0x2c5423[_0x9f5bec(0x45e)]({'cfg':_0x9ce10a[_0x9f5bec(0x45e)](),'createEncryptor':function(_0x28a90f,_0x15aae2){const _0x372efa=_0x9f5bec;return this['create'](this[_0x372efa(0x575)],_0x28a90f,_0x15aae2);},'createDecryptor':function(_0x469d19,_0x5a8dd4){const _0x11f314=_0x9f5bec;return this[_0x11f314(0x3c9)](this[_0x11f314(0x25b)],_0x469d19,_0x5a8dd4);},'init':function(_0x3a6081,_0x4d8633,_0x4c5c9c){const _0x5881a3=_0x9f5bec;this[_0x5881a3(0x41a)]=this[_0x5881a3(0x41a)]['extend'](_0x4c5c9c),this[_0x5881a3(0x542)]=_0x3a6081,this[_0x5881a3(0x273)]=_0x4d8633,this['reset']();},'reset':function(){const _0x552117=_0x9f5bec;_0x2c5423[_0x552117(0x56a)][_0x552117(0x321)](this),this[_0x552117(0x2f2)]();},'process':function(_0x5b35b0){const _0x26b520=_0x9f5bec;return this[_0x26b520(0x4d3)](_0x5b35b0),this['_process']();},'finalize':function(_0x4bd316){const _0x458450=_0x9f5bec;_0x4bd316&&this[_0x458450(0x4d3)](_0x4bd316);var _0x338ad9=this[_0x458450(0x47c)]();return _0x338ad9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x254841(_0x72fed7){const _0x568865=_0x5d6c;return typeof _0x72fed7==_0x568865(0x46f)?_0xa4e13f:_0x7508ed;}return function(_0x10c10d){return{'encrypt':function(_0x565a94,_0x53db4e,_0x211eb9){const _0x2e75b0=_0x5d6c;return _0x254841(_0x53db4e)[_0x2e75b0(0x26e)](_0x10c10d,_0x565a94,_0x53db4e,_0x211eb9);},'decrypt':function(_0x28db68,_0x26cbc8,_0x39b155){const _0x321782=_0x5d6c;return _0x254841(_0x26cbc8)[_0x321782(0x2cd)](_0x10c10d,_0x28db68,_0x26cbc8,_0x39b155);}};};}())});_0xaa2e7f[_0x9f5bec(0x3ec)]=_0x1ae2d6[_0x9f5bec(0x45e)]({'_doFinalize':function(){const _0x6ef9e8=_0x9f5bec;var _0x4c4056=this[_0x6ef9e8(0x52b)](!0x0);return _0x4c4056;},'blockSize':0x1});var _0x42a1be=_0x42abea['mode']={},_0x304d88=_0xaa2e7f[_0x9f5bec(0x47a)]=_0x9ce10a[_0x9f5bec(0x45e)]({'createEncryptor':function(_0x5657b8,_0x4fa0b3){const _0x1c55e8=_0x9f5bec;return this['Encryptor'][_0x1c55e8(0x3c9)](_0x5657b8,_0x4fa0b3);},'createDecryptor':function(_0x6e291b,_0x5c4f89){const _0xd00054=_0x9f5bec;return this['Decryptor'][_0xd00054(0x3c9)](_0x6e291b,_0x5c4f89);},'init':function(_0x5a5d50,_0x224271){const _0x37f680=_0x9f5bec;this[_0x37f680(0x44f)]=_0x5a5d50,this['_iv']=_0x224271;}}),_0x10579b=_0x42a1be['CBC']=(function(){const _0x193791=_0x9f5bec;var _0xf65be4=_0x304d88[_0x193791(0x45e)]();_0xf65be4[_0x193791(0x1da)]=_0xf65be4[_0x193791(0x45e)]({'processBlock':function(_0x28676d,_0x33d66f){const _0x4f324b=_0x193791;var _0xf291e1=this[_0x4f324b(0x44f)],_0x53b827=_0xf291e1[_0x4f324b(0x534)];_0x22cde6[_0x4f324b(0x321)](this,_0x28676d,_0x33d66f,_0x53b827),_0xf291e1[_0x4f324b(0x27b)](_0x28676d,_0x33d66f),this[_0x4f324b(0x50a)]=_0x28676d[_0x4f324b(0x1e1)](_0x33d66f,_0x33d66f+_0x53b827);}}),_0xf65be4[_0x193791(0x284)]=_0xf65be4['extend']({'processBlock':function(_0x2021ee,_0x219d0a){const _0x54b251=_0x193791;var _0xa2f099=this[_0x54b251(0x44f)],_0xec2e7e=_0xa2f099[_0x54b251(0x534)],_0x7416ff=_0x2021ee[_0x54b251(0x1e1)](_0x219d0a,_0x219d0a+_0xec2e7e);_0xa2f099[_0x54b251(0x214)](_0x2021ee,_0x219d0a),_0x22cde6[_0x54b251(0x321)](this,_0x2021ee,_0x219d0a,_0xec2e7e),this[_0x54b251(0x50a)]=_0x7416ff;}});function _0x22cde6(_0x22e9f3,_0x414226,_0x304839){const _0xfa6c42=_0x193791;var _0x383a1f,_0x4f121e=this[_0xfa6c42(0x55b)];_0x4f121e?(_0x383a1f=_0x4f121e,this[_0xfa6c42(0x55b)]=_0xac8f3f):_0x383a1f=this[_0xfa6c42(0x50a)];for(var _0x5de080=0x0;_0x5de080<_0x304839;_0x5de080++)_0x22e9f3[_0x414226+_0x5de080]^=_0x383a1f[_0x5de080];}return _0xf65be4;}()),_0x2ea946=_0x42abea[_0x9f5bec(0x4c4)]={},_0x15aaf8=_0x2ea946[_0x9f5bec(0x399)]={'pad':function(_0x212ca3,_0x3d2490){const _0x579a9b=_0x9f5bec;for(var _0x5b4527=_0x3d2490*0x4,_0x34bafb=_0x5b4527-_0x212ca3[_0x579a9b(0x21a)]%_0x5b4527,_0x4c2dfc=_0x34bafb<<0x18|_0x34bafb<<0x10|_0x34bafb<<0x8|_0x34bafb,_0xe3d57a=[],_0x33940d=0x0;_0x33940d<_0x34bafb;_0x33940d+=0x4)_0xe3d57a[_0x579a9b(0x523)](_0x4c2dfc);var _0x375ec9=_0x5dfd0a[_0x579a9b(0x3c9)](_0xe3d57a,_0x34bafb);_0x212ca3[_0x579a9b(0x383)](_0x375ec9);},'unpad':function(_0xca4e88){const _0x4a96c1=_0x9f5bec;var _0x18fff9=_0xca4e88[_0x4a96c1(0x339)][_0xca4e88[_0x4a96c1(0x21a)]-0x1>>>0x2]&0xff;_0xca4e88[_0x4a96c1(0x21a)]-=_0x18fff9;}};_0xaa2e7f[_0x9f5bec(0x25c)]=_0x1ae2d6['extend']({'cfg':_0x1ae2d6[_0x9f5bec(0x41a)]['extend']({'mode':_0x10579b,'padding':_0x15aaf8}),'reset':function(){const _0x2efd9e=_0x9f5bec;var _0x26e1f9;_0x1ae2d6[_0x2efd9e(0x56a)][_0x2efd9e(0x321)](this);var _0x1f258e=this[_0x2efd9e(0x41a)],_0x26c07b=_0x1f258e['iv'],_0x5a65cc=_0x1f258e[_0x2efd9e(0x408)];this[_0x2efd9e(0x542)]==this['_ENC_XFORM_MODE']?_0x26e1f9=_0x5a65cc[_0x2efd9e(0x588)]:(_0x26e1f9=_0x5a65cc[_0x2efd9e(0x1bc)],this['_minBufferSize']=0x1),this[_0x2efd9e(0x397)]&&this[_0x2efd9e(0x397)][_0x2efd9e(0x564)]==_0x26e1f9?this[_0x2efd9e(0x397)][_0x2efd9e(0x195)](this,_0x26c07b&&_0x26c07b[_0x2efd9e(0x339)]):(this['_mode']=_0x26e1f9[_0x2efd9e(0x321)](_0x5a65cc,this,_0x26c07b&&_0x26c07b[_0x2efd9e(0x339)]),this[_0x2efd9e(0x397)][_0x2efd9e(0x564)]=_0x26e1f9);},'_doProcessBlock':function(_0x5d7db8,_0x135689){const _0x292c92=_0x9f5bec;this[_0x292c92(0x397)][_0x292c92(0x4dc)](_0x5d7db8,_0x135689);},'_doFinalize':function(){const _0x43b1ad=_0x9f5bec;var _0x183de4,_0x1f7310=this[_0x43b1ad(0x41a)][_0x43b1ad(0x20a)];return this['_xformMode']==this[_0x43b1ad(0x575)]?(_0x1f7310['pad'](this[_0x43b1ad(0x4fb)],this[_0x43b1ad(0x534)]),_0x183de4=this['_process'](!0x0)):(_0x183de4=this[_0x43b1ad(0x52b)](!0x0),_0x1f7310[_0x43b1ad(0x567)](_0x183de4)),_0x183de4;},'blockSize':0x80/0x20});var _0x428f65=_0xaa2e7f[_0x9f5bec(0x25a)]=_0x9ce10a[_0x9f5bec(0x45e)]({'init':function(_0x5f3713){const _0x111d1d=_0x9f5bec;this[_0x111d1d(0x4aa)](_0x5f3713);},'toString':function(_0x46321c){const _0x4f96c0=_0x9f5bec;return(_0x46321c||this[_0x4f96c0(0x27c)])['stringify'](this);}}),_0x4686a9=_0x42abea[_0x9f5bec(0x1e3)]={},_0xf8e2a1=_0x4686a9[_0x9f5bec(0x2bd)]={'stringify':function(_0x333174){const _0x21b4ab=_0x9f5bec;var _0x2bbbd3,_0x4ad345=_0x333174[_0x21b4ab(0x47b)],_0x5eff4f=_0x333174[_0x21b4ab(0x30c)];return _0x5eff4f?_0x2bbbd3=_0x5dfd0a[_0x21b4ab(0x3c9)]([0x53616c74,0x65645f5f])[_0x21b4ab(0x383)](_0x5eff4f)[_0x21b4ab(0x383)](_0x4ad345):_0x2bbbd3=_0x4ad345,_0x2bbbd3[_0x21b4ab(0x1b5)](_0x285651);},'parse':function(_0x5cc176){const _0x4953aa=_0x9f5bec;var _0x3ad85e,_0x3ca161=_0x285651[_0x4953aa(0x23a)](_0x5cc176),_0x30c1f2=_0x3ca161[_0x4953aa(0x339)];return _0x30c1f2[0x0]==0x53616c74&&_0x30c1f2[0x1]==0x65645f5f&&(_0x3ad85e=_0x5dfd0a['create'](_0x30c1f2['slice'](0x2,0x4)),_0x30c1f2[_0x4953aa(0x21f)](0x0,0x4),_0x3ca161[_0x4953aa(0x21a)]-=0x10),_0x428f65[_0x4953aa(0x3c9)]({'ciphertext':_0x3ca161,'salt':_0x3ad85e});}},_0x7508ed=_0xaa2e7f[_0x9f5bec(0x28b)]=_0x9ce10a[_0x9f5bec(0x45e)]({'cfg':_0x9ce10a['extend']({'format':_0xf8e2a1}),'encrypt':function(_0x1e8359,_0x401f47,_0x586060,_0xadd6e3){const _0x36f5a5=_0x9f5bec;_0xadd6e3=this[_0x36f5a5(0x41a)][_0x36f5a5(0x45e)](_0xadd6e3);var _0x4a6bc9=_0x1e8359[_0x36f5a5(0x588)](_0x586060,_0xadd6e3),_0xb72906=_0x4a6bc9[_0x36f5a5(0x405)](_0x401f47),_0x31be2e=_0x4a6bc9[_0x36f5a5(0x41a)];return _0x428f65[_0x36f5a5(0x3c9)]({'ciphertext':_0xb72906,'key':_0x586060,'iv':_0x31be2e['iv'],'algorithm':_0x1e8359,'mode':_0x31be2e[_0x36f5a5(0x408)],'padding':_0x31be2e[_0x36f5a5(0x20a)],'blockSize':_0x1e8359[_0x36f5a5(0x534)],'formatter':_0xadd6e3[_0x36f5a5(0x1e3)]});},'decrypt':function(_0x18db7e,_0x4684cd,_0x3436bf,_0xe80cb3){const _0x10707=_0x9f5bec;_0xe80cb3=this[_0x10707(0x41a)][_0x10707(0x45e)](_0xe80cb3),_0x4684cd=this['_parse'](_0x4684cd,_0xe80cb3[_0x10707(0x1e3)]);var _0x3560c5=_0x18db7e[_0x10707(0x1bc)](_0x3436bf,_0xe80cb3)[_0x10707(0x405)](_0x4684cd[_0x10707(0x47b)]);return _0x3560c5;},'_parse':function(_0x1e8c1e,_0x1665e1){const _0x1567f1=_0x9f5bec;return typeof _0x1e8c1e=='string'?_0x1665e1[_0x1567f1(0x23a)](_0x1e8c1e,this):_0x1e8c1e;}}),_0x12bd5b=_0x42abea[_0x9f5bec(0x2be)]={},_0x10f8a1=_0x12bd5b[_0x9f5bec(0x2bd)]={'execute':function(_0x29c22b,_0x568326,_0x4caa12,_0x441cf6,_0x5bf8bc){const _0x40398f=_0x9f5bec;if(_0x441cf6||(_0x441cf6=_0x5dfd0a[_0x40398f(0x1ac)](0x40/0x8)),_0x5bf8bc)var _0x27b40a=_0x58a116[_0x40398f(0x3c9)]({'keySize':_0x568326+_0x4caa12,'hasher':_0x5bf8bc})[_0x40398f(0x277)](_0x29c22b,_0x441cf6);else var _0x27b40a=_0x58a116[_0x40398f(0x3c9)]({'keySize':_0x568326+_0x4caa12})[_0x40398f(0x277)](_0x29c22b,_0x441cf6);var _0x34f596=_0x5dfd0a['create'](_0x27b40a[_0x40398f(0x339)][_0x40398f(0x1e1)](_0x568326),_0x4caa12*0x4);return _0x27b40a[_0x40398f(0x21a)]=_0x568326*0x4,_0x428f65['create']({'key':_0x27b40a,'iv':_0x34f596,'salt':_0x441cf6});}},_0xa4e13f=_0xaa2e7f['PasswordBasedCipher']=_0x7508ed[_0x9f5bec(0x45e)]({'cfg':_0x7508ed[_0x9f5bec(0x41a)][_0x9f5bec(0x45e)]({'kdf':_0x10f8a1}),'encrypt':function(_0x29c22d,_0x27b70e,_0x3461eb,_0x877c2a){const _0x9dbf78=_0x9f5bec;_0x877c2a=this[_0x9dbf78(0x41a)][_0x9dbf78(0x45e)](_0x877c2a);var _0x4acc2a=_0x877c2a[_0x9dbf78(0x2be)][_0x9dbf78(0x26c)](_0x3461eb,_0x29c22d[_0x9dbf78(0x401)],_0x29c22d[_0x9dbf78(0x3e7)],_0x877c2a[_0x9dbf78(0x30c)],_0x877c2a['hasher']);_0x877c2a['iv']=_0x4acc2a['iv'];var _0x30e8fe=_0x7508ed[_0x9dbf78(0x26e)][_0x9dbf78(0x321)](this,_0x29c22d,_0x27b70e,_0x4acc2a['key'],_0x877c2a);return _0x30e8fe['mixIn'](_0x4acc2a),_0x30e8fe;},'decrypt':function(_0x5d9ed4,_0x3266d3,_0x3503fa,_0x3ba2e1){const _0x5c2827=_0x9f5bec;_0x3ba2e1=this[_0x5c2827(0x41a)][_0x5c2827(0x45e)](_0x3ba2e1),_0x3266d3=this[_0x5c2827(0x193)](_0x3266d3,_0x3ba2e1['format']);var _0x2069d6=_0x3ba2e1[_0x5c2827(0x2be)][_0x5c2827(0x26c)](_0x3503fa,_0x5d9ed4[_0x5c2827(0x401)],_0x5d9ed4[_0x5c2827(0x3e7)],_0x3266d3[_0x5c2827(0x30c)],_0x3ba2e1[_0x5c2827(0x257)]);_0x3ba2e1['iv']=_0x2069d6['iv'];var _0xf84be1=_0x7508ed[_0x5c2827(0x2cd)][_0x5c2827(0x321)](this,_0x5d9ed4,_0x3266d3,_0x2069d6[_0x5c2827(0x30e)],_0x3ba2e1);return _0xf84be1;}});}();}));}(qt)),qt[_0x299d37(0x58c)];}(function(_0x59a562,_0x2cfa03){(function(_0x469b76,_0x19a9da,_0x267aa1){_0x59a562['exports']=_0x19a9da(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0xa687af){const _0xdf0612=_0x5d6c;return(function(){const _0x2117f0=_0x5d6c;var _0x255290=_0xa687af,_0x2e4754=_0x255290['lib'],_0x1d4459=_0x2e4754[_0x2117f0(0x25c)],_0x160f81=_0x255290[_0x2117f0(0x3cd)],_0x3a527d=[],_0x2c5d21=[],_0x975da8=[],_0x22f273=[],_0xb26bbc=[],_0x14bb46=[],_0x5cde75=[],_0x541e12=[],_0xfd2cd6=[],_0x37ab5b=[];(function(){for(var _0x11d098=[],_0x32db83=0x0;_0x32db83<0x100;_0x32db83++)_0x32db83<0x80?_0x11d098[_0x32db83]=_0x32db83<<0x1:_0x11d098[_0x32db83]=_0x32db83<<0x1^0x11b;for(var _0x569648=0x0,_0x4e5092=0x0,_0x32db83=0x0;_0x32db83<0x100;_0x32db83++){var _0x568021=_0x4e5092^_0x4e5092<<0x1^_0x4e5092<<0x2^_0x4e5092<<0x3^_0x4e5092<<0x4;_0x568021=_0x568021>>>0x8^_0x568021&0xff^0x63,_0x3a527d[_0x569648]=_0x568021,_0x2c5d21[_0x568021]=_0x569648;var _0x229e34=_0x11d098[_0x569648],_0x637235=_0x11d098[_0x229e34],_0x2e11dc=_0x11d098[_0x637235],_0x4bd884=_0x11d098[_0x568021]*0x101^_0x568021*0x1010100;_0x975da8[_0x569648]=_0x4bd884<<0x18|_0x4bd884>>>0x8,_0x22f273[_0x569648]=_0x4bd884<<0x10|_0x4bd884>>>0x10,_0xb26bbc[_0x569648]=_0x4bd884<<0x8|_0x4bd884>>>0x18,_0x14bb46[_0x569648]=_0x4bd884;var _0x4bd884=_0x2e11dc*0x1010101^_0x637235*0x10001^_0x229e34*0x101^_0x569648*0x1010100;_0x5cde75[_0x568021]=_0x4bd884<<0x18|_0x4bd884>>>0x8,_0x541e12[_0x568021]=_0x4bd884<<0x10|_0x4bd884>>>0x10,_0xfd2cd6[_0x568021]=_0x4bd884<<0x8|_0x4bd884>>>0x18,_0x37ab5b[_0x568021]=_0x4bd884,_0x569648?(_0x569648=_0x229e34^_0x11d098[_0x11d098[_0x11d098[_0x2e11dc^_0x229e34]]],_0x4e5092^=_0x11d098[_0x11d098[_0x4e5092]]):_0x569648=_0x4e5092=0x1;}}());var _0x3fcd6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x29962b=_0x160f81[_0x2117f0(0x493)]=_0x1d4459[_0x2117f0(0x45e)]({'_doReset':function(){const _0x3a7274=_0x2117f0;var _0x2e58e1;if(!(this[_0x3a7274(0x1ae)]&&this[_0x3a7274(0x540)]===this[_0x3a7274(0x273)])){for(var _0x446700=this['_keyPriorReset']=this[_0x3a7274(0x273)],_0x298eed=_0x446700['words'],_0x254998=_0x446700['sigBytes']/0x4,_0x1107f8=this[_0x3a7274(0x1ae)]=_0x254998+0x6,_0x339b40=(_0x1107f8+0x1)*0x4,_0x48f2cd=this['_keySchedule']=[],_0x508f51=0x0;_0x508f51<_0x339b40;_0x508f51++)_0x508f51<_0x254998?_0x48f2cd[_0x508f51]=_0x298eed[_0x508f51]:(_0x2e58e1=_0x48f2cd[_0x508f51-0x1],_0x508f51%_0x254998?_0x254998>0x6&&_0x508f51%_0x254998==0x4&&(_0x2e58e1=_0x3a527d[_0x2e58e1>>>0x18]<<0x18|_0x3a527d[_0x2e58e1>>>0x10&0xff]<<0x10|_0x3a527d[_0x2e58e1>>>0x8&0xff]<<0x8|_0x3a527d[_0x2e58e1&0xff]):(_0x2e58e1=_0x2e58e1<<0x8|_0x2e58e1>>>0x18,_0x2e58e1=_0x3a527d[_0x2e58e1>>>0x18]<<0x18|_0x3a527d[_0x2e58e1>>>0x10&0xff]<<0x10|_0x3a527d[_0x2e58e1>>>0x8&0xff]<<0x8|_0x3a527d[_0x2e58e1&0xff],_0x2e58e1^=_0x3fcd6b[_0x508f51/_0x254998|0x0]<<0x18),_0x48f2cd[_0x508f51]=_0x48f2cd[_0x508f51-_0x254998]^_0x2e58e1);for(var _0x22d2ab=this[_0x3a7274(0x565)]=[],_0x1937f5=0x0;_0x1937f5<_0x339b40;_0x1937f5++){var _0x508f51=_0x339b40-_0x1937f5;if(_0x1937f5%0x4)var _0x2e58e1=_0x48f2cd[_0x508f51];else var _0x2e58e1=_0x48f2cd[_0x508f51-0x4];_0x1937f5<0x4||_0x508f51<=0x4?_0x22d2ab[_0x1937f5]=_0x2e58e1:_0x22d2ab[_0x1937f5]=_0x5cde75[_0x3a527d[_0x2e58e1>>>0x18]]^_0x541e12[_0x3a527d[_0x2e58e1>>>0x10&0xff]]^_0xfd2cd6[_0x3a527d[_0x2e58e1>>>0x8&0xff]]^_0x37ab5b[_0x3a527d[_0x2e58e1&0xff]];}}},'encryptBlock':function(_0x4a72ab,_0x2b9f46){const _0x4ca24e=_0x2117f0;this[_0x4ca24e(0x598)](_0x4a72ab,_0x2b9f46,this[_0x4ca24e(0x4ca)],_0x975da8,_0x22f273,_0xb26bbc,_0x14bb46,_0x3a527d);},'decryptBlock':function(_0x13a420,_0x272e67){const _0x47f877=_0x2117f0;var _0x12ad48=_0x13a420[_0x272e67+0x1];_0x13a420[_0x272e67+0x1]=_0x13a420[_0x272e67+0x3],_0x13a420[_0x272e67+0x3]=_0x12ad48,this[_0x47f877(0x598)](_0x13a420,_0x272e67,this['_invKeySchedule'],_0x5cde75,_0x541e12,_0xfd2cd6,_0x37ab5b,_0x2c5d21);var _0x12ad48=_0x13a420[_0x272e67+0x1];_0x13a420[_0x272e67+0x1]=_0x13a420[_0x272e67+0x3],_0x13a420[_0x272e67+0x3]=_0x12ad48;},'_doCryptBlock':function(_0x4b1d90,_0x3ae56b,_0x4fc566,_0x226d94,_0x52ffbc,_0x57edd5,_0x2adfc4,_0x34c5db){const _0x3061a6=_0x2117f0;for(var _0x294b24=this[_0x3061a6(0x1ae)],_0x234dd6=_0x4b1d90[_0x3ae56b]^_0x4fc566[0x0],_0x5e4bff=_0x4b1d90[_0x3ae56b+0x1]^_0x4fc566[0x1],_0x106440=_0x4b1d90[_0x3ae56b+0x2]^_0x4fc566[0x2],_0x40ceb5=_0x4b1d90[_0x3ae56b+0x3]^_0x4fc566[0x3],_0x451b25=0x4,_0x56ca0c=0x1;_0x56ca0c<_0x294b24;_0x56ca0c++){var _0x3fa57b=_0x226d94[_0x234dd6>>>0x18]^_0x52ffbc[_0x5e4bff>>>0x10&0xff]^_0x57edd5[_0x106440>>>0x8&0xff]^_0x2adfc4[_0x40ceb5&0xff]^_0x4fc566[_0x451b25++],_0x46012d=_0x226d94[_0x5e4bff>>>0x18]^_0x52ffbc[_0x106440>>>0x10&0xff]^_0x57edd5[_0x40ceb5>>>0x8&0xff]^_0x2adfc4[_0x234dd6&0xff]^_0x4fc566[_0x451b25++],_0x46fe63=_0x226d94[_0x106440>>>0x18]^_0x52ffbc[_0x40ceb5>>>0x10&0xff]^_0x57edd5[_0x234dd6>>>0x8&0xff]^_0x2adfc4[_0x5e4bff&0xff]^_0x4fc566[_0x451b25++],_0x33de06=_0x226d94[_0x40ceb5>>>0x18]^_0x52ffbc[_0x234dd6>>>0x10&0xff]^_0x57edd5[_0x5e4bff>>>0x8&0xff]^_0x2adfc4[_0x106440&0xff]^_0x4fc566[_0x451b25++];_0x234dd6=_0x3fa57b,_0x5e4bff=_0x46012d,_0x106440=_0x46fe63,_0x40ceb5=_0x33de06;}var _0x3fa57b=(_0x34c5db[_0x234dd6>>>0x18]<<0x18|_0x34c5db[_0x5e4bff>>>0x10&0xff]<<0x10|_0x34c5db[_0x106440>>>0x8&0xff]<<0x8|_0x34c5db[_0x40ceb5&0xff])^_0x4fc566[_0x451b25++],_0x46012d=(_0x34c5db[_0x5e4bff>>>0x18]<<0x18|_0x34c5db[_0x106440>>>0x10&0xff]<<0x10|_0x34c5db[_0x40ceb5>>>0x8&0xff]<<0x8|_0x34c5db[_0x234dd6&0xff])^_0x4fc566[_0x451b25++],_0x46fe63=(_0x34c5db[_0x106440>>>0x18]<<0x18|_0x34c5db[_0x40ceb5>>>0x10&0xff]<<0x10|_0x34c5db[_0x234dd6>>>0x8&0xff]<<0x8|_0x34c5db[_0x5e4bff&0xff])^_0x4fc566[_0x451b25++],_0x33de06=(_0x34c5db[_0x40ceb5>>>0x18]<<0x18|_0x34c5db[_0x234dd6>>>0x10&0xff]<<0x10|_0x34c5db[_0x5e4bff>>>0x8&0xff]<<0x8|_0x34c5db[_0x106440&0xff])^_0x4fc566[_0x451b25++];_0x4b1d90[_0x3ae56b]=_0x3fa57b,_0x4b1d90[_0x3ae56b+0x1]=_0x46012d,_0x4b1d90[_0x3ae56b+0x2]=_0x46fe63,_0x4b1d90[_0x3ae56b+0x3]=_0x33de06;},'keySize':0x100/0x20});_0x255290['AES']=_0x1d4459[_0x2117f0(0x282)](_0x29962b);}()),_0xa687af[_0xdf0612(0x493)];}));}(ji));var $a=ji[_0x29204f(0x58c)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x45907f,_0xb58fec){(function(_0x1973f8,_0x3955d1){_0x45907f['exports']=_0x3955d1(ue());}(Z,function(_0x35335b){const _0x35dc99=_0x5d6c;return _0x35335b[_0x35dc99(0x197)][_0x35dc99(0x3e9)];}));}(Fi));var Ba=Fi[_0x29204f(0x58c)];const ka=at(Ba);var Vi={'exports':{}};(function(_0x35052d,_0x57b767){(function(_0x2f63cd,_0x332b9e){const _0x363859=_0x5d6c;_0x35052d[_0x363859(0x58c)]=_0x332b9e(ue());}(Z,function(_0x42c1b7){const _0x9db5cb=_0x5d6c;return(function(){const _0x47a82f=_0x5d6c;if(typeof ArrayBuffer==_0x47a82f(0x1c3)){var _0x1bf01e=_0x42c1b7,_0x4c9457=_0x1bf01e[_0x47a82f(0x380)],_0x585584=_0x4c9457[_0x47a82f(0x4c6)],_0x136530=_0x585584[_0x47a82f(0x195)],_0x4ed1b9=_0x585584[_0x47a82f(0x195)]=function(_0x2ba8dd){const _0x4300c4=_0x47a82f;if(_0x2ba8dd instanceof ArrayBuffer&&(_0x2ba8dd=new Uint8Array(_0x2ba8dd)),(_0x2ba8dd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2ba8dd instanceof Uint8ClampedArray||_0x2ba8dd instanceof Int16Array||_0x2ba8dd instanceof Uint16Array||_0x2ba8dd instanceof Int32Array||_0x2ba8dd instanceof Uint32Array||_0x2ba8dd instanceof Float32Array||_0x2ba8dd instanceof Float64Array)&&(_0x2ba8dd=new Uint8Array(_0x2ba8dd[_0x4300c4(0x4c7)],_0x2ba8dd[_0x4300c4(0x28a)],_0x2ba8dd[_0x4300c4(0x4f1)])),_0x2ba8dd instanceof Uint8Array){for(var _0x25d5f7=_0x2ba8dd[_0x4300c4(0x4f1)],_0x1268d8=[],_0x5aa20e=0x0;_0x5aa20e<_0x25d5f7;_0x5aa20e++)_0x1268d8[_0x5aa20e>>>0x2]|=_0x2ba8dd[_0x5aa20e]<<0x18-_0x5aa20e%0x4*0x8;_0x136530[_0x4300c4(0x321)](this,_0x1268d8,_0x25d5f7);}else _0x136530['apply'](this,arguments);};_0x4ed1b9['prototype']=_0x585584;}}()),_0x42c1b7[_0x9db5cb(0x380)]['WordArray'];}));}(Vi));var Wa=Vi[_0x29204f(0x58c)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x408cac,_0x3ab213){(function(_0x3ab4d8,_0x235b6f,_0x1c0c2b){const _0xa20327=_0x5d6c;_0x408cac[_0xa20327(0x58c)]=_0x235b6f(ue(),Wi());}(Z,function(_0x105739){const _0x4d9c31=_0x5d6c;return _0x105739[_0x4d9c31(0x4c4)][_0x4d9c31(0x23d)]={'pad':function(){},'unpad':function(){}},_0x105739[_0x4d9c31(0x4c4)]['NoPadding'];}));}(Gi));var Va=Gi[_0x29204f(0x58c)];const Ga=at(Va);function Ya(_0x245024,_0x5e6009){const _0x180c77=_0x29204f,_0x12f171=_0x5e6009-_0x245024[_0x180c77(0x2f0)]%_0x5e6009,_0x4b3cb5=String[_0x180c77(0x403)](_0x12f171)[_0x180c77(0x3dc)](_0x12f171);return _0x245024+_0x4b3cb5;}function Ka(_0x14942c,_0x5a911c){const _0x4c9d6a=_0x29204f,_0x58bcd7=Fa[_0x4c9d6a(0x1ac)](0x10),_0xa1012c=Ya(_0x14942c,0x10),_0x22ff7f=Ha[_0x4c9d6a(0x26e)](ka[_0x4c9d6a(0x23a)](_0xa1012c),ii['parse'](_0x5a911c),{'iv':_0x58bcd7,'padding':Ga});return _0x58bcd7['concat'](_0x22ff7f[_0x4c9d6a(0x47b)])['toString'](ii);}function za(){const _0x1afd6a=_0x29204f,_0xbb687=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1afd6a(0x20e)];if(_0xbb687){const _0x10a6da={'time':Math[_0x1afd6a(0x2e0)](Date[_0x1afd6a(0x3f8)]()/0x3e8),'domain':location[_0x1afd6a(0x569)]};return Ka(JSON[_0x1afd6a(0x4bf)](_0x10a6da),_0xbb687);}}var qa=Object[_0x29204f(0x51a)],Xa=Object[_0x29204f(0x424)],Ja=(_0x34a1f8,_0x4c1810,_0x6830ff,_0x17d091)=>{const _0x5140f9=_0x29204f;for(var _0x5e66b6=_0x17d091>0x1?void 0x0:_0x17d091?Xa(_0x4c1810,_0x6830ff):_0x4c1810,_0x5d9203=_0x34a1f8[_0x5140f9(0x2f0)]-0x1,_0x559b0d;_0x5d9203>=0x0;_0x5d9203--)(_0x559b0d=_0x34a1f8[_0x5d9203])&&(_0x5e66b6=(_0x17d091?_0x559b0d(_0x4c1810,_0x6830ff,_0x5e66b6):_0x559b0d(_0x5e66b6))||_0x5e66b6);return _0x17d091&&_0x5e66b6&&qa(_0x4c1810,_0x6830ff,_0x5e66b6),_0x5e66b6;},Za=(_0x287b7e,_0x2d5ffb)=>(_0x3ee759,_0x50a6b0)=>_0x2d5ffb(_0x3ee759,_0x50a6b0,_0x287b7e);let Tt=class{constructor(_0x10789e){const _0x356fa9=_0x29204f;this[_0x356fa9(0x3ef)]=_0x10789e,this[_0x356fa9(0x302)]();}['_initRequestHeader'](){const _0x23486d=_0x29204f;this[_0x23486d(0x3ef)][_0x23486d(0x3e4)]({'interceptor':(_0x4054cd,_0xf0d174)=>{const _0x369bd1=_0x23486d,_0x433822=_0x4054cd[_0x369bd1(0x419)],_0x50ffbb=za();return _0x50ffbb&&_0x433822[_0x369bd1(0x4b7)](_0x369bd1(0x2a6),_0x50ffbb),_0xf0d174(_0x4054cd);}});}};Tt=Ja([Za(0x0,_0x31a227(_0x6042f))],Tt);var Qa=Object['defineProperty'],ec=Object[_0x29204f(0x424)],tc=(_0x1c8f75,_0x187a3f,_0x595aa4,_0x4f68bf)=>{const _0x1f893a=_0x29204f;for(var _0x486885=_0x4f68bf>0x1?void 0x0:_0x4f68bf?ec(_0x187a3f,_0x595aa4):_0x187a3f,_0x386ac3=_0x1c8f75[_0x1f893a(0x2f0)]-0x1,_0x78e96c;_0x386ac3>=0x0;_0x386ac3--)(_0x78e96c=_0x1c8f75[_0x386ac3])&&(_0x486885=(_0x4f68bf?_0x78e96c(_0x187a3f,_0x595aa4,_0x486885):_0x78e96c(_0x486885))||_0x486885);return _0x4f68bf&&_0x486885&&Qa(_0x187a3f,_0x595aa4,_0x486885),_0x486885;},Xt=(_0x1e2c85,_0x147f64)=>(_0x3c222f,_0x5c887e)=>_0x147f64(_0x3c222f,_0x5c887e,_0x1e2c85);const sc=[_0x29204f(0x275),_0x29204f(0x1a7),_0x29204f(0x345),'image/gif',_0x29204f(0x1e9)],ic=0x5*0x400*0x400,nc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rc='/universer-api/stream/file/upload',oc=_0x29204f(0x449),ac=_0x29204f(0x43a);let hs=class{constructor(_0x1f2ce9,_0x285230,_0x52131e){const _0x26b7a9=_0x29204f;g(this,_0x26b7a9(0x467),0x0),g(this,_0x26b7a9(0x46e),new _0x5c0e09()),g(this,_0x26b7a9(0x217),this[_0x26b7a9(0x46e)]),g(this,_0x26b7a9(0x480),new Map()),(this[_0x26b7a9(0x3ef)]=_0x1f2ce9,this[_0x26b7a9(0x2d6)]=_0x285230,this['_univerInstanceService']=_0x52131e);}['setWaitCount'](_0xad10b3){const _0xc9daee=_0x29204f;this[_0xc9daee(0x467)]=_0xad10b3,this[_0xc9daee(0x46e)][_0xc9daee(0x27a)](_0xad10b3);}[_0x29204f(0x451)](_0x597895,_0x1517db){const _0x19aca2=_0x29204f;if(_0x1517db===_0x12208b[_0x19aca2(0x264)]){const _0x2703ed=new Image();return _0x2703ed[_0x19aca2(0x447)]=_0x597895,_0x2703ed;}return this[_0x19aca2(0x480)][_0x19aca2(0x19e)](_0x597895);}['addImageSourceCache'](_0x2ad06e,_0x2a6261,_0x2e21c4){const _0x4f04e6=_0x29204f;_0x2a6261===_0x12208b[_0x4f04e6(0x264)]||_0x2e21c4==null||this[_0x4f04e6(0x480)][_0x4f04e6(0x4b7)](_0x2ad06e,_0x2e21c4);}async[_0x29204f(0x4b1)](_0x1ba923){const _0x530f4e=_0x29204f;try{const _0x254903=this[_0x530f4e(0x485)](this[_0x530f4e(0x445)](),''+_0x1ba923),_0x5b2355=(await this[_0x530f4e(0x3ef)][_0x530f4e(0x19e)](_0x254903))[_0x530f4e(0x269)];if(_0x5b2355[_0x530f4e(0x5a3)]&&_0x5b2355['error'][_0x530f4e(0x221)]===Ri['OK']){const _0x72c31d=new URL(_0x5b2355[_0x530f4e(0x48c)],this[_0x530f4e(0x253)]())[_0x530f4e(0x1b5)]();return Promise[_0x530f4e(0x5a1)](_0x72c31d);}return Promise['reject'](_0x5b2355[_0x530f4e(0x5a3)]);}catch(_0x37c7ae){return Promise[_0x530f4e(0x1ef)](_0x37c7ae);}}async[_0x29204f(0x213)](_0x9cc475){const _0x152ee8=_0x29204f;let _0x549bf9='';if(!sc[_0x152ee8(0x40a)](_0x9cc475[_0x152ee8(0x267)]))return this[_0x152ee8(0x271)](),Promise[_0x152ee8(0x1ef)](new Error(_0x1ae38a[_0x152ee8(0x3bc)]));if(_0x9cc475[_0x152ee8(0x48a)]>ic)return this['_decreaseWaiting'](),Promise[_0x152ee8(0x1ef)](new Error(_0x1ae38a[_0x152ee8(0x347)]));try{const _0x14e3d6=new FormData();_0x14e3d6['append'](_0x152ee8(0x318),_0x9cc475);const _0x17a715=this[_0x152ee8(0x472)][_0x152ee8(0x48b)](),_0x57d952=_0x17a715==null?void 0x0:_0x17a715['getUnitId']();if(!_0x57d952)throw new Error('unitId\x20is\x20not\x20found');const _0x1fef5e=this[_0x152ee8(0x3f2)]()+'?size='+_0x9cc475['size'][_0x152ee8(0x1b5)]()+_0x152ee8(0x582)+yi[_0x152ee8(0x59b)]+_0x152ee8(0x498)+encodeURIComponent(_0x57d952),_0x52653f=await(await fetch(_0x1fef5e,{'method':_0x152ee8(0x439),'body':_0x14e3d6}))[_0x152ee8(0x222)]();if(typeof _0x52653f[_0x152ee8(0x547)]!=_0x152ee8(0x46f))return this[_0x152ee8(0x271)](),Promise[_0x152ee8(0x1ef)](new Error(_0x1ae38a[_0x152ee8(0x54d)]));_0x549bf9=_0x52653f[_0x152ee8(0x547)];}catch{return this['_decreaseWaiting'](),Promise[_0x152ee8(0x1ef)](new Error(_0x1ae38a[_0x152ee8(0x54d)]));}return new Promise((_0x1e57ec,_0x51f744)=>{const _0x1c23cf=_0x152ee8,_0x47b86c=new FileReader();_0x47b86c[_0x1c23cf(0x594)](_0x9cc475),_0x47b86c[_0x1c23cf(0x261)]=_0x314b73=>{const _0x561c21=_0x1c23cf;var _0x3284fb;const _0x569d4c=(_0x3284fb=_0x314b73['target'])==null?void 0x0:_0x3284fb[_0x561c21(0x2a4)];if(_0x569d4c==null){this[_0x561c21(0x271)](),_0x51f744(new Error(_0x1ae38a[_0x561c21(0x54d)]));return;}const _0x19f9d8=_0x572bca[_0x561c21(0x584)](0x6);_0x1e57ec({'imageId':_0x19f9d8,'imageSourceType':_0x12208b[_0x561c21(0x59f)],'source':_0x549bf9,'base64Cache':_0x569d4c,'status':_0x1ae38a[_0x561c21(0x49a)]}),this['_decreaseWaiting']();};});}[_0x29204f(0x3f2)](){const _0x282a10=_0x29204f;var _0x25330d,_0x3292c3;const _0x2a7c0e=this[_0x282a10(0x2d6)][_0x282a10(0x4c3)](nc),_0x45b996=this[_0x282a10(0x2d6)]['getConfig'](ie);return(_0x3292c3=(_0x25330d=_0x45b996==null?void 0x0:_0x45b996['uploadFileServerUrl'])!=null?_0x25330d:_0x2a7c0e)!=null?_0x3292c3:rc;}[_0x29204f(0x445)](){const _0x35150c=_0x29204f;var _0x2f2491,_0x16c239;const _0x5498f5=this['_configService']['getConfig'](oc),_0x188b9c=this[_0x35150c(0x2d6)]['getConfig'](ie);return(_0x16c239=(_0x2f2491=_0x188b9c==null?void 0x0:_0x188b9c[_0x35150c(0x327)])!=null?_0x2f2491:_0x5498f5)!=null?_0x16c239:ac;}[_0x29204f(0x253)](){const _0x217b67=_0x29204f;var _0x512169;const _0x5ce282=this[_0x217b67(0x2d6)]['getConfig'](ie);return(_0x512169=_0x5ce282==null?void 0x0:_0x5ce282['downloadEndpointUrl'])!=null?_0x512169:location[_0x217b67(0x300)];}[_0x29204f(0x485)](_0x3c9185,_0x13f1ce){const _0x4947b4=_0x29204f;return _0x3c9185[_0x4947b4(0x427)](_0x4947b4(0x377),_0x13f1ce);}['_decreaseWaiting'](){const _0x10a7d1=_0x29204f;this[_0x10a7d1(0x467)]-=0x1,this['_change$'][_0x10a7d1(0x27a)](this[_0x10a7d1(0x467)]);}};hs=tc([Xt(0x0,_0x31a227(_0x6042f)),Xt(0x1,_0x1d1963),Xt(0x2,_0x31a227(_0x1a11e5))],hs);var cc=Object['defineProperty'],hc=Object['getOwnPropertyDescriptor'],lc=(_0x54791e,_0x12f1b5,_0x3f00c1,_0x2cb7a4)=>{const _0x32080e=_0x29204f;for(var _0x2f82d2=_0x2cb7a4>0x1?void 0x0:_0x2cb7a4?hc(_0x12f1b5,_0x3f00c1):_0x12f1b5,_0x48501e=_0x54791e[_0x32080e(0x2f0)]-0x1,_0x32834e;_0x48501e>=0x0;_0x48501e--)(_0x32834e=_0x54791e[_0x48501e])&&(_0x2f82d2=(_0x2cb7a4?_0x32834e(_0x12f1b5,_0x3f00c1,_0x2f82d2):_0x32834e(_0x2f82d2))||_0x2f82d2);return _0x2cb7a4&&_0x2f82d2&&cc(_0x12f1b5,_0x3f00c1,_0x2f82d2),_0x2f82d2;},Qe=(_0x2f4fde,_0x51abe1)=>(_0x3c00a7,_0x1e1a90)=>_0x51abe1(_0x3c00a7,_0x1e1a90,_0x2f4fde);let Rt=class extends _0x3823d2{constructor(_0x2e0369,_0x4c5bc9,_0xd8da0d,_0x38e46f,_0x1abdd5){const _0x4a5e51=_0x29204f;super(),this[_0x4a5e51(0x501)]=_0x2e0369,this[_0x4a5e51(0x472)]=_0x4c5bc9,this[_0x4a5e51(0x486)]=_0xd8da0d,this['_collaborationSessionService']=_0x38e46f,this[_0x4a5e51(0x1ab)]=_0x1abdd5,this[_0x4a5e51(0x4b5)](),this[_0x4a5e51(0x599)]();}[_0x29204f(0x599)](){const _0x115d89=_0x29204f,_0x2c8a5d=async _0x3b045b=>{const _0xe7a640=_0x5d6c;(await this[_0xe7a640(0x54a)]['requireSession'](_0x3b045b))[_0xe7a640(0x190)]['pipe'](_0xeba3c2(_0x20af68=>_0x20af68[_0xe7a640(0x4dd)]===_0x4bdbff[_0xe7a640(0x23f)]),_0xa64c87(this['dispose$']))[_0xe7a640(0x388)](_0x434560=>{const _0x10abde=_0xe7a640,_0x47e536=_0x434560,{reason:_0x3fe4a8}=_0x47e536[_0x10abde(0x1af)];this[_0x10abde(0x501)][_0x10abde(0x19e)](_0x5d8f55)[_0x10abde(0x4ad)]({'type':_0x11c8f7[_0x10abde(0x428)],'content':this[_0x10abde(0x1ab)]['t']('collaboration.closeRoom')+'('+_0x3fe4a8+')'}),this[_0x10abde(0x486)][_0x10abde(0x36d)](new _0x1a85fe(_0x3b045b)['id'],!0x1),this[_0x10abde(0x54a)]['closeSession'](_0x3b045b);});};_0x5924a9(this[_0x115d89(0x472)][_0x115d89(0x543)](_0x5e8949[_0x115d89(0x27e)]),this[_0x115d89(0x472)][_0x115d89(0x543)](_0x5e8949['UNIVER_DOC']))[_0x115d89(0x457)](_0x2057c1(_0x151b8d=>_0x151b8d[_0x115d89(0x335)]()),_0xeba3c2(_0x2ee2e2=>!_0x157358(_0x2ee2e2)),_0xa64c87(this[_0x115d89(0x58b)]))[_0x115d89(0x388)](_0xdaf5e8=>{_0x2c8a5d(_0xdaf5e8);});}[_0x29204f(0x4b5)](){const _0x221fe3=_0x29204f,_0x18eefd=async _0xff45b4=>{const _0x25f0ef=_0x5d6c;(await this[_0x25f0ef(0x54a)]['requireSession'](_0xff45b4))[_0x25f0ef(0x190)]['pipe'](_0xeba3c2(_0x547e1d=>_0x547e1d[_0x25f0ef(0x4dd)]===_0x4bdbff[_0x25f0ef(0x431)]),_0xa64c87(this[_0x25f0ef(0x58b)]))['subscribe'](_0x598f17=>{const _0x45d174=_0x25f0ef,_0x3719f4=_0x598f17,{objectId:_0x1c0bee}=_0x3719f4[_0x45d174(0x1af)],_0x3ecbd5=this[_0x45d174(0x501)][_0x45d174(0x19e)](_0x589a77);_0x1c0bee===_0xff45b4?_0x3ecbd5[_0x45d174(0x2ad)](_0xff45b4):_0x3ecbd5[_0x45d174(0x2c3)](_0xff45b4,_0x1c0bee);});};_0x5924a9(this[_0x221fe3(0x472)][_0x221fe3(0x543)](_0x5e8949[_0x221fe3(0x27e)]),this['_univerInstanceService'][_0x221fe3(0x543)](_0x5e8949[_0x221fe3(0x3e8)]))[_0x221fe3(0x457)](_0x2057c1(_0x348065=>_0x348065[_0x221fe3(0x335)]()),_0xeba3c2(_0x300abe=>!_0x157358(_0x300abe)),_0xa64c87(this['dispose$']))['subscribe'](_0x808980=>{_0x18eefd(_0x808980);});}};Rt=lc([Qe(0x0,_0x31a227(_0x3ada64)),Qe(0x1,_0x1a11e5),Qe(0x2,_0x532950),Qe(0x3,_0x31a227(Ae)),Qe(0x4,_0x31a227(_0x3da7c2))],Rt);var _c=Object[_0x29204f(0x51a)],uc=Object[_0x29204f(0x424)],dc=(_0x9868ad,_0x5b07c1,_0x3b27da,_0x218a69)=>{const _0x9c37cb=_0x29204f;for(var _0x2fa63a=_0x218a69>0x1?void 0x0:_0x218a69?uc(_0x5b07c1,_0x3b27da):_0x5b07c1,_0x450a2=_0x9868ad[_0x9c37cb(0x2f0)]-0x1,_0x3af6cc;_0x450a2>=0x0;_0x450a2--)(_0x3af6cc=_0x9868ad[_0x450a2])&&(_0x2fa63a=(_0x218a69?_0x3af6cc(_0x5b07c1,_0x3b27da,_0x2fa63a):_0x3af6cc(_0x2fa63a))||_0x2fa63a);return _0x218a69&&_0x2fa63a&&_c(_0x5b07c1,_0x3b27da,_0x2fa63a),_0x2fa63a;},ni=(_0xdb3a5a,_0x3e52f6)=>(_0x59022f,_0x13839c)=>_0x3e52f6(_0x59022f,_0x13839c,_0xdb3a5a);let ls=class{constructor(_0x4d1d17,_0x9fc169){this['_configService']=_0x4d1d17,this['_httpService']=_0x9fc169;}async[_0x29204f(0x5a5)](_0x4da05f,_0x16e79f){const _0x1e4bc0=_0x29204f;var _0x38e9d4;const {unitID:_0x5eab50,type:_0x3770bb,revision:_0x5d8c6f=0x0}=_0x16e79f,_0x58e917=this[_0x1e4bc0(0x3b2)]()+'/'+_0x3770bb+_0x1e4bc0(0x520)+_0x5eab50+_0x1e4bc0(0x406)+_0x5d8c6f,_0x5342a8=(await this['_httpService'][_0x1e4bc0(0x19e)](_0x58e917))[_0x1e4bc0(0x269)],_0x589c43=(_0x38e9d4=_0x5342a8['snapshot'])==null?void 0x0:_0x38e9d4[_0x1e4bc0(0x50b)];if(_0x589c43){const _0x514b8d=_0x589c43==null?void 0x0:_0x589c43[_0x1e4bc0(0x3ed)],_0x1b9ac5=_0x14238e['encode'](_0x8f9bda(_0x514b8d));_0x589c43[_0x1e4bc0(0x3ed)]=_0x1b9ac5,Object['entries'](_0x589c43[_0x1e4bc0(0x30f)])[_0x1e4bc0(0x4a0)](([,_0x307a7a])=>{const _0x772dad=_0x1e4bc0,_0x1dd329=_0x307a7a['originalMeta'],_0x625058=_0x14238e[_0x772dad(0x487)](_0x8f9bda(_0x1dd329));_0x307a7a[_0x772dad(0x3ed)]=_0x625058;});}return _0x5342a8;}async['getSheetBlock'](_0x528010,_0x462ad5){const _0x214d50=_0x29204f,{unitID:_0x376423,type:_0x22256f,blockID:_0x4c90d0}=_0x462ad5,_0x12a58f=this[_0x214d50(0x31b)]()+'/'+_0x22256f+_0x214d50(0x520)+_0x376423+'/block/'+_0x4c90d0;return(await this['_httpService']['get'](_0x12a58f))['body'];}async[_0x29204f(0x1e8)](_0x25f0dc,_0x291909){const _0x3ec443=_0x29204f,{unitID:_0x1b593f,type:_0x2bd03b,blockID:_0x12a817}=_0x291909,_0x20d0c7=this[_0x3ec443(0x31b)]()+'/block/'+_0x2bd03b+_0x3ec443(0x520)+_0x1b593f+'/block/'+_0x12a817;return(await this[_0x3ec443(0x3ef)]['get'](_0x20d0c7))['body'];}async[_0x29204f(0x53c)](_0x55583e,_0xafe4e){const _0xaecbf1=_0x29204f,{unitID:_0x17b2d6,type:_0x149dbc,from:_0x4dffe5,to:_0x4b8464}=_0xafe4e,_0xa81107=this[_0xaecbf1(0x31b)]()+'/'+_0x149dbc+_0xaecbf1(0x520)+_0x17b2d6+_0xaecbf1(0x1bb)+_0x4dffe5+_0xaecbf1(0x3d3)+_0x4b8464;return(await this[_0xaecbf1(0x3ef)][_0xaecbf1(0x19e)](_0xa81107))[_0xaecbf1(0x269)];}['_getSnapshotAPIPrefix'](){const _0xb5a885=_0x29204f;var _0x268a97;return(_0x268a97=this[_0xb5a885(0x2d6)][_0xb5a885(0x4c3)](ar))!=null?_0x268a97:this[_0xb5a885(0x31b)]();}[_0x29204f(0x31b)](){const _0x4b1ad6=_0x29204f;var _0x29ef7f,_0x5817ec;const _0x2c6d22=this[_0x4b1ad6(0x2d6)][_0x4b1ad6(0x4c3)](rr),_0xe66a77=this[_0x4b1ad6(0x2d6)]['getConfig'](ie);return(_0x5817ec=(_0x29ef7f=_0xe66a77==null?void 0x0:_0xe66a77[_0x4b1ad6(0x3e0)])!=null?_0x29ef7f:_0x2c6d22)!=null?_0x5817ec:or;}async[_0x29204f(0x50f)](_0x4a27b7,_0x2ee8e6){const _0x1c3cc7=_0x29204f,_0x1d467e=_0x1c3cc7(0x3d9)+_0x2ee8e6[_0x1c3cc7(0x267)]+_0x1c3cc7(0x520)+_0x2ee8e6['unitID']+_0x1c3cc7(0x385);return(await this[_0x1c3cc7(0x3ef)][_0x1c3cc7(0x19e)](_0x1d467e,{'params':{'resourceId':JSON[_0x1c3cc7(0x4bf)](_0x2ee8e6[_0x1c3cc7(0x46a)])}}))[_0x1c3cc7(0x269)];}['saveSnapshot'](){const _0x576902=_0x29204f;throw new Error(_0x576902(0x505));}[_0x29204f(0x474)](){const _0x26635d=_0x29204f;throw new Error(_0x26635d(0x505));}['saveChangeset'](){const _0x2d4a27=_0x29204f;throw new Error(_0x2d4a27(0x505));}[_0x29204f(0x30d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x14700c=_0x29204f;throw new Error(_0x14700c(0x505));}};ls=dc([ni(0x0,_0x1d1963),ni(0x1,_0x31a227(_0x6042f))],ls);var fc=Object['defineProperty'],vc=Object[_0x29204f(0x424)],mc=(_0x262be6,_0x3dd1d2,_0x4123fb,_0x14e195)=>{const _0x14a863=_0x29204f;for(var _0x44d813=_0x14e195>0x1?void 0x0:_0x14e195?vc(_0x3dd1d2,_0x4123fb):_0x3dd1d2,_0x59149c=_0x262be6[_0x14a863(0x2f0)]-0x1,_0x47968e;_0x59149c>=0x0;_0x59149c--)(_0x47968e=_0x262be6[_0x59149c])&&(_0x44d813=(_0x14e195?_0x47968e(_0x3dd1d2,_0x4123fb,_0x44d813):_0x47968e(_0x44d813))||_0x44d813);return _0x14e195&&_0x44d813&&fc(_0x3dd1d2,_0x4123fb,_0x44d813),_0x44d813;},et=(_0x5ed491,_0x3066b9)=>(_0x5ba1ea,_0x1ce0aa)=>_0x3066b9(_0x5ba1ea,_0x1ce0aa,_0x5ed491);let _s=class extends _0x244295{constructor(_0xb4e5d2,_0x46b386,_0x28fdf3,_0x40006d,_0xf1fd0e){const _0x53cfb2=_0x29204f;super(_0xb4e5d2,_0x46b386,_0x28fdf3),this[_0x53cfb2(0x4a1)]=_0x40006d,this['_logService']=_0xf1fd0e;}[_0x29204f(0x53d)](_0x57109c,_0x253a82){const _0x1d9db6=_0x29204f,_0x321bae=this[_0x1d9db6(0x42f)](_0x57109c);if(_0x321bae)try{const _0x429862=this['_transformStack'](_0x321bae,_0x253a82);this[_0x1d9db6(0x590)](_0x57109c,_0x429862);}catch(_0x2faf43){this[_0x1d9db6(0x1a4)][_0x1d9db6(0x5a3)](_0x1d9db6(0x5a6),_0x2faf43),this[_0x1d9db6(0x336)](_0x57109c);}const _0x4981af=this[_0x1d9db6(0x3be)](_0x57109c);if(_0x4981af)try{const _0x25cd7f=this['_transformStack'](_0x4981af,_0x253a82);this[_0x1d9db6(0x344)](_0x57109c,_0x25cd7f);}catch(_0x4666e7){this[_0x1d9db6(0x1a4)][_0x1d9db6(0x5a3)](_0x4666e7),this['_clearRedo'](_0x57109c);}}['_clearUndo'](_0x456df9){const _0x59a8dc=_0x29204f,_0x11a967=this[_0x59a8dc(0x42f)](_0x456df9);_0x11a967&&(_0x11a967[_0x59a8dc(0x2f0)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x3f3f49){const _0x1b615f=_0x29204f,_0x2dd101=this[_0x1b615f(0x3be)](_0x3f3f49);_0x2dd101&&(_0x2dd101['length']=0x0,this[_0x1b615f(0x420)]());}[_0x29204f(0x590)](_0x56bd9e,_0x34ef8c){const _0x4e69=_0x29204f;this[_0x4e69(0x3df)][_0x4e69(0x4b7)](_0x56bd9e,_0x34ef8c),this[_0x4e69(0x420)]();}[_0x29204f(0x344)](_0x4a7e8b,_0x5b0bc2){const _0xb8da88=_0x29204f;this[_0xb8da88(0x194)][_0xb8da88(0x4b7)](_0x4a7e8b,_0x5b0bc2),this[_0xb8da88(0x420)]();}[_0x29204f(0x21b)](_0x2c4073,_0x273b64){const _0x243633=_0x29204f,_0x4f10c8=[];let _0x6b61ee=_0x273b64,_0x47edca=_0x273b64;for(let _0x3aaa7a=_0x2c4073['length']-0x1;_0x3aaa7a>=0x0;_0x3aaa7a--){const {unitID:_0x171070,undoMutations:_0x690808,redoMutations:_0x11df4a}=_0x2c4073[_0x3aaa7a],_0x544241=this[_0x243633(0x4a1)][_0x243633(0x28d)](_0x6b61ee,_0x690808),_0x4e2035=this[_0x243633(0x4a1)][_0x243633(0x28d)](_0x47edca,_0x11df4a);if(_0x4656b9(_0x544241)||_0x4656b9(_0x4e2035)){this[_0x243633(0x1a4)][_0x243633(0x5a3)](_0x243633(0x5a6),_0x243633(0x25e),_0x544241,_0x4e2035);break;}_0x6b61ee=_0x544241['c1Prime'],_0x47edca=_0x4e2035['c1Prime'],_0x4f10c8[_0x243633(0x523)]({'unitID':_0x171070,'undoMutations':_0x544241[_0x243633(0x4ee)],'redoMutations':_0x4e2035[_0x243633(0x4ee)]});}return _0x4f10c8[_0x243633(0x450)]();}};_s=mc([et(0x0,_0x1a11e5),et(0x1,_0x1f9396),et(0x2,_0x1d65ea),et(0x3,_0x5f49ec),et(0x4,_0x15baf7)],_s);class pc extends _0x3823d2{constructor(){const _0x38ddf6=_0x29204f;super(),g(this,_0x38ddf6(0x368)),this[_0x38ddf6(0x368)]=_0x43007f(window,_0x38ddf6(0x3fe))[_0x38ddf6(0x457)](_0x4b7102(this[_0x38ddf6(0x58b)]),_0x19bdf5(0x1),_0x13df20(void 0x0));}[_0x29204f(0x375)](_0x5731d4,_0x1a31fe,_0x38b719=!0x1){const _0x9efb74=_0x29204f,_0x309106=new URL(window[_0x9efb74(0x400)]['href']);_0x309106[_0x9efb74(0x597)][_0x9efb74(0x4b7)](_0x5731d4,_0x1a31fe),_0x38b719?window[_0x9efb74(0x3cb)][_0x9efb74(0x57d)]('','',_0x309106[_0x9efb74(0x1b5)]()):window[_0x9efb74(0x3cb)][_0x9efb74(0x22b)]('','',_0x309106['toString']());}[_0x29204f(0x3a2)](_0x294ece,_0x5767a8=!0x1){const _0x3bedc7=_0x29204f,_0x7104cf=new URL(window[_0x3bedc7(0x400)][_0x3bedc7(0x438)]);_0x7104cf['searchParams']['delete'](_0x294ece),_0x5767a8?window['history'][_0x3bedc7(0x57d)]('','',_0x7104cf[_0x3bedc7(0x1b5)]()):window[_0x3bedc7(0x3cb)]['pushState']('','',_0x7104cf[_0x3bedc7(0x1b5)]());}['getParam'](_0x534600){const _0xc91b97=_0x29204f;var _0x3a1b5f;return(_0x3a1b5f=new URL(window[_0xc91b97(0x400)][_0xc91b97(0x438)])[_0xc91b97(0x597)][_0xc91b97(0x19e)](_0x534600))!=null?_0x3a1b5f:void 0x0;}}var Yi=Object[_0x29204f(0x51a)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x517477,_0x27a5d4,_0x592ba2)=>_0x27a5d4 in _0x517477?Yi(_0x517477,_0x27a5d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x592ba2}):_0x517477[_0x27a5d4]=_0x592ba2,Ic=(_0x5686f1,_0x46f920,_0x5510e3,_0x16a8ca)=>{for(var _0x2c44c6=_0x16a8ca>0x1?void 0x0:_0x16a8ca?gc(_0x46f920,_0x5510e3):_0x46f920,_0x318d42=_0x5686f1['length']-0x1,_0x402882;_0x318d42>=0x0;_0x318d42--)(_0x402882=_0x5686f1[_0x318d42])&&(_0x2c44c6=(_0x16a8ca?_0x402882(_0x46f920,_0x5510e3,_0x2c44c6):_0x402882(_0x2c44c6))||_0x2c44c6);return _0x16a8ca&&_0x2c44c6&&Yi(_0x46f920,_0x5510e3,_0x2c44c6),_0x2c44c6;},_t=(_0x251d3a,_0x510f97)=>(_0xdfb6fc,_0x213ef7)=>_0x510f97(_0xdfb6fc,_0x213ef7,_0x251d3a),Cc=(_0x86af4e,_0x46951d,_0x418c98)=>Sc(_0x86af4e,_0x46951d+'',_0x418c98);const Ec=_0x29204f(0x359);let us=class extends _0x559f25{constructor(_0x19fa11=Er,_0x218a36,_0x270248,_0x1e9ce2,_0x237aa6){const _0x39334e=_0x29204f;super(),this[_0x39334e(0x488)]=_0x19fa11,this[_0x39334e(0x1a4)]=_0x218a36,this[_0x39334e(0x224)]=_0x270248,this['_injector']=_0x1e9ce2,this[_0x39334e(0x2d6)]=_0x237aa6;const {..._0x5e6b20}=this[_0x39334e(0x488)];this[_0x39334e(0x2d6)][_0x39334e(0x2c6)](ie,_0x5e6b20);}['onStarting'](){const _0x2a5153=_0x29204f;this[_0x2a5153(0x56c)](),this['_initDependencies']();}[_0x29204f(0x2b6)](){const _0x159344=_0x29204f;_0x225116(this[_0x159344(0x501)],[[Et]]);}[_0x29204f(0x2f7)](){const _0x3b7321=_0x29204f;this[_0x3b7321(0x36b)]();}[_0x29204f(0x56c)](){const _0x502aa4=_0x29204f;var _0x321f02,_0x45e8ff,_0x4a761f,_0x2bd79d;this[_0x502aa4(0x501)][_0x502aa4(0x246)](_0x2d7dca)&&this['_logService']['error'](_0x502aa4(0x245),_0x502aa4(0x572));const _0x262364=[[_0x2d7dca,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x2c6668],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x45e8ff=(_0x321f02=this[_0x502aa4(0x488)])==null?void 0x0:_0x321f02[_0x502aa4(0x24e)])!=null?_0x45e8ff:es}],[_0x361c65,{'useClass':ls}],[_0x144eae,{'useClass':cs}],[_0x3d3c63,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x4a761f=this[_0x502aa4(0x488)])!=null&&_0x4a761f[_0x502aa4(0x3bd)]&&_0x262364[_0x502aa4(0x523)]([yt,{'useClass':so}]),_0x59b5ce(this[_0x502aa4(0x501)],_0x463d11(_0x262364,(_0x2bd79d=this[_0x502aa4(0x488)])==null?void 0x0:_0x2bd79d[_0x502aa4(0x298)]));}[_0x29204f(0x36b)](){const _0x297023=_0x29204f;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x5e8949[_0x297023(0x3e8)],[os])),this['disposeWithMe'](this[_0x297023(0x224)]['registerRenderModule'](_0x5e8949[_0x297023(0x27e)],[as]));}[_0x29204f(0x402)](){const _0x5ee26a=_0x29204f;var _0x1ca4b9,_0x39cac6;this[_0x5ee26a(0x501)][_0x5ee26a(0x19e)](_0x6042f)[_0x5ee26a(0x3e4)]({'priority':0x14,'interceptor':_0x11508f({'maxParallel':0x6})}),(_0x1ca4b9=this[_0x5ee26a(0x488)])!=null&&_0x1ca4b9['enableOfflineEditing']||this['_injector'][_0x5ee26a(0x19e)](q)['disableLocalCache'](),(_0x39cac6=this[_0x5ee26a(0x488)])!=null&&_0x39cac6[_0x5ee26a(0x340)]&&_0x225116(this[_0x5ee26a(0x501)],[[bt]]),_0x225116(this[_0x5ee26a(0x501)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x29204f(0x379),Ec),us=Ic([_0x2a0661(_0x931006,_0x4f0b4e),_t(0x1,_0x15baf7),_t(0x2,_0x427763),_t(0x3,_0x31a227(_0x3ada64)),_t(0x4,_0x1d1963)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
|