@univerjs-pro/collaboration-client 0.5.0-nightly.202411261607 → 0.5.0-nightly.202411281606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/locale/fr-FR.d.ts +3 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x38775b=_0x8857;(function(_0x3e9856,_0x46a210){const _0x3ca72f=_0x8857,_0x3d4ff1=_0x3e9856();while(!![]){try{const _0x1bc77e=-parseInt(_0x3ca72f(0x354))/0x1+-parseInt(_0x3ca72f(0x525))/0x2*(-parseInt(_0x3ca72f(0x270))/0x3)+-parseInt(_0x3ca72f(0x4ad))/0x4*(parseInt(_0x3ca72f(0x1fd))/0x5)+parseInt(_0x3ca72f(0x3d7))/0x6*(parseInt(_0x3ca72f(0x441))/0x7)+-parseInt(_0x3ca72f(0x4f2))/0x8*(parseInt(_0x3ca72f(0x230))/0x9)+parseInt(_0x3ca72f(0x2e7))/0xa+-parseInt(_0x3ca72f(0x183))/0xb*(-parseInt(_0x3ca72f(0x291))/0xc);if(_0x1bc77e===_0x46a210)break;else _0x3d4ff1['push'](_0x3d4ff1['shift']());}catch(_0x50e059){_0x3d4ff1['push'](_0x3d4ff1['shift']());}}}(_0x5ebb,0x7bc5d));var sr=Object['defineProperty'],ir=(_0x2f3b7f,_0x448db9,_0x53cbea)=>_0x448db9 in _0x2f3b7f?sr(_0x2f3b7f,_0x448db9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53cbea}):_0x2f3b7f[_0x448db9]=_0x53cbea,g=(_0x1e4ce0,_0x299c42,_0x432d1b)=>ir(_0x1e4ce0,typeof _0x299c42!=_0x38775b(0x1e7)?_0x299c42+'':_0x299c42,_0x432d1b);import{createIdentifier as _0x56892b,Inject as _0x1f52e5,Disposable as _0x50a3c2,DisposableCollection as _0x3f4d11,toDisposable as _0x55f741,IConfigService as _0x4025c4,ILogService as _0x1fda4b,UserManagerService as _0x4b227b,UniverInstanceType as _0x245a17,IUniverInstanceService as _0x46df2f,LocaleService as _0x1d70b7,Optional as _0x3700fe,RxDisposable as _0xeab596,Injector as _0x72efa4,Tools as _0x51c383,ILocalStorageService as _0x10c841,Rectangle as _0x1196c3,ICommandService as _0x1b7cfe,DOC_RANGE_TYPE as _0x3fab39,JSONX as _0x1b868d,CommandType as _0x1331d3,IPermissionService as _0x36face,IUndoRedoService as _0x809157,sequenceExecute as _0x175e7c,debounce as _0xbf48cb,COLORS as _0x3485cd,ColorKit as _0x111403,ThemeService as _0x102000,fromEventSubject as _0x4070d7,useDependency as _0x164861,connectInjector as _0x3b3288,Workbook as _0x315f29,MentionType as _0x3dcc31,isInternalEditorID as _0x13db05,LocalUndoRedoService as _0x4cad59,IContextService as _0x23ebff,DependentOn as _0x49262b,Plugin as _0x38f692,touchDependencies as _0x475894,IAuthzIoService as _0x215fdb,IMentionIOService as _0x127399,registerDependencies as _0x1994c4,mergeOverrideWithDependencies as _0x582d19}from'@univerjs/core';import{Subject as _0x1d41c9,merge as _0x3804fb,takeUntil as _0x5a840b,BehaviorSubject as _0x5ec0c5,distinctUntilChanged as _0x2f457a,fromEvent as _0x5afba1,ReplaySubject as _0x1dd5df,take as _0x51e7ad,map as _0x23cb41,shareReplay as _0x237083,of as _0x543dd1,debounceTime as _0x50395b,filter as _0xe11a46,switchMap as _0x349f17,combineLatest as _0x59105b,concatMap as _0x4dd7d1,mapTo as _0x14b1f7}from'rxjs';import{map as _0x3e374a,take as _0x4c705e,filter as _0x25f474,delay as _0x26e1a6,throttleTime as _0x1a9a6c,takeUntil as _0x24933f,switchMap as _0x51bb8a}from'rxjs/operators';import{MessageType as _0x2b337e,Tooltip as _0x14b1be}from'@univerjs/design';import{HTTPService as _0x48ddd7,WebSocketService as _0x5b980f,MergeInterceptorFactory as _0x4f877d,HTTPRequest as _0x37906d,UniverNetworkPlugin as _0x4ef6b3,ThresholdInterceptorFactory as _0x382517}from'@univerjs/network';import{IBeforeCloseService as _0x5bd042,IMessageService as _0x4db578,INotificationService as _0x322b4a,useObservable as _0x4e6dea,BuiltInUIPart as _0x1c35d7,IUIPartsService as _0x148313}from'@univerjs/ui';import{CollaborationEvent as _0x4e17b,parseChangesetToProtocol as _0x31dcfb,ISnapshotServerService as _0x37c703,isTransformMutationFailure as _0x147cf3,isTransformMutationsWithChangesetSuccess as _0x4658cc,ITransformService as _0x529376,RevisionService as _0x19a47e,mapDocumentTypeToUniverType as _0x429860,isTransformChangesetsSuccess as _0x40aeb8,CompressMutationService as _0xd4d0ac,parseProtocolChangeset as _0x2ddca1,SnapshotService as _0x11ab06,textEncoder as _0x38ce0a,b64DecodeUnicode as _0x5863b4,isTransformMutationsWithChangesetFailure as _0x8e9f5c,UniverCollaborationPlugin as _0x1fad83}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x32da0f}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x286cc5,RichTextEditingMutation as _0x538ca6,SetTextSelectionsOperation as _0x1bb7fd,DocSkeletonManagerService as _0x53056e}from'@univerjs/docs';import{DocIMEInputManagerService as _0x599dd2,DocStateChangeManagerService as _0x17bfdd,IDocClipboardService as _0x4d7543,NodePositionConvertToCursor as _0x2d0d3c,NodePositionConvertToRectRange as _0x3d446d,TEXT_RANGE_LAYER_INDEX as _0xda4206,SetDocZoomRatioOperation as _0x5a5ead}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3650d1,SetSelectionsOperation as _0x3b5632,InsertSheetMutation as _0x2ced41,EmptyMutation as _0x222c6d,WorkbookEditablePermission as _0x43927b,RefRangeService as _0x4730c9,EffectRefRangId as _0x1c949a,handleIRemoveRow as _0x23d11f,handleIRemoveCol as _0x379d1a,handleMoveRange as _0x107c87,handleInsertRow as _0x315c4a,handleInsertRangeMoveRight as _0x2eb8e3,handleInsertRangeMoveDown as _0x36b0b9,handleInsertCol as _0x3f85e1,handleDeleteRangeMoveUp as _0x56291b,handleDeleteRangeMoveLeft as _0x46bdae,runRefRangeMutations as _0x5be1ef,SetWorksheetActivateCommand as _0x409ae6}from'@univerjs/sheets';import{IRenderManagerService as _0x439c07,Shape as _0x22e6fe,Rect as _0x25eca0,getColor as _0x4872fa,RegularPolygon as _0x20132d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5b3346,Vector2 as _0x15c2f1}from'@univerjs/engine-render';import{IImageIoService as _0x5c23c4,ImageSourceType as _0x24914c,ImageUploadStatusType as _0x4f5e11}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x366003,serializeRangeWithSheet as _0x3e880b}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x1b8e20,VIEWPORT_KEY as _0x471e35,getCoordByCell as _0xf3cf10,getSheetObject as _0x366ca1,SheetPermissionInitController as _0x9ee423}from'@univerjs/sheets-ui';import _0x40cc97,{forwardRef as _0x193f76,useRef as _0x5c8d40,createElement as _0x18940e,useCallback as _0x2594ab}from'react';import{IRemoteInstanceService as _0x54f9b0}from'@univerjs/rpc';const mn=_0x38775b(0x2e8),pn=_0x38775b(0x263),gn=_0x38775b(0x3e2),_h=_0x38775b(0x3eb),Sn=0x7d0,In=_0x38775b(0x2b4),Cn=_0x38775b(0x3ce),En=_0x38775b(0x410),bn='HEARTBEAT_INTERVAL',Tn=0x7530,Di='HEARTBEAT_TIMEOUT',Pi=0x4e20,Rn=0x4e20,On=_0x38775b(0x137),yn=0x3,wn=_0x38775b(0x2d6),Dn=0x3e8,Pn=_0x38775b(0x1ac),Un='/universer-api/comb',Nn=_0x38775b(0x18b),An=_0x38775b(0x315);function _0x8857(_0x50aacd,_0x45bfd4){const _0x5ebbf1=_0x5ebb();return _0x8857=function(_0x88577,_0x251076){_0x88577=_0x88577-0x127;let _0x463f77=_0x5ebbf1[_0x88577];return _0x463f77;},_0x8857(_0x50aacd,_0x45bfd4);}var Ui=(_0x276dd0=>(_0x276dd0[_0x276dd0[_0x38775b(0x433)]=0x0]='UNDEFINED',_0x276dd0[_0x276dd0['OK']=0x1]='OK',_0x276dd0[_0x276dd0['INTERNAL_ERROR']=0x2]=_0x38775b(0x3df),_0x276dd0[_0x276dd0[_0x38775b(0x374)]=0x3]=_0x38775b(0x374),_0x276dd0[_0x276dd0[_0x38775b(0x502)]=0x4]=_0x38775b(0x502),_0x276dd0[_0x276dd0[_0x38775b(0x1b5)]=0x5]='UNAUTHENTICATED',_0x276dd0[_0x276dd0[_0x38775b(0x210)]=0x6]=_0x38775b(0x210),_0x276dd0[_0x276dd0['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x276dd0[_0x276dd0['TOO_MANY_REQUESTS']=0x8]=_0x38775b(0x445),_0x276dd0[_0x276dd0[_0x38775b(0x2fc)]=0x9]=_0x38775b(0x2fc),_0x276dd0[_0x276dd0[_0x38775b(0x2de)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x276dd0[_0x276dd0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x38775b(0x278),_0x276dd0[_0x276dd0[_0x38775b(0x1f0)]=0x1772]=_0x38775b(0x1f0),_0x276dd0[_0x276dd0[_0x38775b(0x21c)]=0x1773]=_0x38775b(0x21c),_0x276dd0[_0x276dd0[_0x38775b(0x500)]=0x1b59]=_0x38775b(0x500),_0x276dd0[_0x276dd0[_0x38775b(0x22f)]=0x1b5a]=_0x38775b(0x22f),_0x276dd0[_0x276dd0[_0x38775b(0x294)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x276dd0[_0x276dd0[_0x38775b(0x21d)]=0x1b5c]=_0x38775b(0x21d),_0x276dd0[_0x276dd0[_0x38775b(0x2c2)]=0x1b5d]=_0x38775b(0x2c2),_0x276dd0[_0x276dd0[_0x38775b(0x2a2)]=0x1f41]=_0x38775b(0x2a2),_0x276dd0[_0x276dd0[_0x38775b(0x317)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x276dd0[_0x276dd0[_0x38775b(0x412)]=0x232a]=_0x38775b(0x412),_0x276dd0[_0x276dd0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x276dd0[_0x276dd0[_0x38775b(0x3c5)]=0x232c]=_0x38775b(0x3c5),_0x276dd0[_0x276dd0['LICENSE_DISTRO_REJECTED']=0x232d]=_0x38775b(0x538),_0x276dd0[_0x276dd0[_0x38775b(0x2bd)]=0x2711]=_0x38775b(0x2bd),_0x276dd0[_0x276dd0[_0x38775b(0x462)]=0x2712]=_0x38775b(0x462),_0x276dd0[_0x276dd0[_0x38775b(0x27a)]=0x2713]=_0x38775b(0x27a),_0x276dd0[_0x276dd0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x38775b(0x245),_0x276dd0[_0x276dd0[_0x38775b(0x476)]=-0x1]=_0x38775b(0x476),_0x276dd0))(Ui||{}),ce=(_0x22b524=>(_0x22b524[_0x22b524[_0x38775b(0x489)]=0x0]=_0x38775b(0x489),_0x22b524[_0x22b524['UNIVER_DOC']=0x1]=_0x38775b(0x393),_0x22b524[_0x22b524[_0x38775b(0x372)]=0x2]='UNIVER_SHEET',_0x22b524[_0x22b524[_0x38775b(0x367)]=0x3]='UNIVER_SLIDE',_0x22b524[_0x22b524['UNIVER_PROJECT']=0x4]=_0x38775b(0x4d9),_0x22b524[_0x22b524[_0x38775b(0x476)]=-0x1]=_0x38775b(0x476),_0x22b524))(ce||{}),W=(_0x2c20a4=>(_0x2c20a4[_0x2c20a4['UNKNOWN_CMD']=0x0]=_0x38775b(0x41a),_0x2c20a4[_0x2c20a4[_0x38775b(0x541)]=0x1]=_0x38775b(0x541),_0x2c20a4[_0x2c20a4['JOIN']=0x2]='JOIN',_0x2c20a4[_0x2c20a4[_0x38775b(0x353)]=0x3]='LEAVE',_0x2c20a4[_0x2c20a4['INGEST']=0x4]=_0x38775b(0x49b),_0x2c20a4[_0x2c20a4[_0x38775b(0x313)]=0x5]=_0x38775b(0x313),_0x2c20a4[_0x2c20a4['RECV']=0x6]=_0x38775b(0x298),_0x2c20a4[_0x2c20a4[_0x38775b(0x476)]=-0x1]=_0x38775b(0x476),_0x2c20a4))(W||{}),bs=(_0x462951=>(_0x462951[_0x462951[_0x38775b(0x1a7)]=0x0]=_0x38775b(0x1a7),_0x462951[_0x462951['OK']=0x1]='OK',_0x462951[_0x462951[_0x38775b(0x4c2)]=0x2]=_0x38775b(0x4c2),_0x462951[_0x462951[_0x38775b(0x39b)]=0x3e9]=_0x38775b(0x39b),_0x462951[_0x462951['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x38775b(0x381),_0x462951[_0x462951[_0x38775b(0x476)]=-0x1]=_0x38775b(0x476),_0x462951))(bs||{}),Ni=(_0x136e98=>(_0x136e98[_0x136e98['Undefined']=0x0]='Undefined',_0x136e98[_0x136e98[_0x38775b(0x40c)]=0x1]=_0x38775b(0x40c),_0x136e98[_0x136e98[_0x38775b(0x2a1)]=0x2]=_0x38775b(0x2a1),_0x136e98[_0x136e98[_0x38775b(0x324)]=0x3]=_0x38775b(0x324),_0x136e98[_0x136e98[_0x38775b(0x341)]=0x4]='UnitSnapshot',_0x136e98[_0x136e98[_0x38775b(0x476)]=-0x1]=_0x38775b(0x476),_0x136e98))(Ni||{});const ee='collaboration-client.config',Mn={};function xn(_0x28e54b){const _0x28599a=_0x38775b;var _0x56555f,_0x596bcd,_0x20c256,_0x1932aa,_0x2f18ef;const _0x482d88=_0x28e54b[_0x28599a(0x390)],_0x63185=JSON[_0x28599a(0x158)](_0x482d88);switch(_0x63185[_0x28599a(0x1de)]){case W[_0x28599a(0x313)]:case W[_0x28599a(0x541)]:{const _0x1c78d8=_0x63185['infoRsp'];return{..._0x63185,'data':_0x1c78d8,'cmd':_0x63185['cmd']};}case W[_0x28599a(0x4e3)]:{const _0x25a935=_0x63185['joinRsp'];return{..._0x63185,'data':_0x25a935,'cmd':_0x63185[_0x28599a(0x1de)]};}case W['RECV']:{const _0x46f399=_0x63185['collaMsg'];switch(_0x46f399[_0x28599a(0x3c3)]){case _0x4e17b[_0x28599a(0x145)]:return{..._0x63185,'data':{..._0x46f399,'data':(_0x56555f=_0x46f399[_0x28599a(0x1c9)])==null?void 0x0:_0x56555f['cs']},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b[_0x28599a(0x509)]:return{..._0x63185,'data':{..._0x46f399,'data':(_0x596bcd=_0x46f399['csAckEvent'])==null?void 0x0:_0x596bcd['cs']},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b[_0x28599a(0x43c)]:return{..._0x63185,'data':{..._0x46f399,'data':(_0x20c256=_0x46f399[_0x28599a(0x542)])==null?void 0x0:_0x20c256['cs']},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b[_0x28599a(0x1e0)]:return{..._0x63185,'data':{..._0x46f399,'data':(_0x1932aa=_0x46f399[_0x28599a(0x405)])==null?void 0x0:_0x1932aa['cs']},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b[_0x28599a(0x1f5)]:return{..._0x63185,'data':{..._0x46f399,'data':(_0x2f18ef=_0x46f399[_0x28599a(0x439)])==null?void 0x0:_0x2f18ef['cs']},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b['UPDATE_CURSOR']:return{..._0x63185,'data':{..._0x46f399,'data':_0x46f399[_0x28599a(0x20b)]},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b[_0x28599a(0x4e0)]:return{..._0x63185,'data':{..._0x46f399,'data':_0x46f399['joinEvent']},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b['USERS_LEAVE']:return{..._0x63185,'data':{..._0x46f399,'data':_0x46f399[_0x28599a(0x400)]},'cmd':_0x63185['cmd']};case _0x4e17b['LIVESHARE_NEW_HOST']:return{..._0x63185,'data':{..._0x46f399,'data':_0x46f399[_0x28599a(0x2e6)]},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b[_0x28599a(0x45f)]:case _0x4e17b['LIVESHARE_OPERATION']:return{..._0x63185,'data':{..._0x46f399,'data':_0x46f399[_0x28599a(0x352)]},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b[_0x28599a(0x2af)]:return{..._0x63185,'data':{..._0x46f399,'data':_0x46f399[_0x28599a(0x2e6)]},'cmd':_0x63185['cmd']};case _0x4e17b[_0x28599a(0x397)]:return{..._0x63185,'data':_0x46f399,'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b[_0x28599a(0x2c0)]:return{..._0x63185,'data':{..._0x46f399,'data':_0x46f399[_0x28599a(0x28a)]},'cmd':_0x63185['cmd']};case _0x4e17b['UPDATE_PERMISSION_OBJ']:return{..._0x63185,'data':{..._0x46f399,'data':_0x46f399['updatePermissionObjEvent']},'cmd':_0x63185[_0x28599a(0x1de)]};case _0x4e17b[_0x28599a(0x515)]:return{..._0x63185,'data':{..._0x46f399,'data':_0x46f399['shouldCloseConn']},'cmd':_0x63185['cmd']};default:return _0x63185;}}default:return _0x63185;}}function Ln(_0x20757f){const _0x2eea1a=_0x38775b;switch(_0x20757f[_0x2eea1a(0x1de)]){case W[_0x2eea1a(0x313)]:case W[_0x2eea1a(0x541)]:return JSON[_0x2eea1a(0x20d)]({'cmd':_0x20757f[_0x2eea1a(0x1de)],'routeKey':_0x20757f[_0x2eea1a(0x52b)]});case W[_0x2eea1a(0x49b)]:{let _0x34e27f;switch(_0x20757f['data'][_0x2eea1a(0x3c3)]){case _0x4e17b[_0x2eea1a(0x4c9)]:{_0x34e27f={'eventID':_0x4e17b[_0x2eea1a(0x4c9)],'updateCursorEvent':_0x20757f['data'][_0x2eea1a(0x390)]};break;}case _0x4e17b[_0x2eea1a(0x3fd)]:{_0x34e27f={'eventID':_0x4e17b[_0x2eea1a(0x3fd)],'leaveEvent':_0x20757f[_0x2eea1a(0x390)][_0x2eea1a(0x390)]};break;}case _0x4e17b[_0x2eea1a(0x4e0)]:{_0x34e27f={'eventID':_0x4e17b[_0x2eea1a(0x4e0)],'joinEvent':_0x20757f[_0x2eea1a(0x390)][_0x2eea1a(0x390)]};break;}case _0x4e17b[_0x2eea1a(0x3aa)]:{_0x34e27f={'eventID':_0x4e17b[_0x2eea1a(0x3aa)],'liveShareNewHost':_0x20757f[_0x2eea1a(0x390)][_0x2eea1a(0x390)]};break;}case _0x4e17b[_0x2eea1a(0x2d9)]:{_0x34e27f={'eventID':_0x4e17b[_0x2eea1a(0x2d9)],'liveShareOperation':_0x20757f[_0x2eea1a(0x390)][_0x2eea1a(0x390)]};break;}case _0x4e17b['LIVESHARE_TERMINATE']:{_0x34e27f={'eventID':_0x4e17b['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x20757f[_0x2eea1a(0x390)][_0x2eea1a(0x390)]};break;}case _0x4e17b[_0x2eea1a(0x46b)]:{_0x34e27f={'eventID':_0x4e17b[_0x2eea1a(0x46b)],'liveShareRequestHost':_0x20757f['data']['data']};break;}case _0x4e17b[_0x2eea1a(0x45f)]:{_0x34e27f={'eventID':_0x4e17b[_0x2eea1a(0x45f)]};break;}default:_0x34e27f={'eventID':_0x20757f[_0x2eea1a(0x390)]['eventID']};}return JSON[_0x2eea1a(0x20d)]({'cmd':_0x20757f['cmd'],'routeKey':_0x20757f['routeKey'],'collaMsg':_0x34e27f});}case W[_0x2eea1a(0x4e3)]:return JSON['stringify']({'cmd':_0x20757f[_0x2eea1a(0x1de)],'routeKey':_0x20757f[_0x2eea1a(0x52b)],'joinReq':_0x20757f['data']});case W[_0x2eea1a(0x353)]:return JSON['stringify']({'cmd':_0x20757f[_0x2eea1a(0x1de)],'routeKey':_0x20757f['routeKey'],'leaveReq':_0x20757f[_0x2eea1a(0x390)]});default:throw new Error(_0x2eea1a(0x40d));}}var $n=Object[_0x38775b(0x4da)],Hn=Object[_0x38775b(0x1ed)],jn=(_0x2e454f,_0x368998,_0x3585d5,_0x9a0cfd)=>{const _0x8b2eeb=_0x38775b;for(var _0x160c09=_0x9a0cfd>0x1?void 0x0:_0x9a0cfd?Hn(_0x368998,_0x3585d5):_0x368998,_0x3b7e5c=_0x2e454f[_0x8b2eeb(0x3be)]-0x1,_0x26b1c2;_0x3b7e5c>=0x0;_0x3b7e5c--)(_0x26b1c2=_0x2e454f[_0x3b7e5c])&&(_0x160c09=(_0x9a0cfd?_0x26b1c2(_0x368998,_0x3585d5,_0x160c09):_0x26b1c2(_0x160c09))||_0x160c09);return _0x9a0cfd&&_0x160c09&&$n(_0x368998,_0x3585d5,_0x160c09),_0x160c09;},qe=(_0x29edab,_0x17d3ca)=>(_0x11dc62,_0x5c533e)=>_0x17d3ca(_0x11dc62,_0x5c533e,_0x29edab);const Ai=_0x56892b(_0x38775b(0x196));function Bn(_0x22d878,_0x5af46f,_0x4fb941){const _0x200bb0=_0x38775b;return _0x22d878+'/'+_0x5af46f+_0x200bb0(0x540)+_0x4fb941+_0x200bb0(0x161);}let ss=class extends _0x50a3c2{constructor(_0x1f40da,_0x4f307b,_0x359a84,_0x49fa69,_0x4c4159){const _0x4db8bd=_0x38775b;super(),this['_http']=_0x1f40da,this['_ws']=_0x4f307b,this[_0x4db8bd(0x2fe)]=_0x359a84,this[_0x4db8bd(0x42a)]=_0x49fa69,this[_0x4db8bd(0x33f)]=_0x4c4159;}['createSocket'](_0x3fb59a){const _0x4fe681=_0x38775b,_0x5828cd=this[_0x4fe681(0x193)][_0x4fe681(0x276)](_0x3fb59a);if(!_0x5828cd)throw new Error(_0x4fe681(0x42c));const _0x19f362=new _0x3f4d11(),_0x5a1776=new _0x1d41c9();_0x19f362[_0x4fe681(0x431)](_0x5828cd[_0x4fe681(0x198)][_0x4fe681(0x39f)](_0x197a34=>_0x5a1776[_0x4fe681(0x1e8)](_0x197a34))),_0x19f362[_0x4fe681(0x431)](_0x55f741(()=>_0x5a1776[_0x4fe681(0x2d5)]()));const _0xf7b398=new _0x1d41c9();_0x19f362[_0x4fe681(0x431)](_0x5828cd['error$']['subscribe'](_0x12d705=>_0xf7b398[_0x4fe681(0x1e8)](_0x12d705))),_0x19f362[_0x4fe681(0x431)](_0x55f741(()=>_0xf7b398[_0x4fe681(0x2d5)]()));const _0x1e1996=new _0x1d41c9();_0x19f362[_0x4fe681(0x431)](_0x5828cd[_0x4fe681(0x3ae)][_0x4fe681(0x39f)](_0xf7bff2=>{const _0x739c1e=xn(_0xf7bff2);_0x1e1996['next'](_0x739c1e);})),_0x19f362[_0x4fe681(0x431)](_0x55f741(()=>_0x1e1996['complete']()));let _0x5a6369;const _0x329e0b=()=>{const _0x38f06f=_0x4fe681;_0xf7b398[_0x38f06f(0x1e8)](new Event(_0x38f06f(0x4d8))),_0x5a1776[_0x38f06f(0x1e8)](new CloseEvent(_0x38f06f(0x4d8))),_0x5a6369[_0x38f06f(0x1c8)]();};return _0x5a6369={'memberID':'','close$':_0x5a1776[_0x4fe681(0x44a)](),'error$':_0xf7b398[_0x4fe681(0x44a)](),'open$':_0x5828cd[_0x4fe681(0x28c)],'message$':_0x1e1996[_0x4fe681(0x44a)](),'send':_0xdb9f66=>{const _0xe5c2b0=_0x4fe681;if(_0xdb9f66[_0xe5c2b0(0x1de)]===W[_0xe5c2b0(0x49b)]){if(_0xdb9f66[_0xe5c2b0(0x390)][_0xe5c2b0(0x3c3)]===_0x4e17b[_0xe5c2b0(0x31b)]){this['_submitChangeset'](_0x5a6369,_0xdb9f66[_0xe5c2b0(0x390)])[_0xe5c2b0(0x43a)](_0x3d30f8=>{const _0x47b1d0=_0xe5c2b0;this[_0x47b1d0(0x42a)][_0x47b1d0(0x41e)](_0x3d30f8),_0x329e0b();});return;}if(_0xdb9f66[_0xe5c2b0(0x390)][_0xe5c2b0(0x3c3)]===_0x4e17b[_0xe5c2b0(0x3cb)]){const _0x586d8d=_0xdb9f66['data'];this[_0xe5c2b0(0x508)](_0x586d8d)[_0xe5c2b0(0x4fa)](_0x2de190=>{const _0x5d0407=_0xe5c2b0;_0x1e1996[_0x5d0407(0x1e8)]({'cmd':W[_0x5d0407(0x298)],'code':bs['OK'],'routeKey':_0x586d8d[_0x5d0407(0x390)][_0x5d0407(0x52a)],'routeType':'','data':{'eventID':_0x4e17b[_0x5d0407(0x300)],'data':{'changesets':_0x2de190}}});})[_0xe5c2b0(0x43a)](_0x298219=>{const _0x265dcf=_0xe5c2b0;this[_0x265dcf(0x42a)][_0x265dcf(0x41e)](_0x298219),_0x329e0b();});return;}}_0x5828cd[_0xe5c2b0(0x1aa)](Ln(_0xdb9f66));},'close':()=>{const _0x383024=_0x4fe681;_0x5828cd[_0x383024(0x1c8)](),_0x19f362[_0x383024(0x369)]();}},_0x5a6369;}async[_0x38775b(0x4d7)](_0x1caa15,_0xc1d2b){const _0x393ee5=_0x38775b;var _0x5c1079,_0x5ad26e;const {unitType:_0x4ea978,unitID:_0xab7462,changeset:_0x16155b}=_0xc1d2b[_0x393ee5(0x390)],_0x5d77fc={'unitID':_0xab7462,'memberID':_0x1caa15['memberID'],'type':_0x4ea978,'changeset':_0x31dcfb(_0x16155b)},_0x2ee74c=this[_0x393ee5(0x2fe)][_0x393ee5(0x2d8)](Pn),_0x447ed7=this[_0x393ee5(0x2fe)]['getConfig'](ee),_0x3df33b=Bn((_0x5ad26e=(_0x5c1079=_0x447ed7==null?void 0x0:_0x447ed7[_0x393ee5(0x153)])!=null?_0x5c1079:_0x2ee74c)!=null?_0x5ad26e:Un,_0x4ea978,_0xab7462);try{await this[_0x393ee5(0x175)][_0x393ee5(0x164)](_0x3df33b,{'body':_0x5d77fc});}catch(_0x1aa685){throw this['_logService'][_0x393ee5(0x41e)]('[CollaborationSession]',_0x393ee5(0x1f6)),_0x1aa685;}}async[_0x38775b(0x508)](_0x9b3a2b){const _0x5c5c70=_0x38775b,{unitID:_0xb5f618,from:_0x268a04,to:_0x1a8fa2,unitType:_0xc571af}=_0x9b3a2b[_0x5c5c70(0x390)];return(await this[_0x5c5c70(0x33f)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xb5f618,'type':_0xc571af,'from':_0x268a04,'to':_0x1a8fa2}))[_0x5c5c70(0x279)];}};ss=jn([qe(0x0,_0x1f52e5(_0x48ddd7)),qe(0x1,_0x1f52e5(_0x5b980f)),qe(0x2,_0x4025c4),qe(0x3,_0x1fda4b),qe(0x4,_0x37c703)],ss);const kn='collaboration_new_changeset';function Wn(_0x2e26d2){const _0x57527c=_0x38775b;return JSON[_0x57527c(0x20d)](_0x2e26d2)[_0x57527c(0x3be)];}class Mi{constructor(){const _0x5f45d8=_0x38775b;g(this,_0x5f45d8(0x169),new _0x1d41c9()),g(this,_0x5f45d8(0x143),this[_0x5f45d8(0x169)]['asObservable']());}['onCommentUpdate'](_0x584c4d){const _0x59d75a=_0x38775b;this[_0x59d75a(0x169)]['next'](_0x584c4d);}}var Fn=Object[_0x38775b(0x4da)],Vn=Object[_0x38775b(0x1ed)],Gn=(_0x414e44,_0x2ad9e9,_0x2e75c5,_0x339493)=>{for(var _0x4512a9=_0x339493>0x1?void 0x0:_0x339493?Vn(_0x2ad9e9,_0x2e75c5):_0x2ad9e9,_0x1536ac=_0x414e44['length']-0x1,_0x3018c4;_0x1536ac>=0x0;_0x1536ac--)(_0x3018c4=_0x414e44[_0x1536ac])&&(_0x4512a9=(_0x339493?_0x3018c4(_0x2ad9e9,_0x2e75c5,_0x4512a9):_0x3018c4(_0x4512a9))||_0x4512a9);return _0x339493&&_0x4512a9&&Fn(_0x2ad9e9,_0x2e75c5,_0x4512a9),_0x4512a9;},Ws=(_0x1b441f,_0x64141a)=>(_0x366bec,_0x1cd98c)=>_0x64141a(_0x366bec,_0x1cd98c,_0x1b441f);let Me=class extends _0x50a3c2{constructor(_0x5c0525,_0x472275){const _0x9e4eb0=_0x38775b;super(),g(this,_0x9e4eb0(0x1fc),new Map()),(this[_0x9e4eb0(0x2f4)]=_0x5c0525,this['_userManagerService']=_0x472275,this[_0x9e4eb0(0x4d0)](_0x55f741(_0x3804fb(this[_0x9e4eb0(0x2f4)]['getTypeOfUnitDisposed$'](_0x245a17['UNIVER_SHEET'])[_0x9e4eb0(0x378)](_0x3e374a(_0x5d5786=>_0x5d5786[_0x9e4eb0(0x2e9)]())),this[_0x9e4eb0(0x2f4)][_0x9e4eb0(0x456)](_0x245a17[_0x9e4eb0(0x393)])[_0x9e4eb0(0x378)](_0x3e374a(_0x1fa607=>_0x1fa607[_0x9e4eb0(0x2e9)]())),this[_0x9e4eb0(0x2f4)][_0x9e4eb0(0x456)](_0x245a17[_0x9e4eb0(0x367)])['pipe'](_0x3e374a(_0x14846d=>_0x14846d[_0x9e4eb0(0x2e9)]())))[_0x9e4eb0(0x39f)](_0x3b1ccf=>this[_0x9e4eb0(0x205)](_0x3b1ccf)))));}[_0x38775b(0x3bf)](_0x182268){const _0x179d3f=_0x38775b;this[_0x179d3f(0x3d2)]['setCurrentUser'](_0x182268);}[_0x38775b(0x413)](){const _0x5f1e77=_0x38775b;return this[_0x5f1e77(0x3d2)][_0x5f1e77(0x413)]();}[_0x38775b(0x4b2)](_0x35dcfa,_0x55cd57){const _0x2f5dba=_0x38775b;let _0x585c92=this[_0x2f5dba(0x1fc)]['get'](_0x35dcfa);_0x585c92||(_0x585c92=new Yn(),this[_0x2f5dba(0x1fc)][_0x2f5dba(0x157)](_0x35dcfa,_0x585c92)),_0x585c92['updateMember'](_0x55cd57);}['removeMember'](_0x3878f9,_0x3e88af){const _0x297db3=_0x38775b,_0x11bb57=this[_0x297db3(0x1fc)][_0x297db3(0x53d)](_0x3878f9);_0x11bb57&&_0x11bb57['removeMember'](_0x3e88af);}[_0x38775b(0x255)](_0x14dc3f){const _0x47fca6=_0x38775b;return this[_0x47fca6(0x1fc)]['get'](_0x14dc3f);}[_0x38775b(0x50f)](_0xb41b36,_0x5df5d0){const _0x4f667a=_0x38775b,_0x1512e6=this[_0x4f667a(0x1fc)][_0x4f667a(0x53d)](_0xb41b36);if(_0x1512e6)return _0x1512e6[_0x4f667a(0x50f)](_0x5df5d0);}['_removeRoom'](_0x2e34b7){const _0x1a5b91=_0x38775b,_0x3c60e8=this[_0x1a5b91(0x1fc)]['get'](_0x2e34b7);_0x3c60e8&&(_0x3c60e8[_0x1a5b91(0x369)](),this[_0x1a5b91(0x1fc)][_0x1a5b91(0x501)](_0x2e34b7));}[_0x38775b(0x369)](){const _0x4cfb8e=_0x38775b;this['_roomMembers'][_0x4cfb8e(0x3d1)](_0x1ac637=>_0x1ac637['dispose']()),this[_0x4cfb8e(0x1fc)]['clear']();}};Me=Gn([Ws(0x0,_0x46df2f),Ws(0x1,_0x1f52e5(_0x4b227b))],Me);class Yn extends _0x50a3c2{constructor(){const _0x4a4de9=_0x38775b;super(...arguments),g(this,_0x4a4de9(0x20f),new Map());}['dispose'](){const _0xf580d5=_0x38775b;this[_0xf580d5(0x20f)][_0xf580d5(0x192)]();}[_0x38775b(0x4b2)](_0xb67717){const _0x28a7ec=_0x38775b;this['_members']['set'](_0xb67717[_0x28a7ec(0x4f3)],_0xb67717);}[_0x38775b(0x4bc)](_0x22b4bb){this['_members']['delete'](_0x22b4bb);}[_0x38775b(0x50f)](_0x4e7bb3){const _0x149be1=_0x38775b;return this[_0x149be1(0x20f)][_0x149be1(0x53d)](_0x4e7bb3);}[_0x38775b(0x430)](){const _0x284120=_0x38775b;return Array[_0x284120(0x3dd)](this[_0x284120(0x20f)]['values']());}}var Kn=Object[_0x38775b(0x4da)],zn=Object[_0x38775b(0x1ed)],qn=(_0x4488f5,_0x19111c,_0x1029a8,_0x1c94ed)=>{const _0x57325b=_0x38775b;for(var _0xee1508=_0x1c94ed>0x1?void 0x0:_0x1c94ed?zn(_0x19111c,_0x1029a8):_0x19111c,_0x4e445e=_0x4488f5[_0x57325b(0x3be)]-0x1,_0x9654cc;_0x4e445e>=0x0;_0x4e445e--)(_0x9654cc=_0x4488f5[_0x4e445e])&&(_0xee1508=(_0x1c94ed?_0x9654cc(_0x19111c,_0x1029a8,_0xee1508):_0x9654cc(_0xee1508))||_0xee1508);return _0x1c94ed&&_0xee1508&&Kn(_0x19111c,_0x1029a8,_0xee1508),_0xee1508;},be=(_0x5ef56e,_0x1e1502)=>(_0x327fe4,_0x248329)=>_0x1e1502(_0x327fe4,_0x248329,_0x5ef56e),ve=(_0x2bf6e5=>(_0x2bf6e5[_0x2bf6e5[_0x38775b(0x2e5)]=0x0]=_0x38775b(0x2e5),_0x2bf6e5[_0x2bf6e5[_0x38775b(0x19d)]=0x1]=_0x38775b(0x19d),_0x2bf6e5[_0x2bf6e5[_0x38775b(0x4d2)]=0x2]=_0x38775b(0x4d2),_0x2bf6e5[_0x2bf6e5[_0x38775b(0x19f)]=0x3]=_0x38775b(0x19f),_0x2bf6e5))(ve||{});let is=class extends _0xeab596{constructor(_0xcf4674,_0x208e50,_0x58c1fb,_0x357379,_0x4e9811,_0x2a453a,_0x56fec0,_0x2e2c0c,_0xb226c5,_0x27522d){const _0x3d57c9=_0x38775b;super(),g(this,_0x3d57c9(0x34a),new _0x5ec0c5(0x0)),g(this,_0x3d57c9(0x38c),this[_0x3d57c9(0x34a)][_0x3d57c9(0x44a)]()),g(this,'_event$',new _0x1d41c9()),g(this,_0x3d57c9(0x295),this[_0x3d57c9(0x411)][_0x3d57c9(0x44a)]()),g(this,_0x3d57c9(0x19e)),g(this,_0x3d57c9(0x344)),g(this,_0x3d57c9(0x3f3)),g(this,_0x3d57c9(0x2db),!0x1),g(this,_0x3d57c9(0x4fd),null),(this['_unitID']=_0xcf4674,this['_logService']=_0x58c1fb,this[_0x3d57c9(0x49f)]=_0x357379,this[_0x3d57c9(0x384)]=_0x4e9811,this[_0x3d57c9(0x2fe)]=_0x2a453a,this['_localeService']=_0x56fec0,this[_0x3d57c9(0x487)]=_0x2e2c0c,this[_0x3d57c9(0x408)]=_0xb226c5,this[_0x3d57c9(0x3ac)]=_0x27522d,this['_shouldReportTelemetry']=!!this[_0x3d57c9(0x3ac)],_0x208e50[_0x3d57c9(0x378)](_0x5a840b(this[_0x3d57c9(0x4ac)]))[_0x3d57c9(0x39f)](_0x1f61ba=>{const _0x216dfc=_0x3d57c9;var _0x2e1de9;typeof _0x1f61ba>'u'||(this[_0x216dfc(0x19e)]=_0x1f61ba,_0x1f61ba?(this[_0x216dfc(0x484)](_0x1f61ba),this[_0x216dfc(0x344)]=_0x1f61ba[_0x216dfc(0x3ae)][_0x216dfc(0x39f)](_0x57a7a8=>{const _0x3d9a1b=_0x216dfc;_0x57a7a8[_0x3d9a1b(0x52b)]===this[_0x3d9a1b(0x19c)]&&this['_onCombEvent'](_0x57a7a8);})):(this[_0x216dfc(0x48d)](),this['_sessionStatus$']['next'](0x2),(_0x2e1de9=this['_socketMessageSubscription'])==null||_0x2e1de9[_0x216dfc(0x334)](),this['_socketMessageSubscription']=null));}),this[_0x3d57c9(0x4d0)](this[_0x3d57c9(0x49f)][_0x3d57c9(0x37e)](()=>{const _0xacf65=_0x3d57c9;var _0x2bc475;(_0x2bc475=this['_socket'])==null||_0x2bc475[_0xacf65(0x1aa)]({'cmd':W[_0xacf65(0x353)],'data':{'roomID':this['_unitID']}});})));}get[_0x38775b(0x200)](){const _0x377f43=_0x38775b;return this[_0x377f43(0x34a)][_0x377f43(0x383)]();}[_0x38775b(0x3f8)](){const _0x1cd7f1=_0x38775b;var _0x25e1aa,_0x495d66;return(_0x495d66=(_0x25e1aa=this[_0x1cd7f1(0x19e)])==null?void 0x0:_0x25e1aa[_0x1cd7f1(0x4f3)])!=null?_0x495d66:null;}[_0x38775b(0x369)](){const _0x1b661c=_0x38775b;super[_0x1b661c(0x369)](),this['dispose$']['next'](),this[_0x1b661c(0x4ac)]['complete']();}[_0x38775b(0x1c8)](){const _0x2dd461=_0x38775b;var _0x55b6e9,_0x39308a;this[_0x2dd461(0x48d)](),(_0x55b6e9=this['_socket'])==null||_0x55b6e9[_0x2dd461(0x1aa)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x2dd461(0x19c)]}}),(_0x39308a=this[_0x2dd461(0x19e)])==null||_0x39308a['close'](),this[_0x2dd461(0x411)][_0x2dd461(0x2d5)](),this[_0x2dd461(0x34a)][_0x2dd461(0x2d5)](),this[_0x2dd461(0x369)]();}['_onCombEvent'](_0x1bd596){const _0x52f0e2=_0x38775b;_0x1bd596[_0x52f0e2(0x1de)]===W[_0x52f0e2(0x4e3)]?this[_0x52f0e2(0x46a)](_0x1bd596):_0x1bd596[_0x52f0e2(0x1de)]===W['RECV']&&this[_0x52f0e2(0x46e)](_0x1bd596);}[_0x38775b(0x484)](_0x12fc68){const _0x3f45a5=_0x38775b;this[_0x3f45a5(0x34a)][_0x3f45a5(0x1e8)](0x1),_0x12fc68[_0x3f45a5(0x1aa)]({'cmd':W['JOIN'],'routeKey':this[_0x3f45a5(0x19c)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3f45a5(0x19c)]}]}});}[_0x38775b(0x46a)](_0x1f0166){const _0x11b89a=_0x38775b;var _0x449a6b;if(_0x1f0166[_0x11b89a(0x4ba)]===bs[_0x11b89a(0x4c2)]){this[_0x11b89a(0x384)][_0x11b89a(0x32d)]({'type':_0x2b337e[_0x11b89a(0x23d)],'content':this['_localeService']['t'](_0x11b89a(0x277))}),this['_sessionStatus$'][_0x11b89a(0x1e8)](0x2);return;}this[_0x11b89a(0x34a)][_0x11b89a(0x1e8)](0x3);const _0x1fdbd3=(_0x449a6b=_0x1f0166['data'][_0x11b89a(0x45b)][this[_0x11b89a(0x19c)]])==null?void 0x0:_0x449a6b['members'];_0x1fdbd3&&_0x1fdbd3[_0x11b89a(0x3d1)](_0x3b634d=>this['_memberService'][_0x11b89a(0x4b2)](this[_0x11b89a(0x19c)],_0x3b634d));}[_0x38775b(0x46e)](_0xd34583){const _0xf4d36d=_0x38775b;try{const _0x48f056=_0xd34583['data'];switch(_0x48f056[_0xf4d36d(0x3c3)]){case _0x4e17b[_0xf4d36d(0x4e0)]:this['_onUserJoin'](_0x48f056),this[_0xf4d36d(0x411)][_0xf4d36d(0x1e8)](_0x48f056);break;case _0x4e17b[_0xf4d36d(0x3fd)]:this['_onUserLeave'](_0x48f056),this[_0xf4d36d(0x411)][_0xf4d36d(0x1e8)](_0x48f056);break;case _0x4e17b[_0xf4d36d(0x509)]:case _0x4e17b[_0xf4d36d(0x1f5)]:this[_0xf4d36d(0x1dc)](),this[_0xf4d36d(0x4c5)](),this['_event$'][_0xf4d36d(0x1e8)](_0x48f056);break;case _0x4e17b[_0xf4d36d(0x397)]:this[_0xf4d36d(0x42a)][_0xf4d36d(0x41e)]('save\x20fail\x20reason\x20is\x20'+JSON[_0xf4d36d(0x20d)](_0x48f056)),this[_0xf4d36d(0x411)]['next'](_0x48f056);break;case _0x4e17b[_0xf4d36d(0x2c0)]:this['_commentService'][_0xf4d36d(0x1e9)](_0x48f056[_0xf4d36d(0x390)]),this[_0xf4d36d(0x411)][_0xf4d36d(0x1e8)](_0x48f056);break;default:this['_event$'][_0xf4d36d(0x1e8)](_0x48f056);}}catch(_0x565d34){this[_0xf4d36d(0x42a)][_0xf4d36d(0x41e)](_0x565d34,_0xd34583);}}[_0x38775b(0x436)](_0x1a4214){const _0x4fd45c=_0x38775b;this[_0x4fd45c(0x487)][_0x4fd45c(0x4b2)](this[_0x4fd45c(0x19c)],_0x1a4214[_0x4fd45c(0x390)]);}[_0x38775b(0x3ec)](_0x5230bf){const _0x49c6cd=_0x38775b;this[_0x49c6cd(0x487)][_0x49c6cd(0x4bc)](this[_0x49c6cd(0x19c)],_0x5230bf[_0x49c6cd(0x390)][_0x49c6cd(0x4f3)]);}async[_0x38775b(0x1aa)](_0x38aebf,_0x41a5fb){const _0x4bfe47=_0x38775b;if(this[_0x4bfe47(0x200)]!==0x3||!this[_0x4bfe47(0x19e)])throw new Error(_0x4bfe47(0x250));try{_0x38aebf[_0x4bfe47(0x3c3)]===_0x4e17b['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4bfe47(0x4a5)](_0x38aebf)),this[_0x4bfe47(0x19e)]['send']({'cmd':W[_0x4bfe47(0x49b)],'routeKey':_0x41a5fb,'routeType':'','data':_0x38aebf});}catch(_0x1e214c){this['_logService']['error'](_0x1e214c);}}[_0x38775b(0x4c6)](){const _0x17e1c4=_0x38775b;var _0x372351;this[_0x17e1c4(0x3f3)]=window['setTimeout'](()=>{const _0x3568e0=_0x17e1c4;this[_0x3568e0(0x3f3)]=null,this[_0x3568e0(0x384)][_0x3568e0(0x32d)]({'type':_0x2b337e[_0x3568e0(0x4e9)],'content':this[_0x3568e0(0x3ef)]['t'](_0x3568e0(0x53e))});},(_0x372351=this[_0x17e1c4(0x2fe)]['getConfig'](Di))!=null?_0x372351:Pi);}[_0x38775b(0x4c5)](){const _0x1504a3=_0x38775b;this[_0x1504a3(0x3f3)]&&(clearTimeout(this[_0x1504a3(0x3f3)]),this[_0x1504a3(0x3f3)]=null);}[_0x38775b(0x4a5)](_0x37ff4d){const _0x4fbb00=_0x38775b;if(!this['_shouldReportTelemetry'])return;const {data:_0x28cf11}=_0x37ff4d,{unitID:_0x2916cf,changeset:_0x3d0cea}=_0x28cf11,{mutations:_0x44c4a4,type:_0x4d9071}=_0x3d0cea;this[_0x4fbb00(0x4fd)]={'unitId':_0x2916cf,'type':_0x4d9071,'startTime':performance[_0x4fbb00(0x3ca)](),'stopTime':0x0,'duration':0x0,'size':Wn(_0x44c4a4)};}[_0x38775b(0x1dc)](){const _0x198106=_0x38775b;if(this['_shouldReportTelemetry']){if(!this[_0x198106(0x4fd)]){this[_0x198106(0x42a)][_0x198106(0x41e)](_0x198106(0x427),_0x198106(0x37d));return;}this[_0x198106(0x4fd)]['stopTime']=performance[_0x198106(0x3ca)](),this[_0x198106(0x4fd)][_0x198106(0x150)]=this['_telemetryInfo'][_0x198106(0x43d)]-this[_0x198106(0x4fd)][_0x198106(0x311)],this['_telemetryService'][_0x198106(0x1da)](kn,this[_0x198106(0x4fd)]),this['_telemetryInfo']=null;}}[_0x38775b(0x48d)](){const _0x6319dd=_0x38775b;this[_0x6319dd(0x4fd)]=null;}};is=qn([be(0x2,_0x1fda4b),be(0x3,_0x5bd042),be(0x4,_0x4db578),be(0x5,_0x4025c4),be(0x6,_0x1f52e5(_0x1d70b7)),be(0x7,_0x1f52e5(Me)),be(0x8,_0x1f52e5(Mi)),be(0x9,_0x3700fe(_0x32da0f))],is);var Xn=Object[_0x38775b(0x4da)],Jn=Object[_0x38775b(0x1ed)],Zn=(_0x54470b,_0x19727b,_0x431349,_0x1da3f9)=>{const _0xe3aafa=_0x38775b;for(var _0x4649ad=_0x1da3f9>0x1?void 0x0:_0x1da3f9?Jn(_0x19727b,_0x431349):_0x19727b,_0x41ec16=_0x54470b[_0xe3aafa(0x3be)]-0x1,_0x25e081;_0x41ec16>=0x0;_0x41ec16--)(_0x25e081=_0x54470b[_0x41ec16])&&(_0x4649ad=(_0x1da3f9?_0x25e081(_0x19727b,_0x431349,_0x4649ad):_0x25e081(_0x4649ad))||_0x4649ad);return _0x1da3f9&&_0x4649ad&&Xn(_0x19727b,_0x431349,_0x4649ad),_0x4649ad;},we=(_0x40ca2d,_0x24ad9a)=>(_0x1fe93a,_0x4d83d0)=>_0x24ad9a(_0x1fe93a,_0x4d83d0,_0x40ca2d);let xe=class extends _0x50a3c2{constructor(_0x4998c2,_0x3523f5,_0x195ab5,_0x2807f3,_0x4cef07,_0x7760e5,_0x397606){const _0x5afb1d=_0x38775b;super(),g(this,_0x5afb1d(0x2ac),new _0x5ec0c5(void 0x0)),g(this,_0x5afb1d(0x2ba),this[_0x5afb1d(0x2ac)][_0x5afb1d(0x44a)]()),g(this,_0x5afb1d(0x268),null),g(this,_0x5afb1d(0x554),new Map()),g(this,_0x5afb1d(0x326),new _0x5ec0c5(ve[_0x5afb1d(0x2e5)])),g(this,_0x5afb1d(0x54a),this[_0x5afb1d(0x326)][_0x5afb1d(0x44a)]()),g(this,_0x5afb1d(0x1f3),!0x1),g(this,_0x5afb1d(0x1d8)),g(this,_0x5afb1d(0x490),0x0),g(this,_0x5afb1d(0x3c1)),g(this,_0x5afb1d(0x32a)),(this['_injector']=_0x4998c2,this[_0x5afb1d(0x3ef)]=_0x3523f5,this[_0x5afb1d(0x384)]=_0x195ab5,this[_0x5afb1d(0x42a)]=_0x2807f3,this[_0x5afb1d(0x2fe)]=_0x4cef07,this[_0x5afb1d(0x4fc)]=_0x7760e5,this[_0x5afb1d(0x26a)]=_0x397606,this['_initEventListeners']());}get['_socket'](){const _0x564f61=_0x38775b;return this[_0x564f61(0x2ac)]['getValue']();}[_0x38775b(0x165)](){const _0x1c087c=_0x38775b;this[_0x1c087c(0x395)](),this[_0x1c087c(0x468)]();}[_0x38775b(0x369)](){const _0x372a67=_0x38775b;super[_0x372a67(0x369)](),this['_sessions'][_0x372a67(0x3d1)](_0xbcb763=>_0xbcb763[_0x372a67(0x369)]()),this[_0x372a67(0x554)][_0x372a67(0x192)](),this[_0x372a67(0x326)][_0x372a67(0x2d5)]();}async['requireSession'](_0x57c479){const _0x23af1=_0x38775b;if(this['_sessions'][_0x23af1(0x519)](_0x57c479))return this[_0x23af1(0x554)][_0x23af1(0x53d)](_0x57c479);this['_tryEnsureSocket']();const _0x4075a4=this['_injector'][_0x23af1(0x248)](is,_0x57c479,this['_socket$'][_0x23af1(0x44a)]());return this[_0x23af1(0x554)][_0x23af1(0x157)](_0x57c479,_0x4075a4),_0x4075a4;}['closeSession'](_0x4bc965){const _0xb4bcf6=_0x38775b;var _0x10f4a9;const _0x299736=this[_0xb4bcf6(0x554)][_0xb4bcf6(0x53d)](_0x4bc965);_0x299736&&(this[_0xb4bcf6(0x554)]['delete'](_0x4bc965),_0x299736[_0xb4bcf6(0x1c8)]()),this[_0xb4bcf6(0x554)]['size']||(_0x10f4a9=this[_0xb4bcf6(0x19e)])==null||_0x10f4a9['close']();}[_0x38775b(0x4c3)](){const _0x570e26=_0x38775b;this[_0x570e26(0x490)]=0x0,this[_0x570e26(0x1d8)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x570e26(0x1d8)]=null),this[_0x570e26(0x532)]();}async[_0x38775b(0x325)](){const _0x2aecbc=_0x38775b;var _0x5747f1,_0x46017c,_0x423bf8;const _0xcccdb5=this[_0x2aecbc(0x2fe)][_0x2aecbc(0x2d8)](ee),_0xdffbb8=(_0x5747f1=_0xcccdb5==null?void 0x0:_0xcccdb5[_0x2aecbc(0x12c)])!=null?_0x5747f1:En;return(_0x423bf8=(_0x46017c=(await this[_0x2aecbc(0x26a)][_0x2aecbc(0x53d)](_0xdffbb8,{'headers':{'Content-Type':_0x2aecbc(0x1fb)}}))['body'])==null?void 0x0:_0x46017c[_0x2aecbc(0x131)])!=null?_0x423bf8:'';}[_0x38775b(0x1ee)](_0xda64b4){const _0x5447e6=_0x38775b;var _0x44f4d4,_0x16025c;const _0x150bc3=this['_configService'][_0x5447e6(0x2d8)](In),_0x4fa5a9=this['_configService'][_0x5447e6(0x2d8)](ee),_0x37a183=(_0x16025c=(_0x44f4d4=_0x4fa5a9==null?void 0x0:_0x4fa5a9['collabWebSocketUrl'])!=null?_0x44f4d4:_0x150bc3)!=null?_0x16025c:Cn,_0x3055a2=new URL(_0x37a183,window['location'][_0x5447e6(0x4a2)]);return _0x3055a2[_0x5447e6(0x30c)][_0x5447e6(0x157)](_0x5447e6(0x1c6),_0xda64b4),_0x3055a2[_0x5447e6(0x34c)]();}async['_createSocket'](){const _0x3422be=_0x38775b,_0x587074=await this[_0x3422be(0x325)](),_0x2667b4=this[_0x3422be(0x1ee)](_0x587074),_0x411a9c=this[_0x3422be(0x4fc)]['createSocket'](_0x2667b4);return this['_candidateSocket']=_0x411a9c,_0x411a9c;}async[_0x38775b(0x50c)](){const _0x2b1f42=_0x38775b;var _0x4019ad,_0x2eb32e;try{const _0x5676ae=(_0x2eb32e=(_0x4019ad=this[_0x2b1f42(0x19e)])!=null?_0x4019ad:this[_0x2b1f42(0x268)])!=null?_0x2eb32e:await this[_0x2b1f42(0x332)]();if(_0x5676ae){const _0xbd6e1a=_0x5676ae[_0x2b1f42(0x1aa)];_0x5676ae[_0x2b1f42(0x1aa)]=_0x1b9af1=>(this[_0x2b1f42(0x152)](),_0xbd6e1a[_0x2b1f42(0x2c4)](_0x5676ae,[_0x1b9af1])),_0x5676ae[_0x2b1f42(0x3ae)][_0x2b1f42(0x39f)](_0x1ef801=>this[_0x2b1f42(0x4ec)](_0x5676ae,_0x1ef801)),_0x5676ae[_0x2b1f42(0x4be)][_0x2b1f42(0x378)](_0x4c705e(0x1))[_0x2b1f42(0x39f)](_0x3d6f15=>this[_0x2b1f42(0x42a)][_0x2b1f42(0x41e)](_0x2b1f42(0x4cc),_0x3d6f15)),_0x5676ae[_0x2b1f42(0x28c)][_0x2b1f42(0x378)](_0x4c705e(0x1))[_0x2b1f42(0x39f)](()=>{const _0x56336b=_0x2b1f42;this[_0x56336b(0x269)](_0x5676ae);}),_0x5676ae['close$'][_0x2b1f42(0x378)](_0x4c705e(0x1))[_0x2b1f42(0x39f)](_0xe2c7=>{const _0x4ba8b8=_0x2b1f42;this[_0x4ba8b8(0x42a)][_0x4ba8b8(0x2ee)](_0x4ba8b8(0x1d9),_0x4ba8b8(0x236),_0xe2c7),this[_0x4ba8b8(0x203)]();});}}catch(_0x3cc877){this['_logService'][_0x2b1f42(0x41e)](_0x3cc877),this[_0x2b1f42(0x203)]();}}[_0x38775b(0x269)](_0x2b6406){const _0x13a3bb=_0x38775b;this[_0x13a3bb(0x42a)][_0x13a3bb(0x2ee)]('[CollaborationSessionService]',_0x13a3bb(0x237)),_0x2b6406[_0x13a3bb(0x1aa)]({'cmd':W['HELLO']}),this[_0x13a3bb(0x152)]();}['_listenToOfflineEvent'](){const _0x39bde3=_0x38775b;window[_0x39bde3(0x212)](_0x39bde3(0x53f),()=>this[_0x39bde3(0x347)]());}[_0x38775b(0x347)](){const _0x131031=_0x38775b;this[_0x131031(0x1f3)]=!0x1,this[_0x131031(0x268)]=null,this['_status$'][_0x131031(0x1e8)](ve['OFFLINE']),this[_0x131031(0x2ac)]['next'](null),this[_0x131031(0x54e)](),this[_0x131031(0x2a3)]();}['_onConnectionFailed'](){const _0x5ca8e0=_0x38775b;var _0xef8eb5;this[_0x5ca8e0(0x347)](),this[_0x5ca8e0(0x490)]<((_0xef8eb5=this[_0x5ca8e0(0x2fe)][_0x5ca8e0(0x2d8)](On))!=null?_0xef8eb5:yn)?(this['_messageService'][_0x5ca8e0(0x32d)]({'key':_0x5ca8e0(0x4dd),'type':_0x2b337e[_0x5ca8e0(0x23d)],'content':this[_0x5ca8e0(0x3ef)]['t'](_0x5ca8e0(0x3a1))}),this[_0x5ca8e0(0x532)]()):this['_messageService']['show']({'key':'collaboration-session-retry','type':_0x2b337e['Error'],'content':this[_0x5ca8e0(0x3ef)]['t'](_0x5ca8e0(0x4f0))});}[_0x38775b(0x468)](){const _0x3b09e0=_0x38775b,_0x100c22=()=>{const _0x54b16e=_0x8857;this[_0x54b16e(0x19e)]||this[_0x54b16e(0x4c3)]();},_0x4e21ae=()=>{const _0x4da001=_0x8857;this[_0x4da001(0x19e)]||document[_0x4da001(0x1ca)]===_0x4da001(0x23e)||this[_0x4da001(0x4c3)]();};window[_0x3b09e0(0x212)]('online',_0x100c22),document['addEventListener'](_0x3b09e0(0x3b7),_0x4e21ae);}[_0x38775b(0x532)](){const _0x49afaa=_0x38775b;var _0x2af330;const _0x12b631=this[_0x49afaa(0x490)],_0x3030b5=this[_0x49afaa(0x2fe)][_0x49afaa(0x2d8)](ee),_0x4b6f9=_0x12b631===0x0?0x0:((_0x2af330=_0x3030b5==null?void 0x0:_0x3030b5[_0x49afaa(0x34d)])!=null?_0x2af330:Rn)*0x2**_0x12b631;this[_0x49afaa(0x1d8)]=window[_0x49afaa(0x3b9)](()=>{const _0x5754d1=_0x49afaa;clearTimeout(this[_0x5754d1(0x1d8)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x4b6f9),this[_0x49afaa(0x490)]+=0x1;}[_0x38775b(0x4ec)](_0x297a40,_0x3a2b6e){const _0x457b0a=_0x38775b,{cmd:_0x3b2c39}=_0x3a2b6e;_0x3b2c39===W[_0x457b0a(0x541)]&&!this[_0x457b0a(0x1f3)]&&(_0x297a40[_0x457b0a(0x4f3)]=_0x3a2b6e[_0x457b0a(0x390)][_0x457b0a(0x4f3)],this[_0x457b0a(0x2ac)][_0x457b0a(0x1e8)](_0x297a40),this[_0x457b0a(0x326)][_0x457b0a(0x1e8)](ve[_0x457b0a(0x19f)]),this['_socketReady']=!0x0,this[_0x457b0a(0x268)]=null),_0x3b2c39===W[_0x457b0a(0x313)]&&this[_0x457b0a(0x54e)](),this[_0x457b0a(0x152)]();}[_0x38775b(0x152)](){const _0xb458a3=_0x38775b;var _0x25c305;this[_0xb458a3(0x2a3)](),this[_0xb458a3(0x3c1)]=window[_0xb458a3(0x3b9)](()=>this[_0xb458a3(0x4f6)](),(_0x25c305=this['_configService'][_0xb458a3(0x2d8)](bn))!=null?_0x25c305:Tn);}['_sendHeartbeat'](){const _0x12860a=_0x38775b;this[_0x12860a(0x19e)][_0x12860a(0x1aa)]({'cmd':W[_0x12860a(0x313)]}),this['_waitForHeartbeatResponse']();}[_0x38775b(0x1c0)](){const _0x1609c1=_0x38775b;var _0x5923a5;this['_timeoutTimer']=window[_0x1609c1(0x3b9)](()=>this[_0x1609c1(0x203)](),(_0x5923a5=this[_0x1609c1(0x2fe)]['getConfig'](Di))!=null?_0x5923a5:Pi);}['_clearHeartbeatTimer'](){const _0x27a9c1=_0x38775b;this[_0x27a9c1(0x3c1)]!=null&&(clearTimeout(this[_0x27a9c1(0x3c1)]),this[_0x27a9c1(0x3c1)]=null);}['_clearTimeoutTimer'](){const _0x59a31a=_0x38775b;this[_0x59a31a(0x32a)]!=null&&(clearTimeout(this[_0x59a31a(0x32a)]),this['_timeoutTimer']=null);}};xe=Zn([we(0x0,_0x1f52e5(_0x72efa4)),we(0x1,_0x1f52e5(_0x1d70b7)),we(0x2,_0x4db578),we(0x3,_0x1fda4b),we(0x4,_0x4025c4),we(0x5,Ai),we(0x6,_0x1f52e5(_0x48ddd7))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x38775b(0x42f)]((i+0x100)[_0x38775b(0x34c)](0x10)[_0x38775b(0x224)](0x1));function Qn(_0x308d75,_0x37056a=0x0){const _0x932231=_0x38775b;return(Y[_0x308d75[_0x37056a+0x0]]+Y[_0x308d75[_0x37056a+0x1]]+Y[_0x308d75[_0x37056a+0x2]]+Y[_0x308d75[_0x37056a+0x3]]+'-'+Y[_0x308d75[_0x37056a+0x4]]+Y[_0x308d75[_0x37056a+0x5]]+'-'+Y[_0x308d75[_0x37056a+0x6]]+Y[_0x308d75[_0x37056a+0x7]]+'-'+Y[_0x308d75[_0x37056a+0x8]]+Y[_0x308d75[_0x37056a+0x9]]+'-'+Y[_0x308d75[_0x37056a+0xa]]+Y[_0x308d75[_0x37056a+0xb]]+Y[_0x308d75[_0x37056a+0xc]]+Y[_0x308d75[_0x37056a+0xd]]+Y[_0x308d75[_0x37056a+0xe]]+Y[_0x308d75[_0x37056a+0xf]])[_0x932231(0x14d)]();}let Mt;const eo=new Uint8Array(0x10);function to(){const _0x5f0bdd=_0x38775b;if(!Mt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Mt=crypto[_0x5f0bdd(0x16e)][_0x5f0bdd(0x3ad)](crypto);}return Mt(eo);}const so=typeof crypto<'u'&&crypto[_0x38775b(0x3fe)]&&crypto['randomUUID']['bind'](crypto),Fs={'randomUUID':so};function io(_0x22e828,_0x36ff2b,_0x420b12){const _0x1cf56c=_0x38775b;if(Fs['randomUUID']&&!_0x36ff2b&&!_0x22e828)return Fs[_0x1cf56c(0x3fe)]();_0x22e828=_0x22e828||{};const _0x4e8998=_0x22e828[_0x1cf56c(0x336)]||(_0x22e828[_0x1cf56c(0x261)]||to)();return _0x4e8998[0x6]=_0x4e8998[0x6]&0xf|0x40,_0x4e8998[0x8]=_0x4e8998[0x8]&0x3f|0x80,Qn(_0x4e8998);}var ro=Object[_0x38775b(0x4da)],no=Object[_0x38775b(0x1ed)],oo=(_0x12dd0c,_0x12bf92,_0x3b5ecc,_0x43df0b)=>{for(var _0x9e6576=_0x43df0b>0x1?void 0x0:_0x43df0b?no(_0x12bf92,_0x3b5ecc):_0x12bf92,_0x141bce=_0x12dd0c['length']-0x1,_0x10166d;_0x141bce>=0x0;_0x141bce--)(_0x10166d=_0x12dd0c[_0x141bce])&&(_0x9e6576=(_0x43df0b?_0x10166d(_0x12bf92,_0x3b5ecc,_0x9e6576):_0x10166d(_0x9e6576))||_0x9e6576);return _0x43df0b&&_0x9e6576&&ro(_0x12bf92,_0x3b5ecc,_0x9e6576),_0x9e6576;},xt=(_0x4d008a,_0x2350b8)=>(_0x3009c4,_0xfee6b2)=>_0x2350b8(_0x3009c4,_0xfee6b2,_0x4d008a);let vt=class{constructor(_0x376e47,_0x11052f,_0x29457d){const _0x49b8d3=_0x38775b;this[_0x49b8d3(0x361)]=_0x376e47,this[_0x49b8d3(0x1e5)]=_0x11052f,this[_0x49b8d3(0x465)]=_0x29457d;}[_0x38775b(0x2df)](_0x2a8307){const _0x3ed278=_0x38775b;this[_0x3ed278(0x1a4)](_0x2a8307),this[_0x3ed278(0x44b)](_0x2a8307);}[_0x38775b(0x191)](_0x2514f4){const _0x458e5f=_0x38775b,{unitID:_0x158c9d}=_0x2514f4,_0x145b74=this[_0x458e5f(0x465)][_0x458e5f(0x3d5)](_0x158c9d)[_0x458e5f(0x4ff)](_0x599dd2),{redoCache:_0x4dbe80}=_0x145b74[_0x458e5f(0x3f7)]();if(_0x4dbe80[_0x458e5f(0x3be)]===0x0)return _0x2514f4;let _0x259e0a=_0x51c383['deepClone'](_0x2514f4[_0x458e5f(0x51a)][0x0]);for(let _0x232b1a=0x0;_0x232b1a<_0x4dbe80[_0x458e5f(0x3be)];_0x232b1a++){const _0xda5ff={'id':_0x458e5f(0x195),'params':{..._0x4dbe80[_0x232b1a]}},_0x4947b0=this[_0x458e5f(0x1e5)][_0x458e5f(0x32f)](_0x259e0a,_0xda5ff,!0x1);if(_0x147cf3(_0x4947b0))throw _0x4947b0[_0x458e5f(0x41e)];_0x259e0a=_0x4947b0[_0x458e5f(0x2a4)];}return{..._0x51c383[_0x458e5f(0x429)](_0x2514f4),'mutations':[_0x259e0a]};}[_0x38775b(0x1a4)](_0x769c5){const _0x15e074=_0x38775b,{unitID:_0x1fdaf8}=_0x769c5,_0x34b32c=this[_0x15e074(0x465)][_0x15e074(0x3d5)](_0x1fdaf8)[_0x15e074(0x4ff)](_0x599dd2),{undoCache:_0xa8a5fd,redoCache:_0x228294}=_0x34b32c[_0x15e074(0x3f7)]();if(_0xa8a5fd[_0x15e074(0x3be)]===0x0||_0x228294['length']===0x0)return;const _0x383e16=[],_0x2ce2a8=[];let _0x368a93=_0x51c383[_0x15e074(0x429)](_0x769c5['mutations'][0x0]),_0x569885=_0x51c383['deepClone'](_0x769c5[_0x15e074(0x51a)][0x0]);for(let _0xe6a127=_0xa8a5fd['length']-0x1;_0xe6a127>=0x0;_0xe6a127--){const _0x26451c={'id':'doc.mutation.rich-text-editing','params':{..._0xa8a5fd[_0xe6a127]}},_0x98fee8={'id':'doc.mutation.rich-text-editing','params':{..._0x228294[_0xe6a127]}},_0x18122b=this[_0x15e074(0x1e5)][_0x15e074(0x32f)](_0x368a93,_0x26451c,!0x1),_0x35e722=this[_0x15e074(0x1e5)][_0x15e074(0x32f)](_0x569885,_0x98fee8,!0x1);if(_0x147cf3(_0x18122b))throw _0x18122b[_0x15e074(0x41e)];if(_0x147cf3(_0x35e722))throw _0x35e722['error'];_0x383e16['unshift'](_0x18122b[_0x15e074(0x21f)][_0x15e074(0x403)]),_0x2ce2a8[_0x15e074(0x3d8)](_0x35e722[_0x15e074(0x21f)][_0x15e074(0x403)]),_0x368a93=_0x18122b[_0x15e074(0x2a4)],_0x569885=_0x35e722[_0x15e074(0x2a4)];}_0x34b32c[_0x15e074(0x29a)]({'undoCache':_0x383e16,'redoCache':_0x2ce2a8});}['_transformPreviousActiveRange'](_0x26d1c2){const _0x4046c7=_0x38775b,{unitID:_0x567512}=_0x26d1c2,_0x359380=this['_renderManagerService'][_0x4046c7(0x3d5)](_0x567512)[_0x4046c7(0x4ff)](_0x599dd2),_0x3f33f9=_0x359380[_0x4046c7(0x274)]();if(_0x3f33f9==null)return;const _0x19d67d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26d1c2[_0x4046c7(0x52a)],'actions':null,'textRanges':[_0x3f33f9]}}],_0x140222=this['_transformService'][_0x4046c7(0x35b)](_0x26d1c2,_0x19d67d);if(!_0x4658cc(_0x140222))throw _0x140222[_0x4046c7(0x41e)];const _0x149b14=_0x140222[_0x4046c7(0x21f)][0x0][_0x4046c7(0x403)][_0x4046c7(0x22a)];Array[_0x4046c7(0x370)](_0x149b14)&&_0x149b14[_0x4046c7(0x3be)]&&_0x359380[_0x4046c7(0x548)](_0x149b14[0x0]);}};vt=oo([xt(0x0,_0x1f52e5(_0x72efa4)),xt(0x1,_0x529376),xt(0x2,_0x439c07)],vt);var ao=Object['defineProperty'],co=Object[_0x38775b(0x1ed)],ho=(_0x194a5f,_0x191f43,_0x1dd517,_0xe0a959)=>{const _0x59e5fd=_0x38775b;for(var _0x3dacac=_0xe0a959>0x1?void 0x0:_0xe0a959?co(_0x191f43,_0x1dd517):_0x191f43,_0x338c40=_0x194a5f[_0x59e5fd(0x3be)]-0x1,_0x481bc1;_0x338c40>=0x0;_0x338c40--)(_0x481bc1=_0x194a5f[_0x338c40])&&(_0x3dacac=(_0xe0a959?_0x481bc1(_0x191f43,_0x1dd517,_0x3dacac):_0x481bc1(_0x3dacac))||_0x3dacac);return _0xe0a959&&_0x3dacac&&ao(_0x191f43,_0x1dd517,_0x3dacac),_0x3dacac;},Xe=(_0x472eb0,_0x319d3f)=>(_0x6848a2,_0x31f9e7)=>_0x319d3f(_0x6848a2,_0x31f9e7,_0x472eb0);let q=class extends _0x50a3c2{constructor(_0x2c53f3,_0x178304,_0x45bb4c,_0x11f7ec,_0x169058){const _0x24380c=_0x38775b;super(),g(this,_0x24380c(0x4e5),new Map()),g(this,_0x24380c(0x308),new Map()),g(this,_0x24380c(0x299),!0x1),(this['_configService']=_0x2c53f3,this[_0x24380c(0x4a6)]=_0x178304,this[_0x24380c(0x49f)]=_0x45bb4c,this['_localeService']=_0x11f7ec,this[_0x24380c(0x449)]=_0x169058,this[_0x24380c(0x139)]());}[_0x38775b(0x35d)](){const _0x4f4eb3=_0x38775b;this[_0x4f4eb3(0x299)]=!0x0;}['enableLocalCache'](){const _0xe59761=_0x38775b;this[_0xe59761(0x299)]=!0x1;}[_0x38775b(0x369)](){const _0x2bdf9c=_0x38775b;this[_0x2bdf9c(0x133)]()['then'](()=>super['dispose']());}async[_0x38775b(0x4e7)](_0x1ddab2){const _0x401a14=_0x38775b;return this[_0x401a14(0x299)]?null:this[_0x401a14(0x4a6)][_0x401a14(0x1ff)](Vs(_0x1ddab2));}async['saveOfflineData'](_0x61f1cf,_0x285736){const _0x15b998=_0x38775b;return!!this['_localStorageService'][_0x15b998(0x247)](_0x61f1cf,_0x285736);}[_0x38775b(0x18a)](_0x10a7ca,_0x27e41d,_0x34081f,_0xe1327c){const _0x5151ba=_0x38775b,_0x3a5d16=this[_0x5151ba(0x449)]['getCurrentRevOfUnit'](_0x10a7ca);this[_0x5151ba(0x4e5)][_0x5151ba(0x157)](_0x10a7ca,{'unitID':_0x10a7ca,'type':_0x27e41d,'awaitingChangeset':_0x34081f,'mutations':_0xe1327c,'rev':_0x3a5d16}),this[_0x5151ba(0x308)]['has'](_0x10a7ca)||this['_scheduleSaving'](_0x10a7ca);}[_0x38775b(0x1fa)](_0x8ae681){const _0x174903=_0x38775b,_0x53d947=this[_0x174903(0x2c1)]();_0x53d947===0x0?this['_saveCache'](_0x8ae681):this[_0x174903(0x308)][_0x174903(0x157)](_0x8ae681,setTimeout(()=>this[_0x174903(0x4f1)](_0x8ae681),_0x53d947));}[_0x38775b(0x2c1)](){const _0x29068b=_0x38775b;var _0x299366;return(_0x299366=this[_0x29068b(0x2fe)][_0x29068b(0x2d8)](wn))!=null?_0x299366:Dn;}[_0x38775b(0x4f1)](_0x3f5d5a){const _0x48d997=_0x38775b,_0x3339eb=this[_0x48d997(0x308)][_0x48d997(0x53d)](_0x3f5d5a);return _0x3339eb!==void 0x0&&window[_0x48d997(0x35f)](_0x3339eb),this[_0x48d997(0x4a6)][_0x48d997(0x247)](Vs(_0x3f5d5a),this['_cachedData'][_0x48d997(0x53d)](_0x3f5d5a))[_0x48d997(0x4fa)](()=>this['_saveTaskMap'][_0x48d997(0x501)](_0x3f5d5a));}async['exhaustSavingTask'](){const _0x1cc430=_0x38775b,_0x22a7c4=[];this[_0x1cc430(0x308)][_0x1cc430(0x3d1)]((_0x13e8a0,_0x1a5b07)=>{const _0x3cda60=_0x1cc430;window[_0x3cda60(0x35f)](_0x13e8a0),_0x22a7c4[_0x3cda60(0x42f)](this[_0x3cda60(0x4f1)](_0x1a5b07)[_0x3cda60(0x4fa)](()=>{const _0x2e0670=_0x3cda60;this[_0x2e0670(0x308)]['delete'](_0x1a5b07);}));}),await Promise[_0x1cc430(0x2ce)](_0x22a7c4);}[_0x38775b(0x139)](){const _0x3141d2=_0x38775b;this[_0x3141d2(0x4d0)](this[_0x3141d2(0x49f)][_0x3141d2(0x3d6)](()=>{const _0x326264=_0x3141d2;if(this[_0x326264(0x308)]['size'])return this[_0x326264(0x3ef)]['t'](_0x326264(0x2a5));}));}};q=ho([Xe(0x0,_0x4025c4),Xe(0x1,_0x10c841),Xe(0x2,_0x5bd042),Xe(0x3,_0x1f52e5(_0x1d70b7)),Xe(0x4,_0x1f52e5(_0x19a47e))],q);function Vs(_0x2ae36e){return'unit-cache-'+_0x2ae36e;}var lo=Object[_0x38775b(0x4da)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x123480,_0x31ea4c,_0x274124,_0x35cc10)=>{const _0x545e44=_0x38775b;for(var _0x31e1f9=_0x35cc10>0x1?void 0x0:_0x35cc10?_o(_0x31ea4c,_0x274124):_0x31ea4c,_0x5acee8=_0x123480[_0x545e44(0x3be)]-0x1,_0x1e6b00;_0x5acee8>=0x0;_0x5acee8--)(_0x1e6b00=_0x123480[_0x5acee8])&&(_0x31e1f9=(_0x35cc10?_0x1e6b00(_0x31ea4c,_0x274124,_0x31e1f9):_0x1e6b00(_0x31e1f9))||_0x31e1f9);return _0x35cc10&&_0x31e1f9&&lo(_0x31ea4c,_0x274124,_0x31e1f9),_0x31e1f9;},Lt=(_0x45a73a,_0x1100bc)=>(_0x485af4,_0x3de183)=>_0x1100bc(_0x485af4,_0x3de183,_0x45a73a);function fo(_0x207bb7){const _0x27418c=_0x38775b,{unitID:_0x58fbc,mutations:_0x2c937a}=_0x207bb7;return{'unitId':_0x58fbc,'subUnitId':_0x2c937a[0x0]['params'][_0x27418c(0x3b0)]};}let mt=class{constructor(_0xc5fc82,_0x4fffda,_0x3a6d9f){const _0x306071=_0x38775b;this[_0x306071(0x361)]=_0xc5fc82,this[_0x306071(0x1e5)]=_0x4fffda,this['_instanceService']=_0x3a6d9f;}[_0x38775b(0x39e)](_0xbe558c){const _0x33837d=_0x38775b;var _0x2ae58b,_0x1f1d50,_0x3ff71e,_0x11dd42;const _0x58941f=this[_0x33837d(0x361)][_0x33837d(0x53d)](_0x3650d1),{unitId:_0x2608fb,subUnitId:_0x379239}=fo(_0xbe558c),_0x1785e0=_0x58941f[_0x33837d(0x342)](_0x2608fb)[_0x33837d(0x514)](),_0x3e3d5f=(_0x1f1d50=(_0x2ae58b=this['_instanceService']['getUnit'](_0x2608fb))==null?void 0x0:_0x2ae58b[_0x33837d(0x34e)]())==null?void 0x0:_0x1f1d50[_0x33837d(0x171)]();if(_0x1785e0[_0x33837d(0x3be)]===0x0||!_0x2608fb||!_0x379239)return;const _0x22a1f4=[{'id':_0x3b5632['id'],'params':{'unitId':_0x2608fb,'subUnitId':_0x3e3d5f,'selections':_0x51c383[_0x33837d(0x429)](_0x1785e0)}}],_0x4e213e=this['_transformService'][_0x33837d(0x35b)](_0xbe558c,_0x22a1f4);if(!_0x4658cc(_0x4e213e))throw _0x4e213e['error'];const _0x91f848=(_0x11dd42=(_0x3ff71e=_0x4e213e[_0x33837d(0x21f)][0x0])==null?void 0x0:_0x3ff71e[_0x33837d(0x403)])==null?void 0x0:_0x11dd42[_0x33837d(0x2f3)];if(Array[_0x33837d(0x370)](_0x91f848)&&_0x91f848[_0x33837d(0x3be)]){if(_0x91f848[_0x33837d(0x3be)]===_0x22a1f4[0x0][_0x33837d(0x403)][_0x33837d(0x2f3)][_0x33837d(0x3be)]&&_0x91f848[_0x33837d(0x19b)]((_0x101aa2,_0x3de888)=>_0x1196c3[_0x33837d(0x2ca)](_0x101aa2[_0x33837d(0x50b)],_0x22a1f4[0x0][_0x33837d(0x403)][_0x33837d(0x2f3)][_0x3de888][_0x33837d(0x50b)])))return;this[_0x33837d(0x361)]['get'](_0x1b7cfe)[_0x33837d(0x1f7)](_0x3b5632['id'],{'unitId':_0x2608fb,'subUnitId':_0x3e3d5f,'selections':_0x91f848});}}};mt=uo([Lt(0x0,_0x1f52e5(_0x72efa4)),Lt(0x1,_0x529376),Lt(0x2,_0x46df2f)],mt);const yt=_0x56892b(_0x38775b(0x32b));var xi=(_0x198c76=>(_0x198c76[_0x198c76['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x38775b(0x3e0),_0x198c76[_0x198c76[_0x38775b(0x518)]=0x1]=_0x38775b(0x518),_0x198c76))(xi||{});const Gs=0x7530,Ys=_0x38775b(0x461);class vo extends _0x50a3c2{constructor(){const _0xfcc284=_0x38775b;super(),g(this,'_id',_0x51c383['generateRandomId']()),g(this,_0xfcc284(0x33a),new Set()),g(this,_0xfcc284(0x3ee),new Map()),g(this,_0xfcc284(0x219),null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0xfcc284(0x442)]();}['dispose'](){const _0x1f395b=_0x38775b;super[_0x1f395b(0x369)](),this[_0x1f395b(0x136)]['forEach']((_0x1a47ce,_0x54e381)=>this[_0x1f395b(0x286)](_0x54e381)),this[_0x1f395b(0x219)]&&window['clearInterval'](this[_0x1f395b(0x219)]);}[_0x38775b(0x3ed)](_0x1ba4b7){const _0x2dd88e=_0x38775b;return this['_ensureSubject'](_0x1ba4b7)[_0x2dd88e(0x378)](_0x2f457a());}[_0x38775b(0x262)](_0x130dd2){const _0x28496a=_0x38775b;this[_0x28496a(0x33a)][_0x28496a(0x2d1)]===0x0&&this[_0x28496a(0x2a7)](),this[_0x28496a(0x33a)][_0x28496a(0x431)](_0x130dd2),this[_0x28496a(0x17a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x130dd2],'isForwarded':!0x1});}[_0x38775b(0x4f5)](_0x29318c){const _0x4619e8=_0x38775b;this[_0x4619e8(0x33a)]['delete'](_0x29318c),this['_selfUnitIDs'][_0x4619e8(0x2d1)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4619e8(0x219)]);}[_0x38775b(0x442)](){const _0x985842=_0x38775b;this[_0x985842(0x4d0)](_0x55f741(_0x5afba1(window,'storage')[_0x985842(0x39f)](_0x23fbb7=>{const _0x36f727=_0x985842;if(_0x23fbb7['key']!==Ys||!_0x23fbb7[_0x36f727(0x51d)])return;const _0x167930=JSON[_0x36f727(0x158)](_0x23fbb7[_0x36f727(0x51d)]);this[_0x36f727(0x2a0)](_0x167930);}))),window[_0x985842(0x212)](_0x985842(0x257),()=>this[_0x985842(0x17a)]({'type':0x1,'memberID':this[_0x985842(0x550)],'unitIDs':Array[_0x985842(0x3dd)](this[_0x985842(0x33a)])}));}[_0x38775b(0x2a0)](_0x53829d){const _0x4dc49a=_0x38775b;switch(_0x53829d[_0x4dc49a(0x302)]){case 0x0:this[_0x4dc49a(0x1b2)](_0x53829d);break;case 0x1:this[_0x4dc49a(0x38a)](_0x53829d);break;case 0x2:this['_handleHeartbeatEvent'](_0x53829d);break;}}[_0x38775b(0x1b2)](_0x3fd875){const _0x11ee6e=_0x38775b,{unitIDs:_0x18de59,memberID:_0x3536d8,isForwarded:_0x5c090b}=_0x3fd875;_0x18de59[_0x11ee6e(0x3d1)](_0x484775=>{const _0x15b06a=_0x11ee6e;if(!_0x5c090b&&this['_unitOnClients'][_0x15b06a(0x519)](_0x484775)&&this[_0x15b06a(0x523)](_0x484775)[_0x15b06a(0x1e8)](0x1),!this['_unitOnClients']['has'](_0x484775)||!this[_0x15b06a(0x3ee)][_0x15b06a(0x53d)](_0x484775)[_0x15b06a(0x519)](_0x3536d8)){const _0xb1b0c2=this[_0x15b06a(0x3ee)]['get'](_0x484775)||new Set();_0xb1b0c2[_0x15b06a(0x431)](_0x3536d8),this[_0x15b06a(0x3ee)][_0x15b06a(0x157)](_0x484775,_0xb1b0c2),this[_0x15b06a(0x21e)](_0x3536d8);}}),_0x5c090b||this[_0x11ee6e(0x17a)]({'type':0x0,'memberID':this[_0x11ee6e(0x550)],'unitIDs':[...this[_0x11ee6e(0x33a)]],'isForwarded':!0x0});}[_0x38775b(0x21e)](_0x4d800f){const _0x3c0f91=_0x38775b;this[_0x3c0f91(0x286)](_0x4d800f);const _0x1b3eef=window['setTimeout'](()=>{const _0x556ab8=_0x3c0f91;this[_0x556ab8(0x3ee)][_0x556ab8(0x3d1)](_0x3dd03d=>{const _0x168548=_0x556ab8;_0x3dd03d[_0x168548(0x501)](_0x4d800f);});},Gs*0x2);this[_0x3c0f91(0x136)][_0x3c0f91(0x157)](_0x4d800f,_0x1b3eef);}[_0x38775b(0x286)](_0xf97e57){const _0x4d24c6=_0x38775b;if(this['_clearOtherTimers'][_0x4d24c6(0x519)](_0xf97e57)){const _0x3ec33b=this['_clearOtherTimers']['get'](_0xf97e57);_0x3ec33b&&window[_0x4d24c6(0x35f)](_0x3ec33b),this[_0x4d24c6(0x136)][_0x4d24c6(0x157)](_0xf97e57,null);}}[_0x38775b(0x38a)](_0x124a41){const _0x2543fa=_0x38775b,{memberID:_0x3197be,unitIDs:_0x5ef6be}=_0x124a41;_0x5ef6be[_0x2543fa(0x3d1)](_0x575769=>{const _0x100ed2=_0x2543fa;var _0x308d67;const _0x52bf3f=this[_0x100ed2(0x3ee)]['get'](_0x575769);_0x52bf3f&&(_0x52bf3f[_0x100ed2(0x501)](_0x3197be),(_0x308d67=this['_ensureSubject'](_0x575769))==null||_0x308d67['next'](_0x52bf3f[_0x100ed2(0x2d1)]===0x0?0x0:0x1));}),this[_0x2543fa(0x286)](_0x3197be);}['_handleHeartbeatEvent'](_0x419231){const _0x13947c=_0x38775b;this[_0x13947c(0x21e)](_0x419231[_0x13947c(0x4f3)]);}[_0x38775b(0x17a)](_0x3f1443){const _0x14cbea=_0x38775b;localStorage[_0x14cbea(0x247)](Ys,JSON[_0x14cbea(0x20d)](_0x3f1443));}[_0x38775b(0x2a7)](){const _0x29c6bc=_0x38775b;this['_heartbeatTimer']=window[_0x29c6bc(0x1c2)](()=>{const _0x5861b2=_0x29c6bc;this[_0x5861b2(0x17a)]({'type':0x2,'memberID':this['_id']});},Gs);}[_0x38775b(0x523)](_0x156bf6){const _0x2f36fc=_0x38775b;return this[_0x2f36fc(0x4b5)][_0x2f36fc(0x519)](_0x156bf6)||this[_0x2f36fc(0x4b5)]['set'](_0x156bf6,new _0x5ec0c5(0x0)),this['_unitStatus'][_0x2f36fc(0x53d)](_0x156bf6);}}var mo=Object[_0x38775b(0x4da)],po=Object['getOwnPropertyDescriptor'],go=(_0x294f39,_0x312b18,_0x3c1bdf,_0x3acbfb)=>{for(var _0x15b6af=_0x3acbfb>0x1?void 0x0:_0x3acbfb?po(_0x312b18,_0x3c1bdf):_0x312b18,_0xec4613=_0x294f39['length']-0x1,_0x19c8a0;_0xec4613>=0x0;_0xec4613--)(_0x19c8a0=_0x294f39[_0xec4613])&&(_0x15b6af=(_0x3acbfb?_0x19c8a0(_0x312b18,_0x3c1bdf,_0x15b6af):_0x19c8a0(_0x15b6af))||_0x15b6af);return _0x3acbfb&&_0x15b6af&&mo(_0x312b18,_0x3c1bdf,_0x15b6af),_0x15b6af;},$t=(_0x4a7a44,_0xc66b6e)=>(_0x1a0a03,_0x91573)=>_0xc66b6e(_0x1a0a03,_0x91573,_0x4a7a44);let pt=class{constructor(_0x57f1b0,_0x1d39e2,_0x2a22d5){const _0x20cede=_0x38775b;this[_0x20cede(0x361)]=_0x57f1b0,this[_0x20cede(0x1e5)]=_0x1d39e2,this[_0x20cede(0x26e)]=_0x2a22d5;}[_0x38775b(0x16a)](_0x3de999){const _0x51fd4a=_0x38775b;this[_0x51fd4a(0x227)](_0x3de999);}['transformRemoteChangeset'](_0x4f6c62){const _0xc99dd2=_0x38775b,{unitID:_0x4397b2}=_0x4f6c62,{collaboration:_0x2299e2}=this[_0xc99dd2(0x26e)][_0xc99dd2(0x1b1)](_0x4397b2);if(_0x2299e2[_0xc99dd2(0x3be)]===0x0)return _0x4f6c62;let _0x54b0bf=_0x51c383[_0xc99dd2(0x429)](_0x4f6c62[_0xc99dd2(0x51a)][0x0]);for(let _0x5bb46d=0x0;_0x5bb46d<_0x2299e2[_0xc99dd2(0x3be)];_0x5bb46d++){const _0x2e0d98={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2299e2[_0x5bb46d][_0xc99dd2(0x138)],..._0x2299e2[_0x5bb46d][_0xc99dd2(0x3d4)]}},_0x20568a=this[_0xc99dd2(0x1e5)][_0xc99dd2(0x32f)](_0x54b0bf,_0x2e0d98,!0x1);if(_0x147cf3(_0x20568a))throw _0x20568a[_0xc99dd2(0x41e)];_0x54b0bf=_0x20568a['m1Prime'];}return{..._0x51c383[_0xc99dd2(0x429)](_0x4f6c62),'mutations':[_0x54b0bf]};}[_0x38775b(0x227)](_0x2fca96){const _0x30da46=_0x38775b,{unitID:_0x2596b9}=_0x2fca96,{history:_0x4f0cd3,collaboration:_0x659120}=this['_docStateChangeManagerService'][_0x30da46(0x1b1)](_0x2596b9);if(_0x4f0cd3['length']===0x0&&_0x659120['length']===0x0)return;const _0x51be1b=[],_0x4524da=[];let _0x3a6206=_0x51c383[_0x30da46(0x429)](_0x2fca96[_0x30da46(0x51a)][0x0]),_0x1b11d4=_0x51c383[_0x30da46(0x429)](_0x2fca96[_0x30da46(0x51a)][0x0]);for(let _0x3bb47c=_0x4f0cd3[_0x30da46(0x3be)]-0x1;_0x3bb47c>=0x0;_0x3bb47c--){const _0x768ef9={'id':_0x30da46(0x195),'params':{'unitId':_0x4f0cd3[_0x3bb47c][_0x30da46(0x138)],..._0x4f0cd3[_0x3bb47c][_0x30da46(0x41f)]}},_0x1787ad={'id':_0x30da46(0x195),'params':{'unitId':_0x4f0cd3[_0x3bb47c][_0x30da46(0x138)],..._0x4f0cd3[_0x3bb47c][_0x30da46(0x3d4)]}},_0x2f0bbb=this['_transformService'][_0x30da46(0x32f)](_0x3a6206,_0x768ef9,!0x1),_0xc96751=this['_transformService'][_0x30da46(0x32f)](_0x1b11d4,_0x1787ad,!0x1);if(_0x147cf3(_0x2f0bbb))throw _0x2f0bbb['error'];if(_0x147cf3(_0xc96751))throw _0xc96751[_0x30da46(0x41e)];_0x51be1b[_0x30da46(0x3d8)]({..._0x4f0cd3[_0x3bb47c],'undoState':_0x2f0bbb[_0x30da46(0x21f)][_0x30da46(0x403)],'redoState':_0xc96751[_0x30da46(0x21f)][_0x30da46(0x403)]}),_0x3a6206=_0x2f0bbb['m1Prime'],_0x1b11d4=_0xc96751[_0x30da46(0x2a4)];}_0x3a6206=_0x51c383[_0x30da46(0x429)](_0x2fca96[_0x30da46(0x51a)][0x0]),_0x1b11d4=_0x51c383['deepClone'](_0x2fca96[_0x30da46(0x51a)][0x0]);for(let _0x4b4e5a=_0x659120[_0x30da46(0x3be)]-0x1;_0x4b4e5a>=0x0;_0x4b4e5a--){const _0x2da848={'id':_0x30da46(0x195),'params':{'unitId':_0x659120[_0x4b4e5a][_0x30da46(0x138)],..._0x659120[_0x4b4e5a][_0x30da46(0x41f)]}},_0x36e9fe={'id':_0x30da46(0x195),'params':{'unitId':_0x659120[_0x4b4e5a][_0x30da46(0x138)],..._0x659120[_0x4b4e5a][_0x30da46(0x3d4)]}},_0x48274e=this[_0x30da46(0x1e5)][_0x30da46(0x32f)](_0x3a6206,_0x2da848,!0x1),_0x2c39e3=this[_0x30da46(0x1e5)]['transformMutation'](_0x1b11d4,_0x36e9fe,!0x1);if(_0x147cf3(_0x48274e))throw _0x48274e['error'];if(_0x147cf3(_0x2c39e3))throw _0x2c39e3[_0x30da46(0x41e)];_0x4524da['unshift']({..._0x659120[_0x4b4e5a],'undoState':_0x48274e[_0x30da46(0x21f)][_0x30da46(0x403)],'redoState':_0x2c39e3[_0x30da46(0x21f)][_0x30da46(0x403)]}),_0x3a6206=_0x48274e[_0x30da46(0x2a4)],_0x1b11d4=_0x2c39e3['m1Prime'];}this[_0x30da46(0x26e)]['setStateCache'](_0x2596b9,{'history':_0x51be1b,'collaboration':_0x4524da});}};pt=go([$t(0x0,_0x1f52e5(_0x72efa4)),$t(0x1,_0x529376),$t(0x2,_0x1f52e5(_0x17bfdd))],pt);function Li(_0x5ca506){const _0x5086ab=_0x38775b;let _0x1b5f9f='';for(const _0x1426a4 of _0x5ca506){const {startOffset:_0x204f6b,endOffset:_0x28062c,isActive:_0x508f0c,rangeType:_0x62a092,segmentId:_0x520714,segmentPage:_0x23758a}=_0x1426a4;_0x1b5f9f[_0x5086ab(0x3be)]&&(_0x1b5f9f+=','),_0x1b5f9f+=_0x204f6b+':'+_0x28062c+':'+(_0x508f0c?'1':'0')+':'+_0x62a092+':'+_0x520714+':'+_0x23758a;}return _0x1b5f9f;}function So(_0x32ad0c){const _0x5bc97c=_0x38775b,_0x5bc421=_0x32ad0c[_0x5bc97c(0x140)](','),_0x1d7663=[];for(const _0x27a7f3 of _0x5bc421){const [_0x23a119,_0xae32b7,_0x22dd52,_0x271bc2,_0x5d0868,_0x55d667]=_0x27a7f3[_0x5bc97c(0x140)](':');_0x1d7663['push']({'startOffset':Number(_0x23a119),'endOffset':Number(_0xae32b7),'collapsed':_0x23a119===_0xae32b7,'isActive':_0x22dd52==='1','rangeType':_0x271bc2===_0x3fab39[_0x5bc97c(0x4e8)]?_0x3fab39[_0x5bc97c(0x4e8)]:_0x3fab39['RECT'],'segmentId':typeof _0x5d0868==_0x5bc97c(0x27e)?String(_0x5d0868):'','segmentPage':Number(_0x55d667!=null?_0x55d667:-0x1)});}return _0x1d7663[_0x5bc97c(0x467)](_0x5e65a8=>_0x5e65a8[_0x5bc97c(0x3f9)])||(_0x1d7663[0x0]['isActive']=!0x0),_0x1d7663;}class Ts extends _0xeab596{constructor(){const _0x2618af=_0x38775b;super(...arguments),g(this,_0x2618af(0x2c3),new _0x5ec0c5(null)),g(this,_0x2618af(0x13c),this['_collabCursorState$'][_0x2618af(0x44a)]());}[_0x38775b(0x349)](_0x47d109){const _0x5c7b6b=_0x38775b,{unitID:_0x9a4516,memberID:_0x1321ad,textRanges:_0x5de640}=_0x47d109,_0x2451e2=Li(_0x5de640);if(_0x2451e2==='')return;const _0x3496af={'unitID':_0x9a4516,'memberID':_0x1321ad,'selection':_0x2451e2};this[_0x5c7b6b(0x2c3)][_0x5c7b6b(0x1e8)](_0x3496af);}}var Io=Object[_0x38775b(0x4da)],Co=Object[_0x38775b(0x1ed)],Eo=(_0x41910e,_0x277ba8,_0xc6c036,_0xe38901)=>{const _0x486b3b=_0x38775b;for(var _0x3ea8f0=_0xe38901>0x1?void 0x0:_0xe38901?Co(_0x277ba8,_0xc6c036):_0x277ba8,_0x2d2de5=_0x41910e[_0x486b3b(0x3be)]-0x1,_0x4510bd;_0x2d2de5>=0x0;_0x2d2de5--)(_0x4510bd=_0x41910e[_0x2d2de5])&&(_0x3ea8f0=(_0xe38901?_0x4510bd(_0x277ba8,_0xc6c036,_0x3ea8f0):_0x4510bd(_0x3ea8f0))||_0x3ea8f0);return _0xe38901&&_0x3ea8f0&&Io(_0x277ba8,_0xc6c036,_0x3ea8f0),_0x3ea8f0;},Ks=(_0x4c7dd7,_0x442bc5)=>(_0x1fc42d,_0x416275)=>_0x442bc5(_0x1fc42d,_0x416275,_0x4c7dd7);let gt=class{constructor(_0x2fd127,_0x5c6966){const _0x47a714=_0x38775b;this[_0x47a714(0x361)]=_0x2fd127,this[_0x47a714(0x1e5)]=_0x5c6966;}[_0x38775b(0x39e)](_0x54603c){const _0x1bcfcf=_0x38775b;var _0xfbf06e;const _0x38b25d=this[_0x1bcfcf(0x361)][_0x1bcfcf(0x53d)](_0x286cc5),_0x56ed99=(_0xfbf06e=_0x38b25d[_0x1bcfcf(0x314)]())!=null?_0xfbf06e:[];if(_0x56ed99[_0x1bcfcf(0x3be)]===0x0)return;const _0x51a6aa=_0x54603c[_0x1bcfcf(0x52a)],_0x105b7e=[{'id':_0x1bcfcf(0x195),'params':{'unitId':_0x51a6aa,'actions':null,'textRanges':_0x56ed99}}],_0xd540e=this[_0x1bcfcf(0x1e5)]['transformMutationsWithChangeset'](_0x54603c,_0x105b7e);if(!_0x4658cc(_0xd540e))throw _0xd540e[_0x1bcfcf(0x41e)];const _0x81c35d=_0xd540e[_0x1bcfcf(0x21f)][0x0][_0x1bcfcf(0x403)][_0x1bcfcf(0x22a)];Array[_0x1bcfcf(0x370)](_0x81c35d)&&_0x81c35d[_0x1bcfcf(0x3be)]&&_0x38b25d[_0x1bcfcf(0x364)](_0x81c35d,{'unitId':_0x51a6aa,'subUnitId':_0x51a6aa},!0x1);}};gt=Eo([Ks(0x0,_0x1f52e5(_0x72efa4)),Ks(0x1,_0x529376)],gt);const bo=new Set([_0x2ced41['id']]);function zs(_0x34e258,_0x1c9977,_0x5d834a,_0x4a2478,_0x27457e){const _0x5606b4=_0x38775b;var _0x46aa7b,_0x8598e6,_0x9ac1be,_0x4152ad;const _0x57b00d=[];for(const _0x2dc1c0 of _0x34e258)if(bo[_0x5606b4(0x519)](_0x2dc1c0['id'])){if(_0x57b00d[_0x5606b4(0x3be)]>0x0)break;_0x57b00d[_0x5606b4(0x42f)](_0x2dc1c0);break;}else _0x57b00d['push'](_0x2dc1c0);const _0x2eadc8=(_0x8598e6=(_0x46aa7b=_0x27457e[_0x5606b4(0x413)]())==null?void 0x0:_0x46aa7b[_0x5606b4(0x1a8)])!=null?_0x8598e6:'unknown',_0xbb8e30=(_0x4152ad=(_0x9ac1be=_0x27457e[_0x5606b4(0x413)]())==null?void 0x0:_0x9ac1be[_0x5606b4(0x4f3)])!=null?_0x4152ad:_0x5606b4(0x223);return{'changeset':{'unitID':_0x1c9977,'type':_0x429860(_0x5d834a[_0x5606b4(0x2ab)](_0x1c9977)),'baseRev':_0x4a2478[_0x5606b4(0x17c)](_0x1c9977),'revision':0x0,'userID':_0x2eadc8,'memberID':_0xbb8e30,'mutations':_0x57b00d},'pendingMutations':_0x34e258['slice'](_0x57b00d[_0x5606b4(0x3be)])};}function To(_0x5789c7,_0x3379fc,_0x35f813,_0x43c67b,_0x1c4f69){const _0x10333e=_0x38775b;var _0x1c5e54,_0x3c6026,_0x5b86bb,_0x3538bc;const _0xf5497a=[_0x5789c7[_0x10333e(0x2d3)]((_0x26e3d4,_0x524551)=>{const _0x3d791d=_0x10333e;var _0x3af0cb;const {id:_0x28f495}=_0x26e3d4,{id:_0xf065f,type:_0x473604}=_0x524551,_0x27441b=(_0x3af0cb=_0x26e3d4[_0x3d791d(0x403)])!=null?_0x3af0cb:{'actions':null},_0x46fc24=_0x524551['params'];if(_0x28f495&&_0x28f495!==_0xf065f)throw new Error(_0x3d791d(0x3ab)+_0x28f495+_0x3d791d(0x438)+_0xf065f+'.');return{..._0x26e3d4,'id':_0xf065f,'type':_0x473604,'params':{'unitId':_0x46fc24['unitId'],'textRanges':_0x46fc24['textRanges'],'actions':_0x1b868d[_0x3d791d(0x443)](_0x27441b[_0x3d791d(0x2f8)],_0x46fc24[_0x3d791d(0x2f8)])}};},{})],_0x5b1db1=(_0x3c6026=(_0x1c5e54=_0x1c4f69[_0x10333e(0x413)]())==null?void 0x0:_0x1c5e54[_0x10333e(0x1a8)])!=null?_0x3c6026:_0x10333e(0x223),_0xf9d87c=(_0x3538bc=(_0x5b86bb=_0x1c4f69[_0x10333e(0x413)]())==null?void 0x0:_0x5b86bb['memberID'])!=null?_0x3538bc:'unknown';return{'changeset':{'unitID':_0x3379fc,'type':_0x429860(_0x35f813[_0x10333e(0x2ab)](_0x3379fc)),'baseRev':_0x43c67b[_0x10333e(0x17c)](_0x3379fc),'revision':0x0,'userID':_0x5b1db1,'memberID':_0xf9d87c,'mutations':_0xf5497a},'pendingMutations':[]};}function $i(_0x5b17c6,_0x3922a6){const _0x4f5a4d=_0x38775b,_0x3ab6c1=new _0x1dd5df(0x1);return setTimeout(()=>_0x3ab6c1[_0x4f5a4d(0x1e8)](_0x3922a6),_0x5b17c6),_0x3ab6c1[_0x4f5a4d(0x44a)]()['pipe'](_0x51e7ad(0x1));}const Ro={'id':_0x222c6d['id'],'type':_0x1331d3[_0x38775b(0x47a)],'params':{}};var Oo=Object[_0x38775b(0x4da)],yo=Object['getOwnPropertyDescriptor'],$e=(_0x24ef1a,_0xa9e38,_0x368227,_0x5b23f4)=>{const _0x3fa946=_0x38775b;for(var _0x17ade0=_0x5b23f4>0x1?void 0x0:_0x5b23f4?yo(_0xa9e38,_0x368227):_0xa9e38,_0x4380a7=_0x24ef1a[_0x3fa946(0x3be)]-0x1,_0x1997d8;_0x4380a7>=0x0;_0x4380a7--)(_0x1997d8=_0x24ef1a[_0x4380a7])&&(_0x17ade0=(_0x5b23f4?_0x1997d8(_0xa9e38,_0x368227,_0x17ade0):_0x1997d8(_0x17ade0))||_0x17ade0);return _0x5b23f4&&_0x17ade0&&Oo(_0xa9e38,_0x368227,_0x17ade0),_0x17ade0;},A=(_0x3b0e9e,_0x27b97e)=>(_0x4b962d,_0x5b23a6)=>_0x27b97e(_0x4b962d,_0x5b23a6,_0x3b0e9e),J=(_0x43f5fe=>(_0x43f5fe[_0x38775b(0x1cf)]='not_collab',_0x43f5fe[_0x38775b(0x2a9)]=_0x38775b(0x448),_0x43f5fe[_0x38775b(0x377)]='pending',_0x43f5fe[_0x38775b(0x507)]=_0x38775b(0x13e),_0x43f5fe[_0x38775b(0x376)]=_0x38775b(0x39c),_0x43f5fe['FETCH_MISS']=_0x38775b(0x357),_0x43f5fe[_0x38775b(0x12d)]=_0x38775b(0x189),_0x43f5fe['OFFLINE']=_0x38775b(0x53f),_0x43f5fe))(J||{});const Hi=0xea60;class He{constructor(_0x5d8216,_0x10553a,_0x122ecd,_0x56bb38,_0x417063,_0x2e583f,_0x2ce6dc,_0x77fd98,_0x26f7c8){const _0x11bd89=_0x38775b;g(this,_0x11bd89(0x1a3),null),g(this,_0x11bd89(0x3e4),[]),(this[_0x11bd89(0x52a)]=_0x5d8216,this['type']=_0x10553a,this[_0x11bd89(0x289)]=_0x417063,this[_0x11bd89(0x3a9)]=_0x2e583f,this[_0x11bd89(0x425)]=_0x2ce6dc,this[_0x11bd89(0x449)]=_0x77fd98,this[_0x11bd89(0x177)]=_0x26f7c8,this[_0x11bd89(0x1a3)]=_0x122ecd,this['_pendingMutations']=_0x56bb38);}[_0x38775b(0x14f)](_0x3c346f){const _0x37b17f=_0x38775b,_0xe387db=this[_0x37b17f(0x449)][_0x37b17f(0x17c)](this[_0x37b17f(0x52a)]);return _0x3c346f['revision']>_0xe387db+0x1?(this[_0x37b17f(0x289)][_0x37b17f(0x201)]({'from':_0xe387db,'to':_0x3c346f[_0x37b17f(0x45d)]-0x1}),!0x0):!0x1;}[_0x38775b(0x3dc)](_0x2253e9){const _0x35cc4c=_0x38775b;this['_undoRedoService'][_0x35cc4c(0x3f1)](this[_0x35cc4c(0x52a)],_0x2253e9);}[_0x38775b(0x1f8)](_0x2cc064){const _0x112d63=_0x38775b;var _0x5d2583,_0x4c6ccd;(_0x4c6ccd=(_0x5d2583=this[_0x112d63(0x289)])[_0x112d63(0x2ad)])==null||_0x4c6ccd[_0x112d63(0x434)](_0x5d2583,_0x2cc064);}[_0x38775b(0x163)](_0x1d0b5b){const _0xdbca2a=_0x38775b;var _0x123266,_0x5efd7a;return(_0x5efd7a=(_0x123266=this[_0xdbca2a(0x289)])[_0xdbca2a(0x535)])==null?void 0x0:_0x5efd7a[_0xdbca2a(0x434)](_0x123266,_0x1d0b5b);}[_0x38775b(0x389)](_0x119d2b){const _0x5ae54e=_0x38775b;var _0x3f93ec,_0x41d1a3;return(_0x41d1a3=(_0x3f93ec=this[_0x5ae54e(0x289)])['onTransformState'])==null?void 0x0:_0x41d1a3[_0x5ae54e(0x434)](_0x3f93ec,_0x119d2b);}[_0x38775b(0x30b)](_0x5a8605){const _0x11039e=_0x38775b;var _0x40e8c5,_0x17daf8,_0x3dcacb;return(_0x3dcacb=(_0x17daf8=(_0x40e8c5=this['_handler'])[_0x11039e(0x23b)])==null?void 0x0:_0x17daf8[_0x11039e(0x434)](_0x40e8c5,_0x5a8605))!=null?_0x3dcacb:_0x5a8605;}[_0x38775b(0x331)](_0x40f0b8){const _0x278387=_0x38775b;var _0xc083a0,_0x1a9c32,_0x4af3a3;return(_0x4af3a3=(_0x1a9c32=(_0xc083a0=this[_0x278387(0x289)])[_0x278387(0x2c9)])==null?void 0x0:_0x1a9c32['call'](_0xc083a0,_0x40f0b8))!=null?_0x4af3a3:_0x40f0b8;}['_syncEditingCollabCursor'](_0x1a2f08){const _0x513cd0=_0x38775b;var _0x1dd4e1,_0x1e629f;if(this[_0x513cd0(0x302)]===ce[_0x513cd0(0x393)]){const {unitID:_0x1f7dba,mutations:_0x3217c9,memberID:_0x1f9dcf}=_0x1a2f08,_0xe91dab=_0x3217c9[0x0][_0x513cd0(0x403)]['textRanges'];Array[_0x513cd0(0x370)](_0xe91dab)&&_0xe91dab[_0x513cd0(0x3be)]>0x0&&((_0x1e629f=(_0x1dd4e1=this['_handler'])[_0x513cd0(0x280)])==null||_0x1e629f[_0x513cd0(0x434)](_0x1dd4e1,{'unitID':_0x1f7dba,'memberID':_0x1f9dcf,'textRanges':_0xe91dab}));}}['_updateLocalCache'](){const _0x26b5d1=_0x38775b;this['_localCacheService'][_0x26b5d1(0x18a)](this[_0x26b5d1(0x52a)],this[_0x26b5d1(0x302)],this[_0x26b5d1(0x1a3)],this[_0x26b5d1(0x3e4)]);}[_0x38775b(0x256)](){const _0x386900=_0x38775b;return this[_0x386900(0x449)][_0x386900(0x17c)](this[_0x386900(0x52a)]);}[_0x38775b(0x30d)](){const _0x5a93b7=_0x38775b;this[_0x5a93b7(0x449)][_0x5a93b7(0x3da)](this[_0x5a93b7(0x52a)]);}[_0x38775b(0x141)](_0x5eb5a8){const _0x143fa0=_0x38775b;var _0x39441b;let _0x4de290=this[_0x143fa0(0x30b)](_0x5eb5a8);_0x4de290=this[_0x143fa0(0x331)](_0x4de290);const _0x3bd2bd=_0x175e7c(_0x4de290[_0x143fa0(0x51a)],this[_0x143fa0(0x3a9)],{'fromCollab':!0x0});if(!_0x3bd2bd['result'])throw _0x3bd2bd['error']instanceof Error?_0x3bd2bd['error']:new Error((_0x39441b=_0x3bd2bd[_0x143fa0(0x41e)])!=null?_0x39441b:_0x143fa0(0x1a6));this[_0x143fa0(0x163)](_0x4de290),this['_transformStateCache'](_0x4de290),this[_0x143fa0(0x3dc)](_0x5eb5a8),this['_transformSelections'](_0x4de290),this[_0x143fa0(0x3ea)](_0x4de290),this[_0x143fa0(0x30d)]();}}let Fe=class extends He{constructor(_0x47d787,_0x6e4366,_0x43721d,_0x3bcb5b,_0x5074ca,_0x13d33d,_0x59e5bb,_0x5354f4,_0x423797,_0x40ed6c){const _0x1fe688=_0x38775b;super(_0x47d787,_0x6e4366,null,[],_0x43721d,_0x5354f4,_0x59e5bb,_0x3bcb5b,_0x5074ca),g(this,_0x1fe688(0x21a),_0x1fe688(0x448)),(this[_0x1fe688(0x361)]=_0x13d33d,this['_logService']=_0x423797,this[_0x1fe688(0x1e5)]=_0x40ed6c);}[_0x38775b(0x265)](_0x1ae18c){const _0x31cdbe=_0x38775b,_0x2f4f08=this[_0x31cdbe(0x361)][_0x31cdbe(0x248)](pe,this['unitID'],this[_0x31cdbe(0x302)],[_0x1ae18c],this[_0x31cdbe(0x289)]);return _0x2f4f08[_0x31cdbe(0x28b)](),_0x2f4f08[_0x31cdbe(0x55a)](),_0x2f4f08;}[_0x38775b(0x1d6)](_0x49afc6){const _0x1f3779=_0x38775b;if(this['_checkMissing'](_0x49afc6))return this[_0x1f3779(0x361)][_0x1f3779(0x248)](he,this[_0x1f3779(0x52a)],this[_0x1f3779(0x302)],null,[],null,[_0x49afc6],this[_0x1f3779(0x289)]);try{const _0x2c5a3a=this[_0x1f3779(0x1e5)][_0x1f3779(0x35b)](_0x49afc6,[Ro]);if(_0x4658cc(_0x2c5a3a)){const {c1Prime:_0x27651f}=_0x2c5a3a;return this['_executeRemoteChangeset'](_0x27651f),this;}throw _0x2c5a3a['error'];}catch(_0x2bc672){return this[_0x1f3779(0x42a)][_0x1f3779(0x41e)](_0x2bc672),this[_0x1f3779(0x4df)](!0x1);}}['_onConflict'](_0x51668b){const _0x1d20f3=_0x38775b;return this[_0x1d20f3(0x361)][_0x1d20f3(0x248)](Oe,this['unitID'],this[_0x1d20f3(0x302)],null,[],this[_0x1d20f3(0x289)],_0x51668b);}[_0x38775b(0x25e)](){const _0x107d77=_0x38775b;throw new Error(_0x107d77(0x2b8));}[_0x38775b(0x132)](){const _0x16a0da=_0x38775b;throw new Error(_0x16a0da(0x4b0));}[_0x38775b(0x43f)](){return this;}[_0x38775b(0x24b)](){const _0x32211d=_0x38775b;return this[_0x32211d(0x361)][_0x32211d(0x248)](ye,this[_0x32211d(0x52a)],this[_0x32211d(0x302)],null,[],this['_handler']);}[_0x38775b(0x4db)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x38775b(0x209)](){const _0x1c62fc=_0x38775b,_0x456be5=this['_revisionService'][_0x1c62fc(0x17c)](this[_0x1c62fc(0x52a)]);return this['_handler'][_0x1c62fc(0x201)]({'from':_0x456be5,'to':0x0}),this[_0x1c62fc(0x361)]['createInstance'](he,this[_0x1c62fc(0x52a)],this[_0x1c62fc(0x302)],null,[],null,[],this[_0x1c62fc(0x289)]);}};Fe=$e([A(0x3,_0x1f52e5(_0x19a47e)),A(0x4,_0x1f52e5(q)),A(0x5,_0x1f52e5(_0x72efa4)),A(0x6,_0x809157),A(0x7,_0x1b7cfe),A(0x8,_0x1fda4b),A(0x9,_0x529376)],Fe);let pe=class extends He{constructor(_0x575132,_0x349c60,_0x6f9585,_0x142474,_0xf468c3,_0x5b103e,_0x119cde,_0x4c8ae3,_0x5abe8f,_0x705963,_0x530437,_0x1b62b9,_0x544c28,_0x3bbcd8){const _0x229dd6=_0x38775b;super(_0x575132,_0x349c60,null,_0x6f9585,_0x142474,_0x705963,_0x3bbcd8,_0x5b103e,_0x119cde),g(this,_0x229dd6(0x21a),_0x229dd6(0x513)),g(this,'_scheduleTimestamp',null),g(this,_0x229dd6(0x396),null),(this[_0x229dd6(0x361)]=_0xf468c3,this[_0x229dd6(0x487)]=_0x4c8ae3,this[_0x229dd6(0x42a)]=_0x5abe8f,this[_0x229dd6(0x2fe)]=_0x530437,this[_0x229dd6(0x1e5)]=_0x1b62b9,this['_univerInstanceService']=_0x544c28);}[_0x38775b(0x265)](_0x236ef5){const _0x1bfac9=_0x38775b;return this[_0x1bfac9(0x3e4)][_0x1bfac9(0x42f)](_0x236ef5),this[_0x1bfac9(0x55a)](),this;}[_0x38775b(0x1d6)](_0x3ca73f){const _0x179e72=_0x38775b;if(this['_checkMissing'](_0x3ca73f))return this[_0x179e72(0x3d0)](),this['_injector'][_0x179e72(0x248)](he,this[_0x179e72(0x52a)],this['type'],null,this[_0x179e72(0x3e4)],null,[_0x3ca73f],this[_0x179e72(0x289)]);try{const _0x2c3b85=this[_0x179e72(0x1e5)]['transformMutationsWithChangeset'](_0x3ca73f,this[_0x179e72(0x3e4)]);if(_0x4658cc(_0x2c3b85)){const {c1Prime:_0x4f6b63,m2Prime:_0x5a35ab}=_0x2c3b85;this['_executeRemoteChangeset'](_0x4f6b63);const _0x245fea=this['_injector'][_0x179e72(0x248)](pe,this['unitID'],this[_0x179e72(0x302)],_0x5a35ab,this[_0x179e72(0x289)]);return this[_0x179e72(0x3d0)](),_0x245fea[_0x179e72(0x28b)](this[_0x179e72(0x527)]?Math[_0x179e72(0x3b8)](0x0,new Date()[_0x179e72(0x1df)]()-this[_0x179e72(0x527)]):this['_getSendChangesetTimeout']()),_0x245fea;}throw _0x2c3b85[_0x179e72(0x41e)];}catch(_0x5418c4){return this['_logService'][_0x179e72(0x41e)](_0x5418c4),this[_0x179e72(0x4df)](!0x1);}}[_0x38775b(0x25e)](){const _0x197e25=_0x38775b;throw new Error(_0x197e25(0x283));}[_0x38775b(0x132)](){const _0x1cc6f4=_0x38775b;throw new Error(_0x1cc6f4(0x33d));}['onRemoteRetry'](){return this;}[_0x38775b(0x24b)](){const _0x2c345a=_0x38775b;return this[_0x2c345a(0x3d0)](),this['_injector'][_0x2c345a(0x248)](ye,this[_0x2c345a(0x52a)],this[_0x2c345a(0x302)],null,this['_pendingMutations'],this[_0x2c345a(0x289)]);}['toggleOnline'](){return this;}['_schedule'](_0x3c0510){const _0x5b1c17=_0x38775b,_0x26ea66=_0x3c0510!=null?_0x3c0510:this['_getSendChangesetTimeout']();this[_0x5b1c17(0x527)]=new Date()['getTime'](),this[_0x5b1c17(0x396)]=window[_0x5b1c17(0x3b9)](()=>{const _0x63d927=_0x5b1c17;this[_0x63d927(0x3d0)]();let _0x432240=null;switch(this[_0x63d927(0x302)]){case ce[_0x63d927(0x372)]:{_0x432240=zs(this['_pendingMutations'],this['unitID'],this[_0x63d927(0x2f4)],this[_0x63d927(0x449)],this[_0x63d927(0x487)]);break;}case ce[_0x63d927(0x393)]:{this[_0x63d927(0x3e4)][_0x63d927(0x19b)](_0x48d5bf=>_0x48d5bf['id']===_0x538ca6['id'])?_0x432240=To(this[_0x63d927(0x3e4)],this[_0x63d927(0x52a)],this['_univerInstanceService'],this['_revisionService'],this[_0x63d927(0x487)]):_0x432240=zs(this[_0x63d927(0x3e4)],this['unitID'],this[_0x63d927(0x2f4)],this[_0x63d927(0x449)],this[_0x63d927(0x487)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x63d927(0x302)]+_0x63d927(0x214));}const {changeset:_0x1c9159,pendingMutations:_0x1b4531}=_0x432240;this[_0x63d927(0x289)][_0x63d927(0x1bb)](_0x1c9159);const _0x1f5db1=_0x1b4531[_0x63d927(0x3be)]?this[_0x63d927(0x361)][_0x63d927(0x248)](ge,this[_0x63d927(0x52a)],this[_0x63d927(0x302)],_0x1c9159,_0x1b4531,this[_0x63d927(0x289)],void 0x0):this[_0x63d927(0x361)][_0x63d927(0x248)](Re,this['unitID'],this[_0x63d927(0x302)],_0x1c9159,this[_0x63d927(0x289)]);_0x1f5db1['_updateLocalCache'](),this[_0x63d927(0x289)][_0x63d927(0x176)](this,_0x1f5db1);},_0x26ea66);}[_0x38775b(0x225)](){const _0x468adb=_0x38775b;var _0x858d7e;const _0x13b017=this[_0x468adb(0x2fe)][_0x468adb(0x2d8)](ee);return(_0x858d7e=_0x13b017==null?void 0x0:_0x13b017['sendChangesetTimeout'])!=null?_0x858d7e:Sn;}[_0x38775b(0x4eb)](){const _0x3abc17=_0x38775b;throw new Error(_0x3abc17(0x17f));}[_0x38775b(0x3d0)](){const _0xd3d3ee=_0x38775b;this[_0xd3d3ee(0x396)]!=null&&(clearTimeout(this[_0xd3d3ee(0x396)]),this['_sendingTimer']=null);}[_0x38775b(0x4df)](_0x30a588){const _0x3c927f=_0x38775b;return this[_0x3c927f(0x3d0)](),this['_injector'][_0x3c927f(0x248)](Oe,this[_0x3c927f(0x52a)],this[_0x3c927f(0x302)],null,this['_pendingMutations'],this[_0x3c927f(0x289)],_0x30a588);}};pe=$e([A(0x4,_0x1f52e5(_0x72efa4)),A(0x5,_0x1f52e5(_0x19a47e)),A(0x6,_0x1f52e5(q)),A(0x7,_0x1f52e5(Me)),A(0x8,_0x1fda4b),A(0x9,_0x1b7cfe),A(0xa,_0x4025c4),A(0xb,_0x529376),A(0xc,_0x46df2f),A(0xd,_0x809157)],pe);let Re=class extends He{constructor(_0x39ec45,_0x3d9f52,_0x5aee17,_0x437a62,_0x212805,_0x503b93,_0x2fc6e7,_0x4574c3,_0x3ac0f3,_0x6e7ce9,_0x2432eb){const _0x4a6478=_0x38775b;super(_0x39ec45,_0x3d9f52,_0x5aee17,[],_0x437a62,_0x4574c3,_0x2432eb,_0x503b93,_0x2fc6e7),g(this,_0x4a6478(0x21a),_0x4a6478(0x13e)),g(this,'_resendTimeout',0x0),g(this,_0x4a6478(0x4fe)),g(this,_0x4a6478(0x2f7)),(this[_0x4a6478(0x361)]=_0x212805,this[_0x4a6478(0x42a)]=_0x3ac0f3,this[_0x4a6478(0x1e5)]=_0x6e7ce9);}[_0x38775b(0x265)](_0x4995ff){const _0x1d4285=_0x38775b;this[_0x1d4285(0x3d0)]();const _0x535014=this[_0x1d4285(0x361)][_0x1d4285(0x248)](ge,this['unitID'],this[_0x1d4285(0x302)],this['_awaitingChangeset'],[_0x4995ff],this[_0x1d4285(0x289)],this[_0x1d4285(0x4fe)]);return _0x535014['_updateLocalCache'](),_0x535014;}[_0x38775b(0x1d6)](_0x575a2e){const _0x305d1c=_0x38775b;if(this['_checkMissing'](_0x575a2e))return this['_clearScheduledTask'](),this[_0x305d1c(0x361)][_0x305d1c(0x248)](he,this[_0x305d1c(0x52a)],this[_0x305d1c(0x302)],this[_0x305d1c(0x1a3)],[],null,[_0x575a2e],this[_0x305d1c(0x289)]);try{const _0x3cadb9=this[_0x305d1c(0x1e5)][_0x305d1c(0x155)]([_0x575a2e],[this[_0x305d1c(0x1a3)]],!0x1);if(_0x40aeb8(_0x3cadb9)){const {c1Prime:_0x5cafb1,c2Prime:_0x294b32}=_0x3cadb9;this[_0x305d1c(0x141)](_0x5cafb1[0x0]),_0x294b32[0x0][_0x305d1c(0x3b6)]=this[_0x305d1c(0x256)](),this[_0x305d1c(0x3d0)]();const _0x3363d3=this[_0x305d1c(0x361)]['createInstance'](Re,this['unitID'],this[_0x305d1c(0x302)],_0x294b32[0x0],this[_0x305d1c(0x289)]);return _0x3363d3['_updateLocalCache'](),_0x3363d3;}return this['_onConflict'](!0x1);}catch(_0x2e0c5e){return this[_0x305d1c(0x42a)]['error'](_0x2e0c5e),this[_0x305d1c(0x4df)](!0x1);}}[_0x38775b(0x25e)](_0x58b2c9){const _0xc79528=_0x38775b;this[_0xc79528(0x3d0)]();const _0x3e4969=this[_0xc79528(0x449)][_0xc79528(0x17c)](this[_0xc79528(0x52a)]);if(_0x58b2c9[_0xc79528(0x45d)]<_0x3e4969-0x1)return this;if(this['_checkMissing'](_0x58b2c9))return this[_0xc79528(0x361)]['createInstance'](he,this['unitID'],this[_0xc79528(0x302)],null,[],this[_0xc79528(0x1a3)],[],this[_0xc79528(0x289)]);this[_0xc79528(0x30d)]();const _0x197187=this['_injector']['createInstance'](Fe,this[_0xc79528(0x52a)],this[_0xc79528(0x302)],this[_0xc79528(0x289)]);return _0x197187[_0xc79528(0x55a)](),_0x197187;}[_0x38775b(0x132)](_0x41e591){const _0x83a2aa=_0x38775b;return this['_onConflict'](!!(_0x41e591!=null&&_0x41e591[_0x83a2aa(0x534)]));}['onRemoteRetry'](_0x1d2e4d){const _0x59fa05=_0x38775b;return this['_resendTimeout']>Hi?this[_0x59fa05(0x24b)]():(this['_resendTimer']=$i(this[_0x59fa05(0x3c9)],{'timeout':this['_resendTimeout'],'reqId':_0x1d2e4d[_0x59fa05(0x2aa)]}),this[_0x59fa05(0x2f7)]=this[_0x59fa05(0x4fe)][_0x59fa05(0x39f)](({reqId:_0x50a1fd,timeout:_0x3c64c0})=>{const _0x2f0e48=_0x59fa05;this[_0x2f0e48(0x40e)](_0x50a1fd,_0x3c64c0);}),this);}[_0x38775b(0x24b)](){const _0x15fc2b=_0x38775b;return this['_clearScheduledTask'](),this[_0x15fc2b(0x361)][_0x15fc2b(0x248)](ye,this['unitID'],this[_0x15fc2b(0x302)],this[_0x15fc2b(0x1a3)],[],this['_handler']);}[_0x38775b(0x4db)](){return this;}[_0x38775b(0x4eb)](){const _0x5f123e=_0x38775b;this[_0x5f123e(0x289)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x38775b(0x4df)](_0x5175a2){const _0x4aa8af=_0x38775b;return this[_0x4aa8af(0x3d0)](),this['_injector'][_0x4aa8af(0x248)](Oe,this['unitID'],this['type'],this[_0x4aa8af(0x1a3)],[],this[_0x4aa8af(0x289)],_0x5175a2);}[_0x38775b(0x40e)](_0x5a2afe,_0x38a908){const _0x274ca0=_0x38775b;var _0x108c7f;_0x5a2afe===((_0x108c7f=this[_0x274ca0(0x1a3)])==null?void 0x0:_0x108c7f['reqId'])&&(this['resend'](),this[_0x274ca0(0x3c9)]=_0x38a908===0x0?0x3e8:_0x38a908*0x2);}['_clearScheduledTask'](){const _0x3bd18b=_0x38775b;var _0x349666;(_0x349666=this[_0x3bd18b(0x2f7)])==null||_0x349666['unsubscribe'](),this[_0x3bd18b(0x3c9)]=0x0;}};Re=$e([A(0x4,_0x1f52e5(_0x72efa4)),A(0x5,_0x1f52e5(_0x19a47e)),A(0x6,_0x1f52e5(q)),A(0x7,_0x1b7cfe),A(0x8,_0x1fda4b),A(0x9,_0x529376),A(0xa,_0x809157)],Re);let ge=class extends He{constructor(_0x54f172,_0x2a27e1,_0x5106e7,_0x1fd0a3,_0x1cbf8a,_0xb6d72e,_0x35899f,_0x8b0321,_0x8b5c62,_0x20fba2,_0x59662a,_0x4c71e9,_0x507056){const _0x2878aa=_0x38775b;super(_0x54f172,_0x2a27e1,_0x5106e7,_0x1fd0a3,_0x1cbf8a,_0x20fba2,_0x507056,_0x8b0321,_0x8b5c62),g(this,_0x2878aa(0x21a),'awaiting_with_pending'),g(this,_0x2878aa(0x3c9),0x0),g(this,_0x2878aa(0x4fe)),g(this,_0x2878aa(0x2f7)),(this['_injector']=_0x35899f,this[_0x2878aa(0x42a)]=_0x59662a,this[_0x2878aa(0x1e5)]=_0x4c71e9,_0xb6d72e&&(this[_0x2878aa(0x4fe)]=_0xb6d72e,this[_0x2878aa(0x2f7)]=this[_0x2878aa(0x4fe)][_0x2878aa(0x39f)](({reqId:_0x2033ba,timeout:_0x128024})=>{const _0x356765=_0x2878aa;this[_0x356765(0x40e)](_0x2033ba,_0x128024);})));}['appendMutation'](_0x2e6a51){const _0x8a6aef=_0x38775b;return this['_pendingMutations'][_0x8a6aef(0x42f)](_0x2e6a51),this;}['onRemoteChangeset'](_0x43806f){const _0x1005e6=_0x38775b;if(this[_0x1005e6(0x14f)](_0x43806f))return this[_0x1005e6(0x3d0)](),this[_0x1005e6(0x361)][_0x1005e6(0x248)](he,this['unitID'],this[_0x1005e6(0x302)],this[_0x1005e6(0x1a3)],this[_0x1005e6(0x3e4)],null,[_0x43806f],this['_handler']);try{const _0xa30d65=this[_0x1005e6(0x1e5)][_0x1005e6(0x155)]([_0x43806f],[this[_0x1005e6(0x1a3)]],!0x1);if(_0x40aeb8(_0xa30d65)){const {c1Prime:_0x16086e,c2Prime:_0x328656}=_0xa30d65,_0x3364f0=this['_transformService'][_0x1005e6(0x35b)](_0x16086e[0x0],this[_0x1005e6(0x3e4)]);if(_0x4658cc(_0x3364f0)){const {c1Prime:_0x47921e,m2Prime:_0x2a7f5e}=_0x3364f0;return this[_0x1005e6(0x141)](_0x47921e),_0x328656[0x0][_0x1005e6(0x3b6)]=this['_getCurrentRevision'](),this[_0x1005e6(0x3d0)](),this['_injector']['createInstance'](ge,this[_0x1005e6(0x52a)],this['type'],_0x328656[0x0],_0x2a7f5e,this[_0x1005e6(0x289)],void 0x0);}throw _0x3364f0['error'];}throw _0xa30d65[_0x1005e6(0x41e)];}catch(_0x20bcde){return this[_0x1005e6(0x42a)][_0x1005e6(0x41e)](_0x20bcde),this[_0x1005e6(0x4df)](!0x1);}}[_0x38775b(0x25e)](_0x541155){const _0x3758ea=_0x38775b;if(this['_clearScheduledTask'](),this[_0x3758ea(0x14f)](_0x541155))return this['_injector']['createInstance'](he,this[_0x3758ea(0x52a)],this[_0x3758ea(0x302)],null,this['_pendingMutations'],this[_0x3758ea(0x1a3)],[],this[_0x3758ea(0x289)]);this[_0x3758ea(0x30d)]();const _0x3ce401=this[_0x3758ea(0x361)]['createInstance'](pe,this['unitID'],this[_0x3758ea(0x302)],this[_0x3758ea(0x3e4)],this[_0x3758ea(0x289)]);return _0x3ce401[_0x3758ea(0x28b)](),_0x3ce401[_0x3758ea(0x55a)](),_0x3ce401;}[_0x38775b(0x132)](_0x212895){const _0x3019ad=_0x38775b;return this[_0x3019ad(0x4df)](!!(_0x212895!=null&&_0x212895['isPermissionRej']));}[_0x38775b(0x43f)](_0x2f4715){const _0x26fd11=_0x38775b;return this[_0x26fd11(0x3c9)]>Hi?this[_0x26fd11(0x24b)]():(this['_resendTimer']=$i(this[_0x26fd11(0x3c9)],{'timeout':this[_0x26fd11(0x3c9)],'reqId':_0x2f4715[_0x26fd11(0x2aa)]}),this[_0x26fd11(0x2f7)]=this[_0x26fd11(0x4fe)][_0x26fd11(0x39f)](({reqId:_0x43746d,timeout:_0x286446})=>{const _0x37352d=_0x26fd11;this[_0x37352d(0x40e)](_0x43746d,_0x286446);}),this);}['toggleOffline'](){const _0x443085=_0x38775b;return this[_0x443085(0x3d0)](),this[_0x443085(0x361)][_0x443085(0x248)](ye,this[_0x443085(0x52a)],this[_0x443085(0x302)],this[_0x443085(0x1a3)],this[_0x443085(0x3e4)],this['_handler']);}[_0x38775b(0x4db)](){return this;}[_0x38775b(0x4eb)](){const _0x1e9150=_0x38775b;this[_0x1e9150(0x289)][_0x1e9150(0x1bb)](this[_0x1e9150(0x1a3)]);}[_0x38775b(0x4df)](_0x46ef5b){const _0x1bb206=_0x38775b;return this[_0x1bb206(0x3d0)](),this['_injector'][_0x1bb206(0x248)](Oe,this[_0x1bb206(0x52a)],this[_0x1bb206(0x302)],null,this[_0x1bb206(0x3e4)],this[_0x1bb206(0x289)],_0x46ef5b);}['_resendWithTimeout'](_0x537b8e,_0xbce54){const _0x3844a6=_0x38775b;var _0x39b1a3;_0x537b8e===((_0x39b1a3=this[_0x3844a6(0x1a3)])==null?void 0x0:_0x39b1a3['reqId'])&&(this['resend'](),this[_0x3844a6(0x3c9)]=_0xbce54===0x0?0x3e8:_0xbce54*0x2);}[_0x38775b(0x3d0)](){var _0x5f3be3;(_0x5f3be3=this['_sender'])==null||_0x5f3be3['unsubscribe'](),this['_resendTimeout']=0x0;}};ge=$e([A(0x6,_0x1f52e5(_0x72efa4)),A(0x7,_0x1f52e5(_0x19a47e)),A(0x8,_0x1f52e5(q)),A(0x9,_0x1b7cfe),A(0xa,_0x1fda4b),A(0xb,_0x529376),A(0xc,_0x809157)],ge);let Oe=class extends He{constructor(_0x13c4c5,_0x3d31a5,_0x1c8779,_0x853359,_0x2060ce,_0x491551=!0x1,_0xec45f2,_0x214378,_0x524ed0,_0x2aa4f4,_0x308679,_0x547aff,_0x3de4a9){const _0x59349b=_0x38775b;super(_0x13c4c5,_0x3d31a5,_0x1c8779,_0x853359,_0x2060ce,_0x214378,_0x524ed0,_0x308679,_0x2aa4f4),g(this,'status','conflict'),(this[_0x59349b(0x2dc)]=_0x491551,this['_permissionService']=_0xec45f2,this[_0x59349b(0x3ef)]=_0x547aff,this[_0x59349b(0x4a0)]=_0x3de4a9,this['_showConflictNotification'](),this[_0x59349b(0x4bd)](),this[_0x59349b(0x307)]());}[_0x38775b(0x265)](){return this;}[_0x38775b(0x1d6)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x38775b(0x43f)](){return this;}[_0x38775b(0x24b)](){return this;}[_0x38775b(0x4db)](){return this;}[_0x38775b(0x4eb)](){const _0x1caabf=_0x38775b;throw new Error(_0x1caabf(0x31e));}['_clearLocalCache'](){const _0x159a8d=_0x38775b;this[_0x159a8d(0x177)]['updateOfflineData'](this[_0x159a8d(0x52a)],this['type'],null,[]);}[_0x38775b(0x4f9)](){const _0xf2ba57=_0x38775b;this[_0xf2ba57(0x2dc)]?this[_0xf2ba57(0x4a0)][_0xf2ba57(0x32d)]({'title':this[_0xf2ba57(0x3ef)]['t'](_0xf2ba57(0x40b)),'content':this['_localeService']['t'](_0xf2ba57(0x4bf)),'type':_0xf2ba57(0x41e),'duration':0x0}):this[_0xf2ba57(0x4a0)]['show']({'title':this[_0xf2ba57(0x3ef)]['t']('conflict.title'),'content':this['_localeService']['t'](_0xf2ba57(0x242)),'type':_0xf2ba57(0x41e),'duration':0x0});}[_0x38775b(0x307)](){const _0x25968e=_0x38775b;this[_0x25968e(0x243)][_0x25968e(0x36d)](new _0x43927b(this['unitID'])['id'],!0x1);}};Oe=$e([A(0x6,_0x1f52e5(_0x36face)),A(0x7,_0x1b7cfe),A(0x8,_0x809157),A(0x9,_0x1f52e5(q)),A(0xa,_0x1f52e5(_0x19a47e)),A(0xb,_0x1f52e5(_0x1d70b7)),A(0xc,_0x322b4a)],Oe);let ye=class extends He{constructor(_0x47b19b,_0x3b9331,_0x386f81,_0x52136e,_0xf59d7b,_0x6bf44d,_0x132626,_0x3125cf,_0x5ad756,_0xe058a8){const _0x2aa0f3=_0x38775b;super(_0x47b19b,_0x3b9331,_0x386f81,_0x52136e,_0xf59d7b,_0x5ad756,_0xe058a8,_0x132626,_0x3125cf),g(this,_0x2aa0f3(0x21a),'offline'),this[_0x2aa0f3(0x361)]=_0x6bf44d;}[_0x38775b(0x265)](_0x100932){const _0xa1668=_0x38775b;return this[_0xa1668(0x3e4)][_0xa1668(0x42f)](_0x100932),this[_0xa1668(0x55a)](),this;}[_0x38775b(0x1d6)](_0x1e723e){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x38775b(0x25e)](){const _0x5d8cfe=_0x38775b;throw new Error(_0x5d8cfe(0x301));}['onRemoteRej'](){const _0x31d1c5=_0x38775b;throw new Error(_0x31d1c5(0x306));}[_0x38775b(0x43f)](){return this;}[_0x38775b(0x24b)](){return this;}['toggleOnline'](){const _0x43e8ff=_0x38775b,{_injector:_0x5dd5a0,_pendingMutations:_0x30db6f,_awaitingChangeset:_0x48afad,unitID:_0x216a53,_handler:_0x58fd19,type:_0x10c943}=this,_0x4c944a=ji(_0x5dd5a0,_0x216a53,_0x10c943,_0x48afad,_0x30db6f,_0x58fd19);return _0x4c944a instanceof pe?_0x4c944a[_0x43e8ff(0x28b)]():(_0x4c944a instanceof ge||_0x4c944a instanceof Re)&&_0x4c944a[_0x43e8ff(0x4eb)](),_0x4c944a;}[_0x38775b(0x4eb)](){const _0x5afe49=_0x38775b;throw new Error(_0x5afe49(0x2ff));}};ye=$e([A(0x5,_0x1f52e5(_0x72efa4)),A(0x6,_0x1f52e5(_0x19a47e)),A(0x7,_0x1f52e5(q)),A(0x8,_0x1b7cfe),A(0x9,_0x809157)],ye);let he=class extends He{constructor(_0x540771,_0x5b7ce4,_0x27a44e,_0x5d36a6,_0x55aeb1,_0x5d1ab8,_0x4b2552,_0x3cfc52,_0x13619c,_0x2792aa,_0x3ee21c,_0x1e575b,_0x44e111,_0x121881){const _0x2a1893=_0x38775b;super(_0x540771,_0x5b7ce4,_0x27a44e,_0x5d36a6,_0x4b2552,_0x1e575b,_0x44e111,_0x13619c,_0x2792aa),g(this,_0x2a1893(0x21a),_0x2a1893(0x357)),(this[_0x2a1893(0x1fe)]=_0x55aeb1,this[_0x2a1893(0x162)]=_0x5d1ab8,this[_0x2a1893(0x361)]=_0x3cfc52,this['_logService']=_0x3ee21c,this['_transformService']=_0x121881);}[_0x38775b(0x418)](_0x5c7ae9){const _0x4834b3=_0x38775b;try{const _0x42c7ee=[..._0x5c7ae9,...this[_0x4834b3(0x162)]],_0x403d9e=[this[_0x4834b3(0x1a3)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0xf44a30=>!!_0xf44a30);let _0x2c933b,_0x182528;if(_0x403d9e['length']){const _0x367963=this['_transformService'][_0x4834b3(0x155)](_0x42c7ee,_0x403d9e,!0x1);if(!_0x40aeb8(_0x367963))throw _0x367963[_0x4834b3(0x41e)];_0x2c933b=_0x367963[_0x4834b3(0x38b)],_0x182528=_0x367963[_0x4834b3(0x2ae)];}else _0x2c933b=_0x42c7ee,_0x182528=[];let _0x2052f4=this[_0x4834b3(0x3e4)];_0x2c933b['forEach'](_0x208518=>{const _0x1567bd=_0x4834b3;let _0x465a21;if(_0x2052f4[_0x1567bd(0x3be)]){const _0x410d9a=this['_transformService'][_0x1567bd(0x35b)](_0x208518,_0x2052f4);if(!_0x4658cc(_0x410d9a))throw _0x410d9a['error'];_0x465a21=_0x410d9a[_0x1567bd(0x38b)],_0x2052f4=_0x410d9a[_0x1567bd(0x21f)];}else _0x465a21=_0x208518;this[_0x1567bd(0x141)](_0x465a21);}),this[_0x4834b3(0x1fe)]&&this[_0x4834b3(0x30d)](),this['_awaitingChangeset']&&_0x182528[_0x4834b3(0x3be)]&&(_0x182528[0x0][_0x4834b3(0x3b6)]=this['_getCurrentRevision']());let _0x35d94e;if(this['_awaitingChangeset']&&_0x2052f4[_0x4834b3(0x3be)]!==0x0)_0x35d94e=this[_0x4834b3(0x361)][_0x4834b3(0x248)](ge,this[_0x4834b3(0x52a)],this['type'],_0x182528[0x0],_0x2052f4,this[_0x4834b3(0x289)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2052f4[_0x4834b3(0x3be)]===0x0)_0x182528[0x0]['baseRev']=this[_0x4834b3(0x256)](),_0x35d94e=this[_0x4834b3(0x361)][_0x4834b3(0x248)](Re,this['unitID'],this[_0x4834b3(0x302)],_0x182528[0x0],this[_0x4834b3(0x289)]);else{if(_0x2052f4[_0x4834b3(0x3be)]!==0x0){const _0x27fcb1=this[_0x4834b3(0x361)][_0x4834b3(0x248)](pe,this['unitID'],this['type'],_0x2052f4,this[_0x4834b3(0x289)]);_0x27fcb1[_0x4834b3(0x28b)](),_0x35d94e=_0x27fcb1;}else _0x35d94e=this['_injector'][_0x4834b3(0x248)](Fe,this['unitID'],this[_0x4834b3(0x302)],this['_handler']);}}return _0x35d94e['_updateLocalCache'](),_0x35d94e;}catch(_0x4746f5){return this[_0x4834b3(0x42a)][_0x4834b3(0x41e)](_0x4834b3(0x309),_0x4834b3(0x312),_0x4746f5),this[_0x4834b3(0x361)][_0x4834b3(0x248)](Oe,this['unitID'],this[_0x4834b3(0x302)],this[_0x4834b3(0x1a3)],this['_pendingMutations'],this[_0x4834b3(0x289)],!0x1);}}[_0x38775b(0x4eb)](){const _0x1ee232=_0x38775b;throw new Error(_0x1ee232(0x190));}[_0x38775b(0x265)](_0x9b0c3e){const _0x26ebe2=_0x38775b;return this[_0x26ebe2(0x3e4)][_0x26ebe2(0x42f)](_0x9b0c3e),this;}[_0x38775b(0x1d6)](_0x41d39f){const _0xb2d8f=_0x38775b;return this[_0xb2d8f(0x162)]['push'](_0x41d39f),this;}[_0x38775b(0x25e)](_0x1ee9e9){const _0x39b7fe=_0x38775b;if(this[_0x39b7fe(0x1a3)])return this['_acknowledgedAwaitingChangeset']=this[_0x39b7fe(0x1a3)],this[_0x39b7fe(0x1a3)]=null,this;throw new Error(_0x39b7fe(0x3af));}[_0x38775b(0x132)](_0x51784e){const _0x1a3c09=_0x38775b;return this[_0x1a3c09(0x4df)](!!(_0x51784e!=null&&_0x51784e[_0x1a3c09(0x534)]));}[_0x38775b(0x43f)](){return this;}[_0x38775b(0x24b)](){const _0x434e6b=_0x38775b;return this[_0x434e6b(0x361)]['createInstance'](ye,this['unitID'],this[_0x434e6b(0x302)],this[_0x434e6b(0x1a3)],this[_0x434e6b(0x3e4)],this['_handler']);}['toggleOnline'](){return this;}[_0x38775b(0x4df)](_0x889f2f){const _0x35460a=_0x38775b;return this[_0x35460a(0x361)][_0x35460a(0x248)](Oe,this['unitID'],this[_0x35460a(0x302)],this[_0x35460a(0x1a3)],this['_pendingMutations'],this['_handler'],_0x889f2f);}};he=$e([A(0x7,_0x1f52e5(_0x72efa4)),A(0x8,_0x1f52e5(_0x19a47e)),A(0x9,_0x1f52e5(q)),A(0xa,_0x1fda4b),A(0xb,_0x1b7cfe),A(0xc,_0x809157),A(0xd,_0x529376)],he);function ji(_0x2c1f54,_0x37319a,_0x2e6ca5,_0x3dd3e5,_0x3e0c68,_0x42b269){const _0x5406f2=_0x38775b;return _0x3dd3e5&&_0x3e0c68['length']?_0x2c1f54['createInstance'](ge,_0x37319a,_0x2e6ca5,_0x3dd3e5,_0x3e0c68,_0x42b269,void 0x0):_0x3dd3e5?_0x2c1f54['createInstance'](Re,_0x37319a,_0x2e6ca5,_0x3dd3e5,_0x42b269):_0x3e0c68['length']?_0x2c1f54[_0x5406f2(0x248)](pe,_0x37319a,_0x2e6ca5,_0x3e0c68,_0x42b269):_0x2c1f54[_0x5406f2(0x248)](Fe,_0x37319a,_0x2e6ca5,_0x42b269);}var wo=Object[_0x38775b(0x4da)],Do=Object[_0x38775b(0x1ed)],Rs=(_0x4496f1,_0x21a90a,_0x99b876,_0x404f94)=>{for(var _0xacaece=_0x404f94>0x1?void 0x0:_0x404f94?Do(_0x21a90a,_0x99b876):_0x21a90a,_0x1f24d0=_0x4496f1['length']-0x1,_0x49362c;_0x1f24d0>=0x0;_0x1f24d0--)(_0x49362c=_0x4496f1[_0x1f24d0])&&(_0xacaece=(_0x404f94?_0x49362c(_0x21a90a,_0x99b876,_0xacaece):_0x49362c(_0xacaece))||_0xacaece);return _0x404f94&&_0xacaece&&wo(_0x21a90a,_0x99b876,_0xacaece),_0xacaece;},H=(_0x5e42f3,_0x4c0659)=>(_0xb66cea,_0x130b0d)=>_0x4c0659(_0xb66cea,_0x130b0d,_0x5e42f3);let St=class extends _0xeab596{constructor(_0x21ce07,_0x58409e,_0x3adc41,_0x101293,_0x10da68,_0x5cc989,_0x2b6ee3,_0x5d8232,_0x3807d1,_0x47a97c,_0x4d9359,_0x5c6752,_0x1a78d4){const _0x5b0e40=_0x38775b;super(),g(this,_0x5b0e40(0x537),new _0x5ec0c5(null)),g(this,_0x5b0e40(0x423),this[_0x5b0e40(0x537)][_0x5b0e40(0x44a)]()),g(this,'_state'),g(this,_0x5b0e40(0x481),!0x1),g(this,_0x5b0e40(0x49a),''),g(this,_0x5b0e40(0x2f2),0x0),g(this,_0x5b0e40(0x54a),this[_0x5b0e40(0x423)][_0x5b0e40(0x378)](_0x23cb41(_0x4c956e=>_0x4c956e?_0x4c956e[_0x5b0e40(0x21a)]:J['OFFLINE']),_0x237083(0x1))),g(this,'_transitionLocked',!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x5b0e40(0x52a)]=_0x21ce07,this[_0x5b0e40(0x4a7)]=_0x58409e,this[_0x5b0e40(0x271)]=_0x3adc41,this[_0x5b0e40(0x361)]=_0x101293,this[_0x5b0e40(0x177)]=_0x10da68,this[_0x5b0e40(0x2c7)]=_0x5cc989,this[_0x5b0e40(0x3ef)]=_0x2b6ee3,this[_0x5b0e40(0x449)]=_0x5d8232,this[_0x5b0e40(0x42a)]=_0x3807d1,this[_0x5b0e40(0x3a9)]=_0x47a97c,this[_0x5b0e40(0x384)]=_0x4d9359,this[_0x5b0e40(0x243)]=_0x5c6752,this['_singleActiveUnitService']=_0x1a78d4);}get[_0x38775b(0x33c)](){const _0x4c7e10=_0x38775b;return this[_0x4c7e10(0x3a8)];}async[_0x38775b(0x1d1)](){const _0x2da7bb=_0x38775b;if(this[_0x2da7bb(0x33c)])throw new Error(_0x2da7bb(0x18f));await this[_0x2da7bb(0x442)]();}[_0x38775b(0x287)](){const _0x5ad6a8=_0x38775b;return this[_0x5ad6a8(0x481)]=!0x0,_0x55f741(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x38775b(0x180)](_0x436958){const _0x4c9dd6=_0x38775b;this[_0x4c9dd6(0x3a8)]=_0x436958,this[_0x4c9dd6(0x537)][_0x4c9dd6(0x1e8)](_0x436958);}async['_init'](){const _0x55d7d6=_0x38775b;var _0x4429b1;this[_0x55d7d6(0x180)](await this[_0x55d7d6(0x475)]()),this['_singleActiveUnitService']&&((_0x4429b1=this[_0x55d7d6(0x346)])==null||_0x4429b1[_0x55d7d6(0x262)](this[_0x55d7d6(0x52a)]),this[_0x55d7d6(0x4d0)](this[_0x55d7d6(0x346)][_0x55d7d6(0x3ed)](this[_0x55d7d6(0x52a)])[_0x55d7d6(0x39f)](_0x2245e0=>{const _0x4bcbd4=_0x55d7d6;this[_0x4bcbd4(0x42a)][_0x4bcbd4(0x2ee)](_0x4bcbd4(0x53a),_0x4bcbd4(0x414),_0x2245e0),_0x2245e0===xi[_0x4bcbd4(0x518)]?(this['_messageService'][_0x4bcbd4(0x32d)]({'content':this[_0x4bcbd4(0x3ef)]['t'](_0x4bcbd4(0x1a1)),'type':_0x2b337e['Warning']}),this[_0x4bcbd4(0x243)][_0x4bcbd4(0x36d)](new _0x43927b(this[_0x4bcbd4(0x52a)])['id'],!0x1),this[_0x4bcbd4(0x243)][_0x4bcbd4(0x3c4)](!0x1)):(this[_0x4bcbd4(0x243)][_0x4bcbd4(0x36d)](new _0x43927b(this['unitID'])['id'],!0x0),this[_0x4bcbd4(0x243)][_0x4bcbd4(0x3c4)](!0x0));})));let _0x9cf5e3=!0x1;return this[_0x55d7d6(0x4d0)](this[_0x55d7d6(0x4a7)][_0x55d7d6(0x38c)]['subscribe'](_0x3cfd01=>{const _0x3de67b=_0x55d7d6;_0x3cfd01===ve['ONLINE']?this[_0x3de67b(0x488)](_0x9cf5e3):_0x3cfd01===ve['OFFLINE']&&(_0x9cf5e3=!0x0,this['_toggleOffline']());})),this[_0x55d7d6(0x4d0)](this[_0x55d7d6(0x4a7)][_0x55d7d6(0x295)][_0x55d7d6(0x39f)](_0x9ff329=>{const _0x1883ca=_0x55d7d6;try{switch(_0x9ff329['eventID']){case _0x4e17b[_0x1883ca(0x43c)]:{this[_0x1883ca(0x4a4)](_0x2ddca1(_0x9ff329['data']));break;}case _0x4e17b['CHANGESET_ACK']:{this[_0x1883ca(0x20e)](_0x9ff329['data']);break;}case _0x4e17b[_0x1883ca(0x1e0)]:{this[_0x1883ca(0x167)]();break;}case _0x4e17b['CHANGESET_SHOULD_RETRY']:{this[_0x1883ca(0x4bb)](_0x9ff329[_0x1883ca(0x390)]);break;}case _0x4e17b[_0x1883ca(0x300)]:{this[_0x1883ca(0x42b)](_0x9ff329[_0x1883ca(0x390)]['changesets'][_0x1883ca(0x18e)](_0x22516b=>_0x2ddca1(_0x22516b)));break;}case _0x4e17b['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x58fcff){throw console[_0x1883ca(0x41e)](_0x1883ca(0x1d2),_0x58fcff),_0x58fcff;}})),this[_0x55d7d6(0x3a8)];}['_unlockTransition'](){const _0x534bce=_0x38775b;this[_0x534bce(0x2ed)]=!0x1;}[_0x38775b(0x426)](){const _0x5005c0=_0x38775b;if(this[_0x5005c0(0x2ed)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x38775b(0x12b)](_0x10e063){const _0x531c16=_0x38775b;this[_0x531c16(0x426)](),this[_0x531c16(0x180)](this[_0x531c16(0x3a8)][_0x531c16(0x265)](_0x10e063)),this[_0x531c16(0x1af)]();}[_0x38775b(0x4a4)](_0x254a3f){const _0x2254f5=_0x38775b;if(!(_0x254a3f['revision']<=this[_0x2254f5(0x449)][_0x2254f5(0x17c)](this[_0x2254f5(0x52a)]))){if(this[_0x2254f5(0x481)]){this['_remoteChangesetQueue'][_0x2254f5(0x42f)](_0x254a3f);return;}this['_applyRemoteChangeset'](_0x254a3f);}}['_exhaustRemoteChangesetQueue'](){const _0x2d6fe6=_0x38775b;this[_0x2d6fe6(0x160)][_0x2d6fe6(0x3d1)](_0x2b3a8b=>this[_0x2d6fe6(0x320)](_0x2b3a8b)),this[_0x2d6fe6(0x160)]=[];}[_0x38775b(0x320)](_0x1f4a8c){const _0x6ecf8b=_0x38775b,_0x408310=this[_0x6ecf8b(0x2c7)][_0x6ecf8b(0x18d)][_0x6ecf8b(0x197)](this['_compressMutationService'][_0x6ecf8b(0x18d)]['getInterceptPoints']()[_0x6ecf8b(0x543)])(_0x1f4a8c['mutations'],null)||_0x1f4a8c['mutations'],_0x48859b={..._0x1f4a8c,'mutations':_0x408310};this[_0x6ecf8b(0x426)](),this[_0x6ecf8b(0x180)](this[_0x6ecf8b(0x3a8)][_0x6ecf8b(0x1d6)](_0x48859b)),this['_unlockTransition']();}[_0x38775b(0x20e)](_0x25c4c1){const _0x2f5f24=_0x38775b;this[_0x2f5f24(0x426)](),this[_0x2f5f24(0x180)](this[_0x2f5f24(0x3a8)][_0x2f5f24(0x25e)](_0x25c4c1)),this['_unlockTransition']();}[_0x38775b(0x167)](_0x20b584){const _0x283565=_0x38775b;this[_0x283565(0x426)](),this['_updateState'](this[_0x283565(0x3a8)][_0x283565(0x132)](_0x20b584)),this[_0x283565(0x1af)]();}['_onRemoteRetry'](_0x56bfe5){const _0x2a3b01=_0x38775b;this[_0x2a3b01(0x426)](),this[_0x2a3b01(0x180)](this[_0x2a3b01(0x3a8)][_0x2a3b01(0x43f)](_0x56bfe5)),this[_0x2a3b01(0x1af)]();}['_onFetchMissResult'](_0x24146f){const _0x378e22=_0x38775b;if(!(this['_state']instanceof he))throw new TypeError(_0x378e22(0x47f));const _0x5aedbf=_0x24146f['map'](_0x279993=>{const _0x37ae14=_0x378e22,_0x339668=this[_0x37ae14(0x2c7)][_0x37ae14(0x18d)][_0x37ae14(0x197)](this[_0x37ae14(0x2c7)][_0x37ae14(0x18d)]['getInterceptPoints']()[_0x37ae14(0x543)])(_0x279993['mutations'],null)||_0x279993[_0x37ae14(0x51a)];return{..._0x279993,'mutations':_0x339668};});this[_0x378e22(0x426)](),this[_0x378e22(0x180)](this[_0x378e22(0x3a8)][_0x378e22(0x418)](_0x5aedbf)),this['_unlockTransition']();}[_0x38775b(0x394)](){const _0x237767=_0x38775b;this[_0x237767(0x426)](),this[_0x237767(0x180)](this[_0x237767(0x3a8)][_0x237767(0x24b)]()),this['_unlockTransition']();}[_0x38775b(0x488)](_0x50036e=!0x1){const _0x227859=_0x38775b;this['_lockTransition'](),this['_updateState'](this[_0x227859(0x3a8)][_0x227859(0x4db)]()),this[_0x227859(0x1af)]();const _0x3ed863=this[_0x227859(0x3a8)];_0x50036e&&_0x3ed863 instanceof Fe&&(this[_0x227859(0x426)](),this[_0x227859(0x180)](_0x3ed863['fetchMiss']()),this[_0x227859(0x1af)]());}async[_0x38775b(0x475)](){return new Promise(_0x499596=>{const _0x40b0f4=_0x8857;this[_0x40b0f4(0x4a7)]['sessionStatus$'][_0x40b0f4(0x378)](_0x51e7ad(0x1))[_0x40b0f4(0x39f)](async _0x3f7359=>{const _0x573720=_0x40b0f4;_0x499596(await this[_0x573720(0x557)](_0x3f7359===ve['ONLINE']));});});}[_0x38775b(0x22c)](){const _0x109e08=this['unitID'];return{'onStateChange':(_0x34d43e,_0x6226bb)=>{const _0x5078c2=_0x8857;if(_0x34d43e!==this[_0x5078c2(0x3a8)])throw new Error(_0x5078c2(0x52f)+_0x34d43e[_0x5078c2(0x21a)]+'\x0aAfter:\x20'+_0x6226bb['status']+'\x0aCurrent:\x20'+this[_0x5078c2(0x3a8)][_0x5078c2(0x21a)]);this[_0x5078c2(0x180)](_0x6226bb);},'onSendChangeset':_0x4c6638=>{const _0x2a4575=_0x8857;_0x4c6638['sid']||(_0x4c6638[_0x2a4575(0x485)]=this[_0x2a4575(0x49a)],_0x4c6638['reqId']=++this[_0x2a4575(0x2f2)]);const _0x50c425={'eventID':_0x4e17b['SUBMIT_CHANGESET'],'data':{'unitID':_0x4c6638[_0x2a4575(0x52a)],'unitType':this['_type'],'changeset':_0x4c6638,'memberID':this[_0x2a4575(0x4a7)][_0x2a4575(0x3f8)]()}};this[_0x2a4575(0x4a7)][_0x2a4575(0x1aa)](_0x50c425,this[_0x2a4575(0x52a)]);},'onMissingChangesets':({from:_0xda4b3a,to:_0x3fdba5})=>{const _0x56a4d8=_0x8857;this['_logService'][_0x56a4d8(0x2ee)](_0x56a4d8(0x53a),'fetching\x20missing\x20changesets\x20from\x20'+_0xda4b3a+_0x56a4d8(0x2fa)+_0x3fdba5);const _0x472cb2={'eventID':_0x4e17b[_0x56a4d8(0x3cb)],'data':{'unitID':_0x109e08,'unitType':this['_type'],'from':_0xda4b3a,'to':_0x3fdba5}};this[_0x56a4d8(0x4a7)][_0x56a4d8(0x1aa)](_0x472cb2,this[_0x56a4d8(0x52a)]);}};}async[_0x38775b(0x557)](_0x54a686){const _0x325a1f=_0x38775b;var _0x179478,_0x23fcfc;const _0x26b3da=await this[_0x325a1f(0x177)]['loadOfflineData'](this['unitID']),_0x440101=(_0x179478=_0x26b3da==null?void 0x0:_0x26b3da[_0x325a1f(0x51a)])!=null?_0x179478:[],_0x2bcd6c=(_0x23fcfc=_0x26b3da==null?void 0x0:_0x26b3da[_0x325a1f(0x22d)])!=null?_0x23fcfc:null,_0x4e633e=!!(_0x2bcd6c!=null&&_0x2bcd6c[_0x325a1f(0x485)])&&!!(_0x2bcd6c!=null&&_0x2bcd6c[_0x325a1f(0x2aa)]);this[_0x325a1f(0x49a)]=_0x4e633e?_0x2bcd6c[_0x325a1f(0x485)]:io(),this[_0x325a1f(0x2f2)]=_0x4e633e?_0x2bcd6c[_0x325a1f(0x2aa)]:0x0;const _0x3a9fae=this['unitID'];try{this[_0x325a1f(0x27c)](_0x2bcd6c,_0x440101);}catch(_0x1f7de){this['_logService'][_0x325a1f(0x41e)](_0x1f7de);}const _0x14c64a=this['_createHandler']();if(_0x54a686){const _0x75ccd5=ji(this[_0x325a1f(0x361)],_0x3a9fae,this['_type'],_0x2bcd6c,_0x440101,_0x14c64a);return _0x75ccd5 instanceof pe?_0x75ccd5[_0x325a1f(0x28b)]():(_0x75ccd5 instanceof ge||_0x75ccd5 instanceof Re)&&_0x75ccd5[_0x325a1f(0x4eb)](),_0x75ccd5;}return this[_0x325a1f(0x361)][_0x325a1f(0x248)](ye,_0x3a9fae,this[_0x325a1f(0x271)],_0x2bcd6c,_0x440101,_0x14c64a);}[_0x38775b(0x27c)](_0x41ec60,_0x1089fe){const _0x74d36e=_0x38775b;var _0xe1520b,_0x37e575;const _0x5f545b=this['_compressMutationService']['interceptor'][_0x74d36e(0x197)](this['_compressMutationService'][_0x74d36e(0x18d)][_0x74d36e(0x52c)]()[_0x74d36e(0x543)]);(_0xe1520b=_0x5f545b((_0x41ec60==null?void 0x0:_0x41ec60[_0x74d36e(0x51a)])||[],null))==null||_0xe1520b[_0x74d36e(0x3d1)](_0x3abe9c=>this['_commandService'][_0x74d36e(0x1f7)](_0x3abe9c['id'],_0x3abe9c['params'])),(_0x37e575=_0x5f545b(_0x1089fe||[],null))==null||_0x37e575['forEach'](_0x1a2097=>this['_commandService'][_0x74d36e(0x1f7)](_0x1a2097['id'],_0x1a2097[_0x74d36e(0x403)]));}};St=Rs([H(0x3,_0x1f52e5(_0x72efa4)),H(0x4,_0x1f52e5(q)),H(0x5,_0x1f52e5(_0xd4d0ac)),H(0x6,_0x1f52e5(_0x1d70b7)),H(0x7,_0x1f52e5(_0x19a47e)),H(0x8,_0x1fda4b),H(0x9,_0x1b7cfe),H(0xa,_0x4db578),H(0xb,_0x36face),H(0xc,_0x3700fe(yt))],St);let rs=class extends St{constructor(_0x1f7d4c,_0x1475ab,_0x1084a7,_0x3df584,_0x427b35,_0x1b197a,_0x1b1a17,_0x5d36fd,_0x3c1516,_0x543c49,_0x1833d3,_0x27f505,_0x16856d,_0x184f77,_0x1c871c,_0x12cb68,_0x545b93,_0x20f572){const _0x4f4f58=_0x38775b;super(_0x1f7d4c,_0x1084a7,_0x1475ab,_0x3df584,_0x427b35,_0x1b197a,_0x1b1a17,_0x5d36fd,_0x184f77,_0x1c871c,_0x12cb68,_0x545b93,_0x20f572),this[_0x4f4f58(0x52a)]=_0x1f7d4c,this[_0x4f4f58(0x302)]=_0x1475ab,this[_0x4f4f58(0x26e)]=_0x3c1516,this[_0x4f4f58(0x18c)]=_0x543c49,this[_0x4f4f58(0x285)]=_0x1833d3,this[_0x4f4f58(0x32c)]=_0x27f505,this['_docSyncEditingCollabCursorService']=_0x16856d;}[_0x38775b(0x22c)](){const _0x39ce6f=_0x38775b,_0x4cd8df=super[_0x39ce6f(0x22c)]();return _0x4cd8df[_0x39ce6f(0x535)]=_0x594baa=>this[_0x39ce6f(0x18c)][_0x39ce6f(0x2df)](_0x594baa),_0x4cd8df[_0x39ce6f(0x440)]=_0x1ed4be=>this['_docTransformStateCacheService'][_0x39ce6f(0x16a)](_0x1ed4be),_0x4cd8df[_0x39ce6f(0x2ad)]=_0x440e1a=>this['_docTransformSelectionsService'][_0x39ce6f(0x39e)](_0x440e1a),_0x4cd8df['onSyncEditingCollabCursor']=_0x458fe6=>this[_0x39ce6f(0x2cc)][_0x39ce6f(0x349)](_0x458fe6),_0x4cd8df[_0x39ce6f(0x23b)]=_0x1bf538=>this[_0x39ce6f(0x18c)][_0x39ce6f(0x191)](_0x1bf538),_0x4cd8df[_0x39ce6f(0x2c9)]=_0x36c58a=>this['_docTransformStateCacheService'][_0x39ce6f(0x191)](_0x36c58a),_0x4cd8df;}async[_0x38775b(0x442)](){const _0x1bf7ac=_0x38775b,_0x4ac2b4=await super[_0x1bf7ac(0x442)]();return this['disposeWithMe'](this[_0x1bf7ac(0x26e)][_0x1bf7ac(0x3f6)][_0x1bf7ac(0x378)](_0x5a840b(this[_0x1bf7ac(0x4ac)]))[_0x1bf7ac(0x39f)](_0x43951b=>{const _0x5e47b3=_0x1bf7ac;if(_0x43951b==null)return;const {unitId:_0x2868db,redoState:_0x19e264,commandId:_0x50b3ca}=_0x43951b;if(_0x2868db!==this['unitID'])return;const _0x7fa2d1={'id':_0x50b3ca,'type':_0x1331d3[_0x5e47b3(0x47a)],'params':{'unitId':_0x2868db,'actions':_0x19e264[_0x5e47b3(0x2f8)],'textRanges':null}};this[_0x5e47b3(0x12b)](_0x7fa2d1);})),this['disposeWithMe'](this[_0x1bf7ac(0x3a9)][_0x1bf7ac(0x1d5)]((_0x4f3b15,_0xf6f498)=>{const _0x6570d=_0x1bf7ac;if(_0x4f3b15[_0x6570d(0x302)]!==_0x1331d3['MUTATION']||_0xf6f498!=null&&_0xf6f498[_0x6570d(0x520)]||_0xf6f498!=null&&_0xf6f498[_0x6570d(0x421)]||_0x4f3b15['id']===_0x538ca6['id'])return;const _0x289cec=_0x4f3b15[_0x6570d(0x403)];if((_0x289cec==null?void 0x0:_0x289cec['unitId'])!==this[_0x6570d(0x52a)])return;const _0x39ca8d=_0x4f3b15,_0x21f1b1=this[_0x6570d(0x2c7)][_0x6570d(0x18d)][_0x6570d(0x197)](this[_0x6570d(0x2c7)]['interceptor'][_0x6570d(0x52c)]()[_0x6570d(0x2e2)])([_0x39ca8d],null)||[_0x39ca8d];this['_onLocalMutation'](_0x21f1b1[0x0]);})),_0x4ac2b4;}};rs=Rs([H(0x3,_0x1f52e5(_0x72efa4)),H(0x4,_0x1f52e5(q)),H(0x5,_0x1f52e5(_0xd4d0ac)),H(0x6,_0x1f52e5(_0x1d70b7)),H(0x7,_0x1f52e5(_0x19a47e)),H(0x8,_0x1f52e5(_0x17bfdd)),H(0x9,_0x1f52e5(vt)),H(0xa,_0x1f52e5(pt)),H(0xb,_0x1f52e5(gt)),H(0xc,_0x1f52e5(Ts)),H(0xd,_0x1fda4b),H(0xe,_0x1b7cfe),H(0xf,_0x4db578),H(0x10,_0x36face),H(0x11,_0x3700fe(yt))],rs);let ns=class extends St{constructor(_0x7be93a,_0x52c545,_0x16ac9d,_0x454cd2,_0x449501,_0xa12635,_0x1c7f37,_0x56eee6,_0x35642e,_0x1b3b83,_0x5d1f5e,_0x4cce40,_0x58a036,_0x1eb28b){const _0x40e1bc=_0x38775b;super(_0x7be93a,_0x16ac9d,_0x52c545,_0x454cd2,_0x449501,_0xa12635,_0x1c7f37,_0x56eee6,_0x1b3b83,_0x5d1f5e,_0x4cce40,_0x58a036,_0x1eb28b),this[_0x40e1bc(0x52a)]=_0x7be93a,this[_0x40e1bc(0x302)]=_0x52c545,this[_0x40e1bc(0x3a0)]=_0x35642e;}[_0x38775b(0x22c)](){const _0x3023f9=_0x38775b,_0x48956d=super['_createHandler']();return _0x48956d[_0x3023f9(0x2ad)]=_0x335def=>this[_0x3023f9(0x3a0)][_0x3023f9(0x39e)](_0x335def),_0x48956d;}async[_0x38775b(0x442)](){const _0x149da5=_0x38775b,_0x5c401e=await super[_0x149da5(0x442)]();return this['disposeWithMe'](this[_0x149da5(0x3a9)]['onCommandExecuted']((_0x196ffb,_0x24a085)=>{const _0x182911=_0x149da5;if(_0x196ffb[_0x182911(0x302)]!==_0x1331d3[_0x182911(0x47a)]||_0x24a085!=null&&_0x24a085[_0x182911(0x520)]||_0x24a085!=null&&_0x24a085[_0x182911(0x421)])return;const _0x2b9394=_0x196ffb['params'];if((_0x2b9394==null?void 0x0:_0x2b9394[_0x182911(0x138)])!==this[_0x182911(0x52a)])return;const _0x42e1ba=_0x196ffb,_0x259983=this[_0x182911(0x2c7)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x182911(0x18d)][_0x182911(0x52c)]()['COMPRESS_MUTATION_SEND'])([_0x42e1ba],null)||[_0x42e1ba];this[_0x182911(0x12b)](_0x259983[0x0]);})),_0x5c401e;}};ns=Rs([H(0x3,_0x1f52e5(_0x72efa4)),H(0x4,_0x1f52e5(q)),H(0x5,_0x1f52e5(_0xd4d0ac)),H(0x6,_0x1f52e5(_0x1d70b7)),H(0x7,_0x1f52e5(_0x19a47e)),H(0x8,_0x1f52e5(mt)),H(0x9,_0x1fda4b),H(0xa,_0x1b7cfe),H(0xb,_0x4db578),H(0xc,_0x36face),H(0xd,_0x3700fe(yt))],ns);var Po=Object['defineProperty'],Uo=Object[_0x38775b(0x1ed)],No=(_0x14fe90,_0x288fe6,_0xc646cf,_0x4dbab0)=>{const _0x3b1b10=_0x38775b;for(var _0x5265ff=_0x4dbab0>0x1?void 0x0:_0x4dbab0?Uo(_0x288fe6,_0xc646cf):_0x288fe6,_0xbd29b8=_0x14fe90[_0x3b1b10(0x3be)]-0x1,_0x473189;_0xbd29b8>=0x0;_0xbd29b8--)(_0x473189=_0x14fe90[_0xbd29b8])&&(_0x5265ff=(_0x4dbab0?_0x473189(_0x288fe6,_0xc646cf,_0x5265ff):_0x473189(_0x5265ff))||_0x5265ff);return _0x4dbab0&&_0x5265ff&&Po(_0x288fe6,_0xc646cf,_0x5265ff),_0x5265ff;},Ht=(_0x63837c,_0xaa6af5)=>(_0x118778,_0x55cb92)=>_0xaa6af5(_0x118778,_0x55cb92,_0x63837c);let it=class extends _0xeab596{constructor(_0x33ecd5,_0x4fd64c,_0x2182a5){const _0x536b0a=_0x38775b;super(),g(this,_0x536b0a(0x41c),new Map()),g(this,_0x536b0a(0x39a),new _0x1d41c9()),(this[_0x536b0a(0x361)]=_0x33ecd5,this[_0x536b0a(0x17b)]=_0x4fd64c,this['_univerInstanceService']=_0x2182a5,this['_init']());}[_0x38775b(0x369)](){const _0x3f9b62=_0x38775b;super['dispose'](),this[_0x3f9b62(0x41c)][_0x3f9b62(0x3d1)](_0x373560=>_0x373560[_0x3f9b62(0x369)]()),this[_0x3f9b62(0x41c)][_0x3f9b62(0x192)]();}[_0x38775b(0x244)](_0xabba75){const _0x551e13=_0x38775b;var _0x26a67a;return(_0x26a67a=this[_0x551e13(0x41c)]['get'](_0xabba75))!=null?_0x26a67a:null;}[_0x38775b(0x387)](_0x5503bf){const _0x247b6e=_0x38775b,_0x1fc5ca=this['getCollabEntity'](_0x5503bf);return _0x1fc5ca?_0x543dd1(_0x1fc5ca):this[_0x247b6e(0x39a)][_0x247b6e(0x378)](_0x25f474(_0x12edb5=>_0x12edb5['unitID']===_0x5503bf));}[_0x38775b(0x442)](){const _0x524e29=_0x38775b;this[_0x524e29(0x2f4)]['getTypeOfUnitAdded$'](_0x245a17[_0x524e29(0x372)])['pipe'](_0x5a840b(this[_0x524e29(0x4ac)]),_0x26e1a6(0x10))[_0x524e29(0x39f)](async _0x446d0f=>{const _0x468346=_0x524e29,_0x5e7a42=_0x446d0f[_0x468346(0x2e9)](),_0x2b9eb1=await this[_0x468346(0x323)](_0x5e7a42,ce['UNIVER_SHEET']);this[_0x468346(0x41c)]['set'](_0x5e7a42,_0x2b9eb1);}),this['_univerInstanceService'][_0x524e29(0x38f)](_0x245a17[_0x524e29(0x393)])[_0x524e29(0x378)](_0x5a840b(this[_0x524e29(0x4ac)]),_0x26e1a6(0x10))[_0x524e29(0x378)](_0x25f474(_0x63575=>!_0x63575[_0x524e29(0x2e9)]()['startsWith']('__')))[_0x524e29(0x39f)](async _0x4581ba=>{const _0x2670e2=_0x524e29,_0x3f5884=_0x4581ba['getUnitId'](),_0x86ac34=await this[_0x2670e2(0x323)](_0x3f5884,ce[_0x2670e2(0x393)]);this[_0x2670e2(0x41c)][_0x2670e2(0x157)](_0x3f5884,_0x86ac34);}),_0x3804fb(this[_0x524e29(0x2f4)][_0x524e29(0x456)](_0x245a17[_0x524e29(0x372)]),this[_0x524e29(0x2f4)][_0x524e29(0x456)](_0x245a17[_0x524e29(0x393)]))[_0x524e29(0x378)](_0x5a840b(this[_0x524e29(0x4ac)]))[_0x524e29(0x39f)](_0x54ba3d=>{const _0x1e5310=_0x524e29,_0x271143=_0x54ba3d[_0x1e5310(0x2e9)](),_0x92849f=this['_entities'][_0x1e5310(0x53d)](_0x271143);_0x92849f&&(_0x92849f[_0x1e5310(0x369)](),this[_0x1e5310(0x41c)][_0x1e5310(0x501)](_0x271143));});}async['_startCollaboration'](_0x2bb5e5,_0x429d36){const _0x5ce59f=_0x38775b,_0x4576fd=await this[_0x5ce59f(0x17b)]['requireSession'](_0x2bb5e5),_0x44444f=this['_injector'][_0x5ce59f(0x248)](this['_getCtorByUniverType'](_0x429d36),_0x2bb5e5,_0x429d36,_0x4576fd);return await _0x44444f['init'](),this['_entityInit$'][_0x5ce59f(0x1e8)](_0x44444f),_0x44444f;}[_0x38775b(0x4fb)](_0x741819){const _0x24e1a3=_0x38775b;switch(_0x741819){case ce[_0x24e1a3(0x393)]:return rs;case ce['UNIVER_SHEET']:return ns;default:throw new Error(_0x24e1a3(0x516)+_0x741819);}}};it=No([Ht(0x0,_0x1f52e5(_0x72efa4)),Ht(0x1,_0x1f52e5(xe)),Ht(0x2,_0x46df2f)],it);var Ao=Object[_0x38775b(0x4da)],Mo=Object[_0x38775b(0x1ed)],xo=(_0x37c114,_0x132487,_0x4a601c,_0x415f59)=>{const _0x1b9d48=_0x38775b;for(var _0x40f1d8=_0x415f59>0x1?void 0x0:_0x415f59?Mo(_0x132487,_0x4a601c):_0x132487,_0x5d7ce9=_0x37c114[_0x1b9d48(0x3be)]-0x1,_0x554c81;_0x5d7ce9>=0x0;_0x5d7ce9--)(_0x554c81=_0x37c114[_0x5d7ce9])&&(_0x40f1d8=(_0x415f59?_0x554c81(_0x132487,_0x4a601c,_0x40f1d8):_0x554c81(_0x40f1d8))||_0x40f1d8);return _0x415f59&&_0x40f1d8&&Ao(_0x132487,_0x4a601c,_0x40f1d8),_0x40f1d8;},qs=(_0x3d6a74,_0xb8acb7)=>(_0x248dcd,_0x5a4917)=>_0xb8acb7(_0x248dcd,_0x5a4917,_0x3d6a74);let It=class extends _0xeab596{constructor(_0x257d14,_0x53e8bd){const _0x4d7581=_0x38775b;super(),this[_0x4d7581(0x44d)]=_0x257d14,this['_imageIoService']=_0x53e8bd,this[_0x4d7581(0x442)]();}[_0x38775b(0x442)](){const _0x5ef85d=_0x38775b,_0x201952=this;this[_0x5ef85d(0x4d0)](this[_0x5ef85d(0x44d)][_0x5ef85d(0x284)]({'onBeforePasteImage':async _0x3d47b4=>{const _0x45dfef=_0x5ef85d,_0x5c1039=await _0x201952[_0x45dfef(0x43b)][_0x45dfef(0x35c)](_0x3d47b4);return _0x5c1039?{'source':_0x5c1039[_0x45dfef(0x444)],'imageSourceType':_0x5c1039['imageSourceType']}:null;}}));}};It=xo([qs(0x0,_0x4d7543),qs(0x1,_0x5c23c4)],It);const Xs=[_0x38775b(0x44e),'jiqing500',_0x38775b(0x505),_0x38775b(0x13d),'blue400',_0x38775b(0x4e2)];class Os extends _0x50a3c2{constructor(){const _0x203426=_0x38775b;super(...arguments),g(this,_0x203426(0x1b3),new Map()),g(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x1c43e9){const _0x3c2592=_0x38775b;if(this[_0x3c2592(0x1b3)][_0x3c2592(0x519)](_0x1c43e9))return this[_0x3c2592(0x1b3)][_0x3c2592(0x53d)](_0x1c43e9);const _0x2fa3c6=Xs[this[_0x3c2592(0x26f)]];return this[_0x3c2592(0x26f)]=(this[_0x3c2592(0x26f)]+0x1)%Xs[_0x3c2592(0x3be)],this['_assignedColors']['set'](_0x1c43e9,_0x2fa3c6),_0x2fa3c6;}}var Lo=Object[_0x38775b(0x4da)],$o=Object[_0x38775b(0x1ed)],Ho=(_0x1a33b0,_0x5985e3,_0x3ca928,_0x3a04b9)=>{const _0x357821=_0x38775b;for(var _0x45c4c6=_0x3a04b9>0x1?void 0x0:_0x3a04b9?$o(_0x5985e3,_0x3ca928):_0x5985e3,_0x29f096=_0x1a33b0[_0x357821(0x3be)]-0x1,_0x1bdfb3;_0x29f096>=0x0;_0x29f096--)(_0x1bdfb3=_0x1a33b0[_0x29f096])&&(_0x45c4c6=(_0x3a04b9?_0x1bdfb3(_0x5985e3,_0x3ca928,_0x45c4c6):_0x1bdfb3(_0x45c4c6))||_0x45c4c6);return _0x3a04b9&&_0x45c4c6&&Lo(_0x5985e3,_0x3ca928,_0x45c4c6),_0x45c4c6;},De=(_0x57352d,_0x50c8a0)=>(_0x3bf9bd,_0x2d920c)=>_0x50c8a0(_0x3bf9bd,_0x2d920c,_0x57352d);const jo=0x12c,Bo=0x64;let os=class extends _0xeab596{constructor(_0x3087d7,_0x215ee5,_0x994934,_0x2eabf3,_0x1d61a9,_0x26b6c7,_0x2c31b9,_0x42d482,_0x2753d4){const _0x323c14=_0x38775b;super(),g(this,_0x323c14(0x282),!0x1),g(this,'_init',!0x1),g(this,_0x323c14(0x25d),new _0x5ec0c5(new Map())),g(this,_0x323c14(0x339),this[_0x323c14(0x25d)][_0x323c14(0x44a)]()),g(this,_0x323c14(0x359),new _0x5ec0c5([])),g(this,_0x323c14(0x522),this[_0x323c14(0x359)][_0x323c14(0x378)](_0x50395b(jo))),g(this,_0x323c14(0x24f),_0xbf48cb(_0x3820b7=>{const _0x3d2fe7=_0x323c14,_0x57007d={'eventID':_0x4e17b['UPDATE_CURSOR'],'data':{'unitID':this[_0x3d2fe7(0x52a)],'memberID':this[_0x3d2fe7(0x20c)]['getMemberID'](),'selection':Li(_0x3820b7)}};this['_session'][_0x3d2fe7(0x1aa)](_0x57007d,this[_0x3d2fe7(0x52a)]);},Bo)),(this['unitID']=_0x3087d7,this[_0x323c14(0x20c)]=_0x215ee5,this[_0x323c14(0x361)]=_0x994934,this[_0x323c14(0x1cc)]=_0x2eabf3,this[_0x323c14(0x487)]=_0x1d61a9,this[_0x323c14(0x229)]=_0x26b6c7,this[_0x323c14(0x1e5)]=_0x2c31b9,this[_0x323c14(0x2f4)]=_0x42d482,this['_commandService']=_0x2753d4);}get[_0x38775b(0x290)](){const _0xf50161=_0x38775b;return this[_0xf50161(0x25d)]['getValue']();}get[_0x38775b(0x4ea)](){const _0x2205ec=_0x38775b;return this[_0x2205ec(0x359)][_0x2205ec(0x383)]();}[_0x38775b(0x369)](){const _0x5d3016=_0x38775b;super['dispose'](),this[_0x5d3016(0x25d)][_0x5d3016(0x1e8)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x5d3016(0x1e8)]([]),this['_roomMembers$'][_0x5d3016(0x2d5)]();}[_0x38775b(0x1d1)](){const _0x131051=_0x38775b;this[_0x131051(0x442)]||(this[_0x131051(0x442)]=!0x0,this[_0x131051(0x20c)][_0x131051(0x38c)][_0x131051(0x378)](_0x5a840b(this[_0x131051(0x4ac)]))[_0x131051(0x39f)](_0x4c4de5=>{const _0x562c2d=_0x131051;_0x4c4de5===ve['ONLINE']?this[_0x562c2d(0x488)]():this[_0x562c2d(0x394)]();}),this['_session']['event$'][_0x131051(0x378)](_0x5a840b(this[_0x131051(0x4ac)]))[_0x131051(0x39f)](_0x503aef=>{const _0x3fcd3c=_0x131051,_0x2ae274=_0x503aef[_0x3fcd3c(0x3c3)];_0x2ae274===_0x4e17b[_0x3fcd3c(0x4c9)]&&this[_0x3fcd3c(0x222)](_0x503aef),_0x2ae274===_0x4e17b[_0x3fcd3c(0x3fd)]&&this[_0x3fcd3c(0x45a)](_0x503aef);}),this[_0x131051(0x4d0)](this['_commandService']['onCommandExecuted'](_0x431bfc=>{const _0x265a87=_0x131051,_0x488731=_0x431bfc[_0x265a87(0x403)];_0x488731!=null&&this[_0x265a87(0x282)]&&_0x431bfc['id']===_0x1bb7fd['id']&&_0x488731[_0x265a87(0x138)]===this[_0x265a87(0x52a)]&&_0x488731[_0x265a87(0x220)]===!0x1&&_0x488731[_0x265a87(0x45e)][_0x265a87(0x3be)]>0x0&&this[_0x265a87(0x24f)](_0x488731[_0x265a87(0x45e)]);})),this[_0x131051(0x229)][_0x131051(0x13c)]['pipe'](_0x5a840b(this[_0x131051(0x4ac)]))[_0x131051(0x39f)](_0x3a07bb=>{const _0x2369aa=_0x131051;if((_0x3a07bb==null?void 0x0:_0x3a07bb['unitID'])!==this['unitID'])return;const _0x5a57a1={'eventID':_0x4e17b['UPDATE_CURSOR'],'data':_0x3a07bb};this[_0x2369aa(0x222)](_0x5a57a1);}),this[_0x131051(0x4d0)](this[_0x131051(0x3a9)][_0x131051(0x1d5)](_0xcb251e=>{const _0x5c288d=_0x131051;if(_0xcb251e[_0x5c288d(0x403)]==null)return;const _0x581e5b=_0xcb251e[_0x5c288d(0x403)];if(_0xcb251e['id']!==_0x538ca6['id']||_0x581e5b[_0x5c288d(0x138)]!==this[_0x5c288d(0x52a)])return;const _0x146996={'id':_0x5c288d(0x195),'params':_0x581e5b},_0x509eaa=this[_0x5c288d(0x290)];for(const [_0x43aa8e,_0x25423d]of _0x509eaa){const _0x2f3db8={'id':_0x5c288d(0x195),'params':{'unitId':this[_0x5c288d(0x52a)],'actions':null,'textRanges':_0x25423d[_0x5c288d(0x45e)]}},_0x34e44b=this[_0x5c288d(0x1e5)][_0x5c288d(0x32f)](_0x146996,_0x2f3db8,!0x1);if(_0x147cf3(_0x34e44b))throw _0x34e44b[_0x5c288d(0x41e)];_0x509eaa[_0x5c288d(0x157)](_0x43aa8e,{..._0x25423d,'ranges':_0x34e44b['m2Prime'][_0x5c288d(0x403)][_0x5c288d(0x22a)]});}queueMicrotask(()=>{const _0x2cf6b1=_0x5c288d;this[_0x2cf6b1(0x25d)][_0x2cf6b1(0x1e8)](_0x509eaa);});})));}['_onCursorUpdate'](_0x18ef1c){const _0x1d8d7c=_0x38775b;var _0x3ad3d0,_0x36573c;const {memberID:_0x433c77,selection:_0x2ca4c1}=_0x18ef1c[_0x1d8d7c(0x390)],_0x2ab96a=So(_0x2ca4c1),_0x1f4b33=(_0x36573c=(_0x3ad3d0=this[_0x1d8d7c(0x487)]['getMember'](this[_0x1d8d7c(0x52a)],_0x433c77))==null?void 0x0:_0x3ad3d0['name'])!=null?_0x36573c:_0x1d8d7c(0x529),_0x4fae2c={'color':this['_colorAssignService'][_0x1d8d7c(0x12f)](_0x433c77),'name':_0x1f4b33,'ranges':_0x2ab96a},_0x4f603a=this['cursorInfo'];_0x4f603a['set'](_0x433c77,_0x4fae2c),this['_cursorInfo$'][_0x1d8d7c(0x1e8)](_0x4f603a);}[_0x38775b(0x45a)](_0x14f8c8){const _0x274ba9=_0x38775b,{memberID:_0x140cce}=_0x14f8c8[_0x274ba9(0x390)],_0x8037cd=this[_0x274ba9(0x290)];_0x8037cd[_0x274ba9(0x501)](_0x140cce),this[_0x274ba9(0x25d)][_0x274ba9(0x1e8)](_0x8037cd);}[_0x38775b(0x488)](){const _0x1b4a07=_0x38775b;var _0x27a913;if(this['_online']=!0x0,((_0x27a913=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x27a913[_0x1b4a07(0x2e9)]())!==this[_0x1b4a07(0x52a)])return;const _0x346e36=this[_0x1b4a07(0x361)][_0x1b4a07(0x53d)](_0x286cc5)[_0x1b4a07(0x314)]();Array[_0x1b4a07(0x370)](_0x346e36)&&_0x346e36[_0x1b4a07(0x3be)]>0x0&&this[_0x1b4a07(0x24f)](_0x346e36);}[_0x38775b(0x394)](){const _0x2ce3ab=_0x38775b;this[_0x2ce3ab(0x282)]=!0x1;}};os=Ho([De(0x2,_0x1f52e5(_0x72efa4)),De(0x3,_0x1f52e5(Os)),De(0x4,_0x1f52e5(Me)),De(0x5,_0x1f52e5(Ts)),De(0x6,_0x529376),De(0x7,_0x46df2f),De(0x8,_0x1b7cfe)],os);var ko=Object[_0x38775b(0x4da)],Wo=Object[_0x38775b(0x1ed)],Fo=(_0x4ed64c,_0x124b7d,_0x1ffe7d,_0x4e061c)=>{const _0x898041=_0x38775b;for(var _0x3ea96d=_0x4e061c>0x1?void 0x0:_0x4e061c?Wo(_0x124b7d,_0x1ffe7d):_0x124b7d,_0x2e584a=_0x4ed64c[_0x898041(0x3be)]-0x1,_0x5cde24;_0x2e584a>=0x0;_0x2e584a--)(_0x5cde24=_0x4ed64c[_0x2e584a])&&(_0x3ea96d=(_0x4e061c?_0x5cde24(_0x124b7d,_0x1ffe7d,_0x3ea96d):_0x5cde24(_0x3ea96d))||_0x3ea96d);return _0x4e061c&&_0x3ea96d&&ko(_0x124b7d,_0x1ffe7d,_0x3ea96d),_0x3ea96d;},Be=(_0x1b6162,_0x51b8f4)=>(_0x33380b,_0x3a648e)=>_0x51b8f4(_0x33380b,_0x3a648e,_0x1b6162);const Vo=0x12c,Go=0x64,Yo=()=>{let _0x150724=[],_0x28da2f=!0x1;return _0x3c7802=>{_0x150724['push'](_0x3c7802),_0x28da2f||(_0x28da2f=!0x0,setTimeout(()=>{_0x150724['forEach'](_0x349879=>_0x349879()),_0x150724=[],_0x28da2f=!0x1;}));};};let as=class extends _0xeab596{constructor(_0x274c21,_0x113a27,_0x1dd830,_0x1479fc,_0x55e847,_0x53e406,_0x5ede4f,_0xda6b8c){const _0x443219=_0x38775b;super(),g(this,_0x443219(0x282),!0x1),g(this,'_init',!0x1),g(this,_0x443219(0x25d),new _0x5ec0c5(new Map())),g(this,_0x443219(0x339),this['_cursorInfo$'][_0x443219(0x44a)]()),g(this,_0x443219(0x359),new _0x5ec0c5([])),g(this,_0x443219(0x522),this[_0x443219(0x359)][_0x443219(0x378)](_0x50395b(Vo))),g(this,_0x443219(0x24f),_0xbf48cb((_0x15e20c,_0x47d211)=>{const _0x4a8e8b=_0x443219,_0x4a01ce={'eventID':_0x4e17b[_0x4a8e8b(0x4c9)],'data':{'unitID':this[_0x4a8e8b(0x52a)],'memberID':this[_0x4a8e8b(0x20c)]['getMemberID'](),'selection':_0x3e880b(_0x15e20c,_0x47d211['range'])}};this['_session'][_0x4a8e8b(0x1aa)](_0x4a01ce,this['unitID']);},Go)),(this['unitID']=_0x274c21,this[_0x443219(0x20c)]=_0x113a27,this[_0x443219(0x361)]=_0x1dd830,this[_0x443219(0x1cc)]=_0x1479fc,this[_0x443219(0x487)]=_0x55e847,this['_univerInstanceService']=_0x53e406,this[_0x443219(0x3a9)]=_0x5ede4f,this[_0x443219(0x328)]=_0xda6b8c);}get['cursorInfo'](){const _0x30c2c6=_0x38775b;return this['_cursorInfo$'][_0x30c2c6(0x383)]();}get[_0x38775b(0x4ea)](){const _0x2a64bf=_0x38775b;return this[_0x2a64bf(0x359)][_0x2a64bf(0x383)]();}['dispose'](){const _0x607449=_0x38775b;super['dispose'](),this[_0x607449(0x25d)][_0x607449(0x1e8)](new Map()),this['_cursorInfo$'][_0x607449(0x2d5)](),this[_0x607449(0x359)][_0x607449(0x1e8)]([]),this[_0x607449(0x359)][_0x607449(0x2d5)]();}[_0x38775b(0x1d1)](){const _0x104ee3=_0x38775b;this[_0x104ee3(0x442)]||(this['_init']=!0x0,this[_0x104ee3(0x20c)][_0x104ee3(0x38c)][_0x104ee3(0x378)](_0x5a840b(this[_0x104ee3(0x4ac)]))[_0x104ee3(0x39f)](_0x2fd56f=>{const _0xbdfb67=_0x104ee3;_0x2fd56f===ve[_0xbdfb67(0x19f)]?this['_toggleOnline']():this[_0xbdfb67(0x394)]();}),this['_session'][_0x104ee3(0x295)]['pipe'](_0x5a840b(this[_0x104ee3(0x4ac)]))[_0x104ee3(0x39f)](_0x33dd80=>{const _0x18f58c=_0x104ee3,_0x4b9e78=_0x33dd80[_0x18f58c(0x3c3)];_0x4b9e78===_0x4e17b[_0x18f58c(0x4c9)]&&this[_0x18f58c(0x222)](_0x33dd80),_0x4b9e78===_0x4e17b[_0x18f58c(0x3fd)]&&this[_0x18f58c(0x45a)](_0x33dd80);}),this['_onRefRangeChange'](),this[_0x104ee3(0x4d0)](this[_0x104ee3(0x3a9)][_0x104ee3(0x1d5)](_0x4b217a=>{const _0x30952b=_0x104ee3;if(this[_0x30952b(0x282)]&&_0x4b217a['id']===_0x3b5632['id']&&_0x4b217a[_0x30952b(0x403)][_0x30952b(0x138)]===this[_0x30952b(0x52a)]){const _0xed4bf6=_0x4b217a[_0x30952b(0x403)];this[_0x30952b(0x24f)](_0xed4bf6[_0x30952b(0x3b0)],_0xed4bf6['selections'][0x0]);}})));}[_0x38775b(0x222)](_0x51151f){const _0x793536=_0x38775b;var _0x260bb4,_0x395df9;const {memberID:_0x1dcd25,selection:_0x4ae74e}=_0x51151f['data'],{sheetName:_0x471763,range:_0x4387a7}=_0x366003(_0x4ae74e),_0x48dde2={'name':(_0x395df9=(_0x260bb4=this[_0x793536(0x487)][_0x793536(0x50f)](this[_0x793536(0x52a)],_0x1dcd25))==null?void 0x0:_0x260bb4[_0x793536(0x1e6)])!=null?_0x395df9:_0x793536(0x529),'range':this[_0x793536(0x1f4)](_0x471763,_0x4387a7),'sheetID':_0x471763,'color':this[_0x793536(0x1cc)][_0x793536(0x12f)](_0x1dcd25),'selection':_0x4ae74e},_0x343a8c=this[_0x793536(0x290)];_0x343a8c['set'](_0x1dcd25,_0x48dde2),this[_0x793536(0x25d)][_0x793536(0x1e8)](_0x343a8c);}[_0x38775b(0x45a)](_0x22a49d){const _0x57b914=_0x38775b,{memberID:_0x5af7f1}=_0x22a49d[_0x57b914(0x390)],_0x525074=this[_0x57b914(0x290)];_0x525074[_0x57b914(0x501)](_0x5af7f1),this['_cursorInfo$'][_0x57b914(0x1e8)](_0x525074);}[_0x38775b(0x1f4)](_0x455b92,_0x12a4bf){const _0x15281e=_0x38775b;var _0x556e75,_0x1f5604;const _0x4497e8=(_0x1f5604=(_0x556e75=this['_univerInstanceService'][_0x15281e(0x553)](this[_0x15281e(0x52a)]))==null?void 0x0:_0x556e75[_0x15281e(0x38d)](_0x455b92))==null?void 0x0:_0x1f5604[_0x15281e(0x4ae)]();return(_0x4497e8==null?void 0x0:_0x4497e8['find'](_0x441b78=>_0x1196c3['contains'](_0x441b78,_0x12a4bf)))||_0x12a4bf;}[_0x38775b(0x1c7)](){const _0x1b280e=_0x38775b,_0x66e19a=new _0x3f4d11(),_0x1da308=Yo(),_0x75a1e4=()=>{const _0x5b4477=_0x8857;_0x66e19a[_0x5b4477(0x369)]();const _0x32553b=(_0x19cd6d,_0x543384,_0x501def,_0x1f8445)=>{const _0x2c6835=_0x5b4477;let _0x2e6575=[];switch(_0x19cd6d['id']){case _0x1c949a[_0x2c6835(0x36b)]:{_0x2e6575=_0x46bdae(_0x19cd6d,_0x1f8445);break;}case _0x1c949a[_0x2c6835(0x1bf)]:{_0x2e6575=_0x56291b(_0x19cd6d,_0x1f8445);break;}case _0x1c949a[_0x2c6835(0x24e)]:{_0x2e6575=_0x3f85e1(_0x19cd6d,_0x1f8445);break;}case _0x1c949a[_0x2c6835(0x33b)]:{_0x2e6575=_0x36b0b9(_0x19cd6d,_0x1f8445);break;}case _0x1c949a[_0x2c6835(0x504)]:{_0x2e6575=_0x2eb8e3(_0x19cd6d,_0x1f8445);break;}case _0x1c949a['InsertRowCommandId']:{_0x2e6575=_0x315c4a(_0x19cd6d,_0x1f8445);break;}case _0x1c949a[_0x2c6835(0x23c)]:{_0x2e6575=_0x107c87(_0x19cd6d,_0x1f8445);break;}case _0x1c949a[_0x2c6835(0x226)]:{_0x2e6575=_0x379d1a(_0x19cd6d,_0x1f8445);break;}case _0x1c949a[_0x2c6835(0x407)]:{_0x2e6575=_0x23d11f(_0x19cd6d,_0x1f8445);break;}}const _0x117f6a=_0x5be1ef(_0x2e6575,_0x1f8445),_0x556aa5=this['cursorInfo'][_0x2c6835(0x53d)](_0x543384);if(_0x556aa5&&_0x117f6a){const _0x31f75b={..._0x556aa5,'range':_0x117f6a};this[_0x2c6835(0x290)][_0x2c6835(0x157)](_0x543384,_0x31f75b),_0x1da308(()=>{const _0x1113c1=_0x2c6835,_0x113dcd=this[_0x1113c1(0x328)][_0x1113c1(0x356)](_0x117f6a,_0x45d3d0=>(_0x113dcd[_0x1113c1(0x369)](),_0x32553b(_0x45d3d0,_0x543384,_0x501def,_0x117f6a)));_0x66e19a['add'](_0x113dcd);});}return{'redos':[],'undos':[]};};this[_0x5b4477(0x290)][_0x5b4477(0x3d1)]((_0x167ee3,_0x375126)=>{const _0x30b346=_0x5b4477,{range:_0xc77582,sheetID:_0xb03c7d}=_0x167ee3,_0x489329=this['_refRangeService'][_0x30b346(0x356)](_0xc77582,_0x2a204a=>(_0x489329['dispose'](),_0x32553b(_0x2a204a,_0x375126,_0xb03c7d,_0xc77582)));_0x66e19a[_0x30b346(0x431)](_0x489329);});};this['disposeWithMe'](_0x55f741(this[_0x1b280e(0x25d)][_0x1b280e(0x39f)](()=>{_0x75a1e4();})));}[_0x38775b(0x488)](){const _0x3f91a5=_0x38775b;var _0x60eaa8,_0x3408f9;if(this[_0x3f91a5(0x282)]=!0x0,((_0x60eaa8=this[_0x3f91a5(0x2f4)]['getFocusedUnit']())==null?void 0x0:_0x60eaa8[_0x3f91a5(0x2e9)]())!==this[_0x3f91a5(0x52a)])return;const _0x49306=(_0x3408f9=this[_0x3f91a5(0x361)][_0x3f91a5(0x53d)](_0x3650d1)[_0x3f91a5(0x514)]())==null?void 0x0:_0x3408f9[0x0],_0x580998=this[_0x3f91a5(0x2f4)][_0x3f91a5(0x4b7)](_0x245a17[_0x3f91a5(0x372)])[_0x3f91a5(0x34e)]();_0x49306&&_0x580998&&this['_updateLocalCursor'](_0x580998[_0x3f91a5(0x171)](),_0x49306);}[_0x38775b(0x394)](){const _0x33a70a=_0x38775b;this[_0x33a70a(0x282)]=!0x1;}};as=Fo([Be(0x2,_0x1f52e5(_0x72efa4)),Be(0x3,_0x1f52e5(Os)),Be(0x4,_0x1f52e5(Me)),Be(0x5,_0x46df2f),Be(0x6,_0x1b7cfe),Be(0x7,_0x1f52e5(_0x4730c9))],as);var Ko=Object['defineProperty'],zo=Object['getOwnPropertyDescriptor'],qo=(_0x462eb3,_0x8363e4,_0x3345a9,_0x1916a3)=>{const _0x3fed3c=_0x38775b;for(var _0x3a20cb=_0x1916a3>0x1?void 0x0:_0x1916a3?zo(_0x8363e4,_0x3345a9):_0x8363e4,_0x3227cd=_0x462eb3[_0x3fed3c(0x3be)]-0x1,_0x43ba30;_0x3227cd>=0x0;_0x3227cd--)(_0x43ba30=_0x462eb3[_0x3227cd])&&(_0x3a20cb=(_0x1916a3?_0x43ba30(_0x8363e4,_0x3345a9,_0x3a20cb):_0x43ba30(_0x3a20cb))||_0x3a20cb);return _0x1916a3&&_0x3a20cb&&Ko(_0x8363e4,_0x3345a9,_0x3a20cb),_0x3a20cb;},jt=(_0x2a6683,_0x250a5f)=>(_0x551e68,_0x36582b)=>_0x250a5f(_0x551e68,_0x36582b,_0x2a6683);let Ve=class extends _0xeab596{constructor(_0x4e73bd,_0x5e5f74,_0x19013d){const _0x425759=_0x38775b;super(),g(this,_0x425759(0x41c),new Map()),g(this,_0x425759(0x39a),new _0x1d41c9()),(this[_0x425759(0x2f4)]=_0x4e73bd,this['_injector']=_0x5e5f74,this[_0x425759(0x17b)]=_0x19013d,this[_0x425759(0x442)]());}[_0x38775b(0x369)](){const _0x22264a=_0x38775b;super['dispose'](),this[_0x22264a(0x39a)][_0x22264a(0x2d5)](),this['_entities'][_0x22264a(0x3d1)](_0x57f6db=>_0x57f6db[_0x22264a(0x369)]());}[_0x38775b(0x536)](_0xa65d70){const _0x275bc1=_0x38775b;return this[_0x275bc1(0x41c)][_0x275bc1(0x519)](_0xa65d70)?this[_0x275bc1(0x41c)][_0x275bc1(0x53d)](_0xa65d70)[_0x275bc1(0x339)]:this[_0x275bc1(0x39a)][_0x275bc1(0x378)](_0xe11a46(_0x3a2f6b=>_0x3a2f6b[_0x275bc1(0x52a)]===_0xa65d70),_0x349f17(_0x40e67e=>_0x40e67e[_0x275bc1(0x339)]));}[_0x38775b(0x442)](){const _0x17e452=_0x38775b;this[_0x17e452(0x2f4)]['getTypeOfUnitAdded$'](_0x245a17[_0x17e452(0x372)])[_0x17e452(0x378)](_0x5a840b(this[_0x17e452(0x4ac)]))[_0x17e452(0x39f)](async _0x557c67=>{const _0x182524=_0x17e452,_0x4a4d99=_0x557c67[_0x182524(0x2e9)](),_0x46c7a2=await this[_0x182524(0x1d0)](_0x4a4d99);this[_0x182524(0x39a)][_0x182524(0x1e8)](_0x46c7a2),this[_0x182524(0x41c)]['set'](_0x4a4d99,_0x46c7a2);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x245a17['UNIVER_DOC'])['pipe'](_0x5a840b(this[_0x17e452(0x4ac)]))['pipe'](_0xe11a46(_0x1b8200=>!_0x1b8200[_0x17e452(0x2e9)]()[_0x17e452(0x3cd)]('__')))['subscribe'](async _0x3808fd=>{const _0x47dd15=_0x17e452,_0x2a3b63=_0x3808fd[_0x47dd15(0x2e9)](),_0x56b106=await this['_startDocCollabCursor'](_0x2a3b63);this[_0x47dd15(0x39a)][_0x47dd15(0x1e8)](_0x56b106),this['_entities']['set'](_0x2a3b63,_0x56b106);}),_0x3804fb(this[_0x17e452(0x2f4)][_0x17e452(0x456)](_0x245a17[_0x17e452(0x393)]),this[_0x17e452(0x2f4)]['getTypeOfUnitDisposed$'](_0x245a17[_0x17e452(0x372)]))[_0x17e452(0x378)](_0x5a840b(this[_0x17e452(0x4ac)]))[_0x17e452(0x39f)](_0x39bc9a=>{const _0x41e431=_0x17e452,_0x598685=_0x39bc9a[_0x41e431(0x2e9)](),_0x12e595=this['_entities'][_0x41e431(0x53d)](_0x598685);_0x12e595&&(_0x12e595[_0x41e431(0x369)](),this[_0x41e431(0x41c)][_0x41e431(0x501)](_0x598685));});}async['_startSheetCollabCursor'](_0x895a50){const _0x11f9e7=_0x38775b,_0x30ec59=await this[_0x11f9e7(0x17b)][_0x11f9e7(0x3a5)](_0x895a50),_0x32848a=this[_0x11f9e7(0x361)]['createInstance'](as,_0x895a50,_0x30ec59);return _0x32848a[_0x11f9e7(0x1d1)](),_0x32848a;}async[_0x38775b(0x4d5)](_0x4c9714){const _0x244931=_0x38775b,_0x2accab=await this['_collabSessionService'][_0x244931(0x3a5)](_0x4c9714),_0x1bb63c=this[_0x244931(0x361)]['createInstance'](os,_0x4c9714,_0x2accab);return _0x1bb63c[_0x244931(0x1d1)](),_0x1bb63c;}};Ve=qo([jt(0x0,_0x46df2f),jt(0x1,_0x1f52e5(_0x72efa4)),jt(0x2,_0x1f52e5(xe))],Ve);const rt=0x14,Js=0xc8,Bt=0x4,Xo=0x5;function Jo(_0x13f5e4,_0x17034f){const _0x3e6a04=_0x38775b;let {radius:_0x26db25,width:_0x2c4f69,height:_0x44f1f8}=_0x17034f;_0x26db25=_0x26db25!=null?_0x26db25:0x0,_0x2c4f69=_0x2c4f69!=null?_0x2c4f69:0x1e,_0x44f1f8=_0x44f1f8!=null?_0x44f1f8:0x1e;let _0x5a65f3=0x0,_0x2f5bd7=0x0,_0xa7255c=0x0;_0x5a65f3=_0x2f5bd7=_0xa7255c=Math[_0x3e6a04(0x4de)](_0x26db25,_0x2c4f69/0x2,_0x44f1f8/0x2),_0x13f5e4[_0x3e6a04(0x2c5)](),_0x13f5e4[_0x3e6a04(0x36e)](_0x5a65f3,0x0),_0x13f5e4['lineTo'](_0x2c4f69-_0x2f5bd7,0x0),_0x13f5e4[_0x3e6a04(0x551)](_0x2c4f69-_0x2f5bd7,_0x2f5bd7,_0x2f5bd7,Math['PI']*0x3/0x2,0x0,!0x1),_0x13f5e4[_0x3e6a04(0x28f)](_0x2c4f69,_0x44f1f8-_0xa7255c),_0x13f5e4[_0x3e6a04(0x551)](_0x2c4f69-_0xa7255c,_0x44f1f8-_0xa7255c,_0xa7255c,0x0,Math['PI']/0x2,!0x1),_0x13f5e4[_0x3e6a04(0x28f)](0x0,_0x44f1f8),_0x13f5e4[_0x3e6a04(0x28f)](0x0,_0x5a65f3),_0x13f5e4[_0x3e6a04(0x551)](_0x5a65f3,_0x5a65f3,_0x5a65f3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13f5e4[_0x3e6a04(0x207)](),_0x17034f['fill']&&(_0x13f5e4[_0x3e6a04(0x3e7)](),_0x13f5e4['fillStyle']=_0x17034f[_0x3e6a04(0x409)],_0x17034f[_0x3e6a04(0x3d9)]===_0x3e6a04(0x4e6)?_0x13f5e4[_0x3e6a04(0x409)](_0x3e6a04(0x4e6)):_0x13f5e4[_0x3e6a04(0x409)](),_0x13f5e4[_0x3e6a04(0x16f)]());}class wt extends _0x22e6fe{constructor(_0x4ab2eb,_0x312577){const _0x1a1625=_0x38775b;super(_0x4ab2eb,_0x312577),g(this,_0x1a1625(0x29b)),g(this,_0x1a1625(0x29c)),(this['color']=_0x312577==null?void 0x0:_0x312577[_0x1a1625(0x29b)],this[_0x1a1625(0x29c)]=_0x312577==null?void 0x0:_0x312577['text']);}static[_0x38775b(0x355)](_0x4c1895,_0x5938e9){const _0x21b551=_0x38775b,{text:_0x29e1a9,color:_0x38dd75}=_0x5938e9;_0x4c1895[_0x21b551(0x3e7)](),_0x4c1895['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x409d7c=_0x4c1895[_0x21b551(0x2cd)](_0x29e1a9)[_0x21b551(0x26d)],_0x4c1d34=Math[_0x21b551(0x4de)](_0x409d7c+0x2*Bt,Js);Jo(_0x4c1895,{'height':rt,'radius':0x4,'width':_0x4c1d34,'fill':_0x38dd75,'evented':!0x1}),_0x4c1895[_0x21b551(0x544)]='#FFF';const _0x5dfa7b=Bt,_0x1b9e12=rt-Xo,_0x34d014=Js-0x2*Bt;if(_0x409d7c>_0x34d014){let _0x4f0b35='',_0x486119=0x0;for(const _0x29fd0c of _0x29e1a9){const _0x166bb3=_0x4c1895['measureText'](_0x29fd0c)[_0x21b551(0x26d)];if(_0x486119+_0x166bb3<=_0x34d014-_0x4c1895[_0x21b551(0x2cd)](_0x21b551(0x471))[_0x21b551(0x26d)])_0x4f0b35+=_0x29fd0c,_0x486119+=_0x166bb3;else{_0x4f0b35+='...';break;}}_0x4c1895[_0x21b551(0x246)](_0x4f0b35,_0x5dfa7b,_0x1b9e12);}else _0x4c1895[_0x21b551(0x246)](_0x29e1a9,_0x5dfa7b,_0x1b9e12);_0x4c1895[_0x21b551(0x16f)]();}[_0x38775b(0x235)](_0x195c26){const _0x3f0672=_0x38775b;wt[_0x3f0672(0x355)](_0x195c26,this);}}const kt='collab-text-anchor-',Zo='collab-text-range-',Qo='collab-rect-range-',Je=0x6,ea=1.5,Wt=0x4,ta=1.5,sa='rgba(255,\x20255,\x20255,\x200.01)';class Zs{constructor(_0x16e779,_0x2404d2,_0x305a58,_0x5b99e4){const _0x2571b8=_0x38775b;g(this,_0x2571b8(0x450),[]),g(this,'_anchor',null),g(this,_0x2571b8(0x452),null),g(this,_0x2571b8(0x1cd),null),g(this,_0x2571b8(0x4b6),null),g(this,_0x2571b8(0x2da),null),(this[_0x2571b8(0x316)]=_0x16e779,this[_0x2571b8(0x340)]=_0x2404d2,this[_0x2571b8(0x239)]=_0x305a58,this[_0x2571b8(0x16d)]=_0x5b99e4,this[_0x2571b8(0x251)]());}set['_hover'](_0x296227){const _0x3b7c62=_0x38775b;_0x296227?(this[_0x3b7c62(0x1cd)]&&this[_0x3b7c62(0x1cd)]['hide'](),this[_0x3b7c62(0x452)]&&this['_textBubble']['show']()):(this[_0x3b7c62(0x1cd)]&&this[_0x3b7c62(0x1cd)][_0x3b7c62(0x32d)](),this[_0x3b7c62(0x452)]&&this[_0x3b7c62(0x452)][_0x3b7c62(0x29e)]());}[_0x38775b(0x369)](){const _0x88af36=_0x38775b;for(const _0x51cabf of this[_0x88af36(0x450)])_0x51cabf[_0x88af36(0x369)]();this[_0x88af36(0x452)]&&this[_0x88af36(0x452)][_0x88af36(0x369)](),this[_0x88af36(0x1cd)]&&this[_0x88af36(0x1cd)][_0x88af36(0x369)](),this[_0x88af36(0x159)]&&this[_0x88af36(0x159)][_0x88af36(0x369)](),this['_eventUnsubscribe']&&this[_0x88af36(0x2da)]();}['_render'](){const _0x389c7f=_0x38775b;var _0x775dd2;const {_docSkeleton:_0x578302,_document:_0x5a479d}=this,{color:_0x369757,name:_0x31877f,ranges:_0x31f385}=this[_0x389c7f(0x316)],_0x579d8b=_0x5a479d[_0x389c7f(0x31d)](),{docsLeft:_0x1543d2,docsTop:_0x1b3e2a}=_0x579d8b,_0x299027=new _0x2d0d3c(_0x579d8b,_0x578302);for(const {startOffset:_0x240621,endOffset:_0x492118,rangeType:_0x19a3f3,segmentId:_0x15989e,segmentPage:_0x498b3b,collapsed:_0x30a0d4,isActive:_0x57578a}of _0x31f385){const _0x217798=_0x578302[_0x389c7f(0x549)](_0x240621,!0x0,_0x15989e,_0x498b3b);let _0x2eb1f1=_0x578302[_0x389c7f(0x549)](_0x492118,!0x0,_0x15989e,_0x498b3b);if(_0x2eb1f1==null&&(_0x2eb1f1=_0x578302[_0x389c7f(0x549)](_0x492118-0x1,!0x1,_0x15989e,_0x498b3b)),_0x57578a){const {contentBoxPointGroup:_0x10ec5b}=_0x299027[_0x389c7f(0x24d)](_0x2eb1f1,_0x2eb1f1);if(_0x10ec5b[_0x389c7f(0x3be)]===0x0)continue;this[_0x389c7f(0x482)](_0x369757,_0x10ec5b,_0x1543d2,_0x1b3e2a,_0x31877f),this[_0x389c7f(0x2da)]=this['_handleHover']();}if(_0x217798&&_0x2eb1f1){if(_0x19a3f3===_0x3fab39[_0x389c7f(0x422)]){const _0xd2f9e2=new _0x3d446d(_0x579d8b,_0x578302),{pointGroup:_0x300251}=(_0x775dd2=_0xd2f9e2[_0x389c7f(0x24d)](_0x217798,_0x2eb1f1))!=null?_0x775dd2:{};if(_0x300251==null||_0x300251[_0x389c7f(0x3be)]===0x0)continue;this[_0x389c7f(0x496)](_0x369757,_0x300251,_0x1543d2,_0x1b3e2a);}else{if(!_0x30a0d4){const {borderBoxPointGroup:_0x2e5b08}=_0x299027[_0x389c7f(0x24d)](_0x217798,_0x2eb1f1);if(_0x2e5b08['length']===0x0)continue;this[_0x389c7f(0x147)](_0x369757,_0x2e5b08,_0x1543d2,_0x1b3e2a);}}}}}[_0x38775b(0x482)](_0x35efb1,_0x414fac,_0x4c61c3,_0x454981,_0x2c4087){const _0xaa792e=_0x38775b,_0x3edc59=this[_0xaa792e(0x178)](_0x414fac),{left:_0xace29f,top:_0x1d74d7,height:_0x1bacb3}=_0x3edc59,_0x30e4a4=this['_getScale'](),_0x1d76bf=ta/_0x30e4a4,_0x59392=new _0x25eca0(kt+_0x51c383[_0xaa792e(0x455)](Je),{'left':_0xace29f+_0x4c61c3-_0x1d76bf,'top':_0x1d74d7+_0x454981,'height':_0x1bacb3,'width':ea,'fill':_0x35efb1||_0x4872fa(_0x3485cd[_0xaa792e(0x4f7)],0x0),'strokeWidth':_0x1d76bf,'stroke':sa,'evented':!0x0});this[_0xaa792e(0x159)]=_0x59392,this['_scene'][_0xaa792e(0x144)](_0x59392,_0xda4206);const _0x26c425=new _0x25eca0(kt+_0x51c383[_0xaa792e(0x455)](Je),{'left':_0xace29f+_0x4c61c3-_0x1d76bf,'top':_0x1d74d7+_0x454981-Wt/0x2,'height':Wt,'width':Wt,'fill':_0x35efb1||_0x4872fa(_0x3485cd['black'],0x0),'strokeWidth':0x0,'stroke':_0x35efb1||_0x4872fa(_0x3485cd['black'],0x0),'evented':!0x1});this[_0xaa792e(0x1cd)]=_0x26c425,this[_0xaa792e(0x340)][_0xaa792e(0x144)](_0x26c425,_0xda4206);const _0x32b190=new wt(kt+_0x51c383[_0xaa792e(0x455)](Je),{'left':_0xace29f+_0x4c61c3-_0x1d76bf,'top':_0x1d74d7+_0x454981-rt,'text':_0x2c4087,'color':_0x35efb1});this['_textBubble']=_0x32b190,this[_0xaa792e(0x340)]['addObject'](_0x32b190,_0xda4206),this[_0xaa792e(0x472)]=!0x1;}[_0x38775b(0x362)](){const _0x3d270b=_0x38775b,_0x4b9b4f=this[_0x3d270b(0x159)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x41067a=_0x3d270b;this[_0x41067a(0x472)]=!0x0;}),_0x378e7b=this['_anchor'][_0x3d270b(0x473)][_0x3d270b(0x185)](()=>{const _0x1a8436=_0x3d270b;this['_hideTimer']&&clearTimeout(this[_0x1a8436(0x4b6)]),this[_0x1a8436(0x4b6)]=setTimeout(()=>{const _0x57d53f=_0x1a8436;this[_0x57d53f(0x472)]=!0x1;},0x7d0);});return()=>{const _0x1c84c2=_0x3d270b;_0x4b9b4f['unsubscribe'](),_0x378e7b[_0x1c84c2(0x334)]();};}['_drawTextRange'](_0x5977c6,_0x2afd2f,_0x318c32,_0x8e8559){const _0xce5556=_0x38775b,_0x48ee16=new _0x111403(_0x5977c6)[_0xce5556(0x350)](0.2)[_0xce5556(0x3bd)](),_0x49cec2=new _0x20132d(Zo+_0x51c383[_0xce5556(0x455)](Je),{'pointsGroup':_0x2afd2f,'fill':_0x48ee16||_0x4872fa(_0x3485cd[_0xce5556(0x4f7)],0.2),'left':_0x318c32,'top':_0x8e8559,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xce5556(0x450)][_0xce5556(0x42f)](_0x49cec2),this['_scene'][_0xce5556(0x144)](_0x49cec2,_0xda4206);}[_0x38775b(0x496)](_0x4f2fba,_0x1cf918,_0x3a2ea6,_0x325dd0){const _0x64e06b=_0x38775b,_0x27add5=new _0x111403(_0x4f2fba)['setAlpha'](0.2)[_0x64e06b(0x3bd)](),_0x58e377=new _0x20132d(Qo+_0x51c383[_0x64e06b(0x455)](Je),{'pointsGroup':_0x1cf918,'fill':_0x27add5||_0x4872fa(_0x3485cd[_0x64e06b(0x4f7)],0.2),'left':_0x3a2ea6,'top':_0x325dd0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x58e377),this[_0x64e06b(0x340)]['addObject'](_0x58e377,_0xda4206);}['_getAnchorBounding'](_0x1bfeae){const _0x3f1307=_0x1bfeae[0x0],_0x3054d6=_0x3f1307[0x0],_0x6fb753=_0x3f1307[0x2],{x:_0x2179af,y:_0x1c74dc}=_0x3054d6,{x:_0x1cd485,y:_0x43ecad}=_0x6fb753;return{'left':_0x2179af,'top':_0x1c74dc,'width':_0x1cd485-_0x2179af,'height':_0x43ecad-_0x1c74dc};}[_0x38775b(0x23f)](){const _0x2eae67=_0x38775b,{scaleX:_0x68d9d0,scaleY:_0x272724}=this[_0x2eae67(0x340)][_0x2eae67(0x199)]();return Math[_0x2eae67(0x3b8)](_0x68d9d0,_0x272724);}}var ia=Object[_0x38775b(0x4da)],ra=Object['getOwnPropertyDescriptor'],na=(_0x5ba27f,_0x14962f,_0x56764c,_0x1fde22)=>{for(var _0x4d1b57=_0x1fde22>0x1?void 0x0:_0x1fde22?ra(_0x14962f,_0x56764c):_0x14962f,_0x8f2ef3=_0x5ba27f['length']-0x1,_0x178c80;_0x8f2ef3>=0x0;_0x8f2ef3--)(_0x178c80=_0x5ba27f[_0x8f2ef3])&&(_0x4d1b57=(_0x1fde22?_0x178c80(_0x14962f,_0x56764c,_0x4d1b57):_0x178c80(_0x4d1b57))||_0x4d1b57);return _0x1fde22&&_0x4d1b57&&ia(_0x14962f,_0x56764c,_0x4d1b57),_0x4d1b57;},ct=(_0x3215f2,_0xaeb66e)=>(_0x159209,_0x16fa85)=>_0xaeb66e(_0x159209,_0x16fa85,_0x3215f2);let cs=class extends _0xeab596{constructor(_0x4e0061,_0x158f5c,_0x1af35d,_0x254041,_0x2542d0){const _0x1d09b4=_0x38775b;super(),g(this,'_cursorShapes',[]),g(this,_0x1d09b4(0x25b),[]),(this['_context']=_0x4e0061,this[_0x1d09b4(0x293)]=_0x158f5c,this[_0x1d09b4(0x264)]=_0x1af35d,this['_commandService']=_0x254041,this[_0x1d09b4(0x54c)]=_0x2542d0,this[_0x1d09b4(0x442)]());}[_0x38775b(0x442)](){const _0x1f9ba5=_0x38775b,_0x836ea8=this['_context'][_0x1f9ba5(0x138)],_0x214034=this[_0x1f9ba5(0x293)];this[_0x1f9ba5(0x4d0)](_0x59105b([this[_0x1f9ba5(0x264)][_0x1f9ba5(0x536)](_0x836ea8),this[_0x1f9ba5(0x54c)][_0x1f9ba5(0x33e)]])[_0x1f9ba5(0x378)](_0x3e374a(([_0x2472f6,_0x9304a9])=>({'skeleton':_0x214034['getSkeleton'](),'cursors':[..._0x2472f6[_0x1f9ba5(0x4cd)]()][_0x1f9ba5(0x2fd)](_0x2cac20=>({..._0x2cac20,'color':_0x9304a9[_0x2cac20['color']]}))})))[_0x1f9ba5(0x39f)](_0x4646f0=>{const _0x19fe6d=_0x1f9ba5;if(this[_0x19fe6d(0x2a6)](),_0x4646f0){const {skeleton:_0x12410f,cursors:_0x39559e}=_0x4646f0;this[_0x19fe6d(0x3c2)](_0x12410f,_0x39559e);}})),this[_0x1f9ba5(0x29d)](),this[_0x1f9ba5(0x154)]();}['_updateCollabCursors'](_0x445076,_0x37c8ed){const _0x26cd71=_0x38775b,{scene:_0x420ca3,mainComponent:_0xb2eea8}=this['_context'],_0x2974cb=_0x37c8ed[_0x26cd71(0x18e)](_0x45c630=>new Zs(_0x45c630,_0x420ca3,_0x445076,_0xb2eea8));this['_cursorShapes']=_0x2974cb,this[_0x26cd71(0x25b)]=_0x37c8ed;}[_0x38775b(0x15a)](){const _0x143ac4=_0x38775b;this['_removeCollabCursors']();const {scene:_0x118848,mainComponent:_0xc16fa6}=this['_context'],_0x4ffd06=this[_0x143ac4(0x293)][_0x143ac4(0x174)](),_0x4bd2db=this[_0x143ac4(0x25b)][_0x143ac4(0x18e)](_0x29ac44=>new Zs(_0x29ac44,_0x118848,_0x4ffd06,_0xc16fa6));this['_cursorShapes']=_0x4bd2db;}[_0x38775b(0x2a6)](){const _0x506af5=_0x38775b;this[_0x506af5(0x3bc)]['forEach'](_0x15ee9c=>_0x15ee9c['dispose']()),this[_0x506af5(0x3bc)]=[];}['_initCommandExecutedListener'](){const _0x16ec71=_0x38775b,_0x4e4820=[_0x5a5ead['id']];this['disposeWithMe'](this[_0x16ec71(0x3a9)][_0x16ec71(0x1d5)](_0x202b2d=>{const _0x289345=_0x16ec71;_0x4e4820[_0x289345(0x303)](_0x202b2d['id'])&&_0x202b2d[_0x289345(0x403)][_0x289345(0x138)]===this[_0x289345(0x528)]['unitId']&&this[_0x289345(0x15a)]();}));}[_0x38775b(0x29d)](){const _0x5eec69=_0x38775b;this['disposeWithMe'](_0x4070d7(this['_context'][_0x5eec69(0x329)][_0x5eec69(0x2d2)])['pipe'](_0x25f474(_0x2e6dc8=>_0x2e6dc8['type']===_0x5b3346[_0x5eec69(0x457)]),_0x1a9a6c(0x10))[_0x5eec69(0x39f)](()=>{const _0x158138=_0x5eec69;this[_0x158138(0x15a)]();}));}};cs=na([ct(0x1,_0x1f52e5(_0x53056e)),ct(0x2,_0x1f52e5(Ve)),ct(0x3,_0x1b7cfe),ct(0x4,_0x1f52e5(_0x102000))],cs);const oa=0x1,aa=1.5;class ca extends _0x22e6fe{constructor(_0xf2dec4,_0x49547d){const _0x4af305=_0x38775b;super(_0xf2dec4,_0x49547d),g(this,_0x4af305(0x4c7)),g(this,_0x4af305(0x288),!0x1),g(this,_0x4af305(0x4af)),g(this,_0x4af305(0x322),''),g(this,_0x4af305(0x559),_0x4af305(0x319)),g(this,_0x4af305(0x232)),(_0x49547d&&this[_0x4af305(0x42e)](_0x49547d),this['onPointerEnter$'][_0x4af305(0x185)](()=>this[_0x4af305(0x42e)]({'hovered':!0x0})),this[_0x4af305(0x473)][_0x4af305(0x185)](()=>this[_0x4af305(0x42e)]({'hovered':!0x1})));}[_0x38775b(0x42e)](_0x34ac60){const _0x135a7e=_0x38775b;var _0x395c64,_0x270180,_0x4c673a,_0x15869d,_0x5da52f,_0x5a1743;this[_0x135a7e(0x4c7)]=(_0x395c64=_0x34ac60[_0x135a7e(0x29b)])!=null?_0x395c64:this[_0x135a7e(0x4c7)],this['_hovered']=(_0x270180=_0x34ac60[_0x135a7e(0x202)])!=null?_0x270180:this[_0x135a7e(0x288)],this['_range']=(_0x4c673a=_0x34ac60['range'])!=null?_0x4c673a:this[_0x135a7e(0x4af)],this[_0x135a7e(0x322)]=(_0x15869d=_0x34ac60[_0x135a7e(0x1e6)])!=null?_0x15869d:this[_0x135a7e(0x322)],this[_0x135a7e(0x559)]=(_0x5da52f=_0x34ac60[_0x135a7e(0x1f1)])!=null?_0x5da52f:this[_0x135a7e(0x559)],this['_backgroundColor']=(_0x5a1743=_0x34ac60[_0x135a7e(0x50d)])!=null?_0x5a1743:this[_0x135a7e(0x232)],this[_0x135a7e(0x1e1)]({'width':_0x34ac60[_0x135a7e(0x26d)],'height':_0x34ac60[_0x135a7e(0x28e)]});}[_0x38775b(0x375)](_0x5f371a){const _0xe2f43c=_0x38775b,{row:_0x591d03,column:_0x5f1d2c}=_0x5f371a;if(_0x591d03>=this[_0xe2f43c(0x4af)]['startRow']&&_0x591d03<=this[_0xe2f43c(0x4af)]['endRow']&&_0x5f1d2c>=this['_range'][_0xe2f43c(0x406)]&&_0x5f1d2c<=this[_0xe2f43c(0x4af)][_0xe2f43c(0x181)]){this[_0xe2f43c(0x42e)]({'hovered':!0x0});return;}this[_0xe2f43c(0x42e)]({'hovered':!0x1});}[_0x38775b(0x2d4)](_0x4391ca){return!0x1;}['_draw'](_0x48fbca){const _0x135a78=_0x38775b;_0x25eca0[_0x135a78(0x355)](_0x48fbca,{'width':this[_0x135a78(0x26d)],'height':this[_0x135a78(0x28e)],'strokeWidth':aa,'stroke':this[_0x135a78(0x4c7)],'evented':!0x1,'fill':this[_0x135a78(0x232)]}),this['_hovered']&&(_0x48fbca['save'](),_0x48fbca['transform'](0x1,0x0,0x0,0x1,this[_0x135a78(0x26d)],this[_0x135a78(0x559)]===_0x135a78(0x2b6)?0x0:-rt),wt[_0x135a78(0x355)](_0x48fbca,{'text':this[_0x135a78(0x322)],'color':this['_color']}),_0x48fbca['restore']());}}var ha=Object[_0x38775b(0x4da)],la=Object[_0x38775b(0x1ed)],_a=(_0x417136,_0x2cab2c,_0x560e70,_0x11a905)=>{const _0x246646=_0x38775b;for(var _0x1723ad=_0x11a905>0x1?void 0x0:_0x11a905?la(_0x2cab2c,_0x560e70):_0x2cab2c,_0x1e3a78=_0x417136[_0x246646(0x3be)]-0x1,_0x1a28ba;_0x1e3a78>=0x0;_0x1e3a78--)(_0x1a28ba=_0x417136[_0x1e3a78])&&(_0x1723ad=(_0x11a905?_0x1a28ba(_0x2cab2c,_0x560e70,_0x1723ad):_0x1a28ba(_0x1723ad))||_0x1723ad);return _0x11a905&&_0x1723ad&&ha(_0x2cab2c,_0x560e70,_0x1723ad),_0x1723ad;},Ft=(_0x23d08d,_0x8d9773)=>(_0x81cf75,_0x57b4b0)=>_0x8d9773(_0x81cf75,_0x57b4b0,_0x23d08d);const ua=0x1389;let hs=class extends _0xeab596{constructor(_0x2f0a14,_0x2045cc,_0x8694f4,_0x24afaa){const _0x353609=_0x38775b;super(),g(this,_0x353609(0x25b),new Set()),g(this,_0x353609(0x3d3),null),(this[_0x353609(0x528)]=_0x2f0a14,this[_0x353609(0x3a2)]=_0x2045cc,this[_0x353609(0x264)]=_0x8694f4,this[_0x353609(0x54c)]=_0x24afaa,this[_0x353609(0x442)]());}['_init'](){const _0x5d2a84=_0x38775b;this['_sheetSkeletonManagerService'][_0x5d2a84(0x4b8)][_0x5d2a84(0x378)](_0x24933f(this['dispose$']),_0x51bb8a(_0x41f072=>{const _0x2c43bd=_0x5d2a84;if(_0x41f072){const _0x5b41d6=_0x41f072[_0x2c43bd(0x27b)];return _0x59105b(this[_0x2c43bd(0x264)]['getCollabCursors$'](this[_0x2c43bd(0x528)][_0x2c43bd(0x138)]),this['_themeService']['currentTheme$'])[_0x2c43bd(0x378)](_0x3e374a(([_0x107d71,_0x447f66])=>{const _0x409097=_0x2c43bd,_0x4ccd03=new Map();return _0x107d71[_0x409097(0x3d1)]((_0x16ee7f,_0x4fad9e)=>{const _0x5c8204=_0x409097;if(_0x16ee7f['sheetID']===_0x5b41d6){const _0x599e07={..._0x16ee7f};_0x599e07[_0x5c8204(0x29b)]=_0x447f66[_0x16ee7f[_0x5c8204(0x29b)]],_0x4ccd03['set'](_0x4fad9e,_0x599e07);}}),{'skeleton':_0x41f072,'cursors':_0x4ccd03};}));}return _0x543dd1({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x48fd46,cursors:_0xbaa998})=>{const _0x27b167=_0x5d2a84;this[_0x27b167(0x2a6)](),_0x48fd46&&this[_0x27b167(0x3c2)](_0x48fd46,_0xbaa998);}),this['_sheetSkeletonManagerService'][_0x5d2a84(0x4b8)][_0x5d2a84(0x39f)](_0x52e11e=>{const _0x215b94=_0x5d2a84;if(_0x52e11e==null)return;const {skeleton:_0x1a040f}=_0x52e11e,{scene:_0x5694dc}=this[_0x215b94(0x528)];_0x5694dc['onPointerMove$'][_0x215b94(0x185)](_0xbf48cb(_0x3dfced=>{const _0xc4b718=_0x215b94;var _0x26bc7e,_0x1b7a4c;const {offsetX:_0x3ef29d,offsetY:_0x5557d0}=_0x3dfced,{x:_0x319e99,y:_0x380c23}=_0x5694dc[_0xc4b718(0x3e1)](_0x15c2f1[_0xc4b718(0x46d)]([_0x3ef29d,_0x5557d0])),{scaleX:_0x56ee52,scaleY:_0x1fedd8}=_0x5694dc['getAncestorScale'](),_0x44efcc=_0x5694dc[_0xc4b718(0x4b9)](_0x471e35['VIEW_MAIN']),_0x4a5674=_0x5694dc[_0xc4b718(0x253)](_0x15c2f1['FromArray']([_0x319e99,_0x380c23]),_0x44efcc),_0x55aa1c=_0x1a040f[_0xc4b718(0x493)](_0x3ef29d,_0x5557d0,_0x56ee52,_0x1fedd8,_0x4a5674);((_0x26bc7e=this[_0xc4b718(0x3d3)])==null?void 0x0:_0x26bc7e[_0xc4b718(0x241)])===_0x55aa1c[_0xc4b718(0x241)]&&((_0x1b7a4c=this['_lastPointer'])==null?void 0x0:_0x1b7a4c[_0xc4b718(0x1d4)])===_0x55aa1c[_0xc4b718(0x1d4)]||this[_0xc4b718(0x25b)]['forEach'](_0x4910ee=>{_0x4910ee['onMouseMove'](_0x55aa1c);});},0x64));});}[_0x38775b(0x3c2)](_0x20a9df,_0x2485c1){const _0x7df996=_0x38775b;var _0xe6d2e8;const _0x437b8b=(_0xe6d2e8=this['_sheetSkeletonManagerService'][_0x7df996(0x2bf)]())==null?void 0x0:_0xe6d2e8[_0x7df996(0x46f)];if(!_0x437b8b)return;const _0x2f0af1=this['_getSheetObject']();if(!_0x2f0af1)return;this[_0x7df996(0x25b)][_0x7df996(0x3d1)](_0x2be740=>{_0x2be740['makeDirty']();});const {scene:_0x27b4a6}=_0x2f0af1,_0x1b93c5=da(Array[_0x7df996(0x3dd)](_0x2485c1[_0x7df996(0x4cd)]()))[_0x7df996(0x18e)](_0x896a43=>{const _0x435d69=_0x7df996,{color:_0x4ace5d,range:_0x3bdab7,name:_0x41af34,selection:_0x1ae11a,sheetID:_0xaa53f3}=_0x896a43,{startColumn:_0x2c2aff,startRow:_0x5b3ef0,endColumn:_0x5603d6,endRow:_0x4a331b}=_0x3bdab7,_0x4f1687=_0xf3cf10(_0x5b3ef0,_0x2c2aff,_0x27b4a6,_0x437b8b),_0x5923a9=_0xf3cf10(_0x4a331b,_0x5603d6,_0x27b4a6,_0x437b8b),{columnHeaderHeightAndMarginTop:_0x35ef1b}=_0x437b8b,{startX:_0x57918c,startY:_0x103379}=_0x4f1687,{endX:_0x5ec818,endY:_0x4e4132}=_0x5923a9,_0x5bbc48=_0x5ec818-_0x57918c,_0x311af3=_0x4e4132-_0x103379,_0x4f52f0={'labelPosition':_0x103379-_0x35ef1b>=rt?'top':_0x435d69(0x2b6),'sheetID':_0xaa53f3,'range':_0x3bdab7,'color':_0x4ace5d,'name':_0x41af34,'selection':_0x1ae11a,'left':_0x57918c,'top':_0x103379,'width':_0x5bbc48,'height':_0x311af3,'evented':!0x1,'zIndex':ua};return new ca(_0x41af34,_0x4f52f0);});_0x27b4a6[_0x7df996(0x23a)](_0x1b93c5,oa),this[_0x7df996(0x25b)]=new Set(_0x1b93c5);}[_0x38775b(0x2a6)](){const _0x5a8bc9=_0x38775b;var _0x41eb1c;(_0x41eb1c=this[_0x5a8bc9(0x25b)])==null||_0x41eb1c['forEach'](_0x10d0cc=>_0x10d0cc[_0x5a8bc9(0x369)]());}[_0x38775b(0x50e)](){const _0x32f9b8=_0x38775b;return _0x366ca1(this[_0x32f9b8(0x528)]['unit'],this['_context']);}};hs=_a([Ft(0x1,_0x1f52e5(_0x1b8e20)),Ft(0x2,_0x1f52e5(Ve)),Ft(0x3,_0x1f52e5(_0x102000))],hs);function da(_0xf1e497){const _0x42386c=_0x38775b,_0x1e24a9=new Map();return _0xf1e497[_0x42386c(0x3d1)](_0x21cb06=>{const _0x477229=_0x42386c;if(_0x1e24a9['has'](_0x21cb06[_0x477229(0x254)])){const _0x337023=_0x1e24a9[_0x477229(0x53d)](_0x21cb06[_0x477229(0x254)]);_0x337023[_0x477229(0x1e6)]+=',\x20'+_0x21cb06[_0x477229(0x1e6)];}else _0x1e24a9[_0x477229(0x157)](_0x21cb06[_0x477229(0x254)],_0x21cb06);}),Array[_0x42386c(0x3dd)](_0x1e24a9[_0x42386c(0x4cd)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x368a4e){const _0x1762d0=_0x38775b;return _0x368a4e&&_0x368a4e[_0x1762d0(0x3fc)]&&Object[_0x1762d0(0x15e)][_0x1762d0(0x2bb)][_0x1762d0(0x434)](_0x368a4e,_0x1762d0(0x194))?_0x368a4e[_0x1762d0(0x194)]:_0x368a4e;}var Bi={'exports':{}},Dt={},fa=_0x40cc97,va=Symbol[_0x38775b(0x50a)](_0x38775b(0x3f5)),ma=Symbol[_0x38775b(0x50a)]('react.fragment'),pa=Object[_0x38775b(0x15e)][_0x38775b(0x2bb)],ga=fa[_0x38775b(0x428)][_0x38775b(0x17d)],Sa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function ki(_0x5dbced,_0x5bc968,_0x4b8d71){const _0xcba230=_0x38775b;var _0x269d8f,_0x5332a2={},_0x3a0f12=null,_0x266281=null;_0x4b8d71!==void 0x0&&(_0x3a0f12=''+_0x4b8d71),_0x5bc968[_0xcba230(0x2e3)]!==void 0x0&&(_0x3a0f12=''+_0x5bc968[_0xcba230(0x2e3)]),_0x5bc968[_0xcba230(0x14a)]!==void 0x0&&(_0x266281=_0x5bc968[_0xcba230(0x14a)]);for(_0x269d8f in _0x5bc968)pa[_0xcba230(0x434)](_0x5bc968,_0x269d8f)&&!Sa[_0xcba230(0x2bb)](_0x269d8f)&&(_0x5332a2[_0x269d8f]=_0x5bc968[_0x269d8f]);if(_0x5dbced&&_0x5dbced[_0xcba230(0x221)]){for(_0x269d8f in(_0x5bc968=_0x5dbced[_0xcba230(0x221)],_0x5bc968))_0x5332a2[_0x269d8f]===void 0x0&&(_0x5332a2[_0x269d8f]=_0x5bc968[_0x269d8f]);}return{'$$typeof':va,'type':_0x5dbced,'key':_0x3a0f12,'ref':_0x266281,'props':_0x5332a2,'_owner':ga[_0xcba230(0x31f)]};}Dt[_0x38775b(0x3bb)]=ma,Dt[_0x38775b(0x464)]=ki,Dt[_0x38775b(0x15b)]=ki,Bi[_0x38775b(0x451)]=Dt;var Pe=Bi[_0x38775b(0x451)],se=function(){const _0x412706=_0x38775b;return se=Object['assign']||function(_0x4c9a9f){const _0x5b43b3=_0x8857;for(var _0x1e7385,_0x47821c=0x1,_0x53fb04=arguments[_0x5b43b3(0x3be)];_0x47821c<_0x53fb04;_0x47821c++){_0x1e7385=arguments[_0x47821c];for(var _0x1d6093 in _0x1e7385)Object['prototype']['hasOwnProperty'][_0x5b43b3(0x434)](_0x1e7385,_0x1d6093)&&(_0x4c9a9f[_0x1d6093]=_0x1e7385[_0x1d6093]);}return _0x4c9a9f;},se[_0x412706(0x2c4)](this,arguments);},Ia=function(_0x4ccf10,_0x2a1d38){const _0x39a710=_0x38775b;var _0x246920={};for(var _0xd8b946 in _0x4ccf10)Object['prototype'][_0x39a710(0x2bb)][_0x39a710(0x434)](_0x4ccf10,_0xd8b946)&&_0x2a1d38[_0x39a710(0x1e3)](_0xd8b946)<0x0&&(_0x246920[_0xd8b946]=_0x4ccf10[_0xd8b946]);if(_0x4ccf10!=null&&typeof Object['getOwnPropertySymbols']==_0x39a710(0x1d7)){for(var _0x3ec806=0x0,_0xd8b946=Object[_0x39a710(0x1f2)](_0x4ccf10);_0x3ec806<_0xd8b946[_0x39a710(0x3be)];_0x3ec806++)_0x2a1d38[_0x39a710(0x1e3)](_0xd8b946[_0x3ec806])<0x0&&Object[_0x39a710(0x15e)][_0x39a710(0x260)][_0x39a710(0x434)](_0x4ccf10,_0xd8b946[_0x3ec806])&&(_0x246920[_0xd8b946[_0x3ec806]]=_0x4ccf10[_0xd8b946[_0x3ec806]]);}return _0x246920;},ys=_0x193f76(function(_0x2503c1,_0x5cd323){const _0xc83bae=_0x38775b;var _0xc584dd=_0x2503c1[_0xc83bae(0x12e)],_0x281ffa=_0x2503c1['id'],_0x2b6540=_0x2503c1[_0xc83bae(0x3b3)],_0xfbecba=_0x2503c1[_0xc83bae(0x401)],_0x726e1a=Ia(_0x2503c1,[_0xc83bae(0x12e),'id',_0xc83bae(0x3b3),_0xc83bae(0x401)]),_0x2d2c51=_0xc83bae(0x1c5)[_0xc83bae(0x382)](_0x281ffa,'\x20')[_0xc83bae(0x382)](_0x2b6540||'')[_0xc83bae(0x19a)](),_0x2580b9=_0x5c8d40('_'[_0xc83bae(0x382)](ba()));return Wi(_0xc584dd,''[_0xc83bae(0x382)](_0x281ffa),{'defIds':_0xc584dd[_0xc83bae(0x388)],'idSuffix':_0x2580b9[_0xc83bae(0x31f)]},se({'ref':_0x5cd323,'className':_0x2d2c51},_0x726e1a),_0xfbecba);});function Wi(_0x35f10a,_0x104c42,_0x533b58,_0x14ec77,_0x5ef5a4){const _0xbfcb41=_0x38775b;return _0x18940e(_0x35f10a[_0xbfcb41(0x3a7)],se(se({'key':_0x104c42},Ca(_0x35f10a,_0x533b58,_0x5ef5a4)),_0x14ec77),(Ea(_0x35f10a,_0x533b58)[_0xbfcb41(0x2c8)]||[])[_0xbfcb41(0x18e)](function(_0x4ab391,_0x4d6cfd){const _0x301167=_0xbfcb41;return Wi(_0x4ab391,''[_0x301167(0x382)](_0x104c42,'-')[_0x301167(0x382)](_0x35f10a['tag'],'-')[_0x301167(0x382)](_0x4d6cfd),_0x533b58,void 0x0,_0x5ef5a4);}));}function Ca(_0x2a65ca,_0xe40d55,_0x3da62d){const _0x1d9f28=_0x38775b;var _0x46bf5c=se({},_0x2a65ca[_0x1d9f28(0x517)]);_0x3da62d!=null&&_0x3da62d['colorChannel1']&&_0x46bf5c[_0x1d9f28(0x409)]===_0x1d9f28(0x47e)&&(_0x46bf5c['fill']=_0x3da62d[_0x1d9f28(0x47e)]);var _0x3cab0c=_0xe40d55[_0x1d9f28(0x388)];return!_0x3cab0c||_0x3cab0c[_0x1d9f28(0x3be)]===0x0||(_0x2a65ca['tag']===_0x1d9f28(0x48a)&&_0x46bf5c[_0x1d9f28(0x53c)]&&(_0x46bf5c[_0x1d9f28(0x53c)]=_0x46bf5c['xlink:href']+_0xe40d55[_0x1d9f28(0x463)]),Object[_0x1d9f28(0x458)](_0x46bf5c)[_0x1d9f28(0x3d1)](function(_0x128489){const _0x1814b7=_0x1d9f28;var _0x12fe08=_0x128489[0x0],_0xfcb908=_0x128489[0x1];typeof _0xfcb908==_0x1814b7(0x27e)&&(_0x46bf5c[_0x12fe08]=_0xfcb908[_0x1814b7(0x3cf)](/url\(#(.*)\)/,_0x1814b7(0x1ce)['concat'](_0xe40d55[_0x1814b7(0x463)],')')));})),_0x46bf5c;}function Ea(_0x4fe499,_0x4128c9){const _0x3db18f=_0x38775b;var _0x188bc0,_0x4d82cc=_0x4128c9['defIds'];return!_0x4d82cc||_0x4d82cc['length']===0x0?_0x4fe499:_0x4fe499[_0x3db18f(0x3a7)]===_0x3db18f(0x366)&&(!((_0x188bc0=_0x4fe499[_0x3db18f(0x2c8)])===null||_0x188bc0===void 0x0)&&_0x188bc0['length'])?se(se({},_0x4fe499),{'children':_0x4fe499[_0x3db18f(0x2c8)][_0x3db18f(0x18e)](function(_0x10aa02){const _0x3d9322=_0x3db18f;return typeof _0x10aa02[_0x3d9322(0x517)]['id']=='string'&&_0x4d82cc&&_0x4d82cc[_0x3d9322(0x1e3)](_0x10aa02[_0x3d9322(0x517)]['id'])>-0x1?se(se({},_0x10aa02),{'attrs':se(se({},_0x10aa02[_0x3d9322(0x517)]),{'id':_0x10aa02[_0x3d9322(0x517)]['id']+_0x4128c9['idSuffix']})}):_0x10aa02;})}):_0x4fe499;}function ba(){const _0x2ad483=_0x38775b;return Math[_0x2ad483(0x336)]()['toString'](0x24)[_0x2ad483(0x4b3)](0x2,0x8);}ys[_0x38775b(0x2b1)]=_0x38775b(0x208);var Ta={'tag':_0x38775b(0x1e2),'attrs':{'fill':_0x38775b(0x4b4),'viewBox':'0\x200\x2016\x2016','width':_0x38775b(0x402),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x38775b(0x3fb)},'children':[{'tag':_0x38775b(0x4a9),'attrs':{'stroke':_0x38775b(0x28d),'d':_0x38775b(0x318),'strokeLinecap':_0x38775b(0x360),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x38775b(0x366),'attrs':{},'children':[{'tag':_0x38775b(0x510),'attrs':{'id':_0x38775b(0x492)},'children':[{'tag':_0x38775b(0x4a9),'attrs':{'fill':_0x38775b(0x1b8),'d':_0x38775b(0x3e9)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Fi=_0x193f76(function(_0x22edde,_0x362b95){const _0x4fcbbd=_0x38775b;return _0x18940e(ys,Object[_0x4fcbbd(0x533)]({},_0x22edde,{'id':'off-line-single','ref':_0x362b95,'icon':Ta}));});Fi[_0x38775b(0x2b1)]=_0x38775b(0x38e);var Ra={'tag':_0x38775b(0x1e2),'attrs':{'fill':_0x38775b(0x4b4),'viewBox':_0x38775b(0x215),'width':_0x38775b(0x402),'height':_0x38775b(0x402)},'children':[{'tag':'g','attrs':{'clipPath':_0x38775b(0x506)},'children':[{'tag':_0x38775b(0x4a9),'attrs':{'stroke':_0x38775b(0x28d),'d':_0x38775b(0x1db),'strokeLinecap':_0x38775b(0x360),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x38775b(0x366),'attrs':{},'children':[{'tag':_0x38775b(0x510),'attrs':{'id':_0x38775b(0x373)},'children':[{'tag':_0x38775b(0x4a9),'attrs':{'fill':_0x38775b(0x1b8),'d':_0x38775b(0x3e9),'transform':_0x38775b(0x338)}}]}]}],'defIds':[_0x38775b(0x373)]},Vi=_0x193f76(function(_0x1b1027,_0x5b841d){const _0x11c75d=_0x38775b;return _0x18940e(ys,Object[_0x11c75d(0x533)]({},_0x1b1027,{'id':_0x11c75d(0x2cf),'ref':_0x5b841d,'icon':Ra}));});Vi[_0x38775b(0x2b1)]=_0x38775b(0x497);function Gi(_0x437493){const _0x20642c=_0x38775b;var _0x3f8b08,_0x5f2981,_0x2e6a1c='';if(typeof _0x437493==_0x20642c(0x27e)||typeof _0x437493=='number')_0x2e6a1c+=_0x437493;else{if(typeof _0x437493==_0x20642c(0x30f)){if(Array[_0x20642c(0x370)](_0x437493)){var _0x1255d6=_0x437493[_0x20642c(0x3be)];for(_0x3f8b08=0x0;_0x3f8b08<_0x1255d6;_0x3f8b08++)_0x437493[_0x3f8b08]&&(_0x5f2981=Gi(_0x437493[_0x3f8b08]))&&(_0x2e6a1c&&(_0x2e6a1c+='\x20'),_0x2e6a1c+=_0x5f2981);}else{for(_0x5f2981 in _0x437493)_0x437493[_0x5f2981]&&(_0x2e6a1c&&(_0x2e6a1c+='\x20'),_0x2e6a1c+=_0x5f2981);}}}return _0x2e6a1c;}function Oa(){const _0x4e6c55=_0x38775b;for(var _0x47a744,_0x178d95,_0x37e28d=0x0,_0x500037='',_0x202850=arguments[_0x4e6c55(0x3be)];_0x37e28d<_0x202850;_0x37e28d++)(_0x47a744=arguments[_0x37e28d])&&(_0x178d95=Gi(_0x47a744))&&(_0x500037&&(_0x500037+='\x20'),_0x500037+=_0x178d95);return _0x500037;}const ya=_0x38775b(0x1bc),wa='univer-online-status-title',Da=_0x38775b(0x13f),Pa=_0x38775b(0x52e),Ua='univer-offline',Ze={'onlineStatusIcon':ya,'onlineStatusTitle':wa,'onlineStatus':Da,'online':Pa,'offline':Ua};function Na(_0x4716ba){const _0x471617=_0x38775b;switch(_0x4716ba){case J['OFFLINE']:return'collabStatus.offline';case J[_0x471617(0x12d)]:return _0x471617(0x391);case J['FETCH_MISS']:return _0x471617(0x35e);case J[_0x471617(0x1cf)]:return _0x471617(0x13a);case J['AWAITING']:case J[_0x471617(0x376)]:return _0x471617(0x2e4);case J[_0x471617(0x2a9)]:case J[_0x471617(0x377)]:return _0x471617(0x368);}}function Aa(_0x1fd444){const _0x144b23=_0x38775b,{status$:_0xd19247}=_0x1fd444,_0x4446aa=_0x4e6dea(_0xd19247,J[_0x144b23(0x1cf)]),_0x273d3b=_0x164861(_0x1d70b7),_0x18c3a6=_0x164861(xe),_0x48f493=_0x4446aa!==J[_0x144b23(0x4d2)],_0x1f5657=_0x273d3b['t'](Na(_0x4446aa)),_0x288c8d=Oa(Ze['onlineStatus'],{[Ze[_0x144b23(0x3c0)]]:_0x48f493,[Ze[_0x144b23(0x53f)]]:!_0x48f493}),_0x125a90=_0x48f493?Pe['jsx'](Vi,{}):Pe['jsx'](Fi,{}),_0x248c43=_0x2594ab(()=>{const _0x153354=_0x144b23;_0x48f493||_0x18c3a6[_0x153354(0x4c3)]();},[_0x48f493,_0x18c3a6]);function _0x2a44c3(){const _0x41fc19=_0x144b23;return Pe[_0x41fc19(0x15b)](_0x41fc19(0x2d0),{'className':_0x288c8d,'onClick':_0x248c43,'children':[Pe[_0x41fc19(0x464)](_0x41fc19(0x2d0),{'className':Ze[_0x41fc19(0x15c)],'children':_0x125a90}),Pe['jsx'](_0x41fc19(0x2d0),{'className':Ze[_0x41fc19(0x2b3)],'children':_0x1f5657})]});}return _0x48f493?_0x2a44c3():Pe[_0x144b23(0x464)](_0x14b1be,{'title':_0x273d3b['t'](_0x144b23(0x15d)),'children':_0x2a44c3()});}var Ma=Object['defineProperty'],xa=Object[_0x38775b(0x1ed)],La=(_0x1c2327,_0x55c171,_0x484f63,_0x1dfb1e)=>{const _0x1ee112=_0x38775b;for(var _0x221367=_0x1dfb1e>0x1?void 0x0:_0x1dfb1e?xa(_0x55c171,_0x484f63):_0x55c171,_0x5c29b7=_0x1c2327[_0x1ee112(0x3be)]-0x1,_0x57192;_0x5c29b7>=0x0;_0x5c29b7--)(_0x57192=_0x1c2327[_0x5c29b7])&&(_0x221367=(_0x1dfb1e?_0x57192(_0x55c171,_0x484f63,_0x221367):_0x57192(_0x221367))||_0x221367);return _0x1dfb1e&&_0x221367&&Ma(_0x55c171,_0x484f63,_0x221367),_0x221367;},ht=(_0x3a10bf,_0x5b4f9e)=>(_0x2a79dc,_0x93d89)=>_0x5b4f9e(_0x2a79dc,_0x93d89,_0x3a10bf);let Ct=class extends _0x50a3c2{constructor(_0x1fa9c4,_0x50f654,_0x205fb3,_0x340c64){const _0x16989e=_0x38775b;super(),g(this,_0x16989e(0x326),new _0x5ec0c5(J[_0x16989e(0x1cf)])),(this[_0x16989e(0x2f4)]=_0x1fa9c4,this[_0x16989e(0x142)]=_0x50f654,this[_0x16989e(0x361)]=_0x205fb3,this[_0x16989e(0x36c)]=_0x340c64,this[_0x16989e(0x4ce)](),this[_0x16989e(0x4d1)]());}[_0x38775b(0x4d1)](){const _0x21e01a=_0x38775b;this[_0x21e01a(0x4d0)](this[_0x21e01a(0x2f4)]['focused$'][_0x21e01a(0x378)](_0x349f17(()=>{const _0xb9b102=_0x21e01a,_0x303075=this[_0xb9b102(0x2f4)][_0xb9b102(0x2f5)]();return _0x303075?this[_0xb9b102(0x36c)][_0xb9b102(0x387)](_0x303075[_0xb9b102(0x2e9)]()):_0x543dd1(null);}),_0x349f17(_0x1515f0=>_0x1515f0?_0x1515f0[_0x21e01a(0x54a)]:_0x543dd1(J[_0x21e01a(0x1cf)])))['subscribe'](_0x5085c0=>{const _0x5c3527=_0x21e01a;this['_status$'][_0x5c3527(0x1e8)](_0x5085c0);}));}[_0x38775b(0x4ce)](){const _0x4ebe17=_0x38775b;this[_0x4ebe17(0x4d0)](this[_0x4ebe17(0x142)][_0x4ebe17(0x2bc)](_0x1c35d7[_0x4ebe17(0x399)],()=>_0x3b3288($a({'status$':this['_status$'][_0x4ebe17(0x44a)]()}),this[_0x4ebe17(0x361)])));}};Ct=La([ht(0x0,_0x46df2f),ht(0x1,_0x148313),ht(0x2,_0x1f52e5(_0x72efa4)),ht(0x3,_0x1f52e5(it))],Ct);function $a(_0x31213b){const {status$:_0x4fb290}=_0x31213b;return function(){const _0x4789a9=_0x8857;return Pe[_0x4789a9(0x464)](Aa,{'status$':_0x4fb290});};}const Yi=_0x56892b(_0x38775b(0x48b));var Ha=Object[_0x38775b(0x4da)],ja=Object[_0x38775b(0x1ed)],Ba=(_0x13352c,_0x74362b,_0x3df378,_0x2a6339)=>{const _0x33ea7d=_0x38775b;for(var _0x416816=_0x2a6339>0x1?void 0x0:_0x2a6339?ja(_0x74362b,_0x3df378):_0x74362b,_0x2c9099=_0x13352c[_0x33ea7d(0x3be)]-0x1,_0x473bb5;_0x2c9099>=0x0;_0x2c9099--)(_0x473bb5=_0x13352c[_0x2c9099])&&(_0x416816=(_0x2a6339?_0x473bb5(_0x74362b,_0x3df378,_0x416816):_0x473bb5(_0x416816))||_0x416816);return _0x2a6339&&_0x416816&&Ha(_0x74362b,_0x3df378,_0x416816),_0x416816;},ke=(_0x39c5b9,_0x2eef92)=>(_0x1c5a1a,_0x2d6ec)=>_0x2eef92(_0x1c5a1a,_0x2d6ec,_0x39c5b9);let Et=class extends _0xeab596{constructor(_0x5eff7d,_0x4d01ba,_0x307fb3,_0x46ab37,_0x1823d8,_0x165f62){const _0x242a8a=_0x38775b;super(),this[_0x242a8a(0x16b)]=_0x5eff7d,this[_0x242a8a(0x42a)]=_0x4d01ba,this[_0x242a8a(0x3a9)]=_0x307fb3,this[_0x242a8a(0x177)]=_0x46ab37,this[_0x242a8a(0x211)]=_0x1823d8,_0x165f62?_0x165f62==null||_0x165f62[_0x242a8a(0x188)]()[_0x242a8a(0x4fa)](()=>this[_0x242a8a(0x442)]()):(this[_0x242a8a(0x42a)]['debug'](_0x242a8a(0x3de),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x242a8a(0x442)]());}async[_0x38775b(0x442)](){const _0x15aa12=_0x38775b,_0x1a3e04=this[_0x15aa12(0x16b)][_0x15aa12(0x4c8)]('unit'),_0x54dea0=this[_0x15aa12(0x16b)][_0x15aa12(0x4c8)]('type');if(!_0x1a3e04||!_0x54dea0){this[_0x15aa12(0x42a)][_0x15aa12(0x2ee)](_0x15aa12(0x3de),_0x15aa12(0x4d4));return;}switch(Number(_0x54dea0)){case ce[_0x15aa12(0x372)]:{const _0x1fba0b=await this[_0x15aa12(0x521)](_0x1a3e04);this[_0x15aa12(0x483)](_0x1fba0b);break;}case ce[_0x15aa12(0x393)]:{await this['_loadDoc'](_0x1a3e04);break;}default:{this[_0x15aa12(0x42a)][_0x15aa12(0x41e)]('[DataLoaderController]','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x38775b(0x483)](_0x8cef82){const _0x1f55db=_0x38775b;await this[_0x1f55db(0x54b)](_0x8cef82),_0x8cef82[_0x1f55db(0x3f4)][_0x1f55db(0x378)](_0x5a840b(this[_0x1f55db(0x4ac)]))[_0x1f55db(0x39f)](_0x5ce713=>{const _0xf5930e=_0x1f55db;_0x5ce713&&this[_0xf5930e(0x3e6)](_0x5ce713);}),this[_0x1f55db(0x16b)][_0x1f55db(0x233)]['pipe'](_0x5a840b(this['dispose$']))[_0x1f55db(0x39f)](()=>this[_0x1f55db(0x54b)](_0x8cef82));}[_0x38775b(0x3e6)](_0x330811,_0x1e7601=!0x1){const _0x4381f3=_0x38775b,_0x500c57=this[_0x4381f3(0x16b)]['getParam'](_0x4381f3(0x41b));_0x330811['getSheetId']()!==_0x500c57&&this[_0x4381f3(0x16b)][_0x4381f3(0x555)](_0x4381f3(0x41b),_0x330811[_0x4381f3(0x171)](),_0x1e7601);}async[_0x38775b(0x54b)](_0x46f583){const _0x5adf50=_0x38775b;var _0x547977;const _0x102690=this['_urlService'][_0x5adf50(0x4c8)]('subunit');if(!_0x102690||!_0x46f583[_0x5adf50(0x38d)](_0x102690)){const _0x1e28ee=_0x46f583[_0x5adf50(0x4ed)]()[0x0],_0x388c11=_0x46f583['getSheetBySheetId'](_0x1e28ee);if(!_0x388c11)return;this['_updateURLWithCurrentState'](_0x388c11,!0x0),await this[_0x5adf50(0x3a9)][_0x5adf50(0x1f7)](_0x409ae6['id'],{'unitId':_0x46f583[_0x5adf50(0x2e9)](),'subUnitId':_0x1e28ee});return;}((_0x547977=_0x46f583[_0x5adf50(0x34e)]())==null?void 0x0:_0x547977[_0x5adf50(0x171)]())!==_0x102690&&await this[_0x5adf50(0x3a9)]['executeCommand'](_0x409ae6['id'],{'unitId':_0x46f583[_0x5adf50(0x2e9)](),'subUnitId':_0x102690});}async[_0x38775b(0x521)](_0x3a5ffe){const _0x4b9311=_0x38775b;let _0x56d030=0x0;const _0x36b50a=await this[_0x4b9311(0x177)][_0x4b9311(0x4e7)](_0x3a5ffe);return _0x36b50a&&(_0x36b50a[_0x4b9311(0x22d)]||_0x36b50a[_0x4b9311(0x51a)]['length']!==0x0)&&(_0x56d030=_0x36b50a[_0x4b9311(0x358)]),_0x56d030===0x0&&this['_logService'][_0x4b9311(0x2ee)](_0x4b9311(0x3de),_0x4b9311(0x204)),this['_snapshotService'][_0x4b9311(0x20a)](_0x3a5ffe,_0x56d030);}async['_loadDoc'](_0x2fbc9e){const _0x24a47b=_0x38775b;let _0x9a339e=0x0;const _0x2b5bf6=await this[_0x24a47b(0x177)][_0x24a47b(0x4e7)](_0x2fbc9e);return _0x2b5bf6&&(_0x2b5bf6[_0x24a47b(0x22d)]||_0x2b5bf6[_0x24a47b(0x51a)]['length']!==0x0)&&(_0x9a339e=_0x2b5bf6[_0x24a47b(0x358)]),_0x9a339e===0x0&&this[_0x24a47b(0x42a)][_0x24a47b(0x2ee)](_0x24a47b(0x3de),_0x24a47b(0x204)),this['_snapshotService'][_0x24a47b(0x3e3)](_0x2fbc9e,_0x9a339e);}};Et=Ba([ke(0x0,Yi),ke(0x1,_0x1fda4b),ke(0x2,_0x1b7cfe),ke(0x3,_0x1f52e5(q)),ke(0x4,_0x1f52e5(_0x11ab06)),ke(0x5,_0x3700fe(_0x54f9b0))],Et);var ka=Object[_0x38775b(0x4da)],Wa=Object['getOwnPropertyDescriptor'],Fa=(_0x41d5b8,_0x25b2e5,_0x16b0b1,_0x2551b2)=>{const _0x54fda7=_0x38775b;for(var _0x549b85=_0x2551b2>0x1?void 0x0:_0x2551b2?Wa(_0x25b2e5,_0x16b0b1):_0x25b2e5,_0x23e5a5=_0x41d5b8[_0x54fda7(0x3be)]-0x1,_0x5edcb5;_0x23e5a5>=0x0;_0x23e5a5--)(_0x5edcb5=_0x41d5b8[_0x23e5a5])&&(_0x549b85=(_0x2551b2?_0x5edcb5(_0x25b2e5,_0x16b0b1,_0x549b85):_0x5edcb5(_0x549b85))||_0x549b85);return _0x2551b2&&_0x549b85&&ka(_0x25b2e5,_0x16b0b1,_0x549b85),_0x549b85;},Qs=(_0x54744e,_0x41260f)=>(_0x2ac0ac,_0x3a0fae)=>_0x41260f(_0x2ac0ac,_0x3a0fae,_0x54744e);const Va='DEFAULT_FILE_NAME',Ga=_0x38775b(0x13b);let bt=class extends _0x50a3c2{constructor(_0x650054,_0x4f5622){const _0x58508b=_0x38775b;super(),this['_univerInstanceService']=_0x650054,this[_0x58508b(0x2fe)]=_0x4f5622,this[_0x58508b(0x442)]();}[_0x38775b(0x442)](){const _0xd59a73=_0x38775b;this[_0xd59a73(0x4d0)](this[_0xd59a73(0x2f4)][_0xd59a73(0x419)][_0xd59a73(0x39f)](()=>{const _0xa06c50=_0xd59a73;var _0x2e6e0a;const _0x4eebe5=this[_0xa06c50(0x2f4)]['getFocusedUnit']();let _0x597c86=(_0x2e6e0a=this[_0xa06c50(0x2fe)]['getConfig'](Va))!=null?_0x2e6e0a:Ga;_0x4eebe5 instanceof _0x315f29&&(_0x597c86=_0x4eebe5[_0xa06c50(0x1e6)]),document['title']=_0x597c86;}));}};bt=Fa([Qs(0x0,_0x46df2f),Qs(0x1,_0x4025c4)],bt);var Ya=Object[_0x38775b(0x4da)],Ka=Object[_0x38775b(0x1ed)],za=(_0x402bc8,_0x92dd34,_0x4c71a8,_0x273f49)=>{const _0x2393d9=_0x38775b;for(var _0x343867=_0x273f49>0x1?void 0x0:_0x273f49?Ka(_0x92dd34,_0x4c71a8):_0x92dd34,_0x53959d=_0x402bc8[_0x2393d9(0x3be)]-0x1,_0x5000f1;_0x53959d>=0x0;_0x53959d--)(_0x5000f1=_0x402bc8[_0x53959d])&&(_0x343867=(_0x273f49?_0x5000f1(_0x92dd34,_0x4c71a8,_0x343867):_0x5000f1(_0x343867))||_0x343867);return _0x273f49&&_0x343867&&Ya(_0x92dd34,_0x4c71a8,_0x343867),_0x343867;},Vt=(_0x44bc9e,_0x5ac9ba)=>(_0x425af8,_0x499d89)=>_0x5ac9ba(_0x425af8,_0x499d89,_0x44bc9e);let Tt=class{constructor(_0x47744a,_0x56e2fe,_0x319de1){const _0x57cf2=_0x38775b;this[_0x57cf2(0x2fe)]=_0x47744a,this['_httpService']=_0x56e2fe,this[_0x57cf2(0x1ef)]=_0x319de1,this[_0x57cf2(0x1d1)]();}[_0x38775b(0x1d1)](){const _0x4f2a73=_0x38775b;this[_0x4f2a73(0x26a)][_0x4f2a73(0x46c)]({'priority':0x1,'interceptor':(_0x19b42d,_0x1c8d8d)=>_0x1c8d8d(_0x19b42d)[_0x4f2a73(0x378)](_0x4dd7d1(async _0x26ccc1=>{const _0x131e97=_0x4f2a73,_0x50f89d=_0x26ccc1;if(_0x50f89d['status']===0x191&&window['confirm'](this[_0x131e97(0x1ef)]['t']('auth.needGotoLoginAlert'))){const _0x4c98f8=window['encodeURIComponent'](window[_0x131e97(0x4e1)][_0x131e97(0x44c)]);window[_0x131e97(0x4e1)][_0x131e97(0x44c)]=this[_0x131e97(0x415)]()+'?url='+_0x4c98f8;}return _0x50f89d;}))});}['_getLoginPath'](){const _0x1c6f21=_0x38775b;var _0x4fec57,_0x3947eb;const _0x3680f2=this[_0x1c6f21(0x2fe)][_0x1c6f21(0x2d8)](Nn),_0x170159=this['_configService'][_0x1c6f21(0x2d8)](ee);return(_0x3947eb=(_0x4fec57=_0x170159==null?void 0x0:_0x170159[_0x1c6f21(0x51e)])!=null?_0x4fec57:_0x3680f2)!=null?_0x3947eb:An;}};Tt=za([Vt(0x0,_0x4025c4),Vt(0x1,_0x1f52e5(_0x48ddd7)),Vt(0x2,_0x1f52e5(_0x1d70b7))],Tt);var qa=Object['defineProperty'],Xa=Object[_0x38775b(0x1ed)],Ja=(_0x1dfa7b,_0x211f48,_0x1cab2d,_0x313614)=>{const _0x35e55b=_0x38775b;for(var _0x4e8c8f=_0x313614>0x1?void 0x0:_0x313614?Xa(_0x211f48,_0x1cab2d):_0x211f48,_0x46cda0=_0x1dfa7b[_0x35e55b(0x3be)]-0x1,_0x1535d2;_0x46cda0>=0x0;_0x46cda0--)(_0x1535d2=_0x1dfa7b[_0x46cda0])&&(_0x4e8c8f=(_0x313614?_0x1535d2(_0x211f48,_0x1cab2d,_0x4e8c8f):_0x1535d2(_0x4e8c8f))||_0x4e8c8f);return _0x313614&&_0x4e8c8f&&qa(_0x211f48,_0x1cab2d,_0x4e8c8f),_0x4e8c8f;},ei=(_0x28c4f3,_0x418d03)=>(_0x171f75,_0xf7bbdc)=>_0x418d03(_0x171f75,_0xf7bbdc,_0x28c4f3);const Ki=_0x38775b(0x3a3),Za=_0x38775b(0x432);let ls=class extends _0x50a3c2{constructor(_0x4e176d,_0x243a7c){const _0xf21ddc=_0x38775b;super(),this['_HTTPService']=_0x4e176d,this['_configService']=_0x243a7c,this[_0xf21ddc(0x2eb)]();}[_0x38775b(0x2eb)](){const _0x2ebee1=_0x38775b,_0x2c852b=this;this[_0x2ebee1(0x4d0)](this[_0x2ebee1(0x531)][_0x2ebee1(0x46c)]({'priority':0x3e7,'interceptor':_0x4f877d({'isMatch'(_0x4aaf84){const _0x2bd863=_0x2ebee1;var _0x438288;if(_0x4aaf84[_0x2bd863(0x459)]==='POST'&&((_0x438288=_0x4aaf84[_0x2bd863(0x3ff)])!=null&&_0x438288['body'])){const {objectID:_0x441a2b,objectType:_0x1a2c02}=_0x4aaf84[_0x2bd863(0x3ff)]['body']||{};if(!_0x441a2b||_0x1a2c02===void 0x0)return!0x1;const _0x1e12d1=_0x2c852b[_0x2bd863(0x35a)]()+'/'+_0x1a2c02+_0x2bd863(0x25c)+_0x441a2b+_0x2bd863(0x478);if(_0x4aaf84[_0x2bd863(0x4ef)]===_0x1e12d1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x21b9d9){const _0x373c3d=_0x2ebee1;var _0x28eee8;return(_0x28eee8=_0x21b9d9[_0x373c3d(0x3ff)])==null?void 0x0:_0x28eee8[_0x373c3d(0x545)];},'mergeParamsToRequest'(_0x8c444b,_0x4fa8dc){const _0x10e97c=_0x2ebee1,_0x511b16=_0x2c852b[_0x10e97c(0x35a)]()+_0x10e97c(0x327),_0x3b5773=_0x8c444b[_0x10e97c(0x2d3)]((_0x5291b5,_0x3200d3)=>{const _0xaf7294=_0x10e97c,{unitID:_0x1d6cf4,objectID:_0x52744f,objectType:_0x13b1ca,actions:_0x2133e8}=_0x3200d3;return _0x5291b5[_0x1d6cf4]||(_0x5291b5[_0x1d6cf4]={}),_0x5291b5[_0x1d6cf4][_0x52744f]||(_0x5291b5[_0x1d6cf4][_0x52744f]={'objectID':_0x52744f,'objectType':_0x13b1ca,'actions':[]}),_0x5291b5[_0x1d6cf4][_0x52744f]['actions'][_0xaf7294(0x42f)](..._0x2133e8),_0x5291b5;},{}),_0x4367ef=[];for(const _0x5a0b16 in _0x3b5773)for(const _0xa3a267 in _0x3b5773[_0x5a0b16]){const {actions:_0x22d91a,objectType:_0x241ca6}=_0x3b5773[_0x5a0b16][_0xa3a267],_0x31f3f6=[...new Set(_0x22d91a)];_0x4367ef[_0x10e97c(0x42f)]({'unitID':_0x5a0b16,'objectID':_0xa3a267,'objectType':_0x241ca6,'actions':_0x31f3f6});}return new _0x37906d(_0x10e97c(0x345),_0x511b16,{'headers':_0x4fa8dc[_0x10e97c(0x2a8)],'withCredentials':_0x4fa8dc['withCredentials'],'responseType':_0x4fa8dc[_0x10e97c(0x49e)],'body':{'requests':_0x4367ef}});}},{'distributeResult'(_0xe647eb,_0x5ded99){const _0x411679=_0x2ebee1,{objectActions:_0x5bee62}=_0xe647eb;return _0x5ded99[_0x411679(0x18e)](_0x39bc9e=>{const _0x2a0ae0=_0x411679,{unitID:_0x10ff27,objectID:_0x1acf3c,actions:_0x39c277}=_0x39bc9e,_0x9f5831=_0x5bee62[_0x2a0ae0(0x166)](_0x3ea2cd=>_0x3ea2cd['unitID']===_0x10ff27&&_0x3ea2cd[_0x2a0ae0(0x3ba)]===_0x1acf3c),_0x4224c5=_0x39c277['map'](_0x24c141=>_0x9f5831==null?void 0x0:_0x9f5831[_0x2a0ae0(0x2f8)]['find'](_0x4a5509=>_0x4a5509[_0x2a0ae0(0x1a5)]===_0x24c141))[_0x2a0ae0(0x184)](_0x1bdf6f=>!!_0x1bdf6f);return{'config':_0x39bc9e,'result':{'actions':_0x4224c5,'error':_0xe647eb[_0x2a0ae0(0x41e)]}};});}})}));}['_getAPIPrefixPath'](){const _0x2b5847=_0x38775b;var _0x5a2c6b,_0x422872;const _0x24f07d=this[_0x2b5847(0x2fe)][_0x2b5847(0x2d8)](Ki),_0x5aef7a=this[_0x2b5847(0x2fe)][_0x2b5847(0x2d8)](ee);return(_0x422872=(_0x5a2c6b=_0x5aef7a==null?void 0x0:_0x5aef7a[_0x2b5847(0x1b9)])!=null?_0x5a2c6b:_0x24f07d)!=null?_0x422872:Za;}async['create'](_0x1c04c2){const _0xeda46e=_0x38775b,_0x3ca070=this[_0xeda46e(0x35a)]()+'/'+_0x1c04c2[_0xeda46e(0x54f)]+'/object';return(await this[_0xeda46e(0x531)][_0xeda46e(0x164)](_0x3ca070,{'body':_0x1c04c2}))['body'][_0xeda46e(0x3ba)]||'';}async[_0x38775b(0x48e)](_0x2c50f1){const _0x407554=_0x38775b,_0x146fa5=this[_0x407554(0x35a)]()+_0x407554(0x435);return(await this['_HTTPService'][_0x407554(0x164)](_0x146fa5,{'body':_0x2c50f1}))[_0x407554(0x545)][_0x407554(0x266)];}async[_0x38775b(0x1bd)](_0x58f4f9){const _0xd4effa=_0x38775b,_0x3f661f=this[_0xd4effa(0x35a)]()+'/'+_0x58f4f9['objectType']+_0xd4effa(0x25c)+_0x58f4f9[_0xd4effa(0x3ba)];await this['_HTTPService']['put'](_0x3f661f,{'body':_0x58f4f9});}async[_0x38775b(0x172)](_0x23e7df){const _0x2b75a9=_0x38775b,_0xe5e1b4=this[_0x2b75a9(0x35a)]()+'/'+_0x23e7df[_0x2b75a9(0x54f)]+_0x2b75a9(0x25c)+_0x23e7df[_0x2b75a9(0x3ba)]+_0x2b75a9(0x478);return(await this[_0x2b75a9(0x531)]['post'](_0xe5e1b4,{'body':_0x23e7df}))[_0x2b75a9(0x545)]['actions'];}async[_0x38775b(0x34b)](_0x4aa028){const _0x34ef5a=_0x38775b,_0x2aed28=this[_0x34ef5a(0x35a)]()+'/-/object/-/batch_allowed';return(await this[_0x34ef5a(0x531)][_0x34ef5a(0x164)](_0x2aed28,{'body':{'requests':_0x4aa028}}))[_0x34ef5a(0x545)][_0x34ef5a(0x22e)];}async[_0x38775b(0x182)](_0x23a08b){const _0x246853=_0x38775b,_0x11061c=this[_0x246853(0x35a)]()+'/'+_0x23a08b[_0x246853(0x54f)]+_0x246853(0x3e8),_0x4d664c=await this[_0x246853(0x531)][_0x246853(0x164)](_0x11061c,{'body':_0x23a08b});return{'roles':_0x4d664c['body'][_0x246853(0x1b0)],'actions':_0x4d664c[_0x246853(0x545)][_0x246853(0x2f8)]};}async[_0x38775b(0x4c0)](_0x46c426){const _0x2f5b49=_0x38775b,_0x33d9ff=this[_0x2f5b49(0x35a)]()+_0x2f5b49(0x4a1);await this[_0x2f5b49(0x531)]['delete'](_0x33d9ff,{'params':{'collaboratorID':_0x46c426['collaboratorID'],'objectID':_0x46c426[_0x2f5b49(0x3ba)],'unitID':_0x46c426[_0x2f5b49(0x52a)]}});}async[_0x38775b(0x380)](_0x248d8f){const _0x1f0ea1=_0x38775b,_0x1e09cd=this[_0x1f0ea1(0x35a)]()+'/collaborator';await this[_0x1f0ea1(0x531)]['patch'](_0x1e09cd,{'body':_0x248d8f});}async[_0x38775b(0x249)](_0x5cd127){const _0xb49f16=_0x38775b,_0xe5e810=this[_0xb49f16(0x35a)]()+_0xb49f16(0x4a1);await this['_HTTPService'][_0xb49f16(0x164)](_0xe5e810,{'body':_0x5cd127});}async[_0x38775b(0x149)](_0x322487){const _0x13845c=_0x38775b,_0x28aed3=this['_getAPIPrefixPath']()+_0x13845c(0x4a1);return(await this[_0x13845c(0x531)][_0x13845c(0x53d)](_0x28aed3,{'params':{'objectID':_0x322487[_0x13845c(0x3ba)],'unitID':_0x322487['unitID']}}))[_0x13845c(0x545)][_0x13845c(0x156)];}async['putCollaborators'](_0x9d7a2e){const _0x4e66f0=_0x38775b,_0x38a833=this[_0x4e66f0(0x35a)]()+'/collaborator';await this[_0x4e66f0(0x531)]['put'](_0x38a833,{'body':_0x9d7a2e});}};ls=Ja([ei(0x0,_0x1f52e5(_0x48ddd7)),ei(0x1,_0x1f52e5(_0x4025c4))],ls);var zi={'exports':{}};function Qa(_0x20dbd5){const _0x5d960c=_0x38775b;throw new Error(_0x5d960c(0x3b5)+_0x20dbd5+_0x5d960c(0x44f));}var Gt={'exports':{}},ti;function ue(){return ti||(ti=0x1,function(_0x564e89,_0x1697fa){(function(_0x2e4e91,_0x1b4535){_0x564e89['exports']=_0x1b4535();}(Z,function(){var _0x58e85e=_0x58e85e||function(_0x4410d6,_0xedafc0){const _0xaa8ddd=_0x8857;var _0x243c76;if(typeof window<'u'&&window[_0xaa8ddd(0x470)]&&(_0x243c76=window[_0xaa8ddd(0x470)]),typeof self<'u'&&self['crypto']&&(_0x243c76=self[_0xaa8ddd(0x470)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x243c76=globalThis[_0xaa8ddd(0x470)]),!_0x243c76&&typeof window<'u'&&window[_0xaa8ddd(0x333)]&&(_0x243c76=window[_0xaa8ddd(0x333)]),!_0x243c76&&typeof Z<'u'&&Z[_0xaa8ddd(0x470)]&&(_0x243c76=Z[_0xaa8ddd(0x470)]),!_0x243c76&&typeof Qa==_0xaa8ddd(0x1d7))try{_0x243c76=require(_0xaa8ddd(0x470));}catch{}var _0x48a267=function(){const _0x590183=_0xaa8ddd;if(_0x243c76){if(typeof _0x243c76['getRandomValues']==_0x590183(0x1d7))try{return _0x243c76[_0x590183(0x16e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x243c76[_0x590183(0x135)]==_0x590183(0x1d7))try{return _0x243c76[_0x590183(0x135)](0x4)[_0x590183(0x2e1)]();}catch{}}throw new Error(_0x590183(0x1dd));},_0x15c73f=Object[_0xaa8ddd(0x2b2)]||(function(){function _0x43cbc0(){}return function(_0x14e6db){const _0x2343d3=_0x8857;var _0x438fdc;return _0x43cbc0['prototype']=_0x14e6db,_0x438fdc=new _0x43cbc0(),_0x43cbc0[_0x2343d3(0x15e)]=null,_0x438fdc;};}()),_0xccf256={},_0x4e90c6=_0xccf256['lib']={},_0x20d3ed=_0x4e90c6['Base']=(function(){return{'extend':function(_0x4ed5c4){const _0x36ee23=_0x8857;var _0x465157=_0x15c73f(this);return _0x4ed5c4&&_0x465157['mixIn'](_0x4ed5c4),(!_0x465157['hasOwnProperty'](_0x36ee23(0x1d1))||this['init']===_0x465157['init'])&&(_0x465157[_0x36ee23(0x1d1)]=function(){const _0x18f307=_0x36ee23;_0x465157['$super'][_0x18f307(0x1d1)][_0x18f307(0x2c4)](this,arguments);}),_0x465157['init'][_0x36ee23(0x15e)]=_0x465157,_0x465157[_0x36ee23(0x495)]=this,_0x465157;},'create':function(){const _0x363c48=_0x8857;var _0x426a42=this[_0x363c48(0x401)]();return _0x426a42['init']['apply'](_0x426a42,arguments),_0x426a42;},'init':function(){},'mixIn':function(_0x1be18c){const _0x147f1b=_0x8857;for(var _0x57b081 in _0x1be18c)_0x1be18c['hasOwnProperty'](_0x57b081)&&(this[_0x57b081]=_0x1be18c[_0x57b081]);_0x1be18c[_0x147f1b(0x2bb)]('toString')&&(this[_0x147f1b(0x34c)]=_0x1be18c[_0x147f1b(0x34c)]);},'clone':function(){const _0x1a0106=_0x8857;return this['init'][_0x1a0106(0x15e)][_0x1a0106(0x401)](this);}};}()),_0x1c8180=_0x4e90c6[_0xaa8ddd(0x228)]=_0x20d3ed['extend']({'init':function(_0x269d92,_0x419334){const _0x3260e6=_0xaa8ddd;_0x269d92=this[_0x3260e6(0x27d)]=_0x269d92||[],_0x419334!=_0xedafc0?this[_0x3260e6(0x179)]=_0x419334:this['sigBytes']=_0x269d92['length']*0x4;},'toString':function(_0x110ba7){const _0x1547bf=_0xaa8ddd;return(_0x110ba7||_0x2fcaaf)[_0x1547bf(0x20d)](this);},'concat':function(_0x15f737){const _0x1cec03=_0xaa8ddd;var _0x3e3e13=this['words'],_0x1ba579=_0x15f737['words'],_0x4aedf7=this[_0x1cec03(0x179)],_0x199d3c=_0x15f737['sigBytes'];if(this[_0x1cec03(0x42d)](),_0x4aedf7%0x4)for(var _0x518d8c=0x0;_0x518d8c<_0x199d3c;_0x518d8c++){var _0x8c83e=_0x1ba579[_0x518d8c>>>0x2]>>>0x18-_0x518d8c%0x4*0x8&0xff;_0x3e3e13[_0x4aedf7+_0x518d8c>>>0x2]|=_0x8c83e<<0x18-(_0x4aedf7+_0x518d8c)%0x4*0x8;}else{for(var _0x380e8e=0x0;_0x380e8e<_0x199d3c;_0x380e8e+=0x4)_0x3e3e13[_0x4aedf7+_0x380e8e>>>0x2]=_0x1ba579[_0x380e8e>>>0x2];}return this[_0x1cec03(0x179)]+=_0x199d3c,this;},'clamp':function(){const _0x1966f1=_0xaa8ddd;var _0xf1e66a=this[_0x1966f1(0x27d)],_0x433f47=this[_0x1966f1(0x179)];_0xf1e66a[_0x433f47>>>0x2]&=0xffffffff<<0x20-_0x433f47%0x4*0x8,_0xf1e66a[_0x1966f1(0x3be)]=_0x4410d6[_0x1966f1(0x477)](_0x433f47/0x4);},'clone':function(){const _0x274bd7=_0xaa8ddd;var _0x2108af=_0x20d3ed[_0x274bd7(0x21b)]['call'](this);return _0x2108af['words']=this[_0x274bd7(0x27d)][_0x274bd7(0x224)](0x0),_0x2108af;},'random':function(_0x5a4953){const _0x3813a3=_0xaa8ddd;for(var _0x2ec71a=[],_0x14165d=0x0;_0x14165d<_0x5a4953;_0x14165d+=0x4)_0x2ec71a[_0x3813a3(0x42f)](_0x48a267());return new _0x1c8180[(_0x3813a3(0x1d1))](_0x2ec71a,_0x5a4953);}}),_0x3624a0=_0xccf256[_0xaa8ddd(0x30e)]={},_0x2fcaaf=_0x3624a0[_0xaa8ddd(0x4f8)]={'stringify':function(_0x321935){const _0x479cc7=_0xaa8ddd;for(var _0x556085=_0x321935[_0x479cc7(0x27d)],_0x3100d0=_0x321935['sigBytes'],_0x5afc34=[],_0x40c84e=0x0;_0x40c84e<_0x3100d0;_0x40c84e++){var _0x7212=_0x556085[_0x40c84e>>>0x2]>>>0x18-_0x40c84e%0x4*0x8&0xff;_0x5afc34[_0x479cc7(0x42f)]((_0x7212>>>0x4)[_0x479cc7(0x34c)](0x10)),_0x5afc34[_0x479cc7(0x42f)]((_0x7212&0xf)[_0x479cc7(0x34c)](0x10));}return _0x5afc34[_0x479cc7(0x1b6)]('');},'parse':function(_0x4337bd){const _0x4360e5=_0xaa8ddd;for(var _0x46aa75=_0x4337bd[_0x4360e5(0x3be)],_0x63e829=[],_0x3f7790=0x0;_0x3f7790<_0x46aa75;_0x3f7790+=0x2)_0x63e829[_0x3f7790>>>0x3]|=parseInt(_0x4337bd['substr'](_0x3f7790,0x2),0x10)<<0x18-_0x3f7790%0x8*0x4;return new _0x1c8180[(_0x4360e5(0x1d1))](_0x63e829,_0x46aa75/0x2);}},_0x11cc5b=_0x3624a0[_0xaa8ddd(0x259)]={'stringify':function(_0x2c1622){const _0x1a8de4=_0xaa8ddd;for(var _0x2c1acb=_0x2c1622[_0x1a8de4(0x27d)],_0x288958=_0x2c1622[_0x1a8de4(0x179)],_0x145655=[],_0x3dad1d=0x0;_0x3dad1d<_0x288958;_0x3dad1d++){var _0xa17015=_0x2c1acb[_0x3dad1d>>>0x2]>>>0x18-_0x3dad1d%0x4*0x8&0xff;_0x145655['push'](String[_0x1a8de4(0x129)](_0xa17015));}return _0x145655[_0x1a8de4(0x1b6)]('');},'parse':function(_0x33a556){const _0x14c907=_0xaa8ddd;for(var _0x51d444=_0x33a556[_0x14c907(0x3be)],_0x247e5d=[],_0x584ae8=0x0;_0x584ae8<_0x51d444;_0x584ae8++)_0x247e5d[_0x584ae8>>>0x2]|=(_0x33a556[_0x14c907(0x447)](_0x584ae8)&0xff)<<0x18-_0x584ae8%0x4*0x8;return new _0x1c8180[(_0x14c907(0x1d1))](_0x247e5d,_0x51d444);}},_0xd26d14=_0x3624a0[_0xaa8ddd(0x2fb)]={'stringify':function(_0x5bbef0){const _0xcd4926=_0xaa8ddd;try{return decodeURIComponent(escape(_0x11cc5b[_0xcd4926(0x20d)](_0x5bbef0)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x39e1bf){return _0x11cc5b['parse'](unescape(encodeURIComponent(_0x39e1bf)));}},_0x4e1f06=_0x4e90c6[_0xaa8ddd(0x14e)]=_0x20d3ed['extend']({'reset':function(){const _0xbb5828=_0xaa8ddd;this[_0xbb5828(0x2b5)]=new _0x1c8180[(_0xbb5828(0x1d1))](),this[_0xbb5828(0x330)]=0x0;},'_append':function(_0x59bb87){const _0x38f6b1=_0xaa8ddd;typeof _0x59bb87=='string'&&(_0x59bb87=_0xd26d14[_0x38f6b1(0x158)](_0x59bb87)),this[_0x38f6b1(0x2b5)][_0x38f6b1(0x382)](_0x59bb87),this['_nDataBytes']+=_0x59bb87['sigBytes'];},'_process':function(_0x34c1bb){const _0x5f44e9=_0xaa8ddd;var _0x4676c6,_0x5ef56c=this['_data'],_0x2cb933=_0x5ef56c[_0x5f44e9(0x27d)],_0x46c2f4=_0x5ef56c['sigBytes'],_0x93acae=this[_0x5f44e9(0x479)],_0x37e0a8=_0x93acae*0x4,_0xd12f33=_0x46c2f4/_0x37e0a8;_0x34c1bb?_0xd12f33=_0x4410d6[_0x5f44e9(0x477)](_0xd12f33):_0xd12f33=_0x4410d6[_0x5f44e9(0x3b8)]((_0xd12f33|0x0)-this[_0x5f44e9(0x47d)],0x0);var _0x1056c2=_0xd12f33*_0x93acae,_0x3adb74=_0x4410d6[_0x5f44e9(0x4de)](_0x1056c2*0x4,_0x46c2f4);if(_0x1056c2){for(var _0x7eb30f=0x0;_0x7eb30f<_0x1056c2;_0x7eb30f+=_0x93acae)this['_doProcessBlock'](_0x2cb933,_0x7eb30f);_0x4676c6=_0x2cb933[_0x5f44e9(0x146)](0x0,_0x1056c2),_0x5ef56c[_0x5f44e9(0x179)]-=_0x3adb74;}return new _0x1c8180[(_0x5f44e9(0x1d1))](_0x4676c6,_0x3adb74);},'clone':function(){const _0x16119a=_0xaa8ddd;var _0x1210e6=_0x20d3ed['clone']['call'](this);return _0x1210e6[_0x16119a(0x2b5)]=this['_data'][_0x16119a(0x21b)](),_0x1210e6;},'_minBufferSize':0x0});_0x4e90c6[_0xaa8ddd(0x12a)]=_0x4e1f06[_0xaa8ddd(0x401)]({'cfg':_0x20d3ed[_0xaa8ddd(0x401)](),'init':function(_0x18e0d3){const _0x32c318=_0xaa8ddd;this['cfg']=this['cfg'][_0x32c318(0x401)](_0x18e0d3),this[_0x32c318(0x4c1)]();},'reset':function(){const _0x1b39f5=_0xaa8ddd;_0x4e1f06[_0x1b39f5(0x4c1)][_0x1b39f5(0x434)](this),this[_0x1b39f5(0x296)]();},'update':function(_0x21372f){const _0x3677e5=_0xaa8ddd;return this['_append'](_0x21372f),this[_0x3677e5(0x469)](),this;},'finalize':function(_0x49068b){const _0x5e9b04=_0xaa8ddd;_0x49068b&&this[_0x5e9b04(0x45c)](_0x49068b);var _0x5a8ee5=this['_doFinalize']();return _0x5a8ee5;},'blockSize':0x10,'_createHelper':function(_0x2df2d3){return function(_0x32999a,_0x2ab395){const _0x5566c4=_0x8857;return new _0x2df2d3[(_0x5566c4(0x1d1))](_0x2ab395)[_0x5566c4(0x4dc)](_0x32999a);};},'_createHmacHelper':function(_0x210e30){return function(_0x2d033d,_0x566757){const _0x515694=_0x8857;return new _0xc774ab[(_0x515694(0x231))][(_0x515694(0x1d1))](_0x210e30,_0x566757)[_0x515694(0x4dc)](_0x2d033d);};}});var _0xc774ab=_0xccf256[_0xaa8ddd(0x3a4)]={};return _0xccf256;}(Math);return _0x58e85e;}));}(Gt)),Gt['exports'];}var Yt={'exports':{}},si;function qi(){const _0x132b52=_0x38775b;return si||(si=0x1,function(_0x5ac8c5,_0x77ddae){(function(_0x400e48,_0xa3e61){_0x5ac8c5['exports']=_0xa3e61(ue());}(Z,function(_0x12522d){const _0x53101f=_0x8857;return(function(){const _0x5bb4fb=_0x8857;var _0xe77ed2=_0x12522d,_0x2fca44=_0xe77ed2[_0x5bb4fb(0x1b4)],_0x5d2976=_0x2fca44[_0x5bb4fb(0x228)],_0x4599ea=_0xe77ed2[_0x5bb4fb(0x30e)];_0x4599ea[_0x5bb4fb(0x36f)]={'stringify':function(_0x2b9c87){const _0x37df17=_0x5bb4fb;var _0x408369=_0x2b9c87[_0x37df17(0x27d)],_0x51fd96=_0x2b9c87[_0x37df17(0x179)],_0x554199=this[_0x37df17(0x552)];_0x2b9c87[_0x37df17(0x42d)]();for(var _0x49611a=[],_0x2fe3d0=0x0;_0x2fe3d0<_0x51fd96;_0x2fe3d0+=0x3)for(var _0x5b2f77=_0x408369[_0x2fe3d0>>>0x2]>>>0x18-_0x2fe3d0%0x4*0x8&0xff,_0x1d507d=_0x408369[_0x2fe3d0+0x1>>>0x2]>>>0x18-(_0x2fe3d0+0x1)%0x4*0x8&0xff,_0x568bfa=_0x408369[_0x2fe3d0+0x2>>>0x2]>>>0x18-(_0x2fe3d0+0x2)%0x4*0x8&0xff,_0x4d0050=_0x5b2f77<<0x10|_0x1d507d<<0x8|_0x568bfa,_0x2511ac=0x0;_0x2511ac<0x4&&_0x2fe3d0+_0x2511ac*0.75<_0x51fd96;_0x2511ac++)_0x49611a[_0x37df17(0x42f)](_0x554199[_0x37df17(0x2f1)](_0x4d0050>>>0x6*(0x3-_0x2511ac)&0x3f));var _0xbab5a3=_0x554199[_0x37df17(0x2f1)](0x40);if(_0xbab5a3){for(;_0x49611a[_0x37df17(0x3be)]%0x4;)_0x49611a['push'](_0xbab5a3);}return _0x49611a[_0x37df17(0x1b6)]('');},'parse':function(_0x3e23cc){const _0x444c31=_0x5bb4fb;var _0x50cf9f=_0x3e23cc[_0x444c31(0x3be)],_0x1699e3=this[_0x444c31(0x552)],_0x42b88e=this[_0x444c31(0x480)];if(!_0x42b88e){_0x42b88e=this['_reverseMap']=[];for(var _0x3f9bd6=0x0;_0x3f9bd6<_0x1699e3[_0x444c31(0x3be)];_0x3f9bd6++)_0x42b88e[_0x1699e3[_0x444c31(0x447)](_0x3f9bd6)]=_0x3f9bd6;}var _0x574108=_0x1699e3[_0x444c31(0x2f1)](0x40);if(_0x574108){var _0x23f7c7=_0x3e23cc[_0x444c31(0x1e3)](_0x574108);_0x23f7c7!==-0x1&&(_0x50cf9f=_0x23f7c7);}return _0x1072b2(_0x3e23cc,_0x50cf9f,_0x42b88e);},'_map':_0x5bb4fb(0x4ee)};function _0x1072b2(_0x3f9f4d,_0x322322,_0xbe5782){const _0xeaaa3a=_0x5bb4fb;for(var _0x1ac1be=[],_0x24ac51=0x0,_0x934c55=0x0;_0x934c55<_0x322322;_0x934c55++)if(_0x934c55%0x4){var _0x538d43=_0xbe5782[_0x3f9f4d[_0xeaaa3a(0x447)](_0x934c55-0x1)]<<_0x934c55%0x4*0x2,_0x2f8dad=_0xbe5782[_0x3f9f4d[_0xeaaa3a(0x447)](_0x934c55)]>>>0x6-_0x934c55%0x4*0x2,_0x594c73=_0x538d43|_0x2f8dad;_0x1ac1be[_0x24ac51>>>0x2]|=_0x594c73<<0x18-_0x24ac51%0x4*0x8,_0x24ac51++;}return _0x5d2976[_0xeaaa3a(0x2b2)](_0x1ac1be,_0x24ac51);}}()),_0x12522d[_0x53101f(0x30e)][_0x53101f(0x36f)];}));}(Yt)),Yt[_0x132b52(0x451)];}var Kt={'exports':{}},ii;function ec(){const _0x3c5aa8=_0x38775b;return ii||(ii=0x1,function(_0x18159f,_0xfc5df7){(function(_0x2d2b81,_0x47f2ae){const _0x62dee=_0x8857;_0x18159f[_0x62dee(0x451)]=_0x47f2ae(ue());}(Z,function(_0x402257){const _0x1e2da2=_0x8857;return function(_0x2d2845){const _0x2a15dd=_0x8857;var _0xd06f88=_0x402257,_0x55151d=_0xd06f88[_0x2a15dd(0x1b4)],_0x4348af=_0x55151d['WordArray'],_0x13ea66=_0x55151d['Hasher'],_0xe0d928=_0xd06f88[_0x2a15dd(0x3a4)],_0x36b11f=[];(function(){const _0x2f4379=_0x2a15dd;for(var _0x4c2bd7=0x0;_0x4c2bd7<0x40;_0x4c2bd7++)_0x36b11f[_0x4c2bd7]=_0x2d2845[_0x2f4379(0x365)](_0x2d2845['sin'](_0x4c2bd7+0x1))*0x100000000|0x0;}());var _0x32ba93=_0xe0d928[_0x2a15dd(0x170)]=_0x13ea66[_0x2a15dd(0x401)]({'_doReset':function(){const _0x50de14=_0x2a15dd;this[_0x50de14(0x48f)]=new _0x4348af[(_0x50de14(0x1d1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x53abec,_0x54bfd7){const _0x5c28b5=_0x2a15dd;for(var _0x538674=0x0;_0x538674<0x10;_0x538674++){var _0x15c93c=_0x54bfd7+_0x538674,_0x285bb6=_0x53abec[_0x15c93c];_0x53abec[_0x15c93c]=(_0x285bb6<<0x8|_0x285bb6>>>0x18)&0xff00ff|(_0x285bb6<<0x18|_0x285bb6>>>0x8)&0xff00ff00;}var _0x148cdf=this['_hash'][_0x5c28b5(0x27d)],_0x32303c=_0x53abec[_0x54bfd7+0x0],_0x15b05d=_0x53abec[_0x54bfd7+0x1],_0x202ea0=_0x53abec[_0x54bfd7+0x2],_0x34d977=_0x53abec[_0x54bfd7+0x3],_0x182345=_0x53abec[_0x54bfd7+0x4],_0x61503e=_0x53abec[_0x54bfd7+0x5],_0x5c693e=_0x53abec[_0x54bfd7+0x6],_0x100eb4=_0x53abec[_0x54bfd7+0x7],_0x22fd52=_0x53abec[_0x54bfd7+0x8],_0x2cd8db=_0x53abec[_0x54bfd7+0x9],_0x2c45f4=_0x53abec[_0x54bfd7+0xa],_0x152e1b=_0x53abec[_0x54bfd7+0xb],_0x2b9719=_0x53abec[_0x54bfd7+0xc],_0x5f0cba=_0x53abec[_0x54bfd7+0xd],_0x4b97ad=_0x53abec[_0x54bfd7+0xe],_0x2b5ed5=_0x53abec[_0x54bfd7+0xf],_0x568d5a=_0x148cdf[0x0],_0x2c6cdc=_0x148cdf[0x1],_0x2e308e=_0x148cdf[0x2],_0x78a645=_0x148cdf[0x3];_0x568d5a=_0x4b0ce5(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x32303c,0x7,_0x36b11f[0x0]),_0x78a645=_0x4b0ce5(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x15b05d,0xc,_0x36b11f[0x1]),_0x2e308e=_0x4b0ce5(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x202ea0,0x11,_0x36b11f[0x2]),_0x2c6cdc=_0x4b0ce5(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x34d977,0x16,_0x36b11f[0x3]),_0x568d5a=_0x4b0ce5(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x182345,0x7,_0x36b11f[0x4]),_0x78a645=_0x4b0ce5(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x61503e,0xc,_0x36b11f[0x5]),_0x2e308e=_0x4b0ce5(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x5c693e,0x11,_0x36b11f[0x6]),_0x2c6cdc=_0x4b0ce5(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x100eb4,0x16,_0x36b11f[0x7]),_0x568d5a=_0x4b0ce5(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x22fd52,0x7,_0x36b11f[0x8]),_0x78a645=_0x4b0ce5(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x2cd8db,0xc,_0x36b11f[0x9]),_0x2e308e=_0x4b0ce5(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x2c45f4,0x11,_0x36b11f[0xa]),_0x2c6cdc=_0x4b0ce5(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x152e1b,0x16,_0x36b11f[0xb]),_0x568d5a=_0x4b0ce5(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x2b9719,0x7,_0x36b11f[0xc]),_0x78a645=_0x4b0ce5(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x5f0cba,0xc,_0x36b11f[0xd]),_0x2e308e=_0x4b0ce5(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x4b97ad,0x11,_0x36b11f[0xe]),_0x2c6cdc=_0x4b0ce5(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x2b5ed5,0x16,_0x36b11f[0xf]),_0x568d5a=_0x9b4b66(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x15b05d,0x5,_0x36b11f[0x10]),_0x78a645=_0x9b4b66(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x5c693e,0x9,_0x36b11f[0x11]),_0x2e308e=_0x9b4b66(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x152e1b,0xe,_0x36b11f[0x12]),_0x2c6cdc=_0x9b4b66(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x32303c,0x14,_0x36b11f[0x13]),_0x568d5a=_0x9b4b66(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x61503e,0x5,_0x36b11f[0x14]),_0x78a645=_0x9b4b66(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x2c45f4,0x9,_0x36b11f[0x15]),_0x2e308e=_0x9b4b66(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x2b5ed5,0xe,_0x36b11f[0x16]),_0x2c6cdc=_0x9b4b66(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x182345,0x14,_0x36b11f[0x17]),_0x568d5a=_0x9b4b66(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x2cd8db,0x5,_0x36b11f[0x18]),_0x78a645=_0x9b4b66(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x4b97ad,0x9,_0x36b11f[0x19]),_0x2e308e=_0x9b4b66(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x34d977,0xe,_0x36b11f[0x1a]),_0x2c6cdc=_0x9b4b66(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x22fd52,0x14,_0x36b11f[0x1b]),_0x568d5a=_0x9b4b66(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x5f0cba,0x5,_0x36b11f[0x1c]),_0x78a645=_0x9b4b66(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x202ea0,0x9,_0x36b11f[0x1d]),_0x2e308e=_0x9b4b66(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x100eb4,0xe,_0x36b11f[0x1e]),_0x2c6cdc=_0x9b4b66(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x2b9719,0x14,_0x36b11f[0x1f]),_0x568d5a=_0x2aab7c(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x61503e,0x4,_0x36b11f[0x20]),_0x78a645=_0x2aab7c(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x22fd52,0xb,_0x36b11f[0x21]),_0x2e308e=_0x2aab7c(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x152e1b,0x10,_0x36b11f[0x22]),_0x2c6cdc=_0x2aab7c(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x4b97ad,0x17,_0x36b11f[0x23]),_0x568d5a=_0x2aab7c(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x15b05d,0x4,_0x36b11f[0x24]),_0x78a645=_0x2aab7c(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x182345,0xb,_0x36b11f[0x25]),_0x2e308e=_0x2aab7c(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x100eb4,0x10,_0x36b11f[0x26]),_0x2c6cdc=_0x2aab7c(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x2c45f4,0x17,_0x36b11f[0x27]),_0x568d5a=_0x2aab7c(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x5f0cba,0x4,_0x36b11f[0x28]),_0x78a645=_0x2aab7c(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x32303c,0xb,_0x36b11f[0x29]),_0x2e308e=_0x2aab7c(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x34d977,0x10,_0x36b11f[0x2a]),_0x2c6cdc=_0x2aab7c(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x5c693e,0x17,_0x36b11f[0x2b]),_0x568d5a=_0x2aab7c(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x2cd8db,0x4,_0x36b11f[0x2c]),_0x78a645=_0x2aab7c(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x2b9719,0xb,_0x36b11f[0x2d]),_0x2e308e=_0x2aab7c(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x2b5ed5,0x10,_0x36b11f[0x2e]),_0x2c6cdc=_0x2aab7c(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x202ea0,0x17,_0x36b11f[0x2f]),_0x568d5a=_0x3a05d7(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x32303c,0x6,_0x36b11f[0x30]),_0x78a645=_0x3a05d7(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x100eb4,0xa,_0x36b11f[0x31]),_0x2e308e=_0x3a05d7(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x4b97ad,0xf,_0x36b11f[0x32]),_0x2c6cdc=_0x3a05d7(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x61503e,0x15,_0x36b11f[0x33]),_0x568d5a=_0x3a05d7(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x2b9719,0x6,_0x36b11f[0x34]),_0x78a645=_0x3a05d7(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x34d977,0xa,_0x36b11f[0x35]),_0x2e308e=_0x3a05d7(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x2c45f4,0xf,_0x36b11f[0x36]),_0x2c6cdc=_0x3a05d7(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x15b05d,0x15,_0x36b11f[0x37]),_0x568d5a=_0x3a05d7(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x22fd52,0x6,_0x36b11f[0x38]),_0x78a645=_0x3a05d7(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x2b5ed5,0xa,_0x36b11f[0x39]),_0x2e308e=_0x3a05d7(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x5c693e,0xf,_0x36b11f[0x3a]),_0x2c6cdc=_0x3a05d7(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x5f0cba,0x15,_0x36b11f[0x3b]),_0x568d5a=_0x3a05d7(_0x568d5a,_0x2c6cdc,_0x2e308e,_0x78a645,_0x182345,0x6,_0x36b11f[0x3c]),_0x78a645=_0x3a05d7(_0x78a645,_0x568d5a,_0x2c6cdc,_0x2e308e,_0x152e1b,0xa,_0x36b11f[0x3d]),_0x2e308e=_0x3a05d7(_0x2e308e,_0x78a645,_0x568d5a,_0x2c6cdc,_0x202ea0,0xf,_0x36b11f[0x3e]),_0x2c6cdc=_0x3a05d7(_0x2c6cdc,_0x2e308e,_0x78a645,_0x568d5a,_0x2cd8db,0x15,_0x36b11f[0x3f]),_0x148cdf[0x0]=_0x148cdf[0x0]+_0x568d5a|0x0,_0x148cdf[0x1]=_0x148cdf[0x1]+_0x2c6cdc|0x0,_0x148cdf[0x2]=_0x148cdf[0x2]+_0x2e308e|0x0,_0x148cdf[0x3]=_0x148cdf[0x3]+_0x78a645|0x0;},'_doFinalize':function(){const _0x1f43fa=_0x2a15dd;var _0x34e650=this['_data'],_0xb71443=_0x34e650[_0x1f43fa(0x27d)],_0x5a26fa=this[_0x1f43fa(0x330)]*0x8,_0x11d0eb=_0x34e650[_0x1f43fa(0x179)]*0x8;_0xb71443[_0x11d0eb>>>0x5]|=0x80<<0x18-_0x11d0eb%0x20;var _0x324b0d=_0x2d2845[_0x1f43fa(0x3b1)](_0x5a26fa/0x100000000),_0x366737=_0x5a26fa;_0xb71443[(_0x11d0eb+0x40>>>0x9<<0x4)+0xf]=(_0x324b0d<<0x8|_0x324b0d>>>0x18)&0xff00ff|(_0x324b0d<<0x18|_0x324b0d>>>0x8)&0xff00ff00,_0xb71443[(_0x11d0eb+0x40>>>0x9<<0x4)+0xe]=(_0x366737<<0x8|_0x366737>>>0x18)&0xff00ff|(_0x366737<<0x18|_0x366737>>>0x8)&0xff00ff00,_0x34e650[_0x1f43fa(0x179)]=(_0xb71443['length']+0x1)*0x4,this[_0x1f43fa(0x469)]();for(var _0x2685e0=this[_0x1f43fa(0x48f)],_0x3513cc=_0x2685e0[_0x1f43fa(0x27d)],_0x5e158a=0x0;_0x5e158a<0x4;_0x5e158a++){var _0x355d4c=_0x3513cc[_0x5e158a];_0x3513cc[_0x5e158a]=(_0x355d4c<<0x8|_0x355d4c>>>0x18)&0xff00ff|(_0x355d4c<<0x18|_0x355d4c>>>0x8)&0xff00ff00;}return _0x2685e0;},'clone':function(){const _0x421bf0=_0x2a15dd;var _0x5da57c=_0x13ea66[_0x421bf0(0x21b)][_0x421bf0(0x434)](this);return _0x5da57c[_0x421bf0(0x48f)]=this[_0x421bf0(0x48f)]['clone'](),_0x5da57c;}});function _0x4b0ce5(_0xf277d3,_0x3051b1,_0x2061c5,_0x10e851,_0x255ed1,_0x73341e,_0x4a2336){var _0x1eba8f=_0xf277d3+(_0x3051b1&_0x2061c5|~_0x3051b1&_0x10e851)+_0x255ed1+_0x4a2336;return(_0x1eba8f<<_0x73341e|_0x1eba8f>>>0x20-_0x73341e)+_0x3051b1;}function _0x9b4b66(_0x1ca538,_0x54674d,_0xedef99,_0x20c81c,_0x50be36,_0x17d9d0,_0x4b744c){var _0x3c41fc=_0x1ca538+(_0x54674d&_0x20c81c|_0xedef99&~_0x20c81c)+_0x50be36+_0x4b744c;return(_0x3c41fc<<_0x17d9d0|_0x3c41fc>>>0x20-_0x17d9d0)+_0x54674d;}function _0x2aab7c(_0x39d889,_0x56def6,_0x13bfa0,_0x3e0a6f,_0x146731,_0xc91c3,_0x4fd191){var _0x8f5977=_0x39d889+(_0x56def6^_0x13bfa0^_0x3e0a6f)+_0x146731+_0x4fd191;return(_0x8f5977<<_0xc91c3|_0x8f5977>>>0x20-_0xc91c3)+_0x56def6;}function _0x3a05d7(_0x15854b,_0x957117,_0x2e2f4e,_0x416450,_0xb5e7eb,_0x2b5d0f,_0x41bb7e){var _0x331983=_0x15854b+(_0x2e2f4e^(_0x957117|~_0x416450))+_0xb5e7eb+_0x41bb7e;return(_0x331983<<_0x2b5d0f|_0x331983>>>0x20-_0x2b5d0f)+_0x957117;}_0xd06f88[_0x2a15dd(0x170)]=_0x13ea66[_0x2a15dd(0x24a)](_0x32ba93),_0xd06f88[_0x2a15dd(0x1a2)]=_0x13ea66[_0x2a15dd(0x54d)](_0x32ba93);}(Math),_0x402257[_0x1e2da2(0x170)];}));}(Kt)),Kt[_0x3c5aa8(0x451)];}var zt={'exports':{}},qt={'exports':{}},ri;function tc(){return ri||(ri=0x1,function(_0x25e85b,_0x173fb6){(function(_0x2febcf,_0x13ddc4){const _0x296187=_0x8857;_0x25e85b[_0x296187(0x451)]=_0x13ddc4(ue());}(Z,function(_0x1044ae){return(function(){const _0x42c3e3=_0x8857;var _0x265e95=_0x1044ae,_0x5a473d=_0x265e95[_0x42c3e3(0x1b4)],_0x13e258=_0x5a473d[_0x42c3e3(0x228)],_0x2d458a=_0x5a473d['Hasher'],_0x370b06=_0x265e95[_0x42c3e3(0x3a4)],_0x28b736=[],_0x2c9695=_0x370b06[_0x42c3e3(0x1a9)]=_0x2d458a['extend']({'_doReset':function(){const _0x5b95d8=_0x42c3e3;this[_0x5b95d8(0x48f)]=new _0x13e258[(_0x5b95d8(0x1d1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x163470,_0x3d7df4){const _0x5191d3=_0x42c3e3;for(var _0x29d0b4=this[_0x5191d3(0x48f)][_0x5191d3(0x27d)],_0x4ee65f=_0x29d0b4[0x0],_0x3ca9b4=_0x29d0b4[0x1],_0x2baad5=_0x29d0b4[0x2],_0x4a6f77=_0x29d0b4[0x3],_0x31532a=_0x29d0b4[0x4],_0x5cdd58=0x0;_0x5cdd58<0x50;_0x5cdd58++){if(_0x5cdd58<0x10)_0x28b736[_0x5cdd58]=_0x163470[_0x3d7df4+_0x5cdd58]|0x0;else{var _0x1b9352=_0x28b736[_0x5cdd58-0x3]^_0x28b736[_0x5cdd58-0x8]^_0x28b736[_0x5cdd58-0xe]^_0x28b736[_0x5cdd58-0x10];_0x28b736[_0x5cdd58]=_0x1b9352<<0x1|_0x1b9352>>>0x1f;}var _0x1982f9=(_0x4ee65f<<0x5|_0x4ee65f>>>0x1b)+_0x31532a+_0x28b736[_0x5cdd58];_0x5cdd58<0x14?_0x1982f9+=(_0x3ca9b4&_0x2baad5|~_0x3ca9b4&_0x4a6f77)+0x5a827999:_0x5cdd58<0x28?_0x1982f9+=(_0x3ca9b4^_0x2baad5^_0x4a6f77)+0x6ed9eba1:_0x5cdd58<0x3c?_0x1982f9+=(_0x3ca9b4&_0x2baad5|_0x3ca9b4&_0x4a6f77|_0x2baad5&_0x4a6f77)-0x70e44324:_0x1982f9+=(_0x3ca9b4^_0x2baad5^_0x4a6f77)-0x359d3e2a,_0x31532a=_0x4a6f77,_0x4a6f77=_0x2baad5,_0x2baad5=_0x3ca9b4<<0x1e|_0x3ca9b4>>>0x2,_0x3ca9b4=_0x4ee65f,_0x4ee65f=_0x1982f9;}_0x29d0b4[0x0]=_0x29d0b4[0x0]+_0x4ee65f|0x0,_0x29d0b4[0x1]=_0x29d0b4[0x1]+_0x3ca9b4|0x0,_0x29d0b4[0x2]=_0x29d0b4[0x2]+_0x2baad5|0x0,_0x29d0b4[0x3]=_0x29d0b4[0x3]+_0x4a6f77|0x0,_0x29d0b4[0x4]=_0x29d0b4[0x4]+_0x31532a|0x0;},'_doFinalize':function(){const _0x3d53ea=_0x42c3e3;var _0x5bdb19=this['_data'],_0x231f4f=_0x5bdb19[_0x3d53ea(0x27d)],_0x144228=this[_0x3d53ea(0x330)]*0x8,_0x267db1=_0x5bdb19['sigBytes']*0x8;return _0x231f4f[_0x267db1>>>0x5]|=0x80<<0x18-_0x267db1%0x20,_0x231f4f[(_0x267db1+0x40>>>0x9<<0x4)+0xe]=Math[_0x3d53ea(0x3b1)](_0x144228/0x100000000),_0x231f4f[(_0x267db1+0x40>>>0x9<<0x4)+0xf]=_0x144228,_0x5bdb19['sigBytes']=_0x231f4f[_0x3d53ea(0x3be)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x5a9373=_0x42c3e3;var _0x5a70e0=_0x2d458a['clone'][_0x5a9373(0x434)](this);return _0x5a70e0[_0x5a9373(0x48f)]=this[_0x5a9373(0x48f)][_0x5a9373(0x21b)](),_0x5a70e0;}});_0x265e95['SHA1']=_0x2d458a[_0x42c3e3(0x24a)](_0x2c9695),_0x265e95[_0x42c3e3(0x1a0)]=_0x2d458a[_0x42c3e3(0x54d)](_0x2c9695);}()),_0x1044ae['SHA1'];}));}(qt)),qt['exports'];}var Xt={'exports':{}},ni;function sc(){return ni||(ni=0x1,function(_0x3cb670,_0x99a62f){(function(_0x36f4be,_0x1b52bd){const _0x49f600=_0x8857;_0x3cb670[_0x49f600(0x451)]=_0x1b52bd(ue());}(Z,function(_0x8cde2c){(function(){const _0x4edef7=_0x8857;var _0x22fc37=_0x8cde2c,_0x2d9320=_0x22fc37[_0x4edef7(0x1b4)],_0x3f9669=_0x2d9320[_0x4edef7(0x337)],_0x600332=_0x22fc37[_0x4edef7(0x30e)],_0x21e7fa=_0x600332['Utf8'],_0x2c242a=_0x22fc37[_0x4edef7(0x3a4)];_0x2c242a[_0x4edef7(0x231)]=_0x3f9669[_0x4edef7(0x401)]({'init':function(_0x16e66a,_0x32bcf5){const _0x30895b=_0x4edef7;_0x16e66a=this[_0x30895b(0x491)]=new _0x16e66a['init'](),typeof _0x32bcf5==_0x30895b(0x27e)&&(_0x32bcf5=_0x21e7fa[_0x30895b(0x158)](_0x32bcf5));var _0x81b221=_0x16e66a['blockSize'],_0x26bc5d=_0x81b221*0x4;_0x32bcf5[_0x30895b(0x179)]>_0x26bc5d&&(_0x32bcf5=_0x16e66a[_0x30895b(0x4dc)](_0x32bcf5)),_0x32bcf5['clamp']();for(var _0x1a9510=this[_0x30895b(0x2c6)]=_0x32bcf5['clone'](),_0x32ca90=this[_0x30895b(0x14b)]=_0x32bcf5[_0x30895b(0x21b)](),_0x2f0952=_0x1a9510[_0x30895b(0x27d)],_0x1706fd=_0x32ca90[_0x30895b(0x27d)],_0x79992a=0x0;_0x79992a<_0x81b221;_0x79992a++)_0x2f0952[_0x79992a]^=0x5c5c5c5c,_0x1706fd[_0x79992a]^=0x36363636;_0x1a9510[_0x30895b(0x179)]=_0x32ca90[_0x30895b(0x179)]=_0x26bc5d,this[_0x30895b(0x4c1)]();},'reset':function(){const _0x4bffeb=_0x4edef7;var _0x1115e4=this['_hasher'];_0x1115e4[_0x4bffeb(0x4c1)](),_0x1115e4['update'](this[_0x4bffeb(0x14b)]);},'update':function(_0x19c691){const _0x25a7b3=_0x4edef7;return this[_0x25a7b3(0x491)][_0x25a7b3(0x1bd)](_0x19c691),this;},'finalize':function(_0x4a1663){const _0x20f0ee=_0x4edef7;var _0x3e471b=this[_0x20f0ee(0x491)],_0x488d96=_0x3e471b[_0x20f0ee(0x4dc)](_0x4a1663);_0x3e471b['reset']();var _0x1dac2b=_0x3e471b[_0x20f0ee(0x4dc)](this[_0x20f0ee(0x2c6)][_0x20f0ee(0x21b)]()[_0x20f0ee(0x382)](_0x488d96));return _0x1dac2b;}});}());}));}(Xt)),Xt['exports'];}var oi;function Xi(){return oi||(oi=0x1,function(_0x16a410,_0x1567d2){(function(_0x19320b,_0x47430a,_0x57fc37){_0x16a410['exports']=_0x47430a(ue(),tc(),sc());}(Z,function(_0x105942){return(function(){const _0x2d95b3=_0x8857;var _0x2f56a5=_0x105942,_0x42f031=_0x2f56a5[_0x2d95b3(0x1b4)],_0x4a629b=_0x42f031[_0x2d95b3(0x337)],_0x412849=_0x42f031[_0x2d95b3(0x228)],_0x47e306=_0x2f56a5[_0x2d95b3(0x3a4)],_0x136f6e=_0x47e306[_0x2d95b3(0x170)],_0x167229=_0x47e306[_0x2d95b3(0x546)]=_0x4a629b[_0x2d95b3(0x401)]({'cfg':_0x4a629b[_0x2d95b3(0x401)]({'keySize':0x80/0x20,'hasher':_0x136f6e,'iterations':0x1}),'init':function(_0x58bd39){const _0x1b49b9=_0x2d95b3;this[_0x1b49b9(0x343)]=this[_0x1b49b9(0x343)][_0x1b49b9(0x401)](_0x58bd39);},'compute':function(_0x383b28,_0x38cdcc){const _0x13b57d=_0x2d95b3;for(var _0x3e43a8,_0x5d1cad=this['cfg'],_0x183f6d=_0x5d1cad[_0x13b57d(0x3a6)][_0x13b57d(0x2b2)](),_0x33ed32=_0x412849[_0x13b57d(0x2b2)](),_0x1f5c52=_0x33ed32['words'],_0x36cc24=_0x5d1cad['keySize'],_0x2e738b=_0x5d1cad[_0x13b57d(0x2b0)];_0x1f5c52[_0x13b57d(0x3be)]<_0x36cc24;){_0x3e43a8&&_0x183f6d[_0x13b57d(0x1bd)](_0x3e43a8),_0x3e43a8=_0x183f6d[_0x13b57d(0x1bd)](_0x383b28)[_0x13b57d(0x4dc)](_0x38cdcc),_0x183f6d[_0x13b57d(0x4c1)]();for(var _0x36f13f=0x1;_0x36f13f<_0x2e738b;_0x36f13f++)_0x3e43a8=_0x183f6d[_0x13b57d(0x4dc)](_0x3e43a8),_0x183f6d[_0x13b57d(0x4c1)]();_0x33ed32['concat'](_0x3e43a8);}return _0x33ed32[_0x13b57d(0x179)]=_0x36cc24*0x4,_0x33ed32;}});_0x2f56a5[_0x2d95b3(0x546)]=function(_0x3d1172,_0x4091ac,_0xea2074){const _0x1e9afe=_0x2d95b3;return _0x167229[_0x1e9afe(0x2b2)](_0xea2074)['compute'](_0x3d1172,_0x4091ac);};}()),_0x105942['EvpKDF'];}));}(zt)),zt['exports'];}var Jt={'exports':{}},ai;function Ji(){const _0x4a141f=_0x38775b;return ai||(ai=0x1,function(_0x310640,_0x321bb5){(function(_0x161594,_0x2ef89a,_0x52628f){const _0x48b59f=_0x8857;_0x310640[_0x48b59f(0x451)]=_0x2ef89a(ue(),Xi());}(Z,function(_0x14e306){const _0x34b320=_0x8857;_0x14e306[_0x34b320(0x1b4)][_0x34b320(0x424)]||function(_0x1bcbf5){const _0x4c50cf=_0x34b320;var _0x246446=_0x14e306,_0x4df57e=_0x246446[_0x4c50cf(0x1b4)],_0x5f1494=_0x4df57e[_0x4c50cf(0x337)],_0x8b827c=_0x4df57e[_0x4c50cf(0x228)],_0x5c1e63=_0x4df57e[_0x4c50cf(0x14e)],_0x19d7d5=_0x246446[_0x4c50cf(0x30e)];_0x19d7d5['Utf8'];var _0x7d9dd8=_0x19d7d5[_0x4c50cf(0x36f)],_0x1f5cfc=_0x246446[_0x4c50cf(0x3a4)],_0x2f8238=_0x1f5cfc[_0x4c50cf(0x546)],_0x45307b=_0x4df57e[_0x4c50cf(0x424)]=_0x5c1e63[_0x4c50cf(0x401)]({'cfg':_0x5f1494[_0x4c50cf(0x401)](),'createEncryptor':function(_0x80abe5,_0x5da6fa){const _0x3cea15=_0x4c50cf;return this['create'](this[_0x3cea15(0x524)],_0x80abe5,_0x5da6fa);},'createDecryptor':function(_0x187502,_0x500adf){const _0x5d167a=_0x4c50cf;return this[_0x5d167a(0x2b2)](this[_0x5d167a(0x3b2)],_0x187502,_0x500adf);},'init':function(_0x1203c8,_0x206475,_0x3a4ee9){const _0x3343da=_0x4c50cf;this[_0x3343da(0x343)]=this[_0x3343da(0x343)]['extend'](_0x3a4ee9),this[_0x3343da(0x1c1)]=_0x1203c8,this[_0x3343da(0x47b)]=_0x206475,this['reset']();},'reset':function(){const _0x3b9d39=_0x4c50cf;_0x5c1e63[_0x3b9d39(0x4c1)][_0x3b9d39(0x434)](this),this[_0x3b9d39(0x296)]();},'process':function(_0xaf8c69){const _0x2381f5=_0x4c50cf;return this['_append'](_0xaf8c69),this[_0x2381f5(0x469)]();},'finalize':function(_0x17079f){const _0x305833=_0x4c50cf;_0x17079f&&this[_0x305833(0x45c)](_0x17079f);var _0x5cf9d5=this[_0x305833(0x466)]();return _0x5cf9d5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5bcc82(_0x2ecd38){const _0x1263b6=_0x8857;return typeof _0x2ecd38==_0x1263b6(0x27e)?_0x3e9bd8:_0x2d72b9;}return function(_0x3e0591){return{'encrypt':function(_0x160f53,_0x1f8670,_0x5ccb75){const _0xcf22e1=_0x8857;return _0x5bcc82(_0x1f8670)[_0xcf22e1(0x297)](_0x3e0591,_0x160f53,_0x1f8670,_0x5ccb75);},'decrypt':function(_0x49b49c,_0x5f55ec,_0x332fa0){return _0x5bcc82(_0x5f55ec)['decrypt'](_0x3e0591,_0x49b49c,_0x5f55ec,_0x332fa0);}};};}())});_0x4df57e[_0x4c50cf(0x494)]=_0x45307b['extend']({'_doFinalize':function(){const _0x5758f4=_0x4c50cf;var _0x128176=this[_0x5758f4(0x469)](!0x0);return _0x128176;},'blockSize':0x1});var _0x1c822a=_0x246446[_0x4c50cf(0x213)]={},_0x58283f=_0x4df57e[_0x4c50cf(0x417)]=_0x5f1494[_0x4c50cf(0x401)]({'createEncryptor':function(_0x502f25,_0x2bc6f5){const _0x2f94c0=_0x4c50cf;return this[_0x2f94c0(0x499)]['create'](_0x502f25,_0x2bc6f5);},'createDecryptor':function(_0x3efc65,_0xe9cd8d){const _0x365e96=_0x4c50cf;return this[_0x365e96(0x258)]['create'](_0x3efc65,_0xe9cd8d);},'init':function(_0x200582,_0x4781a8){const _0x1aa436=_0x4c50cf;this['_cipher']=_0x200582,this[_0x1aa436(0x3e5)]=_0x4781a8;}}),_0x5eade8=_0x1c822a[_0x4c50cf(0x292)]=(function(){const _0x4d0675=_0x4c50cf;var _0x5ae075=_0x58283f['extend']();_0x5ae075[_0x4d0675(0x499)]=_0x5ae075['extend']({'processBlock':function(_0x33cf52,_0x29e841){const _0xd3fb05=_0x4d0675;var _0xe6a202=this[_0xd3fb05(0x37c)],_0x288e49=_0xe6a202[_0xd3fb05(0x479)];_0x2b8099[_0xd3fb05(0x434)](this,_0x33cf52,_0x29e841,_0x288e49),_0xe6a202[_0xd3fb05(0x17e)](_0x33cf52,_0x29e841),this['_prevBlock']=_0x33cf52[_0xd3fb05(0x224)](_0x29e841,_0x29e841+_0x288e49);}}),_0x5ae075['Decryptor']=_0x5ae075[_0x4d0675(0x401)]({'processBlock':function(_0x1f9918,_0x12772c){const _0x1e0fa0=_0x4d0675;var _0x2af838=this['_cipher'],_0x485402=_0x2af838['blockSize'],_0x4f980b=_0x1f9918[_0x1e0fa0(0x224)](_0x12772c,_0x12772c+_0x485402);_0x2af838[_0x1e0fa0(0x530)](_0x1f9918,_0x12772c),_0x2b8099[_0x1e0fa0(0x434)](this,_0x1f9918,_0x12772c,_0x485402),this['_prevBlock']=_0x4f980b;}});function _0x2b8099(_0x404865,_0x830541,_0xf46fda){const _0x5954d7=_0x4d0675;var _0x224862,_0x4d5de6=this[_0x5954d7(0x3e5)];_0x4d5de6?(_0x224862=_0x4d5de6,this[_0x5954d7(0x3e5)]=_0x1bcbf5):_0x224862=this['_prevBlock'];for(var _0xb9b24b=0x0;_0xb9b24b<_0xf46fda;_0xb9b24b++)_0x404865[_0x830541+_0xb9b24b]^=_0x224862[_0xb9b24b];}return _0x5ae075;}()),_0x5034ff=_0x246446[_0x4c50cf(0x16c)]={},_0x130480=_0x5034ff[_0x4c50cf(0x53b)]={'pad':function(_0x4527a9,_0x383d10){const _0x5f33e1=_0x4c50cf;for(var _0x374c36=_0x383d10*0x4,_0x1ea21d=_0x374c36-_0x4527a9[_0x5f33e1(0x179)]%_0x374c36,_0x5a140b=_0x1ea21d<<0x18|_0x1ea21d<<0x10|_0x1ea21d<<0x8|_0x1ea21d,_0x95ecce=[],_0x11acec=0x0;_0x11acec<_0x1ea21d;_0x11acec+=0x4)_0x95ecce[_0x5f33e1(0x42f)](_0x5a140b);var _0x483eee=_0x8b827c['create'](_0x95ecce,_0x1ea21d);_0x4527a9['concat'](_0x483eee);},'unpad':function(_0x26ca3c){const _0x213362=_0x4c50cf;var _0x522b63=_0x26ca3c[_0x213362(0x27d)][_0x26ca3c[_0x213362(0x179)]-0x1>>>0x2]&0xff;_0x26ca3c['sigBytes']-=_0x522b63;}};_0x4df57e['BlockCipher']=_0x45307b[_0x4c50cf(0x401)]({'cfg':_0x45307b[_0x4c50cf(0x343)][_0x4c50cf(0x401)]({'mode':_0x5eade8,'padding':_0x130480}),'reset':function(){const _0x2b2c92=_0x4c50cf;var _0x73c0a6;_0x45307b[_0x2b2c92(0x4c1)][_0x2b2c92(0x434)](this);var _0xa3a107=this[_0x2b2c92(0x343)],_0x527dc2=_0xa3a107['iv'],_0x49fa4f=_0xa3a107[_0x2b2c92(0x213)];this['_xformMode']==this[_0x2b2c92(0x524)]?_0x73c0a6=_0x49fa4f[_0x2b2c92(0x4d3)]:(_0x73c0a6=_0x49fa4f[_0x2b2c92(0x40f)],this[_0x2b2c92(0x47d)]=0x1),this[_0x2b2c92(0x556)]&&this[_0x2b2c92(0x556)]['__creator']==_0x73c0a6?this[_0x2b2c92(0x556)][_0x2b2c92(0x1d1)](this,_0x527dc2&&_0x527dc2['words']):(this[_0x2b2c92(0x556)]=_0x73c0a6['call'](_0x49fa4f,this,_0x527dc2&&_0x527dc2['words']),this[_0x2b2c92(0x556)][_0x2b2c92(0x25a)]=_0x73c0a6);},'_doProcessBlock':function(_0x179b6f,_0x53efd9){this['_mode']['processBlock'](_0x179b6f,_0x53efd9);},'_doFinalize':function(){const _0xf02d5b=_0x4c50cf;var _0x17cf8a,_0x56c95d=this[_0xf02d5b(0x343)][_0xf02d5b(0x2ec)];return this[_0xf02d5b(0x1c1)]==this[_0xf02d5b(0x524)]?(_0x56c95d[_0xf02d5b(0x16c)](this[_0xf02d5b(0x2b5)],this['blockSize']),_0x17cf8a=this[_0xf02d5b(0x469)](!0x0)):(_0x17cf8a=this['_process'](!0x0),_0x56c95d[_0xf02d5b(0x27f)](_0x17cf8a)),_0x17cf8a;},'blockSize':0x80/0x20});var _0x30e46b=_0x4df57e[_0x4c50cf(0x36a)]=_0x5f1494['extend']({'init':function(_0x550ce7){const _0x3a005a=_0x4c50cf;this[_0x3a005a(0x1ad)](_0x550ce7);},'toString':function(_0x20a70e){return(_0x20a70e||this['formatter'])['stringify'](this);}}),_0x3d24ac=_0x246446[_0x4c50cf(0x4cf)]={},_0x2fe3c3=_0x3d24ac[_0x4c50cf(0x1f9)]={'stringify':function(_0x57300a){const _0x3b66cf=_0x4c50cf;var _0x2f3bdb,_0x525126=_0x57300a[_0x3b66cf(0x446)],_0x5fe8f6=_0x57300a['salt'];return _0x5fe8f6?_0x2f3bdb=_0x8b827c[_0x3b66cf(0x2b2)]([0x53616c74,0x65645f5f])[_0x3b66cf(0x382)](_0x5fe8f6)[_0x3b66cf(0x382)](_0x525126):_0x2f3bdb=_0x525126,_0x2f3bdb[_0x3b66cf(0x34c)](_0x7d9dd8);},'parse':function(_0x5bd980){const _0x110cdc=_0x4c50cf;var _0x4b648d,_0x2a92fc=_0x7d9dd8['parse'](_0x5bd980),_0x3495b4=_0x2a92fc[_0x110cdc(0x27d)];return _0x3495b4[0x0]==0x53616c74&&_0x3495b4[0x1]==0x65645f5f&&(_0x4b648d=_0x8b827c[_0x110cdc(0x2b2)](_0x3495b4[_0x110cdc(0x224)](0x2,0x4)),_0x3495b4[_0x110cdc(0x146)](0x0,0x4),_0x2a92fc['sigBytes']-=0x10),_0x30e46b[_0x110cdc(0x2b2)]({'ciphertext':_0x2a92fc,'salt':_0x4b648d});}},_0x2d72b9=_0x4df57e[_0x4c50cf(0x2dd)]=_0x5f1494[_0x4c50cf(0x401)]({'cfg':_0x5f1494['extend']({'format':_0x2fe3c3}),'encrypt':function(_0xb724c3,_0x3c57ae,_0x42993b,_0x4e1fb8){const _0x4784e4=_0x4c50cf;_0x4e1fb8=this[_0x4784e4(0x343)][_0x4784e4(0x401)](_0x4e1fb8);var _0x5b76a1=_0xb724c3[_0x4784e4(0x4d3)](_0x42993b,_0x4e1fb8),_0x1e2d7b=_0x5b76a1[_0x4784e4(0x4dc)](_0x3c57ae),_0x327684=_0x5b76a1[_0x4784e4(0x343)];return _0x30e46b[_0x4784e4(0x2b2)]({'ciphertext':_0x1e2d7b,'key':_0x42993b,'iv':_0x327684['iv'],'algorithm':_0xb724c3,'mode':_0x327684['mode'],'padding':_0x327684[_0x4784e4(0x2ec)],'blockSize':_0xb724c3['blockSize'],'formatter':_0x4e1fb8['format']});},'decrypt':function(_0x4bbac0,_0x1fe33c,_0x277443,_0x107002){const _0x2569ad=_0x4c50cf;_0x107002=this[_0x2569ad(0x343)][_0x2569ad(0x401)](_0x107002),_0x1fe33c=this['_parse'](_0x1fe33c,_0x107002['format']);var _0x2a476c=_0x4bbac0[_0x2569ad(0x40f)](_0x277443,_0x107002)[_0x2569ad(0x4dc)](_0x1fe33c['ciphertext']);return _0x2a476c;},'_parse':function(_0x29f27d,_0x24258e){return typeof _0x29f27d=='string'?_0x24258e['parse'](_0x29f27d,this):_0x29f27d;}}),_0x4dcf56=_0x246446[_0x4c50cf(0x234)]={},_0x17f5eb=_0x4dcf56[_0x4c50cf(0x1f9)]={'execute':function(_0x19f353,_0x378b16,_0x4967db,_0x142f6a,_0x36f5ce){const _0x281e5a=_0x4c50cf;if(_0x142f6a||(_0x142f6a=_0x8b827c[_0x281e5a(0x336)](0x40/0x8)),_0x36f5ce)var _0x400521=_0x2f8238[_0x281e5a(0x2b2)]({'keySize':_0x378b16+_0x4967db,'hasher':_0x36f5ce})[_0x281e5a(0x51c)](_0x19f353,_0x142f6a);else var _0x400521=_0x2f8238[_0x281e5a(0x2b2)]({'keySize':_0x378b16+_0x4967db})[_0x281e5a(0x51c)](_0x19f353,_0x142f6a);var _0xea64e8=_0x8b827c[_0x281e5a(0x2b2)](_0x400521[_0x281e5a(0x27d)][_0x281e5a(0x224)](_0x378b16),_0x4967db*0x4);return _0x400521[_0x281e5a(0x179)]=_0x378b16*0x4,_0x30e46b[_0x281e5a(0x2b2)]({'key':_0x400521,'iv':_0xea64e8,'salt':_0x142f6a});}},_0x3e9bd8=_0x4df57e[_0x4c50cf(0x4d6)]=_0x2d72b9[_0x4c50cf(0x401)]({'cfg':_0x2d72b9[_0x4c50cf(0x343)]['extend']({'kdf':_0x17f5eb}),'encrypt':function(_0x5e325f,_0x3e9d2,_0x47b1b3,_0x1c6fa0){const _0x5d2491=_0x4c50cf;_0x1c6fa0=this[_0x5d2491(0x343)][_0x5d2491(0x401)](_0x1c6fa0);var _0x13435a=_0x1c6fa0[_0x5d2491(0x234)][_0x5d2491(0x2b9)](_0x47b1b3,_0x5e325f['keySize'],_0x5e325f[_0x5d2491(0x39d)],_0x1c6fa0['salt'],_0x1c6fa0[_0x5d2491(0x3a6)]);_0x1c6fa0['iv']=_0x13435a['iv'];var _0x106215=_0x2d72b9[_0x5d2491(0x297)][_0x5d2491(0x434)](this,_0x5e325f,_0x3e9d2,_0x13435a['key'],_0x1c6fa0);return _0x106215[_0x5d2491(0x1ad)](_0x13435a),_0x106215;},'decrypt':function(_0x330ee9,_0x137f7b,_0x415785,_0x419a36){const _0x4f472f=_0x4c50cf;_0x419a36=this[_0x4f472f(0x343)]['extend'](_0x419a36),_0x137f7b=this[_0x4f472f(0x275)](_0x137f7b,_0x419a36[_0x4f472f(0x4cf)]);var _0x27afac=_0x419a36[_0x4f472f(0x234)]['execute'](_0x415785,_0x330ee9[_0x4f472f(0x2d7)],_0x330ee9['ivSize'],_0x137f7b[_0x4f472f(0x1ea)],_0x419a36[_0x4f472f(0x3a6)]);_0x419a36['iv']=_0x27afac['iv'];var _0x8cf897=_0x2d72b9[_0x4f472f(0x40a)]['call'](this,_0x330ee9,_0x137f7b,_0x27afac['key'],_0x419a36);return _0x8cf897;}});}();}));}(Jt)),Jt[_0x4a141f(0x451)];}(function(_0x5a2708,_0x35f42d){(function(_0x1c4948,_0x500e0b,_0x4cbb61){const _0x3c3008=_0x8857;_0x5a2708[_0x3c3008(0x451)]=_0x500e0b(ue(),qi(),ec(),Xi(),Ji());}(Z,function(_0x8ddfae){return(function(){const _0x4ef7a2=_0x8857;var _0x5b9c97=_0x8ddfae,_0x98cb7f=_0x5b9c97[_0x4ef7a2(0x1b4)],_0x20b5a0=_0x98cb7f[_0x4ef7a2(0x238)],_0x1fa414=_0x5b9c97[_0x4ef7a2(0x3a4)],_0x3c17ee=[],_0xbc9f8e=[],_0x4c46cc=[],_0x459f46=[],_0x21355a=[],_0x578c09=[],_0x4acb65=[],_0x5b9401=[],_0x3489dc=[],_0x3a4766=[];(function(){for(var _0x3e5c7a=[],_0x2a196b=0x0;_0x2a196b<0x100;_0x2a196b++)_0x2a196b<0x80?_0x3e5c7a[_0x2a196b]=_0x2a196b<<0x1:_0x3e5c7a[_0x2a196b]=_0x2a196b<<0x1^0x11b;for(var _0xc6fe58=0x0,_0x104c89=0x0,_0x2a196b=0x0;_0x2a196b<0x100;_0x2a196b++){var _0x20e750=_0x104c89^_0x104c89<<0x1^_0x104c89<<0x2^_0x104c89<<0x3^_0x104c89<<0x4;_0x20e750=_0x20e750>>>0x8^_0x20e750&0xff^0x63,_0x3c17ee[_0xc6fe58]=_0x20e750,_0xbc9f8e[_0x20e750]=_0xc6fe58;var _0x15664f=_0x3e5c7a[_0xc6fe58],_0x5acd78=_0x3e5c7a[_0x15664f],_0x1be3da=_0x3e5c7a[_0x5acd78],_0x19b0f4=_0x3e5c7a[_0x20e750]*0x101^_0x20e750*0x1010100;_0x4c46cc[_0xc6fe58]=_0x19b0f4<<0x18|_0x19b0f4>>>0x8,_0x459f46[_0xc6fe58]=_0x19b0f4<<0x10|_0x19b0f4>>>0x10,_0x21355a[_0xc6fe58]=_0x19b0f4<<0x8|_0x19b0f4>>>0x18,_0x578c09[_0xc6fe58]=_0x19b0f4;var _0x19b0f4=_0x1be3da*0x1010101^_0x5acd78*0x10001^_0x15664f*0x101^_0xc6fe58*0x1010100;_0x4acb65[_0x20e750]=_0x19b0f4<<0x18|_0x19b0f4>>>0x8,_0x5b9401[_0x20e750]=_0x19b0f4<<0x10|_0x19b0f4>>>0x10,_0x3489dc[_0x20e750]=_0x19b0f4<<0x8|_0x19b0f4>>>0x18,_0x3a4766[_0x20e750]=_0x19b0f4,_0xc6fe58?(_0xc6fe58=_0x15664f^_0x3e5c7a[_0x3e5c7a[_0x3e5c7a[_0x1be3da^_0x15664f]]],_0x104c89^=_0x3e5c7a[_0x3e5c7a[_0x104c89]]):_0xc6fe58=_0x104c89=0x1;}}());var _0x369be0=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x51383a=_0x1fa414['AES']=_0x20b5a0['extend']({'_doReset':function(){const _0x32d7f9=_0x4ef7a2;var _0x4cdab3;if(!(this['_nRounds']&&this[_0x32d7f9(0x1eb)]===this[_0x32d7f9(0x47b)])){for(var _0x47cd4f=this['_keyPriorReset']=this['_key'],_0xdf2a89=_0x47cd4f[_0x32d7f9(0x27d)],_0x2a35bd=_0x47cd4f[_0x32d7f9(0x179)]/0x4,_0x2eea11=this[_0x32d7f9(0x151)]=_0x2a35bd+0x6,_0x49f0b9=(_0x2eea11+0x1)*0x4,_0x5b0f53=this[_0x32d7f9(0x371)]=[],_0x24de2a=0x0;_0x24de2a<_0x49f0b9;_0x24de2a++)_0x24de2a<_0x2a35bd?_0x5b0f53[_0x24de2a]=_0xdf2a89[_0x24de2a]:(_0x4cdab3=_0x5b0f53[_0x24de2a-0x1],_0x24de2a%_0x2a35bd?_0x2a35bd>0x6&&_0x24de2a%_0x2a35bd==0x4&&(_0x4cdab3=_0x3c17ee[_0x4cdab3>>>0x18]<<0x18|_0x3c17ee[_0x4cdab3>>>0x10&0xff]<<0x10|_0x3c17ee[_0x4cdab3>>>0x8&0xff]<<0x8|_0x3c17ee[_0x4cdab3&0xff]):(_0x4cdab3=_0x4cdab3<<0x8|_0x4cdab3>>>0x18,_0x4cdab3=_0x3c17ee[_0x4cdab3>>>0x18]<<0x18|_0x3c17ee[_0x4cdab3>>>0x10&0xff]<<0x10|_0x3c17ee[_0x4cdab3>>>0x8&0xff]<<0x8|_0x3c17ee[_0x4cdab3&0xff],_0x4cdab3^=_0x369be0[_0x24de2a/_0x2a35bd|0x0]<<0x18),_0x5b0f53[_0x24de2a]=_0x5b0f53[_0x24de2a-_0x2a35bd]^_0x4cdab3);for(var _0x251cad=this[_0x32d7f9(0x29f)]=[],_0x2f54d4=0x0;_0x2f54d4<_0x49f0b9;_0x2f54d4++){var _0x24de2a=_0x49f0b9-_0x2f54d4;if(_0x2f54d4%0x4)var _0x4cdab3=_0x5b0f53[_0x24de2a];else var _0x4cdab3=_0x5b0f53[_0x24de2a-0x4];_0x2f54d4<0x4||_0x24de2a<=0x4?_0x251cad[_0x2f54d4]=_0x4cdab3:_0x251cad[_0x2f54d4]=_0x4acb65[_0x3c17ee[_0x4cdab3>>>0x18]]^_0x5b9401[_0x3c17ee[_0x4cdab3>>>0x10&0xff]]^_0x3489dc[_0x3c17ee[_0x4cdab3>>>0x8&0xff]]^_0x3a4766[_0x3c17ee[_0x4cdab3&0xff]];}}},'encryptBlock':function(_0x3160e3,_0x579c21){const _0x29a279=_0x4ef7a2;this[_0x29a279(0x127)](_0x3160e3,_0x579c21,this['_keySchedule'],_0x4c46cc,_0x459f46,_0x21355a,_0x578c09,_0x3c17ee);},'decryptBlock':function(_0x27dfe7,_0xdc32a6){var _0x4572b8=_0x27dfe7[_0xdc32a6+0x1];_0x27dfe7[_0xdc32a6+0x1]=_0x27dfe7[_0xdc32a6+0x3],_0x27dfe7[_0xdc32a6+0x3]=_0x4572b8,this['_doCryptBlock'](_0x27dfe7,_0xdc32a6,this['_invKeySchedule'],_0x4acb65,_0x5b9401,_0x3489dc,_0x3a4766,_0xbc9f8e);var _0x4572b8=_0x27dfe7[_0xdc32a6+0x1];_0x27dfe7[_0xdc32a6+0x1]=_0x27dfe7[_0xdc32a6+0x3],_0x27dfe7[_0xdc32a6+0x3]=_0x4572b8;},'_doCryptBlock':function(_0x16b294,_0x5ec33c,_0x11a5d3,_0x529a3d,_0x5718d1,_0x5b7fd7,_0x35e988,_0x2de7b6){const _0x55531a=_0x4ef7a2;for(var _0x3510e0=this[_0x55531a(0x151)],_0x23d4cf=_0x16b294[_0x5ec33c]^_0x11a5d3[0x0],_0x285748=_0x16b294[_0x5ec33c+0x1]^_0x11a5d3[0x1],_0x34543c=_0x16b294[_0x5ec33c+0x2]^_0x11a5d3[0x2],_0x1d76af=_0x16b294[_0x5ec33c+0x3]^_0x11a5d3[0x3],_0x6772bb=0x4,_0x78b7f9=0x1;_0x78b7f9<_0x3510e0;_0x78b7f9++){var _0x63ebc5=_0x529a3d[_0x23d4cf>>>0x18]^_0x5718d1[_0x285748>>>0x10&0xff]^_0x5b7fd7[_0x34543c>>>0x8&0xff]^_0x35e988[_0x1d76af&0xff]^_0x11a5d3[_0x6772bb++],_0x48a6d2=_0x529a3d[_0x285748>>>0x18]^_0x5718d1[_0x34543c>>>0x10&0xff]^_0x5b7fd7[_0x1d76af>>>0x8&0xff]^_0x35e988[_0x23d4cf&0xff]^_0x11a5d3[_0x6772bb++],_0x4fde0e=_0x529a3d[_0x34543c>>>0x18]^_0x5718d1[_0x1d76af>>>0x10&0xff]^_0x5b7fd7[_0x23d4cf>>>0x8&0xff]^_0x35e988[_0x285748&0xff]^_0x11a5d3[_0x6772bb++],_0x4202d6=_0x529a3d[_0x1d76af>>>0x18]^_0x5718d1[_0x23d4cf>>>0x10&0xff]^_0x5b7fd7[_0x285748>>>0x8&0xff]^_0x35e988[_0x34543c&0xff]^_0x11a5d3[_0x6772bb++];_0x23d4cf=_0x63ebc5,_0x285748=_0x48a6d2,_0x34543c=_0x4fde0e,_0x1d76af=_0x4202d6;}var _0x63ebc5=(_0x2de7b6[_0x23d4cf>>>0x18]<<0x18|_0x2de7b6[_0x285748>>>0x10&0xff]<<0x10|_0x2de7b6[_0x34543c>>>0x8&0xff]<<0x8|_0x2de7b6[_0x1d76af&0xff])^_0x11a5d3[_0x6772bb++],_0x48a6d2=(_0x2de7b6[_0x285748>>>0x18]<<0x18|_0x2de7b6[_0x34543c>>>0x10&0xff]<<0x10|_0x2de7b6[_0x1d76af>>>0x8&0xff]<<0x8|_0x2de7b6[_0x23d4cf&0xff])^_0x11a5d3[_0x6772bb++],_0x4fde0e=(_0x2de7b6[_0x34543c>>>0x18]<<0x18|_0x2de7b6[_0x1d76af>>>0x10&0xff]<<0x10|_0x2de7b6[_0x23d4cf>>>0x8&0xff]<<0x8|_0x2de7b6[_0x285748&0xff])^_0x11a5d3[_0x6772bb++],_0x4202d6=(_0x2de7b6[_0x1d76af>>>0x18]<<0x18|_0x2de7b6[_0x23d4cf>>>0x10&0xff]<<0x10|_0x2de7b6[_0x285748>>>0x8&0xff]<<0x8|_0x2de7b6[_0x34543c&0xff])^_0x11a5d3[_0x6772bb++];_0x16b294[_0x5ec33c]=_0x63ebc5,_0x16b294[_0x5ec33c+0x1]=_0x48a6d2,_0x16b294[_0x5ec33c+0x2]=_0x4fde0e,_0x16b294[_0x5ec33c+0x3]=_0x4202d6;},'keySize':0x100/0x20});_0x5b9c97[_0x4ef7a2(0x416)]=_0x20b5a0['_createHelper'](_0x51383a);}()),_0x8ddfae['AES'];}));}(zi));function _0x5ebb(){const _0x51a0c9=['catch','_imageIoService','NEW_CHANGESETS','stopTime','image/jpg','onRemoteRetry','onTransformState','14FfxtBj','_init','compose','source','TOO_MANY_REQUESTS','ciphertext','charCodeAt','synced','_revisionService','asObservable','_transformPreviousActiveRange','href','_docClipboardService','purple300','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_shapes','exports','_textBubble','getSheetBlock','originalMeta','generateRandomId','getTypeOfUnitDisposed$','resize','entries','method','_onCursorDelete','roomInfos','_append','revision','ranges','LIVESHARE_FETCH_OPERATIONS','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ACTIVE_UNIT_EVENT_CHANNEL','YUUMI_URL_COL_OUT_OF_RANGE','idSuffix','jsx','_renderManagerService','_doFinalize','some','_listenToOnlineEvent','_process','_onJoinRoomEvent','LIVESHARE_REQUEST_HOST','registerHTTPInterceptor','FromArray','_onRecvEvent','skeleton','crypto','...','_hover','onPointerLeave$','ERROR_EXCEED_SIZE','_createInitialState','UNRECOGNIZED','ceil','/allowed','blockSize','MUTATION','_key','/resources','_minBufferSize','colorChannel1','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_reverseMap','_collaborationPaused','_drawAnchor','_setupSubUnitSync','_joinRoom','sid','_clearRedo','_memberService','_toggleOnline','UNIVER_UNKNOWN','use','uni.network.url-service','onload','_throwTelemetryCollaborationNewChangeset','list','_hash','_retryCount','_hasher','off-line-single_clip0_910_343','getCellPositionByOffset','StreamCipher','$super','_drawRectRange','OnLineSingle','ERROR_IMAGE','Encryptor','_changesetSessionId','INGEST','snapshotServerUrl','buffer','responseType','_beforeCloseService','_notificationService','/collaborator','origin','hostname','_onRemoteChangeset','_startTelemetryCollaborationNewChangeset','_localStorageService','session','_substituteUndoStack','path','encode','image/png','dispose$','8sAKumr','getMergeData','_range','[SyncedState]:\x20received\x20rejection.','SUCCUSS','updateMember','substring','none','_unitStatus','_hideTimer','getCurrentUnitForType','currentSkeleton$','getViewport','code','_onRemoteRetry','removeMember','_clearLocalCache','error$','permission.content','deleteCollaborator','reset','FAIL','reconnect','reject','_clearCollaborationTimeoutTimer','_scheduleCollaborationTimeoutTimer','_color','getParam','UPDATE_CURSOR','repeat','[CollaborationUndoRedoService]','[CollaborationSessionService]:\x20socket\x20error','values','_initStatusComponent','format','disposeWithMe','_initStatusListener','OFFLINE','createEncryptor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_startDocCollabCursor','PasswordBasedCipher','_submitChangeset','connection\x20error','UNIVER_PROJECT','defineProperty','toggleOnline','finalize','collaboration-session-retry','min','_onConflict','USERS_ENTER','location','gold400','JOIN','_redoStacks','_cachedData','evenodd','loadOfflineData','TEXT','Error','roomMembers','resend','_onMessage','getUnhiddenWorksheets','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','url','session.connection-failed','_saveCache','1311168GWZgvO','memberID','socketService','disposeUnit','_sendHeartbeat','black','Hex','_showConflictNotification','then','_getCtorByUniverType','_socketService','_telemetryInfo','_resendTimer','with','APPLY_REJECT','delete','NOT_FOUND','UUID','InsertRangeMoveRightCommandId','verdancy600','url(#on-line-single_clip0_910_349)','AWAITING','_fetchMissChangesets','CHANGESET_ACK','for','range','_tryEnsureSocket','backgroundColor','_getSheetObject','getMember','clipPath','getUnitOnRev','_substituteRedoStack','pending','getCurrentSelections','SHOULD_CLOSE_CONN','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','attrs','OTHER_CLIENTS_EDITING','has','mutations','__Key__','compute','newValue','loginUrlKey','getImageSourceCache','fromCollab','_loadSheet','roomMembers$','_ensureSubject','_ENC_XFORM_MODE','14eGdrlO','image/jpeg','_scheduleTimestamp','_context','Unknown\x20user','unitID','routeKey','getInterceptPoints','transformStack\x20failed!','univer-online','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','decryptBlock','_HTTPService','_tryReconnect','assign','isPermissionRej','onTransformIME','getCollabCursors$','_state$','LICENSE_DISTRO_REJECTED','resolve','[CollaborationEntity]','Pkcs7','xlink:href','get','session.collaboration-timeout','offline','/unit/','HELLO','newCsEvent','COMPRESS_MUTATION_APPLY','fillStyle','body','EvpKDF','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','setActiveRange','findNodePositionByCharIndex','status$','_updateSubUnitFromURLParams','_themeService','_createHmacHelper','_clearTimeoutTimer','objectType','_id','arc','_map','getUniverSheetInstance','_sessions','setParam','_mode','_createInitialStateImpl','registerRenderModule','_labelPosition','_updateLocalCache','_doCryptBlock','onReady','fromCharCode','Hasher','_onLocalMutation','wsSessionTicketUrl','CONFLICT','icon','assignAColorForMemberID','json','ticket','onRemoteRej','exhaustSavingTask','_imageSourceCache','randomBytes','_clearOtherTimers','RETRY_CONNECTING_MAX_COUNT','unitId','_setupBeforeClosingHandler','collabStatus.notCollab','Univer','collabCursorState$','red300','awaiting','univer-online-status','split','_executeRemoteChangeset','_uiPartsService','commentUpdate$','addObject','PERMISSION_REJ','splice','_drawTextRange','_updateStatus','listCollaborators','ref','_iKey','history','toLowerCase','BufferedBlockAlgorithm','_checkMissing','duration','_nRounds','_rescheduleHeartbeat','collabSubmitChangesetUrl','_initCommandExecutedListener','transformChangesets','collaborators','set','parse','_anchor','_refreshCollabCursors','jsxs','onlineStatusIcon','collab-client.tooltip.reconnect','prototype','_collaborationSessionService','_remoteChangesetQueue','/new_changes','_queuedRemoteChangesets','_transformIMECache','post','_initEventListeners','find','_onRemoteRejected','_getUndoStack','_commentUpdate$','transformStateCache','_urlService','pad','_document','getRandomValues','restore','MD5','getSheetId','allowed','byteLength','getSkeleton','_http','onStateChange','_localCacheService','_getAnchorBounding','sigBytes','_send','_collabSessionService','getCurrentRevOfUnit','ReactCurrentOwner','encryptBlock','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateState','endColumn','listRoles','44BPFCfl','filter','subscribeEvent','file','refreshPermission','whenReady','conflict','updateOfflineData','LOGIN_URL_KEY','_docTransformIMECacheService','interceptor','map','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','transformRemoteChangeset','clear','_ws','default','doc.mutation.rich-text-editing','univer-pro.collaboration-client-socket-service','fetchThroughInterceptors','close$','getAncestorScale','trim','every','_unitID','JOINING','_socket','ONLINE','HmacSHA1','collaboration.single-unit.warning','HmacMD5','_awaitingChangeset','_transformUndoRedoStack','action','[CollaborationState]:\x20apply\x20error!','UNKNOWN_CODE','userID','SHA1','send','UNIVER_COLLABORATION_CLIENT_PLUGIN','COLLAB_SUBMIT_CHANGESET_URL','mixIn','_initCloseConn','_unlockTransition','roles','getStateCache','_handleJoinEvent','_assignedColors','lib','UNAUTHENTICATED','join','_getSignURL','#fff','authzUrl','_replaceFileID','onSendChangeset','univer-online-status-icon','update','enableSingleActiveInstanceLock','DeleteRangeMoveUpCommandId','_waitForHeartbeatResponse','_xformMode','setInterval','_change$','result','univerjs-icon\x20univerjs-icon-','sessionTicket','_onRefRangeChange','close','permissionRejEvent','visibilityState','getImage','_colorAssignService','_anchorDot','url(#$1','NOT_COLLAB','_startSheetCollabCursor','init','Error\x20on\x20receiving\x20event','_registerDependencies','row','onCommandExecuted','onRemoteChangeset','function','_retryConnectingTimer','[CollaborationSessionService]','capture','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','_stopTelemetryCollaborationNewChangeset','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','cmd','getTime','CHANGESET_REJ','transformByState','svg','indexOf','[UniverCollaborationClientPlugin]','_transformService','name','symbol','next','onCommentUpdate','salt','_keyPriorReset','_getUploadFileURL','getOwnPropertyDescriptor','_createSocketURL','localeService','SNAPSHOT_HAS_BEEN_REMOVED','labelPosition','getOwnPropertySymbols','_socketReady','_getMergeRange','CHANGESET_SHOULD_RETRY','submit\x20changeset\x20error!','executeCommand','_transformSelections','OpenSSL','_scheduleSaving','application/json','_roomMembers','1575065TnSWJT','_acknowledgedAwaitingChangeset','getItem','sessionStatus','onMissingChangesets','hovered','_onConnectionFailed','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_removeRoom','PERSON','closePath','UniverIcon','fetchMiss','loadSheet','updateCursorEvent','_session','stringify','_onRemoteACK','_members','ALREADY_EXISTS','_snapshotService','addEventListener','mode','\x20in\x20_schedule.','0\x200\x2017\x2016','onRendered','setWaitCount','&assign=','_heartbeatTimer','status','clone','ENSURE_SNAPSHOT_EXECUTION','APPLY_PERMISSION_DENIED','_scheduleClearOtherTimer','m2Prime','isEditing','defaultProps','_onCursorUpdate','unknown','slice','_getSendChangesetTimeout','RemoveColCommandId','_transformHistoryAndStateStack','WordArray','_syncEditingCollabCursorService','textRanges','image/bmp','_createHandler','awaitingChangeset','objectActions','APPLY_NON_SEQUENTIAL_REVISION','27qFYddT','HMAC','_backgroundColor','urlChange$','kdf','_draw','socket\x20close','socket\x20open.','BlockCipher','_docSkeleton','addObjects','onTransformRemoteChangesetByIMECache','MoveRangeCommandId','Warning','hidden','_getScale','workbook','column','conflict.content','_permissionService','getCollabEntity','YUUMI_SUBSCRIPTION_NOT_FOUND','fillText','setItem','createInstance','createCollaborator','_createHelper','toggleOffline','enableAuthServer','getRangePointData','InsertColCommandId','_updateLocalCursor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_render','NoPadding','getVpScrollXYInfoByPosToVp','selection','getRoom','_getCurrentRevision','unload','Decryptor','Latin1','__creator','_cursors','/object/','_cursorInfo$','onRemoteAck','/fetchmissing?from=','propertyIsEnumerable','rng','editingUnit','/universer-api/snapshot','_collabCursorController','appendMutation','objects','append','_candidateSocket','_onConnectionOpen','_httpService','_getAPIPrefix','target','width','_docStateChangeManagerService','_colorIndex','8898PPNKUY','_type','_clearUndo','_transformStack','getActiveRange','_parse','createSocket','session.room-full','SNAPSHOT_INVALID_SNAPSHOT','changesets','YUUMI_RATE_OVER_LIMIT','sheetId','_replayCachedMutations','words','string','unpad','onSyncEditingCollabCursor','_getRedoStack','_online','[PendingState]:\x20received\x20acknowledgement.','addClipboardHook','_docTransformStateCacheService','_removeClearOtherTimer','pauseCollaboration','_hovered','_handler','commentUpdateEvent','_schedule','open$','currentColor','height','lineTo','cursorInfo','769404vcSACI','CBC','_docSkeletonManagerService','APPLY_REVISION_CONFILICT','event$','_doReset','encrypt','RECV','_disabled','setUndoRedoMutationParamsCache','color','text','_initResize','hide','_invKeySchedule','_handleEvent','HttpExport','CONNECTOR_DATA_TOO_LARGE','_clearHeartbeatTimer','m1Prime','collaboration-client.offline-data-not-saved','_removeCollabCursors','_scheduleHeartbeat','headers','SYNCED','reqId','getUnitType','_socket$','onTransformSelections','c2Prime','LIVESHARE_TERMINATE','iterations','displayName','create','onlineStatusTitle','COLLAB_WEB_SOCKET_URL','_data','bottom','getResourcesRequest','[SyncedState]:\x20received\x20acknowledgement.','execute','socket$','hasOwnProperty','registerComponent','YUUMI_UNABLE_LOAD_URL','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getCurrent','COMMENT_UPDATE','_getSaveTimeout','APPLY_DUPLICATED','_collabCursorState$','apply','beginPath','_oKey','_compressMutationService','children','onTransformRemoteChangesetByStateCache','equals','enableOfflineEditing','_docSyncEditingCollabCursorService','measureText','all','on-line-single','div','size','onTransformChange$','reduce','triggerDblclick','complete','LOCAL_CACHE_INTERVAL','keySize','getConfig','LIVESHARE_OPERATION','_eventUnsubscribe','_shouldReportTelemetry','_isPermissionRej','SerializableCipher','CHANGESET_REVISION_CONFILICT','transformIMECache','saveChangeset','readInt32LE','COMPRESS_MUTATION_SEND','key','collabStatus.syncing','IDLE','liveShareNewHost','6294400EFruMT','SNAPSHOT_SERVER_URL_KEY','getUnitId','replaceState','_initMergeInterceptor','padding','_transitionLocked','debug','snapshot','pluginName','charAt','_changesetReqId','selections','_univerInstanceService','getFocusedUnit','_decreaseWaiting','_sender','actions','&source=','\x20to\x20','Utf8','COMPLETION_FINISHED','flatMap','_configService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','PSEUDO_FETCH_MISSING_RESULT','[OfflineState]:\x20received\x20acknowledgement.','type','includes','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_config','[OfflineState]:\x20received\x20rejection.','_disableEditing','_saveTaskMap','[FetchMissState]','?size=','_transformRemoteChangesetByIMECache','searchParams','_incrementRevisionNumber','enc','object','removeParam','startTime','failed\x20to\x20apply\x20missed\x20changesets!','HEARTBEAT','getDocRanges','/universer-api/oidc/authpage','_cursor','LICENSE_MAX_UNITS_EXCEEDED','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','top','reverse','SUBMIT_CHANGESET','override','getOffsetConfig','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','current','_applyRemoteChangeset','/block/','_name','_startCollaboration','UnitEmbedded','_getSessionTicket','_status$','/-/object/-/batch_allowed','_refRangeService','engine','_timeoutTimer','univer-pro.collaboration-client.single-active-unit-service','_docTransformSelectionsService','show','resourceIDs','transformMutation','_nDataBytes','_transformRemoteChangesetByStateCache','_createSocket','msCrypto','unsubscribe','_registerRenderDependencies','random','Base','translate(.97)','cursorInfo$','_selfUnitIDs','InsertRangeMoveDownCommandId','state','[PendingState]:\x20received\x20rejection.','currentTheme$','_snapshotServerService','_scene','UnitSnapshot','getWorkbookSelections','cfg','_socketMessageSubscription','POST','_singleActiveUnitService','_onOffline','FileId','syncEditingCollabCursor','_sessionStatus$','batchAllowed','toString','retryConnectingInterval','getActiveSheet','readAsDataURL','setAlpha','pushState','liveShareOperation','LEAVE','37971uOwcZA','drawWith','registerRefRange','fetch_missing','rev','_roomMembers$','_getAPIPrefixPath','transformMutationsWithChangeset','saveImage','disableLocalCache','collabStatus.fetchMiss','clearTimeout','round','_injector','_handleHover','change$','replaceDocRanges','abs','defs','UNIVER_SLIDE','collabStatus.synced','dispose','CipherParams','DeleteRangeMoveLeftCommandId','_collaborationController','updatePermissionPoint','moveTo','Base64','isArray','_keySchedule','UNIVER_SHEET','on-line-single_clip0_910_349','PERMISSION_DENIED','onMouseMove','AWAITING_WITH_PENDING','PENDING','pipe','{fileID}','fetchMissingChangesets','/universer-api/file/{fileID}/sign-url','_cipher','telemetry\x20info\x20is\x20not\x20initialized','registerOnClose','image/gif','updateCollaborator','JOIN_ROOM_NOT_ALLOWED','concat','getValue','_messageService','getDeserializedSheetBlock','People','getCollabEntity$','defIds','_transformStateCache','_handleLeaveEvent','c1Prime','sessionStatus$','getSheetBySheetId','OffLineSingle','getTypeOfUnitAdded$','data','collabStatus.conflict','sheets','UNIVER_DOC','_toggleOffline','_listenToOfflineEvent','_sendingTimer','MSG_FOR_ERROR','_getSnapshotAPIPrefix','HEADER_MENU','_entityInit$','JOIN_ROOM_FULL','awaiting_with_pending','ivSize','transformSelections','subscribe','_sheetTransformSelectionsService','session.will-retry','_sheetSkeletonManagerService','AUTHZ_URL_KEY','algo','requireSession','hasher','tag','_state','_commandService','LIVESHARE_NEW_HOST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_telemetryService','bind','message$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','subUnitId','floor','_DEC_XFORM_MODE','className','_initUnitPermissionChange','Could\x20not\x20dynamically\x20require\x20\x22','baseRev','visibilitychange','max','setTimeout','objectID','Fragment','_cursorShapes','toRgbString','length','setCurrentUser','online','_sendHeartbeatTimer','_updateCollabCursors','eventID','setShowComponents','LICENSE_EXPORT_SIZE_EXCEEDED','downloadEndpointUrl','_initRequestHeader','byteOffset','_resendTimeout','now','FETCH_MISSING','_undoStacks','startsWith','ws://127.0.0.1:8000/universer-api/comb/connect','replace','_clearScheduledTask','forEach','_userManagerService','_lastPointer','redoState','getRenderById','registerBeforeClose','2279964WJHiDi','unshift','fillRule','incrementRevOfUnit','subject','_transformUndoredo','from','[DataLoaderController]','INTERNAL_ERROR','NO_OTHER_CLIENTS_EDITING','getRelativeToViewportCoord','SNAPSHOT_URL_KEY','loadDoc','_pendingMutations','_iv','_updateURLWithCurrentState','save','/role','M0\x200H16V16H0z','_syncEditingCollabCursor','SEND_CHANGESET_TIMEOUT','_onUserLeave','getUnitStatus$','_unitOnClients','_localeService','onStarting','transformUndoRedo','_waitCount','_collaborationTimeoutTimer','activeSheet$','react.element','docStateChange$','getUndoRedoMutationParamsCache','getMemberID','isActive','setConfig','url(#off-line-single_clip0_910_343)','__esModule','USERS_LEAVE','randomUUID','requestParams','leaveEvent','extend','1em','params','&to=','csRejEvent','startColumn','RemoveRowCommandId','_commentService','fill','decrypt','permission.title','HttpImport','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_resendWithTimeout','createDecryptor','/universer-api/user/session-ticket','_event$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getCurrentUser','editing\x20status\x20changed\x20to','_getLoginPath','AES','BlockCipherMode','onMissedChangesetFetched','focused$','UNKNOWN_CMD','subunit','_entities','popstate','error','undoState','_initDependencies','onlyLocal','RECT','state$','Cipher','_undoRedoService','_lockTransition','[CollaborationSession]','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','deepClone','_logService','_onFetchMissResult','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','clamp','setShapeProps','push','getAllMembers','add','/universer-api/authz','UNDEFINED','call','/-/object/list','_onUserJoin','copyFileMeta','\x20-\x20','csShouldRetryEvent'];_0x5ebb=function(){return _0x51a0c9;};return _0x5ebb();}var ic=zi['exports'];const rc=at(ic);var nc=qi();const ci=at(nc);var Zi={'exports':{}};(function(_0x389e71,_0x343ba6){(function(_0x1dd67b,_0x4a8c0c){const _0x4b8a40=_0x8857;_0x389e71[_0x4b8a40(0x451)]=_0x4a8c0c(ue());}(Z,function(_0x5857d1){const _0x3a4b4d=_0x8857;return _0x5857d1[_0x3a4b4d(0x30e)]['Utf8'];}));}(Zi));var oc=Zi[_0x38775b(0x451)];const ac=at(oc);var Qi={'exports':{}};(function(_0x3d3309,_0xd62ac7){(function(_0x11e502,_0x5943b2){const _0x28ce70=_0x8857;_0x3d3309[_0x28ce70(0x451)]=_0x5943b2(ue());}(Z,function(_0x25f215){const _0x310be2=_0x8857;return(function(){const _0x2f70ef=_0x8857;if(typeof ArrayBuffer=='function'){var _0x2cfbb4=_0x25f215,_0x2e7ad7=_0x2cfbb4[_0x2f70ef(0x1b4)],_0x37d669=_0x2e7ad7[_0x2f70ef(0x228)],_0x134c01=_0x37d669[_0x2f70ef(0x1d1)],_0x158338=_0x37d669['init']=function(_0xf9a46d){const _0x5c21ba=_0x2f70ef;if(_0xf9a46d instanceof ArrayBuffer&&(_0xf9a46d=new Uint8Array(_0xf9a46d)),(_0xf9a46d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf9a46d instanceof Uint8ClampedArray||_0xf9a46d instanceof Int16Array||_0xf9a46d instanceof Uint16Array||_0xf9a46d instanceof Int32Array||_0xf9a46d instanceof Uint32Array||_0xf9a46d instanceof Float32Array||_0xf9a46d instanceof Float64Array)&&(_0xf9a46d=new Uint8Array(_0xf9a46d[_0x5c21ba(0x49d)],_0xf9a46d[_0x5c21ba(0x3c8)],_0xf9a46d[_0x5c21ba(0x173)])),_0xf9a46d instanceof Uint8Array){for(var _0x11bcf5=_0xf9a46d[_0x5c21ba(0x173)],_0x43b139=[],_0x38d32a=0x0;_0x38d32a<_0x11bcf5;_0x38d32a++)_0x43b139[_0x38d32a>>>0x2]|=_0xf9a46d[_0x38d32a]<<0x18-_0x38d32a%0x4*0x8;_0x134c01[_0x5c21ba(0x434)](this,_0x43b139,_0x11bcf5);}else _0x134c01[_0x5c21ba(0x2c4)](this,arguments);};_0x158338[_0x2f70ef(0x15e)]=_0x37d669;}}()),_0x25f215[_0x310be2(0x1b4)][_0x310be2(0x228)];}));}(Qi));var cc=Qi[_0x38775b(0x451)];const hc=at(cc);var er={'exports':{}};(function(_0x525859,_0x7cc5e5){(function(_0x2bdd76,_0x575e9b,_0x261f58){const _0x51026c=_0x8857;_0x525859[_0x51026c(0x451)]=_0x575e9b(ue(),Ji());}(Z,function(_0x55fb39){const _0x3f9102=_0x8857;return _0x55fb39[_0x3f9102(0x16c)][_0x3f9102(0x252)]={'pad':function(){},'unpad':function(){}},_0x55fb39[_0x3f9102(0x16c)]['NoPadding'];}));}(er));var lc=er[_0x38775b(0x451)];const _c=at(lc);function uc(_0x3fab0a,_0x121082){const _0x56ad44=_0x38775b,_0x522e46=_0x121082-_0x3fab0a[_0x56ad44(0x3be)]%_0x121082,_0x382d3a=String[_0x56ad44(0x129)](_0x522e46)[_0x56ad44(0x4ca)](_0x522e46);return _0x3fab0a+_0x382d3a;}function dc(_0x2639a2,_0x40bad3){const _0x2005ba=_0x38775b,_0x525569=hc['random'](0x10),_0x49753f=uc(_0x2639a2,0x10),_0x541a29=rc['encrypt'](ac[_0x2005ba(0x158)](_0x49753f),ci[_0x2005ba(0x158)](_0x40bad3),{'iv':_0x525569,'padding':_c});return _0x525569[_0x2005ba(0x382)](_0x541a29['ciphertext'])['toString'](ci);}function fc(){const _0x5a49ac=_0x38775b,_0x2cf5f7=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x5a49ac(0x51b)];if(_0x2cf5f7){const _0x447396={'time':Math[_0x5a49ac(0x3b1)](Date[_0x5a49ac(0x3ca)]()/0x3e8),'domain':location[_0x5a49ac(0x4a3)]};return dc(JSON[_0x5a49ac(0x20d)](_0x447396),_0x2cf5f7);}}var vc=Object[_0x38775b(0x4da)],mc=Object[_0x38775b(0x1ed)],pc=(_0x52d466,_0x5dce3d,_0xb2f854,_0xd18732)=>{const _0x4c9074=_0x38775b;for(var _0x50bc83=_0xd18732>0x1?void 0x0:_0xd18732?mc(_0x5dce3d,_0xb2f854):_0x5dce3d,_0x44dff4=_0x52d466[_0x4c9074(0x3be)]-0x1,_0x1da626;_0x44dff4>=0x0;_0x44dff4--)(_0x1da626=_0x52d466[_0x44dff4])&&(_0x50bc83=(_0xd18732?_0x1da626(_0x5dce3d,_0xb2f854,_0x50bc83):_0x1da626(_0x50bc83))||_0x50bc83);return _0xd18732&&_0x50bc83&&vc(_0x5dce3d,_0xb2f854,_0x50bc83),_0x50bc83;},gc=(_0x2e570c,_0x28b716)=>(_0x110b84,_0xeea61b)=>_0x28b716(_0x110b84,_0xeea61b,_0x2e570c);let Rt=class{constructor(_0x3feb66){const _0x187264=_0x38775b;this[_0x187264(0x26a)]=_0x3feb66,this['_initRequestHeader']();}[_0x38775b(0x3c7)](){const _0x5ccb32=_0x38775b;this[_0x5ccb32(0x26a)][_0x5ccb32(0x46c)]({'interceptor':(_0x240390,_0x3acd6c)=>{const _0x1dd8cf=_0x5ccb32,_0x4e4098=_0x240390[_0x1dd8cf(0x2a8)],_0x1fbc0f=fc();return _0x1fbc0f&&_0x4e4098[_0x1dd8cf(0x157)]('x-univer-host',_0x1fbc0f),_0x3acd6c(_0x240390);}});}};Rt=pc([gc(0x0,_0x1f52e5(_0x48ddd7))],Rt);var Sc=Object['defineProperty'],Ic=Object['getOwnPropertyDescriptor'],Cc=(_0x29702b,_0x39106d,_0x5399c2,_0x1101bb)=>{const _0x587d2f=_0x38775b;for(var _0x737e64=_0x1101bb>0x1?void 0x0:_0x1101bb?Ic(_0x39106d,_0x5399c2):_0x39106d,_0x5d25e3=_0x29702b[_0x587d2f(0x3be)]-0x1,_0x323c08;_0x5d25e3>=0x0;_0x5d25e3--)(_0x323c08=_0x29702b[_0x5d25e3])&&(_0x737e64=(_0x1101bb?_0x323c08(_0x39106d,_0x5399c2,_0x737e64):_0x323c08(_0x737e64))||_0x737e64);return _0x1101bb&&_0x737e64&&Sc(_0x39106d,_0x5399c2,_0x737e64),_0x737e64;},Zt=(_0x565195,_0x53f882)=>(_0xfb080b,_0x36c46d)=>_0x53f882(_0xfb080b,_0x36c46d,_0x565195);const Ec=[_0x38775b(0x4ab),_0x38775b(0x526),_0x38775b(0x43e),_0x38775b(0x37f),_0x38775b(0x22b)],bc=0x5*0x400*0x400,Tc=_0x38775b(0x304),Rc='/universer-api/stream/file/upload',Oc=_0x38775b(0x2be),yc=_0x38775b(0x37b);let _s=class{constructor(_0x189ae2,_0x3cd753,_0x1940a7){const _0x92756b=_0x38775b;g(this,_0x92756b(0x3f2),0x0),g(this,_0x92756b(0x1c3),new _0x1d41c9()),g(this,_0x92756b(0x363),this[_0x92756b(0x1c3)]),g(this,_0x92756b(0x134),new Map()),(this[_0x92756b(0x26a)]=_0x189ae2,this['_configService']=_0x3cd753,this['_univerInstanceService']=_0x1940a7);}[_0x38775b(0x217)](_0x2d60f3){const _0xbeacc5=_0x38775b;this[_0xbeacc5(0x3f2)]=_0x2d60f3,this['_change$'][_0xbeacc5(0x1e8)](_0x2d60f3);}[_0x38775b(0x51f)](_0x344560,_0x4ce88c){const _0xf0e5d3=_0x38775b;if(_0x4ce88c===_0x24914c['BASE64']){const _0x1a782d=new Image();return _0x1a782d['src']=_0x344560,_0x1a782d;}return this['_imageSourceCache'][_0xf0e5d3(0x53d)](_0x344560);}['addImageSourceCache'](_0x15f8da,_0x2008f5,_0x481a82){const _0x5660c8=_0x38775b;_0x2008f5===_0x24914c['BASE64']||_0x481a82==null||this['_imageSourceCache'][_0x5660c8(0x157)](_0x15f8da,_0x481a82);}async[_0x38775b(0x1cb)](_0x36da2){const _0x48867a=_0x38775b;try{const _0x7222a9=this[_0x48867a(0x1ba)](this[_0x48867a(0x1b7)](),''+_0x36da2),_0x574ccb=(await this[_0x48867a(0x26a)][_0x48867a(0x53d)](_0x7222a9))[_0x48867a(0x545)];if(_0x574ccb[_0x48867a(0x41e)]&&_0x574ccb[_0x48867a(0x41e)][_0x48867a(0x4ba)]===Ui['OK']){const _0x15bc3c=new URL(_0x574ccb['url'],this['_getDownloadEndpointURL']())[_0x48867a(0x34c)]();return Promise[_0x48867a(0x539)](_0x15bc3c);}return Promise[_0x48867a(0x4c4)](_0x574ccb[_0x48867a(0x41e)]);}catch(_0x1128ef){return Promise['reject'](_0x1128ef);}}async['saveImage'](_0x6b1c5e){const _0x227aa5=_0x38775b;let _0x3c9030='';if(!Ec['includes'](_0x6b1c5e[_0x227aa5(0x302)]))return this[_0x227aa5(0x2f6)](),Promise[_0x227aa5(0x4c4)](new Error(_0x4f5e11['ERROR_IMAGE_TYPE']));if(_0x6b1c5e['size']>bc)return this[_0x227aa5(0x2f6)](),Promise['reject'](new Error(_0x4f5e11[_0x227aa5(0x474)]));try{const _0x32ac57=new FormData();_0x32ac57[_0x227aa5(0x267)](_0x227aa5(0x186),_0x6b1c5e);const _0x317cb6=this[_0x227aa5(0x2f4)]['getFocusedUnit'](),_0x372d05=_0x317cb6==null?void 0x0:_0x317cb6[_0x227aa5(0x2e9)]();if(!_0x372d05)throw new Error('unitId\x20is\x20not\x20found');const _0x34b454=this[_0x227aa5(0x1ec)]()+_0x227aa5(0x30a)+_0x6b1c5e['size'][_0x227aa5(0x34c)]()+_0x227aa5(0x2f9)+Ni['UnitEmbedded']+_0x227aa5(0x218)+encodeURIComponent(_0x372d05),_0x9b1399=await(await fetch(_0x34b454,{'method':_0x227aa5(0x345),'body':_0x32ac57}))[_0x227aa5(0x130)]();if(typeof _0x9b1399[_0x227aa5(0x348)]!='string')return this[_0x227aa5(0x2f6)](),Promise['reject'](new Error(_0x4f5e11[_0x227aa5(0x498)]));_0x3c9030=_0x9b1399[_0x227aa5(0x348)];}catch{return this[_0x227aa5(0x2f6)](),Promise[_0x227aa5(0x4c4)](new Error(_0x4f5e11[_0x227aa5(0x498)]));}return new Promise((_0x3c785c,_0x4b2754)=>{const _0x2cf68e=_0x227aa5,_0x5ca6be=new FileReader();_0x5ca6be[_0x2cf68e(0x34f)](_0x6b1c5e),_0x5ca6be[_0x2cf68e(0x48c)]=_0x476c16=>{const _0x148b6e=_0x2cf68e;var _0x426ddc;const _0x39a55b=(_0x426ddc=_0x476c16[_0x148b6e(0x26c)])==null?void 0x0:_0x426ddc[_0x148b6e(0x1c4)];if(_0x39a55b==null){this[_0x148b6e(0x2f6)](),_0x4b2754(new Error(_0x4f5e11['ERROR_IMAGE']));return;}const _0x52e9c1=_0x51c383['generateRandomId'](0x6);_0x3c785c({'imageId':_0x52e9c1,'imageSourceType':_0x24914c[_0x148b6e(0x503)],'source':_0x3c9030,'base64Cache':_0x39a55b,'status':_0x4f5e11[_0x148b6e(0x4b1)]}),this[_0x148b6e(0x2f6)]();};});}['_getUploadFileURL'](){const _0x4ab409=_0x38775b;var _0x4fb1b2,_0x3b6ed1;const _0x1c31de=this['_configService']['getConfig'](Tc),_0x31bc8a=this[_0x4ab409(0x2fe)][_0x4ab409(0x2d8)](ee);return(_0x3b6ed1=(_0x4fb1b2=_0x31bc8a==null?void 0x0:_0x31bc8a['uploadFileServerUrl'])!=null?_0x4fb1b2:_0x1c31de)!=null?_0x3b6ed1:Rc;}[_0x38775b(0x1b7)](){const _0x396b61=_0x38775b;var _0x4b18c8,_0x3a87d1;const _0x44bb57=this[_0x396b61(0x2fe)][_0x396b61(0x2d8)](Oc),_0x27c010=this[_0x396b61(0x2fe)][_0x396b61(0x2d8)](ee);return(_0x3a87d1=(_0x4b18c8=_0x27c010==null?void 0x0:_0x27c010['signUrlServerUrl'])!=null?_0x4b18c8:_0x44bb57)!=null?_0x3a87d1:yc;}['_getDownloadEndpointURL'](){const _0x18d5a3=_0x38775b;var _0x1e9366;const _0x3cef91=this['_configService'][_0x18d5a3(0x2d8)](ee);return(_0x1e9366=_0x3cef91==null?void 0x0:_0x3cef91[_0x18d5a3(0x3c6)])!=null?_0x1e9366:location[_0x18d5a3(0x4a2)];}[_0x38775b(0x1ba)](_0x35e03f,_0x48b790){const _0x42786d=_0x38775b;return _0x35e03f['replace'](_0x42786d(0x379),_0x48b790);}[_0x38775b(0x2f6)](){const _0x47a7a0=_0x38775b;this['_waitCount']-=0x1,this[_0x47a7a0(0x1c3)]['next'](this['_waitCount']);}};_s=Cc([Zt(0x0,_0x1f52e5(_0x48ddd7)),Zt(0x1,_0x4025c4),Zt(0x2,_0x1f52e5(_0x46df2f))],_s);var wc=Object[_0x38775b(0x4da)],Dc=Object[_0x38775b(0x1ed)],Pc=(_0x58aa73,_0x4d89f5,_0x30c476,_0x213f78)=>{for(var _0x1a04b4=_0x213f78>0x1?void 0x0:_0x213f78?Dc(_0x4d89f5,_0x30c476):_0x4d89f5,_0x366c1b=_0x58aa73['length']-0x1,_0x27aaa9;_0x366c1b>=0x0;_0x366c1b--)(_0x27aaa9=_0x58aa73[_0x366c1b])&&(_0x1a04b4=(_0x213f78?_0x27aaa9(_0x4d89f5,_0x30c476,_0x1a04b4):_0x27aaa9(_0x1a04b4))||_0x1a04b4);return _0x213f78&&_0x1a04b4&&wc(_0x4d89f5,_0x30c476,_0x1a04b4),_0x1a04b4;},hi=(_0x51c141,_0x30eae2)=>(_0x1e9daa,_0x5e30b7)=>_0x30eae2(_0x1e9daa,_0x5e30b7,_0x51c141);const Uc=_0x38775b(0x432);let us=class{constructor(_0x5e068a,_0x4aab7a){const _0xc2d0c4=_0x38775b;this[_0xc2d0c4(0x2fe)]=_0x5e068a,this['_HTTPService']=_0x4aab7a;}[_0x38775b(0x35a)](){const _0x362fe5=_0x38775b;var _0x2bc1bd,_0xdc9fb6;const _0x33411f=this[_0x362fe5(0x2fe)][_0x362fe5(0x2d8)](Ki),_0x4b1883=this[_0x362fe5(0x2fe)][_0x362fe5(0x2d8)](ee);return(_0xdc9fb6=(_0x2bc1bd=_0x4b1883==null?void 0x0:_0x4b1883['authzUrl'])!=null?_0x2bc1bd:_0x33411f)!=null?_0xdc9fb6:Uc;}async[_0x38775b(0x48e)](_0x5a0dd8){const _0x12a27c=_0x38775b,_0x32350f=this['_getAPIPrefixPath']()+_0x12a27c(0x4a1);return{'list':[{'title':_0x12a27c(0x386),'mentions':(await this[_0x12a27c(0x531)][_0x12a27c(0x53d)](_0x32350f,{'params':{'objectID':_0x5a0dd8[_0x12a27c(0x138)],'unitID':_0x5a0dd8[_0x12a27c(0x138)]}}))[_0x12a27c(0x545)][_0x12a27c(0x156)][_0x12a27c(0x18e)](_0x5eca29=>({'objectId':_0x5eca29['id'],'name':_0x5eca29['subject'][_0x12a27c(0x1e6)],'metadata':{'icon':_0x5eca29[_0x12a27c(0x3db)]['avatar']},'label':_0x5eca29[_0x12a27c(0x3db)]['name'],'objectType':_0x3dcc31[_0x12a27c(0x206)]})),'metadata':{},'type':_0x3dcc31[_0x12a27c(0x206)]}]};}};us=Pc([hi(0x0,_0x1f52e5(_0x4025c4)),hi(0x1,_0x1f52e5(_0x48ddd7))],us);var Nc=Object[_0x38775b(0x4da)],Ac=Object['getOwnPropertyDescriptor'],Mc=(_0x43ebfc,_0x4276c2,_0x5b748b,_0x398bef)=>{const _0x72d31c=_0x38775b;for(var _0x4ccdf9=_0x398bef>0x1?void 0x0:_0x398bef?Ac(_0x4276c2,_0x5b748b):_0x4276c2,_0x458c2c=_0x43ebfc[_0x72d31c(0x3be)]-0x1,_0x179dfd;_0x458c2c>=0x0;_0x458c2c--)(_0x179dfd=_0x43ebfc[_0x458c2c])&&(_0x4ccdf9=(_0x398bef?_0x179dfd(_0x4276c2,_0x5b748b,_0x4ccdf9):_0x179dfd(_0x4ccdf9))||_0x4ccdf9);return _0x398bef&&_0x4ccdf9&&Nc(_0x4276c2,_0x5b748b,_0x4ccdf9),_0x4ccdf9;},Qe=(_0x1a3b25,_0x2a85f8)=>(_0x4a7d23,_0x5c5602)=>_0x2a85f8(_0x4a7d23,_0x5c5602,_0x1a3b25);let Ot=class extends _0xeab596{constructor(_0x4e2c4e,_0x540178,_0x4d48dc,_0x42a1cc,_0x25e666){const _0x866b1e=_0x38775b;super(),this[_0x866b1e(0x361)]=_0x4e2c4e,this[_0x866b1e(0x2f4)]=_0x540178,this['_permissionService']=_0x4d48dc,this[_0x866b1e(0x15f)]=_0x42a1cc,this['_localeService']=_0x25e666,this[_0x866b1e(0x3b4)](),this[_0x866b1e(0x1ae)]();}['_initCloseConn'](){const _0x5eafc1=_0x38775b,_0x2924e2=async _0x13408c=>{const _0x1eeeab=_0x8857;(await this['_collaborationSessionService'][_0x1eeeab(0x3a5)](_0x13408c))[_0x1eeeab(0x295)]['pipe'](_0x25f474(_0x1c62b8=>_0x1c62b8[_0x1eeeab(0x3c3)]===_0x4e17b['SHOULD_CLOSE_CONN']),_0x24933f(this['dispose$']))['subscribe'](_0x447bd3=>{const _0x3854bf=_0x1eeeab,_0x3d3b64=_0x447bd3,{reason:_0x3f73d3}=_0x3d3b64[_0x3854bf(0x390)];this[_0x3854bf(0x361)][_0x3854bf(0x53d)](_0x4db578)['show']({'type':_0x2b337e['Error'],'content':this[_0x3854bf(0x3ef)]['t']('collaboration.closeRoom')+'('+_0x3f73d3+')'}),this[_0x3854bf(0x243)][_0x3854bf(0x36d)](new _0x43927b(_0x13408c)['id'],!0x1),this[_0x3854bf(0x15f)]['closeSession'](_0x13408c);});};_0x3804fb(this[_0x5eafc1(0x2f4)][_0x5eafc1(0x38f)](_0x245a17['UNIVER_SHEET']),this[_0x5eafc1(0x2f4)]['getTypeOfUnitAdded$'](_0x245a17['UNIVER_DOC']))[_0x5eafc1(0x378)](_0x3e374a(_0x3771a2=>_0x3771a2['getUnitId']()),_0x25f474(_0x4a5c29=>!_0x13db05(_0x4a5c29)),_0x24933f(this['dispose$']))[_0x5eafc1(0x39f)](_0x932918=>{_0x2924e2(_0x932918);});}[_0x38775b(0x3b4)](){const _0xf5724c=_0x38775b,_0x14d67e=async _0x40c073=>{const _0x17d042=_0x8857;(await this[_0x17d042(0x15f)][_0x17d042(0x3a5)](_0x40c073))[_0x17d042(0x295)]['pipe'](_0x25f474(_0x1d8f09=>_0x1d8f09[_0x17d042(0x3c3)]===_0x4e17b['UPDATE_PERMISSION_OBJ']),_0x24933f(this[_0x17d042(0x4ac)]))[_0x17d042(0x39f)](_0x57a230=>{const _0x37e56f=_0x17d042,_0xa595d2=_0x57a230,{objectId:_0x3778fb}=_0xa595d2[_0x37e56f(0x390)],_0x393fd4=this[_0x37e56f(0x361)][_0x37e56f(0x53d)](_0x9ee423);_0x3778fb===_0x40c073?_0x393fd4['initWorkbookPermissionChange'](_0x40c073):_0x393fd4[_0x37e56f(0x187)](_0x40c073,_0x3778fb);});};_0x3804fb(this['_univerInstanceService'][_0xf5724c(0x38f)](_0x245a17['UNIVER_SHEET']),this[_0xf5724c(0x2f4)][_0xf5724c(0x38f)](_0x245a17[_0xf5724c(0x393)]))[_0xf5724c(0x378)](_0x3e374a(_0x50dd87=>_0x50dd87[_0xf5724c(0x2e9)]()),_0x25f474(_0x4c4264=>!_0x13db05(_0x4c4264)),_0x24933f(this[_0xf5724c(0x4ac)]))[_0xf5724c(0x39f)](_0x199385=>{_0x14d67e(_0x199385);});}};Ot=Mc([Qe(0x0,_0x1f52e5(_0x72efa4)),Qe(0x1,_0x46df2f),Qe(0x2,_0x36face),Qe(0x3,_0x1f52e5(xe)),Qe(0x4,_0x1f52e5(_0x1d70b7))],Ot);var xc=Object[_0x38775b(0x4da)],Lc=Object[_0x38775b(0x1ed)],$c=(_0x386263,_0x2d77d9,_0x384b95,_0x5dc1e0)=>{const _0x52fed5=_0x38775b;for(var _0x365d88=_0x5dc1e0>0x1?void 0x0:_0x5dc1e0?Lc(_0x2d77d9,_0x384b95):_0x2d77d9,_0x1169c9=_0x386263[_0x52fed5(0x3be)]-0x1,_0x426c9f;_0x1169c9>=0x0;_0x1169c9--)(_0x426c9f=_0x386263[_0x1169c9])&&(_0x365d88=(_0x5dc1e0?_0x426c9f(_0x2d77d9,_0x384b95,_0x365d88):_0x426c9f(_0x365d88))||_0x365d88);return _0x5dc1e0&&_0x365d88&&xc(_0x2d77d9,_0x384b95,_0x365d88),_0x365d88;},li=(_0x169b84,_0x56b332)=>(_0x143470,_0x14f921)=>_0x56b332(_0x143470,_0x14f921,_0x169b84);let ds=class{constructor(_0x135a1a,_0x3e1174){const _0x221224=_0x38775b;this['_configService']=_0x135a1a,this[_0x221224(0x26a)]=_0x3e1174;}async[_0x38775b(0x511)](_0x50dd89,_0x891c9a){const _0x16b4a5=_0x38775b;var _0x4759f0;const {unitID:_0x1166ac,type:_0x2b1e5c,revision:_0x48589b=0x0}=_0x891c9a,_0x14f74d=this[_0x16b4a5(0x398)]()+'/'+_0x2b1e5c+_0x16b4a5(0x540)+_0x1166ac+'/rev/'+_0x48589b,_0x1264e7=(await this[_0x16b4a5(0x26a)][_0x16b4a5(0x53d)](_0x14f74d))[_0x16b4a5(0x545)],_0x2396bf=(_0x4759f0=_0x1264e7[_0x16b4a5(0x2ef)])==null?void 0x0:_0x4759f0[_0x16b4a5(0x240)];if(_0x2396bf){const _0x3071c8=_0x2396bf==null?void 0x0:_0x2396bf[_0x16b4a5(0x454)],_0x2a092f=_0x38ce0a[_0x16b4a5(0x4aa)](_0x5863b4(_0x3071c8));_0x2396bf[_0x16b4a5(0x454)]=_0x2a092f,Object[_0x16b4a5(0x458)](_0x2396bf[_0x16b4a5(0x392)])[_0x16b4a5(0x3d1)](([,_0x940313])=>{const _0x578eee=_0x16b4a5,_0x2e99c4=_0x940313[_0x578eee(0x454)],_0x49c536=_0x38ce0a[_0x578eee(0x4aa)](_0x5863b4(_0x2e99c4));_0x940313[_0x578eee(0x454)]=_0x49c536;});}return _0x1264e7;}async[_0x38775b(0x453)](_0x1f7ad1,_0x20c040){const _0x308a24=_0x38775b,{unitID:_0x293450,type:_0x4fe80a,blockID:_0x259b22}=_0x20c040,_0x238898=this['_getAPIPrefix']()+'/'+_0x4fe80a+_0x308a24(0x540)+_0x293450+_0x308a24(0x321)+_0x259b22;return(await this['_httpService']['get'](_0x238898))['body'];}async[_0x38775b(0x385)](_0x2ef990,_0xb92d4f){const _0x3c0ea1=_0x38775b,{unitID:_0x2b0722,type:_0x178591,blockID:_0x6a1043}=_0xb92d4f,_0x372f2f=this[_0x3c0ea1(0x26b)]()+_0x3c0ea1(0x321)+_0x178591+_0x3c0ea1(0x540)+_0x2b0722+_0x3c0ea1(0x321)+_0x6a1043;return(await this[_0x3c0ea1(0x26a)][_0x3c0ea1(0x53d)](_0x372f2f))['body'];}async[_0x38775b(0x37a)](_0x55230d,_0x2cf0cc){const _0x243df4=_0x38775b,{unitID:_0x4d3f37,type:_0x52a756,from:_0x129507,to:_0x21b277}=_0x2cf0cc,_0x339a53=this[_0x243df4(0x26b)]()+'/'+_0x52a756+_0x243df4(0x540)+_0x4d3f37+_0x243df4(0x25f)+_0x129507+_0x243df4(0x404)+_0x21b277;return(await this[_0x243df4(0x26a)]['get'](_0x339a53))[_0x243df4(0x545)];}['_getSnapshotAPIPrefix'](){const _0x3a97bb=_0x38775b;var _0x246568;return(_0x246568=this[_0x3a97bb(0x2fe)][_0x3a97bb(0x2d8)](gn))!=null?_0x246568:this[_0x3a97bb(0x26b)]();}[_0x38775b(0x26b)](){const _0x471320=_0x38775b;var _0xaab73e,_0x1aa3d5;const _0x4504ee=this['_configService']['getConfig'](mn),_0x4f0b98=this['_configService'][_0x471320(0x2d8)](ee);return(_0x1aa3d5=(_0xaab73e=_0x4f0b98==null?void 0x0:_0x4f0b98[_0x471320(0x49c)])!=null?_0xaab73e:_0x4504ee)!=null?_0x1aa3d5:pn;}async[_0x38775b(0x2b7)](_0x48a837,_0x4294c9){const _0x3377d8=_0x38775b,_0x38c60d='/universer-api/snapshot/'+_0x4294c9['type']+_0x3377d8(0x540)+_0x4294c9['unitID']+_0x3377d8(0x47c);return(await this[_0x3377d8(0x26a)][_0x3377d8(0x53d)](_0x38c60d,{'params':{'resourceId':JSON['stringify'](_0x4294c9[_0x3377d8(0x32e)])}}))['body'];}['saveSnapshot'](){const _0x1ee521=_0x38775b;throw new Error(_0x1ee521(0x547));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x38775b(0x2e0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x38775b(0x437)](){const _0x1afada=_0x38775b;throw new Error(_0x1afada(0x547));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ds=$c([li(0x0,_0x4025c4),li(0x1,_0x1f52e5(_0x48ddd7))],ds);var Hc=Object['defineProperty'],jc=Object['getOwnPropertyDescriptor'],Bc=(_0x43239f,_0x4e0df8,_0x354941,_0x4da5d0)=>{for(var _0x2017aa=_0x4da5d0>0x1?void 0x0:_0x4da5d0?jc(_0x4e0df8,_0x354941):_0x4e0df8,_0x22cf94=_0x43239f['length']-0x1,_0x51019f;_0x22cf94>=0x0;_0x22cf94--)(_0x51019f=_0x43239f[_0x22cf94])&&(_0x2017aa=(_0x4da5d0?_0x51019f(_0x4e0df8,_0x354941,_0x2017aa):_0x51019f(_0x2017aa))||_0x2017aa);return _0x4da5d0&&_0x2017aa&&Hc(_0x4e0df8,_0x354941,_0x2017aa),_0x2017aa;},et=(_0x4e7838,_0x4ef9f5)=>(_0x1d169a,_0x5a0bd0)=>_0x4ef9f5(_0x1d169a,_0x5a0bd0,_0x4e7838);let fs=class extends _0x4cad59{constructor(_0x17cdd0,_0x337415,_0x522bdc,_0x4073c2,_0x58c056){const _0x35fef9=_0x38775b;super(_0x17cdd0,_0x337415,_0x522bdc),this[_0x35fef9(0x1e5)]=_0x4073c2,this[_0x35fef9(0x42a)]=_0x58c056;}['transformUndoRedo'](_0x192a93,_0x1f4dbf){const _0x4e0ca4=_0x38775b,_0x1c62aa=this['_getUndoStack'](_0x192a93);if(_0x1c62aa)try{const _0x347c83=this[_0x4e0ca4(0x273)](_0x1c62aa,_0x1f4dbf);this[_0x4e0ca4(0x4a8)](_0x192a93,_0x347c83);}catch(_0x2226f3){this['_logService']['error'](_0x4e0ca4(0x4cb),_0x2226f3),this[_0x4e0ca4(0x272)](_0x192a93);}const _0x150528=this[_0x4e0ca4(0x281)](_0x192a93);if(_0x150528)try{const _0x388fe3=this[_0x4e0ca4(0x273)](_0x150528,_0x1f4dbf);this['_substituteRedoStack'](_0x192a93,_0x388fe3);}catch(_0x1b8592){this[_0x4e0ca4(0x42a)][_0x4e0ca4(0x41e)](_0x1b8592),this[_0x4e0ca4(0x486)](_0x192a93);}}[_0x38775b(0x272)](_0x1d4e9e){const _0x409698=_0x38775b,_0x2f94a0=this[_0x409698(0x168)](_0x1d4e9e);_0x2f94a0&&(_0x2f94a0[_0x409698(0x3be)]=0x0,this['_updateStatus']());}[_0x38775b(0x486)](_0x56b1fb){const _0x5173d5=_0x38775b,_0x32cbc7=this[_0x5173d5(0x281)](_0x56b1fb);_0x32cbc7&&(_0x32cbc7[_0x5173d5(0x3be)]=0x0,this[_0x5173d5(0x148)]());}[_0x38775b(0x4a8)](_0x52cfa1,_0x55ad80){const _0x4870cf=_0x38775b;this[_0x4870cf(0x3cc)][_0x4870cf(0x157)](_0x52cfa1,_0x55ad80),this[_0x4870cf(0x148)]();}[_0x38775b(0x512)](_0x15ce34,_0x242895){const _0x44a16f=_0x38775b;this[_0x44a16f(0x4e4)][_0x44a16f(0x157)](_0x15ce34,_0x242895),this[_0x44a16f(0x148)]();}[_0x38775b(0x273)](_0x1cf1a4,_0x3b2404){const _0x5bceab=_0x38775b,_0x1a12cb=[];let _0x3aac5f=_0x3b2404,_0x4ca3ac=_0x3b2404;for(let _0x52fe92=_0x1cf1a4[_0x5bceab(0x3be)]-0x1;_0x52fe92>=0x0;_0x52fe92--){const {unitID:_0x3dba76,undoMutations:_0x5a5bcc,redoMutations:_0x569457}=_0x1cf1a4[_0x52fe92],_0x2fc1b7=this['_transformService']['transformMutationsWithChangeset'](_0x3aac5f,_0x5a5bcc),_0x3b7f86=this['_transformService'][_0x5bceab(0x35b)](_0x4ca3ac,_0x569457);if(_0x8e9f5c(_0x2fc1b7)||_0x8e9f5c(_0x3b7f86)){this[_0x5bceab(0x42a)]['error']('[CollaborationUndoRedoService]',_0x5bceab(0x52d),_0x2fc1b7,_0x3b7f86);break;}_0x3aac5f=_0x2fc1b7[_0x5bceab(0x38b)],_0x4ca3ac=_0x3b7f86[_0x5bceab(0x38b)],_0x1a12cb[_0x5bceab(0x42f)]({'unitID':_0x3dba76,'undoMutations':_0x2fc1b7[_0x5bceab(0x21f)],'redoMutations':_0x3b7f86[_0x5bceab(0x21f)]});}return _0x1a12cb[_0x5bceab(0x31a)]();}};fs=Bc([et(0x0,_0x46df2f),et(0x1,_0x1b7cfe),et(0x2,_0x23ebff),et(0x3,_0x529376),et(0x4,_0x1fda4b)],fs);class kc extends _0xeab596{constructor(){const _0x21040b=_0x38775b;super(),g(this,'urlChange$'),this[_0x21040b(0x233)]=_0x5afba1(window,_0x21040b(0x41d))[_0x21040b(0x378)](_0x5a840b(this[_0x21040b(0x4ac)]),_0x237083(0x1),_0x14b1f7(void 0x0));}[_0x38775b(0x555)](_0x460234,_0x31158a,_0xe61b4a=!0x1){const _0x20a50d=_0x38775b,_0x4aace5=new URL(window['location'][_0x20a50d(0x44c)]);_0x4aace5[_0x20a50d(0x30c)][_0x20a50d(0x157)](_0x460234,_0x31158a),_0xe61b4a?window[_0x20a50d(0x14c)][_0x20a50d(0x2ea)]('','',_0x4aace5[_0x20a50d(0x34c)]()):window[_0x20a50d(0x14c)]['pushState']('','',_0x4aace5[_0x20a50d(0x34c)]());}[_0x38775b(0x310)](_0x43abca,_0x189d0d=!0x1){const _0x4d34e8=_0x38775b,_0x3d17d2=new URL(window[_0x4d34e8(0x4e1)][_0x4d34e8(0x44c)]);_0x3d17d2[_0x4d34e8(0x30c)][_0x4d34e8(0x501)](_0x43abca),_0x189d0d?window[_0x4d34e8(0x14c)][_0x4d34e8(0x2ea)]('','',_0x3d17d2[_0x4d34e8(0x34c)]()):window['history'][_0x4d34e8(0x351)]('','',_0x3d17d2[_0x4d34e8(0x34c)]());}[_0x38775b(0x4c8)](_0x42f77f){const _0x5efe14=_0x38775b;var _0x1a5f30;return(_0x1a5f30=new URL(window[_0x5efe14(0x4e1)][_0x5efe14(0x44c)])['searchParams']['get'](_0x42f77f))!=null?_0x1a5f30:void 0x0;}}var tr=Object[_0x38775b(0x4da)],Wc=Object[_0x38775b(0x1ed)],Fc=(_0xef6017,_0x552c00,_0x4aaa48)=>_0x552c00 in _0xef6017?tr(_0xef6017,_0x552c00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4aaa48}):_0xef6017[_0x552c00]=_0x4aaa48,Vc=(_0x3fe7ae,_0x42fb54,_0x37e9c7,_0x21a8e7)=>{for(var _0x163732=_0x21a8e7>0x1?void 0x0:_0x21a8e7?Wc(_0x42fb54,_0x37e9c7):_0x42fb54,_0x612b18=_0x3fe7ae['length']-0x1,_0x156606;_0x612b18>=0x0;_0x612b18--)(_0x156606=_0x3fe7ae[_0x612b18])&&(_0x163732=(_0x21a8e7?_0x156606(_0x42fb54,_0x37e9c7,_0x163732):_0x156606(_0x163732))||_0x163732);return _0x21a8e7&&_0x163732&&tr(_0x42fb54,_0x37e9c7,_0x163732),_0x163732;},lt=(_0x432efd,_0x4eca88)=>(_0x498f64,_0x5ed393)=>_0x4eca88(_0x498f64,_0x5ed393,_0x432efd),Gc=(_0x386479,_0x24ec33,_0x35d7aa)=>Fc(_0x386479,_0x24ec33+'',_0x35d7aa);const Yc=_0x38775b(0x1ab);let vs=class extends _0x38f692{constructor(_0x105cb9=Mn,_0x48422f,_0x1792e2,_0x351e79,_0x550375){const _0x469b75=_0x38775b;super(),this[_0x469b75(0x305)]=_0x105cb9,this['_logService']=_0x48422f,this[_0x469b75(0x465)]=_0x1792e2,this[_0x469b75(0x361)]=_0x351e79,this[_0x469b75(0x2fe)]=_0x550375;const {..._0x398433}=this[_0x469b75(0x305)];this[_0x469b75(0x2fe)][_0x469b75(0x3fa)](ee,_0x398433);}[_0x38775b(0x3f0)](){const _0x363785=_0x38775b;this['_registerDependencies'](),this[_0x363785(0x420)]();}[_0x38775b(0x128)](){const _0x31d5e9=_0x38775b;_0x475894(this[_0x31d5e9(0x361)],[[bt],[It]]);}[_0x38775b(0x216)](){const _0x4412cc=_0x38775b;this[_0x4412cc(0x335)]();}[_0x38775b(0x1d3)](){const _0x47433f=_0x38775b;var _0x4e87f4,_0x1f650c,_0x318870,_0x495077;this['_injector'][_0x47433f(0x519)](_0x809157)&&this['_logService'][_0x47433f(0x41e)](_0x47433f(0x1e4),_0x47433f(0x460));const _0x33d039=[[_0x809157,{'useClass':fs}],[xe],[Os],[Yi,{'useClass':kc}],[Me],[q],[_0x5b980f],[mt],[gt],[vt],[pt],[Ts],[Tt],[Rt],[Mi],[Ot],[Ai,{'useClass':(_0x1f650c=(_0x4e87f4=this['_config'])==null?void 0x0:_0x4e87f4[_0x47433f(0x4f4)])!=null?_0x1f650c:ss}],[_0x37c703,{'useClass':ds}],[_0x215fdb,{'useClass':ls}],[_0x5c23c4,{'useClass':_s}],[_0x127399,{'useClass':us}],[it],[Et],[Ct],[bt],[Ve],[It]];(_0x318870=this[_0x47433f(0x305)])!=null&&_0x318870[_0x47433f(0x1be)]&&_0x33d039[_0x47433f(0x42f)]([yt,{'useClass':vo}]),_0x1994c4(this[_0x47433f(0x361)],_0x582d19(_0x33d039,(_0x495077=this['_config'])==null?void 0x0:_0x495077[_0x47433f(0x31c)]));}['_registerRenderDependencies'](){const _0x13429a=_0x38775b;this[_0x13429a(0x4d0)](this['_renderManagerService'][_0x13429a(0x558)](_0x245a17[_0x13429a(0x393)],[cs])),this['disposeWithMe'](this[_0x13429a(0x465)][_0x13429a(0x558)](_0x245a17[_0x13429a(0x372)],[hs]));}[_0x38775b(0x420)](){const _0x13c85b=_0x38775b;var _0x4d6d12,_0x49d19f;this[_0x13c85b(0x361)][_0x13c85b(0x53d)](_0x48ddd7)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x382517({'maxParallel':0x6})}),(_0x4d6d12=this[_0x13c85b(0x305)])!=null&&_0x4d6d12[_0x13c85b(0x2cb)]||this['_injector'][_0x13c85b(0x53d)](q)[_0x13c85b(0x35d)](),(_0x49d19f=this[_0x13c85b(0x305)])!=null&&_0x49d19f[_0x13c85b(0x24c)]&&_0x475894(this[_0x13c85b(0x361)],[[Tt]]),_0x475894(this[_0x13c85b(0x361)],[[Rt],[Ve],[Et],[it],[Ct],[Ot]]);}};Gc(vs,_0x38775b(0x2f0),Yc),vs=Vc([_0x49262b(_0x1fad83,_0x4ef6b3),lt(0x1,_0x1fda4b),lt(0x2,_0x439c07),lt(0x3,_0x1f52e5(_0x72efa4)),lt(0x4,_0x4025c4)],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 _0x421733=_0x9980;(function(_0x42bf68,_0xa5cda8){const _0x21327a=_0x9980,_0x2356b7=_0x42bf68();while(!![]){try{const _0x344932=parseInt(_0x21327a(0x511))/0x1*(-parseInt(_0x21327a(0x1e8))/0x2)+parseInt(_0x21327a(0x1e4))/0x3*(-parseInt(_0x21327a(0x390))/0x4)+-parseInt(_0x21327a(0x2d4))/0x5*(parseInt(_0x21327a(0x242))/0x6)+parseInt(_0x21327a(0x1bf))/0x7+parseInt(_0x21327a(0x3fb))/0x8*(parseInt(_0x21327a(0x498))/0x9)+parseInt(_0x21327a(0x2d3))/0xa*(parseInt(_0x21327a(0x374))/0xb)+parseInt(_0x21327a(0x24f))/0xc;if(_0x344932===_0xa5cda8)break;else _0x2356b7['push'](_0x2356b7['shift']());}catch(_0x519c85){_0x2356b7['push'](_0x2356b7['shift']());}}}(_0x5bba,0xc50d6));var ar=Object[_0x421733(0x1c6)],cr=(_0x5db177,_0x3fb086,_0x2b91d7)=>_0x3fb086 in _0x5db177?ar(_0x5db177,_0x3fb086,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b91d7}):_0x5db177[_0x3fb086]=_0x2b91d7,g=(_0x35e810,_0x558325,_0x12303c)=>cr(_0x35e810,typeof _0x558325!=_0x421733(0x342)?_0x558325+'':_0x558325,_0x12303c);import{createIdentifier as _0x5c8406,Inject as _0x231990,Disposable as _0x36e463,DisposableCollection as _0xad70f7,toDisposable as _0xb887b1,IConfigService as _0x2cfa70,ILogService as _0x257353,UserManagerService as _0x3b0e15,UniverInstanceType as _0x24d9a0,IUniverInstanceService as _0x186a82,LocaleService as _0x3097b7,Optional as _0x1f1bd9,RxDisposable as _0x33a3aa,Injector as _0x1d3c8c,Tools as _0x4705c7,ILocalStorageService as _0x3ff966,Rectangle as _0x1f3690,ICommandService as _0x5af619,DOC_RANGE_TYPE as _0x24d6fa,JSONX as _0x172e20,CommandType as _0x330e8b,IPermissionService as _0x286710,IUndoRedoService as _0x306efe,sequenceExecute as _0x169100,debounce as _0x4ce71a,COLORS as _0x5e0a26,ColorKit as _0x247bdf,ThemeService as _0x269b73,fromEventSubject as _0x46ebc0,useDependency as _0x3f9ba4,connectInjector as _0x2453df,Workbook as _0xb8558d,MentionType as _0x1c7d10,isInternalEditorID as _0x3014e6,LocalUndoRedoService as _0x4d7d9b,IContextService as _0x5acaaa,DependentOn as _0x4cb61a,Plugin as _0x2887ef,touchDependencies as _0x52d868,IAuthzIoService as _0x469926,IMentionIOService as _0x215c5d,registerDependencies as _0x42bfca,mergeOverrideWithDependencies as _0x59e272}from'@univerjs/core';import{Subject as _0x28e091,merge as _0x3f6cf6,takeUntil as _0x2c50c2,BehaviorSubject as _0x461b47,distinctUntilChanged as _0x42bb6b,fromEvent as _0x2e9bd0,ReplaySubject as _0x16723c,take as _0x329c5b,map as _0x5d768e,shareReplay as _0x2d3cb2,of as _0x25af31,debounceTime as _0x21c89c,filter as _0x5a99f6,switchMap as _0x48c325,combineLatest as _0x2566e5,concatMap as _0x3b64f1,mapTo as _0x188d89}from'rxjs';import{map as _0x1a5739,take as _0x19c3b1,filter as _0x1de59c,delay as _0x4c4c05,throttleTime as _0x33228d,takeUntil as _0x5844ee,switchMap as _0x4fefe2}from'rxjs/operators';import{MessageType as _0x1a283f,Tooltip as _0x28113e}from'@univerjs/design';import{HTTPService as _0xee3f76,WebSocketService as _0x1034eb,MergeInterceptorFactory as _0x18dc5a,HTTPRequest as _0x30ed57,UniverNetworkPlugin as _0xbcad3e,ThresholdInterceptorFactory as _0x2fa129}from'@univerjs/network';import{IBeforeCloseService as _0x59d4b7,IMessageService as _0x2cbd8b,INotificationService as _0x4d2a13,useObservable as _0x1432a7,BuiltInUIPart as _0x15ddf6,IUIPartsService as _0x39547f}from'@univerjs/ui';import{CollaborationEvent as _0xdb349a,parseChangesetToProtocol as _0x4c1df4,ISnapshotServerService as _0x48d837,isTransformMutationFailure as _0x2f8c79,isTransformMutationsWithChangesetSuccess as _0x3755b3,ITransformService as _0x2b2256,RevisionService as _0x2467a7,mapDocumentTypeToUniverType as _0x556097,isTransformChangesetsSuccess as _0x4a826f,CompressMutationService as _0x60c9a0,parseProtocolChangeset as _0x424bf7,SnapshotService as _0x36030b,textEncoder as _0x41d831,b64DecodeUnicode as _0x170276,isTransformMutationsWithChangesetFailure as _0x524e13,UniverCollaborationPlugin as _0x2dc4f0}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x377f5b}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x41a45f,RichTextEditingMutation as _0x21e608,SetTextSelectionsOperation as _0x412e6f,DocSkeletonManagerService as _0x201dae}from'@univerjs/docs';import{DocIMEInputManagerService as _0xbafc24,DocStateChangeManagerService as _0x283ec1,IDocClipboardService as _0x2be04a,NodePositionConvertToCursor as _0x36574c,NodePositionConvertToRectRange as _0x4d6d36,TEXT_RANGE_LAYER_INDEX as _0x30ad98,SetDocZoomRatioOperation as _0x59e544}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2ad53c,SetSelectionsOperation as _0x15ebeb,InsertSheetMutation as _0xbce329,EmptyMutation as _0x3cc519,WorkbookEditablePermission as _0x31b58a,RefRangeService as _0x14e37a,EffectRefRangId as _0x1b877c,handleIRemoveRow as _0xdd0575,handleIRemoveCol as _0x3571ea,handleMoveRange as _0x1686e7,handleInsertRow as _0x452c99,handleInsertRangeMoveRight as _0x30a3c5,handleInsertRangeMoveDown as _0xdcdacc,handleInsertCol as _0x44d185,handleDeleteRangeMoveUp as _0x2523aa,handleDeleteRangeMoveLeft as _0x31db42,runRefRangeMutations as _0x1a11fa,SetWorksheetActivateCommand as _0x3c9ec1}from'@univerjs/sheets';import{IRenderManagerService as _0x5d57fe,Shape as _0x4a6244,Rect as _0x59ff16,getColor as _0x576b6f,RegularPolygon as _0xaf8e19,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x39e288,Vector2 as _0x111247}from'@univerjs/engine-render';import{IImageIoService as _0x2982a0,ImageSourceType as _0x2b3ee0,ImageUploadStatusType as _0x25d6ba}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x4c7e86,serializeRangeWithSheet as _0x5a7c45}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x261438,VIEWPORT_KEY as _0x70e7a2,getCoordByCell as _0x41b457,getSheetObject as _0x44a079,SheetPermissionInitController as _0x4e29e3}from'@univerjs/sheets-ui';import _0x6cf57a,{forwardRef as _0x2943c5,useRef as _0x279a0a,createElement as _0x2914b2,useCallback as _0x14ebbf}from'react';import{IRemoteInstanceService as _0x25b005}from'@univerjs/rpc';const Cn=_0x421733(0x34f),En='/universer-api/snapshot',bn=_0x421733(0x515),yh=_0x421733(0x531),Tn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',On=_0x421733(0x4ca),yn='/universer-api/user/session-ticket',wn=_0x421733(0x468),Dn=0x7530,Bi=_0x421733(0x38e),ki=0x4e20,Pn=0x4e20,Un='RETRY_CONNECTING_MAX_COUNT',Nn=0x3,An=_0x421733(0x4a5),Mn=0x3e8,xn=_0x421733(0x447),Ln=_0x421733(0x34e),$n=_0x421733(0x4b9),Hn=_0x421733(0x297);var Wi=(_0x718983=>(_0x718983[_0x718983[_0x421733(0x4c3)]=0x0]=_0x421733(0x4c3),_0x718983[_0x718983['OK']=0x1]='OK',_0x718983[_0x718983[_0x421733(0x56c)]=0x2]=_0x421733(0x56c),_0x718983[_0x718983[_0x421733(0x2db)]=0x3]='PERMISSION_DENIED',_0x718983[_0x718983[_0x421733(0x373)]=0x4]=_0x421733(0x373),_0x718983[_0x718983['UNAUTHENTICATED']=0x5]=_0x421733(0x3cd),_0x718983[_0x718983['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x718983[_0x718983['INVALID_ARGUMENT']=0x7]=_0x421733(0x2f7),_0x718983[_0x718983[_0x421733(0x4bb)]=0x8]=_0x421733(0x4bb),_0x718983[_0x718983[_0x421733(0x17a)]=0x9]='COMPLETION_FINISHED',_0x718983[_0x718983[_0x421733(0x473)]=0x1389]=_0x421733(0x473),_0x718983[_0x718983[_0x421733(0x200)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x718983[_0x718983[_0x421733(0x46b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x718983[_0x718983[_0x421733(0x1f3)]=0x1773]=_0x421733(0x1f3),_0x718983[_0x718983[_0x421733(0x40c)]=0x1b59]=_0x421733(0x40c),_0x718983[_0x718983[_0x421733(0x37f)]=0x1b5a]=_0x421733(0x37f),_0x718983[_0x718983['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x421733(0x4e2),_0x718983[_0x718983[_0x421733(0x4c6)]=0x1b5c]=_0x421733(0x4c6),_0x718983[_0x718983[_0x421733(0x425)]=0x1b5d]='APPLY_DUPLICATED',_0x718983[_0x718983['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x421733(0x4b0),_0x718983[_0x718983[_0x421733(0x201)]=0x2329]=_0x421733(0x201),_0x718983[_0x718983[_0x421733(0x1de)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x718983[_0x718983['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x718983[_0x718983['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x421733(0x430),_0x718983[_0x718983['LICENSE_DISTRO_REJECTED']=0x232d]=_0x421733(0x35a),_0x718983[_0x718983[_0x421733(0x432)]=0x2711]=_0x421733(0x432),_0x718983[_0x718983['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x421733(0x288),_0x718983[_0x718983[_0x421733(0x35d)]=0x2713]=_0x421733(0x35d),_0x718983[_0x718983['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x421733(0x37e),_0x718983[_0x718983[_0x421733(0x32e)]=-0x1]=_0x421733(0x32e),_0x718983))(Wi||{}),ae=(_0x4fb73e=>(_0x4fb73e[_0x4fb73e[_0x421733(0x3f0)]=0x0]=_0x421733(0x3f0),_0x4fb73e[_0x4fb73e['UNIVER_DOC']=0x1]=_0x421733(0x42a),_0x4fb73e[_0x4fb73e[_0x421733(0x219)]=0x2]=_0x421733(0x219),_0x4fb73e[_0x4fb73e['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4fb73e[_0x4fb73e[_0x421733(0x323)]=0x4]='UNIVER_PROJECT',_0x4fb73e[_0x4fb73e['UNRECOGNIZED']=-0x1]=_0x421733(0x32e),_0x4fb73e))(ae||{}),W=(_0x5a7b98=>(_0x5a7b98[_0x5a7b98['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x5a7b98[_0x5a7b98[_0x421733(0x422)]=0x1]=_0x421733(0x422),_0x5a7b98[_0x5a7b98[_0x421733(0x249)]=0x2]='JOIN',_0x5a7b98[_0x5a7b98[_0x421733(0x355)]=0x3]=_0x421733(0x355),_0x5a7b98[_0x5a7b98['INGEST']=0x4]=_0x421733(0x170),_0x5a7b98[_0x5a7b98[_0x421733(0x55e)]=0x5]=_0x421733(0x55e),_0x5a7b98[_0x5a7b98[_0x421733(0x303)]=0x6]='RECV',_0x5a7b98[_0x5a7b98['UNRECOGNIZED']=-0x1]=_0x421733(0x32e),_0x5a7b98))(W||{}),ws=(_0x333333=>(_0x333333[_0x333333[_0x421733(0x486)]=0x0]=_0x421733(0x486),_0x333333[_0x333333['OK']=0x1]='OK',_0x333333[_0x333333[_0x421733(0x453)]=0x2]=_0x421733(0x453),_0x333333[_0x333333[_0x421733(0x4ea)]=0x3e9]=_0x421733(0x4ea),_0x333333[_0x333333[_0x421733(0x4b6)]=0x3ea]=_0x421733(0x4b6),_0x333333[_0x333333['UNRECOGNIZED']=-0x1]=_0x421733(0x32e),_0x333333))(ws||{}),Fi=(_0x539f8a=>(_0x539f8a[_0x539f8a['Undefined']=0x0]=_0x421733(0x1ce),_0x539f8a[_0x539f8a[_0x421733(0x366)]=0x1]=_0x421733(0x366),_0x539f8a[_0x539f8a[_0x421733(0x476)]=0x2]=_0x421733(0x476),_0x539f8a[_0x539f8a[_0x421733(0x411)]=0x3]='UnitEmbedded',_0x539f8a[_0x539f8a[_0x421733(0x3bf)]=0x4]='UnitSnapshot',_0x539f8a[_0x539f8a['UNRECOGNIZED']=-0x1]=_0x421733(0x32e),_0x539f8a))(Fi||{});const Q=_0x421733(0x1cb),jn={};function Bn(_0x5cd992){const _0x3c2cd2=_0x421733;var _0x41852e,_0x321739,_0x1767bc,_0x199acd,_0x7e436a;const _0x109805=_0x5cd992[_0x3c2cd2(0x263)],_0x696ee2=JSON[_0x3c2cd2(0x2e0)](_0x109805);switch(_0x696ee2[_0x3c2cd2(0x423)]){case W[_0x3c2cd2(0x55e)]:case W[_0x3c2cd2(0x422)]:{const _0x8314ed=_0x696ee2[_0x3c2cd2(0x444)];return{..._0x696ee2,'data':_0x8314ed,'cmd':_0x696ee2[_0x3c2cd2(0x423)]};}case W[_0x3c2cd2(0x249)]:{const _0x910293=_0x696ee2[_0x3c2cd2(0x1ac)];return{..._0x696ee2,'data':_0x910293,'cmd':_0x696ee2['cmd']};}case W['RECV']:{const _0x3693f7=_0x696ee2[_0x3c2cd2(0x3ae)];switch(_0x3693f7[_0x3c2cd2(0x41e)]){case _0xdb349a[_0x3c2cd2(0x215)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x41852e=_0x3693f7['permissionRejEvent'])==null?void 0x0:_0x41852e['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x380)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x321739=_0x3693f7[_0x3c2cd2(0x204)])==null?void 0x0:_0x321739['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x35b)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x1767bc=_0x3693f7[_0x3c2cd2(0x4ee)])==null?void 0x0:_0x1767bc['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x550)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x199acd=_0x3693f7[_0x3c2cd2(0x4dc)])==null?void 0x0:_0x199acd['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x50e)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x7e436a=_0x3693f7[_0x3c2cd2(0x567)])==null?void 0x0:_0x7e436a['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x1fb)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x2f3)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x238)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x191)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a['USERS_LEAVE']:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x508)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x428)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7['liveShareNewHost']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x3e7)]:case _0xdb349a[_0x3c2cd2(0x4ba)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x388)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x58e)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x1d6)]},'cmd':_0x696ee2['cmd']};case _0xdb349a[_0x3c2cd2(0x433)]:return{..._0x696ee2,'data':_0x3693f7,'cmd':_0x696ee2['cmd']};case _0xdb349a[_0x3c2cd2(0x340)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x1c0)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x586)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x45e)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x22a)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x1b8)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};default:return _0x696ee2;}}default:return _0x696ee2;}}function kn(_0x3b032b){const _0x2abeef=_0x421733;switch(_0x3b032b[_0x2abeef(0x423)]){case W[_0x2abeef(0x55e)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x3b032b[_0x2abeef(0x423)],'routeKey':_0x3b032b[_0x2abeef(0x39c)]});case W[_0x2abeef(0x170)]:{let _0x21f3a1;switch(_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x41e)]){case _0xdb349a['UPDATE_CURSOR']:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x1fb)],'updateCursorEvent':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x263)]};break;}case _0xdb349a[_0x2abeef(0x451)]:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x451)],'leaveEvent':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x263)]};break;}case _0xdb349a['USERS_ENTER']:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x238)],'joinEvent':_0x3b032b[_0x2abeef(0x263)]['data']};break;}case _0xdb349a[_0x2abeef(0x428)]:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x428)],'liveShareNewHost':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x263)]};break;}case _0xdb349a[_0x2abeef(0x4ba)]:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x4ba)],'liveShareOperation':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x263)]};break;}case _0xdb349a['LIVESHARE_TERMINATE']:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x58e)],'liveShareTerminate':_0x3b032b[_0x2abeef(0x263)]['data']};break;}case _0xdb349a[_0x2abeef(0x28f)]:{_0x21f3a1={'eventID':_0xdb349a['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3b032b[_0x2abeef(0x263)]['data']};break;}case _0xdb349a['LIVESHARE_FETCH_OPERATIONS']:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x3e7)]};break;}default:_0x21f3a1={'eventID':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x41e)]};}return JSON[_0x2abeef(0x2b7)]({'cmd':_0x3b032b[_0x2abeef(0x423)],'routeKey':_0x3b032b[_0x2abeef(0x39c)],'collaMsg':_0x21f3a1});}case W[_0x2abeef(0x249)]:return JSON['stringify']({'cmd':_0x3b032b[_0x2abeef(0x423)],'routeKey':_0x3b032b[_0x2abeef(0x39c)],'joinReq':_0x3b032b[_0x2abeef(0x263)]});case W[_0x2abeef(0x355)]:return JSON[_0x2abeef(0x2b7)]({'cmd':_0x3b032b[_0x2abeef(0x423)],'routeKey':_0x3b032b[_0x2abeef(0x39c)],'leaveReq':_0x3b032b[_0x2abeef(0x263)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Wn=Object[_0x421733(0x1c6)],Fn=Object[_0x421733(0x2e2)],Vn=(_0x57d998,_0x3b04fb,_0x56cd22,_0x9a0821)=>{const _0x6c3978=_0x421733;for(var _0xab6975=_0x9a0821>0x1?void 0x0:_0x9a0821?Fn(_0x3b04fb,_0x56cd22):_0x3b04fb,_0x3f071e=_0x57d998[_0x6c3978(0x4b1)]-0x1,_0x13b85a;_0x3f071e>=0x0;_0x3f071e--)(_0x13b85a=_0x57d998[_0x3f071e])&&(_0xab6975=(_0x9a0821?_0x13b85a(_0x3b04fb,_0x56cd22,_0xab6975):_0x13b85a(_0xab6975))||_0xab6975);return _0x9a0821&&_0xab6975&&Wn(_0x3b04fb,_0x56cd22,_0xab6975),_0xab6975;},qe=(_0x6de7a9,_0x476f74)=>(_0x50013f,_0x2f4da1)=>_0x476f74(_0x50013f,_0x2f4da1,_0x6de7a9);const Vi=_0x5c8406(_0x421733(0x596));function Gn(_0x54edd6,_0x35d8d9,_0x1dfd3a){const _0x26760d=_0x421733;return _0x54edd6+'/'+_0x35d8d9+'/unit/'+_0x1dfd3a+_0x26760d(0x3d0);}let as=class extends _0x36e463{constructor(_0x65de59,_0x597249,_0xa0671f,_0x40bd75,_0x5a320b){const _0x548541=_0x421733;super(),this[_0x548541(0x48a)]=_0x65de59,this[_0x548541(0x3c6)]=_0x597249,this['_configService']=_0xa0671f,this[_0x548541(0x3b4)]=_0x40bd75,this[_0x548541(0x46d)]=_0x5a320b;}['createSocket'](_0x7e4333){const _0x563050=_0x421733,_0x18f7bb=this[_0x563050(0x3c6)][_0x563050(0x2f0)](_0x7e4333);if(!_0x18f7bb)throw new Error(_0x563050(0x41c));const _0x258d9d=new _0xad70f7(),_0x3300f3=new _0x28e091();_0x258d9d['add'](_0x18f7bb[_0x563050(0x364)]['subscribe'](_0x23acce=>_0x3300f3['next'](_0x23acce))),_0x258d9d[_0x563050(0x27c)](_0xb887b1(()=>_0x3300f3[_0x563050(0x4d3)]()));const _0x311702=new _0x28e091();_0x258d9d[_0x563050(0x27c)](_0x18f7bb[_0x563050(0x543)][_0x563050(0x4fc)](_0x214475=>_0x311702[_0x563050(0x537)](_0x214475))),_0x258d9d[_0x563050(0x27c)](_0xb887b1(()=>_0x311702[_0x563050(0x4d3)]()));const _0x523381=new _0x28e091();_0x258d9d[_0x563050(0x27c)](_0x18f7bb[_0x563050(0x57e)][_0x563050(0x4fc)](_0x2cc7f2=>{const _0x206c07=Bn(_0x2cc7f2);_0x523381['next'](_0x206c07);})),_0x258d9d[_0x563050(0x27c)](_0xb887b1(()=>_0x523381[_0x563050(0x4d3)]()));let _0x14af0b;const _0x59e1a1=()=>{const _0x55379a=_0x563050;_0x311702['next'](new Event(_0x55379a(0x2a7))),_0x3300f3[_0x55379a(0x537)](new CloseEvent(_0x55379a(0x2a7))),_0x14af0b[_0x55379a(0x1d7)]();};return _0x14af0b={'memberID':'','close$':_0x3300f3[_0x563050(0x314)](),'error$':_0x311702[_0x563050(0x314)](),'open$':_0x18f7bb[_0x563050(0x36d)],'message$':_0x523381['asObservable'](),'send':_0xccce80=>{const _0xb50157=_0x563050;if(_0xccce80[_0xb50157(0x423)]===W[_0xb50157(0x170)]){if(_0xccce80[_0xb50157(0x263)][_0xb50157(0x41e)]===_0xdb349a[_0xb50157(0x1a4)]){this[_0xb50157(0x589)](_0x14af0b,_0xccce80[_0xb50157(0x263)])[_0xb50157(0x285)](_0x2c7f4c=>{const _0x2ec59d=_0xb50157;this[_0x2ec59d(0x3b4)][_0x2ec59d(0x3ff)](_0x2c7f4c),_0x59e1a1();});return;}if(_0xccce80[_0xb50157(0x263)][_0xb50157(0x41e)]===_0xdb349a[_0xb50157(0x45c)]){const _0x4a3bad=_0xccce80['data'];this['_fetchMissChangesets'](_0x4a3bad)['then'](_0x27ba27=>{const _0xdef0b6=_0xb50157;_0x523381[_0xdef0b6(0x537)]({'cmd':W[_0xdef0b6(0x303)],'code':ws['OK'],'routeKey':_0x4a3bad[_0xdef0b6(0x263)][_0xdef0b6(0x4f8)],'routeType':'','data':{'eventID':_0xdb349a['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x27ba27}}});})[_0xb50157(0x285)](_0x65a403=>{const _0x1f4a82=_0xb50157;this['_logService'][_0x1f4a82(0x3ff)](_0x65a403),_0x59e1a1();});return;}}_0x18f7bb[_0xb50157(0x211)](kn(_0xccce80));},'close':()=>{const _0x57b639=_0x563050;_0x18f7bb[_0x57b639(0x1d7)](),_0x258d9d['dispose']();}},_0x14af0b;}async[_0x421733(0x589)](_0x2c1574,_0x93f205){const _0x48e479=_0x421733;var _0x124879,_0x7b7dfe;const {unitType:_0x1f765e,unitID:_0x25ae61,changeset:_0x5267b8}=_0x93f205[_0x48e479(0x263)],_0x25455b={'unitID':_0x25ae61,'memberID':_0x2c1574['memberID'],'type':_0x1f765e,'changeset':_0x4c1df4(_0x5267b8)},_0x420fd5=this[_0x48e479(0x254)][_0x48e479(0x39e)](xn),_0x34a050=this[_0x48e479(0x254)]['getConfig'](Q),_0x4ad381=Gn((_0x7b7dfe=(_0x124879=_0x34a050==null?void 0x0:_0x34a050[_0x48e479(0x18c)])!=null?_0x124879:_0x420fd5)!=null?_0x7b7dfe:Ln,_0x1f765e,_0x25ae61);try{await this[_0x48e479(0x48a)][_0x48e479(0x413)](_0x4ad381,{'body':_0x25455b});}catch(_0x3f4c92){throw this[_0x48e479(0x3b4)][_0x48e479(0x3ff)](_0x48e479(0x344),_0x48e479(0x1f4)),_0x3f4c92;}}async['_fetchMissChangesets'](_0x1591a9){const _0x510ec8=_0x421733,{unitID:_0x18500d,from:_0x535a7e,to:_0x3ee353,unitType:_0x191171}=_0x1591a9[_0x510ec8(0x263)];return(await this[_0x510ec8(0x46d)][_0x510ec8(0x1d9)]({'metadata':void 0x0},{'unitID':_0x18500d,'type':_0x191171,'from':_0x535a7e,'to':_0x3ee353}))[_0x510ec8(0x520)];}};as=Vn([qe(0x0,_0x231990(_0xee3f76)),qe(0x1,_0x231990(_0x1034eb)),qe(0x2,_0x2cfa70),qe(0x3,_0x257353),qe(0x4,_0x48d837)],as);const Yn='collaboration_new_changeset';function Kn(_0x3a692f){const _0x5ac5c8=_0x421733;return JSON[_0x5ac5c8(0x2b7)](_0x3a692f)['length'];}class Gi{constructor(){const _0x261c72=_0x421733;g(this,_0x261c72(0x4d8),new _0x28e091()),g(this,_0x261c72(0x58d),this[_0x261c72(0x4d8)]['asObservable']());}[_0x421733(0x516)](_0x4bb8fa){const _0x4ea092=_0x421733;this[_0x4ea092(0x4d8)][_0x4ea092(0x537)](_0x4bb8fa);}}var qn=Object['defineProperty'],zn=Object[_0x421733(0x2e2)],Xn=(_0x16b103,_0xb53f7e,_0x5f4d74,_0x35dfa8)=>{const _0x1a1bf3=_0x421733;for(var _0x4c68a1=_0x35dfa8>0x1?void 0x0:_0x35dfa8?zn(_0xb53f7e,_0x5f4d74):_0xb53f7e,_0x4bab62=_0x16b103[_0x1a1bf3(0x4b1)]-0x1,_0x5ade0b;_0x4bab62>=0x0;_0x4bab62--)(_0x5ade0b=_0x16b103[_0x4bab62])&&(_0x4c68a1=(_0x35dfa8?_0x5ade0b(_0xb53f7e,_0x5f4d74,_0x4c68a1):_0x5ade0b(_0x4c68a1))||_0x4c68a1);return _0x35dfa8&&_0x4c68a1&&qn(_0xb53f7e,_0x5f4d74,_0x4c68a1),_0x4c68a1;},Ks=(_0x173c02,_0x70fa5a)=>(_0x1aff3c,_0x282dbb)=>_0x70fa5a(_0x1aff3c,_0x282dbb,_0x173c02);let Ae=class extends _0x36e463{constructor(_0x5f54ec,_0x2546da){const _0x25f534=_0x421733;super(),g(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x5f54ec,this[_0x25f534(0x4e0)]=_0x2546da,this[_0x25f534(0x40e)](_0xb887b1(_0x3f6cf6(this[_0x25f534(0x49a)][_0x25f534(0x251)](_0x24d9a0[_0x25f534(0x219)])['pipe'](_0x1a5739(_0x5017d2=>_0x5017d2[_0x25f534(0x47f)]())),this[_0x25f534(0x49a)][_0x25f534(0x251)](_0x24d9a0[_0x25f534(0x42a)])[_0x25f534(0x552)](_0x1a5739(_0x3228eb=>_0x3228eb['getUnitId']())),this[_0x25f534(0x49a)]['getTypeOfUnitDisposed$'](_0x24d9a0[_0x25f534(0x1cf)])[_0x25f534(0x552)](_0x1a5739(_0x1f3b58=>_0x1f3b58[_0x25f534(0x47f)]())))[_0x25f534(0x4fc)](_0x275b7d=>this[_0x25f534(0x58f)](_0x275b7d)))));}['setCurrentUser'](_0x17ff56){const _0x45d947=_0x421733;this[_0x45d947(0x4e0)][_0x45d947(0x2fe)](_0x17ff56);}[_0x421733(0x290)](){return this['_userManagerService']['getCurrentUser']();}[_0x421733(0x21c)](_0x1d8b18,_0x27057b){const _0x4b0304=_0x421733;let _0x28f0ed=this[_0x4b0304(0x2cd)][_0x4b0304(0x37c)](_0x1d8b18);_0x28f0ed||(_0x28f0ed=new Jn(),this[_0x4b0304(0x2cd)][_0x4b0304(0x228)](_0x1d8b18,_0x28f0ed)),_0x28f0ed[_0x4b0304(0x21c)](_0x27057b);}['removeMember'](_0x190d33,_0x72815c){const _0x1c0b85=_0x421733,_0x2c91f9=this[_0x1c0b85(0x2cd)][_0x1c0b85(0x37c)](_0x190d33);_0x2c91f9&&_0x2c91f9[_0x1c0b85(0x445)](_0x72815c);}[_0x421733(0x3a8)](_0x34b158){const _0x49d205=_0x421733;return this['_roomMembers'][_0x49d205(0x37c)](_0x34b158);}[_0x421733(0x3da)](_0x421227,_0x5bf27c){const _0x16ac1c=_0x421733,_0x1dbc18=this[_0x16ac1c(0x2cd)][_0x16ac1c(0x37c)](_0x421227);if(_0x1dbc18)return _0x1dbc18[_0x16ac1c(0x3da)](_0x5bf27c);}[_0x421733(0x58f)](_0x4c86da){const _0x27322c=_0x421733,_0x5bfaba=this[_0x27322c(0x2cd)][_0x27322c(0x37c)](_0x4c86da);_0x5bfaba&&(_0x5bfaba[_0x27322c(0x40d)](),this[_0x27322c(0x2cd)][_0x27322c(0x2d8)](_0x4c86da));}[_0x421733(0x40d)](){const _0x2060eb=_0x421733;this[_0x2060eb(0x2cd)][_0x2060eb(0x2d2)](_0x379218=>_0x379218['dispose']()),this['_roomMembers'][_0x2060eb(0x186)]();}};Ae=Xn([Ks(0x0,_0x186a82),Ks(0x1,_0x231990(_0x3b0e15))],Ae);class Jn extends _0x36e463{constructor(){const _0x18f417=_0x421733;super(...arguments),g(this,_0x18f417(0x2c3),new Map());}[_0x421733(0x40d)](){const _0x32882a=_0x421733;this[_0x32882a(0x2c3)][_0x32882a(0x186)]();}[_0x421733(0x21c)](_0x1a2b7a){const _0x1c76cb=_0x421733;this[_0x1c76cb(0x2c3)][_0x1c76cb(0x228)](_0x1a2b7a['memberID'],_0x1a2b7a);}['removeMember'](_0x13b375){const _0x30d694=_0x421733;this[_0x30d694(0x2c3)]['delete'](_0x13b375);}[_0x421733(0x3da)](_0x472e9c){const _0x2a7c1b=_0x421733;return this[_0x2a7c1b(0x2c3)][_0x2a7c1b(0x37c)](_0x472e9c);}['getAllMembers'](){const _0x2f6e51=_0x421733;return Array['from'](this[_0x2f6e51(0x2c3)]['values']());}}var Zn=Object[_0x421733(0x1c6)],Qn=Object[_0x421733(0x2e2)],eo=(_0x23c5a6,_0x544ce7,_0x34dd09,_0x558d56)=>{const _0xd9eb00=_0x421733;for(var _0x244530=_0x558d56>0x1?void 0x0:_0x558d56?Qn(_0x544ce7,_0x34dd09):_0x544ce7,_0x312a3e=_0x23c5a6[_0xd9eb00(0x4b1)]-0x1,_0x45b958;_0x312a3e>=0x0;_0x312a3e--)(_0x45b958=_0x23c5a6[_0x312a3e])&&(_0x244530=(_0x558d56?_0x45b958(_0x544ce7,_0x34dd09,_0x244530):_0x45b958(_0x244530))||_0x244530);return _0x558d56&&_0x244530&&Zn(_0x544ce7,_0x34dd09,_0x244530),_0x244530;},Ee=(_0x393172,_0x107be0)=>(_0x14960b,_0x5a1722)=>_0x107be0(_0x14960b,_0x5a1722,_0x393172),fe=(_0x49be1d=>(_0x49be1d[_0x49be1d[_0x421733(0x23f)]=0x0]='IDLE',_0x49be1d[_0x49be1d[_0x421733(0x487)]=0x1]=_0x421733(0x487),_0x49be1d[_0x49be1d[_0x421733(0x541)]=0x2]='OFFLINE',_0x49be1d[_0x49be1d[_0x421733(0x16b)]=0x3]=_0x421733(0x16b),_0x49be1d))(fe||{});let cs=class extends _0x33a3aa{constructor(_0x55187b,_0x9c7b5b,_0x53308d,_0x8d8375,_0x807bf,_0x31b55a,_0x462195,_0x5799f3,_0xfcaad3,_0xd692f){const _0x4f8e6e=_0x421733;super(),g(this,_0x4f8e6e(0x3df),new _0x461b47(0x0)),g(this,_0x4f8e6e(0x386),this['_sessionStatus$']['asObservable']()),g(this,_0x4f8e6e(0x311),new _0x28e091()),g(this,_0x4f8e6e(0x2dd),this[_0x4f8e6e(0x311)][_0x4f8e6e(0x314)]()),g(this,_0x4f8e6e(0x280)),g(this,_0x4f8e6e(0x542)),g(this,_0x4f8e6e(0x523)),g(this,_0x4f8e6e(0x52d),!0x1),g(this,'_telemetryInfo',null),(this[_0x4f8e6e(0x245)]=_0x55187b,this['_logService']=_0x53308d,this[_0x4f8e6e(0x561)]=_0x8d8375,this[_0x4f8e6e(0x3b3)]=_0x807bf,this[_0x4f8e6e(0x254)]=_0x31b55a,this['_localeService']=_0x462195,this[_0x4f8e6e(0x261)]=_0x5799f3,this[_0x4f8e6e(0x30e)]=_0xfcaad3,this['_telemetryService']=_0xd692f,this[_0x4f8e6e(0x52d)]=!!this[_0x4f8e6e(0x3e5)],_0x9c7b5b[_0x4f8e6e(0x552)](_0x2c50c2(this[_0x4f8e6e(0x4eb)]))[_0x4f8e6e(0x4fc)](_0x243958=>{const _0x397642=_0x4f8e6e;var _0x391d8a;typeof _0x243958>'u'||(this['_socket']=_0x243958,_0x243958?(this[_0x397642(0x2af)](_0x243958),this[_0x397642(0x542)]=_0x243958[_0x397642(0x57e)][_0x397642(0x4fc)](_0x252d00=>{const _0x27d940=_0x397642;_0x252d00[_0x27d940(0x39c)]===this['_unitID']&&this[_0x27d940(0x568)](_0x252d00);})):(this[_0x397642(0x406)](),this[_0x397642(0x3df)][_0x397642(0x537)](0x2),(_0x391d8a=this['_socketMessageSubscription'])==null||_0x391d8a['unsubscribe'](),this[_0x397642(0x542)]=null));}),this[_0x4f8e6e(0x40e)](this[_0x4f8e6e(0x561)][_0x4f8e6e(0x471)](()=>{const _0x102256=_0x4f8e6e;var _0x233dd1;(_0x233dd1=this[_0x102256(0x280)])==null||_0x233dd1[_0x102256(0x211)]({'cmd':W[_0x102256(0x355)],'data':{'roomID':this[_0x102256(0x245)]}});})));}get[_0x421733(0x40a)](){const _0x30461f=_0x421733;return this[_0x30461f(0x3df)][_0x30461f(0x3f5)]();}[_0x421733(0x55a)](){const _0x156828=_0x421733;var _0x34c013,_0x2f044a;return(_0x2f044a=(_0x34c013=this[_0x156828(0x280)])==null?void 0x0:_0x34c013[_0x156828(0x237)])!=null?_0x2f044a:null;}[_0x421733(0x40d)](){const _0x2478fc=_0x421733;super[_0x2478fc(0x40d)](),this[_0x2478fc(0x4eb)][_0x2478fc(0x537)](),this['dispose$']['complete']();}[_0x421733(0x1d7)](){const _0x595249=_0x421733;var _0x1119bb,_0x575d57;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1119bb=this[_0x595249(0x280)])==null||_0x1119bb[_0x595249(0x211)]({'cmd':W[_0x595249(0x355)],'data':{'roomID':this[_0x595249(0x245)]}}),(_0x575d57=this[_0x595249(0x280)])==null||_0x575d57[_0x595249(0x1d7)](),this['_event$'][_0x595249(0x4d3)](),this['_sessionStatus$'][_0x595249(0x4d3)](),this['dispose']();}['_onCombEvent'](_0x2c1dea){const _0x3241f2=_0x421733;_0x2c1dea[_0x3241f2(0x423)]===W[_0x3241f2(0x249)]?this[_0x3241f2(0x530)](_0x2c1dea):_0x2c1dea[_0x3241f2(0x423)]===W['RECV']&&this['_onRecvEvent'](_0x2c1dea);}[_0x421733(0x2af)](_0x49f40b){const _0xdcec6b=_0x421733;this[_0xdcec6b(0x3df)][_0xdcec6b(0x537)](0x1),_0x49f40b[_0xdcec6b(0x211)]({'cmd':W[_0xdcec6b(0x249)],'routeKey':this[_0xdcec6b(0x245)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x421733(0x530)](_0x3e9a86){const _0x292322=_0x421733;var _0x3a88fc;if(_0x3e9a86[_0x292322(0x554)]===ws[_0x292322(0x453)]){this['_messageService'][_0x292322(0x34d)]({'type':_0x1a283f['Warning'],'content':this[_0x292322(0x41a)]['t'](_0x292322(0x1f8))}),this[_0x292322(0x3df)][_0x292322(0x537)](0x2);return;}this['_sessionStatus$'][_0x292322(0x537)](0x3);const _0x3a184c=(_0x3a88fc=_0x3e9a86[_0x292322(0x263)][_0x292322(0x1a5)][this['_unitID']])==null?void 0x0:_0x3a88fc[_0x292322(0x345)];_0x3a184c&&_0x3a184c['forEach'](_0x37edb2=>this['_memberService']['updateMember'](this[_0x292322(0x245)],_0x37edb2));}[_0x421733(0x1d0)](_0x38bb6b){const _0x5e5a84=_0x421733;try{const _0x1a30b0=_0x38bb6b[_0x5e5a84(0x263)];switch(_0x1a30b0['eventID']){case _0xdb349a[_0x5e5a84(0x238)]:this[_0x5e5a84(0x313)](_0x1a30b0),this['_event$'][_0x5e5a84(0x537)](_0x1a30b0);break;case _0xdb349a[_0x5e5a84(0x451)]:this['_onUserLeave'](_0x1a30b0),this[_0x5e5a84(0x311)][_0x5e5a84(0x537)](_0x1a30b0);break;case _0xdb349a[_0x5e5a84(0x380)]:case _0xdb349a[_0x5e5a84(0x50e)]:this[_0x5e5a84(0x2f2)](),this[_0x5e5a84(0x450)](),this['_event$'][_0x5e5a84(0x537)](_0x1a30b0);break;case _0xdb349a[_0x5e5a84(0x433)]:this[_0x5e5a84(0x3b4)][_0x5e5a84(0x3ff)](_0x5e5a84(0x38a)+JSON[_0x5e5a84(0x2b7)](_0x1a30b0)),this['_event$'][_0x5e5a84(0x537)](_0x1a30b0);break;case _0xdb349a[_0x5e5a84(0x340)]:this[_0x5e5a84(0x30e)][_0x5e5a84(0x516)](_0x1a30b0[_0x5e5a84(0x263)]),this[_0x5e5a84(0x311)][_0x5e5a84(0x537)](_0x1a30b0);break;default:this[_0x5e5a84(0x311)][_0x5e5a84(0x537)](_0x1a30b0);}}catch(_0x3bde9a){this[_0x5e5a84(0x3b4)][_0x5e5a84(0x3ff)](_0x3bde9a,_0x38bb6b);}}[_0x421733(0x313)](_0x2aad60){const _0x10c599=_0x421733;this[_0x10c599(0x261)]['updateMember'](this['_unitID'],_0x2aad60[_0x10c599(0x263)]);}[_0x421733(0x393)](_0x71b13e){const _0x4c0864=_0x421733;this[_0x4c0864(0x261)][_0x4c0864(0x445)](this[_0x4c0864(0x245)],_0x71b13e[_0x4c0864(0x263)][_0x4c0864(0x237)]);}async[_0x421733(0x211)](_0x27b321,_0x1da910){const _0x40352f=_0x421733;if(this[_0x40352f(0x40a)]!==0x3||!this[_0x40352f(0x280)])throw new Error(_0x40352f(0x27b));try{_0x27b321['eventID']===_0xdb349a['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x40352f(0x54d)](_0x27b321)),this['_socket'][_0x40352f(0x211)]({'cmd':W[_0x40352f(0x170)],'routeKey':_0x1da910,'routeType':'','data':_0x27b321});}catch(_0x3ab64a){this['_logService']['error'](_0x3ab64a);}}[_0x421733(0x223)](){const _0x11874f=_0x421733;var _0x14644f;this[_0x11874f(0x523)]=window[_0x11874f(0x3c9)](()=>{const _0x239852=_0x11874f;this[_0x239852(0x523)]=null,this[_0x239852(0x3b3)][_0x239852(0x34d)]({'type':_0x1a283f['Error'],'content':this[_0x239852(0x41a)]['t'](_0x239852(0x222))});},(_0x14644f=this[_0x11874f(0x254)][_0x11874f(0x39e)](Bi))!=null?_0x14644f:ki);}['_clearCollaborationTimeoutTimer'](){const _0xb0498=_0x421733;this[_0xb0498(0x523)]&&(clearTimeout(this[_0xb0498(0x523)]),this[_0xb0498(0x523)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5c6ad0){const _0x2b3376=_0x421733;if(!this[_0x2b3376(0x52d)])return;const {data:_0x477561}=_0x5c6ad0,{unitID:_0x41b5a0,changeset:_0x282693}=_0x477561,{mutations:_0x3db540,type:_0x38b199}=_0x282693;this[_0x2b3376(0x336)]={'unitId':_0x41b5a0,'type':_0x38b199,'startTime':performance[_0x2b3376(0x4ab)](),'stopTime':0x0,'duration':0x0,'size':Kn(_0x3db540)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x374cea=_0x421733;if(this[_0x374cea(0x52d)]){if(!this['_telemetryInfo']){this[_0x374cea(0x3b4)][_0x374cea(0x3ff)]('[CollaborationSession]',_0x374cea(0x18e));return;}this['_telemetryInfo'][_0x374cea(0x19d)]=performance['now'](),this[_0x374cea(0x336)]['duration']=this[_0x374cea(0x336)][_0x374cea(0x19d)]-this[_0x374cea(0x336)]['startTime'],this[_0x374cea(0x3e5)][_0x374cea(0x274)](Yn,this[_0x374cea(0x336)]),this[_0x374cea(0x336)]=null;}}[_0x421733(0x406)](){this['_telemetryInfo']=null;}};cs=eo([Ee(0x2,_0x257353),Ee(0x3,_0x59d4b7),Ee(0x4,_0x2cbd8b),Ee(0x5,_0x2cfa70),Ee(0x6,_0x231990(_0x3097b7)),Ee(0x7,_0x231990(Ae)),Ee(0x8,_0x231990(Gi)),Ee(0x9,_0x1f1bd9(_0x377f5b))],cs);var to=Object[_0x421733(0x1c6)],so=Object['getOwnPropertyDescriptor'],io=(_0x2d04ee,_0xeb4988,_0x1b9c44,_0xf20ee0)=>{for(var _0x400738=_0xf20ee0>0x1?void 0x0:_0xf20ee0?so(_0xeb4988,_0x1b9c44):_0xeb4988,_0x1efd4c=_0x2d04ee['length']-0x1,_0x40d235;_0x1efd4c>=0x0;_0x1efd4c--)(_0x40d235=_0x2d04ee[_0x1efd4c])&&(_0x400738=(_0xf20ee0?_0x40d235(_0xeb4988,_0x1b9c44,_0x400738):_0x40d235(_0x400738))||_0x400738);return _0xf20ee0&&_0x400738&&to(_0xeb4988,_0x1b9c44,_0x400738),_0x400738;},ye=(_0x3bba67,_0x57a5b4)=>(_0x481c2d,_0x233540)=>_0x57a5b4(_0x481c2d,_0x233540,_0x3bba67);let Me=class extends _0x36e463{constructor(_0x22e7d7,_0x5f2d63,_0x7a18ff,_0x39d9c9,_0xdb0df3,_0x12ea67,_0x4d159d){const _0x14b3e4=_0x421733;super(),g(this,_0x14b3e4(0x4e6),new _0x461b47(void 0x0)),g(this,_0x14b3e4(0x229),this[_0x14b3e4(0x4e6)][_0x14b3e4(0x314)]()),g(this,_0x14b3e4(0x295),null),g(this,_0x14b3e4(0x3c1),new Map()),g(this,'_status$',new _0x461b47(fe[_0x14b3e4(0x23f)])),g(this,_0x14b3e4(0x218),this[_0x14b3e4(0x4df)][_0x14b3e4(0x314)]()),g(this,_0x14b3e4(0x2c0),!0x1),g(this,_0x14b3e4(0x26f)),g(this,_0x14b3e4(0x277),0x0),g(this,_0x14b3e4(0x2dc)),g(this,_0x14b3e4(0x268)),(this[_0x14b3e4(0x30b)]=_0x22e7d7,this[_0x14b3e4(0x41a)]=_0x5f2d63,this[_0x14b3e4(0x3b3)]=_0x7a18ff,this[_0x14b3e4(0x3b4)]=_0x39d9c9,this[_0x14b3e4(0x254)]=_0xdb0df3,this[_0x14b3e4(0x321)]=_0x12ea67,this[_0x14b3e4(0x379)]=_0x4d159d,this['_initEventListeners']());}get[_0x421733(0x280)](){const _0x57441d=_0x421733;return this[_0x57441d(0x4e6)][_0x57441d(0x3f5)]();}[_0x421733(0x25d)](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x421733(0x40d)](){const _0x231a85=_0x421733;super[_0x231a85(0x40d)](),this[_0x231a85(0x3c1)][_0x231a85(0x2d2)](_0x21fc9b=>_0x21fc9b['dispose']()),this[_0x231a85(0x3c1)][_0x231a85(0x186)](),this['_status$'][_0x231a85(0x4d3)]();}async['requireSession'](_0x1b506f){const _0x40740b=_0x421733;if(this[_0x40740b(0x3c1)]['has'](_0x1b506f))return this[_0x40740b(0x3c1)][_0x40740b(0x37c)](_0x1b506f);this[_0x40740b(0x227)]();const _0x4ffc19=this[_0x40740b(0x30b)][_0x40740b(0x341)](cs,_0x1b506f,this[_0x40740b(0x4e6)]['asObservable']());return this[_0x40740b(0x3c1)]['set'](_0x1b506f,_0x4ffc19),_0x4ffc19;}[_0x421733(0x2f6)](_0x47ca3e){const _0x190696=_0x421733;var _0x20449d;const _0x131cfa=this[_0x190696(0x3c1)]['get'](_0x47ca3e);_0x131cfa&&(this['_sessions']['delete'](_0x47ca3e),_0x131cfa[_0x190696(0x1d7)]()),this['_sessions'][_0x190696(0x402)]||(_0x20449d=this['_socket'])==null||_0x20449d['close']();}[_0x421733(0x52c)](){const _0x4dda69=_0x421733;this[_0x4dda69(0x277)]=0x0,this[_0x4dda69(0x26f)]!=null&&(clearTimeout(this[_0x4dda69(0x26f)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async['_getSessionTicket'](){const _0x3362fc=_0x421733;var _0x3f4534,_0x19591c,_0x3a765e;const _0x1c82cd=this[_0x3362fc(0x254)]['getConfig'](Q),_0x3ed75f=(_0x3f4534=_0x1c82cd==null?void 0x0:_0x1c82cd['wsSessionTicketUrl'])!=null?_0x3f4534:yn;return(_0x3a765e=(_0x19591c=(await this[_0x3362fc(0x379)][_0x3362fc(0x37c)](_0x3ed75f,{'headers':{'Content-Type':'application/json'}}))[_0x3362fc(0x23d)])==null?void 0x0:_0x19591c[_0x3362fc(0x399)])!=null?_0x3a765e:'';}[_0x421733(0x281)](_0x5f4c94){const _0x564e88=_0x421733;var _0x2c5992,_0x4c5f2e;const _0x826624=this[_0x564e88(0x254)]['getConfig'](Rn),_0x143c2e=this['_configService'][_0x564e88(0x39e)](Q),_0x2f039f=(_0x4c5f2e=(_0x2c5992=_0x143c2e==null?void 0x0:_0x143c2e[_0x564e88(0x1ea)])!=null?_0x2c5992:_0x826624)!=null?_0x4c5f2e:On,_0x19a313=new URL(_0x2f039f,window[_0x564e88(0x4b8)][_0x564e88(0x18f)]);return _0x19a313[_0x564e88(0x546)][_0x564e88(0x228)](_0x564e88(0x591),_0x5f4c94),_0x19a313[_0x564e88(0x353)]();}async[_0x421733(0x2cb)](){const _0x2e536d=_0x421733,_0x41b1e4=await this[_0x2e536d(0x33c)](),_0x55fe71=this['_createSocketURL'](_0x41b1e4),_0x14c5d2=this[_0x2e536d(0x321)][_0x2e536d(0x2f0)](_0x55fe71);return this[_0x2e536d(0x295)]=_0x14c5d2,_0x14c5d2;}async[_0x421733(0x227)](){const _0x3fe401=_0x421733;var _0x5731e0,_0x33a782;try{const _0x21c655=(_0x33a782=(_0x5731e0=this[_0x3fe401(0x280)])!=null?_0x5731e0:this[_0x3fe401(0x295)])!=null?_0x33a782:await this[_0x3fe401(0x2cb)]();if(_0x21c655){const _0x14e9c1=_0x21c655['send'];_0x21c655[_0x3fe401(0x211)]=_0x649c51=>(this['_rescheduleHeartbeat'](),_0x14e9c1[_0x3fe401(0x50a)](_0x21c655,[_0x649c51])),_0x21c655['message$'][_0x3fe401(0x4fc)](_0x29a15a=>this[_0x3fe401(0x217)](_0x21c655,_0x29a15a)),_0x21c655[_0x3fe401(0x543)][_0x3fe401(0x552)](_0x19c3b1(0x1))[_0x3fe401(0x4fc)](_0x140f58=>this[_0x3fe401(0x3b4)][_0x3fe401(0x3ff)](_0x3fe401(0x23a),_0x140f58)),_0x21c655[_0x3fe401(0x36d)]['pipe'](_0x19c3b1(0x1))[_0x3fe401(0x4fc)](()=>{const _0x550e46=_0x3fe401;this[_0x550e46(0x27d)](_0x21c655);}),_0x21c655['close$'][_0x3fe401(0x552)](_0x19c3b1(0x1))[_0x3fe401(0x4fc)](_0x52ec4e=>{const _0x491f61=_0x3fe401;this[_0x491f61(0x3b4)][_0x491f61(0x4cc)](_0x491f61(0x266),'socket\x20close',_0x52ec4e),this[_0x491f61(0x372)]();});}}catch(_0x5e6eb6){this[_0x3fe401(0x3b4)][_0x3fe401(0x3ff)](_0x5e6eb6),this[_0x3fe401(0x372)]();}}[_0x421733(0x27d)](_0x2c94dd){const _0x5897ad=_0x421733;this['_logService'][_0x5897ad(0x4cc)](_0x5897ad(0x266),'socket\x20open.'),_0x2c94dd['send']({'cmd':W[_0x5897ad(0x422)]}),this['_rescheduleHeartbeat']();}['_listenToOfflineEvent'](){const _0x182a1c=_0x421733;window[_0x182a1c(0x2c1)](_0x182a1c(0x4fb),()=>this[_0x182a1c(0x573)]());}[_0x421733(0x573)](){const _0x2ad464=_0x421733;this[_0x2ad464(0x2c0)]=!0x1,this[_0x2ad464(0x295)]=null,this[_0x2ad464(0x4df)]['next'](fe['OFFLINE']),this[_0x2ad464(0x4e6)][_0x2ad464(0x537)](null),this[_0x2ad464(0x25a)](),this[_0x2ad464(0x396)]();}['_onConnectionFailed'](){const _0x25f4f3=_0x421733;var _0x34bf41;this[_0x25f4f3(0x573)](),this[_0x25f4f3(0x277)]<((_0x34bf41=this[_0x25f4f3(0x254)][_0x25f4f3(0x39e)](Un))!=null?_0x34bf41:Nn)?(this['_messageService'][_0x25f4f3(0x34d)]({'key':_0x25f4f3(0x3ad),'type':_0x1a283f[_0x25f4f3(0x4ae)],'content':this[_0x25f4f3(0x41a)]['t'](_0x25f4f3(0x41b))}),this['_tryReconnect']()):this[_0x25f4f3(0x3b3)][_0x25f4f3(0x34d)]({'key':_0x25f4f3(0x3ad),'type':_0x1a283f[_0x25f4f3(0x346)],'content':this[_0x25f4f3(0x41a)]['t'](_0x25f4f3(0x28d))});}['_listenToOnlineEvent'](){const _0x402547=_0x421733,_0x4e5574=()=>{this['_socket']||this['reconnect']();},_0x26b9f7=()=>{const _0x280f32=_0x9980;this[_0x280f32(0x280)]||document[_0x280f32(0x2de)]===_0x280f32(0x30a)||this['reconnect']();};window[_0x402547(0x2c1)](_0x402547(0x225),_0x4e5574),document['addEventListener'](_0x402547(0x17b),_0x26b9f7);}[_0x421733(0x507)](){const _0x135e57=_0x421733;var _0x57b077;const _0x128c06=this[_0x135e57(0x277)],_0x18acfe=this[_0x135e57(0x254)][_0x135e57(0x39e)](Q),_0x22ca49=_0x128c06===0x0?0x0:((_0x57b077=_0x18acfe==null?void 0x0:_0x18acfe[_0x135e57(0x187)])!=null?_0x57b077:Pn)*0x2**_0x128c06;this[_0x135e57(0x26f)]=window['setTimeout'](()=>{const _0x3664e7=_0x135e57;clearTimeout(this[_0x3664e7(0x26f)]),this[_0x3664e7(0x26f)]=null,this[_0x3664e7(0x227)]();},_0x22ca49),this['_retryCount']+=0x1;}[_0x421733(0x217)](_0x55822a,_0x37eb23){const _0x333a6e=_0x421733,{cmd:_0x170344}=_0x37eb23;_0x170344===W['HELLO']&&!this[_0x333a6e(0x2c0)]&&(_0x55822a[_0x333a6e(0x237)]=_0x37eb23[_0x333a6e(0x263)][_0x333a6e(0x237)],this[_0x333a6e(0x4e6)][_0x333a6e(0x537)](_0x55822a),this[_0x333a6e(0x4df)][_0x333a6e(0x537)](fe[_0x333a6e(0x16b)]),this['_socketReady']=!0x0,this[_0x333a6e(0x295)]=null),_0x170344===W[_0x333a6e(0x55e)]&&this[_0x333a6e(0x25a)](),this[_0x333a6e(0x42c)]();}['_rescheduleHeartbeat'](){const _0x38ba50=_0x421733;var _0x11e498;this[_0x38ba50(0x396)](),this[_0x38ba50(0x2dc)]=window['setTimeout'](()=>this[_0x38ba50(0x53f)](),(_0x11e498=this[_0x38ba50(0x254)][_0x38ba50(0x39e)](wn))!=null?_0x11e498:Dn);}[_0x421733(0x53f)](){const _0x94a5b=_0x421733;this[_0x94a5b(0x280)]['send']({'cmd':W[_0x94a5b(0x55e)]}),this[_0x94a5b(0x3dd)]();}['_waitForHeartbeatResponse'](){const _0x4b440d=_0x421733;var _0x5093e7;this[_0x4b440d(0x268)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x5093e7=this[_0x4b440d(0x254)]['getConfig'](Bi))!=null?_0x5093e7:ki);}[_0x421733(0x396)](){const _0x405851=_0x421733;this[_0x405851(0x2dc)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x421733(0x25a)](){const _0x5da8ac=_0x421733;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5da8ac(0x268)]=null);}};Me=io([ye(0x0,_0x231990(_0x1d3c8c)),ye(0x1,_0x231990(_0x3097b7)),ye(0x2,_0x2cbd8b),ye(0x3,_0x257353),ye(0x4,_0x2cfa70),ye(0x5,Vi),ye(0x6,_0x231990(_0xee3f76))],Me);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x421733(0x2ac)]((i+0x100)[_0x421733(0x353)](0x10)[_0x421733(0x3e9)](0x1));function ro(_0x22106c,_0x430b75=0x0){const _0x42097a=_0x421733;return(Y[_0x22106c[_0x430b75+0x0]]+Y[_0x22106c[_0x430b75+0x1]]+Y[_0x22106c[_0x430b75+0x2]]+Y[_0x22106c[_0x430b75+0x3]]+'-'+Y[_0x22106c[_0x430b75+0x4]]+Y[_0x22106c[_0x430b75+0x5]]+'-'+Y[_0x22106c[_0x430b75+0x6]]+Y[_0x22106c[_0x430b75+0x7]]+'-'+Y[_0x22106c[_0x430b75+0x8]]+Y[_0x22106c[_0x430b75+0x9]]+'-'+Y[_0x22106c[_0x430b75+0xa]]+Y[_0x22106c[_0x430b75+0xb]]+Y[_0x22106c[_0x430b75+0xc]]+Y[_0x22106c[_0x430b75+0xd]]+Y[_0x22106c[_0x430b75+0xe]]+Y[_0x22106c[_0x430b75+0xf]])[_0x42097a(0x278)]();}let Vt;const no=new Uint8Array(0x10);function oo(){const _0x45dfd6=_0x421733;if(!Vt){if(typeof crypto>'u'||!crypto[_0x45dfd6(0x57f)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Vt=crypto['getRandomValues'][_0x45dfd6(0x3a0)](crypto);}return Vt(no);}const ao=typeof crypto<'u'&&crypto[_0x421733(0x1ba)]&&crypto[_0x421733(0x1ba)][_0x421733(0x3a0)](crypto),qs={'randomUUID':ao};function co(_0x1cdcec,_0x48b65c,_0x41b0dc){const _0x29ce00=_0x421733;if(qs['randomUUID']&&!_0x48b65c&&!_0x1cdcec)return qs[_0x29ce00(0x1ba)]();_0x1cdcec=_0x1cdcec||{};const _0x388647=_0x1cdcec[_0x29ce00(0x400)]||(_0x1cdcec[_0x29ce00(0x452)]||oo)();return _0x388647[0x6]=_0x388647[0x6]&0xf|0x40,_0x388647[0x8]=_0x388647[0x8]&0x3f|0x80,ro(_0x388647);}var ho=Object[_0x421733(0x1c6)],lo=Object[_0x421733(0x2e2)],_o=(_0x3e985d,_0x1e0fe9,_0x21c49b,_0x30667a)=>{const _0x4c0cb5=_0x421733;for(var _0x532a0d=_0x30667a>0x1?void 0x0:_0x30667a?lo(_0x1e0fe9,_0x21c49b):_0x1e0fe9,_0x2df7d3=_0x3e985d[_0x4c0cb5(0x4b1)]-0x1,_0x32a3e4;_0x2df7d3>=0x0;_0x2df7d3--)(_0x32a3e4=_0x3e985d[_0x2df7d3])&&(_0x532a0d=(_0x30667a?_0x32a3e4(_0x1e0fe9,_0x21c49b,_0x532a0d):_0x32a3e4(_0x532a0d))||_0x532a0d);return _0x30667a&&_0x532a0d&&ho(_0x1e0fe9,_0x21c49b,_0x532a0d),_0x532a0d;},Gt=(_0x3fe781,_0x519841)=>(_0x564288,_0x4177f2)=>_0x519841(_0x564288,_0x4177f2,_0x3fe781);let Ot=class{constructor(_0x2f9370,_0x1de736,_0x47c0c1){const _0x5e6544=_0x421733;this[_0x5e6544(0x30b)]=_0x2f9370,this['_transformService']=_0x1de736,this[_0x5e6544(0x370)]=_0x47c0c1;}[_0x421733(0x3c4)](_0xd46c8e){const _0x14cdb7=_0x421733;this[_0x14cdb7(0x3b5)](_0xd46c8e),this[_0x14cdb7(0x553)](_0xd46c8e);}[_0x421733(0x275)](_0x310737){const _0x246279=_0x421733,{unitID:_0x319a04}=_0x310737,_0x13b652=this['_renderManagerService'][_0x246279(0x45b)](_0x319a04)['with'](_0xbafc24),{redoCache:_0x48576c}=_0x13b652[_0x246279(0x39f)]();if(_0x48576c[_0x246279(0x4b1)]===0x0)return _0x310737;let _0xf4dcde=_0x4705c7[_0x246279(0x26d)](_0x310737['mutations'][0x0]);for(let _0x1e0cfc=0x0;_0x1e0cfc<_0x48576c['length'];_0x1e0cfc++){const _0x1138bb={'id':_0x246279(0x2b5),'params':{..._0x48576c[_0x1e0cfc]}},_0x5a2f17=this[_0x246279(0x579)][_0x246279(0x358)](_0xf4dcde,_0x1138bb,!0x1);if(_0x2f8c79(_0x5a2f17))throw _0x5a2f17['error'];_0xf4dcde=_0x5a2f17[_0x246279(0x1c9)];}return{..._0x4705c7[_0x246279(0x26d)](_0x310737),'mutations':[_0xf4dcde]};}[_0x421733(0x3b5)](_0x144261){const _0x32034c=_0x421733,{unitID:_0x3809aa}=_0x144261,_0x5dfcc5=this['_renderManagerService'][_0x32034c(0x45b)](_0x3809aa)[_0x32034c(0x56f)](_0xbafc24),{undoCache:_0x4da780,redoCache:_0x532d94}=_0x5dfcc5[_0x32034c(0x39f)]();if(_0x4da780[_0x32034c(0x4b1)]===0x0||_0x532d94['length']===0x0)return;const _0xcfc827=[],_0x362c36=[];let _0xe2d4eb=_0x4705c7[_0x32034c(0x26d)](_0x144261[_0x32034c(0x501)][0x0]),_0x1bee02=_0x4705c7['deepClone'](_0x144261['mutations'][0x0]);for(let _0x1920d5=_0x4da780['length']-0x1;_0x1920d5>=0x0;_0x1920d5--){const _0x1f052d={'id':_0x32034c(0x2b5),'params':{..._0x4da780[_0x1920d5]}},_0x2f7c7e={'id':_0x32034c(0x2b5),'params':{..._0x532d94[_0x1920d5]}},_0x10e20b=this['_transformService'][_0x32034c(0x358)](_0xe2d4eb,_0x1f052d,!0x1),_0x1877eb=this[_0x32034c(0x579)][_0x32034c(0x358)](_0x1bee02,_0x2f7c7e,!0x1);if(_0x2f8c79(_0x10e20b))throw _0x10e20b[_0x32034c(0x3ff)];if(_0x2f8c79(_0x1877eb))throw _0x1877eb['error'];_0xcfc827[_0x32034c(0x3a1)](_0x10e20b['m2Prime'][_0x32034c(0x3ba)]),_0x362c36[_0x32034c(0x3a1)](_0x1877eb['m2Prime']['params']),_0xe2d4eb=_0x10e20b[_0x32034c(0x1c9)],_0x1bee02=_0x1877eb['m1Prime'];}_0x5dfcc5[_0x32034c(0x190)]({'undoCache':_0xcfc827,'redoCache':_0x362c36});}[_0x421733(0x553)](_0x4e2981){const _0x40b734=_0x421733,{unitID:_0xcc2e2a}=_0x4e2981,_0x1407b7=this[_0x40b734(0x370)]['getRenderById'](_0xcc2e2a)[_0x40b734(0x56f)](_0xbafc24),_0x1e91fa=_0x1407b7[_0x40b734(0x590)]();if(_0x1e91fa==null)return;const _0x30a5be=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e2981[_0x40b734(0x4f8)],'actions':null,'textRanges':[_0x1e91fa]}}],_0x48dd68=this[_0x40b734(0x579)]['transformMutationsWithChangeset'](_0x4e2981,_0x30a5be);if(!_0x3755b3(_0x48dd68))throw _0x48dd68[_0x40b734(0x3ff)];const _0x210000=_0x48dd68[_0x40b734(0x4e7)][0x0][_0x40b734(0x3ba)]['textRanges'];Array[_0x40b734(0x43c)](_0x210000)&&_0x210000[_0x40b734(0x4b1)]&&_0x1407b7[_0x40b734(0x28e)](_0x210000[0x0]);}};Ot=_o([Gt(0x0,_0x231990(_0x1d3c8c)),Gt(0x1,_0x2b2256),Gt(0x2,_0x5d57fe)],Ot);var uo=Object[_0x421733(0x1c6)],fo=Object[_0x421733(0x2e2)],vo=(_0x4db69e,_0x2eb116,_0x631b49,_0x2f9b0f)=>{const _0x55ce75=_0x421733;for(var _0x5bd0d6=_0x2f9b0f>0x1?void 0x0:_0x2f9b0f?fo(_0x2eb116,_0x631b49):_0x2eb116,_0x8769bc=_0x4db69e[_0x55ce75(0x4b1)]-0x1,_0x3d8426;_0x8769bc>=0x0;_0x8769bc--)(_0x3d8426=_0x4db69e[_0x8769bc])&&(_0x5bd0d6=(_0x2f9b0f?_0x3d8426(_0x2eb116,_0x631b49,_0x5bd0d6):_0x3d8426(_0x5bd0d6))||_0x5bd0d6);return _0x2f9b0f&&_0x5bd0d6&&uo(_0x2eb116,_0x631b49,_0x5bd0d6),_0x5bd0d6;},ze=(_0x415b66,_0x29cf1e)=>(_0x49675a,_0x1c4560)=>_0x29cf1e(_0x49675a,_0x1c4560,_0x415b66);let z=class extends _0x36e463{constructor(_0x383054,_0x5ec6c1,_0x4c2f17,_0x45b823,_0x24ee14){const _0x22b6d6=_0x421733;super(),g(this,_0x22b6d6(0x231),new Map()),g(this,_0x22b6d6(0x21d),new Map()),g(this,'_disabled',!0x1),(this[_0x22b6d6(0x254)]=_0x383054,this[_0x22b6d6(0x26b)]=_0x5ec6c1,this[_0x22b6d6(0x561)]=_0x4c2f17,this[_0x22b6d6(0x41a)]=_0x45b823,this[_0x22b6d6(0x250)]=_0x24ee14,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x48be79=_0x421733;this[_0x48be79(0x291)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x421733(0x40d)](){const _0x365d42=_0x421733;this[_0x365d42(0x1f7)]()[_0x365d42(0x1b0)](()=>super['dispose']());}async[_0x421733(0x412)](_0x3b0ba6){const _0xd63f04=_0x421733;return this['_disabled']?null:this[_0xd63f04(0x26b)][_0xd63f04(0x525)](zs(_0x3b0ba6));}async[_0x421733(0x183)](_0x5caaa3,_0x384a79){const _0x21959f=_0x421733;return!!this['_localStorageService'][_0x21959f(0x241)](_0x5caaa3,_0x384a79);}[_0x421733(0x1a8)](_0x321bab,_0x38b388,_0xd768b7,_0x462be3){const _0x4110c2=_0x421733,_0x17b393=this['_revisionService'][_0x4110c2(0x3c0)](_0x321bab);this['_cachedData'][_0x4110c2(0x228)](_0x321bab,{'unitID':_0x321bab,'type':_0x38b388,'awaitingChangeset':_0xd768b7,'mutations':_0x462be3,'rev':_0x17b393}),this[_0x4110c2(0x21d)][_0x4110c2(0x247)](_0x321bab)||this[_0x4110c2(0x3f1)](_0x321bab);}['_scheduleSaving'](_0x50ba82){const _0x5e26da=_0x421733,_0x1e1512=this['_getSaveTimeout']();_0x1e1512===0x0?this[_0x5e26da(0x2c7)](_0x50ba82):this['_saveTaskMap'][_0x5e26da(0x228)](_0x50ba82,setTimeout(()=>this[_0x5e26da(0x2c7)](_0x50ba82),_0x1e1512));}[_0x421733(0x19b)](){const _0x281686=_0x421733;var _0xac71f2;return(_0xac71f2=this[_0x281686(0x254)]['getConfig'](An))!=null?_0xac71f2:Mn;}[_0x421733(0x2c7)](_0x3e82d3){const _0x8504e2=_0x421733,_0x5a8274=this[_0x8504e2(0x21d)]['get'](_0x3e82d3);return _0x5a8274!==void 0x0&&window[_0x8504e2(0x1ff)](_0x5a8274),this[_0x8504e2(0x26b)]['setItem'](zs(_0x3e82d3),this[_0x8504e2(0x231)][_0x8504e2(0x37c)](_0x3e82d3))[_0x8504e2(0x1b0)](()=>this[_0x8504e2(0x21d)][_0x8504e2(0x2d8)](_0x3e82d3));}async[_0x421733(0x1f7)](){const _0x3d4613=_0x421733,_0x7714c3=[];this['_saveTaskMap'][_0x3d4613(0x2d2)]((_0x2b6e2f,_0x1401d3)=>{const _0x287b8b=_0x3d4613;window['clearTimeout'](_0x2b6e2f),_0x7714c3['push'](this['_saveCache'](_0x1401d3)[_0x287b8b(0x1b0)](()=>{const _0x37441b=_0x287b8b;this[_0x37441b(0x21d)][_0x37441b(0x2d8)](_0x1401d3);}));}),await Promise['all'](_0x7714c3);}['_setupBeforeClosingHandler'](){const _0x1b34b9=_0x421733;this[_0x1b34b9(0x40e)](this['_beforeCloseService'][_0x1b34b9(0x461)](()=>{const _0xac5872=_0x1b34b9;if(this[_0xac5872(0x21d)][_0xac5872(0x402)])return this[_0xac5872(0x41a)]['t'](_0xac5872(0x198));}));}};z=vo([ze(0x0,_0x2cfa70),ze(0x1,_0x3ff966),ze(0x2,_0x59d4b7),ze(0x3,_0x231990(_0x3097b7)),ze(0x4,_0x231990(_0x2467a7))],z);function zs(_0x259aed){const _0x1b6c31=_0x421733;return _0x1b6c31(0x505)+_0x259aed;}var po=Object[_0x421733(0x1c6)],mo=Object['getOwnPropertyDescriptor'],go=(_0x15e01d,_0x4d2af0,_0x3ae7a5,_0x1c6905)=>{for(var _0x367b17=_0x1c6905>0x1?void 0x0:_0x1c6905?mo(_0x4d2af0,_0x3ae7a5):_0x4d2af0,_0x5dff02=_0x15e01d['length']-0x1,_0x3bfaf0;_0x5dff02>=0x0;_0x5dff02--)(_0x3bfaf0=_0x15e01d[_0x5dff02])&&(_0x367b17=(_0x1c6905?_0x3bfaf0(_0x4d2af0,_0x3ae7a5,_0x367b17):_0x3bfaf0(_0x367b17))||_0x367b17);return _0x1c6905&&_0x367b17&&po(_0x4d2af0,_0x3ae7a5,_0x367b17),_0x367b17;},Yt=(_0x1e99ac,_0x2b525a)=>(_0x10041,_0x764b55)=>_0x2b525a(_0x10041,_0x764b55,_0x1e99ac);function So(_0x1443c4){const _0x20c2fd=_0x421733,{unitID:_0x27fecd,mutations:_0x23c252}=_0x1443c4;return{'unitId':_0x27fecd,'subUnitId':_0x23c252[0x0][_0x20c2fd(0x3ba)]['subUnitId']};}let yt=class{constructor(_0x3b61b7,_0xff378a,_0x1861f9){const _0x197fe6=_0x421733;this['_injector']=_0x3b61b7,this['_transformService']=_0xff378a,this[_0x197fe6(0x477)]=_0x1861f9;}[_0x421733(0x504)](_0x52a039){const _0x55ebbc=_0x421733;var _0x51c4e1,_0x4b4d72,_0x29ee62,_0x489e3d;const _0x6ea95e=this[_0x55ebbc(0x30b)][_0x55ebbc(0x37c)](_0x2ad53c),{unitId:_0x437ec1,subUnitId:_0x51d38c}=So(_0x52a039),_0x21f5dd=_0x6ea95e['getWorkbookSelections'](_0x437ec1)[_0x55ebbc(0x405)](),_0x28393e=(_0x4b4d72=(_0x51c4e1=this[_0x55ebbc(0x477)]['getUnit'](_0x437ec1))==null?void 0x0:_0x51c4e1[_0x55ebbc(0x40f)]())==null?void 0x0:_0x4b4d72[_0x55ebbc(0x1c8)]();if(_0x21f5dd[_0x55ebbc(0x4b1)]===0x0||!_0x437ec1||!_0x51d38c)return;const _0x52ca32=[{'id':_0x15ebeb['id'],'params':{'unitId':_0x437ec1,'subUnitId':_0x28393e,'selections':_0x4705c7[_0x55ebbc(0x26d)](_0x21f5dd)}}],_0xbaa551=this['_transformService'][_0x55ebbc(0x45f)](_0x52a039,_0x52ca32);if(!_0x3755b3(_0xbaa551))throw _0xbaa551[_0x55ebbc(0x3ff)];const _0x1246c9=(_0x489e3d=(_0x29ee62=_0xbaa551[_0x55ebbc(0x4e7)][0x0])==null?void 0x0:_0x29ee62['params'])==null?void 0x0:_0x489e3d['selections'];if(Array[_0x55ebbc(0x43c)](_0x1246c9)&&_0x1246c9['length']){if(_0x1246c9['length']===_0x52ca32[0x0]['params'][_0x55ebbc(0x1be)][_0x55ebbc(0x4b1)]&&_0x1246c9[_0x55ebbc(0x4b3)]((_0x1072ff,_0x10eb1c)=>_0x1f3690[_0x55ebbc(0x494)](_0x1072ff[_0x55ebbc(0x221)],_0x52ca32[0x0]['params'][_0x55ebbc(0x1be)][_0x10eb1c][_0x55ebbc(0x221)])))return;this['_injector'][_0x55ebbc(0x37c)](_0x5af619)[_0x55ebbc(0x37b)](_0x15ebeb['id'],{'unitId':_0x437ec1,'subUnitId':_0x28393e,'selections':_0x1246c9});}}};yt=go([Yt(0x0,_0x231990(_0x1d3c8c)),Yt(0x1,_0x2b2256),Yt(0x2,_0x186a82)],yt);const Ht=_0x5c8406(_0x421733(0x4f7));var Yi=(_0x570f0a=>(_0x570f0a[_0x570f0a['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x570f0a[_0x570f0a[_0x421733(0x1b5)]=0x1]=_0x421733(0x1b5),_0x570f0a))(Yi||{});const Xs=0x7530,Js=_0x421733(0x4fa);class Io extends _0x36e463{constructor(){const _0xb217ef=_0x421733;super(),g(this,_0xb217ef(0x539),_0x4705c7[_0xb217ef(0x3b8)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0xb217ef(0x4f5),new Map()),g(this,_0xb217ef(0x1bd),null),g(this,'_clearOtherTimers',new Map()),g(this,_0xb217ef(0x260),new Map()),this[_0xb217ef(0x483)]();}[_0x421733(0x40d)](){const _0x53e6c3=_0x421733;super[_0x53e6c3(0x40d)](),this[_0x53e6c3(0x308)][_0x53e6c3(0x2d2)]((_0x4157c1,_0x48bd94)=>this[_0x53e6c3(0x23c)](_0x48bd94)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x421733(0x4c1)](_0x474229){const _0x106673=_0x421733;return this[_0x106673(0x347)](_0x474229)['pipe'](_0x42bb6b());}['editingUnit'](_0x2465dc){const _0x4e6370=_0x421733;this['_selfUnitIDs'][_0x4e6370(0x402)]===0x0&&this[_0x4e6370(0x2bb)](),this[_0x4e6370(0x459)][_0x4e6370(0x27c)](_0x2465dc),this[_0x4e6370(0x32c)]({'type':0x0,'memberID':this[_0x4e6370(0x539)],'unitIDs':[_0x2465dc],'isForwarded':!0x1});}['disposeUnit'](_0x5b33b8){const _0x38f29c=_0x421733;this[_0x38f29c(0x459)]['delete'](_0x5b33b8),this[_0x38f29c(0x459)][_0x38f29c(0x402)]===0x0&&this[_0x38f29c(0x1bd)]&&window['clearInterval'](this[_0x38f29c(0x1bd)]);}['_init'](){const _0x4676e5=_0x421733;this[_0x4676e5(0x40e)](_0xb887b1(_0x2e9bd0(window,_0x4676e5(0x1af))['subscribe'](_0x211bb7=>{const _0x47d664=_0x4676e5;if(_0x211bb7['key']!==Js||!_0x211bb7['newValue'])return;const _0x4f3966=JSON[_0x47d664(0x2e0)](_0x211bb7[_0x47d664(0x38c)]);this[_0x47d664(0x43f)](_0x4f3966);}))),window['addEventListener'](_0x4676e5(0x1f9),()=>this[_0x4676e5(0x32c)]({'type':0x1,'memberID':this[_0x4676e5(0x539)],'unitIDs':Array[_0x4676e5(0x3a7)](this[_0x4676e5(0x459)])}));}[_0x421733(0x43f)](_0x40f738){const _0x186f5a=_0x421733;switch(_0x40f738[_0x186f5a(0x4c2)]){case 0x0:this[_0x186f5a(0x324)](_0x40f738);break;case 0x1:this[_0x186f5a(0x527)](_0x40f738);break;case 0x2:this[_0x186f5a(0x2eb)](_0x40f738);break;}}[_0x421733(0x324)](_0x17ff21){const _0x48d945=_0x421733,{unitIDs:_0x2d6c20,memberID:_0xb76b30,isForwarded:_0x1ad837}=_0x17ff21;_0x2d6c20[_0x48d945(0x2d2)](_0x1330c5=>{const _0x28121d=_0x48d945;if(!_0x1ad837&&this[_0x28121d(0x4f5)][_0x28121d(0x247)](_0x1330c5)&&this['_ensureSubject'](_0x1330c5)[_0x28121d(0x537)](0x1),!this['_unitOnClients'][_0x28121d(0x247)](_0x1330c5)||!this[_0x28121d(0x4f5)]['get'](_0x1330c5)['has'](_0xb76b30)){const _0x51d0c9=this['_unitOnClients'][_0x28121d(0x37c)](_0x1330c5)||new Set();_0x51d0c9['add'](_0xb76b30),this['_unitOnClients'][_0x28121d(0x228)](_0x1330c5,_0x51d0c9),this['_scheduleClearOtherTimer'](_0xb76b30);}}),_0x1ad837||this[_0x48d945(0x32c)]({'type':0x0,'memberID':this[_0x48d945(0x539)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x421733(0x2d0)](_0x2805cf){const _0x2da38e=_0x421733;this['_removeClearOtherTimer'](_0x2805cf);const _0x208146=window[_0x2da38e(0x3c9)](()=>{const _0x4d6afe=_0x2da38e;this[_0x4d6afe(0x4f5)][_0x4d6afe(0x2d2)](_0x531e3f=>{const _0x1b4c52=_0x4d6afe;_0x531e3f[_0x1b4c52(0x2d8)](_0x2805cf);});},Xs*0x2);this[_0x2da38e(0x308)][_0x2da38e(0x228)](_0x2805cf,_0x208146);}[_0x421733(0x23c)](_0x275e9a){const _0x48195d=_0x421733;if(this['_clearOtherTimers'][_0x48195d(0x247)](_0x275e9a)){const _0x566bc3=this['_clearOtherTimers'][_0x48195d(0x37c)](_0x275e9a);_0x566bc3&&window['clearTimeout'](_0x566bc3),this['_clearOtherTimers'][_0x48195d(0x228)](_0x275e9a,null);}}['_handleLeaveEvent'](_0x31bd0e){const _0x231635=_0x421733,{memberID:_0x3bd323,unitIDs:_0x1a847b}=_0x31bd0e;_0x1a847b['forEach'](_0x14b0c9=>{const _0xb3b768=_0x9980;var _0xcaca09;const _0x1cf0d1=this['_unitOnClients'][_0xb3b768(0x37c)](_0x14b0c9);_0x1cf0d1&&(_0x1cf0d1[_0xb3b768(0x2d8)](_0x3bd323),(_0xcaca09=this[_0xb3b768(0x347)](_0x14b0c9))==null||_0xcaca09['next'](_0x1cf0d1[_0xb3b768(0x402)]===0x0?0x0:0x1));}),this[_0x231635(0x23c)](_0x3bd323);}['_handleHeartbeatEvent'](_0x59196a){const _0x3fe407=_0x421733;this[_0x3fe407(0x2d0)](_0x59196a[_0x3fe407(0x237)]);}[_0x421733(0x32c)](_0x269f14){const _0x24fa5a=_0x421733;localStorage[_0x24fa5a(0x241)](Js,JSON['stringify'](_0x269f14));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x309e34=_0x9980;this[_0x309e34(0x32c)]({'type':0x2,'memberID':this[_0x309e34(0x539)]});},Xs);}[_0x421733(0x347)](_0x5e0633){const _0x12eac7=_0x421733;return this[_0x12eac7(0x260)][_0x12eac7(0x247)](_0x5e0633)||this[_0x12eac7(0x260)]['set'](_0x5e0633,new _0x461b47(0x0)),this[_0x12eac7(0x260)]['get'](_0x5e0633);}}var Co=Object[_0x421733(0x1c6)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x71fba3,_0x557960,_0x714b0a,_0x3e6ad5)=>{const _0x5de51e=_0x421733;for(var _0x4192f1=_0x3e6ad5>0x1?void 0x0:_0x3e6ad5?Eo(_0x557960,_0x714b0a):_0x557960,_0x504a4d=_0x71fba3[_0x5de51e(0x4b1)]-0x1,_0x2d19b5;_0x504a4d>=0x0;_0x504a4d--)(_0x2d19b5=_0x71fba3[_0x504a4d])&&(_0x4192f1=(_0x3e6ad5?_0x2d19b5(_0x557960,_0x714b0a,_0x4192f1):_0x2d19b5(_0x4192f1))||_0x4192f1);return _0x3e6ad5&&_0x4192f1&&Co(_0x557960,_0x714b0a,_0x4192f1),_0x4192f1;},Kt=(_0x6b5f28,_0x5bbc4a)=>(_0x2be190,_0x1580dc)=>_0x5bbc4a(_0x2be190,_0x1580dc,_0x6b5f28);let wt=class{constructor(_0x1c0691,_0x36747,_0x166a2c){const _0x14e45e=_0x421733;this[_0x14e45e(0x30b)]=_0x1c0691,this[_0x14e45e(0x579)]=_0x36747,this['_docStateChangeManagerService']=_0x166a2c;}['transformStateCache'](_0x215b96){const _0xf8c3a4=_0x421733;this[_0xf8c3a4(0x2b0)](_0x215b96);}[_0x421733(0x275)](_0x5c5cf8){const _0x3f36e7=_0x421733,{unitID:_0x28754c}=_0x5c5cf8,{collaboration:_0xb62556}=this[_0x3f36e7(0x3b0)][_0x3f36e7(0x4e1)](_0x28754c);if(_0xb62556[_0x3f36e7(0x4b1)]===0x0)return _0x5c5cf8;let _0x2e46c3=_0x4705c7[_0x3f36e7(0x26d)](_0x5c5cf8[_0x3f36e7(0x501)][0x0]);for(let _0x2b237f=0x0;_0x2b237f<_0xb62556[_0x3f36e7(0x4b1)];_0x2b237f++){const _0xf7423={'id':_0x3f36e7(0x2b5),'params':{'unitId':_0xb62556[_0x2b237f][_0x3f36e7(0x194)],..._0xb62556[_0x2b237f]['redoState']}},_0x2991e0=this[_0x3f36e7(0x579)][_0x3f36e7(0x358)](_0x2e46c3,_0xf7423,!0x1);if(_0x2f8c79(_0x2991e0))throw _0x2991e0['error'];_0x2e46c3=_0x2991e0[_0x3f36e7(0x1c9)];}return{..._0x4705c7[_0x3f36e7(0x26d)](_0x5c5cf8),'mutations':[_0x2e46c3]};}['_transformHistoryAndStateStack'](_0x8cee92){const _0x2460e6=_0x421733,{unitID:_0x3d2751}=_0x8cee92,{history:_0x34efa7,collaboration:_0x815d3f}=this[_0x2460e6(0x3b0)][_0x2460e6(0x4e1)](_0x3d2751);if(_0x34efa7['length']===0x0&&_0x815d3f[_0x2460e6(0x4b1)]===0x0)return;const _0x16d343=[],_0x59fc25=[];let _0x35c419=_0x4705c7['deepClone'](_0x8cee92[_0x2460e6(0x501)][0x0]),_0x2cdd66=_0x4705c7[_0x2460e6(0x26d)](_0x8cee92[_0x2460e6(0x501)][0x0]);for(let _0x5b332e=_0x34efa7[_0x2460e6(0x4b1)]-0x1;_0x5b332e>=0x0;_0x5b332e--){const _0x176759={'id':_0x2460e6(0x2b5),'params':{'unitId':_0x34efa7[_0x5b332e][_0x2460e6(0x194)],..._0x34efa7[_0x5b332e][_0x2460e6(0x3d3)]}},_0x28b37e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34efa7[_0x5b332e]['unitId'],..._0x34efa7[_0x5b332e][_0x2460e6(0x474)]}},_0x179ba0=this[_0x2460e6(0x579)][_0x2460e6(0x358)](_0x35c419,_0x176759,!0x1),_0x612616=this[_0x2460e6(0x579)]['transformMutation'](_0x2cdd66,_0x28b37e,!0x1);if(_0x2f8c79(_0x179ba0))throw _0x179ba0[_0x2460e6(0x3ff)];if(_0x2f8c79(_0x612616))throw _0x612616[_0x2460e6(0x3ff)];_0x16d343[_0x2460e6(0x3a1)]({..._0x34efa7[_0x5b332e],'undoState':_0x179ba0[_0x2460e6(0x4e7)][_0x2460e6(0x3ba)],'redoState':_0x612616['m2Prime'][_0x2460e6(0x3ba)]}),_0x35c419=_0x179ba0[_0x2460e6(0x1c9)],_0x2cdd66=_0x612616[_0x2460e6(0x1c9)];}_0x35c419=_0x4705c7[_0x2460e6(0x26d)](_0x8cee92[_0x2460e6(0x501)][0x0]),_0x2cdd66=_0x4705c7[_0x2460e6(0x26d)](_0x8cee92[_0x2460e6(0x501)][0x0]);for(let _0xf8de1c=_0x815d3f[_0x2460e6(0x4b1)]-0x1;_0xf8de1c>=0x0;_0xf8de1c--){const _0x4d4b19={'id':_0x2460e6(0x2b5),'params':{'unitId':_0x815d3f[_0xf8de1c][_0x2460e6(0x194)],..._0x815d3f[_0xf8de1c][_0x2460e6(0x3d3)]}},_0x27260d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x815d3f[_0xf8de1c][_0x2460e6(0x194)],..._0x815d3f[_0xf8de1c]['redoState']}},_0x40c18=this[_0x2460e6(0x579)][_0x2460e6(0x358)](_0x35c419,_0x4d4b19,!0x1),_0x327326=this[_0x2460e6(0x579)][_0x2460e6(0x358)](_0x2cdd66,_0x27260d,!0x1);if(_0x2f8c79(_0x40c18))throw _0x40c18[_0x2460e6(0x3ff)];if(_0x2f8c79(_0x327326))throw _0x327326['error'];_0x59fc25[_0x2460e6(0x3a1)]({..._0x815d3f[_0xf8de1c],'undoState':_0x40c18[_0x2460e6(0x4e7)][_0x2460e6(0x3ba)],'redoState':_0x327326[_0x2460e6(0x4e7)][_0x2460e6(0x3ba)]}),_0x35c419=_0x40c18[_0x2460e6(0x1c9)],_0x2cdd66=_0x327326[_0x2460e6(0x1c9)];}this['_docStateChangeManagerService'][_0x2460e6(0x3de)](_0x3d2751,{'history':_0x16d343,'collaboration':_0x59fc25});}};wt=bo([Kt(0x0,_0x231990(_0x1d3c8c)),Kt(0x1,_0x2b2256),Kt(0x2,_0x231990(_0x283ec1))],wt);function Ki(_0x2b4129){const _0x29cc4d=_0x421733;let _0x1a0d08='';for(const _0x59a02a of _0x2b4129){const {startOffset:_0x43cf2b,endOffset:_0x921072,isActive:_0x3993d2,rangeType:_0x1c4f4d,segmentId:_0x162ff4,segmentPage:_0x13220a}=_0x59a02a;_0x1a0d08[_0x29cc4d(0x4b1)]&&(_0x1a0d08+=','),_0x1a0d08+=_0x43cf2b+':'+_0x921072+':'+(_0x3993d2?'1':'0')+':'+_0x1c4f4d+':'+_0x162ff4+':'+_0x13220a;}return _0x1a0d08;}function To(_0x300208){const _0x1ca86a=_0x421733,_0x1ba599=_0x300208[_0x1ca86a(0x233)](','),_0x51af91=[];for(const _0x54dedc of _0x1ba599){const [_0x432e8a,_0x13ab40,_0x386420,_0x1876c3,_0x16cd38,_0x4f3b96]=_0x54dedc[_0x1ca86a(0x233)](':');_0x51af91[_0x1ca86a(0x2ac)]({'startOffset':Number(_0x432e8a),'endOffset':Number(_0x13ab40),'collapsed':_0x432e8a===_0x13ab40,'isActive':_0x386420==='1','rangeType':_0x1876c3===_0x24d6fa[_0x1ca86a(0x480)]?_0x24d6fa['TEXT']:_0x24d6fa['RECT'],'segmentId':typeof _0x16cd38==_0x1ca86a(0x354)?String(_0x16cd38):'','segmentPage':Number(_0x4f3b96!=null?_0x4f3b96:-0x1)});}return _0x51af91[_0x1ca86a(0x3b6)](_0xfe7a2b=>_0xfe7a2b['isActive'])||(_0x51af91[0x0]['isActive']=!0x0),_0x51af91;}class Ds extends _0x33a3aa{constructor(){const _0x4b4cb9=_0x421733;super(...arguments),g(this,'_collabCursorState$',new _0x461b47(null)),g(this,'collabCursorState$',this['_collabCursorState$'][_0x4b4cb9(0x314)]());}[_0x421733(0x172)](_0x4ed67b){const _0x45fb3d=_0x421733,{unitID:_0x463607,memberID:_0x59fa45,textRanges:_0x2cbab2}=_0x4ed67b,_0x593e48=Ki(_0x2cbab2);if(_0x593e48==='')return;const _0x406a49={'unitID':_0x463607,'memberID':_0x59fa45,'selection':_0x593e48};this[_0x45fb3d(0x1e2)][_0x45fb3d(0x537)](_0x406a49);}}var Ro=Object[_0x421733(0x1c6)],Oo=Object[_0x421733(0x2e2)],yo=(_0x2c3410,_0x2bd820,_0x5546d2,_0x55d5d7)=>{for(var _0x1590a3=_0x55d5d7>0x1?void 0x0:_0x55d5d7?Oo(_0x2bd820,_0x5546d2):_0x2bd820,_0x37d5c8=_0x2c3410['length']-0x1,_0x336d38;_0x37d5c8>=0x0;_0x37d5c8--)(_0x336d38=_0x2c3410[_0x37d5c8])&&(_0x1590a3=(_0x55d5d7?_0x336d38(_0x2bd820,_0x5546d2,_0x1590a3):_0x336d38(_0x1590a3))||_0x1590a3);return _0x55d5d7&&_0x1590a3&&Ro(_0x2bd820,_0x5546d2,_0x1590a3),_0x1590a3;},Zs=(_0x4c4914,_0x45fb10)=>(_0x12eb24,_0x4a63c8)=>_0x45fb10(_0x12eb24,_0x4a63c8,_0x4c4914);let Dt=class{constructor(_0x5dacd4,_0x274b50){const _0x3f5e5a=_0x421733;this[_0x3f5e5a(0x30b)]=_0x5dacd4,this[_0x3f5e5a(0x579)]=_0x274b50;}['transformSelections'](_0x38ab1d){const _0x14f3ef=_0x421733;var _0x40eb23;const _0x4fff8f=this[_0x14f3ef(0x30b)]['get'](_0x41a45f),_0x506f7b=(_0x40eb23=_0x4fff8f[_0x14f3ef(0x46f)]())!=null?_0x40eb23:[];if(_0x506f7b['length']===0x0)return;const _0x29232e=_0x38ab1d[_0x14f3ef(0x4f8)],_0x1e9ed4=[{'id':_0x14f3ef(0x2b5),'params':{'unitId':_0x29232e,'actions':null,'textRanges':_0x506f7b}}],_0x3665ef=this[_0x14f3ef(0x579)][_0x14f3ef(0x45f)](_0x38ab1d,_0x1e9ed4);if(!_0x3755b3(_0x3665ef))throw _0x3665ef[_0x14f3ef(0x3ff)];const _0x52fe94=_0x3665ef['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0x52fe94)&&_0x52fe94[_0x14f3ef(0x4b1)]&&_0x4fff8f[_0x14f3ef(0x4c4)](_0x52fe94,{'unitId':_0x29232e,'subUnitId':_0x29232e},!0x1);}};Dt=yo([Zs(0x0,_0x231990(_0x1d3c8c)),Zs(0x1,_0x2b2256)],Dt);const wo=new Set([_0xbce329['id']]);function Qs(_0x51262d,_0x489aa8,_0x25830f,_0x1904a5,_0xcb8e69){const _0x36fa48=_0x421733;var _0x245370,_0x1b3ee9,_0xe314d6,_0x3edf79;const _0x3dd906=[];for(const _0x3bc912 of _0x51262d)if(wo['has'](_0x3bc912['id'])){if(_0x3dd906['length']>0x0)break;_0x3dd906[_0x36fa48(0x2ac)](_0x3bc912);break;}else _0x3dd906[_0x36fa48(0x2ac)](_0x3bc912);const _0x5e93d3=(_0x1b3ee9=(_0x245370=_0xcb8e69[_0x36fa48(0x290)]())==null?void 0x0:_0x245370['userID'])!=null?_0x1b3ee9:_0x36fa48(0x2a0),_0x4b1600=(_0x3edf79=(_0xe314d6=_0xcb8e69['getCurrentUser']())==null?void 0x0:_0xe314d6[_0x36fa48(0x237)])!=null?_0x3edf79:_0x36fa48(0x2a0);return{'changeset':{'unitID':_0x489aa8,'type':_0x556097(_0x25830f[_0x36fa48(0x300)](_0x489aa8)),'baseRev':_0x1904a5[_0x36fa48(0x3c0)](_0x489aa8),'revision':0x0,'userID':_0x5e93d3,'memberID':_0x4b1600,'mutations':_0x3dd906},'pendingMutations':_0x51262d['slice'](_0x3dd906[_0x36fa48(0x4b1)])};}function Do(_0xe4579d,_0x127fcb,_0x422343,_0x13c46e,_0x2cda47){const _0x482c81=_0x421733;var _0x29e8b3,_0x39c26a,_0x7b662,_0x31e962;const _0x391cfa=[_0xe4579d[_0x482c81(0x1b2)]((_0xfb99d6,_0x34eb62)=>{const _0x3a74f9=_0x482c81;var _0x543aaa;const {id:_0x3fb700}=_0xfb99d6,{id:_0x2c3d9c,type:_0x493e7f}=_0x34eb62,_0x29d069=(_0x543aaa=_0xfb99d6[_0x3a74f9(0x3ba)])!=null?_0x543aaa:{'actions':null},_0xa9287f=_0x34eb62['params'];if(_0x3fb700&&_0x3fb700!==_0x2c3d9c)throw new Error(_0x3a74f9(0x1c5)+_0x3fb700+_0x3a74f9(0x3f9)+_0x2c3d9c+'.');return{..._0xfb99d6,'id':_0x2c3d9c,'type':_0x493e7f,'params':{'unitId':_0xa9287f[_0x3a74f9(0x194)],'textRanges':_0xa9287f[_0x3a74f9(0x2a9)],'actions':_0x172e20[_0x3a74f9(0x318)](_0x29d069[_0x3a74f9(0x276)],_0xa9287f[_0x3a74f9(0x276)])}};},{})],_0x16af90=(_0x39c26a=(_0x29e8b3=_0x2cda47[_0x482c81(0x290)]())==null?void 0x0:_0x29e8b3[_0x482c81(0x24a)])!=null?_0x39c26a:'unknown',_0x144a2b=(_0x31e962=(_0x7b662=_0x2cda47[_0x482c81(0x290)]())==null?void 0x0:_0x7b662[_0x482c81(0x237)])!=null?_0x31e962:_0x482c81(0x2a0);return{'changeset':{'unitID':_0x127fcb,'type':_0x556097(_0x422343[_0x482c81(0x300)](_0x127fcb)),'baseRev':_0x13c46e['getCurrentRevOfUnit'](_0x127fcb),'revision':0x0,'userID':_0x16af90,'memberID':_0x144a2b,'mutations':_0x391cfa},'pendingMutations':[]};}function qi(_0x4c94ab,_0x8b70f5){const _0xdf6ca8=_0x421733,_0x459b7b=new _0x16723c(0x1);return setTimeout(()=>_0x459b7b[_0xdf6ca8(0x537)](_0x8b70f5),_0x4c94ab),_0x459b7b[_0xdf6ca8(0x314)]()[_0xdf6ca8(0x552)](_0x329c5b(0x1));}const Po={'id':_0x3cc519['id'],'type':_0x330e8b[_0x421733(0x446)],'params':{}};var Uo=Object[_0x421733(0x1c6)],No=Object[_0x421733(0x2e2)],Le=(_0x474d78,_0xf02036,_0x33a90b,_0x2542db)=>{for(var _0xa1d21a=_0x2542db>0x1?void 0x0:_0x2542db?No(_0xf02036,_0x33a90b):_0xf02036,_0xe99829=_0x474d78['length']-0x1,_0x316be0;_0xe99829>=0x0;_0xe99829--)(_0x316be0=_0x474d78[_0xe99829])&&(_0xa1d21a=(_0x2542db?_0x316be0(_0xf02036,_0x33a90b,_0xa1d21a):_0x316be0(_0xa1d21a))||_0xa1d21a);return _0x2542db&&_0xa1d21a&&Uo(_0xf02036,_0x33a90b,_0xa1d21a),_0xa1d21a;},A=(_0x3a547d,_0x42be08)=>(_0x2acbc1,_0xf6c09b)=>_0x42be08(_0x2acbc1,_0xf6c09b,_0x3a547d),J=(_0x3f6915=>(_0x3f6915['NOT_COLLAB']=_0x421733(0x533),_0x3f6915[_0x421733(0x213)]=_0x421733(0x294),_0x3f6915[_0x421733(0x436)]='pending',_0x3f6915[_0x421733(0x4d2)]=_0x421733(0x17c),_0x3f6915['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x3f6915['FETCH_MISS']=_0x421733(0x404),_0x3f6915[_0x421733(0x31d)]=_0x421733(0x2d7),_0x3f6915[_0x421733(0x541)]=_0x421733(0x4fb),_0x3f6915))(J||{});const zi=0xea60;class $e{constructor(_0x5f0f47,_0x29a79c,_0x302b5f,_0x182577,_0x4b1375,_0x3408b2,_0x498e77,_0x5c9956,_0x4bedf4){const _0x485c61=_0x421733;g(this,_0x485c61(0x392),null),g(this,_0x485c61(0x4d1),[]),(this[_0x485c61(0x4f8)]=_0x5f0f47,this[_0x485c61(0x4c2)]=_0x29a79c,this[_0x485c61(0x27f)]=_0x4b1375,this[_0x485c61(0x39a)]=_0x3408b2,this[_0x485c61(0x484)]=_0x498e77,this[_0x485c61(0x250)]=_0x5c9956,this[_0x485c61(0x434)]=_0x4bedf4,this[_0x485c61(0x392)]=_0x302b5f,this[_0x485c61(0x4d1)]=_0x182577);}[_0x421733(0x560)](_0x5ea32e){const _0x4d38b8=_0x421733,_0x1d1197=this[_0x4d38b8(0x250)][_0x4d38b8(0x3c0)](this['unitID']);return _0x5ea32e[_0x4d38b8(0x55f)]>_0x1d1197+0x1?(this[_0x4d38b8(0x27f)][_0x4d38b8(0x1ca)]({'from':_0x1d1197,'to':_0x5ea32e[_0x4d38b8(0x55f)]-0x1}),!0x0):!0x1;}[_0x421733(0x53e)](_0x36ea2e){const _0x23bb6d=_0x421733;this[_0x23bb6d(0x484)][_0x23bb6d(0x1f5)](this[_0x23bb6d(0x4f8)],_0x36ea2e);}[_0x421733(0x506)](_0x3a1f9f){const _0x3705a4=_0x421733;var _0x1ca4f3,_0x2a9cf3;(_0x2a9cf3=(_0x1ca4f3=this[_0x3705a4(0x27f)])[_0x3705a4(0x35c)])==null||_0x2a9cf3['call'](_0x1ca4f3,_0x3a1f9f);}[_0x421733(0x31e)](_0x10e1ae){const _0x341570=_0x421733;var _0x10bb23,_0x288a48;return(_0x288a48=(_0x10bb23=this[_0x341570(0x27f)])['onTransformIME'])==null?void 0x0:_0x288a48['call'](_0x10bb23,_0x10e1ae);}[_0x421733(0x571)](_0x395e7e){const _0x2569fc=_0x421733;var _0x37fa47,_0x3ae390;return(_0x3ae390=(_0x37fa47=this[_0x2569fc(0x27f)])[_0x2569fc(0x3f4)])==null?void 0x0:_0x3ae390[_0x2569fc(0x4bf)](_0x37fa47,_0x395e7e);}['_transformRemoteChangesetByIMECache'](_0x28bea8){const _0x37423e=_0x421733;var _0x5b7f90,_0x5ac5a3,_0x42e0b0;return(_0x42e0b0=(_0x5ac5a3=(_0x5b7f90=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5ac5a3[_0x37423e(0x4bf)](_0x5b7f90,_0x28bea8))!=null?_0x42e0b0:_0x28bea8;}[_0x421733(0x510)](_0x5a8fe3){const _0x2bb60b=_0x421733;var _0x27d4b3,_0x3aac44,_0x71b0e5;return(_0x71b0e5=(_0x3aac44=(_0x27d4b3=this[_0x2bb60b(0x27f)])[_0x2bb60b(0x298)])==null?void 0x0:_0x3aac44[_0x2bb60b(0x4bf)](_0x27d4b3,_0x5a8fe3))!=null?_0x71b0e5:_0x5a8fe3;}[_0x421733(0x239)](_0x54bb12){const _0x390d05=_0x421733;var _0x16e292,_0x45758d;if(this[_0x390d05(0x4c2)]===ae[_0x390d05(0x42a)]){const {unitID:_0x2d805d,mutations:_0x549f3e,memberID:_0x57ba7e}=_0x54bb12,_0x246358=_0x549f3e[0x0]['params'][_0x390d05(0x2a9)];Array[_0x390d05(0x43c)](_0x246358)&&_0x246358[_0x390d05(0x4b1)]>0x0&&((_0x45758d=(_0x16e292=this[_0x390d05(0x27f)])['onSyncEditingCollabCursor'])==null||_0x45758d[_0x390d05(0x4bf)](_0x16e292,{'unitID':_0x2d805d,'memberID':_0x57ba7e,'textRanges':_0x246358}));}}['_updateLocalCache'](){const _0x25af62=_0x421733;this[_0x25af62(0x434)]['updateOfflineData'](this[_0x25af62(0x4f8)],this[_0x25af62(0x4c2)],this[_0x25af62(0x392)],this[_0x25af62(0x4d1)]);}[_0x421733(0x1d3)](){const _0x268186=_0x421733;return this['_revisionService'][_0x268186(0x3c0)](this['unitID']);}[_0x421733(0x454)](){const _0xe2b81e=_0x421733;this[_0xe2b81e(0x250)][_0xe2b81e(0x305)](this['unitID']);}[_0x421733(0x593)](_0x367f90){const _0x321ed7=_0x421733;var _0x1399f5;let _0x319c51=this[_0x321ed7(0x585)](_0x367f90);_0x319c51=this[_0x321ed7(0x510)](_0x319c51);const _0x5294ef=_0x169100(_0x319c51[_0x321ed7(0x501)],this[_0x321ed7(0x39a)],{'fromCollab':!0x0});if(!_0x5294ef[_0x321ed7(0x259)])throw _0x5294ef[_0x321ed7(0x3ff)]instanceof Error?_0x5294ef[_0x321ed7(0x3ff)]:new Error((_0x1399f5=_0x5294ef[_0x321ed7(0x3ff)])!=null?_0x1399f5:_0x321ed7(0x587));this[_0x321ed7(0x31e)](_0x319c51),this[_0x321ed7(0x571)](_0x319c51),this[_0x321ed7(0x53e)](_0x367f90),this[_0x321ed7(0x506)](_0x319c51),this[_0x321ed7(0x239)](_0x319c51),this[_0x321ed7(0x454)]();}}let We=class extends $e{constructor(_0x2d166a,_0x57c269,_0xe58e7d,_0x164f1e,_0x10842,_0x6945c2,_0x164244,_0x5db43a,_0x23ecb1,_0xbb93f6){const _0x435f40=_0x421733;super(_0x2d166a,_0x57c269,null,[],_0xe58e7d,_0x5db43a,_0x164244,_0x164f1e,_0x10842),g(this,'status',_0x435f40(0x294)),(this['_injector']=_0x6945c2,this[_0x435f40(0x3b4)]=_0x23ecb1,this['_transformService']=_0xbb93f6);}[_0x421733(0x214)](_0x474bdc){const _0x380729=_0x421733,_0x4dd988=this[_0x380729(0x30b)][_0x380729(0x341)](pe,this[_0x380729(0x4f8)],this[_0x380729(0x4c2)],[_0x474bdc],this['_handler']);return _0x4dd988[_0x380729(0x2e8)](),_0x4dd988[_0x380729(0x2ad)](),_0x4dd988;}['onRemoteChangeset'](_0x25959f){const _0x596b05=_0x421733;if(this[_0x596b05(0x560)](_0x25959f))return this['_injector'][_0x596b05(0x341)](ce,this['unitID'],this[_0x596b05(0x4c2)],null,[],null,[_0x25959f],this[_0x596b05(0x27f)]);try{const _0xac69ad=this[_0x596b05(0x579)][_0x596b05(0x45f)](_0x25959f,[Po]);if(_0x3755b3(_0xac69ad)){const {c1Prime:_0x4431e7}=_0xac69ad;return this[_0x596b05(0x593)](_0x4431e7),this;}throw _0xac69ad[_0x596b05(0x3ff)];}catch(_0x34d95e){return this[_0x596b05(0x3b4)][_0x596b05(0x3ff)](_0x34d95e),this[_0x596b05(0x363)](!0x1);}}['_onConflict'](_0x106bd3){const _0x1e3cb0=_0x421733;return this[_0x1e3cb0(0x30b)][_0x1e3cb0(0x341)](Re,this[_0x1e3cb0(0x4f8)],this[_0x1e3cb0(0x4c2)],null,[],this['_handler'],_0x106bd3);}[_0x421733(0x1c3)](){const _0x1ed772=_0x421733;throw new Error(_0x1ed772(0x578));}['onRemoteRej'](){const _0xce5a32=_0x421733;throw new Error(_0xce5a32(0x429));}['onRemoteRetry'](){return this;}[_0x421733(0x3af)](){const _0x310b7f=_0x421733;return this['_injector'][_0x310b7f(0x341)](Oe,this[_0x310b7f(0x4f8)],this['type'],null,[],this[_0x310b7f(0x27f)]);}[_0x421733(0x17f)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x233027=_0x421733,_0x553b96=this[_0x233027(0x250)]['getCurrentRevOfUnit'](this[_0x233027(0x4f8)]);return this[_0x233027(0x27f)][_0x233027(0x1ca)]({'from':_0x553b96,'to':0x0}),this['_injector'][_0x233027(0x341)](ce,this[_0x233027(0x4f8)],this[_0x233027(0x4c2)],null,[],null,[],this[_0x233027(0x27f)]);}};We=Le([A(0x3,_0x231990(_0x2467a7)),A(0x4,_0x231990(z)),A(0x5,_0x231990(_0x1d3c8c)),A(0x6,_0x306efe),A(0x7,_0x5af619),A(0x8,_0x257353),A(0x9,_0x2b2256)],We);let pe=class extends $e{constructor(_0x2a8a2b,_0x4072d8,_0x3084d3,_0x557fd9,_0x5653f5,_0x5e7e41,_0x1b7788,_0x33d969,_0x1bb36d,_0x3d74f8,_0x41780d,_0xef2702,_0x458028,_0x5394ea){const _0x6354c6=_0x421733;super(_0x2a8a2b,_0x4072d8,null,_0x3084d3,_0x557fd9,_0x3d74f8,_0x5394ea,_0x5e7e41,_0x1b7788),g(this,'status',_0x6354c6(0x4a9)),g(this,_0x6354c6(0x325),null),g(this,_0x6354c6(0x36a),null),(this['_injector']=_0x5653f5,this['_memberService']=_0x33d969,this[_0x6354c6(0x3b4)]=_0x1bb36d,this['_configService']=_0x41780d,this[_0x6354c6(0x579)]=_0xef2702,this['_univerInstanceService']=_0x458028);}[_0x421733(0x214)](_0x31da66){const _0x1ea5e8=_0x421733;return this[_0x1ea5e8(0x4d1)]['push'](_0x31da66),this[_0x1ea5e8(0x2ad)](),this;}[_0x421733(0x1b9)](_0x20f162){const _0x1e881f=_0x421733;if(this['_checkMissing'](_0x20f162))return this[_0x1e881f(0x39b)](),this[_0x1e881f(0x30b)][_0x1e881f(0x341)](ce,this[_0x1e881f(0x4f8)],this[_0x1e881f(0x4c2)],null,this[_0x1e881f(0x4d1)],null,[_0x20f162],this['_handler']);try{const _0x585950=this['_transformService'][_0x1e881f(0x45f)](_0x20f162,this[_0x1e881f(0x4d1)]);if(_0x3755b3(_0x585950)){const {c1Prime:_0xa6fe5f,m2Prime:_0xb01945}=_0x585950;this[_0x1e881f(0x593)](_0xa6fe5f);const _0x5b2f96=this['_injector']['createInstance'](pe,this[_0x1e881f(0x4f8)],this[_0x1e881f(0x4c2)],_0xb01945,this[_0x1e881f(0x27f)]);return this['_clearScheduledTask'](),_0x5b2f96[_0x1e881f(0x2e8)](this[_0x1e881f(0x325)]?Math[_0x1e881f(0x256)](0x0,new Date()[_0x1e881f(0x2fb)]()-this[_0x1e881f(0x325)]):this[_0x1e881f(0x1b3)]()),_0x5b2f96;}throw _0x585950[_0x1e881f(0x3ff)];}catch(_0x455b63){return this['_logService'][_0x1e881f(0x3ff)](_0x455b63),this[_0x1e881f(0x363)](!0x1);}}[_0x421733(0x1c3)](){const _0x10b921=_0x421733;throw new Error(_0x10b921(0x51c));}[_0x421733(0x46c)](){const _0x20d5ef=_0x421733;throw new Error(_0x20d5ef(0x350));}[_0x421733(0x2be)](){return this;}['toggleOffline'](){const _0x18afa7=_0x421733;return this[_0x18afa7(0x39b)](),this[_0x18afa7(0x30b)][_0x18afa7(0x341)](Oe,this[_0x18afa7(0x4f8)],this[_0x18afa7(0x4c2)],null,this[_0x18afa7(0x4d1)],this[_0x18afa7(0x27f)]);}[_0x421733(0x17f)](){return this;}[_0x421733(0x2e8)](_0x540571){const _0x49e488=_0x421733,_0x2b3d6b=_0x540571!=null?_0x540571:this[_0x49e488(0x1b3)]();this[_0x49e488(0x325)]=new Date()[_0x49e488(0x2fb)](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x228bdb=_0x49e488;this[_0x228bdb(0x39b)]();let _0x5a96d9=null;switch(this['type']){case ae[_0x228bdb(0x219)]:{_0x5a96d9=Qs(this[_0x228bdb(0x4d1)],this[_0x228bdb(0x4f8)],this[_0x228bdb(0x49a)],this[_0x228bdb(0x250)],this[_0x228bdb(0x261)]);break;}case ae[_0x228bdb(0x42a)]:{this[_0x228bdb(0x4d1)][_0x228bdb(0x4b3)](_0x199e49=>_0x199e49['id']===_0x21e608['id'])?_0x5a96d9=Do(this[_0x228bdb(0x4d1)],this['unitID'],this[_0x228bdb(0x49a)],this['_revisionService'],this[_0x228bdb(0x261)]):_0x5a96d9=Qs(this[_0x228bdb(0x4d1)],this[_0x228bdb(0x4f8)],this['_univerInstanceService'],this['_revisionService'],this[_0x228bdb(0x261)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x228bdb(0x4c2)]+_0x228bdb(0x319));}const {changeset:_0x4de196,pendingMutations:_0x54df48}=_0x5a96d9;this[_0x228bdb(0x27f)][_0x228bdb(0x4af)](_0x4de196);const _0xf16961=_0x54df48[_0x228bdb(0x4b1)]?this[_0x228bdb(0x30b)][_0x228bdb(0x341)](me,this[_0x228bdb(0x4f8)],this['type'],_0x4de196,_0x54df48,this[_0x228bdb(0x27f)],void 0x0):this[_0x228bdb(0x30b)][_0x228bdb(0x341)](Te,this[_0x228bdb(0x4f8)],this[_0x228bdb(0x4c2)],_0x4de196,this['_handler']);_0xf16961['_updateLocalCache'](),this['_handler'][_0x228bdb(0x3ef)](this,_0xf16961);},_0x2b3d6b);}['_getSendChangesetTimeout'](){const _0x22c597=_0x421733;var _0x412612;const _0x1ddac8=this[_0x22c597(0x254)][_0x22c597(0x39e)](Q);return(_0x412612=_0x1ddac8==null?void 0x0:_0x1ddac8[_0x22c597(0x460)])!=null?_0x412612:Tn;}[_0x421733(0x48f)](){const _0x423f4b=_0x421733;throw new Error(_0x423f4b(0x299));}[_0x421733(0x39b)](){const _0x1d1b75=_0x421733;this[_0x1d1b75(0x36a)]!=null&&(clearTimeout(this[_0x1d1b75(0x36a)]),this['_sendingTimer']=null);}[_0x421733(0x363)](_0x38ca2d){const _0x4cf9e3=_0x421733;return this[_0x4cf9e3(0x39b)](),this[_0x4cf9e3(0x30b)][_0x4cf9e3(0x341)](Re,this[_0x4cf9e3(0x4f8)],this[_0x4cf9e3(0x4c2)],null,this[_0x4cf9e3(0x4d1)],this['_handler'],_0x38ca2d);}};pe=Le([A(0x4,_0x231990(_0x1d3c8c)),A(0x5,_0x231990(_0x2467a7)),A(0x6,_0x231990(z)),A(0x7,_0x231990(Ae)),A(0x8,_0x257353),A(0x9,_0x5af619),A(0xa,_0x2cfa70),A(0xb,_0x2b2256),A(0xc,_0x186a82),A(0xd,_0x306efe)],pe);let Te=class extends $e{constructor(_0x5ce63e,_0xa638a8,_0x42c940,_0x16d55c,_0x2ff174,_0x4173d2,_0x3b2f44,_0x12b191,_0x2c6614,_0x4da79b,_0x11c7e3){const _0x2fcea0=_0x421733;super(_0x5ce63e,_0xa638a8,_0x42c940,[],_0x16d55c,_0x12b191,_0x11c7e3,_0x4173d2,_0x3b2f44),g(this,_0x2fcea0(0x1df),'awaiting'),g(this,_0x2fcea0(0x25c),0x0),g(this,_0x2fcea0(0x240)),g(this,_0x2fcea0(0x185)),(this['_injector']=_0x2ff174,this[_0x2fcea0(0x3b4)]=_0x2c6614,this[_0x2fcea0(0x579)]=_0x4da79b);}[_0x421733(0x214)](_0x4823a2){const _0x50e3c7=_0x421733;this['_clearScheduledTask']();const _0x5ae2f9=this[_0x50e3c7(0x30b)][_0x50e3c7(0x341)](me,this[_0x50e3c7(0x4f8)],this['type'],this[_0x50e3c7(0x392)],[_0x4823a2],this[_0x50e3c7(0x27f)],this[_0x50e3c7(0x240)]);return _0x5ae2f9['_updateLocalCache'](),_0x5ae2f9;}[_0x421733(0x1b9)](_0x56e187){const _0x2b0929=_0x421733;if(this['_checkMissing'](_0x56e187))return this[_0x2b0929(0x39b)](),this[_0x2b0929(0x30b)]['createInstance'](ce,this[_0x2b0929(0x4f8)],this[_0x2b0929(0x4c2)],this[_0x2b0929(0x392)],[],null,[_0x56e187],this['_handler']);try{const _0x5b3c04=this[_0x2b0929(0x579)]['transformChangesets']([_0x56e187],[this[_0x2b0929(0x392)]],!0x1);if(_0x4a826f(_0x5b3c04)){const {c1Prime:_0x240c19,c2Prime:_0x195b41}=_0x5b3c04;this['_executeRemoteChangeset'](_0x240c19[0x0]),_0x195b41[0x0][_0x2b0929(0x2b2)]=this[_0x2b0929(0x1d3)](),this[_0x2b0929(0x39b)]();const _0x47b30d=this[_0x2b0929(0x30b)]['createInstance'](Te,this[_0x2b0929(0x4f8)],this[_0x2b0929(0x4c2)],_0x195b41[0x0],this[_0x2b0929(0x27f)]);return _0x47b30d[_0x2b0929(0x2ad)](),_0x47b30d;}return this[_0x2b0929(0x363)](!0x1);}catch(_0x43855c){return this['_logService'][_0x2b0929(0x3ff)](_0x43855c),this[_0x2b0929(0x363)](!0x1);}}['onRemoteAck'](_0x87c064){const _0x5c6c62=_0x421733;this[_0x5c6c62(0x39b)]();const _0x517357=this[_0x5c6c62(0x250)][_0x5c6c62(0x3c0)](this['unitID']);if(_0x87c064[_0x5c6c62(0x55f)]<_0x517357-0x1)return this;if(this[_0x5c6c62(0x560)](_0x87c064))return this['_injector'][_0x5c6c62(0x341)](ce,this[_0x5c6c62(0x4f8)],this[_0x5c6c62(0x4c2)],null,[],this[_0x5c6c62(0x392)],[],this[_0x5c6c62(0x27f)]);this[_0x5c6c62(0x454)]();const _0x23e202=this[_0x5c6c62(0x30b)][_0x5c6c62(0x341)](We,this['unitID'],this['type'],this[_0x5c6c62(0x27f)]);return _0x23e202[_0x5c6c62(0x2ad)](),_0x23e202;}['onRemoteRej'](_0x451aa3){const _0x4b9b44=_0x421733;return this[_0x4b9b44(0x363)](!!(_0x451aa3!=null&&_0x451aa3['isPermissionRej']));}['onRemoteRetry'](_0x1acb8a){const _0x54f736=_0x421733;return this['_resendTimeout']>zi?this[_0x54f736(0x3af)]():(this[_0x54f736(0x240)]=qi(this[_0x54f736(0x25c)],{'timeout':this[_0x54f736(0x25c)],'reqId':_0x1acb8a[_0x54f736(0x32d)]}),this['_sender']=this[_0x54f736(0x240)][_0x54f736(0x4fc)](({reqId:_0x53d94b,timeout:_0x185ff0})=>{this['_resendWithTimeout'](_0x53d94b,_0x185ff0);}),this);}['toggleOffline'](){const _0x1bb92f=_0x421733;return this[_0x1bb92f(0x39b)](),this['_injector']['createInstance'](Oe,this[_0x1bb92f(0x4f8)],this[_0x1bb92f(0x4c2)],this[_0x1bb92f(0x392)],[],this[_0x1bb92f(0x27f)]);}[_0x421733(0x17f)](){return this;}['resend'](){const _0x1756c1=_0x421733;this[_0x1756c1(0x27f)][_0x1756c1(0x4af)](this[_0x1756c1(0x392)]);}[_0x421733(0x363)](_0x357153){const _0x53bdf8=_0x421733;return this[_0x53bdf8(0x39b)](),this['_injector'][_0x53bdf8(0x341)](Re,this['unitID'],this[_0x53bdf8(0x4c2)],this[_0x53bdf8(0x392)],[],this[_0x53bdf8(0x27f)],_0x357153);}[_0x421733(0x1e0)](_0x8159e1,_0x453e0a){const _0x6c203f=_0x421733;var _0x40a263;_0x8159e1===((_0x40a263=this[_0x6c203f(0x392)])==null?void 0x0:_0x40a263['reqId'])&&(this[_0x6c203f(0x48f)](),this[_0x6c203f(0x25c)]=_0x453e0a===0x0?0x3e8:_0x453e0a*0x2);}[_0x421733(0x39b)](){const _0x34b32f=_0x421733;var _0x3846d3;(_0x3846d3=this[_0x34b32f(0x185)])==null||_0x3846d3[_0x34b32f(0x36f)](),this[_0x34b32f(0x25c)]=0x0;}};Te=Le([A(0x4,_0x231990(_0x1d3c8c)),A(0x5,_0x231990(_0x2467a7)),A(0x6,_0x231990(z)),A(0x7,_0x5af619),A(0x8,_0x257353),A(0x9,_0x2b2256),A(0xa,_0x306efe)],Te);let me=class extends $e{constructor(_0x2942bf,_0x4696b7,_0x4f9e36,_0x26ed42,_0x40ffe0,_0x215192,_0x38bb21,_0x842d91,_0x89691,_0x4ae855,_0x36364d,_0x19d64d,_0x1275fb){const _0x5568ed=_0x421733;super(_0x2942bf,_0x4696b7,_0x4f9e36,_0x26ed42,_0x40ffe0,_0x4ae855,_0x1275fb,_0x842d91,_0x89691),g(this,_0x5568ed(0x1df),_0x5568ed(0x3aa)),g(this,_0x5568ed(0x25c),0x0),g(this,_0x5568ed(0x240)),g(this,_0x5568ed(0x185)),(this[_0x5568ed(0x30b)]=_0x38bb21,this[_0x5568ed(0x3b4)]=_0x36364d,this[_0x5568ed(0x579)]=_0x19d64d,_0x215192&&(this[_0x5568ed(0x240)]=_0x215192,this[_0x5568ed(0x185)]=this[_0x5568ed(0x240)][_0x5568ed(0x4fc)](({reqId:_0x4418c0,timeout:_0x23b410})=>{const _0x576995=_0x5568ed;this[_0x576995(0x1e0)](_0x4418c0,_0x23b410);})));}[_0x421733(0x214)](_0x201a13){const _0x5f23e7=_0x421733;return this[_0x5f23e7(0x4d1)][_0x5f23e7(0x2ac)](_0x201a13),this;}[_0x421733(0x1b9)](_0xebdf9){const _0x26ffec=_0x421733;if(this[_0x26ffec(0x560)](_0xebdf9))return this['_clearScheduledTask'](),this[_0x26ffec(0x30b)]['createInstance'](ce,this['unitID'],this[_0x26ffec(0x4c2)],this['_awaitingChangeset'],this[_0x26ffec(0x4d1)],null,[_0xebdf9],this['_handler']);try{const _0x50a70c=this[_0x26ffec(0x579)][_0x26ffec(0x576)]([_0xebdf9],[this[_0x26ffec(0x392)]],!0x1);if(_0x4a826f(_0x50a70c)){const {c1Prime:_0x12132e,c2Prime:_0x63ea5c}=_0x50a70c,_0x3291b2=this[_0x26ffec(0x579)][_0x26ffec(0x45f)](_0x12132e[0x0],this[_0x26ffec(0x4d1)]);if(_0x3755b3(_0x3291b2)){const {c1Prime:_0x167ce5,m2Prime:_0x129ea7}=_0x3291b2;return this['_executeRemoteChangeset'](_0x167ce5),_0x63ea5c[0x0][_0x26ffec(0x2b2)]=this[_0x26ffec(0x1d3)](),this['_clearScheduledTask'](),this[_0x26ffec(0x30b)][_0x26ffec(0x341)](me,this[_0x26ffec(0x4f8)],this[_0x26ffec(0x4c2)],_0x63ea5c[0x0],_0x129ea7,this['_handler'],void 0x0);}throw _0x3291b2['error'];}throw _0x50a70c[_0x26ffec(0x3ff)];}catch(_0x24e4fa){return this['_logService'][_0x26ffec(0x3ff)](_0x24e4fa),this['_onConflict'](!0x1);}}[_0x421733(0x1c3)](_0x3c3107){const _0x5b552f=_0x421733;if(this[_0x5b552f(0x39b)](),this['_checkMissing'](_0x3c3107))return this['_injector'][_0x5b552f(0x341)](ce,this[_0x5b552f(0x4f8)],this['type'],null,this[_0x5b552f(0x4d1)],this[_0x5b552f(0x392)],[],this[_0x5b552f(0x27f)]);this[_0x5b552f(0x454)]();const _0x5ce3f1=this[_0x5b552f(0x30b)]['createInstance'](pe,this[_0x5b552f(0x4f8)],this['type'],this['_pendingMutations'],this[_0x5b552f(0x27f)]);return _0x5ce3f1['_schedule'](),_0x5ce3f1['_updateLocalCache'](),_0x5ce3f1;}[_0x421733(0x46c)](_0x1d4c8c){const _0x5ed726=_0x421733;return this[_0x5ed726(0x363)](!!(_0x1d4c8c!=null&&_0x1d4c8c[_0x5ed726(0x580)]));}[_0x421733(0x2be)](_0x1b79db){const _0x22c90f=_0x421733;return this['_resendTimeout']>zi?this[_0x22c90f(0x3af)]():(this['_resendTimer']=qi(this['_resendTimeout'],{'timeout':this[_0x22c90f(0x25c)],'reqId':_0x1b79db[_0x22c90f(0x32d)]}),this[_0x22c90f(0x185)]=this['_resendTimer']['subscribe'](({reqId:_0x3fa677,timeout:_0x4dfa07})=>{const _0x727e6=_0x22c90f;this[_0x727e6(0x1e0)](_0x3fa677,_0x4dfa07);}),this);}[_0x421733(0x3af)](){const _0x22de0f=_0x421733;return this['_clearScheduledTask'](),this['_injector'][_0x22de0f(0x341)](Oe,this[_0x22de0f(0x4f8)],this[_0x22de0f(0x4c2)],this[_0x22de0f(0x392)],this[_0x22de0f(0x4d1)],this['_handler']);}[_0x421733(0x17f)](){return this;}[_0x421733(0x48f)](){const _0x199ced=_0x421733;this['_handler'][_0x199ced(0x4af)](this[_0x199ced(0x392)]);}['_onConflict'](_0x2e72d6){const _0x2ae865=_0x421733;return this[_0x2ae865(0x39b)](),this[_0x2ae865(0x30b)][_0x2ae865(0x341)](Re,this['unitID'],this['type'],null,this[_0x2ae865(0x4d1)],this[_0x2ae865(0x27f)],_0x2e72d6);}[_0x421733(0x1e0)](_0xf7dbb7,_0x1dfd95){const _0x384eb7=_0x421733;var _0x4b85c4;_0xf7dbb7===((_0x4b85c4=this[_0x384eb7(0x392)])==null?void 0x0:_0x4b85c4['reqId'])&&(this[_0x384eb7(0x48f)](),this[_0x384eb7(0x25c)]=_0x1dfd95===0x0?0x3e8:_0x1dfd95*0x2);}[_0x421733(0x39b)](){const _0x427a86=_0x421733;var _0x48d1b3;(_0x48d1b3=this[_0x427a86(0x185)])==null||_0x48d1b3[_0x427a86(0x36f)](),this['_resendTimeout']=0x0;}};me=Le([A(0x6,_0x231990(_0x1d3c8c)),A(0x7,_0x231990(_0x2467a7)),A(0x8,_0x231990(z)),A(0x9,_0x5af619),A(0xa,_0x257353),A(0xb,_0x2b2256),A(0xc,_0x306efe)],me);let Re=class extends $e{constructor(_0x9d9b67,_0x1b79b5,_0x2f5746,_0x41c10d,_0x28c6b7,_0x438240=!0x1,_0x329d33,_0x2d20f6,_0x350d95,_0x493ffd,_0x50c6ce,_0x287a42,_0x324c74){const _0x301913=_0x421733;super(_0x9d9b67,_0x1b79b5,_0x2f5746,_0x41c10d,_0x28c6b7,_0x2d20f6,_0x350d95,_0x50c6ce,_0x493ffd),g(this,'status','conflict'),(this[_0x301913(0x46e)]=_0x438240,this['_permissionService']=_0x329d33,this[_0x301913(0x41a)]=_0x287a42,this['_notificationService']=_0x324c74,this[_0x301913(0x184)](),this[_0x301913(0x1b6)](),this[_0x301913(0x16c)]());}[_0x421733(0x214)](){return this;}['onRemoteChangeset'](){return this;}[_0x421733(0x1c3)](){return this;}[_0x421733(0x46c)](){return this;}[_0x421733(0x2be)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x421733(0x48f)](){const _0x81a345=_0x421733;throw new Error(_0x81a345(0x582));}[_0x421733(0x1b6)](){const _0x5d4fb4=_0x421733;this[_0x5d4fb4(0x434)][_0x5d4fb4(0x1a8)](this[_0x5d4fb4(0x4f8)],this['type'],null,[]);}[_0x421733(0x184)](){const _0x845092=_0x421733;this['_isPermissionRej']?this[_0x845092(0x3fa)][_0x845092(0x34d)]({'title':this['_localeService']['t'](_0x845092(0x4fe)),'content':this[_0x845092(0x41a)]['t'](_0x845092(0x2b6)),'type':_0x845092(0x3ff),'duration':0x0}):this[_0x845092(0x3fa)][_0x845092(0x34d)]({'title':this[_0x845092(0x41a)]['t'](_0x845092(0x189)),'content':this[_0x845092(0x41a)]['t'](_0x845092(0x536)),'type':_0x845092(0x3ff),'duration':0x0});}['_disableEditing'](){const _0x36ef00=_0x421733;this[_0x36ef00(0x262)][_0x36ef00(0x3fe)](new _0x31b58a(this[_0x36ef00(0x4f8)])['id'],!0x1);}};Re=Le([A(0x6,_0x231990(_0x286710)),A(0x7,_0x5af619),A(0x8,_0x306efe),A(0x9,_0x231990(z)),A(0xa,_0x231990(_0x2467a7)),A(0xb,_0x231990(_0x3097b7)),A(0xc,_0x4d2a13)],Re);let Oe=class extends $e{constructor(_0x45aa18,_0x2872d6,_0x2c7ec9,_0x3d3239,_0x29fe24,_0x21a462,_0x355f0b,_0x4bc368,_0x3146ba,_0x1591fc){const _0x354608=_0x421733;super(_0x45aa18,_0x2872d6,_0x2c7ec9,_0x3d3239,_0x29fe24,_0x3146ba,_0x1591fc,_0x355f0b,_0x4bc368),g(this,'status',_0x354608(0x4fb)),this[_0x354608(0x30b)]=_0x21a462;}[_0x421733(0x214)](_0x3f44ab){const _0x3beed5=_0x421733;return this[_0x3beed5(0x4d1)][_0x3beed5(0x2ac)](_0x3f44ab),this[_0x3beed5(0x2ad)](),this;}[_0x421733(0x1b9)](_0x2b41a0){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x421733(0x1c3)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x15f863=_0x421733;throw new Error(_0x15f863(0x171));}[_0x421733(0x2be)](){return this;}[_0x421733(0x3af)](){return this;}[_0x421733(0x17f)](){const _0xf1c101=_0x421733,{_injector:_0xd3804,_pendingMutations:_0x245692,_awaitingChangeset:_0xc7c61c,unitID:_0x20f756,_handler:_0x218963,type:_0x549d91}=this,_0x35d2cc=Xi(_0xd3804,_0x20f756,_0x549d91,_0xc7c61c,_0x245692,_0x218963);return _0x35d2cc instanceof pe?_0x35d2cc['_schedule']():(_0x35d2cc instanceof me||_0x35d2cc instanceof Te)&&_0x35d2cc[_0xf1c101(0x48f)](),_0x35d2cc;}[_0x421733(0x48f)](){const _0x3e4fbb=_0x421733;throw new Error(_0x3e4fbb(0x1d4));}};Oe=Le([A(0x5,_0x231990(_0x1d3c8c)),A(0x6,_0x231990(_0x2467a7)),A(0x7,_0x231990(z)),A(0x8,_0x5af619),A(0x9,_0x306efe)],Oe);let ce=class extends $e{constructor(_0x1f4b29,_0xdb2cfb,_0x48846c,_0x336576,_0x1feb3c,_0x5d5ea2,_0x3931aa,_0x2b47e1,_0xe6c7cc,_0x29536f,_0x435738,_0x402350,_0x37ed75,_0x45012f){const _0x5e29e9=_0x421733;super(_0x1f4b29,_0xdb2cfb,_0x48846c,_0x336576,_0x3931aa,_0x402350,_0x37ed75,_0xe6c7cc,_0x29536f),g(this,_0x5e29e9(0x1df),_0x5e29e9(0x404)),(this[_0x5e29e9(0x255)]=_0x1feb3c,this[_0x5e29e9(0x1ad)]=_0x5d5ea2,this['_injector']=_0x2b47e1,this[_0x5e29e9(0x3b4)]=_0x435738,this[_0x5e29e9(0x579)]=_0x45012f);}[_0x421733(0x3bb)](_0x145232){const _0x1ae815=_0x421733;try{const _0x1a0f62=[..._0x145232,...this['_queuedRemoteChangesets']],_0x31ba18=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x1ae815(0x307)](_0x5c9546=>!!_0x5c9546);let _0x3921c5,_0x5cfd12;if(_0x31ba18[_0x1ae815(0x4b1)]){const _0x5ba730=this['_transformService'][_0x1ae815(0x576)](_0x1a0f62,_0x31ba18,!0x1);if(!_0x4a826f(_0x5ba730))throw _0x5ba730[_0x1ae815(0x3ff)];_0x3921c5=_0x5ba730[_0x1ae815(0x16d)],_0x5cfd12=_0x5ba730[_0x1ae815(0x20c)];}else _0x3921c5=_0x1a0f62,_0x5cfd12=[];let _0x4a1d3a=this[_0x1ae815(0x4d1)];_0x3921c5[_0x1ae815(0x2d2)](_0x1ccd97=>{const _0x4a5cb7=_0x1ae815;let _0x481cf6;if(_0x4a1d3a[_0x4a5cb7(0x4b1)]){const _0x377940=this['_transformService'][_0x4a5cb7(0x45f)](_0x1ccd97,_0x4a1d3a);if(!_0x3755b3(_0x377940))throw _0x377940[_0x4a5cb7(0x3ff)];_0x481cf6=_0x377940['c1Prime'],_0x4a1d3a=_0x377940[_0x4a5cb7(0x4e7)];}else _0x481cf6=_0x1ccd97;this[_0x4a5cb7(0x593)](_0x481cf6);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x1ae815(0x392)]&&_0x5cfd12[_0x1ae815(0x4b1)]&&(_0x5cfd12[0x0]['baseRev']=this[_0x1ae815(0x1d3)]());let _0x4128bf;if(this['_awaitingChangeset']&&_0x4a1d3a[_0x1ae815(0x4b1)]!==0x0)_0x4128bf=this['_injector'][_0x1ae815(0x341)](me,this['unitID'],this[_0x1ae815(0x4c2)],_0x5cfd12[0x0],_0x4a1d3a,this['_handler'],void 0x0);else{if(this[_0x1ae815(0x392)]&&_0x4a1d3a['length']===0x0)_0x5cfd12[0x0]['baseRev']=this[_0x1ae815(0x1d3)](),_0x4128bf=this[_0x1ae815(0x30b)][_0x1ae815(0x341)](Te,this['unitID'],this[_0x1ae815(0x4c2)],_0x5cfd12[0x0],this['_handler']);else{if(_0x4a1d3a[_0x1ae815(0x4b1)]!==0x0){const _0x3f7e00=this[_0x1ae815(0x30b)][_0x1ae815(0x341)](pe,this[_0x1ae815(0x4f8)],this[_0x1ae815(0x4c2)],_0x4a1d3a,this[_0x1ae815(0x27f)]);_0x3f7e00[_0x1ae815(0x2e8)](),_0x4128bf=_0x3f7e00;}else _0x4128bf=this[_0x1ae815(0x30b)][_0x1ae815(0x341)](We,this[_0x1ae815(0x4f8)],this['type'],this[_0x1ae815(0x27f)]);}}return _0x4128bf[_0x1ae815(0x2ad)](),_0x4128bf;}catch(_0x11c3bd){return this[_0x1ae815(0x3b4)][_0x1ae815(0x3ff)]('[FetchMissState]',_0x1ae815(0x49f),_0x11c3bd),this[_0x1ae815(0x30b)][_0x1ae815(0x341)](Re,this[_0x1ae815(0x4f8)],this[_0x1ae815(0x4c2)],this[_0x1ae815(0x392)],this['_pendingMutations'],this[_0x1ae815(0x27f)],!0x1);}}[_0x421733(0x48f)](){const _0x2fe24a=_0x421733;throw new Error(_0x2fe24a(0x180));}[_0x421733(0x214)](_0x24859c){const _0x25ca7a=_0x421733;return this[_0x25ca7a(0x4d1)][_0x25ca7a(0x2ac)](_0x24859c),this;}[_0x421733(0x1b9)](_0x31cfc1){const _0x49e73a=_0x421733;return this[_0x49e73a(0x1ad)][_0x49e73a(0x2ac)](_0x31cfc1),this;}[_0x421733(0x1c3)](_0x83e189){const _0x587db7=_0x421733;if(this[_0x587db7(0x392)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x587db7(0x179));}[_0x421733(0x46c)](_0x5a6de1){const _0x4289b3=_0x421733;return this[_0x4289b3(0x363)](!!(_0x5a6de1!=null&&_0x5a6de1[_0x4289b3(0x580)]));}[_0x421733(0x2be)](){return this;}[_0x421733(0x3af)](){const _0x512c97=_0x421733;return this[_0x512c97(0x30b)][_0x512c97(0x341)](Oe,this[_0x512c97(0x4f8)],this['type'],this[_0x512c97(0x392)],this['_pendingMutations'],this[_0x512c97(0x27f)]);}[_0x421733(0x17f)](){return this;}[_0x421733(0x363)](_0x14404f){const _0x1b21e5=_0x421733;return this[_0x1b21e5(0x30b)][_0x1b21e5(0x341)](Re,this['unitID'],this[_0x1b21e5(0x4c2)],this['_awaitingChangeset'],this[_0x1b21e5(0x4d1)],this[_0x1b21e5(0x27f)],_0x14404f);}};ce=Le([A(0x7,_0x231990(_0x1d3c8c)),A(0x8,_0x231990(_0x2467a7)),A(0x9,_0x231990(z)),A(0xa,_0x257353),A(0xb,_0x5af619),A(0xc,_0x306efe),A(0xd,_0x2b2256)],ce);function Xi(_0x4541c1,_0x6e02fd,_0x4f3074,_0x4d8225,_0x15d4d6,_0x3e3cdc){const _0x554cb4=_0x421733;return _0x4d8225&&_0x15d4d6[_0x554cb4(0x4b1)]?_0x4541c1[_0x554cb4(0x341)](me,_0x6e02fd,_0x4f3074,_0x4d8225,_0x15d4d6,_0x3e3cdc,void 0x0):_0x4d8225?_0x4541c1[_0x554cb4(0x341)](Te,_0x6e02fd,_0x4f3074,_0x4d8225,_0x3e3cdc):_0x15d4d6[_0x554cb4(0x4b1)]?_0x4541c1[_0x554cb4(0x341)](pe,_0x6e02fd,_0x4f3074,_0x15d4d6,_0x3e3cdc):_0x4541c1[_0x554cb4(0x341)](We,_0x6e02fd,_0x4f3074,_0x3e3cdc);}var Ao=Object[_0x421733(0x1c6)],Mo=Object[_0x421733(0x2e2)],Ps=(_0x55f479,_0x3fc95f,_0x37bc45,_0x58cae5)=>{for(var _0x106314=_0x58cae5>0x1?void 0x0:_0x58cae5?Mo(_0x3fc95f,_0x37bc45):_0x3fc95f,_0x4ddeb7=_0x55f479['length']-0x1,_0x3d4a14;_0x4ddeb7>=0x0;_0x4ddeb7--)(_0x3d4a14=_0x55f479[_0x4ddeb7])&&(_0x106314=(_0x58cae5?_0x3d4a14(_0x3fc95f,_0x37bc45,_0x106314):_0x3d4a14(_0x106314))||_0x106314);return _0x58cae5&&_0x106314&&Ao(_0x3fc95f,_0x37bc45,_0x106314),_0x106314;},H=(_0x513a2f,_0x14ed70)=>(_0x7bafa1,_0x2f7df0)=>_0x14ed70(_0x7bafa1,_0x2f7df0,_0x513a2f);let Pt=class extends _0x33a3aa{constructor(_0xe93f44,_0x597717,_0x1d159d,_0x4e86e0,_0x3c7635,_0x4e0bad,_0x3c9683,_0x2cf05d,_0x4405b0,_0x366f6c,_0x5bcafd,_0x18e5f8,_0x3ec716){const _0x44dd20=_0x421733;super(),g(this,_0x44dd20(0x2a5),new _0x461b47(null)),g(this,_0x44dd20(0x526),this[_0x44dd20(0x2a5)]['asObservable']()),g(this,'_state'),g(this,_0x44dd20(0x36b),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x44dd20(0x218),this['state$']['pipe'](_0x5d768e(_0x2979bc=>_0x2979bc?_0x2979bc[_0x44dd20(0x1df)]:J[_0x44dd20(0x541)]),_0x2d3cb2(0x1))),g(this,_0x44dd20(0x328),!0x1),g(this,_0x44dd20(0x2f8),[]),(this[_0x44dd20(0x4f8)]=_0xe93f44,this['session']=_0x597717,this['_type']=_0x1d159d,this[_0x44dd20(0x30b)]=_0x4e86e0,this[_0x44dd20(0x434)]=_0x3c7635,this[_0x44dd20(0x458)]=_0x4e0bad,this[_0x44dd20(0x41a)]=_0x3c9683,this[_0x44dd20(0x250)]=_0x2cf05d,this[_0x44dd20(0x3b4)]=_0x4405b0,this[_0x44dd20(0x39a)]=_0x366f6c,this[_0x44dd20(0x3b3)]=_0x5bcafd,this[_0x44dd20(0x262)]=_0x18e5f8,this['_singleActiveUnitService']=_0x3ec716);}get['state'](){const _0x1124d1=_0x421733;return this[_0x1124d1(0x3a5)];}async[_0x421733(0x371)](){const _0xebfdcc=_0x421733;if(this[_0xebfdcc(0x2c9)])throw new Error(_0xebfdcc(0x4c5));await this['_init']();}['pauseCollaboration'](){const _0x51d4b5=_0x421733;return this[_0x51d4b5(0x36b)]=!0x0,_0xb887b1(()=>{const _0x875f5a=_0x51d4b5;this[_0x875f5a(0x36b)]=!0x1,this[_0x875f5a(0x21e)]();});}['_updateState'](_0x542c85){const _0x7629df=_0x421733;this[_0x7629df(0x3a5)]=_0x542c85,this[_0x7629df(0x2a5)][_0x7629df(0x537)](_0x542c85);}async[_0x421733(0x483)](){const _0x51824e=_0x421733;var _0xdc8193;this[_0x51824e(0x3bc)](await this[_0x51824e(0x326)]()),this[_0x51824e(0x37d)]&&((_0xdc8193=this['_singleActiveUnitService'])==null||_0xdc8193['editingUnit'](this['unitID']),this[_0x51824e(0x40e)](this[_0x51824e(0x37d)][_0x51824e(0x4c1)](this[_0x51824e(0x4f8)])['subscribe'](_0xe0a1a0=>{const _0x55c530=_0x51824e;this[_0x55c530(0x3b4)][_0x55c530(0x4cc)](_0x55c530(0x592),'editing\x20status\x20changed\x20to',_0xe0a1a0),_0xe0a1a0===Yi[_0x55c530(0x1b5)]?(this[_0x55c530(0x3b3)][_0x55c530(0x34d)]({'content':this[_0x55c530(0x41a)]['t'](_0x55c530(0x563)),'type':_0x1a283f[_0x55c530(0x4ae)]}),this[_0x55c530(0x262)][_0x55c530(0x3fe)](new _0x31b58a(this[_0x55c530(0x4f8)])['id'],!0x1),this[_0x55c530(0x262)][_0x55c530(0x365)](!0x1)):(this[_0x55c530(0x262)]['updatePermissionPoint'](new _0x31b58a(this[_0x55c530(0x4f8)])['id'],!0x0),this[_0x55c530(0x262)]['setShowComponents'](!0x0));})));let _0x3a208=!0x1;return this[_0x51824e(0x40e)](this[_0x51824e(0x359)][_0x51824e(0x386)][_0x51824e(0x4fc)](_0x1d57e7=>{const _0x188363=_0x51824e;_0x1d57e7===fe[_0x188363(0x16b)]?this[_0x188363(0x503)](_0x3a208):_0x1d57e7===fe['OFFLINE']&&(_0x3a208=!0x0,this[_0x188363(0x3c3)]());})),this['disposeWithMe'](this['session'][_0x51824e(0x2dd)]['subscribe'](_0x4d03cf=>{const _0x5946c4=_0x51824e;try{switch(_0x4d03cf[_0x5946c4(0x41e)]){case _0xdb349a[_0x5946c4(0x35b)]:{this[_0x5946c4(0x2d5)](_0x424bf7(_0x4d03cf[_0x5946c4(0x263)]));break;}case _0xdb349a[_0x5946c4(0x380)]:{this[_0x5946c4(0x584)](_0x4d03cf[_0x5946c4(0x263)]);break;}case _0xdb349a[_0x5946c4(0x550)]:{this['_onRemoteRejected']();break;}case _0xdb349a[_0x5946c4(0x50e)]:{this['_onRemoteRetry'](_0x4d03cf[_0x5946c4(0x263)]);break;}case _0xdb349a['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5946c4(0x39d)](_0x4d03cf['data']['changesets'][_0x5946c4(0x203)](_0x264d69=>_0x424bf7(_0x264d69)));break;}case _0xdb349a[_0x5946c4(0x215)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x1832b0){throw console['error'](_0x5946c4(0x45a),_0x1832b0),_0x1832b0;}})),this[_0x51824e(0x3a5)];}[_0x421733(0x431)](){const _0x4d0dd3=_0x421733;this[_0x4d0dd3(0x328)]=!0x1;}[_0x421733(0x3cf)](){const _0x4d2ff7=_0x421733;if(this['_transitionLocked'])throw new Error(_0x4d2ff7(0x3d6));this[_0x4d2ff7(0x328)]=!0x0;}[_0x421733(0x265)](_0x321cd1){const _0x52df47=_0x421733;this[_0x52df47(0x3cf)](),this['_updateState'](this['_state'][_0x52df47(0x214)](_0x321cd1)),this[_0x52df47(0x431)]();}[_0x421733(0x2d5)](_0x4ce0e7){const _0x44abc6=_0x421733;if(!(_0x4ce0e7[_0x44abc6(0x55f)]<=this[_0x44abc6(0x250)][_0x44abc6(0x3c0)](this[_0x44abc6(0x4f8)]))){if(this[_0x44abc6(0x36b)]){this['_remoteChangesetQueue'][_0x44abc6(0x2ac)](_0x4ce0e7);return;}this[_0x44abc6(0x1ab)](_0x4ce0e7);}}['_exhaustRemoteChangesetQueue'](){const _0xa8d36=_0x421733;this['_remoteChangesetQueue'][_0xa8d36(0x2d2)](_0x1be29a=>this[_0xa8d36(0x1ab)](_0x1be29a)),this['_remoteChangesetQueue']=[];}[_0x421733(0x1ab)](_0x45216c){const _0x3b2ed9=_0x421733,_0x10668d=this[_0x3b2ed9(0x458)]['interceptor'][_0x3b2ed9(0x2a3)](this[_0x3b2ed9(0x458)][_0x3b2ed9(0x42b)]['getInterceptPoints']()[_0x3b2ed9(0x3be)])(_0x45216c[_0x3b2ed9(0x501)],null)||_0x45216c[_0x3b2ed9(0x501)],_0x4b52f3={..._0x45216c,'mutations':_0x10668d};this[_0x3b2ed9(0x3cf)](),this[_0x3b2ed9(0x3bc)](this['_state']['onRemoteChangeset'](_0x4b52f3)),this[_0x3b2ed9(0x431)]();}[_0x421733(0x584)](_0x2a31cb){const _0x1427c1=_0x421733;this[_0x1427c1(0x3cf)](),this[_0x1427c1(0x3bc)](this[_0x1427c1(0x3a5)]['onRemoteAck'](_0x2a31cb)),this['_unlockTransition']();}[_0x421733(0x46a)](_0x4fc372){const _0x266ebb=_0x421733;this[_0x266ebb(0x3cf)](),this[_0x266ebb(0x3bc)](this[_0x266ebb(0x3a5)]['onRemoteRej'](_0x4fc372)),this[_0x266ebb(0x431)]();}[_0x421733(0x389)](_0x40872){const _0x72fdba=_0x421733;this[_0x72fdba(0x3cf)](),this[_0x72fdba(0x3bc)](this['_state'][_0x72fdba(0x2be)](_0x40872)),this[_0x72fdba(0x431)]();}[_0x421733(0x39d)](_0x38b9ac){const _0x450343=_0x421733;if(!(this[_0x450343(0x3a5)]instanceof ce))throw new TypeError(_0x450343(0x338));const _0x5d7b36=_0x38b9ac[_0x450343(0x203)](_0x54ded3=>{const _0x3fce36=_0x450343,_0x18e1e8=this[_0x3fce36(0x458)][_0x3fce36(0x42b)][_0x3fce36(0x2a3)](this['_compressMutationService'][_0x3fce36(0x42b)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x54ded3[_0x3fce36(0x501)],null)||_0x54ded3[_0x3fce36(0x501)];return{..._0x54ded3,'mutations':_0x18e1e8};});this[_0x450343(0x3cf)](),this['_updateState'](this['_state'][_0x450343(0x3bb)](_0x5d7b36)),this[_0x450343(0x431)]();}['_toggleOffline'](){const _0x32891f=_0x421733;this['_lockTransition'](),this[_0x32891f(0x3bc)](this['_state'][_0x32891f(0x3af)]()),this['_unlockTransition']();}[_0x421733(0x503)](_0xb627aa=!0x1){const _0x3b45ed=_0x421733;this[_0x3b45ed(0x3cf)](),this['_updateState'](this[_0x3b45ed(0x3a5)][_0x3b45ed(0x17f)]()),this['_unlockTransition']();const _0x2388f3=this[_0x3b45ed(0x3a5)];_0xb627aa&&_0x2388f3 instanceof We&&(this['_lockTransition'](),this[_0x3b45ed(0x3bc)](_0x2388f3[_0x3b45ed(0x2f1)]()),this[_0x3b45ed(0x431)]());}async['_createInitialState'](){return new Promise(_0xfde945=>{const _0x1d309a=_0x9980;this['session'][_0x1d309a(0x386)][_0x1d309a(0x552)](_0x329c5b(0x1))[_0x1d309a(0x4fc)](async _0x3b512c=>{const _0x2a50e8=_0x1d309a;_0xfde945(await this[_0x2a50e8(0x534)](_0x3b512c===fe['ONLINE']));});});}[_0x421733(0x3fc)](){const _0x2cde78=_0x421733,_0x2afa10=this[_0x2cde78(0x4f8)];return{'onStateChange':(_0x59f086,_0xd24e82)=>{const _0x1d30e2=_0x2cde78;if(_0x59f086!==this['_state'])throw new Error(_0x1d30e2(0x1cd)+_0x59f086[_0x1d30e2(0x1df)]+_0x1d30e2(0x41d)+_0xd24e82[_0x1d30e2(0x1df)]+'\x0aCurrent:\x20'+this[_0x1d30e2(0x3a5)][_0x1d30e2(0x1df)]);this[_0x1d30e2(0x3bc)](_0xd24e82);},'onSendChangeset':_0x4d4011=>{const _0x40d8b1=_0x2cde78;_0x4d4011['sid']||(_0x4d4011['sid']=this[_0x40d8b1(0x33f)],_0x4d4011[_0x40d8b1(0x32d)]=++this[_0x40d8b1(0x44f)]);const _0x27725c={'eventID':_0xdb349a[_0x40d8b1(0x1a4)],'data':{'unitID':_0x4d4011[_0x40d8b1(0x4f8)],'unitType':this['_type'],'changeset':_0x4d4011,'memberID':this[_0x40d8b1(0x359)][_0x40d8b1(0x55a)]()}};this[_0x40d8b1(0x359)][_0x40d8b1(0x211)](_0x27725c,this['unitID']);},'onMissingChangesets':({from:_0x1bf077,to:_0x10f807})=>{const _0x3d9ca9=_0x2cde78;this[_0x3d9ca9(0x3b4)][_0x3d9ca9(0x4cc)](_0x3d9ca9(0x592),_0x3d9ca9(0x246)+_0x1bf077+'\x20to\x20'+_0x10f807);const _0x4f2fba={'eventID':_0xdb349a[_0x3d9ca9(0x45c)],'data':{'unitID':_0x2afa10,'unitType':this[_0x3d9ca9(0x33a)],'from':_0x1bf077,'to':_0x10f807}};this[_0x3d9ca9(0x359)][_0x3d9ca9(0x211)](_0x4f2fba,this['unitID']);}};}async[_0x421733(0x534)](_0x4f6b22){const _0x433851=_0x421733;var _0x1879a2,_0x4a3e0f;const _0x4888bb=await this['_localCacheService']['loadOfflineData'](this[_0x433851(0x4f8)]),_0x23350e=(_0x1879a2=_0x4888bb==null?void 0x0:_0x4888bb[_0x433851(0x501)])!=null?_0x1879a2:[],_0x3587a3=(_0x4a3e0f=_0x4888bb==null?void 0x0:_0x4888bb[_0x433851(0x569)])!=null?_0x4a3e0f:null,_0x27f00e=!!(_0x3587a3!=null&&_0x3587a3[_0x433851(0x1ec)])&&!!(_0x3587a3!=null&&_0x3587a3[_0x433851(0x32d)]);this[_0x433851(0x33f)]=_0x27f00e?_0x3587a3[_0x433851(0x1ec)]:co(),this[_0x433851(0x44f)]=_0x27f00e?_0x3587a3[_0x433851(0x32d)]:0x0;const _0xb79056=this[_0x433851(0x4f8)];try{this[_0x433851(0x2b1)](_0x3587a3,_0x23350e);}catch(_0x29cdb8){this[_0x433851(0x3b4)][_0x433851(0x3ff)](_0x29cdb8);}const _0x55cd4d=this[_0x433851(0x3fc)]();if(_0x4f6b22){const _0x1fe179=Xi(this['_injector'],_0xb79056,this[_0x433851(0x33a)],_0x3587a3,_0x23350e,_0x55cd4d);return _0x1fe179 instanceof pe?_0x1fe179[_0x433851(0x2e8)]():(_0x1fe179 instanceof me||_0x1fe179 instanceof Te)&&_0x1fe179['resend'](),_0x1fe179;}return this['_injector']['createInstance'](Oe,_0xb79056,this[_0x433851(0x33a)],_0x3587a3,_0x23350e,_0x55cd4d);}[_0x421733(0x2b1)](_0x994a65,_0x529b93){const _0x1719b6=_0x421733;var _0x49529a,_0x4b2a53;const _0x373d55=this[_0x1719b6(0x458)][_0x1719b6(0x42b)][_0x1719b6(0x2a3)](this[_0x1719b6(0x458)]['interceptor']['getInterceptPoints']()[_0x1719b6(0x3be)]);(_0x49529a=_0x373d55((_0x994a65==null?void 0x0:_0x994a65[_0x1719b6(0x501)])||[],null))==null||_0x49529a[_0x1719b6(0x2d2)](_0x67aa41=>this[_0x1719b6(0x39a)][_0x1719b6(0x37b)](_0x67aa41['id'],_0x67aa41[_0x1719b6(0x3ba)])),(_0x4b2a53=_0x373d55(_0x529b93||[],null))==null||_0x4b2a53[_0x1719b6(0x2d2)](_0x562f83=>this[_0x1719b6(0x39a)][_0x1719b6(0x37b)](_0x562f83['id'],_0x562f83[_0x1719b6(0x3ba)]));}};Pt=Ps([H(0x3,_0x231990(_0x1d3c8c)),H(0x4,_0x231990(z)),H(0x5,_0x231990(_0x60c9a0)),H(0x6,_0x231990(_0x3097b7)),H(0x7,_0x231990(_0x2467a7)),H(0x8,_0x257353),H(0x9,_0x5af619),H(0xa,_0x2cbd8b),H(0xb,_0x286710),H(0xc,_0x1f1bd9(Ht))],Pt);let hs=class extends Pt{constructor(_0x4915b6,_0x52bce6,_0x4a1f99,_0x356bf8,_0x562d99,_0x1c8d14,_0x3738e7,_0x1ad5ba,_0x325266,_0x3af08d,_0x59a388,_0x3065d7,_0x5afd7a,_0xdfe406,_0x1a291b,_0x4f8e5f,_0x1b7bca,_0x53be7e){const _0x5992f6=_0x421733;super(_0x4915b6,_0x4a1f99,_0x52bce6,_0x356bf8,_0x562d99,_0x1c8d14,_0x3738e7,_0x1ad5ba,_0xdfe406,_0x1a291b,_0x4f8e5f,_0x1b7bca,_0x53be7e),this[_0x5992f6(0x4f8)]=_0x4915b6,this[_0x5992f6(0x4c2)]=_0x52bce6,this['_docStateChangeManagerService']=_0x325266,this['_docTransformIMECacheService']=_0x3af08d,this[_0x5992f6(0x493)]=_0x59a388,this['_docTransformSelectionsService']=_0x3065d7,this['_docSyncEditingCollabCursorService']=_0x5afd7a;}[_0x421733(0x3fc)](){const _0x328e2e=_0x421733,_0x3622d1=super[_0x328e2e(0x3fc)]();return _0x3622d1[_0x328e2e(0x243)]=_0x4560ca=>this[_0x328e2e(0x29c)][_0x328e2e(0x3c4)](_0x4560ca),_0x3622d1[_0x328e2e(0x3f4)]=_0x5e3e13=>this[_0x328e2e(0x493)][_0x328e2e(0x3b9)](_0x5e3e13),_0x3622d1[_0x328e2e(0x35c)]=_0x6fbb94=>this['_docTransformSelectionsService']['transformSelections'](_0x6fbb94),_0x3622d1[_0x328e2e(0x3b2)]=_0x37c591=>this[_0x328e2e(0x2ba)][_0x328e2e(0x172)](_0x37c591),_0x3622d1['onTransformRemoteChangesetByIMECache']=_0x3c88bd=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3c88bd),_0x3622d1['onTransformRemoteChangesetByStateCache']=_0x2f6a4a=>this[_0x328e2e(0x493)][_0x328e2e(0x275)](_0x2f6a4a),_0x3622d1;}async[_0x421733(0x483)](){const _0x30c2=_0x421733,_0x3333ff=await super[_0x30c2(0x483)]();return this[_0x30c2(0x40e)](this[_0x30c2(0x3b0)][_0x30c2(0x57d)][_0x30c2(0x552)](_0x2c50c2(this[_0x30c2(0x4eb)]))[_0x30c2(0x4fc)](_0x586c7d=>{const _0x307c6f=_0x30c2;if(_0x586c7d==null)return;const {unitId:_0x509264,redoState:_0x47f15c,commandId:_0xd7f294}=_0x586c7d;if(_0x509264!==this[_0x307c6f(0x4f8)])return;const _0x284c81={'id':_0xd7f294,'type':_0x330e8b[_0x307c6f(0x446)],'params':{'unitId':_0x509264,'actions':_0x47f15c[_0x307c6f(0x276)],'textRanges':null}};this[_0x307c6f(0x265)](_0x284c81);})),this[_0x30c2(0x40e)](this[_0x30c2(0x39a)][_0x30c2(0x470)]((_0x1336f4,_0x40ad0b)=>{const _0x911e9b=_0x30c2;if(_0x1336f4[_0x911e9b(0x4c2)]!==_0x330e8b[_0x911e9b(0x446)]||_0x40ad0b!=null&&_0x40ad0b[_0x911e9b(0x197)]||_0x40ad0b!=null&&_0x40ad0b[_0x911e9b(0x1db)]||_0x1336f4['id']===_0x21e608['id'])return;const _0x54c3c1=_0x1336f4[_0x911e9b(0x3ba)];if((_0x54c3c1==null?void 0x0:_0x54c3c1[_0x911e9b(0x194)])!==this[_0x911e9b(0x4f8)])return;const _0x55c0ad=_0x1336f4,_0x37245d=this['_compressMutationService']['interceptor'][_0x911e9b(0x2a3)](this['_compressMutationService']['interceptor'][_0x911e9b(0x1e3)]()[_0x911e9b(0x3ce)])([_0x55c0ad],null)||[_0x55c0ad];this[_0x911e9b(0x265)](_0x37245d[0x0]);})),_0x3333ff;}};hs=Ps([H(0x3,_0x231990(_0x1d3c8c)),H(0x4,_0x231990(z)),H(0x5,_0x231990(_0x60c9a0)),H(0x6,_0x231990(_0x3097b7)),H(0x7,_0x231990(_0x2467a7)),H(0x8,_0x231990(_0x283ec1)),H(0x9,_0x231990(Ot)),H(0xa,_0x231990(wt)),H(0xb,_0x231990(Dt)),H(0xc,_0x231990(Ds)),H(0xd,_0x257353),H(0xe,_0x5af619),H(0xf,_0x2cbd8b),H(0x10,_0x286710),H(0x11,_0x1f1bd9(Ht))],hs);let ls=class extends Pt{constructor(_0x2af307,_0x7857fe,_0x5cf09d,_0x261f23,_0x30a8a2,_0x89380e,_0x3ff750,_0x387419,_0xb40181,_0x1a0280,_0xa99bdf,_0x42cbd1,_0x118004,_0x2312a4){const _0xff2099=_0x421733;super(_0x2af307,_0x5cf09d,_0x7857fe,_0x261f23,_0x30a8a2,_0x89380e,_0x3ff750,_0x387419,_0x1a0280,_0xa99bdf,_0x42cbd1,_0x118004,_0x2312a4),this[_0xff2099(0x4f8)]=_0x2af307,this[_0xff2099(0x4c2)]=_0x7857fe,this[_0xff2099(0x2df)]=_0xb40181;}['_createHandler'](){const _0x154ecb=_0x421733,_0x5dce4f=super[_0x154ecb(0x3fc)]();return _0x5dce4f['onTransformSelections']=_0x336ee4=>this[_0x154ecb(0x2df)]['transformSelections'](_0x336ee4),_0x5dce4f;}async[_0x421733(0x483)](){const _0x1611a0=_0x421733,_0x1c7c48=await super[_0x1611a0(0x483)]();return this[_0x1611a0(0x40e)](this[_0x1611a0(0x39a)]['onCommandExecuted']((_0x199559,_0x121739)=>{const _0x5ea924=_0x1611a0;if(_0x199559['type']!==_0x330e8b[_0x5ea924(0x446)]||_0x121739!=null&&_0x121739['fromCollab']||_0x121739!=null&&_0x121739[_0x5ea924(0x1db)])return;const _0x2023d2=_0x199559[_0x5ea924(0x3ba)];if((_0x2023d2==null?void 0x0:_0x2023d2['unitId'])!==this[_0x5ea924(0x4f8)])return;const _0x27eef6=_0x199559,_0xaea878=this['_compressMutationService'][_0x5ea924(0x42b)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5ea924(0x42b)][_0x5ea924(0x1e3)]()['COMPRESS_MUTATION_SEND'])([_0x27eef6],null)||[_0x27eef6];this['_onLocalMutation'](_0xaea878[0x0]);})),_0x1c7c48;}};ls=Ps([H(0x3,_0x231990(_0x1d3c8c)),H(0x4,_0x231990(z)),H(0x5,_0x231990(_0x60c9a0)),H(0x6,_0x231990(_0x3097b7)),H(0x7,_0x231990(_0x2467a7)),H(0x8,_0x231990(yt)),H(0x9,_0x257353),H(0xa,_0x5af619),H(0xb,_0x2cbd8b),H(0xc,_0x286710),H(0xd,_0x1f1bd9(Ht))],ls);var xo=Object['defineProperty'],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x394d7b,_0x185bf2,_0x4f6ee2,_0x5dc43d)=>{for(var _0x36fc00=_0x5dc43d>0x1?void 0x0:_0x5dc43d?Lo(_0x185bf2,_0x4f6ee2):_0x185bf2,_0x8b9bc4=_0x394d7b['length']-0x1,_0x46cfb5;_0x8b9bc4>=0x0;_0x8b9bc4--)(_0x46cfb5=_0x394d7b[_0x8b9bc4])&&(_0x36fc00=(_0x5dc43d?_0x46cfb5(_0x185bf2,_0x4f6ee2,_0x36fc00):_0x46cfb5(_0x36fc00))||_0x36fc00);return _0x5dc43d&&_0x36fc00&&xo(_0x185bf2,_0x4f6ee2,_0x36fc00),_0x36fc00;},qt=(_0x448d31,_0x463fd7)=>(_0x2fe701,_0x655e5a)=>_0x463fd7(_0x2fe701,_0x655e5a,_0x448d31);let it=class extends _0x33a3aa{constructor(_0x47143b,_0x58f69e,_0x5640ad){const _0x3c63eb=_0x421733;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0x28e091()),(this['_injector']=_0x47143b,this[_0x3c63eb(0x1b4)]=_0x58f69e,this[_0x3c63eb(0x49a)]=_0x5640ad,this[_0x3c63eb(0x483)]());}[_0x421733(0x40d)](){const _0x38fe89=_0x421733;super[_0x38fe89(0x40d)](),this['_entities'][_0x38fe89(0x2d2)](_0x220ad7=>_0x220ad7[_0x38fe89(0x40d)]()),this['_entities'][_0x38fe89(0x186)]();}['getCollabEntity'](_0x514563){const _0x5a60f0=_0x421733;var _0x4c2881;return(_0x4c2881=this[_0x5a60f0(0x465)][_0x5a60f0(0x37c)](_0x514563))!=null?_0x4c2881:null;}['getCollabEntity$'](_0x132896){const _0x1c4672=_0x421733,_0x19f35c=this[_0x1c4672(0x409)](_0x132896);return _0x19f35c?_0x25af31(_0x19f35c):this[_0x1c4672(0x3ca)][_0x1c4672(0x552)](_0x1de59c(_0x3989cd=>_0x3989cd[_0x1c4672(0x4f8)]===_0x132896));}['_init'](){const _0x58ead8=_0x421733;this[_0x58ead8(0x49a)][_0x58ead8(0x438)](_0x24d9a0[_0x58ead8(0x219)])[_0x58ead8(0x552)](_0x2c50c2(this[_0x58ead8(0x4eb)]),_0x4c4c05(0x10))['subscribe'](async _0x89e506=>{const _0x2b0039=_0x58ead8,_0x3fb189=_0x89e506[_0x2b0039(0x47f)](),_0x57d1b4=await this['_startCollaboration'](_0x3fb189,ae[_0x2b0039(0x219)]);this['_entities']['set'](_0x3fb189,_0x57d1b4);}),this[_0x58ead8(0x49a)][_0x58ead8(0x438)](_0x24d9a0[_0x58ead8(0x42a)])['pipe'](_0x2c50c2(this[_0x58ead8(0x4eb)]),_0x4c4c05(0x10))[_0x58ead8(0x552)](_0x1de59c(_0x33041d=>!_0x33041d['getUnitId']()[_0x58ead8(0x2da)]('__')))['subscribe'](async _0x57ba3a=>{const _0x4ab5b6=_0x58ead8,_0x341990=_0x57ba3a[_0x4ab5b6(0x47f)](),_0x53a2f1=await this[_0x4ab5b6(0x27a)](_0x341990,ae[_0x4ab5b6(0x42a)]);this[_0x4ab5b6(0x465)]['set'](_0x341990,_0x53a2f1);}),_0x3f6cf6(this[_0x58ead8(0x49a)][_0x58ead8(0x251)](_0x24d9a0[_0x58ead8(0x219)]),this[_0x58ead8(0x49a)][_0x58ead8(0x251)](_0x24d9a0[_0x58ead8(0x42a)]))[_0x58ead8(0x552)](_0x2c50c2(this[_0x58ead8(0x4eb)]))[_0x58ead8(0x4fc)](_0x2263d0=>{const _0x72b7d5=_0x58ead8,_0x142b5c=_0x2263d0['getUnitId'](),_0x536b53=this['_entities'][_0x72b7d5(0x37c)](_0x142b5c);_0x536b53&&(_0x536b53[_0x72b7d5(0x40d)](),this['_entities']['delete'](_0x142b5c));});}async[_0x421733(0x27a)](_0x415453,_0x301342){const _0x1bab67=_0x421733,_0x4bb7cd=await this['_collabSessionService'][_0x1bab67(0x1ed)](_0x415453),_0x3e534a=this[_0x1bab67(0x30b)][_0x1bab67(0x341)](this[_0x1bab67(0x176)](_0x301342),_0x415453,_0x301342,_0x4bb7cd);return await _0x3e534a[_0x1bab67(0x371)](),this[_0x1bab67(0x3ca)]['next'](_0x3e534a),_0x3e534a;}[_0x421733(0x176)](_0x4efc45){const _0x6f30f9=_0x421733;switch(_0x4efc45){case ae[_0x6f30f9(0x42a)]:return hs;case ae[_0x6f30f9(0x219)]:return ls;default:throw new Error(_0x6f30f9(0x56b)+_0x4efc45);}}};it=$o([qt(0x0,_0x231990(_0x1d3c8c)),qt(0x1,_0x231990(Me)),qt(0x2,_0x186a82)],it);var Ho=Object['defineProperty'],jo=Object[_0x421733(0x2e2)],Bo=(_0x534ca2,_0x5b822c,_0x446ffc,_0x55ad1c)=>{const _0x5496be=_0x421733;for(var _0x43287c=_0x55ad1c>0x1?void 0x0:_0x55ad1c?jo(_0x5b822c,_0x446ffc):_0x5b822c,_0x59364f=_0x534ca2[_0x5496be(0x4b1)]-0x1,_0x26e6f9;_0x59364f>=0x0;_0x59364f--)(_0x26e6f9=_0x534ca2[_0x59364f])&&(_0x43287c=(_0x55ad1c?_0x26e6f9(_0x5b822c,_0x446ffc,_0x43287c):_0x26e6f9(_0x43287c))||_0x43287c);return _0x55ad1c&&_0x43287c&&Ho(_0x5b822c,_0x446ffc,_0x43287c),_0x43287c;},ei=(_0x5c0fab,_0x46f636)=>(_0x2073d8,_0x591b3c)=>_0x46f636(_0x2073d8,_0x591b3c,_0x5c0fab);let Ut=class extends _0x33a3aa{constructor(_0x579152,_0x352726){const _0x574533=_0x421733;super(),this['_docClipboardService']=_0x579152,this[_0x574533(0x414)]=_0x352726,this[_0x574533(0x483)]();}[_0x421733(0x483)](){const _0x2edf2b=_0x421733,_0x52335d=this;this['disposeWithMe'](this[_0x2edf2b(0x491)]['addClipboardHook']({'onBeforePasteImage':async _0x561284=>{const _0x1f5421=_0x2edf2b,_0x51a558=await _0x52335d['_imageIoService'][_0x1f5421(0x485)](_0x561284);return _0x51a558?{'source':_0x51a558[_0x1f5421(0x4fd)],'imageSourceType':_0x51a558[_0x1f5421(0x376)]}:null;}}));}};Ut=Bo([ei(0x0,_0x2be04a),ei(0x1,_0x2982a0)],Ut);const ti=['purple300',_0x421733(0x361),'verdancy600',_0x421733(0x29a),'blue400',_0x421733(0x595)];class Us extends _0x36e463{constructor(){const _0x45f8ce=_0x421733;super(...arguments),g(this,_0x45f8ce(0x2d6),new Map()),g(this,_0x45f8ce(0x196),0x0);}[_0x421733(0x244)](_0x1c86a5){const _0x5ced8f=_0x421733;if(this[_0x5ced8f(0x2d6)][_0x5ced8f(0x247)](_0x1c86a5))return this['_assignedColors'][_0x5ced8f(0x37c)](_0x1c86a5);const _0x1dc79a=ti[this[_0x5ced8f(0x196)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%ti[_0x5ced8f(0x4b1)],this['_assignedColors'][_0x5ced8f(0x228)](_0x1c86a5,_0x1dc79a),_0x1dc79a;}}var ko=Object[_0x421733(0x1c6)],Wo=Object['getOwnPropertyDescriptor'],Fo=(_0x1b5379,_0x10d072,_0x51a9bf,_0x1dcf1b)=>{for(var _0xc32f6b=_0x1dcf1b>0x1?void 0x0:_0x1dcf1b?Wo(_0x10d072,_0x51a9bf):_0x10d072,_0x312f84=_0x1b5379['length']-0x1,_0x155057;_0x312f84>=0x0;_0x312f84--)(_0x155057=_0x1b5379[_0x312f84])&&(_0xc32f6b=(_0x1dcf1b?_0x155057(_0x10d072,_0x51a9bf,_0xc32f6b):_0x155057(_0xc32f6b))||_0xc32f6b);return _0x1dcf1b&&_0xc32f6b&&ko(_0x10d072,_0x51a9bf,_0xc32f6b),_0xc32f6b;},we=(_0x54b9c8,_0xd792cd)=>(_0x361937,_0x684a5)=>_0xd792cd(_0x361937,_0x684a5,_0x54b9c8);const Vo=0x12c,Go=0x64;let _s=class extends _0x33a3aa{constructor(_0x57e9c8,_0x1e5562,_0x4089b2,_0xacc9ad,_0x52f6eb,_0x2cd517,_0x1d184f,_0x47b94c,_0x266123){const _0x4ab76b=_0x421733;super(),g(this,'_online',!0x1),g(this,_0x4ab76b(0x483),!0x1),g(this,_0x4ab76b(0x4d0),new _0x461b47(new Map())),g(this,_0x4ab76b(0x548),this[_0x4ab76b(0x4d0)]['asObservable']()),g(this,_0x4ab76b(0x3cc),new _0x461b47([])),g(this,_0x4ab76b(0x327),this['_roomMembers$'][_0x4ab76b(0x552)](_0x21c89c(Vo))),g(this,_0x4ab76b(0x51d),_0x4ce71a(_0x1e3740=>{const _0x3e1291=_0x4ab76b,_0x51f8fd={'eventID':_0xdb349a[_0x3e1291(0x1fb)],'data':{'unitID':this[_0x3e1291(0x4f8)],'memberID':this[_0x3e1291(0x1fa)][_0x3e1291(0x55a)](),'selection':Ki(_0x1e3740)}};this[_0x3e1291(0x1fa)][_0x3e1291(0x211)](_0x51f8fd,this[_0x3e1291(0x4f8)]);},Go)),(this[_0x4ab76b(0x4f8)]=_0x57e9c8,this[_0x4ab76b(0x1fa)]=_0x1e5562,this['_injector']=_0x4089b2,this[_0x4ab76b(0x51e)]=_0xacc9ad,this[_0x4ab76b(0x261)]=_0x52f6eb,this[_0x4ab76b(0x23b)]=_0x2cd517,this['_transformService']=_0x1d184f,this[_0x4ab76b(0x49a)]=_0x47b94c,this['_commandService']=_0x266123);}get[_0x421733(0x1ae)](){const _0x3b19a6=_0x421733;return this[_0x3b19a6(0x4d0)][_0x3b19a6(0x3f5)]();}get[_0x421733(0x519)](){const _0x4e1154=_0x421733;return this[_0x4e1154(0x3cc)]['getValue']();}[_0x421733(0x40d)](){const _0xd90439=_0x421733;super[_0xd90439(0x40d)](),this['_cursorInfo$'][_0xd90439(0x537)](new Map()),this[_0xd90439(0x4d0)][_0xd90439(0x4d3)](),this[_0xd90439(0x3cc)][_0xd90439(0x537)]([]),this[_0xd90439(0x3cc)][_0xd90439(0x4d3)]();}['init'](){const _0x416822=_0x421733;this[_0x416822(0x483)]||(this[_0x416822(0x483)]=!0x0,this['_session'][_0x416822(0x386)][_0x416822(0x552)](_0x2c50c2(this[_0x416822(0x4eb)]))[_0x416822(0x4fc)](_0x12b041=>{const _0x129111=_0x416822;_0x12b041===fe[_0x129111(0x16b)]?this[_0x129111(0x503)]():this[_0x129111(0x3c3)]();}),this[_0x416822(0x1fa)]['event$'][_0x416822(0x552)](_0x2c50c2(this['dispose$']))[_0x416822(0x4fc)](_0x30e69d=>{const _0x567678=_0x416822,_0x5860ed=_0x30e69d['eventID'];_0x5860ed===_0xdb349a['UPDATE_CURSOR']&&this[_0x567678(0x362)](_0x30e69d),_0x5860ed===_0xdb349a[_0x567678(0x451)]&&this[_0x567678(0x3d5)](_0x30e69d);}),this['disposeWithMe'](this[_0x416822(0x39a)][_0x416822(0x470)](_0x2dca85=>{const _0x5f3b84=_0x416822,_0x49fa04=_0x2dca85[_0x5f3b84(0x3ba)];_0x49fa04!=null&&this['_online']&&_0x2dca85['id']===_0x412e6f['id']&&_0x49fa04[_0x5f3b84(0x194)]===this[_0x5f3b84(0x4f8)]&&_0x49fa04[_0x5f3b84(0x206)]===!0x1&&_0x49fa04[_0x5f3b84(0x562)][_0x5f3b84(0x4b1)]>0x0&&this[_0x5f3b84(0x51d)](_0x49fa04[_0x5f3b84(0x562)]);})),this['_syncEditingCollabCursorService'][_0x416822(0x58b)][_0x416822(0x552)](_0x2c50c2(this['dispose$']))[_0x416822(0x4fc)](_0x482de6=>{const _0x569031=_0x416822;if((_0x482de6==null?void 0x0:_0x482de6['unitID'])!==this['unitID'])return;const _0x36dac6={'eventID':_0xdb349a[_0x569031(0x1fb)],'data':_0x482de6};this[_0x569031(0x362)](_0x36dac6);}),this[_0x416822(0x40e)](this[_0x416822(0x39a)][_0x416822(0x470)](_0x1e8318=>{const _0xf77e45=_0x416822;if(_0x1e8318['params']==null)return;const _0x5e3202=_0x1e8318[_0xf77e45(0x3ba)];if(_0x1e8318['id']!==_0x21e608['id']||_0x5e3202[_0xf77e45(0x194)]!==this[_0xf77e45(0x4f8)])return;const _0x15f29c={'id':_0xf77e45(0x2b5),'params':_0x5e3202},_0x17fcfb=this[_0xf77e45(0x1ae)];for(const [_0x37bd01,_0x14bcbd]of _0x17fcfb){const _0x3f1794={'id':_0xf77e45(0x2b5),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x14bcbd[_0xf77e45(0x562)]}},_0x13810c=this[_0xf77e45(0x579)][_0xf77e45(0x358)](_0x15f29c,_0x3f1794,!0x1);if(_0x2f8c79(_0x13810c))throw _0x13810c[_0xf77e45(0x3ff)];_0x17fcfb[_0xf77e45(0x228)](_0x37bd01,{..._0x14bcbd,'ranges':_0x13810c[_0xf77e45(0x4e7)][_0xf77e45(0x3ba)]['textRanges']});}queueMicrotask(()=>{const _0x4217bf=_0xf77e45;this[_0x4217bf(0x4d0)][_0x4217bf(0x537)](_0x17fcfb);});})));}[_0x421733(0x362)](_0x361769){const _0xbb2d05=_0x421733;var _0x28922f,_0x262e88;const {memberID:_0x5424bb,selection:_0x35d364}=_0x361769[_0xbb2d05(0x263)],_0x23f412=To(_0x35d364),_0x46437c=(_0x262e88=(_0x28922f=this[_0xbb2d05(0x261)][_0xbb2d05(0x3da)](this[_0xbb2d05(0x4f8)],_0x5424bb))==null?void 0x0:_0x28922f[_0xbb2d05(0x37a)])!=null?_0x262e88:_0xbb2d05(0x320),_0x1a3b71={'color':this[_0xbb2d05(0x51e)][_0xbb2d05(0x244)](_0x5424bb),'name':_0x46437c,'ranges':_0x23f412},_0x223f8a=this[_0xbb2d05(0x1ae)];_0x223f8a['set'](_0x5424bb,_0x1a3b71),this[_0xbb2d05(0x4d0)]['next'](_0x223f8a);}[_0x421733(0x3d5)](_0xe4be4){const _0x24aaae=_0x421733,{memberID:_0x5ac43f}=_0xe4be4['data'],_0x246b39=this[_0x24aaae(0x1ae)];_0x246b39['delete'](_0x5ac43f),this[_0x24aaae(0x4d0)][_0x24aaae(0x537)](_0x246b39);}['_toggleOnline'](){const _0x1bb02a=_0x421733;var _0x392436;if(this['_online']=!0x0,((_0x392436=this[_0x1bb02a(0x49a)][_0x1bb02a(0x30d)]())==null?void 0x0:_0x392436[_0x1bb02a(0x47f)]())!==this['unitID'])return;const _0x54fc09=this[_0x1bb02a(0x30b)][_0x1bb02a(0x37c)](_0x41a45f)[_0x1bb02a(0x46f)]();Array['isArray'](_0x54fc09)&&_0x54fc09[_0x1bb02a(0x4b1)]>0x0&&this[_0x1bb02a(0x51d)](_0x54fc09);}['_toggleOffline'](){const _0x5d4ebc=_0x421733;this[_0x5d4ebc(0x21a)]=!0x1;}};_s=Fo([we(0x2,_0x231990(_0x1d3c8c)),we(0x3,_0x231990(Us)),we(0x4,_0x231990(Ae)),we(0x5,_0x231990(Ds)),we(0x6,_0x2b2256),we(0x7,_0x186a82),we(0x8,_0x5af619)],_s);var Yo=Object[_0x421733(0x1c6)],Ko=Object[_0x421733(0x2e2)],qo=(_0x3d552c,_0x313340,_0x3fa864,_0x29e5e8)=>{for(var _0x158548=_0x29e5e8>0x1?void 0x0:_0x29e5e8?Ko(_0x313340,_0x3fa864):_0x313340,_0x1c8fcb=_0x3d552c['length']-0x1,_0x1cd2c5;_0x1c8fcb>=0x0;_0x1c8fcb--)(_0x1cd2c5=_0x3d552c[_0x1c8fcb])&&(_0x158548=(_0x29e5e8?_0x1cd2c5(_0x313340,_0x3fa864,_0x158548):_0x1cd2c5(_0x158548))||_0x158548);return _0x29e5e8&&_0x158548&&Yo(_0x313340,_0x3fa864,_0x158548),_0x158548;},je=(_0x5a057b,_0x45f8cc)=>(_0x441eb2,_0x146481)=>_0x45f8cc(_0x441eb2,_0x146481,_0x5a057b);const zo=0x12c,Xo=0x64,Jo=()=>{let _0x2f16f1=[],_0x128443=!0x1;return _0x52a37c=>{const _0x21484c=_0x9980;_0x2f16f1[_0x21484c(0x2ac)](_0x52a37c),_0x128443||(_0x128443=!0x0,setTimeout(()=>{_0x2f16f1['forEach'](_0x4b0e18=>_0x4b0e18()),_0x2f16f1=[],_0x128443=!0x1;}));};};let us=class extends _0x33a3aa{constructor(_0x218224,_0x5bb8f2,_0x109a74,_0x1850c3,_0x2b9f33,_0x4b5e54,_0x33c0b3,_0x2e6286){const _0x54bd17=_0x421733;super(),g(this,_0x54bd17(0x21a),!0x1),g(this,'_init',!0x1),g(this,'_cursorInfo$',new _0x461b47(new Map())),g(this,'cursorInfo$',this['_cursorInfo$'][_0x54bd17(0x314)]()),g(this,_0x54bd17(0x3cc),new _0x461b47([])),g(this,'roomMembers$',this[_0x54bd17(0x3cc)]['pipe'](_0x21c89c(zo))),g(this,_0x54bd17(0x51d),_0x4ce71a((_0x581417,_0x4e91ee)=>{const _0x3d6f78=_0x54bd17,_0x3a993d={'eventID':_0xdb349a[_0x3d6f78(0x1fb)],'data':{'unitID':this['unitID'],'memberID':this[_0x3d6f78(0x1fa)][_0x3d6f78(0x55a)](),'selection':_0x5a7c45(_0x581417,_0x4e91ee['range'])}};this[_0x3d6f78(0x1fa)][_0x3d6f78(0x211)](_0x3a993d,this[_0x3d6f78(0x4f8)]);},Xo)),(this[_0x54bd17(0x4f8)]=_0x218224,this[_0x54bd17(0x1fa)]=_0x5bb8f2,this[_0x54bd17(0x30b)]=_0x109a74,this['_colorAssignService']=_0x1850c3,this[_0x54bd17(0x261)]=_0x2b9f33,this[_0x54bd17(0x49a)]=_0x4b5e54,this[_0x54bd17(0x39a)]=_0x33c0b3,this[_0x54bd17(0x1a1)]=_0x2e6286);}get[_0x421733(0x1ae)](){const _0x3c8a49=_0x421733;return this[_0x3c8a49(0x4d0)]['getValue']();}get[_0x421733(0x519)](){const _0x3d2514=_0x421733;return this[_0x3d2514(0x3cc)][_0x3d2514(0x3f5)]();}[_0x421733(0x40d)](){const _0x4f9ef7=_0x421733;super[_0x4f9ef7(0x40d)](),this[_0x4f9ef7(0x4d0)]['next'](new Map()),this['_cursorInfo$'][_0x4f9ef7(0x4d3)](),this['_roomMembers$']['next']([]),this[_0x4f9ef7(0x3cc)]['complete']();}[_0x421733(0x371)](){const _0x5afc28=_0x421733;this[_0x5afc28(0x483)]||(this[_0x5afc28(0x483)]=!0x0,this[_0x5afc28(0x1fa)]['sessionStatus$'][_0x5afc28(0x552)](_0x2c50c2(this[_0x5afc28(0x4eb)]))['subscribe'](_0x1c2ced=>{const _0x4d24ec=_0x5afc28;_0x1c2ced===fe[_0x4d24ec(0x16b)]?this['_toggleOnline']():this[_0x4d24ec(0x3c3)]();}),this['_session'][_0x5afc28(0x2dd)]['pipe'](_0x2c50c2(this[_0x5afc28(0x4eb)]))['subscribe'](_0x59813d=>{const _0x410a46=_0x5afc28,_0x10267f=_0x59813d[_0x410a46(0x41e)];_0x10267f===_0xdb349a[_0x410a46(0x1fb)]&&this[_0x410a46(0x362)](_0x59813d),_0x10267f===_0xdb349a[_0x410a46(0x451)]&&this['_onCursorDelete'](_0x59813d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x5afc28(0x39a)][_0x5afc28(0x470)](_0x345454=>{const _0x5a9e7d=_0x5afc28;if(this[_0x5a9e7d(0x21a)]&&_0x345454['id']===_0x15ebeb['id']&&_0x345454[_0x5a9e7d(0x3ba)]['unitId']===this[_0x5a9e7d(0x4f8)]){const _0x350bdf=_0x345454['params'];this['_updateLocalCursor'](_0x350bdf[_0x5a9e7d(0x234)],_0x350bdf['selections'][0x0]);}})));}[_0x421733(0x362)](_0x2dd71b){const _0x498065=_0x421733;var _0x3a2042,_0x30b81e;const {memberID:_0x375464,selection:_0x387e2a}=_0x2dd71b[_0x498065(0x263)],{sheetName:_0x4d55a9,range:_0x197470}=_0x4c7e86(_0x387e2a),_0x40cfae={'name':(_0x30b81e=(_0x3a2042=this['_memberService'][_0x498065(0x3da)](this[_0x498065(0x4f8)],_0x375464))==null?void 0x0:_0x3a2042[_0x498065(0x37a)])!=null?_0x30b81e:_0x498065(0x320),'range':this[_0x498065(0x1e5)](_0x4d55a9,_0x197470),'sheetID':_0x4d55a9,'color':this[_0x498065(0x51e)][_0x498065(0x244)](_0x375464),'selection':_0x387e2a},_0x54caa8=this['cursorInfo'];_0x54caa8[_0x498065(0x228)](_0x375464,_0x40cfae),this[_0x498065(0x4d0)][_0x498065(0x537)](_0x54caa8);}['_onCursorDelete'](_0x304d5f){const _0x339d1c=_0x421733,{memberID:_0x69b308}=_0x304d5f[_0x339d1c(0x263)],_0x45718e=this[_0x339d1c(0x1ae)];_0x45718e[_0x339d1c(0x2d8)](_0x69b308),this[_0x339d1c(0x4d0)][_0x339d1c(0x537)](_0x45718e);}[_0x421733(0x1e5)](_0x9114b4,_0x275e55){const _0x5bb227=_0x421733;var _0x29b04f,_0x5653fd;const _0x1e0031=(_0x5653fd=(_0x29b04f=this['_univerInstanceService'][_0x5bb227(0x564)](this[_0x5bb227(0x4f8)]))==null?void 0x0:_0x29b04f['getSheetBySheetId'](_0x9114b4))==null?void 0x0:_0x5653fd[_0x5bb227(0x535)]();return(_0x1e0031==null?void 0x0:_0x1e0031[_0x5bb227(0x3c5)](_0x140d7a=>_0x1f3690['contains'](_0x140d7a,_0x275e55)))||_0x275e55;}[_0x421733(0x3ee)](){const _0x270569=_0x421733,_0x46ba16=new _0xad70f7(),_0x517388=Jo(),_0x5415f1=()=>{const _0xb7a2b9=_0x9980;_0x46ba16[_0xb7a2b9(0x40d)]();const _0x2e48d8=(_0x32f997,_0x318a17,_0x10d57f,_0x2a44ec)=>{const _0x2a7eb7=_0xb7a2b9;let _0x255a19=[];switch(_0x32f997['id']){case _0x1b877c[_0x2a7eb7(0x435)]:{_0x255a19=_0x31db42(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x2ed)]:{_0x255a19=_0x2523aa(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x34c)]:{_0x255a19=_0x44d185(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x4db)]:{_0x255a19=_0xdcdacc(_0x32f997,_0x2a44ec);break;}case _0x1b877c['InsertRangeMoveRightCommandId']:{_0x255a19=_0x30a3c5(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x4d7)]:{_0x255a19=_0x452c99(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x331)]:{_0x255a19=_0x1686e7(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x4cb)]:{_0x255a19=_0x3571ea(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x50f)]:{_0x255a19=_0xdd0575(_0x32f997,_0x2a44ec);break;}}const _0x333b04=_0x1a11fa(_0x255a19,_0x2a44ec),_0x5075e3=this[_0x2a7eb7(0x1ae)]['get'](_0x318a17);if(_0x5075e3&&_0x333b04){const _0x4033a8={..._0x5075e3,'range':_0x333b04};this['cursorInfo'][_0x2a7eb7(0x228)](_0x318a17,_0x4033a8),_0x517388(()=>{const _0x5a17d7=_0x2a7eb7,_0x52ca13=this[_0x5a17d7(0x1a1)][_0x5a17d7(0x442)](_0x333b04,_0x711d8e=>(_0x52ca13[_0x5a17d7(0x40d)](),_0x2e48d8(_0x711d8e,_0x318a17,_0x10d57f,_0x333b04)));_0x46ba16[_0x5a17d7(0x27c)](_0x52ca13);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x1010d4,_0x411044)=>{const _0xf8757b=_0xb7a2b9,{range:_0x430208,sheetID:_0x4a0a73}=_0x1010d4,_0x6edf88=this[_0xf8757b(0x1a1)][_0xf8757b(0x442)](_0x430208,_0x1c27d6=>(_0x6edf88['dispose'](),_0x2e48d8(_0x1c27d6,_0x411044,_0x4a0a73,_0x430208)));_0x46ba16[_0xf8757b(0x27c)](_0x6edf88);});};this[_0x270569(0x40e)](_0xb887b1(this['_cursorInfo$'][_0x270569(0x4fc)](()=>{_0x5415f1();})));}[_0x421733(0x503)](){const _0x5b4a27=_0x421733;var _0x1305fd,_0x31172d;if(this['_online']=!0x0,((_0x1305fd=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1305fd[_0x5b4a27(0x47f)]())!==this[_0x5b4a27(0x4f8)])return;const _0xe43314=(_0x31172d=this[_0x5b4a27(0x30b)][_0x5b4a27(0x37c)](_0x2ad53c)['getCurrentSelections']())==null?void 0x0:_0x31172d[0x0],_0x250d0c=this['_univerInstanceService'][_0x5b4a27(0x3f6)](_0x24d9a0[_0x5b4a27(0x219)])[_0x5b4a27(0x40f)]();_0xe43314&&_0x250d0c&&this[_0x5b4a27(0x51d)](_0x250d0c[_0x5b4a27(0x1c8)](),_0xe43314);}['_toggleOffline'](){this['_online']=!0x1;}};us=qo([je(0x2,_0x231990(_0x1d3c8c)),je(0x3,_0x231990(Us)),je(0x4,_0x231990(Ae)),je(0x5,_0x186a82),je(0x6,_0x5af619),je(0x7,_0x231990(_0x14e37a))],us);var Zo=Object[_0x421733(0x1c6)],Qo=Object[_0x421733(0x2e2)],ea=(_0x26e120,_0x430387,_0x15490f,_0x325345)=>{const _0x3cba58=_0x421733;for(var _0x10eb3f=_0x325345>0x1?void 0x0:_0x325345?Qo(_0x430387,_0x15490f):_0x430387,_0x5cfdf7=_0x26e120[_0x3cba58(0x4b1)]-0x1,_0x45ced1;_0x5cfdf7>=0x0;_0x5cfdf7--)(_0x45ced1=_0x26e120[_0x5cfdf7])&&(_0x10eb3f=(_0x325345?_0x45ced1(_0x430387,_0x15490f,_0x10eb3f):_0x45ced1(_0x10eb3f))||_0x10eb3f);return _0x325345&&_0x10eb3f&&Zo(_0x430387,_0x15490f,_0x10eb3f),_0x10eb3f;},zt=(_0x498c27,_0x2c52b0)=>(_0x4fc5b5,_0x3803b2)=>_0x2c52b0(_0x4fc5b5,_0x3803b2,_0x498c27);function _0x9980(_0x3f7238,_0x2f8288){const _0x5bbab9=_0x5bba();return _0x9980=function(_0x998064,_0x8b58b6){_0x998064=_0x998064-0x16b;let _0x172c5d=_0x5bbab9[_0x998064];return _0x172c5d;},_0x9980(_0x3f7238,_0x2f8288);}let Fe=class extends _0x33a3aa{constructor(_0x3f9a4e,_0x3a782c,_0x392cd2){const _0xc7b207=_0x421733;super(),g(this,_0xc7b207(0x465),new Map()),g(this,_0xc7b207(0x3ca),new _0x28e091()),(this['_univerInstanceService']=_0x3f9a4e,this[_0xc7b207(0x30b)]=_0x3a782c,this['_collabSessionService']=_0x392cd2,this['_init']());}[_0x421733(0x40d)](){const _0x541551=_0x421733;super[_0x541551(0x40d)](),this['_entityInit$'][_0x541551(0x4d3)](),this[_0x541551(0x465)][_0x541551(0x2d2)](_0x4a68f4=>_0x4a68f4[_0x541551(0x40d)]());}[_0x421733(0x17e)](_0x3311d7){const _0xf7377c=_0x421733;return this[_0xf7377c(0x465)][_0xf7377c(0x247)](_0x3311d7)?this[_0xf7377c(0x465)][_0xf7377c(0x37c)](_0x3311d7)[_0xf7377c(0x548)]:this['_entityInit$'][_0xf7377c(0x552)](_0x5a99f6(_0x4db5bb=>_0x4db5bb['unitID']===_0x3311d7),_0x48c325(_0x326dd1=>_0x326dd1[_0xf7377c(0x548)]));}[_0x421733(0x483)](){const _0x17aea8=_0x421733;this['_univerInstanceService'][_0x17aea8(0x438)](_0x24d9a0[_0x17aea8(0x219)])['pipe'](_0x2c50c2(this[_0x17aea8(0x4eb)]))[_0x17aea8(0x4fc)](async _0x8e13e0=>{const _0x540ee9=_0x17aea8,_0x4c6795=_0x8e13e0[_0x540ee9(0x47f)](),_0x206f24=await this[_0x540ee9(0x2e1)](_0x4c6795);this['_entityInit$'][_0x540ee9(0x537)](_0x206f24),this[_0x540ee9(0x465)][_0x540ee9(0x228)](_0x4c6795,_0x206f24);}),this[_0x17aea8(0x49a)]['getTypeOfUnitAdded$'](_0x24d9a0['UNIVER_DOC'])[_0x17aea8(0x552)](_0x2c50c2(this[_0x17aea8(0x4eb)]))[_0x17aea8(0x552)](_0x5a99f6(_0x3de85e=>!_0x3de85e[_0x17aea8(0x47f)]()[_0x17aea8(0x2da)]('__')))['subscribe'](async _0x490a62=>{const _0x3fa7b6=_0x17aea8,_0x4b277e=_0x490a62[_0x3fa7b6(0x47f)](),_0x5378eb=await this[_0x3fa7b6(0x212)](_0x4b277e);this[_0x3fa7b6(0x3ca)][_0x3fa7b6(0x537)](_0x5378eb),this[_0x3fa7b6(0x465)]['set'](_0x4b277e,_0x5378eb);}),_0x3f6cf6(this[_0x17aea8(0x49a)][_0x17aea8(0x251)](_0x24d9a0[_0x17aea8(0x42a)]),this[_0x17aea8(0x49a)][_0x17aea8(0x251)](_0x24d9a0[_0x17aea8(0x219)]))[_0x17aea8(0x552)](_0x2c50c2(this[_0x17aea8(0x4eb)]))[_0x17aea8(0x4fc)](_0x2aa140=>{const _0x270f24=_0x17aea8,_0x38aeb8=_0x2aa140[_0x270f24(0x47f)](),_0xef7f0e=this[_0x270f24(0x465)][_0x270f24(0x37c)](_0x38aeb8);_0xef7f0e&&(_0xef7f0e[_0x270f24(0x40d)](),this[_0x270f24(0x465)]['delete'](_0x38aeb8));});}async['_startSheetCollabCursor'](_0xef7cca){const _0x549782=_0x421733,_0x166536=await this[_0x549782(0x1b4)][_0x549782(0x1ed)](_0xef7cca),_0x429eec=this[_0x549782(0x30b)][_0x549782(0x341)](us,_0xef7cca,_0x166536);return _0x429eec['init'](),_0x429eec;}async[_0x421733(0x212)](_0x14588f){const _0x15068f=_0x421733,_0x49cf0f=await this[_0x15068f(0x1b4)]['requireSession'](_0x14588f),_0x3268e1=this['_injector'][_0x15068f(0x341)](_s,_0x14588f,_0x49cf0f);return _0x3268e1[_0x15068f(0x371)](),_0x3268e1;}};Fe=ea([zt(0x0,_0x186a82),zt(0x1,_0x231990(_0x1d3c8c)),zt(0x2,_0x231990(Me))],Fe);const rt=0x14,si=0xc8,Xt=0x4,ta=0x5;function sa(_0x342982,_0x93f2e0){const _0x8fe9d3=_0x421733;let {radius:_0x186bc0,width:_0x5d1321,height:_0x7fc889}=_0x93f2e0;_0x186bc0=_0x186bc0!=null?_0x186bc0:0x0,_0x5d1321=_0x5d1321!=null?_0x5d1321:0x1e,_0x7fc889=_0x7fc889!=null?_0x7fc889:0x1e;let _0x2c0005=0x0,_0x36e92b=0x0,_0x239503=0x0;_0x2c0005=_0x36e92b=_0x239503=Math[_0x8fe9d3(0x3e2)](_0x186bc0,_0x5d1321/0x2,_0x7fc889/0x2),_0x342982[_0x8fe9d3(0x572)](),_0x342982['moveTo'](_0x2c0005,0x0),_0x342982['lineTo'](_0x5d1321-_0x36e92b,0x0),_0x342982[_0x8fe9d3(0x2e3)](_0x5d1321-_0x36e92b,_0x36e92b,_0x36e92b,Math['PI']*0x3/0x2,0x0,!0x1),_0x342982[_0x8fe9d3(0x18a)](_0x5d1321,_0x7fc889-_0x239503),_0x342982['arc'](_0x5d1321-_0x239503,_0x7fc889-_0x239503,_0x239503,0x0,Math['PI']/0x2,!0x1),_0x342982[_0x8fe9d3(0x18a)](0x0,_0x7fc889),_0x342982[_0x8fe9d3(0x18a)](0x0,_0x2c0005),_0x342982['arc'](_0x2c0005,_0x2c0005,_0x2c0005,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x342982[_0x8fe9d3(0x2fa)](),_0x93f2e0[_0x8fe9d3(0x499)]&&(_0x342982[_0x8fe9d3(0x273)](),_0x342982[_0x8fe9d3(0x381)]=_0x93f2e0[_0x8fe9d3(0x499)],_0x93f2e0[_0x8fe9d3(0x304)]==='evenodd'?_0x342982['fill'](_0x8fe9d3(0x22f)):_0x342982[_0x8fe9d3(0x499)](),_0x342982['restore']());}class jt extends _0x4a6244{constructor(_0x272ab9,_0x3b4345){const _0x4a0892=_0x421733;super(_0x272ab9,_0x3b4345),g(this,'color'),g(this,'text'),(this[_0x4a0892(0x3ed)]=_0x3b4345==null?void 0x0:_0x3b4345[_0x4a0892(0x3ed)],this['text']=_0x3b4345==null?void 0x0:_0x3b4345[_0x4a0892(0x292)]);}static[_0x421733(0x19a)](_0x57693a,_0x521bd){const _0x2c6154=_0x421733,{text:_0x245a1e,color:_0x311c63}=_0x521bd;_0x57693a[_0x2c6154(0x273)](),_0x57693a[_0x2c6154(0x2e6)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x230513=_0x57693a[_0x2c6154(0x3c7)](_0x245a1e)['width'],_0x235fc8=Math[_0x2c6154(0x3e2)](_0x230513+0x2*Xt,si);sa(_0x57693a,{'height':rt,'radius':0x4,'width':_0x235fc8,'fill':_0x311c63,'evented':!0x1}),_0x57693a[_0x2c6154(0x381)]='#FFF';const _0x46af1a=Xt,_0x705712=rt-ta,_0x221000=si-0x2*Xt;if(_0x230513>_0x221000){let _0x5955cb='',_0x494d5b=0x0;for(const _0x2a2ab5 of _0x245a1e){const _0x303db6=_0x57693a[_0x2c6154(0x3c7)](_0x2a2ab5)[_0x2c6154(0x378)];if(_0x494d5b+_0x303db6<=_0x221000-_0x57693a[_0x2c6154(0x3c7)]('...')[_0x2c6154(0x378)])_0x5955cb+=_0x2a2ab5,_0x494d5b+=_0x303db6;else{_0x5955cb+='...';break;}}_0x57693a['fillText'](_0x5955cb,_0x46af1a,_0x705712);}else _0x57693a[_0x2c6154(0x272)](_0x245a1e,_0x46af1a,_0x705712);_0x57693a['restore']();}['_draw'](_0x1f557a){jt['drawWith'](_0x1f557a,this);}}const Jt=_0x421733(0x549),ia='collab-text-range-',ra=_0x421733(0x588),Xe=0x6,na=1.5,Zt=0x4,oa=1.5,aa='rgba(255,\x20255,\x20255,\x200.01)';class ii{constructor(_0x29b585,_0x2eaf97,_0x3e050b,_0x2e0308){const _0x3b980f=_0x421733;g(this,'_shapes',[]),g(this,_0x3b980f(0x2a8),null),g(this,_0x3b980f(0x42f),null),g(this,_0x3b980f(0x3d1),null),g(this,_0x3b980f(0x437),null),g(this,_0x3b980f(0x43a),null),(this['_cursor']=_0x29b585,this[_0x3b980f(0x4b7)]=_0x2eaf97,this[_0x3b980f(0x52f)]=_0x3e050b,this[_0x3b980f(0x1a7)]=_0x2e0308,this['_render']());}set[_0x421733(0x4f6)](_0x140c8c){const _0x466edc=_0x421733;_0x140c8c?(this[_0x466edc(0x3d1)]&&this[_0x466edc(0x3d1)][_0x466edc(0x52e)](),this[_0x466edc(0x42f)]&&this[_0x466edc(0x42f)][_0x466edc(0x34d)]()):(this[_0x466edc(0x3d1)]&&this[_0x466edc(0x3d1)]['show'](),this['_textBubble']&&this['_textBubble'][_0x466edc(0x52e)]());}[_0x421733(0x40d)](){const _0x3b572=_0x421733;for(const _0x1e2f33 of this[_0x3b572(0x31c)])_0x1e2f33[_0x3b572(0x40d)]();this[_0x3b572(0x42f)]&&this['_textBubble'][_0x3b572(0x40d)](),this[_0x3b572(0x3d1)]&&this[_0x3b572(0x3d1)][_0x3b572(0x40d)](),this[_0x3b572(0x2a8)]&&this[_0x3b572(0x2a8)][_0x3b572(0x40d)](),this[_0x3b572(0x43a)]&&this[_0x3b572(0x43a)]();}[_0x421733(0x3f7)](){const _0x2647cd=_0x421733;var _0x510ea9;const {_docSkeleton:_0x1d9ef7,_document:_0x1edc94}=this,{color:_0x378bb3,name:_0x2be607,ranges:_0xa7bdf4}=this[_0x2647cd(0x271)],_0x14068c=_0x1edc94[_0x2647cd(0x4b4)](),{docsLeft:_0x4f043f,docsTop:_0x5bccd4}=_0x14068c,_0x13c9bc=new _0x36574c(_0x14068c,_0x1d9ef7);for(const {startOffset:_0x569f4d,endOffset:_0x7d291d,rangeType:_0x320ea7,segmentId:_0x292e2b,segmentPage:_0x31bcdb,collapsed:_0x56a777,isActive:_0x40878e}of _0xa7bdf4){const _0x4a60f3=_0x1d9ef7[_0x2647cd(0x4d5)](_0x569f4d,!0x0,_0x292e2b,_0x31bcdb);let _0x9650f6=_0x1d9ef7['findNodePositionByCharIndex'](_0x7d291d,!0x0,_0x292e2b,_0x31bcdb);if(_0x9650f6==null&&(_0x9650f6=_0x1d9ef7[_0x2647cd(0x4d5)](_0x7d291d-0x1,!0x1,_0x292e2b,_0x31bcdb)),_0x40878e){const {contentBoxPointGroup:_0x2664af}=_0x13c9bc[_0x2647cd(0x456)](_0x9650f6,_0x9650f6);if(_0x2664af[_0x2647cd(0x4b1)]===0x0)continue;this['_drawAnchor'](_0x378bb3,_0x2664af,_0x4f043f,_0x5bccd4,_0x2be607),this['_eventUnsubscribe']=this[_0x2647cd(0x52a)]();}if(_0x4a60f3&&_0x9650f6){if(_0x320ea7===_0x24d6fa[_0x2647cd(0x4da)]){const _0x278021=new _0x4d6d36(_0x14068c,_0x1d9ef7),{pointGroup:_0x3b91dc}=(_0x510ea9=_0x278021[_0x2647cd(0x456)](_0x4a60f3,_0x9650f6))!=null?_0x510ea9:{};if(_0x3b91dc==null||_0x3b91dc[_0x2647cd(0x4b1)]===0x0)continue;this[_0x2647cd(0x301)](_0x378bb3,_0x3b91dc,_0x4f043f,_0x5bccd4);}else{if(!_0x56a777){const {borderBoxPointGroup:_0x27a33f}=_0x13c9bc[_0x2647cd(0x456)](_0x4a60f3,_0x9650f6);if(_0x27a33f[_0x2647cd(0x4b1)]===0x0)continue;this[_0x2647cd(0x1bb)](_0x378bb3,_0x27a33f,_0x4f043f,_0x5bccd4);}}}}}[_0x421733(0x416)](_0x294c01,_0x107a6f,_0x2481ba,_0xd85c16,_0xcf0186){const _0x3a91d8=_0x421733,_0x3200de=this[_0x3a91d8(0x4ad)](_0x107a6f),{left:_0x38071b,top:_0x2c6780,height:_0x1f9705}=_0x3200de,_0x33c410=this[_0x3a91d8(0x2f5)](),_0x5a63c2=oa/_0x33c410,_0x267735=new _0x59ff16(Jt+_0x4705c7[_0x3a91d8(0x3b8)](Xe),{'left':_0x38071b+_0x2481ba-_0x5a63c2,'top':_0x2c6780+_0xd85c16,'height':_0x1f9705,'width':na,'fill':_0x294c01||_0x576b6f(_0x5e0a26[_0x3a91d8(0x178)],0x0),'strokeWidth':_0x5a63c2,'stroke':aa,'evented':!0x0});this[_0x3a91d8(0x2a8)]=_0x267735,this[_0x3a91d8(0x4b7)][_0x3a91d8(0x257)](_0x267735,_0x30ad98);const _0x9c5007=new _0x59ff16(Jt+_0x4705c7[_0x3a91d8(0x3b8)](Xe),{'left':_0x38071b+_0x2481ba-_0x5a63c2,'top':_0x2c6780+_0xd85c16-Zt/0x2,'height':Zt,'width':Zt,'fill':_0x294c01||_0x576b6f(_0x5e0a26[_0x3a91d8(0x178)],0x0),'strokeWidth':0x0,'stroke':_0x294c01||_0x576b6f(_0x5e0a26[_0x3a91d8(0x178)],0x0),'evented':!0x1});this[_0x3a91d8(0x3d1)]=_0x9c5007,this[_0x3a91d8(0x4b7)][_0x3a91d8(0x257)](_0x9c5007,_0x30ad98);const _0xf3ee5c=new jt(Jt+_0x4705c7['generateRandomId'](Xe),{'left':_0x38071b+_0x2481ba-_0x5a63c2,'top':_0x2c6780+_0xd85c16-rt,'text':_0xcf0186,'color':_0x294c01});this['_textBubble']=_0xf3ee5c,this['_scene']['addObject'](_0xf3ee5c,_0x30ad98),this[_0x3a91d8(0x4f6)]=!0x1;}[_0x421733(0x52a)](){const _0x129a06=_0x421733,_0x5e0005=this[_0x129a06(0x2a8)][_0x129a06(0x382)][_0x129a06(0x449)](()=>{const _0x2e3a32=_0x129a06;this[_0x2e3a32(0x4f6)]=!0x0;}),_0x395752=this[_0x129a06(0x2a8)][_0x129a06(0x478)][_0x129a06(0x449)](()=>{const _0x1532c9=_0x129a06;this['_hideTimer']&&clearTimeout(this[_0x1532c9(0x437)]),this[_0x1532c9(0x437)]=setTimeout(()=>{const _0x4b7d55=_0x1532c9;this[_0x4b7d55(0x4f6)]=!0x1;},0x7d0);});return()=>{const _0x52fa07=_0x129a06;_0x5e0005[_0x52fa07(0x36f)](),_0x395752[_0x52fa07(0x36f)]();};}[_0x421733(0x1bb)](_0x38bef8,_0x22ae90,_0x3ea84b,_0x14ec76){const _0x14e54a=_0x421733,_0x286100=new _0x247bdf(_0x38bef8)[_0x14e54a(0x25f)](0.2)[_0x14e54a(0x33b)](),_0x1b7276=new _0xaf8e19(ia+_0x4705c7[_0x14e54a(0x3b8)](Xe),{'pointsGroup':_0x22ae90,'fill':_0x286100||_0x576b6f(_0x5e0a26[_0x14e54a(0x178)],0.2),'left':_0x3ea84b,'top':_0x14ec76,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14e54a(0x31c)][_0x14e54a(0x2ac)](_0x1b7276),this[_0x14e54a(0x4b7)][_0x14e54a(0x257)](_0x1b7276,_0x30ad98);}[_0x421733(0x301)](_0x4bad78,_0x3d6247,_0x146a3e,_0x45b3af){const _0x4cf8b8=_0x421733,_0x1fa9ea=new _0x247bdf(_0x4bad78)[_0x4cf8b8(0x25f)](0.2)['toRgbString'](),_0x2d3734=new _0xaf8e19(ra+_0x4705c7[_0x4cf8b8(0x3b8)](Xe),{'pointsGroup':_0x3d6247,'fill':_0x1fa9ea||_0x576b6f(_0x5e0a26[_0x4cf8b8(0x178)],0.2),'left':_0x146a3e,'top':_0x45b3af,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cf8b8(0x31c)][_0x4cf8b8(0x2ac)](_0x2d3734),this[_0x4cf8b8(0x4b7)][_0x4cf8b8(0x257)](_0x2d3734,_0x30ad98);}[_0x421733(0x4ad)](_0x3df9aa){const _0x10a420=_0x3df9aa[0x0],_0x4fde5a=_0x10a420[0x0],_0xf4e163=_0x10a420[0x2],{x:_0x4b03de,y:_0x115280}=_0x4fde5a,{x:_0xdcfa00,y:_0x39adb1}=_0xf4e163;return{'left':_0x4b03de,'top':_0x115280,'width':_0xdcfa00-_0x4b03de,'height':_0x39adb1-_0x115280};}[_0x421733(0x2f5)](){const _0x107fe3=_0x421733,{scaleX:_0x1183e9,scaleY:_0x35a33b}=this[_0x107fe3(0x4b7)][_0x107fe3(0x439)]();return Math[_0x107fe3(0x256)](_0x1183e9,_0x35a33b);}}var ca=Object[_0x421733(0x1c6)],ha=Object[_0x421733(0x2e2)],la=(_0x49b115,_0xf20b79,_0x5f187b,_0x3b6f37)=>{const _0x5d7fa2=_0x421733;for(var _0x55d0d4=_0x3b6f37>0x1?void 0x0:_0x3b6f37?ha(_0xf20b79,_0x5f187b):_0xf20b79,_0x43b86f=_0x49b115[_0x5d7fa2(0x4b1)]-0x1,_0xfd359f;_0x43b86f>=0x0;_0x43b86f--)(_0xfd359f=_0x49b115[_0x43b86f])&&(_0x55d0d4=(_0x3b6f37?_0xfd359f(_0xf20b79,_0x5f187b,_0x55d0d4):_0xfd359f(_0x55d0d4))||_0x55d0d4);return _0x3b6f37&&_0x55d0d4&&ca(_0xf20b79,_0x5f187b,_0x55d0d4),_0x55d0d4;},ct=(_0x254481,_0x806b1a)=>(_0x561a3a,_0x278c67)=>_0x806b1a(_0x561a3a,_0x278c67,_0x254481);let ds=class extends _0x33a3aa{constructor(_0x3c52ec,_0x3cff8d,_0x3efd2c,_0x325d50,_0x450f60){const _0x349efb=_0x421733;super(),g(this,'_cursorShapes',[]),g(this,_0x349efb(0x3d4),[]),(this[_0x349efb(0x177)]=_0x3c52ec,this[_0x349efb(0x424)]=_0x3cff8d,this[_0x349efb(0x2ab)]=_0x3efd2c,this[_0x349efb(0x39a)]=_0x325d50,this[_0x349efb(0x207)]=_0x450f60,this[_0x349efb(0x483)]());}['_init'](){const _0x5ca849=_0x421733,_0x32620a=this[_0x5ca849(0x177)]['unitId'],_0x466cee=this[_0x5ca849(0x424)];this[_0x5ca849(0x40e)](_0x2566e5([this[_0x5ca849(0x2ab)][_0x5ca849(0x17e)](_0x32620a),this[_0x5ca849(0x207)][_0x5ca849(0x565)]])['pipe'](_0x1a5739(([_0x54c5d4,_0x189993])=>({'skeleton':_0x466cee[_0x5ca849(0x490)](),'cursors':[..._0x54c5d4[_0x5ca849(0x1e1)]()][_0x5ca849(0x22c)](_0x2879b7=>({..._0x2879b7,'color':_0x189993[_0x2879b7[_0x5ca849(0x3ed)]]}))})))[_0x5ca849(0x4fc)](_0x313417=>{const _0x5a2151=_0x5ca849;if(this[_0x5a2151(0x44e)](),_0x313417){const {skeleton:_0x22726f,cursors:_0x3a9683}=_0x313417;this['_updateCollabCursors'](_0x22726f,_0x3a9683);}})),this[_0x5ca849(0x2bf)](),this[_0x5ca849(0x286)]();}[_0x421733(0x440)](_0x526e6b,_0x12b569){const _0x3bfb94=_0x421733,{scene:_0x40ac5b,mainComponent:_0x23898f}=this[_0x3bfb94(0x177)],_0x44b366=_0x12b569['map'](_0x4adaa8=>new ii(_0x4adaa8,_0x40ac5b,_0x526e6b,_0x23898f));this[_0x3bfb94(0x27e)]=_0x44b366,this[_0x3bfb94(0x3d4)]=_0x12b569;}['_refreshCollabCursors'](){const _0x549ea5=_0x421733;this[_0x549ea5(0x44e)]();const {scene:_0x54a3c9,mainComponent:_0x4fe2c3}=this[_0x549ea5(0x177)],_0x43ad61=this[_0x549ea5(0x424)][_0x549ea5(0x490)](),_0x2a43db=this[_0x549ea5(0x3d4)]['map'](_0x4164cd=>new ii(_0x4164cd,_0x54a3c9,_0x43ad61,_0x4fe2c3));this[_0x549ea5(0x27e)]=_0x2a43db;}['_removeCollabCursors'](){const _0x460754=_0x421733;this[_0x460754(0x27e)]['forEach'](_0x135a39=>_0x135a39['dispose']()),this[_0x460754(0x27e)]=[];}['_initCommandExecutedListener'](){const _0x55b68c=_0x421733,_0xe8129d=[_0x59e544['id']];this['disposeWithMe'](this[_0x55b68c(0x39a)]['onCommandExecuted'](_0x6a94b4=>{const _0x461a64=_0x55b68c;_0xe8129d[_0x461a64(0x216)](_0x6a94b4['id'])&&_0x6a94b4[_0x461a64(0x3ba)][_0x461a64(0x194)]===this[_0x461a64(0x177)][_0x461a64(0x194)]&&this['_refreshCollabCursors']();}));}[_0x421733(0x2bf)](){const _0x485119=_0x421733;this[_0x485119(0x40e)](_0x46ebc0(this[_0x485119(0x177)][_0x485119(0x24b)][_0x485119(0x3dc)])[_0x485119(0x552)](_0x1de59c(_0x3c97ea=>_0x3c97ea[_0x485119(0x4c2)]===_0x39e288[_0x485119(0x4d6)]),_0x33228d(0x10))[_0x485119(0x4fc)](()=>{const _0x2a5126=_0x485119;this[_0x2a5126(0x2aa)]();}));}};ds=la([ct(0x1,_0x231990(_0x201dae)),ct(0x2,_0x231990(Fe)),ct(0x3,_0x5af619),ct(0x4,_0x231990(_0x269b73))],ds);const _a=0x1,ua=1.5;class da extends _0x4a6244{constructor(_0xda4fec,_0x4545a5){const _0x33f02d=_0x421733;super(_0xda4fec,_0x4545a5),g(this,_0x33f02d(0x316)),g(this,_0x33f02d(0x293),!0x1),g(this,_0x33f02d(0x20a)),g(this,_0x33f02d(0x540),''),g(this,_0x33f02d(0x193),_0x33f02d(0x479)),g(this,_0x33f02d(0x49e)),(_0x4545a5&&this[_0x33f02d(0x44c)](_0x4545a5),this[_0x33f02d(0x382)][_0x33f02d(0x449)](()=>this[_0x33f02d(0x44c)]({'hovered':!0x0})),this[_0x33f02d(0x478)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x401900){const _0x269676=_0x421733;var _0x2bcd16,_0x554acb,_0x558b11,_0x3dbf65,_0x55d1c0,_0xa4384e;this[_0x269676(0x316)]=(_0x2bcd16=_0x401900[_0x269676(0x3ed)])!=null?_0x2bcd16:this['_color'],this['_hovered']=(_0x554acb=_0x401900[_0x269676(0x49b)])!=null?_0x554acb:this['_hovered'],this[_0x269676(0x20a)]=(_0x558b11=_0x401900[_0x269676(0x221)])!=null?_0x558b11:this['_range'],this[_0x269676(0x540)]=(_0x3dbf65=_0x401900[_0x269676(0x37a)])!=null?_0x3dbf65:this['_name'],this[_0x269676(0x193)]=(_0x55d1c0=_0x401900[_0x269676(0x4e5)])!=null?_0x55d1c0:this[_0x269676(0x193)],this[_0x269676(0x49e)]=(_0xa4384e=_0x401900[_0x269676(0x426)])!=null?_0xa4384e:this[_0x269676(0x49e)],this[_0x269676(0x20e)]({'width':_0x401900[_0x269676(0x378)],'height':_0x401900[_0x269676(0x248)]});}[_0x421733(0x3bd)](_0x18c5e9){const _0x5dd02b=_0x421733,{row:_0x26e88b,column:_0x18a885}=_0x18c5e9;if(_0x26e88b>=this[_0x5dd02b(0x20a)][_0x5dd02b(0x2c4)]&&_0x26e88b<=this[_0x5dd02b(0x20a)][_0x5dd02b(0x2e5)]&&_0x18a885>=this[_0x5dd02b(0x20a)][_0x5dd02b(0x3ac)]&&_0x18a885<=this['_range']['endColumn']){this[_0x5dd02b(0x44c)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x421733(0x464)](_0x3cff21){return!0x1;}[_0x421733(0x22e)](_0x3a812b){const _0x316deb=_0x421733;_0x59ff16['drawWith'](_0x3a812b,{'width':this[_0x316deb(0x378)],'height':this['height'],'strokeWidth':ua,'stroke':this[_0x316deb(0x316)],'evented':!0x1,'fill':this[_0x316deb(0x49e)]}),this[_0x316deb(0x293)]&&(_0x3a812b['save'](),_0x3a812b[_0x316deb(0x391)](0x1,0x0,0x0,0x1,this[_0x316deb(0x378)],this[_0x316deb(0x193)]===_0x316deb(0x3d2)?0x0:-rt),jt[_0x316deb(0x19a)](_0x3a812b,{'text':this[_0x316deb(0x540)],'color':this[_0x316deb(0x316)]}),_0x3a812b[_0x316deb(0x352)]());}}var fa=Object[_0x421733(0x1c6)],va=Object[_0x421733(0x2e2)],pa=(_0x4dcf31,_0xec9632,_0x5c19fb,_0x357bac)=>{const _0x846ac4=_0x421733;for(var _0x2f49c5=_0x357bac>0x1?void 0x0:_0x357bac?va(_0xec9632,_0x5c19fb):_0xec9632,_0xf2af43=_0x4dcf31[_0x846ac4(0x4b1)]-0x1,_0x45065b;_0xf2af43>=0x0;_0xf2af43--)(_0x45065b=_0x4dcf31[_0xf2af43])&&(_0x2f49c5=(_0x357bac?_0x45065b(_0xec9632,_0x5c19fb,_0x2f49c5):_0x45065b(_0x2f49c5))||_0x2f49c5);return _0x357bac&&_0x2f49c5&&fa(_0xec9632,_0x5c19fb,_0x2f49c5),_0x2f49c5;},Qt=(_0x27fda5,_0x49e15d)=>(_0x4eca09,_0x73a408)=>_0x49e15d(_0x4eca09,_0x73a408,_0x27fda5);const ma=0x1389;let fs=class extends _0x33a3aa{constructor(_0x3e1478,_0x4808e4,_0x4d1ff5,_0x4adc9a){const _0x434dfa=_0x421733;super(),g(this,_0x434dfa(0x3d4),new Set()),g(this,_0x434dfa(0x1a9),null),(this[_0x434dfa(0x177)]=_0x3e1478,this['_sheetSkeletonManagerService']=_0x4808e4,this[_0x434dfa(0x2ab)]=_0x4d1ff5,this[_0x434dfa(0x207)]=_0x4adc9a,this[_0x434dfa(0x483)]());}['_init'](){const _0x21abcb=_0x421733;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x21abcb(0x552)](_0x5844ee(this['dispose$']),_0x4fefe2(_0x5ddcdb=>{const _0x1437c1=_0x21abcb;if(_0x5ddcdb){const _0x311f69=_0x5ddcdb[_0x1437c1(0x181)];return _0x2566e5(this['_collabCursorController'][_0x1437c1(0x17e)](this[_0x1437c1(0x177)][_0x1437c1(0x194)]),this['_themeService']['currentTheme$'])[_0x1437c1(0x552)](_0x1a5739(([_0x4d0e33,_0x337731])=>{const _0x312f28=_0x1437c1,_0x47ca7e=new Map();return _0x4d0e33[_0x312f28(0x2d2)]((_0x27ad6f,_0x45d08d)=>{const _0x28ebbc=_0x312f28;if(_0x27ad6f['sheetID']===_0x311f69){const _0x1b0ffe={..._0x27ad6f};_0x1b0ffe[_0x28ebbc(0x3ed)]=_0x337731[_0x27ad6f[_0x28ebbc(0x3ed)]],_0x47ca7e[_0x28ebbc(0x228)](_0x45d08d,_0x1b0ffe);}}),{'skeleton':_0x5ddcdb,'cursors':_0x47ca7e};}));}return _0x25af31({'skeleton':null,'cursors':new Map()});}))[_0x21abcb(0x4fc)](({skeleton:_0x57e19a,cursors:_0x164df6})=>{const _0x4824c9=_0x21abcb;this[_0x4824c9(0x44e)](),_0x57e19a&&this['_updateCollabCursors'](_0x57e19a,_0x164df6);}),this[_0x21abcb(0x1eb)][_0x21abcb(0x4cd)]['subscribe'](_0x156f20=>{const _0x1fe1c1=_0x21abcb;if(_0x156f20==null)return;const {skeleton:_0x553881}=_0x156f20,{scene:_0x1134d6}=this[_0x1fe1c1(0x177)];_0x1134d6['onPointerMove$'][_0x1fe1c1(0x449)](_0x4ce71a(_0xe37bf3=>{const _0x4634d3=_0x1fe1c1;var _0x46868b,_0x1194ba;const {offsetX:_0x3b8b4b,offsetY:_0x279470}=_0xe37bf3,{x:_0x1478f6,y:_0x3599e1}=_0x1134d6[_0x4634d3(0x4b5)](_0x111247[_0x4634d3(0x3f3)]([_0x3b8b4b,_0x279470])),{scaleX:_0x566dc4,scaleY:_0x3498ec}=_0x1134d6['getAncestorScale'](),_0x593b00=_0x1134d6[_0x4634d3(0x403)](_0x70e7a2[_0x4634d3(0x56e)]),_0x3a5312=_0x1134d6[_0x4634d3(0x1a2)](_0x111247[_0x4634d3(0x3f3)]([_0x1478f6,_0x3599e1]),_0x593b00),_0x5ebeb1=_0x553881['getCellPositionByOffset'](_0x3b8b4b,_0x279470,_0x566dc4,_0x3498ec,_0x3a5312);((_0x46868b=this[_0x4634d3(0x1a9)])==null?void 0x0:_0x46868b['column'])===_0x5ebeb1[_0x4634d3(0x312)]&&((_0x1194ba=this['_lastPointer'])==null?void 0x0:_0x1194ba[_0x4634d3(0x24c)])===_0x5ebeb1[_0x4634d3(0x24c)]||this['_cursors'][_0x4634d3(0x2d2)](_0xccc139=>{const _0x510459=_0x4634d3;_0xccc139[_0x510459(0x3bd)](_0x5ebeb1);});},0x64));});}[_0x421733(0x440)](_0x41a8ee,_0x608b55){const _0x2c1327=_0x421733;var _0x4e5b09;const _0x3eabcc=(_0x4e5b09=this[_0x2c1327(0x1eb)][_0x2c1327(0x2b8)]())==null?void 0x0:_0x4e5b09[_0x2c1327(0x418)];if(!_0x3eabcc)return;const _0x1d51e8=this[_0x2c1327(0x48d)]();if(!_0x1d51e8)return;this[_0x2c1327(0x3d4)]['forEach'](_0x43691d=>{const _0x4f2dd5=_0x2c1327;_0x43691d[_0x4f2dd5(0x58c)]();});const {scene:_0x30c6c8}=_0x1d51e8,_0x3d1f2e=ga(Array['from'](_0x608b55[_0x2c1327(0x1e1)]()))['map'](_0x2895c1=>{const _0x54bd49=_0x2c1327,{color:_0x23dcbb,range:_0x266a74,name:_0x4ae91c,selection:_0x447748,sheetID:_0x2fe14f}=_0x2895c1,{startColumn:_0x1f9dfb,startRow:_0x48eac8,endColumn:_0x3a2817,endRow:_0x5ba95}=_0x266a74,_0x43f849=_0x41b457(_0x48eac8,_0x1f9dfb,_0x30c6c8,_0x3eabcc),_0x33e9d1=_0x41b457(_0x5ba95,_0x3a2817,_0x30c6c8,_0x3eabcc),{columnHeaderHeightAndMarginTop:_0x29d0ab}=_0x3eabcc,{startX:_0x3dc299,startY:_0xc0451}=_0x43f849,{endX:_0x41323a,endY:_0x4b811c}=_0x33e9d1,_0x3b9f88=_0x41323a-_0x3dc299,_0x52d2ca=_0x4b811c-_0xc0451,_0x3f3426={'labelPosition':_0xc0451-_0x29d0ab>=rt?'top':_0x54bd49(0x3d2),'sheetID':_0x2fe14f,'range':_0x266a74,'color':_0x23dcbb,'name':_0x4ae91c,'selection':_0x447748,'left':_0x3dc299,'top':_0xc0451,'width':_0x3b9f88,'height':_0x52d2ca,'evented':!0x1,'zIndex':ma};return new da(_0x4ae91c,_0x3f3426);});_0x30c6c8['addObjects'](_0x3d1f2e,_a),this[_0x2c1327(0x3d4)]=new Set(_0x3d1f2e);}[_0x421733(0x44e)](){const _0x1fa232=_0x421733;var _0x2d88f9;(_0x2d88f9=this[_0x1fa232(0x3d4)])==null||_0x2d88f9[_0x1fa232(0x2d2)](_0x1aad42=>_0x1aad42[_0x1fa232(0x40d)]());}[_0x421733(0x48d)](){const _0x2de072=_0x421733;return _0x44a079(this[_0x2de072(0x177)][_0x2de072(0x1fe)],this['_context']);}};fs=pa([Qt(0x1,_0x231990(_0x261438)),Qt(0x2,_0x231990(Fe)),Qt(0x3,_0x231990(_0x269b73))],fs);function ga(_0x4e5bcd){const _0x320d14=_0x421733,_0x112a5b=new Map();return _0x4e5bcd[_0x320d14(0x2d2)](_0x4dea11=>{const _0x230a7f=_0x320d14;if(_0x112a5b['has'](_0x4dea11['selection'])){const _0x182132=_0x112a5b['get'](_0x4dea11[_0x230a7f(0x1ee)]);_0x182132[_0x230a7f(0x37a)]+=',\x20'+_0x4dea11[_0x230a7f(0x37a)];}else _0x112a5b[_0x230a7f(0x228)](_0x4dea11['selection'],_0x4dea11);}),Array[_0x320d14(0x3a7)](_0x112a5b[_0x320d14(0x1e1)]());}var es=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x19cdab){const _0x1d03cd=_0x421733;return _0x19cdab&&_0x19cdab[_0x1d03cd(0x387)]&&Object['prototype']['hasOwnProperty'][_0x1d03cd(0x4bf)](_0x19cdab,_0x1d03cd(0x36c))?_0x19cdab[_0x1d03cd(0x36c)]:_0x19cdab;}var ts={'exports':{}},Je={},ri;function Sa(){const _0x15da06=_0x421733;if(ri)return Je;ri=0x1;var _0x1007e4=_0x6cf57a,_0xfdab34=Symbol[_0x15da06(0x199)](_0x15da06(0x24d)),_0xe2a41d=Symbol[_0x15da06(0x199)](_0x15da06(0x33e)),_0x465039=Object[_0x15da06(0x481)][_0x15da06(0x40b)],_0x5b7710=_0x1007e4['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x15da06(0x2a4)],_0xe317e0={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1cada0(_0x55f4eb,_0x246d8f,_0xeef9b9){const _0x5ce313=_0x15da06;var _0x2bdfe5,_0x449700={},_0x4b6e75=null,_0x386ea8=null;_0xeef9b9!==void 0x0&&(_0x4b6e75=''+_0xeef9b9),_0x246d8f[_0x5ce313(0x1f1)]!==void 0x0&&(_0x4b6e75=''+_0x246d8f[_0x5ce313(0x1f1)]),_0x246d8f[_0x5ce313(0x52b)]!==void 0x0&&(_0x386ea8=_0x246d8f[_0x5ce313(0x52b)]);for(_0x2bdfe5 in _0x246d8f)_0x465039[_0x5ce313(0x4bf)](_0x246d8f,_0x2bdfe5)&&!_0xe317e0[_0x5ce313(0x40b)](_0x2bdfe5)&&(_0x449700[_0x2bdfe5]=_0x246d8f[_0x2bdfe5]);if(_0x55f4eb&&_0x55f4eb[_0x5ce313(0x29e)]){for(_0x2bdfe5 in(_0x246d8f=_0x55f4eb[_0x5ce313(0x29e)],_0x246d8f))_0x449700[_0x2bdfe5]===void 0x0&&(_0x449700[_0x2bdfe5]=_0x246d8f[_0x2bdfe5]);}return{'$$typeof':_0xfdab34,'type':_0x55f4eb,'key':_0x4b6e75,'ref':_0x386ea8,'props':_0x449700,'_owner':_0x5b7710[_0x5ce313(0x4a7)]};}return Je[_0x15da06(0x329)]=_0xe2a41d,Je[_0x15da06(0x375)]=_0x1cada0,Je[_0x15da06(0x1a3)]=_0x1cada0,Je;}var ni;function Ia(){return ni||(ni=0x1,ts['exports']=Sa()),ts['exports'];}var De=Ia(),te=function(){const _0x2e4f54=_0x421733;return te=Object[_0x2e4f54(0x53a)]||function(_0x45dd72){const _0x484106=_0x2e4f54;for(var _0x5bab0a,_0x5d297d=0x1,_0x42838c=arguments[_0x484106(0x4b1)];_0x5d297d<_0x42838c;_0x5d297d++){_0x5bab0a=arguments[_0x5d297d];for(var _0x294f84 in _0x5bab0a)Object[_0x484106(0x481)][_0x484106(0x40b)][_0x484106(0x4bf)](_0x5bab0a,_0x294f84)&&(_0x45dd72[_0x294f84]=_0x5bab0a[_0x294f84]);}return _0x45dd72;},te[_0x2e4f54(0x50a)](this,arguments);},Ca=function(_0x3a832f,_0x470c12){const _0x122170=_0x421733;var _0x987de7={};for(var _0x266f10 in _0x3a832f)Object[_0x122170(0x481)][_0x122170(0x40b)][_0x122170(0x4bf)](_0x3a832f,_0x266f10)&&_0x470c12['indexOf'](_0x266f10)<0x0&&(_0x987de7[_0x266f10]=_0x3a832f[_0x266f10]);if(_0x3a832f!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x43086a=0x0,_0x266f10=Object[_0x122170(0x559)](_0x3a832f);_0x43086a<_0x266f10[_0x122170(0x4b1)];_0x43086a++)_0x470c12[_0x122170(0x332)](_0x266f10[_0x43086a])<0x0&&Object[_0x122170(0x481)]['propertyIsEnumerable']['call'](_0x3a832f,_0x266f10[_0x43086a])&&(_0x987de7[_0x266f10[_0x43086a]]=_0x3a832f[_0x266f10[_0x43086a]]);}return _0x987de7;},Ns=_0x2943c5(function(_0x55f334,_0x2cf6ad){const _0x2e07b9=_0x421733;var _0x1f3b5b=_0x55f334[_0x2e07b9(0x4c7)],_0x30edb6=_0x55f334['id'],_0x13e6f1=_0x55f334[_0x2e07b9(0x54f)],_0x5471a3=_0x55f334['extend'],_0x3bfb65=Ca(_0x55f334,['icon','id','className','extend']),_0x1cbb59=_0x2e07b9(0x28c)[_0x2e07b9(0x309)](_0x30edb6,'\x20')[_0x2e07b9(0x309)](_0x13e6f1||'')[_0x2e07b9(0x575)](),_0x3239a6=_0x279a0a('_'[_0x2e07b9(0x309)](Ta()));return Ji(_0x1f3b5b,''[_0x2e07b9(0x309)](_0x30edb6),{'defIds':_0x1f3b5b[_0x2e07b9(0x513)],'idSuffix':_0x3239a6[_0x2e07b9(0x4a7)]},te({'ref':_0x2cf6ad,'className':_0x1cbb59},_0x3bfb65),_0x5471a3);});function Ji(_0x36303b,_0x57d7ce,_0x49b75f,_0x1a6685,_0x291861){const _0x32da4c=_0x421733;return _0x2914b2(_0x36303b[_0x32da4c(0x4c9)],te(te({'key':_0x57d7ce},Ea(_0x36303b,_0x49b75f,_0x291861)),_0x1a6685),(ba(_0x36303b,_0x49b75f)[_0x32da4c(0x4be)]||[])[_0x32da4c(0x203)](function(_0x72d091,_0x229c18){const _0x4727e7=_0x32da4c;return Ji(_0x72d091,''[_0x4727e7(0x309)](_0x57d7ce,'-')[_0x4727e7(0x309)](_0x36303b[_0x4727e7(0x4c9)],'-')['concat'](_0x229c18),_0x49b75f,void 0x0,_0x291861);}));}function Ea(_0x45bc0f,_0x3da694,_0x3ed8cb){const _0x3c30c9=_0x421733;var _0x47404a=te({},_0x45bc0f['attrs']);_0x3ed8cb!=null&&_0x3ed8cb[_0x3c30c9(0x581)]&&_0x47404a[_0x3c30c9(0x499)]===_0x3c30c9(0x581)&&(_0x47404a[_0x3c30c9(0x499)]=_0x3ed8cb[_0x3c30c9(0x581)]);var _0x3ca5a0=_0x3da694[_0x3c30c9(0x513)];return!_0x3ca5a0||_0x3ca5a0['length']===0x0||(_0x45bc0f[_0x3c30c9(0x4c9)]===_0x3c30c9(0x195)&&_0x47404a[_0x3c30c9(0x2a2)]&&(_0x47404a[_0x3c30c9(0x2a2)]=_0x47404a[_0x3c30c9(0x2a2)]+_0x3da694[_0x3c30c9(0x4a2)]),Object[_0x3c30c9(0x220)](_0x47404a)[_0x3c30c9(0x2d2)](function(_0x6b99b6){const _0xbea19a=_0x3c30c9;var _0x39a416=_0x6b99b6[0x0],_0x536e32=_0x6b99b6[0x1];typeof _0x536e32==_0xbea19a(0x354)&&(_0x47404a[_0x39a416]=_0x536e32['replace'](/url\(#(.*)\)/,_0xbea19a(0x33d)[_0xbea19a(0x309)](_0x3da694[_0xbea19a(0x4a2)],')')));})),_0x47404a;}function ba(_0xf5c25f,_0x2836a4){const _0x2035e0=_0x421733;var _0x3e200a,_0x401853=_0x2836a4[_0x2035e0(0x513)];return!_0x401853||_0x401853[_0x2035e0(0x4b1)]===0x0?_0xf5c25f:_0xf5c25f['tag']===_0x2035e0(0x1b7)&&(!((_0x3e200a=_0xf5c25f[_0x2035e0(0x4be)])===null||_0x3e200a===void 0x0)&&_0x3e200a[_0x2035e0(0x4b1)])?te(te({},_0xf5c25f),{'children':_0xf5c25f[_0x2035e0(0x4be)][_0x2035e0(0x203)](function(_0x3ef802){const _0x1f9936=_0x2035e0;return typeof _0x3ef802[_0x1f9936(0x395)]['id']==_0x1f9936(0x354)&&_0x401853&&_0x401853['indexOf'](_0x3ef802[_0x1f9936(0x395)]['id'])>-0x1?te(te({},_0x3ef802),{'attrs':te(te({},_0x3ef802[_0x1f9936(0x395)]),{'id':_0x3ef802[_0x1f9936(0x395)]['id']+_0x2836a4[_0x1f9936(0x4a2)]})}):_0x3ef802;})}):_0xf5c25f;}function Ta(){const _0x2e5c80=_0x421733;return Math[_0x2e5c80(0x400)]()[_0x2e5c80(0x353)](0x24)[_0x2e5c80(0x253)](0x2,0x8);}Ns['displayName']='UniverIcon';var Ra={'tag':_0x421733(0x4a0),'attrs':{'fill':_0x421733(0x282),'viewBox':_0x421733(0x54e),'width':_0x421733(0x4ef),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x421733(0x50d)},'children':[{'tag':'path','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':_0x421733(0x555),'strokeLinejoin':_0x421733(0x555),'strokeWidth':1.2}}]},{'tag':_0x421733(0x1b7),'attrs':{},'children':[{'tag':_0x421733(0x44b),'attrs':{'id':_0x421733(0x545)},'children':[{'tag':_0x421733(0x495),'attrs':{'fill':_0x421733(0x1d1),'d':_0x421733(0x4d4)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Zi=_0x2943c5(function(_0x4b44ac,_0x4a30eb){const _0x427664=_0x421733;return _0x2914b2(Ns,Object[_0x427664(0x53a)]({},_0x4b44ac,{'id':_0x427664(0x4ec),'ref':_0x4a30eb,'icon':Ra}));});Zi['displayName']=_0x421733(0x56a);var Oa={'tag':'svg','attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x421733(0x4ef),'height':_0x421733(0x4ef)},'children':[{'tag':'g','attrs':{'clipPath':_0x421733(0x310)},'children':[{'tag':_0x421733(0x495),'attrs':{'stroke':_0x421733(0x3db),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x421733(0x1b7),'attrs':{},'children':[{'tag':_0x421733(0x44b),'attrs':{'id':_0x421733(0x19e)},'children':[{'tag':_0x421733(0x495),'attrs':{'fill':'#fff','d':_0x421733(0x4d4),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Qi=_0x2943c5(function(_0x122898,_0x3cb543){const _0x2af9ca=_0x421733;return _0x2914b2(Ns,Object[_0x2af9ca(0x53a)]({},_0x122898,{'id':_0x2af9ca(0x4f4),'ref':_0x3cb543,'icon':Oa}));});Qi[_0x421733(0x1bc)]='OnLineSingle';function er(_0x24325e){const _0x2045a6=_0x421733;var _0x4b93c4,_0x23e48a,_0x1b121e='';if(typeof _0x24325e==_0x2045a6(0x354)||typeof _0x24325e==_0x2045a6(0x1f0))_0x1b121e+=_0x24325e;else{if(typeof _0x24325e==_0x2045a6(0x284)){if(Array[_0x2045a6(0x43c)](_0x24325e)){var _0x2499a7=_0x24325e[_0x2045a6(0x4b1)];for(_0x4b93c4=0x0;_0x4b93c4<_0x2499a7;_0x4b93c4++)_0x24325e[_0x4b93c4]&&(_0x23e48a=er(_0x24325e[_0x4b93c4]))&&(_0x1b121e&&(_0x1b121e+='\x20'),_0x1b121e+=_0x23e48a);}else{for(_0x23e48a in _0x24325e)_0x24325e[_0x23e48a]&&(_0x1b121e&&(_0x1b121e+='\x20'),_0x1b121e+=_0x23e48a);}}}return _0x1b121e;}function ya(){const _0x5b0deb=_0x421733;for(var _0x3ed339,_0x4d7ef8,_0x798f2d=0x0,_0x38fd2a='',_0x48f29d=arguments[_0x5b0deb(0x4b1)];_0x798f2d<_0x48f29d;_0x798f2d++)(_0x3ed339=arguments[_0x798f2d])&&(_0x4d7ef8=er(_0x3ed339))&&(_0x38fd2a&&(_0x38fd2a+='\x20'),_0x38fd2a+=_0x4d7ef8);return _0x38fd2a;}const wa=_0x421733(0x417),Da=_0x421733(0x289),Pa='univer-online-status',Ua=_0x421733(0x502),Na=_0x421733(0x4f0),Ze={'onlineStatusIcon':wa,'onlineStatusTitle':Da,'onlineStatus':Pa,'online':Ua,'offline':Na};function Aa(_0xcad1f9){const _0x4f013e=_0x421733;switch(_0xcad1f9){case J['OFFLINE']:return'collabStatus.offline';case J[_0x4f013e(0x31d)]:return'collabStatus.conflict';case J[_0x4f013e(0x31f)]:return _0x4f013e(0x2ff);case J[_0x4f013e(0x232)]:return _0x4f013e(0x514);case J[_0x4f013e(0x4d2)]:case J[_0x4f013e(0x1aa)]:return _0x4f013e(0x4e3);case J[_0x4f013e(0x213)]:case J[_0x4f013e(0x436)]:return _0x4f013e(0x3ab);}}function Ma(_0x17f90b){const _0x17330a=_0x421733,{status$:_0x29c635}=_0x17f90b,_0x17b291=_0x1432a7(_0x29c635,J[_0x17330a(0x232)]),_0x2f856b=_0x3f9ba4(_0x3097b7),_0x2bb3b0=_0x3f9ba4(Me),_0x3a2573=_0x17b291!==J[_0x17330a(0x541)],_0x514a90=_0x2f856b['t'](Aa(_0x17b291)),_0x4a4cae=ya(Ze[_0x17330a(0x47b)],{[Ze[_0x17330a(0x225)]]:_0x3a2573,[Ze[_0x17330a(0x4fb)]]:!_0x3a2573}),_0x5dd20f=_0x3a2573?De[_0x17330a(0x375)](Qi,{}):De[_0x17330a(0x375)](Zi,{}),_0x116a36=_0x14ebbf(()=>{const _0x30a4bd=_0x17330a;_0x3a2573||_0x2bb3b0[_0x30a4bd(0x52c)]();},[_0x3a2573,_0x2bb3b0]);function _0x24574c(){const _0x433cb3=_0x17330a;return De[_0x433cb3(0x1a3)](_0x433cb3(0x2e7),{'className':_0x4a4cae,'onClick':_0x116a36,'children':[De[_0x433cb3(0x375)](_0x433cb3(0x2e7),{'className':Ze[_0x433cb3(0x349)],'children':_0x5dd20f}),De[_0x433cb3(0x375)](_0x433cb3(0x2e7),{'className':Ze[_0x433cb3(0x4ce)],'children':_0x514a90})]});}return _0x3a2573?_0x24574c():De['jsx'](_0x28113e,{'title':_0x2f856b['t'](_0x17330a(0x56d)),'children':_0x24574c()});}var xa=Object['defineProperty'],La=Object['getOwnPropertyDescriptor'],$a=(_0x1dc0ee,_0x489497,_0x2a342a,_0x353e74)=>{const _0x401b97=_0x421733;for(var _0x229290=_0x353e74>0x1?void 0x0:_0x353e74?La(_0x489497,_0x2a342a):_0x489497,_0x46a5f3=_0x1dc0ee[_0x401b97(0x4b1)]-0x1,_0x29d003;_0x46a5f3>=0x0;_0x46a5f3--)(_0x29d003=_0x1dc0ee[_0x46a5f3])&&(_0x229290=(_0x353e74?_0x29d003(_0x489497,_0x2a342a,_0x229290):_0x29d003(_0x229290))||_0x229290);return _0x353e74&&_0x229290&&xa(_0x489497,_0x2a342a,_0x229290),_0x229290;},ht=(_0x564165,_0x47f71e)=>(_0x371fee,_0x2d4b66)=>_0x47f71e(_0x371fee,_0x2d4b66,_0x564165);let Nt=class extends _0x36e463{constructor(_0x4a33e0,_0x421bfa,_0x3db1c2,_0x432d58){const _0x5be6c7=_0x421733;super(),g(this,'_status$',new _0x461b47(J[_0x5be6c7(0x232)])),(this['_univerInstanceService']=_0x4a33e0,this[_0x5be6c7(0x29d)]=_0x421bfa,this[_0x5be6c7(0x30b)]=_0x3db1c2,this[_0x5be6c7(0x4d9)]=_0x432d58,this[_0x5be6c7(0x3a2)](),this[_0x5be6c7(0x488)]());}[_0x421733(0x488)](){const _0xbb62d7=_0x421733;this[_0xbb62d7(0x40e)](this['_univerInstanceService'][_0xbb62d7(0x2ea)][_0xbb62d7(0x552)](_0x48c325(()=>{const _0x105545=_0xbb62d7,_0x3d6b95=this['_univerInstanceService'][_0x105545(0x30d)]();return _0x3d6b95?this['_collaborationController'][_0x105545(0x467)](_0x3d6b95[_0x105545(0x47f)]()):_0x25af31(null);}),_0x48c325(_0x375fa5=>_0x375fa5?_0x375fa5[_0xbb62d7(0x218)]:_0x25af31(J[_0xbb62d7(0x232)])))[_0xbb62d7(0x4fc)](_0x9c7494=>{const _0x35fb18=_0xbb62d7;this[_0x35fb18(0x4df)][_0x35fb18(0x537)](_0x9c7494);}));}[_0x421733(0x3a2)](){const _0x13ce73=_0x421733;this[_0x13ce73(0x40e)](this[_0x13ce73(0x29d)][_0x13ce73(0x385)](_0x15ddf6['HEADER_MENU'],()=>_0x2453df(Ha({'status$':this[_0x13ce73(0x4df)][_0x13ce73(0x314)]()}),this[_0x13ce73(0x30b)])));}};Nt=$a([ht(0x0,_0x186a82),ht(0x1,_0x39547f),ht(0x2,_0x231990(_0x1d3c8c)),ht(0x3,_0x231990(it))],Nt);function Ha(_0x8c2e7b){const {status$:_0x5a5bcc}=_0x8c2e7b;return function(){const _0x19c280=_0x9980;return De[_0x19c280(0x375)](Ma,{'status$':_0x5a5bcc});};}const tr=_0x5c8406('uni.network.url-service');var ja=Object['defineProperty'],Ba=Object[_0x421733(0x2e2)],ka=(_0x971594,_0x53f902,_0x5753da,_0x4ba60f)=>{const _0x199d12=_0x421733;for(var _0x12ecd1=_0x4ba60f>0x1?void 0x0:_0x4ba60f?Ba(_0x53f902,_0x5753da):_0x53f902,_0x1caa35=_0x971594[_0x199d12(0x4b1)]-0x1,_0xbe79be;_0x1caa35>=0x0;_0x1caa35--)(_0xbe79be=_0x971594[_0x1caa35])&&(_0x12ecd1=(_0x4ba60f?_0xbe79be(_0x53f902,_0x5753da,_0x12ecd1):_0xbe79be(_0x12ecd1))||_0x12ecd1);return _0x4ba60f&&_0x12ecd1&&ja(_0x53f902,_0x5753da,_0x12ecd1),_0x12ecd1;},Be=(_0x554410,_0x4237e7)=>(_0x487a21,_0x321509)=>_0x4237e7(_0x487a21,_0x321509,_0x554410);let At=class extends _0x33a3aa{constructor(_0x5693ae,_0x19bddb,_0x2eee48,_0x1fca47,_0x8f5a90,_0x1ef644){const _0x2e0948=_0x421733;super(),this[_0x2e0948(0x3d7)]=_0x5693ae,this['_logService']=_0x19bddb,this[_0x2e0948(0x39a)]=_0x2eee48,this[_0x2e0948(0x434)]=_0x1fca47,this['_snapshotService']=_0x8f5a90,_0x1ef644?_0x1ef644==null||_0x1ef644['whenReady']()[_0x2e0948(0x1b0)](()=>this[_0x2e0948(0x483)]()):(this[_0x2e0948(0x3b4)][_0x2e0948(0x4cc)]('[DataLoaderController]',_0x2e0948(0x51f)),this[_0x2e0948(0x483)]());}async[_0x421733(0x483)](){const _0xf9f78b=_0x421733,_0x1605f5=this[_0xf9f78b(0x3d7)][_0xf9f78b(0x2e9)](_0xf9f78b(0x1fe)),_0x4bd080=this[_0xf9f78b(0x3d7)][_0xf9f78b(0x2e9)](_0xf9f78b(0x4c2));if(!_0x1605f5||!_0x4bd080){this[_0xf9f78b(0x3b4)]['debug']('[DataLoaderController]',_0xf9f78b(0x497));return;}switch(Number(_0x4bd080)){case ae['UNIVER_SHEET']:{const _0x15d2ba=await this['_loadSheet'](_0x1605f5);this[_0xf9f78b(0x2f4)](_0x15d2ba);break;}case ae[_0xf9f78b(0x42a)]:{await this[_0xf9f78b(0x44d)](_0x1605f5);break;}default:{this[_0xf9f78b(0x3b4)][_0xf9f78b(0x3ff)](_0xf9f78b(0x1dd),_0xf9f78b(0x2cc));break;}}}async['_setupSubUnitSync'](_0x2ec5ce){const _0x4efe9e=_0x421733;await this[_0x4efe9e(0x4bd)](_0x2ec5ce),_0x2ec5ce['activeSheet$'][_0x4efe9e(0x552)](_0x2c50c2(this[_0x4efe9e(0x4eb)]))[_0x4efe9e(0x4fc)](_0x77a989=>{_0x77a989&&this['_updateURLWithCurrentState'](_0x77a989);}),this[_0x4efe9e(0x3d7)][_0x4efe9e(0x30f)][_0x4efe9e(0x552)](_0x2c50c2(this[_0x4efe9e(0x4eb)]))[_0x4efe9e(0x4fc)](()=>this['_updateSubUnitFromURLParams'](_0x2ec5ce));}[_0x421733(0x4f2)](_0x120d45,_0x4a98d1=!0x1){const _0xeeabaa=_0x421733,_0xd46de5=this[_0xeeabaa(0x3d7)][_0xeeabaa(0x2e9)](_0xeeabaa(0x574));_0x120d45[_0xeeabaa(0x1c8)]()!==_0xd46de5&&this[_0xeeabaa(0x3d7)][_0xeeabaa(0x472)]('subunit',_0x120d45[_0xeeabaa(0x1c8)](),_0x4a98d1);}async['_updateSubUnitFromURLParams'](_0x245d71){const _0x342634=_0x421733;var _0x286118;const _0x203dc2=this['_urlService'][_0x342634(0x2e9)](_0x342634(0x574));if(!_0x203dc2||!_0x245d71[_0x342634(0x224)](_0x203dc2)){const _0x49784d=_0x245d71['getUnhiddenWorksheets']()[0x0],_0x241c48=_0x245d71[_0x342634(0x224)](_0x49784d);if(!_0x241c48)return;this[_0x342634(0x4f2)](_0x241c48,!0x0),await this[_0x342634(0x39a)][_0x342634(0x37b)](_0x3c9ec1['id'],{'unitId':_0x245d71[_0x342634(0x47f)](),'subUnitId':_0x49784d});return;}((_0x286118=_0x245d71[_0x342634(0x40f)]())==null?void 0x0:_0x286118[_0x342634(0x1c8)]())!==_0x203dc2&&await this[_0x342634(0x39a)]['executeCommand'](_0x3c9ec1['id'],{'unitId':_0x245d71[_0x342634(0x47f)](),'subUnitId':_0x203dc2});}async['_loadSheet'](_0x1c7f15){const _0xb43346=_0x421733;let _0x522118=0x0;const _0x4237e8=await this['_localCacheService']['loadOfflineData'](_0x1c7f15);return _0x4237e8&&(_0x4237e8['awaitingChangeset']||_0x4237e8['mutations'][_0xb43346(0x4b1)]!==0x0)&&(_0x522118=_0x4237e8['rev']),_0x522118===0x0&&this[_0xb43346(0x3b4)][_0xb43346(0x4cc)]('[DataLoaderController]',_0xb43346(0x19f)),this[_0xb43346(0x3c2)][_0xb43346(0x3e0)](_0x1c7f15,_0x522118);}async['_loadDoc'](_0x8e1fd){const _0x568ae0=_0x421733;let _0xa642a9=0x0;const _0x5af25d=await this[_0x568ae0(0x434)]['loadOfflineData'](_0x8e1fd);return _0x5af25d&&(_0x5af25d[_0x568ae0(0x569)]||_0x5af25d[_0x568ae0(0x501)]['length']!==0x0)&&(_0xa642a9=_0x5af25d['rev']),_0xa642a9===0x0&&this['_logService'][_0x568ae0(0x4cc)](_0x568ae0(0x1dd),_0x568ae0(0x19f)),this['_snapshotService'][_0x568ae0(0x394)](_0x8e1fd,_0xa642a9);}};At=ka([Be(0x0,tr),Be(0x1,_0x257353),Be(0x2,_0x5af619),Be(0x3,_0x231990(z)),Be(0x4,_0x231990(_0x36030b)),Be(0x5,_0x1f1bd9(_0x25b005))],At);var Wa=Object['defineProperty'],Fa=Object['getOwnPropertyDescriptor'],Va=(_0x2f4b72,_0x7204b5,_0x179519,_0x1adef9)=>{for(var _0xa218c4=_0x1adef9>0x1?void 0x0:_0x1adef9?Fa(_0x7204b5,_0x179519):_0x7204b5,_0x1928e1=_0x2f4b72['length']-0x1,_0x217b76;_0x1928e1>=0x0;_0x1928e1--)(_0x217b76=_0x2f4b72[_0x1928e1])&&(_0xa218c4=(_0x1adef9?_0x217b76(_0x7204b5,_0x179519,_0xa218c4):_0x217b76(_0xa218c4))||_0xa218c4);return _0x1adef9&&_0xa218c4&&Wa(_0x7204b5,_0x179519,_0xa218c4),_0xa218c4;},oi=(_0x49f03a,_0xdb761c)=>(_0x125665,_0x9919d9)=>_0xdb761c(_0x125665,_0x9919d9,_0x49f03a);const Ga='DEFAULT_FILE_NAME',Ya=_0x421733(0x398);let Mt=class extends _0x36e463{constructor(_0x5241cf,_0xf78560){const _0x5bd6ef=_0x421733;super(),this[_0x5bd6ef(0x49a)]=_0x5241cf,this[_0x5bd6ef(0x254)]=_0xf78560,this[_0x5bd6ef(0x483)]();}[_0x421733(0x483)](){const _0x56d266=_0x421733;this[_0x56d266(0x40e)](this['_univerInstanceService']['focused$'][_0x56d266(0x4fc)](()=>{const _0x29bbf7=_0x56d266;var _0x4582da;const _0x1b7a0d=this[_0x29bbf7(0x49a)][_0x29bbf7(0x30d)]();let _0x5ce711=(_0x4582da=this[_0x29bbf7(0x254)][_0x29bbf7(0x39e)](Ga))!=null?_0x4582da:Ya;_0x1b7a0d instanceof _0xb8558d&&(_0x5ce711=_0x1b7a0d[_0x29bbf7(0x37a)]),document[_0x29bbf7(0x420)]=_0x5ce711;}));}};Mt=Va([oi(0x0,_0x186a82),oi(0x1,_0x2cfa70)],Mt);var Ka=Object[_0x421733(0x1c6)],qa=Object[_0x421733(0x2e2)],za=(_0x3e7068,_0x5c9281,_0x208b91,_0x50143a)=>{const _0x5de503=_0x421733;for(var _0x3b9846=_0x50143a>0x1?void 0x0:_0x50143a?qa(_0x5c9281,_0x208b91):_0x5c9281,_0x38fa62=_0x3e7068[_0x5de503(0x4b1)]-0x1,_0x38c2ac;_0x38fa62>=0x0;_0x38fa62--)(_0x38c2ac=_0x3e7068[_0x38fa62])&&(_0x3b9846=(_0x50143a?_0x38c2ac(_0x5c9281,_0x208b91,_0x3b9846):_0x38c2ac(_0x3b9846))||_0x3b9846);return _0x50143a&&_0x3b9846&&Ka(_0x5c9281,_0x208b91,_0x3b9846),_0x3b9846;},ss=(_0xb77a21,_0x17259b)=>(_0x50f11d,_0x28a73d)=>_0x17259b(_0x50f11d,_0x28a73d,_0xb77a21);let xt=class{constructor(_0x4a7240,_0x29781c,_0x184905){const _0x3f06d6=_0x421733;this[_0x3f06d6(0x254)]=_0x4a7240,this['_httpService']=_0x29781c,this[_0x3f06d6(0x306)]=_0x184905,this[_0x3f06d6(0x371)]();}[_0x421733(0x371)](){const _0x398f54=_0x421733;this[_0x398f54(0x379)][_0x398f54(0x1d8)]({'priority':0x1,'interceptor':(_0x2453e2,_0x4ded78)=>_0x4ded78(_0x2453e2)[_0x398f54(0x552)](_0x3b64f1(async _0x9d01d=>{const _0x40ad68=_0x398f54,_0x310c5f=_0x9d01d;if(_0x310c5f[_0x40ad68(0x1df)]===0x191&&window[_0x40ad68(0x4de)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0xf6dd80=window[_0x40ad68(0x174)](window['location'][_0x40ad68(0x2d1)]);window['location'][_0x40ad68(0x2d1)]=this[_0x40ad68(0x509)]()+'?url='+_0xf6dd80;}return _0x310c5f;}))});}[_0x421733(0x509)](){const _0xe7dca=_0x421733;var _0x1d46fc,_0x4608a7;const _0x23d06d=this[_0xe7dca(0x254)][_0xe7dca(0x39e)]($n),_0x58a139=this['_configService'][_0xe7dca(0x39e)](Q);return(_0x4608a7=(_0x1d46fc=_0x58a139==null?void 0x0:_0x58a139[_0xe7dca(0x252)])!=null?_0x1d46fc:_0x23d06d)!=null?_0x4608a7:Hn;}};xt=za([ss(0x0,_0x2cfa70),ss(0x1,_0x231990(_0xee3f76)),ss(0x2,_0x231990(_0x3097b7))],xt);var Xa=Object[_0x421733(0x1c6)],Ja=Object[_0x421733(0x2e2)],Za=(_0x20e64a,_0x3d33ba,_0x30f809,_0x3f6839)=>{const _0x5e5b3f=_0x421733;for(var _0x181ca8=_0x3f6839>0x1?void 0x0:_0x3f6839?Ja(_0x3d33ba,_0x30f809):_0x3d33ba,_0x2729a7=_0x20e64a[_0x5e5b3f(0x4b1)]-0x1,_0x1f1ca7;_0x2729a7>=0x0;_0x2729a7--)(_0x1f1ca7=_0x20e64a[_0x2729a7])&&(_0x181ca8=(_0x3f6839?_0x1f1ca7(_0x3d33ba,_0x30f809,_0x181ca8):_0x1f1ca7(_0x181ca8))||_0x181ca8);return _0x3f6839&&_0x181ca8&&Xa(_0x3d33ba,_0x30f809,_0x181ca8),_0x181ca8;},ai=(_0x1cbf77,_0x40135e)=>(_0x52fbf2,_0x2e5d3d)=>_0x40135e(_0x52fbf2,_0x2e5d3d,_0x1cbf77);const sr=_0x421733(0x44a),Qa='/universer-api/authz';let vs=class extends _0x36e463{constructor(_0x10684a,_0x38c7b6){const _0x23cddd=_0x421733;super(),this[_0x23cddd(0x469)]=_0x10684a,this[_0x23cddd(0x254)]=_0x38c7b6,this[_0x23cddd(0x57a)]();}['_initMergeInterceptor'](){const _0x1b9ede=_0x421733,_0x4805a4=this;this[_0x1b9ede(0x40e)](this[_0x1b9ede(0x469)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x18dc5a({'isMatch'(_0x489b82){const _0x4636fa=_0x1b9ede;var _0x2bb018;if(_0x489b82['method']===_0x4636fa(0x369)&&((_0x2bb018=_0x489b82[_0x4636fa(0x34a)])!=null&&_0x2bb018['body'])){const {objectID:_0x3bf3e9,objectType:_0x3c2c9d}=_0x489b82['requestParams'][_0x4636fa(0x23d)]||{};if(!_0x3bf3e9||_0x3c2c9d===void 0x0)return!0x1;const _0x173844=_0x4805a4[_0x4636fa(0x3fd)]()+'/'+_0x3c2c9d+_0x4636fa(0x20b)+_0x3bf3e9+_0x4636fa(0x26c);if(_0x489b82['url']===_0x173844)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x145cae){const _0x1d596b=_0x1b9ede;var _0x4f8955;return(_0x4f8955=_0x145cae[_0x1d596b(0x34a)])==null?void 0x0:_0x4f8955['body'];},'mergeParamsToRequest'(_0x4d16ab,_0x4654cf){const _0x5ab54f=_0x1b9ede,_0x4aa17d=_0x4805a4[_0x5ab54f(0x3fd)]()+'/-/object/-/batch_allowed',_0x4ff718=_0x4d16ab[_0x5ab54f(0x1b2)]((_0x56d75a,_0x23a23a)=>{const _0x2ec9a7=_0x5ab54f,{unitID:_0x293fea,objectID:_0x377b1b,objectType:_0x41cd7b,actions:_0x1ae126}=_0x23a23a;return _0x56d75a[_0x293fea]||(_0x56d75a[_0x293fea]={}),_0x56d75a[_0x293fea][_0x377b1b]||(_0x56d75a[_0x293fea][_0x377b1b]={'objectID':_0x377b1b,'objectType':_0x41cd7b,'actions':[]}),_0x56d75a[_0x293fea][_0x377b1b][_0x2ec9a7(0x276)][_0x2ec9a7(0x2ac)](..._0x1ae126),_0x56d75a;},{}),_0x604dbb=[];for(const _0x334bd8 in _0x4ff718)for(const _0x1187ab in _0x4ff718[_0x334bd8]){const {actions:_0x2c30ea,objectType:_0x2e9e0c}=_0x4ff718[_0x334bd8][_0x1187ab],_0x49c3b7=[...new Set(_0x2c30ea)];_0x604dbb[_0x5ab54f(0x2ac)]({'unitID':_0x334bd8,'objectID':_0x1187ab,'objectType':_0x2e9e0c,'actions':_0x49c3b7});}return new _0x30ed57(_0x5ab54f(0x369),_0x4aa17d,{'headers':_0x4654cf[_0x5ab54f(0x16f)],'withCredentials':_0x4654cf[_0x5ab54f(0x528)],'responseType':_0x4654cf[_0x5ab54f(0x2b3)],'body':{'requests':_0x604dbb}});}},{'distributeResult'(_0x176043,_0x361b4b){const _0x54f542=_0x1b9ede,{objectActions:_0x2bdfc8}=_0x176043;return _0x361b4b[_0x54f542(0x203)](_0x5648a8=>{const _0xd57141=_0x54f542,{unitID:_0x244d56,objectID:_0xc39818,actions:_0x148ba9}=_0x5648a8,_0x6cc3d7=_0x2bdfc8[_0xd57141(0x3c5)](_0x57a612=>_0x57a612['unitID']===_0x244d56&&_0x57a612[_0xd57141(0x205)]===_0xc39818),_0x5ea5f6=_0x148ba9[_0xd57141(0x203)](_0x427c37=>_0x6cc3d7==null?void 0x0:_0x6cc3d7[_0xd57141(0x276)][_0xd57141(0x3c5)](_0x1eb529=>_0x1eb529['action']===_0x427c37))['filter'](_0x25510d=>!!_0x25510d);return{'config':_0x5648a8,'result':{'actions':_0x5ea5f6,'error':_0x176043[_0xd57141(0x3ff)]}};});}})}));}[_0x421733(0x3fd)](){const _0x5f431d=_0x421733;var _0x2c1592,_0x236c21;const _0xa7faeb=this[_0x5f431d(0x254)]['getConfig'](sr),_0x514a22=this['_configService'][_0x5f431d(0x39e)](Q);return(_0x236c21=(_0x2c1592=_0x514a22==null?void 0x0:_0x514a22[_0x5f431d(0x209)])!=null?_0x2c1592:_0xa7faeb)!=null?_0x236c21:Qa;}async[_0x421733(0x32b)](_0x48c7d2){const _0x49b333=_0x421733,_0x570a7e=this['_getAPIPrefixPath']()+'/'+_0x48c7d2[_0x49b333(0x357)]+_0x49b333(0x26a);return(await this[_0x49b333(0x469)]['post'](_0x570a7e,{'body':_0x48c7d2}))[_0x49b333(0x23d)][_0x49b333(0x205)]||'';}async[_0x421733(0x1ef)](_0x1fc416){const _0x23bfc3=_0x421733,_0x559ddd=this[_0x23bfc3(0x3fd)]()+_0x23bfc3(0x47c);return(await this['_HTTPService'][_0x23bfc3(0x413)](_0x559ddd,{'body':_0x1fc416}))[_0x23bfc3(0x23d)][_0x23bfc3(0x518)];}async['update'](_0x5ae5cd){const _0x41955e=_0x421733,_0x5a98dd=this[_0x41955e(0x3fd)]()+'/'+_0x5ae5cd[_0x41955e(0x357)]+'/object/'+_0x5ae5cd['objectID'];await this[_0x41955e(0x469)][_0x41955e(0x4b2)](_0x5a98dd,{'body':_0x5ae5cd});}async['allowed'](_0x466663){const _0x292afc=_0x421733,_0x4c0da0=this[_0x292afc(0x3fd)]()+'/'+_0x466663[_0x292afc(0x357)]+'/object/'+_0x466663[_0x292afc(0x205)]+_0x292afc(0x26c);return(await this['_HTTPService'][_0x292afc(0x413)](_0x4c0da0,{'body':_0x466663}))['body'][_0x292afc(0x276)];}async[_0x421733(0x4a4)](_0x955a27){const _0x47e7ed=_0x421733,_0x4f4351=this[_0x47e7ed(0x3fd)]()+_0x47e7ed(0x3a3);return(await this[_0x47e7ed(0x469)][_0x47e7ed(0x413)](_0x4f4351,{'body':{'requests':_0x955a27}}))[_0x47e7ed(0x23d)][_0x47e7ed(0x1e6)];}async[_0x421733(0x594)](_0x515337){const _0xb4c3ee=_0x421733,_0x58dc03=this[_0xb4c3ee(0x3fd)]()+'/'+_0x515337['objectType']+_0xb4c3ee(0x38d),_0x42d0df=await this[_0xb4c3ee(0x469)][_0xb4c3ee(0x413)](_0x58dc03,{'body':_0x515337});return{'roles':_0x42d0df[_0xb4c3ee(0x23d)][_0xb4c3ee(0x50b)],'actions':_0x42d0df[_0xb4c3ee(0x23d)][_0xb4c3ee(0x276)]};}async[_0x421733(0x401)](_0x5cdbed){const _0x1b7da0=_0x421733,_0x91306d=this[_0x1b7da0(0x3fd)]()+'/collaborator';await this[_0x1b7da0(0x469)][_0x1b7da0(0x2d8)](_0x91306d,{'params':{'collaboratorID':_0x5cdbed[_0x1b7da0(0x32f)],'objectID':_0x5cdbed['objectID'],'unitID':_0x5cdbed['unitID']}});}async[_0x421733(0x3d9)](_0x49909d){const _0x2d64fe=_0x421733,_0x18a0dd=this[_0x2d64fe(0x3fd)]()+_0x2d64fe(0x2b4);await this['_HTTPService'][_0x2d64fe(0x57b)](_0x18a0dd,{'body':_0x49909d});}async[_0x421733(0x1d2)](_0x50d6a8){const _0x2d851f=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['post'](_0x2d851f,{'body':_0x50d6a8});}async[_0x421733(0x3eb)](_0x4a4926){const _0x574442=_0x421733,_0x322d94=this['_getAPIPrefixPath']()+_0x574442(0x2b4);return(await this[_0x574442(0x469)][_0x574442(0x37c)](_0x322d94,{'params':{'objectID':_0x4a4926[_0x574442(0x205)],'unitID':_0x4a4926[_0x574442(0x4f8)]}}))[_0x574442(0x23d)]['collaborators'];}async['putCollaborators'](_0x44010e){const _0x159497=_0x421733,_0xc1ea36=this[_0x159497(0x3fd)]()+'/collaborator';await this[_0x159497(0x469)][_0x159497(0x4b2)](_0xc1ea36,{'body':_0x44010e});}};vs=Za([ai(0x0,_0x231990(_0xee3f76)),ai(0x1,_0x231990(_0x2cfa70))],vs);var ut={'exports':{}};function ec(_0x1594d7){const _0x1a5fb2=_0x421733;throw new Error(_0x1a5fb2(0x20f)+_0x1594d7+_0x1a5fb2(0x368));}var dt={'exports':{}},tc=dt['exports'],ci;function _e(){const _0x4bdf16=_0x421733;return ci||(ci=0x1,function(_0x512ce4,_0x4fd19c){(function(_0x39f358,_0x1890dc){const _0x5e6bb4=_0x9980;_0x512ce4[_0x5e6bb4(0x54c)]=_0x1890dc();}(tc,function(){var _0x35687a=_0x35687a||function(_0x3527e8,_0xda1a3a){const _0x92fdbe=_0x9980;var _0x500ff6;if(typeof window<'u'&&window[_0x92fdbe(0x1b1)]&&(_0x500ff6=window[_0x92fdbe(0x1b1)]),typeof self<'u'&&self['crypto']&&(_0x500ff6=self[_0x92fdbe(0x1b1)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x500ff6=globalThis[_0x92fdbe(0x1b1)]),!_0x500ff6&&typeof window<'u'&&window['msCrypto']&&(_0x500ff6=window[_0x92fdbe(0x448)]),!_0x500ff6&&typeof es<'u'&&es[_0x92fdbe(0x1b1)]&&(_0x500ff6=es[_0x92fdbe(0x1b1)]),!_0x500ff6&&typeof ec=='function')try{_0x500ff6=require(_0x92fdbe(0x1b1));}catch{}var _0x30be6a=function(){const _0x27657e=_0x92fdbe;if(_0x500ff6){if(typeof _0x500ff6[_0x27657e(0x57f)]==_0x27657e(0x28b))try{return _0x500ff6[_0x27657e(0x57f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x500ff6[_0x27657e(0x360)]==_0x27657e(0x28b))try{return _0x500ff6['randomBytes'](0x4)[_0x27657e(0x334)]();}catch{}}throw new Error(_0x27657e(0x2ec));},_0x41503a=Object[_0x92fdbe(0x32b)]||(function(){function _0x34284f(){}return function(_0x5e4f55){const _0x4056f6=_0x9980;var _0x2dac3f;return _0x34284f[_0x4056f6(0x481)]=_0x5e4f55,_0x2dac3f=new _0x34284f(),_0x34284f[_0x4056f6(0x481)]=null,_0x2dac3f;};}()),_0x29430f={},_0x3ceabf=_0x29430f[_0x92fdbe(0x4a6)]={},_0x22c1cd=_0x3ceabf[_0x92fdbe(0x3ea)]=(function(){return{'extend':function(_0x1dc911){const _0x5d9bce=_0x9980;var _0x3e595d=_0x41503a(this);return _0x1dc911&&_0x3e595d[_0x5d9bce(0x558)](_0x1dc911),(!_0x3e595d[_0x5d9bce(0x40b)](_0x5d9bce(0x371))||this[_0x5d9bce(0x371)]===_0x3e595d[_0x5d9bce(0x371)])&&(_0x3e595d[_0x5d9bce(0x371)]=function(){const _0x118f9f=_0x5d9bce;_0x3e595d[_0x118f9f(0x35f)]['init'][_0x118f9f(0x50a)](this,arguments);}),_0x3e595d[_0x5d9bce(0x371)][_0x5d9bce(0x481)]=_0x3e595d,_0x3e595d[_0x5d9bce(0x35f)]=this,_0x3e595d;},'create':function(){const _0x1517e4=_0x9980;var _0x5dbfd0=this[_0x1517e4(0x496)]();return _0x5dbfd0['init']['apply'](_0x5dbfd0,arguments),_0x5dbfd0;},'init':function(){},'mixIn':function(_0x4ee67b){const _0x98989c=_0x9980;for(var _0x3b7c32 in _0x4ee67b)_0x4ee67b['hasOwnProperty'](_0x3b7c32)&&(this[_0x3b7c32]=_0x4ee67b[_0x3b7c32]);_0x4ee67b['hasOwnProperty']('toString')&&(this[_0x98989c(0x353)]=_0x4ee67b[_0x98989c(0x353)]);},'clone':function(){const _0x213fe4=_0x9980;return this[_0x213fe4(0x371)][_0x213fe4(0x481)]['extend'](this);}};}()),_0x536a6e=_0x3ceabf[_0x92fdbe(0x2d9)]=_0x22c1cd[_0x92fdbe(0x496)]({'init':function(_0x4823a7,_0x48d564){const _0x312b95=_0x92fdbe;_0x4823a7=this['words']=_0x4823a7||[],_0x48d564!=_0xda1a3a?this[_0x312b95(0x287)]=_0x48d564:this[_0x312b95(0x287)]=_0x4823a7['length']*0x4;},'toString':function(_0x403c54){return(_0x403c54||_0x38061b)['stringify'](this);},'concat':function(_0x461046){const _0x270cdf=_0x92fdbe;var _0x33cba0=this['words'],_0xe42bb2=_0x461046['words'],_0x239d03=this['sigBytes'],_0x16d048=_0x461046[_0x270cdf(0x287)];if(this['clamp'](),_0x239d03%0x4)for(var _0x4d9db8=0x0;_0x4d9db8<_0x16d048;_0x4d9db8++){var _0x2f40aa=_0xe42bb2[_0x4d9db8>>>0x2]>>>0x18-_0x4d9db8%0x4*0x8&0xff;_0x33cba0[_0x239d03+_0x4d9db8>>>0x2]|=_0x2f40aa<<0x18-(_0x239d03+_0x4d9db8)%0x4*0x8;}else{for(var _0x46cc80=0x0;_0x46cc80<_0x16d048;_0x46cc80+=0x4)_0x33cba0[_0x239d03+_0x46cc80>>>0x2]=_0xe42bb2[_0x46cc80>>>0x2];}return this[_0x270cdf(0x287)]+=_0x16d048,this;},'clamp':function(){const _0x480d40=_0x92fdbe;var _0x4c8d3c=this[_0x480d40(0x4dd)],_0x33b136=this[_0x480d40(0x287)];_0x4c8d3c[_0x33b136>>>0x2]&=0xffffffff<<0x20-_0x33b136%0x4*0x8,_0x4c8d3c['length']=_0x3527e8[_0x480d40(0x339)](_0x33b136/0x4);},'clone':function(){const _0x3ea409=_0x92fdbe;var _0x42be11=_0x22c1cd['clone'][_0x3ea409(0x4bf)](this);return _0x42be11[_0x3ea409(0x4dd)]=this[_0x3ea409(0x4dd)][_0x3ea409(0x3e9)](0x0),_0x42be11;},'random':function(_0x1f7b5c){const _0x376ea2=_0x92fdbe;for(var _0x53abdc=[],_0x4802c1=0x0;_0x4802c1<_0x1f7b5c;_0x4802c1+=0x4)_0x53abdc[_0x376ea2(0x2ac)](_0x30be6a());return new _0x536a6e[(_0x376ea2(0x371))](_0x53abdc,_0x1f7b5c);}}),_0x2d4bd6=_0x29430f[_0x92fdbe(0x557)]={},_0x38061b=_0x2d4bd6[_0x92fdbe(0x30c)]={'stringify':function(_0x1f44d7){const _0x1c3363=_0x92fdbe;for(var _0x5ab414=_0x1f44d7[_0x1c3363(0x4dd)],_0x1b04e2=_0x1f44d7['sigBytes'],_0x1fc2cf=[],_0x4d6564=0x0;_0x4d6564<_0x1b04e2;_0x4d6564++){var _0x3c9d8b=_0x5ab414[_0x4d6564>>>0x2]>>>0x18-_0x4d6564%0x4*0x8&0xff;_0x1fc2cf[_0x1c3363(0x2ac)]((_0x3c9d8b>>>0x4)[_0x1c3363(0x353)](0x10)),_0x1fc2cf['push']((_0x3c9d8b&0xf)[_0x1c3363(0x353)](0x10));}return _0x1fc2cf[_0x1c3363(0x1d5)]('');},'parse':function(_0x541371){const _0x26dd4f=_0x92fdbe;for(var _0x3711f3=_0x541371[_0x26dd4f(0x4b1)],_0x254837=[],_0x20e224=0x0;_0x20e224<_0x3711f3;_0x20e224+=0x2)_0x254837[_0x20e224>>>0x3]|=parseInt(_0x541371[_0x26dd4f(0x441)](_0x20e224,0x2),0x10)<<0x18-_0x20e224%0x8*0x4;return new _0x536a6e[(_0x26dd4f(0x371))](_0x254837,_0x3711f3/0x2);}},_0x46f149=_0x2d4bd6[_0x92fdbe(0x54b)]={'stringify':function(_0x1c18dd){const _0x3de368=_0x92fdbe;for(var _0x20519e=_0x1c18dd[_0x3de368(0x4dd)],_0x865625=_0x1c18dd[_0x3de368(0x287)],_0x14e579=[],_0x19728e=0x0;_0x19728e<_0x865625;_0x19728e++){var _0x6a60cd=_0x20519e[_0x19728e>>>0x2]>>>0x18-_0x19728e%0x4*0x8&0xff;_0x14e579['push'](String[_0x3de368(0x583)](_0x6a60cd));}return _0x14e579['join']('');},'parse':function(_0x27eef5){const _0x524726=_0x92fdbe;for(var _0x38486=_0x27eef5[_0x524726(0x4b1)],_0x453124=[],_0x318997=0x0;_0x318997<_0x38486;_0x318997++)_0x453124[_0x318997>>>0x2]|=(_0x27eef5['charCodeAt'](_0x318997)&0xff)<<0x18-_0x318997%0x4*0x8;return new _0x536a6e['init'](_0x453124,_0x38486);}},_0x350ae6=_0x2d4bd6[_0x92fdbe(0x343)]={'stringify':function(_0x333bba){const _0x2d85b8=_0x92fdbe;try{return decodeURIComponent(escape(_0x46f149[_0x2d85b8(0x2b7)](_0x333bba)));}catch{throw new Error(_0x2d85b8(0x529));}},'parse':function(_0x3495a2){const _0x14c635=_0x92fdbe;return _0x46f149[_0x14c635(0x2e0)](unescape(encodeURIComponent(_0x3495a2)));}},_0x1691b3=_0x3ceabf[_0x92fdbe(0x270)]=_0x22c1cd[_0x92fdbe(0x496)]({'reset':function(){const _0x369878=_0x92fdbe;this['_data']=new _0x536a6e[(_0x369878(0x371))](),this['_nDataBytes']=0x0;},'_append':function(_0x69dc65){const _0x23d863=_0x92fdbe;typeof _0x69dc65==_0x23d863(0x354)&&(_0x69dc65=_0x350ae6['parse'](_0x69dc65)),this['_data']['concat'](_0x69dc65),this[_0x23d863(0x317)]+=_0x69dc65[_0x23d863(0x287)];},'_process':function(_0x4e0e2d){const _0x2bd2f9=_0x92fdbe;var _0x548484,_0x39a5eb=this[_0x2bd2f9(0x47d)],_0x12b806=_0x39a5eb[_0x2bd2f9(0x4dd)],_0x1a5c67=_0x39a5eb[_0x2bd2f9(0x287)],_0x355e5b=this['blockSize'],_0x18ea15=_0x355e5b*0x4,_0x4e9989=_0x1a5c67/_0x18ea15;_0x4e0e2d?_0x4e9989=_0x3527e8[_0x2bd2f9(0x339)](_0x4e9989):_0x4e9989=_0x3527e8[_0x2bd2f9(0x256)]((_0x4e9989|0x0)-this[_0x2bd2f9(0x4c0)],0x0);var _0x3ffb99=_0x4e9989*_0x355e5b,_0xff83ff=_0x3527e8[_0x2bd2f9(0x3e2)](_0x3ffb99*0x4,_0x1a5c67);if(_0x3ffb99){for(var _0x3d7c45=0x0;_0x3d7c45<_0x3ffb99;_0x3d7c45+=_0x355e5b)this['_doProcessBlock'](_0x12b806,_0x3d7c45);_0x548484=_0x12b806[_0x2bd2f9(0x3e8)](0x0,_0x3ffb99),_0x39a5eb[_0x2bd2f9(0x287)]-=_0xff83ff;}return new _0x536a6e[(_0x2bd2f9(0x371))](_0x548484,_0xff83ff);},'clone':function(){const _0x514117=_0x92fdbe;var _0x44df52=_0x22c1cd[_0x514117(0x384)][_0x514117(0x4bf)](this);return _0x44df52[_0x514117(0x47d)]=this[_0x514117(0x47d)][_0x514117(0x384)](),_0x44df52;},'_minBufferSize':0x0});_0x3ceabf[_0x92fdbe(0x21b)]=_0x1691b3[_0x92fdbe(0x496)]({'cfg':_0x22c1cd['extend'](),'init':function(_0x2c9f8d){const _0x49366e=_0x92fdbe;this[_0x49366e(0x3b1)]=this['cfg'][_0x49366e(0x496)](_0x2c9f8d),this[_0x49366e(0x267)]();},'reset':function(){const _0x52f702=_0x92fdbe;_0x1691b3[_0x52f702(0x267)][_0x52f702(0x4bf)](this),this[_0x52f702(0x3ec)]();},'update':function(_0x2bacf5){const _0x21131f=_0x92fdbe;return this[_0x21131f(0x58a)](_0x2bacf5),this['_process'](),this;},'finalize':function(_0x59eccc){const _0x1530ad=_0x92fdbe;_0x59eccc&&this[_0x1530ad(0x58a)](_0x59eccc);var _0x5095ae=this[_0x1530ad(0x512)]();return _0x5095ae;},'blockSize':0x10,'_createHelper':function(_0x2a0a1d){return function(_0x30c0ea,_0x53087d){const _0x2989ca=_0x9980;return new _0x2a0a1d[(_0x2989ca(0x371))](_0x53087d)[_0x2989ca(0x47a)](_0x30c0ea);};},'_createHmacHelper':function(_0x5ba1d7){return function(_0x188ffa,_0x1bd9be){const _0x52efda=_0x9980;return new _0x52238f[(_0x52efda(0x475))][(_0x52efda(0x371))](_0x5ba1d7,_0x1bd9be)[_0x52efda(0x47a)](_0x188ffa);};}});var _0x52238f=_0x29430f['algo']={};return _0x29430f;}(Math);return _0x35687a;}));}(dt)),dt[_0x4bdf16(0x54c)];}var ft={'exports':{}},sc=ft[_0x421733(0x54c)],hi;function ir(){const _0x1378b0=_0x421733;return hi||(hi=0x1,function(_0xd829e8,_0xea9168){(function(_0x3f39a6,_0x262c3e){const _0x5acd81=_0x9980;_0xd829e8[_0x5acd81(0x54c)]=_0x262c3e(_e());}(sc,function(_0xe15c2a){return(function(){const _0xa7b0c3=_0x9980;var _0x38f953=_0xe15c2a,_0x38ae3e=_0x38f953[_0xa7b0c3(0x4a6)],_0x400468=_0x38ae3e[_0xa7b0c3(0x2d9)],_0x594264=_0x38f953[_0xa7b0c3(0x557)];_0x594264[_0xa7b0c3(0x49c)]={'stringify':function(_0xc5c8e6){const _0x2834f6=_0xa7b0c3;var _0x125d73=_0xc5c8e6['words'],_0x1380cc=_0xc5c8e6[_0x2834f6(0x287)],_0x3c38ef=this[_0x2834f6(0x489)];_0xc5c8e6['clamp']();for(var _0x132f7d=[],_0x248b89=0x0;_0x248b89<_0x1380cc;_0x248b89+=0x3)for(var _0x42f1c0=_0x125d73[_0x248b89>>>0x2]>>>0x18-_0x248b89%0x4*0x8&0xff,_0x5f2208=_0x125d73[_0x248b89+0x1>>>0x2]>>>0x18-(_0x248b89+0x1)%0x4*0x8&0xff,_0x38bd21=_0x125d73[_0x248b89+0x2>>>0x2]>>>0x18-(_0x248b89+0x2)%0x4*0x8&0xff,_0x3a2992=_0x42f1c0<<0x10|_0x5f2208<<0x8|_0x38bd21,_0x337c7a=0x0;_0x337c7a<0x4&&_0x248b89+_0x337c7a*0.75<_0x1380cc;_0x337c7a++)_0x132f7d[_0x2834f6(0x2ac)](_0x3c38ef['charAt'](_0x3a2992>>>0x6*(0x3-_0x337c7a)&0x3f));var _0x38b054=_0x3c38ef['charAt'](0x40);if(_0x38b054){for(;_0x132f7d[_0x2834f6(0x4b1)]%0x4;)_0x132f7d[_0x2834f6(0x2ac)](_0x38b054);}return _0x132f7d[_0x2834f6(0x1d5)]('');},'parse':function(_0x371f94){const _0x4a633b=_0xa7b0c3;var _0x1bf9d1=_0x371f94[_0x4a633b(0x4b1)],_0x123dd8=this[_0x4a633b(0x489)],_0x554720=this[_0x4a633b(0x4ed)];if(!_0x554720){_0x554720=this[_0x4a633b(0x4ed)]=[];for(var _0x1d9288=0x0;_0x1d9288<_0x123dd8[_0x4a633b(0x4b1)];_0x1d9288++)_0x554720[_0x123dd8[_0x4a633b(0x235)](_0x1d9288)]=_0x1d9288;}var _0x4340af=_0x123dd8['charAt'](0x40);if(_0x4340af){var _0x7a4cc2=_0x371f94[_0x4a633b(0x332)](_0x4340af);_0x7a4cc2!==-0x1&&(_0x1bf9d1=_0x7a4cc2);}return _0x3aafdf(_0x371f94,_0x1bf9d1,_0x554720);},'_map':_0xa7b0c3(0x57c)};function _0x3aafdf(_0x454ee9,_0x5db937,_0x4b023f){const _0x5e79b6=_0xa7b0c3;for(var _0x20c9db=[],_0x305118=0x0,_0x3301bb=0x0;_0x3301bb<_0x5db937;_0x3301bb++)if(_0x3301bb%0x4){var _0x5cf14a=_0x4b023f[_0x454ee9[_0x5e79b6(0x235)](_0x3301bb-0x1)]<<_0x3301bb%0x4*0x2,_0x31f836=_0x4b023f[_0x454ee9[_0x5e79b6(0x235)](_0x3301bb)]>>>0x6-_0x3301bb%0x4*0x2,_0x2eaa80=_0x5cf14a|_0x31f836;_0x20c9db[_0x305118>>>0x2]|=_0x2eaa80<<0x18-_0x305118%0x4*0x8,_0x305118++;}return _0x400468['create'](_0x20c9db,_0x305118);}}()),_0xe15c2a['enc']['Base64'];}));}(ft)),ft[_0x1378b0(0x54c)];}var vt={'exports':{}},ic=vt[_0x421733(0x54c)],li;function rc(){const _0x182ae9=_0x421733;return li||(li=0x1,function(_0x2a825d,_0x3b0a59){(function(_0x4befdd,_0x1c9e5c){const _0x1be455=_0x9980;_0x2a825d[_0x1be455(0x54c)]=_0x1c9e5c(_e());}(ic,function(_0x3ececd){return function(_0x3e652f){const _0x542f7b=_0x9980;var _0x4b6393=_0x3ececd,_0x3d0e27=_0x4b6393['lib'],_0x4c85a3=_0x3d0e27[_0x542f7b(0x2d9)],_0x3eb19d=_0x3d0e27[_0x542f7b(0x21b)],_0x548820=_0x4b6393[_0x542f7b(0x2cf)],_0x2f0f3c=[];(function(){const _0x1b41d1=_0x542f7b;for(var _0x894d8=0x0;_0x894d8<0x40;_0x894d8++)_0x2f0f3c[_0x894d8]=_0x3e652f[_0x1b41d1(0x4ff)](_0x3e652f['sin'](_0x894d8+0x1))*0x100000000|0x0;}());var _0x36eadf=_0x548820[_0x542f7b(0x3a6)]=_0x3eb19d[_0x542f7b(0x496)]({'_doReset':function(){const _0x4e9a4b=_0x542f7b;this[_0x4e9a4b(0x17d)]=new _0x4c85a3[(_0x4e9a4b(0x371))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xcf212f,_0x5b05de){const _0x3d589a=_0x542f7b;for(var _0x4181ce=0x0;_0x4181ce<0x10;_0x4181ce++){var _0x12a92f=_0x5b05de+_0x4181ce,_0x3b6a94=_0xcf212f[_0x12a92f];_0xcf212f[_0x12a92f]=(_0x3b6a94<<0x8|_0x3b6a94>>>0x18)&0xff00ff|(_0x3b6a94<<0x18|_0x3b6a94>>>0x8)&0xff00ff00;}var _0x2aec7b=this['_hash'][_0x3d589a(0x4dd)],_0xd0d670=_0xcf212f[_0x5b05de+0x0],_0x2ca69d=_0xcf212f[_0x5b05de+0x1],_0x450da4=_0xcf212f[_0x5b05de+0x2],_0x169158=_0xcf212f[_0x5b05de+0x3],_0x26dccf=_0xcf212f[_0x5b05de+0x4],_0x12e56d=_0xcf212f[_0x5b05de+0x5],_0x13fee3=_0xcf212f[_0x5b05de+0x6],_0x10f543=_0xcf212f[_0x5b05de+0x7],_0x2d6907=_0xcf212f[_0x5b05de+0x8],_0x10c83c=_0xcf212f[_0x5b05de+0x9],_0x5ed7d6=_0xcf212f[_0x5b05de+0xa],_0x393b35=_0xcf212f[_0x5b05de+0xb],_0x59348b=_0xcf212f[_0x5b05de+0xc],_0xabb45e=_0xcf212f[_0x5b05de+0xd],_0x44ca2d=_0xcf212f[_0x5b05de+0xe],_0x24022b=_0xcf212f[_0x5b05de+0xf],_0x27e1c8=_0x2aec7b[0x0],_0x4b8f37=_0x2aec7b[0x1],_0x47fb7c=_0x2aec7b[0x2],_0xa26c0f=_0x2aec7b[0x3];_0x27e1c8=_0x240da0(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0xd0d670,0x7,_0x2f0f3c[0x0]),_0xa26c0f=_0x240da0(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x2ca69d,0xc,_0x2f0f3c[0x1]),_0x47fb7c=_0x240da0(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x450da4,0x11,_0x2f0f3c[0x2]),_0x4b8f37=_0x240da0(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x169158,0x16,_0x2f0f3c[0x3]),_0x27e1c8=_0x240da0(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x26dccf,0x7,_0x2f0f3c[0x4]),_0xa26c0f=_0x240da0(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x12e56d,0xc,_0x2f0f3c[0x5]),_0x47fb7c=_0x240da0(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x13fee3,0x11,_0x2f0f3c[0x6]),_0x4b8f37=_0x240da0(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x10f543,0x16,_0x2f0f3c[0x7]),_0x27e1c8=_0x240da0(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x2d6907,0x7,_0x2f0f3c[0x8]),_0xa26c0f=_0x240da0(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x10c83c,0xc,_0x2f0f3c[0x9]),_0x47fb7c=_0x240da0(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x5ed7d6,0x11,_0x2f0f3c[0xa]),_0x4b8f37=_0x240da0(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x393b35,0x16,_0x2f0f3c[0xb]),_0x27e1c8=_0x240da0(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x59348b,0x7,_0x2f0f3c[0xc]),_0xa26c0f=_0x240da0(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xabb45e,0xc,_0x2f0f3c[0xd]),_0x47fb7c=_0x240da0(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x44ca2d,0x11,_0x2f0f3c[0xe]),_0x4b8f37=_0x240da0(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x24022b,0x16,_0x2f0f3c[0xf]),_0x27e1c8=_0x783cd9(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x2ca69d,0x5,_0x2f0f3c[0x10]),_0xa26c0f=_0x783cd9(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x13fee3,0x9,_0x2f0f3c[0x11]),_0x47fb7c=_0x783cd9(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x393b35,0xe,_0x2f0f3c[0x12]),_0x4b8f37=_0x783cd9(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0xd0d670,0x14,_0x2f0f3c[0x13]),_0x27e1c8=_0x783cd9(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x12e56d,0x5,_0x2f0f3c[0x14]),_0xa26c0f=_0x783cd9(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x5ed7d6,0x9,_0x2f0f3c[0x15]),_0x47fb7c=_0x783cd9(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x24022b,0xe,_0x2f0f3c[0x16]),_0x4b8f37=_0x783cd9(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x26dccf,0x14,_0x2f0f3c[0x17]),_0x27e1c8=_0x783cd9(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x10c83c,0x5,_0x2f0f3c[0x18]),_0xa26c0f=_0x783cd9(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x44ca2d,0x9,_0x2f0f3c[0x19]),_0x47fb7c=_0x783cd9(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x169158,0xe,_0x2f0f3c[0x1a]),_0x4b8f37=_0x783cd9(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x2d6907,0x14,_0x2f0f3c[0x1b]),_0x27e1c8=_0x783cd9(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0xabb45e,0x5,_0x2f0f3c[0x1c]),_0xa26c0f=_0x783cd9(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x450da4,0x9,_0x2f0f3c[0x1d]),_0x47fb7c=_0x783cd9(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x10f543,0xe,_0x2f0f3c[0x1e]),_0x4b8f37=_0x783cd9(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x59348b,0x14,_0x2f0f3c[0x1f]),_0x27e1c8=_0x56dba4(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x12e56d,0x4,_0x2f0f3c[0x20]),_0xa26c0f=_0x56dba4(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x2d6907,0xb,_0x2f0f3c[0x21]),_0x47fb7c=_0x56dba4(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x393b35,0x10,_0x2f0f3c[0x22]),_0x4b8f37=_0x56dba4(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x44ca2d,0x17,_0x2f0f3c[0x23]),_0x27e1c8=_0x56dba4(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x2ca69d,0x4,_0x2f0f3c[0x24]),_0xa26c0f=_0x56dba4(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x26dccf,0xb,_0x2f0f3c[0x25]),_0x47fb7c=_0x56dba4(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x10f543,0x10,_0x2f0f3c[0x26]),_0x4b8f37=_0x56dba4(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x5ed7d6,0x17,_0x2f0f3c[0x27]),_0x27e1c8=_0x56dba4(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0xabb45e,0x4,_0x2f0f3c[0x28]),_0xa26c0f=_0x56dba4(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xd0d670,0xb,_0x2f0f3c[0x29]),_0x47fb7c=_0x56dba4(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x169158,0x10,_0x2f0f3c[0x2a]),_0x4b8f37=_0x56dba4(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x13fee3,0x17,_0x2f0f3c[0x2b]),_0x27e1c8=_0x56dba4(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x10c83c,0x4,_0x2f0f3c[0x2c]),_0xa26c0f=_0x56dba4(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x59348b,0xb,_0x2f0f3c[0x2d]),_0x47fb7c=_0x56dba4(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x24022b,0x10,_0x2f0f3c[0x2e]),_0x4b8f37=_0x56dba4(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x450da4,0x17,_0x2f0f3c[0x2f]),_0x27e1c8=_0x1a0663(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0xd0d670,0x6,_0x2f0f3c[0x30]),_0xa26c0f=_0x1a0663(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x10f543,0xa,_0x2f0f3c[0x31]),_0x47fb7c=_0x1a0663(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x44ca2d,0xf,_0x2f0f3c[0x32]),_0x4b8f37=_0x1a0663(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x12e56d,0x15,_0x2f0f3c[0x33]),_0x27e1c8=_0x1a0663(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x59348b,0x6,_0x2f0f3c[0x34]),_0xa26c0f=_0x1a0663(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x169158,0xa,_0x2f0f3c[0x35]),_0x47fb7c=_0x1a0663(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x5ed7d6,0xf,_0x2f0f3c[0x36]),_0x4b8f37=_0x1a0663(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x2ca69d,0x15,_0x2f0f3c[0x37]),_0x27e1c8=_0x1a0663(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x2d6907,0x6,_0x2f0f3c[0x38]),_0xa26c0f=_0x1a0663(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x24022b,0xa,_0x2f0f3c[0x39]),_0x47fb7c=_0x1a0663(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x13fee3,0xf,_0x2f0f3c[0x3a]),_0x4b8f37=_0x1a0663(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0xabb45e,0x15,_0x2f0f3c[0x3b]),_0x27e1c8=_0x1a0663(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x26dccf,0x6,_0x2f0f3c[0x3c]),_0xa26c0f=_0x1a0663(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x393b35,0xa,_0x2f0f3c[0x3d]),_0x47fb7c=_0x1a0663(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x450da4,0xf,_0x2f0f3c[0x3e]),_0x4b8f37=_0x1a0663(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x10c83c,0x15,_0x2f0f3c[0x3f]),_0x2aec7b[0x0]=_0x2aec7b[0x0]+_0x27e1c8|0x0,_0x2aec7b[0x1]=_0x2aec7b[0x1]+_0x4b8f37|0x0,_0x2aec7b[0x2]=_0x2aec7b[0x2]+_0x47fb7c|0x0,_0x2aec7b[0x3]=_0x2aec7b[0x3]+_0xa26c0f|0x0;},'_doFinalize':function(){const _0x5b5bbf=_0x542f7b;var _0x4c00f6=this[_0x5b5bbf(0x47d)],_0x2e15d5=_0x4c00f6[_0x5b5bbf(0x4dd)],_0x3f3517=this[_0x5b5bbf(0x317)]*0x8,_0x289248=_0x4c00f6[_0x5b5bbf(0x287)]*0x8;_0x2e15d5[_0x289248>>>0x5]|=0x80<<0x18-_0x289248%0x20;var _0x352b1f=_0x3e652f[_0x5b5bbf(0x43d)](_0x3f3517/0x100000000),_0x647975=_0x3f3517;_0x2e15d5[(_0x289248+0x40>>>0x9<<0x4)+0xf]=(_0x352b1f<<0x8|_0x352b1f>>>0x18)&0xff00ff|(_0x352b1f<<0x18|_0x352b1f>>>0x8)&0xff00ff00,_0x2e15d5[(_0x289248+0x40>>>0x9<<0x4)+0xe]=(_0x647975<<0x8|_0x647975>>>0x18)&0xff00ff|(_0x647975<<0x18|_0x647975>>>0x8)&0xff00ff00,_0x4c00f6[_0x5b5bbf(0x287)]=(_0x2e15d5[_0x5b5bbf(0x4b1)]+0x1)*0x4,this[_0x5b5bbf(0x42e)]();for(var _0x505e09=this[_0x5b5bbf(0x17d)],_0x495f75=_0x505e09['words'],_0x3fdc5b=0x0;_0x3fdc5b<0x4;_0x3fdc5b++){var _0x26e4f8=_0x495f75[_0x3fdc5b];_0x495f75[_0x3fdc5b]=(_0x26e4f8<<0x8|_0x26e4f8>>>0x18)&0xff00ff|(_0x26e4f8<<0x18|_0x26e4f8>>>0x8)&0xff00ff00;}return _0x505e09;},'clone':function(){const _0x2b2283=_0x542f7b;var _0x36d37e=_0x3eb19d[_0x2b2283(0x384)][_0x2b2283(0x4bf)](this);return _0x36d37e[_0x2b2283(0x17d)]=this[_0x2b2283(0x17d)][_0x2b2283(0x384)](),_0x36d37e;}});function _0x240da0(_0x342d6a,_0x1ef5d6,_0x5c1b2d,_0x346099,_0x441252,_0x59f807,_0x14891a){var _0x559abb=_0x342d6a+(_0x1ef5d6&_0x5c1b2d|~_0x1ef5d6&_0x346099)+_0x441252+_0x14891a;return(_0x559abb<<_0x59f807|_0x559abb>>>0x20-_0x59f807)+_0x1ef5d6;}function _0x783cd9(_0x20b7bc,_0x3fc531,_0x29862c,_0x1a607b,_0x8c6d53,_0x5677ff,_0xcc2ec1){var _0x5e958c=_0x20b7bc+(_0x3fc531&_0x1a607b|_0x29862c&~_0x1a607b)+_0x8c6d53+_0xcc2ec1;return(_0x5e958c<<_0x5677ff|_0x5e958c>>>0x20-_0x5677ff)+_0x3fc531;}function _0x56dba4(_0x5de1b2,_0x5669a1,_0x33d0f4,_0x593fed,_0x210139,_0x21c770,_0x7839c0){var _0x3cbdd2=_0x5de1b2+(_0x5669a1^_0x33d0f4^_0x593fed)+_0x210139+_0x7839c0;return(_0x3cbdd2<<_0x21c770|_0x3cbdd2>>>0x20-_0x21c770)+_0x5669a1;}function _0x1a0663(_0x1aaf01,_0x41958f,_0x3e7d46,_0xf78744,_0x1c1239,_0x3ab266,_0x3a4d0a){var _0x19a008=_0x1aaf01+(_0x3e7d46^(_0x41958f|~_0xf78744))+_0x1c1239+_0x3a4d0a;return(_0x19a008<<_0x3ab266|_0x19a008>>>0x20-_0x3ab266)+_0x41958f;}_0x4b6393[_0x542f7b(0x3a6)]=_0x3eb19d[_0x542f7b(0x3b7)](_0x36eadf),_0x4b6393['HmacMD5']=_0x3eb19d['_createHmacHelper'](_0x36eadf);}(Math),_0x3ececd['MD5'];}));}(vt)),vt[_0x182ae9(0x54c)];}var pt={'exports':{}},mt={'exports':{}},nc=mt[_0x421733(0x54c)],_i;function oc(){const _0x40e1da=_0x421733;return _i||(_i=0x1,function(_0x3ca1bc,_0x481f5c){(function(_0x5770cf,_0x54c265){const _0x375772=_0x9980;_0x3ca1bc[_0x375772(0x54c)]=_0x54c265(_e());}(nc,function(_0xf54a14){return(function(){const _0x144199=_0x9980;var _0x659d43=_0xf54a14,_0x2c51b1=_0x659d43[_0x144199(0x4a6)],_0x26b9a5=_0x2c51b1[_0x144199(0x2d9)],_0x562d59=_0x2c51b1['Hasher'],_0x216642=_0x659d43[_0x144199(0x2cf)],_0x280fb1=[],_0xb2e8d1=_0x216642['SHA1']=_0x562d59['extend']({'_doReset':function(){const _0x4423db=_0x144199;this[_0x4423db(0x17d)]=new _0x26b9a5[(_0x4423db(0x371))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ea6ae,_0x339fd9){for(var _0x40359b=this['_hash']['words'],_0x16d96e=_0x40359b[0x0],_0x508726=_0x40359b[0x1],_0x1896bb=_0x40359b[0x2],_0x54760c=_0x40359b[0x3],_0x44223b=_0x40359b[0x4],_0x8163a3=0x0;_0x8163a3<0x50;_0x8163a3++){if(_0x8163a3<0x10)_0x280fb1[_0x8163a3]=_0x1ea6ae[_0x339fd9+_0x8163a3]|0x0;else{var _0x1f13ed=_0x280fb1[_0x8163a3-0x3]^_0x280fb1[_0x8163a3-0x8]^_0x280fb1[_0x8163a3-0xe]^_0x280fb1[_0x8163a3-0x10];_0x280fb1[_0x8163a3]=_0x1f13ed<<0x1|_0x1f13ed>>>0x1f;}var _0x670218=(_0x16d96e<<0x5|_0x16d96e>>>0x1b)+_0x44223b+_0x280fb1[_0x8163a3];_0x8163a3<0x14?_0x670218+=(_0x508726&_0x1896bb|~_0x508726&_0x54760c)+0x5a827999:_0x8163a3<0x28?_0x670218+=(_0x508726^_0x1896bb^_0x54760c)+0x6ed9eba1:_0x8163a3<0x3c?_0x670218+=(_0x508726&_0x1896bb|_0x508726&_0x54760c|_0x1896bb&_0x54760c)-0x70e44324:_0x670218+=(_0x508726^_0x1896bb^_0x54760c)-0x359d3e2a,_0x44223b=_0x54760c,_0x54760c=_0x1896bb,_0x1896bb=_0x508726<<0x1e|_0x508726>>>0x2,_0x508726=_0x16d96e,_0x16d96e=_0x670218;}_0x40359b[0x0]=_0x40359b[0x0]+_0x16d96e|0x0,_0x40359b[0x1]=_0x40359b[0x1]+_0x508726|0x0,_0x40359b[0x2]=_0x40359b[0x2]+_0x1896bb|0x0,_0x40359b[0x3]=_0x40359b[0x3]+_0x54760c|0x0,_0x40359b[0x4]=_0x40359b[0x4]+_0x44223b|0x0;},'_doFinalize':function(){const _0x53e23f=_0x144199;var _0x42f727=this[_0x53e23f(0x47d)],_0x42c4dd=_0x42f727[_0x53e23f(0x4dd)],_0x511919=this[_0x53e23f(0x317)]*0x8,_0x3e9576=_0x42f727[_0x53e23f(0x287)]*0x8;return _0x42c4dd[_0x3e9576>>>0x5]|=0x80<<0x18-_0x3e9576%0x20,_0x42c4dd[(_0x3e9576+0x40>>>0x9<<0x4)+0xe]=Math[_0x53e23f(0x43d)](_0x511919/0x100000000),_0x42c4dd[(_0x3e9576+0x40>>>0x9<<0x4)+0xf]=_0x511919,_0x42f727['sigBytes']=_0x42c4dd[_0x53e23f(0x4b1)]*0x4,this[_0x53e23f(0x42e)](),this[_0x53e23f(0x17d)];},'clone':function(){const _0x5457d9=_0x144199;var _0x447dff=_0x562d59['clone'][_0x5457d9(0x4bf)](this);return _0x447dff[_0x5457d9(0x17d)]=this[_0x5457d9(0x17d)][_0x5457d9(0x384)](),_0x447dff;}});_0x659d43['SHA1']=_0x562d59[_0x144199(0x3b7)](_0xb2e8d1),_0x659d43[_0x144199(0x31b)]=_0x562d59[_0x144199(0x173)](_0xb2e8d1);}()),_0xf54a14['SHA1'];}));}(mt)),mt[_0x40e1da(0x54c)];}var gt={'exports':{}},ac=gt[_0x421733(0x54c)],ui;function cc(){const _0x2da5b0=_0x421733;return ui||(ui=0x1,function(_0x3009a5,_0xc7d63){(function(_0x280011,_0x2b368d){_0x3009a5['exports']=_0x2b368d(_e());}(ac,function(_0x425446){(function(){const _0x43d0de=_0x9980;var _0x173def=_0x425446,_0x2a6caf=_0x173def[_0x43d0de(0x4a6)],_0x413529=_0x2a6caf[_0x43d0de(0x3ea)],_0x15841f=_0x173def[_0x43d0de(0x557)],_0x2ae8b4=_0x15841f[_0x43d0de(0x343)],_0x204731=_0x173def['algo'];_0x204731[_0x43d0de(0x475)]=_0x413529[_0x43d0de(0x496)]({'init':function(_0x192f33,_0x1a6e5a){const _0x5df09e=_0x43d0de;_0x192f33=this['_hasher']=new _0x192f33['init'](),typeof _0x1a6e5a==_0x5df09e(0x354)&&(_0x1a6e5a=_0x2ae8b4[_0x5df09e(0x2e0)](_0x1a6e5a));var _0x517a93=_0x192f33[_0x5df09e(0x258)],_0x437b75=_0x517a93*0x4;_0x1a6e5a['sigBytes']>_0x437b75&&(_0x1a6e5a=_0x192f33[_0x5df09e(0x47a)](_0x1a6e5a)),_0x1a6e5a[_0x5df09e(0x47e)]();for(var _0x59f4b7=this[_0x5df09e(0x2c8)]=_0x1a6e5a[_0x5df09e(0x384)](),_0x42f474=this['_iKey']=_0x1a6e5a[_0x5df09e(0x384)](),_0x5eecbd=_0x59f4b7[_0x5df09e(0x4dd)],_0x54f0fe=_0x42f474[_0x5df09e(0x4dd)],_0x148508=0x0;_0x148508<_0x517a93;_0x148508++)_0x5eecbd[_0x148508]^=0x5c5c5c5c,_0x54f0fe[_0x148508]^=0x36363636;_0x59f4b7[_0x5df09e(0x287)]=_0x42f474[_0x5df09e(0x287)]=_0x437b75,this[_0x5df09e(0x267)]();},'reset':function(){const _0x746dd7=_0x43d0de;var _0x89a3ab=this['_hasher'];_0x89a3ab['reset'](),_0x89a3ab[_0x746dd7(0x410)](this[_0x746dd7(0x53d)]);},'update':function(_0x138768){const _0x535314=_0x43d0de;return this[_0x535314(0x1f2)][_0x535314(0x410)](_0x138768),this;},'finalize':function(_0x41ee99){const _0x1319fe=_0x43d0de;var _0x422f69=this['_hasher'],_0x2d87ff=_0x422f69['finalize'](_0x41ee99);_0x422f69[_0x1319fe(0x267)]();var _0x11e2b2=_0x422f69[_0x1319fe(0x47a)](this[_0x1319fe(0x2c8)][_0x1319fe(0x384)]()['concat'](_0x2d87ff));return _0x11e2b2;}});}());}));}(gt)),gt[_0x2da5b0(0x54c)];}var hc=pt['exports'],di;function rr(){const _0x3b7155=_0x421733;return di||(di=0x1,function(_0x425147,_0x42d59f){(function(_0x26d4c3,_0x40bc55,_0x302c25){const _0x4a70f6=_0x9980;_0x425147[_0x4a70f6(0x54c)]=_0x40bc55(_e(),oc(),cc());}(hc,function(_0x4f6fc0){return(function(){const _0x59ddb1=_0x9980;var _0x2f5b12=_0x4f6fc0,_0xd78a08=_0x2f5b12[_0x59ddb1(0x4a6)],_0x27ae05=_0xd78a08['Base'],_0x13fde9=_0xd78a08[_0x59ddb1(0x2d9)],_0x42c88d=_0x2f5b12[_0x59ddb1(0x2cf)],_0x984b6=_0x42c88d[_0x59ddb1(0x3a6)],_0x5d7b43=_0x42c88d[_0x59ddb1(0x29f)]=_0x27ae05[_0x59ddb1(0x496)]({'cfg':_0x27ae05[_0x59ddb1(0x496)]({'keySize':0x80/0x20,'hasher':_0x984b6,'iterations':0x1}),'init':function(_0x645102){const _0xff248b=_0x59ddb1;this[_0xff248b(0x3b1)]=this[_0xff248b(0x3b1)][_0xff248b(0x496)](_0x645102);},'compute':function(_0x10ee6a,_0x17151d){const _0x4c23b0=_0x59ddb1;for(var _0x2d5e40,_0x2c1fad=this[_0x4c23b0(0x3b1)],_0xe8b541=_0x2c1fad[_0x4c23b0(0x43e)][_0x4c23b0(0x32b)](),_0x3b695c=_0x13fde9['create'](),_0x318a85=_0x3b695c[_0x4c23b0(0x4dd)],_0x267f52=_0x2c1fad[_0x4c23b0(0x4aa)],_0xfba024=_0x2c1fad[_0x4c23b0(0x522)];_0x318a85[_0x4c23b0(0x4b1)]<_0x267f52;){_0x2d5e40&&_0xe8b541[_0x4c23b0(0x410)](_0x2d5e40),_0x2d5e40=_0xe8b541[_0x4c23b0(0x410)](_0x10ee6a)[_0x4c23b0(0x47a)](_0x17151d),_0xe8b541[_0x4c23b0(0x267)]();for(var _0x3ab958=0x1;_0x3ab958<_0xfba024;_0x3ab958++)_0x2d5e40=_0xe8b541[_0x4c23b0(0x47a)](_0x2d5e40),_0xe8b541[_0x4c23b0(0x267)]();_0x3b695c[_0x4c23b0(0x309)](_0x2d5e40);}return _0x3b695c[_0x4c23b0(0x287)]=_0x267f52*0x4,_0x3b695c;}});_0x2f5b12['EvpKDF']=function(_0xe71336,_0x349afa,_0x1f3697){const _0x3e1bdd=_0x59ddb1;return _0x5d7b43[_0x3e1bdd(0x32b)](_0x1f3697)[_0x3e1bdd(0x32a)](_0xe71336,_0x349afa);};}()),_0x4f6fc0['EvpKDF'];}));}(pt)),pt[_0x3b7155(0x54c)];}var St={'exports':{}},lc=St['exports'],fi;function nr(){const _0x1f5c2e=_0x421733;return fi||(fi=0x1,function(_0x444053,_0x5c02d8){(function(_0x4af8fa,_0x39a553,_0x4990c6){_0x444053['exports']=_0x39a553(_e(),rr());}(lc,function(_0x4334c3){const _0x44609a=_0x9980;_0x4334c3[_0x44609a(0x4a6)][_0x44609a(0x315)]||function(_0x416e33){const _0x15ae0e=_0x44609a;var _0x1c1995=_0x4334c3,_0x21d31a=_0x1c1995[_0x15ae0e(0x4a6)],_0x3bbf14=_0x21d31a[_0x15ae0e(0x3ea)],_0x506ee6=_0x21d31a['WordArray'],_0x459de4=_0x21d31a[_0x15ae0e(0x270)],_0x48a5e8=_0x1c1995[_0x15ae0e(0x557)];_0x48a5e8[_0x15ae0e(0x343)];var _0x3d5357=_0x48a5e8[_0x15ae0e(0x49c)],_0x256900=_0x1c1995[_0x15ae0e(0x2cf)],_0x261a5f=_0x256900['EvpKDF'],_0x20ff11=_0x21d31a[_0x15ae0e(0x315)]=_0x459de4[_0x15ae0e(0x496)]({'cfg':_0x3bbf14[_0x15ae0e(0x496)](),'createEncryptor':function(_0x2571a0,_0x13ab45){const _0x1beb72=_0x15ae0e;return this['create'](this[_0x1beb72(0x54a)],_0x2571a0,_0x13ab45);},'createDecryptor':function(_0x456e7d,_0x18d7bc){const _0x2969de=_0x15ae0e;return this[_0x2969de(0x32b)](this[_0x2969de(0x3cb)],_0x456e7d,_0x18d7bc);},'init':function(_0x157107,_0x5d096a,_0x140802){const _0x455a0d=_0x15ae0e;this[_0x455a0d(0x3b1)]=this[_0x455a0d(0x3b1)][_0x455a0d(0x496)](_0x140802),this[_0x455a0d(0x302)]=_0x157107,this[_0x455a0d(0x1dc)]=_0x5d096a,this[_0x455a0d(0x267)]();},'reset':function(){const _0x3bc30e=_0x15ae0e;_0x459de4['reset'][_0x3bc30e(0x4bf)](this),this[_0x3bc30e(0x3ec)]();},'process':function(_0x1f1364){const _0x2e4db8=_0x15ae0e;return this['_append'](_0x1f1364),this[_0x2e4db8(0x42e)]();},'finalize':function(_0xf83c2a){const _0x27bf66=_0x15ae0e;_0xf83c2a&&this[_0x27bf66(0x58a)](_0xf83c2a);var _0x13ec9e=this['_doFinalize']();return _0x13ec9e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x26e400(_0x159df6){const _0x34dad0=_0x9980;return typeof _0x159df6==_0x34dad0(0x354)?_0x3cc43a:_0x4ca441;}return function(_0xac3cca){return{'encrypt':function(_0x5e545b,_0xe6dbc9,_0x366702){return _0x26e400(_0xe6dbc9)['encrypt'](_0xac3cca,_0x5e545b,_0xe6dbc9,_0x366702);},'decrypt':function(_0x35d5bb,_0x1f6695,_0x3e809b){return _0x26e400(_0x1f6695)['decrypt'](_0xac3cca,_0x35d5bb,_0x1f6695,_0x3e809b);}};};}())});_0x21d31a['StreamCipher']=_0x20ff11[_0x15ae0e(0x496)]({'_doFinalize':function(){const _0x46f4da=_0x15ae0e;var _0x299ddb=this[_0x46f4da(0x42e)](!0x0);return _0x299ddb;},'blockSize':0x1});var _0x349301=_0x1c1995[_0x15ae0e(0x330)]={},_0x43b110=_0x21d31a[_0x15ae0e(0x3d8)]=_0x3bbf14['extend']({'createEncryptor':function(_0x2d0c3f,_0x5e11cd){const _0x3a7071=_0x15ae0e;return this[_0x3a7071(0x2c5)][_0x3a7071(0x32b)](_0x2d0c3f,_0x5e11cd);},'createDecryptor':function(_0x66fbd7,_0xdcd876){const _0x2934cb=_0x15ae0e;return this[_0x2934cb(0x279)][_0x2934cb(0x32b)](_0x66fbd7,_0xdcd876);},'init':function(_0x36cfae,_0x3614ee){const _0x1cdb2a=_0x15ae0e;this[_0x1cdb2a(0x188)]=_0x36cfae,this[_0x1cdb2a(0x230)]=_0x3614ee;}}),_0x4e3c58=_0x349301[_0x15ae0e(0x3e4)]=(function(){const _0x18c4b2=_0x15ae0e;var _0x38fa1a=_0x43b110['extend']();_0x38fa1a[_0x18c4b2(0x2c5)]=_0x38fa1a[_0x18c4b2(0x496)]({'processBlock':function(_0x5165c1,_0x98594d){const _0x5d109d=_0x18c4b2;var _0x4804a3=this['_cipher'],_0x5d18b5=_0x4804a3[_0x5d109d(0x258)];_0x8e4e19[_0x5d109d(0x4bf)](this,_0x5165c1,_0x98594d,_0x5d18b5),_0x4804a3[_0x5d109d(0x408)](_0x5165c1,_0x98594d),this[_0x5d109d(0x264)]=_0x5165c1[_0x5d109d(0x3e9)](_0x98594d,_0x98594d+_0x5d18b5);}}),_0x38fa1a['Decryptor']=_0x38fa1a[_0x18c4b2(0x496)]({'processBlock':function(_0x364db3,_0x103efe){const _0xadefe2=_0x18c4b2;var _0x2b01ec=this[_0xadefe2(0x188)],_0x5765e5=_0x2b01ec[_0xadefe2(0x258)],_0x503942=_0x364db3[_0xadefe2(0x3e9)](_0x103efe,_0x103efe+_0x5765e5);_0x2b01ec[_0xadefe2(0x4bc)](_0x364db3,_0x103efe),_0x8e4e19['call'](this,_0x364db3,_0x103efe,_0x5765e5),this['_prevBlock']=_0x503942;}});function _0x8e4e19(_0x419264,_0x55cda5,_0xfd74ca){const _0x229ff7=_0x18c4b2;var _0x102fe8,_0x64ed34=this[_0x229ff7(0x230)];_0x64ed34?(_0x102fe8=_0x64ed34,this['_iv']=_0x416e33):_0x102fe8=this['_prevBlock'];for(var _0x357fb7=0x0;_0x357fb7<_0xfd74ca;_0x357fb7++)_0x419264[_0x55cda5+_0x357fb7]^=_0x102fe8[_0x357fb7];}return _0x38fa1a;}()),_0xc0ad29=_0x1c1995['pad']={},_0x3ed70c=_0xc0ad29['Pkcs7']={'pad':function(_0x5554c0,_0x4fddf0){const _0x2a455a=_0x15ae0e;for(var _0x35c1b3=_0x4fddf0*0x4,_0x42a452=_0x35c1b3-_0x5554c0[_0x2a455a(0x287)]%_0x35c1b3,_0x7f613f=_0x42a452<<0x18|_0x42a452<<0x10|_0x42a452<<0x8|_0x42a452,_0x154dbc=[],_0x4f741d=0x0;_0x4f741d<_0x42a452;_0x4f741d+=0x4)_0x154dbc['push'](_0x7f613f);var _0x12c5f1=_0x506ee6[_0x2a455a(0x32b)](_0x154dbc,_0x42a452);_0x5554c0['concat'](_0x12c5f1);},'unpad':function(_0x5f2ead){const _0x30b85e=_0x15ae0e;var _0x2c9765=_0x5f2ead[_0x30b85e(0x4dd)][_0x5f2ead[_0x30b85e(0x287)]-0x1>>>0x2]&0xff;_0x5f2ead[_0x30b85e(0x287)]-=_0x2c9765;}};_0x21d31a[_0x15ae0e(0x4a3)]=_0x20ff11[_0x15ae0e(0x496)]({'cfg':_0x20ff11[_0x15ae0e(0x3b1)]['extend']({'mode':_0x4e3c58,'padding':_0x3ed70c}),'reset':function(){const _0x568880=_0x15ae0e;var _0x38823d;_0x20ff11[_0x568880(0x267)][_0x568880(0x4bf)](this);var _0x5f6d6f=this[_0x568880(0x3b1)],_0x5c81e6=_0x5f6d6f['iv'],_0x37d07a=_0x5f6d6f[_0x568880(0x330)];this[_0x568880(0x302)]==this['_ENC_XFORM_MODE']?_0x38823d=_0x37d07a[_0x568880(0x3a9)]:(_0x38823d=_0x37d07a[_0x568880(0x2ef)],this[_0x568880(0x4c0)]=0x1),this[_0x568880(0x43b)]&&this[_0x568880(0x43b)]['__creator']==_0x38823d?this[_0x568880(0x43b)][_0x568880(0x371)](this,_0x5c81e6&&_0x5c81e6[_0x568880(0x4dd)]):(this['_mode']=_0x38823d[_0x568880(0x4bf)](_0x37d07a,this,_0x5c81e6&&_0x5c81e6[_0x568880(0x4dd)]),this['_mode'][_0x568880(0x2b9)]=_0x38823d);},'_doProcessBlock':function(_0x4c0c19,_0x773c21){const _0xee5afe=_0x15ae0e;this['_mode'][_0xee5afe(0x202)](_0x4c0c19,_0x773c21);},'_doFinalize':function(){const _0x59550c=_0x15ae0e;var _0x4c4acd,_0x9f7c09=this['cfg'][_0x59550c(0x42d)];return this[_0x59550c(0x302)]==this[_0x59550c(0x54a)]?(_0x9f7c09['pad'](this[_0x59550c(0x47d)],this[_0x59550c(0x258)]),_0x4c4acd=this['_process'](!0x0)):(_0x4c4acd=this[_0x59550c(0x42e)](!0x0),_0x9f7c09[_0x59550c(0x26e)](_0x4c4acd)),_0x4c4acd;},'blockSize':0x80/0x20});var _0x4ff85c=_0x21d31a['CipherParams']=_0x3bbf14['extend']({'init':function(_0xa9a1e){const _0x2d113e=_0x15ae0e;this[_0x2d113e(0x558)](_0xa9a1e);},'toString':function(_0x46a9f6){const _0x5e0e24=_0x15ae0e;return(_0x46a9f6||this[_0x5e0e24(0x419)])['stringify'](this);}}),_0x31ae43=_0x1c1995['format']={},_0x34090b=_0x31ae43[_0x15ae0e(0x415)]={'stringify':function(_0x218f92){const _0x5ab02a=_0x15ae0e;var _0x49a98c,_0x4703d5=_0x218f92['ciphertext'],_0x21df6a=_0x218f92[_0x5ab02a(0x4e9)];return _0x21df6a?_0x49a98c=_0x506ee6[_0x5ab02a(0x32b)]([0x53616c74,0x65645f5f])[_0x5ab02a(0x309)](_0x21df6a)['concat'](_0x4703d5):_0x49a98c=_0x4703d5,_0x49a98c[_0x5ab02a(0x353)](_0x3d5357);},'parse':function(_0x16c2d5){const _0x19833e=_0x15ae0e;var _0x230ed3,_0x1290a8=_0x3d5357[_0x19833e(0x2e0)](_0x16c2d5),_0x1a13a2=_0x1290a8[_0x19833e(0x4dd)];return _0x1a13a2[0x0]==0x53616c74&&_0x1a13a2[0x1]==0x65645f5f&&(_0x230ed3=_0x506ee6[_0x19833e(0x32b)](_0x1a13a2[_0x19833e(0x3e9)](0x2,0x4)),_0x1a13a2[_0x19833e(0x3e8)](0x0,0x4),_0x1290a8[_0x19833e(0x287)]-=0x10),_0x4ff85c['create']({'ciphertext':_0x1290a8,'salt':_0x230ed3});}},_0x4ca441=_0x21d31a[_0x15ae0e(0x577)]=_0x3bbf14[_0x15ae0e(0x496)]({'cfg':_0x3bbf14['extend']({'format':_0x34090b}),'encrypt':function(_0x3f9296,_0x178ca6,_0x5c791a,_0x38c832){const _0x36ce0c=_0x15ae0e;_0x38c832=this['cfg'][_0x36ce0c(0x496)](_0x38c832);var _0x1ae659=_0x3f9296['createEncryptor'](_0x5c791a,_0x38c832),_0x116576=_0x1ae659[_0x36ce0c(0x47a)](_0x178ca6),_0x445451=_0x1ae659[_0x36ce0c(0x3b1)];return _0x4ff85c['create']({'ciphertext':_0x116576,'key':_0x5c791a,'iv':_0x445451['iv'],'algorithm':_0x3f9296,'mode':_0x445451[_0x36ce0c(0x330)],'padding':_0x445451[_0x36ce0c(0x42d)],'blockSize':_0x3f9296[_0x36ce0c(0x258)],'formatter':_0x38c832['format']});},'decrypt':function(_0x3af393,_0xf49b8c,_0x1f18c,_0x34ee47){const _0x5a1dba=_0x15ae0e;_0x34ee47=this[_0x5a1dba(0x3b1)][_0x5a1dba(0x496)](_0x34ee47),_0xf49b8c=this[_0x5a1dba(0x551)](_0xf49b8c,_0x34ee47[_0x5a1dba(0x427)]);var _0x2d23b5=_0x3af393['createDecryptor'](_0x1f18c,_0x34ee47)[_0x5a1dba(0x47a)](_0xf49b8c[_0x5a1dba(0x2e4)]);return _0x2d23b5;},'_parse':function(_0x3d268c,_0x309aa9){const _0x492136=_0x15ae0e;return typeof _0x3d268c==_0x492136(0x354)?_0x309aa9['parse'](_0x3d268c,this):_0x3d268c;}}),_0x51b980=_0x1c1995['kdf']={},_0x157f25=_0x51b980[_0x15ae0e(0x415)]={'execute':function(_0x33ad88,_0x43b572,_0x30d987,_0x2ea725,_0x5d315b){const _0x1ed14e=_0x15ae0e;if(_0x2ea725||(_0x2ea725=_0x506ee6['random'](0x40/0x8)),_0x5d315b)var _0x5ae830=_0x261a5f[_0x1ed14e(0x32b)]({'keySize':_0x43b572+_0x30d987,'hasher':_0x5d315b})[_0x1ed14e(0x32a)](_0x33ad88,_0x2ea725);else var _0x5ae830=_0x261a5f[_0x1ed14e(0x32b)]({'keySize':_0x43b572+_0x30d987})[_0x1ed14e(0x32a)](_0x33ad88,_0x2ea725);var _0x420ee5=_0x506ee6[_0x1ed14e(0x32b)](_0x5ae830['words'][_0x1ed14e(0x3e9)](_0x43b572),_0x30d987*0x4);return _0x5ae830[_0x1ed14e(0x287)]=_0x43b572*0x4,_0x4ff85c[_0x1ed14e(0x32b)]({'key':_0x5ae830,'iv':_0x420ee5,'salt':_0x2ea725});}},_0x3cc43a=_0x21d31a[_0x15ae0e(0x19c)]=_0x4ca441[_0x15ae0e(0x496)]({'cfg':_0x4ca441[_0x15ae0e(0x3b1)][_0x15ae0e(0x496)]({'kdf':_0x157f25}),'encrypt':function(_0x2c0b74,_0x3095ab,_0xc99234,_0x5c2348){const _0x55786b=_0x15ae0e;_0x5c2348=this[_0x55786b(0x3b1)][_0x55786b(0x496)](_0x5c2348);var _0x40d810=_0x5c2348[_0x55786b(0x236)][_0x55786b(0x443)](_0xc99234,_0x2c0b74['keySize'],_0x2c0b74['ivSize'],_0x5c2348[_0x55786b(0x4e9)],_0x5c2348['hasher']);_0x5c2348['iv']=_0x40d810['iv'];var _0x4d807d=_0x4ca441[_0x55786b(0x50c)]['call'](this,_0x2c0b74,_0x3095ab,_0x40d810['key'],_0x5c2348);return _0x4d807d['mixIn'](_0x40d810),_0x4d807d;},'decrypt':function(_0x5d80bc,_0x5098f3,_0x19123e,_0x1a7f00){const _0x351697=_0x15ae0e;_0x1a7f00=this['cfg'][_0x351697(0x496)](_0x1a7f00),_0x5098f3=this['_parse'](_0x5098f3,_0x1a7f00[_0x351697(0x427)]);var _0xdd36b3=_0x1a7f00[_0x351697(0x236)][_0x351697(0x443)](_0x19123e,_0x5d80bc[_0x351697(0x4aa)],_0x5d80bc[_0x351697(0x2bd)],_0x5098f3['salt'],_0x1a7f00[_0x351697(0x43e)]);_0x1a7f00['iv']=_0xdd36b3['iv'];var _0x2cd37a=_0x4ca441[_0x351697(0x462)][_0x351697(0x4bf)](this,_0x5d80bc,_0x5098f3,_0xdd36b3['key'],_0x1a7f00);return _0x2cd37a;}});}();}));}(St)),St[_0x1f5c2e(0x54c)];}var _c=ut[_0x421733(0x54c)],vi;function uc(){const _0x1fac48=_0x421733;return vi||(vi=0x1,function(_0x38bcd2,_0x52d6f4){(function(_0x54d720,_0x293239,_0x45f86c){const _0x12d1b7=_0x9980;_0x38bcd2[_0x12d1b7(0x54c)]=_0x293239(_e(),ir(),rc(),rr(),nr());}(_c,function(_0x26022d){const _0x2f747e=_0x9980;return(function(){const _0x2ee69c=_0x9980;var _0x36ae15=_0x26022d,_0x4088f4=_0x36ae15[_0x2ee69c(0x4a6)],_0x54fc9e=_0x4088f4['BlockCipher'],_0x12d170=_0x36ae15['algo'],_0x474e5f=[],_0x507194=[],_0x2ba2a1=[],_0x22cd11=[],_0x23a2b1=[],_0x5911d9=[],_0x1735f0=[],_0x4dc9ed=[],_0x39a308=[],_0x3fbe7e=[];(function(){for(var _0x101570=[],_0x3ab23e=0x0;_0x3ab23e<0x100;_0x3ab23e++)_0x3ab23e<0x80?_0x101570[_0x3ab23e]=_0x3ab23e<<0x1:_0x101570[_0x3ab23e]=_0x3ab23e<<0x1^0x11b;for(var _0x3b2fab=0x0,_0x403e1c=0x0,_0x3ab23e=0x0;_0x3ab23e<0x100;_0x3ab23e++){var _0x55a1b2=_0x403e1c^_0x403e1c<<0x1^_0x403e1c<<0x2^_0x403e1c<<0x3^_0x403e1c<<0x4;_0x55a1b2=_0x55a1b2>>>0x8^_0x55a1b2&0xff^0x63,_0x474e5f[_0x3b2fab]=_0x55a1b2,_0x507194[_0x55a1b2]=_0x3b2fab;var _0x5db3f5=_0x101570[_0x3b2fab],_0xbd1ee=_0x101570[_0x5db3f5],_0x1a8c33=_0x101570[_0xbd1ee],_0x3b3dbc=_0x101570[_0x55a1b2]*0x101^_0x55a1b2*0x1010100;_0x2ba2a1[_0x3b2fab]=_0x3b3dbc<<0x18|_0x3b3dbc>>>0x8,_0x22cd11[_0x3b2fab]=_0x3b3dbc<<0x10|_0x3b3dbc>>>0x10,_0x23a2b1[_0x3b2fab]=_0x3b3dbc<<0x8|_0x3b3dbc>>>0x18,_0x5911d9[_0x3b2fab]=_0x3b3dbc;var _0x3b3dbc=_0x1a8c33*0x1010101^_0xbd1ee*0x10001^_0x5db3f5*0x101^_0x3b2fab*0x1010100;_0x1735f0[_0x55a1b2]=_0x3b3dbc<<0x18|_0x3b3dbc>>>0x8,_0x4dc9ed[_0x55a1b2]=_0x3b3dbc<<0x10|_0x3b3dbc>>>0x10,_0x39a308[_0x55a1b2]=_0x3b3dbc<<0x8|_0x3b3dbc>>>0x18,_0x3fbe7e[_0x55a1b2]=_0x3b3dbc,_0x3b2fab?(_0x3b2fab=_0x5db3f5^_0x101570[_0x101570[_0x101570[_0x1a8c33^_0x5db3f5]]],_0x403e1c^=_0x101570[_0x101570[_0x403e1c]]):_0x3b2fab=_0x403e1c=0x1;}}());var _0xa6cabd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x36b788=_0x12d170[_0x2ee69c(0x2bc)]=_0x54fc9e[_0x2ee69c(0x496)]({'_doReset':function(){const _0x290786=_0x2ee69c;var _0x1c33e0;if(!(this[_0x290786(0x269)]&&this['_keyPriorReset']===this[_0x290786(0x1dc)])){for(var _0x4d6cfb=this['_keyPriorReset']=this[_0x290786(0x1dc)],_0x111daa=_0x4d6cfb[_0x290786(0x4dd)],_0x139d36=_0x4d6cfb[_0x290786(0x287)]/0x4,_0x1d2e86=this[_0x290786(0x269)]=_0x139d36+0x6,_0x49bdf5=(_0x1d2e86+0x1)*0x4,_0xac20d1=this['_keySchedule']=[],_0x1a400e=0x0;_0x1a400e<_0x49bdf5;_0x1a400e++)_0x1a400e<_0x139d36?_0xac20d1[_0x1a400e]=_0x111daa[_0x1a400e]:(_0x1c33e0=_0xac20d1[_0x1a400e-0x1],_0x1a400e%_0x139d36?_0x139d36>0x6&&_0x1a400e%_0x139d36==0x4&&(_0x1c33e0=_0x474e5f[_0x1c33e0>>>0x18]<<0x18|_0x474e5f[_0x1c33e0>>>0x10&0xff]<<0x10|_0x474e5f[_0x1c33e0>>>0x8&0xff]<<0x8|_0x474e5f[_0x1c33e0&0xff]):(_0x1c33e0=_0x1c33e0<<0x8|_0x1c33e0>>>0x18,_0x1c33e0=_0x474e5f[_0x1c33e0>>>0x18]<<0x18|_0x474e5f[_0x1c33e0>>>0x10&0xff]<<0x10|_0x474e5f[_0x1c33e0>>>0x8&0xff]<<0x8|_0x474e5f[_0x1c33e0&0xff],_0x1c33e0^=_0xa6cabd[_0x1a400e/_0x139d36|0x0]<<0x18),_0xac20d1[_0x1a400e]=_0xac20d1[_0x1a400e-_0x139d36]^_0x1c33e0);for(var _0x1390b9=this['_invKeySchedule']=[],_0x46dc72=0x0;_0x46dc72<_0x49bdf5;_0x46dc72++){var _0x1a400e=_0x49bdf5-_0x46dc72;if(_0x46dc72%0x4)var _0x1c33e0=_0xac20d1[_0x1a400e];else var _0x1c33e0=_0xac20d1[_0x1a400e-0x4];_0x46dc72<0x4||_0x1a400e<=0x4?_0x1390b9[_0x46dc72]=_0x1c33e0:_0x1390b9[_0x46dc72]=_0x1735f0[_0x474e5f[_0x1c33e0>>>0x18]]^_0x4dc9ed[_0x474e5f[_0x1c33e0>>>0x10&0xff]]^_0x39a308[_0x474e5f[_0x1c33e0>>>0x8&0xff]]^_0x3fbe7e[_0x474e5f[_0x1c33e0&0xff]];}}},'encryptBlock':function(_0x3a8c7a,_0x56d5ca){this['_doCryptBlock'](_0x3a8c7a,_0x56d5ca,this['_keySchedule'],_0x2ba2a1,_0x22cd11,_0x23a2b1,_0x5911d9,_0x474e5f);},'decryptBlock':function(_0x95538d,_0x4961f8){const _0x10c5c0=_0x2ee69c;var _0x59344b=_0x95538d[_0x4961f8+0x1];_0x95538d[_0x4961f8+0x1]=_0x95538d[_0x4961f8+0x3],_0x95538d[_0x4961f8+0x3]=_0x59344b,this[_0x10c5c0(0x53b)](_0x95538d,_0x4961f8,this[_0x10c5c0(0x1fd)],_0x1735f0,_0x4dc9ed,_0x39a308,_0x3fbe7e,_0x507194);var _0x59344b=_0x95538d[_0x4961f8+0x1];_0x95538d[_0x4961f8+0x1]=_0x95538d[_0x4961f8+0x3],_0x95538d[_0x4961f8+0x3]=_0x59344b;},'_doCryptBlock':function(_0x4c90f3,_0x4c1093,_0x2117d1,_0x42073e,_0x4db06c,_0x5ac8ab,_0xdac966,_0x2e4a46){for(var _0xcfde88=this['_nRounds'],_0x44fc5b=_0x4c90f3[_0x4c1093]^_0x2117d1[0x0],_0x3a13e5=_0x4c90f3[_0x4c1093+0x1]^_0x2117d1[0x1],_0x53e516=_0x4c90f3[_0x4c1093+0x2]^_0x2117d1[0x2],_0x362e56=_0x4c90f3[_0x4c1093+0x3]^_0x2117d1[0x3],_0x21eeb3=0x4,_0x19ffa1=0x1;_0x19ffa1<_0xcfde88;_0x19ffa1++){var _0x2015e0=_0x42073e[_0x44fc5b>>>0x18]^_0x4db06c[_0x3a13e5>>>0x10&0xff]^_0x5ac8ab[_0x53e516>>>0x8&0xff]^_0xdac966[_0x362e56&0xff]^_0x2117d1[_0x21eeb3++],_0x48ccc0=_0x42073e[_0x3a13e5>>>0x18]^_0x4db06c[_0x53e516>>>0x10&0xff]^_0x5ac8ab[_0x362e56>>>0x8&0xff]^_0xdac966[_0x44fc5b&0xff]^_0x2117d1[_0x21eeb3++],_0x5a90c2=_0x42073e[_0x53e516>>>0x18]^_0x4db06c[_0x362e56>>>0x10&0xff]^_0x5ac8ab[_0x44fc5b>>>0x8&0xff]^_0xdac966[_0x3a13e5&0xff]^_0x2117d1[_0x21eeb3++],_0x4b3150=_0x42073e[_0x362e56>>>0x18]^_0x4db06c[_0x44fc5b>>>0x10&0xff]^_0x5ac8ab[_0x3a13e5>>>0x8&0xff]^_0xdac966[_0x53e516&0xff]^_0x2117d1[_0x21eeb3++];_0x44fc5b=_0x2015e0,_0x3a13e5=_0x48ccc0,_0x53e516=_0x5a90c2,_0x362e56=_0x4b3150;}var _0x2015e0=(_0x2e4a46[_0x44fc5b>>>0x18]<<0x18|_0x2e4a46[_0x3a13e5>>>0x10&0xff]<<0x10|_0x2e4a46[_0x53e516>>>0x8&0xff]<<0x8|_0x2e4a46[_0x362e56&0xff])^_0x2117d1[_0x21eeb3++],_0x48ccc0=(_0x2e4a46[_0x3a13e5>>>0x18]<<0x18|_0x2e4a46[_0x53e516>>>0x10&0xff]<<0x10|_0x2e4a46[_0x362e56>>>0x8&0xff]<<0x8|_0x2e4a46[_0x44fc5b&0xff])^_0x2117d1[_0x21eeb3++],_0x5a90c2=(_0x2e4a46[_0x53e516>>>0x18]<<0x18|_0x2e4a46[_0x362e56>>>0x10&0xff]<<0x10|_0x2e4a46[_0x44fc5b>>>0x8&0xff]<<0x8|_0x2e4a46[_0x3a13e5&0xff])^_0x2117d1[_0x21eeb3++],_0x4b3150=(_0x2e4a46[_0x362e56>>>0x18]<<0x18|_0x2e4a46[_0x44fc5b>>>0x10&0xff]<<0x10|_0x2e4a46[_0x3a13e5>>>0x8&0xff]<<0x8|_0x2e4a46[_0x53e516&0xff])^_0x2117d1[_0x21eeb3++];_0x4c90f3[_0x4c1093]=_0x2015e0,_0x4c90f3[_0x4c1093+0x1]=_0x48ccc0,_0x4c90f3[_0x4c1093+0x2]=_0x5a90c2,_0x4c90f3[_0x4c1093+0x3]=_0x4b3150;},'keySize':0x100/0x20});_0x36ae15[_0x2ee69c(0x2bc)]=_0x54fc9e['_createHelper'](_0x36b788);}()),_0x26022d[_0x2f747e(0x2bc)];}));}(ut)),ut[_0x1fac48(0x54c)];}var dc=uc();const fc=at(dc);var vc=ir();const pi=at(vc);var It={'exports':{}},pc=It[_0x421733(0x54c)],mi;function mc(){return mi||(mi=0x1,function(_0x59852f,_0x10681c){(function(_0x5c83ff,_0x25a935){_0x59852f['exports']=_0x25a935(_e());}(pc,function(_0x3c04c2){const _0x3ad34f=_0x9980;return _0x3c04c2[_0x3ad34f(0x557)][_0x3ad34f(0x343)];}));}(It)),It['exports'];}var gc=mc();const Sc=at(gc);var Ct={'exports':{}},Ic=Ct[_0x421733(0x54c)],gi;function Cc(){const _0x3b2588=_0x421733;return gi||(gi=0x1,function(_0x11b0e1,_0x457b5c){(function(_0x566e08,_0x129fb4){const _0x40b4e8=_0x9980;_0x11b0e1[_0x40b4e8(0x54c)]=_0x129fb4(_e());}(Ic,function(_0x16bf48){return(function(){const _0x3632bc=_0x9980;if(typeof ArrayBuffer==_0x3632bc(0x28b)){var _0x54645f=_0x16bf48,_0x110b0f=_0x54645f[_0x3632bc(0x4a6)],_0x25e75b=_0x110b0f[_0x3632bc(0x2d9)],_0x36866d=_0x25e75b['init'],_0x9d2a7=_0x25e75b[_0x3632bc(0x371)]=function(_0x51c096){const _0x50cb12=_0x3632bc;if(_0x51c096 instanceof ArrayBuffer&&(_0x51c096=new Uint8Array(_0x51c096)),(_0x51c096 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x51c096 instanceof Uint8ClampedArray||_0x51c096 instanceof Int16Array||_0x51c096 instanceof Uint16Array||_0x51c096 instanceof Int32Array||_0x51c096 instanceof Uint32Array||_0x51c096 instanceof Float32Array||_0x51c096 instanceof Float64Array)&&(_0x51c096=new Uint8Array(_0x51c096[_0x50cb12(0x18d)],_0x51c096[_0x50cb12(0x337)],_0x51c096[_0x50cb12(0x1fc)])),_0x51c096 instanceof Uint8Array){for(var _0x862a10=_0x51c096[_0x50cb12(0x1fc)],_0x528ba3=[],_0x46b867=0x0;_0x46b867<_0x862a10;_0x46b867++)_0x528ba3[_0x46b867>>>0x2]|=_0x51c096[_0x46b867]<<0x18-_0x46b867%0x4*0x8;_0x36866d[_0x50cb12(0x4bf)](this,_0x528ba3,_0x862a10);}else _0x36866d[_0x50cb12(0x50a)](this,arguments);};_0x9d2a7[_0x3632bc(0x481)]=_0x25e75b;}}()),_0x16bf48['lib']['WordArray'];}));}(Ct)),Ct[_0x3b2588(0x54c)];}var Ec=Cc();const bc=at(Ec);var Et={'exports':{}},Tc=Et['exports'],Si;function Rc(){return Si||(Si=0x1,function(_0x57c51a,_0xc40173){(function(_0x12a763,_0x244475,_0x25167c){const _0x385327=_0x9980;_0x57c51a[_0x385327(0x54c)]=_0x244475(_e(),nr());}(Tc,function(_0x5f35a0){const _0x150a4d=_0x9980;return _0x5f35a0[_0x150a4d(0x55b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5f35a0[_0x150a4d(0x55b)][_0x150a4d(0x55d)];}));}(Et)),Et['exports'];}var Oc=Rc();const yc=at(Oc);function wc(_0x19767f,_0x5448bc){const _0x231989=_0x421733,_0x1cedb1=_0x5448bc-_0x19767f['length']%_0x5448bc,_0x105272=String[_0x231989(0x583)](_0x1cedb1)[_0x231989(0x210)](_0x1cedb1);return _0x19767f+_0x105272;}function Dc(_0x406831,_0x161779){const _0x3a2e65=_0x421733,_0x122502=bc[_0x3a2e65(0x400)](0x10),_0x54a7b6=wc(_0x406831,0x10),_0x6e79ed=fc['encrypt'](Sc[_0x3a2e65(0x2e0)](_0x54a7b6),pi[_0x3a2e65(0x2e0)](_0x161779),{'iv':_0x122502,'padding':yc});return _0x122502[_0x3a2e65(0x309)](_0x6e79ed[_0x3a2e65(0x2e4)])[_0x3a2e65(0x353)](pi);}function Pc(){const _0x384b08=_0x421733,_0x30b848=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x384b08(0x3f2)];if(_0x30b848){const _0x1cac12={'time':Math['floor'](Date[_0x384b08(0x4ab)]()/0x3e8),'domain':location[_0x384b08(0x1c4)]};return Dc(JSON['stringify'](_0x1cac12),_0x30b848);}}var Uc=Object[_0x421733(0x1c6)],Nc=Object[_0x421733(0x2e2)],Ac=(_0x32599e,_0x10b391,_0x26bf34,_0x12f68c)=>{const _0x180870=_0x421733;for(var _0x43d451=_0x12f68c>0x1?void 0x0:_0x12f68c?Nc(_0x10b391,_0x26bf34):_0x10b391,_0x134fc0=_0x32599e[_0x180870(0x4b1)]-0x1,_0x1c7b19;_0x134fc0>=0x0;_0x134fc0--)(_0x1c7b19=_0x32599e[_0x134fc0])&&(_0x43d451=(_0x12f68c?_0x1c7b19(_0x10b391,_0x26bf34,_0x43d451):_0x1c7b19(_0x43d451))||_0x43d451);return _0x12f68c&&_0x43d451&&Uc(_0x10b391,_0x26bf34,_0x43d451),_0x43d451;},Mc=(_0xab88f0,_0x50a72b)=>(_0xbed247,_0x90ca76)=>_0x50a72b(_0xbed247,_0x90ca76,_0xab88f0);let Lt=class{constructor(_0x412259){const _0x397837=_0x421733;this[_0x397837(0x379)]=_0x412259,this['_initRequestHeader']();}[_0x421733(0x49d)](){const _0x50bb1e=_0x421733;this[_0x50bb1e(0x379)][_0x50bb1e(0x1d8)]({'interceptor':(_0xd1bc39,_0x46fa4d)=>{const _0x15c54b=_0x50bb1e,_0x24f1a1=_0xd1bc39[_0x15c54b(0x16f)],_0x4d85c3=Pc();return _0x4d85c3&&_0x24f1a1[_0x15c54b(0x228)](_0x15c54b(0x41f),_0x4d85c3),_0x46fa4d(_0xd1bc39);}});}};function _0x5bba(){const _0x3e8dc0=['univer-online','_toggleOnline','transformSelections','unit-cache-','_transformSelections','_tryReconnect','leaveEvent','_getLoginPath','apply','roles','encrypt','url(#off-line-single_clip0_910_343)','CHANGESET_SHOULD_RETRY','RemoveRowCommandId','_transformRemoteChangesetByStateCache','5TQPAcj','_doFinalize','defIds','collabStatus.notCollab','SNAPSHOT_URL_KEY','onCommentUpdate','getSheetBlock','objects','roomMembers','PERSON','/block/','[PendingState]:\x20received\x20acknowledgement.','_updateLocalCursor','_colorAssignService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','changesets','image/jpg','iterations','_collaborationTimeoutTimer','removeParam','getItem','state$','_handleLeaveEvent','withCredentials','Malformed\x20UTF-8\x20data','_handleHover','ref','reconnect','_shouldReportTelemetry','hide','_docSkeleton','_onJoinRoomEvent','SEND_CHANGESET_TIMEOUT','getDeserializedSheetBlock','not_collab','_createInitialStateImpl','getMergeData','conflict.content','next','UNIVER_COLLABORATION_CLIENT_PLUGIN','_id','assign','_doCryptBlock','People','_iKey','_transformUndoredo','_sendHeartbeat','_name','OFFLINE','_socketMessageSubscription','error$','src','off-line-single_clip0_910_343','searchParams','enableSingleActiveInstanceLock','cursorInfo$','collab-text-anchor-','_ENC_XFORM_MODE','Latin1','exports','_startTelemetryCollaborationNewChangeset','0\x200\x2016\x2016','className','CHANGESET_REJ','_parse','pipe','_transformPreviousActiveRange','code','round','image/jpeg','enc','mixIn','getOwnPropertySymbols','getMemberID','pad','registerRenderModule','NoPadding','HEARTBEAT','revision','_checkMissing','_beforeCloseService','ranges','collaboration.single-unit.warning','getUniverSheetInstance','currentTheme$','downloadEndpointUrl','csShouldRetryEvent','_onCombEvent','awaitingChangeset','OffLineSingle','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','INTERNAL_ERROR','collab-client.tooltip.reconnect','VIEW_MAIN','with','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_transformStateCache','beginPath','_onOffline','subunit','trim','transformChangesets','SerializableCipher','[SyncedState]:\x20received\x20acknowledgement.','_transformService','_initMergeInterceptor','patch','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','docStateChange$','message$','getRandomValues','isPermissionRej','colorChannel1','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','fromCharCode','_onRemoteACK','_transformRemoteChangesetByIMECache','UPDATE_PERMISSION_OBJ','[CollaborationState]:\x20apply\x20error!','collab-rect-range-','_submitChangeset','_append','collabCursorState$','makeDirty','commentUpdate$','LIVESHARE_TERMINATE','_removeRoom','getActiveRange','sessionTicket','[CollaborationEntity]','_executeRemoteChangeset','listRoles','gold400','univer-pro.collaboration-client-socket-service','subject','ONLINE','_disableEditing','c1Prime','onRendered','headers','INGEST','[OfflineState]:\x20received\x20rejection.','syncEditingCollabCursor','_createHmacHelper','encodeURIComponent','SUCCUSS','_getCtorByUniverType','_context','black','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPLETION_FINISHED','visibilitychange','awaiting','_hash','getCollabCursors$','toggleOnline','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','sheetId','enableAuthServer','saveOfflineData','_showConflictNotification','_sender','clear','retryConnectingInterval','_cipher','conflict.title','lineTo','_clearUndo','collabSubmitChangesetUrl','buffer','telemetry\x20info\x20is\x20not\x20initialized','origin','setUndoRedoMutationParamsCache','joinEvent','encode','_labelPosition','unitId','use','_colorIndex','fromCollab','collaboration-client.offline-data-not-saved','for','drawWith','_getSaveTimeout','PasswordBasedCipher','stopTime','on-line-single_clip0_910_349','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getImageSourceCache','_refRangeService','getVpScrollXYInfoByPosToVp','jsxs','SUBMIT_CHANGESET','roomInfos','/rev/','_document','updateOfflineData','_lastPointer','AWAITING_WITH_PENDING','_applyRemoteChangeset','joinRsp','_queuedRemoteChangesets','cursorInfo','storage','then','crypto','reduce','_getSendChangesetTimeout','_collabSessionService','OTHER_CLIENTS_EDITING','_clearLocalCache','defs','shouldCloseConn','onRemoteChangeset','randomUUID','_drawTextRange','displayName','_heartbeatTimer','selections','10565863THaUIe','commentUpdateEvent','image/bmp','pluginName','onRemoteAck','hostname','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','defineProperty','override','getSheetId','m1Prime','onMissingChangesets','collaboration-client.config','append','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Undefined','UNIVER_SLIDE','_onRecvEvent','#fff','createCollaborator','_getCurrentRevision','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','join','liveShareNewHost','close','registerHTTPInterceptor','fetchMissingChangesets','_getAPIPrefix','onlyLocal','_key','[DataLoaderController]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','status','_resendWithTimeout','values','_collabCursorState$','getInterceptPoints','297KqgKKh','_getMergeRange','objectActions','_clearRedo','362646MErCju','originalMeta','collabWebSocketUrl','_sheetSkeletonManagerService','sid','requireSession','selection','list','number','key','_hasher','ENSURE_SNAPSHOT_EXECUTION','submit\x20changeset\x20error!','transformUndoRedo','/universer-api/file/{fileID}/sign-url','exhaustSavingTask','session.room-full','unload','_session','UPDATE_CURSOR','byteLength','_invKeySchedule','unit','clearTimeout','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','processBlock','map','csAckEvent','objectID','isEditing','_themeService','_getSnapshotAPIPrefix','authzUrl','_range','/object/','c2Prime','image/gif','transformByState','Could\x20not\x20dynamically\x20require\x20\x22','repeat','send','_startDocCollabCursor','SYNCED','appendMutation','PERMISSION_REJ','includes','_onMessage','status$','UNIVER_SHEET','_online','Hasher','updateMember','_saveTaskMap','_exhaustRemoteChangesetQueue','history','entries','range','session.collaboration-timeout','_scheduleCollaborationTimeoutTimer','getSheetBySheetId','online','saveSheetBlock','_tryEnsureSocket','set','socket$','SHOULD_CLOSE_CONN','_imageSourceCache','flatMap','getLatestCsReqIdBySid','_draw','evenodd','_iv','_cachedData','NOT_COLLAB','split','subUnitId','charCodeAt','kdf','memberID','USERS_ENTER','_syncEditingCollabCursor','[CollaborationSessionService]:\x20socket\x20error','_syncEditingCollabCursorService','_removeClearOtherTimer','body','BASE64','IDLE','_resendTimer','setItem','1920JWNUud','onTransformIME','assignAColorForMemberID','_unitID','fetching\x20missing\x20changesets\x20from\x20','has','height','JOIN','userID','engine','row','react.element','onStarting','22798320xyHdwi','_revisionService','getTypeOfUnitDisposed$','loginUrlKey','substring','_configService','_acknowledgedAwaitingChangeset','max','addObject','blockSize','result','_clearTimeoutTimer','/universer-api/authz','_resendTimeout','_initEventListeners','getUnitOnRev','setAlpha','_unitStatus','_memberService','_permissionService','data','_prevBlock','_onLocalMutation','[CollaborationSessionService]','reset','_timeoutTimer','_nRounds','/object','_localStorageService','/allowed','deepClone','unpad','_retryConnectingTimer','BufferedBlockAlgorithm','_cursor','fillText','save','capture','transformRemoteChangeset','actions','_retryCount','toLowerCase','Decryptor','_startCollaboration','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','add','_onConnectionOpen','_cursorShapes','_handler','_socket','_createSocketURL','none','_decreaseWaiting','object','catch','_initCommandExecutedListener','sigBytes','YUUMI_URL_COL_OUT_OF_RANGE','univer-online-status-title','_replaceFileID','function','univerjs-icon\x20univerjs-icon-','session.connection-failed','setActiveRange','LIVESHARE_REQUEST_HOST','getCurrentUser','_disabled','text','_hovered','synced','_candidateSocket','saveChangeset','/universer-api/oidc/authpage','onTransformRemoteChangesetByStateCache','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','red300','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_docTransformIMECacheService','_uiPartsService','defaultProps','EvpKDF','unknown','readAsDataURL','xlink:href','fetchThroughInterceptors','ReactCurrentOwner','_state$','replaceState','connection\x20error','_anchor','textRanges','_refreshCollabCursors','_collabCursorController','push','_updateLocalCache','_substituteRedoStack','_joinRoom','_transformHistoryAndStateStack','_replayCachedMutations','baseRev','responseType','/collaborator','doc.mutation.rich-text-editing','permission.content','stringify','getCurrent','__creator','_docSyncEditingCollabCursorService','_scheduleHeartbeat','AES','ivSize','onRemoteRetry','_initResize','_socketReady','addEventListener','ERROR_IMAGE','_members','startRow','Encryptor','/fetchmissing?from=','_saveCache','_oKey','state','_initDependencies','_createSocket','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_roomMembers','_initCloseConn','algo','_scheduleClearOtherTimer','href','forEach','40ZEtXvn','22115mPRGfD','_onRemoteChangeset','_assignedColors','conflict','delete','WordArray','startsWith','PERMISSION_DENIED','_sendHeartbeatTimer','event$','visibilityState','_sheetTransformSelectionsService','parse','_startSheetCollabCursor','getOwnPropertyDescriptor','arc','ciphertext','endRow','font','div','_schedule','getParam','focused$','_handleHeartbeatEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','DeleteRangeMoveUpCommandId','_getDownloadEndpointURL','createDecryptor','createSocket','fetchMiss','_stopTelemetryCollaborationNewChangeset','updateCursorEvent','_setupSubUnitSync','_getScale','closeSession','INVALID_ARGUMENT','_remoteChangesetQueue','collaboration.closeRoom','closePath','getTime','_collaborationSessionService','_getSignURL','setCurrentUser','collabStatus.fetchMiss','getUnitType','_drawRectRange','_xformMode','RECV','fillRule','incrementRevOfUnit','localeService','filter','_clearOtherTimers','concat','hidden','_injector','Hex','getFocusedUnit','_commentService','urlChange$','url(#on-line-single_clip0_910_349)','_event$','column','_onUserJoin','asObservable','Cipher','_color','_nDataBytes','compose','\x20in\x20_schedule.','replace','HmacSHA1','_shapes','CONFLICT','_transformIMECache','FETCH_MISS','Unknown\x20user','_socketService','_getUploadFileURL','UNIVER_PROJECT','_handleJoinEvent','_scheduleTimestamp','_createInitialState','roomMembers$','_transitionLocked','Fragment','compute','create','_send','reqId','UNRECOGNIZED','collaboratorID','mode','MoveRangeCommandId','indexOf','disableLocalCache','readInt32LE','json','_telemetryInfo','byteOffset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ceil','_type','toRgbString','_getSessionTicket','url(#$1','react.fragment','_changesetSessionId','COMMENT_UPDATE','createInstance','symbol','Utf8','[CollaborationSession]','members','Error','_ensureSubject','ERROR_EXCEED_SIZE','onlineStatusIcon','requestParams','resolve','InsertColCommandId','show','/universer-api/comb','SNAPSHOT_SERVER_URL_KEY','[PendingState]:\x20received\x20rejection.','image/png','restore','toString','string','LEAVE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','objectType','transformMutation','session','LICENSE_DISTRO_REJECTED','NEW_CHANGESETS','onTransformSelections','YUUMI_RATE_OVER_LIMIT','avatar','$super','randomBytes','jiqing500','_onCursorUpdate','_onConflict','close$','setShowComponents','HttpImport','_initUnitPermissionChange','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','POST','_sendingTimer','_collaborationPaused','default','open$','_getRedoStack','unsubscribe','_renderManagerService','init','_onConnectionFailed','NOT_FOUND','339922kPbKDD','jsx','imageSourceType','_redoStacks','width','_httpService','name','executeCommand','get','_singleActiveUnitService','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','CHANGESET_ACK','fillStyle','onPointerEnter$','refreshPermission','clone','registerComponent','sessionStatus$','__esModule','liveShareOperation','_onRemoteRetry','save\x20fail\x20reason\x20is\x20','&assign=','newValue','/role','HEARTBEAT_TIMEOUT','change$','51872pzZIGm','transform','_awaitingChangeset','_onUserLeave','loadDoc','attrs','_clearHeartbeatTimer','getResourcesRequest','Univer','ticket','_commandService','_clearScheduledTask','routeKey','_onFetchMissResult','getConfig','getUndoRedoMutationParamsCache','bind','unshift','_initStatusComponent','/-/object/-/batch_allowed','setConfig','_state','MD5','from','getRoom','createEncryptor','awaiting_with_pending','collabStatus.synced','startColumn','collaboration-session-retry','collaMsg','toggleOffline','_docStateChangeManagerService','cfg','onSyncEditingCollabCursor','_messageService','_logService','_transformUndoRedoStack','some','_createHelper','generateRandomId','transformStateCache','params','onMissedChangesetFetched','_updateState','onMouseMove','COMPRESS_MUTATION_APPLY','UnitSnapshot','getCurrentRevOfUnit','_sessions','_snapshotService','_toggleOffline','transformIMECache','find','_ws','measureText','_waitCount','setTimeout','_entityInit$','_DEC_XFORM_MODE','_roomMembers$','UNAUTHENTICATED','COMPRESS_MUTATION_SEND','_lockTransition','/new_changes','_anchorDot','bottom','undoState','_cursors','_onCursorDelete','[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.','_urlService','BlockCipherMode','updateCollaborator','getMember','currentColor','onTransformChange$','_waitForHeartbeatResponse','setStateCache','_sessionStatus$','loadSheet','/resources','min','_transformStack','CBC','_telemetryService','_registerDependencies','LIVESHARE_FETCH_OPERATIONS','splice','slice','Base','listCollaborators','_doReset','color','_onRefRangeChange','onStateChange','UNIVER_UNKNOWN','_scheduleSaving','__Key__','FromArray','onTransformState','getValue','getCurrentUnitForType','_render','workbook','\x20-\x20','_notificationService','816qyTJxQ','_createHandler','_getAPIPrefixPath','updatePermissionPoint','error','random','deleteCollaborator','size','getViewport','fetch_missing','getCurrentSelections','_throwTelemetryCollaborationNewChangeset','UUID','encryptBlock','getCollabEntity','sessionStatus','hasOwnProperty','APPLY_REJECT','dispose','disposeWithMe','getActiveSheet','update','UnitEmbedded','loadOfflineData','post','_imageIoService','OpenSSL','_drawAnchor','univer-online-status-icon','skeleton','formatter','_localeService','session.will-retry','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','\x0aAfter:\x20','eventID','x-univer-host','title','file','HELLO','cmd','_docSkeletonManagerService','APPLY_DUPLICATED','backgroundColor','format','LIVESHARE_NEW_HOST','[SyncedState]:\x20received\x20rejection.','UNIVER_DOC','interceptor','_rescheduleHeartbeat','padding','_process','_textBubble','LICENSE_EXPORT_SIZE_EXCEEDED','_unlockTransition','YUUMI_UNABLE_LOAD_URL','MSG_FOR_ERROR','_localCacheService','DeleteRangeMoveLeftCommandId','PENDING','_hideTimer','getTypeOfUnitAdded$','getAncestorScale','_eventUnsubscribe','_mode','isArray','floor','hasher','_handleEvent','_updateCollabCursors','substr','registerRefRange','execute','infoRsp','removeMember','MUTATION','COLLAB_SUBMIT_CHANGESET_URL','msCrypto','subscribeEvent','AUTHZ_URL_KEY','clipPath','setShapeProps','_loadDoc','_removeCollabCursors','_changesetReqId','_clearCollaborationTimeoutTimer','USERS_LEAVE','rng','FAIL','_incrementRevisionNumber','signUrlServerUrl','getRangePointData','_config','_compressMutationService','_selfUnitIDs','Error\x20on\x20receiving\x20event','getRenderById','FETCH_MISSING','FileId','updatePermissionObjEvent','transformMutationsWithChangeset','sendChangesetTimeout','registerBeforeClose','decrypt','_updateStatus','triggerDblclick','_entities','[CollaborationUndoRedoService]','getCollabEntity$','HEARTBEAT_INTERVAL','_HTTPService','_onRemoteRejected','SNAPSHOT_HAS_BEEN_REMOVED','onRemoteRej','_snapshotServerService','_isPermissionRej','getDocRanges','onCommandExecuted','registerOnClose','setParam','CHANGESET_REVISION_CONFILICT','redoState','HMAC','HttpExport','_instanceService','onPointerLeave$','top','finalize','onlineStatus','/-/object/list','_data','clamp','getUnitId','TEXT','prototype','/universer-api/stream/file/upload','_init','_undoRedoService','saveImage','UNKNOWN_CODE','JOINING','_initStatusListener','_map','_http','_getUndoStack','pushState','_getSheetObject','socketService','resend','getSkeleton','_docClipboardService','[UniverCollaborationClientPlugin]','_docTransformStateCacheService','equals','path','extend','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','77652JJAkTA','fill','_univerInstanceService','hovered','Base64','_initRequestHeader','_backgroundColor','failed\x20to\x20apply\x20missed\x20changesets!','svg','_change$','idSuffix','BlockCipher','batchAllowed','LOCAL_CACHE_INTERVAL','lib','current','/unit/','pending','keySize','now','snapshotServerUrl','_getAnchorBounding','Warning','onSendChangeset','CONNECTOR_DATA_TOO_LARGE','length','put','every','getOffsetConfig','getRelativeToViewportCoord','JOIN_ROOM_NOT_ALLOWED','_scene','location','LOGIN_URL_KEY','LIVESHARE_OPERATION','TOO_MANY_REQUESTS','decryptBlock','_updateSubUnitFromURLParams','children','call','_minBufferSize','getUnitStatus$','type','UNDEFINED','replaceDocRanges','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','APPLY_PERMISSION_DENIED','icon','setWaitCount','tag','ws://127.0.0.1:8000/universer-api/comb/connect','RemoveColCommandId','debug','currentSkeleton$','onlineStatusTitle','/universer-api/snapshot/','_cursorInfo$','_pendingMutations','AWAITING','complete','M0\x200H16V16H0z','findNodePositionByCharIndex','resize','InsertRowCommandId','_commentUpdate$','_collaborationController','RECT','InsertRangeMoveDownCommandId','csRejEvent','words','confirm','_status$','_userManagerService','getStateCache','APPLY_REVISION_CONFILICT','collabStatus.syncing','reject','labelPosition','_socket$','m2Prime','reverse','salt','JOIN_ROOM_FULL','dispose$','off-line-single','_reverseMap','newCsEvent','1em','univer-offline','&to=','_updateURLWithCurrentState','uploadFileServerUrl','on-line-single','_unitOnClients','_hover','univer-pro.collaboration-client.single-active-unit-service','unitID','snapshot','ACTIVE_UNIT_EVENT_CHANNEL','offline','subscribe','source','permission.title','abs','enableOfflineEditing','mutations'];_0x5bba=function(){return _0x3e8dc0;};return _0x5bba();}Lt=Ac([Mc(0x0,_0x231990(_0xee3f76))],Lt);var xc=Object[_0x421733(0x1c6)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x153bcc,_0x29e33b,_0xfafd57,_0x1d13a9)=>{const _0x2ff84b=_0x421733;for(var _0xfc3ea4=_0x1d13a9>0x1?void 0x0:_0x1d13a9?Lc(_0x29e33b,_0xfafd57):_0x29e33b,_0x3e5cb0=_0x153bcc[_0x2ff84b(0x4b1)]-0x1,_0xcd6553;_0x3e5cb0>=0x0;_0x3e5cb0--)(_0xcd6553=_0x153bcc[_0x3e5cb0])&&(_0xfc3ea4=(_0x1d13a9?_0xcd6553(_0x29e33b,_0xfafd57,_0xfc3ea4):_0xcd6553(_0xfc3ea4))||_0xfc3ea4);return _0x1d13a9&&_0xfc3ea4&&xc(_0x29e33b,_0xfafd57,_0xfc3ea4),_0xfc3ea4;},is=(_0x4db8cb,_0x12d32f)=>(_0x44f10f,_0x424361)=>_0x12d32f(_0x44f10f,_0x424361,_0x4db8cb);const Hc=[_0x421733(0x351),_0x421733(0x556),_0x421733(0x521),_0x421733(0x20d),_0x421733(0x1c1)],jc=0x5*0x400*0x400,Bc=_0x421733(0x356),kc=_0x421733(0x482),Wc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Fc=_0x421733(0x1f6);let ps=class{constructor(_0x56b0ea,_0x48f7e5,_0x4bc2c6){const _0x5a4863=_0x421733;g(this,_0x5a4863(0x3c8),0x0),g(this,'_change$',new _0x28e091()),g(this,_0x5a4863(0x38f),this[_0x5a4863(0x4a1)]),g(this,'_imageSourceCache',new Map()),(this[_0x5a4863(0x379)]=_0x56b0ea,this[_0x5a4863(0x254)]=_0x48f7e5,this[_0x5a4863(0x49a)]=_0x4bc2c6);}[_0x421733(0x4c8)](_0x22cf4e){const _0x5e6bf6=_0x421733;this[_0x5e6bf6(0x3c8)]=_0x22cf4e,this['_change$'][_0x5e6bf6(0x537)](_0x22cf4e);}[_0x421733(0x1a0)](_0x567b2e,_0x4b056d){const _0x26e24d=_0x421733;if(_0x4b056d===_0x2b3ee0[_0x26e24d(0x23e)]){const _0x2679d1=new Image();return _0x2679d1[_0x26e24d(0x544)]=_0x567b2e,_0x2679d1;}return this[_0x26e24d(0x22b)][_0x26e24d(0x37c)](_0x567b2e);}['addImageSourceCache'](_0x1e0cd1,_0x257bcf,_0x4aad88){const _0x471bfd=_0x421733;_0x257bcf===_0x2b3ee0[_0x471bfd(0x23e)]||_0x4aad88==null||this[_0x471bfd(0x22b)][_0x471bfd(0x228)](_0x1e0cd1,_0x4aad88);}async['getImage'](_0x2ffbfa){const _0x4d10d6=_0x421733;try{const _0x892b9a=this[_0x4d10d6(0x28a)](this[_0x4d10d6(0x2fd)](),''+_0x2ffbfa),_0x3ebc2a=(await this[_0x4d10d6(0x379)]['get'](_0x892b9a))[_0x4d10d6(0x23d)];if(_0x3ebc2a[_0x4d10d6(0x3ff)]&&_0x3ebc2a[_0x4d10d6(0x3ff)][_0x4d10d6(0x554)]===Wi['OK']){const _0x1e5d26=new URL(_0x3ebc2a['url'],this[_0x4d10d6(0x2ee)]())[_0x4d10d6(0x353)]();return Promise[_0x4d10d6(0x34b)](_0x1e5d26);}return Promise['reject'](_0x3ebc2a[_0x4d10d6(0x3ff)]);}catch(_0x37b9b9){return Promise[_0x4d10d6(0x4e4)](_0x37b9b9);}}async[_0x421733(0x485)](_0x2283e7){const _0x1d872f=_0x421733;let _0x320bcb='';if(!Hc[_0x1d872f(0x216)](_0x2283e7['type']))return this[_0x1d872f(0x283)](),Promise['reject'](new Error(_0x25d6ba['ERROR_IMAGE_TYPE']));if(_0x2283e7['size']>jc)return this[_0x1d872f(0x283)](),Promise['reject'](new Error(_0x25d6ba[_0x1d872f(0x348)]));try{const _0x26aa22=new FormData();_0x26aa22[_0x1d872f(0x1cc)](_0x1d872f(0x421),_0x2283e7);const _0x405f71=this['_univerInstanceService'][_0x1d872f(0x30d)](),_0x27cc69=_0x405f71==null?void 0x0:_0x405f71[_0x1d872f(0x47f)]();if(!_0x27cc69)throw new Error('unitId\x20is\x20not\x20found');const _0x5f40ff=this[_0x1d872f(0x322)]()+'?size='+_0x2283e7[_0x1d872f(0x402)][_0x1d872f(0x353)]()+'&source='+Fi[_0x1d872f(0x411)]+_0x1d872f(0x38b)+encodeURIComponent(_0x27cc69),_0x2b2e36=await(await fetch(_0x5f40ff,{'method':_0x1d872f(0x369),'body':_0x26aa22}))[_0x1d872f(0x335)]();if(typeof _0x2b2e36['FileId']!=_0x1d872f(0x354))return this[_0x1d872f(0x283)](),Promise['reject'](new Error(_0x25d6ba['ERROR_IMAGE']));_0x320bcb=_0x2b2e36[_0x1d872f(0x45d)];}catch{return this[_0x1d872f(0x283)](),Promise[_0x1d872f(0x4e4)](new Error(_0x25d6ba[_0x1d872f(0x2c2)]));}return new Promise((_0x4da632,_0x8ea030)=>{const _0x5296eb=_0x1d872f,_0x1deb5a=new FileReader();_0x1deb5a[_0x5296eb(0x2a1)](_0x2283e7),_0x1deb5a['onload']=_0xdeddef=>{const _0x553399=_0x5296eb;var _0x317621;const _0x47a71b=(_0x317621=_0xdeddef['target'])==null?void 0x0:_0x317621[_0x553399(0x259)];if(_0x47a71b==null){this[_0x553399(0x283)](),_0x8ea030(new Error(_0x25d6ba[_0x553399(0x2c2)]));return;}const _0xb15ced=_0x4705c7[_0x553399(0x3b8)](0x6);_0x4da632({'imageId':_0xb15ced,'imageSourceType':_0x2b3ee0[_0x553399(0x407)],'source':_0x320bcb,'base64Cache':_0x47a71b,'status':_0x25d6ba[_0x553399(0x175)]}),this[_0x553399(0x283)]();};});}[_0x421733(0x322)](){const _0x9cff52=_0x421733;var _0x3bd9a5,_0x95ddf5;const _0x4356a5=this[_0x9cff52(0x254)]['getConfig'](Bc),_0x1d7090=this[_0x9cff52(0x254)][_0x9cff52(0x39e)](Q);return(_0x95ddf5=(_0x3bd9a5=_0x1d7090==null?void 0x0:_0x1d7090[_0x9cff52(0x4f3)])!=null?_0x3bd9a5:_0x4356a5)!=null?_0x95ddf5:kc;}[_0x421733(0x2fd)](){const _0x1f58f8=_0x421733;var _0x4e5df0,_0x1874a1;const _0x4a634e=this['_configService']['getConfig'](Wc),_0x2f5e1c=this[_0x1f58f8(0x254)][_0x1f58f8(0x39e)](Q);return(_0x1874a1=(_0x4e5df0=_0x2f5e1c==null?void 0x0:_0x2f5e1c[_0x1f58f8(0x455)])!=null?_0x4e5df0:_0x4a634e)!=null?_0x1874a1:Fc;}['_getDownloadEndpointURL'](){const _0x2cf97f=_0x421733;var _0xf3ac50;const _0x9dc75a=this[_0x2cf97f(0x254)][_0x2cf97f(0x39e)](Q);return(_0xf3ac50=_0x9dc75a==null?void 0x0:_0x9dc75a[_0x2cf97f(0x566)])!=null?_0xf3ac50:location[_0x2cf97f(0x18f)];}[_0x421733(0x28a)](_0x366ab1,_0x7757e7){const _0x489a81=_0x421733;return _0x366ab1[_0x489a81(0x31a)]('{fileID}',_0x7757e7);}[_0x421733(0x283)](){const _0x3ebd57=_0x421733;this[_0x3ebd57(0x3c8)]-=0x1,this[_0x3ebd57(0x4a1)][_0x3ebd57(0x537)](this['_waitCount']);}};ps=$c([is(0x0,_0x231990(_0xee3f76)),is(0x1,_0x2cfa70),is(0x2,_0x231990(_0x186a82))],ps);var Vc=Object[_0x421733(0x1c6)],Gc=Object[_0x421733(0x2e2)],Yc=(_0x407fd2,_0x39e3e9,_0x1bcc18,_0x3192d9)=>{for(var _0x1ace01=_0x3192d9>0x1?void 0x0:_0x3192d9?Gc(_0x39e3e9,_0x1bcc18):_0x39e3e9,_0x2084c1=_0x407fd2['length']-0x1,_0x5c3e7a;_0x2084c1>=0x0;_0x2084c1--)(_0x5c3e7a=_0x407fd2[_0x2084c1])&&(_0x1ace01=(_0x3192d9?_0x5c3e7a(_0x39e3e9,_0x1bcc18,_0x1ace01):_0x5c3e7a(_0x1ace01))||_0x1ace01);return _0x3192d9&&_0x1ace01&&Vc(_0x39e3e9,_0x1bcc18,_0x1ace01),_0x1ace01;},Ii=(_0x58e3af,_0x424e3b)=>(_0x36cd50,_0x1d39cb)=>_0x424e3b(_0x36cd50,_0x1d39cb,_0x58e3af);const Kc=_0x421733(0x25b);let ms=class{constructor(_0x17bd5b,_0x473452){const _0x36f68e=_0x421733;this[_0x36f68e(0x254)]=_0x17bd5b,this[_0x36f68e(0x469)]=_0x473452;}['_getAPIPrefixPath'](){const _0x9640a0=_0x421733;var _0x1bf708,_0x573b74;const _0x332ed4=this[_0x9640a0(0x254)][_0x9640a0(0x39e)](sr),_0x154136=this['_configService']['getConfig'](Q);return(_0x573b74=(_0x1bf708=_0x154136==null?void 0x0:_0x154136['authzUrl'])!=null?_0x1bf708:_0x332ed4)!=null?_0x573b74:Kc;}async[_0x421733(0x1ef)](_0x264ee7){const _0x548226=_0x421733,_0x49ecb8=this[_0x548226(0x3fd)]()+_0x548226(0x2b4);return{'list':[{'title':_0x548226(0x53c),'mentions':(await this['_HTTPService'][_0x548226(0x37c)](_0x49ecb8,{'params':{'objectID':_0x264ee7[_0x548226(0x194)],'unitID':_0x264ee7['unitId']}}))[_0x548226(0x23d)]['collaborators'][_0x548226(0x203)](_0x54972b=>({'objectId':_0x54972b['id'],'name':_0x54972b[_0x548226(0x597)][_0x548226(0x37a)],'metadata':{'icon':_0x54972b[_0x548226(0x597)][_0x548226(0x35e)]},'label':_0x54972b[_0x548226(0x597)]['name'],'objectType':_0x1c7d10['PERSON']})),'metadata':{},'type':_0x1c7d10[_0x548226(0x51a)]}]};}};ms=Yc([Ii(0x0,_0x231990(_0x2cfa70)),Ii(0x1,_0x231990(_0xee3f76))],ms);var qc=Object['defineProperty'],zc=Object['getOwnPropertyDescriptor'],Xc=(_0x22df05,_0x1de6a3,_0x3200b3,_0x29c8aa)=>{const _0x170725=_0x421733;for(var _0x377811=_0x29c8aa>0x1?void 0x0:_0x29c8aa?zc(_0x1de6a3,_0x3200b3):_0x1de6a3,_0x522308=_0x22df05[_0x170725(0x4b1)]-0x1,_0xc1e44;_0x522308>=0x0;_0x522308--)(_0xc1e44=_0x22df05[_0x522308])&&(_0x377811=(_0x29c8aa?_0xc1e44(_0x1de6a3,_0x3200b3,_0x377811):_0xc1e44(_0x377811))||_0x377811);return _0x29c8aa&&_0x377811&&qc(_0x1de6a3,_0x3200b3,_0x377811),_0x377811;},Qe=(_0x16d2f0,_0x54f8b7)=>(_0x194a23,_0x585877)=>_0x54f8b7(_0x194a23,_0x585877,_0x16d2f0);let $t=class extends _0x33a3aa{constructor(_0x523ab8,_0x1a21e7,_0x569222,_0x352a33,_0x1ac6d4){const _0x17b827=_0x421733;super(),this[_0x17b827(0x30b)]=_0x523ab8,this[_0x17b827(0x49a)]=_0x1a21e7,this[_0x17b827(0x262)]=_0x569222,this[_0x17b827(0x2fc)]=_0x352a33,this[_0x17b827(0x41a)]=_0x1ac6d4,this[_0x17b827(0x367)](),this[_0x17b827(0x2ce)]();}[_0x421733(0x2ce)](){const _0x23735f=_0x421733,_0x51221f=async _0x58c14e=>{const _0x9b2c7c=_0x9980;(await this[_0x9b2c7c(0x2fc)][_0x9b2c7c(0x1ed)](_0x58c14e))[_0x9b2c7c(0x2dd)][_0x9b2c7c(0x552)](_0x1de59c(_0x3de97f=>_0x3de97f[_0x9b2c7c(0x41e)]===_0xdb349a[_0x9b2c7c(0x22a)]),_0x5844ee(this['dispose$']))[_0x9b2c7c(0x4fc)](_0x49fa30=>{const _0x4e3aa0=_0x9b2c7c,_0x7be9b9=_0x49fa30,{reason:_0x262254}=_0x7be9b9[_0x4e3aa0(0x263)];this[_0x4e3aa0(0x30b)][_0x4e3aa0(0x37c)](_0x2cbd8b)[_0x4e3aa0(0x34d)]({'type':_0x1a283f[_0x4e3aa0(0x346)],'content':this[_0x4e3aa0(0x41a)]['t'](_0x4e3aa0(0x2f9))+'('+_0x262254+')'}),this[_0x4e3aa0(0x262)][_0x4e3aa0(0x3fe)](new _0x31b58a(_0x58c14e)['id'],!0x1),this[_0x4e3aa0(0x2fc)][_0x4e3aa0(0x2f6)](_0x58c14e);});};_0x3f6cf6(this[_0x23735f(0x49a)][_0x23735f(0x438)](_0x24d9a0['UNIVER_SHEET']),this[_0x23735f(0x49a)][_0x23735f(0x438)](_0x24d9a0[_0x23735f(0x42a)]))[_0x23735f(0x552)](_0x1a5739(_0x25c1b5=>_0x25c1b5[_0x23735f(0x47f)]()),_0x1de59c(_0x2f31ff=>!_0x3014e6(_0x2f31ff)),_0x5844ee(this[_0x23735f(0x4eb)]))[_0x23735f(0x4fc)](_0x1ace13=>{_0x51221f(_0x1ace13);});}[_0x421733(0x367)](){const _0x370fbf=_0x421733,_0x31880c=async _0x58548e=>{const _0x525c5d=_0x9980;(await this['_collaborationSessionService']['requireSession'](_0x58548e))[_0x525c5d(0x2dd)]['pipe'](_0x1de59c(_0x3d7a95=>_0x3d7a95['eventID']===_0xdb349a[_0x525c5d(0x586)]),_0x5844ee(this[_0x525c5d(0x4eb)]))[_0x525c5d(0x4fc)](_0x50e302=>{const _0x523f8c=_0x525c5d,_0x204fe8=_0x50e302,{objectId:_0x21a8f3}=_0x204fe8[_0x523f8c(0x263)],_0x65935b=this[_0x523f8c(0x30b)][_0x523f8c(0x37c)](_0x4e29e3);_0x21a8f3===_0x58548e?_0x65935b['initWorkbookPermissionChange'](_0x58548e):_0x65935b[_0x523f8c(0x383)](_0x58548e,_0x21a8f3);});};_0x3f6cf6(this[_0x370fbf(0x49a)]['getTypeOfUnitAdded$'](_0x24d9a0[_0x370fbf(0x219)]),this[_0x370fbf(0x49a)][_0x370fbf(0x438)](_0x24d9a0[_0x370fbf(0x42a)]))[_0x370fbf(0x552)](_0x1a5739(_0x1b29ad=>_0x1b29ad[_0x370fbf(0x47f)]()),_0x1de59c(_0x43f4e2=>!_0x3014e6(_0x43f4e2)),_0x5844ee(this[_0x370fbf(0x4eb)]))['subscribe'](_0x3948cd=>{_0x31880c(_0x3948cd);});}};$t=Xc([Qe(0x0,_0x231990(_0x1d3c8c)),Qe(0x1,_0x186a82),Qe(0x2,_0x286710),Qe(0x3,_0x231990(Me)),Qe(0x4,_0x231990(_0x3097b7))],$t);var Jc=Object[_0x421733(0x1c6)],Zc=Object[_0x421733(0x2e2)],Qc=(_0x24eb2f,_0x3ea1cc,_0x10c8ca,_0x53d074)=>{const _0x26e914=_0x421733;for(var _0x2ec9e8=_0x53d074>0x1?void 0x0:_0x53d074?Zc(_0x3ea1cc,_0x10c8ca):_0x3ea1cc,_0x2610a6=_0x24eb2f[_0x26e914(0x4b1)]-0x1,_0x4953a4;_0x2610a6>=0x0;_0x2610a6--)(_0x4953a4=_0x24eb2f[_0x2610a6])&&(_0x2ec9e8=(_0x53d074?_0x4953a4(_0x3ea1cc,_0x10c8ca,_0x2ec9e8):_0x4953a4(_0x2ec9e8))||_0x2ec9e8);return _0x53d074&&_0x2ec9e8&&Jc(_0x3ea1cc,_0x10c8ca,_0x2ec9e8),_0x2ec9e8;},Ci=(_0x407df5,_0x3a8af9)=>(_0x131173,_0x3da0e9)=>_0x3a8af9(_0x131173,_0x3da0e9,_0x407df5);let gs=class{constructor(_0x52247c,_0x14f16c){const _0x4b4847=_0x421733;this[_0x4b4847(0x254)]=_0x52247c,this['_httpService']=_0x14f16c;}async[_0x421733(0x25e)](_0x413cf0,_0x41faf1){const _0x842aae=_0x421733;var _0x5b9b82;const {unitID:_0x12c88e,type:_0x57620c,revision:_0x521e74=0x0}=_0x41faf1,_0x7f211=this[_0x842aae(0x208)]()+'/'+_0x57620c+_0x842aae(0x4a8)+_0x12c88e+_0x842aae(0x1a6)+_0x521e74,_0x1bb6d3=(await this[_0x842aae(0x379)][_0x842aae(0x37c)](_0x7f211))['body'],_0x33977c=(_0x5b9b82=_0x1bb6d3[_0x842aae(0x4f9)])==null?void 0x0:_0x5b9b82[_0x842aae(0x3f8)];if(_0x33977c){const _0x25d731=_0x33977c==null?void 0x0:_0x33977c[_0x842aae(0x1e9)],_0x1c3239=_0x41d831[_0x842aae(0x192)](_0x170276(_0x25d731));_0x33977c[_0x842aae(0x1e9)]=_0x1c3239,Object[_0x842aae(0x220)](_0x33977c['sheets'])[_0x842aae(0x2d2)](([,_0x13e69e])=>{const _0x445a3c=_0x842aae,_0x4e0d2b=_0x13e69e['originalMeta'],_0x37d4ea=_0x41d831[_0x445a3c(0x192)](_0x170276(_0x4e0d2b));_0x13e69e[_0x445a3c(0x1e9)]=_0x37d4ea;});}return _0x1bb6d3;}async[_0x421733(0x517)](_0x485ed5,_0x50f9fe){const _0x2432e7=_0x421733,{unitID:_0x3704ec,type:_0x3e41f0,blockID:_0x2f2fcd}=_0x50f9fe,_0x210172=this[_0x2432e7(0x1da)]()+'/'+_0x3e41f0+_0x2432e7(0x4a8)+_0x3704ec+'/block/'+_0x2f2fcd;return(await this[_0x2432e7(0x379)][_0x2432e7(0x37c)](_0x210172))[_0x2432e7(0x23d)];}async[_0x421733(0x532)](_0x4bd937,_0x10680f){const _0x4c4157=_0x421733,{unitID:_0x2f2764,type:_0x54204f,blockID:_0x5f44d9}=_0x10680f,_0x567775=this[_0x4c4157(0x1da)]()+'/block/'+_0x54204f+'/unit/'+_0x2f2764+_0x4c4157(0x51b)+_0x5f44d9;return(await this[_0x4c4157(0x379)][_0x4c4157(0x37c)](_0x567775))[_0x4c4157(0x23d)];}async[_0x421733(0x1d9)](_0x12448b,_0x127d26){const _0x383266=_0x421733,{unitID:_0x28c36f,type:_0x37b37f,from:_0x1116e8,to:_0x5df5d6}=_0x127d26,_0x3d6f88=this[_0x383266(0x1da)]()+'/'+_0x37b37f+_0x383266(0x4a8)+_0x28c36f+_0x383266(0x2c6)+_0x1116e8+_0x383266(0x4f1)+_0x5df5d6;return(await this[_0x383266(0x379)][_0x383266(0x37c)](_0x3d6f88))['body'];}[_0x421733(0x208)](){const _0x5020d7=_0x421733;var _0x2c6c94;return(_0x2c6c94=this[_0x5020d7(0x254)][_0x5020d7(0x39e)](bn))!=null?_0x2c6c94:this['_getAPIPrefix']();}[_0x421733(0x1da)](){const _0x80763d=_0x421733;var _0x3e614f,_0x4dd124;const _0x1c4049=this[_0x80763d(0x254)][_0x80763d(0x39e)](Cn),_0x175a34=this[_0x80763d(0x254)][_0x80763d(0x39e)](Q);return(_0x4dd124=(_0x3e614f=_0x175a34==null?void 0x0:_0x175a34[_0x80763d(0x4ac)])!=null?_0x3e614f:_0x1c4049)!=null?_0x4dd124:En;}async[_0x421733(0x397)](_0x111014,_0x36d631){const _0x2f37f5=_0x421733,_0x2a3a43=_0x2f37f5(0x4cf)+_0x36d631[_0x2f37f5(0x4c2)]+_0x2f37f5(0x4a8)+_0x36d631[_0x2f37f5(0x4f8)]+_0x2f37f5(0x3e1);return(await this['_httpService'][_0x2f37f5(0x37c)](_0x2a3a43,{'params':{'resourceId':JSON[_0x2f37f5(0x2b7)](_0x36d631['resourceIDs'])}}))[_0x2f37f5(0x23d)];}['saveSnapshot'](){const _0x47fb18=_0x421733;throw new Error(_0x47fb18(0x29b));}[_0x421733(0x226)](){const _0x11c245=_0x421733;throw new Error(_0x11c245(0x29b));}[_0x421733(0x296)](){const _0x41f5c0=_0x421733;throw new Error(_0x41f5c0(0x29b));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x421733(0x22d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};gs=Qc([Ci(0x0,_0x2cfa70),Ci(0x1,_0x231990(_0xee3f76))],gs);var eh=Object[_0x421733(0x1c6)],th=Object[_0x421733(0x2e2)],sh=(_0x2874b1,_0x4e0bd8,_0x5f018b,_0x19ffc1)=>{const _0x2d4198=_0x421733;for(var _0x45c80d=_0x19ffc1>0x1?void 0x0:_0x19ffc1?th(_0x4e0bd8,_0x5f018b):_0x4e0bd8,_0x49591b=_0x2874b1[_0x2d4198(0x4b1)]-0x1,_0x2a9df6;_0x49591b>=0x0;_0x49591b--)(_0x2a9df6=_0x2874b1[_0x49591b])&&(_0x45c80d=(_0x19ffc1?_0x2a9df6(_0x4e0bd8,_0x5f018b,_0x45c80d):_0x2a9df6(_0x45c80d))||_0x45c80d);return _0x19ffc1&&_0x45c80d&&eh(_0x4e0bd8,_0x5f018b,_0x45c80d),_0x45c80d;},et=(_0x3aa4ca,_0x391d7f)=>(_0x9d8ae7,_0x1b8a82)=>_0x391d7f(_0x9d8ae7,_0x1b8a82,_0x3aa4ca);let Ss=class extends _0x4d7d9b{constructor(_0x45fe93,_0x13ddf4,_0x51c11a,_0x1cbb35,_0x12f024){const _0x5abdd1=_0x421733;super(_0x45fe93,_0x13ddf4,_0x51c11a),this[_0x5abdd1(0x579)]=_0x1cbb35,this[_0x5abdd1(0x3b4)]=_0x12f024;}['transformUndoRedo'](_0x257bd1,_0x19811c){const _0x292e0f=_0x421733,_0x5b3bd4=this[_0x292e0f(0x48b)](_0x257bd1);if(_0x5b3bd4)try{const _0x175ba8=this[_0x292e0f(0x3e3)](_0x5b3bd4,_0x19811c);this['_substituteUndoStack'](_0x257bd1,_0x175ba8);}catch(_0x45da52){this[_0x292e0f(0x3b4)][_0x292e0f(0x3ff)](_0x292e0f(0x466),_0x45da52),this[_0x292e0f(0x18b)](_0x257bd1);}const _0x46d80b=this[_0x292e0f(0x36e)](_0x257bd1);if(_0x46d80b)try{const _0x4adea7=this['_transformStack'](_0x46d80b,_0x19811c);this[_0x292e0f(0x2ae)](_0x257bd1,_0x4adea7);}catch(_0x3d7c31){this['_logService']['error'](_0x3d7c31),this[_0x292e0f(0x1e7)](_0x257bd1);}}[_0x421733(0x18b)](_0x15acd5){const _0x146e4b=_0x421733,_0x781e32=this['_getUndoStack'](_0x15acd5);_0x781e32&&(_0x781e32[_0x146e4b(0x4b1)]=0x0,this[_0x146e4b(0x463)]());}[_0x421733(0x1e7)](_0x5ddec1){const _0x1567be=_0x421733,_0x34a09f=this[_0x1567be(0x36e)](_0x5ddec1);_0x34a09f&&(_0x34a09f[_0x1567be(0x4b1)]=0x0,this[_0x1567be(0x463)]());}['_substituteUndoStack'](_0xcd81f4,_0x3b7955){const _0x2428a1=_0x421733;this['_undoStacks'][_0x2428a1(0x228)](_0xcd81f4,_0x3b7955),this[_0x2428a1(0x463)]();}[_0x421733(0x2ae)](_0x2fbbc5,_0x535495){const _0x37da05=_0x421733;this[_0x37da05(0x377)][_0x37da05(0x228)](_0x2fbbc5,_0x535495),this[_0x37da05(0x463)]();}[_0x421733(0x3e3)](_0x1f35b8,_0x1e09f9){const _0x20295c=_0x421733,_0x3da52e=[];let _0x5b92d1=_0x1e09f9,_0x385859=_0x1e09f9;for(let _0x58a565=_0x1f35b8[_0x20295c(0x4b1)]-0x1;_0x58a565>=0x0;_0x58a565--){const {unitID:_0x29e45c,undoMutations:_0x32a4f3,redoMutations:_0x39cf9e}=_0x1f35b8[_0x58a565],_0xaece99=this[_0x20295c(0x579)][_0x20295c(0x45f)](_0x5b92d1,_0x32a4f3),_0xed2379=this[_0x20295c(0x579)][_0x20295c(0x45f)](_0x385859,_0x39cf9e);if(_0x524e13(_0xaece99)||_0x524e13(_0xed2379)){this[_0x20295c(0x3b4)]['error'](_0x20295c(0x466),'transformStack\x20failed!',_0xaece99,_0xed2379);break;}_0x5b92d1=_0xaece99[_0x20295c(0x16d)],_0x385859=_0xed2379[_0x20295c(0x16d)],_0x3da52e['push']({'unitID':_0x29e45c,'undoMutations':_0xaece99[_0x20295c(0x4e7)],'redoMutations':_0xed2379[_0x20295c(0x4e7)]});}return _0x3da52e[_0x20295c(0x4e8)]();}};Ss=sh([et(0x0,_0x186a82),et(0x1,_0x5af619),et(0x2,_0x5acaaa),et(0x3,_0x2b2256),et(0x4,_0x257353)],Ss);class ih extends _0x33a3aa{constructor(){const _0x158891=_0x421733;super(),g(this,'urlChange$'),this[_0x158891(0x30f)]=_0x2e9bd0(window,'popstate')['pipe'](_0x2c50c2(this[_0x158891(0x4eb)]),_0x2d3cb2(0x1),_0x188d89(void 0x0));}[_0x421733(0x472)](_0x26e4dd,_0xbb1580,_0x388202=!0x1){const _0x117d24=_0x421733,_0x294d66=new URL(window[_0x117d24(0x4b8)]['href']);_0x294d66[_0x117d24(0x546)]['set'](_0x26e4dd,_0xbb1580),_0x388202?window['history'][_0x117d24(0x2a6)]('','',_0x294d66[_0x117d24(0x353)]()):window[_0x117d24(0x21f)][_0x117d24(0x48c)]('','',_0x294d66[_0x117d24(0x353)]());}[_0x421733(0x524)](_0x271385,_0x3703d6=!0x1){const _0x4b36cd=_0x421733,_0x3eb37a=new URL(window[_0x4b36cd(0x4b8)]['href']);_0x3eb37a[_0x4b36cd(0x546)][_0x4b36cd(0x2d8)](_0x271385),_0x3703d6?window[_0x4b36cd(0x21f)][_0x4b36cd(0x2a6)]('','',_0x3eb37a[_0x4b36cd(0x353)]()):window[_0x4b36cd(0x21f)][_0x4b36cd(0x48c)]('','',_0x3eb37a[_0x4b36cd(0x353)]());}[_0x421733(0x2e9)](_0x54d442){const _0x1e3f7b=_0x421733;var _0x1203c2;return(_0x1203c2=new URL(window[_0x1e3f7b(0x4b8)][_0x1e3f7b(0x2d1)])['searchParams']['get'](_0x54d442))!=null?_0x1203c2:void 0x0;}}var or=Object['defineProperty'],rh=Object[_0x421733(0x2e2)],nh=(_0x2db55f,_0x212902,_0x119cce)=>_0x212902 in _0x2db55f?or(_0x2db55f,_0x212902,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x119cce}):_0x2db55f[_0x212902]=_0x119cce,oh=(_0x12e302,_0x2777be,_0xbcd5a7,_0x2eab57)=>{const _0x4a6a70=_0x421733;for(var _0x9f9ce5=_0x2eab57>0x1?void 0x0:_0x2eab57?rh(_0x2777be,_0xbcd5a7):_0x2777be,_0x46497a=_0x12e302[_0x4a6a70(0x4b1)]-0x1,_0xcbc01d;_0x46497a>=0x0;_0x46497a--)(_0xcbc01d=_0x12e302[_0x46497a])&&(_0x9f9ce5=(_0x2eab57?_0xcbc01d(_0x2777be,_0xbcd5a7,_0x9f9ce5):_0xcbc01d(_0x9f9ce5))||_0x9f9ce5);return _0x2eab57&&_0x9f9ce5&&or(_0x2777be,_0xbcd5a7,_0x9f9ce5),_0x9f9ce5;},lt=(_0x158934,_0x56530c)=>(_0x5e550a,_0x56d818)=>_0x56530c(_0x5e550a,_0x56d818,_0x158934),ah=(_0x577fa3,_0xd805a6,_0x2a926b)=>nh(_0x577fa3,_0xd805a6+'',_0x2a926b);const ch=_0x421733(0x538);let Is=class extends _0x2887ef{constructor(_0x3fe16f=jn,_0x1c3441,_0x1dc646,_0x441711,_0x2d67b2){const _0x21f4a0=_0x421733;super(),this[_0x21f4a0(0x457)]=_0x3fe16f,this[_0x21f4a0(0x3b4)]=_0x1c3441,this[_0x21f4a0(0x370)]=_0x1dc646,this[_0x21f4a0(0x30b)]=_0x441711,this[_0x21f4a0(0x254)]=_0x2d67b2;const {..._0x160fa8}=this[_0x21f4a0(0x457)];this[_0x21f4a0(0x254)][_0x21f4a0(0x3a4)](Q,_0x160fa8);}[_0x421733(0x24e)](){const _0x1a90dd=_0x421733;this[_0x1a90dd(0x3e6)](),this['_initDependencies']();}['onReady'](){const _0x1f6f95=_0x421733;_0x52d868(this[_0x1f6f95(0x30b)],[[Mt],[Ut]]);}[_0x421733(0x16e)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3dd014=_0x421733;var _0x3c8140,_0x3e40af,_0x5a8643,_0x2f1efd;this['_injector'][_0x3dd014(0x247)](_0x306efe)&&this[_0x3dd014(0x3b4)][_0x3dd014(0x3ff)](_0x3dd014(0x492),_0x3dd014(0x570));const _0x773ed6=[[_0x306efe,{'useClass':Ss}],[Me],[Us],[tr,{'useClass':ih}],[Ae],[z],[_0x1034eb],[yt],[Dt],[Ot],[wt],[Ds],[xt],[Lt],[Gi],[$t],[Vi,{'useClass':(_0x3e40af=(_0x3c8140=this[_0x3dd014(0x457)])==null?void 0x0:_0x3c8140[_0x3dd014(0x48e)])!=null?_0x3e40af:as}],[_0x48d837,{'useClass':gs}],[_0x469926,{'useClass':vs}],[_0x2982a0,{'useClass':ps}],[_0x215c5d,{'useClass':ms}],[it],[At],[Nt],[Mt],[Fe],[Ut]];(_0x5a8643=this[_0x3dd014(0x457)])!=null&&_0x5a8643[_0x3dd014(0x547)]&&_0x773ed6['push']([Ht,{'useClass':Io}]),_0x42bfca(this[_0x3dd014(0x30b)],_0x59e272(_0x773ed6,(_0x2f1efd=this[_0x3dd014(0x457)])==null?void 0x0:_0x2f1efd[_0x3dd014(0x1c7)]));}['_registerRenderDependencies'](){const _0x123bd8=_0x421733;this[_0x123bd8(0x40e)](this[_0x123bd8(0x370)][_0x123bd8(0x55c)](_0x24d9a0[_0x123bd8(0x42a)],[ds])),this[_0x123bd8(0x40e)](this[_0x123bd8(0x370)][_0x123bd8(0x55c)](_0x24d9a0[_0x123bd8(0x219)],[fs]));}[_0x421733(0x2ca)](){const _0x3e52d9=_0x421733;var _0x2d9d2a,_0x3eca0a;this[_0x3e52d9(0x30b)][_0x3e52d9(0x37c)](_0xee3f76)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2fa129({'maxParallel':0x6})}),(_0x2d9d2a=this['_config'])!=null&&_0x2d9d2a[_0x3e52d9(0x500)]||this['_injector'][_0x3e52d9(0x37c)](z)[_0x3e52d9(0x333)](),(_0x3eca0a=this[_0x3e52d9(0x457)])!=null&&_0x3eca0a[_0x3e52d9(0x182)]&&_0x52d868(this[_0x3e52d9(0x30b)],[[xt]]),_0x52d868(this[_0x3e52d9(0x30b)],[[Lt],[Fe],[At],[it],[Nt],[$t]]);}};ah(Is,_0x421733(0x1c2),ch),Is=oh([_0x4cb61a(_0x2dc4f0,_0xbcad3e),lt(0x1,_0x257353),lt(0x2,_0x5d57fe),lt(0x3,_0x231990(_0x1d3c8c)),lt(0x4,_0x2cfa70)],Is);export{sr as AUTHZ_URL_KEY,vs as AuthzIoHttpService,Q as COLLAB_CLIENT_CONFIG_KEY,xn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,Pt as CollaborationEntity,cs as CollaborationSession,Me as CollaborationSessionService,as as CollaborationSocketService,J as CollaborationStatus,Ma as CollaborationStatusDisplay,Gi as CommentService,At as DataLoaderController,Nt as DesktopCollaborationStatusDisplayController,hs as DocCollaborationEntity,wn as HEARTBEAT_INTERVAL_KEY,Bi as HEARTBEAT_TIMEOUT_KEY,Vi as ICollaborationSocketService,tr as IURLService,ps as ImageIoService,An as LOCAL_CACHE_INTERVAL_KEY,$n as LOGIN_URL_KEY,z as LocalCacheService,Ae as MemberService,ms as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,yh as SEND_CHANGESET_TIMEOUT_KEY,Cn as SNAPSHOT_SERVER_URL_KEY,bn as SNAPSHOT_URL_KEY,fe as SessionStatus,da as SheetCollabCursorShape,ls as SheetCollaborationEntity,gs as SnapshotServerOverHTTPService,Is as UniverCollaborationClientPlugin,ih as WebURLService,Bn as deserializeToCombResponse,kn as serializeCombRequest};
|