@univerjs-pro/collaboration-client 0.5.0-nightly.202411231605 → 0.5.0-nightly.202411241606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x45d431=_0x5144;(function(_0x59b01a,_0x3c4711){const _0x164560=_0x5144,_0x979e8f=_0x59b01a();while(!![]){try{const _0x48830b=parseInt(_0x164560(0x121))/0x1*(-parseInt(_0x164560(0x11a))/0x2)+-parseInt(_0x164560(0x4cc))/0x3+parseInt(_0x164560(0x3bc))/0x4*(parseInt(_0x164560(0x25c))/0x5)+-parseInt(_0x164560(0x499))/0x6+-parseInt(_0x164560(0x3fa))/0x7*(parseInt(_0x164560(0x46b))/0x8)+parseInt(_0x164560(0x32c))/0x9+parseInt(_0x164560(0x1de))/0xa;if(_0x48830b===_0x3c4711)break;else _0x979e8f['push'](_0x979e8f['shift']());}catch(_0x50fc56){_0x979e8f['push'](_0x979e8f['shift']());}}}(_0x31e6,0xd984b));var sr=Object[_0x45d431(0x4f8)],ir=(_0x205ef2,_0x5bbbae,_0x3c75eb)=>_0x5bbbae in _0x205ef2?sr(_0x205ef2,_0x5bbbae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c75eb}):_0x205ef2[_0x5bbbae]=_0x3c75eb,g=(_0x45edff,_0x2dd5e4,_0x2389df)=>ir(_0x45edff,typeof _0x2dd5e4!=_0x45d431(0x223)?_0x2dd5e4+'':_0x2dd5e4,_0x2389df);import{createIdentifier as _0x590062,Inject as _0x35b6a2,Disposable as _0x4f1548,DisposableCollection as _0x53af5e,toDisposable as _0x3cfbd5,IConfigService as _0x360b05,ILogService as _0xce7964,UserManagerService as _0x1fecb7,UniverInstanceType as _0x51d633,IUniverInstanceService as _0x47d1bd,LocaleService as _0x31b970,Optional as _0x5cecc9,RxDisposable as _0x46da4c,Injector as _0xaaab92,Tools as _0x8b0f12,ILocalStorageService as _0xf9799b,Rectangle as _0x4ccd5c,ICommandService as _0x66b6aa,DOC_RANGE_TYPE as _0x1bbccb,JSONX as _0x401cc6,CommandType as _0x1da462,IPermissionService as _0x30807c,IUndoRedoService as _0x450df1,sequenceExecute as _0x342554,debounce as _0x49908a,COLORS as _0x2490d2,ColorKit as _0x4a3aef,ThemeService as _0x3871ac,fromEventSubject as _0x5d5aee,useDependency as _0x1645c2,connectInjector as _0x2eef45,Workbook as _0x576a03,MentionType as _0x4c6b7e,isInternalEditorID as _0x472f87,LocalUndoRedoService as _0x1aa308,IContextService as _0x295f83,DependentOn as _0x501c5f,Plugin as _0x48349f,touchDependencies as _0x3793a0,IAuthzIoService as _0x4f7fe5,IMentionIOService as _0x165794,registerDependencies as _0x5848a0,mergeOverrideWithDependencies as _0x1995d0}from'@univerjs/core';import{Subject as _0x54ef1d,merge as _0x35c956,takeUntil as _0x53c58e,BehaviorSubject as _0x1117fe,distinctUntilChanged as _0x48fccc,fromEvent as _0x36d4c4,ReplaySubject as _0x5c9396,take as _0x182a9e,map as _0x28520c,shareReplay as _0x5c69b3,of as _0x134634,debounceTime as _0x3f51c8,filter as _0x5e1bdd,switchMap as _0x590c63,combineLatest as _0x1eec2f,concatMap as _0x2b8903,mapTo as _0x5df0e2}from'rxjs';import{map as _0x29f8ca,take as _0x27e775,filter as _0x4cca68,delay as _0xdc4bb1,throttleTime as _0x5db531,takeUntil as _0x57b5d2,switchMap as _0x66715f}from'rxjs/operators';import{MessageType as _0x3067da,Tooltip as _0xf929fa}from'@univerjs/design';import{HTTPService as _0xa83f3b,WebSocketService as _0x4e1ec1,MergeInterceptorFactory as _0x2cc38a,HTTPRequest as _0x3acb9f,UniverNetworkPlugin as _0x1b25c9,ThresholdInterceptorFactory as _0x4ab6f7}from'@univerjs/network';import{IBeforeCloseService as _0x4ec122,IMessageService as _0x454792,INotificationService as _0xe774a5,useObservable as _0x2a3a1c,BuiltInUIPart as _0x140065,IUIPartsService as _0x33e59d}from'@univerjs/ui';import{CollaborationEvent as _0x5caf5f,parseChangesetToProtocol as _0x18c60b,ISnapshotServerService as _0x482dff,isTransformMutationFailure as _0x210785,isTransformMutationsWithChangesetSuccess as _0xabd7ef,ITransformService as _0x47de3e,RevisionService as _0x301828,mapDocumentTypeToUniverType as _0x56eb4f,isTransformChangesetsSuccess as _0x2b61ae,CompressMutationService as _0x2f2592,parseProtocolChangeset as _0x3746d2,SnapshotService as _0x45b448,textEncoder as _0x5247d7,b64DecodeUnicode as _0x27e1c3,isTransformMutationsWithChangesetFailure as _0x904b4b,UniverCollaborationPlugin as _0x2e8f5d}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x135078}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x53c254,RichTextEditingMutation as _0x128c30,SetTextSelectionsOperation as _0x3c7572,DocSkeletonManagerService as _0xb3da8}from'@univerjs/docs';import{DocIMEInputManagerService as _0x57510e,DocStateChangeManagerService as _0x187b3c,IDocClipboardService as _0x1129f0,NodePositionConvertToCursor as _0x42808f,NodePositionConvertToRectRange as _0x40430c,TEXT_RANGE_LAYER_INDEX as _0x5bc0cf,SetDocZoomRatioOperation as _0x31cbee}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2a85ea,SetSelectionsOperation as _0x40ecbd,InsertSheetMutation as _0x38bcec,EmptyMutation as _0x25e507,WorkbookEditablePermission as _0x2043e8,RefRangeService as _0x20c152,EffectRefRangId as _0x1d6269,handleIRemoveRow as _0x50e967,handleIRemoveCol as _0x50dc9b,handleMoveRange as _0x464bc4,handleInsertRow as _0x38d59e,handleInsertRangeMoveRight as _0x3620db,handleInsertRangeMoveDown as _0x5e2c50,handleInsertCol as _0x397ad0,handleDeleteRangeMoveUp as _0x52d476,handleDeleteRangeMoveLeft as _0x303d24,runRefRangeMutations as _0x47737c,SetWorksheetActivateCommand as _0x1b360f}from'@univerjs/sheets';import{IRenderManagerService as _0x74ed0c,Shape as _0x43b8c6,Rect as _0x328564,getColor as _0x4e6a4f,RegularPolygon as _0xefe9f4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x27a745,Vector2 as _0x2b72e0}from'@univerjs/engine-render';import{IImageIoService as _0x43832e,ImageSourceType as _0x56a221,ImageUploadStatusType as _0x34f929}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x40b249,serializeRangeWithSheet as _0x1a4321}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4a91f5,VIEWPORT_KEY as _0x56b217,getCoordByCell as _0x1be3f7,getSheetObject as _0x4fffde,SheetPermissionInitController as _0xbf0601}from'@univerjs/sheets-ui';import _0x3e6f98,{forwardRef as _0xadd4fe,useRef as _0x390425,createElement as _0x32125f,useCallback as _0x4b842d}from'react';import{IRemoteInstanceService as _0x4a4038}from'@univerjs/rpc';const mn=_0x45d431(0x3c5),pn=_0x45d431(0x4d5),gn=_0x45d431(0x3a3),_h=_0x45d431(0x2f5),Sn=0x7d0,In=_0x45d431(0x141),Cn=_0x45d431(0x13b),En=_0x45d431(0x1e3),bn=_0x45d431(0x300),Tn=0x7530,Di=_0x45d431(0x12f),Pi=0x4e20,Rn=0x4e20,On=_0x45d431(0x263),yn=0x3,wn='LOCAL_CACHE_INTERVAL',Dn=0x3e8,Pn=_0x45d431(0x403),Un=_0x45d431(0x453),Nn=_0x45d431(0x323),An=_0x45d431(0x4a3);var Ui=(_0x5ddd80=>(_0x5ddd80[_0x5ddd80[_0x45d431(0x1d9)]=0x0]=_0x45d431(0x1d9),_0x5ddd80[_0x5ddd80['OK']=0x1]='OK',_0x5ddd80[_0x5ddd80[_0x45d431(0x31d)]=0x2]=_0x45d431(0x31d),_0x5ddd80[_0x5ddd80[_0x45d431(0x3d8)]=0x3]=_0x45d431(0x3d8),_0x5ddd80[_0x5ddd80[_0x45d431(0x29f)]=0x4]=_0x45d431(0x29f),_0x5ddd80[_0x5ddd80[_0x45d431(0x2f1)]=0x5]=_0x45d431(0x2f1),_0x5ddd80[_0x5ddd80['ALREADY_EXISTS']=0x6]=_0x45d431(0x104),_0x5ddd80[_0x5ddd80[_0x45d431(0x381)]=0x7]=_0x45d431(0x381),_0x5ddd80[_0x5ddd80['TOO_MANY_REQUESTS']=0x8]=_0x45d431(0x4b4),_0x5ddd80[_0x5ddd80[_0x45d431(0x3fe)]=0x9]=_0x45d431(0x3fe),_0x5ddd80[_0x5ddd80['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5ddd80[_0x5ddd80[_0x45d431(0x343)]=0x1771]=_0x45d431(0x343),_0x5ddd80[_0x5ddd80[_0x45d431(0x1c7)]=0x1772]=_0x45d431(0x1c7),_0x5ddd80[_0x5ddd80[_0x45d431(0x178)]=0x1773]=_0x45d431(0x178),_0x5ddd80[_0x5ddd80[_0x45d431(0x287)]=0x1b59]='APPLY_REJECT',_0x5ddd80[_0x5ddd80[_0x45d431(0x4ad)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5ddd80[_0x5ddd80[_0x45d431(0x1a5)]=0x1b5b]=_0x45d431(0x1a5),_0x5ddd80[_0x5ddd80[_0x45d431(0x29d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5ddd80[_0x5ddd80[_0x45d431(0x21d)]=0x1b5d]=_0x45d431(0x21d),_0x5ddd80[_0x5ddd80[_0x45d431(0x3b9)]=0x1f41]=_0x45d431(0x3b9),_0x5ddd80[_0x5ddd80[_0x45d431(0x443)]=0x2329]=_0x45d431(0x443),_0x5ddd80[_0x5ddd80['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x45d431(0x4a2),_0x5ddd80[_0x5ddd80[_0x45d431(0x30b)]=0x232b]=_0x45d431(0x30b),_0x5ddd80[_0x5ddd80['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x45d431(0x1b4),_0x5ddd80[_0x5ddd80[_0x45d431(0x306)]=0x232d]=_0x45d431(0x306),_0x5ddd80[_0x5ddd80[_0x45d431(0x45e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5ddd80[_0x5ddd80['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x45d431(0x212),_0x5ddd80[_0x5ddd80[_0x45d431(0x42a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5ddd80[_0x5ddd80[_0x45d431(0x1b2)]=0x2714]=_0x45d431(0x1b2),_0x5ddd80[_0x5ddd80['UNRECOGNIZED']=-0x1]=_0x45d431(0x2ef),_0x5ddd80))(Ui||{}),ce=(_0x1df09e=>(_0x1df09e[_0x1df09e[_0x45d431(0x4e0)]=0x0]=_0x45d431(0x4e0),_0x1df09e[_0x1df09e[_0x45d431(0x258)]=0x1]='UNIVER_DOC',_0x1df09e[_0x1df09e[_0x45d431(0x33c)]=0x2]=_0x45d431(0x33c),_0x1df09e[_0x1df09e[_0x45d431(0x33f)]=0x3]=_0x45d431(0x33f),_0x1df09e[_0x1df09e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1df09e[_0x1df09e[_0x45d431(0x2ef)]=-0x1]='UNRECOGNIZED',_0x1df09e))(ce||{}),W=(_0x2c9073=>(_0x2c9073[_0x2c9073[_0x45d431(0x221)]=0x0]=_0x45d431(0x221),_0x2c9073[_0x2c9073[_0x45d431(0x131)]=0x1]=_0x45d431(0x131),_0x2c9073[_0x2c9073[_0x45d431(0x4f2)]=0x2]=_0x45d431(0x4f2),_0x2c9073[_0x2c9073[_0x45d431(0x502)]=0x3]=_0x45d431(0x502),_0x2c9073[_0x2c9073['INGEST']=0x4]='INGEST',_0x2c9073[_0x2c9073[_0x45d431(0x47c)]=0x5]=_0x45d431(0x47c),_0x2c9073[_0x2c9073[_0x45d431(0x1b6)]=0x6]=_0x45d431(0x1b6),_0x2c9073[_0x2c9073[_0x45d431(0x2ef)]=-0x1]='UNRECOGNIZED',_0x2c9073))(W||{}),bs=(_0x1ec797=>(_0x1ec797[_0x1ec797[_0x45d431(0x133)]=0x0]=_0x45d431(0x133),_0x1ec797[_0x1ec797['OK']=0x1]='OK',_0x1ec797[_0x1ec797[_0x45d431(0x173)]=0x2]='FAIL',_0x1ec797[_0x1ec797[_0x45d431(0x2ae)]=0x3e9]=_0x45d431(0x2ae),_0x1ec797[_0x1ec797[_0x45d431(0x423)]=0x3ea]=_0x45d431(0x423),_0x1ec797[_0x1ec797[_0x45d431(0x2ef)]=-0x1]=_0x45d431(0x2ef),_0x1ec797))(bs||{}),Ni=(_0x2d4154=>(_0x2d4154[_0x2d4154[_0x45d431(0x45d)]=0x0]=_0x45d431(0x45d),_0x2d4154[_0x2d4154[_0x45d431(0x372)]=0x1]=_0x45d431(0x372),_0x2d4154[_0x2d4154['HttpExport']=0x2]=_0x45d431(0x12b),_0x2d4154[_0x2d4154[_0x45d431(0x451)]=0x3]='UnitEmbedded',_0x2d4154[_0x2d4154['UnitSnapshot']=0x4]='UnitSnapshot',_0x2d4154[_0x2d4154[_0x45d431(0x2ef)]=-0x1]=_0x45d431(0x2ef),_0x2d4154))(Ni||{});const ee=_0x45d431(0x2a6),Mn={};function xn(_0x504426){const _0x598dbe=_0x45d431;var _0x59d838,_0x396ac2,_0x1b8bb5,_0x139230,_0x86760f;const _0x143a67=_0x504426[_0x598dbe(0x27a)],_0x544d0b=JSON[_0x598dbe(0xf6)](_0x143a67);switch(_0x544d0b[_0x598dbe(0x3df)]){case W['HEARTBEAT']:case W[_0x598dbe(0x131)]:{const _0xebf850=_0x544d0b['infoRsp'];return{..._0x544d0b,'data':_0xebf850,'cmd':_0x544d0b[_0x598dbe(0x3df)]};}case W['JOIN']:{const _0x190815=_0x544d0b[_0x598dbe(0x3b6)];return{..._0x544d0b,'data':_0x190815,'cmd':_0x544d0b[_0x598dbe(0x3df)]};}case W[_0x598dbe(0x1b6)]:{const _0x2d820d=_0x544d0b['collaMsg'];switch(_0x2d820d['eventID']){case _0x5caf5f[_0x598dbe(0x411)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x59d838=_0x2d820d[_0x598dbe(0x4ee)])==null?void 0x0:_0x59d838['cs']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x3b8)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x396ac2=_0x2d820d[_0x598dbe(0x214)])==null?void 0x0:_0x396ac2['cs']},'cmd':_0x544d0b['cmd']};case _0x5caf5f['NEW_CHANGESETS']:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x1b8bb5=_0x2d820d[_0x598dbe(0x435)])==null?void 0x0:_0x1b8bb5['cs']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x2ee)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x139230=_0x2d820d['csRejEvent'])==null?void 0x0:_0x139230['cs']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['CHANGESET_SHOULD_RETRY']:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x86760f=_0x2d820d['csShouldRetryEvent'])==null?void 0x0:_0x86760f['cs']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0xf5)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x492)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['USERS_ENTER']:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x474)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x20e)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x37c)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x2eb)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x24c)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['LIVESHARE_FETCH_OPERATIONS']:case _0x5caf5f[_0x598dbe(0x243)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d['liveShareOperation']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x2b0)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d['liveShareNewHost']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['MSG_FOR_ERROR']:return{..._0x544d0b,'data':_0x2d820d,'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x48c)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x254)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x3e5)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d['updatePermissionObjEvent']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['SHOULD_CLOSE_CONN']:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d['shouldCloseConn']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};default:return _0x544d0b;}}default:return _0x544d0b;}}function Ln(_0x4f8bc2){const _0x384e25=_0x45d431;switch(_0x4f8bc2[_0x384e25(0x3df)]){case W['HEARTBEAT']:case W['HELLO']:return JSON['stringify']({'cmd':_0x4f8bc2['cmd'],'routeKey':_0x4f8bc2[_0x384e25(0x457)]});case W[_0x384e25(0x37b)]:{let _0x62995c;switch(_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x273)]){case _0x5caf5f['UPDATE_CURSOR']:{_0x62995c={'eventID':_0x5caf5f['UPDATE_CURSOR'],'updateCursorEvent':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x20e)]:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x20e)],'leaveEvent':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x18b)]:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x18b)],'joinEvent':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x2eb)]:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x2eb)],'liveShareNewHost':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x243)]:{_0x62995c={'eventID':_0x5caf5f['LIVESHARE_OPERATION'],'liveShareOperation':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f['LIVESHARE_TERMINATE']:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x2b0)],'liveShareTerminate':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x188)]:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x188)],'liveShareRequestHost':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f['LIVESHARE_FETCH_OPERATIONS']:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x30c)]};break;}default:_0x62995c={'eventID':_0x4f8bc2['data'][_0x384e25(0x273)]};}return JSON[_0x384e25(0x359)]({'cmd':_0x4f8bc2[_0x384e25(0x3df)],'routeKey':_0x4f8bc2['routeKey'],'collaMsg':_0x62995c});}case W[_0x384e25(0x4f2)]:return JSON['stringify']({'cmd':_0x4f8bc2[_0x384e25(0x3df)],'routeKey':_0x4f8bc2['routeKey'],'joinReq':_0x4f8bc2['data']});case W['LEAVE']:return JSON[_0x384e25(0x359)]({'cmd':_0x4f8bc2[_0x384e25(0x3df)],'routeKey':_0x4f8bc2[_0x384e25(0x457)],'leaveReq':_0x4f8bc2[_0x384e25(0x27a)]});default:throw new Error(_0x384e25(0x3ff));}}var $n=Object[_0x45d431(0x4f8)],Hn=Object['getOwnPropertyDescriptor'],jn=(_0x44cecd,_0x363f9c,_0x27bdc2,_0x5263bd)=>{const _0xc06d31=_0x45d431;for(var _0x11b695=_0x5263bd>0x1?void 0x0:_0x5263bd?Hn(_0x363f9c,_0x27bdc2):_0x363f9c,_0x43f0ec=_0x44cecd[_0xc06d31(0xf0)]-0x1,_0x3a74ba;_0x43f0ec>=0x0;_0x43f0ec--)(_0x3a74ba=_0x44cecd[_0x43f0ec])&&(_0x11b695=(_0x5263bd?_0x3a74ba(_0x363f9c,_0x27bdc2,_0x11b695):_0x3a74ba(_0x11b695))||_0x11b695);return _0x5263bd&&_0x11b695&&$n(_0x363f9c,_0x27bdc2,_0x11b695),_0x11b695;},qe=(_0x5aebb3,_0x32f83d)=>(_0x405334,_0x1b2518)=>_0x32f83d(_0x405334,_0x1b2518,_0x5aebb3);const Ai=_0x590062(_0x45d431(0x200));function Bn(_0x3b4a14,_0x18bba5,_0x57d06f){const _0x4a9b40=_0x45d431;return _0x3b4a14+'/'+_0x18bba5+'/unit/'+_0x57d06f+_0x4a9b40(0x2f9);}let ss=class extends _0x4f1548{constructor(_0x23dbfc,_0x59c4e7,_0x5626de,_0x4da975,_0x583be7){const _0x3bd531=_0x45d431;super(),this['_http']=_0x23dbfc,this['_ws']=_0x59c4e7,this[_0x3bd531(0x168)]=_0x5626de,this['_logService']=_0x4da975,this['_snapshotServerService']=_0x583be7;}['createSocket'](_0xb5539b){const _0x222ed8=_0x45d431,_0x48b22b=this[_0x222ed8(0x417)][_0x222ed8(0x48f)](_0xb5539b);if(!_0x48b22b)throw new Error(_0x222ed8(0x127));const _0x27379d=new _0x53af5e(),_0x3d2713=new _0x54ef1d();_0x27379d[_0x222ed8(0x20c)](_0x48b22b[_0x222ed8(0x217)][_0x222ed8(0x23d)](_0x1e7320=>_0x3d2713['next'](_0x1e7320))),_0x27379d[_0x222ed8(0x20c)](_0x3cfbd5(()=>_0x3d2713[_0x222ed8(0x175)]()));const _0x4e5670=new _0x54ef1d();_0x27379d['add'](_0x48b22b[_0x222ed8(0x357)][_0x222ed8(0x23d)](_0x2cdc5d=>_0x4e5670['next'](_0x2cdc5d))),_0x27379d[_0x222ed8(0x20c)](_0x3cfbd5(()=>_0x4e5670[_0x222ed8(0x175)]()));const _0x47b649=new _0x54ef1d();_0x27379d[_0x222ed8(0x20c)](_0x48b22b[_0x222ed8(0x11e)][_0x222ed8(0x23d)](_0x36a9a7=>{const _0x48e789=_0x222ed8,_0x31c2fc=xn(_0x36a9a7);_0x47b649[_0x48e789(0x11b)](_0x31c2fc);})),_0x27379d[_0x222ed8(0x20c)](_0x3cfbd5(()=>_0x47b649[_0x222ed8(0x175)]()));let _0x11ab18;const _0x1dc43a=()=>{const _0x4bf539=_0x222ed8;_0x4e5670['next'](new Event(_0x4bf539(0x407))),_0x3d2713[_0x4bf539(0x11b)](new CloseEvent(_0x4bf539(0x407))),_0x11ab18[_0x4bf539(0x15e)]();};return _0x11ab18={'memberID':'','close$':_0x3d2713[_0x222ed8(0x1bc)](),'error$':_0x4e5670[_0x222ed8(0x1bc)](),'open$':_0x48b22b[_0x222ed8(0x17c)],'message$':_0x47b649[_0x222ed8(0x1bc)](),'send':_0xb5c82a=>{const _0x1dd64a=_0x222ed8;if(_0xb5c82a['cmd']===W[_0x1dd64a(0x37b)]){if(_0xb5c82a[_0x1dd64a(0x27a)][_0x1dd64a(0x273)]===_0x5caf5f[_0x1dd64a(0x156)]){this[_0x1dd64a(0x32b)](_0x11ab18,_0xb5c82a[_0x1dd64a(0x27a)])[_0x1dd64a(0x261)](_0x4a3f68=>{const _0x31655c=_0x1dd64a;this[_0x31655c(0x137)][_0x31655c(0x299)](_0x4a3f68),_0x1dc43a();});return;}if(_0xb5c82a[_0x1dd64a(0x27a)][_0x1dd64a(0x273)]===_0x5caf5f[_0x1dd64a(0x3dd)]){const _0x26e76b=_0xb5c82a['data'];this[_0x1dd64a(0x1fd)](_0x26e76b)[_0x1dd64a(0x38b)](_0x39f9e3=>{const _0x20e300=_0x1dd64a;_0x47b649['next']({'cmd':W[_0x20e300(0x1b6)],'code':bs['OK'],'routeKey':_0x26e76b[_0x20e300(0x27a)][_0x20e300(0x1b9)],'routeType':'','data':{'eventID':_0x5caf5f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x39f9e3}}});})[_0x1dd64a(0x261)](_0x54bc64=>{const _0x1db6b9=_0x1dd64a;this[_0x1db6b9(0x137)][_0x1db6b9(0x299)](_0x54bc64),_0x1dc43a();});return;}}_0x48b22b['send'](Ln(_0xb5c82a));},'close':()=>{const _0x42bc0b=_0x222ed8;_0x48b22b[_0x42bc0b(0x15e)](),_0x27379d[_0x42bc0b(0x23a)]();}},_0x11ab18;}async[_0x45d431(0x32b)](_0x445e04,_0x276c71){const _0x5b89b6=_0x45d431;var _0x16bd12,_0x657bab;const {unitType:_0x29770e,unitID:_0x7b878e,changeset:_0x1006ba}=_0x276c71[_0x5b89b6(0x27a)],_0x13e2fe={'unitID':_0x7b878e,'memberID':_0x445e04['memberID'],'type':_0x29770e,'changeset':_0x18c60b(_0x1006ba)},_0x35d01a=this[_0x5b89b6(0x168)][_0x5b89b6(0x3e4)](Pn),_0x1c97ed=this[_0x5b89b6(0x168)][_0x5b89b6(0x3e4)](ee),_0x400502=Bn((_0x657bab=(_0x16bd12=_0x1c97ed==null?void 0x0:_0x1c97ed[_0x5b89b6(0x1d8)])!=null?_0x16bd12:_0x35d01a)!=null?_0x657bab:Un,_0x29770e,_0x7b878e);try{await this[_0x5b89b6(0x488)][_0x5b89b6(0x3ca)](_0x400502,{'body':_0x13e2fe});}catch(_0x28642f){throw this[_0x5b89b6(0x137)][_0x5b89b6(0x299)]('[CollaborationSession]',_0x5b89b6(0xf2)),_0x28642f;}}async[_0x45d431(0x1fd)](_0x538f8d){const _0x2f6701=_0x45d431,{unitID:_0x4e3e4e,from:_0x4587db,to:_0xf94d03,unitType:_0x445d86}=_0x538f8d['data'];return(await this[_0x2f6701(0x3a2)][_0x2f6701(0x2fc)]({'metadata':void 0x0},{'unitID':_0x4e3e4e,'type':_0x445d86,'from':_0x4587db,'to':_0xf94d03}))['changesets'];}};ss=jn([qe(0x0,_0x35b6a2(_0xa83f3b)),qe(0x1,_0x35b6a2(_0x4e1ec1)),qe(0x2,_0x360b05),qe(0x3,_0xce7964),qe(0x4,_0x482dff)],ss);const kn=_0x45d431(0x28d);function Wn(_0x4bd517){const _0x2cf830=_0x45d431;return JSON[_0x2cf830(0x359)](_0x4bd517)[_0x2cf830(0xf0)];}class Mi{constructor(){const _0x3426a0=_0x45d431;g(this,_0x3426a0(0x233),new _0x54ef1d()),g(this,_0x3426a0(0x27f),this[_0x3426a0(0x233)][_0x3426a0(0x1bc)]());}['onCommentUpdate'](_0x54068b){const _0x56296a=_0x45d431;this[_0x56296a(0x233)][_0x56296a(0x11b)](_0x54068b);}}var Fn=Object[_0x45d431(0x4f8)],Vn=Object[_0x45d431(0x494)],Gn=(_0x1d7aa5,_0x1b96a6,_0x19a444,_0x47e8ef)=>{const _0x4ccc8d=_0x45d431;for(var _0x31ae2c=_0x47e8ef>0x1?void 0x0:_0x47e8ef?Vn(_0x1b96a6,_0x19a444):_0x1b96a6,_0xeabd16=_0x1d7aa5[_0x4ccc8d(0xf0)]-0x1,_0x1e027d;_0xeabd16>=0x0;_0xeabd16--)(_0x1e027d=_0x1d7aa5[_0xeabd16])&&(_0x31ae2c=(_0x47e8ef?_0x1e027d(_0x1b96a6,_0x19a444,_0x31ae2c):_0x1e027d(_0x31ae2c))||_0x31ae2c);return _0x47e8ef&&_0x31ae2c&&Fn(_0x1b96a6,_0x19a444,_0x31ae2c),_0x31ae2c;},Ws=(_0x19b43c,_0x3c54c2)=>(_0x198f05,_0x4b5cfd)=>_0x3c54c2(_0x198f05,_0x4b5cfd,_0x19b43c);let Me=class extends _0x4f1548{constructor(_0x1f9f6f,_0x51839f){const _0x2c76f7=_0x45d431;super(),g(this,_0x2c76f7(0x33e),new Map()),(this[_0x2c76f7(0x2e5)]=_0x1f9f6f,this[_0x2c76f7(0x2d8)]=_0x51839f,this[_0x2c76f7(0x20f)](_0x3cfbd5(_0x35c956(this[_0x2c76f7(0x2e5)]['getTypeOfUnitDisposed$'](_0x51d633[_0x2c76f7(0x33c)])[_0x2c76f7(0x476)](_0x29f8ca(_0x451273=>_0x451273[_0x2c76f7(0x2ca)]())),this[_0x2c76f7(0x2e5)][_0x2c76f7(0x209)](_0x51d633[_0x2c76f7(0x258)])[_0x2c76f7(0x476)](_0x29f8ca(_0x3d3e6c=>_0x3d3e6c[_0x2c76f7(0x2ca)]())),this[_0x2c76f7(0x2e5)][_0x2c76f7(0x209)](_0x51d633[_0x2c76f7(0x33f)])[_0x2c76f7(0x476)](_0x29f8ca(_0x6fcdaa=>_0x6fcdaa[_0x2c76f7(0x2ca)]())))[_0x2c76f7(0x23d)](_0x1b6bdf=>this['_removeRoom'](_0x1b6bdf)))));}['setCurrentUser'](_0x1caa93){this['_userManagerService']['setCurrentUser'](_0x1caa93);}[_0x45d431(0x2b8)](){const _0x26f228=_0x45d431;return this[_0x26f228(0x2d8)][_0x26f228(0x2b8)]();}[_0x45d431(0x42d)](_0x4d8e44,_0x324c4e){const _0x36acfb=_0x45d431;let _0x4353ac=this['_roomMembers']['get'](_0x4d8e44);_0x4353ac||(_0x4353ac=new Yn(),this['_roomMembers'][_0x36acfb(0x3eb)](_0x4d8e44,_0x4353ac)),_0x4353ac[_0x36acfb(0x42d)](_0x324c4e);}[_0x45d431(0x29e)](_0x5eee02,_0x32a9d0){const _0x4d3d6a=_0x45d431,_0x2def1a=this['_roomMembers']['get'](_0x5eee02);_0x2def1a&&_0x2def1a[_0x4d3d6a(0x29e)](_0x32a9d0);}['getRoom'](_0x1fbfb4){const _0x11c870=_0x45d431;return this[_0x11c870(0x33e)][_0x11c870(0x296)](_0x1fbfb4);}['getMember'](_0x399176,_0x20a949){const _0x1cf5bb=_0x45d431,_0x4991a8=this[_0x1cf5bb(0x33e)]['get'](_0x399176);if(_0x4991a8)return _0x4991a8[_0x1cf5bb(0x10c)](_0x20a949);}[_0x45d431(0x154)](_0x173e75){const _0x6a8a70=_0x45d431,_0x42fb83=this[_0x6a8a70(0x33e)]['get'](_0x173e75);_0x42fb83&&(_0x42fb83[_0x6a8a70(0x23a)](),this[_0x6a8a70(0x33e)][_0x6a8a70(0x3ea)](_0x173e75));}[_0x45d431(0x23a)](){const _0x1728e5=_0x45d431;this['_roomMembers'][_0x1728e5(0x4dd)](_0x20a846=>_0x20a846['dispose']()),this['_roomMembers'][_0x1728e5(0x1d1)]();}};Me=Gn([Ws(0x0,_0x47d1bd),Ws(0x1,_0x35b6a2(_0x1fecb7))],Me);class Yn extends _0x4f1548{constructor(){const _0x15afbe=_0x45d431;super(...arguments),g(this,_0x15afbe(0xff),new Map());}[_0x45d431(0x23a)](){const _0x248f17=_0x45d431;this[_0x248f17(0xff)][_0x248f17(0x1d1)]();}[_0x45d431(0x42d)](_0x17786b){const _0x244efc=_0x45d431;this[_0x244efc(0xff)][_0x244efc(0x3eb)](_0x17786b[_0x244efc(0x179)],_0x17786b);}[_0x45d431(0x29e)](_0x55ca00){const _0x42f219=_0x45d431;this[_0x42f219(0xff)][_0x42f219(0x3ea)](_0x55ca00);}[_0x45d431(0x10c)](_0x4b4b9c){const _0x3ec77b=_0x45d431;return this[_0x3ec77b(0xff)][_0x3ec77b(0x296)](_0x4b4b9c);}[_0x45d431(0x468)](){const _0x9e1232=_0x45d431;return Array[_0x9e1232(0x3f9)](this[_0x9e1232(0xff)][_0x9e1232(0x2c5)]());}}var Kn=Object[_0x45d431(0x4f8)],zn=Object[_0x45d431(0x494)],qn=(_0x3c59a6,_0x3b7133,_0x317013,_0x314604)=>{for(var _0x14ce7e=_0x314604>0x1?void 0x0:_0x314604?zn(_0x3b7133,_0x317013):_0x3b7133,_0x23c8fa=_0x3c59a6['length']-0x1,_0x185c9f;_0x23c8fa>=0x0;_0x23c8fa--)(_0x185c9f=_0x3c59a6[_0x23c8fa])&&(_0x14ce7e=(_0x314604?_0x185c9f(_0x3b7133,_0x317013,_0x14ce7e):_0x185c9f(_0x14ce7e))||_0x14ce7e);return _0x314604&&_0x14ce7e&&Kn(_0x3b7133,_0x317013,_0x14ce7e),_0x14ce7e;},be=(_0x1665ed,_0x4c1ad2)=>(_0x22d3ed,_0x2d2d18)=>_0x4c1ad2(_0x22d3ed,_0x2d2d18,_0x1665ed),ve=(_0x1716b2=>(_0x1716b2[_0x1716b2[_0x45d431(0x234)]=0x0]='IDLE',_0x1716b2[_0x1716b2[_0x45d431(0x43c)]=0x1]=_0x45d431(0x43c),_0x1716b2[_0x1716b2[_0x45d431(0x40c)]=0x2]='OFFLINE',_0x1716b2[_0x1716b2[_0x45d431(0x464)]=0x3]=_0x45d431(0x464),_0x1716b2))(ve||{});let is=class extends _0x46da4c{constructor(_0x51ba25,_0xde2aba,_0x96405b,_0x412858,_0x39f043,_0x356b57,_0x391a9e,_0x19b725,_0x9009f0,_0x42dbbc){const _0xb68fd0=_0x45d431;super(),g(this,_0xb68fd0(0x452),new _0x1117fe(0x0)),g(this,_0xb68fd0(0x3f2),this[_0xb68fd0(0x452)][_0xb68fd0(0x1bc)]()),g(this,_0xb68fd0(0x490),new _0x54ef1d()),g(this,_0xb68fd0(0x4f5),this['_event$'][_0xb68fd0(0x1bc)]()),g(this,_0xb68fd0(0x412)),g(this,'_socketMessageSubscription'),g(this,_0xb68fd0(0x4b3)),g(this,_0xb68fd0(0x18c),!0x1),g(this,_0xb68fd0(0x36c),null),(this[_0xb68fd0(0x427)]=_0x51ba25,this['_logService']=_0x96405b,this[_0xb68fd0(0x301)]=_0x412858,this[_0xb68fd0(0x321)]=_0x39f043,this[_0xb68fd0(0x168)]=_0x356b57,this[_0xb68fd0(0x20a)]=_0x391a9e,this['_memberService']=_0x19b725,this[_0xb68fd0(0x358)]=_0x9009f0,this['_telemetryService']=_0x42dbbc,this[_0xb68fd0(0x18c)]=!!this['_telemetryService'],_0xde2aba[_0xb68fd0(0x476)](_0x53c58e(this[_0xb68fd0(0x425)]))['subscribe'](_0x5f0b8f=>{const _0x1306ed=_0xb68fd0;var _0x29d415;typeof _0x5f0b8f>'u'||(this['_socket']=_0x5f0b8f,_0x5f0b8f?(this[_0x1306ed(0x504)](_0x5f0b8f),this[_0x1306ed(0x450)]=_0x5f0b8f['message$'][_0x1306ed(0x23d)](_0x1f754f=>{const _0x2606c1=_0x1306ed;_0x1f754f[_0x2606c1(0x457)]===this[_0x2606c1(0x427)]&&this[_0x2606c1(0x25d)](_0x1f754f);})):(this[_0x1306ed(0x1a3)](),this[_0x1306ed(0x452)][_0x1306ed(0x11b)](0x2),(_0x29d415=this['_socketMessageSubscription'])==null||_0x29d415[_0x1306ed(0x406)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0xb68fd0(0x4c7)](()=>{const _0x51b8d5=_0xb68fd0;var _0xcad2c3;(_0xcad2c3=this[_0x51b8d5(0x412)])==null||_0xcad2c3[_0x51b8d5(0x422)]({'cmd':W[_0x51b8d5(0x502)],'data':{'roomID':this[_0x51b8d5(0x427)]}});})));}get[_0x45d431(0x150)](){const _0x1cbe4e=_0x45d431;return this[_0x1cbe4e(0x452)][_0x1cbe4e(0x205)]();}['getMemberID'](){const _0x8dab86=_0x45d431;var _0x13a308,_0x327364;return(_0x327364=(_0x13a308=this[_0x8dab86(0x412)])==null?void 0x0:_0x13a308[_0x8dab86(0x179)])!=null?_0x327364:null;}[_0x45d431(0x23a)](){const _0x3423f8=_0x45d431;super[_0x3423f8(0x23a)](),this[_0x3423f8(0x425)][_0x3423f8(0x11b)](),this['dispose$']['complete']();}['close'](){const _0x78f404=_0x45d431;var _0x3a3d90,_0x2963;this[_0x78f404(0x1a3)](),(_0x3a3d90=this['_socket'])==null||_0x3a3d90[_0x78f404(0x422)]({'cmd':W[_0x78f404(0x502)],'data':{'roomID':this[_0x78f404(0x427)]}}),(_0x2963=this[_0x78f404(0x412)])==null||_0x2963[_0x78f404(0x15e)](),this[_0x78f404(0x490)][_0x78f404(0x175)](),this[_0x78f404(0x452)][_0x78f404(0x175)](),this['dispose']();}[_0x45d431(0x25d)](_0x1e3787){const _0x12f5f7=_0x45d431;_0x1e3787['cmd']===W['JOIN']?this[_0x12f5f7(0x39e)](_0x1e3787):_0x1e3787['cmd']===W[_0x12f5f7(0x1b6)]&&this[_0x12f5f7(0x340)](_0x1e3787);}[_0x45d431(0x504)](_0x5c4a3f){const _0xa79572=_0x45d431;this[_0xa79572(0x452)]['next'](0x1),_0x5c4a3f['send']({'cmd':W[_0xa79572(0x4f2)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xa79572(0x427)]}]}});}[_0x45d431(0x39e)](_0x28c561){const _0x3a662f=_0x45d431;var _0x3d7ecb;if(_0x28c561[_0x3a662f(0xf3)]===bs[_0x3a662f(0x173)]){this[_0x3a662f(0x321)][_0x3a662f(0x176)]({'type':_0x3067da['Warning'],'content':this[_0x3a662f(0x20a)]['t'](_0x3a662f(0x447))}),this['_sessionStatus$']['next'](0x2);return;}this[_0x3a662f(0x452)][_0x3a662f(0x11b)](0x3);const _0x1fcc38=(_0x3d7ecb=_0x28c561[_0x3a662f(0x27a)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x3d7ecb[_0x3a662f(0x4c9)];_0x1fcc38&&_0x1fcc38[_0x3a662f(0x4dd)](_0x2658d7=>this[_0x3a662f(0x3f3)][_0x3a662f(0x42d)](this[_0x3a662f(0x427)],_0x2658d7));}[_0x45d431(0x340)](_0x55ad09){const _0x211c46=_0x45d431;try{const _0x5eb8b6=_0x55ad09[_0x211c46(0x27a)];switch(_0x5eb8b6[_0x211c46(0x273)]){case _0x5caf5f[_0x211c46(0x18b)]:this[_0x211c46(0x44a)](_0x5eb8b6),this[_0x211c46(0x490)]['next'](_0x5eb8b6);break;case _0x5caf5f[_0x211c46(0x20e)]:this[_0x211c46(0x32a)](_0x5eb8b6),this[_0x211c46(0x490)]['next'](_0x5eb8b6);break;case _0x5caf5f[_0x211c46(0x3b8)]:case _0x5caf5f[_0x211c46(0x12d)]:this[_0x211c46(0x24f)](),this[_0x211c46(0x1ff)](),this[_0x211c46(0x490)]['next'](_0x5eb8b6);break;case _0x5caf5f[_0x211c46(0x344)]:this[_0x211c46(0x137)][_0x211c46(0x299)](_0x211c46(0x195)+JSON[_0x211c46(0x359)](_0x5eb8b6)),this[_0x211c46(0x490)]['next'](_0x5eb8b6);break;case _0x5caf5f[_0x211c46(0x48c)]:this['_commentService'][_0x211c46(0x4c1)](_0x5eb8b6[_0x211c46(0x27a)]),this['_event$']['next'](_0x5eb8b6);break;default:this[_0x211c46(0x490)][_0x211c46(0x11b)](_0x5eb8b6);}}catch(_0x5b9f02){this[_0x211c46(0x137)]['error'](_0x5b9f02,_0x55ad09);}}[_0x45d431(0x44a)](_0x4a2ac9){const _0x29ea99=_0x45d431;this['_memberService'][_0x29ea99(0x42d)](this[_0x29ea99(0x427)],_0x4a2ac9['data']);}[_0x45d431(0x32a)](_0xf85808){const _0x25fddb=_0x45d431;this['_memberService'][_0x25fddb(0x29e)](this[_0x25fddb(0x427)],_0xf85808[_0x25fddb(0x27a)][_0x25fddb(0x179)]);}async[_0x45d431(0x422)](_0x95a9b3,_0x1e02d2){const _0x5794cd=_0x45d431;if(this[_0x5794cd(0x150)]!==0x3||!this[_0x5794cd(0x412)])throw new Error(_0x5794cd(0x3c6));try{_0x95a9b3[_0x5794cd(0x273)]===_0x5caf5f[_0x5794cd(0x156)]&&(this[_0x5794cd(0x29c)](),this['_startTelemetryCollaborationNewChangeset'](_0x95a9b3)),this[_0x5794cd(0x412)][_0x5794cd(0x422)]({'cmd':W[_0x5794cd(0x37b)],'routeKey':_0x1e02d2,'routeType':'','data':_0x95a9b3});}catch(_0x3e6a05){this[_0x5794cd(0x137)]['error'](_0x3e6a05);}}[_0x45d431(0x29c)](){const _0x4b24e5=_0x45d431;var _0x57717b;this[_0x4b24e5(0x4b3)]=window[_0x4b24e5(0x1ee)](()=>{const _0x456385=_0x4b24e5;this[_0x456385(0x4b3)]=null,this[_0x456385(0x321)][_0x456385(0x176)]({'type':_0x3067da['Error'],'content':this[_0x456385(0x20a)]['t'](_0x456385(0x281))});},(_0x57717b=this[_0x4b24e5(0x168)][_0x4b24e5(0x3e4)](Di))!=null?_0x57717b:Pi);}[_0x45d431(0x1ff)](){const _0x4a95a5=_0x45d431;this[_0x4a95a5(0x4b3)]&&(clearTimeout(this[_0x4a95a5(0x4b3)]),this[_0x4a95a5(0x4b3)]=null);}[_0x45d431(0x24a)](_0x3c81d0){const _0xab9137=_0x45d431;if(!this[_0xab9137(0x18c)])return;const {data:_0x3bb6ca}=_0x3c81d0,{unitID:_0x32f8f2,changeset:_0x1d4d97}=_0x3bb6ca,{mutations:_0x5a4290,type:_0x84b819}=_0x1d4d97;this[_0xab9137(0x36c)]={'unitId':_0x32f8f2,'type':_0x84b819,'startTime':performance[_0xab9137(0x34e)](),'stopTime':0x0,'duration':0x0,'size':Wn(_0x5a4290)};}[_0x45d431(0x24f)](){const _0x2c3388=_0x45d431;if(this[_0x2c3388(0x18c)]){if(!this['_telemetryInfo']){this['_logService']['error']('[CollaborationSession]',_0x2c3388(0x4ae));return;}this[_0x2c3388(0x36c)][_0x2c3388(0x1d2)]=performance[_0x2c3388(0x34e)](),this['_telemetryInfo']['duration']=this['_telemetryInfo'][_0x2c3388(0x1d2)]-this[_0x2c3388(0x36c)][_0x2c3388(0x4a5)],this[_0x2c3388(0x16d)][_0x2c3388(0x15c)](kn,this[_0x2c3388(0x36c)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x3cf296=_0x45d431;this[_0x3cf296(0x36c)]=null;}};is=qn([be(0x2,_0xce7964),be(0x3,_0x4ec122),be(0x4,_0x454792),be(0x5,_0x360b05),be(0x6,_0x35b6a2(_0x31b970)),be(0x7,_0x35b6a2(Me)),be(0x8,_0x35b6a2(Mi)),be(0x9,_0x5cecc9(_0x135078))],is);var Xn=Object['defineProperty'],Jn=Object[_0x45d431(0x494)],Zn=(_0x19a86f,_0x1b32f5,_0x549095,_0x421186)=>{const _0x216b4b=_0x45d431;for(var _0x47e2a5=_0x421186>0x1?void 0x0:_0x421186?Jn(_0x1b32f5,_0x549095):_0x1b32f5,_0x594663=_0x19a86f[_0x216b4b(0xf0)]-0x1,_0x1461fd;_0x594663>=0x0;_0x594663--)(_0x1461fd=_0x19a86f[_0x594663])&&(_0x47e2a5=(_0x421186?_0x1461fd(_0x1b32f5,_0x549095,_0x47e2a5):_0x1461fd(_0x47e2a5))||_0x47e2a5);return _0x421186&&_0x47e2a5&&Xn(_0x1b32f5,_0x549095,_0x47e2a5),_0x47e2a5;},we=(_0x5a3836,_0x6a3ab0)=>(_0x22d458,_0x1287f2)=>_0x6a3ab0(_0x22d458,_0x1287f2,_0x5a3836);let xe=class extends _0x4f1548{constructor(_0x4e4199,_0x38450f,_0x34d35f,_0x3feb8f,_0x399968,_0x4b02ac,_0x3762a1){const _0x288d36=_0x45d431;super(),g(this,'_socket$',new _0x1117fe(void 0x0)),g(this,_0x288d36(0x251),this[_0x288d36(0x398)][_0x288d36(0x1bc)]()),g(this,'_candidateSocket',null),g(this,_0x288d36(0x335),new Map()),g(this,_0x288d36(0x285),new _0x1117fe(ve[_0x288d36(0x234)])),g(this,_0x288d36(0x208),this[_0x288d36(0x285)][_0x288d36(0x1bc)]()),g(this,_0x288d36(0x30a),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x288d36(0x1f5),0x0),g(this,_0x288d36(0x446)),g(this,'_timeoutTimer'),(this['_injector']=_0x4e4199,this[_0x288d36(0x20a)]=_0x38450f,this[_0x288d36(0x321)]=_0x34d35f,this[_0x288d36(0x137)]=_0x3feb8f,this[_0x288d36(0x168)]=_0x399968,this[_0x288d36(0x3fc)]=_0x4b02ac,this[_0x288d36(0x122)]=_0x3762a1,this['_initEventListeners']());}get[_0x45d431(0x412)](){return this['_socket$']['getValue']();}[_0x45d431(0x3be)](){const _0x38fb7e=_0x45d431;this[_0x38fb7e(0x202)](),this[_0x38fb7e(0x4b7)]();}[_0x45d431(0x23a)](){const _0x58564f=_0x45d431;super[_0x58564f(0x23a)](),this[_0x58564f(0x335)][_0x58564f(0x4dd)](_0x37b712=>_0x37b712['dispose']()),this[_0x58564f(0x335)]['clear'](),this[_0x58564f(0x285)][_0x58564f(0x175)]();}async[_0x45d431(0x4b6)](_0x4f88b9){const _0x1d2608=_0x45d431;if(this['_sessions'][_0x1d2608(0x471)](_0x4f88b9))return this['_sessions']['get'](_0x4f88b9);this['_tryEnsureSocket']();const _0x50f1ff=this[_0x1d2608(0x3f7)][_0x1d2608(0x50b)](is,_0x4f88b9,this[_0x1d2608(0x398)]['asObservable']());return this['_sessions'][_0x1d2608(0x3eb)](_0x4f88b9,_0x50f1ff),_0x50f1ff;}['closeSession'](_0x1a9d74){const _0x13a5d7=_0x45d431;var _0x1a8400;const _0x3c6193=this[_0x13a5d7(0x335)][_0x13a5d7(0x296)](_0x1a9d74);_0x3c6193&&(this['_sessions'][_0x13a5d7(0x3ea)](_0x1a9d74),_0x3c6193[_0x13a5d7(0x15e)]()),this['_sessions'][_0x13a5d7(0x389)]||(_0x1a8400=this['_socket'])==null||_0x1a8400[_0x13a5d7(0x15e)]();}[_0x45d431(0x498)](){const _0x43891c=_0x45d431;this[_0x43891c(0x1f5)]=0x0,this[_0x43891c(0x1f6)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x43891c(0x13f)]();}async[_0x45d431(0x190)](){const _0x2a3f47=_0x45d431;var _0x31e4ad,_0x336ca7,_0xe490e1;const _0x16a370=this[_0x2a3f47(0x168)]['getConfig'](ee),_0x24f27a=(_0x31e4ad=_0x16a370==null?void 0x0:_0x16a370[_0x2a3f47(0x315)])!=null?_0x31e4ad:En;return(_0xe490e1=(_0x336ca7=(await this['_httpService'][_0x2a3f47(0x296)](_0x24f27a,{'headers':{'Content-Type':_0x2a3f47(0x32d)}}))['body'])==null?void 0x0:_0x336ca7['ticket'])!=null?_0xe490e1:'';}['_createSocketURL'](_0x6faa5){const _0x34da9d=_0x45d431;var _0x1516b4,_0x5db6a;const _0xa8935e=this['_configService'][_0x34da9d(0x3e4)](In),_0x9f39b3=this[_0x34da9d(0x168)][_0x34da9d(0x3e4)](ee),_0x2e0b09=(_0x5db6a=(_0x1516b4=_0x9f39b3==null?void 0x0:_0x9f39b3[_0x34da9d(0x4e3)])!=null?_0x1516b4:_0xa8935e)!=null?_0x5db6a:Cn,_0x1d3ade=new URL(_0x2e0b09,window['location'][_0x34da9d(0x116)]);return _0x1d3ade[_0x34da9d(0x3dc)]['set'](_0x34da9d(0x3b5),_0x6faa5),_0x1d3ade[_0x34da9d(0x117)]();}async[_0x45d431(0x2df)](){const _0x4f84ba=_0x45d431,_0x2fa165=await this['_getSessionTicket'](),_0x407a71=this[_0x4f84ba(0x4ce)](_0x2fa165),_0x88192=this[_0x4f84ba(0x3fc)][_0x4f84ba(0x48f)](_0x407a71);return this[_0x4f84ba(0x4a7)]=_0x88192,_0x88192;}async[_0x45d431(0x4b1)](){const _0x22384a=_0x45d431;var _0x56b7d8,_0x11715a;try{const _0x510f84=(_0x11715a=(_0x56b7d8=this['_socket'])!=null?_0x56b7d8:this[_0x22384a(0x4a7)])!=null?_0x11715a:await this[_0x22384a(0x2df)]();if(_0x510f84){const _0x42386a=_0x510f84[_0x22384a(0x422)];_0x510f84[_0x22384a(0x422)]=_0x1f0798=>(this[_0x22384a(0x2e0)](),_0x42386a[_0x22384a(0x2a9)](_0x510f84,[_0x1f0798])),_0x510f84[_0x22384a(0x11e)][_0x22384a(0x23d)](_0x2270cb=>this[_0x22384a(0x119)](_0x510f84,_0x2270cb)),_0x510f84['error$'][_0x22384a(0x476)](_0x27e775(0x1))[_0x22384a(0x23d)](_0x5d0974=>this[_0x22384a(0x137)][_0x22384a(0x299)](_0x22384a(0x2d4),_0x5d0974)),_0x510f84[_0x22384a(0x17c)][_0x22384a(0x476)](_0x27e775(0x1))[_0x22384a(0x23d)](()=>{this['_onConnectionOpen'](_0x510f84);}),_0x510f84[_0x22384a(0x217)][_0x22384a(0x476)](_0x27e775(0x1))[_0x22384a(0x23d)](_0x49a47a=>{const _0x32bdd4=_0x22384a;this[_0x32bdd4(0x137)][_0x32bdd4(0x391)](_0x32bdd4(0x35b),'socket\x20close',_0x49a47a),this[_0x32bdd4(0x1c0)]();});}}catch(_0x50b26c){this[_0x22384a(0x137)][_0x22384a(0x299)](_0x50b26c),this['_onConnectionFailed']();}}[_0x45d431(0x2be)](_0x20034b){const _0x57c0d4=_0x45d431;this[_0x57c0d4(0x137)]['debug']('[CollaborationSessionService]',_0x57c0d4(0x140)),_0x20034b[_0x57c0d4(0x422)]({'cmd':W[_0x57c0d4(0x131)]}),this[_0x57c0d4(0x2e0)]();}[_0x45d431(0x202)](){const _0x442219=_0x45d431;window['addEventListener'](_0x442219(0x158),()=>this['_onOffline']());}[_0x45d431(0x17e)](){const _0x3185c0=_0x45d431;this['_socketReady']=!0x1,this[_0x3185c0(0x4a7)]=null,this['_status$']['next'](ve[_0x3185c0(0x40c)]),this[_0x3185c0(0x398)][_0x3185c0(0x11b)](null),this[_0x3185c0(0x4d8)](),this[_0x3185c0(0x50c)]();}[_0x45d431(0x1c0)](){const _0x265d8b=_0x45d431;var _0x2aecf3;this[_0x265d8b(0x17e)](),this[_0x265d8b(0x1f5)]<((_0x2aecf3=this[_0x265d8b(0x168)][_0x265d8b(0x3e4)](On))!=null?_0x2aecf3:yn)?(this[_0x265d8b(0x321)][_0x265d8b(0x176)]({'key':_0x265d8b(0x4fe),'type':_0x3067da[_0x265d8b(0x455)],'content':this[_0x265d8b(0x20a)]['t'](_0x265d8b(0x1a9))}),this[_0x265d8b(0x13f)]()):this[_0x265d8b(0x321)][_0x265d8b(0x176)]({'key':_0x265d8b(0x4fe),'type':_0x3067da[_0x265d8b(0x4de)],'content':this[_0x265d8b(0x20a)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x2e7c63=_0x45d431,_0x37c072=()=>{const _0xe16b29=_0x5144;this[_0xe16b29(0x412)]||this[_0xe16b29(0x498)]();},_0x3d55bb=()=>{const _0x53c0af=_0x5144;this['_socket']||document[_0x53c0af(0x2a5)]===_0x53c0af(0x2d1)||this[_0x53c0af(0x498)]();};window['addEventListener']('online',_0x37c072),document['addEventListener'](_0x2e7c63(0x390),_0x3d55bb);}[_0x45d431(0x13f)](){const _0x4c3ad7=_0x45d431;var _0x2abb2d;const _0x15657d=this[_0x4c3ad7(0x1f5)],_0x38eb55=this[_0x4c3ad7(0x168)][_0x4c3ad7(0x3e4)](ee),_0x34f3ad=_0x15657d===0x0?0x0:((_0x2abb2d=_0x38eb55==null?void 0x0:_0x38eb55[_0x4c3ad7(0x3a7)])!=null?_0x2abb2d:Rn)*0x2**_0x15657d;this['_retryConnectingTimer']=window[_0x4c3ad7(0x1ee)](()=>{const _0x445798=_0x4c3ad7;clearTimeout(this[_0x445798(0x1f6)]),this['_retryConnectingTimer']=null,this[_0x445798(0x4b1)]();},_0x34f3ad),this[_0x4c3ad7(0x1f5)]+=0x1;}['_onMessage'](_0x13b415,_0x1f7c03){const _0x114929=_0x45d431,{cmd:_0x57e87d}=_0x1f7c03;_0x57e87d===W['HELLO']&&!this[_0x114929(0x30a)]&&(_0x13b415['memberID']=_0x1f7c03[_0x114929(0x27a)]['memberID'],this[_0x114929(0x398)][_0x114929(0x11b)](_0x13b415),this[_0x114929(0x285)][_0x114929(0x11b)](ve[_0x114929(0x464)]),this[_0x114929(0x30a)]=!0x0,this['_candidateSocket']=null),_0x57e87d===W[_0x114929(0x47c)]&&this[_0x114929(0x4d8)](),this['_rescheduleHeartbeat']();}[_0x45d431(0x2e0)](){const _0x25cfe8=_0x45d431;var _0x4d94b4;this[_0x25cfe8(0x50c)](),this[_0x25cfe8(0x446)]=window['setTimeout'](()=>this[_0x25cfe8(0x2ea)](),(_0x4d94b4=this[_0x25cfe8(0x168)]['getConfig'](bn))!=null?_0x4d94b4:Tn);}[_0x45d431(0x2ea)](){const _0x1c9803=_0x45d431;this[_0x1c9803(0x412)][_0x1c9803(0x422)]({'cmd':W[_0x1c9803(0x47c)]}),this[_0x1c9803(0x30e)]();}['_waitForHeartbeatResponse'](){const _0x593534=_0x45d431;var _0x4d7aa6;this[_0x593534(0x1e5)]=window[_0x593534(0x1ee)](()=>this['_onConnectionFailed'](),(_0x4d7aa6=this[_0x593534(0x168)]['getConfig'](Di))!=null?_0x4d7aa6:Pi);}['_clearHeartbeatTimer'](){const _0x2cc398=_0x45d431;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x2cc398(0x446)]),this[_0x2cc398(0x446)]=null);}[_0x45d431(0x4d8)](){const _0x288c1e=_0x45d431;this[_0x288c1e(0x1e5)]!=null&&(clearTimeout(this[_0x288c1e(0x1e5)]),this[_0x288c1e(0x1e5)]=null);}};xe=Zn([we(0x0,_0x35b6a2(_0xaaab92)),we(0x1,_0x35b6a2(_0x31b970)),we(0x2,_0x454792),we(0x3,_0xce7964),we(0x4,_0x360b05),we(0x5,Ai),we(0x6,_0x35b6a2(_0xa83f3b))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x45d431(0x182)]((i+0x100)[_0x45d431(0x117)](0x10)[_0x45d431(0x3a1)](0x1));function Qn(_0x441d0e,_0x55f11f=0x0){const _0x360fc6=_0x45d431;return(Y[_0x441d0e[_0x55f11f+0x0]]+Y[_0x441d0e[_0x55f11f+0x1]]+Y[_0x441d0e[_0x55f11f+0x2]]+Y[_0x441d0e[_0x55f11f+0x3]]+'-'+Y[_0x441d0e[_0x55f11f+0x4]]+Y[_0x441d0e[_0x55f11f+0x5]]+'-'+Y[_0x441d0e[_0x55f11f+0x6]]+Y[_0x441d0e[_0x55f11f+0x7]]+'-'+Y[_0x441d0e[_0x55f11f+0x8]]+Y[_0x441d0e[_0x55f11f+0x9]]+'-'+Y[_0x441d0e[_0x55f11f+0xa]]+Y[_0x441d0e[_0x55f11f+0xb]]+Y[_0x441d0e[_0x55f11f+0xc]]+Y[_0x441d0e[_0x55f11f+0xd]]+Y[_0x441d0e[_0x55f11f+0xe]]+Y[_0x441d0e[_0x55f11f+0xf]])[_0x360fc6(0x313)]();}let Mt;const eo=new Uint8Array(0x10);function to(){const _0xae3e3=_0x45d431;if(!Mt){if(typeof crypto>'u'||!crypto[_0xae3e3(0x19b)])throw new Error(_0xae3e3(0x1a7));Mt=crypto['getRandomValues'][_0xae3e3(0x2a2)](crypto);}return Mt(eo);}const so=typeof crypto<'u'&&crypto[_0x45d431(0x2a7)]&&crypto['randomUUID']['bind'](crypto),Fs={'randomUUID':so};function io(_0x52d06b,_0x32bb09,_0x5f5927){const _0x467423=_0x45d431;if(Fs[_0x467423(0x2a7)]&&!_0x32bb09&&!_0x52d06b)return Fs[_0x467423(0x2a7)]();_0x52d06b=_0x52d06b||{};const _0x19d33e=_0x52d06b[_0x467423(0x1c9)]||(_0x52d06b[_0x467423(0x1c1)]||to)();return _0x19d33e[0x6]=_0x19d33e[0x6]&0xf|0x40,_0x19d33e[0x8]=_0x19d33e[0x8]&0x3f|0x80,Qn(_0x19d33e);}var ro=Object[_0x45d431(0x4f8)],no=Object[_0x45d431(0x494)],oo=(_0x1816bb,_0x50b2fc,_0x2564dd,_0x260399)=>{const _0x36147e=_0x45d431;for(var _0x16b0c8=_0x260399>0x1?void 0x0:_0x260399?no(_0x50b2fc,_0x2564dd):_0x50b2fc,_0x10eeff=_0x1816bb[_0x36147e(0xf0)]-0x1,_0x3601ea;_0x10eeff>=0x0;_0x10eeff--)(_0x3601ea=_0x1816bb[_0x10eeff])&&(_0x16b0c8=(_0x260399?_0x3601ea(_0x50b2fc,_0x2564dd,_0x16b0c8):_0x3601ea(_0x16b0c8))||_0x16b0c8);return _0x260399&&_0x16b0c8&&ro(_0x50b2fc,_0x2564dd,_0x16b0c8),_0x16b0c8;},xt=(_0x15a896,_0x45906f)=>(_0x47a0fc,_0x330bf9)=>_0x45906f(_0x47a0fc,_0x330bf9,_0x15a896);let vt=class{constructor(_0x2c167c,_0x1b6961,_0x1e50cb){this['_injector']=_0x2c167c,this['_transformService']=_0x1b6961,this['_renderManagerService']=_0x1e50cb;}[_0x45d431(0x3db)](_0x9a59fc){const _0x2a2e17=_0x45d431;this['_transformUndoRedoStack'](_0x9a59fc),this[_0x2a2e17(0x33d)](_0x9a59fc);}[_0x45d431(0x2e8)](_0x17c9e3){const _0x42a206=_0x45d431,{unitID:_0x3792c7}=_0x17c9e3,_0x3b5b85=this[_0x42a206(0x279)]['getRenderById'](_0x3792c7)[_0x42a206(0x220)](_0x57510e),{redoCache:_0xf8fa9b}=_0x3b5b85[_0x42a206(0x145)]();if(_0xf8fa9b['length']===0x0)return _0x17c9e3;let _0x284203=_0x8b0f12[_0x42a206(0x3aa)](_0x17c9e3[_0x42a206(0x4fc)][0x0]);for(let _0xe40722=0x0;_0xe40722<_0xf8fa9b[_0x42a206(0xf0)];_0xe40722++){const _0x290dc4={'id':_0x42a206(0x4d7),'params':{..._0xf8fa9b[_0xe40722]}},_0x5705f3=this['_transformService'][_0x42a206(0x102)](_0x284203,_0x290dc4,!0x1);if(_0x210785(_0x5705f3))throw _0x5705f3['error'];_0x284203=_0x5705f3[_0x42a206(0x1bf)];}return{..._0x8b0f12[_0x42a206(0x3aa)](_0x17c9e3),'mutations':[_0x284203]};}[_0x45d431(0x40a)](_0x2e8aa3){const _0x53a36c=_0x45d431,{unitID:_0x225443}=_0x2e8aa3,_0x2e1ccb=this[_0x53a36c(0x279)]['getRenderById'](_0x225443)[_0x53a36c(0x220)](_0x57510e),{undoCache:_0x13a49b,redoCache:_0x535cca}=_0x2e1ccb[_0x53a36c(0x145)]();if(_0x13a49b[_0x53a36c(0xf0)]===0x0||_0x535cca['length']===0x0)return;const _0x100350=[],_0x165681=[];let _0x141a6b=_0x8b0f12['deepClone'](_0x2e8aa3[_0x53a36c(0x4fc)][0x0]),_0x41990b=_0x8b0f12[_0x53a36c(0x3aa)](_0x2e8aa3[_0x53a36c(0x4fc)][0x0]);for(let _0x3c9d34=_0x13a49b[_0x53a36c(0xf0)]-0x1;_0x3c9d34>=0x0;_0x3c9d34--){const _0x5d188b={'id':_0x53a36c(0x4d7),'params':{..._0x13a49b[_0x3c9d34]}},_0x51fecb={'id':_0x53a36c(0x4d7),'params':{..._0x535cca[_0x3c9d34]}},_0x258059=this[_0x53a36c(0x2bb)][_0x53a36c(0x102)](_0x141a6b,_0x5d188b,!0x1),_0x5661ab=this[_0x53a36c(0x2bb)][_0x53a36c(0x102)](_0x41990b,_0x51fecb,!0x1);if(_0x210785(_0x258059))throw _0x258059[_0x53a36c(0x299)];if(_0x210785(_0x5661ab))throw _0x5661ab['error'];_0x100350[_0x53a36c(0x184)](_0x258059[_0x53a36c(0x19d)][_0x53a36c(0x46f)]),_0x165681[_0x53a36c(0x184)](_0x5661ab[_0x53a36c(0x19d)]['params']),_0x141a6b=_0x258059[_0x53a36c(0x1bf)],_0x41990b=_0x5661ab['m1Prime'];}_0x2e1ccb[_0x53a36c(0x42c)]({'undoCache':_0x100350,'redoCache':_0x165681});}[_0x45d431(0x33d)](_0xbc5144){const _0x26821e=_0x45d431,{unitID:_0x1659c1}=_0xbc5144,_0x32a5d5=this[_0x26821e(0x279)][_0x26821e(0x320)](_0x1659c1)[_0x26821e(0x220)](_0x57510e),_0x5b1dc2=_0x32a5d5['getActiveRange']();if(_0x5b1dc2==null)return;const _0x4b82a3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbc5144[_0x26821e(0x1b9)],'actions':null,'textRanges':[_0x5b1dc2]}}],_0x339806=this[_0x26821e(0x2bb)][_0x26821e(0x49a)](_0xbc5144,_0x4b82a3);if(!_0xabd7ef(_0x339806))throw _0x339806[_0x26821e(0x299)];const _0x537478=_0x339806['m2Prime'][0x0][_0x26821e(0x46f)][_0x26821e(0x4d0)];Array[_0x26821e(0x496)](_0x537478)&&_0x537478[_0x26821e(0xf0)]&&_0x32a5d5[_0x26821e(0x43d)](_0x537478[0x0]);}};vt=oo([xt(0x0,_0x35b6a2(_0xaaab92)),xt(0x1,_0x47de3e),xt(0x2,_0x74ed0c)],vt);var ao=Object[_0x45d431(0x4f8)],co=Object[_0x45d431(0x494)],ho=(_0x274619,_0x2f8e13,_0x12f137,_0x1f9845)=>{const _0x4b92bc=_0x45d431;for(var _0x78d3ec=_0x1f9845>0x1?void 0x0:_0x1f9845?co(_0x2f8e13,_0x12f137):_0x2f8e13,_0x4965ee=_0x274619[_0x4b92bc(0xf0)]-0x1,_0x47f00f;_0x4965ee>=0x0;_0x4965ee--)(_0x47f00f=_0x274619[_0x4965ee])&&(_0x78d3ec=(_0x1f9845?_0x47f00f(_0x2f8e13,_0x12f137,_0x78d3ec):_0x47f00f(_0x78d3ec))||_0x78d3ec);return _0x1f9845&&_0x78d3ec&&ao(_0x2f8e13,_0x12f137,_0x78d3ec),_0x78d3ec;},Xe=(_0x2dc421,_0x37a773)=>(_0x37a4ff,_0x4442c1)=>_0x37a773(_0x37a4ff,_0x4442c1,_0x2dc421);let q=class extends _0x4f1548{constructor(_0x1ef84e,_0x127641,_0xcf04d3,_0x4981eb,_0x337e8f){const _0x474e90=_0x45d431;super(),g(this,_0x474e90(0x111),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x474e90(0x26a),!0x1),(this[_0x474e90(0x168)]=_0x1ef84e,this[_0x474e90(0x13d)]=_0x127641,this[_0x474e90(0x301)]=_0xcf04d3,this[_0x474e90(0x20a)]=_0x4981eb,this[_0x474e90(0x1c8)]=_0x337e8f,this[_0x474e90(0x3bf)]());}['disableLocalCache'](){const _0x806d85=_0x45d431;this[_0x806d85(0x26a)]=!0x0;}[_0x45d431(0x4e6)](){const _0x379164=_0x45d431;this[_0x379164(0x26a)]=!0x1;}[_0x45d431(0x23a)](){const _0x12fd75=_0x45d431;this[_0x12fd75(0x13e)]()['then'](()=>super[_0x12fd75(0x23a)]());}async[_0x45d431(0x2f8)](_0x2c0c7b){const _0x59239c=_0x45d431;return this[_0x59239c(0x26a)]?null:this[_0x59239c(0x13d)][_0x59239c(0x392)](Vs(_0x2c0c7b));}async[_0x45d431(0x224)](_0x182b8f,_0x57aefa){const _0xe710d7=_0x45d431;return!!this[_0xe710d7(0x13d)][_0xe710d7(0x34c)](_0x182b8f,_0x57aefa);}[_0x45d431(0x180)](_0x445b54,_0x489331,_0x25c33e,_0x36598b){const _0x12c8f3=_0x45d431,_0x551104=this[_0x12c8f3(0x1c8)][_0x12c8f3(0x105)](_0x445b54);this['_cachedData'][_0x12c8f3(0x3eb)](_0x445b54,{'unitID':_0x445b54,'type':_0x489331,'awaitingChangeset':_0x25c33e,'mutations':_0x36598b,'rev':_0x551104}),this[_0x12c8f3(0x159)][_0x12c8f3(0x471)](_0x445b54)||this[_0x12c8f3(0x2a3)](_0x445b54);}[_0x45d431(0x2a3)](_0x31f1bb){const _0x708a34=_0x45d431,_0x33601d=this['_getSaveTimeout']();_0x33601d===0x0?this['_saveCache'](_0x31f1bb):this['_saveTaskMap'][_0x708a34(0x3eb)](_0x31f1bb,setTimeout(()=>this['_saveCache'](_0x31f1bb),_0x33601d));}['_getSaveTimeout'](){var _0x516928;return(_0x516928=this['_configService']['getConfig'](wn))!=null?_0x516928:Dn;}[_0x45d431(0x12e)](_0x3cc90c){const _0x453628=_0x45d431,_0x13bd30=this[_0x453628(0x159)][_0x453628(0x296)](_0x3cc90c);return _0x13bd30!==void 0x0&&window[_0x453628(0x278)](_0x13bd30),this[_0x453628(0x13d)][_0x453628(0x34c)](Vs(_0x3cc90c),this[_0x453628(0x111)][_0x453628(0x296)](_0x3cc90c))[_0x453628(0x38b)](()=>this['_saveTaskMap'][_0x453628(0x3ea)](_0x3cc90c));}async[_0x45d431(0x13e)](){const _0x1b2ebd=_0x45d431,_0x3bdde6=[];this[_0x1b2ebd(0x159)]['forEach']((_0x51f28f,_0x4bd7f2)=>{const _0x33a898=_0x1b2ebd;window[_0x33a898(0x278)](_0x51f28f),_0x3bdde6[_0x33a898(0x182)](this[_0x33a898(0x12e)](_0x4bd7f2)['then'](()=>{const _0x5dabc3=_0x33a898;this[_0x5dabc3(0x159)]['delete'](_0x4bd7f2);}));}),await Promise[_0x1b2ebd(0xed)](_0x3bdde6);}[_0x45d431(0x3bf)](){const _0x30402a=_0x45d431;this[_0x30402a(0x20f)](this[_0x30402a(0x301)][_0x30402a(0x505)](()=>{const _0x3a9531=_0x30402a;if(this[_0x3a9531(0x159)][_0x3a9531(0x389)])return this[_0x3a9531(0x20a)]['t'](_0x3a9531(0x3bb));}));}};q=ho([Xe(0x0,_0x360b05),Xe(0x1,_0xf9799b),Xe(0x2,_0x4ec122),Xe(0x3,_0x35b6a2(_0x31b970)),Xe(0x4,_0x35b6a2(_0x301828))],q);function Vs(_0x1c1f6f){return'unit-cache-'+_0x1c1f6f;}var lo=Object['defineProperty'],_o=Object[_0x45d431(0x494)],uo=(_0x1230f7,_0x1dda70,_0x396b95,_0x2a3434)=>{const _0x51707b=_0x45d431;for(var _0x40ce2a=_0x2a3434>0x1?void 0x0:_0x2a3434?_o(_0x1dda70,_0x396b95):_0x1dda70,_0x19e93c=_0x1230f7[_0x51707b(0xf0)]-0x1,_0x4736fb;_0x19e93c>=0x0;_0x19e93c--)(_0x4736fb=_0x1230f7[_0x19e93c])&&(_0x40ce2a=(_0x2a3434?_0x4736fb(_0x1dda70,_0x396b95,_0x40ce2a):_0x4736fb(_0x40ce2a))||_0x40ce2a);return _0x2a3434&&_0x40ce2a&&lo(_0x1dda70,_0x396b95,_0x40ce2a),_0x40ce2a;},Lt=(_0xb6f416,_0x2e9bbf)=>(_0x2d2de7,_0x478bb2)=>_0x2e9bbf(_0x2d2de7,_0x478bb2,_0xb6f416);function fo(_0x39b877){const _0x42753c=_0x45d431,{unitID:_0x368021,mutations:_0x140577}=_0x39b877;return{'unitId':_0x368021,'subUnitId':_0x140577[0x0]['params'][_0x42753c(0x3b1)]};}let mt=class{constructor(_0x3850be,_0x499bca,_0x28a224){const _0x4fb7e9=_0x45d431;this[_0x4fb7e9(0x3f7)]=_0x3850be,this[_0x4fb7e9(0x2bb)]=_0x499bca,this[_0x4fb7e9(0x1e9)]=_0x28a224;}[_0x45d431(0x396)](_0x4581f8){const _0x5dd087=_0x45d431;var _0x36cb2b,_0x53b879,_0x5d1f85,_0x12c8bc;const _0x4bb747=this[_0x5dd087(0x3f7)]['get'](_0x2a85ea),{unitId:_0x345665,subUnitId:_0x232f07}=fo(_0x4581f8),_0x2ac7e7=_0x4bb747['getWorkbookSelections'](_0x345665)[_0x5dd087(0x4f0)](),_0x19bdc3=(_0x53b879=(_0x36cb2b=this[_0x5dd087(0x1e9)][_0x5dd087(0x114)](_0x345665))==null?void 0x0:_0x36cb2b[_0x5dd087(0x503)]())==null?void 0x0:_0x53b879['getSheetId']();if(_0x2ac7e7['length']===0x0||!_0x345665||!_0x232f07)return;const _0x2784ee=[{'id':_0x40ecbd['id'],'params':{'unitId':_0x345665,'subUnitId':_0x19bdc3,'selections':_0x8b0f12['deepClone'](_0x2ac7e7)}}],_0x422a11=this[_0x5dd087(0x2bb)]['transformMutationsWithChangeset'](_0x4581f8,_0x2784ee);if(!_0xabd7ef(_0x422a11))throw _0x422a11[_0x5dd087(0x299)];const _0x1944c9=(_0x12c8bc=(_0x5d1f85=_0x422a11[_0x5dd087(0x19d)][0x0])==null?void 0x0:_0x5d1f85[_0x5dd087(0x46f)])==null?void 0x0:_0x12c8bc[_0x5dd087(0x2c0)];if(Array[_0x5dd087(0x496)](_0x1944c9)&&_0x1944c9[_0x5dd087(0xf0)]){if(_0x1944c9[_0x5dd087(0xf0)]===_0x2784ee[0x0]['params'][_0x5dd087(0x2c0)][_0x5dd087(0xf0)]&&_0x1944c9[_0x5dd087(0x480)]((_0x475f24,_0x51c4f0)=>_0x4ccd5c['equals'](_0x475f24[_0x5dd087(0x37e)],_0x2784ee[0x0]['params'][_0x5dd087(0x2c0)][_0x51c4f0][_0x5dd087(0x37e)])))return;this['_injector'][_0x5dd087(0x296)](_0x66b6aa)['executeCommand'](_0x40ecbd['id'],{'unitId':_0x345665,'subUnitId':_0x19bdc3,'selections':_0x1944c9});}}};mt=uo([Lt(0x0,_0x35b6a2(_0xaaab92)),Lt(0x1,_0x47de3e),Lt(0x2,_0x47d1bd)],mt);const yt=_0x590062(_0x45d431(0x433));var xi=(_0x3ff0af=>(_0x3ff0af[_0x3ff0af[_0x45d431(0x28e)]=0x0]=_0x45d431(0x28e),_0x3ff0af[_0x3ff0af[_0x45d431(0x440)]=0x1]='OTHER_CLIENTS_EDITING',_0x3ff0af))(xi||{});const Gs=0x7530,Ys=_0x45d431(0x31b);class vo extends _0x4f1548{constructor(){const _0x42f40c=_0x45d431;super(),g(this,_0x42f40c(0x4e2),_0x8b0f12[_0x42f40c(0x1dc)]()),g(this,_0x42f40c(0x1db),new Set()),g(this,_0x42f40c(0x31f),new Map()),g(this,_0x42f40c(0x4a0),null),g(this,_0x42f40c(0x434),new Map()),g(this,_0x42f40c(0x473),new Map()),this[_0x42f40c(0x20b)]();}[_0x45d431(0x23a)](){const _0x5dda99=_0x45d431;super[_0x5dda99(0x23a)](),this[_0x5dda99(0x434)]['forEach']((_0x32e696,_0x4775a1)=>this['_removeClearOtherTimer'](_0x4775a1)),this[_0x5dda99(0x4a0)]&&window[_0x5dda99(0x17f)](this[_0x5dda99(0x4a0)]);}[_0x45d431(0x142)](_0x31ccb4){const _0x922452=_0x45d431;return this[_0x922452(0x14a)](_0x31ccb4)[_0x922452(0x476)](_0x48fccc());}['editingUnit'](_0x444fff){const _0x4d1858=_0x45d431;this[_0x4d1858(0x1db)][_0x4d1858(0x389)]===0x0&&this[_0x4d1858(0x3ec)](),this[_0x4d1858(0x1db)][_0x4d1858(0x20c)](_0x444fff),this[_0x4d1858(0x1ce)]({'type':0x0,'memberID':this[_0x4d1858(0x4e2)],'unitIDs':[_0x444fff],'isForwarded':!0x1});}[_0x45d431(0x109)](_0x36a147){const _0x30142e=_0x45d431;this['_selfUnitIDs']['delete'](_0x36a147),this['_selfUnitIDs'][_0x30142e(0x389)]===0x0&&this[_0x30142e(0x4a0)]&&window[_0x30142e(0x17f)](this[_0x30142e(0x4a0)]);}[_0x45d431(0x20b)](){const _0xe7f9a3=_0x45d431;this['disposeWithMe'](_0x3cfbd5(_0x36d4c4(window,_0xe7f9a3(0x2db))[_0xe7f9a3(0x23d)](_0x31af07=>{const _0x1493d8=_0xe7f9a3;if(_0x31af07['key']!==Ys||!_0x31af07[_0x1493d8(0x4a9)])return;const _0x5a2d28=JSON[_0x1493d8(0xf6)](_0x31af07[_0x1493d8(0x4a9)]);this[_0x1493d8(0x18e)](_0x5a2d28);}))),window['addEventListener']('unload',()=>this[_0xe7f9a3(0x1ce)]({'type':0x1,'memberID':this[_0xe7f9a3(0x4e2)],'unitIDs':Array[_0xe7f9a3(0x3f9)](this[_0xe7f9a3(0x1db)])}));}[_0x45d431(0x18e)](_0x40cc94){const _0x111422=_0x45d431;switch(_0x40cc94['type']){case 0x0:this[_0x111422(0xef)](_0x40cc94);break;case 0x1:this[_0x111422(0x1fb)](_0x40cc94);break;case 0x2:this[_0x111422(0x454)](_0x40cc94);break;}}['_handleJoinEvent'](_0x41b42e){const _0x260978=_0x45d431,{unitIDs:_0x1e9dc0,memberID:_0x2cd0ac,isForwarded:_0x394ddc}=_0x41b42e;_0x1e9dc0['forEach'](_0x5a20de=>{const _0x1826d9=_0x5144;if(!_0x394ddc&&this[_0x1826d9(0x31f)][_0x1826d9(0x471)](_0x5a20de)&&this[_0x1826d9(0x14a)](_0x5a20de)[_0x1826d9(0x11b)](0x1),!this[_0x1826d9(0x31f)]['has'](_0x5a20de)||!this[_0x1826d9(0x31f)]['get'](_0x5a20de)[_0x1826d9(0x471)](_0x2cd0ac)){const _0x185f03=this[_0x1826d9(0x31f)][_0x1826d9(0x296)](_0x5a20de)||new Set();_0x185f03[_0x1826d9(0x20c)](_0x2cd0ac),this[_0x1826d9(0x31f)][_0x1826d9(0x3eb)](_0x5a20de,_0x185f03),this[_0x1826d9(0x4b2)](_0x2cd0ac);}}),_0x394ddc||this['_send']({'type':0x0,'memberID':this[_0x260978(0x4e2)],'unitIDs':[...this[_0x260978(0x1db)]],'isForwarded':!0x0});}[_0x45d431(0x4b2)](_0x189ac1){const _0x1a1bad=_0x45d431;this[_0x1a1bad(0x2f0)](_0x189ac1);const _0x5c6bd9=window['setTimeout'](()=>{const _0x4e072c=_0x1a1bad;this[_0x4e072c(0x31f)][_0x4e072c(0x4dd)](_0x55e017=>{_0x55e017['delete'](_0x189ac1);});},Gs*0x2);this[_0x1a1bad(0x434)][_0x1a1bad(0x3eb)](_0x189ac1,_0x5c6bd9);}[_0x45d431(0x2f0)](_0x2fd1d9){const _0x2c737b=_0x45d431;if(this['_clearOtherTimers']['has'](_0x2fd1d9)){const _0x5d42e8=this[_0x2c737b(0x434)][_0x2c737b(0x296)](_0x2fd1d9);_0x5d42e8&&window[_0x2c737b(0x278)](_0x5d42e8),this[_0x2c737b(0x434)][_0x2c737b(0x3eb)](_0x2fd1d9,null);}}[_0x45d431(0x1fb)](_0x4116d5){const _0x1c2080=_0x45d431,{memberID:_0x7b4fbd,unitIDs:_0x4e1123}=_0x4116d5;_0x4e1123[_0x1c2080(0x4dd)](_0x427f50=>{const _0x456b2e=_0x1c2080;var _0x3bfa3f;const _0x191a49=this[_0x456b2e(0x31f)][_0x456b2e(0x296)](_0x427f50);_0x191a49&&(_0x191a49['delete'](_0x7b4fbd),(_0x3bfa3f=this['_ensureSubject'](_0x427f50))==null||_0x3bfa3f[_0x456b2e(0x11b)](_0x191a49[_0x456b2e(0x389)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x7b4fbd);}[_0x45d431(0x454)](_0x1c66df){const _0x7ad489=_0x45d431;this['_scheduleClearOtherTimer'](_0x1c66df[_0x7ad489(0x179)]);}[_0x45d431(0x1ce)](_0xbb003c){const _0x2ab3f3=_0x45d431;localStorage[_0x2ab3f3(0x34c)](Ys,JSON['stringify'](_0xbb003c));}[_0x45d431(0x3ec)](){const _0x3fdee9=_0x45d431;this[_0x3fdee9(0x4a0)]=window['setInterval'](()=>{const _0x3ab280=_0x3fdee9;this[_0x3ab280(0x1ce)]({'type':0x2,'memberID':this[_0x3ab280(0x4e2)]});},Gs);}[_0x45d431(0x14a)](_0x3d4879){const _0x4ca0d8=_0x45d431;return this[_0x4ca0d8(0x473)][_0x4ca0d8(0x471)](_0x3d4879)||this['_unitStatus']['set'](_0x3d4879,new _0x1117fe(0x0)),this[_0x4ca0d8(0x473)][_0x4ca0d8(0x296)](_0x3d4879);}}var mo=Object[_0x45d431(0x4f8)],po=Object[_0x45d431(0x494)],go=(_0x37e390,_0x49a3e9,_0x1b5543,_0x35914f)=>{const _0x43e33f=_0x45d431;for(var _0x12fc45=_0x35914f>0x1?void 0x0:_0x35914f?po(_0x49a3e9,_0x1b5543):_0x49a3e9,_0x42c739=_0x37e390[_0x43e33f(0xf0)]-0x1,_0x1e542c;_0x42c739>=0x0;_0x42c739--)(_0x1e542c=_0x37e390[_0x42c739])&&(_0x12fc45=(_0x35914f?_0x1e542c(_0x49a3e9,_0x1b5543,_0x12fc45):_0x1e542c(_0x12fc45))||_0x12fc45);return _0x35914f&&_0x12fc45&&mo(_0x49a3e9,_0x1b5543,_0x12fc45),_0x12fc45;},$t=(_0x5d6d49,_0x2d8da4)=>(_0x5a70cd,_0x56f273)=>_0x2d8da4(_0x5a70cd,_0x56f273,_0x5d6d49);let pt=class{constructor(_0x2c9254,_0x5ca283,_0x3787f4){this['_injector']=_0x2c9254,this['_transformService']=_0x5ca283,this['_docStateChangeManagerService']=_0x3787f4;}[_0x45d431(0x1f3)](_0x507daf){this['_transformHistoryAndStateStack'](_0x507daf);}['transformRemoteChangeset'](_0x396a53){const _0x3a2d91=_0x45d431,{unitID:_0x4047be}=_0x396a53,{collaboration:_0x2d53bf}=this[_0x3a2d91(0x3ee)][_0x3a2d91(0x183)](_0x4047be);if(_0x2d53bf[_0x3a2d91(0xf0)]===0x0)return _0x396a53;let _0x202ef5=_0x8b0f12['deepClone'](_0x396a53[_0x3a2d91(0x4fc)][0x0]);for(let _0x14c973=0x0;_0x14c973<_0x2d53bf[_0x3a2d91(0xf0)];_0x14c973++){const _0x2ea5f5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d53bf[_0x14c973][_0x3a2d91(0x310)],..._0x2d53bf[_0x14c973][_0x3a2d91(0x2aa)]}},_0x2503ea=this[_0x3a2d91(0x2bb)][_0x3a2d91(0x102)](_0x202ef5,_0x2ea5f5,!0x1);if(_0x210785(_0x2503ea))throw _0x2503ea['error'];_0x202ef5=_0x2503ea[_0x3a2d91(0x1bf)];}return{..._0x8b0f12[_0x3a2d91(0x3aa)](_0x396a53),'mutations':[_0x202ef5]};}[_0x45d431(0x416)](_0x3b7a06){const _0x42a47e=_0x45d431,{unitID:_0x3d10d5}=_0x3b7a06,{history:_0x5ac41f,collaboration:_0x7a060d}=this['_docStateChangeManagerService'][_0x42a47e(0x183)](_0x3d10d5);if(_0x5ac41f['length']===0x0&&_0x7a060d[_0x42a47e(0xf0)]===0x0)return;const _0x34c35b=[],_0x130f99=[];let _0x543733=_0x8b0f12[_0x42a47e(0x3aa)](_0x3b7a06[_0x42a47e(0x4fc)][0x0]),_0x473edd=_0x8b0f12['deepClone'](_0x3b7a06[_0x42a47e(0x4fc)][0x0]);for(let _0x5862ec=_0x5ac41f['length']-0x1;_0x5862ec>=0x0;_0x5862ec--){const _0x370ada={'id':_0x42a47e(0x4d7),'params':{'unitId':_0x5ac41f[_0x5862ec][_0x42a47e(0x310)],..._0x5ac41f[_0x5862ec]['undoState']}},_0x458ef8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ac41f[_0x5862ec][_0x42a47e(0x310)],..._0x5ac41f[_0x5862ec]['redoState']}},_0x2819de=this[_0x42a47e(0x2bb)]['transformMutation'](_0x543733,_0x370ada,!0x1),_0x2228b8=this[_0x42a47e(0x2bb)][_0x42a47e(0x102)](_0x473edd,_0x458ef8,!0x1);if(_0x210785(_0x2819de))throw _0x2819de['error'];if(_0x210785(_0x2228b8))throw _0x2228b8[_0x42a47e(0x299)];_0x34c35b[_0x42a47e(0x184)]({..._0x5ac41f[_0x5862ec],'undoState':_0x2819de[_0x42a47e(0x19d)][_0x42a47e(0x46f)],'redoState':_0x2228b8['m2Prime'][_0x42a47e(0x46f)]}),_0x543733=_0x2819de['m1Prime'],_0x473edd=_0x2228b8[_0x42a47e(0x1bf)];}_0x543733=_0x8b0f12['deepClone'](_0x3b7a06[_0x42a47e(0x4fc)][0x0]),_0x473edd=_0x8b0f12['deepClone'](_0x3b7a06[_0x42a47e(0x4fc)][0x0]);for(let _0x2fc306=_0x7a060d['length']-0x1;_0x2fc306>=0x0;_0x2fc306--){const _0xef6fb5={'id':_0x42a47e(0x4d7),'params':{'unitId':_0x7a060d[_0x2fc306][_0x42a47e(0x310)],..._0x7a060d[_0x2fc306][_0x42a47e(0x1aa)]}},_0x293788={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x7a060d[_0x2fc306][_0x42a47e(0x310)],..._0x7a060d[_0x2fc306][_0x42a47e(0x2aa)]}},_0x144c09=this['_transformService'][_0x42a47e(0x102)](_0x543733,_0xef6fb5,!0x1),_0x3bb252=this[_0x42a47e(0x2bb)][_0x42a47e(0x102)](_0x473edd,_0x293788,!0x1);if(_0x210785(_0x144c09))throw _0x144c09['error'];if(_0x210785(_0x3bb252))throw _0x3bb252[_0x42a47e(0x299)];_0x130f99[_0x42a47e(0x184)]({..._0x7a060d[_0x2fc306],'undoState':_0x144c09[_0x42a47e(0x19d)][_0x42a47e(0x46f)],'redoState':_0x3bb252['m2Prime']['params']}),_0x543733=_0x144c09[_0x42a47e(0x1bf)],_0x473edd=_0x3bb252[_0x42a47e(0x1bf)];}this[_0x42a47e(0x3ee)]['setStateCache'](_0x3d10d5,{'history':_0x34c35b,'collaboration':_0x130f99});}};pt=go([$t(0x0,_0x35b6a2(_0xaaab92)),$t(0x1,_0x47de3e),$t(0x2,_0x35b6a2(_0x187b3c))],pt);function Li(_0x4723a1){const _0x504ea9=_0x45d431;let _0x3d748d='';for(const _0xefcb6f of _0x4723a1){const {startOffset:_0x3fa2f7,endOffset:_0x4239f6,isActive:_0xce4714,rangeType:_0x2d63b9,segmentId:_0x45bc0f,segmentPage:_0x768220}=_0xefcb6f;_0x3d748d[_0x504ea9(0xf0)]&&(_0x3d748d+=','),_0x3d748d+=_0x3fa2f7+':'+_0x4239f6+':'+(_0xce4714?'1':'0')+':'+_0x2d63b9+':'+_0x45bc0f+':'+_0x768220;}return _0x3d748d;}function So(_0x271f33){const _0x14635c=_0x45d431,_0x20ebb4=_0x271f33[_0x14635c(0x3a8)](','),_0x5d1948=[];for(const _0x5b6895 of _0x20ebb4){const [_0x29340a,_0x46cf95,_0x165076,_0xffbc87,_0x282aa3,_0x3cd4fd]=_0x5b6895[_0x14635c(0x3a8)](':');_0x5d1948[_0x14635c(0x182)]({'startOffset':Number(_0x29340a),'endOffset':Number(_0x46cf95),'collapsed':_0x29340a===_0x46cf95,'isActive':_0x165076==='1','rangeType':_0xffbc87===_0x1bbccb[_0x14635c(0x249)]?_0x1bbccb[_0x14635c(0x249)]:_0x1bbccb['RECT'],'segmentId':typeof _0x282aa3=='string'?String(_0x282aa3):'','segmentPage':Number(_0x3cd4fd!=null?_0x3cd4fd:-0x1)});}return _0x5d1948[_0x14635c(0x2ce)](_0x3cb9d4=>_0x3cb9d4['isActive'])||(_0x5d1948[0x0][_0x14635c(0x15a)]=!0x0),_0x5d1948;}class Ts extends _0x46da4c{constructor(){const _0x29fc72=_0x45d431;super(...arguments),g(this,'_collabCursorState$',new _0x1117fe(null)),g(this,'collabCursorState$',this[_0x29fc72(0x2ec)][_0x29fc72(0x1bc)]());}[_0x45d431(0x3ab)](_0xfd9dfc){const _0x46af8d=_0x45d431,{unitID:_0x38d7d0,memberID:_0x34906e,textRanges:_0x756278}=_0xfd9dfc,_0x1ca4d3=Li(_0x756278);if(_0x1ca4d3==='')return;const _0x355580={'unitID':_0x38d7d0,'memberID':_0x34906e,'selection':_0x1ca4d3};this[_0x46af8d(0x2ec)]['next'](_0x355580);}}var Io=Object[_0x45d431(0x4f8)],Co=Object[_0x45d431(0x494)],Eo=(_0x2bd379,_0x51582e,_0xee27f0,_0x47c77a)=>{const _0x369f4f=_0x45d431;for(var _0x5e221e=_0x47c77a>0x1?void 0x0:_0x47c77a?Co(_0x51582e,_0xee27f0):_0x51582e,_0x42abef=_0x2bd379[_0x369f4f(0xf0)]-0x1,_0x524637;_0x42abef>=0x0;_0x42abef--)(_0x524637=_0x2bd379[_0x42abef])&&(_0x5e221e=(_0x47c77a?_0x524637(_0x51582e,_0xee27f0,_0x5e221e):_0x524637(_0x5e221e))||_0x5e221e);return _0x47c77a&&_0x5e221e&&Io(_0x51582e,_0xee27f0,_0x5e221e),_0x5e221e;},Ks=(_0x4a35ca,_0x135a73)=>(_0x40ecdb,_0x132f74)=>_0x135a73(_0x40ecdb,_0x132f74,_0x4a35ca);let gt=class{constructor(_0x508eac,_0x247d4c){const _0x1ca9cd=_0x45d431;this[_0x1ca9cd(0x3f7)]=_0x508eac,this[_0x1ca9cd(0x2bb)]=_0x247d4c;}[_0x45d431(0x396)](_0x16badd){const _0x7c6cef=_0x45d431;var _0xf8ac44;const _0x464348=this['_injector'][_0x7c6cef(0x296)](_0x53c254),_0x5cf2a4=(_0xf8ac44=_0x464348[_0x7c6cef(0x400)]())!=null?_0xf8ac44:[];if(_0x5cf2a4[_0x7c6cef(0xf0)]===0x0)return;const _0x1f2fd0=_0x16badd['unitID'],_0x3c6d72=[{'id':_0x7c6cef(0x4d7),'params':{'unitId':_0x1f2fd0,'actions':null,'textRanges':_0x5cf2a4}}],_0x293e66=this[_0x7c6cef(0x2bb)]['transformMutationsWithChangeset'](_0x16badd,_0x3c6d72);if(!_0xabd7ef(_0x293e66))throw _0x293e66['error'];const _0x419584=_0x293e66[_0x7c6cef(0x19d)][0x0][_0x7c6cef(0x46f)]['textRanges'];Array[_0x7c6cef(0x496)](_0x419584)&&_0x419584[_0x7c6cef(0xf0)]&&_0x464348[_0x7c6cef(0x353)](_0x419584,{'unitId':_0x1f2fd0,'subUnitId':_0x1f2fd0},!0x1);}};gt=Eo([Ks(0x0,_0x35b6a2(_0xaaab92)),Ks(0x1,_0x47de3e)],gt);const bo=new Set([_0x38bcec['id']]);function zs(_0x3009e1,_0x226a05,_0x10e5f3,_0x5110e2,_0x2942e9){const _0x3f9d85=_0x45d431;var _0x2e61c7,_0x34b325,_0x3c077b,_0x3e3f2c;const _0x555bdf=[];for(const _0x55cd2 of _0x3009e1)if(bo[_0x3f9d85(0x471)](_0x55cd2['id'])){if(_0x555bdf['length']>0x0)break;_0x555bdf[_0x3f9d85(0x182)](_0x55cd2);break;}else _0x555bdf[_0x3f9d85(0x182)](_0x55cd2);const _0x45337d=(_0x34b325=(_0x2e61c7=_0x2942e9[_0x3f9d85(0x2b8)]())==null?void 0x0:_0x2e61c7[_0x3f9d85(0x1c6)])!=null?_0x34b325:_0x3f9d85(0x383),_0x2c811b=(_0x3e3f2c=(_0x3c077b=_0x2942e9[_0x3f9d85(0x2b8)]())==null?void 0x0:_0x3c077b['memberID'])!=null?_0x3e3f2c:'unknown';return{'changeset':{'unitID':_0x226a05,'type':_0x56eb4f(_0x10e5f3[_0x3f9d85(0x22e)](_0x226a05)),'baseRev':_0x5110e2[_0x3f9d85(0x105)](_0x226a05),'revision':0x0,'userID':_0x45337d,'memberID':_0x2c811b,'mutations':_0x555bdf},'pendingMutations':_0x3009e1['slice'](_0x555bdf[_0x3f9d85(0xf0)])};}function To(_0x16261e,_0x10512d,_0x442ca5,_0x12271b,_0x2af4f9){const _0xd2fc4=_0x45d431;var _0x4d978c,_0x4e40f6,_0x4a1608,_0x23c4c9;const _0x194dfc=[_0x16261e[_0xd2fc4(0xf8)]((_0x74b2c8,_0xc08ecf)=>{const _0x49b0cd=_0xd2fc4;var _0x4c60ed;const {id:_0x2489b6}=_0x74b2c8,{id:_0xf8c0dd,type:_0x1e1686}=_0xc08ecf,_0x50249b=(_0x4c60ed=_0x74b2c8[_0x49b0cd(0x46f)])!=null?_0x4c60ed:{'actions':null},_0x1b94e5=_0xc08ecf[_0x49b0cd(0x46f)];if(_0x2489b6&&_0x2489b6!==_0xf8c0dd)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2489b6+_0x49b0cd(0x244)+_0xf8c0dd+'.');return{..._0x74b2c8,'id':_0xf8c0dd,'type':_0x1e1686,'params':{'unitId':_0x1b94e5[_0x49b0cd(0x310)],'textRanges':_0x1b94e5[_0x49b0cd(0x4d0)],'actions':_0x401cc6[_0x49b0cd(0x1cf)](_0x50249b[_0x49b0cd(0x3b4)],_0x1b94e5['actions'])}};},{})],_0x25fe08=(_0x4e40f6=(_0x4d978c=_0x2af4f9['getCurrentUser']())==null?void 0x0:_0x4d978c['userID'])!=null?_0x4e40f6:_0xd2fc4(0x383),_0x456e9b=(_0x23c4c9=(_0x4a1608=_0x2af4f9['getCurrentUser']())==null?void 0x0:_0x4a1608[_0xd2fc4(0x179)])!=null?_0x23c4c9:_0xd2fc4(0x383);return{'changeset':{'unitID':_0x10512d,'type':_0x56eb4f(_0x442ca5[_0xd2fc4(0x22e)](_0x10512d)),'baseRev':_0x12271b[_0xd2fc4(0x105)](_0x10512d),'revision':0x0,'userID':_0x25fe08,'memberID':_0x456e9b,'mutations':_0x194dfc},'pendingMutations':[]};}function $i(_0x223eb1,_0x4015b1){const _0x3e77ff=_0x45d431,_0x44dc35=new _0x5c9396(0x1);return setTimeout(()=>_0x44dc35['next'](_0x4015b1),_0x223eb1),_0x44dc35[_0x3e77ff(0x1bc)]()[_0x3e77ff(0x476)](_0x182a9e(0x1));}const Ro={'id':_0x25e507['id'],'type':_0x1da462[_0x45d431(0x366)],'params':{}};var Oo=Object[_0x45d431(0x4f8)],yo=Object['getOwnPropertyDescriptor'],$e=(_0x52a5c7,_0xa5e67,_0x51350b,_0x39e7b0)=>{const _0xb54cb4=_0x45d431;for(var _0x14d085=_0x39e7b0>0x1?void 0x0:_0x39e7b0?yo(_0xa5e67,_0x51350b):_0xa5e67,_0x346899=_0x52a5c7[_0xb54cb4(0xf0)]-0x1,_0x54b5dd;_0x346899>=0x0;_0x346899--)(_0x54b5dd=_0x52a5c7[_0x346899])&&(_0x14d085=(_0x39e7b0?_0x54b5dd(_0xa5e67,_0x51350b,_0x14d085):_0x54b5dd(_0x14d085))||_0x14d085);return _0x39e7b0&&_0x14d085&&Oo(_0xa5e67,_0x51350b,_0x14d085),_0x14d085;},A=(_0x50177e,_0x4f1d09)=>(_0x2d125c,_0x399104)=>_0x4f1d09(_0x2d125c,_0x399104,_0x50177e),J=(_0x148a2a=>(_0x148a2a[_0x45d431(0x376)]=_0x45d431(0x2a1),_0x148a2a['SYNCED']='synced',_0x148a2a[_0x45d431(0x291)]=_0x45d431(0x361),_0x148a2a[_0x45d431(0x193)]=_0x45d431(0x174),_0x148a2a[_0x45d431(0x47b)]=_0x45d431(0x328),_0x148a2a[_0x45d431(0x21e)]=_0x45d431(0x4c2),_0x148a2a[_0x45d431(0x48b)]=_0x45d431(0x10e),_0x148a2a['OFFLINE']='offline',_0x148a2a))(J||{});const Hi=0xea60;class He{constructor(_0x3a4299,_0x4f23db,_0x135071,_0x244053,_0x25a00b,_0x4f022d,_0x80d8fc,_0xa94227,_0x341260){const _0x23dcdf=_0x45d431;g(this,_0x23dcdf(0x47d),null),g(this,_0x23dcdf(0x1f7),[]),(this['unitID']=_0x3a4299,this['type']=_0x4f23db,this['_handler']=_0x25a00b,this[_0x23dcdf(0x198)]=_0x4f022d,this[_0x23dcdf(0x44d)]=_0x80d8fc,this['_revisionService']=_0xa94227,this[_0x23dcdf(0x342)]=_0x341260,this[_0x23dcdf(0x47d)]=_0x135071,this[_0x23dcdf(0x1f7)]=_0x244053);}[_0x45d431(0x39d)](_0x23c7cc){const _0x455c37=_0x45d431,_0xd56556=this['_revisionService'][_0x455c37(0x105)](this[_0x455c37(0x1b9)]);return _0x23c7cc[_0x455c37(0x277)]>_0xd56556+0x1?(this[_0x455c37(0x39a)][_0x455c37(0x1d3)]({'from':_0xd56556,'to':_0x23c7cc['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x447fcd){const _0x2b9998=_0x45d431;this[_0x2b9998(0x44d)][_0x2b9998(0x2b1)](this[_0x2b9998(0x1b9)],_0x447fcd);}['_transformSelections'](_0x8ade60){const _0x50154a=_0x45d431;var _0x1561a5,_0x46a798;(_0x46a798=(_0x1561a5=this[_0x50154a(0x39a)])[_0x50154a(0x324)])==null||_0x46a798[_0x50154a(0x3f0)](_0x1561a5,_0x8ade60);}[_0x45d431(0x22b)](_0x5b7a53){const _0x48a5e8=_0x45d431;var _0x185771,_0x4f9db6;return(_0x4f9db6=(_0x185771=this[_0x48a5e8(0x39a)])[_0x48a5e8(0x483)])==null?void 0x0:_0x4f9db6[_0x48a5e8(0x3f0)](_0x185771,_0x5b7a53);}[_0x45d431(0x29a)](_0x584d39){const _0x1656e8=_0x45d431;var _0x95bd39,_0x49b303;return(_0x49b303=(_0x95bd39=this[_0x1656e8(0x39a)])[_0x1656e8(0x467)])==null?void 0x0:_0x49b303['call'](_0x95bd39,_0x584d39);}[_0x45d431(0x31c)](_0x1143ff){const _0x4c040f=_0x45d431;var _0x56f14f,_0x49a554,_0x125866;return(_0x125866=(_0x49a554=(_0x56f14f=this[_0x4c040f(0x39a)])[_0x4c040f(0x4f4)])==null?void 0x0:_0x49a554[_0x4c040f(0x3f0)](_0x56f14f,_0x1143ff))!=null?_0x125866:_0x1143ff;}[_0x45d431(0x2dd)](_0x2f3025){const _0x572909=_0x45d431;var _0x4b87cf,_0x3dceed,_0x585159;return(_0x585159=(_0x3dceed=(_0x4b87cf=this['_handler'])[_0x572909(0x386)])==null?void 0x0:_0x3dceed[_0x572909(0x3f0)](_0x4b87cf,_0x2f3025))!=null?_0x585159:_0x2f3025;}[_0x45d431(0xfe)](_0x8522ed){const _0x4d90a7=_0x45d431;var _0x43f7b2,_0x28a2a1;if(this['type']===ce[_0x4d90a7(0x258)]){const {unitID:_0x1e9d45,mutations:_0x4a39f5,memberID:_0x3a4a16}=_0x8522ed,_0x5d8ce2=_0x4a39f5[0x0][_0x4d90a7(0x46f)][_0x4d90a7(0x4d0)];Array[_0x4d90a7(0x496)](_0x5d8ce2)&&_0x5d8ce2['length']>0x0&&((_0x28a2a1=(_0x43f7b2=this[_0x4d90a7(0x39a)])[_0x4d90a7(0x4eb)])==null||_0x28a2a1[_0x4d90a7(0x3f0)](_0x43f7b2,{'unitID':_0x1e9d45,'memberID':_0x3a4a16,'textRanges':_0x5d8ce2}));}}['_updateLocalCache'](){const _0x58aa90=_0x45d431;this[_0x58aa90(0x342)][_0x58aa90(0x180)](this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x45d431(0x3b0)](){const _0x5d89dd=_0x45d431;return this[_0x5d89dd(0x1c8)][_0x5d89dd(0x105)](this['unitID']);}[_0x45d431(0x19c)](){const _0x42d785=_0x45d431;this[_0x42d785(0x1c8)][_0x42d785(0x25a)](this['unitID']);}[_0x45d431(0x497)](_0x325766){const _0x39f6b2=_0x45d431;var _0x584141;let _0x4a8541=this['_transformRemoteChangesetByIMECache'](_0x325766);_0x4a8541=this[_0x39f6b2(0x2dd)](_0x4a8541);const _0x2716d6=_0x342554(_0x4a8541[_0x39f6b2(0x4fc)],this[_0x39f6b2(0x198)],{'fromCollab':!0x0});if(!_0x2716d6[_0x39f6b2(0x2e3)])throw _0x2716d6[_0x39f6b2(0x299)]instanceof Error?_0x2716d6[_0x39f6b2(0x299)]:new Error((_0x584141=_0x2716d6[_0x39f6b2(0x299)])!=null?_0x584141:_0x39f6b2(0x500));this[_0x39f6b2(0x22b)](_0x4a8541),this['_transformStateCache'](_0x4a8541),this[_0x39f6b2(0x47e)](_0x325766),this['_transformSelections'](_0x4a8541),this[_0x39f6b2(0xfe)](_0x4a8541),this[_0x39f6b2(0x19c)]();}}let Fe=class extends He{constructor(_0x283f07,_0x17ab74,_0x24ed02,_0x474d75,_0x3788c6,_0x2b2d47,_0x55b33b,_0x11279f,_0x4d9914,_0x1d2101){const _0x3ed2e5=_0x45d431;super(_0x283f07,_0x17ab74,null,[],_0x24ed02,_0x11279f,_0x55b33b,_0x474d75,_0x3788c6),g(this,_0x3ed2e5(0x456),_0x3ed2e5(0x1e8)),(this[_0x3ed2e5(0x3f7)]=_0x2b2d47,this['_logService']=_0x4d9914,this[_0x3ed2e5(0x2bb)]=_0x1d2101);}[_0x45d431(0x430)](_0x2e2440){const _0x1888a9=_0x45d431,_0x4c319f=this[_0x1888a9(0x3f7)][_0x1888a9(0x50b)](pe,this[_0x1888a9(0x1b9)],this[_0x1888a9(0x118)],[_0x2e2440],this[_0x1888a9(0x39a)]);return _0x4c319f['_schedule'](),_0x4c319f['_updateLocalCache'](),_0x4c319f;}[_0x45d431(0xfd)](_0x96a245){const _0x3cac37=_0x45d431;if(this[_0x3cac37(0x39d)](_0x96a245))return this[_0x3cac37(0x3f7)]['createInstance'](he,this['unitID'],this[_0x3cac37(0x118)],null,[],null,[_0x96a245],this[_0x3cac37(0x39a)]);try{const _0x57dc1a=this[_0x3cac37(0x2bb)][_0x3cac37(0x49a)](_0x96a245,[Ro]);if(_0xabd7ef(_0x57dc1a)){const {c1Prime:_0xfe54fe}=_0x57dc1a;return this['_executeRemoteChangeset'](_0xfe54fe),this;}throw _0x57dc1a[_0x3cac37(0x299)];}catch(_0x2f4b2a){return this['_logService'][_0x3cac37(0x299)](_0x2f4b2a),this[_0x3cac37(0x487)](!0x1);}}[_0x45d431(0x487)](_0x251ef3){const _0x20feb1=_0x45d431;return this[_0x20feb1(0x3f7)]['createInstance'](Oe,this[_0x20feb1(0x1b9)],this[_0x20feb1(0x118)],null,[],this[_0x20feb1(0x39a)],_0x251ef3);}['onRemoteAck'](){const _0x3f1cbc=_0x45d431;throw new Error(_0x3f1cbc(0x29b));}[_0x45d431(0x349)](){const _0x11adc8=_0x45d431;throw new Error(_0x11adc8(0x229));}[_0x45d431(0x394)](){return this;}[_0x45d431(0x326)](){const _0x41b385=_0x45d431;return this[_0x41b385(0x3f7)][_0x41b385(0x50b)](ye,this[_0x41b385(0x1b9)],this['type'],null,[],this[_0x41b385(0x39a)]);}['toggleOnline'](){return this;}[_0x45d431(0x250)](){const _0x243cf7=_0x45d431;throw new Error(_0x243cf7(0x49f));}[_0x45d431(0x2e6)](){const _0x4daf4c=_0x45d431,_0x367292=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x4daf4c(0x39a)][_0x4daf4c(0x1d3)]({'from':_0x367292,'to':0x0}),this[_0x4daf4c(0x3f7)]['createInstance'](he,this[_0x4daf4c(0x1b9)],this[_0x4daf4c(0x118)],null,[],null,[],this[_0x4daf4c(0x39a)]);}};Fe=$e([A(0x3,_0x35b6a2(_0x301828)),A(0x4,_0x35b6a2(q)),A(0x5,_0x35b6a2(_0xaaab92)),A(0x6,_0x450df1),A(0x7,_0x66b6aa),A(0x8,_0xce7964),A(0x9,_0x47de3e)],Fe);let pe=class extends He{constructor(_0x5a5b4b,_0xb6e023,_0x30ccac,_0x4bfa15,_0x75f84a,_0x74b65,_0x1bccdd,_0x56177f,_0x3545af,_0xbd2613,_0x3ff9fc,_0x3f566a,_0x3ccb47,_0x314f82){const _0x3989f0=_0x45d431;super(_0x5a5b4b,_0xb6e023,null,_0x30ccac,_0x4bfa15,_0xbd2613,_0x314f82,_0x74b65,_0x1bccdd),g(this,'status',_0x3989f0(0x361)),g(this,_0x3989f0(0x253),null),g(this,_0x3989f0(0x259),null),(this[_0x3989f0(0x3f7)]=_0x75f84a,this['_memberService']=_0x56177f,this[_0x3989f0(0x137)]=_0x3545af,this['_configService']=_0x3ff9fc,this['_transformService']=_0x3f566a,this[_0x3989f0(0x2e5)]=_0x3ccb47);}[_0x45d431(0x430)](_0x548e06){const _0x55ac94=_0x45d431;return this[_0x55ac94(0x1f7)][_0x55ac94(0x182)](_0x548e06),this[_0x55ac94(0x1af)](),this;}['onRemoteChangeset'](_0x221408){const _0x5e8bcd=_0x45d431;if(this['_checkMissing'](_0x221408))return this['_clearScheduledTask'](),this[_0x5e8bcd(0x3f7)][_0x5e8bcd(0x50b)](he,this[_0x5e8bcd(0x1b9)],this[_0x5e8bcd(0x118)],null,this['_pendingMutations'],null,[_0x221408],this['_handler']);try{const _0xef3cec=this['_transformService'][_0x5e8bcd(0x49a)](_0x221408,this['_pendingMutations']);if(_0xabd7ef(_0xef3cec)){const {c1Prime:_0x4d1131,m2Prime:_0x5ab2fe}=_0xef3cec;this[_0x5e8bcd(0x497)](_0x4d1131);const _0x1e3dba=this[_0x5e8bcd(0x3f7)]['createInstance'](pe,this['unitID'],this['type'],_0x5ab2fe,this['_handler']);return this[_0x5e8bcd(0x43a)](),_0x1e3dba['_schedule'](this['_scheduleTimestamp']?Math[_0x5e8bcd(0x1cc)](0x0,new Date()[_0x5e8bcd(0x341)]()-this[_0x5e8bcd(0x253)]):this[_0x5e8bcd(0x399)]()),_0x1e3dba;}throw _0xef3cec['error'];}catch(_0x3694eb){return this[_0x5e8bcd(0x137)]['error'](_0x3694eb),this[_0x5e8bcd(0x487)](!0x1);}}[_0x45d431(0x414)](){const _0x117d62=_0x45d431;throw new Error(_0x117d62(0x222));}[_0x45d431(0x349)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x441c92=_0x45d431;return this[_0x441c92(0x43a)](),this[_0x441c92(0x3f7)][_0x441c92(0x50b)](ye,this[_0x441c92(0x1b9)],this[_0x441c92(0x118)],null,this[_0x441c92(0x1f7)],this[_0x441c92(0x39a)]);}[_0x45d431(0x2c2)](){return this;}[_0x45d431(0x2fa)](_0x2b61f9){const _0x384247=_0x45d431,_0x1f7ef4=_0x2b61f9!=null?_0x2b61f9:this[_0x384247(0x399)]();this[_0x384247(0x253)]=new Date()[_0x384247(0x341)](),this[_0x384247(0x259)]=window[_0x384247(0x1ee)](()=>{const _0x384edd=_0x384247;this[_0x384edd(0x43a)]();let _0x238b9d=null;switch(this['type']){case ce['UNIVER_SHEET']:{_0x238b9d=zs(this[_0x384edd(0x1f7)],this[_0x384edd(0x1b9)],this['_univerInstanceService'],this['_revisionService'],this[_0x384edd(0x3f3)]);break;}case ce[_0x384edd(0x258)]:{this[_0x384edd(0x1f7)][_0x384edd(0x480)](_0x431a9b=>_0x431a9b['id']===_0x128c30['id'])?_0x238b9d=To(this[_0x384edd(0x1f7)],this['unitID'],this['_univerInstanceService'],this[_0x384edd(0x1c8)],this[_0x384edd(0x3f3)]):_0x238b9d=zs(this[_0x384edd(0x1f7)],this[_0x384edd(0x1b9)],this[_0x384edd(0x2e5)],this[_0x384edd(0x1c8)],this[_0x384edd(0x3f3)]);break;}default:throw new Error(_0x384edd(0x1e0)+this[_0x384edd(0x118)]+'\x20in\x20_schedule.');}const {changeset:_0x4a55b9,pendingMutations:_0x147b90}=_0x238b9d;this[_0x384edd(0x39a)][_0x384edd(0x228)](_0x4a55b9);const _0x1a13c1=_0x147b90[_0x384edd(0xf0)]?this[_0x384edd(0x3f7)][_0x384edd(0x50b)](ge,this[_0x384edd(0x1b9)],this[_0x384edd(0x118)],_0x4a55b9,_0x147b90,this[_0x384edd(0x39a)],void 0x0):this[_0x384edd(0x3f7)][_0x384edd(0x50b)](Re,this['unitID'],this[_0x384edd(0x118)],_0x4a55b9,this[_0x384edd(0x39a)]);_0x1a13c1[_0x384edd(0x1af)](),this[_0x384edd(0x39a)]['onStateChange'](this,_0x1a13c1);},_0x1f7ef4);}[_0x45d431(0x399)](){const _0x33a2e3=_0x45d431;var _0x3bd719;const _0x3bbdeb=this[_0x33a2e3(0x168)]['getConfig'](ee);return(_0x3bd719=_0x3bbdeb==null?void 0x0:_0x3bbdeb[_0x33a2e3(0x2cf)])!=null?_0x3bd719:Sn;}[_0x45d431(0x250)](){const _0x53047d=_0x45d431;throw new Error(_0x53047d(0x333));}[_0x45d431(0x43a)](){const _0x20cceb=_0x45d431;this[_0x20cceb(0x259)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x20cceb(0x259)]=null);}['_onConflict'](_0x586a5d){const _0x3f1b9b=_0x45d431;return this['_clearScheduledTask'](),this['_injector']['createInstance'](Oe,this[_0x3f1b9b(0x1b9)],this[_0x3f1b9b(0x118)],null,this[_0x3f1b9b(0x1f7)],this[_0x3f1b9b(0x39a)],_0x586a5d);}};pe=$e([A(0x4,_0x35b6a2(_0xaaab92)),A(0x5,_0x35b6a2(_0x301828)),A(0x6,_0x35b6a2(q)),A(0x7,_0x35b6a2(Me)),A(0x8,_0xce7964),A(0x9,_0x66b6aa),A(0xa,_0x360b05),A(0xb,_0x47de3e),A(0xc,_0x47d1bd),A(0xd,_0x450df1)],pe);let Re=class extends He{constructor(_0x39ee1e,_0x3a74c4,_0x32d523,_0x45aed5,_0x178758,_0x2b5785,_0x5e4f0d,_0x376014,_0x29420c,_0x4e0f7f,_0x1827d){const _0x4ccb14=_0x45d431;super(_0x39ee1e,_0x3a74c4,_0x32d523,[],_0x45aed5,_0x376014,_0x1827d,_0x2b5785,_0x5e4f0d),g(this,_0x4ccb14(0x456),'awaiting'),g(this,_0x4ccb14(0x2e2),0x0),g(this,_0x4ccb14(0x1ad)),g(this,_0x4ccb14(0x384)),(this[_0x4ccb14(0x3f7)]=_0x178758,this[_0x4ccb14(0x137)]=_0x29420c,this['_transformService']=_0x4e0f7f);}[_0x45d431(0x430)](_0x44f99b){const _0x3c68fe=_0x45d431;this['_clearScheduledTask']();const _0xdb47a9=this['_injector'][_0x3c68fe(0x50b)](ge,this[_0x3c68fe(0x1b9)],this['type'],this['_awaitingChangeset'],[_0x44f99b],this[_0x3c68fe(0x39a)],this[_0x3c68fe(0x1ad)]);return _0xdb47a9['_updateLocalCache'](),_0xdb47a9;}[_0x45d431(0xfd)](_0x409a24){const _0x3d649f=_0x45d431;if(this[_0x3d649f(0x39d)](_0x409a24))return this[_0x3d649f(0x43a)](),this[_0x3d649f(0x3f7)][_0x3d649f(0x50b)](he,this[_0x3d649f(0x1b9)],this[_0x3d649f(0x118)],this[_0x3d649f(0x47d)],[],null,[_0x409a24],this[_0x3d649f(0x39a)]);try{const _0x3f5c4f=this[_0x3d649f(0x2bb)][_0x3d649f(0x1bd)]([_0x409a24],[this['_awaitingChangeset']],!0x1);if(_0x2b61ae(_0x3f5c4f)){const {c1Prime:_0x7de945,c2Prime:_0x4e21f8}=_0x3f5c4f;this[_0x3d649f(0x497)](_0x7de945[0x0]),_0x4e21f8[0x0][_0x3d649f(0x3d2)]=this['_getCurrentRevision'](),this[_0x3d649f(0x43a)]();const _0x442933=this[_0x3d649f(0x3f7)][_0x3d649f(0x50b)](Re,this[_0x3d649f(0x1b9)],this[_0x3d649f(0x118)],_0x4e21f8[0x0],this[_0x3d649f(0x39a)]);return _0x442933['_updateLocalCache'](),_0x442933;}return this[_0x3d649f(0x487)](!0x1);}catch(_0x22c563){return this[_0x3d649f(0x137)][_0x3d649f(0x299)](_0x22c563),this[_0x3d649f(0x487)](!0x1);}}[_0x45d431(0x414)](_0x2c9169){const _0x57c11f=_0x45d431;this[_0x57c11f(0x43a)]();const _0x3b6eb8=this[_0x57c11f(0x1c8)]['getCurrentRevOfUnit'](this[_0x57c11f(0x1b9)]);if(_0x2c9169[_0x57c11f(0x277)]<_0x3b6eb8-0x1)return this;if(this['_checkMissing'](_0x2c9169))return this['_injector']['createInstance'](he,this['unitID'],this[_0x57c11f(0x118)],null,[],this[_0x57c11f(0x47d)],[],this[_0x57c11f(0x39a)]);this[_0x57c11f(0x19c)]();const _0x3db4ab=this['_injector'][_0x57c11f(0x50b)](Fe,this[_0x57c11f(0x1b9)],this[_0x57c11f(0x118)],this[_0x57c11f(0x39a)]);return _0x3db4ab[_0x57c11f(0x1af)](),_0x3db4ab;}['onRemoteRej'](_0x175953){const _0x2c005b=_0x45d431;return this['_onConflict'](!!(_0x175953!=null&&_0x175953[_0x2c005b(0x24e)]));}['onRemoteRetry'](_0x33a4c1){const _0x3715e6=_0x45d431;return this[_0x3715e6(0x2e2)]>Hi?this[_0x3715e6(0x326)]():(this[_0x3715e6(0x1ad)]=$i(this[_0x3715e6(0x2e2)],{'timeout':this['_resendTimeout'],'reqId':_0x33a4c1['reqId']}),this[_0x3715e6(0x384)]=this[_0x3715e6(0x1ad)][_0x3715e6(0x23d)](({reqId:_0x49e139,timeout:_0x2cdb54})=>{const _0x81d980=_0x3715e6;this[_0x81d980(0x352)](_0x49e139,_0x2cdb54);}),this);}[_0x45d431(0x326)](){const _0xc47b15=_0x45d431;return this[_0xc47b15(0x43a)](),this['_injector']['createInstance'](ye,this[_0xc47b15(0x1b9)],this[_0xc47b15(0x118)],this[_0xc47b15(0x47d)],[],this[_0xc47b15(0x39a)]);}[_0x45d431(0x2c2)](){return this;}['resend'](){const _0xc1eb5d=_0x45d431;this[_0xc1eb5d(0x39a)][_0xc1eb5d(0x228)](this[_0xc1eb5d(0x47d)]);}[_0x45d431(0x487)](_0x290e2a){const _0x1416ce=_0x45d431;return this[_0x1416ce(0x43a)](),this[_0x1416ce(0x3f7)][_0x1416ce(0x50b)](Oe,this[_0x1416ce(0x1b9)],this[_0x1416ce(0x118)],this[_0x1416ce(0x47d)],[],this[_0x1416ce(0x39a)],_0x290e2a);}[_0x45d431(0x352)](_0x23f0b8,_0x1290c4){const _0x2af7ab=_0x45d431;var _0x2f2553;_0x23f0b8===((_0x2f2553=this['_awaitingChangeset'])==null?void 0x0:_0x2f2553['reqId'])&&(this[_0x2af7ab(0x250)](),this[_0x2af7ab(0x2e2)]=_0x1290c4===0x0?0x3e8:_0x1290c4*0x2);}['_clearScheduledTask'](){const _0x51bc0f=_0x45d431;var _0xe11c87;(_0xe11c87=this['_sender'])==null||_0xe11c87['unsubscribe'](),this[_0x51bc0f(0x2e2)]=0x0;}};Re=$e([A(0x4,_0x35b6a2(_0xaaab92)),A(0x5,_0x35b6a2(_0x301828)),A(0x6,_0x35b6a2(q)),A(0x7,_0x66b6aa),A(0x8,_0xce7964),A(0x9,_0x47de3e),A(0xa,_0x450df1)],Re);let ge=class extends He{constructor(_0x303df5,_0x53590c,_0x4d10bc,_0x4eb4e0,_0x5cf97d,_0x6db173,_0x530417,_0x4cf991,_0x4d3f0e,_0x4bce10,_0x28fb7d,_0x1e112e,_0x5ee986){const _0x363a70=_0x45d431;super(_0x303df5,_0x53590c,_0x4d10bc,_0x4eb4e0,_0x5cf97d,_0x4bce10,_0x5ee986,_0x4cf991,_0x4d3f0e),g(this,'status',_0x363a70(0x328)),g(this,'_resendTimeout',0x0),g(this,_0x363a70(0x1ad)),g(this,_0x363a70(0x384)),(this[_0x363a70(0x3f7)]=_0x530417,this[_0x363a70(0x137)]=_0x28fb7d,this['_transformService']=_0x1e112e,_0x6db173&&(this[_0x363a70(0x1ad)]=_0x6db173,this[_0x363a70(0x384)]=this[_0x363a70(0x1ad)]['subscribe'](({reqId:_0x2e8390,timeout:_0x53bc1a})=>{const _0x351811=_0x363a70;this[_0x351811(0x352)](_0x2e8390,_0x53bc1a);})));}[_0x45d431(0x430)](_0x7bbc8b){const _0x1cf17e=_0x45d431;return this[_0x1cf17e(0x1f7)][_0x1cf17e(0x182)](_0x7bbc8b),this;}[_0x45d431(0xfd)](_0x508fed){const _0x2c35e5=_0x45d431;if(this[_0x2c35e5(0x39d)](_0x508fed))return this[_0x2c35e5(0x43a)](),this[_0x2c35e5(0x3f7)][_0x2c35e5(0x50b)](he,this['unitID'],this[_0x2c35e5(0x118)],this[_0x2c35e5(0x47d)],this['_pendingMutations'],null,[_0x508fed],this['_handler']);try{const _0x5c56fb=this[_0x2c35e5(0x2bb)][_0x2c35e5(0x1bd)]([_0x508fed],[this['_awaitingChangeset']],!0x1);if(_0x2b61ae(_0x5c56fb)){const {c1Prime:_0x3ca438,c2Prime:_0x1a9046}=_0x5c56fb,_0x33c113=this[_0x2c35e5(0x2bb)][_0x2c35e5(0x49a)](_0x3ca438[0x0],this['_pendingMutations']);if(_0xabd7ef(_0x33c113)){const {c1Prime:_0x26ed1d,m2Prime:_0xdd65a}=_0x33c113;return this[_0x2c35e5(0x497)](_0x26ed1d),_0x1a9046[0x0][_0x2c35e5(0x3d2)]=this[_0x2c35e5(0x3b0)](),this['_clearScheduledTask'](),this[_0x2c35e5(0x3f7)][_0x2c35e5(0x50b)](ge,this['unitID'],this['type'],_0x1a9046[0x0],_0xdd65a,this[_0x2c35e5(0x39a)],void 0x0);}throw _0x33c113[_0x2c35e5(0x299)];}throw _0x5c56fb[_0x2c35e5(0x299)];}catch(_0x4228ba){return this[_0x2c35e5(0x137)][_0x2c35e5(0x299)](_0x4228ba),this[_0x2c35e5(0x487)](!0x1);}}[_0x45d431(0x414)](_0x4c2c5e){const _0x384455=_0x45d431;if(this[_0x384455(0x43a)](),this['_checkMissing'](_0x4c2c5e))return this[_0x384455(0x3f7)][_0x384455(0x50b)](he,this[_0x384455(0x1b9)],this['type'],null,this[_0x384455(0x1f7)],this[_0x384455(0x47d)],[],this['_handler']);this[_0x384455(0x19c)]();const _0x414909=this['_injector'][_0x384455(0x50b)](pe,this[_0x384455(0x1b9)],this[_0x384455(0x118)],this[_0x384455(0x1f7)],this['_handler']);return _0x414909[_0x384455(0x2fa)](),_0x414909[_0x384455(0x1af)](),_0x414909;}['onRemoteRej'](_0x240909){const _0x5e7c5b=_0x45d431;return this[_0x5e7c5b(0x487)](!!(_0x240909!=null&&_0x240909[_0x5e7c5b(0x24e)]));}['onRemoteRetry'](_0x2a4a97){const _0x256368=_0x45d431;return this['_resendTimeout']>Hi?this['toggleOffline']():(this[_0x256368(0x1ad)]=$i(this['_resendTimeout'],{'timeout':this[_0x256368(0x2e2)],'reqId':_0x2a4a97[_0x256368(0x459)]}),this[_0x256368(0x384)]=this['_resendTimer']['subscribe'](({reqId:_0x3d1fdf,timeout:_0x48bb1a})=>{const _0x488ff9=_0x256368;this[_0x488ff9(0x352)](_0x3d1fdf,_0x48bb1a);}),this);}['toggleOffline'](){const _0x2ce0ee=_0x45d431;return this[_0x2ce0ee(0x43a)](),this[_0x2ce0ee(0x3f7)][_0x2ce0ee(0x50b)](ye,this['unitID'],this[_0x2ce0ee(0x118)],this[_0x2ce0ee(0x47d)],this[_0x2ce0ee(0x1f7)],this['_handler']);}[_0x45d431(0x2c2)](){return this;}[_0x45d431(0x250)](){const _0x3eab41=_0x45d431;this['_handler'][_0x3eab41(0x228)](this[_0x3eab41(0x47d)]);}[_0x45d431(0x487)](_0x5cb212){const _0x4764fe=_0x45d431;return this[_0x4764fe(0x43a)](),this[_0x4764fe(0x3f7)][_0x4764fe(0x50b)](Oe,this[_0x4764fe(0x1b9)],this['type'],null,this[_0x4764fe(0x1f7)],this[_0x4764fe(0x39a)],_0x5cb212);}[_0x45d431(0x352)](_0xac8b0c,_0x52001a){const _0x2a14d3=_0x45d431;var _0xf6395c;_0xac8b0c===((_0xf6395c=this[_0x2a14d3(0x47d)])==null?void 0x0:_0xf6395c[_0x2a14d3(0x459)])&&(this['resend'](),this[_0x2a14d3(0x2e2)]=_0x52001a===0x0?0x3e8:_0x52001a*0x2);}[_0x45d431(0x43a)](){const _0x5a9dff=_0x45d431;var _0x11a9af;(_0x11a9af=this[_0x5a9dff(0x384)])==null||_0x11a9af[_0x5a9dff(0x406)](),this['_resendTimeout']=0x0;}};ge=$e([A(0x6,_0x35b6a2(_0xaaab92)),A(0x7,_0x35b6a2(_0x301828)),A(0x8,_0x35b6a2(q)),A(0x9,_0x66b6aa),A(0xa,_0xce7964),A(0xb,_0x47de3e),A(0xc,_0x450df1)],ge);let Oe=class extends He{constructor(_0x7d4cd9,_0x11ab05,_0x214843,_0x18e993,_0x2001b7,_0x1c5a2b=!0x1,_0x484f82,_0x35ce7b,_0x14d19a,_0x4b573d,_0x4f18da,_0x4e1af7,_0x4e046d){const _0x256568=_0x45d431;super(_0x7d4cd9,_0x11ab05,_0x214843,_0x18e993,_0x2001b7,_0x35ce7b,_0x14d19a,_0x4f18da,_0x4b573d),g(this,_0x256568(0x456),_0x256568(0x10e)),(this[_0x256568(0x247)]=_0x1c5a2b,this['_permissionService']=_0x484f82,this[_0x256568(0x20a)]=_0x4e1af7,this[_0x256568(0x466)]=_0x4e046d,this[_0x256568(0x1a0)](),this['_clearLocalCache'](),this[_0x256568(0x4d6)]());}[_0x45d431(0x430)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x45d431(0x349)](){return this;}['onRemoteRetry'](){return this;}[_0x45d431(0x326)](){return this;}[_0x45d431(0x2c2)](){return this;}['resend'](){const _0x511ab1=_0x45d431;throw new Error(_0x511ab1(0x2c8));}[_0x45d431(0x181)](){const _0x3d69a7=_0x45d431;this[_0x3d69a7(0x342)][_0x3d69a7(0x180)](this[_0x3d69a7(0x1b9)],this[_0x3d69a7(0x118)],null,[]);}['_showConflictNotification'](){const _0x20402a=_0x45d431;this[_0x20402a(0x247)]?this[_0x20402a(0x466)][_0x20402a(0x176)]({'title':this[_0x20402a(0x20a)]['t'](_0x20402a(0x169)),'content':this[_0x20402a(0x20a)]['t'](_0x20402a(0x235)),'type':_0x20402a(0x299),'duration':0x0}):this[_0x20402a(0x466)][_0x20402a(0x176)]({'title':this[_0x20402a(0x20a)]['t'](_0x20402a(0x41d)),'content':this[_0x20402a(0x20a)]['t'](_0x20402a(0x112)),'type':_0x20402a(0x299),'duration':0x0});}[_0x45d431(0x4d6)](){const _0x55a42a=_0x45d431;this[_0x55a42a(0x402)]['updatePermissionPoint'](new _0x2043e8(this[_0x55a42a(0x1b9)])['id'],!0x1);}};Oe=$e([A(0x6,_0x35b6a2(_0x30807c)),A(0x7,_0x66b6aa),A(0x8,_0x450df1),A(0x9,_0x35b6a2(q)),A(0xa,_0x35b6a2(_0x301828)),A(0xb,_0x35b6a2(_0x31b970)),A(0xc,_0xe774a5)],Oe);let ye=class extends He{constructor(_0x332021,_0x451433,_0x1695e6,_0x49379f,_0x2ba689,_0x4e3f94,_0x18e172,_0x201f6d,_0x28e3a1,_0x327c08){const _0x11ad82=_0x45d431;super(_0x332021,_0x451433,_0x1695e6,_0x49379f,_0x2ba689,_0x28e3a1,_0x327c08,_0x18e172,_0x201f6d),g(this,'status',_0x11ad82(0x158)),this[_0x11ad82(0x3f7)]=_0x4e3f94;}[_0x45d431(0x430)](_0x40afb6){const _0x1ff1f3=_0x45d431;return this[_0x1ff1f3(0x1f7)][_0x1ff1f3(0x182)](_0x40afb6),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3459fa){const _0x407c76=_0x45d431;throw new Error(_0x407c76(0x4ac));}[_0x45d431(0x414)](){const _0x291535=_0x45d431;throw new Error(_0x291535(0x4df));}[_0x45d431(0x349)](){const _0x179da0=_0x45d431;throw new Error(_0x179da0(0x280));}['onRemoteRetry'](){return this;}[_0x45d431(0x326)](){return this;}['toggleOnline'](){const _0x50b696=_0x45d431,{_injector:_0x4e14e6,_pendingMutations:_0x43709f,_awaitingChangeset:_0x26a160,unitID:_0x40a662,_handler:_0x45dffc,type:_0x2a2ed0}=this,_0x4f1b06=ji(_0x4e14e6,_0x40a662,_0x2a2ed0,_0x26a160,_0x43709f,_0x45dffc);return _0x4f1b06 instanceof pe?_0x4f1b06['_schedule']():(_0x4f1b06 instanceof ge||_0x4f1b06 instanceof Re)&&_0x4f1b06[_0x50b696(0x250)](),_0x4f1b06;}['resend'](){const _0x362a05=_0x45d431;throw new Error(_0x362a05(0x19e));}};ye=$e([A(0x5,_0x35b6a2(_0xaaab92)),A(0x6,_0x35b6a2(_0x301828)),A(0x7,_0x35b6a2(q)),A(0x8,_0x66b6aa),A(0x9,_0x450df1)],ye);let he=class extends He{constructor(_0x1d65bf,_0x5e7945,_0x238d52,_0x329e95,_0x5a0eea,_0x25296a,_0x1b8c2a,_0x25d1c0,_0x16c4ca,_0x557173,_0x2c9d36,_0x2957f0,_0x2d1ee5,_0x21a211){const _0x5ed4ff=_0x45d431;super(_0x1d65bf,_0x5e7945,_0x238d52,_0x329e95,_0x1b8c2a,_0x2957f0,_0x2d1ee5,_0x16c4ca,_0x557173),g(this,'status',_0x5ed4ff(0x4c2)),(this['_acknowledgedAwaitingChangeset']=_0x5a0eea,this['_queuedRemoteChangesets']=_0x25296a,this[_0x5ed4ff(0x3f7)]=_0x25d1c0,this[_0x5ed4ff(0x137)]=_0x2c9d36,this[_0x5ed4ff(0x2bb)]=_0x21a211);}[_0x45d431(0x45c)](_0x3f9fe3){const _0x2081c5=_0x45d431;try{const _0x5c5eb3=[..._0x3f9fe3,...this[_0x2081c5(0x18a)]],_0x1db0d1=[this[_0x2081c5(0x47d)]||this[_0x2081c5(0x4d2)]][_0x2081c5(0x393)](_0x538058=>!!_0x538058);let _0x32249e,_0x1ef5dd;if(_0x1db0d1['length']){const _0x263175=this[_0x2081c5(0x2bb)][_0x2081c5(0x1bd)](_0x5c5eb3,_0x1db0d1,!0x1);if(!_0x2b61ae(_0x263175))throw _0x263175[_0x2081c5(0x299)];_0x32249e=_0x263175['c1Prime'],_0x1ef5dd=_0x263175[_0x2081c5(0x308)];}else _0x32249e=_0x5c5eb3,_0x1ef5dd=[];let _0x2aa423=this[_0x2081c5(0x1f7)];_0x32249e[_0x2081c5(0x4dd)](_0x509916=>{const _0x3679e5=_0x2081c5;let _0x590ed4;if(_0x2aa423[_0x3679e5(0xf0)]){const _0x3d7bfa=this[_0x3679e5(0x2bb)][_0x3679e5(0x49a)](_0x509916,_0x2aa423);if(!_0xabd7ef(_0x3d7bfa))throw _0x3d7bfa[_0x3679e5(0x299)];_0x590ed4=_0x3d7bfa[_0x3679e5(0x1f9)],_0x2aa423=_0x3d7bfa[_0x3679e5(0x19d)];}else _0x590ed4=_0x509916;this[_0x3679e5(0x497)](_0x590ed4);}),this[_0x2081c5(0x4d2)]&&this['_incrementRevisionNumber'](),this[_0x2081c5(0x47d)]&&_0x1ef5dd[_0x2081c5(0xf0)]&&(_0x1ef5dd[0x0][_0x2081c5(0x3d2)]=this[_0x2081c5(0x3b0)]());let _0x47472c;if(this[_0x2081c5(0x47d)]&&_0x2aa423[_0x2081c5(0xf0)]!==0x0)_0x47472c=this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](ge,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],_0x1ef5dd[0x0],_0x2aa423,this['_handler'],void 0x0);else{if(this[_0x2081c5(0x47d)]&&_0x2aa423[_0x2081c5(0xf0)]===0x0)_0x1ef5dd[0x0][_0x2081c5(0x3d2)]=this[_0x2081c5(0x3b0)](),_0x47472c=this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](Re,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],_0x1ef5dd[0x0],this['_handler']);else{if(_0x2aa423[_0x2081c5(0xf0)]!==0x0){const _0x4e7dc7=this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](pe,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],_0x2aa423,this[_0x2081c5(0x39a)]);_0x4e7dc7[_0x2081c5(0x2fa)](),_0x47472c=_0x4e7dc7;}else _0x47472c=this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](Fe,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],this['_handler']);}}return _0x47472c['_updateLocalCache'](),_0x47472c;}catch(_0x418d6f){return this[_0x2081c5(0x137)][_0x2081c5(0x299)](_0x2081c5(0x240),_0x2081c5(0x506),_0x418d6f),this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](Oe,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],this[_0x2081c5(0x47d)],this[_0x2081c5(0x1f7)],this[_0x2081c5(0x39a)],!0x1);}}[_0x45d431(0x250)](){const _0x47405f=_0x45d431;throw new Error(_0x47405f(0x21a));}[_0x45d431(0x430)](_0x5a7e8c){const _0x23003a=_0x45d431;return this[_0x23003a(0x1f7)][_0x23003a(0x182)](_0x5a7e8c),this;}[_0x45d431(0xfd)](_0x2e296d){const _0x2c6772=_0x45d431;return this['_queuedRemoteChangesets'][_0x2c6772(0x182)](_0x2e296d),this;}[_0x45d431(0x414)](_0xea0cf2){const _0x2fcfba=_0x45d431;if(this[_0x2fcfba(0x47d)])return this[_0x2fcfba(0x4d2)]=this[_0x2fcfba(0x47d)],this['_awaitingChangeset']=null,this;throw new Error(_0x2fcfba(0x35a));}['onRemoteRej'](_0x14a95a){const _0x536508=_0x45d431;return this[_0x536508(0x487)](!!(_0x14a95a!=null&&_0x14a95a[_0x536508(0x24e)]));}[_0x45d431(0x394)](){return this;}[_0x45d431(0x326)](){const _0x1aa9e9=_0x45d431;return this['_injector'][_0x1aa9e9(0x50b)](ye,this[_0x1aa9e9(0x1b9)],this[_0x1aa9e9(0x118)],this['_awaitingChangeset'],this[_0x1aa9e9(0x1f7)],this[_0x1aa9e9(0x39a)]);}[_0x45d431(0x2c2)](){return this;}[_0x45d431(0x487)](_0x91b9d8){const _0x27a372=_0x45d431;return this['_injector'][_0x27a372(0x50b)](Oe,this[_0x27a372(0x1b9)],this[_0x27a372(0x118)],this[_0x27a372(0x47d)],this[_0x27a372(0x1f7)],this[_0x27a372(0x39a)],_0x91b9d8);}};he=$e([A(0x7,_0x35b6a2(_0xaaab92)),A(0x8,_0x35b6a2(_0x301828)),A(0x9,_0x35b6a2(q)),A(0xa,_0xce7964),A(0xb,_0x66b6aa),A(0xc,_0x450df1),A(0xd,_0x47de3e)],he);function ji(_0x3e3a7c,_0x2b0113,_0x5c65c7,_0x359550,_0x3410be,_0x2acfde){const _0x40ee55=_0x45d431;return _0x359550&&_0x3410be[_0x40ee55(0xf0)]?_0x3e3a7c[_0x40ee55(0x50b)](ge,_0x2b0113,_0x5c65c7,_0x359550,_0x3410be,_0x2acfde,void 0x0):_0x359550?_0x3e3a7c[_0x40ee55(0x50b)](Re,_0x2b0113,_0x5c65c7,_0x359550,_0x2acfde):_0x3410be['length']?_0x3e3a7c[_0x40ee55(0x50b)](pe,_0x2b0113,_0x5c65c7,_0x3410be,_0x2acfde):_0x3e3a7c[_0x40ee55(0x50b)](Fe,_0x2b0113,_0x5c65c7,_0x2acfde);}var wo=Object['defineProperty'],Do=Object[_0x45d431(0x494)],Rs=(_0x1f172a,_0x5dbaf6,_0x5cdfbc,_0x3563f5)=>{const _0x182c5b=_0x45d431;for(var _0x1ea5a8=_0x3563f5>0x1?void 0x0:_0x3563f5?Do(_0x5dbaf6,_0x5cdfbc):_0x5dbaf6,_0x35f3f8=_0x1f172a[_0x182c5b(0xf0)]-0x1,_0x442375;_0x35f3f8>=0x0;_0x35f3f8--)(_0x442375=_0x1f172a[_0x35f3f8])&&(_0x1ea5a8=(_0x3563f5?_0x442375(_0x5dbaf6,_0x5cdfbc,_0x1ea5a8):_0x442375(_0x1ea5a8))||_0x1ea5a8);return _0x3563f5&&_0x1ea5a8&&wo(_0x5dbaf6,_0x5cdfbc,_0x1ea5a8),_0x1ea5a8;},H=(_0x4b71bb,_0x5d59a4)=>(_0x46fb5c,_0x390ed8)=>_0x5d59a4(_0x46fb5c,_0x390ed8,_0x4b71bb);let St=class extends _0x46da4c{constructor(_0x45695c,_0xba0907,_0x4c8510,_0x4f1aee,_0x3ad395,_0x2f0a92,_0x29be9a,_0x1fca7c,_0x2c50ca,_0x36db74,_0x32b52c,_0x163493,_0x353783){const _0x21617a=_0x45d431;super(),g(this,_0x21617a(0x43e),new _0x1117fe(null)),g(this,'state$',this[_0x21617a(0x43e)][_0x21617a(0x1bc)]()),g(this,_0x21617a(0x4c6)),g(this,'_collaborationPaused',!0x1),g(this,_0x21617a(0x237),''),g(this,_0x21617a(0xf4),0x0),g(this,'status$',this['state$']['pipe'](_0x28520c(_0x929ba2=>_0x929ba2?_0x929ba2[_0x21617a(0x456)]:J['OFFLINE']),_0x5c69b3(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x21617a(0x17d),[]),(this[_0x21617a(0x1b9)]=_0x45695c,this[_0x21617a(0x160)]=_0xba0907,this['_type']=_0x4c8510,this[_0x21617a(0x3f7)]=_0x4f1aee,this[_0x21617a(0x342)]=_0x3ad395,this[_0x21617a(0x4b9)]=_0x2f0a92,this[_0x21617a(0x20a)]=_0x29be9a,this[_0x21617a(0x1c8)]=_0x1fca7c,this[_0x21617a(0x137)]=_0x2c50ca,this[_0x21617a(0x198)]=_0x36db74,this[_0x21617a(0x321)]=_0x32b52c,this[_0x21617a(0x402)]=_0x163493,this[_0x21617a(0x462)]=_0x353783);}get[_0x45d431(0x304)](){const _0x5a6ea6=_0x45d431;return this[_0x5a6ea6(0x4c6)];}async[_0x45d431(0x3de)](){const _0x182dda=_0x45d431;if(this[_0x182dda(0x304)])throw new Error(_0x182dda(0x49b));await this[_0x182dda(0x20b)]();}['pauseCollaboration'](){const _0x29598f=_0x45d431;return this[_0x29598f(0x3e8)]=!0x0,_0x3cfbd5(()=>{const _0x244486=_0x29598f;this[_0x244486(0x3e8)]=!0x1,this[_0x244486(0x2f2)]();});}[_0x45d431(0x41c)](_0x5ee683){const _0x28e80e=_0x45d431;this[_0x28e80e(0x4c6)]=_0x5ee683,this[_0x28e80e(0x43e)][_0x28e80e(0x11b)](_0x5ee683);}async[_0x45d431(0x20b)](){const _0x31f860=_0x45d431;var _0x1dfcde;this[_0x31f860(0x41c)](await this['_createInitialState']()),this[_0x31f860(0x462)]&&((_0x1dfcde=this[_0x31f860(0x462)])==null||_0x1dfcde['editingUnit'](this[_0x31f860(0x1b9)]),this[_0x31f860(0x20f)](this['_singleActiveUnitService'][_0x31f860(0x142)](this[_0x31f860(0x1b9)])[_0x31f860(0x23d)](_0x2df7dc=>{const _0x357e5d=_0x31f860;this[_0x357e5d(0x137)][_0x357e5d(0x391)]('[CollaborationEntity]',_0x357e5d(0x11c),_0x2df7dc),_0x2df7dc===xi['OTHER_CLIENTS_EDITING']?(this[_0x357e5d(0x321)][_0x357e5d(0x176)]({'content':this['_localeService']['t'](_0x357e5d(0x2cc)),'type':_0x3067da['Warning']}),this[_0x357e5d(0x402)]['updatePermissionPoint'](new _0x2043e8(this[_0x357e5d(0x1b9)])['id'],!0x1),this[_0x357e5d(0x402)][_0x357e5d(0x3c4)](!0x1)):(this[_0x357e5d(0x402)]['updatePermissionPoint'](new _0x2043e8(this[_0x357e5d(0x1b9)])['id'],!0x0),this[_0x357e5d(0x402)][_0x357e5d(0x3c4)](!0x0));})));let _0x4ed135=!0x1;return this['disposeWithMe'](this[_0x31f860(0x160)][_0x31f860(0x3f2)][_0x31f860(0x23d)](_0x203095=>{const _0x362b5d=_0x31f860;_0x203095===ve[_0x362b5d(0x464)]?this[_0x362b5d(0x4e9)](_0x4ed135):_0x203095===ve[_0x362b5d(0x40c)]&&(_0x4ed135=!0x0,this[_0x362b5d(0x1ed)]());})),this[_0x31f860(0x20f)](this[_0x31f860(0x160)][_0x31f860(0x4f5)][_0x31f860(0x23d)](_0x34c924=>{const _0x4cc330=_0x31f860;try{switch(_0x34c924[_0x4cc330(0x273)]){case _0x5caf5f[_0x4cc330(0x1a4)]:{this[_0x4cc330(0x170)](_0x3746d2(_0x34c924['data']));break;}case _0x5caf5f[_0x4cc330(0x3b8)]:{this['_onRemoteACK'](_0x34c924[_0x4cc330(0x27a)]);break;}case _0x5caf5f[_0x4cc330(0x2ee)]:{this['_onRemoteRejected']();break;}case _0x5caf5f[_0x4cc330(0x12d)]:{this[_0x4cc330(0x318)](_0x34c924['data']);break;}case _0x5caf5f[_0x4cc330(0x374)]:{this[_0x4cc330(0x4ab)](_0x34c924[_0x4cc330(0x27a)]['changesets']['map'](_0x3ef702=>_0x3746d2(_0x3ef702)));break;}case _0x5caf5f[_0x4cc330(0x411)]:this[_0x4cc330(0x481)]({'isPermissionRej':!0x0});}}catch(_0x128818){throw console[_0x4cc330(0x299)](_0x4cc330(0x4af),_0x128818),_0x128818;}})),this[_0x31f860(0x4c6)];}[_0x45d431(0x351)](){const _0x36c483=_0x45d431;this[_0x36c483(0x472)]=!0x1;}[_0x45d431(0x3e0)](){const _0x4a2d0f=_0x45d431;if(this['_transitionLocked'])throw new Error(_0x4a2d0f(0x45a));this[_0x4a2d0f(0x472)]=!0x0;}[_0x45d431(0x22a)](_0x6af762){const _0x563d6b=_0x45d431;this[_0x563d6b(0x3e0)](),this[_0x563d6b(0x41c)](this[_0x563d6b(0x4c6)][_0x563d6b(0x430)](_0x6af762)),this[_0x563d6b(0x351)]();}['_onRemoteChangeset'](_0x4367fd){const _0x3cd166=_0x45d431;if(!(_0x4367fd[_0x3cd166(0x277)]<=this[_0x3cd166(0x1c8)][_0x3cd166(0x105)](this[_0x3cd166(0x1b9)]))){if(this[_0x3cd166(0x3e8)]){this[_0x3cd166(0x17d)][_0x3cd166(0x182)](_0x4367fd);return;}this[_0x3cd166(0x409)](_0x4367fd);}}[_0x45d431(0x2f2)](){const _0x24acab=_0x45d431;this[_0x24acab(0x17d)][_0x24acab(0x4dd)](_0x1a8bce=>this[_0x24acab(0x409)](_0x1a8bce)),this[_0x24acab(0x17d)]=[];}['_applyRemoteChangeset'](_0x396b4c){const _0x1c2641=_0x45d431,_0x1db29b=this[_0x1c2641(0x4b9)][_0x1c2641(0x129)][_0x1c2641(0x197)](this[_0x1c2641(0x4b9)][_0x1c2641(0x129)][_0x1c2641(0x486)]()['COMPRESS_MUTATION_APPLY'])(_0x396b4c[_0x1c2641(0x4fc)],null)||_0x396b4c[_0x1c2641(0x4fc)],_0x5eac8f={..._0x396b4c,'mutations':_0x1db29b};this['_lockTransition'](),this[_0x1c2641(0x41c)](this['_state'][_0x1c2641(0xfd)](_0x5eac8f)),this['_unlockTransition']();}['_onRemoteACK'](_0x3c1e1f){const _0x541b2c=_0x45d431;this['_lockTransition'](),this['_updateState'](this[_0x541b2c(0x4c6)]['onRemoteAck'](_0x3c1e1f)),this[_0x541b2c(0x351)]();}[_0x45d431(0x481)](_0x53dd02){const _0x15e15b=_0x45d431;this['_lockTransition'](),this[_0x15e15b(0x41c)](this[_0x15e15b(0x4c6)][_0x15e15b(0x349)](_0x53dd02)),this[_0x15e15b(0x351)]();}[_0x45d431(0x318)](_0x220c4e){const _0x2610c3=_0x45d431;this[_0x2610c3(0x3e0)](),this[_0x2610c3(0x41c)](this[_0x2610c3(0x4c6)][_0x2610c3(0x394)](_0x220c4e)),this[_0x2610c3(0x351)]();}[_0x45d431(0x4ab)](_0xa44a62){const _0x5271dd=_0x45d431;if(!(this[_0x5271dd(0x4c6)]instanceof he))throw new TypeError(_0x5271dd(0x2ff));const _0x124672=_0xa44a62['map'](_0x30838a=>{const _0x55130b=_0x5271dd,_0x2aad03=this[_0x55130b(0x4b9)][_0x55130b(0x129)][_0x55130b(0x197)](this[_0x55130b(0x4b9)]['interceptor']['getInterceptPoints']()[_0x55130b(0x201)])(_0x30838a[_0x55130b(0x4fc)],null)||_0x30838a[_0x55130b(0x4fc)];return{..._0x30838a,'mutations':_0x2aad03};});this['_lockTransition'](),this[_0x5271dd(0x41c)](this[_0x5271dd(0x4c6)]['onMissedChangesetFetched'](_0x124672)),this['_unlockTransition']();}[_0x45d431(0x1ed)](){const _0x4fe825=_0x45d431;this['_lockTransition'](),this['_updateState'](this[_0x4fe825(0x4c6)][_0x4fe825(0x326)]()),this[_0x4fe825(0x351)]();}[_0x45d431(0x4e9)](_0x2517ff=!0x1){const _0x226b33=_0x45d431;this[_0x226b33(0x3e0)](),this[_0x226b33(0x41c)](this['_state'][_0x226b33(0x2c2)]()),this['_unlockTransition']();const _0x502eea=this['_state'];_0x2517ff&&_0x502eea instanceof Fe&&(this[_0x226b33(0x3e0)](),this[_0x226b33(0x41c)](_0x502eea['fetchMiss']()),this[_0x226b33(0x351)]());}async[_0x45d431(0x2ed)](){return new Promise(_0xa74d1d=>{const _0x113bda=_0x5144;this[_0x113bda(0x160)]['sessionStatus$'][_0x113bda(0x476)](_0x182a9e(0x1))['subscribe'](async _0x4e69df=>{const _0x5a707d=_0x113bda;_0xa74d1d(await this[_0x5a707d(0x115)](_0x4e69df===ve[_0x5a707d(0x464)]));});});}[_0x45d431(0x1b0)](){const _0x22cb57=_0x45d431,_0x3b3658=this[_0x22cb57(0x1b9)];return{'onStateChange':(_0x136a9e,_0x1a1432)=>{const _0xdc8280=_0x22cb57;if(_0x136a9e!==this['_state'])throw new Error(_0xdc8280(0x19a)+_0x136a9e[_0xdc8280(0x456)]+'\x0aAfter:\x20'+_0x1a1432['status']+_0xdc8280(0x172)+this[_0xdc8280(0x4c6)][_0xdc8280(0x456)]);this[_0xdc8280(0x41c)](_0x1a1432);},'onSendChangeset':_0x57aee9=>{const _0x5831fd=_0x22cb57;_0x57aee9['sid']||(_0x57aee9[_0x5831fd(0x33a)]=this[_0x5831fd(0x237)],_0x57aee9[_0x5831fd(0x459)]=++this['_changesetReqId']);const _0x4a9540={'eventID':_0x5caf5f[_0x5831fd(0x156)],'data':{'unitID':_0x57aee9[_0x5831fd(0x1b9)],'unitType':this['_type'],'changeset':_0x57aee9,'memberID':this['session']['getMemberID']()}};this[_0x5831fd(0x160)][_0x5831fd(0x422)](_0x4a9540,this['unitID']);},'onMissingChangesets':({from:_0x51f845,to:_0x23c73b})=>{const _0x584ba0=_0x22cb57;this[_0x584ba0(0x137)][_0x584ba0(0x391)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x51f845+_0x584ba0(0x23c)+_0x23c73b);const _0x1862c2={'eventID':_0x5caf5f[_0x584ba0(0x3dd)],'data':{'unitID':_0x3b3658,'unitType':this[_0x584ba0(0x4ec)],'from':_0x51f845,'to':_0x23c73b}};this[_0x584ba0(0x160)][_0x584ba0(0x422)](_0x1862c2,this[_0x584ba0(0x1b9)]);}};}async[_0x45d431(0x115)](_0x30cf46){const _0x4347c0=_0x45d431;var _0x2bb474,_0x17e3c2;const _0x29fbdf=await this[_0x4347c0(0x342)]['loadOfflineData'](this['unitID']),_0x2e0135=(_0x2bb474=_0x29fbdf==null?void 0x0:_0x29fbdf[_0x4347c0(0x4fc)])!=null?_0x2bb474:[],_0x4c329f=(_0x17e3c2=_0x29fbdf==null?void 0x0:_0x29fbdf['awaitingChangeset'])!=null?_0x17e3c2:null,_0x4a4cd1=!!(_0x4c329f!=null&&_0x4c329f['sid'])&&!!(_0x4c329f!=null&&_0x4c329f[_0x4347c0(0x459)]);this[_0x4347c0(0x237)]=_0x4a4cd1?_0x4c329f[_0x4347c0(0x33a)]:io(),this['_changesetReqId']=_0x4a4cd1?_0x4c329f[_0x4347c0(0x459)]:0x0;const _0x499707=this[_0x4347c0(0x1b9)];try{this[_0x4347c0(0x125)](_0x4c329f,_0x2e0135);}catch(_0x582747){this[_0x4347c0(0x137)][_0x4347c0(0x299)](_0x582747);}const _0x109dff=this['_createHandler']();if(_0x30cf46){const _0x5c7c5b=ji(this['_injector'],_0x499707,this[_0x4347c0(0x4ec)],_0x4c329f,_0x2e0135,_0x109dff);return _0x5c7c5b instanceof pe?_0x5c7c5b[_0x4347c0(0x2fa)]():(_0x5c7c5b instanceof ge||_0x5c7c5b instanceof Re)&&_0x5c7c5b[_0x4347c0(0x250)](),_0x5c7c5b;}return this[_0x4347c0(0x3f7)][_0x4347c0(0x50b)](ye,_0x499707,this['_type'],_0x4c329f,_0x2e0135,_0x109dff);}['_replayCachedMutations'](_0x475cde,_0x37d914){const _0x5b70e0=_0x45d431;var _0x364729,_0x4e71bf;const _0x340ed3=this[_0x5b70e0(0x4b9)]['interceptor'][_0x5b70e0(0x197)](this['_compressMutationService'][_0x5b70e0(0x129)][_0x5b70e0(0x486)]()[_0x5b70e0(0x201)]);(_0x364729=_0x340ed3((_0x475cde==null?void 0x0:_0x475cde['mutations'])||[],null))==null||_0x364729[_0x5b70e0(0x4dd)](_0x48dbba=>this['_commandService']['executeCommand'](_0x48dbba['id'],_0x48dbba[_0x5b70e0(0x46f)])),(_0x4e71bf=_0x340ed3(_0x37d914||[],null))==null||_0x4e71bf[_0x5b70e0(0x4dd)](_0x56d86d=>this[_0x5b70e0(0x198)][_0x5b70e0(0x360)](_0x56d86d['id'],_0x56d86d[_0x5b70e0(0x46f)]));}};St=Rs([H(0x3,_0x35b6a2(_0xaaab92)),H(0x4,_0x35b6a2(q)),H(0x5,_0x35b6a2(_0x2f2592)),H(0x6,_0x35b6a2(_0x31b970)),H(0x7,_0x35b6a2(_0x301828)),H(0x8,_0xce7964),H(0x9,_0x66b6aa),H(0xa,_0x454792),H(0xb,_0x30807c),H(0xc,_0x5cecc9(yt))],St);let rs=class extends St{constructor(_0x403009,_0x1a4807,_0x5dc171,_0x3636df,_0x3fea04,_0x5a4969,_0x4f7e9e,_0x39eaac,_0x2f888d,_0x5ce690,_0xa5b03,_0x2c5916,_0x4840d7,_0x4a81cb,_0x33e635,_0x45b084,_0x41a1e2,_0x194ad1){const _0x46ad3c=_0x45d431;super(_0x403009,_0x5dc171,_0x1a4807,_0x3636df,_0x3fea04,_0x5a4969,_0x4f7e9e,_0x39eaac,_0x4a81cb,_0x33e635,_0x45b084,_0x41a1e2,_0x194ad1),this[_0x46ad3c(0x1b9)]=_0x403009,this[_0x46ad3c(0x118)]=_0x1a4807,this[_0x46ad3c(0x3ee)]=_0x2f888d,this[_0x46ad3c(0x325)]=_0x5ce690,this[_0x46ad3c(0x194)]=_0xa5b03,this[_0x46ad3c(0x3c2)]=_0x2c5916,this['_docSyncEditingCollabCursorService']=_0x4840d7;}['_createHandler'](){const _0x9adf00=_0x45d431,_0xc3f655=super[_0x9adf00(0x1b0)]();return _0xc3f655[_0x9adf00(0x483)]=_0x282859=>this['_docTransformIMECacheService'][_0x9adf00(0x3db)](_0x282859),_0xc3f655[_0x9adf00(0x467)]=_0x7a1691=>this[_0x9adf00(0x194)][_0x9adf00(0x1f3)](_0x7a1691),_0xc3f655['onTransformSelections']=_0x4c74a6=>this[_0x9adf00(0x3c2)][_0x9adf00(0x396)](_0x4c74a6),_0xc3f655[_0x9adf00(0x4eb)]=_0x22e67b=>this[_0x9adf00(0x107)][_0x9adf00(0x3ab)](_0x22e67b),_0xc3f655[_0x9adf00(0x4f4)]=_0x45a3cd=>this[_0x9adf00(0x325)][_0x9adf00(0x2e8)](_0x45a3cd),_0xc3f655['onTransformRemoteChangesetByStateCache']=_0x2255a0=>this['_docTransformStateCacheService'][_0x9adf00(0x2e8)](_0x2255a0),_0xc3f655;}async[_0x45d431(0x20b)](){const _0x351f70=_0x45d431,_0x564402=await super[_0x351f70(0x20b)]();return this[_0x351f70(0x20f)](this[_0x351f70(0x3ee)]['docStateChange$'][_0x351f70(0x476)](_0x53c58e(this[_0x351f70(0x425)]))[_0x351f70(0x23d)](_0x42b9d2=>{const _0x3985cb=_0x351f70;if(_0x42b9d2==null)return;const {unitId:_0x33e527,redoState:_0x1c8047,commandId:_0x327235}=_0x42b9d2;if(_0x33e527!==this[_0x3985cb(0x1b9)])return;const _0x3b96e1={'id':_0x327235,'type':_0x1da462[_0x3985cb(0x366)],'params':{'unitId':_0x33e527,'actions':_0x1c8047['actions'],'textRanges':null}};this[_0x3985cb(0x22a)](_0x3b96e1);})),this[_0x351f70(0x20f)](this[_0x351f70(0x198)][_0x351f70(0x48d)]((_0x5cbd16,_0x259861)=>{const _0xf2f5a0=_0x351f70;if(_0x5cbd16[_0xf2f5a0(0x118)]!==_0x1da462['MUTATION']||_0x259861!=null&&_0x259861[_0xf2f5a0(0x4fd)]||_0x259861!=null&&_0x259861[_0xf2f5a0(0x307)]||_0x5cbd16['id']===_0x128c30['id'])return;const _0x1c09e4=_0x5cbd16[_0xf2f5a0(0x46f)];if((_0x1c09e4==null?void 0x0:_0x1c09e4['unitId'])!==this['unitID'])return;const _0x53dbea=_0x5cbd16,_0x3571e2=this['_compressMutationService'][_0xf2f5a0(0x129)][_0xf2f5a0(0x197)](this[_0xf2f5a0(0x4b9)][_0xf2f5a0(0x129)][_0xf2f5a0(0x486)]()[_0xf2f5a0(0x268)])([_0x53dbea],null)||[_0x53dbea];this['_onLocalMutation'](_0x3571e2[0x0]);})),_0x564402;}};rs=Rs([H(0x3,_0x35b6a2(_0xaaab92)),H(0x4,_0x35b6a2(q)),H(0x5,_0x35b6a2(_0x2f2592)),H(0x6,_0x35b6a2(_0x31b970)),H(0x7,_0x35b6a2(_0x301828)),H(0x8,_0x35b6a2(_0x187b3c)),H(0x9,_0x35b6a2(vt)),H(0xa,_0x35b6a2(pt)),H(0xb,_0x35b6a2(gt)),H(0xc,_0x35b6a2(Ts)),H(0xd,_0xce7964),H(0xe,_0x66b6aa),H(0xf,_0x454792),H(0x10,_0x30807c),H(0x11,_0x5cecc9(yt))],rs);let ns=class extends St{constructor(_0x1503f0,_0x11b27d,_0x23dae7,_0x3e7da5,_0x3d3898,_0x57fee9,_0x528df4,_0x423999,_0x102ff3,_0x1c08d4,_0x4f9442,_0x45c544,_0x34fb38,_0x40600f){const _0x42c3b9=_0x45d431;super(_0x1503f0,_0x23dae7,_0x11b27d,_0x3e7da5,_0x3d3898,_0x57fee9,_0x528df4,_0x423999,_0x1c08d4,_0x4f9442,_0x45c544,_0x34fb38,_0x40600f),this['unitID']=_0x1503f0,this[_0x42c3b9(0x118)]=_0x11b27d,this[_0x42c3b9(0x4b8)]=_0x102ff3;}[_0x45d431(0x1b0)](){const _0x939168=_0x45d431,_0x581f68=super[_0x939168(0x1b0)]();return _0x581f68[_0x939168(0x324)]=_0x5cd991=>this[_0x939168(0x4b8)]['transformSelections'](_0x5cd991),_0x581f68;}async[_0x45d431(0x20b)](){const _0x4d6d05=_0x45d431,_0x23603f=await super[_0x4d6d05(0x20b)]();return this[_0x4d6d05(0x20f)](this['_commandService'][_0x4d6d05(0x48d)]((_0x4f7169,_0x237e59)=>{const _0x1498ea=_0x4d6d05;if(_0x4f7169[_0x1498ea(0x118)]!==_0x1da462['MUTATION']||_0x237e59!=null&&_0x237e59['fromCollab']||_0x237e59!=null&&_0x237e59[_0x1498ea(0x307)])return;const _0x51d61a=_0x4f7169[_0x1498ea(0x46f)];if((_0x51d61a==null?void 0x0:_0x51d61a['unitId'])!==this['unitID'])return;const _0x46f9d9=_0x4f7169,_0x34518d=this[_0x1498ea(0x4b9)][_0x1498ea(0x129)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x1498ea(0x129)][_0x1498ea(0x486)]()[_0x1498ea(0x268)])([_0x46f9d9],null)||[_0x46f9d9];this[_0x1498ea(0x22a)](_0x34518d[0x0]);})),_0x23603f;}};ns=Rs([H(0x3,_0x35b6a2(_0xaaab92)),H(0x4,_0x35b6a2(q)),H(0x5,_0x35b6a2(_0x2f2592)),H(0x6,_0x35b6a2(_0x31b970)),H(0x7,_0x35b6a2(_0x301828)),H(0x8,_0x35b6a2(mt)),H(0x9,_0xce7964),H(0xa,_0x66b6aa),H(0xb,_0x454792),H(0xc,_0x30807c),H(0xd,_0x5cecc9(yt))],ns);var Po=Object[_0x45d431(0x4f8)],Uo=Object['getOwnPropertyDescriptor'],No=(_0x234b0d,_0x16b5e9,_0x20657e,_0x3bfee9)=>{const _0x55dc40=_0x45d431;for(var _0x386207=_0x3bfee9>0x1?void 0x0:_0x3bfee9?Uo(_0x16b5e9,_0x20657e):_0x16b5e9,_0x2a94c4=_0x234b0d[_0x55dc40(0xf0)]-0x1,_0x4cc719;_0x2a94c4>=0x0;_0x2a94c4--)(_0x4cc719=_0x234b0d[_0x2a94c4])&&(_0x386207=(_0x3bfee9?_0x4cc719(_0x16b5e9,_0x20657e,_0x386207):_0x4cc719(_0x386207))||_0x386207);return _0x3bfee9&&_0x386207&&Po(_0x16b5e9,_0x20657e,_0x386207),_0x386207;},Ht=(_0x545b1a,_0x4f7b84)=>(_0x3c7206,_0x232608)=>_0x4f7b84(_0x3c7206,_0x232608,_0x545b1a);let it=class extends _0x46da4c{constructor(_0x185129,_0x41b6a8,_0x1696d5){const _0x340e6c=_0x45d431;super(),g(this,_0x340e6c(0x44f),new Map()),g(this,_0x340e6c(0x152),new _0x54ef1d()),(this['_injector']=_0x185129,this[_0x340e6c(0x478)]=_0x41b6a8,this[_0x340e6c(0x2e5)]=_0x1696d5,this['_init']());}['dispose'](){const _0x1736b5=_0x45d431;super[_0x1736b5(0x23a)](),this[_0x1736b5(0x44f)][_0x1736b5(0x4dd)](_0x19cfbe=>_0x19cfbe[_0x1736b5(0x23a)]()),this[_0x1736b5(0x44f)][_0x1736b5(0x1d1)]();}[_0x45d431(0x290)](_0x44c6d1){const _0x1ec337=_0x45d431;var _0x50976e;return(_0x50976e=this['_entities'][_0x1ec337(0x296)](_0x44c6d1))!=null?_0x50976e:null;}[_0x45d431(0x50d)](_0x21b210){const _0x5ea89c=_0x45d431,_0x978a71=this[_0x5ea89c(0x290)](_0x21b210);return _0x978a71?_0x134634(_0x978a71):this[_0x5ea89c(0x152)]['pipe'](_0x4cca68(_0x3fdb2=>_0x3fdb2['unitID']===_0x21b210));}[_0x45d431(0x20b)](){const _0x5646c7=_0x45d431;this[_0x5646c7(0x2e5)]['getTypeOfUnitAdded$'](_0x51d633[_0x5646c7(0x33c)])[_0x5646c7(0x476)](_0x53c58e(this[_0x5646c7(0x425)]),_0xdc4bb1(0x10))[_0x5646c7(0x23d)](async _0x39a4d9=>{const _0x14fcba=_0x5646c7,_0x1a9a87=_0x39a4d9[_0x14fcba(0x2ca)](),_0x318934=await this[_0x14fcba(0x479)](_0x1a9a87,ce['UNIVER_SHEET']);this['_entities'][_0x14fcba(0x3eb)](_0x1a9a87,_0x318934);}),this[_0x5646c7(0x2e5)]['getTypeOfUnitAdded$'](_0x51d633[_0x5646c7(0x258)])[_0x5646c7(0x476)](_0x53c58e(this['dispose$']),_0xdc4bb1(0x10))[_0x5646c7(0x476)](_0x4cca68(_0x48ac1b=>!_0x48ac1b['getUnitId']()['startsWith']('__')))['subscribe'](async _0x5692b5=>{const _0x24212a=_0x5646c7,_0xe53985=_0x5692b5[_0x24212a(0x2ca)](),_0x5129aa=await this[_0x24212a(0x479)](_0xe53985,ce[_0x24212a(0x258)]);this[_0x24212a(0x44f)][_0x24212a(0x3eb)](_0xe53985,_0x5129aa);}),_0x35c956(this[_0x5646c7(0x2e5)][_0x5646c7(0x209)](_0x51d633[_0x5646c7(0x33c)]),this[_0x5646c7(0x2e5)][_0x5646c7(0x209)](_0x51d633[_0x5646c7(0x258)]))['pipe'](_0x53c58e(this[_0x5646c7(0x425)]))[_0x5646c7(0x23d)](_0x447498=>{const _0x457b00=_0x5646c7,_0x119126=_0x447498[_0x457b00(0x2ca)](),_0x241a19=this[_0x457b00(0x44f)][_0x457b00(0x296)](_0x119126);_0x241a19&&(_0x241a19['dispose'](),this['_entities'][_0x457b00(0x3ea)](_0x119126));});}async['_startCollaboration'](_0x1116ef,_0x1b1f6b){const _0xd58d1=_0x45d431,_0x1b5a06=await this[_0xd58d1(0x478)]['requireSession'](_0x1116ef),_0x46df68=this[_0xd58d1(0x3f7)][_0xd58d1(0x50b)](this[_0xd58d1(0x485)](_0x1b1f6b),_0x1116ef,_0x1b1f6b,_0x1b5a06);return await _0x46df68['init'](),this[_0xd58d1(0x152)][_0xd58d1(0x11b)](_0x46df68),_0x46df68;}[_0x45d431(0x485)](_0x35d1b0){const _0x5df357=_0x45d431;switch(_0x35d1b0){case ce[_0x5df357(0x258)]:return rs;case ce[_0x5df357(0x33c)]:return ns;default:throw new Error(_0x5df357(0x1b1)+_0x35d1b0);}}};it=No([Ht(0x0,_0x35b6a2(_0xaaab92)),Ht(0x1,_0x35b6a2(xe)),Ht(0x2,_0x47d1bd)],it);var Ao=Object['defineProperty'],Mo=Object[_0x45d431(0x494)],xo=(_0x42ed05,_0x1bfde5,_0x231aa1,_0x4fb85c)=>{const _0x36f9d4=_0x45d431;for(var _0x3233a8=_0x4fb85c>0x1?void 0x0:_0x4fb85c?Mo(_0x1bfde5,_0x231aa1):_0x1bfde5,_0x3f0abf=_0x42ed05[_0x36f9d4(0xf0)]-0x1,_0x5c0b96;_0x3f0abf>=0x0;_0x3f0abf--)(_0x5c0b96=_0x42ed05[_0x3f0abf])&&(_0x3233a8=(_0x4fb85c?_0x5c0b96(_0x1bfde5,_0x231aa1,_0x3233a8):_0x5c0b96(_0x3233a8))||_0x3233a8);return _0x4fb85c&&_0x3233a8&&Ao(_0x1bfde5,_0x231aa1,_0x3233a8),_0x3233a8;},qs=(_0x2c990a,_0x29f318)=>(_0x5cff84,_0x326156)=>_0x29f318(_0x5cff84,_0x326156,_0x2c990a);let It=class extends _0x46da4c{constructor(_0x2c0595,_0x2661d3){const _0x52d081=_0x45d431;super(),this[_0x52d081(0x271)]=_0x2c0595,this[_0x52d081(0x470)]=_0x2661d3,this[_0x52d081(0x20b)]();}[_0x45d431(0x20b)](){const _0x12d014=_0x45d431,_0x53bb4a=this;this['disposeWithMe'](this[_0x12d014(0x271)][_0x12d014(0xf9)]({'onBeforePasteImage':async _0x265e64=>{const _0x341e66=_0x12d014,_0x45b478=await _0x53bb4a['_imageIoService'][_0x341e66(0x356)](_0x265e64);return _0x45b478?{'source':_0x45b478[_0x341e66(0x2fb)],'imageSourceType':_0x45b478[_0x341e66(0x1e1)]}:null;}}));}};It=xo([qs(0x0,_0x1129f0),qs(0x1,_0x43832e)],It);const Xs=['purple300',_0x45d431(0x18f),_0x45d431(0x12a),_0x45d431(0x49d),_0x45d431(0x210),_0x45d431(0x4c4)];class Os extends _0x4f1548{constructor(){const _0x347860=_0x45d431;super(...arguments),g(this,_0x347860(0x2c1),new Map()),g(this,_0x347860(0x4a1),0x0);}[_0x45d431(0x167)](_0x569816){const _0x4a24f0=_0x45d431;if(this[_0x4a24f0(0x2c1)][_0x4a24f0(0x471)](_0x569816))return this[_0x4a24f0(0x2c1)][_0x4a24f0(0x296)](_0x569816);const _0x5d9c0c=Xs[this[_0x4a24f0(0x4a1)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Xs['length'],this[_0x4a24f0(0x2c1)]['set'](_0x569816,_0x5d9c0c),_0x5d9c0c;}}var Lo=Object[_0x45d431(0x4f8)],$o=Object[_0x45d431(0x494)],Ho=(_0x37390a,_0x5b5b0f,_0x42fa30,_0x2d5c96)=>{for(var _0x2c5020=_0x2d5c96>0x1?void 0x0:_0x2d5c96?$o(_0x5b5b0f,_0x42fa30):_0x5b5b0f,_0x3f2b18=_0x37390a['length']-0x1,_0x452471;_0x3f2b18>=0x0;_0x3f2b18--)(_0x452471=_0x37390a[_0x3f2b18])&&(_0x2c5020=(_0x2d5c96?_0x452471(_0x5b5b0f,_0x42fa30,_0x2c5020):_0x452471(_0x2c5020))||_0x2c5020);return _0x2d5c96&&_0x2c5020&&Lo(_0x5b5b0f,_0x42fa30,_0x2c5020),_0x2c5020;},De=(_0x42622b,_0x13fd58)=>(_0x2fdab3,_0x46947d)=>_0x13fd58(_0x2fdab3,_0x46947d,_0x42622b);const jo=0x12c,Bo=0x64;let os=class extends _0x46da4c{constructor(_0xbe1c3,_0x13c0c4,_0x402cfc,_0x22e8c7,_0x55248e,_0x519481,_0x447aa2,_0x3a0bb8,_0x98dd92){const _0x5a90fc=_0x45d431;super(),g(this,_0x5a90fc(0x1fe),!0x1),g(this,_0x5a90fc(0x20b),!0x1),g(this,_0x5a90fc(0x126),new _0x1117fe(new Map())),g(this,_0x5a90fc(0x437),this[_0x5a90fc(0x126)][_0x5a90fc(0x1bc)]()),g(this,'_roomMembers$',new _0x1117fe([])),g(this,'roomMembers$',this[_0x5a90fc(0x2a4)][_0x5a90fc(0x476)](_0x3f51c8(jo))),g(this,_0x5a90fc(0x21f),_0x49908a(_0x38c895=>{const _0x3e825d=_0x5a90fc,_0x166125={'eventID':_0x5caf5f[_0x3e825d(0xf5)],'data':{'unitID':this[_0x3e825d(0x1b9)],'memberID':this[_0x3e825d(0x149)][_0x3e825d(0x1ab)](),'selection':Li(_0x38c895)}};this[_0x3e825d(0x149)][_0x3e825d(0x422)](_0x166125,this[_0x3e825d(0x1b9)]);},Bo)),(this[_0x5a90fc(0x1b9)]=_0xbe1c3,this[_0x5a90fc(0x149)]=_0x13c0c4,this[_0x5a90fc(0x3f7)]=_0x402cfc,this['_colorAssignService']=_0x22e8c7,this['_memberService']=_0x55248e,this['_syncEditingCollabCursorService']=_0x519481,this[_0x5a90fc(0x2bb)]=_0x447aa2,this[_0x5a90fc(0x2e5)]=_0x3a0bb8,this[_0x5a90fc(0x198)]=_0x98dd92);}get[_0x45d431(0x2af)](){const _0x4c79af=_0x45d431;return this[_0x4c79af(0x126)][_0x4c79af(0x205)]();}get['roomMembers'](){const _0x13a70f=_0x45d431;return this[_0x13a70f(0x2a4)][_0x13a70f(0x205)]();}['dispose'](){const _0x2a9000=_0x45d431;super[_0x2a9000(0x23a)](),this['_cursorInfo$'][_0x2a9000(0x11b)](new Map()),this[_0x2a9000(0x126)][_0x2a9000(0x175)](),this[_0x2a9000(0x2a4)]['next']([]),this[_0x2a9000(0x2a4)]['complete']();}[_0x45d431(0x3de)](){const _0x223fa2=_0x45d431;this[_0x223fa2(0x20b)]||(this[_0x223fa2(0x20b)]=!0x0,this[_0x223fa2(0x149)]['sessionStatus$'][_0x223fa2(0x476)](_0x53c58e(this[_0x223fa2(0x425)]))[_0x223fa2(0x23d)](_0x1cabd9=>{const _0x1c48d6=_0x223fa2;_0x1cabd9===ve[_0x1c48d6(0x464)]?this[_0x1c48d6(0x4e9)]():this['_toggleOffline']();}),this[_0x223fa2(0x149)][_0x223fa2(0x4f5)]['pipe'](_0x53c58e(this[_0x223fa2(0x425)]))[_0x223fa2(0x23d)](_0x29ab21=>{const _0x113dae=_0x223fa2,_0x20b0ba=_0x29ab21['eventID'];_0x20b0ba===_0x5caf5f[_0x113dae(0xf5)]&&this['_onCursorUpdate'](_0x29ab21),_0x20b0ba===_0x5caf5f[_0x113dae(0x20e)]&&this[_0x113dae(0x3a6)](_0x29ab21);}),this[_0x223fa2(0x20f)](this['_commandService'][_0x223fa2(0x48d)](_0x2f76fd=>{const _0x29cede=_0x223fa2,_0x4a4c52=_0x2f76fd[_0x29cede(0x46f)];_0x4a4c52!=null&&this[_0x29cede(0x1fe)]&&_0x2f76fd['id']===_0x3c7572['id']&&_0x4a4c52[_0x29cede(0x310)]===this['unitID']&&_0x4a4c52[_0x29cede(0x162)]===!0x1&&_0x4a4c52[_0x29cede(0x41a)][_0x29cede(0xf0)]>0x0&&this[_0x29cede(0x21f)](_0x4a4c52[_0x29cede(0x41a)]);})),this[_0x223fa2(0x1d0)][_0x223fa2(0x17a)][_0x223fa2(0x476)](_0x53c58e(this[_0x223fa2(0x425)]))[_0x223fa2(0x23d)](_0x118f46=>{const _0x22270a=_0x223fa2;if((_0x118f46==null?void 0x0:_0x118f46[_0x22270a(0x1b9)])!==this[_0x22270a(0x1b9)])return;const _0x477be0={'eventID':_0x5caf5f[_0x22270a(0xf5)],'data':_0x118f46};this[_0x22270a(0x401)](_0x477be0);}),this[_0x223fa2(0x20f)](this[_0x223fa2(0x198)][_0x223fa2(0x48d)](_0x5cd25e=>{const _0x37fd33=_0x223fa2;if(_0x5cd25e['params']==null)return;const _0x42da10=_0x5cd25e[_0x37fd33(0x46f)];if(_0x5cd25e['id']!==_0x128c30['id']||_0x42da10[_0x37fd33(0x310)]!==this['unitID'])return;const _0x54b092={'id':_0x37fd33(0x4d7),'params':_0x42da10},_0x117d4d=this[_0x37fd33(0x2af)];for(const [_0x53fcb0,_0x4c50b0]of _0x117d4d){const _0x2c840f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x37fd33(0x1b9)],'actions':null,'textRanges':_0x4c50b0['ranges']}},_0xfd2150=this[_0x37fd33(0x2bb)][_0x37fd33(0x102)](_0x54b092,_0x2c840f,!0x1);if(_0x210785(_0xfd2150))throw _0xfd2150['error'];_0x117d4d['set'](_0x53fcb0,{..._0x4c50b0,'ranges':_0xfd2150[_0x37fd33(0x19d)][_0x37fd33(0x46f)]['textRanges']});}queueMicrotask(()=>{const _0x153bb2=_0x37fd33;this[_0x153bb2(0x126)]['next'](_0x117d4d);});})));}[_0x45d431(0x401)](_0x38ee69){const _0x45d241=_0x45d431;var _0x313dbd,_0xe9ec93;const {memberID:_0x56c799,selection:_0x280058}=_0x38ee69[_0x45d241(0x27a)],_0x512f4f=So(_0x280058),_0x40a1f7=(_0xe9ec93=(_0x313dbd=this['_memberService'][_0x45d241(0x10c)](this[_0x45d241(0x1b9)],_0x56c799))==null?void 0x0:_0x313dbd['name'])!=null?_0xe9ec93:_0x45d241(0x218),_0x57e852={'color':this['_colorAssignService'][_0x45d241(0x167)](_0x56c799),'name':_0x40a1f7,'ranges':_0x512f4f},_0x8d549=this['cursorInfo'];_0x8d549[_0x45d241(0x3eb)](_0x56c799,_0x57e852),this[_0x45d241(0x126)]['next'](_0x8d549);}[_0x45d431(0x3a6)](_0x47b842){const _0x5c3ff3=_0x45d431,{memberID:_0x1ae86f}=_0x47b842[_0x5c3ff3(0x27a)],_0x243d0e=this[_0x5c3ff3(0x2af)];_0x243d0e[_0x5c3ff3(0x3ea)](_0x1ae86f),this[_0x5c3ff3(0x126)][_0x5c3ff3(0x11b)](_0x243d0e);}[_0x45d431(0x4e9)](){const _0x41b9f5=_0x45d431;var _0x320d2f;if(this['_online']=!0x0,((_0x320d2f=this['_univerInstanceService'][_0x41b9f5(0x4f9)]())==null?void 0x0:_0x320d2f[_0x41b9f5(0x2ca)]())!==this['unitID'])return;const _0x4af669=this[_0x41b9f5(0x3f7)][_0x41b9f5(0x296)](_0x53c254)['getDocRanges']();Array[_0x41b9f5(0x496)](_0x4af669)&&_0x4af669[_0x41b9f5(0xf0)]>0x0&&this['_updateLocalCursor'](_0x4af669);}['_toggleOffline'](){this['_online']=!0x1;}};os=Ho([De(0x2,_0x35b6a2(_0xaaab92)),De(0x3,_0x35b6a2(Os)),De(0x4,_0x35b6a2(Me)),De(0x5,_0x35b6a2(Ts)),De(0x6,_0x47de3e),De(0x7,_0x47d1bd),De(0x8,_0x66b6aa)],os);var ko=Object[_0x45d431(0x4f8)],Wo=Object[_0x45d431(0x494)],Fo=(_0x45fdde,_0x21b3db,_0x4dd48e,_0x92f502)=>{for(var _0x4dd0d2=_0x92f502>0x1?void 0x0:_0x92f502?Wo(_0x21b3db,_0x4dd48e):_0x21b3db,_0x2ee313=_0x45fdde['length']-0x1,_0x230f84;_0x2ee313>=0x0;_0x2ee313--)(_0x230f84=_0x45fdde[_0x2ee313])&&(_0x4dd0d2=(_0x92f502?_0x230f84(_0x21b3db,_0x4dd48e,_0x4dd0d2):_0x230f84(_0x4dd0d2))||_0x4dd0d2);return _0x92f502&&_0x4dd0d2&&ko(_0x21b3db,_0x4dd48e,_0x4dd0d2),_0x4dd0d2;},Be=(_0x3ceb7e,_0x3b3989)=>(_0x400abf,_0x154141)=>_0x3b3989(_0x400abf,_0x154141,_0x3ceb7e);const Vo=0x12c,Go=0x64,Yo=()=>{let _0x304023=[],_0xb5fbe=!0x1;return _0x372650=>{const _0x5ad7d7=_0x5144;_0x304023[_0x5ad7d7(0x182)](_0x372650),_0xb5fbe||(_0xb5fbe=!0x0,setTimeout(()=>{const _0x4879c9=_0x5ad7d7;_0x304023[_0x4879c9(0x4dd)](_0x3abc8a=>_0x3abc8a()),_0x304023=[],_0xb5fbe=!0x1;}));};};let as=class extends _0x46da4c{constructor(_0x11f95d,_0x424ecd,_0x20f1ac,_0x197b4d,_0x5a244e,_0x114828,_0x1414c9,_0x4a7a55){const _0x2a16bf=_0x45d431;super(),g(this,_0x2a16bf(0x1fe),!0x1),g(this,_0x2a16bf(0x20b),!0x1),g(this,_0x2a16bf(0x126),new _0x1117fe(new Map())),g(this,_0x2a16bf(0x437),this[_0x2a16bf(0x126)][_0x2a16bf(0x1bc)]()),g(this,'_roomMembers$',new _0x1117fe([])),g(this,_0x2a16bf(0x4dc),this[_0x2a16bf(0x2a4)][_0x2a16bf(0x476)](_0x3f51c8(Vo))),g(this,_0x2a16bf(0x21f),_0x49908a((_0xbb0b09,_0x2a40d8)=>{const _0x31cb6e=_0x2a16bf,_0x3d35b6={'eventID':_0x5caf5f['UPDATE_CURSOR'],'data':{'unitID':this[_0x31cb6e(0x1b9)],'memberID':this[_0x31cb6e(0x149)][_0x31cb6e(0x1ab)](),'selection':_0x1a4321(_0xbb0b09,_0x2a40d8[_0x31cb6e(0x37e)])}};this[_0x31cb6e(0x149)][_0x31cb6e(0x422)](_0x3d35b6,this['unitID']);},Go)),(this[_0x2a16bf(0x1b9)]=_0x11f95d,this[_0x2a16bf(0x149)]=_0x424ecd,this[_0x2a16bf(0x3f7)]=_0x20f1ac,this['_colorAssignService']=_0x197b4d,this[_0x2a16bf(0x3f3)]=_0x5a244e,this[_0x2a16bf(0x2e5)]=_0x114828,this[_0x2a16bf(0x198)]=_0x1414c9,this[_0x2a16bf(0x1a6)]=_0x4a7a55);}get[_0x45d431(0x2af)](){const _0x380ad3=_0x45d431;return this['_cursorInfo$'][_0x380ad3(0x205)]();}get[_0x45d431(0x408)](){const _0x557629=_0x45d431;return this[_0x557629(0x2a4)][_0x557629(0x205)]();}[_0x45d431(0x23a)](){const _0x9caa1b=_0x45d431;super[_0x9caa1b(0x23a)](),this['_cursorInfo$'][_0x9caa1b(0x11b)](new Map()),this[_0x9caa1b(0x126)]['complete'](),this[_0x9caa1b(0x2a4)][_0x9caa1b(0x11b)]([]),this[_0x9caa1b(0x2a4)][_0x9caa1b(0x175)]();}[_0x45d431(0x3de)](){const _0x492b07=_0x45d431;this[_0x492b07(0x20b)]||(this[_0x492b07(0x20b)]=!0x0,this[_0x492b07(0x149)][_0x492b07(0x3f2)]['pipe'](_0x53c58e(this[_0x492b07(0x425)]))[_0x492b07(0x23d)](_0x276c8a=>{const _0x1fa79f=_0x492b07;_0x276c8a===ve[_0x1fa79f(0x464)]?this[_0x1fa79f(0x4e9)]():this[_0x1fa79f(0x1ed)]();}),this[_0x492b07(0x149)]['event$'][_0x492b07(0x476)](_0x53c58e(this[_0x492b07(0x425)]))[_0x492b07(0x23d)](_0x537930=>{const _0x43608f=_0x492b07,_0x34cbda=_0x537930[_0x43608f(0x273)];_0x34cbda===_0x5caf5f['UPDATE_CURSOR']&&this[_0x43608f(0x401)](_0x537930),_0x34cbda===_0x5caf5f[_0x43608f(0x20e)]&&this[_0x43608f(0x3a6)](_0x537930);}),this[_0x492b07(0x282)](),this['disposeWithMe'](this[_0x492b07(0x198)][_0x492b07(0x48d)](_0x55c901=>{const _0x2f41f4=_0x492b07;if(this['_online']&&_0x55c901['id']===_0x40ecbd['id']&&_0x55c901[_0x2f41f4(0x46f)][_0x2f41f4(0x310)]===this[_0x2f41f4(0x1b9)]){const _0x46df55=_0x55c901[_0x2f41f4(0x46f)];this[_0x2f41f4(0x21f)](_0x46df55[_0x2f41f4(0x3b1)],_0x46df55['selections'][0x0]);}})));}[_0x45d431(0x401)](_0x409b55){const _0x437049=_0x45d431;var _0x2970ef,_0x2616fb;const {memberID:_0x322ec1,selection:_0x2730ee}=_0x409b55['data'],{sheetName:_0x10fd6f,range:_0x3088a8}=_0x40b249(_0x2730ee),_0x4ab30b={'name':(_0x2616fb=(_0x2970ef=this[_0x437049(0x3f3)][_0x437049(0x10c)](this[_0x437049(0x1b9)],_0x322ec1))==null?void 0x0:_0x2970ef[_0x437049(0x373)])!=null?_0x2616fb:_0x437049(0x218),'range':this[_0x437049(0x128)](_0x10fd6f,_0x3088a8),'sheetID':_0x10fd6f,'color':this[_0x437049(0x3cf)][_0x437049(0x167)](_0x322ec1),'selection':_0x2730ee},_0x4d8042=this['cursorInfo'];_0x4d8042[_0x437049(0x3eb)](_0x322ec1,_0x4ab30b),this[_0x437049(0x126)][_0x437049(0x11b)](_0x4d8042);}[_0x45d431(0x3a6)](_0x5d5f56){const _0x226504=_0x45d431,{memberID:_0x2daa51}=_0x5d5f56['data'],_0x50f8d3=this[_0x226504(0x2af)];_0x50f8d3[_0x226504(0x3ea)](_0x2daa51),this[_0x226504(0x126)][_0x226504(0x11b)](_0x50f8d3);}[_0x45d431(0x128)](_0xa75132,_0x511b7d){const _0x42e1ca=_0x45d431;var _0xed2a2d,_0x4254f4;const _0x2d7fda=(_0x4254f4=(_0xed2a2d=this[_0x42e1ca(0x2e5)]['getUniverSheetInstance'](this[_0x42e1ca(0x1b9)]))==null?void 0x0:_0xed2a2d['getSheetBySheetId'](_0xa75132))==null?void 0x0:_0x4254f4[_0x42e1ca(0x36d)]();return(_0x2d7fda==null?void 0x0:_0x2d7fda[_0x42e1ca(0x2de)](_0x1e4304=>_0x4ccd5c['contains'](_0x1e4304,_0x511b7d)))||_0x511b7d;}[_0x45d431(0x282)](){const _0x2558da=_0x45d431,_0x50dfb2=new _0x53af5e(),_0x554a70=Yo(),_0x3e0b66=()=>{const _0x484962=_0x5144;_0x50dfb2[_0x484962(0x23a)]();const _0xb8edc6=(_0x159357,_0xb648f1,_0x37e22b,_0x228e0d)=>{const _0x11a960=_0x484962;let _0x38c9ac=[];switch(_0x159357['id']){case _0x1d6269[_0x11a960(0x203)]:{_0x38c9ac=_0x303d24(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x31e)]:{_0x38c9ac=_0x52d476(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x2f3)]:{_0x38c9ac=_0x397ad0(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x27c)]:{_0x38c9ac=_0x5e2c50(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x4c3)]:{_0x38c9ac=_0x3620db(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x4ba)]:{_0x38c9ac=_0x38d59e(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x36e)]:{_0x38c9ac=_0x464bc4(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x230)]:{_0x38c9ac=_0x50dc9b(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x382)]:{_0x38c9ac=_0x50e967(_0x159357,_0x228e0d);break;}}const _0x2e6776=_0x47737c(_0x38c9ac,_0x228e0d),_0x3adf69=this[_0x11a960(0x2af)][_0x11a960(0x296)](_0xb648f1);if(_0x3adf69&&_0x2e6776){const _0x33b1bc={..._0x3adf69,'range':_0x2e6776};this[_0x11a960(0x2af)][_0x11a960(0x3eb)](_0xb648f1,_0x33b1bc),_0x554a70(()=>{const _0x27d5de=_0x11a960,_0x44fcc8=this[_0x27d5de(0x1a6)][_0x27d5de(0x1cd)](_0x2e6776,_0x1ea0a8=>(_0x44fcc8[_0x27d5de(0x23a)](),_0xb8edc6(_0x1ea0a8,_0xb648f1,_0x37e22b,_0x2e6776)));_0x50dfb2[_0x27d5de(0x20c)](_0x44fcc8);});}return{'redos':[],'undos':[]};};this[_0x484962(0x2af)]['forEach']((_0xd42845,_0x2bf27e)=>{const _0x3db2ea=_0x484962,{range:_0x22ba5f,sheetID:_0x274605}=_0xd42845,_0x1bca89=this[_0x3db2ea(0x1a6)]['registerRefRange'](_0x22ba5f,_0x27937b=>(_0x1bca89['dispose'](),_0xb8edc6(_0x27937b,_0x2bf27e,_0x274605,_0x22ba5f)));_0x50dfb2[_0x3db2ea(0x20c)](_0x1bca89);});};this[_0x2558da(0x20f)](_0x3cfbd5(this[_0x2558da(0x126)][_0x2558da(0x23d)](()=>{_0x3e0b66();})));}[_0x45d431(0x4e9)](){const _0x1edc9d=_0x45d431;var _0x1cab07,_0x35ae65;if(this[_0x1edc9d(0x1fe)]=!0x0,((_0x1cab07=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1cab07[_0x1edc9d(0x2ca)]())!==this[_0x1edc9d(0x1b9)])return;const _0x41fe80=(_0x35ae65=this[_0x1edc9d(0x3f7)][_0x1edc9d(0x296)](_0x2a85ea)[_0x1edc9d(0x4f0)]())==null?void 0x0:_0x35ae65[0x0],_0x2e7ea9=this[_0x1edc9d(0x2e5)]['getCurrentUnitForType'](_0x51d633[_0x1edc9d(0x33c)])[_0x1edc9d(0x503)]();_0x41fe80&&_0x2e7ea9&&this['_updateLocalCursor'](_0x2e7ea9[_0x1edc9d(0x1f0)](),_0x41fe80);}[_0x45d431(0x1ed)](){const _0x35abfb=_0x45d431;this[_0x35abfb(0x1fe)]=!0x1;}};as=Fo([Be(0x2,_0x35b6a2(_0xaaab92)),Be(0x3,_0x35b6a2(Os)),Be(0x4,_0x35b6a2(Me)),Be(0x5,_0x47d1bd),Be(0x6,_0x66b6aa),Be(0x7,_0x35b6a2(_0x20c152))],as);var Ko=Object[_0x45d431(0x4f8)],zo=Object[_0x45d431(0x494)],qo=(_0xf4e7c,_0x194ee2,_0x29cfce,_0x10bc58)=>{for(var _0x2ee320=_0x10bc58>0x1?void 0x0:_0x10bc58?zo(_0x194ee2,_0x29cfce):_0x194ee2,_0x4927f6=_0xf4e7c['length']-0x1,_0x55f76e;_0x4927f6>=0x0;_0x4927f6--)(_0x55f76e=_0xf4e7c[_0x4927f6])&&(_0x2ee320=(_0x10bc58?_0x55f76e(_0x194ee2,_0x29cfce,_0x2ee320):_0x55f76e(_0x2ee320))||_0x2ee320);return _0x10bc58&&_0x2ee320&&Ko(_0x194ee2,_0x29cfce,_0x2ee320),_0x2ee320;},jt=(_0xdebeb9,_0x14512b)=>(_0x12a677,_0x5ea29d)=>_0x14512b(_0x12a677,_0x5ea29d,_0xdebeb9);let Ve=class extends _0x46da4c{constructor(_0xa00c22,_0x187f3c,_0x78dc8c){const _0x34f6bd=_0x45d431;super(),g(this,_0x34f6bd(0x44f),new Map()),g(this,_0x34f6bd(0x152),new _0x54ef1d()),(this['_univerInstanceService']=_0xa00c22,this['_injector']=_0x187f3c,this['_collabSessionService']=_0x78dc8c,this[_0x34f6bd(0x20b)]());}[_0x45d431(0x23a)](){const _0x55e550=_0x45d431;super['dispose'](),this['_entityInit$'][_0x55e550(0x175)](),this[_0x55e550(0x44f)][_0x55e550(0x4dd)](_0x27dd42=>_0x27dd42['dispose']());}['getCollabCursors$'](_0x4f36c1){const _0x5ba2e4=_0x45d431;return this['_entities'][_0x5ba2e4(0x471)](_0x4f36c1)?this[_0x5ba2e4(0x44f)]['get'](_0x4f36c1)[_0x5ba2e4(0x437)]:this[_0x5ba2e4(0x152)]['pipe'](_0x5e1bdd(_0x3bf484=>_0x3bf484[_0x5ba2e4(0x1b9)]===_0x4f36c1),_0x590c63(_0x16d0f7=>_0x16d0f7['cursorInfo$']));}[_0x45d431(0x20b)](){const _0x5e217a=_0x45d431;this[_0x5e217a(0x2e5)][_0x5e217a(0x3b3)](_0x51d633[_0x5e217a(0x33c)])[_0x5e217a(0x476)](_0x53c58e(this[_0x5e217a(0x425)]))[_0x5e217a(0x23d)](async _0x4936d3=>{const _0x22b13d=_0x5e217a,_0x551f48=_0x4936d3[_0x22b13d(0x2ca)](),_0x524875=await this[_0x22b13d(0xec)](_0x551f48);this['_entityInit$'][_0x22b13d(0x11b)](_0x524875),this[_0x22b13d(0x44f)]['set'](_0x551f48,_0x524875);}),this['_univerInstanceService'][_0x5e217a(0x3b3)](_0x51d633[_0x5e217a(0x258)])[_0x5e217a(0x476)](_0x53c58e(this['dispose$']))[_0x5e217a(0x476)](_0x5e1bdd(_0x696593=>!_0x696593[_0x5e217a(0x2ca)]()['startsWith']('__')))['subscribe'](async _0x35408d=>{const _0x1297cc=_0x5e217a,_0x50e53f=_0x35408d['getUnitId'](),_0x268f4d=await this['_startDocCollabCursor'](_0x50e53f);this[_0x1297cc(0x152)][_0x1297cc(0x11b)](_0x268f4d),this[_0x1297cc(0x44f)]['set'](_0x50e53f,_0x268f4d);}),_0x35c956(this[_0x5e217a(0x2e5)][_0x5e217a(0x209)](_0x51d633[_0x5e217a(0x258)]),this[_0x5e217a(0x2e5)][_0x5e217a(0x209)](_0x51d633['UNIVER_SHEET']))[_0x5e217a(0x476)](_0x53c58e(this[_0x5e217a(0x425)]))['subscribe'](_0x30cb85=>{const _0x3278f3=_0x5e217a,_0x1e2023=_0x30cb85[_0x3278f3(0x2ca)](),_0x3c3c10=this[_0x3278f3(0x44f)][_0x3278f3(0x296)](_0x1e2023);_0x3c3c10&&(_0x3c3c10[_0x3278f3(0x23a)](),this[_0x3278f3(0x44f)]['delete'](_0x1e2023));});}async['_startSheetCollabCursor'](_0x575eb6){const _0x111be4=_0x45d431,_0x4beec1=await this[_0x111be4(0x478)][_0x111be4(0x4b6)](_0x575eb6),_0x41973f=this[_0x111be4(0x3f7)]['createInstance'](as,_0x575eb6,_0x4beec1);return _0x41973f['init'](),_0x41973f;}async[_0x45d431(0x33b)](_0x3d2436){const _0x1ee23b=_0x45d431,_0x25749a=await this[_0x1ee23b(0x478)][_0x1ee23b(0x4b6)](_0x3d2436),_0x3e4769=this['_injector'][_0x1ee23b(0x50b)](os,_0x3d2436,_0x25749a);return _0x3e4769[_0x1ee23b(0x3de)](),_0x3e4769;}};Ve=qo([jt(0x0,_0x47d1bd),jt(0x1,_0x35b6a2(_0xaaab92)),jt(0x2,_0x35b6a2(xe))],Ve);const rt=0x14,Js=0xc8,Bt=0x4,Xo=0x5;function Jo(_0x56e736,_0xeac871){const _0x2ee172=_0x45d431;let {radius:_0x355e52,width:_0x46cc37,height:_0x4f41e2}=_0xeac871;_0x355e52=_0x355e52!=null?_0x355e52:0x0,_0x46cc37=_0x46cc37!=null?_0x46cc37:0x1e,_0x4f41e2=_0x4f41e2!=null?_0x4f41e2:0x1e;let _0x52bf4c=0x0,_0x5cdfe4=0x0,_0x3b4558=0x0;_0x52bf4c=_0x5cdfe4=_0x3b4558=Math[_0x2ee172(0x3f4)](_0x355e52,_0x46cc37/0x2,_0x4f41e2/0x2),_0x56e736[_0x2ee172(0x148)](),_0x56e736[_0x2ee172(0x171)](_0x52bf4c,0x0),_0x56e736['lineTo'](_0x46cc37-_0x5cdfe4,0x0),_0x56e736[_0x2ee172(0x424)](_0x46cc37-_0x5cdfe4,_0x5cdfe4,_0x5cdfe4,Math['PI']*0x3/0x2,0x0,!0x1),_0x56e736[_0x2ee172(0x4bc)](_0x46cc37,_0x4f41e2-_0x3b4558),_0x56e736[_0x2ee172(0x424)](_0x46cc37-_0x3b4558,_0x4f41e2-_0x3b4558,_0x3b4558,0x0,Math['PI']/0x2,!0x1),_0x56e736[_0x2ee172(0x4bc)](0x0,_0x4f41e2),_0x56e736[_0x2ee172(0x4bc)](0x0,_0x52bf4c),_0x56e736[_0x2ee172(0x424)](_0x52bf4c,_0x52bf4c,_0x52bf4c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x56e736[_0x2ee172(0x274)](),_0xeac871[_0x2ee172(0x10b)]&&(_0x56e736['save'](),_0x56e736[_0x2ee172(0x2ad)]=_0xeac871[_0x2ee172(0x10b)],_0xeac871[_0x2ee172(0x42f)]===_0x2ee172(0x1dd)?_0x56e736[_0x2ee172(0x10b)](_0x2ee172(0x1dd)):_0x56e736[_0x2ee172(0x10b)](),_0x56e736['restore']());}class wt extends _0x43b8c6{constructor(_0x5aedee,_0x6e749e){const _0x552409=_0x45d431;super(_0x5aedee,_0x6e749e),g(this,_0x552409(0x266)),g(this,'text'),(this[_0x552409(0x266)]=_0x6e749e==null?void 0x0:_0x6e749e[_0x552409(0x266)],this['text']=_0x6e749e==null?void 0x0:_0x6e749e[_0x552409(0x2b9)]);}static['drawWith'](_0x524521,_0x5be8c8){const _0x4211e8=_0x45d431,{text:_0x59b036,color:_0x380ae8}=_0x5be8c8;_0x524521['save'](),_0x524521[_0x4211e8(0x3b7)]=_0x4211e8(0x3f1);const _0x1069d9=_0x524521[_0x4211e8(0x2d7)](_0x59b036)[_0x4211e8(0x1b5)],_0x2f5a2f=Math[_0x4211e8(0x3f4)](_0x1069d9+0x2*Bt,Js);Jo(_0x524521,{'height':rt,'radius':0x4,'width':_0x2f5a2f,'fill':_0x380ae8,'evented':!0x1}),_0x524521[_0x4211e8(0x2ad)]=_0x4211e8(0x3a9);const _0xaf5bfd=Bt,_0x5ac702=rt-Xo,_0x53aa30=Js-0x2*Bt;if(_0x1069d9>_0x53aa30){let _0x3970b8='',_0x19f417=0x0;for(const _0x2b55d7 of _0x59b036){const _0x209ee9=_0x524521[_0x4211e8(0x2d7)](_0x2b55d7)[_0x4211e8(0x1b5)];if(_0x19f417+_0x209ee9<=_0x53aa30-_0x524521[_0x4211e8(0x2d7)](_0x4211e8(0x441))[_0x4211e8(0x1b5)])_0x3970b8+=_0x2b55d7,_0x19f417+=_0x209ee9;else{_0x3970b8+=_0x4211e8(0x441);break;}}_0x524521['fillText'](_0x3970b8,_0xaf5bfd,_0x5ac702);}else _0x524521[_0x4211e8(0x48e)](_0x59b036,_0xaf5bfd,_0x5ac702);_0x524521[_0x4211e8(0x226)]();}['_draw'](_0x4cf1d9){const _0x4aae20=_0x45d431;wt[_0x4aae20(0x10a)](_0x4cf1d9,this);}}const kt=_0x45d431(0x2b7),Zo=_0x45d431(0x4fa),Qo=_0x45d431(0x426),Je=0x6,ea=1.5,Wt=0x4,ta=1.5,sa=_0x45d431(0x2d9);class Zs{constructor(_0x2bc2a4,_0x47096c,_0x1db94a,_0x5aafc7){const _0x32328c=_0x45d431;g(this,'_shapes',[]),g(this,_0x32328c(0x302),null),g(this,_0x32328c(0x155),null),g(this,_0x32328c(0x1a2),null),g(this,_0x32328c(0x204),null),g(this,_0x32328c(0x2c4),null),(this[_0x32328c(0x294)]=_0x2bc2a4,this[_0x32328c(0x418)]=_0x47096c,this['_docSkeleton']=_0x1db94a,this['_document']=_0x5aafc7,this['_render']());}set[_0x45d431(0x265)](_0x1fa24d){const _0x1dc599=_0x45d431;_0x1fa24d?(this[_0x1dc599(0x1a2)]&&this['_anchorDot'][_0x1dc599(0x413)](),this['_textBubble']&&this['_textBubble'][_0x1dc599(0x176)]()):(this[_0x1dc599(0x1a2)]&&this['_anchorDot'][_0x1dc599(0x176)](),this[_0x1dc599(0x155)]&&this[_0x1dc599(0x155)][_0x1dc599(0x413)]());}[_0x45d431(0x23a)](){const _0x2eb421=_0x45d431;for(const _0x44bd29 of this['_shapes'])_0x44bd29[_0x2eb421(0x23a)]();this['_textBubble']&&this[_0x2eb421(0x155)][_0x2eb421(0x23a)](),this[_0x2eb421(0x1a2)]&&this[_0x2eb421(0x1a2)][_0x2eb421(0x23a)](),this[_0x2eb421(0x302)]&&this[_0x2eb421(0x302)][_0x2eb421(0x23a)](),this[_0x2eb421(0x2c4)]&&this[_0x2eb421(0x2c4)]();}[_0x45d431(0x3e6)](){const _0x423bcb=_0x45d431;var _0x488500;const {_docSkeleton:_0x5619e2,_document:_0x1ec08d}=this,{color:_0xe35bc2,name:_0x44c80c,ranges:_0x5ee3f6}=this['_cursor'],_0x1b16e2=_0x1ec08d[_0x423bcb(0x256)](),{docsLeft:_0x38f7b4,docsTop:_0x286604}=_0x1b16e2,_0x391c62=new _0x42808f(_0x1b16e2,_0x5619e2);for(const {startOffset:_0x343651,endOffset:_0x3f8a5b,rangeType:_0x280a54,segmentId:_0x26f49c,segmentPage:_0x2dd5a3,collapsed:_0xdf04d7,isActive:_0x1130a3}of _0x5ee3f6){const _0x456259=_0x5619e2[_0x423bcb(0x355)](_0x343651,!0x0,_0x26f49c,_0x2dd5a3);let _0x5cdf67=_0x5619e2[_0x423bcb(0x355)](_0x3f8a5b,!0x0,_0x26f49c,_0x2dd5a3);if(_0x5cdf67==null&&(_0x5cdf67=_0x5619e2['findNodePositionByCharIndex'](_0x3f8a5b-0x1,!0x1,_0x26f49c,_0x2dd5a3)),_0x1130a3){const {contentBoxPointGroup:_0x3fcf2d}=_0x391c62[_0x423bcb(0x215)](_0x5cdf67,_0x5cdf67);if(_0x3fcf2d[_0x423bcb(0xf0)]===0x0)continue;this[_0x423bcb(0x1ae)](_0xe35bc2,_0x3fcf2d,_0x38f7b4,_0x286604,_0x44c80c),this[_0x423bcb(0x2c4)]=this['_handleHover']();}if(_0x456259&&_0x5cdf67){if(_0x280a54===_0x1bbccb[_0x423bcb(0x4cd)]){const _0x3f9be6=new _0x40430c(_0x1b16e2,_0x5619e2),{pointGroup:_0x184066}=(_0x488500=_0x3f9be6['getRangePointData'](_0x456259,_0x5cdf67))!=null?_0x488500:{};if(_0x184066==null||_0x184066[_0x423bcb(0xf0)]===0x0)continue;this[_0x423bcb(0x501)](_0xe35bc2,_0x184066,_0x38f7b4,_0x286604);}else{if(!_0xdf04d7){const {borderBoxPointGroup:_0x397fed}=_0x391c62['getRangePointData'](_0x456259,_0x5cdf67);if(_0x397fed['length']===0x0)continue;this[_0x423bcb(0x135)](_0xe35bc2,_0x397fed,_0x38f7b4,_0x286604);}}}}}[_0x45d431(0x1ae)](_0x227247,_0x5014e9,_0x3d30fb,_0x581253,_0x485551){const _0x1cd986=_0x45d431,_0x5cd786=this[_0x1cd986(0x4bd)](_0x5014e9),{left:_0x226728,top:_0x34d5f0,height:_0x4b830e}=_0x5cd786,_0x15ceec=this['_getScale'](),_0x445b29=ta/_0x15ceec,_0x22d06a=new _0x328564(kt+_0x8b0f12[_0x1cd986(0x1dc)](Je),{'left':_0x226728+_0x3d30fb-_0x445b29,'top':_0x34d5f0+_0x581253,'height':_0x4b830e,'width':ea,'fill':_0x227247||_0x4e6a4f(_0x2490d2[_0x1cd986(0x25b)],0x0),'strokeWidth':_0x445b29,'stroke':sa,'evented':!0x0});this['_anchor']=_0x22d06a,this[_0x1cd986(0x418)]['addObject'](_0x22d06a,_0x5bc0cf);const _0x22f5b9=new _0x328564(kt+_0x8b0f12['generateRandomId'](Je),{'left':_0x226728+_0x3d30fb-_0x445b29,'top':_0x34d5f0+_0x581253-Wt/0x2,'height':Wt,'width':Wt,'fill':_0x227247||_0x4e6a4f(_0x2490d2[_0x1cd986(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x227247||_0x4e6a4f(_0x2490d2[_0x1cd986(0x25b)],0x0),'evented':!0x1});this[_0x1cd986(0x1a2)]=_0x22f5b9,this[_0x1cd986(0x418)][_0x1cd986(0x3fb)](_0x22f5b9,_0x5bc0cf);const _0x5a3582=new wt(kt+_0x8b0f12[_0x1cd986(0x1dc)](Je),{'left':_0x226728+_0x3d30fb-_0x445b29,'top':_0x34d5f0+_0x581253-rt,'text':_0x485551,'color':_0x227247});this[_0x1cd986(0x155)]=_0x5a3582,this[_0x1cd986(0x418)][_0x1cd986(0x3fb)](_0x5a3582,_0x5bc0cf),this[_0x1cd986(0x265)]=!0x1;}[_0x45d431(0x3c1)](){const _0x32b48e=_0x45d431,_0x22d432=this[_0x32b48e(0x302)][_0x32b48e(0x3f6)][_0x32b48e(0x4ed)](()=>{const _0x27b224=_0x32b48e;this[_0x27b224(0x265)]=!0x0;}),_0x1e4627=this[_0x32b48e(0x302)]['onPointerLeave$'][_0x32b48e(0x4ed)](()=>{const _0x601159=_0x32b48e;this[_0x601159(0x204)]&&clearTimeout(this['_hideTimer']),this[_0x601159(0x204)]=setTimeout(()=>{const _0x1f4e31=_0x601159;this[_0x1f4e31(0x265)]=!0x1;},0x7d0);});return()=>{const _0x41f13f=_0x32b48e;_0x22d432[_0x41f13f(0x406)](),_0x1e4627[_0x41f13f(0x406)]();};}[_0x45d431(0x135)](_0x3261c9,_0x1aff12,_0xbc5a3c,_0x1972a3){const _0x309bc2=_0x45d431,_0x579631=new _0x4a3aef(_0x3261c9)[_0x309bc2(0x329)](0.2)[_0x309bc2(0x336)](),_0x33a025=new _0xefe9f4(Zo+_0x8b0f12[_0x309bc2(0x1dc)](Je),{'pointsGroup':_0x1aff12,'fill':_0x579631||_0x4e6a4f(_0x2490d2[_0x309bc2(0x25b)],0.2),'left':_0xbc5a3c,'top':_0x1972a3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x309bc2(0x346)][_0x309bc2(0x182)](_0x33a025),this[_0x309bc2(0x418)][_0x309bc2(0x3fb)](_0x33a025,_0x5bc0cf);}[_0x45d431(0x501)](_0x394ec1,_0x3719fe,_0x592219,_0x232639){const _0x458450=_0x45d431,_0x22be5b=new _0x4a3aef(_0x394ec1)[_0x458450(0x329)](0.2)[_0x458450(0x336)](),_0x26a7f7=new _0xefe9f4(Qo+_0x8b0f12[_0x458450(0x1dc)](Je),{'pointsGroup':_0x3719fe,'fill':_0x22be5b||_0x4e6a4f(_0x2490d2['black'],0.2),'left':_0x592219,'top':_0x232639,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x458450(0x346)]['push'](_0x26a7f7),this[_0x458450(0x418)]['addObject'](_0x26a7f7,_0x5bc0cf);}[_0x45d431(0x4bd)](_0x1b669a){const _0x53c5ba=_0x1b669a[0x0],_0x3f7296=_0x53c5ba[0x0],_0x3e14b5=_0x53c5ba[0x2],{x:_0x2979ec,y:_0x57c6ec}=_0x3f7296,{x:_0x3ebcf0,y:_0x51ee2d}=_0x3e14b5;return{'left':_0x2979ec,'top':_0x57c6ec,'width':_0x3ebcf0-_0x2979ec,'height':_0x51ee2d-_0x57c6ec};}[_0x45d431(0x38f)](){const {scaleX:_0x2053ef,scaleY:_0x5e9173}=this['_scene']['getAncestorScale']();return Math['max'](_0x2053ef,_0x5e9173);}}var ia=Object[_0x45d431(0x4f8)],ra=Object['getOwnPropertyDescriptor'],na=(_0x4fc693,_0x359b40,_0xd1c2a2,_0xedc186)=>{const _0x5d8be2=_0x45d431;for(var _0x243409=_0xedc186>0x1?void 0x0:_0xedc186?ra(_0x359b40,_0xd1c2a2):_0x359b40,_0x11ebe0=_0x4fc693[_0x5d8be2(0xf0)]-0x1,_0x593013;_0x11ebe0>=0x0;_0x11ebe0--)(_0x593013=_0x4fc693[_0x11ebe0])&&(_0x243409=(_0xedc186?_0x593013(_0x359b40,_0xd1c2a2,_0x243409):_0x593013(_0x243409))||_0x243409);return _0xedc186&&_0x243409&&ia(_0x359b40,_0xd1c2a2,_0x243409),_0x243409;},ct=(_0x3d4f6c,_0x3622c5)=>(_0x139d57,_0x4efa04)=>_0x3622c5(_0x139d57,_0x4efa04,_0x3d4f6c);function _0x5144(_0xd49ee3,_0x161e66){const _0x31e66b=_0x31e6();return _0x5144=function(_0x5144e8,_0x2bb9e9){_0x5144e8=_0x5144e8-0xea;let _0x2ca40c=_0x31e66b[_0x5144e8];return _0x2ca40c;},_0x5144(_0xd49ee3,_0x161e66);}let cs=class extends _0x46da4c{constructor(_0x1fe946,_0x274949,_0x4c0944,_0x3841ee,_0x2788d9){const _0xdd0ff9=_0x45d431;super(),g(this,_0xdd0ff9(0x2f7),[]),g(this,_0xdd0ff9(0x42e),[]),(this['_context']=_0x1fe946,this[_0xdd0ff9(0x39f)]=_0x274949,this['_collabCursorController']=_0x4c0944,this['_commandService']=_0x3841ee,this[_0xdd0ff9(0x267)]=_0x2788d9,this[_0xdd0ff9(0x20b)]());}[_0x45d431(0x20b)](){const _0x2097c4=_0x45d431,_0x207fba=this[_0x2097c4(0x4e4)]['unitId'],_0x219b6c=this[_0x2097c4(0x39f)];this[_0x2097c4(0x20f)](_0x1eec2f([this[_0x2097c4(0x41f)][_0x2097c4(0x2f6)](_0x207fba),this[_0x2097c4(0x267)][_0x2097c4(0x275)]])[_0x2097c4(0x476)](_0x29f8ca(([_0xbea42e,_0x1442f8])=>({'skeleton':_0x219b6c['getSkeleton'](),'cursors':[..._0xbea42e[_0x2097c4(0x2c5)]()]['flatMap'](_0x42e521=>({..._0x42e521,'color':_0x1442f8[_0x42e521['color']]}))})))[_0x2097c4(0x23d)](_0x4dd67a=>{if(this['_removeCollabCursors'](),_0x4dd67a){const {skeleton:_0x613d9,cursors:_0xd976c5}=_0x4dd67a;this['_updateCollabCursors'](_0x613d9,_0xd976c5);}})),this[_0x2097c4(0x34f)](),this[_0x2097c4(0x4d3)]();}[_0x45d431(0x4f6)](_0x23bd2e,_0x3a5bad){const _0x5b59ed=_0x45d431,{scene:_0x3eaf01,mainComponent:_0x2675d6}=this[_0x5b59ed(0x4e4)],_0x481684=_0x3a5bad[_0x5b59ed(0x1fc)](_0x17e066=>new Zs(_0x17e066,_0x3eaf01,_0x23bd2e,_0x2675d6));this[_0x5b59ed(0x2f7)]=_0x481684,this['_cursors']=_0x3a5bad;}[_0x45d431(0xeb)](){const _0x3aebc5=_0x45d431;this[_0x3aebc5(0x199)]();const {scene:_0x2fbb6d,mainComponent:_0x393055}=this['_context'],_0x3d7a53=this[_0x3aebc5(0x39f)]['getSkeleton'](),_0x625e9f=this['_cursors'][_0x3aebc5(0x1fc)](_0x2c7dcc=>new Zs(_0x2c7dcc,_0x2fbb6d,_0x3d7a53,_0x393055));this[_0x3aebc5(0x2f7)]=_0x625e9f;}[_0x45d431(0x199)](){const _0x5c5fd4=_0x45d431;this[_0x5c5fd4(0x2f7)][_0x5c5fd4(0x4dd)](_0x1fb620=>_0x1fb620[_0x5c5fd4(0x23a)]()),this[_0x5c5fd4(0x2f7)]=[];}[_0x45d431(0x4d3)](){const _0x9b7be3=_0x45d431,_0x382d37=[_0x31cbee['id']];this['disposeWithMe'](this['_commandService'][_0x9b7be3(0x48d)](_0x5b02d7=>{const _0x3b097a=_0x9b7be3;_0x382d37[_0x3b097a(0x405)](_0x5b02d7['id'])&&_0x5b02d7[_0x3b097a(0x46f)][_0x3b097a(0x310)]===this[_0x3b097a(0x4e4)][_0x3b097a(0x310)]&&this['_refreshCollabCursors']();}));}[_0x45d431(0x34f)](){const _0x2cf837=_0x45d431;this[_0x2cf837(0x20f)](_0x5d5aee(this['_context']['engine'][_0x2cf837(0x2bd)])['pipe'](_0x4cca68(_0x5aefd2=>_0x5aefd2['type']===_0x27a745['resize']),_0x5db531(0x10))[_0x2cf837(0x23d)](()=>{const _0x4d7fe3=_0x2cf837;this[_0x4d7fe3(0xeb)]();}));}};cs=na([ct(0x1,_0x35b6a2(_0xb3da8)),ct(0x2,_0x35b6a2(Ve)),ct(0x3,_0x66b6aa),ct(0x4,_0x35b6a2(_0x3871ac))],cs);const oa=0x1,aa=1.5;class ca extends _0x43b8c6{constructor(_0x246988,_0x3a14bc){const _0x115670=_0x45d431;super(_0x246988,_0x3a14bc),g(this,_0x115670(0x106)),g(this,_0x115670(0x143),!0x1),g(this,_0x115670(0x1e2)),g(this,_0x115670(0x164),''),g(this,_0x115670(0x4c0),_0x115670(0xee)),g(this,_0x115670(0x2e1)),(_0x3a14bc&&this[_0x115670(0x219)](_0x3a14bc),this[_0x115670(0x3f6)][_0x115670(0x4ed)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x115670(0x3d9)][_0x115670(0x4ed)](()=>this[_0x115670(0x219)]({'hovered':!0x1})));}[_0x45d431(0x219)](_0x24470d){const _0x1cd030=_0x45d431;var _0x15c674,_0x26df52,_0x4ffec1,_0x99eb04,_0x3592b4,_0x5b52a5;this['_color']=(_0x15c674=_0x24470d[_0x1cd030(0x266)])!=null?_0x15c674:this[_0x1cd030(0x106)],this['_hovered']=(_0x26df52=_0x24470d[_0x1cd030(0x322)])!=null?_0x26df52:this[_0x1cd030(0x143)],this['_range']=(_0x4ffec1=_0x24470d[_0x1cd030(0x37e)])!=null?_0x4ffec1:this['_range'],this[_0x1cd030(0x164)]=(_0x99eb04=_0x24470d[_0x1cd030(0x373)])!=null?_0x99eb04:this[_0x1cd030(0x164)],this[_0x1cd030(0x4c0)]=(_0x3592b4=_0x24470d[_0x1cd030(0x15f)])!=null?_0x3592b4:this[_0x1cd030(0x4c0)],this[_0x1cd030(0x2e1)]=(_0x5b52a5=_0x24470d[_0x1cd030(0x303)])!=null?_0x5b52a5:this['_backgroundColor'],this['transformByState']({'width':_0x24470d['width'],'height':_0x24470d[_0x1cd030(0x151)]});}[_0x45d431(0x1c2)](_0x56e35d){const _0x386bf2=_0x45d431,{row:_0x15f661,column:_0x1919c1}=_0x56e35d;if(_0x15f661>=this[_0x386bf2(0x1e2)][_0x386bf2(0x3c3)]&&_0x15f661<=this['_range']['endRow']&&_0x1919c1>=this[_0x386bf2(0x1e2)]['startColumn']&&_0x1919c1<=this[_0x386bf2(0x1e2)][_0x386bf2(0x47a)]){this[_0x386bf2(0x219)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2ec421){return!0x1;}[_0x45d431(0x262)](_0x5442ac){const _0x252fe3=_0x45d431;_0x328564[_0x252fe3(0x10a)](_0x5442ac,{'width':this[_0x252fe3(0x1b5)],'height':this[_0x252fe3(0x151)],'strokeWidth':aa,'stroke':this[_0x252fe3(0x106)],'evented':!0x1,'fill':this[_0x252fe3(0x2e1)]}),this['_hovered']&&(_0x5442ac['save'](),_0x5442ac['transform'](0x1,0x0,0x0,0x1,this[_0x252fe3(0x1b5)],this[_0x252fe3(0x4c0)]===_0x252fe3(0x19f)?0x0:-rt),wt[_0x252fe3(0x10a)](_0x5442ac,{'text':this[_0x252fe3(0x164)],'color':this[_0x252fe3(0x106)]}),_0x5442ac[_0x252fe3(0x226)]());}}var ha=Object[_0x45d431(0x4f8)],la=Object[_0x45d431(0x494)],_a=(_0x2f7237,_0x18ed3a,_0x1734be,_0x4aa746)=>{const _0x54075c=_0x45d431;for(var _0x1864bb=_0x4aa746>0x1?void 0x0:_0x4aa746?la(_0x18ed3a,_0x1734be):_0x18ed3a,_0x48e5f1=_0x2f7237[_0x54075c(0xf0)]-0x1,_0x574790;_0x48e5f1>=0x0;_0x48e5f1--)(_0x574790=_0x2f7237[_0x48e5f1])&&(_0x1864bb=(_0x4aa746?_0x574790(_0x18ed3a,_0x1734be,_0x1864bb):_0x574790(_0x1864bb))||_0x1864bb);return _0x4aa746&&_0x1864bb&&ha(_0x18ed3a,_0x1734be,_0x1864bb),_0x1864bb;},Ft=(_0x7b7394,_0x38ecaa)=>(_0x37a838,_0x2a92d4)=>_0x38ecaa(_0x37a838,_0x2a92d4,_0x7b7394);const ua=0x1389;let hs=class extends _0x46da4c{constructor(_0xa16868,_0x181974,_0x37f5ee,_0x10ac4a){const _0x28bea0=_0x45d431;super(),g(this,_0x28bea0(0x42e),new Set()),g(this,_0x28bea0(0x192),null),(this[_0x28bea0(0x4e4)]=_0xa16868,this['_sheetSkeletonManagerService']=_0x181974,this[_0x28bea0(0x41f)]=_0x37f5ee,this[_0x28bea0(0x267)]=_0x10ac4a,this[_0x28bea0(0x20b)]());}['_init'](){const _0x66ab60=_0x45d431;this['_sheetSkeletonManagerService'][_0x66ab60(0x163)]['pipe'](_0x57b5d2(this['dispose$']),_0x66715f(_0x1c0c29=>{const _0x11813a=_0x66ab60;if(_0x1c0c29){const _0x539f8d=_0x1c0c29[_0x11813a(0x48a)];return _0x1eec2f(this[_0x11813a(0x41f)]['getCollabCursors$'](this['_context'][_0x11813a(0x310)]),this[_0x11813a(0x267)][_0x11813a(0x275)])['pipe'](_0x29f8ca(([_0xc690c3,_0x821d5b])=>{const _0x48c92c=new Map();return _0xc690c3['forEach']((_0x5b0afd,_0x4bf54d)=>{const _0x2f3968=_0x5144;if(_0x5b0afd[_0x2f3968(0x28b)]===_0x539f8d){const _0x4e7648={..._0x5b0afd};_0x4e7648[_0x2f3968(0x266)]=_0x821d5b[_0x5b0afd[_0x2f3968(0x266)]],_0x48c92c[_0x2f3968(0x3eb)](_0x4bf54d,_0x4e7648);}}),{'skeleton':_0x1c0c29,'cursors':_0x48c92c};}));}return _0x134634({'skeleton':null,'cursors':new Map()});}))[_0x66ab60(0x23d)](({skeleton:_0x2024f7,cursors:_0x55d73a})=>{const _0x36fab4=_0x66ab60;this[_0x36fab4(0x199)](),_0x2024f7&&this[_0x36fab4(0x4f6)](_0x2024f7,_0x55d73a);}),this[_0x66ab60(0x239)][_0x66ab60(0x163)][_0x66ab60(0x23d)](_0x14e3f9=>{const _0x2a9975=_0x66ab60;if(_0x14e3f9==null)return;const {skeleton:_0x53626c}=_0x14e3f9,{scene:_0x2cc960}=this[_0x2a9975(0x4e4)];_0x2cc960['onPointerMove$']['subscribeEvent'](_0x49908a(_0x137d02=>{const _0x1bb4fe=_0x2a9975;var _0x388bfe,_0x1b9f07;const {offsetX:_0x4859a6,offsetY:_0x4ccb76}=_0x137d02,{x:_0x543357,y:_0x199937}=_0x2cc960[_0x1bb4fe(0x270)](_0x2b72e0[_0x1bb4fe(0x26d)]([_0x4859a6,_0x4ccb76])),{scaleX:_0x177355,scaleY:_0x5b883d}=_0x2cc960[_0x1bb4fe(0x334)](),_0xefaade=_0x2cc960['getViewport'](_0x56b217[_0x1bb4fe(0x16e)]),_0x12de88=_0x2cc960['getVpScrollXYInfoByPosToVp'](_0x2b72e0[_0x1bb4fe(0x26d)]([_0x543357,_0x199937]),_0xefaade),_0xe2333b=_0x53626c[_0x1bb4fe(0x3f5)](_0x4859a6,_0x4ccb76,_0x177355,_0x5b883d,_0x12de88);((_0x388bfe=this['_lastPointer'])==null?void 0x0:_0x388bfe[_0x1bb4fe(0x34a)])===_0xe2333b[_0x1bb4fe(0x34a)]&&((_0x1b9f07=this[_0x1bb4fe(0x192)])==null?void 0x0:_0x1b9f07[_0x1bb4fe(0x449)])===_0xe2333b[_0x1bb4fe(0x449)]||this['_cursors']['forEach'](_0x56a46f=>{_0x56a46f['onMouseMove'](_0xe2333b);});},0x64));});}[_0x45d431(0x4f6)](_0x21a2ef,_0x44e98d){const _0x29e797=_0x45d431;var _0xeee34d;const _0x1c2283=(_0xeee34d=this['_sheetSkeletonManagerService'][_0x29e797(0x509)]())==null?void 0x0:_0xeee34d[_0x29e797(0x460)];if(!_0x1c2283)return;const _0x36a586=this['_getSheetObject']();if(!_0x36a586)return;this['_cursors'][_0x29e797(0x4dd)](_0x1e8a38=>{const _0x21202e=_0x29e797;_0x1e8a38[_0x21202e(0x1b7)]();});const {scene:_0x46710e}=_0x36a586,_0x21d7f6=da(Array['from'](_0x44e98d[_0x29e797(0x2c5)]()))['map'](_0xa8ee40=>{const _0xc57d29=_0x29e797,{color:_0x298b92,range:_0x14ea1e,name:_0x43880a,selection:_0x31dcee,sheetID:_0x2b6ee1}=_0xa8ee40,{startColumn:_0xe47aea,startRow:_0x2e0569,endColumn:_0x6ac617,endRow:_0x1ccf44}=_0x14ea1e,_0x40fb8e=_0x1be3f7(_0x2e0569,_0xe47aea,_0x46710e,_0x1c2283),_0x8e83a2=_0x1be3f7(_0x1ccf44,_0x6ac617,_0x46710e,_0x1c2283),{columnHeaderHeightAndMarginTop:_0xa684f7}=_0x1c2283,{startX:_0x459dee,startY:_0x7299e7}=_0x40fb8e,{endX:_0x3238b5,endY:_0x278936}=_0x8e83a2,_0x5cbf36=_0x3238b5-_0x459dee,_0x3d1150=_0x278936-_0x7299e7,_0x39cf1d={'labelPosition':_0x7299e7-_0xa684f7>=rt?_0xc57d29(0xee):_0xc57d29(0x19f),'sheetID':_0x2b6ee1,'range':_0x14ea1e,'color':_0x298b92,'name':_0x43880a,'selection':_0x31dcee,'left':_0x459dee,'top':_0x7299e7,'width':_0x5cbf36,'height':_0x3d1150,'evented':!0x1,'zIndex':ua};return new ca(_0x43880a,_0x39cf1d);});_0x46710e[_0x29e797(0x47f)](_0x21d7f6,oa),this[_0x29e797(0x42e)]=new Set(_0x21d7f6);}[_0x45d431(0x199)](){const _0x2279d=_0x45d431;var _0x348b17;(_0x348b17=this[_0x2279d(0x42e)])==null||_0x348b17[_0x2279d(0x4dd)](_0x58b246=>_0x58b246['dispose']());}[_0x45d431(0x157)](){const _0x494eff=_0x45d431;return _0x4fffde(this[_0x494eff(0x4e4)][_0x494eff(0x364)],this[_0x494eff(0x4e4)]);}};hs=_a([Ft(0x1,_0x35b6a2(_0x4a91f5)),Ft(0x2,_0x35b6a2(Ve)),Ft(0x3,_0x35b6a2(_0x3871ac))],hs);function da(_0x420bc5){const _0x389af1=_0x45d431,_0x228e98=new Map();return _0x420bc5[_0x389af1(0x4dd)](_0x5f172a=>{const _0x14ad75=_0x389af1;if(_0x228e98[_0x14ad75(0x471)](_0x5f172a[_0x14ad75(0x14f)])){const _0xddc84f=_0x228e98['get'](_0x5f172a[_0x14ad75(0x14f)]);_0xddc84f[_0x14ad75(0x373)]+=',\x20'+_0x5f172a[_0x14ad75(0x373)];}else _0x228e98['set'](_0x5f172a[_0x14ad75(0x14f)],_0x5f172a);}),Array[_0x389af1(0x3f9)](_0x228e98[_0x389af1(0x2c5)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x5cab34){const _0x54d337=_0x45d431;return _0x5cab34&&_0x5cab34[_0x54d337(0x1d6)]&&Object[_0x54d337(0x419)][_0x54d337(0x26f)][_0x54d337(0x3f0)](_0x5cab34,_0x54d337(0x144))?_0x5cab34[_0x54d337(0x144)]:_0x5cab34;}var Bi={'exports':{}},Dt={},fa=_0x3e6f98,va=Symbol[_0x45d431(0x44e)](_0x45d431(0x3d5)),ma=Symbol[_0x45d431(0x44e)]('react.fragment'),pa=Object[_0x45d431(0x419)][_0x45d431(0x26f)],ga=fa[_0x45d431(0x493)]['ReactCurrentOwner'],Sa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function ki(_0x242ba3,_0x17050d,_0x2de6b1){const _0x320cbc=_0x45d431;var _0x5c9f89,_0x5726cf={},_0x304b25=null,_0x48fdbd=null;_0x2de6b1!==void 0x0&&(_0x304b25=''+_0x2de6b1),_0x17050d[_0x320cbc(0x295)]!==void 0x0&&(_0x304b25=''+_0x17050d[_0x320cbc(0x295)]),_0x17050d[_0x320cbc(0x2a8)]!==void 0x0&&(_0x48fdbd=_0x17050d['ref']);for(_0x5c9f89 in _0x17050d)pa[_0x320cbc(0x3f0)](_0x17050d,_0x5c9f89)&&!Sa[_0x320cbc(0x26f)](_0x5c9f89)&&(_0x5726cf[_0x5c9f89]=_0x17050d[_0x5c9f89]);if(_0x242ba3&&_0x242ba3[_0x320cbc(0x385)]){for(_0x5c9f89 in(_0x17050d=_0x242ba3[_0x320cbc(0x385)],_0x17050d))_0x5726cf[_0x5c9f89]===void 0x0&&(_0x5726cf[_0x5c9f89]=_0x17050d[_0x5c9f89]);}return{'$$typeof':va,'type':_0x242ba3,'key':_0x304b25,'ref':_0x48fdbd,'props':_0x5726cf,'_owner':ga[_0x320cbc(0x3da)]};}Dt[_0x45d431(0x4be)]=ma,Dt[_0x45d431(0x2b4)]=ki,Dt[_0x45d431(0x314)]=ki,Bi[_0x45d431(0x305)]=Dt;var Pe=Bi[_0x45d431(0x305)],se=function(){const _0x51de61=_0x45d431;return se=Object[_0x51de61(0x16b)]||function(_0x55f7a9){const _0x496b63=_0x51de61;for(var _0x48bca5,_0x16b442=0x1,_0x742b50=arguments[_0x496b63(0xf0)];_0x16b442<_0x742b50;_0x16b442++){_0x48bca5=arguments[_0x16b442];for(var _0x559b11 in _0x48bca5)Object['prototype'][_0x496b63(0x26f)]['call'](_0x48bca5,_0x559b11)&&(_0x55f7a9[_0x559b11]=_0x48bca5[_0x559b11]);}return _0x55f7a9;},se[_0x51de61(0x2a9)](this,arguments);},Ia=function(_0x1f1230,_0x50e3f8){const _0x2fa093=_0x45d431;var _0xeb6487={};for(var _0x3896b8 in _0x1f1230)Object[_0x2fa093(0x419)][_0x2fa093(0x26f)]['call'](_0x1f1230,_0x3896b8)&&_0x50e3f8[_0x2fa093(0x319)](_0x3896b8)<0x0&&(_0xeb6487[_0x3896b8]=_0x1f1230[_0x3896b8]);if(_0x1f1230!=null&&typeof Object[_0x2fa093(0x507)]==_0x2fa093(0x40b)){for(var _0x17fe73=0x0,_0x3896b8=Object['getOwnPropertySymbols'](_0x1f1230);_0x17fe73<_0x3896b8['length'];_0x17fe73++)_0x50e3f8['indexOf'](_0x3896b8[_0x17fe73])<0x0&&Object[_0x2fa093(0x419)]['propertyIsEnumerable']['call'](_0x1f1230,_0x3896b8[_0x17fe73])&&(_0xeb6487[_0x3896b8[_0x17fe73]]=_0x1f1230[_0x3896b8[_0x17fe73]]);}return _0xeb6487;},ys=_0xadd4fe(function(_0x3d3a80,_0x557dc2){const _0x2f746c=_0x45d431;var _0x4240da=_0x3d3a80[_0x2f746c(0x469)],_0x3ff61a=_0x3d3a80['id'],_0x368fb5=_0x3d3a80[_0x2f746c(0x153)],_0x4ea77c=_0x3d3a80[_0x2f746c(0x2c3)],_0x1ce381=Ia(_0x3d3a80,[_0x2f746c(0x469),'id',_0x2f746c(0x153),'extend']),_0x3a49d4=_0x2f746c(0x4e1)[_0x2f746c(0x4b5)](_0x3ff61a,'\x20')['concat'](_0x368fb5||'')[_0x2f746c(0x367)](),_0x3891b5=_0x390425('_'[_0x2f746c(0x4b5)](ba()));return Wi(_0x4240da,''[_0x2f746c(0x4b5)](_0x3ff61a),{'defIds':_0x4240da[_0x2f746c(0x3cb)],'idSuffix':_0x3891b5[_0x2f746c(0x3da)]},se({'ref':_0x557dc2,'className':_0x3a49d4},_0x1ce381),_0x4ea77c);});function Wi(_0xe19772,_0x20aab2,_0x3afb60,_0x5950da,_0x3a06c3){const _0x513d7b=_0x45d431;return _0x32125f(_0xe19772[_0x513d7b(0x1b8)],se(se({'key':_0x20aab2},Ca(_0xe19772,_0x3afb60,_0x3a06c3)),_0x5950da),(Ea(_0xe19772,_0x3afb60)[_0x513d7b(0x1b3)]||[])[_0x513d7b(0x1fc)](function(_0x4f711c,_0x4097ac){const _0x18eebf=_0x513d7b;return Wi(_0x4f711c,''['concat'](_0x20aab2,'-')[_0x18eebf(0x4b5)](_0xe19772['tag'],'-')[_0x18eebf(0x4b5)](_0x4097ac),_0x3afb60,void 0x0,_0x3a06c3);}));}function Ca(_0xce10d3,_0x3416d6,_0x2e4e97){const _0x48e22c=_0x45d431;var _0x4a55eb=se({},_0xce10d3[_0x48e22c(0x445)]);_0x2e4e97!=null&&_0x2e4e97[_0x48e22c(0x309)]&&_0x4a55eb[_0x48e22c(0x10b)]===_0x48e22c(0x309)&&(_0x4a55eb[_0x48e22c(0x10b)]=_0x2e4e97[_0x48e22c(0x309)]);var _0x4cd021=_0x3416d6[_0x48e22c(0x3cb)];return!_0x4cd021||_0x4cd021['length']===0x0||(_0xce10d3[_0x48e22c(0x1b8)]===_0x48e22c(0x185)&&_0x4a55eb[_0x48e22c(0x312)]&&(_0x4a55eb[_0x48e22c(0x312)]=_0x4a55eb[_0x48e22c(0x312)]+_0x3416d6[_0x48e22c(0x2da)]),Object['entries'](_0x4a55eb)['forEach'](function(_0x5ad9a2){const _0x1f068d=_0x48e22c;var _0x289b29=_0x5ad9a2[0x0],_0x5366ed=_0x5ad9a2[0x1];typeof _0x5366ed==_0x1f068d(0x101)&&(_0x4a55eb[_0x289b29]=_0x5366ed['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1f068d(0x4b5)](_0x3416d6[_0x1f068d(0x2da)],')')));})),_0x4a55eb;}function Ea(_0x2862c1,_0x6a0e18){const _0x1a9687=_0x45d431;var _0x35621b,_0x1a1bb5=_0x6a0e18[_0x1a9687(0x3cb)];return!_0x1a1bb5||_0x1a1bb5[_0x1a9687(0xf0)]===0x0?_0x2862c1:_0x2862c1['tag']===_0x1a9687(0x27d)&&(!((_0x35621b=_0x2862c1['children'])===null||_0x35621b===void 0x0)&&_0x35621b[_0x1a9687(0xf0)])?se(se({},_0x2862c1),{'children':_0x2862c1[_0x1a9687(0x1b3)][_0x1a9687(0x1fc)](function(_0x58ffe5){const _0x54b62a=_0x1a9687;return typeof _0x58ffe5[_0x54b62a(0x445)]['id']==_0x54b62a(0x101)&&_0x1a1bb5&&_0x1a1bb5['indexOf'](_0x58ffe5[_0x54b62a(0x445)]['id'])>-0x1?se(se({},_0x58ffe5),{'attrs':se(se({},_0x58ffe5['attrs']),{'id':_0x58ffe5[_0x54b62a(0x445)]['id']+_0x6a0e18['idSuffix']})}):_0x58ffe5;})}):_0x2862c1;}function ba(){const _0x31ce11=_0x45d431;return Math[_0x31ce11(0x1c9)]()[_0x31ce11(0x117)](0x24)[_0x31ce11(0x27e)](0x2,0x8);}ys['displayName']=_0x45d431(0x40e);var Ta={'tag':_0x45d431(0x41e),'attrs':{'fill':_0x45d431(0x439),'viewBox':_0x45d431(0x38e),'width':_0x45d431(0x12c),'height':_0x45d431(0x12c)},'children':[{'tag':'g','attrs':{'clipPath':_0x45d431(0x146)},'children':[{'tag':_0x45d431(0x37d),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x45d431(0x292),'strokeLinejoin':_0x45d431(0x292),'strokeWidth':1.2}}]},{'tag':_0x45d431(0x27d),'attrs':{},'children':[{'tag':_0x45d431(0x26b),'attrs':{'id':_0x45d431(0x491)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x45d431(0x491)]},Fi=_0xadd4fe(function(_0x3b48e4,_0x4b8e25){const _0xab9782=_0x45d431;return _0x32125f(ys,Object[_0xab9782(0x16b)]({},_0x3b48e4,{'id':'off-line-single','ref':_0x4b8e25,'icon':Ta}));});Fi[_0x45d431(0x363)]=_0x45d431(0x3e2);var Ra={'tag':_0x45d431(0x41e),'attrs':{'fill':_0x45d431(0x439),'viewBox':_0x45d431(0x2d3),'width':_0x45d431(0x12c),'height':_0x45d431(0x12c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x45d431(0x37d),'attrs':{'stroke':_0x45d431(0x3e1),'d':_0x45d431(0x1f2),'strokeLinecap':_0x45d431(0x292),'strokeLinejoin':_0x45d431(0x292),'strokeWidth':1.2}}]},{'tag':_0x45d431(0x27d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x45d431(0x43f),'d':_0x45d431(0x1ca),'transform':'translate(.97)'}}]}]}],'defIds':[_0x45d431(0x4bf)]},Vi=_0xadd4fe(function(_0x11ffb2,_0x480e48){const _0x2380f2=_0x45d431;return _0x32125f(ys,Object[_0x2380f2(0x16b)]({},_0x11ffb2,{'id':_0x2380f2(0x2fd),'ref':_0x480e48,'icon':Ra}));});Vi['displayName']=_0x45d431(0x36b);function Gi(_0x48a265){const _0x2e1884=_0x45d431;var _0x13e3fe,_0x34531c,_0x268e28='';if(typeof _0x48a265==_0x2e1884(0x101)||typeof _0x48a265==_0x2e1884(0xf1))_0x268e28+=_0x48a265;else{if(typeof _0x48a265==_0x2e1884(0x4ef)){if(Array[_0x2e1884(0x496)](_0x48a265)){var _0x5986b4=_0x48a265['length'];for(_0x13e3fe=0x0;_0x13e3fe<_0x5986b4;_0x13e3fe++)_0x48a265[_0x13e3fe]&&(_0x34531c=Gi(_0x48a265[_0x13e3fe]))&&(_0x268e28&&(_0x268e28+='\x20'),_0x268e28+=_0x34531c);}else{for(_0x34531c in _0x48a265)_0x48a265[_0x34531c]&&(_0x268e28&&(_0x268e28+='\x20'),_0x268e28+=_0x34531c);}}}return _0x268e28;}function Oa(){for(var _0xa41f41,_0x3e0a91,_0x399f34=0x0,_0x542388='',_0x5b1f2b=arguments['length'];_0x399f34<_0x5b1f2b;_0x399f34++)(_0xa41f41=arguments[_0x399f34])&&(_0x3e0a91=Gi(_0xa41f41))&&(_0x542388&&(_0x542388+='\x20'),_0x542388+=_0x3e0a91);return _0x542388;}const ya=_0x45d431(0x4c8),wa=_0x45d431(0x35e),Da=_0x45d431(0x23b),Pa=_0x45d431(0x49e),Ua=_0x45d431(0x28f),Ze={'onlineStatusIcon':ya,'onlineStatusTitle':wa,'onlineStatus':Da,'online':Pa,'offline':Ua};function Na(_0x1277bd){const _0x968940=_0x45d431;switch(_0x1277bd){case J['OFFLINE']:return'collabStatus.offline';case J[_0x968940(0x48b)]:return _0x968940(0x1ea);case J[_0x968940(0x21e)]:return _0x968940(0x1c3);case J[_0x968940(0x376)]:return _0x968940(0x2e4);case J[_0x968940(0x193)]:case J['AWAITING_WITH_PENDING']:return _0x968940(0x16f);case J[_0x968940(0x2c6)]:case J['PENDING']:return'collabStatus.synced';}}function Aa(_0x396ad4){const _0x2762ab=_0x45d431,{status$:_0x23596c}=_0x396ad4,_0x35d6a6=_0x2a3a1c(_0x23596c,J[_0x2762ab(0x376)]),_0x2a8a4c=_0x1645c2(_0x31b970),_0x383c09=_0x1645c2(xe),_0x1487e4=_0x35d6a6!==J[_0x2762ab(0x40c)],_0x4c6afe=_0x2a8a4c['t'](Na(_0x35d6a6)),_0x358157=Oa(Ze['onlineStatus'],{[Ze[_0x2762ab(0x3d6)]]:_0x1487e4,[Ze[_0x2762ab(0x158)]]:!_0x1487e4}),_0x172888=_0x1487e4?Pe[_0x2762ab(0x2b4)](Vi,{}):Pe[_0x2762ab(0x2b4)](Fi,{}),_0x21d936=_0x4b842d(()=>{_0x1487e4||_0x383c09['reconnect']();},[_0x1487e4,_0x383c09]);function _0x4aca64(){const _0x49a753=_0x2762ab;return Pe[_0x49a753(0x314)](_0x49a753(0x32e),{'className':_0x358157,'onClick':_0x21d936,'children':[Pe[_0x49a753(0x2b4)](_0x49a753(0x32e),{'className':Ze['onlineStatusIcon'],'children':_0x172888}),Pe[_0x49a753(0x2b4)]('div',{'className':Ze[_0x49a753(0x2e9)],'children':_0x4c6afe})]});}return _0x1487e4?_0x4aca64():Pe[_0x2762ab(0x2b4)](_0xf929fa,{'title':_0x2a8a4c['t']('collab-client.tooltip.reconnect'),'children':_0x4aca64()});}var Ma=Object[_0x45d431(0x4f8)],xa=Object['getOwnPropertyDescriptor'],La=(_0x215959,_0x2f6481,_0x254155,_0xa8615d)=>{const _0x3d0cdc=_0x45d431;for(var _0xb28057=_0xa8615d>0x1?void 0x0:_0xa8615d?xa(_0x2f6481,_0x254155):_0x2f6481,_0x59f167=_0x215959[_0x3d0cdc(0xf0)]-0x1,_0x2ebe48;_0x59f167>=0x0;_0x59f167--)(_0x2ebe48=_0x215959[_0x59f167])&&(_0xb28057=(_0xa8615d?_0x2ebe48(_0x2f6481,_0x254155,_0xb28057):_0x2ebe48(_0xb28057))||_0xb28057);return _0xa8615d&&_0xb28057&&Ma(_0x2f6481,_0x254155,_0xb28057),_0xb28057;},ht=(_0x1faf2f,_0x25c2a2)=>(_0x1b59b5,_0x26359a)=>_0x25c2a2(_0x1b59b5,_0x26359a,_0x1faf2f);let Ct=class extends _0x4f1548{constructor(_0x3af65b,_0x10fde7,_0x1ce812,_0xc3fa8e){const _0x335df2=_0x45d431;super(),g(this,_0x335df2(0x285),new _0x1117fe(J[_0x335df2(0x376)])),(this[_0x335df2(0x2e5)]=_0x3af65b,this['_uiPartsService']=_0x10fde7,this[_0x335df2(0x3f7)]=_0x1ce812,this[_0x335df2(0x2b3)]=_0xc3fa8e,this[_0x335df2(0x2b2)](),this[_0x335df2(0x428)]());}[_0x45d431(0x428)](){const _0x10a2de=_0x45d431;this['disposeWithMe'](this[_0x10a2de(0x2e5)][_0x10a2de(0x339)][_0x10a2de(0x476)](_0x590c63(()=>{const _0x441967=_0x10a2de,_0x2c06f6=this[_0x441967(0x2e5)][_0x441967(0x4f9)]();return _0x2c06f6?this[_0x441967(0x2b3)]['getCollabEntity$'](_0x2c06f6[_0x441967(0x2ca)]()):_0x134634(null);}),_0x590c63(_0x4124a8=>_0x4124a8?_0x4124a8[_0x10a2de(0x208)]:_0x134634(J[_0x10a2de(0x376)])))[_0x10a2de(0x23d)](_0x41a28a=>{const _0x5e4109=_0x10a2de;this[_0x5e4109(0x285)][_0x5e4109(0x11b)](_0x41a28a);}));}[_0x45d431(0x2b2)](){const _0x4ac1d6=_0x45d431;this[_0x4ac1d6(0x20f)](this[_0x4ac1d6(0x40d)]['registerComponent'](_0x140065[_0x4ac1d6(0x134)],()=>_0x2eef45($a({'status$':this[_0x4ac1d6(0x285)][_0x4ac1d6(0x1bc)]()}),this[_0x4ac1d6(0x3f7)])));}};Ct=La([ht(0x0,_0x47d1bd),ht(0x1,_0x33e59d),ht(0x2,_0x35b6a2(_0xaaab92)),ht(0x3,_0x35b6a2(it))],Ct);function $a(_0x38a9fd){const {status$:_0x1e31d3}=_0x38a9fd;return function(){const _0x1ef5f0=_0x5144;return Pe[_0x1ef5f0(0x2b4)](Aa,{'status$':_0x1e31d3});};}const Yi=_0x590062(_0x45d431(0x37f));var Ha=Object[_0x45d431(0x4f8)],ja=Object[_0x45d431(0x494)],Ba=(_0x2f5888,_0x5c5605,_0x449033,_0x35d3d4)=>{for(var _0x2a5764=_0x35d3d4>0x1?void 0x0:_0x35d3d4?ja(_0x5c5605,_0x449033):_0x5c5605,_0x35158f=_0x2f5888['length']-0x1,_0x294c78;_0x35158f>=0x0;_0x35158f--)(_0x294c78=_0x2f5888[_0x35158f])&&(_0x2a5764=(_0x35d3d4?_0x294c78(_0x5c5605,_0x449033,_0x2a5764):_0x294c78(_0x2a5764))||_0x2a5764);return _0x35d3d4&&_0x2a5764&&Ha(_0x5c5605,_0x449033,_0x2a5764),_0x2a5764;},ke=(_0x3df70a,_0x44bb69)=>(_0x3387f7,_0x520344)=>_0x44bb69(_0x3387f7,_0x520344,_0x3df70a);let Et=class extends _0x46da4c{constructor(_0x492904,_0x553aa6,_0x2f6a82,_0xa296d8,_0x38cfff,_0x443c1b){const _0x5c2e7c=_0x45d431;super(),this[_0x5c2e7c(0x11d)]=_0x492904,this[_0x5c2e7c(0x137)]=_0x553aa6,this[_0x5c2e7c(0x198)]=_0x2f6a82,this[_0x5c2e7c(0x342)]=_0xa296d8,this[_0x5c2e7c(0xea)]=_0x38cfff,_0x443c1b?_0x443c1b==null||_0x443c1b[_0x5c2e7c(0x3d3)]()['then'](()=>this[_0x5c2e7c(0x20b)]()):(this[_0x5c2e7c(0x137)][_0x5c2e7c(0x391)](_0x5c2e7c(0x242),_0x5c2e7c(0x442)),this[_0x5c2e7c(0x20b)]());}async[_0x45d431(0x20b)](){const _0x2c7d88=_0x45d431,_0x3d4dc0=this[_0x2c7d88(0x11d)][_0x2c7d88(0x1ef)]('unit'),_0x1c0768=this[_0x2c7d88(0x11d)][_0x2c7d88(0x1ef)](_0x2c7d88(0x118));if(!_0x3d4dc0||!_0x1c0768){this['_logService'][_0x2c7d88(0x391)](_0x2c7d88(0x242),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x1c0768)){case ce[_0x2c7d88(0x33c)]:{const _0x216a60=await this[_0x2c7d88(0x362)](_0x3d4dc0);this['_setupSubUnitSync'](_0x216a60);break;}case ce[_0x2c7d88(0x258)]:{await this[_0x2c7d88(0x46d)](_0x3d4dc0);break;}default:{this[_0x2c7d88(0x137)][_0x2c7d88(0x299)](_0x2c7d88(0x242),_0x2c7d88(0x24d));break;}}}async[_0x45d431(0x191)](_0x4a83ed){const _0x187b44=_0x45d431;await this[_0x187b44(0x444)](_0x4a83ed),_0x4a83ed[_0x187b44(0x378)][_0x187b44(0x476)](_0x53c58e(this[_0x187b44(0x425)]))['subscribe'](_0x25714d=>{const _0x2a54af=_0x187b44;_0x25714d&&this[_0x2a54af(0x16a)](_0x25714d);}),this[_0x187b44(0x11d)][_0x187b44(0x330)][_0x187b44(0x476)](_0x53c58e(this[_0x187b44(0x425)]))['subscribe'](()=>this[_0x187b44(0x444)](_0x4a83ed));}['_updateURLWithCurrentState'](_0x304415,_0x47807a=!0x1){const _0xdffd30=_0x45d431,_0xc2e5af=this[_0xdffd30(0x11d)][_0xdffd30(0x1ef)]('subunit');_0x304415[_0xdffd30(0x1f0)]()!==_0xc2e5af&&this[_0xdffd30(0x11d)][_0xdffd30(0x17b)]('subunit',_0x304415['getSheetId'](),_0x47807a);}async[_0x45d431(0x444)](_0x5a73f2){const _0x4c644a=_0x45d431;var _0x571f26;const _0x3ef32c=this[_0x4c644a(0x11d)][_0x4c644a(0x1ef)](_0x4c644a(0x14e));if(!_0x3ef32c||!_0x5a73f2[_0x4c644a(0x368)](_0x3ef32c)){const _0x489562=_0x5a73f2['getUnhiddenWorksheets']()[0x0],_0x1ab51b=_0x5a73f2[_0x4c644a(0x368)](_0x489562);if(!_0x1ab51b)return;this['_updateURLWithCurrentState'](_0x1ab51b,!0x0),await this['_commandService'][_0x4c644a(0x360)](_0x1b360f['id'],{'unitId':_0x5a73f2['getUnitId'](),'subUnitId':_0x489562});return;}((_0x571f26=_0x5a73f2[_0x4c644a(0x503)]())==null?void 0x0:_0x571f26[_0x4c644a(0x1f0)]())!==_0x3ef32c&&await this[_0x4c644a(0x198)][_0x4c644a(0x360)](_0x1b360f['id'],{'unitId':_0x5a73f2[_0x4c644a(0x2ca)](),'subUnitId':_0x3ef32c});}async['_loadSheet'](_0x4a8018){const _0x37efc2=_0x45d431;let _0x2b2604=0x0;const _0x7b224a=await this[_0x37efc2(0x342)][_0x37efc2(0x2f8)](_0x4a8018);return _0x7b224a&&(_0x7b224a[_0x37efc2(0x50a)]||_0x7b224a[_0x37efc2(0x4fc)][_0x37efc2(0xf0)]!==0x0)&&(_0x2b2604=_0x7b224a[_0x37efc2(0x337)]),_0x2b2604===0x0&&this['_logService'][_0x37efc2(0x391)]('[DataLoaderController]',_0x37efc2(0x166)),this['_snapshotService'][_0x37efc2(0x1e4)](_0x4a8018,_0x2b2604);}async['_loadDoc'](_0x390023){const _0x11a911=_0x45d431;let _0x91e57b=0x0;const _0x233b1f=await this[_0x11a911(0x342)][_0x11a911(0x2f8)](_0x390023);return _0x233b1f&&(_0x233b1f[_0x11a911(0x50a)]||_0x233b1f[_0x11a911(0x4fc)][_0x11a911(0xf0)]!==0x0)&&(_0x91e57b=_0x233b1f[_0x11a911(0x337)]),_0x91e57b===0x0&&this['_logService'][_0x11a911(0x391)](_0x11a911(0x242),_0x11a911(0x166)),this[_0x11a911(0xea)][_0x11a911(0x39b)](_0x390023,_0x91e57b);}};Et=Ba([ke(0x0,Yi),ke(0x1,_0xce7964),ke(0x2,_0x66b6aa),ke(0x3,_0x35b6a2(q)),ke(0x4,_0x35b6a2(_0x45b448)),ke(0x5,_0x5cecc9(_0x4a4038))],Et);var ka=Object[_0x45d431(0x4f8)],Wa=Object[_0x45d431(0x494)],Fa=(_0x561eab,_0x1f23dc,_0x10ed08,_0x354d8a)=>{const _0x4b42bb=_0x45d431;for(var _0x5a427c=_0x354d8a>0x1?void 0x0:_0x354d8a?Wa(_0x1f23dc,_0x10ed08):_0x1f23dc,_0x53c648=_0x561eab[_0x4b42bb(0xf0)]-0x1,_0x2d7cce;_0x53c648>=0x0;_0x53c648--)(_0x2d7cce=_0x561eab[_0x53c648])&&(_0x5a427c=(_0x354d8a?_0x2d7cce(_0x1f23dc,_0x10ed08,_0x5a427c):_0x2d7cce(_0x5a427c))||_0x5a427c);return _0x354d8a&&_0x5a427c&&ka(_0x1f23dc,_0x10ed08,_0x5a427c),_0x5a427c;},Qs=(_0x16408d,_0x38c98d)=>(_0x5b27ac,_0x519329)=>_0x38c98d(_0x5b27ac,_0x519329,_0x16408d);const Va=_0x45d431(0x2cd),Ga=_0x45d431(0x37a);let bt=class extends _0x4f1548{constructor(_0x5b62ec,_0x4754f1){const _0x2ad83b=_0x45d431;super(),this[_0x2ad83b(0x2e5)]=_0x5b62ec,this['_configService']=_0x4754f1,this[_0x2ad83b(0x20b)]();}[_0x45d431(0x20b)](){const _0x27f6b0=_0x45d431;this[_0x27f6b0(0x20f)](this['_univerInstanceService'][_0x27f6b0(0x339)]['subscribe'](()=>{const _0x292b40=_0x27f6b0;var _0x2f4823;const _0xd25e9f=this[_0x292b40(0x2e5)][_0x292b40(0x4f9)]();let _0x1f668b=(_0x2f4823=this[_0x292b40(0x168)][_0x292b40(0x3e4)](Va))!=null?_0x2f4823:Ga;_0xd25e9f instanceof _0x576a03&&(_0x1f668b=_0xd25e9f[_0x292b40(0x373)]),document[_0x292b40(0x3d1)]=_0x1f668b;}));}};bt=Fa([Qs(0x0,_0x47d1bd),Qs(0x1,_0x360b05)],bt);var Ya=Object[_0x45d431(0x4f8)],Ka=Object[_0x45d431(0x494)],za=(_0x515c05,_0x3d7f08,_0x4eb900,_0x104bfd)=>{const _0x57bd37=_0x45d431;for(var _0x1e32b0=_0x104bfd>0x1?void 0x0:_0x104bfd?Ka(_0x3d7f08,_0x4eb900):_0x3d7f08,_0x4a37ed=_0x515c05[_0x57bd37(0xf0)]-0x1,_0x39eb19;_0x4a37ed>=0x0;_0x4a37ed--)(_0x39eb19=_0x515c05[_0x4a37ed])&&(_0x1e32b0=(_0x104bfd?_0x39eb19(_0x3d7f08,_0x4eb900,_0x1e32b0):_0x39eb19(_0x1e32b0))||_0x1e32b0);return _0x104bfd&&_0x1e32b0&&Ya(_0x3d7f08,_0x4eb900,_0x1e32b0),_0x1e32b0;},Vt=(_0xfb4a1,_0x5c2776)=>(_0x27f767,_0x5bf5bc)=>_0x5c2776(_0x27f767,_0x5bf5bc,_0xfb4a1);let Tt=class{constructor(_0x25a284,_0xd25e4e,_0x4d2f47){const _0x5c8d09=_0x45d431;this[_0x5c8d09(0x168)]=_0x25a284,this[_0x5c8d09(0x122)]=_0xd25e4e,this[_0x5c8d09(0x1e6)]=_0x4d2f47,this[_0x5c8d09(0x3de)]();}['init'](){const _0x558656=_0x45d431;this['_httpService'][_0x558656(0x39c)]({'priority':0x1,'interceptor':(_0x1ae526,_0xd91ad8)=>_0xd91ad8(_0x1ae526)['pipe'](_0x2b8903(async _0x1d2f68=>{const _0x45a150=_0x558656,_0x396cdd=_0x1d2f68;if(_0x396cdd['status']===0x191&&window[_0x45a150(0x22f)](this[_0x45a150(0x1e6)]['t'](_0x45a150(0x2b5)))){const _0x14949c=window[_0x45a150(0x4ff)](window[_0x45a150(0x49c)][_0x45a150(0x130)]);window[_0x45a150(0x49c)][_0x45a150(0x130)]=this[_0x45a150(0x36a)]()+'?url='+_0x14949c;}return _0x396cdd;}))});}['_getLoginPath'](){const _0x25814e=_0x45d431;var _0x559f1b,_0x33a6ec;const _0x30c9d6=this['_configService']['getConfig'](Nn),_0x12c51d=this[_0x25814e(0x168)][_0x25814e(0x3e4)](ee);return(_0x33a6ec=(_0x559f1b=_0x12c51d==null?void 0x0:_0x12c51d[_0x25814e(0x388)])!=null?_0x559f1b:_0x30c9d6)!=null?_0x33a6ec:An;}};Tt=za([Vt(0x0,_0x360b05),Vt(0x1,_0x35b6a2(_0xa83f3b)),Vt(0x2,_0x35b6a2(_0x31b970))],Tt);var qa=Object[_0x45d431(0x4f8)],Xa=Object[_0x45d431(0x494)],Ja=(_0x1c9666,_0x21d0f2,_0x18a598,_0x292f26)=>{const _0x3b6dd9=_0x45d431;for(var _0xade5ba=_0x292f26>0x1?void 0x0:_0x292f26?Xa(_0x21d0f2,_0x18a598):_0x21d0f2,_0x2c106d=_0x1c9666[_0x3b6dd9(0xf0)]-0x1,_0x34d2e1;_0x2c106d>=0x0;_0x2c106d--)(_0x34d2e1=_0x1c9666[_0x2c106d])&&(_0xade5ba=(_0x292f26?_0x34d2e1(_0x21d0f2,_0x18a598,_0xade5ba):_0x34d2e1(_0xade5ba))||_0xade5ba);return _0x292f26&&_0xade5ba&&qa(_0x21d0f2,_0x18a598,_0xade5ba),_0xade5ba;},ei=(_0x20ec44,_0x53682c)=>(_0x4022d0,_0x112df9)=>_0x53682c(_0x4022d0,_0x112df9,_0x20ec44);const Ki=_0x45d431(0x4da),Za=_0x45d431(0x4a8);let ls=class extends _0x4f1548{constructor(_0x40594f,_0x1dd67f){const _0x25f0c7=_0x45d431;super(),this[_0x25f0c7(0x1f4)]=_0x40594f,this[_0x25f0c7(0x168)]=_0x1dd67f,this[_0x25f0c7(0x264)]();}[_0x45d431(0x264)](){const _0x249d3d=_0x45d431,_0x1fb81d=this;this[_0x249d3d(0x20f)](this[_0x249d3d(0x1f4)][_0x249d3d(0x39c)]({'priority':0x3e7,'interceptor':_0x2cc38a({'isMatch'(_0x2dd701){const _0x32e257=_0x249d3d;var _0x4e6d51;if(_0x2dd701['method']===_0x32e257(0x2cb)&&((_0x4e6d51=_0x2dd701[_0x32e257(0x4ea)])!=null&&_0x4e6d51[_0x32e257(0x3ce)])){const {objectID:_0x18b550,objectType:_0x3cc759}=_0x2dd701['requestParams']['body']||{};if(!_0x18b550||_0x3cc759===void 0x0)return!0x1;const _0x207907=_0x1fb81d['_getAPIPrefixPath']()+'/'+_0x3cc759+_0x32e257(0x2c7)+_0x18b550+'/allowed';if(_0x2dd701['url']===_0x207907)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4719fe){const _0xf84c32=_0x249d3d;var _0x34e37b;return(_0x34e37b=_0x4719fe[_0xf84c32(0x4ea)])==null?void 0x0:_0x34e37b[_0xf84c32(0x3ce)];},'mergeParamsToRequest'(_0x5d9b5f,_0x2d355b){const _0x26203b=_0x249d3d,_0x586acd=_0x1fb81d[_0x26203b(0x482)]()+_0x26203b(0x3a4),_0x3cc2f6=_0x5d9b5f['reduce']((_0x1e820a,_0x4818f3)=>{const {unitID:_0x389927,objectID:_0x4a2901,objectType:_0x2feee2,actions:_0x887c28}=_0x4818f3;return _0x1e820a[_0x389927]||(_0x1e820a[_0x389927]={}),_0x1e820a[_0x389927][_0x4a2901]||(_0x1e820a[_0x389927][_0x4a2901]={'objectID':_0x4a2901,'objectType':_0x2feee2,'actions':[]}),_0x1e820a[_0x389927][_0x4a2901]['actions']['push'](..._0x887c28),_0x1e820a;},{}),_0x3344e1=[];for(const _0x1843c3 in _0x3cc2f6)for(const _0x403f6f in _0x3cc2f6[_0x1843c3]){const {actions:_0x1d2ad3,objectType:_0x1738a9}=_0x3cc2f6[_0x1843c3][_0x403f6f],_0x2baf42=[...new Set(_0x1d2ad3)];_0x3344e1['push']({'unitID':_0x1843c3,'objectID':_0x403f6f,'objectType':_0x1738a9,'actions':_0x2baf42});}return new _0x3acb9f(_0x26203b(0x2cb),_0x586acd,{'headers':_0x2d355b['headers'],'withCredentials':_0x2d355b[_0x26203b(0x431)],'responseType':_0x2d355b[_0x26203b(0x4cb)],'body':{'requests':_0x3344e1}});}},{'distributeResult'(_0x37c6ff,_0x231b67){const _0x101e45=_0x249d3d,{objectActions:_0x2ac331}=_0x37c6ff;return _0x231b67[_0x101e45(0x1fc)](_0x24ce3c=>{const _0x353a73=_0x101e45,{unitID:_0x53c389,objectID:_0x547c86,actions:_0x52c784}=_0x24ce3c,_0x4b8d5c=_0x2ac331[_0x353a73(0x2de)](_0x13a410=>_0x13a410[_0x353a73(0x1b9)]===_0x53c389&&_0x13a410['objectID']===_0x547c86),_0x45826f=_0x52c784['map'](_0x19819c=>_0x4b8d5c==null?void 0x0:_0x4b8d5c['actions']['find'](_0x1f9a8f=>_0x1f9a8f['action']===_0x19819c))[_0x353a73(0x393)](_0x2f447e=>!!_0x2f447e);return{'config':_0x24ce3c,'result':{'actions':_0x45826f,'error':_0x37c6ff[_0x353a73(0x299)]}};});}})}));}[_0x45d431(0x482)](){const _0xe4c1c=_0x45d431;var _0x19d5a4,_0x301890;const _0x2ec217=this[_0xe4c1c(0x168)]['getConfig'](Ki),_0x191590=this[_0xe4c1c(0x168)][_0xe4c1c(0x3e4)](ee);return(_0x301890=(_0x19d5a4=_0x191590==null?void 0x0:_0x191590[_0xe4c1c(0x293)])!=null?_0x19d5a4:_0x2ec217)!=null?_0x301890:Za;}async[_0x45d431(0x387)](_0x6d12d8){const _0xcaee66=_0x45d431,_0x2fbd15=this['_getAPIPrefixPath']()+'/'+_0x6d12d8[_0xcaee66(0x4c5)]+_0xcaee66(0x44b);return(await this['_HTTPService'][_0xcaee66(0x3ca)](_0x2fbd15,{'body':_0x6d12d8}))[_0xcaee66(0x3ce)]['objectID']||'';}async[_0x45d431(0x4d4)](_0x1c7696){const _0x1b9244=_0x45d431,_0xf27cac=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x1b9244(0x1f4)]['post'](_0xf27cac,{'body':_0x1c7696}))['body'][_0x1b9244(0x369)];}async['update'](_0x1715fb){const _0x1bbaab=_0x45d431,_0x12e31a=this[_0x1bbaab(0x482)]()+'/'+_0x1715fb[_0x1bbaab(0x4c5)]+'/object/'+_0x1715fb['objectID'];await this[_0x1bbaab(0x1f4)][_0x1bbaab(0x311)](_0x12e31a,{'body':_0x1715fb});}async[_0x45d431(0x3a0)](_0x5a0084){const _0x1b4fae=_0x45d431,_0x1c85bc=this['_getAPIPrefixPath']()+'/'+_0x5a0084[_0x1b4fae(0x4c5)]+_0x1b4fae(0x2c7)+_0x5a0084[_0x1b4fae(0x46c)]+_0x1b4fae(0x23f);return(await this[_0x1b4fae(0x1f4)]['post'](_0x1c85bc,{'body':_0x5a0084}))[_0x1b4fae(0x3ce)]['actions'];}async[_0x45d431(0x21b)](_0x3a3c54){const _0x5f2447=_0x45d431,_0x43c419=this[_0x5f2447(0x482)]()+_0x5f2447(0x3a4);return(await this[_0x5f2447(0x1f4)][_0x5f2447(0x3ca)](_0x43c419,{'body':{'requests':_0x3a3c54}}))[_0x5f2447(0x3ce)][_0x5f2447(0x4ca)];}async['listRoles'](_0x576aa1){const _0x20041b=_0x45d431,_0x6c3636=this[_0x20041b(0x482)]()+'/'+_0x576aa1[_0x20041b(0x4c5)]+_0x20041b(0x32f),_0x16ab06=await this['_HTTPService'][_0x20041b(0x3ca)](_0x6c3636,{'body':_0x576aa1});return{'roles':_0x16ab06[_0x20041b(0x3ce)][_0x20041b(0x4f7)],'actions':_0x16ab06['body'][_0x20041b(0x3b4)]};}async[_0x45d431(0x3cd)](_0x14abba){const _0x5d3138=_0x45d431,_0x3fc182=this[_0x5d3138(0x482)]()+_0x5d3138(0xf7);await this[_0x5d3138(0x1f4)]['delete'](_0x3fc182,{'params':{'collaboratorID':_0x14abba[_0x5d3138(0x136)],'objectID':_0x14abba[_0x5d3138(0x46c)],'unitID':_0x14abba[_0x5d3138(0x1b9)]}});}async['updateCollaborator'](_0x2201df){const _0x5ec0ce=_0x45d431,_0x33da54=this[_0x5ec0ce(0x482)]()+_0x5ec0ce(0xf7);await this['_HTTPService'][_0x5ec0ce(0x2c9)](_0x33da54,{'body':_0x2201df});}async[_0x45d431(0x3ef)](_0x367727){const _0x168fbe=_0x45d431,_0x2e0a33=this['_getAPIPrefixPath']()+_0x168fbe(0xf7);await this[_0x168fbe(0x1f4)][_0x168fbe(0x3ca)](_0x2e0a33,{'body':_0x367727});}async[_0x45d431(0x2ac)](_0x5368af){const _0x37b925=_0x45d431,_0x440b2b=this[_0x37b925(0x482)]()+_0x37b925(0xf7);return(await this['_HTTPService'][_0x37b925(0x296)](_0x440b2b,{'params':{'objectID':_0x5368af[_0x37b925(0x46c)],'unitID':_0x5368af[_0x37b925(0x1b9)]}}))[_0x37b925(0x3ce)]['collaborators'];}async['putCollaborators'](_0x27be84){const _0x237151=_0x45d431,_0x550a94=this[_0x237151(0x482)]()+'/collaborator';await this[_0x237151(0x1f4)][_0x237151(0x311)](_0x550a94,{'body':_0x27be84});}};ls=Ja([ei(0x0,_0x35b6a2(_0xa83f3b)),ei(0x1,_0x35b6a2(_0x360b05))],ls);var zi={'exports':{}};function Qa(_0x521086){const _0x24048b=_0x45d431;throw new Error(_0x24048b(0x371)+_0x521086+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Gt={'exports':{}},ti;function ue(){const _0x45fae5=_0x45d431;return ti||(ti=0x1,function(_0x24f424,_0x276b4f){(function(_0x35eae,_0x63322e){const _0x93404b=_0x5144;_0x24f424[_0x93404b(0x305)]=_0x63322e();}(Z,function(){var _0x136855=_0x136855||function(_0xbca6a2,_0x792178){const _0x213b0e=_0x5144;var _0x3eeee5;if(typeof window<'u'&&window[_0x213b0e(0x3fd)]&&(_0x3eeee5=window['crypto']),typeof self<'u'&&self[_0x213b0e(0x3fd)]&&(_0x3eeee5=self[_0x213b0e(0x3fd)]),typeof globalThis<'u'&&globalThis[_0x213b0e(0x3fd)]&&(_0x3eeee5=globalThis[_0x213b0e(0x3fd)]),!_0x3eeee5&&typeof window<'u'&&window['msCrypto']&&(_0x3eeee5=window['msCrypto']),!_0x3eeee5&&typeof Z<'u'&&Z[_0x213b0e(0x3fd)]&&(_0x3eeee5=Z[_0x213b0e(0x3fd)]),!_0x3eeee5&&typeof Qa=='function')try{_0x3eeee5=require(_0x213b0e(0x3fd));}catch{}var _0x20c1c3=function(){const _0x32c65d=_0x213b0e;if(_0x3eeee5){if(typeof _0x3eeee5['getRandomValues']==_0x32c65d(0x40b))try{return _0x3eeee5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3eeee5['randomBytes']==_0x32c65d(0x40b))try{return _0x3eeee5[_0x32c65d(0x113)](0x4)[_0x32c65d(0x288)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2f0995=Object[_0x213b0e(0x387)]||(function(){function _0x4be37a(){}return function(_0x52ca3d){const _0x4bb6f4=_0x5144;var _0x2d4265;return _0x4be37a[_0x4bb6f4(0x419)]=_0x52ca3d,_0x2d4265=new _0x4be37a(),_0x4be37a[_0x4bb6f4(0x419)]=null,_0x2d4265;};}()),_0x3d79b3={},_0x519244=_0x3d79b3['lib']={},_0x57c73f=_0x519244[_0x213b0e(0x24b)]=(function(){return{'extend':function(_0x3908df){const _0xa2841=_0x5144;var _0x18b0d5=_0x2f0995(this);return _0x3908df&&_0x18b0d5[_0xa2841(0x260)](_0x3908df),(!_0x18b0d5['hasOwnProperty'](_0xa2841(0x3de))||this[_0xa2841(0x3de)]===_0x18b0d5['init'])&&(_0x18b0d5[_0xa2841(0x3de)]=function(){const _0x49ddcb=_0xa2841;_0x18b0d5[_0x49ddcb(0xfb)]['init'][_0x49ddcb(0x2a9)](this,arguments);}),_0x18b0d5[_0xa2841(0x3de)][_0xa2841(0x419)]=_0x18b0d5,_0x18b0d5['$super']=this,_0x18b0d5;},'create':function(){const _0x5a0d25=_0x5144;var _0x1f9211=this['extend']();return _0x1f9211[_0x5a0d25(0x3de)][_0x5a0d25(0x2a9)](_0x1f9211,arguments),_0x1f9211;},'init':function(){},'mixIn':function(_0x2cda0b){const _0x30b7a8=_0x5144;for(var _0x47d184 in _0x2cda0b)_0x2cda0b['hasOwnProperty'](_0x47d184)&&(this[_0x47d184]=_0x2cda0b[_0x47d184]);_0x2cda0b[_0x30b7a8(0x26f)](_0x30b7a8(0x117))&&(this['toString']=_0x2cda0b[_0x30b7a8(0x117)]);},'clone':function(){const _0x18a442=_0x5144;return this[_0x18a442(0x3de)][_0x18a442(0x419)][_0x18a442(0x2c3)](this);}};}()),_0x53b792=_0x519244[_0x213b0e(0x489)]=_0x57c73f[_0x213b0e(0x2c3)]({'init':function(_0x1dda3b,_0x25340f){const _0x11544e=_0x213b0e;_0x1dda3b=this['words']=_0x1dda3b||[],_0x25340f!=_0x792178?this[_0x11544e(0x231)]=_0x25340f:this[_0x11544e(0x231)]=_0x1dda3b[_0x11544e(0xf0)]*0x4;},'toString':function(_0x2997e){const _0x1a89c0=_0x213b0e;return(_0x2997e||_0x23c99b)[_0x1a89c0(0x359)](this);},'concat':function(_0x3f06a5){const _0x3e7907=_0x213b0e;var _0x1893f0=this[_0x3e7907(0x14d)],_0x564012=_0x3f06a5[_0x3e7907(0x14d)],_0x29cdce=this[_0x3e7907(0x231)],_0x40975c=_0x3f06a5[_0x3e7907(0x231)];if(this[_0x3e7907(0x23e)](),_0x29cdce%0x4)for(var _0x4d7b01=0x0;_0x4d7b01<_0x40975c;_0x4d7b01++){var _0x408000=_0x564012[_0x4d7b01>>>0x2]>>>0x18-_0x4d7b01%0x4*0x8&0xff;_0x1893f0[_0x29cdce+_0x4d7b01>>>0x2]|=_0x408000<<0x18-(_0x29cdce+_0x4d7b01)%0x4*0x8;}else{for(var _0x4075d0=0x0;_0x4075d0<_0x40975c;_0x4075d0+=0x4)_0x1893f0[_0x29cdce+_0x4075d0>>>0x2]=_0x564012[_0x4075d0>>>0x2];}return this[_0x3e7907(0x231)]+=_0x40975c,this;},'clamp':function(){const _0x47c24a=_0x213b0e;var _0x137c6a=this[_0x47c24a(0x14d)],_0x440531=this[_0x47c24a(0x231)];_0x137c6a[_0x440531>>>0x2]&=0xffffffff<<0x20-_0x440531%0x4*0x8,_0x137c6a[_0x47c24a(0xf0)]=_0xbca6a2[_0x47c24a(0x20d)](_0x440531/0x4);},'clone':function(){const _0xb388e7=_0x213b0e;var _0x4983bf=_0x57c73f[_0xb388e7(0x1eb)]['call'](this);return _0x4983bf[_0xb388e7(0x14d)]=this[_0xb388e7(0x14d)][_0xb388e7(0x3a1)](0x0),_0x4983bf;},'random':function(_0x5e44b9){const _0x5a4d92=_0x213b0e;for(var _0x52aa84=[],_0x22f0c9=0x0;_0x22f0c9<_0x5e44b9;_0x22f0c9+=0x4)_0x52aa84[_0x5a4d92(0x182)](_0x20c1c3());return new _0x53b792[(_0x5a4d92(0x3de))](_0x52aa84,_0x5e44b9);}}),_0x4cf277=_0x3d79b3[_0x213b0e(0x46a)]={},_0x23c99b=_0x4cf277[_0x213b0e(0x40f)]={'stringify':function(_0x4c262d){const _0x4b3e1c=_0x213b0e;for(var _0x1fb79d=_0x4c262d['words'],_0x10514f=_0x4c262d[_0x4b3e1c(0x231)],_0x44b222=[],_0x519f59=0x0;_0x519f59<_0x10514f;_0x519f59++){var _0x19cbb3=_0x1fb79d[_0x519f59>>>0x2]>>>0x18-_0x519f59%0x4*0x8&0xff;_0x44b222[_0x4b3e1c(0x182)]((_0x19cbb3>>>0x4)[_0x4b3e1c(0x117)](0x10)),_0x44b222[_0x4b3e1c(0x182)]((_0x19cbb3&0xf)[_0x4b3e1c(0x117)](0x10));}return _0x44b222['join']('');},'parse':function(_0x1a909b){const _0x55306b=_0x213b0e;for(var _0x2bbaf4=_0x1a909b[_0x55306b(0xf0)],_0x3c8df4=[],_0x5c931a=0x0;_0x5c931a<_0x2bbaf4;_0x5c931a+=0x2)_0x3c8df4[_0x5c931a>>>0x3]|=parseInt(_0x1a909b[_0x55306b(0x27b)](_0x5c931a,0x2),0x10)<<0x18-_0x5c931a%0x8*0x4;return new _0x53b792[(_0x55306b(0x3de))](_0x3c8df4,_0x2bbaf4/0x2);}},_0x5927e4=_0x4cf277[_0x213b0e(0x30f)]={'stringify':function(_0x3cacae){const _0xee772b=_0x213b0e;for(var _0x479f01=_0x3cacae[_0xee772b(0x14d)],_0x29d65b=_0x3cacae[_0xee772b(0x231)],_0x24ca20=[],_0x20d444=0x0;_0x20d444<_0x29d65b;_0x20d444++){var _0x95be9e=_0x479f01[_0x20d444>>>0x2]>>>0x18-_0x20d444%0x4*0x8&0xff;_0x24ca20[_0xee772b(0x182)](String[_0xee772b(0x10d)](_0x95be9e));}return _0x24ca20[_0xee772b(0x165)]('');},'parse':function(_0x1a50ad){const _0x2621c9=_0x213b0e;for(var _0x1eba33=_0x1a50ad[_0x2621c9(0xf0)],_0x4c41a2=[],_0x1e165a=0x0;_0x1e165a<_0x1eba33;_0x1e165a++)_0x4c41a2[_0x1e165a>>>0x2]|=(_0x1a50ad[_0x2621c9(0x3ac)](_0x1e165a)&0xff)<<0x18-_0x1e165a%0x4*0x8;return new _0x53b792['init'](_0x4c41a2,_0x1eba33);}},_0x52613d=_0x4cf277[_0x213b0e(0x2b6)]={'stringify':function(_0x47b4d4){const _0x142278=_0x213b0e;try{return decodeURIComponent(escape(_0x5927e4[_0x142278(0x359)](_0x47b4d4)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x7c2916){return _0x5927e4['parse'](unescape(encodeURIComponent(_0x7c2916)));}},_0x16dc35=_0x519244[_0x213b0e(0x196)]=_0x57c73f['extend']({'reset':function(){const _0x15c4d0=_0x213b0e;this[_0x15c4d0(0x3d7)]=new _0x53b792[(_0x15c4d0(0x3de))](),this[_0x15c4d0(0x3ed)]=0x0;},'_append':function(_0xb05993){const _0x14d96e=_0x213b0e;typeof _0xb05993==_0x14d96e(0x101)&&(_0xb05993=_0x52613d[_0x14d96e(0xf6)](_0xb05993)),this[_0x14d96e(0x3d7)][_0x14d96e(0x4b5)](_0xb05993),this[_0x14d96e(0x3ed)]+=_0xb05993['sigBytes'];},'_process':function(_0x2710f0){const _0x36658f=_0x213b0e;var _0x1c6740,_0x31e43e=this['_data'],_0x1cd60d=_0x31e43e[_0x36658f(0x14d)],_0x284d5e=_0x31e43e[_0x36658f(0x231)],_0x422089=this[_0x36658f(0x4d9)],_0x4652b3=_0x422089*0x4,_0x589d5c=_0x284d5e/_0x4652b3;_0x2710f0?_0x589d5c=_0xbca6a2[_0x36658f(0x20d)](_0x589d5c):_0x589d5c=_0xbca6a2['max']((_0x589d5c|0x0)-this[_0x36658f(0x138)],0x0);var _0x21943b=_0x589d5c*_0x422089,_0x8b4c71=_0xbca6a2[_0x36658f(0x3f4)](_0x21943b*0x4,_0x284d5e);if(_0x21943b){for(var _0x23d1d9=0x0;_0x23d1d9<_0x21943b;_0x23d1d9+=_0x422089)this['_doProcessBlock'](_0x1cd60d,_0x23d1d9);_0x1c6740=_0x1cd60d['splice'](0x0,_0x21943b),_0x31e43e[_0x36658f(0x231)]-=_0x8b4c71;}return new _0x53b792[(_0x36658f(0x3de))](_0x1c6740,_0x8b4c71);},'clone':function(){const _0x25fb1c=_0x213b0e;var _0x472d52=_0x57c73f['clone']['call'](this);return _0x472d52[_0x25fb1c(0x3d7)]=this[_0x25fb1c(0x3d7)]['clone'](),_0x472d52;},'_minBufferSize':0x0});_0x519244[_0x213b0e(0x1da)]=_0x16dc35[_0x213b0e(0x2c3)]({'cfg':_0x57c73f[_0x213b0e(0x2c3)](),'init':function(_0x5557f2){const _0x296f03=_0x213b0e;this[_0x296f03(0x177)]=this[_0x296f03(0x177)]['extend'](_0x5557f2),this[_0x296f03(0x283)]();},'reset':function(){const _0x5e5298=_0x213b0e;_0x16dc35[_0x5e5298(0x283)]['call'](this),this[_0x5e5298(0x347)]();},'update':function(_0x3c03f5){const _0x8b273e=_0x213b0e;return this['_append'](_0x3c03f5),this[_0x8b273e(0x1d5)](),this;},'finalize':function(_0x314d2c){const _0x4fd644=_0x213b0e;_0x314d2c&&this['_append'](_0x314d2c);var _0x2d2bd2=this[_0x4fd644(0x16c)]();return _0x2d2bd2;},'blockSize':0x10,'_createHelper':function(_0x587fe1){return function(_0x338be2,_0x310326){const _0x989bb9=_0x5144;return new _0x587fe1[(_0x989bb9(0x3de))](_0x310326)['finalize'](_0x338be2);};},'_createHmacHelper':function(_0x4f8e3d){return function(_0x153a67,_0x422574){const _0xc30c31=_0x5144;return new _0x31f246[(_0xc30c31(0x42b))][(_0xc30c31(0x3de))](_0x4f8e3d,_0x422574)['finalize'](_0x153a67);};}});var _0x31f246=_0x3d79b3[_0x213b0e(0x284)]={};return _0x3d79b3;}(Math);return _0x136855;}));}(Gt)),Gt[_0x45fae5(0x305)];}var Yt={'exports':{}},si;function qi(){const _0x1325af=_0x45d431;return si||(si=0x1,function(_0xf9fa1f,_0x1a1fb2){(function(_0x557db8,_0x4e0213){const _0x29733b=_0x5144;_0xf9fa1f[_0x29733b(0x305)]=_0x4e0213(ue());}(Z,function(_0x475d03){const _0x509413=_0x5144;return(function(){var _0x599f9f=_0x475d03,_0xb80112=_0x599f9f['lib'],_0xe452d3=_0xb80112['WordArray'],_0x1615b6=_0x599f9f['enc'];_0x1615b6['Base64']={'stringify':function(_0x50e22f){const _0x3f86fb=_0x5144;var _0x3e6601=_0x50e22f[_0x3f86fb(0x14d)],_0x21c07e=_0x50e22f['sigBytes'],_0x5a03a2=this['_map'];_0x50e22f[_0x3f86fb(0x23e)]();for(var _0x177b44=[],_0x4415c6=0x0;_0x4415c6<_0x21c07e;_0x4415c6+=0x3)for(var _0x3d69e8=_0x3e6601[_0x4415c6>>>0x2]>>>0x18-_0x4415c6%0x4*0x8&0xff,_0x2f4fd0=_0x3e6601[_0x4415c6+0x1>>>0x2]>>>0x18-(_0x4415c6+0x1)%0x4*0x8&0xff,_0x4c481b=_0x3e6601[_0x4415c6+0x2>>>0x2]>>>0x18-(_0x4415c6+0x2)%0x4*0x8&0xff,_0x237342=_0x3d69e8<<0x10|_0x2f4fd0<<0x8|_0x4c481b,_0x411e02=0x0;_0x411e02<0x4&&_0x4415c6+_0x411e02*0.75<_0x21c07e;_0x411e02++)_0x177b44[_0x3f86fb(0x182)](_0x5a03a2['charAt'](_0x237342>>>0x6*(0x3-_0x411e02)&0x3f));var _0x1d936c=_0x5a03a2[_0x3f86fb(0x298)](0x40);if(_0x1d936c){for(;_0x177b44['length']%0x4;)_0x177b44[_0x3f86fb(0x182)](_0x1d936c);}return _0x177b44[_0x3f86fb(0x165)]('');},'parse':function(_0x10d255){const _0x159fcd=_0x5144;var _0xafdb4a=_0x10d255['length'],_0x3d4a54=this[_0x159fcd(0x395)],_0x4ae05f=this[_0x159fcd(0x35c)];if(!_0x4ae05f){_0x4ae05f=this[_0x159fcd(0x35c)]=[];for(var _0x41d850=0x0;_0x41d850<_0x3d4a54[_0x159fcd(0xf0)];_0x41d850++)_0x4ae05f[_0x3d4a54[_0x159fcd(0x3ac)](_0x41d850)]=_0x41d850;}var _0x10c73b=_0x3d4a54[_0x159fcd(0x298)](0x40);if(_0x10c73b){var _0x6cf5d0=_0x10d255[_0x159fcd(0x319)](_0x10c73b);_0x6cf5d0!==-0x1&&(_0xafdb4a=_0x6cf5d0);}return _0x53bdb5(_0x10d255,_0xafdb4a,_0x4ae05f);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x53bdb5(_0x45a9ea,_0x2e23ce,_0x529a24){const _0xfefac5=_0x5144;for(var _0x2f1e8a=[],_0x2f6490=0x0,_0x4a3323=0x0;_0x4a3323<_0x2e23ce;_0x4a3323++)if(_0x4a3323%0x4){var _0xff0e7a=_0x529a24[_0x45a9ea[_0xfefac5(0x3ac)](_0x4a3323-0x1)]<<_0x4a3323%0x4*0x2,_0xd30927=_0x529a24[_0x45a9ea[_0xfefac5(0x3ac)](_0x4a3323)]>>>0x6-_0x4a3323%0x4*0x2,_0x2e6f95=_0xff0e7a|_0xd30927;_0x2f1e8a[_0x2f6490>>>0x2]|=_0x2e6f95<<0x18-_0x2f6490%0x4*0x8,_0x2f6490++;}return _0xe452d3[_0xfefac5(0x387)](_0x2f1e8a,_0x2f6490);}}()),_0x475d03['enc'][_0x509413(0x286)];}));}(Yt)),Yt[_0x1325af(0x305)];}var Kt={'exports':{}},ii;function ec(){return ii||(ii=0x1,function(_0x923a15,_0x531f1c){(function(_0x1c6519,_0x14d5d5){const _0x27f0c5=_0x5144;_0x923a15[_0x27f0c5(0x305)]=_0x14d5d5(ue());}(Z,function(_0x535c60){const _0x25032c=_0x5144;return function(_0x466d20){const _0x11b14b=_0x5144;var _0x3481ac=_0x535c60,_0xe20dae=_0x3481ac[_0x11b14b(0x1cb)],_0x515e37=_0xe20dae[_0x11b14b(0x489)],_0x597c23=_0xe20dae[_0x11b14b(0x1da)],_0xb95c4c=_0x3481ac[_0x11b14b(0x284)],_0x51b0d0=[];(function(){for(var _0x158b02=0x0;_0x158b02<0x40;_0x158b02++)_0x51b0d0[_0x158b02]=_0x466d20['abs'](_0x466d20['sin'](_0x158b02+0x1))*0x100000000|0x0;}());var _0x439896=_0xb95c4c[_0x11b14b(0x1fa)]=_0x597c23['extend']({'_doReset':function(){const _0x1583c8=_0x11b14b;this[_0x1583c8(0x25e)]=new _0x515e37['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x266499,_0x4539d4){const _0x4fb182=_0x11b14b;for(var _0xe4a869=0x0;_0xe4a869<0x10;_0xe4a869++){var _0x14e878=_0x4539d4+_0xe4a869,_0x4f1ca9=_0x266499[_0x14e878];_0x266499[_0x14e878]=(_0x4f1ca9<<0x8|_0x4f1ca9>>>0x18)&0xff00ff|(_0x4f1ca9<<0x18|_0x4f1ca9>>>0x8)&0xff00ff00;}var _0x5e1f2a=this[_0x4fb182(0x25e)]['words'],_0x906761=_0x266499[_0x4539d4+0x0],_0x174071=_0x266499[_0x4539d4+0x1],_0x146a38=_0x266499[_0x4539d4+0x2],_0x4f152e=_0x266499[_0x4539d4+0x3],_0x877541=_0x266499[_0x4539d4+0x4],_0x16855b=_0x266499[_0x4539d4+0x5],_0x2099b5=_0x266499[_0x4539d4+0x6],_0x140fb6=_0x266499[_0x4539d4+0x7],_0x5e5a96=_0x266499[_0x4539d4+0x8],_0x28620c=_0x266499[_0x4539d4+0x9],_0x4e0a67=_0x266499[_0x4539d4+0xa],_0x97ce4=_0x266499[_0x4539d4+0xb],_0x25ef7d=_0x266499[_0x4539d4+0xc],_0x1985be=_0x266499[_0x4539d4+0xd],_0x24a26b=_0x266499[_0x4539d4+0xe],_0x5df0fd=_0x266499[_0x4539d4+0xf],_0x22538f=_0x5e1f2a[0x0],_0x409e58=_0x5e1f2a[0x1],_0x401600=_0x5e1f2a[0x2],_0x187aeb=_0x5e1f2a[0x3];_0x22538f=_0x11ca68(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x906761,0x7,_0x51b0d0[0x0]),_0x187aeb=_0x11ca68(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x174071,0xc,_0x51b0d0[0x1]),_0x401600=_0x11ca68(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x146a38,0x11,_0x51b0d0[0x2]),_0x409e58=_0x11ca68(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x4f152e,0x16,_0x51b0d0[0x3]),_0x22538f=_0x11ca68(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x877541,0x7,_0x51b0d0[0x4]),_0x187aeb=_0x11ca68(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x16855b,0xc,_0x51b0d0[0x5]),_0x401600=_0x11ca68(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x2099b5,0x11,_0x51b0d0[0x6]),_0x409e58=_0x11ca68(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x140fb6,0x16,_0x51b0d0[0x7]),_0x22538f=_0x11ca68(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x5e5a96,0x7,_0x51b0d0[0x8]),_0x187aeb=_0x11ca68(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x28620c,0xc,_0x51b0d0[0x9]),_0x401600=_0x11ca68(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x4e0a67,0x11,_0x51b0d0[0xa]),_0x409e58=_0x11ca68(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x97ce4,0x16,_0x51b0d0[0xb]),_0x22538f=_0x11ca68(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x25ef7d,0x7,_0x51b0d0[0xc]),_0x187aeb=_0x11ca68(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x1985be,0xc,_0x51b0d0[0xd]),_0x401600=_0x11ca68(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x24a26b,0x11,_0x51b0d0[0xe]),_0x409e58=_0x11ca68(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x5df0fd,0x16,_0x51b0d0[0xf]),_0x22538f=_0x2ed602(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x174071,0x5,_0x51b0d0[0x10]),_0x187aeb=_0x2ed602(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x2099b5,0x9,_0x51b0d0[0x11]),_0x401600=_0x2ed602(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x97ce4,0xe,_0x51b0d0[0x12]),_0x409e58=_0x2ed602(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x906761,0x14,_0x51b0d0[0x13]),_0x22538f=_0x2ed602(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x16855b,0x5,_0x51b0d0[0x14]),_0x187aeb=_0x2ed602(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x4e0a67,0x9,_0x51b0d0[0x15]),_0x401600=_0x2ed602(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x5df0fd,0xe,_0x51b0d0[0x16]),_0x409e58=_0x2ed602(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x877541,0x14,_0x51b0d0[0x17]),_0x22538f=_0x2ed602(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x28620c,0x5,_0x51b0d0[0x18]),_0x187aeb=_0x2ed602(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x24a26b,0x9,_0x51b0d0[0x19]),_0x401600=_0x2ed602(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x4f152e,0xe,_0x51b0d0[0x1a]),_0x409e58=_0x2ed602(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x5e5a96,0x14,_0x51b0d0[0x1b]),_0x22538f=_0x2ed602(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x1985be,0x5,_0x51b0d0[0x1c]),_0x187aeb=_0x2ed602(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x146a38,0x9,_0x51b0d0[0x1d]),_0x401600=_0x2ed602(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x140fb6,0xe,_0x51b0d0[0x1e]),_0x409e58=_0x2ed602(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x25ef7d,0x14,_0x51b0d0[0x1f]),_0x22538f=_0x24c1b3(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x16855b,0x4,_0x51b0d0[0x20]),_0x187aeb=_0x24c1b3(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x5e5a96,0xb,_0x51b0d0[0x21]),_0x401600=_0x24c1b3(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x97ce4,0x10,_0x51b0d0[0x22]),_0x409e58=_0x24c1b3(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x24a26b,0x17,_0x51b0d0[0x23]),_0x22538f=_0x24c1b3(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x174071,0x4,_0x51b0d0[0x24]),_0x187aeb=_0x24c1b3(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x877541,0xb,_0x51b0d0[0x25]),_0x401600=_0x24c1b3(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x140fb6,0x10,_0x51b0d0[0x26]),_0x409e58=_0x24c1b3(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x4e0a67,0x17,_0x51b0d0[0x27]),_0x22538f=_0x24c1b3(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x1985be,0x4,_0x51b0d0[0x28]),_0x187aeb=_0x24c1b3(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x906761,0xb,_0x51b0d0[0x29]),_0x401600=_0x24c1b3(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x4f152e,0x10,_0x51b0d0[0x2a]),_0x409e58=_0x24c1b3(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x2099b5,0x17,_0x51b0d0[0x2b]),_0x22538f=_0x24c1b3(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x28620c,0x4,_0x51b0d0[0x2c]),_0x187aeb=_0x24c1b3(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x25ef7d,0xb,_0x51b0d0[0x2d]),_0x401600=_0x24c1b3(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x5df0fd,0x10,_0x51b0d0[0x2e]),_0x409e58=_0x24c1b3(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x146a38,0x17,_0x51b0d0[0x2f]),_0x22538f=_0x1f5420(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x906761,0x6,_0x51b0d0[0x30]),_0x187aeb=_0x1f5420(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x140fb6,0xa,_0x51b0d0[0x31]),_0x401600=_0x1f5420(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x24a26b,0xf,_0x51b0d0[0x32]),_0x409e58=_0x1f5420(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x16855b,0x15,_0x51b0d0[0x33]),_0x22538f=_0x1f5420(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x25ef7d,0x6,_0x51b0d0[0x34]),_0x187aeb=_0x1f5420(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x4f152e,0xa,_0x51b0d0[0x35]),_0x401600=_0x1f5420(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x4e0a67,0xf,_0x51b0d0[0x36]),_0x409e58=_0x1f5420(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x174071,0x15,_0x51b0d0[0x37]),_0x22538f=_0x1f5420(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x5e5a96,0x6,_0x51b0d0[0x38]),_0x187aeb=_0x1f5420(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x5df0fd,0xa,_0x51b0d0[0x39]),_0x401600=_0x1f5420(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x2099b5,0xf,_0x51b0d0[0x3a]),_0x409e58=_0x1f5420(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x1985be,0x15,_0x51b0d0[0x3b]),_0x22538f=_0x1f5420(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x877541,0x6,_0x51b0d0[0x3c]),_0x187aeb=_0x1f5420(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x97ce4,0xa,_0x51b0d0[0x3d]),_0x401600=_0x1f5420(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x146a38,0xf,_0x51b0d0[0x3e]),_0x409e58=_0x1f5420(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x28620c,0x15,_0x51b0d0[0x3f]),_0x5e1f2a[0x0]=_0x5e1f2a[0x0]+_0x22538f|0x0,_0x5e1f2a[0x1]=_0x5e1f2a[0x1]+_0x409e58|0x0,_0x5e1f2a[0x2]=_0x5e1f2a[0x2]+_0x401600|0x0,_0x5e1f2a[0x3]=_0x5e1f2a[0x3]+_0x187aeb|0x0;},'_doFinalize':function(){const _0x32ecd8=_0x11b14b;var _0x265408=this[_0x32ecd8(0x3d7)],_0x24e133=_0x265408['words'],_0x5539db=this[_0x32ecd8(0x3ed)]*0x8,_0x48fa29=_0x265408[_0x32ecd8(0x231)]*0x8;_0x24e133[_0x48fa29>>>0x5]|=0x80<<0x18-_0x48fa29%0x20;var _0x5e6e5c=_0x466d20['floor'](_0x5539db/0x100000000),_0x14f072=_0x5539db;_0x24e133[(_0x48fa29+0x40>>>0x9<<0x4)+0xf]=(_0x5e6e5c<<0x8|_0x5e6e5c>>>0x18)&0xff00ff|(_0x5e6e5c<<0x18|_0x5e6e5c>>>0x8)&0xff00ff00,_0x24e133[(_0x48fa29+0x40>>>0x9<<0x4)+0xe]=(_0x14f072<<0x8|_0x14f072>>>0x18)&0xff00ff|(_0x14f072<<0x18|_0x14f072>>>0x8)&0xff00ff00,_0x265408['sigBytes']=(_0x24e133[_0x32ecd8(0xf0)]+0x1)*0x4,this[_0x32ecd8(0x1d5)]();for(var _0x37807b=this[_0x32ecd8(0x25e)],_0x2fc699=_0x37807b['words'],_0x2688ec=0x0;_0x2688ec<0x4;_0x2688ec++){var _0x475891=_0x2fc699[_0x2688ec];_0x2fc699[_0x2688ec]=(_0x475891<<0x8|_0x475891>>>0x18)&0xff00ff|(_0x475891<<0x18|_0x475891>>>0x8)&0xff00ff00;}return _0x37807b;},'clone':function(){const _0x191e34=_0x11b14b;var _0x56675e=_0x597c23['clone'][_0x191e34(0x3f0)](this);return _0x56675e[_0x191e34(0x25e)]=this[_0x191e34(0x25e)]['clone'](),_0x56675e;}});function _0x11ca68(_0x5acac0,_0x8b0596,_0x225937,_0x304530,_0x5eabbc,_0x419b70,_0x515193){var _0x1d52cd=_0x5acac0+(_0x8b0596&_0x225937|~_0x8b0596&_0x304530)+_0x5eabbc+_0x515193;return(_0x1d52cd<<_0x419b70|_0x1d52cd>>>0x20-_0x419b70)+_0x8b0596;}function _0x2ed602(_0x4ae4d0,_0x120db1,_0x2a2930,_0x5e9575,_0x58e208,_0x56ae87,_0x5bebb3){var _0x124f08=_0x4ae4d0+(_0x120db1&_0x5e9575|_0x2a2930&~_0x5e9575)+_0x58e208+_0x5bebb3;return(_0x124f08<<_0x56ae87|_0x124f08>>>0x20-_0x56ae87)+_0x120db1;}function _0x24c1b3(_0x5b02a2,_0x7aadf8,_0x32b927,_0x54711a,_0x21aab7,_0x5b34a4,_0x2e0178){var _0xcc1c64=_0x5b02a2+(_0x7aadf8^_0x32b927^_0x54711a)+_0x21aab7+_0x2e0178;return(_0xcc1c64<<_0x5b34a4|_0xcc1c64>>>0x20-_0x5b34a4)+_0x7aadf8;}function _0x1f5420(_0x57eee4,_0x24df88,_0x42243d,_0x5c744d,_0x405a6a,_0x5cc123,_0x29a33f){var _0x5be3c3=_0x57eee4+(_0x42243d^(_0x24df88|~_0x5c744d))+_0x405a6a+_0x29a33f;return(_0x5be3c3<<_0x5cc123|_0x5be3c3>>>0x20-_0x5cc123)+_0x24df88;}_0x3481ac[_0x11b14b(0x1fa)]=_0x597c23[_0x11b14b(0x1f1)](_0x439896),_0x3481ac[_0x11b14b(0x3ba)]=_0x597c23['_createHmacHelper'](_0x439896);}(Math),_0x535c60[_0x25032c(0x1fa)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},qt={'exports':{}},ri;function tc(){const _0x12ff6d=_0x45d431;return ri||(ri=0x1,function(_0x22ad98,_0x3f9914){(function(_0x420867,_0x3ded16){_0x22ad98['exports']=_0x3ded16(ue());}(Z,function(_0x1e01d4){const _0x1e5075=_0x5144;return(function(){const _0x372d54=_0x5144;var _0x21f48d=_0x1e01d4,_0x3c059e=_0x21f48d['lib'],_0x5dd96d=_0x3c059e[_0x372d54(0x489)],_0x399a5b=_0x3c059e[_0x372d54(0x1da)],_0x156436=_0x21f48d[_0x372d54(0x284)],_0x53c1c7=[],_0xe35cf3=_0x156436[_0x372d54(0x187)]=_0x399a5b[_0x372d54(0x2c3)]({'_doReset':function(){const _0x41a6d1=_0x372d54;this['_hash']=new _0x5dd96d[(_0x41a6d1(0x3de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x179c35,_0x5a4cb3){const _0x500c12=_0x372d54;for(var _0x4ccf75=this['_hash'][_0x500c12(0x14d)],_0x357ac0=_0x4ccf75[0x0],_0x3ef77d=_0x4ccf75[0x1],_0x17612d=_0x4ccf75[0x2],_0x78d7c4=_0x4ccf75[0x3],_0xbf2d00=_0x4ccf75[0x4],_0x5656ff=0x0;_0x5656ff<0x50;_0x5656ff++){if(_0x5656ff<0x10)_0x53c1c7[_0x5656ff]=_0x179c35[_0x5a4cb3+_0x5656ff]|0x0;else{var _0x5ae70f=_0x53c1c7[_0x5656ff-0x3]^_0x53c1c7[_0x5656ff-0x8]^_0x53c1c7[_0x5656ff-0xe]^_0x53c1c7[_0x5656ff-0x10];_0x53c1c7[_0x5656ff]=_0x5ae70f<<0x1|_0x5ae70f>>>0x1f;}var _0x2ccf6e=(_0x357ac0<<0x5|_0x357ac0>>>0x1b)+_0xbf2d00+_0x53c1c7[_0x5656ff];_0x5656ff<0x14?_0x2ccf6e+=(_0x3ef77d&_0x17612d|~_0x3ef77d&_0x78d7c4)+0x5a827999:_0x5656ff<0x28?_0x2ccf6e+=(_0x3ef77d^_0x17612d^_0x78d7c4)+0x6ed9eba1:_0x5656ff<0x3c?_0x2ccf6e+=(_0x3ef77d&_0x17612d|_0x3ef77d&_0x78d7c4|_0x17612d&_0x78d7c4)-0x70e44324:_0x2ccf6e+=(_0x3ef77d^_0x17612d^_0x78d7c4)-0x359d3e2a,_0xbf2d00=_0x78d7c4,_0x78d7c4=_0x17612d,_0x17612d=_0x3ef77d<<0x1e|_0x3ef77d>>>0x2,_0x3ef77d=_0x357ac0,_0x357ac0=_0x2ccf6e;}_0x4ccf75[0x0]=_0x4ccf75[0x0]+_0x357ac0|0x0,_0x4ccf75[0x1]=_0x4ccf75[0x1]+_0x3ef77d|0x0,_0x4ccf75[0x2]=_0x4ccf75[0x2]+_0x17612d|0x0,_0x4ccf75[0x3]=_0x4ccf75[0x3]+_0x78d7c4|0x0,_0x4ccf75[0x4]=_0x4ccf75[0x4]+_0xbf2d00|0x0;},'_doFinalize':function(){const _0x477aa8=_0x372d54;var _0x3c5475=this[_0x477aa8(0x3d7)],_0x2cf1c0=_0x3c5475[_0x477aa8(0x14d)],_0x33d3dd=this[_0x477aa8(0x3ed)]*0x8,_0x1aeae0=_0x3c5475['sigBytes']*0x8;return _0x2cf1c0[_0x1aeae0>>>0x5]|=0x80<<0x18-_0x1aeae0%0x20,_0x2cf1c0[(_0x1aeae0+0x40>>>0x9<<0x4)+0xe]=Math[_0x477aa8(0x379)](_0x33d3dd/0x100000000),_0x2cf1c0[(_0x1aeae0+0x40>>>0x9<<0x4)+0xf]=_0x33d3dd,_0x3c5475[_0x477aa8(0x231)]=_0x2cf1c0[_0x477aa8(0xf0)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x342325=_0x372d54;var _0xf3698c=_0x399a5b[_0x342325(0x1eb)][_0x342325(0x3f0)](this);return _0xf3698c[_0x342325(0x25e)]=this[_0x342325(0x25e)][_0x342325(0x1eb)](),_0xf3698c;}});_0x21f48d[_0x372d54(0x187)]=_0x399a5b[_0x372d54(0x1f1)](_0xe35cf3),_0x21f48d['HmacSHA1']=_0x399a5b[_0x372d54(0x232)](_0xe35cf3);}()),_0x1e01d4[_0x1e5075(0x187)];}));}(qt)),qt[_0x12ff6d(0x305)];}var Xt={'exports':{}},ni;function sc(){return ni||(ni=0x1,function(_0x3a5805,_0x15ad76){(function(_0x523459,_0x5159bc){const _0x2d5a5f=_0x5144;_0x3a5805[_0x2d5a5f(0x305)]=_0x5159bc(ue());}(Z,function(_0x18a589){(function(){const _0x5b5a34=_0x5144;var _0x153023=_0x18a589,_0x3c216b=_0x153023[_0x5b5a34(0x1cb)],_0x9ba9b5=_0x3c216b[_0x5b5a34(0x24b)],_0x3947f7=_0x153023[_0x5b5a34(0x46a)],_0x1a48fb=_0x3947f7[_0x5b5a34(0x2b6)],_0x38149b=_0x153023[_0x5b5a34(0x284)];_0x38149b[_0x5b5a34(0x42b)]=_0x9ba9b5[_0x5b5a34(0x2c3)]({'init':function(_0x2ee9db,_0x4b1818){const _0x1d2a2f=_0x5b5a34;_0x2ee9db=this[_0x1d2a2f(0x3bd)]=new _0x2ee9db[(_0x1d2a2f(0x3de))](),typeof _0x4b1818==_0x1d2a2f(0x101)&&(_0x4b1818=_0x1a48fb[_0x1d2a2f(0xf6)](_0x4b1818));var _0x2db5b9=_0x2ee9db[_0x1d2a2f(0x4d9)],_0x14272f=_0x2db5b9*0x4;_0x4b1818[_0x1d2a2f(0x231)]>_0x14272f&&(_0x4b1818=_0x2ee9db[_0x1d2a2f(0x120)](_0x4b1818)),_0x4b1818[_0x1d2a2f(0x23e)]();for(var _0xfbd209=this[_0x1d2a2f(0x13c)]=_0x4b1818[_0x1d2a2f(0x1eb)](),_0x4fe653=this[_0x1d2a2f(0x46e)]=_0x4b1818[_0x1d2a2f(0x1eb)](),_0x220665=_0xfbd209['words'],_0x3041b1=_0x4fe653['words'],_0x3d2c12=0x0;_0x3d2c12<_0x2db5b9;_0x3d2c12++)_0x220665[_0x3d2c12]^=0x5c5c5c5c,_0x3041b1[_0x3d2c12]^=0x36363636;_0xfbd209[_0x1d2a2f(0x231)]=_0x4fe653[_0x1d2a2f(0x231)]=_0x14272f,this[_0x1d2a2f(0x283)]();},'reset':function(){const _0x2c2710=_0x5b5a34;var _0x759ff0=this[_0x2c2710(0x3bd)];_0x759ff0[_0x2c2710(0x283)](),_0x759ff0['update'](this[_0x2c2710(0x46e)]);},'update':function(_0x1f7dd8){const _0x3ac513=_0x5b5a34;return this[_0x3ac513(0x3bd)]['update'](_0x1f7dd8),this;},'finalize':function(_0x2db64b){const _0x506c49=_0x5b5a34;var _0x37c05f=this[_0x506c49(0x3bd)],_0x3c1cff=_0x37c05f[_0x506c49(0x120)](_0x2db64b);_0x37c05f['reset']();var _0x3625ff=_0x37c05f[_0x506c49(0x120)](this[_0x506c49(0x13c)]['clone']()['concat'](_0x3c1cff));return _0x3625ff;}});}());}));}(Xt)),Xt['exports'];}var oi;function Xi(){const _0x3ff98c=_0x45d431;return oi||(oi=0x1,function(_0x1910c5,_0x55447d){(function(_0x370d3e,_0xcc77bc,_0xdc4516){const _0x1c776b=_0x5144;_0x1910c5[_0x1c776b(0x305)]=_0xcc77bc(ue(),tc(),sc());}(Z,function(_0x5420c4){const _0x15b2dd=_0x5144;return(function(){const _0x1e1f05=_0x5144;var _0x1cb876=_0x5420c4,_0x1793fb=_0x1cb876[_0x1e1f05(0x1cb)],_0x20f3c7=_0x1793fb[_0x1e1f05(0x24b)],_0x82a796=_0x1793fb['WordArray'],_0x5c5df4=_0x1cb876['algo'],_0x5793b2=_0x5c5df4[_0x1e1f05(0x1fa)],_0x241eb7=_0x5c5df4['EvpKDF']=_0x20f3c7[_0x1e1f05(0x2c3)]({'cfg':_0x20f3c7[_0x1e1f05(0x2c3)]({'keySize':0x80/0x20,'hasher':_0x5793b2,'iterations':0x1}),'init':function(_0x203ad8){const _0x8b176=_0x1e1f05;this[_0x8b176(0x177)]=this['cfg'][_0x8b176(0x2c3)](_0x203ad8);},'compute':function(_0x2f6e6c,_0x133858){const _0x312880=_0x1e1f05;for(var _0x27c909,_0xfdc41d=this[_0x312880(0x177)],_0x2beb75=_0xfdc41d[_0x312880(0x45f)][_0x312880(0x387)](),_0x158ff8=_0x82a796[_0x312880(0x387)](),_0x423256=_0x158ff8[_0x312880(0x14d)],_0x559427=_0xfdc41d['keySize'],_0x18fa11=_0xfdc41d[_0x312880(0x1d7)];_0x423256[_0x312880(0xf0)]<_0x559427;){_0x27c909&&_0x2beb75['update'](_0x27c909),_0x27c909=_0x2beb75['update'](_0x2f6e6c)[_0x312880(0x120)](_0x133858),_0x2beb75['reset']();for(var _0x490c9f=0x1;_0x490c9f<_0x18fa11;_0x490c9f++)_0x27c909=_0x2beb75[_0x312880(0x120)](_0x27c909),_0x2beb75[_0x312880(0x283)]();_0x158ff8[_0x312880(0x4b5)](_0x27c909);}return _0x158ff8[_0x312880(0x231)]=_0x559427*0x4,_0x158ff8;}});_0x1cb876[_0x1e1f05(0x189)]=function(_0x14fb2b,_0x973eda,_0x498b29){const _0x507968=_0x1e1f05;return _0x241eb7[_0x507968(0x387)](_0x498b29)[_0x507968(0x2dc)](_0x14fb2b,_0x973eda);};}()),_0x5420c4[_0x15b2dd(0x189)];}));}(zt)),zt[_0x3ff98c(0x305)];}var Jt={'exports':{}},ai;function Ji(){const _0x382ac6=_0x45d431;return ai||(ai=0x1,function(_0x12dc84,_0x5e3566){(function(_0x242f5e,_0x85cf3e,_0xdb6afd){const _0xd5d3c2=_0x5144;_0x12dc84[_0xd5d3c2(0x305)]=_0x85cf3e(ue(),Xi());}(Z,function(_0x5517d3){const _0x16dbb9=_0x5144;_0x5517d3[_0x16dbb9(0x1cb)][_0x16dbb9(0x1c5)]||function(_0x5bcb97){const _0x73c0ab=_0x16dbb9;var _0x43e74b=_0x5517d3,_0x148db6=_0x43e74b[_0x73c0ab(0x1cb)],_0x3434d7=_0x148db6['Base'],_0x4a3e49=_0x148db6['WordArray'],_0x3e1aa1=_0x148db6[_0x73c0ab(0x196)],_0x10a553=_0x43e74b[_0x73c0ab(0x46a)];_0x10a553[_0x73c0ab(0x2b6)];var _0x5a30ee=_0x10a553[_0x73c0ab(0x286)],_0x3c7cf1=_0x43e74b['algo'],_0x3aa51c=_0x3c7cf1[_0x73c0ab(0x189)],_0x193d08=_0x148db6[_0x73c0ab(0x1c5)]=_0x3e1aa1[_0x73c0ab(0x2c3)]({'cfg':_0x3434d7[_0x73c0ab(0x2c3)](),'createEncryptor':function(_0x2e9604,_0x3765a2){const _0x5e3b5e=_0x73c0ab;return this[_0x5e3b5e(0x387)](this['_ENC_XFORM_MODE'],_0x2e9604,_0x3765a2);},'createDecryptor':function(_0x5a198d,_0xdf6b7f){const _0x206b94=_0x73c0ab;return this[_0x206b94(0x387)](this[_0x206b94(0x124)],_0x5a198d,_0xdf6b7f);},'init':function(_0x32a06e,_0x17241f,_0x62519f){const _0xf0b15a=_0x73c0ab;this[_0xf0b15a(0x177)]=this['cfg'][_0xf0b15a(0x2c3)](_0x62519f),this[_0xf0b15a(0x4f1)]=_0x32a06e,this[_0xf0b15a(0x43b)]=_0x17241f,this[_0xf0b15a(0x283)]();},'reset':function(){const _0x2908a2=_0x73c0ab;_0x3e1aa1[_0x2908a2(0x283)][_0x2908a2(0x3f0)](this),this['_doReset']();},'process':function(_0x2e7861){const _0x1a8269=_0x73c0ab;return this[_0x1a8269(0x28a)](_0x2e7861),this[_0x1a8269(0x1d5)]();},'finalize':function(_0x4231a1){const _0x19f240=_0x73c0ab;_0x4231a1&&this['_append'](_0x4231a1);var _0x357905=this[_0x19f240(0x16c)]();return _0x357905;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x45a62a(_0xe4c94b){return typeof _0xe4c94b=='string'?_0x275791:_0x45f2a7;}return function(_0x101b58){return{'encrypt':function(_0x40d394,_0x25e3e0,_0x4078cd){return _0x45a62a(_0x25e3e0)['encrypt'](_0x101b58,_0x40d394,_0x25e3e0,_0x4078cd);},'decrypt':function(_0x1cf82c,_0xe624eb,_0x6c0a57){return _0x45a62a(_0xe624eb)['decrypt'](_0x101b58,_0x1cf82c,_0xe624eb,_0x6c0a57);}};};}())});_0x148db6[_0x73c0ab(0x317)]=_0x193d08[_0x73c0ab(0x2c3)]({'_doFinalize':function(){const _0x3911db=_0x73c0ab;var _0x29b09a=this[_0x3911db(0x1d5)](!0x0);return _0x29b09a;},'blockSize':0x1});var _0xee7eeb=_0x43e74b[_0x73c0ab(0x123)]={},_0x348bf1=_0x148db6['BlockCipherMode']=_0x3434d7[_0x73c0ab(0x2c3)]({'createEncryptor':function(_0x1de6b2,_0x262db3){const _0x88c9c4=_0x73c0ab;return this[_0x88c9c4(0x429)][_0x88c9c4(0x387)](_0x1de6b2,_0x262db3);},'createDecryptor':function(_0x47d523,_0x1f2673){const _0x130fc7=_0x73c0ab;return this[_0x130fc7(0x4b0)][_0x130fc7(0x387)](_0x47d523,_0x1f2673);},'init':function(_0x58688d,_0x193fc7){const _0x35a6e0=_0x73c0ab;this[_0x35a6e0(0x2d5)]=_0x58688d,this[_0x35a6e0(0x238)]=_0x193fc7;}}),_0x2fda97=_0xee7eeb[_0x73c0ab(0x206)]=(function(){const _0x5716d5=_0x73c0ab;var _0x29ce21=_0x348bf1['extend']();_0x29ce21[_0x5716d5(0x429)]=_0x29ce21['extend']({'processBlock':function(_0x5c0988,_0x2b6da9){const _0x1db229=_0x5716d5;var _0x44aab1=this[_0x1db229(0x2d5)],_0xc4ac91=_0x44aab1['blockSize'];_0x31bec3[_0x1db229(0x3f0)](this,_0x5c0988,_0x2b6da9,_0xc4ac91),_0x44aab1[_0x1db229(0x110)](_0x5c0988,_0x2b6da9),this[_0x1db229(0x41b)]=_0x5c0988[_0x1db229(0x3a1)](_0x2b6da9,_0x2b6da9+_0xc4ac91);}}),_0x29ce21['Decryptor']=_0x29ce21[_0x5716d5(0x2c3)]({'processBlock':function(_0x55131e,_0x28f7f8){const _0x446d27=_0x5716d5;var _0xee1398=this[_0x446d27(0x2d5)],_0x322166=_0xee1398[_0x446d27(0x4d9)],_0x2ab46e=_0x55131e[_0x446d27(0x3a1)](_0x28f7f8,_0x28f7f8+_0x322166);_0xee1398[_0x446d27(0x354)](_0x55131e,_0x28f7f8),_0x31bec3[_0x446d27(0x3f0)](this,_0x55131e,_0x28f7f8,_0x322166),this[_0x446d27(0x41b)]=_0x2ab46e;}});function _0x31bec3(_0x16a381,_0x1d6d8b,_0x3b926f){const _0x36ca66=_0x5716d5;var _0x54e900,_0x22a397=this[_0x36ca66(0x238)];_0x22a397?(_0x54e900=_0x22a397,this[_0x36ca66(0x238)]=_0x5bcb97):_0x54e900=this[_0x36ca66(0x41b)];for(var _0x3f61ab=0x0;_0x3f61ab<_0x3b926f;_0x3f61ab++)_0x16a381[_0x1d6d8b+_0x3f61ab]^=_0x54e900[_0x3f61ab];}return _0x29ce21;}()),_0x8f4007=_0x43e74b[_0x73c0ab(0x410)]={},_0x4c81f8=_0x8f4007[_0x73c0ab(0x3c9)]={'pad':function(_0x5af548,_0x1a54d4){const _0x407d41=_0x73c0ab;for(var _0x149141=_0x1a54d4*0x4,_0x14beea=_0x149141-_0x5af548['sigBytes']%_0x149141,_0x53af1c=_0x14beea<<0x18|_0x14beea<<0x10|_0x14beea<<0x8|_0x14beea,_0x10fe6c=[],_0x1aad66=0x0;_0x1aad66<_0x14beea;_0x1aad66+=0x4)_0x10fe6c[_0x407d41(0x182)](_0x53af1c);var _0x5ea0d9=_0x4a3e49[_0x407d41(0x387)](_0x10fe6c,_0x14beea);_0x5af548[_0x407d41(0x4b5)](_0x5ea0d9);},'unpad':function(_0x3df260){const _0x1088b0=_0x73c0ab;var _0x37067a=_0x3df260[_0x1088b0(0x14d)][_0x3df260[_0x1088b0(0x231)]-0x1>>>0x2]&0xff;_0x3df260[_0x1088b0(0x231)]-=_0x37067a;}};_0x148db6['BlockCipher']=_0x193d08[_0x73c0ab(0x2c3)]({'cfg':_0x193d08[_0x73c0ab(0x177)][_0x73c0ab(0x2c3)]({'mode':_0x2fda97,'padding':_0x4c81f8}),'reset':function(){const _0x55b04c=_0x73c0ab;var _0x2e3036;_0x193d08[_0x55b04c(0x283)][_0x55b04c(0x3f0)](this);var _0x50eddf=this[_0x55b04c(0x177)],_0xbc9c0c=_0x50eddf['iv'],_0xdef2ab=_0x50eddf[_0x55b04c(0x123)];this[_0x55b04c(0x4f1)]==this[_0x55b04c(0x248)]?_0x2e3036=_0xdef2ab[_0x55b04c(0x1ac)]:(_0x2e3036=_0xdef2ab[_0x55b04c(0x14b)],this['_minBufferSize']=0x1),this[_0x55b04c(0x3d0)]&&this[_0x55b04c(0x3d0)][_0x55b04c(0x458)]==_0x2e3036?this[_0x55b04c(0x3d0)][_0x55b04c(0x3de)](this,_0xbc9c0c&&_0xbc9c0c[_0x55b04c(0x14d)]):(this[_0x55b04c(0x3d0)]=_0x2e3036[_0x55b04c(0x3f0)](_0xdef2ab,this,_0xbc9c0c&&_0xbc9c0c['words']),this[_0x55b04c(0x3d0)][_0x55b04c(0x458)]=_0x2e3036);},'_doProcessBlock':function(_0x1f5da9,_0x559bef){const _0x423f71=_0x73c0ab;this[_0x423f71(0x3d0)][_0x423f71(0x327)](_0x1f5da9,_0x559bef);},'_doFinalize':function(){const _0x4f6ec9=_0x73c0ab;var _0xc30e3b,_0x1d5c0d=this[_0x4f6ec9(0x177)][_0x4f6ec9(0x4a6)];return this[_0x4f6ec9(0x4f1)]==this[_0x4f6ec9(0x248)]?(_0x1d5c0d[_0x4f6ec9(0x410)](this[_0x4f6ec9(0x3d7)],this[_0x4f6ec9(0x4d9)]),_0xc30e3b=this[_0x4f6ec9(0x1d5)](!0x0)):(_0xc30e3b=this[_0x4f6ec9(0x1d5)](!0x0),_0x1d5c0d[_0x4f6ec9(0x463)](_0xc30e3b)),_0xc30e3b;},'blockSize':0x80/0x20});var _0x59f6ea=_0x148db6['CipherParams']=_0x3434d7[_0x73c0ab(0x2c3)]({'init':function(_0x5538e2){this['mixIn'](_0x5538e2);},'toString':function(_0x365224){return(_0x365224||this['formatter'])['stringify'](this);}}),_0x145dd6=_0x43e74b[_0x73c0ab(0x3f8)]={},_0x4549dc=_0x145dd6[_0x73c0ab(0x15b)]={'stringify':function(_0x1453f7){const _0x3cee36=_0x73c0ab;var _0x3513c2,_0x2960a9=_0x1453f7[_0x3cee36(0x4fb)],_0x1a132d=_0x1453f7['salt'];return _0x1a132d?_0x3513c2=_0x4a3e49[_0x3cee36(0x387)]([0x53616c74,0x65645f5f])['concat'](_0x1a132d)[_0x3cee36(0x4b5)](_0x2960a9):_0x3513c2=_0x2960a9,_0x3513c2['toString'](_0x5a30ee);},'parse':function(_0x455a96){const _0x1a6758=_0x73c0ab;var _0x2d50f9,_0x56c2b3=_0x5a30ee['parse'](_0x455a96),_0x53009d=_0x56c2b3[_0x1a6758(0x14d)];return _0x53009d[0x0]==0x53616c74&&_0x53009d[0x1]==0x65645f5f&&(_0x2d50f9=_0x4a3e49[_0x1a6758(0x387)](_0x53009d[_0x1a6758(0x3a1)](0x2,0x4)),_0x53009d[_0x1a6758(0x227)](0x0,0x4),_0x56c2b3[_0x1a6758(0x231)]-=0x10),_0x59f6ea[_0x1a6758(0x387)]({'ciphertext':_0x56c2b3,'salt':_0x2d50f9});}},_0x45f2a7=_0x148db6[_0x73c0ab(0x26c)]=_0x3434d7['extend']({'cfg':_0x3434d7[_0x73c0ab(0x2c3)]({'format':_0x4549dc}),'encrypt':function(_0x5a0f46,_0x2a82a1,_0x40781c,_0x10db0d){const _0xc1d187=_0x73c0ab;_0x10db0d=this[_0xc1d187(0x177)]['extend'](_0x10db0d);var _0x28a20c=_0x5a0f46[_0xc1d187(0x1ac)](_0x40781c,_0x10db0d),_0x55f574=_0x28a20c['finalize'](_0x2a82a1),_0x515cc0=_0x28a20c['cfg'];return _0x59f6ea[_0xc1d187(0x387)]({'ciphertext':_0x55f574,'key':_0x40781c,'iv':_0x515cc0['iv'],'algorithm':_0x5a0f46,'mode':_0x515cc0[_0xc1d187(0x123)],'padding':_0x515cc0[_0xc1d187(0x4a6)],'blockSize':_0x5a0f46[_0xc1d187(0x4d9)],'formatter':_0x10db0d['format']});},'decrypt':function(_0x27cf5b,_0x742719,_0x2537ef,_0x3b0e6b){const _0x4a8871=_0x73c0ab;_0x3b0e6b=this['cfg'][_0x4a8871(0x2c3)](_0x3b0e6b),_0x742719=this[_0x4a8871(0x3b2)](_0x742719,_0x3b0e6b[_0x4a8871(0x3f8)]);var _0x56233a=_0x27cf5b[_0x4a8871(0x14b)](_0x2537ef,_0x3b0e6b)['finalize'](_0x742719[_0x4a8871(0x4fb)]);return _0x56233a;},'_parse':function(_0x381e32,_0x40ba55){const _0x3c145e=_0x73c0ab;return typeof _0x381e32=='string'?_0x40ba55[_0x3c145e(0xf6)](_0x381e32,this):_0x381e32;}}),_0x15c620=_0x43e74b[_0x73c0ab(0x257)]={},_0x478ba2=_0x15c620[_0x73c0ab(0x15b)]={'execute':function(_0xadc0cc,_0x37bce6,_0x3a0a7b,_0x5a7670,_0x299e25){const _0x428d62=_0x73c0ab;if(_0x5a7670||(_0x5a7670=_0x4a3e49['random'](0x40/0x8)),_0x299e25)var _0x456c69=_0x3aa51c[_0x428d62(0x387)]({'keySize':_0x37bce6+_0x3a0a7b,'hasher':_0x299e25})[_0x428d62(0x2dc)](_0xadc0cc,_0x5a7670);else var _0x456c69=_0x3aa51c['create']({'keySize':_0x37bce6+_0x3a0a7b})[_0x428d62(0x2dc)](_0xadc0cc,_0x5a7670);var _0x347529=_0x4a3e49['create'](_0x456c69['words'][_0x428d62(0x3a1)](_0x37bce6),_0x3a0a7b*0x4);return _0x456c69[_0x428d62(0x231)]=_0x37bce6*0x4,_0x59f6ea[_0x428d62(0x387)]({'key':_0x456c69,'iv':_0x347529,'salt':_0x5a7670});}},_0x275791=_0x148db6[_0x73c0ab(0x2f4)]=_0x45f2a7['extend']({'cfg':_0x45f2a7[_0x73c0ab(0x177)][_0x73c0ab(0x2c3)]({'kdf':_0x478ba2}),'encrypt':function(_0x15b492,_0x5f3356,_0x34cfca,_0x2a1470){const _0x5d5f7b=_0x73c0ab;_0x2a1470=this['cfg']['extend'](_0x2a1470);var _0x599e67=_0x2a1470[_0x5d5f7b(0x257)][_0x5d5f7b(0x35d)](_0x34cfca,_0x15b492[_0x5d5f7b(0x3c8)],_0x15b492['ivSize'],_0x2a1470[_0x5d5f7b(0x186)],_0x2a1470[_0x5d5f7b(0x45f)]);_0x2a1470['iv']=_0x599e67['iv'];var _0x4b4b61=_0x45f2a7[_0x5d5f7b(0x4a4)]['call'](this,_0x15b492,_0x5f3356,_0x599e67['key'],_0x2a1470);return _0x4b4b61[_0x5d5f7b(0x260)](_0x599e67),_0x4b4b61;},'decrypt':function(_0x5dc0d9,_0x35800d,_0x3f2b25,_0x861694){const _0x7de0fd=_0x73c0ab;_0x861694=this[_0x7de0fd(0x177)][_0x7de0fd(0x2c3)](_0x861694),_0x35800d=this['_parse'](_0x35800d,_0x861694[_0x7de0fd(0x3f8)]);var _0x3761c7=_0x861694[_0x7de0fd(0x257)][_0x7de0fd(0x35d)](_0x3f2b25,_0x5dc0d9[_0x7de0fd(0x3c8)],_0x5dc0d9[_0x7de0fd(0x36f)],_0x35800d[_0x7de0fd(0x186)],_0x861694[_0x7de0fd(0x45f)]);_0x861694['iv']=_0x3761c7['iv'];var _0x5f398f=_0x45f2a7['decrypt'][_0x7de0fd(0x3f0)](this,_0x5dc0d9,_0x35800d,_0x3761c7[_0x7de0fd(0x295)],_0x861694);return _0x5f398f;}});}();}));}(Jt)),Jt[_0x382ac6(0x305)];}(function(_0xaba68e,_0x2165cd){(function(_0x426fa8,_0x4840f0,_0x4898c8){_0xaba68e['exports']=_0x4840f0(ue(),qi(),ec(),Xi(),Ji());}(Z,function(_0x1177fd){const _0x2bfb5d=_0x5144;return(function(){const _0x237285=_0x5144;var _0x2c8282=_0x1177fd,_0x232018=_0x2c8282['lib'],_0x380b3a=_0x232018[_0x237285(0x45b)],_0x2d7761=_0x2c8282[_0x237285(0x284)],_0x20aaf5=[],_0x4bc75f=[],_0x3ee898=[],_0xe4866d=[],_0x9ce8de=[],_0x237c1d=[],_0xdd96a4=[],_0x21bce4=[],_0x533cff=[],_0x22f3b5=[];(function(){for(var _0x22049f=[],_0x17ed1b=0x0;_0x17ed1b<0x100;_0x17ed1b++)_0x17ed1b<0x80?_0x22049f[_0x17ed1b]=_0x17ed1b<<0x1:_0x22049f[_0x17ed1b]=_0x17ed1b<<0x1^0x11b;for(var _0xab73a1=0x0,_0x422ee1=0x0,_0x17ed1b=0x0;_0x17ed1b<0x100;_0x17ed1b++){var _0x3b5fa8=_0x422ee1^_0x422ee1<<0x1^_0x422ee1<<0x2^_0x422ee1<<0x3^_0x422ee1<<0x4;_0x3b5fa8=_0x3b5fa8>>>0x8^_0x3b5fa8&0xff^0x63,_0x20aaf5[_0xab73a1]=_0x3b5fa8,_0x4bc75f[_0x3b5fa8]=_0xab73a1;var _0x5a647b=_0x22049f[_0xab73a1],_0x178678=_0x22049f[_0x5a647b],_0x389aa9=_0x22049f[_0x178678],_0x9d8c4b=_0x22049f[_0x3b5fa8]*0x101^_0x3b5fa8*0x1010100;_0x3ee898[_0xab73a1]=_0x9d8c4b<<0x18|_0x9d8c4b>>>0x8,_0xe4866d[_0xab73a1]=_0x9d8c4b<<0x10|_0x9d8c4b>>>0x10,_0x9ce8de[_0xab73a1]=_0x9d8c4b<<0x8|_0x9d8c4b>>>0x18,_0x237c1d[_0xab73a1]=_0x9d8c4b;var _0x9d8c4b=_0x389aa9*0x1010101^_0x178678*0x10001^_0x5a647b*0x101^_0xab73a1*0x1010100;_0xdd96a4[_0x3b5fa8]=_0x9d8c4b<<0x18|_0x9d8c4b>>>0x8,_0x21bce4[_0x3b5fa8]=_0x9d8c4b<<0x10|_0x9d8c4b>>>0x10,_0x533cff[_0x3b5fa8]=_0x9d8c4b<<0x8|_0x9d8c4b>>>0x18,_0x22f3b5[_0x3b5fa8]=_0x9d8c4b,_0xab73a1?(_0xab73a1=_0x5a647b^_0x22049f[_0x22049f[_0x22049f[_0x389aa9^_0x5a647b]]],_0x422ee1^=_0x22049f[_0x22049f[_0x422ee1]]):_0xab73a1=_0x422ee1=0x1;}}());var _0x54e2cf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x44eb3f=_0x2d7761[_0x237285(0x10f)]=_0x380b3a['extend']({'_doReset':function(){const _0x38fad0=_0x237285;var _0x2d201f;if(!(this['_nRounds']&&this[_0x38fad0(0x30d)]===this[_0x38fad0(0x43b)])){for(var _0x134efe=this[_0x38fad0(0x30d)]=this[_0x38fad0(0x43b)],_0x3f4665=_0x134efe['words'],_0x6b3399=_0x134efe[_0x38fad0(0x231)]/0x4,_0x117e02=this[_0x38fad0(0x448)]=_0x6b3399+0x6,_0x21347d=(_0x117e02+0x1)*0x4,_0x52213c=this['_keySchedule']=[],_0x436817=0x0;_0x436817<_0x21347d;_0x436817++)_0x436817<_0x6b3399?_0x52213c[_0x436817]=_0x3f4665[_0x436817]:(_0x2d201f=_0x52213c[_0x436817-0x1],_0x436817%_0x6b3399?_0x6b3399>0x6&&_0x436817%_0x6b3399==0x4&&(_0x2d201f=_0x20aaf5[_0x2d201f>>>0x18]<<0x18|_0x20aaf5[_0x2d201f>>>0x10&0xff]<<0x10|_0x20aaf5[_0x2d201f>>>0x8&0xff]<<0x8|_0x20aaf5[_0x2d201f&0xff]):(_0x2d201f=_0x2d201f<<0x8|_0x2d201f>>>0x18,_0x2d201f=_0x20aaf5[_0x2d201f>>>0x18]<<0x18|_0x20aaf5[_0x2d201f>>>0x10&0xff]<<0x10|_0x20aaf5[_0x2d201f>>>0x8&0xff]<<0x8|_0x20aaf5[_0x2d201f&0xff],_0x2d201f^=_0x54e2cf[_0x436817/_0x6b3399|0x0]<<0x18),_0x52213c[_0x436817]=_0x52213c[_0x436817-_0x6b3399]^_0x2d201f);for(var _0x1d16e3=this[_0x38fad0(0x3e3)]=[],_0x4c4036=0x0;_0x4c4036<_0x21347d;_0x4c4036++){var _0x436817=_0x21347d-_0x4c4036;if(_0x4c4036%0x4)var _0x2d201f=_0x52213c[_0x436817];else var _0x2d201f=_0x52213c[_0x436817-0x4];_0x4c4036<0x4||_0x436817<=0x4?_0x1d16e3[_0x4c4036]=_0x2d201f:_0x1d16e3[_0x4c4036]=_0xdd96a4[_0x20aaf5[_0x2d201f>>>0x18]]^_0x21bce4[_0x20aaf5[_0x2d201f>>>0x10&0xff]]^_0x533cff[_0x20aaf5[_0x2d201f>>>0x8&0xff]]^_0x22f3b5[_0x20aaf5[_0x2d201f&0xff]];}}},'encryptBlock':function(_0x14fbac,_0x25ef4b){const _0x589668=_0x237285;this[_0x589668(0x28c)](_0x14fbac,_0x25ef4b,this['_keySchedule'],_0x3ee898,_0xe4866d,_0x9ce8de,_0x237c1d,_0x20aaf5);},'decryptBlock':function(_0x22bbc6,_0x5af795){const _0xd04c19=_0x237285;var _0x38d08c=_0x22bbc6[_0x5af795+0x1];_0x22bbc6[_0x5af795+0x1]=_0x22bbc6[_0x5af795+0x3],_0x22bbc6[_0x5af795+0x3]=_0x38d08c,this[_0xd04c19(0x28c)](_0x22bbc6,_0x5af795,this[_0xd04c19(0x3e3)],_0xdd96a4,_0x21bce4,_0x533cff,_0x22f3b5,_0x4bc75f);var _0x38d08c=_0x22bbc6[_0x5af795+0x1];_0x22bbc6[_0x5af795+0x1]=_0x22bbc6[_0x5af795+0x3],_0x22bbc6[_0x5af795+0x3]=_0x38d08c;},'_doCryptBlock':function(_0x2650b3,_0x443572,_0x312762,_0x1d3ce4,_0x952b3c,_0x45bc29,_0x4c0f78,_0x34d665){const _0x3b6259=_0x237285;for(var _0x471fcc=this[_0x3b6259(0x448)],_0x4f75d1=_0x2650b3[_0x443572]^_0x312762[0x0],_0x2eaf23=_0x2650b3[_0x443572+0x1]^_0x312762[0x1],_0x3ae2ba=_0x2650b3[_0x443572+0x2]^_0x312762[0x2],_0x34a1f4=_0x2650b3[_0x443572+0x3]^_0x312762[0x3],_0x257cf6=0x4,_0x158ff9=0x1;_0x158ff9<_0x471fcc;_0x158ff9++){var _0x59d4f2=_0x1d3ce4[_0x4f75d1>>>0x18]^_0x952b3c[_0x2eaf23>>>0x10&0xff]^_0x45bc29[_0x3ae2ba>>>0x8&0xff]^_0x4c0f78[_0x34a1f4&0xff]^_0x312762[_0x257cf6++],_0x251dac=_0x1d3ce4[_0x2eaf23>>>0x18]^_0x952b3c[_0x3ae2ba>>>0x10&0xff]^_0x45bc29[_0x34a1f4>>>0x8&0xff]^_0x4c0f78[_0x4f75d1&0xff]^_0x312762[_0x257cf6++],_0x577087=_0x1d3ce4[_0x3ae2ba>>>0x18]^_0x952b3c[_0x34a1f4>>>0x10&0xff]^_0x45bc29[_0x4f75d1>>>0x8&0xff]^_0x4c0f78[_0x2eaf23&0xff]^_0x312762[_0x257cf6++],_0x1633b3=_0x1d3ce4[_0x34a1f4>>>0x18]^_0x952b3c[_0x4f75d1>>>0x10&0xff]^_0x45bc29[_0x2eaf23>>>0x8&0xff]^_0x4c0f78[_0x3ae2ba&0xff]^_0x312762[_0x257cf6++];_0x4f75d1=_0x59d4f2,_0x2eaf23=_0x251dac,_0x3ae2ba=_0x577087,_0x34a1f4=_0x1633b3;}var _0x59d4f2=(_0x34d665[_0x4f75d1>>>0x18]<<0x18|_0x34d665[_0x2eaf23>>>0x10&0xff]<<0x10|_0x34d665[_0x3ae2ba>>>0x8&0xff]<<0x8|_0x34d665[_0x34a1f4&0xff])^_0x312762[_0x257cf6++],_0x251dac=(_0x34d665[_0x2eaf23>>>0x18]<<0x18|_0x34d665[_0x3ae2ba>>>0x10&0xff]<<0x10|_0x34d665[_0x34a1f4>>>0x8&0xff]<<0x8|_0x34d665[_0x4f75d1&0xff])^_0x312762[_0x257cf6++],_0x577087=(_0x34d665[_0x3ae2ba>>>0x18]<<0x18|_0x34d665[_0x34a1f4>>>0x10&0xff]<<0x10|_0x34d665[_0x4f75d1>>>0x8&0xff]<<0x8|_0x34d665[_0x2eaf23&0xff])^_0x312762[_0x257cf6++],_0x1633b3=(_0x34d665[_0x34a1f4>>>0x18]<<0x18|_0x34d665[_0x4f75d1>>>0x10&0xff]<<0x10|_0x34d665[_0x2eaf23>>>0x8&0xff]<<0x8|_0x34d665[_0x3ae2ba&0xff])^_0x312762[_0x257cf6++];_0x2650b3[_0x443572]=_0x59d4f2,_0x2650b3[_0x443572+0x1]=_0x251dac,_0x2650b3[_0x443572+0x2]=_0x577087,_0x2650b3[_0x443572+0x3]=_0x1633b3;},'keySize':0x100/0x20});_0x2c8282[_0x237285(0x10f)]=_0x380b3a[_0x237285(0x1f1)](_0x44eb3f);}()),_0x1177fd[_0x2bfb5d(0x10f)];}));}(zi));var ic=zi['exports'];const rc=at(ic);var nc=qi();const ci=at(nc);var Zi={'exports':{}};(function(_0xd7d53e,_0x5e529e){(function(_0x3eb034,_0x3bf20c){const _0x10e3a4=_0x5144;_0xd7d53e[_0x10e3a4(0x305)]=_0x3bf20c(ue());}(Z,function(_0x197c73){const _0x1b8003=_0x5144;return _0x197c73[_0x1b8003(0x46a)][_0x1b8003(0x2b6)];}));}(Zi));var oc=Zi[_0x45d431(0x305)];const ac=at(oc);var Qi={'exports':{}};(function(_0x539361,_0x543c4f){(function(_0x56e7db,_0x27e746){const _0x41ae74=_0x5144;_0x539361[_0x41ae74(0x305)]=_0x27e746(ue());}(Z,function(_0x420755){const _0x590ad7=_0x5144;return(function(){const _0x41fba0=_0x5144;if(typeof ArrayBuffer==_0x41fba0(0x40b)){var _0x2fc1eb=_0x420755,_0x1464b0=_0x2fc1eb[_0x41fba0(0x1cb)],_0x15c601=_0x1464b0[_0x41fba0(0x489)],_0xcea8f5=_0x15c601[_0x41fba0(0x3de)],_0x5117f6=_0x15c601[_0x41fba0(0x3de)]=function(_0x30e132){const _0x34ae4e=_0x41fba0;if(_0x30e132 instanceof ArrayBuffer&&(_0x30e132=new Uint8Array(_0x30e132)),(_0x30e132 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x30e132 instanceof Uint8ClampedArray||_0x30e132 instanceof Int16Array||_0x30e132 instanceof Uint16Array||_0x30e132 instanceof Int32Array||_0x30e132 instanceof Uint32Array||_0x30e132 instanceof Float32Array||_0x30e132 instanceof Float64Array)&&(_0x30e132=new Uint8Array(_0x30e132[_0x34ae4e(0x103)],_0x30e132[_0x34ae4e(0x461)],_0x30e132[_0x34ae4e(0x495)])),_0x30e132 instanceof Uint8Array){for(var _0x47cfd0=_0x30e132['byteLength'],_0x59617a=[],_0x44fee2=0x0;_0x44fee2<_0x47cfd0;_0x44fee2++)_0x59617a[_0x44fee2>>>0x2]|=_0x30e132[_0x44fee2]<<0x18-_0x44fee2%0x4*0x8;_0xcea8f5[_0x34ae4e(0x3f0)](this,_0x59617a,_0x47cfd0);}else _0xcea8f5['apply'](this,arguments);};_0x5117f6['prototype']=_0x15c601;}}()),_0x420755[_0x590ad7(0x1cb)][_0x590ad7(0x489)];}));}(Qi));var cc=Qi[_0x45d431(0x305)];const hc=at(cc);var er={'exports':{}};(function(_0xc3fd21,_0x57c7ab){(function(_0x5deb01,_0x4ff7d3,_0x5e9a2d){const _0x440360=_0x5144;_0xc3fd21[_0x440360(0x305)]=_0x4ff7d3(ue(),Ji());}(Z,function(_0xbc9371){const _0x153264=_0x5144;return _0xbc9371[_0x153264(0x410)][_0x153264(0x31a)]={'pad':function(){},'unpad':function(){}},_0xbc9371[_0x153264(0x410)][_0x153264(0x31a)];}));}(er));var lc=er[_0x45d431(0x305)];function _0x31e6(){const _0x3bd96a=['getAllMembers','icon','enc','1323128gINfNa','objectID','_loadDoc','_iKey','params','_imageIoService','has','_transitionLocked','_unitStatus','joinEvent','?size=','pipe','getImage','_collabSessionService','_startCollaboration','endColumn','AWAITING_WITH_PENDING','HEARTBEAT','_awaitingChangeset','_transformUndoredo','addObjects','every','_onRemoteRejected','_getAPIPrefixPath','onTransformIME','saveSnapshot','_getCtorByUniverType','getInterceptPoints','_onConflict','_http','WordArray','sheetId','CONFLICT','COMMENT_UPDATE','onCommandExecuted','fillText','createSocket','_event$','off-line-single_clip0_910_343','updateCursorEvent','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','getOwnPropertyDescriptor','byteLength','isArray','_executeRemoteChangeset','reconnect','3667422vJNyPB','transformMutationsWithChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','location','red300','univer-online','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_heartbeatTimer','_colorIndex','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/oidc/authpage','encrypt','startTime','padding','_candidateSocket','/universer-api/authz','newValue','snapshotServerUrl','_onFetchMissResult','[OfflineState]:\x20received\x20changeset.','APPLY_NON_SEQUENTIAL_REVISION','telemetry\x20info\x20is\x20not\x20initialized','Error\x20on\x20receiving\x20event','Decryptor','_tryEnsureSocket','_scheduleClearOtherTimer','_collaborationTimeoutTimer','TOO_MANY_REQUESTS','concat','requireSession','_listenToOnlineEvent','_sheetTransformSelectionsService','_compressMutationService','InsertRowCommandId','popstate','lineTo','_getAnchorBounding','Fragment','on-line-single_clip0_910_349','_labelPosition','onCommentUpdate','fetch_missing','InsertRangeMoveRightCommandId','gold400','objectType','_state','registerOnClose','univer-online-status-icon','members','objectActions','responseType','5177265uJgikO','RECT','_createSocketURL','repeat','textRanges','_redoStacks','_acknowledgedAwaitingChangeset','_initCommandExecutedListener','list','/universer-api/snapshot','_disableEditing','doc.mutation.rich-text-editing','_clearTimeoutTimer','blockSize','AUTHZ_URL_KEY','_imageSourceCache','roomMembers$','forEach','Error','[OfflineState]:\x20received\x20acknowledgement.','UNIVER_UNKNOWN','univerjs-icon\x20univerjs-icon-','_id','collabWebSocketUrl','_context','_initUnitPermissionChange','enableLocalCache','_substituteRedoStack','headers','_toggleOnline','requestParams','onSyncEditingCollabCursor','_type','subscribeEvent','permissionRejEvent','object','getCurrentSelections','_xformMode','JOIN','x-univer-host','onTransformRemoteChangesetByIMECache','event$','_updateCollabCursors','roles','defineProperty','getFocusedUnit','collab-text-range-','ciphertext','mutations','fromCollab','collaboration-session-retry','encodeURIComponent','[CollaborationState]:\x20apply\x20error!','_drawRectRange','LEAVE','getActiveSheet','_joinRoom','registerBeforeClose','failed\x20to\x20apply\x20missed\x20changesets!','getOwnPropertySymbols','json','getCurrent','awaitingChangeset','createInstance','_clearHeartbeatTimer','getCollabEntity$','_snapshotService','_refreshCollabCursors','_startSheetCollabCursor','all','top','_handleJoinEvent','length','number','submit\x20changeset\x20error!','code','_changesetReqId','UPDATE_CURSOR','parse','/collaborator','reduce','addClipboardHook','closeSession','$super','setConfig','onRemoteChangeset','_syncEditingCollabCursor','_members','[CollaborationUndoRedoService]','string','transformMutation','buffer','ALREADY_EXISTS','getCurrentRevOfUnit','_color','_docSyncEditingCollabCursorService','_change$','disposeUnit','drawWith','fill','getMember','fromCharCode','conflict','AES','encryptBlock','_cachedData','conflict.content','randomBytes','getUnit','_createInitialStateImpl','origin','toString','type','_onMessage','2tcltIA','next','editing\x20status\x20changed\x20to','_urlService','message$','_getUndoStack','finalize','907657lZnkHG','_httpService','mode','_DEC_XFORM_MODE','_replayCachedMutations','_cursorInfo$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_getMergeRange','interceptor','verdancy600','HttpExport','1em','CHANGESET_SHOULD_RETRY','_saveCache','HEARTBEAT_TIMEOUT','href','HELLO','_transformStack','UNKNOWN_CODE','HEADER_MENU','_drawTextRange','collaboratorID','_logService','_minBufferSize','_waitCount','pluginName','ws://127.0.0.1:8000/universer-api/comb/connect','_oKey','_localStorageService','exhaustSavingTask','_tryReconnect','socket\x20open.','COLLAB_WEB_SOCKET_URL','getUnitStatus$','_hovered','default','getUndoRedoMutationParamsCache','url(#off-line-single_clip0_910_343)','getImageSourceCache','beginPath','_session','_ensureSubject','createDecryptor','/rev/','words','subunit','selection','sessionStatus','height','_entityInit$','className','_removeRoom','_textBubble','SUBMIT_CHANGESET','_getSheetObject','offline','_saveTaskMap','isActive','OpenSSL','capture','target','close','labelPosition','session','[UniverCollaborationClientPlugin]','isEditing','currentSkeleton$','_name','join','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','assignAColorForMemberID','_configService','permission.title','_updateURLWithCurrentState','assign','_doFinalize','_telemetryService','VIEW_MAIN','collabStatus.syncing','_onRemoteChangeset','moveTo','\x0aCurrent:\x20','FAIL','awaiting','complete','show','cfg','ENSURE_SNAPSHOT_EXECUTION','memberID','collabCursorState$','setParam','open$','_remoteChangesetQueue','_onOffline','clearInterval','updateOfflineData','_clearLocalCache','push','getStateCache','unshift','use','salt','SHA1','LIVESHARE_REQUEST_HOST','EvpKDF','_queuedRemoteChangesets','USERS_ENTER','_shouldReportTelemetry','_registerDependencies','_handleEvent','jiqing500','_getSessionTicket','_setupSubUnitSync','_lastPointer','AWAITING','_docTransformStateCacheService','save\x20fail\x20reason\x20is\x20','BufferedBlockAlgorithm','fetchThroughInterceptors','_commandService','_removeCollabCursors','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getRandomValues','_incrementRevisionNumber','m2Prime','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','bottom','_showConflictNotification','downloadEndpointUrl','_anchorDot','_throwTelemetryCollaborationNewChangeset','NEW_CHANGESETS','APPLY_REVISION_CONFILICT','_refRangeService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','workbook','session.will-retry','undoState','getMemberID','createEncryptor','_resendTimer','_drawAnchor','_updateLocalCache','_createHandler','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','YUUMI_SUBSCRIPTION_NOT_FOUND','children','LICENSE_EXPORT_SIZE_EXCEEDED','width','RECV','makeDirty','tag','unitID','resourceIDs','getSheetBlock','asObservable','transformChangesets','&to=','m1Prime','_onConnectionFailed','rng','onMouseMove','collabStatus.fetchMiss','image/gif','Cipher','userID','SNAPSHOT_HAS_BEEN_REMOVED','_revisionService','random','M0\x200H16V16H0z','lib','max','registerRefRange','_send','compose','_syncEditingCollabCursorService','clear','stopTime','onMissingChangesets','onload','_process','__esModule','iterations','collabSubmitChangesetUrl','UNDEFINED','Hasher','_selfUnitIDs','generateRandomId','evenodd','38549390sfXcJa','collaboration.closeRoom','[PendingState]:\x20unhandled\x20univer\x20type:\x20','imageSourceType','_range','/universer-api/user/session-ticket','loadSheet','_timeoutTimer','localeService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','synced','_instanceService','collabStatus.conflict','clone','_initRequestHeader','_toggleOffline','setTimeout','getParam','getSheetId','_createHelper','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','transformStateCache','_HTTPService','_retryCount','_retryConnectingTimer','_pendingMutations','_substituteUndoStack','c1Prime','MD5','_handleLeaveEvent','map','_fetchMissChangesets','_online','_clearCollaborationTimeoutTimer','univer-pro.collaboration-client-socket-service','COMPRESS_MUTATION_APPLY','_listenToOfflineEvent','DeleteRangeMoveLeftCommandId','_hideTimer','getValue','CBC','SHOULD_CLOSE_CONN','status$','getTypeOfUnitDisposed$','_localeService','_init','add','ceil','USERS_LEAVE','disposeWithMe','blue400','getResourcesRequest','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_COLLABORATION_CLIENT_PLUGIN','csAckEvent','getRangePointData','override','close$','Unknown\x20user','setShapeProps','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','batchAllowed','&source=','APPLY_DUPLICATED','FETCH_MISS','_updateLocalCursor','with','UNKNOWN_CMD','[PendingState]:\x20received\x20acknowledgement.','symbol','saveOfflineData','initWorkbookPermissionChange','restore','splice','onSendChangeset','[SyncedState]:\x20received\x20rejection.','_onLocalMutation','_transformIMECache','readAsDataURL','src','getUnitType','confirm','RemoveColCommandId','sigBytes','_createHmacHelper','_commentUpdate$','IDLE','permission.content','enableAuthServer','_changesetSessionId','_iv','_sheetSkeletonManagerService','dispose','univer-online-status','\x20to\x20','subscribe','clamp','/allowed','[FetchMissState]','_getSnapshotAPIPrefix','[DataLoaderController]','LIVESHARE_OPERATION','\x20-\x20','onStarting','/fetchmissing?from=','_isPermissionRej','_ENC_XFORM_MODE','TEXT','_startTelemetryCollaborationNewChangeset','Base','liveShareNewHost','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','isPermissionRej','_stopTelemetryCollaborationNewChangeset','resend','socket$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_scheduleTimestamp','commentUpdateEvent','reverse','getOffsetConfig','kdf','UNIVER_DOC','_sendingTimer','incrementRevOfUnit','black','1271535CIILll','_onCombEvent','_hash','getLatestCsReqIdBySid','mixIn','catch','_draw','RETRY_CONNECTING_MAX_COUNT','_initMergeInterceptor','_hover','color','_themeService','COMPRESS_MUTATION_SEND','BASE64','_disabled','clipPath','SerializableCipher','FromArray','uploadFileServerUrl','hasOwnProperty','getRelativeToViewportCoord','_docClipboardService','history','eventID','closePath','currentTheme$','_clearRedo','revision','clearTimeout','_renderManagerService','data','substr','InsertRangeMoveDownCommandId','defs','substring','commentUpdate$','[OfflineState]:\x20received\x20rejection.','session.collaboration-timeout','_onRefRangeChange','reset','algo','_status$','Base64','APPLY_REJECT','readInt32LE','/universer-api/snapshot/','_append','sheetID','_doCryptBlock','collaboration_new_changeset','NO_OTHER_CLIENTS_EDITING','univer-offline','getCollabEntity','PENDING','round','authzUrl','_cursor','key','get','FileId','charAt','error','_transformStateCache','[SyncedState]:\x20received\x20acknowledgement.','_scheduleCollaborationTimeoutTimer','APPLY_PERMISSION_DENIED','removeMember','NOT_FOUND','removeParam','not_collab','bind','_scheduleSaving','_roomMembers$','visibilityState','collaboration-client.config','randomUUID','ref','apply','redoState','image/jpg','listCollaborators','fillStyle','JOIN_ROOM_FULL','cursorInfo','LIVESHARE_TERMINATE','transformUndoRedo','_initStatusComponent','_collaborationController','jsx','auth.needGotoLoginAlert','Utf8','collab-text-anchor-','getCurrentUser','text','_replaceFileID','_transformService','_clearUndo','onTransformChange$','_onConnectionOpen','updatePermissionPoint','selections','_assignedColors','toggleOnline','extend','_eventUnsubscribe','values','SYNCED','/object/','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','patch','getUnitId','POST','collaboration.single-unit.warning','DEFAULT_FILE_NAME','some','sendChangesetTimeout','file','hidden','_initCloseConn','0\x200\x2017\x2016','[CollaborationSessionService]:\x20socket\x20error','_cipher','encode','measureText','_userManagerService','rgba(255,\x20255,\x20255,\x200.01)','idSuffix','storage','compute','_transformRemoteChangesetByStateCache','find','_createSocket','_rescheduleHeartbeat','_backgroundColor','_resendTimeout','result','collabStatus.notCollab','_univerInstanceService','fetchMiss','entries','transformRemoteChangeset','onlineStatusTitle','_sendHeartbeat','LIVESHARE_NEW_HOST','_collabCursorState$','_createInitialState','CHANGESET_REJ','UNRECOGNIZED','_removeClearOtherTimer','UNAUTHENTICATED','_exhaustRemoteChangesetQueue','InsertColCommandId','PasswordBasedCipher','SEND_CHANGESET_TIMEOUT','getCollabCursors$','_cursorShapes','loadOfflineData','/new_changes','_schedule','source','fetchMissingChangesets','on-line-single','replace','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HEARTBEAT_INTERVAL','_beforeCloseService','_anchor','backgroundColor','state','exports','LICENSE_DISTRO_REJECTED','onlyLocal','c2Prime','colorChannel1','_socketReady','LICENSE_IMPORT_SIZE_EXCEEDED','LIVESHARE_FETCH_OPERATIONS','_keyPriorReset','_waitForHeartbeatResponse','Latin1','unitId','put','xlink:href','toLowerCase','jsxs','wsSessionTicketUrl','replaceState','StreamCipher','_onRemoteRetry','indexOf','NoPadding','ACTIVE_UNIT_EVENT_CHANNEL','_transformRemoteChangesetByIMECache','INTERNAL_ERROR','DeleteRangeMoveUpCommandId','_unitOnClients','getRenderById','_messageService','hovered','LOGIN_URL_KEY','onTransformSelections','_docTransformIMECacheService','toggleOffline','processBlock','awaiting_with_pending','setAlpha','_onUserLeave','_submitChangeset','5391054wEBfmq','application/json','div','/role','urlChange$','originalMeta','saveChangeset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getAncestorScale','_sessions','toRgbString','rev','image/jpeg','focused$','sid','_startDocCollabCursor','UNIVER_SHEET','_transformPreviousActiveRange','_roomMembers','UNIVER_SLIDE','_onRecvEvent','getTime','_localCacheService','SNAPSHOT_INVALID_SNAPSHOT','MSG_FOR_ERROR','/block/','_shapes','_doReset','_getAPIPrefix','onRemoteRej','column','change$','setItem','registerRenderModule','now','_initResize','subject','_unlockTransition','_resendWithTimeout','replaceDocRanges','decryptBlock','findNodePositionByCharIndex','saveImage','error$','_commentService','stringify','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[CollaborationSessionService]','_reverseMap','execute','univer-online-status-title','ERROR_EXCEED_SIZE','executeCommand','pending','_loadSheet','displayName','unit','image/bmp','MUTATION','trim','getSheetBySheetId','objects','_getLoginPath','OnLineSingle','_telemetryInfo','getMergeData','MoveRangeCommandId','ivSize','PERSON','Could\x20not\x20dynamically\x20require\x20\x22','HttpImport','name','PSEUDO_FETCH_MISSING_RESULT','ERROR_IMAGE','NOT_COLLAB','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','activeSheet$','floor','Univer','INGEST','leaveEvent','path','range','uni.network.url-service','getDeserializedSheetBlock','INVALID_ARGUMENT','RemoveRowCommandId','unknown','_sender','defaultProps','onTransformRemoteChangesetByStateCache','create','loginUrlKey','size','_updateStatus','then','&assign=','ERROR_IMAGE_TYPE','0\x200\x2016\x2016','_getScale','visibilitychange','debug','getItem','filter','onRemoteRetry','_map','transformSelections','_registerRenderDependencies','_socket$','_getSendChangesetTimeout','_handler','loadDoc','registerHTTPInterceptor','_checkMissing','_onJoinRoomEvent','_docSkeletonManagerService','allowed','slice','_snapshotServerService','SNAPSHOT_URL_KEY','/-/object/-/batch_allowed','saveSheetBlock','_onCursorDelete','retryConnectingInterval','split','#FFF','deepClone','syncEditingCollabCursor','charCodeAt','copyFileMeta','_initDependencies','_getSignURL','_getCurrentRevision','subUnitId','_parse','getTypeOfUnitAdded$','actions','sessionTicket','joinRsp','font','CHANGESET_ACK','CONNECTOR_DATA_TOO_LARGE','HmacMD5','collaboration-client.offline-data-not-saved','8UBAtQx','_hasher','_initEventListeners','_setupBeforeClosingHandler','reject','_handleHover','_docTransformSelectionsService','startRow','setShowComponents','SNAPSHOT_SERVER_URL_KEY','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_getDownloadEndpointURL','keySize','Pkcs7','post','defIds','__Key__','deleteCollaborator','body','_colorAssignService','_mode','title','baseRev','whenReady','_collaborationSessionService','react.element','online','_data','PERMISSION_DENIED','onPointerLeave$','current','transformIMECache','searchParams','FETCH_MISSING','init','cmd','_lockTransition','currentColor','OffLineSingle','_invKeySchedule','getConfig','UPDATE_PERMISSION_OBJ','_render','avatar','_collaborationPaused','_decreaseWaiting','delete','set','_scheduleHeartbeat','_nDataBytes','_docStateChangeManagerService','createCollaborator','call','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionStatus$','_memberService','min','getCellPositionByOffset','onPointerEnter$','_injector','format','from','35dLfXYd','addObject','_socketService','crypto','COMPLETION_FINISHED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getDocRanges','_onCursorUpdate','_permissionService','COLLAB_SUBMIT_CHANGESET_URL','onRendered','includes','unsubscribe','connection\x20error','roomMembers','_applyRemoteChangeset','_transformUndoRedoStack','function','OFFLINE','_uiPartsService','UniverIcon','Hex','pad','PERMISSION_REJ','_socket','hide','onRemoteAck','_getRedoStack','_transformHistoryAndStateStack','_ws','_scene','prototype','ranges','_prevBlock','_updateState','conflict.title','svg','_collabCursorController','/unit/','pushState','send','JOIN_ROOM_NOT_ALLOWED','arc','dispose$','collab-rect-range-','_unitID','_initStatusListener','Encryptor','YUUMI_RATE_OVER_LIMIT','HMAC','setUndoRedoMutationParamsCache','updateMember','_cursors','fillRule','appendMutation','withCredentials','_config','univer-pro.collaboration-client.single-active-unit-service','_clearOtherTimers','newCsEvent','People','cursorInfo$','unitId\x20is\x20not\x20found','none','_clearScheduledTask','_key','JOINING','setActiveRange','_state$','#fff','OTHER_CLIENTS_EDITING','...','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','LICENSE_MAX_UNITS_EXCEEDED','_updateSubUnitFromURLParams','attrs','_sendHeartbeatTimer','session.room-full','_nRounds','row','_onUserJoin','/object','enableOfflineEditing','_undoRedoService','for','_entities','_socketMessageSubscription','UnitEmbedded','_sessionStatus$','/universer-api/comb','_handleHeartbeatEvent','Warning','status','routeKey','__creator','reqId','[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.','BlockCipher','onMissedChangesetFetched','Undefined','YUUMI_UNABLE_LOAD_URL','hasher','skeleton','byteOffset','_singleActiveUnitService','unpad','ONLINE','signUrlServerUrl','_notificationService','onTransformState'];_0x31e6=function(){return _0x3bd96a;};return _0x31e6();}const _c=at(lc);function uc(_0x5260c4,_0x2782a5){const _0x42bc10=_0x45d431,_0x81bcb9=_0x2782a5-_0x5260c4[_0x42bc10(0xf0)]%_0x2782a5,_0x4a8b8b=String['fromCharCode'](_0x81bcb9)[_0x42bc10(0x4cf)](_0x81bcb9);return _0x5260c4+_0x4a8b8b;}function dc(_0xec1c8e,_0x3dfdab){const _0x3ab8f5=_0x45d431,_0x230afc=hc[_0x3ab8f5(0x1c9)](0x10),_0x507d4a=uc(_0xec1c8e,0x10),_0x24c81c=rc[_0x3ab8f5(0x4a4)](ac[_0x3ab8f5(0xf6)](_0x507d4a),ci[_0x3ab8f5(0xf6)](_0x3dfdab),{'iv':_0x230afc,'padding':_c});return _0x230afc['concat'](_0x24c81c[_0x3ab8f5(0x4fb)])[_0x3ab8f5(0x117)](ci);}function fc(){const _0x62db45=_0x45d431,_0x3d9a97=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x62db45(0x3cc)];if(_0x3d9a97){const _0xd294da={'time':Math[_0x62db45(0x379)](Date[_0x62db45(0x34e)]()/0x3e8),'domain':location['hostname']};return dc(JSON[_0x62db45(0x359)](_0xd294da),_0x3d9a97);}}var vc=Object['defineProperty'],mc=Object[_0x45d431(0x494)],pc=(_0x28c8bf,_0x321cf7,_0x12e038,_0x41a771)=>{const _0xe2432f=_0x45d431;for(var _0x2f6c46=_0x41a771>0x1?void 0x0:_0x41a771?mc(_0x321cf7,_0x12e038):_0x321cf7,_0x3e0b3a=_0x28c8bf[_0xe2432f(0xf0)]-0x1,_0x2cf1a0;_0x3e0b3a>=0x0;_0x3e0b3a--)(_0x2cf1a0=_0x28c8bf[_0x3e0b3a])&&(_0x2f6c46=(_0x41a771?_0x2cf1a0(_0x321cf7,_0x12e038,_0x2f6c46):_0x2cf1a0(_0x2f6c46))||_0x2f6c46);return _0x41a771&&_0x2f6c46&&vc(_0x321cf7,_0x12e038,_0x2f6c46),_0x2f6c46;},gc=(_0xd173cf,_0x42ee8d)=>(_0x9de783,_0x423a14)=>_0x42ee8d(_0x9de783,_0x423a14,_0xd173cf);let Rt=class{constructor(_0x2ab5ac){const _0x44ba82=_0x45d431;this[_0x44ba82(0x122)]=_0x2ab5ac,this[_0x44ba82(0x1ec)]();}[_0x45d431(0x1ec)](){const _0x300129=_0x45d431;this[_0x300129(0x122)]['registerHTTPInterceptor']({'interceptor':(_0x25098c,_0x4efc35)=>{const _0x5c817f=_0x300129,_0x4d18ce=_0x25098c[_0x5c817f(0x4e8)],_0x163b3f=fc();return _0x163b3f&&_0x4d18ce[_0x5c817f(0x3eb)](_0x5c817f(0x4f3),_0x163b3f),_0x4efc35(_0x25098c);}});}};Rt=pc([gc(0x0,_0x35b6a2(_0xa83f3b))],Rt);var Sc=Object[_0x45d431(0x4f8)],Ic=Object[_0x45d431(0x494)],Cc=(_0x1fd861,_0x2dc5f4,_0x480b33,_0x16e635)=>{for(var _0x36be9a=_0x16e635>0x1?void 0x0:_0x16e635?Ic(_0x2dc5f4,_0x480b33):_0x2dc5f4,_0x19dbd8=_0x1fd861['length']-0x1,_0x1dd04a;_0x19dbd8>=0x0;_0x19dbd8--)(_0x1dd04a=_0x1fd861[_0x19dbd8])&&(_0x36be9a=(_0x16e635?_0x1dd04a(_0x2dc5f4,_0x480b33,_0x36be9a):_0x1dd04a(_0x36be9a))||_0x36be9a);return _0x16e635&&_0x36be9a&&Sc(_0x2dc5f4,_0x480b33,_0x36be9a),_0x36be9a;},Zt=(_0x35ea51,_0x242555)=>(_0x20cfa5,_0x174b4b)=>_0x242555(_0x20cfa5,_0x174b4b,_0x35ea51);const Ec=['image/png',_0x45d431(0x338),_0x45d431(0x2ab),_0x45d431(0x1c4),_0x45d431(0x365)],bc=0x5*0x400*0x400,Tc=_0x45d431(0x1e7),Rc='/universer-api/stream/file/upload',Oc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',yc='/universer-api/file/{fileID}/sign-url';let _s=class{constructor(_0x5a4d83,_0x481459,_0x418858){const _0x17498f=_0x45d431;g(this,_0x17498f(0x139),0x0),g(this,_0x17498f(0x108),new _0x54ef1d()),g(this,_0x17498f(0x34b),this[_0x17498f(0x108)]),g(this,_0x17498f(0x4db),new Map()),(this[_0x17498f(0x122)]=_0x5a4d83,this[_0x17498f(0x168)]=_0x481459,this[_0x17498f(0x2e5)]=_0x418858);}['setWaitCount'](_0x16254c){const _0xad0d2a=_0x45d431;this[_0xad0d2a(0x139)]=_0x16254c,this[_0xad0d2a(0x108)]['next'](_0x16254c);}[_0x45d431(0x147)](_0x899c0f,_0xe2bb95){const _0x2a8bf2=_0x45d431;if(_0xe2bb95===_0x56a221[_0x2a8bf2(0x269)]){const _0x126bd3=new Image();return _0x126bd3[_0x2a8bf2(0x22d)]=_0x899c0f,_0x126bd3;}return this[_0x2a8bf2(0x4db)]['get'](_0x899c0f);}['addImageSourceCache'](_0x226089,_0x19dd6e,_0x1a0454){const _0x360bf5=_0x45d431;_0x19dd6e===_0x56a221[_0x360bf5(0x269)]||_0x1a0454==null||this['_imageSourceCache']['set'](_0x226089,_0x1a0454);}async[_0x45d431(0x477)](_0x473a1e){const _0x150be2=_0x45d431;try{const _0x49a636=this[_0x150be2(0x2ba)](this[_0x150be2(0x3af)](),''+_0x473a1e),_0x1bd931=(await this[_0x150be2(0x122)][_0x150be2(0x296)](_0x49a636))[_0x150be2(0x3ce)];if(_0x1bd931[_0x150be2(0x299)]&&_0x1bd931[_0x150be2(0x299)][_0x150be2(0xf3)]===Ui['OK']){const _0x63094c=new URL(_0x1bd931['url'],this[_0x150be2(0x3c7)]())[_0x150be2(0x117)]();return Promise['resolve'](_0x63094c);}return Promise[_0x150be2(0x3c0)](_0x1bd931[_0x150be2(0x299)]);}catch(_0x21d796){return Promise[_0x150be2(0x3c0)](_0x21d796);}}async[_0x45d431(0x356)](_0x18e35f){const _0x31df80=_0x45d431;let _0x246926='';if(!Ec[_0x31df80(0x405)](_0x18e35f[_0x31df80(0x118)]))return this[_0x31df80(0x3e9)](),Promise[_0x31df80(0x3c0)](new Error(_0x34f929[_0x31df80(0x38d)]));if(_0x18e35f[_0x31df80(0x389)]>bc)return this[_0x31df80(0x3e9)](),Promise[_0x31df80(0x3c0)](new Error(_0x34f929[_0x31df80(0x35f)]));try{const _0x3c5016=new FormData();_0x3c5016['append'](_0x31df80(0x2d0),_0x18e35f);const _0x17c1b9=this['_univerInstanceService']['getFocusedUnit'](),_0x40569e=_0x17c1b9==null?void 0x0:_0x17c1b9[_0x31df80(0x2ca)]();if(!_0x40569e)throw new Error(_0x31df80(0x438));const _0x1b7cb6=this['_getUploadFileURL']()+_0x31df80(0x475)+_0x18e35f[_0x31df80(0x389)][_0x31df80(0x117)]()+_0x31df80(0x21c)+Ni[_0x31df80(0x451)]+_0x31df80(0x38c)+encodeURIComponent(_0x40569e),_0x20b32f=await(await fetch(_0x1b7cb6,{'method':'POST','body':_0x3c5016}))[_0x31df80(0x508)]();if(typeof _0x20b32f[_0x31df80(0x297)]!='string')return this[_0x31df80(0x3e9)](),Promise[_0x31df80(0x3c0)](new Error(_0x34f929[_0x31df80(0x375)]));_0x246926=_0x20b32f[_0x31df80(0x297)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x34f929['ERROR_IMAGE']));}return new Promise((_0x3505ff,_0x6de1b)=>{const _0x3cbda9=_0x31df80,_0x42336d=new FileReader();_0x42336d[_0x3cbda9(0x22c)](_0x18e35f),_0x42336d[_0x3cbda9(0x1d4)]=_0x58d36e=>{const _0x32f9f7=_0x3cbda9;var _0x25a917;const _0x41f345=(_0x25a917=_0x58d36e[_0x32f9f7(0x15d)])==null?void 0x0:_0x25a917[_0x32f9f7(0x2e3)];if(_0x41f345==null){this[_0x32f9f7(0x3e9)](),_0x6de1b(new Error(_0x34f929['ERROR_IMAGE']));return;}const _0x418a9a=_0x8b0f12['generateRandomId'](0x6);_0x3505ff({'imageId':_0x418a9a,'imageSourceType':_0x56a221['UUID'],'source':_0x246926,'base64Cache':_0x41f345,'status':_0x34f929['SUCCUSS']}),this[_0x32f9f7(0x3e9)]();};});}['_getUploadFileURL'](){const _0x4156dd=_0x45d431;var _0x1acece,_0x597b5b;const _0x1a65cd=this[_0x4156dd(0x168)][_0x4156dd(0x3e4)](Tc),_0x3ae66d=this[_0x4156dd(0x168)]['getConfig'](ee);return(_0x597b5b=(_0x1acece=_0x3ae66d==null?void 0x0:_0x3ae66d[_0x4156dd(0x26e)])!=null?_0x1acece:_0x1a65cd)!=null?_0x597b5b:Rc;}[_0x45d431(0x3af)](){const _0x3c0b18=_0x45d431;var _0x3a735c,_0x146399;const _0x4ddd2c=this[_0x3c0b18(0x168)][_0x3c0b18(0x3e4)](Oc),_0x4a1fc3=this[_0x3c0b18(0x168)][_0x3c0b18(0x3e4)](ee);return(_0x146399=(_0x3a735c=_0x4a1fc3==null?void 0x0:_0x4a1fc3[_0x3c0b18(0x465)])!=null?_0x3a735c:_0x4ddd2c)!=null?_0x146399:yc;}['_getDownloadEndpointURL'](){const _0x4a749b=_0x45d431;var _0x269f6f;const _0x4a7d19=this['_configService'][_0x4a749b(0x3e4)](ee);return(_0x269f6f=_0x4a7d19==null?void 0x0:_0x4a7d19[_0x4a749b(0x1a1)])!=null?_0x269f6f:location[_0x4a749b(0x116)];}[_0x45d431(0x2ba)](_0x1aff7d,_0x50e2e5){const _0x530bed=_0x45d431;return _0x1aff7d[_0x530bed(0x2fe)]('{fileID}',_0x50e2e5);}['_decreaseWaiting'](){const _0x273621=_0x45d431;this[_0x273621(0x139)]-=0x1,this['_change$'][_0x273621(0x11b)](this[_0x273621(0x139)]);}};_s=Cc([Zt(0x0,_0x35b6a2(_0xa83f3b)),Zt(0x1,_0x360b05),Zt(0x2,_0x35b6a2(_0x47d1bd))],_s);var wc=Object[_0x45d431(0x4f8)],Dc=Object['getOwnPropertyDescriptor'],Pc=(_0x52a2ff,_0x5a06de,_0xb5030,_0x215431)=>{const _0x3e089b=_0x45d431;for(var _0x386ff6=_0x215431>0x1?void 0x0:_0x215431?Dc(_0x5a06de,_0xb5030):_0x5a06de,_0x3e7cf7=_0x52a2ff[_0x3e089b(0xf0)]-0x1,_0x55ac80;_0x3e7cf7>=0x0;_0x3e7cf7--)(_0x55ac80=_0x52a2ff[_0x3e7cf7])&&(_0x386ff6=(_0x215431?_0x55ac80(_0x5a06de,_0xb5030,_0x386ff6):_0x55ac80(_0x386ff6))||_0x386ff6);return _0x215431&&_0x386ff6&&wc(_0x5a06de,_0xb5030,_0x386ff6),_0x386ff6;},hi=(_0x4754ed,_0x2e76fb)=>(_0xf7dabb,_0x3dc182)=>_0x2e76fb(_0xf7dabb,_0x3dc182,_0x4754ed);const Uc='/universer-api/authz';let us=class{constructor(_0x1f06da,_0x5dd0e0){const _0xc21f88=_0x45d431;this[_0xc21f88(0x168)]=_0x1f06da,this['_HTTPService']=_0x5dd0e0;}['_getAPIPrefixPath'](){const _0xc978fa=_0x45d431;var _0x1766f6,_0x2c5b56;const _0x3eb82f=this[_0xc978fa(0x168)]['getConfig'](Ki),_0x1b3c17=this[_0xc978fa(0x168)]['getConfig'](ee);return(_0x2c5b56=(_0x1766f6=_0x1b3c17==null?void 0x0:_0x1b3c17[_0xc978fa(0x293)])!=null?_0x1766f6:_0x3eb82f)!=null?_0x2c5b56:Uc;}async[_0x45d431(0x4d4)](_0x24a1eb){const _0x3d38ab=_0x45d431,_0x74e849=this['_getAPIPrefixPath']()+_0x3d38ab(0xf7);return{'list':[{'title':_0x3d38ab(0x436),'mentions':(await this[_0x3d38ab(0x1f4)][_0x3d38ab(0x296)](_0x74e849,{'params':{'objectID':_0x24a1eb['unitId'],'unitID':_0x24a1eb[_0x3d38ab(0x310)]}}))[_0x3d38ab(0x3ce)]['collaborators']['map'](_0x368b74=>({'objectId':_0x368b74['id'],'name':_0x368b74['subject'][_0x3d38ab(0x373)],'metadata':{'icon':_0x368b74[_0x3d38ab(0x350)][_0x3d38ab(0x3e7)]},'label':_0x368b74[_0x3d38ab(0x350)][_0x3d38ab(0x373)],'objectType':_0x4c6b7e['PERSON']})),'metadata':{},'type':_0x4c6b7e[_0x3d38ab(0x370)]}]};}};us=Pc([hi(0x0,_0x35b6a2(_0x360b05)),hi(0x1,_0x35b6a2(_0xa83f3b))],us);var Nc=Object[_0x45d431(0x4f8)],Ac=Object[_0x45d431(0x494)],Mc=(_0x2de5e0,_0x2521cc,_0x5db7fb,_0x1de1d3)=>{for(var _0x173d95=_0x1de1d3>0x1?void 0x0:_0x1de1d3?Ac(_0x2521cc,_0x5db7fb):_0x2521cc,_0x49c6e7=_0x2de5e0['length']-0x1,_0x530e83;_0x49c6e7>=0x0;_0x49c6e7--)(_0x530e83=_0x2de5e0[_0x49c6e7])&&(_0x173d95=(_0x1de1d3?_0x530e83(_0x2521cc,_0x5db7fb,_0x173d95):_0x530e83(_0x173d95))||_0x173d95);return _0x1de1d3&&_0x173d95&&Nc(_0x2521cc,_0x5db7fb,_0x173d95),_0x173d95;},Qe=(_0x20a845,_0x28ea94)=>(_0x246e95,_0x5543b7)=>_0x28ea94(_0x246e95,_0x5543b7,_0x20a845);let Ot=class extends _0x46da4c{constructor(_0x2f92e7,_0x4bba37,_0x1631d6,_0x2edd8c,_0x4f75d5){const _0xabbc31=_0x45d431;super(),this['_injector']=_0x2f92e7,this[_0xabbc31(0x2e5)]=_0x4bba37,this['_permissionService']=_0x1631d6,this[_0xabbc31(0x3d4)]=_0x2edd8c,this['_localeService']=_0x4f75d5,this[_0xabbc31(0x4e5)](),this[_0xabbc31(0x2d2)]();}[_0x45d431(0x2d2)](){const _0x37a9d0=_0x45d431,_0x5fcb1f=async _0x20f5f2=>{const _0x29bf58=_0x5144;(await this['_collaborationSessionService']['requireSession'](_0x20f5f2))['event$']['pipe'](_0x4cca68(_0x3cce93=>_0x3cce93['eventID']===_0x5caf5f[_0x29bf58(0x207)]),_0x57b5d2(this[_0x29bf58(0x425)]))['subscribe'](_0x4b8165=>{const _0x4c7583=_0x29bf58,_0x114c34=_0x4b8165,{reason:_0x1b6630}=_0x114c34['data'];this['_injector'][_0x4c7583(0x296)](_0x454792)['show']({'type':_0x3067da[_0x4c7583(0x4de)],'content':this[_0x4c7583(0x20a)]['t'](_0x4c7583(0x1df))+'('+_0x1b6630+')'}),this['_permissionService'][_0x4c7583(0x2bf)](new _0x2043e8(_0x20f5f2)['id'],!0x1),this[_0x4c7583(0x3d4)][_0x4c7583(0xfa)](_0x20f5f2);});};_0x35c956(this[_0x37a9d0(0x2e5)][_0x37a9d0(0x3b3)](_0x51d633[_0x37a9d0(0x33c)]),this[_0x37a9d0(0x2e5)][_0x37a9d0(0x3b3)](_0x51d633[_0x37a9d0(0x258)]))[_0x37a9d0(0x476)](_0x29f8ca(_0x64846e=>_0x64846e[_0x37a9d0(0x2ca)]()),_0x4cca68(_0x1347e6=>!_0x472f87(_0x1347e6)),_0x57b5d2(this[_0x37a9d0(0x425)]))[_0x37a9d0(0x23d)](_0x4fa767=>{_0x5fcb1f(_0x4fa767);});}['_initUnitPermissionChange'](){const _0x111231=_0x45d431,_0x40af7b=async _0x466667=>{const _0x404182=_0x5144;(await this[_0x404182(0x3d4)][_0x404182(0x4b6)](_0x466667))[_0x404182(0x4f5)]['pipe'](_0x4cca68(_0x4c3b80=>_0x4c3b80['eventID']===_0x5caf5f['UPDATE_PERMISSION_OBJ']),_0x57b5d2(this[_0x404182(0x425)]))[_0x404182(0x23d)](_0x10cc79=>{const _0x5b466a=_0x404182,_0x55d485=_0x10cc79,{objectId:_0x4ecdae}=_0x55d485['data'],_0x377a7c=this[_0x5b466a(0x3f7)][_0x5b466a(0x296)](_0xbf0601);_0x4ecdae===_0x466667?_0x377a7c[_0x5b466a(0x225)](_0x466667):_0x377a7c['refreshPermission'](_0x466667,_0x4ecdae);});};_0x35c956(this[_0x111231(0x2e5)][_0x111231(0x3b3)](_0x51d633[_0x111231(0x33c)]),this[_0x111231(0x2e5)][_0x111231(0x3b3)](_0x51d633[_0x111231(0x258)]))[_0x111231(0x476)](_0x29f8ca(_0x566b0b=>_0x566b0b[_0x111231(0x2ca)]()),_0x4cca68(_0x2ad1e2=>!_0x472f87(_0x2ad1e2)),_0x57b5d2(this['dispose$']))['subscribe'](_0x43c8ba=>{_0x40af7b(_0x43c8ba);});}};Ot=Mc([Qe(0x0,_0x35b6a2(_0xaaab92)),Qe(0x1,_0x47d1bd),Qe(0x2,_0x30807c),Qe(0x3,_0x35b6a2(xe)),Qe(0x4,_0x35b6a2(_0x31b970))],Ot);var xc=Object[_0x45d431(0x4f8)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x14ebce,_0x4fb6a3,_0x370e61,_0x5ea1ff)=>{const _0x2ee204=_0x45d431;for(var _0x4b5465=_0x5ea1ff>0x1?void 0x0:_0x5ea1ff?Lc(_0x4fb6a3,_0x370e61):_0x4fb6a3,_0x941174=_0x14ebce[_0x2ee204(0xf0)]-0x1,_0x1184a7;_0x941174>=0x0;_0x941174--)(_0x1184a7=_0x14ebce[_0x941174])&&(_0x4b5465=(_0x5ea1ff?_0x1184a7(_0x4fb6a3,_0x370e61,_0x4b5465):_0x1184a7(_0x4b5465))||_0x4b5465);return _0x5ea1ff&&_0x4b5465&&xc(_0x4fb6a3,_0x370e61,_0x4b5465),_0x4b5465;},li=(_0x9f341d,_0x4edf8d)=>(_0x13e7cf,_0x4dd880)=>_0x4edf8d(_0x13e7cf,_0x4dd880,_0x9f341d);let ds=class{constructor(_0x461f0f,_0x15520e){const _0x156814=_0x45d431;this[_0x156814(0x168)]=_0x461f0f,this['_httpService']=_0x15520e;}async['getUnitOnRev'](_0x276c7f,_0xe8bf9){const _0x4cf036=_0x45d431;var _0x1a6d34;const {unitID:_0x192b7a,type:_0x964e74,revision:_0x370e60=0x0}=_0xe8bf9,_0x26e82a=this[_0x4cf036(0x241)]()+'/'+_0x964e74+_0x4cf036(0x420)+_0x192b7a+_0x4cf036(0x14c)+_0x370e60,_0x2646db=(await this[_0x4cf036(0x122)][_0x4cf036(0x296)](_0x26e82a))[_0x4cf036(0x3ce)],_0x4e7cf8=(_0x1a6d34=_0x2646db['snapshot'])==null?void 0x0:_0x1a6d34[_0x4cf036(0x1a8)];if(_0x4e7cf8){const _0x4a4014=_0x4e7cf8==null?void 0x0:_0x4e7cf8[_0x4cf036(0x331)],_0x578294=_0x5247d7['encode'](_0x27e1c3(_0x4a4014));_0x4e7cf8[_0x4cf036(0x331)]=_0x578294,Object[_0x4cf036(0x2e7)](_0x4e7cf8['sheets'])[_0x4cf036(0x4dd)](([,_0x5efea9])=>{const _0xaf5dc3=_0x4cf036,_0x3656f9=_0x5efea9[_0xaf5dc3(0x331)],_0x5b49f9=_0x5247d7[_0xaf5dc3(0x2d6)](_0x27e1c3(_0x3656f9));_0x5efea9[_0xaf5dc3(0x331)]=_0x5b49f9;});}return _0x2646db;}async[_0x45d431(0x1bb)](_0x9c0f0f,_0x3929e3){const _0x529444=_0x45d431,{unitID:_0x4cba4d,type:_0x2ad8a0,blockID:_0x307e1f}=_0x3929e3,_0x2c4749=this[_0x529444(0x348)]()+'/'+_0x2ad8a0+'/unit/'+_0x4cba4d+'/block/'+_0x307e1f;return(await this[_0x529444(0x122)]['get'](_0x2c4749))['body'];}async[_0x45d431(0x380)](_0x146955,_0xea53f5){const _0x90aa94=_0x45d431,{unitID:_0x1122bf,type:_0x567c27,blockID:_0x3d5339}=_0xea53f5,_0x2cfd4a=this[_0x90aa94(0x348)]()+_0x90aa94(0x345)+_0x567c27+_0x90aa94(0x420)+_0x1122bf+'/block/'+_0x3d5339;return(await this[_0x90aa94(0x122)][_0x90aa94(0x296)](_0x2cfd4a))[_0x90aa94(0x3ce)];}async[_0x45d431(0x2fc)](_0x1bf4d3,_0x10fdf5){const _0xa6ac7f=_0x45d431,{unitID:_0x5143b5,type:_0x4e2192,from:_0x3c774f,to:_0x364207}=_0x10fdf5,_0x39f91c=this[_0xa6ac7f(0x348)]()+'/'+_0x4e2192+_0xa6ac7f(0x420)+_0x5143b5+_0xa6ac7f(0x246)+_0x3c774f+_0xa6ac7f(0x1be)+_0x364207;return(await this[_0xa6ac7f(0x122)]['get'](_0x39f91c))[_0xa6ac7f(0x3ce)];}[_0x45d431(0x241)](){const _0x1e3688=_0x45d431;var _0x26de96;return(_0x26de96=this[_0x1e3688(0x168)][_0x1e3688(0x3e4)](gn))!=null?_0x26de96:this['_getAPIPrefix']();}[_0x45d431(0x348)](){const _0x19f3d8=_0x45d431;var _0x1cc42b,_0x31a371;const _0x2e77e4=this[_0x19f3d8(0x168)][_0x19f3d8(0x3e4)](mn),_0x1352a7=this[_0x19f3d8(0x168)][_0x19f3d8(0x3e4)](ee);return(_0x31a371=(_0x1cc42b=_0x1352a7==null?void 0x0:_0x1352a7[_0x19f3d8(0x4aa)])!=null?_0x1cc42b:_0x2e77e4)!=null?_0x31a371:pn;}async[_0x45d431(0x211)](_0x20ff3d,_0x413d85){const _0x4baf61=_0x45d431,_0x42b7ec=_0x4baf61(0x289)+_0x413d85['type']+_0x4baf61(0x420)+_0x413d85[_0x4baf61(0x1b9)]+'/resources';return(await this[_0x4baf61(0x122)][_0x4baf61(0x296)](_0x42b7ec,{'params':{'resourceId':JSON[_0x4baf61(0x359)](_0x413d85[_0x4baf61(0x1ba)])}}))[_0x4baf61(0x3ce)];}[_0x45d431(0x484)](){const _0x4c2607=_0x45d431;throw new Error(_0x4c2607(0x252));}[_0x45d431(0x3a5)](){const _0x1bcb1f=_0x45d431;throw new Error(_0x1bcb1f(0x252));}[_0x45d431(0x332)](){const _0x43b939=_0x45d431;throw new Error(_0x43b939(0x252));}[_0x45d431(0x3ad)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x45d431(0x25f)](){const _0x20e5fd=_0x45d431;throw new Error(_0x20e5fd(0x252));}};ds=$c([li(0x0,_0x360b05),li(0x1,_0x35b6a2(_0xa83f3b))],ds);var Hc=Object[_0x45d431(0x4f8)],jc=Object[_0x45d431(0x494)],Bc=(_0x1b144d,_0x4273a3,_0x457d8f,_0x26a710)=>{const _0x533b30=_0x45d431;for(var _0x5e97c1=_0x26a710>0x1?void 0x0:_0x26a710?jc(_0x4273a3,_0x457d8f):_0x4273a3,_0x5603d9=_0x1b144d[_0x533b30(0xf0)]-0x1,_0x4512dd;_0x5603d9>=0x0;_0x5603d9--)(_0x4512dd=_0x1b144d[_0x5603d9])&&(_0x5e97c1=(_0x26a710?_0x4512dd(_0x4273a3,_0x457d8f,_0x5e97c1):_0x4512dd(_0x5e97c1))||_0x5e97c1);return _0x26a710&&_0x5e97c1&&Hc(_0x4273a3,_0x457d8f,_0x5e97c1),_0x5e97c1;},et=(_0x260c67,_0x34ecaa)=>(_0xdbbb1a,_0xfc168)=>_0x34ecaa(_0xdbbb1a,_0xfc168,_0x260c67);let fs=class extends _0x1aa308{constructor(_0x26b0d,_0x4cc132,_0x138409,_0x5a2922,_0x31aab9){const _0x3fbf14=_0x45d431;super(_0x26b0d,_0x4cc132,_0x138409),this[_0x3fbf14(0x2bb)]=_0x5a2922,this[_0x3fbf14(0x137)]=_0x31aab9;}[_0x45d431(0x2b1)](_0x2300e5,_0x18ab3c){const _0xb2e0ad=_0x45d431,_0x3a132d=this['_getUndoStack'](_0x2300e5);if(_0x3a132d)try{const _0x4713d8=this[_0xb2e0ad(0x132)](_0x3a132d,_0x18ab3c);this[_0xb2e0ad(0x1f8)](_0x2300e5,_0x4713d8);}catch(_0x55fe03){this[_0xb2e0ad(0x137)][_0xb2e0ad(0x299)](_0xb2e0ad(0x100),_0x55fe03),this[_0xb2e0ad(0x2bc)](_0x2300e5);}const _0x5c76c1=this[_0xb2e0ad(0x415)](_0x2300e5);if(_0x5c76c1)try{const _0x4cd4c7=this[_0xb2e0ad(0x132)](_0x5c76c1,_0x18ab3c);this[_0xb2e0ad(0x4e7)](_0x2300e5,_0x4cd4c7);}catch(_0x1719a1){this[_0xb2e0ad(0x137)][_0xb2e0ad(0x299)](_0x1719a1),this['_clearRedo'](_0x2300e5);}}[_0x45d431(0x2bc)](_0x54f563){const _0x5d1b36=_0x45d431,_0x14ba79=this[_0x5d1b36(0x11f)](_0x54f563);_0x14ba79&&(_0x14ba79[_0x5d1b36(0xf0)]=0x0,this[_0x5d1b36(0x38a)]());}[_0x45d431(0x276)](_0x5f26f7){const _0x20aa64=_0x45d431,_0x344844=this['_getRedoStack'](_0x5f26f7);_0x344844&&(_0x344844[_0x20aa64(0xf0)]=0x0,this[_0x20aa64(0x38a)]());}[_0x45d431(0x1f8)](_0x5e48eb,_0x4107e6){const _0x532eda=_0x45d431;this['_undoStacks']['set'](_0x5e48eb,_0x4107e6),this[_0x532eda(0x38a)]();}['_substituteRedoStack'](_0x1001b6,_0x6938a6){const _0x2cf150=_0x45d431;this[_0x2cf150(0x4d1)][_0x2cf150(0x3eb)](_0x1001b6,_0x6938a6),this[_0x2cf150(0x38a)]();}[_0x45d431(0x132)](_0x303d93,_0x43935e){const _0x1ce4ae=_0x45d431,_0x367e88=[];let _0x34ae74=_0x43935e,_0x205f14=_0x43935e;for(let _0xa8b374=_0x303d93[_0x1ce4ae(0xf0)]-0x1;_0xa8b374>=0x0;_0xa8b374--){const {unitID:_0xd47868,undoMutations:_0x2dd8e1,redoMutations:_0x22aa71}=_0x303d93[_0xa8b374],_0xfeefd5=this['_transformService'][_0x1ce4ae(0x49a)](_0x34ae74,_0x2dd8e1),_0x25f4eb=this['_transformService'][_0x1ce4ae(0x49a)](_0x205f14,_0x22aa71);if(_0x904b4b(_0xfeefd5)||_0x904b4b(_0x25f4eb)){this[_0x1ce4ae(0x137)][_0x1ce4ae(0x299)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0xfeefd5,_0x25f4eb);break;}_0x34ae74=_0xfeefd5[_0x1ce4ae(0x1f9)],_0x205f14=_0x25f4eb[_0x1ce4ae(0x1f9)],_0x367e88[_0x1ce4ae(0x182)]({'unitID':_0xd47868,'undoMutations':_0xfeefd5[_0x1ce4ae(0x19d)],'redoMutations':_0x25f4eb['m2Prime']});}return _0x367e88[_0x1ce4ae(0x255)]();}};fs=Bc([et(0x0,_0x47d1bd),et(0x1,_0x66b6aa),et(0x2,_0x295f83),et(0x3,_0x47de3e),et(0x4,_0xce7964)],fs);class kc extends _0x46da4c{constructor(){const _0x365b92=_0x45d431;super(),g(this,_0x365b92(0x330)),this['urlChange$']=_0x36d4c4(window,_0x365b92(0x4bb))[_0x365b92(0x476)](_0x53c58e(this[_0x365b92(0x425)]),_0x5c69b3(0x1),_0x5df0e2(void 0x0));}[_0x45d431(0x17b)](_0x2f5896,_0x53a33a,_0x18d238=!0x1){const _0xe10a33=_0x45d431,_0x4048af=new URL(window[_0xe10a33(0x49c)]['href']);_0x4048af[_0xe10a33(0x3dc)][_0xe10a33(0x3eb)](_0x2f5896,_0x53a33a),_0x18d238?window[_0xe10a33(0x272)]['replaceState']('','',_0x4048af[_0xe10a33(0x117)]()):window[_0xe10a33(0x272)][_0xe10a33(0x421)]('','',_0x4048af['toString']());}[_0x45d431(0x2a0)](_0x23e556,_0x3cdbda=!0x1){const _0x5d5626=_0x45d431,_0x2a1451=new URL(window[_0x5d5626(0x49c)][_0x5d5626(0x130)]);_0x2a1451[_0x5d5626(0x3dc)][_0x5d5626(0x3ea)](_0x23e556),_0x3cdbda?window['history'][_0x5d5626(0x316)]('','',_0x2a1451[_0x5d5626(0x117)]()):window[_0x5d5626(0x272)][_0x5d5626(0x421)]('','',_0x2a1451[_0x5d5626(0x117)]());}['getParam'](_0x1bb97c){const _0x35cdf9=_0x45d431;var _0x4f5a36;return(_0x4f5a36=new URL(window[_0x35cdf9(0x49c)][_0x35cdf9(0x130)])[_0x35cdf9(0x3dc)][_0x35cdf9(0x296)](_0x1bb97c))!=null?_0x4f5a36:void 0x0;}}var tr=Object[_0x45d431(0x4f8)],Wc=Object[_0x45d431(0x494)],Fc=(_0x48cf6b,_0x1482d2,_0xc6e17)=>_0x1482d2 in _0x48cf6b?tr(_0x48cf6b,_0x1482d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc6e17}):_0x48cf6b[_0x1482d2]=_0xc6e17,Vc=(_0x31bab,_0x348c77,_0xc21c8a,_0x1554c5)=>{const _0xb0418b=_0x45d431;for(var _0x31812f=_0x1554c5>0x1?void 0x0:_0x1554c5?Wc(_0x348c77,_0xc21c8a):_0x348c77,_0x20740a=_0x31bab[_0xb0418b(0xf0)]-0x1,_0x2a0b8b;_0x20740a>=0x0;_0x20740a--)(_0x2a0b8b=_0x31bab[_0x20740a])&&(_0x31812f=(_0x1554c5?_0x2a0b8b(_0x348c77,_0xc21c8a,_0x31812f):_0x2a0b8b(_0x31812f))||_0x31812f);return _0x1554c5&&_0x31812f&&tr(_0x348c77,_0xc21c8a,_0x31812f),_0x31812f;},lt=(_0x50e841,_0x47b3f7)=>(_0x54d2ab,_0xc17ab7)=>_0x47b3f7(_0x54d2ab,_0xc17ab7,_0x50e841),Gc=(_0x440108,_0x44b430,_0x316114)=>Fc(_0x440108,_0x44b430+'',_0x316114);const Yc=_0x45d431(0x213);let vs=class extends _0x48349f{constructor(_0x15aeee=Mn,_0x2a5e83,_0x200658,_0x42d544,_0x1e09ad){const _0x2f1d9b=_0x45d431;super(),this[_0x2f1d9b(0x432)]=_0x15aeee,this['_logService']=_0x2a5e83,this['_renderManagerService']=_0x200658,this['_injector']=_0x42d544,this[_0x2f1d9b(0x168)]=_0x1e09ad;const {..._0x1f051a}=this[_0x2f1d9b(0x432)];this[_0x2f1d9b(0x168)][_0x2f1d9b(0xfc)](ee,_0x1f051a);}[_0x45d431(0x245)](){const _0x2f5f97=_0x45d431;this[_0x2f5f97(0x18d)](),this['_initDependencies']();}['onReady'](){_0x3793a0(this['_injector'],[[bt],[It]]);}[_0x45d431(0x404)](){const _0x43b92a=_0x45d431;this[_0x43b92a(0x397)]();}[_0x45d431(0x18d)](){const _0x4f2eab=_0x45d431;var _0x175ef9,_0x5243d5,_0x30b0da,_0xf54d7a;this[_0x4f2eab(0x3f7)][_0x4f2eab(0x471)](_0x450df1)&&this[_0x4f2eab(0x137)][_0x4f2eab(0x299)](_0x4f2eab(0x161),_0x4f2eab(0x377));const _0x7cea48=[[_0x450df1,{'useClass':fs}],[xe],[Os],[Yi,{'useClass':kc}],[Me],[q],[_0x4e1ec1],[mt],[gt],[vt],[pt],[Ts],[Tt],[Rt],[Mi],[Ot],[Ai,{'useClass':(_0x5243d5=(_0x175ef9=this[_0x4f2eab(0x432)])==null?void 0x0:_0x175ef9['socketService'])!=null?_0x5243d5:ss}],[_0x482dff,{'useClass':ds}],[_0x4f7fe5,{'useClass':ls}],[_0x43832e,{'useClass':_s}],[_0x165794,{'useClass':us}],[it],[Et],[Ct],[bt],[Ve],[It]];(_0x30b0da=this[_0x4f2eab(0x432)])!=null&&_0x30b0da['enableSingleActiveInstanceLock']&&_0x7cea48[_0x4f2eab(0x182)]([yt,{'useClass':vo}]),_0x5848a0(this[_0x4f2eab(0x3f7)],_0x1995d0(_0x7cea48,(_0xf54d7a=this['_config'])==null?void 0x0:_0xf54d7a[_0x4f2eab(0x216)]));}['_registerRenderDependencies'](){const _0x31870a=_0x45d431;this['disposeWithMe'](this[_0x31870a(0x279)][_0x31870a(0x34d)](_0x51d633[_0x31870a(0x258)],[cs])),this[_0x31870a(0x20f)](this[_0x31870a(0x279)]['registerRenderModule'](_0x51d633[_0x31870a(0x33c)],[hs]));}[_0x45d431(0x3ae)](){const _0xb4334c=_0x45d431;var _0x4cb7cc,_0x1351f4;this[_0xb4334c(0x3f7)][_0xb4334c(0x296)](_0xa83f3b)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x4ab6f7({'maxParallel':0x6})}),(_0x4cb7cc=this['_config'])!=null&&_0x4cb7cc[_0xb4334c(0x44c)]||this[_0xb4334c(0x3f7)][_0xb4334c(0x296)](q)['disableLocalCache'](),(_0x1351f4=this[_0xb4334c(0x432)])!=null&&_0x1351f4[_0xb4334c(0x236)]&&_0x3793a0(this[_0xb4334c(0x3f7)],[[Tt]]),_0x3793a0(this['_injector'],[[Rt],[Ve],[Et],[it],[Ct],[Ot]]);}};Gc(vs,_0x45d431(0x13a),Yc),vs=Vc([_0x501c5f(_0x2e8f5d,_0x1b25c9),lt(0x1,_0xce7964),lt(0x2,_0x74ed0c),lt(0x3,_0x35b6a2(_0xaaab92)),lt(0x4,_0x360b05)],vs);export{Ki as AUTHZ_URL_KEY,ls as AuthzIoHttpService,ee as COLLAB_CLIENT_CONFIG_KEY,Pn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,is as CollaborationSession,xe as CollaborationSessionService,ss as CollaborationSocketService,J as CollaborationStatus,Aa as CollaborationStatusDisplay,Mi as CommentService,Et as DataLoaderController,Ct as DesktopCollaborationStatusDisplayController,rs as DocCollaborationEntity,bn as HEARTBEAT_INTERVAL_KEY,Di as HEARTBEAT_TIMEOUT_KEY,Ai as ICollaborationSocketService,Yi as IURLService,_s as ImageIoService,wn as LOCAL_CACHE_INTERVAL_KEY,Nn as LOGIN_URL_KEY,q as LocalCacheService,Me as MemberService,us as MentionIoHttpService,On as RETRY_CONNECTING_MAX_COUNT_KEY,_h as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,gn as SNAPSHOT_URL_KEY,ve as SessionStatus,ca as SheetCollabCursorShape,ns as SheetCollaborationEntity,ds as SnapshotServerOverHTTPService,vs as UniverCollaborationClientPlugin,kc as WebURLService,xn as deserializeToCombResponse,Ln as serializeCombRequest};
|
1
|
+
const _0x46f17f=_0x1425;(function(_0x2ad613,_0x83c744){const _0x221ccb=_0x1425,_0x435f74=_0x2ad613();while(!![]){try{const _0x1be2bc=parseInt(_0x221ccb(0x29c))/0x1*(-parseInt(_0x221ccb(0x433))/0x2)+parseInt(_0x221ccb(0x47e))/0x3*(parseInt(_0x221ccb(0x2ab))/0x4)+parseInt(_0x221ccb(0x39d))/0x5+parseInt(_0x221ccb(0x482))/0x6+parseInt(_0x221ccb(0x281))/0x7*(parseInt(_0x221ccb(0x560))/0x8)+parseInt(_0x221ccb(0x3c1))/0x9+parseInt(_0x221ccb(0x4b8))/0xa*(-parseInt(_0x221ccb(0x499))/0xb);if(_0x1be2bc===_0x83c744)break;else _0x435f74['push'](_0x435f74['shift']());}catch(_0x2c63fa){_0x435f74['push'](_0x435f74['shift']());}}}(_0x4ae6,0xe74fe));var sr=Object[_0x46f17f(0x3a4)],ir=(_0x56acfe,_0xd1f283,_0x482e16)=>_0xd1f283 in _0x56acfe?sr(_0x56acfe,_0xd1f283,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x482e16}):_0x56acfe[_0xd1f283]=_0x482e16,g=(_0x2f2816,_0x22554c,_0x463010)=>ir(_0x2f2816,typeof _0x22554c!=_0x46f17f(0x436)?_0x22554c+'':_0x22554c,_0x463010);import{createIdentifier as _0x1035a6,Inject as _0x4e871f,Disposable as _0x156359,DisposableCollection as _0x55ba00,toDisposable as _0x105bf3,IConfigService as _0x175c85,ILogService as _0x416cf3,UserManagerService as _0x5d0dc8,UniverInstanceType as _0x571c15,IUniverInstanceService as _0x2d6c6a,LocaleService as _0x19d230,Optional as _0x1316cb,RxDisposable as _0x2ddc3d,Injector as _0x24063a,Tools as _0x389286,ILocalStorageService as _0x4b294d,Rectangle as _0x135866,ICommandService as _0x15e74e,DOC_RANGE_TYPE as _0x32f3c1,JSONX as _0x11c1f9,CommandType as _0x4b7f16,IPermissionService as _0x26d1fe,IUndoRedoService as _0x166e89,sequenceExecute as _0x172a56,debounce as _0x2152b9,COLORS as _0x2b7ec6,ColorKit as _0xaff671,ThemeService as _0x4f10db,fromEventSubject as _0x12ea27,useDependency as _0x155249,connectInjector as _0x31f1c2,Workbook as _0x3b1689,MentionType as _0x2bba6c,isInternalEditorID as _0x2085b2,LocalUndoRedoService as _0x3693db,IContextService as _0xbdb4f2,DependentOn as _0x41ce9f,Plugin as _0x252f7f,touchDependencies as _0x5991ac,IAuthzIoService as _0x3a2cdd,IMentionIOService as _0x4be088,registerDependencies as _0x45de4c,mergeOverrideWithDependencies as _0x440f6e}from'@univerjs/core';import{Subject as _0x31ccd3,merge as _0x3c9b26,takeUntil as _0x2b97ad,BehaviorSubject as _0x4581fa,distinctUntilChanged as _0x242d51,fromEvent as _0x249771,ReplaySubject as _0x55511b,take as _0x522325,map as _0x19435b,shareReplay as _0xbfa8cd,of as _0x1f0a04,debounceTime as _0x3d77e4,filter as _0x20495e,switchMap as _0x36f349,combineLatest as _0x4ad575,concatMap as _0x23ed2f,mapTo as _0x561896}from'rxjs';import{map as _0x4f9d2a,take as _0x265746,filter as _0x191857,delay as _0x1055a5,throttleTime as _0x1c9b34,takeUntil as _0x4ff54a,switchMap as _0xe3a2c7}from'rxjs/operators';import{MessageType as _0x4ed4eb,Tooltip as _0x2c7462}from'@univerjs/design';import{HTTPService as _0x595bc6,WebSocketService as _0x2ac4d0,MergeInterceptorFactory as _0x171710,HTTPRequest as _0x12fd84,UniverNetworkPlugin as _0x691783,ThresholdInterceptorFactory as _0x2f5156}from'@univerjs/network';import{IBeforeCloseService as _0x17e608,IMessageService as _0x30cbad,INotificationService as _0x4be5c5,useObservable as _0x5a9c52,BuiltInUIPart as _0x5c457d,IUIPartsService as _0x36bc47}from'@univerjs/ui';import{CollaborationEvent as _0x40bfa0,parseChangesetToProtocol as _0x27c72a,ISnapshotServerService as _0x24c16b,isTransformMutationFailure as _0x391986,isTransformMutationsWithChangesetSuccess as _0x12fb0f,ITransformService as _0x1ea1f3,RevisionService as _0x55fa5b,mapDocumentTypeToUniverType as _0x14b156,isTransformChangesetsSuccess as _0x9dfff7,CompressMutationService as _0x1908d7,parseProtocolChangeset as _0x2a8841,SnapshotService as _0x16d892,textEncoder as _0x5619fa,b64DecodeUnicode as _0xb6f622,isTransformMutationsWithChangesetFailure as _0x2619e6,UniverCollaborationPlugin as _0x1c17f9}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x48de2f}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x5ed2b2,RichTextEditingMutation as _0x1ba87a,SetTextSelectionsOperation as _0x3c5819,DocSkeletonManagerService as _0x3969f2}from'@univerjs/docs';import{DocIMEInputManagerService as _0x20d10d,DocStateChangeManagerService as _0x280b41,IDocClipboardService as _0x103fa2,NodePositionConvertToCursor as _0x116697,NodePositionConvertToRectRange as _0xba79ba,TEXT_RANGE_LAYER_INDEX as _0x2bc01b,SetDocZoomRatioOperation as _0x3d9e18}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x57d5f4,SetSelectionsOperation as _0x4feead,InsertSheetMutation as _0x92993c,EmptyMutation as _0xc2211f,WorkbookEditablePermission as _0x43ee6b,RefRangeService as _0x101b82,EffectRefRangId as _0x314df9,handleIRemoveRow as _0x325aae,handleIRemoveCol as _0x1436b6,handleMoveRange as _0xecff8f,handleInsertRow as _0x2d4f83,handleInsertRangeMoveRight as _0x3ba33c,handleInsertRangeMoveDown as _0x78040,handleInsertCol as _0x5ce0fd,handleDeleteRangeMoveUp as _0x5465a6,handleDeleteRangeMoveLeft as _0x4be412,runRefRangeMutations as _0x3fa3f8,SetWorksheetActivateCommand as _0x527771}from'@univerjs/sheets';import{IRenderManagerService as _0x51f1aa,Shape as _0x3af5e6,Rect as _0x3422e5,getColor as _0x1b9413,RegularPolygon as _0x5ac9ed,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x558250,Vector2 as _0x369c59}from'@univerjs/engine-render';import{IImageIoService as _0x30c4e5,ImageSourceType as _0x8450ec,ImageUploadStatusType as _0x3bad31}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x534b4a,serializeRangeWithSheet as _0x4f8d59}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x5a4329,VIEWPORT_KEY as _0x4f4f8e,getCoordByCell as _0x5c7434,getSheetObject as _0x482e64,SheetPermissionInitController as _0x22c3b8}from'@univerjs/sheets-ui';import _0x3c6a43,{forwardRef as _0x16fb4d,useRef as _0x14c015,createElement as _0x3daae4,useCallback as _0x3cf208}from'react';import{IRemoteInstanceService as _0x33a2e7}from'@univerjs/rpc';const mn=_0x46f17f(0x448),pn='/universer-api/snapshot',gn=_0x46f17f(0x16a),_h=_0x46f17f(0x563),Sn=0x7d0,In='COLLAB_WEB_SOCKET_URL',Cn=_0x46f17f(0x223),En=_0x46f17f(0x160),bn=_0x46f17f(0x4b1),Tn=0x7530,Di=_0x46f17f(0x1bb),Pi=0x4e20,Rn=0x4e20,On='RETRY_CONNECTING_MAX_COUNT',yn=0x3,wn='LOCAL_CACHE_INTERVAL',Dn=0x3e8,Pn=_0x46f17f(0x518),Un=_0x46f17f(0x23b),Nn='LOGIN_URL_KEY',An=_0x46f17f(0x263);var Ui=(_0x3f860d=>(_0x3f860d[_0x3f860d[_0x46f17f(0x324)]=0x0]=_0x46f17f(0x324),_0x3f860d[_0x3f860d['OK']=0x1]='OK',_0x3f860d[_0x3f860d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3f860d[_0x3f860d['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3f860d[_0x3f860d['NOT_FOUND']=0x4]=_0x46f17f(0x24b),_0x3f860d[_0x3f860d[_0x46f17f(0x50a)]=0x5]=_0x46f17f(0x50a),_0x3f860d[_0x3f860d[_0x46f17f(0x2ce)]=0x6]=_0x46f17f(0x2ce),_0x3f860d[_0x3f860d[_0x46f17f(0x449)]=0x7]=_0x46f17f(0x449),_0x3f860d[_0x3f860d[_0x46f17f(0x342)]=0x8]=_0x46f17f(0x342),_0x3f860d[_0x3f860d[_0x46f17f(0x22c)]=0x9]='COMPLETION_FINISHED',_0x3f860d[_0x3f860d[_0x46f17f(0x41d)]=0x1389]=_0x46f17f(0x41d),_0x3f860d[_0x3f860d[_0x46f17f(0x4f3)]=0x1771]=_0x46f17f(0x4f3),_0x3f860d[_0x3f860d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x46f17f(0x4be),_0x3f860d[_0x3f860d[_0x46f17f(0x445)]=0x1773]=_0x46f17f(0x445),_0x3f860d[_0x3f860d[_0x46f17f(0x1a5)]=0x1b59]=_0x46f17f(0x1a5),_0x3f860d[_0x3f860d[_0x46f17f(0x567)]=0x1b5a]=_0x46f17f(0x567),_0x3f860d[_0x3f860d[_0x46f17f(0x2d9)]=0x1b5b]=_0x46f17f(0x2d9),_0x3f860d[_0x3f860d[_0x46f17f(0x569)]=0x1b5c]=_0x46f17f(0x569),_0x3f860d[_0x3f860d[_0x46f17f(0x3d8)]=0x1b5d]=_0x46f17f(0x3d8),_0x3f860d[_0x3f860d[_0x46f17f(0x41c)]=0x1f41]=_0x46f17f(0x41c),_0x3f860d[_0x3f860d[_0x46f17f(0x23f)]=0x2329]=_0x46f17f(0x23f),_0x3f860d[_0x3f860d[_0x46f17f(0x53f)]=0x232a]=_0x46f17f(0x53f),_0x3f860d[_0x3f860d[_0x46f17f(0x1da)]=0x232b]=_0x46f17f(0x1da),_0x3f860d[_0x3f860d[_0x46f17f(0x211)]=0x232c]=_0x46f17f(0x211),_0x3f860d[_0x3f860d[_0x46f17f(0x26e)]=0x232d]=_0x46f17f(0x26e),_0x3f860d[_0x3f860d[_0x46f17f(0x36e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3f860d[_0x3f860d[_0x46f17f(0x2d2)]=0x2712]=_0x46f17f(0x2d2),_0x3f860d[_0x3f860d[_0x46f17f(0x269)]=0x2713]=_0x46f17f(0x269),_0x3f860d[_0x3f860d[_0x46f17f(0x487)]=0x2714]=_0x46f17f(0x487),_0x3f860d[_0x3f860d[_0x46f17f(0x38c)]=-0x1]=_0x46f17f(0x38c),_0x3f860d))(Ui||{}),ce=(_0x28086e=>(_0x28086e[_0x28086e[_0x46f17f(0x333)]=0x0]='UNIVER_UNKNOWN',_0x28086e[_0x28086e[_0x46f17f(0x15e)]=0x1]=_0x46f17f(0x15e),_0x28086e[_0x28086e[_0x46f17f(0x226)]=0x2]=_0x46f17f(0x226),_0x28086e[_0x28086e[_0x46f17f(0x311)]=0x3]=_0x46f17f(0x311),_0x28086e[_0x28086e['UNIVER_PROJECT']=0x4]=_0x46f17f(0x50d),_0x28086e[_0x28086e[_0x46f17f(0x38c)]=-0x1]=_0x46f17f(0x38c),_0x28086e))(ce||{}),W=(_0x5c0f65=>(_0x5c0f65[_0x5c0f65[_0x46f17f(0x4cc)]=0x0]='UNKNOWN_CMD',_0x5c0f65[_0x5c0f65[_0x46f17f(0x343)]=0x1]=_0x46f17f(0x343),_0x5c0f65[_0x5c0f65[_0x46f17f(0x4c3)]=0x2]=_0x46f17f(0x4c3),_0x5c0f65[_0x5c0f65['LEAVE']=0x3]=_0x46f17f(0x26c),_0x5c0f65[_0x5c0f65['INGEST']=0x4]=_0x46f17f(0x30b),_0x5c0f65[_0x5c0f65[_0x46f17f(0x4aa)]=0x5]=_0x46f17f(0x4aa),_0x5c0f65[_0x5c0f65['RECV']=0x6]=_0x46f17f(0x214),_0x5c0f65[_0x5c0f65['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5c0f65))(W||{}),bs=(_0x244978=>(_0x244978[_0x244978[_0x46f17f(0x39c)]=0x0]=_0x46f17f(0x39c),_0x244978[_0x244978['OK']=0x1]='OK',_0x244978[_0x244978[_0x46f17f(0x4c2)]=0x2]=_0x46f17f(0x4c2),_0x244978[_0x244978[_0x46f17f(0x39a)]=0x3e9]=_0x46f17f(0x39a),_0x244978[_0x244978[_0x46f17f(0x181)]=0x3ea]=_0x46f17f(0x181),_0x244978[_0x244978['UNRECOGNIZED']=-0x1]=_0x46f17f(0x38c),_0x244978))(bs||{}),Ni=(_0x48687a=>(_0x48687a[_0x48687a[_0x46f17f(0x1bc)]=0x0]='Undefined',_0x48687a[_0x48687a[_0x46f17f(0x3e9)]=0x1]='HttpImport',_0x48687a[_0x48687a[_0x46f17f(0x286)]=0x2]=_0x46f17f(0x286),_0x48687a[_0x48687a['UnitEmbedded']=0x3]='UnitEmbedded',_0x48687a[_0x48687a[_0x46f17f(0x545)]=0x4]='UnitSnapshot',_0x48687a[_0x48687a[_0x46f17f(0x38c)]=-0x1]='UNRECOGNIZED',_0x48687a))(Ni||{});const ee=_0x46f17f(0x382),Mn={};function xn(_0x45788a){const _0xcec0e=_0x46f17f;var _0x29bd48,_0x3ae173,_0x18b1f4,_0x59ee9e,_0x4fc954;const _0x4b9226=_0x45788a[_0xcec0e(0x1bf)],_0x425686=JSON['parse'](_0x4b9226);switch(_0x425686['cmd']){case W[_0xcec0e(0x4aa)]:case W['HELLO']:{const _0x379b18=_0x425686[_0xcec0e(0x49b)];return{..._0x425686,'data':_0x379b18,'cmd':_0x425686[_0xcec0e(0x196)]};}case W[_0xcec0e(0x4c3)]:{const _0x3cc811=_0x425686['joinRsp'];return{..._0x425686,'data':_0x3cc811,'cmd':_0x425686['cmd']};}case W['RECV']:{const _0xd83fcb=_0x425686[_0xcec0e(0x3ce)];switch(_0xd83fcb[_0xcec0e(0x242)]){case _0x40bfa0[_0xcec0e(0x162)]:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x29bd48=_0xd83fcb[_0xcec0e(0x52a)])==null?void 0x0:_0x29bd48['cs']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x584)]:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x3ae173=_0xd83fcb[_0xcec0e(0x20f)])==null?void 0x0:_0x3ae173['cs']},'cmd':_0x425686['cmd']};case _0x40bfa0['NEW_CHANGESETS']:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x18b1f4=_0xd83fcb['newCsEvent'])==null?void 0x0:_0x18b1f4['cs']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x525)]:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x59ee9e=_0xd83fcb[_0xcec0e(0x479)])==null?void 0x0:_0x59ee9e['cs']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0['CHANGESET_SHOULD_RETRY']:return{..._0x425686,'data':{..._0xd83fcb,'data':(_0x4fc954=_0xd83fcb[_0xcec0e(0x28d)])==null?void 0x0:_0x4fc954['cs']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x204)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb['updateCursorEvent']},'cmd':_0x425686['cmd']};case _0x40bfa0[_0xcec0e(0x52d)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x55e)]},'cmd':_0x425686['cmd']};case _0x40bfa0[_0xcec0e(0x2b4)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x51d)]},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x397)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x250)]},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x4af)]:case _0x40bfa0['LIVESHARE_OPERATION']:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb['liveShareOperation']},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0['LIVESHARE_TERMINATE']:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x250)]},'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x376)]:return{..._0x425686,'data':_0xd83fcb,'cmd':_0x425686[_0xcec0e(0x196)]};case _0x40bfa0[_0xcec0e(0x530)]:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x29b)]},'cmd':_0x425686['cmd']};case _0x40bfa0['UPDATE_PERMISSION_OBJ']:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x1ab)]},'cmd':_0x425686['cmd']};case _0x40bfa0['SHOULD_CLOSE_CONN']:return{..._0x425686,'data':{..._0xd83fcb,'data':_0xd83fcb[_0xcec0e(0x3ae)]},'cmd':_0x425686[_0xcec0e(0x196)]};default:return _0x425686;}}default:return _0x425686;}}function Ln(_0x550ee3){const _0x59f98c=_0x46f17f;switch(_0x550ee3[_0x59f98c(0x196)]){case W[_0x59f98c(0x4aa)]:case W[_0x59f98c(0x343)]:return JSON[_0x59f98c(0x353)]({'cmd':_0x550ee3[_0x59f98c(0x196)],'routeKey':_0x550ee3[_0x59f98c(0x576)]});case W[_0x59f98c(0x30b)]:{let _0x51d8c5;switch(_0x550ee3[_0x59f98c(0x1bf)]['eventID']){case _0x40bfa0[_0x59f98c(0x204)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x204)],'updateCursorEvent':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x2b4)]:{_0x51d8c5={'eventID':_0x40bfa0['USERS_LEAVE'],'leaveEvent':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x52d)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x52d)],'joinEvent':_0x550ee3['data'][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x397)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x397)],'liveShareNewHost':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x3d9)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x3d9)],'liveShareOperation':_0x550ee3['data'][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x523)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x523)],'liveShareTerminate':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0[_0x59f98c(0x33d)]:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x33d)],'liveShareRequestHost':_0x550ee3[_0x59f98c(0x1bf)][_0x59f98c(0x1bf)]};break;}case _0x40bfa0['LIVESHARE_FETCH_OPERATIONS']:{_0x51d8c5={'eventID':_0x40bfa0[_0x59f98c(0x4af)]};break;}default:_0x51d8c5={'eventID':_0x550ee3[_0x59f98c(0x1bf)]['eventID']};}return JSON[_0x59f98c(0x353)]({'cmd':_0x550ee3[_0x59f98c(0x196)],'routeKey':_0x550ee3['routeKey'],'collaMsg':_0x51d8c5});}case W[_0x59f98c(0x4c3)]:return JSON['stringify']({'cmd':_0x550ee3[_0x59f98c(0x196)],'routeKey':_0x550ee3[_0x59f98c(0x576)],'joinReq':_0x550ee3[_0x59f98c(0x1bf)]});case W[_0x59f98c(0x26c)]:return JSON[_0x59f98c(0x353)]({'cmd':_0x550ee3['cmd'],'routeKey':_0x550ee3[_0x59f98c(0x576)],'leaveReq':_0x550ee3[_0x59f98c(0x1bf)]});default:throw new Error(_0x59f98c(0x3aa));}}var $n=Object[_0x46f17f(0x3a4)],Hn=Object[_0x46f17f(0x17b)],jn=(_0x344aad,_0x15613b,_0x3e60f3,_0x23f74a)=>{const _0x365342=_0x46f17f;for(var _0x4660ea=_0x23f74a>0x1?void 0x0:_0x23f74a?Hn(_0x15613b,_0x3e60f3):_0x15613b,_0xe52535=_0x344aad[_0x365342(0x407)]-0x1,_0x1d6594;_0xe52535>=0x0;_0xe52535--)(_0x1d6594=_0x344aad[_0xe52535])&&(_0x4660ea=(_0x23f74a?_0x1d6594(_0x15613b,_0x3e60f3,_0x4660ea):_0x1d6594(_0x4660ea))||_0x4660ea);return _0x23f74a&&_0x4660ea&&$n(_0x15613b,_0x3e60f3,_0x4660ea),_0x4660ea;},qe=(_0x6d292e,_0xc0a068)=>(_0x41e2c5,_0x5845b7)=>_0xc0a068(_0x41e2c5,_0x5845b7,_0x6d292e);const Ai=_0x1035a6(_0x46f17f(0x544));function Bn(_0x5a2faa,_0x3c3e45,_0x31454a){const _0x1ba70f=_0x46f17f;return _0x5a2faa+'/'+_0x3c3e45+'/unit/'+_0x31454a+_0x1ba70f(0x28b);}let ss=class extends _0x156359{constructor(_0x3f94a2,_0x5a0b85,_0x4a684d,_0x46baac,_0x52df24){const _0x5983c7=_0x46f17f;super(),this[_0x5983c7(0x296)]=_0x3f94a2,this[_0x5983c7(0x25f)]=_0x5a0b85,this[_0x5983c7(0x57c)]=_0x4a684d,this[_0x5983c7(0x1a7)]=_0x46baac,this[_0x5983c7(0x459)]=_0x52df24;}[_0x46f17f(0x36a)](_0x3e4dbe){const _0x3d036f=_0x46f17f,_0xbd4442=this[_0x3d036f(0x25f)][_0x3d036f(0x36a)](_0x3e4dbe);if(!_0xbd4442)throw new Error(_0x3d036f(0x230));const _0x23afe6=new _0x55ba00(),_0x2fe8b4=new _0x31ccd3();_0x23afe6[_0x3d036f(0x42c)](_0xbd4442['close$'][_0x3d036f(0x346)](_0xb68d28=>_0x2fe8b4[_0x3d036f(0x4e6)](_0xb68d28))),_0x23afe6[_0x3d036f(0x42c)](_0x105bf3(()=>_0x2fe8b4[_0x3d036f(0x282)]()));const _0x430334=new _0x31ccd3();_0x23afe6[_0x3d036f(0x42c)](_0xbd4442['error$']['subscribe'](_0x331ea1=>_0x430334[_0x3d036f(0x4e6)](_0x331ea1))),_0x23afe6['add'](_0x105bf3(()=>_0x430334[_0x3d036f(0x282)]()));const _0x5bae77=new _0x31ccd3();_0x23afe6['add'](_0xbd4442['message$'][_0x3d036f(0x346)](_0x35bff9=>{const _0x1cd20c=_0x3d036f,_0x43f883=xn(_0x35bff9);_0x5bae77[_0x1cd20c(0x4e6)](_0x43f883);})),_0x23afe6['add'](_0x105bf3(()=>_0x5bae77['complete']()));let _0x360bee;const _0x174437=()=>{const _0x42372f=_0x3d036f;_0x430334[_0x42372f(0x4e6)](new Event(_0x42372f(0x268))),_0x2fe8b4[_0x42372f(0x4e6)](new CloseEvent(_0x42372f(0x268))),_0x360bee['close']();};return _0x360bee={'memberID':'','close$':_0x2fe8b4[_0x3d036f(0x1fb)](),'error$':_0x430334['asObservable'](),'open$':_0xbd4442['open$'],'message$':_0x5bae77[_0x3d036f(0x1fb)](),'send':_0xf6cf4f=>{const _0x3fdb8f=_0x3d036f;if(_0xf6cf4f[_0x3fdb8f(0x196)]===W[_0x3fdb8f(0x30b)]){if(_0xf6cf4f[_0x3fdb8f(0x1bf)]['eventID']===_0x40bfa0[_0x3fdb8f(0x2de)]){this['_submitChangeset'](_0x360bee,_0xf6cf4f[_0x3fdb8f(0x1bf)])['catch'](_0x4cdf09=>{const _0x5bd0c2=_0x3fdb8f;this[_0x5bd0c2(0x1a7)][_0x5bd0c2(0x27d)](_0x4cdf09),_0x174437();});return;}if(_0xf6cf4f[_0x3fdb8f(0x1bf)][_0x3fdb8f(0x242)]===_0x40bfa0[_0x3fdb8f(0x26f)]){const _0x23aa34=_0xf6cf4f[_0x3fdb8f(0x1bf)];this['_fetchMissChangesets'](_0x23aa34)[_0x3fdb8f(0x3b2)](_0x1df0bd=>{const _0x518ffa=_0x3fdb8f;_0x5bae77[_0x518ffa(0x4e6)]({'cmd':W[_0x518ffa(0x214)],'code':bs['OK'],'routeKey':_0x23aa34[_0x518ffa(0x1bf)][_0x518ffa(0x498)],'routeType':'','data':{'eventID':_0x40bfa0[_0x518ffa(0x357)],'data':{'changesets':_0x1df0bd}}});})[_0x3fdb8f(0x551)](_0x58b10f=>{const _0x4cc876=_0x3fdb8f;this[_0x4cc876(0x1a7)][_0x4cc876(0x27d)](_0x58b10f),_0x174437();});return;}}_0xbd4442['send'](Ln(_0xf6cf4f));},'close':()=>{const _0x1dc0e9=_0x3d036f;_0xbd4442[_0x1dc0e9(0x23e)](),_0x23afe6[_0x1dc0e9(0x338)]();}},_0x360bee;}async[_0x46f17f(0x47b)](_0x2bae50,_0x56a1a0){const _0x502d18=_0x46f17f;var _0x300546,_0x356e5d;const {unitType:_0x322906,unitID:_0x7901d3,changeset:_0x2fd33a}=_0x56a1a0['data'],_0x3a0135={'unitID':_0x7901d3,'memberID':_0x2bae50['memberID'],'type':_0x322906,'changeset':_0x27c72a(_0x2fd33a)},_0x49b442=this['_configService'][_0x502d18(0x4b3)](Pn),_0x185eb2=this[_0x502d18(0x57c)][_0x502d18(0x4b3)](ee),_0x547075=Bn((_0x356e5d=(_0x300546=_0x185eb2==null?void 0x0:_0x185eb2['collabSubmitChangesetUrl'])!=null?_0x300546:_0x49b442)!=null?_0x356e5d:Un,_0x322906,_0x7901d3);try{await this[_0x502d18(0x296)][_0x502d18(0x203)](_0x547075,{'body':_0x3a0135});}catch(_0x515ad4){throw this['_logService'][_0x502d18(0x27d)](_0x502d18(0x23a),_0x502d18(0x36c)),_0x515ad4;}}async[_0x46f17f(0x2dd)](_0x372d95){const _0x245033=_0x46f17f,{unitID:_0x15de1c,from:_0x16ce3b,to:_0x2401fe,unitType:_0x3738a7}=_0x372d95[_0x245033(0x1bf)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x15de1c,'type':_0x3738a7,'from':_0x16ce3b,'to':_0x2401fe}))[_0x245033(0x3d3)];}};ss=jn([qe(0x0,_0x4e871f(_0x595bc6)),qe(0x1,_0x4e871f(_0x2ac4d0)),qe(0x2,_0x175c85),qe(0x3,_0x416cf3),qe(0x4,_0x24c16b)],ss);const kn=_0x46f17f(0x1a2);function Wn(_0x54ffb1){const _0x2b8e8b=_0x46f17f;return JSON['stringify'](_0x54ffb1)[_0x2b8e8b(0x407)];}class Mi{constructor(){const _0x53b1d6=_0x46f17f;g(this,'_commentUpdate$',new _0x31ccd3()),g(this,'commentUpdate$',this['_commentUpdate$'][_0x53b1d6(0x1fb)]());}['onCommentUpdate'](_0x4419f0){const _0x554f1b=_0x46f17f;this[_0x554f1b(0x40b)][_0x554f1b(0x4e6)](_0x4419f0);}}var Fn=Object['defineProperty'],Vn=Object[_0x46f17f(0x17b)],Gn=(_0xefb0d,_0x42747f,_0x143fcc,_0xf8d049)=>{const _0x4c3fb5=_0x46f17f;for(var _0x4d9e61=_0xf8d049>0x1?void 0x0:_0xf8d049?Vn(_0x42747f,_0x143fcc):_0x42747f,_0x42d4a8=_0xefb0d[_0x4c3fb5(0x407)]-0x1,_0x161f4e;_0x42d4a8>=0x0;_0x42d4a8--)(_0x161f4e=_0xefb0d[_0x42d4a8])&&(_0x4d9e61=(_0xf8d049?_0x161f4e(_0x42747f,_0x143fcc,_0x4d9e61):_0x161f4e(_0x4d9e61))||_0x4d9e61);return _0xf8d049&&_0x4d9e61&&Fn(_0x42747f,_0x143fcc,_0x4d9e61),_0x4d9e61;},Ws=(_0x593d46,_0x140e7f)=>(_0x58c589,_0x55f805)=>_0x140e7f(_0x58c589,_0x55f805,_0x593d46);let Me=class extends _0x156359{constructor(_0x2d4d37,_0x543649){const _0x1c69b6=_0x46f17f;super(),g(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x2d4d37,this[_0x1c69b6(0x1f8)]=_0x543649,this[_0x1c69b6(0x45a)](_0x105bf3(_0x3c9b26(this[_0x1c69b6(0x53d)][_0x1c69b6(0x166)](_0x571c15['UNIVER_SHEET'])[_0x1c69b6(0x4e3)](_0x4f9d2a(_0x6b8e0c=>_0x6b8e0c[_0x1c69b6(0x565)]())),this[_0x1c69b6(0x53d)][_0x1c69b6(0x166)](_0x571c15[_0x1c69b6(0x15e)])['pipe'](_0x4f9d2a(_0x5ae3d1=>_0x5ae3d1[_0x1c69b6(0x565)]())),this[_0x1c69b6(0x53d)]['getTypeOfUnitDisposed$'](_0x571c15[_0x1c69b6(0x311)])['pipe'](_0x4f9d2a(_0x18d3b7=>_0x18d3b7[_0x1c69b6(0x565)]())))[_0x1c69b6(0x346)](_0x45e67b=>this[_0x1c69b6(0x3f0)](_0x45e67b)))));}[_0x46f17f(0x1cd)](_0x3247f2){const _0xd07ae=_0x46f17f;this[_0xd07ae(0x1f8)][_0xd07ae(0x1cd)](_0x3247f2);}[_0x46f17f(0x188)](){const _0xb658fe=_0x46f17f;return this['_userManagerService'][_0xb658fe(0x188)]();}[_0x46f17f(0x33f)](_0x47e377,_0x45c59b){const _0x55a667=_0x46f17f;let _0x222917=this[_0x55a667(0x41e)][_0x55a667(0x3e1)](_0x47e377);_0x222917||(_0x222917=new Yn(),this['_roomMembers'][_0x55a667(0x25b)](_0x47e377,_0x222917)),_0x222917[_0x55a667(0x33f)](_0x45c59b);}[_0x46f17f(0x321)](_0x4dfb4f,_0xb6a723){const _0x16363a=_0x46f17f,_0x5eacbf=this['_roomMembers'][_0x16363a(0x3e1)](_0x4dfb4f);_0x5eacbf&&_0x5eacbf['removeMember'](_0xb6a723);}[_0x46f17f(0x222)](_0x1b662c){const _0x4b3c30=_0x46f17f;return this[_0x4b3c30(0x41e)][_0x4b3c30(0x3e1)](_0x1b662c);}[_0x46f17f(0x438)](_0x2724f0,_0x5a7fa9){const _0x54d7f1=_0x46f17f,_0x566240=this[_0x54d7f1(0x41e)]['get'](_0x2724f0);if(_0x566240)return _0x566240[_0x54d7f1(0x438)](_0x5a7fa9);}[_0x46f17f(0x3f0)](_0x3764be){const _0x20fbb6=_0x46f17f,_0x26f08f=this['_roomMembers']['get'](_0x3764be);_0x26f08f&&(_0x26f08f[_0x20fbb6(0x338)](),this[_0x20fbb6(0x41e)][_0x20fbb6(0x2cd)](_0x3764be));}[_0x46f17f(0x338)](){const _0x536499=_0x46f17f;this[_0x536499(0x41e)][_0x536499(0x519)](_0x40cc50=>_0x40cc50[_0x536499(0x338)]()),this['_roomMembers']['clear']();}};Me=Gn([Ws(0x0,_0x2d6c6a),Ws(0x1,_0x4e871f(_0x5d0dc8))],Me);class Yn extends _0x156359{constructor(){super(...arguments),g(this,'_members',new Map());}['dispose'](){const _0x3095b0=_0x46f17f;this[_0x3095b0(0x34b)][_0x3095b0(0x4f8)]();}[_0x46f17f(0x33f)](_0x591e89){const _0x3cb072=_0x46f17f;this[_0x3cb072(0x34b)]['set'](_0x591e89[_0x3cb072(0x3bd)],_0x591e89);}[_0x46f17f(0x321)](_0x1f92d9){const _0x39efce=_0x46f17f;this[_0x39efce(0x34b)][_0x39efce(0x2cd)](_0x1f92d9);}['getMember'](_0x2281e2){const _0x1d3534=_0x46f17f;return this[_0x1d3534(0x34b)][_0x1d3534(0x3e1)](_0x2281e2);}[_0x46f17f(0x4e8)](){const _0x13db46=_0x46f17f;return Array[_0x13db46(0x575)](this[_0x13db46(0x34b)][_0x13db46(0x564)]());}}var Kn=Object[_0x46f17f(0x3a4)],zn=Object['getOwnPropertyDescriptor'],qn=(_0x2a8a35,_0x3c4b09,_0x7d3f4,_0x5c21b1)=>{for(var _0x7a0f11=_0x5c21b1>0x1?void 0x0:_0x5c21b1?zn(_0x3c4b09,_0x7d3f4):_0x3c4b09,_0x59c03c=_0x2a8a35['length']-0x1,_0x2743b6;_0x59c03c>=0x0;_0x59c03c--)(_0x2743b6=_0x2a8a35[_0x59c03c])&&(_0x7a0f11=(_0x5c21b1?_0x2743b6(_0x3c4b09,_0x7d3f4,_0x7a0f11):_0x2743b6(_0x7a0f11))||_0x7a0f11);return _0x5c21b1&&_0x7a0f11&&Kn(_0x3c4b09,_0x7d3f4,_0x7a0f11),_0x7a0f11;},be=(_0x4a1de7,_0x5c21b8)=>(_0x4ba4d3,_0x30de83)=>_0x5c21b8(_0x4ba4d3,_0x30de83,_0x4a1de7),ve=(_0x54354b=>(_0x54354b[_0x54354b[_0x46f17f(0x1e1)]=0x0]=_0x46f17f(0x1e1),_0x54354b[_0x54354b['JOINING']=0x1]=_0x46f17f(0x548),_0x54354b[_0x54354b[_0x46f17f(0x1d3)]=0x2]=_0x46f17f(0x1d3),_0x54354b[_0x54354b[_0x46f17f(0x22b)]=0x3]=_0x46f17f(0x22b),_0x54354b))(ve||{});let is=class extends _0x2ddc3d{constructor(_0x5e79ca,_0x4fefce,_0x4a1408,_0x3d1dbc,_0x1c9b10,_0x31d250,_0x4d9a10,_0x1c937a,_0x39dd6b,_0x62191e){const _0x26fe87=_0x46f17f;super(),g(this,'_sessionStatus$',new _0x4581fa(0x0)),g(this,_0x26fe87(0x52e),this['_sessionStatus$'][_0x26fe87(0x1fb)]()),g(this,'_event$',new _0x31ccd3()),g(this,'event$',this['_event$'][_0x26fe87(0x1fb)]()),g(this,_0x26fe87(0x568)),g(this,_0x26fe87(0x288)),g(this,_0x26fe87(0x287)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x26fe87(0x1b5),null),(this[_0x26fe87(0x2f7)]=_0x5e79ca,this['_logService']=_0x4a1408,this[_0x26fe87(0x3ab)]=_0x3d1dbc,this[_0x26fe87(0x19d)]=_0x1c9b10,this['_configService']=_0x31d250,this[_0x26fe87(0x469)]=_0x4d9a10,this[_0x26fe87(0x57e)]=_0x1c937a,this[_0x26fe87(0x580)]=_0x39dd6b,this[_0x26fe87(0x2c5)]=_0x62191e,this[_0x26fe87(0x262)]=!!this[_0x26fe87(0x2c5)],_0x4fefce[_0x26fe87(0x4e3)](_0x2b97ad(this[_0x26fe87(0x246)]))['subscribe'](_0x8f25b8=>{const _0x3106ce=_0x26fe87;var _0x276757;typeof _0x8f25b8>'u'||(this['_socket']=_0x8f25b8,_0x8f25b8?(this['_joinRoom'](_0x8f25b8),this['_socketMessageSubscription']=_0x8f25b8[_0x3106ce(0x2ae)][_0x3106ce(0x346)](_0x39c64f=>{const _0x4bbb0c=_0x3106ce;_0x39c64f[_0x4bbb0c(0x576)]===this[_0x4bbb0c(0x2f7)]&&this['_onCombEvent'](_0x39c64f);})):(this[_0x3106ce(0x372)](),this[_0x3106ce(0x4f9)][_0x3106ce(0x4e6)](0x2),(_0x276757=this[_0x3106ce(0x288)])==null||_0x276757[_0x3106ce(0x362)](),this['_socketMessageSubscription']=null));}),this[_0x26fe87(0x45a)](this[_0x26fe87(0x3ab)][_0x26fe87(0x284)](()=>{const _0x39c180=_0x26fe87;var _0x2d3f18;(_0x2d3f18=this[_0x39c180(0x568)])==null||_0x2d3f18['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x39c180(0x2f7)]}});})));}get[_0x46f17f(0x513)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){const _0x1adbd3=_0x46f17f;var _0x125e44,_0x23ec38;return(_0x23ec38=(_0x125e44=this['_socket'])==null?void 0x0:_0x125e44[_0x1adbd3(0x3bd)])!=null?_0x23ec38:null;}[_0x46f17f(0x338)](){const _0x55a3d6=_0x46f17f;super['dispose'](),this[_0x55a3d6(0x246)][_0x55a3d6(0x4e6)](),this[_0x55a3d6(0x246)][_0x55a3d6(0x282)]();}[_0x46f17f(0x23e)](){const _0x5952d2=_0x46f17f;var _0x46f9a3,_0x1385e8;this['_throwTelemetryCollaborationNewChangeset'](),(_0x46f9a3=this[_0x5952d2(0x568)])==null||_0x46f9a3[_0x5952d2(0x31a)]({'cmd':W[_0x5952d2(0x26c)],'data':{'roomID':this[_0x5952d2(0x2f7)]}}),(_0x1385e8=this['_socket'])==null||_0x1385e8[_0x5952d2(0x23e)](),this['_event$'][_0x5952d2(0x282)](),this[_0x5952d2(0x4f9)][_0x5952d2(0x282)](),this[_0x5952d2(0x338)]();}[_0x46f17f(0x4ce)](_0x5b4bc8){const _0x4891eb=_0x46f17f;_0x5b4bc8['cmd']===W[_0x4891eb(0x4c3)]?this[_0x4891eb(0x2af)](_0x5b4bc8):_0x5b4bc8['cmd']===W[_0x4891eb(0x214)]&&this[_0x4891eb(0x42a)](_0x5b4bc8);}['_joinRoom'](_0x5a4de4){const _0x20861b=_0x46f17f;this[_0x20861b(0x4f9)][_0x20861b(0x4e6)](0x1),_0x5a4de4[_0x20861b(0x31a)]({'cmd':W[_0x20861b(0x4c3)],'routeKey':this[_0x20861b(0x2f7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x20861b(0x2f7)]}]}});}[_0x46f17f(0x2af)](_0x266a03){const _0x5b6907=_0x46f17f;var _0x3af754;if(_0x266a03[_0x5b6907(0x461)]===bs['FAIL']){this[_0x5b6907(0x19d)][_0x5b6907(0x17e)]({'type':_0x4ed4eb[_0x5b6907(0x475)],'content':this['_localeService']['t'](_0x5b6907(0x194))}),this[_0x5b6907(0x4f9)][_0x5b6907(0x4e6)](0x2);return;}this[_0x5b6907(0x4f9)][_0x5b6907(0x4e6)](0x3);const _0x1f8946=(_0x3af754=_0x266a03[_0x5b6907(0x1bf)][_0x5b6907(0x55d)][this[_0x5b6907(0x2f7)]])==null?void 0x0:_0x3af754[_0x5b6907(0x511)];_0x1f8946&&_0x1f8946['forEach'](_0x493c79=>this['_memberService'][_0x5b6907(0x33f)](this[_0x5b6907(0x2f7)],_0x493c79));}['_onRecvEvent'](_0x1b94d4){const _0x4ec59f=_0x46f17f;try{const _0x6d05c3=_0x1b94d4[_0x4ec59f(0x1bf)];switch(_0x6d05c3['eventID']){case _0x40bfa0[_0x4ec59f(0x52d)]:this[_0x4ec59f(0x517)](_0x6d05c3),this['_event$']['next'](_0x6d05c3);break;case _0x40bfa0[_0x4ec59f(0x2b4)]:this['_onUserLeave'](_0x6d05c3),this[_0x4ec59f(0x1d1)][_0x4ec59f(0x4e6)](_0x6d05c3);break;case _0x40bfa0['CHANGESET_ACK']:case _0x40bfa0['CHANGESET_SHOULD_RETRY']:this[_0x4ec59f(0x256)](),this[_0x4ec59f(0x54f)](),this[_0x4ec59f(0x1d1)][_0x4ec59f(0x4e6)](_0x6d05c3);break;case _0x40bfa0[_0x4ec59f(0x376)]:this['_logService'][_0x4ec59f(0x27d)](_0x4ec59f(0x505)+JSON['stringify'](_0x6d05c3)),this['_event$'][_0x4ec59f(0x4e6)](_0x6d05c3);break;case _0x40bfa0[_0x4ec59f(0x530)]:this[_0x4ec59f(0x580)][_0x4ec59f(0x231)](_0x6d05c3['data']),this[_0x4ec59f(0x1d1)]['next'](_0x6d05c3);break;default:this[_0x4ec59f(0x1d1)][_0x4ec59f(0x4e6)](_0x6d05c3);}}catch(_0x27a5bf){this[_0x4ec59f(0x1a7)][_0x4ec59f(0x27d)](_0x27a5bf,_0x1b94d4);}}[_0x46f17f(0x517)](_0x44bab5){const _0x33ac38=_0x46f17f;this[_0x33ac38(0x57e)][_0x33ac38(0x33f)](this[_0x33ac38(0x2f7)],_0x44bab5[_0x33ac38(0x1bf)]);}[_0x46f17f(0x16d)](_0x4edc19){const _0x770030=_0x46f17f;this[_0x770030(0x57e)]['removeMember'](this[_0x770030(0x2f7)],_0x4edc19['data'][_0x770030(0x3bd)]);}async['send'](_0x835deb,_0x47a8ec){const _0x193328=_0x46f17f;if(this[_0x193328(0x513)]!==0x3||!this['_socket'])throw new Error(_0x193328(0x293));try{_0x835deb[_0x193328(0x242)]===_0x40bfa0[_0x193328(0x2de)]&&(this[_0x193328(0x206)](),this[_0x193328(0x2d8)](_0x835deb)),this['_socket'][_0x193328(0x31a)]({'cmd':W[_0x193328(0x30b)],'routeKey':_0x47a8ec,'routeType':'','data':_0x835deb});}catch(_0x4247eb){this['_logService'][_0x193328(0x27d)](_0x4247eb);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4f5482=_0x46f17f;var _0x15766f;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x3982fb=_0x1425;this['_collaborationTimeoutTimer']=null,this[_0x3982fb(0x19d)][_0x3982fb(0x17e)]({'type':_0x4ed4eb[_0x3982fb(0x180)],'content':this[_0x3982fb(0x469)]['t'](_0x3982fb(0x1ce))});},(_0x15766f=this[_0x4f5482(0x57c)][_0x4f5482(0x4b3)](Di))!=null?_0x15766f:Pi);}[_0x46f17f(0x54f)](){const _0x412f97=_0x46f17f;this[_0x412f97(0x287)]&&(clearTimeout(this[_0x412f97(0x287)]),this[_0x412f97(0x287)]=null);}[_0x46f17f(0x2d8)](_0x4b66cd){const _0x2c9a1c=_0x46f17f;if(!this[_0x2c9a1c(0x262)])return;const {data:_0x3872e3}=_0x4b66cd,{unitID:_0x207ca9,changeset:_0x54b398}=_0x3872e3,{mutations:_0x1ddac7,type:_0x38f3c7}=_0x54b398;this[_0x2c9a1c(0x1b5)]={'unitId':_0x207ca9,'type':_0x38f3c7,'startTime':performance[_0x2c9a1c(0x2a4)](),'stopTime':0x0,'duration':0x0,'size':Wn(_0x1ddac7)};}[_0x46f17f(0x256)](){const _0x21492a=_0x46f17f;if(this['_shouldReportTelemetry']){if(!this[_0x21492a(0x1b5)]){this[_0x21492a(0x1a7)][_0x21492a(0x27d)](_0x21492a(0x23a),_0x21492a(0x58a));return;}this['_telemetryInfo'][_0x21492a(0x22e)]=performance[_0x21492a(0x2a4)](),this[_0x21492a(0x1b5)][_0x21492a(0x4bb)]=this[_0x21492a(0x1b5)]['stopTime']-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x21492a(0x422)](kn,this['_telemetryInfo']),this[_0x21492a(0x1b5)]=null;}}[_0x46f17f(0x372)](){const _0xd2fb0c=_0x46f17f;this[_0xd2fb0c(0x1b5)]=null;}};is=qn([be(0x2,_0x416cf3),be(0x3,_0x17e608),be(0x4,_0x30cbad),be(0x5,_0x175c85),be(0x6,_0x4e871f(_0x19d230)),be(0x7,_0x4e871f(Me)),be(0x8,_0x4e871f(Mi)),be(0x9,_0x1316cb(_0x48de2f))],is);var Xn=Object[_0x46f17f(0x3a4)],Jn=Object[_0x46f17f(0x17b)],Zn=(_0x17abb2,_0x3801fa,_0x50ad75,_0x18259b)=>{const _0x4d5abc=_0x46f17f;for(var _0x2f7fde=_0x18259b>0x1?void 0x0:_0x18259b?Jn(_0x3801fa,_0x50ad75):_0x3801fa,_0xa77fb4=_0x17abb2[_0x4d5abc(0x407)]-0x1,_0x42a620;_0xa77fb4>=0x0;_0xa77fb4--)(_0x42a620=_0x17abb2[_0xa77fb4])&&(_0x2f7fde=(_0x18259b?_0x42a620(_0x3801fa,_0x50ad75,_0x2f7fde):_0x42a620(_0x2f7fde))||_0x2f7fde);return _0x18259b&&_0x2f7fde&&Xn(_0x3801fa,_0x50ad75,_0x2f7fde),_0x2f7fde;},we=(_0x236760,_0x387e8a)=>(_0x133618,_0x3ddf5f)=>_0x387e8a(_0x133618,_0x3ddf5f,_0x236760);let xe=class extends _0x156359{constructor(_0x1ef804,_0x596db1,_0x346140,_0xe4ed94,_0x429a2f,_0x1804ab,_0x4c54f9){const _0x47c967=_0x46f17f;super(),g(this,_0x47c967(0x1ed),new _0x4581fa(void 0x0)),g(this,_0x47c967(0x31b),this[_0x47c967(0x1ed)]['asObservable']()),g(this,'_candidateSocket',null),g(this,_0x47c967(0x2d6),new Map()),g(this,_0x47c967(0x258),new _0x4581fa(ve[_0x47c967(0x1e1)])),g(this,_0x47c967(0x571),this[_0x47c967(0x258)][_0x47c967(0x1fb)]()),g(this,_0x47c967(0x48a),!0x1),g(this,_0x47c967(0x28c)),g(this,_0x47c967(0x54b),0x0),g(this,_0x47c967(0x337)),g(this,_0x47c967(0x2d1)),(this['_injector']=_0x1ef804,this[_0x47c967(0x469)]=_0x596db1,this['_messageService']=_0x346140,this[_0x47c967(0x1a7)]=_0xe4ed94,this[_0x47c967(0x57c)]=_0x429a2f,this[_0x47c967(0x38a)]=_0x1804ab,this[_0x47c967(0x32f)]=_0x4c54f9,this['_initEventListeners']());}get[_0x46f17f(0x568)](){const _0x1a8525=_0x46f17f;return this[_0x1a8525(0x1ed)][_0x1a8525(0x290)]();}[_0x46f17f(0x3da)](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x46f17f(0x338)](){const _0x25fb41=_0x46f17f;super['dispose'](),this[_0x25fb41(0x2d6)][_0x25fb41(0x519)](_0x1ddf54=>_0x1ddf54[_0x25fb41(0x338)]()),this['_sessions'][_0x25fb41(0x4f8)](),this[_0x25fb41(0x258)][_0x25fb41(0x282)]();}async[_0x46f17f(0x294)](_0x2bf57){const _0x31da63=_0x46f17f;if(this[_0x31da63(0x2d6)][_0x31da63(0x49a)](_0x2bf57))return this[_0x31da63(0x2d6)][_0x31da63(0x3e1)](_0x2bf57);this['_tryEnsureSocket']();const _0x212e18=this[_0x31da63(0x176)][_0x31da63(0x2a8)](is,_0x2bf57,this[_0x31da63(0x1ed)][_0x31da63(0x1fb)]());return this['_sessions'][_0x31da63(0x25b)](_0x2bf57,_0x212e18),_0x212e18;}[_0x46f17f(0x497)](_0x1eb3fa){const _0x5cbc7a=_0x46f17f;var _0x262596;const _0x26c304=this[_0x5cbc7a(0x2d6)][_0x5cbc7a(0x3e1)](_0x1eb3fa);_0x26c304&&(this[_0x5cbc7a(0x2d6)][_0x5cbc7a(0x2cd)](_0x1eb3fa),_0x26c304[_0x5cbc7a(0x23e)]()),this[_0x5cbc7a(0x2d6)]['size']||(_0x262596=this['_socket'])==null||_0x262596[_0x5cbc7a(0x23e)]();}[_0x46f17f(0x1d6)](){const _0x424ce3=_0x46f17f;this[_0x424ce3(0x54b)]=0x0,this[_0x424ce3(0x28c)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x46f17f(0x421)](){const _0x34c031=_0x46f17f;var _0x372cf5,_0x762a90,_0x3f9072;const _0x25cdb1=this[_0x34c031(0x57c)]['getConfig'](ee),_0x2e4dd6=(_0x372cf5=_0x25cdb1==null?void 0x0:_0x25cdb1[_0x34c031(0x2eb)])!=null?_0x372cf5:En;return(_0x3f9072=(_0x762a90=(await this[_0x34c031(0x32f)][_0x34c031(0x3e1)](_0x2e4dd6,{'headers':{'Content-Type':_0x34c031(0x3bb)}}))[_0x34c031(0x358)])==null?void 0x0:_0x762a90[_0x34c031(0x507)])!=null?_0x3f9072:'';}[_0x46f17f(0x586)](_0x15cfad){const _0x2e95bc=_0x46f17f;var _0x485a9a,_0x88a2d8;const _0x3ebea7=this[_0x2e95bc(0x57c)][_0x2e95bc(0x4b3)](In),_0x3d3a5e=this[_0x2e95bc(0x57c)][_0x2e95bc(0x4b3)](ee),_0x45a133=(_0x88a2d8=(_0x485a9a=_0x3d3a5e==null?void 0x0:_0x3d3a5e[_0x2e95bc(0x24f)])!=null?_0x485a9a:_0x3ebea7)!=null?_0x88a2d8:Cn,_0x55dfa1=new URL(_0x45a133,window[_0x2e95bc(0x4c7)][_0x2e95bc(0x36b)]);return _0x55dfa1[_0x2e95bc(0x3e4)][_0x2e95bc(0x25b)](_0x2e95bc(0x335),_0x15cfad),_0x55dfa1[_0x2e95bc(0x4b7)]();}async[_0x46f17f(0x329)](){const _0xd101ab=_0x46f17f,_0x3efc52=await this['_getSessionTicket'](),_0x4bdee5=this[_0xd101ab(0x586)](_0x3efc52),_0x5bf5f6=this[_0xd101ab(0x38a)]['createSocket'](_0x4bdee5);return this[_0xd101ab(0x3dc)]=_0x5bf5f6,_0x5bf5f6;}async[_0x46f17f(0x2c1)](){const _0x4d59aa=_0x46f17f;var _0x27d9a0,_0x29230e;try{const _0x2310d5=(_0x29230e=(_0x27d9a0=this[_0x4d59aa(0x568)])!=null?_0x27d9a0:this[_0x4d59aa(0x3dc)])!=null?_0x29230e:await this[_0x4d59aa(0x329)]();if(_0x2310d5){const _0x5d0f43=_0x2310d5[_0x4d59aa(0x31a)];_0x2310d5[_0x4d59aa(0x31a)]=_0x4ea620=>(this[_0x4d59aa(0x27c)](),_0x5d0f43[_0x4d59aa(0x44c)](_0x2310d5,[_0x4ea620])),_0x2310d5['message$'][_0x4d59aa(0x346)](_0x19f15e=>this[_0x4d59aa(0x527)](_0x2310d5,_0x19f15e)),_0x2310d5[_0x4d59aa(0x3df)]['pipe'](_0x265746(0x1))[_0x4d59aa(0x346)](_0x2334fb=>this[_0x4d59aa(0x1a7)][_0x4d59aa(0x27d)](_0x4d59aa(0x2f1),_0x2334fb)),_0x2310d5[_0x4d59aa(0x450)]['pipe'](_0x265746(0x1))['subscribe'](()=>{const _0x4f2abe=_0x4d59aa;this[_0x4f2abe(0x4c1)](_0x2310d5);}),_0x2310d5['close$'][_0x4d59aa(0x4e3)](_0x265746(0x1))[_0x4d59aa(0x346)](_0x151bf4=>{const _0x31f8bc=_0x4d59aa;this['_logService'][_0x31f8bc(0x589)]('[CollaborationSessionService]',_0x31f8bc(0x334),_0x151bf4),this[_0x31f8bc(0x434)]();});}}catch(_0x4f9c03){this[_0x4d59aa(0x1a7)]['error'](_0x4f9c03),this[_0x4d59aa(0x434)]();}}[_0x46f17f(0x4c1)](_0x34fe81){const _0x314799=_0x46f17f;this[_0x314799(0x1a7)]['debug'](_0x314799(0x47a),'socket\x20open.'),_0x34fe81[_0x314799(0x31a)]({'cmd':W['HELLO']}),this[_0x314799(0x27c)]();}[_0x46f17f(0x4ef)](){const _0x2f6fb5=_0x46f17f;window[_0x2f6fb5(0x244)](_0x2f6fb5(0x20a),()=>this[_0x2f6fb5(0x33a)]());}[_0x46f17f(0x33a)](){const _0x45c970=_0x46f17f;this['_socketReady']=!0x1,this[_0x45c970(0x3dc)]=null,this[_0x45c970(0x258)]['next'](ve[_0x45c970(0x1d3)]),this[_0x45c970(0x1ed)][_0x45c970(0x4e6)](null),this['_clearTimeoutTimer'](),this[_0x45c970(0x33b)]();}['_onConnectionFailed'](){const _0x5ecde2=_0x46f17f;var _0x591616;this[_0x5ecde2(0x33a)](),this[_0x5ecde2(0x54b)]<((_0x591616=this[_0x5ecde2(0x57c)]['getConfig'](On))!=null?_0x591616:yn)?(this[_0x5ecde2(0x19d)][_0x5ecde2(0x17e)]({'key':_0x5ecde2(0x1b0),'type':_0x4ed4eb['Warning'],'content':this[_0x5ecde2(0x469)]['t']('session.will-retry')}),this[_0x5ecde2(0x3db)]()):this[_0x5ecde2(0x19d)][_0x5ecde2(0x17e)]({'key':_0x5ecde2(0x1b0),'type':_0x4ed4eb[_0x5ecde2(0x180)],'content':this[_0x5ecde2(0x469)]['t'](_0x5ecde2(0x1fd))});}[_0x46f17f(0x2f8)](){const _0x139efb=_0x46f17f,_0x5821e8=()=>{const _0x1044fa=_0x1425;this[_0x1044fa(0x568)]||this[_0x1044fa(0x1d6)]();},_0xa3541c=()=>{const _0x7660da=_0x1425;this[_0x7660da(0x568)]||document[_0x7660da(0x34f)]===_0x7660da(0x4fb)||this[_0x7660da(0x1d6)]();};window['addEventListener'](_0x139efb(0x2ee),_0x5821e8),document[_0x139efb(0x244)](_0x139efb(0x3ed),_0xa3541c);}['_tryReconnect'](){const _0x3da0aa=_0x46f17f;var _0x457645;const _0x4b6697=this[_0x3da0aa(0x54b)],_0x284086=this[_0x3da0aa(0x57c)][_0x3da0aa(0x4b3)](ee),_0x536609=_0x4b6697===0x0?0x0:((_0x457645=_0x284086==null?void 0x0:_0x284086[_0x3da0aa(0x47f)])!=null?_0x457645:Rn)*0x2**_0x4b6697;this[_0x3da0aa(0x28c)]=window[_0x3da0aa(0x3f6)](()=>{const _0x3b2303=_0x3da0aa;clearTimeout(this['_retryConnectingTimer']),this[_0x3b2303(0x28c)]=null,this[_0x3b2303(0x2c1)]();},_0x536609),this['_retryCount']+=0x1;}['_onMessage'](_0x274103,_0x3efe85){const _0x3c74b2=_0x46f17f,{cmd:_0x381401}=_0x3efe85;_0x381401===W[_0x3c74b2(0x343)]&&!this[_0x3c74b2(0x48a)]&&(_0x274103[_0x3c74b2(0x3bd)]=_0x3efe85['data'][_0x3c74b2(0x3bd)],this[_0x3c74b2(0x1ed)][_0x3c74b2(0x4e6)](_0x274103),this['_status$']['next'](ve[_0x3c74b2(0x22b)]),this[_0x3c74b2(0x48a)]=!0x0,this[_0x3c74b2(0x3dc)]=null),_0x381401===W[_0x3c74b2(0x4aa)]&&this[_0x3c74b2(0x512)](),this['_rescheduleHeartbeat']();}[_0x46f17f(0x27c)](){const _0x548f7c=_0x46f17f;var _0x815466;this[_0x548f7c(0x33b)](),this[_0x548f7c(0x337)]=window[_0x548f7c(0x3f6)](()=>this['_sendHeartbeat'](),(_0x815466=this[_0x548f7c(0x57c)][_0x548f7c(0x4b3)](bn))!=null?_0x815466:Tn);}['_sendHeartbeat'](){const _0x3d4860=_0x46f17f;this[_0x3d4860(0x568)][_0x3d4860(0x31a)]({'cmd':W['HEARTBEAT']}),this[_0x3d4860(0x298)]();}[_0x46f17f(0x298)](){const _0x489748=_0x46f17f;var _0x39fb20;this[_0x489748(0x2d1)]=window[_0x489748(0x3f6)](()=>this['_onConnectionFailed'](),(_0x39fb20=this[_0x489748(0x57c)][_0x489748(0x4b3)](Di))!=null?_0x39fb20:Pi);}[_0x46f17f(0x33b)](){const _0xd48368=_0x46f17f;this[_0xd48368(0x337)]!=null&&(clearTimeout(this[_0xd48368(0x337)]),this[_0xd48368(0x337)]=null);}[_0x46f17f(0x512)](){const _0x60e571=_0x46f17f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x60e571(0x2d1)]),this[_0x60e571(0x2d1)]=null);}};xe=Zn([we(0x0,_0x4e871f(_0x24063a)),we(0x1,_0x4e871f(_0x19d230)),we(0x2,_0x30cbad),we(0x3,_0x416cf3),we(0x4,_0x175c85),we(0x5,Ai),we(0x6,_0x4e871f(_0x595bc6))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x46f17f(0x4b7)](0x10)['slice'](0x1));function Qn(_0x2ec82e,_0x17d9a5=0x0){const _0x220ba9=_0x46f17f;return(Y[_0x2ec82e[_0x17d9a5+0x0]]+Y[_0x2ec82e[_0x17d9a5+0x1]]+Y[_0x2ec82e[_0x17d9a5+0x2]]+Y[_0x2ec82e[_0x17d9a5+0x3]]+'-'+Y[_0x2ec82e[_0x17d9a5+0x4]]+Y[_0x2ec82e[_0x17d9a5+0x5]]+'-'+Y[_0x2ec82e[_0x17d9a5+0x6]]+Y[_0x2ec82e[_0x17d9a5+0x7]]+'-'+Y[_0x2ec82e[_0x17d9a5+0x8]]+Y[_0x2ec82e[_0x17d9a5+0x9]]+'-'+Y[_0x2ec82e[_0x17d9a5+0xa]]+Y[_0x2ec82e[_0x17d9a5+0xb]]+Y[_0x2ec82e[_0x17d9a5+0xc]]+Y[_0x2ec82e[_0x17d9a5+0xd]]+Y[_0x2ec82e[_0x17d9a5+0xe]]+Y[_0x2ec82e[_0x17d9a5+0xf]])[_0x220ba9(0x3ec)]();}let Mt;const eo=new Uint8Array(0x10);function to(){const _0x757c80=_0x46f17f;if(!Mt){if(typeof crypto>'u'||!crypto[_0x757c80(0x423)])throw new Error(_0x757c80(0x1d7));Mt=crypto[_0x757c80(0x423)][_0x757c80(0x339)](crypto);}return Mt(eo);}const so=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x46f17f(0x339)](crypto),Fs={'randomUUID':so};function io(_0x444bbb,_0x5ad504,_0xc8e498){const _0x4363c5=_0x46f17f;if(Fs[_0x4363c5(0x1bd)]&&!_0x5ad504&&!_0x444bbb)return Fs[_0x4363c5(0x1bd)]();_0x444bbb=_0x444bbb||{};const _0x1461bc=_0x444bbb[_0x4363c5(0x237)]||(_0x444bbb[_0x4363c5(0x493)]||to)();return _0x1461bc[0x6]=_0x1461bc[0x6]&0xf|0x40,_0x1461bc[0x8]=_0x1461bc[0x8]&0x3f|0x80,Qn(_0x1461bc);}var ro=Object[_0x46f17f(0x3a4)],no=Object[_0x46f17f(0x17b)],oo=(_0x1d985c,_0x3f7c6c,_0x3e4e1c,_0x2322f3)=>{const _0x587d75=_0x46f17f;for(var _0x5782fd=_0x2322f3>0x1?void 0x0:_0x2322f3?no(_0x3f7c6c,_0x3e4e1c):_0x3f7c6c,_0x127505=_0x1d985c[_0x587d75(0x407)]-0x1,_0x247e7c;_0x127505>=0x0;_0x127505--)(_0x247e7c=_0x1d985c[_0x127505])&&(_0x5782fd=(_0x2322f3?_0x247e7c(_0x3f7c6c,_0x3e4e1c,_0x5782fd):_0x247e7c(_0x5782fd))||_0x5782fd);return _0x2322f3&&_0x5782fd&&ro(_0x3f7c6c,_0x3e4e1c,_0x5782fd),_0x5782fd;},xt=(_0x278493,_0x29b40d)=>(_0x82bce7,_0x30efaf)=>_0x29b40d(_0x82bce7,_0x30efaf,_0x278493);let vt=class{constructor(_0x431f2e,_0x18c8ac,_0x457557){const _0x2a9383=_0x46f17f;this[_0x2a9383(0x176)]=_0x431f2e,this[_0x2a9383(0x53b)]=_0x18c8ac,this[_0x2a9383(0x25d)]=_0x457557;}[_0x46f17f(0x3b3)](_0x227f7f){const _0x3f6681=_0x46f17f;this[_0x3f6681(0x409)](_0x227f7f),this['_transformPreviousActiveRange'](_0x227f7f);}[_0x46f17f(0x4ea)](_0x37128e){const _0x2052ba=_0x46f17f,{unitID:_0x546ed0}=_0x37128e,_0x8ce8f8=this[_0x2052ba(0x25d)][_0x2052ba(0x169)](_0x546ed0)['with'](_0x20d10d),{redoCache:_0x3630b3}=_0x8ce8f8[_0x2052ba(0x57d)]();if(_0x3630b3[_0x2052ba(0x407)]===0x0)return _0x37128e;let _0x558c00=_0x389286[_0x2052ba(0x1eb)](_0x37128e['mutations'][0x0]);for(let _0x45b06f=0x0;_0x45b06f<_0x3630b3[_0x2052ba(0x407)];_0x45b06f++){const _0x563726={'id':'doc.mutation.rich-text-editing','params':{..._0x3630b3[_0x45b06f]}},_0x35c0ab=this['_transformService'][_0x2052ba(0x31d)](_0x558c00,_0x563726,!0x1);if(_0x391986(_0x35c0ab))throw _0x35c0ab[_0x2052ba(0x27d)];_0x558c00=_0x35c0ab[_0x2052ba(0x377)];}return{..._0x389286[_0x2052ba(0x1eb)](_0x37128e),'mutations':[_0x558c00]};}[_0x46f17f(0x409)](_0x85c498){const _0x218d26=_0x46f17f,{unitID:_0x2a1aa3}=_0x85c498,_0x1fb48c=this[_0x218d26(0x25d)]['getRenderById'](_0x2a1aa3)[_0x218d26(0x453)](_0x20d10d),{undoCache:_0x555129,redoCache:_0x478bff}=_0x1fb48c['getUndoRedoMutationParamsCache']();if(_0x555129[_0x218d26(0x407)]===0x0||_0x478bff[_0x218d26(0x407)]===0x0)return;const _0x212166=[],_0x2ae503=[];let _0xf5c3a4=_0x389286[_0x218d26(0x1eb)](_0x85c498[_0x218d26(0x49d)][0x0]),_0x58d160=_0x389286[_0x218d26(0x1eb)](_0x85c498['mutations'][0x0]);for(let _0x1671ef=_0x555129[_0x218d26(0x407)]-0x1;_0x1671ef>=0x0;_0x1671ef--){const _0x40698f={'id':'doc.mutation.rich-text-editing','params':{..._0x555129[_0x1671ef]}},_0xb92880={'id':'doc.mutation.rich-text-editing','params':{..._0x478bff[_0x1671ef]}},_0x2ccb3d=this[_0x218d26(0x53b)]['transformMutation'](_0xf5c3a4,_0x40698f,!0x1),_0x1bb95a=this[_0x218d26(0x53b)][_0x218d26(0x31d)](_0x58d160,_0xb92880,!0x1);if(_0x391986(_0x2ccb3d))throw _0x2ccb3d[_0x218d26(0x27d)];if(_0x391986(_0x1bb95a))throw _0x1bb95a[_0x218d26(0x27d)];_0x212166[_0x218d26(0x28e)](_0x2ccb3d[_0x218d26(0x178)][_0x218d26(0x496)]),_0x2ae503['unshift'](_0x1bb95a[_0x218d26(0x178)][_0x218d26(0x496)]),_0xf5c3a4=_0x2ccb3d[_0x218d26(0x377)],_0x58d160=_0x1bb95a[_0x218d26(0x377)];}_0x1fb48c[_0x218d26(0x553)]({'undoCache':_0x212166,'redoCache':_0x2ae503});}[_0x46f17f(0x2b2)](_0x3f1504){const _0x3c44c7=_0x46f17f,{unitID:_0x46c4d8}=_0x3f1504,_0x57b915=this[_0x3c44c7(0x25d)][_0x3c44c7(0x169)](_0x46c4d8)[_0x3c44c7(0x453)](_0x20d10d),_0x55a047=_0x57b915[_0x3c44c7(0x219)]();if(_0x55a047==null)return;const _0x2b7c70=[{'id':_0x3c44c7(0x1e4),'params':{'unitId':_0x3f1504['unitID'],'actions':null,'textRanges':[_0x55a047]}}],_0x635354=this[_0x3c44c7(0x53b)][_0x3c44c7(0x46f)](_0x3f1504,_0x2b7c70);if(!_0x12fb0f(_0x635354))throw _0x635354[_0x3c44c7(0x27d)];const _0x1fe901=_0x635354[_0x3c44c7(0x178)][0x0][_0x3c44c7(0x496)][_0x3c44c7(0x167)];Array[_0x3c44c7(0x328)](_0x1fe901)&&_0x1fe901[_0x3c44c7(0x407)]&&_0x57b915[_0x3c44c7(0x58b)](_0x1fe901[0x0]);}};vt=oo([xt(0x0,_0x4e871f(_0x24063a)),xt(0x1,_0x1ea1f3),xt(0x2,_0x51f1aa)],vt);var ao=Object[_0x46f17f(0x3a4)],co=Object[_0x46f17f(0x17b)],ho=(_0x37539f,_0x2037fa,_0x1a5ea3,_0x332932)=>{const _0x4fe355=_0x46f17f;for(var _0x17562a=_0x332932>0x1?void 0x0:_0x332932?co(_0x2037fa,_0x1a5ea3):_0x2037fa,_0xac5351=_0x37539f[_0x4fe355(0x407)]-0x1,_0x5c6771;_0xac5351>=0x0;_0xac5351--)(_0x5c6771=_0x37539f[_0xac5351])&&(_0x17562a=(_0x332932?_0x5c6771(_0x2037fa,_0x1a5ea3,_0x17562a):_0x5c6771(_0x17562a))||_0x17562a);return _0x332932&&_0x17562a&&ao(_0x2037fa,_0x1a5ea3,_0x17562a),_0x17562a;},Xe=(_0xf17f98,_0x2523d6)=>(_0x3fd815,_0x195cc8)=>_0x2523d6(_0x3fd815,_0x195cc8,_0xf17f98);let q=class extends _0x156359{constructor(_0x46f1a5,_0x56c394,_0x4d9c56,_0x1ec38f,_0x7eed10){const _0x5cb4e3=_0x46f17f;super(),g(this,_0x5cb4e3(0x22a),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x5cb4e3(0x541),!0x1),(this['_configService']=_0x46f1a5,this[_0x5cb4e3(0x39f)]=_0x56c394,this['_beforeCloseService']=_0x4d9c56,this[_0x5cb4e3(0x469)]=_0x1ec38f,this['_revisionService']=_0x7eed10,this['_setupBeforeClosingHandler']());}[_0x46f17f(0x393)](){const _0x2fb322=_0x46f17f;this[_0x2fb322(0x541)]=!0x0;}[_0x46f17f(0x24e)](){const _0x3abdca=_0x46f17f;this[_0x3abdca(0x541)]=!0x1;}[_0x46f17f(0x338)](){const _0x236420=_0x46f17f;this[_0x236420(0x19f)]()['then'](()=>super[_0x236420(0x338)]());}async['loadOfflineData'](_0x2b23f7){const _0x338985=_0x46f17f;return this[_0x338985(0x541)]?null:this[_0x338985(0x39f)]['getItem'](Vs(_0x2b23f7));}async[_0x46f17f(0x1aa)](_0x2466bb,_0xd40661){const _0x52f017=_0x46f17f;return!!this['_localStorageService'][_0x52f017(0x44f)](_0x2466bb,_0xd40661);}[_0x46f17f(0x32d)](_0x595433,_0x516b14,_0x1aefe4,_0x3ef0f7){const _0x141987=_0x46f17f,_0x127594=this['_revisionService'][_0x141987(0x3c2)](_0x595433);this[_0x141987(0x22a)][_0x141987(0x25b)](_0x595433,{'unitID':_0x595433,'type':_0x516b14,'awaitingChangeset':_0x1aefe4,'mutations':_0x3ef0f7,'rev':_0x127594}),this[_0x141987(0x1cb)][_0x141987(0x49a)](_0x595433)||this['_scheduleSaving'](_0x595433);}[_0x46f17f(0x3c5)](_0x29d73f){const _0x545dd1=_0x46f17f,_0x5bf027=this[_0x545dd1(0x3fc)]();_0x5bf027===0x0?this[_0x545dd1(0x4d6)](_0x29d73f):this[_0x545dd1(0x1cb)][_0x545dd1(0x25b)](_0x29d73f,setTimeout(()=>this[_0x545dd1(0x4d6)](_0x29d73f),_0x5bf027));}['_getSaveTimeout'](){const _0x1351f9=_0x46f17f;var _0x28f92c;return(_0x28f92c=this[_0x1351f9(0x57c)][_0x1351f9(0x4b3)](wn))!=null?_0x28f92c:Dn;}[_0x46f17f(0x4d6)](_0xac88b9){const _0x194b8c=_0x46f17f,_0x2b7576=this[_0x194b8c(0x1cb)][_0x194b8c(0x3e1)](_0xac88b9);return _0x2b7576!==void 0x0&&window[_0x194b8c(0x2c0)](_0x2b7576),this['_localStorageService'][_0x194b8c(0x44f)](Vs(_0xac88b9),this['_cachedData'][_0x194b8c(0x3e1)](_0xac88b9))['then'](()=>this[_0x194b8c(0x1cb)][_0x194b8c(0x2cd)](_0xac88b9));}async[_0x46f17f(0x19f)](){const _0x58d59a=_0x46f17f,_0x16e02b=[];this[_0x58d59a(0x1cb)]['forEach']((_0x3f17bd,_0x4a883d)=>{const _0x1e6cd8=_0x58d59a;window[_0x1e6cd8(0x2c0)](_0x3f17bd),_0x16e02b[_0x1e6cd8(0x23d)](this[_0x1e6cd8(0x4d6)](_0x4a883d)[_0x1e6cd8(0x3b2)](()=>{const _0x26e25f=_0x1e6cd8;this[_0x26e25f(0x1cb)][_0x26e25f(0x2cd)](_0x4a883d);}));}),await Promise['all'](_0x16e02b);}[_0x46f17f(0x4b4)](){const _0x5efc5e=_0x46f17f;this[_0x5efc5e(0x45a)](this[_0x5efc5e(0x3ab)][_0x5efc5e(0x3a3)](()=>{const _0x1e7ddd=_0x5efc5e;if(this[_0x1e7ddd(0x1cb)]['size'])return this[_0x1e7ddd(0x469)]['t'](_0x1e7ddd(0x182));}));}};q=ho([Xe(0x0,_0x175c85),Xe(0x1,_0x4b294d),Xe(0x2,_0x17e608),Xe(0x3,_0x4e871f(_0x19d230)),Xe(0x4,_0x4e871f(_0x55fa5b))],q);function Vs(_0x340c33){const _0x4f1330=_0x46f17f;return _0x4f1330(0x520)+_0x340c33;}var lo=Object[_0x46f17f(0x3a4)],_o=Object[_0x46f17f(0x17b)],uo=(_0x2f0c6f,_0x4dbcbb,_0x1d381b,_0x2b2e5a)=>{const _0x2becb2=_0x46f17f;for(var _0x517b7d=_0x2b2e5a>0x1?void 0x0:_0x2b2e5a?_o(_0x4dbcbb,_0x1d381b):_0x4dbcbb,_0x2eb70a=_0x2f0c6f[_0x2becb2(0x407)]-0x1,_0x422c50;_0x2eb70a>=0x0;_0x2eb70a--)(_0x422c50=_0x2f0c6f[_0x2eb70a])&&(_0x517b7d=(_0x2b2e5a?_0x422c50(_0x4dbcbb,_0x1d381b,_0x517b7d):_0x422c50(_0x517b7d))||_0x517b7d);return _0x2b2e5a&&_0x517b7d&&lo(_0x4dbcbb,_0x1d381b,_0x517b7d),_0x517b7d;},Lt=(_0x44be31,_0x3a195a)=>(_0x4c26ee,_0x14ef72)=>_0x3a195a(_0x4c26ee,_0x14ef72,_0x44be31);function fo(_0x1841b8){const _0x1decab=_0x46f17f,{unitID:_0x22cdfe,mutations:_0x2a6e0a}=_0x1841b8;return{'unitId':_0x22cdfe,'subUnitId':_0x2a6e0a[0x0][_0x1decab(0x496)]['subUnitId']};}let mt=class{constructor(_0x29cc20,_0x52bda6,_0x1cc286){const _0x50c83e=_0x46f17f;this[_0x50c83e(0x176)]=_0x29cc20,this[_0x50c83e(0x53b)]=_0x52bda6,this[_0x50c83e(0x2c6)]=_0x1cc286;}['transformSelections'](_0x5cf941){const _0x3a59a3=_0x46f17f;var _0x339f5e,_0x4ff868,_0x14026a,_0x2a0c51;const _0x3f8579=this[_0x3a59a3(0x176)][_0x3a59a3(0x3e1)](_0x57d5f4),{unitId:_0x229c97,subUnitId:_0x2ad78b}=fo(_0x5cf941),_0x3774e0=_0x3f8579[_0x3a59a3(0x430)](_0x229c97)['getCurrentSelections'](),_0x3df0ac=(_0x4ff868=(_0x339f5e=this['_instanceService'][_0x3a59a3(0x471)](_0x229c97))==null?void 0x0:_0x339f5e[_0x3a59a3(0x4c5)]())==null?void 0x0:_0x4ff868[_0x3a59a3(0x316)]();if(_0x3774e0[_0x3a59a3(0x407)]===0x0||!_0x229c97||!_0x2ad78b)return;const _0x5689be=[{'id':_0x4feead['id'],'params':{'unitId':_0x229c97,'subUnitId':_0x3df0ac,'selections':_0x389286[_0x3a59a3(0x1eb)](_0x3774e0)}}],_0x5b216e=this[_0x3a59a3(0x53b)][_0x3a59a3(0x46f)](_0x5cf941,_0x5689be);if(!_0x12fb0f(_0x5b216e))throw _0x5b216e['error'];const _0x5c76f9=(_0x2a0c51=(_0x14026a=_0x5b216e[_0x3a59a3(0x178)][0x0])==null?void 0x0:_0x14026a[_0x3a59a3(0x496)])==null?void 0x0:_0x2a0c51[_0x3a59a3(0x51e)];if(Array[_0x3a59a3(0x328)](_0x5c76f9)&&_0x5c76f9[_0x3a59a3(0x407)]){if(_0x5c76f9[_0x3a59a3(0x407)]===_0x5689be[0x0][_0x3a59a3(0x496)][_0x3a59a3(0x51e)][_0x3a59a3(0x407)]&&_0x5c76f9[_0x3a59a3(0x4f6)]((_0x4ad2a0,_0x45149f)=>_0x135866[_0x3a59a3(0x4cf)](_0x4ad2a0[_0x3a59a3(0x30c)],_0x5689be[0x0][_0x3a59a3(0x496)][_0x3a59a3(0x51e)][_0x45149f]['range'])))return;this[_0x3a59a3(0x176)][_0x3a59a3(0x3e1)](_0x15e74e)[_0x3a59a3(0x521)](_0x4feead['id'],{'unitId':_0x229c97,'subUnitId':_0x3df0ac,'selections':_0x5c76f9});}}};mt=uo([Lt(0x0,_0x4e871f(_0x24063a)),Lt(0x1,_0x1ea1f3),Lt(0x2,_0x2d6c6a)],mt);const yt=_0x1035a6(_0x46f17f(0x3cc));var xi=(_0x5acc5f=>(_0x5acc5f[_0x5acc5f[_0x46f17f(0x42f)]=0x0]=_0x46f17f(0x42f),_0x5acc5f[_0x5acc5f[_0x46f17f(0x4cd)]=0x1]=_0x46f17f(0x4cd),_0x5acc5f))(xi||{});const Gs=0x7530,Ys='ACTIVE_UNIT_EVENT_CHANNEL';class vo extends _0x156359{constructor(){const _0x44224f=_0x46f17f;super(),g(this,_0x44224f(0x24c),_0x389286[_0x44224f(0x467)]()),g(this,_0x44224f(0x46a),new Set()),g(this,_0x44224f(0x4dd),new Map()),g(this,_0x44224f(0x1b7),null),g(this,'_clearOtherTimers',new Map()),g(this,_0x44224f(0x2d4),new Map()),this[_0x44224f(0x3a9)]();}[_0x46f17f(0x338)](){const _0x14f1f9=_0x46f17f;super['dispose'](),this[_0x14f1f9(0x208)]['forEach']((_0x52b0fd,_0x2c0f1f)=>this['_removeClearOtherTimer'](_0x2c0f1f)),this[_0x14f1f9(0x1b7)]&&window[_0x14f1f9(0x2e2)](this[_0x14f1f9(0x1b7)]);}[_0x46f17f(0x486)](_0x5b4daf){const _0x4cff09=_0x46f17f;return this[_0x4cff09(0x22f)](_0x5b4daf)[_0x4cff09(0x4e3)](_0x242d51());}['editingUnit'](_0x258126){const _0x5b102d=_0x46f17f;this['_selfUnitIDs'][_0x5b102d(0x16c)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5b102d(0x46a)][_0x5b102d(0x42c)](_0x258126),this[_0x5b102d(0x374)]({'type':0x0,'memberID':this[_0x5b102d(0x24c)],'unitIDs':[_0x258126],'isForwarded':!0x1});}[_0x46f17f(0x386)](_0x17eabd){const _0x453c79=_0x46f17f;this[_0x453c79(0x46a)]['delete'](_0x17eabd),this[_0x453c79(0x46a)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x453c79(0x2e2)](this[_0x453c79(0x1b7)]);}[_0x46f17f(0x3a9)](){const _0xdc9972=_0x46f17f;this['disposeWithMe'](_0x105bf3(_0x249771(window,_0xdc9972(0x24a))[_0xdc9972(0x346)](_0x418126=>{const _0x523fe3=_0xdc9972;if(_0x418126[_0x523fe3(0x1ae)]!==Ys||!_0x418126[_0x523fe3(0x572)])return;const _0x24ae41=JSON[_0x523fe3(0x4b9)](_0x418126[_0x523fe3(0x572)]);this[_0x523fe3(0x4d7)](_0x24ae41);}))),window[_0xdc9972(0x244)](_0xdc9972(0x21b),()=>this[_0xdc9972(0x374)]({'type':0x1,'memberID':this[_0xdc9972(0x24c)],'unitIDs':Array['from'](this[_0xdc9972(0x46a)])}));}[_0x46f17f(0x4d7)](_0x2b2bd4){const _0x5c353a=_0x46f17f;switch(_0x2b2bd4[_0x5c353a(0x2a2)]){case 0x0:this[_0x5c353a(0x1ec)](_0x2b2bd4);break;case 0x1:this[_0x5c353a(0x440)](_0x2b2bd4);break;case 0x2:this[_0x5c353a(0x35d)](_0x2b2bd4);break;}}[_0x46f17f(0x1ec)](_0x253fbc){const _0x466f83=_0x46f17f,{unitIDs:_0x41b0ad,memberID:_0x3d543d,isForwarded:_0x40818b}=_0x253fbc;_0x41b0ad[_0x466f83(0x519)](_0x3304d2=>{const _0x4ccc04=_0x466f83;if(!_0x40818b&&this[_0x4ccc04(0x4dd)][_0x4ccc04(0x49a)](_0x3304d2)&&this[_0x4ccc04(0x22f)](_0x3304d2)[_0x4ccc04(0x4e6)](0x1),!this[_0x4ccc04(0x4dd)]['has'](_0x3304d2)||!this[_0x4ccc04(0x4dd)][_0x4ccc04(0x3e1)](_0x3304d2)[_0x4ccc04(0x49a)](_0x3d543d)){const _0x6481b1=this[_0x4ccc04(0x4dd)]['get'](_0x3304d2)||new Set();_0x6481b1['add'](_0x3d543d),this[_0x4ccc04(0x4dd)]['set'](_0x3304d2,_0x6481b1),this[_0x4ccc04(0x56d)](_0x3d543d);}}),_0x40818b||this[_0x466f83(0x374)]({'type':0x0,'memberID':this[_0x466f83(0x24c)],'unitIDs':[...this[_0x466f83(0x46a)]],'isForwarded':!0x0});}[_0x46f17f(0x56d)](_0x5d3c74){const _0x259994=_0x46f17f;this['_removeClearOtherTimer'](_0x5d3c74);const _0x42a089=window[_0x259994(0x3f6)](()=>{const _0x429c12=_0x259994;this[_0x429c12(0x4dd)]['forEach'](_0x576364=>{const _0x4f472e=_0x429c12;_0x576364[_0x4f472e(0x2cd)](_0x5d3c74);});},Gs*0x2);this['_clearOtherTimers'][_0x259994(0x25b)](_0x5d3c74,_0x42a089);}[_0x46f17f(0x41b)](_0x1c32fd){const _0x4d6253=_0x46f17f;if(this['_clearOtherTimers'][_0x4d6253(0x49a)](_0x1c32fd)){const _0x128176=this[_0x4d6253(0x208)][_0x4d6253(0x3e1)](_0x1c32fd);_0x128176&&window[_0x4d6253(0x2c0)](_0x128176),this[_0x4d6253(0x208)][_0x4d6253(0x25b)](_0x1c32fd,null);}}[_0x46f17f(0x440)](_0x3a09b1){const _0x201349=_0x46f17f,{memberID:_0x35d7e2,unitIDs:_0x3d6e6a}=_0x3a09b1;_0x3d6e6a[_0x201349(0x519)](_0x2257cb=>{const _0x43abf9=_0x201349;var _0x1cef8a;const _0x6b5544=this[_0x43abf9(0x4dd)][_0x43abf9(0x3e1)](_0x2257cb);_0x6b5544&&(_0x6b5544[_0x43abf9(0x2cd)](_0x35d7e2),(_0x1cef8a=this[_0x43abf9(0x22f)](_0x2257cb))==null||_0x1cef8a['next'](_0x6b5544[_0x43abf9(0x16c)]===0x0?0x0:0x1));}),this[_0x201349(0x41b)](_0x35d7e2);}[_0x46f17f(0x35d)](_0x4a16d6){const _0x405b3f=_0x46f17f;this[_0x405b3f(0x56d)](_0x4a16d6[_0x405b3f(0x3bd)]);}[_0x46f17f(0x374)](_0x52f18e){const _0xe19eda=_0x46f17f;localStorage['setItem'](Ys,JSON[_0xe19eda(0x353)](_0x52f18e));}[_0x46f17f(0x4fd)](){const _0x39f818=_0x46f17f;this[_0x39f818(0x1b7)]=window[_0x39f818(0x35e)](()=>{const _0x4a0725=_0x39f818;this[_0x4a0725(0x374)]({'type':0x2,'memberID':this[_0x4a0725(0x24c)]});},Gs);}[_0x46f17f(0x22f)](_0x1eb3f8){const _0x5b5503=_0x46f17f;return this[_0x5b5503(0x2d4)][_0x5b5503(0x49a)](_0x1eb3f8)||this['_unitStatus'][_0x5b5503(0x25b)](_0x1eb3f8,new _0x4581fa(0x0)),this[_0x5b5503(0x2d4)]['get'](_0x1eb3f8);}}var mo=Object[_0x46f17f(0x3a4)],po=Object[_0x46f17f(0x17b)],go=(_0x1b47b6,_0x5218a0,_0x159e7a,_0x105569)=>{const _0x3d3c1e=_0x46f17f;for(var _0x474b41=_0x105569>0x1?void 0x0:_0x105569?po(_0x5218a0,_0x159e7a):_0x5218a0,_0xa34380=_0x1b47b6[_0x3d3c1e(0x407)]-0x1,_0x409639;_0xa34380>=0x0;_0xa34380--)(_0x409639=_0x1b47b6[_0xa34380])&&(_0x474b41=(_0x105569?_0x409639(_0x5218a0,_0x159e7a,_0x474b41):_0x409639(_0x474b41))||_0x474b41);return _0x105569&&_0x474b41&&mo(_0x5218a0,_0x159e7a,_0x474b41),_0x474b41;},$t=(_0x572032,_0x2b9100)=>(_0x1c607e,_0x1193c4)=>_0x2b9100(_0x1c607e,_0x1193c4,_0x572032);let pt=class{constructor(_0x7200fb,_0x5cc2e2,_0x3d550f){const _0x3db815=_0x46f17f;this[_0x3db815(0x176)]=_0x7200fb,this[_0x3db815(0x53b)]=_0x5cc2e2,this[_0x3db815(0x532)]=_0x3d550f;}[_0x46f17f(0x408)](_0x3ad4ca){this['_transformHistoryAndStateStack'](_0x3ad4ca);}[_0x46f17f(0x4ea)](_0x240bcd){const _0x58cc97=_0x46f17f,{unitID:_0x21f6c3}=_0x240bcd,{collaboration:_0x37cc0c}=this['_docStateChangeManagerService'][_0x58cc97(0x32c)](_0x21f6c3);if(_0x37cc0c[_0x58cc97(0x407)]===0x0)return _0x240bcd;let _0x281acc=_0x389286[_0x58cc97(0x1eb)](_0x240bcd[_0x58cc97(0x49d)][0x0]);for(let _0x1802da=0x0;_0x1802da<_0x37cc0c['length'];_0x1802da++){const _0x1b57e2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37cc0c[_0x1802da][_0x58cc97(0x318)],..._0x37cc0c[_0x1802da]['redoState']}},_0x9d2103=this['_transformService'][_0x58cc97(0x31d)](_0x281acc,_0x1b57e2,!0x1);if(_0x391986(_0x9d2103))throw _0x9d2103[_0x58cc97(0x27d)];_0x281acc=_0x9d2103[_0x58cc97(0x377)];}return{..._0x389286[_0x58cc97(0x1eb)](_0x240bcd),'mutations':[_0x281acc]};}['_transformHistoryAndStateStack'](_0x5698e9){const _0x2aa36f=_0x46f17f,{unitID:_0x2dc04c}=_0x5698e9,{history:_0x3364c3,collaboration:_0x1d3851}=this[_0x2aa36f(0x532)][_0x2aa36f(0x32c)](_0x2dc04c);if(_0x3364c3[_0x2aa36f(0x407)]===0x0&&_0x1d3851[_0x2aa36f(0x407)]===0x0)return;const _0x2173ab=[],_0x3b034f=[];let _0x2d070c=_0x389286['deepClone'](_0x5698e9[_0x2aa36f(0x49d)][0x0]),_0x13364c=_0x389286['deepClone'](_0x5698e9[_0x2aa36f(0x49d)][0x0]);for(let _0x56a1b2=_0x3364c3[_0x2aa36f(0x407)]-0x1;_0x56a1b2>=0x0;_0x56a1b2--){const _0x1366c6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3364c3[_0x56a1b2][_0x2aa36f(0x318)],..._0x3364c3[_0x56a1b2]['undoState']}},_0x44d42c={'id':_0x2aa36f(0x1e4),'params':{'unitId':_0x3364c3[_0x56a1b2][_0x2aa36f(0x318)],..._0x3364c3[_0x56a1b2][_0x2aa36f(0x195)]}},_0x5d97dc=this[_0x2aa36f(0x53b)][_0x2aa36f(0x31d)](_0x2d070c,_0x1366c6,!0x1),_0x4cafbf=this[_0x2aa36f(0x53b)][_0x2aa36f(0x31d)](_0x13364c,_0x44d42c,!0x1);if(_0x391986(_0x5d97dc))throw _0x5d97dc[_0x2aa36f(0x27d)];if(_0x391986(_0x4cafbf))throw _0x4cafbf[_0x2aa36f(0x27d)];_0x2173ab[_0x2aa36f(0x28e)]({..._0x3364c3[_0x56a1b2],'undoState':_0x5d97dc[_0x2aa36f(0x178)]['params'],'redoState':_0x4cafbf[_0x2aa36f(0x178)][_0x2aa36f(0x496)]}),_0x2d070c=_0x5d97dc[_0x2aa36f(0x377)],_0x13364c=_0x4cafbf['m1Prime'];}_0x2d070c=_0x389286[_0x2aa36f(0x1eb)](_0x5698e9['mutations'][0x0]),_0x13364c=_0x389286[_0x2aa36f(0x1eb)](_0x5698e9['mutations'][0x0]);for(let _0x2dadbb=_0x1d3851[_0x2aa36f(0x407)]-0x1;_0x2dadbb>=0x0;_0x2dadbb--){const _0x234d54={'id':_0x2aa36f(0x1e4),'params':{'unitId':_0x1d3851[_0x2dadbb][_0x2aa36f(0x318)],..._0x1d3851[_0x2dadbb][_0x2aa36f(0x42b)]}},_0x2f3ff3={'id':_0x2aa36f(0x1e4),'params':{'unitId':_0x1d3851[_0x2dadbb]['unitId'],..._0x1d3851[_0x2dadbb][_0x2aa36f(0x195)]}},_0x164e65=this[_0x2aa36f(0x53b)][_0x2aa36f(0x31d)](_0x2d070c,_0x234d54,!0x1),_0x595d78=this[_0x2aa36f(0x53b)][_0x2aa36f(0x31d)](_0x13364c,_0x2f3ff3,!0x1);if(_0x391986(_0x164e65))throw _0x164e65[_0x2aa36f(0x27d)];if(_0x391986(_0x595d78))throw _0x595d78[_0x2aa36f(0x27d)];_0x3b034f[_0x2aa36f(0x28e)]({..._0x1d3851[_0x2dadbb],'undoState':_0x164e65[_0x2aa36f(0x178)][_0x2aa36f(0x496)],'redoState':_0x595d78['m2Prime']['params']}),_0x2d070c=_0x164e65[_0x2aa36f(0x377)],_0x13364c=_0x595d78[_0x2aa36f(0x377)];}this[_0x2aa36f(0x532)][_0x2aa36f(0x309)](_0x2dc04c,{'history':_0x2173ab,'collaboration':_0x3b034f});}};pt=go([$t(0x0,_0x4e871f(_0x24063a)),$t(0x1,_0x1ea1f3),$t(0x2,_0x4e871f(_0x280b41))],pt);function Li(_0x55ce42){const _0x3898b0=_0x46f17f;let _0x1c53f5='';for(const _0x372bab of _0x55ce42){const {startOffset:_0x328971,endOffset:_0x1c1aad,isActive:_0x34731b,rangeType:_0x58181c,segmentId:_0x1b6daa,segmentPage:_0x44cfc9}=_0x372bab;_0x1c53f5[_0x3898b0(0x407)]&&(_0x1c53f5+=','),_0x1c53f5+=_0x328971+':'+_0x1c1aad+':'+(_0x34731b?'1':'0')+':'+_0x58181c+':'+_0x1b6daa+':'+_0x44cfc9;}return _0x1c53f5;}function So(_0x3c77a0){const _0x260253=_0x46f17f,_0x57c038=_0x3c77a0['split'](','),_0x14b6e4=[];for(const _0x3ae180 of _0x57c038){const [_0x2cc129,_0x3ad81e,_0x47857b,_0x34d885,_0x136336,_0x594b5d]=_0x3ae180[_0x260253(0x190)](':');_0x14b6e4[_0x260253(0x23d)]({'startOffset':Number(_0x2cc129),'endOffset':Number(_0x3ad81e),'collapsed':_0x2cc129===_0x3ad81e,'isActive':_0x47857b==='1','rangeType':_0x34d885===_0x32f3c1[_0x260253(0x2ad)]?_0x32f3c1[_0x260253(0x2ad)]:_0x32f3c1[_0x260253(0x428)],'segmentId':typeof _0x136336==_0x260253(0x366)?String(_0x136336):'','segmentPage':Number(_0x594b5d!=null?_0x594b5d:-0x1)});}return _0x14b6e4['some'](_0x2bd83f=>_0x2bd83f[_0x260253(0x243)])||(_0x14b6e4[0x0]['isActive']=!0x0),_0x14b6e4;}class Ts extends _0x2ddc3d{constructor(){const _0x1b7ac2=_0x46f17f;super(...arguments),g(this,_0x1b7ac2(0x578),new _0x4581fa(null)),g(this,_0x1b7ac2(0x3d4),this[_0x1b7ac2(0x578)][_0x1b7ac2(0x1fb)]());}[_0x46f17f(0x174)](_0x118522){const _0x302618=_0x46f17f,{unitID:_0x29b5fe,memberID:_0x40d065,textRanges:_0x514875}=_0x118522,_0x2a5b84=Li(_0x514875);if(_0x2a5b84==='')return;const _0x203f2b={'unitID':_0x29b5fe,'memberID':_0x40d065,'selection':_0x2a5b84};this[_0x302618(0x578)][_0x302618(0x4e6)](_0x203f2b);}}var Io=Object[_0x46f17f(0x3a4)],Co=Object['getOwnPropertyDescriptor'],Eo=(_0x52c75d,_0x1736ac,_0x9d959d,_0x49dd21)=>{const _0x4f93b1=_0x46f17f;for(var _0x2e4921=_0x49dd21>0x1?void 0x0:_0x49dd21?Co(_0x1736ac,_0x9d959d):_0x1736ac,_0x31d12c=_0x52c75d[_0x4f93b1(0x407)]-0x1,_0x43946f;_0x31d12c>=0x0;_0x31d12c--)(_0x43946f=_0x52c75d[_0x31d12c])&&(_0x2e4921=(_0x49dd21?_0x43946f(_0x1736ac,_0x9d959d,_0x2e4921):_0x43946f(_0x2e4921))||_0x2e4921);return _0x49dd21&&_0x2e4921&&Io(_0x1736ac,_0x9d959d,_0x2e4921),_0x2e4921;},Ks=(_0x115365,_0x264eb7)=>(_0x151604,_0xa66ddf)=>_0x264eb7(_0x151604,_0xa66ddf,_0x115365);let gt=class{constructor(_0x107e24,_0x20d9af){const _0x902090=_0x46f17f;this[_0x902090(0x176)]=_0x107e24,this[_0x902090(0x53b)]=_0x20d9af;}[_0x46f17f(0x1af)](_0x15ce6e){const _0x305853=_0x46f17f;var _0x2b49ec;const _0x50e56e=this[_0x305853(0x176)][_0x305853(0x3e1)](_0x5ed2b2),_0x59002e=(_0x2b49ec=_0x50e56e[_0x305853(0x240)]())!=null?_0x2b49ec:[];if(_0x59002e[_0x305853(0x407)]===0x0)return;const _0x16235f=_0x15ce6e[_0x305853(0x498)],_0x2069dd=[{'id':_0x305853(0x1e4),'params':{'unitId':_0x16235f,'actions':null,'textRanges':_0x59002e}}],_0x448a12=this[_0x305853(0x53b)][_0x305853(0x46f)](_0x15ce6e,_0x2069dd);if(!_0x12fb0f(_0x448a12))throw _0x448a12[_0x305853(0x27d)];const _0x783d54=_0x448a12[_0x305853(0x178)][0x0][_0x305853(0x496)][_0x305853(0x167)];Array['isArray'](_0x783d54)&&_0x783d54[_0x305853(0x407)]&&_0x50e56e['replaceDocRanges'](_0x783d54,{'unitId':_0x16235f,'subUnitId':_0x16235f},!0x1);}};gt=Eo([Ks(0x0,_0x4e871f(_0x24063a)),Ks(0x1,_0x1ea1f3)],gt);const bo=new Set([_0x92993c['id']]);function zs(_0x4915b1,_0x5197d1,_0x3862f3,_0x3524d8,_0x2cdbff){const _0x55ac3d=_0x46f17f;var _0x4dfad9,_0x2b6509,_0x5016b7,_0x1af7ab;const _0x844f96=[];for(const _0x49d0ce of _0x4915b1)if(bo[_0x55ac3d(0x49a)](_0x49d0ce['id'])){if(_0x844f96['length']>0x0)break;_0x844f96['push'](_0x49d0ce);break;}else _0x844f96['push'](_0x49d0ce);const _0x3792a8=(_0x2b6509=(_0x4dfad9=_0x2cdbff['getCurrentUser']())==null?void 0x0:_0x4dfad9['userID'])!=null?_0x2b6509:_0x55ac3d(0x546),_0x7d6773=(_0x1af7ab=(_0x5016b7=_0x2cdbff['getCurrentUser']())==null?void 0x0:_0x5016b7[_0x55ac3d(0x3bd)])!=null?_0x1af7ab:_0x55ac3d(0x546);return{'changeset':{'unitID':_0x5197d1,'type':_0x14b156(_0x3862f3['getUnitType'](_0x5197d1)),'baseRev':_0x3524d8['getCurrentRevOfUnit'](_0x5197d1),'revision':0x0,'userID':_0x3792a8,'memberID':_0x7d6773,'mutations':_0x844f96},'pendingMutations':_0x4915b1[_0x55ac3d(0x325)](_0x844f96['length'])};}function To(_0x10341d,_0x498f30,_0x400dfd,_0xd326a6,_0x2e840d){const _0x17fc49=_0x46f17f;var _0x5e3ca0,_0x252381,_0x182144,_0x3602fd;const _0x4321a0=[_0x10341d[_0x17fc49(0x249)]((_0x6386c,_0x5161e2)=>{const _0x57f742=_0x17fc49;var _0x3368b8;const {id:_0x78b032}=_0x6386c,{id:_0x25cac7,type:_0x2f1339}=_0x5161e2,_0xa7a45a=(_0x3368b8=_0x6386c[_0x57f742(0x496)])!=null?_0x3368b8:{'actions':null},_0x4fb488=_0x5161e2['params'];if(_0x78b032&&_0x78b032!==_0x25cac7)throw new Error(_0x57f742(0x19b)+_0x78b032+'\x20-\x20'+_0x25cac7+'.');return{..._0x6386c,'id':_0x25cac7,'type':_0x2f1339,'params':{'unitId':_0x4fb488[_0x57f742(0x318)],'textRanges':_0x4fb488['textRanges'],'actions':_0x11c1f9[_0x57f742(0x540)](_0xa7a45a[_0x57f742(0x52f)],_0x4fb488[_0x57f742(0x52f)])}};},{})],_0x177f2d=(_0x252381=(_0x5e3ca0=_0x2e840d['getCurrentUser']())==null?void 0x0:_0x5e3ca0['userID'])!=null?_0x252381:'unknown',_0x4027ec=(_0x3602fd=(_0x182144=_0x2e840d[_0x17fc49(0x188)]())==null?void 0x0:_0x182144[_0x17fc49(0x3bd)])!=null?_0x3602fd:_0x17fc49(0x546);return{'changeset':{'unitID':_0x498f30,'type':_0x14b156(_0x400dfd[_0x17fc49(0x1c1)](_0x498f30)),'baseRev':_0xd326a6[_0x17fc49(0x3c2)](_0x498f30),'revision':0x0,'userID':_0x177f2d,'memberID':_0x4027ec,'mutations':_0x4321a0},'pendingMutations':[]};}function $i(_0x510479,_0x21a0fa){const _0xd3f77d=_0x46f17f,_0x4ffb2e=new _0x55511b(0x1);return setTimeout(()=>_0x4ffb2e['next'](_0x21a0fa),_0x510479),_0x4ffb2e[_0xd3f77d(0x1fb)]()[_0xd3f77d(0x4e3)](_0x522325(0x1));}const Ro={'id':_0xc2211f['id'],'type':_0x4b7f16['MUTATION'],'params':{}};var Oo=Object['defineProperty'],yo=Object[_0x46f17f(0x17b)],$e=(_0x12a6ab,_0x2fad3c,_0x537696,_0x3acacb)=>{const _0x3a0502=_0x46f17f;for(var _0xe377b8=_0x3acacb>0x1?void 0x0:_0x3acacb?yo(_0x2fad3c,_0x537696):_0x2fad3c,_0x5f02b3=_0x12a6ab[_0x3a0502(0x407)]-0x1,_0x4f818f;_0x5f02b3>=0x0;_0x5f02b3--)(_0x4f818f=_0x12a6ab[_0x5f02b3])&&(_0xe377b8=(_0x3acacb?_0x4f818f(_0x2fad3c,_0x537696,_0xe377b8):_0x4f818f(_0xe377b8))||_0xe377b8);return _0x3acacb&&_0xe377b8&&Oo(_0x2fad3c,_0x537696,_0xe377b8),_0xe377b8;},A=(_0x49a148,_0xa2cf5)=>(_0x2d3fc7,_0x22bcd7)=>_0xa2cf5(_0x2d3fc7,_0x22bcd7,_0x49a148),J=(_0x4b8786=>(_0x4b8786['NOT_COLLAB']=_0x46f17f(0x199),_0x4b8786[_0x46f17f(0x17c)]=_0x46f17f(0x3e5),_0x4b8786[_0x46f17f(0x2a6)]='pending',_0x4b8786[_0x46f17f(0x351)]=_0x46f17f(0x1f0),_0x4b8786[_0x46f17f(0x2cf)]=_0x46f17f(0x414),_0x4b8786['FETCH_MISS']='fetch_missing',_0x4b8786['CONFLICT']=_0x46f17f(0x427),_0x4b8786[_0x46f17f(0x1d3)]=_0x46f17f(0x20a),_0x4b8786))(J||{});const Hi=0xea60;class He{constructor(_0x3401d2,_0x34f620,_0x310d67,_0x4e3529,_0x29f93f,_0x36fae4,_0x2ab1ce,_0x5d06ea,_0x9927d8){const _0x49164f=_0x46f17f;g(this,'_awaitingChangeset',null),g(this,_0x49164f(0x198),[]),(this[_0x49164f(0x498)]=_0x3401d2,this[_0x49164f(0x2a2)]=_0x34f620,this['_handler']=_0x29f93f,this[_0x49164f(0x558)]=_0x36fae4,this[_0x49164f(0x2d7)]=_0x2ab1ce,this[_0x49164f(0x33e)]=_0x5d06ea,this[_0x49164f(0x4fe)]=_0x9927d8,this['_awaitingChangeset']=_0x310d67,this[_0x49164f(0x198)]=_0x4e3529);}[_0x46f17f(0x4dc)](_0x17b4b7){const _0x6b0d63=_0x46f17f,_0x732c44=this[_0x6b0d63(0x33e)]['getCurrentRevOfUnit'](this['unitID']);return _0x17b4b7[_0x6b0d63(0x40c)]>_0x732c44+0x1?(this[_0x6b0d63(0x429)][_0x6b0d63(0x312)]({'from':_0x732c44,'to':_0x17b4b7[_0x6b0d63(0x40c)]-0x1}),!0x0):!0x1;}[_0x46f17f(0x252)](_0x48bd01){const _0x4e0692=_0x46f17f;this['_undoRedoService'][_0x4e0692(0x472)](this[_0x4e0692(0x498)],_0x48bd01);}[_0x46f17f(0x2fc)](_0x27ff67){const _0x4592f6=_0x46f17f;var _0x19e0f2,_0x1d866a;(_0x1d866a=(_0x19e0f2=this[_0x4592f6(0x429)])[_0x4592f6(0x363)])==null||_0x1d866a[_0x4592f6(0x3a8)](_0x19e0f2,_0x27ff67);}[_0x46f17f(0x305)](_0x25d8be){const _0x38780b=_0x46f17f;var _0x36685f,_0xed0a9f;return(_0xed0a9f=(_0x36685f=this[_0x38780b(0x429)])['onTransformIME'])==null?void 0x0:_0xed0a9f['call'](_0x36685f,_0x25d8be);}[_0x46f17f(0x516)](_0x59129d){const _0x61158e=_0x46f17f;var _0x187b1a,_0x51a084;return(_0x51a084=(_0x187b1a=this['_handler'])[_0x61158e(0x2f9)])==null?void 0x0:_0x51a084[_0x61158e(0x3a8)](_0x187b1a,_0x59129d);}['_transformRemoteChangesetByIMECache'](_0x4b3d44){const _0x3762f4=_0x46f17f;var _0x3fabbc,_0x105909,_0xe920d8;return(_0xe920d8=(_0x105909=(_0x3fabbc=this[_0x3762f4(0x429)])[_0x3762f4(0x283)])==null?void 0x0:_0x105909[_0x3762f4(0x3a8)](_0x3fabbc,_0x4b3d44))!=null?_0xe920d8:_0x4b3d44;}[_0x46f17f(0x239)](_0x30573c){const _0x298073=_0x46f17f;var _0x1f6a94,_0x4f1f05,_0x245566;return(_0x245566=(_0x4f1f05=(_0x1f6a94=this['_handler'])[_0x298073(0x289)])==null?void 0x0:_0x4f1f05[_0x298073(0x3a8)](_0x1f6a94,_0x30573c))!=null?_0x245566:_0x30573c;}['_syncEditingCollabCursor'](_0xb0701b){const _0x32b575=_0x46f17f;var _0x3e561e,_0x4e19c4;if(this[_0x32b575(0x2a2)]===ce[_0x32b575(0x15e)]){const {unitID:_0x354613,mutations:_0x9edfd7,memberID:_0x3b2978}=_0xb0701b,_0x5a4b31=_0x9edfd7[0x0][_0x32b575(0x496)]['textRanges'];Array[_0x32b575(0x328)](_0x5a4b31)&&_0x5a4b31['length']>0x0&&((_0x4e19c4=(_0x3e561e=this[_0x32b575(0x429)])[_0x32b575(0x2a9)])==null||_0x4e19c4[_0x32b575(0x3a8)](_0x3e561e,{'unitID':_0x354613,'memberID':_0x3b2978,'textRanges':_0x5a4b31}));}}['_updateLocalCache'](){const _0x126189=_0x46f17f;this[_0x126189(0x4fe)][_0x126189(0x32d)](this['unitID'],this[_0x126189(0x2a2)],this[_0x126189(0x40d)],this['_pendingMutations']);}[_0x46f17f(0x2ac)](){const _0x4a21ba=_0x46f17f;return this['_revisionService'][_0x4a21ba(0x3c2)](this[_0x4a21ba(0x498)]);}[_0x46f17f(0x1a0)](){const _0x5872e0=_0x46f17f;this[_0x5872e0(0x33e)][_0x5872e0(0x2d5)](this['unitID']);}[_0x46f17f(0x535)](_0xe98dc9){const _0x59f6df=_0x46f17f;var _0x2b46f0;let _0x52449b=this['_transformRemoteChangesetByIMECache'](_0xe98dc9);_0x52449b=this['_transformRemoteChangesetByStateCache'](_0x52449b);const _0x3a3a04=_0x172a56(_0x52449b[_0x59f6df(0x49d)],this['_commandService'],{'fromCollab':!0x0});if(!_0x3a3a04['result'])throw _0x3a3a04[_0x59f6df(0x27d)]instanceof Error?_0x3a3a04['error']:new Error((_0x2b46f0=_0x3a3a04[_0x59f6df(0x27d)])!=null?_0x2b46f0:'[CollaborationState]:\x20apply\x20error!');this[_0x59f6df(0x305)](_0x52449b),this[_0x59f6df(0x516)](_0x52449b),this['_transformUndoredo'](_0xe98dc9),this[_0x59f6df(0x2fc)](_0x52449b),this[_0x59f6df(0x373)](_0x52449b),this[_0x59f6df(0x1a0)]();}}let Fe=class extends He{constructor(_0x4a44d2,_0xdf5a98,_0x2a0a1e,_0x34716c,_0x857d37,_0x11f031,_0x16089b,_0x40fd01,_0x1d6170,_0x3359fe){const _0x40d5ff=_0x46f17f;super(_0x4a44d2,_0xdf5a98,null,[],_0x2a0a1e,_0x40fd01,_0x16089b,_0x34716c,_0x857d37),g(this,_0x40d5ff(0x54c),'synced'),(this[_0x40d5ff(0x176)]=_0x11f031,this[_0x40d5ff(0x1a7)]=_0x1d6170,this[_0x40d5ff(0x53b)]=_0x3359fe);}[_0x46f17f(0x307)](_0x35d320){const _0x251784=_0x46f17f,_0x20cfef=this[_0x251784(0x176)]['createInstance'](pe,this['unitID'],this[_0x251784(0x2a2)],[_0x35d320],this[_0x251784(0x429)]);return _0x20cfef[_0x251784(0x2ca)](),_0x20cfef[_0x251784(0x340)](),_0x20cfef;}[_0x46f17f(0x491)](_0x38c4c8){const _0x4c2244=_0x46f17f;if(this[_0x4c2244(0x4dc)](_0x38c4c8))return this[_0x4c2244(0x176)][_0x4c2244(0x2a8)](he,this[_0x4c2244(0x498)],this[_0x4c2244(0x2a2)],null,[],null,[_0x38c4c8],this['_handler']);try{const _0x453846=this[_0x4c2244(0x53b)][_0x4c2244(0x46f)](_0x38c4c8,[Ro]);if(_0x12fb0f(_0x453846)){const {c1Prime:_0x6ef983}=_0x453846;return this[_0x4c2244(0x535)](_0x6ef983),this;}throw _0x453846['error'];}catch(_0x1ce5df){return this[_0x4c2244(0x1a7)][_0x4c2244(0x27d)](_0x1ce5df),this[_0x4c2244(0x186)](!0x1);}}[_0x46f17f(0x186)](_0x58f332){const _0x558ef8=_0x46f17f;return this['_injector'][_0x558ef8(0x2a8)](Oe,this[_0x558ef8(0x498)],this['type'],null,[],this['_handler'],_0x58f332);}[_0x46f17f(0x55c)](){const _0x1800d7=_0x46f17f;throw new Error(_0x1800d7(0x26d));}[_0x46f17f(0x34c)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x46f17f(0x2f5)](){const _0x9a978c=_0x46f17f;return this['_injector'][_0x9a978c(0x2a8)](ye,this['unitID'],this[_0x9a978c(0x2a2)],null,[],this[_0x9a978c(0x429)]);}[_0x46f17f(0x2dc)](){return this;}['resend'](){const _0x12bfa8=_0x46f17f;throw new Error(_0x12bfa8(0x2cc));}['fetchMiss'](){const _0x3cac1f=_0x46f17f,_0x199a5b=this[_0x3cac1f(0x33e)]['getCurrentRevOfUnit'](this[_0x3cac1f(0x498)]);return this[_0x3cac1f(0x429)][_0x3cac1f(0x312)]({'from':_0x199a5b,'to':0x0}),this[_0x3cac1f(0x176)][_0x3cac1f(0x2a8)](he,this['unitID'],this[_0x3cac1f(0x2a2)],null,[],null,[],this['_handler']);}};Fe=$e([A(0x3,_0x4e871f(_0x55fa5b)),A(0x4,_0x4e871f(q)),A(0x5,_0x4e871f(_0x24063a)),A(0x6,_0x166e89),A(0x7,_0x15e74e),A(0x8,_0x416cf3),A(0x9,_0x1ea1f3)],Fe);let pe=class extends He{constructor(_0x4048e,_0x44c865,_0x1cf1ad,_0x492695,_0x414744,_0x2c5d19,_0x32acf2,_0x97edfb,_0x3db770,_0x4f8747,_0x39bff7,_0x4bde49,_0x5c4e7f,_0x272f39){const _0x342ef0=_0x46f17f;super(_0x4048e,_0x44c865,null,_0x1cf1ad,_0x492695,_0x4f8747,_0x272f39,_0x2c5d19,_0x32acf2),g(this,_0x342ef0(0x54c),'pending'),g(this,_0x342ef0(0x494),null),g(this,_0x342ef0(0x170),null),(this[_0x342ef0(0x176)]=_0x414744,this[_0x342ef0(0x57e)]=_0x97edfb,this['_logService']=_0x3db770,this['_configService']=_0x39bff7,this[_0x342ef0(0x53b)]=_0x4bde49,this[_0x342ef0(0x53d)]=_0x5c4e7f);}['appendMutation'](_0x957476){const _0x56b4da=_0x46f17f;return this[_0x56b4da(0x198)][_0x56b4da(0x23d)](_0x957476),this[_0x56b4da(0x340)](),this;}['onRemoteChangeset'](_0x2a9b7d){const _0x45c065=_0x46f17f;if(this['_checkMissing'](_0x2a9b7d))return this[_0x45c065(0x3f7)](),this[_0x45c065(0x176)]['createInstance'](he,this['unitID'],this[_0x45c065(0x2a2)],null,this['_pendingMutations'],null,[_0x2a9b7d],this['_handler']);try{const _0x33a8c7=this['_transformService']['transformMutationsWithChangeset'](_0x2a9b7d,this[_0x45c065(0x198)]);if(_0x12fb0f(_0x33a8c7)){const {c1Prime:_0x10291b,m2Prime:_0x15f06f}=_0x33a8c7;this[_0x45c065(0x535)](_0x10291b);const _0x350e40=this[_0x45c065(0x176)][_0x45c065(0x2a8)](pe,this[_0x45c065(0x498)],this['type'],_0x15f06f,this[_0x45c065(0x429)]);return this[_0x45c065(0x3f7)](),_0x350e40[_0x45c065(0x2ca)](this[_0x45c065(0x494)]?Math[_0x45c065(0x17d)](0x0,new Date()[_0x45c065(0x1a4)]()-this['_scheduleTimestamp']):this[_0x45c065(0x41f)]()),_0x350e40;}throw _0x33a8c7['error'];}catch(_0x5cc609){return this['_logService'][_0x45c065(0x27d)](_0x5cc609),this[_0x45c065(0x186)](!0x1);}}['onRemoteAck'](){const _0x30061a=_0x46f17f;throw new Error(_0x30061a(0x460));}[_0x46f17f(0x34c)](){const _0x3a2070=_0x46f17f;throw new Error(_0x3a2070(0x476));}['onRemoteRetry'](){return this;}[_0x46f17f(0x2f5)](){const _0x580328=_0x46f17f;return this[_0x580328(0x3f7)](),this[_0x580328(0x176)][_0x580328(0x2a8)](ye,this[_0x580328(0x498)],this[_0x580328(0x2a2)],null,this['_pendingMutations'],this[_0x580328(0x429)]);}['toggleOnline'](){return this;}[_0x46f17f(0x2ca)](_0xd09d88){const _0x100bc4=_0x46f17f,_0x263e74=_0xd09d88!=null?_0xd09d88:this[_0x100bc4(0x41f)]();this['_scheduleTimestamp']=new Date()['getTime'](),this[_0x100bc4(0x170)]=window[_0x100bc4(0x3f6)](()=>{const _0x126429=_0x100bc4;this[_0x126429(0x3f7)]();let _0x2473d0=null;switch(this['type']){case ce[_0x126429(0x226)]:{_0x2473d0=zs(this[_0x126429(0x198)],this[_0x126429(0x498)],this['_univerInstanceService'],this[_0x126429(0x33e)],this[_0x126429(0x57e)]);break;}case ce[_0x126429(0x15e)]:{this['_pendingMutations'][_0x126429(0x4f6)](_0x55b4f1=>_0x55b4f1['id']===_0x1ba87a['id'])?_0x2473d0=To(this[_0x126429(0x198)],this['unitID'],this[_0x126429(0x53d)],this[_0x126429(0x33e)],this[_0x126429(0x57e)]):_0x2473d0=zs(this['_pendingMutations'],this['unitID'],this[_0x126429(0x53d)],this[_0x126429(0x33e)],this[_0x126429(0x57e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x126429(0x25c));}const {changeset:_0x67418c,pendingMutations:_0x25e6a9}=_0x2473d0;this[_0x126429(0x429)][_0x126429(0x3bf)](_0x67418c);const _0x5e492f=_0x25e6a9[_0x126429(0x407)]?this[_0x126429(0x176)][_0x126429(0x2a8)](ge,this[_0x126429(0x498)],this[_0x126429(0x2a2)],_0x67418c,_0x25e6a9,this['_handler'],void 0x0):this[_0x126429(0x176)][_0x126429(0x2a8)](Re,this[_0x126429(0x498)],this[_0x126429(0x2a2)],_0x67418c,this[_0x126429(0x429)]);_0x5e492f['_updateLocalCache'](),this[_0x126429(0x429)]['onStateChange'](this,_0x5e492f);},_0x263e74);}[_0x46f17f(0x41f)](){const _0x3b1e19=_0x46f17f;var _0x21aa41;const _0x1e7b12=this['_configService']['getConfig'](ee);return(_0x21aa41=_0x1e7b12==null?void 0x0:_0x1e7b12[_0x3b1e19(0x272)])!=null?_0x21aa41:Sn;}[_0x46f17f(0x3e6)](){const _0x2ac14e=_0x46f17f;throw new Error(_0x2ac14e(0x39b));}[_0x46f17f(0x3f7)](){const _0x5c6e7e=_0x46f17f;this[_0x5c6e7e(0x170)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x46f17f(0x186)](_0x472c16){const _0x2336b1=_0x46f17f;return this['_clearScheduledTask'](),this[_0x2336b1(0x176)][_0x2336b1(0x2a8)](Oe,this[_0x2336b1(0x498)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x472c16);}};pe=$e([A(0x4,_0x4e871f(_0x24063a)),A(0x5,_0x4e871f(_0x55fa5b)),A(0x6,_0x4e871f(q)),A(0x7,_0x4e871f(Me)),A(0x8,_0x416cf3),A(0x9,_0x15e74e),A(0xa,_0x175c85),A(0xb,_0x1ea1f3),A(0xc,_0x2d6c6a),A(0xd,_0x166e89)],pe);let Re=class extends He{constructor(_0x3f23e3,_0x3b63d4,_0x29c37f,_0x22923b,_0x2165e0,_0x27addb,_0x566cb1,_0x1dfc03,_0x7bde30,_0x5273b3,_0x3d917b){const _0x11e699=_0x46f17f;super(_0x3f23e3,_0x3b63d4,_0x29c37f,[],_0x22923b,_0x1dfc03,_0x3d917b,_0x27addb,_0x566cb1),g(this,_0x11e699(0x54c),'awaiting'),g(this,_0x11e699(0x304),0x0),g(this,_0x11e699(0x4eb)),g(this,'_sender'),(this[_0x11e699(0x176)]=_0x2165e0,this[_0x11e699(0x1a7)]=_0x7bde30,this['_transformService']=_0x5273b3);}['appendMutation'](_0x2a6ba8){const _0xc0841f=_0x46f17f;this[_0xc0841f(0x3f7)]();const _0x4a2510=this['_injector'][_0xc0841f(0x2a8)](ge,this['unitID'],this['type'],this['_awaitingChangeset'],[_0x2a6ba8],this[_0xc0841f(0x429)],this[_0xc0841f(0x4eb)]);return _0x4a2510[_0xc0841f(0x340)](),_0x4a2510;}[_0x46f17f(0x491)](_0x58d8a7){const _0x1e097a=_0x46f17f;if(this['_checkMissing'](_0x58d8a7))return this['_clearScheduledTask'](),this['_injector']['createInstance'](he,this['unitID'],this[_0x1e097a(0x2a2)],this[_0x1e097a(0x40d)],[],null,[_0x58d8a7],this['_handler']);try{const _0x3baf8e=this['_transformService'][_0x1e097a(0x314)]([_0x58d8a7],[this[_0x1e097a(0x40d)]],!0x1);if(_0x9dfff7(_0x3baf8e)){const {c1Prime:_0x5ecf39,c2Prime:_0x370921}=_0x3baf8e;this[_0x1e097a(0x535)](_0x5ecf39[0x0]),_0x370921[0x0]['baseRev']=this[_0x1e097a(0x2ac)](),this[_0x1e097a(0x3f7)]();const _0x4bd5ea=this[_0x1e097a(0x176)]['createInstance'](Re,this[_0x1e097a(0x498)],this[_0x1e097a(0x2a2)],_0x370921[0x0],this['_handler']);return _0x4bd5ea['_updateLocalCache'](),_0x4bd5ea;}return this['_onConflict'](!0x1);}catch(_0x19ca41){return this[_0x1e097a(0x1a7)][_0x1e097a(0x27d)](_0x19ca41),this[_0x1e097a(0x186)](!0x1);}}[_0x46f17f(0x55c)](_0x12743e){const _0xc5e9b1=_0x46f17f;this[_0xc5e9b1(0x3f7)]();const _0xecbcda=this[_0xc5e9b1(0x33e)][_0xc5e9b1(0x3c2)](this[_0xc5e9b1(0x498)]);if(_0x12743e[_0xc5e9b1(0x40c)]<_0xecbcda-0x1)return this;if(this[_0xc5e9b1(0x4dc)](_0x12743e))return this[_0xc5e9b1(0x176)][_0xc5e9b1(0x2a8)](he,this[_0xc5e9b1(0x498)],this['type'],null,[],this[_0xc5e9b1(0x40d)],[],this[_0xc5e9b1(0x429)]);this[_0xc5e9b1(0x1a0)]();const _0x1a6184=this[_0xc5e9b1(0x176)][_0xc5e9b1(0x2a8)](Fe,this['unitID'],this[_0xc5e9b1(0x2a2)],this[_0xc5e9b1(0x429)]);return _0x1a6184['_updateLocalCache'](),_0x1a6184;}[_0x46f17f(0x34c)](_0x8874d4){const _0x31a438=_0x46f17f;return this[_0x31a438(0x186)](!!(_0x8874d4!=null&&_0x8874d4[_0x31a438(0x291)]));}[_0x46f17f(0x3d6)](_0x361ceb){const _0x3bf983=_0x46f17f;return this[_0x3bf983(0x304)]>Hi?this['toggleOffline']():(this[_0x3bf983(0x4eb)]=$i(this[_0x3bf983(0x304)],{'timeout':this['_resendTimeout'],'reqId':_0x361ceb[_0x3bf983(0x418)]}),this[_0x3bf983(0x25a)]=this['_resendTimer']['subscribe'](({reqId:_0x4b45a5,timeout:_0x417ac7})=>{const _0x2f3a79=_0x3bf983;this[_0x2f3a79(0x341)](_0x4b45a5,_0x417ac7);}),this);}[_0x46f17f(0x2f5)](){const _0x352557=_0x46f17f;return this[_0x352557(0x3f7)](),this[_0x352557(0x176)][_0x352557(0x2a8)](ye,this[_0x352557(0x498)],this[_0x352557(0x2a2)],this[_0x352557(0x40d)],[],this[_0x352557(0x429)]);}[_0x46f17f(0x2dc)](){return this;}[_0x46f17f(0x3e6)](){const _0x4cd784=_0x46f17f;this[_0x4cd784(0x429)][_0x4cd784(0x3bf)](this[_0x4cd784(0x40d)]);}[_0x46f17f(0x186)](_0x3c0143){const _0x37df95=_0x46f17f;return this[_0x37df95(0x3f7)](),this[_0x37df95(0x176)]['createInstance'](Oe,this[_0x37df95(0x498)],this[_0x37df95(0x2a2)],this[_0x37df95(0x40d)],[],this[_0x37df95(0x429)],_0x3c0143);}[_0x46f17f(0x341)](_0x5d681d,_0x4f3d2a){const _0x332923=_0x46f17f;var _0x5ea655;_0x5d681d===((_0x5ea655=this[_0x332923(0x40d)])==null?void 0x0:_0x5ea655[_0x332923(0x418)])&&(this[_0x332923(0x3e6)](),this[_0x332923(0x304)]=_0x4f3d2a===0x0?0x3e8:_0x4f3d2a*0x2);}[_0x46f17f(0x3f7)](){const _0x173641=_0x46f17f;var _0x37ee15;(_0x37ee15=this[_0x173641(0x25a)])==null||_0x37ee15[_0x173641(0x362)](),this['_resendTimeout']=0x0;}};Re=$e([A(0x4,_0x4e871f(_0x24063a)),A(0x5,_0x4e871f(_0x55fa5b)),A(0x6,_0x4e871f(q)),A(0x7,_0x15e74e),A(0x8,_0x416cf3),A(0x9,_0x1ea1f3),A(0xa,_0x166e89)],Re);let ge=class extends He{constructor(_0x1111dc,_0x8504c9,_0x983750,_0x1c06b9,_0x58506e,_0x4889d7,_0x425cef,_0x4dab51,_0x1cf0fc,_0x24065f,_0x311c14,_0x23f813,_0x5518fa){const _0x7d6912=_0x46f17f;super(_0x1111dc,_0x8504c9,_0x983750,_0x1c06b9,_0x58506e,_0x24065f,_0x5518fa,_0x4dab51,_0x1cf0fc),g(this,_0x7d6912(0x54c),_0x7d6912(0x414)),g(this,_0x7d6912(0x304),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x7d6912(0x176)]=_0x425cef,this[_0x7d6912(0x1a7)]=_0x311c14,this['_transformService']=_0x23f813,_0x4889d7&&(this[_0x7d6912(0x4eb)]=_0x4889d7,this['_sender']=this[_0x7d6912(0x4eb)][_0x7d6912(0x346)](({reqId:_0x2d56d5,timeout:_0x3dd2f1})=>{const _0x5bf845=_0x7d6912;this[_0x5bf845(0x341)](_0x2d56d5,_0x3dd2f1);})));}[_0x46f17f(0x307)](_0x50681d){const _0x5778ab=_0x46f17f;return this[_0x5778ab(0x198)][_0x5778ab(0x23d)](_0x50681d),this;}[_0x46f17f(0x491)](_0x3defe3){const _0xd9116d=_0x46f17f;if(this['_checkMissing'](_0x3defe3))return this[_0xd9116d(0x3f7)](),this[_0xd9116d(0x176)]['createInstance'](he,this['unitID'],this[_0xd9116d(0x2a2)],this[_0xd9116d(0x40d)],this[_0xd9116d(0x198)],null,[_0x3defe3],this[_0xd9116d(0x429)]);try{const _0x2bddd6=this[_0xd9116d(0x53b)][_0xd9116d(0x314)]([_0x3defe3],[this[_0xd9116d(0x40d)]],!0x1);if(_0x9dfff7(_0x2bddd6)){const {c1Prime:_0x570d13,c2Prime:_0x329d83}=_0x2bddd6,_0x32f65a=this[_0xd9116d(0x53b)][_0xd9116d(0x46f)](_0x570d13[0x0],this[_0xd9116d(0x198)]);if(_0x12fb0f(_0x32f65a)){const {c1Prime:_0x5399a5,m2Prime:_0x472606}=_0x32f65a;return this['_executeRemoteChangeset'](_0x5399a5),_0x329d83[0x0][_0xd9116d(0x3fa)]=this[_0xd9116d(0x2ac)](),this[_0xd9116d(0x3f7)](),this[_0xd9116d(0x176)][_0xd9116d(0x2a8)](ge,this[_0xd9116d(0x498)],this['type'],_0x329d83[0x0],_0x472606,this['_handler'],void 0x0);}throw _0x32f65a[_0xd9116d(0x27d)];}throw _0x2bddd6['error'];}catch(_0x34b495){return this['_logService']['error'](_0x34b495),this['_onConflict'](!0x1);}}[_0x46f17f(0x55c)](_0x5e9d98){const _0x351dee=_0x46f17f;if(this[_0x351dee(0x3f7)](),this[_0x351dee(0x4dc)](_0x5e9d98))return this[_0x351dee(0x176)]['createInstance'](he,this[_0x351dee(0x498)],this['type'],null,this[_0x351dee(0x198)],this[_0x351dee(0x40d)],[],this[_0x351dee(0x429)]);this[_0x351dee(0x1a0)]();const _0x41c0f6=this['_injector'][_0x351dee(0x2a8)](pe,this['unitID'],this[_0x351dee(0x2a2)],this['_pendingMutations'],this['_handler']);return _0x41c0f6[_0x351dee(0x2ca)](),_0x41c0f6[_0x351dee(0x340)](),_0x41c0f6;}[_0x46f17f(0x34c)](_0x5eb94b){const _0x4a9e69=_0x46f17f;return this[_0x4a9e69(0x186)](!!(_0x5eb94b!=null&&_0x5eb94b[_0x4a9e69(0x291)]));}[_0x46f17f(0x3d6)](_0x19cf8f){const _0x3dfa16=_0x46f17f;return this[_0x3dfa16(0x304)]>Hi?this[_0x3dfa16(0x2f5)]():(this[_0x3dfa16(0x4eb)]=$i(this[_0x3dfa16(0x304)],{'timeout':this['_resendTimeout'],'reqId':_0x19cf8f[_0x3dfa16(0x418)]}),this[_0x3dfa16(0x25a)]=this[_0x3dfa16(0x4eb)][_0x3dfa16(0x346)](({reqId:_0x51b693,timeout:_0x5e34ca})=>{const _0x5d4f9a=_0x3dfa16;this[_0x5d4f9a(0x341)](_0x51b693,_0x5e34ca);}),this);}['toggleOffline'](){const _0x2c7f07=_0x46f17f;return this[_0x2c7f07(0x3f7)](),this[_0x2c7f07(0x176)]['createInstance'](ye,this[_0x2c7f07(0x498)],this[_0x2c7f07(0x2a2)],this[_0x2c7f07(0x40d)],this[_0x2c7f07(0x198)],this[_0x2c7f07(0x429)]);}[_0x46f17f(0x2dc)](){return this;}['resend'](){const _0x3ce2ff=_0x46f17f;this[_0x3ce2ff(0x429)][_0x3ce2ff(0x3bf)](this[_0x3ce2ff(0x40d)]);}[_0x46f17f(0x186)](_0x111866){const _0xdcc735=_0x46f17f;return this[_0xdcc735(0x3f7)](),this['_injector'][_0xdcc735(0x2a8)](Oe,this[_0xdcc735(0x498)],this[_0xdcc735(0x2a2)],null,this[_0xdcc735(0x198)],this['_handler'],_0x111866);}[_0x46f17f(0x341)](_0x2cde7d,_0x500a7e){const _0xf67c9b=_0x46f17f;var _0x30b665;_0x2cde7d===((_0x30b665=this['_awaitingChangeset'])==null?void 0x0:_0x30b665['reqId'])&&(this['resend'](),this[_0xf67c9b(0x304)]=_0x500a7e===0x0?0x3e8:_0x500a7e*0x2);}[_0x46f17f(0x3f7)](){const _0x42e3c0=_0x46f17f;var _0x2534c7;(_0x2534c7=this[_0x42e3c0(0x25a)])==null||_0x2534c7['unsubscribe'](),this['_resendTimeout']=0x0;}};ge=$e([A(0x6,_0x4e871f(_0x24063a)),A(0x7,_0x4e871f(_0x55fa5b)),A(0x8,_0x4e871f(q)),A(0x9,_0x15e74e),A(0xa,_0x416cf3),A(0xb,_0x1ea1f3),A(0xc,_0x166e89)],ge);let Oe=class extends He{constructor(_0x93ddbb,_0x302560,_0x3b32ba,_0x61c2a,_0x170a5c,_0x459d9f=!0x1,_0x2af52c,_0x5147a0,_0x58b3e8,_0x478846,_0x5681fd,_0x198c14,_0x394e6d){const _0x2c6b61=_0x46f17f;super(_0x93ddbb,_0x302560,_0x3b32ba,_0x61c2a,_0x170a5c,_0x5147a0,_0x58b3e8,_0x5681fd,_0x478846),g(this,_0x2c6b61(0x54c),_0x2c6b61(0x427)),(this[_0x2c6b61(0x3fd)]=_0x459d9f,this['_permissionService']=_0x2af52c,this[_0x2c6b61(0x469)]=_0x198c14,this[_0x2c6b61(0x4a6)]=_0x394e6d,this[_0x2c6b61(0x267)](),this[_0x2c6b61(0x424)](),this[_0x2c6b61(0x2b6)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x46f17f(0x55c)](){return this;}[_0x46f17f(0x34c)](){return this;}[_0x46f17f(0x3d6)](){return this;}[_0x46f17f(0x2f5)](){return this;}[_0x46f17f(0x2dc)](){return this;}['resend'](){const _0x660938=_0x46f17f;throw new Error(_0x660938(0x503));}[_0x46f17f(0x424)](){const _0x1b7a75=_0x46f17f;this[_0x1b7a75(0x4fe)][_0x1b7a75(0x32d)](this[_0x1b7a75(0x498)],this[_0x1b7a75(0x2a2)],null,[]);}['_showConflictNotification'](){const _0x4ab169=_0x46f17f;this[_0x4ab169(0x3fd)]?this[_0x4ab169(0x4a6)]['show']({'title':this[_0x4ab169(0x469)]['t'](_0x4ab169(0x32b)),'content':this[_0x4ab169(0x469)]['t'](_0x4ab169(0x352)),'type':'error','duration':0x0}):this[_0x4ab169(0x4a6)][_0x4ab169(0x17e)]({'title':this[_0x4ab169(0x469)]['t'](_0x4ab169(0x481)),'content':this[_0x4ab169(0x469)]['t'](_0x4ab169(0x3bc)),'type':_0x4ab169(0x27d),'duration':0x0});}[_0x46f17f(0x2b6)](){const _0x36b90b=_0x46f17f;this[_0x36b90b(0x2a3)]['updatePermissionPoint'](new _0x43ee6b(this[_0x36b90b(0x498)])['id'],!0x1);}};Oe=$e([A(0x6,_0x4e871f(_0x26d1fe)),A(0x7,_0x15e74e),A(0x8,_0x166e89),A(0x9,_0x4e871f(q)),A(0xa,_0x4e871f(_0x55fa5b)),A(0xb,_0x4e871f(_0x19d230)),A(0xc,_0x4be5c5)],Oe);let ye=class extends He{constructor(_0x825b50,_0x35ec7a,_0x152b12,_0x4be1e7,_0x3ec1ca,_0x131e2a,_0x50610b,_0x1e61f2,_0x47b345,_0x2bef4c){const _0x249416=_0x46f17f;super(_0x825b50,_0x35ec7a,_0x152b12,_0x4be1e7,_0x3ec1ca,_0x47b345,_0x2bef4c,_0x50610b,_0x1e61f2),g(this,_0x249416(0x54c),_0x249416(0x20a)),this[_0x249416(0x176)]=_0x131e2a;}[_0x46f17f(0x307)](_0x332207){const _0x5bfd02=_0x46f17f;return this[_0x5bfd02(0x198)][_0x5bfd02(0x23d)](_0x332207),this[_0x5bfd02(0x340)](),this;}['onRemoteChangeset'](_0x52ed58){const _0x4b182c=_0x46f17f;throw new Error(_0x4b182c(0x276));}[_0x46f17f(0x55c)](){const _0x88c9bd=_0x46f17f;throw new Error(_0x88c9bd(0x387));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x46f17f(0x2f5)](){return this;}[_0x46f17f(0x2dc)](){const _0xfa65ad=_0x46f17f,{_injector:_0x502e76,_pendingMutations:_0x3310ae,_awaitingChangeset:_0x2bafa4,unitID:_0xb6f05e,_handler:_0x236064,type:_0x35aa74}=this,_0x26046f=ji(_0x502e76,_0xb6f05e,_0x35aa74,_0x2bafa4,_0x3310ae,_0x236064);return _0x26046f instanceof pe?_0x26046f[_0xfa65ad(0x2ca)]():(_0x26046f instanceof ge||_0x26046f instanceof Re)&&_0x26046f[_0xfa65ad(0x3e6)](),_0x26046f;}[_0x46f17f(0x3e6)](){const _0x313595=_0x46f17f;throw new Error(_0x313595(0x229));}};ye=$e([A(0x5,_0x4e871f(_0x24063a)),A(0x6,_0x4e871f(_0x55fa5b)),A(0x7,_0x4e871f(q)),A(0x8,_0x15e74e),A(0x9,_0x166e89)],ye);let he=class extends He{constructor(_0x29dcf2,_0x3ddcc4,_0x21c4d5,_0x2a0144,_0x23e6a7,_0x1f98eb,_0x202d3e,_0x213995,_0x1822bf,_0x1b80ad,_0x5e3c7c,_0xc9128b,_0x238adf,_0x251ac4){const _0x52baec=_0x46f17f;super(_0x29dcf2,_0x3ddcc4,_0x21c4d5,_0x2a0144,_0x202d3e,_0xc9128b,_0x238adf,_0x1822bf,_0x1b80ad),g(this,_0x52baec(0x54c),_0x52baec(0x58c)),(this[_0x52baec(0x270)]=_0x23e6a7,this[_0x52baec(0x1f2)]=_0x1f98eb,this[_0x52baec(0x176)]=_0x213995,this[_0x52baec(0x1a7)]=_0x5e3c7c,this[_0x52baec(0x53b)]=_0x251ac4);}[_0x46f17f(0x212)](_0xd70751){const _0x315b3d=_0x46f17f;try{const _0x50125d=[..._0xd70751,...this['_queuedRemoteChangesets']],_0x5f325f=[this[_0x315b3d(0x40d)]||this['_acknowledgedAwaitingChangeset']][_0x315b3d(0x236)](_0xd77a86=>!!_0xd77a86);let _0x1772d1,_0x4b19b8;if(_0x5f325f['length']){const _0xe3d4e0=this[_0x315b3d(0x53b)][_0x315b3d(0x314)](_0x50125d,_0x5f325f,!0x1);if(!_0x9dfff7(_0xe3d4e0))throw _0xe3d4e0[_0x315b3d(0x27d)];_0x1772d1=_0xe3d4e0[_0x315b3d(0x3c6)],_0x4b19b8=_0xe3d4e0[_0x315b3d(0x3f5)];}else _0x1772d1=_0x50125d,_0x4b19b8=[];let _0x8c6fb7=this['_pendingMutations'];_0x1772d1[_0x315b3d(0x519)](_0x152c06=>{const _0x3167a0=_0x315b3d;let _0xd51201;if(_0x8c6fb7[_0x3167a0(0x407)]){const _0x2f189f=this[_0x3167a0(0x53b)][_0x3167a0(0x46f)](_0x152c06,_0x8c6fb7);if(!_0x12fb0f(_0x2f189f))throw _0x2f189f['error'];_0xd51201=_0x2f189f[_0x3167a0(0x3c6)],_0x8c6fb7=_0x2f189f['m2Prime'];}else _0xd51201=_0x152c06;this[_0x3167a0(0x535)](_0xd51201);}),this[_0x315b3d(0x270)]&&this[_0x315b3d(0x1a0)](),this[_0x315b3d(0x40d)]&&_0x4b19b8['length']&&(_0x4b19b8[0x0][_0x315b3d(0x3fa)]=this[_0x315b3d(0x2ac)]());let _0x19bc3e;if(this[_0x315b3d(0x40d)]&&_0x8c6fb7[_0x315b3d(0x407)]!==0x0)_0x19bc3e=this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](ge,this[_0x315b3d(0x498)],this[_0x315b3d(0x2a2)],_0x4b19b8[0x0],_0x8c6fb7,this[_0x315b3d(0x429)],void 0x0);else{if(this['_awaitingChangeset']&&_0x8c6fb7[_0x315b3d(0x407)]===0x0)_0x4b19b8[0x0][_0x315b3d(0x3fa)]=this[_0x315b3d(0x2ac)](),_0x19bc3e=this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](Re,this[_0x315b3d(0x498)],this['type'],_0x4b19b8[0x0],this[_0x315b3d(0x429)]);else{if(_0x8c6fb7[_0x315b3d(0x407)]!==0x0){const _0x18dc82=this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](pe,this['unitID'],this[_0x315b3d(0x2a2)],_0x8c6fb7,this[_0x315b3d(0x429)]);_0x18dc82[_0x315b3d(0x2ca)](),_0x19bc3e=_0x18dc82;}else _0x19bc3e=this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](Fe,this[_0x315b3d(0x498)],this[_0x315b3d(0x2a2)],this[_0x315b3d(0x429)]);}}return _0x19bc3e[_0x315b3d(0x340)](),_0x19bc3e;}catch(_0x5ca168){return this[_0x315b3d(0x1a7)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x5ca168),this[_0x315b3d(0x176)][_0x315b3d(0x2a8)](Oe,this['unitID'],this['type'],this[_0x315b3d(0x40d)],this[_0x315b3d(0x198)],this[_0x315b3d(0x429)],!0x1);}}[_0x46f17f(0x3e6)](){const _0x159dca=_0x46f17f;throw new Error(_0x159dca(0x1e9));}[_0x46f17f(0x307)](_0x1f644b){return this['_pendingMutations']['push'](_0x1f644b),this;}[_0x46f17f(0x491)](_0x57b6e5){const _0x1c63d8=_0x46f17f;return this[_0x1c63d8(0x1f2)][_0x1c63d8(0x23d)](_0x57b6e5),this;}['onRemoteAck'](_0x3f06a0){const _0x8da0fd=_0x46f17f;if(this[_0x8da0fd(0x40d)])return this['_acknowledgedAwaitingChangeset']=this[_0x8da0fd(0x40d)],this[_0x8da0fd(0x40d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x46f17f(0x34c)](_0x251aed){const _0x26fb2d=_0x46f17f;return this[_0x26fb2d(0x186)](!!(_0x251aed!=null&&_0x251aed[_0x26fb2d(0x291)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x34a222=_0x46f17f;return this[_0x34a222(0x176)][_0x34a222(0x2a8)](ye,this[_0x34a222(0x498)],this['type'],this[_0x34a222(0x40d)],this['_pendingMutations'],this[_0x34a222(0x429)]);}[_0x46f17f(0x2dc)](){return this;}[_0x46f17f(0x186)](_0x41a41e){const _0x31e9d3=_0x46f17f;return this[_0x31e9d3(0x176)]['createInstance'](Oe,this[_0x31e9d3(0x498)],this[_0x31e9d3(0x2a2)],this['_awaitingChangeset'],this[_0x31e9d3(0x198)],this[_0x31e9d3(0x429)],_0x41a41e);}};he=$e([A(0x7,_0x4e871f(_0x24063a)),A(0x8,_0x4e871f(_0x55fa5b)),A(0x9,_0x4e871f(q)),A(0xa,_0x416cf3),A(0xb,_0x15e74e),A(0xc,_0x166e89),A(0xd,_0x1ea1f3)],he);function ji(_0xbfed82,_0x5da66e,_0x18bfcd,_0x51ea68,_0x31b0c4,_0x2aed23){const _0x55d7e7=_0x46f17f;return _0x51ea68&&_0x31b0c4[_0x55d7e7(0x407)]?_0xbfed82[_0x55d7e7(0x2a8)](ge,_0x5da66e,_0x18bfcd,_0x51ea68,_0x31b0c4,_0x2aed23,void 0x0):_0x51ea68?_0xbfed82['createInstance'](Re,_0x5da66e,_0x18bfcd,_0x51ea68,_0x2aed23):_0x31b0c4[_0x55d7e7(0x407)]?_0xbfed82['createInstance'](pe,_0x5da66e,_0x18bfcd,_0x31b0c4,_0x2aed23):_0xbfed82['createInstance'](Fe,_0x5da66e,_0x18bfcd,_0x2aed23);}var wo=Object['defineProperty'],Do=Object[_0x46f17f(0x17b)],Rs=(_0x310834,_0x195444,_0x13225b,_0x518707)=>{const _0x5c83ec=_0x46f17f;for(var _0x1f096e=_0x518707>0x1?void 0x0:_0x518707?Do(_0x195444,_0x13225b):_0x195444,_0x50d217=_0x310834[_0x5c83ec(0x407)]-0x1,_0x98c3a2;_0x50d217>=0x0;_0x50d217--)(_0x98c3a2=_0x310834[_0x50d217])&&(_0x1f096e=(_0x518707?_0x98c3a2(_0x195444,_0x13225b,_0x1f096e):_0x98c3a2(_0x1f096e))||_0x1f096e);return _0x518707&&_0x1f096e&&wo(_0x195444,_0x13225b,_0x1f096e),_0x1f096e;},H=(_0x264381,_0x42719e)=>(_0x154b2d,_0x17269f)=>_0x42719e(_0x154b2d,_0x17269f,_0x264381);let St=class extends _0x2ddc3d{constructor(_0x415ebf,_0x4a01e9,_0x276107,_0x1c2ba0,_0x40d10e,_0x40d55c,_0xf4839a,_0x1db992,_0x10fd25,_0x205463,_0x34d7e8,_0x3022b9,_0x238be1){const _0x23869e=_0x46f17f;super(),g(this,_0x23869e(0x1b3),new _0x4581fa(null)),g(this,_0x23869e(0x302),this[_0x23869e(0x1b3)][_0x23869e(0x1fb)]()),g(this,_0x23869e(0x274)),g(this,_0x23869e(0x369),!0x1),g(this,_0x23869e(0x47d),''),g(this,_0x23869e(0x57a),0x0),g(this,_0x23869e(0x571),this[_0x23869e(0x302)][_0x23869e(0x4e3)](_0x19435b(_0x1b7982=>_0x1b7982?_0x1b7982[_0x23869e(0x54c)]:J[_0x23869e(0x1d3)]),_0xbfa8cd(0x1))),g(this,_0x23869e(0x1a3),!0x1),g(this,_0x23869e(0x25e),[]),(this[_0x23869e(0x498)]=_0x415ebf,this[_0x23869e(0x21c)]=_0x4a01e9,this[_0x23869e(0x241)]=_0x276107,this['_injector']=_0x1c2ba0,this[_0x23869e(0x4fe)]=_0x40d10e,this[_0x23869e(0x2c7)]=_0x40d55c,this['_localeService']=_0xf4839a,this[_0x23869e(0x33e)]=_0x1db992,this[_0x23869e(0x1a7)]=_0x10fd25,this[_0x23869e(0x558)]=_0x205463,this['_messageService']=_0x34d7e8,this['_permissionService']=_0x3022b9,this['_singleActiveUnitService']=_0x238be1);}get['state'](){const _0x2a122d=_0x46f17f;return this[_0x2a122d(0x274)];}async[_0x46f17f(0x426)](){const _0x58c561=_0x46f17f;if(this['state'])throw new Error(_0x58c561(0x27b));await this['_init']();}[_0x46f17f(0x510)](){const _0xcec47a=_0x46f17f;return this[_0xcec47a(0x369)]=!0x0,_0x105bf3(()=>{const _0x3e26ec=_0xcec47a;this[_0x3e26ec(0x369)]=!0x1,this[_0x3e26ec(0x3f9)]();});}[_0x46f17f(0x193)](_0x4fdbc0){const _0x39d5f9=_0x46f17f;this[_0x39d5f9(0x274)]=_0x4fdbc0,this[_0x39d5f9(0x1b3)][_0x39d5f9(0x4e6)](_0x4fdbc0);}async['_init'](){const _0x3f0a37=_0x46f17f;var _0x573e55;this[_0x3f0a37(0x193)](await this[_0x3f0a37(0x2b0)]()),this[_0x3f0a37(0x3d5)]&&((_0x573e55=this[_0x3f0a37(0x3d5)])==null||_0x573e55[_0x3f0a37(0x45f)](this['unitID']),this[_0x3f0a37(0x45a)](this[_0x3f0a37(0x3d5)]['getUnitStatus$'](this[_0x3f0a37(0x498)])[_0x3f0a37(0x346)](_0x3ea1d0=>{const _0x1624ef=_0x3f0a37;this[_0x1624ef(0x1a7)]['debug'](_0x1624ef(0x477),_0x1624ef(0x522),_0x3ea1d0),_0x3ea1d0===xi[_0x1624ef(0x4cd)]?(this[_0x1624ef(0x19d)]['show']({'content':this['_localeService']['t'](_0x1624ef(0x410)),'type':_0x4ed4eb[_0x1624ef(0x475)]}),this[_0x1624ef(0x2a3)][_0x1624ef(0x396)](new _0x43ee6b(this[_0x1624ef(0x498)])['id'],!0x1),this[_0x1624ef(0x2a3)][_0x1624ef(0x224)](!0x1)):(this[_0x1624ef(0x2a3)][_0x1624ef(0x396)](new _0x43ee6b(this['unitID'])['id'],!0x0),this[_0x1624ef(0x2a3)][_0x1624ef(0x224)](!0x0));})));let _0xc9aea7=!0x1;return this[_0x3f0a37(0x45a)](this[_0x3f0a37(0x21c)]['sessionStatus$'][_0x3f0a37(0x346)](_0x4c76e3=>{const _0x4e5a9f=_0x3f0a37;_0x4c76e3===ve[_0x4e5a9f(0x22b)]?this[_0x4e5a9f(0x435)](_0xc9aea7):_0x4c76e3===ve[_0x4e5a9f(0x1d3)]&&(_0xc9aea7=!0x0,this[_0x4e5a9f(0x29e)]());})),this[_0x3f0a37(0x45a)](this[_0x3f0a37(0x21c)][_0x3f0a37(0x4f2)]['subscribe'](_0x9db96f=>{const _0x42c009=_0x3f0a37;try{switch(_0x9db96f[_0x42c009(0x242)]){case _0x40bfa0[_0x42c009(0x29a)]:{this['_onRemoteChangeset'](_0x2a8841(_0x9db96f[_0x42c009(0x1bf)]));break;}case _0x40bfa0[_0x42c009(0x584)]:{this[_0x42c009(0x56b)](_0x9db96f['data']);break;}case _0x40bfa0[_0x42c009(0x525)]:{this[_0x42c009(0x1d4)]();break;}case _0x40bfa0[_0x42c009(0x319)]:{this['_onRemoteRetry'](_0x9db96f['data']);break;}case _0x40bfa0['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x42c009(0x175)](_0x9db96f['data'][_0x42c009(0x3d3)][_0x42c009(0x265)](_0x2a19b0=>_0x2a8841(_0x2a19b0)));break;}case _0x40bfa0[_0x42c009(0x162)]:this[_0x42c009(0x1d4)]({'isPermissionRej':!0x0});}}catch(_0x9eac71){throw console[_0x42c009(0x27d)](_0x42c009(0x52c),_0x9eac71),_0x9eac71;}})),this['_state'];}[_0x46f17f(0x1db)](){const _0x44a8e9=_0x46f17f;this[_0x44a8e9(0x1a3)]=!0x1;}['_lockTransition'](){const _0x45c173=_0x46f17f;if(this['_transitionLocked'])throw new Error(_0x45c173(0x35f));this[_0x45c173(0x1a3)]=!0x0;}[_0x46f17f(0x4de)](_0x537194){const _0x2112af=_0x46f17f;this['_lockTransition'](),this[_0x2112af(0x193)](this[_0x2112af(0x274)]['appendMutation'](_0x537194)),this['_unlockTransition']();}[_0x46f17f(0x3eb)](_0x2140d5){const _0x2592ca=_0x46f17f;if(!(_0x2140d5[_0x2592ca(0x40c)]<=this[_0x2592ca(0x33e)][_0x2592ca(0x3c2)](this[_0x2592ca(0x498)]))){if(this[_0x2592ca(0x369)]){this[_0x2592ca(0x25e)][_0x2592ca(0x23d)](_0x2140d5);return;}this[_0x2592ca(0x259)](_0x2140d5);}}[_0x46f17f(0x3f9)](){const _0x14ba24=_0x46f17f;this[_0x14ba24(0x25e)][_0x14ba24(0x519)](_0x26a113=>this[_0x14ba24(0x259)](_0x26a113)),this['_remoteChangesetQueue']=[];}[_0x46f17f(0x259)](_0x2d621b){const _0x43362d=_0x46f17f,_0x52b838=this[_0x43362d(0x2c7)]['interceptor'][_0x43362d(0x359)](this[_0x43362d(0x2c7)][_0x43362d(0x392)][_0x43362d(0x2c2)]()[_0x43362d(0x46c)])(_0x2d621b[_0x43362d(0x49d)],null)||_0x2d621b['mutations'],_0x1228db={..._0x2d621b,'mutations':_0x52b838};this[_0x43362d(0x285)](),this[_0x43362d(0x193)](this[_0x43362d(0x274)][_0x43362d(0x491)](_0x1228db)),this['_unlockTransition']();}[_0x46f17f(0x56b)](_0xea8b24){const _0x3aacdb=_0x46f17f;this[_0x3aacdb(0x285)](),this[_0x3aacdb(0x193)](this[_0x3aacdb(0x274)][_0x3aacdb(0x55c)](_0xea8b24)),this[_0x3aacdb(0x1db)]();}[_0x46f17f(0x1d4)](_0x5bb675){const _0x3eb609=_0x46f17f;this[_0x3eb609(0x285)](),this[_0x3eb609(0x193)](this[_0x3eb609(0x274)][_0x3eb609(0x34c)](_0x5bb675)),this[_0x3eb609(0x1db)]();}[_0x46f17f(0x2f6)](_0x1054e6){const _0x46d943=_0x46f17f;this[_0x46d943(0x285)](),this[_0x46d943(0x193)](this[_0x46d943(0x274)][_0x46d943(0x3d6)](_0x1054e6)),this[_0x46d943(0x1db)]();}[_0x46f17f(0x175)](_0x480fd7){const _0x218271=_0x46f17f;if(!(this[_0x218271(0x274)]instanceof he))throw new TypeError(_0x218271(0x54a));const _0x2d9237=_0x480fd7[_0x218271(0x265)](_0x54a66b=>{const _0xaaafda=_0x218271,_0x42f284=this[_0xaaafda(0x2c7)]['interceptor'][_0xaaafda(0x359)](this['_compressMutationService'][_0xaaafda(0x392)][_0xaaafda(0x2c2)]()[_0xaaafda(0x46c)])(_0x54a66b[_0xaaafda(0x49d)],null)||_0x54a66b[_0xaaafda(0x49d)];return{..._0x54a66b,'mutations':_0x42f284};});this[_0x218271(0x285)](),this['_updateState'](this['_state'][_0x218271(0x212)](_0x2d9237)),this[_0x218271(0x1db)]();}['_toggleOffline'](){const _0x217b64=_0x46f17f;this[_0x217b64(0x285)](),this['_updateState'](this[_0x217b64(0x274)][_0x217b64(0x2f5)]()),this[_0x217b64(0x1db)]();}[_0x46f17f(0x435)](_0x373066=!0x1){const _0x5894af=_0x46f17f;this[_0x5894af(0x285)](),this[_0x5894af(0x193)](this[_0x5894af(0x274)][_0x5894af(0x2dc)]()),this['_unlockTransition']();const _0x3b09b5=this[_0x5894af(0x274)];_0x373066&&_0x3b09b5 instanceof Fe&&(this[_0x5894af(0x285)](),this[_0x5894af(0x193)](_0x3b09b5[_0x5894af(0x4c0)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x422ca4=>{const _0x4959a1=_0x1425;this[_0x4959a1(0x21c)][_0x4959a1(0x52e)][_0x4959a1(0x4e3)](_0x522325(0x1))['subscribe'](async _0x4896c9=>{const _0x25f1e9=_0x4959a1;_0x422ca4(await this[_0x25f1e9(0x49c)](_0x4896c9===ve[_0x25f1e9(0x22b)]));});});}[_0x46f17f(0x2d0)](){const _0x19f936=_0x46f17f,_0x1c2045=this[_0x19f936(0x498)];return{'onStateChange':(_0x2fc576,_0x267273)=>{const _0x144292=_0x19f936;if(_0x2fc576!==this['_state'])throw new Error(_0x144292(0x3f2)+_0x2fc576['status']+_0x144292(0x345)+_0x267273[_0x144292(0x54c)]+_0x144292(0x20b)+this[_0x144292(0x274)][_0x144292(0x54c)]);this[_0x144292(0x193)](_0x267273);},'onSendChangeset':_0x342bdb=>{const _0x31222c=_0x19f936;_0x342bdb[_0x31222c(0x1e7)]||(_0x342bdb['sid']=this[_0x31222c(0x47d)],_0x342bdb[_0x31222c(0x418)]=++this[_0x31222c(0x57a)]);const _0x320748={'eventID':_0x40bfa0[_0x31222c(0x2de)],'data':{'unitID':_0x342bdb[_0x31222c(0x498)],'unitType':this[_0x31222c(0x241)],'changeset':_0x342bdb,'memberID':this[_0x31222c(0x21c)][_0x31222c(0x28f)]()}};this[_0x31222c(0x21c)][_0x31222c(0x31a)](_0x320748,this[_0x31222c(0x498)]);},'onMissingChangesets':({from:_0x2c2d17,to:_0x13bc77})=>{const _0x34883d=_0x19f936;this[_0x34883d(0x1a7)][_0x34883d(0x589)]('[CollaborationEntity]',_0x34883d(0x3a7)+_0x2c2d17+'\x20to\x20'+_0x13bc77);const _0x54879e={'eventID':_0x40bfa0[_0x34883d(0x26f)],'data':{'unitID':_0x1c2045,'unitType':this[_0x34883d(0x241)],'from':_0x2c2d17,'to':_0x13bc77}};this['session']['send'](_0x54879e,this[_0x34883d(0x498)]);}};}async[_0x46f17f(0x49c)](_0xb4b930){const _0x4137ff=_0x46f17f;var _0x54f1bc,_0x680b4a;const _0x12e0c5=await this[_0x4137ff(0x4fe)]['loadOfflineData'](this[_0x4137ff(0x498)]),_0x59009d=(_0x54f1bc=_0x12e0c5==null?void 0x0:_0x12e0c5[_0x4137ff(0x49d)])!=null?_0x54f1bc:[],_0x257883=(_0x680b4a=_0x12e0c5==null?void 0x0:_0x12e0c5[_0x4137ff(0x566)])!=null?_0x680b4a:null,_0x5b7f9c=!!(_0x257883!=null&&_0x257883[_0x4137ff(0x1e7)])&&!!(_0x257883!=null&&_0x257883[_0x4137ff(0x418)]);this[_0x4137ff(0x47d)]=_0x5b7f9c?_0x257883[_0x4137ff(0x1e7)]:io(),this[_0x4137ff(0x57a)]=_0x5b7f9c?_0x257883[_0x4137ff(0x418)]:0x0;const _0x1291ad=this['unitID'];try{this[_0x4137ff(0x313)](_0x257883,_0x59009d);}catch(_0x2ae0e3){this[_0x4137ff(0x1a7)]['error'](_0x2ae0e3);}const _0x2bda88=this[_0x4137ff(0x2d0)]();if(_0xb4b930){const _0x3d266c=ji(this[_0x4137ff(0x176)],_0x1291ad,this[_0x4137ff(0x241)],_0x257883,_0x59009d,_0x2bda88);return _0x3d266c instanceof pe?_0x3d266c[_0x4137ff(0x2ca)]():(_0x3d266c instanceof ge||_0x3d266c instanceof Re)&&_0x3d266c[_0x4137ff(0x3e6)](),_0x3d266c;}return this['_injector']['createInstance'](ye,_0x1291ad,this[_0x4137ff(0x241)],_0x257883,_0x59009d,_0x2bda88);}[_0x46f17f(0x313)](_0x11796f,_0x307a54){const _0xf39a11=_0x46f17f;var _0x2258b0,_0x57663f;const _0x3276de=this[_0xf39a11(0x2c7)][_0xf39a11(0x392)][_0xf39a11(0x359)](this[_0xf39a11(0x2c7)][_0xf39a11(0x392)][_0xf39a11(0x2c2)]()[_0xf39a11(0x46c)]);(_0x2258b0=_0x3276de((_0x11796f==null?void 0x0:_0x11796f['mutations'])||[],null))==null||_0x2258b0[_0xf39a11(0x519)](_0x47f84a=>this[_0xf39a11(0x558)]['executeCommand'](_0x47f84a['id'],_0x47f84a[_0xf39a11(0x496)])),(_0x57663f=_0x3276de(_0x307a54||[],null))==null||_0x57663f[_0xf39a11(0x519)](_0x20b8ef=>this[_0xf39a11(0x558)]['executeCommand'](_0x20b8ef['id'],_0x20b8ef[_0xf39a11(0x496)]));}};St=Rs([H(0x3,_0x4e871f(_0x24063a)),H(0x4,_0x4e871f(q)),H(0x5,_0x4e871f(_0x1908d7)),H(0x6,_0x4e871f(_0x19d230)),H(0x7,_0x4e871f(_0x55fa5b)),H(0x8,_0x416cf3),H(0x9,_0x15e74e),H(0xa,_0x30cbad),H(0xb,_0x26d1fe),H(0xc,_0x1316cb(yt))],St);let rs=class extends St{constructor(_0x4be146,_0x36bdf1,_0x46a918,_0x4e8b09,_0x4a4d9,_0x471f8b,_0x57e42f,_0x36a278,_0x2e5d8c,_0x557837,_0x1b5ccc,_0x2284b6,_0x41b7b5,_0x380918,_0x242274,_0x1ecbd9,_0x14a3a1,_0x166add){const _0x513ea9=_0x46f17f;super(_0x4be146,_0x46a918,_0x36bdf1,_0x4e8b09,_0x4a4d9,_0x471f8b,_0x57e42f,_0x36a278,_0x380918,_0x242274,_0x1ecbd9,_0x14a3a1,_0x166add),this[_0x513ea9(0x498)]=_0x4be146,this[_0x513ea9(0x2a2)]=_0x36bdf1,this[_0x513ea9(0x532)]=_0x2e5d8c,this[_0x513ea9(0x3c7)]=_0x557837,this[_0x513ea9(0x3af)]=_0x1b5ccc,this[_0x513ea9(0x209)]=_0x2284b6,this[_0x513ea9(0x485)]=_0x41b7b5;}[_0x46f17f(0x2d0)](){const _0x5b27c7=_0x46f17f,_0x545f7c=super['_createHandler']();return _0x545f7c[_0x5b27c7(0x375)]=_0x2fb54c=>this[_0x5b27c7(0x3c7)][_0x5b27c7(0x3b3)](_0x2fb54c),_0x545f7c[_0x5b27c7(0x2f9)]=_0x3a783c=>this[_0x5b27c7(0x3af)][_0x5b27c7(0x408)](_0x3a783c),_0x545f7c[_0x5b27c7(0x363)]=_0x558f56=>this['_docTransformSelectionsService'][_0x5b27c7(0x1af)](_0x558f56),_0x545f7c['onSyncEditingCollabCursor']=_0x3f93a7=>this[_0x5b27c7(0x485)][_0x5b27c7(0x174)](_0x3f93a7),_0x545f7c[_0x5b27c7(0x283)]=_0x39e101=>this[_0x5b27c7(0x3c7)]['transformRemoteChangeset'](_0x39e101),_0x545f7c[_0x5b27c7(0x289)]=_0x12a72f=>this[_0x5b27c7(0x3af)][_0x5b27c7(0x4ea)](_0x12a72f),_0x545f7c;}async[_0x46f17f(0x3a9)](){const _0x27d552=_0x46f17f,_0x825759=await super[_0x27d552(0x3a9)]();return this[_0x27d552(0x45a)](this[_0x27d552(0x532)][_0x27d552(0x3b0)][_0x27d552(0x4e3)](_0x2b97ad(this['dispose$']))[_0x27d552(0x346)](_0x48aedf=>{const _0x260a2f=_0x27d552;if(_0x48aedf==null)return;const {unitId:_0x49019e,redoState:_0xdf70a1,commandId:_0x58678f}=_0x48aedf;if(_0x49019e!==this[_0x260a2f(0x498)])return;const _0x47658c={'id':_0x58678f,'type':_0x4b7f16[_0x260a2f(0x21d)],'params':{'unitId':_0x49019e,'actions':_0xdf70a1[_0x260a2f(0x52f)],'textRanges':null}};this[_0x260a2f(0x4de)](_0x47658c);})),this[_0x27d552(0x45a)](this['_commandService'][_0x27d552(0x30f)]((_0x31dcbd,_0x47ddd8)=>{const _0x5137d0=_0x27d552;if(_0x31dcbd[_0x5137d0(0x2a2)]!==_0x4b7f16[_0x5137d0(0x21d)]||_0x47ddd8!=null&&_0x47ddd8[_0x5137d0(0x2ec)]||_0x47ddd8!=null&&_0x47ddd8[_0x5137d0(0x2a5)]||_0x31dcbd['id']===_0x1ba87a['id'])return;const _0x551ca7=_0x31dcbd[_0x5137d0(0x496)];if((_0x551ca7==null?void 0x0:_0x551ca7[_0x5137d0(0x318)])!==this[_0x5137d0(0x498)])return;const _0x4a5031=_0x31dcbd,_0x57930e=this[_0x5137d0(0x2c7)][_0x5137d0(0x392)][_0x5137d0(0x359)](this['_compressMutationService'][_0x5137d0(0x392)][_0x5137d0(0x2c2)]()[_0x5137d0(0x3ba)])([_0x4a5031],null)||[_0x4a5031];this['_onLocalMutation'](_0x57930e[0x0]);})),_0x825759;}};rs=Rs([H(0x3,_0x4e871f(_0x24063a)),H(0x4,_0x4e871f(q)),H(0x5,_0x4e871f(_0x1908d7)),H(0x6,_0x4e871f(_0x19d230)),H(0x7,_0x4e871f(_0x55fa5b)),H(0x8,_0x4e871f(_0x280b41)),H(0x9,_0x4e871f(vt)),H(0xa,_0x4e871f(pt)),H(0xb,_0x4e871f(gt)),H(0xc,_0x4e871f(Ts)),H(0xd,_0x416cf3),H(0xe,_0x15e74e),H(0xf,_0x30cbad),H(0x10,_0x26d1fe),H(0x11,_0x1316cb(yt))],rs);let ns=class extends St{constructor(_0x56d763,_0x2de105,_0x5efe7b,_0x49acd5,_0x2271db,_0x193e7f,_0x8143a8,_0x2303da,_0x26bc91,_0xa02564,_0x44e9af,_0xc7d5aa,_0x15e688,_0x481988){const _0x59f214=_0x46f17f;super(_0x56d763,_0x5efe7b,_0x2de105,_0x49acd5,_0x2271db,_0x193e7f,_0x8143a8,_0x2303da,_0xa02564,_0x44e9af,_0xc7d5aa,_0x15e688,_0x481988),this[_0x59f214(0x498)]=_0x56d763,this[_0x59f214(0x2a2)]=_0x2de105,this['_sheetTransformSelectionsService']=_0x26bc91;}['_createHandler'](){const _0x63b344=_0x46f17f,_0x4c38f5=super['_createHandler']();return _0x4c38f5[_0x63b344(0x363)]=_0x1f5500=>this[_0x63b344(0x27e)]['transformSelections'](_0x1f5500),_0x4c38f5;}async[_0x46f17f(0x3a9)](){const _0x584ee5=_0x46f17f,_0x2766b4=await super[_0x584ee5(0x3a9)]();return this[_0x584ee5(0x45a)](this[_0x584ee5(0x558)][_0x584ee5(0x30f)]((_0x157535,_0x1a51f4)=>{const _0x33515f=_0x584ee5;if(_0x157535[_0x33515f(0x2a2)]!==_0x4b7f16['MUTATION']||_0x1a51f4!=null&&_0x1a51f4['fromCollab']||_0x1a51f4!=null&&_0x1a51f4[_0x33515f(0x2a5)])return;const _0x28d214=_0x157535[_0x33515f(0x496)];if((_0x28d214==null?void 0x0:_0x28d214[_0x33515f(0x318)])!==this[_0x33515f(0x498)])return;const _0x1c82c2=_0x157535,_0x10e594=this[_0x33515f(0x2c7)][_0x33515f(0x392)]['fetchThroughInterceptors'](this[_0x33515f(0x2c7)][_0x33515f(0x392)][_0x33515f(0x2c2)]()['COMPRESS_MUTATION_SEND'])([_0x1c82c2],null)||[_0x1c82c2];this[_0x33515f(0x4de)](_0x10e594[0x0]);})),_0x2766b4;}};ns=Rs([H(0x3,_0x4e871f(_0x24063a)),H(0x4,_0x4e871f(q)),H(0x5,_0x4e871f(_0x1908d7)),H(0x6,_0x4e871f(_0x19d230)),H(0x7,_0x4e871f(_0x55fa5b)),H(0x8,_0x4e871f(mt)),H(0x9,_0x416cf3),H(0xa,_0x15e74e),H(0xb,_0x30cbad),H(0xc,_0x26d1fe),H(0xd,_0x1316cb(yt))],ns);var Po=Object[_0x46f17f(0x3a4)],Uo=Object[_0x46f17f(0x17b)],No=(_0x476aef,_0xe91fb9,_0x1a384a,_0xee6157)=>{const _0x45ce19=_0x46f17f;for(var _0x2a23aa=_0xee6157>0x1?void 0x0:_0xee6157?Uo(_0xe91fb9,_0x1a384a):_0xe91fb9,_0x545dbd=_0x476aef[_0x45ce19(0x407)]-0x1,_0x504efa;_0x545dbd>=0x0;_0x545dbd--)(_0x504efa=_0x476aef[_0x545dbd])&&(_0x2a23aa=(_0xee6157?_0x504efa(_0xe91fb9,_0x1a384a,_0x2a23aa):_0x504efa(_0x2a23aa))||_0x2a23aa);return _0xee6157&&_0x2a23aa&&Po(_0xe91fb9,_0x1a384a,_0x2a23aa),_0x2a23aa;},Ht=(_0x26e6db,_0x59ca6c)=>(_0x15a89a,_0x29ecb1)=>_0x59ca6c(_0x15a89a,_0x29ecb1,_0x26e6db);let it=class extends _0x2ddc3d{constructor(_0x50fc52,_0x44fbfa,_0xff1a80){const _0x225aa5=_0x46f17f;super(),g(this,'_entities',new Map()),g(this,_0x225aa5(0x2b5),new _0x31ccd3()),(this[_0x225aa5(0x176)]=_0x50fc52,this['_collabSessionService']=_0x44fbfa,this['_univerInstanceService']=_0xff1a80,this[_0x225aa5(0x3a9)]());}['dispose'](){const _0x394509=_0x46f17f;super['dispose'](),this[_0x394509(0x443)][_0x394509(0x519)](_0x32e165=>_0x32e165[_0x394509(0x338)]()),this[_0x394509(0x443)]['clear']();}[_0x46f17f(0x3f8)](_0x28966c){const _0x4394eb=_0x46f17f;var _0x4bbc4e;return(_0x4bbc4e=this[_0x4394eb(0x443)][_0x4394eb(0x3e1)](_0x28966c))!=null?_0x4bbc4e:null;}[_0x46f17f(0x20c)](_0x5585e0){const _0x4cc47c=_0x46f17f,_0x45b053=this['getCollabEntity'](_0x5585e0);return _0x45b053?_0x1f0a04(_0x45b053):this[_0x4cc47c(0x2b5)][_0x4cc47c(0x4e3)](_0x191857(_0x2acf76=>_0x2acf76['unitID']===_0x5585e0));}[_0x46f17f(0x3a9)](){const _0x23aeb1=_0x46f17f;this[_0x23aeb1(0x53d)][_0x23aeb1(0x26b)](_0x571c15['UNIVER_SHEET'])[_0x23aeb1(0x4e3)](_0x2b97ad(this[_0x23aeb1(0x246)]),_0x1055a5(0x10))[_0x23aeb1(0x346)](async _0x4131a5=>{const _0x1ea182=_0x23aeb1,_0x1b7a18=_0x4131a5[_0x1ea182(0x565)](),_0x445a06=await this[_0x1ea182(0x400)](_0x1b7a18,ce['UNIVER_SHEET']);this['_entities'][_0x1ea182(0x25b)](_0x1b7a18,_0x445a06);}),this[_0x23aeb1(0x53d)][_0x23aeb1(0x26b)](_0x571c15[_0x23aeb1(0x15e)])[_0x23aeb1(0x4e3)](_0x2b97ad(this[_0x23aeb1(0x246)]),_0x1055a5(0x10))['pipe'](_0x191857(_0x38f62e=>!_0x38f62e[_0x23aeb1(0x565)]()[_0x23aeb1(0x2bb)]('__')))['subscribe'](async _0x3d9a44=>{const _0x4d9b8c=_0x23aeb1,_0x3abe38=_0x3d9a44[_0x4d9b8c(0x565)](),_0x252e90=await this[_0x4d9b8c(0x400)](_0x3abe38,ce['UNIVER_DOC']);this['_entities'][_0x4d9b8c(0x25b)](_0x3abe38,_0x252e90);}),_0x3c9b26(this[_0x23aeb1(0x53d)]['getTypeOfUnitDisposed$'](_0x571c15[_0x23aeb1(0x226)]),this[_0x23aeb1(0x53d)][_0x23aeb1(0x166)](_0x571c15[_0x23aeb1(0x15e)]))['pipe'](_0x2b97ad(this[_0x23aeb1(0x246)]))['subscribe'](_0x32f189=>{const _0x306b05=_0x23aeb1,_0x501f62=_0x32f189[_0x306b05(0x565)](),_0x1fde1f=this['_entities'][_0x306b05(0x3e1)](_0x501f62);_0x1fde1f&&(_0x1fde1f[_0x306b05(0x338)](),this[_0x306b05(0x443)][_0x306b05(0x2cd)](_0x501f62));});}async[_0x46f17f(0x400)](_0x145591,_0x4fe772){const _0x4c7445=_0x46f17f,_0x843f9c=await this['_collabSessionService'][_0x4c7445(0x294)](_0x145591),_0x1eb97b=this[_0x4c7445(0x176)]['createInstance'](this['_getCtorByUniverType'](_0x4fe772),_0x145591,_0x4fe772,_0x843f9c);return await _0x1eb97b[_0x4c7445(0x426)](),this['_entityInit$'][_0x4c7445(0x4e6)](_0x1eb97b),_0x1eb97b;}['_getCtorByUniverType'](_0x507f2d){const _0x50dde9=_0x46f17f;switch(_0x507f2d){case ce[_0x50dde9(0x15e)]:return rs;case ce[_0x50dde9(0x226)]:return ns;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x507f2d);}}};it=No([Ht(0x0,_0x4e871f(_0x24063a)),Ht(0x1,_0x4e871f(xe)),Ht(0x2,_0x2d6c6a)],it);var Ao=Object['defineProperty'],Mo=Object[_0x46f17f(0x17b)],xo=(_0x203bd8,_0xf25f72,_0x432fb0,_0xd166d2)=>{const _0x38ff27=_0x46f17f;for(var _0x3eae26=_0xd166d2>0x1?void 0x0:_0xd166d2?Mo(_0xf25f72,_0x432fb0):_0xf25f72,_0x31cb30=_0x203bd8[_0x38ff27(0x407)]-0x1,_0x396e3a;_0x31cb30>=0x0;_0x31cb30--)(_0x396e3a=_0x203bd8[_0x31cb30])&&(_0x3eae26=(_0xd166d2?_0x396e3a(_0xf25f72,_0x432fb0,_0x3eae26):_0x396e3a(_0x3eae26))||_0x3eae26);return _0xd166d2&&_0x3eae26&&Ao(_0xf25f72,_0x432fb0,_0x3eae26),_0x3eae26;},qs=(_0x2d5e50,_0x4ac3b2)=>(_0x34be5e,_0x2fb8cd)=>_0x4ac3b2(_0x34be5e,_0x2fb8cd,_0x2d5e50);let It=class extends _0x2ddc3d{constructor(_0xc3510a,_0x1322ff){const _0x2d49f5=_0x46f17f;super(),this[_0x2d49f5(0x273)]=_0xc3510a,this[_0x2d49f5(0x420)]=_0x1322ff,this[_0x2d49f5(0x3a9)]();}[_0x46f17f(0x3a9)](){const _0x105847=_0x46f17f,_0x11a728=this;this[_0x105847(0x45a)](this[_0x105847(0x273)]['addClipboardHook']({'onBeforePasteImage':async _0x56255e=>{const _0x5c0b37=_0x105847,_0x11bd03=await _0x11a728['_imageIoService'][_0x5c0b37(0x554)](_0x56255e);return _0x11bd03?{'source':_0x11bd03[_0x5c0b37(0x1cf)],'imageSourceType':_0x11bd03[_0x5c0b37(0x32a)]}:null;}}));}};It=xo([qs(0x0,_0x103fa2),qs(0x1,_0x30c4e5)],It);const Xs=[_0x46f17f(0x1fc),'jiqing500',_0x46f17f(0x2fa),_0x46f17f(0x48d),_0x46f17f(0x555),_0x46f17f(0x4cb)];class Os extends _0x156359{constructor(){const _0x125c31=_0x46f17f;super(...arguments),g(this,_0x125c31(0x441),new Map()),g(this,_0x125c31(0x1a9),0x0);}[_0x46f17f(0x478)](_0x4741bd){const _0x4f5812=_0x46f17f;if(this[_0x4f5812(0x441)]['has'](_0x4741bd))return this[_0x4f5812(0x441)][_0x4f5812(0x3e1)](_0x4741bd);const _0x5a44be=Xs[this[_0x4f5812(0x1a9)]];return this[_0x4f5812(0x1a9)]=(this[_0x4f5812(0x1a9)]+0x1)%Xs[_0x4f5812(0x407)],this[_0x4f5812(0x441)][_0x4f5812(0x25b)](_0x4741bd,_0x5a44be),_0x5a44be;}}var Lo=Object['defineProperty'],$o=Object[_0x46f17f(0x17b)],Ho=(_0x467b0,_0x3e8f7e,_0x53787f,_0x267b60)=>{const _0x3b80fc=_0x46f17f;for(var _0x45d7b0=_0x267b60>0x1?void 0x0:_0x267b60?$o(_0x3e8f7e,_0x53787f):_0x3e8f7e,_0x5916ce=_0x467b0[_0x3b80fc(0x407)]-0x1,_0x4ee482;_0x5916ce>=0x0;_0x5916ce--)(_0x4ee482=_0x467b0[_0x5916ce])&&(_0x45d7b0=(_0x267b60?_0x4ee482(_0x3e8f7e,_0x53787f,_0x45d7b0):_0x4ee482(_0x45d7b0))||_0x45d7b0);return _0x267b60&&_0x45d7b0&&Lo(_0x3e8f7e,_0x53787f,_0x45d7b0),_0x45d7b0;},De=(_0x7b5044,_0x49f7db)=>(_0x68e952,_0x53d19c)=>_0x49f7db(_0x68e952,_0x53d19c,_0x7b5044);const jo=0x12c,Bo=0x64;let os=class extends _0x2ddc3d{constructor(_0x1bad17,_0xc5f75d,_0x439731,_0x421b8b,_0x117d3e,_0x24b642,_0x220359,_0x967cff,_0x289803){const _0xf2110=_0x46f17f;super(),g(this,'_online',!0x1),g(this,_0xf2110(0x3a9),!0x1),g(this,_0xf2110(0x201),new _0x4581fa(new Map())),g(this,_0xf2110(0x3de),this['_cursorInfo$'][_0xf2110(0x1fb)]()),g(this,_0xf2110(0x561),new _0x4581fa([])),g(this,_0xf2110(0x185),this['_roomMembers$'][_0xf2110(0x4e3)](_0x3d77e4(jo))),g(this,_0xf2110(0x1d9),_0x2152b9(_0x35802a=>{const _0x1d6855=_0xf2110,_0x22c93e={'eventID':_0x40bfa0[_0x1d6855(0x204)],'data':{'unitID':this[_0x1d6855(0x498)],'memberID':this[_0x1d6855(0x3f3)][_0x1d6855(0x28f)](),'selection':Li(_0x35802a)}};this[_0x1d6855(0x3f3)][_0x1d6855(0x31a)](_0x22c93e,this[_0x1d6855(0x498)]);},Bo)),(this[_0xf2110(0x498)]=_0x1bad17,this['_session']=_0xc5f75d,this[_0xf2110(0x176)]=_0x439731,this['_colorAssignService']=_0x421b8b,this['_memberService']=_0x117d3e,this[_0xf2110(0x2e0)]=_0x24b642,this[_0xf2110(0x53b)]=_0x220359,this[_0xf2110(0x53d)]=_0x967cff,this[_0xf2110(0x558)]=_0x289803);}get[_0x46f17f(0x4ba)](){const _0x11cd45=_0x46f17f;return this[_0x11cd45(0x201)][_0x11cd45(0x290)]();}get[_0x46f17f(0x432)](){const _0x1bd615=_0x46f17f;return this[_0x1bd615(0x561)]['getValue']();}[_0x46f17f(0x338)](){const _0x17cc75=_0x46f17f;super[_0x17cc75(0x338)](),this[_0x17cc75(0x201)][_0x17cc75(0x4e6)](new Map()),this['_cursorInfo$'][_0x17cc75(0x282)](),this['_roomMembers$'][_0x17cc75(0x4e6)]([]),this['_roomMembers$'][_0x17cc75(0x282)]();}[_0x46f17f(0x426)](){const _0x44ca37=_0x46f17f;this[_0x44ca37(0x3a9)]||(this[_0x44ca37(0x3a9)]=!0x0,this['_session']['sessionStatus$'][_0x44ca37(0x4e3)](_0x2b97ad(this['dispose$']))['subscribe'](_0x2e738c=>{const _0xc5604b=_0x44ca37;_0x2e738c===ve[_0xc5604b(0x22b)]?this[_0xc5604b(0x435)]():this[_0xc5604b(0x29e)]();}),this[_0x44ca37(0x3f3)][_0x44ca37(0x4f2)][_0x44ca37(0x4e3)](_0x2b97ad(this['dispose$']))['subscribe'](_0x18e87=>{const _0x3cdb10=_0x44ca37,_0x5bd833=_0x18e87[_0x3cdb10(0x242)];_0x5bd833===_0x40bfa0[_0x3cdb10(0x204)]&&this[_0x3cdb10(0x2b9)](_0x18e87),_0x5bd833===_0x40bfa0['USERS_LEAVE']&&this['_onCursorDelete'](_0x18e87);}),this[_0x44ca37(0x45a)](this['_commandService']['onCommandExecuted'](_0x5564f1=>{const _0x43e58b=_0x44ca37,_0x42759e=_0x5564f1[_0x43e58b(0x496)];_0x42759e!=null&&this['_online']&&_0x5564f1['id']===_0x3c5819['id']&&_0x42759e[_0x43e58b(0x318)]===this[_0x43e58b(0x498)]&&_0x42759e[_0x43e58b(0x442)]===!0x1&&_0x42759e[_0x43e58b(0x370)][_0x43e58b(0x407)]>0x0&&this['_updateLocalCursor'](_0x42759e[_0x43e58b(0x370)]);})),this['_syncEditingCollabCursorService'][_0x44ca37(0x3d4)][_0x44ca37(0x4e3)](_0x2b97ad(this['dispose$']))['subscribe'](_0x5aac7e=>{const _0x5afa57=_0x44ca37;if((_0x5aac7e==null?void 0x0:_0x5aac7e[_0x5afa57(0x498)])!==this['unitID'])return;const _0x337239={'eventID':_0x40bfa0[_0x5afa57(0x204)],'data':_0x5aac7e};this['_onCursorUpdate'](_0x337239);}),this[_0x44ca37(0x45a)](this[_0x44ca37(0x558)]['onCommandExecuted'](_0xe5749e=>{const _0x467fd7=_0x44ca37;if(_0xe5749e['params']==null)return;const _0x4fc2ad=_0xe5749e['params'];if(_0xe5749e['id']!==_0x1ba87a['id']||_0x4fc2ad['unitId']!==this['unitID'])return;const _0x5d50f3={'id':_0x467fd7(0x1e4),'params':_0x4fc2ad},_0x5b83a6=this['cursorInfo'];for(const [_0x292169,_0x4b11ef]of _0x5b83a6){const _0x1aa499={'id':_0x467fd7(0x1e4),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4b11ef['ranges']}},_0x5d1b8f=this[_0x467fd7(0x53b)][_0x467fd7(0x31d)](_0x5d50f3,_0x1aa499,!0x1);if(_0x391986(_0x5d1b8f))throw _0x5d1b8f[_0x467fd7(0x27d)];_0x5b83a6[_0x467fd7(0x25b)](_0x292169,{..._0x4b11ef,'ranges':_0x5d1b8f[_0x467fd7(0x178)][_0x467fd7(0x496)][_0x467fd7(0x167)]});}queueMicrotask(()=>{const _0x2805da=_0x467fd7;this[_0x2805da(0x201)][_0x2805da(0x4e6)](_0x5b83a6);});})));}['_onCursorUpdate'](_0x55e3d4){const _0x59018d=_0x46f17f;var _0xc7bfc2,_0x3ac5f7;const {memberID:_0xa27db5,selection:_0x3d7ccd}=_0x55e3d4[_0x59018d(0x1bf)],_0x386631=So(_0x3d7ccd),_0x29de0d=(_0x3ac5f7=(_0xc7bfc2=this[_0x59018d(0x57e)][_0x59018d(0x438)](this['unitID'],_0xa27db5))==null?void 0x0:_0xc7bfc2[_0x59018d(0x1c9)])!=null?_0x3ac5f7:'Unknown\x20user',_0x5e00e3={'color':this[_0x59018d(0x35c)]['assignAColorForMemberID'](_0xa27db5),'name':_0x29de0d,'ranges':_0x386631},_0xa13203=this['cursorInfo'];_0xa13203[_0x59018d(0x25b)](_0xa27db5,_0x5e00e3),this[_0x59018d(0x201)][_0x59018d(0x4e6)](_0xa13203);}[_0x46f17f(0x331)](_0x5294f1){const _0x2166ad=_0x46f17f,{memberID:_0x208ad1}=_0x5294f1[_0x2166ad(0x1bf)],_0x15a471=this[_0x2166ad(0x4ba)];_0x15a471[_0x2166ad(0x2cd)](_0x208ad1),this[_0x2166ad(0x201)][_0x2166ad(0x4e6)](_0x15a471);}[_0x46f17f(0x435)](){const _0x2ccac3=_0x46f17f;var _0x59d2cf;if(this[_0x2ccac3(0x1e8)]=!0x0,((_0x59d2cf=this[_0x2ccac3(0x53d)][_0x2ccac3(0x46b)]())==null?void 0x0:_0x59d2cf[_0x2ccac3(0x565)]())!==this[_0x2ccac3(0x498)])return;const _0x592ea7=this[_0x2ccac3(0x176)]['get'](_0x5ed2b2)[_0x2ccac3(0x240)]();Array['isArray'](_0x592ea7)&&_0x592ea7[_0x2ccac3(0x407)]>0x0&&this['_updateLocalCursor'](_0x592ea7);}['_toggleOffline'](){const _0x12fa3c=_0x46f17f;this[_0x12fa3c(0x1e8)]=!0x1;}};os=Ho([De(0x2,_0x4e871f(_0x24063a)),De(0x3,_0x4e871f(Os)),De(0x4,_0x4e871f(Me)),De(0x5,_0x4e871f(Ts)),De(0x6,_0x1ea1f3),De(0x7,_0x2d6c6a),De(0x8,_0x15e74e)],os);var ko=Object[_0x46f17f(0x3a4)],Wo=Object[_0x46f17f(0x17b)],Fo=(_0x5255ae,_0xdd7e18,_0x184f85,_0x39785c)=>{for(var _0x3c8f4e=_0x39785c>0x1?void 0x0:_0x39785c?Wo(_0xdd7e18,_0x184f85):_0xdd7e18,_0x59f3be=_0x5255ae['length']-0x1,_0x2909d9;_0x59f3be>=0x0;_0x59f3be--)(_0x2909d9=_0x5255ae[_0x59f3be])&&(_0x3c8f4e=(_0x39785c?_0x2909d9(_0xdd7e18,_0x184f85,_0x3c8f4e):_0x2909d9(_0x3c8f4e))||_0x3c8f4e);return _0x39785c&&_0x3c8f4e&&ko(_0xdd7e18,_0x184f85,_0x3c8f4e),_0x3c8f4e;},Be=(_0x5b0cc4,_0x15a30a)=>(_0x526079,_0x3723d9)=>_0x15a30a(_0x526079,_0x3723d9,_0x5b0cc4);const Vo=0x12c,Go=0x64,Yo=()=>{let _0x12df00=[],_0x1f3206=!0x1;return _0x457e9f=>{_0x12df00['push'](_0x457e9f),_0x1f3206||(_0x1f3206=!0x0,setTimeout(()=>{const _0x1070b6=_0x1425;_0x12df00[_0x1070b6(0x519)](_0x4eeee0=>_0x4eeee0()),_0x12df00=[],_0x1f3206=!0x1;}));};};let as=class extends _0x2ddc3d{constructor(_0x3256f1,_0xa33240,_0x38fbfc,_0x503e4e,_0x526bed,_0x2b3c73,_0x5a1d15,_0x2a7a4a){const _0x4ec56c=_0x46f17f;super(),g(this,_0x4ec56c(0x1e8),!0x1),g(this,_0x4ec56c(0x3a9),!0x1),g(this,_0x4ec56c(0x201),new _0x4581fa(new Map())),g(this,'cursorInfo$',this[_0x4ec56c(0x201)][_0x4ec56c(0x1fb)]()),g(this,_0x4ec56c(0x561),new _0x4581fa([])),g(this,_0x4ec56c(0x185),this['_roomMembers$'][_0x4ec56c(0x4e3)](_0x3d77e4(Vo))),g(this,'_updateLocalCursor',_0x2152b9((_0x276407,_0x558d97)=>{const _0xc6725c=_0x4ec56c,_0x339032={'eventID':_0x40bfa0[_0xc6725c(0x204)],'data':{'unitID':this['unitID'],'memberID':this[_0xc6725c(0x3f3)][_0xc6725c(0x28f)](),'selection':_0x4f8d59(_0x276407,_0x558d97[_0xc6725c(0x30c)])}};this['_session']['send'](_0x339032,this[_0xc6725c(0x498)]);},Go)),(this[_0x4ec56c(0x498)]=_0x3256f1,this[_0x4ec56c(0x3f3)]=_0xa33240,this['_injector']=_0x38fbfc,this[_0x4ec56c(0x35c)]=_0x503e4e,this[_0x4ec56c(0x57e)]=_0x526bed,this[_0x4ec56c(0x53d)]=_0x2b3c73,this['_commandService']=_0x5a1d15,this[_0x4ec56c(0x385)]=_0x2a7a4a);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x46f17f(0x432)](){const _0x2e3021=_0x46f17f;return this['_roomMembers$'][_0x2e3021(0x290)]();}[_0x46f17f(0x338)](){const _0x41ac46=_0x46f17f;super['dispose'](),this['_cursorInfo$'][_0x41ac46(0x4e6)](new Map()),this[_0x41ac46(0x201)][_0x41ac46(0x282)](),this[_0x41ac46(0x561)]['next']([]),this['_roomMembers$'][_0x41ac46(0x282)]();}[_0x46f17f(0x426)](){const _0x1582ad=_0x46f17f;this[_0x1582ad(0x3a9)]||(this[_0x1582ad(0x3a9)]=!0x0,this[_0x1582ad(0x3f3)]['sessionStatus$'][_0x1582ad(0x4e3)](_0x2b97ad(this[_0x1582ad(0x246)]))[_0x1582ad(0x346)](_0x322863=>{const _0x375655=_0x1582ad;_0x322863===ve[_0x375655(0x22b)]?this[_0x375655(0x435)]():this[_0x375655(0x29e)]();}),this[_0x1582ad(0x3f3)][_0x1582ad(0x4f2)][_0x1582ad(0x4e3)](_0x2b97ad(this[_0x1582ad(0x246)]))['subscribe'](_0x363794=>{const _0x465f68=_0x1582ad,_0x137f15=_0x363794[_0x465f68(0x242)];_0x137f15===_0x40bfa0[_0x465f68(0x204)]&&this[_0x465f68(0x2b9)](_0x363794),_0x137f15===_0x40bfa0[_0x465f68(0x2b4)]&&this[_0x465f68(0x331)](_0x363794);}),this[_0x1582ad(0x308)](),this[_0x1582ad(0x45a)](this[_0x1582ad(0x558)]['onCommandExecuted'](_0x32e45e=>{const _0x32853a=_0x1582ad;if(this[_0x32853a(0x1e8)]&&_0x32e45e['id']===_0x4feead['id']&&_0x32e45e[_0x32853a(0x496)][_0x32853a(0x318)]===this['unitID']){const _0x40b3cb=_0x32e45e[_0x32853a(0x496)];this[_0x32853a(0x1d9)](_0x40b3cb[_0x32853a(0x1f6)],_0x40b3cb[_0x32853a(0x51e)][0x0]);}})));}[_0x46f17f(0x2b9)](_0x17adab){const _0x5f49a2=_0x46f17f;var _0x3e8bc3,_0x58a097;const {memberID:_0x19b9ff,selection:_0x43c5cb}=_0x17adab[_0x5f49a2(0x1bf)],{sheetName:_0x265e3d,range:_0x32ac49}=_0x534b4a(_0x43c5cb),_0xf52092={'name':(_0x58a097=(_0x3e8bc3=this['_memberService'][_0x5f49a2(0x438)](this['unitID'],_0x19b9ff))==null?void 0x0:_0x3e8bc3['name'])!=null?_0x58a097:'Unknown\x20user','range':this['_getMergeRange'](_0x265e3d,_0x32ac49),'sheetID':_0x265e3d,'color':this[_0x5f49a2(0x35c)]['assignAColorForMemberID'](_0x19b9ff),'selection':_0x43c5cb},_0x4e7795=this[_0x5f49a2(0x4ba)];_0x4e7795['set'](_0x19b9ff,_0xf52092),this[_0x5f49a2(0x201)][_0x5f49a2(0x4e6)](_0x4e7795);}[_0x46f17f(0x331)](_0x443f30){const _0x5599de=_0x46f17f,{memberID:_0x20653b}=_0x443f30['data'],_0x1a3b41=this['cursorInfo'];_0x1a3b41[_0x5599de(0x2cd)](_0x20653b),this['_cursorInfo$'][_0x5599de(0x4e6)](_0x1a3b41);}['_getMergeRange'](_0x599b97,_0x1b9b74){const _0x12c33a=_0x46f17f;var _0x5735e9,_0x51a5a5;const _0x228e08=(_0x51a5a5=(_0x5735e9=this[_0x12c33a(0x53d)]['getUniverSheetInstance'](this[_0x12c33a(0x498)]))==null?void 0x0:_0x5735e9['getSheetBySheetId'](_0x599b97))==null?void 0x0:_0x51a5a5[_0x12c33a(0x2a1)]();return(_0x228e08==null?void 0x0:_0x228e08[_0x12c33a(0x378)](_0x5c4dd6=>_0x135866[_0x12c33a(0x3b6)](_0x5c4dd6,_0x1b9b74)))||_0x1b9b74;}['_onRefRangeChange'](){const _0x527808=_0x46f17f,_0x36ac4e=new _0x55ba00(),_0x34e7f3=Yo(),_0x384bc3=()=>{const _0x5c4a4d=_0x1425;_0x36ac4e[_0x5c4a4d(0x338)]();const _0x4b0596=(_0x33c6c1,_0x5edfa6,_0x539060,_0x4cdcda)=>{const _0x7681e3=_0x5c4a4d;let _0x2c6550=[];switch(_0x33c6c1['id']){case _0x314df9['DeleteRangeMoveLeftCommandId']:{_0x2c6550=_0x4be412(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x574)]:{_0x2c6550=_0x5465a6(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x51b)]:{_0x2c6550=_0x5ce0fd(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x1f4)]:{_0x2c6550=_0x78040(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x2e5)]:{_0x2c6550=_0x3ba33c(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x19a)]:{_0x2c6550=_0x2d4f83(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x1c7)]:{_0x2c6550=_0xecff8f(_0x33c6c1,_0x4cdcda);break;}case _0x314df9[_0x7681e3(0x533)]:{_0x2c6550=_0x1436b6(_0x33c6c1,_0x4cdcda);break;}case _0x314df9['RemoveRowCommandId']:{_0x2c6550=_0x325aae(_0x33c6c1,_0x4cdcda);break;}}const _0x3640e1=_0x3fa3f8(_0x2c6550,_0x4cdcda),_0x21df37=this[_0x7681e3(0x4ba)][_0x7681e3(0x3e1)](_0x5edfa6);if(_0x21df37&&_0x3640e1){const _0x2285c9={..._0x21df37,'range':_0x3640e1};this[_0x7681e3(0x4ba)][_0x7681e3(0x25b)](_0x5edfa6,_0x2285c9),_0x34e7f3(()=>{const _0x218eab=_0x7681e3,_0x17e40d=this[_0x218eab(0x385)]['registerRefRange'](_0x3640e1,_0x47bf58=>(_0x17e40d[_0x218eab(0x338)](),_0x4b0596(_0x47bf58,_0x5edfa6,_0x539060,_0x3640e1)));_0x36ac4e[_0x218eab(0x42c)](_0x17e40d);});}return{'redos':[],'undos':[]};};this[_0x5c4a4d(0x4ba)][_0x5c4a4d(0x519)]((_0x13d182,_0x16bd09)=>{const _0x14c3e3=_0x5c4a4d,{range:_0x4a39f3,sheetID:_0x465aaf}=_0x13d182,_0x5455ea=this['_refRangeService'][_0x14c3e3(0x53e)](_0x4a39f3,_0x237706=>(_0x5455ea[_0x14c3e3(0x338)](),_0x4b0596(_0x237706,_0x16bd09,_0x465aaf,_0x4a39f3)));_0x36ac4e[_0x14c3e3(0x42c)](_0x5455ea);});};this[_0x527808(0x45a)](_0x105bf3(this['_cursorInfo$'][_0x527808(0x346)](()=>{_0x384bc3();})));}[_0x46f17f(0x435)](){const _0x406967=_0x46f17f;var _0x1e8dea,_0x5ba309;if(this[_0x406967(0x1e8)]=!0x0,((_0x1e8dea=this[_0x406967(0x53d)][_0x406967(0x46b)]())==null?void 0x0:_0x1e8dea[_0x406967(0x565)]())!==this[_0x406967(0x498)])return;const _0x255a66=(_0x5ba309=this[_0x406967(0x176)]['get'](_0x57d5f4)[_0x406967(0x1f9)]())==null?void 0x0:_0x5ba309[0x0],_0x289f4d=this[_0x406967(0x53d)]['getCurrentUnitForType'](_0x571c15[_0x406967(0x226)])[_0x406967(0x4c5)]();_0x255a66&&_0x289f4d&&this[_0x406967(0x1d9)](_0x289f4d[_0x406967(0x316)](),_0x255a66);}[_0x46f17f(0x29e)](){this['_online']=!0x1;}};as=Fo([Be(0x2,_0x4e871f(_0x24063a)),Be(0x3,_0x4e871f(Os)),Be(0x4,_0x4e871f(Me)),Be(0x5,_0x2d6c6a),Be(0x6,_0x15e74e),Be(0x7,_0x4e871f(_0x101b82))],as);var Ko=Object[_0x46f17f(0x3a4)],zo=Object[_0x46f17f(0x17b)],qo=(_0x281406,_0x1de195,_0x482d79,_0x2ffdf7)=>{for(var _0x4192e9=_0x2ffdf7>0x1?void 0x0:_0x2ffdf7?zo(_0x1de195,_0x482d79):_0x1de195,_0x304e4d=_0x281406['length']-0x1,_0x1df415;_0x304e4d>=0x0;_0x304e4d--)(_0x1df415=_0x281406[_0x304e4d])&&(_0x4192e9=(_0x2ffdf7?_0x1df415(_0x1de195,_0x482d79,_0x4192e9):_0x1df415(_0x4192e9))||_0x4192e9);return _0x2ffdf7&&_0x4192e9&&Ko(_0x1de195,_0x482d79,_0x4192e9),_0x4192e9;},jt=(_0x5a6b05,_0x3adab1)=>(_0x5b4fa7,_0x181458)=>_0x3adab1(_0x5b4fa7,_0x181458,_0x5a6b05);let Ve=class extends _0x2ddc3d{constructor(_0x36964b,_0x4adca0,_0x30658d){const _0x3fdd5b=_0x46f17f;super(),g(this,_0x3fdd5b(0x443),new Map()),g(this,_0x3fdd5b(0x2b5),new _0x31ccd3()),(this[_0x3fdd5b(0x53d)]=_0x36964b,this[_0x3fdd5b(0x176)]=_0x4adca0,this[_0x3fdd5b(0x526)]=_0x30658d,this[_0x3fdd5b(0x3a9)]());}[_0x46f17f(0x338)](){const _0x1acfd1=_0x46f17f;super['dispose'](),this['_entityInit$']['complete'](),this[_0x1acfd1(0x443)][_0x1acfd1(0x519)](_0x2f68f5=>_0x2f68f5[_0x1acfd1(0x338)]());}[_0x46f17f(0x539)](_0x279171){const _0x323120=_0x46f17f;return this[_0x323120(0x443)][_0x323120(0x49a)](_0x279171)?this[_0x323120(0x443)]['get'](_0x279171)[_0x323120(0x3de)]:this[_0x323120(0x2b5)]['pipe'](_0x20495e(_0x557bdf=>_0x557bdf[_0x323120(0x498)]===_0x279171),_0x36f349(_0x4ad1d8=>_0x4ad1d8[_0x323120(0x3de)]));}[_0x46f17f(0x3a9)](){const _0x2dc892=_0x46f17f;this[_0x2dc892(0x53d)][_0x2dc892(0x26b)](_0x571c15[_0x2dc892(0x226)])['pipe'](_0x2b97ad(this['dispose$']))[_0x2dc892(0x346)](async _0xe5fafe=>{const _0x1c362e=_0x2dc892,_0x33cab9=_0xe5fafe[_0x1c362e(0x565)](),_0x19bfa6=await this[_0x1c362e(0x4a8)](_0x33cab9);this['_entityInit$'][_0x1c362e(0x4e6)](_0x19bfa6),this[_0x1c362e(0x443)][_0x1c362e(0x25b)](_0x33cab9,_0x19bfa6);}),this[_0x2dc892(0x53d)]['getTypeOfUnitAdded$'](_0x571c15['UNIVER_DOC'])[_0x2dc892(0x4e3)](_0x2b97ad(this['dispose$']))['pipe'](_0x20495e(_0x3e197e=>!_0x3e197e[_0x2dc892(0x565)]()[_0x2dc892(0x2bb)]('__')))[_0x2dc892(0x346)](async _0x596143=>{const _0x537e6e=_0x2dc892,_0x119593=_0x596143[_0x537e6e(0x565)](),_0x3780db=await this['_startDocCollabCursor'](_0x119593);this[_0x537e6e(0x2b5)][_0x537e6e(0x4e6)](_0x3780db),this[_0x537e6e(0x443)]['set'](_0x119593,_0x3780db);}),_0x3c9b26(this[_0x2dc892(0x53d)][_0x2dc892(0x166)](_0x571c15['UNIVER_DOC']),this[_0x2dc892(0x53d)]['getTypeOfUnitDisposed$'](_0x571c15['UNIVER_SHEET']))['pipe'](_0x2b97ad(this[_0x2dc892(0x246)]))['subscribe'](_0x2080cb=>{const _0x31e71c=_0x2dc892,_0x33cd1d=_0x2080cb[_0x31e71c(0x565)](),_0x552e1f=this[_0x31e71c(0x443)][_0x31e71c(0x3e1)](_0x33cd1d);_0x552e1f&&(_0x552e1f[_0x31e71c(0x338)](),this[_0x31e71c(0x443)]['delete'](_0x33cd1d));});}async[_0x46f17f(0x4a8)](_0x5f1117){const _0x28d5f0=_0x46f17f,_0x5223b9=await this[_0x28d5f0(0x526)][_0x28d5f0(0x294)](_0x5f1117),_0x29f4bf=this[_0x28d5f0(0x176)]['createInstance'](as,_0x5f1117,_0x5223b9);return _0x29f4bf[_0x28d5f0(0x426)](),_0x29f4bf;}async[_0x46f17f(0x30a)](_0x31eade){const _0x457a18=_0x46f17f,_0x51b595=await this[_0x457a18(0x526)][_0x457a18(0x294)](_0x31eade),_0xddb828=this[_0x457a18(0x176)][_0x457a18(0x2a8)](os,_0x31eade,_0x51b595);return _0xddb828[_0x457a18(0x426)](),_0xddb828;}};Ve=qo([jt(0x0,_0x2d6c6a),jt(0x1,_0x4e871f(_0x24063a)),jt(0x2,_0x4e871f(xe))],Ve);const rt=0x14,Js=0xc8,Bt=0x4,Xo=0x5;function Jo(_0x4108c4,_0xd68e){const _0x54cfdd=_0x46f17f;let {radius:_0x37a0b1,width:_0x41f37c,height:_0xd7958e}=_0xd68e;_0x37a0b1=_0x37a0b1!=null?_0x37a0b1:0x0,_0x41f37c=_0x41f37c!=null?_0x41f37c:0x1e,_0xd7958e=_0xd7958e!=null?_0xd7958e:0x1e;let _0x2fbcc6=0x0,_0xe62007=0x0,_0x4cd6b6=0x0;_0x2fbcc6=_0xe62007=_0x4cd6b6=Math[_0x54cfdd(0x1df)](_0x37a0b1,_0x41f37c/0x2,_0xd7958e/0x2),_0x4108c4[_0x54cfdd(0x4ad)](),_0x4108c4[_0x54cfdd(0x39e)](_0x2fbcc6,0x0),_0x4108c4[_0x54cfdd(0x4b2)](_0x41f37c-_0xe62007,0x0),_0x4108c4[_0x54cfdd(0x18d)](_0x41f37c-_0xe62007,_0xe62007,_0xe62007,Math['PI']*0x3/0x2,0x0,!0x1),_0x4108c4[_0x54cfdd(0x4b2)](_0x41f37c,_0xd7958e-_0x4cd6b6),_0x4108c4[_0x54cfdd(0x18d)](_0x41f37c-_0x4cd6b6,_0xd7958e-_0x4cd6b6,_0x4cd6b6,0x0,Math['PI']/0x2,!0x1),_0x4108c4['lineTo'](0x0,_0xd7958e),_0x4108c4[_0x54cfdd(0x4b2)](0x0,_0x2fbcc6),_0x4108c4[_0x54cfdd(0x18d)](_0x2fbcc6,_0x2fbcc6,_0x2fbcc6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4108c4['closePath'](),_0xd68e[_0x54cfdd(0x2bf)]&&(_0x4108c4['save'](),_0x4108c4[_0x54cfdd(0x1c8)]=_0xd68e[_0x54cfdd(0x2bf)],_0xd68e[_0x54cfdd(0x365)]===_0x54cfdd(0x183)?_0x4108c4[_0x54cfdd(0x2bf)](_0x54cfdd(0x183)):_0x4108c4[_0x54cfdd(0x2bf)](),_0x4108c4[_0x54cfdd(0x2ff)]());}class wt extends _0x3af5e6{constructor(_0x241d21,_0xd1fa48){const _0x2e932b=_0x46f17f;super(_0x241d21,_0xd1fa48),g(this,_0x2e932b(0x33c)),g(this,_0x2e932b(0x2e4)),(this[_0x2e932b(0x33c)]=_0xd1fa48==null?void 0x0:_0xd1fa48[_0x2e932b(0x33c)],this[_0x2e932b(0x2e4)]=_0xd1fa48==null?void 0x0:_0xd1fa48[_0x2e932b(0x2e4)]);}static['drawWith'](_0x3bf7e7,_0x5128e8){const _0x2294e5=_0x46f17f,{text:_0x59ab2c,color:_0x1dc9a}=_0x5128e8;_0x3bf7e7[_0x2294e5(0x40f)](),_0x3bf7e7['font']=_0x2294e5(0x1a1);const _0x51438f=_0x3bf7e7[_0x2294e5(0x295)](_0x59ab2c)[_0x2294e5(0x326)],_0x4edb44=Math['min'](_0x51438f+0x2*Bt,Js);Jo(_0x3bf7e7,{'height':rt,'radius':0x4,'width':_0x4edb44,'fill':_0x1dc9a,'evented':!0x1}),_0x3bf7e7[_0x2294e5(0x1c8)]=_0x2294e5(0x504);const _0x22071f=Bt,_0xea2ee=rt-Xo,_0x5a23d8=Js-0x2*Bt;if(_0x51438f>_0x5a23d8){let _0x224c35='',_0x263cb2=0x0;for(const _0x52962d of _0x59ab2c){const _0x7cddc=_0x3bf7e7[_0x2294e5(0x295)](_0x52962d)[_0x2294e5(0x326)];if(_0x263cb2+_0x7cddc<=_0x5a23d8-_0x3bf7e7[_0x2294e5(0x295)](_0x2294e5(0x3d0))[_0x2294e5(0x326)])_0x224c35+=_0x52962d,_0x263cb2+=_0x7cddc;else{_0x224c35+='...';break;}}_0x3bf7e7[_0x2294e5(0x1b9)](_0x224c35,_0x22071f,_0xea2ee);}else _0x3bf7e7['fillText'](_0x59ab2c,_0x22071f,_0xea2ee);_0x3bf7e7[_0x2294e5(0x2ff)]();}[_0x46f17f(0x320)](_0x1dff0a){wt['drawWith'](_0x1dff0a,this);}}const kt='collab-text-anchor-',Zo=_0x46f17f(0x3e8),Qo=_0x46f17f(0x3be),Je=0x6,ea=1.5,Wt=0x4,ta=1.5,sa='rgba(255,\x20255,\x20255,\x200.01)';class Zs{constructor(_0x126514,_0x420505,_0x44ee85,_0x744492){const _0x41d9d2=_0x46f17f;g(this,'_shapes',[]),g(this,_0x41d9d2(0x52b),null),g(this,_0x41d9d2(0x4ac),null),g(this,_0x41d9d2(0x384),null),g(this,'_hideTimer',null),g(this,_0x41d9d2(0x37a),null),(this[_0x41d9d2(0x3a5)]=_0x126514,this[_0x41d9d2(0x2e9)]=_0x420505,this[_0x41d9d2(0x4da)]=_0x44ee85,this[_0x41d9d2(0x16e)]=_0x744492,this[_0x41d9d2(0x542)]());}set['_hover'](_0x240752){const _0xd34844=_0x46f17f;_0x240752?(this[_0xd34844(0x384)]&&this[_0xd34844(0x384)][_0xd34844(0x218)](),this[_0xd34844(0x4ac)]&&this[_0xd34844(0x4ac)][_0xd34844(0x17e)]()):(this[_0xd34844(0x384)]&&this[_0xd34844(0x384)][_0xd34844(0x17e)](),this[_0xd34844(0x4ac)]&&this[_0xd34844(0x4ac)][_0xd34844(0x218)]());}[_0x46f17f(0x338)](){const _0x1ebde0=_0x46f17f;for(const _0x4b0828 of this[_0x1ebde0(0x2bc)])_0x4b0828[_0x1ebde0(0x338)]();this['_textBubble']&&this['_textBubble'][_0x1ebde0(0x338)](),this[_0x1ebde0(0x384)]&&this[_0x1ebde0(0x384)][_0x1ebde0(0x338)](),this[_0x1ebde0(0x52b)]&&this[_0x1ebde0(0x52b)][_0x1ebde0(0x338)](),this[_0x1ebde0(0x37a)]&&this['_eventUnsubscribe']();}['_render'](){const _0x469874=_0x46f17f;var _0x38b79c;const {_docSkeleton:_0x46cd68,_document:_0x1dbfac}=this,{color:_0x52cdda,name:_0x1e0689,ranges:_0x5bc826}=this[_0x469874(0x3a5)],_0x4d8fc9=_0x1dbfac['getOffsetConfig'](),{docsLeft:_0x397fe6,docsTop:_0x5cbb3f}=_0x4d8fc9,_0x170c70=new _0x116697(_0x4d8fc9,_0x46cd68);for(const {startOffset:_0x30a88e,endOffset:_0x4500ec,rangeType:_0x590b9a,segmentId:_0x5f246d,segmentPage:_0x17522d,collapsed:_0x264206,isActive:_0x15ede3}of _0x5bc826){const _0x51aceb=_0x46cd68[_0x469874(0x537)](_0x30a88e,!0x0,_0x5f246d,_0x17522d);let _0x5aa449=_0x46cd68[_0x469874(0x537)](_0x4500ec,!0x0,_0x5f246d,_0x17522d);if(_0x5aa449==null&&(_0x5aa449=_0x46cd68[_0x469874(0x537)](_0x4500ec-0x1,!0x1,_0x5f246d,_0x17522d)),_0x15ede3){const {contentBoxPointGroup:_0x281b41}=_0x170c70[_0x469874(0x465)](_0x5aa449,_0x5aa449);if(_0x281b41[_0x469874(0x407)]===0x0)continue;this[_0x469874(0x1c4)](_0x52cdda,_0x281b41,_0x397fe6,_0x5cbb3f,_0x1e0689),this['_eventUnsubscribe']=this[_0x469874(0x394)]();}if(_0x51aceb&&_0x5aa449){if(_0x590b9a===_0x32f3c1['RECT']){const _0x33ecdb=new _0xba79ba(_0x4d8fc9,_0x46cd68),{pointGroup:_0x530a7d}=(_0x38b79c=_0x33ecdb[_0x469874(0x465)](_0x51aceb,_0x5aa449))!=null?_0x38b79c:{};if(_0x530a7d==null||_0x530a7d[_0x469874(0x407)]===0x0)continue;this[_0x469874(0x415)](_0x52cdda,_0x530a7d,_0x397fe6,_0x5cbb3f);}else{if(!_0x264206){const {borderBoxPointGroup:_0x3b5f64}=_0x170c70[_0x469874(0x465)](_0x51aceb,_0x5aa449);if(_0x3b5f64[_0x469874(0x407)]===0x0)continue;this[_0x469874(0x4a2)](_0x52cdda,_0x3b5f64,_0x397fe6,_0x5cbb3f);}}}}}[_0x46f17f(0x1c4)](_0xd69cce,_0x3ab3f1,_0xa64085,_0x4fa93e,_0x6a8d32){const _0x5f430f=_0x46f17f,_0x18f1ea=this[_0x5f430f(0x225)](_0x3ab3f1),{left:_0x1ffb87,top:_0x5025dd,height:_0x63d161}=_0x18f1ea,_0x119f3f=this[_0x5f430f(0x4d4)](),_0x1406f7=ta/_0x119f3f,_0x1bd313=new _0x3422e5(kt+_0x389286[_0x5f430f(0x467)](Je),{'left':_0x1ffb87+_0xa64085-_0x1406f7,'top':_0x5025dd+_0x4fa93e,'height':_0x63d161,'width':ea,'fill':_0xd69cce||_0x1b9413(_0x2b7ec6[_0x5f430f(0x1cc)],0x0),'strokeWidth':_0x1406f7,'stroke':sa,'evented':!0x0});this[_0x5f430f(0x52b)]=_0x1bd313,this[_0x5f430f(0x2e9)][_0x5f430f(0x191)](_0x1bd313,_0x2bc01b);const _0x48d0d4=new _0x3422e5(kt+_0x389286['generateRandomId'](Je),{'left':_0x1ffb87+_0xa64085-_0x1406f7,'top':_0x5025dd+_0x4fa93e-Wt/0x2,'height':Wt,'width':Wt,'fill':_0xd69cce||_0x1b9413(_0x2b7ec6[_0x5f430f(0x1cc)],0x0),'strokeWidth':0x0,'stroke':_0xd69cce||_0x1b9413(_0x2b7ec6[_0x5f430f(0x1cc)],0x0),'evented':!0x1});this['_anchorDot']=_0x48d0d4,this[_0x5f430f(0x2e9)][_0x5f430f(0x191)](_0x48d0d4,_0x2bc01b);const _0x16f316=new wt(kt+_0x389286['generateRandomId'](Je),{'left':_0x1ffb87+_0xa64085-_0x1406f7,'top':_0x5025dd+_0x4fa93e-rt,'text':_0x6a8d32,'color':_0xd69cce});this[_0x5f430f(0x4ac)]=_0x16f316,this[_0x5f430f(0x2e9)][_0x5f430f(0x191)](_0x16f316,_0x2bc01b),this[_0x5f430f(0x3a2)]=!0x1;}[_0x46f17f(0x394)](){const _0x5363ed=_0x46f17f,_0x4f02f2=this['_anchor'][_0x5363ed(0x3cb)][_0x5363ed(0x473)](()=>{this['_hover']=!0x0;}),_0x25d0af=this['_anchor'][_0x5363ed(0x322)][_0x5363ed(0x473)](()=>{const _0x47329f=_0x5363ed;this['_hideTimer']&&clearTimeout(this[_0x47329f(0x389)]),this[_0x47329f(0x389)]=setTimeout(()=>{const _0x4d23df=_0x47329f;this[_0x4d23df(0x3a2)]=!0x1;},0x7d0);});return()=>{const _0x288b48=_0x5363ed;_0x4f02f2[_0x288b48(0x362)](),_0x25d0af[_0x288b48(0x362)]();};}[_0x46f17f(0x4a2)](_0x353b7a,_0x306d32,_0x8ea434,_0x15d8f4){const _0x7b517b=_0x46f17f,_0x177c6f=new _0xaff671(_0x353b7a)[_0x7b517b(0x1ea)](0.2)[_0x7b517b(0x278)](),_0x3f3b0e=new _0x5ac9ed(Zo+_0x389286['generateRandomId'](Je),{'pointsGroup':_0x306d32,'fill':_0x177c6f||_0x1b9413(_0x2b7ec6[_0x7b517b(0x1cc)],0.2),'left':_0x8ea434,'top':_0x15d8f4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x7b517b(0x2bc)][_0x7b517b(0x23d)](_0x3f3b0e),this['_scene'][_0x7b517b(0x191)](_0x3f3b0e,_0x2bc01b);}[_0x46f17f(0x415)](_0x200ba0,_0x40ee52,_0x2261ec,_0x3d5381){const _0x308a8f=_0x46f17f,_0x599d7d=new _0xaff671(_0x200ba0)[_0x308a8f(0x1ea)](0.2)[_0x308a8f(0x278)](),_0x112b1e=new _0x5ac9ed(Qo+_0x389286[_0x308a8f(0x467)](Je),{'pointsGroup':_0x40ee52,'fill':_0x599d7d||_0x1b9413(_0x2b7ec6[_0x308a8f(0x1cc)],0.2),'left':_0x2261ec,'top':_0x3d5381,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x308a8f(0x2bc)][_0x308a8f(0x23d)](_0x112b1e),this[_0x308a8f(0x2e9)][_0x308a8f(0x191)](_0x112b1e,_0x2bc01b);}[_0x46f17f(0x225)](_0x5f3a3e){const _0x5309b0=_0x5f3a3e[0x0],_0xfbb735=_0x5309b0[0x0],_0x271b9c=_0x5309b0[0x2],{x:_0x1e6089,y:_0x45775c}=_0xfbb735,{x:_0x355552,y:_0x201585}=_0x271b9c;return{'left':_0x1e6089,'top':_0x45775c,'width':_0x355552-_0x1e6089,'height':_0x201585-_0x45775c};}[_0x46f17f(0x4d4)](){const _0x474b45=_0x46f17f,{scaleX:_0x4a829e,scaleY:_0x5ee546}=this['_scene']['getAncestorScale']();return Math[_0x474b45(0x17d)](_0x4a829e,_0x5ee546);}}var ia=Object[_0x46f17f(0x3a4)],ra=Object[_0x46f17f(0x17b)],na=(_0x4835e7,_0x12d2cb,_0x144fed,_0xebde72)=>{const _0x2895c1=_0x46f17f;for(var _0x4434cb=_0xebde72>0x1?void 0x0:_0xebde72?ra(_0x12d2cb,_0x144fed):_0x12d2cb,_0x3aee9a=_0x4835e7[_0x2895c1(0x407)]-0x1,_0x3eaf30;_0x3aee9a>=0x0;_0x3aee9a--)(_0x3eaf30=_0x4835e7[_0x3aee9a])&&(_0x4434cb=(_0xebde72?_0x3eaf30(_0x12d2cb,_0x144fed,_0x4434cb):_0x3eaf30(_0x4434cb))||_0x4434cb);return _0xebde72&&_0x4434cb&&ia(_0x12d2cb,_0x144fed,_0x4434cb),_0x4434cb;},ct=(_0x239084,_0x2ba242)=>(_0x19e319,_0xff84cb)=>_0x2ba242(_0x19e319,_0xff84cb,_0x239084);let cs=class extends _0x2ddc3d{constructor(_0x2deb6b,_0x553f8f,_0x5ec543,_0x231648,_0x317b91){const _0x480606=_0x46f17f;super(),g(this,_0x480606(0x50b),[]),g(this,_0x480606(0x2cb),[]),(this[_0x480606(0x412)]=_0x2deb6b,this['_docSkeletonManagerService']=_0x553f8f,this[_0x480606(0x3d2)]=_0x5ec543,this[_0x480606(0x558)]=_0x231648,this[_0x480606(0x2db)]=_0x317b91,this[_0x480606(0x3a9)]());}[_0x46f17f(0x3a9)](){const _0x14a8cb=_0x46f17f,_0x14a36f=this[_0x14a8cb(0x412)][_0x14a8cb(0x318)],_0x48e651=this[_0x14a8cb(0x4b6)];this[_0x14a8cb(0x45a)](_0x4ad575([this[_0x14a8cb(0x3d2)][_0x14a8cb(0x539)](_0x14a36f),this[_0x14a8cb(0x2db)]['currentTheme$']])[_0x14a8cb(0x4e3)](_0x4f9d2a(([_0x4bc48e,_0x2cb482])=>({'skeleton':_0x48e651[_0x14a8cb(0x3c0)](),'cursors':[..._0x4bc48e[_0x14a8cb(0x564)]()][_0x14a8cb(0x2bd)](_0x494241=>({..._0x494241,'color':_0x2cb482[_0x494241[_0x14a8cb(0x33c)]]}))})))[_0x14a8cb(0x346)](_0x1ae3e5=>{const _0x4a82c4=_0x14a8cb;if(this[_0x4a82c4(0x255)](),_0x1ae3e5){const {skeleton:_0x60038a,cursors:_0x1c2921}=_0x1ae3e5;this[_0x4a82c4(0x34d)](_0x60038a,_0x1c2921);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x46f17f(0x34d)](_0x554c9b,_0x4489ba){const _0x1653d4=_0x46f17f,{scene:_0x35bd57,mainComponent:_0x449603}=this['_context'],_0x1fca6f=_0x4489ba[_0x1653d4(0x265)](_0x4f9be9=>new Zs(_0x4f9be9,_0x35bd57,_0x554c9b,_0x449603));this[_0x1653d4(0x50b)]=_0x1fca6f,this['_cursors']=_0x4489ba;}[_0x46f17f(0x28a)](){const _0x2acad4=_0x46f17f;this[_0x2acad4(0x255)]();const {scene:_0x42c8fd,mainComponent:_0x45bdad}=this[_0x2acad4(0x412)],_0x23ba3d=this[_0x2acad4(0x4b6)][_0x2acad4(0x3c0)](),_0x4c9c1b=this[_0x2acad4(0x2cb)][_0x2acad4(0x265)](_0x443e2d=>new Zs(_0x443e2d,_0x42c8fd,_0x23ba3d,_0x45bdad));this[_0x2acad4(0x50b)]=_0x4c9c1b;}['_removeCollabCursors'](){const _0x14bccb=_0x46f17f;this[_0x14bccb(0x50b)][_0x14bccb(0x519)](_0x883093=>_0x883093['dispose']()),this['_cursorShapes']=[];}[_0x46f17f(0x2e1)](){const _0x511138=_0x46f17f,_0x18fd2f=[_0x3d9e18['id']];this['disposeWithMe'](this[_0x511138(0x558)][_0x511138(0x30f)](_0x669bbc=>{const _0x1fe146=_0x511138;_0x18fd2f['includes'](_0x669bbc['id'])&&_0x669bbc['params'][_0x1fe146(0x318)]===this[_0x1fe146(0x412)][_0x1fe146(0x318)]&&this[_0x1fe146(0x28a)]();}));}[_0x46f17f(0x315)](){const _0x4b713e=_0x46f17f;this[_0x4b713e(0x45a)](_0x12ea27(this[_0x4b713e(0x412)][_0x4b713e(0x292)][_0x4b713e(0x3b4)])['pipe'](_0x191857(_0x1f3261=>_0x1f3261[_0x4b713e(0x2a2)]===_0x558250[_0x4b713e(0x4d0)]),_0x1c9b34(0x10))['subscribe'](()=>{const _0x540212=_0x4b713e;this[_0x540212(0x28a)]();}));}};cs=na([ct(0x1,_0x4e871f(_0x3969f2)),ct(0x2,_0x4e871f(Ve)),ct(0x3,_0x15e74e),ct(0x4,_0x4e871f(_0x4f10db))],cs);const oa=0x1,aa=1.5;class ca extends _0x3af5e6{constructor(_0x5ab775,_0x441d0b){const _0x46274f=_0x46f17f;super(_0x5ab775,_0x441d0b),g(this,_0x46274f(0x187)),g(this,_0x46274f(0x184),!0x1),g(this,_0x46274f(0x44b)),g(this,_0x46274f(0x528),''),g(this,'_labelPosition',_0x46274f(0x2ed)),g(this,_0x46274f(0x447)),(_0x441d0b&&this[_0x46274f(0x1a6)](_0x441d0b),this[_0x46274f(0x3cb)][_0x46274f(0x473)](()=>this[_0x46274f(0x1a6)]({'hovered':!0x0})),this['onPointerLeave$'][_0x46274f(0x473)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x46f17f(0x1a6)](_0x1b9d3e){const _0x1655a2=_0x46f17f;var _0x5f33d9,_0x587935,_0x527747,_0x4d139a,_0x2b21e0,_0x4108b8;this['_color']=(_0x5f33d9=_0x1b9d3e[_0x1655a2(0x33c)])!=null?_0x5f33d9:this[_0x1655a2(0x187)],this['_hovered']=(_0x587935=_0x1b9d3e[_0x1655a2(0x48f)])!=null?_0x587935:this[_0x1655a2(0x184)],this[_0x1655a2(0x44b)]=(_0x527747=_0x1b9d3e[_0x1655a2(0x30c)])!=null?_0x527747:this[_0x1655a2(0x44b)],this['_name']=(_0x4d139a=_0x1b9d3e[_0x1655a2(0x1c9)])!=null?_0x4d139a:this[_0x1655a2(0x528)],this[_0x1655a2(0x4f4)]=(_0x2b21e0=_0x1b9d3e['labelPosition'])!=null?_0x2b21e0:this[_0x1655a2(0x4f4)],this[_0x1655a2(0x447)]=(_0x4108b8=_0x1b9d3e['backgroundColor'])!=null?_0x4108b8:this[_0x1655a2(0x447)],this[_0x1655a2(0x49e)]({'width':_0x1b9d3e['width'],'height':_0x1b9d3e['height']});}[_0x46f17f(0x2c3)](_0x54c9af){const _0x4d51c6=_0x46f17f,{row:_0x5a90c5,column:_0xc81459}=_0x54c9af;if(_0x5a90c5>=this[_0x4d51c6(0x44b)]['startRow']&&_0x5a90c5<=this['_range'][_0x4d51c6(0x399)]&&_0xc81459>=this[_0x4d51c6(0x44b)][_0x4d51c6(0x391)]&&_0xc81459<=this[_0x4d51c6(0x44b)]['endColumn']){this[_0x4d51c6(0x1a6)]({'hovered':!0x0});return;}this[_0x4d51c6(0x1a6)]({'hovered':!0x1});}[_0x46f17f(0x205)](_0x41bc63){return!0x1;}[_0x46f17f(0x320)](_0x68714d){const _0x44b4fe=_0x46f17f;_0x3422e5[_0x44b4fe(0x173)](_0x68714d,{'width':this[_0x44b4fe(0x326)],'height':this[_0x44b4fe(0x30d)],'strokeWidth':aa,'stroke':this[_0x44b4fe(0x187)],'evented':!0x1,'fill':this[_0x44b4fe(0x447)]}),this[_0x44b4fe(0x184)]&&(_0x68714d[_0x44b4fe(0x40f)](),_0x68714d['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x44b4fe(0x4f4)]==='bottom'?0x0:-rt),wt[_0x44b4fe(0x173)](_0x68714d,{'text':this['_name'],'color':this['_color']}),_0x68714d[_0x44b4fe(0x2ff)]());}}var ha=Object['defineProperty'],la=Object[_0x46f17f(0x17b)],_a=(_0x2b5fe6,_0x57f218,_0x22049b,_0x13d548)=>{for(var _0x59da2c=_0x13d548>0x1?void 0x0:_0x13d548?la(_0x57f218,_0x22049b):_0x57f218,_0x3b84a9=_0x2b5fe6['length']-0x1,_0x2060e6;_0x3b84a9>=0x0;_0x3b84a9--)(_0x2060e6=_0x2b5fe6[_0x3b84a9])&&(_0x59da2c=(_0x13d548?_0x2060e6(_0x57f218,_0x22049b,_0x59da2c):_0x2060e6(_0x59da2c))||_0x59da2c);return _0x13d548&&_0x59da2c&&ha(_0x57f218,_0x22049b,_0x59da2c),_0x59da2c;},Ft=(_0x171ef0,_0x24108d)=>(_0x2c8ee4,_0x27cb43)=>_0x24108d(_0x2c8ee4,_0x27cb43,_0x171ef0);const ua=0x1389;let hs=class extends _0x2ddc3d{constructor(_0x671c80,_0x272549,_0x5550ad,_0x432ea4){const _0x7c2b1f=_0x46f17f;super(),g(this,_0x7c2b1f(0x2cb),new Set()),g(this,_0x7c2b1f(0x42d),null),(this[_0x7c2b1f(0x412)]=_0x671c80,this[_0x7c2b1f(0x1c2)]=_0x272549,this['_collabCursorController']=_0x5550ad,this['_themeService']=_0x432ea4,this['_init']());}[_0x46f17f(0x3a9)](){const _0x416c42=_0x46f17f;this[_0x416c42(0x1c2)][_0x416c42(0x2ea)]['pipe'](_0x4ff54a(this[_0x416c42(0x246)]),_0xe3a2c7(_0x44f3ba=>{const _0x58a58c=_0x416c42;if(_0x44f3ba){const _0x1886b3=_0x44f3ba[_0x58a58c(0x4db)];return _0x4ad575(this[_0x58a58c(0x3d2)][_0x58a58c(0x539)](this[_0x58a58c(0x412)][_0x58a58c(0x318)]),this[_0x58a58c(0x2db)]['currentTheme$'])[_0x58a58c(0x4e3)](_0x4f9d2a(([_0x2ad911,_0x28ab86])=>{const _0x475dc4=_0x58a58c,_0x4b90dc=new Map();return _0x2ad911[_0x475dc4(0x519)]((_0x2a7d06,_0x12c902)=>{const _0x367eef=_0x475dc4;if(_0x2a7d06['sheetID']===_0x1886b3){const _0x5e5cf1={..._0x2a7d06};_0x5e5cf1[_0x367eef(0x33c)]=_0x28ab86[_0x2a7d06[_0x367eef(0x33c)]],_0x4b90dc[_0x367eef(0x25b)](_0x12c902,_0x5e5cf1);}}),{'skeleton':_0x44f3ba,'cursors':_0x4b90dc};}));}return _0x1f0a04({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2c27e4,cursors:_0x14d0ae})=>{const _0xbe795d=_0x416c42;this['_removeCollabCursors'](),_0x2c27e4&&this[_0xbe795d(0x34d)](_0x2c27e4,_0x14d0ae);}),this[_0x416c42(0x1c2)]['currentSkeleton$']['subscribe'](_0x41b888=>{const _0x171545=_0x416c42;if(_0x41b888==null)return;const {skeleton:_0x5ee9b1}=_0x41b888,{scene:_0x22ae5d}=this['_context'];_0x22ae5d[_0x171545(0x549)][_0x171545(0x473)](_0x2152b9(_0x3dae89=>{const _0x314cd6=_0x171545;var _0x266c7a,_0x1e5cd0;const {offsetX:_0x2b852d,offsetY:_0x4bb59f}=_0x3dae89,{x:_0x139058,y:_0x4fd5a5}=_0x22ae5d[_0x314cd6(0x4ec)](_0x369c59[_0x314cd6(0x3c9)]([_0x2b852d,_0x4bb59f])),{scaleX:_0x10e924,scaleY:_0x8f7b56}=_0x22ae5d[_0x314cd6(0x1ee)](),_0x5313ec=_0x22ae5d['getViewport'](_0x4f4f8e[_0x314cd6(0x1e3)]),_0x3fee2b=_0x22ae5d['getVpScrollXYInfoByPosToVp'](_0x369c59[_0x314cd6(0x3c9)]([_0x139058,_0x4fd5a5]),_0x5313ec),_0x49049d=_0x5ee9b1['getCellPositionByOffset'](_0x2b852d,_0x4bb59f,_0x10e924,_0x8f7b56,_0x3fee2b);((_0x266c7a=this[_0x314cd6(0x42d)])==null?void 0x0:_0x266c7a[_0x314cd6(0x4b0)])===_0x49049d[_0x314cd6(0x4b0)]&&((_0x1e5cd0=this['_lastPointer'])==null?void 0x0:_0x1e5cd0[_0x314cd6(0x4d9)])===_0x49049d[_0x314cd6(0x4d9)]||this[_0x314cd6(0x2cb)]['forEach'](_0x3f4bd0=>{const _0x33ce19=_0x314cd6;_0x3f4bd0[_0x33ce19(0x2c3)](_0x49049d);});},0x64));});}[_0x46f17f(0x34d)](_0x22b8ef,_0x1d00d0){const _0xc056ee=_0x46f17f;var _0x26e7a8;const _0x1fa996=(_0x26e7a8=this[_0xc056ee(0x1c2)][_0xc056ee(0x17a)]())==null?void 0x0:_0x26e7a8[_0xc056ee(0x4bd)];if(!_0x1fa996)return;const _0x26de61=this[_0xc056ee(0x360)]();if(!_0x26de61)return;this['_cursors'][_0xc056ee(0x519)](_0x37f8e9=>{const _0x5ae410=_0xc056ee;_0x37f8e9[_0x5ae410(0x1f7)]();});const {scene:_0x3b8df5}=_0x26de61,_0x4c2bdf=da(Array[_0xc056ee(0x575)](_0x1d00d0['values']()))[_0xc056ee(0x265)](_0x48a79f=>{const _0x53b725=_0xc056ee,{color:_0x15edc6,range:_0x4fc739,name:_0x11e4ff,selection:_0x31690f,sheetID:_0x12584a}=_0x48a79f,{startColumn:_0xdcc25c,startRow:_0x58157f,endColumn:_0x534041,endRow:_0x1bcbc1}=_0x4fc739,_0x413c4f=_0x5c7434(_0x58157f,_0xdcc25c,_0x3b8df5,_0x1fa996),_0x13f71c=_0x5c7434(_0x1bcbc1,_0x534041,_0x3b8df5,_0x1fa996),{columnHeaderHeightAndMarginTop:_0x444af6}=_0x1fa996,{startX:_0xfff938,startY:_0x5d253d}=_0x413c4f,{endX:_0x5745e4,endY:_0x3b6cd8}=_0x13f71c,_0x2974d6=_0x5745e4-_0xfff938,_0x41c39d=_0x3b6cd8-_0x5d253d,_0x5918da={'labelPosition':_0x5d253d-_0x444af6>=rt?_0x53b725(0x2ed):_0x53b725(0x172),'sheetID':_0x12584a,'range':_0x4fc739,'color':_0x15edc6,'name':_0x11e4ff,'selection':_0x31690f,'left':_0xfff938,'top':_0x5d253d,'width':_0x2974d6,'height':_0x41c39d,'evented':!0x1,'zIndex':ua};return new ca(_0x11e4ff,_0x5918da);});_0x3b8df5[_0xc056ee(0x3ca)](_0x4c2bdf,oa),this[_0xc056ee(0x2cb)]=new Set(_0x4c2bdf);}[_0x46f17f(0x255)](){const _0x5752fd=_0x46f17f;var _0x1054a0;(_0x1054a0=this['_cursors'])==null||_0x1054a0[_0x5752fd(0x519)](_0x5696f9=>_0x5696f9[_0x5752fd(0x338)]());}['_getSheetObject'](){const _0x498cb3=_0x46f17f;return _0x482e64(this[_0x498cb3(0x412)][_0x498cb3(0x1ba)],this[_0x498cb3(0x412)]);}};hs=_a([Ft(0x1,_0x4e871f(_0x5a4329)),Ft(0x2,_0x4e871f(Ve)),Ft(0x3,_0x4e871f(_0x4f10db))],hs);function da(_0x14d4d0){const _0x567081=_0x46f17f,_0x2fde74=new Map();return _0x14d4d0[_0x567081(0x519)](_0x4628c7=>{const _0xe6922c=_0x567081;if(_0x2fde74[_0xe6922c(0x49a)](_0x4628c7['selection'])){const _0x8d0852=_0x2fde74[_0xe6922c(0x3e1)](_0x4628c7['selection']);_0x8d0852[_0xe6922c(0x1c9)]+=',\x20'+_0x4628c7[_0xe6922c(0x1c9)];}else _0x2fde74[_0xe6922c(0x25b)](_0x4628c7[_0xe6922c(0x480)],_0x4628c7);}),Array[_0x567081(0x575)](_0x2fde74[_0x567081(0x564)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x30ca3d){const _0x9dbf89=_0x46f17f;return _0x30ca3d&&_0x30ca3d[_0x9dbf89(0x4d3)]&&Object[_0x9dbf89(0x4c9)]['hasOwnProperty'][_0x9dbf89(0x3a8)](_0x30ca3d,_0x9dbf89(0x381))?_0x30ca3d[_0x9dbf89(0x381)]:_0x30ca3d;}var Bi={'exports':{}},Dt={},fa=_0x3c6a43,va=Symbol['for'](_0x46f17f(0x40a)),ma=Symbol[_0x46f17f(0x56a)]('react.fragment'),pa=Object[_0x46f17f(0x4c9)][_0x46f17f(0x437)],ga=fa['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED']['ReactCurrentOwner'],Sa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function ki(_0x472432,_0x20e90e,_0x26c387){const _0x58f889=_0x46f17f;var _0x16272e,_0xc7c2fe={},_0x56704a=null,_0x1052ed=null;_0x26c387!==void 0x0&&(_0x56704a=''+_0x26c387),_0x20e90e[_0x58f889(0x1ae)]!==void 0x0&&(_0x56704a=''+_0x20e90e[_0x58f889(0x1ae)]),_0x20e90e[_0x58f889(0x215)]!==void 0x0&&(_0x1052ed=_0x20e90e['ref']);for(_0x16272e in _0x20e90e)pa['call'](_0x20e90e,_0x16272e)&&!Sa[_0x58f889(0x437)](_0x16272e)&&(_0xc7c2fe[_0x16272e]=_0x20e90e[_0x16272e]);if(_0x472432&&_0x472432[_0x58f889(0x468)]){for(_0x16272e in(_0x20e90e=_0x472432[_0x58f889(0x468)],_0x20e90e))_0xc7c2fe[_0x16272e]===void 0x0&&(_0xc7c2fe[_0x16272e]=_0x20e90e[_0x16272e]);}return{'$$typeof':va,'type':_0x472432,'key':_0x56704a,'ref':_0x1052ed,'props':_0xc7c2fe,'_owner':ga[_0x58f889(0x1ef)]};}Dt[_0x46f17f(0x253)]=ma,Dt['jsx']=ki,Dt[_0x46f17f(0x336)]=ki,Bi[_0x46f17f(0x4b5)]=Dt;var Pe=Bi[_0x46f17f(0x4b5)],se=function(){const _0x2b22b9=_0x46f17f;return se=Object[_0x2b22b9(0x42e)]||function(_0x5f4ee9){const _0x2fe229=_0x2b22b9;for(var _0x235812,_0x1a99f1=0x1,_0x3a3a21=arguments['length'];_0x1a99f1<_0x3a3a21;_0x1a99f1++){_0x235812=arguments[_0x1a99f1];for(var _0x494723 in _0x235812)Object[_0x2fe229(0x4c9)][_0x2fe229(0x437)]['call'](_0x235812,_0x494723)&&(_0x5f4ee9[_0x494723]=_0x235812[_0x494723]);}return _0x5f4ee9;},se[_0x2b22b9(0x44c)](this,arguments);},Ia=function(_0xe6820d,_0xe986bb){const _0x42fd8b=_0x46f17f;var _0x452322={};for(var _0x307428 in _0xe6820d)Object[_0x42fd8b(0x4c9)][_0x42fd8b(0x437)]['call'](_0xe6820d,_0x307428)&&_0xe986bb[_0x42fd8b(0x49f)](_0x307428)<0x0&&(_0x452322[_0x307428]=_0xe6820d[_0x307428]);if(_0xe6820d!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x3f047a=0x0,_0x307428=Object[_0x42fd8b(0x405)](_0xe6820d);_0x3f047a<_0x307428['length'];_0x3f047a++)_0xe986bb[_0x42fd8b(0x49f)](_0x307428[_0x3f047a])<0x0&&Object['prototype'][_0x42fd8b(0x2be)][_0x42fd8b(0x3a8)](_0xe6820d,_0x307428[_0x3f047a])&&(_0x452322[_0x307428[_0x3f047a]]=_0xe6820d[_0x307428[_0x3f047a]]);}return _0x452322;},ys=_0x16fb4d(function(_0x43f9fe,_0x13ac55){const _0x550e2d=_0x46f17f;var _0x9bc2b7=_0x43f9fe[_0x550e2d(0x390)],_0x1b270f=_0x43f9fe['id'],_0x1132df=_0x43f9fe[_0x550e2d(0x458)],_0x749b67=_0x43f9fe[_0x550e2d(0x3c3)],_0x3f05bc=Ia(_0x43f9fe,['icon','id',_0x550e2d(0x458),_0x550e2d(0x3c3)]),_0x5ddbd4=_0x550e2d(0x1dd)[_0x550e2d(0x216)](_0x1b270f,'\x20')['concat'](_0x1132df||'')[_0x550e2d(0x579)](),_0x513439=_0x14c015('_'['concat'](ba()));return Wi(_0x9bc2b7,''[_0x550e2d(0x216)](_0x1b270f),{'defIds':_0x9bc2b7[_0x550e2d(0x550)],'idSuffix':_0x513439[_0x550e2d(0x1ef)]},se({'ref':_0x13ac55,'className':_0x5ddbd4},_0x3f05bc),_0x749b67);});function Wi(_0x2d989c,_0x6781c,_0x4bbe12,_0x1b0833,_0x260152){const _0x3eb140=_0x46f17f;return _0x3daae4(_0x2d989c[_0x3eb140(0x3a0)],se(se({'key':_0x6781c},Ca(_0x2d989c,_0x4bbe12,_0x260152)),_0x1b0833),(Ea(_0x2d989c,_0x4bbe12)[_0x3eb140(0x220)]||[])['map'](function(_0x498e19,_0x425a9d){const _0x1fc880=_0x3eb140;return Wi(_0x498e19,''[_0x1fc880(0x216)](_0x6781c,'-')[_0x1fc880(0x216)](_0x2d989c['tag'],'-')[_0x1fc880(0x216)](_0x425a9d),_0x4bbe12,void 0x0,_0x260152);}));}function Ca(_0x486183,_0x25b316,_0xc59984){const _0x497656=_0x46f17f;var _0x2c3287=se({},_0x486183[_0x497656(0x1fa)]);_0xc59984!=null&&_0xc59984[_0x497656(0x245)]&&_0x2c3287['fill']==='colorChannel1'&&(_0x2c3287['fill']=_0xc59984['colorChannel1']);var _0x3a8085=_0x25b316['defIds'];return!_0x3a8085||_0x3a8085['length']===0x0||(_0x486183[_0x497656(0x3a0)]==='use'&&_0x2c3287[_0x497656(0x32e)]&&(_0x2c3287[_0x497656(0x32e)]=_0x2c3287['xlink:href']+_0x25b316['idSuffix']),Object[_0x497656(0x228)](_0x2c3287)['forEach'](function(_0x392294){const _0x1a6db5=_0x497656;var _0x1a45ba=_0x392294[0x0],_0x23197d=_0x392294[0x1];typeof _0x23197d==_0x1a6db5(0x366)&&(_0x2c3287[_0x1a45ba]=_0x23197d[_0x1a6db5(0x484)](/url\(#(.*)\)/,_0x1a6db5(0x17f)[_0x1a6db5(0x216)](_0x25b316[_0x1a6db5(0x19c)],')')));})),_0x2c3287;}function Ea(_0x2327a7,_0x3cf86f){const _0xdc1899=_0x46f17f;var _0x5cc62b,_0x1f34c4=_0x3cf86f[_0xdc1899(0x550)];return!_0x1f34c4||_0x1f34c4['length']===0x0?_0x2327a7:_0x2327a7[_0xdc1899(0x3a0)]===_0xdc1899(0x40e)&&(!((_0x5cc62b=_0x2327a7[_0xdc1899(0x220)])===null||_0x5cc62b===void 0x0)&&_0x5cc62b[_0xdc1899(0x407)])?se(se({},_0x2327a7),{'children':_0x2327a7[_0xdc1899(0x220)][_0xdc1899(0x265)](function(_0xc2b28d){const _0x82b4c8=_0xdc1899;return typeof _0xc2b28d[_0x82b4c8(0x1fa)]['id']=='string'&&_0x1f34c4&&_0x1f34c4[_0x82b4c8(0x49f)](_0xc2b28d[_0x82b4c8(0x1fa)]['id'])>-0x1?se(se({},_0xc2b28d),{'attrs':se(se({},_0xc2b28d['attrs']),{'id':_0xc2b28d[_0x82b4c8(0x1fa)]['id']+_0x3cf86f[_0x82b4c8(0x19c)]})}):_0xc2b28d;})}):_0x2327a7;}function ba(){const _0x121909=_0x46f17f;return Math[_0x121909(0x237)]()[_0x121909(0x4b7)](0x24)[_0x121909(0x1b8)](0x2,0x8);}ys[_0x46f17f(0x43b)]=_0x46f17f(0x416);var Ta={'tag':_0x46f17f(0x2a7),'attrs':{'fill':_0x46f17f(0x3dd),'viewBox':'0\x200\x2016\x2016','width':_0x46f17f(0x508),'height':_0x46f17f(0x508)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x46f17f(0x4ab),'attrs':{'stroke':_0x46f17f(0x34a),'d':_0x46f17f(0x55b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x46f17f(0x40e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x46f17f(0x1c0)},'children':[{'tag':'path','attrs':{'fill':_0x46f17f(0x557),'d':_0x46f17f(0x4f5)}}]}]}],'defIds':[_0x46f17f(0x1c0)]},Fi=_0x16fb4d(function(_0xe4ad76,_0xccb20d){const _0x2a40b6=_0x46f17f;return _0x3daae4(ys,Object[_0x2a40b6(0x42e)]({},_0xe4ad76,{'id':_0x2a40b6(0x24d),'ref':_0xccb20d,'icon':Ta}));});Fi[_0x46f17f(0x43b)]=_0x46f17f(0x577);var Ra={'tag':_0x46f17f(0x2a7),'attrs':{'fill':_0x46f17f(0x3dd),'viewBox':_0x46f17f(0x1a8),'width':_0x46f17f(0x508),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x46f17f(0x29f)},'children':[{'tag':_0x46f17f(0x4ab),'attrs':{'stroke':_0x46f17f(0x34a),'d':_0x46f17f(0x1e6),'strokeLinecap':_0x46f17f(0x55a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x46f17f(0x40e),'attrs':{},'children':[{'tag':_0x46f17f(0x347),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x46f17f(0x4ab),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x46f17f(0x559)}}]}]}],'defIds':[_0x46f17f(0x300)]},Vi=_0x16fb4d(function(_0x836006,_0x2d1d68){return _0x3daae4(ys,Object['assign']({},_0x836006,{'id':'on-line-single','ref':_0x2d1d68,'icon':Ra}));});Vi[_0x46f17f(0x43b)]=_0x46f17f(0x2c4);function Gi(_0x14a8a2){const _0x3a67de=_0x46f17f;var _0x26c491,_0x535bf2,_0x43f07c='';if(typeof _0x14a8a2==_0x3a67de(0x366)||typeof _0x14a8a2==_0x3a67de(0x18b))_0x43f07c+=_0x14a8a2;else{if(typeof _0x14a8a2==_0x3a67de(0x500)){if(Array[_0x3a67de(0x328)](_0x14a8a2)){var _0x4d8e4a=_0x14a8a2['length'];for(_0x26c491=0x0;_0x26c491<_0x4d8e4a;_0x26c491++)_0x14a8a2[_0x26c491]&&(_0x535bf2=Gi(_0x14a8a2[_0x26c491]))&&(_0x43f07c&&(_0x43f07c+='\x20'),_0x43f07c+=_0x535bf2);}else{for(_0x535bf2 in _0x14a8a2)_0x14a8a2[_0x535bf2]&&(_0x43f07c&&(_0x43f07c+='\x20'),_0x43f07c+=_0x535bf2);}}}return _0x43f07c;}function Oa(){const _0x306ca9=_0x46f17f;for(var _0x380381,_0x2d8bba,_0x2e5475=0x0,_0x2a4759='',_0xcdec63=arguments[_0x306ca9(0x407)];_0x2e5475<_0xcdec63;_0x2e5475++)(_0x380381=arguments[_0x2e5475])&&(_0x2d8bba=Gi(_0x380381))&&(_0x2a4759&&(_0x2a4759+='\x20'),_0x2a4759+=_0x2d8bba);return _0x2a4759;}const ya=_0x46f17f(0x3e7),wa=_0x46f17f(0x355),Da=_0x46f17f(0x192),Pa=_0x46f17f(0x4c4),Ua=_0x46f17f(0x275),Ze={'onlineStatusIcon':ya,'onlineStatusTitle':wa,'onlineStatus':Da,'online':Pa,'offline':Ua};function Na(_0x4bd8e8){const _0x24eceb=_0x46f17f;switch(_0x4bd8e8){case J[_0x24eceb(0x1d3)]:return _0x24eceb(0x37d);case J[_0x24eceb(0x2f4)]:return _0x24eceb(0x207);case J[_0x24eceb(0x404)]:return _0x24eceb(0x38b);case J[_0x24eceb(0x51f)]:return _0x24eceb(0x248);case J[_0x24eceb(0x351)]:case J['AWAITING_WITH_PENDING']:return _0x24eceb(0x354);case J[_0x24eceb(0x17c)]:case J[_0x24eceb(0x2a6)]:return _0x24eceb(0x57f);}}function Aa(_0x2f6d58){const _0x536d0a=_0x46f17f,{status$:_0x497fb9}=_0x2f6d58,_0x9e171f=_0x5a9c52(_0x497fb9,J['NOT_COLLAB']),_0x1a5f95=_0x155249(_0x19d230),_0x48d1a3=_0x155249(xe),_0x5b07f7=_0x9e171f!==J[_0x536d0a(0x1d3)],_0x43c6f1=_0x1a5f95['t'](Na(_0x9e171f)),_0xf44ea7=Oa(Ze[_0x536d0a(0x2fe)],{[Ze[_0x536d0a(0x2ee)]]:_0x5b07f7,[Ze[_0x536d0a(0x20a)]]:!_0x5b07f7}),_0x4b5585=_0x5b07f7?Pe[_0x536d0a(0x383)](Vi,{}):Pe[_0x536d0a(0x383)](Fi,{}),_0x4764ef=_0x3cf208(()=>{const _0x1af27a=_0x536d0a;_0x5b07f7||_0x48d1a3[_0x1af27a(0x1d6)]();},[_0x5b07f7,_0x48d1a3]);function _0x56c3ee(){const _0x199d46=_0x536d0a;return Pe[_0x199d46(0x336)](_0x199d46(0x280),{'className':_0xf44ea7,'onClick':_0x4764ef,'children':[Pe[_0x199d46(0x383)](_0x199d46(0x280),{'className':Ze[_0x199d46(0x1c3)],'children':_0x4b5585}),Pe[_0x199d46(0x383)](_0x199d46(0x280),{'className':Ze[_0x199d46(0x417)],'children':_0x43c6f1})]});}return _0x5b07f7?_0x56c3ee():Pe[_0x536d0a(0x383)](_0x2c7462,{'title':_0x1a5f95['t'](_0x536d0a(0x57b)),'children':_0x56c3ee()});}var Ma=Object[_0x46f17f(0x3a4)],xa=Object['getOwnPropertyDescriptor'],La=(_0x57300b,_0x4d2611,_0xfbf169,_0xb7becc)=>{const _0x56c8c2=_0x46f17f;for(var _0x5dd4b6=_0xb7becc>0x1?void 0x0:_0xb7becc?xa(_0x4d2611,_0xfbf169):_0x4d2611,_0x50d327=_0x57300b[_0x56c8c2(0x407)]-0x1,_0x3c038a;_0x50d327>=0x0;_0x50d327--)(_0x3c038a=_0x57300b[_0x50d327])&&(_0x5dd4b6=(_0xb7becc?_0x3c038a(_0x4d2611,_0xfbf169,_0x5dd4b6):_0x3c038a(_0x5dd4b6))||_0x5dd4b6);return _0xb7becc&&_0x5dd4b6&&Ma(_0x4d2611,_0xfbf169,_0x5dd4b6),_0x5dd4b6;},ht=(_0x495d19,_0x51487b)=>(_0x484116,_0x2ad774)=>_0x51487b(_0x484116,_0x2ad774,_0x495d19);let Ct=class extends _0x156359{constructor(_0x330a1f,_0x137c4e,_0x1a92f3,_0x39b033){const _0x57438a=_0x46f17f;super(),g(this,_0x57438a(0x258),new _0x4581fa(J[_0x57438a(0x51f)])),(this[_0x57438a(0x53d)]=_0x330a1f,this[_0x57438a(0x217)]=_0x137c4e,this['_injector']=_0x1a92f3,this[_0x57438a(0x306)]=_0x39b033,this[_0x57438a(0x233)](),this['_initStatusListener']());}[_0x46f17f(0x344)](){const _0x131309=_0x46f17f;this[_0x131309(0x45a)](this[_0x131309(0x53d)]['focused$'][_0x131309(0x4e3)](_0x36f349(()=>{const _0xcb1519=_0x131309,_0x420253=this[_0xcb1519(0x53d)]['getFocusedUnit']();return _0x420253?this[_0xcb1519(0x306)]['getCollabEntity$'](_0x420253['getUnitId']()):_0x1f0a04(null);}),_0x36f349(_0x4565ff=>_0x4565ff?_0x4565ff[_0x131309(0x571)]:_0x1f0a04(J['NOT_COLLAB'])))[_0x131309(0x346)](_0x4fe654=>{const _0x155c14=_0x131309;this[_0x155c14(0x258)][_0x155c14(0x4e6)](_0x4fe654);}));}[_0x46f17f(0x233)](){const _0x1a4fd9=_0x46f17f;this[_0x1a4fd9(0x45a)](this[_0x1a4fd9(0x217)]['registerComponent'](_0x5c457d[_0x1a4fd9(0x45b)],()=>_0x31f1c2($a({'status$':this['_status$']['asObservable']()}),this[_0x1a4fd9(0x176)])));}};Ct=La([ht(0x0,_0x2d6c6a),ht(0x1,_0x36bc47),ht(0x2,_0x4e871f(_0x24063a)),ht(0x3,_0x4e871f(it))],Ct);function $a(_0x3da9dc){const {status$:_0x19c647}=_0x3da9dc;return function(){const _0x473ebb=_0x1425;return Pe[_0x473ebb(0x383)](Aa,{'status$':_0x19c647});};}const Yi=_0x1035a6('uni.network.url-service');function _0x1425(_0x4c6389,_0x2ef46b){const _0x4ae699=_0x4ae6();return _0x1425=function(_0x1425b2,_0x142255){_0x1425b2=_0x1425b2-0x15e;let _0x58a4ba=_0x4ae699[_0x1425b2];return _0x58a4ba;},_0x1425(_0x4c6389,_0x2ef46b);}var Ha=Object['defineProperty'],ja=Object['getOwnPropertyDescriptor'],Ba=(_0x43e363,_0x2ce3ce,_0x1922f4,_0x2ee8b5)=>{const _0x41c77c=_0x46f17f;for(var _0x5b8b6d=_0x2ee8b5>0x1?void 0x0:_0x2ee8b5?ja(_0x2ce3ce,_0x1922f4):_0x2ce3ce,_0x3eab4b=_0x43e363[_0x41c77c(0x407)]-0x1,_0x45e729;_0x3eab4b>=0x0;_0x3eab4b--)(_0x45e729=_0x43e363[_0x3eab4b])&&(_0x5b8b6d=(_0x2ee8b5?_0x45e729(_0x2ce3ce,_0x1922f4,_0x5b8b6d):_0x45e729(_0x5b8b6d))||_0x5b8b6d);return _0x2ee8b5&&_0x5b8b6d&&Ha(_0x2ce3ce,_0x1922f4,_0x5b8b6d),_0x5b8b6d;},ke=(_0x3a7fbf,_0x5dafbe)=>(_0x4bec62,_0x4e5dec)=>_0x5dafbe(_0x4bec62,_0x4e5dec,_0x3a7fbf);let Et=class extends _0x2ddc3d{constructor(_0x1e4e5b,_0x42ec67,_0x1b5026,_0x4ec9d4,_0x4d333e,_0x1507ac){const _0x58ac3a=_0x46f17f;super(),this[_0x58ac3a(0x16f)]=_0x1e4e5b,this[_0x58ac3a(0x1a7)]=_0x42ec67,this['_commandService']=_0x1b5026,this['_localCacheService']=_0x4ec9d4,this[_0x58ac3a(0x58e)]=_0x4d333e,_0x1507ac?_0x1507ac==null||_0x1507ac['whenReady']()['then'](()=>this[_0x58ac3a(0x3a9)]()):(this['_logService'][_0x58ac3a(0x589)](_0x58ac3a(0x588),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x58ac3a(0x3a9)]());}async[_0x46f17f(0x3a9)](){const _0x2e73ad=_0x46f17f,_0x166079=this[_0x2e73ad(0x16f)][_0x2e73ad(0x502)]('unit'),_0x2c48ef=this[_0x2e73ad(0x16f)][_0x2e73ad(0x502)](_0x2e73ad(0x2a2));if(!_0x166079||!_0x2c48ef){this[_0x2e73ad(0x1a7)][_0x2e73ad(0x589)](_0x2e73ad(0x588),_0x2e73ad(0x27a));return;}switch(Number(_0x2c48ef)){case ce[_0x2e73ad(0x226)]:{const _0x21b306=await this[_0x2e73ad(0x161)](_0x166079);this[_0x2e73ad(0x1f5)](_0x21b306);break;}case ce[_0x2e73ad(0x15e)]:{await this[_0x2e73ad(0x200)](_0x166079);break;}default:{this[_0x2e73ad(0x1a7)][_0x2e73ad(0x27d)]('[DataLoaderController]',_0x2e73ad(0x16b));break;}}}async[_0x46f17f(0x1f5)](_0x1e3ae2){const _0x881f06=_0x46f17f;await this[_0x881f06(0x581)](_0x1e3ae2),_0x1e3ae2[_0x881f06(0x395)][_0x881f06(0x4e3)](_0x2b97ad(this['dispose$']))[_0x881f06(0x346)](_0x25b323=>{const _0x1ac07f=_0x881f06;_0x25b323&&this[_0x1ac07f(0x3b1)](_0x25b323);}),this[_0x881f06(0x16f)]['urlChange$'][_0x881f06(0x4e3)](_0x2b97ad(this[_0x881f06(0x246)]))['subscribe'](()=>this[_0x881f06(0x581)](_0x1e3ae2));}[_0x46f17f(0x3b1)](_0x53cc90,_0x3d4ebf=!0x1){const _0x57d756=_0x46f17f,_0x24cd56=this[_0x57d756(0x16f)]['getParam'](_0x57d756(0x4ae));_0x53cc90['getSheetId']()!==_0x24cd56&&this['_urlService'][_0x57d756(0x4d8)](_0x57d756(0x4ae),_0x53cc90[_0x57d756(0x316)](),_0x3d4ebf);}async['_updateSubUnitFromURLParams'](_0x2ed4c2){const _0x4aea42=_0x46f17f;var _0xb985ae;const _0xef2e3e=this[_0x4aea42(0x16f)][_0x4aea42(0x502)](_0x4aea42(0x4ae));if(!_0xef2e3e||!_0x2ed4c2['getSheetBySheetId'](_0xef2e3e)){const _0x33f2e9=_0x2ed4c2['getUnhiddenWorksheets']()[0x0],_0x56f838=_0x2ed4c2[_0x4aea42(0x4e5)](_0x33f2e9);if(!_0x56f838)return;this[_0x4aea42(0x3b1)](_0x56f838,!0x0),await this[_0x4aea42(0x558)][_0x4aea42(0x521)](_0x527771['id'],{'unitId':_0x2ed4c2[_0x4aea42(0x565)](),'subUnitId':_0x33f2e9});return;}((_0xb985ae=_0x2ed4c2[_0x4aea42(0x4c5)]())==null?void 0x0:_0xb985ae[_0x4aea42(0x316)]())!==_0xef2e3e&&await this[_0x4aea42(0x558)][_0x4aea42(0x521)](_0x527771['id'],{'unitId':_0x2ed4c2[_0x4aea42(0x565)](),'subUnitId':_0xef2e3e});}async[_0x46f17f(0x161)](_0x178ae1){const _0x323e31=_0x46f17f;let _0x15ba4e=0x0;const _0x280e5d=await this[_0x323e31(0x4fe)][_0x323e31(0x31c)](_0x178ae1);return _0x280e5d&&(_0x280e5d[_0x323e31(0x566)]||_0x280e5d[_0x323e31(0x49d)][_0x323e31(0x407)]!==0x0)&&(_0x15ba4e=_0x280e5d[_0x323e31(0x2f2)]),_0x15ba4e===0x0&&this['_logService'][_0x323e31(0x589)](_0x323e31(0x588),_0x323e31(0x179)),this['_snapshotService'][_0x323e31(0x529)](_0x178ae1,_0x15ba4e);}async[_0x46f17f(0x200)](_0x46745b){const _0x1b1422=_0x46f17f;let _0x5ed4d9=0x0;const _0x5a2ab8=await this[_0x1b1422(0x4fe)][_0x1b1422(0x31c)](_0x46745b);return _0x5a2ab8&&(_0x5a2ab8[_0x1b1422(0x566)]||_0x5a2ab8['mutations'][_0x1b1422(0x407)]!==0x0)&&(_0x5ed4d9=_0x5a2ab8[_0x1b1422(0x2f2)]),_0x5ed4d9===0x0&&this[_0x1b1422(0x1a7)]['debug'](_0x1b1422(0x588),_0x1b1422(0x179)),this[_0x1b1422(0x58e)][_0x1b1422(0x403)](_0x46745b,_0x5ed4d9);}};Et=Ba([ke(0x0,Yi),ke(0x1,_0x416cf3),ke(0x2,_0x15e74e),ke(0x3,_0x4e871f(q)),ke(0x4,_0x4e871f(_0x16d892)),ke(0x5,_0x1316cb(_0x33a2e7))],Et);var ka=Object[_0x46f17f(0x3a4)],Wa=Object['getOwnPropertyDescriptor'],Fa=(_0x5a8775,_0x1f20e2,_0x1c7c7f,_0x3d18fb)=>{for(var _0xc17f62=_0x3d18fb>0x1?void 0x0:_0x3d18fb?Wa(_0x1f20e2,_0x1c7c7f):_0x1f20e2,_0x58b9f8=_0x5a8775['length']-0x1,_0x1123a3;_0x58b9f8>=0x0;_0x58b9f8--)(_0x1123a3=_0x5a8775[_0x58b9f8])&&(_0xc17f62=(_0x3d18fb?_0x1123a3(_0x1f20e2,_0x1c7c7f,_0xc17f62):_0x1123a3(_0xc17f62))||_0xc17f62);return _0x3d18fb&&_0xc17f62&&ka(_0x1f20e2,_0x1c7c7f,_0xc17f62),_0xc17f62;},Qs=(_0xf63fa8,_0x2bc210)=>(_0x345ba9,_0x2f81bc)=>_0x2bc210(_0x345ba9,_0x2f81bc,_0xf63fa8);const Va=_0x46f17f(0x35a),Ga=_0x46f17f(0x264);let bt=class extends _0x156359{constructor(_0x366e2a,_0x28b9ed){const _0x424d85=_0x46f17f;super(),this[_0x424d85(0x53d)]=_0x366e2a,this[_0x424d85(0x57c)]=_0x28b9ed,this[_0x424d85(0x3a9)]();}[_0x46f17f(0x3a9)](){const _0x42e48f=_0x46f17f;this[_0x42e48f(0x45a)](this[_0x42e48f(0x53d)]['focused$']['subscribe'](()=>{const _0x5bf37e=_0x42e48f;var _0x2d79eb;const _0x322aba=this[_0x5bf37e(0x53d)][_0x5bf37e(0x46b)]();let _0x168d3=(_0x2d79eb=this['_configService'][_0x5bf37e(0x4b3)](Va))!=null?_0x2d79eb:Ga;_0x322aba instanceof _0x3b1689&&(_0x168d3=_0x322aba[_0x5bf37e(0x1c9)]),document[_0x5bf37e(0x2b1)]=_0x168d3;}));}};bt=Fa([Qs(0x0,_0x2d6c6a),Qs(0x1,_0x175c85)],bt);var Ya=Object['defineProperty'],Ka=Object[_0x46f17f(0x17b)],za=(_0x389048,_0x58568,_0x32d66a,_0x33e151)=>{const _0x14b2b2=_0x46f17f;for(var _0x1e7f1e=_0x33e151>0x1?void 0x0:_0x33e151?Ka(_0x58568,_0x32d66a):_0x58568,_0x2e6c49=_0x389048[_0x14b2b2(0x407)]-0x1,_0x172b35;_0x2e6c49>=0x0;_0x2e6c49--)(_0x172b35=_0x389048[_0x2e6c49])&&(_0x1e7f1e=(_0x33e151?_0x172b35(_0x58568,_0x32d66a,_0x1e7f1e):_0x172b35(_0x1e7f1e))||_0x1e7f1e);return _0x33e151&&_0x1e7f1e&&Ya(_0x58568,_0x32d66a,_0x1e7f1e),_0x1e7f1e;},Vt=(_0x171c21,_0x25cedf)=>(_0x204350,_0x23d703)=>_0x25cedf(_0x204350,_0x23d703,_0x171c21);let Tt=class{constructor(_0x2f0903,_0xf973cc,_0xa03b1a){const _0x2df288=_0x46f17f;this[_0x2df288(0x57c)]=_0x2f0903,this[_0x2df288(0x32f)]=_0xf973cc,this[_0x2df288(0x50c)]=_0xa03b1a,this[_0x2df288(0x426)]();}['init'](){const _0x5103e6=_0x46f17f;this[_0x5103e6(0x32f)][_0x5103e6(0x317)]({'priority':0x1,'interceptor':(_0x5b94b5,_0x1eb36e)=>_0x1eb36e(_0x5b94b5)['pipe'](_0x23ed2f(async _0x576c22=>{const _0x3bc990=_0x5103e6,_0x2196e7=_0x576c22;if(_0x2196e7[_0x3bc990(0x54c)]===0x191&&window['confirm'](this[_0x3bc990(0x50c)]['t'](_0x3bc990(0x3f1)))){const _0x167222=window[_0x3bc990(0x332)](window[_0x3bc990(0x4c7)][_0x3bc990(0x46d)]);window['location']['href']=this['_getLoginPath']()+_0x3bc990(0x556)+_0x167222;}return _0x2196e7;}))});}[_0x46f17f(0x45e)](){const _0x5f1cce=_0x46f17f;var _0x56685b,_0x5a8ad5;const _0x37ae24=this['_configService'][_0x5f1cce(0x4b3)](Nn),_0x364d5b=this[_0x5f1cce(0x57c)]['getConfig'](ee);return(_0x5a8ad5=(_0x56685b=_0x364d5b==null?void 0x0:_0x364d5b[_0x5f1cce(0x3cd)])!=null?_0x56685b:_0x37ae24)!=null?_0x5a8ad5:An;}};Tt=za([Vt(0x0,_0x175c85),Vt(0x1,_0x4e871f(_0x595bc6)),Vt(0x2,_0x4e871f(_0x19d230))],Tt);var qa=Object[_0x46f17f(0x3a4)],Xa=Object[_0x46f17f(0x17b)],Ja=(_0xb2ef3a,_0x5bc492,_0x4c7fc4,_0x233297)=>{const _0x23f899=_0x46f17f;for(var _0x150d5a=_0x233297>0x1?void 0x0:_0x233297?Xa(_0x5bc492,_0x4c7fc4):_0x5bc492,_0x33b414=_0xb2ef3a[_0x23f899(0x407)]-0x1,_0x5226ab;_0x33b414>=0x0;_0x33b414--)(_0x5226ab=_0xb2ef3a[_0x33b414])&&(_0x150d5a=(_0x233297?_0x5226ab(_0x5bc492,_0x4c7fc4,_0x150d5a):_0x5226ab(_0x150d5a))||_0x150d5a);return _0x233297&&_0x150d5a&&qa(_0x5bc492,_0x4c7fc4,_0x150d5a),_0x150d5a;},ei=(_0x3c7fd3,_0x4c7d61)=>(_0x4a5c32,_0x5d5785)=>_0x4c7d61(_0x4a5c32,_0x5d5785,_0x3c7fd3);const Ki=_0x46f17f(0x2fb),Za=_0x46f17f(0x260);let ls=class extends _0x156359{constructor(_0x319904,_0x3e1916){const _0x470ead=_0x46f17f;super(),this[_0x470ead(0x524)]=_0x319904,this[_0x470ead(0x57c)]=_0x3e1916,this['_initMergeInterceptor']();}[_0x46f17f(0x402)](){const _0x2d2fc0=_0x46f17f,_0x1951d3=this;this[_0x2d2fc0(0x45a)](this[_0x2d2fc0(0x524)][_0x2d2fc0(0x317)]({'priority':0x3e7,'interceptor':_0x171710({'isMatch'(_0x50c368){const _0x5af2fb=_0x2d2fc0;var _0x241c88;if(_0x50c368[_0x5af2fb(0x380)]===_0x5af2fb(0x50e)&&((_0x241c88=_0x50c368[_0x5af2fb(0x4ed)])!=null&&_0x241c88[_0x5af2fb(0x358)])){const {objectID:_0xbdb352,objectType:_0x2351a3}=_0x50c368['requestParams'][_0x5af2fb(0x358)]||{};if(!_0xbdb352||_0x2351a3===void 0x0)return!0x1;const _0x35b9d7=_0x1951d3[_0x5af2fb(0x457)]()+'/'+_0x2351a3+_0x5af2fb(0x2b8)+_0xbdb352+_0x5af2fb(0x18f);if(_0x50c368[_0x5af2fb(0x1e2)]===_0x35b9d7)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x45fe1a){const _0x13c83b=_0x2d2fc0;var _0x5e5608;return(_0x5e5608=_0x45fe1a['requestParams'])==null?void 0x0:_0x5e5608[_0x13c83b(0x358)];},'mergeParamsToRequest'(_0x3452b9,_0x22366d){const _0x1a7646=_0x2d2fc0,_0x5cdae9=_0x1951d3['_getAPIPrefixPath']()+_0x1a7646(0x506),_0x57a6d9=_0x3452b9[_0x1a7646(0x249)]((_0xa8807,_0x56af7b)=>{const _0x276f6e=_0x1a7646,{unitID:_0x2b091f,objectID:_0x3201c5,objectType:_0x387001,actions:_0x225534}=_0x56af7b;return _0xa8807[_0x2b091f]||(_0xa8807[_0x2b091f]={}),_0xa8807[_0x2b091f][_0x3201c5]||(_0xa8807[_0x2b091f][_0x3201c5]={'objectID':_0x3201c5,'objectType':_0x387001,'actions':[]}),_0xa8807[_0x2b091f][_0x3201c5][_0x276f6e(0x52f)][_0x276f6e(0x23d)](..._0x225534),_0xa8807;},{}),_0x4c6078=[];for(const _0x4ebaef in _0x57a6d9)for(const _0x29eabd in _0x57a6d9[_0x4ebaef]){const {actions:_0x57fd95,objectType:_0x4f5c25}=_0x57a6d9[_0x4ebaef][_0x29eabd],_0x171432=[...new Set(_0x57fd95)];_0x4c6078[_0x1a7646(0x23d)]({'unitID':_0x4ebaef,'objectID':_0x29eabd,'objectType':_0x4f5c25,'actions':_0x171432});}return new _0x12fd84(_0x1a7646(0x50e),_0x5cdae9,{'headers':_0x22366d[_0x1a7646(0x21f)],'withCredentials':_0x22366d[_0x1a7646(0x398)],'responseType':_0x22366d['responseType'],'body':{'requests':_0x4c6078}});}},{'distributeResult'(_0x2d5c3e,_0x3b7543){const {objectActions:_0x5aa5c8}=_0x2d5c3e;return _0x3b7543['map'](_0x155981=>{const _0x4f05cb=_0x1425,{unitID:_0x59aba3,objectID:_0x370a12,actions:_0x1b7c57}=_0x155981,_0x2ac8ae=_0x5aa5c8['find'](_0x5eee44=>_0x5eee44[_0x4f05cb(0x498)]===_0x59aba3&&_0x5eee44[_0x4f05cb(0x1de)]===_0x370a12),_0x16b4e7=_0x1b7c57['map'](_0x6587bd=>_0x2ac8ae==null?void 0x0:_0x2ac8ae['actions']['find'](_0x4a2213=>_0x4a2213[_0x4f05cb(0x323)]===_0x6587bd))['filter'](_0x12dbc1=>!!_0x12dbc1);return{'config':_0x155981,'result':{'actions':_0x16b4e7,'error':_0x2d5c3e[_0x4f05cb(0x27d)]}};});}})}));}[_0x46f17f(0x457)](){const _0x185e05=_0x46f17f;var _0x1119d3,_0x28273e;const _0x3c4626=this[_0x185e05(0x57c)][_0x185e05(0x4b3)](Ki),_0x4cadab=this[_0x185e05(0x57c)]['getConfig'](ee);return(_0x28273e=(_0x1119d3=_0x4cadab==null?void 0x0:_0x4cadab['authzUrl'])!=null?_0x1119d3:_0x3c4626)!=null?_0x28273e:Za;}async[_0x46f17f(0x34e)](_0x42cd1b){const _0x4728f6=_0x46f17f,_0x59e0d6=this[_0x4728f6(0x457)]()+'/'+_0x42cd1b[_0x4728f6(0x371)]+_0x4728f6(0x38d);return(await this[_0x4728f6(0x524)][_0x4728f6(0x203)](_0x59e0d6,{'body':_0x42cd1b}))['body'][_0x4728f6(0x1de)]||'';}async[_0x46f17f(0x4e0)](_0x50490c){const _0x3bbc24=_0x46f17f,_0xe91f33=this[_0x3bbc24(0x457)]()+_0x3bbc24(0x3fe);return(await this['_HTTPService']['post'](_0xe91f33,{'body':_0x50490c}))[_0x3bbc24(0x358)]['objects'];}async[_0x46f17f(0x266)](_0x3fad1f){const _0x2dd710=_0x46f17f,_0x152b94=this[_0x2dd710(0x457)]()+'/'+_0x3fad1f[_0x2dd710(0x371)]+'/object/'+_0x3fad1f[_0x2dd710(0x1de)];await this['_HTTPService'][_0x2dd710(0x470)](_0x152b94,{'body':_0x3fad1f});}async[_0x46f17f(0x562)](_0x5692e2){const _0x440c3e=_0x46f17f,_0x240e5d=this[_0x440c3e(0x457)]()+'/'+_0x5692e2[_0x440c3e(0x371)]+'/object/'+_0x5692e2['objectID']+'/allowed';return(await this[_0x440c3e(0x524)][_0x440c3e(0x203)](_0x240e5d,{'body':_0x5692e2}))[_0x440c3e(0x358)]['actions'];}async[_0x46f17f(0x279)](_0x5adde8){const _0x34f908=_0x46f17f,_0x5c100e=this['_getAPIPrefixPath']()+_0x34f908(0x506);return(await this[_0x34f908(0x524)]['post'](_0x5c100e,{'body':{'requests':_0x5adde8}}))[_0x34f908(0x358)][_0x34f908(0x552)];}async['listRoles'](_0x2194ba){const _0x401e02=_0x46f17f,_0x358a1b=this['_getAPIPrefixPath']()+'/'+_0x2194ba[_0x401e02(0x371)]+_0x401e02(0x58f),_0x2d536e=await this[_0x401e02(0x524)][_0x401e02(0x203)](_0x358a1b,{'body':_0x2194ba});return{'roles':_0x2d536e[_0x401e02(0x358)][_0x401e02(0x3ad)],'actions':_0x2d536e['body'][_0x401e02(0x52f)]};}async[_0x46f17f(0x3b8)](_0x249a20){const _0x358be9=_0x46f17f,_0x38fdb4=this[_0x358be9(0x457)]()+_0x358be9(0x4a4);await this['_HTTPService'][_0x358be9(0x2cd)](_0x38fdb4,{'params':{'collaboratorID':_0x249a20[_0x358be9(0x514)],'objectID':_0x249a20[_0x358be9(0x1de)],'unitID':_0x249a20[_0x358be9(0x498)]}});}async[_0x46f17f(0x163)](_0x13e1e7){const _0xcd6631=_0x46f17f,_0x202b11=this[_0xcd6631(0x457)]()+_0xcd6631(0x4a4);await this[_0xcd6631(0x524)][_0xcd6631(0x4fc)](_0x202b11,{'body':_0x13e1e7});}async[_0x46f17f(0x413)](_0x42da1b){const _0x257448=_0x46f17f,_0xd7c88d=this[_0x257448(0x457)]()+_0x257448(0x4a4);await this[_0x257448(0x524)]['post'](_0xd7c88d,{'body':_0x42da1b});}async[_0x46f17f(0x3cf)](_0x3738d1){const _0x374d4d=_0x46f17f,_0x442710=this[_0x374d4d(0x457)]()+_0x374d4d(0x4a4);return(await this['_HTTPService'][_0x374d4d(0x3e1)](_0x442710,{'params':{'objectID':_0x3738d1[_0x374d4d(0x1de)],'unitID':_0x3738d1[_0x374d4d(0x498)]}}))[_0x374d4d(0x358)][_0x374d4d(0x3e2)];}async[_0x46f17f(0x2da)](_0x2473c2){const _0x50556e=_0x46f17f,_0x6ec6c5=this['_getAPIPrefixPath']()+_0x50556e(0x4a4);await this[_0x50556e(0x524)][_0x50556e(0x470)](_0x6ec6c5,{'body':_0x2473c2});}};function _0x4ae6(){const _0x83dcf7=['loadSheet','permissionRejEvent','_anchor','Error\x20on\x20receiving\x20event','USERS_ENTER','sessionStatus$','actions','COMMENT_UPDATE','/universer-api/stream/file/upload','_docStateChangeManagerService','RemoveColCommandId','reset','_executeRemoteChangeset','CBC','findNodePositionByCharIndex','UNIVER_COLLABORATION_CLIENT_PLUGIN','getCollabCursors$','includes','_transformService','decrypt','_univerInstanceService','registerRefRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','compose','_disabled','_render','_decreaseWaiting','univer-pro.collaboration-client-socket-service','UnitSnapshot','unknown','abs','JOINING','onPointerMove$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_retryCount','status','Base','enableSingleActiveInstanceLock','_clearCollaborationTimeoutTimer','defIds','catch','objectActions','setUndoRedoMutationParamsCache','saveImage','blue400','?url=','#fff','_commandService','translate(.97)','round','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','onRemoteAck','roomInfos','joinEvent','_minBufferSize','48nzxYac','_roomMembers$','allowed','SEND_CHANGESET_TIMEOUT','values','getUnitId','awaitingChangeset','APPLY_NON_SEQUENTIAL_REVISION','_socket','APPLY_PERMISSION_DENIED','for','_onRemoteACK','Encryptor','_scheduleClearOtherTimer','hasher','addImageSourceCache','SHA1','status$','newValue','encryptBlock','DeleteRangeMoveUpCommandId','from','routeKey','OffLineSingle','_collabCursorState$','trim','_changesetReqId','collab-client.tooltip.reconnect','_configService','getUndoRedoMutationParamsCache','_memberService','collabStatus.synced','_commentService','_updateSubUnitFromURLParams','change$','CipherParams','CHANGESET_ACK','BufferedBlockAlgorithm','_createSocketURL','format','[DataLoaderController]','debug','telemetry\x20info\x20is\x20not\x20initialized','setActiveRange','fetch_missing','_ENC_XFORM_MODE','_snapshotService','/role','_substituteUndoStack','UNIVER_DOC','Latin1','/universer-api/user/session-ticket','_loadSheet','PERMISSION_REJ','updateCollaborator','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getSnapshotAPIPrefix','getTypeOfUnitDisposed$','textRanges','_prevBlock','getRenderById','SNAPSHOT_URL_KEY','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','size','_onUserLeave','_document','_urlService','_sendingTimer','join','bottom','drawWith','syncEditingCollabCursor','_onFetchMissResult','_injector','resolve','m2Prime','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getCurrent','getOwnPropertyDescriptor','SYNCED','max','show','url(#$1','Error','JOIN_ROOM_NOT_ALLOWED','collaboration-client.offline-data-not-saved','evenodd','_hovered','roomMembers$','_onConflict','_color','getCurrentUser','crypto','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','number','saveSnapshot','arc','HmacMD5','/allowed','split','addObject','univer-online-status','_updateState','session.room-full','redoState','cmd','substr','_pendingMutations','not_collab','InsertRowCommandId','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','idSuffix','_messageService','_doCryptBlock','exhaustSavingTask','_incrementRevisionNumber','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collaboration_new_changeset','_transitionLocked','getTime','APPLY_REJECT','setShapeProps','_logService','0\x200\x2017\x2016','_colorIndex','saveOfflineData','updatePermissionObjEvent','pushState','decryptBlock','key','transformSelections','collaboration-session-retry','enableAuthServer','WordArray','_state$','ceil','_telemetryInfo','SerializableCipher','_heartbeatTimer','substring','fillText','unit','HEARTBEAT_TIMEOUT','Undefined','randomUUID','BASE64','data','off-line-single_clip0_910_343','getUnitType','_sheetSkeletonManagerService','onlineStatusIcon','_drawAnchor','_xformMode','refreshPermission','MoveRangeCommandId','fillStyle','name','compute','_saveTaskMap','black','setCurrentUser','session.collaboration-timeout','source','Hex','_event$','history','OFFLINE','_onRemoteRejected','padding','reconnect','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','AES','_updateLocalCursor','LICENSE_IMPORT_SIZE_EXCEEDED','_unlockTransition','image/jpg','univerjs-icon\x20univerjs-icon-','objectID','min','_replaceFileID','IDLE','url','VIEW_MAIN','doc.mutation.rich-text-editing','keySize','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','sid','_online','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setAlpha','deepClone','_handleJoinEvent','_socket$','getAncestorScale','current','awaiting','reject','_queuedRemoteChangesets','_key','InsertRangeMoveDownCommandId','_setupSubUnitSync','subUnitId','makeDirty','_userManagerService','getCurrentSelections','attrs','asObservable','purple300','session.connection-failed','onReady','saveChangeset','_loadDoc','_cursorInfo$','_map','post','UPDATE_CURSOR','triggerDblclick','_scheduleCollaborationTimeoutTimer','collabStatus.conflict','_clearOtherTimers','_docTransformSelectionsService','offline','\x0aCurrent:\x20','getCollabEntity$','OpenSSL','sin','csAckEvent','PERSON','LICENSE_EXPORT_SIZE_EXCEEDED','onMissedChangesetFetched','/block/','RECV','ref','concat','_uiPartsService','hide','getActiveRange','_data','unload','session','MUTATION','src','headers','children','/universer-api/file/{fileID}/sign-url','getRoom','ws://127.0.0.1:8000/universer-api/comb/connect','setShowComponents','_getAnchorBounding','UNIVER_SHEET','_change$','entries','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_cachedData','ONLINE','COMPLETION_FINISHED','msCrypto','stopTime','_ensureSubject','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onCommentUpdate','function','_initStatusComponent','originalMeta','_mode','filter','random','_nDataBytes','_transformRemoteChangesetByStateCache','[CollaborationSession]','/universer-api/comb','_invKeySchedule','push','close','LICENSE_MAX_UNITS_EXCEEDED','getDocRanges','_type','eventID','isActive','addEventListener','colorChannel1','dispose$','_registerDependencies','collabStatus.notCollab','reduce','storage','NOT_FOUND','_id','off-line-single','enableLocalCache','collabWebSocketUrl','liveShareNewHost','_initRequestHeader','_transformUndoredo','Fragment','getLatestCsReqIdBySid','_removeCollabCursors','_stopTelemetryCollaborationNewChangeset','subject','_status$','_applyRemoteChangeset','_sender','set','\x20in\x20_schedule.','_renderManagerService','_remoteChangesetQueue','_ws','/universer-api/authz','_substituteRedoStack','_shouldReportTelemetry','/universer-api/oidc/authpage','Univer','map','update','_showConflictNotification','connection\x20error','YUUMI_RATE_OVER_LIMIT','fromCharCode','getTypeOfUnitAdded$','LEAVE','[SyncedState]:\x20received\x20acknowledgement.','LICENSE_DISTRO_REJECTED','FETCH_MISSING','_acknowledgedAwaitingChangeset','?size=','sendChangesetTimeout','_docClipboardService','_state','univer-offline','[OfflineState]:\x20received\x20changeset.','_createHmacHelper','toRgbString','batchAllowed','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_rescheduleHeartbeat','error','_sheetTransformSelectionsService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','div','881699qRAAOb','complete','onTransformRemoteChangesetByIMECache','registerOnClose','_lockTransition','HttpExport','_collaborationTimeoutTimer','_socketMessageSubscription','onTransformRemoteChangesetByStateCache','_refreshCollabCursors','/new_changes','_retryConnectingTimer','csShouldRetryEvent','unshift','getMemberID','getValue','isPermissionRej','engine','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','requireSession','measureText','_http','snapshotServerUrl','_waitForHeartbeatResponse','createDecryptor','NEW_CHANGESETS','commentUpdateEvent','3XuuuVy','_createHelper','_toggleOffline','url(#on-line-single_clip0_910_349)','[CollaborationUndoRedoService]','getMergeData','type','_permissionService','now','onlyLocal','PENDING','svg','createInstance','onSyncEditingCollabCursor','_updateStatus','19316SpUYKt','_getCurrentRevision','TEXT','message$','_onJoinRoomEvent','_createInitialState','title','_transformPreviousActiveRange','byteOffset','USERS_LEAVE','_entityInit$','_disableEditing','_initUnitPermissionChange','/object/','_onCursorUpdate','_clearUndo','startsWith','_shapes','flatMap','propertyIsEnumerable','fill','clearTimeout','_tryEnsureSocket','getInterceptPoints','onMouseMove','OnLineSingle','_telemetryService','_instanceService','_compressMutationService','image/gif','BlockCipherMode','_schedule','_cursors','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','delete','ALREADY_EXISTS','AWAITING_WITH_PENDING','_createHandler','_timeoutTimer','YUUMI_URL_COL_OUT_OF_RANGE','mode','_unitStatus','incrementRevOfUnit','_sessions','_undoRedoService','_startTelemetryCollaborationNewChangeset','APPLY_REVISION_CONFILICT','putCollaborators','_themeService','toggleOnline','_fetchMissChangesets','SUBMIT_CHANGESET','transformStack\x20failed!','_syncEditingCollabCursorService','_initCommandExecutedListener','clearInterval','_collaborationSessionService','text','InsertRangeMoveRightCommandId','append','_oKey','_process','_scene','currentSkeleton$','wsSessionTicketUrl','fromCollab','top','online','&assign=','_getSignURL','[CollaborationSessionService]:\x20socket\x20error','rev','splice','CONFLICT','toggleOffline','_onRemoteRetry','_unitID','_listenToOnlineEvent','onTransformState','verdancy600','AUTHZ_URL_KEY','_transformSelections','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onlineStatus','restore','on-line-single_clip0_910_349','_initCloseConn','state$','words','_resendTimeout','_transformIMECache','_collaborationController','appendMutation','_onRefRangeChange','setStateCache','_startDocCollabCursor','INGEST','range','height','_keyPriorReset','onCommandExecuted','getImage','UNIVER_SLIDE','onMissingChangesets','_replayCachedMutations','transformChangesets','_initResize','getSheetId','registerHTTPInterceptor','unitId','CHANGESET_SHOULD_RETRY','send','socket$','loadOfflineData','transformMutation','SHOULD_CLOSE_CONN','EvpKDF','_draw','removeMember','onPointerLeave$','action','UNDEFINED','slice','width','Could\x20not\x20dynamically\x20require\x20\x22','isArray','_createSocket','imageSourceType','permission.title','getStateCache','updateOfflineData','xlink:href','_httpService','_registerRenderDependencies','_onCursorDelete','encodeURIComponent','UNIVER_UNKNOWN','socket\x20close','sessionTicket','jsxs','_sendHeartbeatTimer','dispose','bind','_onOffline','_clearHeartbeatTimer','color','LIVESHARE_REQUEST_HOST','_revisionService','updateMember','_updateLocalCache','_resendWithTimeout','TOO_MANY_REQUESTS','HELLO','_initStatusListener','\x0aAfter:\x20','subscribe','clipPath','_transformStack','override','currentColor','_members','onRemoteRej','_updateCollabCursors','create','visibilityState','_imageSourceCache','AWAITING','permission.content','stringify','collabStatus.syncing','univer-online-status-title','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','PSEUDO_FETCH_MISSING_RESULT','body','fetchThroughInterceptors','DEFAULT_FILE_NAME','ERROR_IMAGE','_colorAssignService','_handleHeartbeatEvent','setInterval','[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.','_getSheetObject','getImageSourceCache','unsubscribe','onTransformSelections','onRendered','fillRule','string','replaceState','json','_collaborationPaused','createSocket','origin','submit\x20changeset\x20error!','uploadFileServerUrl','YUUMI_UNABLE_LOAD_URL','clone','ranges','objectType','_throwTelemetryCollaborationNewChangeset','_syncEditingCollabCursor','_send','onTransformIME','MSG_FOR_ERROR','m1Prime','find','cfg','_eventUnsubscribe','_keySchedule','signUrlServerUrl','collabStatus.offline','/unit/','[UniverCollaborationClientPlugin]','method','default','collaboration-client.config','jsx','_anchorDot','_refRangeService','disposeUnit','[OfflineState]:\x20received\x20acknowledgement.','getSheetBlock','_hideTimer','_socketService','collabStatus.fetchMiss','UNRECOGNIZED','/object','image/jpeg','unpad','icon','startColumn','interceptor','disableLocalCache','_handleHover','activeSheet$','updatePermissionPoint','LIVESHARE_NEW_HOST','withCredentials','endRow','JOIN_ROOM_FULL','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CODE','2471070NRsWaG','moveTo','_localStorageService','tag','_reverseMap','_hover','registerBeforeClose','defineProperty','_cursor','blockSize','fetching\x20missing\x20changesets\x20from\x20','call','_init','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_beforeCloseService','ciphertext','roles','shouldCloseConn','_docTransformStateCacheService','docStateChange$','_updateURLWithCurrentState','then','transformIMECache','onTransformChange$','unitId\x20is\x20not\x20found','contains','registerRenderModule','deleteCollaborator','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','COMPRESS_MUTATION_SEND','application/json','conflict.content','memberID','collab-rect-range-','onSendChangeset','getSkeleton','6153957LeEaVQ','getCurrentRevOfUnit','extend','setConfig','_scheduleSaving','c1Prime','_docTransformIMECacheService','processBlock','FromArray','addObjects','onPointerEnter$','univer-pro.collaboration-client.single-active-unit-service','loginUrlKey','collaMsg','listCollaborators','...','_iKey','_collabCursorController','changesets','collabCursorState$','_singleActiveUnitService','onRemoteRetry','clamp','APPLY_DUPLICATED','LIVESHARE_OPERATION','_initEventListeners','_tryReconnect','_candidateSocket','none','cursorInfo$','error$','image/bmp','get','collaborators','mixIn','searchParams','synced','resend','univer-online-status-icon','collab-text-range-','HttpImport','/fetchmissing?from=','_onRemoteChangeset','toLowerCase','visibilitychange','_getUploadFileURL','target','_removeRoom','auth.needGotoLoginAlert','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_session','&to=','c2Prime','setTimeout','_clearScheduledTask','getCollabEntity','_exhaustRemoteChangesetQueue','baseRev','/resources','_getSaveTimeout','_isPermissionRej','/-/object/list','_waitCount','_startCollaboration','_nRounds','_initMergeInterceptor','loadDoc','FETCH_MISS','getOwnPropertySymbols','x-univer-host','length','transformStateCache','_transformUndoRedoStack','react.element','_commentUpdate$','revision','_awaitingChangeset','defs','save','collaboration.single-unit.warning','pad','_context','createCollaborator','awaiting_with_pending','_drawRectRange','UniverIcon','onlineStatusTitle','reqId','repeat','salt','_removeClearOtherTimer','CONNECTOR_DATA_TOO_LARGE','CHANGESET_REVISION_CONFILICT','_roomMembers','_getSendChangesetTimeout','_imageIoService','_getSessionTicket','capture','getRandomValues','_clearLocalCache','initWorkbookPermissionChange','init','conflict','RECT','_handler','_onRecvEvent','undoState','add','_lastPointer','assign','NO_OTHER_CLIENTS_EDITING','getWorkbookSelections','urlChange$','roomMembers','197878Girdqv','_onConnectionFailed','_toggleOnline','symbol','hasOwnProperty','getMember','image/png','MD5','displayName','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_hash','{fileID}','pluginName','_handleLeaveEvent','_assignedColors','isEditing','_entities','StreamCipher','ENSURE_SNAPSHOT_EXECUTION','copyFileMeta','_backgroundColor','SNAPSHOT_SERVER_URL_KEY','INVALID_ARGUMENT','byteLength','_range','apply','_append','finalize','setItem','open$','onStarting','HmacSHA1','with','_getUndoStack','_getRedoStack','collaboration.closeRoom','_getAPIPrefixPath','className','_snapshotServerService','disposeWithMe','HEADER_MENU','getResourcesRequest','_config','_getLoginPath','editingUnit','[PendingState]:\x20received\x20acknowledgement.','code','FileId','SUCCUSS','UPDATE_PERMISSION_OBJ','getRangePointData','BlockCipher','generateRandomId','defaultProps','_localeService','_selfUnitIDs','getFocusedUnit','COMPRESS_MUTATION_APPLY','href','sigBytes','transformMutationsWithChangeset','put','getUnit','transformUndoRedo','subscribeEvent','__Key__','Warning','[PendingState]:\x20received\x20rejection.','[CollaborationEntity]','assignAColorForMemberID','csRejEvent','[CollaborationSessionService]','_submitChangeset','algo','_changesetSessionId','42tsSVqo','retryConnectingInterval','selection','conflict.title','849702LmCLZp','floor','replace','_docSyncEditingCollabCursorService','getUnitStatus$','YUUMI_SUBSCRIPTION_NOT_FOUND','formatter','randomBytes','_socketReady','charCodeAt','_getAPIPrefix','red300','encrypt','hovered','HMAC','onRemoteChangeset','Cipher','rng','_scheduleTimestamp','ivSize','params','closeSession','unitID','42427KsXWEl','has','infoRsp','_createInitialStateImpl','mutations','transformByState','indexOf','workbook','authzUrl','_drawTextRange','setWaitCount','/collaborator','iterations','_notificationService','$super','_startSheetCollabCursor','/rev/','HEARTBEAT','path','_textBubble','beginPath','subunit','LIVESHARE_FETCH_OPERATIONS','column','HEARTBEAT_INTERVAL','lineTo','getConfig','_setupBeforeClosingHandler','exports','_docSkeletonManagerService','toString','2330Yoorqx','parse','cursorInfo','duration','Decryptor','skeleton','SNAPSHOT_HAS_BEEN_REMOVED','_clearRedo','fetchMiss','_onConnectionOpen','FAIL','JOIN','univer-online','getActiveSheet','getUnitOnRev','location','_doFinalize','prototype','_DEC_XFORM_MODE','gold400','UNKNOWN_CMD','OTHER_CLIENTS_EDITING','_onCombEvent','equals','resize','execute','Utf8','__esModule','_getScale','_doReset','_saveCache','_handleEvent','setParam','row','_docSkeleton','sheetId','_checkMissing','_unitOnClients','_onLocalMutation','encode','list','charAt','onload','pipe','_getDownloadEndpointURL','getSheetBySheetId','next','_redoStacks','getAllMembers','_initDependencies','transformRemoteChangeset','_resendTimer','getRelativeToViewportCoord','requestParams','createEncryptor','_listenToOfflineEvent','_iv','avatar','event$','SNAPSHOT_INVALID_SNAPSHOT','_labelPosition','M0\x200H16V16H0z','every','/universer-api/snapshot/','clear','_sessionStatus$','_parse','hidden','patch','_scheduleHeartbeat','_localCacheService','enc','object','Base64','getParam','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','#FFF','save\x20fail\x20reason\x20is\x20','/-/object/-/batch_allowed','ticket','1em','_hasher','UNAUTHENTICATED','_cursorShapes','localeService','UNIVER_PROJECT','POST','kdf','pauseCollaboration','members','_clearTimeoutTimer','sessionStatus','collaboratorID','lib','_transformStateCache','_onUserJoin','COLLAB_SUBMIT_CHANGESET_URL','forEach','Hasher','InsertColCommandId','&source=','leaveEvent','selections','NOT_COLLAB','unit-cache-','executeCommand','editing\x20status\x20changed\x20to','LIVESHARE_TERMINATE','_HTTPService','CHANGESET_REJ','_collabSessionService','_onMessage','_name'];_0x4ae6=function(){return _0x83dcf7;};return _0x4ae6();}ls=Ja([ei(0x0,_0x4e871f(_0x595bc6)),ei(0x1,_0x4e871f(_0x175c85))],ls);var zi={'exports':{}};function Qa(_0x5de023){const _0x12cc6c=_0x46f17f;throw new Error(_0x12cc6c(0x327)+_0x5de023+_0x12cc6c(0x43c));}var Gt={'exports':{}},ti;function ue(){return ti||(ti=0x1,function(_0x38ea78,_0x16149f){(function(_0x5c598e,_0x1a6b6b){const _0x2dc332=_0x1425;_0x38ea78[_0x2dc332(0x4b5)]=_0x1a6b6b();}(Z,function(){var _0x93d9bf=_0x93d9bf||function(_0x177b85,_0x4d9de5){const _0x304755=_0x1425;var _0x5131ec;if(typeof window<'u'&&window[_0x304755(0x189)]&&(_0x5131ec=window[_0x304755(0x189)]),typeof self<'u'&&self[_0x304755(0x189)]&&(_0x5131ec=self[_0x304755(0x189)]),typeof globalThis<'u'&&globalThis[_0x304755(0x189)]&&(_0x5131ec=globalThis[_0x304755(0x189)]),!_0x5131ec&&typeof window<'u'&&window[_0x304755(0x22d)]&&(_0x5131ec=window[_0x304755(0x22d)]),!_0x5131ec&&typeof Z<'u'&&Z[_0x304755(0x189)]&&(_0x5131ec=Z[_0x304755(0x189)]),!_0x5131ec&&typeof Qa==_0x304755(0x232))try{_0x5131ec=require(_0x304755(0x189));}catch{}var _0x334739=function(){const _0x47ce90=_0x304755;if(_0x5131ec){if(typeof _0x5131ec[_0x47ce90(0x423)]==_0x47ce90(0x232))try{return _0x5131ec[_0x47ce90(0x423)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5131ec[_0x47ce90(0x489)]=='function')try{return _0x5131ec['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x47ce90(0x356));},_0x174b9c=Object[_0x304755(0x34e)]||(function(){function _0x22e185(){}return function(_0x1b1ccb){const _0x57c0db=_0x1425;var _0x157d58;return _0x22e185[_0x57c0db(0x4c9)]=_0x1b1ccb,_0x157d58=new _0x22e185(),_0x22e185[_0x57c0db(0x4c9)]=null,_0x157d58;};}()),_0x1f633e={},_0x166d9d=_0x1f633e[_0x304755(0x515)]={},_0xae6cbe=_0x166d9d['Base']=(function(){return{'extend':function(_0x3c55f1){const _0x4a7b9f=_0x1425;var _0x483c1e=_0x174b9c(this);return _0x3c55f1&&_0x483c1e[_0x4a7b9f(0x3e3)](_0x3c55f1),(!_0x483c1e[_0x4a7b9f(0x437)](_0x4a7b9f(0x426))||this[_0x4a7b9f(0x426)]===_0x483c1e['init'])&&(_0x483c1e[_0x4a7b9f(0x426)]=function(){const _0x5bd6fb=_0x4a7b9f;_0x483c1e[_0x5bd6fb(0x4a7)][_0x5bd6fb(0x426)][_0x5bd6fb(0x44c)](this,arguments);}),_0x483c1e[_0x4a7b9f(0x426)][_0x4a7b9f(0x4c9)]=_0x483c1e,_0x483c1e['$super']=this,_0x483c1e;},'create':function(){const _0x7e5eaa=_0x1425;var _0x104093=this[_0x7e5eaa(0x3c3)]();return _0x104093[_0x7e5eaa(0x426)][_0x7e5eaa(0x44c)](_0x104093,arguments),_0x104093;},'init':function(){},'mixIn':function(_0x209e0f){const _0x4034b1=_0x1425;for(var _0x36bd81 in _0x209e0f)_0x209e0f[_0x4034b1(0x437)](_0x36bd81)&&(this[_0x36bd81]=_0x209e0f[_0x36bd81]);_0x209e0f['hasOwnProperty']('toString')&&(this[_0x4034b1(0x4b7)]=_0x209e0f['toString']);},'clone':function(){const _0x1ac1f2=_0x1425;return this['init'][_0x1ac1f2(0x4c9)]['extend'](this);}};}()),_0x50100b=_0x166d9d[_0x304755(0x1b2)]=_0xae6cbe[_0x304755(0x3c3)]({'init':function(_0x143378,_0x40b1eb){const _0x183078=_0x304755;_0x143378=this[_0x183078(0x303)]=_0x143378||[],_0x40b1eb!=_0x4d9de5?this[_0x183078(0x46e)]=_0x40b1eb:this[_0x183078(0x46e)]=_0x143378['length']*0x4;},'toString':function(_0x2cc05e){const _0x5ca871=_0x304755;return(_0x2cc05e||_0xb6b914)[_0x5ca871(0x353)](this);},'concat':function(_0x4515fe){const _0x22ba52=_0x304755;var _0x2381fb=this['words'],_0x19e9e5=_0x4515fe['words'],_0xb33421=this['sigBytes'],_0x39f45e=_0x4515fe[_0x22ba52(0x46e)];if(this['clamp'](),_0xb33421%0x4)for(var _0xb33263=0x0;_0xb33263<_0x39f45e;_0xb33263++){var _0x473538=_0x19e9e5[_0xb33263>>>0x2]>>>0x18-_0xb33263%0x4*0x8&0xff;_0x2381fb[_0xb33421+_0xb33263>>>0x2]|=_0x473538<<0x18-(_0xb33421+_0xb33263)%0x4*0x8;}else{for(var _0x26d4ad=0x0;_0x26d4ad<_0x39f45e;_0x26d4ad+=0x4)_0x2381fb[_0xb33421+_0x26d4ad>>>0x2]=_0x19e9e5[_0x26d4ad>>>0x2];}return this[_0x22ba52(0x46e)]+=_0x39f45e,this;},'clamp':function(){const _0x36086d=_0x304755;var _0x30a1e2=this[_0x36086d(0x303)],_0x1a3d89=this['sigBytes'];_0x30a1e2[_0x1a3d89>>>0x2]&=0xffffffff<<0x20-_0x1a3d89%0x4*0x8,_0x30a1e2['length']=_0x177b85[_0x36086d(0x1b4)](_0x1a3d89/0x4);},'clone':function(){const _0x5ae5fd=_0x304755;var _0x7d377e=_0xae6cbe['clone'][_0x5ae5fd(0x3a8)](this);return _0x7d377e[_0x5ae5fd(0x303)]=this[_0x5ae5fd(0x303)][_0x5ae5fd(0x325)](0x0),_0x7d377e;},'random':function(_0x4a543d){const _0x54c117=_0x304755;for(var _0x5b1337=[],_0xf5c646=0x0;_0xf5c646<_0x4a543d;_0xf5c646+=0x4)_0x5b1337['push'](_0x334739());return new _0x50100b[(_0x54c117(0x426))](_0x5b1337,_0x4a543d);}}),_0x2e6aa7=_0x1f633e['enc']={},_0xb6b914=_0x2e6aa7[_0x304755(0x1d0)]={'stringify':function(_0x1268e4){const _0x5a3914=_0x304755;for(var _0x2e0006=_0x1268e4[_0x5a3914(0x303)],_0x692464=_0x1268e4['sigBytes'],_0x459a7d=[],_0x386176=0x0;_0x386176<_0x692464;_0x386176++){var _0x5b6b4e=_0x2e0006[_0x386176>>>0x2]>>>0x18-_0x386176%0x4*0x8&0xff;_0x459a7d[_0x5a3914(0x23d)]((_0x5b6b4e>>>0x4)[_0x5a3914(0x4b7)](0x10)),_0x459a7d[_0x5a3914(0x23d)]((_0x5b6b4e&0xf)[_0x5a3914(0x4b7)](0x10));}return _0x459a7d['join']('');},'parse':function(_0x49b32a){const _0x305923=_0x304755;for(var _0x2491be=_0x49b32a[_0x305923(0x407)],_0x42bc87=[],_0xf06d04=0x0;_0xf06d04<_0x2491be;_0xf06d04+=0x2)_0x42bc87[_0xf06d04>>>0x3]|=parseInt(_0x49b32a[_0x305923(0x197)](_0xf06d04,0x2),0x10)<<0x18-_0xf06d04%0x8*0x4;return new _0x50100b[(_0x305923(0x426))](_0x42bc87,_0x2491be/0x2);}},_0x455960=_0x2e6aa7[_0x304755(0x15f)]={'stringify':function(_0x2e27f0){const _0x3266a3=_0x304755;for(var _0x5efc4c=_0x2e27f0[_0x3266a3(0x303)],_0xd6d4f6=_0x2e27f0[_0x3266a3(0x46e)],_0x28750d=[],_0x3e5918=0x0;_0x3e5918<_0xd6d4f6;_0x3e5918++){var _0x3fa301=_0x5efc4c[_0x3e5918>>>0x2]>>>0x18-_0x3e5918%0x4*0x8&0xff;_0x28750d['push'](String[_0x3266a3(0x26a)](_0x3fa301));}return _0x28750d[_0x3266a3(0x171)]('');},'parse':function(_0x12cc6b){const _0x4bac7e=_0x304755;for(var _0x28f784=_0x12cc6b['length'],_0x1773a7=[],_0x100d35=0x0;_0x100d35<_0x28f784;_0x100d35++)_0x1773a7[_0x100d35>>>0x2]|=(_0x12cc6b[_0x4bac7e(0x48b)](_0x100d35)&0xff)<<0x18-_0x100d35%0x4*0x8;return new _0x50100b[(_0x4bac7e(0x426))](_0x1773a7,_0x28f784);}},_0x2e3530=_0x2e6aa7[_0x304755(0x4d2)]={'stringify':function(_0x349192){try{return decodeURIComponent(escape(_0x455960['stringify'](_0x349192)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3964e8){return _0x455960['parse'](unescape(encodeURIComponent(_0x3964e8)));}},_0x30e339=_0x166d9d[_0x304755(0x585)]=_0xae6cbe['extend']({'reset':function(){this['_data']=new _0x50100b['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x108b28){const _0x10fc60=_0x304755;typeof _0x108b28=='string'&&(_0x108b28=_0x2e3530[_0x10fc60(0x4b9)](_0x108b28)),this[_0x10fc60(0x21a)][_0x10fc60(0x216)](_0x108b28),this[_0x10fc60(0x238)]+=_0x108b28[_0x10fc60(0x46e)];},'_process':function(_0x193254){const _0xc54014=_0x304755;var _0xdf0004,_0x357244=this['_data'],_0x20c88e=_0x357244[_0xc54014(0x303)],_0x18c85a=_0x357244[_0xc54014(0x46e)],_0x15a638=this[_0xc54014(0x3a6)],_0x49f302=_0x15a638*0x4,_0x46a879=_0x18c85a/_0x49f302;_0x193254?_0x46a879=_0x177b85[_0xc54014(0x1b4)](_0x46a879):_0x46a879=_0x177b85[_0xc54014(0x17d)]((_0x46a879|0x0)-this[_0xc54014(0x55f)],0x0);var _0x505363=_0x46a879*_0x15a638,_0x2b77a1=_0x177b85[_0xc54014(0x1df)](_0x505363*0x4,_0x18c85a);if(_0x505363){for(var _0x437042=0x0;_0x437042<_0x505363;_0x437042+=_0x15a638)this['_doProcessBlock'](_0x20c88e,_0x437042);_0xdf0004=_0x20c88e[_0xc54014(0x2f3)](0x0,_0x505363),_0x357244[_0xc54014(0x46e)]-=_0x2b77a1;}return new _0x50100b['init'](_0xdf0004,_0x2b77a1);},'clone':function(){const _0x3bc89b=_0x304755;var _0x5261cf=_0xae6cbe['clone'][_0x3bc89b(0x3a8)](this);return _0x5261cf[_0x3bc89b(0x21a)]=this[_0x3bc89b(0x21a)][_0x3bc89b(0x36f)](),_0x5261cf;},'_minBufferSize':0x0});_0x166d9d['Hasher']=_0x30e339[_0x304755(0x3c3)]({'cfg':_0xae6cbe[_0x304755(0x3c3)](),'init':function(_0x347edd){const _0x23e008=_0x304755;this['cfg']=this[_0x23e008(0x379)][_0x23e008(0x3c3)](_0x347edd),this[_0x23e008(0x534)]();},'reset':function(){const _0x64fb02=_0x304755;_0x30e339[_0x64fb02(0x534)][_0x64fb02(0x3a8)](this),this[_0x64fb02(0x4d5)]();},'update':function(_0xa52a0e){const _0x3cbb18=_0x304755;return this[_0x3cbb18(0x44d)](_0xa52a0e),this[_0x3cbb18(0x2e8)](),this;},'finalize':function(_0x3bbd16){const _0x3a45dc=_0x304755;_0x3bbd16&&this[_0x3a45dc(0x44d)](_0x3bbd16);var _0x4ffefb=this[_0x3a45dc(0x4c8)]();return _0x4ffefb;},'blockSize':0x10,'_createHelper':function(_0x371555){return function(_0x3f974b,_0x29b00e){const _0xd760e=_0x1425;return new _0x371555[(_0xd760e(0x426))](_0x29b00e)['finalize'](_0x3f974b);};},'_createHmacHelper':function(_0x3abf25){return function(_0x14ff1b,_0x238222){const _0x5652a8=_0x1425;return new _0x4442d8[(_0x5652a8(0x490))][(_0x5652a8(0x426))](_0x3abf25,_0x238222)[_0x5652a8(0x44e)](_0x14ff1b);};}});var _0x4442d8=_0x1f633e[_0x304755(0x47c)]={};return _0x1f633e;}(Math);return _0x93d9bf;}));}(Gt)),Gt['exports'];}var Yt={'exports':{}},si;function qi(){const _0x2f024a=_0x46f17f;return si||(si=0x1,function(_0x45361b,_0x4157b6){(function(_0x1ac2c0,_0x126022){const _0x2b59f6=_0x1425;_0x45361b[_0x2b59f6(0x4b5)]=_0x126022(ue());}(Z,function(_0x33e1b6){const _0x30a034=_0x1425;return(function(){const _0x413aa6=_0x1425;var _0x4df3af=_0x33e1b6,_0x166e35=_0x4df3af['lib'],_0x86072a=_0x166e35['WordArray'],_0x116b30=_0x4df3af[_0x413aa6(0x4ff)];_0x116b30[_0x413aa6(0x501)]={'stringify':function(_0x340b6a){const _0x5f28cc=_0x413aa6;var _0x803652=_0x340b6a[_0x5f28cc(0x303)],_0x40b079=_0x340b6a[_0x5f28cc(0x46e)],_0x375b39=this[_0x5f28cc(0x202)];_0x340b6a[_0x5f28cc(0x3d7)]();for(var _0x5aeba9=[],_0x3bcd6e=0x0;_0x3bcd6e<_0x40b079;_0x3bcd6e+=0x3)for(var _0x35be5a=_0x803652[_0x3bcd6e>>>0x2]>>>0x18-_0x3bcd6e%0x4*0x8&0xff,_0x2a2483=_0x803652[_0x3bcd6e+0x1>>>0x2]>>>0x18-(_0x3bcd6e+0x1)%0x4*0x8&0xff,_0x1ddfe5=_0x803652[_0x3bcd6e+0x2>>>0x2]>>>0x18-(_0x3bcd6e+0x2)%0x4*0x8&0xff,_0x57fbb4=_0x35be5a<<0x10|_0x2a2483<<0x8|_0x1ddfe5,_0xc70885=0x0;_0xc70885<0x4&&_0x3bcd6e+_0xc70885*0.75<_0x40b079;_0xc70885++)_0x5aeba9[_0x5f28cc(0x23d)](_0x375b39[_0x5f28cc(0x4e1)](_0x57fbb4>>>0x6*(0x3-_0xc70885)&0x3f));var _0x346fb0=_0x375b39[_0x5f28cc(0x4e1)](0x40);if(_0x346fb0){for(;_0x5aeba9['length']%0x4;)_0x5aeba9[_0x5f28cc(0x23d)](_0x346fb0);}return _0x5aeba9['join']('');},'parse':function(_0x5b7709){const _0x11e23e=_0x413aa6;var _0x57ced5=_0x5b7709[_0x11e23e(0x407)],_0x9cf195=this['_map'],_0x529cc9=this[_0x11e23e(0x3a1)];if(!_0x529cc9){_0x529cc9=this[_0x11e23e(0x3a1)]=[];for(var _0x4913fb=0x0;_0x4913fb<_0x9cf195['length'];_0x4913fb++)_0x529cc9[_0x9cf195[_0x11e23e(0x48b)](_0x4913fb)]=_0x4913fb;}var _0x17abe2=_0x9cf195[_0x11e23e(0x4e1)](0x40);if(_0x17abe2){var _0x3d6022=_0x5b7709[_0x11e23e(0x49f)](_0x17abe2);_0x3d6022!==-0x1&&(_0x57ced5=_0x3d6022);}return _0x711b9e(_0x5b7709,_0x57ced5,_0x529cc9);},'_map':_0x413aa6(0x3b9)};function _0x711b9e(_0x22a6ac,_0x27a399,_0x2535b4){const _0x54bf33=_0x413aa6;for(var _0x2bdebb=[],_0x235afd=0x0,_0x50792c=0x0;_0x50792c<_0x27a399;_0x50792c++)if(_0x50792c%0x4){var _0x2b43f7=_0x2535b4[_0x22a6ac[_0x54bf33(0x48b)](_0x50792c-0x1)]<<_0x50792c%0x4*0x2,_0x23ed6c=_0x2535b4[_0x22a6ac['charCodeAt'](_0x50792c)]>>>0x6-_0x50792c%0x4*0x2,_0x21ee19=_0x2b43f7|_0x23ed6c;_0x2bdebb[_0x235afd>>>0x2]|=_0x21ee19<<0x18-_0x235afd%0x4*0x8,_0x235afd++;}return _0x86072a[_0x54bf33(0x34e)](_0x2bdebb,_0x235afd);}}()),_0x33e1b6[_0x30a034(0x4ff)]['Base64'];}));}(Yt)),Yt[_0x2f024a(0x4b5)];}var Kt={'exports':{}},ii;function ec(){const _0x27df0d=_0x46f17f;return ii||(ii=0x1,function(_0x4df853,_0x1f7acb){(function(_0x25fe89,_0x196d47){const _0x48044f=_0x1425;_0x4df853[_0x48044f(0x4b5)]=_0x196d47(ue());}(Z,function(_0x3b3853){const _0x33de99=_0x1425;return function(_0x231776){const _0x5afdb9=_0x1425;var _0x390586=_0x3b3853,_0xd6d205=_0x390586[_0x5afdb9(0x515)],_0x1e1c51=_0xd6d205[_0x5afdb9(0x1b2)],_0x3728ac=_0xd6d205[_0x5afdb9(0x51a)],_0x22534a=_0x390586[_0x5afdb9(0x47c)],_0x2f235e=[];(function(){const _0x42fba1=_0x5afdb9;for(var _0x56ce99=0x0;_0x56ce99<0x40;_0x56ce99++)_0x2f235e[_0x56ce99]=_0x231776[_0x42fba1(0x547)](_0x231776[_0x42fba1(0x20e)](_0x56ce99+0x1))*0x100000000|0x0;}());var _0x4e4ff5=_0x22534a['MD5']=_0x3728ac[_0x5afdb9(0x3c3)]({'_doReset':function(){const _0x54ddcf=_0x5afdb9;this[_0x54ddcf(0x43d)]=new _0x1e1c51[(_0x54ddcf(0x426))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xb38d24,_0x1d0f2f){const _0x3ac7f0=_0x5afdb9;for(var _0x1309ab=0x0;_0x1309ab<0x10;_0x1309ab++){var _0x1f12e3=_0x1d0f2f+_0x1309ab,_0x156e8c=_0xb38d24[_0x1f12e3];_0xb38d24[_0x1f12e3]=(_0x156e8c<<0x8|_0x156e8c>>>0x18)&0xff00ff|(_0x156e8c<<0x18|_0x156e8c>>>0x8)&0xff00ff00;}var _0x4d7292=this[_0x3ac7f0(0x43d)][_0x3ac7f0(0x303)],_0x201144=_0xb38d24[_0x1d0f2f+0x0],_0x5b7667=_0xb38d24[_0x1d0f2f+0x1],_0x1b8862=_0xb38d24[_0x1d0f2f+0x2],_0x52e07e=_0xb38d24[_0x1d0f2f+0x3],_0x266f40=_0xb38d24[_0x1d0f2f+0x4],_0x4759a0=_0xb38d24[_0x1d0f2f+0x5],_0x5053f8=_0xb38d24[_0x1d0f2f+0x6],_0x558704=_0xb38d24[_0x1d0f2f+0x7],_0x410588=_0xb38d24[_0x1d0f2f+0x8],_0x592de5=_0xb38d24[_0x1d0f2f+0x9],_0x11826d=_0xb38d24[_0x1d0f2f+0xa],_0x416379=_0xb38d24[_0x1d0f2f+0xb],_0x55b357=_0xb38d24[_0x1d0f2f+0xc],_0x85e016=_0xb38d24[_0x1d0f2f+0xd],_0x3ff003=_0xb38d24[_0x1d0f2f+0xe],_0x5a56d7=_0xb38d24[_0x1d0f2f+0xf],_0x434761=_0x4d7292[0x0],_0x48dd93=_0x4d7292[0x1],_0x300d53=_0x4d7292[0x2],_0x4ff982=_0x4d7292[0x3];_0x434761=_0x21b7e7(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x201144,0x7,_0x2f235e[0x0]),_0x4ff982=_0x21b7e7(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x5b7667,0xc,_0x2f235e[0x1]),_0x300d53=_0x21b7e7(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x1b8862,0x11,_0x2f235e[0x2]),_0x48dd93=_0x21b7e7(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x52e07e,0x16,_0x2f235e[0x3]),_0x434761=_0x21b7e7(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x266f40,0x7,_0x2f235e[0x4]),_0x4ff982=_0x21b7e7(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x4759a0,0xc,_0x2f235e[0x5]),_0x300d53=_0x21b7e7(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x5053f8,0x11,_0x2f235e[0x6]),_0x48dd93=_0x21b7e7(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x558704,0x16,_0x2f235e[0x7]),_0x434761=_0x21b7e7(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x410588,0x7,_0x2f235e[0x8]),_0x4ff982=_0x21b7e7(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x592de5,0xc,_0x2f235e[0x9]),_0x300d53=_0x21b7e7(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x11826d,0x11,_0x2f235e[0xa]),_0x48dd93=_0x21b7e7(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x416379,0x16,_0x2f235e[0xb]),_0x434761=_0x21b7e7(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x55b357,0x7,_0x2f235e[0xc]),_0x4ff982=_0x21b7e7(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x85e016,0xc,_0x2f235e[0xd]),_0x300d53=_0x21b7e7(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x3ff003,0x11,_0x2f235e[0xe]),_0x48dd93=_0x21b7e7(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x5a56d7,0x16,_0x2f235e[0xf]),_0x434761=_0x511951(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x5b7667,0x5,_0x2f235e[0x10]),_0x4ff982=_0x511951(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x5053f8,0x9,_0x2f235e[0x11]),_0x300d53=_0x511951(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x416379,0xe,_0x2f235e[0x12]),_0x48dd93=_0x511951(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x201144,0x14,_0x2f235e[0x13]),_0x434761=_0x511951(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x4759a0,0x5,_0x2f235e[0x14]),_0x4ff982=_0x511951(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x11826d,0x9,_0x2f235e[0x15]),_0x300d53=_0x511951(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x5a56d7,0xe,_0x2f235e[0x16]),_0x48dd93=_0x511951(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x266f40,0x14,_0x2f235e[0x17]),_0x434761=_0x511951(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x592de5,0x5,_0x2f235e[0x18]),_0x4ff982=_0x511951(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x3ff003,0x9,_0x2f235e[0x19]),_0x300d53=_0x511951(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x52e07e,0xe,_0x2f235e[0x1a]),_0x48dd93=_0x511951(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x410588,0x14,_0x2f235e[0x1b]),_0x434761=_0x511951(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x85e016,0x5,_0x2f235e[0x1c]),_0x4ff982=_0x511951(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x1b8862,0x9,_0x2f235e[0x1d]),_0x300d53=_0x511951(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x558704,0xe,_0x2f235e[0x1e]),_0x48dd93=_0x511951(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x55b357,0x14,_0x2f235e[0x1f]),_0x434761=_0x553eae(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x4759a0,0x4,_0x2f235e[0x20]),_0x4ff982=_0x553eae(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x410588,0xb,_0x2f235e[0x21]),_0x300d53=_0x553eae(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x416379,0x10,_0x2f235e[0x22]),_0x48dd93=_0x553eae(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x3ff003,0x17,_0x2f235e[0x23]),_0x434761=_0x553eae(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x5b7667,0x4,_0x2f235e[0x24]),_0x4ff982=_0x553eae(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x266f40,0xb,_0x2f235e[0x25]),_0x300d53=_0x553eae(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x558704,0x10,_0x2f235e[0x26]),_0x48dd93=_0x553eae(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x11826d,0x17,_0x2f235e[0x27]),_0x434761=_0x553eae(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x85e016,0x4,_0x2f235e[0x28]),_0x4ff982=_0x553eae(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x201144,0xb,_0x2f235e[0x29]),_0x300d53=_0x553eae(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x52e07e,0x10,_0x2f235e[0x2a]),_0x48dd93=_0x553eae(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x5053f8,0x17,_0x2f235e[0x2b]),_0x434761=_0x553eae(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x592de5,0x4,_0x2f235e[0x2c]),_0x4ff982=_0x553eae(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x55b357,0xb,_0x2f235e[0x2d]),_0x300d53=_0x553eae(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x5a56d7,0x10,_0x2f235e[0x2e]),_0x48dd93=_0x553eae(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x1b8862,0x17,_0x2f235e[0x2f]),_0x434761=_0x4ec13b(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x201144,0x6,_0x2f235e[0x30]),_0x4ff982=_0x4ec13b(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x558704,0xa,_0x2f235e[0x31]),_0x300d53=_0x4ec13b(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x3ff003,0xf,_0x2f235e[0x32]),_0x48dd93=_0x4ec13b(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x4759a0,0x15,_0x2f235e[0x33]),_0x434761=_0x4ec13b(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x55b357,0x6,_0x2f235e[0x34]),_0x4ff982=_0x4ec13b(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x52e07e,0xa,_0x2f235e[0x35]),_0x300d53=_0x4ec13b(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x11826d,0xf,_0x2f235e[0x36]),_0x48dd93=_0x4ec13b(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x5b7667,0x15,_0x2f235e[0x37]),_0x434761=_0x4ec13b(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x410588,0x6,_0x2f235e[0x38]),_0x4ff982=_0x4ec13b(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x5a56d7,0xa,_0x2f235e[0x39]),_0x300d53=_0x4ec13b(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x5053f8,0xf,_0x2f235e[0x3a]),_0x48dd93=_0x4ec13b(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x85e016,0x15,_0x2f235e[0x3b]),_0x434761=_0x4ec13b(_0x434761,_0x48dd93,_0x300d53,_0x4ff982,_0x266f40,0x6,_0x2f235e[0x3c]),_0x4ff982=_0x4ec13b(_0x4ff982,_0x434761,_0x48dd93,_0x300d53,_0x416379,0xa,_0x2f235e[0x3d]),_0x300d53=_0x4ec13b(_0x300d53,_0x4ff982,_0x434761,_0x48dd93,_0x1b8862,0xf,_0x2f235e[0x3e]),_0x48dd93=_0x4ec13b(_0x48dd93,_0x300d53,_0x4ff982,_0x434761,_0x592de5,0x15,_0x2f235e[0x3f]),_0x4d7292[0x0]=_0x4d7292[0x0]+_0x434761|0x0,_0x4d7292[0x1]=_0x4d7292[0x1]+_0x48dd93|0x0,_0x4d7292[0x2]=_0x4d7292[0x2]+_0x300d53|0x0,_0x4d7292[0x3]=_0x4d7292[0x3]+_0x4ff982|0x0;},'_doFinalize':function(){const _0x181fc8=_0x5afdb9;var _0x3d316b=this[_0x181fc8(0x21a)],_0x41e2c2=_0x3d316b[_0x181fc8(0x303)],_0x4bcef4=this[_0x181fc8(0x238)]*0x8,_0x5988f6=_0x3d316b[_0x181fc8(0x46e)]*0x8;_0x41e2c2[_0x5988f6>>>0x5]|=0x80<<0x18-_0x5988f6%0x20;var _0x72d595=_0x231776[_0x181fc8(0x483)](_0x4bcef4/0x100000000),_0x459416=_0x4bcef4;_0x41e2c2[(_0x5988f6+0x40>>>0x9<<0x4)+0xf]=(_0x72d595<<0x8|_0x72d595>>>0x18)&0xff00ff|(_0x72d595<<0x18|_0x72d595>>>0x8)&0xff00ff00,_0x41e2c2[(_0x5988f6+0x40>>>0x9<<0x4)+0xe]=(_0x459416<<0x8|_0x459416>>>0x18)&0xff00ff|(_0x459416<<0x18|_0x459416>>>0x8)&0xff00ff00,_0x3d316b[_0x181fc8(0x46e)]=(_0x41e2c2[_0x181fc8(0x407)]+0x1)*0x4,this[_0x181fc8(0x2e8)]();for(var _0x1a5813=this[_0x181fc8(0x43d)],_0x878618=_0x1a5813[_0x181fc8(0x303)],_0x1b8b43=0x0;_0x1b8b43<0x4;_0x1b8b43++){var _0x422d88=_0x878618[_0x1b8b43];_0x878618[_0x1b8b43]=(_0x422d88<<0x8|_0x422d88>>>0x18)&0xff00ff|(_0x422d88<<0x18|_0x422d88>>>0x8)&0xff00ff00;}return _0x1a5813;},'clone':function(){const _0xa41d1c=_0x5afdb9;var _0x346ad1=_0x3728ac[_0xa41d1c(0x36f)][_0xa41d1c(0x3a8)](this);return _0x346ad1[_0xa41d1c(0x43d)]=this['_hash']['clone'](),_0x346ad1;}});function _0x21b7e7(_0x252aa3,_0x54be2b,_0x6e36e9,_0x5e0107,_0xfda996,_0x3d296d,_0x43ab69){var _0x401b17=_0x252aa3+(_0x54be2b&_0x6e36e9|~_0x54be2b&_0x5e0107)+_0xfda996+_0x43ab69;return(_0x401b17<<_0x3d296d|_0x401b17>>>0x20-_0x3d296d)+_0x54be2b;}function _0x511951(_0x2399c0,_0x13224b,_0x2d0a6a,_0x405d2a,_0x3da3e8,_0x1f0e40,_0x16a4b0){var _0x261bc3=_0x2399c0+(_0x13224b&_0x405d2a|_0x2d0a6a&~_0x405d2a)+_0x3da3e8+_0x16a4b0;return(_0x261bc3<<_0x1f0e40|_0x261bc3>>>0x20-_0x1f0e40)+_0x13224b;}function _0x553eae(_0x3fbbb6,_0x15ae05,_0x5d0f92,_0x21356b,_0x3c9745,_0x273547,_0x565051){var _0x4ae9b7=_0x3fbbb6+(_0x15ae05^_0x5d0f92^_0x21356b)+_0x3c9745+_0x565051;return(_0x4ae9b7<<_0x273547|_0x4ae9b7>>>0x20-_0x273547)+_0x15ae05;}function _0x4ec13b(_0x22f18e,_0x1dad54,_0x36ed23,_0x1daa98,_0x45cf1d,_0x305c73,_0x19a47e){var _0x52a322=_0x22f18e+(_0x36ed23^(_0x1dad54|~_0x1daa98))+_0x45cf1d+_0x19a47e;return(_0x52a322<<_0x305c73|_0x52a322>>>0x20-_0x305c73)+_0x1dad54;}_0x390586[_0x5afdb9(0x43a)]=_0x3728ac[_0x5afdb9(0x29d)](_0x4e4ff5),_0x390586[_0x5afdb9(0x18e)]=_0x3728ac[_0x5afdb9(0x277)](_0x4e4ff5);}(Math),_0x3b3853[_0x33de99(0x43a)];}));}(Kt)),Kt[_0x27df0d(0x4b5)];}var zt={'exports':{}},qt={'exports':{}},ri;function tc(){const _0xc074d=_0x46f17f;return ri||(ri=0x1,function(_0x4595a8,_0x13836e){(function(_0x5316e8,_0x5cfd4f){const _0x2bc5f6=_0x1425;_0x4595a8[_0x2bc5f6(0x4b5)]=_0x5cfd4f(ue());}(Z,function(_0x1ff840){const _0x52ddf5=_0x1425;return(function(){const _0x5f0cb7=_0x1425;var _0x4ccb6d=_0x1ff840,_0x30087e=_0x4ccb6d['lib'],_0x20d6a4=_0x30087e[_0x5f0cb7(0x1b2)],_0x3b9def=_0x30087e[_0x5f0cb7(0x51a)],_0x1d838b=_0x4ccb6d[_0x5f0cb7(0x47c)],_0x34e1f2=[],_0x2d1a1d=_0x1d838b[_0x5f0cb7(0x570)]=_0x3b9def[_0x5f0cb7(0x3c3)]({'_doReset':function(){const _0x1ae526=_0x5f0cb7;this[_0x1ae526(0x43d)]=new _0x20d6a4[(_0x1ae526(0x426))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x357776,_0x2a469c){const _0x4077c4=_0x5f0cb7;for(var _0x3339e1=this[_0x4077c4(0x43d)][_0x4077c4(0x303)],_0x5e89d3=_0x3339e1[0x0],_0x10a940=_0x3339e1[0x1],_0x48a84d=_0x3339e1[0x2],_0xa154f6=_0x3339e1[0x3],_0x33b64e=_0x3339e1[0x4],_0x441ff1=0x0;_0x441ff1<0x50;_0x441ff1++){if(_0x441ff1<0x10)_0x34e1f2[_0x441ff1]=_0x357776[_0x2a469c+_0x441ff1]|0x0;else{var _0x415015=_0x34e1f2[_0x441ff1-0x3]^_0x34e1f2[_0x441ff1-0x8]^_0x34e1f2[_0x441ff1-0xe]^_0x34e1f2[_0x441ff1-0x10];_0x34e1f2[_0x441ff1]=_0x415015<<0x1|_0x415015>>>0x1f;}var _0x1f8caa=(_0x5e89d3<<0x5|_0x5e89d3>>>0x1b)+_0x33b64e+_0x34e1f2[_0x441ff1];_0x441ff1<0x14?_0x1f8caa+=(_0x10a940&_0x48a84d|~_0x10a940&_0xa154f6)+0x5a827999:_0x441ff1<0x28?_0x1f8caa+=(_0x10a940^_0x48a84d^_0xa154f6)+0x6ed9eba1:_0x441ff1<0x3c?_0x1f8caa+=(_0x10a940&_0x48a84d|_0x10a940&_0xa154f6|_0x48a84d&_0xa154f6)-0x70e44324:_0x1f8caa+=(_0x10a940^_0x48a84d^_0xa154f6)-0x359d3e2a,_0x33b64e=_0xa154f6,_0xa154f6=_0x48a84d,_0x48a84d=_0x10a940<<0x1e|_0x10a940>>>0x2,_0x10a940=_0x5e89d3,_0x5e89d3=_0x1f8caa;}_0x3339e1[0x0]=_0x3339e1[0x0]+_0x5e89d3|0x0,_0x3339e1[0x1]=_0x3339e1[0x1]+_0x10a940|0x0,_0x3339e1[0x2]=_0x3339e1[0x2]+_0x48a84d|0x0,_0x3339e1[0x3]=_0x3339e1[0x3]+_0xa154f6|0x0,_0x3339e1[0x4]=_0x3339e1[0x4]+_0x33b64e|0x0;},'_doFinalize':function(){const _0x8766c5=_0x5f0cb7;var _0x362b98=this[_0x8766c5(0x21a)],_0x313ee0=_0x362b98[_0x8766c5(0x303)],_0x1b245d=this['_nDataBytes']*0x8,_0x13178a=_0x362b98[_0x8766c5(0x46e)]*0x8;return _0x313ee0[_0x13178a>>>0x5]|=0x80<<0x18-_0x13178a%0x20,_0x313ee0[(_0x13178a+0x40>>>0x9<<0x4)+0xe]=Math[_0x8766c5(0x483)](_0x1b245d/0x100000000),_0x313ee0[(_0x13178a+0x40>>>0x9<<0x4)+0xf]=_0x1b245d,_0x362b98['sigBytes']=_0x313ee0[_0x8766c5(0x407)]*0x4,this[_0x8766c5(0x2e8)](),this[_0x8766c5(0x43d)];},'clone':function(){const _0x17421d=_0x5f0cb7;var _0x2dbb37=_0x3b9def[_0x17421d(0x36f)][_0x17421d(0x3a8)](this);return _0x2dbb37[_0x17421d(0x43d)]=this['_hash'][_0x17421d(0x36f)](),_0x2dbb37;}});_0x4ccb6d[_0x5f0cb7(0x570)]=_0x3b9def[_0x5f0cb7(0x29d)](_0x2d1a1d),_0x4ccb6d[_0x5f0cb7(0x452)]=_0x3b9def[_0x5f0cb7(0x277)](_0x2d1a1d);}()),_0x1ff840[_0x52ddf5(0x570)];}));}(qt)),qt[_0xc074d(0x4b5)];}var Xt={'exports':{}},ni;function sc(){return ni||(ni=0x1,function(_0x198aa9,_0x33ddb2){(function(_0x55928f,_0x3f5ef6){const _0xf8d072=_0x1425;_0x198aa9[_0xf8d072(0x4b5)]=_0x3f5ef6(ue());}(Z,function(_0x17b83f){(function(){const _0x130aa4=_0x1425;var _0x53067f=_0x17b83f,_0x4b4bdf=_0x53067f[_0x130aa4(0x515)],_0x20789e=_0x4b4bdf[_0x130aa4(0x54d)],_0x5bdf08=_0x53067f[_0x130aa4(0x4ff)],_0x525226=_0x5bdf08['Utf8'],_0x310e1b=_0x53067f['algo'];_0x310e1b[_0x130aa4(0x490)]=_0x20789e[_0x130aa4(0x3c3)]({'init':function(_0x5e3e87,_0x19148f){const _0x5de506=_0x130aa4;_0x5e3e87=this[_0x5de506(0x509)]=new _0x5e3e87['init'](),typeof _0x19148f==_0x5de506(0x366)&&(_0x19148f=_0x525226[_0x5de506(0x4b9)](_0x19148f));var _0x1ecf09=_0x5e3e87[_0x5de506(0x3a6)],_0x2c2c92=_0x1ecf09*0x4;_0x19148f[_0x5de506(0x46e)]>_0x2c2c92&&(_0x19148f=_0x5e3e87[_0x5de506(0x44e)](_0x19148f)),_0x19148f[_0x5de506(0x3d7)]();for(var _0x39957b=this[_0x5de506(0x2e7)]=_0x19148f[_0x5de506(0x36f)](),_0x59c87=this[_0x5de506(0x3d1)]=_0x19148f[_0x5de506(0x36f)](),_0x2257a4=_0x39957b['words'],_0xfd9b4e=_0x59c87['words'],_0xe9c51b=0x0;_0xe9c51b<_0x1ecf09;_0xe9c51b++)_0x2257a4[_0xe9c51b]^=0x5c5c5c5c,_0xfd9b4e[_0xe9c51b]^=0x36363636;_0x39957b[_0x5de506(0x46e)]=_0x59c87['sigBytes']=_0x2c2c92,this[_0x5de506(0x534)]();},'reset':function(){const _0x4d66ad=_0x130aa4;var _0x216b60=this['_hasher'];_0x216b60[_0x4d66ad(0x534)](),_0x216b60[_0x4d66ad(0x266)](this['_iKey']);},'update':function(_0x121a17){const _0x1eaa0d=_0x130aa4;return this[_0x1eaa0d(0x509)][_0x1eaa0d(0x266)](_0x121a17),this;},'finalize':function(_0x19d332){const _0x4505d9=_0x130aa4;var _0x56c138=this['_hasher'],_0x1a92c9=_0x56c138[_0x4505d9(0x44e)](_0x19d332);_0x56c138[_0x4505d9(0x534)]();var _0x558f34=_0x56c138[_0x4505d9(0x44e)](this[_0x4505d9(0x2e7)][_0x4505d9(0x36f)]()[_0x4505d9(0x216)](_0x1a92c9));return _0x558f34;}});}());}));}(Xt)),Xt['exports'];}var oi;function Xi(){const _0x1fdfcf=_0x46f17f;return oi||(oi=0x1,function(_0x451345,_0x11326a){(function(_0x4a5ec1,_0x297a22,_0x15ce07){const _0x2c3be4=_0x1425;_0x451345[_0x2c3be4(0x4b5)]=_0x297a22(ue(),tc(),sc());}(Z,function(_0x6304a4){return(function(){const _0x5c27f7=_0x1425;var _0x447e5a=_0x6304a4,_0x553dbc=_0x447e5a[_0x5c27f7(0x515)],_0x463787=_0x553dbc[_0x5c27f7(0x54d)],_0x34864f=_0x553dbc[_0x5c27f7(0x1b2)],_0x901d89=_0x447e5a['algo'],_0x3fee98=_0x901d89[_0x5c27f7(0x43a)],_0xa1a871=_0x901d89[_0x5c27f7(0x31f)]=_0x463787[_0x5c27f7(0x3c3)]({'cfg':_0x463787['extend']({'keySize':0x80/0x20,'hasher':_0x3fee98,'iterations':0x1}),'init':function(_0x53a6ee){const _0x33d9a4=_0x5c27f7;this[_0x33d9a4(0x379)]=this[_0x33d9a4(0x379)]['extend'](_0x53a6ee);},'compute':function(_0x758de9,_0xa5d529){const _0x185c23=_0x5c27f7;for(var _0x2fa2d5,_0x425987=this[_0x185c23(0x379)],_0x119ce2=_0x425987[_0x185c23(0x56e)][_0x185c23(0x34e)](),_0x19be08=_0x34864f['create'](),_0x38ed19=_0x19be08[_0x185c23(0x303)],_0x53a2a7=_0x425987[_0x185c23(0x1e5)],_0x4dcc95=_0x425987[_0x185c23(0x4a5)];_0x38ed19['length']<_0x53a2a7;){_0x2fa2d5&&_0x119ce2['update'](_0x2fa2d5),_0x2fa2d5=_0x119ce2[_0x185c23(0x266)](_0x758de9)[_0x185c23(0x44e)](_0xa5d529),_0x119ce2['reset']();for(var _0x1cc402=0x1;_0x1cc402<_0x4dcc95;_0x1cc402++)_0x2fa2d5=_0x119ce2[_0x185c23(0x44e)](_0x2fa2d5),_0x119ce2['reset']();_0x19be08[_0x185c23(0x216)](_0x2fa2d5);}return _0x19be08[_0x185c23(0x46e)]=_0x53a2a7*0x4,_0x19be08;}});_0x447e5a[_0x5c27f7(0x31f)]=function(_0x3b3515,_0x53b14f,_0x46bff9){const _0x297e6c=_0x5c27f7;return _0xa1a871[_0x297e6c(0x34e)](_0x46bff9)[_0x297e6c(0x1ca)](_0x3b3515,_0x53b14f);};}()),_0x6304a4['EvpKDF'];}));}(zt)),zt[_0x1fdfcf(0x4b5)];}var Jt={'exports':{}},ai;function Ji(){const _0x32bca1=_0x46f17f;return ai||(ai=0x1,function(_0x34e2a2,_0x1d5d75){(function(_0x2e24dd,_0x20dc65,_0x17b26d){const _0x1c2a78=_0x1425;_0x34e2a2[_0x1c2a78(0x4b5)]=_0x20dc65(ue(),Xi());}(Z,function(_0x43a5f2){const _0x4994d9=_0x1425;_0x43a5f2[_0x4994d9(0x515)][_0x4994d9(0x492)]||function(_0x4f5dfe){const _0x5aac2a=_0x4994d9;var _0x351bd7=_0x43a5f2,_0x1ab313=_0x351bd7[_0x5aac2a(0x515)],_0x292879=_0x1ab313[_0x5aac2a(0x54d)],_0x5dd29d=_0x1ab313[_0x5aac2a(0x1b2)],_0x2fcf9c=_0x1ab313['BufferedBlockAlgorithm'],_0x33c167=_0x351bd7[_0x5aac2a(0x4ff)];_0x33c167['Utf8'];var _0x509323=_0x33c167[_0x5aac2a(0x501)],_0x3b2ab8=_0x351bd7['algo'],_0x1b06b9=_0x3b2ab8[_0x5aac2a(0x31f)],_0x34ceca=_0x1ab313['Cipher']=_0x2fcf9c[_0x5aac2a(0x3c3)]({'cfg':_0x292879[_0x5aac2a(0x3c3)](),'createEncryptor':function(_0x44e1ed,_0x32a0f2){const _0x54b64d=_0x5aac2a;return this[_0x54b64d(0x34e)](this['_ENC_XFORM_MODE'],_0x44e1ed,_0x32a0f2);},'createDecryptor':function(_0x4eff9e,_0x201578){const _0x4edc43=_0x5aac2a;return this['create'](this[_0x4edc43(0x4ca)],_0x4eff9e,_0x201578);},'init':function(_0x7e4c8d,_0x39a78a,_0x126fc7){const _0x373365=_0x5aac2a;this[_0x373365(0x379)]=this['cfg'][_0x373365(0x3c3)](_0x126fc7),this[_0x373365(0x1c5)]=_0x7e4c8d,this[_0x373365(0x1f3)]=_0x39a78a,this[_0x373365(0x534)]();},'reset':function(){const _0x5ab09e=_0x5aac2a;_0x2fcf9c[_0x5ab09e(0x534)][_0x5ab09e(0x3a8)](this),this[_0x5ab09e(0x4d5)]();},'process':function(_0x58b9e5){const _0x561c47=_0x5aac2a;return this['_append'](_0x58b9e5),this[_0x561c47(0x2e8)]();},'finalize':function(_0x5278b1){const _0x125770=_0x5aac2a;_0x5278b1&&this[_0x125770(0x44d)](_0x5278b1);var _0x27bc9e=this['_doFinalize']();return _0x27bc9e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x51233c(_0x52cff1){return typeof _0x52cff1=='string'?_0x151da8:_0x2fbea5;}return function(_0x3d94fa){return{'encrypt':function(_0x25b274,_0x10d42d,_0x5f2d44){const _0x386ce1=_0x1425;return _0x51233c(_0x10d42d)[_0x386ce1(0x48e)](_0x3d94fa,_0x25b274,_0x10d42d,_0x5f2d44);},'decrypt':function(_0x1a2558,_0x44a0e2,_0xb61efe){return _0x51233c(_0x44a0e2)['decrypt'](_0x3d94fa,_0x1a2558,_0x44a0e2,_0xb61efe);}};};}())});_0x1ab313[_0x5aac2a(0x444)]=_0x34ceca[_0x5aac2a(0x3c3)]({'_doFinalize':function(){const _0x59b25f=_0x5aac2a;var _0x1a033d=this[_0x59b25f(0x2e8)](!0x0);return _0x1a033d;},'blockSize':0x1});var _0x5b433c=_0x351bd7[_0x5aac2a(0x2d3)]={},_0x1439b0=_0x1ab313[_0x5aac2a(0x2c9)]=_0x292879[_0x5aac2a(0x3c3)]({'createEncryptor':function(_0x211f14,_0x35aa92){const _0x102a15=_0x5aac2a;return this[_0x102a15(0x56c)][_0x102a15(0x34e)](_0x211f14,_0x35aa92);},'createDecryptor':function(_0x3b8f08,_0x1105cd){const _0x591d53=_0x5aac2a;return this[_0x591d53(0x4bc)][_0x591d53(0x34e)](_0x3b8f08,_0x1105cd);},'init':function(_0x50a11c,_0x272e2c){this['_cipher']=_0x50a11c,this['_iv']=_0x272e2c;}}),_0x1cc22f=_0x5b433c[_0x5aac2a(0x536)]=(function(){const _0x174628=_0x5aac2a;var _0x406af3=_0x1439b0[_0x174628(0x3c3)]();_0x406af3['Encryptor']=_0x406af3['extend']({'processBlock':function(_0x172af2,_0x1681a7){const _0x1b8b5b=_0x174628;var _0x53376d=this['_cipher'],_0x1a5641=_0x53376d[_0x1b8b5b(0x3a6)];_0x2fc9b6[_0x1b8b5b(0x3a8)](this,_0x172af2,_0x1681a7,_0x1a5641),_0x53376d[_0x1b8b5b(0x573)](_0x172af2,_0x1681a7),this['_prevBlock']=_0x172af2['slice'](_0x1681a7,_0x1681a7+_0x1a5641);}}),_0x406af3[_0x174628(0x4bc)]=_0x406af3[_0x174628(0x3c3)]({'processBlock':function(_0x165cf4,_0x14081d){const _0x5820a8=_0x174628;var _0x2b242f=this['_cipher'],_0x5658c7=_0x2b242f['blockSize'],_0x53589a=_0x165cf4['slice'](_0x14081d,_0x14081d+_0x5658c7);_0x2b242f[_0x5820a8(0x1ad)](_0x165cf4,_0x14081d),_0x2fc9b6[_0x5820a8(0x3a8)](this,_0x165cf4,_0x14081d,_0x5658c7),this[_0x5820a8(0x168)]=_0x53589a;}});function _0x2fc9b6(_0x4a4e32,_0x2af8c3,_0x163ec3){const _0x51e104=_0x174628;var _0x38ffb3,_0x35a8e3=this[_0x51e104(0x4f0)];_0x35a8e3?(_0x38ffb3=_0x35a8e3,this[_0x51e104(0x4f0)]=_0x4f5dfe):_0x38ffb3=this[_0x51e104(0x168)];for(var _0x19c1ea=0x0;_0x19c1ea<_0x163ec3;_0x19c1ea++)_0x4a4e32[_0x2af8c3+_0x19c1ea]^=_0x38ffb3[_0x19c1ea];}return _0x406af3;}()),_0x3f47a4=_0x351bd7[_0x5aac2a(0x411)]={},_0x3ea5ed=_0x3f47a4['Pkcs7']={'pad':function(_0x586bd3,_0x9455ff){const _0x37f42f=_0x5aac2a;for(var _0x3221c6=_0x9455ff*0x4,_0x22b5a7=_0x3221c6-_0x586bd3['sigBytes']%_0x3221c6,_0x3d8386=_0x22b5a7<<0x18|_0x22b5a7<<0x10|_0x22b5a7<<0x8|_0x22b5a7,_0x8e4a92=[],_0x35250c=0x0;_0x35250c<_0x22b5a7;_0x35250c+=0x4)_0x8e4a92[_0x37f42f(0x23d)](_0x3d8386);var _0x25e856=_0x5dd29d[_0x37f42f(0x34e)](_0x8e4a92,_0x22b5a7);_0x586bd3[_0x37f42f(0x216)](_0x25e856);},'unpad':function(_0x52c8df){const _0x2eef90=_0x5aac2a;var _0x17a044=_0x52c8df[_0x2eef90(0x303)][_0x52c8df['sigBytes']-0x1>>>0x2]&0xff;_0x52c8df[_0x2eef90(0x46e)]-=_0x17a044;}};_0x1ab313['BlockCipher']=_0x34ceca['extend']({'cfg':_0x34ceca[_0x5aac2a(0x379)][_0x5aac2a(0x3c3)]({'mode':_0x1cc22f,'padding':_0x3ea5ed}),'reset':function(){const _0x5b1ac3=_0x5aac2a;var _0x23068e;_0x34ceca[_0x5b1ac3(0x534)][_0x5b1ac3(0x3a8)](this);var _0x46eafc=this[_0x5b1ac3(0x379)],_0x509372=_0x46eafc['iv'],_0x44fecf=_0x46eafc[_0x5b1ac3(0x2d3)];this[_0x5b1ac3(0x1c5)]==this[_0x5b1ac3(0x58d)]?_0x23068e=_0x44fecf[_0x5b1ac3(0x4ee)]:(_0x23068e=_0x44fecf['createDecryptor'],this[_0x5b1ac3(0x55f)]=0x1),this[_0x5b1ac3(0x235)]&&this[_0x5b1ac3(0x235)]['__creator']==_0x23068e?this[_0x5b1ac3(0x235)][_0x5b1ac3(0x426)](this,_0x509372&&_0x509372[_0x5b1ac3(0x303)]):(this[_0x5b1ac3(0x235)]=_0x23068e['call'](_0x44fecf,this,_0x509372&&_0x509372[_0x5b1ac3(0x303)]),this['_mode']['__creator']=_0x23068e);},'_doProcessBlock':function(_0x4247b4,_0x69072a){const _0x33e9f0=_0x5aac2a;this[_0x33e9f0(0x235)][_0x33e9f0(0x3c8)](_0x4247b4,_0x69072a);},'_doFinalize':function(){const _0x181900=_0x5aac2a;var _0x47b054,_0x2738ab=this[_0x181900(0x379)][_0x181900(0x1d5)];return this[_0x181900(0x1c5)]==this['_ENC_XFORM_MODE']?(_0x2738ab[_0x181900(0x411)](this['_data'],this[_0x181900(0x3a6)]),_0x47b054=this[_0x181900(0x2e8)](!0x0)):(_0x47b054=this[_0x181900(0x2e8)](!0x0),_0x2738ab[_0x181900(0x38f)](_0x47b054)),_0x47b054;},'blockSize':0x80/0x20});var _0x3ca420=_0x1ab313[_0x5aac2a(0x583)]=_0x292879[_0x5aac2a(0x3c3)]({'init':function(_0x262b9e){const _0x254d16=_0x5aac2a;this[_0x254d16(0x3e3)](_0x262b9e);},'toString':function(_0x160dcd){const _0x34dd24=_0x5aac2a;return(_0x160dcd||this[_0x34dd24(0x488)])[_0x34dd24(0x353)](this);}}),_0x45e192=_0x351bd7[_0x5aac2a(0x587)]={},_0x2f89e7=_0x45e192['OpenSSL']={'stringify':function(_0x288398){const _0x1d1641=_0x5aac2a;var _0xe30714,_0x49bed9=_0x288398[_0x1d1641(0x3ac)],_0x11156a=_0x288398['salt'];return _0x11156a?_0xe30714=_0x5dd29d[_0x1d1641(0x34e)]([0x53616c74,0x65645f5f])['concat'](_0x11156a)[_0x1d1641(0x216)](_0x49bed9):_0xe30714=_0x49bed9,_0xe30714['toString'](_0x509323);},'parse':function(_0x4c0a67){const _0x376f4b=_0x5aac2a;var _0x4f552c,_0x356e1b=_0x509323['parse'](_0x4c0a67),_0x35d2c8=_0x356e1b[_0x376f4b(0x303)];return _0x35d2c8[0x0]==0x53616c74&&_0x35d2c8[0x1]==0x65645f5f&&(_0x4f552c=_0x5dd29d[_0x376f4b(0x34e)](_0x35d2c8[_0x376f4b(0x325)](0x2,0x4)),_0x35d2c8[_0x376f4b(0x2f3)](0x0,0x4),_0x356e1b[_0x376f4b(0x46e)]-=0x10),_0x3ca420[_0x376f4b(0x34e)]({'ciphertext':_0x356e1b,'salt':_0x4f552c});}},_0x2fbea5=_0x1ab313[_0x5aac2a(0x1b6)]=_0x292879[_0x5aac2a(0x3c3)]({'cfg':_0x292879[_0x5aac2a(0x3c3)]({'format':_0x2f89e7}),'encrypt':function(_0x3b5518,_0x4e3647,_0x55c52f,_0x432305){const _0x45bc9f=_0x5aac2a;_0x432305=this['cfg']['extend'](_0x432305);var _0x3dcf6d=_0x3b5518[_0x45bc9f(0x4ee)](_0x55c52f,_0x432305),_0x367df1=_0x3dcf6d[_0x45bc9f(0x44e)](_0x4e3647),_0x7a1f88=_0x3dcf6d[_0x45bc9f(0x379)];return _0x3ca420[_0x45bc9f(0x34e)]({'ciphertext':_0x367df1,'key':_0x55c52f,'iv':_0x7a1f88['iv'],'algorithm':_0x3b5518,'mode':_0x7a1f88['mode'],'padding':_0x7a1f88['padding'],'blockSize':_0x3b5518['blockSize'],'formatter':_0x432305[_0x45bc9f(0x587)]});},'decrypt':function(_0x2ecb19,_0x4bfaeb,_0x59cd96,_0x116d9a){const _0x3bdbc7=_0x5aac2a;_0x116d9a=this[_0x3bdbc7(0x379)][_0x3bdbc7(0x3c3)](_0x116d9a),_0x4bfaeb=this[_0x3bdbc7(0x4fa)](_0x4bfaeb,_0x116d9a['format']);var _0x253b2f=_0x2ecb19[_0x3bdbc7(0x299)](_0x59cd96,_0x116d9a)['finalize'](_0x4bfaeb['ciphertext']);return _0x253b2f;},'_parse':function(_0x3f1790,_0x246d7f){const _0x515dbd=_0x5aac2a;return typeof _0x3f1790==_0x515dbd(0x366)?_0x246d7f['parse'](_0x3f1790,this):_0x3f1790;}}),_0x42d903=_0x351bd7[_0x5aac2a(0x50f)]={},_0x1f5f80=_0x42d903[_0x5aac2a(0x20d)]={'execute':function(_0x15c576,_0x4b58c4,_0x4f3caa,_0x5081e7,_0xad06af){const _0x5d6273=_0x5aac2a;if(_0x5081e7||(_0x5081e7=_0x5dd29d[_0x5d6273(0x237)](0x40/0x8)),_0xad06af)var _0x4f9f3a=_0x1b06b9[_0x5d6273(0x34e)]({'keySize':_0x4b58c4+_0x4f3caa,'hasher':_0xad06af})['compute'](_0x15c576,_0x5081e7);else var _0x4f9f3a=_0x1b06b9[_0x5d6273(0x34e)]({'keySize':_0x4b58c4+_0x4f3caa})[_0x5d6273(0x1ca)](_0x15c576,_0x5081e7);var _0x2a7933=_0x5dd29d[_0x5d6273(0x34e)](_0x4f9f3a[_0x5d6273(0x303)]['slice'](_0x4b58c4),_0x4f3caa*0x4);return _0x4f9f3a[_0x5d6273(0x46e)]=_0x4b58c4*0x4,_0x3ca420[_0x5d6273(0x34e)]({'key':_0x4f9f3a,'iv':_0x2a7933,'salt':_0x5081e7});}},_0x151da8=_0x1ab313['PasswordBasedCipher']=_0x2fbea5[_0x5aac2a(0x3c3)]({'cfg':_0x2fbea5[_0x5aac2a(0x379)][_0x5aac2a(0x3c3)]({'kdf':_0x1f5f80}),'encrypt':function(_0x18d170,_0x382d16,_0x239474,_0x42ebcd){const _0xb15837=_0x5aac2a;_0x42ebcd=this[_0xb15837(0x379)][_0xb15837(0x3c3)](_0x42ebcd);var _0x44c6f4=_0x42ebcd[_0xb15837(0x50f)][_0xb15837(0x4d1)](_0x239474,_0x18d170[_0xb15837(0x1e5)],_0x18d170[_0xb15837(0x495)],_0x42ebcd[_0xb15837(0x41a)],_0x42ebcd[_0xb15837(0x56e)]);_0x42ebcd['iv']=_0x44c6f4['iv'];var _0x3ce7c5=_0x2fbea5[_0xb15837(0x48e)][_0xb15837(0x3a8)](this,_0x18d170,_0x382d16,_0x44c6f4[_0xb15837(0x1ae)],_0x42ebcd);return _0x3ce7c5[_0xb15837(0x3e3)](_0x44c6f4),_0x3ce7c5;},'decrypt':function(_0x296e06,_0x2cc07d,_0x5173e0,_0x345477){const _0x5653b0=_0x5aac2a;_0x345477=this[_0x5653b0(0x379)][_0x5653b0(0x3c3)](_0x345477),_0x2cc07d=this[_0x5653b0(0x4fa)](_0x2cc07d,_0x345477[_0x5653b0(0x587)]);var _0x5ec83f=_0x345477[_0x5653b0(0x50f)][_0x5653b0(0x4d1)](_0x5173e0,_0x296e06[_0x5653b0(0x1e5)],_0x296e06[_0x5653b0(0x495)],_0x2cc07d['salt'],_0x345477[_0x5653b0(0x56e)]);_0x345477['iv']=_0x5ec83f['iv'];var _0x289829=_0x2fbea5[_0x5653b0(0x53c)][_0x5653b0(0x3a8)](this,_0x296e06,_0x2cc07d,_0x5ec83f['key'],_0x345477);return _0x289829;}});}();}));}(Jt)),Jt[_0x32bca1(0x4b5)];}(function(_0x5cdcb3,_0xdd1146){(function(_0x42721f,_0x3aef86,_0x9842a){_0x5cdcb3['exports']=_0x3aef86(ue(),qi(),ec(),Xi(),Ji());}(Z,function(_0x2ef6e1){const _0x3b11be=_0x1425;return(function(){const _0x408345=_0x1425;var _0x3e5e12=_0x2ef6e1,_0x2dd4b7=_0x3e5e12[_0x408345(0x515)],_0x2d4b66=_0x2dd4b7[_0x408345(0x466)],_0x11c405=_0x3e5e12[_0x408345(0x47c)],_0x2178e5=[],_0x4ad916=[],_0x6dc09e=[],_0xf6e981=[],_0x458d08=[],_0x4140ad=[],_0x44f688=[],_0x51f3b3=[],_0x22166a=[],_0x117fdc=[];(function(){for(var _0x17d4c9=[],_0x118456=0x0;_0x118456<0x100;_0x118456++)_0x118456<0x80?_0x17d4c9[_0x118456]=_0x118456<<0x1:_0x17d4c9[_0x118456]=_0x118456<<0x1^0x11b;for(var _0x348883=0x0,_0x25b37f=0x0,_0x118456=0x0;_0x118456<0x100;_0x118456++){var _0x718b2c=_0x25b37f^_0x25b37f<<0x1^_0x25b37f<<0x2^_0x25b37f<<0x3^_0x25b37f<<0x4;_0x718b2c=_0x718b2c>>>0x8^_0x718b2c&0xff^0x63,_0x2178e5[_0x348883]=_0x718b2c,_0x4ad916[_0x718b2c]=_0x348883;var _0x102884=_0x17d4c9[_0x348883],_0x3522d2=_0x17d4c9[_0x102884],_0x3e6ece=_0x17d4c9[_0x3522d2],_0x406d19=_0x17d4c9[_0x718b2c]*0x101^_0x718b2c*0x1010100;_0x6dc09e[_0x348883]=_0x406d19<<0x18|_0x406d19>>>0x8,_0xf6e981[_0x348883]=_0x406d19<<0x10|_0x406d19>>>0x10,_0x458d08[_0x348883]=_0x406d19<<0x8|_0x406d19>>>0x18,_0x4140ad[_0x348883]=_0x406d19;var _0x406d19=_0x3e6ece*0x1010101^_0x3522d2*0x10001^_0x102884*0x101^_0x348883*0x1010100;_0x44f688[_0x718b2c]=_0x406d19<<0x18|_0x406d19>>>0x8,_0x51f3b3[_0x718b2c]=_0x406d19<<0x10|_0x406d19>>>0x10,_0x22166a[_0x718b2c]=_0x406d19<<0x8|_0x406d19>>>0x18,_0x117fdc[_0x718b2c]=_0x406d19,_0x348883?(_0x348883=_0x102884^_0x17d4c9[_0x17d4c9[_0x17d4c9[_0x3e6ece^_0x102884]]],_0x25b37f^=_0x17d4c9[_0x17d4c9[_0x25b37f]]):_0x348883=_0x25b37f=0x1;}}());var _0x20c02d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x147cca=_0x11c405['AES']=_0x2d4b66[_0x408345(0x3c3)]({'_doReset':function(){const _0x235b17=_0x408345;var _0x119283;if(!(this[_0x235b17(0x401)]&&this['_keyPriorReset']===this['_key'])){for(var _0x5673a5=this[_0x235b17(0x30e)]=this[_0x235b17(0x1f3)],_0x36a27f=_0x5673a5[_0x235b17(0x303)],_0x4208a1=_0x5673a5['sigBytes']/0x4,_0x5e1a2b=this[_0x235b17(0x401)]=_0x4208a1+0x6,_0x9b2f08=(_0x5e1a2b+0x1)*0x4,_0x109489=this[_0x235b17(0x37b)]=[],_0x749264=0x0;_0x749264<_0x9b2f08;_0x749264++)_0x749264<_0x4208a1?_0x109489[_0x749264]=_0x36a27f[_0x749264]:(_0x119283=_0x109489[_0x749264-0x1],_0x749264%_0x4208a1?_0x4208a1>0x6&&_0x749264%_0x4208a1==0x4&&(_0x119283=_0x2178e5[_0x119283>>>0x18]<<0x18|_0x2178e5[_0x119283>>>0x10&0xff]<<0x10|_0x2178e5[_0x119283>>>0x8&0xff]<<0x8|_0x2178e5[_0x119283&0xff]):(_0x119283=_0x119283<<0x8|_0x119283>>>0x18,_0x119283=_0x2178e5[_0x119283>>>0x18]<<0x18|_0x2178e5[_0x119283>>>0x10&0xff]<<0x10|_0x2178e5[_0x119283>>>0x8&0xff]<<0x8|_0x2178e5[_0x119283&0xff],_0x119283^=_0x20c02d[_0x749264/_0x4208a1|0x0]<<0x18),_0x109489[_0x749264]=_0x109489[_0x749264-_0x4208a1]^_0x119283);for(var _0x59571e=this[_0x235b17(0x23c)]=[],_0x2466de=0x0;_0x2466de<_0x9b2f08;_0x2466de++){var _0x749264=_0x9b2f08-_0x2466de;if(_0x2466de%0x4)var _0x119283=_0x109489[_0x749264];else var _0x119283=_0x109489[_0x749264-0x4];_0x2466de<0x4||_0x749264<=0x4?_0x59571e[_0x2466de]=_0x119283:_0x59571e[_0x2466de]=_0x44f688[_0x2178e5[_0x119283>>>0x18]]^_0x51f3b3[_0x2178e5[_0x119283>>>0x10&0xff]]^_0x22166a[_0x2178e5[_0x119283>>>0x8&0xff]]^_0x117fdc[_0x2178e5[_0x119283&0xff]];}}},'encryptBlock':function(_0x707961,_0x1ce7a2){const _0x319823=_0x408345;this[_0x319823(0x19e)](_0x707961,_0x1ce7a2,this[_0x319823(0x37b)],_0x6dc09e,_0xf6e981,_0x458d08,_0x4140ad,_0x2178e5);},'decryptBlock':function(_0x23f93e,_0x40013f){const _0x4199de=_0x408345;var _0x445889=_0x23f93e[_0x40013f+0x1];_0x23f93e[_0x40013f+0x1]=_0x23f93e[_0x40013f+0x3],_0x23f93e[_0x40013f+0x3]=_0x445889,this[_0x4199de(0x19e)](_0x23f93e,_0x40013f,this['_invKeySchedule'],_0x44f688,_0x51f3b3,_0x22166a,_0x117fdc,_0x4ad916);var _0x445889=_0x23f93e[_0x40013f+0x1];_0x23f93e[_0x40013f+0x1]=_0x23f93e[_0x40013f+0x3],_0x23f93e[_0x40013f+0x3]=_0x445889;},'_doCryptBlock':function(_0x50823e,_0x42e888,_0x350618,_0x2fa249,_0x5b7f5d,_0x2c2cc2,_0x4646d8,_0x3aa55d){const _0x4008d6=_0x408345;for(var _0x39b697=this[_0x4008d6(0x401)],_0x404363=_0x50823e[_0x42e888]^_0x350618[0x0],_0x613636=_0x50823e[_0x42e888+0x1]^_0x350618[0x1],_0x734d74=_0x50823e[_0x42e888+0x2]^_0x350618[0x2],_0x4998eb=_0x50823e[_0x42e888+0x3]^_0x350618[0x3],_0x3e738c=0x4,_0x3c8b07=0x1;_0x3c8b07<_0x39b697;_0x3c8b07++){var _0x3ae267=_0x2fa249[_0x404363>>>0x18]^_0x5b7f5d[_0x613636>>>0x10&0xff]^_0x2c2cc2[_0x734d74>>>0x8&0xff]^_0x4646d8[_0x4998eb&0xff]^_0x350618[_0x3e738c++],_0x26922e=_0x2fa249[_0x613636>>>0x18]^_0x5b7f5d[_0x734d74>>>0x10&0xff]^_0x2c2cc2[_0x4998eb>>>0x8&0xff]^_0x4646d8[_0x404363&0xff]^_0x350618[_0x3e738c++],_0x54d241=_0x2fa249[_0x734d74>>>0x18]^_0x5b7f5d[_0x4998eb>>>0x10&0xff]^_0x2c2cc2[_0x404363>>>0x8&0xff]^_0x4646d8[_0x613636&0xff]^_0x350618[_0x3e738c++],_0x2a0cb7=_0x2fa249[_0x4998eb>>>0x18]^_0x5b7f5d[_0x404363>>>0x10&0xff]^_0x2c2cc2[_0x613636>>>0x8&0xff]^_0x4646d8[_0x734d74&0xff]^_0x350618[_0x3e738c++];_0x404363=_0x3ae267,_0x613636=_0x26922e,_0x734d74=_0x54d241,_0x4998eb=_0x2a0cb7;}var _0x3ae267=(_0x3aa55d[_0x404363>>>0x18]<<0x18|_0x3aa55d[_0x613636>>>0x10&0xff]<<0x10|_0x3aa55d[_0x734d74>>>0x8&0xff]<<0x8|_0x3aa55d[_0x4998eb&0xff])^_0x350618[_0x3e738c++],_0x26922e=(_0x3aa55d[_0x613636>>>0x18]<<0x18|_0x3aa55d[_0x734d74>>>0x10&0xff]<<0x10|_0x3aa55d[_0x4998eb>>>0x8&0xff]<<0x8|_0x3aa55d[_0x404363&0xff])^_0x350618[_0x3e738c++],_0x54d241=(_0x3aa55d[_0x734d74>>>0x18]<<0x18|_0x3aa55d[_0x4998eb>>>0x10&0xff]<<0x10|_0x3aa55d[_0x404363>>>0x8&0xff]<<0x8|_0x3aa55d[_0x613636&0xff])^_0x350618[_0x3e738c++],_0x2a0cb7=(_0x3aa55d[_0x4998eb>>>0x18]<<0x18|_0x3aa55d[_0x404363>>>0x10&0xff]<<0x10|_0x3aa55d[_0x613636>>>0x8&0xff]<<0x8|_0x3aa55d[_0x734d74&0xff])^_0x350618[_0x3e738c++];_0x50823e[_0x42e888]=_0x3ae267,_0x50823e[_0x42e888+0x1]=_0x26922e,_0x50823e[_0x42e888+0x2]=_0x54d241,_0x50823e[_0x42e888+0x3]=_0x2a0cb7;},'keySize':0x100/0x20});_0x3e5e12[_0x408345(0x1d8)]=_0x2d4b66[_0x408345(0x29d)](_0x147cca);}()),_0x2ef6e1[_0x3b11be(0x1d8)];}));}(zi));var ic=zi[_0x46f17f(0x4b5)];const rc=at(ic);var nc=qi();const ci=at(nc);var Zi={'exports':{}};(function(_0x38724b,_0x516eb8){(function(_0x3cedeb,_0xcdfc53){const _0x48e4fd=_0x1425;_0x38724b[_0x48e4fd(0x4b5)]=_0xcdfc53(ue());}(Z,function(_0x225fb0){const _0x1f185c=_0x1425;return _0x225fb0[_0x1f185c(0x4ff)][_0x1f185c(0x4d2)];}));}(Zi));var oc=Zi[_0x46f17f(0x4b5)];const ac=at(oc);var Qi={'exports':{}};(function(_0x5f3a67,_0x9cd445){(function(_0x78d569,_0x104335){const _0x235863=_0x1425;_0x5f3a67[_0x235863(0x4b5)]=_0x104335(ue());}(Z,function(_0x44cfe9){const _0x6caa33=_0x1425;return(function(){const _0x1dad93=_0x1425;if(typeof ArrayBuffer==_0x1dad93(0x232)){var _0x579acb=_0x44cfe9,_0x317ad0=_0x579acb[_0x1dad93(0x515)],_0x4dbad5=_0x317ad0[_0x1dad93(0x1b2)],_0x2b2ed9=_0x4dbad5[_0x1dad93(0x426)],_0x111b83=_0x4dbad5[_0x1dad93(0x426)]=function(_0x5953ac){const _0x2043bd=_0x1dad93;if(_0x5953ac instanceof ArrayBuffer&&(_0x5953ac=new Uint8Array(_0x5953ac)),(_0x5953ac instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5953ac instanceof Uint8ClampedArray||_0x5953ac instanceof Int16Array||_0x5953ac instanceof Uint16Array||_0x5953ac instanceof Int32Array||_0x5953ac instanceof Uint32Array||_0x5953ac instanceof Float32Array||_0x5953ac instanceof Float64Array)&&(_0x5953ac=new Uint8Array(_0x5953ac['buffer'],_0x5953ac[_0x2043bd(0x2b3)],_0x5953ac['byteLength'])),_0x5953ac instanceof Uint8Array){for(var _0x3c9b9a=_0x5953ac[_0x2043bd(0x44a)],_0x45d6e0=[],_0x4bb256=0x0;_0x4bb256<_0x3c9b9a;_0x4bb256++)_0x45d6e0[_0x4bb256>>>0x2]|=_0x5953ac[_0x4bb256]<<0x18-_0x4bb256%0x4*0x8;_0x2b2ed9[_0x2043bd(0x3a8)](this,_0x45d6e0,_0x3c9b9a);}else _0x2b2ed9[_0x2043bd(0x44c)](this,arguments);};_0x111b83[_0x1dad93(0x4c9)]=_0x4dbad5;}}()),_0x44cfe9[_0x6caa33(0x515)][_0x6caa33(0x1b2)];}));}(Qi));var cc=Qi[_0x46f17f(0x4b5)];const hc=at(cc);var er={'exports':{}};(function(_0x548ec4,_0x49f045){(function(_0x412e60,_0x47cf34,_0x18ec42){const _0x3146d6=_0x1425;_0x548ec4[_0x3146d6(0x4b5)]=_0x47cf34(ue(),Ji());}(Z,function(_0x382719){const _0x569fb5=_0x1425;return _0x382719[_0x569fb5(0x411)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x382719[_0x569fb5(0x411)]['NoPadding'];}));}(er));var lc=er[_0x46f17f(0x4b5)];const _c=at(lc);function uc(_0x219b59,_0x1a84df){const _0x1b1cb3=_0x46f17f,_0x38b6ff=_0x1a84df-_0x219b59[_0x1b1cb3(0x407)]%_0x1a84df,_0x21f584=String[_0x1b1cb3(0x26a)](_0x38b6ff)[_0x1b1cb3(0x419)](_0x38b6ff);return _0x219b59+_0x21f584;}function dc(_0x1f34cb,_0x49fcf4){const _0x1ab06f=_0x46f17f,_0x186fe7=hc['random'](0x10),_0x48f71e=uc(_0x1f34cb,0x10),_0x15c029=rc[_0x1ab06f(0x48e)](ac['parse'](_0x48f71e),ci[_0x1ab06f(0x4b9)](_0x49fcf4),{'iv':_0x186fe7,'padding':_c});return _0x186fe7[_0x1ab06f(0x216)](_0x15c029[_0x1ab06f(0x3ac)])['toString'](ci);}function fc(){const _0x223982=_0x46f17f,_0x387c33=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x223982(0x474)];if(_0x387c33){const _0x4578c9={'time':Math[_0x223982(0x483)](Date['now']()/0x3e8),'domain':location['hostname']};return dc(JSON[_0x223982(0x353)](_0x4578c9),_0x387c33);}}var vc=Object[_0x46f17f(0x3a4)],mc=Object[_0x46f17f(0x17b)],pc=(_0x2583f3,_0x3e3ab3,_0x31ecf8,_0x346a99)=>{for(var _0x571fb3=_0x346a99>0x1?void 0x0:_0x346a99?mc(_0x3e3ab3,_0x31ecf8):_0x3e3ab3,_0x2a206c=_0x2583f3['length']-0x1,_0x548836;_0x2a206c>=0x0;_0x2a206c--)(_0x548836=_0x2583f3[_0x2a206c])&&(_0x571fb3=(_0x346a99?_0x548836(_0x3e3ab3,_0x31ecf8,_0x571fb3):_0x548836(_0x571fb3))||_0x571fb3);return _0x346a99&&_0x571fb3&&vc(_0x3e3ab3,_0x31ecf8,_0x571fb3),_0x571fb3;},gc=(_0x468fab,_0x55f574)=>(_0x2df712,_0x4695d0)=>_0x55f574(_0x2df712,_0x4695d0,_0x468fab);let Rt=class{constructor(_0x4448cf){const _0x4c8fcb=_0x46f17f;this[_0x4c8fcb(0x32f)]=_0x4448cf,this['_initRequestHeader']();}[_0x46f17f(0x251)](){const _0x4513ed=_0x46f17f;this['_httpService'][_0x4513ed(0x317)]({'interceptor':(_0x27c75f,_0x2d0bc3)=>{const _0x51c17a=_0x4513ed,_0x4fb419=_0x27c75f['headers'],_0x45d4d2=fc();return _0x45d4d2&&_0x4fb419[_0x51c17a(0x25b)](_0x51c17a(0x406),_0x45d4d2),_0x2d0bc3(_0x27c75f);}});}};Rt=pc([gc(0x0,_0x4e871f(_0x595bc6))],Rt);var Sc=Object[_0x46f17f(0x3a4)],Ic=Object['getOwnPropertyDescriptor'],Cc=(_0x47e1dc,_0x47aa8a,_0x29f869,_0xf0eea)=>{const _0x890bad=_0x46f17f;for(var _0xcf0595=_0xf0eea>0x1?void 0x0:_0xf0eea?Ic(_0x47aa8a,_0x29f869):_0x47aa8a,_0x53670c=_0x47e1dc[_0x890bad(0x407)]-0x1,_0x390b03;_0x53670c>=0x0;_0x53670c--)(_0x390b03=_0x47e1dc[_0x53670c])&&(_0xcf0595=(_0xf0eea?_0x390b03(_0x47aa8a,_0x29f869,_0xcf0595):_0x390b03(_0xcf0595))||_0xcf0595);return _0xf0eea&&_0xcf0595&&Sc(_0x47aa8a,_0x29f869,_0xcf0595),_0xcf0595;},Zt=(_0x561957,_0x5dd07a)=>(_0x2f8e7f,_0x5275ab)=>_0x5dd07a(_0x2f8e7f,_0x5275ab,_0x561957);const Ec=[_0x46f17f(0x439),_0x46f17f(0x38e),_0x46f17f(0x1dc),_0x46f17f(0x2c8),_0x46f17f(0x3e0)],bc=0x5*0x400*0x400,Tc=_0x46f17f(0x2fd),Rc=_0x46f17f(0x531),Oc=_0x46f17f(0x164),yc=_0x46f17f(0x221);let _s=class{constructor(_0x32e99c,_0x481d8a,_0x33cc04){const _0x12f2d6=_0x46f17f;g(this,_0x12f2d6(0x3ff),0x0),g(this,_0x12f2d6(0x227),new _0x31ccd3()),g(this,_0x12f2d6(0x582),this[_0x12f2d6(0x227)]),g(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x32e99c,this[_0x12f2d6(0x57c)]=_0x481d8a,this[_0x12f2d6(0x53d)]=_0x33cc04);}[_0x46f17f(0x4a3)](_0x25ed65){const _0x1ed76b=_0x46f17f;this['_waitCount']=_0x25ed65,this[_0x1ed76b(0x227)][_0x1ed76b(0x4e6)](_0x25ed65);}[_0x46f17f(0x361)](_0x4bea39,_0x2d1b84){const _0x2e0152=_0x46f17f;if(_0x2d1b84===_0x8450ec[_0x2e0152(0x1be)]){const _0x33e459=new Image();return _0x33e459[_0x2e0152(0x21e)]=_0x4bea39,_0x33e459;}return this[_0x2e0152(0x350)][_0x2e0152(0x3e1)](_0x4bea39);}[_0x46f17f(0x56f)](_0x285dbe,_0x5594b7,_0x8f9305){const _0x3a463c=_0x46f17f;_0x5594b7===_0x8450ec['BASE64']||_0x8f9305==null||this[_0x3a463c(0x350)][_0x3a463c(0x25b)](_0x285dbe,_0x8f9305);}async[_0x46f17f(0x310)](_0x454481){const _0x8bfedc=_0x46f17f;try{const _0x5a005b=this[_0x8bfedc(0x1e0)](this[_0x8bfedc(0x2f0)](),''+_0x454481),_0x1659ed=(await this['_httpService'][_0x8bfedc(0x3e1)](_0x5a005b))['body'];if(_0x1659ed[_0x8bfedc(0x27d)]&&_0x1659ed[_0x8bfedc(0x27d)][_0x8bfedc(0x461)]===Ui['OK']){const _0x23e55a=new URL(_0x1659ed['url'],this[_0x8bfedc(0x4e4)]())['toString']();return Promise[_0x8bfedc(0x177)](_0x23e55a);}return Promise[_0x8bfedc(0x1f1)](_0x1659ed[_0x8bfedc(0x27d)]);}catch(_0x44a382){return Promise[_0x8bfedc(0x1f1)](_0x44a382);}}async[_0x46f17f(0x554)](_0x287e5d){const _0x512be8=_0x46f17f;let _0x27a780='';if(!Ec[_0x512be8(0x53a)](_0x287e5d['type']))return this[_0x512be8(0x543)](),Promise[_0x512be8(0x1f1)](new Error(_0x3bad31['ERROR_IMAGE_TYPE']));if(_0x287e5d[_0x512be8(0x16c)]>bc)return this[_0x512be8(0x543)](),Promise[_0x512be8(0x1f1)](new Error(_0x3bad31['ERROR_EXCEED_SIZE']));try{const _0x1bbcfa=new FormData();_0x1bbcfa[_0x512be8(0x2e6)]('file',_0x287e5d);const _0x3ec4=this[_0x512be8(0x53d)][_0x512be8(0x46b)](),_0x3bf948=_0x3ec4==null?void 0x0:_0x3ec4['getUnitId']();if(!_0x3bf948)throw new Error(_0x512be8(0x3b5));const _0x215897=this[_0x512be8(0x3ee)]()+_0x512be8(0x271)+_0x287e5d[_0x512be8(0x16c)][_0x512be8(0x4b7)]()+_0x512be8(0x51c)+Ni['UnitEmbedded']+_0x512be8(0x2ef)+encodeURIComponent(_0x3bf948),_0x663f80=await(await fetch(_0x215897,{'method':'POST','body':_0x1bbcfa}))[_0x512be8(0x368)]();if(typeof _0x663f80['FileId']!='string')return this[_0x512be8(0x543)](),Promise['reject'](new Error(_0x3bad31[_0x512be8(0x35b)]));_0x27a780=_0x663f80[_0x512be8(0x462)];}catch{return this[_0x512be8(0x543)](),Promise['reject'](new Error(_0x3bad31[_0x512be8(0x35b)]));}return new Promise((_0x34c925,_0x5cbc52)=>{const _0x196131=_0x512be8,_0x3dd903=new FileReader();_0x3dd903['readAsDataURL'](_0x287e5d),_0x3dd903[_0x196131(0x4e2)]=_0x4de565=>{const _0x59bebd=_0x196131;var _0x4fba66;const _0x1ed2b1=(_0x4fba66=_0x4de565[_0x59bebd(0x3ef)])==null?void 0x0:_0x4fba66['result'];if(_0x1ed2b1==null){this['_decreaseWaiting'](),_0x5cbc52(new Error(_0x3bad31[_0x59bebd(0x35b)]));return;}const _0x52ea58=_0x389286[_0x59bebd(0x467)](0x6);_0x34c925({'imageId':_0x52ea58,'imageSourceType':_0x8450ec['UUID'],'source':_0x27a780,'base64Cache':_0x1ed2b1,'status':_0x3bad31[_0x59bebd(0x463)]}),this[_0x59bebd(0x543)]();};});}['_getUploadFileURL'](){const _0x2826ed=_0x46f17f;var _0x47033a,_0x28b045;const _0x538ea3=this[_0x2826ed(0x57c)][_0x2826ed(0x4b3)](Tc),_0x6596b1=this[_0x2826ed(0x57c)][_0x2826ed(0x4b3)](ee);return(_0x28b045=(_0x47033a=_0x6596b1==null?void 0x0:_0x6596b1[_0x2826ed(0x36d)])!=null?_0x47033a:_0x538ea3)!=null?_0x28b045:Rc;}[_0x46f17f(0x2f0)](){const _0x1f33ba=_0x46f17f;var _0x1aa357,_0x5e250d;const _0x1cac11=this['_configService'][_0x1f33ba(0x4b3)](Oc),_0x471d5d=this[_0x1f33ba(0x57c)][_0x1f33ba(0x4b3)](ee);return(_0x5e250d=(_0x1aa357=_0x471d5d==null?void 0x0:_0x471d5d[_0x1f33ba(0x37c)])!=null?_0x1aa357:_0x1cac11)!=null?_0x5e250d:yc;}['_getDownloadEndpointURL'](){const _0x5d78de=_0x46f17f;var _0x435b88;const _0x16104f=this[_0x5d78de(0x57c)]['getConfig'](ee);return(_0x435b88=_0x16104f==null?void 0x0:_0x16104f['downloadEndpointUrl'])!=null?_0x435b88:location['origin'];}[_0x46f17f(0x1e0)](_0x5136c8,_0x330f28){const _0x31a4c1=_0x46f17f;return _0x5136c8['replace'](_0x31a4c1(0x43e),_0x330f28);}['_decreaseWaiting'](){const _0x31f3cd=_0x46f17f;this[_0x31f3cd(0x3ff)]-=0x1,this[_0x31f3cd(0x227)][_0x31f3cd(0x4e6)](this[_0x31f3cd(0x3ff)]);}};_s=Cc([Zt(0x0,_0x4e871f(_0x595bc6)),Zt(0x1,_0x175c85),Zt(0x2,_0x4e871f(_0x2d6c6a))],_s);var wc=Object['defineProperty'],Dc=Object[_0x46f17f(0x17b)],Pc=(_0x2e9071,_0x1e7f35,_0xd0b7f4,_0x2b5397)=>{const _0x20a92b=_0x46f17f;for(var _0x30bcc4=_0x2b5397>0x1?void 0x0:_0x2b5397?Dc(_0x1e7f35,_0xd0b7f4):_0x1e7f35,_0x2f6fc1=_0x2e9071[_0x20a92b(0x407)]-0x1,_0xbc3609;_0x2f6fc1>=0x0;_0x2f6fc1--)(_0xbc3609=_0x2e9071[_0x2f6fc1])&&(_0x30bcc4=(_0x2b5397?_0xbc3609(_0x1e7f35,_0xd0b7f4,_0x30bcc4):_0xbc3609(_0x30bcc4))||_0x30bcc4);return _0x2b5397&&_0x30bcc4&&wc(_0x1e7f35,_0xd0b7f4,_0x30bcc4),_0x30bcc4;},hi=(_0x3a7436,_0x4c97eb)=>(_0x510b2d,_0x3dc17d)=>_0x4c97eb(_0x510b2d,_0x3dc17d,_0x3a7436);const Uc=_0x46f17f(0x260);let us=class{constructor(_0x43f966,_0x50d59b){const _0x24a7e3=_0x46f17f;this[_0x24a7e3(0x57c)]=_0x43f966,this['_HTTPService']=_0x50d59b;}[_0x46f17f(0x457)](){const _0x37f69a=_0x46f17f;var _0x9bdd52,_0x246098;const _0x2621d1=this[_0x37f69a(0x57c)]['getConfig'](Ki),_0x2d620d=this[_0x37f69a(0x57c)][_0x37f69a(0x4b3)](ee);return(_0x246098=(_0x9bdd52=_0x2d620d==null?void 0x0:_0x2d620d[_0x37f69a(0x4a1)])!=null?_0x9bdd52:_0x2621d1)!=null?_0x246098:Uc;}async['list'](_0x5d2f78){const _0x3d7e57=_0x46f17f,_0x3b89cc=this['_getAPIPrefixPath']()+_0x3d7e57(0x4a4);return{'list':[{'title':'People','mentions':(await this[_0x3d7e57(0x524)]['get'](_0x3b89cc,{'params':{'objectID':_0x5d2f78[_0x3d7e57(0x318)],'unitID':_0x5d2f78['unitId']}}))['body']['collaborators'][_0x3d7e57(0x265)](_0x516041=>({'objectId':_0x516041['id'],'name':_0x516041[_0x3d7e57(0x257)]['name'],'metadata':{'icon':_0x516041[_0x3d7e57(0x257)][_0x3d7e57(0x4f1)]},'label':_0x516041[_0x3d7e57(0x257)]['name'],'objectType':_0x2bba6c['PERSON']})),'metadata':{},'type':_0x2bba6c[_0x3d7e57(0x210)]}]};}};us=Pc([hi(0x0,_0x4e871f(_0x175c85)),hi(0x1,_0x4e871f(_0x595bc6))],us);var Nc=Object[_0x46f17f(0x3a4)],Ac=Object[_0x46f17f(0x17b)],Mc=(_0x57eec8,_0x2fdef3,_0x30f1e3,_0xd5ac31)=>{const _0x186b2e=_0x46f17f;for(var _0x17c935=_0xd5ac31>0x1?void 0x0:_0xd5ac31?Ac(_0x2fdef3,_0x30f1e3):_0x2fdef3,_0x497fcf=_0x57eec8[_0x186b2e(0x407)]-0x1,_0x55cba1;_0x497fcf>=0x0;_0x497fcf--)(_0x55cba1=_0x57eec8[_0x497fcf])&&(_0x17c935=(_0xd5ac31?_0x55cba1(_0x2fdef3,_0x30f1e3,_0x17c935):_0x55cba1(_0x17c935))||_0x17c935);return _0xd5ac31&&_0x17c935&&Nc(_0x2fdef3,_0x30f1e3,_0x17c935),_0x17c935;},Qe=(_0x2a514b,_0x1c9303)=>(_0x4db5e4,_0x16fa79)=>_0x1c9303(_0x4db5e4,_0x16fa79,_0x2a514b);let Ot=class extends _0x2ddc3d{constructor(_0x3e2958,_0xbc013f,_0x25fdf8,_0x2b2a4a,_0x43284b){const _0x2cafb0=_0x46f17f;super(),this[_0x2cafb0(0x176)]=_0x3e2958,this[_0x2cafb0(0x53d)]=_0xbc013f,this['_permissionService']=_0x25fdf8,this[_0x2cafb0(0x2e3)]=_0x2b2a4a,this[_0x2cafb0(0x469)]=_0x43284b,this[_0x2cafb0(0x2b7)](),this[_0x2cafb0(0x301)]();}[_0x46f17f(0x301)](){const _0x526db0=_0x46f17f,_0x286197=async _0x4dce73=>{const _0x18f6e5=_0x1425;(await this[_0x18f6e5(0x2e3)][_0x18f6e5(0x294)](_0x4dce73))[_0x18f6e5(0x4f2)][_0x18f6e5(0x4e3)](_0x191857(_0x1e945c=>_0x1e945c[_0x18f6e5(0x242)]===_0x40bfa0[_0x18f6e5(0x31e)]),_0x4ff54a(this[_0x18f6e5(0x246)]))[_0x18f6e5(0x346)](_0xa2ab76=>{const _0x3bd069=_0x18f6e5,_0xc742c1=_0xa2ab76,{reason:_0x1c50cf}=_0xc742c1['data'];this['_injector'][_0x3bd069(0x3e1)](_0x30cbad)[_0x3bd069(0x17e)]({'type':_0x4ed4eb[_0x3bd069(0x180)],'content':this[_0x3bd069(0x469)]['t'](_0x3bd069(0x456))+'('+_0x1c50cf+')'}),this['_permissionService'][_0x3bd069(0x396)](new _0x43ee6b(_0x4dce73)['id'],!0x1),this[_0x3bd069(0x2e3)][_0x3bd069(0x497)](_0x4dce73);});};_0x3c9b26(this['_univerInstanceService'][_0x526db0(0x26b)](_0x571c15[_0x526db0(0x226)]),this[_0x526db0(0x53d)][_0x526db0(0x26b)](_0x571c15[_0x526db0(0x15e)]))['pipe'](_0x4f9d2a(_0xe44807=>_0xe44807['getUnitId']()),_0x191857(_0x46b501=>!_0x2085b2(_0x46b501)),_0x4ff54a(this[_0x526db0(0x246)]))[_0x526db0(0x346)](_0x39a8e6=>{_0x286197(_0x39a8e6);});}[_0x46f17f(0x2b7)](){const _0x2eb88f=_0x46f17f,_0x5b775a=async _0x2ff154=>{const _0x3c5b37=_0x1425;(await this[_0x3c5b37(0x2e3)][_0x3c5b37(0x294)](_0x2ff154))[_0x3c5b37(0x4f2)]['pipe'](_0x191857(_0x484bb8=>_0x484bb8[_0x3c5b37(0x242)]===_0x40bfa0[_0x3c5b37(0x464)]),_0x4ff54a(this[_0x3c5b37(0x246)]))[_0x3c5b37(0x346)](_0x1697e6=>{const _0x37a8b6=_0x3c5b37,_0x2ecc9f=_0x1697e6,{objectId:_0x2fe140}=_0x2ecc9f['data'],_0x57b90c=this[_0x37a8b6(0x176)][_0x37a8b6(0x3e1)](_0x22c3b8);_0x2fe140===_0x2ff154?_0x57b90c[_0x37a8b6(0x425)](_0x2ff154):_0x57b90c[_0x37a8b6(0x1c6)](_0x2ff154,_0x2fe140);});};_0x3c9b26(this[_0x2eb88f(0x53d)][_0x2eb88f(0x26b)](_0x571c15['UNIVER_SHEET']),this[_0x2eb88f(0x53d)]['getTypeOfUnitAdded$'](_0x571c15['UNIVER_DOC']))['pipe'](_0x4f9d2a(_0x1da6c9=>_0x1da6c9[_0x2eb88f(0x565)]()),_0x191857(_0x3948ef=>!_0x2085b2(_0x3948ef)),_0x4ff54a(this[_0x2eb88f(0x246)]))[_0x2eb88f(0x346)](_0x13ecb5=>{_0x5b775a(_0x13ecb5);});}};Ot=Mc([Qe(0x0,_0x4e871f(_0x24063a)),Qe(0x1,_0x2d6c6a),Qe(0x2,_0x26d1fe),Qe(0x3,_0x4e871f(xe)),Qe(0x4,_0x4e871f(_0x19d230))],Ot);var xc=Object[_0x46f17f(0x3a4)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x89b45,_0x1f4d93,_0xa05085,_0x415fe9)=>{for(var _0x1434f=_0x415fe9>0x1?void 0x0:_0x415fe9?Lc(_0x1f4d93,_0xa05085):_0x1f4d93,_0x3eb51b=_0x89b45['length']-0x1,_0x14a781;_0x3eb51b>=0x0;_0x3eb51b--)(_0x14a781=_0x89b45[_0x3eb51b])&&(_0x1434f=(_0x415fe9?_0x14a781(_0x1f4d93,_0xa05085,_0x1434f):_0x14a781(_0x1434f))||_0x1434f);return _0x415fe9&&_0x1434f&&xc(_0x1f4d93,_0xa05085,_0x1434f),_0x1434f;},li=(_0x49ef58,_0x56377a)=>(_0x1682b6,_0x70f843)=>_0x56377a(_0x1682b6,_0x70f843,_0x49ef58);let ds=class{constructor(_0x3e5740,_0x4f9e95){const _0x4ffbb2=_0x46f17f;this['_configService']=_0x3e5740,this[_0x4ffbb2(0x32f)]=_0x4f9e95;}async[_0x46f17f(0x4c6)](_0x1ccec4,_0x49de2d){const _0x4ff094=_0x46f17f;var _0x18b3a0;const {unitID:_0x36bf99,type:_0x1347e4,revision:_0x17f1bc=0x0}=_0x49de2d,_0x287c06=this[_0x4ff094(0x165)]()+'/'+_0x1347e4+_0x4ff094(0x37e)+_0x36bf99+_0x4ff094(0x4a9)+_0x17f1bc,_0x3af7ad=(await this[_0x4ff094(0x32f)][_0x4ff094(0x3e1)](_0x287c06))[_0x4ff094(0x358)],_0x7e80b9=(_0x18b3a0=_0x3af7ad['snapshot'])==null?void 0x0:_0x18b3a0[_0x4ff094(0x4a0)];if(_0x7e80b9){const _0x2a8c61=_0x7e80b9==null?void 0x0:_0x7e80b9['originalMeta'],_0x189312=_0x5619fa[_0x4ff094(0x4df)](_0xb6f622(_0x2a8c61));_0x7e80b9[_0x4ff094(0x234)]=_0x189312,Object[_0x4ff094(0x228)](_0x7e80b9['sheets'])[_0x4ff094(0x519)](([,_0xfde918])=>{const _0x3772f8=_0x4ff094,_0x52882c=_0xfde918[_0x3772f8(0x234)],_0x39da03=_0x5619fa[_0x3772f8(0x4df)](_0xb6f622(_0x52882c));_0xfde918[_0x3772f8(0x234)]=_0x39da03;});}return _0x3af7ad;}async[_0x46f17f(0x388)](_0x374c16,_0x32bd96){const _0x26e4fe=_0x46f17f,{unitID:_0x25e09b,type:_0x1fdc40,blockID:_0x451e4a}=_0x32bd96,_0x22b388=this['_getAPIPrefix']()+'/'+_0x1fdc40+'/unit/'+_0x25e09b+_0x26e4fe(0x213)+_0x451e4a;return(await this[_0x26e4fe(0x32f)][_0x26e4fe(0x3e1)](_0x22b388))['body'];}async['getDeserializedSheetBlock'](_0x39f968,_0x3f8cb3){const _0x10437b=_0x46f17f,{unitID:_0x36c8c7,type:_0x17d30f,blockID:_0x1ea68d}=_0x3f8cb3,_0x2160ed=this[_0x10437b(0x48c)]()+_0x10437b(0x213)+_0x17d30f+'/unit/'+_0x36c8c7+_0x10437b(0x213)+_0x1ea68d;return(await this[_0x10437b(0x32f)][_0x10437b(0x3e1)](_0x2160ed))[_0x10437b(0x358)];}async['fetchMissingChangesets'](_0x3e017e,_0x305045){const _0x4987fd=_0x46f17f,{unitID:_0x57c967,type:_0xfec30b,from:_0x15a3c9,to:_0x25c089}=_0x305045,_0x49a0d9=this[_0x4987fd(0x48c)]()+'/'+_0xfec30b+'/unit/'+_0x57c967+_0x4987fd(0x3ea)+_0x15a3c9+_0x4987fd(0x3f4)+_0x25c089;return(await this[_0x4987fd(0x32f)]['get'](_0x49a0d9))['body'];}[_0x46f17f(0x165)](){const _0x3822bc=_0x46f17f;var _0x4e1470;return(_0x4e1470=this['_configService']['getConfig'](gn))!=null?_0x4e1470:this[_0x3822bc(0x48c)]();}[_0x46f17f(0x48c)](){const _0x2c763c=_0x46f17f;var _0x1782c5,_0x57bc3f;const _0x160a46=this[_0x2c763c(0x57c)]['getConfig'](mn),_0x381eb0=this['_configService'][_0x2c763c(0x4b3)](ee);return(_0x57bc3f=(_0x1782c5=_0x381eb0==null?void 0x0:_0x381eb0[_0x2c763c(0x297)])!=null?_0x1782c5:_0x160a46)!=null?_0x57bc3f:pn;}async[_0x46f17f(0x45c)](_0x2eded6,_0x54d020){const _0x10c6a8=_0x46f17f,_0x139ea7=_0x10c6a8(0x4f7)+_0x54d020[_0x10c6a8(0x2a2)]+_0x10c6a8(0x37e)+_0x54d020['unitID']+_0x10c6a8(0x3fb);return(await this[_0x10c6a8(0x32f)][_0x10c6a8(0x3e1)](_0x139ea7,{'params':{'resourceId':JSON[_0x10c6a8(0x353)](_0x54d020['resourceIDs'])}}))[_0x10c6a8(0x358)];}[_0x46f17f(0x18c)](){const _0x5b07a7=_0x46f17f;throw new Error(_0x5b07a7(0x27f));}['saveSheetBlock'](){const _0x3f4f8b=_0x46f17f;throw new Error(_0x3f4f8b(0x27f));}[_0x46f17f(0x1ff)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x46f17f(0x446)](){const _0xf5df44=_0x46f17f;throw new Error(_0xf5df44(0x27f));}[_0x46f17f(0x254)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ds=$c([li(0x0,_0x175c85),li(0x1,_0x4e871f(_0x595bc6))],ds);var Hc=Object[_0x46f17f(0x3a4)],jc=Object[_0x46f17f(0x17b)],Bc=(_0x27f693,_0x41fcba,_0x3b40d1,_0x21ded7)=>{const _0x3fafe1=_0x46f17f;for(var _0x5225cc=_0x21ded7>0x1?void 0x0:_0x21ded7?jc(_0x41fcba,_0x3b40d1):_0x41fcba,_0xcbb38=_0x27f693[_0x3fafe1(0x407)]-0x1,_0x38136e;_0xcbb38>=0x0;_0xcbb38--)(_0x38136e=_0x27f693[_0xcbb38])&&(_0x5225cc=(_0x21ded7?_0x38136e(_0x41fcba,_0x3b40d1,_0x5225cc):_0x38136e(_0x5225cc))||_0x5225cc);return _0x21ded7&&_0x5225cc&&Hc(_0x41fcba,_0x3b40d1,_0x5225cc),_0x5225cc;},et=(_0x7d88c5,_0x3742d4)=>(_0x31de1d,_0x40d2f6)=>_0x3742d4(_0x31de1d,_0x40d2f6,_0x7d88c5);let fs=class extends _0x3693db{constructor(_0x1c9b95,_0x4a13d0,_0xee6955,_0x22ccae,_0x292e82){const _0x191453=_0x46f17f;super(_0x1c9b95,_0x4a13d0,_0xee6955),this[_0x191453(0x53b)]=_0x22ccae,this[_0x191453(0x1a7)]=_0x292e82;}[_0x46f17f(0x472)](_0x4e1762,_0x39277){const _0x42cc80=_0x46f17f,_0xe7711=this[_0x42cc80(0x454)](_0x4e1762);if(_0xe7711)try{const _0x22ac3d=this['_transformStack'](_0xe7711,_0x39277);this[_0x42cc80(0x590)](_0x4e1762,_0x22ac3d);}catch(_0x49e080){this[_0x42cc80(0x1a7)][_0x42cc80(0x27d)](_0x42cc80(0x2a0),_0x49e080),this[_0x42cc80(0x2ba)](_0x4e1762);}const _0x5c48d5=this[_0x42cc80(0x455)](_0x4e1762);if(_0x5c48d5)try{const _0x12de50=this[_0x42cc80(0x348)](_0x5c48d5,_0x39277);this[_0x42cc80(0x261)](_0x4e1762,_0x12de50);}catch(_0x4f8473){this['_logService'][_0x42cc80(0x27d)](_0x4f8473),this[_0x42cc80(0x4bf)](_0x4e1762);}}[_0x46f17f(0x2ba)](_0x4c3510){const _0x5559af=_0x46f17f,_0x411953=this[_0x5559af(0x454)](_0x4c3510);_0x411953&&(_0x411953[_0x5559af(0x407)]=0x0,this[_0x5559af(0x2aa)]());}[_0x46f17f(0x4bf)](_0x3cca34){const _0x3332dc=_0x46f17f,_0x3a925a=this[_0x3332dc(0x455)](_0x3cca34);_0x3a925a&&(_0x3a925a[_0x3332dc(0x407)]=0x0,this[_0x3332dc(0x2aa)]());}['_substituteUndoStack'](_0x4ae937,_0x3dccb1){const _0x536988=_0x46f17f;this['_undoStacks'][_0x536988(0x25b)](_0x4ae937,_0x3dccb1),this['_updateStatus']();}[_0x46f17f(0x261)](_0x3f8350,_0x2b75c2){const _0x53c58c=_0x46f17f;this[_0x53c58c(0x4e7)][_0x53c58c(0x25b)](_0x3f8350,_0x2b75c2),this[_0x53c58c(0x2aa)]();}['_transformStack'](_0x2f4073,_0x477703){const _0x5570d7=_0x46f17f,_0x1687ca=[];let _0x58f678=_0x477703,_0x315c99=_0x477703;for(let _0x361911=_0x2f4073[_0x5570d7(0x407)]-0x1;_0x361911>=0x0;_0x361911--){const {unitID:_0x144b7b,undoMutations:_0x571a38,redoMutations:_0x331084}=_0x2f4073[_0x361911],_0x4f72ad=this[_0x5570d7(0x53b)][_0x5570d7(0x46f)](_0x58f678,_0x571a38),_0x328401=this[_0x5570d7(0x53b)][_0x5570d7(0x46f)](_0x315c99,_0x331084);if(_0x2619e6(_0x4f72ad)||_0x2619e6(_0x328401)){this[_0x5570d7(0x1a7)]['error'](_0x5570d7(0x2a0),_0x5570d7(0x2df),_0x4f72ad,_0x328401);break;}_0x58f678=_0x4f72ad[_0x5570d7(0x3c6)],_0x315c99=_0x328401['c1Prime'],_0x1687ca[_0x5570d7(0x23d)]({'unitID':_0x144b7b,'undoMutations':_0x4f72ad['m2Prime'],'redoMutations':_0x328401['m2Prime']});}return _0x1687ca['reverse']();}};fs=Bc([et(0x0,_0x2d6c6a),et(0x1,_0x15e74e),et(0x2,_0xbdb4f2),et(0x3,_0x1ea1f3),et(0x4,_0x416cf3)],fs);class kc extends _0x2ddc3d{constructor(){const _0x215853=_0x46f17f;super(),g(this,_0x215853(0x431)),this[_0x215853(0x431)]=_0x249771(window,'popstate')['pipe'](_0x2b97ad(this['dispose$']),_0xbfa8cd(0x1),_0x561896(void 0x0));}[_0x46f17f(0x4d8)](_0xd8881e,_0x96657e,_0x13124e=!0x1){const _0x5d27ae=_0x46f17f,_0x10ca76=new URL(window[_0x5d27ae(0x4c7)][_0x5d27ae(0x46d)]);_0x10ca76[_0x5d27ae(0x3e4)]['set'](_0xd8881e,_0x96657e),_0x13124e?window[_0x5d27ae(0x1d2)][_0x5d27ae(0x367)]('','',_0x10ca76[_0x5d27ae(0x4b7)]()):window['history'][_0x5d27ae(0x1ac)]('','',_0x10ca76[_0x5d27ae(0x4b7)]());}['removeParam'](_0x3c9de4,_0x42c635=!0x1){const _0x24ecff=_0x46f17f,_0x332674=new URL(window[_0x24ecff(0x4c7)][_0x24ecff(0x46d)]);_0x332674[_0x24ecff(0x3e4)][_0x24ecff(0x2cd)](_0x3c9de4),_0x42c635?window[_0x24ecff(0x1d2)]['replaceState']('','',_0x332674['toString']()):window[_0x24ecff(0x1d2)]['pushState']('','',_0x332674[_0x24ecff(0x4b7)]());}[_0x46f17f(0x502)](_0x51ebaa){const _0x201642=_0x46f17f;var _0x2ad902;return(_0x2ad902=new URL(window[_0x201642(0x4c7)][_0x201642(0x46d)])[_0x201642(0x3e4)][_0x201642(0x3e1)](_0x51ebaa))!=null?_0x2ad902:void 0x0;}}var tr=Object[_0x46f17f(0x3a4)],Wc=Object[_0x46f17f(0x17b)],Fc=(_0x252124,_0x341700,_0x4d7d90)=>_0x341700 in _0x252124?tr(_0x252124,_0x341700,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7d90}):_0x252124[_0x341700]=_0x4d7d90,Vc=(_0x2b88d4,_0xca4c36,_0x180e89,_0x5ccd22)=>{const _0x5312c2=_0x46f17f;for(var _0x2caa5f=_0x5ccd22>0x1?void 0x0:_0x5ccd22?Wc(_0xca4c36,_0x180e89):_0xca4c36,_0x3563c9=_0x2b88d4[_0x5312c2(0x407)]-0x1,_0x414b8b;_0x3563c9>=0x0;_0x3563c9--)(_0x414b8b=_0x2b88d4[_0x3563c9])&&(_0x2caa5f=(_0x5ccd22?_0x414b8b(_0xca4c36,_0x180e89,_0x2caa5f):_0x414b8b(_0x2caa5f))||_0x2caa5f);return _0x5ccd22&&_0x2caa5f&&tr(_0xca4c36,_0x180e89,_0x2caa5f),_0x2caa5f;},lt=(_0x53496e,_0x348be6)=>(_0x40b2e9,_0x2c2a17)=>_0x348be6(_0x40b2e9,_0x2c2a17,_0x53496e),Gc=(_0x359767,_0x4dc685,_0x1e1521)=>Fc(_0x359767,_0x4dc685+'',_0x1e1521);const Yc=_0x46f17f(0x538);let vs=class extends _0x252f7f{constructor(_0x585413=Mn,_0x4d1b2d,_0x7ba1d0,_0x1348de,_0x53cef9){const _0x1bc33f=_0x46f17f;super(),this[_0x1bc33f(0x45d)]=_0x585413,this['_logService']=_0x4d1b2d,this[_0x1bc33f(0x25d)]=_0x7ba1d0,this[_0x1bc33f(0x176)]=_0x1348de,this[_0x1bc33f(0x57c)]=_0x53cef9;const {..._0x3eb203}=this[_0x1bc33f(0x45d)];this[_0x1bc33f(0x57c)][_0x1bc33f(0x3c4)](ee,_0x3eb203);}[_0x46f17f(0x451)](){const _0x25beef=_0x46f17f;this[_0x25beef(0x247)](),this[_0x25beef(0x4e9)]();}[_0x46f17f(0x1fe)](){const _0xc060a0=_0x46f17f;_0x5991ac(this[_0xc060a0(0x176)],[[bt],[It]]);}[_0x46f17f(0x364)](){const _0x51a6d6=_0x46f17f;this[_0x51a6d6(0x330)]();}[_0x46f17f(0x247)](){const _0x3a324c=_0x46f17f;var _0x5d8a4a,_0x4d997a,_0x373bd7,_0x1223a9;this[_0x3a324c(0x176)]['has'](_0x166e89)&&this[_0x3a324c(0x1a7)]['error'](_0x3a324c(0x37f),_0x3a324c(0x18a));const _0x30f825=[[_0x166e89,{'useClass':fs}],[xe],[Os],[Yi,{'useClass':kc}],[Me],[q],[_0x2ac4d0],[mt],[gt],[vt],[pt],[Ts],[Tt],[Rt],[Mi],[Ot],[Ai,{'useClass':(_0x4d997a=(_0x5d8a4a=this[_0x3a324c(0x45d)])==null?void 0x0:_0x5d8a4a['socketService'])!=null?_0x4d997a:ss}],[_0x24c16b,{'useClass':ds}],[_0x3a2cdd,{'useClass':ls}],[_0x30c4e5,{'useClass':_s}],[_0x4be088,{'useClass':us}],[it],[Et],[Ct],[bt],[Ve],[It]];(_0x373bd7=this['_config'])!=null&&_0x373bd7[_0x3a324c(0x54e)]&&_0x30f825[_0x3a324c(0x23d)]([yt,{'useClass':vo}]),_0x45de4c(this['_injector'],_0x440f6e(_0x30f825,(_0x1223a9=this['_config'])==null?void 0x0:_0x1223a9[_0x3a324c(0x349)]));}[_0x46f17f(0x330)](){const _0x3a5930=_0x46f17f;this[_0x3a5930(0x45a)](this[_0x3a5930(0x25d)][_0x3a5930(0x3b7)](_0x571c15[_0x3a5930(0x15e)],[cs])),this[_0x3a5930(0x45a)](this[_0x3a5930(0x25d)][_0x3a5930(0x3b7)](_0x571c15['UNIVER_SHEET'],[hs]));}[_0x46f17f(0x4e9)](){const _0x39481b=_0x46f17f;var _0x3ad738,_0x34c812;this[_0x39481b(0x176)][_0x39481b(0x3e1)](_0x595bc6)[_0x39481b(0x317)]({'priority':0x14,'interceptor':_0x2f5156({'maxParallel':0x6})}),(_0x3ad738=this[_0x39481b(0x45d)])!=null&&_0x3ad738['enableOfflineEditing']||this[_0x39481b(0x176)][_0x39481b(0x3e1)](q)['disableLocalCache'](),(_0x34c812=this[_0x39481b(0x45d)])!=null&&_0x34c812[_0x39481b(0x1b1)]&&_0x5991ac(this[_0x39481b(0x176)],[[Tt]]),_0x5991ac(this[_0x39481b(0x176)],[[Rt],[Ve],[Et],[it],[Ct],[Ot]]);}};Gc(vs,_0x46f17f(0x43f),Yc),vs=Vc([_0x41ce9f(_0x1c17f9,_0x691783),lt(0x1,_0x416cf3),lt(0x2,_0x51f1aa),lt(0x3,_0x4e871f(_0x24063a)),lt(0x4,_0x175c85)],vs);export{Ki as AUTHZ_URL_KEY,ls as AuthzIoHttpService,ee as COLLAB_CLIENT_CONFIG_KEY,Pn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,is as CollaborationSession,xe as CollaborationSessionService,ss as CollaborationSocketService,J as CollaborationStatus,Aa as CollaborationStatusDisplay,Mi as CommentService,Et as DataLoaderController,Ct as DesktopCollaborationStatusDisplayController,rs as DocCollaborationEntity,bn as HEARTBEAT_INTERVAL_KEY,Di as HEARTBEAT_TIMEOUT_KEY,Ai as ICollaborationSocketService,Yi as IURLService,_s as ImageIoService,wn as LOCAL_CACHE_INTERVAL_KEY,Nn as LOGIN_URL_KEY,q as LocalCacheService,Me as MemberService,us as MentionIoHttpService,On as RETRY_CONNECTING_MAX_COUNT_KEY,_h as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,gn as SNAPSHOT_URL_KEY,ve as SessionStatus,ca as SheetCollabCursorShape,ns as SheetCollaborationEntity,ds as SnapshotServerOverHTTPService,vs as UniverCollaborationClientPlugin,kc as WebURLService,xn as deserializeToCombResponse,Ln as serializeCombRequest};
|